lrigamai commited on
Commit
cd7a926
·
1 Parent(s): 830f2f5

Cache preview images in Cache Storage, keyed by content hash

Browse files

Hub resolve/ URLs are no-store and redirect to a fresh signed URL each time, so the HTTP cache never reuses them. Images are now stored per content hash from the dataset listing and pruned when replaced.

dist/assets/index-D7W9wkqk.js DELETED
@@ -1,2 +0,0 @@
1
- (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 e(e){let t=Object.create(null);for(let n of e.split(`,`))t[n]=1;return e=>e in t}var t={},n=[],r=()=>{},i=()=>!1,a=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),o=e=>e.startsWith(`onUpdate:`),s=Object.assign,c=(e,t)=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)},l=Object.prototype.hasOwnProperty,u=(e,t)=>l.call(e,t),d=Array.isArray,f=e=>x(e)===`[object Map]`,p=e=>x(e)===`[object Set]`,m=e=>x(e)===`[object Date]`,h=e=>typeof e==`function`,g=e=>typeof e==`string`,_=e=>typeof e==`symbol`,v=e=>typeof e==`object`&&!!e,y=e=>(v(e)||h(e))&&h(e.then)&&h(e.catch),b=Object.prototype.toString,x=e=>b.call(e),S=e=>x(e).slice(8,-1),C=e=>x(e)===`[object Object]`,w=e=>g(e)&&e!==`NaN`&&e[0]!==`-`&&``+parseInt(e,10)===e,ee=e(`,key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted`),te=e=>{let t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},ne=/-\w/g,T=te(e=>e.replace(ne,e=>e.slice(1).toUpperCase())),re=/\B([A-Z])/g,E=te(e=>e.replace(re,`-$1`).toLowerCase()),ie=te(e=>e.charAt(0).toUpperCase()+e.slice(1)),ae=te(e=>e?`on${ie(e)}`:``),D=(e,t)=>!Object.is(e,t),oe=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},O=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},se=e=>{let t=parseFloat(e);return isNaN(t)?e:t},ce,le=()=>ce||=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:{};function ue(e){if(d(e)){let t={};for(let n=0;n<e.length;n++){let r=e[n],i=g(r)?me(r):ue(r);if(i)for(let e in i)t[e]=i[e]}return t}if(g(e)||v(e))return e}var de=/;(?![^(]*\))/g,fe=/:([^]+)/,pe=/"(?:[^"\\]|\\[^])*"|'(?:[^'\\]|\\[^])*'|\\[^]|\/\*[^]*?\*\//g;function me(e){let t={};return e.replace(pe,e=>e.startsWith(`/*`)?``:e).split(de).forEach(e=>{if(e){let n=e.split(fe);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function k(e){let t=``;if(g(e))t=e;else if(d(e))for(let n=0;n<e.length;n++){let r=k(e[n]);r&&(t+=r+` `)}else if(v(e))for(let n in e)e[n]&&(t+=n+` `);return t.trim()}var he=e(`itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,playsinline,readonly`);function ge(e){return!!e||e===``}function _e(e,t,n){if(e.length!==t.length)return!1;let r=!0;for(let i=0;r&&i<e.length;i++)r=xe(e[i],t[i],n);return r}function ve(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]&&xe(t,r[a],n)){e=a;break}if(e<0)return!1;i[e]=1}return!0}function ye(e,t,n){let r=f(e),i=f(t);if(r||i||(r=p(e),i=p(t),r||i))return r&&i?ve(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||!xe(e[r],t[r],n))return!1}return String(e)===String(t)}function be(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 xe(e,t,n){if(e===t)return!0;let r=m(e),i=m(t);return r||i?r&&i?e.getTime()===t.getTime():!1:(r=_(e),i=_(t),r||i?e===t:(r=d(e),i=d(t),r||i?r&&i?be(e,t,n,_e):!1:(r=v(e),i=v(t),r||i?!r||!i?!1:be(e,t,n,ye):String(e)===String(t))))}var Se=e=>!!(e&&e.__v_isRef===!0),A=e=>g(e)?e:e==null?``:d(e)||v(e)&&(e.toString===b||!h(e.toString))?Se(e)?A(e.value):JSON.stringify(e,Ce,2):String(e),Ce=(e,t)=>Se(t)?Ce(e,t.value):f(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n],r)=>(e[we(t,r)+` =>`]=n,e),{})}:p(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>we(e))}:_(t)?we(t):v(t)&&!d(t)&&!C(t)?String(t):t,we=(e,t=``)=>_(e)?`Symbol(${e.description??t})`:e,j,Te=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&&j&&(j.active?(this.parent=j,this.index=(j.scopes||(j.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=j;try{return j=this,e()}finally{j=t}}}on(){++this._on===1&&(this.prevScope=j,j=this)}off(){if(this._on>0&&--this._on===0){if(j===this)j=this.prevScope;else{let e=j;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 Ee(){return j}var M,De=new WeakSet,Oe=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,j&&(j.active?j.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,De.has(this)&&(De.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Me(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,We(this),Fe(this);let e=M,t=N;M=this,N=!0;try{return this.fn()}finally{Ie(this),M=e,N=t,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)ze(e);this.deps=this.depsTail=void 0,We(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?De.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Le(this)&&this.run()}get dirty(){return Le(this)}},ke=0,Ae,je;function Me(e,t=!1){e.flags|=8,t?(e.next=je,je=e):(e.next=Ae,Ae=e)}function Ne(){ke++}function Pe(){if(--ke>0)return;if(je){let e=je;for(je=void 0;e;){let t=e.next;e.next=void 0,e.flags&=-9,e=t}}let e;for(;Ae;){let t=Ae;for(Ae=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 Fe(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Ie(e){let t,n=e.depsTail,r=n;for(;r;){let e=r.prevDep;r.version===-1?(r===n&&(n=e),ze(r),Be(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=e}e.deps=t,e.depsTail=n}function Le(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Re(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Re(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Ge)||(e.globalVersion=Ge,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Le(e))))return;e.flags|=2;let t=e.dep,n=M,r=N;M=e,N=!0;try{Fe(e);let n=e.fn(e._value);(t.version===0||D(n,e._value))&&(e.flags|=128,e._value=n,t.version++)}catch(e){throw t.version++,e}finally{M=n,N=r,Ie(e),e.flags&=-3}}function ze(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)ze(e,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Be(e){let{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}var N=!0,Ve=[];function He(){Ve.push(N),N=!1}function Ue(){let e=Ve.pop();N=e===void 0||e}function We(e){let{cleanup:t}=e;if(e.cleanup=void 0,t){let e=M;M=void 0;try{t()}finally{M=e}}}var Ge=0,Ke=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}},qe=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(!M||!N||M===this.computed)return;let t=this.activeLink;if(t===void 0||t.sub!==M)t=this.activeLink=new Ke(M,this),M.deps?(t.prevDep=M.depsTail,M.depsTail.nextDep=t,M.depsTail=t):M.deps=M.depsTail=t,Je(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=M.depsTail,t.nextDep=void 0,M.depsTail.nextDep=t,M.depsTail=t,M.deps===t&&(M.deps=e)}return t}trigger(e){this.version++,Ge++,this.notify(e)}notify(e){Ne();try{for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{Pe()}}};function Je(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)Je(e)}let n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}var Ye=new WeakMap,Xe=Symbol(``),Ze=Symbol(``),Qe=Symbol(``);function P(e,t,n){if(N&&M){let t=Ye.get(e);t||Ye.set(e,t=new Map);let r=t.get(n);r||(t.set(n,r=new qe),r.map=t,r.key=n),r.track()}}function $e(e,t,n,r,i,a){let o=Ye.get(e);if(!o){Ge++;return}let s=e=>{e&&e.trigger()};if(Ne(),t===`clear`)o.forEach(s);else{let i=d(e),a=i&&w(n);if(i&&n===`length`){let e=Number(r);o.forEach((t,n)=>{(n===`length`||n===Qe||!_(n)&&n>=e)&&s(t)})}else switch((n!==void 0||o.has(void 0))&&s(o.get(n)),a&&s(o.get(Qe)),t){case`add`:i?a&&s(o.get(`length`)):(s(o.get(Xe)),f(e)&&s(o.get(Ze)));break;case`delete`:i||(s(o.get(Xe)),f(e)&&s(o.get(Ze)));break;case`set`:f(e)&&s(o.get(Xe))}}Pe()}function et(e){let t=I(e);return t===e||(P(t,`iterate`,Qe),F(e))?t:zt(e)?Rt(e)?t.map(e=>Ht(L(e))):t.map(Ht):t.map(L)}function tt(e){return P(e=I(e),`iterate`,Qe),e}function nt(e,t){return zt(e)?Ht(Rt(e)?L(t):t):L(t)}var rt={__proto__:null,[Symbol.iterator](){return it(this,Symbol.iterator,e=>nt(this,e))},concat(...e){return et(this).concat(...e.map(e=>d(e)?et(e):e))},entries(){return it(this,`entries`,e=>(e[1]=nt(this,e[1]),e))},every(e,t){return st(this,`every`,e,t,void 0,arguments)},filter(e,t){return st(this,`filter`,e,t,e=>e.map(e=>nt(this,e)),arguments)},find(e,t){return st(this,`find`,e,t,e=>nt(this,e),arguments)},findIndex(e,t){return st(this,`findIndex`,e,t,void 0,arguments)},findLast(e,t){return st(this,`findLast`,e,t,e=>nt(this,e),arguments)},findLastIndex(e,t){return st(this,`findLastIndex`,e,t,void 0,arguments)},forEach(e,t){return st(this,`forEach`,e,t,void 0,arguments)},includes(...e){return lt(this,`includes`,e)},indexOf(...e){return lt(this,`indexOf`,e)},join(e){return et(this).join(e)},lastIndexOf(...e){return lt(this,`lastIndexOf`,e)},map(e,t){return st(this,`map`,e,t,void 0,arguments)},pop(){return ut(this,`pop`)},push(...e){return ut(this,`push`,e)},reduce(e,...t){return ct(this,`reduce`,e,t)},reduceRight(e,...t){return ct(this,`reduceRight`,e,t)},shift(){return ut(this,`shift`)},some(e,t){return st(this,`some`,e,t,void 0,arguments)},splice(...e){return ut(this,`splice`,e)},toReversed(){return et(this).toReversed()},toSorted(e){return et(this).toSorted(e)},toSpliced(...e){return et(this).toSpliced(...e)},unshift(...e){return ut(this,`unshift`,e)},values(){return it(this,`values`,e=>nt(this,e))}};function it(e,t,n){let r=tt(e),i=r[t],a=i.call(r);if(r!==e&&!F(e)){if(a[Symbol.toStringTag]===`Array Iterator`){let e=Object.create(Object.getPrototypeOf(a));return e.next=()=>at(a.next(),n),i!==ot[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=()=>at(a._next(),n)}return a}function at(e,t){return e.done||(e.value=t(e.value)),e}var ot=Array.prototype;function st(e,t,n,r,i,a){let o=tt(e),s=o!==e&&!F(e),c=o[t];if(c!==ot[t]){let t=c.apply(e,a);return s?L(t):t}let l=n;o!==e&&(s?l=function(t,r){return n.call(this,nt(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 ct(e,t,n,r){let i=tt(e),a=i!==e&&!F(e),o=n,s=!1;i!==e&&(a?(s=r.length===0,o=function(t,r,i){return s&&(s=!1,t=nt(e,t)),n.call(this,t,nt(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?nt(e,c):c}function lt(e,t,n){let r=I(e);P(r,`iterate`,Qe);let i=r[t](...n);return(i===-1||i===!1)&&Bt(n[0])?(n[0]=I(n[0]),r[t](...n)):i}function ut(e,t,n=[]){He(),Ne();let r=I(e)[t].apply(e,n);return Pe(),Ue(),r}var dt=e(`__proto__,__v_isRef,__isVue`),ft=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!==`arguments`&&e!==`caller`).map(e=>Symbol[e]).filter(_));function pt(e){_(e)||(e=String(e));let t=I(this);return P(t,`has`,e),t.hasOwnProperty(e)}var mt=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?Mt:jt:i?At:kt).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;let a=d(e);if(!r){let e;if(a&&(e=rt[t]))return e;if(t===`hasOwnProperty`)return pt}let o=Reflect.get(e,t,R(e)?e:n);if((_(t)?ft.has(t):dt(t))||(r||P(e,`get`,t),i))return o;if(R(o)){let e=a&&w(t)?o:o.value;return r&&v(e)?It(e):e}return v(o)?r?It(o):Pt(o):o}},ht=class extends mt{constructor(e=!1){super(!1,e)}set(e,t,n,r){let i=e[t],a=d(e)&&w(t);if(!this._isShallow){let e=zt(i);if(!F(n)&&!zt(n)&&(i=I(i),n=I(n)),!a&&R(i)&&!R(n))return e||(i.value=n),!0}let o=a?Number(t)<e.length:u(e,t),s=Reflect.set(e,t,n,R(e)?e:r);return e===I(r)&&s&&(o?D(n,i)&&$e(e,`set`,t,n,i):$e(e,`add`,t,n)),s}deleteProperty(e,t){let n=u(e,t),r=e[t],i=Reflect.deleteProperty(e,t);return i&&n&&$e(e,`delete`,t,void 0,r),i}has(e,t){let n=Reflect.has(e,t);return _(t)&&ft.has(t)||P(e,`has`,t),n}ownKeys(e){return P(e,`iterate`,d(e)?`length`:Xe),Reflect.ownKeys(e)}},gt=class extends mt{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}},_t=new ht,vt=new gt,yt=new ht(!0),bt=e=>e,xt=e=>Reflect.getPrototypeOf(e);function St(e,t,n){return function(...r){let i=this.__v_raw,a=I(i),o=f(a),c=e===`entries`||e===Symbol.iterator&&o,l=e===`keys`&&o,u=i[e](...r),d=n?bt:t?Ht:L;return!t&&P(a,`iterate`,l?Ze:Xe),s(Object.create(u),{next(){let{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:c?[d(e[0]),d(e[1])]:d(e),done:t}}})}}function Ct(e){return function(...t){return e===`delete`?!1:e===`clear`?void 0:this}}function wt(e,t){let n={get(n){let r=this.__v_raw,i=I(r),a=I(n);e||(D(n,a)&&P(i,`get`,n),P(i,`get`,a));let{has:o}=xt(i),s=t?bt:e?Ht:L;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&&P(I(t),`iterate`,Xe),t.size},has(t){let n=this.__v_raw,r=I(n),i=I(t);return e||(D(t,i)&&P(r,`has`,t),P(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?bt:e?Ht:L;return!e&&P(o,`iterate`,Xe),a.forEach((e,t)=>n.call(r,s(e),s(t),i))}};return s(n,e?{add:Ct(`add`),set:Ct(`set`),delete:Ct(`delete`),clear:Ct(`clear`)}:{add(e){let n=I(this),r=xt(n),i=I(e),a=!t&&!F(e)&&!zt(e)?i:e;return r.has.call(n,a)||D(e,a)&&r.has.call(n,e)||D(i,a)&&r.has.call(n,i)||(n.add(a),$e(n,`add`,a,a)),this},set(e,n){t||F(n)||zt(n)||(n=I(n));let r=I(this),{has:i,get:a}=xt(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?D(n,s)&&$e(r,`set`,e,n,s):$e(r,`add`,e,n),this},delete(e){let t=I(this),{has:n,get:r}=xt(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&&$e(t,`delete`,e,void 0,a),o},clear(){let e=I(this),t=e.size!==0,n=e.clear();return t&&$e(e,`clear`,void 0,void 0,void 0),n}}),[`keys`,`values`,`entries`,Symbol.iterator].forEach(r=>{n[r]=St(r,e,t)}),n}function Tt(e,t){let n=wt(e,t);return(r,i,a)=>i===`__v_isReactive`?!e:i===`__v_isReadonly`?e:i===`__v_isShallow`?t:i===`__v_raw`?r:Reflect.get(u(n,i)&&i in r?n:r,i,a)}var Et={get:Tt(!1,!1)},Dt={get:Tt(!1,!0)},Ot={get:Tt(!0,!1)},kt=new WeakMap,At=new WeakMap,jt=new WeakMap,Mt=new WeakMap;function Nt(e){switch(e){case`Object`:case`Array`:return 1;case`Map`:case`Set`:case`WeakMap`:case`WeakSet`:return 2;default:return 0}}function Pt(e){return zt(e)?e:Lt(e,!1,_t,Et,kt)}function Ft(e){return Lt(e,!1,yt,Dt,At)}function It(e){return Lt(e,!0,vt,Ot,jt)}function Lt(e,t,n,r,i){if(!v(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=Nt(S(e));if(o===0)return e;let s=new Proxy(e,o===2?r:n);return i.set(e,s),s}function Rt(e){return zt(e)?Rt(e.__v_raw):!!(e&&e.__v_isReactive)}function zt(e){return!!(e&&e.__v_isReadonly)}function F(e){return!!(e&&e.__v_isShallow)}function Bt(e){return e?!!e.__v_raw:!1}function I(e){let t=e&&e.__v_raw;return t?I(t):e}function Vt(e){return!u(e,`__v_skip`)&&Object.isExtensible(e)&&O(e,`__v_skip`,!0),e}var L=e=>v(e)?Pt(e):e,Ht=e=>v(e)?It(e):e;function R(e){return e?e.__v_isRef===!0:!1}function Ut(e){return Gt(e,!1)}function Wt(e){return Gt(e,!0)}function Gt(e,t){return R(e)?e:new Kt(e,t)}var Kt=class{constructor(e,t){this.dep=new qe,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:I(e),this._value=t?e:L(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){let t=this._rawValue,n=this.__v_isShallow||F(e)||zt(e);e=n?e:I(e),D(e,t)&&(this._rawValue=e,this._value=n?e:L(e),this.dep.trigger())}};function z(e){return R(e)?e.value:e}var qt={get:(e,t,n)=>t===`__v_raw`?e:z(Reflect.get(e,t,n)),set:(e,t,n,r)=>{let i=e[t];return R(i)&&!R(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function Jt(e){return Rt(e)?e:new Proxy(e,qt)}var Yt=class{constructor(e){this.__v_isRef=!0,this._value=void 0;let t=this.dep=new qe,{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 Xt(e){return new Yt(e)}var Zt=class{constructor(e,t,n){this.fn=e,this.setter=t,this._value=void 0,this.dep=new qe(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Ge-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&M!==this)return Me(this,!0),!0}get value(){let e=this.dep.track();return Re(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}};function Qt(e,t,n=!1){let r,i;return h(e)?r=e:(r=e.get,i=e.set),new Zt(r,i,n)}var $t={},en=new WeakMap,tn=void 0;function nn(e,t=!1,n=tn){if(n){let t=en.get(n);t||en.set(n,t=[]),t.push(e)}}function rn(e,n,i=t){let{immediate:a,deep:o,once:s,scheduler:l,augmentJob:u,call:f}=i,p=e=>o?e:F(e)||o===!1||o===0?an(e,1):an(e),m,g,_,v,y=!1,b=!1;if(R(e)?(g=()=>e.value,y=F(e)):Rt(e)?(g=()=>p(e),y=!0):d(e)?(b=!0,y=e.some(e=>Rt(e)||F(e)),g=()=>e.map(e=>{if(R(e))return e.value;if(Rt(e))return p(e);if(h(e))return f?f(e,2):e()})):g=h(e)?n?f?()=>f(e,2):e:()=>{if(_){He();try{_()}finally{Ue()}}let t=tn;tn=m;try{return f?f(e,3,[v]):e(v)}finally{tn=t}}:r,n&&o){let e=g,t=o===!0?1/0:o;g=()=>an(e(),t)}let x=Ee(),S=()=>{m.stop(),x&&x.active&&c(x.effects,m)};if(s&&n){let e=n;n=(...t)=>{try{return e(...t)}finally{S()}}}let C=b?Array(e.length).fill($t):$t,w=e=>{if(m.flags&1&&(m.dirty||e)){if(n){let t=m.run();if(e||o||y||(b?t.some((e,t)=>D(e,C[t])):D(t,C))){let e=tn;He();try{_&&_(),tn=m;let e=[t,C===$t?void 0:b&&C[0]===$t?[]:C,v];C=t,f?f(n,3,e):n(...e)}finally{tn=e,Ue()}}}else m.run()}};return u&&u(w),m=new Oe(g),m.scheduler=l?()=>l(w,!1):w,v=e=>nn(e,!1,m),_=m.onStop=()=>{let e=en.get(m);if(e){if(f)f(e,4);else for(let t of e)t();en.delete(m)}},n?a?w(!0):C=m.run():l?l(w.bind(null,!0),!0):m.run(),S.pause=m.pause.bind(m),S.resume=m.resume.bind(m),S.stop=S,S}function an(e,t=1/0,n){if(t<=0||!v(e)||e.__v_skip||(n||=new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,R(e))an(e.value,t,n);else if(d(e))for(let r=0;r<e.length;r++)an(e[r],t,n);else if(p(e)||f(e))e.forEach(e=>{an(e,t,n)});else if(C(e)){for(let r in e)an(e[r],t,n);for(let r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&an(e[r],t,n)}return e}function on(e,t,n,r){try{return r?e(...r):e()}catch(e){cn(e,t,n)}}function sn(e,t,n,r){if(h(e)){let i=on(e,t,n,r);return i&&y(i)&&i.catch(e=>{cn(e,t,n)}),i}if(d(e)){let i=[];for(let a=0;a<e.length;a++)i.push(sn(e[a],t,n,r));return i}}function cn(e,n,r,i=!0){let a=n?n.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:s}=n&&n.appContext.config||t;if(n){let t=n.parent,i=n.proxy,a=`https://vuejs.org/error-reference/#runtime-${r}`;for(;t;){let n=t.ec;if(n){for(let t=0;t<n.length;t++)if(n[t](e,i,a)===!1)return}t=t.parent}if(o){He(),on(o,null,10,[e,i,a]),Ue();return}}ln(e,r,a,i,s)}function ln(e,t,n,r=!0,i=!1){if(i)throw e;console.error(e)}var B=[],V=-1,un=[],dn=null,fn=0,pn=Promise.resolve(),mn=null;function hn(e){let t=mn||pn;return e?t.then(this?e.bind(this):e):t}function gn(e){let t=V+1,n=B.length;for(;t<n;){let r=t+n>>>1,i=B[r],a=wn(i);a<e||a===e&&i.flags&2?t=r+1:n=r}return t}function _n(e){if(!(e.flags&1)){let t=wn(e),n=B[B.length-1];!n||!(e.flags&2)&&t>=wn(n)?B.push(e):B.splice(gn(t),0,e),e.flags|=1,vn()}}function vn(){mn||=pn.then(Tn)}function yn(e){if(!d(e))dn&&e.id===-1?dn.splice(fn+1,0,e):e.flags&1||(un.push(e),e.flags|=1);else for(let t=0;t<e.length;t++)un.push(e[t]);vn()}function bn(e,t,n,r=V+1){for(;r<B.length;r++){let n=B[r];if(n&&n.flags&2){if(e&&n.id!==e.uid||t!==void 0&&!(n.id>=t))continue;B.splice(r,1),r=e?r-1:V,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function xn(e,t,n=0){if(un.length){let e=un,r=0;if(t){e=[];for(let i=0;i<un.length;i++){let a=un[i];(a.i===void 0?t.has(a):!a.i||a.i.uid<n)?un[r++]=a:e.push(a)}}let i=[...new Set(e)].sort((e,t)=>wn(e)-wn(t));if(un.length=r,dn){for(let e=0;e<i.length;e++)dn.push(i[e]);return}for(dn=i,fn=0;fn<dn.length;fn++){let e=dn[fn];e.flags&4&&(e.flags&=-2),e.flags&8||e(),e.flags&=-2}dn=null,fn=0}}var Sn=!1;function Cn(e,t){if(Sn){e();return}let n=t===void 0?void 0:new Set(un);e(),Sn=!0;try{bn(void 0,t),xn(void 0,n,t)}finally{Sn=!1}}var wn=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Tn(e){try{for(V=0;V<B.length;V++){let e=B[V];e&&!(e.flags&8)&&(e.flags&4&&(e.flags&=-2),on(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2))}}finally{for(;V<B.length;V++){let e=B[V];e&&(e.flags&=-2)}V=-1,B.length=0,xn(e),mn=null,(B.length||un.length)&&Tn(e)}}var H=null,En=null;function Dn(e){let t=H;return H=e,En=e&&e.type.__scopeId||null,t}function On(e,t=H,n){if(!t||e._n)return e;let r=(...n)=>{r._d&&Ri(-1);let i=Dn(t),a=Fi.length,o;try{o=e(...n)}finally{for(let e=Fi.length;e>a;e--)Ii();Dn(i),r._d&&Ri(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function kn(e,n){if(H===null)return e;let r=va(H),i=e.dirs||=[];for(let e=0;e<n.length;e++){let[a,o,s,c=t]=n[e];a&&(h(a)&&(a={mounted:a,updated:a}),a.deep&&an(o),i.push({dir:a,instance:r,value:o,oldValue:void 0,arg:s,modifiers:c}))}return e}function An(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&&(He(),sn(c,n,8,[e.el,s,e,t]),Ue())}}function jn(e,t){if(Q){let n=Q.provides,r=Q.parent&&Q.parent.provides;r===n&&(n=Q.provides=Object.create(r)),n[e]=t}}function Mn(e,t,n=!1){let r=aa();if(r||Hr){let i=Hr?Hr._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&&h(t)?t.call(r&&r.proxy):t}}var Nn=Symbol.for(`v-scx`),Pn=()=>Mn(Nn);function Fn(e,t){return Ln(e,null,{flush:`sync`})}function In(e,t,n){return Ln(e,t,n)}function Ln(e,n,i=t){let{immediate:a,deep:o,flush:c,once:l}=i,u=s({},i),d=n&&a||!n&&c!==`post`,f;if(da){if(c===`sync`){let e=Pn();f=e.__watcherHandles||=[]}else if(!d){let e=()=>{};return e.stop=r,e.resume=r,e.pause=r,e}}let p=Q;u.call=(e,t,n)=>sn(e,p,t,n);let m=!1;c===`post`?u.scheduler=e=>{e.i=p,W(e,p&&p.suspense)}:c!==`sync`&&(m=!0,u.scheduler=(e,t)=>{t?e():_n(e)}),u.augmentJob=e=>{n&&(e.flags|=4),m&&(e.flags|=2,p&&(e.id=p.uid,e.i=p))};let h=rn(e,n,u);return da&&(f?f.push(h):d&&h()),h}function Rn(e,t,n){let r=this.proxy,i=g(e)?e.includes(`.`)?zn(r,e):()=>r[e]:e.bind(r,r),a;h(t)?a=t:(a=t.handler,n=t);let o=ca(this),s=Ln(i,a.bind(r),n);return o(),s}function zn(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 Bn=Symbol(`_vte`),Vn=e=>e.__isTeleport,Hn=Symbol(`_leaveCb`);function Un(e){let t=e[0];if(e.length>1){for(let n of e)if(n.type!==K){t=n;break}}return t}function Wn(e){if(!er(e))return Vn(e.type)&&e.children?Un(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&&h(n.default))return n.default()}}function Gn(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;let n=e.component.subTree;Gn(Vn(n.type)&&Wn(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===G&&d(e.children)){let n=Xr(e.children,!1);n&&Gn(n,t)}}function Kn(e){if(e.component)return Kn(e.component.subTree);if(e.type===G){let t=d(e.children)&&Xr(e.children,!1);return t?Kn(t):void 0}if(e.type!==K)return e}function qn(e,t){return h(e)?s({name:e.name},t,{setup:e}):e}function Jn(e){e.ids=[e.ids[0]+e.ids[2]+++`-`,0,0]}function Yn(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}var Xn=new WeakMap;function Zn(e,n,r,a,o=!1){if(d(e)){e.forEach((e,t)=>Zn(e,n&&(d(n)?n[t]:n),r,a,o));return}if($n(a)&&!o){a.shapeFlag&512&&a.type.__asyncResolved&&a.component.subTree.component&&Zn(e,n,r,a.component.subTree);return}let s=a.shapeFlag&4?va(a.component):a.el,l=o?null:s,{i:f,r:p}=e,m=n&&n.r,_=f.refs===t?f.refs={}:f.refs,v=f.setupState,y=I(v),b=v===t?i:e=>!Yn(_,e)&&u(y,e),x=(e,t)=>!(t&&Yn(_,t));if(m!=null&&m!==p){if(Qn(n),g(m))_[m]=null,b(m)&&(v[m]=null);else if(R(m)){let e=n;x(m,e.k)&&(m.value=null),e.k&&(_[e.k]=null)}}if(h(p))on(p,f,12,[l,_]);else{let t=g(p),n=R(p);if(t||n){let i=()=>{if(e.f){let n=t?b(p)?v[p]:_[p]:x(p)||!e.k?p.value:_[e.k];if(o)d(n)&&c(n,s);else if(d(n))n.includes(s)||n.push(s);else if(t)_[p]=[s],b(p)&&(v[p]=_[p]);else{let t=[s];x(p,e.k)&&(p.value=t),e.k&&(_[e.k]=t)}}else t?(_[p]=l,b(p)&&(v[p]=l)):n&&(x(p,e.k)&&(p.value=l),e.k&&(_[e.k]=l))};if(l){let t=()=>{i(),Xn.delete(e)};t.id=-1,Xn.set(e,t),W(t,r)}else Qn(e),i()}}}function Qn(e){let t=Xn.get(e);t&&(t.flags|=8,Xn.delete(e))}le().requestIdleCallback,le().cancelIdleCallback;var $n=e=>!!e.type.__asyncLoader,er=e=>e.type.__isKeepAlive;function tr(e,t){rr(e,`a`,t)}function nr(e,t){rr(e,`da`,t)}function rr(e,t,n=Q){let r=e.__wdc||=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()};if(ar(t,r,n),n){let e=n.parent;for(;e&&e.parent;)er(e.parent.vnode)&&ir(r,t,n,e),e=e.parent}}function ir(e,t,n,r){let i=ar(t,e,r,!0);fr(()=>{c(r[t],i)},n)}function ar(e,t,n=Q,r=!1){if(n){let i=n[e]||(n[e]=[]),a=t.__weh||=(...r)=>{He();let i=ca(n),a=sn(t,n,e,r);return i(),Ue(),a};return r?i.unshift(a):i.push(a),a}}var or=e=>(t,n=Q)=>{da&&e!==`sp`||ar(e,(...e)=>t(...e),n)},sr=or(`bm`),cr=or(`m`),lr=or(`bu`),ur=or(`u`),dr=or(`bum`),fr=or(`um`),pr=or(`sp`),mr=or(`rtg`),hr=or(`rtc`);function gr(e,t=Q){ar(`ec`,e,t)}var _r=Symbol.for(`v-ndc`);function vr(e,t,n,r){let i,a=n&&n[r],o=d(e);if(o||g(e)){let n=o&&Rt(e),r=!1,s=!1;n&&(r=!F(e),s=zt(e),e=tt(e)),i=Array(e.length);for(let n=0,o=e.length;n<o;n++)i[n]=t(r?s?Ht(L(e[n])):L(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(v(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}var yr=e=>e?ua(e)?va(e):yr(e.parent):null,br=s(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=>yr(e.parent),$root:e=>yr(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Ar(e),$forceUpdate:e=>e.f||=()=>{_n(e.update)},$nextTick:e=>e.n||=hn.bind(e.proxy),$watch:e=>Rn.bind(e)}),xr=(e,n)=>e!==t&&!e.__isScriptSetup&&u(e,n),Sr={get({_:e},n){if(n===`__v_skip`)return!0;let{ctx:r,setupState:i,data:a,props:o,accessCache:s,type:c,appContext:l}=e;if(n[0]!==`$`){let e=s[n];if(e!==void 0)switch(e){case 1:return i[n];case 2:return a[n];case 4:return r[n];case 3:return o[n]}else if(xr(i,n))return s[n]=1,i[n];else if(a!==t&&u(a,n))return s[n]=2,a[n];else if(u(o,n))return s[n]=3,o[n];else if(r!==t&&u(r,n))return s[n]=4,r[n];else Tr&&(s[n]=0)}let d=br[n],f,p;if(d)return n===`$attrs`&&P(e.attrs,`get`,``),d(e);if((f=c.__cssModules)&&(f=f[n]))return f;if(r!==t&&u(r,n))return s[n]=4,r[n];if(p=l.config.globalProperties,u(p,n))return p[n]},set({_:e},n,r){let{data:i,setupState:a,ctx:o}=e;return xr(a,n)?(a[n]=r,!0):i!==t&&u(i,n)?(i[n]=r,!0):u(e.props,n)||n[0]===`$`&&n.slice(1)in e?!1:(o[n]=r,!0)},has({_:{data:e,setupState:n,accessCache:r,ctx:i,appContext:a,props:o,type:s}},c){let l;return!!(r[c]||e!==t&&c[0]!==`$`&&u(e,c)||xr(n,c)||u(o,c)||u(i,c)||u(br,c)||u(a.config.globalProperties,c)||(l=s.__cssModules)&&l[c])},defineProperty(e,t,n){return n.get==null?u(n,`value`)&&this.set(e,t,n.value,null):e._.accessCache[t]=0,Reflect.defineProperty(e,t,n)}};function Cr(e){return d(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}function wr(e,t){return!e||!t?e||t:d(e)&&d(t)?e.concat(t):s({},Cr(e),Cr(t))}var Tr=!0;function Er(e){let t=Ar(e),n=e.proxy,i=e.ctx;Tr=!1,t.beforeCreate&&Or(t.beforeCreate,e,`bc`);let{data:a,computed:o,methods:s,watch:c,provide:l,inject:u,created:f,beforeMount:p,mounted:m,beforeUpdate:g,updated:_,activated:y,deactivated:b,beforeDestroy:x,beforeUnmount:S,destroyed:C,unmounted:w,render:ee,renderTracked:te,renderTriggered:ne,errorCaptured:T,serverPrefetch:re,expose:E,inheritAttrs:ie,components:ae,directives:D,filters:oe}=t;if(u&&Dr(u,i,null),s)for(let e in s){let t=s[e];h(t)&&(i[e]=t.bind(n))}if(a){let t=a.call(n,n);v(t)&&(e.data=Pt(t))}if(Tr=!0,o)for(let e in o){let t=o[e],a=ba({get:h(t)?t.bind(n,n):h(t.get)?t.get.bind(n,n):r,set:!h(t)&&h(t.set)?t.set.bind(n):r});Object.defineProperty(i,e,{enumerable:!0,configurable:!0,get:()=>a.value,set:e=>a.value=e})}if(c)for(let e in c)kr(c[e],i,n,e);if(l){let e=h(l)?l.call(n):l;Reflect.ownKeys(e).forEach(t=>{jn(t,e[t])})}f&&Or(f,e,`c`);function O(e,t){d(t)?t.forEach(t=>e(t.bind(n))):t&&e(t.bind(n))}if(O(sr,p),O(cr,m),O(lr,g),O(ur,_),O(tr,y),O(nr,b),O(gr,T),O(hr,te),O(mr,ne),O(dr,S),O(fr,w),O(pr,re),d(E)){if(E.length){let t=e.exposed||={};E.forEach(e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t,enumerable:!0})})}else e.exposed||={}}ee&&e.render===r&&(e.render=ee),ie!=null&&(e.inheritAttrs=ie),ae&&(e.components=ae),D&&(e.directives=D),re&&Jn(e)}function Dr(e,t,n=r){d(e)&&(e=Fr(e));for(let n in e){let r=e[n],i;i=v(r)?`default`in r?Mn(r.from||n,r.default,!0):Mn(r.from||n):Mn(r),R(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e}):t[n]=i}}function Or(e,t,n){sn(d(e)?e.map(e=>e.bind(t.proxy)):e.bind(t.proxy),t,n)}function kr(e,t,n,r){let i=r.includes(`.`)?zn(n,r):()=>n[r];if(g(e)){let n=t[e];h(n)&&In(i,n)}else if(h(e))In(i,e.bind(n));else if(v(e)){if(d(e))e.forEach(e=>kr(e,t,n,r));else{let r=h(e.handler)?e.handler.bind(n):t[e.handler];h(r)&&In(i,r,e)}}}function Ar(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=>jr(c,e,o,!0)),jr(c,t,o)),v(t)&&a.set(t,c),c}function jr(e,t,n,r=!1){let{mixins:i,extends:a}=t;a&&jr(e,a,n,!0),i&&i.forEach(t=>jr(e,t,n,!0));for(let i in t)if(!(r&&i===`expose`)){let r=Mr[i]||n&&n[i];e[i]=r?r(e[i],t[i]):t[i]}return e}var Mr={data:Nr,props:Lr,emits:Lr,methods:Ir,computed:Ir,beforeCreate:U,created:U,beforeMount:U,mounted:U,beforeUpdate:U,updated:U,beforeDestroy:U,beforeUnmount:U,destroyed:U,unmounted:U,activated:U,deactivated:U,errorCaptured:U,serverPrefetch:U,components:Ir,directives:Ir,watch:Rr,provide:Nr,inject:Pr};function Nr(e,t){return t?e?function(){return s(h(e)?e.call(this,this):e,h(t)?t.call(this,this):t)}:t:e}function Pr(e,t){return Ir(Fr(e),Fr(t))}function Fr(e){if(d(e)){let t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function U(e,t){return e?[...new Set([].concat(e,t))]:t}function Ir(e,t){return e?s(Object.create(null),e,t):t}function Lr(e,t){return e?d(e)&&d(t)?[...new Set([...e,...t])]:s(Object.create(null),Cr(e),Cr(t??{})):t}function Rr(e,t){if(!e)return t;if(!t)return e;let n=s(Object.create(null),e);for(let r in t)n[r]=U(e[r],t[r]);return n}function zr(){return{app:null,config:{isNativeTag:i,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 Br=0;function Vr(e,t){return function(n,r=null){h(n)||(n=s({},n)),r!=null&&!v(r)&&(r=null);let i=zr(),a=new WeakSet,o=[],c=!1,l=i.app={_uid:Br++,_component:n,_props:r,_container:null,_context:i,_instance:null,version:xa,get config(){return i.config},set config(e){},use(e,...t){return a.has(e)||(e&&h(e.install)?(a.add(e),e.install(l,...t)):h(e)&&(a.add(e),e(l,...t))),l},mixin(e){return i.mixins.includes(e)||i.mixins.push(e),l},component(e,t){return t?(i.components[e]=t,l):i.components[e]},directive(e,t){return t?(i.directives[e]=t,l):i.directives[e]},mount(a,o,s){if(!c){let u=l._ceVNode||Z(n,r);return u.appContext=i,s===!0?s=`svg`:s===!1&&(s=void 0),o&&t?t(u,a):e(u,a,s),c=!0,l._container=a,a.__vue_app__=l,va(u.component)}},onUnmount(e){o.push(e)},unmount(){c&&(sn(o,l._instance,16),e(null,l._container),delete l._container.__vue_app__)},provide(e,t){return i.provides[e]=t,l},runWithContext(e){let t=Hr;Hr=l;try{return e()}finally{Hr=t}}};return l}}var Hr=null;function Ur(e,n,r=t){let i=aa(),a=T(n),o=E(n),s=Wr(e,a),c=Xt((s,c)=>{let l,u=t,d;return Fn(()=>{let t=e[a];D(l,t)&&(l=t,c())}),{get(){return s(),r.get?r.get(l):l},set(e){let s=r.set?r.set(e):e;if(!D(s,l)&&!(u!==t&&D(e,u)))return;let f=i.vnode.props,p=!!(f&&(n in f||a in f||o in f)&&(`onUpdate:${n}`in f||`onUpdate:${a}`in f||`onUpdate:${o}`in f));p||(l=e,c()),i.emit(`update:${n}`,s),D(e,u)&&(D(e,s)&&!D(s,d)||p&&u!==t&&!D(s,l))&&c(),u=e,d=s}}});return c[Symbol.iterator]=()=>{let e=0;return{next(){return e<2?{value:e++?s||t:c,done:!1}:{done:!0}}}},c}var Wr=(e,t)=>t===`modelValue`||t===`model-value`?e.modelModifiers:e[`${t}Modifiers`]||e[`${T(t)}Modifiers`]||e[`${E(t)}Modifiers`];function Gr(e,n,...r){if(e.isUnmounted)return;let i=e.vnode.props||t,a=r,o=n.startsWith(`update:`),s=o&&Wr(i,n.slice(7));s&&(s.trim&&(a=r.map(e=>g(e)?e.trim():e)),s.number&&(a=a.map(se)));let c,l=i[c=ae(n)]||i[c=ae(T(n))];!l&&o&&(l=i[c=ae(E(n))]),l&&sn(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,sn(u,e,6,a)}}var Kr=new WeakMap;function qr(e,t,n=!1){let r=n?Kr:t.emitsCache,i=r.get(e);if(i!==void 0)return i;let a=e.emits,o={},c=!1;if(!h(e)){let r=e=>{let n=qr(e,t,!0);n&&(c=!0,s(o,n))};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return!a&&!c?(v(e)&&r.set(e,null),null):(d(a)?a.forEach(e=>o[e]=null):s(o,a),v(e)&&r.set(e,o),o)}function Jr(e,t){return!e||!a(t)?!1:(t=t.slice(2),t=t===`Once`?t:t.replace(/Once$/,``),u(e,t[0].toLowerCase()+t.slice(1))||u(e,E(t))||u(e,t))}function Yr(e){let{type:t,vnode:n,proxy:r,withProxy:i,propsOptions:[a],slots:s,attrs:c,emit:l,render:u,renderCache:d,props:f,data:p,setupState:m,ctx:h,inheritAttrs:g}=e,_=Dn(e),v,y;try{if(n.shapeFlag&4){let e=i||r,t=e;v=Xi(u.call(t,e,d,f,m,p,h)),y=c}else{let e=t;v=Xi(e.length>1?e(f,{attrs:c,slots:s,emit:l}):e(f,null)),y=t.props?c:Zr(c)}}catch(t){Fi.length=0,cn(t,e,1),v=Z(K)}let b=v;if(y&&g!==!1){let e=Object.keys(y),{shapeFlag:t}=b;e.length&&t&7&&(a&&e.some(o)&&(y=Qr(y,a)),b=qi(b,y,!1,!0))}return n.dirs&&(b=qi(b,null,!1,!0),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&Gn(Vn(b.type)&&Wn(b)||b,n.transition),v=b,Dn(_),v}function Xr(e,t=!0){let n;for(let t=0;t<e.length;t++){let r=e[t];if(Vi(r)){if(r.type!==K||r.children===`v-if`){if(n)return;n=r}}else return}return n}var Zr=e=>{let t;for(let n in e)(n===`class`||n===`style`||a(n))&&((t||={})[n]=e[n]);return t},Qr=(e,t)=>{let n={};for(let r in e)o(r)&&r.slice(9)in t||(n[r]=e[r]);return n};function $r(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?ei(r,o,l):!!o;if(c&8){let e=t.dynamicProps;for(let t=0;t<e.length;t++){let n=e[t];if(ti(o,r,n)&&!Jr(l,n))return!0}}}else return(i||s)&&(!s||!s.$stable)?!0:r===o?!1:r?!o||ei(r,o,l):!!o;return!1}function ei(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(!u(e,a)||ti(t,e,a)&&!Jr(n,a))return!0}return!1}function ti(e,t,n){let r=e[n],i=t[n];return n===`style`&&v(r)&&v(i)?!xe(r,i):r!==i}function ni({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 ri={},ii=()=>Object.create(ri),ai=e=>Object.getPrototypeOf(e)===ri;function oi(e,t,n,r=!1){let i={},a=ii();e.propsDefaults=Object.create(null),ci(e,t,i,a);for(let t in e.propsOptions[0])t in i||(i[t]=void 0);e.props=n?r?i:Ft(i):e.type.props?i:a,e.attrs=a}function si(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(Jr(e.emitsOptions,o))continue;let d=t[o];if(c){if(u(a,o))d!==a[o]&&(a[o]=d,l=!0);else{let t=T(o);i[t]=li(c,s,t,d,e,!1)}}else d!==a[o]&&(a[o]=d,l=!0)}}}else{ci(e,t,i,a)&&(l=!0);let r;for(let a in s)t&&(u(t,a)||(r=E(a))!==a&&u(t,r))||(c?n&&(n[a]!==void 0||n[r]!==void 0)&&(i[a]=li(c,s,a,void 0,e,!0)):delete i[a]);if(a!==s)for(let e in a)t&&u(t,e)||(delete a[e],l=!0)}l&&$e(e.attrs,`set`,``)}function ci(e,n,r,i){let[a,o]=e.propsOptions,s=!1,c;if(n)for(let t in n){if(ee(t))continue;let l=n[t],d;a&&u(a,d=T(t))?!o||!o.includes(d)?r[d]=l:(c||={})[d]=l:Jr(e.emitsOptions,t)||t in i&&l===i[t]||(i[t]=l,s=!0)}if(o){let n=I(r),i=c||t;for(let t=0;t<o.length;t++){let s=o[t];r[s]=li(a,n,s,i[s],e,!u(i,s))}}return s}function li(e,t,n,r,i,a){let o=e[n];if(o!=null){let e=u(o,`default`);if(e&&r===void 0){let e=o.default;if(o.type!==Function&&!o.skipFactory&&h(e)){let{propsDefaults:a}=i;if(n in a)r=a[n];else{let o=ca(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===E(n))&&(r=!0))}return r}var ui=new WeakMap;function di(e,r,i=!1){let a=i?ui:r.propsCache,o=a.get(e);if(o)return o;let c=e.props,l={},f=[],p=!1;if(!h(e)){let t=e=>{p=!0;let[t,n]=di(e,r,!0);s(l,t),n&&f.push(...n)};!i&&r.mixins.length&&r.mixins.forEach(t),e.extends&&t(e.extends),e.mixins&&e.mixins.forEach(t)}if(!c&&!p)return v(e)&&a.set(e,n),n;if(d(c))for(let e=0;e<c.length;e++){let n=T(c[e]);fi(n)&&(l[n]=t)}else if(c)for(let e in c){let t=T(e);if(fi(t)){let n=c[e],r=l[t]=d(n)||h(n)?{type:n}:s({},n),i=r.type,a=!1,o=!0;if(d(i))for(let e=0;e<i.length;++e){let t=i[e],n=h(t)&&t.name;if(n===`Boolean`){a=!0;break}n===`String`&&(o=!1)}else a=h(i)&&i.name===`Boolean`;r[0]=a,r[1]=o,(a||u(r,`default`))&&f.push(t)}}let m=[l,f];return v(e)&&a.set(e,m),m}function fi(e){return e[0]!==`$`&&!ee(e)}var pi=e=>e===`_`||e===`_ctx`||e===`$stable`,mi=e=>d(e)?e.map(Xi):[Xi(e)],hi=(e,t,n)=>{if(t._n)return t;let r=On((...e)=>mi(t(...e)),n);return r._c=!1,r},gi=(e,t,n)=>{let r=e._ctx;for(let n in e){if(pi(n))continue;let i=e[n];if(h(i))t[n]=hi(n,i,r);else if(i!=null){let e=mi(i);t[n]=()=>e}}},_i=(e,t)=>{let n=mi(t);e.slots.default=()=>n},vi=(e,t,n)=>{for(let r in t)(n||!pi(r))&&(e[r]=t[r])},yi=(e,t,n)=>{let r=e.slots=ii();if(e.vnode.shapeFlag&32){let e=t._;e?(vi(r,t,n),n&&O(r,`_`,e,!0)):gi(t,r)}else t&&_i(e,t)},bi=(e,n,r)=>{let{vnode:i,slots:a}=e,o=!0,s=t;if(i.shapeFlag&32){let e=n._;e?r&&e===1?o=!1:vi(a,n,r):(o=!n.$stable,gi(n,a)),s=n}else n&&(_i(e,n),s={default:1});if(o)for(let e in a)!pi(e)&&s[e]==null&&delete a[e]},W=Mi;function xi(e){return Si(e)}function Si(e,i){let a=le();a.__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=r,insertStaticContent:_}=e,v=(e,t,r,i=null,a=null,o=null,s=void 0,c=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!Hi(e,t)&&(i=ye(e),k(e,a,o,!0),e=null),t.patchFlag===-2&&(l=!1,t.dynamicChildren=null),t.dynamicChildren&&e&&e.dynamicChildren&&e.dynamicChildren.hasOnce&&(t.dynamicChildren===n&&(t.dynamicChildren=[]),t.dynamicChildren.hasOnce=!0);let{type:u,ref:d,shapeFlag:f}=t;switch(u){case Ni:y(e,t,r,i);break;case K:b(e,t,r,i);break;case Pi:e??x(t,r,i,s);break;case G:ae(e,t,r,i,a,o,s,c,l);break;default:f&1?w(e,t,r,i,a,o,s,c,l):f&6?D(e,t,r,i,a,o,s,c,l):(f&64||f&128)&&u.process(e,t,r,i,a,o,s,c,l,xe)}d!=null&&a?Zn(d,e&&e.ref,o,t||e,!t):d==null&&e&&e.ref!=null&&Zn(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)te(t,n,r,i,a,o,s,c);else{let n=e.el&&e.el._isVueCE?e.el:null;try{n&&n._beginPatch(),re(e,t,i,a,o,s,c)}finally{n&&n._endPatch()}}},te=(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&&T(e.children,d,null,r,i,Ci(e,a),s,u),_&&An(e,null,r,`created`),ne(d,e,e.scopeId,s,r),m){for(let e in m)e!==`value`&&!ee(e)&&c(d,e,null,m[e],a,r);`value`in m&&c(d,`value`,null,m.value,a),(f=m.onVnodeBeforeMount)&&ea(f,r,e)}_&&An(e,null,r,`beforeMount`);let v=Ti(i,g);v&&g.beforeEnter(d),o(d,t,n),((f=m&&m.onVnodeMounted)||v||_)&&W(()=>{try{f&&ea(f,r,e),v&&g.enter(d),_&&An(e,null,r,`mounted`)}finally{}},i)},ne=(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||ji(n.type)&&(n.ssContent===t||n.ssFallback===t)){let t=i.vnode;ne(e,t,t.scopeId,t.slotScopeIds,i.parent)}}},T=(e,t,n,r,i,a,o,s,c=0)=>{for(let l=c;l<e.length;l++){let c=e[l]=s?Zi(e[l]):Xi(e[l]);v(null,c,t,n,r,i,a,o,s)}},re=(e,n,r,i,a,o,s)=>{let l=n.el=e.el,{patchFlag:u,dynamicChildren:d,dirs:f}=n;u|=e.patchFlag&16;let m=e.props||t,h=n.props||t,g;if(r&&wi(r,!1),(g=h.onVnodeBeforeUpdate)&&ea(g,r,n,e),f&&An(n,e,r,`beforeUpdate`),r&&wi(r,!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?E(e.dynamicChildren,d,l,r,i,Ci(n,a),o):s||de(e,n,l,null,r,i,Ci(n,a),o,!1),u>0){if(u&16)ie(l,m,h,r,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=n.dynamicProps;for(let t=0;t<e.length;t++){let n=e[t],i=m[n],o=h[n];(o!==i||n===`value`)&&c(l,n,i,o,a,r)}}u&1&&e.children!==n.children&&p(l,n.children)}else!s&&d==null&&ie(l,m,h,r,a);((g=h.onVnodeUpdated)||f)&&W(()=>{g&&ea(g,r,n,e),f&&An(n,e,r,`updated`)},i)},E=(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||Ai(c),d=u&&(c.type===G||!Hi(c,l)||c.shapeFlag&198)?m(u):n;v(c,l,d,null,r,i,a,o,!0)}},ie=(e,n,r,i,a)=>{if(n!==r){if(n!==t)for(let t in n)!ee(t)&&!(t in r)&&c(e,t,n[t],null,a,i);for(let t in r){if(ee(t))continue;let o=r[t],s=n[t];o!==s&&t!==`value`&&c(e,t,s,o,a,i)}`value`in r&&c(e,`value`,n.value,r.value,a)}},ae=(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),T(t.children||[],n,f,i,a,s,c,l)):p>0&&p&64&&m&&e.dynamicChildren&&e.dynamicChildren.length===m.length?(E(e.dynamicChildren,m,n,i,a,s,c),(t.key!=null||i&&t===i.subTree)&&Ei(e,t,!0)):de(e,t,n,f,i,a,s,c,l)},D=(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):O(t,n,r,i,a,o,c):se(e,t,c)},O=(e,t,n,r,i,a,o)=>{let s=e.component=ia(e,r,i);if(er(e)&&(s.ctx.renderer=xe),fa(s,!1,o),s.asyncDep){if(i&&i.registerDep(s,ce,o,a),!e.el){let r=s.subTree=Z(K);b(null,r,t,n),e.placeholder=r.el}}else ce(s,e,t,n,i,a,o)},se=(e,t,n)=>{let r=t.component=e.component;if($r(e,t,n)){if(r.asyncDep&&!r.asyncResolved){t.el=e.el,t.placeholder=e.placeholder,ue(r,t,n);return}r.next=t,r.update()}else t.el=e.el,t.placeholder=e.placeholder,r.vnode=t},ce=(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=Oi(e);if(n){t&&(t.el=c.el,ue(e,t,o)),n.asyncDep.then(()=>{W(()=>{e.isUnmounted||l()},i)});return}}let u=t,d;wi(e,!1),t?(t.el=c.el,ue(e,t,o)):t=c,n&&oe(n),(d=t.props&&t.props.onVnodeBeforeUpdate)&&ea(d,s,t,c),wi(e,!0);let f=Yr(e),p=e.subTree;e.subTree=f,v(p,f,m(p.el),ye(p),e,i,a),t.el=f.el,u===null&&ni(e,f.el),r&&W(r,i),(d=t.props&&t.props.onVnodeUpdated)&&W(()=>ea(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=$n(t);if(wi(e,!1),l&&oe(l),!m&&(o=c&&c.onVnodeBeforeMount)&&ea(o,d,t),wi(e,!0),s&&A){let t=()=>{e.subTree=Yr(e),A(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=Yr(e);v(null,o,n,r,e,i,a),t.el=o.el}if(u&&W(u,i),!m&&(o=c&&c.onVnodeMounted)){let e=t;W(()=>ea(o,d,e),i)}(t.shapeFlag&256||d&&$n(d.vnode)&&d.vnode.shapeFlag&256)&&e.a&&W(e.a,i),e.isMounted=!0,t=n=r=null}};e.scope.on();let c=e.effect=new Oe(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=()=>_n(u),wi(e,!0),l()},ue=(e,t,n)=>{t.component=e;let r=e.vnode.props;e.vnode=t,e.next=null,si(e,t.props,r,n),bi(e,t.children,n),He(),bn(e),Ue()},de=(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){pe(l,d,n,r,i,a,o,s,c);return}if(f&256){fe(l,d,n,r,i,a,o,s,c);return}}m&8?(u&16&&ve(l,i,a),d!==l&&p(n,d)):u&16?m&16?pe(l,d,n,r,i,a,o,s,c):ve(l,i,a,!0):(u&8&&p(n,``),m&16&&T(d,n,r,i,a,o,s,c))},fe=(e,t,r,i,a,o,s,c,l)=>{e||=n,t||=n;let u=e.length,d=t.length,f=Math.min(u,d),p=0;for(;p<f;p++){let n=t[p]=l?Zi(t[p]):Xi(t[p]);v(e[p],n,r,null,a,o,s,c,l)}u>d?ve(e,a,o,!0,!1,f):T(t,r,i,a,o,s,c,l,f)},pe=(e,t,r,i,a,o,s,c,l)=>{let u=0,d=t.length,f=e.length-1,p=d-1;for(;u<=f&&u<=p;){let n=e[u],i=t[u]=l?Zi(t[u]):Xi(t[u]);if(Hi(n,i))v(n,i,r,null,a,o,s,c,l);else break;u++}for(;u<=f&&u<=p;){let n=e[f],i=t[p]=l?Zi(t[p]):Xi(t[p]);if(Hi(n,i))v(n,i,r,null,a,o,s,c,l);else break;f--,p--}if(u>f){if(u<=p){let e=p+1,n=e<d?t[e].el:i;for(;u<=p;)v(null,t[u]=l?Zi(t[u]):Xi(t[u]),r,n,a,o,s,c,l),u++}}else if(u>p)for(;u<=f;)k(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?Zi(t[u]):Xi(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 n=e[u];if(y>=b){k(n,a,o,!0);continue}let i;if(n.key!=null)i=g.get(n.key);else for(_=h;_<=p;_++)if(C[_-h]===0&&Hi(n,t[_])){i=_;break}i===void 0?k(n,a,o,!0):(C[i-h]=u+1,i>=S?S=i:x=!0,v(n,t[i],r,null,a,o,s,c,l),y++)}let w=x?Di(C):n;for(_=w.length-1,u=b-1;u>=0;u--){let e=h+u,n=t[e],f=t[e+1],p=e+1<d?f.el||Ai(f):i;C[u]===0?v(null,n,r,p,a,o,s,c,l):x&&(_<0||u!==w[_]?me(n,r,p,2):_--)}}},me=(e,t,n,r,i=null)=>{let{el:a,type:c,transition:l,children:u,shapeFlag:d}=e;if(d&6)me(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,xe);else if(c===G){o(a,t,n);for(let e=0;e<u.length;e++)me(u[e],t,n,r);o(e.anchor,t,n)}else if(c===Pi)S(e,t,n);else if(r!==2&&d&1&&l){if(r===0)l.persisted&&!a[Hn]?o(a,t,n):(l.beforeEnter(a),o(a,t,n),W(()=>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[Hn];a._isLeaving&&a[Hn](!0),l.persisted&&!e?u():r(a,()=>{u(),c&&c()})};i?i(a,u,d):d()}}else o(a,t,n)},k=(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&&(He(),Zn(s,null,n,e,!0),Ue()),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=!$n(e),_;if(g&&(_=o&&o.onVnodeBeforeUnmount)&&ea(_,t,e),u&6)_e(e.component,n,r);else{if(u&128){e.suspense.unmount(n,r);return}h&&An(e,null,t,`beforeUnmount`),u&64?e.type.remove(e,t,n,xe,r):l&&!l.hasOnce&&(a!==G||d>0&&d&64)?ve(l,t,n,!1,!0):(a===G&&d&384||!i&&u&16)&&ve(c,t,n),r&&he(e)}let v=m!=null&&p==null;(g&&(_=o&&o.onVnodeUnmounted)||h||v)&&W(()=>{_&&ea(_,t,e),h&&An(e,null,t,`unmounted`),v&&(e.el=null)},n)},he=e=>{let{type:t,el:n,anchor:r,transition:i}=e,a=t===G;if(a&&!i){ge(n,r);return}if(t===Pi){C(e),i&&!i.persisted&&i.afterLeave&&i.afterLeave();return}let o=a?Kn(e):e,c=()=>{a?m(n)&&ge(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()},ge=(e,t)=>{let n;for(;e!==t;)n=h(e),s(e),e=n;s(t)},_e=(e,t,n)=>{let{bum:r,scope:i,job:a,subTree:o,um:s,m:c,a:l}=e;ki(c),ki(l),r&&oe(r),i.stop(),a?(a.flags|=8,k(o,e,t,n)):e.vnode.el&&o&&(o.transition=e.vnode.transition,k(o,e,t,n)),s&&W(s,t),W(()=>{e.isUnmounted=!0},t)},ve=(e,t,n,r=!1,i=!1,a=0)=>{for(let o=a;o<e.length;o++)k(e[o],t,n,r,i)},ye=e=>{if(e.shapeFlag&6)return ye(e.component.subTree);if(e.shapeFlag&128)return e.suspense.next();let t=h(e.anchor||e.el),n=t&&t[Bn];return n?h(n):t},be=(e,t,n)=>{Cn(()=>{e==null?t._vnode&&k(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:ra())},xe={p:v,um:k,m:me,r:he,mt:O,mc:T,pc:de,pbc:E,n:ye,o:e},Se,A;return i&&([Se,A]=i(xe)),{render:be,hydrate:Se,createApp:Vr(be,Se)}}function Ci({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 wi({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Ti(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ei(e,t,n=!1){let r=e.children,i=t.children;if(d(r)&&d(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]=Zi(i[e]),a.el=t.el),!n&&a.patchFlag!==-2&&Ei(t,a)),a.type===Ni&&(a.patchFlag===-1&&(a=i[e]=Zi(a)),a.el=t.el),a.type===K&&!a.el&&(a.el=t.el)}}function Di(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 Oi(e){let t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Oi(t)}function ki(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Ai(e){if(e.placeholder)return e.placeholder;let t=e.component;return t?Ai(t.subTree):null}var ji=e=>e.__isSuspense;function Mi(e,t){t&&t.pendingBranch?d(e)?t.effects.push(...e):t.effects.push(e):yn(e)}var G=Symbol.for(`v-fgt`),Ni=Symbol.for(`v-txt`),K=Symbol.for(`v-cmt`),Pi=Symbol.for(`v-stc`),Fi=[],q=null;function J(e=!1){Fi.push(q=e?null:[])}function Ii(){Fi.pop(),q=Fi[Fi.length-1]||null}var Li=1;function Ri(e,t=!1){Li+=e,e<0&&q&&t&&(q.hasOnce=!0)}function zi(e){return e.dynamicChildren=Li>0?q||n:null,Ii(),Li>0&&q&&q.push(e),e}function Y(e,t,n,r,i,a){return zi(X(e,t,n,r,i,a,!0))}function Bi(e,t,n,r,i){return zi(Z(e,t,n,r,i,!0))}function Vi(e){return e?e.__v_isVNode===!0:!1}function Hi(e,t){return e.type===t.type&&e.key===t.key}var Ui=({key:e})=>e??null,Wi=({ref:e,ref_key:t,ref_for:n})=>(typeof e==`number`&&(e=``+e),e==null?null:g(e)||R(e)||h(e)?{i:H,r:e,k:t,f:!!n}:e);function X(e,t=null,n=null,r=0,i=null,a=e===G?0:1,o=!1,s=!1){let c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ui(t),ref:t&&Wi(t),scopeId:En,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:H};return s?(Qi(c,n),a&128&&e.normalize(c)):n&&(c.shapeFlag|=g(n)?8:16),Li>0&&!o&&q&&(c.patchFlag>0||a&6)&&c.patchFlag!==32&&q.push(c),c}var Z=Gi;function Gi(e,t=null,n=null,r=0,i=null,a=!1){if(e&&e!==_r||(e=K),Vi(e)){let r=qi(e,t,!0);return n&&Qi(r,n),Li>0&&!a&&q&&(r.shapeFlag&6?q[q.indexOf(e)]=r:q.push(r)),r.patchFlag=-2,r}if(ya(e)&&(e=e.__vccOpts),t){t=Ki(t);let{class:e,style:n}=t;e&&!g(e)&&(t.class=k(e)),v(n)&&(Bt(n)&&!d(n)&&(n=s({},n)),t.style=ue(n))}let o=g(e)?1:ji(e)?128:Vn(e)?64:v(e)?4:h(e)?2:0;return X(e,t,n,r,i,o,a,!0)}function Ki(e){return e?Bt(e)||ai(e)?s({},e):e:null}function qi(e,t,n=!1,r=!1){let{props:i,ref:a,patchFlag:o,children:s,transition:c}=e,l=t?$i(i||{},t):i,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Ui(l),ref:t&&t.ref?n&&a?d(a)?a.concat(Wi(t)):[a,Wi(t)]:Wi(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!==G?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&&qi(e.ssContent),ssFallback:e.ssFallback&&qi(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce,cacheIndex:e.cacheIndex};return c&&r&&Gn(u,c.clone(u)),u}function Ji(e=` `,t=0){return Z(Ni,null,e,t)}function Yi(e=``,t=!1){return t?(J(),Bi(K,null,e)):Z(K,null,e)}function Xi(e){return e==null||typeof e==`boolean`?Z(K):d(e)?Z(G,null,e.slice()):Vi(e)?Zi(e):Z(Ni,null,String(e))}function Zi(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:qi(e)}function Qi(e,t){let n=0,{shapeFlag:r}=e;if(t==null)t=null;else if(d(t))n=16;else if(typeof t==`object`){if(r&65){let n=t.default;n&&(n._c&&(n._d=!1),Qi(e,n()),n._c&&(n._d=!0));return}{n=32;let r=t._;!r&&!ai(t)?t._ctx=H:r===3&&H&&(H.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}}else if(h(t)){if(r&65){Qi(e,{default:t});return}t={default:t,_ctx:H},n=32}else t=String(t),r&64?(n=16,t=[Ji(t)]):n=8;e.children=t,e.shapeFlag|=n}function $i(...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=k([t.class,r.class]));else if(e===`style`)t.style=ue([t.style,r.style]);else if(a(e)){let n=t[e],i=r[e];i&&n!==i&&!(d(n)&&n.includes(i))?t[e]=n?[].concat(n,i):i:i==null&&n==null&&!o(e)&&(t[e]=i)}else e!==``&&(t[e]=r[e])}return t}function ea(e,t,n,r=null){sn(e,t,7,[n,r])}var ta=zr(),na=0;function ra(){return na}function ia(e,n,r){let i=e.type,a=(n?n.appContext:e.appContext)||ta,o={uid:na++,vnode:e,type:i,parent:n,appContext:a,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Te(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:n?n.provides:Object.create(a.provides),ids:n?n.ids:[``,0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:di(i,a),emitsOptions:qr(i,a),emit:null,emitted:null,propsDefaults:t,inheritAttrs:i.inheritAttrs,ctx:t,data:t,props:t,attrs:t,slots:t,refs:t,setupState:t,setupContext:null,suspense:r,suspenseId:r?r.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=n?n.root:o,o.emit=Gr.bind(null,o),e.ce&&e.ce(o),o}var Q=null,aa=()=>Q||H,oa,sa;{let e=le(),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)}};oa=t(`__VUE_INSTANCE_SETTERS__`,e=>Q=e),sa=t(`__VUE_SSR_SETTERS__`,e=>da=e)}var ca=e=>{let t=Q;return oa(e),e.scope.on(),()=>{e.scope.off(),oa(t)}},la=()=>{Q&&Q.scope.off(),oa(null)};function ua(e){return e.vnode.shapeFlag&4}var da=!1;function fa(e,t=!1,n=!1){t&&sa(t);let{props:r,children:i}=e.vnode,a=ua(e);oi(e,r,a,t),yi(e,i,n||t);let o=a?pa(e,t):void 0;return t&&sa(!1),o}function pa(e,t){let n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Sr);let{setup:r}=n;if(r){He();let n=e.setupContext=r.length>1?_a(e):null,i=ca(e),a=on(r,e,0,[e.props,n]),o=y(a);if(Ue(),i(),(o||e.sp)&&!$n(e)&&Jn(e),o){if(a.then(la,la),t)return a.then(n=>{sa(!0);try{ma(e,n,t)}finally{sa(!1)}}).catch(t=>{cn(t,e,0)});e.asyncDep=a}else ma(e,a,t)}else ha(e,t)}function ma(e,t,n){h(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:v(t)&&(e.setupState=Jt(t)),ha(e,n)}function ha(e,t,n){let i=e.type;e.render||=i.render||r;{let t=ca(e);He();try{Er(e)}finally{Ue(),t()}}}var ga={get(e,t){return P(e,`get`,``),e[t]}};function _a(e){return{attrs:new Proxy(e.attrs,ga),slots:e.slots,emit:e.emit,expose:t=>{e.exposed=t||{}}}}function va(e){return e.exposed?e.exposeProxy||=new Proxy(Jt(Vt(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in br)return br[n](e)},has(e,t){return t in e||t in br}}):e.proxy}function ya(e){return h(e)&&`__vccOpts`in e}var ba=(e,t)=>Qt(e,t,da),xa=`3.5.44`,Sa=void 0,Ca=typeof window<`u`&&window.trustedTypes;if(Ca)try{Sa=Ca.createPolicy(`vue`,{createHTML:e=>e})}catch{}var wa=Sa?e=>Sa.createHTML(e):e=>e,Ta=`http://www.w3.org/2000/svg`,Ea=`http://www.w3.org/1998/Math/MathML`,Da=typeof document<`u`?document:null,Oa=Da&&Da.createElement(`template`),ka={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`?Da.createElementNS(Ta,e):t===`mathml`?Da.createElementNS(Ea,e):n?Da.createElement(e,{is:n}):Da.createElement(e);return e===`select`&&r&&r.multiple!=null&&i.setAttribute(`multiple`,r.multiple),i},createText:e=>Da.createTextNode(e),createComment:e=>Da.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Da.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{Oa.innerHTML=wa(r===`svg`?`<svg>${e}</svg>`:r===`mathml`?`<math>${e}</math>`:e);let i=Oa.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]}},Aa=Symbol(`_vtc`);function ja(e,t,n){let r=e[Aa];r&&(t=(t?[t,...r]:[...r]).join(` `)),t==null?e.removeAttribute(`class`):n?e.setAttribute(`class`,t):e.className=t}var Ma=Symbol(`_vod`),Na=Symbol(`_vsh`),Pa=Symbol(``),Fa=/(?:^|;)\s*display\s*:/;function Ia(e,t,n){let r=e.style,i=g(n),a=!1;if(n&&!i){if(t){if(g(t))for(let e of t.split(`;`)){let t=e.slice(0,e.indexOf(`:`)).trim();n[t]??Ra(r,t,``)}else for(let e in t)n[e]??Ra(r,e,``)}for(let i in n){i===`display`&&(a=!0);let o=n[i];o==null?Ra(r,i,``):Ha(e,i,!g(t)&&t?t[i]:void 0,o)||Ra(r,i,o)}}else if(i){if(t!==n){let e=r[Pa];e&&(n+=`;`+e),r.cssText=n,a=Fa.test(n)}}else t&&e.removeAttribute(`style`);Ma in e&&(i&&t===n||(e[Ma]=a?r.display:``),e[Na]&&(r.display=`none`))}var La=/\s*!important$/;function Ra(e,t,n){if(d(n))n.forEach(n=>Ra(e,t,n));else if(n??=``,t.startsWith(`--`))La.test(n)?e.setProperty(t,n.replace(La,``),`important`):e.setProperty(t,n);else{let r=Va(e,t);La.test(n)?e.setProperty(E(r),n.replace(La,``),`important`):e[r]=n}}var za=[`Webkit`,`Moz`,`ms`],Ba={};function Va(e,t){let n=Ba[t];if(n)return n;let r=T(t);if(r!==`filter`&&r in e)return Ba[t]=r;r=ie(r);for(let n=0;n<za.length;n++){let i=za[n]+r;if(i in e)return Ba[t]=i}return t}function Ha(e,t,n,r){return e.tagName===`TEXTAREA`&&(t===`width`||t===`height`)&&g(r)&&n===r}var Ua=`http://www.w3.org/1999/xlink`;function Wa(e,t,n,r,i,a=he(t)){r&&t.startsWith(`xlink:`)?n==null?e.removeAttributeNS(Ua,t.slice(6,t.length)):e.setAttributeNS(Ua,t,n):n==null||a&&!ge(n)?e.removeAttribute(t):e.setAttribute(t,a?``:_(n)?String(n):n)}function Ga(e,t,n,r,i){if(t===`innerHTML`||t===`textContent`){n!=null&&(e[t]=t===`innerHTML`?wa(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=ge(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 Ka(e,t,n,r){e.addEventListener(t,n,r)}function qa(e,t,n,r){e.removeEventListener(t,n,r)}var Ja=Symbol(`_vei`);function Ya(e,t,n,r,i=null){let a=e[Ja]||(e[Ja]={}),o=a[t];if(r&&o)o.value=r;else{let[n,s]=Qa(t);r?Ka(e,n,a[t]=no(r,i),s):o&&(qa(e,n,o,s),a[t]=void 0)}}var Xa=/(Once|Passive|Capture)$/,Za=/^on:?(?:Once|Passive|Capture)$/;function Qa(e){let t,n;for(;(n=e.match(Xa))&&!Za.test(e);)t||={},e=e.slice(0,e.length-n[1].length),t[n[1].toLowerCase()]=!0;return[e[2]===`:`?e.slice(3):E(e.slice(2)),t]}var $a=0,eo=Promise.resolve(),to=()=>$a||=(eo.then(()=>$a=0),Date.now());function no(e,t){let n=e=>{if(!e._vts)e._vts=Date.now();else if(e._vts<=n.attached)return;let r=n.value;if(d(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&&sn(e,t,5,a)}}else sn(r,t,5,[e])};return n.value=e,n.attached=to(),n}var ro=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,io=(e,t,n,r,i,s)=>{let c=i===`svg`;t===`class`?ja(e,r,c):t===`style`?Ia(e,n,r):a(t)?o(t)||Ya(e,t,n,r,s):(t[0]===`.`?(t=t.slice(1),1):t[0]===`^`?(t=t.slice(1),0):ao(e,t,r,c))?(Ga(e,t,r),e.tagName.includes(`-`)||t!==`value`&&t!==`checked`&&t!==`selected`||Wa(e,t,r,c,s,t!==`value`)):e._isVueCE&&(oo(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!g(r)))?Ga(e,T(t),r,s,t):(t===`true-value`?e._trueValue=r:t===`false-value`&&(e._falseValue=r),Wa(e,t,r,c))};function ao(e,t,n,r){if(r)return!!(t===`innerHTML`||t===`textContent`||t in e&&ro(t)&&h(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 ro(t)&&g(n)?!1:t in e}function oo(e,t){let n=e._def.props;if(!n)return!1;let r=T(t);return Array.isArray(n)?n.some(e=>T(e)===r):Object.keys(n).some(e=>T(e)===r)}var so=e=>{let t=e.props[`onUpdate:modelValue`]||!1;return d(t)?e=>oe(t,e):t};function co(e){e.target.composing=!0}function lo(e){let t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event(`input`)))}var uo=Symbol(`_assign`),fo=Symbol(`_initialValue`);function po(e,t,n){return t&&(e=e.trim()),n&&(e=se(e)),e}var mo={created(e,{modifiers:{lazy:t,trim:n,number:r}},i){e.parentNode&&(e.type===`text`?e[fo]=e.defaultValue.replace(/[\r\n]/g,``):e.type===`textarea`&&(e[fo]=e.defaultValue.replace(/\r\n?/g,`
2
- `))),e[uo]=so(i);let a=r||i.props&&i.props.type===`number`;Ka(e,t?`change`:`input`,t=>{t.target.composing||e[uo](po(e.value,n,a))}),(n||a)&&Ka(e,`change`,()=>{e.value=po(e.value,n,a)}),t||(Ka(e,`compositionstart`,co),Ka(e,`compositionend`,lo),Ka(e,`change`,lo))},mounted(e,{value:t,modifiers:{trim:n,number:r}}){let i=t??``,a=e[fo];delete e[fo],a!==void 0&&(e.type===`text`||e.type===`textarea`)&&e.value!==a?e[uo](po(e.value,n,r)):e.value=i},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:i,number:a}},o){if(e[uo]=so(o),e.composing)return;let s=(a||e.type===`number`)&&!/^0\d/.test(e.value)?se(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)}},ho={esc:`escape`,space:` `,up:`arrow-up`,left:`arrow-left`,right:`arrow-right`,down:`arrow-down`,delete:`backspace`},go=(e,t)=>{let n=e._withKeys||={},r=t.join(`.`);return n[r]||(n[r]=(n=>{if(!(`key`in n))return;let r=E(n.key);if(t.some(e=>e===r||ho[e]===r))return e(n)}))},_o=s({patchProp:io},ka),vo;function yo(){return vo||=xi(_o)}var bo=((...e)=>{let t=yo().createApp(...e),{mount:n}=t;return t.mount=e=>{let r=So(e);if(!r)return;let i=t._component;h(i)||i.render||i.template||(i.template=r.innerHTML),r.nodeType===1&&(r.textContent=``);let a=n(r,!1,xo(r));return r instanceof Element&&(r.removeAttribute(`v-cloak`),r.setAttribute(`data-v-app`,``)),a},t});function xo(e){if(e instanceof SVGElement)return`svg`;if(typeof MathMLElement==`function`&&e instanceof MathMLElement)return`mathml`}function So(e){return g(e)?document.querySelector(e):e}var $={repo:`lrigamai/loras`,revision:`main`,ignoreDirs:[`Archive`],extensions:[`.safetensors`],previewDataset:`lrigamai/previews`},Co=`https://huggingface.co`,wo=e=>e===`dataset`?`datasets/`:``,To=e=>e.split(`/`).map(encodeURIComponent).join(`/`);async function Eo(e,t={}){let{type:n=`model`,revision:r=`main`,path:i=``,recursive:a=!1,expand:o=!1}=t,s=new URLSearchParams;a&&s.set(`recursive`,`true`),o&&s.set(`expand`,`true`);let c=i?`/${To(i)}`:``,l=s.size?`?${s}`:``,u=`${Co}/api/${n}s/${e}/tree/${encodeURIComponent(r)}${c}${l}`,d=[];for(;u;){let t=await fetch(u);if(!t.ok)throw Error(`Hub API ${t.status} for ${e}/${i}`);d.push(...await t.json()),u=t.headers.get(`Link`)?.match(/<([^>]+)>;\s*rel="next"/)?.[1]??null}return d}var Do={repo:(e,t=`model`)=>`${Co}/${wo(t)}${e}`,blob:(e,t,n=`main`,r=`model`)=>`${Co}/${wo(r)}${e}/blob/${n}/${To(t)}`,resolve:(e,t,n=`main`,r=`model`)=>`${Co}/${wo(r)}${e}/resolve/${n}/${To(t)}`,download:(e,t,n=`main`)=>`${Do.resolve(e,t,n)}?download=true`},Oo=/\.(png|jpe?g|webp)$/i,ko=e=>e.slice(e.lastIndexOf(`/`)+1),Ao=e=>e.replace(/\.[^.]+$/,``);function jo(e,t){let n=e.indexOf(`_`);if(n<=0)return e;let r=e.slice(0,n).toLowerCase();return t.toLowerCase().startsWith(r)&&n<e.length-1?e.slice(n+1):e}async function Mo(){let e=new Map;if(!$.previewDataset)return e;let t=await Eo($.previewDataset,{type:`dataset`,recursive:!0});for(let n of t){if(n.type!==`file`||!Oo.test(n.path))continue;let t=n.path.slice(0,n.path.lastIndexOf(`/`)),r=e.get(t)??[];r.push(Do.resolve($.previewDataset,n.path,`main`,`dataset`)),e.set(t,r)}for(let t of e.values())t.sort();return e}function No(e,t,n){let r=ko(e.path);return{id:e.path,name:jo(Ao(r),t),file:r,model:t,size:e.lfs?.size??e.size,sha256:e.lfs?.oid??null,updated:e.lastCommit?.date??null,commitTitle:e.lastCommit?.title??null,previews:n.get(`${t}/${Ao(r)}`)??[]}}function Po(){let e=Wt([]),t=Wt([]),n=Ut(!0),r=Ut(null);return(async()=>{try{let[n,r]=await Promise.all([Eo($.repo,{revision:$.revision}),Mo().catch(()=>new Map)]),i=n.filter(e=>e.type===`directory`&&!$.ignoreDirs.includes(e.path)).map(e=>e.path),a=await Promise.all(i.map(async e=>(await Eo($.repo,{revision:$.revision,path:e,expand:!0})).filter(e=>e.type===`file`&&$.extensions.some(t=>e.path.endsWith(t))).map(t=>No(t,e,r))));e.value=i.map((e,t)=>({id:e,count:a[t].length})).filter(e=>e.count>0),t.value=a.flat()}catch(e){r.value=`Couldn't read ${$.repo} from the Hub (${e.message}).`}finally{n.value=!1}})(),{models:e,loras:t,loading:n,error:r}}var Fo=[`updated`,`name`,`size`],Io=`updated`;function Lo(){let e=new URLSearchParams(location.search),t=e.get(`sort`);return{filters:{model:e.get(`model`)??``,q:e.get(`q`)??``,sort:Fo.includes(t)?t:Io},open:e.get(`lora`)??``}}var Ro={name:(e,t)=>e.name.localeCompare(t.name),updated:(e,t)=>(t.updated??``).localeCompare(e.updated??``)||e.name.localeCompare(t.name),size:(e,t)=>t.size-e.size};function zo(e,t){let n=Lo(),r=Pt(n.filters),i=Ut(n.open);In(e,e=>{e.length&&!e.some(e=>e.id===r.model)&&(r.model=e[0].id)});let a=ba(()=>{let e=r.q.toLowerCase().split(/\s+/).filter(Boolean);return t.value.filter(e=>e.model===r.model).filter(t=>e.every(e=>`${t.name} ${t.file}`.toLowerCase().includes(e))).sort(Ro[r.sort])}),o=ba(()=>t.value.find(e=>e.id===i.value)??null);return In([r,i],()=>{let e=new URLSearchParams;r.model&&e.set(`model`,r.model),r.q&&e.set(`q`,r.q),r.sort!==Io&&e.set(`sort`,r.sort),i.value&&e.set(`lora`,i.value);let t=e.toString();history.replaceState(null,``,t?`?${t}`:location.pathname)},{deep:!0}),{filters:r,openId:i,openLora:o,results:a}}function Bo(e){return e>=1e9?`${(e/1e9).toFixed(2)} GB`:e>=1e6?`${Math.round(e/1e6)} MB`:e>=1e3?`${Math.round(e/1e3)} KB`:`${e} B`}function Vo(e){return e?new Date(e).toLocaleDateString(void 0,{day:`2-digit`,month:`short`,year:`numeric`}):`—`}var Ho=e=>String(e).padStart(2,`0`);function Uo(e){let t=2166136261;for(let n=0;n<e.length;n++)t^=e.charCodeAt(n),t=Math.imul(t,16777619);return t>>>0}var Wo={class:`tabs`,role:`tablist`,"aria-label":`Base model`},Go=[`aria-selected`,`onClick`],Ko={class:`name`},qo={class:`n`},Jo=qn({__name:`ModelTabs`,props:wr({models:{}},{modelValue:{required:!0},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=Ur(e,`modelValue`);return(n,r)=>(J(),Y(`nav`,Wo,[(J(!0),Y(G,null,vr(e.models,e=>(J(),Y(`button`,{key:e.id,type:`button`,role:`tab`,"aria-selected":t.value===e.id,class:k({on:t.value===e.id}),onClick:n=>t.value=e.id},[X(`span`,Ko,A(e.id),1),X(`span`,qo,A(z(Ho)(e.count)),1)],10,Go))),128))]))}}),Yo=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n},Xo=Yo(Jo,[[`__scopeId`,`data-v-ea98708e`]]),Zo={class:`track`,"aria-hidden":`true`},Qo=Yo(qn({__name:`ScrollProgress`,setup(e){let t=Ut(0),n=0;function r(){n=0;let e=document.documentElement.scrollHeight-innerHeight;t.value=e>0?Math.min(1,scrollY/e):0}let i=()=>n||=requestAnimationFrame(r),a;return cr(()=>{addEventListener(`scroll`,i,{passive:!0}),a=new ResizeObserver(i),a.observe(document.body),r()}),dr(()=>{removeEventListener(`scroll`,i),a?.disconnect(),cancelAnimationFrame(n)}),(e,n)=>(J(),Y(`div`,Zo,[X(`div`,{class:`fill`,style:ue({transform:`scaleX(${t.value})`})},null,4)]))}}),[[`__scopeId`,`data-v-ca695463`]]),$o=[`innerHTML`],es=qn({__name:`Icon`,props:{name:{}},setup(e){let t={download:`<path d="M8 2v8m0 0L4.5 6.5M8 10l3.5-3.5M2.5 13.5h11" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>`,heart:`<path d="M8 13.5S2 10 2 5.75A2.75 2.75 0 0 1 8 4.4a2.75 2.75 0 0 1 6 1.35C14 10 8 13.5 8 13.5Z" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linejoin="round"/>`,search:`<circle cx="7" cy="7" r="4.5" fill="none" stroke="currentColor" stroke-width="1.5"/><path d="m10.5 10.5 3 3" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/>`,close:`<path d="m4 4 8 8M12 4l-8 8" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/>`,copy:`<rect x="5" y="5" width="8.5" height="8.5" rx="1.5" fill="none" stroke="currentColor" stroke-width="1.5"/><path d="M10.5 5V3.5a1 1 0 0 0-1-1h-6a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1H5" fill="none" stroke="currentColor" stroke-width="1.5"/>`,check:`<path d="m3.5 8.5 3 3 6-7" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>`,external:`<path d="M9 2.5h4.5V7M13.5 2.5 7 9M11.5 9.5v3a1 1 0 0 1-1 1h-7a1 1 0 0 1-1-1v-7a1 1 0 0 1 1-1h3" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>`,chevron:`<path d="m6 4 4 4-4 4" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>`};return(n,r)=>(J(),Y(`svg`,{viewBox:`0 0 16 16`,"aria-hidden":`true`,innerHTML:t[e.name]},null,8,$o))}}),ts=[`aria-label`],ns=[`aria-checked`,`onClick`],rs=Yo(qn({__name:`Segmented`,props:wr({options:{},label:{}},{modelValue:{required:!0},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=Ur(e,`modelValue`);return(n,r)=>(J(),Y(`div`,{class:`seg`,role:`radiogroup`,"aria-label":e.label},[(J(!0),Y(G,null,vr(e.options,e=>(J(),Y(`button`,{key:e.value,type:`button`,role:`radio`,"aria-checked":t.value===e.value,class:k({on:t.value===e.value}),onClick:n=>t.value=e.value},A(e.label),11,ns))),128))],8,ts))}}),[[`__scopeId`,`data-v-905b7b8f`]]),is={class:`dock`,role:`search`},as={class:`search`},os={key:1},ss={class:`row`},cs=[`aria-label`],ls=[`title`],us={class:`n`},ds={class:`of`},fs=Yo(qn({__name:`LoraDock`,props:wr({count:{},total:{},loading:{type:Boolean}},{q:{required:!0},qModifiers:{},sort:{required:!0},sortModifiers:{}}),emits:[`update:q`,`update:sort`],setup(e){let t=Ur(e,`q`),n=Ur(e,`sort`),r=[{value:`updated`,label:`Newest`},{value:`name`,label:`A–Z`},{value:`size`,label:`Size`}],i=ba(()=>r.find(e=>e.value===n.value)?.label??``);function a(){let e=r.findIndex(e=>e.value===n.value);n.value=r[(e+1)%r.length].value}let o=Ut(t.value);In(t,e=>e!==o.value&&(o.value=e));let s;In(o,e=>{clearTimeout(s),s=window.setTimeout(()=>t.value=e,120)});let c=Ut();function l(e){e.key!==`/`||e.target.closest(`input, textarea, dialog`)||(e.preventDefault(),c.value?.focus())}function u(){o.value?o.value=``:c.value?.blur()}return cr(()=>document.addEventListener(`keydown`,l)),dr(()=>document.removeEventListener(`keydown`,l)),(t,s)=>(J(),Y(G,null,[s[3]||=X(`div`,{class:`fade`,"aria-hidden":`true`},null,-1),X(`div`,is,[X(`label`,as,[Z(es,{name:`search`}),kn(X(`input`,{ref_key:`input`,ref:c,"onUpdate:modelValue":s[0]||=e=>o.value=e,type:`search`,placeholder:`Search characters`,"aria-label":`Search characters`,autocomplete:`off`,spellcheck:`false`,onKeydown:go(u,[`esc`])},null,544),[[mo,o.value]]),o.value?(J(),Y(`button`,{key:0,class:`clear`,type:`button`,"aria-label":`Clear search`,onClick:s[1]||=e=>o.value=``},[Z(es,{name:`close`})])):(J(),Y(`kbd`,os,`/`))]),X(`div`,ss,[Z(rs,{class:`sort-full`,modelValue:n.value,"onUpdate:modelValue":s[2]||=e=>n.value=e,options:r,label:`Sort`},null,8,[`modelValue`]),X(`button`,{class:`sort-cycle mono`,type:`button`,"aria-label":`Sort: ${i.value}. Tap to change`,onClick:a},A(i.value),9,cs),X(`div`,{class:`count mono`,"aria-live":`polite`,title:`${e.count} of ${e.total} LoRAs shown`},[X(`span`,us,A(e.loading?`··`:z(Ho)(e.count)),1),X(`span`,ds,`/ `+A(e.loading?`··`:z(Ho)(e.total)),1)],8,ls)])])],64))}}),[[`__scopeId`,`data-v-19ecde2b`]]),ps=[`src`,`alt`],ms=[`aria-label`],hs={class:`mono-gram`},gs=Yo(qn({__name:`LoraPreview`,props:{src:{},name:{},seedKey:{}},setup(e){let t=e,n=Ut(!1);In(()=>t.src,()=>n.value=!1);let r=ba(()=>!!t.src&&!n.value),i=ba(()=>Uo(t.seedKey)%360),a=ba(()=>t.name.replace(/[^a-z0-9]/gi,``).slice(0,2).toUpperCase());return(t,o)=>(J(),Y(`div`,{class:`portrait`,style:ue({"--h":i.value})},[r.value?(J(),Y(`img`,{key:0,src:e.src,alt:e.name,loading:`lazy`,decoding:`async`,onError:o[0]||=e=>n.value=!0},null,40,ps)):(J(),Y(`div`,{key:1,class:`ph`,role:`img`,"aria-label":`${e.name} — no preview yet`},[X(`span`,hs,A(a.value),1)],8,ms))],4))}}),[[`__scopeId`,`data-v-28885a8b`]]),_s=[`aria-label`],vs={class:`frame`},ys={key:0,class:`count mono`},bs={class:`caption`},xs={class:`meta mono`},Ss=Yo(qn({__name:`LoraCard`,props:{lora:{}},emits:[`open`],setup(e){return(t,n)=>(J(),Y(`button`,{class:`card`,type:`button`,"aria-label":`Open ${e.lora.name}`,onClick:n[0]||=e=>t.$emit(`open`)},[X(`div`,vs,[Z(gs,{src:e.lora.previews[0],name:e.lora.name,"seed-key":e.lora.id},null,8,[`src`,`name`,`seed-key`]),e.lora.previews.length>1?(J(),Y(`span`,ys,A(e.lora.previews.length)+` img`,1)):Yi(``,!0),n[1]||=X(`i`,{class:`crop tl`},null,-1),n[2]||=X(`i`,{class:`crop tr`},null,-1),n[3]||=X(`i`,{class:`crop bl`},null,-1),n[4]||=X(`i`,{class:`crop br`},null,-1)]),X(`div`,bs,[X(`h3`,null,A(e.lora.name),1),X(`div`,xs,[X(`span`,null,A(z(Bo)(e.lora.size)),1),X(`span`,null,A(z(Vo)(e.lora.updated)),1)])])],8,_s))}}),[[`__scopeId`,`data-v-e1f493ac`]]),Cs={key:0,class:`grid`},ws={key:1,class:`empty`},Ts=Yo(qn({__name:`LoraGrid`,props:{items:{}},emits:[`open`,`clear`],setup(e){return(t,n)=>e.items.length?(J(),Y(`ul`,Cs,[(J(!0),Y(G,null,vr(e.items,(e,n)=>(J(),Y(`li`,{key:e.id,style:ue({"--i":n})},[Z(Ss,{lora:e,onOpen:n=>t.$emit(`open`,e.id)},null,8,[`lora`,`onOpen`])],4))),128))])):(J(),Y(`div`,ws,[n[1]||=X(`span`,{class:`eyebrow`},`No match`,-1),n[2]||=X(`p`,null,`Nobody by that name in this model.`,-1),X(`button`,{class:`btn`,type:`button`,onClick:n[0]||=e=>t.$emit(`clear`)},`Clear search`)]))}}),[[`__scopeId`,`data-v-ae6be0e2`]]),Es={key:0,class:`sheet`},Ds={class:`head`},Os={class:`eyebrow`},ks={class:`body`},As={class:`frame`},js={key:0,class:`thumbs`},Ms=[`aria-label`,`onClick`],Ns={key:1,class:`hint mono`},Ps={class:`rows`},Fs={class:`eyebrow`},Is={class:`mono`},Ls=[`aria-label`,`onClick`],Rs={key:2,class:`commit mono`},zs={class:`actions`},Bs=[`href`],Vs=[`href`],Hs=Yo(qn({__name:`LoraDetail`,props:{lora:{}},emits:[`close`],setup(e,{emit:t}){let n=e,r=t,i=Ut(),a=Ut(0),o=Ut(null);In(()=>n.lora,async e=>{await hn(),a.value=0,e&&!i.value?.open&&i.value?.showModal(),!e&&i.value?.open&&i.value.close()},{immediate:!0});let s=ba(()=>{let e=n.lora;return e?[{k:`Base model`,v:e.model},{k:`File`,v:e.file,copy:!0},{k:`Size`,v:Bo(e.size)},{k:`Updated`,v:Vo(e.updated)},{k:`SHA256`,v:e.sha256?`${e.sha256.slice(0,16)}…`:`—`,copyValue:e.sha256??void 0}]:[]});async function c(e){try{await navigator.clipboard.writeText(e)}catch{return}o.value=e,setTimeout(()=>o.value===e&&(o.value=null),1400)}function l(e){e.target===i.value&&r(`close`)}return(t,n)=>(J(),Y(`dialog`,{ref_key:`dialog`,ref:i,onClose:n[1]||=e=>r(`close`),onClick:l},[e.lora?(J(),Y(`article`,Es,[X(`header`,Ds,[X(`span`,Os,A(e.lora.model)+` / LoRA`,1),X(`button`,{class:`x`,type:`button`,"aria-label":`Close`,onClick:n[0]||=e=>r(`close`)},[Z(es,{name:`close`})])]),X(`div`,ks,[X(`div`,As,[Z(gs,{class:`hero`,src:e.lora.previews[a.value],name:e.lora.name,"seed-key":e.lora.id},null,8,[`src`,`name`,`seed-key`])]),e.lora.previews.length>1?(J(),Y(`div`,js,[(J(!0),Y(G,null,vr(e.lora.previews,(t,n)=>(J(),Y(`button`,{key:t,type:`button`,class:k({on:n===a.value}),"aria-label":`Preview ${n+1}`,onClick:e=>a.value=n},[Z(gs,{src:t,name:e.lora.name,"seed-key":e.lora.id},null,8,[`src`,`name`,`seed-key`])],10,Ms))),128))])):e.lora.previews.length?Yi(``,!0):(J(),Y(`p`,Ns,`No preview images yet`)),X(`h2`,null,A(e.lora.name),1),X(`dl`,Ps,[(J(!0),Y(G,null,vr(s.value,e=>(J(),Y(`div`,{key:e.k},[X(`dt`,Fs,A(e.k),1),X(`dd`,Is,[X(`span`,null,A(e.v),1),e.copy||e.copyValue?(J(),Y(`button`,{key:0,class:`copy`,type:`button`,"aria-label":`Copy ${e.k}`,onClick:t=>c(e.copyValue??e.v)},[Z(es,{name:o.value===(e.copyValue??e.v)?`check`:`copy`},null,8,[`name`])],8,Ls)):Yi(``,!0)])]))),128))]),e.lora.commitTitle?(J(),Y(`p`,Rs,`“`+A(e.lora.commitTitle)+`”`,1)):Yi(``,!0)]),X(`footer`,zs,[X(`a`,{class:`btn primary`,href:z(Do).download(z($).repo,e.lora.id,z($).revision)},[Z(es,{name:`download`}),n[2]||=Ji(` Download `,-1)],8,Bs),X(`a`,{class:`btn`,href:z(Do).blob(z($).repo,e.lora.id,z($).revision),target:`_blank`,rel:`noopener`},[n[3]||=Ji(` Hub `,-1),Z(es,{name:`external`})],8,Vs)])])):Yi(``,!0)],544))}}),[[`__scopeId`,`data-v-3cdfd25a`]]),Us={class:`top`},Ws={class:`wrap bar`},Gs=[`href`],Ks={class:`word`},qs={class:`wrap content`},Js={class:`hero`},Ys={key:0,class:`notice`},Xs={key:1,class:`skeleton`,"aria-label":`Loading`};bo(Yo(qn({__name:`App`,setup(e){let{models:t,loras:n,loading:r,error:i}=Po(),{filters:a,openId:o,openLora:s,results:c}=zo(t,n),l=ba(()=>t.value.find(e=>e.id===a.model)?.count??0);return(e,n)=>(J(),Y(G,null,[X(`header`,Us,[X(`div`,Ws,[X(`a`,{class:`brand`,href:z(Do).repo(z($).repo),target:`_blank`,rel:`noopener`},[n[6]||=X(`span`,{class:`mark`,"aria-hidden":`true`},null,-1),X(`span`,Ks,A(z($).repo.split(`/`)[0]),1),n[7]||=X(`span`,{class:`eyebrow`},`LoRA index`,-1)],8,Gs),Z(Xo,{modelValue:z(a).model,"onUpdate:modelValue":n[0]||=e=>z(a).model=e,models:z(t)},null,8,[`modelValue`,`models`])]),Z(Qo)]),X(`main`,qs,[X(`section`,Js,[n[8]||=X(`span`,{class:`eyebrow`},`Base model`,-1),X(`h1`,null,A(z(a).model||`\xA0`),1)]),z(i)?(J(),Y(`p`,Ys,A(z(i)),1)):z(r)?(J(),Y(`ul`,Xs,[(J(),Y(G,null,vr(6,e=>X(`li`,{key:e})),64))])):(J(),Bi(Ts,{key:2,items:z(c),onOpen:n[1]||=e=>o.value=e,onClear:n[2]||=e=>z(a).q=``},null,8,[`items`]))]),Z(fs,{q:z(a).q,"onUpdate:q":n[3]||=e=>z(a).q=e,sort:z(a).sort,"onUpdate:sort":n[4]||=e=>z(a).sort=e,count:z(c).length,total:l.value,loading:z(r)},null,8,[`q`,`sort`,`count`,`total`,`loading`]),Z(Hs,{lora:z(s),onClose:n[5]||=e=>o.value=``},null,8,[`lora`])],64))}}),[[`__scopeId`,`data-v-73ee5330`]])).mount(`#app`);
 
 
 
