tauri-plugin-devtools-app 2.1.3

Connect with the Devtools for Tauri application
1
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const o of s)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(s){const o={};return s.integrity&&(o.integrity=s.integrity),s.referrerPolicy&&(o.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?o.credentials="include":s.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(s){if(s.ep)return;s.ep=!0;const o=n(s);fetch(s.href,o)}})();const y={context:void 0,registry:void 0,effects:void 0,done:!1,getContextId(){return Oe(this.context.count)},getNextContextId(){return Oe(this.context.count++)}};function Oe(e){const t=String(e),n=t.length-1;return y.context.id+(n?String.fromCharCode(96+n):"")+t}function z(e){y.context=e}const $e=!1,rt=(e,t)=>e===t,se=Symbol("solid-proxy"),Ie=typeof Proxy=="function",st=Symbol("solid-track"),oe={equals:rt};let De=Ke;const M=1,ie=2,je={owned:null,cleanups:null,context:null,owner:null},fe={};var b=null;let de=null,ot=null,P=null,N=null,I=null,ae=0;function Y(e,t){const n=P,r=b,s=e.length===0,o=t===void 0?r:t,i=s?je:{owned:null,cleanups:null,context:o?o.context:null,owner:o},l=s?e:()=>e(()=>T(()=>Q(i)));b=i,P=null;try{return D(l,!0)}finally{P=n,b=r}}function k(e,t){t=t?Object.assign({},oe,t):oe;const n={value:e,observers:null,observerSlots:null,comparator:t.equals||void 0},r=s=>(typeof s=="function"&&(s=s(n.value)),Ve(n,s));return[Be.bind(n),r]}function it(e,t,n){const r=ue(e,t,!0,M);q(r)}function U(e,t,n){const r=ue(e,t,!1,M);q(r)}function lt(e,t,n){De=mt;const r=ue(e,t,!1,M);r.user=!0,I?I.push(r):q(r)}function v(e,t,n){n=n?Object.assign({},oe,n):oe;const r=ue(e,t,!0,0);return r.observers=null,r.observerSlots=null,r.comparator=n.equals||void 0,q(r),Be.bind(r)}function ct(e){return e&&typeof e=="object"&&"then"in e}function at(e,t,n){let r,s,o;r=!0,s=e,o={};let i=null,l=fe,c=null,f=!1,u="initialValue"in o,a=typeof r=="function"&&v(r);const h=new Set,[p,d]=(o.storage||k)(o.initialValue),[g,A]=k(void 0),[E,R]=k(void 0,{equals:!1}),[S,x]=k(u?"ready":"unresolved");y.context&&(c=y.getNextContextId(),o.ssrLoadFrom==="initial"?l=o.initialValue:y.load&&y.has(c)&&(l=y.load(c)));function O(m,w,L,C){return i===m&&(i=null,C!==void 0&&(u=!0),(m===l||w===l)&&o.onHydrated&&queueMicrotask(()=>o.onHydrated(C,{value:w})),l=fe,G(w,L)),w}function G(m,w){D(()=>{w===void 0&&d(()=>m),x(w!==void 0?"errored":u?"ready":"unresolved"),A(w);for(const L of h.keys())L.decrement();h.clear()},!1)}function H(){const m=dt,w=p(),L=g();if(L!==void 0&&!i)throw L;return P&&P.user,w}function W(m=!0){if(m!==!1&&f)return;f=!1;const w=a?a():r;if(w==null||w===!1){O(i,T(p));return}let L;const C=l!==fe?l:T(()=>{try{return s(w,{value:p(),refetching:m})}catch($){L=$}});if(L!==void 0){O(i,void 0,ne(L),w);return}else if(!ct(C))return O(i,C,void 0,w),C;return i=C,"v"in C?(C.s===1?O(i,C.v,void 0,w):O(i,void 0,ne(C.v),w),C):(f=!0,queueMicrotask(()=>f=!1),D(()=>{x(u?"refreshing":"pending"),R()},!1),C.then($=>O(C,$,void 0,w),$=>O(C,void 0,ne($),w)))}Object.defineProperties(H,{state:{get:()=>S()},error:{get:()=>g()},loading:{get(){const m=S();return m==="pending"||m==="refreshing"}},latest:{get(){if(!u)return H();const m=g();if(m&&!i)throw m;return p()}}});let ee=b;return a?it(()=>(ee=b,W(!1))):W(!1),[H,{refetch:m=>Ee(ee,()=>W(m)),mutate:d}]}function T(e){if(P===null)return e();const t=P;P=null;try{return e()}finally{P=t}}function Me(e,t,n){const r=Array.isArray(e);let s;return o=>{let i;if(r){i=Array(e.length);for(let c=0;c<e.length;c++)i[c]=e[c]()}else i=e();const l=T(()=>t(i,s,o));return s=i,l}}function Tn(e){lt(()=>T(e))}function Ae(e){return b===null||(b.cleanups===null?b.cleanups=[e]:b.cleanups.push(e)),e}function Fe(){return b}function Ee(e,t){const n=b,r=P;b=e,P=null;try{return D(t,!0)}catch(s){Pe(s)}finally{b=n,P=r}}function ut(e){const t=P,n=b;return Promise.resolve().then(()=>{P=t,b=n;let r;return D(e,!1),P=b=null,r?r.done:void 0})}const[Nn,kn]=k(!1);function _e(e,t){const n=Symbol("context");return{id:n,Provider:pt(n),defaultValue:e}}function ft(e){let t;return b&&b.context&&(t=b.context[e.id])!==void 0?t:e.defaultValue}function Ue(e){const t=v(e),n=v(()=>me(t()));return n.toArray=()=>{const r=n();return Array.isArray(r)?r:r!=null?[r]:[]},n}let dt;function Be(){if(this.sources&&this.state)if(this.state===M)q(this);else{const e=N;N=null,D(()=>ce(this),!1),N=e}if(P){const e=this.observers?this.observers.length:0;P.sources?(P.sources.push(this),P.sourceSlots.push(e)):(P.sources=[this],P.sourceSlots=[e]),this.observers?(this.observers.push(P),this.observerSlots.push(P.sources.length-1)):(this.observers=[P],this.observerSlots=[P.sources.length-1])}return this.value}function Ve(e,t,n){let r=e.value;return(!e.comparator||!e.comparator(r,t))&&(e.value=t,e.observers&&e.observers.length&&D(()=>{for(let s=0;s<e.observers.length;s+=1){const o=e.observers[s],i=de&&de.running;i&&de.disposed.has(o),(i?!o.tState:!o.state)&&(o.pure?N.push(o):I.push(o),o.observers&&qe(o)),i||(o.state=M)}if(N.length>1e6)throw N=[],new Error},!1)),t}function q(e){if(!e.fn)return;Q(e);const t=ae;ht(e,e.value,t)}function ht(e,t,n){let r;const s=b,o=P;P=b=e;try{r=e.fn(t)}catch(i){return e.pure&&(e.state=M,e.owned&&e.owned.forEach(Q),e.owned=null),e.updatedAt=n+1,Pe(i)}finally{P=o,b=s}(!e.updatedAt||e.updatedAt<=n)&&(e.updatedAt!=null&&"observers"in e?Ve(e,r):e.value=r,e.updatedAt=n)}function ue(e,t,n,r=M,s){const o={fn:e,state:r,updatedAt:null,owned:null,sources:null,sourceSlots:null,cleanups:null,value:t,owner:b,context:b?b.context:null,pure:n};return b===null||b!==je&&(b.owned?b.owned.push(o):b.owned=[o]),o}function le(e){if(e.state===0)return;if(e.state===ie)return ce(e);if(e.suspense&&T(e.suspense.inFallback))return e.suspense.effects.push(e);const t=[e];for(;(e=e.owner)&&(!e.updatedAt||e.updatedAt<ae);)e.state&&t.push(e);for(let n=t.length-1;n>=0;n--)if(e=t[n],e.state===M)q(e);else if(e.state===ie){const r=N;N=null,D(()=>ce(e,t[0]),!1),N=r}}function D(e,t){if(N)return e();let n=!1;t||(N=[]),I?n=!0:I=[],ae++;try{const r=e();return gt(n),r}catch(r){n||(I=null),N=null,Pe(r)}}function gt(e){if(N&&(Ke(N),N=null),e)return;const t=I;I=null,t.length&&D(()=>De(t),!1)}function Ke(e){for(let t=0;t<e.length;t++)le(e[t])}function mt(e){let t,n=0;for(t=0;t<e.length;t++){const r=e[t];r.user?e[n++]=r:le(r)}if(y.context){if(y.count){y.effects||(y.effects=[]),y.effects.push(...e.slice(0,n));return}z()}for(y.effects&&(y.done||!y.count)&&(e=[...y.effects,...e],n+=y.effects.length,delete y.effects),t=0;t<n;t++)le(e[t])}function ce(e,t){e.state=0;for(let n=0;n<e.sources.length;n+=1){const r=e.sources[n];if(r.sources){const s=r.state;s===M?r!==t&&(!r.updatedAt||r.updatedAt<ae)&&le(r):s===ie&&ce(r,t)}}}function qe(e){for(let t=0;t<e.observers.length;t+=1){const n=e.observers[t];n.state||(n.state=ie,n.pure?N.push(n):I.push(n),n.observers&&qe(n))}}function Q(e){let t;if(e.sources)for(;e.sources.length;){const n=e.sources.pop(),r=e.sourceSlots.pop(),s=n.observers;if(s&&s.length){const o=s.pop(),i=n.observerSlots.pop();r<s.length&&(o.sourceSlots[i]=r,s[r]=o,n.observerSlots[r]=i)}}if(e.tOwned){for(t=e.tOwned.length-1;t>=0;t--)Q(e.tOwned[t]);delete e.tOwned}if(e.owned){for(t=e.owned.length-1;t>=0;t--)Q(e.owned[t]);e.owned=null}if(e.cleanups){for(t=e.cleanups.length-1;t>=0;t--)e.cleanups[t]();e.cleanups=null}e.state=0}function ne(e){return e instanceof Error?e:new Error(typeof e=="string"?e:"Unknown error",{cause:e})}function Pe(e,t=b){throw ne(e)}function me(e){if(typeof e=="function"&&!e.length)return me(e());if(Array.isArray(e)){const t=[];for(let n=0;n<e.length;n++){const r=me(e[n]);Array.isArray(r)?t.push.apply(t,r):t.push(r)}return t}return e}function pt(e,t){return function(r){let s;return U(()=>s=T(()=>(b.context={...b.context,[e]:r.value},Ue(()=>r.children))),void 0),s}}const yt=Symbol("fallback");function Ce(e){for(let t=0;t<e.length;t++)e[t]()}function wt(e,t,n={}){let r=[],s=[],o=[],i=0,l=t.length>1?[]:null;return Ae(()=>Ce(o)),()=>{let c=e()||[],f=c.length,u,a;return c[st],T(()=>{let p,d,g,A,E,R,S,x,O;if(f===0)i!==0&&(Ce(o),o=[],r=[],s=[],i=0,l&&(l=[])),n.fallback&&(r=[yt],s[0]=Y(G=>(o[0]=G,n.fallback())),i=1);else if(i===0){for(s=new Array(f),a=0;a<f;a++)r[a]=c[a],s[a]=Y(h);i=f}else{for(g=new Array(f),A=new Array(f),l&&(E=new Array(f)),R=0,S=Math.min(i,f);R<S&&r[R]===c[R];R++);for(S=i-1,x=f-1;S>=R&&x>=R&&r[S]===c[x];S--,x--)g[x]=s[S],A[x]=o[S],l&&(E[x]=l[S]);for(p=new Map,d=new Array(x+1),a=x;a>=R;a--)O=c[a],u=p.get(O),d[a]=u===void 0?-1:u,p.set(O,a);for(u=R;u<=S;u++)O=r[u],a=p.get(O),a!==void 0&&a!==-1?(g[a]=s[u],A[a]=o[u],l&&(E[a]=l[u]),a=d[a],p.set(O,a)):o[u]();for(a=R;a<f;a++)a in g?(s[a]=g[a],o[a]=A[a],l&&(l[a]=E[a],l[a](a))):s[a]=Y(h);s=s.slice(0,i=f),r=c.slice(0)}return s});function h(p){if(o[a]=p,l){const[d,g]=k(a);return l[a]=g,t(c[a],d)}return t(c[a])}}}function j(e,t){return T(()=>e(t||{}))}function te(){return!0}const pe={get(e,t,n){return t===se?n:e.get(t)},has(e,t){return t===se?!0:e.has(t)},set:te,deleteProperty:te,getOwnPropertyDescriptor(e,t){return{configurable:!0,enumerable:!0,get(){return e.get(t)},set:te,deleteProperty:te}},ownKeys(e){return e.keys()}};function he(e){return(e=typeof e=="function"?e():e)?e:{}}function bt(){for(let e=0,t=this.length;e<t;++e){const n=this[e]();if(n!==void 0)return n}}function $n(...e){let t=!1;for(let i=0;i<e.length;i++){const l=e[i];t=t||!!l&&se in l,e[i]=typeof l=="function"?(t=!0,v(l)):l}if(Ie&&t)return new Proxy({get(i){for(let l=e.length-1;l>=0;l--){const c=he(e[l])[i];if(c!==void 0)return c}},has(i){for(let l=e.length-1;l>=0;l--)if(i in he(e[l]))return!0;return!1},keys(){const i=[];for(let l=0;l<e.length;l++)i.push(...Object.keys(he(e[l])));return[...new Set(i)]}},pe);const n={},r=Object.create(null);for(let i=e.length-1;i>=0;i--){const l=e[i];if(!l)continue;const c=Object.getOwnPropertyNames(l);for(let f=c.length-1;f>=0;f--){const u=c[f];if(u==="__proto__"||u==="constructor")continue;const a=Object.getOwnPropertyDescriptor(l,u);if(!r[u])r[u]=a.get?{enumerable:!0,configurable:!0,get:bt.bind(n[u]=[a.get.bind(l)])}:a.value!==void 0?a:void 0;else{const h=n[u];h&&(a.get?h.push(a.get.bind(l)):a.value!==void 0&&h.push(()=>a.value))}}}const s={},o=Object.keys(r);for(let i=o.length-1;i>=0;i--){const l=o[i],c=r[l];c&&c.get?Object.defineProperty(s,l,c):s[l]=c?c.value:void 0}return s}function At(e,...t){if(Ie&&se in e){const s=new Set(t.length>1?t.flat():t[0]),o=t.map(i=>new Proxy({get(l){return i.includes(l)?e[l]:void 0},has(l){return i.includes(l)&&l in e},keys(){return i.filter(l=>l in e)}},pe));return o.push(new Proxy({get(i){return s.has(i)?void 0:e[i]},has(i){return s.has(i)?!1:i in e},keys(){return Object.keys(e).filter(i=>!s.has(i))}},pe)),o}const n={},r=t.map(()=>({}));for(const s of Object.getOwnPropertyNames(e)){const o=Object.getOwnPropertyDescriptor(e,s),i=!o.get&&!o.set&&o.enumerable&&o.writable&&o.configurable;let l=!1,c=0;for(const f of t)f.includes(s)&&(l=!0,i?r[c][s]=o.value:Object.defineProperty(r[c],s,o)),++c;l||(i?n[s]=o.value:Object.defineProperty(n,s,o))}return[...r,n]}function Et(e){let t,n;const r=s=>{const o=y.context;if(o){const[l,c]=k();y.count||(y.count=0),y.count++,(n||(n=e())).then(f=>{!y.done&&z(o),y.count--,c(()=>f.default),z()}),t=l}else if(!t){const[l]=at(()=>(n||(n=e())).then(c=>c.default));t=l}let i;return v(()=>(i=t())?T(()=>{if(!o||y.done)return i(s);const l=y.context;z(o);const c=i(s);return z(l),c}):"")};return r.preload=()=>n||((n=e()).then(s=>t=()=>s.default),n),r}const Pt=e=>`Stale read from <${e}>.`;function In(e){const t="fallback"in e&&{fallback:()=>e.fallback};return v(wt(()=>e.each,e.children,t||void 0))}function Ge(e){const t=e.keyed,n=v(()=>e.when,void 0,void 0),r=t?n:v(n,void 0,{equals:(s,o)=>!s==!o});return v(()=>{const s=r();if(s){const o=e.children;return typeof o=="function"&&o.length>0?T(()=>o(t?s:()=>{if(!T(r))throw Pt("Show");return n()})):o}return e.fallback},void 0,void 0)}const St=["allowfullscreen","async","alpha","autofocus","autoplay","checked","controls","default","disabled","formnovalidate","hidden","indeterminate","inert","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","seamless","selected","adauctionheaders","browsingtopics","credentialless","defaultchecked","defaultmuted","defaultselected","defer","disablepictureinpicture","disableremoteplayback","preservespitch","shadowrootclonable","shadowrootcustomelementregistry","shadowrootdelegatesfocus","shadowrootserializable","sharedstoragewritable"],xt=new Set(["className","value","readOnly","noValidate","formNoValidate","isMap","noModule","playsInline","adAuctionHeaders","allowFullscreen","browsingTopics","defaultChecked","defaultMuted","defaultSelected","disablePictureInPicture","disableRemotePlayback","preservesPitch","shadowRootClonable","shadowRootCustomElementRegistry","shadowRootDelegatesFocus","shadowRootSerializable","sharedStorageWritable",...St]),vt=new Set(["innerHTML","textContent","innerText","children"]),Ot=Object.assign(Object.create(null),{className:"class",htmlFor:"for"}),Ct=Object.assign(Object.create(null),{class:"className",novalidate:{$:"noValidate",FORM:1},formnovalidate:{$:"formNoValidate",BUTTON:1,INPUT:1},ismap:{$:"isMap",IMG:1},nomodule:{$:"noModule",SCRIPT:1},playsinline:{$:"playsInline",VIDEO:1},readonly:{$:"readOnly",INPUT:1,TEXTAREA:1},adauctionheaders:{$:"adAuctionHeaders",IFRAME:1},allowfullscreen:{$:"allowFullscreen",IFRAME:1},browsingtopics:{$:"browsingTopics",IMG:1},defaultchecked:{$:"defaultChecked",INPUT:1},defaultmuted:{$:"defaultMuted",AUDIO:1,VIDEO:1},defaultselected:{$:"defaultSelected",OPTION:1},disablepictureinpicture:{$:"disablePictureInPicture",VIDEO:1},disableremoteplayback:{$:"disableRemotePlayback",AUDIO:1,VIDEO:1},preservespitch:{$:"preservesPitch",AUDIO:1,VIDEO:1},shadowrootclonable:{$:"shadowRootClonable",TEMPLATE:1},shadowrootdelegatesfocus:{$:"shadowRootDelegatesFocus",TEMPLATE:1},shadowrootserializable:{$:"shadowRootSerializable",TEMPLATE:1},sharedstoragewritable:{$:"sharedStorageWritable",IFRAME:1,IMG:1}});function Lt(e,t){const n=Ct[e];return typeof n=="object"?n[t]?n.$:void 0:n}const Rt=new Set(["beforeinput","click","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"]),Tt=new Set(["altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignObject","g","glyph","glyphRef","hkern","image","line","linearGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","set","stop","svg","switch","symbol","text","textPath","tref","tspan","use","view","vkern"]),Nt={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"},kt=e=>v(()=>e());function $t(e,t,n){let r=n.length,s=t.length,o=r,i=0,l=0,c=t[s-1].nextSibling,f=null;for(;i<s||l<o;){if(t[i]===n[l]){i++,l++;continue}for(;t[s-1]===n[o-1];)s--,o--;if(s===i){const u=o<r?l?n[l-1].nextSibling:n[o-l]:c;for(;l<o;)e.insertBefore(n[l++],u)}else if(o===l)for(;i<s;)(!f||!f.has(t[i]))&&t[i].remove(),i++;else if(t[i]===n[o-1]&&n[l]===t[s-1]){const u=t[--s].nextSibling;e.insertBefore(n[l++],t[i++].nextSibling),e.insertBefore(n[--o],u),t[s]=n[o]}else{if(!f){f=new Map;let a=l;for(;a<o;)f.set(n[a],a++)}const u=f.get(t[i]);if(u!=null)if(l<u&&u<o){let a=i,h=1,p;for(;++a<s&&a<o&&!((p=f.get(t[a]))==null||p!==u+h);)h++;if(h>u-l){const d=t[i];for(;l<u;)e.insertBefore(n[l++],d)}else e.replaceChild(n[l++],t[i++])}else i++;else t[i++].remove()}}}const Le="_$DX_DELEGATE";function It(e,t,n,r={}){let s;return Y(o=>{s=o,t===document?e():Kt(t,e(),t.firstChild?null:void 0,n)},r.owner),()=>{s(),t.textContent=""}}function Dn(e,t,n,r){let s;const o=()=>{const l=document.createElement("template");return l.innerHTML=e,l.content.firstChild},i=()=>(s||(s=o())).cloneNode(!0);return i.cloneNode=i,i}function He(e,t=window.document){const n=t[Le]||(t[Le]=new Set);for(let r=0,s=e.length;r<s;r++){const o=e[r];n.has(o)||(n.add(o),t.addEventListener(o,Wt))}}function ye(e,t,n){B(e)||(n==null?e.removeAttribute(t):e.setAttribute(t,n))}function Dt(e,t,n,r){B(e)||(r==null?e.removeAttributeNS(t,n):e.setAttributeNS(t,n,r))}function jt(e,t,n){B(e)||(n?e.setAttribute(t,""):e.removeAttribute(t))}function Mt(e,t){B(e)||(t==null?e.removeAttribute("class"):e.className=t)}function Ft(e,t,n,r){if(r)Array.isArray(n)?(e[`$$${t}`]=n[0],e[`$$${t}Data`]=n[1]):e[`$$${t}`]=n;else if(Array.isArray(n)){const s=n[0];e.addEventListener(t,n[0]=o=>s.call(e,n[1],o))}else e.addEventListener(t,n,typeof n!="function"&&n)}function _t(e,t,n={}){const r=Object.keys(t||{}),s=Object.keys(n);let o,i;for(o=0,i=s.length;o<i;o++){const l=s[o];!l||l==="undefined"||t[l]||(Re(e,l,!1),delete n[l])}for(o=0,i=r.length;o<i;o++){const l=r[o],c=!!t[l];!l||l==="undefined"||n[l]===c||!c||(Re(e,l,!0),n[l]=c)}return n}function Ut(e,t,n){if(!t)return n?ye(e,"style"):t;const r=e.style;if(typeof t=="string")return r.cssText=t;typeof n=="string"&&(r.cssText=n=void 0),n||(n={}),t||(t={});let s,o;for(o in n)t[o]==null&&r.removeProperty(o),delete n[o];for(o in t)s=t[o],s!==n[o]&&(r.setProperty(o,s),n[o]=s);return n}function Bt(e,t={},n,r){const s={};return U(()=>s.children=Z(e,t.children,s.children)),U(()=>typeof t.ref=="function"&&Vt(t.ref,e)),U(()=>qt(e,t,n,!0,s,!0)),s}function Vt(e,t,n){return T(()=>e(t,n))}function Kt(e,t,n,r){if(n!==void 0&&!r&&(r=[]),typeof t!="function")return Z(e,t,r,n);U(s=>Z(e,t(),s,n),r)}function qt(e,t,n,r,s={},o=!1){t||(t={});for(const i in s)if(!(i in t)){if(i==="children")continue;s[i]=Te(e,i,null,s[i],n,o,t)}for(const i in t){if(i==="children")continue;const l=t[i];s[i]=Te(e,i,l,s[i],n,o,t)}}function Gt(e){let t,n;return!B()||!(t=y.registry.get(n=Xt()))?e():(y.completed&&y.completed.add(t),y.registry.delete(n),t)}function B(e){return!!y.context&&!y.done&&(!e||e.isConnected)}function Ht(e){return e.toLowerCase().replace(/-([a-z])/g,(t,n)=>n.toUpperCase())}function Re(e,t,n){const r=t.trim().split(/\s+/);for(let s=0,o=r.length;s<o;s++)e.classList.toggle(r[s],n)}function Te(e,t,n,r,s,o,i){let l,c,f,u,a;if(t==="style")return Ut(e,n,r);if(t==="classList")return _t(e,n,r);if(n===r)return r;if(t==="ref")o||n(e);else if(t.slice(0,3)==="on:"){const h=t.slice(3);r&&e.removeEventListener(h,r,typeof r!="function"&&r),n&&e.addEventListener(h,n,typeof n!="function"&&n)}else if(t.slice(0,10)==="oncapture:"){const h=t.slice(10);r&&e.removeEventListener(h,r,!0),n&&e.addEventListener(h,n,!0)}else if(t.slice(0,2)==="on"){const h=t.slice(2).toLowerCase(),p=Rt.has(h);if(!p&&r){const d=Array.isArray(r)?r[0]:r;e.removeEventListener(h,d)}(p||n)&&(Ft(e,h,n,p),p&&He([h]))}else if(t.slice(0,5)==="attr:")ye(e,t.slice(5),n);else if(t.slice(0,5)==="bool:")jt(e,t.slice(5),n);else if((a=t.slice(0,5)==="prop:")||(f=vt.has(t))||!s&&((u=Lt(t,e.tagName))||(c=xt.has(t)))||(l=e.nodeName.includes("-")||"is"in i)){if(a)t=t.slice(5),c=!0;else if(B(e))return n;t==="class"||t==="className"?Mt(e,n):l&&!c&&!f?e[Ht(t)]=n:e[u||t]=n}else{const h=s&&t.indexOf(":")>-1&&Nt[t.split(":")[0]];h?Dt(e,h,t,n):ye(e,Ot[t]||t,n)}return n}function Wt(e){if(y.registry&&y.events&&y.events.find(([c,f])=>f===e))return;let t=e.target;const n=`$$${e.type}`,r=e.target,s=e.currentTarget,o=c=>Object.defineProperty(e,"target",{configurable:!0,value:c}),i=()=>{const c=t[n];if(c&&!t.disabled){const f=t[`${n}Data`];if(f!==void 0?c.call(t,f,e):c.call(t,e),e.cancelBubble)return}return t.host&&typeof t.host!="string"&&!t.host._$host&&t.contains(e.target)&&o(t.host),!0},l=()=>{for(;i()&&(t=t._$host||t.parentNode||t.host););};if(Object.defineProperty(e,"currentTarget",{configurable:!0,get(){return t||document}}),y.registry&&!y.done&&(y.done=_$HY.done=!0),e.composedPath){const c=e.composedPath();o(c[0]);for(let f=0;f<c.length-2&&(t=c[f],!!i());f++){if(t._$host){t=t._$host,l();break}if(t.parentNode===s)break}}else l();o(r)}function Z(e,t,n,r,s){const o=B(e);if(o){!n&&(n=[...e.childNodes]);let c=[];for(let f=0;f<n.length;f++){const u=n[f];u.nodeType===8&&u.data.slice(0,2)==="!$"?u.remove():c.push(u)}n=c}for(;typeof n=="function";)n=n();if(t===n)return n;const i=typeof t,l=r!==void 0;if(e=l&&n[0]&&n[0].parentNode||e,i==="string"||i==="number"){if(o||i==="number"&&(t=t.toString(),t===n))return n;if(l){let c=n[0];c&&c.nodeType===3?c.data!==t&&(c.data=t):c=document.createTextNode(t),n=K(e,n,r,c)}else n!==""&&typeof n=="string"?n=e.firstChild.data=t:n=e.textContent=t}else if(t==null||i==="boolean"){if(o)return n;n=K(e,n,r)}else{if(i==="function")return U(()=>{let c=t();for(;typeof c=="function";)c=c();n=Z(e,c,n,r)}),()=>n;if(Array.isArray(t)){const c=[],f=n&&Array.isArray(n);if(we(c,t,n,s))return U(()=>n=Z(e,c,n,r,!0)),()=>n;if(o){if(!c.length)return n;if(r===void 0)return n=[...e.childNodes];let u=c[0];if(u.parentNode!==e)return n;const a=[u];for(;(u=u.nextSibling)!==r;)a.push(u);return n=a}if(c.length===0){if(n=K(e,n,r),l)return n}else f?n.length===0?Ne(e,c,r):$t(e,n,c):(n&&K(e),Ne(e,c));n=c}else if(t.nodeType){if(o&&t.parentNode)return n=l?[t]:t;if(Array.isArray(n)){if(l)return n=K(e,n,r,t);K(e,n,null,t)}else n==null||n===""||!e.firstChild?e.appendChild(t):e.replaceChild(t,e.firstChild);n=t}}return n}function we(e,t,n,r){let s=!1;for(let o=0,i=t.length;o<i;o++){let l=t[o],c=n&&n[e.length],f;if(!(l==null||l===!0||l===!1))if((f=typeof l)=="object"&&l.nodeType)e.push(l);else if(Array.isArray(l))s=we(e,l,c)||s;else if(f==="function")if(r){for(;typeof l=="function";)l=l();s=we(e,Array.isArray(l)?l:[l],Array.isArray(c)?c:[c])||s}else e.push(l),s=!0;else{const u=String(l);c&&c.nodeType===3&&c.data===u?e.push(c):e.push(document.createTextNode(u))}}return s}function Ne(e,t,n=null){for(let r=0,s=t.length;r<s;r++)e.insertBefore(t[r],n)}function K(e,t,n,r){if(n===void 0)return e.textContent="";const s=r||document.createTextNode("");if(t.length){let o=!1;for(let i=t.length-1;i>=0;i--){const l=t[i];if(s!==l){const c=l.parentNode===e;!o&&!i?c?e.replaceChild(s,l):e.insertBefore(s,n):c&&l.remove()}else o=!0}}else e.insertBefore(s,n);return[s]}function Xt(){return y.getNextContextId()}const zt=!1,Yt="http://www.w3.org/2000/svg";function Jt(e,t=!1,n=void 0){return t?document.createElementNS(Yt,e):document.createElement(e,{is:n})}function Qt(e,t){const n=v(e);return v(()=>{const r=n();switch(typeof r){case"function":return T(()=>r(t));case"string":const s=Tt.has(r),o=y.context?Gt():Jt(r,s,T(()=>t.is));return Bt(o,t,s),o}})}function jn(e){const[,t]=At(e,["component"]);return Qt(()=>e.component,t)}const Zt="modulepreload",en=function(e){return"/"+e},ke={},tn=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const i=document.querySelector("meta[property=csp-nonce]"),l=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));s=Promise.allSettled(n.map(c=>{if(c=en(c),c in ke)return;ke[c]=!0;const f=c.endsWith(".css"),u=f?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${u}`))return;const a=document.createElement("link");if(a.rel=f?"stylesheet":Zt,f||(a.as="script"),a.crossOrigin="",a.href=c,l&&a.setAttribute("nonce",l),document.head.appendChild(a),f)return new Promise((h,p)=>{a.addEventListener("load",h),a.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${c}`)))})}))}function o(i){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=i,window.dispatchEvent(l),!l.defaultPrevented)throw i}return s.then(i=>{for(const l of i||[])l.status==="rejected"&&o(l.reason);return t().catch(o)})};function We(){let e=new Set;function t(s){return e.add(s),()=>e.delete(s)}let n=!1;function r(s,o){if(n)return!(n=!1);const i={to:s,options:o,defaultPrevented:!1,preventDefault:()=>i.defaultPrevented=!0};for(const l of e)l.listener({...i,from:l.location,retry:c=>{c&&(n=!0),l.navigate(s,{...o,resolve:!1})}});return!i.defaultPrevented}return{subscribe:t,confirm:r}}let be;function Se(){(!window.history.state||window.history.state._depth==null)&&window.history.replaceState({...window.history.state,_depth:window.history.length-1},""),be=window.history.state._depth}Se();function nn(e){return{...e,_depth:window.history.state&&window.history.state._depth}}function rn(e,t){let n=!1;return()=>{const r=be;Se();const s=r==null?null:be-r;if(n){n=!1;return}s&&t(s)?(n=!0,window.history.go(-s)):e()}}const sn=/^(?:[a-z0-9]+:)?\/\//i,on=/^\/+|(\/)\/+$/g,Xe="http://sr";function J(e,t=!1){const n=e.replace(on,"$1");return n?t||/^[?#]/.test(n)?n:"/"+n:""}function re(e,t,n){if(sn.test(t))return;const r=J(e),s=n&&J(n);let o="";return!s||t.startsWith("/")?o=r:s.toLowerCase().indexOf(r.toLowerCase())!==0?o=r+s:o=s,(o||"/")+J(t,!o)}function ln(e,t){return J(e).replace(/\/*(\*.*)?$/g,"")+J(t)}function ze(e){const t={};return e.searchParams.forEach((n,r)=>{t[r]=n}),t}function cn(e,t,n){const[r,s]=e.split("/*",2),o=r.split("/").filter(Boolean),i=o.length;return l=>{const c=l.split("/").filter(Boolean),f=c.length-i;if(f<0||f>0&&s===void 0&&!t)return null;const u={path:i?"":"/",params:{}},a=h=>n===void 0?void 0:n[h];for(let h=0;h<i;h++){const p=o[h],d=c[h],g=p[0]===":",A=g?p.slice(1):p;if(g&&ge(d,a(A)))u.params[A]=d;else if(g||!ge(d,p))return null;u.path+=`/${d}`}if(s){const h=f?c.slice(-f).join("/"):"";if(ge(h,a(s)))u.params[s]=h;else return null}return u}}function ge(e,t){const n=r=>r.localeCompare(e,void 0,{sensitivity:"base"})===0;return t===void 0?!0:typeof t=="string"?n(t):typeof t=="function"?t(e):Array.isArray(t)?t.some(n):t instanceof RegExp?t.test(e):!1}function an(e){const[t,n]=e.pattern.split("/*",2),r=t.split("/").filter(Boolean);return r.reduce((s,o)=>s+(o.startsWith(":")?2:3),r.length-(n===void 0?0:1))}function Ye(e){const t=new Map,n=Fe();return new Proxy({},{get(r,s){return t.has(s)||Ee(n,()=>t.set(s,v(()=>e()[s]))),t.get(s)()},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}},ownKeys(){return Reflect.ownKeys(e())}})}function Je(e){let t=/(\/?\:[^\/]+)\?/.exec(e);if(!t)return[e];let n=e.slice(0,t.index),r=e.slice(t.index+t[0].length);const s=[n,n+=t[1]];for(;t=/^(\/\:[^\/]+)\?/.exec(r);)s.push(n+=t[1]),r=r.slice(t[0].length);return Je(r).reduce((o,i)=>[...o,...s.map(l=>l+i)],[])}const un=100,fn=_e(),xe=_e();function dn(e,t=""){const{component:n,load:r,children:s,info:o}=e,i=!s||Array.isArray(s)&&!s.length,l={key:e,component:n,load:r,info:o};return Qe(e.path).reduce((c,f)=>{for(const u of Je(f)){const a=ln(t,u);let h=i?a:a.split("/*",1)[0];h=h.split("/").map(p=>p.startsWith(":")||p.startsWith("*")?p:encodeURIComponent(p)).join("/"),c.push({...l,originalPath:u,pattern:h,matcher:cn(h,!i,e.matchFilters)})}return c},[])}function hn(e,t=0){return{routes:e,score:an(e[e.length-1])*1e4-t,matcher(n){const r=[];for(let s=e.length-1;s>=0;s--){const o=e[s],i=o.matcher(n);if(!i)return null;r.unshift({...i,route:o})}return r}}}function Qe(e){return Array.isArray(e)?e:[e]}function Ze(e,t="",n=[],r=[]){const s=Qe(e);for(let o=0,i=s.length;o<i;o++){const l=s[o];if(l&&typeof l=="object"){l.hasOwnProperty("path")||(l.path="");const c=dn(l,t);for(const f of c){n.push(f);const u=Array.isArray(l.children)&&l.children.length===0;if(l.children&&!u)Ze(l.children,f.pattern,n,r);else{const a=hn([...n],r.length);r.push(a)}n.pop()}}}return n.length?r:r.sort((o,i)=>i.score-o.score)}function et(e,t){for(let n=0,r=e.length;n<r;n++){const s=e[n].matcher(t);if(s)return s}return[]}function gn(e,t){const n=new URL(Xe),r=v(c=>{const f=e();try{return new URL(f,n)}catch{return console.error(`Invalid path ${f}`),c}},n,{equals:(c,f)=>c.href===f.href}),s=v(()=>r().pathname),o=v(()=>r().search,!0),i=v(()=>r().hash),l=()=>"";return{get pathname(){return s()},get search(){return o()},get hash(){return i()},get state(){return t()},get key(){return l()},query:Ye(Me(o,()=>ze(r())))}}let _;function mn(e,t,n,r={}){const{signal:[s,o],utils:i={}}=e,l=i.parsePath||(m=>m),c=i.renderPath||(m=>m),f=i.beforeLeave||We(),u=re("",r.base||"");if(u===void 0)throw new Error(`${u} is not a valid base path`);u&&!s().value&&o({value:u,replace:!0,scroll:!1});const[a,h]=k(!1),p=async m=>{h(!0);try{await ut(m)}finally{h(!1)}},[d,g]=k(s().value),[A,E]=k(s().state),R=gn(d,A),S=[],x=k([]),O={pattern:u,params:{},path:()=>u,outlet:()=>null,resolvePath(m){return re(u,m)}};return U(()=>{const{value:m,state:w}=s();T(()=>{m!==d()&&p(()=>{_="native",g(m),E(w),x[1]([])}).then(()=>{_=void 0})})}),{base:O,location:R,isRouting:a,renderPath:c,parsePath:l,navigatorFactory:H,beforeLeave:f,preloadRoute:ee,singleFlight:r.singleFlight===void 0?!0:r.singleFlight,submissions:x};function G(m,w,L){T(()=>{if(typeof w=="number"){w&&(i.go?i.go(w):console.warn("Router integration does not support relative routing"));return}const{replace:C,resolve:$,scroll:V,state:X}={replace:!1,resolve:!0,scroll:!0,...L},F=$?m.resolvePath(w):re("",w);if(F===void 0)throw new Error(`Path '${w}' is not a routable path`);if(S.length>=un)throw new Error("Too many redirects");const ve=d();if((F!==ve||X!==A())&&!zt){if(f.confirm(F,L)){const nt=S.push({value:ve,replace:C,scroll:V,state:A()});p(()=>{_="navigate",g(F),E(X),x[1]([])}).then(()=>{S.length===nt&&(_=void 0,W({value:F,state:X}))})}}})}function H(m){return m=m||ft(xe)||O,(w,L)=>G(m,w,L)}function W(m){const w=S[0];w&&((m.value!==w.value||m.state!==w.state)&&o({...m,replace:w.replace,scroll:w.scroll}),S.length=0)}function ee(m,w){const L=et(n(),m.pathname),C=_;_="preload";for(let $ in L){const{route:V,params:X}=L[$];V.component&&V.component.preload&&V.component.preload();const{load:F}=V;w&&F&&Ee(t(),()=>F({params:X,location:{pathname:m.pathname,search:m.search,hash:m.hash,query:ze(m),state:null,key:""},intent:"preload"}))}_=C}}function pn(e,t,n,r,s){const{base:o,location:i}=e,{pattern:l,component:c,load:f}=r().route,u=v(()=>r().path);c&&c.preload&&c.preload();const a=f?f({params:s,location:i,intent:_||"initial"}):void 0;return{parent:t,pattern:l,path:u,params:s,outlet:()=>c?j(c,{params:s,location:i,data:a,get children(){return n()}}):n(),resolvePath(p){return re(o.path(),p,u())}}}const yn=e=>t=>{const{base:n}=t,r=Ue(()=>t.children),s=v(()=>Ze(t.root?{component:t.root,load:t.rootLoad,children:r()}:r(),t.base||""));let o;const i=mn(e,()=>o,s,{base:n,singleFlight:t.singleFlight});return e.create&&e.create(i),j(fn.Provider,{value:i,get children(){return[kt(()=>(o=Fe())&&null),j(wn,{routerState:i,get branches(){return s()}})]}})};function wn(e){const t=v(()=>et(e.branches,e.routerState.location.pathname)),n=Ye(()=>{const i=t(),l={};for(let c=0;c<i.length;c++)Object.assign(l,i[c].params);return l}),r=[];let s;const o=v(Me(t,(i,l,c)=>{let f=l&&i.length===l.length;const u=[];for(let a=0,h=i.length;a<h;a++){const p=l&&l[a],d=i[a];c&&p&&d.route.key===p.route.key?u[a]=c[a]:(f=!1,r[a]&&r[a](),Y(g=>{r[a]=g,u[a]=pn(e.routerState,u[a-1]||e.routerState.base,bn(()=>o()[a+1]),()=>t()[a],n)}))}return r.splice(i.length).forEach(a=>a()),c&&f?c:(s=u[0],u)}));return j(Ge,{get when(){return o()&&s},keyed:!0,children:i=>j(xe.Provider,{value:i,get children(){return i.outlet()}})})}const bn=e=>()=>j(Ge,{get when(){return e()},keyed:!0,children:t=>j(xe.Provider,{value:t,get children(){return t.outlet()}})});function An([e,t],n,r){return[e,r?s=>t(r(s)):t]}function En(e){if(e==="#")return null;try{return document.querySelector(e)}catch{return null}}function Pn(e){let t=!1;const n=s=>typeof s=="string"?{value:s}:s,r=An(k(n(e.get()),{equals:(s,o)=>s.value===o.value}),void 0,s=>(!t&&e.set(s),s));return e.init&&Ae(e.init((s=e.get())=>{t=!0,r[1](n(s)),t=!1})),yn({signal:r,create:e.create,utils:e.utils})}function Sn(e,t,n){return e.addEventListener(t,n),()=>e.removeEventListener(t,n)}function xn(e,t){const n=En(`#${e}`);n?n.scrollIntoView():t&&window.scrollTo(0,0)}const vn=new Map;function On(e=!0,t=!1,n="/_server"){return r=>{const s=r.base.path(),o=r.navigatorFactory(r.base);let i={};function l(d){return d.namespaceURI==="http://www.w3.org/2000/svg"}function c(d){if(d.defaultPrevented||d.button!==0||d.metaKey||d.altKey||d.ctrlKey||d.shiftKey)return;const g=d.composedPath().find(O=>O instanceof Node&&O.nodeName.toUpperCase()==="A");if(!g||t&&!g.hasAttribute("link"))return;const A=l(g),E=A?g.href.baseVal:g.href;if((A?g.target.baseVal:g.target)||!E&&!g.hasAttribute("state"))return;const S=(g.getAttribute("rel")||"").split(/\s+/);if(g.hasAttribute("download")||S&&S.includes("external"))return;const x=A?new URL(E,document.baseURI):new URL(E);if(!(x.origin!==window.location.origin||s&&x.pathname&&!x.pathname.toLowerCase().startsWith(s.toLowerCase())))return[g,x]}function f(d){const g=c(d);if(!g)return;const[A,E]=g,R=r.parsePath(E.pathname+E.search+E.hash),S=A.getAttribute("state");d.preventDefault(),o(R,{resolve:!1,replace:A.hasAttribute("replace"),scroll:!A.hasAttribute("noscroll"),state:S&&JSON.parse(S)})}function u(d){const g=c(d);if(!g)return;const[A,E]=g;i[E.pathname]||r.preloadRoute(E,A.getAttribute("preload")!=="false")}function a(d){const g=c(d);if(!g)return;const[A,E]=g;i[E.pathname]||(i[E.pathname]=setTimeout(()=>{r.preloadRoute(E,A.getAttribute("preload")!=="false"),delete i[E.pathname]},200))}function h(d){const g=c(d);if(!g)return;const[,A]=g;i[A.pathname]&&(clearTimeout(i[A.pathname]),delete i[A.pathname])}function p(d){let g=d.submitter&&d.submitter.hasAttribute("formaction")?d.submitter.getAttribute("formaction"):d.target.getAttribute("action");if(!g)return;if(!g.startsWith("https://action/")){const E=new URL(g,Xe);if(g=r.parsePath(E.pathname+E.search),!g.startsWith(n))return}if(d.target.method.toUpperCase()!=="POST")throw new Error("Only POST forms are supported for Actions");const A=vn.get(g);if(A){d.preventDefault();const E=new FormData(d.target);d.submitter&&d.submitter.name&&E.append(d.submitter.name,d.submitter.value),A.call(r,E)}}He(["click","submit"]),document.addEventListener("click",f),e&&(document.addEventListener("mouseover",a),document.addEventListener("mouseout",h),document.addEventListener("focusin",u),document.addEventListener("touchstart",u)),document.addEventListener("submit",p),Ae(()=>{document.removeEventListener("click",f),e&&(document.removeEventListener("mouseover",a),document.removeEventListener("mouseout",h),document.removeEventListener("focusin",u),document.removeEventListener("touchstart",u)),document.removeEventListener("submit",p)})}}function Cn(e){const t=()=>({value:window.location.pathname+window.location.search+window.location.hash,state:window.history.state}),n=We();return Pn({get:t,set({value:r,replace:s,scroll:o,state:i}){s?window.history.replaceState(nn(i),"",r):window.history.pushState(i,"",r),xn(window.location.hash.slice(1),o),Se()},init:r=>Sn(window,"popstate",rn(r,s=>{if(s&&s<0)return!n.confirm(s);{const o=t();return!n.confirm(o.value,{state:o.state})}})),create:On(e.preload,e.explicitLinks,e.actionBase),utils:{go:r=>window.history.go(r),beforeLeave:n}})(e)}const Ln=[{path:"/",component:Et(()=>tn(()=>import("./chunks/login.js"),[]))},{path:"*",component:()=>{throw new Error("404 - Not Found: The specified path was not found")}}];function Rn(){return j(Cn,{children:Ln})}const tt=document.getElementById("app");if(!tt)throw new Error("No #app element found in the DOM.");It(()=>j(Rn,{}),tt);export{se as $,jn as D,In as F,Ge as S,lt as a,j as b,k as c,Ue as d,v as e,kt as f,Ae as g,ye as h,Kt as i,U as j,Mt as k,$n as m,Tn as o,At as s,Dn as t};