const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/page-login-PKegASn0.js","assets/form-DuLR_XsI.js","assets/label-CbvzEgFe.js","assets/card-DDrJ6Iia.js","assets/Home-TFdYl8a7.js","assets/Home-BqyueEVs.css","assets/admin-dashboard-gFcq4qf7.js","assets/badge-DLmsfCsp.js","assets/table-DmBfZH6x.js","assets/index-DKNwtrfe.js","assets/page-studios-list-vaZx5QFE.js","assets/useQuery-DGaD2i6Y.js","assets/studios-services-TLqg2xMe.js","assets/pagination-DcGqVpvk.js","assets/generic-filter-CfzHACFN.js","assets/popover-CtxAPxyq.js","assets/page-studios-create-CGXWlA-v.js","assets/select-BMHN8rKk.js","assets/switch-9CBoXrWV.js","assets/use-get-regionals-Ci6Jb6yr.js","assets/settings-services-CMNk-eHJ.js","assets/schema-studios-COl3kta0.js","assets/page-studios-update-CnVtI9tP.js","assets/use-get-payment-methods-oAqKNRmI.js","assets/accounts-list-page-jeQVQK0g.js","assets/page-masters-list-DJSaQpF2.js","assets/master-pagination-component-BErGcWEw.js","assets/use-get-masters-Cb8QhFzT.js","assets/master-services-BAYa7sWP.js","assets/page-masters-create-PzKJIE7g.js","assets/textarea-P20QHwo1.js","assets/page-masters-update-D-gQGq_2.js","assets/page-users-list-CIEkUeXn.js","assets/page-roles-list-DRMxoPb0.js","assets/page-permissions-update-D0aBmPT1.js"])))=>i.map(i=>d[i]);
var Qx=Object.defineProperty,Xx=Object.defineProperties;var Zx=Object.getOwnPropertyDescriptors;var Ps=Object.getOwnPropertySymbols;var nv=Object.prototype.hasOwnProperty,av=Object.prototype.propertyIsEnumerable;var yl=(n,a)=>(a=Symbol[n])?a:Symbol.for("Symbol."+n),fd=n=>{throw TypeError(n)},rv=Math.pow,tv=(n,a,l)=>a in n?Qx(n,a,{enumerable:!0,configurable:!0,writable:!0,value:l}):n[a]=l,R=(n,a)=>{for(var l in a||(a={}))nv.call(a,l)&&tv(n,l,a[l]);if(Ps)for(var l of Ps(a))av.call(a,l)&&tv(n,l,a[l]);return n},B=(n,a)=>Xx(n,Zx(a));var G=(n,a)=>{var l={};for(var o in n)nv.call(n,o)&&a.indexOf(o)<0&&(l[o]=n[o]);if(n!=null&&Ps)for(var o of Ps(n))a.indexOf(o)<0&&av.call(n,o)&&(l[o]=n[o]);return l};var dd=(n,a,l)=>a.has(n)||fd("Cannot "+l);var F=(n,a,l)=>(dd(n,a,"read from private field"),l?l.call(n):a.get(n)),je=(n,a,l)=>a.has(n)?fd("Cannot add the same private member more than once"):a instanceof WeakSet?a.add(n):a.set(n,l),xe=(n,a,l,o)=>(dd(n,a,"write to private field"),o?o.call(n,l):a.set(n,l),l),nt=(n,a,l)=>(dd(n,a,"access private method"),l);var qs=(n,a,l,o)=>({set _(s){xe(n,a,s,l)},get _(){return F(n,a,o)}});var Ke=(n,a,l)=>new Promise((o,s)=>{var c=p=>{try{h(l.next(p))}catch(m){s(m)}},f=p=>{try{h(l.throw(p))}catch(m){s(m)}},h=p=>p.done?o(p.value):Promise.resolve(p.value).then(c,f);h((l=l.apply(n,a)).next())}),fr=function(n,a){this[0]=n,this[1]=a},hd=(n,a,l)=>{var o=(f,h,p,m)=>{try{var g=l[f](h),y=(h=g.value)instanceof fr,w=g.done;Promise.resolve(y?h[0]:h).then(T=>y?o(f==="return"?f:"next",h[1]?{done:T.done,value:T.value}:T,p,m):p({value:T,done:w})).catch(T=>o("throw",T,p,m))}catch(T){m(T)}},s=f=>c[f]=h=>new Promise((p,m)=>o(f,h,p,m)),c={};return l=l.apply(n,a),c[yl("asyncIterator")]=()=>c,s("next"),s("throw"),s("return"),c},md=n=>{var a=n[yl("asyncIterator")],l=!1,o,s={};return a==null?(a=n[yl("iterator")](),o=c=>s[c]=f=>a[c](f)):(a=a.call(n),o=c=>s[c]=f=>{if(l){if(l=!1,c==="throw")throw f;return f}return l=!0,{done:!1,value:new fr(new Promise(h=>{var p=a[c](f);p instanceof Object||fd("Object expected"),h(p)}),1)}}),s[yl("iterator")]=()=>s,o("next"),"throw"in a?o("throw"):s.throw=c=>{throw c},"return"in a&&o("return"),s},lv=(n,a,l)=>(a=n[yl("asyncIterator")])?a.call(n):(n=n[yl("iterator")](),a={},l=(o,s)=>(s=n[o])&&(a[o]=c=>new Promise((f,h,p)=>(c=s.call(n,c),p=c.done,Promise.resolve(c.value).then(m=>f({value:m,done:p}),h)))),l("next"),l("return"),a);function Ix(n,a){for(var l=0;l<a.length;l++){const o=a[l];if(typeof o!="string"&&!Array.isArray(o)){for(const s in o)if(s!=="default"&&!(s in n)){const c=Object.getOwnPropertyDescriptor(o,s);c&&Object.defineProperty(n,s,c.get?c:{enumerable:!0,get:()=>o[s]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}(function(){const a=document.createElement("link").relList;if(a&&a.supports&&a.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))o(s);new MutationObserver(s=>{for(const c of s)if(c.type==="childList")for(const f of c.addedNodes)f.tagName==="LINK"&&f.rel==="modulepreload"&&o(f)}).observe(document,{childList:!0,subtree:!0});function l(s){const c={};return s.integrity&&(c.integrity=s.integrity),s.referrerPolicy&&(c.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?c.credentials="include":s.crossOrigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function o(s){if(s.ep)return;s.ep=!0;const c=l(s);fetch(s.href,c)}})();function xh(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var pd={exports:{}},Go={};/**
 * @license React
 * react-jsx-runtime.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var ov;function $x(){if(ov)return Go;ov=1;var n=Symbol.for("react.transitional.element"),a=Symbol.for("react.fragment");function l(o,s,c){var f=null;if(c!==void 0&&(f=""+c),s.key!==void 0&&(f=""+s.key),"key"in s){c={};for(var h in s)h!=="key"&&(c[h]=s[h])}else c=s;return s=c.ref,{$$typeof:n,type:o,key:f,ref:s!==void 0?s:null,props:c}}return Go.Fragment=a,Go.jsx=l,Go.jsxs=l,Go}var iv;function Jx(){return iv||(iv=1,pd.exports=$x()),pd.exports}var x=Jx(),vd={exports:{}},Re={};/**
 * @license React
 * react.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var sv;function Wx(){if(sv)return Re;sv=1;var n=Symbol.for("react.transitional.element"),a=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),c=Symbol.for("react.consumer"),f=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),y=Symbol.iterator;function w(O){return O===null||typeof O!="object"?null:(O=y&&O[y]||O["@@iterator"],typeof O=="function"?O:null)}var T={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},A=Object.assign,E={};function C(O,K,ne){this.props=O,this.context=K,this.refs=E,this.updater=ne||T}C.prototype.isReactComponent={},C.prototype.setState=function(O,K){if(typeof O!="object"&&typeof O!="function"&&O!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,O,K,"setState")},C.prototype.forceUpdate=function(O){this.updater.enqueueForceUpdate(this,O,"forceUpdate")};function M(){}M.prototype=C.prototype;function L(O,K,ne){this.props=O,this.context=K,this.refs=E,this.updater=ne||T}var D=L.prototype=new M;D.constructor=L,A(D,C.prototype),D.isPureReactComponent=!0;var z=Array.isArray,j={H:null,A:null,T:null,S:null,V:null},W=Object.prototype.hasOwnProperty;function te(O,K,ne,ee,le,we){return ne=we.ref,{$$typeof:n,type:O,key:K,ref:ne!==void 0?ne:null,props:we}}function J(O,K){return te(O.type,K,void 0,void 0,void 0,O.props)}function ae(O){return typeof O=="object"&&O!==null&&O.$$typeof===n}function oe(O){var K={"=":"=0",":":"=2"};return"$"+O.replace(/[=:]/g,function(ne){return K[ne]})}var pe=/\/+/g;function he(O,K){return typeof O=="object"&&O!==null&&O.key!=null?oe(""+O.key):K.toString(36)}function Se(){}function Me(O){switch(O.status){case"fulfilled":return O.value;case"rejected":throw O.reason;default:switch(typeof O.status=="string"?O.then(Se,Se):(O.status="pending",O.then(function(K){O.status==="pending"&&(O.status="fulfilled",O.value=K)},function(K){O.status==="pending"&&(O.status="rejected",O.reason=K)})),O.status){case"fulfilled":return O.value;case"rejected":throw O.reason}}throw O}function re(O,K,ne,ee,le){var we=typeof O;(we==="undefined"||we==="boolean")&&(O=null);var ve=!1;if(O===null)ve=!0;else switch(we){case"bigint":case"string":case"number":ve=!0;break;case"object":switch(O.$$typeof){case n:case a:ve=!0;break;case g:return ve=O._init,re(ve(O._payload),K,ne,ee,le)}}if(ve)return le=le(O),ve=ee===""?"."+he(O,0):ee,z(le)?(ne="",ve!=null&&(ne=ve.replace(pe,"$&/")+"/"),re(le,K,ne,"",function(it){return it})):le!=null&&(ae(le)&&(le=J(le,ne+(le.key==null||O&&O.key===le.key?"":(""+le.key).replace(pe,"$&/")+"/")+ve)),K.push(le)),1;ve=0;var Ce=ee===""?".":ee+":";if(z(O))for(var _e=0;_e<O.length;_e++)ee=O[_e],we=Ce+he(ee,_e),ve+=re(ee,K,ne,we,le);else if(_e=w(O),typeof _e=="function")for(O=_e.call(O),_e=0;!(ee=O.next()).done;)ee=ee.value,we=Ce+he(ee,_e++),ve+=re(ee,K,ne,we,le);else if(we==="object"){if(typeof O.then=="function")return re(Me(O),K,ne,ee,le);throw K=String(O),Error("Objects are not valid as a React child (found: "+(K==="[object Object]"?"object with keys {"+Object.keys(O).join(", ")+"}":K)+"). If you meant to render a collection of children, use an array instead.")}return ve}function H(O,K,ne){if(O==null)return O;var ee=[],le=0;return re(O,ee,"","",function(we){return K.call(ne,we,le++)}),ee}function Z(O){if(O._status===-1){var K=O._result;K=K(),K.then(function(ne){(O._status===0||O._status===-1)&&(O._status=1,O._result=ne)},function(ne){(O._status===0||O._status===-1)&&(O._status=2,O._result=ne)}),O._status===-1&&(O._status=0,O._result=K)}if(O._status===1)return O._result.default;throw O._result}var Y=typeof reportError=="function"?reportError:function(O){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var K=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof O=="object"&&O!==null&&typeof O.message=="string"?String(O.message):String(O),error:O});if(!window.dispatchEvent(K))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",O);return}console.error(O)};function me(){}return Re.Children={map:H,forEach:function(O,K,ne){H(O,function(){K.apply(this,arguments)},ne)},count:function(O){var K=0;return H(O,function(){K++}),K},toArray:function(O){return H(O,function(K){return K})||[]},only:function(O){if(!ae(O))throw Error("React.Children.only expected to receive a single React element child.");return O}},Re.Component=C,Re.Fragment=l,Re.Profiler=s,Re.PureComponent=L,Re.StrictMode=o,Re.Suspense=p,Re.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=j,Re.__COMPILER_RUNTIME={__proto__:null,c:function(O){return j.H.useMemoCache(O)}},Re.cache=function(O){return function(){return O.apply(null,arguments)}},Re.cloneElement=function(O,K,ne){if(O==null)throw Error("The argument must be a React element, but you passed "+O+".");var ee=A({},O.props),le=O.key,we=void 0;if(K!=null)for(ve in K.ref!==void 0&&(we=void 0),K.key!==void 0&&(le=""+K.key),K)!W.call(K,ve)||ve==="key"||ve==="__self"||ve==="__source"||ve==="ref"&&K.ref===void 0||(ee[ve]=K[ve]);var ve=arguments.length-2;if(ve===1)ee.children=ne;else if(1<ve){for(var Ce=Array(ve),_e=0;_e<ve;_e++)Ce[_e]=arguments[_e+2];ee.children=Ce}return te(O.type,le,void 0,void 0,we,ee)},Re.createContext=function(O){return O={$$typeof:f,_currentValue:O,_currentValue2:O,_threadCount:0,Provider:null,Consumer:null},O.Provider=O,O.Consumer={$$typeof:c,_context:O},O},Re.createElement=function(O,K,ne){var ee,le={},we=null;if(K!=null)for(ee in K.key!==void 0&&(we=""+K.key),K)W.call(K,ee)&&ee!=="key"&&ee!=="__self"&&ee!=="__source"&&(le[ee]=K[ee]);var ve=arguments.length-2;if(ve===1)le.children=ne;else if(1<ve){for(var Ce=Array(ve),_e=0;_e<ve;_e++)Ce[_e]=arguments[_e+2];le.children=Ce}if(O&&O.defaultProps)for(ee in ve=O.defaultProps,ve)le[ee]===void 0&&(le[ee]=ve[ee]);return te(O,we,void 0,void 0,null,le)},Re.createRef=function(){return{current:null}},Re.forwardRef=function(O){return{$$typeof:h,render:O}},Re.isValidElement=ae,Re.lazy=function(O){return{$$typeof:g,_payload:{_status:-1,_result:O},_init:Z}},Re.memo=function(O,K){return{$$typeof:m,type:O,compare:K===void 0?null:K}},Re.startTransition=function(O){var K=j.T,ne={};j.T=ne;try{var ee=O(),le=j.S;le!==null&&le(ne,ee),typeof ee=="object"&&ee!==null&&typeof ee.then=="function"&&ee.then(me,Y)}catch(we){Y(we)}finally{j.T=K}},Re.unstable_useCacheRefresh=function(){return j.H.useCacheRefresh()},Re.use=function(O){return j.H.use(O)},Re.useActionState=function(O,K,ne){return j.H.useActionState(O,K,ne)},Re.useCallback=function(O,K){return j.H.useCallback(O,K)},Re.useContext=function(O){return j.H.useContext(O)},Re.useDebugValue=function(){},Re.useDeferredValue=function(O,K){return j.H.useDeferredValue(O,K)},Re.useEffect=function(O,K,ne){var ee=j.H;if(typeof ne=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return ee.useEffect(O,K)},Re.useId=function(){return j.H.useId()},Re.useImperativeHandle=function(O,K,ne){return j.H.useImperativeHandle(O,K,ne)},Re.useInsertionEffect=function(O,K){return j.H.useInsertionEffect(O,K)},Re.useLayoutEffect=function(O,K){return j.H.useLayoutEffect(O,K)},Re.useMemo=function(O,K){return j.H.useMemo(O,K)},Re.useOptimistic=function(O,K){return j.H.useOptimistic(O,K)},Re.useReducer=function(O,K,ne){return j.H.useReducer(O,K,ne)},Re.useRef=function(O){return j.H.useRef(O)},Re.useState=function(O){return j.H.useState(O)},Re.useSyncExternalStore=function(O,K,ne){return j.H.useSyncExternalStore(O,K,ne)},Re.useTransition=function(){return j.H.useTransition()},Re.version="19.1.0",Re}var uv;function Ru(){return uv||(uv=1,vd.exports=Wx()),vd.exports}var v=Ru();const Et=xh(v),wh=Ix({__proto__:null,default:Et},[v]);var gd={exports:{}},Yo={},yd={exports:{}},bd={};/**
 * @license React
 * scheduler.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var cv;function e6(){return cv||(cv=1,function(n){function a(H,Z){var Y=H.length;H.push(Z);e:for(;0<Y;){var me=Y-1>>>1,O=H[me];if(0<s(O,Z))H[me]=Z,H[Y]=O,Y=me;else break e}}function l(H){return H.length===0?null:H[0]}function o(H){if(H.length===0)return null;var Z=H[0],Y=H.pop();if(Y!==Z){H[0]=Y;e:for(var me=0,O=H.length,K=O>>>1;me<K;){var ne=2*(me+1)-1,ee=H[ne],le=ne+1,we=H[le];if(0>s(ee,Y))le<O&&0>s(we,ee)?(H[me]=we,H[le]=Y,me=le):(H[me]=ee,H[ne]=Y,me=ne);else if(le<O&&0>s(we,Y))H[me]=we,H[le]=Y,me=le;else break e}}return Z}function s(H,Z){var Y=H.sortIndex-Z.sortIndex;return Y!==0?Y:H.id-Z.id}if(n.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var c=performance;n.unstable_now=function(){return c.now()}}else{var f=Date,h=f.now();n.unstable_now=function(){return f.now()-h}}var p=[],m=[],g=1,y=null,w=3,T=!1,A=!1,E=!1,C=!1,M=typeof setTimeout=="function"?setTimeout:null,L=typeof clearTimeout=="function"?clearTimeout:null,D=typeof setImmediate!="undefined"?setImmediate:null;function z(H){for(var Z=l(m);Z!==null;){if(Z.callback===null)o(m);else if(Z.startTime<=H)o(m),Z.sortIndex=Z.expirationTime,a(p,Z);else break;Z=l(m)}}function j(H){if(E=!1,z(H),!A)if(l(p)!==null)A=!0,W||(W=!0,he());else{var Z=l(m);Z!==null&&re(j,Z.startTime-H)}}var W=!1,te=-1,J=5,ae=-1;function oe(){return C?!0:!(n.unstable_now()-ae<J)}function pe(){if(C=!1,W){var H=n.unstable_now();ae=H;var Z=!0;try{e:{A=!1,E&&(E=!1,L(te),te=-1),T=!0;var Y=w;try{t:{for(z(H),y=l(p);y!==null&&!(y.expirationTime>H&&oe());){var me=y.callback;if(typeof me=="function"){y.callback=null,w=y.priorityLevel;var O=me(y.expirationTime<=H);if(H=n.unstable_now(),typeof O=="function"){y.callback=O,z(H),Z=!0;break t}y===l(p)&&o(p),z(H)}else o(p);y=l(p)}if(y!==null)Z=!0;else{var K=l(m);K!==null&&re(j,K.startTime-H),Z=!1}}break e}finally{y=null,w=Y,T=!1}Z=void 0}}finally{Z?he():W=!1}}}var he;if(typeof D=="function")he=function(){D(pe)};else if(typeof MessageChannel!="undefined"){var Se=new MessageChannel,Me=Se.port2;Se.port1.onmessage=pe,he=function(){Me.postMessage(null)}}else he=function(){M(pe,0)};function re(H,Z){te=M(function(){H(n.unstable_now())},Z)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(H){H.callback=null},n.unstable_forceFrameRate=function(H){0>H||125<H?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):J=0<H?Math.floor(1e3/H):5},n.unstable_getCurrentPriorityLevel=function(){return w},n.unstable_next=function(H){switch(w){case 1:case 2:case 3:var Z=3;break;default:Z=w}var Y=w;w=Z;try{return H()}finally{w=Y}},n.unstable_requestPaint=function(){C=!0},n.unstable_runWithPriority=function(H,Z){switch(H){case 1:case 2:case 3:case 4:case 5:break;default:H=3}var Y=w;w=H;try{return Z()}finally{w=Y}},n.unstable_scheduleCallback=function(H,Z,Y){var me=n.unstable_now();switch(typeof Y=="object"&&Y!==null?(Y=Y.delay,Y=typeof Y=="number"&&0<Y?me+Y:me):Y=me,H){case 1:var O=-1;break;case 2:O=250;break;case 5:O=1073741823;break;case 4:O=1e4;break;default:O=5e3}return O=Y+O,H={id:g++,callback:Z,priorityLevel:H,startTime:Y,expirationTime:O,sortIndex:-1},Y>me?(H.sortIndex=Y,a(m,H),l(p)===null&&H===l(m)&&(E?(L(te),te=-1):E=!0,re(j,Y-me))):(H.sortIndex=O,a(p,H),A||T||(A=!0,W||(W=!0,he()))),H},n.unstable_shouldYield=oe,n.unstable_wrapCallback=function(H){var Z=w;return function(){var Y=w;w=Z;try{return H.apply(this,arguments)}finally{w=Y}}}}(bd)),bd}var fv;function t6(){return fv||(fv=1,yd.exports=e6()),yd.exports}var xd={exports:{}},wt={};/**
 * @license React
 * react-dom.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var dv;function n6(){if(dv)return wt;dv=1;var n=Ru();function a(p){var m="https://react.dev/errors/"+p;if(1<arguments.length){m+="?args[]="+encodeURIComponent(arguments[1]);for(var g=2;g<arguments.length;g++)m+="&args[]="+encodeURIComponent(arguments[g])}return"Minified React error #"+p+"; visit "+m+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function l(){}var o={d:{f:l,r:function(){throw Error(a(522))},D:l,C:l,L:l,m:l,X:l,S:l,M:l},p:0,findDOMNode:null},s=Symbol.for("react.portal");function c(p,m,g){var y=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:s,key:y==null?null:""+y,children:p,containerInfo:m,implementation:g}}var f=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function h(p,m){if(p==="font")return"";if(typeof m=="string")return m==="use-credentials"?m:""}return wt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=o,wt.createPortal=function(p,m){var g=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!m||m.nodeType!==1&&m.nodeType!==9&&m.nodeType!==11)throw Error(a(299));return c(p,m,null,g)},wt.flushSync=function(p){var m=f.T,g=o.p;try{if(f.T=null,o.p=2,p)return p()}finally{f.T=m,o.p=g,o.d.f()}},wt.preconnect=function(p,m){typeof p=="string"&&(m?(m=m.crossOrigin,m=typeof m=="string"?m==="use-credentials"?m:"":void 0):m=null,o.d.C(p,m))},wt.prefetchDNS=function(p){typeof p=="string"&&o.d.D(p)},wt.preinit=function(p,m){if(typeof p=="string"&&m&&typeof m.as=="string"){var g=m.as,y=h(g,m.crossOrigin),w=typeof m.integrity=="string"?m.integrity:void 0,T=typeof m.fetchPriority=="string"?m.fetchPriority:void 0;g==="style"?o.d.S(p,typeof m.precedence=="string"?m.precedence:void 0,{crossOrigin:y,integrity:w,fetchPriority:T}):g==="script"&&o.d.X(p,{crossOrigin:y,integrity:w,fetchPriority:T,nonce:typeof m.nonce=="string"?m.nonce:void 0})}},wt.preinitModule=function(p,m){if(typeof p=="string")if(typeof m=="object"&&m!==null){if(m.as==null||m.as==="script"){var g=h(m.as,m.crossOrigin);o.d.M(p,{crossOrigin:g,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0})}}else m==null&&o.d.M(p)},wt.preload=function(p,m){if(typeof p=="string"&&typeof m=="object"&&m!==null&&typeof m.as=="string"){var g=m.as,y=h(g,m.crossOrigin);o.d.L(p,g,{crossOrigin:y,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0,type:typeof m.type=="string"?m.type:void 0,fetchPriority:typeof m.fetchPriority=="string"?m.fetchPriority:void 0,referrerPolicy:typeof m.referrerPolicy=="string"?m.referrerPolicy:void 0,imageSrcSet:typeof m.imageSrcSet=="string"?m.imageSrcSet:void 0,imageSizes:typeof m.imageSizes=="string"?m.imageSizes:void 0,media:typeof m.media=="string"?m.media:void 0})}},wt.preloadModule=function(p,m){if(typeof p=="string")if(m){var g=h(m.as,m.crossOrigin);o.d.m(p,{as:typeof m.as=="string"&&m.as!=="script"?m.as:void 0,crossOrigin:g,integrity:typeof m.integrity=="string"?m.integrity:void 0})}else o.d.m(p)},wt.requestFormReset=function(p){o.d.r(p)},wt.unstable_batchedUpdates=function(p,m){return p(m)},wt.useFormState=function(p,m,g){return f.H.useFormState(p,m,g)},wt.useFormStatus=function(){return f.H.useHostTransitionStatus()},wt.version="19.1.0",wt}var hv;function kg(){if(hv)return xd.exports;hv=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__=="undefined"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(a){console.error(a)}}return n(),xd.exports=n6(),xd.exports}/**
 * @license React
 * react-dom-client.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var mv;function a6(){if(mv)return Yo;mv=1;var n=t6(),a=Ru(),l=kg();function o(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var r=2;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function c(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(r=t.return),e=t.return;while(e)}return t.tag===3?r:null}function f(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function h(e){if(c(e)!==e)throw Error(o(188))}function p(e){var t=e.alternate;if(!t){if(t=c(e),t===null)throw Error(o(188));return t!==e?null:e}for(var r=e,i=t;;){var u=r.return;if(u===null)break;var d=u.alternate;if(d===null){if(i=u.return,i!==null){r=i;continue}break}if(u.child===d.child){for(d=u.child;d;){if(d===r)return h(u),e;if(d===i)return h(u),t;d=d.sibling}throw Error(o(188))}if(r.return!==i.return)r=u,i=d;else{for(var b=!1,S=u.child;S;){if(S===r){b=!0,r=u,i=d;break}if(S===i){b=!0,i=u,r=d;break}S=S.sibling}if(!b){for(S=d.child;S;){if(S===r){b=!0,r=d,i=u;break}if(S===i){b=!0,i=d,r=u;break}S=S.sibling}if(!b)throw Error(o(189))}}if(r.alternate!==i)throw Error(o(190))}if(r.tag!==3)throw Error(o(188));return r.stateNode.current===r?e:t}function m(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=m(e),t!==null)return t;e=e.sibling}return null}var g=Object.assign,y=Symbol.for("react.element"),w=Symbol.for("react.transitional.element"),T=Symbol.for("react.portal"),A=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),M=Symbol.for("react.provider"),L=Symbol.for("react.consumer"),D=Symbol.for("react.context"),z=Symbol.for("react.forward_ref"),j=Symbol.for("react.suspense"),W=Symbol.for("react.suspense_list"),te=Symbol.for("react.memo"),J=Symbol.for("react.lazy"),ae=Symbol.for("react.activity"),oe=Symbol.for("react.memo_cache_sentinel"),pe=Symbol.iterator;function he(e){return e===null||typeof e!="object"?null:(e=pe&&e[pe]||e["@@iterator"],typeof e=="function"?e:null)}var Se=Symbol.for("react.client.reference");function Me(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Se?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case A:return"Fragment";case C:return"Profiler";case E:return"StrictMode";case j:return"Suspense";case W:return"SuspenseList";case ae:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case T:return"Portal";case D:return(e.displayName||"Context")+".Provider";case L:return(e._context.displayName||"Context")+".Consumer";case z:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case te:return t=e.displayName||null,t!==null?t:Me(e.type)||"Memo";case J:t=e._payload,e=e._init;try{return Me(e(t))}catch(r){}}return null}var re=Array.isArray,H=a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Z=l.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Y={pending:!1,data:null,method:null,action:null},me=[],O=-1;function K(e){return{current:e}}function ne(e){0>O||(e.current=me[O],me[O]=null,O--)}function ee(e,t){O++,me[O]=e.current,e.current=t}var le=K(null),we=K(null),ve=K(null),Ce=K(null);function _e(e,t){switch(ee(ve,t),ee(we,e),ee(le,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Mp(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Mp(t),e=_p(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}ne(le),ee(le,e)}function it(){ne(le),ne(we),ne(ve)}function We(e){e.memoizedState!==null&&ee(Ce,e);var t=le.current,r=_p(t,e.type);t!==r&&(ee(we,e),ee(le,r))}function Ot(e){we.current===e&&(ne(le),ne(we)),Ce.current===e&&(ne(Ce),Ho._currentValue=Y)}var fn=Object.prototype.hasOwnProperty,Mr=n.unstable_scheduleCallback,_r=n.unstable_cancelCallback,Ci=n.unstable_shouldYield,Ka=n.unstable_requestPaint,kt=n.unstable_now,Ju=n.unstable_getCurrentPriorityLevel,Ri=n.unstable_ImmediatePriority,Ti=n.unstable_UserBlockingPriority,Nr=n.unstable_NormalPriority,Dr=n.unstable_LowPriority,f1=n.unstable_IdlePriority,M5=n.log,_5=n.unstable_setDisableYieldValue,Fl=null,Pt=null;function ia(e){if(typeof M5=="function"&&_5(e),Pt&&typeof Pt.setStrictMode=="function")try{Pt.setStrictMode(Fl,e)}catch(t){}}var qt=Math.clz32?Math.clz32:j5,N5=Math.log,D5=Math.LN2;function j5(e){return e>>>=0,e===0?32:31-(N5(e)/D5|0)|0}var Ai=256,Oi=4194304;function Qa(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Mi(e,t,r){var i=e.pendingLanes;if(i===0)return 0;var u=0,d=e.suspendedLanes,b=e.pingedLanes;e=e.warmLanes;var S=i&134217727;return S!==0?(i=S&~d,i!==0?u=Qa(i):(b&=S,b!==0?u=Qa(b):r||(r=S&~e,r!==0&&(u=Qa(r))))):(S=i&~d,S!==0?u=Qa(S):b!==0?u=Qa(b):r||(r=i&~e,r!==0&&(u=Qa(r)))),u===0?0:t!==0&&t!==u&&(t&d)===0&&(d=u&-u,r=t&-t,d>=r||d===32&&(r&4194048)!==0)?t:u}function Kl(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function L5(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function d1(){var e=Ai;return Ai<<=1,(Ai&4194048)===0&&(Ai=256),e}function h1(){var e=Oi;return Oi<<=1,(Oi&62914560)===0&&(Oi=4194304),e}function Wu(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function Ql(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function z5(e,t,r,i,u,d){var b=e.pendingLanes;e.pendingLanes=r,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=r,e.entangledLanes&=r,e.errorRecoveryDisabledLanes&=r,e.shellSuspendCounter=0;var S=e.entanglements,_=e.expirationTimes,P=e.hiddenUpdates;for(r=b&~r;0<r;){var X=31-qt(r),$=1<<X;S[X]=0,_[X]=-1;var q=P[X];if(q!==null)for(P[X]=null,X=0;X<q.length;X++){var V=q[X];V!==null&&(V.lane&=-536870913)}r&=~$}i!==0&&m1(e,i,0),d!==0&&u===0&&e.tag!==0&&(e.suspendedLanes|=d&~(b&~t))}function m1(e,t,r){e.pendingLanes|=t,e.suspendedLanes&=~t;var i=31-qt(t);e.entangledLanes|=t,e.entanglements[i]=e.entanglements[i]|1073741824|r&4194090}function p1(e,t){var r=e.entangledLanes|=t;for(e=e.entanglements;r;){var i=31-qt(r),u=1<<i;u&t|e[i]&t&&(e[i]|=t),r&=~u}}function ec(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function tc(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function v1(){var e=Z.p;return e!==0?e:(e=window.event,e===void 0?32:Zp(e.type))}function U5(e,t){var r=Z.p;try{return Z.p=e,t()}finally{Z.p=r}}var sa=Math.random().toString(36).slice(2),bt="__reactFiber$"+sa,Mt="__reactProps$"+sa,jr="__reactContainer$"+sa,nc="__reactEvents$"+sa,B5="__reactListeners$"+sa,H5="__reactHandles$"+sa,g1="__reactResources$"+sa,Xl="__reactMarker$"+sa;function ac(e){delete e[bt],delete e[Mt],delete e[nc],delete e[B5],delete e[H5]}function Lr(e){var t=e[bt];if(t)return t;for(var r=e.parentNode;r;){if(t=r[jr]||r[bt]){if(r=t.alternate,t.child!==null||r!==null&&r.child!==null)for(e=Lp(e);e!==null;){if(r=e[bt])return r;e=Lp(e)}return t}e=r,r=e.parentNode}return null}function zr(e){if(e=e[bt]||e[jr]){var t=e.tag;if(t===5||t===6||t===13||t===26||t===27||t===3)return e}return null}function Zl(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(o(33))}function Ur(e){var t=e[g1];return t||(t=e[g1]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function ft(e){e[Xl]=!0}var y1=new Set,b1={};function Xa(e,t){Br(e,t),Br(e+"Capture",t)}function Br(e,t){for(b1[e]=t,e=0;e<t.length;e++)y1.add(t[e])}var k5=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),x1={},w1={};function P5(e){return fn.call(w1,e)?!0:fn.call(x1,e)?!1:k5.test(e)?w1[e]=!0:(x1[e]=!0,!1)}function _i(e,t,r){if(P5(t))if(r===null)e.removeAttribute(t);else{switch(typeof r){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var i=t.toLowerCase().slice(0,5);if(i!=="data-"&&i!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+r)}}function Ni(e,t,r){if(r===null)e.removeAttribute(t);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+r)}}function Un(e,t,r,i){if(i===null)e.removeAttribute(r);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(r);return}e.setAttributeNS(t,r,""+i)}}var rc,S1;function Hr(e){if(rc===void 0)try{throw Error()}catch(r){var t=r.stack.trim().match(/\n( *(at )?)/);rc=t&&t[1]||"",S1=-1<r.stack.indexOf(`
    at`)?" (<anonymous>)":-1<r.stack.indexOf("@")?"@unknown:0:0":""}return`
`+rc+e+S1}var lc=!1;function oc(e,t){if(!e||lc)return"";lc=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var i={DetermineComponentFrameRoot:function(){try{if(t){var $=function(){throw Error()};if(Object.defineProperty($.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct($,[])}catch(V){var q=V}Reflect.construct(e,[],$)}else{try{$.call()}catch(V){q=V}e.call($.prototype)}}else{try{throw Error()}catch(V){q=V}($=e())&&typeof $.catch=="function"&&$.catch(function(){})}}catch(V){if(V&&q&&typeof V.stack=="string")return[V.stack,q.stack]}return[null,null]}};i.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var u=Object.getOwnPropertyDescriptor(i.DetermineComponentFrameRoot,"name");u&&u.configurable&&Object.defineProperty(i.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var d=i.DetermineComponentFrameRoot(),b=d[0],S=d[1];if(b&&S){var _=b.split(`
`),P=S.split(`
`);for(u=i=0;i<_.length&&!_[i].includes("DetermineComponentFrameRoot");)i++;for(;u<P.length&&!P[u].includes("DetermineComponentFrameRoot");)u++;if(i===_.length||u===P.length)for(i=_.length-1,u=P.length-1;1<=i&&0<=u&&_[i]!==P[u];)u--;for(;1<=i&&0<=u;i--,u--)if(_[i]!==P[u]){if(i!==1||u!==1)do if(i--,u--,0>u||_[i]!==P[u]){var X=`
`+_[i].replace(" at new "," at ");return e.displayName&&X.includes("<anonymous>")&&(X=X.replace("<anonymous>",e.displayName)),X}while(1<=i&&0<=u);break}}}finally{lc=!1,Error.prepareStackTrace=r}return(r=e?e.displayName||e.name:"")?Hr(r):""}function q5(e){switch(e.tag){case 26:case 27:case 5:return Hr(e.type);case 16:return Hr("Lazy");case 13:return Hr("Suspense");case 19:return Hr("SuspenseList");case 0:case 15:return oc(e.type,!1);case 11:return oc(e.type.render,!1);case 1:return oc(e.type,!0);case 31:return Hr("Activity");default:return""}}function E1(e){try{var t="";do t+=q5(e),e=e.return;while(e);return t}catch(r){return`
Error generating stack: `+r.message+`
`+r.stack}}function Jt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function C1(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function V5(e){var t=C1(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),i=""+e[t];if(!e.hasOwnProperty(t)&&typeof r!="undefined"&&typeof r.get=="function"&&typeof r.set=="function"){var u=r.get,d=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return u.call(this)},set:function(b){i=""+b,d.call(this,b)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return i},setValue:function(b){i=""+b},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Di(e){e._valueTracker||(e._valueTracker=V5(e))}function R1(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),i="";return e&&(i=C1(e)?e.checked?"true":"false":e.value),e=i,e!==r?(t.setValue(e),!0):!1}function ji(e){if(e=e||(typeof document!="undefined"?document:void 0),typeof e=="undefined")return null;try{return e.activeElement||e.body}catch(t){return e.body}}var G5=/[\n"\\]/g;function Wt(e){return e.replace(G5,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function ic(e,t,r,i,u,d,b,S){e.name="",b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"?e.type=b:e.removeAttribute("type"),t!=null?b==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Jt(t)):e.value!==""+Jt(t)&&(e.value=""+Jt(t)):b!=="submit"&&b!=="reset"||e.removeAttribute("value"),t!=null?sc(e,b,Jt(t)):r!=null?sc(e,b,Jt(r)):i!=null&&e.removeAttribute("value"),u==null&&d!=null&&(e.defaultChecked=!!d),u!=null&&(e.checked=u&&typeof u!="function"&&typeof u!="symbol"),S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"?e.name=""+Jt(S):e.removeAttribute("name")}function T1(e,t,r,i,u,d,b,S){if(d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"&&(e.type=d),t!=null||r!=null){if(!(d!=="submit"&&d!=="reset"||t!=null))return;r=r!=null?""+Jt(r):"",t=t!=null?""+Jt(t):r,S||t===e.value||(e.value=t),e.defaultValue=t}i=i!=null?i:u,i=typeof i!="function"&&typeof i!="symbol"&&!!i,e.checked=S?e.checked:!!i,e.defaultChecked=!!i,b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"&&(e.name=b)}function sc(e,t,r){t==="number"&&ji(e.ownerDocument)===e||e.defaultValue===""+r||(e.defaultValue=""+r)}function kr(e,t,r,i){if(e=e.options,t){t={};for(var u=0;u<r.length;u++)t["$"+r[u]]=!0;for(r=0;r<e.length;r++)u=t.hasOwnProperty("$"+e[r].value),e[r].selected!==u&&(e[r].selected=u),u&&i&&(e[r].defaultSelected=!0)}else{for(r=""+Jt(r),t=null,u=0;u<e.length;u++){if(e[u].value===r){e[u].selected=!0,i&&(e[u].defaultSelected=!0);return}t!==null||e[u].disabled||(t=e[u])}t!==null&&(t.selected=!0)}}function A1(e,t,r){if(t!=null&&(t=""+Jt(t),t!==e.value&&(e.value=t),r==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=r!=null?""+Jt(r):""}function O1(e,t,r,i){if(t==null){if(i!=null){if(r!=null)throw Error(o(92));if(re(i)){if(1<i.length)throw Error(o(93));i=i[0]}r=i}r==null&&(r=""),t=r}r=Jt(t),e.defaultValue=r,i=e.textContent,i===r&&i!==""&&i!==null&&(e.value=i)}function Pr(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var Y5=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function M1(e,t,r){var i=t.indexOf("--")===0;r==null||typeof r=="boolean"||r===""?i?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":i?e.setProperty(t,r):typeof r!="number"||r===0||Y5.has(t)?t==="float"?e.cssFloat=r:e[t]=(""+r).trim():e[t]=r+"px"}function _1(e,t,r){if(t!=null&&typeof t!="object")throw Error(o(62));if(e=e.style,r!=null){for(var i in r)!r.hasOwnProperty(i)||t!=null&&t.hasOwnProperty(i)||(i.indexOf("--")===0?e.setProperty(i,""):i==="float"?e.cssFloat="":e[i]="");for(var u in t)i=t[u],t.hasOwnProperty(u)&&r[u]!==i&&M1(e,u,i)}else for(var d in t)t.hasOwnProperty(d)&&M1(e,d,t[d])}function uc(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var F5=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),K5=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Li(e){return K5.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}var cc=null;function fc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var qr=null,Vr=null;function N1(e){var t=zr(e);if(t&&(e=t.stateNode)){var r=e[Mt]||null;e:switch(e=t.stateNode,t.type){case"input":if(ic(e,r.value,r.defaultValue,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name),t=r.name,r.type==="radio"&&t!=null){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll('input[name="'+Wt(""+t)+'"][type="radio"]'),t=0;t<r.length;t++){var i=r[t];if(i!==e&&i.form===e.form){var u=i[Mt]||null;if(!u)throw Error(o(90));ic(i,u.value,u.defaultValue,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name)}}for(t=0;t<r.length;t++)i=r[t],i.form===e.form&&R1(i)}break e;case"textarea":A1(e,r.value,r.defaultValue);break e;case"select":t=r.value,t!=null&&kr(e,!!r.multiple,t,!1)}}}var dc=!1;function D1(e,t,r){if(dc)return e(t,r);dc=!0;try{var i=e(t);return i}finally{if(dc=!1,(qr!==null||Vr!==null)&&(bs(),qr&&(t=qr,e=Vr,Vr=qr=null,N1(t),e)))for(t=0;t<e.length;t++)N1(e[t])}}function Il(e,t){var r=e.stateNode;if(r===null)return null;var i=r[Mt]||null;if(i===null)return null;r=i[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(i=!i.disabled)||(e=e.type,i=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!i;break e;default:e=!1}if(e)return null;if(r&&typeof r!="function")throw Error(o(231,t,typeof r));return r}var Bn=!(typeof window=="undefined"||typeof window.document=="undefined"||typeof window.document.createElement=="undefined"),hc=!1;if(Bn)try{var $l={};Object.defineProperty($l,"passive",{get:function(){hc=!0}}),window.addEventListener("test",$l,$l),window.removeEventListener("test",$l,$l)}catch(e){hc=!1}var ua=null,mc=null,zi=null;function j1(){if(zi)return zi;var e,t=mc,r=t.length,i,u="value"in ua?ua.value:ua.textContent,d=u.length;for(e=0;e<r&&t[e]===u[e];e++);var b=r-e;for(i=1;i<=b&&t[r-i]===u[d-i];i++);return zi=u.slice(e,1<i?1-i:void 0)}function Ui(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Bi(){return!0}function L1(){return!1}function _t(e){function t(r,i,u,d,b){this._reactName=r,this._targetInst=u,this.type=i,this.nativeEvent=d,this.target=b,this.currentTarget=null;for(var S in e)e.hasOwnProperty(S)&&(r=e[S],this[S]=r?r(d):d[S]);return this.isDefaultPrevented=(d.defaultPrevented!=null?d.defaultPrevented:d.returnValue===!1)?Bi:L1,this.isPropagationStopped=L1,this}return g(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=Bi)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=Bi)},persist:function(){},isPersistent:Bi}),t}var Za={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Hi=_t(Za),Jl=g({},Za,{view:0,detail:0}),Q5=_t(Jl),pc,vc,Wl,ki=g({},Jl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:yc,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Wl&&(Wl&&e.type==="mousemove"?(pc=e.screenX-Wl.screenX,vc=e.screenY-Wl.screenY):vc=pc=0,Wl=e),pc)},movementY:function(e){return"movementY"in e?e.movementY:vc}}),z1=_t(ki),X5=g({},ki,{dataTransfer:0}),Z5=_t(X5),I5=g({},Jl,{relatedTarget:0}),gc=_t(I5),$5=g({},Za,{animationName:0,elapsedTime:0,pseudoElement:0}),J5=_t($5),W5=g({},Za,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),e4=_t(W5),t4=g({},Za,{data:0}),U1=_t(t4),n4={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},a4={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},r4={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function l4(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=r4[e])?!!t[e]:!1}function yc(){return l4}var o4=g({},Jl,{key:function(e){if(e.key){var t=n4[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Ui(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?a4[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:yc,charCode:function(e){return e.type==="keypress"?Ui(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ui(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),i4=_t(o4),s4=g({},ki,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),B1=_t(s4),u4=g({},Jl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:yc}),c4=_t(u4),f4=g({},Za,{propertyName:0,elapsedTime:0,pseudoElement:0}),d4=_t(f4),h4=g({},ki,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),m4=_t(h4),p4=g({},Za,{newState:0,oldState:0}),v4=_t(p4),g4=[9,13,27,32],bc=Bn&&"CompositionEvent"in window,eo=null;Bn&&"documentMode"in document&&(eo=document.documentMode);var y4=Bn&&"TextEvent"in window&&!eo,H1=Bn&&(!bc||eo&&8<eo&&11>=eo),k1=" ",P1=!1;function q1(e,t){switch(e){case"keyup":return g4.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function V1(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Gr=!1;function b4(e,t){switch(e){case"compositionend":return V1(t);case"keypress":return t.which!==32?null:(P1=!0,k1);case"textInput":return e=t.data,e===k1&&P1?null:e;default:return null}}function x4(e,t){if(Gr)return e==="compositionend"||!bc&&q1(e,t)?(e=j1(),zi=mc=ua=null,Gr=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return H1&&t.locale!=="ko"?null:t.data;default:return null}}var w4={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function G1(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!w4[e.type]:t==="textarea"}function Y1(e,t,r,i){qr?Vr?Vr.push(i):Vr=[i]:qr=i,t=Rs(t,"onChange"),0<t.length&&(r=new Hi("onChange","change",null,r,i),e.push({event:r,listeners:t}))}var to=null,no=null;function S4(e){Cp(e,0)}function Pi(e){var t=Zl(e);if(R1(t))return e}function F1(e,t){if(e==="change")return t}var K1=!1;if(Bn){var xc;if(Bn){var wc="oninput"in document;if(!wc){var Q1=document.createElement("div");Q1.setAttribute("oninput","return;"),wc=typeof Q1.oninput=="function"}xc=wc}else xc=!1;K1=xc&&(!document.documentMode||9<document.documentMode)}function X1(){to&&(to.detachEvent("onpropertychange",Z1),no=to=null)}function Z1(e){if(e.propertyName==="value"&&Pi(no)){var t=[];Y1(t,no,e,fc(e)),D1(S4,t)}}function E4(e,t,r){e==="focusin"?(X1(),to=t,no=r,to.attachEvent("onpropertychange",Z1)):e==="focusout"&&X1()}function C4(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Pi(no)}function R4(e,t){if(e==="click")return Pi(t)}function T4(e,t){if(e==="input"||e==="change")return Pi(t)}function A4(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Vt=typeof Object.is=="function"?Object.is:A4;function ao(e,t){if(Vt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var r=Object.keys(e),i=Object.keys(t);if(r.length!==i.length)return!1;for(i=0;i<r.length;i++){var u=r[i];if(!fn.call(t,u)||!Vt(e[u],t[u]))return!1}return!0}function I1(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function $1(e,t){var r=I1(e);e=0;for(var i;r;){if(r.nodeType===3){if(i=e+r.textContent.length,e<=t&&i>=t)return{node:r,offset:t-e};e=i}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=I1(r)}}function J1(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?J1(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function W1(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=ji(e.document);t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch(i){r=!1}if(r)e=t.contentWindow;else break;t=ji(e.document)}return t}function Sc(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var O4=Bn&&"documentMode"in document&&11>=document.documentMode,Yr=null,Ec=null,ro=null,Cc=!1;function em(e,t,r){var i=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;Cc||Yr==null||Yr!==ji(i)||(i=Yr,"selectionStart"in i&&Sc(i)?i={start:i.selectionStart,end:i.selectionEnd}:(i=(i.ownerDocument&&i.ownerDocument.defaultView||window).getSelection(),i={anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset}),ro&&ao(ro,i)||(ro=i,i=Rs(Ec,"onSelect"),0<i.length&&(t=new Hi("onSelect","select",null,t,r),e.push({event:t,listeners:i}),t.target=Yr)))}function Ia(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var Fr={animationend:Ia("Animation","AnimationEnd"),animationiteration:Ia("Animation","AnimationIteration"),animationstart:Ia("Animation","AnimationStart"),transitionrun:Ia("Transition","TransitionRun"),transitionstart:Ia("Transition","TransitionStart"),transitioncancel:Ia("Transition","TransitionCancel"),transitionend:Ia("Transition","TransitionEnd")},Rc={},tm={};Bn&&(tm=document.createElement("div").style,"AnimationEvent"in window||(delete Fr.animationend.animation,delete Fr.animationiteration.animation,delete Fr.animationstart.animation),"TransitionEvent"in window||delete Fr.transitionend.transition);function $a(e){if(Rc[e])return Rc[e];if(!Fr[e])return e;var t=Fr[e],r;for(r in t)if(t.hasOwnProperty(r)&&r in tm)return Rc[e]=t[r];return e}var nm=$a("animationend"),am=$a("animationiteration"),rm=$a("animationstart"),M4=$a("transitionrun"),_4=$a("transitionstart"),N4=$a("transitioncancel"),lm=$a("transitionend"),om=new Map,Tc="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");Tc.push("scrollEnd");function dn(e,t){om.set(e,t),Xa(t,[e])}var im=new WeakMap;function en(e,t){if(typeof e=="object"&&e!==null){var r=im.get(e);return r!==void 0?r:(t={value:e,source:t,stack:E1(t)},im.set(e,t),t)}return{value:e,source:t,stack:E1(t)}}var tn=[],Kr=0,Ac=0;function qi(){for(var e=Kr,t=Ac=Kr=0;t<e;){var r=tn[t];tn[t++]=null;var i=tn[t];tn[t++]=null;var u=tn[t];tn[t++]=null;var d=tn[t];if(tn[t++]=null,i!==null&&u!==null){var b=i.pending;b===null?u.next=u:(u.next=b.next,b.next=u),i.pending=u}d!==0&&sm(r,u,d)}}function Vi(e,t,r,i){tn[Kr++]=e,tn[Kr++]=t,tn[Kr++]=r,tn[Kr++]=i,Ac|=i,e.lanes|=i,e=e.alternate,e!==null&&(e.lanes|=i)}function Oc(e,t,r,i){return Vi(e,t,r,i),Gi(e)}function Qr(e,t){return Vi(e,null,null,t),Gi(e)}function sm(e,t,r){e.lanes|=r;var i=e.alternate;i!==null&&(i.lanes|=r);for(var u=!1,d=e.return;d!==null;)d.childLanes|=r,i=d.alternate,i!==null&&(i.childLanes|=r),d.tag===22&&(e=d.stateNode,e===null||e._visibility&1||(u=!0)),e=d,d=d.return;return e.tag===3?(d=e.stateNode,u&&t!==null&&(u=31-qt(r),e=d.hiddenUpdates,i=e[u],i===null?e[u]=[t]:i.push(t),t.lane=r|536870912),d):null}function Gi(e){if(50<_o)throw _o=0,zf=null,Error(o(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var Xr={};function D4(e,t,r,i){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=i,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Gt(e,t,r,i){return new D4(e,t,r,i)}function Mc(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Hn(e,t){var r=e.alternate;return r===null?(r=Gt(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&65011712,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.refCleanup=e.refCleanup,r}function um(e,t){e.flags&=65011714;var r=e.alternate;return r===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=r.childLanes,e.lanes=r.lanes,e.child=r.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=r.memoizedProps,e.memoizedState=r.memoizedState,e.updateQueue=r.updateQueue,e.type=r.type,t=r.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function Yi(e,t,r,i,u,d){var b=0;if(i=e,typeof e=="function")Mc(e)&&(b=1);else if(typeof e=="string")b=Lx(e,r,le.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case ae:return e=Gt(31,r,t,u),e.elementType=ae,e.lanes=d,e;case A:return Ja(r.children,u,d,t);case E:b=8,u|=24;break;case C:return e=Gt(12,r,t,u|2),e.elementType=C,e.lanes=d,e;case j:return e=Gt(13,r,t,u),e.elementType=j,e.lanes=d,e;case W:return e=Gt(19,r,t,u),e.elementType=W,e.lanes=d,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case M:case D:b=10;break e;case L:b=9;break e;case z:b=11;break e;case te:b=14;break e;case J:b=16,i=null;break e}b=29,r=Error(o(130,e===null?"null":typeof e,"")),i=null}return t=Gt(b,r,t,u),t.elementType=e,t.type=i,t.lanes=d,t}function Ja(e,t,r,i){return e=Gt(7,e,i,t),e.lanes=r,e}function _c(e,t,r){return e=Gt(6,e,null,t),e.lanes=r,e}function Nc(e,t,r){return t=Gt(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var Zr=[],Ir=0,Fi=null,Ki=0,nn=[],an=0,Wa=null,kn=1,Pn="";function er(e,t){Zr[Ir++]=Ki,Zr[Ir++]=Fi,Fi=e,Ki=t}function cm(e,t,r){nn[an++]=kn,nn[an++]=Pn,nn[an++]=Wa,Wa=e;var i=kn;e=Pn;var u=32-qt(i)-1;i&=~(1<<u),r+=1;var d=32-qt(t)+u;if(30<d){var b=u-u%5;d=(i&(1<<b)-1).toString(32),i>>=b,u-=b,kn=1<<32-qt(t)+u|r<<u|i,Pn=d+e}else kn=1<<d|r<<u|i,Pn=e}function Dc(e){e.return!==null&&(er(e,1),cm(e,1,0))}function jc(e){for(;e===Fi;)Fi=Zr[--Ir],Zr[Ir]=null,Ki=Zr[--Ir],Zr[Ir]=null;for(;e===Wa;)Wa=nn[--an],nn[an]=null,Pn=nn[--an],nn[an]=null,kn=nn[--an],nn[an]=null}var Rt=null,Ze=null,Be=!1,tr=null,Sn=!1,Lc=Error(o(519));function nr(e){var t=Error(o(418,""));throw io(en(t,e)),Lc}function fm(e){var t=e.stateNode,r=e.type,i=e.memoizedProps;switch(t[bt]=e,t[Mt]=i,r){case"dialog":De("cancel",t),De("close",t);break;case"iframe":case"object":case"embed":De("load",t);break;case"video":case"audio":for(r=0;r<Do.length;r++)De(Do[r],t);break;case"source":De("error",t);break;case"img":case"image":case"link":De("error",t),De("load",t);break;case"details":De("toggle",t);break;case"input":De("invalid",t),T1(t,i.value,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name,!0),Di(t);break;case"select":De("invalid",t);break;case"textarea":De("invalid",t),O1(t,i.value,i.defaultValue,i.children),Di(t)}r=i.children,typeof r!="string"&&typeof r!="number"&&typeof r!="bigint"||t.textContent===""+r||i.suppressHydrationWarning===!0||Op(t.textContent,r)?(i.popover!=null&&(De("beforetoggle",t),De("toggle",t)),i.onScroll!=null&&De("scroll",t),i.onScrollEnd!=null&&De("scrollend",t),i.onClick!=null&&(t.onclick=Ts),t=!0):t=!1,t||nr(e)}function dm(e){for(Rt=e.return;Rt;)switch(Rt.tag){case 5:case 13:Sn=!1;return;case 27:case 3:Sn=!0;return;default:Rt=Rt.return}}function lo(e){if(e!==Rt)return!1;if(!Be)return dm(e),Be=!0,!1;var t=e.tag,r;if((r=t!==3&&t!==27)&&((r=t===5)&&(r=e.type,r=!(r!=="form"&&r!=="button")||$f(e.type,e.memoizedProps)),r=!r),r&&Ze&&nr(e),dm(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8)if(r=e.data,r==="/$"){if(t===0){Ze=mn(e.nextSibling);break e}t--}else r!=="$"&&r!=="$!"&&r!=="$?"||t++;e=e.nextSibling}Ze=null}}else t===27?(t=Ze,Ra(e.type)?(e=td,td=null,Ze=e):Ze=t):Ze=Rt?mn(e.stateNode.nextSibling):null;return!0}function oo(){Ze=Rt=null,Be=!1}function hm(){var e=tr;return e!==null&&(jt===null?jt=e:jt.push.apply(jt,e),tr=null),e}function io(e){tr===null?tr=[e]:tr.push(e)}var zc=K(null),ar=null,qn=null;function ca(e,t,r){ee(zc,t._currentValue),t._currentValue=r}function Vn(e){e._currentValue=zc.current,ne(zc)}function Uc(e,t,r){for(;e!==null;){var i=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,i!==null&&(i.childLanes|=t)):i!==null&&(i.childLanes&t)!==t&&(i.childLanes|=t),e===r)break;e=e.return}}function Bc(e,t,r,i){var u=e.child;for(u!==null&&(u.return=e);u!==null;){var d=u.dependencies;if(d!==null){var b=u.child;d=d.firstContext;e:for(;d!==null;){var S=d;d=u;for(var _=0;_<t.length;_++)if(S.context===t[_]){d.lanes|=r,S=d.alternate,S!==null&&(S.lanes|=r),Uc(d.return,r,e),i||(b=null);break e}d=S.next}}else if(u.tag===18){if(b=u.return,b===null)throw Error(o(341));b.lanes|=r,d=b.alternate,d!==null&&(d.lanes|=r),Uc(b,r,e),b=null}else b=u.child;if(b!==null)b.return=u;else for(b=u;b!==null;){if(b===e){b=null;break}if(u=b.sibling,u!==null){u.return=b.return,b=u;break}b=b.return}u=b}}function so(e,t,r,i){e=null;for(var u=t,d=!1;u!==null;){if(!d){if((u.flags&524288)!==0)d=!0;else if((u.flags&262144)!==0)break}if(u.tag===10){var b=u.alternate;if(b===null)throw Error(o(387));if(b=b.memoizedProps,b!==null){var S=u.type;Vt(u.pendingProps.value,b.value)||(e!==null?e.push(S):e=[S])}}else if(u===Ce.current){if(b=u.alternate,b===null)throw Error(o(387));b.memoizedState.memoizedState!==u.memoizedState.memoizedState&&(e!==null?e.push(Ho):e=[Ho])}u=u.return}e!==null&&Bc(t,e,r,i),t.flags|=262144}function Qi(e){for(e=e.firstContext;e!==null;){if(!Vt(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function rr(e){ar=e,qn=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function xt(e){return mm(ar,e)}function Xi(e,t){return ar===null&&rr(e),mm(e,t)}function mm(e,t){var r=t._currentValue;if(t={context:t,memoizedValue:r,next:null},qn===null){if(e===null)throw Error(o(308));qn=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else qn=qn.next=t;return r}var j4=typeof AbortController!="undefined"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(r,i){e.push(i)}};this.abort=function(){t.aborted=!0,e.forEach(function(r){return r()})}},L4=n.unstable_scheduleCallback,z4=n.unstable_NormalPriority,st={$$typeof:D,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Hc(){return{controller:new j4,data:new Map,refCount:0}}function uo(e){e.refCount--,e.refCount===0&&L4(z4,function(){e.controller.abort()})}var co=null,kc=0,$r=0,Jr=null;function U4(e,t){if(co===null){var r=co=[];kc=0,$r=Vf(),Jr={status:"pending",value:void 0,then:function(i){r.push(i)}}}return kc++,t.then(pm,pm),t}function pm(){if(--kc===0&&co!==null){Jr!==null&&(Jr.status="fulfilled");var e=co;co=null,$r=0,Jr=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function B4(e,t){var r=[],i={status:"pending",value:null,reason:null,then:function(u){r.push(u)}};return e.then(function(){i.status="fulfilled",i.value=t;for(var u=0;u<r.length;u++)(0,r[u])(t)},function(u){for(i.status="rejected",i.reason=u,u=0;u<r.length;u++)(0,r[u])(void 0)}),i}var vm=H.S;H.S=function(e,t){typeof t=="object"&&t!==null&&typeof t.then=="function"&&U4(e,t),vm!==null&&vm(e,t)};var lr=K(null);function Pc(){var e=lr.current;return e!==null?e:Fe.pooledCache}function Zi(e,t){t===null?ee(lr,lr.current):ee(lr,t.pool)}function gm(){var e=Pc();return e===null?null:{parent:st._currentValue,pool:e}}var fo=Error(o(460)),ym=Error(o(474)),Ii=Error(o(542)),qc={then:function(){}};function bm(e){return e=e.status,e==="fulfilled"||e==="rejected"}function $i(){}function xm(e,t,r){switch(r=e[r],r===void 0?e.push(t):r!==t&&(t.then($i,$i),t=r),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Sm(e),e;default:if(typeof t.status=="string")t.then($i,$i);else{if(e=Fe,e!==null&&100<e.shellSuspendCounter)throw Error(o(482));e=t,e.status="pending",e.then(function(i){if(t.status==="pending"){var u=t;u.status="fulfilled",u.value=i}},function(i){if(t.status==="pending"){var u=t;u.status="rejected",u.reason=i}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Sm(e),e}throw ho=t,fo}}var ho=null;function wm(){if(ho===null)throw Error(o(459));var e=ho;return ho=null,e}function Sm(e){if(e===fo||e===Ii)throw Error(o(483))}var fa=!1;function Vc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Gc(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function da(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function ha(e,t,r){var i=e.updateQueue;if(i===null)return null;if(i=i.shared,(He&2)!==0){var u=i.pending;return u===null?t.next=t:(t.next=u.next,u.next=t),i.pending=t,t=Gi(e),sm(e,null,r),t}return Vi(e,i,t,r),Gi(e)}function mo(e,t,r){if(t=t.updateQueue,t!==null&&(t=t.shared,(r&4194048)!==0)){var i=t.lanes;i&=e.pendingLanes,r|=i,t.lanes=r,p1(e,r)}}function Yc(e,t){var r=e.updateQueue,i=e.alternate;if(i!==null&&(i=i.updateQueue,r===i)){var u=null,d=null;if(r=r.firstBaseUpdate,r!==null){do{var b={lane:r.lane,tag:r.tag,payload:r.payload,callback:null,next:null};d===null?u=d=b:d=d.next=b,r=r.next}while(r!==null);d===null?u=d=t:d=d.next=t}else u=d=t;r={baseState:i.baseState,firstBaseUpdate:u,lastBaseUpdate:d,shared:i.shared,callbacks:i.callbacks},e.updateQueue=r;return}e=r.lastBaseUpdate,e===null?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}var Fc=!1;function po(){if(Fc){var e=Jr;if(e!==null)throw e}}function vo(e,t,r,i){Fc=!1;var u=e.updateQueue;fa=!1;var d=u.firstBaseUpdate,b=u.lastBaseUpdate,S=u.shared.pending;if(S!==null){u.shared.pending=null;var _=S,P=_.next;_.next=null,b===null?d=P:b.next=P,b=_;var X=e.alternate;X!==null&&(X=X.updateQueue,S=X.lastBaseUpdate,S!==b&&(S===null?X.firstBaseUpdate=P:S.next=P,X.lastBaseUpdate=_))}if(d!==null){var $=u.baseState;b=0,X=P=_=null,S=d;do{var q=S.lane&-536870913,V=q!==S.lane;if(V?(ze&q)===q:(i&q)===q){q!==0&&q===$r&&(Fc=!0),X!==null&&(X=X.next={lane:0,tag:S.tag,payload:S.payload,callback:null,next:null});e:{var be=e,ge=S;q=t;var Ve=r;switch(ge.tag){case 1:if(be=ge.payload,typeof be=="function"){$=be.call(Ve,$,q);break e}$=be;break e;case 3:be.flags=be.flags&-65537|128;case 0:if(be=ge.payload,q=typeof be=="function"?be.call(Ve,$,q):be,q==null)break e;$=g({},$,q);break e;case 2:fa=!0}}q=S.callback,q!==null&&(e.flags|=64,V&&(e.flags|=8192),V=u.callbacks,V===null?u.callbacks=[q]:V.push(q))}else V={lane:q,tag:S.tag,payload:S.payload,callback:S.callback,next:null},X===null?(P=X=V,_=$):X=X.next=V,b|=q;if(S=S.next,S===null){if(S=u.shared.pending,S===null)break;V=S,S=V.next,V.next=null,u.lastBaseUpdate=V,u.shared.pending=null}}while(!0);X===null&&(_=$),u.baseState=_,u.firstBaseUpdate=P,u.lastBaseUpdate=X,d===null&&(u.shared.lanes=0),wa|=b,e.lanes=b,e.memoizedState=$}}function Em(e,t){if(typeof e!="function")throw Error(o(191,e));e.call(t)}function Cm(e,t){var r=e.callbacks;if(r!==null)for(e.callbacks=null,e=0;e<r.length;e++)Em(r[e],t)}var Wr=K(null),Ji=K(0);function Rm(e,t){e=Zn,ee(Ji,e),ee(Wr,t),Zn=e|t.baseLanes}function Kc(){ee(Ji,Zn),ee(Wr,Wr.current)}function Qc(){Zn=Ji.current,ne(Wr),ne(Ji)}var ma=0,Te=null,Pe=null,rt=null,Wi=!1,el=!1,or=!1,es=0,go=0,tl=null,H4=0;function et(){throw Error(o(321))}function Xc(e,t){if(t===null)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!Vt(e[r],t[r]))return!1;return!0}function Zc(e,t,r,i,u,d){return ma=d,Te=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,H.H=e===null||e.memoizedState===null?s0:u0,or=!1,d=r(i,u),or=!1,el&&(d=Am(t,r,i,u)),Tm(e),d}function Tm(e){H.H=os;var t=Pe!==null&&Pe.next!==null;if(ma=0,rt=Pe=Te=null,Wi=!1,go=0,tl=null,t)throw Error(o(300));e===null||dt||(e=e.dependencies,e!==null&&Qi(e)&&(dt=!0))}function Am(e,t,r,i){Te=e;var u=0;do{if(el&&(tl=null),go=0,el=!1,25<=u)throw Error(o(301));if(u+=1,rt=Pe=null,e.updateQueue!=null){var d=e.updateQueue;d.lastEffect=null,d.events=null,d.stores=null,d.memoCache!=null&&(d.memoCache.index=0)}H.H=F4,d=t(r,i)}while(el);return d}function k4(){var e=H.H,t=e.useState()[0];return t=typeof t.then=="function"?yo(t):t,e=e.useState()[0],(Pe!==null?Pe.memoizedState:null)!==e&&(Te.flags|=1024),t}function Ic(){var e=es!==0;return es=0,e}function $c(e,t,r){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~r}function Jc(e){if(Wi){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Wi=!1}ma=0,rt=Pe=Te=null,el=!1,go=es=0,tl=null}function Nt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return rt===null?Te.memoizedState=rt=e:rt=rt.next=e,rt}function lt(){if(Pe===null){var e=Te.alternate;e=e!==null?e.memoizedState:null}else e=Pe.next;var t=rt===null?Te.memoizedState:rt.next;if(t!==null)rt=t,Pe=e;else{if(e===null)throw Te.alternate===null?Error(o(467)):Error(o(310));Pe=e,e={memoizedState:Pe.memoizedState,baseState:Pe.baseState,baseQueue:Pe.baseQueue,queue:Pe.queue,next:null},rt===null?Te.memoizedState=rt=e:rt=rt.next=e}return rt}function Wc(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function yo(e){var t=go;return go+=1,tl===null&&(tl=[]),e=xm(tl,e,t),t=Te,(rt===null?t.memoizedState:rt.next)===null&&(t=t.alternate,H.H=t===null||t.memoizedState===null?s0:u0),e}function ts(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return yo(e);if(e.$$typeof===D)return xt(e)}throw Error(o(438,String(e)))}function ef(e){var t=null,r=Te.updateQueue;if(r!==null&&(t=r.memoCache),t==null){var i=Te.alternate;i!==null&&(i=i.updateQueue,i!==null&&(i=i.memoCache,i!=null&&(t={data:i.data.map(function(u){return u.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),r===null&&(r=Wc(),Te.updateQueue=r),r.memoCache=t,r=t.data[t.index],r===void 0)for(r=t.data[t.index]=Array(e),i=0;i<e;i++)r[i]=oe;return t.index++,r}function Gn(e,t){return typeof t=="function"?t(e):t}function ns(e){var t=lt();return tf(t,Pe,e)}function tf(e,t,r){var i=e.queue;if(i===null)throw Error(o(311));i.lastRenderedReducer=r;var u=e.baseQueue,d=i.pending;if(d!==null){if(u!==null){var b=u.next;u.next=d.next,d.next=b}t.baseQueue=u=d,i.pending=null}if(d=e.baseState,u===null)e.memoizedState=d;else{t=u.next;var S=b=null,_=null,P=t,X=!1;do{var $=P.lane&-536870913;if($!==P.lane?(ze&$)===$:(ma&$)===$){var q=P.revertLane;if(q===0)_!==null&&(_=_.next={lane:0,revertLane:0,action:P.action,hasEagerState:P.hasEagerState,eagerState:P.eagerState,next:null}),$===$r&&(X=!0);else if((ma&q)===q){P=P.next,q===$r&&(X=!0);continue}else $={lane:0,revertLane:P.revertLane,action:P.action,hasEagerState:P.hasEagerState,eagerState:P.eagerState,next:null},_===null?(S=_=$,b=d):_=_.next=$,Te.lanes|=q,wa|=q;$=P.action,or&&r(d,$),d=P.hasEagerState?P.eagerState:r(d,$)}else q={lane:$,revertLane:P.revertLane,action:P.action,hasEagerState:P.hasEagerState,eagerState:P.eagerState,next:null},_===null?(S=_=q,b=d):_=_.next=q,Te.lanes|=$,wa|=$;P=P.next}while(P!==null&&P!==t);if(_===null?b=d:_.next=S,!Vt(d,e.memoizedState)&&(dt=!0,X&&(r=Jr,r!==null)))throw r;e.memoizedState=d,e.baseState=b,e.baseQueue=_,i.lastRenderedState=d}return u===null&&(i.lanes=0),[e.memoizedState,i.dispatch]}function nf(e){var t=lt(),r=t.queue;if(r===null)throw Error(o(311));r.lastRenderedReducer=e;var i=r.dispatch,u=r.pending,d=t.memoizedState;if(u!==null){r.pending=null;var b=u=u.next;do d=e(d,b.action),b=b.next;while(b!==u);Vt(d,t.memoizedState)||(dt=!0),t.memoizedState=d,t.baseQueue===null&&(t.baseState=d),r.lastRenderedState=d}return[d,i]}function Om(e,t,r){var i=Te,u=lt(),d=Be;if(d){if(r===void 0)throw Error(o(407));r=r()}else r=t();var b=!Vt((Pe||u).memoizedState,r);b&&(u.memoizedState=r,dt=!0),u=u.queue;var S=Nm.bind(null,i,u,e);if(bo(2048,8,S,[e]),u.getSnapshot!==t||b||rt!==null&&rt.memoizedState.tag&1){if(i.flags|=2048,nl(9,as(),_m.bind(null,i,u,r,t),null),Fe===null)throw Error(o(349));d||(ma&124)!==0||Mm(i,t,r)}return r}function Mm(e,t,r){e.flags|=16384,e={getSnapshot:t,value:r},t=Te.updateQueue,t===null?(t=Wc(),Te.updateQueue=t,t.stores=[e]):(r=t.stores,r===null?t.stores=[e]:r.push(e))}function _m(e,t,r,i){t.value=r,t.getSnapshot=i,Dm(t)&&jm(e)}function Nm(e,t,r){return r(function(){Dm(t)&&jm(e)})}function Dm(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!Vt(e,r)}catch(i){return!0}}function jm(e){var t=Qr(e,2);t!==null&&Xt(t,e,2)}function af(e){var t=Nt();if(typeof e=="function"){var r=e;if(e=r(),or){ia(!0);try{r()}finally{ia(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Gn,lastRenderedState:e},t}function Lm(e,t,r,i){return e.baseState=r,tf(e,Pe,typeof i=="function"?i:Gn)}function P4(e,t,r,i,u){if(ls(e))throw Error(o(485));if(e=t.action,e!==null){var d={payload:u,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(b){d.listeners.push(b)}};H.T!==null?r(!0):d.isTransition=!1,i(d),r=t.pending,r===null?(d.next=t.pending=d,zm(t,d)):(d.next=r.next,t.pending=r.next=d)}}function zm(e,t){var r=t.action,i=t.payload,u=e.state;if(t.isTransition){var d=H.T,b={};H.T=b;try{var S=r(u,i),_=H.S;_!==null&&_(b,S),Um(e,t,S)}catch(P){rf(e,t,P)}finally{H.T=d}}else try{d=r(u,i),Um(e,t,d)}catch(P){rf(e,t,P)}}function Um(e,t,r){r!==null&&typeof r=="object"&&typeof r.then=="function"?r.then(function(i){Bm(e,t,i)},function(i){return rf(e,t,i)}):Bm(e,t,r)}function Bm(e,t,r){t.status="fulfilled",t.value=r,Hm(t),e.state=r,t=e.pending,t!==null&&(r=t.next,r===t?e.pending=null:(r=r.next,t.next=r,zm(e,r)))}function rf(e,t,r){var i=e.pending;if(e.pending=null,i!==null){i=i.next;do t.status="rejected",t.reason=r,Hm(t),t=t.next;while(t!==i)}e.action=null}function Hm(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function km(e,t){return t}function Pm(e,t){if(Be){var r=Fe.formState;if(r!==null){e:{var i=Te;if(Be){if(Ze){t:{for(var u=Ze,d=Sn;u.nodeType!==8;){if(!d){u=null;break t}if(u=mn(u.nextSibling),u===null){u=null;break t}}d=u.data,u=d==="F!"||d==="F"?u:null}if(u){Ze=mn(u.nextSibling),i=u.data==="F!";break e}}nr(i)}i=!1}i&&(t=r[0])}}return r=Nt(),r.memoizedState=r.baseState=t,i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:km,lastRenderedState:t},r.queue=i,r=l0.bind(null,Te,i),i.dispatch=r,i=af(!1),d=cf.bind(null,Te,!1,i.queue),i=Nt(),u={state:t,dispatch:null,action:e,pending:null},i.queue=u,r=P4.bind(null,Te,u,d,r),u.dispatch=r,i.memoizedState=e,[t,r,!1]}function qm(e){var t=lt();return Vm(t,Pe,e)}function Vm(e,t,r){if(t=tf(e,t,km)[0],e=ns(Gn)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var i=yo(t)}catch(b){throw b===fo?Ii:b}else i=t;t=lt();var u=t.queue,d=u.dispatch;return r!==t.memoizedState&&(Te.flags|=2048,nl(9,as(),q4.bind(null,u,r),null)),[i,d,e]}function q4(e,t){e.action=t}function Gm(e){var t=lt(),r=Pe;if(r!==null)return Vm(t,r,e);lt(),t=t.memoizedState,r=lt();var i=r.queue.dispatch;return r.memoizedState=e,[t,i,!1]}function nl(e,t,r,i){return e={tag:e,create:r,deps:i,inst:t,next:null},t=Te.updateQueue,t===null&&(t=Wc(),Te.updateQueue=t),r=t.lastEffect,r===null?t.lastEffect=e.next=e:(i=r.next,r.next=e,e.next=i,t.lastEffect=e),e}function as(){return{destroy:void 0,resource:void 0}}function Ym(){return lt().memoizedState}function rs(e,t,r,i){var u=Nt();i=i===void 0?null:i,Te.flags|=e,u.memoizedState=nl(1|t,as(),r,i)}function bo(e,t,r,i){var u=lt();i=i===void 0?null:i;var d=u.memoizedState.inst;Pe!==null&&i!==null&&Xc(i,Pe.memoizedState.deps)?u.memoizedState=nl(t,d,r,i):(Te.flags|=e,u.memoizedState=nl(1|t,d,r,i))}function Fm(e,t){rs(8390656,8,e,t)}function Km(e,t){bo(2048,8,e,t)}function Qm(e,t){return bo(4,2,e,t)}function Xm(e,t){return bo(4,4,e,t)}function Zm(e,t){if(typeof t=="function"){e=e();var r=t(e);return function(){typeof r=="function"?r():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Im(e,t,r){r=r!=null?r.concat([e]):null,bo(4,4,Zm.bind(null,t,e),r)}function lf(){}function $m(e,t){var r=lt();t=t===void 0?null:t;var i=r.memoizedState;return t!==null&&Xc(t,i[1])?i[0]:(r.memoizedState=[e,t],e)}function Jm(e,t){var r=lt();t=t===void 0?null:t;var i=r.memoizedState;if(t!==null&&Xc(t,i[1]))return i[0];if(i=e(),or){ia(!0);try{e()}finally{ia(!1)}}return r.memoizedState=[i,t],i}function of(e,t,r){return r===void 0||(ma&1073741824)!==0?e.memoizedState=t:(e.memoizedState=r,e=tp(),Te.lanes|=e,wa|=e,r)}function Wm(e,t,r,i){return Vt(r,t)?r:Wr.current!==null?(e=of(e,r,i),Vt(e,t)||(dt=!0),e):(ma&42)===0?(dt=!0,e.memoizedState=r):(e=tp(),Te.lanes|=e,wa|=e,t)}function e0(e,t,r,i,u){var d=Z.p;Z.p=d!==0&&8>d?d:8;var b=H.T,S={};H.T=S,cf(e,!1,t,r);try{var _=u(),P=H.S;if(P!==null&&P(S,_),_!==null&&typeof _=="object"&&typeof _.then=="function"){var X=B4(_,i);xo(e,t,X,Qt(e))}else xo(e,t,i,Qt(e))}catch($){xo(e,t,{then:function(){},status:"rejected",reason:$},Qt())}finally{Z.p=d,H.T=b}}function V4(){}function sf(e,t,r,i){if(e.tag!==5)throw Error(o(476));var u=t0(e).queue;e0(e,u,t,Y,r===null?V4:function(){return n0(e),r(i)})}function t0(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:Y,baseState:Y,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Gn,lastRenderedState:Y},next:null};var r={};return t.next={memoizedState:r,baseState:r,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Gn,lastRenderedState:r},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function n0(e){var t=t0(e).next.queue;xo(e,t,{},Qt())}function uf(){return xt(Ho)}function a0(){return lt().memoizedState}function r0(){return lt().memoizedState}function G4(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var r=Qt();e=da(r);var i=ha(t,e,r);i!==null&&(Xt(i,t,r),mo(i,t,r)),t={cache:Hc()},e.payload=t;return}t=t.return}}function Y4(e,t,r){var i=Qt();r={lane:i,revertLane:0,action:r,hasEagerState:!1,eagerState:null,next:null},ls(e)?o0(t,r):(r=Oc(e,t,r,i),r!==null&&(Xt(r,e,i),i0(r,t,i)))}function l0(e,t,r){var i=Qt();xo(e,t,r,i)}function xo(e,t,r,i){var u={lane:i,revertLane:0,action:r,hasEagerState:!1,eagerState:null,next:null};if(ls(e))o0(t,u);else{var d=e.alternate;if(e.lanes===0&&(d===null||d.lanes===0)&&(d=t.lastRenderedReducer,d!==null))try{var b=t.lastRenderedState,S=d(b,r);if(u.hasEagerState=!0,u.eagerState=S,Vt(S,b))return Vi(e,t,u,0),Fe===null&&qi(),!1}catch(_){}finally{}if(r=Oc(e,t,u,i),r!==null)return Xt(r,e,i),i0(r,t,i),!0}return!1}function cf(e,t,r,i){if(i={lane:2,revertLane:Vf(),action:i,hasEagerState:!1,eagerState:null,next:null},ls(e)){if(t)throw Error(o(479))}else t=Oc(e,r,i,2),t!==null&&Xt(t,e,2)}function ls(e){var t=e.alternate;return e===Te||t!==null&&t===Te}function o0(e,t){el=Wi=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function i0(e,t,r){if((r&4194048)!==0){var i=t.lanes;i&=e.pendingLanes,r|=i,t.lanes=r,p1(e,r)}}var os={readContext:xt,use:ts,useCallback:et,useContext:et,useEffect:et,useImperativeHandle:et,useLayoutEffect:et,useInsertionEffect:et,useMemo:et,useReducer:et,useRef:et,useState:et,useDebugValue:et,useDeferredValue:et,useTransition:et,useSyncExternalStore:et,useId:et,useHostTransitionStatus:et,useFormState:et,useActionState:et,useOptimistic:et,useMemoCache:et,useCacheRefresh:et},s0={readContext:xt,use:ts,useCallback:function(e,t){return Nt().memoizedState=[e,t===void 0?null:t],e},useContext:xt,useEffect:Fm,useImperativeHandle:function(e,t,r){r=r!=null?r.concat([e]):null,rs(4194308,4,Zm.bind(null,t,e),r)},useLayoutEffect:function(e,t){return rs(4194308,4,e,t)},useInsertionEffect:function(e,t){rs(4,2,e,t)},useMemo:function(e,t){var r=Nt();t=t===void 0?null:t;var i=e();if(or){ia(!0);try{e()}finally{ia(!1)}}return r.memoizedState=[i,t],i},useReducer:function(e,t,r){var i=Nt();if(r!==void 0){var u=r(t);if(or){ia(!0);try{r(t)}finally{ia(!1)}}}else u=t;return i.memoizedState=i.baseState=u,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:u},i.queue=e,e=e.dispatch=Y4.bind(null,Te,e),[i.memoizedState,e]},useRef:function(e){var t=Nt();return e={current:e},t.memoizedState=e},useState:function(e){e=af(e);var t=e.queue,r=l0.bind(null,Te,t);return t.dispatch=r,[e.memoizedState,r]},useDebugValue:lf,useDeferredValue:function(e,t){var r=Nt();return of(r,e,t)},useTransition:function(){var e=af(!1);return e=e0.bind(null,Te,e.queue,!0,!1),Nt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,r){var i=Te,u=Nt();if(Be){if(r===void 0)throw Error(o(407));r=r()}else{if(r=t(),Fe===null)throw Error(o(349));(ze&124)!==0||Mm(i,t,r)}u.memoizedState=r;var d={value:r,getSnapshot:t};return u.queue=d,Fm(Nm.bind(null,i,d,e),[e]),i.flags|=2048,nl(9,as(),_m.bind(null,i,d,r,t),null),r},useId:function(){var e=Nt(),t=Fe.identifierPrefix;if(Be){var r=Pn,i=kn;r=(i&~(1<<32-qt(i)-1)).toString(32)+r,t="«"+t+"R"+r,r=es++,0<r&&(t+="H"+r.toString(32)),t+="»"}else r=H4++,t="«"+t+"r"+r.toString(32)+"»";return e.memoizedState=t},useHostTransitionStatus:uf,useFormState:Pm,useActionState:Pm,useOptimistic:function(e){var t=Nt();t.memoizedState=t.baseState=e;var r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=r,t=cf.bind(null,Te,!0,r),r.dispatch=t,[e,t]},useMemoCache:ef,useCacheRefresh:function(){return Nt().memoizedState=G4.bind(null,Te)}},u0={readContext:xt,use:ts,useCallback:$m,useContext:xt,useEffect:Km,useImperativeHandle:Im,useInsertionEffect:Qm,useLayoutEffect:Xm,useMemo:Jm,useReducer:ns,useRef:Ym,useState:function(){return ns(Gn)},useDebugValue:lf,useDeferredValue:function(e,t){var r=lt();return Wm(r,Pe.memoizedState,e,t)},useTransition:function(){var e=ns(Gn)[0],t=lt().memoizedState;return[typeof e=="boolean"?e:yo(e),t]},useSyncExternalStore:Om,useId:a0,useHostTransitionStatus:uf,useFormState:qm,useActionState:qm,useOptimistic:function(e,t){var r=lt();return Lm(r,Pe,e,t)},useMemoCache:ef,useCacheRefresh:r0},F4={readContext:xt,use:ts,useCallback:$m,useContext:xt,useEffect:Km,useImperativeHandle:Im,useInsertionEffect:Qm,useLayoutEffect:Xm,useMemo:Jm,useReducer:nf,useRef:Ym,useState:function(){return nf(Gn)},useDebugValue:lf,useDeferredValue:function(e,t){var r=lt();return Pe===null?of(r,e,t):Wm(r,Pe.memoizedState,e,t)},useTransition:function(){var e=nf(Gn)[0],t=lt().memoizedState;return[typeof e=="boolean"?e:yo(e),t]},useSyncExternalStore:Om,useId:a0,useHostTransitionStatus:uf,useFormState:Gm,useActionState:Gm,useOptimistic:function(e,t){var r=lt();return Pe!==null?Lm(r,Pe,e,t):(r.baseState=e,[e,r.queue.dispatch])},useMemoCache:ef,useCacheRefresh:r0},al=null,wo=0;function is(e){var t=wo;return wo+=1,al===null&&(al=[]),xm(al,e,t)}function So(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function ss(e,t){throw t.$$typeof===y?Error(o(525)):(e=Object.prototype.toString.call(t),Error(o(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function c0(e){var t=e._init;return t(e._payload)}function f0(e){function t(U,N){if(e){var k=U.deletions;k===null?(U.deletions=[N],U.flags|=16):k.push(N)}}function r(U,N){if(!e)return null;for(;N!==null;)t(U,N),N=N.sibling;return null}function i(U){for(var N=new Map;U!==null;)U.key!==null?N.set(U.key,U):N.set(U.index,U),U=U.sibling;return N}function u(U,N){return U=Hn(U,N),U.index=0,U.sibling=null,U}function d(U,N,k){return U.index=k,e?(k=U.alternate,k!==null?(k=k.index,k<N?(U.flags|=67108866,N):k):(U.flags|=67108866,N)):(U.flags|=1048576,N)}function b(U){return e&&U.alternate===null&&(U.flags|=67108866),U}function S(U,N,k,I){return N===null||N.tag!==6?(N=_c(k,U.mode,I),N.return=U,N):(N=u(N,k),N.return=U,N)}function _(U,N,k,I){var ie=k.type;return ie===A?X(U,N,k.props.children,I,k.key):N!==null&&(N.elementType===ie||typeof ie=="object"&&ie!==null&&ie.$$typeof===J&&c0(ie)===N.type)?(N=u(N,k.props),So(N,k),N.return=U,N):(N=Yi(k.type,k.key,k.props,null,U.mode,I),So(N,k),N.return=U,N)}function P(U,N,k,I){return N===null||N.tag!==4||N.stateNode.containerInfo!==k.containerInfo||N.stateNode.implementation!==k.implementation?(N=Nc(k,U.mode,I),N.return=U,N):(N=u(N,k.children||[]),N.return=U,N)}function X(U,N,k,I,ie){return N===null||N.tag!==7?(N=Ja(k,U.mode,I,ie),N.return=U,N):(N=u(N,k),N.return=U,N)}function $(U,N,k){if(typeof N=="string"&&N!==""||typeof N=="number"||typeof N=="bigint")return N=_c(""+N,U.mode,k),N.return=U,N;if(typeof N=="object"&&N!==null){switch(N.$$typeof){case w:return k=Yi(N.type,N.key,N.props,null,U.mode,k),So(k,N),k.return=U,k;case T:return N=Nc(N,U.mode,k),N.return=U,N;case J:var I=N._init;return N=I(N._payload),$(U,N,k)}if(re(N)||he(N))return N=Ja(N,U.mode,k,null),N.return=U,N;if(typeof N.then=="function")return $(U,is(N),k);if(N.$$typeof===D)return $(U,Xi(U,N),k);ss(U,N)}return null}function q(U,N,k,I){var ie=N!==null?N.key:null;if(typeof k=="string"&&k!==""||typeof k=="number"||typeof k=="bigint")return ie!==null?null:S(U,N,""+k,I);if(typeof k=="object"&&k!==null){switch(k.$$typeof){case w:return k.key===ie?_(U,N,k,I):null;case T:return k.key===ie?P(U,N,k,I):null;case J:return ie=k._init,k=ie(k._payload),q(U,N,k,I)}if(re(k)||he(k))return ie!==null?null:X(U,N,k,I,null);if(typeof k.then=="function")return q(U,N,is(k),I);if(k.$$typeof===D)return q(U,N,Xi(U,k),I);ss(U,k)}return null}function V(U,N,k,I,ie){if(typeof I=="string"&&I!==""||typeof I=="number"||typeof I=="bigint")return U=U.get(k)||null,S(N,U,""+I,ie);if(typeof I=="object"&&I!==null){switch(I.$$typeof){case w:return U=U.get(I.key===null?k:I.key)||null,_(N,U,I,ie);case T:return U=U.get(I.key===null?k:I.key)||null,P(N,U,I,ie);case J:var Oe=I._init;return I=Oe(I._payload),V(U,N,k,I,ie)}if(re(I)||he(I))return U=U.get(k)||null,X(N,U,I,ie,null);if(typeof I.then=="function")return V(U,N,k,is(I),ie);if(I.$$typeof===D)return V(U,N,k,Xi(N,I),ie);ss(N,I)}return null}function be(U,N,k,I){for(var ie=null,Oe=null,fe=N,ye=N=0,mt=null;fe!==null&&ye<k.length;ye++){fe.index>ye?(mt=fe,fe=null):mt=fe.sibling;var Ue=q(U,fe,k[ye],I);if(Ue===null){fe===null&&(fe=mt);break}e&&fe&&Ue.alternate===null&&t(U,fe),N=d(Ue,N,ye),Oe===null?ie=Ue:Oe.sibling=Ue,Oe=Ue,fe=mt}if(ye===k.length)return r(U,fe),Be&&er(U,ye),ie;if(fe===null){for(;ye<k.length;ye++)fe=$(U,k[ye],I),fe!==null&&(N=d(fe,N,ye),Oe===null?ie=fe:Oe.sibling=fe,Oe=fe);return Be&&er(U,ye),ie}for(fe=i(fe);ye<k.length;ye++)mt=V(fe,U,ye,k[ye],I),mt!==null&&(e&&mt.alternate!==null&&fe.delete(mt.key===null?ye:mt.key),N=d(mt,N,ye),Oe===null?ie=mt:Oe.sibling=mt,Oe=mt);return e&&fe.forEach(function(_a){return t(U,_a)}),Be&&er(U,ye),ie}function ge(U,N,k,I){if(k==null)throw Error(o(151));for(var ie=null,Oe=null,fe=N,ye=N=0,mt=null,Ue=k.next();fe!==null&&!Ue.done;ye++,Ue=k.next()){fe.index>ye?(mt=fe,fe=null):mt=fe.sibling;var _a=q(U,fe,Ue.value,I);if(_a===null){fe===null&&(fe=mt);break}e&&fe&&_a.alternate===null&&t(U,fe),N=d(_a,N,ye),Oe===null?ie=_a:Oe.sibling=_a,Oe=_a,fe=mt}if(Ue.done)return r(U,fe),Be&&er(U,ye),ie;if(fe===null){for(;!Ue.done;ye++,Ue=k.next())Ue=$(U,Ue.value,I),Ue!==null&&(N=d(Ue,N,ye),Oe===null?ie=Ue:Oe.sibling=Ue,Oe=Ue);return Be&&er(U,ye),ie}for(fe=i(fe);!Ue.done;ye++,Ue=k.next())Ue=V(fe,U,ye,Ue.value,I),Ue!==null&&(e&&Ue.alternate!==null&&fe.delete(Ue.key===null?ye:Ue.key),N=d(Ue,N,ye),Oe===null?ie=Ue:Oe.sibling=Ue,Oe=Ue);return e&&fe.forEach(function(Kx){return t(U,Kx)}),Be&&er(U,ye),ie}function Ve(U,N,k,I){if(typeof k=="object"&&k!==null&&k.type===A&&k.key===null&&(k=k.props.children),typeof k=="object"&&k!==null){switch(k.$$typeof){case w:e:{for(var ie=k.key;N!==null;){if(N.key===ie){if(ie=k.type,ie===A){if(N.tag===7){r(U,N.sibling),I=u(N,k.props.children),I.return=U,U=I;break e}}else if(N.elementType===ie||typeof ie=="object"&&ie!==null&&ie.$$typeof===J&&c0(ie)===N.type){r(U,N.sibling),I=u(N,k.props),So(I,k),I.return=U,U=I;break e}r(U,N);break}else t(U,N);N=N.sibling}k.type===A?(I=Ja(k.props.children,U.mode,I,k.key),I.return=U,U=I):(I=Yi(k.type,k.key,k.props,null,U.mode,I),So(I,k),I.return=U,U=I)}return b(U);case T:e:{for(ie=k.key;N!==null;){if(N.key===ie)if(N.tag===4&&N.stateNode.containerInfo===k.containerInfo&&N.stateNode.implementation===k.implementation){r(U,N.sibling),I=u(N,k.children||[]),I.return=U,U=I;break e}else{r(U,N);break}else t(U,N);N=N.sibling}I=Nc(k,U.mode,I),I.return=U,U=I}return b(U);case J:return ie=k._init,k=ie(k._payload),Ve(U,N,k,I)}if(re(k))return be(U,N,k,I);if(he(k)){if(ie=he(k),typeof ie!="function")throw Error(o(150));return k=ie.call(k),ge(U,N,k,I)}if(typeof k.then=="function")return Ve(U,N,is(k),I);if(k.$$typeof===D)return Ve(U,N,Xi(U,k),I);ss(U,k)}return typeof k=="string"&&k!==""||typeof k=="number"||typeof k=="bigint"?(k=""+k,N!==null&&N.tag===6?(r(U,N.sibling),I=u(N,k),I.return=U,U=I):(r(U,N),I=_c(k,U.mode,I),I.return=U,U=I),b(U)):r(U,N)}return function(U,N,k,I){try{wo=0;var ie=Ve(U,N,k,I);return al=null,ie}catch(fe){if(fe===fo||fe===Ii)throw fe;var Oe=Gt(29,fe,null,U.mode);return Oe.lanes=I,Oe.return=U,Oe}finally{}}}var rl=f0(!0),d0=f0(!1),rn=K(null),En=null;function pa(e){var t=e.alternate;ee(ut,ut.current&1),ee(rn,e),En===null&&(t===null||Wr.current!==null||t.memoizedState!==null)&&(En=e)}function h0(e){if(e.tag===22){if(ee(ut,ut.current),ee(rn,e),En===null){var t=e.alternate;t!==null&&t.memoizedState!==null&&(En=e)}}else va()}function va(){ee(ut,ut.current),ee(rn,rn.current)}function Yn(e){ne(rn),En===e&&(En=null),ne(ut)}var ut=K(0);function us(e){for(var t=e;t!==null;){if(t.tag===13){var r=t.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||ed(r)))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function ff(e,t,r,i){t=e.memoizedState,r=r(i,t),r=r==null?t:g({},t,r),e.memoizedState=r,e.lanes===0&&(e.updateQueue.baseState=r)}var df={enqueueSetState:function(e,t,r){e=e._reactInternals;var i=Qt(),u=da(i);u.payload=t,r!=null&&(u.callback=r),t=ha(e,u,i),t!==null&&(Xt(t,e,i),mo(t,e,i))},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var i=Qt(),u=da(i);u.tag=1,u.payload=t,r!=null&&(u.callback=r),t=ha(e,u,i),t!==null&&(Xt(t,e,i),mo(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=Qt(),i=da(r);i.tag=2,t!=null&&(i.callback=t),t=ha(e,i,r),t!==null&&(Xt(t,e,r),mo(t,e,r))}};function m0(e,t,r,i,u,d,b){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(i,d,b):t.prototype&&t.prototype.isPureReactComponent?!ao(r,i)||!ao(u,d):!0}function p0(e,t,r,i){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(r,i),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(r,i),t.state!==e&&df.enqueueReplaceState(t,t.state,null)}function ir(e,t){var r=t;if("ref"in t){r={};for(var i in t)i!=="ref"&&(r[i]=t[i])}if(e=e.defaultProps){r===t&&(r=g({},r));for(var u in e)r[u]===void 0&&(r[u]=e[u])}return r}var cs=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)};function v0(e){cs(e)}function g0(e){console.error(e)}function y0(e){cs(e)}function fs(e,t){try{var r=e.onUncaughtError;r(t.value,{componentStack:t.stack})}catch(i){setTimeout(function(){throw i})}}function b0(e,t,r){try{var i=e.onCaughtError;i(r.value,{componentStack:r.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(u){setTimeout(function(){throw u})}}function hf(e,t,r){return r=da(r),r.tag=3,r.payload={element:null},r.callback=function(){fs(e,t)},r}function x0(e){return e=da(e),e.tag=3,e}function w0(e,t,r,i){var u=r.type.getDerivedStateFromError;if(typeof u=="function"){var d=i.value;e.payload=function(){return u(d)},e.callback=function(){b0(t,r,i)}}var b=r.stateNode;b!==null&&typeof b.componentDidCatch=="function"&&(e.callback=function(){b0(t,r,i),typeof u!="function"&&(Sa===null?Sa=new Set([this]):Sa.add(this));var S=i.stack;this.componentDidCatch(i.value,{componentStack:S!==null?S:""})})}function K4(e,t,r,i,u){if(r.flags|=32768,i!==null&&typeof i=="object"&&typeof i.then=="function"){if(t=r.alternate,t!==null&&so(t,r,u,!0),r=rn.current,r!==null){switch(r.tag){case 13:return En===null?Bf():r.alternate===null&&Ie===0&&(Ie=3),r.flags&=-257,r.flags|=65536,r.lanes=u,i===qc?r.flags|=16384:(t=r.updateQueue,t===null?r.updateQueue=new Set([i]):t.add(i),kf(e,i,u)),!1;case 22:return r.flags|=65536,i===qc?r.flags|=16384:(t=r.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([i])},r.updateQueue=t):(r=t.retryQueue,r===null?t.retryQueue=new Set([i]):r.add(i)),kf(e,i,u)),!1}throw Error(o(435,r.tag))}return kf(e,i,u),Bf(),!1}if(Be)return t=rn.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=u,i!==Lc&&(e=Error(o(422),{cause:i}),io(en(e,r)))):(i!==Lc&&(t=Error(o(423),{cause:i}),io(en(t,r))),e=e.current.alternate,e.flags|=65536,u&=-u,e.lanes|=u,i=en(i,r),u=hf(e.stateNode,i,u),Yc(e,u),Ie!==4&&(Ie=2)),!1;var d=Error(o(520),{cause:i});if(d=en(d,r),Mo===null?Mo=[d]:Mo.push(d),Ie!==4&&(Ie=2),t===null)return!0;i=en(i,r),r=t;do{switch(r.tag){case 3:return r.flags|=65536,e=u&-u,r.lanes|=e,e=hf(r.stateNode,i,e),Yc(r,e),!1;case 1:if(t=r.type,d=r.stateNode,(r.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||d!==null&&typeof d.componentDidCatch=="function"&&(Sa===null||!Sa.has(d))))return r.flags|=65536,u&=-u,r.lanes|=u,u=x0(u),w0(u,e,r,i),Yc(r,u),!1}r=r.return}while(r!==null);return!1}var S0=Error(o(461)),dt=!1;function pt(e,t,r,i){t.child=e===null?d0(t,null,r,i):rl(t,e.child,r,i)}function E0(e,t,r,i,u){r=r.render;var d=t.ref;if("ref"in i){var b={};for(var S in i)S!=="ref"&&(b[S]=i[S])}else b=i;return rr(t),i=Zc(e,t,r,b,d,u),S=Ic(),e!==null&&!dt?($c(e,t,u),Fn(e,t,u)):(Be&&S&&Dc(t),t.flags|=1,pt(e,t,i,u),t.child)}function C0(e,t,r,i,u){if(e===null){var d=r.type;return typeof d=="function"&&!Mc(d)&&d.defaultProps===void 0&&r.compare===null?(t.tag=15,t.type=d,R0(e,t,d,i,u)):(e=Yi(r.type,null,i,t,t.mode,u),e.ref=t.ref,e.return=t,t.child=e)}if(d=e.child,!wf(e,u)){var b=d.memoizedProps;if(r=r.compare,r=r!==null?r:ao,r(b,i)&&e.ref===t.ref)return Fn(e,t,u)}return t.flags|=1,e=Hn(d,i),e.ref=t.ref,e.return=t,t.child=e}function R0(e,t,r,i,u){if(e!==null){var d=e.memoizedProps;if(ao(d,i)&&e.ref===t.ref)if(dt=!1,t.pendingProps=i=d,wf(e,u))(e.flags&131072)!==0&&(dt=!0);else return t.lanes=e.lanes,Fn(e,t,u)}return mf(e,t,r,i,u)}function T0(e,t,r){var i=t.pendingProps,u=i.children,d=e!==null?e.memoizedState:null;if(i.mode==="hidden"){if((t.flags&128)!==0){if(i=d!==null?d.baseLanes|r:r,e!==null){for(u=t.child=e.child,d=0;u!==null;)d=d|u.lanes|u.childLanes,u=u.sibling;t.childLanes=d&~i}else t.childLanes=0,t.child=null;return A0(e,t,i,r)}if((r&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Zi(t,d!==null?d.cachePool:null),d!==null?Rm(t,d):Kc(),h0(t);else return t.lanes=t.childLanes=536870912,A0(e,t,d!==null?d.baseLanes|r:r,r)}else d!==null?(Zi(t,d.cachePool),Rm(t,d),va(),t.memoizedState=null):(e!==null&&Zi(t,null),Kc(),va());return pt(e,t,u,r),t.child}function A0(e,t,r,i){var u=Pc();return u=u===null?null:{parent:st._currentValue,pool:u},t.memoizedState={baseLanes:r,cachePool:u},e!==null&&Zi(t,null),Kc(),h0(t),e!==null&&so(e,t,i,!0),null}function ds(e,t){var r=t.ref;if(r===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof r!="function"&&typeof r!="object")throw Error(o(284));(e===null||e.ref!==r)&&(t.flags|=4194816)}}function mf(e,t,r,i,u){return rr(t),r=Zc(e,t,r,i,void 0,u),i=Ic(),e!==null&&!dt?($c(e,t,u),Fn(e,t,u)):(Be&&i&&Dc(t),t.flags|=1,pt(e,t,r,u),t.child)}function O0(e,t,r,i,u,d){return rr(t),t.updateQueue=null,r=Am(t,i,r,u),Tm(e),i=Ic(),e!==null&&!dt?($c(e,t,d),Fn(e,t,d)):(Be&&i&&Dc(t),t.flags|=1,pt(e,t,r,d),t.child)}function M0(e,t,r,i,u){if(rr(t),t.stateNode===null){var d=Xr,b=r.contextType;typeof b=="object"&&b!==null&&(d=xt(b)),d=new r(i,d),t.memoizedState=d.state!==null&&d.state!==void 0?d.state:null,d.updater=df,t.stateNode=d,d._reactInternals=t,d=t.stateNode,d.props=i,d.state=t.memoizedState,d.refs={},Vc(t),b=r.contextType,d.context=typeof b=="object"&&b!==null?xt(b):Xr,d.state=t.memoizedState,b=r.getDerivedStateFromProps,typeof b=="function"&&(ff(t,r,b,i),d.state=t.memoizedState),typeof r.getDerivedStateFromProps=="function"||typeof d.getSnapshotBeforeUpdate=="function"||typeof d.UNSAFE_componentWillMount!="function"&&typeof d.componentWillMount!="function"||(b=d.state,typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount(),b!==d.state&&df.enqueueReplaceState(d,d.state,null),vo(t,i,d,u),po(),d.state=t.memoizedState),typeof d.componentDidMount=="function"&&(t.flags|=4194308),i=!0}else if(e===null){d=t.stateNode;var S=t.memoizedProps,_=ir(r,S);d.props=_;var P=d.context,X=r.contextType;b=Xr,typeof X=="object"&&X!==null&&(b=xt(X));var $=r.getDerivedStateFromProps;X=typeof $=="function"||typeof d.getSnapshotBeforeUpdate=="function",S=t.pendingProps!==S,X||typeof d.UNSAFE_componentWillReceiveProps!="function"&&typeof d.componentWillReceiveProps!="function"||(S||P!==b)&&p0(t,d,i,b),fa=!1;var q=t.memoizedState;d.state=q,vo(t,i,d,u),po(),P=t.memoizedState,S||q!==P||fa?(typeof $=="function"&&(ff(t,r,$,i),P=t.memoizedState),(_=fa||m0(t,r,_,i,q,P,b))?(X||typeof d.UNSAFE_componentWillMount!="function"&&typeof d.componentWillMount!="function"||(typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount()),typeof d.componentDidMount=="function"&&(t.flags|=4194308)):(typeof d.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=i,t.memoizedState=P),d.props=i,d.state=P,d.context=b,i=_):(typeof d.componentDidMount=="function"&&(t.flags|=4194308),i=!1)}else{d=t.stateNode,Gc(e,t),b=t.memoizedProps,X=ir(r,b),d.props=X,$=t.pendingProps,q=d.context,P=r.contextType,_=Xr,typeof P=="object"&&P!==null&&(_=xt(P)),S=r.getDerivedStateFromProps,(P=typeof S=="function"||typeof d.getSnapshotBeforeUpdate=="function")||typeof d.UNSAFE_componentWillReceiveProps!="function"&&typeof d.componentWillReceiveProps!="function"||(b!==$||q!==_)&&p0(t,d,i,_),fa=!1,q=t.memoizedState,d.state=q,vo(t,i,d,u),po();var V=t.memoizedState;b!==$||q!==V||fa||e!==null&&e.dependencies!==null&&Qi(e.dependencies)?(typeof S=="function"&&(ff(t,r,S,i),V=t.memoizedState),(X=fa||m0(t,r,X,i,q,V,_)||e!==null&&e.dependencies!==null&&Qi(e.dependencies))?(P||typeof d.UNSAFE_componentWillUpdate!="function"&&typeof d.componentWillUpdate!="function"||(typeof d.componentWillUpdate=="function"&&d.componentWillUpdate(i,V,_),typeof d.UNSAFE_componentWillUpdate=="function"&&d.UNSAFE_componentWillUpdate(i,V,_)),typeof d.componentDidUpdate=="function"&&(t.flags|=4),typeof d.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof d.componentDidUpdate!="function"||b===e.memoizedProps&&q===e.memoizedState||(t.flags|=4),typeof d.getSnapshotBeforeUpdate!="function"||b===e.memoizedProps&&q===e.memoizedState||(t.flags|=1024),t.memoizedProps=i,t.memoizedState=V),d.props=i,d.state=V,d.context=_,i=X):(typeof d.componentDidUpdate!="function"||b===e.memoizedProps&&q===e.memoizedState||(t.flags|=4),typeof d.getSnapshotBeforeUpdate!="function"||b===e.memoizedProps&&q===e.memoizedState||(t.flags|=1024),i=!1)}return d=i,ds(e,t),i=(t.flags&128)!==0,d||i?(d=t.stateNode,r=i&&typeof r.getDerivedStateFromError!="function"?null:d.render(),t.flags|=1,e!==null&&i?(t.child=rl(t,e.child,null,u),t.child=rl(t,null,r,u)):pt(e,t,r,u),t.memoizedState=d.state,e=t.child):e=Fn(e,t,u),e}function _0(e,t,r,i){return oo(),t.flags|=256,pt(e,t,r,i),t.child}var pf={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function vf(e){return{baseLanes:e,cachePool:gm()}}function gf(e,t,r){return e=e!==null?e.childLanes&~r:0,t&&(e|=ln),e}function N0(e,t,r){var i=t.pendingProps,u=!1,d=(t.flags&128)!==0,b;if((b=d)||(b=e!==null&&e.memoizedState===null?!1:(ut.current&2)!==0),b&&(u=!0,t.flags&=-129),b=(t.flags&32)!==0,t.flags&=-33,e===null){if(Be){if(u?pa(t):va(),Be){var S=Ze,_;if(_=S){e:{for(_=S,S=Sn;_.nodeType!==8;){if(!S){S=null;break e}if(_=mn(_.nextSibling),_===null){S=null;break e}}S=_}S!==null?(t.memoizedState={dehydrated:S,treeContext:Wa!==null?{id:kn,overflow:Pn}:null,retryLane:536870912,hydrationErrors:null},_=Gt(18,null,null,0),_.stateNode=S,_.return=t,t.child=_,Rt=t,Ze=null,_=!0):_=!1}_||nr(t)}if(S=t.memoizedState,S!==null&&(S=S.dehydrated,S!==null))return ed(S)?t.lanes=32:t.lanes=536870912,null;Yn(t)}return S=i.children,i=i.fallback,u?(va(),u=t.mode,S=hs({mode:"hidden",children:S},u),i=Ja(i,u,r,null),S.return=t,i.return=t,S.sibling=i,t.child=S,u=t.child,u.memoizedState=vf(r),u.childLanes=gf(e,b,r),t.memoizedState=pf,i):(pa(t),yf(t,S))}if(_=e.memoizedState,_!==null&&(S=_.dehydrated,S!==null)){if(d)t.flags&256?(pa(t),t.flags&=-257,t=bf(e,t,r)):t.memoizedState!==null?(va(),t.child=e.child,t.flags|=128,t=null):(va(),u=i.fallback,S=t.mode,i=hs({mode:"visible",children:i.children},S),u=Ja(u,S,r,null),u.flags|=2,i.return=t,u.return=t,i.sibling=u,t.child=i,rl(t,e.child,null,r),i=t.child,i.memoizedState=vf(r),i.childLanes=gf(e,b,r),t.memoizedState=pf,t=u);else if(pa(t),ed(S)){if(b=S.nextSibling&&S.nextSibling.dataset,b)var P=b.dgst;b=P,i=Error(o(419)),i.stack="",i.digest=b,io({value:i,source:null,stack:null}),t=bf(e,t,r)}else if(dt||so(e,t,r,!1),b=(r&e.childLanes)!==0,dt||b){if(b=Fe,b!==null&&(i=r&-r,i=(i&42)!==0?1:ec(i),i=(i&(b.suspendedLanes|r))!==0?0:i,i!==0&&i!==_.retryLane))throw _.retryLane=i,Qr(e,i),Xt(b,e,i),S0;S.data==="$?"||Bf(),t=bf(e,t,r)}else S.data==="$?"?(t.flags|=192,t.child=e.child,t=null):(e=_.treeContext,Ze=mn(S.nextSibling),Rt=t,Be=!0,tr=null,Sn=!1,e!==null&&(nn[an++]=kn,nn[an++]=Pn,nn[an++]=Wa,kn=e.id,Pn=e.overflow,Wa=t),t=yf(t,i.children),t.flags|=4096);return t}return u?(va(),u=i.fallback,S=t.mode,_=e.child,P=_.sibling,i=Hn(_,{mode:"hidden",children:i.children}),i.subtreeFlags=_.subtreeFlags&65011712,P!==null?u=Hn(P,u):(u=Ja(u,S,r,null),u.flags|=2),u.return=t,i.return=t,i.sibling=u,t.child=i,i=u,u=t.child,S=e.child.memoizedState,S===null?S=vf(r):(_=S.cachePool,_!==null?(P=st._currentValue,_=_.parent!==P?{parent:P,pool:P}:_):_=gm(),S={baseLanes:S.baseLanes|r,cachePool:_}),u.memoizedState=S,u.childLanes=gf(e,b,r),t.memoizedState=pf,i):(pa(t),r=e.child,e=r.sibling,r=Hn(r,{mode:"visible",children:i.children}),r.return=t,r.sibling=null,e!==null&&(b=t.deletions,b===null?(t.deletions=[e],t.flags|=16):b.push(e)),t.child=r,t.memoizedState=null,r)}function yf(e,t){return t=hs({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function hs(e,t){return e=Gt(22,e,null,t),e.lanes=0,e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},e}function bf(e,t,r){return rl(t,e.child,null,r),e=yf(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function D0(e,t,r){e.lanes|=t;var i=e.alternate;i!==null&&(i.lanes|=t),Uc(e.return,t,r)}function xf(e,t,r,i,u){var d=e.memoizedState;d===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:i,tail:r,tailMode:u}:(d.isBackwards=t,d.rendering=null,d.renderingStartTime=0,d.last=i,d.tail=r,d.tailMode=u)}function j0(e,t,r){var i=t.pendingProps,u=i.revealOrder,d=i.tail;if(pt(e,t,i.children,r),i=ut.current,(i&2)!==0)i=i&1|2,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&D0(e,r,t);else if(e.tag===19)D0(e,r,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}i&=1}switch(ee(ut,i),u){case"forwards":for(r=t.child,u=null;r!==null;)e=r.alternate,e!==null&&us(e)===null&&(u=r),r=r.sibling;r=u,r===null?(u=t.child,t.child=null):(u=r.sibling,r.sibling=null),xf(t,!1,u,r,d);break;case"backwards":for(r=null,u=t.child,t.child=null;u!==null;){if(e=u.alternate,e!==null&&us(e)===null){t.child=u;break}e=u.sibling,u.sibling=r,r=u,u=e}xf(t,!0,r,null,d);break;case"together":xf(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Fn(e,t,r){if(e!==null&&(t.dependencies=e.dependencies),wa|=t.lanes,(r&t.childLanes)===0)if(e!==null){if(so(e,t,r,!1),(r&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(o(153));if(t.child!==null){for(e=t.child,r=Hn(e,e.pendingProps),t.child=r,r.return=t;e.sibling!==null;)e=e.sibling,r=r.sibling=Hn(e,e.pendingProps),r.return=t;r.sibling=null}return t.child}function wf(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&Qi(e)))}function Q4(e,t,r){switch(t.tag){case 3:_e(t,t.stateNode.containerInfo),ca(t,st,e.memoizedState.cache),oo();break;case 27:case 5:We(t);break;case 4:_e(t,t.stateNode.containerInfo);break;case 10:ca(t,t.type,t.memoizedProps.value);break;case 13:var i=t.memoizedState;if(i!==null)return i.dehydrated!==null?(pa(t),t.flags|=128,null):(r&t.child.childLanes)!==0?N0(e,t,r):(pa(t),e=Fn(e,t,r),e!==null?e.sibling:null);pa(t);break;case 19:var u=(e.flags&128)!==0;if(i=(r&t.childLanes)!==0,i||(so(e,t,r,!1),i=(r&t.childLanes)!==0),u){if(i)return j0(e,t,r);t.flags|=128}if(u=t.memoizedState,u!==null&&(u.rendering=null,u.tail=null,u.lastEffect=null),ee(ut,ut.current),i)break;return null;case 22:case 23:return t.lanes=0,T0(e,t,r);case 24:ca(t,st,e.memoizedState.cache)}return Fn(e,t,r)}function L0(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps)dt=!0;else{if(!wf(e,r)&&(t.flags&128)===0)return dt=!1,Q4(e,t,r);dt=(e.flags&131072)!==0}else dt=!1,Be&&(t.flags&1048576)!==0&&cm(t,Ki,t.index);switch(t.lanes=0,t.tag){case 16:e:{e=t.pendingProps;var i=t.elementType,u=i._init;if(i=u(i._payload),t.type=i,typeof i=="function")Mc(i)?(e=ir(i,e),t.tag=1,t=M0(null,t,i,e,r)):(t.tag=0,t=mf(null,t,i,e,r));else{if(i!=null){if(u=i.$$typeof,u===z){t.tag=11,t=E0(null,t,i,e,r);break e}else if(u===te){t.tag=14,t=C0(null,t,i,e,r);break e}}throw t=Me(i)||i,Error(o(306,t,""))}}return t;case 0:return mf(e,t,t.type,t.pendingProps,r);case 1:return i=t.type,u=ir(i,t.pendingProps),M0(e,t,i,u,r);case 3:e:{if(_e(t,t.stateNode.containerInfo),e===null)throw Error(o(387));i=t.pendingProps;var d=t.memoizedState;u=d.element,Gc(e,t),vo(t,i,null,r);var b=t.memoizedState;if(i=b.cache,ca(t,st,i),i!==d.cache&&Bc(t,[st],r,!0),po(),i=b.element,d.isDehydrated)if(d={element:i,isDehydrated:!1,cache:b.cache},t.updateQueue.baseState=d,t.memoizedState=d,t.flags&256){t=_0(e,t,i,r);break e}else if(i!==u){u=en(Error(o(424)),t),io(u),t=_0(e,t,i,r);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(Ze=mn(e.firstChild),Rt=t,Be=!0,tr=null,Sn=!0,r=d0(t,null,i,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling}else{if(oo(),i===u){t=Fn(e,t,r);break e}pt(e,t,i,r)}t=t.child}return t;case 26:return ds(e,t),e===null?(r=Hp(t.type,null,t.pendingProps,null))?t.memoizedState=r:Be||(r=t.type,e=t.pendingProps,i=As(ve.current).createElement(r),i[bt]=t,i[Mt]=e,gt(i,r,e),ft(i),t.stateNode=i):t.memoizedState=Hp(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return We(t),e===null&&Be&&(i=t.stateNode=zp(t.type,t.pendingProps,ve.current),Rt=t,Sn=!0,u=Ze,Ra(t.type)?(td=u,Ze=mn(i.firstChild)):Ze=u),pt(e,t,t.pendingProps.children,r),ds(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&Be&&((u=i=Ze)&&(i=wx(i,t.type,t.pendingProps,Sn),i!==null?(t.stateNode=i,Rt=t,Ze=mn(i.firstChild),Sn=!1,u=!0):u=!1),u||nr(t)),We(t),u=t.type,d=t.pendingProps,b=e!==null?e.memoizedProps:null,i=d.children,$f(u,d)?i=null:b!==null&&$f(u,b)&&(t.flags|=32),t.memoizedState!==null&&(u=Zc(e,t,k4,null,null,r),Ho._currentValue=u),ds(e,t),pt(e,t,i,r),t.child;case 6:return e===null&&Be&&((e=r=Ze)&&(r=Sx(r,t.pendingProps,Sn),r!==null?(t.stateNode=r,Rt=t,Ze=null,e=!0):e=!1),e||nr(t)),null;case 13:return N0(e,t,r);case 4:return _e(t,t.stateNode.containerInfo),i=t.pendingProps,e===null?t.child=rl(t,null,i,r):pt(e,t,i,r),t.child;case 11:return E0(e,t,t.type,t.pendingProps,r);case 7:return pt(e,t,t.pendingProps,r),t.child;case 8:return pt(e,t,t.pendingProps.children,r),t.child;case 12:return pt(e,t,t.pendingProps.children,r),t.child;case 10:return i=t.pendingProps,ca(t,t.type,i.value),pt(e,t,i.children,r),t.child;case 9:return u=t.type._context,i=t.pendingProps.children,rr(t),u=xt(u),i=i(u),t.flags|=1,pt(e,t,i,r),t.child;case 14:return C0(e,t,t.type,t.pendingProps,r);case 15:return R0(e,t,t.type,t.pendingProps,r);case 19:return j0(e,t,r);case 31:return i=t.pendingProps,r=t.mode,i={mode:i.mode,children:i.children},e===null?(r=hs(i,r),r.ref=t.ref,t.child=r,r.return=t,t=r):(r=Hn(e.child,i),r.ref=t.ref,t.child=r,r.return=t,t=r),t;case 22:return T0(e,t,r);case 24:return rr(t),i=xt(st),e===null?(u=Pc(),u===null&&(u=Fe,d=Hc(),u.pooledCache=d,d.refCount++,d!==null&&(u.pooledCacheLanes|=r),u=d),t.memoizedState={parent:i,cache:u},Vc(t),ca(t,st,u)):((e.lanes&r)!==0&&(Gc(e,t),vo(t,null,null,r),po()),u=e.memoizedState,d=t.memoizedState,u.parent!==i?(u={parent:i,cache:i},t.memoizedState=u,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=u),ca(t,st,i)):(i=d.cache,ca(t,st,i),i!==u.cache&&Bc(t,[st],r,!0))),pt(e,t,t.pendingProps.children,r),t.child;case 29:throw t.pendingProps}throw Error(o(156,t.tag))}function Kn(e){e.flags|=4}function z0(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!Gp(t)){if(t=rn.current,t!==null&&((ze&4194048)===ze?En!==null:(ze&62914560)!==ze&&(ze&536870912)===0||t!==En))throw ho=qc,ym;e.flags|=8192}}function ms(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?h1():536870912,e.lanes|=t,sl|=t)}function Eo(e,t){if(!Be)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;t!==null;)t.alternate!==null&&(r=t),t=t.sibling;r===null?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var i=null;r!==null;)r.alternate!==null&&(i=r),r=r.sibling;i===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:i.sibling=null}}function Xe(e){var t=e.alternate!==null&&e.alternate.child===e.child,r=0,i=0;if(t)for(var u=e.child;u!==null;)r|=u.lanes|u.childLanes,i|=u.subtreeFlags&65011712,i|=u.flags&65011712,u.return=e,u=u.sibling;else for(u=e.child;u!==null;)r|=u.lanes|u.childLanes,i|=u.subtreeFlags,i|=u.flags,u.return=e,u=u.sibling;return e.subtreeFlags|=i,e.childLanes=r,t}function X4(e,t,r){var i=t.pendingProps;switch(jc(t),t.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Xe(t),null;case 1:return Xe(t),null;case 3:return r=t.stateNode,i=null,e!==null&&(i=e.memoizedState.cache),t.memoizedState.cache!==i&&(t.flags|=2048),Vn(st),it(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(lo(t)?Kn(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,hm())),Xe(t),null;case 26:return r=t.memoizedState,e===null?(Kn(t),r!==null?(Xe(t),z0(t,r)):(Xe(t),t.flags&=-16777217)):r?r!==e.memoizedState?(Kn(t),Xe(t),z0(t,r)):(Xe(t),t.flags&=-16777217):(e.memoizedProps!==i&&Kn(t),Xe(t),t.flags&=-16777217),null;case 27:Ot(t),r=ve.current;var u=t.type;if(e!==null&&t.stateNode!=null)e.memoizedProps!==i&&Kn(t);else{if(!i){if(t.stateNode===null)throw Error(o(166));return Xe(t),null}e=le.current,lo(t)?fm(t):(e=zp(u,i,r),t.stateNode=e,Kn(t))}return Xe(t),null;case 5:if(Ot(t),r=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==i&&Kn(t);else{if(!i){if(t.stateNode===null)throw Error(o(166));return Xe(t),null}if(e=le.current,lo(t))fm(t);else{switch(u=As(ve.current),e){case 1:e=u.createElementNS("http://www.w3.org/2000/svg",r);break;case 2:e=u.createElementNS("http://www.w3.org/1998/Math/MathML",r);break;default:switch(r){case"svg":e=u.createElementNS("http://www.w3.org/2000/svg",r);break;case"math":e=u.createElementNS("http://www.w3.org/1998/Math/MathML",r);break;case"script":e=u.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild);break;case"select":e=typeof i.is=="string"?u.createElement("select",{is:i.is}):u.createElement("select"),i.multiple?e.multiple=!0:i.size&&(e.size=i.size);break;default:e=typeof i.is=="string"?u.createElement(r,{is:i.is}):u.createElement(r)}}e[bt]=t,e[Mt]=i;e:for(u=t.child;u!==null;){if(u.tag===5||u.tag===6)e.appendChild(u.stateNode);else if(u.tag!==4&&u.tag!==27&&u.child!==null){u.child.return=u,u=u.child;continue}if(u===t)break e;for(;u.sibling===null;){if(u.return===null||u.return===t)break e;u=u.return}u.sibling.return=u.return,u=u.sibling}t.stateNode=e;e:switch(gt(e,r,i),r){case"button":case"input":case"select":case"textarea":e=!!i.autoFocus;break e;case"img":e=!0;break e;default:e=!1}e&&Kn(t)}}return Xe(t),t.flags&=-16777217,null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==i&&Kn(t);else{if(typeof i!="string"&&t.stateNode===null)throw Error(o(166));if(e=ve.current,lo(t)){if(e=t.stateNode,r=t.memoizedProps,i=null,u=Rt,u!==null)switch(u.tag){case 27:case 5:i=u.memoizedProps}e[bt]=t,e=!!(e.nodeValue===r||i!==null&&i.suppressHydrationWarning===!0||Op(e.nodeValue,r)),e||nr(t)}else e=As(e).createTextNode(i),e[bt]=t,t.stateNode=e}return Xe(t),null;case 13:if(i=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(u=lo(t),i!==null&&i.dehydrated!==null){if(e===null){if(!u)throw Error(o(318));if(u=t.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(o(317));u[bt]=t}else oo(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Xe(t),u=!1}else u=hm(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=u),u=!0;if(!u)return t.flags&256?(Yn(t),t):(Yn(t),null)}if(Yn(t),(t.flags&128)!==0)return t.lanes=r,t;if(r=i!==null,e=e!==null&&e.memoizedState!==null,r){i=t.child,u=null,i.alternate!==null&&i.alternate.memoizedState!==null&&i.alternate.memoizedState.cachePool!==null&&(u=i.alternate.memoizedState.cachePool.pool);var d=null;i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(d=i.memoizedState.cachePool.pool),d!==u&&(i.flags|=2048)}return r!==e&&r&&(t.child.flags|=8192),ms(t,t.updateQueue),Xe(t),null;case 4:return it(),e===null&&Kf(t.stateNode.containerInfo),Xe(t),null;case 10:return Vn(t.type),Xe(t),null;case 19:if(ne(ut),u=t.memoizedState,u===null)return Xe(t),null;if(i=(t.flags&128)!==0,d=u.rendering,d===null)if(i)Eo(u,!1);else{if(Ie!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(d=us(e),d!==null){for(t.flags|=128,Eo(u,!1),e=d.updateQueue,t.updateQueue=e,ms(t,e),t.subtreeFlags=0,e=r,r=t.child;r!==null;)um(r,e),r=r.sibling;return ee(ut,ut.current&1|2),t.child}e=e.sibling}u.tail!==null&&kt()>gs&&(t.flags|=128,i=!0,Eo(u,!1),t.lanes=4194304)}else{if(!i)if(e=us(d),e!==null){if(t.flags|=128,i=!0,e=e.updateQueue,t.updateQueue=e,ms(t,e),Eo(u,!0),u.tail===null&&u.tailMode==="hidden"&&!d.alternate&&!Be)return Xe(t),null}else 2*kt()-u.renderingStartTime>gs&&r!==536870912&&(t.flags|=128,i=!0,Eo(u,!1),t.lanes=4194304);u.isBackwards?(d.sibling=t.child,t.child=d):(e=u.last,e!==null?e.sibling=d:t.child=d,u.last=d)}return u.tail!==null?(t=u.tail,u.rendering=t,u.tail=t.sibling,u.renderingStartTime=kt(),t.sibling=null,e=ut.current,ee(ut,i?e&1|2:e&1),t):(Xe(t),null);case 22:case 23:return Yn(t),Qc(),i=t.memoizedState!==null,e!==null?e.memoizedState!==null!==i&&(t.flags|=8192):i&&(t.flags|=8192),i?(r&536870912)!==0&&(t.flags&128)===0&&(Xe(t),t.subtreeFlags&6&&(t.flags|=8192)):Xe(t),r=t.updateQueue,r!==null&&ms(t,r.retryQueue),r=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(r=e.memoizedState.cachePool.pool),i=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(i=t.memoizedState.cachePool.pool),i!==r&&(t.flags|=2048),e!==null&&ne(lr),null;case 24:return r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),Vn(st),Xe(t),null;case 25:return null;case 30:return null}throw Error(o(156,t.tag))}function Z4(e,t){switch(jc(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Vn(st),it(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Ot(t),null;case 13:if(Yn(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(o(340));oo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ne(ut),null;case 4:return it(),null;case 10:return Vn(t.type),null;case 22:case 23:return Yn(t),Qc(),e!==null&&ne(lr),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Vn(st),null;case 25:return null;default:return null}}function U0(e,t){switch(jc(t),t.tag){case 3:Vn(st),it();break;case 26:case 27:case 5:Ot(t);break;case 4:it();break;case 13:Yn(t);break;case 19:ne(ut);break;case 10:Vn(t.type);break;case 22:case 23:Yn(t),Qc(),e!==null&&ne(lr);break;case 24:Vn(st)}}function Co(e,t){try{var r=t.updateQueue,i=r!==null?r.lastEffect:null;if(i!==null){var u=i.next;r=u;do{if((r.tag&e)===e){i=void 0;var d=r.create,b=r.inst;i=d(),b.destroy=i}r=r.next}while(r!==u)}}catch(S){Ge(t,t.return,S)}}function ga(e,t,r){try{var i=t.updateQueue,u=i!==null?i.lastEffect:null;if(u!==null){var d=u.next;i=d;do{if((i.tag&e)===e){var b=i.inst,S=b.destroy;if(S!==void 0){b.destroy=void 0,u=t;var _=r,P=S;try{P()}catch(X){Ge(u,_,X)}}}i=i.next}while(i!==d)}}catch(X){Ge(t,t.return,X)}}function B0(e){var t=e.updateQueue;if(t!==null){var r=e.stateNode;try{Cm(t,r)}catch(i){Ge(e,e.return,i)}}}function H0(e,t,r){r.props=ir(e.type,e.memoizedProps),r.state=e.memoizedState;try{r.componentWillUnmount()}catch(i){Ge(e,t,i)}}function Ro(e,t){try{var r=e.ref;if(r!==null){switch(e.tag){case 26:case 27:case 5:var i=e.stateNode;break;case 30:i=e.stateNode;break;default:i=e.stateNode}typeof r=="function"?e.refCleanup=r(i):r.current=i}}catch(u){Ge(e,t,u)}}function Cn(e,t){var r=e.ref,i=e.refCleanup;if(r!==null)if(typeof i=="function")try{i()}catch(u){Ge(e,t,u)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof r=="function")try{r(null)}catch(u){Ge(e,t,u)}else r.current=null}function k0(e){var t=e.type,r=e.memoizedProps,i=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":r.autoFocus&&i.focus();break e;case"img":r.src?i.src=r.src:r.srcSet&&(i.srcset=r.srcSet)}}catch(u){Ge(e,e.return,u)}}function Sf(e,t,r){try{var i=e.stateNode;vx(i,e.type,r,t),i[Mt]=t}catch(u){Ge(e,e.return,u)}}function P0(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Ra(e.type)||e.tag===4}function Ef(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||P0(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Ra(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Cf(e,t,r){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?(r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r).insertBefore(e,t):(t=r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r,t.appendChild(e),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=Ts));else if(i!==4&&(i===27&&Ra(e.type)&&(r=e.stateNode,t=null),e=e.child,e!==null))for(Cf(e,t,r),e=e.sibling;e!==null;)Cf(e,t,r),e=e.sibling}function ps(e,t,r){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(i!==4&&(i===27&&Ra(e.type)&&(r=e.stateNode),e=e.child,e!==null))for(ps(e,t,r),e=e.sibling;e!==null;)ps(e,t,r),e=e.sibling}function q0(e){var t=e.stateNode,r=e.memoizedProps;try{for(var i=e.type,u=t.attributes;u.length;)t.removeAttributeNode(u[0]);gt(t,i,r),t[bt]=e,t[Mt]=r}catch(d){Ge(e,e.return,d)}}var Qn=!1,tt=!1,Rf=!1,V0=typeof WeakSet=="function"?WeakSet:Set,ht=null;function I4(e,t){if(e=e.containerInfo,Zf=js,e=W1(e),Sc(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var i=r.getSelection&&r.getSelection();if(i&&i.rangeCount!==0){r=i.anchorNode;var u=i.anchorOffset,d=i.focusNode;i=i.focusOffset;try{r.nodeType,d.nodeType}catch(ge){r=null;break e}var b=0,S=-1,_=-1,P=0,X=0,$=e,q=null;t:for(;;){for(var V;$!==r||u!==0&&$.nodeType!==3||(S=b+u),$!==d||i!==0&&$.nodeType!==3||(_=b+i),$.nodeType===3&&(b+=$.nodeValue.length),(V=$.firstChild)!==null;)q=$,$=V;for(;;){if($===e)break t;if(q===r&&++P===u&&(S=b),q===d&&++X===i&&(_=b),(V=$.nextSibling)!==null)break;$=q,q=$.parentNode}$=V}r=S===-1||_===-1?null:{start:S,end:_}}else r=null}r=r||{start:0,end:0}}else r=null;for(If={focusedElem:e,selectionRange:r},js=!1,ht=t;ht!==null;)if(t=ht,e=t.child,(t.subtreeFlags&1024)!==0&&e!==null)e.return=t,ht=e;else for(;ht!==null;){switch(t=ht,d=t.alternate,e=t.flags,t.tag){case 0:break;case 11:case 15:break;case 1:if((e&1024)!==0&&d!==null){e=void 0,r=t,u=d.memoizedProps,d=d.memoizedState,i=r.stateNode;try{var be=ir(r.type,u,r.elementType===r.type);e=i.getSnapshotBeforeUpdate(be,d),i.__reactInternalSnapshotBeforeUpdate=e}catch(ge){Ge(r,r.return,ge)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,r=e.nodeType,r===9)Wf(e);else if(r===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Wf(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(o(163))}if(e=t.sibling,e!==null){e.return=t.return,ht=e;break}ht=t.return}}function G0(e,t,r){var i=r.flags;switch(r.tag){case 0:case 11:case 15:ya(e,r),i&4&&Co(5,r);break;case 1:if(ya(e,r),i&4)if(e=r.stateNode,t===null)try{e.componentDidMount()}catch(b){Ge(r,r.return,b)}else{var u=ir(r.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(u,t,e.__reactInternalSnapshotBeforeUpdate)}catch(b){Ge(r,r.return,b)}}i&64&&B0(r),i&512&&Ro(r,r.return);break;case 3:if(ya(e,r),i&64&&(e=r.updateQueue,e!==null)){if(t=null,r.child!==null)switch(r.child.tag){case 27:case 5:t=r.child.stateNode;break;case 1:t=r.child.stateNode}try{Cm(e,t)}catch(b){Ge(r,r.return,b)}}break;case 27:t===null&&i&4&&q0(r);case 26:case 5:ya(e,r),t===null&&i&4&&k0(r),i&512&&Ro(r,r.return);break;case 12:ya(e,r);break;case 13:ya(e,r),i&4&&K0(e,r),i&64&&(e=r.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(r=lx.bind(null,r),Ex(e,r))));break;case 22:if(i=r.memoizedState!==null||Qn,!i){t=t!==null&&t.memoizedState!==null||tt,u=Qn;var d=tt;Qn=i,(tt=t)&&!d?ba(e,r,(r.subtreeFlags&8772)!==0):ya(e,r),Qn=u,tt=d}break;case 30:break;default:ya(e,r)}}function Y0(e){var t=e.alternate;t!==null&&(e.alternate=null,Y0(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&ac(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Qe=null,Dt=!1;function Xn(e,t,r){for(r=r.child;r!==null;)F0(e,t,r),r=r.sibling}function F0(e,t,r){if(Pt&&typeof Pt.onCommitFiberUnmount=="function")try{Pt.onCommitFiberUnmount(Fl,r)}catch(d){}switch(r.tag){case 26:tt||Cn(r,t),Xn(e,t,r),r.memoizedState?r.memoizedState.count--:r.stateNode&&(r=r.stateNode,r.parentNode.removeChild(r));break;case 27:tt||Cn(r,t);var i=Qe,u=Dt;Ra(r.type)&&(Qe=r.stateNode,Dt=!1),Xn(e,t,r),Lo(r.stateNode),Qe=i,Dt=u;break;case 5:tt||Cn(r,t);case 6:if(i=Qe,u=Dt,Qe=null,Xn(e,t,r),Qe=i,Dt=u,Qe!==null)if(Dt)try{(Qe.nodeType===9?Qe.body:Qe.nodeName==="HTML"?Qe.ownerDocument.body:Qe).removeChild(r.stateNode)}catch(d){Ge(r,t,d)}else try{Qe.removeChild(r.stateNode)}catch(d){Ge(r,t,d)}break;case 18:Qe!==null&&(Dt?(e=Qe,jp(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,r.stateNode),Vo(e)):jp(Qe,r.stateNode));break;case 4:i=Qe,u=Dt,Qe=r.stateNode.containerInfo,Dt=!0,Xn(e,t,r),Qe=i,Dt=u;break;case 0:case 11:case 14:case 15:tt||ga(2,r,t),tt||ga(4,r,t),Xn(e,t,r);break;case 1:tt||(Cn(r,t),i=r.stateNode,typeof i.componentWillUnmount=="function"&&H0(r,t,i)),Xn(e,t,r);break;case 21:Xn(e,t,r);break;case 22:tt=(i=tt)||r.memoizedState!==null,Xn(e,t,r),tt=i;break;default:Xn(e,t,r)}}function K0(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Vo(e)}catch(r){Ge(t,t.return,r)}}function $4(e){switch(e.tag){case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new V0),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new V0),t;default:throw Error(o(435,e.tag))}}function Tf(e,t){var r=$4(e);t.forEach(function(i){var u=ox.bind(null,e,i);r.has(i)||(r.add(i),i.then(u,u))})}function Yt(e,t){var r=t.deletions;if(r!==null)for(var i=0;i<r.length;i++){var u=r[i],d=e,b=t,S=b;e:for(;S!==null;){switch(S.tag){case 27:if(Ra(S.type)){Qe=S.stateNode,Dt=!1;break e}break;case 5:Qe=S.stateNode,Dt=!1;break e;case 3:case 4:Qe=S.stateNode.containerInfo,Dt=!0;break e}S=S.return}if(Qe===null)throw Error(o(160));F0(d,b,u),Qe=null,Dt=!1,d=u.alternate,d!==null&&(d.return=null),u.return=null}if(t.subtreeFlags&13878)for(t=t.child;t!==null;)Q0(t,e),t=t.sibling}var hn=null;function Q0(e,t){var r=e.alternate,i=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Yt(t,e),Ft(e),i&4&&(ga(3,e,e.return),Co(3,e),ga(5,e,e.return));break;case 1:Yt(t,e),Ft(e),i&512&&(tt||r===null||Cn(r,r.return)),i&64&&Qn&&(e=e.updateQueue,e!==null&&(i=e.callbacks,i!==null&&(r=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=r===null?i:r.concat(i))));break;case 26:var u=hn;if(Yt(t,e),Ft(e),i&512&&(tt||r===null||Cn(r,r.return)),i&4){var d=r!==null?r.memoizedState:null;if(i=e.memoizedState,r===null)if(i===null)if(e.stateNode===null){e:{i=e.type,r=e.memoizedProps,u=u.ownerDocument||u;t:switch(i){case"title":d=u.getElementsByTagName("title")[0],(!d||d[Xl]||d[bt]||d.namespaceURI==="http://www.w3.org/2000/svg"||d.hasAttribute("itemprop"))&&(d=u.createElement(i),u.head.insertBefore(d,u.querySelector("head > title"))),gt(d,i,r),d[bt]=e,ft(d),i=d;break e;case"link":var b=qp("link","href",u).get(i+(r.href||""));if(b){for(var S=0;S<b.length;S++)if(d=b[S],d.getAttribute("href")===(r.href==null||r.href===""?null:r.href)&&d.getAttribute("rel")===(r.rel==null?null:r.rel)&&d.getAttribute("title")===(r.title==null?null:r.title)&&d.getAttribute("crossorigin")===(r.crossOrigin==null?null:r.crossOrigin)){b.splice(S,1);break t}}d=u.createElement(i),gt(d,i,r),u.head.appendChild(d);break;case"meta":if(b=qp("meta","content",u).get(i+(r.content||""))){for(S=0;S<b.length;S++)if(d=b[S],d.getAttribute("content")===(r.content==null?null:""+r.content)&&d.getAttribute("name")===(r.name==null?null:r.name)&&d.getAttribute("property")===(r.property==null?null:r.property)&&d.getAttribute("http-equiv")===(r.httpEquiv==null?null:r.httpEquiv)&&d.getAttribute("charset")===(r.charSet==null?null:r.charSet)){b.splice(S,1);break t}}d=u.createElement(i),gt(d,i,r),u.head.appendChild(d);break;default:throw Error(o(468,i))}d[bt]=e,ft(d),i=d}e.stateNode=i}else Vp(u,e.type,e.stateNode);else e.stateNode=Pp(u,i,e.memoizedProps);else d!==i?(d===null?r.stateNode!==null&&(r=r.stateNode,r.parentNode.removeChild(r)):d.count--,i===null?Vp(u,e.type,e.stateNode):Pp(u,i,e.memoizedProps)):i===null&&e.stateNode!==null&&Sf(e,e.memoizedProps,r.memoizedProps)}break;case 27:Yt(t,e),Ft(e),i&512&&(tt||r===null||Cn(r,r.return)),r!==null&&i&4&&Sf(e,e.memoizedProps,r.memoizedProps);break;case 5:if(Yt(t,e),Ft(e),i&512&&(tt||r===null||Cn(r,r.return)),e.flags&32){u=e.stateNode;try{Pr(u,"")}catch(V){Ge(e,e.return,V)}}i&4&&e.stateNode!=null&&(u=e.memoizedProps,Sf(e,u,r!==null?r.memoizedProps:u)),i&1024&&(Rf=!0);break;case 6:if(Yt(t,e),Ft(e),i&4){if(e.stateNode===null)throw Error(o(162));i=e.memoizedProps,r=e.stateNode;try{r.nodeValue=i}catch(V){Ge(e,e.return,V)}}break;case 3:if(_s=null,u=hn,hn=Os(t.containerInfo),Yt(t,e),hn=u,Ft(e),i&4&&r!==null&&r.memoizedState.isDehydrated)try{Vo(t.containerInfo)}catch(V){Ge(e,e.return,V)}Rf&&(Rf=!1,X0(e));break;case 4:i=hn,hn=Os(e.stateNode.containerInfo),Yt(t,e),Ft(e),hn=i;break;case 12:Yt(t,e),Ft(e);break;case 13:Yt(t,e),Ft(e),e.child.flags&8192&&e.memoizedState!==null!=(r!==null&&r.memoizedState!==null)&&(Df=kt()),i&4&&(i=e.updateQueue,i!==null&&(e.updateQueue=null,Tf(e,i)));break;case 22:u=e.memoizedState!==null;var _=r!==null&&r.memoizedState!==null,P=Qn,X=tt;if(Qn=P||u,tt=X||_,Yt(t,e),tt=X,Qn=P,Ft(e),i&8192)e:for(t=e.stateNode,t._visibility=u?t._visibility&-2:t._visibility|1,u&&(r===null||_||Qn||tt||sr(e)),r=null,t=e;;){if(t.tag===5||t.tag===26){if(r===null){_=r=t;try{if(d=_.stateNode,u)b=d.style,typeof b.setProperty=="function"?b.setProperty("display","none","important"):b.display="none";else{S=_.stateNode;var $=_.memoizedProps.style,q=$!=null&&$.hasOwnProperty("display")?$.display:null;S.style.display=q==null||typeof q=="boolean"?"":(""+q).trim()}}catch(V){Ge(_,_.return,V)}}}else if(t.tag===6){if(r===null){_=t;try{_.stateNode.nodeValue=u?"":_.memoizedProps}catch(V){Ge(_,_.return,V)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;r===t&&(r=null),t=t.return}r===t&&(r=null),t.sibling.return=t.return,t=t.sibling}i&4&&(i=e.updateQueue,i!==null&&(r=i.retryQueue,r!==null&&(i.retryQueue=null,Tf(e,r))));break;case 19:Yt(t,e),Ft(e),i&4&&(i=e.updateQueue,i!==null&&(e.updateQueue=null,Tf(e,i)));break;case 30:break;case 21:break;default:Yt(t,e),Ft(e)}}function Ft(e){var t=e.flags;if(t&2){try{for(var r,i=e.return;i!==null;){if(P0(i)){r=i;break}i=i.return}if(r==null)throw Error(o(160));switch(r.tag){case 27:var u=r.stateNode,d=Ef(e);ps(e,d,u);break;case 5:var b=r.stateNode;r.flags&32&&(Pr(b,""),r.flags&=-33);var S=Ef(e);ps(e,S,b);break;case 3:case 4:var _=r.stateNode.containerInfo,P=Ef(e);Cf(e,P,_);break;default:throw Error(o(161))}}catch(X){Ge(e,e.return,X)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function X0(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;X0(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function ya(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)G0(e,t.alternate,t),t=t.sibling}function sr(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:ga(4,t,t.return),sr(t);break;case 1:Cn(t,t.return);var r=t.stateNode;typeof r.componentWillUnmount=="function"&&H0(t,t.return,r),sr(t);break;case 27:Lo(t.stateNode);case 26:case 5:Cn(t,t.return),sr(t);break;case 22:t.memoizedState===null&&sr(t);break;case 30:sr(t);break;default:sr(t)}e=e.sibling}}function ba(e,t,r){for(r=r&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var i=t.alternate,u=e,d=t,b=d.flags;switch(d.tag){case 0:case 11:case 15:ba(u,d,r),Co(4,d);break;case 1:if(ba(u,d,r),i=d,u=i.stateNode,typeof u.componentDidMount=="function")try{u.componentDidMount()}catch(P){Ge(i,i.return,P)}if(i=d,u=i.updateQueue,u!==null){var S=i.stateNode;try{var _=u.shared.hiddenCallbacks;if(_!==null)for(u.shared.hiddenCallbacks=null,u=0;u<_.length;u++)Em(_[u],S)}catch(P){Ge(i,i.return,P)}}r&&b&64&&B0(d),Ro(d,d.return);break;case 27:q0(d);case 26:case 5:ba(u,d,r),r&&i===null&&b&4&&k0(d),Ro(d,d.return);break;case 12:ba(u,d,r);break;case 13:ba(u,d,r),r&&b&4&&K0(u,d);break;case 22:d.memoizedState===null&&ba(u,d,r),Ro(d,d.return);break;case 30:break;default:ba(u,d,r)}t=t.sibling}}function Af(e,t){var r=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(r=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==r&&(e!=null&&e.refCount++,r!=null&&uo(r))}function Of(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&uo(e))}function Rn(e,t,r,i){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Z0(e,t,r,i),t=t.sibling}function Z0(e,t,r,i){var u=t.flags;switch(t.tag){case 0:case 11:case 15:Rn(e,t,r,i),u&2048&&Co(9,t);break;case 1:Rn(e,t,r,i);break;case 3:Rn(e,t,r,i),u&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&uo(e)));break;case 12:if(u&2048){Rn(e,t,r,i),e=t.stateNode;try{var d=t.memoizedProps,b=d.id,S=d.onPostCommit;typeof S=="function"&&S(b,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(_){Ge(t,t.return,_)}}else Rn(e,t,r,i);break;case 13:Rn(e,t,r,i);break;case 23:break;case 22:d=t.stateNode,b=t.alternate,t.memoizedState!==null?d._visibility&2?Rn(e,t,r,i):To(e,t):d._visibility&2?Rn(e,t,r,i):(d._visibility|=2,ll(e,t,r,i,(t.subtreeFlags&10256)!==0)),u&2048&&Af(b,t);break;case 24:Rn(e,t,r,i),u&2048&&Of(t.alternate,t);break;default:Rn(e,t,r,i)}}function ll(e,t,r,i,u){for(u=u&&(t.subtreeFlags&10256)!==0,t=t.child;t!==null;){var d=e,b=t,S=r,_=i,P=b.flags;switch(b.tag){case 0:case 11:case 15:ll(d,b,S,_,u),Co(8,b);break;case 23:break;case 22:var X=b.stateNode;b.memoizedState!==null?X._visibility&2?ll(d,b,S,_,u):To(d,b):(X._visibility|=2,ll(d,b,S,_,u)),u&&P&2048&&Af(b.alternate,b);break;case 24:ll(d,b,S,_,u),u&&P&2048&&Of(b.alternate,b);break;default:ll(d,b,S,_,u)}t=t.sibling}}function To(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var r=e,i=t,u=i.flags;switch(i.tag){case 22:To(r,i),u&2048&&Af(i.alternate,i);break;case 24:To(r,i),u&2048&&Of(i.alternate,i);break;default:To(r,i)}t=t.sibling}}var Ao=8192;function ol(e){if(e.subtreeFlags&Ao)for(e=e.child;e!==null;)I0(e),e=e.sibling}function I0(e){switch(e.tag){case 26:ol(e),e.flags&Ao&&e.memoizedState!==null&&Ux(hn,e.memoizedState,e.memoizedProps);break;case 5:ol(e);break;case 3:case 4:var t=hn;hn=Os(e.stateNode.containerInfo),ol(e),hn=t;break;case 22:e.memoizedState===null&&(t=e.alternate,t!==null&&t.memoizedState!==null?(t=Ao,Ao=16777216,ol(e),Ao=t):ol(e));break;default:ol(e)}}function $0(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Oo(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var r=0;r<t.length;r++){var i=t[r];ht=i,W0(i,e)}$0(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)J0(e),e=e.sibling}function J0(e){switch(e.tag){case 0:case 11:case 15:Oo(e),e.flags&2048&&ga(9,e,e.return);break;case 3:Oo(e);break;case 12:Oo(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,vs(e)):Oo(e);break;default:Oo(e)}}function vs(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var r=0;r<t.length;r++){var i=t[r];ht=i,W0(i,e)}$0(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:ga(8,t,t.return),vs(t);break;case 22:r=t.stateNode,r._visibility&2&&(r._visibility&=-3,vs(t));break;default:vs(t)}e=e.sibling}}function W0(e,t){for(;ht!==null;){var r=ht;switch(r.tag){case 0:case 11:case 15:ga(8,r,t);break;case 23:case 22:if(r.memoizedState!==null&&r.memoizedState.cachePool!==null){var i=r.memoizedState.cachePool.pool;i!=null&&i.refCount++}break;case 24:uo(r.memoizedState.cache)}if(i=r.child,i!==null)i.return=r,ht=i;else e:for(r=e;ht!==null;){i=ht;var u=i.sibling,d=i.return;if(Y0(i),i===r){ht=null;break e}if(u!==null){u.return=d,ht=u;break e}ht=d}}}var J4={getCacheForType:function(e){var t=xt(st),r=t.data.get(e);return r===void 0&&(r=e(),t.data.set(e,r)),r}},W4=typeof WeakMap=="function"?WeakMap:Map,He=0,Fe=null,Ne=null,ze=0,ke=0,Kt=null,xa=!1,il=!1,Mf=!1,Zn=0,Ie=0,wa=0,ur=0,_f=0,ln=0,sl=0,Mo=null,jt=null,Nf=!1,Df=0,gs=1/0,ys=null,Sa=null,vt=0,Ea=null,ul=null,cl=0,jf=0,Lf=null,ep=null,_o=0,zf=null;function Qt(){if((He&2)!==0&&ze!==0)return ze&-ze;if(H.T!==null){var e=$r;return e!==0?e:Vf()}return v1()}function tp(){ln===0&&(ln=(ze&536870912)===0||Be?d1():536870912);var e=rn.current;return e!==null&&(e.flags|=32),ln}function Xt(e,t,r){(e===Fe&&(ke===2||ke===9)||e.cancelPendingCommit!==null)&&(fl(e,0),Ca(e,ze,ln,!1)),Ql(e,r),((He&2)===0||e!==Fe)&&(e===Fe&&((He&2)===0&&(ur|=r),Ie===4&&Ca(e,ze,ln,!1)),Tn(e))}function np(e,t,r){if((He&6)!==0)throw Error(o(327));var i=!r&&(t&124)===0&&(t&e.expiredLanes)===0||Kl(e,t),u=i?nx(e,t):Hf(e,t,!0),d=i;do{if(u===0){il&&!i&&Ca(e,t,0,!1);break}else{if(r=e.current.alternate,d&&!ex(r)){u=Hf(e,t,!1),d=!1;continue}if(u===2){if(d=t,e.errorRecoveryDisabledLanes&d)var b=0;else b=e.pendingLanes&-536870913,b=b!==0?b:b&536870912?536870912:0;if(b!==0){t=b;e:{var S=e;u=Mo;var _=S.current.memoizedState.isDehydrated;if(_&&(fl(S,b).flags|=256),b=Hf(S,b,!1),b!==2){if(Mf&&!_){S.errorRecoveryDisabledLanes|=d,ur|=d,u=4;break e}d=jt,jt=u,d!==null&&(jt===null?jt=d:jt.push.apply(jt,d))}u=b}if(d=!1,u!==2)continue}}if(u===1){fl(e,0),Ca(e,t,0,!0);break}e:{switch(i=e,d=u,d){case 0:case 1:throw Error(o(345));case 4:if((t&4194048)!==t)break;case 6:Ca(i,t,ln,!xa);break e;case 2:jt=null;break;case 3:case 5:break;default:throw Error(o(329))}if((t&62914560)===t&&(u=Df+300-kt(),10<u)){if(Ca(i,t,ln,!xa),Mi(i,0,!0)!==0)break e;i.timeoutHandle=Np(ap.bind(null,i,r,jt,ys,Nf,t,ln,ur,sl,xa,d,2,-0,0),u);break e}ap(i,r,jt,ys,Nf,t,ln,ur,sl,xa,d,0,-0,0)}}break}while(!0);Tn(e)}function ap(e,t,r,i,u,d,b,S,_,P,X,$,q,V){if(e.timeoutHandle=-1,$=t.subtreeFlags,($&8192||($&16785408)===16785408)&&(Bo={stylesheets:null,count:0,unsuspend:zx},I0(t),$=Bx(),$!==null)){e.cancelPendingCommit=$(cp.bind(null,e,t,d,r,i,u,b,S,_,X,1,q,V)),Ca(e,d,b,!P);return}cp(e,t,d,r,i,u,b,S,_)}function ex(e){for(var t=e;;){var r=t.tag;if((r===0||r===11||r===15)&&t.flags&16384&&(r=t.updateQueue,r!==null&&(r=r.stores,r!==null)))for(var i=0;i<r.length;i++){var u=r[i],d=u.getSnapshot;u=u.value;try{if(!Vt(d(),u))return!1}catch(b){return!1}}if(r=t.child,t.subtreeFlags&16384&&r!==null)r.return=t,t=r;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Ca(e,t,r,i){t&=~_f,t&=~ur,e.suspendedLanes|=t,e.pingedLanes&=~t,i&&(e.warmLanes|=t),i=e.expirationTimes;for(var u=t;0<u;){var d=31-qt(u),b=1<<d;i[d]=-1,u&=~b}r!==0&&m1(e,r,t)}function bs(){return(He&6)===0?(No(0),!1):!0}function Uf(){if(Ne!==null){if(ke===0)var e=Ne.return;else e=Ne,qn=ar=null,Jc(e),al=null,wo=0,e=Ne;for(;e!==null;)U0(e.alternate,e),e=e.return;Ne=null}}function fl(e,t){var r=e.timeoutHandle;r!==-1&&(e.timeoutHandle=-1,yx(r)),r=e.cancelPendingCommit,r!==null&&(e.cancelPendingCommit=null,r()),Uf(),Fe=e,Ne=r=Hn(e.current,null),ze=t,ke=0,Kt=null,xa=!1,il=Kl(e,t),Mf=!1,sl=ln=_f=ur=wa=Ie=0,jt=Mo=null,Nf=!1,(t&8)!==0&&(t|=t&32);var i=e.entangledLanes;if(i!==0)for(e=e.entanglements,i&=t;0<i;){var u=31-qt(i),d=1<<u;t|=e[u],i&=~d}return Zn=t,qi(),r}function rp(e,t){Te=null,H.H=os,t===fo||t===Ii?(t=wm(),ke=3):t===ym?(t=wm(),ke=4):ke=t===S0?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,Kt=t,Ne===null&&(Ie=1,fs(e,en(t,e.current)))}function lp(){var e=H.H;return H.H=os,e===null?os:e}function op(){var e=H.A;return H.A=J4,e}function Bf(){Ie=4,xa||(ze&4194048)!==ze&&rn.current!==null||(il=!0),(wa&134217727)===0&&(ur&134217727)===0||Fe===null||Ca(Fe,ze,ln,!1)}function Hf(e,t,r){var i=He;He|=2;var u=lp(),d=op();(Fe!==e||ze!==t)&&(ys=null,fl(e,t)),t=!1;var b=Ie;e:do try{if(ke!==0&&Ne!==null){var S=Ne,_=Kt;switch(ke){case 8:Uf(),b=6;break e;case 3:case 2:case 9:case 6:rn.current===null&&(t=!0);var P=ke;if(ke=0,Kt=null,dl(e,S,_,P),r&&il){b=0;break e}break;default:P=ke,ke=0,Kt=null,dl(e,S,_,P)}}tx(),b=Ie;break}catch(X){rp(e,X)}while(!0);return t&&e.shellSuspendCounter++,qn=ar=null,He=i,H.H=u,H.A=d,Ne===null&&(Fe=null,ze=0,qi()),b}function tx(){for(;Ne!==null;)ip(Ne)}function nx(e,t){var r=He;He|=2;var i=lp(),u=op();Fe!==e||ze!==t?(ys=null,gs=kt()+500,fl(e,t)):il=Kl(e,t);e:do try{if(ke!==0&&Ne!==null){t=Ne;var d=Kt;t:switch(ke){case 1:ke=0,Kt=null,dl(e,t,d,1);break;case 2:case 9:if(bm(d)){ke=0,Kt=null,sp(t);break}t=function(){ke!==2&&ke!==9||Fe!==e||(ke=7),Tn(e)},d.then(t,t);break e;case 3:ke=7;break e;case 4:ke=5;break e;case 7:bm(d)?(ke=0,Kt=null,sp(t)):(ke=0,Kt=null,dl(e,t,d,7));break;case 5:var b=null;switch(Ne.tag){case 26:b=Ne.memoizedState;case 5:case 27:var S=Ne;if(!b||Gp(b)){ke=0,Kt=null;var _=S.sibling;if(_!==null)Ne=_;else{var P=S.return;P!==null?(Ne=P,xs(P)):Ne=null}break t}}ke=0,Kt=null,dl(e,t,d,5);break;case 6:ke=0,Kt=null,dl(e,t,d,6);break;case 8:Uf(),Ie=6;break e;default:throw Error(o(462))}}ax();break}catch(X){rp(e,X)}while(!0);return qn=ar=null,H.H=i,H.A=u,He=r,Ne!==null?0:(Fe=null,ze=0,qi(),Ie)}function ax(){for(;Ne!==null&&!Ci();)ip(Ne)}function ip(e){var t=L0(e.alternate,e,Zn);e.memoizedProps=e.pendingProps,t===null?xs(e):Ne=t}function sp(e){var t=e,r=t.alternate;switch(t.tag){case 15:case 0:t=O0(r,t,t.pendingProps,t.type,void 0,ze);break;case 11:t=O0(r,t,t.pendingProps,t.type.render,t.ref,ze);break;case 5:Jc(t);default:U0(r,t),t=Ne=um(t,Zn),t=L0(r,t,Zn)}e.memoizedProps=e.pendingProps,t===null?xs(e):Ne=t}function dl(e,t,r,i){qn=ar=null,Jc(t),al=null,wo=0;var u=t.return;try{if(K4(e,u,t,r,ze)){Ie=1,fs(e,en(r,e.current)),Ne=null;return}}catch(d){if(u!==null)throw Ne=u,d;Ie=1,fs(e,en(r,e.current)),Ne=null;return}t.flags&32768?(Be||i===1?e=!0:il||(ze&536870912)!==0?e=!1:(xa=e=!0,(i===2||i===9||i===3||i===6)&&(i=rn.current,i!==null&&i.tag===13&&(i.flags|=16384))),up(t,e)):xs(t)}function xs(e){var t=e;do{if((t.flags&32768)!==0){up(t,xa);return}e=t.return;var r=X4(t.alternate,t,Zn);if(r!==null){Ne=r;return}if(t=t.sibling,t!==null){Ne=t;return}Ne=t=e}while(t!==null);Ie===0&&(Ie=5)}function up(e,t){do{var r=Z4(e.alternate,e);if(r!==null){r.flags&=32767,Ne=r;return}if(r=e.return,r!==null&&(r.flags|=32768,r.subtreeFlags=0,r.deletions=null),!t&&(e=e.sibling,e!==null)){Ne=e;return}Ne=e=r}while(e!==null);Ie=6,Ne=null}function cp(e,t,r,i,u,d,b,S,_){e.cancelPendingCommit=null;do ws();while(vt!==0);if((He&6)!==0)throw Error(o(327));if(t!==null){if(t===e.current)throw Error(o(177));if(d=t.lanes|t.childLanes,d|=Ac,z5(e,r,d,b,S,_),e===Fe&&(Ne=Fe=null,ze=0),ul=t,Ea=e,cl=r,jf=d,Lf=u,ep=i,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,ix(Nr,function(){return pp(),null})):(e.callbackNode=null,e.callbackPriority=0),i=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||i){i=H.T,H.T=null,u=Z.p,Z.p=2,b=He,He|=4;try{I4(e,t,r)}finally{He=b,Z.p=u,H.T=i}}vt=1,fp(),dp(),hp()}}function fp(){if(vt===1){vt=0;var e=Ea,t=ul,r=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||r){r=H.T,H.T=null;var i=Z.p;Z.p=2;var u=He;He|=4;try{Q0(t,e);var d=If,b=W1(e.containerInfo),S=d.focusedElem,_=d.selectionRange;if(b!==S&&S&&S.ownerDocument&&J1(S.ownerDocument.documentElement,S)){if(_!==null&&Sc(S)){var P=_.start,X=_.end;if(X===void 0&&(X=P),"selectionStart"in S)S.selectionStart=P,S.selectionEnd=Math.min(X,S.value.length);else{var $=S.ownerDocument||document,q=$&&$.defaultView||window;if(q.getSelection){var V=q.getSelection(),be=S.textContent.length,ge=Math.min(_.start,be),Ve=_.end===void 0?ge:Math.min(_.end,be);!V.extend&&ge>Ve&&(b=Ve,Ve=ge,ge=b);var U=$1(S,ge),N=$1(S,Ve);if(U&&N&&(V.rangeCount!==1||V.anchorNode!==U.node||V.anchorOffset!==U.offset||V.focusNode!==N.node||V.focusOffset!==N.offset)){var k=$.createRange();k.setStart(U.node,U.offset),V.removeAllRanges(),ge>Ve?(V.addRange(k),V.extend(N.node,N.offset)):(k.setEnd(N.node,N.offset),V.addRange(k))}}}}for($=[],V=S;V=V.parentNode;)V.nodeType===1&&$.push({element:V,left:V.scrollLeft,top:V.scrollTop});for(typeof S.focus=="function"&&S.focus(),S=0;S<$.length;S++){var I=$[S];I.element.scrollLeft=I.left,I.element.scrollTop=I.top}}js=!!Zf,If=Zf=null}finally{He=u,Z.p=i,H.T=r}}e.current=t,vt=2}}function dp(){if(vt===2){vt=0;var e=Ea,t=ul,r=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||r){r=H.T,H.T=null;var i=Z.p;Z.p=2;var u=He;He|=4;try{G0(e,t.alternate,t)}finally{He=u,Z.p=i,H.T=r}}vt=3}}function hp(){if(vt===4||vt===3){vt=0,Ka();var e=Ea,t=ul,r=cl,i=ep;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?vt=5:(vt=0,ul=Ea=null,mp(e,e.pendingLanes));var u=e.pendingLanes;if(u===0&&(Sa=null),tc(r),t=t.stateNode,Pt&&typeof Pt.onCommitFiberRoot=="function")try{Pt.onCommitFiberRoot(Fl,t,void 0,(t.current.flags&128)===128)}catch(_){}if(i!==null){t=H.T,u=Z.p,Z.p=2,H.T=null;try{for(var d=e.onRecoverableError,b=0;b<i.length;b++){var S=i[b];d(S.value,{componentStack:S.stack})}}finally{H.T=t,Z.p=u}}(cl&3)!==0&&ws(),Tn(e),u=e.pendingLanes,(r&4194090)!==0&&(u&42)!==0?e===zf?_o++:(_o=0,zf=e):_o=0,No(0)}}function mp(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,uo(t)))}function ws(e){return fp(),dp(),hp(),pp()}function pp(){if(vt!==5)return!1;var e=Ea,t=jf;jf=0;var r=tc(cl),i=H.T,u=Z.p;try{Z.p=32>r?32:r,H.T=null,r=Lf,Lf=null;var d=Ea,b=cl;if(vt=0,ul=Ea=null,cl=0,(He&6)!==0)throw Error(o(331));var S=He;if(He|=4,J0(d.current),Z0(d,d.current,b,r),He=S,No(0,!1),Pt&&typeof Pt.onPostCommitFiberRoot=="function")try{Pt.onPostCommitFiberRoot(Fl,d)}catch(_){}return!0}finally{Z.p=u,H.T=i,mp(e,t)}}function vp(e,t,r){t=en(r,t),t=hf(e.stateNode,t,2),e=ha(e,t,2),e!==null&&(Ql(e,2),Tn(e))}function Ge(e,t,r){if(e.tag===3)vp(e,e,r);else for(;t!==null;){if(t.tag===3){vp(t,e,r);break}else if(t.tag===1){var i=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof i.componentDidCatch=="function"&&(Sa===null||!Sa.has(i))){e=en(r,e),r=x0(2),i=ha(t,r,2),i!==null&&(w0(r,i,t,e),Ql(i,2),Tn(i));break}}t=t.return}}function kf(e,t,r){var i=e.pingCache;if(i===null){i=e.pingCache=new W4;var u=new Set;i.set(t,u)}else u=i.get(t),u===void 0&&(u=new Set,i.set(t,u));u.has(r)||(Mf=!0,u.add(r),e=rx.bind(null,e,t,r),t.then(e,e))}function rx(e,t,r){var i=e.pingCache;i!==null&&i.delete(t),e.pingedLanes|=e.suspendedLanes&r,e.warmLanes&=~r,Fe===e&&(ze&r)===r&&(Ie===4||Ie===3&&(ze&62914560)===ze&&300>kt()-Df?(He&2)===0&&fl(e,0):_f|=r,sl===ze&&(sl=0)),Tn(e)}function gp(e,t){t===0&&(t=h1()),e=Qr(e,t),e!==null&&(Ql(e,t),Tn(e))}function lx(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),gp(e,r)}function ox(e,t){var r=0;switch(e.tag){case 13:var i=e.stateNode,u=e.memoizedState;u!==null&&(r=u.retryLane);break;case 19:i=e.stateNode;break;case 22:i=e.stateNode._retryCache;break;default:throw Error(o(314))}i!==null&&i.delete(t),gp(e,r)}function ix(e,t){return Mr(e,t)}var Ss=null,hl=null,Pf=!1,Es=!1,qf=!1,cr=0;function Tn(e){e!==hl&&e.next===null&&(hl===null?Ss=hl=e:hl=hl.next=e),Es=!0,Pf||(Pf=!0,ux())}function No(e,t){if(!qf&&Es){qf=!0;do for(var r=!1,i=Ss;i!==null;){if(e!==0){var u=i.pendingLanes;if(u===0)var d=0;else{var b=i.suspendedLanes,S=i.pingedLanes;d=(1<<31-qt(42|e)+1)-1,d&=u&~(b&~S),d=d&201326741?d&201326741|1:d?d|2:0}d!==0&&(r=!0,wp(i,d))}else d=ze,d=Mi(i,i===Fe?d:0,i.cancelPendingCommit!==null||i.timeoutHandle!==-1),(d&3)===0||Kl(i,d)||(r=!0,wp(i,d));i=i.next}while(r);qf=!1}}function sx(){yp()}function yp(){Es=Pf=!1;var e=0;cr!==0&&(gx()&&(e=cr),cr=0);for(var t=kt(),r=null,i=Ss;i!==null;){var u=i.next,d=bp(i,t);d===0?(i.next=null,r===null?Ss=u:r.next=u,u===null&&(hl=r)):(r=i,(e!==0||(d&3)!==0)&&(Es=!0)),i=u}No(e)}function bp(e,t){for(var r=e.suspendedLanes,i=e.pingedLanes,u=e.expirationTimes,d=e.pendingLanes&-62914561;0<d;){var b=31-qt(d),S=1<<b,_=u[b];_===-1?((S&r)===0||(S&i)!==0)&&(u[b]=L5(S,t)):_<=t&&(e.expiredLanes|=S),d&=~S}if(t=Fe,r=ze,r=Mi(e,e===t?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),i=e.callbackNode,r===0||e===t&&(ke===2||ke===9)||e.cancelPendingCommit!==null)return i!==null&&i!==null&&_r(i),e.callbackNode=null,e.callbackPriority=0;if((r&3)===0||Kl(e,r)){if(t=r&-r,t===e.callbackPriority)return t;switch(i!==null&&_r(i),tc(r)){case 2:case 8:r=Ti;break;case 32:r=Nr;break;case 268435456:r=f1;break;default:r=Nr}return i=xp.bind(null,e),r=Mr(r,i),e.callbackPriority=t,e.callbackNode=r,t}return i!==null&&i!==null&&_r(i),e.callbackPriority=2,e.callbackNode=null,2}function xp(e,t){if(vt!==0&&vt!==5)return e.callbackNode=null,e.callbackPriority=0,null;var r=e.callbackNode;if(ws()&&e.callbackNode!==r)return null;var i=ze;return i=Mi(e,e===Fe?i:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),i===0?null:(np(e,i,t),bp(e,kt()),e.callbackNode!=null&&e.callbackNode===r?xp.bind(null,e):null)}function wp(e,t){if(ws())return null;np(e,t,!0)}function ux(){bx(function(){(He&6)!==0?Mr(Ri,sx):yp()})}function Vf(){return cr===0&&(cr=d1()),cr}function Sp(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Li(""+e)}function Ep(e,t){var r=t.ownerDocument.createElement("input");return r.name=t.name,r.value=t.value,e.id&&r.setAttribute("form",e.id),t.parentNode.insertBefore(r,t),e=new FormData(e),r.parentNode.removeChild(r),e}function cx(e,t,r,i,u){if(t==="submit"&&r&&r.stateNode===u){var d=Sp((u[Mt]||null).action),b=i.submitter;b&&(t=(t=b[Mt]||null)?Sp(t.formAction):b.getAttribute("formAction"),t!==null&&(d=t,b=null));var S=new Hi("action","action",null,i,u);e.push({event:S,listeners:[{instance:null,listener:function(){if(i.defaultPrevented){if(cr!==0){var _=b?Ep(u,b):new FormData(u);sf(r,{pending:!0,data:_,method:u.method,action:d},null,_)}}else typeof d=="function"&&(S.preventDefault(),_=b?Ep(u,b):new FormData(u),sf(r,{pending:!0,data:_,method:u.method,action:d},d,_))},currentTarget:u}]})}}for(var Gf=0;Gf<Tc.length;Gf++){var Yf=Tc[Gf],fx=Yf.toLowerCase(),dx=Yf[0].toUpperCase()+Yf.slice(1);dn(fx,"on"+dx)}dn(nm,"onAnimationEnd"),dn(am,"onAnimationIteration"),dn(rm,"onAnimationStart"),dn("dblclick","onDoubleClick"),dn("focusin","onFocus"),dn("focusout","onBlur"),dn(M4,"onTransitionRun"),dn(_4,"onTransitionStart"),dn(N4,"onTransitionCancel"),dn(lm,"onTransitionEnd"),Br("onMouseEnter",["mouseout","mouseover"]),Br("onMouseLeave",["mouseout","mouseover"]),Br("onPointerEnter",["pointerout","pointerover"]),Br("onPointerLeave",["pointerout","pointerover"]),Xa("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Xa("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Xa("onBeforeInput",["compositionend","keypress","textInput","paste"]),Xa("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Xa("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Xa("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Do="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),hx=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Do));function Cp(e,t){t=(t&4)!==0;for(var r=0;r<e.length;r++){var i=e[r],u=i.event;i=i.listeners;e:{var d=void 0;if(t)for(var b=i.length-1;0<=b;b--){var S=i[b],_=S.instance,P=S.currentTarget;if(S=S.listener,_!==d&&u.isPropagationStopped())break e;d=S,u.currentTarget=P;try{d(u)}catch(X){cs(X)}u.currentTarget=null,d=_}else for(b=0;b<i.length;b++){if(S=i[b],_=S.instance,P=S.currentTarget,S=S.listener,_!==d&&u.isPropagationStopped())break e;d=S,u.currentTarget=P;try{d(u)}catch(X){cs(X)}u.currentTarget=null,d=_}}}}function De(e,t){var r=t[nc];r===void 0&&(r=t[nc]=new Set);var i=e+"__bubble";r.has(i)||(Rp(t,e,2,!1),r.add(i))}function Ff(e,t,r){var i=0;t&&(i|=4),Rp(r,e,i,t)}var Cs="_reactListening"+Math.random().toString(36).slice(2);function Kf(e){if(!e[Cs]){e[Cs]=!0,y1.forEach(function(r){r!=="selectionchange"&&(hx.has(r)||Ff(r,!1,e),Ff(r,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Cs]||(t[Cs]=!0,Ff("selectionchange",!1,t))}}function Rp(e,t,r,i){switch(Zp(t)){case 2:var u=Px;break;case 8:u=qx;break;default:u=od}r=u.bind(null,t,r,e),u=void 0,!hc||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(u=!0),i?u!==void 0?e.addEventListener(t,r,{capture:!0,passive:u}):e.addEventListener(t,r,!0):u!==void 0?e.addEventListener(t,r,{passive:u}):e.addEventListener(t,r,!1)}function Qf(e,t,r,i,u){var d=i;if((t&1)===0&&(t&2)===0&&i!==null)e:for(;;){if(i===null)return;var b=i.tag;if(b===3||b===4){var S=i.stateNode.containerInfo;if(S===u)break;if(b===4)for(b=i.return;b!==null;){var _=b.tag;if((_===3||_===4)&&b.stateNode.containerInfo===u)return;b=b.return}for(;S!==null;){if(b=Lr(S),b===null)return;if(_=b.tag,_===5||_===6||_===26||_===27){i=d=b;continue e}S=S.parentNode}}i=i.return}D1(function(){var P=d,X=fc(r),$=[];e:{var q=om.get(e);if(q!==void 0){var V=Hi,be=e;switch(e){case"keypress":if(Ui(r)===0)break e;case"keydown":case"keyup":V=i4;break;case"focusin":be="focus",V=gc;break;case"focusout":be="blur",V=gc;break;case"beforeblur":case"afterblur":V=gc;break;case"click":if(r.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":V=z1;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":V=Z5;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":V=c4;break;case nm:case am:case rm:V=J5;break;case lm:V=d4;break;case"scroll":case"scrollend":V=Q5;break;case"wheel":V=m4;break;case"copy":case"cut":case"paste":V=e4;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":V=B1;break;case"toggle":case"beforetoggle":V=v4}var ge=(t&4)!==0,Ve=!ge&&(e==="scroll"||e==="scrollend"),U=ge?q!==null?q+"Capture":null:q;ge=[];for(var N=P,k;N!==null;){var I=N;if(k=I.stateNode,I=I.tag,I!==5&&I!==26&&I!==27||k===null||U===null||(I=Il(N,U),I!=null&&ge.push(jo(N,I,k))),Ve)break;N=N.return}0<ge.length&&(q=new V(q,be,null,r,X),$.push({event:q,listeners:ge}))}}if((t&7)===0){e:{if(q=e==="mouseover"||e==="pointerover",V=e==="mouseout"||e==="pointerout",q&&r!==cc&&(be=r.relatedTarget||r.fromElement)&&(Lr(be)||be[jr]))break e;if((V||q)&&(q=X.window===X?X:(q=X.ownerDocument)?q.defaultView||q.parentWindow:window,V?(be=r.relatedTarget||r.toElement,V=P,be=be?Lr(be):null,be!==null&&(Ve=c(be),ge=be.tag,be!==Ve||ge!==5&&ge!==27&&ge!==6)&&(be=null)):(V=null,be=P),V!==be)){if(ge=z1,I="onMouseLeave",U="onMouseEnter",N="mouse",(e==="pointerout"||e==="pointerover")&&(ge=B1,I="onPointerLeave",U="onPointerEnter",N="pointer"),Ve=V==null?q:Zl(V),k=be==null?q:Zl(be),q=new ge(I,N+"leave",V,r,X),q.target=Ve,q.relatedTarget=k,I=null,Lr(X)===P&&(ge=new ge(U,N+"enter",be,r,X),ge.target=k,ge.relatedTarget=Ve,I=ge),Ve=I,V&&be)t:{for(ge=V,U=be,N=0,k=ge;k;k=ml(k))N++;for(k=0,I=U;I;I=ml(I))k++;for(;0<N-k;)ge=ml(ge),N--;for(;0<k-N;)U=ml(U),k--;for(;N--;){if(ge===U||U!==null&&ge===U.alternate)break t;ge=ml(ge),U=ml(U)}ge=null}else ge=null;V!==null&&Tp($,q,V,ge,!1),be!==null&&Ve!==null&&Tp($,Ve,be,ge,!0)}}e:{if(q=P?Zl(P):window,V=q.nodeName&&q.nodeName.toLowerCase(),V==="select"||V==="input"&&q.type==="file")var ie=F1;else if(G1(q))if(K1)ie=T4;else{ie=C4;var Oe=E4}else V=q.nodeName,!V||V.toLowerCase()!=="input"||q.type!=="checkbox"&&q.type!=="radio"?P&&uc(P.elementType)&&(ie=F1):ie=R4;if(ie&&(ie=ie(e,P))){Y1($,ie,r,X);break e}Oe&&Oe(e,q,P),e==="focusout"&&P&&q.type==="number"&&P.memoizedProps.value!=null&&sc(q,"number",q.value)}switch(Oe=P?Zl(P):window,e){case"focusin":(G1(Oe)||Oe.contentEditable==="true")&&(Yr=Oe,Ec=P,ro=null);break;case"focusout":ro=Ec=Yr=null;break;case"mousedown":Cc=!0;break;case"contextmenu":case"mouseup":case"dragend":Cc=!1,em($,r,X);break;case"selectionchange":if(O4)break;case"keydown":case"keyup":em($,r,X)}var fe;if(bc)e:{switch(e){case"compositionstart":var ye="onCompositionStart";break e;case"compositionend":ye="onCompositionEnd";break e;case"compositionupdate":ye="onCompositionUpdate";break e}ye=void 0}else Gr?q1(e,r)&&(ye="onCompositionEnd"):e==="keydown"&&r.keyCode===229&&(ye="onCompositionStart");ye&&(H1&&r.locale!=="ko"&&(Gr||ye!=="onCompositionStart"?ye==="onCompositionEnd"&&Gr&&(fe=j1()):(ua=X,mc="value"in ua?ua.value:ua.textContent,Gr=!0)),Oe=Rs(P,ye),0<Oe.length&&(ye=new U1(ye,e,null,r,X),$.push({event:ye,listeners:Oe}),fe?ye.data=fe:(fe=V1(r),fe!==null&&(ye.data=fe)))),(fe=y4?b4(e,r):x4(e,r))&&(ye=Rs(P,"onBeforeInput"),0<ye.length&&(Oe=new U1("onBeforeInput","beforeinput",null,r,X),$.push({event:Oe,listeners:ye}),Oe.data=fe)),cx($,e,P,r,X)}Cp($,t)})}function jo(e,t,r){return{instance:e,listener:t,currentTarget:r}}function Rs(e,t){for(var r=t+"Capture",i=[];e!==null;){var u=e,d=u.stateNode;if(u=u.tag,u!==5&&u!==26&&u!==27||d===null||(u=Il(e,r),u!=null&&i.unshift(jo(e,u,d)),u=Il(e,t),u!=null&&i.push(jo(e,u,d))),e.tag===3)return i;e=e.return}return[]}function ml(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Tp(e,t,r,i,u){for(var d=t._reactName,b=[];r!==null&&r!==i;){var S=r,_=S.alternate,P=S.stateNode;if(S=S.tag,_!==null&&_===i)break;S!==5&&S!==26&&S!==27||P===null||(_=P,u?(P=Il(r,d),P!=null&&b.unshift(jo(r,P,_))):u||(P=Il(r,d),P!=null&&b.push(jo(r,P,_)))),r=r.return}b.length!==0&&e.push({event:t,listeners:b})}var mx=/\r\n?/g,px=/\u0000|\uFFFD/g;function Ap(e){return(typeof e=="string"?e:""+e).replace(mx,`
`).replace(px,"")}function Op(e,t){return t=Ap(t),Ap(e)===t}function Ts(){}function qe(e,t,r,i,u,d){switch(r){case"children":typeof i=="string"?t==="body"||t==="textarea"&&i===""||Pr(e,i):(typeof i=="number"||typeof i=="bigint")&&t!=="body"&&Pr(e,""+i);break;case"className":Ni(e,"class",i);break;case"tabIndex":Ni(e,"tabindex",i);break;case"dir":case"role":case"viewBox":case"width":case"height":Ni(e,r,i);break;case"style":_1(e,i,d);break;case"data":if(t!=="object"){Ni(e,"data",i);break}case"src":case"href":if(i===""&&(t!=="a"||r!=="href")){e.removeAttribute(r);break}if(i==null||typeof i=="function"||typeof i=="symbol"||typeof i=="boolean"){e.removeAttribute(r);break}i=Li(""+i),e.setAttribute(r,i);break;case"action":case"formAction":if(typeof i=="function"){e.setAttribute(r,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof d=="function"&&(r==="formAction"?(t!=="input"&&qe(e,t,"name",u.name,u,null),qe(e,t,"formEncType",u.formEncType,u,null),qe(e,t,"formMethod",u.formMethod,u,null),qe(e,t,"formTarget",u.formTarget,u,null)):(qe(e,t,"encType",u.encType,u,null),qe(e,t,"method",u.method,u,null),qe(e,t,"target",u.target,u,null)));if(i==null||typeof i=="symbol"||typeof i=="boolean"){e.removeAttribute(r);break}i=Li(""+i),e.setAttribute(r,i);break;case"onClick":i!=null&&(e.onclick=Ts);break;case"onScroll":i!=null&&De("scroll",e);break;case"onScrollEnd":i!=null&&De("scrollend",e);break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!="object"||!("__html"in i))throw Error(o(61));if(r=i.__html,r!=null){if(u.children!=null)throw Error(o(60));e.innerHTML=r}}break;case"multiple":e.multiple=i&&typeof i!="function"&&typeof i!="symbol";break;case"muted":e.muted=i&&typeof i!="function"&&typeof i!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(i==null||typeof i=="function"||typeof i=="boolean"||typeof i=="symbol"){e.removeAttribute("xlink:href");break}r=Li(""+i),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",r);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":i!=null&&typeof i!="function"&&typeof i!="symbol"?e.setAttribute(r,""+i):e.removeAttribute(r);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":i&&typeof i!="function"&&typeof i!="symbol"?e.setAttribute(r,""):e.removeAttribute(r);break;case"capture":case"download":i===!0?e.setAttribute(r,""):i!==!1&&i!=null&&typeof i!="function"&&typeof i!="symbol"?e.setAttribute(r,i):e.removeAttribute(r);break;case"cols":case"rows":case"size":case"span":i!=null&&typeof i!="function"&&typeof i!="symbol"&&!isNaN(i)&&1<=i?e.setAttribute(r,i):e.removeAttribute(r);break;case"rowSpan":case"start":i==null||typeof i=="function"||typeof i=="symbol"||isNaN(i)?e.removeAttribute(r):e.setAttribute(r,i);break;case"popover":De("beforetoggle",e),De("toggle",e),_i(e,"popover",i);break;case"xlinkActuate":Un(e,"http://www.w3.org/1999/xlink","xlink:actuate",i);break;case"xlinkArcrole":Un(e,"http://www.w3.org/1999/xlink","xlink:arcrole",i);break;case"xlinkRole":Un(e,"http://www.w3.org/1999/xlink","xlink:role",i);break;case"xlinkShow":Un(e,"http://www.w3.org/1999/xlink","xlink:show",i);break;case"xlinkTitle":Un(e,"http://www.w3.org/1999/xlink","xlink:title",i);break;case"xlinkType":Un(e,"http://www.w3.org/1999/xlink","xlink:type",i);break;case"xmlBase":Un(e,"http://www.w3.org/XML/1998/namespace","xml:base",i);break;case"xmlLang":Un(e,"http://www.w3.org/XML/1998/namespace","xml:lang",i);break;case"xmlSpace":Un(e,"http://www.w3.org/XML/1998/namespace","xml:space",i);break;case"is":_i(e,"is",i);break;case"innerText":case"textContent":break;default:(!(2<r.length)||r[0]!=="o"&&r[0]!=="O"||r[1]!=="n"&&r[1]!=="N")&&(r=F5.get(r)||r,_i(e,r,i))}}function Xf(e,t,r,i,u,d){switch(r){case"style":_1(e,i,d);break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!="object"||!("__html"in i))throw Error(o(61));if(r=i.__html,r!=null){if(u.children!=null)throw Error(o(60));e.innerHTML=r}}break;case"children":typeof i=="string"?Pr(e,i):(typeof i=="number"||typeof i=="bigint")&&Pr(e,""+i);break;case"onScroll":i!=null&&De("scroll",e);break;case"onScrollEnd":i!=null&&De("scrollend",e);break;case"onClick":i!=null&&(e.onclick=Ts);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!b1.hasOwnProperty(r))e:{if(r[0]==="o"&&r[1]==="n"&&(u=r.endsWith("Capture"),t=r.slice(2,u?r.length-7:void 0),d=e[Mt]||null,d=d!=null?d[r]:null,typeof d=="function"&&e.removeEventListener(t,d,u),typeof i=="function")){typeof d!="function"&&d!==null&&(r in e?e[r]=null:e.hasAttribute(r)&&e.removeAttribute(r)),e.addEventListener(t,i,u);break e}r in e?e[r]=i:i===!0?e.setAttribute(r,""):_i(e,r,i)}}}function gt(e,t,r){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":De("error",e),De("load",e);var i=!1,u=!1,d;for(d in r)if(r.hasOwnProperty(d)){var b=r[d];if(b!=null)switch(d){case"src":i=!0;break;case"srcSet":u=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(o(137,t));default:qe(e,t,d,b,r,null)}}u&&qe(e,t,"srcSet",r.srcSet,r,null),i&&qe(e,t,"src",r.src,r,null);return;case"input":De("invalid",e);var S=d=b=u=null,_=null,P=null;for(i in r)if(r.hasOwnProperty(i)){var X=r[i];if(X!=null)switch(i){case"name":u=X;break;case"type":b=X;break;case"checked":_=X;break;case"defaultChecked":P=X;break;case"value":d=X;break;case"defaultValue":S=X;break;case"children":case"dangerouslySetInnerHTML":if(X!=null)throw Error(o(137,t));break;default:qe(e,t,i,X,r,null)}}T1(e,d,S,_,P,b,u,!1),Di(e);return;case"select":De("invalid",e),i=b=d=null;for(u in r)if(r.hasOwnProperty(u)&&(S=r[u],S!=null))switch(u){case"value":d=S;break;case"defaultValue":b=S;break;case"multiple":i=S;default:qe(e,t,u,S,r,null)}t=d,r=b,e.multiple=!!i,t!=null?kr(e,!!i,t,!1):r!=null&&kr(e,!!i,r,!0);return;case"textarea":De("invalid",e),d=u=i=null;for(b in r)if(r.hasOwnProperty(b)&&(S=r[b],S!=null))switch(b){case"value":i=S;break;case"defaultValue":u=S;break;case"children":d=S;break;case"dangerouslySetInnerHTML":if(S!=null)throw Error(o(91));break;default:qe(e,t,b,S,r,null)}O1(e,i,u,d),Di(e);return;case"option":for(_ in r)if(r.hasOwnProperty(_)&&(i=r[_],i!=null))switch(_){case"selected":e.selected=i&&typeof i!="function"&&typeof i!="symbol";break;default:qe(e,t,_,i,r,null)}return;case"dialog":De("beforetoggle",e),De("toggle",e),De("cancel",e),De("close",e);break;case"iframe":case"object":De("load",e);break;case"video":case"audio":for(i=0;i<Do.length;i++)De(Do[i],e);break;case"image":De("error",e),De("load",e);break;case"details":De("toggle",e);break;case"embed":case"source":case"link":De("error",e),De("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(P in r)if(r.hasOwnProperty(P)&&(i=r[P],i!=null))switch(P){case"children":case"dangerouslySetInnerHTML":throw Error(o(137,t));default:qe(e,t,P,i,r,null)}return;default:if(uc(t)){for(X in r)r.hasOwnProperty(X)&&(i=r[X],i!==void 0&&Xf(e,t,X,i,r,void 0));return}}for(S in r)r.hasOwnProperty(S)&&(i=r[S],i!=null&&qe(e,t,S,i,r,null))}function vx(e,t,r,i){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var u=null,d=null,b=null,S=null,_=null,P=null,X=null;for(V in r){var $=r[V];if(r.hasOwnProperty(V)&&$!=null)switch(V){case"checked":break;case"value":break;case"defaultValue":_=$;default:i.hasOwnProperty(V)||qe(e,t,V,null,i,$)}}for(var q in i){var V=i[q];if($=r[q],i.hasOwnProperty(q)&&(V!=null||$!=null))switch(q){case"type":d=V;break;case"name":u=V;break;case"checked":P=V;break;case"defaultChecked":X=V;break;case"value":b=V;break;case"defaultValue":S=V;break;case"children":case"dangerouslySetInnerHTML":if(V!=null)throw Error(o(137,t));break;default:V!==$&&qe(e,t,q,V,i,$)}}ic(e,b,S,_,P,X,d,u);return;case"select":V=b=S=q=null;for(d in r)if(_=r[d],r.hasOwnProperty(d)&&_!=null)switch(d){case"value":break;case"multiple":V=_;default:i.hasOwnProperty(d)||qe(e,t,d,null,i,_)}for(u in i)if(d=i[u],_=r[u],i.hasOwnProperty(u)&&(d!=null||_!=null))switch(u){case"value":q=d;break;case"defaultValue":S=d;break;case"multiple":b=d;default:d!==_&&qe(e,t,u,d,i,_)}t=S,r=b,i=V,q!=null?kr(e,!!r,q,!1):!!i!=!!r&&(t!=null?kr(e,!!r,t,!0):kr(e,!!r,r?[]:"",!1));return;case"textarea":V=q=null;for(S in r)if(u=r[S],r.hasOwnProperty(S)&&u!=null&&!i.hasOwnProperty(S))switch(S){case"value":break;case"children":break;default:qe(e,t,S,null,i,u)}for(b in i)if(u=i[b],d=r[b],i.hasOwnProperty(b)&&(u!=null||d!=null))switch(b){case"value":q=u;break;case"defaultValue":V=u;break;case"children":break;case"dangerouslySetInnerHTML":if(u!=null)throw Error(o(91));break;default:u!==d&&qe(e,t,b,u,i,d)}A1(e,q,V);return;case"option":for(var be in r)if(q=r[be],r.hasOwnProperty(be)&&q!=null&&!i.hasOwnProperty(be))switch(be){case"selected":e.selected=!1;break;default:qe(e,t,be,null,i,q)}for(_ in i)if(q=i[_],V=r[_],i.hasOwnProperty(_)&&q!==V&&(q!=null||V!=null))switch(_){case"selected":e.selected=q&&typeof q!="function"&&typeof q!="symbol";break;default:qe(e,t,_,q,i,V)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var ge in r)q=r[ge],r.hasOwnProperty(ge)&&q!=null&&!i.hasOwnProperty(ge)&&qe(e,t,ge,null,i,q);for(P in i)if(q=i[P],V=r[P],i.hasOwnProperty(P)&&q!==V&&(q!=null||V!=null))switch(P){case"children":case"dangerouslySetInnerHTML":if(q!=null)throw Error(o(137,t));break;default:qe(e,t,P,q,i,V)}return;default:if(uc(t)){for(var Ve in r)q=r[Ve],r.hasOwnProperty(Ve)&&q!==void 0&&!i.hasOwnProperty(Ve)&&Xf(e,t,Ve,void 0,i,q);for(X in i)q=i[X],V=r[X],!i.hasOwnProperty(X)||q===V||q===void 0&&V===void 0||Xf(e,t,X,q,i,V);return}}for(var U in r)q=r[U],r.hasOwnProperty(U)&&q!=null&&!i.hasOwnProperty(U)&&qe(e,t,U,null,i,q);for($ in i)q=i[$],V=r[$],!i.hasOwnProperty($)||q===V||q==null&&V==null||qe(e,t,$,q,i,V)}var Zf=null,If=null;function As(e){return e.nodeType===9?e:e.ownerDocument}function Mp(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function _p(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function $f(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Jf=null;function gx(){var e=window.event;return e&&e.type==="popstate"?e===Jf?!1:(Jf=e,!0):(Jf=null,!1)}var Np=typeof setTimeout=="function"?setTimeout:void 0,yx=typeof clearTimeout=="function"?clearTimeout:void 0,Dp=typeof Promise=="function"?Promise:void 0,bx=typeof queueMicrotask=="function"?queueMicrotask:typeof Dp!="undefined"?function(e){return Dp.resolve(null).then(e).catch(xx)}:Np;function xx(e){setTimeout(function(){throw e})}function Ra(e){return e==="head"}function jp(e,t){var r=t,i=0,u=0;do{var d=r.nextSibling;if(e.removeChild(r),d&&d.nodeType===8)if(r=d.data,r==="/$"){if(0<i&&8>i){r=i;var b=e.ownerDocument;if(r&1&&Lo(b.documentElement),r&2&&Lo(b.body),r&4)for(r=b.head,Lo(r),b=r.firstChild;b;){var S=b.nextSibling,_=b.nodeName;b[Xl]||_==="SCRIPT"||_==="STYLE"||_==="LINK"&&b.rel.toLowerCase()==="stylesheet"||r.removeChild(b),b=S}}if(u===0){e.removeChild(d),Vo(t);return}u--}else r==="$"||r==="$?"||r==="$!"?u++:i=r.charCodeAt(0)-48;else i=0;r=d}while(r);Vo(t)}function Wf(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var r=t;switch(t=t.nextSibling,r.nodeName){case"HTML":case"HEAD":case"BODY":Wf(r),ac(r);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(r.rel.toLowerCase()==="stylesheet")continue}e.removeChild(r)}}function wx(e,t,r,i){for(;e.nodeType===1;){var u=r;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!i&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(i){if(!e[Xl])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(d=e.getAttribute("rel"),d==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(d!==u.rel||e.getAttribute("href")!==(u.href==null||u.href===""?null:u.href)||e.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin)||e.getAttribute("title")!==(u.title==null?null:u.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(d=e.getAttribute("src"),(d!==(u.src==null?null:u.src)||e.getAttribute("type")!==(u.type==null?null:u.type)||e.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin))&&d&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var d=u.name==null?null:""+u.name;if(u.type==="hidden"&&e.getAttribute("name")===d)return e}else return e;if(e=mn(e.nextSibling),e===null)break}return null}function Sx(e,t,r){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!r||(e=mn(e.nextSibling),e===null))return null;return e}function ed(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState==="complete"}function Ex(e,t){var r=e.ownerDocument;if(e.data!=="$?"||r.readyState==="complete")t();else{var i=function(){t(),r.removeEventListener("DOMContentLoaded",i)};r.addEventListener("DOMContentLoaded",i),e._reactRetry=i}}function mn(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="F!"||t==="F")break;if(t==="/$")return null}}return e}var td=null;function Lp(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="$"||r==="$!"||r==="$?"){if(t===0)return e;t--}else r==="/$"&&t++}e=e.previousSibling}return null}function zp(e,t,r){switch(t=As(r),e){case"html":if(e=t.documentElement,!e)throw Error(o(452));return e;case"head":if(e=t.head,!e)throw Error(o(453));return e;case"body":if(e=t.body,!e)throw Error(o(454));return e;default:throw Error(o(451))}}function Lo(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);ac(e)}var on=new Map,Up=new Set;function Os(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var In=Z.d;Z.d={f:Cx,r:Rx,D:Tx,C:Ax,L:Ox,m:Mx,X:Nx,S:_x,M:Dx};function Cx(){var e=In.f(),t=bs();return e||t}function Rx(e){var t=zr(e);t!==null&&t.tag===5&&t.type==="form"?n0(t):In.r(e)}var pl=typeof document=="undefined"?null:document;function Bp(e,t,r){var i=pl;if(i&&typeof t=="string"&&t){var u=Wt(t);u='link[rel="'+e+'"][href="'+u+'"]',typeof r=="string"&&(u+='[crossorigin="'+r+'"]'),Up.has(u)||(Up.add(u),e={rel:e,crossOrigin:r,href:t},i.querySelector(u)===null&&(t=i.createElement("link"),gt(t,"link",e),ft(t),i.head.appendChild(t)))}}function Tx(e){In.D(e),Bp("dns-prefetch",e,null)}function Ax(e,t){In.C(e,t),Bp("preconnect",e,t)}function Ox(e,t,r){In.L(e,t,r);var i=pl;if(i&&e&&t){var u='link[rel="preload"][as="'+Wt(t)+'"]';t==="image"&&r&&r.imageSrcSet?(u+='[imagesrcset="'+Wt(r.imageSrcSet)+'"]',typeof r.imageSizes=="string"&&(u+='[imagesizes="'+Wt(r.imageSizes)+'"]')):u+='[href="'+Wt(e)+'"]';var d=u;switch(t){case"style":d=vl(e);break;case"script":d=gl(e)}on.has(d)||(e=g({rel:"preload",href:t==="image"&&r&&r.imageSrcSet?void 0:e,as:t},r),on.set(d,e),i.querySelector(u)!==null||t==="style"&&i.querySelector(zo(d))||t==="script"&&i.querySelector(Uo(d))||(t=i.createElement("link"),gt(t,"link",e),ft(t),i.head.appendChild(t)))}}function Mx(e,t){In.m(e,t);var r=pl;if(r&&e){var i=t&&typeof t.as=="string"?t.as:"script",u='link[rel="modulepreload"][as="'+Wt(i)+'"][href="'+Wt(e)+'"]',d=u;switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":d=gl(e)}if(!on.has(d)&&(e=g({rel:"modulepreload",href:e},t),on.set(d,e),r.querySelector(u)===null)){switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(r.querySelector(Uo(d)))return}i=r.createElement("link"),gt(i,"link",e),ft(i),r.head.appendChild(i)}}}function _x(e,t,r){In.S(e,t,r);var i=pl;if(i&&e){var u=Ur(i).hoistableStyles,d=vl(e);t=t||"default";var b=u.get(d);if(!b){var S={loading:0,preload:null};if(b=i.querySelector(zo(d)))S.loading=5;else{e=g({rel:"stylesheet",href:e,"data-precedence":t},r),(r=on.get(d))&&nd(e,r);var _=b=i.createElement("link");ft(_),gt(_,"link",e),_._p=new Promise(function(P,X){_.onload=P,_.onerror=X}),_.addEventListener("load",function(){S.loading|=1}),_.addEventListener("error",function(){S.loading|=2}),S.loading|=4,Ms(b,t,i)}b={type:"stylesheet",instance:b,count:1,state:S},u.set(d,b)}}}function Nx(e,t){In.X(e,t);var r=pl;if(r&&e){var i=Ur(r).hoistableScripts,u=gl(e),d=i.get(u);d||(d=r.querySelector(Uo(u)),d||(e=g({src:e,async:!0},t),(t=on.get(u))&&ad(e,t),d=r.createElement("script"),ft(d),gt(d,"link",e),r.head.appendChild(d)),d={type:"script",instance:d,count:1,state:null},i.set(u,d))}}function Dx(e,t){In.M(e,t);var r=pl;if(r&&e){var i=Ur(r).hoistableScripts,u=gl(e),d=i.get(u);d||(d=r.querySelector(Uo(u)),d||(e=g({src:e,async:!0,type:"module"},t),(t=on.get(u))&&ad(e,t),d=r.createElement("script"),ft(d),gt(d,"link",e),r.head.appendChild(d)),d={type:"script",instance:d,count:1,state:null},i.set(u,d))}}function Hp(e,t,r,i){var u=(u=ve.current)?Os(u):null;if(!u)throw Error(o(446));switch(e){case"meta":case"title":return null;case"style":return typeof r.precedence=="string"&&typeof r.href=="string"?(t=vl(r.href),r=Ur(u).hoistableStyles,i=r.get(t),i||(i={type:"style",instance:null,count:0,state:null},r.set(t,i)),i):{type:"void",instance:null,count:0,state:null};case"link":if(r.rel==="stylesheet"&&typeof r.href=="string"&&typeof r.precedence=="string"){e=vl(r.href);var d=Ur(u).hoistableStyles,b=d.get(e);if(b||(u=u.ownerDocument||u,b={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},d.set(e,b),(d=u.querySelector(zo(e)))&&!d._p&&(b.instance=d,b.state.loading=5),on.has(e)||(r={rel:"preload",as:"style",href:r.href,crossOrigin:r.crossOrigin,integrity:r.integrity,media:r.media,hrefLang:r.hrefLang,referrerPolicy:r.referrerPolicy},on.set(e,r),d||jx(u,e,r,b.state))),t&&i===null)throw Error(o(528,""));return b}if(t&&i!==null)throw Error(o(529,""));return null;case"script":return t=r.async,r=r.src,typeof r=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=gl(r),r=Ur(u).hoistableScripts,i=r.get(t),i||(i={type:"script",instance:null,count:0,state:null},r.set(t,i)),i):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,e))}}function vl(e){return'href="'+Wt(e)+'"'}function zo(e){return'link[rel="stylesheet"]['+e+"]"}function kp(e){return g({},e,{"data-precedence":e.precedence,precedence:null})}function jx(e,t,r,i){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?i.loading=1:(t=e.createElement("link"),i.preload=t,t.addEventListener("load",function(){return i.loading|=1}),t.addEventListener("error",function(){return i.loading|=2}),gt(t,"link",r),ft(t),e.head.appendChild(t))}function gl(e){return'[src="'+Wt(e)+'"]'}function Uo(e){return"script[async]"+e}function Pp(e,t,r){if(t.count++,t.instance===null)switch(t.type){case"style":var i=e.querySelector('style[data-href~="'+Wt(r.href)+'"]');if(i)return t.instance=i,ft(i),i;var u=g({},r,{"data-href":r.href,"data-precedence":r.precedence,href:null,precedence:null});return i=(e.ownerDocument||e).createElement("style"),ft(i),gt(i,"style",u),Ms(i,r.precedence,e),t.instance=i;case"stylesheet":u=vl(r.href);var d=e.querySelector(zo(u));if(d)return t.state.loading|=4,t.instance=d,ft(d),d;i=kp(r),(u=on.get(u))&&nd(i,u),d=(e.ownerDocument||e).createElement("link"),ft(d);var b=d;return b._p=new Promise(function(S,_){b.onload=S,b.onerror=_}),gt(d,"link",i),t.state.loading|=4,Ms(d,r.precedence,e),t.instance=d;case"script":return d=gl(r.src),(u=e.querySelector(Uo(d)))?(t.instance=u,ft(u),u):(i=r,(u=on.get(d))&&(i=g({},r),ad(i,u)),e=e.ownerDocument||e,u=e.createElement("script"),ft(u),gt(u,"link",i),e.head.appendChild(u),t.instance=u);case"void":return null;default:throw Error(o(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(i=t.instance,t.state.loading|=4,Ms(i,r.precedence,e));return t.instance}function Ms(e,t,r){for(var i=r.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),u=i.length?i[i.length-1]:null,d=u,b=0;b<i.length;b++){var S=i[b];if(S.dataset.precedence===t)d=S;else if(d!==u)break}d?d.parentNode.insertBefore(e,d.nextSibling):(t=r.nodeType===9?r.head:r,t.insertBefore(e,t.firstChild))}function nd(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function ad(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var _s=null;function qp(e,t,r){if(_s===null){var i=new Map,u=_s=new Map;u.set(r,i)}else u=_s,i=u.get(r),i||(i=new Map,u.set(r,i));if(i.has(e))return i;for(i.set(e,null),r=r.getElementsByTagName(e),u=0;u<r.length;u++){var d=r[u];if(!(d[Xl]||d[bt]||e==="link"&&d.getAttribute("rel")==="stylesheet")&&d.namespaceURI!=="http://www.w3.org/2000/svg"){var b=d.getAttribute(t)||"";b=e+b;var S=i.get(b);S?S.push(d):i.set(b,[d])}}return i}function Vp(e,t,r){e=e.ownerDocument||e,e.head.insertBefore(r,t==="title"?e.querySelector("head > title"):null)}function Lx(e,t,r){if(r===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function Gp(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}var Bo=null;function zx(){}function Ux(e,t,r){if(Bo===null)throw Error(o(475));var i=Bo;if(t.type==="stylesheet"&&(typeof r.media!="string"||matchMedia(r.media).matches!==!1)&&(t.state.loading&4)===0){if(t.instance===null){var u=vl(r.href),d=e.querySelector(zo(u));if(d){e=d._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(i.count++,i=Ns.bind(i),e.then(i,i)),t.state.loading|=4,t.instance=d,ft(d);return}d=e.ownerDocument||e,r=kp(r),(u=on.get(u))&&nd(r,u),d=d.createElement("link"),ft(d);var b=d;b._p=new Promise(function(S,_){b.onload=S,b.onerror=_}),gt(d,"link",r),t.instance=d}i.stylesheets===null&&(i.stylesheets=new Map),i.stylesheets.set(t,e),(e=t.state.preload)&&(t.state.loading&3)===0&&(i.count++,t=Ns.bind(i),e.addEventListener("load",t),e.addEventListener("error",t))}}function Bx(){if(Bo===null)throw Error(o(475));var e=Bo;return e.stylesheets&&e.count===0&&rd(e,e.stylesheets),0<e.count?function(t){var r=setTimeout(function(){if(e.stylesheets&&rd(e,e.stylesheets),e.unsuspend){var i=e.unsuspend;e.unsuspend=null,i()}},6e4);return e.unsuspend=t,function(){e.unsuspend=null,clearTimeout(r)}}:null}function Ns(){if(this.count--,this.count===0){if(this.stylesheets)rd(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Ds=null;function rd(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Ds=new Map,t.forEach(Hx,e),Ds=null,Ns.call(e))}function Hx(e,t){if(!(t.state.loading&4)){var r=Ds.get(e);if(r)var i=r.get(null);else{r=new Map,Ds.set(e,r);for(var u=e.querySelectorAll("link[data-precedence],style[data-precedence]"),d=0;d<u.length;d++){var b=u[d];(b.nodeName==="LINK"||b.getAttribute("media")!=="not all")&&(r.set(b.dataset.precedence,b),i=b)}i&&r.set(null,i)}u=t.instance,b=u.getAttribute("data-precedence"),d=r.get(b)||i,d===i&&r.set(null,u),r.set(b,u),this.count++,i=Ns.bind(this),u.addEventListener("load",i),u.addEventListener("error",i),d?d.parentNode.insertBefore(u,d.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(u,e.firstChild)),t.state.loading|=4}}var Ho={$$typeof:D,Provider:null,Consumer:null,_currentValue:Y,_currentValue2:Y,_threadCount:0};function kx(e,t,r,i,u,d,b,S){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Wu(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Wu(0),this.hiddenUpdates=Wu(null),this.identifierPrefix=i,this.onUncaughtError=u,this.onCaughtError=d,this.onRecoverableError=b,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=S,this.incompleteTransitions=new Map}function Yp(e,t,r,i,u,d,b,S,_,P,X,$){return e=new kx(e,t,r,b,S,_,P,$),t=1,d===!0&&(t|=24),d=Gt(3,null,null,t),e.current=d,d.stateNode=e,t=Hc(),t.refCount++,e.pooledCache=t,t.refCount++,d.memoizedState={element:i,isDehydrated:r,cache:t},Vc(d),e}function Fp(e){return e?(e=Xr,e):Xr}function Kp(e,t,r,i,u,d){u=Fp(u),i.context===null?i.context=u:i.pendingContext=u,i=da(t),i.payload={element:r},d=d===void 0?null:d,d!==null&&(i.callback=d),r=ha(e,i,t),r!==null&&(Xt(r,e,t),mo(r,e,t))}function Qp(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var r=e.retryLane;e.retryLane=r!==0&&r<t?r:t}}function ld(e,t){Qp(e,t),(e=e.alternate)&&Qp(e,t)}function Xp(e){if(e.tag===13){var t=Qr(e,67108864);t!==null&&Xt(t,e,67108864),ld(e,67108864)}}var js=!0;function Px(e,t,r,i){var u=H.T;H.T=null;var d=Z.p;try{Z.p=2,od(e,t,r,i)}finally{Z.p=d,H.T=u}}function qx(e,t,r,i){var u=H.T;H.T=null;var d=Z.p;try{Z.p=8,od(e,t,r,i)}finally{Z.p=d,H.T=u}}function od(e,t,r,i){if(js){var u=id(i);if(u===null)Qf(e,t,i,Ls,r),Ip(e,i);else if(Gx(u,e,t,r,i))i.stopPropagation();else if(Ip(e,i),t&4&&-1<Vx.indexOf(e)){for(;u!==null;){var d=zr(u);if(d!==null)switch(d.tag){case 3:if(d=d.stateNode,d.current.memoizedState.isDehydrated){var b=Qa(d.pendingLanes);if(b!==0){var S=d;for(S.pendingLanes|=2,S.entangledLanes|=2;b;){var _=1<<31-qt(b);S.entanglements[1]|=_,b&=~_}Tn(d),(He&6)===0&&(gs=kt()+500,No(0))}}break;case 13:S=Qr(d,2),S!==null&&Xt(S,d,2),bs(),ld(d,2)}if(d=id(i),d===null&&Qf(e,t,i,Ls,r),d===u)break;u=d}u!==null&&i.stopPropagation()}else Qf(e,t,i,null,r)}}function id(e){return e=fc(e),sd(e)}var Ls=null;function sd(e){if(Ls=null,e=Lr(e),e!==null){var t=c(e);if(t===null)e=null;else{var r=t.tag;if(r===13){if(e=f(t),e!==null)return e;e=null}else if(r===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return Ls=e,null}function Zp(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Ju()){case Ri:return 2;case Ti:return 8;case Nr:case Dr:return 32;case f1:return 268435456;default:return 32}default:return 32}}var ud=!1,Ta=null,Aa=null,Oa=null,ko=new Map,Po=new Map,Ma=[],Vx="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function Ip(e,t){switch(e){case"focusin":case"focusout":Ta=null;break;case"dragenter":case"dragleave":Aa=null;break;case"mouseover":case"mouseout":Oa=null;break;case"pointerover":case"pointerout":ko.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Po.delete(t.pointerId)}}function qo(e,t,r,i,u,d){return e===null||e.nativeEvent!==d?(e={blockedOn:t,domEventName:r,eventSystemFlags:i,nativeEvent:d,targetContainers:[u]},t!==null&&(t=zr(t),t!==null&&Xp(t)),e):(e.eventSystemFlags|=i,t=e.targetContainers,u!==null&&t.indexOf(u)===-1&&t.push(u),e)}function Gx(e,t,r,i,u){switch(t){case"focusin":return Ta=qo(Ta,e,t,r,i,u),!0;case"dragenter":return Aa=qo(Aa,e,t,r,i,u),!0;case"mouseover":return Oa=qo(Oa,e,t,r,i,u),!0;case"pointerover":var d=u.pointerId;return ko.set(d,qo(ko.get(d)||null,e,t,r,i,u)),!0;case"gotpointercapture":return d=u.pointerId,Po.set(d,qo(Po.get(d)||null,e,t,r,i,u)),!0}return!1}function $p(e){var t=Lr(e.target);if(t!==null){var r=c(t);if(r!==null){if(t=r.tag,t===13){if(t=f(r),t!==null){e.blockedOn=t,U5(e.priority,function(){if(r.tag===13){var i=Qt();i=ec(i);var u=Qr(r,i);u!==null&&Xt(u,r,i),ld(r,i)}});return}}else if(t===3&&r.stateNode.current.memoizedState.isDehydrated){e.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}e.blockedOn=null}function zs(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var r=id(e.nativeEvent);if(r===null){r=e.nativeEvent;var i=new r.constructor(r.type,r);cc=i,r.target.dispatchEvent(i),cc=null}else return t=zr(r),t!==null&&Xp(t),e.blockedOn=r,!1;t.shift()}return!0}function Jp(e,t,r){zs(e)&&r.delete(t)}function Yx(){ud=!1,Ta!==null&&zs(Ta)&&(Ta=null),Aa!==null&&zs(Aa)&&(Aa=null),Oa!==null&&zs(Oa)&&(Oa=null),ko.forEach(Jp),Po.forEach(Jp)}function Us(e,t){e.blockedOn===t&&(e.blockedOn=null,ud||(ud=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,Yx)))}var Bs=null;function Wp(e){Bs!==e&&(Bs=e,n.unstable_scheduleCallback(n.unstable_NormalPriority,function(){Bs===e&&(Bs=null);for(var t=0;t<e.length;t+=3){var r=e[t],i=e[t+1],u=e[t+2];if(typeof i!="function"){if(sd(i||r)===null)continue;break}var d=zr(r);d!==null&&(e.splice(t,3),t-=3,sf(d,{pending:!0,data:u,method:r.method,action:i},i,u))}}))}function Vo(e){function t(_){return Us(_,e)}Ta!==null&&Us(Ta,e),Aa!==null&&Us(Aa,e),Oa!==null&&Us(Oa,e),ko.forEach(t),Po.forEach(t);for(var r=0;r<Ma.length;r++){var i=Ma[r];i.blockedOn===e&&(i.blockedOn=null)}for(;0<Ma.length&&(r=Ma[0],r.blockedOn===null);)$p(r),r.blockedOn===null&&Ma.shift();if(r=(e.ownerDocument||e).$$reactFormReplay,r!=null)for(i=0;i<r.length;i+=3){var u=r[i],d=r[i+1],b=u[Mt]||null;if(typeof d=="function")b||Wp(r);else if(b){var S=null;if(d&&d.hasAttribute("formAction")){if(u=d,b=d[Mt]||null)S=b.formAction;else if(sd(u)!==null)continue}else S=b.action;typeof S=="function"?r[i+1]=S:(r.splice(i,3),i-=3),Wp(r)}}}function cd(e){this._internalRoot=e}Hs.prototype.render=cd.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(o(409));var r=t.current,i=Qt();Kp(r,i,e,t,null,null)},Hs.prototype.unmount=cd.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Kp(e.current,2,null,e,null,null),bs(),t[jr]=null}};function Hs(e){this._internalRoot=e}Hs.prototype.unstable_scheduleHydration=function(e){if(e){var t=v1();e={blockedOn:null,target:e,priority:t};for(var r=0;r<Ma.length&&t!==0&&t<Ma[r].priority;r++);Ma.splice(r,0,e),r===0&&$p(e)}};var ev=a.version;if(ev!=="19.1.0")throw Error(o(527,ev,"19.1.0"));Z.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(o(188)):(e=Object.keys(e).join(","),Error(o(268,e)));return e=p(t),e=e!==null?m(e):null,e=e===null?null:e.stateNode,e};var Fx={bundleType:0,version:"19.1.0",rendererPackageName:"react-dom",currentDispatcherRef:H,reconcilerVersion:"19.1.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"){var ks=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ks.isDisabled&&ks.supportsFiber)try{Fl=ks.inject(Fx),Pt=ks}catch(e){}}return Yo.createRoot=function(e,t){if(!s(e))throw Error(o(299));var r=!1,i="",u=v0,d=g0,b=y0,S=null;return t!=null&&(t.unstable_strictMode===!0&&(r=!0),t.identifierPrefix!==void 0&&(i=t.identifierPrefix),t.onUncaughtError!==void 0&&(u=t.onUncaughtError),t.onCaughtError!==void 0&&(d=t.onCaughtError),t.onRecoverableError!==void 0&&(b=t.onRecoverableError),t.unstable_transitionCallbacks!==void 0&&(S=t.unstable_transitionCallbacks)),t=Yp(e,1,!1,null,null,r,i,u,d,b,S,null),e[jr]=t.current,Kf(e),new cd(t)},Yo.hydrateRoot=function(e,t,r){if(!s(e))throw Error(o(299));var i=!1,u="",d=v0,b=g0,S=y0,_=null,P=null;return r!=null&&(r.unstable_strictMode===!0&&(i=!0),r.identifierPrefix!==void 0&&(u=r.identifierPrefix),r.onUncaughtError!==void 0&&(d=r.onUncaughtError),r.onCaughtError!==void 0&&(b=r.onCaughtError),r.onRecoverableError!==void 0&&(S=r.onRecoverableError),r.unstable_transitionCallbacks!==void 0&&(_=r.unstable_transitionCallbacks),r.formState!==void 0&&(P=r.formState)),t=Yp(e,1,!0,t,r!=null?r:null,i,u,d,b,S,_,P),t.context=Fp(null),r=t.current,i=Qt(),i=ec(i),u=da(i),u.callback=null,ha(r,u,i),r=i,t.current.lanes=r,Ql(t,r),Tn(t),e[jr]=t.current,Kf(e),new Hs(t)},Yo.version="19.1.0",Yo}var pv;function r6(){if(pv)return gd.exports;pv=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__=="undefined"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(a){console.error(a)}}return n(),gd.exports=a6(),gd.exports}var l6=r6();const o6=xh(l6);var Tu=kg();const i6=xh(Tu);/**
 * @remix-run/router v1.23.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 Jo(){return Jo=Object.assign?Object.assign.bind():function(n){for(var a=1;a<arguments.length;a++){var l=arguments[a];for(var o in l)Object.prototype.hasOwnProperty.call(l,o)&&(n[o]=l[o])}return n},Jo.apply(this,arguments)}var qa;(function(n){n.Pop="POP",n.Push="PUSH",n.Replace="REPLACE"})(qa||(qa={}));const vv="popstate";function s6(n){n===void 0&&(n={});function a(o,s){let{pathname:c,search:f,hash:h}=o.location;return Yd("",{pathname:c,search:f,hash:h},s.state&&s.state.usr||null,s.state&&s.state.key||"default")}function l(o,s){return typeof s=="string"?s:cu(s)}return c6(a,l,null,n)}function ot(n,a){if(n===!1||n===null||typeof n=="undefined")throw new Error(a)}function Pg(n,a){if(!n){typeof console!="undefined"&&console.warn(a);try{throw new Error(a)}catch(l){}}}function u6(){return Math.random().toString(36).substr(2,8)}function gv(n,a){return{usr:n.state,key:n.key,idx:a}}function Yd(n,a,l,o){return l===void 0&&(l=null),Jo({pathname:typeof n=="string"?n:n.pathname,search:"",hash:""},typeof a=="string"?Ul(a):a,{state:l,key:a&&a.key||o||u6()})}function cu(n){let{pathname:a="/",search:l="",hash:o=""}=n;return l&&l!=="?"&&(a+=l.charAt(0)==="?"?l:"?"+l),o&&o!=="#"&&(a+=o.charAt(0)==="#"?o:"#"+o),a}function Ul(n){let a={};if(n){let l=n.indexOf("#");l>=0&&(a.hash=n.substr(l),n=n.substr(0,l));let o=n.indexOf("?");o>=0&&(a.search=n.substr(o),n=n.substr(0,o)),n&&(a.pathname=n)}return a}function c6(n,a,l,o){o===void 0&&(o={});let{window:s=document.defaultView,v5Compat:c=!1}=o,f=s.history,h=qa.Pop,p=null,m=g();m==null&&(m=0,f.replaceState(Jo({},f.state,{idx:m}),""));function g(){return(f.state||{idx:null}).idx}function y(){h=qa.Pop;let C=g(),M=C==null?null:C-m;m=C,p&&p({action:h,location:E.location,delta:M})}function w(C,M){h=qa.Push;let L=Yd(E.location,C,M);m=g()+1;let D=gv(L,m),z=E.createHref(L);try{f.pushState(D,"",z)}catch(j){if(j instanceof DOMException&&j.name==="DataCloneError")throw j;s.location.assign(z)}c&&p&&p({action:h,location:E.location,delta:1})}function T(C,M){h=qa.Replace;let L=Yd(E.location,C,M);m=g();let D=gv(L,m),z=E.createHref(L);f.replaceState(D,"",z),c&&p&&p({action:h,location:E.location,delta:0})}function A(C){let M=s.location.origin!=="null"?s.location.origin:s.location.href,L=typeof C=="string"?C:cu(C);return L=L.replace(/ $/,"%20"),ot(M,"No window.location.(origin|href) available to create URL for href: "+L),new URL(L,M)}let E={get action(){return h},get location(){return n(s,f)},listen(C){if(p)throw new Error("A history only accepts one active listener");return s.addEventListener(vv,y),p=C,()=>{s.removeEventListener(vv,y),p=null}},createHref(C){return a(s,C)},createURL:A,encodeLocation(C){let M=A(C);return{pathname:M.pathname,search:M.search,hash:M.hash}},push:w,replace:T,go(C){return f.go(C)}};return E}var yv;(function(n){n.data="data",n.deferred="deferred",n.redirect="redirect",n.error="error"})(yv||(yv={}));function f6(n,a,l){return l===void 0&&(l="/"),d6(n,a,l)}function d6(n,a,l,o){let s=typeof a=="string"?Ul(a):a,c=Sh(s.pathname||"/",l);if(c==null)return null;let f=qg(n);h6(f);let h=null;for(let p=0;h==null&&p<f.length;++p){let m=R6(c);h=S6(f[p],m)}return h}function qg(n,a,l,o){a===void 0&&(a=[]),l===void 0&&(l=[]),o===void 0&&(o="");let s=(c,f,h)=>{let p={relativePath:h===void 0?c.path||"":h,caseSensitive:c.caseSensitive===!0,childrenIndex:f,route:c};p.relativePath.startsWith("/")&&(ot(p.relativePath.startsWith(o),'Absolute route path "'+p.relativePath+'" nested under path '+('"'+o+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),p.relativePath=p.relativePath.slice(o.length));let m=Va([o,p.relativePath]),g=l.concat(p);c.children&&c.children.length>0&&(ot(c.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+m+'".')),qg(c.children,a,g,m)),!(c.path==null&&!c.index)&&a.push({path:m,score:x6(m,c.index),routesMeta:g})};return n.forEach((c,f)=>{var h;if(c.path===""||!((h=c.path)!=null&&h.includes("?")))s(c,f);else for(let p of Vg(c.path))s(c,f,p)}),a}function Vg(n){let a=n.split("/");if(a.length===0)return[];let[l,...o]=a,s=l.endsWith("?"),c=l.replace(/\?$/,"");if(o.length===0)return s?[c,""]:[c];let f=Vg(o.join("/")),h=[];return h.push(...f.map(p=>p===""?c:[c,p].join("/"))),s&&h.push(...f),h.map(p=>n.startsWith("/")&&p===""?"/":p)}function h6(n){n.sort((a,l)=>a.score!==l.score?l.score-a.score:w6(a.routesMeta.map(o=>o.childrenIndex),l.routesMeta.map(o=>o.childrenIndex)))}const m6=/^:[\w-]+$/,p6=3,v6=2,g6=1,y6=10,b6=-2,bv=n=>n==="*";function x6(n,a){let l=n.split("/"),o=l.length;return l.some(bv)&&(o+=b6),a&&(o+=v6),l.filter(s=>!bv(s)).reduce((s,c)=>s+(m6.test(c)?p6:c===""?g6:y6),o)}function w6(n,a){return n.length===a.length&&n.slice(0,-1).every((o,s)=>o===a[s])?n[n.length-1]-a[a.length-1]:0}function S6(n,a,l){let{routesMeta:o}=n,s={},c="/",f=[];for(let h=0;h<o.length;++h){let p=o[h],m=h===o.length-1,g=c==="/"?a:a.slice(c.length)||"/",y=E6({path:p.relativePath,caseSensitive:p.caseSensitive,end:m},g),w=p.route;if(!y)return null;Object.assign(s,y.params),f.push({params:s,pathname:Va([c,y.pathname]),pathnameBase:M6(Va([c,y.pathnameBase])),route:w}),y.pathnameBase!=="/"&&(c=Va([c,y.pathnameBase]))}return f}function E6(n,a){typeof n=="string"&&(n={path:n,caseSensitive:!1,end:!0});let[l,o]=C6(n.path,n.caseSensitive,n.end),s=a.match(l);if(!s)return null;let c=s[0],f=c.replace(/(.)\/+$/,"$1"),h=s.slice(1);return{params:o.reduce((m,g,y)=>{let{paramName:w,isOptional:T}=g;if(w==="*"){let E=h[y]||"";f=c.slice(0,c.length-E.length).replace(/(.)\/+$/,"$1")}const A=h[y];return T&&!A?m[w]=void 0:m[w]=(A||"").replace(/%2F/g,"/"),m},{}),pathname:c,pathnameBase:f,pattern:n}}function C6(n,a,l){a===void 0&&(a=!1),l===void 0&&(l=!0),Pg(n==="*"||!n.endsWith("*")||n.endsWith("/*"),'Route path "'+n+'" will be treated as if it were '+('"'+n.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+n.replace(/\*$/,"/*")+'".'));let o=[],s="^"+n.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(f,h,p)=>(o.push({paramName:h,isOptional:p!=null}),p?"/?([^\\/]+)?":"/([^\\/]+)"));return n.endsWith("*")?(o.push({paramName:"*"}),s+=n==="*"||n==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):l?s+="\\/*$":n!==""&&n!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,a?void 0:"i"),o]}function R6(n){try{return n.split("/").map(a=>decodeURIComponent(a).replace(/\//g,"%2F")).join("/")}catch(a){return Pg(!1,'The URL path "'+n+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+a+").")),n}}function Sh(n,a){if(a==="/")return n;if(!n.toLowerCase().startsWith(a.toLowerCase()))return null;let l=a.endsWith("/")?a.length-1:a.length,o=n.charAt(l);return o&&o!=="/"?null:n.slice(l)||"/"}function T6(n,a){a===void 0&&(a="/");let{pathname:l,search:o="",hash:s=""}=typeof n=="string"?Ul(n):n;return{pathname:l?l.startsWith("/")?l:A6(l,a):a,search:_6(o),hash:N6(s)}}function A6(n,a){let l=a.replace(/\/+$/,"").split("/");return n.split("/").forEach(s=>{s===".."?l.length>1&&l.pop():s!=="."&&l.push(s)}),l.length>1?l.join("/"):"/"}function wd(n,a,l,o){return"Cannot include a '"+n+"' character in a manually specified "+("`to."+a+"` field ["+JSON.stringify(o)+"].  Please separate it out to the ")+("`to."+l+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function O6(n){return n.filter((a,l)=>l===0||a.route.path&&a.route.path.length>0)}function Gg(n,a){let l=O6(n);return a?l.map((o,s)=>s===l.length-1?o.pathname:o.pathnameBase):l.map(o=>o.pathnameBase)}function Yg(n,a,l,o){o===void 0&&(o=!1);let s;typeof n=="string"?s=Ul(n):(s=Jo({},n),ot(!s.pathname||!s.pathname.includes("?"),wd("?","pathname","search",s)),ot(!s.pathname||!s.pathname.includes("#"),wd("#","pathname","hash",s)),ot(!s.search||!s.search.includes("#"),wd("#","search","hash",s)));let c=n===""||s.pathname==="",f=c?"/":s.pathname,h;if(f==null)h=l;else{let y=a.length-1;if(!o&&f.startsWith("..")){let w=f.split("/");for(;w[0]==="..";)w.shift(),y-=1;s.pathname=w.join("/")}h=y>=0?a[y]:"/"}let p=T6(s,h),m=f&&f!=="/"&&f.endsWith("/"),g=(c||f===".")&&l.endsWith("/");return!p.pathname.endsWith("/")&&(m||g)&&(p.pathname+="/"),p}const Va=n=>n.join("/").replace(/\/\/+/g,"/"),M6=n=>n.replace(/\/+$/,"").replace(/^\/*/,"/"),_6=n=>!n||n==="?"?"":n.startsWith("?")?n:"?"+n,N6=n=>!n||n==="#"?"":n.startsWith("#")?n:"#"+n;function D6(n){return n!=null&&typeof n.status=="number"&&typeof n.statusText=="string"&&typeof n.internal=="boolean"&&"data"in n}const Fg=["post","put","patch","delete"];new Set(Fg);const j6=["get",...Fg];new Set(j6);/**
 * React Router v6.30.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 Wo(){return Wo=Object.assign?Object.assign.bind():function(n){for(var a=1;a<arguments.length;a++){var l=arguments[a];for(var o in l)Object.prototype.hasOwnProperty.call(l,o)&&(n[o]=l[o])}return n},Wo.apply(this,arguments)}const Eh=v.createContext(null),L6=v.createContext(null),Cr=v.createContext(null),Au=v.createContext(null),la=v.createContext({outlet:null,matches:[],isDataRoute:!1}),Kg=v.createContext(null);function z6(n,a){let{relative:l}=a===void 0?{}:a;fi()||ot(!1);let{basename:o,navigator:s}=v.useContext(Cr),{hash:c,pathname:f,search:h}=Xg(n,{relative:l}),p=f;return o!=="/"&&(p=f==="/"?o:Va([o,f])),s.createHref({pathname:p,search:h,hash:c})}function fi(){return v.useContext(Au)!=null}function Rr(){return fi()||ot(!1),v.useContext(Au).location}function Qg(n){v.useContext(Cr).static||v.useLayoutEffect(n)}function Ou(){let{isDataRoute:n}=v.useContext(la);return n?I6():U6()}function U6(){fi()||ot(!1);let n=v.useContext(Eh),{basename:a,future:l,navigator:o}=v.useContext(Cr),{matches:s}=v.useContext(la),{pathname:c}=Rr(),f=JSON.stringify(Gg(s,l.v7_relativeSplatPath)),h=v.useRef(!1);return Qg(()=>{h.current=!0}),v.useCallback(function(m,g){if(g===void 0&&(g={}),!h.current)return;if(typeof m=="number"){o.go(m);return}let y=Yg(m,JSON.parse(f),c,g.relative==="path");n==null&&a!=="/"&&(y.pathname=y.pathname==="/"?a:Va([a,y.pathname])),(g.replace?o.replace:o.push)(y,g.state,g)},[a,o,f,c,n])}const B6=v.createContext(null);function H6(n){let a=v.useContext(la).outlet;return a&&v.createElement(B6.Provider,{value:n},a)}function lO(){let{matches:n}=v.useContext(la),a=n[n.length-1];return a?a.params:{}}function Xg(n,a){let{relative:l}=a===void 0?{}:a,{future:o}=v.useContext(Cr),{matches:s}=v.useContext(la),{pathname:c}=Rr(),f=JSON.stringify(Gg(s,o.v7_relativeSplatPath));return v.useMemo(()=>Yg(n,JSON.parse(f),c,l==="path"),[n,f,c,l])}function k6(n,a){return P6(n,a)}function P6(n,a,l,o){fi()||ot(!1);let{navigator:s,static:c}=v.useContext(Cr),{matches:f}=v.useContext(la),h=f[f.length-1],p=h?h.params:{};h&&h.pathname;let m=h?h.pathnameBase:"/";h&&h.route;let g=Rr(),y;if(a){var w;let M=typeof a=="string"?Ul(a):a;m==="/"||(w=M.pathname)!=null&&w.startsWith(m)||ot(!1),y=M}else y=g;let T=y.pathname||"/",A=T;if(m!=="/"){let M=m.replace(/^\//,"").split("/");A="/"+T.replace(/^\//,"").split("/").slice(M.length).join("/")}let E=f6(n,{pathname:A}),C=F6(E&&E.map(M=>Object.assign({},M,{params:Object.assign({},p,M.params),pathname:Va([m,s.encodeLocation?s.encodeLocation(M.pathname).pathname:M.pathname]),pathnameBase:M.pathnameBase==="/"?m:Va([m,s.encodeLocation?s.encodeLocation(M.pathnameBase).pathname:M.pathnameBase])})),f,l,o);return a&&C?v.createElement(Au.Provider,{value:{location:Wo({pathname:"/",search:"",hash:"",state:null,key:"default"},y),navigationType:qa.Pop}},C):C}function q6(){let n=Z6(),a=D6(n)?n.status+" "+n.statusText:n instanceof Error?n.message:JSON.stringify(n),l=n instanceof Error?n.stack:null,s={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"}},a),l?v.createElement("pre",{style:s},l):null,null)}const V6=v.createElement(q6,null);class G6 extends v.Component{constructor(a){super(a),this.state={location:a.location,revalidation:a.revalidation,error:a.error}}static getDerivedStateFromError(a){return{error:a}}static getDerivedStateFromProps(a,l){return l.location!==a.location||l.revalidation!=="idle"&&a.revalidation==="idle"?{error:a.error,location:a.location,revalidation:a.revalidation}:{error:a.error!==void 0?a.error:l.error,location:l.location,revalidation:a.revalidation||l.revalidation}}componentDidCatch(a,l){console.error("React Router caught the following error during render",a,l)}render(){return this.state.error!==void 0?v.createElement(la.Provider,{value:this.props.routeContext},v.createElement(Kg.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Y6(n){let{routeContext:a,match:l,children:o}=n,s=v.useContext(Eh);return s&&s.static&&s.staticContext&&(l.route.errorElement||l.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=l.route.id),v.createElement(la.Provider,{value:a},o)}function F6(n,a,l,o){var s;if(a===void 0&&(a=[]),l===void 0&&(l=null),o===void 0&&(o=null),n==null){var c;if(!l)return null;if(l.errors)n=l.matches;else if((c=o)!=null&&c.v7_partialHydration&&a.length===0&&!l.initialized&&l.matches.length>0)n=l.matches;else return null}let f=n,h=(s=l)==null?void 0:s.errors;if(h!=null){let g=f.findIndex(y=>y.route.id&&(h==null?void 0:h[y.route.id])!==void 0);g>=0||ot(!1),f=f.slice(0,Math.min(f.length,g+1))}let p=!1,m=-1;if(l&&o&&o.v7_partialHydration)for(let g=0;g<f.length;g++){let y=f[g];if((y.route.HydrateFallback||y.route.hydrateFallbackElement)&&(m=g),y.route.id){let{loaderData:w,errors:T}=l,A=y.route.loader&&w[y.route.id]===void 0&&(!T||T[y.route.id]===void 0);if(y.route.lazy||A){p=!0,m>=0?f=f.slice(0,m+1):f=[f[0]];break}}}return f.reduceRight((g,y,w)=>{let T,A=!1,E=null,C=null;l&&(T=h&&y.route.id?h[y.route.id]:void 0,E=y.route.errorElement||V6,p&&(m<0&&w===0?($6("route-fallback"),A=!0,C=null):m===w&&(A=!0,C=y.route.hydrateFallbackElement||null)));let M=a.concat(f.slice(0,w+1)),L=()=>{let D;return T?D=E:A?D=C:y.route.Component?D=v.createElement(y.route.Component,null):y.route.element?D=y.route.element:D=g,v.createElement(Y6,{match:y,routeContext:{outlet:g,matches:M,isDataRoute:l!=null},children:D})};return l&&(y.route.ErrorBoundary||y.route.errorElement||w===0)?v.createElement(G6,{location:l.location,revalidation:l.revalidation,component:E,error:T,children:L(),routeContext:{outlet:null,matches:M,isDataRoute:!0}}):L()},null)}var Zg=function(n){return n.UseBlocker="useBlocker",n.UseRevalidator="useRevalidator",n.UseNavigateStable="useNavigate",n}(Zg||{}),Ig=function(n){return n.UseBlocker="useBlocker",n.UseLoaderData="useLoaderData",n.UseActionData="useActionData",n.UseRouteError="useRouteError",n.UseNavigation="useNavigation",n.UseRouteLoaderData="useRouteLoaderData",n.UseMatches="useMatches",n.UseRevalidator="useRevalidator",n.UseNavigateStable="useNavigate",n.UseRouteId="useRouteId",n}(Ig||{});function K6(n){let a=v.useContext(Eh);return a||ot(!1),a}function Q6(n){let a=v.useContext(L6);return a||ot(!1),a}function X6(n){let a=v.useContext(la);return a||ot(!1),a}function $g(n){let a=X6(),l=a.matches[a.matches.length-1];return l.route.id||ot(!1),l.route.id}function Z6(){var n;let a=v.useContext(Kg),l=Q6(),o=$g();return a!==void 0?a:(n=l.errors)==null?void 0:n[o]}function I6(){let{router:n}=K6(Zg.UseNavigateStable),a=$g(Ig.UseNavigateStable),l=v.useRef(!1);return Qg(()=>{l.current=!0}),v.useCallback(function(s,c){c===void 0&&(c={}),l.current&&(typeof s=="number"?n.navigate(s):n.navigate(s,Wo({fromRouteId:a},c)))},[n,a])}const xv={};function $6(n,a,l){xv[n]||(xv[n]=!0)}function J6(n,a){n==null||n.v7_startTransition,n==null||n.v7_relativeSplatPath}function Jg(n){return H6(n.context)}function Js(n){ot(!1)}function W6(n){let{basename:a="/",children:l=null,location:o,navigationType:s=qa.Pop,navigator:c,static:f=!1,future:h}=n;fi()&&ot(!1);let p=a.replace(/^\/*/,"/"),m=v.useMemo(()=>({basename:p,navigator:c,static:f,future:Wo({v7_relativeSplatPath:!1},h)}),[p,h,c,f]);typeof o=="string"&&(o=Ul(o));let{pathname:g="/",search:y="",hash:w="",state:T=null,key:A="default"}=o,E=v.useMemo(()=>{let C=Sh(g,p);return C==null?null:{location:{pathname:C,search:y,hash:w,state:T,key:A},navigationType:s}},[p,g,y,w,T,A,s]);return E==null?null:v.createElement(Cr.Provider,{value:m},v.createElement(Au.Provider,{children:l,value:E}))}function ew(n){let{children:a,location:l}=n;return k6(Fd(a),l)}new Promise(()=>{});function Fd(n,a){a===void 0&&(a=[]);let l=[];return v.Children.forEach(n,(o,s)=>{if(!v.isValidElement(o))return;let c=[...a,s];if(o.type===v.Fragment){l.push.apply(l,Fd(o.props.children,c));return}o.type!==Js&&ot(!1),!o.props.index||!o.props.children||ot(!1);let f={id:o.props.id||c.join("-"),caseSensitive:o.props.caseSensitive,element:o.props.element,Component:o.props.Component,index:o.props.index,path:o.props.path,loader:o.props.loader,action:o.props.action,errorElement:o.props.errorElement,ErrorBoundary:o.props.ErrorBoundary,hasErrorBoundary:o.props.ErrorBoundary!=null||o.props.errorElement!=null,shouldRevalidate:o.props.shouldRevalidate,handle:o.props.handle,lazy:o.props.lazy};o.props.children&&(f.children=Fd(o.props.children,c)),l.push(f)}),l}/**
 * React Router DOM v6.30.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 Kd(){return Kd=Object.assign?Object.assign.bind():function(n){for(var a=1;a<arguments.length;a++){var l=arguments[a];for(var o in l)Object.prototype.hasOwnProperty.call(l,o)&&(n[o]=l[o])}return n},Kd.apply(this,arguments)}function tw(n,a){if(n==null)return{};var l={},o=Object.keys(n),s,c;for(c=0;c<o.length;c++)s=o[c],!(a.indexOf(s)>=0)&&(l[s]=n[s]);return l}function nw(n){return!!(n.metaKey||n.altKey||n.ctrlKey||n.shiftKey)}function aw(n,a){return n.button===0&&(!a||a==="_self")&&!nw(n)}function Qd(n){return n===void 0&&(n=""),new URLSearchParams(typeof n=="string"||Array.isArray(n)||n instanceof URLSearchParams?n:Object.keys(n).reduce((a,l)=>{let o=n[l];return a.concat(Array.isArray(o)?o.map(s=>[l,s]):[[l,o]])},[]))}function rw(n,a){let l=Qd(n);return a&&a.forEach((o,s)=>{l.has(s)||a.getAll(s).forEach(c=>{l.append(s,c)})}),l}const lw=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],ow="6";try{window.__reactRouterVersion=ow}catch(n){}const iw="startTransition",wv=wh[iw];function sw(n){let{basename:a,children:l,future:o,window:s}=n,c=v.useRef();c.current==null&&(c.current=s6({window:s,v5Compat:!0}));let f=c.current,[h,p]=v.useState({action:f.action,location:f.location}),{v7_startTransition:m}=o||{},g=v.useCallback(y=>{m&&wv?wv(()=>p(y)):p(y)},[p,m]);return v.useLayoutEffect(()=>f.listen(g),[f,g]),v.useEffect(()=>J6(o),[o]),v.createElement(W6,{basename:a,children:l,location:h.location,navigationType:h.action,navigator:f,future:o})}const uw=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined",cw=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Ws=v.forwardRef(function(a,l){let{onClick:o,relative:s,reloadDocument:c,replace:f,state:h,target:p,to:m,preventScrollReset:g,viewTransition:y}=a,w=tw(a,lw),{basename:T}=v.useContext(Cr),A,E=!1;if(typeof m=="string"&&cw.test(m)&&(A=m,uw))try{let D=new URL(window.location.href),z=m.startsWith("//")?new URL(D.protocol+m):new URL(m),j=Sh(z.pathname,T);z.origin===D.origin&&j!=null?m=j+z.search+z.hash:E=!0}catch(D){}let C=z6(m,{relative:s}),M=fw(m,{replace:f,state:h,target:p,preventScrollReset:g,relative:s,viewTransition:y});function L(D){o&&o(D),D.defaultPrevented||M(D)}return v.createElement("a",Kd({},w,{href:A||C,onClick:E||c?o:L,ref:l,target:p}))});var Sv;(function(n){n.UseScrollRestoration="useScrollRestoration",n.UseSubmit="useSubmit",n.UseSubmitFetcher="useSubmitFetcher",n.UseFetcher="useFetcher",n.useViewTransitionState="useViewTransitionState"})(Sv||(Sv={}));var Ev;(function(n){n.UseFetcher="useFetcher",n.UseFetchers="useFetchers",n.UseScrollRestoration="useScrollRestoration"})(Ev||(Ev={}));function fw(n,a){let{target:l,replace:o,state:s,preventScrollReset:c,relative:f,viewTransition:h}=a===void 0?{}:a,p=Ou(),m=Rr(),g=Xg(n,{relative:f});return v.useCallback(y=>{if(aw(y,l)){y.preventDefault();let w=o!==void 0?o:cu(m)===cu(g);p(n,{replace:w,state:s,preventScrollReset:c,relative:f,viewTransition:h})}},[m,p,g,o,s,l,n,c,f,h])}function oO(n){let a=v.useRef(Qd(n)),l=v.useRef(!1),o=Rr(),s=v.useMemo(()=>rw(o.search,l.current?null:a.current),[o.search]),c=Ou(),f=v.useCallback((h,p)=>{const m=Qd(typeof h=="function"?h(s):h);l.current=!0,c("?"+m,p)},[c,s]);return[s,f]}function Wg(n,a){return function(){return n.apply(a,arguments)}}const{toString:dw}=Object.prototype,{getPrototypeOf:Ch}=Object,{iterator:Mu,toStringTag:e2}=Symbol,_u=(n=>a=>{const l=dw.call(a);return n[l]||(n[l]=l.slice(8,-1).toLowerCase())})(Object.create(null)),xn=n=>(n=n.toLowerCase(),a=>_u(a)===n),Nu=n=>a=>typeof a===n,{isArray:Bl}=Array,ei=Nu("undefined");function hw(n){return n!==null&&!ei(n)&&n.constructor!==null&&!ei(n.constructor)&&Ut(n.constructor.isBuffer)&&n.constructor.isBuffer(n)}const t2=xn("ArrayBuffer");function mw(n){let a;return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?a=ArrayBuffer.isView(n):a=n&&n.buffer&&t2(n.buffer),a}const pw=Nu("string"),Ut=Nu("function"),n2=Nu("number"),Du=n=>n!==null&&typeof n=="object",vw=n=>n===!0||n===!1,eu=n=>{if(_u(n)!=="object")return!1;const a=Ch(n);return(a===null||a===Object.prototype||Object.getPrototypeOf(a)===null)&&!(e2 in n)&&!(Mu in n)},gw=xn("Date"),yw=xn("File"),bw=xn("Blob"),xw=xn("FileList"),ww=n=>Du(n)&&Ut(n.pipe),Sw=n=>{let a;return n&&(typeof FormData=="function"&&n instanceof FormData||Ut(n.append)&&((a=_u(n))==="formdata"||a==="object"&&Ut(n.toString)&&n.toString()==="[object FormData]"))},Ew=xn("URLSearchParams"),[Cw,Rw,Tw,Aw]=["ReadableStream","Request","Response","Headers"].map(xn),Ow=n=>n.trim?n.trim():n.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function di(n,a,{allOwnKeys:l=!1}={}){if(n===null||typeof n=="undefined")return;let o,s;if(typeof n!="object"&&(n=[n]),Bl(n))for(o=0,s=n.length;o<s;o++)a.call(null,n[o],o,n);else{const c=l?Object.getOwnPropertyNames(n):Object.keys(n),f=c.length;let h;for(o=0;o<f;o++)h=c[o],a.call(null,n[h],h,n)}}function a2(n,a){a=a.toLowerCase();const l=Object.keys(n);let o=l.length,s;for(;o-- >0;)if(s=l[o],a===s.toLowerCase())return s;return null}const hr=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:global,r2=n=>!ei(n)&&n!==hr;function Xd(){const{caseless:n}=r2(this)&&this||{},a={},l=(o,s)=>{const c=n&&a2(a,s)||s;eu(a[c])&&eu(o)?a[c]=Xd(a[c],o):eu(o)?a[c]=Xd({},o):Bl(o)?a[c]=o.slice():a[c]=o};for(let o=0,s=arguments.length;o<s;o++)arguments[o]&&di(arguments[o],l);return a}const Mw=(n,a,l,{allOwnKeys:o}={})=>(di(a,(s,c)=>{l&&Ut(s)?n[c]=Wg(s,l):n[c]=s},{allOwnKeys:o}),n),_w=n=>(n.charCodeAt(0)===65279&&(n=n.slice(1)),n),Nw=(n,a,l,o)=>{n.prototype=Object.create(a.prototype,o),n.prototype.constructor=n,Object.defineProperty(n,"super",{value:a.prototype}),l&&Object.assign(n.prototype,l)},Dw=(n,a,l,o)=>{let s,c,f;const h={};if(a=a||{},n==null)return a;do{for(s=Object.getOwnPropertyNames(n),c=s.length;c-- >0;)f=s[c],(!o||o(f,n,a))&&!h[f]&&(a[f]=n[f],h[f]=!0);n=l!==!1&&Ch(n)}while(n&&(!l||l(n,a))&&n!==Object.prototype);return a},jw=(n,a,l)=>{n=String(n),(l===void 0||l>n.length)&&(l=n.length),l-=a.length;const o=n.indexOf(a,l);return o!==-1&&o===l},Lw=n=>{if(!n)return null;if(Bl(n))return n;let a=n.length;if(!n2(a))return null;const l=new Array(a);for(;a-- >0;)l[a]=n[a];return l},zw=(n=>a=>n&&a instanceof n)(typeof Uint8Array!="undefined"&&Ch(Uint8Array)),Uw=(n,a)=>{const o=(n&&n[Mu]).call(n);let s;for(;(s=o.next())&&!s.done;){const c=s.value;a.call(n,c[0],c[1])}},Bw=(n,a)=>{let l;const o=[];for(;(l=n.exec(a))!==null;)o.push(l);return o},Hw=xn("HTMLFormElement"),kw=n=>n.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(l,o,s){return o.toUpperCase()+s}),Cv=(({hasOwnProperty:n})=>(a,l)=>n.call(a,l))(Object.prototype),Pw=xn("RegExp"),l2=(n,a)=>{const l=Object.getOwnPropertyDescriptors(n),o={};di(l,(s,c)=>{let f;(f=a(s,c,n))!==!1&&(o[c]=f||s)}),Object.defineProperties(n,o)},qw=n=>{l2(n,(a,l)=>{if(Ut(n)&&["arguments","caller","callee"].indexOf(l)!==-1)return!1;const o=n[l];if(Ut(o)){if(a.enumerable=!1,"writable"in a){a.writable=!1;return}a.set||(a.set=()=>{throw Error("Can not rewrite read-only method '"+l+"'")})}})},Vw=(n,a)=>{const l={},o=s=>{s.forEach(c=>{l[c]=!0})};return Bl(n)?o(n):o(String(n).split(a)),l},Gw=()=>{},Yw=(n,a)=>n!=null&&Number.isFinite(n=+n)?n:a;function Fw(n){return!!(n&&Ut(n.append)&&n[e2]==="FormData"&&n[Mu])}const Kw=n=>{const a=new Array(10),l=(o,s)=>{if(Du(o)){if(a.indexOf(o)>=0)return;if(!("toJSON"in o)){a[s]=o;const c=Bl(o)?[]:{};return di(o,(f,h)=>{const p=l(f,s+1);!ei(p)&&(c[h]=p)}),a[s]=void 0,c}}return o};return l(n,0)},Qw=xn("AsyncFunction"),Xw=n=>n&&(Du(n)||Ut(n))&&Ut(n.then)&&Ut(n.catch),o2=((n,a)=>n?setImmediate:a?((l,o)=>(hr.addEventListener("message",({source:s,data:c})=>{s===hr&&c===l&&o.length&&o.shift()()},!1),s=>{o.push(s),hr.postMessage(l,"*")}))(`axios@${Math.random()}`,[]):l=>setTimeout(l))(typeof setImmediate=="function",Ut(hr.postMessage)),Zw=typeof queueMicrotask!="undefined"?queueMicrotask.bind(hr):typeof process!="undefined"&&process.nextTick||o2,Iw=n=>n!=null&&Ut(n[Mu]),Q={isArray:Bl,isArrayBuffer:t2,isBuffer:hw,isFormData:Sw,isArrayBufferView:mw,isString:pw,isNumber:n2,isBoolean:vw,isObject:Du,isPlainObject:eu,isReadableStream:Cw,isRequest:Rw,isResponse:Tw,isHeaders:Aw,isUndefined:ei,isDate:gw,isFile:yw,isBlob:bw,isRegExp:Pw,isFunction:Ut,isStream:ww,isURLSearchParams:Ew,isTypedArray:zw,isFileList:xw,forEach:di,merge:Xd,extend:Mw,trim:Ow,stripBOM:_w,inherits:Nw,toFlatObject:Dw,kindOf:_u,kindOfTest:xn,endsWith:jw,toArray:Lw,forEachEntry:Uw,matchAll:Bw,isHTMLForm:Hw,hasOwnProperty:Cv,hasOwnProp:Cv,reduceDescriptors:l2,freezeMethods:qw,toObjectSet:Vw,toCamelCase:kw,noop:Gw,toFiniteNumber:Yw,findKey:a2,global:hr,isContextDefined:r2,isSpecCompliantForm:Fw,toJSONObject:Kw,isAsyncFn:Qw,isThenable:Xw,setImmediate:o2,asap:Zw,isIterable:Iw};function Ee(n,a,l,o,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=n,this.name="AxiosError",a&&(this.code=a),l&&(this.config=l),o&&(this.request=o),s&&(this.response=s,this.status=s.status?s.status:null)}Q.inherits(Ee,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Q.toJSONObject(this.config),code:this.code,status:this.status}}});const i2=Ee.prototype,s2={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(n=>{s2[n]={value:n}});Object.defineProperties(Ee,s2);Object.defineProperty(i2,"isAxiosError",{value:!0});Ee.from=(n,a,l,o,s,c)=>{const f=Object.create(i2);return Q.toFlatObject(n,f,function(p){return p!==Error.prototype},h=>h!=="isAxiosError"),Ee.call(f,n.message,a,l,o,s),f.cause=n,f.name=n.name,c&&Object.assign(f,c),f};const $w=null;function Zd(n){return Q.isPlainObject(n)||Q.isArray(n)}function u2(n){return Q.endsWith(n,"[]")?n.slice(0,-2):n}function Rv(n,a,l){return n?n.concat(a).map(function(s,c){return s=u2(s),!l&&c?"["+s+"]":s}).join(l?".":""):a}function Jw(n){return Q.isArray(n)&&!n.some(Zd)}const Ww=Q.toFlatObject(Q,{},null,function(a){return/^is[A-Z]/.test(a)});function ju(n,a,l){if(!Q.isObject(n))throw new TypeError("target must be an object");a=a||new FormData,l=Q.toFlatObject(l,{metaTokens:!0,dots:!1,indexes:!1},!1,function(E,C){return!Q.isUndefined(C[E])});const o=l.metaTokens,s=l.visitor||g,c=l.dots,f=l.indexes,p=(l.Blob||typeof Blob!="undefined"&&Blob)&&Q.isSpecCompliantForm(a);if(!Q.isFunction(s))throw new TypeError("visitor must be a function");function m(A){if(A===null)return"";if(Q.isDate(A))return A.toISOString();if(!p&&Q.isBlob(A))throw new Ee("Blob is not supported. Use a Buffer instead.");return Q.isArrayBuffer(A)||Q.isTypedArray(A)?p&&typeof Blob=="function"?new Blob([A]):Buffer.from(A):A}function g(A,E,C){let M=A;if(A&&!C&&typeof A=="object"){if(Q.endsWith(E,"{}"))E=o?E:E.slice(0,-2),A=JSON.stringify(A);else if(Q.isArray(A)&&Jw(A)||(Q.isFileList(A)||Q.endsWith(E,"[]"))&&(M=Q.toArray(A)))return E=u2(E),M.forEach(function(D,z){!(Q.isUndefined(D)||D===null)&&a.append(f===!0?Rv([E],z,c):f===null?E:E+"[]",m(D))}),!1}return Zd(A)?!0:(a.append(Rv(C,E,c),m(A)),!1)}const y=[],w=Object.assign(Ww,{defaultVisitor:g,convertValue:m,isVisitable:Zd});function T(A,E){if(!Q.isUndefined(A)){if(y.indexOf(A)!==-1)throw Error("Circular reference detected in "+E.join("."));y.push(A),Q.forEach(A,function(M,L){(!(Q.isUndefined(M)||M===null)&&s.call(a,M,Q.isString(L)?L.trim():L,E,w))===!0&&T(M,E?E.concat(L):[L])}),y.pop()}}if(!Q.isObject(n))throw new TypeError("data must be an object");return T(n),a}function Tv(n){const a={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(n).replace(/[!'()~]|%20|%00/g,function(o){return a[o]})}function Rh(n,a){this._pairs=[],n&&ju(n,this,a)}const c2=Rh.prototype;c2.append=function(a,l){this._pairs.push([a,l])};c2.toString=function(a){const l=a?function(o){return a.call(this,o,Tv)}:Tv;return this._pairs.map(function(s){return l(s[0])+"="+l(s[1])},"").join("&")};function eS(n){return encodeURIComponent(n).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function f2(n,a,l){if(!a)return n;const o=l&&l.encode||eS;Q.isFunction(l)&&(l={serialize:l});const s=l&&l.serialize;let c;if(s?c=s(a,l):c=Q.isURLSearchParams(a)?a.toString():new Rh(a,l).toString(o),c){const f=n.indexOf("#");f!==-1&&(n=n.slice(0,f)),n+=(n.indexOf("?")===-1?"?":"&")+c}return n}class Av{constructor(){this.handlers=[]}use(a,l,o){return this.handlers.push({fulfilled:a,rejected:l,synchronous:o?o.synchronous:!1,runWhen:o?o.runWhen:null}),this.handlers.length-1}eject(a){this.handlers[a]&&(this.handlers[a]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(a){Q.forEach(this.handlers,function(o){o!==null&&a(o)})}}const d2={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},tS=typeof URLSearchParams!="undefined"?URLSearchParams:Rh,nS=typeof FormData!="undefined"?FormData:null,aS=typeof Blob!="undefined"?Blob:null,rS={isBrowser:!0,classes:{URLSearchParams:tS,FormData:nS,Blob:aS},protocols:["http","https","file","blob","url","data"]},Th=typeof window!="undefined"&&typeof document!="undefined",Id=typeof navigator=="object"&&navigator||void 0,lS=Th&&(!Id||["ReactNative","NativeScript","NS"].indexOf(Id.product)<0),oS=typeof WorkerGlobalScope!="undefined"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",iS=Th&&window.location.href||"http://localhost",sS=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Th,hasStandardBrowserEnv:lS,hasStandardBrowserWebWorkerEnv:oS,navigator:Id,origin:iS},Symbol.toStringTag,{value:"Module"})),Ct=R(R({},sS),rS);function uS(n,a){return ju(n,new Ct.classes.URLSearchParams,Object.assign({visitor:function(l,o,s,c){return Ct.isNode&&Q.isBuffer(l)?(this.append(o,l.toString("base64")),!1):c.defaultVisitor.apply(this,arguments)}},a))}function cS(n){return Q.matchAll(/\w+|\[(\w*)]/g,n).map(a=>a[0]==="[]"?"":a[1]||a[0])}function fS(n){const a={},l=Object.keys(n);let o;const s=l.length;let c;for(o=0;o<s;o++)c=l[o],a[c]=n[c];return a}function h2(n){function a(l,o,s,c){let f=l[c++];if(f==="__proto__")return!0;const h=Number.isFinite(+f),p=c>=l.length;return f=!f&&Q.isArray(s)?s.length:f,p?(Q.hasOwnProp(s,f)?s[f]=[s[f],o]:s[f]=o,!h):((!s[f]||!Q.isObject(s[f]))&&(s[f]=[]),a(l,o,s[f],c)&&Q.isArray(s[f])&&(s[f]=fS(s[f])),!h)}if(Q.isFormData(n)&&Q.isFunction(n.entries)){const l={};return Q.forEachEntry(n,(o,s)=>{a(cS(o),s,l,0)}),l}return null}function dS(n,a,l){if(Q.isString(n))try{return(a||JSON.parse)(n),Q.trim(n)}catch(o){if(o.name!=="SyntaxError")throw o}return(l||JSON.stringify)(n)}const hi={transitional:d2,adapter:["xhr","http","fetch"],transformRequest:[function(a,l){const o=l.getContentType()||"",s=o.indexOf("application/json")>-1,c=Q.isObject(a);if(c&&Q.isHTMLForm(a)&&(a=new FormData(a)),Q.isFormData(a))return s?JSON.stringify(h2(a)):a;if(Q.isArrayBuffer(a)||Q.isBuffer(a)||Q.isStream(a)||Q.isFile(a)||Q.isBlob(a)||Q.isReadableStream(a))return a;if(Q.isArrayBufferView(a))return a.buffer;if(Q.isURLSearchParams(a))return l.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),a.toString();let h;if(c){if(o.indexOf("application/x-www-form-urlencoded")>-1)return uS(a,this.formSerializer).toString();if((h=Q.isFileList(a))||o.indexOf("multipart/form-data")>-1){const p=this.env&&this.env.FormData;return ju(h?{"files[]":a}:a,p&&new p,this.formSerializer)}}return c||s?(l.setContentType("application/json",!1),dS(a)):a}],transformResponse:[function(a){const l=this.transitional||hi.transitional,o=l&&l.forcedJSONParsing,s=this.responseType==="json";if(Q.isResponse(a)||Q.isReadableStream(a))return a;if(a&&Q.isString(a)&&(o&&!this.responseType||s)){const f=!(l&&l.silentJSONParsing)&&s;try{return JSON.parse(a)}catch(h){if(f)throw h.name==="SyntaxError"?Ee.from(h,Ee.ERR_BAD_RESPONSE,this,null,this.response):h}}return a}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ct.classes.FormData,Blob:Ct.classes.Blob},validateStatus:function(a){return a>=200&&a<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Q.forEach(["delete","get","head","post","put","patch"],n=>{hi.headers[n]={}});const hS=Q.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),mS=n=>{const a={};let l,o,s;return n&&n.split(`
`).forEach(function(f){s=f.indexOf(":"),l=f.substring(0,s).trim().toLowerCase(),o=f.substring(s+1).trim(),!(!l||a[l]&&hS[l])&&(l==="set-cookie"?a[l]?a[l].push(o):a[l]=[o]:a[l]=a[l]?a[l]+", "+o:o)}),a},Ov=Symbol("internals");function Fo(n){return n&&String(n).trim().toLowerCase()}function tu(n){return n===!1||n==null?n:Q.isArray(n)?n.map(tu):String(n)}function pS(n){const a=Object.create(null),l=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let o;for(;o=l.exec(n);)a[o[1]]=o[2];return a}const vS=n=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(n.trim());function Sd(n,a,l,o,s){if(Q.isFunction(o))return o.call(this,a,l);if(s&&(a=l),!!Q.isString(a)){if(Q.isString(o))return a.indexOf(o)!==-1;if(Q.isRegExp(o))return o.test(a)}}function gS(n){return n.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(a,l,o)=>l.toUpperCase()+o)}function yS(n,a){const l=Q.toCamelCase(" "+a);["get","set","has"].forEach(o=>{Object.defineProperty(n,o+l,{value:function(s,c,f){return this[o].call(this,a,s,c,f)},configurable:!0})})}let Bt=class{constructor(a){a&&this.set(a)}set(a,l,o){const s=this;function c(h,p,m){const g=Fo(p);if(!g)throw new Error("header name must be a non-empty string");const y=Q.findKey(s,g);(!y||s[y]===void 0||m===!0||m===void 0&&s[y]!==!1)&&(s[y||p]=tu(h))}const f=(h,p)=>Q.forEach(h,(m,g)=>c(m,g,p));if(Q.isPlainObject(a)||a instanceof this.constructor)f(a,l);else if(Q.isString(a)&&(a=a.trim())&&!vS(a))f(mS(a),l);else if(Q.isObject(a)&&Q.isIterable(a)){let h={},p,m;for(const g of a){if(!Q.isArray(g))throw TypeError("Object iterator must return a key-value pair");h[m=g[0]]=(p=h[m])?Q.isArray(p)?[...p,g[1]]:[p,g[1]]:g[1]}f(h,l)}else a!=null&&c(l,a,o);return this}get(a,l){if(a=Fo(a),a){const o=Q.findKey(this,a);if(o){const s=this[o];if(!l)return s;if(l===!0)return pS(s);if(Q.isFunction(l))return l.call(this,s,o);if(Q.isRegExp(l))return l.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(a,l){if(a=Fo(a),a){const o=Q.findKey(this,a);return!!(o&&this[o]!==void 0&&(!l||Sd(this,this[o],o,l)))}return!1}delete(a,l){const o=this;let s=!1;function c(f){if(f=Fo(f),f){const h=Q.findKey(o,f);h&&(!l||Sd(o,o[h],h,l))&&(delete o[h],s=!0)}}return Q.isArray(a)?a.forEach(c):c(a),s}clear(a){const l=Object.keys(this);let o=l.length,s=!1;for(;o--;){const c=l[o];(!a||Sd(this,this[c],c,a,!0))&&(delete this[c],s=!0)}return s}normalize(a){const l=this,o={};return Q.forEach(this,(s,c)=>{const f=Q.findKey(o,c);if(f){l[f]=tu(s),delete l[c];return}const h=a?gS(c):String(c).trim();h!==c&&delete l[c],l[h]=tu(s),o[h]=!0}),this}concat(...a){return this.constructor.concat(this,...a)}toJSON(a){const l=Object.create(null);return Q.forEach(this,(o,s)=>{o!=null&&o!==!1&&(l[s]=a&&Q.isArray(o)?o.join(", "):o)}),l}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([a,l])=>a+": "+l).join(`
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(a){return a instanceof this?a:new this(a)}static concat(a,...l){const o=new this(a);return l.forEach(s=>o.set(s)),o}static accessor(a){const o=(this[Ov]=this[Ov]={accessors:{}}).accessors,s=this.prototype;function c(f){const h=Fo(f);o[h]||(yS(s,f),o[h]=!0)}return Q.isArray(a)?a.forEach(c):c(a),this}};Bt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);Q.reduceDescriptors(Bt.prototype,({value:n},a)=>{let l=a[0].toUpperCase()+a.slice(1);return{get:()=>n,set(o){this[l]=o}}});Q.freezeMethods(Bt);function Ed(n,a){const l=this||hi,o=a||l,s=Bt.from(o.headers);let c=o.data;return Q.forEach(n,function(h){c=h.call(l,c,s.normalize(),a?a.status:void 0)}),s.normalize(),c}function m2(n){return!!(n&&n.__CANCEL__)}function Hl(n,a,l){Ee.call(this,n==null?"canceled":n,Ee.ERR_CANCELED,a,l),this.name="CanceledError"}Q.inherits(Hl,Ee,{__CANCEL__:!0});function p2(n,a,l){const o=l.config.validateStatus;!l.status||!o||o(l.status)?n(l):a(new Ee("Request failed with status code "+l.status,[Ee.ERR_BAD_REQUEST,Ee.ERR_BAD_RESPONSE][Math.floor(l.status/100)-4],l.config,l.request,l))}function bS(n){const a=/^([-+\w]{1,25})(:?\/\/|:)/.exec(n);return a&&a[1]||""}function xS(n,a){n=n||10;const l=new Array(n),o=new Array(n);let s=0,c=0,f;return a=a!==void 0?a:1e3,function(p){const m=Date.now(),g=o[c];f||(f=m),l[s]=p,o[s]=m;let y=c,w=0;for(;y!==s;)w+=l[y++],y=y%n;if(s=(s+1)%n,s===c&&(c=(c+1)%n),m-f<a)return;const T=g&&m-g;return T?Math.round(w*1e3/T):void 0}}function wS(n,a){let l=0,o=1e3/a,s,c;const f=(m,g=Date.now())=>{l=g,s=null,c&&(clearTimeout(c),c=null),n.apply(null,m)};return[(...m)=>{const g=Date.now(),y=g-l;y>=o?f(m,g):(s=m,c||(c=setTimeout(()=>{c=null,f(s)},o-y)))},()=>s&&f(s)]}const fu=(n,a,l=3)=>{let o=0;const s=xS(50,250);return wS(c=>{const f=c.loaded,h=c.lengthComputable?c.total:void 0,p=f-o,m=s(p),g=f<=h;o=f;const y={loaded:f,total:h,progress:h?f/h:void 0,bytes:p,rate:m||void 0,estimated:m&&h&&g?(h-f)/m:void 0,event:c,lengthComputable:h!=null,[a?"download":"upload"]:!0};n(y)},l)},Mv=(n,a)=>{const l=n!=null;return[o=>a[0]({lengthComputable:l,total:n,loaded:o}),a[1]]},_v=n=>(...a)=>Q.asap(()=>n(...a)),SS=Ct.hasStandardBrowserEnv?((n,a)=>l=>(l=new URL(l,Ct.origin),n.protocol===l.protocol&&n.host===l.host&&(a||n.port===l.port)))(new URL(Ct.origin),Ct.navigator&&/(msie|trident)/i.test(Ct.navigator.userAgent)):()=>!0,ES=Ct.hasStandardBrowserEnv?{write(n,a,l,o,s,c){const f=[n+"="+encodeURIComponent(a)];Q.isNumber(l)&&f.push("expires="+new Date(l).toGMTString()),Q.isString(o)&&f.push("path="+o),Q.isString(s)&&f.push("domain="+s),c===!0&&f.push("secure"),document.cookie=f.join("; ")},read(n){const a=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return a?decodeURIComponent(a[3]):null},remove(n){this.write(n,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function CS(n){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(n)}function RS(n,a){return a?n.replace(/\/?\/$/,"")+"/"+a.replace(/^\/+/,""):n}function v2(n,a,l){let o=!CS(a);return n&&(o||l==!1)?RS(n,a):a}const Nv=n=>n instanceof Bt?R({},n):n;function xr(n,a){a=a||{};const l={};function o(m,g,y,w){return Q.isPlainObject(m)&&Q.isPlainObject(g)?Q.merge.call({caseless:w},m,g):Q.isPlainObject(g)?Q.merge({},g):Q.isArray(g)?g.slice():g}function s(m,g,y,w){if(Q.isUndefined(g)){if(!Q.isUndefined(m))return o(void 0,m,y,w)}else return o(m,g,y,w)}function c(m,g){if(!Q.isUndefined(g))return o(void 0,g)}function f(m,g){if(Q.isUndefined(g)){if(!Q.isUndefined(m))return o(void 0,m)}else return o(void 0,g)}function h(m,g,y){if(y in a)return o(m,g);if(y in n)return o(void 0,m)}const p={url:c,method:c,data:c,baseURL:f,transformRequest:f,transformResponse:f,paramsSerializer:f,timeout:f,timeoutMessage:f,withCredentials:f,withXSRFToken:f,adapter:f,responseType:f,xsrfCookieName:f,xsrfHeaderName:f,onUploadProgress:f,onDownloadProgress:f,decompress:f,maxContentLength:f,maxBodyLength:f,beforeRedirect:f,transport:f,httpAgent:f,httpsAgent:f,cancelToken:f,socketPath:f,responseEncoding:f,validateStatus:h,headers:(m,g,y)=>s(Nv(m),Nv(g),y,!0)};return Q.forEach(Object.keys(Object.assign({},n,a)),function(g){const y=p[g]||s,w=y(n[g],a[g],g);Q.isUndefined(w)&&y!==h||(l[g]=w)}),l}const g2=n=>{const a=xr({},n);let{data:l,withXSRFToken:o,xsrfHeaderName:s,xsrfCookieName:c,headers:f,auth:h}=a;a.headers=f=Bt.from(f),a.url=f2(v2(a.baseURL,a.url,a.allowAbsoluteUrls),n.params,n.paramsSerializer),h&&f.set("Authorization","Basic "+btoa((h.username||"")+":"+(h.password?unescape(encodeURIComponent(h.password)):"")));let p;if(Q.isFormData(l)){if(Ct.hasStandardBrowserEnv||Ct.hasStandardBrowserWebWorkerEnv)f.setContentType(void 0);else if((p=f.getContentType())!==!1){const[m,...g]=p?p.split(";").map(y=>y.trim()).filter(Boolean):[];f.setContentType([m||"multipart/form-data",...g].join("; "))}}if(Ct.hasStandardBrowserEnv&&(o&&Q.isFunction(o)&&(o=o(a)),o||o!==!1&&SS(a.url))){const m=s&&c&&ES.read(c);m&&f.set(s,m)}return a},TS=typeof XMLHttpRequest!="undefined",AS=TS&&function(n){return new Promise(function(l,o){const s=g2(n);let c=s.data;const f=Bt.from(s.headers).normalize();let{responseType:h,onUploadProgress:p,onDownloadProgress:m}=s,g,y,w,T,A;function E(){T&&T(),A&&A(),s.cancelToken&&s.cancelToken.unsubscribe(g),s.signal&&s.signal.removeEventListener("abort",g)}let C=new XMLHttpRequest;C.open(s.method.toUpperCase(),s.url,!0),C.timeout=s.timeout;function M(){if(!C)return;const D=Bt.from("getAllResponseHeaders"in C&&C.getAllResponseHeaders()),j={data:!h||h==="text"||h==="json"?C.responseText:C.response,status:C.status,statusText:C.statusText,headers:D,config:n,request:C};p2(function(te){l(te),E()},function(te){o(te),E()},j),C=null}"onloadend"in C?C.onloadend=M:C.onreadystatechange=function(){!C||C.readyState!==4||C.status===0&&!(C.responseURL&&C.responseURL.indexOf("file:")===0)||setTimeout(M)},C.onabort=function(){C&&(o(new Ee("Request aborted",Ee.ECONNABORTED,n,C)),C=null)},C.onerror=function(){o(new Ee("Network Error",Ee.ERR_NETWORK,n,C)),C=null},C.ontimeout=function(){let z=s.timeout?"timeout of "+s.timeout+"ms exceeded":"timeout exceeded";const j=s.transitional||d2;s.timeoutErrorMessage&&(z=s.timeoutErrorMessage),o(new Ee(z,j.clarifyTimeoutError?Ee.ETIMEDOUT:Ee.ECONNABORTED,n,C)),C=null},c===void 0&&f.setContentType(null),"setRequestHeader"in C&&Q.forEach(f.toJSON(),function(z,j){C.setRequestHeader(j,z)}),Q.isUndefined(s.withCredentials)||(C.withCredentials=!!s.withCredentials),h&&h!=="json"&&(C.responseType=s.responseType),m&&([w,A]=fu(m,!0),C.addEventListener("progress",w)),p&&C.upload&&([y,T]=fu(p),C.upload.addEventListener("progress",y),C.upload.addEventListener("loadend",T)),(s.cancelToken||s.signal)&&(g=D=>{C&&(o(!D||D.type?new Hl(null,n,C):D),C.abort(),C=null)},s.cancelToken&&s.cancelToken.subscribe(g),s.signal&&(s.signal.aborted?g():s.signal.addEventListener("abort",g)));const L=bS(s.url);if(L&&Ct.protocols.indexOf(L)===-1){o(new Ee("Unsupported protocol "+L+":",Ee.ERR_BAD_REQUEST,n));return}C.send(c||null)})},OS=(n,a)=>{const{length:l}=n=n?n.filter(Boolean):[];if(a||l){let o=new AbortController,s;const c=function(m){if(!s){s=!0,h();const g=m instanceof Error?m:this.reason;o.abort(g instanceof Ee?g:new Hl(g instanceof Error?g.message:g))}};let f=a&&setTimeout(()=>{f=null,c(new Ee(`timeout ${a} of ms exceeded`,Ee.ETIMEDOUT))},a);const h=()=>{n&&(f&&clearTimeout(f),f=null,n.forEach(m=>{m.unsubscribe?m.unsubscribe(c):m.removeEventListener("abort",c)}),n=null)};n.forEach(m=>m.addEventListener("abort",c));const{signal:p}=o;return p.unsubscribe=()=>Q.asap(h),p}},MS=function*(n,a){let l=n.byteLength;if(l<a){yield n;return}let o=0,s;for(;o<l;)s=o+a,yield n.slice(o,s),o=s},_S=function(n,a){return hd(this,null,function*(){try{for(var l=lv(NS(n)),o,s,c;o=!(s=yield new fr(l.next())).done;o=!1){const f=s.value;yield*md(MS(f,a))}}catch(s){c=[s]}finally{try{o&&(s=l.return)&&(yield new fr(s.call(l)))}finally{if(c)throw c[0]}}})},NS=function(n){return hd(this,null,function*(){if(n[Symbol.asyncIterator]){yield*md(n);return}const a=n.getReader();try{for(;;){const{done:l,value:o}=yield new fr(a.read());if(l)break;yield o}}finally{yield new fr(a.cancel())}})},Dv=(n,a,l,o)=>{const s=_S(n,a);let c=0,f,h=m=>{f||(f=!0,o&&o(m))};return new ReadableStream({pull(m){return Ke(this,null,function*(){try{const{done:g,value:y}=yield s.next();if(g){h(),m.close();return}let w=y.byteLength;if(l){let T=c+=w;l(T)}m.enqueue(new Uint8Array(y))}catch(g){throw h(g),g}})},cancel(m){return h(m),s.return()}},{highWaterMark:2})},Lu=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",y2=Lu&&typeof ReadableStream=="function",DS=Lu&&(typeof TextEncoder=="function"?(n=>a=>n.encode(a))(new TextEncoder):n=>Ke(null,null,function*(){return new Uint8Array(yield new Response(n).arrayBuffer())})),b2=(n,...a)=>{try{return!!n(...a)}catch(l){return!1}},jS=y2&&b2(()=>{let n=!1;const a=new Request(Ct.origin,{body:new ReadableStream,method:"POST",get duplex(){return n=!0,"half"}}).headers.has("Content-Type");return n&&!a}),jv=64*1024,$d=y2&&b2(()=>Q.isReadableStream(new Response("").body)),du={stream:$d&&(n=>n.body)};Lu&&(n=>{["text","arrayBuffer","blob","formData","stream"].forEach(a=>{!du[a]&&(du[a]=Q.isFunction(n[a])?l=>l[a]():(l,o)=>{throw new Ee(`Response type '${a}' is not supported`,Ee.ERR_NOT_SUPPORT,o)})})})(new Response);const LS=n=>Ke(null,null,function*(){if(n==null)return 0;if(Q.isBlob(n))return n.size;if(Q.isSpecCompliantForm(n))return(yield new Request(Ct.origin,{method:"POST",body:n}).arrayBuffer()).byteLength;if(Q.isArrayBufferView(n)||Q.isArrayBuffer(n))return n.byteLength;if(Q.isURLSearchParams(n)&&(n=n+""),Q.isString(n))return(yield DS(n)).byteLength}),zS=(n,a)=>Ke(null,null,function*(){const l=Q.toFiniteNumber(n.getContentLength());return l==null?LS(a):l}),US=Lu&&(n=>Ke(null,null,function*(){let{url:a,method:l,data:o,signal:s,cancelToken:c,timeout:f,onDownloadProgress:h,onUploadProgress:p,responseType:m,headers:g,withCredentials:y="same-origin",fetchOptions:w}=g2(n);m=m?(m+"").toLowerCase():"text";let T=OS([s,c&&c.toAbortSignal()],f),A;const E=T&&T.unsubscribe&&(()=>{T.unsubscribe()});let C;try{if(p&&jS&&l!=="get"&&l!=="head"&&(C=yield zS(g,o))!==0){let j=new Request(a,{method:"POST",body:o,duplex:"half"}),W;if(Q.isFormData(o)&&(W=j.headers.get("content-type"))&&g.setContentType(W),j.body){const[te,J]=Mv(C,fu(_v(p)));o=Dv(j.body,jv,te,J)}}Q.isString(y)||(y=y?"include":"omit");const M="credentials"in Request.prototype;A=new Request(a,B(R({},w),{signal:T,method:l.toUpperCase(),headers:g.normalize().toJSON(),body:o,duplex:"half",credentials:M?y:void 0}));let L=yield fetch(A);const D=$d&&(m==="stream"||m==="response");if($d&&(h||D&&E)){const j={};["status","statusText","headers"].forEach(ae=>{j[ae]=L[ae]});const W=Q.toFiniteNumber(L.headers.get("content-length")),[te,J]=h&&Mv(W,fu(_v(h),!0))||[];L=new Response(Dv(L.body,jv,te,()=>{J&&J(),E&&E()}),j)}m=m||"text";let z=yield du[Q.findKey(du,m)||"text"](L,n);return!D&&E&&E(),yield new Promise((j,W)=>{p2(j,W,{data:z,headers:Bt.from(L.headers),status:L.status,statusText:L.statusText,config:n,request:A})})}catch(M){throw E&&E(),M&&M.name==="TypeError"&&/Load failed|fetch/i.test(M.message)?Object.assign(new Ee("Network Error",Ee.ERR_NETWORK,n,A),{cause:M.cause||M}):Ee.from(M,M&&M.code,n,A)}})),Jd={http:$w,xhr:AS,fetch:US};Q.forEach(Jd,(n,a)=>{if(n){try{Object.defineProperty(n,"name",{value:a})}catch(l){}Object.defineProperty(n,"adapterName",{value:a})}});const Lv=n=>`- ${n}`,BS=n=>Q.isFunction(n)||n===null||n===!1,x2={getAdapter:n=>{n=Q.isArray(n)?n:[n];const{length:a}=n;let l,o;const s={};for(let c=0;c<a;c++){l=n[c];let f;if(o=l,!BS(l)&&(o=Jd[(f=String(l)).toLowerCase()],o===void 0))throw new Ee(`Unknown adapter '${f}'`);if(o)break;s[f||"#"+c]=o}if(!o){const c=Object.entries(s).map(([h,p])=>`adapter ${h} `+(p===!1?"is not supported by the environment":"is not available in the build"));let f=a?c.length>1?`since :
`+c.map(Lv).join(`
`):" "+Lv(c[0]):"as no adapter specified";throw new Ee("There is no suitable adapter to dispatch the request "+f,"ERR_NOT_SUPPORT")}return o},adapters:Jd};function Cd(n){if(n.cancelToken&&n.cancelToken.throwIfRequested(),n.signal&&n.signal.aborted)throw new Hl(null,n)}function zv(n){return Cd(n),n.headers=Bt.from(n.headers),n.data=Ed.call(n,n.transformRequest),["post","put","patch"].indexOf(n.method)!==-1&&n.headers.setContentType("application/x-www-form-urlencoded",!1),x2.getAdapter(n.adapter||hi.adapter)(n).then(function(o){return Cd(n),o.data=Ed.call(n,n.transformResponse,o),o.headers=Bt.from(o.headers),o},function(o){return m2(o)||(Cd(n),o&&o.response&&(o.response.data=Ed.call(n,n.transformResponse,o.response),o.response.headers=Bt.from(o.response.headers))),Promise.reject(o)})}const w2="1.9.0",zu={};["object","boolean","number","function","string","symbol"].forEach((n,a)=>{zu[n]=function(o){return typeof o===n||"a"+(a<1?"n ":" ")+n}});const Uv={};zu.transitional=function(a,l,o){function s(c,f){return"[Axios v"+w2+"] Transitional option '"+c+"'"+f+(o?". "+o:"")}return(c,f,h)=>{if(a===!1)throw new Ee(s(f," has been removed"+(l?" in "+l:"")),Ee.ERR_DEPRECATED);return l&&!Uv[f]&&(Uv[f]=!0,console.warn(s(f," has been deprecated since v"+l+" and will be removed in the near future"))),a?a(c,f,h):!0}};zu.spelling=function(a){return(l,o)=>(console.warn(`${o} is likely a misspelling of ${a}`),!0)};function HS(n,a,l){if(typeof n!="object")throw new Ee("options must be an object",Ee.ERR_BAD_OPTION_VALUE);const o=Object.keys(n);let s=o.length;for(;s-- >0;){const c=o[s],f=a[c];if(f){const h=n[c],p=h===void 0||f(h,c,n);if(p!==!0)throw new Ee("option "+c+" must be "+p,Ee.ERR_BAD_OPTION_VALUE);continue}if(l!==!0)throw new Ee("Unknown option "+c,Ee.ERR_BAD_OPTION)}}const nu={assertOptions:HS,validators:zu},An=nu.validators;let br=class{constructor(a){this.defaults=a||{},this.interceptors={request:new Av,response:new Av}}request(a,l){return Ke(this,null,function*(){try{return yield this._request(a,l)}catch(o){if(o instanceof Error){let s={};Error.captureStackTrace?Error.captureStackTrace(s):s=new Error;const c=s.stack?s.stack.replace(/^.+\n/,""):"";try{o.stack?c&&!String(o.stack).endsWith(c.replace(/^.+\n.+\n/,""))&&(o.stack+=`
`+c):o.stack=c}catch(f){}}throw o}})}_request(a,l){typeof a=="string"?(l=l||{},l.url=a):l=a||{},l=xr(this.defaults,l);const{transitional:o,paramsSerializer:s,headers:c}=l;o!==void 0&&nu.assertOptions(o,{silentJSONParsing:An.transitional(An.boolean),forcedJSONParsing:An.transitional(An.boolean),clarifyTimeoutError:An.transitional(An.boolean)},!1),s!=null&&(Q.isFunction(s)?l.paramsSerializer={serialize:s}:nu.assertOptions(s,{encode:An.function,serialize:An.function},!0)),l.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?l.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:l.allowAbsoluteUrls=!0),nu.assertOptions(l,{baseUrl:An.spelling("baseURL"),withXsrfToken:An.spelling("withXSRFToken")},!0),l.method=(l.method||this.defaults.method||"get").toLowerCase();let f=c&&Q.merge(c.common,c[l.method]);c&&Q.forEach(["delete","get","head","post","put","patch","common"],A=>{delete c[A]}),l.headers=Bt.concat(f,c);const h=[];let p=!0;this.interceptors.request.forEach(function(E){typeof E.runWhen=="function"&&E.runWhen(l)===!1||(p=p&&E.synchronous,h.unshift(E.fulfilled,E.rejected))});const m=[];this.interceptors.response.forEach(function(E){m.push(E.fulfilled,E.rejected)});let g,y=0,w;if(!p){const A=[zv.bind(this),void 0];for(A.unshift.apply(A,h),A.push.apply(A,m),w=A.length,g=Promise.resolve(l);y<w;)g=g.then(A[y++],A[y++]);return g}w=h.length;let T=l;for(y=0;y<w;){const A=h[y++],E=h[y++];try{T=A(T)}catch(C){E.call(this,C);break}}try{g=zv.call(this,T)}catch(A){return Promise.reject(A)}for(y=0,w=m.length;y<w;)g=g.then(m[y++],m[y++]);return g}getUri(a){a=xr(this.defaults,a);const l=v2(a.baseURL,a.url,a.allowAbsoluteUrls);return f2(l,a.params,a.paramsSerializer)}};Q.forEach(["delete","get","head","options"],function(a){br.prototype[a]=function(l,o){return this.request(xr(o||{},{method:a,url:l,data:(o||{}).data}))}});Q.forEach(["post","put","patch"],function(a){function l(o){return function(c,f,h){return this.request(xr(h||{},{method:a,headers:o?{"Content-Type":"multipart/form-data"}:{},url:c,data:f}))}}br.prototype[a]=l(),br.prototype[a+"Form"]=l(!0)});let kS=class S2{constructor(a){if(typeof a!="function")throw new TypeError("executor must be a function.");let l;this.promise=new Promise(function(c){l=c});const o=this;this.promise.then(s=>{if(!o._listeners)return;let c=o._listeners.length;for(;c-- >0;)o._listeners[c](s);o._listeners=null}),this.promise.then=s=>{let c;const f=new Promise(h=>{o.subscribe(h),c=h}).then(s);return f.cancel=function(){o.unsubscribe(c)},f},a(function(c,f,h){o.reason||(o.reason=new Hl(c,f,h),l(o.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(a){if(this.reason){a(this.reason);return}this._listeners?this._listeners.push(a):this._listeners=[a]}unsubscribe(a){if(!this._listeners)return;const l=this._listeners.indexOf(a);l!==-1&&this._listeners.splice(l,1)}toAbortSignal(){const a=new AbortController,l=o=>{a.abort(o)};return this.subscribe(l),a.signal.unsubscribe=()=>this.unsubscribe(l),a.signal}static source(){let a;return{token:new S2(function(s){a=s}),cancel:a}}};function PS(n){return function(l){return n.apply(null,l)}}function qS(n){return Q.isObject(n)&&n.isAxiosError===!0}const Wd={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Wd).forEach(([n,a])=>{Wd[a]=n});function E2(n){const a=new br(n),l=Wg(br.prototype.request,a);return Q.extend(l,br.prototype,a,{allOwnKeys:!0}),Q.extend(l,a,null,{allOwnKeys:!0}),l.create=function(s){return E2(xr(n,s))},l}const at=E2(hi);at.Axios=br;at.CanceledError=Hl;at.CancelToken=kS;at.isCancel=m2;at.VERSION=w2;at.toFormData=ju;at.AxiosError=Ee;at.Cancel=at.CanceledError;at.all=function(a){return Promise.all(a)};at.spread=PS;at.isAxiosError=qS;at.mergeConfig=xr;at.AxiosHeaders=Bt;at.formToJSON=n=>h2(Q.isHTMLForm(n)?new FormData(n):n);at.getAdapter=x2.getAdapter;at.HttpStatusCode=Wd;at.default=at;const{Axios:uO,AxiosError:cO,CanceledError:fO,isCancel:dO,CancelToken:hO,VERSION:mO,all:pO,Cancel:vO,isAxiosError:gO,spread:yO,toFormData:bO,AxiosHeaders:xO,HttpStatusCode:wO,formToJSON:SO,getAdapter:EO,mergeConfig:CO}=at,ti=at.create({baseURL:"https://api.camsodacol.com"});ti.interceptors.request.use(n=>{const a=sessionStorage.getItem("user");let l="";return a&&(l=JSON.parse(a).access_token),l&&n.url!=="/users/login"&&(n.headers.Authorization=`Bearer ${l}`),n.data instanceof FormData||(n.headers["Content-Type"]="application/json"),n.url&&n.url.length>1&&n.url.endsWith("/")&&(n.url=n.url.replace(/\/+$/,"")),n});ti.interceptors.response.use(n=>n,n=>{const{response:a}=n;throw a.status===401&&(sessionStorage.clear(),delete ti.defaults.headers.common.Authorization,window.location.href="/login"),n});const VS=n=>{let o=0;const s=p=>{try{const m=p.split(".");return JSON.parse(atob(m[1])).exp*1e3}catch(m){return 0}},c=(p,m)=>Ke(null,null,function*(){try{const y=(yield ti.post("/users/refresh-token",{refresh_token:m})).data.access_token;sessionStorage.setItem("user",JSON.stringify(B(R({},JSON.parse(p)),{access_token:y})))}catch(g){console.error("Error refreshing token:",g),n()}}),f=()=>Ke(null,null,function*(){try{const p=sessionStorage.getItem("user");if(!p)return;const{access_token:m,refresh_token:g}=JSON.parse(p);if(m==null)return;const y=s(m);if(!y)return;const w=Date.now(),T=y-w;h(0),T<=0||o>=6e5?n():T<=6e4&&c(p,g)}catch(p){console.error("Error checking token expiration:",p),n()}}),h=p=>{p==0&&(o=o+6e4),p==1&&(o=0)};return v.useEffect(()=>{["mousemove","keydown","click","scroll"].forEach(m=>window.addEventListener(m,()=>h(1))),setInterval(f,6e4)},[]),null};var mi=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(n){return this.listeners.add(n),this.onSubscribe(),()=>{this.listeners.delete(n),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Uu=typeof window=="undefined"||"Deno"in globalThis;function pn(){}function GS(n,a){return typeof n=="function"?n(a):n}function YS(n){return typeof n=="number"&&n>=0&&n!==1/0}function FS(n,a){return Math.max(n+(a||0)-Date.now(),0)}function Bv(n,a){return typeof n=="function"?n(a):n}function KS(n,a){return typeof n=="function"?n(a):n}function Hv(n,a){const{type:l="all",exact:o,fetchStatus:s,predicate:c,queryKey:f,stale:h}=n;if(f){if(o){if(a.queryHash!==Ah(f,a.options))return!1}else if(!ni(a.queryKey,f))return!1}if(l!=="all"){const p=a.isActive();if(l==="active"&&!p||l==="inactive"&&p)return!1}return!(typeof h=="boolean"&&a.isStale()!==h||s&&s!==a.state.fetchStatus||c&&!c(a))}function kv(n,a){const{exact:l,status:o,predicate:s,mutationKey:c}=n;if(c){if(!a.options.mutationKey)return!1;if(l){if(wr(a.options.mutationKey)!==wr(c))return!1}else if(!ni(a.options.mutationKey,c))return!1}return!(o&&a.state.status!==o||s&&!s(a))}function Ah(n,a){return((a==null?void 0:a.queryKeyHashFn)||wr)(n)}function wr(n){return JSON.stringify(n,(a,l)=>eh(l)?Object.keys(l).sort().reduce((o,s)=>(o[s]=l[s],o),{}):l)}function ni(n,a){return n===a?!0:typeof n!=typeof a?!1:n&&a&&typeof n=="object"&&typeof a=="object"?Object.keys(a).every(l=>ni(n[l],a[l])):!1}function C2(n,a){if(n===a)return n;const l=Pv(n)&&Pv(a);if(l||eh(n)&&eh(a)){const o=l?n:Object.keys(n),s=o.length,c=l?a:Object.keys(a),f=c.length,h=l?[]:{};let p=0;for(let m=0;m<f;m++){const g=l?m:c[m];(!l&&o.includes(g)||l)&&n[g]===void 0&&a[g]===void 0?(h[g]=void 0,p++):(h[g]=C2(n[g],a[g]),h[g]===n[g]&&n[g]!==void 0&&p++)}return s===f&&p===s?n:h}return a}function QS(n,a){if(!a||Object.keys(n).length!==Object.keys(a).length)return!1;for(const l in n)if(n[l]!==a[l])return!1;return!0}function Pv(n){return Array.isArray(n)&&n.length===Object.keys(n).length}function eh(n){if(!qv(n))return!1;const a=n.constructor;if(a===void 0)return!0;const l=a.prototype;return!(!qv(l)||!l.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(n)!==Object.prototype)}function qv(n){return Object.prototype.toString.call(n)==="[object Object]"}function XS(n){return new Promise(a=>{setTimeout(a,n)})}function ZS(n,a,l){return typeof l.structuralSharing=="function"?l.structuralSharing(n,a):l.structuralSharing!==!1?C2(n,a):a}function IS(n,a,l=0){const o=[...n,a];return l&&o.length>l?o.slice(1):o}function $S(n,a,l=0){const o=[a,...n];return l&&o.length>l?o.slice(0,-1):o}var Oh=Symbol();function R2(n,a){return!n.queryFn&&(a!=null&&a.initialPromise)?()=>a.initialPromise:!n.queryFn||n.queryFn===Oh?()=>Promise.reject(new Error(`Missing queryFn: '${n.queryHash}'`)):n.queryFn}var mr,La,Rl,_g,JS=(_g=class extends mi{constructor(){super();je(this,mr);je(this,La);je(this,Rl);xe(this,Rl,a=>{if(!Uu&&window.addEventListener){const l=()=>a();return window.addEventListener("visibilitychange",l,!1),()=>{window.removeEventListener("visibilitychange",l)}}})}onSubscribe(){F(this,La)||this.setEventListener(F(this,Rl))}onUnsubscribe(){var a;this.hasListeners()||((a=F(this,La))==null||a.call(this),xe(this,La,void 0))}setEventListener(a){var l;xe(this,Rl,a),(l=F(this,La))==null||l.call(this),xe(this,La,a(o=>{typeof o=="boolean"?this.setFocused(o):this.onFocus()}))}setFocused(a){F(this,mr)!==a&&(xe(this,mr,a),this.onFocus())}onFocus(){const a=this.isFocused();this.listeners.forEach(l=>{l(a)})}isFocused(){var a;return typeof F(this,mr)=="boolean"?F(this,mr):((a=globalThis.document)==null?void 0:a.visibilityState)!=="hidden"}},mr=new WeakMap,La=new WeakMap,Rl=new WeakMap,_g),T2=new JS,Tl,za,Al,Ng,WS=(Ng=class extends mi{constructor(){super();je(this,Tl,!0);je(this,za);je(this,Al);xe(this,Al,a=>{if(!Uu&&window.addEventListener){const l=()=>a(!0),o=()=>a(!1);return window.addEventListener("online",l,!1),window.addEventListener("offline",o,!1),()=>{window.removeEventListener("online",l),window.removeEventListener("offline",o)}}})}onSubscribe(){F(this,za)||this.setEventListener(F(this,Al))}onUnsubscribe(){var a;this.hasListeners()||((a=F(this,za))==null||a.call(this),xe(this,za,void 0))}setEventListener(a){var l;xe(this,Al,a),(l=F(this,za))==null||l.call(this),xe(this,za,a(this.setOnline.bind(this)))}setOnline(a){F(this,Tl)!==a&&(xe(this,Tl,a),this.listeners.forEach(o=>{o(a)}))}isOnline(){return F(this,Tl)}},Tl=new WeakMap,za=new WeakMap,Al=new WeakMap,Ng),hu=new WS;function e8(){let n,a;const l=new Promise((s,c)=>{n=s,a=c});l.status="pending",l.catch(()=>{});function o(s){Object.assign(l,s),delete l.resolve,delete l.reject}return l.resolve=s=>{o({status:"fulfilled",value:s}),n(s)},l.reject=s=>{o({status:"rejected",reason:s}),a(s)},l}function t8(n){return Math.min(1e3*rv(2,n),3e4)}function A2(n){return(n!=null?n:"online")==="online"?hu.isOnline():!0}var O2=class extends Error{constructor(n){super("CancelledError"),this.revert=n==null?void 0:n.revert,this.silent=n==null?void 0:n.silent}};function Rd(n){return n instanceof O2}function M2(n){let a=!1,l=0,o=!1,s;const c=e8(),f=E=>{var C;o||(w(new O2(E)),(C=n.abort)==null||C.call(n))},h=()=>{a=!0},p=()=>{a=!1},m=()=>T2.isFocused()&&(n.networkMode==="always"||hu.isOnline())&&n.canRun(),g=()=>A2(n.networkMode)&&n.canRun(),y=E=>{var C;o||(o=!0,(C=n.onSuccess)==null||C.call(n,E),s==null||s(),c.resolve(E))},w=E=>{var C;o||(o=!0,(C=n.onError)==null||C.call(n,E),s==null||s(),c.reject(E))},T=()=>new Promise(E=>{var C;s=M=>{(o||m())&&E(M)},(C=n.onPause)==null||C.call(n)}).then(()=>{var E;s=void 0,o||(E=n.onContinue)==null||E.call(n)}),A=()=>{if(o)return;let E;const C=l===0?n.initialPromise:void 0;try{E=C!=null?C:n.fn()}catch(M){E=Promise.reject(M)}Promise.resolve(E).then(y).catch(M=>{var W,te,J;if(o)return;const L=(W=n.retry)!=null?W:Uu?0:3,D=(te=n.retryDelay)!=null?te:t8,z=typeof D=="function"?D(l,M):D,j=L===!0||typeof L=="number"&&l<L||typeof L=="function"&&L(l,M);if(a||!j){w(M);return}l++,(J=n.onFail)==null||J.call(n,l,M),XS(z).then(()=>m()?void 0:T()).then(()=>{a?w(M):A()})})};return{promise:c,cancel:f,continue:()=>(s==null||s(),c),cancelRetry:h,continueRetry:p,canStart:g,start:()=>(g()?A():T().then(A),c)}}var n8=n=>setTimeout(n,0);function a8(){let n=[],a=0,l=h=>{h()},o=h=>{h()},s=n8;const c=h=>{a?n.push(h):s(()=>{l(h)})},f=()=>{const h=n;n=[],h.length&&s(()=>{o(()=>{h.forEach(p=>{l(p)})})})};return{batch:h=>{let p;a++;try{p=h()}finally{a--,a||f()}return p},batchCalls:h=>(...p)=>{c(()=>{h(...p)})},schedule:c,setNotifyFunction:h=>{l=h},setBatchNotifyFunction:h=>{o=h},setScheduler:h=>{s=h}}}var yt=a8(),pr,Dg,_2=(Dg=class{constructor(){je(this,pr)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),YS(this.gcTime)&&xe(this,pr,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(n){this.gcTime=Math.max(this.gcTime||0,n!=null?n:Uu?1/0:5*60*1e3)}clearGcTimeout(){F(this,pr)&&(clearTimeout(F(this,pr)),xe(this,pr,void 0))}},pr=new WeakMap,Dg),Ol,Ml,sn,vr,St,ui,gr,vn,Jn,jg,r8=(jg=class extends _2{constructor(a){var l;super();je(this,vn);je(this,Ol);je(this,Ml);je(this,sn);je(this,vr);je(this,St);je(this,ui);je(this,gr);xe(this,gr,!1),xe(this,ui,a.defaultOptions),this.setOptions(a.options),this.observers=[],xe(this,vr,a.client),xe(this,sn,F(this,vr).getQueryCache()),this.queryKey=a.queryKey,this.queryHash=a.queryHash,xe(this,Ol,o8(this.options)),this.state=(l=a.state)!=null?l:F(this,Ol),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var a;return(a=F(this,St))==null?void 0:a.promise}setOptions(a){this.options=R(R({},F(this,ui)),a),this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&F(this,sn).remove(this)}setData(a,l){const o=ZS(this.state.data,a,this.options);return nt(this,vn,Jn).call(this,{data:o,type:"success",dataUpdatedAt:l==null?void 0:l.updatedAt,manual:l==null?void 0:l.manual}),o}setState(a,l){nt(this,vn,Jn).call(this,{type:"setState",state:a,setStateOptions:l})}cancel(a){var o,s;const l=(o=F(this,St))==null?void 0:o.promise;return(s=F(this,St))==null||s.cancel(a),l?l.then(pn).catch(pn):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(F(this,Ol))}isActive(){return this.observers.some(a=>KS(a.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Oh||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(a=>a.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(a=0){return this.state.isInvalidated||this.state.data===void 0||!FS(this.state.dataUpdatedAt,a)}onFocus(){var l;const a=this.observers.find(o=>o.shouldFetchOnWindowFocus());a==null||a.refetch({cancelRefetch:!1}),(l=F(this,St))==null||l.continue()}onOnline(){var l;const a=this.observers.find(o=>o.shouldFetchOnReconnect());a==null||a.refetch({cancelRefetch:!1}),(l=F(this,St))==null||l.continue()}addObserver(a){this.observers.includes(a)||(this.observers.push(a),this.clearGcTimeout(),F(this,sn).notify({type:"observerAdded",query:this,observer:a}))}removeObserver(a){this.observers.includes(a)&&(this.observers=this.observers.filter(l=>l!==a),this.observers.length||(F(this,St)&&(F(this,gr)?F(this,St).cancel({revert:!0}):F(this,St).cancelRetry()),this.scheduleGc()),F(this,sn).notify({type:"observerRemoved",query:this,observer:a}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||nt(this,vn,Jn).call(this,{type:"invalidate"})}fetch(a,l){var p,m,g;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(l!=null&&l.cancelRefetch))this.cancel({silent:!0});else if(F(this,St))return F(this,St).continueRetry(),F(this,St).promise}if(a&&this.setOptions(a),!this.options.queryFn){const y=this.observers.find(w=>w.options.queryFn);y&&this.setOptions(y.options)}const o=new AbortController,s=y=>{Object.defineProperty(y,"signal",{enumerable:!0,get:()=>(xe(this,gr,!0),o.signal)})},c=()=>{const y=R2(this.options,l),w={client:F(this,vr),queryKey:this.queryKey,meta:this.meta};return s(w),xe(this,gr,!1),this.options.persister?this.options.persister(y,w,this):y(w)},f={fetchOptions:l,options:this.options,queryKey:this.queryKey,client:F(this,vr),state:this.state,fetchFn:c};s(f),(p=this.options.behavior)==null||p.onFetch(f,this),xe(this,Ml,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((m=f.fetchOptions)==null?void 0:m.meta))&&nt(this,vn,Jn).call(this,{type:"fetch",meta:(g=f.fetchOptions)==null?void 0:g.meta});const h=y=>{var w,T,A,E;Rd(y)&&y.silent||nt(this,vn,Jn).call(this,{type:"error",error:y}),Rd(y)||((T=(w=F(this,sn).config).onError)==null||T.call(w,y,this),(E=(A=F(this,sn).config).onSettled)==null||E.call(A,this.state.data,y,this)),this.scheduleGc()};return xe(this,St,M2({initialPromise:l==null?void 0:l.initialPromise,fn:f.fetchFn,abort:o.abort.bind(o),onSuccess:y=>{var w,T,A,E;if(y===void 0){h(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(y)}catch(C){h(C);return}(T=(w=F(this,sn).config).onSuccess)==null||T.call(w,y,this),(E=(A=F(this,sn).config).onSettled)==null||E.call(A,y,this.state.error,this),this.scheduleGc()},onError:h,onFail:(y,w)=>{nt(this,vn,Jn).call(this,{type:"failed",failureCount:y,error:w})},onPause:()=>{nt(this,vn,Jn).call(this,{type:"pause"})},onContinue:()=>{nt(this,vn,Jn).call(this,{type:"continue"})},retry:f.options.retry,retryDelay:f.options.retryDelay,networkMode:f.options.networkMode,canRun:()=>!0})),F(this,St).start()}},Ol=new WeakMap,Ml=new WeakMap,sn=new WeakMap,vr=new WeakMap,St=new WeakMap,ui=new WeakMap,gr=new WeakMap,vn=new WeakSet,Jn=function(a){const l=o=>{var s,c;switch(a.type){case"failed":return B(R({},o),{fetchFailureCount:a.failureCount,fetchFailureReason:a.error});case"pause":return B(R({},o),{fetchStatus:"paused"});case"continue":return B(R({},o),{fetchStatus:"fetching"});case"fetch":return B(R(R({},o),l8(o.data,this.options)),{fetchMeta:(s=a.meta)!=null?s:null});case"success":return R(B(R({},o),{data:a.data,dataUpdateCount:o.dataUpdateCount+1,dataUpdatedAt:(c=a.dataUpdatedAt)!=null?c:Date.now(),error:null,isInvalidated:!1,status:"success"}),!a.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null});case"error":const f=a.error;return Rd(f)&&f.revert&&F(this,Ml)?B(R({},F(this,Ml)),{fetchStatus:"idle"}):B(R({},o),{error:f,errorUpdateCount:o.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:o.fetchFailureCount+1,fetchFailureReason:f,fetchStatus:"idle",status:"error"});case"invalidate":return B(R({},o),{isInvalidated:!0});case"setState":return R(R({},o),a.state)}};this.state=l(this.state),yt.batch(()=>{this.observers.forEach(o=>{o.onQueryUpdate()}),F(this,sn).notify({query:this,type:"updated",action:a})})},jg);function l8(n,a){return R({fetchFailureCount:0,fetchFailureReason:null,fetchStatus:A2(a.networkMode)?"fetching":"paused"},n===void 0&&{error:null,status:"pending"})}function o8(n){const a=typeof n.initialData=="function"?n.initialData():n.initialData,l=a!==void 0,o=l?typeof n.initialDataUpdatedAt=="function"?n.initialDataUpdatedAt():n.initialDataUpdatedAt:0;return{data:a,dataUpdateCount:0,dataUpdatedAt:l?o!=null?o:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:l?"success":"pending",fetchStatus:"idle"}}var On,Lg,i8=(Lg=class extends mi{constructor(a={}){super();je(this,On);this.config=a,xe(this,On,new Map)}build(a,l,o){var h;const s=l.queryKey,c=(h=l.queryHash)!=null?h:Ah(s,l);let f=this.get(c);return f||(f=new r8({client:a,queryKey:s,queryHash:c,options:a.defaultQueryOptions(l),state:o,defaultOptions:a.getQueryDefaults(s)}),this.add(f)),f}add(a){F(this,On).has(a.queryHash)||(F(this,On).set(a.queryHash,a),this.notify({type:"added",query:a}))}remove(a){const l=F(this,On).get(a.queryHash);l&&(a.destroy(),l===a&&F(this,On).delete(a.queryHash),this.notify({type:"removed",query:a}))}clear(){yt.batch(()=>{this.getAll().forEach(a=>{this.remove(a)})})}get(a){return F(this,On).get(a)}getAll(){return[...F(this,On).values()]}find(a){const l=R({exact:!0},a);return this.getAll().find(o=>Hv(l,o))}findAll(a={}){const l=this.getAll();return Object.keys(a).length>0?l.filter(o=>Hv(a,o)):l}notify(a){yt.batch(()=>{this.listeners.forEach(l=>{l(a)})})}onFocus(){yt.batch(()=>{this.getAll().forEach(a=>{a.onFocus()})})}onOnline(){yt.batch(()=>{this.getAll().forEach(a=>{a.onOnline()})})}},On=new WeakMap,Lg),Mn,Tt,yr,_n,Da,zg,s8=(zg=class extends _2{constructor(a){super();je(this,_n);je(this,Mn);je(this,Tt);je(this,yr);this.mutationId=a.mutationId,xe(this,Tt,a.mutationCache),xe(this,Mn,[]),this.state=a.state||N2(),this.setOptions(a.options),this.scheduleGc()}setOptions(a){this.options=a,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(a){F(this,Mn).includes(a)||(F(this,Mn).push(a),this.clearGcTimeout(),F(this,Tt).notify({type:"observerAdded",mutation:this,observer:a}))}removeObserver(a){xe(this,Mn,F(this,Mn).filter(l=>l!==a)),this.scheduleGc(),F(this,Tt).notify({type:"observerRemoved",mutation:this,observer:a})}optionalRemove(){F(this,Mn).length||(this.state.status==="pending"?this.scheduleGc():F(this,Tt).remove(this))}continue(){var a,l;return(l=(a=F(this,yr))==null?void 0:a.continue())!=null?l:this.execute(this.state.variables)}execute(a){return Ke(this,null,function*(){var c,f,h,p,m,g,y,w,T,A,E,C,M,L,D,z,j,W,te,J,ae;const l=()=>{nt(this,_n,Da).call(this,{type:"continue"})};xe(this,yr,M2({fn:()=>this.options.mutationFn?this.options.mutationFn(a):Promise.reject(new Error("No mutationFn found")),onFail:(oe,pe)=>{nt(this,_n,Da).call(this,{type:"failed",failureCount:oe,error:pe})},onPause:()=>{nt(this,_n,Da).call(this,{type:"pause"})},onContinue:l,retry:(c=this.options.retry)!=null?c:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>F(this,Tt).canRun(this)}));const o=this.state.status==="pending",s=!F(this,yr).canStart();try{if(o)l();else{nt(this,_n,Da).call(this,{type:"pending",variables:a,isPaused:s}),yield(h=(f=F(this,Tt).config).onMutate)==null?void 0:h.call(f,a,this);const pe=yield(m=(p=this.options).onMutate)==null?void 0:m.call(p,a);pe!==this.state.context&&nt(this,_n,Da).call(this,{type:"pending",context:pe,variables:a,isPaused:s})}const oe=yield F(this,yr).start();return yield(y=(g=F(this,Tt).config).onSuccess)==null?void 0:y.call(g,oe,a,this.state.context,this),yield(T=(w=this.options).onSuccess)==null?void 0:T.call(w,oe,a,this.state.context),yield(E=(A=F(this,Tt).config).onSettled)==null?void 0:E.call(A,oe,null,this.state.variables,this.state.context,this),yield(M=(C=this.options).onSettled)==null?void 0:M.call(C,oe,null,a,this.state.context),nt(this,_n,Da).call(this,{type:"success",data:oe}),oe}catch(oe){try{throw yield(D=(L=F(this,Tt).config).onError)==null?void 0:D.call(L,oe,a,this.state.context,this),yield(j=(z=this.options).onError)==null?void 0:j.call(z,oe,a,this.state.context),yield(te=(W=F(this,Tt).config).onSettled)==null?void 0:te.call(W,void 0,oe,this.state.variables,this.state.context,this),yield(ae=(J=this.options).onSettled)==null?void 0:ae.call(J,void 0,oe,a,this.state.context),oe}finally{nt(this,_n,Da).call(this,{type:"error",error:oe})}}finally{F(this,Tt).runNext(this)}})}},Mn=new WeakMap,Tt=new WeakMap,yr=new WeakMap,_n=new WeakSet,Da=function(a){const l=o=>{switch(a.type){case"failed":return B(R({},o),{failureCount:a.failureCount,failureReason:a.error});case"pause":return B(R({},o),{isPaused:!0});case"continue":return B(R({},o),{isPaused:!1});case"pending":return B(R({},o),{context:a.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:a.isPaused,status:"pending",variables:a.variables,submittedAt:Date.now()});case"success":return B(R({},o),{data:a.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1});case"error":return B(R({},o),{data:void 0,error:a.error,failureCount:o.failureCount+1,failureReason:a.error,isPaused:!1,status:"error"})}};this.state=l(this.state),yt.batch(()=>{F(this,Mn).forEach(o=>{o.onMutationUpdate(a)}),F(this,Tt).notify({mutation:this,type:"updated",action:a})})},zg);function N2(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Wn,gn,ci,Ug,u8=(Ug=class extends mi{constructor(a={}){super();je(this,Wn);je(this,gn);je(this,ci);this.config=a,xe(this,Wn,new Set),xe(this,gn,new Map),xe(this,ci,0)}build(a,l,o){const s=new s8({mutationCache:this,mutationId:++qs(this,ci)._,options:a.defaultMutationOptions(l),state:o});return this.add(s),s}add(a){F(this,Wn).add(a);const l=Vs(a);if(typeof l=="string"){const o=F(this,gn).get(l);o?o.push(a):F(this,gn).set(l,[a])}this.notify({type:"added",mutation:a})}remove(a){if(F(this,Wn).delete(a)){const l=Vs(a);if(typeof l=="string"){const o=F(this,gn).get(l);if(o)if(o.length>1){const s=o.indexOf(a);s!==-1&&o.splice(s,1)}else o[0]===a&&F(this,gn).delete(l)}}this.notify({type:"removed",mutation:a})}canRun(a){const l=Vs(a);if(typeof l=="string"){const o=F(this,gn).get(l),s=o==null?void 0:o.find(c=>c.state.status==="pending");return!s||s===a}else return!0}runNext(a){var o,s;const l=Vs(a);if(typeof l=="string"){const c=(o=F(this,gn).get(l))==null?void 0:o.find(f=>f!==a&&f.state.isPaused);return(s=c==null?void 0:c.continue())!=null?s:Promise.resolve()}else return Promise.resolve()}clear(){yt.batch(()=>{F(this,Wn).forEach(a=>{this.notify({type:"removed",mutation:a})}),F(this,Wn).clear(),F(this,gn).clear()})}getAll(){return Array.from(F(this,Wn))}find(a){const l=R({exact:!0},a);return this.getAll().find(o=>kv(l,o))}findAll(a={}){return this.getAll().filter(l=>kv(a,l))}notify(a){yt.batch(()=>{this.listeners.forEach(l=>{l(a)})})}resumePausedMutations(){const a=this.getAll().filter(l=>l.state.isPaused);return yt.batch(()=>Promise.all(a.map(l=>l.continue().catch(pn))))}},Wn=new WeakMap,gn=new WeakMap,ci=new WeakMap,Ug);function Vs(n){var a;return(a=n.options.scope)==null?void 0:a.id}function Vv(n){return{onFetch:(a,l)=>{var g,y,w,T,A;const o=a.options,s=(w=(y=(g=a.fetchOptions)==null?void 0:g.meta)==null?void 0:y.fetchMore)==null?void 0:w.direction,c=((T=a.state.data)==null?void 0:T.pages)||[],f=((A=a.state.data)==null?void 0:A.pageParams)||[];let h={pages:[],pageParams:[]},p=0;const m=()=>Ke(null,null,function*(){var D;let E=!1;const C=z=>{Object.defineProperty(z,"signal",{enumerable:!0,get:()=>(a.signal.aborted?E=!0:a.signal.addEventListener("abort",()=>{E=!0}),a.signal)})},M=R2(a.options,a.fetchOptions),L=(z,j,W)=>Ke(null,null,function*(){if(E)return Promise.reject();if(j==null&&z.pages.length)return Promise.resolve(z);const te={client:a.client,queryKey:a.queryKey,pageParam:j,direction:W?"backward":"forward",meta:a.options.meta};C(te);const J=yield M(te),{maxPages:ae}=a.options,oe=W?$S:IS;return{pages:oe(z.pages,J,ae),pageParams:oe(z.pageParams,j,ae)}});if(s&&c.length){const z=s==="backward",j=z?c8:Gv,W={pages:c,pageParams:f},te=j(o,W);h=yield L(W,te,z)}else{const z=n!=null?n:c.length;do{const j=p===0?(D=f[0])!=null?D:o.initialPageParam:Gv(o,h);if(p>0&&j==null)break;h=yield L(h,j),p++}while(p<z)}return h});a.options.persister?a.fetchFn=()=>{var E,C;return(C=(E=a.options).persister)==null?void 0:C.call(E,m,{client:a.client,queryKey:a.queryKey,meta:a.options.meta,signal:a.signal},l)}:a.fetchFn=m}}}function Gv(n,{pages:a,pageParams:l}){const o=a.length-1;return a.length>0?n.getNextPageParam(a[o],a,l[o],l):void 0}function c8(n,{pages:a,pageParams:l}){var o;return a.length>0?(o=n.getPreviousPageParam)==null?void 0:o.call(n,a[0],a,l[0],l):void 0}var $e,Ua,Ba,_l,Nl,Ha,Dl,jl,Bg,f8=(Bg=class{constructor(n={}){je(this,$e);je(this,Ua);je(this,Ba);je(this,_l);je(this,Nl);je(this,Ha);je(this,Dl);je(this,jl);xe(this,$e,n.queryCache||new i8),xe(this,Ua,n.mutationCache||new u8),xe(this,Ba,n.defaultOptions||{}),xe(this,_l,new Map),xe(this,Nl,new Map),xe(this,Ha,0)}mount(){qs(this,Ha)._++,F(this,Ha)===1&&(xe(this,Dl,T2.subscribe(n=>Ke(this,null,function*(){n&&(yield this.resumePausedMutations(),F(this,$e).onFocus())}))),xe(this,jl,hu.subscribe(n=>Ke(this,null,function*(){n&&(yield this.resumePausedMutations(),F(this,$e).onOnline())}))))}unmount(){var n,a;qs(this,Ha)._--,F(this,Ha)===0&&((n=F(this,Dl))==null||n.call(this),xe(this,Dl,void 0),(a=F(this,jl))==null||a.call(this),xe(this,jl,void 0))}isFetching(n){return F(this,$e).findAll(B(R({},n),{fetchStatus:"fetching"})).length}isMutating(n){return F(this,Ua).findAll(B(R({},n),{status:"pending"})).length}getQueryData(n){var l;const a=this.defaultQueryOptions({queryKey:n});return(l=F(this,$e).get(a.queryHash))==null?void 0:l.state.data}ensureQueryData(n){const a=this.defaultQueryOptions(n),l=F(this,$e).build(this,a),o=l.state.data;return o===void 0?this.fetchQuery(n):(n.revalidateIfStale&&l.isStaleByTime(Bv(a.staleTime,l))&&this.prefetchQuery(a),Promise.resolve(o))}getQueriesData(n){return F(this,$e).findAll(n).map(({queryKey:a,state:l})=>{const o=l.data;return[a,o]})}setQueryData(n,a,l){const o=this.defaultQueryOptions({queryKey:n}),s=F(this,$e).get(o.queryHash),c=s==null?void 0:s.state.data,f=GS(a,c);if(f!==void 0)return F(this,$e).build(this,o).setData(f,B(R({},l),{manual:!0}))}setQueriesData(n,a,l){return yt.batch(()=>F(this,$e).findAll(n).map(({queryKey:o})=>[o,this.setQueryData(o,a,l)]))}getQueryState(n){var l;const a=this.defaultQueryOptions({queryKey:n});return(l=F(this,$e).get(a.queryHash))==null?void 0:l.state}removeQueries(n){const a=F(this,$e);yt.batch(()=>{a.findAll(n).forEach(l=>{a.remove(l)})})}resetQueries(n,a){const l=F(this,$e);return yt.batch(()=>(l.findAll(n).forEach(o=>{o.reset()}),this.refetchQueries(R({type:"active"},n),a)))}cancelQueries(n,a={}){const l=R({revert:!0},a),o=yt.batch(()=>F(this,$e).findAll(n).map(s=>s.cancel(l)));return Promise.all(o).then(pn).catch(pn)}invalidateQueries(n,a={}){return yt.batch(()=>{var l,o;return F(this,$e).findAll(n).forEach(s=>{s.invalidate()}),(n==null?void 0:n.refetchType)==="none"?Promise.resolve():this.refetchQueries(B(R({},n),{type:(o=(l=n==null?void 0:n.refetchType)!=null?l:n==null?void 0:n.type)!=null?o:"active"}),a)})}refetchQueries(n,a={}){var s;const l=B(R({},a),{cancelRefetch:(s=a.cancelRefetch)!=null?s:!0}),o=yt.batch(()=>F(this,$e).findAll(n).filter(c=>!c.isDisabled()).map(c=>{let f=c.fetch(void 0,l);return l.throwOnError||(f=f.catch(pn)),c.state.fetchStatus==="paused"?Promise.resolve():f}));return Promise.all(o).then(pn)}fetchQuery(n){const a=this.defaultQueryOptions(n);a.retry===void 0&&(a.retry=!1);const l=F(this,$e).build(this,a);return l.isStaleByTime(Bv(a.staleTime,l))?l.fetch(a):Promise.resolve(l.state.data)}prefetchQuery(n){return this.fetchQuery(n).then(pn).catch(pn)}fetchInfiniteQuery(n){return n.behavior=Vv(n.pages),this.fetchQuery(n)}prefetchInfiniteQuery(n){return this.fetchInfiniteQuery(n).then(pn).catch(pn)}ensureInfiniteQueryData(n){return n.behavior=Vv(n.pages),this.ensureQueryData(n)}resumePausedMutations(){return hu.isOnline()?F(this,Ua).resumePausedMutations():Promise.resolve()}getQueryCache(){return F(this,$e)}getMutationCache(){return F(this,Ua)}getDefaultOptions(){return F(this,Ba)}setDefaultOptions(n){xe(this,Ba,n)}setQueryDefaults(n,a){F(this,_l).set(wr(n),{queryKey:n,defaultOptions:a})}getQueryDefaults(n){const a=[...F(this,_l).values()],l={};return a.forEach(o=>{ni(n,o.queryKey)&&Object.assign(l,o.defaultOptions)}),l}setMutationDefaults(n,a){F(this,Nl).set(wr(n),{mutationKey:n,defaultOptions:a})}getMutationDefaults(n){const a=[...F(this,Nl).values()],l={};return a.forEach(o=>{ni(n,o.mutationKey)&&Object.assign(l,o.defaultOptions)}),l}defaultQueryOptions(n){if(n._defaulted)return n;const a=B(R(R(R({},F(this,Ba).queries),this.getQueryDefaults(n.queryKey)),n),{_defaulted:!0});return a.queryHash||(a.queryHash=Ah(a.queryKey,a)),a.refetchOnReconnect===void 0&&(a.refetchOnReconnect=a.networkMode!=="always"),a.throwOnError===void 0&&(a.throwOnError=!!a.suspense),!a.networkMode&&a.persister&&(a.networkMode="offlineFirst"),a.queryFn===Oh&&(a.enabled=!1),a}defaultMutationOptions(n){return n!=null&&n._defaulted?n:B(R(R(R({},F(this,Ba).mutations),(n==null?void 0:n.mutationKey)&&this.getMutationDefaults(n.mutationKey)),n),{_defaulted:!0})}clear(){F(this,$e).clear(),F(this,Ua).clear()}},$e=new WeakMap,Ua=new WeakMap,Ba=new WeakMap,_l=new WeakMap,Nl=new WeakMap,Ha=new WeakMap,Dl=new WeakMap,jl=new WeakMap,Bg),ka,Pa,zt,ea,na,au,th,Hg,d8=(Hg=class extends mi{constructor(l,o){super();je(this,na);je(this,ka);je(this,Pa);je(this,zt);je(this,ea);xe(this,ka,l),this.setOptions(o),this.bindMethods(),nt(this,na,au).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(l){var s;const o=this.options;this.options=F(this,ka).defaultMutationOptions(l),QS(this.options,o)||F(this,ka).getMutationCache().notify({type:"observerOptionsUpdated",mutation:F(this,zt),observer:this}),o!=null&&o.mutationKey&&this.options.mutationKey&&wr(o.mutationKey)!==wr(this.options.mutationKey)?this.reset():((s=F(this,zt))==null?void 0:s.state.status)==="pending"&&F(this,zt).setOptions(this.options)}onUnsubscribe(){var l;this.hasListeners()||(l=F(this,zt))==null||l.removeObserver(this)}onMutationUpdate(l){nt(this,na,au).call(this),nt(this,na,th).call(this,l)}getCurrentResult(){return F(this,Pa)}reset(){var l;(l=F(this,zt))==null||l.removeObserver(this),xe(this,zt,void 0),nt(this,na,au).call(this),nt(this,na,th).call(this)}mutate(l,o){var s;return xe(this,ea,o),(s=F(this,zt))==null||s.removeObserver(this),xe(this,zt,F(this,ka).getMutationCache().build(F(this,ka),this.options)),F(this,zt).addObserver(this),F(this,zt).execute(l)}},ka=new WeakMap,Pa=new WeakMap,zt=new WeakMap,ea=new WeakMap,na=new WeakSet,au=function(){var o,s;const l=(s=(o=F(this,zt))==null?void 0:o.state)!=null?s:N2();xe(this,Pa,B(R({},l),{isPending:l.status==="pending",isSuccess:l.status==="success",isError:l.status==="error",isIdle:l.status==="idle",mutate:this.mutate,reset:this.reset}))},th=function(l){yt.batch(()=>{var o,s,c,f,h,p,m,g;if(F(this,ea)&&this.hasListeners()){const y=F(this,Pa).variables,w=F(this,Pa).context;(l==null?void 0:l.type)==="success"?((s=(o=F(this,ea)).onSuccess)==null||s.call(o,l.data,y,w),(f=(c=F(this,ea)).onSettled)==null||f.call(c,l.data,null,y,w)):(l==null?void 0:l.type)==="error"&&((p=(h=F(this,ea)).onError)==null||p.call(h,l.error,y,w),(g=(m=F(this,ea)).onSettled)==null||g.call(m,void 0,l.error,y,w))}this.listeners.forEach(y=>{y(F(this,Pa))})})},Hg),D2=v.createContext(void 0),j2=n=>{const a=v.useContext(D2);if(!a)throw new Error("No QueryClient set, use QueryClientProvider to set one");return a},h8=({client:n,children:a})=>(v.useEffect(()=>(n.mount(),()=>{n.unmount()}),[n]),x.jsx(D2.Provider,{value:n,children:a}));function m8(n,a){return typeof n=="function"?n(...a):!!n}function p8(){}function v8(n,a){const l=j2(),[o]=v.useState(()=>new d8(l,n));v.useEffect(()=>{o.setOptions(n)},[o,n]);const s=v.useSyncExternalStore(v.useCallback(f=>o.subscribe(yt.batchCalls(f)),[o]),()=>o.getCurrentResult(),()=>o.getCurrentResult()),c=v.useCallback((f,h)=>{o.mutate(f,h).catch(p8)},[o]);if(s.error&&m8(o.options.throwOnError,[s.error]))throw s.error;return B(R({},s),{mutate:c,mutateAsync:s.mutate})}const L2=v.createContext(void 0),g8=({children:n})=>{const[a,l]=v.useState(()=>{const p=sessionStorage.getItem("user");try{return p?JSON.parse(p):null}catch(m){return console.error("Error parsing user from sessionStorage"),null}}),o=Ou(),s=j2(),c=v8({mutationFn:g=>Ke(null,[g],function*({email:p,password:m}){const{data:y}=yield ti.post("/users/login",{email:p,password:m});return console.log(y.access_token),y}),onSuccess:p=>{l(p),sessionStorage.setItem("user",JSON.stringify(p)),localStorage.setItem("logout","false"),p.role==="admin"?o("/admin/dashboard"):p.role==="visitor"?o("/visitor"):o("/profile")},onError:p=>{console.error(p),alert("Login failed")}}),f=(p,m)=>Ke(null,null,function*(){yield c.mutateAsync({email:p,password:m})}),h=()=>{l(null),sessionStorage.removeItem("user"),sessionStorage.clear(),localStorage.setItem("logout","true"),s.clear(),o("/login")};return window.addEventListener("storage",p=>{p.key==="logout"&&p.newValue==="true"&&(sessionStorage.clear(),localStorage.clear(),l(null),s.clear(),o("/login"))}),VS(h),x.jsx(L2.Provider,{value:{user:a,login:f,logout:h},children:n})},z2=()=>{const n=v.useContext(L2);if(!n)throw new Error("useAuth must be used within an AuthProvider");return n},y8=({component:n,roles:a=[],permissions:l=[]})=>{const{user:o}=z2(),s=Ou();return v.useEffect(()=>{if(!o){console.log("este es el que me esta sacando",o),s("/login",{replace:!0});return}if(a.length===0&&l.length===0)return;const c=l.length===0||l.every(h=>o.permissions.includes(h)),f=a.length===0||a.includes(o.role);(!c||!f)&&s("/403",{replace:!0})},[o,a,l,s]),o?x.jsx(n,{}):null},b8="modulepreload",x8=function(n){return"/"+n},Yv={},Lt=function(a,l,o){let s=Promise.resolve();if(l&&l.length>0){let p=function(m){return Promise.all(m.map(g=>Promise.resolve(g).then(y=>({status:"fulfilled",value:y}),y=>({status:"rejected",reason:y}))))};document.getElementsByTagName("link");const f=document.querySelector("meta[property=csp-nonce]"),h=(f==null?void 0:f.nonce)||(f==null?void 0:f.getAttribute("nonce"));s=p(l.map(m=>{if(m=x8(m),m in Yv)return;Yv[m]=!0;const g=m.endsWith(".css"),y=g?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${m}"]${y}`))return;const w=document.createElement("link");if(w.rel=g?"stylesheet":b8,g||(w.as="script"),w.crossOrigin="",w.href=m,h&&w.setAttribute("nonce",h),document.head.appendChild(w),g)return new Promise((T,A)=>{w.addEventListener("load",T),w.addEventListener("error",()=>A(new Error(`Unable to preload CSS for ${m}`)))})}))}function c(f){const h=new Event("vite:preloadError",{cancelable:!0});if(h.payload=f,window.dispatchEvent(h),!h.defaultPrevented)throw f}return s.then(f=>{for(const h of f||[])h.status==="rejected"&&c(h.reason);return a().catch(c)})},Fv=[{path:"login",component:v.lazy(()=>Lt(()=>import("./page-login-PKegASn0.js"),__vite__mapDeps([0,1,2,3]))),label:"Login",layout:"PublicLayout",showInMenu:!1},{path:"",component:v.lazy(()=>Lt(()=>import("./Home-TFdYl8a7.js"),__vite__mapDeps([4,5]))),label:"Home",layout:"PublicLayout",showInMenu:!1},{path:"home",component:v.lazy(()=>Lt(()=>import("./Home-TFdYl8a7.js"),__vite__mapDeps([4,5]))),label:"Home",layout:"PublicLayout",showInMenu:!1},{path:"dashboard",component:v.lazy(()=>Lt(()=>import("./admin-dashboard-gFcq4qf7.js"),__vite__mapDeps([6,7,3,8,9]))),label:"Admin Dashboard",roles:["user","admin"],layout:"AdminLayout",showInMenu:!0},{path:"entailment/studios",component:v.lazy(()=>Lt(()=>import("./page-studios-list-vaZx5QFE.js"),__vite__mapDeps([10,11,12,13,14,2,15,7,3,8]))),label:"Studios List",roles:["user","admin"],layout:"AdminLayout",showInMenu:!0},{path:"entailment/studios/create",component:v.lazy(()=>Lt(()=>import("./page-studios-create-CGXWlA-v.js"),__vite__mapDeps([16,17,11,1,2,18,15,8,19,20,12,21,3]))),label:"Studios Create",roles:["user","admin"],layout:"AdminLayout",showInMenu:!0},{path:"entailment/studios/:id",component:v.lazy(()=>Lt(()=>import("./page-studios-update-CnVtI9tP.js"),__vite__mapDeps([22,21,1,2,11,12,17,18,3,15,8,19,20,23]))),label:"Studios Update",roles:["user","admin"],layout:"AdminLayout",showInMenu:!0},{path:"administration/accounts/list",component:v.lazy(()=>Lt(()=>import("./accounts-list-page-jeQVQK0g.js"),__vite__mapDeps([24,9,3,8,7]))),label:"Accounts List",roles:["user","admin"],layout:"AdminLayout",showInMenu:!0},{path:"administration/masters",component:v.lazy(()=>Lt(()=>import("./page-masters-list-DJSaQpF2.js"),__vite__mapDeps([25,26,13,27,11,28,14,2,15,7,3,8]))),label:"Masters List",roles:["user","admin"],layout:"AdminLayout",showInMenu:!0},{path:"administration/masters/create",component:v.lazy(()=>Lt(()=>import("./page-masters-create-PzKJIE7g.js"),__vite__mapDeps([29,17,11,1,2,18,15,8,30,20,23,19,28,3]))),label:"Create Master",roles:["user","admin"],layout:"AdminLayout",showInMenu:!0},{path:"administration/masters/:id",component:v.lazy(()=>Lt(()=>import("./page-masters-update-D-gQGq_2.js"),__vite__mapDeps([31,17,11,1,2,18,15,8,30,20,28,27,23,19,3]))),label:"Update Master",roles:["user","admin"],layout:"AdminLayout",showInMenu:!1},{path:"administration/users",component:v.lazy(()=>Lt(()=>import("./page-users-list-CIEkUeXn.js"),__vite__mapDeps([32,17,11,1,2,18,14,15,13,7,8]))),label:"Users List",roles:["user","admin"],layout:"AdminLayout",showInMenu:!0},{path:"settings/roles",component:v.lazy(()=>Lt(()=>import("./page-roles-list-DRMxoPb0.js"),__vite__mapDeps([33,26,13,11,20,7,3,8]))),label:"Sub Masters List",roles:["user","admin"],layout:"AdminLayout",showInMenu:!0},{path:"settings/roles/permissions/:roleName",component:v.lazy(()=>Lt(()=>import("./page-permissions-update-D0aBmPT1.js"),__vite__mapDeps([34,11,20,7,3,18]))),label:"Permisos",roles:["user","admin"],layout:"AdminLayout",showInMenu:!1}];function w8(){return x.jsx(x.Fragment,{children:x.jsx("div",{className:"flex h-full w-full items-center justify-center text-center",children:x.jsx("span",{children:"Loading..."})})})}/**
 * @license lucide-react v0.525.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const S8=n=>n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),E8=n=>n.replace(/^([A-Z])|[\s-_]+(\w)/g,(a,l,o)=>o?o.toUpperCase():l.toLowerCase()),Kv=n=>{const a=E8(n);return a.charAt(0).toUpperCase()+a.slice(1)},U2=(...n)=>n.filter((a,l,o)=>!!a&&a.trim()!==""&&o.indexOf(a)===l).join(" ").trim(),C8=n=>{for(const a in n)if(a.startsWith("aria-")||a==="role"||a==="title")return!0};/**
 * @license lucide-react v0.525.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */var R8={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
 * @license lucide-react v0.525.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const T8=v.forwardRef((m,p)=>{var g=m,{color:n="currentColor",size:a=24,strokeWidth:l=2,absoluteStrokeWidth:o,className:s="",children:c,iconNode:f}=g,h=G(g,["color","size","strokeWidth","absoluteStrokeWidth","className","children","iconNode"]);return v.createElement("svg",R(R(B(R({ref:p},R8),{width:a,height:a,stroke:n,strokeWidth:o?Number(l)*24/Number(a):l,className:U2("lucide",s)}),!c&&!C8(h)&&{"aria-hidden":"true"}),h),[...f.map(([y,w])=>v.createElement(y,w)),...Array.isArray(c)?c:[c]])});/**
 * @license lucide-react v0.525.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const B2=(n,a)=>{const l=v.forwardRef((f,c)=>{var h=f,{className:o}=h,s=G(h,["className"]);return v.createElement(T8,R({ref:c,iconNode:a,className:U2(`lucide-${S8(Kv(n))}`,`lucide-${n}`,o)},s))});return l.displayName=Kv(n),l};/**
 * @license lucide-react v0.525.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const A8=[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],O8=B2("badge-check",A8);/**
 * @license lucide-react v0.525.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const M8=[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]],_8=B2("log-out",M8);var H2={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},Qv=Et.createContext&&Et.createContext(H2),N8=["attr","size","title"];function D8(n,a){if(n==null)return{};var l=j8(n,a),o,s;if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(n);for(s=0;s<c.length;s++)o=c[s],!(a.indexOf(o)>=0)&&Object.prototype.propertyIsEnumerable.call(n,o)&&(l[o]=n[o])}return l}function j8(n,a){if(n==null)return{};var l={};for(var o in n)if(Object.prototype.hasOwnProperty.call(n,o)){if(a.indexOf(o)>=0)continue;l[o]=n[o]}return l}function mu(){return mu=Object.assign?Object.assign.bind():function(n){for(var a=1;a<arguments.length;a++){var l=arguments[a];for(var o in l)Object.prototype.hasOwnProperty.call(l,o)&&(n[o]=l[o])}return n},mu.apply(this,arguments)}function Xv(n,a){var l=Object.keys(n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);a&&(o=o.filter(function(s){return Object.getOwnPropertyDescriptor(n,s).enumerable})),l.push.apply(l,o)}return l}function pu(n){for(var a=1;a<arguments.length;a++){var l=arguments[a]!=null?arguments[a]:{};a%2?Xv(Object(l),!0).forEach(function(o){L8(n,o,l[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(l)):Xv(Object(l)).forEach(function(o){Object.defineProperty(n,o,Object.getOwnPropertyDescriptor(l,o))})}return n}function L8(n,a,l){return a=z8(a),a in n?Object.defineProperty(n,a,{value:l,enumerable:!0,configurable:!0,writable:!0}):n[a]=l,n}function z8(n){var a=U8(n,"string");return typeof a=="symbol"?a:a+""}function U8(n,a){if(typeof n!="object"||!n)return n;var l=n[Symbol.toPrimitive];if(l!==void 0){var o=l.call(n,a);if(typeof o!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(a==="string"?String:Number)(n)}function k2(n){return n&&n.map((a,l)=>Et.createElement(a.tag,pu({key:l},a.attr),k2(a.child)))}function Ye(n){return a=>Et.createElement(B8,mu({attr:pu({},n.attr)},a),k2(n.child))}function B8(n){var a=l=>{var{attr:o,size:s,title:c}=n,f=D8(n,N8),h=s||l.size||"1em",p;return l.className&&(p=l.className),n.className&&(p=(p?p+" ":"")+n.className),Et.createElement("svg",mu({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},l.attr,o,f,{className:p,style:pu(pu({color:n.color||l.color},l.style),n.style),height:h,width:h,xmlns:"http://www.w3.org/2000/svg"}),c&&Et.createElement("title",null,c),n.children)};return Qv!==void 0?Et.createElement(Qv.Consumer,null,l=>a(l)):a(H2)}function H8(n){return Ye({attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M888 784H664c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h224c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM373.5 510.4c-.9-8.7-1.4-17.5-1.4-26.4 0-15.9 1.5-31.4 4.3-46.5.7-3.6-1.2-7.3-4.5-8.8-13.6-6.1-26.1-14.5-36.9-25.1a127.54 127.54 0 0 1-38.7-95.4c.9-32.1 13.8-62.6 36.3-85.6 24.7-25.3 57.9-39.1 93.2-38.7 31.9.3 62.7 12.6 86 34.4 7.9 7.4 14.7 15.6 20.4 24.4 2 3.1 5.9 4.4 9.3 3.2 17.6-6.1 36.2-10.4 55.3-12.4 5.6-.6 8.8-6.6 6.3-11.6-32.5-64.3-98.9-108.7-175.7-109.9-110.9-1.7-203.3 89.2-203.3 199.9 0 62.8 28.9 118.8 74.2 155.5-31.8 14.7-61.1 35-86.5 60.4-54.8 54.7-85.8 126.9-87.8 204a8 8 0 0 0 8 8.2h56.1c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5 29.4-29.4 65.4-49.8 104.7-59.7 3.9-1 6.5-4.7 6-8.7zM824 484c0-109.4-87.9-198.3-196.9-200C516.3 282.3 424 373.2 424 484c0 62.8 29 118.8 74.2 155.5a300.95 300.95 0 0 0-86.4 60.4C357 754.6 326 826.8 324 903.8a8 8 0 0 0 8 8.2h56c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5C505.8 707.7 563 684 624 684c110.4 0 200-89.5 200-200zm-109.5 90.5C690.3 598.7 658.2 612 624 612s-66.3-13.3-90.5-37.5a127.26 127.26 0 0 1-37.5-91.8c.3-32.8 13.4-64.5 36.3-88 24-24.6 56.1-38.3 90.4-38.7 33.9-.3 66.8 12.9 91 36.6 24.8 24.3 38.4 56.8 38.4 91.4-.1 34.2-13.4 66.3-37.6 90.5z"},child:[]}]})(n)}function k8(n){return Ye({attr:{viewBox:"0 0 24 24"},child:[{tag:"circle",attr:{cx:"6",cy:"4",r:"2"},child:[]},{tag:"path",attr:{d:"M9 7H3a1 1 0 0 0-1 1v7h2v7h4v-7h2V8a1 1 0 0 0-1-1z"},child:[]},{tag:"circle",attr:{cx:"17",cy:"4",r:"2"},child:[]},{tag:"path",attr:{d:"M20.21 7.73a1 1 0 0 0-1-.73h-4.5a1 1 0 0 0-1 .73L12 14h2l-1 4h2v4h4v-4h2l-1-4h2z"},child:[]}]})(n)}function P8(n){return Ye({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M2.047 14.668a.994.994 0 0 0 .465.607l1.91 1.104v2.199a1 1 0 0 0 1 1h2.199l1.104 1.91a1.01 1.01 0 0 0 .866.5c.174 0 .347-.046.501-.135L12 20.75l1.91 1.104a1.001 1.001 0 0 0 1.366-.365l1.103-1.91h2.199a1 1 0 0 0 1-1V16.38l1.91-1.104a1 1 0 0 0 .365-1.367L20.75 12l1.104-1.908a1 1 0 0 0-.365-1.366l-1.91-1.104v-2.2a1 1 0 0 0-1-1H16.38l-1.103-1.909a1.008 1.008 0 0 0-.607-.466.993.993 0 0 0-.759.1L12 3.25l-1.909-1.104a1 1 0 0 0-1.366.365l-1.104 1.91H5.422a1 1 0 0 0-1 1V7.62l-1.91 1.104a1.003 1.003 0 0 0-.365 1.368L3.251 12l-1.104 1.908a1.009 1.009 0 0 0-.1.76zM12 13c-3.48 0-4-1.879-4-3 0-1.287 1.029-2.583 3-2.915V6.012h2v1.109c1.734.41 2.4 1.853 2.4 2.879h-1l-1 .018C13.386 9.638 13.185 9 12 9c-1.299 0-2 .515-2 1 0 .374 0 1 2 1 3.48 0 4 1.879 4 3 0 1.287-1.029 2.583-3 2.915V18h-2v-1.08c-2.339-.367-3-2.003-3-2.92h2c.011.143.159 1 2 1 1.38 0 2-.585 2-1 0-.325 0-1-2-1z"},child:[]}]})(n)}function q8(n){return Ye({attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M2 1a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v7.256A4.5 4.5 0 0 0 12.5 8a4.5 4.5 0 0 0-3.59 1.787A.5.5 0 0 0 9 9.5v-1a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .39-.187A4.5 4.5 0 0 0 8.027 12H6.5a.5.5 0 0 0-.5.5V16H3a1 1 0 0 1-1-1zm2 1.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5m3 0v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5m3.5-.5a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5zM4 5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5M7.5 5a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5zm2.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5M4.5 8a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5z"},child:[]},{tag:"path",attr:{d:"M11.886 9.46c.18-.613 1.048-.613 1.229 0l.043.148a.64.64 0 0 0 .921.382l.136-.074c.561-.306 1.175.308.87.869l-.075.136a.64.64 0 0 0 .382.92l.149.045c.612.18.612 1.048 0 1.229l-.15.043a.64.64 0 0 0-.38.921l.074.136c.305.561-.309 1.175-.87.87l-.136-.075a.64.64 0 0 0-.92.382l-.045.149c-.18.612-1.048.612-1.229 0l-.043-.15a.64.64 0 0 0-.921-.38l-.136.074c-.561.305-1.175-.309-.87-.87l.075-.136a.64.64 0 0 0-.382-.92l-.148-.045c-.613-.18-.613-1.048 0-1.229l.148-.043a.64.64 0 0 0 .382-.921l-.074-.136c-.306-.561.308-1.175.869-.87l.136.075a.64.64 0 0 0 .92-.382zM14 12.5a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0"},child:[]}]})(n)}function V8(n){return Ye({attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M11 5a3 3 0 1 1-6 0 3 3 0 0 1 6 0m-9 8c0 1 1 1 1 1h5.256A4.5 4.5 0 0 1 8 12.5a4.5 4.5 0 0 1 1.544-3.393Q8.844 9.002 8 9c-5 0-6 3-6 4m9.886-3.54c.18-.613 1.048-.613 1.229 0l.043.148a.64.64 0 0 0 .921.382l.136-.074c.561-.306 1.175.308.87.869l-.075.136a.64.64 0 0 0 .382.92l.149.045c.612.18.612 1.048 0 1.229l-.15.043a.64.64 0 0 0-.38.921l.074.136c.305.561-.309 1.175-.87.87l-.136-.075a.64.64 0 0 0-.92.382l-.045.149c-.18.612-1.048.612-1.229 0l-.043-.15a.64.64 0 0 0-.921-.38l-.136.074c-.561.305-1.175-.309-.87-.87l.075-.136a.64.64 0 0 0-.382-.92l-.148-.045c-.613-.18-.613-1.048 0-1.229l.148-.043a.64.64 0 0 0 .382-.921l-.074-.136c-.306-.561.308-1.175.869-.87l.136.075a.64.64 0 0 0 .92-.382zM14 12.5a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0"},child:[]}]})(n)}function G8(n){return Ye({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M12.41 148.02l232.94 105.67c6.8 3.09 14.49 3.09 21.29 0l232.94-105.67c16.55-7.51 16.55-32.52 0-40.03L266.65 2.31a25.607 25.607 0 0 0-21.29 0L12.41 107.98c-16.55 7.51-16.55 32.53 0 40.04zm487.18 88.28l-58.09-26.33-161.64 73.27c-7.56 3.43-15.59 5.17-23.86 5.17s-16.29-1.74-23.86-5.17L70.51 209.97l-58.1 26.33c-16.55 7.5-16.55 32.5 0 40l232.94 105.59c6.8 3.08 14.49 3.08 21.29 0L499.59 276.3c16.55-7.5 16.55-32.5 0-40zm0 127.8l-57.87-26.23-161.86 73.37c-7.56 3.43-15.59 5.17-23.86 5.17s-16.29-1.74-23.86-5.17L70.29 337.87 12.41 364.1c-16.55 7.5-16.55 32.5 0 40l232.94 105.59c6.8 3.08 14.49 3.08 21.29 0L499.59 404.1c16.55-7.5 16.55-32.5 0-40z"},child:[]}]})(n)}function TO(n){return Ye({attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"},child:[]}]})(n)}function AO(n){return Ye({attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M433.941 129.941l-83.882-83.882A48 48 0 0 0 316.118 32H48C21.49 32 0 53.49 0 80v352c0 26.51 21.49 48 48 48h352c26.51 0 48-21.49 48-48V163.882a48 48 0 0 0-14.059-33.941zM224 416c-35.346 0-64-28.654-64-64 0-35.346 28.654-64 64-64s64 28.654 64 64c0 35.346-28.654 64-64 64zm96-304.52V212c0 6.627-5.373 12-12 12H76c-6.627 0-12-5.373-12-12V108c0-6.627 5.373-12 12-12h228.52c3.183 0 6.235 1.264 8.485 3.515l3.48 3.48A11.996 11.996 0 0 1 320 111.48z"},child:[]}]})(n)}function Y8(n){return Ye({attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M610.5 341.3c2.6-14.1 2.6-28.5 0-42.6l25.8-14.9c3-1.7 4.3-5.2 3.3-8.5-6.7-21.6-18.2-41.2-33.2-57.4-2.3-2.5-6-3.1-9-1.4l-25.8 14.9c-10.9-9.3-23.4-16.5-36.9-21.3v-29.8c0-3.4-2.4-6.4-5.7-7.1-22.3-5-45-4.8-66.2 0-3.3.7-5.7 3.7-5.7 7.1v29.8c-13.5 4.8-26 12-36.9 21.3l-25.8-14.9c-2.9-1.7-6.7-1.1-9 1.4-15 16.2-26.5 35.8-33.2 57.4-1 3.3.4 6.8 3.3 8.5l25.8 14.9c-2.6 14.1-2.6 28.5 0 42.6l-25.8 14.9c-3 1.7-4.3 5.2-3.3 8.5 6.7 21.6 18.2 41.1 33.2 57.4 2.3 2.5 6 3.1 9 1.4l25.8-14.9c10.9 9.3 23.4 16.5 36.9 21.3v29.8c0 3.4 2.4 6.4 5.7 7.1 22.3 5 45 4.8 66.2 0 3.3-.7 5.7-3.7 5.7-7.1v-29.8c13.5-4.8 26-12 36.9-21.3l25.8 14.9c2.9 1.7 6.7 1.1 9-1.4 15-16.2 26.5-35.8 33.2-57.4 1-3.3-.4-6.8-3.3-8.5l-25.8-14.9zM496 368.5c-26.8 0-48.5-21.8-48.5-48.5s21.8-48.5 48.5-48.5 48.5 21.8 48.5 48.5-21.7 48.5-48.5 48.5zM96 224c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm224 32c1.9 0 3.7-.5 5.6-.6 8.3-21.7 20.5-42.1 36.3-59.2 7.4-8 17.9-12.6 28.9-12.6 6.9 0 13.7 1.8 19.6 5.3l7.9 4.6c.8-.5 1.6-.9 2.4-1.4 7-14.6 11.2-30.8 11.2-48 0-61.9-50.1-112-112-112S208 82.1 208 144c0 61.9 50.1 112 112 112zm105.2 194.5c-2.3-1.2-4.6-2.6-6.8-3.9-8.2 4.8-15.3 9.8-27.5 9.8-10.9 0-21.4-4.6-28.9-12.6-18.3-19.8-32.3-43.9-40.2-69.6-10.7-34.5 24.9-49.7 25.8-50.3-.1-2.6-.1-5.2 0-7.8l-7.9-4.6c-3.8-2.2-7-5-9.8-8.1-3.3.2-6.5.6-9.8.6-24.6 0-47.6-6-68.5-16h-8.3C179.6 288 128 339.6 128 403.2V432c0 26.5 21.5 48 48 48h255.4c-3.7-6-6.2-12.8-6.2-20.3v-9.2zM173.1 274.6C161.5 263.1 145.6 256 128 256H64c-35.3 0-64 28.7-64 64v32c0 17.7 14.3 32 32 32h65.9c6.3-47.4 34.9-87.3 75.2-109.4z"},child:[]}]})(n)}function OO(n){return Ye({attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M96 224c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm448 0c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm32 32h-64c-17.6 0-33.5 7.1-45.1 18.6 40.3 22.1 68.9 62 75.1 109.4h66c17.7 0 32-14.3 32-32v-32c0-35.3-28.7-64-64-64zm-256 0c61.9 0 112-50.1 112-112S381.9 32 320 32 208 82.1 208 144s50.1 112 112 112zm76.8 32h-8.3c-20.8 10-43.9 16-68.5 16s-47.6-6-68.5-16h-8.3C179.6 288 128 339.6 128 403.2V432c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48v-28.8c0-63.6-51.6-115.2-115.2-115.2zm-223.7-13.4C161.5 263.1 145.6 256 128 256H64c-35.3 0-64 28.7-64 64v32c0 17.7 14.3 32 32 32h65.9c6.3-47.4 34.9-87.3 75.2-109.4z"},child:[]}]})(n)}function MO(n){return Ye({attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M527.9 32H48.1C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48.1 48h479.8c26.6 0 48.1-21.5 48.1-48V80c0-26.5-21.5-48-48.1-48zM54.1 80h467.8c3.3 0 6 2.7 6 6v42H48.1V86c0-3.3 2.7-6 6-6zm467.8 352H54.1c-3.3 0-6-2.7-6-6V256h479.8v170c0 3.3-2.7 6-6 6zM192 332v40c0 6.6-5.4 12-12 12h-72c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h72c6.6 0 12 5.4 12 12zm192 0v40c0 6.6-5.4 12-12 12H236c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h136c6.6 0 12 5.4 12 12z"},child:[]}]})(n)}function _O(n){return Ye({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M16 12a4 4 0 1 1-8 0 4 4 0 0 1 8 0Zm-1.5 0a2.5 2.5 0 1 0-5 0 2.5 2.5 0 0 0 5 0Z"},child:[]},{tag:"path",attr:{d:"M12 1c.266 0 .532.009.797.028.763.055 1.345.617 1.512 1.304l.352 1.45c.019.078.09.171.225.221.247.089.49.19.728.302.13.061.246.044.315.002l1.275-.776c.603-.368 1.411-.353 1.99.147.402.349.78.726 1.128 1.129.501.578.515 1.386.147 1.99l-.776 1.274c-.042.069-.058.185.002.315.112.238.213.481.303.728.048.135.142.205.22.225l1.45.352c.687.167 1.249.749 1.303 1.512.038.531.038 1.063 0 1.594-.054.763-.616 1.345-1.303 1.512l-1.45.352c-.078.019-.171.09-.221.225-.089.248-.19.491-.302.728-.061.13-.044.246-.002.315l.776 1.275c.368.603.353 1.411-.147 1.99-.349.402-.726.78-1.129 1.128-.578.501-1.386.515-1.99.147l-1.274-.776c-.069-.042-.185-.058-.314.002a8.606 8.606 0 0 1-.729.303c-.135.048-.205.142-.225.22l-.352 1.45c-.167.687-.749 1.249-1.512 1.303-.531.038-1.063.038-1.594 0-.763-.054-1.345-.616-1.512-1.303l-.352-1.45c-.019-.078-.09-.171-.225-.221a8.138 8.138 0 0 1-.728-.302c-.13-.061-.246-.044-.315-.002l-1.275.776c-.603.368-1.411.353-1.99-.147-.402-.349-.78-.726-1.128-1.129-.501-.578-.515-1.386-.147-1.99l.776-1.274c.042-.069.058-.185-.002-.314a8.606 8.606 0 0 1-.303-.729c-.048-.135-.142-.205-.22-.225l-1.45-.352c-.687-.167-1.249-.749-1.304-1.512a11.158 11.158 0 0 1 0-1.594c.055-.763.617-1.345 1.304-1.512l1.45-.352c.078-.019.171-.09.221-.225.089-.248.19-.491.302-.728.061-.13.044-.246.002-.315l-.776-1.275c-.368-.603-.353-1.411.147-1.99.349-.402.726-.78 1.129-1.128.578-.501 1.386-.515 1.99-.147l1.274.776c.069.042.185.058.315-.002.238-.112.481-.213.728-.303.135-.048.205-.142.225-.22l.352-1.45c.167-.687.749-1.249 1.512-1.304C11.466 1.01 11.732 1 12 1Zm-.69 1.525c-.055.004-.135.05-.161.161l-.353 1.45a1.832 1.832 0 0 1-1.172 1.277 7.147 7.147 0 0 0-.6.249 1.833 1.833 0 0 1-1.734-.074l-1.274-.776c-.098-.06-.186-.036-.228 0a9.774 9.774 0 0 0-.976.976c-.036.042-.06.131 0 .228l.776 1.274c.314.529.342 1.18.074 1.734a7.147 7.147 0 0 0-.249.6 1.831 1.831 0 0 1-1.278 1.173l-1.45.351c-.11.027-.156.107-.16.162a9.63 9.63 0 0 0 0 1.38c.004.055.05.135.161.161l1.45.353a1.832 1.832 0 0 1 1.277 1.172c.074.204.157.404.249.6.268.553.24 1.204-.074 1.733l-.776 1.275c-.06.098-.036.186 0 .228.301.348.628.675.976.976.042.036.131.06.228 0l1.274-.776a1.83 1.83 0 0 1 1.734-.075c.196.093.396.176.6.25a1.831 1.831 0 0 1 1.173 1.278l.351 1.45c.027.11.107.156.162.16a9.63 9.63 0 0 0 1.38 0c.055-.004.135-.05.161-.161l.353-1.45a1.834 1.834 0 0 1 1.172-1.278 6.82 6.82 0 0 0 .6-.248 1.831 1.831 0 0 1 1.733.074l1.275.776c.098.06.186.036.228 0 .348-.301.675-.628.976-.976.036-.042.06-.131 0-.228l-.776-1.275a1.834 1.834 0 0 1-.075-1.733c.093-.196.176-.396.25-.6a1.831 1.831 0 0 1 1.278-1.173l1.45-.351c.11-.027.156-.107.16-.162a9.63 9.63 0 0 0 0-1.38c-.004-.055-.05-.135-.161-.161l-1.45-.353c-.626-.152-1.08-.625-1.278-1.172a6.576 6.576 0 0 0-.248-.6 1.833 1.833 0 0 1 .074-1.734l.776-1.274c.06-.098.036-.186 0-.228a9.774 9.774 0 0 0-.976-.976c-.042-.036-.131-.06-.228 0l-1.275.776a1.831 1.831 0 0 1-1.733.074 6.88 6.88 0 0 0-.6-.249 1.835 1.835 0 0 1-1.173-1.278l-.351-1.45c-.027-.11-.107-.156-.162-.16a9.63 9.63 0 0 0-1.38 0Z"},child:[]}]})(n)}function F8(n){return Ye({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M11.46 1.137a1.748 1.748 0 0 1 1.08 0l8.25 2.675A1.75 1.75 0 0 1 22 5.476V10.5c0 6.19-3.77 10.705-9.401 12.83a1.704 1.704 0 0 1-1.198 0C5.771 21.204 2 16.69 2 10.5V5.476c0-.76.49-1.43 1.21-1.664Zm.617 1.426a.253.253 0 0 0-.154 0L3.673 5.24a.25.25 0 0 0-.173.237V10.5c0 5.461 3.28 9.483 8.43 11.426a.199.199 0 0 0 .14 0c5.15-1.943 8.43-5.965 8.43-11.426V5.476a.25.25 0 0 0-.173-.237ZM13 12.232V15a1 1 0 0 1-2 0v-2.768a2 2 0 1 1 2 0Z"},child:[]}]})(n)}function K8(n){return Ye({attr:{viewBox:"0 0 32 32"},child:[{tag:"path",attr:{d:"M 8 5 C 4.7 5 2 7.7 2 11 C 2 13 3 14.800781 4.5 15.800781 C 1.8 17.200781 0 19.9 0 23 L 2 23 C 2 19.7 4.7 17 8 17 C 11.3 17 14 19.7 14 23 L 16 23 C 16 19.8 18.600781 17.1 21.800781 17 L 22 17 C 24.5 17 26.6 15.500391 27.5 13.400391 C 27.5 13.400391 27.499609 13.300781 27.599609 13.300781 C 27.699609 13.200781 27.699219 13.000391 27.699219 12.900391 C 27.699219 12.800391 27.700781 12.799219 27.800781 12.699219 C 27.800781 12.599219 27.900391 12.400781 27.900391 12.300781 C 27.900391 12.200781 27.9 12.1 28 12 C 28 11.9 27.999609 11.799219 28.099609 11.699219 L 28.099609 11.199219 L 28.099609 11.099609 C 28.099609 7.7996094 25.399609 5.0996094 22.099609 5.0996094 C 18.799609 5.0996094 16.099609 7.7996094 16.099609 11.099609 C 16.099609 13.099609 17.099609 14.900391 18.599609 15.900391 C 17.099609 16.600391 15.899609 17.799219 15.099609 19.199219 C 14.299609 17.799219 13.099609 16.600391 11.599609 15.900391 C 12.999609 14.800391 14 13 14 11 C 14 7.7 11.3 5 8 5 z M 8 7 C 10.2 7 12 8.8 12 11 C 12 13.2 10.2 15 8 15 C 5.8 15 4 13.2 4 11 C 4 8.8 5.8 7 8 7 z M 22 7 C 24.2 7 26 8.8 26 11 C 26 13.2 24.2 15 22 15 C 19.8 15 18 13.2 18 11 C 18 8.8 19.8 7 22 7 z M 24.099609 18 L 24.099609 20.099609 C 23.499609 20.199609 22.900391 20.500781 22.400391 20.800781 L 20.900391 19.300781 L 19.5 20.699219 L 21 22.199219 C 20.6 22.699219 20.400781 23.3 20.300781 24 L 18 24 L 18 26 L 20.099609 26 C 20.199609 26.6 20.500781 27.200781 20.800781 27.800781 L 19.300781 29.300781 L 20.699219 30.699219 L 22.199219 29.199219 C 22.699219 29.499219 23.300391 29.800391 23.900391 29.900391 L 23.900391 32 L 25.900391 32 L 25.900391 29.900391 C 26.500391 29.800391 27.099609 29.499219 27.599609 29.199219 L 29.099609 30.699219 L 30.5 29.300781 L 29 27.800781 C 29.4 27.300781 29.599219 26.7 29.699219 26 L 32 26 L 32 24 L 29.900391 24 C 29.800391 23.4 29.499219 22.799219 29.199219 22.199219 L 30.699219 20.699219 L 29.300781 19.300781 L 27.800781 20.800781 C 27.300781 20.500781 26.699609 20.199609 26.099609 20.099609 L 26.099609 18 L 24.099609 18 z M 25 22 C 26.7 22 28 23.3 28 25 C 28 26.7 26.7 28 25 28 C 23.3 28 22 26.7 22 25 C 22 23.3 23.3 22 25 22 z M 25 24 C 24.875 24 24.75 24.03125 24.632812 24.085938 C 24.515625 24.140625 24.40625 24.21875 24.3125 24.3125 C 24.21875 24.40625 24.140625 24.515625 24.085938 24.632812 C 24.03125 24.75 24 24.875 24 25 C 24 25.125 24.03125 25.25 24.085938 25.367188 C 24.140625 25.484375 24.21875 25.59375 24.3125 25.6875 C 24.40625 25.78125 24.515625 25.859375 24.632812 25.914062 C 24.75 25.96875 24.875 26 25 26 C 25.5 26 26 25.5 26 25 C 26 24.5 25.5 24 25 24 z"},child:[]}]})(n)}function Q8(n){return Ye({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M16.49 15.5v-1.75L14 16.25l2.49 2.5V17H22v-1.5zm3.02 4.25H14v1.5h5.51V23L22 20.5 19.51 18zM9.5 5.5c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zM5.75 8.9 3 23h2.1l1.75-8L9 17v6h2v-7.55L8.95 13.4l.6-3C10.85 12 12.8 13 15 13v-2c-1.85 0-3.45-1-4.35-2.45l-.95-1.6C9.35 6.35 8.7 6 8 6c-.25 0-.5.05-.75.15L2 8.3V13h2V9.65l1.75-.75"},child:[]}]})(n)}function NO(n){return Ye({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M13 11H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2h9v7zM4 9h7V6H4v3zm11 11H4c-1.1 0-2-.9-2-2v-3c0-1.1.9-2 2-2h11v7zM4 18h9v-3H4v3zm18-9h-2l2-5h-7v7h2v9l5-11zM4.75 17.25h1.5v-1.5h-1.5v1.5zm0-9h1.5v-1.5h-1.5v1.5z"},child:[]}]})(n)}function X8(n){return Ye({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M9 12c1.93 0 3.5-1.57 3.5-3.5S10.93 5 9 5 5.5 6.57 5.5 8.5 7.07 12 9 12zm0-5c.83 0 1.5.67 1.5 1.5S9.83 10 9 10s-1.5-.67-1.5-1.5S8.17 7 9 7zm.05 10H4.77c.99-.5 2.7-1 4.23-1 .11 0 .23.01.34.01.34-.73.93-1.33 1.64-1.81-.73-.13-1.42-.2-1.98-.2-2.34 0-7 1.17-7 3.5V19h7v-1.5c0-.17.02-.34.05-.5zm7.45-2.5c-1.84 0-5.5 1.01-5.5 3V19h11v-1.5c0-1.99-3.66-3-5.5-3zm1.21-1.82c.76-.43 1.29-1.24 1.29-2.18a2.5 2.5 0 0 0-5 0c0 .94.53 1.75 1.29 2.18.36.2.77.32 1.21.32s.85-.12 1.21-.32z"},child:[]}]})(n)}function DO(n){return Ye({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M224,56V200a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V56a8,8,0,0,1,8-8H216A8,8,0,0,1,224,56Z",opacity:"0.2"},child:[]},{tag:"path",attr:{d:"M184,104v32a8,8,0,0,1-8,8H99.31l10.35,10.34a8,8,0,0,1-11.32,11.32l-24-24a8,8,0,0,1,0-11.32l24-24a8,8,0,0,1,11.32,11.32L99.31,128H168V104a8,8,0,0,1,16,0Zm48-48V200a16,16,0,0,1-16,16H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56ZM216,200V56H40V200H216Z"},child:[]}]})(n)}function Z8(n){return Ye({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm40-68a28,28,0,0,1-28,28h-4v8a8,8,0,0,1-16,0v-8H104a8,8,0,0,1,0-16h36a12,12,0,0,0,0-24H116a28,28,0,0,1,0-56h4V72a8,8,0,0,1,16,0v8h16a8,8,0,0,1,0,16H116a12,12,0,0,0,0,24h24A28,28,0,0,1,168,148Z"},child:[]}]})(n)}function I8(n){return Ye({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M240,136v64a16,16,0,0,1-16,16H32a16,16,0,0,1-16-16V136a16,16,0,0,1,16-16H72a8,8,0,0,1,0,16H32v64H224V136H184a8,8,0,0,1,0-16h40A16,16,0,0,1,240,136Zm-117.66-2.34a8,8,0,0,0,11.32,0l48-48a8,8,0,0,0-11.32-11.32L136,108.69V24a8,8,0,0,0-16,0v84.69L85.66,74.34A8,8,0,0,0,74.34,85.66ZM200,168a12,12,0,1,0-12,12A12,12,0,0,0,200,168Z"},child:[]}]})(n)}function $8(n){return Ye({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M225.86,102.82c-3.77-3.94-7.67-8-9.14-11.57-1.36-3.27-1.44-8.69-1.52-13.94-.15-9.76-.31-20.82-8-28.51s-18.75-7.85-28.51-8c-5.25-.08-10.67-.16-13.94-1.52-3.56-1.47-7.63-5.37-11.57-9.14C146.28,23.51,138.44,16,128,16s-18.27,7.51-25.18,14.14c-3.94,3.77-8,7.67-11.57,9.14C88,40.64,82.56,40.72,77.31,40.8c-9.76.15-20.82.31-28.51,8S41,67.55,40.8,77.31c-.08,5.25-.16,10.67-1.52,13.94-1.47,3.56-5.37,7.63-9.14,11.57C23.51,109.73,16,117.56,16,128s7.51,18.27,14.14,25.18c3.77,3.94,7.67,8,9.14,11.57,1.36,3.27,1.44,8.69,1.52,13.94.15,9.76.31,20.82,8,28.51s18.75,7.85,28.51,8c5.25.08,10.67.16,13.94,1.52,3.56,1.47,7.63,5.37,11.57,9.14C109.72,232.49,117.56,240,128,240s18.27-7.51,25.18-14.14c3.94-3.77,8-7.67,11.57-9.14,3.27-1.36,8.69-1.44,13.94-1.52,9.76-.15,20.82-.31,28.51-8s7.85-18.75,8-28.51c.08-5.25.16-10.67,1.52-13.94,1.47-3.56,5.37-7.63,9.14-11.57C232.49,146.27,240,138.44,240,128S232.49,109.73,225.86,102.82Zm-11.55,39.29c-4.79,5-9.75,10.17-12.38,16.52-2.52,6.1-2.63,13.07-2.73,19.82-.1,7-.21,14.33-3.32,17.43s-10.39,3.22-17.43,3.32c-6.75.1-13.72.21-19.82,2.73-6.35,2.63-11.52,7.59-16.52,12.38S132,224,128,224s-9.15-4.92-14.11-9.69-10.17-9.75-16.52-12.38c-6.1-2.52-13.07-2.63-19.82-2.73-7-.1-14.33-.21-17.43-3.32s-3.22-10.39-3.32-17.43c-.1-6.75-.21-13.72-2.73-19.82-2.63-6.35-7.59-11.52-12.38-16.52S32,132,32,128s4.92-9.14,9.69-14.11,9.75-10.17,12.38-16.52c2.52-6.1,2.63-13.07,2.73-19.82.1-7,.21-14.33,3.32-17.43S70.51,56.9,77.55,56.8c6.75-.1,13.72-.21,19.82-2.73,6.35-2.63,11.52-7.59,16.52-12.38S124,32,128,32s9.15,4.92,14.11,9.69,10.17,9.75,16.52,12.38c6.1,2.52,13.07,2.63,19.82,2.73,7,.1,14.33.21,17.43,3.32s3.22,10.39,3.32,17.43c.1,6.75.21,13.72,2.73,19.82,2.63,6.35,7.59,11.52,12.38,16.52S224,124,224,128,219.08,137.14,214.31,142.11ZM120,96a24,24,0,1,0-24,24A24,24,0,0,0,120,96ZM88,96a8,8,0,1,1,8,8A8,8,0,0,1,88,96Zm72,40a24,24,0,1,0,24,24A24,24,0,0,0,160,136Zm0,32a8,8,0,1,1,8-8A8,8,0,0,1,160,168Zm13.66-74.34-80,80a8,8,0,0,1-11.32-11.32l80-80a8,8,0,0,1,11.32,11.32Z"},child:[]}]})(n)}function J8(n){return Ye({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M240,136v64a16,16,0,0,1-16,16H32a16,16,0,0,1-16-16V136a16,16,0,0,1,16-16H80a8,8,0,0,1,0,16H32v64H224V136H176a8,8,0,0,1,0-16h48A16,16,0,0,1,240,136ZM85.66,77.66,120,43.31V128a8,8,0,0,0,16,0V43.31l34.34,34.35a8,8,0,0,0,11.32-11.32l-48-48a8,8,0,0,0-11.32,0l-48,48A8,8,0,0,0,85.66,77.66ZM200,168a12,12,0,1,0-12,12A12,12,0,0,0,200,168Z"},child:[]}]})(n)}function W8(n){return Ye({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M168,56a8,8,0,0,1,8-8h16V32a8,8,0,0,1,16,0V48h16a8,8,0,0,1,0,16H208V80a8,8,0,0,1-16,0V64H176A8,8,0,0,1,168,56Zm62.56,54.68a103.92,103.92,0,1,1-85.24-85.24,8,8,0,0,1-2.64,15.78A88.07,88.07,0,0,0,40,128a87.62,87.62,0,0,0,22.24,58.41A79.66,79.66,0,0,1,98.3,157.66a48,48,0,1,1,59.4,0,79.66,79.66,0,0,1,36.06,28.75A87.62,87.62,0,0,0,216,128a88.85,88.85,0,0,0-1.22-14.68,8,8,0,1,1,15.78-2.64ZM128,152a32,32,0,1,0-32-32A32,32,0,0,0,128,152Zm0,64a87.57,87.57,0,0,0,53.92-18.5,64,64,0,0,0-107.84,0A87.57,87.57,0,0,0,128,216Z"},child:[]}]})(n)}function eE(n){return Ye({attr:{viewBox:"0 0 24 24",fill:"currentColor"},child:[{tag:"path",attr:{d:"M3 10C3 10.5523 3.44772 11 4 11L12 11C12.5523 11 13 10.5523 13 10V4C13 3.44772 12.5523 3 12 3H4C3.44772 3 3 3.44772 3 4V10ZM11 20C11 20.5523 11.4477 21 12 21H20C20.5523 21 21 20.5523 21 20V14C21 13.4477 20.5523 13 20 13H12C11.4477 13 11 13.4477 11 14V20ZM13 15H19V19H13V15ZM3 20C3 20.5523 3.44772 21 4 21H8C8.55229 21 9 20.5523 9 20V14C9 13.4477 8.55229 13 8 13H4C3.44772 13 3 13.4477 3 14V20ZM5 19V15H7V19H5ZM5 9V5L11 5L11 9L5 9ZM20 11C20.5523 11 21 10.5523 21 10V4C21 3.44772 20.5523 3 20 3H16C15.4477 3 15 3.44772 15 4V10C15 10.5523 15.4477 11 16 11H20ZM19 9H17V5H19V9Z"},child:[]}]})(n)}function jO(n){return Ye({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M7 7h-1a2 2 0 0 0 -2 2v9a2 2 0 0 0 2 2h9a2 2 0 0 0 2 -2v-1"},child:[]},{tag:"path",attr:{d:"M20.385 6.585a2.1 2.1 0 0 0 -2.97 -2.97l-8.415 8.385v3h3l8.385 -8.415z"},child:[]},{tag:"path",attr:{d:"M16 5l3 3"},child:[]}]})(n)}function tE(n){return Ye({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M12.003 21c-.732 .001 -1.465 -.438 -1.678 -1.317a1.724 1.724 0 0 0 -2.573 -1.066c-1.543 .94 -3.31 -.826 -2.37 -2.37a1.724 1.724 0 0 0 -1.065 -2.572c-1.756 -.426 -1.756 -2.924 0 -3.35a1.724 1.724 0 0 0 1.066 -2.573c-.94 -1.543 .826 -3.31 2.37 -2.37c1 .608 2.296 .07 2.572 -1.065c.426 -1.756 2.924 -1.756 3.35 0a1.724 1.724 0 0 0 2.573 1.066c1.543 -.94 3.31 .826 2.37 2.37a1.724 1.724 0 0 0 1.065 2.572c.886 .215 1.325 .957 1.318 1.694"},child:[]},{tag:"path",attr:{d:"M9 12a3 3 0 1 0 6 0a3 3 0 0 0 -6 0"},child:[]},{tag:"path",attr:{d:"M19.001 19m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"},child:[]},{tag:"path",attr:{d:"M19.001 15.5v1.5"},child:[]},{tag:"path",attr:{d:"M19.001 21v1.5"},child:[]},{tag:"path",attr:{d:"M22.032 17.25l-1.299 .75"},child:[]},{tag:"path",attr:{d:"M17.27 20l-1.3 .75"},child:[]},{tag:"path",attr:{d:"M15.97 17.25l1.3 .75"},child:[]},{tag:"path",attr:{d:"M20.733 20l1.3 .75"},child:[]}]})(n)}function Ko(n){return Ye({attr:{viewBox:"0 0 16 16",fill:"currentColor"},child:[{tag:"path",attr:{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 14H15v-1H2V0H1v13.5l.5.5zM3 11.5v-8l.5-.5h2l.5.5v8l-.5.5h-2l-.5-.5zm2-.5V4H4v7h1zm6-9.5v10l.5.5h2l.5-.5v-10l-.5-.5h-2l-.5.5zm2 .5v9h-1V2h1zm-6 9.5v-6l.5-.5h2l.5.5v6l-.5.5h-2l-.5-.5zm2-.5V6H8v5h1z"},child:[]}]})(n)}function oa(n,a){if(n==null)return{};var l={},o=Object.keys(n),s,c;for(c=0;c<o.length;c++)s=o[c],!(a.indexOf(s)>=0)&&(l[s]=n[s]);return l}var nE=["color"],aE=v.forwardRef(function(n,a){var l=n.color,o=l===void 0?"currentColor":l,s=oa(n,nE);return v.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s,{ref:a}),v.createElement("path",{d:"M4.93179 5.43179C4.75605 5.60753 4.75605 5.89245 4.93179 6.06819C5.10753 6.24392 5.39245 6.24392 5.56819 6.06819L7.49999 4.13638L9.43179 6.06819C9.60753 6.24392 9.89245 6.24392 10.0682 6.06819C10.2439 5.89245 10.2439 5.60753 10.0682 5.43179L7.81819 3.18179C7.73379 3.0974 7.61933 3.04999 7.49999 3.04999C7.38064 3.04999 7.26618 3.0974 7.18179 3.18179L4.93179 5.43179ZM10.0682 9.56819C10.2439 9.39245 10.2439 9.10753 10.0682 8.93179C9.89245 8.75606 9.60753 8.75606 9.43179 8.93179L7.49999 10.8636L5.56819 8.93179C5.39245 8.75606 5.10753 8.75606 4.93179 8.93179C4.75605 9.10753 4.75605 9.39245 4.93179 9.56819L7.18179 11.8182C7.35753 11.9939 7.64245 11.9939 7.81819 11.8182L10.0682 9.56819Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),rE=["color"],lE=v.forwardRef(function(n,a){var l=n.color,o=l===void 0?"currentColor":l,s=oa(n,rE);return v.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s,{ref:a}),v.createElement("path",{d:"M11.4669 3.72684C11.7558 3.91574 11.8369 4.30308 11.648 4.59198L7.39799 11.092C7.29783 11.2452 7.13556 11.3467 6.95402 11.3699C6.77247 11.3931 6.58989 11.3355 6.45446 11.2124L3.70446 8.71241C3.44905 8.48022 3.43023 8.08494 3.66242 7.82953C3.89461 7.57412 4.28989 7.55529 4.5453 7.78749L6.75292 9.79441L10.6018 3.90792C10.7907 3.61902 11.178 3.53795 11.4669 3.72684Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),oE=["color"],LO=v.forwardRef(function(n,a){var l=n.color,o=l===void 0?"currentColor":l,s=oa(n,oE);return v.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s,{ref:a}),v.createElement("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),iE=["color"],zO=v.forwardRef(function(n,a){var l=n.color,o=l===void 0?"currentColor":l,s=oa(n,iE);return v.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s,{ref:a}),v.createElement("path",{d:"M8.84182 3.13514C9.04327 3.32401 9.05348 3.64042 8.86462 3.84188L5.43521 7.49991L8.86462 11.1579C9.05348 11.3594 9.04327 11.6758 8.84182 11.8647C8.64036 12.0535 8.32394 12.0433 8.13508 11.8419L4.38508 7.84188C4.20477 7.64955 4.20477 7.35027 4.38508 7.15794L8.13508 3.15794C8.32394 2.95648 8.64036 2.94628 8.84182 3.13514Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),sE=["color"],vu=v.forwardRef(function(n,a){var l=n.color,o=l===void 0?"currentColor":l,s=oa(n,sE);return v.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s,{ref:a}),v.createElement("path",{d:"M6.1584 3.13508C6.35985 2.94621 6.67627 2.95642 6.86514 3.15788L10.6151 7.15788C10.7954 7.3502 10.7954 7.64949 10.6151 7.84182L6.86514 11.8418C6.67627 12.0433 6.35985 12.0535 6.1584 11.8646C5.95694 11.6757 5.94673 11.3593 6.1356 11.1579L9.565 7.49985L6.1356 3.84182C5.94673 3.64036 5.95694 3.32394 6.1584 3.13508Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),uE=["color"],UO=v.forwardRef(function(n,a){var l=n.color,o=l===void 0?"currentColor":l,s=oa(n,uE);return v.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s,{ref:a}),v.createElement("path",{d:"M3.13523 8.84197C3.3241 9.04343 3.64052 9.05363 3.84197 8.86477L7.5 5.43536L11.158 8.86477C11.3595 9.05363 11.6759 9.04343 11.8648 8.84197C12.0536 8.64051 12.0434 8.32409 11.842 8.13523L7.84197 4.38523C7.64964 4.20492 7.35036 4.20492 7.15803 4.38523L3.15803 8.13523C2.95657 8.32409 2.94637 8.64051 3.13523 8.84197Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),cE=["color"],P2=v.forwardRef(function(n,a){var l=n.color,o=l===void 0?"currentColor":l,s=oa(n,cE);return v.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s,{ref:a}),v.createElement("path",{d:"M11.7816 4.03157C12.0062 3.80702 12.0062 3.44295 11.7816 3.2184C11.5571 2.99385 11.193 2.99385 10.9685 3.2184L7.50005 6.68682L4.03164 3.2184C3.80708 2.99385 3.44301 2.99385 3.21846 3.2184C2.99391 3.44295 2.99391 3.80702 3.21846 4.03157L6.68688 7.49999L3.21846 10.9684C2.99391 11.193 2.99391 11.557 3.21846 11.7816C3.44301 12.0061 3.80708 12.0061 4.03164 11.7816L7.50005 8.31316L10.9685 11.7816C11.193 12.0061 11.5571 12.0061 11.7816 11.7816C12.0062 11.557 12.0062 11.193 11.7816 10.9684L8.31322 7.49999L11.7816 4.03157Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),fE=["color"],dE=v.forwardRef(function(n,a){var l=n.color,o=l===void 0?"currentColor":l,s=oa(n,fE);return v.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s,{ref:a}),v.createElement("path",{d:"M9.875 7.5C9.875 8.81168 8.81168 9.875 7.5 9.875C6.18832 9.875 5.125 8.81168 5.125 7.5C5.125 6.18832 6.18832 5.125 7.5 5.125C8.81168 5.125 9.875 6.18832 9.875 7.5Z",fill:o}))}),hE=["color"],mE=v.forwardRef(function(n,a){var l=n.color,o=l===void 0?"currentColor":l,s=oa(n,hE);return v.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s,{ref:a}),v.createElement("path",{d:"M8 2H13.5C13.7761 2 14 2.22386 14 2.5V12.5C14 12.7761 13.7761 13 13.5 13H8V2ZM7 2H1.5C1.22386 2 1 2.22386 1 2.5V12.5C1 12.7761 1.22386 13 1.5 13H7V2ZM0 2.5C0 1.67157 0.671573 1 1.5 1H13.5C14.3284 1 15 1.67157 15 2.5V12.5C15 13.3284 14.3284 14 13.5 14H1.5C0.671573 14 0 13.3284 0 12.5V2.5Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))});function q2(n){var a,l,o="";if(typeof n=="string"||typeof n=="number")o+=n;else if(typeof n=="object")if(Array.isArray(n)){var s=n.length;for(a=0;a<s;a++)n[a]&&(l=q2(n[a]))&&(o&&(o+=" "),o+=l)}else for(l in n)n[l]&&(o&&(o+=" "),o+=l);return o}function V2(){for(var n,a,l=0,o="",s=arguments.length;l<s;l++)(n=arguments[l])&&(a=q2(n))&&(o&&(o+=" "),o+=a);return o}const Mh="-",pE=n=>{const a=gE(n),{conflictingClassGroups:l,conflictingClassGroupModifiers:o}=n;return{getClassGroupId:f=>{const h=f.split(Mh);return h[0]===""&&h.length!==1&&h.shift(),G2(h,a)||vE(f)},getConflictingClassGroupIds:(f,h)=>{const p=l[f]||[];return h&&o[f]?[...p,...o[f]]:p}}},G2=(n,a)=>{var f;if(n.length===0)return a.classGroupId;const l=n[0],o=a.nextPart.get(l),s=o?G2(n.slice(1),o):void 0;if(s)return s;if(a.validators.length===0)return;const c=n.join(Mh);return(f=a.validators.find(({validator:h})=>h(c)))==null?void 0:f.classGroupId},Zv=/^\[(.+)\]$/,vE=n=>{if(Zv.test(n)){const a=Zv.exec(n)[1],l=a==null?void 0:a.substring(0,a.indexOf(":"));if(l)return"arbitrary.."+l}},gE=n=>{const{theme:a,classGroups:l}=n,o={nextPart:new Map,validators:[]};for(const s in l)nh(l[s],o,s,a);return o},nh=(n,a,l,o)=>{n.forEach(s=>{if(typeof s=="string"){const c=s===""?a:Iv(a,s);c.classGroupId=l;return}if(typeof s=="function"){if(yE(s)){nh(s(o),a,l,o);return}a.validators.push({validator:s,classGroupId:l});return}Object.entries(s).forEach(([c,f])=>{nh(f,Iv(a,c),l,o)})})},Iv=(n,a)=>{let l=n;return a.split(Mh).forEach(o=>{l.nextPart.has(o)||l.nextPart.set(o,{nextPart:new Map,validators:[]}),l=l.nextPart.get(o)}),l},yE=n=>n.isThemeGetter,bE=n=>{if(n<1)return{get:()=>{},set:()=>{}};let a=0,l=new Map,o=new Map;const s=(c,f)=>{l.set(c,f),a++,a>n&&(a=0,o=l,l=new Map)};return{get(c){let f=l.get(c);if(f!==void 0)return f;if((f=o.get(c))!==void 0)return s(c,f),f},set(c,f){l.has(c)?l.set(c,f):s(c,f)}}},ah="!",rh=":",xE=rh.length,wE=n=>{const{prefix:a,experimentalParseClassName:l}=n;let o=s=>{const c=[];let f=0,h=0,p=0,m;for(let A=0;A<s.length;A++){let E=s[A];if(f===0&&h===0){if(E===rh){c.push(s.slice(p,A)),p=A+xE;continue}if(E==="/"){m=A;continue}}E==="["?f++:E==="]"?f--:E==="("?h++:E===")"&&h--}const g=c.length===0?s:s.substring(p),y=SE(g),w=y!==g,T=m&&m>p?m-p:void 0;return{modifiers:c,hasImportantModifier:w,baseClassName:y,maybePostfixModifierPosition:T}};if(a){const s=a+rh,c=o;o=f=>f.startsWith(s)?c(f.substring(s.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:f,maybePostfixModifierPosition:void 0}}if(l){const s=o;o=c=>l({className:c,parseClassName:s})}return o},SE=n=>n.endsWith(ah)?n.substring(0,n.length-1):n.startsWith(ah)?n.substring(1):n,EE=n=>{const a=Object.fromEntries(n.orderSensitiveModifiers.map(o=>[o,!0]));return o=>{if(o.length<=1)return o;const s=[];let c=[];return o.forEach(f=>{f[0]==="["||a[f]?(s.push(...c.sort(),f),c=[]):c.push(f)}),s.push(...c.sort()),s}},CE=n=>R({cache:bE(n.cacheSize),parseClassName:wE(n),sortModifiers:EE(n)},pE(n)),RE=/\s+/,TE=(n,a)=>{const{parseClassName:l,getClassGroupId:o,getConflictingClassGroupIds:s,sortModifiers:c}=a,f=[],h=n.trim().split(RE);let p="";for(let m=h.length-1;m>=0;m-=1){const g=h[m],{isExternal:y,modifiers:w,hasImportantModifier:T,baseClassName:A,maybePostfixModifierPosition:E}=l(g);if(y){p=g+(p.length>0?" "+p:p);continue}let C=!!E,M=o(C?A.substring(0,E):A);if(!M){if(!C){p=g+(p.length>0?" "+p:p);continue}if(M=o(A),!M){p=g+(p.length>0?" "+p:p);continue}C=!1}const L=c(w).join(":"),D=T?L+ah:L,z=D+M;if(f.includes(z))continue;f.push(z);const j=s(M,C);for(let W=0;W<j.length;++W){const te=j[W];f.push(D+te)}p=g+(p.length>0?" "+p:p)}return p};function AE(){let n=0,a,l,o="";for(;n<arguments.length;)(a=arguments[n++])&&(l=Y2(a))&&(o&&(o+=" "),o+=l);return o}const Y2=n=>{if(typeof n=="string")return n;let a,l="";for(let o=0;o<n.length;o++)n[o]&&(a=Y2(n[o]))&&(l&&(l+=" "),l+=a);return l};function OE(n,...a){let l,o,s,c=f;function f(p){const m=a.reduce((g,y)=>y(g),n());return l=CE(m),o=l.cache.get,s=l.cache.set,c=h,h(p)}function h(p){const m=o(p);if(m)return m;const g=TE(p,l);return s(p,g),g}return function(){return c(AE.apply(null,arguments))}}const ct=n=>{const a=l=>l[n]||[];return a.isThemeGetter=!0,a},F2=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,K2=/^\((?:(\w[\w-]*):)?(.+)\)$/i,ME=/^\d+\/\d+$/,_E=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,NE=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,DE=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,jE=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,LE=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,bl=n=>ME.test(n),Ae=n=>!!n&&!Number.isNaN(Number(n)),Na=n=>!!n&&Number.isInteger(Number(n)),Td=n=>n.endsWith("%")&&Ae(n.slice(0,-1)),$n=n=>_E.test(n),zE=()=>!0,UE=n=>NE.test(n)&&!DE.test(n),Q2=()=>!1,BE=n=>jE.test(n),HE=n=>LE.test(n),kE=n=>!se(n)&&!ue(n),PE=n=>kl(n,I2,Q2),se=n=>F2.test(n),dr=n=>kl(n,$2,UE),Ad=n=>kl(n,FE,Ae),$v=n=>kl(n,X2,Q2),qE=n=>kl(n,Z2,HE),Gs=n=>kl(n,J2,BE),ue=n=>K2.test(n),Qo=n=>Pl(n,$2),VE=n=>Pl(n,KE),Jv=n=>Pl(n,X2),GE=n=>Pl(n,I2),YE=n=>Pl(n,Z2),Ys=n=>Pl(n,J2,!0),kl=(n,a,l)=>{const o=F2.exec(n);return o?o[1]?a(o[1]):l(o[2]):!1},Pl=(n,a,l=!1)=>{const o=K2.exec(n);return o?o[1]?a(o[1]):l:!1},X2=n=>n==="position"||n==="percentage",Z2=n=>n==="image"||n==="url",I2=n=>n==="length"||n==="size"||n==="bg-size",$2=n=>n==="length",FE=n=>n==="number",KE=n=>n==="family-name",J2=n=>n==="shadow",QE=()=>{const n=ct("color"),a=ct("font"),l=ct("text"),o=ct("font-weight"),s=ct("tracking"),c=ct("leading"),f=ct("breakpoint"),h=ct("container"),p=ct("spacing"),m=ct("radius"),g=ct("shadow"),y=ct("inset-shadow"),w=ct("text-shadow"),T=ct("drop-shadow"),A=ct("blur"),E=ct("perspective"),C=ct("aspect"),M=ct("ease"),L=ct("animate"),D=()=>["auto","avoid","all","avoid-page","page","left","right","column"],z=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],j=()=>[...z(),ue,se],W=()=>["auto","hidden","clip","visible","scroll"],te=()=>["auto","contain","none"],J=()=>[ue,se,p],ae=()=>[bl,"full","auto",...J()],oe=()=>[Na,"none","subgrid",ue,se],pe=()=>["auto",{span:["full",Na,ue,se]},Na,ue,se],he=()=>[Na,"auto",ue,se],Se=()=>["auto","min","max","fr",ue,se],Me=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],re=()=>["start","end","center","stretch","center-safe","end-safe"],H=()=>["auto",...J()],Z=()=>[bl,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...J()],Y=()=>[n,ue,se],me=()=>[...z(),Jv,$v,{position:[ue,se]}],O=()=>["no-repeat",{repeat:["","x","y","space","round"]}],K=()=>["auto","cover","contain",GE,PE,{size:[ue,se]}],ne=()=>[Td,Qo,dr],ee=()=>["","none","full",m,ue,se],le=()=>["",Ae,Qo,dr],we=()=>["solid","dashed","dotted","double"],ve=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Ce=()=>[Ae,Td,Jv,$v],_e=()=>["","none",A,ue,se],it=()=>["none",Ae,ue,se],We=()=>["none",Ae,ue,se],Ot=()=>[Ae,ue,se],fn=()=>[bl,"full",...J()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[$n],breakpoint:[$n],color:[zE],container:[$n],"drop-shadow":[$n],ease:["in","out","in-out"],font:[kE],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[$n],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[$n],shadow:[$n],spacing:["px",Ae],text:[$n],"text-shadow":[$n],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",bl,se,ue,C]}],container:["container"],columns:[{columns:[Ae,se,ue,h]}],"break-after":[{"break-after":D()}],"break-before":[{"break-before":D()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:j()}],overflow:[{overflow:W()}],"overflow-x":[{"overflow-x":W()}],"overflow-y":[{"overflow-y":W()}],overscroll:[{overscroll:te()}],"overscroll-x":[{"overscroll-x":te()}],"overscroll-y":[{"overscroll-y":te()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:ae()}],"inset-x":[{"inset-x":ae()}],"inset-y":[{"inset-y":ae()}],start:[{start:ae()}],end:[{end:ae()}],top:[{top:ae()}],right:[{right:ae()}],bottom:[{bottom:ae()}],left:[{left:ae()}],visibility:["visible","invisible","collapse"],z:[{z:[Na,"auto",ue,se]}],basis:[{basis:[bl,"full","auto",h,...J()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Ae,bl,"auto","initial","none",se]}],grow:[{grow:["",Ae,ue,se]}],shrink:[{shrink:["",Ae,ue,se]}],order:[{order:[Na,"first","last","none",ue,se]}],"grid-cols":[{"grid-cols":oe()}],"col-start-end":[{col:pe()}],"col-start":[{"col-start":he()}],"col-end":[{"col-end":he()}],"grid-rows":[{"grid-rows":oe()}],"row-start-end":[{row:pe()}],"row-start":[{"row-start":he()}],"row-end":[{"row-end":he()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Se()}],"auto-rows":[{"auto-rows":Se()}],gap:[{gap:J()}],"gap-x":[{"gap-x":J()}],"gap-y":[{"gap-y":J()}],"justify-content":[{justify:[...Me(),"normal"]}],"justify-items":[{"justify-items":[...re(),"normal"]}],"justify-self":[{"justify-self":["auto",...re()]}],"align-content":[{content:["normal",...Me()]}],"align-items":[{items:[...re(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...re(),{baseline:["","last"]}]}],"place-content":[{"place-content":Me()}],"place-items":[{"place-items":[...re(),"baseline"]}],"place-self":[{"place-self":["auto",...re()]}],p:[{p:J()}],px:[{px:J()}],py:[{py:J()}],ps:[{ps:J()}],pe:[{pe:J()}],pt:[{pt:J()}],pr:[{pr:J()}],pb:[{pb:J()}],pl:[{pl:J()}],m:[{m:H()}],mx:[{mx:H()}],my:[{my:H()}],ms:[{ms:H()}],me:[{me:H()}],mt:[{mt:H()}],mr:[{mr:H()}],mb:[{mb:H()}],ml:[{ml:H()}],"space-x":[{"space-x":J()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":J()}],"space-y-reverse":["space-y-reverse"],size:[{size:Z()}],w:[{w:[h,"screen",...Z()]}],"min-w":[{"min-w":[h,"screen","none",...Z()]}],"max-w":[{"max-w":[h,"screen","none","prose",{screen:[f]},...Z()]}],h:[{h:["screen","lh",...Z()]}],"min-h":[{"min-h":["screen","lh","none",...Z()]}],"max-h":[{"max-h":["screen","lh",...Z()]}],"font-size":[{text:["base",l,Qo,dr]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,ue,Ad]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Td,se]}],"font-family":[{font:[VE,se,a]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[s,ue,se]}],"line-clamp":[{"line-clamp":[Ae,"none",ue,Ad]}],leading:[{leading:[c,...J()]}],"list-image":[{"list-image":["none",ue,se]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",ue,se]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:Y()}],"text-color":[{text:Y()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...we(),"wavy"]}],"text-decoration-thickness":[{decoration:[Ae,"from-font","auto",ue,dr]}],"text-decoration-color":[{decoration:Y()}],"underline-offset":[{"underline-offset":[Ae,"auto",ue,se]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:J()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ue,se]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ue,se]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:me()}],"bg-repeat":[{bg:O()}],"bg-size":[{bg:K()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Na,ue,se],radial:["",ue,se],conic:[Na,ue,se]},YE,qE]}],"bg-color":[{bg:Y()}],"gradient-from-pos":[{from:ne()}],"gradient-via-pos":[{via:ne()}],"gradient-to-pos":[{to:ne()}],"gradient-from":[{from:Y()}],"gradient-via":[{via:Y()}],"gradient-to":[{to:Y()}],rounded:[{rounded:ee()}],"rounded-s":[{"rounded-s":ee()}],"rounded-e":[{"rounded-e":ee()}],"rounded-t":[{"rounded-t":ee()}],"rounded-r":[{"rounded-r":ee()}],"rounded-b":[{"rounded-b":ee()}],"rounded-l":[{"rounded-l":ee()}],"rounded-ss":[{"rounded-ss":ee()}],"rounded-se":[{"rounded-se":ee()}],"rounded-ee":[{"rounded-ee":ee()}],"rounded-es":[{"rounded-es":ee()}],"rounded-tl":[{"rounded-tl":ee()}],"rounded-tr":[{"rounded-tr":ee()}],"rounded-br":[{"rounded-br":ee()}],"rounded-bl":[{"rounded-bl":ee()}],"border-w":[{border:le()}],"border-w-x":[{"border-x":le()}],"border-w-y":[{"border-y":le()}],"border-w-s":[{"border-s":le()}],"border-w-e":[{"border-e":le()}],"border-w-t":[{"border-t":le()}],"border-w-r":[{"border-r":le()}],"border-w-b":[{"border-b":le()}],"border-w-l":[{"border-l":le()}],"divide-x":[{"divide-x":le()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":le()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...we(),"hidden","none"]}],"divide-style":[{divide:[...we(),"hidden","none"]}],"border-color":[{border:Y()}],"border-color-x":[{"border-x":Y()}],"border-color-y":[{"border-y":Y()}],"border-color-s":[{"border-s":Y()}],"border-color-e":[{"border-e":Y()}],"border-color-t":[{"border-t":Y()}],"border-color-r":[{"border-r":Y()}],"border-color-b":[{"border-b":Y()}],"border-color-l":[{"border-l":Y()}],"divide-color":[{divide:Y()}],"outline-style":[{outline:[...we(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Ae,ue,se]}],"outline-w":[{outline:["",Ae,Qo,dr]}],"outline-color":[{outline:Y()}],shadow:[{shadow:["","none",g,Ys,Gs]}],"shadow-color":[{shadow:Y()}],"inset-shadow":[{"inset-shadow":["none",y,Ys,Gs]}],"inset-shadow-color":[{"inset-shadow":Y()}],"ring-w":[{ring:le()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:Y()}],"ring-offset-w":[{"ring-offset":[Ae,dr]}],"ring-offset-color":[{"ring-offset":Y()}],"inset-ring-w":[{"inset-ring":le()}],"inset-ring-color":[{"inset-ring":Y()}],"text-shadow":[{"text-shadow":["none",w,Ys,Gs]}],"text-shadow-color":[{"text-shadow":Y()}],opacity:[{opacity:[Ae,ue,se]}],"mix-blend":[{"mix-blend":[...ve(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ve()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Ae]}],"mask-image-linear-from-pos":[{"mask-linear-from":Ce()}],"mask-image-linear-to-pos":[{"mask-linear-to":Ce()}],"mask-image-linear-from-color":[{"mask-linear-from":Y()}],"mask-image-linear-to-color":[{"mask-linear-to":Y()}],"mask-image-t-from-pos":[{"mask-t-from":Ce()}],"mask-image-t-to-pos":[{"mask-t-to":Ce()}],"mask-image-t-from-color":[{"mask-t-from":Y()}],"mask-image-t-to-color":[{"mask-t-to":Y()}],"mask-image-r-from-pos":[{"mask-r-from":Ce()}],"mask-image-r-to-pos":[{"mask-r-to":Ce()}],"mask-image-r-from-color":[{"mask-r-from":Y()}],"mask-image-r-to-color":[{"mask-r-to":Y()}],"mask-image-b-from-pos":[{"mask-b-from":Ce()}],"mask-image-b-to-pos":[{"mask-b-to":Ce()}],"mask-image-b-from-color":[{"mask-b-from":Y()}],"mask-image-b-to-color":[{"mask-b-to":Y()}],"mask-image-l-from-pos":[{"mask-l-from":Ce()}],"mask-image-l-to-pos":[{"mask-l-to":Ce()}],"mask-image-l-from-color":[{"mask-l-from":Y()}],"mask-image-l-to-color":[{"mask-l-to":Y()}],"mask-image-x-from-pos":[{"mask-x-from":Ce()}],"mask-image-x-to-pos":[{"mask-x-to":Ce()}],"mask-image-x-from-color":[{"mask-x-from":Y()}],"mask-image-x-to-color":[{"mask-x-to":Y()}],"mask-image-y-from-pos":[{"mask-y-from":Ce()}],"mask-image-y-to-pos":[{"mask-y-to":Ce()}],"mask-image-y-from-color":[{"mask-y-from":Y()}],"mask-image-y-to-color":[{"mask-y-to":Y()}],"mask-image-radial":[{"mask-radial":[ue,se]}],"mask-image-radial-from-pos":[{"mask-radial-from":Ce()}],"mask-image-radial-to-pos":[{"mask-radial-to":Ce()}],"mask-image-radial-from-color":[{"mask-radial-from":Y()}],"mask-image-radial-to-color":[{"mask-radial-to":Y()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":z()}],"mask-image-conic-pos":[{"mask-conic":[Ae]}],"mask-image-conic-from-pos":[{"mask-conic-from":Ce()}],"mask-image-conic-to-pos":[{"mask-conic-to":Ce()}],"mask-image-conic-from-color":[{"mask-conic-from":Y()}],"mask-image-conic-to-color":[{"mask-conic-to":Y()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:me()}],"mask-repeat":[{mask:O()}],"mask-size":[{mask:K()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",ue,se]}],filter:[{filter:["","none",ue,se]}],blur:[{blur:_e()}],brightness:[{brightness:[Ae,ue,se]}],contrast:[{contrast:[Ae,ue,se]}],"drop-shadow":[{"drop-shadow":["","none",T,Ys,Gs]}],"drop-shadow-color":[{"drop-shadow":Y()}],grayscale:[{grayscale:["",Ae,ue,se]}],"hue-rotate":[{"hue-rotate":[Ae,ue,se]}],invert:[{invert:["",Ae,ue,se]}],saturate:[{saturate:[Ae,ue,se]}],sepia:[{sepia:["",Ae,ue,se]}],"backdrop-filter":[{"backdrop-filter":["","none",ue,se]}],"backdrop-blur":[{"backdrop-blur":_e()}],"backdrop-brightness":[{"backdrop-brightness":[Ae,ue,se]}],"backdrop-contrast":[{"backdrop-contrast":[Ae,ue,se]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Ae,ue,se]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Ae,ue,se]}],"backdrop-invert":[{"backdrop-invert":["",Ae,ue,se]}],"backdrop-opacity":[{"backdrop-opacity":[Ae,ue,se]}],"backdrop-saturate":[{"backdrop-saturate":[Ae,ue,se]}],"backdrop-sepia":[{"backdrop-sepia":["",Ae,ue,se]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":J()}],"border-spacing-x":[{"border-spacing-x":J()}],"border-spacing-y":[{"border-spacing-y":J()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",ue,se]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Ae,"initial",ue,se]}],ease:[{ease:["linear","initial",M,ue,se]}],delay:[{delay:[Ae,ue,se]}],animate:[{animate:["none",L,ue,se]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[E,ue,se]}],"perspective-origin":[{"perspective-origin":j()}],rotate:[{rotate:it()}],"rotate-x":[{"rotate-x":it()}],"rotate-y":[{"rotate-y":it()}],"rotate-z":[{"rotate-z":it()}],scale:[{scale:We()}],"scale-x":[{"scale-x":We()}],"scale-y":[{"scale-y":We()}],"scale-z":[{"scale-z":We()}],"scale-3d":["scale-3d"],skew:[{skew:Ot()}],"skew-x":[{"skew-x":Ot()}],"skew-y":[{"skew-y":Ot()}],transform:[{transform:[ue,se,"","none","gpu","cpu"]}],"transform-origin":[{origin:j()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:fn()}],"translate-x":[{"translate-x":fn()}],"translate-y":[{"translate-y":fn()}],"translate-z":[{"translate-z":fn()}],"translate-none":["translate-none"],accent:[{accent:Y()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:Y()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ue,se]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":J()}],"scroll-mx":[{"scroll-mx":J()}],"scroll-my":[{"scroll-my":J()}],"scroll-ms":[{"scroll-ms":J()}],"scroll-me":[{"scroll-me":J()}],"scroll-mt":[{"scroll-mt":J()}],"scroll-mr":[{"scroll-mr":J()}],"scroll-mb":[{"scroll-mb":J()}],"scroll-ml":[{"scroll-ml":J()}],"scroll-p":[{"scroll-p":J()}],"scroll-px":[{"scroll-px":J()}],"scroll-py":[{"scroll-py":J()}],"scroll-ps":[{"scroll-ps":J()}],"scroll-pe":[{"scroll-pe":J()}],"scroll-pt":[{"scroll-pt":J()}],"scroll-pr":[{"scroll-pr":J()}],"scroll-pb":[{"scroll-pb":J()}],"scroll-pl":[{"scroll-pl":J()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ue,se]}],fill:[{fill:["none",...Y()]}],"stroke-w":[{stroke:[Ae,Qo,dr,Ad]}],stroke:[{stroke:["none",...Y()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},XE=OE(QE);function ce(...n){return XE(V2(n))}function de(n,a,{checkForDefaultPrevented:l=!0}={}){return function(s){if(n==null||n(s),l===!1||!s.defaultPrevented)return a==null?void 0:a(s)}}function ZE(n,a){const l=v.createContext(a),o=c=>{const m=c,{children:f}=m,h=G(m,["children"]),p=v.useMemo(()=>h,Object.values(h));return x.jsx(l.Provider,{value:p,children:f})};o.displayName=n+"Provider";function s(c){const f=v.useContext(l);if(f)return f;if(a!==void 0)return a;throw new Error(`\`${c}\` must be used within \`${n}\``)}return[o,s]}function Ln(n,a=[]){let l=[];function o(c,f){const h=v.createContext(f),p=l.length;l=[...l,f];const m=y=>{var L;const M=y,{scope:w,children:T}=M,A=G(M,["scope","children"]),E=((L=w==null?void 0:w[n])==null?void 0:L[p])||h,C=v.useMemo(()=>A,Object.values(A));return x.jsx(E.Provider,{value:C,children:T})};m.displayName=c+"Provider";function g(y,w){var E;const T=((E=w==null?void 0:w[n])==null?void 0:E[p])||h,A=v.useContext(T);if(A)return A;if(f!==void 0)return f;throw new Error(`\`${y}\` must be used within \`${c}\``)}return[m,g]}const s=()=>{const c=l.map(f=>v.createContext(f));return function(h){const p=(h==null?void 0:h[n])||c;return v.useMemo(()=>({[`__scope${n}`]:B(R({},h),{[n]:p})}),[h,p])}};return s.scopeName=n,[o,IE(s,...a)]}function IE(...n){const a=n[0];if(n.length===1)return a;const l=()=>{const o=n.map(s=>({useScope:s(),scopeName:s.scopeName}));return function(c){const f=o.reduce((h,{useScope:p,scopeName:m})=>{const y=p(c)[`__scope${m}`];return R(R({},h),y)},{});return v.useMemo(()=>({[`__scope${a.scopeName}`]:f}),[f])}};return l.scopeName=a.scopeName,l}var $t=globalThis!=null&&globalThis.document?v.useLayoutEffect:()=>{},$E=wh[" useInsertionEffect ".trim().toString()]||$t;function ql({prop:n,defaultProp:a,onChange:l=()=>{},caller:o}){const[s,c,f]=JE({defaultProp:a,onChange:l}),h=n!==void 0,p=h?n:s;{const g=v.useRef(n!==void 0);v.useEffect(()=>{const y=g.current;y!==h&&console.warn(`${o} is changing from ${y?"controlled":"uncontrolled"} to ${h?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),g.current=h},[h,o])}const m=v.useCallback(g=>{var y;if(h){const w=WE(g)?g(n):g;w!==n&&((y=f.current)==null||y.call(f,w))}else c(g)},[h,n,c,f]);return[p,m]}function JE({defaultProp:n,onChange:a}){const[l,o]=v.useState(n),s=v.useRef(l),c=v.useRef(a);return $E(()=>{c.current=a},[a]),v.useEffect(()=>{var f;s.current!==l&&((f=c.current)==null||f.call(c,l),s.current=l)},[l,s]),[l,o,c]}function WE(n){return typeof n=="function"}function Wv(n,a){if(typeof n=="function")return n(a);n!=null&&(n.current=a)}function pi(...n){return a=>{let l=!1;const o=n.map(s=>{const c=Wv(s,a);return!l&&typeof c=="function"&&(l=!0),c});if(l)return()=>{for(let s=0;s<o.length;s++){const c=o[s];typeof c=="function"?c():Wv(n[s],null)}}}}function Je(...n){return v.useCallback(pi(...n),n)}function ai(n){const a=e9(n),l=v.forwardRef((o,s)=>{const m=o,{children:c}=m,f=G(m,["children"]),h=v.Children.toArray(c),p=h.find(n9);if(p){const g=p.props.children,y=h.map(w=>w===p?v.Children.count(g)>1?v.Children.only(null):v.isValidElement(g)?g.props.children:null:w);return x.jsx(a,B(R({},f),{ref:s,children:v.isValidElement(g)?v.cloneElement(g,void 0,y):null}))}return x.jsx(a,B(R({},f),{ref:s,children:c}))});return l.displayName=`${n}.Slot`,l}function e9(n){const a=v.forwardRef((l,o)=>{const f=l,{children:s}=f,c=G(f,["children"]);if(v.isValidElement(s)){const h=r9(s),p=a9(c,s.props);return s.type!==v.Fragment&&(p.ref=o?pi(o,h):h),v.cloneElement(s,p)}return v.Children.count(s)>1?v.Children.only(null):null});return a.displayName=`${n}.SlotClone`,a}var W2=Symbol("radix.slottable");function t9(n){const a=({children:l})=>x.jsx(x.Fragment,{children:l});return a.displayName=`${n}.Slottable`,a.__radixId=W2,a}function n9(n){return v.isValidElement(n)&&typeof n.type=="function"&&"__radixId"in n.type&&n.type.__radixId===W2}function a9(n,a){const l=R({},a);for(const o in a){const s=n[o],c=a[o];/^on[A-Z]/.test(o)?s&&c?l[o]=(...h)=>{c(...h),s(...h)}:s&&(l[o]=s):o==="style"?l[o]=R(R({},s),c):o==="className"&&(l[o]=[s,c].filter(Boolean).join(" "))}return R(R({},n),l)}function r9(n){var o,s;let a=(o=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:o.get,l=a&&"isReactWarning"in a&&a.isReactWarning;return l?n.ref:(a=(s=Object.getOwnPropertyDescriptor(n,"ref"))==null?void 0:s.get,l=a&&"isReactWarning"in a&&a.isReactWarning,l?n.props.ref:n.props.ref||n.ref)}var l9=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Le=l9.reduce((n,a)=>{const l=ai(`Primitive.${a}`),o=v.forwardRef((s,c)=>{const m=s,{asChild:f}=m,h=G(m,["asChild"]),p=f?l:a;return typeof window!="undefined"&&(window[Symbol.for("radix-ui")]=!0),x.jsx(p,B(R({},h),{ref:c}))});return o.displayName=`Primitive.${a}`,B(R({},n),{[a]:o})},{});function _h(n,a){n&&Tu.flushSync(()=>n.dispatchEvent(a))}function o9(n,a){return v.useReducer((l,o)=>{const s=a[l][o];return s!=null?s:l},n)}var cn=n=>{const{present:a,children:l}=n,o=i9(a),s=typeof l=="function"?l({present:o.isPresent}):v.Children.only(l),c=Je(o.ref,s9(s));return typeof l=="function"||o.isPresent?v.cloneElement(s,{ref:c}):null};cn.displayName="Presence";function i9(n){const[a,l]=v.useState(),o=v.useRef(null),s=v.useRef(n),c=v.useRef("none"),f=n?"mounted":"unmounted",[h,p]=o9(f,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return v.useEffect(()=>{const m=Fs(o.current);c.current=h==="mounted"?m:"none"},[h]),$t(()=>{const m=o.current,g=s.current;if(g!==n){const w=c.current,T=Fs(m);n?p("MOUNT"):T==="none"||(m==null?void 0:m.display)==="none"?p("UNMOUNT"):p(g&&w!==T?"ANIMATION_OUT":"UNMOUNT"),s.current=n}},[n,p]),$t(()=>{var m;if(a){let g;const y=(m=a.ownerDocument.defaultView)!=null?m:window,w=A=>{const C=Fs(o.current).includes(A.animationName);if(A.target===a&&C&&(p("ANIMATION_END"),!s.current)){const M=a.style.animationFillMode;a.style.animationFillMode="forwards",g=y.setTimeout(()=>{a.style.animationFillMode==="forwards"&&(a.style.animationFillMode=M)})}},T=A=>{A.target===a&&(c.current=Fs(o.current))};return a.addEventListener("animationstart",T),a.addEventListener("animationcancel",w),a.addEventListener("animationend",w),()=>{y.clearTimeout(g),a.removeEventListener("animationstart",T),a.removeEventListener("animationcancel",w),a.removeEventListener("animationend",w)}}else p("ANIMATION_END")},[a,p]),{isPresent:["mounted","unmountSuspended"].includes(h),ref:v.useCallback(m=>{o.current=m?getComputedStyle(m):null,l(m)},[])}}function Fs(n){return(n==null?void 0:n.animationName)||"none"}function s9(n){var o,s;let a=(o=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:o.get,l=a&&"isReactWarning"in a&&a.isReactWarning;return l?n.ref:(a=(s=Object.getOwnPropertyDescriptor(n,"ref"))==null?void 0:s.get,l=a&&"isReactWarning"in a&&a.isReactWarning,l?n.props.ref:n.props.ref||n.ref)}var u9=wh[" useId ".trim().toString()]||(()=>{}),c9=0;function Ga(n){const[a,l]=v.useState(u9());return $t(()=>{l(o=>o!=null?o:String(c9++))},[n]),n||(a?`radix-${a}`:"")}var Bu="Collapsible",[f9,BO]=Ln(Bu),[d9,Nh]=f9(Bu),ey=v.forwardRef((n,a)=>{const g=n,{__scopeCollapsible:l,open:o,defaultOpen:s,disabled:c,onOpenChange:f}=g,h=G(g,["__scopeCollapsible","open","defaultOpen","disabled","onOpenChange"]),[p,m]=ql({prop:o,defaultProp:s!=null?s:!1,onChange:f,caller:Bu});return x.jsx(d9,{scope:l,disabled:c,contentId:Ga(),open:p,onOpenToggle:v.useCallback(()=>m(y=>!y),[m]),children:x.jsx(Le.div,B(R({"data-state":jh(p),"data-disabled":c?"":void 0},h),{ref:a}))})});ey.displayName=Bu;var ty="CollapsibleTrigger",ny=v.forwardRef((n,a)=>{const c=n,{__scopeCollapsible:l}=c,o=G(c,["__scopeCollapsible"]),s=Nh(ty,l);return x.jsx(Le.button,B(R({type:"button","aria-controls":s.contentId,"aria-expanded":s.open||!1,"data-state":jh(s.open),"data-disabled":s.disabled?"":void 0,disabled:s.disabled},o),{ref:a,onClick:de(n.onClick,s.onOpenToggle)}))});ny.displayName=ty;var Dh="CollapsibleContent",ay=v.forwardRef((n,a)=>{const c=n,{forceMount:l}=c,o=G(c,["forceMount"]),s=Nh(Dh,n.__scopeCollapsible);return x.jsx(cn,{present:l||s.open,children:({present:f})=>x.jsx(h9,B(R({},o),{ref:a,present:f}))})});ay.displayName=Dh;var h9=v.forwardRef((n,a)=>{const L=n,{__scopeCollapsible:l,present:o,children:s}=L,c=G(L,["__scopeCollapsible","present","children"]),f=Nh(Dh,l),[h,p]=v.useState(o),m=v.useRef(null),g=Je(a,m),y=v.useRef(0),w=y.current,T=v.useRef(0),A=T.current,E=f.open||h,C=v.useRef(E),M=v.useRef(void 0);return v.useEffect(()=>{const D=requestAnimationFrame(()=>C.current=!1);return()=>cancelAnimationFrame(D)},[]),$t(()=>{const D=m.current;if(D){M.current=M.current||{transitionDuration:D.style.transitionDuration,animationName:D.style.animationName},D.style.transitionDuration="0s",D.style.animationName="none";const z=D.getBoundingClientRect();y.current=z.height,T.current=z.width,C.current||(D.style.transitionDuration=M.current.transitionDuration,D.style.animationName=M.current.animationName),p(o)}},[f.open,o]),x.jsx(Le.div,B(R({"data-state":jh(f.open),"data-disabled":f.disabled?"":void 0,id:f.contentId,hidden:!E},c),{ref:g,style:R({"--radix-collapsible-content-height":w?`${w}px`:void 0,"--radix-collapsible-content-width":A?`${A}px`:void 0},n.style),children:E&&s}))});function jh(n){return n?"open":"closed"}var m9=ey;const p9=m9,v9=ny,g9=ay;function Lh(n){const a=n+"CollectionProvider",[l,o]=Ln(a),[s,c]=l(a,{collectionRef:{current:null},itemMap:new Map}),f=E=>{const{scope:C,children:M}=E,L=Et.useRef(null),D=Et.useRef(new Map).current;return x.jsx(s,{scope:C,itemMap:D,collectionRef:L,children:M})};f.displayName=a;const h=n+"CollectionSlot",p=ai(h),m=Et.forwardRef((E,C)=>{const{scope:M,children:L}=E,D=c(h,M),z=Je(C,D.collectionRef);return x.jsx(p,{ref:z,children:L})});m.displayName=h;const g=n+"CollectionItemSlot",y="data-radix-collection-item",w=ai(g),T=Et.forwardRef((E,C)=>{const te=E,{scope:M,children:L}=te,D=G(te,["scope","children"]),z=Et.useRef(null),j=Je(C,z),W=c(g,M);return Et.useEffect(()=>(W.itemMap.set(z,R({ref:z},D)),()=>void W.itemMap.delete(z))),x.jsx(w,{[y]:"",ref:j,children:L})});T.displayName=g;function A(E){const C=c(n+"CollectionConsumer",E);return Et.useCallback(()=>{const L=C.collectionRef.current;if(!L)return[];const D=Array.from(L.querySelectorAll(`[${y}]`));return Array.from(C.itemMap.values()).sort((W,te)=>D.indexOf(W.ref.current)-D.indexOf(te.ref.current))},[C.collectionRef,C.itemMap])}return[{Provider:f,Slot:m,ItemSlot:T},A,o]}var y9=v.createContext(void 0);function ry(n){const a=v.useContext(y9);return n||a||"ltr"}function Ht(n){const a=v.useRef(n);return v.useEffect(()=>{a.current=n}),v.useMemo(()=>(...l)=>{var o;return(o=a.current)==null?void 0:o.call(a,...l)},[])}function b9(n,a=globalThis==null?void 0:globalThis.document){const l=Ht(n);v.useEffect(()=>{const o=s=>{s.key==="Escape"&&l(s)};return a.addEventListener("keydown",o,{capture:!0}),()=>a.removeEventListener("keydown",o,{capture:!0})},[l,a])}var x9="DismissableLayer",lh="dismissableLayer.update",w9="dismissableLayer.pointerDownOutside",S9="dismissableLayer.focusOutside",eg,ly=v.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),vi=v.forwardRef((n,a)=>{var J;const te=n,{disableOutsidePointerEvents:l=!1,onEscapeKeyDown:o,onPointerDownOutside:s,onFocusOutside:c,onInteractOutside:f,onDismiss:h}=te,p=G(te,["disableOutsidePointerEvents","onEscapeKeyDown","onPointerDownOutside","onFocusOutside","onInteractOutside","onDismiss"]),m=v.useContext(ly),[g,y]=v.useState(null),w=(J=g==null?void 0:g.ownerDocument)!=null?J:globalThis==null?void 0:globalThis.document,[,T]=v.useState({}),A=Je(a,ae=>y(ae)),E=Array.from(m.layers),[C]=[...m.layersWithOutsidePointerEventsDisabled].slice(-1),M=E.indexOf(C),L=g?E.indexOf(g):-1,D=m.layersWithOutsidePointerEventsDisabled.size>0,z=L>=M,j=C9(ae=>{const oe=ae.target,pe=[...m.branches].some(he=>he.contains(oe));!z||pe||(s==null||s(ae),f==null||f(ae),ae.defaultPrevented||h==null||h())},w),W=R9(ae=>{const oe=ae.target;[...m.branches].some(he=>he.contains(oe))||(c==null||c(ae),f==null||f(ae),ae.defaultPrevented||h==null||h())},w);return b9(ae=>{L===m.layers.size-1&&(o==null||o(ae),!ae.defaultPrevented&&h&&(ae.preventDefault(),h()))},w),v.useEffect(()=>{if(g)return l&&(m.layersWithOutsidePointerEventsDisabled.size===0&&(eg=w.body.style.pointerEvents,w.body.style.pointerEvents="none"),m.layersWithOutsidePointerEventsDisabled.add(g)),m.layers.add(g),tg(),()=>{l&&m.layersWithOutsidePointerEventsDisabled.size===1&&(w.body.style.pointerEvents=eg)}},[g,w,l,m]),v.useEffect(()=>()=>{g&&(m.layers.delete(g),m.layersWithOutsidePointerEventsDisabled.delete(g),tg())},[g,m]),v.useEffect(()=>{const ae=()=>T({});return document.addEventListener(lh,ae),()=>document.removeEventListener(lh,ae)},[]),x.jsx(Le.div,B(R({},p),{ref:A,style:R({pointerEvents:D?z?"auto":"none":void 0},n.style),onFocusCapture:de(n.onFocusCapture,W.onFocusCapture),onBlurCapture:de(n.onBlurCapture,W.onBlurCapture),onPointerDownCapture:de(n.onPointerDownCapture,j.onPointerDownCapture)}))});vi.displayName=x9;var E9="DismissableLayerBranch",oy=v.forwardRef((n,a)=>{const l=v.useContext(ly),o=v.useRef(null),s=Je(a,o);return v.useEffect(()=>{const c=o.current;if(c)return l.branches.add(c),()=>{l.branches.delete(c)}},[l.branches]),x.jsx(Le.div,B(R({},n),{ref:s}))});oy.displayName=E9;function C9(n,a=globalThis==null?void 0:globalThis.document){const l=Ht(n),o=v.useRef(!1),s=v.useRef(()=>{});return v.useEffect(()=>{const c=h=>{if(h.target&&!o.current){let p=function(){iy(w9,l,m,{discrete:!0})};const m={originalEvent:h};h.pointerType==="touch"?(a.removeEventListener("click",s.current),s.current=p,a.addEventListener("click",s.current,{once:!0})):p()}else a.removeEventListener("click",s.current);o.current=!1},f=window.setTimeout(()=>{a.addEventListener("pointerdown",c)},0);return()=>{window.clearTimeout(f),a.removeEventListener("pointerdown",c),a.removeEventListener("click",s.current)}},[a,l]),{onPointerDownCapture:()=>o.current=!0}}function R9(n,a=globalThis==null?void 0:globalThis.document){const l=Ht(n),o=v.useRef(!1);return v.useEffect(()=>{const s=c=>{c.target&&!o.current&&iy(S9,l,{originalEvent:c},{discrete:!1})};return a.addEventListener("focusin",s),()=>a.removeEventListener("focusin",s)},[a,l]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}function tg(){const n=new CustomEvent(lh);document.dispatchEvent(n)}function iy(n,a,l,{discrete:o}){const s=l.originalEvent.target,c=new CustomEvent(n,{bubbles:!1,cancelable:!0,detail:l});a&&s.addEventListener(n,a,{once:!0}),o?_h(s,c):s.dispatchEvent(c)}var T9=vi,A9=oy,Od=0;function sy(){v.useEffect(()=>{var a,l;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(a=n[0])!=null?a:ng()),document.body.insertAdjacentElement("beforeend",(l=n[1])!=null?l:ng()),Od++,()=>{Od===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(o=>o.remove()),Od--}},[])}function ng(){const n=document.createElement("span");return n.setAttribute("data-radix-focus-guard",""),n.tabIndex=0,n.style.outline="none",n.style.opacity="0",n.style.position="fixed",n.style.pointerEvents="none",n}var Md="focusScope.autoFocusOnMount",_d="focusScope.autoFocusOnUnmount",ag={bubbles:!1,cancelable:!0},O9="FocusScope",zh=v.forwardRef((n,a)=>{const E=n,{loop:l=!1,trapped:o=!1,onMountAutoFocus:s,onUnmountAutoFocus:c}=E,f=G(E,["loop","trapped","onMountAutoFocus","onUnmountAutoFocus"]),[h,p]=v.useState(null),m=Ht(s),g=Ht(c),y=v.useRef(null),w=Je(a,C=>p(C)),T=v.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;v.useEffect(()=>{if(o){let C=function(z){if(T.paused||!h)return;const j=z.target;h.contains(j)?y.current=j:ja(y.current,{select:!0})},M=function(z){if(T.paused||!h)return;const j=z.relatedTarget;j!==null&&(h.contains(j)||ja(y.current,{select:!0}))},L=function(z){if(document.activeElement===document.body)for(const W of z)W.removedNodes.length>0&&ja(h)};document.addEventListener("focusin",C),document.addEventListener("focusout",M);const D=new MutationObserver(L);return h&&D.observe(h,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",C),document.removeEventListener("focusout",M),D.disconnect()}}},[o,h,T.paused]),v.useEffect(()=>{if(h){lg.add(T);const C=document.activeElement;if(!h.contains(C)){const L=new CustomEvent(Md,ag);h.addEventListener(Md,m),h.dispatchEvent(L),L.defaultPrevented||(M9(L9(uy(h)),{select:!0}),document.activeElement===C&&ja(h))}return()=>{h.removeEventListener(Md,m),setTimeout(()=>{const L=new CustomEvent(_d,ag);h.addEventListener(_d,g),h.dispatchEvent(L),L.defaultPrevented||ja(C!=null?C:document.body,{select:!0}),h.removeEventListener(_d,g),lg.remove(T)},0)}}},[h,m,g,T]);const A=v.useCallback(C=>{if(!l&&!o||T.paused)return;const M=C.key==="Tab"&&!C.altKey&&!C.ctrlKey&&!C.metaKey,L=document.activeElement;if(M&&L){const D=C.currentTarget,[z,j]=_9(D);z&&j?!C.shiftKey&&L===j?(C.preventDefault(),l&&ja(z,{select:!0})):C.shiftKey&&L===z&&(C.preventDefault(),l&&ja(j,{select:!0})):L===D&&C.preventDefault()}},[l,o,T.paused]);return x.jsx(Le.div,B(R({tabIndex:-1},f),{ref:w,onKeyDown:A}))});zh.displayName=O9;function M9(n,{select:a=!1}={}){const l=document.activeElement;for(const o of n)if(ja(o,{select:a}),document.activeElement!==l)return}function _9(n){const a=uy(n),l=rg(a,n),o=rg(a.reverse(),n);return[l,o]}function uy(n){const a=[],l=document.createTreeWalker(n,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const s=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||s?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;l.nextNode();)a.push(l.currentNode);return a}function rg(n,a){for(const l of n)if(!N9(l,{upTo:a}))return l}function N9(n,{upTo:a}){if(getComputedStyle(n).visibility==="hidden")return!0;for(;n;){if(a!==void 0&&n===a)return!1;if(getComputedStyle(n).display==="none")return!0;n=n.parentElement}return!1}function D9(n){return n instanceof HTMLInputElement&&"select"in n}function ja(n,{select:a=!1}={}){if(n&&n.focus){const l=document.activeElement;n.focus({preventScroll:!0}),n!==l&&D9(n)&&a&&n.select()}}var lg=j9();function j9(){let n=[];return{add(a){const l=n[0];a!==l&&(l==null||l.pause()),n=og(n,a),n.unshift(a)},remove(a){var l;n=og(n,a),(l=n[0])==null||l.resume()}}}function og(n,a){const l=[...n],o=l.indexOf(a);return o!==-1&&l.splice(o,1),l}function L9(n){return n.filter(a=>a.tagName!=="A")}const z9=["top","right","bottom","left"],Ya=Math.min,Zt=Math.max,gu=Math.round,Ks=Math.floor,Dn=n=>({x:n,y:n}),U9={left:"right",right:"left",bottom:"top",top:"bottom"},B9={start:"end",end:"start"};function oh(n,a,l){return Zt(n,Ya(a,l))}function aa(n,a){return typeof n=="function"?n(a):n}function ra(n){return n.split("-")[0]}function Vl(n){return n.split("-")[1]}function Uh(n){return n==="x"?"y":"x"}function Bh(n){return n==="y"?"height":"width"}function ta(n){return["top","bottom"].includes(ra(n))?"y":"x"}function Hh(n){return Uh(ta(n))}function H9(n,a,l){l===void 0&&(l=!1);const o=Vl(n),s=Hh(n),c=Bh(s);let f=s==="x"?o===(l?"end":"start")?"right":"left":o==="start"?"bottom":"top";return a.reference[c]>a.floating[c]&&(f=yu(f)),[f,yu(f)]}function k9(n){const a=yu(n);return[ih(n),a,ih(a)]}function ih(n){return n.replace(/start|end/g,a=>B9[a])}function P9(n,a,l){const o=["left","right"],s=["right","left"],c=["top","bottom"],f=["bottom","top"];switch(n){case"top":case"bottom":return l?a?s:o:a?o:s;case"left":case"right":return a?c:f;default:return[]}}function q9(n,a,l,o){const s=Vl(n);let c=P9(ra(n),l==="start",o);return s&&(c=c.map(f=>f+"-"+s),a&&(c=c.concat(c.map(ih)))),c}function yu(n){return n.replace(/left|right|bottom|top/g,a=>U9[a])}function V9(n){return R({top:0,right:0,bottom:0,left:0},n)}function cy(n){return typeof n!="number"?V9(n):{top:n,right:n,bottom:n,left:n}}function bu(n){const{x:a,y:l,width:o,height:s}=n;return{width:o,height:s,top:l,left:a,right:a+o,bottom:l+s,x:a,y:l}}function ig(n,a,l){let{reference:o,floating:s}=n;const c=ta(a),f=Hh(a),h=Bh(f),p=ra(a),m=c==="y",g=o.x+o.width/2-s.width/2,y=o.y+o.height/2-s.height/2,w=o[h]/2-s[h]/2;let T;switch(p){case"top":T={x:g,y:o.y-s.height};break;case"bottom":T={x:g,y:o.y+o.height};break;case"right":T={x:o.x+o.width,y};break;case"left":T={x:o.x-s.width,y};break;default:T={x:o.x,y:o.y}}switch(Vl(a)){case"start":T[f]-=w*(l&&m?-1:1);break;case"end":T[f]+=w*(l&&m?-1:1);break}return T}const G9=(n,a,l)=>Ke(null,null,function*(){const{placement:o="bottom",strategy:s="absolute",middleware:c=[],platform:f}=l,h=c.filter(Boolean),p=yield f.isRTL==null?void 0:f.isRTL(a);let m=yield f.getElementRects({reference:n,floating:a,strategy:s}),{x:g,y}=ig(m,o,p),w=o,T={},A=0;for(let E=0;E<h.length;E++){const{name:C,fn:M}=h[E],{x:L,y:D,data:z,reset:j}=yield M({x:g,y,initialPlacement:o,placement:w,strategy:s,middlewareData:T,rects:m,platform:f,elements:{reference:n,floating:a}});g=L!=null?L:g,y=D!=null?D:y,T=B(R({},T),{[C]:R(R({},T[C]),z)}),j&&A<=50&&(A++,typeof j=="object"&&(j.placement&&(w=j.placement),j.rects&&(m=j.rects===!0?yield f.getElementRects({reference:n,floating:a,strategy:s}):j.rects),{x:g,y}=ig(m,w,p)),E=-1)}return{x:g,y,placement:w,strategy:s,middlewareData:T}});function ri(n,a){return Ke(this,null,function*(){var l;a===void 0&&(a={});const{x:o,y:s,platform:c,rects:f,elements:h,strategy:p}=n,{boundary:m="clippingAncestors",rootBoundary:g="viewport",elementContext:y="floating",altBoundary:w=!1,padding:T=0}=aa(a,n),A=cy(T),C=h[w?y==="floating"?"reference":"floating":y],M=bu(yield c.getClippingRect({element:(l=yield c.isElement==null?void 0:c.isElement(C))==null||l?C:C.contextElement||(yield c.getDocumentElement==null?void 0:c.getDocumentElement(h.floating)),boundary:m,rootBoundary:g,strategy:p})),L=y==="floating"?{x:o,y:s,width:f.floating.width,height:f.floating.height}:f.reference,D=yield c.getOffsetParent==null?void 0:c.getOffsetParent(h.floating),z=(yield c.isElement==null?void 0:c.isElement(D))?(yield c.getScale==null?void 0:c.getScale(D))||{x:1,y:1}:{x:1,y:1},j=bu(c.convertOffsetParentRelativeRectToViewportRelativeRect?yield c.convertOffsetParentRelativeRectToViewportRelativeRect({elements:h,rect:L,offsetParent:D,strategy:p}):L);return{top:(M.top-j.top+A.top)/z.y,bottom:(j.bottom-M.bottom+A.bottom)/z.y,left:(M.left-j.left+A.left)/z.x,right:(j.right-M.right+A.right)/z.x}})}const Y9=n=>({name:"arrow",options:n,fn(l){return Ke(this,null,function*(){const{x:o,y:s,placement:c,rects:f,platform:h,elements:p,middlewareData:m}=l,{element:g,padding:y=0}=aa(n,l)||{};if(g==null)return{};const w=cy(y),T={x:o,y:s},A=Hh(c),E=Bh(A),C=yield h.getDimensions(g),M=A==="y",L=M?"top":"left",D=M?"bottom":"right",z=M?"clientHeight":"clientWidth",j=f.reference[E]+f.reference[A]-T[A]-f.floating[E],W=T[A]-f.reference[A],te=yield h.getOffsetParent==null?void 0:h.getOffsetParent(g);let J=te?te[z]:0;(!J||!(yield h.isElement==null?void 0:h.isElement(te)))&&(J=p.floating[z]||f.floating[E]);const ae=j/2-W/2,oe=J/2-C[E]/2-1,pe=Ya(w[L],oe),he=Ya(w[D],oe),Se=pe,Me=J-C[E]-he,re=J/2-C[E]/2+ae,H=oh(Se,re,Me),Z=!m.arrow&&Vl(c)!=null&&re!==H&&f.reference[E]/2-(re<Se?pe:he)-C[E]/2<0,Y=Z?re<Se?re-Se:re-Me:0;return{[A]:T[A]+Y,data:R({[A]:H,centerOffset:re-H-Y},Z&&{alignmentOffset:Y}),reset:Z}})}}),F9=function(n){return n===void 0&&(n={}),{name:"flip",options:n,fn(l){return Ke(this,null,function*(){var o,s;const{placement:c,middlewareData:f,rects:h,initialPlacement:p,platform:m,elements:g}=l,H=aa(n,l),{mainAxis:y=!0,crossAxis:w=!0,fallbackPlacements:T,fallbackStrategy:A="bestFit",fallbackAxisSideDirection:E="none",flipAlignment:C=!0}=H,M=G(H,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"]);if((o=f.arrow)!=null&&o.alignmentOffset)return{};const L=ra(c),D=ta(p),z=ra(p)===p,j=yield m.isRTL==null?void 0:m.isRTL(g.floating),W=T||(z||!C?[yu(p)]:k9(p)),te=E!=="none";!T&&te&&W.push(...q9(p,C,E,j));const J=[p,...W],ae=yield ri(l,M),oe=[];let pe=((s=f.flip)==null?void 0:s.overflows)||[];if(y&&oe.push(ae[L]),w){const Z=H9(c,h,j);oe.push(ae[Z[0]],ae[Z[1]])}if(pe=[...pe,{placement:c,overflows:oe}],!oe.every(Z=>Z<=0)){var he,Se;const Z=(((he=f.flip)==null?void 0:he.index)||0)+1,Y=J[Z];if(Y){var Me;const O=w==="alignment"?D!==ta(Y):!1,K=((Me=pe[0])==null?void 0:Me.overflows[0])>0;if(!O||K)return{data:{index:Z,overflows:pe},reset:{placement:Y}}}let me=(Se=pe.filter(O=>O.overflows[0]<=0).sort((O,K)=>O.overflows[1]-K.overflows[1])[0])==null?void 0:Se.placement;if(!me)switch(A){case"bestFit":{var re;const O=(re=pe.filter(K=>{if(te){const ne=ta(K.placement);return ne===D||ne==="y"}return!0}).map(K=>[K.placement,K.overflows.filter(ne=>ne>0).reduce((ne,ee)=>ne+ee,0)]).sort((K,ne)=>K[1]-ne[1])[0])==null?void 0:re[0];O&&(me=O);break}case"initialPlacement":me=p;break}if(c!==me)return{reset:{placement:me}}}return{}})}}};function sg(n,a){return{top:n.top-a.height,right:n.right-a.width,bottom:n.bottom-a.height,left:n.left-a.width}}function ug(n){return z9.some(a=>n[a]>=0)}const K9=function(n){return n===void 0&&(n={}),{name:"hide",options:n,fn(l){return Ke(this,null,function*(){const{rects:o}=l,f=aa(n,l),{strategy:s="referenceHidden"}=f,c=G(f,["strategy"]);switch(s){case"referenceHidden":{const h=yield ri(l,B(R({},c),{elementContext:"reference"})),p=sg(h,o.reference);return{data:{referenceHiddenOffsets:p,referenceHidden:ug(p)}}}case"escaped":{const h=yield ri(l,B(R({},c),{altBoundary:!0})),p=sg(h,o.floating);return{data:{escapedOffsets:p,escaped:ug(p)}}}default:return{}}})}}};function Q9(n,a){return Ke(this,null,function*(){const{placement:l,platform:o,elements:s}=n,c=yield o.isRTL==null?void 0:o.isRTL(s.floating),f=ra(l),h=Vl(l),p=ta(l)==="y",m=["left","top"].includes(f)?-1:1,g=c&&p?-1:1,y=aa(a,n);let{mainAxis:w,crossAxis:T,alignmentAxis:A}=typeof y=="number"?{mainAxis:y,crossAxis:0,alignmentAxis:null}:{mainAxis:y.mainAxis||0,crossAxis:y.crossAxis||0,alignmentAxis:y.alignmentAxis};return h&&typeof A=="number"&&(T=h==="end"?A*-1:A),p?{x:T*g,y:w*m}:{x:w*m,y:T*g}})}const X9=function(n){return n===void 0&&(n=0),{name:"offset",options:n,fn(l){return Ke(this,null,function*(){var o,s;const{x:c,y:f,placement:h,middlewareData:p}=l,m=yield Q9(l,n);return h===((o=p.offset)==null?void 0:o.placement)&&(s=p.arrow)!=null&&s.alignmentOffset?{}:{x:c+m.x,y:f+m.y,data:B(R({},m),{placement:h})}})}}},Z9=function(n){return n===void 0&&(n={}),{name:"shift",options:n,fn(l){return Ke(this,null,function*(){const{x:o,y:s,placement:c}=l,M=aa(n,l),{mainAxis:f=!0,crossAxis:h=!1,limiter:p={fn:L=>{let{x:D,y:z}=L;return{x:D,y:z}}}}=M,m=G(M,["mainAxis","crossAxis","limiter"]),g={x:o,y:s},y=yield ri(l,m),w=ta(ra(c)),T=Uh(w);let A=g[T],E=g[w];if(f){const L=T==="y"?"top":"left",D=T==="y"?"bottom":"right",z=A+y[L],j=A-y[D];A=oh(z,A,j)}if(h){const L=w==="y"?"top":"left",D=w==="y"?"bottom":"right",z=E+y[L],j=E-y[D];E=oh(z,E,j)}const C=p.fn(B(R({},l),{[T]:A,[w]:E}));return B(R({},C),{data:{x:C.x-o,y:C.y-s,enabled:{[T]:f,[w]:h}}})})}}},I9=function(n){return n===void 0&&(n={}),{options:n,fn(a){const{x:l,y:o,placement:s,rects:c,middlewareData:f}=a,{offset:h=0,mainAxis:p=!0,crossAxis:m=!0}=aa(n,a),g={x:l,y:o},y=ta(s),w=Uh(y);let T=g[w],A=g[y];const E=aa(h,a),C=typeof E=="number"?{mainAxis:E,crossAxis:0}:R({mainAxis:0,crossAxis:0},E);if(p){const D=w==="y"?"height":"width",z=c.reference[w]-c.floating[D]+C.mainAxis,j=c.reference[w]+c.reference[D]-C.mainAxis;T<z?T=z:T>j&&(T=j)}if(m){var M,L;const D=w==="y"?"width":"height",z=["top","left"].includes(ra(s)),j=c.reference[y]-c.floating[D]+(z&&((M=f.offset)==null?void 0:M[y])||0)+(z?0:C.crossAxis),W=c.reference[y]+c.reference[D]+(z?0:((L=f.offset)==null?void 0:L[y])||0)-(z?C.crossAxis:0);A<j?A=j:A>W&&(A=W)}return{[w]:T,[y]:A}}}},$9=function(n){return n===void 0&&(n={}),{name:"size",options:n,fn(l){return Ke(this,null,function*(){var o,s;const{placement:c,rects:f,platform:h,elements:p}=l,pe=aa(n,l),{apply:m=()=>{}}=pe,g=G(pe,["apply"]),y=yield ri(l,g),w=ra(c),T=Vl(c),A=ta(c)==="y",{width:E,height:C}=f.floating;let M,L;w==="top"||w==="bottom"?(M=w,L=T===((yield h.isRTL==null?void 0:h.isRTL(p.floating))?"start":"end")?"left":"right"):(L=w,M=T==="end"?"top":"bottom");const D=C-y.top-y.bottom,z=E-y.left-y.right,j=Ya(C-y[M],D),W=Ya(E-y[L],z),te=!l.middlewareData.shift;let J=j,ae=W;if((o=l.middlewareData.shift)!=null&&o.enabled.x&&(ae=z),(s=l.middlewareData.shift)!=null&&s.enabled.y&&(J=D),te&&!T){const he=Zt(y.left,0),Se=Zt(y.right,0),Me=Zt(y.top,0),re=Zt(y.bottom,0);A?ae=E-2*(he!==0||Se!==0?he+Se:Zt(y.left,y.right)):J=C-2*(Me!==0||re!==0?Me+re:Zt(y.top,y.bottom))}yield m(B(R({},l),{availableWidth:ae,availableHeight:J}));const oe=yield h.getDimensions(p.floating);return E!==oe.width||C!==oe.height?{reset:{rects:!0}}:{}})}}};function Hu(){return typeof window!="undefined"}function Gl(n){return fy(n)?(n.nodeName||"").toLowerCase():"#document"}function It(n){var a;return(n==null||(a=n.ownerDocument)==null?void 0:a.defaultView)||window}function zn(n){var a;return(a=(fy(n)?n.ownerDocument:n.document)||window.document)==null?void 0:a.documentElement}function fy(n){return Hu()?n instanceof Node||n instanceof It(n).Node:!1}function yn(n){return Hu()?n instanceof Element||n instanceof It(n).Element:!1}function jn(n){return Hu()?n instanceof HTMLElement||n instanceof It(n).HTMLElement:!1}function cg(n){return!Hu()||typeof ShadowRoot=="undefined"?!1:n instanceof ShadowRoot||n instanceof It(n).ShadowRoot}function gi(n){const{overflow:a,overflowX:l,overflowY:o,display:s}=bn(n);return/auto|scroll|overlay|hidden|clip/.test(a+o+l)&&!["inline","contents"].includes(s)}function J9(n){return["table","td","th"].includes(Gl(n))}function ku(n){return[":popover-open",":modal"].some(a=>{try{return n.matches(a)}catch(l){return!1}})}function kh(n){const a=Ph(),l=yn(n)?bn(n):n;return["transform","translate","scale","rotate","perspective"].some(o=>l[o]?l[o]!=="none":!1)||(l.containerType?l.containerType!=="normal":!1)||!a&&(l.backdropFilter?l.backdropFilter!=="none":!1)||!a&&(l.filter?l.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(o=>(l.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(l.contain||"").includes(o))}function W9(n){let a=Fa(n);for(;jn(a)&&!Ll(a);){if(kh(a))return a;if(ku(a))return null;a=Fa(a)}return null}function Ph(){return typeof CSS=="undefined"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Ll(n){return["html","body","#document"].includes(Gl(n))}function bn(n){return It(n).getComputedStyle(n)}function Pu(n){return yn(n)?{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}:{scrollLeft:n.scrollX,scrollTop:n.scrollY}}function Fa(n){if(Gl(n)==="html")return n;const a=n.assignedSlot||n.parentNode||cg(n)&&n.host||zn(n);return cg(a)?a.host:a}function dy(n){const a=Fa(n);return Ll(a)?n.ownerDocument?n.ownerDocument.body:n.body:jn(a)&&gi(a)?a:dy(a)}function li(n,a,l){var o;a===void 0&&(a=[]),l===void 0&&(l=!0);const s=dy(n),c=s===((o=n.ownerDocument)==null?void 0:o.body),f=It(s);if(c){const h=sh(f);return a.concat(f,f.visualViewport||[],gi(s)?s:[],h&&l?li(h):[])}return a.concat(s,li(s,[],l))}function sh(n){return n.parent&&Object.getPrototypeOf(n.parent)?n.frameElement:null}function hy(n){const a=bn(n);let l=parseFloat(a.width)||0,o=parseFloat(a.height)||0;const s=jn(n),c=s?n.offsetWidth:l,f=s?n.offsetHeight:o,h=gu(l)!==c||gu(o)!==f;return h&&(l=c,o=f),{width:l,height:o,$:h}}function qh(n){return yn(n)?n:n.contextElement}function El(n){const a=qh(n);if(!jn(a))return Dn(1);const l=a.getBoundingClientRect(),{width:o,height:s,$:c}=hy(a);let f=(c?gu(l.width):l.width)/o,h=(c?gu(l.height):l.height)/s;return(!f||!Number.isFinite(f))&&(f=1),(!h||!Number.isFinite(h))&&(h=1),{x:f,y:h}}const e7=Dn(0);function my(n){const a=It(n);return!Ph()||!a.visualViewport?e7:{x:a.visualViewport.offsetLeft,y:a.visualViewport.offsetTop}}function t7(n,a,l){return a===void 0&&(a=!1),!l||a&&l!==It(n)?!1:a}function Sr(n,a,l,o){a===void 0&&(a=!1),l===void 0&&(l=!1);const s=n.getBoundingClientRect(),c=qh(n);let f=Dn(1);a&&(o?yn(o)&&(f=El(o)):f=El(n));const h=t7(c,l,o)?my(c):Dn(0);let p=(s.left+h.x)/f.x,m=(s.top+h.y)/f.y,g=s.width/f.x,y=s.height/f.y;if(c){const w=It(c),T=o&&yn(o)?It(o):o;let A=w,E=sh(A);for(;E&&o&&T!==A;){const C=El(E),M=E.getBoundingClientRect(),L=bn(E),D=M.left+(E.clientLeft+parseFloat(L.paddingLeft))*C.x,z=M.top+(E.clientTop+parseFloat(L.paddingTop))*C.y;p*=C.x,m*=C.y,g*=C.x,y*=C.y,p+=D,m+=z,A=It(E),E=sh(A)}}return bu({width:g,height:y,x:p,y:m})}function Vh(n,a){const l=Pu(n).scrollLeft;return a?a.left+l:Sr(zn(n)).left+l}function py(n,a,l){l===void 0&&(l=!1);const o=n.getBoundingClientRect(),s=o.left+a.scrollLeft-(l?0:Vh(n,o)),c=o.top+a.scrollTop;return{x:s,y:c}}function n7(n){let{elements:a,rect:l,offsetParent:o,strategy:s}=n;const c=s==="fixed",f=zn(o),h=a?ku(a.floating):!1;if(o===f||h&&c)return l;let p={scrollLeft:0,scrollTop:0},m=Dn(1);const g=Dn(0),y=jn(o);if((y||!y&&!c)&&((Gl(o)!=="body"||gi(f))&&(p=Pu(o)),jn(o))){const T=Sr(o);m=El(o),g.x=T.x+o.clientLeft,g.y=T.y+o.clientTop}const w=f&&!y&&!c?py(f,p,!0):Dn(0);return{width:l.width*m.x,height:l.height*m.y,x:l.x*m.x-p.scrollLeft*m.x+g.x+w.x,y:l.y*m.y-p.scrollTop*m.y+g.y+w.y}}function a7(n){return Array.from(n.getClientRects())}function r7(n){const a=zn(n),l=Pu(n),o=n.ownerDocument.body,s=Zt(a.scrollWidth,a.clientWidth,o.scrollWidth,o.clientWidth),c=Zt(a.scrollHeight,a.clientHeight,o.scrollHeight,o.clientHeight);let f=-l.scrollLeft+Vh(n);const h=-l.scrollTop;return bn(o).direction==="rtl"&&(f+=Zt(a.clientWidth,o.clientWidth)-s),{width:s,height:c,x:f,y:h}}function l7(n,a){const l=It(n),o=zn(n),s=l.visualViewport;let c=o.clientWidth,f=o.clientHeight,h=0,p=0;if(s){c=s.width,f=s.height;const m=Ph();(!m||m&&a==="fixed")&&(h=s.offsetLeft,p=s.offsetTop)}return{width:c,height:f,x:h,y:p}}function o7(n,a){const l=Sr(n,!0,a==="fixed"),o=l.top+n.clientTop,s=l.left+n.clientLeft,c=jn(n)?El(n):Dn(1),f=n.clientWidth*c.x,h=n.clientHeight*c.y,p=s*c.x,m=o*c.y;return{width:f,height:h,x:p,y:m}}function fg(n,a,l){let o;if(a==="viewport")o=l7(n,l);else if(a==="document")o=r7(zn(n));else if(yn(a))o=o7(a,l);else{const s=my(n);o={x:a.x-s.x,y:a.y-s.y,width:a.width,height:a.height}}return bu(o)}function vy(n,a){const l=Fa(n);return l===a||!yn(l)||Ll(l)?!1:bn(l).position==="fixed"||vy(l,a)}function i7(n,a){const l=a.get(n);if(l)return l;let o=li(n,[],!1).filter(h=>yn(h)&&Gl(h)!=="body"),s=null;const c=bn(n).position==="fixed";let f=c?Fa(n):n;for(;yn(f)&&!Ll(f);){const h=bn(f),p=kh(f);!p&&h.position==="fixed"&&(s=null),(c?!p&&!s:!p&&h.position==="static"&&!!s&&["absolute","fixed"].includes(s.position)||gi(f)&&!p&&vy(n,f))?o=o.filter(g=>g!==f):s=h,f=Fa(f)}return a.set(n,o),o}function s7(n){let{element:a,boundary:l,rootBoundary:o,strategy:s}=n;const f=[...l==="clippingAncestors"?ku(a)?[]:i7(a,this._c):[].concat(l),o],h=f[0],p=f.reduce((m,g)=>{const y=fg(a,g,s);return m.top=Zt(y.top,m.top),m.right=Ya(y.right,m.right),m.bottom=Ya(y.bottom,m.bottom),m.left=Zt(y.left,m.left),m},fg(a,h,s));return{width:p.right-p.left,height:p.bottom-p.top,x:p.left,y:p.top}}function u7(n){const{width:a,height:l}=hy(n);return{width:a,height:l}}function c7(n,a,l){const o=jn(a),s=zn(a),c=l==="fixed",f=Sr(n,!0,c,a);let h={scrollLeft:0,scrollTop:0};const p=Dn(0);function m(){p.x=Vh(s)}if(o||!o&&!c)if((Gl(a)!=="body"||gi(s))&&(h=Pu(a)),o){const T=Sr(a,!0,c,a);p.x=T.x+a.clientLeft,p.y=T.y+a.clientTop}else s&&m();c&&!o&&s&&m();const g=s&&!o&&!c?py(s,h):Dn(0),y=f.left+h.scrollLeft-p.x-g.x,w=f.top+h.scrollTop-p.y-g.y;return{x:y,y:w,width:f.width,height:f.height}}function Nd(n){return bn(n).position==="static"}function dg(n,a){if(!jn(n)||bn(n).position==="fixed")return null;if(a)return a(n);let l=n.offsetParent;return zn(n)===l&&(l=l.ownerDocument.body),l}function gy(n,a){const l=It(n);if(ku(n))return l;if(!jn(n)){let s=Fa(n);for(;s&&!Ll(s);){if(yn(s)&&!Nd(s))return s;s=Fa(s)}return l}let o=dg(n,a);for(;o&&J9(o)&&Nd(o);)o=dg(o,a);return o&&Ll(o)&&Nd(o)&&!kh(o)?l:o||W9(n)||l}const f7=function(n){return Ke(this,null,function*(){const a=this.getOffsetParent||gy,l=this.getDimensions,o=yield l(n.floating);return{reference:c7(n.reference,yield a(n.floating),n.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}})};function d7(n){return bn(n).direction==="rtl"}const h7={convertOffsetParentRelativeRectToViewportRelativeRect:n7,getDocumentElement:zn,getClippingRect:s7,getOffsetParent:gy,getElementRects:f7,getClientRects:a7,getDimensions:u7,getScale:El,isElement:yn,isRTL:d7};function yy(n,a){return n.x===a.x&&n.y===a.y&&n.width===a.width&&n.height===a.height}function m7(n,a){let l=null,o;const s=zn(n);function c(){var h;clearTimeout(o),(h=l)==null||h.disconnect(),l=null}function f(h,p){h===void 0&&(h=!1),p===void 0&&(p=1),c();const m=n.getBoundingClientRect(),{left:g,top:y,width:w,height:T}=m;if(h||a(),!w||!T)return;const A=Ks(y),E=Ks(s.clientWidth-(g+w)),C=Ks(s.clientHeight-(y+T)),M=Ks(g),D={rootMargin:-A+"px "+-E+"px "+-C+"px "+-M+"px",threshold:Zt(0,Ya(1,p))||1};let z=!0;function j(W){const te=W[0].intersectionRatio;if(te!==p){if(!z)return f();te?f(!1,te):o=setTimeout(()=>{f(!1,1e-7)},1e3)}te===1&&!yy(m,n.getBoundingClientRect())&&f(),z=!1}try{l=new IntersectionObserver(j,B(R({},D),{root:s.ownerDocument}))}catch(W){l=new IntersectionObserver(j,D)}l.observe(n)}return f(!0),c}function p7(n,a,l,o){o===void 0&&(o={});const{ancestorScroll:s=!0,ancestorResize:c=!0,elementResize:f=typeof ResizeObserver=="function",layoutShift:h=typeof IntersectionObserver=="function",animationFrame:p=!1}=o,m=qh(n),g=s||c?[...m?li(m):[],...li(a)]:[];g.forEach(M=>{s&&M.addEventListener("scroll",l,{passive:!0}),c&&M.addEventListener("resize",l)});const y=m&&h?m7(m,l):null;let w=-1,T=null;f&&(T=new ResizeObserver(M=>{let[L]=M;L&&L.target===m&&T&&(T.unobserve(a),cancelAnimationFrame(w),w=requestAnimationFrame(()=>{var D;(D=T)==null||D.observe(a)})),l()}),m&&!p&&T.observe(m),T.observe(a));let A,E=p?Sr(n):null;p&&C();function C(){const M=Sr(n);E&&!yy(E,M)&&l(),E=M,A=requestAnimationFrame(C)}return l(),()=>{var M;g.forEach(L=>{s&&L.removeEventListener("scroll",l),c&&L.removeEventListener("resize",l)}),y==null||y(),(M=T)==null||M.disconnect(),T=null,p&&cancelAnimationFrame(A)}}const v7=X9,g7=Z9,y7=F9,b7=$9,x7=K9,hg=Y9,w7=I9,S7=(n,a,l)=>{const o=new Map,s=R({platform:h7},l),c=B(R({},s.platform),{_c:o});return G9(n,a,B(R({},s),{platform:c}))};var ru=typeof document!="undefined"?v.useLayoutEffect:v.useEffect;function xu(n,a){if(n===a)return!0;if(typeof n!=typeof a)return!1;if(typeof n=="function"&&n.toString()===a.toString())return!0;let l,o,s;if(n&&a&&typeof n=="object"){if(Array.isArray(n)){if(l=n.length,l!==a.length)return!1;for(o=l;o--!==0;)if(!xu(n[o],a[o]))return!1;return!0}if(s=Object.keys(n),l=s.length,l!==Object.keys(a).length)return!1;for(o=l;o--!==0;)if(!{}.hasOwnProperty.call(a,s[o]))return!1;for(o=l;o--!==0;){const c=s[o];if(!(c==="_owner"&&n.$$typeof)&&!xu(n[c],a[c]))return!1}return!0}return n!==n&&a!==a}function by(n){return typeof window=="undefined"?1:(n.ownerDocument.defaultView||window).devicePixelRatio||1}function mg(n,a){const l=by(n);return Math.round(a*l)/l}function Dd(n){const a=v.useRef(n);return ru(()=>{a.current=n}),a}function E7(n){n===void 0&&(n={});const{placement:a="bottom",strategy:l="absolute",middleware:o=[],platform:s,elements:{reference:c,floating:f}={},transform:h=!0,whileElementsMounted:p,open:m}=n,[g,y]=v.useState({x:0,y:0,strategy:l,placement:a,middlewareData:{},isPositioned:!1}),[w,T]=v.useState(o);xu(w,o)||T(o);const[A,E]=v.useState(null),[C,M]=v.useState(null),L=v.useCallback(Y=>{Y!==W.current&&(W.current=Y,E(Y))},[]),D=v.useCallback(Y=>{Y!==te.current&&(te.current=Y,M(Y))},[]),z=c||A,j=f||C,W=v.useRef(null),te=v.useRef(null),J=v.useRef(g),ae=p!=null,oe=Dd(p),pe=Dd(s),he=Dd(m),Se=v.useCallback(()=>{if(!W.current||!te.current)return;const Y={placement:a,strategy:l,middleware:w};pe.current&&(Y.platform=pe.current),S7(W.current,te.current,Y).then(me=>{const O=B(R({},me),{isPositioned:he.current!==!1});Me.current&&!xu(J.current,O)&&(J.current=O,Tu.flushSync(()=>{y(O)}))})},[w,a,l,pe,he]);ru(()=>{m===!1&&J.current.isPositioned&&(J.current.isPositioned=!1,y(Y=>B(R({},Y),{isPositioned:!1})))},[m]);const Me=v.useRef(!1);ru(()=>(Me.current=!0,()=>{Me.current=!1}),[]),ru(()=>{if(z&&(W.current=z),j&&(te.current=j),z&&j){if(oe.current)return oe.current(z,j,Se);Se()}},[z,j,Se,oe,ae]);const re=v.useMemo(()=>({reference:W,floating:te,setReference:L,setFloating:D}),[L,D]),H=v.useMemo(()=>({reference:z,floating:j}),[z,j]),Z=v.useMemo(()=>{const Y={position:l,left:0,top:0};if(!H.floating)return Y;const me=mg(H.floating,g.x),O=mg(H.floating,g.y);return h?R(B(R({},Y),{transform:"translate("+me+"px, "+O+"px)"}),by(H.floating)>=1.5&&{willChange:"transform"}):{position:l,left:me,top:O}},[l,h,H.floating,g.x,g.y]);return v.useMemo(()=>B(R({},g),{update:Se,refs:re,elements:H,floatingStyles:Z}),[g,Se,re,H,Z])}const C7=n=>{function a(l){return{}.hasOwnProperty.call(l,"current")}return{name:"arrow",options:n,fn(l){const{element:o,padding:s}=typeof n=="function"?n(l):n;return o&&a(o)?o.current!=null?hg({element:o.current,padding:s}).fn(l):{}:o?hg({element:o,padding:s}).fn(l):{}}}},R7=(n,a)=>B(R({},v7(n)),{options:[n,a]}),T7=(n,a)=>B(R({},g7(n)),{options:[n,a]}),A7=(n,a)=>B(R({},w7(n)),{options:[n,a]}),O7=(n,a)=>B(R({},y7(n)),{options:[n,a]}),M7=(n,a)=>B(R({},b7(n)),{options:[n,a]}),_7=(n,a)=>B(R({},x7(n)),{options:[n,a]}),N7=(n,a)=>B(R({},C7(n)),{options:[n,a]});var D7="Arrow",xy=v.forwardRef((n,a)=>{const f=n,{children:l,width:o=10,height:s=5}=f,c=G(f,["children","width","height"]);return x.jsx(Le.svg,B(R({},c),{ref:a,width:o,height:s,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:n.asChild?l:x.jsx("polygon",{points:"0,0 30,0 15,10"})}))});xy.displayName=D7;var j7=xy;function L7(n){const[a,l]=v.useState(void 0);return $t(()=>{if(n){l({width:n.offsetWidth,height:n.offsetHeight});const o=new ResizeObserver(s=>{if(!Array.isArray(s)||!s.length)return;const c=s[0];let f,h;if("borderBoxSize"in c){const p=c.borderBoxSize,m=Array.isArray(p)?p[0]:p;f=m.inlineSize,h=m.blockSize}else f=n.offsetWidth,h=n.offsetHeight;l({width:f,height:h})});return o.observe(n,{box:"border-box"}),()=>o.unobserve(n)}else l(void 0)},[n]),a}var Gh="Popper",[wy,qu]=Ln(Gh),[z7,Sy]=wy(Gh),Ey=n=>{const{__scopePopper:a,children:l}=n,[o,s]=v.useState(null);return x.jsx(z7,{scope:a,anchor:o,onAnchorChange:s,children:l})};Ey.displayName=Gh;var Cy="PopperAnchor",Ry=v.forwardRef((n,a)=>{const p=n,{__scopePopper:l,virtualRef:o}=p,s=G(p,["__scopePopper","virtualRef"]),c=Sy(Cy,l),f=v.useRef(null),h=Je(a,f);return v.useEffect(()=>{c.onAnchorChange((o==null?void 0:o.current)||f.current)}),o?null:x.jsx(Le.div,B(R({},s),{ref:h}))});Ry.displayName=Cy;var Yh="PopperContent",[U7,B7]=wy(Yh),Ty=v.forwardRef((n,a)=>{var _e,it,We,Ot,fn,Mr,_r,Ci;const Ce=n,{__scopePopper:l,side:o="bottom",sideOffset:s=0,align:c="center",alignOffset:f=0,arrowPadding:h=0,avoidCollisions:p=!0,collisionBoundary:m=[],collisionPadding:g=0,sticky:y="partial",hideWhenDetached:w=!1,updatePositionStrategy:T="optimized",onPlaced:A}=Ce,E=G(Ce,["__scopePopper","side","sideOffset","align","alignOffset","arrowPadding","avoidCollisions","collisionBoundary","collisionPadding","sticky","hideWhenDetached","updatePositionStrategy","onPlaced"]),C=Sy(Yh,l),[M,L]=v.useState(null),D=Je(a,Ka=>L(Ka)),[z,j]=v.useState(null),W=L7(z),te=(_e=W==null?void 0:W.width)!=null?_e:0,J=(it=W==null?void 0:W.height)!=null?it:0,ae=o+(c!=="center"?"-"+c:""),oe=typeof g=="number"?g:R({top:0,right:0,bottom:0,left:0},g),pe=Array.isArray(m)?m:[m],he=pe.length>0,Se={padding:oe,boundary:pe.filter(k7),altBoundary:he},{refs:Me,floatingStyles:re,placement:H,isPositioned:Z,middlewareData:Y}=E7({strategy:"fixed",placement:ae,whileElementsMounted:(...Ka)=>p7(...Ka,{animationFrame:T==="always"}),elements:{reference:C.anchor},middleware:[R7({mainAxis:s+J,alignmentAxis:f}),p&&T7(R({mainAxis:!0,crossAxis:!1,limiter:y==="partial"?A7():void 0},Se)),p&&O7(R({},Se)),M7(B(R({},Se),{apply:({elements:Ka,rects:kt,availableWidth:Ju,availableHeight:Ri})=>{const{width:Ti,height:Nr}=kt.reference,Dr=Ka.floating.style;Dr.setProperty("--radix-popper-available-width",`${Ju}px`),Dr.setProperty("--radix-popper-available-height",`${Ri}px`),Dr.setProperty("--radix-popper-anchor-width",`${Ti}px`),Dr.setProperty("--radix-popper-anchor-height",`${Nr}px`)}})),z&&N7({element:z,padding:h}),P7({arrowWidth:te,arrowHeight:J}),w&&_7(R({strategy:"referenceHidden"},Se))]}),[me,O]=My(H),K=Ht(A);$t(()=>{Z&&(K==null||K())},[Z,K]);const ne=(We=Y.arrow)==null?void 0:We.x,ee=(Ot=Y.arrow)==null?void 0:Ot.y,le=((fn=Y.arrow)==null?void 0:fn.centerOffset)!==0,[we,ve]=v.useState();return $t(()=>{M&&ve(window.getComputedStyle(M).zIndex)},[M]),x.jsx("div",{ref:Me.setFloating,"data-radix-popper-content-wrapper":"",style:R(B(R({},re),{transform:Z?re.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:we,"--radix-popper-transform-origin":[(Mr=Y.transformOrigin)==null?void 0:Mr.x,(_r=Y.transformOrigin)==null?void 0:_r.y].join(" ")}),((Ci=Y.hide)==null?void 0:Ci.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}),dir:n.dir,children:x.jsx(U7,{scope:l,placedSide:me,onArrowChange:j,arrowX:ne,arrowY:ee,shouldHideArrow:le,children:x.jsx(Le.div,B(R({"data-side":me,"data-align":O},E),{ref:D,style:B(R({},E.style),{animation:Z?void 0:"none"})}))})})});Ty.displayName=Yh;var Ay="PopperArrow",H7={top:"bottom",right:"left",bottom:"top",left:"right"},Oy=v.forwardRef(function(a,l){const h=a,{__scopePopper:o}=h,s=G(h,["__scopePopper"]),c=B7(Ay,o),f=H7[c.placedSide];return x.jsx("span",{ref:c.onArrowChange,style:{position:"absolute",left:c.arrowX,top:c.arrowY,[f]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[c.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[c.placedSide],visibility:c.shouldHideArrow?"hidden":void 0},children:x.jsx(j7,B(R({},s),{ref:l,style:B(R({},s.style),{display:"block"})}))})});Oy.displayName=Ay;function k7(n){return n!==null}var P7=n=>({name:"transformOrigin",options:n,fn(a){var C,M,L,D,z;const{placement:l,rects:o,middlewareData:s}=a,f=((C=s.arrow)==null?void 0:C.centerOffset)!==0,h=f?0:n.arrowWidth,p=f?0:n.arrowHeight,[m,g]=My(l),y={start:"0%",center:"50%",end:"100%"}[g],w=((L=(M=s.arrow)==null?void 0:M.x)!=null?L:0)+h/2,T=((z=(D=s.arrow)==null?void 0:D.y)!=null?z:0)+p/2;let A="",E="";return m==="bottom"?(A=f?y:`${w}px`,E=`${-p}px`):m==="top"?(A=f?y:`${w}px`,E=`${o.floating.height+p}px`):m==="right"?(A=`${-p}px`,E=f?y:`${T}px`):m==="left"&&(A=`${o.floating.width+p}px`,E=f?y:`${T}px`),{data:{x:A,y:E}}}});function My(n){const[a,l="center"]=n.split("-");return[a,l]}var _y=Ey,Ny=Ry,Dy=Ty,jy=Oy,q7="Portal",yi=v.forwardRef((n,a)=>{var p;const h=n,{container:l}=h,o=G(h,["container"]),[s,c]=v.useState(!1);$t(()=>c(!0),[]);const f=l||s&&((p=globalThis==null?void 0:globalThis.document)==null?void 0:p.body);return f?i6.createPortal(x.jsx(Le.div,B(R({},o),{ref:a})),f):null});yi.displayName=q7;var jd="rovingFocusGroup.onEntryFocus",V7={bubbles:!1,cancelable:!0},bi="RovingFocusGroup",[uh,Ly,G7]=Lh(bi),[Y7,zy]=Ln(bi,[G7]),[F7,K7]=Y7(bi),Uy=v.forwardRef((n,a)=>x.jsx(uh.Provider,{scope:n.__scopeRovingFocusGroup,children:x.jsx(uh.Slot,{scope:n.__scopeRovingFocusGroup,children:x.jsx(Q7,B(R({},n),{ref:a}))})}));Uy.displayName=bi;var Q7=v.forwardRef((n,a)=>{const J=n,{__scopeRovingFocusGroup:l,orientation:o,loop:s=!1,dir:c,currentTabStopId:f,defaultCurrentTabStopId:h,onCurrentTabStopIdChange:p,onEntryFocus:m,preventScrollOnEntryFocus:g=!1}=J,y=G(J,["__scopeRovingFocusGroup","orientation","loop","dir","currentTabStopId","defaultCurrentTabStopId","onCurrentTabStopIdChange","onEntryFocus","preventScrollOnEntryFocus"]),w=v.useRef(null),T=Je(a,w),A=ry(c),[E,C]=ql({prop:f,defaultProp:h!=null?h:null,onChange:p,caller:bi}),[M,L]=v.useState(!1),D=Ht(m),z=Ly(l),j=v.useRef(!1),[W,te]=v.useState(0);return v.useEffect(()=>{const ae=w.current;if(ae)return ae.addEventListener(jd,D),()=>ae.removeEventListener(jd,D)},[D]),x.jsx(F7,{scope:l,orientation:o,dir:A,loop:s,currentTabStopId:E,onItemFocus:v.useCallback(ae=>C(ae),[C]),onItemShiftTab:v.useCallback(()=>L(!0),[]),onFocusableItemAdd:v.useCallback(()=>te(ae=>ae+1),[]),onFocusableItemRemove:v.useCallback(()=>te(ae=>ae-1),[]),children:x.jsx(Le.div,B(R({tabIndex:M||W===0?-1:0,"data-orientation":o},y),{ref:T,style:R({outline:"none"},n.style),onMouseDown:de(n.onMouseDown,()=>{j.current=!0}),onFocus:de(n.onFocus,ae=>{const oe=!j.current;if(ae.target===ae.currentTarget&&oe&&!M){const pe=new CustomEvent(jd,V7);if(ae.currentTarget.dispatchEvent(pe),!pe.defaultPrevented){const he=z().filter(Z=>Z.focusable),Se=he.find(Z=>Z.active),Me=he.find(Z=>Z.id===E),H=[Se,Me,...he].filter(Boolean).map(Z=>Z.ref.current);ky(H,g)}}j.current=!1}),onBlur:de(n.onBlur,()=>L(!1))}))})}),By="RovingFocusGroupItem",Hy=v.forwardRef((n,a)=>{const C=n,{__scopeRovingFocusGroup:l,focusable:o=!0,active:s=!1,tabStopId:c,children:f}=C,h=G(C,["__scopeRovingFocusGroup","focusable","active","tabStopId","children"]),p=Ga(),m=c||p,g=K7(By,l),y=g.currentTabStopId===m,w=Ly(l),{onFocusableItemAdd:T,onFocusableItemRemove:A,currentTabStopId:E}=g;return v.useEffect(()=>{if(o)return T(),()=>A()},[o,T,A]),x.jsx(uh.ItemSlot,{scope:l,id:m,focusable:o,active:s,children:x.jsx(Le.span,B(R({tabIndex:y?0:-1,"data-orientation":g.orientation},h),{ref:a,onMouseDown:de(n.onMouseDown,M=>{o?g.onItemFocus(m):M.preventDefault()}),onFocus:de(n.onFocus,()=>g.onItemFocus(m)),onKeyDown:de(n.onKeyDown,M=>{if(M.key==="Tab"&&M.shiftKey){g.onItemShiftTab();return}if(M.target!==M.currentTarget)return;const L=I7(M,g.orientation,g.dir);if(L!==void 0){if(M.metaKey||M.ctrlKey||M.altKey||M.shiftKey)return;M.preventDefault();let z=w().filter(j=>j.focusable).map(j=>j.ref.current);if(L==="last")z.reverse();else if(L==="prev"||L==="next"){L==="prev"&&z.reverse();const j=z.indexOf(M.currentTarget);z=g.loop?$7(z,j+1):z.slice(j+1)}setTimeout(()=>ky(z))}}),children:typeof f=="function"?f({isCurrentTabStop:y,hasTabStop:E!=null}):f}))})});Hy.displayName=By;var X7={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function Z7(n,a){return a!=="rtl"?n:n==="ArrowLeft"?"ArrowRight":n==="ArrowRight"?"ArrowLeft":n}function I7(n,a,l){const o=Z7(n.key,l);if(!(a==="vertical"&&["ArrowLeft","ArrowRight"].includes(o))&&!(a==="horizontal"&&["ArrowUp","ArrowDown"].includes(o)))return X7[o]}function ky(n,a=!1){const l=document.activeElement;for(const o of n)if(o===l||(o.focus({preventScroll:a}),document.activeElement!==l))return}function $7(n,a){return n.map((l,o)=>n[(a+o)%n.length])}var J7=Uy,W7=Hy,eC=function(n){if(typeof document=="undefined")return null;var a=Array.isArray(n)?n[0]:n;return a.ownerDocument.body},xl=new WeakMap,Qs=new WeakMap,Xs={},Ld=0,Py=function(n){return n&&(n.host||Py(n.parentNode))},tC=function(n,a){return a.map(function(l){if(n.contains(l))return l;var o=Py(l);return o&&n.contains(o)?o:(console.error("aria-hidden",l,"in not contained inside",n,". Doing nothing"),null)}).filter(function(l){return!!l})},nC=function(n,a,l,o){var s=tC(a,Array.isArray(n)?n:[n]);Xs[l]||(Xs[l]=new WeakMap);var c=Xs[l],f=[],h=new Set,p=new Set(s),m=function(y){!y||h.has(y)||(h.add(y),m(y.parentNode))};s.forEach(m);var g=function(y){!y||p.has(y)||Array.prototype.forEach.call(y.children,function(w){if(h.has(w))g(w);else try{var T=w.getAttribute(o),A=T!==null&&T!=="false",E=(xl.get(w)||0)+1,C=(c.get(w)||0)+1;xl.set(w,E),c.set(w,C),f.push(w),E===1&&A&&Qs.set(w,!0),C===1&&w.setAttribute(l,"true"),A||w.setAttribute(o,"true")}catch(M){console.error("aria-hidden: cannot operate on ",w,M)}})};return g(a),h.clear(),Ld++,function(){f.forEach(function(y){var w=xl.get(y)-1,T=c.get(y)-1;xl.set(y,w),c.set(y,T),w||(Qs.has(y)||y.removeAttribute(o),Qs.delete(y)),T||y.removeAttribute(l)}),Ld--,Ld||(xl=new WeakMap,xl=new WeakMap,Qs=new WeakMap,Xs={})}},qy=function(n,a,l){l===void 0&&(l="data-aria-hidden");var o=Array.from(Array.isArray(n)?n:[n]),s=eC(n);return s?(o.push.apply(o,Array.from(s.querySelectorAll("[aria-live]"))),nC(o,s,l,"aria-hidden")):function(){return null}},Nn=function(){return Nn=Object.assign||function(a){for(var l,o=1,s=arguments.length;o<s;o++){l=arguments[o];for(var c in l)Object.prototype.hasOwnProperty.call(l,c)&&(a[c]=l[c])}return a},Nn.apply(this,arguments)};function Vy(n,a){var l={};for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&a.indexOf(o)<0&&(l[o]=n[o]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,o=Object.getOwnPropertySymbols(n);s<o.length;s++)a.indexOf(o[s])<0&&Object.prototype.propertyIsEnumerable.call(n,o[s])&&(l[o[s]]=n[o[s]]);return l}function aC(n,a,l){if(l||arguments.length===2)for(var o=0,s=a.length,c;o<s;o++)(c||!(o in a))&&(c||(c=Array.prototype.slice.call(a,0,o)),c[o]=a[o]);return n.concat(c||Array.prototype.slice.call(a))}var lu="right-scroll-bar-position",ou="width-before-scroll-bar",rC="with-scroll-bars-hidden",lC="--removed-body-scroll-bar-size";function zd(n,a){return typeof n=="function"?n(a):n&&(n.current=a),n}function oC(n,a){var l=v.useState(function(){return{value:n,callback:a,facade:{get current(){return l.value},set current(o){var s=l.value;s!==o&&(l.value=o,l.callback(o,s))}}}})[0];return l.callback=a,l.facade}var iC=typeof window!="undefined"?v.useLayoutEffect:v.useEffect,pg=new WeakMap;function sC(n,a){var l=oC(null,function(o){return n.forEach(function(s){return zd(s,o)})});return iC(function(){var o=pg.get(l);if(o){var s=new Set(o),c=new Set(n),f=l.current;s.forEach(function(h){c.has(h)||zd(h,null)}),c.forEach(function(h){s.has(h)||zd(h,f)})}pg.set(l,n)},[n]),l}function uC(n){return n}function cC(n,a){a===void 0&&(a=uC);var l=[],o=!1,s={read:function(){if(o)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return l.length?l[l.length-1]:n},useMedium:function(c){var f=a(c,o);return l.push(f),function(){l=l.filter(function(h){return h!==f})}},assignSyncMedium:function(c){for(o=!0;l.length;){var f=l;l=[],f.forEach(c)}l={push:function(h){return c(h)},filter:function(){return l}}},assignMedium:function(c){o=!0;var f=[];if(l.length){var h=l;l=[],h.forEach(c),f=l}var p=function(){var g=f;f=[],g.forEach(c)},m=function(){return Promise.resolve().then(p)};m(),l={push:function(g){f.push(g),m()},filter:function(g){return f=f.filter(g),l}}}};return s}function fC(n){n===void 0&&(n={});var a=cC(null);return a.options=Nn({async:!0,ssr:!1},n),a}var Gy=function(n){var a=n.sideCar,l=Vy(n,["sideCar"]);if(!a)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var o=a.read();if(!o)throw new Error("Sidecar medium not found");return v.createElement(o,Nn({},l))};Gy.isSideCarExport=!0;function dC(n,a){return n.useMedium(a),Gy}var Yy=fC(),Ud=function(){},Vu=v.forwardRef(function(n,a){var l=v.useRef(null),o=v.useState({onScrollCapture:Ud,onWheelCapture:Ud,onTouchMoveCapture:Ud}),s=o[0],c=o[1],f=n.forwardProps,h=n.children,p=n.className,m=n.removeScrollBar,g=n.enabled,y=n.shards,w=n.sideCar,T=n.noIsolation,A=n.inert,E=n.allowPinchZoom,C=n.as,M=C===void 0?"div":C,L=n.gapMode,D=Vy(n,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),z=w,j=sC([l,a]),W=Nn(Nn({},D),s);return v.createElement(v.Fragment,null,g&&v.createElement(z,{sideCar:Yy,removeScrollBar:m,shards:y,noIsolation:T,inert:A,setCallbacks:c,allowPinchZoom:!!E,lockRef:l,gapMode:L}),f?v.cloneElement(v.Children.only(h),Nn(Nn({},W),{ref:j})):v.createElement(M,Nn({},W,{className:p,ref:j}),h))});Vu.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Vu.classNames={fullWidth:ou,zeroRight:lu};var hC=function(){if(typeof __webpack_nonce__!="undefined")return __webpack_nonce__};function mC(){if(!document)return null;var n=document.createElement("style");n.type="text/css";var a=hC();return a&&n.setAttribute("nonce",a),n}function pC(n,a){n.styleSheet?n.styleSheet.cssText=a:n.appendChild(document.createTextNode(a))}function vC(n){var a=document.head||document.getElementsByTagName("head")[0];a.appendChild(n)}var gC=function(){var n=0,a=null;return{add:function(l){n==0&&(a=mC())&&(pC(a,l),vC(a)),n++},remove:function(){n--,!n&&a&&(a.parentNode&&a.parentNode.removeChild(a),a=null)}}},yC=function(){var n=gC();return function(a,l){v.useEffect(function(){return n.add(a),function(){n.remove()}},[a&&l])}},Fy=function(){var n=yC(),a=function(l){var o=l.styles,s=l.dynamic;return n(o,s),null};return a},bC={left:0,top:0,right:0,gap:0},Bd=function(n){return parseInt(n||"",10)||0},xC=function(n){var a=window.getComputedStyle(document.body),l=a[n==="padding"?"paddingLeft":"marginLeft"],o=a[n==="padding"?"paddingTop":"marginTop"],s=a[n==="padding"?"paddingRight":"marginRight"];return[Bd(l),Bd(o),Bd(s)]},wC=function(n){if(n===void 0&&(n="margin"),typeof window=="undefined")return bC;var a=xC(n),l=document.documentElement.clientWidth,o=window.innerWidth;return{left:a[0],top:a[1],right:a[2],gap:Math.max(0,o-l+a[2]-a[0])}},SC=Fy(),Cl="data-scroll-locked",EC=function(n,a,l,o){var s=n.left,c=n.top,f=n.right,h=n.gap;return l===void 0&&(l="margin"),`
  .`.concat(rC,` {
   overflow: hidden `).concat(o,`;
   padding-right: `).concat(h,"px ").concat(o,`;
  }
  body[`).concat(Cl,`] {
    overflow: hidden `).concat(o,`;
    overscroll-behavior: contain;
    `).concat([a&&"position: relative ".concat(o,";"),l==="margin"&&`
    padding-left: `.concat(s,`px;
    padding-top: `).concat(c,`px;
    padding-right: `).concat(f,`px;
    margin-left:0;
    margin-top:0;
    margin-right: `).concat(h,"px ").concat(o,`;
    `),l==="padding"&&"padding-right: ".concat(h,"px ").concat(o,";")].filter(Boolean).join(""),`
  }
  
  .`).concat(lu,` {
    right: `).concat(h,"px ").concat(o,`;
  }
  
  .`).concat(ou,` {
    margin-right: `).concat(h,"px ").concat(o,`;
  }
  
  .`).concat(lu," .").concat(lu,` {
    right: 0 `).concat(o,`;
  }
  
  .`).concat(ou," .").concat(ou,` {
    margin-right: 0 `).concat(o,`;
  }
  
  body[`).concat(Cl,`] {
    `).concat(lC,": ").concat(h,`px;
  }
`)},vg=function(){var n=parseInt(document.body.getAttribute(Cl)||"0",10);return isFinite(n)?n:0},CC=function(){v.useEffect(function(){return document.body.setAttribute(Cl,(vg()+1).toString()),function(){var n=vg()-1;n<=0?document.body.removeAttribute(Cl):document.body.setAttribute(Cl,n.toString())}},[])},RC=function(n){var a=n.noRelative,l=n.noImportant,o=n.gapMode,s=o===void 0?"margin":o;CC();var c=v.useMemo(function(){return wC(s)},[s]);return v.createElement(SC,{styles:EC(c,!a,s,l?"":"!important")})},ch=!1;if(typeof window!="undefined")try{var Zs=Object.defineProperty({},"passive",{get:function(){return ch=!0,!0}});window.addEventListener("test",Zs,Zs),window.removeEventListener("test",Zs,Zs)}catch(n){ch=!1}var wl=ch?{passive:!1}:!1,TC=function(n){return n.tagName==="TEXTAREA"},Ky=function(n,a){if(!(n instanceof Element))return!1;var l=window.getComputedStyle(n);return l[a]!=="hidden"&&!(l.overflowY===l.overflowX&&!TC(n)&&l[a]==="visible")},AC=function(n){return Ky(n,"overflowY")},OC=function(n){return Ky(n,"overflowX")},gg=function(n,a){var l=a.ownerDocument,o=a;do{typeof ShadowRoot!="undefined"&&o instanceof ShadowRoot&&(o=o.host);var s=Qy(n,o);if(s){var c=Xy(n,o),f=c[1],h=c[2];if(f>h)return!0}o=o.parentNode}while(o&&o!==l.body);return!1},MC=function(n){var a=n.scrollTop,l=n.scrollHeight,o=n.clientHeight;return[a,l,o]},_C=function(n){var a=n.scrollLeft,l=n.scrollWidth,o=n.clientWidth;return[a,l,o]},Qy=function(n,a){return n==="v"?AC(a):OC(a)},Xy=function(n,a){return n==="v"?MC(a):_C(a)},NC=function(n,a){return n==="h"&&a==="rtl"?-1:1},DC=function(n,a,l,o,s){var c=NC(n,window.getComputedStyle(a).direction),f=c*o,h=l.target,p=a.contains(h),m=!1,g=f>0,y=0,w=0;do{var T=Xy(n,h),A=T[0],E=T[1],C=T[2],M=E-C-c*A;(A||M)&&Qy(n,h)&&(y+=M,w+=A),h instanceof ShadowRoot?h=h.host:h=h.parentNode}while(!p&&h!==document.body||p&&(a.contains(h)||a===h));return(g&&Math.abs(y)<1||!g&&Math.abs(w)<1)&&(m=!0),m},Is=function(n){return"changedTouches"in n?[n.changedTouches[0].clientX,n.changedTouches[0].clientY]:[0,0]},yg=function(n){return[n.deltaX,n.deltaY]},bg=function(n){return n&&"current"in n?n.current:n},jC=function(n,a){return n[0]===a[0]&&n[1]===a[1]},LC=function(n){return`
  .block-interactivity-`.concat(n,` {pointer-events: none;}
  .allow-interactivity-`).concat(n,` {pointer-events: all;}
`)},zC=0,Sl=[];function UC(n){var a=v.useRef([]),l=v.useRef([0,0]),o=v.useRef(),s=v.useState(zC++)[0],c=v.useState(Fy)[0],f=v.useRef(n);v.useEffect(function(){f.current=n},[n]),v.useEffect(function(){if(n.inert){document.body.classList.add("block-interactivity-".concat(s));var E=aC([n.lockRef.current],(n.shards||[]).map(bg),!0).filter(Boolean);return E.forEach(function(C){return C.classList.add("allow-interactivity-".concat(s))}),function(){document.body.classList.remove("block-interactivity-".concat(s)),E.forEach(function(C){return C.classList.remove("allow-interactivity-".concat(s))})}}},[n.inert,n.lockRef.current,n.shards]);var h=v.useCallback(function(E,C){if("touches"in E&&E.touches.length===2||E.type==="wheel"&&E.ctrlKey)return!f.current.allowPinchZoom;var M=Is(E),L=l.current,D="deltaX"in E?E.deltaX:L[0]-M[0],z="deltaY"in E?E.deltaY:L[1]-M[1],j,W=E.target,te=Math.abs(D)>Math.abs(z)?"h":"v";if("touches"in E&&te==="h"&&W.type==="range")return!1;var J=gg(te,W);if(!J)return!0;if(J?j=te:(j=te==="v"?"h":"v",J=gg(te,W)),!J)return!1;if(!o.current&&"changedTouches"in E&&(D||z)&&(o.current=j),!j)return!0;var ae=o.current||j;return DC(ae,C,E,ae==="h"?D:z)},[]),p=v.useCallback(function(E){var C=E;if(!(!Sl.length||Sl[Sl.length-1]!==c)){var M="deltaY"in C?yg(C):Is(C),L=a.current.filter(function(j){return j.name===C.type&&(j.target===C.target||C.target===j.shadowParent)&&jC(j.delta,M)})[0];if(L&&L.should){C.cancelable&&C.preventDefault();return}if(!L){var D=(f.current.shards||[]).map(bg).filter(Boolean).filter(function(j){return j.contains(C.target)}),z=D.length>0?h(C,D[0]):!f.current.noIsolation;z&&C.cancelable&&C.preventDefault()}}},[]),m=v.useCallback(function(E,C,M,L){var D={name:E,delta:C,target:M,should:L,shadowParent:BC(M)};a.current.push(D),setTimeout(function(){a.current=a.current.filter(function(z){return z!==D})},1)},[]),g=v.useCallback(function(E){l.current=Is(E),o.current=void 0},[]),y=v.useCallback(function(E){m(E.type,yg(E),E.target,h(E,n.lockRef.current))},[]),w=v.useCallback(function(E){m(E.type,Is(E),E.target,h(E,n.lockRef.current))},[]);v.useEffect(function(){return Sl.push(c),n.setCallbacks({onScrollCapture:y,onWheelCapture:y,onTouchMoveCapture:w}),document.addEventListener("wheel",p,wl),document.addEventListener("touchmove",p,wl),document.addEventListener("touchstart",g,wl),function(){Sl=Sl.filter(function(E){return E!==c}),document.removeEventListener("wheel",p,wl),document.removeEventListener("touchmove",p,wl),document.removeEventListener("touchstart",g,wl)}},[]);var T=n.removeScrollBar,A=n.inert;return v.createElement(v.Fragment,null,A?v.createElement(c,{styles:LC(s)}):null,T?v.createElement(RC,{gapMode:n.gapMode}):null)}function BC(n){for(var a=null;n!==null;)n instanceof ShadowRoot&&(a=n.host,n=n.host),n=n.parentNode;return a}const HC=dC(Yy,UC);var Fh=v.forwardRef(function(n,a){return v.createElement(Vu,Nn({},n,{ref:a,sideCar:HC}))});Fh.classNames=Vu.classNames;var fh=["Enter"," "],kC=["ArrowDown","PageUp","Home"],Zy=["ArrowUp","PageDown","End"],PC=[...kC,...Zy],qC={ltr:[...fh,"ArrowRight"],rtl:[...fh,"ArrowLeft"]},VC={ltr:["ArrowLeft"],rtl:["ArrowRight"]},xi="Menu",[oi,GC,YC]=Lh(xi),[Tr,Iy]=Ln(xi,[YC,qu,zy]),Gu=qu(),$y=zy(),[FC,Ar]=Tr(xi),[KC,wi]=Tr(xi),Jy=n=>{const{__scopeMenu:a,open:l=!1,children:o,dir:s,onOpenChange:c,modal:f=!0}=n,h=Gu(a),[p,m]=v.useState(null),g=v.useRef(!1),y=Ht(c),w=ry(s);return v.useEffect(()=>{const T=()=>{g.current=!0,document.addEventListener("pointerdown",A,{capture:!0,once:!0}),document.addEventListener("pointermove",A,{capture:!0,once:!0})},A=()=>g.current=!1;return document.addEventListener("keydown",T,{capture:!0}),()=>{document.removeEventListener("keydown",T,{capture:!0}),document.removeEventListener("pointerdown",A,{capture:!0}),document.removeEventListener("pointermove",A,{capture:!0})}},[]),x.jsx(_y,B(R({},h),{children:x.jsx(FC,{scope:a,open:l,onOpenChange:y,content:p,onContentChange:m,children:x.jsx(KC,{scope:a,onClose:v.useCallback(()=>y(!1),[y]),isUsingKeyboardRef:g,dir:w,modal:f,children:o})})}))};Jy.displayName=xi;var QC="MenuAnchor",Kh=v.forwardRef((n,a)=>{const c=n,{__scopeMenu:l}=c,o=G(c,["__scopeMenu"]),s=Gu(l);return x.jsx(Ny,B(R(R({},s),o),{ref:a}))});Kh.displayName=QC;var Qh="MenuPortal",[XC,Wy]=Tr(Qh,{forceMount:void 0}),eb=n=>{const{__scopeMenu:a,forceMount:l,children:o,container:s}=n,c=Ar(Qh,a);return x.jsx(XC,{scope:a,forceMount:l,children:x.jsx(cn,{present:l||c.open,children:x.jsx(yi,{asChild:!0,container:s,children:o})})})};eb.displayName=Qh;var un="MenuContent",[ZC,Xh]=Tr(un),tb=v.forwardRef((n,a)=>{const l=Wy(un,n.__scopeMenu),h=n,{forceMount:o=l.forceMount}=h,s=G(h,["forceMount"]),c=Ar(un,n.__scopeMenu),f=wi(un,n.__scopeMenu);return x.jsx(oi.Provider,{scope:n.__scopeMenu,children:x.jsx(cn,{present:o||c.open,children:x.jsx(oi.Slot,{scope:n.__scopeMenu,children:f.modal?x.jsx(IC,B(R({},s),{ref:a})):x.jsx($C,B(R({},s),{ref:a}))})})})}),IC=v.forwardRef((n,a)=>{const l=Ar(un,n.__scopeMenu),o=v.useRef(null),s=Je(a,o);return v.useEffect(()=>{const c=o.current;if(c)return qy(c)},[]),x.jsx(Zh,B(R({},n),{ref:s,trapFocus:l.open,disableOutsidePointerEvents:l.open,disableOutsideScroll:!0,onFocusOutside:de(n.onFocusOutside,c=>c.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>l.onOpenChange(!1)}))}),$C=v.forwardRef((n,a)=>{const l=Ar(un,n.__scopeMenu);return x.jsx(Zh,B(R({},n),{ref:a,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>l.onOpenChange(!1)}))}),JC=ai("MenuContent.ScrollLock"),Zh=v.forwardRef((n,a)=>{const me=n,{__scopeMenu:l,loop:o=!1,trapFocus:s,onOpenAutoFocus:c,onCloseAutoFocus:f,disableOutsidePointerEvents:h,onEntryFocus:p,onEscapeKeyDown:m,onPointerDownOutside:g,onFocusOutside:y,onInteractOutside:w,onDismiss:T,disableOutsideScroll:A}=me,E=G(me,["__scopeMenu","loop","trapFocus","onOpenAutoFocus","onCloseAutoFocus","disableOutsidePointerEvents","onEntryFocus","onEscapeKeyDown","onPointerDownOutside","onFocusOutside","onInteractOutside","onDismiss","disableOutsideScroll"]),C=Ar(un,l),M=wi(un,l),L=Gu(l),D=$y(l),z=GC(l),[j,W]=v.useState(null),te=v.useRef(null),J=Je(a,te,C.onContentChange),ae=v.useRef(0),oe=v.useRef(""),pe=v.useRef(0),he=v.useRef(null),Se=v.useRef("right"),Me=v.useRef(0),re=A?Fh:v.Fragment,H=A?{as:JC,allowPinchZoom:!0}:void 0,Z=O=>{var _e,it;const K=oe.current+O,ne=z().filter(We=>!We.disabled),ee=document.activeElement,le=(_e=ne.find(We=>We.ref.current===ee))==null?void 0:_e.textValue,we=ne.map(We=>We.textValue),ve=cR(we,K,le),Ce=(it=ne.find(We=>We.textValue===ve))==null?void 0:it.ref.current;(function We(Ot){oe.current=Ot,window.clearTimeout(ae.current),Ot!==""&&(ae.current=window.setTimeout(()=>We(""),1e3))})(K),Ce&&setTimeout(()=>Ce.focus())};v.useEffect(()=>()=>window.clearTimeout(ae.current),[]),sy();const Y=v.useCallback(O=>{var ne,ee;return Se.current===((ne=he.current)==null?void 0:ne.side)&&dR(O,(ee=he.current)==null?void 0:ee.area)},[]);return x.jsx(ZC,{scope:l,searchRef:oe,onItemEnter:v.useCallback(O=>{Y(O)&&O.preventDefault()},[Y]),onItemLeave:v.useCallback(O=>{var K;Y(O)||((K=te.current)==null||K.focus(),W(null))},[Y]),onTriggerLeave:v.useCallback(O=>{Y(O)&&O.preventDefault()},[Y]),pointerGraceTimerRef:pe,onPointerGraceIntentChange:v.useCallback(O=>{he.current=O},[]),children:x.jsx(re,B(R({},H),{children:x.jsx(zh,{asChild:!0,trapped:s,onMountAutoFocus:de(c,O=>{var K;O.preventDefault(),(K=te.current)==null||K.focus({preventScroll:!0})}),onUnmountAutoFocus:f,children:x.jsx(vi,{asChild:!0,disableOutsidePointerEvents:h,onEscapeKeyDown:m,onPointerDownOutside:g,onFocusOutside:y,onInteractOutside:w,onDismiss:T,children:x.jsx(J7,B(R({asChild:!0},D),{dir:M.dir,orientation:"vertical",loop:o,currentTabStopId:j,onCurrentTabStopIdChange:W,onEntryFocus:de(p,O=>{M.isUsingKeyboardRef.current||O.preventDefault()}),preventScrollOnEntryFocus:!0,children:x.jsx(Dy,B(R(R({role:"menu","aria-orientation":"vertical","data-state":gb(C.open),"data-radix-menu-content":"",dir:M.dir},L),E),{ref:J,style:R({outline:"none"},E.style),onKeyDown:de(E.onKeyDown,O=>{const ne=O.target.closest("[data-radix-menu-content]")===O.currentTarget,ee=O.ctrlKey||O.altKey||O.metaKey,le=O.key.length===1;ne&&(O.key==="Tab"&&O.preventDefault(),!ee&&le&&Z(O.key));const we=te.current;if(O.target!==we||!PC.includes(O.key))return;O.preventDefault();const Ce=z().filter(_e=>!_e.disabled).map(_e=>_e.ref.current);Zy.includes(O.key)&&Ce.reverse(),sR(Ce)}),onBlur:de(n.onBlur,O=>{O.currentTarget.contains(O.target)||(window.clearTimeout(ae.current),oe.current="")}),onPointerMove:de(n.onPointerMove,ii(O=>{const K=O.target,ne=Me.current!==O.clientX;if(O.currentTarget.contains(K)&&ne){const ee=O.clientX>Me.current?"right":"left";Se.current=ee,Me.current=O.clientX}}))}))}))})})}))})});tb.displayName=un;var WC="MenuGroup",Ih=v.forwardRef((n,a)=>{const s=n,{__scopeMenu:l}=s,o=G(s,["__scopeMenu"]);return x.jsx(Le.div,B(R({role:"group"},o),{ref:a}))});Ih.displayName=WC;var eR="MenuLabel",nb=v.forwardRef((n,a)=>{const s=n,{__scopeMenu:l}=s,o=G(s,["__scopeMenu"]);return x.jsx(Le.div,B(R({},o),{ref:a}))});nb.displayName=eR;var wu="MenuItem",xg="menu.itemSelect",Yu=v.forwardRef((n,a)=>{const y=n,{disabled:l=!1,onSelect:o}=y,s=G(y,["disabled","onSelect"]),c=v.useRef(null),f=wi(wu,n.__scopeMenu),h=Xh(wu,n.__scopeMenu),p=Je(a,c),m=v.useRef(!1),g=()=>{const w=c.current;if(!l&&w){const T=new CustomEvent(xg,{bubbles:!0,cancelable:!0});w.addEventListener(xg,A=>o==null?void 0:o(A),{once:!0}),_h(w,T),T.defaultPrevented?m.current=!1:f.onClose()}};return x.jsx(ab,B(R({},s),{ref:p,disabled:l,onClick:de(n.onClick,g),onPointerDown:w=>{var T;(T=n.onPointerDown)==null||T.call(n,w),m.current=!0},onPointerUp:de(n.onPointerUp,w=>{var T;m.current||(T=w.currentTarget)==null||T.click()}),onKeyDown:de(n.onKeyDown,w=>{const T=h.searchRef.current!=="";l||T&&w.key===" "||fh.includes(w.key)&&(w.currentTarget.click(),w.preventDefault())})}))});Yu.displayName=wu;var ab=v.forwardRef((n,a)=>{const A=n,{__scopeMenu:l,disabled:o=!1,textValue:s}=A,c=G(A,["__scopeMenu","disabled","textValue"]),f=Xh(wu,l),h=$y(l),p=v.useRef(null),m=Je(a,p),[g,y]=v.useState(!1),[w,T]=v.useState("");return v.useEffect(()=>{var C;const E=p.current;E&&T(((C=E.textContent)!=null?C:"").trim())},[c.children]),x.jsx(oi.ItemSlot,{scope:l,disabled:o,textValue:s!=null?s:w,children:x.jsx(W7,B(R({asChild:!0},h),{focusable:!o,children:x.jsx(Le.div,B(R({role:"menuitem","data-highlighted":g?"":void 0,"aria-disabled":o||void 0,"data-disabled":o?"":void 0},c),{ref:m,onPointerMove:de(n.onPointerMove,ii(E=>{o?f.onItemLeave(E):(f.onItemEnter(E),E.defaultPrevented||E.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:de(n.onPointerLeave,ii(E=>f.onItemLeave(E))),onFocus:de(n.onFocus,()=>y(!0)),onBlur:de(n.onBlur,()=>y(!1))}))}))})}),tR="MenuCheckboxItem",rb=v.forwardRef((n,a)=>{const c=n,{checked:l=!1,onCheckedChange:o}=c,s=G(c,["checked","onCheckedChange"]);return x.jsx(ub,{scope:n.__scopeMenu,checked:l,children:x.jsx(Yu,B(R({role:"menuitemcheckbox","aria-checked":Su(l)?"mixed":l},s),{ref:a,"data-state":Jh(l),onSelect:de(s.onSelect,()=>o==null?void 0:o(Su(l)?!0:!l),{checkForDefaultPrevented:!1})}))})});rb.displayName=tR;var lb="MenuRadioGroup",[nR,aR]=Tr(lb,{value:void 0,onValueChange:()=>{}}),ob=v.forwardRef((n,a)=>{const f=n,{value:l,onValueChange:o}=f,s=G(f,["value","onValueChange"]),c=Ht(o);return x.jsx(nR,{scope:n.__scopeMenu,value:l,onValueChange:c,children:x.jsx(Ih,B(R({},s),{ref:a}))})});ob.displayName=lb;var ib="MenuRadioItem",sb=v.forwardRef((n,a)=>{const f=n,{value:l}=f,o=G(f,["value"]),s=aR(ib,n.__scopeMenu),c=l===s.value;return x.jsx(ub,{scope:n.__scopeMenu,checked:c,children:x.jsx(Yu,B(R({role:"menuitemradio","aria-checked":c},o),{ref:a,"data-state":Jh(c),onSelect:de(o.onSelect,()=>{var h;return(h=s.onValueChange)==null?void 0:h.call(s,l)},{checkForDefaultPrevented:!1})}))})});sb.displayName=ib;var $h="MenuItemIndicator",[ub,rR]=Tr($h,{checked:!1}),cb=v.forwardRef((n,a)=>{const f=n,{__scopeMenu:l,forceMount:o}=f,s=G(f,["__scopeMenu","forceMount"]),c=rR($h,l);return x.jsx(cn,{present:o||Su(c.checked)||c.checked===!0,children:x.jsx(Le.span,B(R({},s),{ref:a,"data-state":Jh(c.checked)}))})});cb.displayName=$h;var lR="MenuSeparator",fb=v.forwardRef((n,a)=>{const s=n,{__scopeMenu:l}=s,o=G(s,["__scopeMenu"]);return x.jsx(Le.div,B(R({role:"separator","aria-orientation":"horizontal"},o),{ref:a}))});fb.displayName=lR;var oR="MenuArrow",db=v.forwardRef((n,a)=>{const c=n,{__scopeMenu:l}=c,o=G(c,["__scopeMenu"]),s=Gu(l);return x.jsx(jy,B(R(R({},s),o),{ref:a}))});db.displayName=oR;var iR="MenuSub",[HO,hb]=Tr(iR),Xo="MenuSubTrigger",mb=v.forwardRef((n,a)=>{const l=Ar(Xo,n.__scopeMenu),o=wi(Xo,n.__scopeMenu),s=hb(Xo,n.__scopeMenu),c=Xh(Xo,n.__scopeMenu),f=v.useRef(null),{pointerGraceTimerRef:h,onPointerGraceIntentChange:p}=c,m={__scopeMenu:n.__scopeMenu},g=v.useCallback(()=>{f.current&&window.clearTimeout(f.current),f.current=null},[]);return v.useEffect(()=>g,[g]),v.useEffect(()=>{const y=h.current;return()=>{window.clearTimeout(y),p(null)}},[h,p]),x.jsx(Kh,B(R({asChild:!0},m),{children:x.jsx(ab,B(R({id:s.triggerId,"aria-haspopup":"menu","aria-expanded":l.open,"aria-controls":s.contentId,"data-state":gb(l.open)},n),{ref:pi(a,s.onTriggerChange),onClick:y=>{var w;(w=n.onClick)==null||w.call(n,y),!(n.disabled||y.defaultPrevented)&&(y.currentTarget.focus(),l.open||l.onOpenChange(!0))},onPointerMove:de(n.onPointerMove,ii(y=>{c.onItemEnter(y),!y.defaultPrevented&&!n.disabled&&!l.open&&!f.current&&(c.onPointerGraceIntentChange(null),f.current=window.setTimeout(()=>{l.onOpenChange(!0),g()},100))})),onPointerLeave:de(n.onPointerLeave,ii(y=>{var T,A;g();const w=(T=l.content)==null?void 0:T.getBoundingClientRect();if(w){const E=(A=l.content)==null?void 0:A.dataset.side,C=E==="right",M=C?-5:5,L=w[C?"left":"right"],D=w[C?"right":"left"];c.onPointerGraceIntentChange({area:[{x:y.clientX+M,y:y.clientY},{x:L,y:w.top},{x:D,y:w.top},{x:D,y:w.bottom},{x:L,y:w.bottom}],side:E}),window.clearTimeout(h.current),h.current=window.setTimeout(()=>c.onPointerGraceIntentChange(null),300)}else{if(c.onTriggerLeave(y),y.defaultPrevented)return;c.onPointerGraceIntentChange(null)}})),onKeyDown:de(n.onKeyDown,y=>{var T;const w=c.searchRef.current!=="";n.disabled||w&&y.key===" "||qC[o.dir].includes(y.key)&&(l.onOpenChange(!0),(T=l.content)==null||T.focus(),y.preventDefault())})}))}))});mb.displayName=Xo;var pb="MenuSubContent",vb=v.forwardRef((n,a)=>{const l=Wy(un,n.__scopeMenu),g=n,{forceMount:o=l.forceMount}=g,s=G(g,["forceMount"]),c=Ar(un,n.__scopeMenu),f=wi(un,n.__scopeMenu),h=hb(pb,n.__scopeMenu),p=v.useRef(null),m=Je(a,p);return x.jsx(oi.Provider,{scope:n.__scopeMenu,children:x.jsx(cn,{present:o||c.open,children:x.jsx(oi.Slot,{scope:n.__scopeMenu,children:x.jsx(Zh,B(R({id:h.contentId,"aria-labelledby":h.triggerId},s),{ref:m,align:"start",side:f.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:y=>{var w;f.isUsingKeyboardRef.current&&((w=p.current)==null||w.focus()),y.preventDefault()},onCloseAutoFocus:y=>y.preventDefault(),onFocusOutside:de(n.onFocusOutside,y=>{y.target!==h.trigger&&c.onOpenChange(!1)}),onEscapeKeyDown:de(n.onEscapeKeyDown,y=>{f.onClose(),y.preventDefault()}),onKeyDown:de(n.onKeyDown,y=>{var A;const w=y.currentTarget.contains(y.target),T=VC[f.dir].includes(y.key);w&&T&&(c.onOpenChange(!1),(A=h.trigger)==null||A.focus(),y.preventDefault())})}))})})})});vb.displayName=pb;function gb(n){return n?"open":"closed"}function Su(n){return n==="indeterminate"}function Jh(n){return Su(n)?"indeterminate":n?"checked":"unchecked"}function sR(n){const a=document.activeElement;for(const l of n)if(l===a||(l.focus(),document.activeElement!==a))return}function uR(n,a){return n.map((l,o)=>n[(a+o)%n.length])}function cR(n,a,l){const s=a.length>1&&Array.from(a).every(m=>m===a[0])?a[0]:a,c=l?n.indexOf(l):-1;let f=uR(n,Math.max(c,0));s.length===1&&(f=f.filter(m=>m!==l));const p=f.find(m=>m.toLowerCase().startsWith(s.toLowerCase()));return p!==l?p:void 0}function fR(n,a){const{x:l,y:o}=n;let s=!1;for(let c=0,f=a.length-1;c<a.length;f=c++){const h=a[c],p=a[f],m=h.x,g=h.y,y=p.x,w=p.y;g>o!=w>o&&l<(y-m)*(o-g)/(w-g)+m&&(s=!s)}return s}function dR(n,a){if(!a)return!1;const l={x:n.clientX,y:n.clientY};return fR(l,a)}function ii(n){return a=>a.pointerType==="mouse"?n(a):void 0}var hR=Jy,mR=Kh,pR=eb,vR=tb,gR=Ih,yR=nb,bR=Yu,xR=rb,wR=ob,SR=sb,ER=cb,CR=fb,RR=db,TR=mb,AR=vb,Fu="DropdownMenu",[OR,kO]=Ln(Fu,[Iy]),At=Iy(),[MR,yb]=OR(Fu),bb=n=>{const{__scopeDropdownMenu:a,children:l,dir:o,open:s,defaultOpen:c,onOpenChange:f,modal:h=!0}=n,p=At(a),m=v.useRef(null),[g,y]=ql({prop:s,defaultProp:c!=null?c:!1,onChange:f,caller:Fu});return x.jsx(MR,{scope:a,triggerId:Ga(),triggerRef:m,contentId:Ga(),open:g,onOpenChange:y,onOpenToggle:v.useCallback(()=>y(w=>!w),[y]),modal:h,children:x.jsx(hR,B(R({},p),{open:g,onOpenChange:y,dir:o,modal:h,children:l}))})};bb.displayName=Fu;var xb="DropdownMenuTrigger",wb=v.forwardRef((n,a)=>{const h=n,{__scopeDropdownMenu:l,disabled:o=!1}=h,s=G(h,["__scopeDropdownMenu","disabled"]),c=yb(xb,l),f=At(l);return x.jsx(mR,B(R({asChild:!0},f),{children:x.jsx(Le.button,B(R({type:"button",id:c.triggerId,"aria-haspopup":"menu","aria-expanded":c.open,"aria-controls":c.open?c.contentId:void 0,"data-state":c.open?"open":"closed","data-disabled":o?"":void 0,disabled:o},s),{ref:pi(a,c.triggerRef),onPointerDown:de(n.onPointerDown,p=>{!o&&p.button===0&&p.ctrlKey===!1&&(c.onOpenToggle(),c.open||p.preventDefault())}),onKeyDown:de(n.onKeyDown,p=>{o||(["Enter"," "].includes(p.key)&&c.onOpenToggle(),p.key==="ArrowDown"&&c.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(p.key)&&p.preventDefault())})}))}))});wb.displayName=xb;var _R="DropdownMenuPortal",Sb=n=>{const s=n,{__scopeDropdownMenu:a}=s,l=G(s,["__scopeDropdownMenu"]),o=At(a);return x.jsx(pR,R(R({},o),l))};Sb.displayName=_R;var Eb="DropdownMenuContent",Cb=v.forwardRef((n,a)=>{const h=n,{__scopeDropdownMenu:l}=h,o=G(h,["__scopeDropdownMenu"]),s=yb(Eb,l),c=At(l),f=v.useRef(!1);return x.jsx(vR,B(R(R({id:s.contentId,"aria-labelledby":s.triggerId},c),o),{ref:a,onCloseAutoFocus:de(n.onCloseAutoFocus,p=>{var m;f.current||(m=s.triggerRef.current)==null||m.focus(),f.current=!1,p.preventDefault()}),onInteractOutside:de(n.onInteractOutside,p=>{const m=p.detail.originalEvent,g=m.button===0&&m.ctrlKey===!0,y=m.button===2||g;(!s.modal||y)&&(f.current=!0)}),style:B(R({},n.style),{"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"})}))});Cb.displayName=Eb;var NR="DropdownMenuGroup",Rb=v.forwardRef((n,a)=>{const c=n,{__scopeDropdownMenu:l}=c,o=G(c,["__scopeDropdownMenu"]),s=At(l);return x.jsx(gR,B(R(R({},s),o),{ref:a}))});Rb.displayName=NR;var DR="DropdownMenuLabel",Tb=v.forwardRef((n,a)=>{const c=n,{__scopeDropdownMenu:l}=c,o=G(c,["__scopeDropdownMenu"]),s=At(l);return x.jsx(yR,B(R(R({},s),o),{ref:a}))});Tb.displayName=DR;var jR="DropdownMenuItem",Ab=v.forwardRef((n,a)=>{const c=n,{__scopeDropdownMenu:l}=c,o=G(c,["__scopeDropdownMenu"]),s=At(l);return x.jsx(bR,B(R(R({},s),o),{ref:a}))});Ab.displayName=jR;var LR="DropdownMenuCheckboxItem",Ob=v.forwardRef((n,a)=>{const c=n,{__scopeDropdownMenu:l}=c,o=G(c,["__scopeDropdownMenu"]),s=At(l);return x.jsx(xR,B(R(R({},s),o),{ref:a}))});Ob.displayName=LR;var zR="DropdownMenuRadioGroup",UR=v.forwardRef((n,a)=>{const c=n,{__scopeDropdownMenu:l}=c,o=G(c,["__scopeDropdownMenu"]),s=At(l);return x.jsx(wR,B(R(R({},s),o),{ref:a}))});UR.displayName=zR;var BR="DropdownMenuRadioItem",Mb=v.forwardRef((n,a)=>{const c=n,{__scopeDropdownMenu:l}=c,o=G(c,["__scopeDropdownMenu"]),s=At(l);return x.jsx(SR,B(R(R({},s),o),{ref:a}))});Mb.displayName=BR;var HR="DropdownMenuItemIndicator",_b=v.forwardRef((n,a)=>{const c=n,{__scopeDropdownMenu:l}=c,o=G(c,["__scopeDropdownMenu"]),s=At(l);return x.jsx(ER,B(R(R({},s),o),{ref:a}))});_b.displayName=HR;var kR="DropdownMenuSeparator",Nb=v.forwardRef((n,a)=>{const c=n,{__scopeDropdownMenu:l}=c,o=G(c,["__scopeDropdownMenu"]),s=At(l);return x.jsx(CR,B(R(R({},s),o),{ref:a}))});Nb.displayName=kR;var PR="DropdownMenuArrow",qR=v.forwardRef((n,a)=>{const c=n,{__scopeDropdownMenu:l}=c,o=G(c,["__scopeDropdownMenu"]),s=At(l);return x.jsx(RR,B(R(R({},s),o),{ref:a}))});qR.displayName=PR;var VR="DropdownMenuSubTrigger",Db=v.forwardRef((n,a)=>{const c=n,{__scopeDropdownMenu:l}=c,o=G(c,["__scopeDropdownMenu"]),s=At(l);return x.jsx(TR,B(R(R({},s),o),{ref:a}))});Db.displayName=VR;var GR="DropdownMenuSubContent",jb=v.forwardRef((n,a)=>{const c=n,{__scopeDropdownMenu:l}=c,o=G(c,["__scopeDropdownMenu"]),s=At(l);return x.jsx(AR,B(R(R({},s),o),{ref:a,style:B(R({},n.style),{"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"})}))});jb.displayName=GR;var YR=bb,FR=wb,KR=Sb,Lb=Cb,QR=Rb,zb=Tb,Ub=Ab,Bb=Ob,Hb=Mb,kb=_b,Pb=Nb,qb=Db,Vb=jb;const Gb=YR,Yb=FR,XR=QR,ZR=v.forwardRef((c,s)=>{var f=c,{className:n,inset:a,children:l}=f,o=G(f,["className","inset","children"]);return x.jsxs(qb,B(R({ref:s,className:ce("flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",a&&"pl-8",n)},o),{children:[l,x.jsx(vu,{className:"ml-auto"})]}))});ZR.displayName=qb.displayName;const IR=v.forwardRef((o,l)=>{var s=o,{className:n}=s,a=G(s,["className"]);return x.jsx(Vb,R({ref:l,className:ce("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",n)},a))});IR.displayName=Vb.displayName;const Wh=v.forwardRef((s,o)=>{var c=s,{className:n,sideOffset:a=4}=c,l=G(c,["className","sideOffset"]);return x.jsx(KR,{children:x.jsx(Lb,R({ref:o,sideOffset:a,className:ce("z-50 max-h-[var(--radix-dropdown-menu-content-available-height)] min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",n)},l))})});Wh.displayName=Lb.displayName;const Eu=v.forwardRef((s,o)=>{var c=s,{className:n,inset:a}=c,l=G(c,["className","inset"]);return x.jsx(Ub,R({ref:o,className:ce("relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0",a&&"pl-8",n)},l))});Eu.displayName=Ub.displayName;const $R=v.forwardRef((c,s)=>{var f=c,{className:n,children:a,checked:l}=f,o=G(f,["className","children","checked"]);return x.jsxs(Bb,B(R({ref:s,className:ce("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",n),checked:l},o),{children:[x.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:x.jsx(kb,{children:x.jsx(lE,{className:"h-4 w-4"})})}),a]}))});$R.displayName=Bb.displayName;const JR=v.forwardRef((s,o)=>{var c=s,{className:n,children:a}=c,l=G(c,["className","children"]);return x.jsxs(Hb,B(R({ref:o,className:ce("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",n)},l),{children:[x.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:x.jsx(kb,{children:x.jsx(dE,{className:"h-2 w-2 fill-current"})})}),a]}))});JR.displayName=Hb.displayName;const Fb=v.forwardRef((s,o)=>{var c=s,{className:n,inset:a}=c,l=G(c,["className","inset"]);return x.jsx(zb,R({ref:o,className:ce("px-2 py-1.5 text-sm font-semibold",a&&"pl-8",n)},l))});Fb.displayName=zb.displayName;const iu=v.forwardRef((o,l)=>{var s=o,{className:n}=s,a=G(s,["className"]);return x.jsx(Pb,R({ref:l,className:ce("-mx-1 my-1 h-px bg-muted",n)},a))});iu.displayName=Pb.displayName;function WR(n){const a=eT(n),l=v.forwardRef((o,s)=>{const m=o,{children:c}=m,f=G(m,["children"]),h=v.Children.toArray(c),p=h.find(nT);if(p){const g=p.props.children,y=h.map(w=>w===p?v.Children.count(g)>1?v.Children.only(null):v.isValidElement(g)?g.props.children:null:w);return x.jsx(a,B(R({},f),{ref:s,children:v.isValidElement(g)?v.cloneElement(g,void 0,y):null}))}return x.jsx(a,B(R({},f),{ref:s,children:c}))});return l.displayName=`${n}.Slot`,l}var Or=WR("Slot");function eT(n){const a=v.forwardRef((l,o)=>{const f=l,{children:s}=f,c=G(f,["children"]);if(v.isValidElement(s)){const h=rT(s),p=aT(c,s.props);return s.type!==v.Fragment&&(p.ref=o?pi(o,h):h),v.cloneElement(s,p)}return v.Children.count(s)>1?v.Children.only(null):null});return a.displayName=`${n}.SlotClone`,a}var tT=Symbol("radix.slottable");function nT(n){return v.isValidElement(n)&&typeof n.type=="function"&&"__radixId"in n.type&&n.type.__radixId===tT}function aT(n,a){const l=R({},a);for(const o in a){const s=n[o],c=a[o];/^on[A-Z]/.test(o)?s&&c?l[o]=(...h)=>{const p=c(...h);return s(...h),p}:s&&(l[o]=s):o==="style"?l[o]=R(R({},s),c):o==="className"&&(l[o]=[s,c].filter(Boolean).join(" "))}return R(R({},n),l)}function rT(n){var o,s;let a=(o=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:o.get,l=a&&"isReactWarning"in a&&a.isReactWarning;return l?n.ref:(a=(s=Object.getOwnPropertyDescriptor(n,"ref"))==null?void 0:s.get,l=a&&"isReactWarning"in a&&a.isReactWarning,l?n.props.ref:n.props.ref||n.ref)}const wg=n=>typeof n=="boolean"?`${n}`:n===0?"0":n,Sg=V2,Ku=(n,a)=>l=>{var o;if((a==null?void 0:a.variants)==null)return Sg(n,l==null?void 0:l.class,l==null?void 0:l.className);const{variants:s,defaultVariants:c}=a,f=Object.keys(s).map(m=>{const g=l==null?void 0:l[m],y=c==null?void 0:c[m];if(g===null)return null;const w=wg(g)||wg(y);return s[m][w]}),h=l&&Object.entries(l).reduce((m,g)=>{let[y,w]=g;return w===void 0||(m[y]=w),m},{}),p=a==null||(o=a.compoundVariants)===null||o===void 0?void 0:o.reduce((m,g)=>{let A=g,{class:y,className:w}=A,T=G(A,["class","className"]);return Object.entries(T).every(E=>{let[C,M]=E;return Array.isArray(M)?M.includes(R(R({},c),h)[C]):R(R({},c),h)[C]===M})?[...m,y,w]:m},[]);return Sg(n,f,p,l==null?void 0:l.class,l==null?void 0:l.className)},Hd=768;function lT(){const[n,a]=v.useState(void 0);return v.useEffect(()=>{const l=window.matchMedia(`(max-width: ${Hd-1}px)`),o=()=>{a(window.innerWidth<Hd)};return l.addEventListener("change",o),a(window.innerWidth<Hd),()=>l.removeEventListener("change",o)},[]),!!n}const oT=Ku("focus-visible:ring-ring inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90 shadow",accent:"text-accent-foreground bg-accent hover:bg-accent/90 shadow","primary-soft":"bg-primary/15 text-primary hover:bg-primary/25 dark:bg-primary/10 dark:text-primary dark:hover:bg-primary/20",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90 shadow-sm",outline:"hover:text-accent-foreground border-input bg-background hover:bg-accent border shadow-sm",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80 shadow-sm",ghost:"hover:text-accent-foreground hover:bg-accent dark:hover:bg-accent",link:"text-primary underline-offset-4 hover:underline",info:"bg-info hover:bg-info/80 dark:bg-info/5 dark:text-info-foreground dark:hover:hover:bg-info/20 text-white shadow",warning:"bg-warning hover:bg-warning/80 dark:bg-warning/5 dark:text-warning-foreground dark:hover:hover:bg-warning/20 text-white shadow",danger:"bg-danger hover:bg-danger/80 dark:bg-danger/5 dark:text-danger-foreground dark:hover:hover:bg-danger/20 text-white shadow",success:"bg-success hover:bg-success/80 dark:bg-success/5 dark:text-success-foreground dark:hover:hover:bg-success/20 text-white shadow","info-soft":"bg-info/15 text-info-foreground shadow-info/20 hover:bg-info/25 dark:bg-info/5 dark:hover:hover:bg-info/20 dark:shadow","warning-soft":"bg-warning/15 text-warning-foreground shadow-warning/20 hover:bg-warning/25 dark:bg-warning/5 dark:hover:hover:bg-warning/20 dark:shadow","danger-soft":"bg-danger/15 text-danger-foreground shadow-danger/20 hover:bg-danger/25 dark:bg-danger/5 dark:hover:hover:bg-danger/20 dark:shadow","success-soft":"bg-success/15 text-success-foreground shadow-success/20 hover:bg-success/25 dark:bg-success/5 dark:hover:hover:bg-success/20 dark:shadow","secondary-soft":"bg-secondary/10 text-secondary-foreground shadow-secondary/10 hover:bg-secondary/15 dark:bg-secondary/5 dark:hover:hover:bg-secondary/10 dark:shadow","accent-soft":"text-accent-foreground bg-accent/80 shadow-accent/10 hover:bg-accent/15 dark:bg-accent/5 dark:hover:hover:bg-accent/10 dark:shadow"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),Kb=v.forwardRef((f,c)=>{var h=f,{className:n,variant:a,size:l,asChild:o=!1}=h,s=G(h,["className","variant","size","asChild"]);const p=o?Or:"button";return x.jsx(p,R({className:ce(oT({variant:a,size:l,className:n})),ref:c},s))});Kb.displayName="Button";const Qb=v.forwardRef((s,o)=>{var c=s,{className:n,type:a}=c,l=G(c,["className","type"]);return x.jsx("input",R({type:a,className:ce("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",n),ref:o},l))});Qb.displayName="Input";var iT="Separator",Eg="horizontal",sT=["horizontal","vertical"],Xb=v.forwardRef((n,a)=>{const p=n,{decorative:l,orientation:o=Eg}=p,s=G(p,["decorative","orientation"]),c=uT(o)?o:Eg,h=l?{role:"none"}:{"aria-orientation":c==="vertical"?c:void 0,role:"separator"};return x.jsx(Le.div,B(R(R({"data-orientation":c},h),s),{ref:a}))});Xb.displayName=iT;function uT(n){return sT.includes(n)}var Zb=Xb;const e1=v.forwardRef((c,s)=>{var f=c,{className:n,orientation:a="horizontal",decorative:l=!0}=f,o=G(f,["className","orientation","decorative"]);return x.jsx(Zb,R({ref:s,decorative:l,orientation:a,className:ce("shrink-0 bg-border",a==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",n)},o))});e1.displayName=Zb.displayName;var Qu="Dialog",[Ib,PO]=Ln(Qu),[cT,wn]=Ib(Qu),$b=n=>{const{__scopeDialog:a,children:l,open:o,defaultOpen:s,onOpenChange:c,modal:f=!0}=n,h=v.useRef(null),p=v.useRef(null),[m,g]=ql({prop:o,defaultProp:s!=null?s:!1,onChange:c,caller:Qu});return x.jsx(cT,{scope:a,triggerRef:h,contentRef:p,contentId:Ga(),titleId:Ga(),descriptionId:Ga(),open:m,onOpenChange:g,onOpenToggle:v.useCallback(()=>g(y=>!y),[g]),modal:f,children:l})};$b.displayName=Qu;var Jb="DialogTrigger",fT=v.forwardRef((n,a)=>{const f=n,{__scopeDialog:l}=f,o=G(f,["__scopeDialog"]),s=wn(Jb,l),c=Je(a,s.triggerRef);return x.jsx(Le.button,B(R({type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.contentId,"data-state":a1(s.open)},o),{ref:c,onClick:de(n.onClick,s.onOpenToggle)}))});fT.displayName=Jb;var t1="DialogPortal",[dT,Wb]=Ib(t1,{forceMount:void 0}),e3=n=>{const{__scopeDialog:a,forceMount:l,children:o,container:s}=n,c=wn(t1,a);return x.jsx(dT,{scope:a,forceMount:l,children:v.Children.map(o,f=>x.jsx(cn,{present:l||c.open,children:x.jsx(yi,{asChild:!0,container:s,children:f})}))})};e3.displayName=t1;var Cu="DialogOverlay",t3=v.forwardRef((n,a)=>{const l=Wb(Cu,n.__scopeDialog),f=n,{forceMount:o=l.forceMount}=f,s=G(f,["forceMount"]),c=wn(Cu,n.__scopeDialog);return c.modal?x.jsx(cn,{present:o||c.open,children:x.jsx(mT,B(R({},s),{ref:a}))}):null});t3.displayName=Cu;var hT=ai("DialogOverlay.RemoveScroll"),mT=v.forwardRef((n,a)=>{const c=n,{__scopeDialog:l}=c,o=G(c,["__scopeDialog"]),s=wn(Cu,l);return x.jsx(Fh,{as:hT,allowPinchZoom:!0,shards:[s.contentRef],children:x.jsx(Le.div,B(R({"data-state":a1(s.open)},o),{ref:a,style:R({pointerEvents:"auto"},o.style)}))})}),Er="DialogContent",n3=v.forwardRef((n,a)=>{const l=Wb(Er,n.__scopeDialog),f=n,{forceMount:o=l.forceMount}=f,s=G(f,["forceMount"]),c=wn(Er,n.__scopeDialog);return x.jsx(cn,{present:o||c.open,children:c.modal?x.jsx(pT,B(R({},s),{ref:a})):x.jsx(vT,B(R({},s),{ref:a}))})});n3.displayName=Er;var pT=v.forwardRef((n,a)=>{const l=wn(Er,n.__scopeDialog),o=v.useRef(null),s=Je(a,l.contentRef,o);return v.useEffect(()=>{const c=o.current;if(c)return qy(c)},[]),x.jsx(a3,B(R({},n),{ref:s,trapFocus:l.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:de(n.onCloseAutoFocus,c=>{var f;c.preventDefault(),(f=l.triggerRef.current)==null||f.focus()}),onPointerDownOutside:de(n.onPointerDownOutside,c=>{const f=c.detail.originalEvent,h=f.button===0&&f.ctrlKey===!0;(f.button===2||h)&&c.preventDefault()}),onFocusOutside:de(n.onFocusOutside,c=>c.preventDefault())}))}),vT=v.forwardRef((n,a)=>{const l=wn(Er,n.__scopeDialog),o=v.useRef(!1),s=v.useRef(!1);return x.jsx(a3,B(R({},n),{ref:a,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:c=>{var f,h;(f=n.onCloseAutoFocus)==null||f.call(n,c),c.defaultPrevented||(o.current||(h=l.triggerRef.current)==null||h.focus(),c.preventDefault()),o.current=!1,s.current=!1},onInteractOutside:c=>{var p,m;(p=n.onInteractOutside)==null||p.call(n,c),c.defaultPrevented||(o.current=!0,c.detail.originalEvent.type==="pointerdown"&&(s.current=!0));const f=c.target;((m=l.triggerRef.current)==null?void 0:m.contains(f))&&c.preventDefault(),c.detail.originalEvent.type==="focusin"&&s.current&&c.preventDefault()}}))}),a3=v.forwardRef((n,a)=>{const g=n,{__scopeDialog:l,trapFocus:o,onOpenAutoFocus:s,onCloseAutoFocus:c}=g,f=G(g,["__scopeDialog","trapFocus","onOpenAutoFocus","onCloseAutoFocus"]),h=wn(Er,l),p=v.useRef(null),m=Je(a,p);return sy(),x.jsxs(x.Fragment,{children:[x.jsx(zh,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:s,onUnmountAutoFocus:c,children:x.jsx(vi,B(R({role:"dialog",id:h.contentId,"aria-describedby":h.descriptionId,"aria-labelledby":h.titleId,"data-state":a1(h.open)},f),{ref:m,onDismiss:()=>h.onOpenChange(!1)}))}),x.jsxs(x.Fragment,{children:[x.jsx(gT,{titleId:h.titleId}),x.jsx(bT,{contentRef:p,descriptionId:h.descriptionId})]})]})}),n1="DialogTitle",r3=v.forwardRef((n,a)=>{const c=n,{__scopeDialog:l}=c,o=G(c,["__scopeDialog"]),s=wn(n1,l);return x.jsx(Le.h2,B(R({id:s.titleId},o),{ref:a}))});r3.displayName=n1;var l3="DialogDescription",o3=v.forwardRef((n,a)=>{const c=n,{__scopeDialog:l}=c,o=G(c,["__scopeDialog"]),s=wn(l3,l);return x.jsx(Le.p,B(R({id:s.descriptionId},o),{ref:a}))});o3.displayName=l3;var i3="DialogClose",s3=v.forwardRef((n,a)=>{const c=n,{__scopeDialog:l}=c,o=G(c,["__scopeDialog"]),s=wn(i3,l);return x.jsx(Le.button,B(R({type:"button"},o),{ref:a,onClick:de(n.onClick,()=>s.onOpenChange(!1))}))});s3.displayName=i3;function a1(n){return n?"open":"closed"}var u3="DialogTitleWarning",[qO,c3]=ZE(u3,{contentName:Er,titleName:n1,docsSlug:"dialog"}),gT=({titleId:n})=>{const a=c3(u3),l=`\`${a.contentName}\` requires a \`${a.titleName}\` for the component to be accessible for screen reader users.

If you want to hide the \`${a.titleName}\`, you can wrap it with our VisuallyHidden component.

For more information, see https://radix-ui.com/primitives/docs/components/${a.docsSlug}`;return v.useEffect(()=>{n&&(document.getElementById(n)||console.error(l))},[l,n]),null},yT="DialogDescriptionWarning",bT=({contentRef:n,descriptionId:a})=>{const o=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${c3(yT).contentName}}.`;return v.useEffect(()=>{var c;const s=(c=n.current)==null?void 0:c.getAttribute("aria-describedby");a&&s&&(document.getElementById(a)||console.warn(o))},[o,n,a]),null},xT=$b,wT=e3,f3=t3,d3=n3,h3=r3,m3=o3,ST=s3;const ET=xT,CT=wT,p3=v.forwardRef((o,l)=>{var s=o,{className:n}=s,a=G(s,["className"]);return x.jsx(f3,B(R({className:ce("fixed inset-0 z-50 bg-black/80  data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",n)},a),{ref:l}))});p3.displayName=f3.displayName;const RT=Ku("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),v3=v.forwardRef((c,s)=>{var f=c,{side:n="right",className:a,children:l}=f,o=G(f,["side","className","children"]);return x.jsxs(CT,{children:[x.jsx(p3,{}),x.jsxs(d3,B(R({ref:s,className:ce(RT({side:n}),a)},o),{children:[x.jsxs(ST,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[x.jsx(P2,{className:"h-4 w-4"}),x.jsx("span",{className:"sr-only",children:"Close"})]}),l]}))]})});v3.displayName=d3.displayName;const g3=l=>{var o=l,{className:n}=o,a=G(o,["className"]);return x.jsx("div",R({className:ce("flex flex-col space-y-2 text-center sm:text-left",n)},a))};g3.displayName="SheetHeader";const y3=v.forwardRef((o,l)=>{var s=o,{className:n}=s,a=G(s,["className"]);return x.jsx(h3,R({ref:l,className:ce("text-lg font-semibold text-foreground",n)},a))});y3.displayName=h3.displayName;const b3=v.forwardRef((o,l)=>{var s=o,{className:n}=s,a=G(s,["className"]);return x.jsx(m3,R({ref:l,className:ce("text-sm text-muted-foreground",n)},a))});b3.displayName=m3.displayName;function Cg(l){var o=l,{className:n}=o,a=G(o,["className"]);return x.jsx("div",R({className:ce("animate-pulse rounded-md bg-primary/10",n)},a))}var TT=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),AT="VisuallyHidden",Xu=v.forwardRef((n,a)=>x.jsx(Le.span,B(R({},n),{ref:a,style:R(R({},TT),n.style)})));Xu.displayName=AT;var OT=Xu,[Zu,VO]=Ln("Tooltip",[qu]),Iu=qu(),x3="TooltipProvider",MT=700,dh="tooltip.open",[_T,r1]=Zu(x3),w3=n=>{const{__scopeTooltip:a,delayDuration:l=MT,skipDelayDuration:o=300,disableHoverableContent:s=!1,children:c}=n,f=v.useRef(!0),h=v.useRef(!1),p=v.useRef(0);return v.useEffect(()=>{const m=p.current;return()=>window.clearTimeout(m)},[]),x.jsx(_T,{scope:a,isOpenDelayedRef:f,delayDuration:l,onOpen:v.useCallback(()=>{window.clearTimeout(p.current),f.current=!1},[]),onClose:v.useCallback(()=>{window.clearTimeout(p.current),p.current=window.setTimeout(()=>f.current=!0,o)},[o]),isPointerInTransitRef:h,onPointerInTransitChange:v.useCallback(m=>{h.current=m},[]),disableHoverableContent:s,children:c})};w3.displayName=x3;var si="Tooltip",[NT,Si]=Zu(si),S3=n=>{const{__scopeTooltip:a,children:l,open:o,defaultOpen:s,onOpenChange:c,disableHoverableContent:f,delayDuration:h}=n,p=r1(si,n.__scopeTooltip),m=Iu(a),[g,y]=v.useState(null),w=Ga(),T=v.useRef(0),A=f!=null?f:p.disableHoverableContent,E=h!=null?h:p.delayDuration,C=v.useRef(!1),[M,L]=ql({prop:o,defaultProp:s!=null?s:!1,onChange:te=>{te?(p.onOpen(),document.dispatchEvent(new CustomEvent(dh))):p.onClose(),c==null||c(te)},caller:si}),D=v.useMemo(()=>M?C.current?"delayed-open":"instant-open":"closed",[M]),z=v.useCallback(()=>{window.clearTimeout(T.current),T.current=0,C.current=!1,L(!0)},[L]),j=v.useCallback(()=>{window.clearTimeout(T.current),T.current=0,L(!1)},[L]),W=v.useCallback(()=>{window.clearTimeout(T.current),T.current=window.setTimeout(()=>{C.current=!0,L(!0),T.current=0},E)},[E,L]);return v.useEffect(()=>()=>{T.current&&(window.clearTimeout(T.current),T.current=0)},[]),x.jsx(_y,B(R({},m),{children:x.jsx(NT,{scope:a,contentId:w,open:M,stateAttribute:D,trigger:g,onTriggerChange:y,onTriggerEnter:v.useCallback(()=>{p.isOpenDelayedRef.current?W():z()},[p.isOpenDelayedRef,W,z]),onTriggerLeave:v.useCallback(()=>{A?j():(window.clearTimeout(T.current),T.current=0)},[j,A]),onOpen:z,onClose:j,disableHoverableContent:A,children:l})}))};S3.displayName=si;var hh="TooltipTrigger",E3=v.forwardRef((n,a)=>{const w=n,{__scopeTooltip:l}=w,o=G(w,["__scopeTooltip"]),s=Si(hh,l),c=r1(hh,l),f=Iu(l),h=v.useRef(null),p=Je(a,h,s.onTriggerChange),m=v.useRef(!1),g=v.useRef(!1),y=v.useCallback(()=>m.current=!1,[]);return v.useEffect(()=>()=>document.removeEventListener("pointerup",y),[y]),x.jsx(Ny,B(R({asChild:!0},f),{children:x.jsx(Le.button,B(R({"aria-describedby":s.open?s.contentId:void 0,"data-state":s.stateAttribute},o),{ref:p,onPointerMove:de(n.onPointerMove,T=>{T.pointerType!=="touch"&&!g.current&&!c.isPointerInTransitRef.current&&(s.onTriggerEnter(),g.current=!0)}),onPointerLeave:de(n.onPointerLeave,()=>{s.onTriggerLeave(),g.current=!1}),onPointerDown:de(n.onPointerDown,()=>{s.open&&s.onClose(),m.current=!0,document.addEventListener("pointerup",y,{once:!0})}),onFocus:de(n.onFocus,()=>{m.current||s.onOpen()}),onBlur:de(n.onBlur,s.onClose),onClick:de(n.onClick,s.onClose)}))}))});E3.displayName=hh;var l1="TooltipPortal",[DT,jT]=Zu(l1,{forceMount:void 0}),C3=n=>{const{__scopeTooltip:a,forceMount:l,children:o,container:s}=n,c=Si(l1,a);return x.jsx(DT,{scope:a,forceMount:l,children:x.jsx(cn,{present:l||c.open,children:x.jsx(yi,{asChild:!0,container:s,children:o})})})};C3.displayName=l1;var zl="TooltipContent",R3=v.forwardRef((n,a)=>{const l=jT(zl,n.__scopeTooltip),h=n,{forceMount:o=l.forceMount,side:s="top"}=h,c=G(h,["forceMount","side"]),f=Si(zl,n.__scopeTooltip);return x.jsx(cn,{present:o||f.open,children:f.disableHoverableContent?x.jsx(T3,B(R({side:s},c),{ref:a})):x.jsx(LT,B(R({side:s},c),{ref:a}))})}),LT=v.forwardRef((n,a)=>{const l=Si(zl,n.__scopeTooltip),o=r1(zl,n.__scopeTooltip),s=v.useRef(null),c=Je(a,s),[f,h]=v.useState(null),{trigger:p,onClose:m}=l,g=s.current,{onPointerInTransitChange:y}=o,w=v.useCallback(()=>{h(null),y(!1)},[y]),T=v.useCallback((A,E)=>{const C=A.currentTarget,M={x:A.clientX,y:A.clientY},L=kT(M,C.getBoundingClientRect()),D=PT(M,L),z=qT(E.getBoundingClientRect()),j=GT([...D,...z]);h(j),y(!0)},[y]);return v.useEffect(()=>()=>w(),[w]),v.useEffect(()=>{if(p&&g){const A=C=>T(C,g),E=C=>T(C,p);return p.addEventListener("pointerleave",A),g.addEventListener("pointerleave",E),()=>{p.removeEventListener("pointerleave",A),g.removeEventListener("pointerleave",E)}}},[p,g,T,w]),v.useEffect(()=>{if(f){const A=E=>{const C=E.target,M={x:E.clientX,y:E.clientY},L=(p==null?void 0:p.contains(C))||(g==null?void 0:g.contains(C)),D=!VT(M,f);L?w():D&&(w(),m())};return document.addEventListener("pointermove",A),()=>document.removeEventListener("pointermove",A)}},[p,g,f,m,w]),x.jsx(T3,B(R({},n),{ref:c}))}),[zT,UT]=Zu(si,{isInside:!1}),BT=t9("TooltipContent"),T3=v.forwardRef((n,a)=>{const y=n,{__scopeTooltip:l,children:o,"aria-label":s,onEscapeKeyDown:c,onPointerDownOutside:f}=y,h=G(y,["__scopeTooltip","children","aria-label","onEscapeKeyDown","onPointerDownOutside"]),p=Si(zl,l),m=Iu(l),{onClose:g}=p;return v.useEffect(()=>(document.addEventListener(dh,g),()=>document.removeEventListener(dh,g)),[g]),v.useEffect(()=>{if(p.trigger){const w=T=>{const A=T.target;A!=null&&A.contains(p.trigger)&&g()};return window.addEventListener("scroll",w,{capture:!0}),()=>window.removeEventListener("scroll",w,{capture:!0})}},[p.trigger,g]),x.jsx(vi,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:c,onPointerDownOutside:f,onFocusOutside:w=>w.preventDefault(),onDismiss:g,children:x.jsxs(Dy,B(R(R({"data-state":p.stateAttribute},m),h),{ref:a,style:B(R({},h.style),{"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"}),children:[x.jsx(BT,{children:o}),x.jsx(zT,{scope:l,isInside:!0,children:x.jsx(OT,{id:p.contentId,role:"tooltip",children:s||o})})]}))})});R3.displayName=zl;var A3="TooltipArrow",HT=v.forwardRef((n,a)=>{const f=n,{__scopeTooltip:l}=f,o=G(f,["__scopeTooltip"]),s=Iu(l);return UT(A3,l).isInside?null:x.jsx(jy,B(R(R({},s),o),{ref:a}))});HT.displayName=A3;function kT(n,a){const l=Math.abs(a.top-n.y),o=Math.abs(a.bottom-n.y),s=Math.abs(a.right-n.x),c=Math.abs(a.left-n.x);switch(Math.min(l,o,s,c)){case c:return"left";case s:return"right";case l:return"top";case o:return"bottom";default:throw new Error("unreachable")}}function PT(n,a,l=5){const o=[];switch(a){case"top":o.push({x:n.x-l,y:n.y+l},{x:n.x+l,y:n.y+l});break;case"bottom":o.push({x:n.x-l,y:n.y-l},{x:n.x+l,y:n.y-l});break;case"left":o.push({x:n.x+l,y:n.y-l},{x:n.x+l,y:n.y+l});break;case"right":o.push({x:n.x-l,y:n.y-l},{x:n.x-l,y:n.y+l});break}return o}function qT(n){const{top:a,right:l,bottom:o,left:s}=n;return[{x:s,y:a},{x:l,y:a},{x:l,y:o},{x:s,y:o}]}function VT(n,a){const{x:l,y:o}=n;let s=!1;for(let c=0,f=a.length-1;c<a.length;f=c++){const h=a[c],p=a[f],m=h.x,g=h.y,y=p.x,w=p.y;g>o!=w>o&&l<(y-m)*(o-g)/(w-g)+m&&(s=!s)}return s}function GT(n){const a=n.slice();return a.sort((l,o)=>l.x<o.x?-1:l.x>o.x?1:l.y<o.y?-1:l.y>o.y?1:0),YT(a)}function YT(n){if(n.length<=1)return n.slice();const a=[];for(let o=0;o<n.length;o++){const s=n[o];for(;a.length>=2;){const c=a[a.length-1],f=a[a.length-2];if((c.x-f.x)*(s.y-f.y)>=(c.y-f.y)*(s.x-f.x))a.pop();else break}a.push(s)}a.pop();const l=[];for(let o=n.length-1;o>=0;o--){const s=n[o];for(;l.length>=2;){const c=l[l.length-1],f=l[l.length-2];if((c.x-f.x)*(s.y-f.y)>=(c.y-f.y)*(s.x-f.x))l.pop();else break}l.push(s)}return l.pop(),a.length===1&&l.length===1&&a[0].x===l[0].x&&a[0].y===l[0].y?a:a.concat(l)}var FT=w3,KT=S3,QT=E3,XT=C3,O3=R3;const ZT=FT,IT=KT,$T=QT,M3=v.forwardRef((s,o)=>{var c=s,{className:n,sideOffset:a=4}=c,l=G(c,["className","sideOffset"]);return x.jsx(XT,{children:x.jsx(O3,R({ref:o,sideOffset:a,className:ce("z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",n)},l))})});M3.displayName=O3.displayName;const JT="sidebar_state",WT=60*60*24*7,eA="16rem",tA="18rem",_3="3rem",nA="b",N3=v.createContext(null);function Yl(){const n=v.useContext(N3);if(!n)throw new Error("useSidebar must be used within a SidebarProvider.");return n}const D3=v.forwardRef((p,h)=>{var m=p,{defaultOpen:n=!0,open:a,onOpenChange:l,className:o,style:s,children:c}=m,f=G(m,["defaultOpen","open","onOpenChange","className","style","children"]);const g=lT(),[y,w]=v.useState(!1),[T,A]=v.useState(n),E=a!=null?a:T,C=v.useCallback(z=>{const j=typeof z=="function"?z(E):z;l?l(j):A(j),document.cookie=`${JT}=${j}; path=/; max-age=${WT}`},[l,E]),M=v.useCallback(()=>g?w(z=>!z):C(z=>!z),[g,C,w]);v.useEffect(()=>{const z=j=>{j.key===nA&&(j.metaKey||j.ctrlKey)&&(j.preventDefault(),M())};return window.addEventListener("keydown",z),()=>window.removeEventListener("keydown",z)},[M]);const L=E?"expanded":"collapsed",D=v.useMemo(()=>({state:L,open:E,setOpen:C,isMobile:g,openMobile:y,setOpenMobile:w,toggleSidebar:M}),[L,E,C,g,y,w,M]);return x.jsx(N3.Provider,{value:D,children:x.jsx(ZT,{delayDuration:0,children:x.jsx("div",B(R({style:R({"--sidebar-width":eA,"--sidebar-width-icon":_3},s),className:ce("group/sidebar-wrapper flex min-h-svh w-full has-[[data-variant=inset]]:bg-sidebar",o),ref:h},f),{children:c}))})})});D3.displayName="SidebarProvider";const j3=v.forwardRef((h,f)=>{var p=h,{side:n="left",variant:a="sidebar",collapsible:l="offcanvas",className:o,children:s}=p,c=G(p,["side","variant","collapsible","className","children"]);const{isMobile:m,state:g,openMobile:y,setOpenMobile:w}=Yl();return l==="none"?x.jsx("div",B(R({className:ce("bg-sidebar text-sidebar-foreground flex h-full flex-col",o),style:{width:"var(--sidebar-width)"},ref:f},c),{children:s})):m?x.jsx(ET,B(R({open:y,onOpenChange:w},c),{children:x.jsxs(v3,{"data-sidebar":"sidebar","data-mobile":"true",className:"bg-sidebar text-sidebar-foreground p-0 [&>button]:hidden",style:{"--sidebar-width":tA,width:"var(--sidebar-width)"},side:n,children:[x.jsxs(g3,{className:"sr-only",children:[x.jsx(y3,{children:"Sidebar"}),x.jsx(b3,{children:"Displays the mobile sidebar."})]}),x.jsx("div",{className:"flex h-full w-full flex-col",children:s})]})})):x.jsxs("div",{ref:f,className:"text-sidebar-foreground group peer hidden md:block","data-state":g,"data-collapsible":g==="collapsed"?l:"","data-variant":a,"data-side":n,children:[x.jsx("div",{className:ce("sidebar-gap relative bg-transparent transition-[width] duration-200 ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180",a==="floating"||a==="inset"?"group-data-[collapsible=icon]:w-[calc(3rem_+_1rem)]":"group-data-[collapsible=icon]:w-12"),style:{width:"var(--sidebar-width)"}}),x.jsx("div",B(R({className:ce("fixed inset-y-0 z-10 hidden h-svh transition-[left,right,width] duration-200 ease-linear md:flex",n==="left"?"left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]":"right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",a==="floating"||a==="inset"?"p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4)_+2px)]":"sidebar-collapsed-width group-data-[side=left]:border-r group-data-[side=right]:border-l",o),style:{width:"var(--sidebar-width)","--sidebar-width-icon":_3}},c),{children:x.jsx("div",{"data-sidebar":"sidebar",className:"bg-sidebar group-data-[variant=floating]:border-sidebar-border flex h-full w-full flex-col group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:shadow",children:s})}))]})});j3.displayName="Sidebar";const L3=v.forwardRef((s,o)=>{var c=s,{className:n,onClick:a}=c,l=G(c,["className","onClick"]);const{toggleSidebar:f}=Yl();return x.jsxs(Kb,B(R({ref:o,"data-sidebar":"trigger",variant:"ghost",size:"icon",className:ce("h-7 w-7",n),onClick:h=>{a==null||a(h),f()}},l),{children:[x.jsx(mE,{}),x.jsx("span",{className:"sr-only",children:"Toggle Sidebar"})]}))});L3.displayName="SidebarTrigger";const z3=v.forwardRef((o,l)=>{var s=o,{className:n}=s,a=G(s,["className"]);const{toggleSidebar:c}=Yl();return x.jsx("button",R({ref:l,"data-sidebar":"rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:c,title:"Toggle Sidebar",className:ce("absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] hover:after:bg-sidebar-border group-data-[side=left]:-right-4 group-data-[side=right]:left-0 sm:flex","[[data-side=left]_&]:cursor-w-resize [[data-side=right]_&]:cursor-e-resize","[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize","group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full group-data-[collapsible=offcanvas]:hover:bg-sidebar","[[data-side=left][data-collapsible=offcanvas]_&]:-right-2","[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",n)},a))});z3.displayName="SidebarRail";const U3=v.forwardRef((o,l)=>{var s=o,{className:n}=s,a=G(s,["className"]);return x.jsx("main",R({ref:l,className:ce("relative flex w-full flex-1 flex-col bg-background md:peer-data-[variant=inset]:m-2 md:peer-data-[state=collapsed]:peer-data-[variant=inset]:ml-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow","md:peer-data-[variant=inset]:m-2 md:peer-data-[state=collapsed]:peer-data-[variant=inset]:ml-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow",n)},a))});U3.displayName="SidebarInset";const aA=v.forwardRef((o,l)=>{var s=o,{className:n}=s,a=G(s,["className"]);return x.jsx(Qb,R({ref:l,"data-sidebar":"input",className:ce("h-8 w-full bg-background shadow-none focus-visible:ring-2 focus-visible:ring-sidebar-ring",n)},a))});aA.displayName="SidebarInput";const B3=v.forwardRef((o,l)=>{var s=o,{className:n}=s,a=G(s,["className"]);return x.jsx("div",R({ref:l,"data-sidebar":"header",className:ce("flex flex-col gap-2 p-2",n)},a))});B3.displayName="SidebarHeader";const H3=v.forwardRef((o,l)=>{var s=o,{className:n}=s,a=G(s,["className"]);return x.jsx("div",R({ref:l,"data-sidebar":"footer",className:ce("flex flex-col gap-2 p-2",n)},a))});H3.displayName="SidebarFooter";const rA=v.forwardRef((o,l)=>{var s=o,{className:n}=s,a=G(s,["className"]);return x.jsx(e1,R({ref:l,"data-sidebar":"separator",className:ce("mx-2 w-auto bg-sidebar-border",n)},a))});rA.displayName="SidebarSeparator";const k3=v.forwardRef((o,l)=>{var s=o,{className:n}=s,a=G(s,["className"]);return x.jsx("div",R({ref:l,"data-sidebar":"content",className:ce("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",n)},a))});k3.displayName="SidebarContent";const P3=v.forwardRef((o,l)=>{var s=o,{className:n}=s,a=G(s,["className"]);return x.jsx("div",R({ref:l,"data-sidebar":"group",className:ce("relative flex w-full min-w-0 flex-col p-2",n)},a))});P3.displayName="SidebarGroup";const q3=v.forwardRef((s,o)=>{var c=s,{className:n,asChild:a=!1}=c,l=G(c,["className","asChild"]);const f=a?Or:"div";return x.jsx(f,R({ref:o,"data-sidebar":"group-label",className:ce("flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-sidebar-foreground/70 outline-none ring-sidebar-ring transition-[margin,opacity] duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",n)},l))});q3.displayName="SidebarGroupLabel";const lA=v.forwardRef((s,o)=>{var c=s,{className:n,asChild:a=!1}=c,l=G(c,["className","asChild"]);const f=a?Or:"button";return x.jsx(f,R({ref:o,"data-sidebar":"group-action",className:ce("absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","group-data-[collapsible=icon]:hidden",n)},l))});lA.displayName="SidebarGroupAction";const oA=v.forwardRef((o,l)=>{var s=o,{className:n}=s,a=G(s,["className"]);return x.jsx("div",R({ref:l,"data-sidebar":"group-content",className:ce("w-full text-sm",n)},a))});oA.displayName="SidebarGroupContent";const o1=v.forwardRef((o,l)=>{var s=o,{className:n}=s,a=G(s,["className"]);return x.jsx("ul",R({ref:l,"data-sidebar":"menu",className:ce("flex w-full min-w-0 flex-col gap-1",n)},a))});o1.displayName="SidebarMenu";const Zo=v.forwardRef((o,l)=>{var s=o,{className:n}=s,a=G(s,["className"]);return x.jsx("li",R({ref:l,"data-sidebar":"menu-item",className:ce("group/menu-item relative",n)},a))});Zo.displayName="SidebarMenuItem";const iA=Ku("peer/menu-button ring-sidebar-ring data-[active=true]:from-primary/30 data-[active=true]:to-primary/5 flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-none transition-[width,height,padding] hover:bg-neutral-100 focus-visible:ring-2 active:bg-neutral-100 disabled:pointer-events-none disabled:opacity-50 group-has-[[data-sidebar=menu-action]]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-gradient-to-r data-[active=true]:font-medium data-[active=true]:hover:bg-transparent data-[state=open]:hover:bg-neutral-100 group-data-[collapsible=icon]:!size-8 group-data-[collapsible=icon]:!p-2 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",{variants:{variant:{default:"hover:bg-neutral-100 data-[active=true]:hover:bg-transparent",outline:"bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-neutral-100 hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))] data-[active=true]:hover:bg-transparent"},size:{default:"h-8 text-sm",sm:"h-7 text-xs",lg:"h-12 text-sm group-data-[collapsible=icon]:!p-0"}},defaultVariants:{variant:"default",size:"default"}}),Io=v.forwardRef((p,h)=>{var m=p,{asChild:n=!1,isActive:a=!1,variant:l="default",size:o="default",tooltip:s,className:c}=m,f=G(m,["asChild","isActive","variant","size","tooltip","className"]);const g=n?Or:"button",{isMobile:y,state:w}=Yl(),T=x.jsx(g,R({ref:h,"data-sidebar":"menu-button","data-size":o,"data-active":a,className:ce(iA({variant:l,size:o}),c)},f));return s?(typeof s=="string"&&(s={children:s}),x.jsxs(IT,{children:[x.jsx($T,{asChild:!0,children:T}),x.jsx(M3,R({side:"right",align:"center",hidden:w!=="collapsed"||y},s))]})):T});Io.displayName="SidebarMenuButton";const sA=v.forwardRef((c,s)=>{var f=c,{className:n,asChild:a=!1,showOnHover:l=!1}=f,o=G(f,["className","asChild","showOnHover"]);const h=a?Or:"button";return x.jsx(h,R({ref:s,"data-sidebar":"menu-action",className:ce("text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground peer-hover/menu-button:text-sidebar-accent-foreground absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-none transition-transform focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",l&&"peer-data-[active=true]/menu-button:text-sidebar-accent-foreground group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 md:opacity-0",n)},o))});sA.displayName="SidebarMenuAction";const uA=v.forwardRef((o,l)=>{var s=o,{className:n}=s,a=G(s,["className"]);return x.jsx("div",R({ref:l,"data-sidebar":"menu-badge",className:ce("text-sidebar-foreground pointer-events-none absolute right-1 flex h-5 min-w-5 select-none items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums","peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",n)},a))});uA.displayName="SidebarMenuBadge";const cA=v.forwardRef((s,o)=>{var c=s,{className:n,showIcon:a=!1}=c,l=G(c,["className","showIcon"]);const f=v.useMemo(()=>`${Math.floor(Math.random()*40)+50}%`,[]);return x.jsxs("div",B(R({ref:o,"data-sidebar":"menu-skeleton",className:ce("flex h-8 items-center gap-2 rounded-md px-2",n)},l),{children:[a&&x.jsx(Cg,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),x.jsx(Cg,{className:"h-4 max-w-[--skeleton-width] flex-1","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":f}})]}))});cA.displayName="SidebarMenuSkeleton";const V3=v.forwardRef((o,l)=>{var s=o,{className:n}=s,a=G(s,["className"]);return x.jsx("ul",R({ref:l,"data-sidebar":"menu-sub",className:ce("border-sidebar-border mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",n)},a))});V3.displayName="SidebarMenuSub";const G3=v.forwardRef((l,a)=>{var n=G(l,[]);return x.jsx("li",R({ref:a},n))});G3.displayName="SidebarMenuSubItem";const Y3=v.forwardRef((f,c)=>{var h=f,{asChild:n=!1,size:a="md",isActive:l,className:o}=h,s=G(h,["asChild","size","isActive","className"]);const p=n?Or:"a";return x.jsx(p,R({ref:c,"data-sidebar":"menu-sub-button","data-size":a,"data-active":l,className:ce("text-sidebar-foreground ring-sidebar-ring flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 outline-none hover:bg-neutral-100 focus-visible:ring-2 active:bg-neutral-100 disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:hover:bg-transparent [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0","data-[active=true]:from-primary/30 data-[active=true]:to-primary/5 data-[active=true]:bg-gradient-to-r",a==="sm"&&"text-xs",a==="md"&&"text-sm","group-data-[collapsible=icon]:hidden",o)},s))});Y3.displayName="SidebarMenuSubButton";function fA({items:n}){const a=Rr(),{state:l}=Yl();return x.jsxs(P3,{children:[x.jsx(q3,{className:"text-muted-foreground/60 uppercase",children:"Menú de acciones"}),x.jsx(o1,{children:n.map(o=>{var p;const s=(p=o.items)==null?void 0:p.some(m=>a.pathname.startsWith(m.url)),c=o.items&&o.items.length>0,h=a.pathname===o.url||a.pathname.startsWith(o.url)&&!s;return c?l==="collapsed"&&o.items?x.jsx(Zo,{children:x.jsxs(Gb,{children:[x.jsx(Yb,{asChild:!0,children:x.jsxs(Io,{tooltip:o.title,className:"group/menu-button h-9 gap-3 rounded-md font-medium [&>svg]:size-auto",isActive:h,children:[o.icon&&x.jsx(o.icon,{className:"text-muted-foreground/60 group-data-[active=true]/menu-button:text-primary",size:22}),x.jsx("span",{children:o.title}),x.jsx(vu,{className:"ml-auto transition-transform duration-200"})]})}),x.jsx(Wh,{side:"right",children:o.items.map(m=>{const g=a.pathname.startsWith(m.url);return x.jsx(Eu,{asChild:!0,children:x.jsxs(Ws,{to:m.url,className:ce("flex items-center gap-2",g&&"from-primary/30 to-primary/5 bg-gradient-to-r"),children:[m.icon&&x.jsx(m.icon,{className:"text-muted-foreground/60 h-4 w-4",size:16}),x.jsx("span",{children:m.title})]})},m.title)})})]})},o.title):o.items?x.jsx(p9,{asChild:!0,defaultOpen:o.isActive||s,className:ce("group/collapsible"),children:x.jsxs(Zo,{children:[x.jsx(v9,{asChild:!0,children:x.jsxs(Io,{tooltip:o.title,className:"group/menu-button h-9 gap-3 rounded-md font-medium [&>svg]:size-auto",isActive:h,children:[o.icon&&x.jsx(o.icon,{className:"text-muted-foreground/60 group-data-[active=true]/menu-button:text-primary",size:22}),x.jsx("span",{children:o.title}),x.jsx(vu,{className:"ml-auto transition-transform duration-200 group-data-[state=open]/collapsible:rotate-90"})]})}),x.jsx(g9,{children:x.jsx(V3,{className:"mb-2",children:o.items.map(m=>{const g=a.pathname.startsWith(m.url);return x.jsx(G3,{children:x.jsx(Y3,{asChild:!0,className:"group/submenu-button ml-2 h-8 gap-3 rounded-md font-medium",isActive:g,children:x.jsxs(Ws,{to:m.url,children:[m.icon&&x.jsx(m.icon,{className:"text-muted-foreground/60 group-data-[active=true]/submenu-button:text-primary",size:18}),x.jsx("span",{children:m.title})]})})},m.title)})})})]})},o.title):null:x.jsx(Zo,{children:x.jsx(Io,{asChild:!0,tooltip:o.title,className:"group/menu-button h-9 gap-3 rounded-md font-medium [&>svg]:size-auto",isActive:h,children:x.jsxs(Ws,{to:o.url,children:[o.icon&&x.jsx(o.icon,{className:"text-muted-foreground/60 group-data-[active=true]/menu-button:text-primary",size:22}),x.jsx("span",{children:o.title})]})})},o.title)})})]})}var kd={exports:{}},Pd={};/**
 * @license React
 * use-sync-external-store-shim.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Rg;function dA(){if(Rg)return Pd;Rg=1;var n=Ru();function a(y,w){return y===w&&(y!==0||1/y===1/w)||y!==y&&w!==w}var l=typeof Object.is=="function"?Object.is:a,o=n.useState,s=n.useEffect,c=n.useLayoutEffect,f=n.useDebugValue;function h(y,w){var T=w(),A=o({inst:{value:T,getSnapshot:w}}),E=A[0].inst,C=A[1];return c(function(){E.value=T,E.getSnapshot=w,p(E)&&C({inst:E})},[y,T,w]),s(function(){return p(E)&&C({inst:E}),y(function(){p(E)&&C({inst:E})})},[y]),f(T),T}function p(y){var w=y.getSnapshot;y=y.value;try{var T=w();return!l(y,T)}catch(A){return!0}}function m(y,w){return w()}var g=typeof window=="undefined"||typeof window.document=="undefined"||typeof window.document.createElement=="undefined"?m:h;return Pd.useSyncExternalStore=n.useSyncExternalStore!==void 0?n.useSyncExternalStore:g,Pd}var Tg;function hA(){return Tg||(Tg=1,kd.exports=dA()),kd.exports}var mA=hA();function pA(){return mA.useSyncExternalStore(vA,()=>!0,()=>!1)}function vA(){return()=>{}}var i1="Avatar",[gA,GO]=Ln(i1),[yA,F3]=gA(i1),K3=v.forwardRef((n,a)=>{const f=n,{__scopeAvatar:l}=f,o=G(f,["__scopeAvatar"]),[s,c]=v.useState("idle");return x.jsx(yA,{scope:l,imageLoadingStatus:s,onImageLoadingStatusChange:c,children:x.jsx(Le.span,B(R({},o),{ref:a}))})});K3.displayName=i1;var Q3="AvatarImage",X3=v.forwardRef((n,a)=>{const m=n,{__scopeAvatar:l,src:o,onLoadingStatusChange:s=()=>{}}=m,c=G(m,["__scopeAvatar","src","onLoadingStatusChange"]),f=F3(Q3,l),h=bA(o,c),p=Ht(g=>{s(g),f.onImageLoadingStatusChange(g)});return $t(()=>{h!=="idle"&&p(h)},[h,p]),h==="loaded"?x.jsx(Le.img,B(R({},c),{ref:a,src:o})):null});X3.displayName=Q3;var Z3="AvatarFallback",I3=v.forwardRef((n,a)=>{const p=n,{__scopeAvatar:l,delayMs:o}=p,s=G(p,["__scopeAvatar","delayMs"]),c=F3(Z3,l),[f,h]=v.useState(o===void 0);return v.useEffect(()=>{if(o!==void 0){const m=window.setTimeout(()=>h(!0),o);return()=>window.clearTimeout(m)}},[o]),f&&c.imageLoadingStatus!=="loaded"?x.jsx(Le.span,B(R({},s),{ref:a})):null});I3.displayName=Z3;function Ag(n,a){return n?a?(n.src!==a&&(n.src=a),n.complete&&n.naturalWidth>0?"loaded":"loading"):"error":"idle"}function bA(n,{referrerPolicy:a,crossOrigin:l}){const o=pA(),s=v.useRef(null),c=o?(s.current||(s.current=new window.Image),s.current):null,[f,h]=v.useState(()=>Ag(c,n));return $t(()=>{h(Ag(c,n))},[c,n]),$t(()=>{const p=y=>()=>{h(y)};if(!c)return;const m=p("loaded"),g=p("error");return c.addEventListener("load",m),c.addEventListener("error",g),a&&(c.referrerPolicy=a),typeof l=="string"&&(c.crossOrigin=l),()=>{c.removeEventListener("load",m),c.removeEventListener("error",g)}},[c,l,a]),f}var $3=K3,J3=X3,W3=I3;const mh=v.forwardRef((o,l)=>{var s=o,{className:n}=s,a=G(s,["className"]);return x.jsx($3,R({ref:l,className:ce("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",n)},a))});mh.displayName=$3.displayName;const ph=v.forwardRef((o,l)=>{var s=o,{className:n}=s,a=G(s,["className"]);return x.jsx(J3,R({ref:l,className:ce("aspect-square h-full w-full",n)},a))});ph.displayName=J3.displayName;const vh=v.forwardRef((o,l)=>{var s=o,{className:n}=s,a=G(s,["className"]);return x.jsx(W3,R({ref:l,className:ce("flex h-full w-full items-center justify-center rounded-full bg-muted",n)},a))});vh.displayName=W3.displayName;function xA({user:n,logout:a}){const{isMobile:l}=Yl();function o(){a()}function s(c){return c?c.split(" ").slice(0,2).map(p=>p[0]).join("").toUpperCase():"CN"}return x.jsx(o1,{children:x.jsx(Zo,{children:x.jsxs(Gb,{children:[x.jsx(Yb,{asChild:!0,children:x.jsxs(Io,{size:"lg",className:"bg-primary/20 hover:bg-sidebar-active-parent hover:text-sidebar-foreground data-[state=open]:bg-sidebar-active-parent data-[state=open]:text-sidebar-foreground",children:[x.jsxs(mh,{className:"h-8 w-8 rounded-lg",children:[x.jsx(ph,{src:n.avatar,alt:n.full_name}),x.jsx(vh,{className:"bg-primary text-sidebar-accent-foreground rounded-lg",children:s(n.full_name)})]}),x.jsxs("div",{className:"grid flex-1 text-left text-sm leading-tight",children:[x.jsx("span",{className:"truncate font-semibold",children:n.full_name}),x.jsx("span",{className:"truncate text-xs",children:n.email})]}),x.jsx(aE,{className:"ml-auto size-4"})]})}),x.jsxs(Wh,{className:"w-[--radix-dropdown-menu-trigger-width] min-w-56 rounded-lg",side:l?"bottom":"right",align:"end",sideOffset:4,children:[x.jsx(Fb,{className:"p-0 font-normal",children:x.jsxs("div",{className:"flex items-center gap-2 px-1 py-1.5 text-left text-sm",children:[x.jsxs(mh,{className:"h-8 w-8 rounded-lg",children:[x.jsx(ph,{src:n.avatar,alt:n.full_name}),x.jsx(vh,{className:"rounded-lg",children:s(n.full_name)})]}),x.jsxs("div",{className:"grid flex-1 text-left text-sm leading-tight",children:[x.jsx("span",{className:"truncate font-semibold",children:n.full_name}),x.jsx("span",{className:"truncate text-xs",children:n.email})]})]})}),x.jsx(iu,{}),x.jsx(iu,{}),x.jsx(XR,{children:x.jsxs(Eu,{children:[x.jsx(O8,{}),"Account"]})}),x.jsx(iu,{}),x.jsxs(Eu,{className:"cursor-pointer",onClick:o,children:[x.jsx(_8,{}),"Log out"]})]})]})})})}const wA={navMain:[{title:"Dashboard",url:"/admin/dashboard",icon:eE,isActive:!0,items:[]},{title:"Vinculación",url:"#",icon:W8,isActive:!1,items:[{title:"Estudios",url:"/admin/entailment/studios",icon:q8},{title:"Modelos",url:"#",icon:k8},{title:"Cuentas",url:"/accounts/list",icon:X8},{title:"Traslados",url:"#",icon:Q8}]},{title:"Pagos",url:"#",icon:P8,items:[{title:"Descarga de archivos",url:"#",icon:I8},{title:"Subida de archivos",url:"#",icon:J8},{title:"Comisiones",url:"#",icon:$8},{title:"Pagos",url:"#",icon:Z8},{title:"Nicks no vinculados",url:"#",icon:H8},{title:"Nicks acumulados",url:"#",icon:K8}]},{title:"Informes",url:"#",icon:Ko,items:[{title:"Informe 1",url:"#",icon:Ko},{title:"Informe 2",url:"#",icon:Ko},{title:"Informe 3",url:"#",icon:Ko},{title:"Informe 4",url:"#",icon:Ko}]},{title:"Administración",url:"#",icon:V8,items:[{title:"Usuarios",url:"/admin/administration/users",icon:Y8},{title:"Masters",url:"/admin/administration/masters",icon:G8}]},{title:"Configuraciones",url:"#",icon:tE,items:[{title:"Roles",url:"/admin/settings/roles",icon:F8}]}]};function SA(a){var n=G(a,[]);const{user:l,logout:o}=z2();return x.jsxs(j3,B(R({collapsible:"icon",className:"group-data-[side=left]:border-r-0 group-data-[side=right]:border-l-0 pl-1"},n),{children:[x.jsx(B3,{className:"mb-4",children:x.jsx("img",{className:"w-full",src:"/assets/logos/CamSoda.png",alt:"CamSoda Logo"})}),x.jsx(k3,{children:x.jsx(fA,{items:wA.navMain})}),x.jsx(H3,{children:l&&x.jsx(xA,{user:l,logout:o})}),x.jsx(z3,{})]}))}const e5=v.forwardRef((l,a)=>{var n=G(l,[]);return x.jsx("nav",R({ref:a,"aria-label":"breadcrumb"},n))});e5.displayName="Breadcrumb";const t5=v.forwardRef((o,l)=>{var s=o,{className:n}=s,a=G(s,["className"]);return x.jsx("ol",R({ref:l,className:ce("flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5",n)},a))});t5.displayName="BreadcrumbList";const n5=v.forwardRef((o,l)=>{var s=o,{className:n}=s,a=G(s,["className"]);return x.jsx("li",R({ref:l,className:ce("inline-flex items-center gap-1.5",n)},a))});n5.displayName="BreadcrumbItem";const a5=v.forwardRef((s,o)=>{var c=s,{asChild:n,className:a}=c,l=G(c,["asChild","className"]);const f=n?Or:"a";return x.jsx(f,R({ref:o,className:ce("transition-colors hover:text-foreground",a)},l))});a5.displayName="BreadcrumbLink";const EA=v.forwardRef((o,l)=>{var s=o,{className:n}=s,a=G(s,["className"]);return x.jsx("span",R({ref:l,role:"link","aria-disabled":"true","aria-current":"page",className:ce("font-normal text-foreground",n)},a))});EA.displayName="BreadcrumbPage";const r5=o=>{var s=o,{children:n,className:a}=s,l=G(s,["children","className"]);return x.jsx("li",B(R({role:"presentation","aria-hidden":"true",className:ce("[&>svg]:w-3.5 [&>svg]:h-3.5",a)},l),{children:n!=null?n:x.jsx(vu,{})}))};r5.displayName="BreadcrumbSeparator";const CA=()=>{const a=Rr().pathname.split("/").filter(Boolean),l=2,o=a.slice(l);return x.jsx("nav",{className:"text-sm text-gray-600 flex items-center space-x-1",children:o.map((s,c)=>{const f="/"+a.slice(0,l+c+1).join("/"),h=c===o.length-1,p=decodeURIComponent(s).replace(/-/g," ");return x.jsxs("div",{className:"flex items-center space-x-1",children:[c!==0&&x.jsx("span",{children:"/"}),h?x.jsx("span",{className:"font-semibold",children:p}):x.jsx(Ws,{to:f,className:"hover:underline",children:p})]},f)})})},RA=()=>x.jsxs(D3,{children:[x.jsx(SA,{}),x.jsxs(U3,{className:"m-2 rounded-2xl",children:[x.jsx("header",{className:"flex h-16 shrink-0 items-center gap-2",children:x.jsxs("div",{className:"flex items-center gap-2 px-4",children:[x.jsx(L3,{className:"-ml-1"}),x.jsx(e1,{orientation:"vertical",className:"mr-2 h-4"}),x.jsx(e5,{children:x.jsxs(t5,{children:[x.jsx(n5,{className:"hidden md:block",children:x.jsx(a5,{href:"/admin/dashboard",children:"Camsoda Application"})}),x.jsx(r5,{className:"hidden md:block"})]})}),x.jsx(CA,{})]})}),x.jsx("div",{className:"flex flex-1 flex-col gap-4 p-4 pt-0",children:x.jsx(Jg,{})})]})]}),TA=()=>x.jsx("div",{className:"h-full w-full",children:x.jsxs("main",{className:"h-full w-full",children:[x.jsx(Jg,{})," "]})}),AA=()=>{const n=(a,l)=>a.map(o=>x.jsx(Js,{path:o.path,element:x.jsx(v.Suspense,{fallback:x.jsx(w8,{}),children:l?x.jsx(y8,{component:o.component,roles:o.roles,permissions:o.permissions}):x.jsx(o.component,{})}),children:o.children&&n(o.children,l)},o.path));return x.jsxs(ew,{children:[x.jsx(Js,{path:"/*",element:x.jsx(TA,{}),children:n(Fv.filter(a=>a.layout==="PublicLayout"),!1)}),x.jsx(Js,{path:"/admin/*",element:x.jsx(RA,{}),children:n(Fv.filter(a=>a.layout==="AdminLayout"),!0)})]})};var OA=function(){return null};const MA=1,_A=1e6;let qd=0;function NA(){return qd=(qd+1)%Number.MAX_SAFE_INTEGER,qd.toString()}const Vd=new Map,Og=n=>{if(Vd.has(n))return;const a=setTimeout(()=>{Vd.delete(n),$o({type:"REMOVE_TOAST",toastId:n})},_A);Vd.set(n,a)},DA=(n,a)=>{switch(a.type){case"ADD_TOAST":return B(R({},n),{toasts:[a.toast,...n.toasts].slice(0,MA)});case"UPDATE_TOAST":return B(R({},n),{toasts:n.toasts.map(l=>l.id===a.toast.id?R(R({},l),a.toast):l)});case"DISMISS_TOAST":{const{toastId:l}=a;return l?Og(l):n.toasts.forEach(o=>{Og(o.id)}),B(R({},n),{toasts:n.toasts.map(o=>o.id===l||l===void 0?B(R({},o),{open:!1}):o)})}case"REMOVE_TOAST":return a.toastId===void 0?B(R({},n),{toasts:[]}):B(R({},n),{toasts:n.toasts.filter(l=>l.id!==a.toastId)})}},su=[];let uu={toasts:[]};function $o(n){uu=DA(uu,n),su.forEach(a=>{a(uu)})}function jA(a){var n=G(a,[]);const l=NA(),o=c=>$o({type:"UPDATE_TOAST",toast:B(R({},c),{id:l})}),s=()=>$o({type:"DISMISS_TOAST",toastId:l});return $o({type:"ADD_TOAST",toast:B(R({},n),{id:l,open:!0,onOpenChange:c=>{c||s()}})}),{id:l,dismiss:s,update:o}}function LA(){const[n,a]=v.useState(uu);return v.useEffect(()=>(su.push(a),()=>{const l=su.indexOf(a);l>-1&&su.splice(l,1)}),[n]),B(R({},n),{toast:jA,dismiss:l=>$o({type:"DISMISS_TOAST",toastId:l})})}var s1="ToastProvider",[u1,zA,UA]=Lh("Toast"),[l5,YO]=Ln("Toast",[UA]),[BA,$u]=l5(s1),o5=n=>{const{__scopeToast:a,label:l="Notification",duration:o=5e3,swipeDirection:s="right",swipeThreshold:c=50,children:f}=n,[h,p]=v.useState(null),[m,g]=v.useState(0),y=v.useRef(!1),w=v.useRef(!1);return l.trim()||console.error(`Invalid prop \`label\` supplied to \`${s1}\`. Expected non-empty \`string\`.`),x.jsx(u1.Provider,{scope:a,children:x.jsx(BA,{scope:a,label:l,duration:o,swipeDirection:s,swipeThreshold:c,toastCount:m,viewport:h,onViewportChange:p,onToastAdd:v.useCallback(()=>g(T=>T+1),[]),onToastRemove:v.useCallback(()=>g(T=>T-1),[]),isFocusedToastEscapeKeyDownRef:y,isClosePausedRef:w,children:f})})};o5.displayName=s1;var i5="ToastViewport",HA=["F8"],gh="toast.viewportPause",yh="toast.viewportResume",s5=v.forwardRef((n,a)=>{const C=n,{__scopeToast:l,hotkey:o=HA,label:s="Notifications ({hotkey})"}=C,c=G(C,["__scopeToast","hotkey","label"]),f=$u(i5,l),h=zA(l),p=v.useRef(null),m=v.useRef(null),g=v.useRef(null),y=v.useRef(null),w=Je(a,y,f.onViewportChange),T=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),A=f.toastCount>0;v.useEffect(()=>{const M=L=>{var z;o.length!==0&&o.every(j=>L[j]||L.code===j)&&((z=y.current)==null||z.focus())};return document.addEventListener("keydown",M),()=>document.removeEventListener("keydown",M)},[o]),v.useEffect(()=>{const M=p.current,L=y.current;if(A&&M&&L){const D=()=>{if(!f.isClosePausedRef.current){const te=new CustomEvent(gh);L.dispatchEvent(te),f.isClosePausedRef.current=!0}},z=()=>{if(f.isClosePausedRef.current){const te=new CustomEvent(yh);L.dispatchEvent(te),f.isClosePausedRef.current=!1}},j=te=>{!M.contains(te.relatedTarget)&&z()},W=()=>{M.contains(document.activeElement)||z()};return M.addEventListener("focusin",D),M.addEventListener("focusout",j),M.addEventListener("pointermove",D),M.addEventListener("pointerleave",W),window.addEventListener("blur",D),window.addEventListener("focus",z),()=>{M.removeEventListener("focusin",D),M.removeEventListener("focusout",j),M.removeEventListener("pointermove",D),M.removeEventListener("pointerleave",W),window.removeEventListener("blur",D),window.removeEventListener("focus",z)}}},[A,f.isClosePausedRef]);const E=v.useCallback(({tabbingDirection:M})=>{const D=h().map(z=>{const j=z.ref.current,W=[j,...$A(j)];return M==="forwards"?W:W.reverse()});return(M==="forwards"?D.reverse():D).flat()},[h]);return v.useEffect(()=>{const M=y.current;if(M){const L=D=>{var W,te,J;const z=D.altKey||D.ctrlKey||D.metaKey;if(D.key==="Tab"&&!z){const ae=document.activeElement,oe=D.shiftKey;if(D.target===M&&oe){(W=m.current)==null||W.focus();return}const Se=E({tabbingDirection:oe?"backwards":"forwards"}),Me=Se.findIndex(re=>re===ae);Gd(Se.slice(Me+1))?D.preventDefault():oe?(te=m.current)==null||te.focus():(J=g.current)==null||J.focus()}};return M.addEventListener("keydown",L),()=>M.removeEventListener("keydown",L)}},[h,E]),x.jsxs(A9,{ref:p,role:"region","aria-label":s.replace("{hotkey}",T),tabIndex:-1,style:{pointerEvents:A?void 0:"none"},children:[A&&x.jsx(bh,{ref:m,onFocusFromOutsideViewport:()=>{const M=E({tabbingDirection:"forwards"});Gd(M)}}),x.jsx(u1.Slot,{scope:l,children:x.jsx(Le.ol,B(R({tabIndex:-1},c),{ref:w}))}),A&&x.jsx(bh,{ref:g,onFocusFromOutsideViewport:()=>{const M=E({tabbingDirection:"backwards"});Gd(M)}})]})});s5.displayName=i5;var u5="ToastFocusProxy",bh=v.forwardRef((n,a)=>{const f=n,{__scopeToast:l,onFocusFromOutsideViewport:o}=f,s=G(f,["__scopeToast","onFocusFromOutsideViewport"]),c=$u(u5,l);return x.jsx(Xu,B(R({"aria-hidden":!0,tabIndex:0},s),{ref:a,style:{position:"fixed"},onFocus:h=>{var g;const p=h.relatedTarget;!((g=c.viewport)!=null&&g.contains(p))&&o()}}))});bh.displayName=u5;var Ei="Toast",kA="toast.swipeStart",PA="toast.swipeMove",qA="toast.swipeCancel",VA="toast.swipeEnd",c5=v.forwardRef((n,a)=>{const m=n,{forceMount:l,open:o,defaultOpen:s,onOpenChange:c}=m,f=G(m,["forceMount","open","defaultOpen","onOpenChange"]),[h,p]=ql({prop:o,defaultProp:s!=null?s:!0,onChange:c,caller:Ei});return x.jsx(cn,{present:l||h,children:x.jsx(FA,B(R({open:h},f),{ref:a,onClose:()=>p(!1),onPause:Ht(n.onPause),onResume:Ht(n.onResume),onSwipeStart:de(n.onSwipeStart,g=>{g.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:de(n.onSwipeMove,g=>{const{x:y,y:w}=g.detail.delta;g.currentTarget.setAttribute("data-swipe","move"),g.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${y}px`),g.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${w}px`)}),onSwipeCancel:de(n.onSwipeCancel,g=>{g.currentTarget.setAttribute("data-swipe","cancel"),g.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),g.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),g.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),g.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:de(n.onSwipeEnd,g=>{const{x:y,y:w}=g.detail.delta;g.currentTarget.setAttribute("data-swipe","end"),g.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),g.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),g.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${y}px`),g.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${w}px`),p(!1)})}))})});c5.displayName=Ei;var[GA,YA]=l5(Ei,{onClose(){}}),FA=v.forwardRef((n,a)=>{const Me=n,{__scopeToast:l,type:o="foreground",duration:s,open:c,onClose:f,onEscapeKeyDown:h,onPause:p,onResume:m,onSwipeStart:g,onSwipeMove:y,onSwipeCancel:w,onSwipeEnd:T}=Me,A=G(Me,["__scopeToast","type","duration","open","onClose","onEscapeKeyDown","onPause","onResume","onSwipeStart","onSwipeMove","onSwipeCancel","onSwipeEnd"]),E=$u(Ei,l),[C,M]=v.useState(null),L=Je(a,re=>M(re)),D=v.useRef(null),z=v.useRef(null),j=s||E.duration,W=v.useRef(0),te=v.useRef(j),J=v.useRef(0),{onToastAdd:ae,onToastRemove:oe}=E,pe=Ht(()=>{var H;(C==null?void 0:C.contains(document.activeElement))&&((H=E.viewport)==null||H.focus()),f()}),he=v.useCallback(re=>{!re||re===1/0||(window.clearTimeout(J.current),W.current=new Date().getTime(),J.current=window.setTimeout(pe,re))},[pe]);v.useEffect(()=>{const re=E.viewport;if(re){const H=()=>{he(te.current),m==null||m()},Z=()=>{const Y=new Date().getTime()-W.current;te.current=te.current-Y,window.clearTimeout(J.current),p==null||p()};return re.addEventListener(gh,Z),re.addEventListener(yh,H),()=>{re.removeEventListener(gh,Z),re.removeEventListener(yh,H)}}},[E.viewport,j,p,m,he]),v.useEffect(()=>{c&&!E.isClosePausedRef.current&&he(j)},[c,j,E.isClosePausedRef,he]),v.useEffect(()=>(ae(),()=>oe()),[ae,oe]);const Se=v.useMemo(()=>C?g5(C):null,[C]);return E.viewport?x.jsxs(x.Fragment,{children:[Se&&x.jsx(KA,{__scopeToast:l,role:"status","aria-live":o==="foreground"?"assertive":"polite","aria-atomic":!0,children:Se}),x.jsx(GA,{scope:l,onClose:pe,children:Tu.createPortal(x.jsx(u1.ItemSlot,{scope:l,children:x.jsx(T9,{asChild:!0,onEscapeKeyDown:de(h,()=>{E.isFocusedToastEscapeKeyDownRef.current||pe(),E.isFocusedToastEscapeKeyDownRef.current=!1}),children:x.jsx(Le.li,B(R({role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":c?"open":"closed","data-swipe-direction":E.swipeDirection},A),{ref:L,style:R({userSelect:"none",touchAction:"none"},n.style),onKeyDown:de(n.onKeyDown,re=>{re.key==="Escape"&&(h==null||h(re.nativeEvent),re.nativeEvent.defaultPrevented||(E.isFocusedToastEscapeKeyDownRef.current=!0,pe()))}),onPointerDown:de(n.onPointerDown,re=>{re.button===0&&(D.current={x:re.clientX,y:re.clientY})}),onPointerMove:de(n.onPointerMove,re=>{if(!D.current)return;const H=re.clientX-D.current.x,Z=re.clientY-D.current.y,Y=!!z.current,me=["left","right"].includes(E.swipeDirection),O=["left","up"].includes(E.swipeDirection)?Math.min:Math.max,K=me?O(0,H):0,ne=me?0:O(0,Z),ee=re.pointerType==="touch"?10:2,le={x:K,y:ne},we={originalEvent:re,delta:le};Y?(z.current=le,$s(PA,y,we,{discrete:!1})):Mg(le,E.swipeDirection,ee)?(z.current=le,$s(kA,g,we,{discrete:!1}),re.target.setPointerCapture(re.pointerId)):(Math.abs(H)>ee||Math.abs(Z)>ee)&&(D.current=null)}),onPointerUp:de(n.onPointerUp,re=>{const H=z.current,Z=re.target;if(Z.hasPointerCapture(re.pointerId)&&Z.releasePointerCapture(re.pointerId),z.current=null,D.current=null,H){const Y=re.currentTarget,me={originalEvent:re,delta:H};Mg(H,E.swipeDirection,E.swipeThreshold)?$s(VA,T,me,{discrete:!0}):$s(qA,w,me,{discrete:!0}),Y.addEventListener("click",O=>O.preventDefault(),{once:!0})}})}))})}),E.viewport)})]}):null}),KA=n=>{const m=n,{__scopeToast:a,children:l}=m,o=G(m,["__scopeToast","children"]),s=$u(Ei,a),[c,f]=v.useState(!1),[h,p]=v.useState(!1);return ZA(()=>f(!0)),v.useEffect(()=>{const g=window.setTimeout(()=>p(!0),1e3);return()=>window.clearTimeout(g)},[]),h?null:x.jsx(yi,{asChild:!0,children:x.jsx(Xu,B(R({},o),{children:c&&x.jsxs(x.Fragment,{children:[s.label," ",l]})}))})},QA="ToastTitle",f5=v.forwardRef((n,a)=>{const s=n,{__scopeToast:l}=s,o=G(s,["__scopeToast"]);return x.jsx(Le.div,B(R({},o),{ref:a}))});f5.displayName=QA;var XA="ToastDescription",d5=v.forwardRef((n,a)=>{const s=n,{__scopeToast:l}=s,o=G(s,["__scopeToast"]);return x.jsx(Le.div,B(R({},o),{ref:a}))});d5.displayName=XA;var h5="ToastAction",m5=v.forwardRef((n,a)=>{const s=n,{altText:l}=s,o=G(s,["altText"]);return l.trim()?x.jsx(v5,{altText:l,asChild:!0,children:x.jsx(c1,B(R({},o),{ref:a}))}):(console.error(`Invalid prop \`altText\` supplied to \`${h5}\`. Expected non-empty \`string\`.`),null)});m5.displayName=h5;var p5="ToastClose",c1=v.forwardRef((n,a)=>{const c=n,{__scopeToast:l}=c,o=G(c,["__scopeToast"]),s=YA(p5,l);return x.jsx(v5,{asChild:!0,children:x.jsx(Le.button,B(R({type:"button"},o),{ref:a,onClick:de(n.onClick,s.onClose)}))})});c1.displayName=p5;var v5=v.forwardRef((n,a)=>{const c=n,{__scopeToast:l,altText:o}=c,s=G(c,["__scopeToast","altText"]);return x.jsx(Le.div,B(R({"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":o||void 0},s),{ref:a}))});function g5(n){const a=[];return Array.from(n.childNodes).forEach(o=>{if(o.nodeType===o.TEXT_NODE&&o.textContent&&a.push(o.textContent),IA(o)){const s=o.ariaHidden||o.hidden||o.style.display==="none",c=o.dataset.radixToastAnnounceExclude==="";if(!s)if(c){const f=o.dataset.radixToastAnnounceAlt;f&&a.push(f)}else a.push(...g5(o))}}),a}function $s(n,a,l,{discrete:o}){const s=l.originalEvent.currentTarget,c=new CustomEvent(n,{bubbles:!0,cancelable:!0,detail:l});a&&s.addEventListener(n,a,{once:!0}),o?_h(s,c):s.dispatchEvent(c)}var Mg=(n,a,l=0)=>{const o=Math.abs(n.x),s=Math.abs(n.y),c=o>s;return a==="left"||a==="right"?c&&o>l:!c&&s>l};function ZA(n=()=>{}){const a=Ht(n);$t(()=>{let l=0,o=0;return l=window.requestAnimationFrame(()=>o=window.requestAnimationFrame(a)),()=>{window.cancelAnimationFrame(l),window.cancelAnimationFrame(o)}},[a])}function IA(n){return n.nodeType===n.ELEMENT_NODE}function $A(n){const a=[],l=document.createTreeWalker(n,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const s=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||s?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;l.nextNode();)a.push(l.currentNode);return a}function Gd(n){const a=document.activeElement;return n.some(l=>l===a?!0:(l.focus(),document.activeElement!==a))}var JA=o5,y5=s5,b5=c5,x5=f5,w5=d5,S5=m5,E5=c1;const WA=JA,C5=v.forwardRef((o,l)=>{var s=o,{className:n}=s,a=G(s,["className"]);return x.jsx(y5,R({ref:l,className:ce("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",n)},a))});C5.displayName=y5.displayName;const eO=Ku("group pointer-events-auto relative flex w-full items-center justify-between space-x-2 overflow-hidden rounded-md border p-4 pr-6 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),R5=v.forwardRef((s,o)=>{var c=s,{className:n,variant:a}=c,l=G(c,["className","variant"]);return x.jsx(b5,R({ref:o,className:ce(eO({variant:a}),n)},l))});R5.displayName=b5.displayName;const tO=v.forwardRef((o,l)=>{var s=o,{className:n}=s,a=G(s,["className"]);return x.jsx(S5,R({ref:l,className:ce("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium transition-colors hover:bg-secondary focus:outline-none focus:ring-1 focus:ring-ring disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",n)},a))});tO.displayName=S5.displayName;const T5=v.forwardRef((o,l)=>{var s=o,{className:n}=s,a=G(s,["className"]);return x.jsx(E5,B(R({ref:l,className:ce("absolute right-1 top-1 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-1 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",n),"toast-close":""},a),{children:x.jsx(P2,{className:"h-4 w-4"})}))});T5.displayName=E5.displayName;const A5=v.forwardRef((o,l)=>{var s=o,{className:n}=s,a=G(s,["className"]);return x.jsx(x5,R({ref:l,className:ce("text-sm font-semibold [&+div]:text-xs",n)},a))});A5.displayName=x5.displayName;const O5=v.forwardRef((o,l)=>{var s=o,{className:n}=s,a=G(s,["className"]);return x.jsx(w5,R({ref:l,className:ce("text-sm opacity-90",n)},a))});O5.displayName=w5.displayName;function nO(){const{toasts:n}=LA();return x.jsxs(WA,{children:[n.map(function(f){var h=f,{id:a,title:l,description:o,action:s}=h,c=G(h,["id","title","description","action"]);return x.jsxs(R5,B(R({},c),{children:[x.jsxs("div",{className:"grid gap-1",children:[l&&x.jsx(A5,{children:l}),o&&x.jsx(O5,{children:o})]}),s,x.jsx(T5,{})]}),a)}),x.jsx(C5,{})]})}const aO=new f8;o6.createRoot(document.getElementById("root")).render(x.jsx(Et.StrictMode,{children:x.jsxs(h8,{client:aO,children:[x.jsx(sw,{future:{v7_startTransition:!0,v7_relativeSplatPath:!0},children:x.jsx(g8,{children:x.jsx(AA,{})})}),x.jsx(OA,{initialIsOpen:!1}),x.jsx(nO,{})]})}));export{IT as $,mh as A,Kb as B,vu as C,Gb as D,zy as E,OO as F,Ye as G,W7 as H,Qb as I,de as J,cn as K,Ws as L,lO as M,ti as N,oO as O,Le as P,xT as Q,J7 as R,d3 as S,ST as T,h3 as U,m3 as V,wT as W,f3 as X,Cg as Y,e1 as Z,ZT as _,MO as a,$T as a0,M3 as a1,qu as a2,_y as a3,Lh as a4,Je as a5,$t as a6,TT as a7,Ny as a8,yi as a9,Bv as aA,pn as aB,Uu as aC,YS as aD,FS as aE,T2 as aF,l8 as aG,ZS as aH,yt as aI,m8 as aJ,p8 as aK,Tu as aa,Ht as ab,qy as ac,sy as ad,Fh as ae,ai as af,zh as ag,vi as ah,Dy as ai,jy as aj,aE as ak,lE as al,UO as am,LO as an,Et as ao,Or as ap,Ku as aq,Ou as ar,DO as as,NO as at,jO as au,L7 as av,mi as aw,e8 as ax,KS as ay,QS as az,ph as b,ce as c,vh as d,TO as e,Yb as f,_O as g,Wh as h,Fb as i,x as j,iu as k,Eu as l,j2 as m,v8 as n,q8 as o,AO as p,B2 as q,v as r,zO as s,jA as t,z2 as u,oT as v,ry as w,ql as x,Ln as y,Ga as z};
