@kanmon-hq/tollgate-ui 1.1.2 → 1.1.4

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,24 +1,24 @@
1
- (function(ye,ue){typeof exports=="object"&&typeof module<"u"?ue(exports):typeof define=="function"&&define.amd?define(["exports"],ue):(ye=typeof globalThis<"u"?globalThis:ye||self,ue(ye.TollgateUI={}))})(this,(function(ye){"use strict";var Iu=Object.defineProperty;var Pu=(ye,ue,xt)=>ue in ye?Iu(ye,ue,{enumerable:!0,configurable:!0,writable:!0,value:xt}):ye[ue]=xt;var er=(ye,ue,xt)=>Pu(ye,typeof ue!="symbol"?ue+"":ue,xt);var ue=typeof document<"u"?document.currentScript:null;/**
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;/**
2
2
  * @vue/shared v3.5.43
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
- **/function xt(e){const t=Object.create(null);for(const s of e.split(","))t[s]=1;return s=>s in t}const ee={},At=[],We=()=>{},Br=()=>!1,gs=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),bs=e=>e.startsWith("onUpdate:"),fe=Object.assign,tr=(e,t)=>{const s=e.indexOf(t);s>-1&&e.splice(s,1)},Bn=Object.prototype.hasOwnProperty,q=(e,t)=>Bn.call(e,t),O=Array.isArray,yt=e=>Jt(e)==="[object Map]",It=e=>Jt(e)==="[object Set]",qr=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",Wr=e=>(X(e)||U(e))&&U(e.then)&&U(e.catch),Gr=Object.prototype.toString,Jt=e=>Gr.call(e),qn=e=>Jt(e).slice(8,-1),ms=e=>Jt(e)==="[object Object]",sr=e=>ne(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Xt=xt(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),xs=e=>{const t=Object.create(null);return(s=>t[s]||(t[s]=e(s)))},Wn=/-\w/g,Ie=xs(e=>e.replace(Wn,t=>t.slice(1).toUpperCase())),Gn=/\B([A-Z])/g,Le=xs(e=>e.replace(Gn,"-$1").toLowerCase()),Jr=xs(e=>e.charAt(0).toUpperCase()+e.slice(1)),rr=xs(e=>e?`on${Jr(e)}`:""),Je=(e,t)=>!Object.is(e,t),ys=(e,...t)=>{for(let s=0;s<e.length;s++)e[s](...t)},Xr=(e,t,s,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:s})},vs=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Yr=e=>{const t=ne(e)?Number(e):NaN;return isNaN(t)?e:t};let Zr;const ws=()=>Zr||(Zr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function _s(e){if(O(e)){const t={};for(let s=0;s<e.length;s++){const r=e[s],o=ne(r)?Zn(r):_s(r);if(o)for(const n in o)t[n]=o[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,s=>s.startsWith("/*")?"":s).split(Jn).forEach(s=>{if(s){const r=s.split(Xn);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Ne(e){let t="";if(ne(e))t=e;else if(O(e))for(let s=0;s<e.length;s++){const r=Ne(e[s]);r&&(t+=r+" ")}else if(X(e))for(const s in e)e[s]&&(t+=s+" ");return t.trim()}const Qn=xt("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function Qr(e){return!!e||e===""}function ei(e,t,s){if(e.length!==t.length)return!1;let r=!0;for(let o=0;r&&o<e.length;o++)r=vt(e[o],t[o],s);return r}function eo(e,t,s){if(e.size!==t.size)return!1;const r=Array.from(t),o=new Uint8Array(r.length);for(const n of e){let i=-1;for(let l=0;l<r.length;l++)if(!o[l]&&vt(n,r[l],s)){i=l;break}if(i<0)return!1;o[i]=1}return!0}function ti(e,t,s){let r=yt(e),o=yt(t);if(r||o||(r=It(e),o=It(t),r||o))return r&&o?eo(e,t,s):!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||!vt(e[l],t[l],s))return!1}return String(e)===String(t)}function to(e,t,s,r){s||(s=[new Map,new Map]);const[o,n]=s;if(o.has(e)||n.has(t))return o.get(e)===t&&n.get(t)===e;o.set(e,t),n.set(t,e);const i=r(e,t,s);return o.delete(e),n.delete(t),i}function vt(e,t,s){if(e===t)return!0;let r=qr(e),o=qr(t);return r||o?r&&o?e.getTime()===t.getTime():!1:(r=Ge(e),o=Ge(t),r||o?e===t:(r=O(e),o=O(t),r||o?r&&o?to(e,t,s,ei):!1:(r=X(e),o=X(t),r||o?!r||!o?!1:to(e,t,s,ti):String(e)===String(t))))}function si(e,t){return e.findIndex(s=>vt(s,t))}const so=e=>!!(e&&e.__v_isRef===!0),$=e=>ne(e)?e:e==null?"":O(e)||X(e)&&(e.toString===Gr||!U(e.toString))?so(e)?$(e.value):JSON.stringify(e,ro,2):String(e),ro=(e,t)=>so(t)?ro(e,t.value):yt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((s,[r,o],n)=>(s[or(r,n)+" =>"]=o,s),{})}:It(t)?{[`Set(${t.size})`]:[...t.values()].map(s=>or(s))}:Ge(t)?or(t):X(t)&&!O(t)&&!ms(t)?String(t):t,or=(e,t="")=>{var s;return Ge(e)?`Symbol(${(s=e.description)!=null?s:t})`:e};/**
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};/**
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 ri{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,s;if(this.scopes){const r=this.scopes.slice();for(t=0,s=r.length;t<s;t++)r[t].pause()}for(t=0,s=this.effects.length;t<s;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,s;if(this.scopes){const o=this.scopes.slice();for(t=0,s=o.length;t<s;t++)o[t].resume()}const r=this.effects.slice();for(t=0,s=r.length;t<s;t++)r[t].resume()}}run(t){if(this._active){const s=ge;try{return ge=this,t()}finally{ge=s}}}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 s,r;for(s=0,r=this.effects.length;s<r;s++)this.effects[s].stop();for(this.effects.length=0,s=0,r=this.cleanups.length;s<r;s++)this.cleanups[s]();if(this.cleanups.length=0,this.scopes){const o=this.scopes.slice();for(s=0,r=o.length;s<r;s++)o[s].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0}}}function oi(){return ge}let te;const nr=new WeakSet;class oo{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,nr.has(this)&&(nr.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||io(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,fo(this),lo(this);const t=te,s=He;te=this,He=!0;try{return this.fn()}finally{ao(this),te=t,He=s,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)cr(t);this.deps=this.depsTail=void 0,fo(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?nr.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){ar(this)&&this.run()}get dirty(){return ar(this)}}let no=0,Yt,Zt;function io(e,t=!1){if(e.flags|=8,t){e.next=Zt,Zt=e;return}e.next=Yt,Yt=e}function ir(){no++}function lr(){if(--no>0)return;if(Zt){let t=Zt;for(Zt=void 0;t;){const s=t.next;t.next=void 0,t.flags&=-9,t=s}}let e;for(;Yt;){let t=Yt;for(Yt=void 0;t;){const s=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=s}}if(e)throw e}function lo(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function ao(e){let t,s=e.depsTail,r=s;for(;r;){const o=r.prevDep;r.version===-1?(r===s&&(s=o),cr(r),ni(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}e.deps=t,e.depsTail=s}function ar(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(co(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function co(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||!ar(e))))return;e.flags|=2;const t=e.dep,s=te,r=He;te=e,He=!0;try{lo(e);const o=e.fn(e._value);(t.version===0||Je(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{te=s,He=r,ao(e),e.flags&=-3}}function cr(e,t=!1){const{dep:s,prevSub:r,nextSub:o}=e;if(r&&(r.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=r,e.nextSub=void 0),s.subs===e&&(s.subs=r,!r&&s.computed)){s.computed.flags&=-5;for(let n=s.computed.deps;n;n=n.nextDep)cr(n,!0)}!t&&!--s.sc&&s.map&&s.map.delete(s.key)}function ni(e){const{prevDep:t,nextDep:s}=e;t&&(t.nextDep=s,e.prevDep=void 0),s&&(s.prevDep=t,e.nextDep=void 0)}let He=!0;const uo=[];function Xe(){uo.push(He),He=!1}function Ye(){const e=uo.pop();He=e===void 0?!0:e}function fo(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const s=te;te=void 0;try{t()}finally{te=s}}}let Qt=0;class ii{constructor(t,s){this.sub=t,this.dep=s,this.version=s.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class dr{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 s=this.activeLink;if(s===void 0||s.sub!==te)s=this.activeLink=new ii(te,this),te.deps?(s.prevDep=te.depsTail,te.depsTail.nextDep=s,te.depsTail=s):te.deps=te.depsTail=s,po(s);else if(s.version===-1&&(s.version=this.version,s.nextDep)){const r=s.nextDep;r.prevDep=s.prevDep,s.prevDep&&(s.prevDep.nextDep=r),s.prevDep=te.depsTail,s.nextDep=void 0,te.depsTail.nextDep=s,te.depsTail=s,te.deps===s&&(te.deps=r)}return s}trigger(t){this.version++,Qt++,this.notify(t)}notify(t){ir();try{for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{lr()}}}function po(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)po(r)}const s=e.dep.subs;s!==e&&(e.prevSub=s,s&&(s.nextSub=e)),e.dep.subs=e}}const ur=new WeakMap,Pt=Symbol(""),fr=Symbol(""),es=Symbol("");function ve(e,t,s){if(He&&te){let r=ur.get(e);r||ur.set(e,r=new Map);let o=r.get(s);o||(r.set(s,o=new dr),o.map=r,o.key=s),o.track()}}function lt(e,t,s,r,o,n){const i=ur.get(e);if(!i){Qt++;return}const l=c=>{c&&c.trigger()};if(ir(),t==="clear")i.forEach(l);else{const c=O(e),h=c&&sr(s);if(c&&s==="length"){const p=Number(r);i.forEach((m,A)=>{(A==="length"||A===es||!Ge(A)&&A>=p)&&l(m)})}else switch((s!==void 0||i.has(void 0))&&l(i.get(s)),h&&l(i.get(es)),t){case"add":c?h&&l(i.get("length")):(l(i.get(Pt)),yt(e)&&l(i.get(fr)));break;case"delete":c||(l(i.get(Pt)),yt(e)&&l(i.get(fr)));break;case"set":yt(e)&&l(i.get(Pt));break}}lr()}function $t(e){const t=H(e);return t===e||(ve(t,"iterate",es),Ve(e))?t:Qe(e)?wt(e)?t.map(s=>_t($e(s))):t.map(_t):t.map($e)}function ks(e){return ve(e=H(e),"iterate",es),e}function Ze(e,t){return Qe(e)?_t(wt(e)?$e(t):t):$e(t)}const li={__proto__:null,[Symbol.iterator](){return pr(this,Symbol.iterator,e=>Ze(this,e))},concat(...e){return $t(this).concat(...e.map(t=>O(t)?$t(t):t))},entries(){return pr(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,s=>s.map(r=>Ze(this,r)),arguments)},find(e,t){return at(this,"find",e,t,s=>Ze(this,s),arguments)},findIndex(e,t){return at(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return at(this,"findLast",e,t,s=>Ze(this,s),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 hr(this,"includes",e)},indexOf(...e){return hr(this,"indexOf",e)},join(e){return $t(this).join(e)},lastIndexOf(...e){return hr(this,"lastIndexOf",e)},map(e,t){return at(this,"map",e,t,void 0,arguments)},pop(){return ts(this,"pop")},push(...e){return ts(this,"push",e)},reduce(e,...t){return ho(this,"reduce",e,t)},reduceRight(e,...t){return ho(this,"reduceRight",e,t)},shift(){return ts(this,"shift")},some(e,t){return at(this,"some",e,t,void 0,arguments)},splice(...e){return ts(this,"splice",e)},toReversed(){return $t(this).toReversed()},toSorted(e){return $t(this).toSorted(e)},toSpliced(...e){return $t(this).toSpliced(...e)},unshift(...e){return ts(this,"unshift",e)},values(){return pr(this,"values",e=>Ze(this,e))}};function pr(e,t,s){const r=ks(e),o=r[t]();return r!==e&&!Ve(e)&&(o._next=o.next,o.next=()=>{const n=o._next();return n.done||(n.value=s(n.value)),n}),o}const ai=Array.prototype;function at(e,t,s,r,o,n){const i=ks(e),l=i!==e&&!Ve(e),c=i[t];if(c!==ai[t]){const m=c.apply(e,n);return l?$e(m):m}let h=s;i!==e&&(l?h=function(m,A){return s.call(this,Ze(e,m),A,e)}:s.length>2&&(h=function(m,A){return s.call(this,m,A,e)}));const p=c.call(i,h,r);return l&&o?o(p):p}function ho(e,t,s,r){const o=ks(e),n=o!==e&&!Ve(e);let i=s,l=!1;o!==e&&(n?(l=r.length===0,i=function(h,p,m){return l&&(l=!1,h=Ze(e,h)),s.call(this,h,Ze(e,p),m,e)}):s.length>3&&(i=function(h,p,m){return s.call(this,h,p,m,e)}));const c=o[t](i,...r);return l?Ze(e,c):c}function hr(e,t,s){const r=H(e);ve(r,"iterate",es);const o=r[t](...s);return(o===-1||o===!1)&&xr(s[0])?(s[0]=H(s[0]),r[t](...s)):o}function ts(e,t,s=[]){Xe(),ir();const r=H(e)[t].apply(e,s);return lr(),Ye(),r}const ci=xt("__proto__,__v_isRef,__isVue"),go=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 ve(t,"has",e),t.hasOwnProperty(e)}class bo{constructor(t=!1,s=!1){this._isReadonly=t,this._isShallow=s}get(t,s,r){if(s==="__v_skip")return t.__v_skip;const o=this._isReadonly,n=this._isShallow;if(s==="__v_isReactive")return!o;if(s==="__v_isReadonly")return o;if(s==="__v_isShallow")return n;if(s==="__v_raw")return r===(o?n?_o:wo:n?vo:yo).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=O(t);if(!o){let c;if(i&&(c=li[s]))return c;if(s==="hasOwnProperty")return di}const l=Reflect.get(t,s,be(t)?t:r);if((Ge(s)?go.has(s):ci(s))||(o||ve(t,"get",s),n))return l;if(be(l)){const c=i&&sr(s)?l:l.value;return o&&X(c)?mr(c):c}return X(l)?o?mr(l):br(l):l}}class mo extends bo{constructor(t=!1){super(!1,t)}set(t,s,r,o){let n=t[s];const i=O(t)&&sr(s);if(!this._isShallow){const h=Qe(n);if(!Ve(r)&&!Qe(r)&&(n=H(n),r=H(r)),!i&&be(n)&&!be(r))return h||(n.value=r),!0}const l=i?Number(s)<t.length:q(t,s),c=Reflect.set(t,s,r,be(t)?t:o);return t===H(o)&&c&&(l?Je(r,n)&&lt(t,"set",s,r):lt(t,"add",s,r)),c}deleteProperty(t,s){const r=q(t,s);t[s];const o=Reflect.deleteProperty(t,s);return o&&r&&lt(t,"delete",s,void 0),o}has(t,s){const r=Reflect.has(t,s);return(!Ge(s)||!go.has(s))&&ve(t,"has",s),r}ownKeys(t){return ve(t,"iterate",O(t)?"length":Pt),Reflect.ownKeys(t)}}class xo extends bo{constructor(t=!1){super(!0,t)}set(t,s){return!0}deleteProperty(t,s){return!0}}const ui=new mo,fi=new xo,pi=new mo(!0),hi=new xo(!0),gr=e=>e,Ss=e=>Reflect.getPrototypeOf(e);function gi(e,t,s){return function(...r){const o=this.__v_raw,n=H(o),i=yt(n),l=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,h=o[e](...r),p=s?gr:t?_t:$e;return!t&&ve(n,"iterate",c?fr: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 Cs(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function bi(e,t){const s={get(o){const n=this.__v_raw,i=H(n),l=H(o);e||(Je(o,l)&&ve(i,"get",o),ve(i,"get",l));const{has:c}=Ss(i),h=t?gr:e?_t:$e;if(c.call(i,o))return h(n.get(o));if(c.call(i,l))return h(n.get(l));n!==i&&n.get(o)},get size(){const o=this.__v_raw;return!e&&ve(H(o),"iterate",Pt),o.size},has(o){const n=this.__v_raw,i=H(n),l=H(o);return e||(Je(o,l)&&ve(i,"has",o),ve(i,"has",l)),o===l?n.has(o):n.has(o)||n.has(l)},forEach(o,n){const i=this,l=i.__v_raw,c=H(l),h=t?gr:e?_t:$e;return!e&&ve(c,"iterate",Pt),l.forEach((p,m)=>o.call(n,h(p),h(m),i))}};return fe(s,e?{add:Cs("add"),set:Cs("set"),delete:Cs("delete"),clear:Cs("clear")}:{add(o){const n=H(this),i=Ss(n),l=H(o),c=!t&&!Ve(o)&&!Qe(o)?l:o;return i.has.call(n,c)||Je(o,c)&&i.has.call(n,o)||Je(l,c)&&i.has.call(n,l)||(n.add(c),lt(n,"add",c,c)),this},set(o,n){!t&&!Ve(n)&&!Qe(n)&&(n=H(n));const i=H(this),{has:l,get:c}=Ss(i);let h=l.call(i,o);h||(o=H(o),h=l.call(i,o));const p=c.call(i,o);return i.set(o,n),h?Je(n,p)&&lt(i,"set",o,n):lt(i,"add",o,n),this},delete(o){const n=H(this),{has:i,get:l}=Ss(n);let c=i.call(n,o);c||(o=H(o),c=i.call(n,o)),l&&l.call(n,o);const h=n.delete(o);return c&&lt(n,"delete",o,void 0),h},clear(){const o=H(this),n=o.size!==0,i=o.clear();return n&&lt(o,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(o=>{s[o]=gi(o,e,t)}),s}function Ts(e,t){const s=bi(e,t);return(r,o,n)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(q(s,o)&&o in r?s:r,o,n)}const mi={get:Ts(!1,!1)},xi={get:Ts(!1,!0)},yi={get:Ts(!0,!1)},vi={get:Ts(!0,!0)},yo=new WeakMap,vo=new WeakMap,wo=new WeakMap,_o=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 br(e){return Qe(e)?e:As(e,!1,ui,mi,yo)}function _i(e){return As(e,!1,pi,xi,vo)}function mr(e){return As(e,!0,fi,yi,wo)}function Eu(e){return As(e,!0,hi,vi,_o)}function As(e,t,s,r,o){if(!X(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const n=o.get(e);if(n)return n;const i=wi(qn(e));if(i===0)return e;const l=new Proxy(e,i===2?r:s);return o.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 Ve(e){return!!(e&&e.__v_isShallow)}function xr(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)&&Xr(e,"__v_skip",!0),e}const $e=e=>X(e)?br(e):e,_t=e=>X(e)?mr(e):e;function be(e){return e?e.__v_isRef===!0:!1}function z(e){return Si(e,!1)}function Si(e,t){return be(e)?e:new Ci(e,t)}class Ci{constructor(t,s){this.dep=new dr,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?t:H(t),this._value=s?t:$e(t),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(t){const s=this._rawValue,r=this.__v_isShallow||Ve(t)||Qe(t);t=r?t:H(t),Je(t,s)&&(this._rawValue=t,this._value=r?t:$e(t),this.dep.trigger())}}function N(e){return be(e)?e.value:e}const Ti={get:(e,t,s)=>t==="__v_raw"?e:N(Reflect.get(e,t,s)),set:(e,t,s,r)=>{const o=e[t];return be(o)&&!be(s)?(o.value=s,!0):Reflect.set(e,t,s,r)}};function ko(e){return wt(e)?e:new Proxy(e,Ti)}class Ai{constructor(t,s,r){this.fn=t,this.setter=s,this._value=void 0,this.dep=new dr(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=!s,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&te!==this)return io(this,!0),!0}get value(){const t=this.dep.track();return co(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Ii(e,t,s=!1){let r,o;return U(e)?r=e:(r=e.get,o=e.set),new Ai(r,o,s)}const Is={},Ps=new WeakMap;let Mt;function Pi(e,t=!1,s=Mt){if(s){let r=Ps.get(s);r||Ps.set(s,r=[]),r.push(e)}}function Mi(e,t,s=ee){const{immediate:r,deep:o,once:n,scheduler:i,augmentJob:l,call:c}=s,h=P=>o?P:Ve(P)||o===!1||o===0?ct(P,1):ct(P);let p,m,A,I,W=!1,V=!1;if(be(e)?(m=()=>e.value,W=Ve(e)):wt(e)?(m=()=>h(e),W=!0):O(e)?(V=!0,W=e.some(P=>wt(P)||Ve(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&&o){const P=m,Z=o===!0?1/0:o;m=()=>ct(P(),Z)}const ae=oi(),re=()=>{p.stop(),ae&&ae.active&&tr(ae.effects,p)};if(n&&t){const P=t;t=(...Z)=>{const Ae=P(...Z);return re(),Ae}}let D=V?new Array(e.length).fill(Is):Is;const B=P=>{if(!(!(p.flags&1)||!p.dirty&&!P))if(t){const Z=p.run();if(P||o||W||(V?Z.some((Ae,me)=>Je(Ae,D[me])):Je(Z,D))){A&&A();const Ae=Mt;Mt=p;try{const me=[Z,D===Is?void 0:V&&D[0]===Is?[]:D,I];D=Z,c?c(t,3,me):t(...me)}finally{Mt=Ae}}}else p.run()};return l&&l(B),p=new oo(m),p.scheduler=i?()=>i(B,!1):B,I=P=>Pi(P,!1,p),A=p.onStop=()=>{const P=Ps.get(p);if(P){if(c)c(P,4);else for(const Z of P)Z();Ps.delete(p)}},t?r?B(!0):D=p.run():i?i(B.bind(null,!0),!0):p.run(),re.pause=p.pause.bind(p),re.resume=p.resume.bind(p),re.stop=re,re}function ct(e,t=1/0,s){if(t<=0||!X(e)||e.__v_skip||(s=s||new Map,(s.get(e)||0)>=t))return e;if(s.set(e,t),t--,be(e))ct(e.value,t,s);else if(O(e))for(let r=0;r<e.length;r++)ct(e[r],t,s);else if(It(e)||yt(e))e.forEach(r=>{ct(r,t,s)});else if(ms(e)){for(const r in e)ct(e[r],t,s);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&ct(e[r],t,s)}return e}/**
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}/**
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 ss=[];let yr=!1;function Ru(e,...t){if(yr)return;yr=!0,Xe();const s=ss.length?ss[ss.length-1].component:null,r=s&&s.appContext.config.warnHandler,o=Ei();if(r)Ft(r,s,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(""),s&&s.proxy,o.map(({vnode:n})=>`at <${vn(s,n.type)}>`).join(`
14
- `),o]);else{const n=[`[Vue warn]: ${e}`,...t];o.length&&n.push(`
15
- `,...Ri(o)),console.warn(...n)}Ye(),yr=!1}function Ei(){let e=ss[ss.length-1];if(!e)return[];const t=[];for(;e;){const s=t[0];s&&s.vnode===e?s.recurseCount++:t.push({vnode:e,recurseCount:0});const r=e.component&&e.component.parent;e=r&&r.vnode}return t}function Ri(e){const t=[];return e.forEach((s,r)=>{t.push(...r===0?[]:[`
16
- `],...Oi(s))}),t}function Oi({vnode:e,recurseCount:t}){const s=t>0?`... (${t} recursive calls)`:"",r=e.component?e.component.parent==null:!1,o=` at <${vn(e.component,e.type,r)}`,n=">"+s;return e.props?[o,...ji(e.props),n]:[o+n]}function ji(e){const t=[],s=Object.keys(e);return s.slice(0,3).forEach(r=>{t.push(...So(r,e[r]))}),s.length>3&&t.push(" ..."),t}function So(e,t,s){return ne(t)?(t=JSON.stringify(t),s?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?s?t:[`${e}=${t}`]:be(t)?(t=So(e,H(t.value),!0),s?t:[`${e}=Ref<`,t,">"]):U(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=H(t),s?t:[`${e}=`,t])}function Ft(e,t,s,r){try{return r?e(...r):e()}catch(o){Ms(o,t,s)}}function Be(e,t,s,r){if(U(e)){const o=Ft(e,t,s,r);return o&&Wr(o)&&o.catch(n=>{Ms(n,t,s)}),o}if(O(e)){const o=[];for(let n=0;n<e.length;n++)o.push(Be(e[n],t,s,r));return o}}function Ms(e,t,s,r=!0){const o=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-${s}`;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(),Ft(n,null,10,[e,c,h]),Ye();return}}Ni(e,s,o,r,i)}function Ni(e,t,s,r=!0,o=!1){if(o)throw e;console.error(e)}const _e=[];let et=-1;const Kt=[];let kt=null,Dt=0;const Co=Promise.resolve();let Es=null;function vr(e){const t=Es||Co;return e?t.then(this?e.bind(this):e):t}function Ui(e){let t=et+1,s=_e.length;for(;t<s;){const r=t+s>>>1,o=_e[r],n=rs(o);n<e||n===e&&o.flags&2?t=r+1:s=r}return t}function wr(e){if(!(e.flags&1)){const t=rs(e),s=_e[_e.length-1];!s||!(e.flags&2)&&t>=rs(s)?_e.push(e):_e.splice(Ui(t),0,e),e.flags|=1,To()}}function To(){Es||(Es=Co.then(Po))}function Li(e){if(!O(e))kt&&e.id===-1?kt.splice(Dt+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]);To()}function Ao(e,t,s=et+1){for(;s<_e.length;s++){const r=_e[s];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;_e.splice(s,1),s--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function Io(e){if(Kt.length){const t=[...new Set(Kt)].sort((s,r)=>rs(s)-rs(r));if(Kt.length=0,kt){for(let s=0;s<t.length;s++)kt.push(t[s]);return}for(kt=t,Dt=0;Dt<kt.length;Dt++){const s=kt[Dt];s.flags&4&&(s.flags&=-2),s.flags&8||s(),s.flags&=-2}kt=null,Dt=0}}const rs=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Po(e){try{for(et=0;et<_e.length;et++){const t=_e[et];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Ft(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,Io(),Es=null,(_e.length||Kt.length)&&Po()}}let Fe=null,Mo=null;function Rs(e){const t=Fe;return Fe=e,Mo=e&&e.type.__scopeId||null,t}function Vi(e,t=Fe,s){if(!t||e._n)return e;const r=(...o)=>{r._d&&Fs(-1);const n=Rs(t),i=jt.length;let l;try{l=e(...o)}finally{for(let c=jt.length;c>i;c--)pn();Rs(n),r._d&&Fs(1)}return l};return r._n=!0,r._c=!0,r._d=!0,r}function ke(e,t){if(Fe===null)return e;const s=Bs(Fe),r=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[n,i,l,c=ee]=t[o];n&&(U(n)&&(n={mounted:n,updated:n}),n.deep&&ct(i),r.push({dir:n,instance:s,value:i,oldValue:void 0,arg:l,modifiers:c}))}return e}function Et(e,t,s,r){const o=e.dirs,n=t&&t.dirs;for(let i=0;i<o.length;i++){const l=o[i];n&&(l.oldValue=n[i].value);let c=l.dir[r];c&&(Xe(),Be(c,s,8,[e.el,l,e,t]),Ye())}}function $i(e,t){if(Te){let s=Te.provides;const r=Te.parent&&Te.parent.provides;r===s&&(s=Te.provides=Object.create(r)),s[e]=t}}function Os(e,t,s=!1){const r=Nl();if(r||Ht){let o=Ht?Ht._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return s&&U(t)?t.call(r&&r.proxy):t}}const Fi=Symbol.for("v-scx"),Ki=()=>Os(Fi);function Rt(e,t,s){return Eo(e,t,s)}function Eo(e,t,s=ee){const{immediate:r,deep:o,flush:n,once:i}=s,l=fe({},s),c=t&&r||!t&&n!=="post";let h;if(fs){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,V)=>Be(I,p,W,V);let m=!1;n==="post"?l.scheduler=I=>{Pe(I,p&&p.suspense)}:n!=="sync"&&(m=!0,l.scheduler=(I,W)=>{W?I():wr(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 fs&&(h?h.push(A):c&&A()),A}function Di(e,t,s){const r=this.proxy,o=ne(e)?e.includes(".")?Ro(r,e):()=>r[e]:e.bind(r,r);let n;U(t)?n=t:(n=t.handler,s=t);const i=us(this),l=Eo(o,n.bind(r),s);return i(),l}function Ro(e,t){const s=t.split(".");return()=>{let r=e;for(let o=0;o<s.length&&r;o++)r=r[s[o]];return r}}const zi=Symbol("_vte"),js=e=>e.__isTeleport,_r=Symbol("_leaveCb");function Hi(e){let t=e[0];if(e.length>1){for(const s of e)if(s.type!==ut){t=s;break}}return t}function Oo(e){if(!Sr(e))return js(e.type)&&e.children?Hi(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:s}=e;if(s){if(t&16)return s[0];if(t&32&&U(s.default))return s.default()}}function kr(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;const s=e.component.subTree;kr(js(s.type)&&Oo(s)||s,t)}else e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function jo(e,t){return U(e)?fe({name:e.name},t,{setup:e}):e}function No(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Uo(e,t){let s;return!!((s=Object.getOwnPropertyDescriptor(e,t))&&!s.configurable)}const Ns=new WeakMap;function os(e,t,s,r,o=!1){if(O(e)){e.forEach((V,ae)=>os(V,t&&(O(t)?t[ae]:t),s,r,o));return}if(ns(r)&&!o){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&os(e,t,s,r.component.subTree);return}const n=r.shapeFlag&4?Bs(r.component):r.el,i=o?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?Br:V=>Uo(p,V)?!1:q(A,V),W=(V,ae)=>!(ae&&Uo(p,ae));if(h!=null&&h!==c){if(Lo(t),ne(h))p[h]=null,I(h)&&(m[h]=null);else if(be(h)){const V=t;W(h,V.k)&&(h.value=null),V.k&&(p[V.k]=null)}}if(U(c))Ft(c,l,12,[i,p]);else{const V=ne(c),ae=be(c);if(V||ae){const re=()=>{if(e.f){const D=V?I(c)?m[c]:p[c]:W()||!e.k?c.value:p[e.k];if(o)O(D)&&tr(D,n);else if(O(D))D.includes(n)||D.push(n);else if(V)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 V?(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 D=()=>{re(),Ns.delete(e)};D.id=-1,Ns.set(e,D),Pe(D,s)}else Lo(e),re()}}}function Lo(e){const t=Ns.get(e);t&&(t.flags|=8,Ns.delete(e))}ws().requestIdleCallback,ws().cancelIdleCallback;const ns=e=>!!e.type.__asyncLoader,Sr=e=>e.type.__isKeepAlive;function Bi(e,t){Vo(e,"a",t)}function qi(e,t){Vo(e,"da",t)}function Vo(e,t,s=Te){const r=e.__wdc||(e.__wdc=()=>{let o=s;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Us(t,r,s),s){let o=s.parent;for(;o&&o.parent;)Sr(o.parent.vnode)&&Wi(r,t,s,o),o=o.parent}}function Wi(e,t,s,r){const o=Us(t,e,r,!0);Fo(()=>{tr(r[t],o)},s)}function Us(e,t,s=Te,r=!1){if(s){const o=s[e]||(s[e]=[]),n=t.__weh||(t.__weh=(...i)=>{Xe();const l=us(s),c=Be(t,s,e,i);return l(),Ye(),c});return r?o.unshift(n):o.push(n),n}}const dt=e=>(t,s=Te)=>{(!fs||e==="sp")&&Us(e,(...r)=>t(...r),s)},Gi=dt("bm"),$o=dt("m"),Ji=dt("bu"),Xi=dt("u"),Yi=dt("bum"),Fo=dt("um"),Zi=dt("sp"),Qi=dt("rtg"),el=dt("rtc");function tl(e,t=Te){Us("ec",e,t)}const sl=Symbol.for("v-ndc");function zt(e,t,s,r){let o;const n=s,i=O(e);if(i||ne(e)){const l=i&&wt(e);let c=!1,h=!1;l&&(c=!Ve(e),h=Qe(e),e=ks(e)),o=new Array(e.length);for(let p=0,m=e.length;p<m;p++)o[p]=t(c?h?_t($e(e[p])):$e(e[p]):e[p],p,void 0,n)}else if(typeof e=="number"){o=new Array(e);for(let l=0;l<e;l++)o[l]=t(l+1,l,void 0,n)}else if(X(e))if(e[Symbol.iterator])o=Array.from(e,(l,c)=>t(l,c,void 0,n));else{const l=Object.keys(e);o=new Array(l.length);for(let c=0,h=l.length;c<h;c++){const p=l[c];o[c]=t(e[p],p,c,n)}}else o=[];return o}const Cr=e=>e?mn(e)?Bs(e):Cr(e.parent):null,is=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=>Cr(e.parent),$root:e=>Cr(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Ho(e),$forceUpdate:e=>e.f||(e.f=()=>{wr(e.update)}),$nextTick:e=>e.n||(e.n=vr.bind(e.proxy)),$watch:e=>Di.bind(e)}),Tr=(e,t)=>e!==ee&&!e.__isScriptSetup&&q(e,t),rl={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:s,setupState:r,data:o,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 r[t];case 2:return o[t];case 4:return s[t];case 3:return n[t]}else{if(Tr(r,t))return i[t]=1,r[t];if(o!==ee&&q(o,t))return i[t]=2,o[t];if(q(n,t))return i[t]=3,n[t];if(s!==ee&&q(s,t))return i[t]=4,s[t];Ar&&(i[t]=0)}}const h=is[t];let p,m;if(h)return t==="$attrs"&&ve(e.attrs,"get",""),h(e);if((p=l.__cssModules)&&(p=p[t]))return p;if(s!==ee&&q(s,t))return i[t]=4,s[t];if(m=c.config.globalProperties,q(m,t))return m[t]},set({_:e},t,s){const{data:r,setupState:o,ctx:n}=e;return Tr(o,t)?(o[t]=s,!0):r!==ee&&q(r,t)?(r[t]=s,!0):q(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(n[t]=s,!0)},has({_:{data:e,setupState:t,accessCache:s,ctx:r,appContext:o,props:n,type:i}},l){let c;return!!(s[l]||e!==ee&&l[0]!=="$"&&q(e,l)||Tr(t,l)||q(n,l)||q(r,l)||q(is,l)||q(o.config.globalProperties,l)||(c=i.__cssModules)&&c[l])},defineProperty(e,t,s){return s.get!=null?e._.accessCache[t]=0:q(s,"value")&&this.set(e,t,s.value,null),Reflect.defineProperty(e,t,s)}};function Ko(e){return O(e)?e.reduce((t,s)=>(t[s]=null,t),{}):e}let Ar=!0;function ol(e){const t=Ho(e),s=e.proxy,r=e.ctx;Ar=!1,t.beforeCreate&&Do(t.beforeCreate,e,"bc");const{data:o,computed:n,methods:i,watch:l,provide:c,inject:h,created:p,beforeMount:m,mounted:A,beforeUpdate:I,updated:W,activated:V,deactivated:ae,beforeDestroy:re,beforeUnmount:D,destroyed:B,unmounted:P,render:Z,renderTracked:Ae,renderTriggered:me,errorCaptured:he,serverPrefetch:Ee,expose:ot,inheritAttrs:St,components:nt,directives:gt,filters:bt}=t;if(h&&nl(h,r,null),i)for(const Q in i){const G=i[Q];U(G)&&(r[Q]=G.bind(s))}if(o){const Q=o.call(s,s);X(Q)&&(e.data=br(Q))}if(Ar=!0,n)for(const Q in n){const G=n[Q],Ke=U(G)?G.bind(s,s):U(G.get)?G.get.bind(s,s):We,ce=!U(G)&&U(G.set)?G.set.bind(s):We,Re=rt({get:Ke,set:ce});Object.defineProperty(r,Q,{enumerable:!0,configurable:!0,get:()=>Re.value,set:xe=>Re.value=xe})}if(l)for(const Q in l)zo(l[Q],r,s,Q);if(c){const Q=U(c)?c.call(s):c;Reflect.ownKeys(Q).forEach(G=>{$i(G,Q[G])})}p&&Do(p,e,"c");function oe(Q,G){O(G)?G.forEach(Ke=>Q(Ke.bind(s))):G&&Q(G.bind(s))}if(oe(Gi,m),oe($o,A),oe(Ji,I),oe(Xi,W),oe(Bi,V),oe(qi,ae),oe(tl,he),oe(el,Ae),oe(Qi,me),oe(Yi,D),oe(Fo,P),oe(Zi,Ee),O(ot))if(ot.length){const Q=e.exposed||(e.exposed={});ot.forEach(G=>{Object.defineProperty(Q,G,{get:()=>s[G],set:Ke=>s[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&&No(e)}function nl(e,t,s=We){O(e)&&(e=Ir(e));for(const r in e){const o=e[r];let n;X(o)?"default"in o?n=Os(o.from||r,o.default,!0):n=Os(o.from||r):n=Os(o),be(n)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>n.value,set:i=>n.value=i}):t[r]=n}}function Do(e,t,s){Be(O(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,s)}function zo(e,t,s,r){let o=r.includes(".")?Ro(s,r):()=>s[r];if(ne(e)){const n=t[e];U(n)&&Rt(o,n)}else if(U(e))Rt(o,e.bind(s));else if(X(e))if(O(e))e.forEach(n=>zo(n,t,s,r));else{const n=U(e.handler)?e.handler.bind(s):t[e.handler];U(n)&&Rt(o,n,e)}}function Ho(e){const t=e.type,{mixins:s,extends:r}=t,{mixins:o,optionsCache:n,config:{optionMergeStrategies:i}}=e.appContext,l=n.get(t);let c;return l?c=l:!o.length&&!s&&!r?c=t:(c={},o.length&&o.forEach(h=>Ls(c,h,i,!0)),Ls(c,t,i)),X(t)&&n.set(t,c),c}function Ls(e,t,s,r=!1){const{mixins:o,extends:n}=t;n&&Ls(e,n,s,!0),o&&o.forEach(i=>Ls(e,i,s,!0));for(const i in t)if(!(r&&i==="expose")){const l=il[i]||s&&s[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const il={data:Bo,props:qo,emits:qo,methods:ls,computed:ls,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:ls,directives:ls,watch:al,provide:Bo,inject:ll};function Bo(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 ls(Ir(e),Ir(t))}function Ir(e){if(O(e)){const t={};for(let s=0;s<e.length;s++)t[e[s]]=e[s];return t}return e}function Se(e,t){return e?[...new Set([].concat(e,t))]:t}function ls(e,t){return e?fe(Object.create(null),e,t):t}function qo(e,t){return e?O(e)&&O(t)?[...new Set([...e,...t])]:fe(Object.create(null),Ko(e),Ko(t??{})):t}function al(e,t){if(!e)return t;if(!t)return e;const s=fe(Object.create(null),e);for(const r in t)s[r]=Se(e[r],t[r]);return s}function Wo(){return{app:null,config:{isNativeTag:Br,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(r,o=null){U(r)||(r=fe({},r)),o!=null&&!X(o)&&(o=null);const n=Wo(),i=new WeakSet,l=[];let c=!1;const h=n.app={_uid:cl++,_component:r,_props:o,_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(r,o);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,Bs(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,...s){if(e.isUnmounted)return;const r=e.vnode.props||ee;let o=s;const n=t.startsWith("update:"),i=n&&ul(r,t.slice(7));i&&(i.trim&&(o=s.map(p=>ne(p)?p.trim():p)),i.number&&(o=o.map(vs)));let l,c=r[l=rr(t)]||r[l=rr(Ie(t))];!c&&n&&(c=r[l=rr(Le(t))]),c&&Be(c,e,6,o);const h=r[l+"Once"];if(h){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Be(h,e,6,o)}}const pl=new WeakMap;function Go(e,t,s=!1){const r=s?pl:t.emitsCache,o=r.get(e);if(o!==void 0)return o;const n=e.emits;let i={},l=!1;if(!U(e)){const c=h=>{const p=Go(h,t,!0);p&&(l=!0,fe(i,p))};!s&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!n&&!l?(X(e)&&r.set(e,null),null):(O(n)?n.forEach(c=>i[c]=null):fe(i,n),X(e)&&r.set(e,i),i)}function Vs(e,t){return!e||!gs(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 Jo(e){const{type:t,vnode:s,proxy:r,withProxy:o,propsOptions:[n],slots:i,attrs:l,emit:c,render:h,renderCache:p,props:m,data:A,setupState:I,ctx:W,inheritAttrs:V}=e,ae=Rs(e);let re,D;try{if(s.shapeFlag&4){const P=o||r,Z=P;re=tt(h.call(Z,P,p,m,I,A,W)),D=l}else{const P=t;re=tt(P.length>1?P(m,{attrs:l,slots:i,emit:c}):P(m,null)),D=t.props?l:hl(l)}}catch(P){jt.length=0,Ms(P,e,1),re=R(ut)}let B=re;if(D&&V!==!1){const P=Object.keys(D),{shapeFlag:Z}=B;P.length&&Z&7&&(n&&P.some(bs)&&(D=gl(D,n)),B=Bt(B,D,!1,!0))}if(s.dirs&&(B=Bt(B,null,!1,!0),B.dirs=B.dirs?B.dirs.concat(s.dirs):s.dirs),s.transition){const P=js(B.type)&&Oo(B)||B;kr(P,s.transition)}return re=B,Rs(ae),re}const hl=e=>{let t;for(const s in e)(s==="class"||s==="style"||gs(s))&&((t||(t={}))[s]=e[s]);return t},gl=(e,t)=>{const s={};for(const r in e)(!bs(r)||!(r.slice(9)in t))&&(s[r]=e[r]);return s};function bl(e,t,s){const{props:r,children:o,component:n}=e,{props:i,children:l,patchFlag:c}=t,h=n.emitsOptions;if(t.dirs||t.transition)return!0;if(s&&c>=0){if(c&1024)return!0;if(c&16)return r?Xo(r,i,h):!!i;if(c&8){const p=t.dynamicProps;for(let m=0;m<p.length;m++){const A=p[m];if(Yo(i,r,A)&&!Vs(h,A))return!0}}}else return(o||l)&&(!l||!l.$stable)?!0:r===i?!1:r?i?Xo(r,i,h):!0:!!i;return!1}function Xo(e,t,s){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;o<r.length;o++){const n=r[o];if(Yo(t,e,n)&&!Vs(s,n))return!0}return!1}function Yo(e,t,s){const r=e[s],o=t[s];return s==="style"&&X(r)&&X(o)?!vt(r,o):r!==o}function ml({vnode:e,parent:t,suspense:s},r){for(;t;){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===e&&(o.suspense.vnode.el=o.el=r,e=o),o===e)(e=t.vnode).el=r,t=t.parent;else break}s&&s.activeBranch===e&&(s.vnode.el=r)}const Zo={},Qo=()=>Object.create(Zo),en=e=>Object.getPrototypeOf(e)===Zo;function xl(e,t,s,r=!1){const o={},n=Qo();e.propsDefaults=Object.create(null),tn(e,t,o,n);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);s?e.props=r?o:_i(o):e.type.props?e.props=o:e.props=n,e.attrs=n}function yl(e,t,s,r){const{props:o,attrs:n,vnode:{patchFlag:i}}=e,l=H(o),[c]=e.propsOptions;let h=!1;if((r||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(Vs(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);o[W]=Pr(c,l,W,I,e,!1)}else I!==n[A]&&(n[A]=I,h=!0)}}}else{tn(e,t,o,n)&&(h=!0);let p;for(const m in l)(!t||!q(t,m)&&((p=Le(m))===m||!q(t,p)))&&(c?s&&(s[m]!==void 0||s[p]!==void 0)&&(o[m]=Pr(c,l,m,void 0,e,!0)):delete o[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,s,r){const[o,n]=e.propsOptions;let i=!1,l;if(t)for(let c in t){if(Xt(c))continue;const h=t[c];let p;o&&q(o,p=Ie(c))?!n||!n.includes(p)?s[p]=h:(l||(l={}))[p]=h:Vs(e.emitsOptions,c)||(!(c in r)||h!==r[c])&&(r[c]=h,i=!0)}if(n){const c=H(s),h=l||ee;for(let p=0;p<n.length;p++){const m=n[p];s[m]=Pr(o,c,m,h[m],e,!q(h,m))}}return i}function Pr(e,t,s,r,o,n){const i=e[s];if(i!=null){const l=q(i,"default");if(l&&r===void 0){const c=i.default;if(i.type!==Function&&!i.skipFactory&&U(c)){const{propsDefaults:h}=o;if(s in h)r=h[s];else{const p=us(o);r=h[s]=c.call(null,t),p()}}else r=c;o.ce&&o.ce._setProp(s,r)}i[0]&&(n&&!l?r=!1:i[1]&&(r===""||r===Le(s))&&(r=!0))}return r}const vl=new WeakMap;function sn(e,t,s=!1){const r=s?vl:t.propsCache,o=r.get(e);if(o)return o;const n=e.props,i={},l=[];let c=!1;if(!U(e)){const p=m=>{c=!0;const[A,I]=sn(m,t,!0);fe(i,A),I&&l.push(...I)};!s&&t.mixins.length&&t.mixins.forEach(p),e.extends&&p(e.extends),e.mixins&&e.mixins.forEach(p)}if(!n&&!c)return X(e)&&r.set(e,At),At;if(O(n))for(let p=0;p<n.length;p++){const m=Ie(n[p]);rn(m)&&(i[m]=ee)}else if(n)for(const p in n){const m=Ie(p);if(rn(m)){const A=n[p],I=i[m]=O(A)||U(A)?{type:A}:fe({},A),W=I.type;let V=!1,ae=!0;if(O(W))for(let re=0;re<W.length;++re){const D=W[re],B=U(D)&&D.name;if(B==="Boolean"){V=!0;break}else B==="String"&&(ae=!1)}else V=U(W)&&W.name==="Boolean";I[0]=V,I[1]=ae,(V||q(I,"default"))&&l.push(m)}}const h=[i,l];return X(e)&&r.set(e,h),h}function rn(e){return e[0]!=="$"&&!Xt(e)}const Mr=e=>e==="_"||e==="_ctx"||e==="$stable",Er=e=>O(e)?e.map(tt):[tt(e)],wl=(e,t,s)=>{if(t._n)return t;const r=Vi((...o)=>Er(t(...o)),s);return r._c=!1,r},on=(e,t,s)=>{const r=e._ctx;for(const o in e){if(Mr(o))continue;const n=e[o];if(U(n))t[o]=wl(o,n,r);else if(n!=null){const i=Er(n);t[o]=()=>i}}},nn=(e,t)=>{const s=Er(t);e.slots.default=()=>s},ln=(e,t,s)=>{for(const r in t)(s||!Mr(r))&&(e[r]=t[r])},_l=(e,t,s)=>{const r=e.slots=Qo();if(e.vnode.shapeFlag&32){const o=t._;o?(ln(r,t,s),s&&Xr(r,"_",o,!0)):on(t,r)}else t&&nn(e,t)},kl=(e,t,s)=>{const{vnode:r,slots:o}=e;let n=!0,i=ee;if(r.shapeFlag&32){const l=t._;l?s&&l===1?n=!1:ln(o,t,s):(n=!t.$stable,on(t,o)),i=t}else t&&(nn(e,t),i={default:1});if(n)for(const l in o)!Mr(l)&&i[l]==null&&delete o[l]},Pe=Il;function Sl(e){return Cl(e)}function Cl(e,t){const s=ws();s.__VUE__=!0;const{insert:r,remove:o,patchProp:n,createElement:i,createText:l,createComment:c,setText:h,setElementText:p,parentNode:m,nextSibling:A,setScopeId:I=We,insertStaticContent:W}=e,V=(u,f,b,w=null,x=null,y=null,C=void 0,S=null,k=!!f.dynamicChildren)=>{if(u===f)return;u&&!cs(u,f)&&(w=Vt(u),xe(u,x,y,!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:v,ref:M,shapeFlag:T}=f;switch(v){case $s:ae(u,f,b,w);break;case ut:re(u,f,b,w);break;case Or:u==null&&D(f,b,w,C);break;case Ce:nt(u,f,b,w,x,y,C,S,k);break;default:T&1?Z(u,f,b,w,x,y,C,S,k):T&6?gt(u,f,b,w,x,y,C,S,k):(T&64||T&128)&&v.process(u,f,b,w,x,y,C,S,k,Oe)}M!=null&&x?os(M,u&&u.ref,y,f||u,!f):M==null&&u&&u.ref!=null&&os(u.ref,null,y,u,!0)},ae=(u,f,b,w)=>{if(u==null)r(f.el=l(f.children),b,w);else{const x=f.el=u.el;f.children!==u.children&&h(x,f.children)}},re=(u,f,b,w)=>{u==null?r(f.el=c(f.children||""),b,w):f.el=u.el},D=(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 x;for(;u&&u!==f;)x=A(u),r(u,b,w),u=x;r(f,b,w)},P=({el:u,anchor:f})=>{let b;for(;u&&u!==f;)b=A(u),o(u),u=b;o(f)},Z=(u,f,b,w,x,y,C,S,k)=>{if(f.type==="svg"?C="svg":f.type==="math"&&(C="mathml"),u==null)Ae(f,b,w,x,y,C,S,k);else{const v=u.el&&u.el._isVueCE?u.el:null;try{v&&v._beginPatch(),Ee(u,f,x,y,C,S,k)}finally{v&&v._endPatch()}}},Ae=(u,f,b,w,x,y,C,S)=>{let k,v;const{props:M,shapeFlag:T,transition:E,dirs:j}=u;if(k=u.el=i(u.type,y,M&&M.is,M),T&8?p(k,u.children):T&16&&he(u.children,k,null,w,x,Rr(u,y),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],y,w);"value"in M&&n(k,"value",null,M.value,y),(v=M.onVnodeBeforeMount)&&st(v,w,u)}j&&Et(u,null,w,"beforeMount");const K=Tl(x,E);K&&E.beforeEnter(k),r(k,f,b),((v=M&&M.onVnodeMounted)||K||j)&&Pe(()=>{try{v&&st(v,w,u),K&&E.enter(k),j&&Et(u,null,w,"mounted")}finally{}},x)},me=(u,f,b,w,x)=>{if(b&&I(u,b),w)for(let y=0;y<w.length;y++)I(u,w[y]);if(x){let y=x.subTree;if(f===y||fn(y.type)&&(y.ssContent===f||y.ssFallback===f)){const C=x.vnode;me(u,C,C.scopeId,C.slotScopeIds,x.parent)}}},he=(u,f,b,w,x,y,C,S,k=0)=>{for(let v=k;v<u.length;v++){const M=u[v]=S?ft(u[v]):tt(u[v]);V(null,M,f,b,w,x,y,C,S)}},Ee=(u,f,b,w,x,y,C)=>{const S=f.el=u.el;let{patchFlag:k,dynamicChildren:v,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)&&st(j,b,f,u),M&&Et(f,u,b,"beforeUpdate"),b&&Ot(b,!0),v&&(!u.dynamicChildren||u.dynamicChildren.length!==v.length)&&(k=0,C=!1,v=null),(T.innerHTML&&E.innerHTML==null||T.textContent&&E.textContent==null)&&p(S,""),v?ot(u.dynamicChildren,v,S,b,w,Rr(f,x),y):C||G(u,f,S,null,b,w,Rr(f,x),y,!1),k>0){if(k&16)St(S,T,E,b,x);else if(k&2&&T.class!==E.class&&n(S,"class",null,E.class,x),k&4&&n(S,"style",T.style,E.style,x),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,x,b)}}k&1&&u.children!==f.children&&p(S,f.children)}else!C&&v==null&&St(S,T,E,b,x);((j=E.onVnodeUpdated)||M)&&Pe(()=>{j&&st(j,b,f,u),M&&Et(f,u,b,"updated")},w)},ot=(u,f,b,w,x,y,C)=>{for(let S=0;S<f.length;S++){const k=u[S],v=f[S],M=k.el&&(k.type===Ce||!cs(k,v)||k.shapeFlag&198)?m(k.el):b;V(k,v,M,null,w,x,y,C,!0)}},St=(u,f,b,w,x)=>{if(f!==b){if(f!==ee)for(const y in f)!Xt(y)&&!(y in b)&&n(u,y,f[y],null,x,w);for(const y in b){if(Xt(y))continue;const C=b[y],S=f[y];C!==S&&y!=="value"&&n(u,y,S,C,x,w)}"value"in b&&n(u,"value",f.value,b.value,x)}},nt=(u,f,b,w,x,y,C,S,k)=>{const v=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?(r(v,b,w),r(M,b,w),he(f.children||[],b,M,x,y,C,S,k)):T>0&&T&64&&E&&u.dynamicChildren&&u.dynamicChildren.length===E.length?(ot(u.dynamicChildren,E,b,x,y,C,S),(f.key!=null||x&&f===x.subTree)&&an(u,f,!0)):G(u,f,b,M,x,y,C,S,k)},gt=(u,f,b,w,x,y,C,S,k)=>{f.slotScopeIds=S,u==null?f.shapeFlag&512?x.ctx.activate(f,b,w,C,k):bt(f,b,w,x,y,C,k):it(u,f,k)},bt=(u,f,b,w,x,y,C)=>{const S=u.component=jl(u,w,x);if(Sr(u)&&(S.ctx.renderer=Oe),Ul(S,!1,C),S.asyncDep){if(x&&x.registerDep(S,oe,C),!u.el){const k=S.subTree=R(ut);re(null,k,f,b),u.placeholder=k.el}}else oe(S,u,f,b,x,y,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},oe=(u,f,b,w,x,y,C)=>{const S=()=>{if(u.isMounted){let{next:T,bu:E,u:j,parent:K,vnode:Y}=u;{const ze=cn(u);if(ze){T&&(T.el=Y.el,Q(u,T,C)),ze.asyncDep.then(()=>{Pe(()=>{u.isUnmounted||v()},x)});return}}let J=T,de;Ot(u,!1),T?(T.el=Y.el,Q(u,T,C)):T=Y,E&&ys(E),(de=T.props&&T.props.onVnodeBeforeUpdate)&&st(de,K,T,Y),Ot(u,!0);const pe=Jo(u),De=u.subTree;u.subTree=pe,V(De,pe,m(De.el),Vt(De),u,x,y),T.el=pe.el,J===null&&ml(u,pe.el),j&&Pe(j,x),(de=T.props&&T.props.onVnodeUpdated)&&Pe(()=>st(de,K,T,Y),x)}else{let T;const{el:E,props:j}=f,{bm:K,m:Y,parent:J,root:de,type:pe}=u,De=ns(f);Ot(u,!1),K&&ys(K),!De&&(T=j&&j.onVnodeBeforeMount)&&st(T,J,f),Ot(u,!0);{de.ce&&de.ce._hasShadowRoot()&&de.ce._injectChildStyle(pe,u.parent?u.parent.type:void 0);const ze=u.subTree=Jo(u);V(null,ze,b,w,u,x,y),f.el=ze.el}if(Y&&Pe(Y,x),!De&&(T=j&&j.onVnodeMounted)){const ze=f;Pe(()=>st(T,J,ze),x)}(f.shapeFlag&256||J&&ns(J.vnode)&&J.vnode.shapeFlag&256)&&u.a&&Pe(u.a,x),u.isMounted=!0,f=b=w=null}};u.scope.on();const k=u.effect=new oo(S);u.scope.off();const v=u.update=k.run.bind(k),M=u.job=k.runIfDirty.bind(k);M.i=u,M.id=u.uid,k.scheduler=()=>wr(M),Ot(u,!0),v()},Q=(u,f,b)=>{f.component=u;const w=u.vnode.props;u.vnode=f,u.next=null,yl(u,f.props,w,b),kl(u,f.children,b),Xe(),Ao(u),Ye()},G=(u,f,b,w,x,y,C,S,k=!1)=>{const v=u&&u.children,M=u?u.shapeFlag:0,T=f.children,{patchFlag:E,shapeFlag:j}=f;if(E>0){if(E&128){ce(v,T,b,w,x,y,C,S,k);return}else if(E&256){Ke(v,T,b,w,x,y,C,S,k);return}}j&8?(M&16&&mt(v,x,y),T!==v&&p(b,T)):M&16?j&16?ce(v,T,b,w,x,y,C,S,k):mt(v,x,y,!0):(M&8&&p(b,""),j&16&&he(T,b,w,x,y,C,S,k))},Ke=(u,f,b,w,x,y,C,S,k)=>{u=u||At,f=f||At;const v=u.length,M=f.length,T=Math.min(v,M);let E;for(E=0;E<T;E++){const j=f[E]=k?ft(f[E]):tt(f[E]);V(u[E],j,b,null,x,y,C,S,k)}v>M?mt(u,x,y,!0,!1,T):he(f,b,w,x,y,C,S,k,T)},ce=(u,f,b,w,x,y,C,S,k)=>{let v=0;const M=f.length;let T=u.length-1,E=M-1;for(;v<=T&&v<=E;){const j=u[v],K=f[v]=k?ft(f[v]):tt(f[v]);if(cs(j,K))V(j,K,b,null,x,y,C,S,k);else break;v++}for(;v<=T&&v<=E;){const j=u[T],K=f[E]=k?ft(f[E]):tt(f[E]);if(cs(j,K))V(j,K,b,null,x,y,C,S,k);else break;T--,E--}if(v>T){if(v<=E){const j=E+1,K=j<M?f[j].el:w;for(;v<=E;)V(null,f[v]=k?ft(f[v]):tt(f[v]),b,K,x,y,C,S,k),v++}}else if(v>E)for(;v<=T;)xe(u[v],x,y,!0),v++;else{const j=v,K=v,Y=new Map;for(v=K;v<=E;v++){const g=f[v]=k?ft(f[v]):tt(f[v]);g.key!=null&&Y.set(g.key,v)}let J,de=0;const pe=E-K+1;let De=!1,ze=0;const _=new Array(pe);for(v=0;v<pe;v++)_[v]=0;for(v=j;v<=T;v++){const g=u[v];if(de>=pe){xe(g,x,y,!0);continue}let ie;if(g.key!=null)ie=Y.get(g.key);else for(J=K;J<=E;J++)if(_[J-K]===0&&cs(g,f[J])){ie=J;break}ie===void 0?xe(g,x,y,!0):(_[ie-K]=v+1,ie>=ze?ze=ie:De=!0,V(g,f[ie],b,null,x,y,C,S,k),de++)}const d=De?Al(_):At;for(J=d.length-1,v=pe-1;v>=0;v--){const g=K+v,ie=f[g],je=f[g+1],hs=g+1<M?je.el||un(je):w;_[v]===0?V(null,ie,b,hs,x,y,C,S,k):De&&(J<0||v!==d[J]?Re(ie,b,hs,2):J--)}}},Re=(u,f,b,w,x=null)=>{const{el:y,type:C,transition:S,children:k,shapeFlag:v}=u;if(v&6){Re(u.component.subTree,f,b,w);return}if(v&128){u.suspense.move(f,b,w);return}if(v&64){C.move(u,f,b,Oe);return}if(C===Ce){r(y,f,b);for(let T=0;T<k.length;T++)Re(k[T],f,b,w);r(u.anchor,f,b);return}if(C===Or){B(u,f,b);return}if(w!==2&&v&1&&S)if(w===0)S.persisted&&!y[_r]?r(y,f,b):(S.beforeEnter(y),r(y,f,b),Pe(()=>S.enter(y),x));else{const{leave:T,delayLeave:E,afterLeave:j}=S,K=()=>{u.ctx.isUnmounted?o(y):r(y,f,b)},Y=()=>{const J=y._isLeaving||!!y[_r];y._isLeaving&&y[_r](!0),S.persisted&&!J?K():T(y,()=>{K(),j&&j()})};E?E(y,K,Y):Y()}else r(y,f,b)},xe=(u,f,b,w=!1,x=!1)=>{const{type:y,props:C,ref:S,children:k,dynamicChildren:v,shapeFlag:M,patchFlag:T,dirs:E,cacheIndex:j,memo:K}=u;if((T===-2||v&&v.hasOnce)&&(x=!1),S!=null&&(Xe(),os(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=!ns(u);let de;if(J&&(de=C&&C.onVnodeBeforeUnmount)&&st(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):v&&!v.hasOnce&&(y!==Ce||T>0&&T&64)?mt(v,f,b,!1,!0):(y===Ce&&T&384||!x&&M&16)&&mt(k,f,b),w&&Wt(u)}const pe=K!=null&&j==null;(J&&(de=C&&C.onVnodeUnmounted)||Y||pe)&&Pe(()=>{de&&st(de,f,u),Y&&Et(u,null,f,"unmounted"),pe&&(u.el=null)},b)},Wt=u=>{const{type:f,el:b,anchor:w,transition:x}=u;if(f===Ce){we(b,w);return}if(f===Or){P(u),x&&!x.persisted&&x.afterLeave&&x.afterLeave();return}const y=()=>{o(b),x&&!x.persisted&&x.afterLeave&&x.afterLeave()};if(u.shapeFlag&1&&x&&!x.persisted){const{leave:C,delayLeave:S}=x,k=()=>C(b,y);S?S(u.el,y,k):k()}else y()},we=(u,f)=>{let b;for(;u!==f;)b=A(u),o(u),u=b;o(f)},Gt=(u,f,b)=>{const{bum:w,scope:x,job:y,subTree:C,um:S,m:k,a:v}=u;dn(k),dn(v),w&&ys(w),x.stop(),y?(y.flags|=8,xe(C,u,f,b)):u.vnode.el&&C&&(C.transition=u.vnode.transition,xe(C,u,f,b)),S&&Pe(S,f),Pe(()=>{u.isUnmounted=!0},f)},mt=(u,f,b,w=!1,x=!1,y=0)=>{for(let C=y;C<u.length;C++)xe(u[C],f,b,w,x)},Vt=u=>{if(u.shapeFlag&6)return Vt(u.component.subTree);if(u.shapeFlag&128)return u.suspense.next();const f=A(u.anchor||u.el),b=f&&f[zi];return b?A(b):f};let Ct=!1;const Tt=(u,f,b)=>{let w;u==null?f._vnode&&(xe(f._vnode,null,null,!0),w=f._vnode.component):V(f._vnode||null,u,f,null,null,null,b),f._vnode=u,Ct||(Ct=!0,Ao(w),Io(),Ct=!1)},Oe={p:V,um:xe,m:Re,r:Wt,mt:bt,mc:he,pc:G,pbc:ot,n:Vt,o:e};return{render:Tt,hydrate:void 0,createApp:dl(Tt)}}function Rr({type:e,props:t},s){return s==="svg"&&e==="foreignObject"||s==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:s}function Ot({effect:e,job:t},s){s?(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,s=!1){const r=e.children,o=t.children;if(O(r)&&O(o))for(let n=0;n<r.length;n++){const i=r[n];let l=o[n];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=o[n]=ft(o[n]),l.el=i.el),!s&&l.patchFlag!==-2&&an(i,l)),l.type===$s&&(l.patchFlag===-1&&(l=o[n]=ft(l)),l.el=i.el),l.type===ut&&!l.el&&(l.el=i.el)}}function Al(e){const t=e.slice(),s=[0];let r,o,n,i,l;const c=e.length;for(r=0;r<c;r++){const h=e[r];if(h!==0){if(o=s[s.length-1],e[o]<h){t[r]=o,s.push(r);continue}for(n=0,i=s.length-1;n<i;)l=n+i>>1,e[s[l]]<h?n=l+1:i=l;h<e[s[n]]&&(n>0&&(t[r]=s[n-1]),s[n]=r)}}for(n=s.length,i=s[n-1];n-- >0;)s[n]=i,i=t[i];return s}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"),$s=Symbol.for("v-txt"),ut=Symbol.for("v-cmt"),Or=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 as=1;function Fs(e,t=!1){as+=e,e<0&&Ue&&t&&(Ue.hasOnce=!0)}function hn(e){return e.dynamicChildren=as>0?Ue||At:null,pn(),as>0&&Ue&&Ue.push(e),e}function F(e,t,s,r,o,n){return hn(a(e,t,s,r,o,n,!0))}function Nt(e,t,s,r,o){return hn(R(e,t,s,r,o,!0))}function Ks(e){return e?e.__v_isVNode===!0:!1}function cs(e,t){return e.type===t.type&&e.key===t.key}const gn=({key:e})=>e??null,Ds=({ref:e,ref_key:t,ref_for:s})=>(typeof e=="number"&&(e=""+e),e!=null?ne(e)||be(e)||U(e)?{i:Fe,r:e,k:t,f:!!s}:e:null);function a(e,t=null,s=null,r=0,o=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&&Ds(t),scopeId:Mo,slotScopeIds:null,children:s,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:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Fe};return l?(zs(c,s),n&128&&e.normalize(c)):s&&(c.shapeFlag|=ne(s)?8:16),as>0&&!i&&Ue&&(c.patchFlag>0||n&6)&&c.patchFlag!==32&&Ue.push(c),c}const R=Pl;function Pl(e,t=null,s=null,r=0,o=null,n=!1){if((!e||e===sl)&&(e=ut),Ks(e)){const l=Bt(e,t,!0);return s&&zs(l,s),as>0&&!n&&Ue&&(l.shapeFlag&6?Ue[Ue.indexOf(e)]=l:Ue.push(l)),l.patchFlag=-2,l}if(zl(e)&&(e=e.__vccOpts),t){t=Ml(t);let{class:l,style:c}=t;l&&!ne(l)&&(t.class=Ne(l)),X(c)&&(xr(c)&&!O(c)&&(c=fe({},c)),t.style=_s(c))}const i=ne(e)?1:fn(e)?128:js(e)?64:X(e)?4:U(e)?2:0;return a(e,t,s,r,o,i,n,!0)}function Ml(e){return e?xr(e)||en(e)?fe({},e):e:null}function Bt(e,t,s=!1,r=!1){const{props:o,ref:n,patchFlag:i,children:l,transition:c}=e,h=t?El(o||{},t):o,p={__v_isVNode:!0,__v_skip:!0,type:e.type,props:h,key:h&&gn(h),ref:t&&t.ref?s&&n?O(n)?n.concat(Ds(t)):[n,Ds(t)]:Ds(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&&r&&kr(p,c.clone(p)),p}function qe(e=" ",t=0){return R($s,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()):Ks(e)?ft(e):R($s,null,String(e))}function ft(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Bt(e)}function zs(e,t){let s=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(O(t))s=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),zs(e,o()),o._c&&(o._d=!0));return}else{s=32;const o=t._;!o&&!en(t)?t._ctx=Fe:o===3&&Fe&&(Fe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(U(t)){if(r&65){zs(e,{default:t});return}t={default:t,_ctx:Fe},s=32}else t=String(t),r&64?(s=16,t=[qe(t)]):s=8;e.children=t,e.shapeFlag|=s}function El(...e){const t={};for(let s=0;s<e.length;s++){const r=e[s];for(const o in r)if(o==="class")t.class!==r.class&&(t.class=Ne([t.class,r.class]));else if(o==="style")t.style=_s([t.style,r.style]);else if(gs(o)){const n=t[o],i=r[o];i&&n!==i&&!(O(n)&&n.includes(i))?t[o]=n?[].concat(n,i):i:i==null&&n==null&&!bs(o)&&(t[o]=i)}else o!==""&&(t[o]=r[o])}return t}function st(e,t,s,r=null){Be(e,t,7,[s,r])}const Rl=Wo();let Ol=0;function jl(e,t,s){const r=e.type,o=(t?t.appContext:e.appContext)||Rl,n={uid:Ol++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new ri(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:sn(r,o),emitsOptions:Go(r,o),emit:null,emitted:null,propsDefaults:ee,inheritAttrs:r.inheritAttrs,ctx:ee,data:ee,props:ee,attrs:ee,slots:ee,refs:ee,setupState:ee,setupContext:null,suspense:s,suspenseId:s?s.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||Fe;let Hs,ds;{const e=ws(),t=(s,r)=>{let o;return(o=e[s])||(o=e[s]=[]),o.push(r),n=>{o.length>1?o.forEach(i=>i(n)):o[0](n)}};Hs=t("__VUE_INSTANCE_SETTERS__",s=>Te=s),ds=t("__VUE_SSR_SETTERS__",s=>fs=s)}const us=e=>{const t=Te;return Hs(e),e.scope.on(),()=>{e.scope.off(),Hs(t)}},bn=()=>{Te&&Te.scope.off(),Hs(null)};function mn(e){return e.vnode.shapeFlag&4}let fs=!1;function Ul(e,t=!1,s=!1){t&&ds(t);const{props:r,children:o}=e.vnode,n=mn(e);xl(e,r,n,t),_l(e,o,s||t);const i=n?Ll(e,t):void 0;return t&&ds(!1),i}function Ll(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,rl);const{setup:r}=s;if(r){Xe();const o=e.setupContext=r.length>1?$l(e):null,n=us(e),i=Ft(r,e,0,[e.props,o]),l=Wr(i);if(Ye(),n(),(l||e.sp)&&!ns(e)&&No(e),l){if(i.then(bn,bn),t)return i.then(c=>{ds(!0);try{xn(e,c,t)}finally{ds(!1)}}).catch(c=>{Ms(c,e,0)});e.asyncDep=i}else xn(e,i)}else yn(e)}function xn(e,t,s){U(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:X(t)&&(e.setupState=ko(t)),yn(e)}function yn(e,t,s){const r=e.type;e.render||(e.render=r.render||We);{const o=us(e);Xe();try{ol(e)}finally{Ye(),o()}}}const Vl={get(e,t){return ve(e,"get",""),e[t]}};function $l(e){const t=s=>{e.exposed=s||{}};return{attrs:new Proxy(e.attrs,Vl),slots:e.slots,emit:e.emit,expose:t}}function Bs(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(ko(ki(e.exposed)),{get(t,s){if(s in t)return t[s];if(s in is)return is[s](e)},has(t,s){return s in t||s in is}})):e.proxy}const Fl=/(?:^|[-_])\w/g,Kl=e=>e.replace(Fl,t=>t.toUpperCase()).replace(/[-_]/g,"");function Dl(e,t=!0){return U(e)?e.displayName||e.name:e.name||t&&e.__name}function vn(e,t,s=!1){let r=Dl(t);if(!r&&t.__file){const o=t.__file.match(/([^/\\]+)\.\w+$/);o&&(r=o[1])}if(!r&&e){const o=n=>{for(const i in n)if(n[i]===t)return i};r=o(e.components)||e.parent&&o(e.parent.type.components)||o(e.appContext.components)}return r?Kl(r):s?"App":"Anonymous"}function zl(e){return U(e)&&"__vccOpts"in e}const rt=(e,t)=>Ii(e,t,fs);function jr(e,t,s){try{Fs(-1);const r=arguments.length;return r===2?X(t)&&!O(t)?Ks(t)?R(e,null,[t]):R(e,t):R(e,null,t):(r>3?s=Array.prototype.slice.call(arguments,2):r===3&&Ks(s)&&(s=[s]),R(e,t,s))}finally{Fs(1)}}const Hl="3.5.43";/**
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(`
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";/**
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 Nr;const wn=typeof window<"u"&&window.trustedTypes;if(wn)try{Nr=wn.createPolicy("vue",{createHTML:e=>e})}catch{}const _n=Nr?e=>Nr.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,s)=>{t.insertBefore(e,s||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,s,r)=>{const o=t==="svg"?pt.createElementNS(Bl,e):t==="mathml"?pt.createElementNS(ql,e):s?pt.createElement(e,{is:s}):pt.createElement(e);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},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,s,r,o,n){const i=s?s.previousSibling:t.lastChild;if(o&&(o===n||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),s),!(o===n||!(o=o.nextSibling)););else{kn.innerHTML=_n(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const l=kn.content;if(r==="svg"||r==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,s)}return[i?i.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}},Gl=Symbol("_vtc");function Jl(e,t,s){const r=e[Gl];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}const Sn=Symbol("_vod"),Xl=Symbol("_vsh"),Yl=Symbol(""),Zl=/(?:^|;)\s*display\s*:/;function Ql(e,t,s){const r=e.style,o=ne(s);let n=!1;if(s&&!o){if(t)if(ne(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();s[l]==null&&ps(r,l,"")}else for(const i in t)s[i]==null&&ps(r,i,"");for(const i in s){i==="display"&&(n=!0);const l=s[i];l!=null?ta(e,i,!ne(t)&&t?t[i]:void 0,l)||ps(r,i,l):ps(r,i,"")}}else if(o){if(t!==s){const i=r[Yl];i&&(s+=";"+i),r.cssText=s,n=Zl.test(s)}}else t&&e.removeAttribute("style");Sn in e&&(e[Sn]=n?r.display:"",e[Xl]&&(r.display="none"))}const qs=/\s*!important$/;function ps(e,t,s){if(O(s))s.forEach(r=>ps(e,t,r));else if(s==null&&(s=""),t.startsWith("--"))qs.test(s)?e.setProperty(t,s.replace(qs,""),"important"):e.setProperty(t,s);else{const r=ea(e,t);qs.test(s)?e.setProperty(Le(r),s.replace(qs,""),"important"):e[r]=s}}const Cn=["Webkit","Moz","ms"],Ur={};function ea(e,t){const s=Ur[t];if(s)return s;let r=Ie(t);if(r!=="filter"&&r in e)return Ur[t]=r;r=Jr(r);for(let o=0;o<Cn.length;o++){const n=Cn[o]+r;if(n in e)return Ur[t]=n}return t}function ta(e,t,s,r){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&ne(r)&&s===r}const Tn="http://www.w3.org/1999/xlink";function An(e,t,s,r,o,n=Qn(t)){r&&t.startsWith("xlink:")?s==null?e.removeAttributeNS(Tn,t.slice(6,t.length)):e.setAttributeNS(Tn,t,s):s==null||n&&!Qr(s)?e.removeAttribute(t):e.setAttribute(t,n?"":Ge(s)?String(s):s)}function In(e,t,s,r,o){if(t==="innerHTML"||t==="textContent"){s!=null&&(e[t]=t==="innerHTML"?_n(s):s);return}const n=e.tagName;if(t==="value"&&n!=="PROGRESS"&&!n.includes("-")){const l=n==="OPTION"?e.getAttribute("value")||"":e.value,c=s==null?e.type==="checkbox"?"on":"":String(s);(l!==c||!("_value"in e))&&(e.value=c),s==null&&e.removeAttribute(t),e._value=s;return}let i=!1;if(s===""||s==null){const l=typeof e[t];l==="boolean"?s=Qr(s):s==null&&l==="string"?(s="",i=!0):l==="number"&&(s=0,i=!0)}try{e[t]=s}catch{}i&&e.removeAttribute(o||t)}function Ut(e,t,s,r){e.addEventListener(t,s,r)}function sa(e,t,s,r){e.removeEventListener(t,s,r)}const Pn=Symbol("_vei");function ra(e,t,s,r,o=null){const n=e[Pn]||(e[Pn]={}),i=n[t];if(r&&i)i.value=r;else{const[l,c]=ia(t);if(r){const h=n[t]=ca(r,o);Ut(e,l,h,c)}else i&&(sa(e,l,i,c),n[t]=void 0)}}const oa=/(Once|Passive|Capture)$/,na=/^on:?(?:Once|Passive|Capture)$/;function ia(e){let t,s;for(;(s=e.match(oa))&&!na.test(e);)t||(t={}),e=e.slice(0,e.length-s[1].length),t[s[1].toLowerCase()]=!0;return[e[2]===":"?e.slice(3):Le(e.slice(2)),t]}let Lr=0;const la=Promise.resolve(),aa=()=>Lr||(la.then(()=>Lr=0),Lr=Date.now());function ca(e,t){const s=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=s.attached)return;const o=s.value;if(O(o)){const n=r.stopImmediatePropagation;r.stopImmediatePropagation=()=>{n.call(r),r._stopped=!0};const i=o.slice(),l=[r];for(let c=0;c<i.length&&!r._stopped;c++){const h=i[c];h&&Be(h,t,5,l)}}else Be(o,t,5,[r])};return s.value=e,s.attached=aa(),s}const Mn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,da=(e,t,s,r,o,n)=>{const i=o==="svg";t==="class"?Jl(e,r,i):t==="style"?Ql(e,s,r):gs(t)?bs(t)||ra(e,t,s,r,n):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):ua(e,t,r,i))?(In(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&An(e,t,r,i,n,t!=="value")):e._isVueCE&&(fa(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!ne(r)))?In(e,Ie(t),r,n,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),An(e,t,r,i))};function ua(e,t,s,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Mn(t)&&U(s));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 o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return Mn(t)&&ne(s)?!1:t in e}function fa(e,t){const s=e._def.props;if(!s)return!1;const r=Ie(t);return Array.isArray(s)?s.some(o=>Ie(o)===r):Object.keys(s).some(o=>Ie(o)===r)}const En={};function pa(e,t,s){let r=jo(e,t);ms(r)&&(r=fe({},r,t));class o extends Vr{constructor(i){super(r,i,s)}}return o.def=r,o}const ha=typeof HTMLElement<"u"?HTMLElement:class{};class Vr extends ha{constructor(t,s={},r=Un){super(),this._def=t,this._props=s,this._createApp=r,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&&r!==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 Vr){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,vr(()=>{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 s of t)this._setAttr(s.attributeName)}_resolveDef(){if(this._pendingResolve)return this._pendingResolve;for(let r=0;r<this.attributes.length;r++)this._setAttr(this.attributes[r].name);this._ob=new MutationObserver(this._processMutations.bind(this)),this._ob.observe(this,{attributes:!0});const t=(r,o=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:n,styles:i}=r;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]=Yr(this._props[c])),(l||(l=Object.create(null)))[Ie(c)]=!0)}this._numberProps=l,this._resolveProps(r),this.shadowRoot&&this._applyStyles(i),this._mount(r)},s=this._def.__asyncLoader;if(s)return this._pendingResolve=s().then(r=>{r.configureApp=this._def.configureApp,t(this._def=r,!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 s=this._instance&&this._instance.exposed;if(s)for(const r in s)q(this,r)||Object.defineProperty(this,r,{get:()=>N(s[r])})}_resolveProps(t){const{props:s}=t,r=O(s)?s:Object.keys(s||{});for(const o of Object.keys(this))o[0]!=="_"&&r.includes(o)&&this._setProp(o,this[o]);for(const o of r.map(Ie))Object.defineProperty(this,o,{get(){return this._getProp(o)},set(n){this._setProp(o,n,!0,!this._patching)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const s=this.hasAttribute(t);let r=s?this.getAttribute(t):En;const o=Ie(t);s&&this._numberProps&&this._numberProps[o]&&(r=Yr(r)),this._setProp(o,r,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,s,r=!0,o=!1){if(s!==this._props[t]&&(this._dirty=!0,s===En?delete this._props[t]:(this._props[t]=s,t==="key"&&this._app&&(this._app._ceVNode.key=s)),o&&this._instance&&this._update(),r)){const n=this._ob;n&&(this._processMutations(n.takeRecords()),n.disconnect()),s===!0?this.setAttribute(Le(t),""):typeof s=="string"||typeof s=="number"?this.setAttribute(Le(t),s+""):s||this.removeAttribute(Le(t)),n&&n.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),ya(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const s=R(this._def,fe(t,this._props));return this._instance||(s.ce=r=>{this._instance=r,r.ce=this,r.isCE=!0;const o=(n,i)=>{this.dispatchEvent(new CustomEvent(n,ms(i[0])?fe({detail:i},i[0]):{detail:i}))};r.emit=(n,...i)=>{o(n,i),Le(n)!==n&&o(Le(n),i)},this._setParent()}),s}_applyStyles(t,s,r){if(!t)return;if(s){if(s===this._def||this._styleChildren.has(s))return;this._styleChildren.add(s)}const o=this._nonce,n=this.shadowRoot,i=r?this._getStyleAnchor(r)||this._getStyleAnchor(this._def):this._getRootStyleInsertionAnchor(n);let l=null;for(let c=t.length-1;c>=0;c--){const h=document.createElement("style");o&&h.setAttribute("nonce",o),h.textContent=t[c],n.insertBefore(h,l||i),l=h,c===0&&(r||this._styleAnchors.set(this._def,h),s&&this._styleAnchors.set(s,h))}}_getStyleAnchor(t){if(!t)return null;const s=this._styleAnchors.get(t);return s&&s.parentNode===this.shadowRoot?s:(s&&this._styleAnchors.delete(t),null)}_getRootStyleInsertionAnchor(t){for(let s=0;s<t.childNodes.length;s++){const r=t.childNodes[s];if(!(r instanceof HTMLStyleElement))return r}return null}_parseSlots(){const t=this._slots={};let s;for(;s=this.firstChild;){const r=s.nodeType===1&&s.getAttribute("slot")||"default";(t[r]||(t[r]=[])).push(s),this.removeChild(s)}}_renderSlots(){const t=this._getSlots(),s=this._instance.type.__scopeId;for(let r=0;r<t.length;r++){const o=t[r],n=o.getAttribute("name")||"default",i=this._slots[n],l=o.parentNode;if(i)for(const c of i){if(s&&c.nodeType===1){const h=s+"-s",p=document.createTreeWalker(c,1);c.setAttribute(h,"");let m;for(;m=p.nextNode();)m.setAttribute(h,"")}l.insertBefore(c,o)}else for(;o.firstChild;)l.insertBefore(o.firstChild,o);l.removeChild(o)}}_getSlots(){const t=[this];this._teleportTargets&&t.push(...this._teleportTargets);const s=new Set;for(const r of t){const o=r.querySelectorAll("slot");for(let n=0;n<o.length;n++)s.add(o[n])}return Array.from(s)}_injectChildStyle(t,s){this._applyStyles(t.styles,t,s)}_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 Ws=e=>{const t=e.props["onUpdate:modelValue"]||!1;return O(t)?s=>ys(t,s):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"),Gs=Symbol("_initialValue");function $r(e,t,s){return t&&(e=e.trim()),s&&(e=vs(e)),e}const Me={created(e,{modifiers:{lazy:t,trim:s,number:r}},o){e.parentNode&&(e.type==="text"?e[Gs]=e.defaultValue.replace(/[\r\n]/g,""):e.type==="textarea"&&(e[Gs]=e.defaultValue.replace(/\r\n?/g,`
21
- `))),e[Lt]=Ws(o);const n=r||o.props&&o.props.type==="number";Ut(e,t?"change":"input",i=>{i.target.composing||e[Lt]($r(e.value,s,n))}),(s||n)&&Ut(e,"change",()=>{e.value=$r(e.value,s,n)}),t||(Ut(e,"compositionstart",ga),Ut(e,"compositionend",Rn),Ut(e,"change",Rn))},mounted(e,{value:t,modifiers:{trim:s,number:r}}){const o=t??"",n=e[Gs];delete e[Gs],n!==void 0&&(e.type==="text"||e.type==="textarea")&&e.value!==n?e[Lt]($r(e.value,s,r)):e.value=o},beforeUpdate(e,{value:t,oldValue:s,modifiers:{lazy:r,trim:o,number:n}},i){if(e[Lt]=Ws(i),e.composing)return;const l=(n||e.type==="number")&&!/^0\d/.test(e.value)?vs(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"&&(r&&t===s||o&&e.value.trim()===c)||(e.value=c)}},ba={deep:!0,created(e,{value:t,modifiers:{number:s}},r){e._modelValue=t,Ut(e,"change",()=>{const o=Array.prototype.filter.call(e.options,c=>c.selected).map(c=>s?vs(Js(c)):Js(c)),n=e.multiple,i=n?It(e._modelValue)?new Set(o):o:o[0],l=e._pendingValue=[n,n?O(i)?o.slice():o:i];try{e[Lt](i)}finally{vr(()=>{e._pendingValue===l&&(e._pendingValue=void 0)})}}),e[Lt]=Ws(r)},mounted(e,{value:t}){On(e,t)},beforeUpdate(e,{value:t},s){e._modelValue=t,e[Lt]=Ws(s)},updated(e,{value:t}){const s=e._pendingValue;e._pendingValue=void 0,(!s||s[0]!==e.multiple||!ma(t,s[1],s[0]))&&On(e,t)}};function ma(e,t,s){if(!s||O(e))return vt(e,t);if(It(e)){if(e.size!==t.length)return!1;for(const r of t)if(!e.has(r))return!1;return!0}return!1}function On(e,t){const s=e.multiple,r=O(t);if(!(s&&!r&&!It(t))){for(let o=0,n=e.options.length;o<n;o++){const i=e.options[o],l=Js(i);if(s)if(r){const c=typeof l;c==="string"||c==="number"?i.selected=t.some(h=>String(h)===String(l)):i.selected=si(t,l)>-1}else i.selected=t.has(l);else if(vt(Js(i),t)){e.selectedIndex!==o&&(e.selectedIndex=o);return}}!s&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Js(e){return"_value"in e?e._value:e.value}const xa=fe({patchProp:da},Wl);let jn;function Nn(){return jn||(jn=Sl(xa))}const ya=((...e)=>{Nn().render(...e)}),Un=((...e)=>{const t=Nn().createApp(...e),{mount:s}=t;return t.mount=r=>{const o=wa(r);if(!o)return;const n=t._component;!U(n)&&!n.render&&!n.template&&(n.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const i=s(o,!1,va(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t});function va(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 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}/**
22
22
  * @license lucide-vue-next v0.475.0 - ISC
23
23
  *
24
24
  * This source code is licensed under the ISC license.
@@ -28,146 +28,146 @@
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 Xs={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 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"};/**
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:s,color:r,iconNode:o,name:n,class:i,...l},{slots:c})=>jr("svg",{...Xs,width:e||Xs.width,height:e||Xs.height,stroke:r||Xs.stroke,"stroke-width":s?Number(t)*24/Number(e):t,class:["lucide",`lucide-${_a(n??"icon")}`],...l},[...o.map(h=>jr(...h)),...c.default?[c.default()]:[]]);/**
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()]:[]]);/**
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 se=(e,t)=>(s,{slots:r})=>jr(ka,{...s,iconNode:t,name:e},r);/**
41
+ */const re=(e,t)=>(r,{slots:o})=>No(ka,{...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=se("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 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"}]]);/**
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=se("CheckIcon",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
51
+ */const Sa=re("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=se("ChevronLeftIcon",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);/**
56
+ */const Ca=re("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=se("ChevronRightIcon",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
61
+ */const Ta=re("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 Vn=se("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 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"}]]);/**
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 Fr=se("CircleCheckIcon",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
71
+ */const Ko=re("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=se("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 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"}]]);/**
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=se("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 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"}]]);/**
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 $n=se("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 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"}]]);/**
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=se("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 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"}]]);/**
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=se("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 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"}]]);/**
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=se("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 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"}]]);/**
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=se("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 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"}]]);/**
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=se("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 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"}]]);/**
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=se("PlayIcon",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]);/**
116
+ */const Oa=re("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=se("PlusIcon",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);/**
121
+ */const ja=re("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 Ys=se("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 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"}]]);/**
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=se("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 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"}]]);/**
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 Kr=se("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 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"}]]);/**
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=se("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 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"}]]);/**
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 Fn=se("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 $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"}]]);/**
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=se("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 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"}]]);/**
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=se("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 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"}]]);/**
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 Va=se("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 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"}]]);/**
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 $a=se("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 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"}]]);/**
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 Dr=se("XIcon",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);class zr{constructor(t){er(this,"baseUrl");er(this,"adminToken");er(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,s={}){const r=`${this.baseUrl}${t}`,o={"Content-Type":"application/json",...s.headers||{}};this.adminToken&&(o.Authorization=`Bearer ${this.adminToken}`,o["X-Admin-Secret"]=this.adminToken);const n=s.tenantId||this.tenantId;n&&(o["X-Tenant-ID"]=n);const i=await fetch(r,{...s,headers:o});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 s,r,o,n;typeof t=="string"?s=t:t&&(s=t.tenantId,r=t.serviceId,o=t.limit,n=t.cursor);const i=new URLSearchParams;s&&i.set("tenant_id",s),r&&i.set("service_id",r),o&&i.set("limit",String(o)),n&&i.set("cursor",n);const l=i.toString()?`?${i.toString()}`:"",c=await this.request(`/v1/admin/keys${l}`,{tenantId:s});return Array.isArray(c)?{keys:c}:{keys:c.keys||[],nextCursor:c.next_cursor}}async fetchStats(t,s){const r=new URLSearchParams;t&&r.set("tenant_id",t),s&&r.set("service_id",s);const o=r.toString()?`?${r.toString()}`:"";return this.request(`/v1/admin/stats${o}`,{tenantId:t})}async fetchAllKeys(t){if(!t||t.length===0)return(await this.fetchKeys()).keys;const s=await Promise.allSettled(t.map(n=>this.fetchKeys(n))),r=[],o=new Set;for(const n of s)if(n.status==="fulfilled"&&n.value&&Array.isArray(n.value.keys))for(const i of n.value.keys)o.has(i.key_id)||(o.add(i.key_id),r.push(i));return r}async createKey(t){var o,n;const s={...t};(o=s.tenant_id)!=null&&o.trim()||delete s.tenant_id,(n=s.service_id)!=null&&n.trim()||(s.service_id=s.tenant_id||"default");const r=await this.request("/v1/admin/keys",{method:"POST",body:JSON.stringify(s),tenantId:t.tenant_id});return{...r,raw_key:r.raw_key,key:r.key||r}}async updateKey(t,s,r){return this.request(`/v1/admin/keys/${t}`,{method:"PATCH",body:JSON.stringify(s),tenantId:r})}async suspendKey(t,s){await this.request(`/v1/admin/keys/${t}/suspend`,{method:"POST",tenantId:s})}async resumeKey(t,s){await this.request(`/v1/admin/keys/${t}/resume`,{method:"POST",tenantId:s})}async rotateKey(t,s=24,r){return this.request(`/v1/admin/keys/${t}/rotate`,{method:"POST",body:JSON.stringify({grace_period_hours:s}),tenantId:r})}async deleteKey(t,s){await this.request(`/v1/admin/keys/${t}`,{method:"DELETE",tenantId:s})}async verifyKey(t,s){return this.request("/v1/admin/verify",{method:"POST",body:JSON.stringify({raw_key:t,required_scope:s})})}}const ht={};function Zs(){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 Qs(){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 Fa(){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"},Da={key:0,class:"flex flex-col md:flex-row md:items-center justify-between gap-4 pb-6 border-b border-slate-800"},za={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"},sc={class:"p-2 rounded-xl bg-cyan-500/10 text-cyan-400 border border-cyan-500/20"},rc={class:"mt-3 flex items-baseline gap-2"},oc={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"},xc={class:"mt-3 flex items-baseline gap-2"},yc={class:"text-2xl sm:text-3xl font-black text-amber-400"},vc={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"},Vc={class:"font-medium"},$c={class:"overflow-x-auto"},Fc={class:"w-full text-left border-collapse text-xs sm:text-sm"},Kc={class:"divide-y divide-slate-800/60 text-slate-200"},Dc={class:"py-3 px-4"},zc={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"},sd={class:"flex flex-wrap gap-1 max-w-[180px]"},rd={class:"py-3 px-4 text-right space-x-1"},od=["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"},xd=["disabled"],yd={class:"bg-slate-900/60 rounded-2xl border border-slate-800 p-5 shadow-xl space-y-4"},vd={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"},Vd={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"},$d={class:"flex items-center justify-between border-b border-slate-800 pb-3"},Fd={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"},Dd={class:"space-y-4 text-xs"},zd={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"},su={class:"flex items-center gap-2 text-amber-400 text-xs font-bold"},ru={class:"space-y-1.5"},ou={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"},xu={class:"flex items-center justify-between mb-1"},yu={class:"text-[10px] text-slate-500 font-mono"},vu={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"},Dn=((e,t)=>{const s=e.__vccOpts||e;for(const[r,o]of t)s[r]=o;return s})(jo({__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,s=rt(()=>Zs()),r=rt(()=>Qs()),o=()=>{if(typeof window<"u"){const _=localStorage.getItem("tollgate_ui_api_base_url");if(_!==null&&_!=="")return _}return t.apiBaseUrl||Zs()},n=()=>{if(typeof window<"u"){const _=localStorage.getItem("tollgate_ui_admin_token");if(_!==null&&_!=="")return _}return t.adminToken||Qs()},i=z(o()),l=z(n()),c=rt(()=>typeof window>"u"?!1:localStorage.getItem("tollgate_ui_api_base_url")!==null||localStorage.getItem("tollgate_ui_admin_token")!==null),h=new zr({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=_||Zs(),h.setBaseUrl(i.value))}),Rt(()=>t.adminToken,_=>{typeof window<"u"&&localStorage.getItem("tollgate_ui_admin_token")===null&&(l.value=_||Qs(),h.setAdminToken(l.value))}),Rt(()=>t.tenantId,_=>h.setTenantId(_));const p=z(!1),m=z({apiBaseUrl:"",adminToken:""}),A=z(!1),I=z(null);function W(){m.value={apiBaseUrl:i.value,adminToken:l.value},I.value=null,p.value=!0}async function V(){var d;A.value=!0,I.value=null;const _=new zr({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 re(){typeof window<"u"&&(localStorage.removeItem("tollgate_ui_api_base_url"),localStorage.removeItem("tollgate_ui_admin_token")),i.value=t.apiBaseUrl||Zs(),l.value=t.adminToken||Qs(),h.setBaseUrl(i.value),h.setAdminToken(l.value),p.value=!1,M()}const D=rt(()=>{if(Array.isArray(t.tenantsJson)&&t.tenantsJson.length>0)return t.tenantsJson;const _=typeof t.tenantsJson=="string"&&t.tenantsJson.trim()?t.tenantsJson:Fa();if(_&&_.trim())try{const d=JSON.parse(_);if(Array.isArray(d))return d}catch{return[]}return[]}),B=rt(()=>{const _=new Map;for(const d of D.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=z([]),Z=z(!1),Ae=z(null),me=z("keys"),he=z(""),Ee=z(""),ot=z([]),St=z([]),nt=z(!1),gt=z(!1),bt=z(!1),it=z(null),oe=z({name:"",rate_limit_rpm:600,monthly_quota:0}),Q=z(""),G=z(""),Ke=z(!1),ce=z({name:"",tenant_id:"",service_id:"",scopes:["ai:*","mcp:*","llm:*"],rate_limit_rpm:600,monthly_quota:1e5,expires_in:2592e3}),Re=z(null),xe=z(""),Wt=z("ai:*"),we=z(null),Gt=z(!1),mt=rt(()=>{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}))}),Vt=rt(()=>{const _=new Set(ot.value);for(const d of P.value)d.service_id&&_.add(d.service_id);return Array.from(_).sort()}),Ct=rt(()=>P.value),Tt=z({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&&(ot.value=_.services),_.tenants&&_.tenants.length>0&&(St.value=_.tenants)}catch(_){console.warn("Failed to load global stats:",_)}}Rt([he,Ee],()=>{v()});const Hn=rt(()=>{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=z(50),b=z(void 0),w=z(void 0),x=z([]);async function y(_){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,hs=await h.fetchKeys({tenantId:g,serviceId:je,limit:f.value,cursor:_});P.value=hs.keys,w.value=hs.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&&(x.value.push(b.value||""),y(w.value))}function S(){if(x.value.length===0)return;const _=x.value.pop();y(_||void 0)}function k(){v()}function v(){x.value=[],b.value=void 0,w.value=void 0,y()}async function M(){await Promise.all([Oe(),y()])}$o(()=>{t.tenantId&&(ce.value.tenant_id=t.tenantId),Oe(),y()});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 y(),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=_,oe.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:oe.value.name.trim(),rate_limit_rpm:Number(oe.value.rate_limit_rpm),monthly_quota:Number(oe.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}」をローテーションしますか?
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
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 De(){if(xe.value.trim()){Gt.value=!0,we.value=null;try{we.value=await h.verifyKey(xe.value.trim(),Wt.value)}catch(_){we.value={valid:!1,reason:_.message}}finally{Gt.value=!1}}}function ze(){navigator.clipboard.writeText(Q.value),Ke.value=!0,setTimeout(()=>{Ke.value=!1},2e3)}return(_,d)=>(L(),F("div",Ka,[e.embedded?le("",!0):(L(),F("div",Da,[a("div",za,[a("div",Ha,[R(N(qt),{class:"w-6 h-6"})]),a("div",null,[a("div",Ba,[a("h1",qa,$(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,$(i.value||"(同一ホスト/プロキシ)"),1),c.value?(L(),F("span",Ja," カスタム ")):le("",!0),R(N(Fn),{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(Ys),{class:Ne(["w-4 h-4",{"animate-spin":Z.value}])},null,8,["class"])],8,Xa)])])),Ae.value?(L(),F("div",Ya,[R(N(Vn),{class:"w-5 h-5 text-rose-400 shrink-0"}),a("span",Za,$(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",sc,[R(N(qt),{class:"w-4 h-4"})])]),a("div",rc,[a("span",oc,$(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,$(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(Ys),{class:"w-4 h-4"})])]),a("div",pc,[a("span",hc,$(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(Kr),{class:"w-4 h-4"})])]),a("div",xc,[a("span",yc,$(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",vc,[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," 表示中 "+$(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(),F("div",_c,[a("div",kc,[a("div",Sc,[a("div",Cc,[R(N($n),{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(),F("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(Dr),{class:"w-3.5 h-3.5"})])):le("",!0),a("datalist",Tc,[(L(!0),F(Ce,null,zt(Vt.value,g=>(L(),F("option",{key:g,value:g},$(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(),F("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(Dr),{class:"w-3.5 h-3.5"})])):le("",!0),a("datalist",Pc,[d[45]||(d[45]=a("option",{value:"service_only"},"サービス専用 (テナント未指定)",-1)),(L(!0),F(Ce,null,zt(mt.value,g=>(L(),F("option",{key:g.id,value:g.id},$(g.name!==g.id?`${g.name} (${g.id})`:g.name),9,Mc))),128))])]),he.value||Ee.value?(L(),F("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(Dr),{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(Ys),{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(),F("span",Lc," サーバー絞り込み中 ")):le("",!0),a("span",Vc,"表示中: "+$(Ct.value.length)+" 件",1)])]),a("div",$c,[a("table",Fc,[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),F(Ce,null,zt(Ct.value,g=>{var ie;return L(),F("tr",{key:g.key_id,class:"hover:bg-slate-800/30 transition-colors"},[a("td",Dc,[a("div",zc,[a("span",null,$(g.name),1),(ie=g.rotation)!=null&&ie.grace_period_expires_at?(L(),F("span",Hc," 移行中 ")):le("",!0)]),a("div",Bc,$(g.key_prefix)+"... ",1)]),a("td",qc,[a("div",Wc,[R(N($n),{class:"w-3.5 h-3.5 text-indigo-400 shrink-0"}),a("span",null,$(g.service_id||"(未指定)"),1)]),a("div",Gc,[R(N(Ln),{class:"w-3 h-3 text-slate-500 shrink-0"}),a("span",null,$(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(" "+$(g.status),1)],2)]),a("td",Xc,$(g.rate_limit_rpm?`${g.rate_limit_rpm.toLocaleString()} RPM`:"無制限"),1),a("td",Yc,[a("div",Zc,[qe($((g.current_month_usage||0).toLocaleString())+" ",1),a("span",Qc,"/ "+$(g.monthly_quota>0?g.monthly_quota.toLocaleString():"無制限"),1)]),g.monthly_quota>0?(L(),F("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:_s({width:`${Math.min(100,Math.round((g.current_month_usage||0)/g.monthly_quota*100))}%`})},null,6)])):le("",!0)]),a("td",td,[a("div",sd,[(L(!0),F(Ce,null,zt(g.scopes,je=>(L(),F("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"},$(je),1))),128))])]),a("td",rd,[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,od),g.status==="active"?(L(),F("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(),F("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(Kr),{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(Va),{class:"w-3.5 h-3.5"})],8,ad)])])}),128)),Ct.value.length===0&&!Z.value?(L(),F("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,$(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:x.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),x.value.length>0?(L(),F("span",md," Page "+$(x.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,xd)])])]),a("div",yd,[a("div",vd,[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=>xe.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,xe.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:De,disabled:Gt.value||!xe.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"},$(Gt.value?"検証中...":"検証実行"),9,Cd)])])]),we.value?(L(),F("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(Fr),{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,$(we.value.valid?"認可成功 (Valid & Authorized)":"認可失敗 (Invalid / Unauthorized)"),1)]),we.value.valid?(L(),F("div",Ad,[a("div",null,[d[62]||(d[62]=a("span",{class:"text-slate-500"},"Key ID:",-1)),qe(" "+$(we.value.key_id),1)]),a("div",null,[d[63]||(d[63]=a("span",{class:"text-slate-500"},"Prefix:",-1)),qe(" "+$(we.value.key_prefix),1)]),a("div",null,[d[64]||(d[64]=a("span",{class:"text-slate-500"},"Tenant:",-1)),qe(" "+$(we.value.tenant_id||"Global"),1)]),a("div",null,[d[65]||(d[65]=a("span",{class:"text-slate-500"},"Remain RPM:",-1)),qe(" "+$(we.value.remaining_rpm)+" / "+$(we.value.limit_rpm),1)])])):(L(),F("div",Id," 理由: "+$(we.value.reason||"検証できませんでした"),1))],2)):le("",!0)])])):le("",!0),me.value==="system"?(L(),F("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(Kr),{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(),F("div",Ld,[a("div",Vd,[a("div",$d,[a("div",Fd,[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(),F("div",Kd,$(Re.value),1)):le("",!0),a("div",Dd,[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",zd,[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),F(Ce,null,zt(Vt.value,g=>(L(),F("option",{key:g,value:g},$(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),F(Ce,null,zt(mt.value,g=>(L(),F("option",{key:g.id,value:g.id},$(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(),F("div",Xd,[a("div",Yd,[a("div",Zd,[a("div",Qd,[R(N(Fr),{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,$(G.value),1)])]),a("div",tu,[a("div",su,[R(N($a),{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",ru,[d[81]||(d[81]=a("label",{class:"text-xs font-semibold text-slate-400"},"生成された生の API キー (Raw API Key)",-1)),a("div",ou,[a("span",nu,$(Q.value),1),a("button",{onClick:ze,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,$(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(),F("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=>oe.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,oe.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=>oe.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,oe.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=>oe.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,oe.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(),F("div",fu,[a("div",pu,[a("div",hu,[a("div",gu,[a("div",bu,[R(N(Fn),{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",xu,[d[87]||(d[87]=a("label",{class:"font-semibold text-slate-300"},"API Base URL (エンドポイント)",-1)),a("span",yu," 環境変数: "+$(s.value||"(未設定)"),1)]),a("div",vu,[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," 環境変数: "+$(r.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(),F("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(Fr),{key:0,class:"w-4 h-4 text-emerald-400 shrink-0"})):(L(),Nt(N(Vn),{key:1,class:"w-4 h-4 text-rose-400 shrink-0"})),a("span",ku,$(I.value.message),1)],2)):le("",!0)]),a("div",Su,[a("div",Cu,[a("button",{onClick:V,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(Ys),{class:Ne(["w-3.5 h-3.5",{"animate-spin":A.value}])},null,8,["class"]),a("span",null,$(A.value?"テスト中...":"接続テスト"),1)],8,Tu),c.value?(L(),F("button",{key:0,onClick:re,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",['*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}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;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.fixed{position:fixed}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.z-50{z-index:50}.mx-auto{margin-left:auto;margin-right:auto}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-8{margin-bottom:2rem}.ml-0\\.5{margin-left:.125rem}.mt-0\\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-1\\.5{margin-top:.375rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.block{display:block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.h-1\\.5{height:.375rem}.h-10{height:2.5rem}.h-12{height:3rem}.h-2{height:.5rem}.h-3{height:.75rem}.h-3\\.5{height:.875rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-8{height:2rem}.h-full{height:100%}.min-h-\\[600px\\]{min-height:600px}.min-h-screen{min-height:100vh}.w-1\\.5{width:.375rem}.w-10{width:2.5rem}.w-12{width:3rem}.w-2{width:.5rem}.w-24{width:6rem}.w-3{width:.75rem}.w-3\\.5{width:.875rem}.w-4{width:1rem}.w-40{width:10rem}.w-44{width:11rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-8{width:2rem}.w-full{width:100%}.max-w-7xl{max-width:80rem}.max-w-\\[180px\\]{max-width:180px}.max-w-lg{max-width:32rem}.max-w-md{max-width:28rem}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.border-collapse{border-collapse:collapse}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-pointer{cursor:pointer}.select-all{-webkit-user-select:all;-moz-user-select:all;user-select:all}.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-center{align-items:center}.items-baseline{align-items:baseline}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-1\\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-2\\.5{gap:.625rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-1\\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.25rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(2rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(2rem * var(--tw-space-y-reverse))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.divide-slate-800\\/60>:not([hidden])~:not([hidden]){border-color:#1e293b99}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-3xl{border-radius:1.5rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-0{border-width:0px}.border-b{border-bottom-width:1px}.border-b-2{border-bottom-width:2px}.border-t{border-top-width:1px}.border-amber-500\\/20{border-color:#f59e0b33}.border-amber-500\\/30{border-color:#f59e0b4d}.border-amber-800{--tw-border-opacity: 1;border-color:rgb(146 64 14 / var(--tw-border-opacity, 1))}.border-amber-800\\/60{border-color:#92400e99}.border-amber-800\\/80{border-color:#92400ecc}.border-cyan-500{--tw-border-opacity: 1;border-color:rgb(6 182 212 / var(--tw-border-opacity, 1))}.border-cyan-500\\/20{border-color:#06b6d433}.border-cyan-800{--tw-border-opacity: 1;border-color:rgb(21 94 117 / var(--tw-border-opacity, 1))}.border-cyan-800\\/50{border-color:#155e7580}.border-cyan-800\\/60{border-color:#155e7599}.border-emerald-500\\/20{border-color:#10b98133}.border-emerald-800{--tw-border-opacity: 1;border-color:rgb(6 95 70 / var(--tw-border-opacity, 1))}.border-emerald-800\\/60{border-color:#065f4699}.border-emerald-800\\/80{border-color:#065f46cc}.border-indigo-500\\/20{border-color:#6366f133}.border-rose-800{--tw-border-opacity: 1;border-color:rgb(159 18 57 / var(--tw-border-opacity, 1))}.border-rose-800\\/60{border-color:#9f123999}.border-rose-800\\/80{border-color:#9f1239cc}.border-slate-700{--tw-border-opacity: 1;border-color:rgb(51 65 85 / var(--tw-border-opacity, 1))}.border-slate-700\\/60{border-color:#33415599}.border-slate-700\\/80{border-color:#334155cc}.border-slate-800{--tw-border-opacity: 1;border-color:rgb(30 41 59 / var(--tw-border-opacity, 1))}.border-slate-800\\/80{border-color:#1e293bcc}.border-transparent{border-color:transparent}.bg-amber-400{--tw-bg-opacity: 1;background-color:rgb(251 191 36 / var(--tw-bg-opacity, 1))}.bg-amber-500\\/10{background-color:#f59e0b1a}.bg-amber-500\\/20{background-color:#f59e0b33}.bg-amber-950\\/40{background-color:#451a0366}.bg-amber-950\\/60{background-color:#451a0399}.bg-amber-950\\/80{background-color:#451a03cc}.bg-black\\/70{background-color:#000000b3}.bg-cyan-500{--tw-bg-opacity: 1;background-color:rgb(6 182 212 / var(--tw-bg-opacity, 1))}.bg-cyan-500\\/10{background-color:#06b6d41a}.bg-cyan-600{--tw-bg-opacity: 1;background-color:rgb(8 145 178 / var(--tw-bg-opacity, 1))}.bg-cyan-950{--tw-bg-opacity: 1;background-color:rgb(8 51 68 / var(--tw-bg-opacity, 1))}.bg-cyan-950\\/60{background-color:#08334499}.bg-emerald-400{--tw-bg-opacity: 1;background-color:rgb(52 211 153 / var(--tw-bg-opacity, 1))}.bg-emerald-500\\/10{background-color:#10b9811a}.bg-emerald-600{--tw-bg-opacity: 1;background-color:rgb(5 150 105 / var(--tw-bg-opacity, 1))}.bg-emerald-950\\/30{background-color:#022c224d}.bg-emerald-950\\/40{background-color:#022c2266}.bg-emerald-950\\/60{background-color:#022c2299}.bg-indigo-500\\/10{background-color:#6366f11a}.bg-rose-400{--tw-bg-opacity: 1;background-color:rgb(251 113 133 / var(--tw-bg-opacity, 1))}.bg-rose-500{--tw-bg-opacity: 1;background-color:rgb(244 63 94 / var(--tw-bg-opacity, 1))}.bg-rose-950\\/30{background-color:#4c05194d}.bg-rose-950\\/40{background-color:#4c051966}.bg-rose-950\\/60{background-color:#4c051999}.bg-slate-800{--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity, 1))}.bg-slate-900{--tw-bg-opacity: 1;background-color:rgb(15 23 42 / var(--tw-bg-opacity, 1))}.bg-slate-900\\/60{background-color:#0f172a99}.bg-slate-900\\/80{background-color:#0f172acc}.bg-slate-900\\/90{background-color:#0f172ae6}.bg-slate-950{--tw-bg-opacity: 1;background-color:rgb(2 6 23 / var(--tw-bg-opacity, 1))}.bg-slate-950\\/40{background-color:#02061766}.bg-transparent{background-color:transparent}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.bg-gradient-to-tr{background-image:linear-gradient(to top right,var(--tw-gradient-stops))}.from-cyan-600{--tw-gradient-from: #0891b2 var(--tw-gradient-from-position);--tw-gradient-to: rgb(8 145 178 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-emerald-500{--tw-gradient-from: #10b981 var(--tw-gradient-from-position);--tw-gradient-to: rgb(16 185 129 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.to-indigo-600{--tw-gradient-to: #4f46e5 var(--tw-gradient-to-position)}.to-teal-400{--tw-gradient-to: #2dd4bf var(--tw-gradient-to-position)}.p-0\\.5{padding:.125rem}.p-1\\.5{padding:.375rem}.p-2{padding:.5rem}.p-2\\.5{padding:.625rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.px-1\\.5{padding-left:.375rem;padding-right:.375rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-3\\.5{padding-left:.875rem;padding-right:.875rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.py-0\\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-3\\.5{padding-top:.875rem;padding-bottom:.875rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pb-2{padding-bottom:.5rem}.pb-3{padding-bottom:.75rem}.pb-6{padding-bottom:1.5rem}.pt-2{padding-top:.5rem}.pt-3{padding-top:.75rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.font-sans{font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.text-2xl{font-size:1.5rem;line-height:2rem}.text-\\[10px\\]{font-size:10px}.text-\\[11px\\]{font-size:11px}.text-\\[9px\\]{font-size:9px}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-black{font-weight:900}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.capitalize{text-transform:capitalize}.leading-relaxed{line-height:1.625}.tracking-tight{letter-spacing:-.025em}.tracking-wider{letter-spacing:.05em}.text-amber-200\\/80{color:#fde68acc}.text-amber-300{--tw-text-opacity: 1;color:rgb(252 211 77 / var(--tw-text-opacity, 1))}.text-amber-400{--tw-text-opacity: 1;color:rgb(251 191 36 / var(--tw-text-opacity, 1))}.text-cyan-300{--tw-text-opacity: 1;color:rgb(103 232 249 / var(--tw-text-opacity, 1))}.text-cyan-400{--tw-text-opacity: 1;color:rgb(34 211 238 / var(--tw-text-opacity, 1))}.text-cyan-400\\/90{color:#22d3eee6}.text-emerald-300{--tw-text-opacity: 1;color:rgb(110 231 183 / var(--tw-text-opacity, 1))}.text-emerald-400{--tw-text-opacity: 1;color:rgb(52 211 153 / var(--tw-text-opacity, 1))}.text-indigo-300{--tw-text-opacity: 1;color:rgb(165 180 252 / var(--tw-text-opacity, 1))}.text-indigo-400{--tw-text-opacity: 1;color:rgb(129 140 248 / var(--tw-text-opacity, 1))}.text-rose-300{--tw-text-opacity: 1;color:rgb(253 164 175 / var(--tw-text-opacity, 1))}.text-rose-400{--tw-text-opacity: 1;color:rgb(251 113 133 / var(--tw-text-opacity, 1))}.text-slate-100{--tw-text-opacity: 1;color:rgb(241 245 249 / var(--tw-text-opacity, 1))}.text-slate-200{--tw-text-opacity: 1;color:rgb(226 232 240 / var(--tw-text-opacity, 1))}.text-slate-300{--tw-text-opacity: 1;color:rgb(203 213 225 / var(--tw-text-opacity, 1))}.text-slate-400{--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity, 1))}.text-slate-500{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity, 1))}.text-slate-600{--tw-text-opacity: 1;color:rgb(71 85 105 / var(--tw-text-opacity, 1))}.text-slate-950{--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.underline{text-decoration-line:underline}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.placeholder-slate-500::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(100 116 139 / var(--tw-placeholder-opacity, 1))}.placeholder-slate-500::placeholder{--tw-placeholder-opacity: 1;color:rgb(100 116 139 / var(--tw-placeholder-opacity, 1))}.placeholder-slate-600::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(71 85 105 / var(--tw-placeholder-opacity, 1))}.placeholder-slate-600::placeholder{--tw-placeholder-opacity: 1;color:rgb(71 85 105 / var(--tw-placeholder-opacity, 1))}.opacity-30{opacity:.3}.shadow-2xl{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-inner{--tw-shadow: inset 0 2px 4px 0 rgb(0 0 0 / .05);--tw-shadow-colored: inset 0 2px 4px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-cyan-600\\/30{--tw-shadow-color: rgb(8 145 178 / .3);--tw-shadow: var(--tw-shadow-colored)}.shadow-emerald-500\\/20{--tw-shadow-color: rgb(16 185 129 / .2);--tw-shadow: var(--tw-shadow-colored)}.shadow-emerald-600\\/30{--tw-shadow-color: rgb(5 150 105 / .3);--tw-shadow: var(--tw-shadow-colored)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-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:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}:host{display:block;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;color:#f1f5f9}::-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}.focus-within\\:border-cyan-500:focus-within{--tw-border-opacity: 1;border-color:rgb(6 182 212 / var(--tw-border-opacity, 1))}.focus-within\\:border-indigo-500:focus-within{--tw-border-opacity: 1;border-color:rgb(99 102 241 / var(--tw-border-opacity, 1))}.hover\\:border-amber-500\\/30:hover{border-color:#f59e0b4d}.hover\\:border-cyan-500\\/30:hover{border-color:#06b6d44d}.hover\\:border-emerald-500\\/30:hover{border-color:#10b9814d}.hover\\:border-indigo-500\\/30:hover{border-color:#6366f14d}.hover\\:bg-cyan-500:hover{--tw-bg-opacity: 1;background-color:rgb(6 182 212 / var(--tw-bg-opacity, 1))}.hover\\:bg-emerald-500:hover{--tw-bg-opacity: 1;background-color:rgb(16 185 129 / var(--tw-bg-opacity, 1))}.hover\\:bg-slate-700:hover{--tw-bg-opacity: 1;background-color:rgb(51 65 85 / var(--tw-bg-opacity, 1))}.hover\\:bg-slate-800:hover{--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity, 1))}.hover\\:bg-slate-800\\/30:hover{background-color:#1e293b4d}.hover\\:from-cyan-500:hover{--tw-gradient-from: #06b6d4 var(--tw-gradient-from-position);--tw-gradient-to: rgb(6 182 212 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.hover\\:to-indigo-500:hover{--tw-gradient-to: #6366f1 var(--tw-gradient-to-position)}.hover\\:text-amber-300:hover{--tw-text-opacity: 1;color:rgb(252 211 77 / var(--tw-text-opacity, 1))}.hover\\:text-amber-400:hover{--tw-text-opacity: 1;color:rgb(251 191 36 / var(--tw-text-opacity, 1))}.hover\\:text-cyan-300:hover{--tw-text-opacity: 1;color:rgb(103 232 249 / var(--tw-text-opacity, 1))}.hover\\:text-cyan-400:hover{--tw-text-opacity: 1;color:rgb(34 211 238 / var(--tw-text-opacity, 1))}.hover\\:text-emerald-400:hover{--tw-text-opacity: 1;color:rgb(52 211 153 / var(--tw-text-opacity, 1))}.hover\\:text-rose-100:hover{--tw-text-opacity: 1;color:rgb(255 228 230 / var(--tw-text-opacity, 1))}.hover\\:text-rose-400:hover{--tw-text-opacity: 1;color:rgb(251 113 133 / var(--tw-text-opacity, 1))}.hover\\:text-slate-200:hover{--tw-text-opacity: 1;color:rgb(226 232 240 / var(--tw-text-opacity, 1))}.hover\\:text-slate-300:hover{--tw-text-opacity: 1;color:rgb(203 213 225 / var(--tw-text-opacity, 1))}.hover\\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.focus\\:border-cyan-500:focus{--tw-border-opacity: 1;border-color:rgb(6 182 212 / var(--tw-border-opacity, 1))}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.active\\:scale-95:active{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:opacity-40:disabled{opacity:.4}.disabled\\:opacity-50:disabled{opacity:.5}.group:hover .group-hover\\:scale-110{--tw-scale-x: 1.1;--tw-scale-y: 1.1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group:hover .group-hover\\:text-cyan-400{--tw-text-opacity: 1;color:rgb(34 211 238 / var(--tw-text-opacity, 1))}@media(min-width:640px){.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:1.5rem}.sm\\:text-2xl{font-size:1.5rem;line-height:2rem}.sm\\:text-3xl{font-size:1.875rem;line-height:2.25rem}.sm\\:text-sm{font-size:.875rem;line-height:1.25rem}}@media(min-width:768px){.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:1024px){.lg\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\\:p-8{padding:2rem}}']]]),zn=pa(Dn);function Hr(e="tollgate-console"){typeof window<"u"&&!customElements.get(e)&&customElements.define(e,zn)}typeof window<"u"&&Hr(),ye.TollgateApiClient=zr,ye.TollgateConsoleElement=zn,ye.TollgateConsoleSFC=Dn,ye.default=Hr,ye.registerTollgateUI=Hr,Object.defineProperties(ye,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
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"}})}));