dist/assets/index-Djbtcm0O.js ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ (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 e(e){let t=Object.create(null);for(let n of e.split(`,`))t[n]=1;return e=>e in t}var t={},n=[],r=()=>{},i=()=>!1,a=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),o=e=>e.startsWith(`onUpdate:`),s=Object.assign,c=(e,t)=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)},l=Object.prototype.hasOwnProperty,u=(e,t)=>l.call(e,t),d=Array.isArray,f=e=>x(e)===`[object Map]`,p=e=>x(e)===`[object Set]`,m=e=>x(e)===`[object Date]`,h=e=>typeof e==`function`,g=e=>typeof e==`string`,_=e=>typeof e==`symbol`,v=e=>typeof e==`object`&&!!e,y=e=>(v(e)||h(e))&&h(e.then)&&h(e.catch),b=Object.prototype.toString,x=e=>b.call(e),ee=e=>x(e).slice(8,-1),S=e=>x(e)===`[object Object]`,C=e=>g(e)&&e!==`NaN`&&e[0]!==`-`&&``+parseInt(e,10)===e,te=e(`,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,w=ne(e=>e.replace(re,e=>e.slice(1).toUpperCase())),ie=/\B([A-Z])/g,T=ne(e=>e.replace(ie,`-$1`).toLowerCase()),ae=ne(e=>e.charAt(0).toUpperCase()+e.slice(1)),oe=ne(e=>e?`on${ae(e)}`:``),E=(e,t)=>!Object.is(e,t),se=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},D=(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,ue=()=>le||=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:{};function de(e){if(d(e)){let t={};for(let n=0;n<e.length;n++){let r=e[n],i=g(r)?he(r):de(r);if(i)for(let e in i)t[e]=i[e]}return t}if(g(e)||v(e))return e}var fe=/;(?![^(]*\))/g,pe=/:([^]+)/,me=/"(?:[^"\\]|\\[^])*"|'(?:[^'\\]|\\[^])*'|\\[^]|\/\*[^]*?\*\//g;function he(e){let t={};return e.replace(me,e=>e.startsWith(`/*`)?``:e).split(fe).forEach(e=>{if(e){let n=e.split(pe);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function O(e){let t=``;if(g(e))t=e;else if(d(e))for(let n=0;n<e.length;n++){let r=O(e[n]);r&&(t+=r+` `)}else if(v(e))for(let n in e)e[n]&&(t+=n+` `);return t.trim()}var ge=e(`itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,playsinline,readonly`);function _e(e){return!!e||e===``}function ve(e,t,n){if(e.length!==t.length)return!1;let r=!0;for(let i=0;r&&i<e.length;i++)r=Se(e[i],t[i],n);return r}function ye(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]&&Se(t,r[a],n)){e=a;break}if(e<0)return!1;i[e]=1}return!0}function be(e,t,n){let r=f(e),i=f(t);if(r||i||(r=p(e),i=p(t),r||i))return r&&i?ye(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||!Se(e[r],t[r],n))return!1}return String(e)===String(t)}function xe(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 Se(e,t,n){if(e===t)return!0;let r=m(e),i=m(t);return r||i?r&&i?e.getTime()===t.getTime():!1:(r=_(e),i=_(t),r||i?e===t:(r=d(e),i=d(t),r||i?r&&i?xe(e,t,n,ve):!1:(r=v(e),i=v(t),r||i?!r||!i?!1:xe(e,t,n,be):String(e)===String(t))))}var Ce=e=>!!(e&&e.__v_isRef===!0),k=e=>g(e)?e:e==null?``:d(e)||v(e)&&(e.toString===b||!h(e.toString))?Ce(e)?k(e.value):JSON.stringify(e,we,2):String(e),we=(e,t)=>Ce(t)?we(e,t.value):f(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n],r)=>(e[Te(t,r)+` =>`]=n,e),{})}:p(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>Te(e))}:_(t)?Te(t):v(t)&&!d(t)&&!S(t)?String(t):t,Te=(e,t=``)=>_(e)?`Symbol(${e.description??t})`:e,A,Ee=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&&A&&(A.active?(this.parent=A,this.index=(A.scopes||(A.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=A;try{return A=this,e()}finally{A=t}}}on(){++this._on===1&&(this.prevScope=A,A=this)}off(){if(this._on>0&&--this._on===0){if(A===this)A=this.prevScope;else{let e=A;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 De(){return A}var j,Oe=new WeakSet,ke=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,A&&(A.active?A.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Oe.has(this)&&(Oe.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Ne(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Ge(this),Ie(this);let e=j,t=M;j=this,M=!0;try{return this.fn()}finally{Le(this),j=e,M=t,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)Be(e);this.deps=this.depsTail=void 0,Ge(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Oe.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Re(this)&&this.run()}get dirty(){return Re(this)}},Ae=0,je,Me;function Ne(e,t=!1){e.flags|=8,t?(e.next=Me,Me=e):(e.next=je,je=e)}function Pe(){Ae++}function Fe(){if(--Ae>0)return;if(Me){let e=Me;for(Me=void 0;e;){let t=e.next;e.next=void 0,e.flags&=-9,e=t}}let e;for(;je;){let t=je;for(je=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 Ie(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Le(e){let t,n=e.depsTail,r=n;for(;r;){let e=r.prevDep;r.version===-1?(r===n&&(n=e),Be(r),Ve(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=e}e.deps=t,e.depsTail=n}function Re(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(ze(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function ze(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Ke)||(e.globalVersion=Ke,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Re(e))))return;e.flags|=2;let t=e.dep,n=j,r=M;j=e,M=!0;try{Ie(e);let n=e.fn(e._value);(t.version===0||E(n,e._value))&&(e.flags|=128,e._value=n,t.version++)}catch(e){throw t.version++,e}finally{j=n,M=r,Le(e),e.flags&=-3}}function Be(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)Be(e,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Ve(e){let{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}var M=!0,He=[];function Ue(){He.push(M),M=!1}function We(){let e=He.pop();M=e===void 0||e}function Ge(e){let{cleanup:t}=e;if(e.cleanup=void 0,t){let e=j;j=void 0;try{t()}finally{j=e}}}var Ke=0,qe=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}},Je=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(!j||!M||j===this.computed)return;let t=this.activeLink;if(t===void 0||t.sub!==j)t=this.activeLink=new qe(j,this),j.deps?(t.prevDep=j.depsTail,j.depsTail.nextDep=t,j.depsTail=t):j.deps=j.depsTail=t,Ye(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=j.depsTail,t.nextDep=void 0,j.depsTail.nextDep=t,j.depsTail=t,j.deps===t&&(j.deps=e)}return t}trigger(e){this.version++,Ke++,this.notify(e)}notify(e){Pe();try{for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{Fe()}}};function Ye(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)Ye(e)}let n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}var Xe=new WeakMap,Ze=Symbol(``),Qe=Symbol(``),$e=Symbol(``);function N(e,t,n){if(M&&j){let t=Xe.get(e);t||Xe.set(e,t=new Map);let r=t.get(n);r||(t.set(n,r=new Je),r.map=t,r.key=n),r.track()}}function et(e,t,n,r,i,a){let o=Xe.get(e);if(!o){Ke++;return}let s=e=>{e&&e.trigger()};if(Pe(),t===`clear`)o.forEach(s);else{let i=d(e),a=i&&C(n);if(i&&n===`length`){let e=Number(r);o.forEach((t,n)=>{(n===`length`||n===$e||!_(n)&&n>=e)&&s(t)})}else switch((n!==void 0||o.has(void 0))&&s(o.get(n)),a&&s(o.get($e)),t){case`add`:i?a&&s(o.get(`length`)):(s(o.get(Ze)),f(e)&&s(o.get(Qe)));break;case`delete`:i||(s(o.get(Ze)),f(e)&&s(o.get(Qe)));break;case`set`:f(e)&&s(o.get(Ze))}}Fe()}function tt(e){let t=F(e);return t===e||(N(t,`iterate`,$e),P(e))?t:Bt(e)?zt(e)?t.map(e=>Ut(I(e))):t.map(Ut):t.map(I)}function nt(e){return N(e=F(e),`iterate`,$e),e}function rt(e,t){return Bt(e)?Ut(zt(e)?I(t):t):I(t)}var it={__proto__:null,[Symbol.iterator](){return at(this,Symbol.iterator,e=>rt(this,e))},concat(...e){return tt(this).concat(...e.map(e=>d(e)?tt(e):e))},entries(){return at(this,`entries`,e=>(e[1]=rt(this,e[1]),e))},every(e,t){return ct(this,`every`,e,t,void 0,arguments)},filter(e,t){return ct(this,`filter`,e,t,e=>e.map(e=>rt(this,e)),arguments)},find(e,t){return ct(this,`find`,e,t,e=>rt(this,e),arguments)},findIndex(e,t){return ct(this,`findIndex`,e,t,void 0,arguments)},findLast(e,t){return ct(this,`findLast`,e,t,e=>rt(this,e),arguments)},findLastIndex(e,t){return ct(this,`findLastIndex`,e,t,void 0,arguments)},forEach(e,t){return ct(this,`forEach`,e,t,void 0,arguments)},includes(...e){return ut(this,`includes`,e)},indexOf(...e){return ut(this,`indexOf`,e)},join(e){return tt(this).join(e)},lastIndexOf(...e){return ut(this,`lastIndexOf`,e)},map(e,t){return ct(this,`map`,e,t,void 0,arguments)},pop(){return dt(this,`pop`)},push(...e){return dt(this,`push`,e)},reduce(e,...t){return lt(this,`reduce`,e,t)},reduceRight(e,...t){return lt(this,`reduceRight`,e,t)},shift(){return dt(this,`shift`)},some(e,t){return ct(this,`some`,e,t,void 0,arguments)},splice(...e){return dt(this,`splice`,e)},toReversed(){return tt(this).toReversed()},toSorted(e){return tt(this).toSorted(e)},toSpliced(...e){return tt(this).toSpliced(...e)},unshift(...e){return dt(this,`unshift`,e)},values(){return at(this,`values`,e=>rt(this,e))}};function at(e,t,n){let r=nt(e),i=r[t],a=i.call(r);if(r!==e&&!P(e)){if(a[Symbol.toStringTag]===`Array Iterator`){let e=Object.create(Object.getPrototypeOf(a));return e.next=()=>ot(a.next(),n),i!==st[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=()=>ot(a._next(),n)}return a}function ot(e,t){return e.done||(e.value=t(e.value)),e}var st=Array.prototype;function ct(e,t,n,r,i,a){let o=nt(e),s=o!==e&&!P(e),c=o[t];if(c!==st[t]){let t=c.apply(e,a);return s?I(t):t}let l=n;o!==e&&(s?l=function(t,r){return n.call(this,rt(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 lt(e,t,n,r){let i=nt(e),a=i!==e&&!P(e),o=n,s=!1;i!==e&&(a?(s=r.length===0,o=function(t,r,i){return s&&(s=!1,t=rt(e,t)),n.call(this,t,rt(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?rt(e,c):c}function ut(e,t,n){let r=F(e);N(r,`iterate`,$e);let i=r[t](...n);return(i===-1||i===!1)&&Vt(n[0])?(n[0]=F(n[0]),r[t](...n)):i}function dt(e,t,n=[]){Ue(),Pe();let r=F(e)[t].apply(e,n);return Fe(),We(),r}var ft=e(`__proto__,__v_isRef,__isVue`),pt=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!==`arguments`&&e!==`caller`).map(e=>Symbol[e]).filter(_));function mt(e){_(e)||(e=String(e));let t=F(this);return N(t,`has`,e),t.hasOwnProperty(e)}var ht=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?Nt:Mt:i?jt:At).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;let a=d(e);if(!r){let e;if(a&&(e=it[t]))return e;if(t===`hasOwnProperty`)return mt}let o=Reflect.get(e,t,L(e)?e:n);if((_(t)?pt.has(t):ft(t))||(r||N(e,`get`,t),i))return o;if(L(o)){let e=a&&C(t)?o:o.value;return r&&v(e)?Lt(e):e}return v(o)?r?Lt(o):Ft(o):o}},gt=class extends ht{constructor(e=!1){super(!1,e)}set(e,t,n,r){let i=e[t],a=d(e)&&C(t);if(!this._isShallow){let e=Bt(i);if(!P(n)&&!Bt(n)&&(i=F(i),n=F(n)),!a&&L(i)&&!L(n))return e||(i.value=n),!0}let o=a?Number(t)<e.length:u(e,t),s=Reflect.set(e,t,n,L(e)?e:r);return e===F(r)&&s&&(o?E(n,i)&&et(e,`set`,t,n,i):et(e,`add`,t,n)),s}deleteProperty(e,t){let n=u(e,t),r=e[t],i=Reflect.deleteProperty(e,t);return i&&n&&et(e,`delete`,t,void 0,r),i}has(e,t){let n=Reflect.has(e,t);return _(t)&&pt.has(t)||N(e,`has`,t),n}ownKeys(e){return N(e,`iterate`,d(e)?`length`:Ze),Reflect.ownKeys(e)}},_t=class extends ht{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}},vt=new gt,yt=new _t,bt=new gt(!0),xt=e=>e,St=e=>Reflect.getPrototypeOf(e);function Ct(e,t,n){return function(...r){let i=this.__v_raw,a=F(i),o=f(a),c=e===`entries`||e===Symbol.iterator&&o,l=e===`keys`&&o,u=i[e](...r),d=n?xt:t?Ut:I;return!t&&N(a,`iterate`,l?Qe:Ze),s(Object.create(u),{next(){let{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:c?[d(e[0]),d(e[1])]:d(e),done:t}}})}}function wt(e){return function(...t){return e===`delete`?!1:e===`clear`?void 0:this}}function Tt(e,t){let n={get(n){let r=this.__v_raw,i=F(r),a=F(n);e||(E(n,a)&&N(i,`get`,n),N(i,`get`,a));let{has:o}=St(i),s=t?xt:e?Ut:I;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&&N(F(t),`iterate`,Ze),t.size},has(t){let n=this.__v_raw,r=F(n),i=F(t);return e||(E(t,i)&&N(r,`has`,t),N(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=F(a),s=t?xt:e?Ut:I;return!e&&N(o,`iterate`,Ze),a.forEach((e,t)=>n.call(r,s(e),s(t),i))}};return s(n,e?{add:wt(`add`),set:wt(`set`),delete:wt(`delete`),clear:wt(`clear`)}:{add(e){let n=F(this),r=St(n),i=F(e),a=!t&&!P(e)&&!Bt(e)?i:e;return r.has.call(n,a)||E(e,a)&&r.has.call(n,e)||E(i,a)&&r.has.call(n,i)||(n.add(a),et(n,`add`,a,a)),this},set(e,n){t||P(n)||Bt(n)||(n=F(n));let r=F(this),{has:i,get:a}=St(r),o=i.call(r,e);o||=(e=F(e),i.call(r,e));let s=a.call(r,e);return r.set(e,n),o?E(n,s)&&et(r,`set`,e,n,s):et(r,`add`,e,n),this},delete(e){let t=F(this),{has:n,get:r}=St(t),i=n.call(t,e);i||=(e=F(e),n.call(t,e));let a=r?r.call(t,e):void 0,o=t.delete(e);return i&&et(t,`delete`,e,void 0,a),o},clear(){let e=F(this),t=e.size!==0,n=e.clear();return t&&et(e,`clear`,void 0,void 0,void 0),n}}),[`keys`,`values`,`entries`,Symbol.iterator].forEach(r=>{n[r]=Ct(r,e,t)}),n}function Et(e,t){let n=Tt(e,t);return(r,i,a)=>i===`__v_isReactive`?!e:i===`__v_isReadonly`?e:i===`__v_isShallow`?t:i===`__v_raw`?r:Reflect.get(u(n,i)&&i in r?n:r,i,a)}var Dt={get:Et(!1,!1)},Ot={get:Et(!1,!0)},kt={get:Et(!0,!1)},At=new WeakMap,jt=new WeakMap,Mt=new WeakMap,Nt=new WeakMap;function Pt(e){switch(e){case`Object`:case`Array`:return 1;case`Map`:case`Set`:case`WeakMap`:case`WeakSet`:return 2;default:return 0}}function Ft(e){return Bt(e)?e:Rt(e,!1,vt,Dt,At)}function It(e){return Rt(e,!1,bt,Ot,jt)}function Lt(e){return Rt(e,!0,yt,kt,Mt)}function Rt(e,t,n,r,i){if(!v(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=Pt(ee(e));if(o===0)return e;let s=new Proxy(e,o===2?r:n);return i.set(e,s),s}function zt(e){return Bt(e)?zt(e.__v_raw):!!(e&&e.__v_isReactive)}function Bt(e){return!!(e&&e.__v_isReadonly)}function P(e){return!!(e&&e.__v_isShallow)}function Vt(e){return e?!!e.__v_raw:!1}function F(e){let t=e&&e.__v_raw;return t?F(t):e}function Ht(e){return!u(e,`__v_skip`)&&Object.isExtensible(e)&&D(e,`__v_skip`,!0),e}var I=e=>v(e)?Ft(e):e,Ut=e=>v(e)?Lt(e):e;function L(e){return e?e.__v_isRef===!0:!1}function R(e){return Gt(e,!1)}function Wt(e){return Gt(e,!0)}function Gt(e,t){return L(e)?e:new Kt(e,t)}var Kt=class{constructor(e,t){this.dep=new Je,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:F(e),this._value=t?e:I(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){let t=this._rawValue,n=this.__v_isShallow||P(e)||Bt(e);e=n?e:F(e),E(e,t)&&(this._rawValue=e,this._value=n?e:I(e),this.dep.trigger())}};function z(e){return L(e)?e.value:e}var qt={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 Jt(e){return zt(e)?e:new Proxy(e,qt)}var Yt=class{constructor(e){this.__v_isRef=!0,this._value=void 0;let t=this.dep=new Je,{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 Xt(e){return new Yt(e)}var Zt=class{constructor(e,t,n){this.fn=e,this.setter=t,this._value=void 0,this.dep=new Je(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Ke-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&j!==this)return Ne(this,!0),!0}get value(){let e=this.dep.track();return ze(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}};function Qt(e,t,n=!1){let r,i;return h(e)?r=e:(r=e.get,i=e.set),new Zt(r,i,n)}var $t={},en=new WeakMap,tn=void 0;function nn(e,t=!1,n=tn){if(n){let t=en.get(n);t||en.set(n,t=[]),t.push(e)}}function rn(e,n,i=t){let{immediate:a,deep:o,once:s,scheduler:l,augmentJob:u,call:f}=i,p=e=>o?e:P(e)||o===!1||o===0?an(e,1):an(e),m,g,_,v,y=!1,b=!1;if(L(e)?(g=()=>e.value,y=P(e)):zt(e)?(g=()=>p(e),y=!0):d(e)?(b=!0,y=e.some(e=>zt(e)||P(e)),g=()=>e.map(e=>{if(L(e))return e.value;if(zt(e))return p(e);if(h(e))return f?f(e,2):e()})):g=h(e)?n?f?()=>f(e,2):e:()=>{if(_){Ue();try{_()}finally{We()}}let t=tn;tn=m;try{return f?f(e,3,[v]):e(v)}finally{tn=t}}:r,n&&o){let e=g,t=o===!0?1/0:o;g=()=>an(e(),t)}let x=De(),ee=()=>{m.stop(),x&&x.active&&c(x.effects,m)};if(s&&n){let e=n;n=(...t)=>{try{return e(...t)}finally{ee()}}}let S=b?Array(e.length).fill($t):$t,C=e=>{if(m.flags&1&&(m.dirty||e)){if(n){let t=m.run();if(e||o||y||(b?t.some((e,t)=>E(e,S[t])):E(t,S))){let e=tn;Ue();try{_&&_(),tn=m;let e=[t,S===$t?void 0:b&&S[0]===$t?[]:S,v];S=t,f?f(n,3,e):n(...e)}finally{tn=e,We()}}}else m.run()}};return u&&u(C),m=new ke(g),m.scheduler=l?()=>l(C,!1):C,v=e=>nn(e,!1,m),_=m.onStop=()=>{let e=en.get(m);if(e){if(f)f(e,4);else for(let t of e)t();en.delete(m)}},n?a?C(!0):S=m.run():l?l(C.bind(null,!0),!0):m.run(),ee.pause=m.pause.bind(m),ee.resume=m.resume.bind(m),ee.stop=ee,ee}function an(e,t=1/0,n){if(t<=0||!v(e)||e.__v_skip||(n||=new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,L(e))an(e.value,t,n);else if(d(e))for(let r=0;r<e.length;r++)an(e[r],t,n);else if(p(e)||f(e))e.forEach(e=>{an(e,t,n)});else if(S(e)){for(let r in e)an(e[r],t,n);for(let r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&an(e[r],t,n)}return e}function on(e,t,n,r){try{return r?e(...r):e()}catch(e){cn(e,t,n)}}function sn(e,t,n,r){if(h(e)){let i=on(e,t,n,r);return i&&y(i)&&i.catch(e=>{cn(e,t,n)}),i}if(d(e)){let i=[];for(let a=0;a<e.length;a++)i.push(sn(e[a],t,n,r));return i}}function cn(e,n,r,i=!0){let a=n?n.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:s}=n&&n.appContext.config||t;if(n){let t=n.parent,i=n.proxy,a=`https://vuejs.org/error-reference/#runtime-${r}`;for(;t;){let n=t.ec;if(n){for(let t=0;t<n.length;t++)if(n[t](e,i,a)===!1)return}t=t.parent}if(o){Ue(),on(o,null,10,[e,i,a]),We();return}}ln(e,r,a,i,s)}function ln(e,t,n,r=!0,i=!1){if(i)throw e;console.error(e)}var B=[],V=-1,un=[],dn=null,fn=0,pn=Promise.resolve(),mn=null;function hn(e){let t=mn||pn;return e?t.then(this?e.bind(this):e):t}function gn(e){let t=V+1,n=B.length;for(;t<n;){let r=t+n>>>1,i=B[r],a=wn(i);a<e||a===e&&i.flags&2?t=r+1:n=r}return t}function _n(e){if(!(e.flags&1)){let t=wn(e),n=B[B.length-1];!n||!(e.flags&2)&&t>=wn(n)?B.push(e):B.splice(gn(t),0,e),e.flags|=1,vn()}}function vn(){mn||=pn.then(Tn)}function yn(e){if(!d(e))dn&&e.id===-1?dn.splice(fn+1,0,e):e.flags&1||(un.push(e),e.flags|=1);else for(let t=0;t<e.length;t++)un.push(e[t]);vn()}function bn(e,t,n,r=V+1){for(;r<B.length;r++){let n=B[r];if(n&&n.flags&2){if(e&&n.id!==e.uid||t!==void 0&&!(n.id>=t))continue;B.splice(r,1),r=e?r-1:V,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function xn(e,t,n=0){if(un.length){let e=un,r=0;if(t){e=[];for(let i=0;i<un.length;i++){let a=un[i];(a.i===void 0?t.has(a):!a.i||a.i.uid<n)?un[r++]=a:e.push(a)}}let i=[...new Set(e)].sort((e,t)=>wn(e)-wn(t));if(un.length=r,dn){for(let e=0;e<i.length;e++)dn.push(i[e]);return}for(dn=i,fn=0;fn<dn.length;fn++){let e=dn[fn];e.flags&4&&(e.flags&=-2),e.flags&8||e(),e.flags&=-2}dn=null,fn=0}}var Sn=!1;function Cn(e,t){if(Sn){e();return}let n=t===void 0?void 0:new Set(un);e(),Sn=!0;try{bn(void 0,t),xn(void 0,n,t)}finally{Sn=!1}}var wn=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Tn(e){try{for(V=0;V<B.length;V++){let e=B[V];e&&!(e.flags&8)&&(e.flags&4&&(e.flags&=-2),on(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2))}}finally{for(;V<B.length;V++){let e=B[V];e&&(e.flags&=-2)}V=-1,B.length=0,xn(e),mn=null,(B.length||un.length)&&Tn(e)}}var H=null,En=null;function Dn(e){let t=H;return H=e,En=e&&e.type.__scopeId||null,t}function On(e,t=H,n){if(!t||e._n)return e;let r=(...n)=>{r._d&&Ri(-1);let i=Dn(t),a=Fi.length,o;try{o=e(...n)}finally{for(let e=Fi.length;e>a;e--)Ii();Dn(i),r._d&&Ri(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function kn(e,n){if(H===null)return e;let r=va(H),i=e.dirs||=[];for(let e=0;e<n.length;e++){let[a,o,s,c=t]=n[e];a&&(h(a)&&(a={mounted:a,updated:a}),a.deep&&an(o),i.push({dir:a,instance:r,value:o,oldValue:void 0,arg:s,modifiers:c}))}return e}function An(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&&(Ue(),sn(c,n,8,[e.el,s,e,t]),We())}}function jn(e,t){if(Q){let n=Q.provides,r=Q.parent&&Q.parent.provides;r===n&&(n=Q.provides=Object.create(r)),n[e]=t}}function Mn(e,t,n=!1){let r=aa();if(r||Hr){let i=Hr?Hr._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&&h(t)?t.call(r&&r.proxy):t}}var Nn=Symbol.for(`v-scx`),Pn=()=>Mn(Nn);function Fn(e,t){return Ln(e,null,{flush:`sync`})}function In(e,t,n){return Ln(e,t,n)}function Ln(e,n,i=t){let{immediate:a,deep:o,flush:c,once:l}=i,u=s({},i),d=n&&a||!n&&c!==`post`,f;if(da){if(c===`sync`){let e=Pn();f=e.__watcherHandles||=[]}else if(!d){let e=()=>{};return e.stop=r,e.resume=r,e.pause=r,e}}let p=Q;u.call=(e,t,n)=>sn(e,p,t,n);let m=!1;c===`post`?u.scheduler=e=>{e.i=p,W(e,p&&p.suspense)}:c!==`sync`&&(m=!0,u.scheduler=(e,t)=>{t?e():_n(e)}),u.augmentJob=e=>{n&&(e.flags|=4),m&&(e.flags|=2,p&&(e.id=p.uid,e.i=p))};let h=rn(e,n,u);return da&&(f?f.push(h):d&&h()),h}function Rn(e,t,n){let r=this.proxy,i=g(e)?e.includes(`.`)?zn(r,e):()=>r[e]:e.bind(r,r),a;h(t)?a=t:(a=t.handler,n=t);let o=ca(this),s=Ln(i,a.bind(r),n);return o(),s}function zn(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 Bn=Symbol(`_vte`),Vn=e=>e.__isTeleport,Hn=Symbol(`_leaveCb`);function Un(e){let t=e[0];if(e.length>1){for(let n of e)if(n.type!==K){t=n;break}}return t}function Wn(e){if(!er(e))return Vn(e.type)&&e.children?Un(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&&h(n.default))return n.default()}}function Gn(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;let n=e.component.subTree;Gn(Vn(n.type)&&Wn(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===G&&d(e.children)){let n=Xr(e.children,!1);n&&Gn(n,t)}}function Kn(e){if(e.component)return Kn(e.component.subTree);if(e.type===G){let t=d(e.children)&&Xr(e.children,!1);return t?Kn(t):void 0}if(e.type!==K)return e}function qn(e,t){return h(e)?s({name:e.name},t,{setup:e}):e}function Jn(e){e.ids=[e.ids[0]+e.ids[2]+++`-`,0,0]}function Yn(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}var Xn=new WeakMap;function Zn(e,n,r,a,o=!1){if(d(e)){e.forEach((e,t)=>Zn(e,n&&(d(n)?n[t]:n),r,a,o));return}if($n(a)&&!o){a.shapeFlag&512&&a.type.__asyncResolved&&a.component.subTree.component&&Zn(e,n,r,a.component.subTree);return}let s=a.shapeFlag&4?va(a.component):a.el,l=o?null:s,{i:f,r:p}=e,m=n&&n.r,_=f.refs===t?f.refs={}:f.refs,v=f.setupState,y=F(v),b=v===t?i:e=>!Yn(_,e)&&u(y,e),x=(e,t)=>!(t&&Yn(_,t));if(m!=null&&m!==p){if(Qn(n),g(m))_[m]=null,b(m)&&(v[m]=null);else if(L(m)){let e=n;x(m,e.k)&&(m.value=null),e.k&&(_[e.k]=null)}}if(h(p))on(p,f,12,[l,_]);else{let t=g(p),n=L(p);if(t||n){let i=()=>{if(e.f){let n=t?b(p)?v[p]:_[p]:x(p)||!e.k?p.value:_[e.k];if(o)d(n)&&c(n,s);else if(d(n))n.includes(s)||n.push(s);else if(t)_[p]=[s],b(p)&&(v[p]=_[p]);else{let t=[s];x(p,e.k)&&(p.value=t),e.k&&(_[e.k]=t)}}else t?(_[p]=l,b(p)&&(v[p]=l)):n&&(x(p,e.k)&&(p.value=l),e.k&&(_[e.k]=l))};if(l){let t=()=>{i(),Xn.delete(e)};t.id=-1,Xn.set(e,t),W(t,r)}else Qn(e),i()}}}function Qn(e){let t=Xn.get(e);t&&(t.flags|=8,Xn.delete(e))}ue().requestIdleCallback,ue().cancelIdleCallback;var $n=e=>!!e.type.__asyncLoader,er=e=>e.type.__isKeepAlive;function tr(e,t){rr(e,`a`,t)}function nr(e,t){rr(e,`da`,t)}function rr(e,t,n=Q){let r=e.__wdc||=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()};if(ar(t,r,n),n){let e=n.parent;for(;e&&e.parent;)er(e.parent.vnode)&&ir(r,t,n,e),e=e.parent}}function ir(e,t,n,r){let i=ar(t,e,r,!0);fr(()=>{c(r[t],i)},n)}function ar(e,t,n=Q,r=!1){if(n){let i=n[e]||(n[e]=[]),a=t.__weh||=(...r)=>{Ue();let i=ca(n),a=sn(t,n,e,r);return i(),We(),a};return r?i.unshift(a):i.push(a),a}}var or=e=>(t,n=Q)=>{da&&e!==`sp`||ar(e,(...e)=>t(...e),n)},sr=or(`bm`),cr=or(`m`),lr=or(`bu`),ur=or(`u`),dr=or(`bum`),fr=or(`um`),pr=or(`sp`),mr=or(`rtg`),hr=or(`rtc`);function gr(e,t=Q){ar(`ec`,e,t)}var _r=Symbol.for(`v-ndc`);function vr(e,t,n,r){let i,a=n&&n[r],o=d(e);if(o||g(e)){let n=o&&zt(e),r=!1,s=!1;n&&(r=!P(e),s=Bt(e),e=nt(e)),i=Array(e.length);for(let n=0,o=e.length;n<o;n++)i[n]=t(r?s?Ut(I(e[n])):I(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(v(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}var yr=e=>e?ua(e)?va(e):yr(e.parent):null,br=s(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=>yr(e.parent),$root:e=>yr(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Ar(e),$forceUpdate:e=>e.f||=()=>{_n(e.update)},$nextTick:e=>e.n||=hn.bind(e.proxy),$watch:e=>Rn.bind(e)}),xr=(e,n)=>e!==t&&!e.__isScriptSetup&&u(e,n),Sr={get({_:e},n){if(n===`__v_skip`)return!0;let{ctx:r,setupState:i,data:a,props:o,accessCache:s,type:c,appContext:l}=e;if(n[0]!==`$`){let e=s[n];if(e!==void 0)switch(e){case 1:return i[n];case 2:return a[n];case 4:return r[n];case 3:return o[n]}else if(xr(i,n))return s[n]=1,i[n];else if(a!==t&&u(a,n))return s[n]=2,a[n];else if(u(o,n))return s[n]=3,o[n];else if(r!==t&&u(r,n))return s[n]=4,r[n];else Tr&&(s[n]=0)}let d=br[n],f,p;if(d)return n===`$attrs`&&N(e.attrs,`get`,``),d(e);if((f=c.__cssModules)&&(f=f[n]))return f;if(r!==t&&u(r,n))return s[n]=4,r[n];if(p=l.config.globalProperties,u(p,n))return p[n]},set({_:e},n,r){let{data:i,setupState:a,ctx:o}=e;return xr(a,n)?(a[n]=r,!0):i!==t&&u(i,n)?(i[n]=r,!0):u(e.props,n)||n[0]===`$`&&n.slice(1)in e?!1:(o[n]=r,!0)},has({_:{data:e,setupState:n,accessCache:r,ctx:i,appContext:a,props:o,type:s}},c){let l;return!!(r[c]||e!==t&&c[0]!==`$`&&u(e,c)||xr(n,c)||u(o,c)||u(i,c)||u(br,c)||u(a.config.globalProperties,c)||(l=s.__cssModules)&&l[c])},defineProperty(e,t,n){return n.get==null?u(n,`value`)&&this.set(e,t,n.value,null):e._.accessCache[t]=0,Reflect.defineProperty(e,t,n)}};function Cr(e){return d(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}function wr(e,t){return!e||!t?e||t:d(e)&&d(t)?e.concat(t):s({},Cr(e),Cr(t))}var Tr=!0;function Er(e){let t=Ar(e),n=e.proxy,i=e.ctx;Tr=!1,t.beforeCreate&&Or(t.beforeCreate,e,`bc`);let{data:a,computed:o,methods:s,watch:c,provide:l,inject:u,created:f,beforeMount:p,mounted:m,beforeUpdate:g,updated:_,activated:y,deactivated:b,beforeDestroy:x,beforeUnmount:ee,destroyed:S,unmounted:C,render:te,renderTracked:ne,renderTriggered:re,errorCaptured:w,serverPrefetch:ie,expose:T,inheritAttrs:ae,components:oe,directives:E,filters:se}=t;if(u&&Dr(u,i,null),s)for(let e in s){let t=s[e];h(t)&&(i[e]=t.bind(n))}if(a){let t=a.call(n,n);v(t)&&(e.data=Ft(t))}if(Tr=!0,o)for(let e in o){let t=o[e],a=ba({get:h(t)?t.bind(n,n):h(t.get)?t.get.bind(n,n):r,set:!h(t)&&h(t.set)?t.set.bind(n):r});Object.defineProperty(i,e,{enumerable:!0,configurable:!0,get:()=>a.value,set:e=>a.value=e})}if(c)for(let e in c)kr(c[e],i,n,e);if(l){let e=h(l)?l.call(n):l;Reflect.ownKeys(e).forEach(t=>{jn(t,e[t])})}f&&Or(f,e,`c`);function D(e,t){d(t)?t.forEach(t=>e(t.bind(n))):t&&e(t.bind(n))}if(D(sr,p),D(cr,m),D(lr,g),D(ur,_),D(tr,y),D(nr,b),D(gr,w),D(hr,ne),D(mr,re),D(dr,ee),D(fr,C),D(pr,ie),d(T)){if(T.length){let t=e.exposed||={};T.forEach(e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t,enumerable:!0})})}else e.exposed||={}}te&&e.render===r&&(e.render=te),ae!=null&&(e.inheritAttrs=ae),oe&&(e.components=oe),E&&(e.directives=E),ie&&Jn(e)}function Dr(e,t,n=r){d(e)&&(e=Fr(e));for(let n in e){let r=e[n],i;i=v(r)?`default`in r?Mn(r.from||n,r.default,!0):Mn(r.from||n):Mn(r),L(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e}):t[n]=i}}function Or(e,t,n){sn(d(e)?e.map(e=>e.bind(t.proxy)):e.bind(t.proxy),t,n)}function kr(e,t,n,r){let i=r.includes(`.`)?zn(n,r):()=>n[r];if(g(e)){let n=t[e];h(n)&&In(i,n)}else if(h(e))In(i,e.bind(n));else if(v(e)){if(d(e))e.forEach(e=>kr(e,t,n,r));else{let r=h(e.handler)?e.handler.bind(n):t[e.handler];h(r)&&In(i,r,e)}}}function Ar(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=>jr(c,e,o,!0)),jr(c,t,o)),v(t)&&a.set(t,c),c}function jr(e,t,n,r=!1){let{mixins:i,extends:a}=t;a&&jr(e,a,n,!0),i&&i.forEach(t=>jr(e,t,n,!0));for(let i in t)if(!(r&&i===`expose`)){let r=Mr[i]||n&&n[i];e[i]=r?r(e[i],t[i]):t[i]}return e}var Mr={data:Nr,props:Lr,emits:Lr,methods:Ir,computed:Ir,beforeCreate:U,created:U,beforeMount:U,mounted:U,beforeUpdate:U,updated:U,beforeDestroy:U,beforeUnmount:U,destroyed:U,unmounted:U,activated:U,deactivated:U,errorCaptured:U,serverPrefetch:U,components:Ir,directives:Ir,watch:Rr,provide:Nr,inject:Pr};function Nr(e,t){return t?e?function(){return s(h(e)?e.call(this,this):e,h(t)?t.call(this,this):t)}:t:e}function Pr(e,t){return Ir(Fr(e),Fr(t))}function Fr(e){if(d(e)){let t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function U(e,t){return e?[...new Set([].concat(e,t))]:t}function Ir(e,t){return e?s(Object.create(null),e,t):t}function Lr(e,t){return e?d(e)&&d(t)?[...new Set([...e,...t])]:s(Object.create(null),Cr(e),Cr(t??{})):t}function Rr(e,t){if(!e)return t;if(!t)return e;let n=s(Object.create(null),e);for(let r in t)n[r]=U(e[r],t[r]);return n}function zr(){return{app:null,config:{isNativeTag:i,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 Br=0;function Vr(e,t){return function(n,r=null){h(n)||(n=s({},n)),r!=null&&!v(r)&&(r=null);let i=zr(),a=new WeakSet,o=[],c=!1,l=i.app={_uid:Br++,_component:n,_props:r,_container:null,_context:i,_instance:null,version:xa,get config(){return i.config},set config(e){},use(e,...t){return a.has(e)||(e&&h(e.install)?(a.add(e),e.install(l,...t)):h(e)&&(a.add(e),e(l,...t))),l},mixin(e){return i.mixins.includes(e)||i.mixins.push(e),l},component(e,t){return t?(i.components[e]=t,l):i.components[e]},directive(e,t){return t?(i.directives[e]=t,l):i.directives[e]},mount(a,o,s){if(!c){let u=l._ceVNode||Z(n,r);return u.appContext=i,s===!0?s=`svg`:s===!1&&(s=void 0),o&&t?t(u,a):e(u,a,s),c=!0,l._container=a,a.__vue_app__=l,va(u.component)}},onUnmount(e){o.push(e)},unmount(){c&&(sn(o,l._instance,16),e(null,l._container),delete l._container.__vue_app__)},provide(e,t){return i.provides[e]=t,l},runWithContext(e){let t=Hr;Hr=l;try{return e()}finally{Hr=t}}};return l}}var Hr=null;function Ur(e,n,r=t){let i=aa(),a=w(n),o=T(n),s=Wr(e,a),c=Xt((s,c)=>{let l,u=t,d;return Fn(()=>{let t=e[a];E(l,t)&&(l=t,c())}),{get(){return s(),r.get?r.get(l):l},set(e){let s=r.set?r.set(e):e;if(!E(s,l)&&!(u!==t&&E(e,u)))return;let f=i.vnode.props,p=!!(f&&(n in f||a in f||o in f)&&(`onUpdate:${n}`in f||`onUpdate:${a}`in f||`onUpdate:${o}`in f));p||(l=e,c()),i.emit(`update:${n}`,s),E(e,u)&&(E(e,s)&&!E(s,d)||p&&u!==t&&!E(s,l))&&c(),u=e,d=s}}});return c[Symbol.iterator]=()=>{let e=0;return{next(){return e<2?{value:e++?s||t:c,done:!1}:{done:!0}}}},c}var Wr=(e,t)=>t===`modelValue`||t===`model-value`?e.modelModifiers:e[`${t}Modifiers`]||e[`${w(t)}Modifiers`]||e[`${T(t)}Modifiers`];function Gr(e,n,...r){if(e.isUnmounted)return;let i=e.vnode.props||t,a=r,o=n.startsWith(`update:`),s=o&&Wr(i,n.slice(7));s&&(s.trim&&(a=r.map(e=>g(e)?e.trim():e)),s.number&&(a=a.map(ce)));let c,l=i[c=oe(n)]||i[c=oe(w(n))];!l&&o&&(l=i[c=oe(T(n))]),l&&sn(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,sn(u,e,6,a)}}var Kr=new WeakMap;function qr(e,t,n=!1){let r=n?Kr:t.emitsCache,i=r.get(e);if(i!==void 0)return i;let a=e.emits,o={},c=!1;if(!h(e)){let r=e=>{let n=qr(e,t,!0);n&&(c=!0,s(o,n))};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return!a&&!c?(v(e)&&r.set(e,null),null):(d(a)?a.forEach(e=>o[e]=null):s(o,a),v(e)&&r.set(e,o),o)}function Jr(e,t){return!e||!a(t)?!1:(t=t.slice(2),t=t===`Once`?t:t.replace(/Once$/,``),u(e,t[0].toLowerCase()+t.slice(1))||u(e,T(t))||u(e,t))}function Yr(e){let{type:t,vnode:n,proxy:r,withProxy:i,propsOptions:[a],slots:s,attrs:c,emit:l,render:u,renderCache:d,props:f,data:p,setupState:m,ctx:h,inheritAttrs:g}=e,_=Dn(e),v,y;try{if(n.shapeFlag&4){let e=i||r,t=e;v=Xi(u.call(t,e,d,f,m,p,h)),y=c}else{let e=t;v=Xi(e.length>1?e(f,{attrs:c,slots:s,emit:l}):e(f,null)),y=t.props?c:Zr(c)}}catch(t){Fi.length=0,cn(t,e,1),v=Z(K)}let b=v;if(y&&g!==!1){let e=Object.keys(y),{shapeFlag:t}=b;e.length&&t&7&&(a&&e.some(o)&&(y=Qr(y,a)),b=qi(b,y,!1,!0))}return n.dirs&&(b=qi(b,null,!1,!0),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&Gn(Vn(b.type)&&Wn(b)||b,n.transition),v=b,Dn(_),v}function Xr(e,t=!0){let n;for(let t=0;t<e.length;t++){let r=e[t];if(Vi(r)){if(r.type!==K||r.children===`v-if`){if(n)return;n=r}}else return}return n}var Zr=e=>{let t;for(let n in e)(n===`class`||n===`style`||a(n))&&((t||={})[n]=e[n]);return t},Qr=(e,t)=>{let n={};for(let r in e)o(r)&&r.slice(9)in t||(n[r]=e[r]);return n};function $r(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?ei(r,o,l):!!o;if(c&8){let e=t.dynamicProps;for(let t=0;t<e.length;t++){let n=e[t];if(ti(o,r,n)&&!Jr(l,n))return!0}}}else return(i||s)&&(!s||!s.$stable)?!0:r===o?!1:r?!o||ei(r,o,l):!!o;return!1}function ei(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(!u(e,a)||ti(t,e,a)&&!Jr(n,a))return!0}return!1}function ti(e,t,n){let r=e[n],i=t[n];return n===`style`&&v(r)&&v(i)?!Se(r,i):r!==i}function ni({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 ri={},ii=()=>Object.create(ri),ai=e=>Object.getPrototypeOf(e)===ri;function oi(e,t,n,r=!1){let i={},a=ii();e.propsDefaults=Object.create(null),ci(e,t,i,a);for(let t in e.propsOptions[0])t in i||(i[t]=void 0);e.props=n?r?i:It(i):e.type.props?i:a,e.attrs=a}function si(e,t,n,r){let{props:i,attrs:a,vnode:{patchFlag:o}}=e,s=F(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(Jr(e.emitsOptions,o))continue;let d=t[o];if(c){if(u(a,o))d!==a[o]&&(a[o]=d,l=!0);else{let t=w(o);i[t]=li(c,s,t,d,e,!1)}}else d!==a[o]&&(a[o]=d,l=!0)}}}else{ci(e,t,i,a)&&(l=!0);let r;for(let a in s)t&&(u(t,a)||(r=T(a))!==a&&u(t,r))||(c?n&&(n[a]!==void 0||n[r]!==void 0)&&(i[a]=li(c,s,a,void 0,e,!0)):delete i[a]);if(a!==s)for(let e in a)t&&u(t,e)||(delete a[e],l=!0)}l&&et(e.attrs,`set`,``)}function ci(e,n,r,i){let[a,o]=e.propsOptions,s=!1,c;if(n)for(let t in n){if(te(t))continue;let l=n[t],d;a&&u(a,d=w(t))?!o||!o.includes(d)?r[d]=l:(c||={})[d]=l:Jr(e.emitsOptions,t)||t in i&&l===i[t]||(i[t]=l,s=!0)}if(o){let n=F(r),i=c||t;for(let t=0;t<o.length;t++){let s=o[t];r[s]=li(a,n,s,i[s],e,!u(i,s))}}return s}function li(e,t,n,r,i,a){let o=e[n];if(o!=null){let e=u(o,`default`);if(e&&r===void 0){let e=o.default;if(o.type!==Function&&!o.skipFactory&&h(e)){let{propsDefaults:a}=i;if(n in a)r=a[n];else{let o=ca(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===T(n))&&(r=!0))}return r}var ui=new WeakMap;function di(e,r,i=!1){let a=i?ui:r.propsCache,o=a.get(e);if(o)return o;let c=e.props,l={},f=[],p=!1;if(!h(e)){let t=e=>{p=!0;let[t,n]=di(e,r,!0);s(l,t),n&&f.push(...n)};!i&&r.mixins.length&&r.mixins.forEach(t),e.extends&&t(e.extends),e.mixins&&e.mixins.forEach(t)}if(!c&&!p)return v(e)&&a.set(e,n),n;if(d(c))for(let e=0;e<c.length;e++){let n=w(c[e]);fi(n)&&(l[n]=t)}else if(c)for(let e in c){let t=w(e);if(fi(t)){let n=c[e],r=l[t]=d(n)||h(n)?{type:n}:s({},n),i=r.type,a=!1,o=!0;if(d(i))for(let e=0;e<i.length;++e){let t=i[e],n=h(t)&&t.name;if(n===`Boolean`){a=!0;break}n===`String`&&(o=!1)}else a=h(i)&&i.name===`Boolean`;r[0]=a,r[1]=o,(a||u(r,`default`))&&f.push(t)}}let m=[l,f];return v(e)&&a.set(e,m),m}function fi(e){return e[0]!==`$`&&!te(e)}var pi=e=>e===`_`||e===`_ctx`||e===`$stable`,mi=e=>d(e)?e.map(Xi):[Xi(e)],hi=(e,t,n)=>{if(t._n)return t;let r=On((...e)=>mi(t(...e)),n);return r._c=!1,r},gi=(e,t,n)=>{let r=e._ctx;for(let n in e){if(pi(n))continue;let i=e[n];if(h(i))t[n]=hi(n,i,r);else if(i!=null){let e=mi(i);t[n]=()=>e}}},_i=(e,t)=>{let n=mi(t);e.slots.default=()=>n},vi=(e,t,n)=>{for(let r in t)(n||!pi(r))&&(e[r]=t[r])},yi=(e,t,n)=>{let r=e.slots=ii();if(e.vnode.shapeFlag&32){let e=t._;e?(vi(r,t,n),n&&D(r,`_`,e,!0)):gi(t,r)}else t&&_i(e,t)},bi=(e,n,r)=>{let{vnode:i,slots:a}=e,o=!0,s=t;if(i.shapeFlag&32){let e=n._;e?r&&e===1?o=!1:vi(a,n,r):(o=!n.$stable,gi(n,a)),s=n}else n&&(_i(e,n),s={default:1});if(o)for(let e in a)!pi(e)&&s[e]==null&&delete a[e]},W=Mi;function xi(e){return Si(e)}function Si(e,i){let a=ue();a.__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=r,insertStaticContent:_}=e,v=(e,t,r,i=null,a=null,o=null,s=void 0,c=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!Hi(e,t)&&(i=be(e),O(e,a,o,!0),e=null),t.patchFlag===-2&&(l=!1,t.dynamicChildren=null),t.dynamicChildren&&e&&e.dynamicChildren&&e.dynamicChildren.hasOnce&&(t.dynamicChildren===n&&(t.dynamicChildren=[]),t.dynamicChildren.hasOnce=!0);let{type:u,ref:d,shapeFlag:f}=t;switch(u){case Ni:y(e,t,r,i);break;case K:b(e,t,r,i);break;case Pi:e??x(t,r,i,s);break;case G:oe(e,t,r,i,a,o,s,c,l);break;default:f&1?C(e,t,r,i,a,o,s,c,l):f&6?E(e,t,r,i,a,o,s,c,l):(f&64||f&128)&&u.process(e,t,r,i,a,o,s,c,l,Se)}d!=null&&a?Zn(d,e&&e.ref,o,t||e,!t):d==null&&e&&e.ref!=null&&Zn(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)},ee=({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)},S=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=h(e),s(e),e=n;s(t)},C=(e,t,n,r,i,a,o,s,c)=>{if(t.type===`svg`?o=`svg`:t.type===`math`&&(o=`mathml`),e==null)ne(t,n,r,i,a,o,s,c);else{let n=e.el&&e.el._isVueCE?e.el:null;try{n&&n._beginPatch(),ie(e,t,i,a,o,s,c)}finally{n&&n._endPatch()}}},ne=(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&&w(e.children,d,null,r,i,Ci(e,a),s,u),_&&An(e,null,r,`created`),re(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)&&ea(f,r,e)}_&&An(e,null,r,`beforeMount`);let v=Ti(i,g);v&&g.beforeEnter(d),o(d,t,n),((f=m&&m.onVnodeMounted)||v||_)&&W(()=>{try{f&&ea(f,r,e),v&&g.enter(d),_&&An(e,null,r,`mounted`)}finally{}},i)},re=(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||ji(n.type)&&(n.ssContent===t||n.ssFallback===t)){let t=i.vnode;re(e,t,t.scopeId,t.slotScopeIds,i.parent)}}},w=(e,t,n,r,i,a,o,s,c=0)=>{for(let l=c;l<e.length;l++){let c=e[l]=s?Zi(e[l]):Xi(e[l]);v(null,c,t,n,r,i,a,o,s)}},ie=(e,n,r,i,a,o,s)=>{let l=n.el=e.el,{patchFlag:u,dynamicChildren:d,dirs:f}=n;u|=e.patchFlag&16;let m=e.props||t,h=n.props||t,g;if(r&&wi(r,!1),(g=h.onVnodeBeforeUpdate)&&ea(g,r,n,e),f&&An(n,e,r,`beforeUpdate`),r&&wi(r,!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?T(e.dynamicChildren,d,l,r,i,Ci(n,a),o):s||fe(e,n,l,null,r,i,Ci(n,a),o,!1),u>0){if(u&16)ae(l,m,h,r,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=n.dynamicProps;for(let t=0;t<e.length;t++){let n=e[t],i=m[n],o=h[n];(o!==i||n===`value`)&&c(l,n,i,o,a,r)}}u&1&&e.children!==n.children&&p(l,n.children)}else!s&&d==null&&ae(l,m,h,r,a);((g=h.onVnodeUpdated)||f)&&W(()=>{g&&ea(g,r,n,e),f&&An(n,e,r,`updated`)},i)},T=(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||Ai(c),d=u&&(c.type===G||!Hi(c,l)||c.shapeFlag&198)?m(u):n;v(c,l,d,null,r,i,a,o,!0)}},ae=(e,n,r,i,a)=>{if(n!==r){if(n!==t)for(let t in n)!te(t)&&!(t in r)&&c(e,t,n[t],null,a,i);for(let t in r){if(te(t))continue;let o=r[t],s=n[t];o!==s&&t!==`value`&&c(e,t,s,o,a,i)}`value`in r&&c(e,`value`,n.value,r.value,a)}},oe=(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),w(t.children||[],n,f,i,a,s,c,l)):p>0&&p&64&&m&&e.dynamicChildren&&e.dynamicChildren.length===m.length?(T(e.dynamicChildren,m,n,i,a,s,c),(t.key!=null||i&&t===i.subTree)&&Ei(e,t,!0)):fe(e,t,n,f,i,a,s,c,l)},E=(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):D(t,n,r,i,a,o,c):ce(e,t,c)},D=(e,t,n,r,i,a,o)=>{let s=e.component=ia(e,r,i);if(er(e)&&(s.ctx.renderer=Se),fa(s,!1,o),s.asyncDep){if(i&&i.registerDep(s,le,o,a),!e.el){let r=s.subTree=Z(K);b(null,r,t,n),e.placeholder=r.el}}else le(s,e,t,n,i,a,o)},ce=(e,t,n)=>{let r=t.component=e.component;if($r(e,t,n)){if(r.asyncDep&&!r.asyncResolved){t.el=e.el,t.placeholder=e.placeholder,de(r,t,n);return}r.next=t,r.update()}else t.el=e.el,t.placeholder=e.placeholder,r.vnode=t},le=(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=Oi(e);if(n){t&&(t.el=c.el,de(e,t,o)),n.asyncDep.then(()=>{W(()=>{e.isUnmounted||l()},i)});return}}let u=t,d;wi(e,!1),t?(t.el=c.el,de(e,t,o)):t=c,n&&se(n),(d=t.props&&t.props.onVnodeBeforeUpdate)&&ea(d,s,t,c),wi(e,!0);let f=Yr(e),p=e.subTree;e.subTree=f,v(p,f,m(p.el),be(p),e,i,a),t.el=f.el,u===null&&ni(e,f.el),r&&W(r,i),(d=t.props&&t.props.onVnodeUpdated)&&W(()=>ea(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=$n(t);if(wi(e,!1),l&&se(l),!m&&(o=c&&c.onVnodeBeforeMount)&&ea(o,d,t),wi(e,!0),s&&k){let t=()=>{e.subTree=Yr(e),k(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=Yr(e);v(null,o,n,r,e,i,a),t.el=o.el}if(u&&W(u,i),!m&&(o=c&&c.onVnodeMounted)){let e=t;W(()=>ea(o,d,e),i)}(t.shapeFlag&256||d&&$n(d.vnode)&&d.vnode.shapeFlag&256)&&e.a&&W(e.a,i),e.isMounted=!0,t=n=r=null}};e.scope.on();let c=e.effect=new ke(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=()=>_n(u),wi(e,!0),l()},de=(e,t,n)=>{t.component=e;let r=e.vnode.props;e.vnode=t,e.next=null,si(e,t.props,r,n),bi(e,t.children,n),Ue(),bn(e),We()},fe=(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){me(l,d,n,r,i,a,o,s,c);return}if(f&256){pe(l,d,n,r,i,a,o,s,c);return}}m&8?(u&16&&ye(l,i,a),d!==l&&p(n,d)):u&16?m&16?me(l,d,n,r,i,a,o,s,c):ye(l,i,a,!0):(u&8&&p(n,``),m&16&&w(d,n,r,i,a,o,s,c))},pe=(e,t,r,i,a,o,s,c,l)=>{e||=n,t||=n;let u=e.length,d=t.length,f=Math.min(u,d),p=0;for(;p<f;p++){let n=t[p]=l?Zi(t[p]):Xi(t[p]);v(e[p],n,r,null,a,o,s,c,l)}u>d?ye(e,a,o,!0,!1,f):w(t,r,i,a,o,s,c,l,f)},me=(e,t,r,i,a,o,s,c,l)=>{let u=0,d=t.length,f=e.length-1,p=d-1;for(;u<=f&&u<=p;){let n=e[u],i=t[u]=l?Zi(t[u]):Xi(t[u]);if(Hi(n,i))v(n,i,r,null,a,o,s,c,l);else break;u++}for(;u<=f&&u<=p;){let n=e[f],i=t[p]=l?Zi(t[p]):Xi(t[p]);if(Hi(n,i))v(n,i,r,null,a,o,s,c,l);else break;f--,p--}if(u>f){if(u<=p){let e=p+1,n=e<d?t[e].el:i;for(;u<=p;)v(null,t[u]=l?Zi(t[u]):Xi(t[u]),r,n,a,o,s,c,l),u++}}else if(u>p)for(;u<=f;)O(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?Zi(t[u]):Xi(t[u]);e.key!=null&&g.set(e.key,u)}let _,y=0,b=p-h+1,x=!1,ee=0,S=Array(b);for(u=0;u<b;u++)S[u]=0;for(u=m;u<=f;u++){let n=e[u];if(y>=b){O(n,a,o,!0);continue}let i;if(n.key!=null)i=g.get(n.key);else for(_=h;_<=p;_++)if(S[_-h]===0&&Hi(n,t[_])){i=_;break}i===void 0?O(n,a,o,!0):(S[i-h]=u+1,i>=ee?ee=i:x=!0,v(n,t[i],r,null,a,o,s,c,l),y++)}let C=x?Di(S):n;for(_=C.length-1,u=b-1;u>=0;u--){let e=h+u,n=t[e],f=t[e+1],p=e+1<d?f.el||Ai(f):i;S[u]===0?v(null,n,r,p,a,o,s,c,l):x&&(_<0||u!==C[_]?he(n,r,p,2):_--)}}},he=(e,t,n,r,i=null)=>{let{el:a,type:c,transition:l,children:u,shapeFlag:d}=e;if(d&6)he(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,Se);else if(c===G){o(a,t,n);for(let e=0;e<u.length;e++)he(u[e],t,n,r);o(e.anchor,t,n)}else if(c===Pi)ee(e,t,n);else if(r!==2&&d&1&&l){if(r===0)l.persisted&&!a[Hn]?o(a,t,n):(l.beforeEnter(a),o(a,t,n),W(()=>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[Hn];a._isLeaving&&a[Hn](!0),l.persisted&&!e?u():r(a,()=>{u(),c&&c()})};i?i(a,u,d):d()}}else o(a,t,n)},O=(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&&(Ue(),Zn(s,null,n,e,!0),We()),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=!$n(e),_;if(g&&(_=o&&o.onVnodeBeforeUnmount)&&ea(_,t,e),u&6)ve(e.component,n,r);else{if(u&128){e.suspense.unmount(n,r);return}h&&An(e,null,t,`beforeUnmount`),u&64?e.type.remove(e,t,n,Se,r):l&&!l.hasOnce&&(a!==G||d>0&&d&64)?ye(l,t,n,!1,!0):(a===G&&d&384||!i&&u&16)&&ye(c,t,n),r&&ge(e)}let v=m!=null&&p==null;(g&&(_=o&&o.onVnodeUnmounted)||h||v)&&W(()=>{_&&ea(_,t,e),h&&An(e,null,t,`unmounted`),v&&(e.el=null)},n)},ge=e=>{let{type:t,el:n,anchor:r,transition:i}=e,a=t===G;if(a&&!i){_e(n,r);return}if(t===Pi){S(e),i&&!i.persisted&&i.afterLeave&&i.afterLeave();return}let o=a?Kn(e):e,c=()=>{a?m(n)&&_e(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()},_e=(e,t)=>{let n;for(;e!==t;)n=h(e),s(e),e=n;s(t)},ve=(e,t,n)=>{let{bum:r,scope:i,job:a,subTree:o,um:s,m:c,a:l}=e;ki(c),ki(l),r&&se(r),i.stop(),a?(a.flags|=8,O(o,e,t,n)):e.vnode.el&&o&&(o.transition=e.vnode.transition,O(o,e,t,n)),s&&W(s,t),W(()=>{e.isUnmounted=!0},t)},ye=(e,t,n,r=!1,i=!1,a=0)=>{for(let o=a;o<e.length;o++)O(e[o],t,n,r,i)},be=e=>{if(e.shapeFlag&6)return be(e.component.subTree);if(e.shapeFlag&128)return e.suspense.next();let t=h(e.anchor||e.el),n=t&&t[Bn];return n?h(n):t},xe=(e,t,n)=>{Cn(()=>{e==null?t._vnode&&O(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:ra())},Se={p:v,um:O,m:he,r:ge,mt:D,mc:w,pc:fe,pbc:T,n:be,o:e},Ce,k;return i&&([Ce,k]=i(Se)),{render:xe,hydrate:Ce,createApp:Vr(xe,Ce)}}function Ci({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 wi({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Ti(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ei(e,t,n=!1){let r=e.children,i=t.children;if(d(r)&&d(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]=Zi(i[e]),a.el=t.el),!n&&a.patchFlag!==-2&&Ei(t,a)),a.type===Ni&&(a.patchFlag===-1&&(a=i[e]=Zi(a)),a.el=t.el),a.type===K&&!a.el&&(a.el=t.el)}}function Di(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 Oi(e){let t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Oi(t)}function ki(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Ai(e){if(e.placeholder)return e.placeholder;let t=e.component;return t?Ai(t.subTree):null}var ji=e=>e.__isSuspense;function Mi(e,t){t&&t.pendingBranch?d(e)?t.effects.push(...e):t.effects.push(e):yn(e)}var G=Symbol.for(`v-fgt`),Ni=Symbol.for(`v-txt`),K=Symbol.for(`v-cmt`),Pi=Symbol.for(`v-stc`),Fi=[],q=null;function J(e=!1){Fi.push(q=e?null:[])}function Ii(){Fi.pop(),q=Fi[Fi.length-1]||null}var Li=1;function Ri(e,t=!1){Li+=e,e<0&&q&&t&&(q.hasOnce=!0)}function zi(e){return e.dynamicChildren=Li>0?q||n:null,Ii(),Li>0&&q&&q.push(e),e}function Y(e,t,n,r,i,a){return zi(X(e,t,n,r,i,a,!0))}function Bi(e,t,n,r,i){return zi(Z(e,t,n,r,i,!0))}function Vi(e){return e?e.__v_isVNode===!0:!1}function Hi(e,t){return e.type===t.type&&e.key===t.key}var Ui=({key:e})=>e??null,Wi=({ref:e,ref_key:t,ref_for:n})=>(typeof e==`number`&&(e=``+e),e==null?null:g(e)||L(e)||h(e)?{i:H,r:e,k:t,f:!!n}:e);function X(e,t=null,n=null,r=0,i=null,a=e===G?0:1,o=!1,s=!1){let c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ui(t),ref:t&&Wi(t),scopeId:En,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:H};return s?(Qi(c,n),a&128&&e.normalize(c)):n&&(c.shapeFlag|=g(n)?8:16),Li>0&&!o&&q&&(c.patchFlag>0||a&6)&&c.patchFlag!==32&&q.push(c),c}var Z=Gi;function Gi(e,t=null,n=null,r=0,i=null,a=!1){if(e&&e!==_r||(e=K),Vi(e)){let r=qi(e,t,!0);return n&&Qi(r,n),Li>0&&!a&&q&&(r.shapeFlag&6?q[q.indexOf(e)]=r:q.push(r)),r.patchFlag=-2,r}if(ya(e)&&(e=e.__vccOpts),t){t=Ki(t);let{class:e,style:n}=t;e&&!g(e)&&(t.class=O(e)),v(n)&&(Vt(n)&&!d(n)&&(n=s({},n)),t.style=de(n))}let o=g(e)?1:ji(e)?128:Vn(e)?64:v(e)?4:h(e)?2:0;return X(e,t,n,r,i,o,a,!0)}function Ki(e){return e?Vt(e)||ai(e)?s({},e):e:null}function qi(e,t,n=!1,r=!1){let{props:i,ref:a,patchFlag:o,children:s,transition:c}=e,l=t?$i(i||{},t):i,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Ui(l),ref:t&&t.ref?n&&a?d(a)?a.concat(Wi(t)):[a,Wi(t)]:Wi(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!==G?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&&qi(e.ssContent),ssFallback:e.ssFallback&&qi(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce,cacheIndex:e.cacheIndex};return c&&r&&Gn(u,c.clone(u)),u}function Ji(e=` `,t=0){return Z(Ni,null,e,t)}function Yi(e=``,t=!1){return t?(J(),Bi(K,null,e)):Z(K,null,e)}function Xi(e){return e==null||typeof e==`boolean`?Z(K):d(e)?Z(G,null,e.slice()):Vi(e)?Zi(e):Z(Ni,null,String(e))}function Zi(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:qi(e)}function Qi(e,t){let n=0,{shapeFlag:r}=e;if(t==null)t=null;else if(d(t))n=16;else if(typeof t==`object`){if(r&65){let n=t.default;n&&(n._c&&(n._d=!1),Qi(e,n()),n._c&&(n._d=!0));return}{n=32;let r=t._;!r&&!ai(t)?t._ctx=H:r===3&&H&&(H.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}}else if(h(t)){if(r&65){Qi(e,{default:t});return}t={default:t,_ctx:H},n=32}else t=String(t),r&64?(n=16,t=[Ji(t)]):n=8;e.children=t,e.shapeFlag|=n}function $i(...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=O([t.class,r.class]));else if(e===`style`)t.style=de([t.style,r.style]);else if(a(e)){let n=t[e],i=r[e];i&&n!==i&&!(d(n)&&n.includes(i))?t[e]=n?[].concat(n,i):i:i==null&&n==null&&!o(e)&&(t[e]=i)}else e!==``&&(t[e]=r[e])}return t}function ea(e,t,n,r=null){sn(e,t,7,[n,r])}var ta=zr(),na=0;function ra(){return na}function ia(e,n,r){let i=e.type,a=(n?n.appContext:e.appContext)||ta,o={uid:na++,vnode:e,type:i,parent:n,appContext:a,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Ee(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:n?n.provides:Object.create(a.provides),ids:n?n.ids:[``,0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:di(i,a),emitsOptions:qr(i,a),emit:null,emitted:null,propsDefaults:t,inheritAttrs:i.inheritAttrs,ctx:t,data:t,props:t,attrs:t,slots:t,refs:t,setupState:t,setupContext:null,suspense:r,suspenseId:r?r.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=n?n.root:o,o.emit=Gr.bind(null,o),e.ce&&e.ce(o),o}var Q=null,aa=()=>Q||H,oa,sa;{let e=ue(),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)}};oa=t(`__VUE_INSTANCE_SETTERS__`,e=>Q=e),sa=t(`__VUE_SSR_SETTERS__`,e=>da=e)}var ca=e=>{let t=Q;return oa(e),e.scope.on(),()=>{e.scope.off(),oa(t)}},la=()=>{Q&&Q.scope.off(),oa(null)};function ua(e){return e.vnode.shapeFlag&4}var da=!1;function fa(e,t=!1,n=!1){t&&sa(t);let{props:r,children:i}=e.vnode,a=ua(e);oi(e,r,a,t),yi(e,i,n||t);let o=a?pa(e,t):void 0;return t&&sa(!1),o}function pa(e,t){let n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Sr);let{setup:r}=n;if(r){Ue();let n=e.setupContext=r.length>1?_a(e):null,i=ca(e),a=on(r,e,0,[e.props,n]),o=y(a);if(We(),i(),(o||e.sp)&&!$n(e)&&Jn(e),o){if(a.then(la,la),t)return a.then(n=>{sa(!0);try{ma(e,n,t)}finally{sa(!1)}}).catch(t=>{cn(t,e,0)});e.asyncDep=a}else ma(e,a,t)}else ha(e,t)}function ma(e,t,n){h(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:v(t)&&(e.setupState=Jt(t)),ha(e,n)}function ha(e,t,n){let i=e.type;e.render||=i.render||r;{let t=ca(e);Ue();try{Er(e)}finally{We(),t()}}}var ga={get(e,t){return N(e,`get`,``),e[t]}};function _a(e){return{attrs:new Proxy(e.attrs,ga),slots:e.slots,emit:e.emit,expose:t=>{e.exposed=t||{}}}}function va(e){return e.exposed?e.exposeProxy||=new Proxy(Jt(Ht(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in br)return br[n](e)},has(e,t){return t in e||t in br}}):e.proxy}function ya(e){return h(e)&&`__vccOpts`in e}var ba=(e,t)=>Qt(e,t,da),xa=`3.5.44`,Sa=void 0,Ca=typeof window<`u`&&window.trustedTypes;if(Ca)try{Sa=Ca.createPolicy(`vue`,{createHTML:e=>e})}catch{}var wa=Sa?e=>Sa.createHTML(e):e=>e,Ta=`http://www.w3.org/2000/svg`,Ea=`http://www.w3.org/1998/Math/MathML`,Da=typeof document<`u`?document:null,Oa=Da&&Da.createElement(`template`),ka={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`?Da.createElementNS(Ta,e):t===`mathml`?Da.createElementNS(Ea,e):n?Da.createElement(e,{is:n}):Da.createElement(e);return e===`select`&&r&&r.multiple!=null&&i.setAttribute(`multiple`,r.multiple),i},createText:e=>Da.createTextNode(e),createComment:e=>Da.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Da.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{Oa.innerHTML=wa(r===`svg`?`<svg>${e}</svg>`:r===`mathml`?`<math>${e}</math>`:e);let i=Oa.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]}},Aa=Symbol(`_vtc`);function ja(e,t,n){let r=e[Aa];r&&(t=(t?[t,...r]:[...r]).join(` `)),t==null?e.removeAttribute(`class`):n?e.setAttribute(`class`,t):e.className=t}var Ma=Symbol(`_vod`),Na=Symbol(`_vsh`),Pa=Symbol(``),Fa=/(?:^|;)\s*display\s*:/;function Ia(e,t,n){let r=e.style,i=g(n),a=!1;if(n&&!i){if(t){if(g(t))for(let e of t.split(`;`)){let t=e.slice(0,e.indexOf(`:`)).trim();n[t]??Ra(r,t,``)}else for(let e in t)n[e]??Ra(r,e,``)}for(let i in n){i===`display`&&(a=!0);let o=n[i];o==null?Ra(r,i,``):Ha(e,i,!g(t)&&t?t[i]:void 0,o)||Ra(r,i,o)}}else if(i){if(t!==n){let e=r[Pa];e&&(n+=`;`+e),r.cssText=n,a=Fa.test(n)}}else t&&e.removeAttribute(`style`);Ma in e&&(i&&t===n||(e[Ma]=a?r.display:``),e[Na]&&(r.display=`none`))}var La=/\s*!important$/;function Ra(e,t,n){if(d(n))n.forEach(n=>Ra(e,t,n));else if(n??=``,t.startsWith(`--`))La.test(n)?e.setProperty(t,n.replace(La,``),`important`):e.setProperty(t,n);else{let r=Va(e,t);La.test(n)?e.setProperty(T(r),n.replace(La,``),`important`):e[r]=n}}var za=[`Webkit`,`Moz`,`ms`],Ba={};function Va(e,t){let n=Ba[t];if(n)return n;let r=w(t);if(r!==`filter`&&r in e)return Ba[t]=r;r=ae(r);for(let n=0;n<za.length;n++){let i=za[n]+r;if(i in e)return Ba[t]=i}return t}function Ha(e,t,n,r){return e.tagName===`TEXTAREA`&&(t===`width`||t===`height`)&&g(r)&&n===r}var Ua=`http://www.w3.org/1999/xlink`;function Wa(e,t,n,r,i,a=ge(t)){r&&t.startsWith(`xlink:`)?n==null?e.removeAttributeNS(Ua,t.slice(6,t.length)):e.setAttributeNS(Ua,t,n):n==null||a&&!_e(n)?e.removeAttribute(t):e.setAttribute(t,a?``:_(n)?String(n):n)}function Ga(e,t,n,r,i){if(t===`innerHTML`||t===`textContent`){n!=null&&(e[t]=t===`innerHTML`?wa(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=_e(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 Ka(e,t,n,r){e.addEventListener(t,n,r)}function qa(e,t,n,r){e.removeEventListener(t,n,r)}var Ja=Symbol(`_vei`);function Ya(e,t,n,r,i=null){let a=e[Ja]||(e[Ja]={}),o=a[t];if(r&&o)o.value=r;else{let[n,s]=Qa(t);r?Ka(e,n,a[t]=no(r,i),s):o&&(qa(e,n,o,s),a[t]=void 0)}}var Xa=/(Once|Passive|Capture)$/,Za=/^on:?(?:Once|Passive|Capture)$/;function Qa(e){let t,n;for(;(n=e.match(Xa))&&!Za.test(e);)t||={},e=e.slice(0,e.length-n[1].length),t[n[1].toLowerCase()]=!0;return[e[2]===`:`?e.slice(3):T(e.slice(2)),t]}var $a=0,eo=Promise.resolve(),to=()=>$a||=(eo.then(()=>$a=0),Date.now());function no(e,t){let n=e=>{if(!e._vts)e._vts=Date.now();else if(e._vts<=n.attached)return;let r=n.value;if(d(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&&sn(e,t,5,a)}}else sn(r,t,5,[e])};return n.value=e,n.attached=to(),n}var ro=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,io=(e,t,n,r,i,s)=>{let c=i===`svg`;t===`class`?ja(e,r,c):t===`style`?Ia(e,n,r):a(t)?o(t)||Ya(e,t,n,r,s):(t[0]===`.`?(t=t.slice(1),1):t[0]===`^`?(t=t.slice(1),0):ao(e,t,r,c))?(Ga(e,t,r),e.tagName.includes(`-`)||t!==`value`&&t!==`checked`&&t!==`selected`||Wa(e,t,r,c,s,t!==`value`)):e._isVueCE&&(oo(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!g(r)))?Ga(e,w(t),r,s,t):(t===`true-value`?e._trueValue=r:t===`false-value`&&(e._falseValue=r),Wa(e,t,r,c))};function ao(e,t,n,r){if(r)return!!(t===`innerHTML`||t===`textContent`||t in e&&ro(t)&&h(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 ro(t)&&g(n)?!1:t in e}function oo(e,t){let n=e._def.props;if(!n)return!1;let r=w(t);return Array.isArray(n)?n.some(e=>w(e)===r):Object.keys(n).some(e=>w(e)===r)}var so=e=>{let t=e.props[`onUpdate:modelValue`]||!1;return d(t)?e=>se(t,e):t};function co(e){e.target.composing=!0}function lo(e){let t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event(`input`)))}var uo=Symbol(`_assign`),fo=Symbol(`_initialValue`);function po(e,t,n){return t&&(e=e.trim()),n&&(e=ce(e)),e}var mo={created(e,{modifiers:{lazy:t,trim:n,number:r}},i){e.parentNode&&(e.type===`text`?e[fo]=e.defaultValue.replace(/[\r\n]/g,``):e.type===`textarea`&&(e[fo]=e.defaultValue.replace(/\r\n?/g,`
2
+ `))),e[uo]=so(i);let a=r||i.props&&i.props.type===`number`;Ka(e,t?`change`:`input`,t=>{t.target.composing||e[uo](po(e.value,n,a))}),(n||a)&&Ka(e,`change`,()=>{e.value=po(e.value,n,a)}),t||(Ka(e,`compositionstart`,co),Ka(e,`compositionend`,lo),Ka(e,`change`,lo))},mounted(e,{value:t,modifiers:{trim:n,number:r}}){let i=t??``,a=e[fo];delete e[fo],a!==void 0&&(e.type===`text`||e.type===`textarea`)&&e.value!==a?e[uo](po(e.value,n,r)):e.value=i},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:i,number:a}},o){if(e[uo]=so(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)}},ho={esc:`escape`,space:` `,up:`arrow-up`,left:`arrow-left`,right:`arrow-right`,down:`arrow-down`,delete:`backspace`},go=(e,t)=>{let n=e._withKeys||={},r=t.join(`.`);return n[r]||(n[r]=(n=>{if(!(`key`in n))return;let r=T(n.key);if(t.some(e=>e===r||ho[e]===r))return e(n)}))},_o=s({patchProp:io},ka),vo;function yo(){return vo||=xi(_o)}var bo=((...e)=>{let t=yo().createApp(...e),{mount:n}=t;return t.mount=e=>{let r=So(e);if(!r)return;let i=t._component;h(i)||i.render||i.template||(i.template=r.innerHTML),r.nodeType===1&&(r.textContent=``);let a=n(r,!1,xo(r));return r instanceof Element&&(r.removeAttribute(`v-cloak`),r.setAttribute(`data-v-app`,``)),a},t});function xo(e){if(e instanceof SVGElement)return`svg`;if(typeof MathMLElement==`function`&&e instanceof MathMLElement)return`mathml`}function So(e){return g(e)?document.querySelector(e):e}var $={repo:`lrigamai/loras`,revision:`main`,ignoreDirs:[`Archive`],extensions:[`.safetensors`],previewDataset:`lrigamai/previews`},Co=`https://huggingface.co`,wo=e=>e===`dataset`?`datasets/`:``,To=e=>e.split(`/`).map(encodeURIComponent).join(`/`);async function Eo(e,t={}){let{type:n=`model`,revision:r=`main`,path:i=``,recursive:a=!1,expand:o=!1}=t,s=new URLSearchParams;a&&s.set(`recursive`,`true`),o&&s.set(`expand`,`true`);let c=i?`/${To(i)}`:``,l=s.size?`?${s}`:``,u=`${Co}/api/${n}s/${e}/tree/${encodeURIComponent(r)}${c}${l}`,d=[];for(;u;){let t=await fetch(u);if(!t.ok)throw Error(`Hub API ${t.status} for ${e}/${i}`);d.push(...await t.json()),u=t.headers.get(`Link`)?.match(/<([^>]+)>;\s*rel="next"/)?.[1]??null}return d}var Do={repo:(e,t=`model`)=>`${Co}/${wo(t)}${e}`,blob:(e,t,n=`main`,r=`model`)=>`${Co}/${wo(r)}${e}/blob/${n}/${To(t)}`,resolve:(e,t,n=`main`,r=`model`)=>`${Co}/${wo(r)}${e}/resolve/${n}/${To(t)}`,download:(e,t,n=`main`)=>`${Do.resolve(e,t,n)}?download=true`},Oo=`lora-previews-v1`,ko=e=>`https://preview-cache.invalid/${e}`,Ao=new Map;function jo(e,t){let n=Ao.get(t);return n||(n=Mo(e,t),Ao.set(t,n)),n}async function Mo(e,t){try{let n=await caches.open(Oo),r=await n.match(ko(t));if(!r){let i=await fetch(e,{mode:`cors`});if(!i.ok)throw Error(`${i.status}`);await n.put(ko(t),i.clone()),r=i}return URL.createObjectURL(await r.blob())}catch{return Ao.delete(t),e}}async function No(e){try{let t=new Set([...e].map(ko)),n=await caches.open(Oo);for(let e of await n.keys())t.has(e.url)||await n.delete(e)}catch{}}var Po=/\.(png|jpe?g|webp)$/i,Fo=e=>e.slice(e.lastIndexOf(`/`)+1),Io=e=>e.replace(/\.[^.]+$/,``);function Lo(e,t){let n=e.indexOf(`_`);if(n<=0)return e;let r=e.slice(0,n).toLowerCase();return t.toLowerCase().startsWith(r)&&n<e.length-1?e.slice(n+1):e}async function Ro(){let e=new Map;if(!$.previewDataset)return e;let t=await Eo($.previewDataset,{type:`dataset`,recursive:!0});for(let n of t){if(n.type!==`file`||!Po.test(n.path))continue;let t=n.path.slice(0,n.path.lastIndexOf(`/`)),r=e.get(t)??[];r.push({url:Do.resolve($.previewDataset,n.path,`main`,`dataset`),hash:n.lfs?.oid??n.oid}),e.set(t,r)}for(let t of e.values())t.sort((e,t)=>e.url.localeCompare(t.url));return e}function zo(e,t,n){let r=Fo(e.path);return{id:e.path,name:Lo(Io(r),t),file:r,model:t,size:e.lfs?.size??e.size,sha256:e.lfs?.oid??null,updated:e.lastCommit?.date??null,commitTitle:e.lastCommit?.title??null,previews:n.get(`${t}/${Io(r)}`)??[]}}function Bo(){let e=Wt([]),t=Wt([]),n=R(!0),r=R(null);return(async()=>{try{let[n,r]=await Promise.all([Eo($.repo,{revision:$.revision}),Ro().catch(()=>new Map)]),i=n.filter(e=>e.type===`directory`&&!$.ignoreDirs.includes(e.path)).map(e=>e.path),a=await Promise.all(i.map(async e=>(await Eo($.repo,{revision:$.revision,path:e,expand:!0})).filter(e=>e.type===`file`&&$.extensions.some(t=>e.path.endsWith(t))).map(t=>zo(t,e,r))));e.value=i.map((e,t)=>({id:e,count:a[t].length})).filter(e=>e.count>0),t.value=a.flat(),r.size&&No([...r.values()].flat().map(e=>e.hash))}catch(e){r.value=`Couldn't read ${$.repo} from the Hub (${e.message}).`}finally{n.value=!1}})(),{models:e,loras:t,loading:n,error:r}}var Vo=[`updated`,`name`,`size`],Ho=`updated`;function Uo(){let e=new URLSearchParams(location.search),t=e.get(`sort`);return{filters:{model:e.get(`model`)??``,q:e.get(`q`)??``,sort:Vo.includes(t)?t:Ho},open:e.get(`lora`)??``}}var Wo={name:(e,t)=>e.name.localeCompare(t.name),updated:(e,t)=>(t.updated??``).localeCompare(e.updated??``)||e.name.localeCompare(t.name),size:(e,t)=>t.size-e.size};function Go(e,t){let n=Uo(),r=Ft(n.filters),i=R(n.open);In(e,e=>{e.length&&!e.some(e=>e.id===r.model)&&(r.model=e[0].id)});let a=ba(()=>{let e=r.q.toLowerCase().split(/\s+/).filter(Boolean);return t.value.filter(e=>e.model===r.model).filter(t=>e.every(e=>`${t.name} ${t.file}`.toLowerCase().includes(e))).sort(Wo[r.sort])}),o=ba(()=>t.value.find(e=>e.id===i.value)??null);return In([r,i],()=>{let e=new URLSearchParams;r.model&&e.set(`model`,r.model),r.q&&e.set(`q`,r.q),r.sort!==Ho&&e.set(`sort`,r.sort),i.value&&e.set(`lora`,i.value);let t=e.toString();history.replaceState(null,``,t?`?${t}`:location.pathname)},{deep:!0}),{filters:r,openId:i,openLora:o,results:a}}function Ko(e){return e>=1e9?`${(e/1e9).toFixed(2)} GB`:e>=1e6?`${Math.round(e/1e6)} MB`:e>=1e3?`${Math.round(e/1e3)} KB`:`${e} B`}function qo(e){return e?new Date(e).toLocaleDateString(void 0,{day:`2-digit`,month:`short`,year:`numeric`}):`—`}var Jo=e=>String(e).padStart(2,`0`);function Yo(e){let t=2166136261;for(let n=0;n<e.length;n++)t^=e.charCodeAt(n),t=Math.imul(t,16777619);return t>>>0}var Xo={class:`tabs`,role:`tablist`,"aria-label":`Base model`},Zo=[`aria-selected`,`onClick`],Qo={class:`name`},$o={class:`n`},es=qn({__name:`ModelTabs`,props:wr({models:{}},{modelValue:{required:!0},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=Ur(e,`modelValue`);return(n,r)=>(J(),Y(`nav`,Xo,[(J(!0),Y(G,null,vr(e.models,e=>(J(),Y(`button`,{key:e.id,type:`button`,role:`tab`,"aria-selected":t.value===e.id,class:O({on:t.value===e.id}),onClick:n=>t.value=e.id},[X(`span`,Qo,k(e.id),1),X(`span`,$o,k(z(Jo)(e.count)),1)],10,Zo))),128))]))}}),ts=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n},ns=ts(es,[[`__scopeId`,`data-v-ea98708e`]]),rs={class:`track`,"aria-hidden":`true`},is=ts(qn({__name:`ScrollProgress`,setup(e){let t=R(0),n=0;function r(){n=0;let e=document.documentElement.scrollHeight-innerHeight;t.value=e>0?Math.min(1,scrollY/e):0}let i=()=>n||=requestAnimationFrame(r),a;return cr(()=>{addEventListener(`scroll`,i,{passive:!0}),a=new ResizeObserver(i),a.observe(document.body),r()}),dr(()=>{removeEventListener(`scroll`,i),a?.disconnect(),cancelAnimationFrame(n)}),(e,n)=>(J(),Y(`div`,rs,[X(`div`,{class:`fill`,style:de({transform:`scaleX(${t.value})`})},null,4)]))}}),[[`__scopeId`,`data-v-ca695463`]]),as=[`innerHTML`],os=qn({__name:`Icon`,props:{name:{}},setup(e){let t={download:`<path d="M8 2v8m0 0L4.5 6.5M8 10l3.5-3.5M2.5 13.5h11" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>`,heart:`<path d="M8 13.5S2 10 2 5.75A2.75 2.75 0 0 1 8 4.4a2.75 2.75 0 0 1 6 1.35C14 10 8 13.5 8 13.5Z" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linejoin="round"/>`,search:`<circle cx="7" cy="7" r="4.5" fill="none" stroke="currentColor" stroke-width="1.5"/><path d="m10.5 10.5 3 3" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/>`,close:`<path d="m4 4 8 8M12 4l-8 8" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/>`,copy:`<rect x="5" y="5" width="8.5" height="8.5" rx="1.5" fill="none" stroke="currentColor" stroke-width="1.5"/><path d="M10.5 5V3.5a1 1 0 0 0-1-1h-6a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1H5" fill="none" stroke="currentColor" stroke-width="1.5"/>`,check:`<path d="m3.5 8.5 3 3 6-7" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>`,external:`<path d="M9 2.5h4.5V7M13.5 2.5 7 9M11.5 9.5v3a1 1 0 0 1-1 1h-7a1 1 0 0 1-1-1v-7a1 1 0 0 1 1-1h3" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>`,chevron:`<path d="m6 4 4 4-4 4" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>`};return(n,r)=>(J(),Y(`svg`,{viewBox:`0 0 16 16`,"aria-hidden":`true`,innerHTML:t[e.name]},null,8,as))}}),ss=[`aria-label`],cs=[`aria-checked`,`onClick`],ls=ts(qn({__name:`Segmented`,props:wr({options:{},label:{}},{modelValue:{required:!0},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=Ur(e,`modelValue`);return(n,r)=>(J(),Y(`div`,{class:`seg`,role:`radiogroup`,"aria-label":e.label},[(J(!0),Y(G,null,vr(e.options,e=>(J(),Y(`button`,{key:e.value,type:`button`,role:`radio`,"aria-checked":t.value===e.value,class:O({on:t.value===e.value}),onClick:n=>t.value=e.value},k(e.label),11,cs))),128))],8,ss))}}),[[`__scopeId`,`data-v-905b7b8f`]]),us={class:`dock`,role:`search`},ds={class:`search`},fs={key:1},ps={class:`row`},ms=[`aria-label`],hs=[`title`],gs={class:`n`},_s={class:`of`},vs=ts(qn({__name:`LoraDock`,props:wr({count:{},total:{},loading:{type:Boolean}},{q:{required:!0},qModifiers:{},sort:{required:!0},sortModifiers:{}}),emits:[`update:q`,`update:sort`],setup(e){let t=Ur(e,`q`),n=Ur(e,`sort`),r=[{value:`updated`,label:`Newest`},{value:`name`,label:`A–Z`},{value:`size`,label:`Size`}],i=ba(()=>r.find(e=>e.value===n.value)?.label??``);function a(){let e=r.findIndex(e=>e.value===n.value);n.value=r[(e+1)%r.length].value}let o=R(t.value);In(t,e=>e!==o.value&&(o.value=e));let s;In(o,e=>{clearTimeout(s),s=window.setTimeout(()=>t.value=e,120)});let c=R();function l(e){e.key!==`/`||e.target.closest(`input, textarea, dialog`)||(e.preventDefault(),c.value?.focus())}function u(){o.value?o.value=``:c.value?.blur()}return cr(()=>document.addEventListener(`keydown`,l)),dr(()=>document.removeEventListener(`keydown`,l)),(t,s)=>(J(),Y(G,null,[s[3]||=X(`div`,{class:`fade`,"aria-hidden":`true`},null,-1),X(`div`,us,[X(`label`,ds,[Z(os,{name:`search`}),kn(X(`input`,{ref_key:`input`,ref:c,"onUpdate:modelValue":s[0]||=e=>o.value=e,type:`search`,placeholder:`Search characters`,"aria-label":`Search characters`,autocomplete:`off`,spellcheck:`false`,onKeydown:go(u,[`esc`])},null,544),[[mo,o.value]]),o.value?(J(),Y(`button`,{key:0,class:`clear`,type:`button`,"aria-label":`Clear search`,onClick:s[1]||=e=>o.value=``},[Z(os,{name:`close`})])):(J(),Y(`kbd`,fs,`/`))]),X(`div`,ps,[Z(ls,{class:`sort-full`,modelValue:n.value,"onUpdate:modelValue":s[2]||=e=>n.value=e,options:r,label:`Sort`},null,8,[`modelValue`]),X(`button`,{class:`sort-cycle mono`,type:`button`,"aria-label":`Sort: ${i.value}. Tap to change`,onClick:a},k(i.value),9,ms),X(`div`,{class:`count mono`,"aria-live":`polite`,title:`${e.count} of ${e.total} LoRAs shown`},[X(`span`,gs,k(e.loading?`··`:z(Jo)(e.count)),1),X(`span`,_s,`/ `+k(e.loading?`··`:z(Jo)(e.total)),1)],8,hs)])])],64))}}),[[`__scopeId`,`data-v-19ecde2b`]]),ys=[`src`,`alt`],bs=[`aria-label`],xs={class:`mono-gram`},Ss=ts(qn({__name:`LoraPreview`,props:{preview:{},name:{},seedKey:{}},setup(e){let t=e,n=R(),r=R(!1);In(()=>t.preview,e=>{n.value=void 0,r.value=!1,e&&jo(e.url,e.hash).then(r=>{t.preview===e&&(n.value=r)})},{immediate:!0});let i=ba(()=>!!n.value&&!r.value),a=ba(()=>Yo(t.seedKey)%360),o=ba(()=>t.name.replace(/[^a-z0-9]/gi,``).slice(0,2).toUpperCase());return(t,s)=>(J(),Y(`div`,{class:`portrait`,style:de({"--h":a.value})},[i.value?(J(),Y(`img`,{key:0,src:n.value,alt:e.name,decoding:`async`,onError:s[0]||=e=>r.value=!0},null,40,ys)):(J(),Y(`div`,{key:1,class:`ph`,role:`img`,"aria-label":`${e.name} — no preview yet`},[X(`span`,xs,k(o.value),1)],8,bs))],4))}}),[[`__scopeId`,`data-v-e789c805`]]),Cs=[`aria-label`],ws={class:`frame`},Ts={key:0,class:`count mono`},Es={class:`caption`},Ds={class:`meta mono`},Os=ts(qn({__name:`LoraCard`,props:{lora:{}},emits:[`open`],setup(e){return(t,n)=>(J(),Y(`button`,{class:`card`,type:`button`,"aria-label":`Open ${e.lora.name}`,onClick:n[0]||=e=>t.$emit(`open`)},[X(`div`,ws,[Z(Ss,{preview:e.lora.previews[0],name:e.lora.name,"seed-key":e.lora.id},null,8,[`preview`,`name`,`seed-key`]),e.lora.previews.length>1?(J(),Y(`span`,Ts,k(e.lora.previews.length)+` img`,1)):Yi(``,!0),n[1]||=X(`i`,{class:`crop tl`},null,-1),n[2]||=X(`i`,{class:`crop tr`},null,-1),n[3]||=X(`i`,{class:`crop bl`},null,-1),n[4]||=X(`i`,{class:`crop br`},null,-1)]),X(`div`,Es,[X(`h3`,null,k(e.lora.name),1),X(`div`,Ds,[X(`span`,null,k(z(Ko)(e.lora.size)),1),X(`span`,null,k(z(qo)(e.lora.updated)),1)])])],8,Cs))}}),[[`__scopeId`,`data-v-5c436116`]]),ks={key:0,class:`grid`},As={key:1,class:`empty`},js=ts(qn({__name:`LoraGrid`,props:{items:{}},emits:[`open`,`clear`],setup(e){return(t,n)=>e.items.length?(J(),Y(`ul`,ks,[(J(!0),Y(G,null,vr(e.items,(e,n)=>(J(),Y(`li`,{key:e.id,style:de({"--i":n})},[Z(Os,{lora:e,onOpen:n=>t.$emit(`open`,e.id)},null,8,[`lora`,`onOpen`])],4))),128))])):(J(),Y(`div`,As,[n[1]||=X(`span`,{class:`eyebrow`},`No match`,-1),n[2]||=X(`p`,null,`Nobody by that name in this model.`,-1),X(`button`,{class:`btn`,type:`button`,onClick:n[0]||=e=>t.$emit(`clear`)},`Clear search`)]))}}),[[`__scopeId`,`data-v-ae6be0e2`]]),Ms={key:0,class:`sheet`},Ns={class:`head`},Ps={class:`eyebrow`},Fs={class:`body`},Is={class:`frame`},Ls={key:0,class:`thumbs`},Rs=[`aria-label`,`onClick`],zs={key:1,class:`hint mono`},Bs={class:`rows`},Vs={class:`eyebrow`},Hs={class:`mono`},Us=[`aria-label`,`onClick`],Ws={key:2,class:`commit mono`},Gs={class:`actions`},Ks=[`href`],qs=[`href`],Js=ts(qn({__name:`LoraDetail`,props:{lora:{}},emits:[`close`],setup(e,{emit:t}){let n=e,r=t,i=R(),a=R(0),o=R(null);In(()=>n.lora,async e=>{await hn(),a.value=0,e&&!i.value?.open&&i.value?.showModal(),!e&&i.value?.open&&i.value.close()},{immediate:!0});let s=ba(()=>{let e=n.lora;return e?[{k:`Base model`,v:e.model},{k:`File`,v:e.file,copy:!0},{k:`Size`,v:Ko(e.size)},{k:`Updated`,v:qo(e.updated)},{k:`SHA256`,v:e.sha256?`${e.sha256.slice(0,16)}…`:`—`,copyValue:e.sha256??void 0}]:[]});async function c(e){try{await navigator.clipboard.writeText(e)}catch{return}o.value=e,setTimeout(()=>o.value===e&&(o.value=null),1400)}function l(e){e.target===i.value&&r(`close`)}return(t,n)=>(J(),Y(`dialog`,{ref_key:`dialog`,ref:i,onClose:n[1]||=e=>r(`close`),onClick:l},[e.lora?(J(),Y(`article`,Ms,[X(`header`,Ns,[X(`span`,Ps,k(e.lora.model)+` / LoRA`,1),X(`button`,{class:`x`,type:`button`,"aria-label":`Close`,onClick:n[0]||=e=>r(`close`)},[Z(os,{name:`close`})])]),X(`div`,Fs,[X(`div`,Is,[Z(Ss,{class:`hero`,preview:e.lora.previews[a.value],name:e.lora.name,"seed-key":e.lora.id},null,8,[`preview`,`name`,`seed-key`])]),e.lora.previews.length>1?(J(),Y(`div`,Ls,[(J(!0),Y(G,null,vr(e.lora.previews,(t,n)=>(J(),Y(`button`,{key:t.hash,type:`button`,class:O({on:n===a.value}),"aria-label":`Preview ${n+1}`,onClick:e=>a.value=n},[Z(Ss,{preview:t,name:e.lora.name,"seed-key":e.lora.id},null,8,[`preview`,`name`,`seed-key`])],10,Rs))),128))])):e.lora.previews.length?Yi(``,!0):(J(),Y(`p`,zs,`No preview images yet`)),X(`h2`,null,k(e.lora.name),1),X(`dl`,Bs,[(J(!0),Y(G,null,vr(s.value,e=>(J(),Y(`div`,{key:e.k},[X(`dt`,Vs,k(e.k),1),X(`dd`,Hs,[X(`span`,null,k(e.v),1),e.copy||e.copyValue?(J(),Y(`button`,{key:0,class:`copy`,type:`button`,"aria-label":`Copy ${e.k}`,onClick:t=>c(e.copyValue??e.v)},[Z(os,{name:o.value===(e.copyValue??e.v)?`check`:`copy`},null,8,[`name`])],8,Us)):Yi(``,!0)])]))),128))]),e.lora.commitTitle?(J(),Y(`p`,Ws,`“`+k(e.lora.commitTitle)+`”`,1)):Yi(``,!0)]),X(`footer`,Gs,[X(`a`,{class:`btn primary`,href:z(Do).download(z($).repo,e.lora.id,z($).revision)},[Z(os,{name:`download`}),n[2]||=Ji(` Download `,-1)],8,Ks),X(`a`,{class:`btn`,href:z(Do).blob(z($).repo,e.lora.id,z($).revision),target:`_blank`,rel:`noopener`},[n[3]||=Ji(` Hub `,-1),Z(os,{name:`external`})],8,qs)])])):Yi(``,!0)],544))}}),[[`__scopeId`,`data-v-a3499331`]]),Ys={class:`top`},Xs={class:`wrap bar`},Zs=[`href`],Qs={class:`word`},$s={class:`wrap content`},ec={class:`hero`},tc={key:0,class:`notice`},nc={key:1,class:`skeleton`,"aria-label":`Loading`};bo(ts(qn({__name:`App`,setup(e){let{models:t,loras:n,loading:r,error:i}=Bo(),{filters:a,openId:o,openLora:s,results:c}=Go(t,n),l=ba(()=>t.value.find(e=>e.id===a.model)?.count??0);return(e,n)=>(J(),Y(G,null,[X(`header`,Ys,[X(`div`,Xs,[X(`a`,{class:`brand`,href:z(Do).repo(z($).repo),target:`_blank`,rel:`noopener`},[n[6]||=X(`span`,{class:`mark`,"aria-hidden":`true`},null,-1),X(`span`,Qs,k(z($).repo.split(`/`)[0]),1),n[7]||=X(`span`,{class:`eyebrow`},`LoRA index`,-1)],8,Zs),Z(ns,{modelValue:z(a).model,"onUpdate:modelValue":n[0]||=e=>z(a).model=e,models:z(t)},null,8,[`modelValue`,`models`])]),Z(is)]),X(`main`,$s,[X(`section`,ec,[n[8]||=X(`span`,{class:`eyebrow`},`Base model`,-1),X(`h1`,null,k(z(a).model||`\xA0`),1)]),z(i)?(J(),Y(`p`,tc,k(z(i)),1)):z(r)?(J(),Y(`ul`,nc,[(J(),Y(G,null,vr(6,e=>X(`li`,{key:e})),64))])):(J(),Bi(js,{key:2,items:z(c),onOpen:n[1]||=e=>o.value=e,onClear:n[2]||=e=>z(a).q=``},null,8,[`items`]))]),Z(vs,{q:z(a).q,"onUpdate:q":n[3]||=e=>z(a).q=e,sort:z(a).sort,"onUpdate:sort":n[4]||=e=>z(a).sort=e,count:z(c).length,total:l.value,loading:z(r)},null,8,[`q`,`sort`,`count`,`total`,`loading`]),Z(Js,{lora:z(s),onClose:n[5]||=e=>o.value=``},null,8,[`lora`])],64))}}),[[`__scopeId`,`data-v-73ee5330`]])).mount(`#app`);
dist/assets/{index-DK2CxJYH.css → index-ayEL5AcP.css} RENAMED
The diff for this file is too large to render. See raw diff
 
dist/index.html CHANGED
@@ -4,8 +4,8 @@
4
  <meta charset="utf-8" />
5
  <meta name="viewport" content="width=device-width, initial-scale=1" />
6
  <title>LoRA Browser</title>
7
- <script type="module" crossorigin src="./assets/index-D7W9wkqk.js"></script>
8
- <link rel="stylesheet" crossorigin href="./assets/index-DK2CxJYH.css">
9
  </head>
10
  <body>
11
  <div id="app"></div>
 
4
  <meta charset="utf-8" />
5
  <meta name="viewport" content="width=device-width, initial-scale=1" />
6
  <title>LoRA Browser</title>
7
+ <script type="module" crossorigin src="./assets/index-Djbtcm0O.js"></script>
8
+ <link rel="stylesheet" crossorigin href="./assets/index-ayEL5AcP.css">
9
  </head>
10
  <body>
11
  <div id="app"></div>
src/components/LoraCard.vue CHANGED
@@ -10,7 +10,7 @@ defineEmits<{ open: [] }>();
10
  <template>
11
  <button class="card" type="button" :aria-label="`Open ${lora.name}`" @click="$emit('open')">
12
  <div class="frame">
13
- <LoraPreview :src="lora.previews[0]" :name="lora.name" :seed-key="lora.id" />
14
  <span v-if="lora.previews.length > 1" class="count mono">{{ lora.previews.length }} img</span>
15
  <i class="crop tl" /><i class="crop tr" /><i class="crop bl" /><i class="crop br" />
16
  </div>
 
10
  <template>
11
  <button class="card" type="button" :aria-label="`Open ${lora.name}`" @click="$emit('open')">
12
  <div class="frame">
13
+ <LoraPreview :preview="lora.previews[0]" :name="lora.name" :seed-key="lora.id" />
14
  <span v-if="lora.previews.length > 1" class="count mono">{{ lora.previews.length }} img</span>
15
  <i class="crop tl" /><i class="crop tr" /><i class="crop bl" /><i class="crop br" />
16
  </div>
src/components/LoraDetail.vue CHANGED
@@ -63,18 +63,18 @@ function onBackdrop(e: MouseEvent) {
63
 
64
  <div class="body">
65
  <div class="frame">
66
- <LoraPreview class="hero" :src="lora.previews[active]" :name="lora.name" :seed-key="lora.id" />
67
  </div>
68
  <div v-if="lora.previews.length > 1" class="thumbs">
69
  <button
70
- v-for="(src, i) in lora.previews"
71
- :key="src"
72
  type="button"
73
  :class="{ on: i === active }"
74
  :aria-label="`Preview ${i + 1}`"
75
  @click="active = i"
76
  >
77
- <LoraPreview :src="src" :name="lora.name" :seed-key="lora.id" />
78
  </button>
79
  </div>
80
  <p v-else-if="!lora.previews.length" class="hint mono">No preview images yet</p>
 
63
 
64
  <div class="body">
65
  <div class="frame">
66
+ <LoraPreview class="hero" :preview="lora.previews[active]" :name="lora.name" :seed-key="lora.id" />
67
  </div>
68
  <div v-if="lora.previews.length > 1" class="thumbs">
69
  <button
70
+ v-for="(p, i) in lora.previews"
71
+ :key="p.hash"
72
  type="button"
73
  :class="{ on: i === active }"
74
  :aria-label="`Preview ${i + 1}`"
75
  @click="active = i"
76
  >
77
+ <LoraPreview :preview="p" :name="lora.name" :seed-key="lora.id" />
78
  </button>
79
  </div>
80
  <p v-else-if="!lora.previews.length" class="hint mono">No preview images yet</p>
src/components/LoraPreview.vue CHANGED
@@ -1,29 +1,45 @@
1
  <script setup lang="ts">
2
  import { computed, ref, watch } from "vue";
 
3
  import { hash } from "../lib/format";
 
4
 
5
  /**
6
  * Portrait slot: the preview image if there is one, otherwise a generated
7
  * placeholder — a seeded duotone with the character's monogram.
8
  */
9
  const props = defineProps<{
10
- src?: string;
11
  name: string;
12
  /** Stable key (repo path) that seeds the placeholder colour. */
13
  seedKey: string;
14
  }>();
15
 
 
 
 
16
  const failed = ref(false);
17
- watch(() => props.src, () => (failed.value = false));
 
 
 
 
 
 
 
 
 
 
 
18
 
19
- const showImage = computed(() => !!props.src && !failed.value);
20
  const hue = computed(() => hash(props.seedKey) % 360);
21
  const monogram = computed(() => props.name.replace(/[^a-z0-9]/gi, "").slice(0, 2).toUpperCase());
22
  </script>
23
 
24
  <template>
25
  <div class="portrait" :style="{ '--h': hue }">
26
- <img v-if="showImage" :src="src" :alt="name" loading="lazy" decoding="async" @error="failed = true" />
27
  <div v-else class="ph" role="img" :aria-label="`${name} — no preview yet`">
28
  <span class="mono-gram">{{ monogram }}</span>
29
  </div>
 
1
  <script setup lang="ts">
2
  import { computed, ref, watch } from "vue";
3
+ import type { Preview } from "../types";
4
  import { hash } from "../lib/format";
5
+ import { cachedImage } from "../lib/imageCache";
6
 
7
  /**
8
  * Portrait slot: the preview image if there is one, otherwise a generated
9
  * placeholder — a seeded duotone with the character's monogram.
10
  */
11
  const props = defineProps<{
12
+ preview?: Preview;
13
  name: string;
14
  /** Stable key (repo path) that seeds the placeholder colour. */
15
  seedKey: string;
16
  }>();
17
 
18
+ // Image bytes come from the persistent cache (see lib/imageCache.ts); until they
19
+ // arrive — or if they fail — the placeholder shows.
20
+ const src = ref<string>();
21
  const failed = ref(false);
22
+ watch(
23
+ () => props.preview,
24
+ (p) => {
25
+ src.value = undefined;
26
+ failed.value = false;
27
+ if (!p) return;
28
+ cachedImage(p.url, p.hash).then((url) => {
29
+ if (props.preview === p) src.value = url;
30
+ });
31
+ },
32
+ { immediate: true },
33
+ );
34
 
35
+ const showImage = computed(() => !!src.value && !failed.value);
36
  const hue = computed(() => hash(props.seedKey) % 360);
37
  const monogram = computed(() => props.name.replace(/[^a-z0-9]/gi, "").slice(0, 2).toUpperCase());
38
  </script>
39
 
40
  <template>
41
  <div class="portrait" :style="{ '--h': hue }">
42
+ <img v-if="showImage" :src="src" :alt="name" decoding="async" @error="failed = true" />
43
  <div v-else class="ph" role="img" :aria-label="`${name} — no preview yet`">
44
  <span class="mono-gram">{{ monogram }}</span>
45
  </div>
src/composables/useCatalog.ts CHANGED
@@ -1,7 +1,8 @@
1
  import { ref, shallowRef } from "vue";
2
  import { config } from "../config";
3
  import { hub, listTree, type TreeEntry } from "../lib/hub";
4
- import type { BaseModel, Lora } from "../types";
 
5
 
6
  const IMAGE = /\.(png|jpe?g|webp)$/i;
7
 
@@ -17,22 +18,22 @@ function displayName(fileStem: string, model: string): string {
17
  }
18
 
19
  /** Preview images keyed by "<model>/<stem>", from the optional preview dataset. */
20
- async function loadPreviews(): Promise<Map<string, string[]>> {
21
- const map = new Map<string, string[]>();
22
  if (!config.previewDataset) return map;
23
  const files = await listTree(config.previewDataset, { type: "dataset", recursive: true });
24
  for (const f of files) {
25
  if (f.type !== "file" || !IMAGE.test(f.path)) continue;
26
  const key = f.path.slice(0, f.path.lastIndexOf("/"));
27
- const urls = map.get(key) ?? [];
28
- urls.push(hub.resolve(config.previewDataset, f.path, "main", "dataset"));
29
- map.set(key, urls);
30
  }
31
- for (const urls of map.values()) urls.sort();
32
  return map;
33
  }
34
 
35
- function toLora(f: TreeEntry, model: string, previews: Map<string, string[]>): Lora {
36
  const file = basename(f.path);
37
  return {
38
  id: f.path,
@@ -59,7 +60,7 @@ export function useCatalog() {
59
  const [root, previews] = await Promise.all([
60
  listTree(config.repo, { revision: config.revision }),
61
  // Previews are a nice-to-have; never block the catalog on them.
62
- loadPreviews().catch(() => new Map<string, string[]>()),
63
  ]);
64
  const dirs = root
65
  .filter((e) => e.type === "directory" && !config.ignoreDirs.includes(e.path))
@@ -76,6 +77,8 @@ export function useCatalog() {
76
 
77
  models.value = dirs.map((id, i) => ({ id, count: perModel[i].length })).filter((m) => m.count > 0);
78
  loras.value = perModel.flat();
 
 
79
  } catch (e) {
80
  error.value = `Couldn't read ${config.repo} from the Hub (${(e as Error).message}).`;
81
  } finally {
 
1
  import { ref, shallowRef } from "vue";
2
  import { config } from "../config";
3
  import { hub, listTree, type TreeEntry } from "../lib/hub";
4
+ import { pruneImageCache } from "../lib/imageCache";
5
+ import type { BaseModel, Lora, Preview } from "../types";
6
 
7
  const IMAGE = /\.(png|jpe?g|webp)$/i;
8
 
 
18
  }
19
 
20
  /** Preview images keyed by "<model>/<stem>", from the optional preview dataset. */
21
+ async function loadPreviews(): Promise<Map<string, Preview[]>> {
22
+ const map = new Map<string, Preview[]>();
23
  if (!config.previewDataset) return map;
24
  const files = await listTree(config.previewDataset, { type: "dataset", recursive: true });
25
  for (const f of files) {
26
  if (f.type !== "file" || !IMAGE.test(f.path)) continue;
27
  const key = f.path.slice(0, f.path.lastIndexOf("/"));
28
+ const list = map.get(key) ?? [];
29
+ list.push({ url: hub.resolve(config.previewDataset, f.path, "main", "dataset"), hash: f.lfs?.oid ?? f.oid });
30
+ map.set(key, list);
31
  }
32
+ for (const list of map.values()) list.sort((a, b) => a.url.localeCompare(b.url));
33
  return map;
34
  }
35
 
36
+ function toLora(f: TreeEntry, model: string, previews: Map<string, Preview[]>): Lora {
37
  const file = basename(f.path);
38
  return {
39
  id: f.path,
 
60
  const [root, previews] = await Promise.all([
61
  listTree(config.repo, { revision: config.revision }),
62
  // Previews are a nice-to-have; never block the catalog on them.
63
+ loadPreviews().catch(() => new Map<string, Preview[]>()),
64
  ]);
65
  const dirs = root
66
  .filter((e) => e.type === "directory" && !config.ignoreDirs.includes(e.path))
 
77
 
78
  models.value = dirs.map((id, i) => ({ id, count: perModel[i].length })).filter((m) => m.count > 0);
79
  loras.value = perModel.flat();
80
+ // Forget cached images that were replaced or removed from the dataset.
81
+ if (previews.size) pruneImageCache([...previews.values()].flat().map((p) => p.hash));
82
  } catch (e) {
83
  error.value = `Couldn't read ${config.repo} from the Hub (${(e as Error).message}).`;
84
  } finally {
src/fonts.css CHANGED
@@ -1,8 +1,8 @@
1
  /*
2
  * Latin-only subsets of the three variable fonts, inlined into the CSS at build time
3
- * (see vite.config.ts). The Hub stores binaries via LFS/Xet and serves them from a
4
- * cross-origin CDN without CORS headers, so separate .woff2 files are blocked by the
5
- * browser on the Space. Declarations copied from each @fontsource-variable package's index.css.
6
  */
7
 
8
  @font-face {
 
1
  /*
2
  * Latin-only subsets of the three variable fonts, inlined into the CSS at build time
3
+ * (see vite.config.ts). As separate .woff2 files (stored via LFS/Xet, served through a
4
+ * CDN redirect) they didn't load on the Space; inlining sidesteps that entirely.
5
+ * Declarations copied from each @fontsource-variable package's index.css.
6
  */
7
 
8
  @font-face {
src/lib/imageCache.ts ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Persistent image cache for preview images.
2
+ //
3
+ // Hub `resolve/` URLs answer `Cache-Control: no-store` and redirect to a freshly signed CDN
4
+ // URL on every request, so the browser's HTTP cache never reuses them. Instead we keep the
5
+ // bytes in Cache Storage, keyed by the file's content hash from the dataset listing: a hit
6
+ // skips the network entirely, and a changed image gets a new hash (so a new entry).
7
+
8
+ const CACHE_NAME = "lora-previews-v1";
9
+ /** Synthetic request URL per content hash; never fetched, only used as a cache key. */
10
+ const keyUrl = (hash: string) => `https://preview-cache.invalid/${hash}`;
11
+
12
+ // One in-flight load per hash, shared by every <LoraPreview> showing that image.
13
+ const loads = new Map<string, Promise<string>>();
14
+
15
+ /** Object URL for the image (from cache, or fetched then cached). Falls back to `url` itself. */
16
+ export function cachedImage(url: string, hash: string): Promise<string> {
17
+ let p = loads.get(hash);
18
+ if (!p) {
19
+ p = load(url, hash);
20
+ loads.set(hash, p);
21
+ }
22
+ return p;
23
+ }
24
+
25
+ async function load(url: string, hash: string): Promise<string> {
26
+ try {
27
+ const cache = await caches.open(CACHE_NAME);
28
+ let res = await cache.match(keyUrl(hash));
29
+ if (!res) {
30
+ const net = await fetch(url, { mode: "cors" });
31
+ if (!net.ok) throw new Error(`${net.status}`);
32
+ await cache.put(keyUrl(hash), net.clone());
33
+ res = net;
34
+ }
35
+ return URL.createObjectURL(await res.blob());
36
+ } catch {
37
+ // Cache Storage unavailable (private mode, blocked storage) or fetch failed:
38
+ // let the <img> load the URL directly.
39
+ loads.delete(hash);
40
+ return url;
41
+ }
42
+ }
43
+
44
+ /** Drop cached images that are no longer in the dataset (replaced or removed). */
45
+ export async function pruneImageCache(keep: Iterable<string>): Promise<void> {
46
+ try {
47
+ const wanted = new Set([...keep].map(keyUrl));
48
+ const cache = await caches.open(CACHE_NAME);
49
+ for (const req of await cache.keys()) if (!wanted.has(req.url)) await cache.delete(req);
50
+ } catch {
51
+ // best effort
52
+ }
53
+ }
src/types.ts CHANGED
@@ -4,6 +4,12 @@ export interface BaseModel {
4
  count: number;
5
  }
6
 
 
 
 
 
 
 
7
  export interface Lora {
8
  /** Repo path, unique across models, e.g. "MOSS-Image/MOSS_abigailb.safetensors". */
9
  id: string;
@@ -15,8 +21,8 @@ export interface Lora {
15
  sha256: string | null;
16
  updated: string | null;
17
  commitTitle: string | null;
18
- /** Preview image URLs; empty → generated placeholder. */
19
- previews: string[];
20
  }
21
 
22
  export type SortKey = "name" | "updated" | "size";
 
4
  count: number;
5
  }
6
 
7
+ export interface Preview {
8
+ url: string;
9
+ /** Content hash of the image file; the cache key (see lib/imageCache.ts). */
10
+ hash: string;
11
+ }
12
+
13
  export interface Lora {
14
  /** Repo path, unique across models, e.g. "MOSS-Image/MOSS_abigailb.safetensors". */
15
  id: string;
 
21
  sha256: string | null;
22
  updated: string | null;
23
  commitTitle: string | null;
24
+ /** Preview images, in display order; empty → generated placeholder. */
25
+ previews: Preview[];
26
  }
27
 
28
  export type SortKey = "name" | "updated" | "size";
vite.config.ts CHANGED
@@ -6,8 +6,8 @@ export default defineConfig({
6
  base: "./",
7
  plugins: [vue()],
8
  build: {
9
- // Inline fonts into the CSS: binaries on the Hub are served from a cross-origin
10
- // CDN without CORS headers, which browsers refuse for @font-face (see src/fonts.css).
11
  assetsInlineLimit: (file) => (file.endsWith(".woff2") ? true : undefined),
12
  },
13
  });
 
6
  base: "./",
7
  plugins: [vue()],
8
  build: {
9
+ // Inline fonts into the CSS: as separate files (LFS/Xet, served via a CDN
10
+ // redirect) they didn't load on the Space (see src/fonts.css).
11
  assetsInlineLimit: (file) => (file.endsWith(".woff2") ? true : undefined),
12
  },
13
  });