@fapost/jig-ui 0.2.0-next.30 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/board/columns.js +2 -14
- package/dist/http/app.js +1 -58
- package/dist/jig/client.js +4 -36
- package/dist/source/local.js +11 -47
- package/dist/web/assets/CanvasView-4RWri2ak.js +1 -0
- package/dist/web/assets/index-D1V3u6PF.css +2 -0
- package/dist/web/assets/index-DOnV4WX5.js +6 -0
- package/dist/web/index.html +2 -2
- package/package.json +1 -1
- package/dist/web/assets/CanvasView-BlJ7Md7X.js +0 -1
- package/dist/web/assets/index-CIutMX5d.css +0 -2
- package/dist/web/assets/index-jvDNuXHj.js +0 -6
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
var e=Object.defineProperty,t=(t,n)=>{let r={};for(var i in t)e(r,i,{get:t[i],enumerable:!0});return n||e(r,Symbol.toStringTag,{value:`Module`}),r};(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),t.credentials=e.crossOrigin===`use-credentials`?`include`:e.crossOrigin===`anonymous`?`omit`:`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();function n(e){let t=Object.create(null);for(let n of e.split(`,`))t[n]=1;return e=>e in t}var r={},i=[],a=()=>{},o=()=>!1,s=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),c=e=>e.startsWith(`onUpdate:`),l=Object.assign,u=(e,t)=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)},d=Object.prototype.hasOwnProperty,f=(e,t)=>d.call(e,t),p=Array.isArray,m=e=>w(e)===`[object Map]`,h=e=>w(e)===`[object Set]`,g=e=>w(e)===`[object Date]`,_=e=>w(e)===`[object RegExp]`,v=e=>typeof e==`function`,y=e=>typeof e==`string`,b=e=>typeof e==`symbol`,x=e=>typeof e==`object`&&!!e,S=e=>(x(e)||v(e))&&v(e.then)&&v(e.catch),C=Object.prototype.toString,w=e=>C.call(e),ee=e=>w(e).slice(8,-1),T=e=>w(e)===`[object Object]`,E=e=>y(e)&&e!==`NaN`&&e[0]!==`-`&&``+parseInt(e,10)===e,te=n(`,key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted`),ne=e=>{let t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},re=/-\w/g,D=ne(e=>e.replace(re,e=>e.slice(1).toUpperCase())),ie=/\B([A-Z])/g,O=ne(e=>e.replace(ie,`-$1`).toLowerCase()),ae=ne(e=>e.charAt(0).toUpperCase()+e.slice(1)),k=ne(e=>e?`on${ae(e)}`:``),A=(e,t)=>!Object.is(e,t),oe=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},se=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},ce=e=>{let t=parseFloat(e);return isNaN(t)?e:t},le=e=>{let t=y(e)?Number(e):NaN;return isNaN(t)?e:t},ue,de=()=>ue||=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:{},fe=n(`Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol`);function j(e){if(p(e)){let t={};for(let n=0;n<e.length;n++){let r=e[n],i=y(r)?ge(r):j(r);if(i)for(let e in i)t[e]=i[e]}return t}if(y(e)||x(e))return e}var pe=/;(?![^(]*\))/g,me=/:([^]+)/,he=/"(?:[^"\\]|\\[^])*"|'(?:[^'\\]|\\[^])*'|\\[^]|\/\*[^]*?\*\//g;function ge(e){let t={};return e.replace(he,e=>e.startsWith(`/*`)?``:e).split(pe).forEach(e=>{if(e){let n=e.split(me);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function M(e){let t=``;if(y(e))t=e;else if(p(e))for(let n=0;n<e.length;n++){let r=M(e[n]);r&&(t+=r+` `)}else if(x(e))for(let n in e)e[n]&&(t+=n+` `);return t.trim()}function _e(e){if(!e)return null;let{class:t,style:n}=e;return t&&!y(t)&&(e.class=M(t)),n&&(e.style=j(n)),e}var ve=n(`itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,playsinline,readonly`);function ye(e){return!!e||e===``}function be(e,t,n){if(e.length!==t.length)return!1;let r=!0;for(let i=0;r&&i<e.length;i++)r=we(e[i],t[i],n);return r}function xe(e,t,n){if(e.size!==t.size)return!1;let r=Array.from(t),i=new Uint8Array(r.length);for(let t of e){let e=-1;for(let a=0;a<r.length;a++)if(!i[a]&&we(t,r[a],n)){e=a;break}if(e<0)return!1;i[e]=1}return!0}function Se(e,t,n){let r=m(e),i=m(t);if(r||i||(r=h(e),i=h(t),r||i))return r&&i?xe(e,t,n):!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(let r in e){let i=e.hasOwnProperty(r),a=t.hasOwnProperty(r);if(i&&!a||!i&&a||!we(e[r],t[r],n))return!1}return String(e)===String(t)}function Ce(e,t,n,r){n||=[new Map,new Map];let[i,a]=n;if(i.has(e)||a.has(t))return i.get(e)===t&&a.get(t)===e;i.set(e,t),a.set(t,e);let o=r(e,t,n);return i.delete(e),a.delete(t),o}function we(e,t,n){if(e===t)return!0;let r=g(e),i=g(t);return r||i?r&&i?e.getTime()===t.getTime():!1:(r=b(e),i=b(t),r||i?e===t:(r=p(e),i=p(t),r||i?r&&i?Ce(e,t,n,be):!1:(r=x(e),i=x(t),r||i?!r||!i?!1:Ce(e,t,n,Se):String(e)===String(t))))}function Te(e,t){return e.findIndex(e=>we(e,t))}var Ee=e=>!!(e&&e.__v_isRef===!0),N=e=>y(e)?e:e==null?``:p(e)||x(e)&&(e.toString===C||!v(e.toString))?Ee(e)?N(e.value):JSON.stringify(e,De,2):String(e),De=(e,t)=>Ee(t)?De(e,t.value):m(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n],r)=>(e[Oe(t,r)+` =>`]=n,e),{})}:h(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>Oe(e))}:b(t)?Oe(t):x(t)&&!p(t)&&!T(t)?String(t):t,Oe=(e,t=``)=>b(e)?`Symbol(${e.description??t})`:e;function ke(e){return e==null?`initial`:typeof e==`string`?e===``?` `:e:String(e)}var Ae,je=class{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!e&&Ae&&(Ae.active?(this.parent=Ae,this.index=(Ae.scopes||(Ae.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,t;if(this.scopes){let n=this.scopes.slice();for(e=0,t=n.length;e<t;e++)n[e].pause()}for(e=0,t=this.effects.length;e<t;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let e,t;if(this.scopes){let n=this.scopes.slice();for(e=0,t=n.length;e<t;e++)n[e].resume()}let n=this.effects.slice();for(e=0,t=n.length;e<t;e++)n[e].resume()}}run(e){if(this._active){let t=Ae;try{return Ae=this,e()}finally{Ae=t}}}on(){++this._on===1&&(this.prevScope=Ae,Ae=this)}off(){if(this._on>0&&--this._on===0){if(Ae===this)Ae=this.prevScope;else{let e=Ae;for(;e;){if(e.prevScope===this){e.prevScope=this.prevScope;break}e=e.prevScope}}this.prevScope=void 0}}stop(e){if(this._active){this._active=!1;let t,n;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(this.effects.length=0,t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.cleanups.length=0,this.scopes){let e=this.scopes.slice();for(t=0,n=e.length;t<n;t++)e[t].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){let e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0}}};function Me(e){return new je(e)}function Ne(){return Ae}function Pe(e,t=!1){Ae&&Ae.cleanups.push(e)}var P,Fe=new WeakSet,Ie=class{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Ae&&(Ae.active?Ae.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Fe.has(this)&&(Fe.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Be(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,tt(this),Ue(this);let e=P,t=Ze;P=this,Ze=!0;try{return this.fn()}finally{We(this),P=e,Ze=t,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)qe(e);this.deps=this.depsTail=void 0,tt(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Fe.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Ge(this)&&this.run()}get dirty(){return Ge(this)}},Le=0,Re,ze;function Be(e,t=!1){e.flags|=8,t?(e.next=ze,ze=e):(e.next=Re,Re=e)}function Ve(){Le++}function He(){if(--Le>0)return;if(ze){let e=ze;for(ze=void 0;e;){let t=e.next;e.next=void 0,e.flags&=-9,e=t}}let e;for(;Re;){let t=Re;for(Re=void 0;t;){let n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(t){e||=t}t=n}}if(e)throw e}function Ue(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function We(e){let t,n=e.depsTail,r=n;for(;r;){let e=r.prevDep;r.version===-1?(r===n&&(n=e),qe(r),Je(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=e}e.deps=t,e.depsTail=n}function Ge(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Ke(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Ke(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===nt)||(e.globalVersion=nt,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Ge(e))))return;e.flags|=2;let t=e.dep,n=P,r=Ze;P=e,Ze=!0;try{Ue(e);let n=e.fn(e._value);(t.version===0||A(n,e._value))&&(e.flags|=128,e._value=n,t.version++)}catch(e){throw t.version++,e}finally{P=n,Ze=r,We(e),e.flags&=-3}}function qe(e,t=!1){let{dep:n,prevSub:r,nextSub:i}=e;if(r&&(r.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let e=n.computed.deps;e;e=e.nextDep)qe(e,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Je(e){let{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}function Ye(e,t){e.effect instanceof Ie&&(e=e.effect.fn);let n=new Ie(e);t&&l(n,t);try{n.run()}catch(e){throw n.stop(),e}let r=n.run.bind(n);return r.effect=n,r}function Xe(e){e.effect.stop()}var Ze=!0,Qe=[];function $e(){Qe.push(Ze),Ze=!1}function et(){let e=Qe.pop();Ze=e===void 0||e}function tt(e){let{cleanup:t}=e;if(e.cleanup=void 0,t){let e=P;P=void 0;try{t()}finally{P=e}}}var nt=0,rt=class{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}},it=class{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(e){if(!P||!Ze||P===this.computed)return;let t=this.activeLink;if(t===void 0||t.sub!==P)t=this.activeLink=new rt(P,this),P.deps?(t.prevDep=P.depsTail,P.depsTail.nextDep=t,P.depsTail=t):P.deps=P.depsTail=t,at(t);else if(t.version===-1&&(t.version=this.version,t.nextDep)){let e=t.nextDep;e.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=e),t.prevDep=P.depsTail,t.nextDep=void 0,P.depsTail.nextDep=t,P.depsTail=t,P.deps===t&&(P.deps=e)}return t}trigger(e){this.version++,nt++,this.notify(e)}notify(e){Ve();try{for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{He()}}};function at(e){if(e.dep.sc++,e.sub.flags&4){let t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let e=t.deps;e;e=e.nextDep)at(e)}let n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}var ot=new WeakMap,st=Symbol(``),ct=Symbol(``),lt=Symbol(``);function F(e,t,n){if(Ze&&P){let t=ot.get(e);t||ot.set(e,t=new Map);let r=t.get(n);r||(t.set(n,r=new it),r.map=t,r.key=n),r.track()}}function ut(e,t,n,r,i,a){let o=ot.get(e);if(!o){nt++;return}let s=e=>{e&&e.trigger()};if(Ve(),t===`clear`)o.forEach(s);else{let i=p(e),a=i&&E(n);if(i&&n===`length`){let e=Number(r);o.forEach((t,n)=>{(n===`length`||n===lt||!b(n)&&n>=e)&&s(t)})}else switch((n!==void 0||o.has(void 0))&&s(o.get(n)),a&&s(o.get(lt)),t){case`add`:i?a&&s(o.get(`length`)):(s(o.get(st)),m(e)&&s(o.get(ct)));break;case`delete`:i||(s(o.get(st)),m(e)&&s(o.get(ct)));break;case`set`:m(e)&&s(o.get(st))}}He()}function dt(e,t){let n=ot.get(e);return n&&n.get(t)}function ft(e){let t=I(e);return t===e||(F(t,`iterate`,lt),tn(e))?t:en(e)?$t(e)?t.map(e=>on(an(e))):t.map(on):t.map(an)}function pt(e){return F(e=I(e),`iterate`,lt),e}function mt(e,t){return en(e)?on($t(e)?an(t):t):an(t)}var ht={__proto__:null,[Symbol.iterator](){return gt(this,Symbol.iterator,e=>mt(this,e))},concat(...e){return ft(this).concat(...e.map(e=>p(e)?ft(e):e))},entries(){return gt(this,`entries`,e=>(e[1]=mt(this,e[1]),e))},every(e,t){return yt(this,`every`,e,t,void 0,arguments)},filter(e,t){return yt(this,`filter`,e,t,e=>e.map(e=>mt(this,e)),arguments)},find(e,t){return yt(this,`find`,e,t,e=>mt(this,e),arguments)},findIndex(e,t){return yt(this,`findIndex`,e,t,void 0,arguments)},findLast(e,t){return yt(this,`findLast`,e,t,e=>mt(this,e),arguments)},findLastIndex(e,t){return yt(this,`findLastIndex`,e,t,void 0,arguments)},forEach(e,t){return yt(this,`forEach`,e,t,void 0,arguments)},includes(...e){return xt(this,`includes`,e)},indexOf(...e){return xt(this,`indexOf`,e)},join(e){return ft(this).join(e)},lastIndexOf(...e){return xt(this,`lastIndexOf`,e)},map(e,t){return yt(this,`map`,e,t,void 0,arguments)},pop(){return St(this,`pop`)},push(...e){return St(this,`push`,e)},reduce(e,...t){return bt(this,`reduce`,e,t)},reduceRight(e,...t){return bt(this,`reduceRight`,e,t)},shift(){return St(this,`shift`)},some(e,t){return yt(this,`some`,e,t,void 0,arguments)},splice(...e){return St(this,`splice`,e)},toReversed(){return ft(this).toReversed()},toSorted(e){return ft(this).toSorted(e)},toSpliced(...e){return ft(this).toSpliced(...e)},unshift(...e){return St(this,`unshift`,e)},values(){return gt(this,`values`,e=>mt(this,e))}};function gt(e,t,n){let r=pt(e),i=r[t],a=i.call(r);if(r!==e&&!tn(e)){if(a[Symbol.toStringTag]===`Array Iterator`){let e=Object.create(Object.getPrototypeOf(a));return e.next=()=>_t(a.next(),n),i!==vt[t]&&Object.defineProperties(e,{return:{get(){let e=a.return;return typeof e==`function`?e.bind(a):e}},throw:{get(){let e=a.throw;return typeof e==`function`?e.bind(a):e}}}),e}a._next=a.next,a.next=()=>_t(a._next(),n)}return a}function _t(e,t){return e.done||(e.value=t(e.value)),e}var vt=Array.prototype;function yt(e,t,n,r,i,a){let o=pt(e),s=o!==e&&!tn(e),c=o[t];if(c!==vt[t]){let t=c.apply(e,a);return s?an(t):t}let l=n;o!==e&&(s?l=function(t,r){return n.call(this,mt(e,t),r,e)}:n.length>2&&(l=function(t,r){return n.call(this,t,r,e)}));let u=c.call(o,l,r);return s&&i?i(u):u}function bt(e,t,n,r){let i=pt(e),a=i!==e&&!tn(e),o=n,s=!1;i!==e&&(a?(s=r.length===0,o=function(t,r,i){return s&&(s=!1,t=mt(e,t)),n.call(this,t,mt(e,r),i,e)}):n.length>3&&(o=function(t,r,i){return n.call(this,t,r,i,e)}));let c=i[t](o,...r);return s?mt(e,c):c}function xt(e,t,n){let r=I(e);F(r,`iterate`,lt);let i=r[t](...n);return(i===-1||i===!1)&&nn(n[0])?(n[0]=I(n[0]),r[t](...n)):i}function St(e,t,n=[]){$e(),Ve();let r=I(e)[t].apply(e,n);return He(),et(),r}var Ct=n(`__proto__,__v_isRef,__isVue`),wt=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!==`arguments`&&e!==`caller`).map(e=>Symbol[e]).filter(b));function Tt(e){b(e)||(e=String(e));let t=I(this);return F(t,`has`,e),t.hasOwnProperty(e)}var Et=class{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){if(t===`__v_skip`)return e.__v_skip;let r=this._isReadonly,i=this._isShallow;if(t===`__v_isReactive`)return!r;if(t===`__v_isReadonly`)return r;if(t===`__v_isShallow`)return i;if(t===`__v_raw`)return n===(r?i?Kt:Gt:i?Wt:Ut).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;let a=p(e);if(!r){let e;if(a&&(e=ht[t]))return e;if(t===`hasOwnProperty`)return Tt}let o=Reflect.get(e,t,L(e)?e:n);if((b(t)?wt.has(t):Ct(t))||(r||F(e,`get`,t),i))return o;if(L(o)){let e=a&&E(t)?o:o.value;return r&&x(e)?Xt(e):e}return x(o)?r?Xt(o):Jt(o):o}},Dt=class extends Et{constructor(e=!1){super(!1,e)}set(e,t,n,r){let i=e[t],a=p(e)&&E(t);if(!this._isShallow){let e=en(i);if(!tn(n)&&!en(n)&&(i=I(i),n=I(n)),!a&&L(i)&&!L(n))return e||(i.value=n),!0}let o=a?Number(t)<e.length:f(e,t),s=Reflect.set(e,t,n,L(e)?e:r);return e===I(r)&&s&&(o?A(n,i)&&ut(e,`set`,t,n,i):ut(e,`add`,t,n)),s}deleteProperty(e,t){let n=f(e,t),r=e[t],i=Reflect.deleteProperty(e,t);return i&&n&&ut(e,`delete`,t,void 0,r),i}has(e,t){let n=Reflect.has(e,t);return(!b(t)||!wt.has(t))&&F(e,`has`,t),n}ownKeys(e){return F(e,`iterate`,p(e)?`length`:st),Reflect.ownKeys(e)}},Ot=class extends Et{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}},kt=new Dt,At=new Ot,jt=new Dt(!0),Mt=new Ot(!0),Nt=e=>e,Pt=e=>Reflect.getPrototypeOf(e);function Ft(e,t,n){return function(...r){let i=this.__v_raw,a=I(i),o=m(a),s=e===`entries`||e===Symbol.iterator&&o,c=e===`keys`&&o,u=i[e](...r),d=n?Nt:t?on:an;return!t&&F(a,`iterate`,c?ct:st),l(Object.create(u),{next(){let{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:s?[d(e[0]),d(e[1])]:d(e),done:t}}})}}function It(e){return function(...t){return e===`delete`?!1:e===`clear`?void 0:this}}function Lt(e,t){let n={get(n){let r=this.__v_raw,i=I(r),a=I(n);e||(A(n,a)&&F(i,`get`,n),F(i,`get`,a));let{has:o}=Pt(i),s=t?Nt:e?on:an;if(o.call(i,n))return s(r.get(n));if(o.call(i,a))return s(r.get(a));r!==i&&r.get(n)},get size(){let t=this.__v_raw;return!e&&F(I(t),`iterate`,st),t.size},has(t){let n=this.__v_raw,r=I(n),i=I(t);return e||(A(t,i)&&F(r,`has`,t),F(r,`has`,i)),t===i?n.has(t):n.has(t)||n.has(i)},forEach(n,r){let i=this,a=i.__v_raw,o=I(a),s=t?Nt:e?on:an;return!e&&F(o,`iterate`,st),a.forEach((e,t)=>n.call(r,s(e),s(t),i))}};return l(n,e?{add:It(`add`),set:It(`set`),delete:It(`delete`),clear:It(`clear`)}:{add(e){let n=I(this),r=Pt(n),i=I(e),a=!t&&!tn(e)&&!en(e)?i:e;return r.has.call(n,a)||A(e,a)&&r.has.call(n,e)||A(i,a)&&r.has.call(n,i)||(n.add(a),ut(n,`add`,a,a)),this},set(e,n){!t&&!tn(n)&&!en(n)&&(n=I(n));let r=I(this),{has:i,get:a}=Pt(r),o=i.call(r,e);o||=(e=I(e),i.call(r,e));let s=a.call(r,e);return r.set(e,n),o?A(n,s)&&ut(r,`set`,e,n,s):ut(r,`add`,e,n),this},delete(e){let t=I(this),{has:n,get:r}=Pt(t),i=n.call(t,e);i||=(e=I(e),n.call(t,e));let a=r?r.call(t,e):void 0,o=t.delete(e);return i&&ut(t,`delete`,e,void 0,a),o},clear(){let e=I(this),t=e.size!==0,n=e.clear();return t&&ut(e,`clear`,void 0,void 0,void 0),n}}),[`keys`,`values`,`entries`,Symbol.iterator].forEach(r=>{n[r]=Ft(r,e,t)}),n}function Rt(e,t){let n=Lt(e,t);return(r,i,a)=>i===`__v_isReactive`?!e:i===`__v_isReadonly`?e:i===`__v_isShallow`?t:i===`__v_raw`?r:Reflect.get(f(n,i)&&i in r?n:r,i,a)}var zt={get:Rt(!1,!1)},Bt={get:Rt(!1,!0)},Vt={get:Rt(!0,!1)},Ht={get:Rt(!0,!0)},Ut=new WeakMap,Wt=new WeakMap,Gt=new WeakMap,Kt=new WeakMap;function qt(e){switch(e){case`Object`:case`Array`:return 1;case`Map`:case`Set`:case`WeakMap`:case`WeakSet`:return 2;default:return 0}}function Jt(e){return en(e)?e:Qt(e,!1,kt,zt,Ut)}function Yt(e){return Qt(e,!1,jt,Bt,Wt)}function Xt(e){return Qt(e,!0,At,Vt,Gt)}function Zt(e){return Qt(e,!0,Mt,Ht,Kt)}function Qt(e,t,n,r,i){if(!x(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;let a=i.get(e);if(a)return a;let o=qt(ee(e));if(o===0)return e;let s=new Proxy(e,o===2?r:n);return i.set(e,s),s}function $t(e){return en(e)?$t(e.__v_raw):!!(e&&e.__v_isReactive)}function en(e){return!!(e&&e.__v_isReadonly)}function tn(e){return!!(e&&e.__v_isShallow)}function nn(e){return e?!!e.__v_raw:!1}function I(e){let t=e&&e.__v_raw;return t?I(t):e}function rn(e){return!f(e,`__v_skip`)&&Object.isExtensible(e)&&se(e,`__v_skip`,!0),e}var an=e=>x(e)?Jt(e):e,on=e=>x(e)?Xt(e):e;function L(e){return e?e.__v_isRef===!0:!1}function R(e){return cn(e,!1)}function sn(e){return cn(e,!0)}function cn(e,t){return L(e)?e:new ln(e,t)}var ln=class{constructor(e,t){this.dep=new it,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:I(e),this._value=t?e:an(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){let t=this._rawValue,n=this.__v_isShallow||tn(e)||en(e);e=n?e:I(e),A(e,t)&&(this._rawValue=e,this._value=n?e:an(e),this.dep.trigger())}};function un(e){e.dep&&e.dep.trigger()}function z(e){return L(e)?e.value:e}function dn(e){return v(e)?e():z(e)}var fn={get:(e,t,n)=>t===`__v_raw`?e:z(Reflect.get(e,t,n)),set:(e,t,n,r)=>{let i=e[t];return L(i)&&!L(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function pn(e){return $t(e)?e:new Proxy(e,fn)}var mn=class{constructor(e){this.__v_isRef=!0,this._value=void 0;let t=this.dep=new it,{get:n,set:r}=e(t.track.bind(t),t.trigger.bind(t));this._get=n,this._set=r}get value(){return this._value=this._get()}set value(e){this._set(e)}};function hn(e){return new mn(e)}function gn(e){let t=p(e)?Array(e.length):{};for(let n in e)t[n]=bn(e,n);return t}var _n=class{constructor(e,t,n){this._object=e,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0,this._key=b(t)?t:String(t),this._raw=I(e);let r=!0,i=e;if(!p(e)||b(this._key)||!E(this._key))do r=!nn(i)||tn(i);while(r&&(i=i.__v_raw));this._shallow=r}get value(){let e=this._object[this._key];return this._shallow&&(e=z(e)),this._value=e===void 0?this._defaultValue:e}set value(e){if(this._shallow&&L(this._raw[this._key])){let t=this._object[this._key];if(L(t)){t.value=e;return}}this._object[this._key]=e}get dep(){return dt(this._raw,this._key)}},vn=class{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}};function yn(e,t,n){return L(e)?e:v(e)?new vn(e):x(e)&&arguments.length>1?bn(e,t,n):R(e)}function bn(e,t,n){return new _n(e,t,n)}var xn=class{constructor(e,t,n){this.fn=e,this.setter=t,this._value=void 0,this.dep=new it(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=nt-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&P!==this)return Be(this,!0),!0}get value(){let e=this.dep.track();return Ke(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}};function Sn(e,t,n=!1){let r,i;return v(e)?r=e:(r=e.get,i=e.set),new xn(r,i,n)}var Cn={GET:`get`,HAS:`has`,ITERATE:`iterate`},wn={SET:`set`,ADD:`add`,DELETE:`delete`,CLEAR:`clear`},Tn={},En=new WeakMap,Dn=void 0;function On(){return Dn}function kn(e,t=!1,n=Dn){if(n){let t=En.get(n);t||En.set(n,t=[]),t.push(e)}}function An(e,t,n=r){let{immediate:i,deep:o,once:s,scheduler:c,augmentJob:l,call:d}=n,f=e=>o?e:tn(e)||o===!1||o===0?jn(e,1):jn(e),m,h,g,_,y=!1,b=!1;if(L(e)?(h=()=>e.value,y=tn(e)):$t(e)?(h=()=>f(e),y=!0):p(e)?(b=!0,y=e.some(e=>$t(e)||tn(e)),h=()=>e.map(e=>{if(L(e))return e.value;if($t(e))return f(e);if(v(e))return d?d(e,2):e()})):h=v(e)?t?d?()=>d(e,2):e:()=>{if(g){$e();try{g()}finally{et()}}let t=Dn;Dn=m;try{return d?d(e,3,[_]):e(_)}finally{Dn=t}}:a,t&&o){let e=h,t=o===!0?1/0:o;h=()=>jn(e(),t)}let x=Ne(),S=()=>{m.stop(),x&&x.active&&u(x.effects,m)};if(s&&t){let e=t;t=(...t)=>{try{return e(...t)}finally{S()}}}let C=b?Array(e.length).fill(Tn):Tn,w=e=>{if(m.flags&1&&(m.dirty||e)){if(t){let n=m.run();if(e||o||y||(b?n.some((e,t)=>A(e,C[t])):A(n,C))){let e=Dn;$e();try{g&&g(),Dn=m;let e=[n,C===Tn?void 0:b&&C[0]===Tn?[]:C,_];C=n,d?d(t,3,e):t(...e)}finally{Dn=e,et()}}}else m.run()}};return l&&l(w),m=new Ie(h),m.scheduler=c?()=>c(w,!1):w,_=e=>kn(e,!1,m),g=m.onStop=()=>{let e=En.get(m);if(e){if(d)d(e,4);else for(let t of e)t();En.delete(m)}},t?i?w(!0):C=m.run():c?c(w.bind(null,!0),!0):m.run(),S.pause=m.pause.bind(m),S.resume=m.resume.bind(m),S.stop=S,S}function jn(e,t=1/0,n){if(t<=0||!x(e)||e.__v_skip||(n||=new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,L(e))jn(e.value,t,n);else if(p(e))for(let r=0;r<e.length;r++)jn(e[r],t,n);else if(h(e)||m(e))e.forEach(e=>{jn(e,t,n)});else if(T(e)){for(let r in e)jn(e[r],t,n);for(let r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&jn(e[r],t,n)}return e}var Mn=[];function Nn(e){Mn.push(e)}function Pn(){Mn.pop()}function Fn(e,t){}var In={SETUP_FUNCTION:0,0:`SETUP_FUNCTION`,RENDER_FUNCTION:1,1:`RENDER_FUNCTION`,NATIVE_EVENT_HANDLER:5,5:`NATIVE_EVENT_HANDLER`,COMPONENT_EVENT_HANDLER:6,6:`COMPONENT_EVENT_HANDLER`,VNODE_HOOK:7,7:`VNODE_HOOK`,DIRECTIVE_HOOK:8,8:`DIRECTIVE_HOOK`,TRANSITION_HOOK:9,9:`TRANSITION_HOOK`,APP_ERROR_HANDLER:10,10:`APP_ERROR_HANDLER`,APP_WARN_HANDLER:11,11:`APP_WARN_HANDLER`,FUNCTION_REF:12,12:`FUNCTION_REF`,ASYNC_COMPONENT_LOADER:13,13:`ASYNC_COMPONENT_LOADER`,SCHEDULER:14,14:`SCHEDULER`,COMPONENT_UPDATE:15,15:`COMPONENT_UPDATE`,APP_UNMOUNT_CLEANUP:16,16:`APP_UNMOUNT_CLEANUP`},Ln={sp:`serverPrefetch hook`,bc:`beforeCreate hook`,c:`created hook`,bm:`beforeMount hook`,m:`mounted hook`,bu:`beforeUpdate hook`,u:`updated`,bum:`beforeUnmount hook`,um:`unmounted hook`,a:`activated hook`,da:`deactivated hook`,ec:`errorCaptured hook`,rtc:`renderTracked hook`,rtg:`renderTriggered hook`,0:`setup function`,1:`render function`,2:`watcher getter`,3:`watcher callback`,4:`watcher cleanup function`,5:`native event handler`,6:`component event handler`,7:`vnode hook`,8:`directive hook`,9:`transition hook`,10:`app errorHandler`,11:`app warnHandler`,12:`ref function`,13:`async component loader`,14:`scheduler flush`,15:`component update`,16:`app unmount cleanup function`};function Rn(e,t,n,r){try{return r?e(...r):e()}catch(e){Bn(e,t,n)}}function zn(e,t,n,r){if(v(e)){let i=Rn(e,t,n,r);return i&&S(i)&&i.catch(e=>{Bn(e,t,n)}),i}if(p(e)){let i=[];for(let a=0;a<e.length;a++)i.push(zn(e[a],t,n,r));return i}}function Bn(e,t,n,i=!0){let a=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:s}=t&&t.appContext.config||r;if(t){let r=t.parent,i=t.proxy,a=`https://vuejs.org/error-reference/#runtime-${n}`;for(;r;){let t=r.ec;if(t){for(let n=0;n<t.length;n++)if(t[n](e,i,a)===!1)return}r=r.parent}if(o){$e(),Rn(o,null,10,[e,i,a]),et();return}}Vn(e,n,a,i,s)}function Vn(e,t,n,r=!0,i=!1){if(i)throw e;console.error(e)}var Hn=[],Un=-1,Wn=[],Gn=null,Kn=0,qn=Promise.resolve(),Jn=null;function Yn(e){let t=Jn||qn;return e?t.then(this?e.bind(this):e):t}function Xn(e){let t=Un+1,n=Hn.length;for(;t<n;){let r=t+n>>>1,i=Hn[r],a=ir(i);a<e||a===e&&i.flags&2?t=r+1:n=r}return t}function Zn(e){if(!(e.flags&1)){let t=ir(e),n=Hn[Hn.length-1];!n||!(e.flags&2)&&t>=ir(n)?Hn.push(e):Hn.splice(Xn(t),0,e),e.flags|=1,Qn()}}function Qn(){Jn||=qn.then(ar)}function $n(e){if(!p(e))Gn&&e.id===-1?Gn.splice(Kn+1,0,e):e.flags&1||(Wn.push(e),e.flags|=1);else for(let t=0;t<e.length;t++)Wn.push(e[t]);Qn()}function er(e,t,n,r=Un+1){for(;r<Hn.length;r++){let n=Hn[r];if(n&&n.flags&2){if(e&&n.id!==e.uid||t!==void 0&&!(n.id>=t))continue;Hn.splice(r,1),r=e?r-1:Un,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function tr(e,t,n=0){if(Wn.length){let e=Wn,r=0;if(t){e=[];for(let i=0;i<Wn.length;i++){let a=Wn[i];(a.i===void 0?t.has(a):!a.i||a.i.uid<n)?Wn[r++]=a:e.push(a)}}let i=[...new Set(e)].sort((e,t)=>ir(e)-ir(t));if(Wn.length=r,Gn){for(let e=0;e<i.length;e++)Gn.push(i[e]);return}for(Gn=i,Kn=0;Kn<Gn.length;Kn++){let e=Gn[Kn];e.flags&4&&(e.flags&=-2),e.flags&8||e(),e.flags&=-2}Gn=null,Kn=0}}var nr=!1;function rr(e,t){if(nr){e();return}let n=t===void 0?void 0:new Set(Wn);e(),nr=!0;try{er(void 0,t),tr(void 0,n,t)}finally{nr=!1}}var ir=e=>e.id==null?e.flags&2?-1:1/0:e.id;function ar(e){try{for(Un=0;Un<Hn.length;Un++){let e=Hn[Un];e&&!(e.flags&8)&&(e.flags&4&&(e.flags&=-2),Rn(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2))}}finally{for(;Un<Hn.length;Un++){let e=Hn[Un];e&&(e.flags&=-2)}Un=-1,Hn.length=0,tr(e),Jn=null,(Hn.length||Wn.length)&&ar(e)}}var or,sr=[];function cr(e,t){or=e,or?(or.enabled=!0,sr.forEach(({event:e,args:t})=>or.emit(e,...t)),sr=[]):typeof window<`u`&&window.HTMLElement&&!(window.navigator?.userAgent)?.includes(`jsdom`)?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(e=>{cr(e,t)}),setTimeout(()=>{or||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,sr=[])},3e3)):sr=[]}var lr=null,ur=null;function dr(e){let t=lr;return lr=e,ur=e&&e.type.__scopeId||null,t}function fr(e){ur=e}function pr(){ur=null}var mr=e=>B;function B(e,t=lr,n){if(!t||e._n)return e;let r=(...n)=>{r._d&&ps(-1);let i=dr(t),a=ls.length,o;try{o=e(...n)}finally{for(let e=ls.length;e>a;e--)ds();dr(i),r._d&&ps(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function hr(e,t){if(lr===null)return e;let n=Xs(lr),i=e.dirs||=[];for(let e=0;e<t.length;e++){let[a,o,s,c=r]=t[e];a&&(v(a)&&(a={mounted:a,updated:a}),a.deep&&jn(o),i.push({dir:a,instance:n,value:o,oldValue:void 0,arg:s,modifiers:c}))}return e}function gr(e,t,n,r){let i=e.dirs,a=t&&t.dirs;for(let o=0;o<i.length;o++){let s=i[o];a&&(s.oldValue=a[o].value);let c=s.dir[r];c&&($e(),zn(c,n,8,[e.el,s,e,t]),et())}}function _r(e,t){if(Ns){let n=Ns.provides,r=Ns.parent&&Ns.parent.provides;r===n&&(n=Ns.provides=Object.create(r)),n[e]=t}}function vr(e,t,n=!1){let r=Z();if(r||no){let i=no?no._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(i&&e in i)return i[e];if(arguments.length>1)return n&&v(t)?t.call(r&&r.proxy):t}}function yr(){return!!(Z()||no)}var br=Symbol.for(`v-scx`),xr=()=>vr(br);function Sr(e,t){return Er(e,null,t)}function Cr(e,t){return Er(e,null,{flush:`post`})}function wr(e,t){return Er(e,null,{flush:`sync`})}function Tr(e,t,n){return Er(e,t,n)}function Er(e,t,n=r){let{immediate:i,deep:o,flush:s,once:c}=n,u=l({},n),d=t&&i||!t&&s!==`post`,f;if(zs){if(s===`sync`){let e=xr();f=e.__watcherHandles||=[]}else if(!d){let e=()=>{};return e.stop=a,e.resume=a,e.pause=a,e}}let p=Ns;u.call=(e,t,n)=>zn(e,p,t,n);let m=!1;s===`post`?u.scheduler=e=>{e.i=p,Io(e,p&&p.suspense)}:s!==`sync`&&(m=!0,u.scheduler=(e,t)=>{t?e():Zn(e)}),u.augmentJob=e=>{t&&(e.flags|=4),m&&(e.flags|=2,p&&(e.id=p.uid,e.i=p))};let h=An(e,t,u);return zs&&(f?f.push(h):d&&h()),h}function Dr(e,t,n){let r=this.proxy,i=y(e)?e.includes(`.`)?Or(r,e):()=>r[e]:e.bind(r,r),a;v(t)?a=t:(a=t.handler,n=t);let o=Is(this),s=Er(i,a.bind(r),n);return o(),s}function Or(e,t){let n=t.split(`.`);return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}var kr=new WeakMap,Ar=Symbol(`_vte`),jr=e=>e.__isTeleport,Mr=e=>e&&(e.disabled||e.disabled===``),Nr=e=>e&&(e.defer||e.defer===``),Pr=e=>typeof SVGElement<`u`&&e instanceof SVGElement,Fr=e=>typeof MathMLElement==`function`&&e instanceof MathMLElement,Ir=(e,t)=>{let n=e&&e.to;return y(n)?t?t(n):null:n},Lr={name:`Teleport`,__isTeleport:!0,process(e,t,n,r,i,a,o,s,c,l){let{mc:u,pc:d,pbc:f,o:{insert:p,querySelector:m,createText:h,createComment:g,parentNode:_}}=l,v=Mr(t.props),{dynamicChildren:y}=t,b=(e,t,n)=>{e.shapeFlag&16&&u(e.children,t,n,i,a,o,s,c)},x=(e=t)=>{let n=Mr(e.props),r=e.target=Ir(e.props,m),a=Hr(r,e,h,p);r&&(o!==`svg`&&Pr(r)?o=`svg`:o!==`mathml`&&Fr(r)&&(o=`mathml`),i&&i.isCE&&(i.ce._teleportTargets||(i.ce._teleportTargets=new Set)).add(r),n||(b(e,r,a),Vr(e,!1)))},S=e=>{let t=()=>{if(kr.get(e)===t){if(kr.delete(e),Mr(e.props)){let t=_(e.el)||n;b(e,t,e.anchor),Vr(e,!0)}x(e)}};kr.set(e,t),Io(t,a)};if(e==null){let e=t.el=h(``),i=t.anchor=h(``);if(p(e,n,r),p(i,n,r),Nr(t.props)||a&&a.pendingBranch){S(t);return}v&&(b(t,n,i),Vr(t,!0)),x()}else{t.el=e.el;let r=t.anchor=e.anchor,u=kr.get(e);if(u){u.flags|=8,kr.delete(e),S(t);return}t.targetStart=e.targetStart;let p=t.target=e.target,h=t.targetAnchor=e.targetAnchor,g=Mr(e.props),_=g?n:p,b=g?r:h;if(o===`svg`||Pr(p)?o=`svg`:(o===`mathml`||Fr(p))&&(o=`mathml`),y?(f(e.dynamicChildren,y,_,i,a,o,s),Uo(e,t,!0)):c||d(e,t,_,b,i,a,o,s,!1),v)g?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Rr(t,n,r,l,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){let e=Ir(t.props,m);e&&(t.target=e,Rr(t,e,null,l,0))}else g&&Rr(t,p,h,l,1);Vr(t,v)}},remove(e,t,n,{um:r,o:{remove:i}},a){let{shapeFlag:o,children:s,anchor:c,targetStart:l,targetAnchor:u,target:d,props:f}=e,p=Mr(f),m=a||!p,h=kr.get(e);if(h&&(h.flags|=8,kr.delete(e)),d&&(i(l),i(u)),a&&i(c),!h&&(p||d)&&o&16)for(let e=0;e<s.length;e++){let i=s[e];r(i,t,n,m,!!i.dynamicChildren)}},move:Rr,hydrate:zr};function Rr(e,t,n,{o:{insert:r},m:i},a=2){a===0&&(e.targetStart&&r(e.targetStart,t,n),r(e.targetAnchor,t,n),n=e.targetAnchor);let{el:o,anchor:s,shapeFlag:c,children:l,props:u}=e,d=a===2;if(d&&r(o,t,n),!kr.has(e)&&(!d||Mr(u))&&c&16)for(let e=0;e<l.length;e++)i(l[e],t,n,2);d&&r(s,t,n)}function zr(e,t,n,r,i,a,{o:{nextSibling:o,parentNode:s,querySelector:c,insert:l,createText:u}},d){function f(e,n){let r=n;for(;r;){if(r&&r.nodeType===8){if(r.data===`teleport start anchor`)t.targetStart=r;else if(r.data===`teleport anchor`){t.targetAnchor=r,e._lpa=t.targetAnchor&&o(t.targetAnchor);break}}r=o(r)}}function p(e,t){t.anchor=d(o(e),t,s(e),n,r,i,a)}let m=t.target=Ir(t.props,c),h=Mr(t.props);if(m){let c=m._lpa||m.firstChild;t.shapeFlag&16&&(h?(p(e,t),f(m,c),t.targetAnchor||Hr(m,t,u,l,s(e)===m?e:null)):(t.anchor=o(e),f(m,c),t.targetAnchor||Hr(m,t,u,l),d(c&&o(c),t,m,n,r,i,a))),Vr(t,h)}else h&&t.shapeFlag&16&&(p(e,t),t.targetStart=e,t.targetAnchor=o(e));return t.anchor&&o(t.anchor)}var Br=Lr;function Vr(e,t){let n=e.ctx;if(n&&n.ut){let r,i;for(t?(r=e.el,i=e.anchor):(r=e.targetStart,i=e.targetAnchor);r&&r!==i;)r.nodeType===1&&r.setAttribute(`data-v-owner`,n.uid),r=r.nextSibling;n.ut()}}function Hr(e,t,n,r,i=null){let a=t.targetStart=n(``),o=t.targetAnchor=n(``);return a[Ar]=o,e&&(r(a,e,i),r(o,e,i)),o}var Ur=Symbol(`_leaveCb`),Wr=Symbol(`_enterCb`);function Gr(){let e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Xi(()=>{e.isMounted=!0}),$i(()=>{e.isUnmounting=!0}),e}var Kr=[Function,Array],qr={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Kr,onEnter:Kr,onAfterEnter:Kr,onEnterCancelled:Kr,onBeforeLeave:Kr,onLeave:Kr,onAfterLeave:Kr,onLeaveCancelled:Kr,onBeforeAppear:Kr,onAppear:Kr,onAfterAppear:Kr,onAppearCancelled:Kr},Jr={name:`BaseTransition`,props:qr,setup(e,{slots:t}){let n=Z(),r=Gr();return()=>{let i=t.default&&ni(t.default(),!0),a=i&&i.length?Yr(i):n.subTree?X():void 0;if(!a)return;let o=I(e),{mode:s}=o;if(r.isLeaving)return $r(a);let c=ei(a);if(!c)return $r(a);let l=Qr(c,o,r,n,e=>l=e);c.type!==U&&ti(c,l);let u=n.subTree&&ei(n.subTree);if(u&&u.type!==U&&!gs(u,c)&&ri(n.subTree)){let e=Qr(u,o,r,n);if(ti(u,e),s===`out-in`&&c.type!==U)return r.isLeaving=!0,e.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete e.afterLeave,u=void 0},$r(a);s===`in-out`&&c.type!==U?e.delayLeave=(e,t,n)=>{let i=Zr(r,u);i[String(u.key)]=u,e[Ur]=()=>{t(),e[Ur]=void 0,delete l.delayedLeave,u=void 0},l.delayedLeave=()=>{n(),delete l.delayedLeave,u=void 0}}:u=void 0}else u&&=void 0;return a}}};function Yr(e){let t=e[0];if(e.length>1){for(let n of e)if(n.type!==U){t=n;break}}return t}var Xr=Jr;function Zr(e,t){let{leavingVNodes:n}=e,r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Qr(e,t,n,r,i){let{appear:a,mode:o,persisted:s=!1,onBeforeEnter:c,onEnter:l,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:f,onLeave:m,onAfterLeave:h,onLeaveCancelled:g,onBeforeAppear:_,onAppear:v,onAfterAppear:y,onAppearCancelled:b}=t,x=String(e.key),S=Zr(n,e),C=(e,t)=>{e&&zn(e,r,9,t)},w=(e,t)=>{let n=t[1];C(e,t),p(e)?e.every(e=>e.length<=1)&&n():e.length<=1&&n()},ee={mode:o,persisted:s,beforeEnter(t){let r=c;if(!n.isMounted){if(a)r=_||c;else return}t[Ur]&&t[Ur](!0);let i=S[x];if(i&&gs(e,i)){let e=i.el[Ur];if(!e){let t=ri(i);e=t&&t.el[Ur]}e&&e()}C(r,[t])},enter(t){if(S[x]===e)return;let r=l,i=u,o=d;if(!n.isMounted){if(a)r=v||l,i=y||u,o=b||d;else return}let s=!1;t[Wr]=e=>{s||(s=!0,C(e?o:i,[t]),ee.delayedLeave&&ee.delayedLeave(),t[Wr]=void 0)};let c=t[Wr].bind(null,!1);r?w(r,[t,c]):c()},leave(t,r){let i=String(e.key);if(t[Wr]&&t[Wr](!0),n.isUnmounting)return r();C(f,[t]);let a=!1;t[Ur]=n=>{a||(a=!0,r(),C(n?g:h,[t]),t[Ur]=void 0,S[i]===e&&delete S[i])};let o=t[Ur].bind(null,!1);S[i]=e,m?w(m,[t,o]):o()},clone(e){let a=Qr(e,t,n,r,i);return i&&i(a),a}};return ee}function $r(e){if(Ri(e))return e=Ss(e),e.children=null,e}function ei(e){if(!Ri(e))return jr(e.type)&&e.children?Yr(e.children):e;if(e.component)return e.component.subTree;let{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&v(n.default))return n.default()}}function ti(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;let n=e.component.subTree;ti(jr(n.type)&&ei(n)||n,t)}else if(e.shapeFlag&128)e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback);else if(e.transition=t,e.type===H&&p(e.children)){let n=uo(e.children,!1);n&&ti(n,t)}}function ni(e,t=!1,n){let r=[],i=0;for(let a=0;a<e.length;a++){let o=e[a],s=n==null?o.key:String(n)+String(o.key==null?a:o.key);o.type===H?(o.patchFlag&128&&i++,r=r.concat(ni(o.children,t,s))):(t||o.type!==U)&&r.push(s==null?o:Ss(o,{key:s}))}if(i>1)for(let e=0;e<r.length;e++)r[e].patchFlag=-2;return r}function ri(e){if(e.component)return ri(e.component.subTree);if(e.type===H){let t=p(e.children)&&uo(e.children,!1);return t?ri(t):void 0}if(e.type!==U)return e}function V(e,t){return v(e)?l({name:e.name},t,{setup:e}):e}function ii(){let e=Z();return e?(e.appContext.config.idPrefix||`v`)+`-`+e.ids[0]+e.ids[1]++:``}function ai(e){e.ids=[e.ids[0]+e.ids[2]+++`-`,0,0]}function oi(e){let t=Z(),n=sn(null);if(t){let i=t.refs===r?t.refs={}:t.refs;Object.defineProperty(i,e,{enumerable:!0,get:()=>n.value,set:e=>n.value=e})}return n}function si(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}var ci=new WeakMap;function li(e,t,n,i,a=!1){if(p(e)){e.forEach((e,r)=>li(e,t&&(p(t)?t[r]:t),n,i,a));return}if(Fi(i)&&!a){i.shapeFlag&512&&i.type.__asyncResolved&&i.component.subTree.component&&li(e,t,n,i.component.subTree);return}let s=i.shapeFlag&4?Xs(i.component):i.el,c=a?null:s,{i:l,r:d}=e,m=t&&t.r,h=l.refs===r?l.refs={}:l.refs,g=l.setupState,_=I(g),b=g===r?o:e=>!si(h,e)&&f(_,e),x=(e,t)=>!(t&&si(h,t));if(m!=null&&m!==d){if(ui(t),y(m))h[m]=null,b(m)&&(g[m]=null);else if(L(m)){let e=t;x(m,e.k)&&(m.value=null),e.k&&(h[e.k]=null)}}if(v(d))Rn(d,l,12,[c,h]);else{let t=y(d),r=L(d);if(t||r){let i=()=>{if(e.f){let n=t?b(d)?g[d]:h[d]:x(d)||!e.k?d.value:h[e.k];if(a)p(n)&&u(n,s);else if(p(n))n.includes(s)||n.push(s);else if(t)h[d]=[s],b(d)&&(g[d]=h[d]);else{let t=[s];x(d,e.k)&&(d.value=t),e.k&&(h[e.k]=t)}}else t?(h[d]=c,b(d)&&(g[d]=c)):r&&(x(d,e.k)&&(d.value=c),e.k&&(h[e.k]=c))};if(c){let t=()=>{i(),ci.delete(e)};t.id=-1,ci.set(e,t),Io(t,n)}else ui(e),i()}}}function ui(e){let t=ci.get(e);t&&(t.flags|=8,ci.delete(e))}var di=!1,fi=()=>{di||=(console.error(`Hydration completed but contains mismatches.`),!0)},pi=e=>e.namespaceURI.includes(`svg`)&&e.tagName!==`foreignObject`,mi=e=>e.namespaceURI.includes(`MathML`),hi=e=>{if(e.nodeType===1){if(pi(e))return`svg`;if(mi(e))return`mathml`}},gi=e=>e.nodeType===8;function _i(e){let{mt:t,p:n,o:{patchProp:r,createText:i,nextSibling:a,parentNode:o,remove:c,insert:l,createComment:u}}=e,d=(e,t)=>{t.hasChildNodes()?(f(t.firstChild,e,null,null,null),tr(),t._vnode=e):(n(null,e,t),tr(),t._vnode=e)},f=(n,r,s,c,u,d=!1)=>{d||=!!r.dynamicChildren;let b=gi(n)&&n.data===`[`,x=()=>g(n,r,s,c,u,b),{type:S,ref:C,shapeFlag:w,patchFlag:ee}=r,T=n.nodeType;r.el=n,ee===-2&&(d=!1,r.dynamicChildren=null);let E=null;switch(S){case ss:T===3?(n.data!==r.children&&(fi(),n.data=r.children),E=a(n)):r.children===``?(l(r.el=i(``),o(n),n),E=n):E=x();break;case U:y(n)?(E=a(n),v(r.el=n.content.firstChild,n,s)):E=T!==8||b?x():a(n);break;case cs:if(b&&(n=a(n),T=n.nodeType),T===1||T===3){E=n;let e=!r.children.length;for(let t=0;t<r.staticCount;t++)e&&(r.children+=E.nodeType===1?E.outerHTML:E.data),t===r.staticCount-1&&(r.anchor=E),E=a(E);return b?a(E):E}x();break;case H:E=b?h(n,r,s,c,u,d):x();break;default:if(w&1)E=(T!==1||r.type.toLowerCase()!==n.tagName.toLowerCase())&&!y(n)?x():p(n,r,s,c,u,d);else if(w&6){r.slotScopeIds=u;let e=o(n);if(E=b?_(n):gi(n)&&n.data===`teleport start`?_(n,n.data,`teleport end`):a(n),t(r,e,null,s,c,hi(e),d),(Fi(r)||r.component.asyncDep)&&!r.component.subTree){let t;b?(t=J(cs),t.anchor=E?E.previousSibling:e.lastChild):t=n.nodeType===3?Y(``):J(n.nodeType===8?U:`div`),t.el=n,r.component.subTree=t}}else w&64?E=T===8?r.type.hydrate(n,r,s,c,u,d,e,m):x():w&128&&(E=r.type.hydrate(n,r,s,c,hi(o(n)),u,d,e,f))}return C!=null&&li(C,null,c,r),E},p=(e,t,n,i,a,o)=>{o||=!!t.dynamicChildren;let{type:l,dynamicProps:u,props:d,patchFlag:f,shapeFlag:p,dirs:h,transition:g}=t,_=l===`input`||l===`option`,b=!!u;if(_||b||f!==-1){h&&gr(t,null,n,`created`);let l=!1;if(y(e)){l=Ho(null,g)&&n&&n.vnode.props&&n.vnode.props.appear;let r=e.content.firstChild;if(l){let e=r.getAttribute(`class`);e&&(r.$cls=e),g.beforeEnter(r)}v(r,e,n),t.el=e=r}if(p&16&&!(d&&(d.innerHTML||d.textContent))){let r=m(e.firstChild,t,e,n,i,a,o);for(r&&!Si(e,1)&&fi();r;){let e=r;r=r.nextSibling,c(e)}}else if(p&8){let n=t.children;n[0]===`
|
|
2
|
+
`&&(e.tagName===`PRE`||e.tagName===`TEXTAREA`)&&(n=n.slice(1));let{textContent:r}=e;r!==n&&r!==n.replace(/\r\n|\r/g,`
|
|
3
|
+
`)&&(Si(e,0)||fi(),e.textContent=t.children)}if(d){if(_||b||!o||f&48){let t=e.tagName.includes(`-`),i=e.namespaceURI.includes(`svg`)?`svg`:e.namespaceURI.includes(`MathML`)?`mathml`:void 0;for(let a in d)if(_&&(a.endsWith(`value`)||a===`indeterminate`)||s(a)&&!te(a)||a[0]===`.`||t&&!te(a)||u&&u.includes(a)){if(yi(e,a,d[a]))continue;r(e,a,null,d[a],i,n)}}else if(d.onClick)r(e,`onClick`,null,d.onClick,void 0,n);else if(f&4&&$t(d.style))for(let e in d.style)d.style[e]}let x;(x=d&&d.onVnodeBeforeMount)&&Os(x,n,t),h&&gr(t,null,n,`beforeMount`),((x=d&&d.onVnodeMounted)||h||l)&&is(()=>{x&&Os(x,n,t),l&&g.enter(e),h&&gr(t,null,n,`mounted`)},i)}return e.nextSibling},m=(e,t,r,o,s,c,u)=>{u||=!!t.dynamicChildren;let d=t.children,p=d.length,m=!1;for(let t=0;t<p;t++){let h=u?d[t]:d[t]=ws(d[t]),g=h.type===ss;e?(g&&!u&&t+1<p&&ws(d[t+1]).type===ss&&(l(i(e.data.slice(h.children.length)),r,a(e)),e.data=h.children),e=f(e,h,o,s,c,u)):g&&!h.children?l(h.el=i(``),r):(m||(m=!0,Si(r,1)||fi()),n(null,h,r,null,o,s,hi(r),c))}return e},h=(e,t,n,r,i,s)=>{let{slotScopeIds:c}=t;c&&(i=i?i.concat(c):c);let d=o(e),f=m(a(e),t,d,n,r,i,s);return f&&gi(f)&&f.data===`]`?a(t.anchor=f):(fi(),l(t.anchor=u(`]`),d,f),f)},g=(e,t,r,i,s,l)=>{if(wi(e,t)||fi(),t.el=null,l){let t=_(e);for(;;){let n=a(e);if(n&&n!==t)c(n);else break}}let u=a(e),d=o(e);return c(e),n(null,t,d,u,r,i,hi(d),s),r&&(r.vnode.el=t.el,_o(r,t.el)),u},_=(e,t=`[`,n=`]`)=>{let r=0;for(;e;)if(e=a(e),e&&gi(e)&&(e.data===t&&r++,e.data===n)){if(r===0)return a(e);r--}return e},v=(e,t,n)=>{let r=t.parentNode;r&&r.replaceChild(e,t);let i=n;for(;i;)i.vnode.el===t&&(i.vnode.el=i.subTree.el=e),i=i.parent},y=e=>e.nodeType===1&&e.tagName===`TEMPLATE`;return[d,f]}var vi=new Set([`src`,`srcset`,`href`,`poster`]);function yi(e,t,n){return vi.has(t)?e.getAttribute(t)===(n==null?null:`${n}`):!1}var bi=`data-allow-mismatch`,xi={0:`text`,1:`children`,2:`class`,3:`style`,4:`attribute`};function Si(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(bi);)e=e.parentElement;return Ci(e&&e.getAttribute(bi),t)}function Ci(e,t){if(e==null)return!1;if(e===``)return!0;{let n=e.split(`,`);return t===0&&n.includes(`children`)?!0:n.includes(xi[t])}}function wi(e,t){return Si(e.parentElement,1)||Ti(e)||Ei(t)}function Ti(e){return e.nodeType===1&&Ci(e.getAttribute(bi),1)}function Ei({props:e}){let t=e&&e[bi];return typeof t==`string`&&Ci(t,1)}var Di=de().requestIdleCallback||(e=>setTimeout(e,1)),Oi=de().cancelIdleCallback||(e=>clearTimeout(e)),ki=(e=1e4)=>t=>{let n=Di(t,{timeout:e});return()=>Oi(n)};function Ai(e){let{top:t,left:n,bottom:r,right:i}=e.getBoundingClientRect(),{innerHeight:a,innerWidth:o}=window;return(t>0&&t<a||r>0&&r<a)&&(n>0&&n<o||i>0&&i<o)}var ji=e=>(t,n)=>{let r=new IntersectionObserver(e=>{for(let n of e)if(n.isIntersecting){r.disconnect(),t();break}},e),i=e=>{if(Ai(e))return t(),r.disconnect(),!1;if(getComputedStyle(e).display===`contents`){for(let t=0;t<e.children.length;t++)if(i(e.children[t])===!1)return!1}r.observe(e)};return n(e=>{if(e instanceof Element)return i(e)}),()=>r.disconnect()},Mi=e=>t=>{if(e){let n=matchMedia(e);if(n.matches)t();else return n.addEventListener(`change`,t,{once:!0}),()=>n.removeEventListener(`change`,t)}},Ni=(e=[])=>(t,n)=>{y(e)&&(e=[e]);let r=!1,i=e=>{r||(r=!0,a(),t(),e.target.dispatchEvent(new e.constructor(e.type,e)))},a=()=>{n(t=>{for(let n of e)t.removeEventListener(n,i)})};return n(t=>{for(let n of e)t.addEventListener(n,i,{once:!0})}),a};function Pi(e,t){if(gi(e)&&e.data===`[`){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(gi(r)){if(r.data===`]`){if(--n===0)break}else r.data===`[`&&n++}r=r.nextSibling}}else t(e)}var Fi=e=>!!e.type.__asyncLoader;function Ii(e){v(e)&&(e={loader:e});let{loader:t,loadingComponent:n,errorComponent:r,delay:i=200,hydrate:a,timeout:o,suspensible:s=!0,onError:c}=e,l=null,u,d=0,f=()=>(d++,l=null,p()),p=()=>{let e;return l||(e=l=t().catch(e=>{if(e=e instanceof Error?e:Error(String(e)),c)return new Promise((t,n)=>{c(e,()=>t(f()),()=>n(e),d+1)});throw e}).then(t=>e!==l&&l?l:(t&&(t.__esModule||t[Symbol.toStringTag]===`Module`)&&(t=t.default),u=t,t)))};return V({name:`AsyncComponentWrapper`,__asyncLoader:p,__asyncHydrate(e,t,n){let r=e.isConnected,i=!1;(t.bu||=[]).push(()=>i=!0);let o=()=>{i||!e.parentNode||r&&!e.isConnected||n()},s=a?()=>{let n=a(o,t=>Pi(e,t));n&&(t.bum||=[]).push(n)}:o;u?s():p().then(()=>!t.isUnmounted&&s())},get __asyncResolved(){return u},setup(){let e=Ns;if(ai(e),u)return()=>Li(u,e);let t=t=>{l=null,Bn(t,e,13,!r)};if(s&&e.suspense||zs)return p().then(t=>()=>Li(t,e)).catch(e=>(t(e),()=>r?J(r,{error:e}):null));let a=R(!1),c=R(),d=R(!!i),f,m;return ea(()=>{f!=null&&clearTimeout(f),m!=null&&clearTimeout(m)}),i&&(m=setTimeout(()=>{e.isUnmounted||(d.value=!1)},i)),o!=null&&(f=setTimeout(()=>{if(!e.isUnmounted&&!a.value&&!c.value){let e=Error(`Async component timed out after ${o}ms.`);t(e),c.value=e}},o)),p().then(()=>{e.isUnmounted||(a.value=!0,e.parent&&Ri(e.parent.vnode)&&e.parent.update())}).catch(n=>{e.isUnmounted?l=null:(t(n),c.value=n)}),()=>{if(a.value&&u)return Li(u,e);if(c.value&&r)return J(r,{error:c.value});if(n&&!d.value)return Li(n,e)}}})}function Li(e,t){let{ref:n,props:r,children:i,ce:a}=t.vnode,o=J(e,r,i);return o.ref=n,o.ce=a,delete t.vnode.ce,o}var Ri=e=>e.type.__isKeepAlive,zi={name:`KeepAlive`,__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){let n=Z(),r=n.ctx;if(!r.renderer)return()=>{let e=t.default&&t.default();return e&&e.length===1?e[0]:e};let i=new Map,a=new Set,o=null,s=n.suspense,{renderer:{p:c,m:l,um:u,o:{createElement:d}}}=r,f=d(`div`);r.activate=(e,t,n,r,i)=>{let a=e.component;l(e,t,n,0,s),c(a.vnode,e,t,n,a,s,r,e.slotScopeIds,i),Io(()=>{a.isDeactivated=!1,a.a&&oe(a.a);let t=e.props&&e.props.onVnodeMounted;t&&Os(t,a.parent,e)},s)},r.deactivate=e=>{let t=e.component;Ko(t.m),Ko(t.a),l(e,f,null,1,s),Io(()=>{t.da&&oe(t.da);let n=e.props&&e.props.onVnodeUnmounted;n&&Os(n,t.parent,e),t.isDeactivated=!0},s)};function p(e){Gi(e),u(e,n,s,!0)}function m(e){i.forEach((t,n)=>{let r=Zs(Fi(t)?t.type.__asyncResolved||{}:t.type);r&&!e(r)&&h(n)})}function h(e){let t=i.get(e);t&&(!o||!gs(t,o))?p(t):o&&(Gi(o),t&&Gi(t)),i.delete(e),a.delete(e)}Tr(()=>[e.include,e.exclude],([e,t])=>{e&&m(t=>Bi(e,t)),t&&m(e=>!Bi(t,e))},{flush:`post`,deep:!0});let g=null,_=()=>{g!=null&&(Jo(n.subTree.type)?Io(()=>{let e=Ki(n.subTree);e.component&&i.set(g,e)},n.subTree.suspense):i.set(g,Ki(n.subTree)))};return Xi(_),Qi(_),$i(()=>{i.forEach(e=>{let{subTree:t,suspense:r}=n,i=Ki(t);if(e.type===i.type&&e.key===i.key){Gi(i);let e=i.component.da;e&&Io(e,r)}else p(e)})}),()=>{if(g=null,!t.default)return o=null;let n=t.default(),r=n[0];if(n.length>1)return o=null,n;if(!hs(r)||!(r.shapeFlag&4)&&!(r.shapeFlag&128))return o=null,r;let s=Ki(r);if(s.type===U)return o=null,s;let c=s.type,l=Zs(Fi(s)?s.type.__asyncResolved||{}:c),{include:u,exclude:d,max:f}=e;if(u&&(!l||!Bi(u,l))||d&&l&&Bi(d,l))return s.shapeFlag&=-257,o=s,r;let p=s.key==null?c:s.key,m=i.get(p);return s.el&&(s=Ss(s),r.shapeFlag&128&&(r.ssContent=s)),g=p,m?(s.el=m.el,s.component=m.component,s.transition&&ti(s,s.transition),s.shapeFlag|=512,a.delete(p),a.add(p)):(a.add(p),f&&a.size>parseInt(f,10)&&h(a.values().next().value)),s.shapeFlag|=256,o=s,Jo(r.type)?r:s}}};function Bi(e,t){return p(e)?e.some(e=>Bi(e,t)):y(e)?e.split(`,`).includes(t):_(e)?(e.lastIndex=0,e.test(t)):!1}function Vi(e,t){Ui(e,`a`,t)}function Hi(e,t){Ui(e,`da`,t)}function Ui(e,t,n=Ns){let r=e.__wdc||=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()};if(qi(t,r,n),n){let e=n.parent;for(;e&&e.parent;)Ri(e.parent.vnode)&&Wi(r,t,n,e),e=e.parent}}function Wi(e,t,n,r){let i=qi(t,e,r,!0);ea(()=>{u(r[t],i)},n)}function Gi(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Ki(e){return e.shapeFlag&128?e.ssContent:e}function qi(e,t,n=Ns,r=!1){if(n){let i=n[e]||(n[e]=[]),a=t.__weh||=(...r)=>{$e();let i=Is(n),a=zn(t,n,e,r);return i(),et(),a};return r?i.unshift(a):i.push(a),a}}var Ji=e=>(t,n=Ns)=>{(!zs||e===`sp`)&&qi(e,(...e)=>t(...e),n)},Yi=Ji(`bm`),Xi=Ji(`m`),Zi=Ji(`bu`),Qi=Ji(`u`),$i=Ji(`bum`),ea=Ji(`um`),ta=Ji(`sp`),na=Ji(`rtg`),ra=Ji(`rtc`);function ia(e,t=Ns){qi(`ec`,e,t)}var aa=`components`,oa=`directives`;function sa(e,t){return da(aa,e,!0,t)||e}var ca=Symbol.for(`v-ndc`);function la(e){return y(e)?da(aa,e,!1)||e:e||ca}function ua(e){return da(oa,e)}function da(e,t,n=!0,r=!1){let i=lr||Ns;if(i){let n=i.type;if(e===aa){let e=Zs(n,!1);if(e&&(e===t||e===D(t)||e===ae(D(t))))return n}let a=fa(i[e]||n[e],t)||fa(i.appContext[e],t);return!a&&r?n:a}}function fa(e,t){return e&&(e[t]||e[D(t)]||e[ae(D(t))])}function pa(e,t,n,r){let i,a=n&&n[r],o=p(e);if(o||y(e)){let n=o&&$t(e),r=!1,s=!1;n&&(r=!tn(e),s=en(e),e=pt(e)),i=Array(e.length);for(let n=0,o=e.length;n<o;n++)i[n]=t(r?s?on(an(e[n])):an(e[n]):e[n],n,void 0,a&&a[n])}else if(typeof e==`number`){if(!Number.isInteger(e)||e<0)i=[];else{i=Array(e);for(let n=0;n<e;n++)i[n]=t(n+1,n,void 0,a&&a[n])}}else if(x(e)){if(e[Symbol.iterator])i=Array.from(e,(e,n)=>t(e,n,void 0,a&&a[n]));else{let n=Object.keys(e);i=Array(n.length);for(let r=0,o=n.length;r<o;r++){let o=n[r];i[r]=t(e[o],o,r,a&&a[r])}}}else i=[];return n&&(n[r]=i),i}function ma(e,t){for(let n=0;n<t.length;n++){let r=t[n];if(p(r))for(let t=0;t<r.length;t++)e[r[t].name]=r[t].fn;else r&&(e[r.name]=r.key?(...e)=>{let t=r.fn(...e);return t&&(t.key=r.key),t}:r.fn)}return e}function ha(e,t,n,r,i,a){if(n??={},lr.ce||lr.parent&&Fi(lr.parent)&&lr.parent.ce){let e=a!=null&&n.key==null?l({},n,{key:a}):n,i=Object.keys(e).length>0;return t!=="default"&&(e.name=t),W(),K(H,null,[J(`slot`,e,r&&r())],i?-2:64)}let o=e[t];o&&o._c&&(o._d=!1);let s=ls.length;W();let c;try{let i=o&&ga(o(n)),s=n.key||a||i&&i.key;c=K(H,{key:(s&&!b(s)?s:`_${t}`)+(!i&&r?`_fb`:``)},i||(r?r():[]),i&&e._===1?64:-2)}catch(e){for(let e=ls.length;e>s;e--)ds();throw e}finally{o&&o._c&&(o._d=!0)}return!i&&c.scopeId&&(c.slotScopeIds=[c.scopeId+`-s`]),c}function ga(e){return e.some(e=>!hs(e)||!(e.type===U||e.type===H&&!ga(e.children)))?e:null}function _a(e,t){let n={};for(let r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:k(r)]=e[r];return n}var va=e=>e?Rs(e)?Xs(e):va(e.parent):null,ya=l(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>va(e.parent),$root:e=>va(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Ua(e),$forceUpdate:e=>e.f||=()=>{Zn(e.update)},$nextTick:e=>e.n||=Yn.bind(e.proxy),$watch:e=>Dr.bind(e)}),ba=(e,t)=>e!==r&&!e.__isScriptSetup&&f(e,t),xa={get({_:e},t){if(t===`__v_skip`)return!0;let{ctx:n,setupState:i,data:a,props:o,accessCache:s,type:c,appContext:l}=e;if(t[0]!==`$`){let e=s[t];if(e!==void 0)switch(e){case 1:return i[t];case 2:return a[t];case 4:return n[t];case 3:return o[t]}else if(ba(i,t))return s[t]=1,i[t];else if(a!==r&&f(a,t))return s[t]=2,a[t];else if(f(o,t))return s[t]=3,o[t];else if(n!==r&&f(n,t))return s[t]=4,n[t];else Ra&&(s[t]=0)}let u=ya[t],d,p;if(u)return t===`$attrs`&&F(e.attrs,`get`,``),u(e);if((d=c.__cssModules)&&(d=d[t]))return d;if(n!==r&&f(n,t))return s[t]=4,n[t];if(p=l.config.globalProperties,f(p,t))return p[t]},set({_:e},t,n){let{data:i,setupState:a,ctx:o}=e;return ba(a,t)?(a[t]=n,!0):i!==r&&f(i,t)?(i[t]=n,!0):f(e.props,t)||t[0]===`$`&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:i,appContext:a,props:o,type:s}},c){let l;return!!(n[c]||e!==r&&c[0]!==`$`&&f(e,c)||ba(t,c)||f(o,c)||f(i,c)||f(ya,c)||f(a.config.globalProperties,c)||(l=s.__cssModules)&&l[c])},defineProperty(e,t,n){return n.get==null?f(n,`value`)&&this.set(e,t,n.value,null):e._.accessCache[t]=0,Reflect.defineProperty(e,t,n)}},Sa=l({},xa,{get(e,t){if(t!==Symbol.unscopables)return xa.get(e,t,e)},has(e,t){return t[0]!==`_`&&!fe(t)}});function Ca(){return null}function wa(){return null}function Ta(e){}function Ea(e){}function Da(){return null}function Oa(){}function ka(e,t){return null}function Aa(){return Ma(`useSlots`).slots}function ja(){return Ma(`useAttrs`).attrs}function Ma(e){let t=Z();return t.setupContext||=Ys(t)}function Na(e){return p(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}function Pa(e,t){let n=Na(e);for(let e in t){if(e.startsWith(`__skip`))continue;let r=n[e];r?p(r)||v(r)?r=n[e]={type:r,default:t[e]}:r.default=t[e]:r===null&&(r=n[e]={default:t[e]}),r&&t[`__skip_${e}`]&&(r.skipFactory=!0)}return n}function Fa(e,t){return!e||!t?e||t:p(e)&&p(t)?e.concat(t):l({},Na(e),Na(t))}function Ia(e,t){let n={};for(let r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function La(e){let t=Z(),n=zs,r=e();Ls(),n&&Fs(!1);let i=()=>{Is(t),n&&Fs(!0)},a=()=>{Z()!==t&&t.scope.off(),Ls(),n&&Fs(!1)};return S(r)&&(r=r.catch(e=>{throw i(),Promise.resolve().then(()=>Promise.resolve().then(a)),e})),[r,()=>{i(),Promise.resolve().then(a)}]}var Ra=!0;function za(e){let t=Ua(e),n=e.proxy,r=e.ctx;Ra=!1,t.beforeCreate&&Va(t.beforeCreate,e,`bc`);let{data:i,computed:o,methods:s,watch:c,provide:l,inject:u,created:d,beforeMount:f,mounted:m,beforeUpdate:h,updated:g,activated:_,deactivated:y,beforeDestroy:b,beforeUnmount:S,destroyed:C,unmounted:w,render:ee,renderTracked:T,renderTriggered:E,errorCaptured:te,serverPrefetch:ne,expose:re,inheritAttrs:D,components:ie,directives:O,filters:ae}=t;if(u&&Ba(u,r,null),s)for(let e in s){let t=s[e];v(t)&&(r[e]=t.bind(n))}if(i){let t=i.call(n,n);x(t)&&(e.data=Jt(t))}if(Ra=!0,o)for(let e in o){let t=o[e],i=Q({get:v(t)?t.bind(n,n):v(t.get)?t.get.bind(n,n):a,set:!v(t)&&v(t.set)?t.set.bind(n):a});Object.defineProperty(r,e,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e})}if(c)for(let e in c)Ha(c[e],r,n,e);if(l){let e=v(l)?l.call(n):l;Reflect.ownKeys(e).forEach(t=>{_r(t,e[t])})}d&&Va(d,e,`c`);function k(e,t){p(t)?t.forEach(t=>e(t.bind(n))):t&&e(t.bind(n))}if(k(Yi,f),k(Xi,m),k(Zi,h),k(Qi,g),k(Vi,_),k(Hi,y),k(ia,te),k(ra,T),k(na,E),k($i,S),k(ea,w),k(ta,ne),p(re)){if(re.length){let t=e.exposed||={};re.forEach(e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t,enumerable:!0})})}else e.exposed||={}}ee&&e.render===a&&(e.render=ee),D!=null&&(e.inheritAttrs=D),ie&&(e.components=ie),O&&(e.directives=O),ne&&ai(e)}function Ba(e,t,n=a){p(e)&&(e=Ja(e));for(let n in e){let r=e[n],i;i=x(r)?`default`in r?vr(r.from||n,r.default,!0):vr(r.from||n):vr(r),L(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e}):t[n]=i}}function Va(e,t,n){zn(p(e)?e.map(e=>e.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ha(e,t,n,r){let i=r.includes(`.`)?Or(n,r):()=>n[r];if(y(e)){let n=t[e];v(n)&&Tr(i,n)}else if(v(e))Tr(i,e.bind(n));else if(x(e)){if(p(e))e.forEach(e=>Ha(e,t,n,r));else{let r=v(e.handler)?e.handler.bind(n):t[e.handler];v(r)&&Tr(i,r,e)}}}function Ua(e){let t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:a,config:{optionMergeStrategies:o}}=e.appContext,s=a.get(t),c;return s?c=s:!i.length&&!n&&!r?c=t:(c={},i.length&&i.forEach(e=>Wa(c,e,o,!0)),Wa(c,t,o)),x(t)&&a.set(t,c),c}function Wa(e,t,n,r=!1){let{mixins:i,extends:a}=t;a&&Wa(e,a,n,!0),i&&i.forEach(t=>Wa(e,t,n,!0));for(let i in t)if(!(r&&i===`expose`)){let r=Ga[i]||n&&n[i];e[i]=r?r(e[i],t[i]):t[i]}return e}var Ga={data:Ka,props:Za,emits:Za,methods:Xa,computed:Xa,beforeCreate:Ya,created:Ya,beforeMount:Ya,mounted:Ya,beforeUpdate:Ya,updated:Ya,beforeDestroy:Ya,beforeUnmount:Ya,destroyed:Ya,unmounted:Ya,activated:Ya,deactivated:Ya,errorCaptured:Ya,serverPrefetch:Ya,components:Xa,directives:Xa,watch:Qa,provide:Ka,inject:qa};function Ka(e,t){return t?e?function(){return l(v(e)?e.call(this,this):e,v(t)?t.call(this,this):t)}:t:e}function qa(e,t){return Xa(Ja(e),Ja(t))}function Ja(e){if(p(e)){let t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Ya(e,t){return e?[...new Set([].concat(e,t))]:t}function Xa(e,t){return e?l(Object.create(null),e,t):t}function Za(e,t){return e?p(e)&&p(t)?[...new Set([...e,...t])]:l(Object.create(null),Na(e),Na(t??{})):t}function Qa(e,t){if(!e)return t;if(!t)return e;let n=l(Object.create(null),e);for(let r in t)n[r]=Ya(e[r],t[r]);return n}function $a(){return{app:null,config:{isNativeTag:o,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}var eo=0;function to(e,t){return function(n,r=null){v(n)||(n=l({},n)),r!=null&&!x(r)&&(r=null);let i=$a(),a=new WeakSet,o=[],s=!1,c=i.app={_uid:eo++,_component:n,_props:r,_container:null,_context:i,_instance:null,version:rc,get config(){return i.config},set config(e){},use(e,...t){return a.has(e)||(e&&v(e.install)?(a.add(e),e.install(c,...t)):v(e)&&(a.add(e),e(c,...t))),c},mixin(e){return i.mixins.includes(e)||i.mixins.push(e),c},component(e,t){return t?(i.components[e]=t,c):i.components[e]},directive(e,t){return t?(i.directives[e]=t,c):i.directives[e]},mount(a,o,l){if(!s){let u=c._ceVNode||J(n,r);return u.appContext=i,l===!0?l=`svg`:l===!1&&(l=void 0),o&&t?t(u,a):e(u,a,l),s=!0,c._container=a,a.__vue_app__=c,Xs(u.component)}},onUnmount(e){o.push(e)},unmount(){s&&(zn(o,c._instance,16),e(null,c._container),delete c._container.__vue_app__)},provide(e,t){return i.provides[e]=t,c},runWithContext(e){let t=no;no=c;try{return e()}finally{no=t}}};return c}}var no=null;function ro(e,t,n=r){let i=Z(),a=D(t),o=O(t),s=io(e,a),c=hn((s,c)=>{let l,u=r,d;return wr(()=>{let t=e[a];A(l,t)&&(l=t,c())}),{get(){return s(),n.get?n.get(l):l},set(e){let s=n.set?n.set(e):e;if(!A(s,l)&&!(u!==r&&A(e,u)))return;let f=i.vnode.props,p=!!(f&&(t in f||a in f||o in f)&&(`onUpdate:${t}`in f||`onUpdate:${a}`in f||`onUpdate:${o}`in f));p||(l=e,c()),i.emit(`update:${t}`,s),A(e,u)&&(A(e,s)&&!A(s,d)||p&&u!==r&&!A(s,l))&&c(),u=e,d=s}}});return c[Symbol.iterator]=()=>{let e=0;return{next(){return e<2?{value:e++?s||r:c,done:!1}:{done:!0}}}},c}var io=(e,t)=>t===`modelValue`||t===`model-value`?e.modelModifiers:e[`${t}Modifiers`]||e[`${D(t)}Modifiers`]||e[`${O(t)}Modifiers`];function ao(e,t,...n){if(e.isUnmounted)return;let i=e.vnode.props||r,a=n,o=t.startsWith(`update:`),s=o&&io(i,t.slice(7));s&&(s.trim&&(a=n.map(e=>y(e)?e.trim():e)),s.number&&(a=a.map(ce)));let c,l=i[c=k(t)]||i[c=k(D(t))];!l&&o&&(l=i[c=k(O(t))]),l&&zn(l,e,6,a);let u=i[c+`Once`];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[c])return;e.emitted[c]=!0,zn(u,e,6,a)}}var oo=new WeakMap;function so(e,t,n=!1){let r=n?oo:t.emitsCache,i=r.get(e);if(i!==void 0)return i;let a=e.emits,o={},s=!1;if(!v(e)){let r=e=>{let n=so(e,t,!0);n&&(s=!0,l(o,n))};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return!a&&!s?(x(e)&&r.set(e,null),null):(p(a)?a.forEach(e=>o[e]=null):l(o,a),x(e)&&r.set(e,o),o)}function co(e,t){return!e||!s(t)?!1:(t=t.slice(2),t=t===`Once`?t:t.replace(/Once$/,``),f(e,t[0].toLowerCase()+t.slice(1))||f(e,O(t))||f(e,t))}function lo(e){let{type:t,vnode:n,proxy:r,withProxy:i,propsOptions:[a],slots:o,attrs:s,emit:l,render:u,renderCache:d,props:f,data:p,setupState:m,ctx:h,inheritAttrs:g}=e,_=dr(e),v,y;try{if(n.shapeFlag&4){let e=i||r,t=e;v=ws(u.call(t,e,d,f,m,p,h)),y=s}else{let e=t;v=ws(e.length>1?e(f,{attrs:s,slots:o,emit:l}):e(f,null)),y=t.props?s:fo(s)}}catch(t){ls.length=0,Bn(t,e,1),v=J(U)}let b=v;if(y&&g!==!1){let e=Object.keys(y),{shapeFlag:t}=b;e.length&&t&7&&(a&&e.some(c)&&(y=po(y,a)),b=Ss(b,y,!1,!0))}return n.dirs&&(b=Ss(b,null,!1,!0),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&ti(jr(b.type)&&ei(b)||b,n.transition),v=b,dr(_),v}function uo(e,t=!0){let n;for(let t=0;t<e.length;t++){let r=e[t];if(hs(r)){if(r.type!==U||r.children===`v-if`){if(n)return;n=r}}else return}return n}var fo=e=>{let t;for(let n in e)(n===`class`||n===`style`||s(n))&&((t||={})[n]=e[n]);return t},po=(e,t)=>{let n={};for(let r in e)(!c(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function mo(e,t,n){let{props:r,children:i,component:a}=e,{props:o,children:s,patchFlag:c}=t,l=a.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?ho(r,o,l):!!o;if(c&8){let e=t.dynamicProps;for(let t=0;t<e.length;t++){let n=e[t];if(go(o,r,n)&&!co(l,n))return!0}}}else return(i||s)&&(!s||!s.$stable)?!0:r===o?!1:r?!o||ho(r,o,l):!!o;return!1}function ho(e,t,n){let r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let i=0;i<r.length;i++){let a=r[i];if(!f(e,a)||go(t,e,a)&&!co(n,a))return!0}return!1}function go(e,t,n){let r=e[n],i=t[n];return n===`style`&&x(r)&&x(i)?!we(r,i):r!==i}function _o({vnode:e,parent:t,suspense:n},r){for(;t;){let n=t.subTree;if(n.suspense&&n.suspense.activeBranch===e&&(n.suspense.vnode.el=n.el=r,e=n),n===e)(e=t.vnode).el=r,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=r)}var vo={},yo=()=>Object.create(vo),bo=e=>Object.getPrototypeOf(e)===vo;function xo(e,t,n,r=!1){let i={},a=yo();e.propsDefaults=Object.create(null),Co(e,t,i,a);for(let t in e.propsOptions[0])t in i||(i[t]=void 0);e.props=n?r?i:Yt(i):e.type.props?i:a,e.attrs=a}function So(e,t,n,r){let{props:i,attrs:a,vnode:{patchFlag:o}}=e,s=I(i),[c]=e.propsOptions,l=!1;if((r||o>0)&&!(o&16)){if(o&8){let n=e.vnode.dynamicProps;for(let r=0;r<n.length;r++){let o=n[r];if(co(e.emitsOptions,o))continue;let u=t[o];if(c){if(f(a,o))u!==a[o]&&(a[o]=u,l=!0);else{let t=D(o);i[t]=wo(c,s,t,u,e,!1)}}else u!==a[o]&&(a[o]=u,l=!0)}}}else{Co(e,t,i,a)&&(l=!0);let r;for(let a in s)(!t||!f(t,a)&&((r=O(a))===a||!f(t,r)))&&(c?n&&(n[a]!==void 0||n[r]!==void 0)&&(i[a]=wo(c,s,a,void 0,e,!0)):delete i[a]);if(a!==s)for(let e in a)(!t||!f(t,e))&&(delete a[e],l=!0)}l&&ut(e.attrs,`set`,``)}function Co(e,t,n,i){let[a,o]=e.propsOptions,s=!1,c;if(t)for(let r in t){if(te(r))continue;let l=t[r],u;a&&f(a,u=D(r))?!o||!o.includes(u)?n[u]=l:(c||={})[u]=l:co(e.emitsOptions,r)||(!(r in i)||l!==i[r])&&(i[r]=l,s=!0)}if(o){let t=I(n),i=c||r;for(let r=0;r<o.length;r++){let s=o[r];n[s]=wo(a,t,s,i[s],e,!f(i,s))}}return s}function wo(e,t,n,r,i,a){let o=e[n];if(o!=null){let e=f(o,`default`);if(e&&r===void 0){let e=o.default;if(o.type!==Function&&!o.skipFactory&&v(e)){let{propsDefaults:a}=i;if(n in a)r=a[n];else{let o=Is(i);r=a[n]=e.call(null,t),o()}}else r=e;i.ce&&i.ce._setProp(n,r)}o[0]&&(a&&!e?r=!1:o[1]&&(r===``||r===O(n))&&(r=!0))}return r}var To=new WeakMap;function Eo(e,t,n=!1){let a=n?To:t.propsCache,o=a.get(e);if(o)return o;let s=e.props,c={},u=[],d=!1;if(!v(e)){let r=e=>{d=!0;let[n,r]=Eo(e,t,!0);l(c,n),r&&u.push(...r)};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}if(!s&&!d)return x(e)&&a.set(e,i),i;if(p(s))for(let e=0;e<s.length;e++){let t=D(s[e]);Do(t)&&(c[t]=r)}else if(s)for(let e in s){let t=D(e);if(Do(t)){let n=s[e],r=c[t]=p(n)||v(n)?{type:n}:l({},n),i=r.type,a=!1,o=!0;if(p(i))for(let e=0;e<i.length;++e){let t=i[e],n=v(t)&&t.name;if(n===`Boolean`){a=!0;break}n===`String`&&(o=!1)}else a=v(i)&&i.name===`Boolean`;r[0]=a,r[1]=o,(a||f(r,`default`))&&u.push(t)}}let m=[c,u];return x(e)&&a.set(e,m),m}function Do(e){return e[0]!==`$`&&!te(e)}var Oo=e=>e===`_`||e===`_ctx`||e===`$stable`,ko=e=>p(e)?e.map(ws):[ws(e)],Ao=(e,t,n)=>{if(t._n)return t;let r=B((...e)=>ko(t(...e)),n);return r._c=!1,r},jo=(e,t,n)=>{let r=e._ctx;for(let n in e){if(Oo(n))continue;let i=e[n];if(v(i))t[n]=Ao(n,i,r);else if(i!=null){let e=ko(i);t[n]=()=>e}}},Mo=(e,t)=>{let n=ko(t);e.slots.default=()=>n},No=(e,t,n)=>{for(let r in t)(n||!Oo(r))&&(e[r]=t[r])},Po=(e,t,n)=>{let r=e.slots=yo();if(e.vnode.shapeFlag&32){let e=t._;e?(No(r,t,n),n&&se(r,`_`,e,!0)):jo(t,r)}else t&&Mo(e,t)},Fo=(e,t,n)=>{let{vnode:i,slots:a}=e,o=!0,s=r;if(i.shapeFlag&32){let e=t._;e?n&&e===1?o=!1:No(a,t,n):(o=!t.$stable,jo(t,a)),s=t}else t&&(Mo(e,t),s={default:1});if(o)for(let e in a)!Oo(e)&&s[e]==null&&delete a[e]},Io=is;function Lo(e){return zo(e)}function Ro(e){return zo(e,_i)}function zo(e,t){let n=de();n.__VUE__=!0;let{insert:o,remove:s,patchProp:c,createElement:l,createText:u,createComment:d,setText:f,setElementText:p,parentNode:m,nextSibling:h,setScopeId:g=a,insertStaticContent:_}=e,v=(e,t,n,r=null,a=null,o=null,s=void 0,c=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!gs(e,t)&&(r=M(e),j(e,a,o,!0),e=null),t.patchFlag===-2&&(l=!1,t.dynamicChildren=null),t.dynamicChildren&&e&&e.dynamicChildren&&e.dynamicChildren.hasOnce&&(t.dynamicChildren===i&&(t.dynamicChildren=[]),t.dynamicChildren.hasOnce=!0);let{type:u,ref:d,shapeFlag:f}=t;switch(u){case ss:y(e,t,n,r);break;case U:b(e,t,n,r);break;case cs:e??x(t,n,r,s);break;case H:ie(e,t,n,r,a,o,s,c,l);break;default:f&1?w(e,t,n,r,a,o,s,c,l):f&6?O(e,t,n,r,a,o,s,c,l):(f&64||f&128)&&u.process(e,t,n,r,a,o,s,c,l,ve)}d!=null&&a?li(d,e&&e.ref,o,t||e,!t):d==null&&e&&e.ref!=null&&li(e.ref,null,o,e,!0)},y=(e,t,n,r)=>{if(e==null)o(t.el=u(t.children),n,r);else{let n=t.el=e.el;t.children!==e.children&&f(n,t.children)}},b=(e,t,n,r)=>{e==null?o(t.el=d(t.children||``),n,r):t.el=e.el},x=(e,t,n,r)=>{[e.el,e.anchor]=_(e.children,t,n,r,e.el,e.anchor)},S=({el:e,anchor:t},n,r)=>{let i;for(;e&&e!==t;)i=h(e),o(e,n,r),e=i;o(t,n,r)},C=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=h(e),s(e),e=n;s(t)},w=(e,t,n,r,i,a,o,s,c)=>{if(t.type===`svg`?o=`svg`:t.type===`math`&&(o=`mathml`),e==null)ee(t,n,r,i,a,o,s,c);else{let n=e.el&&e.el._isVueCE?e.el:null;try{n&&n._beginPatch(),ne(e,t,i,a,o,s,c)}finally{n&&n._endPatch()}}},ee=(e,t,n,r,i,a,s,u)=>{let d,f,{props:m,shapeFlag:h,transition:g,dirs:_}=e;if(d=e.el=l(e.type,a,m&&m.is,m),h&8?p(d,e.children):h&16&&E(e.children,d,null,r,i,Bo(e,a),s,u),_&&gr(e,null,r,`created`),T(d,e,e.scopeId,s,r),m){for(let e in m)e!==`value`&&!te(e)&&c(d,e,null,m[e],a,r);`value`in m&&c(d,`value`,null,m.value,a),(f=m.onVnodeBeforeMount)&&Os(f,r,e)}_&&gr(e,null,r,`beforeMount`);let v=Ho(i,g);v&&g.beforeEnter(d),o(d,t,n),((f=m&&m.onVnodeMounted)||v||_)&&Io(()=>{try{f&&Os(f,r,e),v&&g.enter(d),_&&gr(e,null,r,`mounted`)}finally{}},i)},T=(e,t,n,r,i)=>{if(n&&g(e,n),r)for(let t=0;t<r.length;t++)g(e,r[t]);if(i){let n=i.subTree;if(t===n||Jo(n.type)&&(n.ssContent===t||n.ssFallback===t)){let t=i.vnode;T(e,t,t.scopeId,t.slotScopeIds,i.parent)}}},E=(e,t,n,r,i,a,o,s,c=0)=>{for(let l=c;l<e.length;l++){let c=e[l]=s?Ts(e[l]):ws(e[l]);v(null,c,t,n,r,i,a,o,s)}},ne=(e,t,n,i,a,o,s)=>{let l=t.el=e.el,{patchFlag:u,dynamicChildren:d,dirs:f}=t;u|=e.patchFlag&16;let m=e.props||r,h=t.props||r,g;if(n&&Vo(n,!1),(g=h.onVnodeBeforeUpdate)&&Os(g,n,t,e),f&&gr(t,e,n,`beforeUpdate`),n&&Vo(n,!0),d&&(!e.dynamicChildren||e.dynamicChildren.length!==d.length)&&(u=0,s=!1,d=null),(m.innerHTML&&h.innerHTML==null||m.textContent&&h.textContent==null)&&p(l,``),d?re(e.dynamicChildren,d,l,n,i,Bo(t,a),o):s||ce(e,t,l,null,n,i,Bo(t,a),o,!1),u>0){if(u&16)D(l,m,h,n,a);else if(u&2&&m.class!==h.class&&c(l,`class`,null,h.class,a),u&4&&c(l,`style`,m.style,h.style,a),u&8){let e=t.dynamicProps;for(let t=0;t<e.length;t++){let r=e[t],i=m[r],o=h[r];(o!==i||r===`value`)&&c(l,r,i,o,a,n)}}u&1&&e.children!==t.children&&p(l,t.children)}else!s&&d==null&&D(l,m,h,n,a);((g=h.onVnodeUpdated)||f)&&Io(()=>{g&&Os(g,n,t,e),f&&gr(t,e,n,`updated`)},i)},re=(e,t,n,r,i,a,o)=>{for(let s=0;s<t.length;s++){let c=e[s],l=t[s],u=c.el||qo(c),d=u&&(c.type===H||!gs(c,l)||c.shapeFlag&198)?m(u):n;v(c,l,d,null,r,i,a,o,!0)}},D=(e,t,n,i,a)=>{if(t!==n){if(t!==r)for(let r in t)!te(r)&&!(r in n)&&c(e,r,t[r],null,a,i);for(let r in n){if(te(r))continue;let o=n[r],s=t[r];o!==s&&r!==`value`&&c(e,r,s,o,a,i)}`value`in n&&c(e,`value`,t.value,n.value,a)}},ie=(e,t,n,r,i,a,s,c,l)=>{let d=t.el=e?e.el:u(``),f=t.anchor=e?e.anchor:u(``),{patchFlag:p,dynamicChildren:m,slotScopeIds:h}=t;h&&(c=c?c.concat(h):h),e==null?(o(d,n,r),o(f,n,r),E(t.children||[],n,f,i,a,s,c,l)):p>0&&p&64&&m&&e.dynamicChildren&&e.dynamicChildren.length===m.length?(re(e.dynamicChildren,m,n,i,a,s,c),(t.key!=null||i&&t===i.subTree)&&Uo(e,t,!0)):ce(e,t,n,f,i,a,s,c,l)},O=(e,t,n,r,i,a,o,s,c)=>{t.slotScopeIds=s,e==null?t.shapeFlag&512?i.ctx.activate(t,n,r,o,c):ae(t,n,r,i,a,o,c):k(e,t,c)},ae=(e,t,n,r,i,a,o)=>{let s=e.component=Ms(e,r,i);if(Ri(e)&&(s.ctx.renderer=ve),Bs(s,!1,o),s.asyncDep){if(i&&i.registerDep(s,A,o,a),!e.el){let r=s.subTree=J(U);b(null,r,t,n),e.placeholder=r.el}}else A(s,e,t,n,i,a,o)},k=(e,t,n)=>{let r=t.component=e.component;if(mo(e,t,n)){if(r.asyncDep&&!r.asyncResolved){t.el=e.el,t.placeholder=e.placeholder,se(r,t,n);return}r.next=t,r.update()}else t.el=e.el,t.placeholder=e.placeholder,r.vnode=t},A=(e,t,n,r,i,a,o)=>{let s=()=>{if(e.isMounted){let{next:t,bu:n,u:r,parent:s,vnode:c}=e;{let n=Go(e);if(n){t&&(t.el=c.el,se(e,t,o)),n.asyncDep.then(()=>{Io(()=>{e.isUnmounted||l()},i)});return}}let u=t,d;Vo(e,!1),t?(t.el=c.el,se(e,t,o)):t=c,n&&oe(n),(d=t.props&&t.props.onVnodeBeforeUpdate)&&Os(d,s,t,c),Vo(e,!0);let f=lo(e),p=e.subTree;e.subTree=f,v(p,f,m(p.el),M(p),e,i,a),t.el=f.el,u===null&&_o(e,f.el),r&&Io(r,i),(d=t.props&&t.props.onVnodeUpdated)&&Io(()=>Os(d,s,t,c),i)}else{let o,{el:s,props:c}=t,{bm:l,m:u,parent:d,root:f,type:p}=e,m=Fi(t);if(Vo(e,!1),l&&oe(l),!m&&(o=c&&c.onVnodeBeforeMount)&&Os(o,d,t),Vo(e,!0),s&&be){let t=()=>{e.subTree=lo(e),be(s,e.subTree,e,i,null)};m&&p.__asyncHydrate?p.__asyncHydrate(s,e,t):t()}else{f.ce&&f.ce._hasShadowRoot()&&f.ce._injectChildStyle(p,e.parent?e.parent.type:void 0);let o=e.subTree=lo(e);v(null,o,n,r,e,i,a),t.el=o.el}if(u&&Io(u,i),!m&&(o=c&&c.onVnodeMounted)){let e=t;Io(()=>Os(o,d,e),i)}(t.shapeFlag&256||d&&Fi(d.vnode)&&d.vnode.shapeFlag&256)&&e.a&&Io(e.a,i),e.isMounted=!0,t=n=r=null}};e.scope.on();let c=e.effect=new Ie(s);e.scope.off();let l=e.update=c.run.bind(c),u=e.job=c.runIfDirty.bind(c);u.i=e,u.id=e.uid,c.scheduler=()=>Zn(u),Vo(e,!0),l()},se=(e,t,n)=>{t.component=e;let r=e.vnode.props;e.vnode=t,e.next=null,So(e,t.props,r,n),Fo(e,t.children,n),$e(),er(e),et()},ce=(e,t,n,r,i,a,o,s,c=!1)=>{let l=e&&e.children,u=e?e.shapeFlag:0,d=t.children,{patchFlag:f,shapeFlag:m}=t;if(f>0){if(f&128){ue(l,d,n,r,i,a,o,s,c);return}if(f&256){le(l,d,n,r,i,a,o,s,c);return}}m&8?(u&16&&ge(l,i,a),d!==l&&p(n,d)):u&16?m&16?ue(l,d,n,r,i,a,o,s,c):ge(l,i,a,!0):(u&8&&p(n,``),m&16&&E(d,n,r,i,a,o,s,c))},le=(e,t,n,r,a,o,s,c,l)=>{e||=i,t||=i;let u=e.length,d=t.length,f=Math.min(u,d),p=0;for(;p<f;p++){let r=t[p]=l?Ts(t[p]):ws(t[p]);v(e[p],r,n,null,a,o,s,c,l)}u>d?ge(e,a,o,!0,!1,f):E(t,n,r,a,o,s,c,l,f)},ue=(e,t,n,r,a,o,s,c,l)=>{let u=0,d=t.length,f=e.length-1,p=d-1;for(;u<=f&&u<=p;){let r=e[u],i=t[u]=l?Ts(t[u]):ws(t[u]);if(gs(r,i))v(r,i,n,null,a,o,s,c,l);else break;u++}for(;u<=f&&u<=p;){let r=e[f],i=t[p]=l?Ts(t[p]):ws(t[p]);if(gs(r,i))v(r,i,n,null,a,o,s,c,l);else break;f--,p--}if(u>f){if(u<=p){let e=p+1,i=e<d?t[e].el:r;for(;u<=p;)v(null,t[u]=l?Ts(t[u]):ws(t[u]),n,i,a,o,s,c,l),u++}}else if(u>p)for(;u<=f;)j(e[u],a,o,!0),u++;else{let m=u,h=u,g=new Map;for(u=h;u<=p;u++){let e=t[u]=l?Ts(t[u]):ws(t[u]);e.key!=null&&g.set(e.key,u)}let _,y=0,b=p-h+1,x=!1,S=0,C=Array(b);for(u=0;u<b;u++)C[u]=0;for(u=m;u<=f;u++){let r=e[u];if(y>=b){j(r,a,o,!0);continue}let i;if(r.key!=null)i=g.get(r.key);else for(_=h;_<=p;_++)if(C[_-h]===0&&gs(r,t[_])){i=_;break}i===void 0?j(r,a,o,!0):(C[i-h]=u+1,i>=S?S=i:x=!0,v(r,t[i],n,null,a,o,s,c,l),y++)}let w=x?Wo(C):i;for(_=w.length-1,u=b-1;u>=0;u--){let e=h+u,i=t[e],f=t[e+1],p=e+1<d?f.el||qo(f):r;C[u]===0?v(null,i,n,p,a,o,s,c,l):x&&(_<0||u!==w[_]?fe(i,n,p,2):_--)}}},fe=(e,t,n,r,i=null)=>{let{el:a,type:c,transition:l,children:u,shapeFlag:d}=e;if(d&6)fe(e.component.subTree,t,n,r);else if(d&128)e.suspense.move(t,n,r);else if(d&64)c.move(e,t,n,ve);else if(c===H){o(a,t,n);for(let e=0;e<u.length;e++)fe(u[e],t,n,r);o(e.anchor,t,n)}else if(c===cs)S(e,t,n);else if(r!==2&&d&1&&l){if(r===0)l.persisted&&!a[Ur]?o(a,t,n):(l.beforeEnter(a),o(a,t,n),Io(()=>l.enter(a),i));else{let{leave:r,delayLeave:i,afterLeave:c}=l,u=()=>{e.ctx.isUnmounted?s(a):o(a,t,n)},d=()=>{let e=a._isLeaving||!!a[Ur];a._isLeaving&&a[Ur](!0),l.persisted&&!e?u():r(a,()=>{u(),c&&c()})};i?i(a,u,d):d()}}else o(a,t,n)},j=(e,t,n,r=!1,i=!1)=>{let{type:a,props:o,ref:s,children:c,dynamicChildren:l,shapeFlag:u,patchFlag:d,dirs:f,cacheIndex:p,memo:m}=e;if((d===-2||l&&l.hasOnce)&&(i=!1),s!=null&&($e(),li(s,null,n,e,!0),et()),p!=null&&(!e.ctx||e.ctx===t)&&(t.renderCache[p]=void 0),u&256){t.ctx.deactivate(e);return}let h=u&1&&f,g=!Fi(e),_;if(g&&(_=o&&o.onVnodeBeforeUnmount)&&Os(_,t,e),u&6)he(e.component,n,r);else{if(u&128){e.suspense.unmount(n,r);return}h&&gr(e,null,t,`beforeUnmount`),u&64?e.type.remove(e,t,n,ve,r):l&&!l.hasOnce&&(a!==H||d>0&&d&64)?ge(l,t,n,!1,!0):(a===H&&d&384||!i&&u&16)&&ge(c,t,n),r&&pe(e)}let v=m!=null&&p==null;(g&&(_=o&&o.onVnodeUnmounted)||h||v)&&Io(()=>{_&&Os(_,t,e),h&&gr(e,null,t,`unmounted`),v&&(e.el=null)},n)},pe=e=>{let{type:t,el:n,anchor:r,transition:i}=e,a=t===H;if(a&&!i){me(n,r);return}if(t===cs){C(e),i&&!i.persisted&&i.afterLeave&&i.afterLeave();return}let o=a?ri(e):e,c=()=>{a?m(n)&&me(n,r):s(n),i&&!i.persisted&&i.afterLeave&&i.afterLeave()};if(o&&o.shapeFlag&1&&i&&!i.persisted){let{leave:e,delayLeave:t}=i,n=o.el,r=()=>e(n,c);t?t(n,c,r):r()}else c()},me=(e,t)=>{let n;for(;e!==t;)n=h(e),s(e),e=n;s(t)},he=(e,t,n)=>{let{bum:r,scope:i,job:a,subTree:o,um:s,m:c,a:l}=e;Ko(c),Ko(l),r&&oe(r),i.stop(),a?(a.flags|=8,j(o,e,t,n)):e.vnode.el&&o&&(o.transition=e.vnode.transition,j(o,e,t,n)),s&&Io(s,t),Io(()=>{e.isUnmounted=!0},t)},ge=(e,t,n,r=!1,i=!1,a=0)=>{for(let o=a;o<e.length;o++)j(e[o],t,n,r,i)},M=e=>{if(e.shapeFlag&6)return M(e.component.subTree);if(e.shapeFlag&128)return e.suspense.next();let t=h(e.anchor||e.el),n=t&&t[Ar];return n?h(n):t},_e=(e,t,n)=>{rr(()=>{e==null?t._vnode&&j(t._vnode,null,null,!0):v(t._vnode||null,e,t,null,null,null,n),t._vnode=e},e&&t._vnode?void 0:e&&e.component?e.component.uid:js())},ve={p:v,um:j,m:fe,r:pe,mt:ae,mc:E,pc:ce,pbc:re,n:M,o:e},ye,be;return t&&([ye,be]=t(ve)),{render:_e,hydrate:ye,createApp:to(_e,ye)}}function Bo({type:e,props:t},n){return n===`svg`&&e===`foreignObject`||n===`mathml`&&e===`annotation-xml`&&t&&t.encoding&&t.encoding.includes(`html`)?void 0:n}function Vo({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Ho(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Uo(e,t,n=!1){let r=e.children,i=t.children;if(p(r)&&p(i))for(let e=0;e<r.length;e++){let t=r[e],a=i[e];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=i[e]=Ts(i[e]),a.el=t.el),!n&&a.patchFlag!==-2&&Uo(t,a)),a.type===ss&&(a.patchFlag===-1&&(a=i[e]=Ts(a)),a.el=t.el),a.type===U&&!a.el&&(a.el=t.el)}}function Wo(e){let t=e.slice(),n=[0],r,i,a,o,s,c=e.length;for(r=0;r<c;r++){let c=e[r];if(c!==0){if(i=n[n.length-1],e[i]<c){t[r]=i,n.push(r);continue}for(a=0,o=n.length-1;a<o;)s=a+o>>1,e[n[s]]<c?a=s+1:o=s;c<e[n[a]]&&(a>0&&(t[r]=n[a-1]),n[a]=r)}}for(a=n.length,o=n[a-1];a-->0;)n[a]=o,o=t[o];return n}function Go(e){let t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Go(t)}function Ko(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function qo(e){if(e.placeholder)return e.placeholder;let t=e.component;return t?qo(t.subTree):null}var Jo=e=>e.__isSuspense,Yo=0,Xo={name:`Suspense`,__isSuspense:!0,process(e,t,n,r,i,a,o,s,c,l){if(e==null)Qo(t,n,r,i,a,o,s,c,l);else{if(a&&a.deps>0&&!e.suspense.isInFallback&&!a.isHydrating){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}$o(e,t,n,r,i,o,s,c,l)}},hydrate:ts,normalize:ns};function Zo(e,t){let n=e.props&&e.props[t];v(n)&&n()}function Qo(e,t,n,r,i,a,o,s,c){let{p:l,o:{createElement:u}}=c,d=u(`div`),f=e.suspense=es(e,i,r,t,d,n,a,o,s,c);l(null,f.pendingBranch=e.ssContent,d,null,r,f,a,o),f.deps>0?(Zo(e,`onPending`),Zo(e,`onFallback`),l(null,e.ssFallback,t,n,r,null,a,o),as(f,e.ssFallback)):f.resolve(!1,!0)}function $o(e,t,n,r,i,a,o,s,{p:c,um:l,o:{createElement:u}}){let d=t.suspense=e.suspense;d.vnode=t,t.el=e.el;let f=t.ssContent,p=t.ssFallback,{activeBranch:m,pendingBranch:h,isInFallback:g,isHydrating:_}=d;if(h)d.pendingBranch=f,gs(h,f)?(d.deps++,c(h,f,_?n:d.hiddenContainer,null,i,d,a,o,s),d.deps--,d.deps<=0?d.resolve():g&&!_&&!d.isFallbackMountPending&&(c(m,p,n,r,i,null,a,o,s),as(d,p))):(d.pendingId=Yo++,_?(d.isHydrating=!1,d.activeBranch=h):l(h,i,d),d.deps=0,d.effects.length=0,d.hiddenContainer=u(`div`),g?(c(null,f,d.hiddenContainer,null,i,d,a,o,s),d.deps<=0?d.resolve():d.isFallbackMountPending||(c(m,p,n,r,i,null,a,o,s),as(d,p))):m&&gs(m,f)?(c(m,f,n,r,i,d,a,o,s),d.resolve(!0)):(c(null,f,d.hiddenContainer,null,i,d,a,o,s),d.deps<=0&&d.resolve()));else if(m&&gs(m,f))c(m,f,n,r,i,d,a,o,s),as(d,f);else if(Zo(t,`onPending`),d.pendingBranch=f,d.pendingId=f.shapeFlag&512?f.component.suspenseId:Yo++,c(null,f,d.hiddenContainer,null,i,d,a,o,s),d.deps<=0)d.resolve();else{let{timeout:e,pendingId:t}=d;e>0?setTimeout(()=>{d.pendingId===t&&d.fallback(p)},e):e===0&&d.fallback(p)}}function es(e,t,n,r,i,a,o,s,c,l,u=!1){let{p:d,m:f,um:p,n:m,o:{parentNode:h,remove:g}}=l,_,v=os(e);v&&t&&t.pendingBranch&&(_=t.pendingId,t.deps++);let y=e.props?le(e.props.timeout):void 0,b=a,x={vnode:e,parent:t,parentComponent:n,namespace:o,container:r,hiddenContainer:i,deps:0,pendingId:Yo++,timeout:typeof y==`number`?y:-1,activeBranch:null,isFallbackMountPending:!1,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(e=!1,n=!1){let{vnode:r,activeBranch:i,pendingBranch:o,pendingId:s,effects:c,parentComponent:l,container:u,isInFallback:d}=x,g=!1;if(x.isHydrating)x.isHydrating=!1;else if(!e){g=i&&o.transition&&o.transition.mode===`out-in`;let e=!1;g&&(i.transition.afterLeave=()=>{s===x.pendingId&&(f(o,u,a===b&&!e?m(i):a,0),$n(c),d&&r.ssFallback&&(r.ssFallback.el=null))}),i&&!x.isFallbackMountPending&&(h(i.el)===u&&(a=m(i),e=!0),p(i,l,x,!0),!g&&d&&r.ssFallback&&Io(()=>r.ssFallback.el=null,x)),g||f(o,u,a,0)}x.isFallbackMountPending=!1,as(x,o),x.pendingBranch=null,x.isInFallback=!1;let y=x.parent,S=!1;for(;y;){if(y.pendingBranch){for(let e=0;e<c.length;e++)y.effects.push(c[e]);S=!0;break}y=y.parent}!S&&!g&&$n(c),x.effects=[],v&&t&&t.pendingBranch&&_===t.pendingId&&(_=void 0,t.deps--,t.deps===0&&!n&&t.resolve()),Zo(r,`onResolve`)},fallback(e){if(!x.pendingBranch)return;let{vnode:t,activeBranch:n,parentComponent:r,container:i,namespace:a}=x;Zo(t,`onFallback`);let o=m(n),l=()=>{if(x.isFallbackMountPending=!1,!x.isInFallback)return;let e=x.vnode.ssFallback;d(null,e,i,o,r,null,a,s,c),as(x,e)},u=e.transition&&e.transition.mode===`out-in`;u&&(x.isFallbackMountPending=!0,n.transition.afterLeave=l),x.isInFallback=!0,p(n,r,null,!0),u||l()},move(e,t,n){x.activeBranch&&f(x.activeBranch,e,t,n),x.container=e},next(){return x.activeBranch&&m(x.activeBranch)},registerDep(e,t,n,r){let i=!!x.pendingBranch;i&&x.deps++;let a=e.vnode.el;e.asyncDep.catch(t=>{Bn(t,e,0)}).then(o=>{if(e.isUnmounted||x.isUnmounted||x.pendingId!==e.suspenseId)return;if(Ls(),!e.scope.active){i&&--x.deps===0&&x.resolve();return}e.asyncResolved=!0;let{vnode:s}=e;Hs(e,o,!1),a&&(s.el=a);let c=!a&&e.subTree.el;t(e,s,h(a||e.subTree.el),a?null:m(e.subTree),x,r,n),c&&(s.placeholder=null,g(c)),_o(e,s.el),i&&--x.deps===0&&x.resolve()})},unmount(e,t){x.isUnmounted=!0,x.activeBranch&&p(x.activeBranch,n,e,t),x.pendingBranch&&p(x.pendingBranch,n,e,t)}};return x}function ts(e,t,n,r,i,a,o,s,c){let l=t.suspense=es(t,r,n,e.parentNode,document.createElement(`div`),null,i,a,o,s,!0),u=c(e,l.pendingBranch=t.ssContent,n,l,a,o);return l.deps===0&&l.resolve(!1,!0),u}function ns(e){let{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=rs(r?n.default:n),e.ssFallback=r?rs(n.fallback):J(U)}function rs(e){let t;if(v(e)){let n=fs&&e._c;n&&(e._d=!1,W()),e=e(),n&&(e._d=!0,t=us,ds())}return p(e)&&(e=uo(e)),e=ws(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(t=>t!==e)),e}function is(e,t){t&&t.pendingBranch?p(e)?t.effects.push(...e):t.effects.push(e):$n(e)}function as(e,t){e.activeBranch=t;let{vnode:n,parentComponent:r}=e,i=t.el;for(;!i&&t.component;)t=t.component.subTree,i=t.el;n.el=i,r&&r.subTree===n&&(r.vnode.el=i,_o(r,i))}function os(e){let t=e.props&&e.props.suspensible;return t!=null&&t!==!1}var H=Symbol.for(`v-fgt`),ss=Symbol.for(`v-txt`),U=Symbol.for(`v-cmt`),cs=Symbol.for(`v-stc`),ls=[],us=null;function W(e=!1){ls.push(us=e?null:[])}function ds(){ls.pop(),us=ls[ls.length-1]||null}var fs=1;function ps(e,t=!1){fs+=e,e<0&&us&&t&&(us.hasOnce=!0)}function ms(e){return e.dynamicChildren=fs>0?us||i:null,ds(),fs>0&&us&&us.push(e),e}function G(e,t,n,r,i,a){return ms(q(e,t,n,r,i,a,!0))}function K(e,t,n,r,i){return ms(J(e,t,n,r,i,!0))}function hs(e){return e?e.__v_isVNode===!0:!1}function gs(e,t){return e.type===t.type&&e.key===t.key}function _s(e){}var vs=({key:e})=>e??null,ys=({ref:e,ref_key:t,ref_for:n})=>(typeof e==`number`&&(e=``+e),e==null?null:y(e)||L(e)||v(e)?{i:lr,r:e,k:t,f:!!n}:e);function q(e,t=null,n=null,r=0,i=null,a=e===H?0:1,o=!1,s=!1){let c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&vs(t),ref:t&&ys(t),scopeId:ur,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:lr};return s?(Es(c,n),a&128&&e.normalize(c)):n&&(c.shapeFlag|=y(n)?8:16),fs>0&&!o&&us&&(c.patchFlag>0||a&6)&&c.patchFlag!==32&&us.push(c),c}var J=bs;function bs(e,t=null,n=null,r=0,i=null,a=!1){if((!e||e===ca)&&(e=U),hs(e)){let r=Ss(e,t,!0);return n&&Es(r,n),fs>0&&!a&&us&&(r.shapeFlag&6?us[us.indexOf(e)]=r:us.push(r)),r.patchFlag=-2,r}if(Qs(e)&&(e=e.__vccOpts),t){t=xs(t);let{class:e,style:n}=t;e&&!y(e)&&(t.class=M(e)),x(n)&&(nn(n)&&!p(n)&&(n=l({},n)),t.style=j(n))}let o=y(e)?1:Jo(e)?128:jr(e)?64:x(e)?4:v(e)?2:0;return q(e,t,n,r,i,o,a,!0)}function xs(e){return e?nn(e)||bo(e)?l({},e):e:null}function Ss(e,t,n=!1,r=!1){let{props:i,ref:a,patchFlag:o,children:s,transition:c}=e,l=t?Ds(i||{},t):i,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&vs(l),ref:t&&t.ref?n&&a?p(a)?a.concat(ys(t)):[a,ys(t)]:ys(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==H?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ss(e.ssContent),ssFallback:e.ssFallback&&Ss(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce,cacheIndex:e.cacheIndex};return c&&r&&ti(u,c.clone(u)),u}function Y(e=` `,t=0){return J(ss,null,e,t)}function Cs(e,t){let n=J(cs,null,e);return n.staticCount=t,n}function X(e=``,t=!1){return t?(W(),K(U,null,e)):J(U,null,e)}function ws(e){return e==null||typeof e==`boolean`?J(U):p(e)?J(H,null,e.slice()):hs(e)?Ts(e):J(ss,null,String(e))}function Ts(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Ss(e)}function Es(e,t){let n=0,{shapeFlag:r}=e;if(t==null)t=null;else if(p(t))n=16;else if(typeof t==`object`){if(r&65){let n=t.default;n&&(n._c&&(n._d=!1),Es(e,n()),n._c&&(n._d=!0));return}{n=32;let r=t._;!r&&!bo(t)?t._ctx=lr:r===3&&lr&&(lr.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}}else if(v(t)){if(r&65){Es(e,{default:t});return}t={default:t,_ctx:lr},n=32}else t=String(t),r&64?(n=16,t=[Y(t)]):n=8;e.children=t,e.shapeFlag|=n}function Ds(...e){let t={};for(let n=0;n<e.length;n++){let r=e[n];for(let e in r)if(e===`class`)t.class!==r.class&&(t.class=M([t.class,r.class]));else if(e===`style`)t.style=j([t.style,r.style]);else if(s(e)){let n=t[e],i=r[e];i&&n!==i&&!(p(n)&&n.includes(i))?t[e]=n?[].concat(n,i):i:i==null&&n==null&&!c(e)&&(t[e]=i)}else e!==``&&(t[e]=r[e])}return t}function Os(e,t,n,r=null){zn(e,t,7,[n,r])}var ks=$a(),As=0;function js(){return As}function Ms(e,t,n){let i=e.type,a=(t?t.appContext:e.appContext)||ks,o={uid:As++,vnode:e,type:i,parent:t,appContext:a,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new je(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(a.provides),ids:t?t.ids:[``,0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Eo(i,a),emitsOptions:so(i,a),emit:null,emitted:null,propsDefaults:r,inheritAttrs:i.inheritAttrs,ctx:r,data:r,props:r,attrs:r,slots:r,refs:r,setupState:r,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=ao.bind(null,o),e.ce&&e.ce(o),o}var Ns=null,Z=()=>Ns||lr,Ps,Fs;{let e=de(),t=(t,n)=>{let r;return(r=e[t])||(r=e[t]=[]),r.push(n),e=>{r.length>1?r.forEach(t=>t(e)):r[0](e)}};Ps=t(`__VUE_INSTANCE_SETTERS__`,e=>Ns=e),Fs=t(`__VUE_SSR_SETTERS__`,e=>zs=e)}var Is=e=>{let t=Ns;return Ps(e),e.scope.on(),()=>{e.scope.off(),Ps(t)}},Ls=()=>{Ns&&Ns.scope.off(),Ps(null)};function Rs(e){return e.vnode.shapeFlag&4}var zs=!1;function Bs(e,t=!1,n=!1){t&&Fs(t);let{props:r,children:i}=e.vnode,a=Rs(e);xo(e,r,a,t),Po(e,i,n||t);let o=a?Vs(e,t):void 0;return t&&Fs(!1),o}function Vs(e,t){let n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,xa);let{setup:r}=n;if(r){$e();let n=e.setupContext=r.length>1?Ys(e):null,i=Is(e),a=Rn(r,e,0,[e.props,n]),o=S(a);if(et(),i(),(o||e.sp)&&!Fi(e)&&ai(e),o){if(a.then(Ls,Ls),t)return a.then(n=>{Fs(!0);try{Hs(e,n,t)}finally{Fs(!1)}}).catch(t=>{Bn(t,e,0)});e.asyncDep=a}else Hs(e,a,t)}else qs(e,t)}function Hs(e,t,n){v(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:x(t)&&(e.setupState=pn(t)),qs(e,n)}var Us,Ws;function Gs(e){Us=e,Ws=e=>{e.render._rc&&(e.withProxy=new Proxy(e.ctx,Sa))}}var Ks=()=>!Us;function qs(e,t,n){let r=e.type;if(!e.render){if(!t&&Us&&!r.render){let t=r.template||Ua(e).template;if(t){let{isCustomElement:n,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:o}=r,s=l(l({isCustomElement:n,delimiters:a},i),o);r.render=Us(t,s)}}e.render=r.render||a,Ws&&Ws(e)}{let t=Is(e);$e();try{za(e)}finally{et(),t()}}}var Js={get(e,t){return F(e,`get`,``),e[t]}};function Ys(e){return{attrs:new Proxy(e.attrs,Js),slots:e.slots,emit:e.emit,expose:t=>{e.exposed=t||{}}}}function Xs(e){return e.exposed?e.exposeProxy||=new Proxy(pn(rn(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in ya)return ya[n](e)},has(e,t){return t in e||t in ya}}):e.proxy}function Zs(e,t=!0){return v(e)?e.displayName||e.name:e.name||t&&e.__name}function Qs(e){return v(e)&&`__vccOpts`in e}var Q=(e,t)=>Sn(e,t,zs);function $s(e,t,n){try{ps(-1);let r=arguments.length;return r===2?x(t)&&!p(t)?hs(t)?J(e,null,[t]):J(e,t):J(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&hs(n)&&(n=[n]),J(e,t,n))}finally{ps(1)}}function ec(){}function tc(e,t,n,r){let i=n[r];if(i&&nc(i,e))return i;let a=t();return a.memo=e.slice(),a.cacheIndex=r,n[r]=a}function nc(e,t){let n=e.memo;if(n.length!=t.length)return!1;for(let e=0;e<n.length;e++)if(A(n[e],t[e]))return!1;return fs>0&&us&&us.push(e),!0}var rc=`3.5.44`,ic=a,ac=Ln,oc=or,sc=cr,cc={createComponentInstance:Ms,setupComponent:Bs,renderComponentRoot:lo,setCurrentRenderingInstance:dr,isVNode:hs,normalizeVNode:ws,getComponentPublicInstance:Xs,ensureValidVNode:ga,pushWarningContext:Nn,popWarningContext:Pn},lc=void 0,uc=typeof window<`u`&&window.trustedTypes;if(uc)try{lc=uc.createPolicy(`vue`,{createHTML:e=>e})}catch{}var dc=lc?e=>lc.createHTML(e):e=>e,fc=`http://www.w3.org/2000/svg`,pc=`http://www.w3.org/1998/Math/MathML`,mc=typeof document<`u`?document:null,hc=mc&&mc.createElement(`template`),gc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{let t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{let i=t===`svg`?mc.createElementNS(fc,e):t===`mathml`?mc.createElementNS(pc,e):n?mc.createElement(e,{is:n}):mc.createElement(e);return e===`select`&&r&&r.multiple!=null&&i.setAttribute(`multiple`,r.multiple),i},createText:e=>mc.createTextNode(e),createComment:e=>mc.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>mc.querySelector(e),setScopeId(e,t){e.setAttribute(t,``)},insertStaticContent(e,t,n,r,i,a){let o=n?n.previousSibling:t.lastChild;if(i&&(i===a||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),i!==a&&(i=i.nextSibling););else{hc.innerHTML=dc(r===`svg`?`<svg>${e}</svg>`:r===`mathml`?`<math>${e}</math>`:e);let i=hc.content;if(r===`svg`||r===`mathml`){let e=i.firstChild;for(;e.firstChild;)i.appendChild(e.firstChild);i.removeChild(e)}t.insertBefore(i,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},_c=`transition`,vc=`animation`,yc=Symbol(`_vtc`),bc={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},xc=l({},qr,bc),Sc=(e=>(e.displayName=`Transition`,e.props=xc,e))((e,{slots:t})=>$s(Xr,Tc(e),t)),Cc=(e,t=[])=>{p(e)?e.forEach(e=>e(...t)):e&&e(...t)},wc=e=>e?p(e)?e.some(e=>e.length>1):e.length>1:!1;function Tc(e){let t={};for(let n in e)n in bc||(t[n]=e[n]);if(e.css===!1)return t;let{name:n=`v`,type:r,duration:i,enterFromClass:a=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:c=a,appearActiveClass:u=o,appearToClass:d=s,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:m=`${n}-leave-to`}=e,h=Ec(i),g=h&&h[0],_=h&&h[1],{onBeforeEnter:v,onEnter:y,onEnterCancelled:b,onLeave:x,onLeaveCancelled:S,onBeforeAppear:C=v,onAppear:w=y,onAppearCancelled:ee=b}=t,T=(e,t,n,r)=>{e._enterCancelled=r,kc(e,t?d:s),kc(e,t?u:o),n&&n()},E=(e,t)=>{e._isLeaving=!1,kc(e,f),kc(e,m),kc(e,p),t&&t()},te=e=>(t,n)=>{let i=e?w:y,o=()=>T(t,e,n);Cc(i,[t,o]),Ac(()=>{kc(t,e?c:a),Oc(t,e?d:s),wc(i)||Mc(t,r,g,o)})};return l(t,{onBeforeEnter(e){Cc(v,[e]),Oc(e,a),Oc(e,o)},onBeforeAppear(e){Cc(C,[e]),Oc(e,c),Oc(e,u)},onEnter:te(!1),onAppear:te(!0),onLeave(e,t){e._isLeaving=!0;let n=()=>E(e,t);Oc(e,f),e._enterCancelled?(Oc(e,p),Ic(e)):(Ic(e),Oc(e,p)),Ac(()=>{e._isLeaving&&(kc(e,f),Oc(e,m),wc(x)||Mc(e,r,_,n))}),Cc(x,[e,n])},onEnterCancelled(e){T(e,!1,void 0,!0),Cc(b,[e])},onAppearCancelled(e){T(e,!0,void 0,!0),Cc(ee,[e])},onLeaveCancelled(e){E(e),Cc(S,[e])}})}function Ec(e){if(e==null)return null;if(x(e))return[Dc(e.enter),Dc(e.leave)];{let t=Dc(e);return[t,t]}}function Dc(e){return le(e)}function Oc(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.add(t)),(e[yc]||(e[yc]=new Set)).add(t)}function kc(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.remove(t));let n=e[yc];n&&(n.delete(t),n.size||(e[yc]=void 0))}function Ac(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}var jc=0;function Mc(e,t,n,r){let i=e._endId=++jc,a=()=>{i===e._endId&&r()};if(n!=null)return setTimeout(a,n);let{type:o,timeout:s,propCount:c}=Nc(e,t);if(!o)return r();let l=o+`end`,u=0,d=()=>{e.removeEventListener(l,f),a()},f=t=>{t.target===e&&++u>=c&&d()};setTimeout(()=>{u<c&&d()},s+1),e.addEventListener(l,f)}function Nc(e,t){let n=window.getComputedStyle(e),r=e=>(n[e]||``).split(`, `),i=r(`${_c}Delay`),a=r(`${_c}Duration`),o=Pc(i,a),s=r(`${vc}Delay`),c=r(`${vc}Duration`),l=Pc(s,c),u=null,d=0,f=0;t===_c?o>0&&(u=_c,d=o,f=a.length):t===vc?l>0&&(u=vc,d=l,f=c.length):(d=Math.max(o,l),u=d>0?o>l?_c:vc:null,f=u?u===_c?a.length:c.length:0);let p=u===_c&&/\b(?:transform|all)(?:,|$)/.test(r(`${_c}Property`).toString());return{type:u,timeout:d,propCount:f,hasTransform:p}}function Pc(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((t,n)=>Fc(t)+Fc(e[n])))}function Fc(e){return e===`auto`?0:Number(e.slice(0,-1).replace(`,`,`.`))*1e3}function Ic(e){return(e?e.ownerDocument:document).body.offsetHeight}function Lc(e,t,n){let r=e[yc];r&&(t=(t?[t,...r]:[...r]).join(` `)),t==null?e.removeAttribute(`class`):n?e.setAttribute(`class`,t):e.className=t}var Rc=Symbol(`_vod`),zc=Symbol(`_vsh`),Bc={name:`show`,beforeMount(e,{value:t},{transition:n}){e[Rc]=e.style.display===`none`?``:e.style.display,n&&t?n.beforeEnter(e):Vc(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),Vc(e,!0),r.enter(e)):r.leave(e,()=>{Vc(e,!1)}):Vc(e,t))},beforeUnmount(e,{value:t}){Vc(e,t)}};function Vc(e,t){e.style.display=t?e[Rc]:`none`,e[zc]=!t}function Hc(){Bc.getSSRProps=({value:e})=>{if(!e)return{style:{display:`none`}}}}var Uc=Symbol(``);function Wc(e){let t=Z();if(!t)return;let n=t.ut=(n=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(e=>Kc(e,n))},r=()=>{let r=e(t.proxy);t.ce?Kc(t.ce,r):Gc(t.subTree,r),n(r)};Zi(()=>{$n(r)}),Xi(()=>{Tr(r,a,{flush:`post`});let e=new MutationObserver(r);e.observe(t.subTree.el.parentNode,{childList:!0}),ea(()=>e.disconnect())})}function Gc(e,t){if(e.shapeFlag&128){let n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Gc(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Kc(e.el,t);else if(e.type===H)e.children.forEach(e=>Gc(e,t));else if(e.type===cs){let{el:n,anchor:r}=e;for(;n&&(Kc(n,t),n!==r);)n=n.nextSibling}}function Kc(e,t){if(e.nodeType===1){let n=e.style,r=``;for(let e in t){let i=ke(t[e]);n.setProperty(`--${e}`,i),r+=`--${e}: ${i};`}n[Uc]=r}}var qc=/(?:^|;)\s*display\s*:/;function Jc(e,t,n){let r=e.style,i=y(n),a=!1;if(n&&!i){if(t){if(y(t))for(let e of t.split(`;`)){let t=e.slice(0,e.indexOf(`:`)).trim();n[t]??Xc(r,t,``)}else for(let e in t)n[e]??Xc(r,e,``)}for(let i in n){i===`display`&&(a=!0);let o=n[i];o==null?Xc(r,i,``):el(e,i,!y(t)&&t?t[i]:void 0,o)||Xc(r,i,o)}}else if(i){if(t!==n){let e=r[Uc];e&&(n+=`;`+e),r.cssText=n,a=qc.test(n)}}else t&&e.removeAttribute(`style`);Rc in e&&((!i||t!==n)&&(e[Rc]=a?r.display:``),e[zc]&&(r.display=`none`))}var Yc=/\s*!important$/;function Xc(e,t,n){if(p(n))n.forEach(n=>Xc(e,t,n));else if(n??=``,t.startsWith(`--`))Yc.test(n)?e.setProperty(t,n.replace(Yc,``),`important`):e.setProperty(t,n);else{let r=$c(e,t);Yc.test(n)?e.setProperty(O(r),n.replace(Yc,``),`important`):e[r]=n}}var Zc=[`Webkit`,`Moz`,`ms`],Qc={};function $c(e,t){let n=Qc[t];if(n)return n;let r=D(t);if(r!==`filter`&&r in e)return Qc[t]=r;r=ae(r);for(let n=0;n<Zc.length;n++){let i=Zc[n]+r;if(i in e)return Qc[t]=i}return t}function el(e,t,n,r){return e.tagName===`TEXTAREA`&&(t===`width`||t===`height`)&&y(r)&&n===r}var tl=`http://www.w3.org/1999/xlink`;function nl(e,t,n,r,i,a=ve(t)){r&&t.startsWith(`xlink:`)?n==null?e.removeAttributeNS(tl,t.slice(6,t.length)):e.setAttributeNS(tl,t,n):n==null||a&&!ye(n)?e.removeAttribute(t):e.setAttribute(t,a?``:b(n)?String(n):n)}function rl(e,t,n,r,i){if(t===`innerHTML`||t===`textContent`){n!=null&&(e[t]=t===`innerHTML`?dc(n):n);return}let a=e.tagName;if(t===`value`&&a!==`PROGRESS`&&!a.includes(`-`)){let r=a===`OPTION`?e.getAttribute(`value`)||``:e.value,i=n==null?e.type===`checkbox`?`on`:``:String(n);(r!==i||!(`_value`in e))&&(e.value=i),n??e.removeAttribute(t),e._value=n;return}let o=!1;if(n===``||n==null){let r=typeof e[t];r===`boolean`?n=ye(n):n==null&&r===`string`?(n=``,o=!0):r===`number`&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(i||t)}function il(e,t,n,r){e.addEventListener(t,n,r)}function al(e,t,n,r){e.removeEventListener(t,n,r)}var ol=Symbol(`_vei`);function sl(e,t,n,r,i=null){let a=e[ol]||(e[ol]={}),o=a[t];if(r&&o)o.value=r;else{let[n,s]=ul(t);r?il(e,n,a[t]=ml(r,i),s):o&&(al(e,n,o,s),a[t]=void 0)}}var cl=/(Once|Passive|Capture)$/,ll=/^on:?(?:Once|Passive|Capture)$/;function ul(e){let t,n;for(;(n=e.match(cl))&&!ll.test(e);)t||={},e=e.slice(0,e.length-n[1].length),t[n[1].toLowerCase()]=!0;return[e[2]===`:`?e.slice(3):O(e.slice(2)),t]}var dl=0,fl=Promise.resolve(),pl=()=>dl||=(fl.then(()=>dl=0),Date.now());function ml(e,t){let n=e=>{if(!e._vts)e._vts=Date.now();else if(e._vts<=n.attached)return;let r=n.value;if(p(r)){let n=e.stopImmediatePropagation;e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0};let i=r.slice(),a=[e];for(let n=0;n<i.length&&!e._stopped;n++){let e=i[n];e&&zn(e,t,5,a)}}else zn(r,t,5,[e])};return n.value=e,n.attached=pl(),n}var hl=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,gl=(e,t,n,r,i,a)=>{let o=i===`svg`;t===`class`?Lc(e,r,o):t===`style`?Jc(e,n,r):s(t)?c(t)||sl(e,t,n,r,a):(t[0]===`.`?(t=t.slice(1),1):t[0]===`^`?(t=t.slice(1),0):_l(e,t,r,o))?(rl(e,t,r),!e.tagName.includes(`-`)&&(t===`value`||t===`checked`||t===`selected`)&&nl(e,t,r,o,a,t!==`value`)):e._isVueCE&&(vl(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!y(r)))?rl(e,D(t),r,a,t):(t===`true-value`?e._trueValue=r:t===`false-value`&&(e._falseValue=r),nl(e,t,r,o))};function _l(e,t,n,r){if(r)return!!(t===`innerHTML`||t===`textContent`||t in e&&hl(t)&&v(n));if(t===`spellcheck`||t===`draggable`||t===`translate`||t===`autocorrect`||t===`sandbox`&&e.tagName===`IFRAME`||t===`form`||t===`list`&&e.tagName===`INPUT`||t===`type`&&e.tagName===`TEXTAREA`)return!1;if(t===`width`||t===`height`){let t=e.tagName;if(t===`IMG`||t===`VIDEO`||t===`CANVAS`||t===`SOURCE`)return!1}return hl(t)&&y(n)?!1:t in e}function vl(e,t){let n=e._def.props;if(!n)return!1;let r=D(t);return Array.isArray(n)?n.some(e=>D(e)===r):Object.keys(n).some(e=>D(e)===r)}var yl={};function bl(e,t,n){let r=V(e,t);T(r)&&(r=l({},r,t));class i extends Cl{constructor(e){super(r,e,n)}}return i.def=r,i}var xl=((e,t)=>bl(e,t,bu)),Sl=typeof HTMLElement<`u`?HTMLElement:class{},Cl=class e extends Sl{constructor(e,t={},n=yu){super(),this._def=e,this._props=t,this._createApp=n,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._patching=!1,this._dirty=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._styleAnchors=new WeakMap,this._ob=null,this.shadowRoot&&n!==yu?this._root=this.shadowRoot:e.shadowRoot===!1?this._root=this:(this.attachShadow(l({},e.shadowRootOptions,{mode:`open`})),this._root=this.shadowRoot)}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let t=this;for(;t&&=t.assignedSlot||t.parentNode||t.host;)if(t instanceof e){this._parent=t;break}this._instance||(this._resolved?this._mount(this._def):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{if(this._pendingResolve=void 0,this.isConnected)return this._resolveDef()}):this._resolveDef())}_setParent(e=this._parent){e&&(this._instance.parent=e._instance,this._inheritParentContext(e))}_inheritParentContext(e=this._parent){e&&this._app&&Object.setPrototypeOf(this._app._context.provides,e._instance.provides)}disconnectedCallback(){this._connected=!1,Yn(()=>{this._connected||(this._ob&&=(this._ob.disconnect(),null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&=(this._teleportTargets.clear(),void 0))})}_processMutations(e){for(let t of e)this._setAttr(t.attributeName)}_resolveDef(){if(this._pendingResolve)return this._pendingResolve;for(let e=0;e<this.attributes.length;e++)this._setAttr(this.attributes[e].name);this._ob=new MutationObserver(this._processMutations.bind(this)),this._ob.observe(this,{attributes:!0});let e=(e,t=!1)=>{this._resolved=!0,this._pendingResolve=void 0;let{props:n,styles:r}=e,i;if(n&&!p(n))for(let e in n){let t=n[e];(t===Number||t&&t.type===Number)&&(e in this._props&&(this._props[e]=le(this._props[e])),(i||=Object.create(null))[D(e)]=!0)}this._numberProps=i,this._resolveProps(e),this.shadowRoot&&this._applyStyles(r),this._connected&&this._mount(e)},t=this._def.__asyncLoader;if(t)return this._pendingResolve=t().then(t=>{t.configureApp=this._def.configureApp,e(this._def=t,!0)}),this._pendingResolve;e(this._def)}_mount(e){this._app=this._createApp(e),this._inheritParentContext(),e.configureApp&&e.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);let t=this._instance&&this._instance.exposed;if(t)for(let e in t)f(this,e)||Object.defineProperty(this,e,{get:()=>z(t[e])})}_resolveProps(e){let{props:t}=e,n=p(t)?t:Object.keys(t||{});for(let e of Object.keys(this))e[0]!==`_`&&n.includes(e)&&this._setProp(e,this[e]);for(let e of n.map(D))Object.defineProperty(this,e,{get(){return this._getProp(e)},set(t){this._setProp(e,t,!0,!this._patching)}})}_setAttr(e){if(e.startsWith(`data-v-`))return;let t=this.hasAttribute(e),n=t?this.getAttribute(e):yl,r=D(e);t&&this._numberProps&&this._numberProps[r]&&(n=le(n)),this._setProp(r,n,!1,!0)}_getProp(e){return this._props[e]}_setProp(e,t,n=!0,r=!1){if(t!==this._props[e]&&(this._dirty=!0,t===yl?delete this._props[e]:(this._props[e]=t,e===`key`&&this._app&&(this._app._ceVNode.key=t)),r&&this._instance&&this._update(),n)){let n=this._ob;n&&(this._processMutations(n.takeRecords()),n.disconnect()),t===!0?this.setAttribute(O(e),``):typeof t==`string`||typeof t==`number`?this.setAttribute(O(e),t+``):t||this.removeAttribute(O(e)),n&&n.observe(this,{attributes:!0})}}_update(){let e=this._createVNode();this._app&&(e.appContext=this._app._context),_u(e,this._root)}_createVNode(){let e={};this.shadowRoot||(e.onVnodeMounted=e.onVnodeUpdated=this._renderSlots.bind(this));let t=J(this._def,l(e,this._props));return this._instance||(t.ce=e=>{this._instance=e,e.ce=this,e.isCE=!0;let t=(e,t)=>{this.dispatchEvent(new CustomEvent(e,T(t[0])?l({detail:t},t[0]):{detail:t}))};e.emit=(e,...n)=>{t(e,n),O(e)!==e&&t(O(e),n)},this._setParent()}),t}_applyStyles(e,t,n){if(!e)return;if(t){if(t===this._def||this._styleChildren.has(t))return;this._styleChildren.add(t)}let r=this._nonce,i=this.shadowRoot,a=n?this._getStyleAnchor(n)||this._getStyleAnchor(this._def):this._getRootStyleInsertionAnchor(i),o=null;for(let s=e.length-1;s>=0;s--){let c=document.createElement(`style`);r&&c.setAttribute(`nonce`,r),c.textContent=e[s],i.insertBefore(c,o||a),o=c,s===0&&(n||this._styleAnchors.set(this._def,c),t&&this._styleAnchors.set(t,c))}}_getStyleAnchor(e){if(!e)return null;let t=this._styleAnchors.get(e);return t&&t.parentNode===this.shadowRoot?t:(t&&this._styleAnchors.delete(e),null)}_getRootStyleInsertionAnchor(e){for(let t=0;t<e.childNodes.length;t++){let n=e.childNodes[t];if(!(n instanceof HTMLStyleElement))return n}return null}_parseSlots(){let e=this._slots={},t;for(;t=this.firstChild;){let n=t.nodeType===1&&t.getAttribute(`slot`)||`default`;(e[n]||(e[n]=[])).push(t),this.removeChild(t)}}_renderSlots(){let e=this._getSlots(),t=this._instance.type.__scopeId;for(let n=0;n<e.length;n++){let r=e[n],i=r.getAttribute(`name`)||`default`,a=this._slots[i],o=r.parentNode;if(a)for(let e of a){if(t&&e.nodeType===1){let n=t+`-s`,r=document.createTreeWalker(e,1);e.setAttribute(n,``);let i;for(;i=r.nextNode();)i.setAttribute(n,``)}o.insertBefore(e,r)}else for(;r.firstChild;)o.insertBefore(r.firstChild,r);o.removeChild(r)}}_getSlots(){let e=[this];this._teleportTargets&&e.push(...this._teleportTargets);let t=new Set;for(let n of e){let e=n.querySelectorAll(`slot`);for(let n=0;n<e.length;n++)t.add(e[n])}return Array.from(t)}_injectChildStyle(e,t){this._applyStyles(e.styles,e,t)}_beginPatch(){this._patching=!0,this._dirty=!1}_endPatch(){this._patching=!1,this._dirty&&this._instance&&this._update()}_hasShadowRoot(){return this._def.shadowRoot!==!1}_removeChildStyle(e){}};function wl(e){let t=Z();return t&&t.ce||null}function Tl(){let e=wl();return e&&e.shadowRoot}function El(e=`$style`){{let t=Z();if(!t)return r;let n=t.type.__cssModules;return n&&n[e]||r}}var Dl=new WeakMap,Ol=new WeakMap,kl=Symbol(`_moveCb`),Al=Symbol(`_enterCb`),jl=new WeakMap,Ml=(e=>(delete e.props.mode,e))({name:`TransitionGroup`,props:l({},xc,{tag:String,moveClass:String}),setup(e,{slots:t}){let n=Z(),r=Gr(),i,a,o,s,c=()=>(s===void 0&&(s=i.length>0&&Vl(i[0].el,n.vnode.el,Pl(e))),s);return Qi(()=>{if(jl.delete(n),!c()){i=[],o=void 0;return}let t=Pl(e);i.forEach(Nl);let r=o&&Bl(o,n.vnode.el);o=void 0,i.forEach(e=>Fl(e,r));let a=i.filter(Il);Ic(n.vnode.el),a.forEach(e=>{let n=e.el,r=n.style;Oc(n,t),r.transform=r.webkitTransform=r.transitionDuration=``;let i=n[kl]=e=>{e&&e.target!==n||(!e||e.propertyName.endsWith(`transform`))&&(n.removeEventListener(`transitionend`,i),n[kl]=null,kc(n,t))};n.addEventListener(`transitionend`,i)}),i=[]}),()=>{let l=I(e),u=Tc(l),d=l.tag||H;if(i=[],s=void 0,a)for(let e=0;e<a.length;e++){let t=a[e];t.el&&t.el instanceof Element&&!t.el[zc]&&(i.push(t),ti(t,Qr(t,u,r,n)),Dl.set(t,Ll(t.el)))}a=t.default?ni(t.default()):[];for(let e=0;e<a.length;e++){let t=a[e];t.key!=null&&ti(t,Qr(t,u,r,n))}return i.length&&(o=Rl(n),jl.set(n,c)),J(d,null,a)}}});function Nl(e){let t=e.el;t[kl]&&t[kl](),t[Al]&&t[Al]()}function Pl(e){return e.moveClass||`${e.name||`v`}-move`}function Fl(e,t){Ol.set(e,Ll(e.el,t))}function Il(e){let t=Dl.get(e),n=Ol.get(e),r=t.left-n.left,i=t.top-n.top;if(r||i){let t=e.el,n=t.style,a=t.getBoundingClientRect(),o=1,s=1;return t.offsetWidth&&(o=a.width/t.offsetWidth),t.offsetHeight&&(s=a.height/t.offsetHeight),(!Number.isFinite(o)||o===0)&&(o=1),(!Number.isFinite(s)||s===0)&&(s=1),Math.abs(o-1)<.01&&(o=1),Math.abs(s-1)<.01&&(s=1),n.transform=n.webkitTransform=`translate(${r/o}px,${i/s}px)`,n.transitionDuration=`0s`,e}}function Ll(e,t){let n=e.getBoundingClientRect();return{left:n.left-(t?t.left:0),top:n.top-(t?t.top:0)}}function Rl(e){let t;for(let n=e.parent;n;n=n.parent){let r=jl.get(n);if(r){let i=zl(n.vnode.el,e.vnode.el);i&&(t||=[]).push(l(Ll(i),{item:i,willMove:r}))}}return t}function zl(e,t){let n=e.nodeType===1?e:e.parentNode;for(;t&&t.parentNode!==n;)t=t.parentNode;if(t&&t.nodeType===1)return t}function Bl(e,t){let n=e.find(e=>e.willMove()&&e.item.contains(t));return n&&Ll(n.item,n)}function Vl(e,t,n){let r=e.cloneNode(),i=e[yc];i&&i.forEach(e=>{e.split(/\s+/).forEach(e=>e&&r.classList.remove(e))}),n.split(/\s+/).forEach(e=>e&&r.classList.add(e)),r.style.display=`none`;let a=t.nodeType===1?t:t.parentNode;a.appendChild(r);let{hasTransform:o}=Nc(r);return a.removeChild(r),o}var Hl=e=>{let t=e.props[`onUpdate:modelValue`]||!1;return p(t)?e=>oe(t,e):t};function Ul(e){e.target.composing=!0}function Wl(e){let t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event(`input`)))}var Gl=Symbol(`_assign`),Kl=Symbol(`_initialValue`);function ql(e,t,n){return t&&(e=e.trim()),n&&(e=ce(e)),e}var Jl={created(e,{modifiers:{lazy:t,trim:n,number:r}},i){e.parentNode&&(e.type===`text`?e[Kl]=e.defaultValue.replace(/[\r\n]/g,``):e.type===`textarea`&&(e[Kl]=e.defaultValue.replace(/\r\n?/g,`
|
|
4
|
+
`))),e[Gl]=Hl(i);let a=r||i.props&&i.props.type===`number`;il(e,t?`change`:`input`,t=>{t.target.composing||e[Gl](ql(e.value,n,a))}),(n||a)&&il(e,`change`,()=>{e.value=ql(e.value,n,a)}),t||(il(e,`compositionstart`,Ul),il(e,`compositionend`,Wl),il(e,`change`,Wl))},mounted(e,{value:t,modifiers:{trim:n,number:r}}){let i=t??``,a=e[Kl];delete e[Kl],a!==void 0&&(e.type===`text`||e.type===`textarea`)&&e.value!==a?e[Gl](ql(e.value,n,r)):e.value=i},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:i,number:a}},o){if(e[Gl]=Hl(o),e.composing)return;let s=(a||e.type===`number`)&&!/^0\d/.test(e.value)?ce(e.value):e.value,c=t??``;if(s===c)return;let l=e.getRootNode();(l instanceof Document||l instanceof ShadowRoot)&&l.activeElement===e&&e.type!==`range`&&(r&&t===n||i&&e.value.trim()===c)||(e.value=c)}},Yl={deep:!0,created(e,t,n){e[Gl]=Hl(n),il(e,`change`,()=>{let t=e._modelValue,n=tu(e),r=e.checked,i=e[Gl];if(p(t)){let e=Te(t,n),a=e!==-1;if(r&&!a)i(t.concat(n));else if(!r&&a){let n=[...t];n.splice(e,1),i(n)}}else if(h(t)){let e=new Set(t);r?e.add(n):e.delete(n),i(e)}else i(nu(e,r))})},mounted:Xl,beforeUpdate(e,t,n){e[Gl]=Hl(n),Xl(e,t,n)}};function Xl(e,{value:t,oldValue:n},r){e._modelValue=t;let i;if(p(t))i=Te(t,r.props.value)>-1;else if(h(t))i=t.has(r.props.value);else{if(t===n)return;i=we(t,nu(e,!0))}e.checked!==i&&(e.checked=i)}var Zl={created(e,{value:t},n){e.checked=we(t,n.props.value),e[Gl]=Hl(n),il(e,`change`,()=>{e[Gl](tu(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[Gl]=Hl(r),t!==n&&(e.checked=we(t,r.props.value))}},Ql={deep:!0,created(e,{value:t,modifiers:{number:n}},r){e._modelValue=t,il(e,`change`,()=>{let t=Array.prototype.filter.call(e.options,e=>e.selected).map(e=>n?ce(tu(e)):tu(e)),r=e.multiple,i=r?h(e._modelValue)?new Set(t):t:t[0],a=e._pendingValue=[r,r?p(i)?t.slice():t:i];try{e[Gl](i)}finally{Yn(()=>{e._pendingValue===a&&(e._pendingValue=void 0)})}}),e[Gl]=Hl(r)},mounted(e,{value:t}){eu(e,t)},beforeUpdate(e,{value:t},n){e._modelValue=t,e[Gl]=Hl(n)},updated(e,{value:t}){let n=e._pendingValue;e._pendingValue=void 0,(!n||n[0]!==e.multiple||!$l(t,n[1],n[0]))&&eu(e,t)}};function $l(e,t,n){if(!n||p(e))return we(e,t);if(h(e)){if(e.size!==t.length)return!1;for(let n of t)if(!e.has(n))return!1;return!0}return!1}function eu(e,t){let n=e.multiple,r=p(t);if(!n||r||h(t)){for(let i=0,a=e.options.length;i<a;i++){let a=e.options[i],o=tu(a);if(n){if(r){let e=typeof o;a.selected=e===`string`||e===`number`?t.some(e=>String(e)===String(o)):Te(t,o)>-1}else a.selected=t.has(o)}else if(we(tu(a),t)){e.selectedIndex!==i&&(e.selectedIndex=i);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function tu(e){return`_value`in e?e._value:e.value}function nu(e,t){let n=t?`_trueValue`:`_falseValue`;return n in e?e[n]:t}var ru={created(e,t,n){au(e,t,n,null,`created`)},mounted(e,t,n){au(e,t,n,null,`mounted`)},beforeUpdate(e,t,n,r){au(e,t,n,r,`beforeUpdate`)},updated(e,t,n,r){au(e,t,n,r,`updated`)}};function iu(e,t){switch(e){case`SELECT`:return Ql;case`TEXTAREA`:return Jl;default:switch(t){case`checkbox`:return Yl;case`radio`:return Zl;default:return Jl}}}function au(e,t,n,r,i){let a=iu(e.tagName,n.props&&n.props.type)[i];a&&a(e,t,n,r)}function ou(){Jl.getSSRProps=({value:e})=>({value:e}),Zl.getSSRProps=({value:e},t)=>{if(t.props&&we(t.props.value,e))return{checked:!0}},Yl.getSSRProps=({value:e},t)=>{if(p(e)){if(t.props&&Te(e,t.props.value)>-1)return{checked:!0}}else if(h(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},ru.getSSRProps=(e,t)=>{if(typeof t.type!=`string`)return;let n=iu(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}var su=[`ctrl`,`shift`,`alt`,`meta`],cu={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>`button`in e&&e.button!==0,middle:e=>`button`in e&&e.button!==1,right:e=>`button`in e&&e.button!==2,exact:(e,t)=>su.some(n=>e[`${n}Key`]&&!t.includes(n))},lu=(e,t)=>{if(!e)return e;let n=e._withMods||={},r=t.join(`.`);return n[r]||(n[r]=((n,...r)=>{for(let e=0;e<t.length;e++){let r=cu[t[e]];if(r&&r(n,t))return}return e(n,...r)}))},uu={esc:`escape`,space:` `,up:`arrow-up`,left:`arrow-left`,right:`arrow-right`,down:`arrow-down`,delete:`backspace`},du=(e,t)=>{let n=e._withKeys||={},r=t.join(`.`);return n[r]||(n[r]=(n=>{if(!(`key`in n))return;let r=O(n.key);if(t.some(e=>e===r||uu[e]===r))return e(n)}))},fu=l({patchProp:gl},gc),pu,mu=!1;function hu(){return pu||=Lo(fu)}function gu(){return pu=mu?pu:Ro(fu),mu=!0,pu}var _u=((...e)=>{hu().render(...e)}),vu=((...e)=>{gu().hydrate(...e)}),yu=((...e)=>{let t=hu().createApp(...e),{mount:n}=t;return t.mount=e=>{let r=Su(e);if(!r)return;let i=t._component;!v(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent=``);let a=n(r,!1,xu(r));return r instanceof Element&&(r.removeAttribute(`v-cloak`),r.setAttribute(`data-v-app`,``)),a},t}),bu=((...e)=>{let t=gu().createApp(...e),{mount:n}=t;return t.mount=e=>{let t=Su(e);if(t)return n(t,!0,xu(t))},t});function xu(e){if(e instanceof SVGElement)return`svg`;if(typeof MathMLElement==`function`&&e instanceof MathMLElement)return`mathml`}function Su(e){return y(e)?document.querySelector(e):e}var Cu=!1,wu=()=>{Cu||(Cu=!0,ou(),Hc())},Tu=t({BaseTransition:()=>Xr,BaseTransitionPropsValidators:()=>qr,Comment:()=>U,DeprecationTypes:()=>null,EffectScope:()=>je,ErrorCodes:()=>In,ErrorTypeStrings:()=>ac,Fragment:()=>H,KeepAlive:()=>zi,ReactiveEffect:()=>Ie,Static:()=>cs,Suspense:()=>Xo,Teleport:()=>Br,Text:()=>ss,TrackOpTypes:()=>Cn,Transition:()=>Sc,TransitionGroup:()=>Ml,TriggerOpTypes:()=>wn,VueElement:()=>Cl,assertNumber:()=>Fn,callWithAsyncErrorHandling:()=>zn,callWithErrorHandling:()=>Rn,camelize:()=>D,capitalize:()=>ae,cloneVNode:()=>Ss,compatUtils:()=>null,compile:()=>Eu,computed:()=>Q,createApp:()=>yu,createBlock:()=>K,createCommentVNode:()=>X,createElementBlock:()=>G,createElementVNode:()=>q,createHydrationRenderer:()=>Ro,createPropsRestProxy:()=>Ia,createRenderer:()=>Lo,createSSRApp:()=>bu,createSlots:()=>ma,createStaticVNode:()=>Cs,createTextVNode:()=>Y,createVNode:()=>J,customRef:()=>hn,defineAsyncComponent:()=>Ii,defineComponent:()=>V,defineCustomElement:()=>bl,defineEmits:()=>wa,defineExpose:()=>Ta,defineModel:()=>Oa,defineOptions:()=>Ea,defineProps:()=>Ca,defineSSRCustomElement:()=>xl,defineSlots:()=>Da,devtools:()=>oc,effect:()=>Ye,effectScope:()=>Me,getCurrentInstance:()=>Z,getCurrentScope:()=>Ne,getCurrentWatcher:()=>On,getTransitionRawChildren:()=>ni,guardReactiveProps:()=>xs,h:()=>$s,handleError:()=>Bn,hasInjectionContext:()=>yr,hydrate:()=>vu,hydrateOnIdle:()=>ki,hydrateOnInteraction:()=>Ni,hydrateOnMediaQuery:()=>Mi,hydrateOnVisible:()=>ji,initCustomFormatter:()=>ec,initDirectivesForSSR:()=>wu,inject:()=>vr,isMemoSame:()=>nc,isProxy:()=>nn,isReactive:()=>$t,isReadonly:()=>en,isRef:()=>L,isRuntimeOnly:()=>Ks,isShallow:()=>tn,isVNode:()=>hs,markRaw:()=>rn,mergeDefaults:()=>Pa,mergeModels:()=>Fa,mergeProps:()=>Ds,nextTick:()=>Yn,nodeOps:()=>gc,normalizeClass:()=>M,normalizeProps:()=>_e,normalizeStyle:()=>j,onActivated:()=>Vi,onBeforeMount:()=>Yi,onBeforeUnmount:()=>$i,onBeforeUpdate:()=>Zi,onDeactivated:()=>Hi,onErrorCaptured:()=>ia,onMounted:()=>Xi,onRenderTracked:()=>ra,onRenderTriggered:()=>na,onScopeDispose:()=>Pe,onServerPrefetch:()=>ta,onUnmounted:()=>ea,onUpdated:()=>Qi,onWatcherCleanup:()=>kn,openBlock:()=>W,patchProp:()=>gl,popScopeId:()=>pr,provide:()=>_r,proxyRefs:()=>pn,pushScopeId:()=>fr,queuePostFlushCb:()=>$n,reactive:()=>Jt,readonly:()=>Xt,ref:()=>R,registerRuntimeCompiler:()=>Gs,render:()=>_u,renderList:()=>pa,renderSlot:()=>ha,resolveComponent:()=>sa,resolveDirective:()=>ua,resolveDynamicComponent:()=>la,resolveFilter:()=>null,resolveTransitionHooks:()=>Qr,setBlockTracking:()=>ps,setDevtoolsHook:()=>sc,setTransitionHooks:()=>ti,shallowReactive:()=>Yt,shallowReadonly:()=>Zt,shallowRef:()=>sn,ssrContextKey:()=>br,ssrUtils:()=>cc,stop:()=>Xe,toDisplayString:()=>N,toHandlerKey:()=>k,toHandlers:()=>_a,toRaw:()=>I,toRef:()=>yn,toRefs:()=>gn,toValue:()=>dn,transformVNodeArgs:()=>_s,triggerRef:()=>un,unref:()=>z,useAttrs:()=>ja,useCssModule:()=>El,useCssVars:()=>Wc,useHost:()=>wl,useId:()=>ii,useModel:()=>ro,useSSRContext:()=>xr,useShadowRoot:()=>Tl,useSlots:()=>Aa,useTemplateRef:()=>oi,useTransitionState:()=>Gr,vModelCheckbox:()=>Yl,vModelDynamic:()=>ru,vModelRadio:()=>Zl,vModelSelect:()=>Ql,vModelText:()=>Jl,vShow:()=>Bc,version:()=>rc,warn:()=>ic,watch:()=>Tr,watchEffect:()=>Sr,watchPostEffect:()=>Cr,watchSyncEffect:()=>wr,withAsyncContext:()=>La,withCtx:()=>B,withDefaults:()=>ka,withDirectives:()=>hr,withKeys:()=>du,withMemo:()=>tc,withModifiers:()=>lu,withScopeId:()=>mr}),Eu=()=>{},Du=e=>e.startsWith(`/`);function Ou(e){return typeof e==`object`||`displayName`in e||`props`in e||`__vccOpts`in e}function ku(e){return e.__esModule||e[Symbol.toStringTag]===`Module`||e.default&&Ou(e.default)}var $=Object.assign;function Au(e,t){let n={};for(let r in t){let i=t[r];n[r]=Mu(i)?i.map(e):e(i)}return n}var ju=()=>{},Mu=Array.isArray;function Nu(e,t){let n={};for(let r in e)n[r]=r in t?t[r]:e[r];return n}var Pu=Symbol(``);function Fu(e,t){return $(Error(),{type:e,[Pu]:!0},t)}function Iu(e,t){return e instanceof Error&&Pu in e&&(t==null||!!(e.type&t))}var Lu=Symbol(``),Ru=Symbol(``),zu=Symbol(``),Bu=Symbol(``),Vu=Symbol(``),Hu=Symbol(``);function Uu(e){return vr(Bu)}var Wu=typeof document<`u`,Gu=/#/g,Ku=/&/g,qu=/\//g,Ju=/=/g,Yu=/\?/g,Xu=/\+/g,Zu=/%5B/g,Qu=/%5D/g,$u=/%5E/g,ed=/%60/g,td=/%7B/g,nd=/%7C/g,rd=/%7D/g,id=/%20/g;function ad(e){return e==null?``:encodeURI(``+e).replace(nd,`|`).replace(Zu,`[`).replace(Qu,`]`)}function od(e){return ad(e).replace(td,`{`).replace(rd,`}`).replace($u,`^`)}function sd(e){return ad(e).replace(Xu,`%2B`).replace(id,`+`).replace(Gu,`%23`).replace(Ku,`%26`).replace(ed,"`").replace(td,`{`).replace(rd,`}`).replace($u,`^`)}function cd(e){return sd(e).replace(Ju,`%3D`)}function ld(e){return ad(e).replace(Gu,`%23`).replace(Yu,`%3F`)}function ud(e){return ld(e).replace(qu,`%2F`)}function dd(e){if(e==null)return null;try{return decodeURIComponent(``+e)}catch{}return``+e}var fd=/\/$/,pd=e=>e.replace(fd,``);function md(e,t,n=`/`){let r,i={},a=``,o=``,s=t.indexOf(`#`),c=t.indexOf(`?`);return c=s>=0&&c>s?-1:c,c>=0&&(r=t.slice(0,c),a=t.slice(c,s>0?s:t.length),i=e(a.slice(1))),s>=0&&(r||=t.slice(0,s),o=t.slice(s,t.length)),r=Sd(r??t,n),{fullPath:r+a+o,path:r,query:i,hash:dd(o)}}function hd(e,t){let n=t.query?e(t.query):``;return t.path+(n&&`?`)+n+(t.hash||``)}function gd(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||`/`}function _d(e,t,n){let r=t.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&vd(t.matched[r],n.matched[i])&&yd(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function vd(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function yd(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!bd(e[n],t[n]))return!1;return!0}function bd(e,t){return Mu(e)?xd(e,t):Mu(t)?xd(t,e):(e&&e.valueOf())===(t&&t.valueOf())}function xd(e,t){return Mu(t)?e.length===t.length&&e.every((e,n)=>e===t[n]):e.length===1&&e[0]===t}function Sd(e,t){if(Du(e))return e;if(!e)return t;let n=t.split(`/`),r=e.split(`/`),i=r[r.length-1];(i===`..`||i===`.`)&&r.push(``);let a=n.length-1,o,s;for(o=0;o<r.length;o++)if(s=r[o],s!==`.`){if(s===`..`)a>1&&a--;else break}return n.slice(0,a).join(`/`)+`/`+r.slice(o).join(`/`)}var Cd={path:`/`,name:void 0,params:{},query:{},hash:``,fullPath:`/`,matched:[],meta:{},redirectedFrom:void 0};function wd(e){if(!e){if(Wu){let t=document.querySelector(`base`);e=t&&t.getAttribute(`href`)||`/`,e=e.replace(/^\w+:\/\/[^/]+/,``)}else e=`/`}return e[0]!==`/`&&e[0]!==`#`&&(e=`/`+e),pd(e)}var Td=/^[^#]+#/;function Ed(e,t){return e.replace(Td,`#`)+t}function Dd(e,t){let n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}var Od=()=>history.scrollRestoration===`manual`?{left:window.scrollX,top:window.scrollY}:null;function kd(e){let t;if(`el`in e){let n=e.el,r=typeof n==`string`&&n.startsWith(`#`),i=typeof n==`string`?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=Dd(i,e)}else t=e;`scrollBehavior`in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left==null?window.scrollX:t.left,t.top==null?window.scrollY:t.top)}function Ad(e,t){return(history.state?history.state.position-t:-1)+e}var jd=new Map;function Md(e){jd.set(e,Od())}function Nd(e){let t=jd.get(e);return jd.delete(e),t}function Pd(e,t=!1){for(let n of jd.keys()){let r=parseInt(n,10);(r===e||!t&&r>e)&&jd.delete(n)}}function Fd(e){return typeof e==`string`||e&&typeof e==`object`}function Id(e){return typeof e==`string`||typeof e==`symbol`}function Ld(e){let t={};if(e===``||e===`?`)return t;let n=(e[0]===`?`?e.slice(1):e).split(`&`);for(let e=0;e<n.length;++e){let r=n[e].replace(Xu,` `),i=r.indexOf(`=`),a=dd(i<0?r:r.slice(0,i)),o=i<0?null:dd(r.slice(i+1));if(a in t){let e=t[a];Mu(e)||(e=t[a]=[e]),e.push(o)}else t[a]=o}return t}function Rd(e){let t=``;for(let n in e){let r=e[n];n=cd(n),r==null?r!==void 0&&(t+=(t.length?`&`:``)+n):(Mu(r)?r.map(e=>e&&sd(e)):[r&&sd(r)]).forEach(e=>{e!==void 0&&(t+=(t.length?`&`:``)+n,e!=null&&(t+=`=`+e))})}return t}function zd(e){let t={};for(let n in e){let r=e[n];r!==void 0&&(t[n]=Mu(r)?r.map(e=>e==null?null:``+e):r==null?r:``+r)}return t}function Bd(){let e=[];function t(t){return e.push(t),()=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Vd(e,t,n,r,i,a=e=>e()){let o=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((s,c)=>{let l=e=>{e===!1?c(Fu(4,{from:n,to:t})):e instanceof Error?c(e):Fd(e)?c(Fu(2,{from:t,to:e})):(o&&r.enterCallbacks[i]===o&&typeof e==`function`&&o.push(e),s())},u=a(()=>e.call(r&&r.instances[i],t,n,l)),d=Promise.resolve(u);e.length<3&&(d=d.then(l)),d.catch(e=>c(e))})}function Hd(e,t,n,r,i=e=>e()){let a=[];for(let o of e)for(let e in o.components){let s=o.components[e];if(t===`beforeRouteEnter`||o.instances[e]){if(Ou(s)){let c=(s.__vccOpts||s)[t];c&&a.push(Vd(c,n,r,o,e,i))}else{let c=s();a.push(()=>c.then(a=>{if(!a)throw Error(`Couldn't resolve component "${e}" at "${o.path}"`);let s=ku(a)?a.default:a;o.mods[e]=a,o.components[e]=s;let c=(s.__vccOpts||s)[t];return c&&Vd(c,n,r,o,e,i)()}))}}}return a}function Ud(e,t){let n=[],r=[],i=[],a=Math.max(t.matched.length,e.matched.length);for(let o=0;o<a;o++){let a=t.matched[o];a&&(e.matched.find(e=>vd(e,a))?r.push(a):n.push(a));let s=e.matched[o];s&&(t.matched.find(e=>vd(e,s))||i.push(s))}return[n,r,i]}var Wd=()=>location.protocol+`//`+location.host;function Gd(e,t){let{pathname:n,search:r,hash:i}=t,a=e.indexOf(`#`);if(a>-1){let t=i.includes(e.slice(a))?e.slice(a).length:1,n=i.slice(t);return n[0]!==`/`&&(n=`/`+n),gd(n,``)}return gd(n,e)+r+i}function Kd(e,t,n,r){let i=[],a=[],o=null,s=({state:a})=>{let s=Gd(e,location),c=n.value,l=t.value,u=0;if(a){if(n.value=s,t.value=a,o&&o===c){o=null;return}u=l?a.position-l.position:0}else r(s);i.forEach(e=>{e(n.value,c,{delta:u,type:`pop`,direction:u?u>0?`forward`:`back`:``})})};function c(){o=n.value}function l(e){i.push(e);let t=()=>{let t=i.indexOf(e);t>-1&&i.splice(t,1)};return a.push(t),t}function u(){let{history:e}=window;e.state&&e.replaceState($({},e.state,{scroll:Od()}),``)}function d(){for(let e of a)e();a=[],window.removeEventListener(`popstate`,s),window.removeEventListener(`pagehide`,u)}return window.addEventListener(`popstate`,s),window.addEventListener(`pagehide`,u),{pauseListeners:c,listen:l,destroy:d}}function qd(e,t,n,r=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:null}}function Jd(e){let{history:t,location:n}=window,r={value:Gd(e,n)},i={value:t.state};i.value||a(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function a(r,a,o){let s=e.indexOf(`#`),c=s>-1?(n.host&&document.querySelector(`base`)?e:e.slice(s))+r:Wd()+e+r;try{t[o?`replaceState`:`pushState`](a,``,c),i.value=a}catch(e){console.error(e),n[o?`replace`:`assign`](c)}}function o(e,n){let o=$({},t.state,qd(i.value.back,e,i.value.forward,!0),n,{position:i.value.position});a(e,o,!0),Pd(o.position,!0),r.value=e}function s(e,n){let o=$({},i.value,t.state,{forward:e,scroll:Od()});a(o.current,o,!0),a(e,$({},qd(r.value,e,null),{position:o.position+1},n),!1),Pd(o.position),r.value=e}return{location:r,state:i,push:s,replace:o}}function Yd(e){e=wd(e);let t=Jd(e),n=Kd(e,t.state,t.location,t.replace);function r(e,t=!0){t||n.pauseListeners(),history.go(e)}let i=$({location:``,base:e,go:r,createHref:Ed.bind(null,e)},t,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>t.state.value}),i}function Xd(e){return e=location.host?e||location.pathname+location.search:``,e.includes(`#`)||(e+=`#`),Yd(e)}var Zd={type:0,value:``},Qd=/[a-zA-Z0-9_]/;function $d(e){if(!e)return[[]];if(e===`/`)return[[Zd]];if(!Du(e))throw Error(`Invalid path "${e}"`);function t(e){throw Error(`ERR (${n})/"${l}": ${e}`)}let n=0,r=n,i=[],a;function o(){a&&i.push(a),a=[]}let s=0,c,l=``,u=``;function d(){l&&=(n===0?a.push({type:0,value:l}):n===1||n===2||n===3?(a.length>1&&(c===`*`||c===`+`)&&t(`A repeatable param (${l}) must be alone in its segment. eg: '/:ids+.`),a.push({type:1,value:l,regexp:u,repeatable:c===`*`||c===`+`,optional:c===`*`||c===`?`})):t(`Invalid state to consume buffer`),``)}function f(){l+=c}for(;s<e.length;)switch(c=e[s++],n){case 0:c===`\\`?(r=n,n=4):c===`/`?(l&&d(),o()):c===`:`?(d(),n=1):f();break;case 4:f(),n=r;break;case 1:c===`(`?n=2:Qd.test(c)?f():(d(),n=0,c!==`*`&&c!==`?`&&c!==`+`&&s--);break;case 2:c===`)`?u[u.length-1]==`\\`?u=u.slice(0,-1)+c:n=3:u+=c;break;case 3:d(),n=0,c!==`*`&&c!==`?`&&c!==`+`&&s--,u=``;break;default:t(`Unknown state`)}return n===2&&t(`Unfinished custom RegExp for param "${l}"`),d(),o(),i}var ef=`[^/]+?`,tf={sensitive:!1,strict:!1,start:!0,end:!0},nf=/[.+*?^${}()[\]/\\]/g;function rf(e,t){let n=$({},tf,t),r=[],i=n.start?`^`:``,a=[];for(let t of e){let e=t.length?[]:[90];n.strict&&!t.length&&(i+=`/`);for(let r=0;r<t.length;r++){let o=t[r],s=40+(n.sensitive?.25:0);if(o.type===0)r||(i+=`/`),i+=o.value.replace(nf,`\\$&`),s+=40;else if(o.type===1){let{value:e,repeatable:n,optional:c,regexp:l}=o;a.push({name:e,repeatable:n,optional:c});let u=l||ef;if(u!==ef){s+=10;try{RegExp(`(${u})`)}catch(t){throw Error(`Invalid custom RegExp for param "${e}" (${u}): `+t.message)}}let d=n?`((?:${u})(?:/(?:${u}))*)`:`(${u})`;r||(d=c&&t.length<2?`(?:/${d})`:`/`+d),c&&(d+=`?`),i+=d,s+=20,c&&(s+=-8),n&&(s+=-20),u===`.*`&&(s+=-50)}e.push(s)}r.push(e)}if(n.strict&&n.end){let e=r.length-1;r[e][r[e].length-1]+=.7000000000000001}n.strict||(i+=`/?`),n.end?i+=`$`:n.strict&&!i.endsWith(`/`)&&(i+=`(?:/|$)`);let o=new RegExp(i,n.sensitive?``:`i`);function s(e){let t=e.match(o),n={};if(!t)return null;for(let e=1;e<t.length;e++){let r=t[e]||``,i=a[e-1];n[i.name]=r&&i.repeatable?r.split(`/`):r}return n}function c(t){let n=``,r=!1;for(let i of e){(!r||!n.endsWith(`/`))&&(n+=`/`),r=!1;for(let e of i)if(e.type===0)n+=e.value;else if(e.type===1){let{value:a,repeatable:o,optional:s}=e,c=a in t?t[a]:``;if(Mu(c)&&!o)throw Error(`Provided param "${a}" is an array but it is not repeatable (* or + modifiers)`);let l=Mu(c)?c.join(`/`):c;if(!l){if(s)i.length<2&&(n.endsWith(`/`)?n=n.slice(0,-1):r=!0);else throw Error(`Missing required param "${a}"`)}n+=l}}return n||`/`}return{re:o,score:r,keys:a,parse:s,stringify:c}}function af(e,t){let n=0;for(;n<e.length&&n<t.length;){let r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function of(e,t){let n=0,r=e.score,i=t.score;for(;n<r.length&&n<i.length;){let e=af(r[n],i[n]);if(e)return e;n++}if(Math.abs(i.length-r.length)===1){if(sf(r))return 1;if(sf(i))return-1}return i.length-r.length}function sf(e){let t=e[e.length-1];return e.length>0&&t[t.length-1]<0}var cf={strict:!1,end:!0,sensitive:!1};function lf(e,t,n){let r=$(rf($d(e.path),n),{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function uf(e,t){let n=[],r=new Map;t=Nu(cf,t);function i(e){return r.get(e)}function a(e,n,r){let i=!r,s=ff(e);s.aliasOf=r&&r.record;let l=Nu(t,e),u=[s];if(`alias`in e){let t=typeof e.alias==`string`?[e.alias]:e.alias;for(let e of t)u.push(ff($({},s,{components:r?r.record.components:s.components,path:e,aliasOf:r?r.record:s})))}let d,f;for(let t of u){let{path:u}=t;if(n&&!Du(u)){let e=n.record.path,r=e[e.length-1]===`/`?``:`/`;t.path=n.record.path+(u&&r+u)}if(d=lf(t,n,l),r?r.alias.push(d):(f||=d,f!==d&&f.alias.push(d),i&&e.name&&!mf(d)&&o(e.name)),vf(d)&&c(d),s.children){let e=s.children;for(let t=0;t<e.length;t++)a(e[t],d,r&&r.children[t])}r||=d}return f?()=>{o(f)}:ju}function o(e){if(Id(e)){let t=r.get(e);t&&(r.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(o),t.alias.forEach(o))}else{let t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&r.delete(e.record.name),e.children.forEach(o),e.alias.forEach(o))}}function s(){return n}function c(e){let t=gf(e,n);n.splice(t,0,e),e.record.name&&!mf(e)&&r.set(e.record.name,e)}function l(e,t){let i,a={},o,s;if(`name`in e&&e.name){if(i=r.get(e.name),!i)throw Fu(1,{location:e});s=i.record.name,a=$(df(t.params,i.keys.filter(e=>!e.optional).concat(i.parent?i.parent.keys.filter(e=>e.optional):[]).map(e=>e.name)),e.params&&df(e.params,i.keys.map(e=>e.name))),o=i.stringify(a)}else if(e.path!=null)o=e.path,i=n.find(e=>e.re.test(o)),i&&(a=i.parse(o),s=i.record.name,i.keys.forEach(e=>{e.optional&&!a[e.name]&&delete a[e.name]}));else{if(i=t.name?r.get(t.name):n.find(e=>e.re.test(t.path)),!i)throw Fu(1,{location:e,currentLocation:t});s=i.record.name,a=$({},t.params,e.params),o=i.stringify(a)}let c=[],l=i;for(;l;)c.unshift(l.record),l=l.parent;return{name:s,path:o,params:a,matched:c,meta:hf(c)}}e.forEach(e=>a(e));function u(){n.length=0,r.clear()}return{addRoute:a,resolve:l,removeRoute:o,clearRoutes:u,getRoutes:s,getRecordMatcher:i}}function df(e,t){let n={};for(let r of t)r in e&&(n[r]=e[r]);return n}function ff(e){let t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:pf(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:`components`in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function pf(e){let t={},n=e.props||!1;if(`component`in e)t.default=n;else for(let r in e.components)t[r]=typeof n==`object`?n[r]:n;return t}function mf(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function hf(e){return e.reduce((e,t)=>$(e,t.meta),{})}function gf(e,t){let n=0,r=t.length;for(;n!==r;){let i=n+r>>1;of(e,t[i])<0?r=i:n=i+1}let i=_f(e);return i&&(r=t.lastIndexOf(i,r-1)),r}function _f(e){let t=e;for(;t=t.parent;)if(vf(t)&&of(e,t)===0)return t}function vf({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function yf(e){let t=vr(zu),n=vr(Bu),r=Q(()=>{let n=z(e.to);return t.resolve(n)}),i=Q(()=>{let{matched:e}=r.value,{length:t}=e,i=e[t-1],a=n.matched;if(!i||!a.length)return-1;let o=a.findIndex(vd.bind(null,i));if(o>-1)return o;let s=wf(e[t-2]);return t>1&&wf(i)===s&&a[a.length-1].path!==s?a.findIndex(vd.bind(null,e[t-2])):o}),a=Q(()=>i.value>-1&&Cf(n.params,r.value.params)),o=Q(()=>i.value>-1&&i.value===n.matched.length-1&&yd(n.params,r.value.params));function s(n={}){if(Sf(n)){let n=t[z(e.replace)?`replace`:`push`](z(e.to)).catch(ju);return e.viewTransition&&typeof document<`u`&&`startViewTransition`in document&&document.startViewTransition(()=>n),n}return Promise.resolve()}return{route:r,href:Q(()=>r.value.href),isActive:a,isExactActive:o,navigate:s}}function bf(e){return e.length===1?e[0]:e}var xf=V({name:`RouterLink`,compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:`page`},viewTransition:Boolean},useLink:yf,setup(e,{slots:t}){let n=Jt(yf(e)),{options:r}=vr(zu),i=Q(()=>({[Tf(e.activeClass,r.linkActiveClass,`router-link-active`)]:n.isActive,[Tf(e.exactActiveClass,r.linkExactActiveClass,`router-link-exact-active`)]:n.isExactActive}));return()=>{let r=t.default&&bf(t.default(n));return e.custom?r:$s(`a`,{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},r)}}});function Sf(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&(e.button===void 0||e.button===0)){if(e.currentTarget&&e.currentTarget.getAttribute){let t=e.currentTarget.getAttribute(`target`);if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Cf(e,t){for(let n in t){let r=t[n],i=e[n];if(Mu(r)){if(!Mu(i)||i.length!==r.length||r.some((e,t)=>e.valueOf()!==i[t].valueOf()))return!1}else if(r!==i)return!1}return!0}function wf(e){return e?e.aliasOf?e.aliasOf.path:e.path:``}var Tf=(e,t,n)=>e??t??n,Ef=V({name:`RouterView`,inheritAttrs:!1,props:{name:{type:String,default:`default`},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){let r=vr(Vu),i=Q(()=>e.route||r.value),a=vr(Ru,0),o=Q(()=>{let e=z(a),{matched:t}=i.value,n;for(;(n=t[e])&&!n.components;)e++;return e}),s=Q(()=>i.value.matched[o.value]);_r(Ru,Q(()=>o.value+1)),_r(Lu,s),_r(Vu,i);let c=new Set;_r(Hu,c);let l=R(),u=Cd,{app:d}=Z().appContext;return Tr(()=>[l.value,s.value,e.name],([e,t,n],[r,i,a])=>{t&&(t.instances[n]=e,i&&i!==t&&e&&e===r&&(t.leaveGuards.size||(t.leaveGuards=i.leaveGuards),t.updateGuards.size||(t.updateGuards=i.updateGuards))),e&&t&&(!i||!vd(t,i)||!r)&&(t.enterCallbacks[n]||[]).forEach(t=>t(e))},{flush:`post`}),()=>{let r=i.value,a=e.name,o=s.value,f=o&&o.components[a];if(!f)return Df(n.default,{Component:f,route:r});let p=o.props[a],m=p?p===!0?r.params:typeof p==`function`?p(r):p:null,h=e=>{e.component.isUnmounted&&(o.instances[a]=null)},g=e=>Yn(()=>{if(u===r||i.value!==r||e.el.getRootNode()!==d._container.getRootNode())return;let t=u;u=r;for(let e of c)e(r,t)}),_=$s(f,$({},m,t,{onVnodeUnmounted:h,onVnodeMounted:g,onVnodeUpdated:g,ref:l}));return Df(n.default,{Component:_,route:r})||_}}});function Df(e,t){if(!e)return null;let n=e(t);return n.length===1?n[0]:n}var Of=Ef;function kf(e){let t=e.matcher||uf(e.routes,e),n=e.parseQuery||Ld,r=e.stringifyQuery||Rd,i=e.history,a=Bd(),o=Bd(),s=Bd(),c=sn(Cd),l=sn(0),u=Cd;Wu&&e.scrollBehavior&&`scrollRestoration`in history&&(history.scrollRestoration=`manual`);let d=Au.bind(null,e=>``+e),f=Au.bind(null,ud),p=Au.bind(null,dd);function m(e,n){let r,i;Id(e)?(r=t.getRecordMatcher(e),i=n):i=e;let a=t.addRoute(i,r);return l.value++,()=>{a(),l.value++}}function h(e){let n=t.getRecordMatcher(e);n&&(t.removeRoute(n),l.value++)}function g(){t.clearRoutes(),l.value++}function _(){return t.getRoutes().map(e=>e.record)}function v(e){return!!t.getRecordMatcher(e)}function y(e,a){if(l.value,typeof e==`string`){a||=e.startsWith(`/`)?Cd:c.value;let r=md(n,e,a.path),o=t.resolve({path:r.path},a),s=i.createHref(r.fullPath);return $(r,o,{params:p(o.params),redirectedFrom:void 0,href:s})}a=$({},a||(e.path!=null&&e.path.startsWith(`/`)&&!(`name`in e&&e.name)?Cd:c.value));let o;if(e.path!=null)o=$({},e,{path:md(n,e.path,a.path).path});else{let t=$({},e.params);for(let e in t)t[e]??delete t[e];o=$({},e,{params:f(t)}),a.params=f(a.params)}let s=t.resolve(o,a),u=e.hash||``;s.params=d(p(s.params));let m=hd(r,$({},e,{hash:od(u),path:s.path})),h=i.createHref(m);return $({fullPath:m,hash:u,query:r===Rd?zd(e.query):e.query||{}},s,{redirectedFrom:void 0,href:h})}function b(e){return typeof e==`string`?md(n,e,c.value.path):$({},e)}function x(e,t){if(u!==e)return Fu(8,{from:t,to:e})}function S(e){return ee(e)}function C(e){return S($(b(e),{replace:!0}))}function w(e,t){let n=e.matched[e.matched.length-1];if(n&&n.redirect){let{redirect:r}=n,i=typeof r==`function`?r(e,t):r;return typeof i==`string`&&(i=i.includes(`?`)||i.includes(`#`)?i=b(i):{path:i},i.params={}),$({query:e.query,hash:e.hash,params:i.path==null?e.params:{}},i)}}function ee(e,t){let n=u=y(e),i=c.value,a=e.state,o=e.force,s=e.replace===!0,l=w(n,i);if(l)return ee($(b(l),{state:typeof l==`object`?$({},a,l.state):a,force:o,replace:s}),t||n);let d=n;d.redirectedFrom=t;let f;return!o&&_d(r,i,n)&&(f=Fu(16,{to:d,from:i}),ce(i,i,!0,!1)),(f?Promise.resolve(f):te(d,i)).catch(e=>Iu(e)?Iu(e,2)?e:se(e):A(e,d,i)).then(e=>{if(e){if(Iu(e,2))return ee($({replace:s},b(e.to),{state:typeof e.to==`object`?$({},a,e.to.state):a,force:o}),t||d)}else e=re(d,i,!0,s,a);return ne(d,i,e),e})}function T(e,t){let n=x(e,t);return n?Promise.reject(n):Promise.resolve()}function E(e){let t=de.values().next().value;return t&&typeof t.runWithContext==`function`?t.runWithContext(e):e()}function te(e,t){let n,[r,i,s]=Ud(e,t);n=Hd(r.reverse(),`beforeRouteLeave`,e,t);for(let i of r)i.leaveGuards.forEach(r=>{n.push(Vd(r,e,t))});let c=T.bind(null,e,t);return n.push(c),j(n).then(()=>{n=[];for(let r of a.list())n.push(Vd(r,e,t));return n.push(c),j(n)}).then(()=>{n=Hd(i,`beforeRouteUpdate`,e,t);for(let r of i)r.updateGuards.forEach(r=>{n.push(Vd(r,e,t))});return n.push(c),j(n)}).then(()=>{n=[];for(let r of s)if(r.beforeEnter){if(Mu(r.beforeEnter))for(let i of r.beforeEnter)n.push(Vd(i,e,t));else n.push(Vd(r.beforeEnter,e,t))}return n.push(c),j(n)}).then(()=>(e.matched.forEach(e=>e.enterCallbacks={}),n=Hd(s,`beforeRouteEnter`,e,t,E),n.push(c),j(n))).then(()=>{n=[];for(let r of o.list())n.push(Vd(r,e,t));return n.push(c),j(n)}).catch(e=>Iu(e,8)?e:Promise.reject(e))}function ne(e,t,n){s.list().forEach(r=>E(()=>r(e,t,n)))}function re(e,t,n,r,a){let o=x(e,t);if(o)return o;let s=t===Cd,l=Wu?history.state:{};n&&(r||s?i.replace(e.fullPath,$({scroll:s&&l&&l.scroll},a)):i.push(e.fullPath,a)),c.value=e,ce(e,t,n,s),se()}let D;function ie(){D||=i.listen((e,t,n)=>{if(!fe.listening)return;let r=y(e),a=w(r,fe.currentRoute.value);if(a){ee($(a,{replace:!0,force:!0}),r).catch(ju);return}u=r;let o=c.value;Wu&&n.delta&&Md(Ad(o.fullPath,n.delta)),te(r,o).catch(e=>Iu(e,12)?e:Iu(e,2)?(ee($(b(e.to),{force:!0}),r).then(e=>{Iu(e,20)&&!n.delta&&n.type===`pop`&&i.go(-1,!1)}).catch(ju),Promise.reject()):(n.delta&&i.go(-n.delta,!1),A(e,r,o))).then(e=>{e||=re(r,o,!1),e&&(n.delta&&!Iu(e,8)?i.go(-n.delta,!1):n.type===`pop`&&Iu(e,20)&&i.go(-1,!1)),ne(r,o,e)}).catch(ju)})}let O=Bd(),ae=Bd(),k;function A(e,t,n){se(e);let r=ae.list();return r.length?r.forEach(r=>r(e,t,n)):console.error(e),Promise.reject(e)}function oe(){return k&&c.value!==Cd?Promise.resolve():new Promise((e,t)=>{O.add([e,t])})}function se(e){return k||(k=!e,ie(),O.list().forEach(([t,n])=>e?n(e):t()),O.reset()),e}function ce(t,n,r,i){let{scrollBehavior:a}=e;if(!Wu||!a)return Promise.resolve();let o=!r&&Nd(Ad(t.fullPath,0))||(i||!r)&&history.state&&history.state.scroll||null;return Yn().then(()=>a(t,n,o)).then(e=>t===c.value&&e&&kd(e)).catch(e=>t===c.value&&A(e,t,n))}let le=e=>i.go(e),ue,de=new Set,fe={currentRoute:c,listening:!0,addRoute:m,removeRoute:h,clearRoutes:g,hasRoute:v,getRoutes:_,resolve:y,options:e,push:S,replace:C,go:le,back:()=>le(-1),forward:()=>le(1),beforeEach:a.add,beforeResolve:o.add,afterEach:s.add,onError:ae.add,isReady:oe,install(e){e.component(`RouterLink`,xf),e.component(`RouterView`,Of),e.config.globalProperties.$router=fe,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>z(c)}),Wu&&!ue&&c.value===Cd&&(ue=!0,S(i.location).catch(e=>{}));let t={};for(let e in Cd)Object.defineProperty(t,e,{get:()=>c.value[e],enumerable:!0});e.provide(zu,fe),e.provide(Bu,Yt(t)),e.provide(Vu,c);let n=e.unmount;de.add(e),e.unmount=function(){de.delete(e),de.size<1&&(u=Cd,D&&D(),D=null,c.value=Cd,ue=!1,k=!1),n()}}};function j(e){return e.reduce((e,t)=>e.then(()=>E(t)),Promise.resolve())}return fe}var Af=(e,t)=>(e=e.replace(/\/+$/,``),e+=`/`,t=t.replace(/^\/+/,``),e+t),jf=(e,t)=>{for(let[n,r]of Object.entries(t)){let t=RegExp(`/:`+n+`(?:{[^/]+})?\\??(?=/|$)`);e=e.replace(t,()=>r?`/${r}`:``)}return e},Mf=e=>{let t=new URLSearchParams;for(let[n,r]of Object.entries(e))if(r!==void 0){if(Array.isArray(r))for(let e of r)e!==void 0&&t.append(n,e);else t.set(n,r)}return t},Nf=(e,t)=>{switch(t){case`ws`:return e.replace(/^http/,`ws`);case`http`:return e.replace(/^ws/,`http`)}},Pf=e=>/^https?:\/\/[^\/]+?\/index(?=\?|$)/.test(e)?e.replace(/\/index(?=\?|$)/,`/`):e.replace(/\/index(?=\?|$)/,``);function Ff(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function If(e,t){if(!Ff(e)&&!Ff(t))return t;let n={...e};for(let e in t){let r=t[e];n[e]=Ff(n[e])&&Ff(r)?If(n[e],r):r}return n}var Lf=/^[\w!#$%&'*.^`|~+-]+$/,Rf=(e,t,n={})=>{if(!Lf.test(e))throw Error(`Invalid cookie name`);let r=`${e}=${t}`;if(e.startsWith(`__Secure-`)&&!n.secure)throw Error(`__Secure- Cookie must have Secure attributes`);if(e.startsWith(`__Host-`)){if(!n.secure)throw Error(`__Host- Cookie must have Secure attributes`);if(n.path!==`/`)throw Error(`__Host- Cookie must have Path attributes with "/"`);if(n.domain)throw Error(`__Host- Cookie must not have Domain attributes`)}for(let e of[`domain`,`path`,`sameSite`,`priority`])if(n[e]&&/[;\r\n]/.test(n[e]))throw Error(`${e} must not contain ";", "\\r", or "\\n"`);if(n&&typeof n.maxAge==`number`&&n.maxAge>=0){if(n.maxAge>3456e4)throw Error(`Cookies Max-Age SHOULD NOT be greater than 400 days (34560000 seconds) in duration.`);r+=`; Max-Age=${n.maxAge|0}`}if(n.domain&&n.prefix!==`host`&&(r+=`; Domain=${n.domain}`),n.path&&(r+=`; Path=${n.path}`),n.expires){if(n.expires.getTime()-Date.now()>3456e7)throw Error(`Cookies Expires SHOULD NOT be greater than 400 days (34560000 seconds) in the future.`);r+=`; Expires=${n.expires.toUTCString()}`}if(n.httpOnly&&(r+=`; HttpOnly`),n.secure&&(r+=`; Secure`),n.sameSite&&(r+=`; SameSite=${n.sameSite.charAt(0).toUpperCase()+n.sameSite.slice(1)}`),n.priority&&(r+=`; Priority=${n.priority.charAt(0).toUpperCase()+n.priority.slice(1)}`),n.partitioned){if(!n.secure)throw Error(`Partitioned Cookie must have Secure attributes`);r+=`; Partitioned`}return r},zf=(e,t,n)=>(t=encodeURIComponent(t),Rf(e,t,n)),Bf=(e,t)=>new Proxy(()=>{},{get(n,r){if(typeof r==`string`&&r!==`then`)return Bf(e,[...t,r])},apply(n,r,i){return e({path:t,args:i})}}),Vf=(e,t)=>{let n=t.toString();return n?`${e}?${n}`:e},Hf=class{url;method;buildSearchParams;queryParams=void 0;pathParams={};rBody;cType=void 0;constructor(e,t,n){this.url=e,this.method=t,this.buildSearchParams=n.buildSearchParams}fetch=async(e,t)=>{if(e){if(e.query&&(this.queryParams=this.buildSearchParams(e.query)),e.form){let t=new FormData;for(let[n,r]of Object.entries(e.form))if(r!==void 0){if(Array.isArray(r))for(let e of r)e!==void 0&&t.append(n,e);else t.append(n,r)}this.rBody=t}e.json!==void 0&&(this.rBody=JSON.stringify(e.json),this.cType=`application/json`),e.param&&(this.pathParams=e.param)}let n=this.method.toUpperCase(),r={...e?.header,...typeof t?.headers==`function`?await t.headers():t?.headers};if(e?.cookie){let t=[];for(let[n,r]of Object.entries(e.cookie))r!==void 0&&t.push(zf(n,r));t.length>0&&(r.Cookie=t.join(`; `))}this.cType&&(r[`Content-Type`]=this.cType);let i=new Headers;for(let[e,t]of Object.entries(r))t!==void 0&&i.set(e,t);let a=this.url;a=Pf(a),a=jf(a,this.pathParams),this.queryParams&&(a=Vf(a,this.queryParams)),n=this.method.toUpperCase();let o=n!==`GET`&&n!==`HEAD`;return(t?.fetch||fetch)(a,{body:o?this.rBody:void 0,method:n,headers:i,...t?.init})}},Uf=((e,t)=>Bf(function n(r){let i=t?.buildSearchParams??Mf,a=[...r.path],o=a.slice(-3).reverse();if(o[0]===`toString`)return o[1]===`name`?o[2]||``:n.toString();if(o[0]===`valueOf`)return o[1]===`name`?o[2]||``:n;let s=``;if(/^\$/.test(o[0])){let e=a.pop();e&&(s=e.replace(/^\$/,``))}let c=Af(e,a.join(`/`));if(s===`url`||s===`path`){let t=Pf(c);return r.args[0]&&(r.args[0].param&&(t=jf(t,r.args[0].param)),r.args[0].query&&(t=Vf(t,i(r.args[0].query)))),s===`url`?new URL(t):t.slice(e.replace(/\/+$/,``).length).replace(/^\/?/,`/`)}if(s===`ws`){let e=Pf(c),n=Nf(r.args[0]?.param?jf(e,r.args[0].param):e,`ws`),a=new URL(n),o=r.args[0]?.query;return o&&i(o).forEach((e,t)=>{a.searchParams.append(t,e)}),((...e)=>t?.webSocket!==void 0&&typeof t.webSocket==`function`?t.webSocket(...e):new WebSocket(...e))(a.toString())}let l=new Hf(c,s,{buildSearchParams:i});if(s){t??={};let e={...r.args[1]},n=t.headers,i=e.headers;n&&i&&(e.headers=async()=>({...typeof n==`function`?await n():n,...typeof i==`function`?await i():i}));let a=If(t,e);return l.fetch(r.args[0],a)}return l},[]))(`/`),Wf=R();async function Gf(e){let t;try{t=await e()}catch{Wf.value={kind:`not-running`};return}if(t.status===401)Wf.value={kind:`session-ended`};else if(t.status===500){let e=await t.json().catch(()=>void 0);Wf.value=e?.error?.code===`registry-unreadable`?{kind:`registry-unreadable`,message:e.error.message}:{kind:`internal`}}else return t}async function Kf(e,t){let n=await Gf(()=>Uf.api.projects[`:id`].tasks[`:task`].$get({param:{id:encodeURIComponent(e),task:encodeURIComponent(t)}}));if(n)return n.status===200?(await n.json()).task:(await n.json()).error.code===`not-found`?`not-found`:`not-connected`}function qf(e){return e.state===`ready`?`Jig ${e.jigVersion}`:e.state===`unsupported`?`${e.jigVersion?`Jig ${e.jigVersion}`:`A Jig of unknown version`} — Jig UI needs ${e.minimum} or later. Run jig upgrade in the project.`:e.state===`incompatible`?`Jig ${e.jigVersion} answers in a form this Jig UI does not read. Update Jig UI: npx @fapost/jig-ui@latest.`:e.state===`unreadable`?`Jig could not be read (${e.code}). It is tried again on the next change.`:e.reason===`missing`?`The project directory is not there any more.`:`There is no Jig in the project any more.`}var Jf=e=>e?.startsWith(`https://`)?e:void 0,Yf=new Set,Xf;function Zf(e){return Yf.size===0&&document.addEventListener(`visibilitychange`,Qf),Yf.add(e),Qf(),Xf?.readyState===EventSource.OPEN&&e(),()=>Yf.delete(e)}function Qf(){document.hidden?(Xf?.close(),Xf=void 0):Xf||(Xf=new EventSource(`/api/events`),Xf.addEventListener(`open`,()=>{for(let e of Yf)e()}),Xf.addEventListener(`changed`,e=>{let{project:t}=JSON.parse(e.data);for(let e of Yf)e(t)}),Xf.addEventListener(`error`,()=>void Gf(()=>Uf.api.instance.$get())))}var $f={attention:`text-amber-700 dark:text-amber-300`,good:`text-emerald-700 dark:text-emerald-300`,bad:`text-destructive`,quiet:`text-muted-foreground`},ep={attention:`border-l-2 border-amber-500 pl-2 text-amber-700 dark:text-amber-300`,good:`border-l-2 border-emerald-500 pl-2 text-emerald-700 dark:text-emerald-300`,bad:`border-l-2 border-destructive pl-2 text-destructive`,quiet:`border-l-2 border-border pl-2 text-muted-foreground`},tp=`bg-amber-500 text-black`,np=`bg-emerald-500`,rp={"needs-you":`bg-amber-500`,"in-progress":`bg-sky-500`,ready:`bg-emerald-500`,backlog:`bg-slate-400`,paused:`bg-zinc-400`},ip={class:`flex items-stretch overflow-x-auto border-b`,"aria-label":`Projects`},ap=[`aria-label`],op={key:1,class:`text-muted-foreground`,"aria-label":`not readable`},sp={class:`ml-auto flex shrink-0 items-center gap-2 px-2`},cp={key:0,class:`px-2 text-muted-foreground`},lp=V({__name:`ProjectTabs`,props:{projects:{},current:{},version:{}},setup(e){return(t,n)=>{let r=sa(`RouterLink`);return W(),G(`nav`,ip,[J(r,{to:`/`,class:M([`flex shrink-0 items-center border-r px-4 py-2.5 font-bold whitespace-nowrap`,e.current===void 0?`bg-foreground text-background`:`hover:bg-muted`]),"aria-current":e.current===void 0?`page`:void 0},{default:B(()=>[...n[0]||=[Y(` jig-ui:// `,-1)]]),_:1},8,[`class`,`aria-current`]),(W(!0),G(H,null,pa(e.projects,t=>(W(),K(r,{key:t.id,to:`/projects/${encodeURIComponent(t.id)}`,class:M([`flex shrink-0 items-center gap-2 border-r px-4 py-2.5 whitespace-nowrap`,t.id===e.current?`bg-foreground text-background`:`hover:bg-muted`]),"aria-current":t.id===e.current?`page`:void 0},{default:B(()=>[Y(N(t.id)+` `,1),t.state===`ready`&&t.attention.length>0?(W(),G(`span`,{key:0,class:M([z(tp),`px-1`]),"aria-label":`${t.attention.length} need you`},N(t.attention.length),11,ap)):t.state===`ready`?X(``,!0):(W(),G(`span`,op,`!`))]),_:2},1032,[`to`,`class`,`aria-current`]))),128)),q(`div`,sp,[e.version?(W(),G(`span`,cp,`v`+N(e.version),1)):X(``,!0),ha(t.$slots,`default`)])])}}}),up={xmlns:`http://www.w3.org/2000/svg`,width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,"stroke-width":2,"stroke-linecap":`round`,"stroke-linejoin":`round`},dp=(...e)=>e.filter((e,t,n)=>!!e&&e.trim()!==``&&n.indexOf(e)===t).join(` `).trim();function fp(e){return e!=null}function pp(e,t={}){let n=t.attributeNames??{},r=e=>n[e]??e,i=e.size??e.width??up.width,a=e.size??e.height??up.height,o=e.aliases?.filter(e=>typeof e==`string`&&e.trim()!==``).map(e=>`lucide-${e}`)??[],s=[...e.name?[`lucide-${e.name}`]:[],...o],c=t.className?.split(` `).filter(Boolean)??[],l=t.includeDefaultClasses===!1?dp(...c):dp(`lucide`,...s,...c),u=t.absoluteStrokeWidth?Number(t.strokeWidth??up[`stroke-width`])*Number(e.size??e.width??up.width)/Number(t.size??t.width??up.width):t.strokeWidth??up[`stroke-width`];return[`svg`,{...Object.entries(up).reduce((e,[t,n])=>(e[r(t)]=n,e),{}),...`color`in t&&t.color&&{[r(`stroke`)]:t.color},...`size`in t&&fp(t.size)&&{[r(`width`)]:t.size,[r(`height`)]:t.size},...`width`in t&&fp(t.width)&&{[r(`width`)]:t.width},...`height`in t&&fp(t.height)&&{[r(`height`)]:t.height},[r(`stroke-width`)]:u,...l&&{[r(`class`)]:l},[r(`viewBox`)]:`0 0 ${i} ${a}`,...t.hasA11yProp===!1?{[r(`aria-hidden`)]:`true`}:{},...`attributes`in t&&t.attributes},e.node.map(e=>{let[n,i,a]=e,o=t.nonScalingStroke?{[r(`vector-effect`)]:`non-scaling-stroke`,...i}:i;return a?[n,o,a]:[n,o]})]}var mp=e=>{for(let t in e)if(t.startsWith(`aria-`)||t===`role`||t===`title`)return!0;return!1},hp=e=>e===``,gp=e=>e?.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase(),_p=Symbol(`lucide-icons`);function vp(){return vr(_p,{})}var yp=({name:e,iconNode:t,"icon-node":n,icon:r={name:e&&gp(e),node:t??n??[],size:24,aliases:[]},absoluteStrokeWidth:i,"absolute-stroke-width":a,nonScalingStroke:o,"non-scaling-stroke":s,strokeWidth:c,"stroke-width":l,size:u,width:d=u,height:f=u,color:p,...m},{slots:h})=>{let{size:g,color:_,strokeWidth:v=2,absoluteStrokeWidth:y=!1,nonScalingStroke:b=!1,class:x=``}=vp(),S=hp(i)||hp(a)||i===!0||a===!0||y===!0,C=hp(o)||hp(s)||o===!0||s===!0||b===!0;delete m.class;let w=h.default?.(),[,ee,T=[]]=pp(r,{color:p??_,width:d??u??g,height:f??u??g,strokeWidth:c??l??v,absoluteStrokeWidth:S,nonScalingStroke:C,className:x,hasA11yProp:w!=null&&w.length>0||mp(m),attributes:m});return $s(`svg`,ee,[...T.map(([e,t])=>$s(e,t)),...w??[]])};function bp(e,t=[]){let n=typeof e==`string`?{name:e,node:t}:e;return(e,{slots:t})=>$s(yp,{...e,icon:n},t.default?{default:t.default}:void 0)}var xp=bp({name:`arrow-left`,size:24,node:[[`path`,{d:`m12 19-7-7 7-7`,key:`1l729n`}],[`path`,{d:`M19 12H5`,key:`x3x0zl`}]]}),Sp=bp({name:`check`,size:24,node:[[`path`,{d:`M20 6 9 17l-5-5`,key:`1gmf2c`}]]}),Cp=bp({name:`chevron-down`,size:24,node:[[`path`,{d:`m6 9 6 6 6-6`,key:`qrunsl`}]]}),wp=bp({name:`chevron-right`,size:24,node:[[`path`,{d:`m9 18 6-6-6-6`,key:`mthhwq`}]]}),Tp=bp({name:`columns-3`,size:24,node:[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M9 3v18`,key:`fh3hqa`}],[`path`,{d:`M15 3v18`,key:`14nvp0`}]],aliases:[`panels-left-right`]}),Ep=bp({name:`copy`,size:24,node:[[`rect`,{width:`14`,height:`14`,x:`8`,y:`8`,rx:`2`,ry:`2`,key:`17jyea`}],[`path`,{d:`M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2`,key:`zix9uf`}]]}),Dp=bp({name:`external-link`,size:24,node:[[`path`,{d:`M15 3h6v6`,key:`1q9fwt`}],[`path`,{d:`M10 14 21 3`,key:`gplh6r`}],[`path`,{d:`M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6`,key:`a6xqqp`}]]}),Op=bp({name:`milestone`,size:24,node:[[`path`,{d:`M12 13v8`,key:`1l5pq0`}],[`path`,{d:`M12 3v3`,key:`1n5kay`}],[`path`,{d:`M18.172 6a2 2 0 0 1 1.414.586l2.06 2.06a1.207 1.207 0 0 1 0 1.708l-2.06 2.06a2 2 0 0 1-1.414.586H4a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1z`,key:`8gz4t4`}]]}),kp=bp({name:`moon`,size:24,node:[[`path`,{d:`M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401`,key:`kfwtm`}]]}),Ap=bp({name:`rows-3`,size:24,node:[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M21 9H3`,key:`1338ky`}],[`path`,{d:`M21 15H3`,key:`9uk58r`}]],aliases:[`panels-top-bottom`]}),jp=bp({name:`sun`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`4`,key:`4exip2`}],[`path`,{d:`M12 2v2`,key:`tus03m`}],[`path`,{d:`M12 20v2`,key:`1lh1kg`}],[`path`,{d:`m4.93 4.93 1.41 1.41`,key:`149t6j`}],[`path`,{d:`m17.66 17.66 1.41 1.41`,key:`ptbguv`}],[`path`,{d:`M2 12h2`,key:`1t8f8n`}],[`path`,{d:`M20 12h2`,key:`1q8mjw`}],[`path`,{d:`m6.34 17.66-1.41 1.41`,key:`1m8zz5`}],[`path`,{d:`m19.07 4.93-1.41 1.41`,key:`1shlcs`}]]});function Mp(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`){if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=Mp(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n)}return r}function Np(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=Mp(e))&&(r&&(r+=` `),r+=t);return r}var Pp=e=>typeof e==`boolean`?`${e}`:e===0?`0`:e,Fp=Np,Ip=(e,t)=>n=>{if(t?.variants==null)return Fp(e,n?.class,n?.className);let{variants:r,defaultVariants:i}=t,a=Object.keys(r).map(e=>{let t=n?.[e],a=i?.[e];if(t===null)return null;let o=Pp(t)||Pp(a);return r[e][o]}),o=n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return r===void 0||(e[n]=r),e},{});return Fp(e,a,t?.compoundVariants?.reduce((e,t)=>{let{class:n,className:r,...a}=t;return Object.entries(a).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...i,...o}[t]):{...i,...o}[t]===n})?[...e,n,r]:e},[]),n?.class,n?.className)},Lp=48,Rp=(e,t=0)=>{let n=new Int32Array(e.length);for(let r=0;r<e.length;r++)n[r]=e.charCodeAt(r)-Lp-t;return n},zp=e=>{let t=new Int32Array(e.length+1);for(let n=0;n<e.length;n++)t[n+1]=t[n]+e[n];return t},Bp=e=>{let t=new Int32Array(e.length),n=0;for(let r=0;r<e.length;r++){let i=e.charCodeAt(r)-Lp;n+=i>>>1^-(i&1),t[r]=n}return t},Vp=384,Hp=[],Up=zp(Rp(`E0500002005282000000002000150000020021820000011200000003022202000300004200120000200420001200021200301200010400162000010000220021010:2192001200220012000220012000200200200400010200040000000000400200108200110100000022010313000162002000020020012020080213000228200000000082000000000120002000120020020040101020300130001001010`)),Wp=zp(Rp(`:11111111211111119311546544411119731869:671397415686432441111111111161114151214313433415:78311132233313187211117221449443411141111151152226611131111112212518142224214215421421542142424242516171151615616347111111111197911327451111111111111111111113134714133513411111311111111111111111111112444411111342312715245411117:3`)),Gp=`@containerabcdefghinlmoprstunderlineviawzccentlignnimatespectuto-colsrowsaglorightnessckdrop-sisbcontrastfiltergrayscalehue-rotateinvertopacityslurrightnessaturateepia-coniclinearpositionradialsizeockurrderttom-belrstxyespacing-xyaretoursorlnt-umnsendspantartainentrasteividerop-shadowurationcorationlay-xyasendillexontromlter-featuresstretchapr-xyayscaleidow-colsrowsue-rotatedentlinesetvert-beringsxyeshadoweiadingftnest-clamp-imageabein-lrstxyskx--b-coniclpositionrsizet-x-y-fromto-fromto-inearfromto-fromto-adialfromto-fromtofromtofromtofromtoblockhinlinew-screenesblockhinlinewbjectpacityrutlinederigin-offsetbelrstxyesrspective-originaceholderioghtng-offsettateundedw-xyz-belrstlreseslr-endspantartaturatecepiahizekewpace-taleroll-xyz-barmpbelrstxyesbelrstxyes-thumbrackadowrink-xyxyartrokeabextora-shadowpckingnsformitionlate-xyz-offsetill-changeoom`,Kp=(()=>{let e=Up.length-1,t=new Int32Array(e);for(let n=e-1;n>=0;n--){let e=1,r=n+1;for(let i=Up[n];i<Up[n+1];i++)e+=t[r],r+=t[r];t[n]=e}let n=new Int32Array(Up[e]),r=0;for(let i=0;i<e;i++){let e=i+1;for(let a=Up[i];a<Up[i+1];a++)n[r++]=e,e+=t[e]}return n})(),qp=Rp(`02000000000000900<=0?000B000F00F00ŏI0J0LNPRTVX0000]_a00000000000000000000000rst0000000zŏ00000000000
ŏ0000000ŏ00000000000000000000000000000000000000000000000000000000000000Ë000000000000000000000Þ000000000000000000ð0000000ø0ùúûüýþÿĀāĂ㥹Ć000000000000000000000000000000000000000000ħ0ĨĪ00000000000000000000ļĽ00000Ŭ000000`,1),Jp=zp(Rp(`123333359346463635126536711576`)),Yp=Rp(`93203242332583253248325D>E?F@03263243255B:032523853:0325B:8GA032542H<C=12727B:0328432553;D>E?3257D>032585:0325B:;0328B:032`),Xp=Rp(`012113445661666666789111:5;;;;;;;;444;;;:62999<1161=62>>?61:21@ABCD4446996:64E:::;:?::64:F114GHHIHHHHIHH1HH1HH1HHHHHH::EEJ4444::EE4444441691;644444114244444:;K6666555555555555555999666664444444444444444444444226?6:66644L9M?D:111::::6DE199`),Zp=Bp(`020200202020020020020020020020200200200200200200200002020202001003040106000200200200200200200200200200200200200200200200200200200200200200200200200200200200020020020020020020002020200202002002002002002002002002002020002002020020200220200200200200200200200200200200020020020000200020002000200200200020020020002000200200200020020202002020202000200200020022000200200020020002002000200220002002000200W0Z00020020002002020002002000200g0j0002002000200200020020002002000200200020020002000200002000002002002002002000200020000200002002002002002002002020020020200200200200200200200200202020020020020020020020020002002002020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020002002002002002002000200200200200200200200200200020202020002000200020002002002002000020200200`),Qp=(()=>{let e=new Int32Array(319).fill(-1),t=Bp(`02422242:222222242224222242442222222422222244442242226224222426222422442462222422622222222626222462242622422622422424242422222222422222222242422222222222222222622442224222222222222224424442262222222222222222222226224222424242422224422422422222`),n=Bp(`02222222222222222222202222222222222222222222221422222222222222222222222222222222222Y\\222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222221422222222222222222222222222222222222222Ŀł222222222222222222`);for(let r=0;r<t.length;r++)e[t[r]]=n[r];return e})(),$p=`container |break-after- all auto avoid avoid-page column left page right|break-before- all auto avoid avoid-page column left page right|break-inside-a uto void void-column void-page|box-decoration- clone slice|box- border content| contents flow-root hidden table table-caption table-cell table-column table-column-group table-footer-group table-header-group table-row table-row-group| not-sr-only sr-only|float- end left none right start|clear- both end left none right start|isolat e ion-auto|overflow- auto clip hidden scroll visible|overflow-x- auto clip hidden scroll visible|overflow-y- auto clip hidden scroll visible|overscroll- auto contain none|overscroll-x- auto contain none|overscroll-y- auto contain none| absolute fixed relative static sticky| collapse invisible visible|justify- around baseline between center center-safe end end-safe evenly normal start stretch|justify-items- center center-safe end end-safe normal start stretch|justify-self- auto center center-safe end end-safe start stretch|items- baseline baseline-last center center-safe end end-safe start stretch|self- auto baseline baseline-last center center-safe end end-safe start stretch|place-content- around baseline between center center-safe end end-safe evenly start stretch|place-items- baseline center center-safe end end-safe start stretch|place-self- auto center center-safe end end-safe start stretch| antialiased subpixel-antialiased| italic not-italic|normal-nums |ordinal |slashed-zero | lining-nums oldstyle-nums| proportional-nums tabular-nums| diagonal-fractions stacked-fractions| no-underline overline| capitalize lowercase normal-case uppercase|truncate |whitespace- break-spaces normal nowrap pre pre-line pre-wrap|break- all keep normal words|wrap- anywhere break-word normal|hyphens- auto manual none|mix-blend- color color-burn color-dodge darken difference exclusion hard-light hue lighten luminosity multiply normal overlay plus-darker plus-lighter saturation screen soft-light|table- auto fixed|caption- bottom top|backface- hidden visible|appearance- auto none|scheme- dark light light-dark normal only-dark only-light|field-sizing- content fixed|pointer-events- auto none|resize -none -x -y|snap- align-none center end start|snap- always normal|snap- both none x y|snap- mandatory proximity|touch- auto manipulation none|touch-pan- left right x|touch-pan- down up y|touch-pinch-zoom |select- all auto none text|forced-color-adjust- auto none| normal size| baseline bottom middle sub super text-bottom text-top top| bounce none ping pulse spin| auto square video| auto fr max min px|none | auto full px| fixed local scroll|clip- border content padding text|origin- border content padding| bottom bottom-left bottom-right center left left-bottom left-top right right-bottom right-top top top-left top-right| no-repeat repeat repeat-round repeat-space repeat-x repeat-y| auto contain cover| gradient-to-b gradient-to-bl gradient-to-br gradient-to-l gradient-to-r gradient-to-t gradient-to-tl gradient-to-tr none|blend- color color-burn color-dodge darken difference exclusion hard-light hue lighten luminosity multiply normal overlay saturation screen soft-light|to- b bl br l r t tl tr| auto dvh fit full lh lvh max min px screen svh| dashed dotted double hidden none solid| collapse separate|px |auto |full | content none strict| inline-size size|layout |paint |style | around baseline between center center-safe end end-safe evenly normal start stretch| alias all-scroll auto cell col-resize context-menu copy crosshair default e-resize ew-resize grab grabbing help move n-resize ne-resize nesw-resize no-drop none not-allowed ns-resize nw-resize nwse-resize pointer progress row-resize s-resize se-resize sw-resize text vertical-text w-resize wait zoom-in zoom-out| dashed dotted double solid wavy| auto from-font|reverse |initial | in in-out initial linear out| col col-reverse row row-reverse| nowrap wrap wrap-reverse| auto initial none| black bold extrabold extralight light medium normal semibold thin| condensed expanded extra-condensed extra-expanded normal semi-condensed semi-expanded ultra-condensed ultra-expanded|flow- col col-dense dense row row-dense| none subgrid| auto dvh dvw fit full lh lvh lvw max min px screen svh svw| block flex grid table| auto dvw fit full lvw max min px screen svw| loose none normal px relaxed snug tight|through |item | inside outside| decimal disc none| auto px| clip-border clip-content clip-fill clip-padding clip-stroke clip-view no-clip| add exclude intersect subtract| alpha luminance match|origin- border content fill padding stroke view|type- alpha luminance| circle ellipse| closest-corner closest-side farthest-corner farthest-side|at- bottom bottom-left bottom-right center left left-bottom left-top right right-bottom right-top top top-left top-right| dvh fit full lh lvh max min none px screen svh| auto dvh dvw fit full lh lvh lvw max min none px screen svh svw| dvw fit full lvw max min none px screen svw| auto dvh dvw fit full lvh lvw max min none prose px svh svw| auto dvh dvw fit full lvh lvw max min none px screen svh svw| contain cover fill none scale-down| first last none| distant dramatic midrange near none normal|inset | full none|3d | auto smooth|gutter- auto both stable| auto none thin| inner none| auto dvh dvw fit full lvh lvw max min px svh svw|base | center end justify left right start| clip ellipsis| balance nowrap pretty wrap| normal tight tighter wide wider widest| cpu gpu none| 3d flat| all colors none opacity shadow transform| discrete normal| full px| auto dvh dvw fit full lvh lvw max min px screen svh svw| auto contents scroll transform`.split(`|`).map(e=>{let t=e.split(` `),n=t.shift();for(let e=0;e<t.length;e++)t[e]=n+t[e];return t}),em=Bp(`0000000000000000000000000000000000000000000000000000000000000262242:6@200000006:240B428:4422400002046044222426220026642642462026224222824220022400000000\\00N222422242222222224062242222222422226264222422222222222222442804222422222222222222222222220<4<0204260002444020204224422`),tm=Bp(`ɠ222222222222222222222222222222222222222222222222222222222222˕4222226>ʶ22ʷʺʷ2ʸʷ42ʴ2ʓ22>621422ɶ222ɹɼɷɺɷɺ22ɱ42222ɨ2ɧ26622ɘɓ244ƸƵ222]d24242ǖǓƚÄȫ2263ȨȥȨ2222222ǣ222222222222222222ǂƽ2ƾƵ2222222422222ƜƑ22222222222222222222144Ŧţ22Ţş222222222222222222222ĸ2ı68ĦģĦɡŰ4Ġ«®ĝ822ĔđĔ2ē2222622`),nm=Bp(`02222222222222222222222222222222222222222222222222222222222222222202022222222222EH2200IL021042222Y\\222IL0cf2e10j2222U00X202[^2y0000120|{~22
:22|22222222222G000qOVI00000}2>40000B00000I¨©000¬00000000000000021M®00°000000000000000000000222HGHa1º222¿2À2222ÉÌ000°2±`),rm=new Int32Array(995),im=new Int32Array(995),am=new Int32Array(995),om=``,sm=new Int32Array(1038);{let e=new Map,t=0,n=0;for(let r=0;r<em.length;r++)for(let i of $p[nm[r]]){let a=e.get(i);a===void 0&&(a=t++,e.set(i,a),sm[a*2]=om.length,sm[a*2+1]=i.length,om+=i),rm[n]=em[r],im[n]=tm[r],am[n]=a,n++}}var cm=Bp(`0b2N:222@R>F@286¦2@H2D266226FB22B2>BD\\6N22222Z222D222p`),lm=zp(Rp(`1::24444432:442:44:44>222222:44:4421322511111311111114`)),um=Bp(`24A;33N=C@H4A;33N=C@<27;83:;8393NQ:3NQʰ222ˉºŴŽ2R2=18cƴÅŇ=cĞÛC1ƈǝȈ:ħ25=11D3A@4=<1;1DEr25;11B3?<6;:371BCn9@7=<8192>2E121@9@EHE@9>2T25511<398454131<=V25511<398454131<=ƧNž2Đå242L222290000f22500ɛ000ǘ222`),dm=Rp(`ij`),fm=Rp(``),pm=Rp(`1`),mm={GROUP_COUNT:Vp,customValidatorNames:Hp,edgeStart:Up,labelStart:Wp,labelText:Gp,edgeTarget:Kp,nodeGroup:qp,nodeVlist:Qp,vlistPat:Jp,vlistOps:Yp,vlistRef:Xp,vlistGroup:Zp,litAnchor:rm,litGroup:im,litPool:am,poolOffsets:sm,poolText:om,adjGid:cm,adjStart:lm,adjTgt:um,patGid:dm,patTgt:fm,postfixLookupGroups:pm,orderSensitiveModifiers:`* ** after backdrop before details-content file first-letter first-line marker placeholder selection`},hm=`line`in Error(),gm=-1,_m=-1,vm=(e,t,n)=>{let r=2166136261;for(let i=t;i<n;i++)r=Math.imul(r^e.charCodeAt(i),16777619);return r},ym=(e,t,n)=>{let r=n-t,i=Math.imul(r,2654435761)^e.charCodeAt(t);if(r>3){let a=r>>2,o=r>>1;i=Math.imul(i^e.charCodeAt(t+1)<<8^e.charCodeAt(t+2)<<16^e.charCodeAt(t+a),2246822507),i=Math.imul(i^e.charCodeAt(t+o)<<8^e.charCodeAt(t+o+a)<<16^e.charCodeAt(n-3),3266489909),i^=e.charCodeAt(n-2)<<8^e.charCodeAt(n-1)<<16;for(let r=t+3,a=n-4;r<t+8&&r<a;r++,a--)i=Math.imul(i^e.charCodeAt(r)^e.charCodeAt(a)<<8,16777619)}return i^i>>>15},bm=(e,t,n={})=>{let{GROUP_COUNT:r,edgeStart:i,labelStart:a,labelText:o,edgeTarget:s,nodeGroup:c,nodeVlist:l,vlistPat:u,vlistOps:d,vlistRef:f,vlistGroup:p,litAnchor:m,litGroup:h,litPool:g,poolOffsets:_,poolText:v,adjGid:y,adjStart:b,adjTgt:x,patGid:S,patTgt:C,postfixLookupGroups:w,customValidatorNames:ee,orderSensitiveModifiers:T}=e,E=new Int32Array(r).fill(-1);for(let e=0;e<y.length;e++)E[y[e]]=e;let te=0;for(let e=0;e+1<b.length;e++){let t=b[e+1]-b[e];t>te&&(te=t)}let ne=32;for(;ne<2*(1+te+S.length);)ne<<=1;let re=new Int32Array(f.length+1);for(let e=0;e<f.length;e++)re[e+1]=re[e]+u[f[e]+1]-u[f[e]];let D=new Uint8Array(r);for(let e=0;e<w.length;e++)D[w[e]]=1;let ie=i.length-1,O=new Uint8Array(ie),ae=0,k=!0;for(let e=0;e<m.length;e++){O[m[e]]=1;let t=_[g[e]*2+1];t>ae&&(ae=t);let n=v.charCodeAt(_[g[e]*2]);(n===91||n===40)&&(k=!1)}let A=1;for(;A<m.length*2;)A<<=1;let oe=new Int32Array(A).fill(-1);for(let e=0;e<m.length;e++){let t=_[g[e]*2],n=(vm(v,t,t+_[g[e]*2+1])^Math.imul(m[e],2654435761)|0)&A-1;for(;oe[n]!==-1;)n=n+1&A-1;oe[n]=e}let se=(e,t,n,r)=>{let i=(vm(t,n,r)^Math.imul(e,2654435761)|0)&A-1,a=r-n;for(;;){let r=oe[i];if(r===-1)return-1;if(m[r]===e&&_[g[r]*2+1]===a){let e=_[g[r]*2],i=!0;for(let r=0;r<a;r++)if(v.charCodeAt(e+r)!==t.charCodeAt(n+r)){i=!1;break}if(i)return h[r]}i=i+1&A-1}},ce=n.cacheSize??8192,le=n.prefix??e.prefix??``,ue=le===``?``:le+`:`,de=ue.length,fe=(ee??[]).map(e=>{let n=t&&t[e];if(!n)throw Error(`cn: missing validator `+e);return n}),j=/\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$/,pe=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,me=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,he=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ge=0,M=-1,_e=-1,ve=-1,ye=-1,be=e=>e>=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57||e===95,xe=e=>/\s/.test(String.fromCharCode(e)),Se=(e,t,n)=>{if(ge=0,M=-1,n-t<3)return;let r=e.charCodeAt(t),i=e.charCodeAt(n-1);if(r===91&&i===93)ge=1;else if(r===40&&i===41)ge=2;else return;ve=t+1,ye=n-1;let a=t+1;if(be(e.charCodeAt(a))){for(a++;a<n-1;){let t=e.charCodeAt(a);if(!be(t)&&t!==45)break;a++}a<n-2&&e.charCodeAt(a)===58&&(M=t+1,_e=a,ve=a+1)}},Ce=(e,t,n,r)=>{if(n-t!==r.length)return!1;for(let n=0;n<r.length;n++)if(e.charCodeAt(t+n)!==r.charCodeAt(n))return!1;return!0},we=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,Te=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Ee=e=>!!e&&!Number.isNaN(Number(e)),N=(e,t,n)=>{if(n-t<11||!Ce(e,t,t+10,`@container`))return!1;if(e.charCodeAt(t+10)===47)return n-t>=12;let r=e.charCodeAt(t+11);return r===115&&n-t>=17&&Ce(e,t+10,t+16,`-size/`)||r===110&&n-t>=19&&Ce(e,t+10,t+18,`-normal/`)},De=[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2],Oe=`length|number|number weight|family-name|position percentage|length size bg-size|image url|shadow|length|family-name|position percentage|length size bg-size|image url|shadow|number weight`.split(`|`).map(e=>e.split(` `)),ke=[2,3,1,0,0,0,4,5,0,0,0,0,0,1,1],Ae=(e,t,n,r)=>{if(e>=10){if(e>=25)return fe[e-25](t.slice(n,r));let i=e-10;if(ge!==De[i])return!1;if(M>=0){for(let e of Oe[i])if(Ce(t,M,_e,e))return!0;return!1}switch(ke[i]){case 0:return!1;case 1:return!0;case 2:{let e=t.slice(ve,ye);return j.test(e)&&!pe.test(e)}case 3:return Ee(t.slice(ve,ye));case 4:return he.test(t.slice(ve,ye));default:return me.test(t.slice(ve,ye))}}switch(e){case 0:return!0;case 1:return ge===0;case 2:return ge===1;case 3:return ge===2;case 4:return we.test(t.slice(n,r));case 5:return Ee(t.slice(n,r));case 6:{let e=t.slice(n,r);return!!e&&Number.isInteger(Number(e))}case 7:return r>n&&t.charCodeAt(r-1)===37&&Ee(t.slice(n,r-1));case 8:return Te.test(t.slice(n,r));default:return N(t,n,r)}},je=new Set(typeof T==`string`?T.split(` `):T),Me=(e,t,n,r,i,a)=>{let o=vm(t,n,r)^(i?2654435769:0),s=e.get(o);if(s!==void 0)outer:for(let e=0;e<s.length;e++){let a=s[e];if(a.imp===i&&a.k.length===r-n){for(let e=0;e<a.k.length;e++)if(a.k.charCodeAt(e)!==t.charCodeAt(n+e))continue outer;return a.id}}else e.set(o,s=[]);let c=t.slice(n,r),l=a(c);return s.push({k:c,imp:i,id:l}),l},Ne=new Map,Pe=new Map,P=2,Fe=4096,Ie=(e,t)=>{let n=[],r=0,i=0,a=0;for(let t=0;t<e.length;t++){let o=e.charCodeAt(t);r===0&&i===0&&o===58?(n.push(e.slice(a,t)),a=t+1):o===91?r++:o===93?r--:o===40?i++:o===41&&i--}n.push(e.slice(a));let o=n[0];if(n.length>1){let e=[],t=[];for(let r of n)r.charCodeAt(0)===91||je.has(r)?(t.length&&(e.push(...t.sort()),t=[]),e.push(r)):t.push(r);t.length&&e.push(...t.sort()),o=e.join(`:`)}let s=t?o+` !`:o,c=Pe.get(s);return c===void 0&&Pe.set(s,c=P++),c},Le=new Map,Re=r,ze=r+4096,Be=()=>Re++,Ve=2097152,He=8192,Ue=new Int32Array(He),We=Array(He).fill(null),Ge=new Int32Array(He),Ke=new Int32Array(He),qe=new Uint8Array(He),Je=0,Ye=(e,t,n,r,i,a,o,s)=>{let c=e;if(We[e]!==null){if(We[e|1]===null)c=e|1;else if(!(Je++&3))c=e|Je>>2&1;else return}We[c]=t.slice(n,r),Ue[c]=i,Ge[c]=a,Ke[c]=o,qe[c]=s},Xe=()=>We.fill(null),Ze=256,Qe=[new Int32Array(Ze),new Int32Array(Ze),new Int32Array(Ze),new Int32Array(Ze)],[$e,et,tt,nt]=Qe,rt=new Uint8Array(Ze),it=new Uint8Array(Ze),at=()=>{Ze*=2,Qe=Qe.map(e=>{let t=new Int32Array(Ze);return t.set(e),t}),[$e,et,tt,nt]=Qe;let e=new Uint8Array(Ze);e.set(rt),rt=e,it=new Uint8Array(Ze)},ot=64,st=new Int32Array(ot),ct=new Int32Array(ot),lt=new Int32Array(r),F=2048,ut=21,dt=new Float64Array(F),ft=new Int32Array(F),pt=0,mt=(e,t)=>{if(e===0&&t<r)return lt[t]===pt?1:(lt[t]=pt,0);let n=e*2097152+t+1,i=Math.imul(n,2654435761)>>>ut;for(;ft[i]===pt;){if(dt[i]===n)return 1;i=i+1&F-1}return dt[i]=n,ft[i]=pt,0},ht=(e,t,n,r,i)=>{if(n-t>=2&&e.charCodeAt(t)===91&&e.charCodeAt(n-1)===93){let r=-1;for(let i=t+1;i<n-1;i++)if(e.charCodeAt(i)===58){r=i;break}return r===-1||r===t+1?gm:Me(Le,e,t+1,r,0,Be)}if(r>=0&&c[r]>=0)return c[r];for(let t=i-1;t>=0;t--){let r=ct[t];if(r>n)continue;let i=st[t],a=n-r;if(O[i]===1&&a>0&&a<=ae){let t=e.charCodeAt(r);if(k===!1||t!==91&&t!==40){let t=se(i,e,r,n);if(t>=0)return t}}let o=l[i];if(o<0)continue;let s=f[o],c=u[s],m=u[s+1];if(c===m)continue;Se(e,r,n);let h=re[o]-c;for(let t=c;t<m;t++)if(Ae(d[t],e,r,n))return p[h+t]}return gm},gt=e=>{let t=e.length,n=0,c=0,u=!1;(P>Fe||Ne.size>Fe)&&(Ne=new Map,Pe=new Map,P=2,Xe()),Re>ze&&(Le=new Map,Re=r,Xe());let d=0;for(;d<t;){let f=e.charCodeAt(d);if(f===32||f>=9&&f<=13||f>=160&&xe(f)){f!==32&&(u=!0),d++;continue}let p=d,m=0;for(;d<t;){if(f=e.charCodeAt(d),f<=32){if(f===32)break;if(f>=9&&f<=13){u=!0;break}}else if(f>=160&&xe(f)){u=!0;break}m=Math.imul(m^f,16777619),d++}let h=d,g=h-p;n===Ze&&at();let _=n++;$e[_]=p,et[_]=h,c+=g,m^=Math.imul(g,2654435761);let v=m^m>>>15,y=v&8190;{let t=-1;if(Ue[y]===v&&We[y]!==null&&We[y].length===g?t=y:Ue[y|1]===v&&We[y|1]!==null&&We[y|1].length===g&&(t=y|1),t>=0){let n=We[t],r=!0;for(let t=0;t<g;t++)if(n.charCodeAt(t)!==e.charCodeAt(p+t)){r=!1;break}if(r){tt[_]=Ge[t],nt[_]=Ke[t],rt[_]=qe[t];continue}}}let b=p;if(de!==0){if(h-p<=de||!e.startsWith(ue,p)){tt[_]=gm,Ye(y,e,p,h,v,gm,0,0);continue}b=p+de}let x=0,S=0,C=-1,w=-1;for(let t=b;t<h;t++){let n=e.charCodeAt(t);if(x===0&&S===0){if(n===58){C=t;continue}if(n===47){w=t;continue}}n===91?x++:n===93?x--:n===40?S++:n===41&&S--}let ee=C>=b?C+1:b,T=ee,E=h,te=!1,ne=0;E>T&&e.charCodeAt(E-1)===33?(te=!0,E--):E>T&&e.charCodeAt(T)===33&&(te=!0,T++,ne=1);let re=-1;w>ee&&(re=w+ne,re>=E&&(re=-1));let ie=T;E-T>1&&e.charCodeAt(T)===45&&(ie=T+1);let ae=0,k=0,A=0,oe=-1,se=0;(l[0]>=0||O[0]===1)&&(st[0]=0,ct[0]=ie,se=1);let ce=_m,le=0;for(let t=ie;t<E;t++)if(t===re&&(ce=k<A?_m:ae,le=se),ae!==_m){let n=e.charCodeAt(t),r=-1;if(k<A)o.charCodeAt(k)===n?(k++,k===A&&(r=ae=oe)):ae=_m;else{let e=i[ae],t=i[ae+1],c=_m;for(let i=e;i<t;i++){let e=a[i];if(o.charCodeAt(e)===n){a[i+1]-e===1?r=c=s[i]:(k=e+1,A=a[i+1],oe=s[i],c=ae);break}}ae=c}if(r>=0&&(l[r]>=0||O[r]===1)&&t+1<E&&e.charCodeAt(t+1)===45){if(se===ot){ot*=2;let e=new Int32Array(ot);e.set(st),st=e;let t=new Int32Array(ot);t.set(ct),ct=t}st[se]=r,ct[se]=t+2,se++}}re===E&&(ce=k<A?_m:ae,le=se);let fe=k<A?_m:ae,j,pe=!1;if(re>=0){if(pe=!0,j=ht(e,T,re,ce,le),j!==gm&&j<r&&D[j]){let t=ht(e,T,E,fe,se);t!==gm&&t!==j&&(j=t,pe=!1)}else j===gm&&(j=ht(e,T,E,fe,se),pe=!1)}else j=ht(e,T,E,fe,se);let me=0,he=0;j===gm?tt[_]=gm:(he=+!!pe,me=b>=C?+!!te:Me(Ne,e,b,C,+!!te,e=>Ie(e,te)),tt[_]=j,rt[_]=he,nt[_]=me),Ye(y,e,p,h,v,j,me,he)}if(n===0)return``;if(n===1)return $e[0]===0&&et[0]===t?e:e.slice($e[0],et[0]);if(n*ne>F){for(;n*ne>F;)F<<=1,ut--;dt=new Float64Array(F),ft=new Int32Array(F)}if(P>=Ve||Re>=Ve)throw Error(`cn: too many distinct classes in one merge`);pt=pt+1|0,pt===0&&(lt.fill(0),ft.fill(0),pt=1);let f=!1;for(let e=n-1;e>=0;e--){let t=tt[e];if(t===gm){it[e]=1;continue}let n=nt[e];if(mt(n,t)===1)it[e]=0,f=!0;else if(it[e]=1,t<r){let r=E[t];if(r>=0)for(let e=b[r];e<b[r+1];e++)mt(n,x[e]);if(rt[e]&1)for(let e=0;e<S.length;e++)S[e]===t&&mt(n,C[e])}}if(!f&&!u&&t===c+n-1)return e;let p=``,m=0;for(;m<n;){if(!it[m]){m++;continue}let t=$e[m],r=et[m],i=m+1;for(;i<n&&it[i]&&$e[i]===r+1&&e.charCodeAt(r)===32;)r=et[i],i++;p.length>0&&(p+=` `),p+=e.slice(t,r),m=i}return p},_t=16384,vt=new Int32Array(_t*2),yt=0,bt=1,xt=Object.create(null),St=Object.create(null),Ct=new Map,wt=new Map,Tt=0,Et=0,Dt=()=>{yt^=_t,bt=bt+1|0,Et=0},Ot=e=>{let t=xt[e];if(t!==void 0)return t;let n=ym(e,0,e.length),r=(n&16383)+yt,i=vt[r]===(n^bt)||vt[r^_t]===(n^bt-1);return i&&(t=St[e],t!==void 0)?(xt[e]=t,t):(t=gt(e),i?(xt[e]=t,++Tt>ce&&(Tt=0,St=xt,xt=Object.create(null),Dt())):(vt[r]=n^bt,++Et>_t&&Dt()),t)},kt=e=>{let t=Ct.get(e);if(t!==void 0)return t;let n=ym(e,0,e.length),r=(n&16383)+yt,i=vt[r]===(n^bt)||vt[r^_t]===(n^bt-1);return i&&(t=wt.get(e),t!==void 0)?(Ct.set(e,t),t):(t=gt(e),i?(Ct.set(e,t),++Tt>ce&&(Tt=0,wt=Ct,Ct=new Map,Dt())):(vt[r]=n^bt,++Et>_t&&Dt()),t)},At=e=>{let t=ym(e,0,e.length),n=(t&16383)+yt;return vt[n]===(t^bt)||vt[n^_t]===(t^bt-1)||(vt[n]=t^bt,++Et>_t&&Dt(),!1)},jt=ce===0?gt:hm?e=>{let t=Ct.get(e);return t===void 0?kt(e):t}:Ot;return{merge:function(){return arguments.length===1&&typeof arguments[0]==`string`?jt(arguments[0]):jt(Cm.apply(null,arguments))},mergeString:jt,seenBefore:ce===0?()=>!1:At,mergeUncached:gt}},xm=(e,t)=>{if(!e)return``;if(typeof e==`string`)return e;let n=``;if(typeof e.length==`number`&&(!t||Array.isArray(e))){let r=e;for(let e=0;e<r.length;e++){let i=r[e];if(!i)continue;let a=typeof i==`string`?i:xm(i,t);a&&(n&&(n+=` `),n+=a)}return n}if(t){if(typeof e==`number`)return``+e;if(typeof e==`object`)for(let t in e)e[t]&&(n&&(n+=` `),n+=t)}return n},Sm=(e,t)=>{let n=``;for(let r=0;r<e.length;r++){let i=e[r];if(!i)continue;let a=typeof i==`string`?i:xm(i,t);a&&(n&&(n+=` `),n+=a)}return n},Cm=function(){return Sm(arguments,!1)},wm=256,Tm=16,Em=1024,Dm=4096,Om=(e,t)=>{let n=t===void 0?()=>!0:t.seenBefore,r=t===void 0?e:t.mergeUncached,i=new Map,a=new Map,o=0,s=null,c=null,l=[],u=[],d=0,f=(t,n,r)=>{c===null&&(c=Array(Dm).fill(``),l=Array(Dm).fill(``),u=Array(Dm).fill(``));let i=ym(t,0,t.length)&4094;if(c[i]===t&&l[i]===n)return u[i];if(c[i|1]===t&&l[i|1]===n)return u[i|1];let a=e(r?n+` `+t:t),o=c[i]===``?i:i|(c[i|1]===``?1:d++&1);return c[o]=t,l[o]=n,u[o]=a,a},p=(e,t,n,r)=>{let i=0;if(t){if(t!==e.a0)return!1;i=1}if(n){if(n!==(i===0?e.a0:e.a1))return!1;i++}if(r){if(r!==(i===0?e.a0:i===1?e.a1:e.a2))return!1;i++}return i===e.t},m=(e,t)=>{let n=e.a,r=0;for(let e=0;e<t.length;e++){let i=t[e];if(i){if(i!==n[r])return!1;r++}}return r===e.t},h=(t,c)=>{let l=t.length,u=s===null?null:s.n;if(!c){if(u!==null&&m(u,t))return s=u,u.r;if(s!==null&&s!==u&&m(s,t))return s.r}let d=``,p=-1,h=0,g=!1;for(let e=0;e<l;e++){let n=t[e];if(n){if(typeof n!=`string`){if(n=t[e]=xm(n,!0),!n)continue;g=!0}p<0&&(d=n,p=e),h++}}if(h===0)return``;if(h===1)return e(d);if(g){if(u!==null&&m(u,t))return s=u,u.r;if(s!==null&&s!==u&&m(s,t))return s.r}let _=i.get(d);_===void 0&&(_=a.get(d),_!==void 0&&i.set(d,_));let v=null;if(_!==void 0){if(_.skip>0){_.skip--,s=null;let e=d;for(let n=p+1;n<l;n++){let r=t[n];r&&(e+=` `+r)}return f(e,``,!1)}let e=_.e;outer:for(let n=0;n<e.length;n++){let r=e[n];if(r.t!==h)continue;let i=r.a,a=1;for(let e=p+1;e<l;e++){let n=t[e];if(n&&n!==i[a++])continue outer}v=r;break}v!==null&&(_.miss=0)}if(v===null){let s=d,c=[d];for(let e=p+1;e<l;e++){let n=t[e];n&&(s+=` `+n,c.push(n))}if(!n(s))return r(s);v={r:e(s),t:c.length,a0:c[0],a1:c[1],a2:c[2]??``,a:c,n:null},_===void 0?i.set(d,_={e:[],miss:0,skip:0,at:0}):++_.miss>Tm&&(_.miss=Tm,_.skip=Em,_.e.length=0,_.at=0);let u=_.e;u.length<wm?u.push(v):(u[_.at]=v,_.at=_.at+1&255),++o>1e3&&(o=0,a=i,i=new Map)}return s!==null&&s!==v&&(s.n=v),s=v,v.r},g=t=>Array.isArray(t)?h(t.slice(),!1):e(xm(t,!0));return function(t,n,r){let a=arguments.length;if((a|1)==3){let e=s;if(e!==null){let i=e.n;if(i!==null&&p(i,t,n,r))return s=i,i.r;if(e!==i&&p(e,t,n,r))return e.r}if(a===2&&typeof n==`string`&&n!==``){let e=i.get(t);if(e!==void 0&&e.skip>0)return e.skip--,s=null,f(n,t,!0)}return h([t,n,r],!0)}if(a===1)return typeof t==`string`?e(t):g(t);let o=s;if(o!==null){let e=o.n;if(e!==null){let t=e.a,n=0,r=!0;for(let e=0;e<a;e++){let i=arguments[e];if(i){if(i!==t[n]){r=!1;break}n++}}if(r&&n===e.t)return s=e,e.r}if(o!==e){let e=o.a,t=0,n=!0;for(let r=0;r<a;r++){let i=arguments[r];if(i){if(i!==e[t]){n=!1;break}t++}}if(n&&t===o.t)return o.r}}let c=[];for(let e=0;e<a;e++)c.push(arguments[e]);return h(c,!0)}},km=bm(mm),Am=Om(km.mergeString,km);km.merge;function jm(e){return typeof e==`string`?`'${e}'`:new Fm().serialize(e)}var Mm=` _-,;:!?.'"()[]{}@*/\\&#%\`^+<=>|~$0123456789abcdefghijklmnopqrstuvwxyz`,Nm=(function(){let e=new Uint8Array(128);for(let t=0;t<69;t++)e[Mm.charCodeAt(t)]=t+1;for(let t=65;t<=90;t++)e[t]=e[t+32];return e})();function Pm(e,t){if(e===t)return 0;let n=Math.min(e.length,t.length),r=0;for(let i=0;i<n;i++){let n=e.charCodeAt(i),a=t.charCodeAt(i);if(n===a)continue;let o=n<128&&Nm[n]?Nm[n]:n+128,s=a<128&&Nm[a]?Nm[a]:a+128;if(o!==s)return o<s?-1:1;r===0&&(r=n>a?-1:1)}return e.length===t.length?r:e.length<t.length?-1:1}var Fm=(function(){class e{#e=new Map;compare(e,t){let n=typeof e,r=typeof t;return n===`string`&&r===`string`?Pm(e,t):n===`number`&&r===`number`?e-t:Pm(this.serialize(e,!0),this.serialize(t,!0))}serialize(e,t){if(e===null)return`null`;switch(typeof e){case`string`:return t?e:`'${e}'`;case`bigint`:return`${e}n`;case`object`:return this.$object(e);case`function`:return this.$function(e)}return String(e)}serializeObject(e){let t=Object.prototype.toString.call(e);if(t!==`[object Object]`)return this.serializeBuiltInType(t.length<10?`unknown:${t}`:t.slice(8,-1),e);let n=e.constructor,r=n===Object||n===void 0?``:n.name;if(r!==``&&globalThis[r]===n)return this.serializeBuiltInType(r,e);if(`toJSON`in e&&typeof e.toJSON==`function`){let t=e.toJSON();return r+(typeof t==`object`&&t?this.$object(t):`(${this.serialize(t)})`)}let i=Object.keys(e).sort(Pm),a=`${r}{`;for(let t=0;t<i.length;t++){let n=i[t];a+=`${n}:${this.serialize(e[n])}`,t<i.length-1&&(a+=`,`)}return a+`}`}serializeBuiltInType(e,t){let n=this[`$`+e];if(n)return n.call(this,t);if(typeof t.entries==`function`)return this.serializeObjectEntries(e,t.entries());throw Error(`Cannot serialize ${e}`)}serializeObjectEntries(e,t){let n=Array.from(t).sort((e,t)=>this.compare(e[0],t[0])),r=`${e}{`;for(let e=0;e<n.length;e++){let[t,i]=n[e];r+=`${this.serialize(t,!0)}:${this.serialize(i)}`,e<n.length-1&&(r+=`,`)}return r+`}`}$object(e){let t=this.#e.get(e);return t===void 0&&(this.#e.set(e,`#${this.#e.size}`),t=this.serializeObject(e),this.#e.set(e,t)),t}$function(e){let t=Function.prototype.toString.call(e);return t.slice(-15)===`[native code] }`?`${e.name||``}()[native]`:`${e.name}(${e.length})${t.replace(/\s*\n\s*/g,``)}`}$Array(e){let t=`[`;for(let n=0;n<e.length;n++)t+=this.serialize(e[n]),n<e.length-1&&(t+=`,`);return t+`]`}$Date(e){try{return`Date(${e.toISOString()})`}catch{return`Date(null)`}}$ArrayBuffer(e){return`ArrayBuffer[${new Uint8Array(e).join(`,`)}]`}$Set(e){return`Set${this.$Array(Array.from(e).sort((e,t)=>this.compare(e,t)))}`}$Map(e){return this.serializeObjectEntries(`Map`,e.entries())}}for(let t of[`Error`,`RegExp`,`URL`])e.prototype[`$`+t]=function(e){return`${t}(${e})`};for(let t of[`Int8Array`,`Uint8Array`,`Uint8ClampedArray`,`Int16Array`,`Uint16Array`,`Int32Array`,`Uint32Array`,`Float32Array`,`Float64Array`])e.prototype[`$`+t]=function(e){return`${t}[${e.join(`,`)}]`};for(let t of[`BigInt64Array`,`BigUint64Array`])e.prototype[`$`+t]=function(e){return`${t}[${e.join(`n,`)}${e.length>0?`n`:``}]`};return e})();function Im(e,t){return e===t||jm(e)===jm(t)}function Lm(e,t){let n=typeof e==`string`&&!t?`${e}Context`:t,r=Symbol(n);return[t=>{let n=vr(r,t);if(n||n===null)return n;throw Error(`Injection \`${r.toString()}\` not found. Component must be used within ${Array.isArray(e)?`one of the following components: ${e.join(`, `)}`:`\`${e}\``}`)},e=>(_r(r,e),e)]}function Rm(){let e=document.activeElement;if(e==null)return null;for(;e!=null&&e.shadowRoot!=null&&e.shadowRoot.activeElement!=null;)e=e.shadowRoot.activeElement;return e}function zm(e){return e==null}function Bm(e,t){return zm(e)?!1:Array.isArray(e)?e.some(e=>Im(e,t)):Im(e,t)}var Vm=typeof window<`u`&&typeof document<`u`;typeof WorkerGlobalScope<`u`&&globalThis instanceof WorkerGlobalScope;var Hm=e=>e!==void 0,Um=Object.prototype.toString,Wm=e=>Um.call(e)===`[object Object]`;function Gm(e){return Array.isArray(e)?e:[e]}function Km(e,t,n){return Tr(e,t,{...n,immediate:!0})}var qm=Vm?window:void 0;Vm&&window.document,Vm&&window.navigator,Vm&&window.location;function Jm(e){let t=dn(e);return t?.$el??t}function Ym(...e){let t=(e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)),n=Q(()=>{let t=Gm(dn(e[0])).filter(e=>e!=null);return t.every(e=>typeof e!=`string`)?t:void 0});return Km(()=>[n.value?.map(e=>Jm(e))??[qm].filter(e=>e!=null),Gm(dn(n.value?e[1]:e[0])),Gm(z(n.value?e[2]:e[1])),dn(n.value?e[3]:e[2])],([e,n,r,i],a,o)=>{if(!e?.length||!n?.length||!r?.length)return;let s=Wm(i)?{...i}:i,c=e.flatMap(e=>n.flatMap(n=>r.map(r=>t(e,n,r,s))));o(()=>{c.forEach(e=>e())})},{flush:`post`})}function Xm(e){return JSON.parse(JSON.stringify(e))}function Zm(e,t,n,r={}){var i,a;let{clone:o=!1,passive:s=!1,eventName:c,deep:l=!1,defaultValue:u,shouldEmit:d}=r,f=Z(),p=n||f?.emit||(f==null||(i=f.$emit)==null?void 0:i.bind(f))||(f==null||(a=f.proxy)==null||(a=a.$emit)==null?void 0:a.bind(f?.proxy)),m=c;t||=`modelValue`,m||=`update:${t.toString()}`;let h=e=>o?typeof o==`function`?o(e):Xm(e):e,g=()=>Hm(e[t])?h(e[t]):u,_=e=>{d?d(e)&&p(m,e):p(m,e)};if(s){let n=R(g()),r=!1;return Tr(()=>e[t],e=>{r||(r=!0,n.value=h(e),Yn(()=>r=!1))}),Tr(n,n=>{!r&&(n!==e[t]||l)&&_(n)},{deep:l}),n}return Q({get(){return g()},set(e){_(e)}})}function Qm(e){return e?e.flatMap(e=>e.type===H?Qm(e.children):[e]):[]}var[$m,eh]=Lm(`ConfigProvider`);function th(e){let t=$m({dir:R(`ltr`)});return Q(()=>e?.value||t.dir?.value||`ltr`)}function nh(e){let t=Z(),n=t?.type.emits,r={};return n?.length||console.warn(`No emitted event found. Please check component: ${t?.type.__name}`),n?.forEach(t=>{r[k(D(t))]=(...n)=>e(t,...n)}),r}function rh(e){return Q(()=>!dn(e)||!!Jm(e)?.closest(`form`))}function ih(){let e=Z(),t=R(),n=Q(()=>r());Qi(()=>{n.value!==r()&&un(t)});function r(){return t.value&&`$el`in t.value&&[`#text`,`#comment`].includes(t.value.$el.nodeName)?t.value.$el.nextElementSibling:Jm(t)}let i=Object.assign({},e.exposed),a={};for(let t in e.props)Object.defineProperty(a,t,{enumerable:!0,configurable:!0,get:()=>e.props[t]});if(Object.keys(i).length>0)for(let e in i)Object.defineProperty(a,e,{enumerable:!0,configurable:!0,get:()=>i[e]});Object.defineProperty(a,"$el",{enumerable:!0,configurable:!0,get:()=>e.vnode.el}),e.exposed=a;function o(n){if(t.value=n,n&&(Object.defineProperty(a,"$el",{enumerable:!0,configurable:!0,get:()=>n instanceof Element?n:n.$el}),!(n instanceof Element)&&!Object.hasOwn(n,`$el`))){let t=n.$.exposed,r=Object.assign({},a);for(let e in t)Object.defineProperty(r,e,{enumerable:!0,configurable:!0,get:()=>t[e]});e.exposed=r}}return{forwardRef:o,currentRef:t,currentElement:n}}function ah(e){let t=Z(),n=Object.keys(t?.type.props??{}).reduce((e,n)=>{let r=(t?.type.props[n]).default;return r!==void 0&&(e[n]=r),e},{}),r=yn(e);return Q(()=>{let e={},i=t?.vnode.props??{};return Object.keys(i).forEach(t=>{e[D(t)]=i[t]}),Object.keys({...n,...e}).reduce((e,t)=>(r.value[t]!==void 0&&(e[t]=r.value[t]),e),{})})}function oh(e,t){let n=ah(e),r=t?nh(t):{};return Q(()=>({...n.value,...r}))}function sh(){let e=Z()?.vnode?.scopeId;return e?{[e]:``}:{}}var ch=0;function lh(e,t=`reka`){if(e)return e;let n,r=$m({useId:void 0});return n=r.useId?r.useId():`useId`in Tu?ii?.():`${++ch}`,t?`${t}-${n}`:n}function uh(e,t){let n=R(e);function r(e){return t[n.value][e]??n.value}return{state:n,dispatch:e=>{n.value=r(e)}}}function dh(e,t){let n=R({}),r=R(`none`),i=R(e),a=e.value?`mounted`:`unmounted`,o,s=t.value?.ownerDocument.defaultView??qm,{state:c,dispatch:l}=uh(a,{mounted:{UNMOUNT:`unmounted`,ANIMATION_OUT:`unmountSuspended`},unmountSuspended:{MOUNT:`mounted`,ANIMATION_END:`unmounted`},unmounted:{MOUNT:`mounted`}}),u=e=>{if(Vm){let n=new CustomEvent(e,{bubbles:!1,cancelable:!1});t.value?.dispatchEvent(n)}};Tr(e,async(e,i)=>{let a=i!==e;if(await Yn(),a){let a=r.value,o=fh(t.value);e?(l(`MOUNT`),u(`enter`),o===`none`&&u(`after-enter`)):o===`none`||o===`undefined`||n.value?.display===`none`?(l(`UNMOUNT`),u(`leave`),u(`after-leave`)):i&&a!==o?(l(`ANIMATION_OUT`),u(`leave`)):(l(`UNMOUNT`),u(`after-leave`))}},{immediate:!0});let d=e=>{if(e.target!==t.value)return;let n=fh(t.value),r=n.includes(CSS.escape(e.animationName)),a=c.value===`mounted`?`enter`:`leave`;if(r&&(u(`after-${a}`),l(`ANIMATION_END`),!i.value)){let e=t.value.style.animationFillMode;t.value.style.animationFillMode=`forwards`,o=s?.setTimeout(()=>{t.value?.style.animationFillMode===`forwards`&&(t.value.style.animationFillMode=e)})}n===`none`&&l(`ANIMATION_END`)},f=e=>{e.target===t.value&&(r.value=fh(t.value))},p=Tr(t,(e,t)=>{e?(n.value=getComputedStyle(e),e.addEventListener(`animationstart`,f),e.addEventListener(`animationcancel`,d),e.addEventListener(`animationend`,d)):(l(`ANIMATION_END`),o!==void 0&&s?.clearTimeout(o),t?.removeEventListener(`animationstart`,f),t?.removeEventListener(`animationcancel`,d),t?.removeEventListener(`animationend`,d))},{immediate:!0}),m=Tr(c,()=>{let e=fh(t.value);r.value=c.value===`mounted`?e:`none`});return ea(()=>{p(),m(),t.value&&(t.value.removeEventListener(`animationstart`,f),t.value.removeEventListener(`animationcancel`,d),t.value.removeEventListener(`animationend`,d)),o!==void 0&&s?.clearTimeout(o)}),{isPresent:Q(()=>[`mounted`,`unmountSuspended`].includes(c.value))}}function fh(e){return e&&getComputedStyle(e).animationName||`none`}var ph=V({name:`Presence`,props:{present:{type:Boolean,required:!0},forceMount:{type:Boolean}},slots:{},setup(e,{slots:t,expose:n}){let{present:r,forceMount:i}=gn(e),a=R(),{isPresent:o}=dh(r,a);n({present:o});let s=t.default({present:o.value});s=Qm(s||[]);let c=Z();if(s&&s?.length>1){let e=c?.parent?.type.name?`<${c.parent.type.name} />`:`component`;throw Error([`Detected an invalid children for \`${e}\` for \`Presence\` component.`,``,"Note: Presence works similarly to `v-if` directly, but it waits for animation/transition to finished before unmounting. So it expect only one direct child of valid VNode type.",`You can apply a few solutions:`,["Provide a single child element so that `presence` directive attach correctly.",`Ensure the first child is an actual element instead of a raw text node or comment node.`].map(e=>` - ${e}`).join(`
|
|
5
|
+
`)].join(`
|
|
6
|
+
`))}return()=>i.value||r.value||o.value?$s(t.default({present:o.value})[0],{ref:e=>{let t=Jm(e);return t?.hasAttribute===void 0||(t?.hasAttribute(`data-reka-popper-content-wrapper`)?a.value=t.firstElementChild:a.value=t),t}}):null}}),mh=V({name:`PrimitiveSlot`,inheritAttrs:!1,setup(e,{attrs:t,slots:n}){return()=>{if(!n.default)return null;let e=Qm(n.default()),r=e.findIndex(e=>e.type!==U);if(r===-1)return e;let i=e[r];delete i.props?.ref;let a=i.props?Ds(t,i.props):t,o=Ss({...i,props:{}},a);return e.length===1?o:(e[r]=o,e)}}}),hh=[`area`,`img`,`input`],gh=V({name:`Primitive`,inheritAttrs:!1,props:{asChild:{type:Boolean,default:!1},as:{type:[String,Object],default:`div`}},setup(e,{attrs:t,slots:n}){let r=e.asChild?`template`:e.as;return typeof r==`string`&&hh.includes(r)?()=>$s(r,t):r===`template`?()=>$s(mh,t,{default:n.default}):()=>$s(e.as,t,{default:n.default})}});function _h(){let e=R();return{primitiveElement:e,currentElement:Q(()=>[`#text`,`#comment`].includes(e.value?.$el.nodeName)?e.value?.$el.nextElementSibling:Jm(e))}}var[vh,yh]=Lm(`CollapsibleRoot`),bh=V({__name:`CollapsibleRoot`,props:{defaultOpen:{type:Boolean,required:!1,default:!1},open:{type:Boolean,required:!1,default:void 0},disabled:{type:Boolean,required:!1},unmountOnHide:{type:Boolean,required:!1,default:!0},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`update:open`],setup(e,{expose:t,emit:n}){let r=e,i=Zm(r,`open`,n,{defaultValue:r.defaultOpen,passive:r.open===void 0}),{disabled:a,unmountOnHide:o}=gn(r);return yh({contentId:``,disabled:a,open:i,unmountOnHide:o,onOpenToggle:()=>{a.value||(i.value=!i.value)}}),t({open:i}),ih(),(t,n)=>(W(),K(z(gh),{as:e.as,"as-child":r.asChild,"data-state":z(i)?`open`:`closed`,"data-disabled":z(a)?``:void 0},{default:B(()=>[ha(t.$slots,`default`,{open:z(i)})]),_:3},8,[`as`,`as-child`,`data-state`,`data-disabled`]))}}),xh=V({inheritAttrs:!1,__name:`CollapsibleContent`,props:{forceMount:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`contentFound`],setup(e,{emit:t}){let n=e,r=t,i=vh();i.contentId||=lh(void 0,`reka-collapsible-content`);let a=R(),{forwardRef:o,currentElement:s}=ih(),c=R(0),l=R(0),u=Q(()=>i.open.value),d=R(u.value),f=R();Tr(()=>[u.value,a.value?.present],async()=>{await Yn();let e=s.value;if(!e)return;f.value=f.value||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration=`0s`,e.style.animationName=`none`;let t=e.getBoundingClientRect();l.value=t.height,c.value=t.width,d.value||(e.style.transitionDuration=f.value.transitionDuration,e.style.animationName=f.value.animationName)},{immediate:!0});let p=Q(()=>d.value&&i.open.value);return Xi(()=>{requestAnimationFrame(()=>{d.value=!1})}),Ym(s,`beforematch`,e=>{requestAnimationFrame(()=>{i.onOpenToggle(),r(`contentFound`)})}),(t,r)=>(W(),K(z(ph),{ref_key:`presentRef`,ref:a,present:e.forceMount||z(i).open.value,"force-mount":!0},{default:B(({present:r})=>[J(z(gh),Ds(t.$attrs,{id:z(i).contentId,ref:z(o),"as-child":n.asChild,as:e.as,hidden:r?void 0:z(i).unmountOnHide.value?``:`until-found`,"data-state":p.value?void 0:z(i).open.value?`open`:`closed`,"data-disabled":z(i).disabled?.value?``:void 0,style:{"--reka-collapsible-content-height":`${l.value}px`,"--reka-collapsible-content-width":`${c.value}px`}}),{default:B(()=>[!z(i).unmountOnHide.value||r?ha(t.$slots,`default`,{},void 0,void 0,0):X(`v-if`,!0)]),_:2},1040,[`id`,`as-child`,`as`,`hidden`,`data-state`,`data-disabled`,`style`])]),_:3},8,[`present`]))}}),Sh=V({__name:`CollapsibleTrigger`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`button`}},setup(e){let t=e;ih();let n=vh();return(r,i)=>(W(),K(z(gh),{type:e.as===`button`?`button`:void 0,as:e.as,"as-child":t.asChild,"aria-controls":z(n).contentId,"aria-expanded":z(n).open.value,"data-state":z(n).open.value?`open`:`closed`,"data-disabled":z(n).disabled?.value?``:void 0,disabled:z(n).disabled?.value,onClick:z(n).onOpenToggle},{default:B(()=>[ha(r.$slots,`default`)]),_:3},8,[`type`,`as`,`as-child`,`aria-controls`,`aria-expanded`,`data-state`,`data-disabled`,`disabled`,`onClick`]))}});function Ch({type:e,defaultValue:t,modelValue:n}){let r=n||t;return n!==void 0||t!==void 0?Array.isArray(r)?`multiple`:`single`:e??`single`}function wh({type:e,defaultValue:t,modelValue:n}){return e||Ch({type:e,defaultValue:t,modelValue:n})}function Th({type:e,defaultValue:t}){return t===void 0?e===`single`?void 0:[]:t}function Eh(e,t){let n=Q(()=>wh(e)),r=Zm(e,`modelValue`,t,{defaultValue:Th(e),passive:e.modelValue===void 0,deep:!0});function i(e){if(n.value===`single`)r.value=Im(e,r.value)?void 0:e;else{let t=Array.isArray(r.value)?[...r.value||[]]:[r.value].filter(Boolean);if(Bm(t,e)){let n=t.findIndex(t=>Im(t,e));t.splice(n,1)}else t.push(e);r.value=t}}return{modelValue:r,changeModelValue:i,isSingle:Q(()=>n.value===`single`)}}var Dh=`data-reka-collection-item`;function Oh(e={}){let{key:t=``,isProvider:n=!1}=e,r=`${t}CollectionProvider`,i;n?(i={collectionRef:R(),itemMap:R(new Map)},_r(r,i)):i=vr(r);let a=(e,t=!1)=>{if(!i.collectionRef.value)return;let n=i.itemMap.value.get(e);return n&&(t||n.ref.dataset.disabled!==``)?n:void 0},o=(e=!1)=>{let t=i.collectionRef.value;if(!t)return[];let n=Array.from(t.querySelectorAll(`[${Dh}]`)),r=new Map(n.map((e,t)=>[e,t])),a=Array.from(i.itemMap.value.values()).sort((e,t)=>(r.get(e.ref)??-1)-(r.get(t.ref)??-1));return e?a:a.filter(e=>e.ref.dataset.disabled!==``)},s=V({name:`CollectionSlot`,inheritAttrs:!1,setup(e,{slots:t,attrs:n}){let{primitiveElement:r,currentElement:a}=_h();return Tr(a,()=>{i.collectionRef.value=a.value}),()=>$s(mh,{ref:r,...n},t)}}),c=V({name:`CollectionItem`,inheritAttrs:!1,props:{value:{validator:()=>!0}},setup(e,{slots:t,attrs:n}){let{primitiveElement:r,currentElement:a}=_h();return Sr(t=>{if(a.value){let n=rn(a.value);i.itemMap.value.set(n,{ref:a.value,value:e.value}),t(()=>i.itemMap.value.delete(n))}}),()=>$s(mh,{...n,[Dh]:``,ref:r},t)}});return{getItems:o,getItem:a,reactiveItems:Q(()=>Array.from(i.itemMap.value.values())),itemMapSize:Q(()=>i.itemMap.value.size),CollectionSlot:s,CollectionItem:c}}var kh=V({__name:`VisuallyHidden`,props:{feature:{type:String,required:!1,default:`focusable`},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`span`}},setup(e){return(t,n)=>(W(),K(z(gh),{as:e.as,"as-child":e.asChild,"aria-hidden":e.feature===`fully-hidden`?`true`:void 0,"data-hidden":e.feature===`fully-hidden`?``:void 0,tabindex:e.feature===`fully-hidden`?`-1`:void 0,style:{position:`absolute`,border:0,width:`1px`,height:`1px`,padding:0,margin:`-1px`,overflow:`hidden`,clip:`rect(0, 0, 0, 0)`,clipPath:`inset(50%)`,whiteSpace:`nowrap`,wordWrap:`normal`,top:`-1px`,left:`-1px`}},{default:B(()=>[ha(t.$slots,`default`)]),_:3},8,[`as`,`as-child`,`aria-hidden`,`data-hidden`,`tabindex`]))}}),Ah=V({inheritAttrs:!1,__name:`VisuallyHiddenInputBubble`,props:{name:{type:String,required:!0},value:{type:null,required:!0},checked:{type:Boolean,required:!1,default:void 0},required:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},feature:{type:String,required:!1,default:`fully-hidden`}},setup(e){let t=e,{primitiveElement:n,currentElement:r}=_h();return Tr(Q(()=>t.checked??t.value),(e,t)=>{if(!r.value)return;let n=r.value,i=window.HTMLInputElement.prototype,a=Object.getOwnPropertyDescriptor(i,`value`).set;if(a&&e!==t){let t=new Event(`input`,{bubbles:!0}),r=new Event(`change`,{bubbles:!0});a.call(n,e),n.dispatchEvent(t),n.dispatchEvent(r)}}),(e,r)=>(W(),K(kh,Ds({ref_key:`primitiveElement`,ref:n},{...t,...e.$attrs},{as:`input`}),null,16))}}),jh=V({inheritAttrs:!1,__name:`VisuallyHiddenInput`,props:{name:{type:String,required:!0},value:{type:null,required:!0},checked:{type:Boolean,required:!1,default:void 0},required:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},feature:{type:String,required:!1,default:`fully-hidden`}},setup(e){let t=e,n=Q(()=>typeof t.value==`object`&&Array.isArray(t.value)&&t.value.length===0&&t.required),r=Q(()=>typeof t.value==`string`||typeof t.value==`number`||typeof t.value==`boolean`||t.value===null||t.value===void 0?[{name:t.name,value:t.value}]:typeof t.value==`object`&&Array.isArray(t.value)?t.value.flatMap((e,n)=>typeof e==`object`?Object.entries(e).map(([e,r])=>({name:`${t.name}[${n}][${e}]`,value:r})):{name:`${t.name}[${n}]`,value:e}):t.value!==null&&typeof t.value==`object`&&!Array.isArray(t.value)?Object.entries(t.value).map(([e,n])=>({name:`${t.name}[${e}]`,value:n})):[]);return(i,a)=>(W(),G(H,null,[X(` We render single input if it's required `),n.value?(W(),K(Ah,Ds({key:e.name},{...t,...i.$attrs},{name:e.name,value:e.value}),null,16,[`name`,`value`])):(W(!0),G(H,{key:1},pa(r.value,e=>(W(),K(Ah,Ds({key:e.name},{ref_for:!0},{...t,...i.$attrs},{name:e.name,value:e.value}),null,16,[`name`,`value`]))),128))],2112))}}),Mh=`rovingFocusGroup.onEntryFocus`,Nh={bubbles:!1,cancelable:!0},Ph={ArrowLeft:`prev`,ArrowUp:`prev`,ArrowRight:`next`,ArrowDown:`next`,PageUp:`first`,Home:`first`,PageDown:`last`,End:`last`};function Fh(e,t){return t===`rtl`?e===`ArrowLeft`?`ArrowRight`:e===`ArrowRight`?`ArrowLeft`:e:e}function Ih(e,t,n){let r=Fh(e.key,n);if(!(t===`vertical`&&[`ArrowLeft`,`ArrowRight`].includes(r))&&!(t===`horizontal`&&[`ArrowUp`,`ArrowDown`].includes(r)))return Ph[r]}function Lh(e,t=!1){let n=Rm();for(let r of e)if(r===n||(r.focus({preventScroll:t}),Rm()!==n))return}function Rh(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var[zh,Bh]=Lm(`RovingFocusGroup`),Vh=V({__name:`RovingFocusGroup`,props:{orientation:{type:String,required:!1,default:void 0},dir:{type:String,required:!1},loop:{type:Boolean,required:!1,default:!1},currentTabStopId:{type:[String,null],required:!1},defaultCurrentTabStopId:{type:String,required:!1},preventScrollOnEntryFocus:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`entryFocus`,`update:currentTabStopId`],setup(e,{expose:t,emit:n}){let r=e,i=n,{loop:a,orientation:o,dir:s}=gn(r),c=th(s),l=Zm(r,`currentTabStopId`,i,{defaultValue:r.defaultCurrentTabStopId,passive:r.currentTabStopId===void 0}),u=R(!1),d=R(!1),f=R(0),{getItems:p,CollectionSlot:m}=Oh({isProvider:!0});function h(e){let t=!d.value;if(e.currentTarget&&e.target===e.currentTarget&&t&&!u.value){let t=new CustomEvent(Mh,Nh);if(e.currentTarget.dispatchEvent(t),i(`entryFocus`,t),!t.defaultPrevented){let e=p().map(e=>e.ref).filter(e=>e.dataset.disabled!==``);Lh([e.find(e=>e.getAttribute(`data-active`)===``),e.find(e=>e.getAttribute(`data-highlighted`)===``),e.find(e=>e.id===l.value),...e].filter(Boolean),r.preventScrollOnEntryFocus)}}d.value=!1}function g(){setTimeout(()=>{d.value=!1},1)}return t({getItems:p}),Bh({loop:a,dir:c,orientation:o,currentTabStopId:l,onItemFocus:e=>{l.value=e},onItemShiftTab:()=>{u.value=!0},onFocusableItemAdd:()=>{f.value++},onFocusableItemRemove:()=>{f.value--}}),(t,n)=>(W(),K(z(m),null,{default:B(()=>[J(z(gh),{tabindex:u.value||f.value===0?-1:0,"data-orientation":z(o),as:e.as,"as-child":e.asChild,dir:z(c),style:{outline:`none`},onMousedown:n[0]||=e=>d.value=!0,onMouseup:g,onFocus:h,onBlur:n[1]||=e=>u.value=!1},{default:B(()=>[ha(t.$slots,`default`)]),_:3},8,[`tabindex`,`data-orientation`,`as`,`as-child`,`dir`])]),_:3}))}}),Hh=V({__name:`RovingFocusItem`,props:{tabStopId:{type:String,required:!1},focusable:{type:Boolean,required:!1,default:!0},active:{type:Boolean,required:!1},allowShiftKey:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`span`}},setup(e){let t=e,n=zh(),r=lh(),i=Q(()=>t.tabStopId||r),a=Q(()=>n.currentTabStopId.value===i.value),{getItems:o,CollectionItem:s}=Oh();Xi(()=>{t.focusable&&n.onFocusableItemAdd()}),ea(()=>{t.focusable&&n.onFocusableItemRemove()}),Tr(()=>t.focusable,(e,t)=>{e!==t&&(e?n.onFocusableItemAdd():n.onFocusableItemRemove())});function c(e){if(e.defaultPrevented)return;if(e.key===`Tab`&&e.shiftKey){n.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let r=Ih(e,n.orientation.value,n.dir.value);if(r!==void 0){if(e.metaKey||e.ctrlKey||e.altKey||!t.allowShiftKey&&e.shiftKey)return;e.preventDefault();let i=[...o().map(e=>e.ref).filter(e=>e.dataset.disabled!==``)];if(r===`last`)i.reverse();else if(r===`prev`||r===`next`){r===`prev`&&i.reverse();let t=i.indexOf(e.currentTarget);i=n.loop.value?Rh(i,t+1):i.slice(t+1)}Yn(()=>Lh(i))}}let{forwardRef:l,currentElement:u}=ih(),d=sn();Tr(u,e=>{d.value=e},{immediate:!0,flush:`post`}),Ym(d,`keydown`,c);function f(e){d.value=e.currentTarget}return(t,r)=>(W(),K(z(s),null,{default:B(()=>[J(z(gh),{ref:z(l),tabindex:a.value?0:-1,"data-orientation":z(n).orientation.value,"data-active":e.active?``:void 0,"data-disabled":e.focusable?void 0:``,as:e.as,"as-child":e.asChild,onMousedown:r[0]||=t=>{e.focusable?z(n).onItemFocus(i.value):t.preventDefault()},onFocus:r[1]||=e=>z(n).onItemFocus(i.value),onFocusin:f},{default:B(()=>[ha(t.$slots,`default`)]),_:3},8,[`tabindex`,`data-orientation`,`data-active`,`data-disabled`,`as`,`as-child`])]),_:3}))}}),Uh=V({__name:`Label`,props:{for:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`label`}},setup(e){let t=e;return ih(),(e,n)=>(W(),K(z(gh),Ds(t,{onMousedown:n[0]||=e=>{!e.defaultPrevented&&e.detail>1&&e.preventDefault()}}),{default:B(()=>[ha(e.$slots,`default`)]),_:3},16))}}),[Wh,Gh]=Lm(`ToggleGroupRoot`),Kh=V({__name:`ToggleGroupRoot`,props:{rovingFocus:{type:Boolean,required:!1,default:!0},disabled:{type:Boolean,required:!1,default:!1},orientation:{type:String,required:!1},dir:{type:String,required:!1},loop:{type:Boolean,required:!1,default:!0},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},name:{type:String,required:!1},required:{type:Boolean,required:!1},type:{type:String,required:!1},modelValue:{type:null,required:!1},defaultValue:{type:null,required:!1}},emits:[`update:modelValue`],setup(e,{emit:t}){let n=e,r=t,{loop:i,rovingFocus:a,disabled:o,dir:s}=gn(n),c=th(s),{forwardRef:l,currentElement:u}=ih(),{modelValue:d,changeModelValue:f,isSingle:p}=Eh(n,r),m=rh(u);return Gh({isSingle:p,modelValue:d,changeModelValue:f,dir:c,orientation:n.orientation,loop:i,rovingFocus:a,disabled:o}),(t,n)=>(W(),K(la(z(a)?z(Vh):z(gh)),{"as-child":``,orientation:z(a)?e.orientation:void 0,dir:z(c),loop:z(a)?z(i):void 0},{default:B(()=>[J(z(gh),{ref:z(l),role:`group`,"as-child":e.asChild,as:e.as},{default:B(()=>[ha(t.$slots,`default`,{modelValue:z(d)}),z(m)&&e.name?(W(),K(jh,{key:0,name:e.name,required:e.required,value:z(d)},null,8,[`name`,`required`,`value`])):X(`v-if`,!0)]),_:3},8,[`as-child`,`as`])]),_:3},8,[`orientation`,`dir`,`loop`]))}}),qh=V({inheritAttrs:!1,__name:`Toggle`,props:{defaultValue:{type:Boolean,required:!1},modelValue:{type:[Boolean,null],required:!1,default:void 0},disabled:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`button`},name:{type:String,required:!1},required:{type:Boolean,required:!1}},emits:[`update:modelValue`],setup(e,{emit:t}){let n=e,r=t,{forwardRef:i,currentElement:a}=ih(),o=sh(),s=Wh(null),c=Zm(n,`modelValue`,r,{defaultValue:n.defaultValue,passive:n.modelValue===void 0});function l(){c.value=!c.value}let u=Q(()=>c.value?`on`:`off`),d=rh(a);return(t,r)=>(W(),G(H,null,[J(z(gh),Ds({ref:z(i),type:e.as===`button`?`button`:void 0,"as-child":n.asChild,as:e.as,"aria-pressed":z(c),"data-state":u.value,"data-disabled":e.disabled?``:void 0,disabled:e.disabled},{...z(o),...t.$attrs},{onClick:l}),{default:B(()=>[ha(t.$slots,`default`,{modelValue:z(c),disabled:e.disabled,pressed:z(c),state:u.value})]),_:3},16,[`type`,`as-child`,`as`,`aria-pressed`,`data-state`,`data-disabled`,`disabled`]),z(d)&&e.name&&!z(s)?(W(),K(jh,Ds({key:0,type:`checkbox`,name:e.name,value:z(c),required:e.required},z(o)),null,16,[`name`,`value`,`required`])):X(`v-if`,!0)],64))}}),Jh=V({__name:`ToggleGroupItem`,props:{value:{type:null,required:!0},disabled:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`button`}},setup(e){let t=e,n=Wh(),r=Q(()=>n.disabled?.value||t.disabled),i=Q(()=>Bm(n.modelValue.value,t.value)),{forwardRef:a}=ih(),o=sh();return(s,c)=>(W(),K(la(z(n).rovingFocus.value?z(Hh):z(gh)),Ds({"as-child":``},z(n).rovingFocus.value?{focusable:!r.value,active:i.value}:{}),{default:B(()=>[J(z(qh),Ds({...z(o),...t},{ref:z(a),disabled:r.value,"model-value":i.value,"onUpdate:modelValue":c[0]||=t=>z(n).changeModelValue(e.value)}),{default:B(e=>[ha(s.$slots,`default`,_e(xs(e)))]),_:3},16,[`disabled`,`model-value`])]),_:3},16))}}),Yh=V({__name:`Button`,props:{variant:{},size:{},class:{type:[Boolean,null,String,Object,Array]},asChild:{type:Boolean},as:{default:`button`}},setup(e){let t=e;return(n,r)=>(W(),K(z(gh),{"data-slot":`button`,"data-variant":e.variant,"data-size":e.size,as:e.as,"as-child":e.asChild,class:M(z(Am)(z(Xh)({variant:e.variant,size:e.size}),t.class))},{default:B(()=>[ha(n.$slots,`default`)]),_:3},8,[`data-variant`,`data-size`,`as`,`as-child`,`class`]))}}),Xh=Ip(`group/button inline-flex shrink-0 items-center justify-center rounded-none border border-transparent bg-clip-padding text-xs font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:border-ring focus-visible:ring-1 focus-visible:ring-ring/50 active:not-aria-[haspopup]:translate-y-px disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-1 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*=size-])]:size-4`,{variants:{variant:{default:`bg-primary text-primary-foreground [a]:hover:bg-primary/80`,outline:`border-border bg-background hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50`,secondary:`bg-secondary text-secondary-foreground hover:bg-secondary/80 aria-expanded:bg-secondary aria-expanded:text-secondary-foreground`,ghost:`hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:hover:bg-muted/50`,destructive:`bg-destructive/10 text-destructive hover:bg-destructive/20 focus-visible:border-destructive/40 focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:hover:bg-destructive/30 dark:focus-visible:ring-destructive/40`,link:`text-primary underline-offset-4 hover:underline`},size:{default:`h-8 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2`,xs:`h-6 gap-1 rounded-none px-2 text-xs has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*=size-])]:size-3`,sm:`h-7 gap-1 rounded-none px-2.5 has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*=size-])]:size-3.5`,lg:`h-9 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2`,icon:`size-8`,"icon-xs":`size-6 rounded-none [&_svg:not([class*=size-])]:size-3`,"icon-sm":`size-7 rounded-none`,"icon-lg":`size-9`}},defaultVariants:{variant:`default`,size:`default`}}),Zh=`jig-ui.theme`;function Qh(){try{return localStorage.getItem(Zh)===`light`?`light`:`dark`}catch{return`dark`}}var $h=R(Qh());Sr(()=>document.documentElement.classList.toggle(`dark`,$h.value===`dark`)),Tr($h,e=>{try{localStorage.setItem(Zh,e)}catch{}});var eg=V({__name:`ThemeToggle`,setup(e){return(e,t)=>(W(),K(z(Yh),{variant:`ghost`,size:`icon-sm`,"aria-label":z($h)===`dark`?`Switch to the light theme`:`Switch to the dark theme`,onClick:t[0]||=e=>$h.value=z($h)===`dark`?`light`:`dark`},{default:B(()=>[z($h)===`dark`?(W(),K(z(jp),{key:0})):(W(),K(z(kp),{key:1}))]),_:1},8,[`aria-label`]))}});function tg(e,t){let n=0;return async()=>{let r=++n,i=await e();i!==void 0&&r===n&&t(i)}}var ng={class:`flex h-screen flex-col`},rg={key:0,role:`alert`,class:`p-4 text-destructive`},ig={key:1,role:`alert`,class:`p-4`},ag={key:2,role:`alert`,class:`p-4 text-destructive`},og={key:3,role:`alert`,class:`p-4`},sg={class:`min-h-0 flex-1 overflow-auto`},cg=V({__name:`App`,setup(e){let t=Uu(),n=R(),r=R([]),i=Q(()=>typeof t.params.id==`string`?t.params.id:void 0),a=tg(async()=>(await(await Gf(()=>Uf.api.workspace.$get()))?.json())?.projects,e=>r.value=e);return Xi(async()=>{n.value=(await(await Gf(()=>Uf.api.instance.$get()))?.json())?.version}),ea(Zf(()=>void a())),(e,a)=>{let o=sa(`RouterView`);return W(),G(`div`,ng,[z(Wf)?.kind===`registry-unreadable`?(W(),G(`p`,rg,N(z(Wf).message),1)):z(Wf)?.kind===`session-ended`?(W(),G(`p`,ig,[...a[0]||=[Y(` This page's session has ended. Run `,-1),q(`code`,null,`npx @fapost/jig-ui`,-1),Y(` again to reopen it. `,-1)]])):z(Wf)?.kind===`internal`?(W(),G(`p`,ag,` Jig UI hit an error it did not expect; its terminal says what. Reload the page to try again. `)):z(Wf)?.kind===`not-running`?(W(),G(`p`,og,[...a[1]||=[Y(` Jig UI is not running. Start it with `,-1),q(`code`,null,`npx @fapost/jig-ui`,-1),Y(`. `,-1)]])):(W(),G(H,{key:4},[J(lp,{projects:r.value,current:i.value,version:n.value,class:`shrink-0`},{default:B(()=>[J(eg)]),_:1},8,[`projects`,`current`,`version`]),q(`main`,sg,[(W(),K(o,{key:z(t).fullPath}))])],64))])}}}),lg={class:`flex w-full items-center gap-2 font-semibold tracking-wider uppercase`},ug=[`aria-label`],dg=V({__name:`ColumnHeader`,props:{id:{},title:{},count:{}},setup(e){return(t,n)=>(W(),G(`span`,lg,[q(`span`,{class:M([`h-3 w-1 shrink-0`,z(rp)[e.id]??`bg-border`]),"aria-hidden":`true`},null,2),Y(` `+N(e.title)+` `,1),q(`span`,{class:`ml-auto font-normal text-muted-foreground`,"aria-label":`${e.count} ${e.count===1?`task`:`tasks`}`},`[`+N(e.count)+`]`,9,ug)]))}}),fg=typeof window<`u`&&typeof document<`u`;typeof WorkerGlobalScope<`u`&&globalThis instanceof WorkerGlobalScope;var pg=e=>e!==void 0;function mg(e){return Jt(L(e)?new Proxy({},{get(t,n,r){return z(Reflect.get(e.value,n,r))},set(t,n,r){return L(e.value[n])&&!L(r)?e.value[n].value=r:e.value[n]=r,!0},deleteProperty(t,n){return Reflect.deleteProperty(e.value,n)},has(t,n){return Reflect.has(e.value,n)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}}):e)}function hg(e){return mg(Q(e))}function gg(e,...t){let n=t.flat(),r=n[0];return hg(()=>Object.fromEntries(typeof r==`function`?Object.entries(gn(e)).filter(([e,t])=>!r(dn(t),e)):Object.entries(gn(e)).filter(e=>!n.includes(e[0]))))}fg&&window.document,fg&&window.navigator,fg&&window.location;function _g(e){return JSON.parse(JSON.stringify(e))}function vg(e,t,n,r={}){var i,a;let{clone:o=!1,passive:s=!1,eventName:c,deep:l=!1,defaultValue:u,shouldEmit:d}=r,f=Z(),p=n||f?.emit||(f==null||(i=f.$emit)==null?void 0:i.bind(f))||(f==null||(a=f.proxy)==null||(a=a.$emit)==null?void 0:a.bind(f?.proxy)),m=c;t||=`modelValue`,m||=`update:${t.toString()}`;let h=e=>o?typeof o==`function`?o(e):_g(e):e,g=()=>pg(e[t])?h(e[t]):u,_=e=>{d?d(e)&&p(m,e):p(m,e)};if(s){let n=R(g()),r=!1;return Tr(()=>e[t],e=>{r||(r=!0,n.value=h(e),Yn(()=>r=!1))}),Tr(n,n=>{!r&&(n!==e[t]||l)&&_(n)},{deep:l}),n}return Q({get(){return g()},set(e){_(e)}})}var yg=V({__name:`Badge`,props:{asChild:{type:Boolean},as:{},variant:{},class:{type:[Boolean,null,String,Object,Array]}},setup(e){let t=e,n=gg(t,`class`);return(r,i)=>(W(),K(z(gh),Ds({"data-slot":`badge`,"data-variant":e.variant,class:z(Am)(z(bg)({variant:e.variant}),t.class)},z(n)),{default:B(()=>[ha(r.$slots,`default`)]),_:3},16,[`data-variant`,`class`]))}}),bg=Ip(`group/badge inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-none border border-transparent px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-all focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-3!`,{variants:{variant:{default:`bg-primary text-primary-foreground [a]:hover:bg-primary/80`,secondary:`bg-secondary text-secondary-foreground [a]:hover:bg-secondary/80`,destructive:`bg-destructive/10 text-destructive focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:focus-visible:ring-destructive/40 [a]:hover:bg-destructive/20`,outline:`border-border text-foreground [a]:hover:bg-muted [a]:hover:text-muted-foreground`,ghost:`hover:bg-muted hover:text-muted-foreground dark:hover:bg-muted/50`,link:`text-primary underline-offset-4 hover:underline`}},defaultVariants:{variant:`default`}}),xg=[`data-size`],Sg=V({__name:`Card`,props:{class:{type:[Boolean,null,String,Object,Array]},size:{default:`default`}},setup(e){let t=e;return(n,r)=>(W(),G(`div`,{"data-slot":`card`,"data-size":e.size,class:M(z(Am)(`group/card flex flex-col gap-4 overflow-hidden rounded-none bg-card py-4 text-xs/relaxed text-card-foreground ring-1 ring-foreground/10 has-data-[slot=card-footer]:pb-0 has-[>img:first-child]:pt-0 data-[size=sm]:gap-2 data-[size=sm]:py-3 data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-none *:[img:last-child]:rounded-none`,t.class))},[ha(n.$slots,`default`)],10,xg))}});function Cg(e){if(e.gate===`waiting`)return{text:`Design waits at its gate`,tone:`attention`};if(e.gate===`changed`)return{text:`Design changed after approval`,tone:`attention`};if(e.autopilot===`stopped`)return{text:`Autopilot stopped with a question`,tone:`attention`};if(e.paused)return;let t=e.pullRequest;if(t){let e=t.ci&&t.ci!==`none`?`, CI ${t.ci}`:``,n=t.ci===`red`?`bad`:t.ci===`green`||t.state===`merged`?`good`:`quiet`;return{text:`Pull request ${t.state??`opened`}${e}`,tone:n,url:Jf(t.url)}}return e.status===`ready`?{text:`No pull request yet`,tone:`quiet`}:e.autopilot===`on`?{text:`On autopilot`,tone:`quiet`}:void 0}var wg={class:`flex items-center bg-muted`},Tg=[`title`],Eg=V({__name:`CopyCommand`,props:{command:{}},setup(e){let t=e,n=R(!1);async function r(){try{await navigator.clipboard.writeText(t.command),n.value=!0,setTimeout(()=>n.value=!1,1500)}catch{}}return(t,i)=>(W(),G(`div`,wg,[q(`code`,{class:`min-w-0 flex-1 truncate px-2 py-1`,title:e.command},N(e.command),9,Tg),J(z(Yh),{variant:`ghost`,size:`xs`,"aria-label":n.value?`Copied`:`Copy ${e.command}`,onClick:r},{default:B(()=>[n.value?(W(),K(z(Sp),{key:0})):(W(),K(z(Ep),{key:1})),Y(` `+N(n.value?`copied`:`copy`),1)]),_:1},8,[`aria-label`])]))}}),Dg={key:0,class:`text-muted-foreground`},Og={key:1,class:`flex flex-col gap-2`},kg={class:`text-muted-foreground`},Ag=V({__name:`ActionList`,props:{actions:{}},setup(e){let t={start:`Start it`,pause:`Pause it`,resume:`Resume it`,"approve-gate":`Approve the design`,"answer-stop":`Answer the autopilot's question`,"set-class":`Change its class`,ship:`Ship it`,close:`Close it`,abandon:`Abandon it`,reopen:`Reopen it`};return(n,r)=>e.actions.length===0?(W(),G(`p`,Dg,`Nothing for now.`)):(W(),G(`ul`,Og,[(W(!0),G(H,null,pa(e.actions,e=>(W(),G(`li`,{key:e.id},[q(`p`,kg,`› `+N(t[e.id]??e.id),1),J(Eg,{command:e.command,class:`mt-1`},null,8,[`command`])]))),128))]))}}),jg={class:`@container flex flex-col gap-3`},Mg={class:`grid grid-cols-1 @sm:grid-cols-[max-content_1fr] @sm:gap-x-4 @sm:gap-y-1`},Ng={class:`mb-1 @sm:mb-0`},Pg={class:`mb-1 @sm:mb-0`},Fg={class:`mb-1 @sm:mb-0`},Ig={class:`mb-1 break-all @sm:mb-0`},Lg={class:`mb-1 @sm:mb-0`},Rg={class:`mb-1 @sm:mb-0`},zg={class:`mb-1 @sm:mb-0`},Bg={class:`mb-1 @sm:mb-0`},Vg={class:`mb-1 @sm:mb-0`},Hg=[`href`],Ug={key:2,class:`block text-muted-foreground`},Wg={class:`mb-1 @sm:mb-0`},Gg={class:`mb-1 @sm:mb-0`},Kg={class:`font-semibold`},qg={class:`text-foreground`},Jg=V({__name:`TaskFacts`,props:{details:{}},setup(e){return(t,n)=>(W(),G(`div`,jg,[q(`dl`,Mg,[n[6]||=q(`dt`,{class:`text-muted-foreground`},`column`,-1),q(`dd`,Ng,N(e.details.column.title),1),n[7]||=q(`dt`,{class:`text-muted-foreground`},`status`,-1),q(`dd`,Pg,N(e.details.status)+N(e.details.paused?`, paused`:``),1),n[8]||=q(`dt`,{class:`text-muted-foreground`},`class`,-1),q(`dd`,Fg,N(e.details.class??`not classified yet`),1),n[9]||=q(`dt`,{class:`text-muted-foreground`},`branch`,-1),q(`dd`,Ig,[e.details.branch?(W(),G(H,{key:0},[Y(N(e.details.branch)+` → `+N(e.details.baseBranch),1)],64)):(W(),G(H,{key:1},[Y(`not started; will land on `+N(e.details.baseBranch),1)],64))]),e.details.worktree?(W(),G(H,{key:0},[n[0]||=q(`dt`,{class:`text-muted-foreground`},`worktree`,-1),q(`dd`,Lg,N(e.details.worktree.uncommitted)+` uncommitted `+N(e.details.worktree.uncommitted===1?`file`:`files`),1)],64)):X(``,!0),e.details.issue?(W(),G(H,{key:1},[n[1]||=q(`dt`,{class:`text-muted-foreground`},`issue`,-1),q(`dd`,Rg,N(e.details.issue),1)],64)):X(``,!0),e.details.gate?(W(),G(H,{key:2},[n[2]||=q(`dt`,{class:`text-muted-foreground`},`gate`,-1),q(`dd`,zg,[e.details.gate===`waiting`?(W(),G(H,{key:0},[Y(`the design waits for approval`)],64)):e.details.gate===`changed`?(W(),G(H,{key:1},[Y(`the design changed after it was approved`)],64)):(W(),G(H,{key:2},[Y(`approved`+N(e.details.gateBy?` by ${e.details.gateBy===`human`?`a person`:`an agent`}`:``),1)],64))])],64)):X(``,!0),e.details.autopilot&&e.details.run?(W(),G(H,{key:3},[n[3]||=q(`dt`,{class:`text-muted-foreground`},`autopilot`,-1),q(`dd`,Bg,[Y(N(e.details.autopilot)+N(e.details.run.mode?`, ${e.details.run.mode}`:``)+N(e.details.run.phase?`, phase ${e.details.run.phase}`:``),1),e.details.run.stage?(W(),G(H,{key:0},[Y(`; last stage `+N(e.details.run.stage),1),e.details.run.stageAt?(W(),G(H,{key:0},[Y(`, since `+N(e.details.run.stageAt),1)],64)):X(``,!0)],64)):X(``,!0)])],64)):X(``,!0),e.details.pullRequest?(W(),G(H,{key:4},[n[5]||=q(`dt`,{class:`text-muted-foreground`},`pull request`,-1),q(`dd`,Vg,[Y(N(e.details.pullRequest.state??`state not known yet`),1),e.details.pullRequest.ci&&e.details.pullRequest.ci!==`none`?(W(),G(H,{key:0},[Y(`, CI `+N(e.details.pullRequest.ci),1)],64)):X(``,!0),z(Jf)(e.details.pullRequest.url)?(W(),G(`a`,{key:1,href:z(Jf)(e.details.pullRequest.url),target:`_blank`,rel:`noopener noreferrer`,class:`inline-flex items-center gap-1 underline underline-offset-2`},[n[4]||=Y(` open`,-1),J(z(Dp),{class:`size-3`})],8,Hg)):X(``,!0),e.details.pullRequest.fetchedAt?(W(),G(`span`,Ug,`as Jig's housekeeping heard it at `+N(e.details.pullRequest.fetchedAt),1)):X(``,!0)])],64)):X(``,!0),n[10]||=q(`dt`,{class:`text-muted-foreground`},`knowledge`,-1),q(`dd`,Wg,N(e.details.knowledgeConsolidated?`decision recorded`:`decision not recorded yet`),1),n[11]||=q(`dt`,{class:`text-muted-foreground`},`filed, changed`,-1),q(`dd`,Gg,N(e.details.createdAt??`—`)+`, `+N(e.details.updatedAt??`—`),1)]),e.details.autopilot===`stopped`&&e.details.run?.stopReason?(W(),G(`div`,{key:0,class:M(z(ep).attention),role:`note`},[q(`p`,Kg,[n[12]||=Y(` The autopilot asks`,-1),e.details.run.stopAt?(W(),G(H,{key:0},[Y(` (since `+N(e.details.run.stopAt)+`)`,1)],64)):X(``,!0)]),q(`p`,qg,N(e.details.run.stopReason),1)],2)):X(``,!0)]))}}),Yg={class:`flex flex-col gap-3`},Xg={key:0,class:`text-muted-foreground`},Zg={key:1,class:`text-muted-foreground`},Qg=V({__name:`TaskBrief`,props:{project:{},task:{},details:{}},setup(e){return(t,n)=>{let r=sa(`RouterLink`);return W(),G(`div`,Yg,[e.details===void 0?(W(),G(`p`,Xg,`Reading the task…`)):e.details===`unavailable`?(W(),G(`p`,Zg,`The details cannot be read right now.`)):(W(),G(H,{key:2},[J(Jg,{details:e.details},null,8,[`details`]),n[0]||=q(`p`,{class:`font-semibold tracking-wider uppercase`},`What Jig offers`,-1),J(Ag,{actions:e.details.actions},null,8,[`actions`])],64)),J(r,{to:`/projects/${encodeURIComponent(e.project)}/tasks/${encodeURIComponent(e.task)}`,class:`self-start underline underline-offset-2`},{default:B(()=>[...n[1]||=[Y(` Open full details `,-1)]]),_:1},8,[`to`])])}}}),$g=[`aria-expanded`],e_={class:`flex w-full items-center gap-2`},t_={class:`font-semibold break-all`},n_=[`href`],r_=V({__name:`TaskCard`,props:{project:{},task:{},open:{type:Boolean},details:{}},emits:[`toggle`],setup(e){let t=e,n=Q(()=>Cg(t.task));return(t,r)=>(W(),K(z(Sg),{class:M([`gap-2 px-3 py-3`,e.open&&`ring-foreground`])},{default:B(()=>[q(`button`,{type:`button`,class:`flex flex-col gap-2 text-left`,"aria-expanded":e.open,onClick:r[0]||=e=>t.$emit(`toggle`)},[q(`span`,e_,[q(`span`,t_,N(e.task.id),1),e.task.class?(W(),K(z(yg),{key:0,variant:`outline`,class:`ml-auto`},{default:B(()=>[Y(N(e.task.class),1)]),_:1})):X(``,!0)]),e.task.goal?(W(),G(`span`,{key:0,class:M([`text-muted-foreground`,!e.open&&`line-clamp-2`])},N(e.task.goal),3)):X(``,!0)],8,$g),n.value?(W(),G(`p`,{key:0,class:M(z(ep)[n.value.tone])},[Y(N(n.value.text)+` `,1),n.value.url?(W(),G(`a`,{key:0,href:n.value.url,target:`_blank`,rel:`noopener noreferrer`,class:`inline-flex items-center gap-1 underline underline-offset-2`},[r[1]||=Y(` open`,-1),J(z(Dp),{class:`size-3`})],8,n_)):X(``,!0)],2)):X(``,!0),e.open?(W(),K(Qg,{key:1,project:e.project,task:e.task.id,details:e.details,class:`mt-1 border-t pt-2`},null,8,[`project`,`task`,`details`])):X(``,!0)]),_:1},8,[`class`]))}}),i_={class:`grid min-h-0 flex-1 grid-cols-[repeat(5,minmax(14rem,1fr))] divide-x overflow-auto`},a_=[`aria-labelledby`],o_=[`id`],s_={class:`flex flex-col gap-2 p-2`},c_={key:0,class:`p-3 text-center text-muted-foreground`},l_=V({__name:`BoardColumns`,props:{project:{},columns:{},selected:{},details:{}},emits:[`toggle`],setup(e){return(t,n)=>(W(),G(`div`,i_,[(W(!0),G(H,null,pa(e.columns,n=>(W(),G(`section`,{key:n.id,"aria-labelledby":`column-${n.id}`},[q(`h2`,{id:`column-${n.id}`,class:`sticky top-0 z-10 border-b bg-background px-3 py-2`},[J(dg,{id:n.id,title:n.title,count:n.cards.length},null,8,[`id`,`title`,`count`])],8,o_),q(`ul`,s_,[(W(!0),G(H,null,pa(n.cards,n=>(W(),G(`li`,{key:n.id},[J(r_,{project:e.project,task:n,open:e.selected===n.id,details:e.selected===n.id?e.details:void 0,onToggle:e=>t.$emit(`toggle`,n.id)},null,8,[`project`,`task`,`open`,`details`,`onToggle`])]))),128)),n.cards.length===0?(W(),G(`li`,c_,`— empty —`)):X(``,!0)])],8,a_))),128))]))}}),u_=V({__name:`Collapsible`,props:{defaultOpen:{type:Boolean},open:{type:Boolean},disabled:{type:Boolean},unmountOnHide:{type:Boolean},asChild:{type:Boolean},as:{}},emits:[`update:open`],setup(e,{emit:t}){let n=oh(e,t);return(e,t)=>(W(),K(z(bh),Ds({"data-slot":`collapsible`},z(n)),{default:B(t=>[ha(e.$slots,`default`,_e(xs(t)))]),_:3},16))}}),d_=V({__name:`CollapsibleContent`,props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{}},setup(e){let t=e;return(e,n)=>(W(),K(z(xh),Ds({"data-slot":`collapsible-content`},t),{default:B(()=>[ha(e.$slots,`default`)]),_:3},16))}}),f_=V({__name:`CollapsibleTrigger`,props:{asChild:{type:Boolean},as:{}},setup(e){let t=e;return(e,n)=>(W(),K(z(Sh),Ds({"data-slot":`collapsible-trigger`},t),{default:B(()=>[ha(e.$slots,`default`)]),_:3},16))}}),p_=[`aria-pressed`],m_=[`title`],h_={key:1,class:`w-7 shrink-0`},g_={class:`min-w-0 flex-1 truncate text-muted-foreground`},__=V({__name:`TaskRow`,props:{task:{},selected:{type:Boolean}},emits:[`select`],setup(e){let t=e,n=Q(()=>Cg(t.task));return(t,r)=>(W(),G(`button`,{type:`button`,class:M([`flex w-full items-center gap-3 border-b px-3 py-2 text-left hover:bg-muted/50`,e.selected&&`bg-muted`]),"aria-pressed":e.selected,onClick:r[0]||=e=>t.$emit(`select`)},[q(`span`,{class:`w-40 shrink-0 truncate font-semibold`,title:e.task.id},N(e.task.id),9,m_),e.task.class?(W(),K(z(yg),{key:0,variant:`outline`,class:`shrink-0`},{default:B(()=>[Y(N(e.task.class),1)]),_:1})):(W(),G(`span`,h_)),q(`span`,g_,N(e.task.goal),1),n.value?(W(),G(`span`,{key:2,class:M([`shrink-0`,z($f)[n.value.tone]])},N(n.value.text),3)):X(``,!0)],10,p_))}}),v_={class:`flex min-h-0 flex-1`},y_={class:`min-w-0 flex-1 overflow-y-auto`},b_={key:0,class:`border-b px-3 py-2 text-muted-foreground`},x_={class:`w-96 shrink-0 overflow-y-auto border-l`,"aria-label":`Task`},S_={class:`flex items-center gap-2 border-b px-4 py-2`},C_={class:`font-semibold break-all`},w_={class:`flex flex-col gap-3 p-4`},T_={key:0,class:`text-muted-foreground`},E_={key:1,class:`p-4 text-muted-foreground`},D_=V({__name:`BoardList`,props:{project:{},columns:{},selected:{},details:{}},emits:[`select`],setup(e){let t=e,n=Q(()=>t.columns.flatMap(e=>e.cards).find(e=>e.id===t.selected)),r=R(new Set);function i(e,t){t?r.value.delete(e):r.value.add(e)}return(t,a)=>(W(),G(`div`,v_,[q(`div`,y_,[(W(!0),G(H,null,pa(e.columns,n=>(W(),K(z(u_),{key:n.id,open:!r.value.has(n.id),"onUpdate:open":e=>i(n.id,e)},{default:B(()=>[q(`h2`,null,[J(z(f_),{class:`flex w-full items-center gap-2 border-b bg-muted/50 px-3 py-1.5`},{default:B(()=>[r.value.has(n.id)?(W(),K(z(wp),{key:0,class:`size-3 shrink-0`})):(W(),K(z(Cp),{key:1,class:`size-3 shrink-0`})),J(dg,{id:n.id,title:n.title,count:n.cards.length},null,8,[`id`,`title`,`count`])]),_:2},1024)]),J(z(d_),null,{default:B(()=>[(W(!0),G(H,null,pa(n.cards,n=>(W(),K(__,{key:n.id,task:n,selected:e.selected===n.id,onSelect:e=>t.$emit(`select`,n.id)},null,8,[`task`,`selected`,`onSelect`]))),128)),n.cards.length===0?(W(),G(`p`,b_,`— empty —`)):X(``,!0)]),_:2},1024)]),_:2},1032,[`open`,`onUpdate:open`]))),128))]),q(`aside`,x_,[n.value?(W(),G(H,{key:0},[q(`div`,S_,[q(`span`,C_,N(n.value.id),1),n.value.class?(W(),K(z(yg),{key:0,variant:`outline`},{default:B(()=>[Y(N(n.value.class),1)]),_:1})):X(``,!0)]),q(`div`,w_,[n.value.goal?(W(),G(`p`,T_,N(n.value.goal),1)):X(``,!0),J(Qg,{project:e.project,task:n.value.id,details:e.details},null,8,[`project`,`task`,`details`])])],64)):(W(),G(`p`,E_,`Pick a task to see its details.`))])]))}}),O_={class:`flex items-center gap-2`},k_=[`aria-valuemax`,`aria-valuenow`,`aria-label`],A_={class:`text-muted-foreground tabular-nums`},j_=V({__name:`ProgressBar`,props:{done:{},total:{}},setup(e){return(t,n)=>(W(),G(`span`,O_,[q(`span`,{class:`h-1.5 w-24 shrink-0 bg-muted`,role:`progressbar`,"aria-valuemin":`0`,"aria-valuemax":e.total,"aria-valuenow":e.done,"aria-label":`${e.done} of ${e.total} done`},[q(`span`,{class:M([`block h-full`,z(np)]),style:j({width:e.total===0?`0%`:`${e.done/e.total*100}%`})},null,6)],8,k_),q(`span`,A_,N(e.done)+`/`+N(e.total),1)]))}});function M_(e){let t=e.text;e.task!==null&&(t=t.replace(RegExp(`^\`${e.task.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)}\`\\s+(—|--|-)\\s+`),``)),e.fog&&(t=t.replace(/^fog:\s*/,``));let n=/\s*\(after: (.*)\)$/.exec(t);return n&&(t=t.slice(0,n.index)),{words:N_(t),after:n?.[1]?N_(n[1]):null}}function N_(e){return e.split("`").map((e,t)=>({text:e,code:t%2==1})).filter(e=>e.text!==``)}var P_={class:`w-6 shrink-0`,"aria-hidden":`true`},F_={class:`sr-only`},I_={key:1,class:`font-semibold`},L_={key:0,class:`bg-muted px-0.5`},R_={key:1,class:`text-muted-foreground`},z_={key:0,class:`bg-muted px-0.5`},B_=V({__name:`SpecItemRow`,props:{item:{},project:{},live:{type:Boolean}},setup(e){let t=e,n=Q(()=>M_(t.item));return(t,r)=>{let i=sa(`RouterLink`);return W(),G(`li`,{class:M([`flex items-baseline gap-2 px-3 py-1`,(e.item.checked||e.item.fog)&&`text-muted-foreground`])},[q(`span`,P_,N(e.item.checked?`[x]`:e.item.fog?`~`:`[ ]`),1),q(`span`,F_,N(e.item.checked?`Done:`:e.item.fog?`Fog:`:`Open:`),1),q(`span`,{class:M([`min-w-0 flex-1`,e.item.fog&&!e.item.checked&&`italic`])},[e.item.task?(W(),G(H,{key:0},[e.live?(W(),K(i,{key:0,to:`/projects/${encodeURIComponent(e.project)}/tasks/${encodeURIComponent(e.item.task)}`,class:`font-semibold text-foreground underline underline-offset-2`},{default:B(()=>[Y(N(e.item.task),1)]),_:1},8,[`to`])):(W(),G(`span`,I_,N(e.item.task),1)),r[0]||=Y(` — `,-1)],64)):X(``,!0),(W(!0),G(H,null,pa(n.value.words,(e,t)=>(W(),G(H,{key:t},[e.code?(W(),G(`code`,L_,N(e.text),1)):(W(),G(H,{key:1},[Y(N(e.text),1)],64))],64))),128)),n.value.after?(W(),G(`span`,R_,[r[1]||=Y(` · after: `,-1),(W(!0),G(H,null,pa(n.value.after,(e,t)=>(W(),G(H,{key:t},[e.code?(W(),G(`code`,z_,N(e.text),1)):(W(),G(H,{key:1},[Y(N(e.text),1)],64))],64))),128))])):X(``,!0)],2)],2)}}}),V_=[`aria-labelledby`],H_={class:`flex flex-col gap-1 border-b px-3 py-2`},U_={class:`flex flex-wrap items-center gap-x-3 gap-y-1`},W_=[`id`],G_={key:0,class:`min-w-0 flex-1`},K_={key:1,class:`ml-auto flex items-center gap-3`},q_={key:0,class:`text-muted-foreground`},J_={class:`flex flex-wrap gap-x-4 text-muted-foreground`},Y_={key:0},X_={class:`text-foreground`},Z_={key:1},Q_={key:2},$_={class:`font-semibold`},ev={class:`ml-auto flex items-center gap-3`},tv={key:0,class:`text-muted-foreground`},nv={class:`border-b py-1`},rv=V({__name:`SpecCard`,props:{spec:{},project:{},live:{}},setup(e){let t=R(new Set(e.spec.phases.flatMap((e,t)=>e.total>0&&e.done===e.total?[t]:[])));function n(e,n){n?t.value.delete(e):t.value.add(e)}return(r,i)=>(W(),G(`section`,{class:`border`,"aria-labelledby":`spec-${e.spec.id}`},[q(`div`,H_,[q(`div`,U_,[q(`h2`,{id:`spec-${e.spec.id}`,class:`font-semibold tracking-wider uppercase`},N(e.spec.id),9,W_),e.spec.title?(W(),G(`span`,G_,N(e.spec.title),1)):X(``,!0),e.spec.progress?(W(),G(`span`,K_,[J(j_,{done:e.spec.progress.done,total:e.spec.progress.total},null,8,[`done`,`total`]),e.spec.progress.fog>0?(W(),G(`span`,q_,`fog `+N(e.spec.progress.fog),1)):X(``,!0)])):X(``,!0)]),q(`p`,J_,[e.spec.epic?(W(),G(`span`,Y_,[i[0]||=Y(` epic `,-1),q(`span`,X_,N(e.spec.epic.branch),1),Y(` — `+N(e.spec.epic.state),1),e.spec.epic.checkedOut?(W(),G(H,{key:0},[Y(`, checked out here`)],64)):X(``,!0),e.spec.epic.fetched?(W(),G(H,{key:1},[Y(`, as of the last fetch`)],64)):X(``,!0),e.spec.epic.missing?(W(),G(`span`,{key:2,class:M(z($f).attention)},`, the branch is nowhere`,2)):X(``,!0)])):(W(),G(`span`,Z_,`no epic: each phase ships on its own`)),e.spec.release?(W(),G(`span`,Q_,`release raises the `+N(e.spec.release)+` version`,1)):X(``,!0)]),e.spec.missingFiles.length>0?(W(),G(`p`,{key:0,class:M(z($f).attention)},`Missing from the spec: `+N(e.spec.missingFiles.join(`, `)),3)):e.spec.progress===null?(W(),G(`p`,{key:1,class:M(z($f).attention)},`The roadmap cannot be read.`,2)):X(``,!0)]),(W(!0),G(H,null,pa(e.spec.phases,(r,i)=>(W(),K(z(u_),{key:i,open:!t.value.has(i),"onUpdate:open":e=>n(i,e)},{default:B(()=>[q(`h3`,null,[J(z(f_),{class:`flex w-full items-center gap-2 border-b bg-muted/50 px-3 py-1.5 text-left`},{default:B(()=>[t.value.has(i)?(W(),K(z(wp),{key:0,class:`size-3 shrink-0`})):(W(),K(z(Cp),{key:1,class:`size-3 shrink-0`})),q(`span`,$_,[r.phase===null?X(``,!0):(W(),G(H,{key:0},[Y(`Phase `+N(r.phase),1)],64)),r.phase!==null&&r.title?(W(),G(H,{key:1},[Y(` · `)],64)):X(``,!0),Y(` `+N(r.title??(r.phase===null?`Before the first phase`:``)),1)]),q(`span`,ev,[r.fog>0?(W(),G(`span`,tv,`fog `+N(r.fog),1)):X(``,!0),J(j_,{done:r.done,total:r.total},null,8,[`done`,`total`])])]),_:2},1024)]),J(z(d_),null,{default:B(()=>[q(`ul`,nv,[(W(!0),G(H,null,pa(r.items,(t,n)=>(W(),K(B_,{key:n,item:t,project:e.project,live:t.task!==null&&e.live.includes(t.task)},null,8,[`item`,`project`,`live`]))),128))])]),_:2},1024)]),_:2},1032,[`open`,`onUpdate:open`]))),128))],8,V_))}}),iv=V({__name:`ToggleGroup`,props:{rovingFocus:{type:Boolean},disabled:{type:Boolean},orientation:{},dir:{},loop:{type:Boolean},asChild:{type:Boolean},as:{},name:{},required:{type:Boolean},type:{},modelValue:{},defaultValue:{},class:{type:[Boolean,null,String,Object,Array]},variant:{},size:{},spacing:{default:0}},emits:[`update:modelValue`],setup(e,{emit:t}){let n=e,r=t;_r(`toggleGroup`,{variant:n.variant,size:n.size,spacing:n.spacing});let i=oh(gg(n,`class`,`size`,`variant`),r);return(t,r)=>(W(),K(z(Kh),Ds({"data-slot":`toggle-group`,"data-size":e.size,"data-variant":e.variant,"data-spacing":e.spacing,style:{"--gap":e.spacing}},z(i),{class:z(Am)(`group/toggle-group flex w-fit flex-row items-center gap-[--spacing(var(--gap))] rounded-none data-vertical:flex-col data-vertical:items-stretch data-[size=sm]:rounded-none`,n.class)}),{default:B(e=>[ha(t.$slots,`default`,_e(xs(e)))]),_:3},16,[`data-size`,`data-variant`,`data-spacing`,`style`,`class`]))}}),av=Ip(`group/toggle inline-flex items-center justify-center gap-1 rounded-none text-xs font-medium whitespace-nowrap transition-all outline-none hover:bg-muted hover:text-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 aria-pressed:bg-muted data-[state=on]:bg-muted dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*=size-])]:size-4`,{variants:{variant:{default:`bg-transparent`,outline:`border border-input bg-transparent hover:bg-muted`},size:{default:`h-8 min-w-8 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2`,sm:`h-7 min-w-7 rounded-none px-2.5 has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5`,lg:`h-9 min-w-9 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2`}},defaultVariants:{variant:`default`,size:`default`}}),ov=V({__name:`ToggleGroupItem`,props:{value:{},disabled:{type:Boolean},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]},variant:{},size:{}},setup(e){let t=e,n=vr(`toggleGroup`),r=ah(gg(t,`class`,`size`,`variant`));return(i,a)=>(W(),K(z(Jh),Ds({"data-slot":`toggle-group-item`,"data-variant":z(n)?.variant||e.variant,"data-size":z(n)?.size||e.size,"data-spacing":z(n)?.spacing},z(r),{class:z(Am)(`shrink-0 group-data-[spacing=0]/toggle-group:rounded-none group-data-[spacing=0]/toggle-group:px-2 focus:z-10 focus-visible:z-10 group-data-[spacing=0]/toggle-group:has-data-[icon=inline-end]:pr-1.5 group-data-[spacing=0]/toggle-group:has-data-[icon=inline-start]:pl-1.5 group-data-horizontal/toggle-group:data-[spacing=0]:first:rounded-none group-data-vertical/toggle-group:data-[spacing=0]:first:rounded-none group-data-horizontal/toggle-group:data-[spacing=0]:last:rounded-none group-data-vertical/toggle-group:data-[spacing=0]:last:rounded-none group-data-horizontal/toggle-group:data-[spacing=0]:data-[variant=outline]:border-l-0 group-data-vertical/toggle-group:data-[spacing=0]:data-[variant=outline]:border-t-0 group-data-horizontal/toggle-group:data-[spacing=0]:data-[variant=outline]:first:border-l group-data-vertical/toggle-group:data-[spacing=0]:data-[variant=outline]:first:border-t`,z(av)({variant:z(n)?.variant||e.variant,size:z(n)?.size||e.size}),t.class)}),{default:B(e=>[ha(i.$slots,`default`,_e(xs(e)))]),_:3},16,[`data-variant`,`data-size`,`data-spacing`,`class`]))}}),sv={class:`flex h-full flex-col`},cv={class:`flex shrink-0 items-center gap-3 border-b px-3 py-1.5`},lv={class:`font-semibold`},uv={key:0,class:`text-muted-foreground`},dv={key:0,class:`p-3 text-muted-foreground`},fv={key:1,role:`alert`,class:`p-3 text-destructive`},pv={key:2,class:`p-3`},mv={key:4,class:`min-h-0 flex-1 overflow-y-auto`},hv={key:0,class:`p-3 text-muted-foreground`},gv={key:1,role:`alert`,class:`p-3 text-destructive`},_v={key:2,class:`p-3`},vv={key:3,class:`p-3 text-muted-foreground`},yv={key:4,class:`flex flex-col gap-3 p-3`},bv=`jig-ui.board-view`,xv=V({__name:`BoardView`,props:{id:{}},setup(e){let t=e,n=R(),r={id:encodeURIComponent(t.id)},i=tg(async()=>{let e=await Gf(()=>Uf.api.projects[`:id`].board.$get({param:r}));return e&&(e.status===404?`not-connected`:(await e.json()).board)},e=>n.value=e),a=R(),o=tg(async()=>{let e=await Gf(()=>Uf.api.projects[`:id`].specs.$get({param:r}));return e&&(e.status===404?`not-connected`:(await e.json()).specs)},e=>a.value=e),s=[`board`,`list`,`specs`],c=e=>s.includes(e);function l(){try{let e=localStorage.getItem(bv);return c(e)?e:`board`}catch{return`board`}}let u=R(l());function d(e){if(c(e)){u.value=e;try{localStorage.setItem(bv,e)}catch{}}}let f=R(),p=R(),m=tg(async()=>{if(f.value===void 0)return;let e=await Kf(t.id,f.value);return typeof e==`object`&&e.state===`ready`?e:`unavailable`},e=>p.value=e);Tr(f,()=>{p.value=void 0,m()});let h=Q(()=>n.value!==void 0&&n.value!==`not-connected`&&n.value.state===`ready`?n.value.columns.flatMap(e=>e.cards):[]),g=Q(()=>h.value.map(e=>e.id));return ea(Zf(e=>{(e===void 0||e===t.id)&&(i(),o(),m())})),(t,r)=>(W(),G(`div`,sv,[q(`div`,cv,[q(`h1`,lv,N(e.id),1),typeof n.value==`object`&&n.value.state===`ready`&&n.value.finished>0?(W(),G(`span`,uv,N(n.value.finished)+` finished `+N(n.value.finished===1?`task is`:`tasks are`)+` not shown `,1)):X(``,!0),typeof n.value==`object`&&n.value.state===`ready`?(W(),K(z(iv),{key:1,type:`single`,variant:`outline`,size:`sm`,class:`ml-auto`,"aria-label":`View`,"model-value":u.value,"onUpdate:modelValue":d},{default:B(()=>[J(z(ov),{value:`board`},{default:B(()=>[J(z(Tp)),r[2]||=Y(`Board`,-1)]),_:1}),J(z(ov),{value:`list`},{default:B(()=>[J(z(Ap)),r[3]||=Y(`List`,-1)]),_:1}),J(z(ov),{value:`specs`},{default:B(()=>[J(z(Op)),r[4]||=Y(`Specs`,-1)]),_:1})]),_:1},8,[`model-value`])):X(``,!0)]),n.value===void 0?(W(),G(`p`,dv,`Reading the board…`)):n.value===`not-connected`?(W(),G(`p`,fv,`No connected project is called `+N(e.id)+`.`,1)):n.value.state===`ready`?u.value===`board`?(W(),K(l_,{key:3,project:e.id,columns:n.value.columns,selected:f.value,details:p.value,onToggle:r[0]||=e=>f.value=f.value===e?void 0:e},null,8,[`project`,`columns`,`selected`,`details`])):u.value===`specs`?(W(),G(`div`,mv,[a.value===void 0?(W(),G(`p`,hv,`Reading the specs…`)):a.value===`not-connected`?(W(),G(`p`,gv,`No connected project is called `+N(e.id)+`.`,1)):a.value.state===`ready`?a.value.specs.length===0?(W(),G(`p`,vv,[...r[5]||=[Y(` No specs in this project. A spec is written with the `,-1),q(`code`,null,`jig-idea`,-1),Y(` skill and kept in `,-1),q(`code`,null,`.ai/specs/`,-1),Y(`. `,-1)]])):(W(),G(`div`,yv,[(W(!0),G(H,null,pa(a.value.specs,t=>(W(),K(rv,{key:t.id,spec:t,project:e.id,live:g.value},null,8,[`spec`,`project`,`live`]))),128))])):(W(),G(`p`,_v,N(z(qf)(a.value)),1))])):(W(),K(D_,{key:5,project:e.id,columns:n.value.columns,selected:f.value,details:p.value,onSelect:r[1]||=e=>f.value=e},null,8,[`project`,`columns`,`selected`,`details`])):(W(),G(`p`,pv,N(z(qf)(n.value)),1))]))}}),Sv={class:`font-semibold`},Cv={key:0,class:`font-normal`},wv={key:0,class:`text-muted-foreground`},Tv={class:`text-foreground`},Ev=[`href`],Dv=V({__name:`AttentionItem`,props:{item:{}},setup(e){return(t,n)=>(W(),G(`div`,{class:M(z(ep).attention)},[q(`p`,Sv,[Y(N(e.item.title),1),e.item.subject.id?(W(),G(`span`,Cv,` — `+N(e.item.subject.id),1)):X(``,!0)]),e.item.detail?(W(),G(`p`,wv,N(e.item.detail),1)):X(``,!0),q(`p`,Tv,[Y(N(e.item.todo)+` `,1),z(Jf)(e.item.url)?(W(),G(`a`,{key:0,href:z(Jf)(e.item.url),target:`_blank`,rel:`noopener noreferrer`,class:`inline-flex items-center gap-1 underline underline-offset-2`},[Y(N(e.item.kind.startsWith(`pull-request`)?`Open pull request`:`Open link`),1),J(z(Dp),{class:`size-3`})],8,Ev)):X(``,!0)])],2))}}),Ov={class:`mx-auto flex max-w-3xl flex-col gap-4 p-4`},kv={class:`flex items-center gap-3`},Av={class:`text-sm font-bold break-all`},jv={key:0,class:`text-muted-foreground`},Mv={key:1,role:`alert`,class:`text-destructive`},Nv={key:2,role:`alert`,class:`text-destructive`},Pv={key:3},Fv={key:0},Iv={key:2,"aria-labelledby":`needs-you`,class:`flex flex-col gap-3`},Lv={key:3,"aria-labelledby":`flags`,class:`flex flex-col gap-2`},Rv={class:`flex flex-wrap gap-2`},zv={"aria-labelledby":`actions`,class:`flex flex-col gap-2`},Bv=V({__name:`TaskView`,props:{project:{},task:{}},setup(e){let t=e,n=R(),r=tg(()=>Kf(t.project,t.task),e=>n.value=e),i=Q(()=>typeof n.value==`object`&&n.value.state===`ready`?Cg(n.value):void 0);return ea(Zf(e=>(e===void 0||e===t.project)&&void r())),(t,r)=>{let a=sa(`RouterLink`);return W(),G(`div`,Ov,[J(a,{to:`/projects/${encodeURIComponent(e.project)}`,class:`inline-flex items-center gap-1 self-start text-muted-foreground hover:text-foreground`},{default:B(()=>[J(z(xp),{class:`size-3`}),Y(`board of `+N(e.project),1)]),_:1},8,[`to`]),q(`div`,kv,[q(`h1`,Av,N(e.task),1),typeof n.value==`object`&&n.value.state===`ready`&&n.value.class?(W(),K(z(yg),{key:0,variant:`outline`},{default:B(()=>[Y(N(n.value.class),1)]),_:1})):X(``,!0)]),n.value===void 0?(W(),G(`p`,jv,`Reading the task…`)):n.value===`not-connected`?(W(),G(`p`,Mv,`No connected project is called `+N(e.project)+`.`,1)):n.value===`not-found`?(W(),G(`p`,Nv,N(e.project)+` has no live task called `+N(e.task)+`. A finished task is not shown. `,1)):n.value.state===`ready`?(W(),G(H,{key:4},[n.value.goal?(W(),G(`p`,Fv,N(n.value.goal),1)):X(``,!0),i.value?(W(),G(`p`,{key:1,class:M(z(ep)[i.value.tone])},N(i.value.text),3)):X(``,!0),J(Jg,{details:n.value,class:`border-y py-3`},null,8,[`details`]),n.value.attention.length>0?(W(),G(`section`,Iv,[r[0]||=q(`h2`,{id:`needs-you`,class:`font-semibold tracking-wider uppercase`},`Needs you`,-1),(W(!0),G(H,null,pa(n.value.attention,(e,t)=>(W(),K(Dv,{key:t,item:e},null,8,[`item`]))),128))])):X(``,!0),n.value.housekeepingFlags.length>0?(W(),G(`section`,Lv,[r[1]||=q(`h2`,{id:`flags`,class:`font-semibold tracking-wider uppercase`},`Housekeeping flags`,-1),q(`ul`,Rv,[(W(!0),G(H,null,pa(n.value.housekeepingFlags,e=>(W(),G(`li`,{key:e},[J(z(yg),{variant:`secondary`},{default:B(()=>[Y(N(e),1)]),_:2},1024)]))),128))])])):X(``,!0),q(`section`,zv,[r[2]||=q(`h2`,{id:`actions`,class:`font-semibold tracking-wider uppercase`},`What Jig offers now`,-1),J(Ag,{actions:n.value.actions},null,8,[`actions`]),r[3]||=q(`p`,{class:`text-muted-foreground`},`Run a command in the project; this page follows what changes.`,-1)])],64)):(W(),G(`p`,Pv,N(z(qf)(n.value)),1))])}}}),Vv=V({__name:`Input`,props:{defaultValue:{},modelValue:{},class:{type:[Boolean,null,String,Object,Array]}},emits:[`update:modelValue`],setup(e,{emit:t}){let n=e,r=vg(n,`modelValue`,t,{passive:!0,defaultValue:n.defaultValue});return(e,t)=>hr((W(),G(`input`,{"onUpdate:modelValue":t[0]||=e=>L(r)?r.value=e:null,"data-slot":`input`,class:M(z(Am)(`h-8 w-full min-w-0 rounded-none border border-input bg-transparent px-2.5 py-1 text-xs transition-colors outline-none file:inline-flex file:h-6 file:border-0 file:bg-transparent file:text-xs file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-1 focus-visible:ring-ring/50 disabled:pointer-events-none disabled:cursor-not-allowed disabled:bg-input/50 disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-1 aria-invalid:ring-destructive/20 md:text-xs dark:bg-input/30 dark:disabled:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40`,n.class))},null,2)),[[Jl,z(r)]])}}),Hv=V({__name:`Label`,props:{for:{},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(e){let t=e,n=gg(t,`class`);return(e,r)=>(W(),K(z(Uh),Ds({"data-slot":`label`},z(n),{class:z(Am)(`flex items-center gap-2 text-xs leading-none select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50`,t.class)}),{default:B(()=>[ha(e.$slots,`default`)]),_:3},16,[`class`]))}}),Uv={class:`flex gap-2`},Wv={key:0,id:`connect-refusal`,role:`alert`,class:`text-destructive`},Gv=V({__name:`ConnectForm`,props:Fa({busy:{type:Boolean},refusal:{}},{modelValue:{default:``},modelModifiers:{}}),emits:Fa([`connect`],[`update:modelValue`]),setup(e){let t=ro(e,`modelValue`);return(n,r)=>(W(),G(`form`,{class:`flex flex-col gap-2`,onSubmit:r[1]||=lu(e=>n.$emit(`connect`,t.value),[`prevent`])},[J(z(Hv),{for:`project-path`},{default:B(()=>[...r[2]||=[Y(`Project path`,-1)]]),_:1}),q(`div`,Uv,[J(z(Vv),{id:`project-path`,modelValue:t.value,"onUpdate:modelValue":r[0]||=e=>t.value=e,required:``,placeholder:`/path/to/project`,"aria-invalid":e.refusal!==void 0,"aria-describedby":`connect-refusal`},null,8,[`modelValue`,`aria-invalid`]),J(z(Yh),{type:`submit`,disabled:e.busy},{default:B(()=>[Y(N(e.busy?`Connecting…`:`Connect`),1)]),_:1},8,[`disabled`])]),e.refusal?(W(),G(`p`,Wv,N(e.refusal),1)):X(``,!0)],32))}}),Kv={class:`flex items-center gap-3`},qv=[`id`],Jv={class:`text-muted-foreground`},Yv={key:0,class:`text-muted-foreground`},Xv=[`aria-label`],Zv={key:2,class:`text-muted-foreground`},Qv=V({__name:`ProjectCard`,props:{project:{}},emits:[`disconnect`],setup(e){return(t,n)=>{let r=sa(`RouterLink`);return W(),K(z(Sg),{class:`gap-3 px-4 py-4`,"aria-labelledby":`project-${e.project.id}`,role:`article`},{default:B(()=>[q(`div`,Kv,[q(`h2`,{id:`project-${e.project.id}`,class:`shrink-0 text-sm font-bold`},N(e.project.id),9,qv),q(`span`,Jv,N(z(qf)(e.project)),1),J(z(Yh),{variant:`ghost`,size:`xs`,class:`ml-auto`,onClick:n[0]||=e=>t.$emit(`disconnect`)},{default:B(()=>[...n[1]||=[Y(`Disconnect`,-1)]]),_:1})]),e.project.state===`ready`?(W(),G(H,{key:0},[q(`p`,null,[Y(N(e.project.counts.active)+` active · `+N(e.project.counts.paused)+` paused · `+N(e.project.counts.ready)+` ready · `,1),J(r,{to:`/projects/${encodeURIComponent(e.project.id)}`,class:`underline underline-offset-2`},{default:B(()=>[...n[2]||=[Y(`Open board`,-1)]]),_:1},8,[`to`])]),e.project.attention.length===0?(W(),G(`p`,Yv,`Nothing needs you here.`)):(W(),G(`ul`,{key:1,class:`flex flex-col gap-3`,"aria-label":`What needs you in ${e.project.id}`},[(W(!0),G(H,null,pa(e.project.attention,(e,t)=>(W(),G(`li`,{key:t},[J(Dv,{item:e},null,8,[`item`])]))),128))],8,Xv)),e.project.housekeepingStale?(W(),G(`p`,Zv,[...n[3]||=[Y(` Pull request facts may be out of date: run `,-1),q(`code`,null,`jig housekeeping`,-1),Y(` in the project. `,-1)]])):X(``,!0)],64)):X(``,!0)]),_:1},8,[`aria-labelledby`])}}}),$v={class:`mx-auto flex max-w-4xl flex-col gap-4 p-4`},ey={key:0,class:`text-muted-foreground`},ty={key:1,class:`text-muted-foreground`},ny=V({__name:`WorkspaceView`,setup(e){let t=R(),n=R(``),r=R(),i=R(!1),a=tg(async()=>(await(await Gf(()=>Uf.api.workspace.$get()))?.json())?.projects,e=>t.value=e);async function o(){i.value=!0,r.value=void 0;let e=await Gf(()=>Uf.api.projects.$post({json:{path:n.value}}));i.value=!1,e&&(e.status!==200&&e.status!==201?r.value=(await e.json()).error.message:(n.value=``,await a()))}async function s(e){await Gf(()=>Uf.api.projects[`:id`].$delete({param:{id:encodeURIComponent(e)}}))&&await a()}return ea(Zf(()=>void a())),(e,a)=>(W(),G(`div`,$v,[a[1]||=q(`h1`,{class:`font-semibold tracking-wider uppercase`},`Projects`,-1),t.value===void 0?(W(),G(`p`,ey,`Reading projects…`)):t.value.length===0?(W(),G(`p`,ty,` No projects yet. Paste the path of a project's main checkout below. `)):(W(!0),G(H,{key:2},pa(t.value,e=>(W(),K(Qv,{key:e.id,project:e,onDisconnect:t=>s(e.id)},null,8,[`project`,`onDisconnect`]))),128)),J(Gv,{modelValue:n.value,"onUpdate:modelValue":a[0]||=e=>n.value=e,busy:i.value,refusal:r.value,class:`mt-2 border-t pt-4`,onConnect:o},null,8,[`modelValue`,`busy`,`refusal`])]))}}),ry=`modulepreload`,iy=function(e){return`/`+e},ay={},oy=function(e){return e.pathname.endsWith(`.css`)},sy=function(e,t,n){if(t in e)return e[t];let r=n();if(!r){e[t]=void 0;return}let i=r.then(()=>{e[t]=void 0},n=>{throw e[t]=void 0,n});return e[t]=i,i},cy=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e,i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function s(e){return import.meta.resolve?new URL(import.meta.resolve(e)):new URL(e,import.meta.url)}r=o(t.map(t=>{t=iy(t,n);let r=s(t),i=oy(r);return sy(ay,r.href,()=>{if(e===void 0){e={all:new Set,styles:new Set};let t=document.getElementsByTagName(`link`);for(let n=t.length-1;n>=0;n--){let r=t[n];e.all.add(r.href),r.rel===`stylesheet`&&e.styles.add(r.href)}}if((i?e.styles:e.all).has(r.href))return;let t=document.createElement(`link`);if(t.rel=i?`stylesheet`:ry,i||(t.as=`script`),t.crossOrigin=``,t.href=r.href,a&&t.setAttribute(`nonce`,a),document.head.appendChild(t),i)return new Promise((e,n)=>{t.addEventListener(`load`,e),t.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${r}`)))})})}).filter(e=>e!==void 0))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})},ly=kf({history:Xd(),routes:[{path:`/`,component:ny},{path:`/projects/:id`,component:xv,props:!0},{path:`/projects/:id/tasks/:task`,component:Bv,props:e=>({project:e.params.id,task:e.params.task})},{path:`/canvas`,component:()=>cy(()=>import(`./CanvasView-4RWri2ak.js`),[])},{path:`/:rest(.*)*`,redirect:`/`}]});yu(cg).use(ly).mount(`#app`);export{Ep as A,Y as B,yg as C,Yh as D,eg as E,Q as F,W as G,V as H,q as I,B as J,pa as K,K as L,ep as M,$f as N,gh as O,H as P,N as Q,X as R,Sg as S,dg as T,xs as U,J as V,Ds as W,M as X,z as Y,_e as Z,r_ as _,Dv as a,Ag as b,rv as c,D_ as d,__ as f,l_ as g,u_ as h,Vv as i,lp as j,Am as k,B_ as l,d_ as m,Gv as n,ov as o,f_ as p,ha as q,Hv as r,iv as s,Qv as t,j_ as u,Qg as v,gg as w,Eg as x,Jg as y,G as z};
|