@kanmon-hq/tollgate-ui 1.1.4 → 1.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,173 +1,173 @@
1
- (function(xe,ue){typeof exports=="object"&&typeof module<"u"?ue(exports):typeof define=="function"&&define.amd?define(["exports"],ue):(xe=typeof globalThis<"u"?globalThis:xe||self,ue(xe.TollgateUI={}))})(this,(function(xe){"use strict";var Iu=Object.defineProperty;var Pu=(xe,ue,vt)=>ue in xe?Iu(xe,ue,{enumerable:!0,configurable:!0,writable:!0,value:vt}):xe[ue]=vt;var eo=(xe,ue,vt)=>Pu(xe,typeof ue!="symbol"?ue+"":ue,vt);var ue=typeof document<"u"?document.currentScript:null;/**
1
+ (function(ke,de){typeof exports=="object"&&typeof module<"u"?de(exports):typeof define=="function"&&define.amd?define(["exports"],de):(ke=typeof globalThis<"u"?globalThis:ke||self,de(ke.TollgateUI={}))})(this,(function(ke){"use strict";var Pf=Object.defineProperty;var Mf=(ke,de,wt)=>de in ke?Pf(ke,de,{enumerable:!0,configurable:!0,writable:!0,value:wt}):ke[de]=wt;var lo=(ke,de,wt)=>Mf(ke,typeof de!="symbol"?de+"":de,wt);var de=typeof document<"u"?document.currentScript:null;/**
2
2
  * @vue/shared v3.5.43
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
- **/function vt(e){const t=Object.create(null);for(const r of e.split(","))t[r]=1;return r=>r in t}const ee={},At=[],We=()=>{},qo=()=>!1,gr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),br=e=>e.startsWith("onUpdate:"),fe=Object.assign,to=(e,t)=>{const r=e.indexOf(t);r>-1&&e.splice(r,1)},Bn=Object.prototype.hasOwnProperty,q=(e,t)=>Bn.call(e,t),O=Array.isArray,xt=e=>Jt(e)==="[object Map]",It=e=>Jt(e)==="[object Set]",Wo=e=>Jt(e)==="[object Date]",U=e=>typeof e=="function",ne=e=>typeof e=="string",Ge=e=>typeof e=="symbol",X=e=>e!==null&&typeof e=="object",Go=e=>(X(e)||U(e))&&U(e.then)&&U(e.catch),Jo=Object.prototype.toString,Jt=e=>Jo.call(e),qn=e=>Jt(e).slice(8,-1),mr=e=>Jt(e)==="[object Object]",ro=e=>ne(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Xt=vt(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),vr=e=>{const t=Object.create(null);return(r=>t[r]||(t[r]=e(r)))},Wn=/-\w/g,Ie=vr(e=>e.replace(Wn,t=>t.slice(1).toUpperCase())),Gn=/\B([A-Z])/g,Le=vr(e=>e.replace(Gn,"-$1").toLowerCase()),Xo=vr(e=>e.charAt(0).toUpperCase()+e.slice(1)),oo=vr(e=>e?`on${Xo(e)}`:""),Je=(e,t)=>!Object.is(e,t),xr=(e,...t)=>{for(let r=0;r<e.length;r++)e[r](...t)},Yo=(e,t,r,o=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:o,value:r})},yr=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Zo=e=>{const t=ne(e)?Number(e):NaN;return isNaN(t)?e:t};let Qo;const wr=()=>Qo||(Qo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function _r(e){if(O(e)){const t={};for(let r=0;r<e.length;r++){const o=e[r],s=ne(o)?Zn(o):_r(o);if(s)for(const n in s)t[n]=s[n]}return t}else if(ne(e)||X(e))return e}const Jn=/;(?![^(]*\))/g,Xn=/:([^]+)/,Yn=/"(?:[^"\\]|\\[^])*"|'(?:[^'\\]|\\[^])*'|\\[^]|\/\*[^]*?\*\//g;function Zn(e){const t={};return e.replace(Yn,r=>r.startsWith("/*")?"":r).split(Jn).forEach(r=>{if(r){const o=r.split(Xn);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function Ne(e){let t="";if(ne(e))t=e;else if(O(e))for(let r=0;r<e.length;r++){const o=Ne(e[r]);o&&(t+=o+" ")}else if(X(e))for(const r in e)e[r]&&(t+=r+" ");return t.trim()}const Qn=vt("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function es(e){return!!e||e===""}function ei(e,t,r){if(e.length!==t.length)return!1;let o=!0;for(let s=0;o&&s<e.length;s++)o=yt(e[s],t[s],r);return o}function ts(e,t,r){if(e.size!==t.size)return!1;const o=Array.from(t),s=new Uint8Array(o.length);for(const n of e){let i=-1;for(let l=0;l<o.length;l++)if(!s[l]&&yt(n,o[l],r)){i=l;break}if(i<0)return!1;s[i]=1}return!0}function ti(e,t,r){let o=xt(e),s=xt(t);if(o||s||(o=It(e),s=It(t),o||s))return o&&s?ts(e,t,r):!1;const n=Object.keys(e).length,i=Object.keys(t).length;if(n!==i)return!1;for(const l in e){const c=e.hasOwnProperty(l),h=t.hasOwnProperty(l);if(c&&!h||!c&&h||!yt(e[l],t[l],r))return!1}return String(e)===String(t)}function rs(e,t,r,o){r||(r=[new Map,new Map]);const[s,n]=r;if(s.has(e)||n.has(t))return s.get(e)===t&&n.get(t)===e;s.set(e,t),n.set(t,e);const i=o(e,t,r);return s.delete(e),n.delete(t),i}function yt(e,t,r){if(e===t)return!0;let o=Wo(e),s=Wo(t);return o||s?o&&s?e.getTime()===t.getTime():!1:(o=Ge(e),s=Ge(t),o||s?e===t:(o=O(e),s=O(t),o||s?o&&s?rs(e,t,r,ei):!1:(o=X(e),s=X(t),o||s?!o||!s?!1:rs(e,t,r,ti):String(e)===String(t))))}function ri(e,t){return e.findIndex(r=>yt(r,t))}const os=e=>!!(e&&e.__v_isRef===!0),V=e=>ne(e)?e:e==null?"":O(e)||X(e)&&(e.toString===Jo||!U(e.toString))?os(e)?V(e.value):JSON.stringify(e,ss,2):String(e),ss=(e,t)=>os(t)?ss(e,t.value):xt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((r,[o,s],n)=>(r[so(o,n)+" =>"]=s,r),{})}:It(t)?{[`Set(${t.size})`]:[...t.values()].map(r=>so(r))}:Ge(t)?so(t):X(t)&&!O(t)&&!mr(t)?String(t):t,so=(e,t="")=>{var r;return Ge(e)?`Symbol(${(r=e.description)!=null?r:t})`:e};/**
5
+ **/function wt(e){const t=Object.create(null);for(const r of e.split(","))t[r]=1;return r=>r in t}const oe={},Ot=[],Xe=()=>{},Zo=()=>!1,vr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),yr=e=>e.startsWith("onUpdate:"),ue=Object.assign,io=(e,t)=>{const r=e.indexOf(t);r>-1&&e.splice(r,1)},el=Object.prototype.hasOwnProperty,J=(e,t)=>el.call(e,t),U=Array.isArray,_t=e=>Qt(e)==="[object Map]",jt=e=>Qt(e)==="[object Set]",Qo=e=>Qt(e)==="[object Date]",L=e=>typeof e=="function",ae=e=>typeof e=="string",Ye=e=>typeof e=="symbol",Z=e=>e!==null&&typeof e=="object",es=e=>(Z(e)||L(e))&&L(e.then)&&L(e.catch),ts=Object.prototype.toString,Qt=e=>ts.call(e),tl=e=>Qt(e).slice(8,-1),wr=e=>Qt(e)==="[object Object]",ao=e=>ae(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,er=wt(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),_r=e=>{const t=Object.create(null);return(r=>t[r]||(t[r]=e(r)))},rl=/-\w/g,Ee=_r(e=>e.replace(rl,t=>t.slice(1).toUpperCase())),ol=/\B([A-Z])/g,Ne=_r(e=>e.replace(ol,"-$1").toLowerCase()),rs=_r(e=>e.charAt(0).toUpperCase()+e.slice(1)),co=_r(e=>e?`on${rs(e)}`:""),Ze=(e,t)=>!Object.is(e,t),kr=(e,...t)=>{for(let r=0;r<e.length;r++)e[r](...t)},os=(e,t,r,o=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:o,value:r})},Sr=e=>{const t=parseFloat(e);return isNaN(t)?e:t},ss=e=>{const t=ae(e)?Number(e):NaN;return isNaN(t)?e:t};let ns;const Cr=()=>ns||(ns=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Tr(e){if(U(e)){const t={};for(let r=0;r<e.length;r++){const o=e[r],s=ae(o)?il(o):Tr(o);if(s)for(const n in s)t[n]=s[n]}return t}else if(ae(e)||Z(e))return e}const sl=/;(?![^(]*\))/g,nl=/:([^]+)/,ll=/"(?:[^"\\]|\\[^])*"|'(?:[^'\\]|\\[^])*'|\\[^]|\/\*[^]*?\*\//g;function il(e){const t={};return e.replace(ll,r=>r.startsWith("/*")?"":r).split(sl).forEach(r=>{if(r){const o=r.split(nl);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function me(e){let t="";if(ae(e))t=e;else if(U(e))for(let r=0;r<e.length;r++){const o=me(e[r]);o&&(t+=o+" ")}else if(Z(e))for(const r in e)e[r]&&(t+=r+" ");return t.trim()}const al=wt("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function ls(e){return!!e||e===""}function cl(e,t,r){if(e.length!==t.length)return!1;let o=!0;for(let s=0;o&&s<e.length;s++)o=kt(e[s],t[s],r);return o}function is(e,t,r){if(e.size!==t.size)return!1;const o=Array.from(t),s=new Uint8Array(o.length);for(const n of e){let l=-1;for(let a=0;a<o.length;a++)if(!s[a]&&kt(n,o[a],r)){l=a;break}if(l<0)return!1;s[l]=1}return!0}function dl(e,t,r){let o=_t(e),s=_t(t);if(o||s||(o=jt(e),s=jt(t),o||s))return o&&s?is(e,t,r):!1;const n=Object.keys(e).length,l=Object.keys(t).length;if(n!==l)return!1;for(const a in e){const d=e.hasOwnProperty(a),g=t.hasOwnProperty(a);if(d&&!g||!d&&g||!kt(e[a],t[a],r))return!1}return String(e)===String(t)}function as(e,t,r,o){r||(r=[new Map,new Map]);const[s,n]=r;if(s.has(e)||n.has(t))return s.get(e)===t&&n.get(t)===e;s.set(e,t),n.set(t,e);const l=o(e,t,r);return s.delete(e),n.delete(t),l}function kt(e,t,r){if(e===t)return!0;let o=Qo(e),s=Qo(t);return o||s?o&&s?e.getTime()===t.getTime():!1:(o=Ye(e),s=Ye(t),o||s?e===t:(o=U(e),s=U(t),o||s?o&&s?as(e,t,r,cl):!1:(o=Z(e),s=Z(t),o||s?!o||!s?!1:as(e,t,r,dl):String(e)===String(t))))}function ul(e,t){return e.findIndex(r=>kt(r,t))}const cs=e=>!!(e&&e.__v_isRef===!0),R=e=>ae(e)?e:e==null?"":U(e)||Z(e)&&(e.toString===ts||!L(e.toString))?cs(e)?R(e.value):JSON.stringify(e,ds,2):String(e),ds=(e,t)=>cs(t)?ds(e,t.value):_t(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((r,[o,s],n)=>(r[uo(o,n)+" =>"]=s,r),{})}:jt(t)?{[`Set(${t.size})`]:[...t.values()].map(r=>uo(r))}:Ye(t)?uo(t):Z(t)&&!U(t)&&!wr(t)?String(t):t,uo=(e,t="")=>{var r;return Ye(e)?`Symbol(${(r=e.description)!=null?r:t})`:e};/**
6
6
  * @vue/reactivity v3.5.43
7
7
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
8
8
  * @license MIT
9
- **/let ge;class oi{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&ge&&(ge.active?(this.parent=ge,this.index=(ge.scopes||(ge.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,r;if(this.scopes){const o=this.scopes.slice();for(t=0,r=o.length;t<r;t++)o[t].pause()}for(t=0,r=this.effects.length;t<r;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,r;if(this.scopes){const s=this.scopes.slice();for(t=0,r=s.length;t<r;t++)s[t].resume()}const o=this.effects.slice();for(t=0,r=o.length;t<r;t++)o[t].resume()}}run(t){if(this._active){const r=ge;try{return ge=this,t()}finally{ge=r}}}on(){++this._on===1&&(this.prevScope=ge,ge=this)}off(){if(this._on>0&&--this._on===0){if(ge===this)ge=this.prevScope;else{let t=ge;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let r,o;for(r=0,o=this.effects.length;r<o;r++)this.effects[r].stop();for(this.effects.length=0,r=0,o=this.cleanups.length;r<o;r++)this.cleanups[r]();if(this.cleanups.length=0,this.scopes){const s=this.scopes.slice();for(r=0,o=s.length;r<o;r++)s[r].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0}}}function si(){return ge}let te;const no=new WeakSet;class ns{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,ge&&(ge.active?ge.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,no.has(this)&&(no.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||ls(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,fs(this),as(this);const t=te,r=He;te=this,He=!0;try{return this.fn()}finally{cs(this),te=t,He=r,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)co(t);this.deps=this.depsTail=void 0,fs(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?no.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){ao(this)&&this.run()}get dirty(){return ao(this)}}let is=0,Yt,Zt;function ls(e,t=!1){if(e.flags|=8,t){e.next=Zt,Zt=e;return}e.next=Yt,Yt=e}function io(){is++}function lo(){if(--is>0)return;if(Zt){let t=Zt;for(Zt=void 0;t;){const r=t.next;t.next=void 0,t.flags&=-9,t=r}}let e;for(;Yt;){let t=Yt;for(Yt=void 0;t;){const r=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(o){e||(e=o)}t=r}}if(e)throw e}function as(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function cs(e){let t,r=e.depsTail,o=r;for(;o;){const s=o.prevDep;o.version===-1?(o===r&&(r=s),co(o),ni(o)):t=o,o.dep.activeLink=o.prevActiveLink,o.prevActiveLink=void 0,o=s}e.deps=t,e.depsTail=r}function ao(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(ds(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function ds(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Qt)||(e.globalVersion=Qt,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!ao(e))))return;e.flags|=2;const t=e.dep,r=te,o=He;te=e,He=!0;try{as(e);const s=e.fn(e._value);(t.version===0||Je(s,e._value))&&(e.flags|=128,e._value=s,t.version++)}catch(s){throw t.version++,s}finally{te=r,He=o,cs(e),e.flags&=-3}}function co(e,t=!1){const{dep:r,prevSub:o,nextSub:s}=e;if(o&&(o.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=o,e.nextSub=void 0),r.subs===e&&(r.subs=o,!o&&r.computed)){r.computed.flags&=-5;for(let n=r.computed.deps;n;n=n.nextDep)co(n,!0)}!t&&!--r.sc&&r.map&&r.map.delete(r.key)}function ni(e){const{prevDep:t,nextDep:r}=e;t&&(t.nextDep=r,e.prevDep=void 0),r&&(r.prevDep=t,e.nextDep=void 0)}let He=!0;const us=[];function Xe(){us.push(He),He=!1}function Ye(){const e=us.pop();He=e===void 0?!0:e}function fs(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const r=te;te=void 0;try{t()}finally{te=r}}}let Qt=0;class ii{constructor(t,r){this.sub=t,this.dep=r,this.version=r.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class uo{constructor(t){this.computed=t,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(t){if(!te||!He||te===this.computed)return;let r=this.activeLink;if(r===void 0||r.sub!==te)r=this.activeLink=new ii(te,this),te.deps?(r.prevDep=te.depsTail,te.depsTail.nextDep=r,te.depsTail=r):te.deps=te.depsTail=r,ps(r);else if(r.version===-1&&(r.version=this.version,r.nextDep)){const o=r.nextDep;o.prevDep=r.prevDep,r.prevDep&&(r.prevDep.nextDep=o),r.prevDep=te.depsTail,r.nextDep=void 0,te.depsTail.nextDep=r,te.depsTail=r,te.deps===r&&(te.deps=o)}return r}trigger(t){this.version++,Qt++,this.notify(t)}notify(t){io();try{for(let r=this.subs;r;r=r.prevSub)r.sub.notify()&&r.sub.dep.notify()}finally{lo()}}}function ps(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let o=t.deps;o;o=o.nextDep)ps(o)}const r=e.dep.subs;r!==e&&(e.prevSub=r,r&&(r.nextSub=e)),e.dep.subs=e}}const fo=new WeakMap,Pt=Symbol(""),po=Symbol(""),er=Symbol("");function ye(e,t,r){if(He&&te){let o=fo.get(e);o||fo.set(e,o=new Map);let s=o.get(r);s||(o.set(r,s=new uo),s.map=o,s.key=r),s.track()}}function lt(e,t,r,o,s,n){const i=fo.get(e);if(!i){Qt++;return}const l=c=>{c&&c.trigger()};if(io(),t==="clear")i.forEach(l);else{const c=O(e),h=c&&ro(r);if(c&&r==="length"){const p=Number(o);i.forEach((m,A)=>{(A==="length"||A===er||!Ge(A)&&A>=p)&&l(m)})}else switch((r!==void 0||i.has(void 0))&&l(i.get(r)),h&&l(i.get(er)),t){case"add":c?h&&l(i.get("length")):(l(i.get(Pt)),xt(e)&&l(i.get(po)));break;case"delete":c||(l(i.get(Pt)),xt(e)&&l(i.get(po)));break;case"set":xt(e)&&l(i.get(Pt));break}}lo()}function Vt(e){const t=H(e);return t===e||(ye(t,"iterate",er),Fe(e))?t:Qe(e)?wt(e)?t.map(r=>_t(Ve(r))):t.map(_t):t.map(Ve)}function kr(e){return ye(e=H(e),"iterate",er),e}function Ze(e,t){return Qe(e)?_t(wt(e)?Ve(t):t):Ve(t)}const li={__proto__:null,[Symbol.iterator](){return ho(this,Symbol.iterator,e=>Ze(this,e))},concat(...e){return Vt(this).concat(...e.map(t=>O(t)?Vt(t):t))},entries(){return ho(this,"entries",e=>(e[1]=Ze(this,e[1]),e))},every(e,t){return at(this,"every",e,t,void 0,arguments)},filter(e,t){return at(this,"filter",e,t,r=>r.map(o=>Ze(this,o)),arguments)},find(e,t){return at(this,"find",e,t,r=>Ze(this,r),arguments)},findIndex(e,t){return at(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return at(this,"findLast",e,t,r=>Ze(this,r),arguments)},findLastIndex(e,t){return at(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return at(this,"forEach",e,t,void 0,arguments)},includes(...e){return go(this,"includes",e)},indexOf(...e){return go(this,"indexOf",e)},join(e){return Vt(this).join(e)},lastIndexOf(...e){return go(this,"lastIndexOf",e)},map(e,t){return at(this,"map",e,t,void 0,arguments)},pop(){return tr(this,"pop")},push(...e){return tr(this,"push",e)},reduce(e,...t){return hs(this,"reduce",e,t)},reduceRight(e,...t){return hs(this,"reduceRight",e,t)},shift(){return tr(this,"shift")},some(e,t){return at(this,"some",e,t,void 0,arguments)},splice(...e){return tr(this,"splice",e)},toReversed(){return Vt(this).toReversed()},toSorted(e){return Vt(this).toSorted(e)},toSpliced(...e){return Vt(this).toSpliced(...e)},unshift(...e){return tr(this,"unshift",e)},values(){return ho(this,"values",e=>Ze(this,e))}};function ho(e,t,r){const o=kr(e),s=o[t]();return o!==e&&!Fe(e)&&(s._next=s.next,s.next=()=>{const n=s._next();return n.done||(n.value=r(n.value)),n}),s}const ai=Array.prototype;function at(e,t,r,o,s,n){const i=kr(e),l=i!==e&&!Fe(e),c=i[t];if(c!==ai[t]){const m=c.apply(e,n);return l?Ve(m):m}let h=r;i!==e&&(l?h=function(m,A){return r.call(this,Ze(e,m),A,e)}:r.length>2&&(h=function(m,A){return r.call(this,m,A,e)}));const p=c.call(i,h,o);return l&&s?s(p):p}function hs(e,t,r,o){const s=kr(e),n=s!==e&&!Fe(e);let i=r,l=!1;s!==e&&(n?(l=o.length===0,i=function(h,p,m){return l&&(l=!1,h=Ze(e,h)),r.call(this,h,Ze(e,p),m,e)}):r.length>3&&(i=function(h,p,m){return r.call(this,h,p,m,e)}));const c=s[t](i,...o);return l?Ze(e,c):c}function go(e,t,r){const o=H(e);ye(o,"iterate",er);const s=o[t](...r);return(s===-1||s===!1)&&xo(r[0])?(r[0]=H(r[0]),o[t](...r)):s}function tr(e,t,r=[]){Xe(),io();const o=H(e)[t].apply(e,r);return lo(),Ye(),o}const ci=vt("__proto__,__v_isRef,__isVue"),gs=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ge));function di(e){Ge(e)||(e=String(e));const t=H(this);return ye(t,"has",e),t.hasOwnProperty(e)}class bs{constructor(t=!1,r=!1){this._isReadonly=t,this._isShallow=r}get(t,r,o){if(r==="__v_skip")return t.__v_skip;const s=this._isReadonly,n=this._isShallow;if(r==="__v_isReactive")return!s;if(r==="__v_isReadonly")return s;if(r==="__v_isShallow")return n;if(r==="__v_raw")return o===(s?n?_s:ws:n?ys:xs).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(o)?t:void 0;const i=O(t);if(!s){let c;if(i&&(c=li[r]))return c;if(r==="hasOwnProperty")return di}const l=Reflect.get(t,r,be(t)?t:o);if((Ge(r)?gs.has(r):ci(r))||(s||ye(t,"get",r),n))return l;if(be(l)){const c=i&&ro(r)?l:l.value;return s&&X(c)?vo(c):c}return X(l)?s?vo(l):mo(l):l}}class ms extends bs{constructor(t=!1){super(!1,t)}set(t,r,o,s){let n=t[r];const i=O(t)&&ro(r);if(!this._isShallow){const h=Qe(n);if(!Fe(o)&&!Qe(o)&&(n=H(n),o=H(o)),!i&&be(n)&&!be(o))return h||(n.value=o),!0}const l=i?Number(r)<t.length:q(t,r),c=Reflect.set(t,r,o,be(t)?t:s);return t===H(s)&&c&&(l?Je(o,n)&&lt(t,"set",r,o):lt(t,"add",r,o)),c}deleteProperty(t,r){const o=q(t,r);t[r];const s=Reflect.deleteProperty(t,r);return s&&o&&lt(t,"delete",r,void 0),s}has(t,r){const o=Reflect.has(t,r);return(!Ge(r)||!gs.has(r))&&ye(t,"has",r),o}ownKeys(t){return ye(t,"iterate",O(t)?"length":Pt),Reflect.ownKeys(t)}}class vs extends bs{constructor(t=!1){super(!0,t)}set(t,r){return!0}deleteProperty(t,r){return!0}}const ui=new ms,fi=new vs,pi=new ms(!0),hi=new vs(!0),bo=e=>e,Sr=e=>Reflect.getPrototypeOf(e);function gi(e,t,r){return function(...o){const s=this.__v_raw,n=H(s),i=xt(n),l=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,h=s[e](...o),p=r?bo:t?_t:Ve;return!t&&ye(n,"iterate",c?po:Pt),fe(Object.create(h),{next(){const{value:m,done:A}=h.next();return A?{value:m,done:A}:{value:l?[p(m[0]),p(m[1])]:p(m),done:A}}})}}function Cr(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function bi(e,t){const r={get(s){const n=this.__v_raw,i=H(n),l=H(s);e||(Je(s,l)&&ye(i,"get",s),ye(i,"get",l));const{has:c}=Sr(i),h=t?bo:e?_t:Ve;if(c.call(i,s))return h(n.get(s));if(c.call(i,l))return h(n.get(l));n!==i&&n.get(s)},get size(){const s=this.__v_raw;return!e&&ye(H(s),"iterate",Pt),s.size},has(s){const n=this.__v_raw,i=H(n),l=H(s);return e||(Je(s,l)&&ye(i,"has",s),ye(i,"has",l)),s===l?n.has(s):n.has(s)||n.has(l)},forEach(s,n){const i=this,l=i.__v_raw,c=H(l),h=t?bo:e?_t:Ve;return!e&&ye(c,"iterate",Pt),l.forEach((p,m)=>s.call(n,h(p),h(m),i))}};return fe(r,e?{add:Cr("add"),set:Cr("set"),delete:Cr("delete"),clear:Cr("clear")}:{add(s){const n=H(this),i=Sr(n),l=H(s),c=!t&&!Fe(s)&&!Qe(s)?l:s;return i.has.call(n,c)||Je(s,c)&&i.has.call(n,s)||Je(l,c)&&i.has.call(n,l)||(n.add(c),lt(n,"add",c,c)),this},set(s,n){!t&&!Fe(n)&&!Qe(n)&&(n=H(n));const i=H(this),{has:l,get:c}=Sr(i);let h=l.call(i,s);h||(s=H(s),h=l.call(i,s));const p=c.call(i,s);return i.set(s,n),h?Je(n,p)&&lt(i,"set",s,n):lt(i,"add",s,n),this},delete(s){const n=H(this),{has:i,get:l}=Sr(n);let c=i.call(n,s);c||(s=H(s),c=i.call(n,s)),l&&l.call(n,s);const h=n.delete(s);return c&&lt(n,"delete",s,void 0),h},clear(){const s=H(this),n=s.size!==0,i=s.clear();return n&&lt(s,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(s=>{r[s]=gi(s,e,t)}),r}function Tr(e,t){const r=bi(e,t);return(o,s,n)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?o:Reflect.get(q(r,s)&&s in o?r:o,s,n)}const mi={get:Tr(!1,!1)},vi={get:Tr(!1,!0)},xi={get:Tr(!0,!1)},yi={get:Tr(!0,!0)},xs=new WeakMap,ys=new WeakMap,ws=new WeakMap,_s=new WeakMap;function wi(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function mo(e){return Qe(e)?e:Ar(e,!1,ui,mi,xs)}function _i(e){return Ar(e,!1,pi,vi,ys)}function vo(e){return Ar(e,!0,fi,xi,ws)}function Eu(e){return Ar(e,!0,hi,yi,_s)}function Ar(e,t,r,o,s){if(!X(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const n=s.get(e);if(n)return n;const i=wi(qn(e));if(i===0)return e;const l=new Proxy(e,i===2?o:r);return s.set(e,l),l}function wt(e){return Qe(e)?wt(e.__v_raw):!!(e&&e.__v_isReactive)}function Qe(e){return!!(e&&e.__v_isReadonly)}function Fe(e){return!!(e&&e.__v_isShallow)}function xo(e){return e?!!e.__v_raw:!1}function H(e){const t=e&&e.__v_raw;return t?H(t):e}function ki(e){return!q(e,"__v_skip")&&Object.isExtensible(e)&&Yo(e,"__v_skip",!0),e}const Ve=e=>X(e)?mo(e):e,_t=e=>X(e)?vo(e):e;function be(e){return e?e.__v_isRef===!0:!1}function D(e){return Si(e,!1)}function Si(e,t){return be(e)?e:new Ci(e,t)}class Ci{constructor(t,r){this.dep=new uo,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=r?t:H(t),this._value=r?t:Ve(t),this.__v_isShallow=r}get value(){return this.dep.track(),this._value}set value(t){const r=this._rawValue,o=this.__v_isShallow||Fe(t)||Qe(t);t=o?t:H(t),Je(t,r)&&(this._rawValue=t,this._value=o?t:Ve(t),this.dep.trigger())}}function N(e){return be(e)?e.value:e}const Ti={get:(e,t,r)=>t==="__v_raw"?e:N(Reflect.get(e,t,r)),set:(e,t,r,o)=>{const s=e[t];return be(s)&&!be(r)?(s.value=r,!0):Reflect.set(e,t,r,o)}};function ks(e){return wt(e)?e:new Proxy(e,Ti)}class Ai{constructor(t,r,o){this.fn=t,this.setter=r,this._value=void 0,this.dep=new uo(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Qt-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!r,this.isSSR=o}notify(){if(this.flags|=16,!(this.flags&8)&&te!==this)return ls(this,!0),!0}get value(){const t=this.dep.track();return ds(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Ii(e,t,r=!1){let o,s;return U(e)?o=e:(o=e.get,s=e.set),new Ai(o,s,r)}const Ir={},Pr=new WeakMap;let Mt;function Pi(e,t=!1,r=Mt){if(r){let o=Pr.get(r);o||Pr.set(r,o=[]),o.push(e)}}function Mi(e,t,r=ee){const{immediate:o,deep:s,once:n,scheduler:i,augmentJob:l,call:c}=r,h=P=>s?P:Fe(P)||s===!1||s===0?ct(P,1):ct(P);let p,m,A,I,W=!1,F=!1;if(be(e)?(m=()=>e.value,W=Fe(e)):wt(e)?(m=()=>h(e),W=!0):O(e)?(F=!0,W=e.some(P=>wt(P)||Fe(P)),m=()=>e.map(P=>{if(be(P))return P.value;if(wt(P))return h(P);if(U(P))return c?c(P,2):P()})):U(e)?t?m=c?()=>c(e,2):e:m=()=>{if(A){Xe();try{A()}finally{Ye()}}const P=Mt;Mt=p;try{return c?c(e,3,[I]):e(I)}finally{Mt=P}}:m=We,t&&s){const P=m,Z=s===!0?1/0:s;m=()=>ct(P(),Z)}const ae=si(),oe=()=>{p.stop(),ae&&ae.active&&to(ae.effects,p)};if(n&&t){const P=t;t=(...Z)=>{const Ae=P(...Z);return oe(),Ae}}let z=F?new Array(e.length).fill(Ir):Ir;const B=P=>{if(!(!(p.flags&1)||!p.dirty&&!P))if(t){const Z=p.run();if(P||s||W||(F?Z.some((Ae,me)=>Je(Ae,z[me])):Je(Z,z))){A&&A();const Ae=Mt;Mt=p;try{const me=[Z,z===Ir?void 0:F&&z[0]===Ir?[]:z,I];z=Z,c?c(t,3,me):t(...me)}finally{Mt=Ae}}}else p.run()};return l&&l(B),p=new ns(m),p.scheduler=i?()=>i(B,!1):B,I=P=>Pi(P,!1,p),A=p.onStop=()=>{const P=Pr.get(p);if(P){if(c)c(P,4);else for(const Z of P)Z();Pr.delete(p)}},t?o?B(!0):z=p.run():i?i(B.bind(null,!0),!0):p.run(),oe.pause=p.pause.bind(p),oe.resume=p.resume.bind(p),oe.stop=oe,oe}function ct(e,t=1/0,r){if(t<=0||!X(e)||e.__v_skip||(r=r||new Map,(r.get(e)||0)>=t))return e;if(r.set(e,t),t--,be(e))ct(e.value,t,r);else if(O(e))for(let o=0;o<e.length;o++)ct(e[o],t,r);else if(It(e)||xt(e))e.forEach(o=>{ct(o,t,r)});else if(mr(e)){for(const o in e)ct(e[o],t,r);for(const o of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,o)&&ct(e[o],t,r)}return e}/**
9
+ **/let xe;class fl{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&xe&&(xe.active?(this.parent=xe,this.index=(xe.scopes||(xe.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,r;if(this.scopes){const o=this.scopes.slice();for(t=0,r=o.length;t<r;t++)o[t].pause()}for(t=0,r=this.effects.length;t<r;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,r;if(this.scopes){const s=this.scopes.slice();for(t=0,r=s.length;t<r;t++)s[t].resume()}const o=this.effects.slice();for(t=0,r=o.length;t<r;t++)o[t].resume()}}run(t){if(this._active){const r=xe;try{return xe=this,t()}finally{xe=r}}}on(){++this._on===1&&(this.prevScope=xe,xe=this)}off(){if(this._on>0&&--this._on===0){if(xe===this)xe=this.prevScope;else{let t=xe;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let r,o;for(r=0,o=this.effects.length;r<o;r++)this.effects[r].stop();for(this.effects.length=0,r=0,o=this.cleanups.length;r<o;r++)this.cleanups[r]();if(this.cleanups.length=0,this.scopes){const s=this.scopes.slice();for(r=0,o=s.length;r<o;r++)s[r].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0}}}function pl(){return xe}let ne;const fo=new WeakSet;class us{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,xe&&(xe.active?xe.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,fo.has(this)&&(fo.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||ps(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,xs(this),hs(this);const t=ne,r=qe;ne=this,qe=!0;try{return this.fn()}finally{gs(this),ne=t,qe=r,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)bo(t);this.deps=this.depsTail=void 0,xs(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?fo.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){go(this)&&this.run()}get dirty(){return go(this)}}let fs=0,tr,rr;function ps(e,t=!1){if(e.flags|=8,t){e.next=rr,rr=e;return}e.next=tr,tr=e}function po(){fs++}function ho(){if(--fs>0)return;if(rr){let t=rr;for(rr=void 0;t;){const r=t.next;t.next=void 0,t.flags&=-9,t=r}}let e;for(;tr;){let t=tr;for(tr=void 0;t;){const r=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(o){e||(e=o)}t=r}}if(e)throw e}function hs(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function gs(e){let t,r=e.depsTail,o=r;for(;o;){const s=o.prevDep;o.version===-1?(o===r&&(r=s),bo(o),hl(o)):t=o,o.dep.activeLink=o.prevActiveLink,o.prevActiveLink=void 0,o=s}e.deps=t,e.depsTail=r}function go(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(bs(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function bs(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===or)||(e.globalVersion=or,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!go(e))))return;e.flags|=2;const t=e.dep,r=ne,o=qe;ne=e,qe=!0;try{hs(e);const s=e.fn(e._value);(t.version===0||Ze(s,e._value))&&(e.flags|=128,e._value=s,t.version++)}catch(s){throw t.version++,s}finally{ne=r,qe=o,gs(e),e.flags&=-3}}function bo(e,t=!1){const{dep:r,prevSub:o,nextSub:s}=e;if(o&&(o.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=o,e.nextSub=void 0),r.subs===e&&(r.subs=o,!o&&r.computed)){r.computed.flags&=-5;for(let n=r.computed.deps;n;n=n.nextDep)bo(n,!0)}!t&&!--r.sc&&r.map&&r.map.delete(r.key)}function hl(e){const{prevDep:t,nextDep:r}=e;t&&(t.nextDep=r,e.prevDep=void 0),r&&(r.prevDep=t,e.nextDep=void 0)}let qe=!0;const ms=[];function Qe(){ms.push(qe),qe=!1}function et(){const e=ms.pop();qe=e===void 0?!0:e}function xs(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const r=ne;ne=void 0;try{t()}finally{ne=r}}}let or=0;class gl{constructor(t,r){this.sub=t,this.dep=r,this.version=r.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class mo{constructor(t){this.computed=t,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(t){if(!ne||!qe||ne===this.computed)return;let r=this.activeLink;if(r===void 0||r.sub!==ne)r=this.activeLink=new gl(ne,this),ne.deps?(r.prevDep=ne.depsTail,ne.depsTail.nextDep=r,ne.depsTail=r):ne.deps=ne.depsTail=r,vs(r);else if(r.version===-1&&(r.version=this.version,r.nextDep)){const o=r.nextDep;o.prevDep=r.prevDep,r.prevDep&&(r.prevDep.nextDep=o),r.prevDep=ne.depsTail,r.nextDep=void 0,ne.depsTail.nextDep=r,ne.depsTail=r,ne.deps===r&&(ne.deps=o)}return r}trigger(t){this.version++,or++,this.notify(t)}notify(t){po();try{for(let r=this.subs;r;r=r.prevSub)r.sub.notify()&&r.sub.dep.notify()}finally{ho()}}}function vs(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let o=t.deps;o;o=o.nextDep)vs(o)}const r=e.dep.subs;r!==e&&(e.prevSub=r,r&&(r.nextSub=e)),e.dep.subs=e}}const xo=new WeakMap,Nt=Symbol(""),vo=Symbol(""),sr=Symbol("");function Se(e,t,r){if(qe&&ne){let o=xo.get(e);o||xo.set(e,o=new Map);let s=o.get(r);s||(o.set(r,s=new mo),s.map=o,s.key=r),s.track()}}function dt(e,t,r,o,s,n){const l=xo.get(e);if(!l){or++;return}const a=d=>{d&&d.trigger()};if(po(),t==="clear")l.forEach(a);else{const d=U(e),g=d&&ao(r);if(d&&r==="length"){const h=Number(o);l.forEach((m,A)=>{(A==="length"||A===sr||!Ye(A)&&A>=h)&&a(m)})}else switch((r!==void 0||l.has(void 0))&&a(l.get(r)),g&&a(l.get(sr)),t){case"add":d?g&&a(l.get("length")):(a(l.get(Nt)),_t(e)&&a(l.get(vo)));break;case"delete":d||(a(l.get(Nt)),_t(e)&&a(l.get(vo)));break;case"set":_t(e)&&a(l.get(Nt));break}}ho()}function Bt(e){const t=W(e);return t===e||(Se(t,"iterate",sr),Le(e))?t:rt(e)?St(e)?t.map(r=>Ct(Fe(r))):t.map(Ct):t.map(Fe)}function Ar(e){return Se(e=W(e),"iterate",sr),e}function tt(e,t){return rt(e)?Ct(St(e)?Fe(t):t):Fe(t)}const bl={__proto__:null,[Symbol.iterator](){return yo(this,Symbol.iterator,e=>tt(this,e))},concat(...e){return Bt(this).concat(...e.map(t=>U(t)?Bt(t):t))},entries(){return yo(this,"entries",e=>(e[1]=tt(this,e[1]),e))},every(e,t){return ut(this,"every",e,t,void 0,arguments)},filter(e,t){return ut(this,"filter",e,t,r=>r.map(o=>tt(this,o)),arguments)},find(e,t){return ut(this,"find",e,t,r=>tt(this,r),arguments)},findIndex(e,t){return ut(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return ut(this,"findLast",e,t,r=>tt(this,r),arguments)},findLastIndex(e,t){return ut(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return ut(this,"forEach",e,t,void 0,arguments)},includes(...e){return wo(this,"includes",e)},indexOf(...e){return wo(this,"indexOf",e)},join(e){return Bt(this).join(e)},lastIndexOf(...e){return wo(this,"lastIndexOf",e)},map(e,t){return ut(this,"map",e,t,void 0,arguments)},pop(){return nr(this,"pop")},push(...e){return nr(this,"push",e)},reduce(e,...t){return ys(this,"reduce",e,t)},reduceRight(e,...t){return ys(this,"reduceRight",e,t)},shift(){return nr(this,"shift")},some(e,t){return ut(this,"some",e,t,void 0,arguments)},splice(...e){return nr(this,"splice",e)},toReversed(){return Bt(this).toReversed()},toSorted(e){return Bt(this).toSorted(e)},toSpliced(...e){return Bt(this).toSpliced(...e)},unshift(...e){return nr(this,"unshift",e)},values(){return yo(this,"values",e=>tt(this,e))}};function yo(e,t,r){const o=Ar(e),s=o[t]();return o!==e&&!Le(e)&&(s._next=s.next,s.next=()=>{const n=s._next();return n.done||(n.value=r(n.value)),n}),s}const ml=Array.prototype;function ut(e,t,r,o,s,n){const l=Ar(e),a=l!==e&&!Le(e),d=l[t];if(d!==ml[t]){const m=d.apply(e,n);return a?Fe(m):m}let g=r;l!==e&&(a?g=function(m,A){return r.call(this,tt(e,m),A,e)}:r.length>2&&(g=function(m,A){return r.call(this,m,A,e)}));const h=d.call(l,g,o);return a&&s?s(h):h}function ys(e,t,r,o){const s=Ar(e),n=s!==e&&!Le(e);let l=r,a=!1;s!==e&&(n?(a=o.length===0,l=function(g,h,m){return a&&(a=!1,g=tt(e,g)),r.call(this,g,tt(e,h),m,e)}):r.length>3&&(l=function(g,h,m){return r.call(this,g,h,m,e)}));const d=s[t](l,...o);return a?tt(e,d):d}function wo(e,t,r){const o=W(e);Se(o,"iterate",sr);const s=o[t](...r);return(s===-1||s===!1)&&Co(r[0])?(r[0]=W(r[0]),o[t](...r)):s}function nr(e,t,r=[]){Qe(),po();const o=W(e)[t].apply(e,r);return ho(),et(),o}const xl=wt("__proto__,__v_isRef,__isVue"),ws=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ye));function vl(e){Ye(e)||(e=String(e));const t=W(this);return Se(t,"has",e),t.hasOwnProperty(e)}class _s{constructor(t=!1,r=!1){this._isReadonly=t,this._isShallow=r}get(t,r,o){if(r==="__v_skip")return t.__v_skip;const s=this._isReadonly,n=this._isShallow;if(r==="__v_isReactive")return!s;if(r==="__v_isReadonly")return s;if(r==="__v_isShallow")return n;if(r==="__v_raw")return o===(s?n?Is:As:n?Ts:Cs).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(o)?t:void 0;const l=U(t);if(!s){let d;if(l&&(d=bl[r]))return d;if(r==="hasOwnProperty")return vl}const a=Reflect.get(t,r,ve(t)?t:o);if((Ye(r)?ws.has(r):xl(r))||(s||Se(t,"get",r),n))return a;if(ve(a)){const d=l&&ao(r)?a:a.value;return s&&Z(d)?So(d):d}return Z(a)?s?So(a):ko(a):a}}class ks extends _s{constructor(t=!1){super(!1,t)}set(t,r,o,s){let n=t[r];const l=U(t)&&ao(r);if(!this._isShallow){const g=rt(n);if(!Le(o)&&!rt(o)&&(n=W(n),o=W(o)),!l&&ve(n)&&!ve(o))return g||(n.value=o),!0}const a=l?Number(r)<t.length:J(t,r),d=Reflect.set(t,r,o,ve(t)?t:s);return t===W(s)&&d&&(a?Ze(o,n)&&dt(t,"set",r,o):dt(t,"add",r,o)),d}deleteProperty(t,r){const o=J(t,r);t[r];const s=Reflect.deleteProperty(t,r);return s&&o&&dt(t,"delete",r,void 0),s}has(t,r){const o=Reflect.has(t,r);return(!Ye(r)||!ws.has(r))&&Se(t,"has",r),o}ownKeys(t){return Se(t,"iterate",U(t)?"length":Nt),Reflect.ownKeys(t)}}class Ss extends _s{constructor(t=!1){super(!0,t)}set(t,r){return!0}deleteProperty(t,r){return!0}}const yl=new ks,wl=new Ss,_l=new ks(!0),kl=new Ss(!0),_o=e=>e,Ir=e=>Reflect.getPrototypeOf(e);function Sl(e,t,r){return function(...o){const s=this.__v_raw,n=W(s),l=_t(n),a=e==="entries"||e===Symbol.iterator&&l,d=e==="keys"&&l,g=s[e](...o),h=r?_o:t?Ct:Fe;return!t&&Se(n,"iterate",d?vo:Nt),ue(Object.create(g),{next(){const{value:m,done:A}=g.next();return A?{value:m,done:A}:{value:a?[h(m[0]),h(m[1])]:h(m),done:A}}})}}function Pr(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Cl(e,t){const r={get(s){const n=this.__v_raw,l=W(n),a=W(s);e||(Ze(s,a)&&Se(l,"get",s),Se(l,"get",a));const{has:d}=Ir(l),g=t?_o:e?Ct:Fe;if(d.call(l,s))return g(n.get(s));if(d.call(l,a))return g(n.get(a));n!==l&&n.get(s)},get size(){const s=this.__v_raw;return!e&&Se(W(s),"iterate",Nt),s.size},has(s){const n=this.__v_raw,l=W(n),a=W(s);return e||(Ze(s,a)&&Se(l,"has",s),Se(l,"has",a)),s===a?n.has(s):n.has(s)||n.has(a)},forEach(s,n){const l=this,a=l.__v_raw,d=W(a),g=t?_o:e?Ct:Fe;return!e&&Se(d,"iterate",Nt),a.forEach((h,m)=>s.call(n,g(h),g(m),l))}};return ue(r,e?{add:Pr("add"),set:Pr("set"),delete:Pr("delete"),clear:Pr("clear")}:{add(s){const n=W(this),l=Ir(n),a=W(s),d=!t&&!Le(s)&&!rt(s)?a:s;return l.has.call(n,d)||Ze(s,d)&&l.has.call(n,s)||Ze(a,d)&&l.has.call(n,a)||(n.add(d),dt(n,"add",d,d)),this},set(s,n){!t&&!Le(n)&&!rt(n)&&(n=W(n));const l=W(this),{has:a,get:d}=Ir(l);let g=a.call(l,s);g||(s=W(s),g=a.call(l,s));const h=d.call(l,s);return l.set(s,n),g?Ze(n,h)&&dt(l,"set",s,n):dt(l,"add",s,n),this},delete(s){const n=W(this),{has:l,get:a}=Ir(n);let d=l.call(n,s);d||(s=W(s),d=l.call(n,s)),a&&a.call(n,s);const g=n.delete(s);return d&&dt(n,"delete",s,void 0),g},clear(){const s=W(this),n=s.size!==0,l=s.clear();return n&&dt(s,"clear",void 0,void 0),l}}),["keys","values","entries",Symbol.iterator].forEach(s=>{r[s]=Sl(s,e,t)}),r}function Mr(e,t){const r=Cl(e,t);return(o,s,n)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?o:Reflect.get(J(r,s)&&s in o?r:o,s,n)}const Tl={get:Mr(!1,!1)},Al={get:Mr(!1,!0)},Il={get:Mr(!0,!1)},Pl={get:Mr(!0,!0)},Cs=new WeakMap,Ts=new WeakMap,As=new WeakMap,Is=new WeakMap;function Ml(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function ko(e){return rt(e)?e:Er(e,!1,yl,Tl,Cs)}function El(e){return Er(e,!1,_l,Al,Ts)}function So(e){return Er(e,!0,wl,Il,As)}function Rf(e){return Er(e,!0,kl,Pl,Is)}function Er(e,t,r,o,s){if(!Z(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const n=s.get(e);if(n)return n;const l=Ml(tl(e));if(l===0)return e;const a=new Proxy(e,l===2?o:r);return s.set(e,a),a}function St(e){return rt(e)?St(e.__v_raw):!!(e&&e.__v_isReactive)}function rt(e){return!!(e&&e.__v_isReadonly)}function Le(e){return!!(e&&e.__v_isShallow)}function Co(e){return e?!!e.__v_raw:!1}function W(e){const t=e&&e.__v_raw;return t?W(t):e}function Rl(e){return!J(e,"__v_skip")&&Object.isExtensible(e)&&os(e,"__v_skip",!0),e}const Fe=e=>Z(e)?ko(e):e,Ct=e=>Z(e)?So(e):e;function ve(e){return e?e.__v_isRef===!0:!1}function D(e){return Ol(e,!1)}function Ol(e,t){return ve(e)?e:new jl(e,t)}class jl{constructor(t,r){this.dep=new mo,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=r?t:W(t),this._value=r?t:Fe(t),this.__v_isShallow=r}get value(){return this.dep.track(),this._value}set value(t){const r=this._rawValue,o=this.__v_isShallow||Le(t)||rt(t);t=o?t:W(t),Ze(t,r)&&(this._rawValue=t,this._value=o?t:Fe(t),this.dep.trigger())}}function K(e){return ve(e)?e.value:e}const Nl={get:(e,t,r)=>t==="__v_raw"?e:K(Reflect.get(e,t,r)),set:(e,t,r,o)=>{const s=e[t];return ve(s)&&!ve(r)?(s.value=r,!0):Reflect.set(e,t,r,o)}};function Ps(e){return St(e)?e:new Proxy(e,Nl)}class Ul{constructor(t,r,o){this.fn=t,this.setter=r,this._value=void 0,this.dep=new mo(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=or-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!r,this.isSSR=o}notify(){if(this.flags|=16,!(this.flags&8)&&ne!==this)return ps(this,!0),!0}get value(){const t=this.dep.track();return bs(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function $l(e,t,r=!1){let o,s;return L(e)?o=e:(o=e.get,s=e.set),new Ul(o,s,r)}const Rr={},Or=new WeakMap;let Ut;function Kl(e,t=!1,r=Ut){if(r){let o=Or.get(r);o||Or.set(r,o=[]),o.push(e)}}function Ll(e,t,r=oe){const{immediate:o,deep:s,once:n,scheduler:l,augmentJob:a,call:d}=r,g=M=>s?M:Le(M)||s===!1||s===0?ft(M,1):ft(M);let h,m,A,P,X=!1,F=!1;if(ve(e)?(m=()=>e.value,X=Le(e)):St(e)?(m=()=>g(e),X=!0):U(e)?(F=!0,X=e.some(M=>St(M)||Le(M)),m=()=>e.map(M=>{if(ve(M))return M.value;if(St(M))return g(M);if(L(M))return d?d(M,2):M()})):L(e)?t?m=d?()=>d(e,2):e:m=()=>{if(A){Qe();try{A()}finally{et()}}const M=Ut;Ut=h;try{return d?d(e,3,[P]):e(P)}finally{Ut=M}}:m=Xe,t&&s){const M=m,te=s===!0?1/0:s;m=()=>ft(M(),te)}const ce=pl(),ie=()=>{h.stop(),ce&&ce.active&&io(ce.effects,h)};if(n&&t){const M=t;t=(...te)=>{const Pe=M(...te);return ie(),Pe}}let B=F?new Array(e.length).fill(Rr):Rr;const G=M=>{if(!(!(h.flags&1)||!h.dirty&&!M))if(t){const te=h.run();if(M||s||X||(F?te.some((Pe,we)=>Ze(Pe,B[we])):Ze(te,B))){A&&A();const Pe=Ut;Ut=h;try{const we=[te,B===Rr?void 0:F&&B[0]===Rr?[]:B,P];B=te,d?d(t,3,we):t(...we)}finally{Ut=Pe}}}else h.run()};return a&&a(G),h=new us(m),h.scheduler=l?()=>l(G,!1):G,P=M=>Kl(M,!1,h),A=h.onStop=()=>{const M=Or.get(h);if(M){if(d)d(M,4);else for(const te of M)te();Or.delete(h)}},t?o?G(!0):B=h.run():l?l(G.bind(null,!0),!0):h.run(),ie.pause=h.pause.bind(h),ie.resume=h.resume.bind(h),ie.stop=ie,ie}function ft(e,t=1/0,r){if(t<=0||!Z(e)||e.__v_skip||(r=r||new Map,(r.get(e)||0)>=t))return e;if(r.set(e,t),t--,ve(e))ft(e.value,t,r);else if(U(e))for(let o=0;o<e.length;o++)ft(e[o],t,r);else if(jt(e)||_t(e))e.forEach(o=>{ft(o,t,r)});else if(wr(e)){for(const o in e)ft(e[o],t,r);for(const o of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,o)&&ft(e[o],t,r)}return e}/**
10
10
  * @vue/runtime-core v3.5.43
11
11
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
12
12
  * @license MIT
13
- **/const rr=[];let yo=!1;function Ru(e,...t){if(yo)return;yo=!0,Xe();const r=rr.length?rr[rr.length-1].component:null,o=r&&r.appContext.config.warnHandler,s=Ei();if(o)$t(o,r,11,[e+t.map(n=>{var i,l;return(l=(i=n.toString)==null?void 0:i.call(n))!=null?l:JSON.stringify(n)}).join(""),r&&r.proxy,s.map(({vnode:n})=>`at <${yn(r,n.type)}>`).join(`
13
+ **/const lr=[];let To=!1;function Of(e,...t){if(To)return;To=!0,Qe();const r=lr.length?lr[lr.length-1].component:null,o=r&&r.appContext.config.warnHandler,s=Fl();if(o)qt(o,r,11,[e+t.map(n=>{var l,a;return(a=(l=n.toString)==null?void 0:l.call(n))!=null?a:JSON.stringify(n)}).join(""),r&&r.proxy,s.map(({vnode:n})=>`at <${Tn(r,n.type)}>`).join(`
14
14
  `),s]);else{const n=[`[Vue warn]: ${e}`,...t];s.length&&n.push(`
15
- `,...Ri(s)),console.warn(...n)}Ye(),yo=!1}function Ei(){let e=rr[rr.length-1];if(!e)return[];const t=[];for(;e;){const r=t[0];r&&r.vnode===e?r.recurseCount++:t.push({vnode:e,recurseCount:0});const o=e.component&&e.component.parent;e=o&&o.vnode}return t}function Ri(e){const t=[];return e.forEach((r,o)=>{t.push(...o===0?[]:[`
16
- `],...Oi(r))}),t}function Oi({vnode:e,recurseCount:t}){const r=t>0?`... (${t} recursive calls)`:"",o=e.component?e.component.parent==null:!1,s=` at <${yn(e.component,e.type,o)}`,n=">"+r;return e.props?[s,...ji(e.props),n]:[s+n]}function ji(e){const t=[],r=Object.keys(e);return r.slice(0,3).forEach(o=>{t.push(...Ss(o,e[o]))}),r.length>3&&t.push(" ..."),t}function Ss(e,t,r){return ne(t)?(t=JSON.stringify(t),r?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?r?t:[`${e}=${t}`]:be(t)?(t=Ss(e,H(t.value),!0),r?t:[`${e}=Ref<`,t,">"]):U(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=H(t),r?t:[`${e}=`,t])}function $t(e,t,r,o){try{return o?e(...o):e()}catch(s){Mr(s,t,r)}}function Be(e,t,r,o){if(U(e)){const s=$t(e,t,r,o);return s&&Go(s)&&s.catch(n=>{Mr(n,t,r)}),s}if(O(e)){const s=[];for(let n=0;n<e.length;n++)s.push(Be(e[n],t,r,o));return s}}function Mr(e,t,r,o=!0){const s=t?t.vnode:null,{errorHandler:n,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||ee;if(t){let l=t.parent;const c=t.proxy,h=`https://vuejs.org/error-reference/#runtime-${r}`;for(;l;){const p=l.ec;if(p){for(let m=0;m<p.length;m++)if(p[m](e,c,h)===!1)return}l=l.parent}if(n){Xe(),$t(n,null,10,[e,c,h]),Ye();return}}Ni(e,r,s,o,i)}function Ni(e,t,r,o=!0,s=!1){if(s)throw e;console.error(e)}const _e=[];let et=-1;const Kt=[];let kt=null,zt=0;const Cs=Promise.resolve();let Er=null;function wo(e){const t=Er||Cs;return e?t.then(this?e.bind(this):e):t}function Ui(e){let t=et+1,r=_e.length;for(;t<r;){const o=t+r>>>1,s=_e[o],n=or(s);n<e||n===e&&s.flags&2?t=o+1:r=o}return t}function _o(e){if(!(e.flags&1)){const t=or(e),r=_e[_e.length-1];!r||!(e.flags&2)&&t>=or(r)?_e.push(e):_e.splice(Ui(t),0,e),e.flags|=1,Ts()}}function Ts(){Er||(Er=Cs.then(Ps))}function Li(e){if(!O(e))kt&&e.id===-1?kt.splice(zt+1,0,e):e.flags&1||(Kt.push(e),e.flags|=1);else for(let t=0;t<e.length;t++)Kt.push(e[t]);Ts()}function As(e,t,r=et+1){for(;r<_e.length;r++){const o=_e[r];if(o&&o.flags&2){if(e&&o.id!==e.uid)continue;_e.splice(r,1),r--,o.flags&4&&(o.flags&=-2),o(),o.flags&4||(o.flags&=-2)}}}function Is(e){if(Kt.length){const t=[...new Set(Kt)].sort((r,o)=>or(r)-or(o));if(Kt.length=0,kt){for(let r=0;r<t.length;r++)kt.push(t[r]);return}for(kt=t,zt=0;zt<kt.length;zt++){const r=kt[zt];r.flags&4&&(r.flags&=-2),r.flags&8||r(),r.flags&=-2}kt=null,zt=0}}const or=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Ps(e){try{for(et=0;et<_e.length;et++){const t=_e[et];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),$t(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;et<_e.length;et++){const t=_e[et];t&&(t.flags&=-2)}et=-1,_e.length=0,Is(),Er=null,(_e.length||Kt.length)&&Ps()}}let $e=null,Ms=null;function Rr(e){const t=$e;return $e=e,Ms=e&&e.type.__scopeId||null,t}function Fi(e,t=$e,r){if(!t||e._n)return e;const o=(...s)=>{o._d&&$r(-1);const n=Rr(t),i=jt.length;let l;try{l=e(...s)}finally{for(let c=jt.length;c>i;c--)pn();Rr(n),o._d&&$r(1)}return l};return o._n=!0,o._c=!0,o._d=!0,o}function ke(e,t){if($e===null)return e;const r=Br($e),o=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[n,i,l,c=ee]=t[s];n&&(U(n)&&(n={mounted:n,updated:n}),n.deep&&ct(i),o.push({dir:n,instance:r,value:i,oldValue:void 0,arg:l,modifiers:c}))}return e}function Et(e,t,r,o){const s=e.dirs,n=t&&t.dirs;for(let i=0;i<s.length;i++){const l=s[i];n&&(l.oldValue=n[i].value);let c=l.dir[o];c&&(Xe(),Be(c,r,8,[e.el,l,e,t]),Ye())}}function Vi(e,t){if(Te){let r=Te.provides;const o=Te.parent&&Te.parent.provides;o===r&&(r=Te.provides=Object.create(o)),r[e]=t}}function Or(e,t,r=!1){const o=Nl();if(o||Ht){let s=Ht?Ht._context.provides:o?o.parent==null||o.ce?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:void 0;if(s&&e in s)return s[e];if(arguments.length>1)return r&&U(t)?t.call(o&&o.proxy):t}}const $i=Symbol.for("v-scx"),Ki=()=>Or($i);function Rt(e,t,r){return Es(e,t,r)}function Es(e,t,r=ee){const{immediate:o,deep:s,flush:n,once:i}=r,l=fe({},r),c=t&&o||!t&&n!=="post";let h;if(fr){if(n==="sync"){const I=Ki();h=I.__watcherHandles||(I.__watcherHandles=[])}else if(!c){const I=()=>{};return I.stop=We,I.resume=We,I.pause=We,I}}const p=Te;l.call=(I,W,F)=>Be(I,p,W,F);let m=!1;n==="post"?l.scheduler=I=>{Pe(I,p&&p.suspense)}:n!=="sync"&&(m=!0,l.scheduler=(I,W)=>{W?I():_o(I)}),l.augmentJob=I=>{t&&(I.flags|=4),m&&(I.flags|=2,p&&(I.id=p.uid,I.i=p))};const A=Mi(e,t,l);return fr&&(h?h.push(A):c&&A()),A}function zi(e,t,r){const o=this.proxy,s=ne(e)?e.includes(".")?Rs(o,e):()=>o[e]:e.bind(o,o);let n;U(t)?n=t:(n=t.handler,r=t);const i=ur(this),l=Es(s,n.bind(o),r);return i(),l}function Rs(e,t){const r=t.split(".");return()=>{let o=e;for(let s=0;s<r.length&&o;s++)o=o[r[s]];return o}}const Di=Symbol("_vte"),jr=e=>e.__isTeleport,ko=Symbol("_leaveCb");function Hi(e){let t=e[0];if(e.length>1){for(const r of e)if(r.type!==ut){t=r;break}}return t}function Os(e){if(!Co(e))return jr(e.type)&&e.children?Hi(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:r}=e;if(r){if(t&16)return r[0];if(t&32&&U(r.default))return r.default()}}function So(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;const r=e.component.subTree;So(jr(r.type)&&Os(r)||r,t)}else e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function js(e,t){return U(e)?fe({name:e.name},t,{setup:e}):e}function Ns(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Us(e,t){let r;return!!((r=Object.getOwnPropertyDescriptor(e,t))&&!r.configurable)}const Nr=new WeakMap;function sr(e,t,r,o,s=!1){if(O(e)){e.forEach((F,ae)=>sr(F,t&&(O(t)?t[ae]:t),r,o,s));return}if(nr(o)&&!s){o.shapeFlag&512&&o.type.__asyncResolved&&o.component.subTree.component&&sr(e,t,r,o.component.subTree);return}const n=o.shapeFlag&4?Br(o.component):o.el,i=s?null:n,{i:l,r:c}=e,h=t&&t.r,p=l.refs===ee?l.refs={}:l.refs,m=l.setupState,A=H(m),I=m===ee?qo:F=>Us(p,F)?!1:q(A,F),W=(F,ae)=>!(ae&&Us(p,ae));if(h!=null&&h!==c){if(Ls(t),ne(h))p[h]=null,I(h)&&(m[h]=null);else if(be(h)){const F=t;W(h,F.k)&&(h.value=null),F.k&&(p[F.k]=null)}}if(U(c))$t(c,l,12,[i,p]);else{const F=ne(c),ae=be(c);if(F||ae){const oe=()=>{if(e.f){const z=F?I(c)?m[c]:p[c]:W()||!e.k?c.value:p[e.k];if(s)O(z)&&to(z,n);else if(O(z))z.includes(n)||z.push(n);else if(F)p[c]=[n],I(c)&&(m[c]=p[c]);else{const B=[n];W(c,e.k)&&(c.value=B),e.k&&(p[e.k]=B)}}else F?(p[c]=i,I(c)&&(m[c]=i)):ae&&(W(c,e.k)&&(c.value=i),e.k&&(p[e.k]=i))};if(i){const z=()=>{oe(),Nr.delete(e)};z.id=-1,Nr.set(e,z),Pe(z,r)}else Ls(e),oe()}}}function Ls(e){const t=Nr.get(e);t&&(t.flags|=8,Nr.delete(e))}wr().requestIdleCallback,wr().cancelIdleCallback;const nr=e=>!!e.type.__asyncLoader,Co=e=>e.type.__isKeepAlive;function Bi(e,t){Fs(e,"a",t)}function qi(e,t){Fs(e,"da",t)}function Fs(e,t,r=Te){const o=e.__wdc||(e.__wdc=()=>{let s=r;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Ur(t,o,r),r){let s=r.parent;for(;s&&s.parent;)Co(s.parent.vnode)&&Wi(o,t,r,s),s=s.parent}}function Wi(e,t,r,o){const s=Ur(t,e,o,!0);$s(()=>{to(o[t],s)},r)}function Ur(e,t,r=Te,o=!1){if(r){const s=r[e]||(r[e]=[]),n=t.__weh||(t.__weh=(...i)=>{Xe();const l=ur(r),c=Be(t,r,e,i);return l(),Ye(),c});return o?s.unshift(n):s.push(n),n}}const dt=e=>(t,r=Te)=>{(!fr||e==="sp")&&Ur(e,(...o)=>t(...o),r)},Gi=dt("bm"),Vs=dt("m"),Ji=dt("bu"),Xi=dt("u"),Yi=dt("bum"),$s=dt("um"),Zi=dt("sp"),Qi=dt("rtg"),el=dt("rtc");function tl(e,t=Te){Ur("ec",e,t)}const rl=Symbol.for("v-ndc");function Dt(e,t,r,o){let s;const n=r,i=O(e);if(i||ne(e)){const l=i&&wt(e);let c=!1,h=!1;l&&(c=!Fe(e),h=Qe(e),e=kr(e)),s=new Array(e.length);for(let p=0,m=e.length;p<m;p++)s[p]=t(c?h?_t(Ve(e[p])):Ve(e[p]):e[p],p,void 0,n)}else if(typeof e=="number"){s=new Array(e);for(let l=0;l<e;l++)s[l]=t(l+1,l,void 0,n)}else if(X(e))if(e[Symbol.iterator])s=Array.from(e,(l,c)=>t(l,c,void 0,n));else{const l=Object.keys(e);s=new Array(l.length);for(let c=0,h=l.length;c<h;c++){const p=l[c];s[c]=t(e[p],p,c,n)}}else s=[];return s}const To=e=>e?mn(e)?Br(e):To(e.parent):null,ir=fe(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=>To(e.parent),$root:e=>To(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Hs(e),$forceUpdate:e=>e.f||(e.f=()=>{_o(e.update)}),$nextTick:e=>e.n||(e.n=wo.bind(e.proxy)),$watch:e=>zi.bind(e)}),Ao=(e,t)=>e!==ee&&!e.__isScriptSetup&&q(e,t),ol={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:r,setupState:o,data:s,props:n,accessCache:i,type:l,appContext:c}=e;if(t[0]!=="$"){const A=i[t];if(A!==void 0)switch(A){case 1:return o[t];case 2:return s[t];case 4:return r[t];case 3:return n[t]}else{if(Ao(o,t))return i[t]=1,o[t];if(s!==ee&&q(s,t))return i[t]=2,s[t];if(q(n,t))return i[t]=3,n[t];if(r!==ee&&q(r,t))return i[t]=4,r[t];Io&&(i[t]=0)}}const h=ir[t];let p,m;if(h)return t==="$attrs"&&ye(e.attrs,"get",""),h(e);if((p=l.__cssModules)&&(p=p[t]))return p;if(r!==ee&&q(r,t))return i[t]=4,r[t];if(m=c.config.globalProperties,q(m,t))return m[t]},set({_:e},t,r){const{data:o,setupState:s,ctx:n}=e;return Ao(s,t)?(s[t]=r,!0):o!==ee&&q(o,t)?(o[t]=r,!0):q(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(n[t]=r,!0)},has({_:{data:e,setupState:t,accessCache:r,ctx:o,appContext:s,props:n,type:i}},l){let c;return!!(r[l]||e!==ee&&l[0]!=="$"&&q(e,l)||Ao(t,l)||q(n,l)||q(o,l)||q(ir,l)||q(s.config.globalProperties,l)||(c=i.__cssModules)&&c[l])},defineProperty(e,t,r){return r.get!=null?e._.accessCache[t]=0:q(r,"value")&&this.set(e,t,r.value,null),Reflect.defineProperty(e,t,r)}};function Ks(e){return O(e)?e.reduce((t,r)=>(t[r]=null,t),{}):e}let Io=!0;function sl(e){const t=Hs(e),r=e.proxy,o=e.ctx;Io=!1,t.beforeCreate&&zs(t.beforeCreate,e,"bc");const{data:s,computed:n,methods:i,watch:l,provide:c,inject:h,created:p,beforeMount:m,mounted:A,beforeUpdate:I,updated:W,activated:F,deactivated:ae,beforeDestroy:oe,beforeUnmount:z,destroyed:B,unmounted:P,render:Z,renderTracked:Ae,renderTriggered:me,errorCaptured:he,serverPrefetch:Ee,expose:st,inheritAttrs:St,components:nt,directives:gt,filters:bt}=t;if(h&&nl(h,o,null),i)for(const Q in i){const G=i[Q];U(G)&&(o[Q]=G.bind(r))}if(s){const Q=s.call(r,r);X(Q)&&(e.data=mo(Q))}if(Io=!0,n)for(const Q in n){const G=n[Q],Ke=U(G)?G.bind(r,r):U(G.get)?G.get.bind(r,r):We,ce=!U(G)&&U(G.set)?G.set.bind(r):We,Re=ot({get:Ke,set:ce});Object.defineProperty(o,Q,{enumerable:!0,configurable:!0,get:()=>Re.value,set:ve=>Re.value=ve})}if(l)for(const Q in l)Ds(l[Q],o,r,Q);if(c){const Q=U(c)?c.call(r):c;Reflect.ownKeys(Q).forEach(G=>{Vi(G,Q[G])})}p&&zs(p,e,"c");function se(Q,G){O(G)?G.forEach(Ke=>Q(Ke.bind(r))):G&&Q(G.bind(r))}if(se(Gi,m),se(Vs,A),se(Ji,I),se(Xi,W),se(Bi,F),se(qi,ae),se(tl,he),se(el,Ae),se(Qi,me),se(Yi,z),se($s,P),se(Zi,Ee),O(st))if(st.length){const Q=e.exposed||(e.exposed={});st.forEach(G=>{Object.defineProperty(Q,G,{get:()=>r[G],set:Ke=>r[G]=Ke,enumerable:!0})})}else e.exposed||(e.exposed={});Z&&e.render===We&&(e.render=Z),St!=null&&(e.inheritAttrs=St),nt&&(e.components=nt),gt&&(e.directives=gt),Ee&&Ns(e)}function nl(e,t,r=We){O(e)&&(e=Po(e));for(const o in e){const s=e[o];let n;X(s)?"default"in s?n=Or(s.from||o,s.default,!0):n=Or(s.from||o):n=Or(s),be(n)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>n.value,set:i=>n.value=i}):t[o]=n}}function zs(e,t,r){Be(O(e)?e.map(o=>o.bind(t.proxy)):e.bind(t.proxy),t,r)}function Ds(e,t,r,o){let s=o.includes(".")?Rs(r,o):()=>r[o];if(ne(e)){const n=t[e];U(n)&&Rt(s,n)}else if(U(e))Rt(s,e.bind(r));else if(X(e))if(O(e))e.forEach(n=>Ds(n,t,r,o));else{const n=U(e.handler)?e.handler.bind(r):t[e.handler];U(n)&&Rt(s,n,e)}}function Hs(e){const t=e.type,{mixins:r,extends:o}=t,{mixins:s,optionsCache:n,config:{optionMergeStrategies:i}}=e.appContext,l=n.get(t);let c;return l?c=l:!s.length&&!r&&!o?c=t:(c={},s.length&&s.forEach(h=>Lr(c,h,i,!0)),Lr(c,t,i)),X(t)&&n.set(t,c),c}function Lr(e,t,r,o=!1){const{mixins:s,extends:n}=t;n&&Lr(e,n,r,!0),s&&s.forEach(i=>Lr(e,i,r,!0));for(const i in t)if(!(o&&i==="expose")){const l=il[i]||r&&r[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const il={data:Bs,props:qs,emits:qs,methods:lr,computed:lr,beforeCreate:Se,created:Se,beforeMount:Se,mounted:Se,beforeUpdate:Se,updated:Se,beforeDestroy:Se,beforeUnmount:Se,destroyed:Se,unmounted:Se,activated:Se,deactivated:Se,errorCaptured:Se,serverPrefetch:Se,components:lr,directives:lr,watch:al,provide:Bs,inject:ll};function Bs(e,t){return t?e?function(){return fe(U(e)?e.call(this,this):e,U(t)?t.call(this,this):t)}:t:e}function ll(e,t){return lr(Po(e),Po(t))}function Po(e){if(O(e)){const t={};for(let r=0;r<e.length;r++)t[e[r]]=e[r];return t}return e}function Se(e,t){return e?[...new Set([].concat(e,t))]:t}function lr(e,t){return e?fe(Object.create(null),e,t):t}function qs(e,t){return e?O(e)&&O(t)?[...new Set([...e,...t])]:fe(Object.create(null),Ks(e),Ks(t??{})):t}function al(e,t){if(!e)return t;if(!t)return e;const r=fe(Object.create(null),e);for(const o in t)r[o]=Se(e[o],t[o]);return r}function Ws(){return{app:null,config:{isNativeTag:qo,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}}let cl=0;function dl(e,t){return function(o,s=null){U(o)||(o=fe({},o)),s!=null&&!X(s)&&(s=null);const n=Ws(),i=new WeakSet,l=[];let c=!1;const h=n.app={_uid:cl++,_component:o,_props:s,_container:null,_context:n,_instance:null,version:Hl,get config(){return n.config},set config(p){},use(p,...m){return i.has(p)||(p&&U(p.install)?(i.add(p),p.install(h,...m)):U(p)&&(i.add(p),p(h,...m))),h},mixin(p){return n.mixins.includes(p)||n.mixins.push(p),h},component(p,m){return m?(n.components[p]=m,h):n.components[p]},directive(p,m){return m?(n.directives[p]=m,h):n.directives[p]},mount(p,m,A){if(!c){const I=h._ceVNode||R(o,s);return I.appContext=n,A===!0?A="svg":A===!1&&(A=void 0),e(I,p,A),c=!0,h._container=p,p.__vue_app__=h,Br(I.component)}},onUnmount(p){l.push(p)},unmount(){c&&(Be(l,h._instance,16),e(null,h._container),delete h._container.__vue_app__)},provide(p,m){return n.provides[p]=m,h},runWithContext(p){const m=Ht;Ht=h;try{return p()}finally{Ht=m}}};return h}}let Ht=null;const ul=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ie(t)}Modifiers`]||e[`${Le(t)}Modifiers`];function fl(e,t,...r){if(e.isUnmounted)return;const o=e.vnode.props||ee;let s=r;const n=t.startsWith("update:"),i=n&&ul(o,t.slice(7));i&&(i.trim&&(s=r.map(p=>ne(p)?p.trim():p)),i.number&&(s=s.map(yr)));let l,c=o[l=oo(t)]||o[l=oo(Ie(t))];!c&&n&&(c=o[l=oo(Le(t))]),c&&Be(c,e,6,s);const h=o[l+"Once"];if(h){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Be(h,e,6,s)}}const pl=new WeakMap;function Gs(e,t,r=!1){const o=r?pl:t.emitsCache,s=o.get(e);if(s!==void 0)return s;const n=e.emits;let i={},l=!1;if(!U(e)){const c=h=>{const p=Gs(h,t,!0);p&&(l=!0,fe(i,p))};!r&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!n&&!l?(X(e)&&o.set(e,null),null):(O(n)?n.forEach(c=>i[c]=null):fe(i,n),X(e)&&o.set(e,i),i)}function Fr(e,t){return!e||!gr(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),q(e,t[0].toLowerCase()+t.slice(1))||q(e,Le(t))||q(e,t))}function Ou(){}function Js(e){const{type:t,vnode:r,proxy:o,withProxy:s,propsOptions:[n],slots:i,attrs:l,emit:c,render:h,renderCache:p,props:m,data:A,setupState:I,ctx:W,inheritAttrs:F}=e,ae=Rr(e);let oe,z;try{if(r.shapeFlag&4){const P=s||o,Z=P;oe=tt(h.call(Z,P,p,m,I,A,W)),z=l}else{const P=t;oe=tt(P.length>1?P(m,{attrs:l,slots:i,emit:c}):P(m,null)),z=t.props?l:hl(l)}}catch(P){jt.length=0,Mr(P,e,1),oe=R(ut)}let B=oe;if(z&&F!==!1){const P=Object.keys(z),{shapeFlag:Z}=B;P.length&&Z&7&&(n&&P.some(br)&&(z=gl(z,n)),B=Bt(B,z,!1,!0))}if(r.dirs&&(B=Bt(B,null,!1,!0),B.dirs=B.dirs?B.dirs.concat(r.dirs):r.dirs),r.transition){const P=jr(B.type)&&Os(B)||B;So(P,r.transition)}return oe=B,Rr(ae),oe}const hl=e=>{let t;for(const r in e)(r==="class"||r==="style"||gr(r))&&((t||(t={}))[r]=e[r]);return t},gl=(e,t)=>{const r={};for(const o in e)(!br(o)||!(o.slice(9)in t))&&(r[o]=e[o]);return r};function bl(e,t,r){const{props:o,children:s,component:n}=e,{props:i,children:l,patchFlag:c}=t,h=n.emitsOptions;if(t.dirs||t.transition)return!0;if(r&&c>=0){if(c&1024)return!0;if(c&16)return o?Xs(o,i,h):!!i;if(c&8){const p=t.dynamicProps;for(let m=0;m<p.length;m++){const A=p[m];if(Ys(i,o,A)&&!Fr(h,A))return!0}}}else return(s||l)&&(!l||!l.$stable)?!0:o===i?!1:o?i?Xs(o,i,h):!0:!!i;return!1}function Xs(e,t,r){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let s=0;s<o.length;s++){const n=o[s];if(Ys(t,e,n)&&!Fr(r,n))return!0}return!1}function Ys(e,t,r){const o=e[r],s=t[r];return r==="style"&&X(o)&&X(s)?!yt(o,s):o!==s}function ml({vnode:e,parent:t,suspense:r},o){for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===e&&(s.suspense.vnode.el=s.el=o,e=s),s===e)(e=t.vnode).el=o,t=t.parent;else break}r&&r.activeBranch===e&&(r.vnode.el=o)}const Zs={},Qs=()=>Object.create(Zs),en=e=>Object.getPrototypeOf(e)===Zs;function vl(e,t,r,o=!1){const s={},n=Qs();e.propsDefaults=Object.create(null),tn(e,t,s,n);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);r?e.props=o?s:_i(s):e.type.props?e.props=s:e.props=n,e.attrs=n}function xl(e,t,r,o){const{props:s,attrs:n,vnode:{patchFlag:i}}=e,l=H(s),[c]=e.propsOptions;let h=!1;if((o||i>0)&&!(i&16)){if(i&8){const p=e.vnode.dynamicProps;for(let m=0;m<p.length;m++){let A=p[m];if(Fr(e.emitsOptions,A))continue;const I=t[A];if(c)if(q(n,A))I!==n[A]&&(n[A]=I,h=!0);else{const W=Ie(A);s[W]=Mo(c,l,W,I,e,!1)}else I!==n[A]&&(n[A]=I,h=!0)}}}else{tn(e,t,s,n)&&(h=!0);let p;for(const m in l)(!t||!q(t,m)&&((p=Le(m))===m||!q(t,p)))&&(c?r&&(r[m]!==void 0||r[p]!==void 0)&&(s[m]=Mo(c,l,m,void 0,e,!0)):delete s[m]);if(n!==l)for(const m in n)(!t||!q(t,m))&&(delete n[m],h=!0)}h&&lt(e.attrs,"set","")}function tn(e,t,r,o){const[s,n]=e.propsOptions;let i=!1,l;if(t)for(let c in t){if(Xt(c))continue;const h=t[c];let p;s&&q(s,p=Ie(c))?!n||!n.includes(p)?r[p]=h:(l||(l={}))[p]=h:Fr(e.emitsOptions,c)||(!(c in o)||h!==o[c])&&(o[c]=h,i=!0)}if(n){const c=H(r),h=l||ee;for(let p=0;p<n.length;p++){const m=n[p];r[m]=Mo(s,c,m,h[m],e,!q(h,m))}}return i}function Mo(e,t,r,o,s,n){const i=e[r];if(i!=null){const l=q(i,"default");if(l&&o===void 0){const c=i.default;if(i.type!==Function&&!i.skipFactory&&U(c)){const{propsDefaults:h}=s;if(r in h)o=h[r];else{const p=ur(s);o=h[r]=c.call(null,t),p()}}else o=c;s.ce&&s.ce._setProp(r,o)}i[0]&&(n&&!l?o=!1:i[1]&&(o===""||o===Le(r))&&(o=!0))}return o}const yl=new WeakMap;function rn(e,t,r=!1){const o=r?yl:t.propsCache,s=o.get(e);if(s)return s;const n=e.props,i={},l=[];let c=!1;if(!U(e)){const p=m=>{c=!0;const[A,I]=rn(m,t,!0);fe(i,A),I&&l.push(...I)};!r&&t.mixins.length&&t.mixins.forEach(p),e.extends&&p(e.extends),e.mixins&&e.mixins.forEach(p)}if(!n&&!c)return X(e)&&o.set(e,At),At;if(O(n))for(let p=0;p<n.length;p++){const m=Ie(n[p]);on(m)&&(i[m]=ee)}else if(n)for(const p in n){const m=Ie(p);if(on(m)){const A=n[p],I=i[m]=O(A)||U(A)?{type:A}:fe({},A),W=I.type;let F=!1,ae=!0;if(O(W))for(let oe=0;oe<W.length;++oe){const z=W[oe],B=U(z)&&z.name;if(B==="Boolean"){F=!0;break}else B==="String"&&(ae=!1)}else F=U(W)&&W.name==="Boolean";I[0]=F,I[1]=ae,(F||q(I,"default"))&&l.push(m)}}const h=[i,l];return X(e)&&o.set(e,h),h}function on(e){return e[0]!=="$"&&!Xt(e)}const Eo=e=>e==="_"||e==="_ctx"||e==="$stable",Ro=e=>O(e)?e.map(tt):[tt(e)],wl=(e,t,r)=>{if(t._n)return t;const o=Fi((...s)=>Ro(t(...s)),r);return o._c=!1,o},sn=(e,t,r)=>{const o=e._ctx;for(const s in e){if(Eo(s))continue;const n=e[s];if(U(n))t[s]=wl(s,n,o);else if(n!=null){const i=Ro(n);t[s]=()=>i}}},nn=(e,t)=>{const r=Ro(t);e.slots.default=()=>r},ln=(e,t,r)=>{for(const o in t)(r||!Eo(o))&&(e[o]=t[o])},_l=(e,t,r)=>{const o=e.slots=Qs();if(e.vnode.shapeFlag&32){const s=t._;s?(ln(o,t,r),r&&Yo(o,"_",s,!0)):sn(t,o)}else t&&nn(e,t)},kl=(e,t,r)=>{const{vnode:o,slots:s}=e;let n=!0,i=ee;if(o.shapeFlag&32){const l=t._;l?r&&l===1?n=!1:ln(s,t,r):(n=!t.$stable,sn(t,s)),i=t}else t&&(nn(e,t),i={default:1});if(n)for(const l in s)!Eo(l)&&i[l]==null&&delete s[l]},Pe=Il;function Sl(e){return Cl(e)}function Cl(e,t){const r=wr();r.__VUE__=!0;const{insert:o,remove:s,patchProp:n,createElement:i,createText:l,createComment:c,setText:h,setElementText:p,parentNode:m,nextSibling:A,setScopeId:I=We,insertStaticContent:W}=e,F=(u,f,b,w=null,v=null,x=null,C=void 0,S=null,k=!!f.dynamicChildren)=>{if(u===f)return;u&&!cr(u,f)&&(w=Ft(u),ve(u,v,x,!0),u=null),f.patchFlag===-2&&(k=!1,f.dynamicChildren=null),f.dynamicChildren&&u&&u.dynamicChildren&&u.dynamicChildren.hasOnce&&(f.dynamicChildren===At&&(f.dynamicChildren=[]),f.dynamicChildren.hasOnce=!0);const{type:y,ref:M,shapeFlag:T}=f;switch(y){case Vr:ae(u,f,b,w);break;case ut:oe(u,f,b,w);break;case jo:u==null&&z(f,b,w,C);break;case Ce:nt(u,f,b,w,v,x,C,S,k);break;default:T&1?Z(u,f,b,w,v,x,C,S,k):T&6?gt(u,f,b,w,v,x,C,S,k):(T&64||T&128)&&y.process(u,f,b,w,v,x,C,S,k,Oe)}M!=null&&v?sr(M,u&&u.ref,x,f||u,!f):M==null&&u&&u.ref!=null&&sr(u.ref,null,x,u,!0)},ae=(u,f,b,w)=>{if(u==null)o(f.el=l(f.children),b,w);else{const v=f.el=u.el;f.children!==u.children&&h(v,f.children)}},oe=(u,f,b,w)=>{u==null?o(f.el=c(f.children||""),b,w):f.el=u.el},z=(u,f,b,w)=>{[u.el,u.anchor]=W(u.children,f,b,w,u.el,u.anchor)},B=({el:u,anchor:f},b,w)=>{let v;for(;u&&u!==f;)v=A(u),o(u,b,w),u=v;o(f,b,w)},P=({el:u,anchor:f})=>{let b;for(;u&&u!==f;)b=A(u),s(u),u=b;s(f)},Z=(u,f,b,w,v,x,C,S,k)=>{if(f.type==="svg"?C="svg":f.type==="math"&&(C="mathml"),u==null)Ae(f,b,w,v,x,C,S,k);else{const y=u.el&&u.el._isVueCE?u.el:null;try{y&&y._beginPatch(),Ee(u,f,v,x,C,S,k)}finally{y&&y._endPatch()}}},Ae=(u,f,b,w,v,x,C,S)=>{let k,y;const{props:M,shapeFlag:T,transition:E,dirs:j}=u;if(k=u.el=i(u.type,x,M&&M.is,M),T&8?p(k,u.children):T&16&&he(u.children,k,null,w,v,Oo(u,x),C,S),j&&Et(u,null,w,"created"),me(k,u,u.scopeId,C,w),M){for(const Y in M)Y!=="value"&&!Xt(Y)&&n(k,Y,null,M[Y],x,w);"value"in M&&n(k,"value",null,M.value,x),(y=M.onVnodeBeforeMount)&&rt(y,w,u)}j&&Et(u,null,w,"beforeMount");const K=Tl(v,E);K&&E.beforeEnter(k),o(k,f,b),((y=M&&M.onVnodeMounted)||K||j)&&Pe(()=>{try{y&&rt(y,w,u),K&&E.enter(k),j&&Et(u,null,w,"mounted")}finally{}},v)},me=(u,f,b,w,v)=>{if(b&&I(u,b),w)for(let x=0;x<w.length;x++)I(u,w[x]);if(v){let x=v.subTree;if(f===x||fn(x.type)&&(x.ssContent===f||x.ssFallback===f)){const C=v.vnode;me(u,C,C.scopeId,C.slotScopeIds,v.parent)}}},he=(u,f,b,w,v,x,C,S,k=0)=>{for(let y=k;y<u.length;y++){const M=u[y]=S?ft(u[y]):tt(u[y]);F(null,M,f,b,w,v,x,C,S)}},Ee=(u,f,b,w,v,x,C)=>{const S=f.el=u.el;let{patchFlag:k,dynamicChildren:y,dirs:M}=f;k|=u.patchFlag&16;const T=u.props||ee,E=f.props||ee;let j;if(b&&Ot(b,!1),(j=E.onVnodeBeforeUpdate)&&rt(j,b,f,u),M&&Et(f,u,b,"beforeUpdate"),b&&Ot(b,!0),y&&(!u.dynamicChildren||u.dynamicChildren.length!==y.length)&&(k=0,C=!1,y=null),(T.innerHTML&&E.innerHTML==null||T.textContent&&E.textContent==null)&&p(S,""),y?st(u.dynamicChildren,y,S,b,w,Oo(f,v),x):C||G(u,f,S,null,b,w,Oo(f,v),x,!1),k>0){if(k&16)St(S,T,E,b,v);else if(k&2&&T.class!==E.class&&n(S,"class",null,E.class,v),k&4&&n(S,"style",T.style,E.style,v),k&8){const K=f.dynamicProps;for(let Y=0;Y<K.length;Y++){const J=K[Y],de=T[J],pe=E[J];(pe!==de||J==="value")&&n(S,J,de,pe,v,b)}}k&1&&u.children!==f.children&&p(S,f.children)}else!C&&y==null&&St(S,T,E,b,v);((j=E.onVnodeUpdated)||M)&&Pe(()=>{j&&rt(j,b,f,u),M&&Et(f,u,b,"updated")},w)},st=(u,f,b,w,v,x,C)=>{for(let S=0;S<f.length;S++){const k=u[S],y=f[S],M=k.el&&(k.type===Ce||!cr(k,y)||k.shapeFlag&198)?m(k.el):b;F(k,y,M,null,w,v,x,C,!0)}},St=(u,f,b,w,v)=>{if(f!==b){if(f!==ee)for(const x in f)!Xt(x)&&!(x in b)&&n(u,x,f[x],null,v,w);for(const x in b){if(Xt(x))continue;const C=b[x],S=f[x];C!==S&&x!=="value"&&n(u,x,S,C,v,w)}"value"in b&&n(u,"value",f.value,b.value,v)}},nt=(u,f,b,w,v,x,C,S,k)=>{const y=f.el=u?u.el:l(""),M=f.anchor=u?u.anchor:l("");let{patchFlag:T,dynamicChildren:E,slotScopeIds:j}=f;j&&(S=S?S.concat(j):j),u==null?(o(y,b,w),o(M,b,w),he(f.children||[],b,M,v,x,C,S,k)):T>0&&T&64&&E&&u.dynamicChildren&&u.dynamicChildren.length===E.length?(st(u.dynamicChildren,E,b,v,x,C,S),(f.key!=null||v&&f===v.subTree)&&an(u,f,!0)):G(u,f,b,M,v,x,C,S,k)},gt=(u,f,b,w,v,x,C,S,k)=>{f.slotScopeIds=S,u==null?f.shapeFlag&512?v.ctx.activate(f,b,w,C,k):bt(f,b,w,v,x,C,k):it(u,f,k)},bt=(u,f,b,w,v,x,C)=>{const S=u.component=jl(u,w,v);if(Co(u)&&(S.ctx.renderer=Oe),Ul(S,!1,C),S.asyncDep){if(v&&v.registerDep(S,se,C),!u.el){const k=S.subTree=R(ut);oe(null,k,f,b),u.placeholder=k.el}}else se(S,u,f,b,v,x,C)},it=(u,f,b)=>{const w=f.component=u.component;if(bl(u,f,b))if(w.asyncDep&&!w.asyncResolved){f.el=u.el,Q(w,f,b);return}else w.next=f,w.update();else f.el=u.el,w.vnode=f},se=(u,f,b,w,v,x,C)=>{const S=()=>{if(u.isMounted){let{next:T,bu:E,u:j,parent:K,vnode:Y}=u;{const De=cn(u);if(De){T&&(T.el=Y.el,Q(u,T,C)),De.asyncDep.then(()=>{Pe(()=>{u.isUnmounted||y()},v)});return}}let J=T,de;Ot(u,!1),T?(T.el=Y.el,Q(u,T,C)):T=Y,E&&xr(E),(de=T.props&&T.props.onVnodeBeforeUpdate)&&rt(de,K,T,Y),Ot(u,!0);const pe=Js(u),ze=u.subTree;u.subTree=pe,F(ze,pe,m(ze.el),Ft(ze),u,v,x),T.el=pe.el,J===null&&ml(u,pe.el),j&&Pe(j,v),(de=T.props&&T.props.onVnodeUpdated)&&Pe(()=>rt(de,K,T,Y),v)}else{let T;const{el:E,props:j}=f,{bm:K,m:Y,parent:J,root:de,type:pe}=u,ze=nr(f);Ot(u,!1),K&&xr(K),!ze&&(T=j&&j.onVnodeBeforeMount)&&rt(T,J,f),Ot(u,!0);{de.ce&&de.ce._hasShadowRoot()&&de.ce._injectChildStyle(pe,u.parent?u.parent.type:void 0);const De=u.subTree=Js(u);F(null,De,b,w,u,v,x),f.el=De.el}if(Y&&Pe(Y,v),!ze&&(T=j&&j.onVnodeMounted)){const De=f;Pe(()=>rt(T,J,De),v)}(f.shapeFlag&256||J&&nr(J.vnode)&&J.vnode.shapeFlag&256)&&u.a&&Pe(u.a,v),u.isMounted=!0,f=b=w=null}};u.scope.on();const k=u.effect=new ns(S);u.scope.off();const y=u.update=k.run.bind(k),M=u.job=k.runIfDirty.bind(k);M.i=u,M.id=u.uid,k.scheduler=()=>_o(M),Ot(u,!0),y()},Q=(u,f,b)=>{f.component=u;const w=u.vnode.props;u.vnode=f,u.next=null,xl(u,f.props,w,b),kl(u,f.children,b),Xe(),As(u),Ye()},G=(u,f,b,w,v,x,C,S,k=!1)=>{const y=u&&u.children,M=u?u.shapeFlag:0,T=f.children,{patchFlag:E,shapeFlag:j}=f;if(E>0){if(E&128){ce(y,T,b,w,v,x,C,S,k);return}else if(E&256){Ke(y,T,b,w,v,x,C,S,k);return}}j&8?(M&16&&mt(y,v,x),T!==y&&p(b,T)):M&16?j&16?ce(y,T,b,w,v,x,C,S,k):mt(y,v,x,!0):(M&8&&p(b,""),j&16&&he(T,b,w,v,x,C,S,k))},Ke=(u,f,b,w,v,x,C,S,k)=>{u=u||At,f=f||At;const y=u.length,M=f.length,T=Math.min(y,M);let E;for(E=0;E<T;E++){const j=f[E]=k?ft(f[E]):tt(f[E]);F(u[E],j,b,null,v,x,C,S,k)}y>M?mt(u,v,x,!0,!1,T):he(f,b,w,v,x,C,S,k,T)},ce=(u,f,b,w,v,x,C,S,k)=>{let y=0;const M=f.length;let T=u.length-1,E=M-1;for(;y<=T&&y<=E;){const j=u[y],K=f[y]=k?ft(f[y]):tt(f[y]);if(cr(j,K))F(j,K,b,null,v,x,C,S,k);else break;y++}for(;y<=T&&y<=E;){const j=u[T],K=f[E]=k?ft(f[E]):tt(f[E]);if(cr(j,K))F(j,K,b,null,v,x,C,S,k);else break;T--,E--}if(y>T){if(y<=E){const j=E+1,K=j<M?f[j].el:w;for(;y<=E;)F(null,f[y]=k?ft(f[y]):tt(f[y]),b,K,v,x,C,S,k),y++}}else if(y>E)for(;y<=T;)ve(u[y],v,x,!0),y++;else{const j=y,K=y,Y=new Map;for(y=K;y<=E;y++){const g=f[y]=k?ft(f[y]):tt(f[y]);g.key!=null&&Y.set(g.key,y)}let J,de=0;const pe=E-K+1;let ze=!1,De=0;const _=new Array(pe);for(y=0;y<pe;y++)_[y]=0;for(y=j;y<=T;y++){const g=u[y];if(de>=pe){ve(g,v,x,!0);continue}let ie;if(g.key!=null)ie=Y.get(g.key);else for(J=K;J<=E;J++)if(_[J-K]===0&&cr(g,f[J])){ie=J;break}ie===void 0?ve(g,v,x,!0):(_[ie-K]=y+1,ie>=De?De=ie:ze=!0,F(g,f[ie],b,null,v,x,C,S,k),de++)}const d=ze?Al(_):At;for(J=d.length-1,y=pe-1;y>=0;y--){const g=K+y,ie=f[g],je=f[g+1],hr=g+1<M?je.el||un(je):w;_[y]===0?F(null,ie,b,hr,v,x,C,S,k):ze&&(J<0||y!==d[J]?Re(ie,b,hr,2):J--)}}},Re=(u,f,b,w,v=null)=>{const{el:x,type:C,transition:S,children:k,shapeFlag:y}=u;if(y&6){Re(u.component.subTree,f,b,w);return}if(y&128){u.suspense.move(f,b,w);return}if(y&64){C.move(u,f,b,Oe);return}if(C===Ce){o(x,f,b);for(let T=0;T<k.length;T++)Re(k[T],f,b,w);o(u.anchor,f,b);return}if(C===jo){B(u,f,b);return}if(w!==2&&y&1&&S)if(w===0)S.persisted&&!x[ko]?o(x,f,b):(S.beforeEnter(x),o(x,f,b),Pe(()=>S.enter(x),v));else{const{leave:T,delayLeave:E,afterLeave:j}=S,K=()=>{u.ctx.isUnmounted?s(x):o(x,f,b)},Y=()=>{const J=x._isLeaving||!!x[ko];x._isLeaving&&x[ko](!0),S.persisted&&!J?K():T(x,()=>{K(),j&&j()})};E?E(x,K,Y):Y()}else o(x,f,b)},ve=(u,f,b,w=!1,v=!1)=>{const{type:x,props:C,ref:S,children:k,dynamicChildren:y,shapeFlag:M,patchFlag:T,dirs:E,cacheIndex:j,memo:K}=u;if((T===-2||y&&y.hasOnce)&&(v=!1),S!=null&&(Xe(),sr(S,null,b,u,!0),Ye()),j!=null&&(!u.ctx||u.ctx===f)&&(f.renderCache[j]=void 0),M&256){f.ctx.deactivate(u);return}const Y=M&1&&E,J=!nr(u);let de;if(J&&(de=C&&C.onVnodeBeforeUnmount)&&rt(de,f,u),M&6)Gt(u.component,b,w);else{if(M&128){u.suspense.unmount(b,w);return}Y&&Et(u,null,f,"beforeUnmount"),M&64?u.type.remove(u,f,b,Oe,w):y&&!y.hasOnce&&(x!==Ce||T>0&&T&64)?mt(y,f,b,!1,!0):(x===Ce&&T&384||!v&&M&16)&&mt(k,f,b),w&&Wt(u)}const pe=K!=null&&j==null;(J&&(de=C&&C.onVnodeUnmounted)||Y||pe)&&Pe(()=>{de&&rt(de,f,u),Y&&Et(u,null,f,"unmounted"),pe&&(u.el=null)},b)},Wt=u=>{const{type:f,el:b,anchor:w,transition:v}=u;if(f===Ce){we(b,w);return}if(f===jo){P(u),v&&!v.persisted&&v.afterLeave&&v.afterLeave();return}const x=()=>{s(b),v&&!v.persisted&&v.afterLeave&&v.afterLeave()};if(u.shapeFlag&1&&v&&!v.persisted){const{leave:C,delayLeave:S}=v,k=()=>C(b,x);S?S(u.el,x,k):k()}else x()},we=(u,f)=>{let b;for(;u!==f;)b=A(u),s(u),u=b;s(f)},Gt=(u,f,b)=>{const{bum:w,scope:v,job:x,subTree:C,um:S,m:k,a:y}=u;dn(k),dn(y),w&&xr(w),v.stop(),x?(x.flags|=8,ve(C,u,f,b)):u.vnode.el&&C&&(C.transition=u.vnode.transition,ve(C,u,f,b)),S&&Pe(S,f),Pe(()=>{u.isUnmounted=!0},f)},mt=(u,f,b,w=!1,v=!1,x=0)=>{for(let C=x;C<u.length;C++)ve(u[C],f,b,w,v)},Ft=u=>{if(u.shapeFlag&6)return Ft(u.component.subTree);if(u.shapeFlag&128)return u.suspense.next();const f=A(u.anchor||u.el),b=f&&f[Di];return b?A(b):f};let Ct=!1;const Tt=(u,f,b)=>{let w;u==null?f._vnode&&(ve(f._vnode,null,null,!0),w=f._vnode.component):F(f._vnode||null,u,f,null,null,null,b),f._vnode=u,Ct||(Ct=!0,As(w),Is(),Ct=!1)},Oe={p:F,um:ve,m:Re,r:Wt,mt:bt,mc:he,pc:G,pbc:st,n:Ft,o:e};return{render:Tt,hydrate:void 0,createApp:dl(Tt)}}function Oo({type:e,props:t},r){return r==="svg"&&e==="foreignObject"||r==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:r}function Ot({effect:e,job:t},r){r?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Tl(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function an(e,t,r=!1){const o=e.children,s=t.children;if(O(o)&&O(s))for(let n=0;n<o.length;n++){const i=o[n];let l=s[n];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=s[n]=ft(s[n]),l.el=i.el),!r&&l.patchFlag!==-2&&an(i,l)),l.type===Vr&&(l.patchFlag===-1&&(l=s[n]=ft(l)),l.el=i.el),l.type===ut&&!l.el&&(l.el=i.el)}}function Al(e){const t=e.slice(),r=[0];let o,s,n,i,l;const c=e.length;for(o=0;o<c;o++){const h=e[o];if(h!==0){if(s=r[r.length-1],e[s]<h){t[o]=s,r.push(o);continue}for(n=0,i=r.length-1;n<i;)l=n+i>>1,e[r[l]]<h?n=l+1:i=l;h<e[r[n]]&&(n>0&&(t[o]=r[n-1]),r[n]=o)}}for(n=r.length,i=r[n-1];n-- >0;)r[n]=i,i=t[i];return r}function cn(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:cn(t)}function dn(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function un(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?un(t.subTree):null}const fn=e=>e.__isSuspense;function Il(e,t){t&&t.pendingBranch?O(e)?t.effects.push(...e):t.effects.push(e):Li(e)}const Ce=Symbol.for("v-fgt"),Vr=Symbol.for("v-txt"),ut=Symbol.for("v-cmt"),jo=Symbol.for("v-stc"),jt=[];let Ue=null;function L(e=!1){jt.push(Ue=e?null:[])}function pn(){jt.pop(),Ue=jt[jt.length-1]||null}let ar=1;function $r(e,t=!1){ar+=e,e<0&&Ue&&t&&(Ue.hasOnce=!0)}function hn(e){return e.dynamicChildren=ar>0?Ue||At:null,pn(),ar>0&&Ue&&Ue.push(e),e}function $(e,t,r,o,s,n){return hn(a(e,t,r,o,s,n,!0))}function Nt(e,t,r,o,s){return hn(R(e,t,r,o,s,!0))}function Kr(e){return e?e.__v_isVNode===!0:!1}function cr(e,t){return e.type===t.type&&e.key===t.key}const gn=({key:e})=>e??null,zr=({ref:e,ref_key:t,ref_for:r})=>(typeof e=="number"&&(e=""+e),e!=null?ne(e)||be(e)||U(e)?{i:$e,r:e,k:t,f:!!r}:e:null);function a(e,t=null,r=null,o=0,s=null,n=e===Ce?0:1,i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&gn(t),ref:t&&zr(t),scopeId:Ms,slotScopeIds:null,children:r,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:n,patchFlag:o,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:$e};return l?(Dr(c,r),n&128&&e.normalize(c)):r&&(c.shapeFlag|=ne(r)?8:16),ar>0&&!i&&Ue&&(c.patchFlag>0||n&6)&&c.patchFlag!==32&&Ue.push(c),c}const R=Pl;function Pl(e,t=null,r=null,o=0,s=null,n=!1){if((!e||e===rl)&&(e=ut),Kr(e)){const l=Bt(e,t,!0);return r&&Dr(l,r),ar>0&&!n&&Ue&&(l.shapeFlag&6?Ue[Ue.indexOf(e)]=l:Ue.push(l)),l.patchFlag=-2,l}if(Dl(e)&&(e=e.__vccOpts),t){t=Ml(t);let{class:l,style:c}=t;l&&!ne(l)&&(t.class=Ne(l)),X(c)&&(xo(c)&&!O(c)&&(c=fe({},c)),t.style=_r(c))}const i=ne(e)?1:fn(e)?128:jr(e)?64:X(e)?4:U(e)?2:0;return a(e,t,r,o,s,i,n,!0)}function Ml(e){return e?xo(e)||en(e)?fe({},e):e:null}function Bt(e,t,r=!1,o=!1){const{props:s,ref:n,patchFlag:i,children:l,transition:c}=e,h=t?El(s||{},t):s,p={__v_isVNode:!0,__v_skip:!0,type:e.type,props:h,key:h&&gn(h),ref:t&&t.ref?r&&n?O(n)?n.concat(zr(t)):[n,zr(t)]:zr(t):n,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ce?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Bt(e.ssContent),ssFallback:e.ssFallback&&Bt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce,cacheIndex:e.cacheIndex};return c&&o&&So(p,c.clone(p)),p}function qe(e=" ",t=0){return R(Vr,null,e,t)}function le(e="",t=!1){return t?(L(),Nt(ut,null,e)):R(ut,null,e)}function tt(e){return e==null||typeof e=="boolean"?R(ut):O(e)?R(Ce,null,e.slice()):Kr(e)?ft(e):R(Vr,null,String(e))}function ft(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Bt(e)}function Dr(e,t){let r=0;const{shapeFlag:o}=e;if(t==null)t=null;else if(O(t))r=16;else if(typeof t=="object")if(o&65){const s=t.default;s&&(s._c&&(s._d=!1),Dr(e,s()),s._c&&(s._d=!0));return}else{r=32;const s=t._;!s&&!en(t)?t._ctx=$e:s===3&&$e&&($e.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(U(t)){if(o&65){Dr(e,{default:t});return}t={default:t,_ctx:$e},r=32}else t=String(t),o&64?(r=16,t=[qe(t)]):r=8;e.children=t,e.shapeFlag|=r}function El(...e){const t={};for(let r=0;r<e.length;r++){const o=e[r];for(const s in o)if(s==="class")t.class!==o.class&&(t.class=Ne([t.class,o.class]));else if(s==="style")t.style=_r([t.style,o.style]);else if(gr(s)){const n=t[s],i=o[s];i&&n!==i&&!(O(n)&&n.includes(i))?t[s]=n?[].concat(n,i):i:i==null&&n==null&&!br(s)&&(t[s]=i)}else s!==""&&(t[s]=o[s])}return t}function rt(e,t,r,o=null){Be(e,t,7,[r,o])}const Rl=Ws();let Ol=0;function jl(e,t,r){const o=e.type,s=(t?t.appContext:e.appContext)||Rl,n={uid:Ol++,vnode:e,type:o,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new oi(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:rn(o,s),emitsOptions:Gs(o,s),emit:null,emitted:null,propsDefaults:ee,inheritAttrs:o.inheritAttrs,ctx:ee,data:ee,props:ee,attrs:ee,slots:ee,refs:ee,setupState:ee,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 n.ctx={_:n},n.root=t?t.root:n,n.emit=fl.bind(null,n),e.ce&&e.ce(n),n}let Te=null;const Nl=()=>Te||$e;let Hr,dr;{const e=wr(),t=(r,o)=>{let s;return(s=e[r])||(s=e[r]=[]),s.push(o),n=>{s.length>1?s.forEach(i=>i(n)):s[0](n)}};Hr=t("__VUE_INSTANCE_SETTERS__",r=>Te=r),dr=t("__VUE_SSR_SETTERS__",r=>fr=r)}const ur=e=>{const t=Te;return Hr(e),e.scope.on(),()=>{e.scope.off(),Hr(t)}},bn=()=>{Te&&Te.scope.off(),Hr(null)};function mn(e){return e.vnode.shapeFlag&4}let fr=!1;function Ul(e,t=!1,r=!1){t&&dr(t);const{props:o,children:s}=e.vnode,n=mn(e);vl(e,o,n,t),_l(e,s,r||t);const i=n?Ll(e,t):void 0;return t&&dr(!1),i}function Ll(e,t){const r=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,ol);const{setup:o}=r;if(o){Xe();const s=e.setupContext=o.length>1?Vl(e):null,n=ur(e),i=$t(o,e,0,[e.props,s]),l=Go(i);if(Ye(),n(),(l||e.sp)&&!nr(e)&&Ns(e),l){if(i.then(bn,bn),t)return i.then(c=>{dr(!0);try{vn(e,c,t)}finally{dr(!1)}}).catch(c=>{Mr(c,e,0)});e.asyncDep=i}else vn(e,i)}else xn(e)}function vn(e,t,r){U(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:X(t)&&(e.setupState=ks(t)),xn(e)}function xn(e,t,r){const o=e.type;e.render||(e.render=o.render||We);{const s=ur(e);Xe();try{sl(e)}finally{Ye(),s()}}}const Fl={get(e,t){return ye(e,"get",""),e[t]}};function Vl(e){const t=r=>{e.exposed=r||{}};return{attrs:new Proxy(e.attrs,Fl),slots:e.slots,emit:e.emit,expose:t}}function Br(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(ks(ki(e.exposed)),{get(t,r){if(r in t)return t[r];if(r in ir)return ir[r](e)},has(t,r){return r in t||r in ir}})):e.proxy}const $l=/(?:^|[-_])\w/g,Kl=e=>e.replace($l,t=>t.toUpperCase()).replace(/[-_]/g,"");function zl(e,t=!0){return U(e)?e.displayName||e.name:e.name||t&&e.__name}function yn(e,t,r=!1){let o=zl(t);if(!o&&t.__file){const s=t.__file.match(/([^/\\]+)\.\w+$/);s&&(o=s[1])}if(!o&&e){const s=n=>{for(const i in n)if(n[i]===t)return i};o=s(e.components)||e.parent&&s(e.parent.type.components)||s(e.appContext.components)}return o?Kl(o):r?"App":"Anonymous"}function Dl(e){return U(e)&&"__vccOpts"in e}const ot=(e,t)=>Ii(e,t,fr);function No(e,t,r){try{$r(-1);const o=arguments.length;return o===2?X(t)&&!O(t)?Kr(t)?R(e,null,[t]):R(e,t):R(e,null,t):(o>3?r=Array.prototype.slice.call(arguments,2):o===3&&Kr(r)&&(r=[r]),R(e,t,r))}finally{$r(1)}}const Hl="3.5.43";/**
15
+ `,...Vl(s)),console.warn(...n)}et(),To=!1}function Fl(){let e=lr[lr.length-1];if(!e)return[];const t=[];for(;e;){const r=t[0];r&&r.vnode===e?r.recurseCount++:t.push({vnode:e,recurseCount:0});const o=e.component&&e.component.parent;e=o&&o.vnode}return t}function Vl(e){const t=[];return e.forEach((r,o)=>{t.push(...o===0?[]:[`
16
+ `],...Dl(r))}),t}function Dl({vnode:e,recurseCount:t}){const r=t>0?`... (${t} recursive calls)`:"",o=e.component?e.component.parent==null:!1,s=` at <${Tn(e.component,e.type,o)}`,n=">"+r;return e.props?[s,...zl(e.props),n]:[s+n]}function zl(e){const t=[],r=Object.keys(e);return r.slice(0,3).forEach(o=>{t.push(...Ms(o,e[o]))}),r.length>3&&t.push(" ..."),t}function Ms(e,t,r){return ae(t)?(t=JSON.stringify(t),r?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?r?t:[`${e}=${t}`]:ve(t)?(t=Ms(e,W(t.value),!0),r?t:[`${e}=Ref<`,t,">"]):L(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=W(t),r?t:[`${e}=`,t])}function qt(e,t,r,o){try{return o?e(...o):e()}catch(s){jr(s,t,r)}}function We(e,t,r,o){if(L(e)){const s=qt(e,t,r,o);return s&&es(s)&&s.catch(n=>{jr(n,t,r)}),s}if(U(e)){const s=[];for(let n=0;n<e.length;n++)s.push(We(e[n],t,r,o));return s}}function jr(e,t,r,o=!0){const s=t?t.vnode:null,{errorHandler:n,throwUnhandledErrorInProduction:l}=t&&t.appContext.config||oe;if(t){let a=t.parent;const d=t.proxy,g=`https://vuejs.org/error-reference/#runtime-${r}`;for(;a;){const h=a.ec;if(h){for(let m=0;m<h.length;m++)if(h[m](e,d,g)===!1)return}a=a.parent}if(n){Qe(),qt(n,null,10,[e,d,g]),et();return}}Hl(e,r,s,o,l)}function Hl(e,t,r,o=!0,s=!1){if(s)throw e;console.error(e)}const Te=[];let ot=-1;const Wt=[];let Tt=null,Gt=0;const Es=Promise.resolve();let Nr=null;function Ao(e){const t=Nr||Es;return e?t.then(this?e.bind(this):e):t}function Bl(e){let t=ot+1,r=Te.length;for(;t<r;){const o=t+r>>>1,s=Te[o],n=ir(s);n<e||n===e&&s.flags&2?t=o+1:r=o}return t}function Io(e){if(!(e.flags&1)){const t=ir(e),r=Te[Te.length-1];!r||!(e.flags&2)&&t>=ir(r)?Te.push(e):Te.splice(Bl(t),0,e),e.flags|=1,Rs()}}function Rs(){Nr||(Nr=Es.then(Ns))}function ql(e){if(!U(e))Tt&&e.id===-1?Tt.splice(Gt+1,0,e):e.flags&1||(Wt.push(e),e.flags|=1);else for(let t=0;t<e.length;t++)Wt.push(e[t]);Rs()}function Os(e,t,r=ot+1){for(;r<Te.length;r++){const o=Te[r];if(o&&o.flags&2){if(e&&o.id!==e.uid)continue;Te.splice(r,1),r--,o.flags&4&&(o.flags&=-2),o(),o.flags&4||(o.flags&=-2)}}}function js(e){if(Wt.length){const t=[...new Set(Wt)].sort((r,o)=>ir(r)-ir(o));if(Wt.length=0,Tt){for(let r=0;r<t.length;r++)Tt.push(t[r]);return}for(Tt=t,Gt=0;Gt<Tt.length;Gt++){const r=Tt[Gt];r.flags&4&&(r.flags&=-2),r.flags&8||r(),r.flags&=-2}Tt=null,Gt=0}}const ir=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Ns(e){try{for(ot=0;ot<Te.length;ot++){const t=Te[ot];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),qt(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;ot<Te.length;ot++){const t=Te[ot];t&&(t.flags&=-2)}ot=-1,Te.length=0,js(),Nr=null,(Te.length||Wt.length)&&Ns()}}let Ve=null,Us=null;function Ur(e){const t=Ve;return Ve=e,Us=e&&e.type.__scopeId||null,t}function Wl(e,t=Ve,r){if(!t||e._n)return e;const o=(...s)=>{o._d&&Hr(-1);const n=Ur(t),l=Ft.length;let a;try{a=e(...s)}finally{for(let d=Ft.length;d>l;d--)vn();Ur(n),o._d&&Hr(1)}return a};return o._n=!0,o._c=!0,o._d=!0,o}function ye(e,t){if(Ve===null)return e;const r=Jr(Ve),o=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[n,l,a,d=oe]=t[s];n&&(L(n)&&(n={mounted:n,updated:n}),n.deep&&ft(l),o.push({dir:n,instance:r,value:l,oldValue:void 0,arg:a,modifiers:d}))}return e}function $t(e,t,r,o){const s=e.dirs,n=t&&t.dirs;for(let l=0;l<s.length;l++){const a=s[l];n&&(a.oldValue=n[l].value);let d=a.dir[o];d&&(Qe(),We(d,r,8,[e.el,a,e,t]),et())}}function Gl(e,t){if(Ie){let r=Ie.provides;const o=Ie.parent&&Ie.parent.provides;o===r&&(r=Ie.provides=Object.create(o)),r[e]=t}}function $r(e,t,r=!1){const o=Hi();if(o||Jt){let s=Jt?Jt._context.provides:o?o.parent==null||o.ce?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:void 0;if(s&&e in s)return s[e];if(arguments.length>1)return r&&L(t)?t.call(o&&o.proxy):t}}const Jl=Symbol.for("v-scx"),Xl=()=>$r(Jl);function Kt(e,t,r){return $s(e,t,r)}function $s(e,t,r=oe){const{immediate:o,deep:s,flush:n,once:l}=r,a=ue({},r),d=t&&o||!t&&n!=="post";let g;if(br){if(n==="sync"){const P=Xl();g=P.__watcherHandles||(P.__watcherHandles=[])}else if(!d){const P=()=>{};return P.stop=Xe,P.resume=Xe,P.pause=Xe,P}}const h=Ie;a.call=(P,X,F)=>We(P,h,X,F);let m=!1;n==="post"?a.scheduler=P=>{Re(P,h&&h.suspense)}:n!=="sync"&&(m=!0,a.scheduler=(P,X)=>{X?P():Io(P)}),a.augmentJob=P=>{t&&(P.flags|=4),m&&(P.flags|=2,h&&(P.id=h.uid,P.i=h))};const A=Ll(e,t,a);return br&&(g?g.push(A):d&&A()),A}function Yl(e,t,r){const o=this.proxy,s=ae(e)?e.includes(".")?Ks(o,e):()=>o[e]:e.bind(o,o);let n;L(t)?n=t:(n=t.handler,r=t);const l=gr(this),a=$s(s,n.bind(o),r);return l(),a}function Ks(e,t){const r=t.split(".");return()=>{let o=e;for(let s=0;s<r.length&&o;s++)o=o[r[s]];return o}}const Zl=Symbol("_vte"),Kr=e=>e.__isTeleport,Po=Symbol("_leaveCb");function Ql(e){let t=e[0];if(e.length>1){for(const r of e)if(r.type!==ht){t=r;break}}return t}function Ls(e){if(!Eo(e))return Kr(e.type)&&e.children?Ql(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:r}=e;if(r){if(t&16)return r[0];if(t&32&&L(r.default))return r.default()}}function Mo(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;const r=e.component.subTree;Mo(Kr(r.type)&&Ls(r)||r,t)}else e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Fs(e,t){return L(e)?ue({name:e.name},t,{setup:e}):e}function Vs(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Ds(e,t){let r;return!!((r=Object.getOwnPropertyDescriptor(e,t))&&!r.configurable)}const Lr=new WeakMap;function ar(e,t,r,o,s=!1){if(U(e)){e.forEach((F,ce)=>ar(F,t&&(U(t)?t[ce]:t),r,o,s));return}if(cr(o)&&!s){o.shapeFlag&512&&o.type.__asyncResolved&&o.component.subTree.component&&ar(e,t,r,o.component.subTree);return}const n=o.shapeFlag&4?Jr(o.component):o.el,l=s?null:n,{i:a,r:d}=e,g=t&&t.r,h=a.refs===oe?a.refs={}:a.refs,m=a.setupState,A=W(m),P=m===oe?Zo:F=>Ds(h,F)?!1:J(A,F),X=(F,ce)=>!(ce&&Ds(h,ce));if(g!=null&&g!==d){if(zs(t),ae(g))h[g]=null,P(g)&&(m[g]=null);else if(ve(g)){const F=t;X(g,F.k)&&(g.value=null),F.k&&(h[F.k]=null)}}if(L(d))qt(d,a,12,[l,h]);else{const F=ae(d),ce=ve(d);if(F||ce){const ie=()=>{if(e.f){const B=F?P(d)?m[d]:h[d]:X()||!e.k?d.value:h[e.k];if(s)U(B)&&io(B,n);else if(U(B))B.includes(n)||B.push(n);else if(F)h[d]=[n],P(d)&&(m[d]=h[d]);else{const G=[n];X(d,e.k)&&(d.value=G),e.k&&(h[e.k]=G)}}else F?(h[d]=l,P(d)&&(m[d]=l)):ce&&(X(d,e.k)&&(d.value=l),e.k&&(h[e.k]=l))};if(l){const B=()=>{ie(),Lr.delete(e)};B.id=-1,Lr.set(e,B),Re(B,r)}else zs(e),ie()}}}function zs(e){const t=Lr.get(e);t&&(t.flags|=8,Lr.delete(e))}Cr().requestIdleCallback,Cr().cancelIdleCallback;const cr=e=>!!e.type.__asyncLoader,Eo=e=>e.type.__isKeepAlive;function ei(e,t){Hs(e,"a",t)}function ti(e,t){Hs(e,"da",t)}function Hs(e,t,r=Ie){const o=e.__wdc||(e.__wdc=()=>{let s=r;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Fr(t,o,r),r){let s=r.parent;for(;s&&s.parent;)Eo(s.parent.vnode)&&ri(o,t,r,s),s=s.parent}}function ri(e,t,r,o){const s=Fr(t,e,o,!0);qs(()=>{io(o[t],s)},r)}function Fr(e,t,r=Ie,o=!1){if(r){const s=r[e]||(r[e]=[]),n=t.__weh||(t.__weh=(...l)=>{Qe();const a=gr(r),d=We(t,r,e,l);return a(),et(),d});return o?s.unshift(n):s.push(n),n}}const pt=e=>(t,r=Ie)=>{(!br||e==="sp")&&Fr(e,(...o)=>t(...o),r)},oi=pt("bm"),Bs=pt("m"),si=pt("bu"),ni=pt("u"),li=pt("bum"),qs=pt("um"),ii=pt("sp"),ai=pt("rtg"),ci=pt("rtc");function di(e,t=Ie){Fr("ec",e,t)}const ui=Symbol.for("v-ndc");function Ge(e,t,r,o){let s;const n=r,l=U(e);if(l||ae(e)){const a=l&&St(e);let d=!1,g=!1;a&&(d=!Le(e),g=rt(e),e=Ar(e)),s=new Array(e.length);for(let h=0,m=e.length;h<m;h++)s[h]=t(d?g?Ct(Fe(e[h])):Fe(e[h]):e[h],h,void 0,n)}else if(typeof e=="number"){s=new Array(e);for(let a=0;a<e;a++)s[a]=t(a+1,a,void 0,n)}else if(Z(e))if(e[Symbol.iterator])s=Array.from(e,(a,d)=>t(a,d,void 0,n));else{const a=Object.keys(e);s=new Array(a.length);for(let d=0,g=a.length;d<g;d++){const h=a[d];s[d]=t(e[h],h,d,n)}}else s=[];return s}const Ro=e=>e?kn(e)?Jr(e):Ro(e.parent):null,dr=ue(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=>Ro(e.parent),$root:e=>Ro(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Xs(e),$forceUpdate:e=>e.f||(e.f=()=>{Io(e.update)}),$nextTick:e=>e.n||(e.n=Ao.bind(e.proxy)),$watch:e=>Yl.bind(e)}),Oo=(e,t)=>e!==oe&&!e.__isScriptSetup&&J(e,t),fi={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:r,setupState:o,data:s,props:n,accessCache:l,type:a,appContext:d}=e;if(t[0]!=="$"){const A=l[t];if(A!==void 0)switch(A){case 1:return o[t];case 2:return s[t];case 4:return r[t];case 3:return n[t]}else{if(Oo(o,t))return l[t]=1,o[t];if(s!==oe&&J(s,t))return l[t]=2,s[t];if(J(n,t))return l[t]=3,n[t];if(r!==oe&&J(r,t))return l[t]=4,r[t];jo&&(l[t]=0)}}const g=dr[t];let h,m;if(g)return t==="$attrs"&&Se(e.attrs,"get",""),g(e);if((h=a.__cssModules)&&(h=h[t]))return h;if(r!==oe&&J(r,t))return l[t]=4,r[t];if(m=d.config.globalProperties,J(m,t))return m[t]},set({_:e},t,r){const{data:o,setupState:s,ctx:n}=e;return Oo(s,t)?(s[t]=r,!0):o!==oe&&J(o,t)?(o[t]=r,!0):J(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(n[t]=r,!0)},has({_:{data:e,setupState:t,accessCache:r,ctx:o,appContext:s,props:n,type:l}},a){let d;return!!(r[a]||e!==oe&&a[0]!=="$"&&J(e,a)||Oo(t,a)||J(n,a)||J(o,a)||J(dr,a)||J(s.config.globalProperties,a)||(d=l.__cssModules)&&d[a])},defineProperty(e,t,r){return r.get!=null?e._.accessCache[t]=0:J(r,"value")&&this.set(e,t,r.value,null),Reflect.defineProperty(e,t,r)}};function Ws(e){return U(e)?e.reduce((t,r)=>(t[r]=null,t),{}):e}let jo=!0;function pi(e){const t=Xs(e),r=e.proxy,o=e.ctx;jo=!1,t.beforeCreate&&Gs(t.beforeCreate,e,"bc");const{data:s,computed:n,methods:l,watch:a,provide:d,inject:g,created:h,beforeMount:m,mounted:A,beforeUpdate:P,updated:X,activated:F,deactivated:ce,beforeDestroy:ie,beforeUnmount:B,destroyed:G,unmounted:M,render:te,renderTracked:Pe,renderTriggered:we,errorCaptured:ge,serverPrefetch:Oe,expose:it,inheritAttrs:At,components:at,directives:xt,filters:vt}=t;if(g&&hi(g,o,null),l)for(const re in l){const Y=l[re];L(Y)&&(o[re]=Y.bind(r))}if(s){const re=s.call(r,r);Z(re)&&(e.data=ko(re))}if(jo=!0,n)for(const re in n){const Y=n[re],De=L(Y)?Y.bind(r,r):L(Y.get)?Y.get.bind(r,r):Xe,Ke=!L(Y)&&L(Y.set)?Y.set.bind(r):Xe,je=lt({get:De,set:Ke});Object.defineProperty(o,re,{enumerable:!0,configurable:!0,get:()=>je.value,set:be=>je.value=be})}if(a)for(const re in a)Js(a[re],o,r,re);if(d){const re=L(d)?d.call(r):d;Reflect.ownKeys(re).forEach(Y=>{Gl(Y,re[Y])})}h&&Gs(h,e,"c");function z(re,Y){U(Y)?Y.forEach(De=>re(De.bind(r))):Y&&re(Y.bind(r))}if(z(oi,m),z(Bs,A),z(si,P),z(ni,X),z(ei,F),z(ti,ce),z(di,ge),z(ci,Pe),z(ai,we),z(li,B),z(qs,M),z(ii,Oe),U(it))if(it.length){const re=e.exposed||(e.exposed={});it.forEach(Y=>{Object.defineProperty(re,Y,{get:()=>r[Y],set:De=>r[Y]=De,enumerable:!0})})}else e.exposed||(e.exposed={});te&&e.render===Xe&&(e.render=te),At!=null&&(e.inheritAttrs=At),at&&(e.components=at),xt&&(e.directives=xt),Oe&&Vs(e)}function hi(e,t,r=Xe){U(e)&&(e=No(e));for(const o in e){const s=e[o];let n;Z(s)?"default"in s?n=$r(s.from||o,s.default,!0):n=$r(s.from||o):n=$r(s),ve(n)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>n.value,set:l=>n.value=l}):t[o]=n}}function Gs(e,t,r){We(U(e)?e.map(o=>o.bind(t.proxy)):e.bind(t.proxy),t,r)}function Js(e,t,r,o){let s=o.includes(".")?Ks(r,o):()=>r[o];if(ae(e)){const n=t[e];L(n)&&Kt(s,n)}else if(L(e))Kt(s,e.bind(r));else if(Z(e))if(U(e))e.forEach(n=>Js(n,t,r,o));else{const n=L(e.handler)?e.handler.bind(r):t[e.handler];L(n)&&Kt(s,n,e)}}function Xs(e){const t=e.type,{mixins:r,extends:o}=t,{mixins:s,optionsCache:n,config:{optionMergeStrategies:l}}=e.appContext,a=n.get(t);let d;return a?d=a:!s.length&&!r&&!o?d=t:(d={},s.length&&s.forEach(g=>Vr(d,g,l,!0)),Vr(d,t,l)),Z(t)&&n.set(t,d),d}function Vr(e,t,r,o=!1){const{mixins:s,extends:n}=t;n&&Vr(e,n,r,!0),s&&s.forEach(l=>Vr(e,l,r,!0));for(const l in t)if(!(o&&l==="expose")){const a=gi[l]||r&&r[l];e[l]=a?a(e[l],t[l]):t[l]}return e}const gi={data:Ys,props:Zs,emits:Zs,methods:ur,computed:ur,beforeCreate:Ae,created:Ae,beforeMount:Ae,mounted:Ae,beforeUpdate:Ae,updated:Ae,beforeDestroy:Ae,beforeUnmount:Ae,destroyed:Ae,unmounted:Ae,activated:Ae,deactivated:Ae,errorCaptured:Ae,serverPrefetch:Ae,components:ur,directives:ur,watch:mi,provide:Ys,inject:bi};function Ys(e,t){return t?e?function(){return ue(L(e)?e.call(this,this):e,L(t)?t.call(this,this):t)}:t:e}function bi(e,t){return ur(No(e),No(t))}function No(e){if(U(e)){const t={};for(let r=0;r<e.length;r++)t[e[r]]=e[r];return t}return e}function Ae(e,t){return e?[...new Set([].concat(e,t))]:t}function ur(e,t){return e?ue(Object.create(null),e,t):t}function Zs(e,t){return e?U(e)&&U(t)?[...new Set([...e,...t])]:ue(Object.create(null),Ws(e),Ws(t??{})):t}function mi(e,t){if(!e)return t;if(!t)return e;const r=ue(Object.create(null),e);for(const o in t)r[o]=Ae(e[o],t[o]);return r}function Qs(){return{app:null,config:{isNativeTag:Zo,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}}let xi=0;function vi(e,t){return function(o,s=null){L(o)||(o=ue({},o)),s!=null&&!Z(s)&&(s=null);const n=Qs(),l=new WeakSet,a=[];let d=!1;const g=n.app={_uid:xi++,_component:o,_props:s,_container:null,_context:n,_instance:null,version:Qi,get config(){return n.config},set config(h){},use(h,...m){return l.has(h)||(h&&L(h.install)?(l.add(h),h.install(g,...m)):L(h)&&(l.add(h),h(g,...m))),g},mixin(h){return n.mixins.includes(h)||n.mixins.push(h),g},component(h,m){return m?(n.components[h]=m,g):n.components[h]},directive(h,m){return m?(n.directives[h]=m,g):n.directives[h]},mount(h,m,A){if(!d){const P=g._ceVNode||j(o,s);return P.appContext=n,A===!0?A="svg":A===!1&&(A=void 0),e(P,h,A),d=!0,g._container=h,h.__vue_app__=g,Jr(P.component)}},onUnmount(h){a.push(h)},unmount(){d&&(We(a,g._instance,16),e(null,g._container),delete g._container.__vue_app__)},provide(h,m){return n.provides[h]=m,g},runWithContext(h){const m=Jt;Jt=g;try{return h()}finally{Jt=m}}};return g}}let Jt=null;const yi=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ee(t)}Modifiers`]||e[`${Ne(t)}Modifiers`];function wi(e,t,...r){if(e.isUnmounted)return;const o=e.vnode.props||oe;let s=r;const n=t.startsWith("update:"),l=n&&yi(o,t.slice(7));l&&(l.trim&&(s=r.map(h=>ae(h)?h.trim():h)),l.number&&(s=s.map(Sr)));let a,d=o[a=co(t)]||o[a=co(Ee(t))];!d&&n&&(d=o[a=co(Ne(t))]),d&&We(d,e,6,s);const g=o[a+"Once"];if(g){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,We(g,e,6,s)}}const _i=new WeakMap;function en(e,t,r=!1){const o=r?_i:t.emitsCache,s=o.get(e);if(s!==void 0)return s;const n=e.emits;let l={},a=!1;if(!L(e)){const d=g=>{const h=en(g,t,!0);h&&(a=!0,ue(l,h))};!r&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}return!n&&!a?(Z(e)&&o.set(e,null),null):(U(n)?n.forEach(d=>l[d]=null):ue(l,n),Z(e)&&o.set(e,l),l)}function Dr(e,t){return!e||!vr(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),J(e,t[0].toLowerCase()+t.slice(1))||J(e,Ne(t))||J(e,t))}function jf(){}function tn(e){const{type:t,vnode:r,proxy:o,withProxy:s,propsOptions:[n],slots:l,attrs:a,emit:d,render:g,renderCache:h,props:m,data:A,setupState:P,ctx:X,inheritAttrs:F}=e,ce=Ur(e);let ie,B;try{if(r.shapeFlag&4){const M=s||o,te=M;ie=st(g.call(te,M,h,m,P,A,X)),B=a}else{const M=t;ie=st(M.length>1?M(m,{attrs:a,slots:l,emit:d}):M(m,null)),B=t.props?a:ki(a)}}catch(M){Ft.length=0,jr(M,e,1),ie=j(ht)}let G=ie;if(B&&F!==!1){const M=Object.keys(B),{shapeFlag:te}=G;M.length&&te&7&&(n&&M.some(yr)&&(B=Si(B,n)),G=Xt(G,B,!1,!0))}if(r.dirs&&(G=Xt(G,null,!1,!0),G.dirs=G.dirs?G.dirs.concat(r.dirs):r.dirs),r.transition){const M=Kr(G.type)&&Ls(G)||G;Mo(M,r.transition)}return ie=G,Ur(ce),ie}const ki=e=>{let t;for(const r in e)(r==="class"||r==="style"||vr(r))&&((t||(t={}))[r]=e[r]);return t},Si=(e,t)=>{const r={};for(const o in e)(!yr(o)||!(o.slice(9)in t))&&(r[o]=e[o]);return r};function Ci(e,t,r){const{props:o,children:s,component:n}=e,{props:l,children:a,patchFlag:d}=t,g=n.emitsOptions;if(t.dirs||t.transition)return!0;if(r&&d>=0){if(d&1024)return!0;if(d&16)return o?rn(o,l,g):!!l;if(d&8){const h=t.dynamicProps;for(let m=0;m<h.length;m++){const A=h[m];if(on(l,o,A)&&!Dr(g,A))return!0}}}else return(s||a)&&(!a||!a.$stable)?!0:o===l?!1:o?l?rn(o,l,g):!0:!!l;return!1}function rn(e,t,r){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let s=0;s<o.length;s++){const n=o[s];if(on(t,e,n)&&!Dr(r,n))return!0}return!1}function on(e,t,r){const o=e[r],s=t[r];return r==="style"&&Z(o)&&Z(s)?!kt(o,s):o!==s}function Ti({vnode:e,parent:t,suspense:r},o){for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===e&&(s.suspense.vnode.el=s.el=o,e=s),s===e)(e=t.vnode).el=o,t=t.parent;else break}r&&r.activeBranch===e&&(r.vnode.el=o)}const sn={},nn=()=>Object.create(sn),ln=e=>Object.getPrototypeOf(e)===sn;function Ai(e,t,r,o=!1){const s={},n=nn();e.propsDefaults=Object.create(null),an(e,t,s,n);for(const l in e.propsOptions[0])l in s||(s[l]=void 0);r?e.props=o?s:El(s):e.type.props?e.props=s:e.props=n,e.attrs=n}function Ii(e,t,r,o){const{props:s,attrs:n,vnode:{patchFlag:l}}=e,a=W(s),[d]=e.propsOptions;let g=!1;if((o||l>0)&&!(l&16)){if(l&8){const h=e.vnode.dynamicProps;for(let m=0;m<h.length;m++){let A=h[m];if(Dr(e.emitsOptions,A))continue;const P=t[A];if(d)if(J(n,A))P!==n[A]&&(n[A]=P,g=!0);else{const X=Ee(A);s[X]=Uo(d,a,X,P,e,!1)}else P!==n[A]&&(n[A]=P,g=!0)}}}else{an(e,t,s,n)&&(g=!0);let h;for(const m in a)(!t||!J(t,m)&&((h=Ne(m))===m||!J(t,h)))&&(d?r&&(r[m]!==void 0||r[h]!==void 0)&&(s[m]=Uo(d,a,m,void 0,e,!0)):delete s[m]);if(n!==a)for(const m in n)(!t||!J(t,m))&&(delete n[m],g=!0)}g&&dt(e.attrs,"set","")}function an(e,t,r,o){const[s,n]=e.propsOptions;let l=!1,a;if(t)for(let d in t){if(er(d))continue;const g=t[d];let h;s&&J(s,h=Ee(d))?!n||!n.includes(h)?r[h]=g:(a||(a={}))[h]=g:Dr(e.emitsOptions,d)||(!(d in o)||g!==o[d])&&(o[d]=g,l=!0)}if(n){const d=W(r),g=a||oe;for(let h=0;h<n.length;h++){const m=n[h];r[m]=Uo(s,d,m,g[m],e,!J(g,m))}}return l}function Uo(e,t,r,o,s,n){const l=e[r];if(l!=null){const a=J(l,"default");if(a&&o===void 0){const d=l.default;if(l.type!==Function&&!l.skipFactory&&L(d)){const{propsDefaults:g}=s;if(r in g)o=g[r];else{const h=gr(s);o=g[r]=d.call(null,t),h()}}else o=d;s.ce&&s.ce._setProp(r,o)}l[0]&&(n&&!a?o=!1:l[1]&&(o===""||o===Ne(r))&&(o=!0))}return o}const Pi=new WeakMap;function cn(e,t,r=!1){const o=r?Pi:t.propsCache,s=o.get(e);if(s)return s;const n=e.props,l={},a=[];let d=!1;if(!L(e)){const h=m=>{d=!0;const[A,P]=cn(m,t,!0);ue(l,A),P&&a.push(...P)};!r&&t.mixins.length&&t.mixins.forEach(h),e.extends&&h(e.extends),e.mixins&&e.mixins.forEach(h)}if(!n&&!d)return Z(e)&&o.set(e,Ot),Ot;if(U(n))for(let h=0;h<n.length;h++){const m=Ee(n[h]);dn(m)&&(l[m]=oe)}else if(n)for(const h in n){const m=Ee(h);if(dn(m)){const A=n[h],P=l[m]=U(A)||L(A)?{type:A}:ue({},A),X=P.type;let F=!1,ce=!0;if(U(X))for(let ie=0;ie<X.length;++ie){const B=X[ie],G=L(B)&&B.name;if(G==="Boolean"){F=!0;break}else G==="String"&&(ce=!1)}else F=L(X)&&X.name==="Boolean";P[0]=F,P[1]=ce,(F||J(P,"default"))&&a.push(m)}}const g=[l,a];return Z(e)&&o.set(e,g),g}function dn(e){return e[0]!=="$"&&!er(e)}const $o=e=>e==="_"||e==="_ctx"||e==="$stable",Ko=e=>U(e)?e.map(st):[st(e)],Mi=(e,t,r)=>{if(t._n)return t;const o=Wl((...s)=>Ko(t(...s)),r);return o._c=!1,o},un=(e,t,r)=>{const o=e._ctx;for(const s in e){if($o(s))continue;const n=e[s];if(L(n))t[s]=Mi(s,n,o);else if(n!=null){const l=Ko(n);t[s]=()=>l}}},fn=(e,t)=>{const r=Ko(t);e.slots.default=()=>r},pn=(e,t,r)=>{for(const o in t)(r||!$o(o))&&(e[o]=t[o])},Ei=(e,t,r)=>{const o=e.slots=nn();if(e.vnode.shapeFlag&32){const s=t._;s?(pn(o,t,r),r&&os(o,"_",s,!0)):un(t,o)}else t&&fn(e,t)},Ri=(e,t,r)=>{const{vnode:o,slots:s}=e;let n=!0,l=oe;if(o.shapeFlag&32){const a=t._;a?r&&a===1?n=!1:pn(s,t,r):(n=!t.$stable,un(t,s)),l=t}else t&&(fn(e,t),l={default:1});if(n)for(const a in s)!$o(a)&&l[a]==null&&delete s[a]},Re=$i;function Oi(e){return ji(e)}function ji(e,t){const r=Cr();r.__VUE__=!0;const{insert:o,remove:s,patchProp:n,createElement:l,createText:a,createComment:d,setText:g,setElementText:h,parentNode:m,nextSibling:A,setScopeId:P=Xe,insertStaticContent:X}=e,F=(u,f,b,_=null,v=null,w=null,C=void 0,S=null,k=!!f.dynamicChildren)=>{if(u===f)return;u&&!pr(u,f)&&(_=pe(u),be(u,v,w,!0),u=null),f.patchFlag===-2&&(k=!1,f.dynamicChildren=null),f.dynamicChildren&&u&&u.dynamicChildren&&u.dynamicChildren.hasOnce&&(f.dynamicChildren===Ot&&(f.dynamicChildren=[]),f.dynamicChildren.hasOnce=!0);const{type:y,ref:N,shapeFlag:T}=f;switch(y){case zr:ce(u,f,b,_);break;case ht:ie(u,f,b,_);break;case Fo:u==null&&B(f,b,_,C);break;case fe:at(u,f,b,_,v,w,C,S,k);break;default:T&1?te(u,f,b,_,v,w,C,S,k):T&6?xt(u,f,b,_,v,w,C,S,k):(T&64||T&128)&&y.process(u,f,b,_,v,w,C,S,k,Mt)}N!=null&&v?ar(N,u&&u.ref,w,f||u,!f):N==null&&u&&u.ref!=null&&ar(u.ref,null,w,u,!0)},ce=(u,f,b,_)=>{if(u==null)o(f.el=a(f.children),b,_);else{const v=f.el=u.el;f.children!==u.children&&g(v,f.children)}},ie=(u,f,b,_)=>{u==null?o(f.el=d(f.children||""),b,_):f.el=u.el},B=(u,f,b,_)=>{[u.el,u.anchor]=X(u.children,f,b,_,u.el,u.anchor)},G=({el:u,anchor:f},b,_)=>{let v;for(;u&&u!==f;)v=A(u),o(u,b,_),u=v;o(f,b,_)},M=({el:u,anchor:f})=>{let b;for(;u&&u!==f;)b=A(u),s(u),u=b;s(f)},te=(u,f,b,_,v,w,C,S,k)=>{if(f.type==="svg"?C="svg":f.type==="math"&&(C="mathml"),u==null)Pe(f,b,_,v,w,C,S,k);else{const y=u.el&&u.el._isVueCE?u.el:null;try{y&&y._beginPatch(),Oe(u,f,v,w,C,S,k)}finally{y&&y._endPatch()}}},Pe=(u,f,b,_,v,w,C,S)=>{let k,y;const{props:N,shapeFlag:T,transition:O,dirs:$}=u;if(k=u.el=l(u.type,w,N&&N.is,N),T&8?h(k,u.children):T&16&&ge(u.children,k,null,_,v,Lo(u,w),C,S),$&&$t(u,null,_,"created"),we(k,u,u.scopeId,C,_),N){for(const q in N)q!=="value"&&!er(q)&&n(k,q,null,N[q],w,_);"value"in N&&n(k,"value",null,N.value,w),(y=N.onVnodeBeforeMount)&&nt(y,_,u)}$&&$t(u,null,_,"beforeMount");const V=Ni(v,O);V&&O.beforeEnter(k),o(k,f,b),((y=N&&N.onVnodeMounted)||V||$)&&Re(()=>{try{y&&nt(y,_,u),V&&O.enter(k),$&&$t(u,null,_,"mounted")}finally{}},v)},we=(u,f,b,_,v)=>{if(b&&P(u,b),_)for(let w=0;w<_.length;w++)P(u,_[w]);if(v){let w=v.subTree;if(f===w||xn(w.type)&&(w.ssContent===f||w.ssFallback===f)){const C=v.vnode;we(u,C,C.scopeId,C.slotScopeIds,v.parent)}}},ge=(u,f,b,_,v,w,C,S,k=0)=>{for(let y=k;y<u.length;y++){const N=u[y]=S?gt(u[y]):st(u[y]);F(null,N,f,b,_,v,w,C,S)}},Oe=(u,f,b,_,v,w,C)=>{const S=f.el=u.el;let{patchFlag:k,dynamicChildren:y,dirs:N}=f;k|=u.patchFlag&16;const T=u.props||oe,O=f.props||oe;let $;if(b&&Lt(b,!1),($=O.onVnodeBeforeUpdate)&&nt($,b,f,u),N&&$t(f,u,b,"beforeUpdate"),b&&Lt(b,!0),y&&(!u.dynamicChildren||u.dynamicChildren.length!==y.length)&&(k=0,C=!1,y=null),(T.innerHTML&&O.innerHTML==null||T.textContent&&O.textContent==null)&&h(S,""),y?it(u.dynamicChildren,y,S,b,_,Lo(f,v),w):C||Y(u,f,S,null,b,_,Lo(f,v),w,!1),k>0){if(k&16)At(S,T,O,b,v);else if(k&2&&T.class!==O.class&&n(S,"class",null,O.class,v),k&4&&n(S,"style",T.style,O.style,v),k&8){const V=f.dynamicProps;for(let q=0;q<V.length;q++){const H=V[q],se=T[H],he=O[H];(he!==se||H==="value")&&n(S,H,se,he,v,b)}}k&1&&u.children!==f.children&&h(S,f.children)}else!C&&y==null&&At(S,T,O,b,v);(($=O.onVnodeUpdated)||N)&&Re(()=>{$&&nt($,b,f,u),N&&$t(f,u,b,"updated")},_)},it=(u,f,b,_,v,w,C)=>{for(let S=0;S<f.length;S++){const k=u[S],y=f[S],N=k.el&&(k.type===fe||!pr(k,y)||k.shapeFlag&198)?m(k.el):b;F(k,y,N,null,_,v,w,C,!0)}},At=(u,f,b,_,v)=>{if(f!==b){if(f!==oe)for(const w in f)!er(w)&&!(w in b)&&n(u,w,f[w],null,v,_);for(const w in b){if(er(w))continue;const C=b[w],S=f[w];C!==S&&w!=="value"&&n(u,w,S,C,v,_)}"value"in b&&n(u,"value",f.value,b.value,v)}},at=(u,f,b,_,v,w,C,S,k)=>{const y=f.el=u?u.el:a(""),N=f.anchor=u?u.anchor:a("");let{patchFlag:T,dynamicChildren:O,slotScopeIds:$}=f;$&&(S=S?S.concat($):$),u==null?(o(y,b,_),o(N,b,_),ge(f.children||[],b,N,v,w,C,S,k)):T>0&&T&64&&O&&u.dynamicChildren&&u.dynamicChildren.length===O.length?(it(u.dynamicChildren,O,b,v,w,C,S),(f.key!=null||v&&f===v.subTree)&&hn(u,f,!0)):Y(u,f,b,N,v,w,C,S,k)},xt=(u,f,b,_,v,w,C,S,k)=>{f.slotScopeIds=S,u==null?f.shapeFlag&512?v.ctx.activate(f,b,_,C,k):vt(f,b,_,v,w,C,k):ct(u,f,k)},vt=(u,f,b,_,v,w,C)=>{const S=u.component=zi(u,_,v);if(Eo(u)&&(S.ctx.renderer=Mt),Bi(S,!1,C),S.asyncDep){if(v&&v.registerDep(S,z,C),!u.el){const k=S.subTree=j(ht);ie(null,k,f,b),u.placeholder=k.el}}else z(S,u,f,b,v,w,C)},ct=(u,f,b)=>{const _=f.component=u.component;if(Ci(u,f,b))if(_.asyncDep&&!_.asyncResolved){f.el=u.el,re(_,f,b);return}else _.next=f,_.update();else f.el=u.el,_.vnode=f},z=(u,f,b,_,v,w,C)=>{const S=()=>{if(u.isMounted){let{next:T,bu:O,u:$,parent:V,vnode:q}=u;{const He=gn(u);if(He){T&&(T.el=q.el,re(u,T,C)),He.asyncDep.then(()=>{Re(()=>{u.isUnmounted||y()},v)});return}}let H=T,se;Lt(u,!1),T?(T.el=q.el,re(u,T,C)):T=q,O&&kr(O),(se=T.props&&T.props.onVnodeBeforeUpdate)&&nt(se,V,T,q),Lt(u,!0);const he=tn(u),ze=u.subTree;u.subTree=he,F(ze,he,m(ze.el),pe(ze),u,v,w),T.el=he.el,H===null&&Ti(u,he.el),$&&Re($,v),(se=T.props&&T.props.onVnodeUpdated)&&Re(()=>nt(se,V,T,q),v)}else{let T;const{el:O,props:$}=f,{bm:V,m:q,parent:H,root:se,type:he}=u,ze=cr(f);Lt(u,!1),V&&kr(V),!ze&&(T=$&&$.onVnodeBeforeMount)&&nt(T,H,f),Lt(u,!0);{se.ce&&se.ce._hasShadowRoot()&&se.ce._injectChildStyle(he,u.parent?u.parent.type:void 0);const He=u.subTree=tn(u);F(null,He,b,_,u,v,w),f.el=He.el}if(q&&Re(q,v),!ze&&(T=$&&$.onVnodeMounted)){const He=f;Re(()=>nt(T,H,He),v)}(f.shapeFlag&256||H&&cr(H.vnode)&&H.vnode.shapeFlag&256)&&u.a&&Re(u.a,v),u.isMounted=!0,f=b=_=null}};u.scope.on();const k=u.effect=new us(S);u.scope.off();const y=u.update=k.run.bind(k),N=u.job=k.runIfDirty.bind(k);N.i=u,N.id=u.uid,k.scheduler=()=>Io(N),Lt(u,!0),y()},re=(u,f,b)=>{f.component=u;const _=u.vnode.props;u.vnode=f,u.next=null,Ii(u,f.props,_,b),Ri(u,f.children,b),Qe(),Os(u),et()},Y=(u,f,b,_,v,w,C,S,k=!1)=>{const y=u&&u.children,N=u?u.shapeFlag:0,T=f.children,{patchFlag:O,shapeFlag:$}=f;if(O>0){if(O&128){Ke(y,T,b,_,v,w,C,S,k);return}else if(O&256){De(y,T,b,_,v,w,C,S,k);return}}$&8?(N&16&&yt(y,v,w),T!==y&&h(b,T)):N&16?$&16?Ke(y,T,b,_,v,w,C,S,k):yt(y,v,w,!0):(N&8&&h(b,""),$&16&&ge(T,b,_,v,w,C,S,k))},De=(u,f,b,_,v,w,C,S,k)=>{u=u||Ot,f=f||Ot;const y=u.length,N=f.length,T=Math.min(y,N);let O;for(O=0;O<T;O++){const $=f[O]=k?gt(f[O]):st(f[O]);F(u[O],$,b,null,v,w,C,S,k)}y>N?yt(u,v,w,!0,!1,T):ge(f,b,_,v,w,C,S,k,T)},Ke=(u,f,b,_,v,w,C,S,k)=>{let y=0;const N=f.length;let T=u.length-1,O=N-1;for(;y<=T&&y<=O;){const $=u[y],V=f[y]=k?gt(f[y]):st(f[y]);if(pr($,V))F($,V,b,null,v,w,C,S,k);else break;y++}for(;y<=T&&y<=O;){const $=u[T],V=f[O]=k?gt(f[O]):st(f[O]);if(pr($,V))F($,V,b,null,v,w,C,S,k);else break;T--,O--}if(y>T){if(y<=O){const $=O+1,V=$<N?f[$].el:_;for(;y<=O;)F(null,f[y]=k?gt(f[y]):st(f[y]),b,V,v,w,C,S,k),y++}}else if(y>O)for(;y<=T;)be(u[y],v,w,!0),y++;else{const $=y,V=y,q=new Map;for(y=V;y<=O;y++){const Me=f[y]=k?gt(f[y]):st(f[y]);Me.key!=null&&q.set(Me.key,y)}let H,se=0;const he=O-V+1;let ze=!1,He=0;const Et=new Array(he);for(y=0;y<he;y++)Et[y]=0;for(y=$;y<=T;y++){const Me=u[y];if(se>=he){be(Me,v,w,!0);continue}let Be;if(Me.key!=null)Be=q.get(Me.key);else for(H=V;H<=O;H++)if(Et[H-V]===0&&pr(Me,f[H])){Be=H;break}Be===void 0?be(Me,v,w,!0):(Et[Be-V]=y+1,Be>=He?He=Be:ze=!0,F(Me,f[Be],b,null,v,w,C,S,k),se++)}const Rt=ze?Ui(Et):Ot;for(H=Rt.length-1,y=he-1;y>=0;y--){const Me=V+y,Be=f[Me],so=f[Me+1],no=Me+1<N?so.el||mn(so):_;Et[y]===0?F(null,Be,b,no,v,w,C,S,k):ze&&(H<0||y!==Rt[H]?je(Be,b,no,2):H--)}}},je=(u,f,b,_,v=null)=>{const{el:w,type:C,transition:S,children:k,shapeFlag:y}=u;if(y&6){je(u.component.subTree,f,b,_);return}if(y&128){u.suspense.move(f,b,_);return}if(y&64){C.move(u,f,b,Mt);return}if(C===fe){o(w,f,b);for(let T=0;T<k.length;T++)je(k[T],f,b,_);o(u.anchor,f,b);return}if(C===Fo){G(u,f,b);return}if(_!==2&&y&1&&S)if(_===0)S.persisted&&!w[Po]?o(w,f,b):(S.beforeEnter(w),o(w,f,b),Re(()=>S.enter(w),v));else{const{leave:T,delayLeave:O,afterLeave:$}=S,V=()=>{u.ctx.isUnmounted?s(w):o(w,f,b)},q=()=>{const H=w._isLeaving||!!w[Po];w._isLeaving&&w[Po](!0),S.persisted&&!H?V():T(w,()=>{V(),$&&$()})};O?O(w,V,q):q()}else o(w,f,b)},be=(u,f,b,_=!1,v=!1)=>{const{type:w,props:C,ref:S,children:k,dynamicChildren:y,shapeFlag:N,patchFlag:T,dirs:O,cacheIndex:$,memo:V}=u;if((T===-2||y&&y.hasOnce)&&(v=!1),S!=null&&(Qe(),ar(S,null,b,u,!0),et()),$!=null&&(!u.ctx||u.ctx===f)&&(f.renderCache[$]=void 0),N&256){f.ctx.deactivate(u);return}const q=N&1&&O,H=!cr(u);let se;if(H&&(se=C&&C.onVnodeBeforeUnmount)&&nt(se,f,u),N&6)Ht(u.component,b,_);else{if(N&128){u.suspense.unmount(b,_);return}q&&$t(u,null,f,"beforeUnmount"),N&64?u.type.remove(u,f,b,Mt,_):y&&!y.hasOnce&&(w!==fe||T>0&&T&64)?yt(y,f,b,!1,!0):(w===fe&&T&384||!v&&N&16)&&yt(k,f,b),_&&ee(u)}const he=V!=null&&$==null;(H&&(se=C&&C.onVnodeUnmounted)||q||he)&&Re(()=>{se&&nt(se,f,u),q&&$t(u,null,f,"unmounted"),he&&(u.el=null)},b)},ee=u=>{const{type:f,el:b,anchor:_,transition:v}=u;if(f===fe){It(b,_);return}if(f===Fo){M(u),v&&!v.persisted&&v.afterLeave&&v.afterLeave();return}const w=()=>{s(b),v&&!v.persisted&&v.afterLeave&&v.afterLeave()};if(u.shapeFlag&1&&v&&!v.persisted){const{leave:C,delayLeave:S}=v,k=()=>C(b,w);S?S(u.el,w,k):k()}else w()},It=(u,f)=>{let b;for(;u!==f;)b=A(u),s(u),u=b;s(f)},Ht=(u,f,b)=>{const{bum:_,scope:v,job:w,subTree:C,um:S,m:k,a:y}=u;bn(k),bn(y),_&&kr(_),v.stop(),w?(w.flags|=8,be(C,u,f,b)):u.vnode.el&&C&&(C.transition=u.vnode.transition,be(C,u,f,b)),S&&Re(S,f),Re(()=>{u.isUnmounted=!0},f)},yt=(u,f,b,_=!1,v=!1,w=0)=>{for(let C=w;C<u.length;C++)be(u[C],f,b,_,v)},pe=u=>{if(u.shapeFlag&6)return pe(u.component.subTree);if(u.shapeFlag&128)return u.suspense.next();const f=A(u.anchor||u.el),b=f&&f[Zl];return b?A(b):f};let Pt=!1;const Zt=(u,f,b)=>{let _;u==null?f._vnode&&(be(f._vnode,null,null,!0),_=f._vnode.component):F(f._vnode||null,u,f,null,null,null,b),f._vnode=u,Pt||(Pt=!0,Os(_),js(),Pt=!1)},Mt={p:F,um:be,m:je,r:ee,mt:vt,mc:ge,pc:Y,pbc:it,n:pe,o:e};return{render:Zt,hydrate:void 0,createApp:vi(Zt)}}function Lo({type:e,props:t},r){return r==="svg"&&e==="foreignObject"||r==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:r}function Lt({effect:e,job:t},r){r?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Ni(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function hn(e,t,r=!1){const o=e.children,s=t.children;if(U(o)&&U(s))for(let n=0;n<o.length;n++){const l=o[n];let a=s[n];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=s[n]=gt(s[n]),a.el=l.el),!r&&a.patchFlag!==-2&&hn(l,a)),a.type===zr&&(a.patchFlag===-1&&(a=s[n]=gt(a)),a.el=l.el),a.type===ht&&!a.el&&(a.el=l.el)}}function Ui(e){const t=e.slice(),r=[0];let o,s,n,l,a;const d=e.length;for(o=0;o<d;o++){const g=e[o];if(g!==0){if(s=r[r.length-1],e[s]<g){t[o]=s,r.push(o);continue}for(n=0,l=r.length-1;n<l;)a=n+l>>1,e[r[a]]<g?n=a+1:l=a;g<e[r[n]]&&(n>0&&(t[o]=r[n-1]),r[n]=o)}}for(n=r.length,l=r[n-1];n-- >0;)r[n]=l,l=t[l];return r}function gn(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:gn(t)}function bn(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function mn(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?mn(t.subTree):null}const xn=e=>e.__isSuspense;function $i(e,t){t&&t.pendingBranch?U(e)?t.effects.push(...e):t.effects.push(e):ql(e)}const fe=Symbol.for("v-fgt"),zr=Symbol.for("v-txt"),ht=Symbol.for("v-cmt"),Fo=Symbol.for("v-stc"),Ft=[];let Ue=null;function I(e=!1){Ft.push(Ue=e?null:[])}function vn(){Ft.pop(),Ue=Ft[Ft.length-1]||null}let fr=1;function Hr(e,t=!1){fr+=e,e<0&&Ue&&t&&(Ue.hasOnce=!0)}function yn(e){return e.dynamicChildren=fr>0?Ue||Ot:null,vn(),fr>0&&Ue&&Ue.push(e),e}function E(e,t,r,o,s,n){return yn(i(e,t,r,o,s,n,!0))}function Vt(e,t,r,o,s){return yn(j(e,t,r,o,s,!0))}function Br(e){return e?e.__v_isVNode===!0:!1}function pr(e,t){return e.type===t.type&&e.key===t.key}const wn=({key:e})=>e??null,qr=({ref:e,ref_key:t,ref_for:r})=>(typeof e=="number"&&(e=""+e),e!=null?ae(e)||ve(e)||L(e)?{i:Ve,r:e,k:t,f:!!r}:e:null);function i(e,t=null,r=null,o=0,s=null,n=e===fe?0:1,l=!1,a=!1){const d={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&wn(t),ref:t&&qr(t),scopeId:Us,slotScopeIds:null,children:r,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:n,patchFlag:o,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:Ve};return a?(Wr(d,r),n&128&&e.normalize(d)):r&&(d.shapeFlag|=ae(r)?8:16),fr>0&&!l&&Ue&&(d.patchFlag>0||n&6)&&d.patchFlag!==32&&Ue.push(d),d}const j=Ki;function Ki(e,t=null,r=null,o=0,s=null,n=!1){if((!e||e===ui)&&(e=ht),Br(e)){const a=Xt(e,t,!0);return r&&Wr(a,r),fr>0&&!n&&Ue&&(a.shapeFlag&6?Ue[Ue.indexOf(e)]=a:Ue.push(a)),a.patchFlag=-2,a}if(Zi(e)&&(e=e.__vccOpts),t){t=Li(t);let{class:a,style:d}=t;a&&!ae(a)&&(t.class=me(a)),Z(d)&&(Co(d)&&!U(d)&&(d=ue({},d)),t.style=Tr(d))}const l=ae(e)?1:xn(e)?128:Kr(e)?64:Z(e)?4:L(e)?2:0;return i(e,t,r,o,s,l,n,!0)}function Li(e){return e?Co(e)||ln(e)?ue({},e):e:null}function Xt(e,t,r=!1,o=!1){const{props:s,ref:n,patchFlag:l,children:a,transition:d}=e,g=t?Fi(s||{},t):s,h={__v_isVNode:!0,__v_skip:!0,type:e.type,props:g,key:g&&wn(g),ref:t&&t.ref?r&&n?U(n)?n.concat(qr(t)):[n,qr(t)]:qr(t):n,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==fe?l===-1?16:l|16:l,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:d,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Xt(e.ssContent),ssFallback:e.ssFallback&&Xt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce,cacheIndex:e.cacheIndex};return d&&o&&Mo(h,d.clone(h)),h}function $e(e=" ",t=0){return j(zr,null,e,t)}function Q(e="",t=!1){return t?(I(),Vt(ht,null,e)):j(ht,null,e)}function st(e){return e==null||typeof e=="boolean"?j(ht):U(e)?j(fe,null,e.slice()):Br(e)?gt(e):j(zr,null,String(e))}function gt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Xt(e)}function Wr(e,t){let r=0;const{shapeFlag:o}=e;if(t==null)t=null;else if(U(t))r=16;else if(typeof t=="object")if(o&65){const s=t.default;s&&(s._c&&(s._d=!1),Wr(e,s()),s._c&&(s._d=!0));return}else{r=32;const s=t._;!s&&!ln(t)?t._ctx=Ve:s===3&&Ve&&(Ve.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(L(t)){if(o&65){Wr(e,{default:t});return}t={default:t,_ctx:Ve},r=32}else t=String(t),o&64?(r=16,t=[$e(t)]):r=8;e.children=t,e.shapeFlag|=r}function Fi(...e){const t={};for(let r=0;r<e.length;r++){const o=e[r];for(const s in o)if(s==="class")t.class!==o.class&&(t.class=me([t.class,o.class]));else if(s==="style")t.style=Tr([t.style,o.style]);else if(vr(s)){const n=t[s],l=o[s];l&&n!==l&&!(U(n)&&n.includes(l))?t[s]=n?[].concat(n,l):l:l==null&&n==null&&!yr(s)&&(t[s]=l)}else s!==""&&(t[s]=o[s])}return t}function nt(e,t,r,o=null){We(e,t,7,[r,o])}const Vi=Qs();let Di=0;function zi(e,t,r){const o=e.type,s=(t?t.appContext:e.appContext)||Vi,n={uid:Di++,vnode:e,type:o,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new fl(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:cn(o,s),emitsOptions:en(o,s),emit:null,emitted:null,propsDefaults:oe,inheritAttrs:o.inheritAttrs,ctx:oe,data:oe,props:oe,attrs:oe,slots:oe,refs:oe,setupState:oe,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 n.ctx={_:n},n.root=t?t.root:n,n.emit=wi.bind(null,n),e.ce&&e.ce(n),n}let Ie=null;const Hi=()=>Ie||Ve;let Gr,hr;{const e=Cr(),t=(r,o)=>{let s;return(s=e[r])||(s=e[r]=[]),s.push(o),n=>{s.length>1?s.forEach(l=>l(n)):s[0](n)}};Gr=t("__VUE_INSTANCE_SETTERS__",r=>Ie=r),hr=t("__VUE_SSR_SETTERS__",r=>br=r)}const gr=e=>{const t=Ie;return Gr(e),e.scope.on(),()=>{e.scope.off(),Gr(t)}},_n=()=>{Ie&&Ie.scope.off(),Gr(null)};function kn(e){return e.vnode.shapeFlag&4}let br=!1;function Bi(e,t=!1,r=!1){t&&hr(t);const{props:o,children:s}=e.vnode,n=kn(e);Ai(e,o,n,t),Ei(e,s,r||t);const l=n?qi(e,t):void 0;return t&&hr(!1),l}function qi(e,t){const r=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,fi);const{setup:o}=r;if(o){Qe();const s=e.setupContext=o.length>1?Gi(e):null,n=gr(e),l=qt(o,e,0,[e.props,s]),a=es(l);if(et(),n(),(a||e.sp)&&!cr(e)&&Vs(e),a){if(l.then(_n,_n),t)return l.then(d=>{hr(!0);try{Sn(e,d,t)}finally{hr(!1)}}).catch(d=>{jr(d,e,0)});e.asyncDep=l}else Sn(e,l)}else Cn(e)}function Sn(e,t,r){L(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Z(t)&&(e.setupState=Ps(t)),Cn(e)}function Cn(e,t,r){const o=e.type;e.render||(e.render=o.render||Xe);{const s=gr(e);Qe();try{pi(e)}finally{et(),s()}}}const Wi={get(e,t){return Se(e,"get",""),e[t]}};function Gi(e){const t=r=>{e.exposed=r||{}};return{attrs:new Proxy(e.attrs,Wi),slots:e.slots,emit:e.emit,expose:t}}function Jr(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Ps(Rl(e.exposed)),{get(t,r){if(r in t)return t[r];if(r in dr)return dr[r](e)},has(t,r){return r in t||r in dr}})):e.proxy}const Ji=/(?:^|[-_])\w/g,Xi=e=>e.replace(Ji,t=>t.toUpperCase()).replace(/[-_]/g,"");function Yi(e,t=!0){return L(e)?e.displayName||e.name:e.name||t&&e.__name}function Tn(e,t,r=!1){let o=Yi(t);if(!o&&t.__file){const s=t.__file.match(/([^/\\]+)\.\w+$/);s&&(o=s[1])}if(!o&&e){const s=n=>{for(const l in n)if(n[l]===t)return l};o=s(e.components)||e.parent&&s(e.parent.type.components)||s(e.appContext.components)}return o?Xi(o):r?"App":"Anonymous"}function Zi(e){return L(e)&&"__vccOpts"in e}const lt=(e,t)=>$l(e,t,br);function Vo(e,t,r){try{Hr(-1);const o=arguments.length;return o===2?Z(t)&&!U(t)?Br(t)?j(e,null,[t]):j(e,t):j(e,null,t):(o>3?r=Array.prototype.slice.call(arguments,2):o===3&&Br(r)&&(r=[r]),j(e,t,r))}finally{Hr(1)}}const Qi="3.5.43";/**
17
17
  * @vue/runtime-dom v3.5.43
18
18
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
19
19
  * @license MIT
20
- **/let Uo;const wn=typeof window<"u"&&window.trustedTypes;if(wn)try{Uo=wn.createPolicy("vue",{createHTML:e=>e})}catch{}const _n=Uo?e=>Uo.createHTML(e):e=>e,Bl="http://www.w3.org/2000/svg",ql="http://www.w3.org/1998/Math/MathML",pt=typeof document<"u"?document:null,kn=pt&&pt.createElement("template"),Wl={insert:(e,t,r)=>{t.insertBefore(e,r||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,r,o)=>{const s=t==="svg"?pt.createElementNS(Bl,e):t==="mathml"?pt.createElementNS(ql,e):r?pt.createElement(e,{is:r}):pt.createElement(e);return e==="select"&&o&&o.multiple!=null&&s.setAttribute("multiple",o.multiple),s},createText:e=>pt.createTextNode(e),createComment:e=>pt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>pt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,r,o,s,n){const i=r?r.previousSibling:t.lastChild;if(s&&(s===n||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),r),!(s===n||!(s=s.nextSibling)););else{kn.innerHTML=_n(o==="svg"?`<svg>${e}</svg>`:o==="mathml"?`<math>${e}</math>`:e);const l=kn.content;if(o==="svg"||o==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,r)}return[i?i.nextSibling:t.firstChild,r?r.previousSibling:t.lastChild]}},Gl=Symbol("_vtc");function Jl(e,t,r){const o=e[Gl];o&&(t=(t?[t,...o]:[...o]).join(" ")),t==null?e.removeAttribute("class"):r?e.setAttribute("class",t):e.className=t}const Sn=Symbol("_vod"),Xl=Symbol("_vsh"),Yl=Symbol(""),Zl=/(?:^|;)\s*display\s*:/;function Ql(e,t,r){const o=e.style,s=ne(r);let n=!1;if(r&&!s){if(t)if(ne(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();r[l]==null&&pr(o,l,"")}else for(const i in t)r[i]==null&&pr(o,i,"");for(const i in r){i==="display"&&(n=!0);const l=r[i];l!=null?ta(e,i,!ne(t)&&t?t[i]:void 0,l)||pr(o,i,l):pr(o,i,"")}}else if(s){if(t!==r){const i=o[Yl];i&&(r+=";"+i),o.cssText=r,n=Zl.test(r)}}else t&&e.removeAttribute("style");Sn in e&&(e[Sn]=n?o.display:"",e[Xl]&&(o.display="none"))}const qr=/\s*!important$/;function pr(e,t,r){if(O(r))r.forEach(o=>pr(e,t,o));else if(r==null&&(r=""),t.startsWith("--"))qr.test(r)?e.setProperty(t,r.replace(qr,""),"important"):e.setProperty(t,r);else{const o=ea(e,t);qr.test(r)?e.setProperty(Le(o),r.replace(qr,""),"important"):e[o]=r}}const Cn=["Webkit","Moz","ms"],Lo={};function ea(e,t){const r=Lo[t];if(r)return r;let o=Ie(t);if(o!=="filter"&&o in e)return Lo[t]=o;o=Xo(o);for(let s=0;s<Cn.length;s++){const n=Cn[s]+o;if(n in e)return Lo[t]=n}return t}function ta(e,t,r,o){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&ne(o)&&r===o}const Tn="http://www.w3.org/1999/xlink";function An(e,t,r,o,s,n=Qn(t)){o&&t.startsWith("xlink:")?r==null?e.removeAttributeNS(Tn,t.slice(6,t.length)):e.setAttributeNS(Tn,t,r):r==null||n&&!es(r)?e.removeAttribute(t):e.setAttribute(t,n?"":Ge(r)?String(r):r)}function In(e,t,r,o,s){if(t==="innerHTML"||t==="textContent"){r!=null&&(e[t]=t==="innerHTML"?_n(r):r);return}const n=e.tagName;if(t==="value"&&n!=="PROGRESS"&&!n.includes("-")){const l=n==="OPTION"?e.getAttribute("value")||"":e.value,c=r==null?e.type==="checkbox"?"on":"":String(r);(l!==c||!("_value"in e))&&(e.value=c),r==null&&e.removeAttribute(t),e._value=r;return}let i=!1;if(r===""||r==null){const l=typeof e[t];l==="boolean"?r=es(r):r==null&&l==="string"?(r="",i=!0):l==="number"&&(r=0,i=!0)}try{e[t]=r}catch{}i&&e.removeAttribute(s||t)}function Ut(e,t,r,o){e.addEventListener(t,r,o)}function ra(e,t,r,o){e.removeEventListener(t,r,o)}const Pn=Symbol("_vei");function oa(e,t,r,o,s=null){const n=e[Pn]||(e[Pn]={}),i=n[t];if(o&&i)i.value=o;else{const[l,c]=ia(t);if(o){const h=n[t]=ca(o,s);Ut(e,l,h,c)}else i&&(ra(e,l,i,c),n[t]=void 0)}}const sa=/(Once|Passive|Capture)$/,na=/^on:?(?:Once|Passive|Capture)$/;function ia(e){let t,r;for(;(r=e.match(sa))&&!na.test(e);)t||(t={}),e=e.slice(0,e.length-r[1].length),t[r[1].toLowerCase()]=!0;return[e[2]===":"?e.slice(3):Le(e.slice(2)),t]}let Fo=0;const la=Promise.resolve(),aa=()=>Fo||(la.then(()=>Fo=0),Fo=Date.now());function ca(e,t){const r=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=r.attached)return;const s=r.value;if(O(s)){const n=o.stopImmediatePropagation;o.stopImmediatePropagation=()=>{n.call(o),o._stopped=!0};const i=s.slice(),l=[o];for(let c=0;c<i.length&&!o._stopped;c++){const h=i[c];h&&Be(h,t,5,l)}}else Be(s,t,5,[o])};return r.value=e,r.attached=aa(),r}const Mn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,da=(e,t,r,o,s,n)=>{const i=s==="svg";t==="class"?Jl(e,o,i):t==="style"?Ql(e,r,o):gr(t)?br(t)||oa(e,t,r,o,n):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):ua(e,t,o,i))?(In(e,t,o),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&An(e,t,o,i,n,t!=="value")):e._isVueCE&&(fa(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!ne(o)))?In(e,Ie(t),o,n,t):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),An(e,t,o,i))};function ua(e,t,r,o){if(o)return!!(t==="innerHTML"||t==="textContent"||t in e&&Mn(t)&&U(r));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"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return Mn(t)&&ne(r)?!1:t in e}function fa(e,t){const r=e._def.props;if(!r)return!1;const o=Ie(t);return Array.isArray(r)?r.some(s=>Ie(s)===o):Object.keys(r).some(s=>Ie(s)===o)}const En={};function pa(e,t,r){let o=js(e,t);mr(o)&&(o=fe({},o,t));class s extends Vo{constructor(i){super(o,i,r)}}return s.def=o,s}const ha=typeof HTMLElement<"u"?HTMLElement:class{};class Vo extends ha{constructor(t,r={},o=Un){super(),this._def=t,this._props=r,this._createApp=o,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._patching=!1,this._dirty=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._styleAnchors=new WeakMap,this._ob=null,this.shadowRoot&&o!==Un?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow(fe({},t.shadowRootOptions,{mode:"open"})),this._root=this.shadowRoot):this._root=this}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.assignedSlot||t.parentNode||t.host);)if(t instanceof Vo){this._parent=t;break}this._instance||(this._resolved?this._mount(this._def):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{if(this._pendingResolve=void 0,this.isConnected)return this._resolveDef()}):this._resolveDef())}_setParent(t=this._parent){t&&(this._instance.parent=t._instance,this._inheritParentContext(t))}_inheritParentContext(t=this._parent){t&&this._app&&Object.setPrototypeOf(this._app._context.provides,t._instance.provides)}disconnectedCallback(){this._connected=!1,wo(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&(this._teleportTargets.clear(),this._teleportTargets=void 0))})}_processMutations(t){for(const r of t)this._setAttr(r.attributeName)}_resolveDef(){if(this._pendingResolve)return this._pendingResolve;for(let o=0;o<this.attributes.length;o++)this._setAttr(this.attributes[o].name);this._ob=new MutationObserver(this._processMutations.bind(this)),this._ob.observe(this,{attributes:!0});const t=(o,s=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:n,styles:i}=o;let l;if(n&&!O(n))for(const c in n){const h=n[c];(h===Number||h&&h.type===Number)&&(c in this._props&&(this._props[c]=Zo(this._props[c])),(l||(l=Object.create(null)))[Ie(c)]=!0)}this._numberProps=l,this._resolveProps(o),this.shadowRoot&&this._applyStyles(i),this._mount(o)},r=this._def.__asyncLoader;if(r)return this._pendingResolve=r().then(o=>{o.configureApp=this._def.configureApp,t(this._def=o,!0)}),this._pendingResolve;t(this._def)}_mount(t){this._app=this._createApp(t),this._inheritParentContext(),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const r=this._instance&&this._instance.exposed;if(r)for(const o in r)q(this,o)||Object.defineProperty(this,o,{get:()=>N(r[o])})}_resolveProps(t){const{props:r}=t,o=O(r)?r:Object.keys(r||{});for(const s of Object.keys(this))s[0]!=="_"&&o.includes(s)&&this._setProp(s,this[s]);for(const s of o.map(Ie))Object.defineProperty(this,s,{get(){return this._getProp(s)},set(n){this._setProp(s,n,!0,!this._patching)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const r=this.hasAttribute(t);let o=r?this.getAttribute(t):En;const s=Ie(t);r&&this._numberProps&&this._numberProps[s]&&(o=Zo(o)),this._setProp(s,o,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,r,o=!0,s=!1){if(r!==this._props[t]&&(this._dirty=!0,r===En?delete this._props[t]:(this._props[t]=r,t==="key"&&this._app&&(this._app._ceVNode.key=r)),s&&this._instance&&this._update(),o)){const n=this._ob;n&&(this._processMutations(n.takeRecords()),n.disconnect()),r===!0?this.setAttribute(Le(t),""):typeof r=="string"||typeof r=="number"?this.setAttribute(Le(t),r+""):r||this.removeAttribute(Le(t)),n&&n.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),xa(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const r=R(this._def,fe(t,this._props));return this._instance||(r.ce=o=>{this._instance=o,o.ce=this,o.isCE=!0;const s=(n,i)=>{this.dispatchEvent(new CustomEvent(n,mr(i[0])?fe({detail:i},i[0]):{detail:i}))};o.emit=(n,...i)=>{s(n,i),Le(n)!==n&&s(Le(n),i)},this._setParent()}),r}_applyStyles(t,r,o){if(!t)return;if(r){if(r===this._def||this._styleChildren.has(r))return;this._styleChildren.add(r)}const s=this._nonce,n=this.shadowRoot,i=o?this._getStyleAnchor(o)||this._getStyleAnchor(this._def):this._getRootStyleInsertionAnchor(n);let l=null;for(let c=t.length-1;c>=0;c--){const h=document.createElement("style");s&&h.setAttribute("nonce",s),h.textContent=t[c],n.insertBefore(h,l||i),l=h,c===0&&(o||this._styleAnchors.set(this._def,h),r&&this._styleAnchors.set(r,h))}}_getStyleAnchor(t){if(!t)return null;const r=this._styleAnchors.get(t);return r&&r.parentNode===this.shadowRoot?r:(r&&this._styleAnchors.delete(t),null)}_getRootStyleInsertionAnchor(t){for(let r=0;r<t.childNodes.length;r++){const o=t.childNodes[r];if(!(o instanceof HTMLStyleElement))return o}return null}_parseSlots(){const t=this._slots={};let r;for(;r=this.firstChild;){const o=r.nodeType===1&&r.getAttribute("slot")||"default";(t[o]||(t[o]=[])).push(r),this.removeChild(r)}}_renderSlots(){const t=this._getSlots(),r=this._instance.type.__scopeId;for(let o=0;o<t.length;o++){const s=t[o],n=s.getAttribute("name")||"default",i=this._slots[n],l=s.parentNode;if(i)for(const c of i){if(r&&c.nodeType===1){const h=r+"-s",p=document.createTreeWalker(c,1);c.setAttribute(h,"");let m;for(;m=p.nextNode();)m.setAttribute(h,"")}l.insertBefore(c,s)}else for(;s.firstChild;)l.insertBefore(s.firstChild,s);l.removeChild(s)}}_getSlots(){const t=[this];this._teleportTargets&&t.push(...this._teleportTargets);const r=new Set;for(const o of t){const s=o.querySelectorAll("slot");for(let n=0;n<s.length;n++)r.add(s[n])}return Array.from(r)}_injectChildStyle(t,r){this._applyStyles(t.styles,t,r)}_beginPatch(){this._patching=!0,this._dirty=!1}_endPatch(){this._patching=!1,this._dirty&&this._instance&&this._update()}_hasShadowRoot(){return this._def.shadowRoot!==!1}_removeChildStyle(t){}}const Wr=e=>{const t=e.props["onUpdate:modelValue"]||!1;return O(t)?r=>xr(t,r):t};function ga(e){e.target.composing=!0}function Rn(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Lt=Symbol("_assign"),Gr=Symbol("_initialValue");function $o(e,t,r){return t&&(e=e.trim()),r&&(e=yr(e)),e}const Me={created(e,{modifiers:{lazy:t,trim:r,number:o}},s){e.parentNode&&(e.type==="text"?e[Gr]=e.defaultValue.replace(/[\r\n]/g,""):e.type==="textarea"&&(e[Gr]=e.defaultValue.replace(/\r\n?/g,`
21
- `))),e[Lt]=Wr(s);const n=o||s.props&&s.props.type==="number";Ut(e,t?"change":"input",i=>{i.target.composing||e[Lt]($o(e.value,r,n))}),(r||n)&&Ut(e,"change",()=>{e.value=$o(e.value,r,n)}),t||(Ut(e,"compositionstart",ga),Ut(e,"compositionend",Rn),Ut(e,"change",Rn))},mounted(e,{value:t,modifiers:{trim:r,number:o}}){const s=t??"",n=e[Gr];delete e[Gr],n!==void 0&&(e.type==="text"||e.type==="textarea")&&e.value!==n?e[Lt]($o(e.value,r,o)):e.value=s},beforeUpdate(e,{value:t,oldValue:r,modifiers:{lazy:o,trim:s,number:n}},i){if(e[Lt]=Wr(i),e.composing)return;const l=(n||e.type==="number")&&!/^0\d/.test(e.value)?yr(e.value):e.value,c=t??"";if(l===c)return;const h=e.getRootNode();(h instanceof Document||h instanceof ShadowRoot)&&h.activeElement===e&&e.type!=="range"&&(o&&t===r||s&&e.value.trim()===c)||(e.value=c)}},ba={deep:!0,created(e,{value:t,modifiers:{number:r}},o){e._modelValue=t,Ut(e,"change",()=>{const s=Array.prototype.filter.call(e.options,c=>c.selected).map(c=>r?yr(Jr(c)):Jr(c)),n=e.multiple,i=n?It(e._modelValue)?new Set(s):s:s[0],l=e._pendingValue=[n,n?O(i)?s.slice():s:i];try{e[Lt](i)}finally{wo(()=>{e._pendingValue===l&&(e._pendingValue=void 0)})}}),e[Lt]=Wr(o)},mounted(e,{value:t}){On(e,t)},beforeUpdate(e,{value:t},r){e._modelValue=t,e[Lt]=Wr(r)},updated(e,{value:t}){const r=e._pendingValue;e._pendingValue=void 0,(!r||r[0]!==e.multiple||!ma(t,r[1],r[0]))&&On(e,t)}};function ma(e,t,r){if(!r||O(e))return yt(e,t);if(It(e)){if(e.size!==t.length)return!1;for(const o of t)if(!e.has(o))return!1;return!0}return!1}function On(e,t){const r=e.multiple,o=O(t);if(!(r&&!o&&!It(t))){for(let s=0,n=e.options.length;s<n;s++){const i=e.options[s],l=Jr(i);if(r)if(o){const c=typeof l;c==="string"||c==="number"?i.selected=t.some(h=>String(h)===String(l)):i.selected=ri(t,l)>-1}else i.selected=t.has(l);else if(yt(Jr(i),t)){e.selectedIndex!==s&&(e.selectedIndex=s);return}}!r&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Jr(e){return"_value"in e?e._value:e.value}const va=fe({patchProp:da},Wl);let jn;function Nn(){return jn||(jn=Sl(va))}const xa=((...e)=>{Nn().render(...e)}),Un=((...e)=>{const t=Nn().createApp(...e),{mount:r}=t;return t.mount=o=>{const s=wa(o);if(!s)return;const n=t._component;!U(n)&&!n.render&&!n.template&&(n.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const i=r(s,!1,ya(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t});function ya(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function wa(e){return ne(e)?document.querySelector(e):e}/**
20
+ **/let Do;const An=typeof window<"u"&&window.trustedTypes;if(An)try{Do=An.createPolicy("vue",{createHTML:e=>e})}catch{}const In=Do?e=>Do.createHTML(e):e=>e,ea="http://www.w3.org/2000/svg",ta="http://www.w3.org/1998/Math/MathML",bt=typeof document<"u"?document:null,Pn=bt&&bt.createElement("template"),ra={insert:(e,t,r)=>{t.insertBefore(e,r||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,r,o)=>{const s=t==="svg"?bt.createElementNS(ea,e):t==="mathml"?bt.createElementNS(ta,e):r?bt.createElement(e,{is:r}):bt.createElement(e);return e==="select"&&o&&o.multiple!=null&&s.setAttribute("multiple",o.multiple),s},createText:e=>bt.createTextNode(e),createComment:e=>bt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>bt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,r,o,s,n){const l=r?r.previousSibling:t.lastChild;if(s&&(s===n||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),r),!(s===n||!(s=s.nextSibling)););else{Pn.innerHTML=In(o==="svg"?`<svg>${e}</svg>`:o==="mathml"?`<math>${e}</math>`:e);const a=Pn.content;if(o==="svg"||o==="mathml"){const d=a.firstChild;for(;d.firstChild;)a.appendChild(d.firstChild);a.removeChild(d)}t.insertBefore(a,r)}return[l?l.nextSibling:t.firstChild,r?r.previousSibling:t.lastChild]}},oa=Symbol("_vtc");function sa(e,t,r){const o=e[oa];o&&(t=(t?[t,...o]:[...o]).join(" ")),t==null?e.removeAttribute("class"):r?e.setAttribute("class",t):e.className=t}const Mn=Symbol("_vod"),na=Symbol("_vsh"),la=Symbol(""),ia=/(?:^|;)\s*display\s*:/;function aa(e,t,r){const o=e.style,s=ae(r);let n=!1;if(r&&!s){if(t)if(ae(t))for(const l of t.split(";")){const a=l.slice(0,l.indexOf(":")).trim();r[a]==null&&mr(o,a,"")}else for(const l in t)r[l]==null&&mr(o,l,"");for(const l in r){l==="display"&&(n=!0);const a=r[l];a!=null?da(e,l,!ae(t)&&t?t[l]:void 0,a)||mr(o,l,a):mr(o,l,"")}}else if(s){if(t!==r){const l=o[la];l&&(r+=";"+l),o.cssText=r,n=ia.test(r)}}else t&&e.removeAttribute("style");Mn in e&&(e[Mn]=n?o.display:"",e[na]&&(o.display="none"))}const Xr=/\s*!important$/;function mr(e,t,r){if(U(r))r.forEach(o=>mr(e,t,o));else if(r==null&&(r=""),t.startsWith("--"))Xr.test(r)?e.setProperty(t,r.replace(Xr,""),"important"):e.setProperty(t,r);else{const o=ca(e,t);Xr.test(r)?e.setProperty(Ne(o),r.replace(Xr,""),"important"):e[o]=r}}const En=["Webkit","Moz","ms"],zo={};function ca(e,t){const r=zo[t];if(r)return r;let o=Ee(t);if(o!=="filter"&&o in e)return zo[t]=o;o=rs(o);for(let s=0;s<En.length;s++){const n=En[s]+o;if(n in e)return zo[t]=n}return t}function da(e,t,r,o){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&ae(o)&&r===o}const Rn="http://www.w3.org/1999/xlink";function On(e,t,r,o,s,n=al(t)){o&&t.startsWith("xlink:")?r==null?e.removeAttributeNS(Rn,t.slice(6,t.length)):e.setAttributeNS(Rn,t,r):r==null||n&&!ls(r)?e.removeAttribute(t):e.setAttribute(t,n?"":Ye(r)?String(r):r)}function jn(e,t,r,o,s){if(t==="innerHTML"||t==="textContent"){r!=null&&(e[t]=t==="innerHTML"?In(r):r);return}const n=e.tagName;if(t==="value"&&n!=="PROGRESS"&&!n.includes("-")){const a=n==="OPTION"?e.getAttribute("value")||"":e.value,d=r==null?e.type==="checkbox"?"on":"":String(r);(a!==d||!("_value"in e))&&(e.value=d),r==null&&e.removeAttribute(t),e._value=r;return}let l=!1;if(r===""||r==null){const a=typeof e[t];a==="boolean"?r=ls(r):r==null&&a==="string"?(r="",l=!0):a==="number"&&(r=0,l=!0)}try{e[t]=r}catch{}l&&e.removeAttribute(s||t)}function Dt(e,t,r,o){e.addEventListener(t,r,o)}function ua(e,t,r,o){e.removeEventListener(t,r,o)}const Nn=Symbol("_vei");function fa(e,t,r,o,s=null){const n=e[Nn]||(e[Nn]={}),l=n[t];if(o&&l)l.value=o;else{const[a,d]=ga(t);if(o){const g=n[t]=xa(o,s);Dt(e,a,g,d)}else l&&(ua(e,a,l,d),n[t]=void 0)}}const pa=/(Once|Passive|Capture)$/,ha=/^on:?(?:Once|Passive|Capture)$/;function ga(e){let t,r;for(;(r=e.match(pa))&&!ha.test(e);)t||(t={}),e=e.slice(0,e.length-r[1].length),t[r[1].toLowerCase()]=!0;return[e[2]===":"?e.slice(3):Ne(e.slice(2)),t]}let Ho=0;const ba=Promise.resolve(),ma=()=>Ho||(ba.then(()=>Ho=0),Ho=Date.now());function xa(e,t){const r=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=r.attached)return;const s=r.value;if(U(s)){const n=o.stopImmediatePropagation;o.stopImmediatePropagation=()=>{n.call(o),o._stopped=!0};const l=s.slice(),a=[o];for(let d=0;d<l.length&&!o._stopped;d++){const g=l[d];g&&We(g,t,5,a)}}else We(s,t,5,[o])};return r.value=e,r.attached=ma(),r}const Un=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,va=(e,t,r,o,s,n)=>{const l=s==="svg";t==="class"?sa(e,o,l):t==="style"?aa(e,r,o):vr(t)?yr(t)||fa(e,t,r,o,n):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):ya(e,t,o,l))?(jn(e,t,o),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&On(e,t,o,l,n,t!=="value")):e._isVueCE&&(wa(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!ae(o)))?jn(e,Ee(t),o,n,t):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),On(e,t,o,l))};function ya(e,t,r,o){if(o)return!!(t==="innerHTML"||t==="textContent"||t in e&&Un(t)&&L(r));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"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return Un(t)&&ae(r)?!1:t in e}function wa(e,t){const r=e._def.props;if(!r)return!1;const o=Ee(t);return Array.isArray(r)?r.some(s=>Ee(s)===o):Object.keys(r).some(s=>Ee(s)===o)}const $n={};function _a(e,t,r){let o=Fs(e,t);wr(o)&&(o=ue({},o,t));class s extends Bo{constructor(l){super(o,l,r)}}return s.def=o,s}const ka=typeof HTMLElement<"u"?HTMLElement:class{};class Bo extends ka{constructor(t,r={},o=Hn){super(),this._def=t,this._props=r,this._createApp=o,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._patching=!1,this._dirty=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._styleAnchors=new WeakMap,this._ob=null,this.shadowRoot&&o!==Hn?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow(ue({},t.shadowRootOptions,{mode:"open"})),this._root=this.shadowRoot):this._root=this}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.assignedSlot||t.parentNode||t.host);)if(t instanceof Bo){this._parent=t;break}this._instance||(this._resolved?this._mount(this._def):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{if(this._pendingResolve=void 0,this.isConnected)return this._resolveDef()}):this._resolveDef())}_setParent(t=this._parent){t&&(this._instance.parent=t._instance,this._inheritParentContext(t))}_inheritParentContext(t=this._parent){t&&this._app&&Object.setPrototypeOf(this._app._context.provides,t._instance.provides)}disconnectedCallback(){this._connected=!1,Ao(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&(this._teleportTargets.clear(),this._teleportTargets=void 0))})}_processMutations(t){for(const r of t)this._setAttr(r.attributeName)}_resolveDef(){if(this._pendingResolve)return this._pendingResolve;for(let o=0;o<this.attributes.length;o++)this._setAttr(this.attributes[o].name);this._ob=new MutationObserver(this._processMutations.bind(this)),this._ob.observe(this,{attributes:!0});const t=(o,s=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:n,styles:l}=o;let a;if(n&&!U(n))for(const d in n){const g=n[d];(g===Number||g&&g.type===Number)&&(d in this._props&&(this._props[d]=ss(this._props[d])),(a||(a=Object.create(null)))[Ee(d)]=!0)}this._numberProps=a,this._resolveProps(o),this.shadowRoot&&this._applyStyles(l),this._mount(o)},r=this._def.__asyncLoader;if(r)return this._pendingResolve=r().then(o=>{o.configureApp=this._def.configureApp,t(this._def=o,!0)}),this._pendingResolve;t(this._def)}_mount(t){this._app=this._createApp(t),this._inheritParentContext(),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const r=this._instance&&this._instance.exposed;if(r)for(const o in r)J(this,o)||Object.defineProperty(this,o,{get:()=>K(r[o])})}_resolveProps(t){const{props:r}=t,o=U(r)?r:Object.keys(r||{});for(const s of Object.keys(this))s[0]!=="_"&&o.includes(s)&&this._setProp(s,this[s]);for(const s of o.map(Ee))Object.defineProperty(this,s,{get(){return this._getProp(s)},set(n){this._setProp(s,n,!0,!this._patching)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const r=this.hasAttribute(t);let o=r?this.getAttribute(t):$n;const s=Ee(t);r&&this._numberProps&&this._numberProps[s]&&(o=ss(o)),this._setProp(s,o,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,r,o=!0,s=!1){if(r!==this._props[t]&&(this._dirty=!0,r===$n?delete this._props[t]:(this._props[t]=r,t==="key"&&this._app&&(this._app._ceVNode.key=r)),s&&this._instance&&this._update(),o)){const n=this._ob;n&&(this._processMutations(n.takeRecords()),n.disconnect()),r===!0?this.setAttribute(Ne(t),""):typeof r=="string"||typeof r=="number"?this.setAttribute(Ne(t),r+""):r||this.removeAttribute(Ne(t)),n&&n.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),Ea(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const r=j(this._def,ue(t,this._props));return this._instance||(r.ce=o=>{this._instance=o,o.ce=this,o.isCE=!0;const s=(n,l)=>{this.dispatchEvent(new CustomEvent(n,wr(l[0])?ue({detail:l},l[0]):{detail:l}))};o.emit=(n,...l)=>{s(n,l),Ne(n)!==n&&s(Ne(n),l)},this._setParent()}),r}_applyStyles(t,r,o){if(!t)return;if(r){if(r===this._def||this._styleChildren.has(r))return;this._styleChildren.add(r)}const s=this._nonce,n=this.shadowRoot,l=o?this._getStyleAnchor(o)||this._getStyleAnchor(this._def):this._getRootStyleInsertionAnchor(n);let a=null;for(let d=t.length-1;d>=0;d--){const g=document.createElement("style");s&&g.setAttribute("nonce",s),g.textContent=t[d],n.insertBefore(g,a||l),a=g,d===0&&(o||this._styleAnchors.set(this._def,g),r&&this._styleAnchors.set(r,g))}}_getStyleAnchor(t){if(!t)return null;const r=this._styleAnchors.get(t);return r&&r.parentNode===this.shadowRoot?r:(r&&this._styleAnchors.delete(t),null)}_getRootStyleInsertionAnchor(t){for(let r=0;r<t.childNodes.length;r++){const o=t.childNodes[r];if(!(o instanceof HTMLStyleElement))return o}return null}_parseSlots(){const t=this._slots={};let r;for(;r=this.firstChild;){const o=r.nodeType===1&&r.getAttribute("slot")||"default";(t[o]||(t[o]=[])).push(r),this.removeChild(r)}}_renderSlots(){const t=this._getSlots(),r=this._instance.type.__scopeId;for(let o=0;o<t.length;o++){const s=t[o],n=s.getAttribute("name")||"default",l=this._slots[n],a=s.parentNode;if(l)for(const d of l){if(r&&d.nodeType===1){const g=r+"-s",h=document.createTreeWalker(d,1);d.setAttribute(g,"");let m;for(;m=h.nextNode();)m.setAttribute(g,"")}a.insertBefore(d,s)}else for(;s.firstChild;)a.insertBefore(s.firstChild,s);a.removeChild(s)}}_getSlots(){const t=[this];this._teleportTargets&&t.push(...this._teleportTargets);const r=new Set;for(const o of t){const s=o.querySelectorAll("slot");for(let n=0;n<s.length;n++)r.add(s[n])}return Array.from(r)}_injectChildStyle(t,r){this._applyStyles(t.styles,t,r)}_beginPatch(){this._patching=!0,this._dirty=!1}_endPatch(){this._patching=!1,this._dirty&&this._instance&&this._update()}_hasShadowRoot(){return this._def.shadowRoot!==!1}_removeChildStyle(t){}}const Yr=e=>{const t=e.props["onUpdate:modelValue"]||!1;return U(t)?r=>kr(t,r):t};function Sa(e){e.target.composing=!0}function Kn(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const zt=Symbol("_assign"),Zr=Symbol("_initialValue");function qo(e,t,r){return t&&(e=e.trim()),r&&(e=Sr(e)),e}const Ce={created(e,{modifiers:{lazy:t,trim:r,number:o}},s){e.parentNode&&(e.type==="text"?e[Zr]=e.defaultValue.replace(/[\r\n]/g,""):e.type==="textarea"&&(e[Zr]=e.defaultValue.replace(/\r\n?/g,`
21
+ `))),e[zt]=Yr(s);const n=o||s.props&&s.props.type==="number";Dt(e,t?"change":"input",l=>{l.target.composing||e[zt](qo(e.value,r,n))}),(r||n)&&Dt(e,"change",()=>{e.value=qo(e.value,r,n)}),t||(Dt(e,"compositionstart",Sa),Dt(e,"compositionend",Kn),Dt(e,"change",Kn))},mounted(e,{value:t,modifiers:{trim:r,number:o}}){const s=t??"",n=e[Zr];delete e[Zr],n!==void 0&&(e.type==="text"||e.type==="textarea")&&e.value!==n?e[zt](qo(e.value,r,o)):e.value=s},beforeUpdate(e,{value:t,oldValue:r,modifiers:{lazy:o,trim:s,number:n}},l){if(e[zt]=Yr(l),e.composing)return;const a=(n||e.type==="number")&&!/^0\d/.test(e.value)?Sr(e.value):e.value,d=t??"";if(a===d)return;const g=e.getRootNode();(g instanceof Document||g instanceof ShadowRoot)&&g.activeElement===e&&e.type!=="range"&&(o&&t===r||s&&e.value.trim()===d)||(e.value=d)}},Ca={deep:!0,created(e,{value:t,modifiers:{number:r}},o){e._modelValue=t,Dt(e,"change",()=>{const s=Array.prototype.filter.call(e.options,d=>d.selected).map(d=>r?Sr(Qr(d)):Qr(d)),n=e.multiple,l=n?jt(e._modelValue)?new Set(s):s:s[0],a=e._pendingValue=[n,n?U(l)?s.slice():s:l];try{e[zt](l)}finally{Ao(()=>{e._pendingValue===a&&(e._pendingValue=void 0)})}}),e[zt]=Yr(o)},mounted(e,{value:t}){Ln(e,t)},beforeUpdate(e,{value:t},r){e._modelValue=t,e[zt]=Yr(r)},updated(e,{value:t}){const r=e._pendingValue;e._pendingValue=void 0,(!r||r[0]!==e.multiple||!Ta(t,r[1],r[0]))&&Ln(e,t)}};function Ta(e,t,r){if(!r||U(e))return kt(e,t);if(jt(e)){if(e.size!==t.length)return!1;for(const o of t)if(!e.has(o))return!1;return!0}return!1}function Ln(e,t){const r=e.multiple,o=U(t);if(!(r&&!o&&!jt(t))){for(let s=0,n=e.options.length;s<n;s++){const l=e.options[s],a=Qr(l);if(r)if(o){const d=typeof a;d==="string"||d==="number"?l.selected=t.some(g=>String(g)===String(a)):l.selected=ul(t,a)>-1}else l.selected=t.has(a);else if(kt(Qr(l),t)){e.selectedIndex!==s&&(e.selectedIndex=s);return}}!r&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Qr(e){return"_value"in e?e._value:e.value}const Aa=["ctrl","shift","alt","meta"],Ia={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Aa.some(r=>e[`${r}Key`]&&!t.includes(r))},Fn=(e,t)=>{if(!e)return e;const r=e._withMods||(e._withMods={}),o=t.join(".");return r[o]||(r[o]=((s,...n)=>{for(let l=0;l<t.length;l++){const a=Ia[t[l]];if(a&&a(s,t))return}return e(s,...n)}))},Pa={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Vn=(e,t)=>{const r=e._withKeys||(e._withKeys={}),o=t.join(".");return r[o]||(r[o]=(s=>{if(!("key"in s))return;const n=Ne(s.key);if(t.some(l=>l===n||Pa[l]===n))return e(s)}))},Ma=ue({patchProp:va},ra);let Dn;function zn(){return Dn||(Dn=Oi(Ma))}const Ea=((...e)=>{zn().render(...e)}),Hn=((...e)=>{const t=zn().createApp(...e),{mount:r}=t;return t.mount=o=>{const s=Oa(o);if(!s)return;const n=t._component;!L(n)&&!n.render&&!n.template&&(n.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const l=r(s,!1,Ra(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),l},t});function Ra(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Oa(e){return ae(e)?document.querySelector(e):e}/**
22
22
  * @license lucide-vue-next v0.475.0 - ISC
23
23
  *
24
24
  * This source code is licensed under the ISC license.
25
25
  * See the LICENSE file in the root directory of this source tree.
26
- */const _a=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/**
26
+ */const ja=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/**
27
27
  * @license lucide-vue-next v0.475.0 - ISC
28
28
  *
29
29
  * This source code is licensed under the ISC license.
30
30
  * See the LICENSE file in the root directory of this source tree.
31
- */var Xr={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};/**
31
+ */var eo={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};/**
32
32
  * @license lucide-vue-next v0.475.0 - ISC
33
33
  *
34
34
  * This source code is licensed under the ISC license.
35
35
  * See the LICENSE file in the root directory of this source tree.
36
- */const ka=({size:e,strokeWidth:t=2,absoluteStrokeWidth:r,color:o,iconNode:s,name:n,class:i,...l},{slots:c})=>No("svg",{...Xr,width:e||Xr.width,height:e||Xr.height,stroke:o||Xr.stroke,"stroke-width":r?Number(t)*24/Number(e):t,class:["lucide",`lucide-${_a(n??"icon")}`],...l},[...s.map(h=>No(...h)),...c.default?[c.default()]:[]]);/**
36
+ */const Na=({size:e,strokeWidth:t=2,absoluteStrokeWidth:r,color:o,iconNode:s,name:n,class:l,...a},{slots:d})=>Vo("svg",{...eo,width:e||eo.width,height:e||eo.height,stroke:o||eo.stroke,"stroke-width":r?Number(t)*24/Number(e):t,class:["lucide",`lucide-${ja(n??"icon")}`],...a},[...s.map(g=>Vo(...g)),...d.default?[d.default()]:[]]);/**
37
37
  * @license lucide-vue-next v0.475.0 - ISC
38
38
  *
39
39
  * This source code is licensed under the ISC license.
40
40
  * See the LICENSE file in the root directory of this source tree.
41
- */const re=(e,t)=>(r,{slots:o})=>No(ka,{...r,iconNode:t,name:e},o);/**
41
+ */const le=(e,t)=>(r,{slots:o})=>Vo(Na,{...r,iconNode:t,name:e},o);/**
42
42
  * @license lucide-vue-next v0.475.0 - ISC
43
43
  *
44
44
  * This source code is licensed under the ISC license.
45
45
  * See the LICENSE file in the root directory of this source tree.
46
- */const Ln=re("Building2Icon",[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]]);/**
46
+ */const Bn=le("Building2Icon",[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]]);/**
47
47
  * @license lucide-vue-next v0.475.0 - ISC
48
48
  *
49
49
  * This source code is licensed under the ISC license.
50
50
  * See the LICENSE file in the root directory of this source tree.
51
- */const Sa=re("CheckIcon",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
51
+ */const Ua=le("CheckIcon",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
52
52
  * @license lucide-vue-next v0.475.0 - ISC
53
53
  *
54
54
  * This source code is licensed under the ISC license.
55
55
  * See the LICENSE file in the root directory of this source tree.
56
- */const Ca=re("ChevronLeftIcon",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);/**
56
+ */const $a=le("ChevronLeftIcon",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);/**
57
57
  * @license lucide-vue-next v0.475.0 - ISC
58
58
  *
59
59
  * This source code is licensed under the ISC license.
60
60
  * See the LICENSE file in the root directory of this source tree.
61
- */const Ta=re("ChevronRightIcon",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
61
+ */const Ka=le("ChevronRightIcon",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
62
62
  * @license lucide-vue-next v0.475.0 - ISC
63
63
  *
64
64
  * This source code is licensed under the ISC license.
65
65
  * See the LICENSE file in the root directory of this source tree.
66
- */const Fn=re("CircleAlertIcon",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/**
66
+ */const qn=le("CircleAlertIcon",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/**
67
67
  * @license lucide-vue-next v0.475.0 - ISC
68
68
  *
69
69
  * This source code is licensed under the ISC license.
70
70
  * See the LICENSE file in the root directory of this source tree.
71
- */const Ko=re("CircleCheckIcon",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
71
+ */const Wo=le("CircleCheckIcon",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
72
72
  * @license lucide-vue-next v0.475.0 - ISC
73
73
  *
74
74
  * This source code is licensed under the ISC license.
75
75
  * See the LICENSE file in the root directory of this source tree.
76
- */const Aa=re("CircleXIcon",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);/**
76
+ */const La=le("CircleXIcon",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);/**
77
77
  * @license lucide-vue-next v0.475.0 - ISC
78
78
  *
79
79
  * This source code is licensed under the ISC license.
80
80
  * See the LICENSE file in the root directory of this source tree.
81
- */const Ia=re("CopyIcon",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);/**
81
+ */const Fa=le("CopyIcon",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);/**
82
82
  * @license lucide-vue-next v0.475.0 - ISC
83
83
  *
84
84
  * This source code is licensed under the ISC license.
85
85
  * See the LICENSE file in the root directory of this source tree.
86
- */const Vn=re("CpuIcon",[["rect",{width:"16",height:"16",x:"4",y:"4",rx:"2",key:"14l7u7"}],["rect",{width:"6",height:"6",x:"9",y:"9",rx:"1",key:"5aljv4"}],["path",{d:"M15 2v2",key:"13l42r"}],["path",{d:"M15 20v2",key:"15mkzm"}],["path",{d:"M2 15h2",key:"1gxd5l"}],["path",{d:"M2 9h2",key:"1bbxkp"}],["path",{d:"M20 15h2",key:"19e6y8"}],["path",{d:"M20 9h2",key:"19tzq7"}],["path",{d:"M9 2v2",key:"165o2o"}],["path",{d:"M9 20v2",key:"i2bqo8"}]]);/**
86
+ */const Wn=le("CpuIcon",[["rect",{width:"16",height:"16",x:"4",y:"4",rx:"2",key:"14l7u7"}],["rect",{width:"6",height:"6",x:"9",y:"9",rx:"1",key:"5aljv4"}],["path",{d:"M15 2v2",key:"13l42r"}],["path",{d:"M15 20v2",key:"15mkzm"}],["path",{d:"M2 15h2",key:"1gxd5l"}],["path",{d:"M2 9h2",key:"1bbxkp"}],["path",{d:"M20 15h2",key:"19e6y8"}],["path",{d:"M20 9h2",key:"19tzq7"}],["path",{d:"M9 2v2",key:"165o2o"}],["path",{d:"M9 20v2",key:"i2bqo8"}]]);/**
87
87
  * @license lucide-vue-next v0.475.0 - ISC
88
88
  *
89
89
  * This source code is licensed under the ISC license.
90
90
  * See the LICENSE file in the root directory of this source tree.
91
- */const qt=re("KeyRoundIcon",[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]]);/**
91
+ */const Yt=le("KeyRoundIcon",[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]]);/**
92
92
  * @license lucide-vue-next v0.475.0 - ISC
93
93
  *
94
94
  * This source code is licensed under the ISC license.
95
95
  * See the LICENSE file in the root directory of this source tree.
96
- */const Pa=re("LayersIcon",[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]]);/**
96
+ */const Va=le("LayersIcon",[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]]);/**
97
97
  * @license lucide-vue-next v0.475.0 - ISC
98
98
  *
99
99
  * This source code is licensed under the ISC license.
100
100
  * See the LICENSE file in the root directory of this source tree.
101
- */const Ma=re("LockIcon",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);/**
101
+ */const Da=le("LockIcon",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);/**
102
102
  * @license lucide-vue-next v0.475.0 - ISC
103
103
  *
104
104
  * This source code is licensed under the ISC license.
105
105
  * See the LICENSE file in the root directory of this source tree.
106
- */const Ea=re("PauseIcon",[["rect",{x:"14",y:"4",width:"4",height:"16",rx:"1",key:"zuxfzm"}],["rect",{x:"6",y:"4",width:"4",height:"16",rx:"1",key:"1okwgv"}]]);/**
106
+ */const za=le("PauseIcon",[["rect",{x:"14",y:"4",width:"4",height:"16",rx:"1",key:"zuxfzm"}],["rect",{x:"6",y:"4",width:"4",height:"16",rx:"1",key:"1okwgv"}]]);/**
107
107
  * @license lucide-vue-next v0.475.0 - ISC
108
108
  *
109
109
  * This source code is licensed under the ISC license.
110
110
  * See the LICENSE file in the root directory of this source tree.
111
- */const Ra=re("PenIcon",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]]);/**
111
+ */const Ha=le("PenIcon",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]]);/**
112
112
  * @license lucide-vue-next v0.475.0 - ISC
113
113
  *
114
114
  * This source code is licensed under the ISC license.
115
115
  * See the LICENSE file in the root directory of this source tree.
116
- */const Oa=re("PlayIcon",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]);/**
116
+ */const Ba=le("PlayIcon",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]);/**
117
117
  * @license lucide-vue-next v0.475.0 - ISC
118
118
  *
119
119
  * This source code is licensed under the ISC license.
120
120
  * See the LICENSE file in the root directory of this source tree.
121
- */const ja=re("PlusIcon",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);/**
121
+ */const qa=le("PlusIcon",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);/**
122
122
  * @license lucide-vue-next v0.475.0 - ISC
123
123
  *
124
124
  * This source code is licensed under the ISC license.
125
125
  * See the LICENSE file in the root directory of this source tree.
126
- */const Yr=re("RefreshCwIcon",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);/**
126
+ */const to=le("RefreshCwIcon",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);/**
127
127
  * @license lucide-vue-next v0.475.0 - ISC
128
128
  *
129
129
  * This source code is licensed under the ISC license.
130
130
  * See the LICENSE file in the root directory of this source tree.
131
- */const Na=re("RotateCcwIcon",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]);/**
131
+ */const Wa=le("RotateCcwIcon",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]);/**
132
132
  * @license lucide-vue-next v0.475.0 - ISC
133
133
  *
134
134
  * This source code is licensed under the ISC license.
135
135
  * See the LICENSE file in the root directory of this source tree.
136
- */const zo=re("RotateCwIcon",[["path",{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8",key:"1p45f6"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}]]);/**
136
+ */const Go=le("RotateCwIcon",[["path",{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8",key:"1p45f6"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}]]);/**
137
137
  * @license lucide-vue-next v0.475.0 - ISC
138
138
  *
139
139
  * This source code is licensed under the ISC license.
140
140
  * See the LICENSE file in the root directory of this source tree.
141
- */const Ua=re("ServerIcon",[["rect",{width:"20",height:"8",x:"2",y:"2",rx:"2",ry:"2",key:"ngkwjq"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",ry:"2",key:"iecqi9"}],["line",{x1:"6",x2:"6.01",y1:"6",y2:"6",key:"16zg32"}],["line",{x1:"6",x2:"6.01",y1:"18",y2:"18",key:"nzw8ys"}]]);/**
141
+ */const Ga=le("ServerIcon",[["rect",{width:"20",height:"8",x:"2",y:"2",rx:"2",ry:"2",key:"ngkwjq"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",ry:"2",key:"iecqi9"}],["line",{x1:"6",x2:"6.01",y1:"6",y2:"6",key:"16zg32"}],["line",{x1:"6",x2:"6.01",y1:"18",y2:"18",key:"nzw8ys"}]]);/**
142
142
  * @license lucide-vue-next v0.475.0 - ISC
143
143
  *
144
144
  * This source code is licensed under the ISC license.
145
145
  * See the LICENSE file in the root directory of this source tree.
146
- */const $n=re("SettingsIcon",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
146
+ */const Gn=le("SettingsIcon",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
147
147
  * @license lucide-vue-next v0.475.0 - ISC
148
148
  *
149
149
  * This source code is licensed under the ISC license.
150
150
  * See the LICENSE file in the root directory of this source tree.
151
- */const Kn=re("ShieldCheckIcon",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
151
+ */const Jn=le("ShieldCheckIcon",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
152
152
  * @license lucide-vue-next v0.475.0 - ISC
153
153
  *
154
154
  * This source code is licensed under the ISC license.
155
155
  * See the LICENSE file in the root directory of this source tree.
156
- */const La=re("SlidersVerticalIcon",[["line",{x1:"4",x2:"4",y1:"21",y2:"14",key:"1p332r"}],["line",{x1:"4",x2:"4",y1:"10",y2:"3",key:"gb41h5"}],["line",{x1:"12",x2:"12",y1:"21",y2:"12",key:"hf2csr"}],["line",{x1:"12",x2:"12",y1:"8",y2:"3",key:"1kfi7u"}],["line",{x1:"20",x2:"20",y1:"21",y2:"16",key:"1lhrwl"}],["line",{x1:"20",x2:"20",y1:"12",y2:"3",key:"16vvfq"}],["line",{x1:"2",x2:"6",y1:"14",y2:"14",key:"1uebub"}],["line",{x1:"10",x2:"14",y1:"8",y2:"8",key:"1yglbp"}],["line",{x1:"18",x2:"22",y1:"16",y2:"16",key:"1jxqpz"}]]);/**
156
+ */const Xn=le("SlidersVerticalIcon",[["line",{x1:"4",x2:"4",y1:"21",y2:"14",key:"1p332r"}],["line",{x1:"4",x2:"4",y1:"10",y2:"3",key:"gb41h5"}],["line",{x1:"12",x2:"12",y1:"21",y2:"12",key:"hf2csr"}],["line",{x1:"12",x2:"12",y1:"8",y2:"3",key:"1kfi7u"}],["line",{x1:"20",x2:"20",y1:"21",y2:"16",key:"1lhrwl"}],["line",{x1:"20",x2:"20",y1:"12",y2:"3",key:"16vvfq"}],["line",{x1:"2",x2:"6",y1:"14",y2:"14",key:"1uebub"}],["line",{x1:"10",x2:"14",y1:"8",y2:"8",key:"1yglbp"}],["line",{x1:"18",x2:"22",y1:"16",y2:"16",key:"1jxqpz"}]]);/**
157
157
  * @license lucide-vue-next v0.475.0 - ISC
158
158
  *
159
159
  * This source code is licensed under the ISC license.
160
160
  * See the LICENSE file in the root directory of this source tree.
161
- */const Fa=re("Trash2Icon",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]]);/**
161
+ */const Ja=le("Trash2Icon",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]]);/**
162
162
  * @license lucide-vue-next v0.475.0 - ISC
163
163
  *
164
164
  * This source code is licensed under the ISC license.
165
165
  * See the LICENSE file in the root directory of this source tree.
166
- */const Va=re("TriangleAlertIcon",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/**
166
+ */const Xa=le("TriangleAlertIcon",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/**
167
167
  * @license lucide-vue-next v0.475.0 - ISC
168
168
  *
169
169
  * This source code is licensed under the ISC license.
170
170
  * See the LICENSE file in the root directory of this source tree.
171
- */const Do=re("XIcon",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);class Ho{constructor(t){eo(this,"baseUrl");eo(this,"adminToken");eo(this,"tenantId");this.baseUrl=((t==null?void 0:t.baseUrl)||"").replace(/\/$/,""),this.adminToken=t==null?void 0:t.adminToken,this.tenantId=t==null?void 0:t.tenantId}getBaseUrl(){return this.baseUrl}setBaseUrl(t){this.baseUrl=(t||"").replace(/\/$/,"")}getAdminToken(){return this.adminToken}setAdminToken(t){this.adminToken=t}getTenantId(){return this.tenantId}setTenantId(t){this.tenantId=t}async checkHealth(){return this.request("/livez")}async checkAdminAuth(t){try{return await this.fetchKeys(t),!0}catch{return!1}}async request(t,r={}){const o=`${this.baseUrl}${t}`,s={"Content-Type":"application/json",...r.headers||{}};this.adminToken&&(s.Authorization=`Bearer ${this.adminToken}`,s["X-Admin-Secret"]=this.adminToken);const n=r.tenantId||this.tenantId;n&&(s["X-Tenant-ID"]=n);const i=await fetch(o,{...r,headers:s});if(!i.ok){let l=`HTTP Error: ${i.status} ${i.statusText}`;try{const c=await i.json();if(c.errors&&Array.isArray(c.errors)&&c.errors.length>0){const h=c.errors.map(p=>p.message?`${p.location?p.location+": ":""}${p.message}`:JSON.stringify(p)).join(", ");l=`${c.detail||"Validation failed"}: ${h}`}else l=c.message||c.error||c.detail||l}catch{}throw new Error(l)}return i.status===204?{}:await i.json()}async fetchKeys(t){let r,o,s,n;typeof t=="string"?r=t:t&&(r=t.tenantId,o=t.serviceId,s=t.limit,n=t.cursor);const i=new URLSearchParams;r&&i.set("tenant_id",r),o&&i.set("service_id",o),s&&i.set("limit",String(s)),n&&i.set("cursor",n);const l=i.toString()?`?${i.toString()}`:"",c=await this.request(`/v1/admin/keys${l}`,{tenantId:r});return Array.isArray(c)?{keys:c}:{keys:c.keys||[],nextCursor:c.next_cursor}}async fetchStats(t,r){const o=new URLSearchParams;t&&o.set("tenant_id",t),r&&o.set("service_id",r);const s=o.toString()?`?${o.toString()}`:"";return this.request(`/v1/admin/stats${s}`,{tenantId:t})}async fetchAllKeys(t){if(!t||t.length===0)return(await this.fetchKeys()).keys;const r=await Promise.allSettled(t.map(n=>this.fetchKeys(n))),o=[],s=new Set;for(const n of r)if(n.status==="fulfilled"&&n.value&&Array.isArray(n.value.keys))for(const i of n.value.keys)s.has(i.key_id)||(s.add(i.key_id),o.push(i));return o}async createKey(t){var s,n;const r={...t};(s=r.tenant_id)!=null&&s.trim()||delete r.tenant_id,(n=r.service_id)!=null&&n.trim()||(r.service_id=r.tenant_id||"default");const o=await this.request("/v1/admin/keys",{method:"POST",body:JSON.stringify(r),tenantId:t.tenant_id});return{...o,raw_key:o.raw_key,key:o.key||o}}async updateKey(t,r,o){return this.request(`/v1/admin/keys/${t}`,{method:"PATCH",body:JSON.stringify(r),tenantId:o})}async suspendKey(t,r){await this.request(`/v1/admin/keys/${t}/suspend`,{method:"POST",tenantId:r})}async resumeKey(t,r){await this.request(`/v1/admin/keys/${t}/resume`,{method:"POST",tenantId:r})}async rotateKey(t,r=24,o){return this.request(`/v1/admin/keys/${t}/rotate`,{method:"POST",body:JSON.stringify({grace_period_hours:r}),tenantId:o})}async deleteKey(t,r){await this.request(`/v1/admin/keys/${t}`,{method:"DELETE",tenantId:r})}async verifyKey(t,r){return this.request("/v1/admin/verify",{method:"POST",body:JSON.stringify({raw_key:t,required_scope:r})})}}const ht={};function Zr(){var e;if(!(typeof{url:typeof document>"u"&&typeof location>"u"?require("url").pathToFileURL(__filename).href:typeof document>"u"?location.href:ue&&ue.tagName.toUpperCase()==="SCRIPT"&&ue.src||new URL("tollgate-ui.umd.cjs",document.baseURI).href}<"u"&&(ht!=null&&ht.VITE_TOLLGATE_API_BASE_URL)))return typeof window<"u"&&((e=window.__TOLLGATE_CONFIG__)!=null&&e.apiBaseUrl)?window.__TOLLGATE_CONFIG__.apiBaseUrl:""}function Qr(){var e;if(!(typeof{url:typeof document>"u"&&typeof location>"u"?require("url").pathToFileURL(__filename).href:typeof document>"u"?location.href:ue&&ue.tagName.toUpperCase()==="SCRIPT"&&ue.src||new URL("tollgate-ui.umd.cjs",document.baseURI).href}<"u"&&(ht!=null&&ht.VITE_TOLLGATE_ADMIN_TOKEN)))return typeof window<"u"&&((e=window.__TOLLGATE_CONFIG__)!=null&&e.adminToken)?window.__TOLLGATE_CONFIG__.adminToken:""}function $a(){var e;if(!(typeof{url:typeof document>"u"&&typeof location>"u"?require("url").pathToFileURL(__filename).href:typeof document>"u"?location.href:ue&&ue.tagName.toUpperCase()==="SCRIPT"&&ue.src||new URL("tollgate-ui.umd.cjs",document.baseURI).href}<"u"&&(ht!=null&&ht.VITE_TOLLGATE_TENANTS)))return typeof window<"u"&&((e=window.__TOLLGATE_CONFIG__)!=null&&e.tenantsJson)?window.__TOLLGATE_CONFIG__.tenantsJson:""}const Ka={class:"tollgate-root min-h-[600px] w-full bg-slate-950 text-slate-100 p-4 sm:p-6 lg:p-8 font-sans antialiased space-y-8 rounded-2xl border border-slate-800/80 shadow-2xl"},za={key:0,class:"flex flex-col md:flex-row md:items-center justify-between gap-4 pb-6 border-b border-slate-800"},Da={class:"flex items-center gap-3"},Ha={class:"w-12 h-12 rounded-2xl bg-cyan-500/10 border border-cyan-500/20 flex items-center justify-center text-cyan-400 shadow-inner"},Ba={class:"flex items-center gap-2"},qa={class:"text-xl sm:text-2xl font-black tracking-tight text-white"},Wa={class:"flex flex-wrap items-center gap-3"},Ga={class:"text-slate-400 font-mono text-[11px]"},Ja={key:0,class:"px-1.5 py-0.5 text-[9px] font-bold rounded bg-amber-500/20 text-amber-300 border border-amber-500/30"},Xa=["disabled"],Ya={key:1,class:"p-4 bg-rose-950/40 border border-rose-800/80 rounded-2xl flex items-center gap-3 text-rose-300 text-xs sm:text-sm"},Za={class:"flex-1"},Qa={class:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4"},ec={class:"bg-slate-900/80 p-5 rounded-2xl border border-slate-800 shadow-lg relative overflow-hidden group hover:border-cyan-500/30 transition-all"},tc={class:"flex items-center justify-between"},rc={class:"p-2 rounded-xl bg-cyan-500/10 text-cyan-400 border border-cyan-500/20"},oc={class:"mt-3 flex items-baseline gap-2"},sc={class:"text-2xl sm:text-3xl font-black text-white"},nc={class:"bg-slate-900/80 p-5 rounded-2xl border border-slate-800 shadow-lg relative overflow-hidden group hover:border-emerald-500/30 transition-all"},ic={class:"flex items-center justify-between"},lc={class:"p-2 rounded-xl bg-emerald-500/10 text-emerald-400 border border-emerald-500/20"},ac={class:"mt-3 flex items-baseline gap-2"},cc={class:"text-2xl sm:text-3xl font-black text-emerald-400"},dc={class:"bg-slate-900/80 p-5 rounded-2xl border border-slate-800 shadow-lg relative overflow-hidden group hover:border-indigo-500/30 transition-all"},uc={class:"flex items-center justify-between"},fc={class:"p-2 rounded-xl bg-indigo-500/10 text-indigo-400 border border-indigo-500/20"},pc={class:"mt-3 flex items-baseline gap-2"},hc={class:"text-2xl sm:text-3xl font-black text-indigo-400"},gc={class:"bg-slate-900/80 p-5 rounded-2xl border border-slate-800 shadow-lg relative overflow-hidden group hover:border-amber-500/30 transition-all"},bc={class:"flex items-center justify-between"},mc={class:"p-2 rounded-xl bg-amber-500/10 text-amber-400 border border-amber-500/20"},vc={class:"mt-3 flex items-baseline gap-2"},xc={class:"text-2xl sm:text-3xl font-black text-amber-400"},yc={class:"flex items-center gap-2 border-b border-slate-800"},wc={class:"px-2 py-0.5 rounded-full text-[10px] bg-slate-800 text-slate-300 font-medium"},_c={key:2,class:"space-y-6"},kc={class:"flex flex-col sm:flex-row items-center justify-between gap-4"},Sc={class:"flex flex-wrap items-center gap-3 w-full sm:w-auto flex-1"},Cc={class:"flex items-center gap-2 bg-slate-900 px-3 py-2 rounded-xl border border-slate-700 shrink-0 focus-within:border-indigo-500 transition-colors"},Tc={id:"filter-service-options"},Ac=["value"],Ic={class:"flex items-center gap-2 bg-slate-900 px-3 py-2 rounded-xl border border-slate-700 shrink-0 focus-within:border-cyan-500 transition-colors"},Pc={id:"filter-tenant-options"},Mc=["value"],Ec={key:0,class:"flex items-center gap-2"},Rc={class:"flex items-center gap-2"},Oc={class:"bg-slate-900/60 rounded-2xl border border-slate-800 shadow-xl overflow-hidden"},jc={class:"p-4 border-b border-slate-800 flex items-center justify-between"},Nc={class:"flex items-center gap-2"},Uc={class:"flex items-center gap-2 text-xs text-slate-400"},Lc={key:0,class:"px-2 py-0.5 rounded bg-cyan-950/60 text-cyan-300 border border-cyan-800/50 text-[10px] font-medium"},Fc={class:"font-medium"},Vc={class:"overflow-x-auto"},$c={class:"w-full text-left border-collapse text-xs sm:text-sm"},Kc={class:"divide-y divide-slate-800/60 text-slate-200"},zc={class:"py-3 px-4"},Dc={class:"font-bold text-white flex items-center gap-2"},Hc={key:0,class:"text-[10px] px-1.5 py-0.5 rounded bg-amber-950/80 text-amber-300 border border-amber-800"},Bc={class:"text-[11px] font-mono text-cyan-400/90 mt-0.5"},qc={class:"py-3 px-4"},Wc={class:"font-medium text-indigo-300 font-mono text-xs flex items-center gap-1"},Gc={class:"text-[11px] text-slate-400 mt-0.5 flex items-center gap-1"},Jc={class:"py-3 px-4"},Xc={class:"py-3 px-4 font-mono text-slate-300"},Yc={class:"py-3 px-4"},Zc={class:"text-xs font-mono font-bold text-slate-200"},Qc={class:"text-slate-500 font-normal"},ed={key:0,class:"w-24 bg-slate-800 rounded-full h-1.5 mt-1.5 overflow-hidden"},td={class:"py-3 px-4"},rd={class:"flex flex-wrap gap-1 max-w-[180px]"},od={class:"py-3 px-4 text-right space-x-1"},sd=["onClick"],nd=["onClick"],id=["onClick"],ld=["onClick"],ad=["onClick"],cd={key:0},dd={colspan:"7",class:"py-12 text-center text-slate-500"},ud={class:"px-5 py-3.5 bg-slate-900/90 border-t border-slate-800 flex flex-col sm:flex-row items-center justify-between gap-3 text-xs text-slate-400"},fd={class:"flex items-center gap-3"},pd={class:"text-white font-mono"},hd={class:"flex items-center gap-1.5"},gd={class:"flex items-center gap-2"},bd=["disabled"],md={key:0,class:"px-2 py-0.5 rounded bg-cyan-950 text-cyan-300 font-mono text-[11px] border border-cyan-800"},vd=["disabled"],xd={class:"bg-slate-900/60 rounded-2xl border border-slate-800 p-5 shadow-xl space-y-4"},yd={class:"flex items-center gap-2 pb-2 border-b border-slate-800"},wd={class:"grid grid-cols-1 md:grid-cols-3 gap-4"},_d={class:"md:col-span-2 space-y-2"},kd={class:"space-y-2"},Sd={class:"flex gap-2"},Cd=["disabled"],Td={class:"flex items-center gap-2 font-bold mb-2"},Ad={key:0,class:"grid grid-cols-2 sm:grid-cols-4 gap-2 font-mono text-[11px] text-slate-300 mt-2"},Id={key:1,class:"text-rose-400 font-mono text-[11px] mt-1"},Pd={key:3,class:"space-y-6"},Md={class:"grid grid-cols-1 md:grid-cols-3 gap-6"},Ed={class:"bg-slate-900/60 rounded-2xl border border-slate-800 p-5 space-y-3"},Rd={class:"flex items-center gap-2 text-cyan-400"},Od={class:"bg-slate-900/60 rounded-2xl border border-slate-800 p-5 space-y-3"},jd={class:"flex items-center gap-2 text-indigo-400"},Nd={class:"bg-slate-900/60 rounded-2xl border border-slate-800 p-5 space-y-3"},Ud={class:"flex items-center gap-2 text-emerald-400"},Ld={key:4,class:"fixed inset-0 z-50 bg-black/70 backdrop-blur-sm flex items-center justify-center p-4"},Fd={class:"bg-slate-900 border border-slate-800 rounded-3xl max-w-lg w-full p-6 space-y-5 shadow-2xl animate-in fade-in zoom-in-95"},Vd={class:"flex items-center justify-between border-b border-slate-800 pb-3"},$d={class:"flex items-center gap-2"},Kd={key:0,class:"p-3 bg-rose-950/60 border border-rose-800 rounded-xl text-xs text-rose-300"},zd={class:"space-y-4 text-xs"},Dd={class:"grid grid-cols-2 gap-3"},Hd={id:"modal-service-options"},Bd=["value"],qd={id:"modal-tenant-options"},Wd=["value"],Gd={class:"grid grid-cols-2 gap-3"},Jd={class:"flex items-center justify-end gap-3 pt-3 border-t border-slate-800"},Xd={key:5,class:"fixed inset-0 z-50 bg-black/70 backdrop-blur-sm flex items-center justify-center p-4"},Yd={class:"bg-slate-900 border border-emerald-800/60 rounded-3xl max-w-lg w-full p-6 space-y-5 shadow-2xl animate-in fade-in zoom-in-95"},Zd={class:"flex items-center gap-3"},Qd={class:"p-2.5 rounded-2xl bg-emerald-500/10 border border-emerald-500/20 text-emerald-400"},eu={class:"text-xs text-slate-400"},tu={class:"p-4 bg-amber-950/40 border border-amber-800/60 rounded-2xl space-y-2"},ru={class:"flex items-center gap-2 text-amber-400 text-xs font-bold"},ou={class:"space-y-1.5"},su={class:"flex items-center gap-2 bg-slate-950 border border-slate-700/80 rounded-xl p-2.5"},nu={class:"flex-1 font-mono text-xs text-emerald-300 select-all break-all"},iu={class:"flex justify-end pt-2"},lu={key:6,class:"fixed inset-0 z-50 bg-black/70 backdrop-blur-sm flex items-center justify-center p-4"},au={class:"bg-slate-900 border border-slate-800 rounded-3xl max-w-md w-full p-6 space-y-5 shadow-2xl"},cu={class:"flex items-center justify-between border-b border-slate-800 pb-3"},du={class:"space-y-4 text-xs"},uu={class:"flex items-center justify-end gap-3 pt-3 border-t border-slate-800"},fu={key:7,class:"fixed inset-0 z-50 bg-black/70 backdrop-blur-sm flex items-center justify-center p-4"},pu={class:"bg-slate-900 border border-slate-800 rounded-3xl max-w-lg w-full p-6 space-y-5 shadow-2xl"},hu={class:"flex items-center justify-between border-b border-slate-800 pb-3"},gu={class:"flex items-center gap-2.5"},bu={class:"p-2 rounded-xl bg-cyan-500/10 text-cyan-400 border border-cyan-500/20"},mu={class:"space-y-4 text-xs"},vu={class:"flex items-center justify-between mb-1"},xu={class:"text-[10px] text-slate-500 font-mono"},yu={class:"relative"},wu={class:"flex items-center justify-between mb-1"},_u={class:"text-[10px] text-slate-500 font-mono"},ku={class:"text-[11px] leading-relaxed"},Su={class:"flex items-center justify-between pt-3 border-t border-slate-800"},Cu={class:"flex items-center gap-2"},Tu=["disabled"],Au={class:"flex items-center gap-2"},zn=((e,t)=>{const r=e.__vccOpts||e;for(const[o,s]of t)r[o]=s;return r})(js({__name:"TollgateConsole.ce",props:{apiBaseUrl:{default:"",type:String},adminToken:{default:"",type:String},tenantId:{default:"",type:String},tenantsJson:{type:[String,Array]},embedded:{type:Boolean,default:!1},title:{default:"API Key Gateway (Tollgate) 管理コンソール",type:String}},setup(e){const t=e,r=ot(()=>Zr()),o=ot(()=>Qr()),s=()=>{if(typeof window<"u"){const _=localStorage.getItem("tollgate_ui_api_base_url");if(_!==null&&_!=="")return _}return t.apiBaseUrl||Zr()},n=()=>{if(typeof window<"u"){const _=localStorage.getItem("tollgate_ui_admin_token");if(_!==null&&_!=="")return _}return t.adminToken||Qr()},i=D(s()),l=D(n()),c=ot(()=>typeof window>"u"?!1:localStorage.getItem("tollgate_ui_api_base_url")!==null||localStorage.getItem("tollgate_ui_admin_token")!==null),h=new Ho({baseUrl:i.value,adminToken:l.value,tenantId:t.tenantId});Rt(()=>t.apiBaseUrl,_=>{typeof window<"u"&&localStorage.getItem("tollgate_ui_api_base_url")===null&&(i.value=_||Zr(),h.setBaseUrl(i.value))}),Rt(()=>t.adminToken,_=>{typeof window<"u"&&localStorage.getItem("tollgate_ui_admin_token")===null&&(l.value=_||Qr(),h.setAdminToken(l.value))}),Rt(()=>t.tenantId,_=>h.setTenantId(_));const p=D(!1),m=D({apiBaseUrl:"",adminToken:""}),A=D(!1),I=D(null);function W(){m.value={apiBaseUrl:i.value,adminToken:l.value},I.value=null,p.value=!0}async function F(){var d;A.value=!0,I.value=null;const _=new Ho({baseUrl:m.value.apiBaseUrl,adminToken:m.value.adminToken,tenantId:t.tenantId});try{const g=await _.checkHealth();let ie=`接続成功: ${g.service||"Tollgate"} (${g.status})`;if(m.value.adminToken)try{await _.fetchKeys(t.tenantId||((d=B.value[0])==null?void 0:d.id)),ie+=" — 管理者認証 OK"}catch(je){ie+=` — 警告: 管理者認証エラー (${je.message})`}I.value={ok:!0,message:ie,service:g.service}}catch(g){I.value={ok:!1,message:`接続失敗: ${g.message}`}}finally{A.value=!1}}function ae(){i.value=m.value.apiBaseUrl.trim(),l.value=m.value.adminToken.trim(),typeof window<"u"&&(localStorage.setItem("tollgate_ui_api_base_url",i.value),localStorage.setItem("tollgate_ui_admin_token",l.value)),h.setBaseUrl(i.value),h.setAdminToken(l.value),p.value=!1,M()}function oe(){typeof window<"u"&&(localStorage.removeItem("tollgate_ui_api_base_url"),localStorage.removeItem("tollgate_ui_admin_token")),i.value=t.apiBaseUrl||Zr(),l.value=t.adminToken||Qr(),h.setBaseUrl(i.value),h.setAdminToken(l.value),p.value=!1,M()}const z=ot(()=>{if(Array.isArray(t.tenantsJson)&&t.tenantsJson.length>0)return t.tenantsJson;const _=typeof t.tenantsJson=="string"&&t.tenantsJson.trim()?t.tenantsJson:$a();if(_&&_.trim())try{const d=JSON.parse(_);if(Array.isArray(d))return d}catch{return[]}return[]}),B=ot(()=>{const _=new Map;for(const d of z.value)_.set(d.id,d.name);for(const d of P.value)d.tenant_id&&!_.has(d.tenant_id)&&_.set(d.tenant_id,d.tenant_id);return Array.from(_.entries()).map(([d,g])=>({id:d,name:g}))}),P=D([]),Z=D(!1),Ae=D(null),me=D("keys"),he=D(""),Ee=D(""),st=D([]),St=D([]),nt=D(!1),gt=D(!1),bt=D(!1),it=D(null),se=D({name:"",rate_limit_rpm:600,monthly_quota:0}),Q=D(""),G=D(""),Ke=D(!1),ce=D({name:"",tenant_id:"",service_id:"",scopes:["ai:*","mcp:*","llm:*"],rate_limit_rpm:600,monthly_quota:1e5,expires_in:2592e3}),Re=D(null),ve=D(""),Wt=D("ai:*"),we=D(null),Gt=D(!1),mt=ot(()=>{const _=new Map;for(const d of B.value)_.set(d.id,d.name);for(const d of St.value)_.has(d)||_.set(d,d);return Array.from(_.entries()).map(([d,g])=>({id:d,name:g}))}),Ft=ot(()=>{const _=new Set(st.value);for(const d of P.value)d.service_id&&_.add(d.service_id);return Array.from(_).sort()}),Ct=ot(()=>P.value),Tt=D({total_keys:0,active_keys:0,total_monthly_usage:0,rotating_keys:0,services:[],tenants:[]});async function Oe(){try{const _=await h.fetchStats();Tt.value=_,_.services&&_.services.length>0&&(st.value=_.services),_.tenants&&_.tenants.length>0&&(St.value=_.tenants)}catch(_){console.warn("Failed to load global stats:",_)}}Rt([he,Ee],()=>{y()});const Hn=ot(()=>{var g;const _=!!ce.value.name.trim(),d=!!((g=ce.value.service_id)!=null&&g.trim());return _&&d});function u(_){if(!_)return"サービス専用 (テナントなし)";const d=mt.value.find(g=>g.id===_);return d?d.name:_}const f=D(50),b=D(void 0),w=D(void 0),v=D([]);async function x(_){Z.value=!0,Ae.value=null;try{const d=he.value.trim(),g=d&&d!=="all"?d:t.tenantId||void 0,ie=Ee.value.trim(),je=ie&&ie!=="all"?ie:void 0,hr=await h.fetchKeys({tenantId:g,serviceId:je,limit:f.value,cursor:_});P.value=hr.keys,w.value=hr.nextCursor,b.value=_}catch(d){console.error("Failed to load Tollgate keys:",d),Ae.value=d.message||"APIキー一覧の取得に失敗しました"}finally{Z.value=!1}}function C(){w.value&&(v.value.push(b.value||""),x(w.value))}function S(){if(v.value.length===0)return;const _=v.value.pop();x(_||void 0)}function k(){y()}function y(){v.value=[],b.value=void 0,w.value=void 0,x()}async function M(){await Promise.all([Oe(),x()])}Vs(()=>{t.tenantId&&(ce.value.tenant_id=t.tenantId),Oe(),x()});function T(){Re.value=null,t.tenantId&&(ce.value.tenant_id=t.tenantId),nt.value=!0}async function E(){var _,d;if(Re.value=null,!Hn.value){Re.value="キー名称とサービス識別子 (service_id) を入力してください。";return}try{const g=await h.createKey(ce.value);Q.value=g.raw_key,G.value=((_=g.key)==null?void 0:_.name)||g.name||ce.value.name,nt.value=!1,gt.value=!0,g.key?P.value.unshift(g.key):await x(),Oe(),ce.value={name:"",tenant_id:((d=B.value[0])==null?void 0:d.id)||"",service_id:"",scopes:["ai:*","mcp:*","llm:*"],rate_limit_rpm:600,monthly_quota:1e5,expires_in:2592e3}}catch(g){console.error("Create key failed:",g),Re.value=g.message||"APIキーの発行に失敗しました。"}}function j(_){it.value=_,se.value={name:_.name,rate_limit_rpm:_.rate_limit_rpm||600,monthly_quota:_.monthly_quota||0},bt.value=!0}async function K(){if(it.value)try{const _=await h.updateKey(it.value.key_id,{name:se.value.name.trim(),rate_limit_rpm:Number(se.value.rate_limit_rpm),monthly_quota:Number(se.value.monthly_quota)},it.value.tenant_id),d=P.value.findIndex(g=>{var ie;return g.key_id===((ie=it.value)==null?void 0:ie.key_id)});d!==-1&&_&&(P.value[d]={...P.value[d],..._}),bt.value=!1,it.value=null,Oe()}catch(_){alert(_.message||"APIキーの更新に失敗しました")}}async function Y(_){if(confirm(`APIキー「${_.name}」を一時停止しますか?`))try{await h.suspendKey(_.key_id,_.tenant_id),_.status="suspended",_.is_active=!1,Oe()}catch(d){alert(d.message||"一時停止に失敗しました")}}async function J(_){try{await h.resumeKey(_.key_id,_.tenant_id),_.status="active",_.is_active=!0,Oe()}catch(d){alert(d.message||"再開に失敗しました")}}async function de(_){if(confirm(`APIキー「${_.name}」をローテーションしますか?
172
- (旧キーは24時間の猶予期間後に無効化されます)`))try{const d=await h.rotateKey(_.key_id,24,_.tenant_id);Q.value=d.new_raw_key,G.value=`${_.name} (新ローテーションキー)`,_.status="rotating",gt.value=!0,Oe()}catch(d){alert(d.message||"ローテーションに失敗しました")}}async function pe(_){if(confirm(`APIキー「${_.name}」を完全に削除しますか?
173
- この操作は取り消せません。`))try{await h.deleteKey(_.key_id,_.tenant_id),P.value=P.value.filter(d=>d.key_id!==_.key_id),Oe()}catch(d){alert(d.message||"削除に失敗しました")}}async function ze(){if(ve.value.trim()){Gt.value=!0,we.value=null;try{we.value=await h.verifyKey(ve.value.trim(),Wt.value)}catch(_){we.value={valid:!1,reason:_.message}}finally{Gt.value=!1}}}function De(){navigator.clipboard.writeText(Q.value),Ke.value=!0,setTimeout(()=>{Ke.value=!1},2e3)}return(_,d)=>(L(),$("div",Ka,[e.embedded?le("",!0):(L(),$("div",za,[a("div",Da,[a("div",Ha,[R(N(qt),{class:"w-6 h-6"})]),a("div",null,[a("div",Ba,[a("h1",qa,V(e.title),1),d[27]||(d[27]=a("span",{class:"px-2.5 py-0.5 rounded-full text-[10px] font-bold bg-cyan-950 text-cyan-400 border border-cyan-800/60"}," Active Gateway ",-1))]),d[28]||(d[28]=a("p",{class:"text-xs sm:text-sm text-slate-400 mt-1"}," マルチテナント API キー発行・クォータ上限・レートリミット (RPM)・Graceful ローテーション統制 ",-1))])]),a("div",Wa,[a("button",{onClick:W,class:"group flex items-center gap-2 px-3 py-2 bg-slate-900/90 hover:bg-slate-800 text-slate-300 hover:text-white rounded-xl border border-slate-700/80 text-xs font-medium transition-all cursor-pointer shadow-sm",title:"接続エンドポイント設定を開く"},[R(N(Ua),{class:"w-3.5 h-3.5 text-cyan-400 group-hover:scale-110 transition-transform"}),a("span",Ga,V(i.value||"(同一ホスト/プロキシ)"),1),c.value?(L(),$("span",Ja," カスタム ")):le("",!0),R(N($n),{class:"w-3.5 h-3.5 text-slate-400 group-hover:text-cyan-400 transition-colors ml-0.5"})]),a("button",{onClick:T,class:"px-4 py-2.5 bg-gradient-to-r from-cyan-600 to-indigo-600 hover:from-cyan-500 hover:to-indigo-500 text-white rounded-xl text-xs sm:text-sm font-bold flex items-center gap-2 shadow-lg shadow-cyan-600/30 transition-all active:scale-95 cursor-pointer"},[R(N(ja),{class:"w-4 h-4"}),d[29]||(d[29]=a("span",null,"新規 API キー発行",-1))]),a("button",{onClick:M,disabled:Z.value,class:"p-2.5 bg-slate-900 hover:bg-slate-800 text-slate-400 hover:text-white rounded-xl border border-slate-700 transition-colors cursor-pointer",title:"最新の全社統計とキー一覧を再取得"},[R(N(Yr),{class:Ne(["w-4 h-4",{"animate-spin":Z.value}])},null,8,["class"])],8,Xa)])])),Ae.value?(L(),$("div",Ya,[R(N(Fn),{class:"w-5 h-5 text-rose-400 shrink-0"}),a("span",Za,V(Ae.value),1),a("button",{onClick:M,class:"underline font-bold hover:text-rose-100"},"再試行")])):le("",!0),a("div",Qa,[a("div",ec,[a("div",tc,[d[30]||(d[30]=a("span",{class:"text-xs font-bold uppercase tracking-wider text-slate-400"},"登録済みキー総数",-1)),a("div",rc,[R(N(qt),{class:"w-4 h-4"})])]),a("div",oc,[a("span",sc,V(Tt.value.total_keys),1),d[31]||(d[31]=a("span",{class:"text-xs text-slate-500 font-medium"},"Keys",-1))]),d[32]||(d[32]=a("p",{class:"mt-1 text-[11px] text-slate-400"},"システム全社確定キー総数",-1))]),a("div",nc,[a("div",ic,[d[33]||(d[33]=a("span",{class:"text-xs font-bold uppercase tracking-wider text-slate-400"},"有効稼働中キー",-1)),a("div",lc,[R(N(Kn),{class:"w-4 h-4"})])]),a("div",ac,[a("span",cc,V(Tt.value.active_keys),1),d[34]||(d[34]=a("span",{class:"text-xs text-slate-500 font-medium"},"Keys",-1))]),d[35]||(d[35]=a("p",{class:"mt-1 text-[11px] text-slate-400"},"アクティブ認可トラフィック",-1))]),a("div",dc,[a("div",uc,[d[36]||(d[36]=a("span",{class:"text-xs font-bold uppercase tracking-wider text-slate-400"},"当月リクエスト総利用",-1)),a("div",fc,[R(N(Yr),{class:"w-4 h-4"})])]),a("div",pc,[a("span",hc,V(Tt.value.total_monthly_usage.toLocaleString()),1),d[37]||(d[37]=a("span",{class:"text-xs text-slate-500 font-medium"},"req",-1))]),d[38]||(d[38]=a("p",{class:"mt-1 text-[11px] text-slate-400"},"全社累計消費リクエスト数",-1))]),a("div",gc,[a("div",bc,[d[39]||(d[39]=a("span",{class:"text-xs font-bold uppercase tracking-wider text-slate-400"},"ローテーション移行中",-1)),a("div",mc,[R(N(zo),{class:"w-4 h-4"})])]),a("div",vc,[a("span",xc,V(Tt.value.rotating_keys),1),d[40]||(d[40]=a("span",{class:"text-xs text-slate-500 font-medium"},"Keys",-1))]),d[41]||(d[41]=a("p",{class:"mt-1 text-[11px] text-slate-400"},"Grace Period 猶予中 (24h)",-1))])]),a("div",yc,[a("button",{onClick:d[0]||(d[0]=g=>me.value="keys"),class:Ne(["pb-3 px-4 text-xs sm:text-sm font-bold border-b-2 flex items-center gap-2 transition-colors cursor-pointer",me.value==="keys"?"border-cyan-500 text-cyan-400":"border-transparent text-slate-400 hover:text-slate-200"])},[R(N(qt),{class:"w-4 h-4"}),d[42]||(d[42]=a("span",null,"API キー管理",-1)),a("span",wc," 表示中 "+V(P.value.length),1)],2),a("button",{onClick:d[1]||(d[1]=g=>me.value="system"),class:Ne(["pb-3 px-4 text-xs sm:text-sm font-bold border-b-2 flex items-center gap-2 transition-colors cursor-pointer",me.value==="system"?"border-cyan-500 text-cyan-400":"border-transparent text-slate-400 hover:text-slate-200"])},[R(N(La),{class:"w-4 h-4"}),d[43]||(d[43]=a("span",null,"システム構成 & ルーティング",-1))],2)]),me.value==="keys"?(L(),$("div",_c,[a("div",kc,[a("div",Sc,[a("div",Cc,[R(N(Vn),{class:"w-4 h-4 text-indigo-400 shrink-0"}),d[44]||(d[44]=a("span",{class:"text-xs text-slate-400 font-medium"},"サービス:",-1)),ke(a("input",{"onUpdate:modelValue":d[2]||(d[2]=g=>Ee.value=g),list:"filter-service-options",type:"text",placeholder:"全サービス (入力/選択)",class:"bg-transparent border-0 text-indigo-300 text-xs font-semibold focus:outline-none w-40 placeholder-slate-500"},null,512),[[Me,Ee.value]]),Ee.value?(L(),$("button",{key:0,onClick:d[3]||(d[3]=g=>Ee.value=""),class:"text-slate-500 hover:text-slate-300 p-0.5 rounded transition-colors cursor-pointer",title:"サービスフィルタをクリア"},[R(N(Do),{class:"w-3.5 h-3.5"})])):le("",!0),a("datalist",Tc,[(L(!0),$(Ce,null,Dt(Ft.value,g=>(L(),$("option",{key:g,value:g},V(g),9,Ac))),128))])]),a("div",Ic,[R(N(Ln),{class:"w-4 h-4 text-cyan-400 shrink-0"}),d[46]||(d[46]=a("span",{class:"text-xs text-slate-400 font-medium"},"テナント:",-1)),ke(a("input",{"onUpdate:modelValue":d[4]||(d[4]=g=>he.value=g),list:"filter-tenant-options",type:"text",placeholder:"全テナント (入力/選択)",class:"bg-transparent border-0 text-cyan-300 text-xs font-semibold focus:outline-none w-44 placeholder-slate-500"},null,512),[[Me,he.value]]),he.value?(L(),$("button",{key:0,onClick:d[5]||(d[5]=g=>he.value=""),class:"text-slate-500 hover:text-slate-300 p-0.5 rounded transition-colors cursor-pointer",title:"テナントフィルタをクリア"},[R(N(Do),{class:"w-3.5 h-3.5"})])):le("",!0),a("datalist",Pc,[d[45]||(d[45]=a("option",{value:"service_only"},"サービス専用 (テナント未指定)",-1)),(L(!0),$(Ce,null,Dt(mt.value,g=>(L(),$("option",{key:g.id,value:g.id},V(g.name!==g.id?`${g.name} (${g.id})`:g.name),9,Mc))),128))])]),he.value||Ee.value?(L(),$("div",Ec,[a("button",{onClick:d[6]||(d[6]=g=>{he.value="",Ee.value=""}),class:"text-[11px] px-2.5 py-1 rounded-lg bg-slate-800 hover:bg-slate-700 text-slate-300 hover:text-white flex items-center gap-1 transition-colors border border-slate-700/60 cursor-pointer"},[R(N(Do),{class:"w-3 h-3 text-rose-400"}),d[47]||(d[47]=a("span",null,"条件クリア",-1))])])):le("",!0)]),a("div",Rc,[a("button",{onClick:M,class:"px-3 py-2 rounded-xl bg-slate-900 hover:bg-slate-800 text-slate-300 hover:text-white border border-slate-700 text-xs font-medium flex items-center gap-1.5 transition-colors cursor-pointer",title:"最新データを再取得"},[R(N(Yr),{class:Ne(["w-3.5 h-3.5",{"animate-spin":Z.value}])},null,8,["class"]),d[48]||(d[48]=a("span",null,"更新",-1))])])]),a("div",Oc,[a("div",jc,[a("div",Nc,[R(N(qt),{class:"w-4 h-4 text-cyan-400"}),d[49]||(d[49]=a("h2",{class:"text-sm font-bold text-white"},"発行済み API キー一覧",-1))]),a("div",Uc,[he.value||Ee.value?(L(),$("span",Lc," サーバー絞り込み中 ")):le("",!0),a("span",Fc,"表示中: "+V(Ct.value.length)+" 件",1)])]),a("div",Vc,[a("table",$c,[d[51]||(d[51]=a("thead",null,[a("tr",{class:"border-b border-slate-800 bg-slate-950/40 text-slate-400 font-semibold text-[11px] uppercase tracking-wider"},[a("th",{class:"py-3 px-4"},"キー名称 / プレフィックス"),a("th",{class:"py-3 px-4"},"サービス / テナント"),a("th",{class:"py-3 px-4"},"ステータス"),a("th",{class:"py-3 px-4"},"レートリミット (RPM)"),a("th",{class:"py-3 px-4"},"月間クォータ利用"),a("th",{class:"py-3 px-4"},"スコープ"),a("th",{class:"py-3 px-4 text-right"},"操作")])],-1)),a("tbody",Kc,[(L(!0),$(Ce,null,Dt(Ct.value,g=>{var ie;return L(),$("tr",{key:g.key_id,class:"hover:bg-slate-800/30 transition-colors"},[a("td",zc,[a("div",Dc,[a("span",null,V(g.name),1),(ie=g.rotation)!=null&&ie.grace_period_expires_at?(L(),$("span",Hc," 移行中 ")):le("",!0)]),a("div",Bc,V(g.key_prefix)+"... ",1)]),a("td",qc,[a("div",Wc,[R(N(Vn),{class:"w-3.5 h-3.5 text-indigo-400 shrink-0"}),a("span",null,V(g.service_id||"(未指定)"),1)]),a("div",Gc,[R(N(Ln),{class:"w-3 h-3 text-slate-500 shrink-0"}),a("span",null,V(u(g.tenant_id)),1)])]),a("td",Jc,[a("span",{class:Ne(["inline-flex items-center gap-1.5 px-2.5 py-1 rounded-full text-[10px] font-bold border capitalize",{"bg-emerald-950/60 text-emerald-300 border-emerald-800/80":g.status==="active","bg-amber-950/60 text-amber-300 border-amber-800/80":g.status==="suspended"||g.status==="rotating","bg-rose-950/60 text-rose-300 border-rose-800/80":g.status==="revoked"}])},[a("span",{class:Ne(["w-1.5 h-1.5 rounded-full",{"bg-emerald-400 animate-pulse":g.status==="active","bg-amber-400":g.status==="suspended"||g.status==="rotating","bg-rose-400":g.status==="revoked"}])},null,2),qe(" "+V(g.status),1)],2)]),a("td",Xc,V(g.rate_limit_rpm?`${g.rate_limit_rpm.toLocaleString()} RPM`:"無制限"),1),a("td",Yc,[a("div",Zc,[qe(V((g.current_month_usage||0).toLocaleString())+" ",1),a("span",Qc,"/ "+V(g.monthly_quota>0?g.monthly_quota.toLocaleString():"無制限"),1)]),g.monthly_quota>0?(L(),$("div",ed,[a("div",{class:Ne(["h-full rounded-full transition-all",g.current_month_usage/g.monthly_quota>.9?"bg-rose-500":"bg-cyan-500"]),style:_r({width:`${Math.min(100,Math.round((g.current_month_usage||0)/g.monthly_quota*100))}%`})},null,6)])):le("",!0)]),a("td",td,[a("div",rd,[(L(!0),$(Ce,null,Dt(g.scopes,je=>(L(),$("span",{key:je,class:"px-1.5 py-0.5 rounded text-[10px] font-mono bg-slate-800 text-slate-300 border border-slate-700"},V(je),1))),128))])]),a("td",od,[a("button",{onClick:je=>j(g),class:"p-1.5 text-slate-400 hover:text-cyan-300 rounded-lg hover:bg-slate-800 transition-colors cursor-pointer",title:"キー設定変更"},[R(N(Ra),{class:"w-3.5 h-3.5"})],8,sd),g.status==="active"?(L(),$("button",{key:0,onClick:je=>Y(g),class:"p-1.5 text-slate-400 hover:text-amber-400 rounded-lg hover:bg-slate-800 transition-colors cursor-pointer",title:"一時停止"},[R(N(Ea),{class:"w-3.5 h-3.5"})],8,nd)):g.status==="suspended"?(L(),$("button",{key:1,onClick:je=>J(g),class:"p-1.5 text-slate-400 hover:text-emerald-400 rounded-lg hover:bg-slate-800 transition-colors cursor-pointer",title:"再開"},[R(N(Oa),{class:"w-3.5 h-3.5"})],8,id)):le("",!0),a("button",{onClick:je=>de(g),class:"p-1.5 text-slate-400 hover:text-cyan-400 rounded-lg hover:bg-slate-800 transition-colors cursor-pointer",title:"ローテーション (Graceful)"},[R(N(zo),{class:"w-3.5 h-3.5"})],8,ld),a("button",{onClick:je=>pe(g),class:"p-1.5 text-slate-400 hover:text-rose-400 rounded-lg hover:bg-slate-800 transition-colors cursor-pointer",title:"完全削除"},[R(N(Fa),{class:"w-3.5 h-3.5"})],8,ad)])])}),128)),Ct.value.length===0&&!Z.value?(L(),$("tr",cd,[a("td",dd,[R(N(qt),{class:"w-8 h-8 mx-auto mb-2 opacity-30"}),d[50]||(d[50]=a("p",null,"該当する API キーは見つかりませんでした。",-1))])])):le("",!0)])])]),a("div",ud,[a("div",fd,[a("span",null,[d[52]||(d[52]=qe("表示中: ",-1)),a("strong",pd,V(Ct.value.length),1),d[53]||(d[53]=qe(" 件",-1))]),d[56]||(d[56]=a("span",{class:"text-slate-600"},"|",-1)),a("div",hd,[d[55]||(d[55]=a("span",null,"表示件数:",-1)),ke(a("select",{"onUpdate:modelValue":d[7]||(d[7]=g=>f.value=g),onChange:k,class:"bg-slate-950 border border-slate-700 rounded-lg px-2 py-1 text-slate-200 text-xs focus:outline-none focus:border-cyan-500 cursor-pointer"},[...d[54]||(d[54]=[a("option",{value:25},"25 件",-1),a("option",{value:50},"50 件",-1),a("option",{value:100},"100 件",-1)])],544),[[ba,f.value,void 0,{number:!0}]])])]),a("div",gd,[a("button",{onClick:S,disabled:v.value.length===0||Z.value,class:"px-3 py-1.5 rounded-xl border border-slate-700 bg-slate-900 hover:bg-slate-800 text-slate-200 disabled:opacity-40 disabled:cursor-not-allowed flex items-center gap-1 transition-colors cursor-pointer"},[R(N(Ca),{class:"w-3.5 h-3.5"}),d[57]||(d[57]=a("span",null,"前へ",-1))],8,bd),v.value.length>0?(L(),$("span",md," Page "+V(v.value.length+1),1)):le("",!0),a("button",{onClick:C,disabled:!w.value||Z.value,class:"px-3 py-1.5 rounded-xl border border-slate-700 bg-slate-900 hover:bg-slate-800 text-slate-200 disabled:opacity-40 disabled:cursor-not-allowed flex items-center gap-1 transition-colors cursor-pointer"},[d[58]||(d[58]=a("span",null,"次へ",-1)),R(N(Ta),{class:"w-3.5 h-3.5"})],8,vd)])])]),a("div",xd,[a("div",yd,[R(N(Kn),{class:"w-4 h-4 text-cyan-400"}),d[59]||(d[59]=a("h3",{class:"text-sm font-bold text-white"},"API キー単体検証・認可シミュレータ (Verify Tester)",-1))]),a("div",wd,[a("div",_d,[d[60]||(d[60]=a("label",{class:"text-xs font-semibold text-slate-400"},"生の API キー (Raw API Key)",-1)),ke(a("input",{"onUpdate:modelValue":d[8]||(d[8]=g=>ve.value=g),type:"text",placeholder:"tlgt_live_...",class:"w-full bg-slate-950 border border-slate-800 rounded-xl px-3.5 py-2 text-xs font-mono text-cyan-300 placeholder-slate-600 focus:outline-none focus:border-cyan-500"},null,512),[[Me,ve.value]])]),a("div",kd,[d[61]||(d[61]=a("label",{class:"text-xs font-semibold text-slate-400"},"要求スコープ (Scope)",-1)),a("div",Sd,[ke(a("input",{"onUpdate:modelValue":d[9]||(d[9]=g=>Wt.value=g),type:"text",placeholder:"ai:*",class:"flex-1 bg-slate-950 border border-slate-800 rounded-xl px-3.5 py-2 text-xs font-mono text-slate-200 placeholder-slate-600 focus:outline-none focus:border-cyan-500"},null,512),[[Me,Wt.value]]),a("button",{onClick:ze,disabled:Gt.value||!ve.value.trim(),class:"px-4 py-2 bg-cyan-600 hover:bg-cyan-500 disabled:opacity-50 text-white rounded-xl text-xs font-bold transition-all cursor-pointer shrink-0"},V(Gt.value?"検証中...":"検証実行"),9,Cd)])])]),we.value?(L(),$("div",{key:0,class:Ne(["p-4 rounded-xl border text-xs",we.value.valid?"bg-emerald-950/30 border-emerald-800/60 text-emerald-300":"bg-rose-950/30 border-rose-800/60 text-rose-300"])},[a("div",Td,[we.value.valid?(L(),Nt(N(Ko),{key:0,class:"w-4 h-4 text-emerald-400"})):(L(),Nt(N(Aa),{key:1,class:"w-4 h-4 text-rose-400"})),a("span",null,V(we.value.valid?"認可成功 (Valid & Authorized)":"認可失敗 (Invalid / Unauthorized)"),1)]),we.value.valid?(L(),$("div",Ad,[a("div",null,[d[62]||(d[62]=a("span",{class:"text-slate-500"},"Key ID:",-1)),qe(" "+V(we.value.key_id),1)]),a("div",null,[d[63]||(d[63]=a("span",{class:"text-slate-500"},"Prefix:",-1)),qe(" "+V(we.value.key_prefix),1)]),a("div",null,[d[64]||(d[64]=a("span",{class:"text-slate-500"},"Tenant:",-1)),qe(" "+V(we.value.tenant_id||"Global"),1)]),a("div",null,[d[65]||(d[65]=a("span",{class:"text-slate-500"},"Remain RPM:",-1)),qe(" "+V(we.value.remaining_rpm)+" / "+V(we.value.limit_rpm),1)])])):(L(),$("div",Id," 理由: "+V(we.value.reason||"検証できませんでした"),1))],2)):le("",!0)])])):le("",!0),me.value==="system"?(L(),$("div",Pd,[a("div",Md,[a("div",Ed,[a("div",Rd,[R(N(Pa),{class:"w-5 h-5"}),d[66]||(d[66]=a("h3",{class:"font-bold text-white text-sm"},"Tollgate アーキテクチャ",-1))]),d[67]||(d[67]=a("p",{class:"text-xs text-slate-400 leading-relaxed"}," Tollgate はマルチテナント環境における API キーの発行・暗号化保管・レートリミット(Redis Token Bucket)・動的ローテーションを提供する認証認可プロキシゲートウェイです。 ",-1))]),a("div",Od,[a("div",jd,[R(N(zo),{class:"w-5 h-5"}),d[68]||(d[68]=a("h3",{class:"font-bold text-white text-sm"},"Graceful ローテーション",-1))]),d[69]||(d[69]=a("p",{class:"text-xs text-slate-400 leading-relaxed"}," API キーのローテーション時、即座に旧キーを破棄せず、設定された猶予期間(デフォルト24時間)は新旧両方のキーでリクエストを受け付けるため、クライアント側のダウンタイムゼロ更新を実現します。 ",-1))]),a("div",Nd,[a("div",Ud,[R(N(Ma),{class:"w-5 h-5"}),d[70]||(d[70]=a("h3",{class:"font-bold text-white text-sm"},"Fail-Fast セキュリティ",-1))]),d[71]||(d[71]=a("p",{class:"text-xs text-slate-400 leading-relaxed"}," ヘッダーで指定されたテナントIDとキーの属性値が一致しない場合や、クォータ超過・失効キーのアクセスは即座に 403 Forbidden で遮断し、バックエンドへの不正侵入を防ぎます。 ",-1))])])])):le("",!0),nt.value?(L(),$("div",Ld,[a("div",Fd,[a("div",Vd,[a("div",$d,[R(N(qt),{class:"w-5 h-5 text-cyan-400"}),d[72]||(d[72]=a("h3",{class:"text-base font-bold text-white"},"新規 API キー発行",-1))]),a("button",{onClick:d[10]||(d[10]=g=>nt.value=!1),class:"text-slate-400 hover:text-white cursor-pointer"},"×")]),Re.value?(L(),$("div",Kd,V(Re.value),1)):le("",!0),a("div",zd,[a("div",null,[d[73]||(d[73]=a("label",{class:"block font-semibold text-slate-300 mb-1"},"キー名称 *",-1)),ke(a("input",{"onUpdate:modelValue":d[11]||(d[11]=g=>ce.value.name=g),type:"text",placeholder:"例: AI Engine Production Key",class:"w-full bg-slate-950 border border-slate-700 rounded-xl px-3.5 py-2 text-slate-100 placeholder-slate-600 focus:outline-none focus:border-cyan-500"},null,512),[[Me,ce.value.name]])]),a("div",Dd,[a("div",null,[d[74]||(d[74]=a("label",{class:"block font-semibold text-slate-300 mb-1"},"サービス ID *",-1)),ke(a("input",{"onUpdate:modelValue":d[12]||(d[12]=g=>ce.value.service_id=g),list:"modal-service-options",type:"text",placeholder:"例: billing-svc (必須)",class:"w-full bg-slate-950 border border-slate-700 rounded-xl px-3.5 py-2 text-slate-100 placeholder-slate-600 focus:outline-none focus:border-cyan-500"},null,512),[[Me,ce.value.service_id]]),a("datalist",Hd,[(L(!0),$(Ce,null,Dt(Ft.value,g=>(L(),$("option",{key:g,value:g},V(g),9,Bd))),128))])]),a("div",null,[d[75]||(d[75]=a("label",{class:"block font-semibold text-slate-300 mb-1"},"テナント ID (任意)",-1)),ke(a("input",{"onUpdate:modelValue":d[13]||(d[13]=g=>ce.value.tenant_id=g),list:"modal-tenant-options",type:"text",placeholder:"未指定時はサービス専用キー",class:"w-full bg-slate-950 border border-slate-700 rounded-xl px-3.5 py-2 text-slate-100 placeholder-slate-600 focus:outline-none focus:border-cyan-500"},null,512),[[Me,ce.value.tenant_id]]),a("datalist",qd,[(L(!0),$(Ce,null,Dt(mt.value,g=>(L(),$("option",{key:g.id,value:g.id},V(g.name!==g.id?`${g.name} (${g.id})`:g.name),9,Wd))),128))])])]),a("div",Gd,[a("div",null,[d[76]||(d[76]=a("label",{class:"block font-semibold text-slate-300 mb-1"},"レートリミット (RPM)",-1)),ke(a("input",{"onUpdate:modelValue":d[14]||(d[14]=g=>ce.value.rate_limit_rpm=g),type:"number",min:"0",class:"w-full bg-slate-950 border border-slate-700 rounded-xl px-3.5 py-2 text-slate-100 focus:outline-none focus:border-cyan-500"},null,512),[[Me,ce.value.rate_limit_rpm,void 0,{number:!0}]])]),a("div",null,[d[77]||(d[77]=a("label",{class:"block font-semibold text-slate-300 mb-1"},"月間クォータ (0 = 無制限)",-1)),ke(a("input",{"onUpdate:modelValue":d[15]||(d[15]=g=>ce.value.monthly_quota=g),type:"number",min:"0",class:"w-full bg-slate-950 border border-slate-700 rounded-xl px-3.5 py-2 text-slate-100 focus:outline-none focus:border-cyan-500"},null,512),[[Me,ce.value.monthly_quota,void 0,{number:!0}]])])])]),a("div",Jd,[a("button",{onClick:d[16]||(d[16]=g=>nt.value=!1),class:"px-4 py-2 bg-slate-800 hover:bg-slate-700 text-slate-300 rounded-xl text-xs font-semibold cursor-pointer"}," キャンセル "),a("button",{onClick:E,class:"px-4 py-2 bg-cyan-600 hover:bg-cyan-500 text-white rounded-xl text-xs font-bold shadow-lg shadow-cyan-600/30 cursor-pointer"}," 発行する ")])])])):le("",!0),gt.value?(L(),$("div",Xd,[a("div",Yd,[a("div",Zd,[a("div",Qd,[R(N(Ko),{class:"w-6 h-6"})]),a("div",null,[d[78]||(d[78]=a("h3",{class:"text-base font-bold text-white"},"API キーが発行されました",-1)),a("p",eu,V(G.value),1)])]),a("div",tu,[a("div",ru,[R(N(Va),{class:"w-4 h-4"}),d[79]||(d[79]=a("span",null,"重要: このキーは二度と表示されません",-1))]),d[80]||(d[80]=a("p",{class:"text-[11px] text-amber-200/80 leading-relaxed"}," 安全なキーストアまたはシークレットマネージャーに今すぐ保存してください。 ",-1))]),a("div",ou,[d[81]||(d[81]=a("label",{class:"text-xs font-semibold text-slate-400"},"生成された生の API キー (Raw API Key)",-1)),a("div",su,[a("span",nu,V(Q.value),1),a("button",{onClick:De,class:"px-3 py-1.5 bg-slate-800 hover:bg-slate-700 text-slate-200 rounded-lg text-xs font-bold flex items-center gap-1.5 cursor-pointer shrink-0 transition-colors"},[Ke.value?(L(),Nt(N(Sa),{key:0,class:"w-3.5 h-3.5 text-emerald-400"})):(L(),Nt(N(Ia),{key:1,class:"w-3.5 h-3.5"})),a("span",null,V(Ke.value?"コピー完了":"コピー"),1)])])]),a("div",iu,[a("button",{onClick:d[17]||(d[17]=g=>gt.value=!1),class:"px-5 py-2.5 bg-emerald-600 hover:bg-emerald-500 text-white rounded-xl text-xs font-bold shadow-lg shadow-emerald-600/30 cursor-pointer"}," 保存した・閉じる ")])])])):le("",!0),bt.value&&it.value?(L(),$("div",lu,[a("div",au,[a("div",cu,[d[82]||(d[82]=a("h3",{class:"text-base font-bold text-white"},"API キー設定の更新",-1)),a("button",{onClick:d[18]||(d[18]=g=>bt.value=!1),class:"text-slate-400 hover:text-white cursor-pointer"},"×")]),a("div",du,[a("div",null,[d[83]||(d[83]=a("label",{class:"block font-semibold text-slate-300 mb-1"},"キー名称",-1)),ke(a("input",{"onUpdate:modelValue":d[19]||(d[19]=g=>se.value.name=g),type:"text",class:"w-full bg-slate-950 border border-slate-700 rounded-xl px-3.5 py-2 text-slate-100 focus:outline-none focus:border-cyan-500"},null,512),[[Me,se.value.name]])]),a("div",null,[d[84]||(d[84]=a("label",{class:"block font-semibold text-slate-300 mb-1"},"レートリミット (RPM)",-1)),ke(a("input",{"onUpdate:modelValue":d[20]||(d[20]=g=>se.value.rate_limit_rpm=g),type:"number",min:"0",class:"w-full bg-slate-950 border border-slate-700 rounded-xl px-3.5 py-2 text-slate-100 focus:outline-none focus:border-cyan-500"},null,512),[[Me,se.value.rate_limit_rpm,void 0,{number:!0}]])]),a("div",null,[d[85]||(d[85]=a("label",{class:"block font-semibold text-slate-300 mb-1"},"月間クォータ (0 = 無制限)",-1)),ke(a("input",{"onUpdate:modelValue":d[21]||(d[21]=g=>se.value.monthly_quota=g),type:"number",min:"0",class:"w-full bg-slate-950 border border-slate-700 rounded-xl px-3.5 py-2 text-slate-100 focus:outline-none focus:border-cyan-500"},null,512),[[Me,se.value.monthly_quota,void 0,{number:!0}]])])]),a("div",uu,[a("button",{onClick:d[22]||(d[22]=g=>bt.value=!1),class:"px-4 py-2 bg-slate-800 hover:bg-slate-700 text-slate-300 rounded-xl text-xs font-semibold cursor-pointer"}," キャンセル "),a("button",{onClick:K,class:"px-4 py-2 bg-cyan-600 hover:bg-cyan-500 text-white rounded-xl text-xs font-bold cursor-pointer"}," 更新を保存 ")])])])):le("",!0),p.value?(L(),$("div",fu,[a("div",pu,[a("div",hu,[a("div",gu,[a("div",bu,[R(N($n),{class:"w-5 h-5"})]),d[86]||(d[86]=a("div",null,[a("h3",{class:"text-base font-bold text-white"},"接続エンドポイント設定"),a("p",{class:"text-[11px] text-slate-400"},"Nginx リバースプロキシや API Gateway の接続先 URL を変更")],-1))]),a("button",{onClick:d[23]||(d[23]=g=>p.value=!1),class:"text-slate-400 hover:text-white cursor-pointer text-lg"},"×")]),a("div",mu,[a("div",null,[a("div",vu,[d[87]||(d[87]=a("label",{class:"font-semibold text-slate-300"},"API Base URL (エンドポイント)",-1)),a("span",xu," 環境変数: "+V(r.value||"(未設定)"),1)]),a("div",yu,[ke(a("input",{"onUpdate:modelValue":d[24]||(d[24]=g=>m.value.apiBaseUrl=g),type:"text",placeholder:"例: http://localhost:8000 または /api",class:"w-full bg-slate-950 border border-slate-700 rounded-xl px-3.5 py-2.5 text-slate-100 font-mono text-xs placeholder-slate-600 focus:outline-none focus:border-cyan-500"},null,512),[[Me,m.value.apiBaseUrl]])]),d[88]||(d[88]=a("p",{class:"text-[11px] text-slate-400 mt-1"},[qe(" ※ 空文字の場合は同一オリジン("),a("code",null,"/v1/..."),qe(")または Vite プロキシを使用します。 ")],-1))]),a("div",null,[a("div",wu,[d[89]||(d[89]=a("label",{class:"font-semibold text-slate-300"},"Admin Secret トークン (Bearer / X-Admin-Secret)",-1)),a("span",_u," 環境変数: "+V(o.value?"******":"(未設定)"),1)]),ke(a("input",{"onUpdate:modelValue":d[25]||(d[25]=g=>m.value.adminToken=g),type:"password",placeholder:"admin-secret-key-for-local-dev",class:"w-full bg-slate-950 border border-slate-700 rounded-xl px-3.5 py-2.5 text-slate-100 font-mono text-xs placeholder-slate-600 focus:outline-none focus:border-cyan-500"},null,512),[[Me,m.value.adminToken]])]),I.value?(L(),$("div",{key:0,class:Ne([I.value.ok?"bg-emerald-950/40 border-emerald-800 text-emerald-300":"bg-rose-950/40 border-rose-800 text-rose-300","p-3 border rounded-xl flex items-center gap-2.5"])},[I.value.ok?(L(),Nt(N(Ko),{key:0,class:"w-4 h-4 text-emerald-400 shrink-0"})):(L(),Nt(N(Fn),{key:1,class:"w-4 h-4 text-rose-400 shrink-0"})),a("span",ku,V(I.value.message),1)],2)):le("",!0)]),a("div",Su,[a("div",Cu,[a("button",{onClick:F,disabled:A.value,class:"px-3 py-2 bg-slate-800 hover:bg-slate-700 text-slate-200 rounded-xl text-xs font-semibold flex items-center gap-1.5 cursor-pointer transition-colors"},[R(N(Yr),{class:Ne(["w-3.5 h-3.5",{"animate-spin":A.value}])},null,8,["class"]),a("span",null,V(A.value?"テスト中...":"接続テスト"),1)],8,Tu),c.value?(L(),$("button",{key:0,onClick:oe,class:"px-3 py-2 text-slate-400 hover:text-amber-300 rounded-xl text-xs font-medium flex items-center gap-1 cursor-pointer transition-colors",title:"環境変数・Propsの初期値に戻す"},[R(N(Na),{class:"w-3.5 h-3.5"}),d[90]||(d[90]=a("span",null,"初期値に戻す",-1))])):le("",!0)]),a("div",Au,[a("button",{onClick:d[26]||(d[26]=g=>p.value=!1),class:"px-4 py-2 bg-slate-800 hover:bg-slate-700 text-slate-300 rounded-xl text-xs font-semibold cursor-pointer"}," キャンセル "),a("button",{onClick:ae,class:"px-4 py-2 bg-cyan-600 hover:bg-cyan-500 text-white rounded-xl text-xs font-bold shadow-lg shadow-cyan-600/30 cursor-pointer transition-all"}," 保存して接続 ")])])])])):le("",!0)]))}}),[["styles",['/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */@layer properties{@supports ((-webkit-hyphens:none) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-amber-200:oklch(92.4% .12 95.746);--color-amber-300:oklch(87.9% .169 91.605);--color-amber-400:oklch(82.8% .189 84.429);--color-amber-500:oklch(76.9% .188 70.08);--color-amber-800:oklch(47.3% .137 46.201);--color-amber-950:oklch(27.9% .077 45.635);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-600:oklch(59.6% .145 163.225);--color-emerald-800:oklch(43.2% .095 166.913);--color-emerald-950:oklch(26.2% .051 172.552);--color-teal-400:oklch(77.7% .152 181.912);--color-cyan-300:oklch(86.5% .127 207.078);--color-cyan-400:oklch(78.9% .154 211.53);--color-cyan-500:oklch(71.5% .143 215.221);--color-cyan-600:oklch(60.9% .126 221.723);--color-cyan-800:oklch(45% .085 224.283);--color-cyan-950:oklch(30.2% .056 229.695);--color-indigo-300:oklch(78.5% .115 274.713);--color-indigo-400:oklch(67.3% .182 276.935);--color-indigo-500:oklch(58.5% .233 277.117);--color-indigo-600:oklch(51.1% .262 276.966);--color-rose-100:oklch(94.1% .03 12.58);--color-rose-300:oklch(81% .117 11.638);--color-rose-400:oklch(71.2% .194 13.428);--color-rose-500:oklch(64.5% .246 16.439);--color-rose-800:oklch(45.5% .188 13.697);--color-rose-950:oklch(27.1% .105 12.094);--color-slate-100:oklch(96.8% .007 247.896);--color-slate-200:oklch(92.9% .013 255.508);--color-slate-300:oklch(86.9% .022 252.894);--color-slate-400:oklch(70.4% .04 256.788);--color-slate-500:oklch(55.4% .046 257.417);--color-slate-600:oklch(44.6% .043 257.281);--color-slate-700:oklch(37.2% .044 257.287);--color-slate-800:oklch(27.9% .041 260.031);--color-slate-900:oklch(20.8% .042 265.755);--color-slate-950:oklch(12.9% .042 264.695);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-md:28rem;--container-lg:32rem;--container-7xl:80rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75 / 1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75 / 1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2 / 1.5);--text-3xl:1.875rem;--text-3xl--line-height: 1.2 ;--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--font-weight-black:900;--tracking-tight:-.025em;--tracking-wider:.05em;--leading-relaxed:1.625;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--radius-3xl:1.5rem;--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--blur-sm:8px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::-moz-placeholder{opacity:1}::placeholder{opacity:1}@supports (not (-webkit-appearance:-apple-pay-button)) or (contain-intrinsic-size:1px){::-moz-placeholder{color:currentColor}::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::-moz-placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.fixed{position:fixed}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.z-50{z-index:50}.mx-auto{margin-inline:auto}.mt-0\\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:var(--spacing)}.mt-1\\.5{margin-top:calc(var(--spacing) * 1.5)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mb-1{margin-bottom:var(--spacing)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-8{margin-bottom:calc(var(--spacing) * 8)}.ml-0\\.5{margin-left:calc(var(--spacing) * .5)}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.inline-flex{display:inline-flex}.h-1\\.5{height:calc(var(--spacing) * 1.5)}.h-2{height:calc(var(--spacing) * 2)}.h-3{height:calc(var(--spacing) * 3)}.h-3\\.5{height:calc(var(--spacing) * 3.5)}.h-4{height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-6{height:calc(var(--spacing) * 6)}.h-8{height:calc(var(--spacing) * 8)}.h-10{height:calc(var(--spacing) * 10)}.h-12{height:calc(var(--spacing) * 12)}.h-full{height:100%}.min-h-\\[600px\\]{min-height:600px}.min-h-screen{min-height:100vh}.w-1\\.5{width:calc(var(--spacing) * 1.5)}.w-2{width:calc(var(--spacing) * 2)}.w-3{width:calc(var(--spacing) * 3)}.w-3\\.5{width:calc(var(--spacing) * 3.5)}.w-4{width:calc(var(--spacing) * 4)}.w-5{width:calc(var(--spacing) * 5)}.w-6{width:calc(var(--spacing) * 6)}.w-8{width:calc(var(--spacing) * 8)}.w-10{width:calc(var(--spacing) * 10)}.w-12{width:calc(var(--spacing) * 12)}.w-24{width:calc(var(--spacing) * 24)}.w-40{width:calc(var(--spacing) * 40)}.w-44{width:calc(var(--spacing) * 44)}.w-full{width:100%}.max-w-7xl{max-width:var(--container-7xl)}.max-w-\\[180px\\]{max-width:180px}.max-w-lg{max-width:var(--container-lg)}.max-w-md{max-width:var(--container-md)}.flex-1{flex:1}.shrink-0{flex-shrink:0}.border-collapse{border-collapse:collapse}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-pointer{cursor:pointer}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-baseline{align-items:baseline}.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-1{gap:var(--spacing)}.gap-1\\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\\.5{gap:calc(var(--spacing) * 2.5)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-6{gap:calc(var(--spacing) * 6)}:where(.space-y-1\\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 1.5) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 1.5) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 2) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 5) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 5) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-8>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 8) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 8) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-x-1>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(var(--spacing) * var(--tw-space-x-reverse));margin-inline-end:calc(var(--spacing) * calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-3>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing) * 3) * var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-x-reverse)))}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}:where(.divide-slate-800\\/60>:not(:last-child)){border-color:#1d293d99}@supports (color:color-mix(in lab,red,red)){:where(.divide-slate-800\\/60>:not(:last-child)){border-color:color-mix(in oklab,var(--color-slate-800) 60%,transparent)}}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-3xl{border-radius:var(--radius-3xl)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-xl{border-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-amber-500\\/20{border-color:#f99c0033}@supports (color:color-mix(in lab,red,red)){.border-amber-500\\/20{border-color:color-mix(in oklab,var(--color-amber-500) 20%,transparent)}}.border-amber-500\\/30{border-color:#f99c004d}@supports (color:color-mix(in lab,red,red)){.border-amber-500\\/30{border-color:color-mix(in oklab,var(--color-amber-500) 30%,transparent)}}.border-amber-800{border-color:var(--color-amber-800)}.border-amber-800\\/60{border-color:#953d0099}@supports (color:color-mix(in lab,red,red)){.border-amber-800\\/60{border-color:color-mix(in oklab,var(--color-amber-800) 60%,transparent)}}.border-amber-800\\/80{border-color:#953d00cc}@supports (color:color-mix(in lab,red,red)){.border-amber-800\\/80{border-color:color-mix(in oklab,var(--color-amber-800) 80%,transparent)}}.border-cyan-500{border-color:var(--color-cyan-500)}.border-cyan-500\\/20{border-color:#00b7d733}@supports (color:color-mix(in lab,red,red)){.border-cyan-500\\/20{border-color:color-mix(in oklab,var(--color-cyan-500) 20%,transparent)}}.border-cyan-800{border-color:var(--color-cyan-800)}.border-cyan-800\\/50{border-color:#005f7880}@supports (color:color-mix(in lab,red,red)){.border-cyan-800\\/50{border-color:color-mix(in oklab,var(--color-cyan-800) 50%,transparent)}}.border-cyan-800\\/60{border-color:#005f7899}@supports (color:color-mix(in lab,red,red)){.border-cyan-800\\/60{border-color:color-mix(in oklab,var(--color-cyan-800) 60%,transparent)}}.border-emerald-500\\/20{border-color:#00bb7f33}@supports (color:color-mix(in lab,red,red)){.border-emerald-500\\/20{border-color:color-mix(in oklab,var(--color-emerald-500) 20%,transparent)}}.border-emerald-800{border-color:var(--color-emerald-800)}.border-emerald-800\\/60{border-color:#005f4699}@supports (color:color-mix(in lab,red,red)){.border-emerald-800\\/60{border-color:color-mix(in oklab,var(--color-emerald-800) 60%,transparent)}}.border-emerald-800\\/80{border-color:#005f46cc}@supports (color:color-mix(in lab,red,red)){.border-emerald-800\\/80{border-color:color-mix(in oklab,var(--color-emerald-800) 80%,transparent)}}.border-indigo-500\\/20{border-color:#625fff33}@supports (color:color-mix(in lab,red,red)){.border-indigo-500\\/20{border-color:color-mix(in oklab,var(--color-indigo-500) 20%,transparent)}}.border-rose-800{border-color:var(--color-rose-800)}.border-rose-800\\/60{border-color:#a3003799}@supports (color:color-mix(in lab,red,red)){.border-rose-800\\/60{border-color:color-mix(in oklab,var(--color-rose-800) 60%,transparent)}}.border-rose-800\\/80{border-color:#a30037cc}@supports (color:color-mix(in lab,red,red)){.border-rose-800\\/80{border-color:color-mix(in oklab,var(--color-rose-800) 80%,transparent)}}.border-slate-700{border-color:var(--color-slate-700)}.border-slate-700\\/60{border-color:#31415899}@supports (color:color-mix(in lab,red,red)){.border-slate-700\\/60{border-color:color-mix(in oklab,var(--color-slate-700) 60%,transparent)}}.border-slate-700\\/80{border-color:#314158cc}@supports (color:color-mix(in lab,red,red)){.border-slate-700\\/80{border-color:color-mix(in oklab,var(--color-slate-700) 80%,transparent)}}.border-slate-800{border-color:var(--color-slate-800)}.border-slate-800\\/80{border-color:#1d293dcc}@supports (color:color-mix(in lab,red,red)){.border-slate-800\\/80{border-color:color-mix(in oklab,var(--color-slate-800) 80%,transparent)}}.border-transparent{border-color:#0000}.bg-amber-400{background-color:var(--color-amber-400)}.bg-amber-500\\/10{background-color:#f99c001a}@supports (color:color-mix(in lab,red,red)){.bg-amber-500\\/10{background-color:color-mix(in oklab,var(--color-amber-500) 10%,transparent)}}.bg-amber-500\\/20{background-color:#f99c0033}@supports (color:color-mix(in lab,red,red)){.bg-amber-500\\/20{background-color:color-mix(in oklab,var(--color-amber-500) 20%,transparent)}}.bg-amber-950\\/40{background-color:#46190166}@supports (color:color-mix(in lab,red,red)){.bg-amber-950\\/40{background-color:color-mix(in oklab,var(--color-amber-950) 40%,transparent)}}.bg-amber-950\\/60{background-color:#46190199}@supports (color:color-mix(in lab,red,red)){.bg-amber-950\\/60{background-color:color-mix(in oklab,var(--color-amber-950) 60%,transparent)}}.bg-amber-950\\/80{background-color:#461901cc}@supports (color:color-mix(in lab,red,red)){.bg-amber-950\\/80{background-color:color-mix(in oklab,var(--color-amber-950) 80%,transparent)}}.bg-black\\/70{background-color:#000000b3}@supports (color:color-mix(in lab,red,red)){.bg-black\\/70{background-color:color-mix(in oklab,var(--color-black) 70%,transparent)}}.bg-cyan-500{background-color:var(--color-cyan-500)}.bg-cyan-500\\/10{background-color:#00b7d71a}@supports (color:color-mix(in lab,red,red)){.bg-cyan-500\\/10{background-color:color-mix(in oklab,var(--color-cyan-500) 10%,transparent)}}.bg-cyan-600{background-color:var(--color-cyan-600)}.bg-cyan-950{background-color:var(--color-cyan-950)}.bg-cyan-950\\/60{background-color:#05334599}@supports (color:color-mix(in lab,red,red)){.bg-cyan-950\\/60{background-color:color-mix(in oklab,var(--color-cyan-950) 60%,transparent)}}.bg-emerald-400{background-color:var(--color-emerald-400)}.bg-emerald-500\\/10{background-color:#00bb7f1a}@supports (color:color-mix(in lab,red,red)){.bg-emerald-500\\/10{background-color:color-mix(in oklab,var(--color-emerald-500) 10%,transparent)}}.bg-emerald-600{background-color:var(--color-emerald-600)}.bg-emerald-950\\/30{background-color:#002c224d}@supports (color:color-mix(in lab,red,red)){.bg-emerald-950\\/30{background-color:color-mix(in oklab,var(--color-emerald-950) 30%,transparent)}}.bg-emerald-950\\/40{background-color:#002c2266}@supports (color:color-mix(in lab,red,red)){.bg-emerald-950\\/40{background-color:color-mix(in oklab,var(--color-emerald-950) 40%,transparent)}}.bg-emerald-950\\/60{background-color:#002c2299}@supports (color:color-mix(in lab,red,red)){.bg-emerald-950\\/60{background-color:color-mix(in oklab,var(--color-emerald-950) 60%,transparent)}}.bg-indigo-500\\/10{background-color:#625fff1a}@supports (color:color-mix(in lab,red,red)){.bg-indigo-500\\/10{background-color:color-mix(in oklab,var(--color-indigo-500) 10%,transparent)}}.bg-rose-400{background-color:var(--color-rose-400)}.bg-rose-500{background-color:var(--color-rose-500)}.bg-rose-950\\/30{background-color:#4d02184d}@supports (color:color-mix(in lab,red,red)){.bg-rose-950\\/30{background-color:color-mix(in oklab,var(--color-rose-950) 30%,transparent)}}.bg-rose-950\\/40{background-color:#4d021866}@supports (color:color-mix(in lab,red,red)){.bg-rose-950\\/40{background-color:color-mix(in oklab,var(--color-rose-950) 40%,transparent)}}.bg-rose-950\\/60{background-color:#4d021899}@supports (color:color-mix(in lab,red,red)){.bg-rose-950\\/60{background-color:color-mix(in oklab,var(--color-rose-950) 60%,transparent)}}.bg-slate-800{background-color:var(--color-slate-800)}.bg-slate-900{background-color:var(--color-slate-900)}.bg-slate-900\\/60{background-color:#0f172b99}@supports (color:color-mix(in lab,red,red)){.bg-slate-900\\/60{background-color:color-mix(in oklab,var(--color-slate-900) 60%,transparent)}}.bg-slate-900\\/80{background-color:#0f172bcc}@supports (color:color-mix(in lab,red,red)){.bg-slate-900\\/80{background-color:color-mix(in oklab,var(--color-slate-900) 80%,transparent)}}.bg-slate-900\\/90{background-color:#0f172be6}@supports (color:color-mix(in lab,red,red)){.bg-slate-900\\/90{background-color:color-mix(in oklab,var(--color-slate-900) 90%,transparent)}}.bg-slate-950{background-color:var(--color-slate-950)}.bg-slate-950\\/40{background-color:#02061866}@supports (color:color-mix(in lab,red,red)){.bg-slate-950\\/40{background-color:color-mix(in oklab,var(--color-slate-950) 40%,transparent)}}.bg-transparent{background-color:#0000}.bg-gradient-to-r{--tw-gradient-position:to right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.bg-gradient-to-tr{--tw-gradient-position:to top right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-cyan-600{--tw-gradient-from:var(--color-cyan-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-emerald-500{--tw-gradient-from:var(--color-emerald-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-indigo-600{--tw-gradient-to:var(--color-indigo-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-teal-400{--tw-gradient-to:var(--color-teal-400);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.p-0\\.5{padding:calc(var(--spacing) * .5)}.p-1\\.5{padding:calc(var(--spacing) * 1.5)}.p-2{padding:calc(var(--spacing) * 2)}.p-2\\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.p-6{padding:calc(var(--spacing) * 6)}.p-8{padding:calc(var(--spacing) * 8)}.px-1\\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-3\\.5{padding-inline:calc(var(--spacing) * 3.5)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.py-0\\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-3\\.5{padding-block:calc(var(--spacing) * 3.5)}.py-8{padding-block:calc(var(--spacing) * 8)}.py-12{padding-block:calc(var(--spacing) * 12)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pb-2{padding-bottom:calc(var(--spacing) * 2)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-6{padding-bottom:calc(var(--spacing) * 6)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\\[9px\\]{font-size:9px}.text-\\[10px\\]{font-size:10px}.text-\\[11px\\]{font-size:11px}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.font-black{--tw-font-weight:var(--font-weight-black);font-weight:var(--font-weight-black)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.break-all{word-break:break-all}.text-amber-200\\/80{color:#fee685cc}@supports (color:color-mix(in lab,red,red)){.text-amber-200\\/80{color:color-mix(in oklab,var(--color-amber-200) 80%,transparent)}}.text-amber-300{color:var(--color-amber-300)}.text-amber-400{color:var(--color-amber-400)}.text-cyan-300{color:var(--color-cyan-300)}.text-cyan-400{color:var(--color-cyan-400)}.text-cyan-400\\/90{color:#00d2efe6}@supports (color:color-mix(in lab,red,red)){.text-cyan-400\\/90{color:color-mix(in oklab,var(--color-cyan-400) 90%,transparent)}}.text-emerald-300{color:var(--color-emerald-300)}.text-emerald-400{color:var(--color-emerald-400)}.text-indigo-300{color:var(--color-indigo-300)}.text-indigo-400{color:var(--color-indigo-400)}.text-rose-300{color:var(--color-rose-300)}.text-rose-400{color:var(--color-rose-400)}.text-slate-100{color:var(--color-slate-100)}.text-slate-200{color:var(--color-slate-200)}.text-slate-300{color:var(--color-slate-300)}.text-slate-400{color:var(--color-slate-400)}.text-slate-500{color:var(--color-slate-500)}.text-slate-600{color:var(--color-slate-600)}.text-slate-950{color:var(--color-slate-950)}.text-white{color:var(--color-white)}.capitalize{text-transform:capitalize}.uppercase{text-transform:uppercase}.underline{text-decoration-line:underline}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.placeholder-slate-500::-moz-placeholder{color:var(--color-slate-500)}.placeholder-slate-500::placeholder{color:var(--color-slate-500)}.placeholder-slate-600::-moz-placeholder{color:var(--color-slate-600)}.placeholder-slate-600::placeholder{color:var(--color-slate-600)}.opacity-30{opacity:.3}.shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-inner{--tw-shadow:inset 0 2px 4px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a), 0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-cyan-600\\/30{--tw-shadow-color:#0092b54d}@supports (color:color-mix(in lab,red,red)){.shadow-cyan-600\\/30{--tw-shadow-color:color-mix(in oklab, color-mix(in oklab, var(--color-cyan-600) 30%, transparent) var(--tw-shadow-alpha), transparent)}}.shadow-emerald-500\\/20{--tw-shadow-color:#00bb7f33}@supports (color:color-mix(in lab,red,red)){.shadow-emerald-500\\/20{--tw-shadow-color:color-mix(in oklab, color-mix(in oklab, var(--color-emerald-500) 20%, transparent) var(--tw-shadow-alpha), transparent)}}.shadow-emerald-600\\/30{--tw-shadow-color:#0097674d}@supports (color:color-mix(in lab,red,red)){.shadow-emerald-600\\/30{--tw-shadow-color:color-mix(in oklab, color-mix(in oklab, var(--color-emerald-600) 30%, transparent) var(--tw-shadow-alpha), transparent)}}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.select-all{-webkit-user-select:all;-moz-user-select:all;user-select:all}@media(hover:hover){.group-hover\\:scale-110:is(:where(.group):hover *){--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x) var(--tw-scale-y)}.group-hover\\:text-cyan-400:is(:where(.group):hover *){color:var(--color-cyan-400)}}.focus-within\\:border-cyan-500:focus-within{border-color:var(--color-cyan-500)}.focus-within\\:border-indigo-500:focus-within{border-color:var(--color-indigo-500)}@media(hover:hover){.hover\\:border-amber-500\\/30:hover{border-color:#f99c004d}@supports (color:color-mix(in lab,red,red)){.hover\\:border-amber-500\\/30:hover{border-color:color-mix(in oklab,var(--color-amber-500) 30%,transparent)}}.hover\\:border-cyan-500\\/30:hover{border-color:#00b7d74d}@supports (color:color-mix(in lab,red,red)){.hover\\:border-cyan-500\\/30:hover{border-color:color-mix(in oklab,var(--color-cyan-500) 30%,transparent)}}.hover\\:border-emerald-500\\/30:hover{border-color:#00bb7f4d}@supports (color:color-mix(in lab,red,red)){.hover\\:border-emerald-500\\/30:hover{border-color:color-mix(in oklab,var(--color-emerald-500) 30%,transparent)}}.hover\\:border-indigo-500\\/30:hover{border-color:#625fff4d}@supports (color:color-mix(in lab,red,red)){.hover\\:border-indigo-500\\/30:hover{border-color:color-mix(in oklab,var(--color-indigo-500) 30%,transparent)}}.hover\\:bg-cyan-500:hover{background-color:var(--color-cyan-500)}.hover\\:bg-emerald-500:hover{background-color:var(--color-emerald-500)}.hover\\:bg-slate-700:hover{background-color:var(--color-slate-700)}.hover\\:bg-slate-800:hover{background-color:var(--color-slate-800)}.hover\\:bg-slate-800\\/30:hover{background-color:#1d293d4d}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-slate-800\\/30:hover{background-color:color-mix(in oklab,var(--color-slate-800) 30%,transparent)}}.hover\\:from-cyan-500:hover{--tw-gradient-from:var(--color-cyan-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.hover\\:to-indigo-500:hover{--tw-gradient-to:var(--color-indigo-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.hover\\:text-amber-300:hover{color:var(--color-amber-300)}.hover\\:text-amber-400:hover{color:var(--color-amber-400)}.hover\\:text-cyan-300:hover{color:var(--color-cyan-300)}.hover\\:text-cyan-400:hover{color:var(--color-cyan-400)}.hover\\:text-emerald-400:hover{color:var(--color-emerald-400)}.hover\\:text-rose-100:hover{color:var(--color-rose-100)}.hover\\:text-rose-400:hover{color:var(--color-rose-400)}.hover\\:text-slate-200:hover{color:var(--color-slate-200)}.hover\\:text-slate-300:hover{color:var(--color-slate-300)}.hover\\:text-white:hover{color:var(--color-white)}}.focus\\:border-cyan-500:focus{border-color:var(--color-cyan-500)}.focus\\:outline-none:focus{--tw-outline-style:none;outline-style:none}.active\\:scale-95:active{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:opacity-40:disabled{opacity:.4}.disabled\\:opacity-50:disabled{opacity:.5}@media(min-width:40rem){.sm\\:w-auto{width:auto}.sm\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.sm\\:flex-row{flex-direction:row}.sm\\:p-6{padding:calc(var(--spacing) * 6)}.sm\\:text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.sm\\:text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.sm\\:text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}}@media(min-width:48rem){.md\\:col-span-2{grid-column:span 2/span 2}.md\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\\:flex-row{flex-direction:row}.md\\:items-center{align-items:center}}@media(min-width:64rem){.lg\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\\:p-8{padding:calc(var(--spacing) * 8)}}}:host{color:#f1f5f9;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;display:block}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:#0f172a99}::-webkit-scrollbar-thumb{background:#334155cc;border-radius:9999px}::-webkit-scrollbar-thumb:hover{background:#64748b}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}']]]),Dn=pa(zn);function Bo(e="tollgate-console"){typeof window<"u"&&!customElements.get(e)&&customElements.define(e,Dn)}typeof window<"u"&&Bo(),xe.TollgateApiClient=Ho,xe.TollgateConsoleElement=Dn,xe.TollgateConsoleSFC=zn,xe.default=Bo,xe.registerTollgateUI=Bo,Object.defineProperties(xe,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
171
+ */const Jo=le("XIcon",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);class Xo{constructor(t){lo(this,"baseUrl");lo(this,"adminToken");lo(this,"tenantId");this.baseUrl=((t==null?void 0:t.baseUrl)||"").replace(/\/$/,""),this.adminToken=t==null?void 0:t.adminToken,this.tenantId=t==null?void 0:t.tenantId}getBaseUrl(){return this.baseUrl}setBaseUrl(t){this.baseUrl=(t||"").replace(/\/$/,"")}getAdminToken(){return this.adminToken}setAdminToken(t){this.adminToken=t}getTenantId(){return this.tenantId}setTenantId(t){this.tenantId=t}async checkHealth(){return this.request("/livez")}async checkAdminAuth(t){try{return await this.fetchKeys(t),!0}catch{return!1}}async request(t,r={}){const o=`${this.baseUrl}${t}`,s={"Content-Type":"application/json",...r.headers||{}};this.adminToken&&(s.Authorization=`Bearer ${this.adminToken}`,s["X-Admin-Secret"]=this.adminToken);const n=r.tenantId||this.tenantId;n&&(s["X-Tenant-ID"]=n);const l=await fetch(o,{...r,headers:s});if(!l.ok){let a=`HTTP Error: ${l.status} ${l.statusText}`;try{const d=await l.json();if(d.errors&&Array.isArray(d.errors)&&d.errors.length>0){const g=d.errors.map(h=>h.message?`${h.location?h.location+": ":""}${h.message}`:JSON.stringify(h)).join(", ");a=`${d.detail||"Validation failed"}: ${g}`}else a=d.message||d.error||d.detail||a}catch{}throw new Error(a)}return l.status===204?{}:await l.json()}async fetchKeys(t){let r,o,s,n;typeof t=="string"?r=t:t&&(r=t.tenantId,o=t.serviceId,s=t.limit,n=t.cursor);const l=new URLSearchParams;r&&l.set("tenant_id",r),o&&l.set("service_id",o),s&&l.set("limit",String(s)),n&&l.set("cursor",n);const a=l.toString()?`?${l.toString()}`:"",d=await this.request(`/v1/admin/keys${a}`,{tenantId:r});return Array.isArray(d)?{keys:d}:{keys:d.keys||[],nextCursor:d.next_cursor}}async fetchStats(t,r){const o=new URLSearchParams;t&&o.set("tenant_id",t),r&&o.set("service_id",r);const s=o.toString()?`?${o.toString()}`:"";return this.request(`/v1/admin/stats${s}`,{tenantId:t})}async fetchAvailableScopes(){try{const t=await this.request("/v1/admin/scopes");return Array.isArray(t)?t:t.scopes||[]}catch{return[]}}async fetchAllKeys(t){if(!t||t.length===0)return(await this.fetchKeys()).keys;const r=await Promise.allSettled(t.map(n=>this.fetchKeys(n))),o=[],s=new Set;for(const n of r)if(n.status==="fulfilled"&&n.value&&Array.isArray(n.value.keys))for(const l of n.value.keys)s.has(l.key_id)||(s.add(l.key_id),o.push(l));return o}async createKey(t){var s,n;const r={...t};(s=r.tenant_id)!=null&&s.trim()||delete r.tenant_id,(n=r.service_id)!=null&&n.trim()||(r.service_id=r.tenant_id||"default");const o=await this.request("/v1/admin/keys",{method:"POST",body:JSON.stringify(r),tenantId:t.tenant_id});return{...o,raw_key:o.raw_key,key:o.key||o}}async updateKey(t,r,o){return this.request(`/v1/admin/keys/${t}`,{method:"PATCH",body:JSON.stringify(r),tenantId:o})}async suspendKey(t,r){await this.request(`/v1/admin/keys/${t}/suspend`,{method:"POST",tenantId:r})}async resumeKey(t,r){await this.request(`/v1/admin/keys/${t}/resume`,{method:"POST",tenantId:r})}async rotateKey(t,r=24,o){return this.request(`/v1/admin/keys/${t}/rotate`,{method:"POST",body:JSON.stringify({grace_period_hours:r}),tenantId:o})}async deleteKey(t,r){await this.request(`/v1/admin/keys/${t}`,{method:"DELETE",tenantId:r})}async verifyKey(t,r){return this.request("/v1/admin/verify",{method:"POST",body:JSON.stringify({raw_key:t,required_scope:r})})}}const mt={};function ro(){var e;if(!(typeof{url:typeof document>"u"&&typeof location>"u"?require("url").pathToFileURL(__filename).href:typeof document>"u"?location.href:de&&de.tagName.toUpperCase()==="SCRIPT"&&de.src||new URL("tollgate-ui.umd.cjs",document.baseURI).href}<"u"&&(mt!=null&&mt.VITE_TOLLGATE_API_BASE_URL)))return typeof window<"u"&&((e=window.__TOLLGATE_CONFIG__)!=null&&e.apiBaseUrl)?window.__TOLLGATE_CONFIG__.apiBaseUrl:""}function oo(){var e;if(!(typeof{url:typeof document>"u"&&typeof location>"u"?require("url").pathToFileURL(__filename).href:typeof document>"u"?location.href:de&&de.tagName.toUpperCase()==="SCRIPT"&&de.src||new URL("tollgate-ui.umd.cjs",document.baseURI).href}<"u"&&(mt!=null&&mt.VITE_TOLLGATE_ADMIN_TOKEN)))return typeof window<"u"&&((e=window.__TOLLGATE_CONFIG__)!=null&&e.adminToken)?window.__TOLLGATE_CONFIG__.adminToken:""}function Ya(){var e;if(!(typeof{url:typeof document>"u"&&typeof location>"u"?require("url").pathToFileURL(__filename).href:typeof document>"u"?location.href:de&&de.tagName.toUpperCase()==="SCRIPT"&&de.src||new URL("tollgate-ui.umd.cjs",document.baseURI).href}<"u"&&(mt!=null&&mt.VITE_TOLLGATE_TENANTS)))return typeof window<"u"&&((e=window.__TOLLGATE_CONFIG__)!=null&&e.tenantsJson)?window.__TOLLGATE_CONFIG__.tenantsJson:""}const Za={class:"tollgate-root min-h-[600px] w-full bg-slate-950 text-slate-100 p-4 sm:p-6 lg:p-8 font-sans antialiased space-y-8 rounded-2xl border border-slate-800/80 shadow-2xl"},Qa={key:0,class:"flex flex-col md:flex-row md:items-center justify-between gap-4 pb-6 border-b border-slate-800"},ec={class:"flex items-center gap-3"},tc={class:"w-12 h-12 rounded-2xl bg-cyan-500/10 border border-cyan-500/20 flex items-center justify-center text-cyan-400 shadow-inner"},rc={class:"flex items-center gap-2"},oc={class:"text-xl sm:text-2xl font-black tracking-tight text-white"},sc={class:"flex flex-wrap items-center gap-3"},nc={class:"text-slate-400 font-mono text-[11px]"},lc={key:0,class:"px-1.5 py-0.5 text-[9px] font-bold rounded bg-amber-500/20 text-amber-300 border border-amber-500/30"},ic=["disabled"],ac={key:1,class:"p-4 bg-rose-950/40 border border-rose-800/80 rounded-2xl flex items-center gap-3 text-rose-300 text-xs sm:text-sm"},cc={class:"flex-1"},dc={class:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4"},uc={class:"bg-slate-900/80 p-5 rounded-2xl border border-slate-800 shadow-lg relative overflow-hidden group hover:border-cyan-500/30 transition-all"},fc={class:"flex items-center justify-between"},pc={class:"p-2 rounded-xl bg-cyan-500/10 text-cyan-400 border border-cyan-500/20"},hc={class:"mt-3 flex items-baseline gap-2"},gc={class:"text-2xl sm:text-3xl font-black text-white"},bc={class:"bg-slate-900/80 p-5 rounded-2xl border border-slate-800 shadow-lg relative overflow-hidden group hover:border-emerald-500/30 transition-all"},mc={class:"flex items-center justify-between"},xc={class:"p-2 rounded-xl bg-emerald-500/10 text-emerald-400 border border-emerald-500/20"},vc={class:"mt-3 flex items-baseline gap-2"},yc={class:"text-2xl sm:text-3xl font-black text-emerald-400"},wc={class:"bg-slate-900/80 p-5 rounded-2xl border border-slate-800 shadow-lg relative overflow-hidden group hover:border-indigo-500/30 transition-all"},_c={class:"flex items-center justify-between"},kc={class:"p-2 rounded-xl bg-indigo-500/10 text-indigo-400 border border-indigo-500/20"},Sc={class:"mt-3 flex items-baseline gap-2"},Cc={class:"text-2xl sm:text-3xl font-black text-indigo-400"},Tc={class:"bg-slate-900/80 p-5 rounded-2xl border border-slate-800 shadow-lg relative overflow-hidden group hover:border-amber-500/30 transition-all"},Ac={class:"flex items-center justify-between"},Ic={class:"p-2 rounded-xl bg-amber-500/10 text-amber-400 border border-amber-500/20"},Pc={class:"mt-3 flex items-baseline gap-2"},Mc={class:"text-2xl sm:text-3xl font-black text-amber-400"},Ec={class:"flex items-center gap-2 border-b border-slate-800"},Rc={class:"px-2 py-0.5 rounded-full text-[10px] bg-slate-800 text-slate-300 font-medium"},Oc={key:2,class:"space-y-6"},jc={class:"flex flex-col sm:flex-row items-center justify-between gap-4"},Nc={class:"flex flex-wrap items-center gap-3 w-full sm:w-auto flex-1"},Uc={class:"flex items-center gap-2 bg-slate-900 px-3 py-2 rounded-xl border border-slate-700 shrink-0 focus-within:border-indigo-500 transition-colors"},$c={id:"filter-service-options"},Kc=["value"],Lc={class:"flex items-center gap-2 bg-slate-900 px-3 py-2 rounded-xl border border-slate-700 shrink-0 focus-within:border-cyan-500 transition-colors"},Fc={id:"filter-tenant-options"},Vc=["value"],Dc={key:0,class:"flex items-center gap-2"},zc={class:"flex items-center gap-2"},Hc={class:"bg-slate-900/60 rounded-2xl border border-slate-800 shadow-xl overflow-hidden"},Bc={class:"p-4 border-b border-slate-800 flex items-center justify-between"},qc={class:"flex items-center gap-2"},Wc={class:"flex items-center gap-2 text-xs text-slate-400"},Gc={key:0,class:"px-2 py-0.5 rounded bg-cyan-950/60 text-cyan-300 border border-cyan-800/50 text-[10px] font-medium"},Jc={class:"font-medium"},Xc={class:"overflow-x-auto"},Yc={class:"w-full text-left border-collapse text-xs sm:text-sm"},Zc={class:"divide-y divide-slate-800/60 text-slate-200"},Qc={class:"py-3 px-4"},ed={class:"font-bold text-white flex items-center gap-2"},td={key:0,class:"text-[10px] px-1.5 py-0.5 rounded bg-amber-950/80 text-amber-300 border border-amber-800"},rd={class:"text-[11px] font-mono text-cyan-400/90 mt-0.5"},od={class:"py-3 px-4"},sd={class:"font-medium text-indigo-300 font-mono text-xs flex items-center gap-1"},nd={class:"text-[11px] text-slate-400 mt-0.5 flex items-center gap-1"},ld={class:"py-3 px-4"},id={class:"py-3 px-4 font-mono text-slate-300"},ad={class:"py-3 px-4"},cd={class:"text-xs font-mono font-bold text-slate-200"},dd={class:"text-slate-500 font-normal"},ud={key:0,class:"w-24 bg-slate-800 rounded-full h-1.5 mt-1.5 overflow-hidden"},fd={class:"py-3 px-4"},pd={class:"flex flex-wrap gap-1 max-w-[180px]"},hd={class:"py-3 px-4 text-right space-x-1"},gd=["onClick"],bd=["onClick"],md=["onClick"],xd=["onClick"],vd=["onClick"],yd={key:0},wd={colspan:"7",class:"py-12 text-center text-slate-500"},_d={class:"px-5 py-3.5 bg-slate-900/90 border-t border-slate-800 flex flex-col sm:flex-row items-center justify-between gap-3 text-xs text-slate-400"},kd={class:"flex items-center gap-3"},Sd={class:"text-white font-mono"},Cd={class:"flex items-center gap-1.5"},Td={class:"flex items-center gap-2"},Ad=["disabled"],Id={key:0,class:"px-2 py-0.5 rounded bg-cyan-950 text-cyan-300 font-mono text-[11px] border border-cyan-800"},Pd=["disabled"],Md={class:"bg-slate-900/60 rounded-2xl border border-slate-800 p-5 shadow-xl space-y-4"},Ed={class:"flex items-center gap-2 pb-2 border-b border-slate-800"},Rd={class:"grid grid-cols-1 md:grid-cols-3 gap-4"},Od={class:"md:col-span-2 space-y-2"},jd={class:"space-y-2"},Nd={class:"flex gap-2"},Ud=["disabled"],$d={class:"flex items-center gap-2 font-bold mb-2"},Kd={key:0,class:"grid grid-cols-2 sm:grid-cols-4 gap-2 font-mono text-[11px] text-slate-300 mt-2"},Ld={key:1,class:"text-rose-400 font-mono text-[11px] mt-1"},Fd={key:3,class:"space-y-6"},Vd={class:"grid grid-cols-1 md:grid-cols-3 gap-6"},Dd={class:"bg-slate-900/60 rounded-2xl border border-slate-800 p-5 space-y-3"},zd={class:"flex items-center gap-2 text-cyan-400"},Hd={class:"bg-slate-900/60 rounded-2xl border border-slate-800 p-5 space-y-3"},Bd={class:"flex items-center gap-2 text-indigo-400"},qd={class:"bg-slate-900/60 rounded-2xl border border-slate-800 p-5 space-y-3"},Wd={class:"flex items-center gap-2 text-emerald-400"},Gd={class:"bg-slate-900/60 rounded-2xl border border-slate-800 shadow-xl overflow-hidden"},Jd={class:"p-4 border-b border-slate-800 flex items-center justify-between"},Xd={class:"flex items-center gap-2"},Yd={class:"text-xs text-slate-400 font-mono"},Zd={class:"overflow-x-auto"},Qd={class:"w-full text-left border-collapse text-xs sm:text-sm"},eu={class:"divide-y divide-slate-800/60 text-slate-200"},tu={class:"py-3 px-4 font-mono font-bold text-cyan-400"},ru={class:"px-2 py-0.5 rounded bg-cyan-950/80 border border-cyan-800/60 text-cyan-300"},ou={class:"py-3 px-4 font-mono text-slate-300"},su={key:0},nu={key:1,class:"text-slate-500"},lu={class:"py-3 px-4 font-mono"},iu={key:1,class:"text-slate-500 font-mono text-xs"},au={class:"py-3 px-4 text-slate-300 text-xs"},cu={class:"py-3 px-4"},du={key:0},uu={key:4,class:"fixed inset-0 z-50 bg-black/70 backdrop-blur-sm flex items-center justify-center p-4"},fu={class:"bg-slate-900 border border-slate-800 rounded-3xl max-w-lg w-full p-6 space-y-5 shadow-2xl animate-in fade-in zoom-in-95"},pu={class:"flex items-center justify-between border-b border-slate-800 pb-3"},hu={class:"flex items-center gap-2"},gu={key:0,class:"p-3 bg-rose-950/60 border border-rose-800 rounded-xl text-xs text-rose-300"},bu={class:"space-y-4 text-xs"},mu={class:"grid grid-cols-2 gap-3"},xu={id:"modal-service-options"},vu=["value"],yu={id:"modal-tenant-options"},wu=["value"],_u={class:"space-y-2"},ku={class:"min-h-[38px] p-2 bg-slate-950 border border-slate-700 rounded-xl flex flex-wrap items-center gap-1.5 focus-within:border-cyan-500"},Su=["onClick"],Cu={key:0,class:"text-slate-500 text-[11px] italic"},Tu={class:"flex items-center gap-2"},Au=["onKeydown"],Iu={key:0,class:"space-y-1 pt-1"},Pu={class:"flex flex-wrap gap-1.5 max-h-24 overflow-y-auto p-1.5 bg-slate-950/40 rounded-xl border border-slate-800"},Mu=["onClick","title"],Eu={key:0,class:"text-[9px] opacity-70"},Ru={class:"grid grid-cols-2 gap-3"},Ou={class:"flex items-center justify-end gap-3 pt-3 border-t border-slate-800"},ju={key:5,class:"fixed inset-0 z-50 bg-black/70 backdrop-blur-sm flex items-center justify-center p-4"},Nu={class:"bg-slate-900 border border-emerald-800/60 rounded-3xl max-w-lg w-full p-6 space-y-5 shadow-2xl animate-in fade-in zoom-in-95"},Uu={class:"flex items-center gap-3"},$u={class:"p-2.5 rounded-2xl bg-emerald-500/10 border border-emerald-500/20 text-emerald-400"},Ku={class:"text-xs text-slate-400"},Lu={class:"p-4 bg-amber-950/40 border border-amber-800/60 rounded-2xl space-y-2"},Fu={class:"flex items-center gap-2 text-amber-400 text-xs font-bold"},Vu={class:"space-y-1.5"},Du={class:"flex items-center gap-2 bg-slate-950 border border-slate-700/80 rounded-xl p-2.5"},zu={class:"flex-1 font-mono text-xs text-emerald-300 select-all break-all"},Hu={class:"flex justify-end pt-2"},Bu={key:6,class:"fixed inset-0 z-50 bg-black/70 backdrop-blur-sm flex items-center justify-center p-4"},qu={class:"bg-slate-900 border border-slate-800 rounded-3xl max-w-lg w-full p-6 space-y-5 shadow-2xl"},Wu={class:"flex items-center justify-between border-b border-slate-800 pb-3"},Gu={class:"space-y-4 text-xs"},Ju={class:"space-y-2"},Xu={class:"min-h-[38px] p-2 bg-slate-950 border border-slate-700 rounded-xl flex flex-wrap items-center gap-1.5 focus-within:border-cyan-500"},Yu=["onClick"],Zu={key:0,class:"text-slate-500 text-[11px] italic"},Qu={class:"flex items-center gap-2"},ef=["onKeydown"],tf={key:0,class:"space-y-1 pt-1"},rf={class:"flex flex-wrap gap-1.5 max-h-24 overflow-y-auto p-1.5 bg-slate-950/40 rounded-xl border border-slate-800"},of=["onClick","title"],sf={key:0,class:"text-[9px] opacity-70"},nf={class:"flex items-center justify-end gap-3 pt-3 border-t border-slate-800"},lf={key:7,class:"fixed inset-0 z-50 bg-black/70 backdrop-blur-sm flex items-center justify-center p-4"},af={class:"bg-slate-900 border border-slate-800 rounded-3xl max-w-lg w-full p-6 space-y-5 shadow-2xl"},cf={class:"flex items-center justify-between border-b border-slate-800 pb-3"},df={class:"flex items-center gap-2.5"},uf={class:"p-2 rounded-xl bg-cyan-500/10 text-cyan-400 border border-cyan-500/20"},ff={class:"space-y-4 text-xs"},pf={class:"flex items-center justify-between mb-1"},hf={class:"text-[10px] text-slate-500 font-mono"},gf={class:"relative"},bf={class:"flex items-center justify-between mb-1"},mf={class:"text-[10px] text-slate-500 font-mono"},xf={class:"text-[11px] leading-relaxed"},vf={class:"flex items-center justify-between pt-3 border-t border-slate-800"},yf={class:"flex items-center gap-2"},wf=["disabled"],_f={class:"flex items-center gap-2"},Yn=((e,t)=>{const r=e.__vccOpts||e;for(const[o,s]of t)r[o]=s;return r})(Fs({__name:"TollgateConsole.ce",props:{apiBaseUrl:{default:"",type:String},adminToken:{default:"",type:String},tenantId:{default:"",type:String},tenantsJson:{type:[String,Array]},embedded:{type:Boolean,default:!1},title:{default:"API Key Gateway (Tollgate) 管理コンソール",type:String}},setup(e){const t=e,r=lt(()=>ro()),o=lt(()=>oo()),s=()=>{if(typeof window<"u"){const x=localStorage.getItem("tollgate_ui_api_base_url");if(x!==null&&x!=="")return x}return t.apiBaseUrl||ro()},n=()=>{if(typeof window<"u"){const x=localStorage.getItem("tollgate_ui_admin_token");if(x!==null&&x!=="")return x}return t.adminToken||oo()},l=D(s()),a=D(n()),d=lt(()=>typeof window>"u"?!1:localStorage.getItem("tollgate_ui_api_base_url")!==null||localStorage.getItem("tollgate_ui_admin_token")!==null),g=new Xo({baseUrl:l.value,adminToken:a.value,tenantId:t.tenantId});Kt(()=>t.apiBaseUrl,x=>{typeof window<"u"&&localStorage.getItem("tollgate_ui_api_base_url")===null&&(l.value=x||ro(),g.setBaseUrl(l.value))}),Kt(()=>t.adminToken,x=>{typeof window<"u"&&localStorage.getItem("tollgate_ui_admin_token")===null&&(a.value=x||oo(),g.setAdminToken(a.value))}),Kt(()=>t.tenantId,x=>g.setTenantId(x));const h=D(!1),m=D({apiBaseUrl:"",adminToken:""}),A=D(!1),P=D(null);function X(){m.value={apiBaseUrl:l.value,adminToken:a.value},P.value=null,h.value=!0}async function F(){var c;A.value=!0,P.value=null;const x=new Xo({baseUrl:m.value.apiBaseUrl,adminToken:m.value.adminToken,tenantId:t.tenantId});try{const p=await x.checkHealth();let _e=`接続成功: ${p.service||"Tollgate"} (${p.status})`;if(m.value.adminToken)try{await x.fetchKeys(t.tenantId||((c=G.value[0])==null?void 0:c.id)),_e+=" — 管理者認証 OK"}catch(Je){_e+=` — 警告: 管理者認証エラー (${Je.message})`}P.value={ok:!0,message:_e,service:p.service}}catch(p){P.value={ok:!1,message:`接続失敗: ${p.message}`}}finally{A.value=!1}}function ce(){l.value=m.value.apiBaseUrl.trim(),a.value=m.value.adminToken.trim(),typeof window<"u"&&(localStorage.setItem("tollgate_ui_api_base_url",l.value),localStorage.setItem("tollgate_ui_admin_token",a.value)),g.setBaseUrl(l.value),g.setAdminToken(a.value),h.value=!1,Rt()}function ie(){typeof window<"u"&&(localStorage.removeItem("tollgate_ui_api_base_url"),localStorage.removeItem("tollgate_ui_admin_token")),l.value=t.apiBaseUrl||ro(),a.value=t.adminToken||oo(),g.setBaseUrl(l.value),g.setAdminToken(a.value),h.value=!1,Rt()}const B=lt(()=>{if(Array.isArray(t.tenantsJson)&&t.tenantsJson.length>0)return t.tenantsJson;const x=typeof t.tenantsJson=="string"&&t.tenantsJson.trim()?t.tenantsJson:Ya();if(x&&x.trim())try{const c=JSON.parse(x);if(Array.isArray(c))return c}catch{return[]}return[]}),G=lt(()=>{const x=new Map;for(const c of B.value)x.set(c.id,c.name);for(const c of M.value)c.tenant_id&&!x.has(c.tenant_id)&&x.set(c.tenant_id,c.tenant_id);return Array.from(x.entries()).map(([c,p])=>({id:c,name:p}))}),M=D([]),te=D(!1),Pe=D(null),we=D("keys"),ge=D(""),Oe=D(""),it=D([]),At=D([]),at=D(!1),xt=D(!1),vt=D(!1),ct=D(null),z=D({name:"",scopes:[],rate_limit_rpm:600,monthly_quota:0}),re=D(""),Y=D(""),De=D(!1),Ke=D([]),je=D(""),be=D(""),ee=D({name:"",tenant_id:"",service_id:"",scopes:[],rate_limit_rpm:600,monthly_quota:1e5,expires_in:2592e3}),It=D(null),Ht=D(""),yt=D("ai:*"),pe=D(null),Pt=D(!1),Zt=lt(()=>{const x=new Map;for(const c of G.value)x.set(c.id,c.name);for(const c of At.value)x.has(c)||x.set(c,c);return Array.from(x.entries()).map(([c,p])=>({id:c,name:p}))}),Mt=lt(()=>{const x=new Set(it.value);for(const c of M.value)c.service_id&&x.add(c.service_id);return Array.from(x).sort()}),xr=lt(()=>M.value),u=D({total_keys:0,active_keys:0,total_monthly_usage:0,rotating_keys:0,services:[],tenants:[]});async function f(){try{const x=await g.fetchStats();u.value=x,x.services&&x.services.length>0&&(it.value=x.services),x.tenants&&x.tenants.length>0&&(At.value=x.tenants)}catch(x){console.warn("Failed to load global stats:",x)}}async function b(){try{const x=await g.fetchAvailableScopes();Ke.value=x||[]}catch(x){console.warn("Failed to load available scopes:",x)}}function _(x){const c=x.trim();c&&!ee.value.scopes.includes(c)&&ee.value.scopes.push(c)}function v(x){ee.value.scopes=ee.value.scopes.filter(c=>c!==x)}function w(x){ee.value.scopes.includes(x)?v(x):_(x)}function C(){je.value.trim()&&(_(je.value.trim()),je.value="")}function S(x){const c=x.trim();c&&!z.value.scopes.includes(c)&&z.value.scopes.push(c)}function k(x){z.value.scopes=z.value.scopes.filter(c=>c!==x)}function y(x){z.value.scopes.includes(x)?k(x):S(x)}function N(){be.value.trim()&&(S(be.value.trim()),be.value="")}Kt([ge,Oe],()=>{Et()});const T=lt(()=>{var p;const x=!!ee.value.name.trim(),c=!!((p=ee.value.service_id)!=null&&p.trim());return x&&c});function O(x){if(!x)return"サービス専用 (テナントなし)";const c=Zt.value.find(p=>p.id===x);return c?c.name:x}const $=D(50),V=D(void 0),q=D(void 0),H=D([]);async function se(x){te.value=!0,Pe.value=null;try{const c=ge.value.trim(),p=c&&c!=="all"?c:t.tenantId||void 0,_e=Oe.value.trim(),Je=_e&&_e!=="all"?_e:void 0,Qn=await g.fetchKeys({tenantId:p,serviceId:Je,limit:$.value,cursor:x});M.value=Qn.keys,q.value=Qn.nextCursor,V.value=x}catch(c){console.error("Failed to load Tollgate keys:",c),Pe.value=c.message||"APIキー一覧の取得に失敗しました"}finally{te.value=!1}}function he(){q.value&&(H.value.push(V.value||""),se(q.value))}function ze(){if(H.value.length===0)return;const x=H.value.pop();se(x||void 0)}function He(){Et()}function Et(){H.value=[],V.value=void 0,q.value=void 0,se()}async function Rt(){await Promise.all([f(),se(),b()])}Bs(()=>{t.tenantId&&(ee.value.tenant_id=t.tenantId),f(),se(),b()});function Me(){It.value=null,je.value="",t.tenantId&&(ee.value.tenant_id=t.tenantId),at.value=!0}async function Be(){var x,c;if(It.value=null,!T.value){It.value="キー名称とサービス識別子 (service_id) を入力してください。";return}try{const p=await g.createKey(ee.value);re.value=p.raw_key,Y.value=((x=p.key)==null?void 0:x.name)||p.name||ee.value.name,at.value=!1,xt.value=!0,p.key?M.value.unshift(p.key):await se(),f(),b(),ee.value={name:"",tenant_id:((c=G.value[0])==null?void 0:c.id)||"",service_id:"",scopes:[],rate_limit_rpm:600,monthly_quota:1e5,expires_in:2592e3}}catch(p){console.error("Create key failed:",p),It.value=p.message||"APIキーの発行に失敗しました。"}}function so(x){ct.value=x,z.value={name:x.name,scopes:[...x.scopes||[]],rate_limit_rpm:x.rate_limit_rpm||600,monthly_quota:x.monthly_quota||0},be.value="",vt.value=!0}async function no(){if(ct.value)try{const x=await g.updateKey(ct.value.key_id,{name:z.value.name.trim(),scopes:z.value.scopes,rate_limit_rpm:Number(z.value.rate_limit_rpm),monthly_quota:Number(z.value.monthly_quota)},ct.value.tenant_id),c=M.value.findIndex(p=>{var _e;return p.key_id===((_e=ct.value)==null?void 0:_e.key_id)});c!==-1&&x&&(M.value[c]={...M.value[c],...x}),vt.value=!1,ct.value=null,f(),b()}catch(x){alert(x.message||"APIキーの更新に失敗しました")}}async function kf(x){if(confirm(`APIキー「${x.name}」を一時停止しますか?`))try{await g.suspendKey(x.key_id,x.tenant_id),x.status="suspended",x.is_active=!1,f()}catch(c){alert(c.message||"一時停止に失敗しました")}}async function Sf(x){try{await g.resumeKey(x.key_id,x.tenant_id),x.status="active",x.is_active=!0,f()}catch(c){alert(c.message||"再開に失敗しました")}}async function Cf(x){if(confirm(`APIキー「${x.name}」をローテーションしますか?
172
+ (旧キーは24時間の猶予期間後に無効化されます)`))try{const c=await g.rotateKey(x.key_id,24,x.tenant_id);re.value=c.new_raw_key,Y.value=`${x.name} (新ローテーションキー)`,x.status="rotating",xt.value=!0,f()}catch(c){alert(c.message||"ローテーションに失敗しました")}}async function Tf(x){if(confirm(`APIキー「${x.name}」を完全に削除しますか?
173
+ この操作は取り消せません。`))try{await g.deleteKey(x.key_id,x.tenant_id),M.value=M.value.filter(c=>c.key_id!==x.key_id),f()}catch(c){alert(c.message||"削除に失敗しました")}}async function Af(){if(Ht.value.trim()){Pt.value=!0,pe.value=null;try{pe.value=await g.verifyKey(Ht.value.trim(),yt.value)}catch(x){pe.value={valid:!1,reason:x.message}}finally{Pt.value=!1}}}function If(){navigator.clipboard.writeText(re.value),De.value=!0,setTimeout(()=>{De.value=!1},2e3)}return(x,c)=>(I(),E("div",Za,[e.embedded?Q("",!0):(I(),E("div",Qa,[i("div",ec,[i("div",tc,[j(K(Yt),{class:"w-6 h-6"})]),i("div",null,[i("div",rc,[i("h1",oc,R(e.title),1),c[29]||(c[29]=i("span",{class:"px-2.5 py-0.5 rounded-full text-[10px] font-bold bg-cyan-950 text-cyan-400 border border-cyan-800/60"}," Active Gateway ",-1))]),c[30]||(c[30]=i("p",{class:"text-xs sm:text-sm text-slate-400 mt-1"}," マルチテナント API キー発行・クォータ上限・レートリミット (RPM)・Graceful ローテーション統制 ",-1))])]),i("div",sc,[i("button",{onClick:X,class:"group flex items-center gap-2 px-3 py-2 bg-slate-900/90 hover:bg-slate-800 text-slate-300 hover:text-white rounded-xl border border-slate-700/80 text-xs font-medium transition-all cursor-pointer shadow-sm",title:"接続エンドポイント設定を開く"},[j(K(Ga),{class:"w-3.5 h-3.5 text-cyan-400 group-hover:scale-110 transition-transform"}),i("span",nc,R(l.value||"(同一ホスト/プロキシ)"),1),d.value?(I(),E("span",lc," カスタム ")):Q("",!0),j(K(Gn),{class:"w-3.5 h-3.5 text-slate-400 group-hover:text-cyan-400 transition-colors ml-0.5"})]),i("button",{onClick:Me,class:"px-4 py-2.5 bg-gradient-to-r from-cyan-600 to-indigo-600 hover:from-cyan-500 hover:to-indigo-500 text-white rounded-xl text-xs sm:text-sm font-bold flex items-center gap-2 shadow-lg shadow-cyan-600/30 transition-all active:scale-95 cursor-pointer"},[j(K(qa),{class:"w-4 h-4"}),c[31]||(c[31]=i("span",null,"新規 API キー発行",-1))]),i("button",{onClick:Rt,disabled:te.value,class:"p-2.5 bg-slate-900 hover:bg-slate-800 text-slate-400 hover:text-white rounded-xl border border-slate-700 transition-colors cursor-pointer",title:"最新の全社統計とキー一覧を再取得"},[j(K(to),{class:me(["w-4 h-4",{"animate-spin":te.value}])},null,8,["class"])],8,ic)])])),Pe.value?(I(),E("div",ac,[j(K(qn),{class:"w-5 h-5 text-rose-400 shrink-0"}),i("span",cc,R(Pe.value),1),i("button",{onClick:Rt,class:"underline font-bold hover:text-rose-100"},"再試行")])):Q("",!0),i("div",dc,[i("div",uc,[i("div",fc,[c[32]||(c[32]=i("span",{class:"text-xs font-bold uppercase tracking-wider text-slate-400"},"登録済みキー総数",-1)),i("div",pc,[j(K(Yt),{class:"w-4 h-4"})])]),i("div",hc,[i("span",gc,R(u.value.total_keys),1),c[33]||(c[33]=i("span",{class:"text-xs text-slate-500 font-medium"},"Keys",-1))]),c[34]||(c[34]=i("p",{class:"mt-1 text-[11px] text-slate-400"},"システム全社確定キー総数",-1))]),i("div",bc,[i("div",mc,[c[35]||(c[35]=i("span",{class:"text-xs font-bold uppercase tracking-wider text-slate-400"},"有効稼働中キー",-1)),i("div",xc,[j(K(Jn),{class:"w-4 h-4"})])]),i("div",vc,[i("span",yc,R(u.value.active_keys),1),c[36]||(c[36]=i("span",{class:"text-xs text-slate-500 font-medium"},"Keys",-1))]),c[37]||(c[37]=i("p",{class:"mt-1 text-[11px] text-slate-400"},"アクティブ認可トラフィック",-1))]),i("div",wc,[i("div",_c,[c[38]||(c[38]=i("span",{class:"text-xs font-bold uppercase tracking-wider text-slate-400"},"当月リクエスト総利用",-1)),i("div",kc,[j(K(to),{class:"w-4 h-4"})])]),i("div",Sc,[i("span",Cc,R(u.value.total_monthly_usage.toLocaleString()),1),c[39]||(c[39]=i("span",{class:"text-xs text-slate-500 font-medium"},"req",-1))]),c[40]||(c[40]=i("p",{class:"mt-1 text-[11px] text-slate-400"},"全社累計消費リクエスト数",-1))]),i("div",Tc,[i("div",Ac,[c[41]||(c[41]=i("span",{class:"text-xs font-bold uppercase tracking-wider text-slate-400"},"ローテーション移行中",-1)),i("div",Ic,[j(K(Go),{class:"w-4 h-4"})])]),i("div",Pc,[i("span",Mc,R(u.value.rotating_keys),1),c[42]||(c[42]=i("span",{class:"text-xs text-slate-500 font-medium"},"Keys",-1))]),c[43]||(c[43]=i("p",{class:"mt-1 text-[11px] text-slate-400"},"Grace Period 猶予中 (24h)",-1))])]),i("div",Ec,[i("button",{onClick:c[0]||(c[0]=p=>we.value="keys"),class:me(["pb-3 px-4 text-xs sm:text-sm font-bold border-b-2 flex items-center gap-2 transition-colors cursor-pointer",we.value==="keys"?"border-cyan-500 text-cyan-400":"border-transparent text-slate-400 hover:text-slate-200"])},[j(K(Yt),{class:"w-4 h-4"}),c[44]||(c[44]=i("span",null,"API キー管理",-1)),i("span",Rc," 表示中 "+R(M.value.length),1)],2),i("button",{onClick:c[1]||(c[1]=p=>we.value="system"),class:me(["pb-3 px-4 text-xs sm:text-sm font-bold border-b-2 flex items-center gap-2 transition-colors cursor-pointer",we.value==="system"?"border-cyan-500 text-cyan-400":"border-transparent text-slate-400 hover:text-slate-200"])},[j(K(Xn),{class:"w-4 h-4"}),c[45]||(c[45]=i("span",null,"システム構成 & ルーティング",-1))],2)]),we.value==="keys"?(I(),E("div",Oc,[i("div",jc,[i("div",Nc,[i("div",Uc,[j(K(Wn),{class:"w-4 h-4 text-indigo-400 shrink-0"}),c[46]||(c[46]=i("span",{class:"text-xs text-slate-400 font-medium"},"サービス:",-1)),ye(i("input",{"onUpdate:modelValue":c[2]||(c[2]=p=>Oe.value=p),list:"filter-service-options",type:"text",placeholder:"全サービス (入力/選択)",class:"bg-transparent border-0 text-indigo-300 text-xs font-semibold focus:outline-none w-40 placeholder-slate-500"},null,512),[[Ce,Oe.value]]),Oe.value?(I(),E("button",{key:0,onClick:c[3]||(c[3]=p=>Oe.value=""),class:"text-slate-500 hover:text-slate-300 p-0.5 rounded transition-colors cursor-pointer",title:"サービスフィルタをクリア"},[j(K(Jo),{class:"w-3.5 h-3.5"})])):Q("",!0),i("datalist",$c,[(I(!0),E(fe,null,Ge(Mt.value,p=>(I(),E("option",{key:p,value:p},R(p),9,Kc))),128))])]),i("div",Lc,[j(K(Bn),{class:"w-4 h-4 text-cyan-400 shrink-0"}),c[48]||(c[48]=i("span",{class:"text-xs text-slate-400 font-medium"},"テナント:",-1)),ye(i("input",{"onUpdate:modelValue":c[4]||(c[4]=p=>ge.value=p),list:"filter-tenant-options",type:"text",placeholder:"全テナント (入力/選択)",class:"bg-transparent border-0 text-cyan-300 text-xs font-semibold focus:outline-none w-44 placeholder-slate-500"},null,512),[[Ce,ge.value]]),ge.value?(I(),E("button",{key:0,onClick:c[5]||(c[5]=p=>ge.value=""),class:"text-slate-500 hover:text-slate-300 p-0.5 rounded transition-colors cursor-pointer",title:"テナントフィルタをクリア"},[j(K(Jo),{class:"w-3.5 h-3.5"})])):Q("",!0),i("datalist",Fc,[c[47]||(c[47]=i("option",{value:"service_only"},"サービス専用 (テナント未指定)",-1)),(I(!0),E(fe,null,Ge(Zt.value,p=>(I(),E("option",{key:p.id,value:p.id},R(p.name!==p.id?`${p.name} (${p.id})`:p.name),9,Vc))),128))])]),ge.value||Oe.value?(I(),E("div",Dc,[i("button",{onClick:c[6]||(c[6]=p=>{ge.value="",Oe.value=""}),class:"text-[11px] px-2.5 py-1 rounded-lg bg-slate-800 hover:bg-slate-700 text-slate-300 hover:text-white flex items-center gap-1 transition-colors border border-slate-700/60 cursor-pointer"},[j(K(Jo),{class:"w-3 h-3 text-rose-400"}),c[49]||(c[49]=i("span",null,"条件クリア",-1))])])):Q("",!0)]),i("div",zc,[i("button",{onClick:Rt,class:"px-3 py-2 rounded-xl bg-slate-900 hover:bg-slate-800 text-slate-300 hover:text-white border border-slate-700 text-xs font-medium flex items-center gap-1.5 transition-colors cursor-pointer",title:"最新データを再取得"},[j(K(to),{class:me(["w-3.5 h-3.5",{"animate-spin":te.value}])},null,8,["class"]),c[50]||(c[50]=i("span",null,"更新",-1))])])]),i("div",Hc,[i("div",Bc,[i("div",qc,[j(K(Yt),{class:"w-4 h-4 text-cyan-400"}),c[51]||(c[51]=i("h2",{class:"text-sm font-bold text-white"},"発行済み API キー一覧",-1))]),i("div",Wc,[ge.value||Oe.value?(I(),E("span",Gc," サーバー絞り込み中 ")):Q("",!0),i("span",Jc,"表示中: "+R(xr.value.length)+" 件",1)])]),i("div",Xc,[i("table",Yc,[c[53]||(c[53]=i("thead",null,[i("tr",{class:"border-b border-slate-800 bg-slate-950/40 text-slate-400 font-semibold text-[11px] uppercase tracking-wider"},[i("th",{class:"py-3 px-4"},"キー名称 / プレフィックス"),i("th",{class:"py-3 px-4"},"サービス / テナント"),i("th",{class:"py-3 px-4"},"ステータス"),i("th",{class:"py-3 px-4"},"レートリミット (RPM)"),i("th",{class:"py-3 px-4"},"月間クォータ利用"),i("th",{class:"py-3 px-4"},"スコープ"),i("th",{class:"py-3 px-4 text-right"},"操作")])],-1)),i("tbody",Zc,[(I(!0),E(fe,null,Ge(xr.value,p=>{var _e;return I(),E("tr",{key:p.key_id,class:"hover:bg-slate-800/30 transition-colors"},[i("td",Qc,[i("div",ed,[i("span",null,R(p.name),1),(_e=p.rotation)!=null&&_e.grace_period_expires_at?(I(),E("span",td," 移行中 ")):Q("",!0)]),i("div",rd,R(p.key_prefix)+"... ",1)]),i("td",od,[i("div",sd,[j(K(Wn),{class:"w-3.5 h-3.5 text-indigo-400 shrink-0"}),i("span",null,R(p.service_id||"(未指定)"),1)]),i("div",nd,[j(K(Bn),{class:"w-3 h-3 text-slate-500 shrink-0"}),i("span",null,R(O(p.tenant_id)),1)])]),i("td",ld,[i("span",{class:me(["inline-flex items-center gap-1.5 px-2.5 py-1 rounded-full text-[10px] font-bold border capitalize",{"bg-emerald-950/60 text-emerald-300 border-emerald-800/80":p.status==="active","bg-amber-950/60 text-amber-300 border-amber-800/80":p.status==="suspended"||p.status==="rotating","bg-rose-950/60 text-rose-300 border-rose-800/80":p.status==="revoked"}])},[i("span",{class:me(["w-1.5 h-1.5 rounded-full",{"bg-emerald-400 animate-pulse":p.status==="active","bg-amber-400":p.status==="suspended"||p.status==="rotating","bg-rose-400":p.status==="revoked"}])},null,2),$e(" "+R(p.status),1)],2)]),i("td",id,R(p.rate_limit_rpm?`${p.rate_limit_rpm.toLocaleString()} RPM`:"無制限"),1),i("td",ad,[i("div",cd,[$e(R((p.current_month_usage||0).toLocaleString())+" ",1),i("span",dd,"/ "+R(p.monthly_quota>0?p.monthly_quota.toLocaleString():"無制限"),1)]),p.monthly_quota>0?(I(),E("div",ud,[i("div",{class:me(["h-full rounded-full transition-all",p.current_month_usage/p.monthly_quota>.9?"bg-rose-500":"bg-cyan-500"]),style:Tr({width:`${Math.min(100,Math.round((p.current_month_usage||0)/p.monthly_quota*100))}%`})},null,6)])):Q("",!0)]),i("td",fd,[i("div",pd,[(I(!0),E(fe,null,Ge(p.scopes,Je=>(I(),E("span",{key:Je,class:"px-1.5 py-0.5 rounded text-[10px] font-mono bg-slate-800 text-slate-300 border border-slate-700"},R(Je),1))),128))])]),i("td",hd,[i("button",{onClick:Je=>so(p),class:"p-1.5 text-slate-400 hover:text-cyan-300 rounded-lg hover:bg-slate-800 transition-colors cursor-pointer",title:"キー設定変更"},[j(K(Ha),{class:"w-3.5 h-3.5"})],8,gd),p.status==="active"?(I(),E("button",{key:0,onClick:Je=>kf(p),class:"p-1.5 text-slate-400 hover:text-amber-400 rounded-lg hover:bg-slate-800 transition-colors cursor-pointer",title:"一時停止"},[j(K(za),{class:"w-3.5 h-3.5"})],8,bd)):p.status==="suspended"?(I(),E("button",{key:1,onClick:Je=>Sf(p),class:"p-1.5 text-slate-400 hover:text-emerald-400 rounded-lg hover:bg-slate-800 transition-colors cursor-pointer",title:"再開"},[j(K(Ba),{class:"w-3.5 h-3.5"})],8,md)):Q("",!0),i("button",{onClick:Je=>Cf(p),class:"p-1.5 text-slate-400 hover:text-cyan-400 rounded-lg hover:bg-slate-800 transition-colors cursor-pointer",title:"ローテーション (Graceful)"},[j(K(Go),{class:"w-3.5 h-3.5"})],8,xd),i("button",{onClick:Je=>Tf(p),class:"p-1.5 text-slate-400 hover:text-rose-400 rounded-lg hover:bg-slate-800 transition-colors cursor-pointer",title:"完全削除"},[j(K(Ja),{class:"w-3.5 h-3.5"})],8,vd)])])}),128)),xr.value.length===0&&!te.value?(I(),E("tr",yd,[i("td",wd,[j(K(Yt),{class:"w-8 h-8 mx-auto mb-2 opacity-30"}),c[52]||(c[52]=i("p",null,"該当する API キーは見つかりませんでした。",-1))])])):Q("",!0)])])]),i("div",_d,[i("div",kd,[i("span",null,[c[54]||(c[54]=$e("表示中: ",-1)),i("strong",Sd,R(xr.value.length),1),c[55]||(c[55]=$e(" 件",-1))]),c[58]||(c[58]=i("span",{class:"text-slate-600"},"|",-1)),i("div",Cd,[c[57]||(c[57]=i("span",null,"表示件数:",-1)),ye(i("select",{"onUpdate:modelValue":c[7]||(c[7]=p=>$.value=p),onChange:He,class:"bg-slate-950 border border-slate-700 rounded-lg px-2 py-1 text-slate-200 text-xs focus:outline-none focus:border-cyan-500 cursor-pointer"},[...c[56]||(c[56]=[i("option",{value:25},"25 件",-1),i("option",{value:50},"50 件",-1),i("option",{value:100},"100 件",-1)])],544),[[Ca,$.value,void 0,{number:!0}]])])]),i("div",Td,[i("button",{onClick:ze,disabled:H.value.length===0||te.value,class:"px-3 py-1.5 rounded-xl border border-slate-700 bg-slate-900 hover:bg-slate-800 text-slate-200 disabled:opacity-40 disabled:cursor-not-allowed flex items-center gap-1 transition-colors cursor-pointer"},[j(K($a),{class:"w-3.5 h-3.5"}),c[59]||(c[59]=i("span",null,"前へ",-1))],8,Ad),H.value.length>0?(I(),E("span",Id," Page "+R(H.value.length+1),1)):Q("",!0),i("button",{onClick:he,disabled:!q.value||te.value,class:"px-3 py-1.5 rounded-xl border border-slate-700 bg-slate-900 hover:bg-slate-800 text-slate-200 disabled:opacity-40 disabled:cursor-not-allowed flex items-center gap-1 transition-colors cursor-pointer"},[c[60]||(c[60]=i("span",null,"次へ",-1)),j(K(Ka),{class:"w-3.5 h-3.5"})],8,Pd)])])]),i("div",Md,[i("div",Ed,[j(K(Jn),{class:"w-4 h-4 text-cyan-400"}),c[61]||(c[61]=i("h3",{class:"text-sm font-bold text-white"},"API キー単体検証・認可シミュレータ (Verify Tester)",-1))]),i("div",Rd,[i("div",Od,[c[62]||(c[62]=i("label",{class:"text-xs font-semibold text-slate-400"},"生の API キー (Raw API Key)",-1)),ye(i("input",{"onUpdate:modelValue":c[8]||(c[8]=p=>Ht.value=p),type:"text",placeholder:"tlgt_live_...",class:"w-full bg-slate-950 border border-slate-800 rounded-xl px-3.5 py-2 text-xs font-mono text-cyan-300 placeholder-slate-600 focus:outline-none focus:border-cyan-500"},null,512),[[Ce,Ht.value]])]),i("div",jd,[c[63]||(c[63]=i("label",{class:"text-xs font-semibold text-slate-400"},"要求スコープ (Scope)",-1)),i("div",Nd,[ye(i("input",{"onUpdate:modelValue":c[9]||(c[9]=p=>yt.value=p),type:"text",placeholder:"ai:*",class:"flex-1 bg-slate-950 border border-slate-800 rounded-xl px-3.5 py-2 text-xs font-mono text-slate-200 placeholder-slate-600 focus:outline-none focus:border-cyan-500"},null,512),[[Ce,yt.value]]),i("button",{onClick:Af,disabled:Pt.value||!Ht.value.trim(),class:"px-4 py-2 bg-cyan-600 hover:bg-cyan-500 disabled:opacity-50 text-white rounded-xl text-xs font-bold transition-all cursor-pointer shrink-0"},R(Pt.value?"検証中...":"検証実行"),9,Ud)])])]),pe.value?(I(),E("div",{key:0,class:me(["p-4 rounded-xl border text-xs",pe.value.valid?"bg-emerald-950/30 border-emerald-800/60 text-emerald-300":"bg-rose-950/30 border-rose-800/60 text-rose-300"])},[i("div",$d,[pe.value.valid?(I(),Vt(K(Wo),{key:0,class:"w-4 h-4 text-emerald-400"})):(I(),Vt(K(La),{key:1,class:"w-4 h-4 text-rose-400"})),i("span",null,R(pe.value.valid?"認可成功 (Valid & Authorized)":"認可失敗 (Invalid / Unauthorized)"),1)]),pe.value.valid?(I(),E("div",Kd,[i("div",null,[c[64]||(c[64]=i("span",{class:"text-slate-500"},"Key ID:",-1)),$e(" "+R(pe.value.key_id),1)]),i("div",null,[c[65]||(c[65]=i("span",{class:"text-slate-500"},"Prefix:",-1)),$e(" "+R(pe.value.key_prefix),1)]),i("div",null,[c[66]||(c[66]=i("span",{class:"text-slate-500"},"Tenant:",-1)),$e(" "+R(pe.value.tenant_id||"Global"),1)]),i("div",null,[c[67]||(c[67]=i("span",{class:"text-slate-500"},"Remain RPM:",-1)),$e(" "+R(pe.value.remaining_rpm)+" / "+R(pe.value.limit_rpm),1)])])):(I(),E("div",Ld," 理由: "+R(pe.value.reason||"検証できませんでした"),1))],2)):Q("",!0)])])):Q("",!0),we.value==="system"?(I(),E("div",Fd,[i("div",Vd,[i("div",Dd,[i("div",zd,[j(K(Va),{class:"w-5 h-5"}),c[68]||(c[68]=i("h3",{class:"font-bold text-white text-sm"},"Tollgate アーキテクチャ",-1))]),c[69]||(c[69]=i("p",{class:"text-xs text-slate-400 leading-relaxed"}," Tollgate はマルチテナント環境における API キーの発行・暗号化保管・レートリミット(Redis Token Bucket)・動的ローテーションを提供する認証認可プロキシゲートウェイです。 ",-1))]),i("div",Hd,[i("div",Bd,[j(K(Go),{class:"w-5 h-5"}),c[70]||(c[70]=i("h3",{class:"font-bold text-white text-sm"},"Graceful ローテーション",-1))]),c[71]||(c[71]=i("p",{class:"text-xs text-slate-400 leading-relaxed"}," API キーのローテーション時、即座に旧キーを破棄せず、設定された猶予期間(デフォルト24時間)は新旧両方のキーでリクエストを受け付けるため、クライアント側のダウンタイムゼロ更新を実現します。 ",-1))]),i("div",qd,[i("div",Wd,[j(K(Da),{class:"w-5 h-5"}),c[72]||(c[72]=i("h3",{class:"font-bold text-white text-sm"},"Fail-Fast セキュリティ",-1))]),c[73]||(c[73]=i("p",{class:"text-xs text-slate-400 leading-relaxed"}," ヘッダーで指定されたテナントIDとキーの属性値が一致しない場合や、クォータ超過・失効キーのアクセスは即座に 403 Forbidden で遮断し、バックエンドへの不正侵入を防ぎます。 ",-1))])]),i("div",Gd,[i("div",Jd,[i("div",Xd,[j(K(Xn),{class:"w-4 h-4 text-cyan-400"}),c[74]||(c[74]=i("h3",{class:"text-sm font-bold text-white"},"設定可能スコープ & パス認可ルール一覧",-1))]),i("span",Yd,"合計 "+R(Ke.value.length)+" 件",1)]),i("div",Zd,[i("table",Qd,[c[76]||(c[76]=i("thead",null,[i("tr",{class:"border-b border-slate-800 bg-slate-950/40 text-slate-400 font-semibold text-[11px] uppercase tracking-wider"},[i("th",{class:"py-3 px-4"},"スコープ識別子"),i("th",{class:"py-3 px-4"},"対象パス / ルートプレフィックス"),i("th",{class:"py-3 px-4"},"HTTP メソッド"),i("th",{class:"py-3 px-4"},"ルール概要"),i("th",{class:"py-3 px-4"},"ソース元")])],-1)),i("tbody",eu,[(I(!0),E(fe,null,Ge(Ke.value,p=>(I(),E("tr",{key:p.scope+":"+(p.path||"")+":"+(p.method||""),class:"hover:bg-slate-800/30 transition-colors"},[i("td",tu,[i("span",ru,R(p.scope),1)]),i("td",ou,[p.prefix||p.path?(I(),E("span",su,R((p.prefix||"")+(p.path||"")),1)):(I(),E("span",nu,"-"))]),i("td",lu,[p.method?(I(),E("span",{key:0,class:me(["px-2 py-0.5 rounded text-[10px] font-bold",{"bg-emerald-950 text-emerald-400 border border-emerald-800":p.method==="GET","bg-indigo-950 text-indigo-400 border border-indigo-800":p.method==="POST","bg-amber-950 text-amber-400 border border-amber-800":p.method==="PUT"||p.method==="PATCH","bg-rose-950 text-rose-400 border border-rose-800":p.method==="DELETE"}])},R(p.method),3)):(I(),E("span",iu,"ANY"))]),i("td",au,R(p.description||"-"),1),i("td",cu,[i("span",{class:me(["px-2 py-0.5 rounded text-[10px] font-mono border",{"bg-cyan-950/60 text-cyan-400 border-cyan-800/60":p.source==="path_rule","bg-indigo-950/60 text-indigo-400 border-indigo-800/60":p.source==="route"}])},R(p.source==="path_rule"?"パス詳細ルール":"ルート定義"),3)])]))),128)),Ke.value.length===0?(I(),E("tr",du,[...c[75]||(c[75]=[i("td",{colspan:"5",class:"py-8 text-center text-slate-500"}," 設定可能なスコープはまだ定義されていません。 ",-1)])])):Q("",!0)])])])])])):Q("",!0),at.value?(I(),E("div",uu,[i("div",fu,[i("div",pu,[i("div",hu,[j(K(Yt),{class:"w-5 h-5 text-cyan-400"}),c[77]||(c[77]=i("h3",{class:"text-base font-bold text-white"},"新規 API キー発行",-1))]),i("button",{onClick:c[10]||(c[10]=p=>at.value=!1),class:"text-slate-400 hover:text-white cursor-pointer"},"×")]),It.value?(I(),E("div",gu,R(It.value),1)):Q("",!0),i("div",bu,[i("div",null,[c[78]||(c[78]=i("label",{class:"block font-semibold text-slate-300 mb-1"},"キー名称 *",-1)),ye(i("input",{"onUpdate:modelValue":c[11]||(c[11]=p=>ee.value.name=p),type:"text",placeholder:"例: AI Engine Production Key",class:"w-full bg-slate-950 border border-slate-700 rounded-xl px-3.5 py-2 text-slate-100 placeholder-slate-600 focus:outline-none focus:border-cyan-500"},null,512),[[Ce,ee.value.name]])]),i("div",mu,[i("div",null,[c[79]||(c[79]=i("label",{class:"block font-semibold text-slate-300 mb-1"},"サービス ID *",-1)),ye(i("input",{"onUpdate:modelValue":c[12]||(c[12]=p=>ee.value.service_id=p),list:"modal-service-options",type:"text",placeholder:"例: billing-svc (必須)",class:"w-full bg-slate-950 border border-slate-700 rounded-xl px-3.5 py-2 text-slate-100 placeholder-slate-600 focus:outline-none focus:border-cyan-500"},null,512),[[Ce,ee.value.service_id]]),i("datalist",xu,[(I(!0),E(fe,null,Ge(Mt.value,p=>(I(),E("option",{key:p,value:p},R(p),9,vu))),128))])]),i("div",null,[c[80]||(c[80]=i("label",{class:"block font-semibold text-slate-300 mb-1"},"テナント ID (任意)",-1)),ye(i("input",{"onUpdate:modelValue":c[13]||(c[13]=p=>ee.value.tenant_id=p),list:"modal-tenant-options",type:"text",placeholder:"未指定時はサービス専用キー",class:"w-full bg-slate-950 border border-slate-700 rounded-xl px-3.5 py-2 text-slate-100 placeholder-slate-600 focus:outline-none focus:border-cyan-500"},null,512),[[Ce,ee.value.tenant_id]]),i("datalist",yu,[(I(!0),E(fe,null,Ge(Zt.value,p=>(I(),E("option",{key:p.id,value:p.id},R(p.name!==p.id?`${p.name} (${p.id})`:p.name),9,wu))),128))])])]),i("div",_u,[c[82]||(c[82]=i("div",{class:"flex items-center justify-between"},[i("label",{class:"block font-semibold text-slate-300"},"許可スコープ (Scopes)"),i("span",{class:"text-[10px] text-slate-400"},"例: billing:*, billing:admin, billing:read")],-1)),i("div",ku,[(I(!0),E(fe,null,Ge(ee.value.scopes,p=>(I(),E("span",{key:p,class:"inline-flex items-center gap-1 px-2 py-0.5 rounded-lg bg-cyan-950/80 border border-cyan-800/80 text-cyan-300 font-mono text-[11px]"},[$e(R(p)+" ",1),i("button",{type:"button",onClick:_e=>v(p),class:"text-cyan-400 hover:text-white ml-0.5 cursor-pointer font-bold"}," × ",8,Su)]))),128)),!ee.value.scopes||ee.value.scopes.length===0?(I(),E("span",Cu," スコープが設定されていません (未指定時は制限なし) ")):Q("",!0)]),i("div",Tu,[ye(i("input",{"onUpdate:modelValue":c[14]||(c[14]=p=>je.value=p),onKeydown:Vn(Fn(C,["prevent"]),["enter"]),type:"text",placeholder:"カスタムスコープを入力して Enter または追加",class:"flex-1 bg-slate-950 border border-slate-700 rounded-xl px-3 py-1.5 text-slate-100 placeholder-slate-600 focus:outline-none focus:border-cyan-500 text-xs font-mono"},null,40,Au),[[Ce,je.value]]),i("button",{type:"button",onClick:C,class:"px-3 py-1.5 bg-slate-800 hover:bg-slate-700 text-slate-200 rounded-xl text-xs font-semibold cursor-pointer shrink-0 transition-colors"}," 追加 ")]),Ke.value.length>0?(I(),E("div",Iu,[c[81]||(c[81]=i("span",{class:"text-[10px] text-slate-400 font-medium"},"利用可能スコープ (クリックでトグル追加/解除):",-1)),i("div",Pu,[(I(!0),E(fe,null,Ge(Ke.value,p=>(I(),E("button",{type:"button",key:p.scope+":"+(p.path||""),onClick:_e=>w(p.scope),class:me([ee.value.scopes.includes(p.scope)?"bg-cyan-600 text-white border-cyan-500 font-bold":"bg-slate-900 text-slate-400 hover:text-slate-200 border-slate-800 hover:border-slate-700","px-2 py-0.5 rounded-lg border text-[11px] font-mono transition-colors cursor-pointer flex items-center gap-1"]),title:p.description?`${p.scope} - ${p.description}`:p.scope},[i("span",null,R(p.scope),1),p.path?(I(),E("span",Eu,"("+R(p.method||"*")+" "+R(p.path)+")",1)):Q("",!0)],10,Mu))),128))])])):Q("",!0)]),i("div",Ru,[i("div",null,[c[83]||(c[83]=i("label",{class:"block font-semibold text-slate-300 mb-1"},"レートリミット (RPM)",-1)),ye(i("input",{"onUpdate:modelValue":c[15]||(c[15]=p=>ee.value.rate_limit_rpm=p),type:"number",min:"0",class:"w-full bg-slate-950 border border-slate-700 rounded-xl px-3.5 py-2 text-slate-100 focus:outline-none focus:border-cyan-500"},null,512),[[Ce,ee.value.rate_limit_rpm,void 0,{number:!0}]])]),i("div",null,[c[84]||(c[84]=i("label",{class:"block font-semibold text-slate-300 mb-1"},"月間クォータ (0 = 無制限)",-1)),ye(i("input",{"onUpdate:modelValue":c[16]||(c[16]=p=>ee.value.monthly_quota=p),type:"number",min:"0",class:"w-full bg-slate-950 border border-slate-700 rounded-xl px-3.5 py-2 text-slate-100 focus:outline-none focus:border-cyan-500"},null,512),[[Ce,ee.value.monthly_quota,void 0,{number:!0}]])])])]),i("div",Ou,[i("button",{onClick:c[17]||(c[17]=p=>at.value=!1),class:"px-4 py-2 bg-slate-800 hover:bg-slate-700 text-slate-300 rounded-xl text-xs font-semibold cursor-pointer"}," キャンセル "),i("button",{onClick:Be,class:"px-4 py-2 bg-cyan-600 hover:bg-cyan-500 text-white rounded-xl text-xs font-bold shadow-lg shadow-cyan-600/30 cursor-pointer"}," 発行する ")])])])):Q("",!0),xt.value?(I(),E("div",ju,[i("div",Nu,[i("div",Uu,[i("div",$u,[j(K(Wo),{class:"w-6 h-6"})]),i("div",null,[c[85]||(c[85]=i("h3",{class:"text-base font-bold text-white"},"API キーが発行されました",-1)),i("p",Ku,R(Y.value),1)])]),i("div",Lu,[i("div",Fu,[j(K(Xa),{class:"w-4 h-4"}),c[86]||(c[86]=i("span",null,"重要: このキーは二度と表示されません",-1))]),c[87]||(c[87]=i("p",{class:"text-[11px] text-amber-200/80 leading-relaxed"}," 安全なキーストアまたはシークレットマネージャーに今すぐ保存してください。 ",-1))]),i("div",Vu,[c[88]||(c[88]=i("label",{class:"text-xs font-semibold text-slate-400"},"生成された生の API キー (Raw API Key)",-1)),i("div",Du,[i("span",zu,R(re.value),1),i("button",{onClick:If,class:"px-3 py-1.5 bg-slate-800 hover:bg-slate-700 text-slate-200 rounded-lg text-xs font-bold flex items-center gap-1.5 cursor-pointer shrink-0 transition-colors"},[De.value?(I(),Vt(K(Ua),{key:0,class:"w-3.5 h-3.5 text-emerald-400"})):(I(),Vt(K(Fa),{key:1,class:"w-3.5 h-3.5"})),i("span",null,R(De.value?"コピー完了":"コピー"),1)])])]),i("div",Hu,[i("button",{onClick:c[18]||(c[18]=p=>xt.value=!1),class:"px-5 py-2.5 bg-emerald-600 hover:bg-emerald-500 text-white rounded-xl text-xs font-bold shadow-lg shadow-emerald-600/30 cursor-pointer"}," 保存した・閉じる ")])])])):Q("",!0),vt.value&&ct.value?(I(),E("div",Bu,[i("div",qu,[i("div",Wu,[c[89]||(c[89]=i("h3",{class:"text-base font-bold text-white"},"API キー設定の更新",-1)),i("button",{onClick:c[19]||(c[19]=p=>vt.value=!1),class:"text-slate-400 hover:text-white cursor-pointer"},"×")]),i("div",Gu,[i("div",null,[c[90]||(c[90]=i("label",{class:"block font-semibold text-slate-300 mb-1"},"キー名称",-1)),ye(i("input",{"onUpdate:modelValue":c[20]||(c[20]=p=>z.value.name=p),type:"text",class:"w-full bg-slate-950 border border-slate-700 rounded-xl px-3.5 py-2 text-slate-100 focus:outline-none focus:border-cyan-500"},null,512),[[Ce,z.value.name]])]),i("div",Ju,[c[92]||(c[92]=i("div",{class:"flex items-center justify-between"},[i("label",{class:"block font-semibold text-slate-300"},"許可スコープ (Scopes)"),i("span",{class:"text-[10px] text-slate-400"},"例: billing:*, billing:admin, billing:read")],-1)),i("div",Xu,[(I(!0),E(fe,null,Ge(z.value.scopes,p=>(I(),E("span",{key:p,class:"inline-flex items-center gap-1 px-2 py-0.5 rounded-lg bg-cyan-950/80 border border-cyan-800/80 text-cyan-300 font-mono text-[11px]"},[$e(R(p)+" ",1),i("button",{type:"button",onClick:_e=>k(p),class:"text-cyan-400 hover:text-white ml-0.5 cursor-pointer font-bold"}," × ",8,Yu)]))),128)),!z.value.scopes||z.value.scopes.length===0?(I(),E("span",Zu," スコープが設定されていません (制限なし) ")):Q("",!0)]),i("div",Qu,[ye(i("input",{"onUpdate:modelValue":c[21]||(c[21]=p=>be.value=p),onKeydown:Vn(Fn(N,["prevent"]),["enter"]),type:"text",placeholder:"カスタムスコープを入力して Enter または追加",class:"flex-1 bg-slate-950 border border-slate-700 rounded-xl px-3 py-1.5 text-slate-100 placeholder-slate-600 focus:outline-none focus:border-cyan-500 text-xs font-mono"},null,40,ef),[[Ce,be.value]]),i("button",{type:"button",onClick:N,class:"px-3 py-1.5 bg-slate-800 hover:bg-slate-700 text-slate-200 rounded-xl text-xs font-semibold cursor-pointer shrink-0 transition-colors"}," 追加 ")]),Ke.value.length>0?(I(),E("div",tf,[c[91]||(c[91]=i("span",{class:"text-[10px] text-slate-400 font-medium"},"利用可能スコープ (クリックでトグル追加/解除):",-1)),i("div",rf,[(I(!0),E(fe,null,Ge(Ke.value,p=>(I(),E("button",{type:"button",key:p.scope+":"+(p.path||""),onClick:_e=>y(p.scope),class:me([z.value.scopes.includes(p.scope)?"bg-cyan-600 text-white border-cyan-500 font-bold":"bg-slate-900 text-slate-400 hover:text-slate-200 border-slate-800 hover:border-slate-700","px-2 py-0.5 rounded-lg border text-[11px] font-mono transition-colors cursor-pointer flex items-center gap-1"]),title:p.description?`${p.scope} - ${p.description}`:p.scope},[i("span",null,R(p.scope),1),p.path?(I(),E("span",sf,"("+R(p.method||"*")+" "+R(p.path)+")",1)):Q("",!0)],10,of))),128))])])):Q("",!0)]),i("div",null,[c[93]||(c[93]=i("label",{class:"block font-semibold text-slate-300 mb-1"},"レートリミット (RPM)",-1)),ye(i("input",{"onUpdate:modelValue":c[22]||(c[22]=p=>z.value.rate_limit_rpm=p),type:"number",min:"0",class:"w-full bg-slate-950 border border-slate-700 rounded-xl px-3.5 py-2 text-slate-100 focus:outline-none focus:border-cyan-500"},null,512),[[Ce,z.value.rate_limit_rpm,void 0,{number:!0}]])]),i("div",null,[c[94]||(c[94]=i("label",{class:"block font-semibold text-slate-300 mb-1"},"月間クォータ (0 = 無制限)",-1)),ye(i("input",{"onUpdate:modelValue":c[23]||(c[23]=p=>z.value.monthly_quota=p),type:"number",min:"0",class:"w-full bg-slate-950 border border-slate-700 rounded-xl px-3.5 py-2 text-slate-100 focus:outline-none focus:border-cyan-500"},null,512),[[Ce,z.value.monthly_quota,void 0,{number:!0}]])])]),i("div",nf,[i("button",{onClick:c[24]||(c[24]=p=>vt.value=!1),class:"px-4 py-2 bg-slate-800 hover:bg-slate-700 text-slate-300 rounded-xl text-xs font-semibold cursor-pointer"}," キャンセル "),i("button",{onClick:no,class:"px-4 py-2 bg-cyan-600 hover:bg-cyan-500 text-white rounded-xl text-xs font-bold cursor-pointer"}," 更新を保存 ")])])])):Q("",!0),h.value?(I(),E("div",lf,[i("div",af,[i("div",cf,[i("div",df,[i("div",uf,[j(K(Gn),{class:"w-5 h-5"})]),c[95]||(c[95]=i("div",null,[i("h3",{class:"text-base font-bold text-white"},"接続エンドポイント設定"),i("p",{class:"text-[11px] text-slate-400"},"Nginx リバースプロキシや API Gateway の接続先 URL を変更")],-1))]),i("button",{onClick:c[25]||(c[25]=p=>h.value=!1),class:"text-slate-400 hover:text-white cursor-pointer text-lg"},"×")]),i("div",ff,[i("div",null,[i("div",pf,[c[96]||(c[96]=i("label",{class:"font-semibold text-slate-300"},"API Base URL (エンドポイント)",-1)),i("span",hf," 環境変数: "+R(r.value||"(未設定)"),1)]),i("div",gf,[ye(i("input",{"onUpdate:modelValue":c[26]||(c[26]=p=>m.value.apiBaseUrl=p),type:"text",placeholder:"例: http://localhost:8000 または /api",class:"w-full bg-slate-950 border border-slate-700 rounded-xl px-3.5 py-2.5 text-slate-100 font-mono text-xs placeholder-slate-600 focus:outline-none focus:border-cyan-500"},null,512),[[Ce,m.value.apiBaseUrl]])]),c[97]||(c[97]=i("p",{class:"text-[11px] text-slate-400 mt-1"},[$e(" ※ 空文字の場合は同一オリジン("),i("code",null,"/v1/..."),$e(")または Vite プロキシを使用します。 ")],-1))]),i("div",null,[i("div",bf,[c[98]||(c[98]=i("label",{class:"font-semibold text-slate-300"},"Admin Secret トークン (Bearer / X-Admin-Secret)",-1)),i("span",mf," 環境変数: "+R(o.value?"******":"(未設定)"),1)]),ye(i("input",{"onUpdate:modelValue":c[27]||(c[27]=p=>m.value.adminToken=p),type:"password",placeholder:"admin-secret-key-for-local-dev",class:"w-full bg-slate-950 border border-slate-700 rounded-xl px-3.5 py-2.5 text-slate-100 font-mono text-xs placeholder-slate-600 focus:outline-none focus:border-cyan-500"},null,512),[[Ce,m.value.adminToken]])]),P.value?(I(),E("div",{key:0,class:me([P.value.ok?"bg-emerald-950/40 border-emerald-800 text-emerald-300":"bg-rose-950/40 border-rose-800 text-rose-300","p-3 border rounded-xl flex items-center gap-2.5"])},[P.value.ok?(I(),Vt(K(Wo),{key:0,class:"w-4 h-4 text-emerald-400 shrink-0"})):(I(),Vt(K(qn),{key:1,class:"w-4 h-4 text-rose-400 shrink-0"})),i("span",xf,R(P.value.message),1)],2)):Q("",!0)]),i("div",vf,[i("div",yf,[i("button",{onClick:F,disabled:A.value,class:"px-3 py-2 bg-slate-800 hover:bg-slate-700 text-slate-200 rounded-xl text-xs font-semibold flex items-center gap-1.5 cursor-pointer transition-colors"},[j(K(to),{class:me(["w-3.5 h-3.5",{"animate-spin":A.value}])},null,8,["class"]),i("span",null,R(A.value?"テスト中...":"接続テスト"),1)],8,wf),d.value?(I(),E("button",{key:0,onClick:ie,class:"px-3 py-2 text-slate-400 hover:text-amber-300 rounded-xl text-xs font-medium flex items-center gap-1 cursor-pointer transition-colors",title:"環境変数・Propsの初期値に戻す"},[j(K(Wa),{class:"w-3.5 h-3.5"}),c[99]||(c[99]=i("span",null,"初期値に戻す",-1))])):Q("",!0)]),i("div",_f,[i("button",{onClick:c[28]||(c[28]=p=>h.value=!1),class:"px-4 py-2 bg-slate-800 hover:bg-slate-700 text-slate-300 rounded-xl text-xs font-semibold cursor-pointer"}," キャンセル "),i("button",{onClick:ce,class:"px-4 py-2 bg-cyan-600 hover:bg-cyan-500 text-white rounded-xl text-xs font-bold shadow-lg shadow-cyan-600/30 cursor-pointer transition-all"}," 保存して接続 ")])])])])):Q("",!0)]))}}),[["styles",['/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */@layer properties{@supports ((-webkit-hyphens:none) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-amber-200:oklch(92.4% .12 95.746);--color-amber-300:oklch(87.9% .169 91.605);--color-amber-400:oklch(82.8% .189 84.429);--color-amber-500:oklch(76.9% .188 70.08);--color-amber-800:oklch(47.3% .137 46.201);--color-amber-950:oklch(27.9% .077 45.635);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-600:oklch(59.6% .145 163.225);--color-emerald-800:oklch(43.2% .095 166.913);--color-emerald-950:oklch(26.2% .051 172.552);--color-teal-400:oklch(77.7% .152 181.912);--color-cyan-300:oklch(86.5% .127 207.078);--color-cyan-400:oklch(78.9% .154 211.53);--color-cyan-500:oklch(71.5% .143 215.221);--color-cyan-600:oklch(60.9% .126 221.723);--color-cyan-800:oklch(45% .085 224.283);--color-cyan-950:oklch(30.2% .056 229.695);--color-indigo-300:oklch(78.5% .115 274.713);--color-indigo-400:oklch(67.3% .182 276.935);--color-indigo-500:oklch(58.5% .233 277.117);--color-indigo-600:oklch(51.1% .262 276.966);--color-indigo-800:oklch(39.8% .195 277.366);--color-indigo-950:oklch(25.7% .09 281.288);--color-rose-100:oklch(94.1% .03 12.58);--color-rose-300:oklch(81% .117 11.638);--color-rose-400:oklch(71.2% .194 13.428);--color-rose-500:oklch(64.5% .246 16.439);--color-rose-800:oklch(45.5% .188 13.697);--color-rose-950:oklch(27.1% .105 12.094);--color-slate-100:oklch(96.8% .007 247.896);--color-slate-200:oklch(92.9% .013 255.508);--color-slate-300:oklch(86.9% .022 252.894);--color-slate-400:oklch(70.4% .04 256.788);--color-slate-500:oklch(55.4% .046 257.417);--color-slate-600:oklch(44.6% .043 257.281);--color-slate-700:oklch(37.2% .044 257.287);--color-slate-800:oklch(27.9% .041 260.031);--color-slate-900:oklch(20.8% .042 265.755);--color-slate-950:oklch(12.9% .042 264.695);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-lg:32rem;--container-7xl:80rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75 / 1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75 / 1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2 / 1.5);--text-3xl:1.875rem;--text-3xl--line-height: 1.2 ;--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--font-weight-black:900;--tracking-tight:-.025em;--tracking-wider:.05em;--leading-relaxed:1.625;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--radius-3xl:1.5rem;--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--blur-sm:8px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::-moz-placeholder{opacity:1}::placeholder{opacity:1}@supports (not (-webkit-appearance:-apple-pay-button)) or (contain-intrinsic-size:1px){::-moz-placeholder{color:currentColor}::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::-moz-placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.fixed{position:fixed}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.z-50{z-index:50}.mx-auto{margin-inline:auto}.mt-0\\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:var(--spacing)}.mt-1\\.5{margin-top:calc(var(--spacing) * 1.5)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mb-1{margin-bottom:var(--spacing)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-8{margin-bottom:calc(var(--spacing) * 8)}.ml-0\\.5{margin-left:calc(var(--spacing) * .5)}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.inline-flex{display:inline-flex}.h-1\\.5{height:calc(var(--spacing) * 1.5)}.h-2{height:calc(var(--spacing) * 2)}.h-3{height:calc(var(--spacing) * 3)}.h-3\\.5{height:calc(var(--spacing) * 3.5)}.h-4{height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-6{height:calc(var(--spacing) * 6)}.h-8{height:calc(var(--spacing) * 8)}.h-10{height:calc(var(--spacing) * 10)}.h-12{height:calc(var(--spacing) * 12)}.h-full{height:100%}.max-h-24{max-height:calc(var(--spacing) * 24)}.min-h-\\[38px\\]{min-height:38px}.min-h-\\[600px\\]{min-height:600px}.min-h-screen{min-height:100vh}.w-1\\.5{width:calc(var(--spacing) * 1.5)}.w-2{width:calc(var(--spacing) * 2)}.w-3{width:calc(var(--spacing) * 3)}.w-3\\.5{width:calc(var(--spacing) * 3.5)}.w-4{width:calc(var(--spacing) * 4)}.w-5{width:calc(var(--spacing) * 5)}.w-6{width:calc(var(--spacing) * 6)}.w-8{width:calc(var(--spacing) * 8)}.w-10{width:calc(var(--spacing) * 10)}.w-12{width:calc(var(--spacing) * 12)}.w-24{width:calc(var(--spacing) * 24)}.w-40{width:calc(var(--spacing) * 40)}.w-44{width:calc(var(--spacing) * 44)}.w-full{width:100%}.max-w-7xl{max-width:var(--container-7xl)}.max-w-\\[180px\\]{max-width:180px}.max-w-lg{max-width:var(--container-lg)}.flex-1{flex:1}.shrink-0{flex-shrink:0}.border-collapse{border-collapse:collapse}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-pointer{cursor:pointer}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-baseline{align-items:baseline}.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-1{gap:var(--spacing)}.gap-1\\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\\.5{gap:calc(var(--spacing) * 2.5)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-6{gap:calc(var(--spacing) * 6)}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(var(--spacing) * var(--tw-space-y-reverse));margin-block-end:calc(var(--spacing) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-1\\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 1.5) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 1.5) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 2) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 5) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 5) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-8>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 8) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 8) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-x-1>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(var(--spacing) * var(--tw-space-x-reverse));margin-inline-end:calc(var(--spacing) * calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-3>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing) * 3) * var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-x-reverse)))}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}:where(.divide-slate-800\\/60>:not(:last-child)){border-color:#1d293d99}@supports (color:color-mix(in lab,red,red)){:where(.divide-slate-800\\/60>:not(:last-child)){border-color:color-mix(in oklab,var(--color-slate-800) 60%,transparent)}}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-3xl{border-radius:var(--radius-3xl)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-xl{border-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-amber-500\\/20{border-color:#f99c0033}@supports (color:color-mix(in lab,red,red)){.border-amber-500\\/20{border-color:color-mix(in oklab,var(--color-amber-500) 20%,transparent)}}.border-amber-500\\/30{border-color:#f99c004d}@supports (color:color-mix(in lab,red,red)){.border-amber-500\\/30{border-color:color-mix(in oklab,var(--color-amber-500) 30%,transparent)}}.border-amber-800{border-color:var(--color-amber-800)}.border-amber-800\\/60{border-color:#953d0099}@supports (color:color-mix(in lab,red,red)){.border-amber-800\\/60{border-color:color-mix(in oklab,var(--color-amber-800) 60%,transparent)}}.border-amber-800\\/80{border-color:#953d00cc}@supports (color:color-mix(in lab,red,red)){.border-amber-800\\/80{border-color:color-mix(in oklab,var(--color-amber-800) 80%,transparent)}}.border-cyan-500{border-color:var(--color-cyan-500)}.border-cyan-500\\/20{border-color:#00b7d733}@supports (color:color-mix(in lab,red,red)){.border-cyan-500\\/20{border-color:color-mix(in oklab,var(--color-cyan-500) 20%,transparent)}}.border-cyan-800{border-color:var(--color-cyan-800)}.border-cyan-800\\/50{border-color:#005f7880}@supports (color:color-mix(in lab,red,red)){.border-cyan-800\\/50{border-color:color-mix(in oklab,var(--color-cyan-800) 50%,transparent)}}.border-cyan-800\\/60{border-color:#005f7899}@supports (color:color-mix(in lab,red,red)){.border-cyan-800\\/60{border-color:color-mix(in oklab,var(--color-cyan-800) 60%,transparent)}}.border-cyan-800\\/80{border-color:#005f78cc}@supports (color:color-mix(in lab,red,red)){.border-cyan-800\\/80{border-color:color-mix(in oklab,var(--color-cyan-800) 80%,transparent)}}.border-emerald-500\\/20{border-color:#00bb7f33}@supports (color:color-mix(in lab,red,red)){.border-emerald-500\\/20{border-color:color-mix(in oklab,var(--color-emerald-500) 20%,transparent)}}.border-emerald-800{border-color:var(--color-emerald-800)}.border-emerald-800\\/60{border-color:#005f4699}@supports (color:color-mix(in lab,red,red)){.border-emerald-800\\/60{border-color:color-mix(in oklab,var(--color-emerald-800) 60%,transparent)}}.border-emerald-800\\/80{border-color:#005f46cc}@supports (color:color-mix(in lab,red,red)){.border-emerald-800\\/80{border-color:color-mix(in oklab,var(--color-emerald-800) 80%,transparent)}}.border-indigo-500\\/20{border-color:#625fff33}@supports (color:color-mix(in lab,red,red)){.border-indigo-500\\/20{border-color:color-mix(in oklab,var(--color-indigo-500) 20%,transparent)}}.border-indigo-800{border-color:var(--color-indigo-800)}.border-indigo-800\\/60{border-color:#372aac99}@supports (color:color-mix(in lab,red,red)){.border-indigo-800\\/60{border-color:color-mix(in oklab,var(--color-indigo-800) 60%,transparent)}}.border-rose-800{border-color:var(--color-rose-800)}.border-rose-800\\/60{border-color:#a3003799}@supports (color:color-mix(in lab,red,red)){.border-rose-800\\/60{border-color:color-mix(in oklab,var(--color-rose-800) 60%,transparent)}}.border-rose-800\\/80{border-color:#a30037cc}@supports (color:color-mix(in lab,red,red)){.border-rose-800\\/80{border-color:color-mix(in oklab,var(--color-rose-800) 80%,transparent)}}.border-slate-700{border-color:var(--color-slate-700)}.border-slate-700\\/60{border-color:#31415899}@supports (color:color-mix(in lab,red,red)){.border-slate-700\\/60{border-color:color-mix(in oklab,var(--color-slate-700) 60%,transparent)}}.border-slate-700\\/80{border-color:#314158cc}@supports (color:color-mix(in lab,red,red)){.border-slate-700\\/80{border-color:color-mix(in oklab,var(--color-slate-700) 80%,transparent)}}.border-slate-800{border-color:var(--color-slate-800)}.border-slate-800\\/80{border-color:#1d293dcc}@supports (color:color-mix(in lab,red,red)){.border-slate-800\\/80{border-color:color-mix(in oklab,var(--color-slate-800) 80%,transparent)}}.border-transparent{border-color:#0000}.bg-amber-400{background-color:var(--color-amber-400)}.bg-amber-500\\/10{background-color:#f99c001a}@supports (color:color-mix(in lab,red,red)){.bg-amber-500\\/10{background-color:color-mix(in oklab,var(--color-amber-500) 10%,transparent)}}.bg-amber-500\\/20{background-color:#f99c0033}@supports (color:color-mix(in lab,red,red)){.bg-amber-500\\/20{background-color:color-mix(in oklab,var(--color-amber-500) 20%,transparent)}}.bg-amber-950{background-color:var(--color-amber-950)}.bg-amber-950\\/40{background-color:#46190166}@supports (color:color-mix(in lab,red,red)){.bg-amber-950\\/40{background-color:color-mix(in oklab,var(--color-amber-950) 40%,transparent)}}.bg-amber-950\\/60{background-color:#46190199}@supports (color:color-mix(in lab,red,red)){.bg-amber-950\\/60{background-color:color-mix(in oklab,var(--color-amber-950) 60%,transparent)}}.bg-amber-950\\/80{background-color:#461901cc}@supports (color:color-mix(in lab,red,red)){.bg-amber-950\\/80{background-color:color-mix(in oklab,var(--color-amber-950) 80%,transparent)}}.bg-black\\/70{background-color:#000000b3}@supports (color:color-mix(in lab,red,red)){.bg-black\\/70{background-color:color-mix(in oklab,var(--color-black) 70%,transparent)}}.bg-cyan-500{background-color:var(--color-cyan-500)}.bg-cyan-500\\/10{background-color:#00b7d71a}@supports (color:color-mix(in lab,red,red)){.bg-cyan-500\\/10{background-color:color-mix(in oklab,var(--color-cyan-500) 10%,transparent)}}.bg-cyan-600{background-color:var(--color-cyan-600)}.bg-cyan-950{background-color:var(--color-cyan-950)}.bg-cyan-950\\/60{background-color:#05334599}@supports (color:color-mix(in lab,red,red)){.bg-cyan-950\\/60{background-color:color-mix(in oklab,var(--color-cyan-950) 60%,transparent)}}.bg-cyan-950\\/80{background-color:#053345cc}@supports (color:color-mix(in lab,red,red)){.bg-cyan-950\\/80{background-color:color-mix(in oklab,var(--color-cyan-950) 80%,transparent)}}.bg-emerald-400{background-color:var(--color-emerald-400)}.bg-emerald-500\\/10{background-color:#00bb7f1a}@supports (color:color-mix(in lab,red,red)){.bg-emerald-500\\/10{background-color:color-mix(in oklab,var(--color-emerald-500) 10%,transparent)}}.bg-emerald-600{background-color:var(--color-emerald-600)}.bg-emerald-950{background-color:var(--color-emerald-950)}.bg-emerald-950\\/30{background-color:#002c224d}@supports (color:color-mix(in lab,red,red)){.bg-emerald-950\\/30{background-color:color-mix(in oklab,var(--color-emerald-950) 30%,transparent)}}.bg-emerald-950\\/40{background-color:#002c2266}@supports (color:color-mix(in lab,red,red)){.bg-emerald-950\\/40{background-color:color-mix(in oklab,var(--color-emerald-950) 40%,transparent)}}.bg-emerald-950\\/60{background-color:#002c2299}@supports (color:color-mix(in lab,red,red)){.bg-emerald-950\\/60{background-color:color-mix(in oklab,var(--color-emerald-950) 60%,transparent)}}.bg-indigo-500\\/10{background-color:#625fff1a}@supports (color:color-mix(in lab,red,red)){.bg-indigo-500\\/10{background-color:color-mix(in oklab,var(--color-indigo-500) 10%,transparent)}}.bg-indigo-950{background-color:var(--color-indigo-950)}.bg-indigo-950\\/60{background-color:#1e1a4d99}@supports (color:color-mix(in lab,red,red)){.bg-indigo-950\\/60{background-color:color-mix(in oklab,var(--color-indigo-950) 60%,transparent)}}.bg-rose-400{background-color:var(--color-rose-400)}.bg-rose-500{background-color:var(--color-rose-500)}.bg-rose-950{background-color:var(--color-rose-950)}.bg-rose-950\\/30{background-color:#4d02184d}@supports (color:color-mix(in lab,red,red)){.bg-rose-950\\/30{background-color:color-mix(in oklab,var(--color-rose-950) 30%,transparent)}}.bg-rose-950\\/40{background-color:#4d021866}@supports (color:color-mix(in lab,red,red)){.bg-rose-950\\/40{background-color:color-mix(in oklab,var(--color-rose-950) 40%,transparent)}}.bg-rose-950\\/60{background-color:#4d021899}@supports (color:color-mix(in lab,red,red)){.bg-rose-950\\/60{background-color:color-mix(in oklab,var(--color-rose-950) 60%,transparent)}}.bg-slate-800{background-color:var(--color-slate-800)}.bg-slate-900{background-color:var(--color-slate-900)}.bg-slate-900\\/60{background-color:#0f172b99}@supports (color:color-mix(in lab,red,red)){.bg-slate-900\\/60{background-color:color-mix(in oklab,var(--color-slate-900) 60%,transparent)}}.bg-slate-900\\/80{background-color:#0f172bcc}@supports (color:color-mix(in lab,red,red)){.bg-slate-900\\/80{background-color:color-mix(in oklab,var(--color-slate-900) 80%,transparent)}}.bg-slate-900\\/90{background-color:#0f172be6}@supports (color:color-mix(in lab,red,red)){.bg-slate-900\\/90{background-color:color-mix(in oklab,var(--color-slate-900) 90%,transparent)}}.bg-slate-950{background-color:var(--color-slate-950)}.bg-slate-950\\/40{background-color:#02061866}@supports (color:color-mix(in lab,red,red)){.bg-slate-950\\/40{background-color:color-mix(in oklab,var(--color-slate-950) 40%,transparent)}}.bg-transparent{background-color:#0000}.bg-gradient-to-r{--tw-gradient-position:to right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.bg-gradient-to-tr{--tw-gradient-position:to top right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-cyan-600{--tw-gradient-from:var(--color-cyan-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-emerald-500{--tw-gradient-from:var(--color-emerald-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-indigo-600{--tw-gradient-to:var(--color-indigo-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-teal-400{--tw-gradient-to:var(--color-teal-400);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.p-0\\.5{padding:calc(var(--spacing) * .5)}.p-1\\.5{padding:calc(var(--spacing) * 1.5)}.p-2{padding:calc(var(--spacing) * 2)}.p-2\\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.p-6{padding:calc(var(--spacing) * 6)}.p-8{padding:calc(var(--spacing) * 8)}.px-1\\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-3\\.5{padding-inline:calc(var(--spacing) * 3.5)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.py-0\\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-3\\.5{padding-block:calc(var(--spacing) * 3.5)}.py-8{padding-block:calc(var(--spacing) * 8)}.py-12{padding-block:calc(var(--spacing) * 12)}.pt-1{padding-top:var(--spacing)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pb-2{padding-bottom:calc(var(--spacing) * 2)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-6{padding-bottom:calc(var(--spacing) * 6)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\\[9px\\]{font-size:9px}.text-\\[10px\\]{font-size:10px}.text-\\[11px\\]{font-size:11px}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.font-black{--tw-font-weight:var(--font-weight-black);font-weight:var(--font-weight-black)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.break-all{word-break:break-all}.text-amber-200\\/80{color:#fee685cc}@supports (color:color-mix(in lab,red,red)){.text-amber-200\\/80{color:color-mix(in oklab,var(--color-amber-200) 80%,transparent)}}.text-amber-300{color:var(--color-amber-300)}.text-amber-400{color:var(--color-amber-400)}.text-cyan-300{color:var(--color-cyan-300)}.text-cyan-400{color:var(--color-cyan-400)}.text-cyan-400\\/90{color:#00d2efe6}@supports (color:color-mix(in lab,red,red)){.text-cyan-400\\/90{color:color-mix(in oklab,var(--color-cyan-400) 90%,transparent)}}.text-emerald-300{color:var(--color-emerald-300)}.text-emerald-400{color:var(--color-emerald-400)}.text-indigo-300{color:var(--color-indigo-300)}.text-indigo-400{color:var(--color-indigo-400)}.text-rose-300{color:var(--color-rose-300)}.text-rose-400{color:var(--color-rose-400)}.text-slate-100{color:var(--color-slate-100)}.text-slate-200{color:var(--color-slate-200)}.text-slate-300{color:var(--color-slate-300)}.text-slate-400{color:var(--color-slate-400)}.text-slate-500{color:var(--color-slate-500)}.text-slate-600{color:var(--color-slate-600)}.text-slate-950{color:var(--color-slate-950)}.text-white{color:var(--color-white)}.capitalize{text-transform:capitalize}.uppercase{text-transform:uppercase}.italic{font-style:italic}.underline{text-decoration-line:underline}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.placeholder-slate-500::-moz-placeholder{color:var(--color-slate-500)}.placeholder-slate-500::placeholder{color:var(--color-slate-500)}.placeholder-slate-600::-moz-placeholder{color:var(--color-slate-600)}.placeholder-slate-600::placeholder{color:var(--color-slate-600)}.opacity-30{opacity:.3}.opacity-70{opacity:.7}.shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-inner{--tw-shadow:inset 0 2px 4px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a), 0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-cyan-600\\/30{--tw-shadow-color:#0092b54d}@supports (color:color-mix(in lab,red,red)){.shadow-cyan-600\\/30{--tw-shadow-color:color-mix(in oklab, color-mix(in oklab, var(--color-cyan-600) 30%, transparent) var(--tw-shadow-alpha), transparent)}}.shadow-emerald-500\\/20{--tw-shadow-color:#00bb7f33}@supports (color:color-mix(in lab,red,red)){.shadow-emerald-500\\/20{--tw-shadow-color:color-mix(in oklab, color-mix(in oklab, var(--color-emerald-500) 20%, transparent) var(--tw-shadow-alpha), transparent)}}.shadow-emerald-600\\/30{--tw-shadow-color:#0097674d}@supports (color:color-mix(in lab,red,red)){.shadow-emerald-600\\/30{--tw-shadow-color:color-mix(in oklab, color-mix(in oklab, var(--color-emerald-600) 30%, transparent) var(--tw-shadow-alpha), transparent)}}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.select-all{-webkit-user-select:all;-moz-user-select:all;user-select:all}@media(hover:hover){.group-hover\\:scale-110:is(:where(.group):hover *){--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x) var(--tw-scale-y)}.group-hover\\:text-cyan-400:is(:where(.group):hover *){color:var(--color-cyan-400)}}.focus-within\\:border-cyan-500:focus-within{border-color:var(--color-cyan-500)}.focus-within\\:border-indigo-500:focus-within{border-color:var(--color-indigo-500)}@media(hover:hover){.hover\\:border-amber-500\\/30:hover{border-color:#f99c004d}@supports (color:color-mix(in lab,red,red)){.hover\\:border-amber-500\\/30:hover{border-color:color-mix(in oklab,var(--color-amber-500) 30%,transparent)}}.hover\\:border-cyan-500\\/30:hover{border-color:#00b7d74d}@supports (color:color-mix(in lab,red,red)){.hover\\:border-cyan-500\\/30:hover{border-color:color-mix(in oklab,var(--color-cyan-500) 30%,transparent)}}.hover\\:border-emerald-500\\/30:hover{border-color:#00bb7f4d}@supports (color:color-mix(in lab,red,red)){.hover\\:border-emerald-500\\/30:hover{border-color:color-mix(in oklab,var(--color-emerald-500) 30%,transparent)}}.hover\\:border-indigo-500\\/30:hover{border-color:#625fff4d}@supports (color:color-mix(in lab,red,red)){.hover\\:border-indigo-500\\/30:hover{border-color:color-mix(in oklab,var(--color-indigo-500) 30%,transparent)}}.hover\\:border-slate-700:hover{border-color:var(--color-slate-700)}.hover\\:bg-cyan-500:hover{background-color:var(--color-cyan-500)}.hover\\:bg-emerald-500:hover{background-color:var(--color-emerald-500)}.hover\\:bg-slate-700:hover{background-color:var(--color-slate-700)}.hover\\:bg-slate-800:hover{background-color:var(--color-slate-800)}.hover\\:bg-slate-800\\/30:hover{background-color:#1d293d4d}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-slate-800\\/30:hover{background-color:color-mix(in oklab,var(--color-slate-800) 30%,transparent)}}.hover\\:from-cyan-500:hover{--tw-gradient-from:var(--color-cyan-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.hover\\:to-indigo-500:hover{--tw-gradient-to:var(--color-indigo-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.hover\\:text-amber-300:hover{color:var(--color-amber-300)}.hover\\:text-amber-400:hover{color:var(--color-amber-400)}.hover\\:text-cyan-300:hover{color:var(--color-cyan-300)}.hover\\:text-cyan-400:hover{color:var(--color-cyan-400)}.hover\\:text-emerald-400:hover{color:var(--color-emerald-400)}.hover\\:text-rose-100:hover{color:var(--color-rose-100)}.hover\\:text-rose-400:hover{color:var(--color-rose-400)}.hover\\:text-slate-200:hover{color:var(--color-slate-200)}.hover\\:text-slate-300:hover{color:var(--color-slate-300)}.hover\\:text-white:hover{color:var(--color-white)}}.focus\\:border-cyan-500:focus{border-color:var(--color-cyan-500)}.focus\\:outline-none:focus{--tw-outline-style:none;outline-style:none}.active\\:scale-95:active{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:opacity-40:disabled{opacity:.4}.disabled\\:opacity-50:disabled{opacity:.5}@media(min-width:40rem){.sm\\:w-auto{width:auto}.sm\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.sm\\:flex-row{flex-direction:row}.sm\\:p-6{padding:calc(var(--spacing) * 6)}.sm\\:text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.sm\\:text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.sm\\:text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}}@media(min-width:48rem){.md\\:col-span-2{grid-column:span 2/span 2}.md\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\\:flex-row{flex-direction:row}.md\\:items-center{align-items:center}}@media(min-width:64rem){.lg\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\\:p-8{padding:calc(var(--spacing) * 8)}}}:host{color:#f1f5f9;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;display:block}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:#0f172a99}::-webkit-scrollbar-thumb{background:#334155cc;border-radius:9999px}::-webkit-scrollbar-thumb:hover{background:#64748b}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}']]]),Zn=_a(Yn);function Yo(e="tollgate-console"){typeof window<"u"&&!customElements.get(e)&&customElements.define(e,Zn)}typeof window<"u"&&Yo(),ke.TollgateApiClient=Xo,ke.TollgateConsoleElement=Zn,ke.TollgateConsoleSFC=Yn,ke.default=Yo,ke.registerTollgateUI=Yo,Object.defineProperties(ke,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));