From 9673c58913488f9d8eb038edbce76ba78168da49 Mon Sep 17 00:00:00 2001 From: gera2ld Date: Tue, 31 Dec 2024 12:07:53 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20master=20@?= =?UTF-8?q?=2062991511282ff73588fdedd0a6c330b55c9a9ea1=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 200.html | 22 +++++++++---------- 404.html | 22 +++++++++---------- _nuxt/{GXkZsuqV.js => 9lCGaPH-.js} | 2 +- _nuxt/{DrrwUJS6.js => BMjrzEGi.js} | 2 +- _nuxt/{B5g4fLGF.js => Bbk5JhsW.js} | 2 +- _nuxt/{CtpBSylq.js => BniBMG3L.js} | 2 +- _nuxt/{Dus1neJF.js => BpOF_EeM.js} | 2 +- _nuxt/{D67-esAi.js => BrYKVF9Y.js} | 2 +- _nuxt/{XZTC74h3.js => CLsFmO2Q.js} | 2 +- _nuxt/{BCaMp3bi.js => DJgra3d3.js} | 4 ++-- _nuxt/{BYtN_xSz.js => DgEi93DL.js} | 2 +- _nuxt/{SECIy35Z.js => Dx4me579.js} | 2 +- _nuxt/{CQ7U7q4o.js => IDXB_eWO.js} | 2 +- _nuxt/{DfM6GND9.js => O4-S8BdF.js} | 2 +- _nuxt/{BpZpca6S.js => bgPPq78w.js} | 2 +- _nuxt/builds/latest.json | 2 +- .../10a0bf7f-8c89-4872-abda-44d9323b726c.json | 1 - .../b0725910-fb82-463f-b1fd-89fa0b2d593a.json | 1 + _nuxt/{D-Aql_Dh.js => lew6nU2b.js} | 4 ++-- _nuxt/{REfpicIH.js => nS3f7xyi.js} | 6 ++--- color/index.html | 22 +++++++++---------- index.html | 22 +++++++++---------- string/index.html | 22 +++++++++---------- url-builder/index.html | 22 +++++++++---------- vmess/index.html | 22 +++++++++---------- 25 files changed, 98 insertions(+), 98 deletions(-) rename _nuxt/{GXkZsuqV.js => 9lCGaPH-.js} (99%) rename _nuxt/{DrrwUJS6.js => BMjrzEGi.js} (94%) rename _nuxt/{B5g4fLGF.js => Bbk5JhsW.js} (96%) rename _nuxt/{CtpBSylq.js => BniBMG3L.js} (97%) rename _nuxt/{Dus1neJF.js => BpOF_EeM.js} (98%) rename _nuxt/{D67-esAi.js => BrYKVF9Y.js} (99%) rename _nuxt/{XZTC74h3.js => CLsFmO2Q.js} (70%) rename _nuxt/{BCaMp3bi.js => DJgra3d3.js} (99%) rename _nuxt/{BYtN_xSz.js => DgEi93DL.js} (77%) rename _nuxt/{SECIy35Z.js => Dx4me579.js} (83%) rename _nuxt/{CQ7U7q4o.js => IDXB_eWO.js} (69%) rename _nuxt/{DfM6GND9.js => O4-S8BdF.js} (98%) rename _nuxt/{BpZpca6S.js => bgPPq78w.js} (90%) delete mode 100644 _nuxt/builds/meta/10a0bf7f-8c89-4872-abda-44d9323b726c.json create mode 100644 _nuxt/builds/meta/b0725910-fb82-463f-b1fd-89fa0b2d593a.json rename _nuxt/{D-Aql_Dh.js => lew6nU2b.js} (94%) rename _nuxt/{REfpicIH.js => nS3f7xyi.js} (99%) diff --git a/200.html b/200.html index ef0d101..dece1e8 100644 --- a/200.html +++ b/200.html @@ -2,17 +2,17 @@ Transformers - - - - - - + + + + + + - - + + - + -
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/404.html b/404.html index ef0d101..dece1e8 100644 --- a/404.html +++ b/404.html @@ -2,17 +2,17 @@ Transformers - - - - - - + + + + + + - - + + - + -
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/_nuxt/GXkZsuqV.js b/_nuxt/9lCGaPH-.js similarity index 99% rename from _nuxt/GXkZsuqV.js rename to _nuxt/9lCGaPH-.js index 3abdb84..95705da 100644 --- a/_nuxt/GXkZsuqV.js +++ b/_nuxt/9lCGaPH-.js @@ -1,4 +1,4 @@ -var ie=Object.defineProperty;var oe=(s,t,e)=>t in s?ie(s,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):s[t]=e;var ct=(s,t,e)=>oe(s,typeof t!="symbol"?t+"":t,e);import{m as gt,p as et,C as yt,o as A,c as L,a as b,G as re,A as Q,q as st,v as nt,F as ae,x as le,t as j,s as Ct,B as q,g as Ot,z as ft,H as Vt,r as Nt,d as X,b as ht,I as ce,y as Lt}from"./REfpicIH.js";import{_ as bt,a as he,b as de,p as ue,Q as fe,d as be}from"./D67-esAi.js";import{j as Ht}from"./mbYHt68G.js";import{s as pe}from"./XZTC74h3.js";import"./BosuxZz1.js";/*! @violentmonkey/shortcut v1.4.4 | ISC License */const kt=navigator.userAgent.includes("Macintosh"),xe=["m","c","s","a"],Ft={ctrl:"c",control:"c",shift:"s",alt:"a",meta:"m",cmd:"m"},me=bt({},Ft,{c:"c",s:"s",a:"a",m:"m",cm:kt?"m":"c",ctrlcmd:kt?"m":"c"}),ge={arrowup:"up",arrowdown:"down",arrowleft:"left",arrowright:"right",cr:"enter",escape:"esc"," ":"space"};function Kt(){return{children:new Map,shortcuts:new Set}}function ye(s,t,e){let n=s;for(const i of t){let o=n.children.get(i);o||(o=Kt(),n.children.set(i,o)),n=o}n.shortcuts.add(e)}function we(s,t){let e=s;for(const n of t)if(e=e.children.get(n),!e)break;return e}function ve(s,t,e){let n=s;const i=[n];for(const r of t){if(n=n.children.get(r),!n)return;i.push(n)}e?n.shortcuts.delete(e):n.shortcuts.clear();let o=i.length-1;for(;o>0&&(n=i[o],!(n.shortcuts.size||n.children.size));)i[o-1].children.delete(t[o-1]),o-=1}function _e(s){const t=[],e=(n,i=0)=>{for(const[o,r]of n.children.entries())t.push([" ".repeat(i),o,r.shortcuts.size?` (${r.shortcuts.size})`:""].join("")),e(r,i+1)};return e(s),t.join(` +var ie=Object.defineProperty;var oe=(s,t,e)=>t in s?ie(s,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):s[t]=e;var ct=(s,t,e)=>oe(s,typeof t!="symbol"?t+"":t,e);import{m as gt,p as et,C as yt,o as A,c as L,a as b,G as re,A as Q,q as st,v as nt,F as ae,x as le,t as j,s as Ct,B as q,g as Ot,z as ft,H as Vt,r as Nt,d as X,b as ht,I as ce,y as Lt}from"./nS3f7xyi.js";import{_ as bt,a as he,b as de,p as ue,Q as fe,d as be}from"./BrYKVF9Y.js";import{j as Ht}from"./mbYHt68G.js";import{s as pe}from"./CLsFmO2Q.js";import"./BosuxZz1.js";/*! @violentmonkey/shortcut v1.4.4 | ISC License */const kt=navigator.userAgent.includes("Macintosh"),xe=["m","c","s","a"],Ft={ctrl:"c",control:"c",shift:"s",alt:"a",meta:"m",cmd:"m"},me=bt({},Ft,{c:"c",s:"s",a:"a",m:"m",cm:kt?"m":"c",ctrlcmd:kt?"m":"c"}),ge={arrowup:"up",arrowdown:"down",arrowleft:"left",arrowright:"right",cr:"enter",escape:"esc"," ":"space"};function Kt(){return{children:new Map,shortcuts:new Set}}function ye(s,t,e){let n=s;for(const i of t){let o=n.children.get(i);o||(o=Kt(),n.children.set(i,o)),n=o}n.shortcuts.add(e)}function we(s,t){let e=s;for(const n of t)if(e=e.children.get(n),!e)break;return e}function ve(s,t,e){let n=s;const i=[n];for(const r of t){if(n=n.children.get(r),!n)return;i.push(n)}e?n.shortcuts.delete(e):n.shortcuts.clear();let o=i.length-1;for(;o>0&&(n=i[o],!(n.shortcuts.size||n.children.size));)i[o-1].children.delete(t[o-1]),o-=1}function _e(s){const t=[],e=(n,i=0)=>{for(const[o,r]of n.children.entries())t.push([" ".repeat(i),o,r.shortcuts.size?` (${r.shortcuts.size})`:""].join("")),e(r,i+1)};return e(s),t.join(` `)}class Se{constructor(t){this.listeners=[],this.value=t}get(){return this.value}set(t){this.value=t,this.listeners.forEach(e=>e(t))}subscribe(t){return this.listeners.push(t),t(this.value),()=>this.unsubscribe(t)}unsubscribe(t){const e=this.listeners.indexOf(t);e>=0&&this.listeners.splice(e,1)}}function P(s){const{caseSensitive:t,modifierState:e}=s;let{base:n}=s;(!t||n.length>1)&&(n=n.toLowerCase()),n=ge[n]||n;const i=[...xe.filter(o=>e[o]),n].filter(Boolean).join("-");return`${t?"":"i:"}${i}`}function Ae(s){const t=s.split(/-(.)/),e=[t[0]];for(let n=1;nCe(e,t))}function ke(s){return s.split("&&").map(t=>{if(t=t.trim(),!!t)return t[0]==="!"?{not:!0,field:t.slice(1).trim()}:{not:!1,field:t}}).filter(Boolean)}class ot{constructor(t){this._context={},this._conditionData={},this._data=[],this._root=Kt(),this.sequence=new Se([]),this._timer=0,this._reset=()=>{this._cur=void 0,this.sequence.set([]),this._resetTimer()},this.handleKey=e=>{if(!e.key||Ft[e.key.toLowerCase()])return;this._resetTimer();const n=[P({base:e.key,modifierState:{c:e.ctrlKey,m:e.metaKey},caseSensitive:!0}),P({base:e.code,modifierState:{c:e.ctrlKey,s:e.shiftKey,a:e.altKey,m:e.metaKey},caseSensitive:!1}),P({base:e.key,modifierState:{c:e.ctrlKey,s:e.shiftKey,a:e.altKey,m:e.metaKey},caseSensitive:!1})],i=this._handleKeyOnce(n,!1);i&&(e.preventDefault(),i===2&&this._reset()),this._timer=window.setTimeout(this._reset,this.options.sequenceTimeout)},this.options=bt({},ot.defaultOptions,t)}_resetTimer(){this._timer&&(window.clearTimeout(this._timer),this._timer=0)}_addCondition(t){let e=this._conditionData[t];if(!e){const n=ke(t);e={count:0,value:n,result:this._evalCondition(n)},this._conditionData[t]=e}e.count+=1}_removeCondition(t){const e=this._conditionData[t];e&&(e.count-=1,e.count||delete this._conditionData[t])}_evalCondition(t){return t.every(e=>{let n=this._context[e.field];return e.not&&(n=!n),n})}_checkShortcut(t){const e=t.condition&&this._conditionData[t.condition],n=!e||e.result;t.enabled!==n&&(t.enabled=n,this._enableShortcut(t))}_enableShortcut(t){(t.enabled?ye:ve)(this._root,t.sequence,t)}enable(){this.disable(),document.addEventListener("keydown",this.handleKey)}disable(){document.removeEventListener("keydown",this.handleKey)}register(t,e,n){const{caseSensitive:i,condition:o}=bt({caseSensitive:!1},n),a={sequence:He(t,i).map(l=>P(l)),condition:o,callback:e,enabled:!1,caseSensitive:i};return o&&this._addCondition(o),this._checkShortcut(a),this._data.push(a),()=>{const l=this._data.indexOf(a);l>=0&&(this._data.splice(l,1),o&&this._removeCondition(o),a.enabled=!1,this._enableShortcut(a))}}setContext(t,e){this._context[t]=e;for(const n of Object.values(this._conditionData))n.result=this._evalCondition(n.value);for(const n of this._data)this._checkShortcut(n)}_handleKeyOnce(t,e){var n,i;let o=this._cur;if((e||!o)&&(e=!0,o=this._root),o){let a;for(const l of t)if(a=we(o,[l]),a){this.sequence.set([...this.sequence.get(),l]);break}o=a}this._cur=o;const[r]=[...((n=o)==null?void 0:n.shortcuts)||[]];if(!e&&!r&&!((i=o)!=null&&i.children.size))return this._reset(),this._handleKeyOnce(t,!0);if(r){try{r.callback()}catch{}return 2}return this._cur?1:0}repr(){return _e(this._root)}}ot.defaultOptions={sequenceTimeout:500};const Ie={class:"snapshots"},Be={class:"flex mb-1"},Ee=["textContent"],Ue={class:"flex flex-col p-2 rounded t-border",style:{height:"70vh"}},$e={class:"form-group has-icon-right mb-2"},De={key:0,class:"flex-1 empty"},Oe={key:1,class:"flex-1 overflow-y-auto"},Ve=["textContent","onClick"],Ne=["onClick"],Fe=["textContent"],Ke={class:"mb-2"},Me=["readOnly"],je=["textContent"],Ge=gt({__name:"snapshot-panel",props:{title:{},modelValue:{},snapshots:{}},emits:["update:modelValue","pick"],setup(s,{emit:t}){const e=s,n=t,i=et({search:"",snapshots:[]}),o=yt(()=>{let c=e.snapshots.all.map((x,w)=>({data:x,index:w}));return i.search&&(c=c.filter(({data:x})=>x.name.includes(i.search))),c});function r(){i.modal={title:"Import data",content:"",message:"",error:!1}}function a(){const c=JSON.stringify(e.snapshots.all);i.modal={title:"Export data",content:c,readOnly:!0}}function l(c){var x;(x=i.modal)!=null&&x.readOnly&&c.target.select()}function d(){if(i.modal)try{const c=JSON.parse(i.modal.content);if(!Array.isArray(c))throw new Error("Invalid data.");e.snapshots.update(x=>[...x,...c]),i.modal.message="Data imported successfully.",i.modal.error=!1}catch(c){i.modal.error=!0,i.modal.message=`${c}`,console.error(c)}}function p({index:c,data:x}){n("update:modelValue",c===e.modelValue?-1:c),n("pick",x,c)}function u(c){if(e.snapshots.remove(c),c===e.modelValue)c=-1;else if(c(A(),L("div",Ie,[b("div",Be,[re(c.$slots,"title",{},()=>[b("span",{textContent:j(c.title)},null,8,Ee)]),b("a",{href:"#",class:"ml-1 tooltip inline-block","data-tooltip":"Import",onClick:Q(r,["prevent"])},x[3]||(x[3]=[b("svg",{viewBox:"0 0 20 20",fill:"currentColor",class:"upload w-6 h-6"},[b("path",{"fill-rule":"evenodd",d:"M3 17a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM6.293 6.707a1 1 0 010-1.414l3-3a1 1 0 011.414 0l3 3a1 1 0 01-1.414 1.414L11 5.414V13a1 1 0 11-2 0V5.414L7.707 6.707a1 1 0 01-1.414 0z","clip-rule":"evenodd"})],-1)])),b("a",{href:"#",class:"ml-1 tooltip inline-block","data-tooltip":"Export",onClick:Q(a,["prevent"])},x[4]||(x[4]=[b("svg",{viewBox:"0 0 20 20",fill:"currentColor",class:"download w-6 h-6"},[b("path",{"fill-rule":"evenodd",d:"M3 17a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zm3.293-7.707a1 1 0 011.414 0L9 10.586V3a1 1 0 112 0v7.586l1.293-1.293a1 1 0 111.414 1.414l-3 3a1 1 0 01-1.414 0l-3-3a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1)]))]),b("div",Ue,[b("div",$e,[st(b("input",{type:"search",class:"form-input","onUpdate:modelValue":x[0]||(x[0]=w=>i.search=w)},null,512),[[nt,i.search]])]),o.value.length?(A(),L("div",Oe,[(A(!0),L(ae,null,le(o.value,w=>(A(),L("div",{class:Ct(["menu-item",{active:c.modelValue===w.index}]),key:w.index},[b("div",{class:"flex-1",textContent:j(w.data.name),onClick:Q(S=>p(w),["prevent"])},null,8,Ve),b("a",{href:"#",onClick:Q(S=>u(w.index),["prevent"])},x[6]||(x[6]=[b("svg",{viewBox:"0 0 20 20",fill:"currentColor",class:"x w-6 h-6"},[b("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1)]),8,Ne)],2))),128))])):(A(),L("div",De,x[5]||(x[5]=[b("div",{class:"empty-title"},"None",-1)])))]),i.modal?(A(),L("div",{key:0,class:"modal",onClick:y},[b("div",{class:"modal-content",onClick:x[2]||(x[2]=Q(()=>{},["stop"]))},[b("div",{class:"mb-2",textContent:j(i.modal.title)},null,8,Fe),b("div",Ke,[st(b("textarea",{class:"form-input",rows:"10","onUpdate:modelValue":x[1]||(x[1]=w=>i.modal.content=w),readOnly:i.modal.readOnly,onClick:l},null,8,Me),[[nt,i.modal.content]])]),i.modal.message?(A(),L("span",{key:0,class:Ct(["mr-2",i.modal.error?"text-error":"text-success"]),textContent:j(i.modal.message)},null,10,je)):q("",!0),i.modal.readOnly?q("",!0):(A(),L("button",{key:1,class:"btn btn-primary",onClick:d}," Import and merge ")),b("button",{class:"btn",onClick:y},"Close")])])):q("",!0)]))}});//! otpauth 9.3.4 | (c) Héctor Molinero Fernández | MIT | https://github.com/hectorm/otpauth //! noble-hashes 1.5.0 | (c) Paul Miller | MIT | https://github.com/paulmillr/noble-hashes const Re=s=>{const t=new ArrayBuffer(8),e=new Uint8Array(t);let n=s;for(let i=7;i>=0&&n!==0;i--)e[i]=n&255,n-=e[i],n/=256;return e};function it(s){if(!Number.isSafeInteger(s)||s<0)throw new Error(`positive integer expected, not ${s}`)}function qe(s){return s instanceof Uint8Array||s!=null&&typeof s=="object"&&s.constructor.name==="Uint8Array"}function rt(s,...t){if(!qe(s))throw new Error("Uint8Array expected");if(t.length>0&&!t.includes(s.length))throw new Error(`Uint8Array expected of length ${t}, not of length=${s.length}`)}function Te(s){if(typeof s!="function"||typeof s.create!="function")throw new Error("Hash should be wrapped by utils.wrapConstructor");it(s.outputLen),it(s.blockLen)}function T(s,t=!0){if(s.destroyed)throw new Error("Hash instance has been destroyed");if(t&&s.finished)throw new Error("Hash#digest() has already been called")}function Mt(s,t){rt(s);const e=t.outputLen;if(s.lengthnew Uint32Array(s.buffer,s.byteOffset,Math.floor(s.byteLength/4)),dt=s=>new DataView(s.buffer,s.byteOffset,s.byteLength),E=(s,t)=>s<<32-t|s>>>t,ut=(s,t)=>s<>>32-t>>>0,It=new Uint8Array(new Uint32Array([287454020]).buffer)[0]===68,We=s=>s<<24&4278190080|s<<8&16711680|s>>>8&65280|s>>>24&255;function Bt(s){for(let t=0;ts().update(at(n)).digest(),e=s();return t.outputLen=e.outputLen,t.blockLen=e.blockLen,t.create=()=>s(),t}class jt extends wt{update(t){return T(this),this.iHash.update(t),this}digestInto(t){T(this),rt(t,this.outputLen),this.finished=!0,this.iHash.digestInto(t),this.oHash.update(t),this.oHash.digestInto(t),this.destroy()}digest(){const t=new Uint8Array(this.oHash.outputLen);return this.digestInto(t),t}_cloneInto(t){t||(t=Object.create(Object.getPrototypeOf(this),{}));const{oHash:e,iHash:n,finished:i,destroyed:o,blockLen:r,outputLen:a}=this;return t=t,t.finished=i,t.destroyed=o,t.blockLen=r,t.outputLen=a,t.oHash=e._cloneInto(t.oHash),t.iHash=n._cloneInto(t.iHash),t}destroy(){this.destroyed=!0,this.oHash.destroy(),this.iHash.destroy()}constructor(t,e){super(),this.finished=!1,this.destroyed=!1,Te(t);const n=at(e);if(this.iHash=t.create(),typeof this.iHash.update!="function")throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const i=this.blockLen,o=new Uint8Array(i);o.set(n.length>i?t.create().update(n).digest():n);for(let r=0;rnew jt(s,t).update(e).digest();pt.create=(s,t)=>new jt(s,t);function Qe(s,t,e,n){if(typeof s.setBigUint64=="function")return s.setBigUint64(t,e,n);const i=BigInt(32),o=BigInt(4294967295),r=Number(e>>i&o),a=Number(e&o),l=n?4:0,d=n?0:4;s.setUint32(t+l,r,n),s.setUint32(t+d,a,n)}const Gt=(s,t,e)=>s&t^~s&e,Rt=(s,t,e)=>s&t^s&e^t&e;class vt extends wt{update(t){T(this);const{view:e,buffer:n,blockLen:i}=this;t=at(t);const o=t.length;for(let r=0;ri-r&&(this.process(n,0),r=0);for(let u=r;up.length)throw new Error("_sha2: outputLen bigger than state");for(let u=0;unew Xe),Ze=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),N=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),F=new Uint32Array(64);class qt extends vt{get(){const{A:t,B:e,C:n,D:i,E:o,F:r,G:a,H:l}=this;return[t,e,n,i,o,r,a,l]}set(t,e,n,i,o,r,a,l){this.A=t|0,this.B=e|0,this.C=n|0,this.D=i|0,this.E=o|0,this.F=r|0,this.G=a|0,this.H=l|0}process(t,e){for(let u=0;u<16;u++,e+=4)F[u]=t.getUint32(e,!1);for(let u=16;u<64;u++){const y=F[u-15],c=F[u-2],x=E(y,7)^E(y,18)^y>>>3,w=E(c,17)^E(c,19)^c>>>10;F[u]=w+F[u-7]+x+F[u-16]|0}let{A:n,B:i,C:o,D:r,E:a,F:l,G:d,H:p}=this;for(let u=0;u<64;u++){const y=E(a,6)^E(a,11)^E(a,25),c=p+y+Gt(a,l,d)+Ze[u]+F[u]|0,w=(E(n,2)^E(n,13)^E(n,22))+Rt(n,i,o)|0;p=d,d=l,l=a,a=r+c|0,r=o,o=i,i=n,n=c+w|0}n=n+this.A|0,i=i+this.B|0,o=o+this.C|0,r=r+this.D|0,a=a+this.E|0,l=l+this.F|0,d=d+this.G|0,p=p+this.H|0,this.set(n,i,o,r,a,l,d,p)}roundClean(){F.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}constructor(){super(64,32,8,!1),this.A=N[0]|0,this.B=N[1]|0,this.C=N[2]|0,this.D=N[3]|0,this.E=N[4]|0,this.F=N[5]|0,this.G=N[6]|0,this.H=N[7]|0}}class Pe extends qt{constructor(){super(),this.A=-1056596264,this.B=914150663,this.C=812702999,this.D=-150054599,this.E=-4191439,this.F=1750603025,this.G=1694076839,this.H=-1090891868,this.outputLen=28}}const ts=W(()=>new qt),es=W(()=>new Pe),tt=BigInt(2**32-1),xt=BigInt(32);function Tt(s,t=!1){return t?{h:Number(s&tt),l:Number(s>>xt&tt)}:{h:Number(s>>xt&tt)|0,l:Number(s&tt)|0}}function zt(s,t=!1){let e=new Uint32Array(s.length),n=new Uint32Array(s.length);for(let i=0;iBigInt(s>>>0)<>>0),ns=(s,t,e)=>s>>>e,is=(s,t,e)=>s<<32-e|t>>>e,os=(s,t,e)=>s>>>e|t<<32-e,rs=(s,t,e)=>s<<32-e|t>>>e,as=(s,t,e)=>s<<64-e|t>>>e-32,ls=(s,t,e)=>s>>>e-32|t<<64-e,cs=(s,t)=>t,hs=(s,t)=>s,Wt=(s,t,e)=>s<>>32-e,Jt=(s,t,e)=>t<>>32-e,Qt=(s,t,e)=>t<>>64-e,Xt=(s,t,e)=>s<>>64-e;function ds(s,t,e,n){const i=(t>>>0)+(n>>>0);return{h:s+e+(i/2**32|0)|0,l:i|0}}const us=(s,t,e)=>(s>>>0)+(t>>>0)+(e>>>0),fs=(s,t,e,n)=>t+e+n+(s/2**32|0)|0,bs=(s,t,e,n)=>(s>>>0)+(t>>>0)+(e>>>0)+(n>>>0),ps=(s,t,e,n,i)=>t+e+n+i+(s/2**32|0)|0,xs=(s,t,e,n,i)=>(s>>>0)+(t>>>0)+(e>>>0)+(n>>>0)+(i>>>0),ms=(s,t,e,n,i,o)=>t+e+n+i+o+(s/2**32|0)|0,m={fromBig:Tt,split:zt,toBig:ss,shrSH:ns,shrSL:is,rotrSH:os,rotrSL:rs,rotrBH:as,rotrBL:ls,rotr32H:cs,rotr32L:hs,rotlSH:Wt,rotlSL:Jt,rotlBH:Qt,rotlBL:Xt,add:ds,add3L:us,add3H:fs,add4L:bs,add4H:ps,add5H:ms,add5L:xs},[gs,ys]=m.split(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map(s=>BigInt(s))),K=new Uint32Array(80),M=new Uint32Array(80);class Yt extends vt{get(){const{Ah:t,Al:e,Bh:n,Bl:i,Ch:o,Cl:r,Dh:a,Dl:l,Eh:d,El:p,Fh:u,Fl:y,Gh:c,Gl:x,Hh:w,Hl:S}=this;return[t,e,n,i,o,r,a,l,d,p,u,y,c,x,w,S]}set(t,e,n,i,o,r,a,l,d,p,u,y,c,x,w,S){this.Ah=t|0,this.Al=e|0,this.Bh=n|0,this.Bl=i|0,this.Ch=o|0,this.Cl=r|0,this.Dh=a|0,this.Dl=l|0,this.Eh=d|0,this.El=p|0,this.Fh=u|0,this.Fl=y|0,this.Gh=c|0,this.Gl=x|0,this.Hh=w|0,this.Hl=S|0}process(t,e){for(let v=0;v<16;v++,e+=4)K[v]=t.getUint32(e),M[v]=t.getUint32(e+=4);for(let v=16;v<80;v++){const k=K[v-15]|0,I=M[v-15]|0,G=m.rotrSH(k,I,1)^m.rotrSH(k,I,8)^m.shrSH(k,I,7),J=m.rotrSL(k,I,1)^m.rotrSL(k,I,8)^m.shrSL(k,I,7),h=K[v-2]|0,f=M[v-2]|0,g=m.rotrSH(h,f,19)^m.rotrBH(h,f,61)^m.shrSH(h,f,6),B=m.rotrSL(h,f,19)^m.rotrBL(h,f,61)^m.shrSL(h,f,6),H=m.add4L(J,B,M[v-7],M[v-16]),O=m.add4H(H,G,g,K[v-7],K[v-16]);K[v]=O|0,M[v]=H|0}let{Ah:n,Al:i,Bh:o,Bl:r,Ch:a,Cl:l,Dh:d,Dl:p,Eh:u,El:y,Fh:c,Fl:x,Gh:w,Gl:S,Hh:U,Hl:$}=this;for(let v=0;v<80;v++){const k=m.rotrSH(u,y,14)^m.rotrSH(u,y,18)^m.rotrBH(u,y,41),I=m.rotrSL(u,y,14)^m.rotrSL(u,y,18)^m.rotrBL(u,y,41),G=u&c^~u&w,J=y&x^~y&S,h=m.add5L($,I,J,ys[v],M[v]),f=m.add5H(h,U,k,G,gs[v],K[v]),g=h|0,B=m.rotrSH(n,i,28)^m.rotrBH(n,i,34)^m.rotrBH(n,i,39),H=m.rotrSL(n,i,28)^m.rotrBL(n,i,34)^m.rotrBL(n,i,39),O=n&o^n&a^o&a,St=i&r^i&l^r&l;U=w|0,$=S|0,w=c|0,S=x|0,c=u|0,x=y|0,{h:u,l:y}=m.add(d|0,p|0,f|0,g|0),d=a|0,p=l|0,a=o|0,l=r|0,o=n|0,r=i|0;const R=m.add3L(g,H,St);n=m.add3H(R,f,B,O),i=R|0}({h:n,l:i}=m.add(this.Ah|0,this.Al|0,n|0,i|0)),{h:o,l:r}=m.add(this.Bh|0,this.Bl|0,o|0,r|0),{h:a,l}=m.add(this.Ch|0,this.Cl|0,a|0,l|0),{h:d,l:p}=m.add(this.Dh|0,this.Dl|0,d|0,p|0),{h:u,l:y}=m.add(this.Eh|0,this.El|0,u|0,y|0),{h:c,l:x}=m.add(this.Fh|0,this.Fl|0,c|0,x|0),{h:w,l:S}=m.add(this.Gh|0,this.Gl|0,w|0,S|0),{h:U,l:$}=m.add(this.Hh|0,this.Hl|0,U|0,$|0),this.set(n,i,o,r,a,l,d,p,u,y,c,x,w,S,U,$)}roundClean(){K.fill(0),M.fill(0)}destroy(){this.buffer.fill(0),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}constructor(){super(128,64,16,!1),this.Ah=1779033703,this.Al=-205731576,this.Bh=-1150833019,this.Bl=-2067093701,this.Ch=1013904242,this.Cl=-23791573,this.Dh=-1521486534,this.Dl=1595750129,this.Eh=1359893119,this.El=-1377402159,this.Fh=-1694144372,this.Fl=725511199,this.Gh=528734635,this.Gl=-79577749,this.Hh=1541459225,this.Hl=327033209}}class ws extends Yt{constructor(){super(),this.Ah=-876896931,this.Al=-1056596264,this.Bh=1654270250,this.Bl=914150663,this.Ch=-1856437926,this.Cl=812702999,this.Dh=355462360,this.Dl=-150054599,this.Eh=1731405415,this.El=-4191439,this.Fh=-1900787065,this.Fl=1750603025,this.Gh=-619958771,this.Gl=1694076839,this.Hh=1203062813,this.Hl=-1090891868,this.outputLen=48}}const vs=W(()=>new Yt),_s=W(()=>new ws),Zt=[],Pt=[],te=[],Ss=BigInt(0),Z=BigInt(1),As=BigInt(2),Cs=BigInt(7),Ls=BigInt(256),Hs=BigInt(113);for(let s=0,t=Z,e=1,n=0;s<24;s++){[e,n]=[n,(2*e+3*n)%5],Zt.push(2*(5*n+e)),Pt.push((s+1)*(s+2)/2%64);let i=Ss;for(let o=0;o<7;o++)t=(t<>Cs)*Hs)%Ls,t&As&&(i^=Z<<(Z<e>32?Qt(s,t,e):Wt(s,t,e),Ut=(s,t,e)=>e>32?Xt(s,t,e):Jt(s,t,e);function Bs(s,t=24){const e=new Uint32Array(10);for(let n=24-t;n<24;n++){for(let r=0;r<10;r++)e[r]=s[r]^s[r+10]^s[r+20]^s[r+30]^s[r+40];for(let r=0;r<10;r+=2){const a=(r+8)%10,l=(r+2)%10,d=e[l],p=e[l+1],u=Et(d,p,1)^e[a],y=Ut(d,p,1)^e[a+1];for(let c=0;c<50;c+=10)s[r+c]^=u,s[r+c+1]^=y}let i=s[2],o=s[3];for(let r=0;r<24;r++){const a=Pt[r],l=Et(i,o,a),d=Ut(i,o,a),p=Zt[r];i=s[p],o=s[p+1],s[p]=l,s[p+1]=d}for(let r=0;r<50;r+=10){for(let a=0;a<10;a++)e[a]=s[r+a];for(let a=0;a<10;a++)s[r+a]^=~e[(a+2)%10]&e[(a+4)%10]}s[0]^=ks[n],s[1]^=Is[n]}e.fill(0)}class _t extends wt{keccak(){It||Bt(this.state32),Bs(this.state32,this.rounds),It||Bt(this.state32),this.posOut=0,this.pos=0}update(t){T(this);const{blockLen:e,state:n}=this;t=at(t);const i=t.length;for(let o=0;o=n&&this.keccak();const r=Math.min(n-this.posOut,o-i);t.set(e.subarray(this.posOut,this.posOut+r),i),this.posOut+=r,i+=r}return t}xofInto(t){if(!this.enableXOF)throw new Error("XOF is not possible for this instance");return this.writeInto(t)}xof(t){return it(t),this.xofInto(new Uint8Array(t))}digestInto(t){if(Mt(t,this),this.finished)throw new Error("digest() was already called");return this.writeInto(t),this.destroy(),t}digest(){return this.digestInto(new Uint8Array(this.outputLen))}destroy(){this.destroyed=!0,this.state.fill(0)}_cloneInto(t){const{blockLen:e,suffix:n,outputLen:i,rounds:o,enableXOF:r}=this;return t||(t=new _t(e,n,i,r,o)),t.state32.set(this.state32),t.pos=this.pos,t.posOut=this.posOut,t.finished=this.finished,t.rounds=o,t.suffix=n,t.outputLen=i,t.enableXOF=r,t.destroyed=this.destroyed,t}constructor(t,e,n,i=!1,o=24){if(super(),this.blockLen=t,this.suffix=e,this.outputLen=n,this.enableXOF=i,this.rounds=o,this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,it(n),0>=this.blockLen||this.blockLen>=200)throw new Error("Sha3 supports only keccak-f1600 function");this.state=new Uint8Array(200),this.state32=ze(this.state)}}const lt=(s,t,e)=>W(()=>new _t(t,s,e)),Es=lt(6,144,224/8),Us=lt(6,136,256/8),$s=lt(6,104,384/8),Ds=lt(6,72,512/8),z=(()=>{if(typeof globalThis=="object")return globalThis;Object.defineProperty(Object.prototype,"__GLOBALTHIS__",{get(){return this},configurable:!0});try{if(typeof __GLOBALTHIS__<"u")return __GLOBALTHIS__}finally{delete Object.prototype.__GLOBALTHIS__}if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global})(),Os={SHA1:Ye,SHA224:es,SHA256:ts,SHA384:_s,SHA512:vs,"SHA3-224":Es,"SHA3-256":Us,"SHA3-384":$s,"SHA3-512":Ds},Vs=(s,t,e)=>{if(pt){const n=Os[s.toUpperCase()];if(!n)throw new TypeError("Unknown hash function");return pt(n,t,e)}else throw new Error("Missing HMAC function")},mt="ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",Ns=s=>{s=s.replaceAll(" ","");let t=s.length;for(;s[t-1]==="=";)--t;s=(t=8&&(i-=8,n[r++]=o>>>i)}return n},Fs=s=>{let t=0,e=0,n="";for(let i=0;i=5;)n+=mt[e>>>t-5&31],t-=5;return t>0&&(n+=mt[e<<5-t&31]),n},Ks=s=>{s=s.replaceAll(" ","");const t=new ArrayBuffer(s.length/2),e=new Uint8Array(t);for(let n=0;n{let t="";for(let e=0;e{const t=new ArrayBuffer(s.length),e=new Uint8Array(t);for(let n=0;n{let t="";for(let e=0;e{if(!$t)throw new Error("Encoding API not available");return $t.encode(s)},qs=s=>{if(!Dt)throw new Error("Encoding API not available");return Dt.decode(s)},Ts=s=>{var t;if((t=z.crypto)!=null&&t.getRandomValues)return z.crypto.getRandomValues(new Uint8Array(s));throw new Error("Cryptography API not available")};class D{static fromLatin1(t){return new D({buffer:js(t).buffer})}static fromUTF8(t){return new D({buffer:Rs(t).buffer})}static fromBase32(t){return new D({buffer:Ns(t).buffer})}static fromHex(t){return new D({buffer:Ks(t).buffer})}get buffer(){return this.bytes.buffer}get latin1(){return Object.defineProperty(this,"latin1",{enumerable:!0,writable:!1,configurable:!1,value:Gs(this.bytes)}),this.latin1}get utf8(){return Object.defineProperty(this,"utf8",{enumerable:!0,writable:!1,configurable:!1,value:qs(this.bytes)}),this.utf8}get base32(){return Object.defineProperty(this,"base32",{enumerable:!0,writable:!1,configurable:!1,value:Fs(this.bytes)}),this.base32}get hex(){return Object.defineProperty(this,"hex",{enumerable:!0,writable:!1,configurable:!1,value:Ms(this.bytes)}),this.hex}constructor({buffer:t,size:e=20}={}){this.bytes=typeof t>"u"?Ts(e):new Uint8Array(t),Object.defineProperty(this,"bytes",{enumerable:!0,writable:!1,configurable:!1,value:this.bytes})}}const zs=(s,t)=>{{if(s.length!==t.length)throw new TypeError("Input strings must have the same length");let e=-1,n=0;for(;++e{const p=_.generate({secret:e,algorithm:n,digits:i,counter:d});zs(t,p)&&(a=d-o)};l(o);for(let d=1;d<=r&&a===null&&(l(o-d),!(a!==null||(l(o+d),a!==null)));++d);return a}validate({token:t,counter:e=this.counter,window:n}){return _.validate({token:t,secret:this.secret,algorithm:this.algorithm,digits:this.digits,counter:e,window:n})}toString(){const t=encodeURIComponent;return`otpauth://hotp/${this.issuer.length>0?this.issuerInLabel?`${t(this.issuer)}:${t(this.label)}?issuer=${t(this.issuer)}&`:`${t(this.label)}?issuer=${t(this.issuer)}&`:`${t(this.label)}?`}secret=${t(this.secret.base32)}&algorithm=${t(this.algorithm)}&digits=${t(this.digits)}&counter=${t(this.counter)}`}constructor({issuer:t=_.defaults.issuer,label:e=_.defaults.label,issuerInLabel:n=_.defaults.issuerInLabel,secret:i=new D,algorithm:o=_.defaults.algorithm,digits:r=_.defaults.digits,counter:a=_.defaults.counter}={}){this.issuer=t,this.label=e,this.issuerInLabel=n,this.secret=typeof i=="string"?D.fromBase32(i):i,this.algorithm=o.toUpperCase(),this.digits=r,this.counter=a}}class C{static get defaults(){return{issuer:"",label:"OTPAuth",issuerInLabel:!0,algorithm:"SHA1",digits:6,period:30,window:1}}static generate({secret:t,algorithm:e,digits:n,period:i=C.defaults.period,timestamp:o=Date.now()}){return _.generate({secret:t,algorithm:e,digits:n,counter:Math.floor(o/1e3/i)})}generate({timestamp:t=Date.now()}={}){return C.generate({secret:this.secret,algorithm:this.algorithm,digits:this.digits,period:this.period,timestamp:t})}static validate({token:t,secret:e,algorithm:n,digits:i,period:o=C.defaults.period,timestamp:r=Date.now(),window:a}){return _.validate({token:t,secret:e,algorithm:n,digits:i,counter:Math.floor(r/1e3/o),window:a})}validate({token:t,timestamp:e,window:n}){return C.validate({token:t,secret:this.secret,algorithm:this.algorithm,digits:this.digits,period:this.period,timestamp:e,window:n})}toString(){const t=encodeURIComponent;return`otpauth://totp/${this.issuer.length>0?this.issuerInLabel?`${t(this.issuer)}:${t(this.label)}?issuer=${t(this.issuer)}&`:`${t(this.label)}?issuer=${t(this.issuer)}&`:`${t(this.label)}?`}secret=${t(this.secret.base32)}&algorithm=${t(this.algorithm)}&digits=${t(this.digits)}&period=${t(this.period)}`}constructor({issuer:t=C.defaults.issuer,label:e=C.defaults.label,issuerInLabel:n=C.defaults.issuerInLabel,secret:i=new D,algorithm:o=C.defaults.algorithm,digits:r=C.defaults.digits,period:a=C.defaults.period}={}){this.issuer=t,this.label=e,this.issuerInLabel=n,this.secret=typeof i=="string"?D.fromBase32(i):i,this.algorithm=o.toUpperCase(),this.digits=r,this.period=a}}const Ws={class:"flex items-center"},Js=["textContent"],Qs=["textContent"],Xs=gt({__name:"totp-banner",props:{data:{}},setup(s){const t=s,e=et({count:0,value:""}),n=yt(()=>({...t.data,label:t.data.label||"",algorithm:t.data.algorithm||"sha1",digits:+(t.data.digits||6),period:+(t.data.period||30)}));let i;Ot(n,l=>{try{i=new C(l)}catch(d){console.error(d),i=null}o()},{immediate:!0});function o(){try{if(!i)throw new Error("Invalid TOTP");e.value=i.generate()}catch{e.value="??????"}}function r(){const l=Math.round(Date.now()/1e3),{period:d}=n.value;e.count=d-l%d,e.count===d&&o()}let a;return ft(()=>{a=window.setInterval(r,1e3),r(),o()}),Vt(()=>{clearInterval(a)}),(l,d)=>(A(),L("div",Ws,[b("div",{class:"p-2 text-green-600",textContent:j(e.value)},null,8,Js),b("div",{class:"w-6 h-6 leading-6 text-center text-xs border border-gray-400 rounded-full",textContent:j(e.count)},null,8,Qs)]))}});class ee{constructor(t){this.key=t}load(t){let e=t;try{const n=localStorage.getItem(this.key);n!=null&&(e=JSON.parse(n))}catch{}return e}dump(t){localStorage.setItem(this.key,JSON.stringify(t))}}class Ys{constructor(t){ct(this,"storage");ct(this,"data");this.storage=new ee(t),this.data=Nt(this.storage.load([])),this.normalize()}get all(){return this.data.value}normalize(){const t=[...this.data.value].sort((e,n)=>this.compare(e,n));this.data.value=t}compare(t,e){const n=`${t.name||""}`,i=`${e.name||""}`;return n.localeCompare(i,"zh-CN")}dump(){this.storage.dump(this.data.value)}remove(t){const e=[...this.data.value.slice(0,t),...this.data.value.slice(t+1)];this.data.value=e,this.dump()}updateItem(t,e){const n=[...this.data.value];return t>=0?n[t]=e:(t=n.length,n.push(e)),this.data.value=n,this.dump(),t}update(t){this.data.value=t(this.data.value),this.normalize(),this.dump()}}function Zs(s){const t=JSON.parse(decodeURI(s));Object.entries(t).forEach(([e,n])=>{localStorage.setItem(e,n)})}function Ps(){const{length:s}=localStorage,t={};for(let e=0;e({...be,data:o.url})),l=Nt();let d=!1,p=!1;Ot(a,()=>{l.value=void 0});const u=[];ft(()=>{t.enable(),u.push(t.register("ctrlcmd-s",()=>c())),S()}),Vt(()=>{u.forEach(h=>h())});function y(h){const{label:f}=o;if(f){const g=h.getContext("2d");g.clearRect(0,300,300,40),g.font='24px -apple-system, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Droid Sans, Helvetica Neue, "Segoe UI", Roboto, "Helvetica Neue", sans-serif',g.fillStyle="dodgerblue",g.textAlign="center",g.fillText(f,150,330)}}function c(h){const{name:f,label:g,config:B}=o,H={name:f||"No name",data:{name:f,label:g,config:B}};r.activeIndex=i.updateItem(h?-1:r.activeIndex,H),pe("Saved")}function x(){const h=new URLSearchParams(window.location.hash.slice(1)),f={name:h.get("name")||"",label:h.get("label")||"",url:h.get("url")};f.url&&(r.activeIndex=-1,Object.assign(o,f),$(f.url),window.location.hash="")}function w(){const{name:h,label:f,config:g}=o;n.autoSaved={name:h,label:f,config:g,activeIndex:r.activeIndex},e.dump(n)}function S(){const h=n.autoSaved;G(h),r.activeIndex=(h==null?void 0:h.activeIndex)??-1}function U(h,f=!1){var B,H;if(d||h===o.config&&!f)return;d=!0,o.config=h;let g;try{r.error=void 0,g=h?Ht.load(h):void 0}catch(O){r.error=`${O}`,console.error(O)}((B=g==null?void 0:g.payload)==null?void 0:B.type)==="totp"&&((H=g.query)!=null&&H.secret)?r.totp={...g.payload,...g.query}:r.totp=void 0,w(),p||$(g&&de(g)||""),d=!1}function $(h){if(!p){if(p=!0,o.url=h,!d){const f=ue(h);U(Ht.dump(f))}p=!1}}function v(h){$(h.target.value)}function k(){const{origin:h,pathname:f,search:g}=window.location,{name:B,label:H,url:O}=o;let R=Object.entries({name:B,label:H,url:O}).map(([ne,At])=>At&&[ne,At].map(encodeURIComponent).join("=")).filter(Boolean).join("&");R=`${R}&_=`;const se=`${h}${f}${g}#${R}`;l.value={url:se}}function I({data:h}){Object.assign(o,{name:h.name,label:h.label}),U(h.config)}function G(h){r.activeIndex=-1,Object.assign(o,{name:(h==null?void 0:h.name)||"",label:(h==null?void 0:h.label)||""}),U((h==null?void 0:h.config)||"",!0)}function J(h){h.target.select()}return ft(()=>{x()}),(h,f)=>(A(),L("div",null,[f[11]||(f[11]=b("h1",null,"URL Builder",-1)),b("section",null,[b("div",tn,[b("div",en,[b("div",sn,[b("div",nn,[b("div",null,[f[7]||(f[7]=b("div",{class:"mb-1"},[X(" Parsed data "),b("span",{class:"ml-1 text-sm"},"(in Yaml)")],-1)),ht(he,{class:"t-code",lang:"yaml",modelValue:o.config,"onUpdate:modelValue":f[0]||(f[0]=g=>o.config=g)},null,8,["modelValue"])])]),b("div",on,[b("div",null,[f[8]||(f[8]=b("div",{class:"mb-1"},[X(" URL "),b("span",{class:"ml-1 text-sm"},[X("(Special protocols like "),b("code",null,"otpauth:"),X(", "),b("code",null,"vmess:"),X(" are supported)")])],-1)),b("textarea",{class:"form-input",value:o.url,onInput:v,rows:"4"},null,40,rn),r.totp?(A(),ce(Xs,{key:0,data:r.totp},null,8,["data"])):q("",!0)]),b("div",an,[ht(Lt(fe),{class:"qrcode",width:300,height:o.label?340:300,options:a.value,onUpdated:y},null,8,["height","options"])]),r.error?(A(),L("div",{key:0,class:"mt-2 text-white error",textContent:j(r.error)},null,8,ln)):q("",!0)])]),b("div",cn,[f[9]||(f[9]=b("label",{class:"mb-1"},"Label",-1)),st(b("input",{class:"form-input","onUpdate:modelValue":f[1]||(f[1]=g=>o.label=g)},null,512),[[nt,o.label]])]),b("div",hn,[f[10]||(f[10]=b("label",{class:"mb-1"},"Name",-1)),st(b("input",{class:"form-input","onUpdate:modelValue":f[2]||(f[2]=g=>o.name=g)},null,512),[[nt,o.name]])]),b("div",dn,[b("button",{class:"mr-2 mb-1",onClick:f[3]||(f[3]=g=>G())},"Reset"),b("button",{class:"mr-2 mb-1",disabled:!o.config,onClick:f[4]||(f[4]=g=>c())}," Save ",8,un),b("button",{class:"mr-2 mb-1",disabled:!o.config,onClick:f[5]||(f[5]=g=>c(!0))}," Save as New ",8,fn),b("button",{class:"mr-2 mb-1",disabled:!o.config,onClick:k}," Share ",8,bn)]),l.value?(A(),L("div",pn,[b("input",{class:"form-input",readonly:"",value:l.value.url,onClick:J},null,8,xn)])):q("",!0)]),ht(Ge,{title:"Snapshots",modelValue:r.activeIndex,"onUpdate:modelValue":f[6]||(f[6]=g=>r.activeIndex=g),snapshots:Lt(i),onPick:I},null,8,["modelValue","snapshots"])])])]))}});export{Sn as default}; diff --git a/_nuxt/DrrwUJS6.js b/_nuxt/BMjrzEGi.js similarity index 94% rename from _nuxt/DrrwUJS6.js rename to _nuxt/BMjrzEGi.js index 7450e62..9e8c976 100644 --- a/_nuxt/DrrwUJS6.js +++ b/_nuxt/BMjrzEGi.js @@ -1 +1 @@ -import{_ as a}from"./Dus1neJF.js";import{_ as i,o as u,c,a as e,t as r,b as l,w as d,d as p}from"./REfpicIH.js";import{u as f}from"./SECIy35Z.js";const m={class:"antialiased bg-white dark:bg-black dark:text-white font-sans grid min-h-screen overflow-hidden place-content-center text-black"},g={class:"max-w-520px text-center z-20"},h=["textContent"],b=["textContent"],x={class:"flex items-center justify-center w-full"},y={__name:"error-404",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},statusCode:{type:Number,default:404},statusMessage:{type:String,default:"Not Found"},description:{type:String,default:"Sorry, the page you are looking for could not be found."},backHome:{type:String,default:"Go back home"}},setup(t){const n=t;return f({title:`${n.statusCode} - ${n.statusMessage} | ${n.appName}`,script:[{children:`!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))r(e);new MutationObserver((e=>{for(const o of e)if("childList"===o.type)for(const e of o.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&r(e)})).observe(document,{childList:!0,subtree:!0})}function r(e){if(e.ep)return;e.ep=!0;const r=function(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?r.credentials="include":"anonymous"===e.crossOrigin?r.credentials="omit":r.credentials="same-origin",r}(e);fetch(e.href,r)}}();`}],style:[{children:'*,:after,:before{border-color:var(--un-default-border-color,#e5e7eb);border-style:solid;border-width:0;box-sizing:border-box}:after,:before{--un-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;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;-moz-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}h1{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}h1,p{margin:0}*,:after,:before{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 transparent;--un-ring-shadow:0 0 transparent;--un-shadow-inset: ;--un-shadow:0 0 transparent;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }'}]}),(k,o)=>{const s=a;return u(),c("div",m,[o[0]||(o[0]=e("div",{class:"fixed left-0 right-0 spotlight z-10"},null,-1)),e("div",g,[e("h1",{class:"font-medium mb-8 sm:text-10xl text-8xl",textContent:r(t.statusCode)},null,8,h),e("p",{class:"font-light leading-tight mb-16 px-8 sm:px-0 sm:text-4xl text-xl",textContent:r(t.description)},null,8,b),e("div",x,[l(s,{to:"/",class:"cursor-pointer gradient-border px-4 py-2 sm:px-6 sm:py-3 sm:text-xl text-md"},{default:d(()=>[p(r(t.backHome),1)]),_:1})])])])}}},z=i(y,[["__scopeId","data-v-64ac57b1"]]);export{z as default}; +import{_ as a}from"./BpOF_EeM.js";import{_ as i,o as u,c,a as e,t as r,b as l,w as d,d as p}from"./nS3f7xyi.js";import{u as f}from"./Dx4me579.js";const m={class:"antialiased bg-white dark:bg-black dark:text-white font-sans grid min-h-screen overflow-hidden place-content-center text-black"},g={class:"max-w-520px text-center z-20"},h=["textContent"],b=["textContent"],x={class:"flex items-center justify-center w-full"},y={__name:"error-404",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},statusCode:{type:Number,default:404},statusMessage:{type:String,default:"Not Found"},description:{type:String,default:"Sorry, the page you are looking for could not be found."},backHome:{type:String,default:"Go back home"}},setup(t){const n=t;return f({title:`${n.statusCode} - ${n.statusMessage} | ${n.appName}`,script:[{children:`!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))r(e);new MutationObserver((e=>{for(const o of e)if("childList"===o.type)for(const e of o.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&r(e)})).observe(document,{childList:!0,subtree:!0})}function r(e){if(e.ep)return;e.ep=!0;const r=function(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?r.credentials="include":"anonymous"===e.crossOrigin?r.credentials="omit":r.credentials="same-origin",r}(e);fetch(e.href,r)}}();`}],style:[{children:'*,:after,:before{border-color:var(--un-default-border-color,#e5e7eb);border-style:solid;border-width:0;box-sizing:border-box}:after,:before{--un-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;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;-moz-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}h1{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}h1,p{margin:0}*,:after,:before{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 transparent;--un-ring-shadow:0 0 transparent;--un-shadow-inset: ;--un-shadow:0 0 transparent;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }'}]}),(k,o)=>{const s=a;return u(),c("div",m,[o[0]||(o[0]=e("div",{class:"fixed left-0 right-0 spotlight z-10"},null,-1)),e("div",g,[e("h1",{class:"font-medium mb-8 sm:text-10xl text-8xl",textContent:r(t.statusCode)},null,8,h),e("p",{class:"font-light leading-tight mb-16 px-8 sm:px-0 sm:text-4xl text-xl",textContent:r(t.description)},null,8,b),e("div",x,[l(s,{to:"/",class:"cursor-pointer gradient-border px-4 py-2 sm:px-6 sm:py-3 sm:text-xl text-md"},{default:d(()=>[p(r(t.backHome),1)]),_:1})])])])}}},z=i(y,[["__scopeId","data-v-64ac57b1"]]);export{z as default}; diff --git a/_nuxt/B5g4fLGF.js b/_nuxt/Bbk5JhsW.js similarity index 96% rename from _nuxt/B5g4fLGF.js rename to _nuxt/Bbk5JhsW.js index 5f4bf35..3039287 100644 --- a/_nuxt/B5g4fLGF.js +++ b/_nuxt/Bbk5JhsW.js @@ -1 +1 @@ -import{_ as s,o as a,c as i,a as e,t as o}from"./REfpicIH.js";import{u}from"./SECIy35Z.js";const l={class:"antialiased bg-white dark:bg-black dark:text-white font-sans grid min-h-screen overflow-hidden place-content-center text-black"},c={class:"max-w-520px text-center"},d=["textContent"],p=["textContent"],f={__name:"error-500",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},statusCode:{type:Number,default:500},statusMessage:{type:String,default:"Server error"},description:{type:String,default:"This page is temporarily unavailable."}},setup(t){const r=t;return u({title:`${r.statusCode} - ${r.statusMessage} | ${r.appName}`,script:[{children:`!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))r(e);new MutationObserver((e=>{for(const o of e)if("childList"===o.type)for(const e of o.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&r(e)})).observe(document,{childList:!0,subtree:!0})}function r(e){if(e.ep)return;e.ep=!0;const r=function(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?r.credentials="include":"anonymous"===e.crossOrigin?r.credentials="omit":r.credentials="same-origin",r}(e);fetch(e.href,r)}}();`}],style:[{children:'*,:after,:before{border-color:var(--un-default-border-color,#e5e7eb);border-style:solid;border-width:0;box-sizing:border-box}:after,:before{--un-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;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;-moz-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}h1{font-size:inherit;font-weight:inherit}h1,p{margin:0}*,:after,:before{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 transparent;--un-ring-shadow:0 0 transparent;--un-shadow-inset: ;--un-shadow:0 0 transparent;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }'}]}),(g,n)=>(a(),i("div",l,[n[0]||(n[0]=e("div",{class:"-bottom-1/2 fixed h-1/2 left-0 right-0 spotlight"},null,-1)),e("div",c,[e("h1",{class:"font-medium mb-8 sm:text-10xl text-8xl",textContent:o(t.statusCode)},null,8,d),e("p",{class:"font-light leading-tight mb-16 px-8 sm:px-0 sm:text-4xl text-xl",textContent:o(t.description)},null,8,p)])]))}},b=s(f,[["__scopeId","data-v-dffca445"]]);export{b as default}; +import{_ as s,o as a,c as i,a as e,t as o}from"./nS3f7xyi.js";import{u}from"./Dx4me579.js";const l={class:"antialiased bg-white dark:bg-black dark:text-white font-sans grid min-h-screen overflow-hidden place-content-center text-black"},c={class:"max-w-520px text-center"},d=["textContent"],p=["textContent"],f={__name:"error-500",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},statusCode:{type:Number,default:500},statusMessage:{type:String,default:"Server error"},description:{type:String,default:"This page is temporarily unavailable."}},setup(t){const r=t;return u({title:`${r.statusCode} - ${r.statusMessage} | ${r.appName}`,script:[{children:`!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))r(e);new MutationObserver((e=>{for(const o of e)if("childList"===o.type)for(const e of o.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&r(e)})).observe(document,{childList:!0,subtree:!0})}function r(e){if(e.ep)return;e.ep=!0;const r=function(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?r.credentials="include":"anonymous"===e.crossOrigin?r.credentials="omit":r.credentials="same-origin",r}(e);fetch(e.href,r)}}();`}],style:[{children:'*,:after,:before{border-color:var(--un-default-border-color,#e5e7eb);border-style:solid;border-width:0;box-sizing:border-box}:after,:before{--un-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;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;-moz-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}h1{font-size:inherit;font-weight:inherit}h1,p{margin:0}*,:after,:before{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 transparent;--un-ring-shadow:0 0 transparent;--un-shadow-inset: ;--un-shadow:0 0 transparent;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }'}]}),(g,n)=>(a(),i("div",l,[n[0]||(n[0]=e("div",{class:"-bottom-1/2 fixed h-1/2 left-0 right-0 spotlight"},null,-1)),e("div",c,[e("h1",{class:"font-medium mb-8 sm:text-10xl text-8xl",textContent:o(t.statusCode)},null,8,d),e("p",{class:"font-light leading-tight mb-16 px-8 sm:px-0 sm:text-4xl text-xl",textContent:o(t.description)},null,8,p)])]))}},b=s(f,[["__scopeId","data-v-dffca445"]]);export{b as default}; diff --git a/_nuxt/CtpBSylq.js b/_nuxt/BniBMG3L.js similarity index 97% rename from _nuxt/CtpBSylq.js rename to _nuxt/BniBMG3L.js index 89e6b71..be09d34 100644 --- a/_nuxt/CtpBSylq.js +++ b/_nuxt/BniBMG3L.js @@ -1,2 +1,2 @@ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Cho4J4pX.js","./8HslT92O.js","./yIwJwvju.js","./DGHton2e.js","./BR8QTl2s.js","./Crv9dbuU.js","./BxDglpyb.js","./BosuxZz1.js","./CjmsQm5P.js","./mbYHt68G.js","./C31aYP37.js","./BVDwJ206.js","./jh039knR.js","./C_BrhvQF.js","./DfWnYqj1.js","./Dn9m_fTP.js"])))=>i.map(i=>d[i]); -import{m as O,r as j,n as s,p as L,g as A,z as w,o as _,c,a as o,A as I,B as f,q as R,v as y,b as D}from"./REfpicIH.js";import{_ as T}from"./DfM6GND9.js";const x={class:"tool-string"},b={class:"mb-2"},C={class:"flex"},k={class:"flex-1 mr-4"},S={class:"flex"},B={class:"flex-1"},$=["value"],M={key:0},N=["value"],a=j([]);q();async function q(){const d=await Promise.all(Object.values(Object.assign({"/components/string/pipes/base64-text.js":()=>s(()=>import("./fdURKpsy.js"),[],import.meta.url),"/components/string/pipes/json-get.js":()=>s(()=>import("./Cho4J4pX.js"),__vite__mapDeps([0,1]),import.meta.url),"/components/string/pipes/json-parse.js":()=>s(()=>import("./yIwJwvju.js"),__vite__mapDeps([2,1]),import.meta.url),"/components/string/pipes/json-stringify.js":()=>s(()=>import("./DoiiY0Tb.js"),[],import.meta.url),"/components/string/pipes/json5-js.js":()=>s(()=>import("./DGHton2e.js"),__vite__mapDeps([3,1]),import.meta.url),"/components/string/pipes/json5-json.js":()=>s(()=>import("./BR8QTl2s.js"),__vite__mapDeps([4,1]),import.meta.url),"/components/string/pipes/json5-toml.js":()=>s(()=>import("./Crv9dbuU.js"),__vite__mapDeps([5,1,6,7]),import.meta.url),"/components/string/pipes/json5-yaml.js":()=>s(()=>import("./CjmsQm5P.js"),__vite__mapDeps([8,1,9]),import.meta.url),"/components/string/pipes/list-tree.js":()=>s(()=>import("./C31aYP37.js"),__vite__mapDeps([10,11]),import.meta.url),"/components/string/pipes/plist-json.js":()=>s(()=>import("./jh039knR.js"),__vite__mapDeps([12,7]),import.meta.url),"/components/string/pipes/text-base64.js":()=>s(()=>import("./CZ2ggBUA.js"),[],import.meta.url),"/components/string/pipes/toml-json.js":()=>s(()=>import("./C_BrhvQF.js"),__vite__mapDeps([13,6,7]),import.meta.url),"/components/string/pipes/tree-list.js":()=>s(()=>import("./DfWnYqj1.js"),__vite__mapDeps([14,11]),import.meta.url),"/components/string/pipes/yaml-json.js":()=>s(()=>import("./Dn9m_fTP.js"),__vite__mapDeps([15,9]),import.meta.url)})).map(async e=>await e()));a.value=d}const H=O({__name:"string",setup(d){const e=L({input:"",pipes:[]}),r=j();A([a.value,()=>[e.pipes,e.input]],()=>{let n="";try{let t=e.input;for(const{name:i,options:l}of e.pipes){const p=a.value.find(m=>m.meta.name===i);p&&(n=i,t=p.handle(t,l))}e.output=t,e.errorPipe=""}catch{e.errorPipe=n}});function E(){e.input=""}function g(n){n.target.select()}function P(){const{origin:n,pathname:t,search:i}=window.location,{input:l,pipes:p}=e,m={i:l,p:JSON.stringify(p)};let u=Object.entries(m).map(([h,v])=>v&&[h,v].map(encodeURIComponent).join("=")).filter(Boolean).join("&");u=`${u}&_=`;const V=`${n}${t}${i}#${u}`;r.value={url:V}}return w(()=>{const n=new URLSearchParams(window.location.hash.slice(1));try{const t=n.get("i"),i=JSON.parse(n.get("p")||"");t&&i&&(e.input=t,e.pipes=i)}finally{window.location.hash=""}}),(n,t)=>(_(),c("div",x,[t[5]||(t[5]=o("h1",null,"String Pipes",-1)),o("section",b,[o("div",C,[o("div",k,[o("div",S,[t[3]||(t[3]=o("label",null,"Input",-1)),e.input?(_(),c("a",{key:0,class:"ml-4",href:"#",onClick:I(E,["prevent"])},t[2]||(t[2]=[o("svg",{viewBox:"0 0 20 20",fill:"currentColor",class:"trash w-6 h-6"},[o("path",{"fill-rule":"evenodd",d:"M9 2a1 1 0 00-.894.553L7.382 4H4a1 1 0 000 2v10a2 2 0 002 2h8a2 2 0 002-2V6a1 1 0 100-2h-3.382l-.724-1.447A1 1 0 0011 2H9zM7 8a1 1 0 012 0v6a1 1 0 11-2 0V8zm5-1a1 1 0 00-1 1v6a1 1 0 102 0V8a1 1 0 00-1-1z","clip-rule":"evenodd"})],-1)]))):f("",!0)]),R(o("textarea",{class:"form-input",rows:"18","onUpdate:modelValue":t[0]||(t[0]=i=>e.input=i)},null,512),[[y,e.input]])]),o("div",B,[t[4]||(t[4]=o("label",null,"Output",-1)),o("textarea",{class:"form-input",rows:"18",readonly:"",value:e.output},null,8,$)])])]),D(T,{pipeList:a.value,errorPipe:e.errorPipe,modelValue:e.pipes,"onUpdate:modelValue":t[1]||(t[1]=i=>e.pipes=i)},null,8,["pipeList","errorPipe","modelValue"]),o("div",{class:"mt-4"},[o("button",{class:"mr-2 mb-1",onClick:P},"Share")]),r.value?(_(),c("div",M,[o("input",{class:"form-input",readonly:"",value:r.value.url,onClick:g},null,8,N)])):f("",!0)]))}});export{H as default}; +import{m as O,r as j,n as s,p as L,g as A,z as w,o as _,c,a as o,A as I,B as f,q as R,v as y,b as D}from"./nS3f7xyi.js";import{_ as T}from"./O4-S8BdF.js";const x={class:"tool-string"},b={class:"mb-2"},C={class:"flex"},k={class:"flex-1 mr-4"},S={class:"flex"},B={class:"flex-1"},$=["value"],M={key:0},N=["value"],a=j([]);q();async function q(){const d=await Promise.all(Object.values(Object.assign({"/components/string/pipes/base64-text.js":()=>s(()=>import("./fdURKpsy.js"),[],import.meta.url),"/components/string/pipes/json-get.js":()=>s(()=>import("./Cho4J4pX.js"),__vite__mapDeps([0,1]),import.meta.url),"/components/string/pipes/json-parse.js":()=>s(()=>import("./yIwJwvju.js"),__vite__mapDeps([2,1]),import.meta.url),"/components/string/pipes/json-stringify.js":()=>s(()=>import("./DoiiY0Tb.js"),[],import.meta.url),"/components/string/pipes/json5-js.js":()=>s(()=>import("./DGHton2e.js"),__vite__mapDeps([3,1]),import.meta.url),"/components/string/pipes/json5-json.js":()=>s(()=>import("./BR8QTl2s.js"),__vite__mapDeps([4,1]),import.meta.url),"/components/string/pipes/json5-toml.js":()=>s(()=>import("./Crv9dbuU.js"),__vite__mapDeps([5,1,6,7]),import.meta.url),"/components/string/pipes/json5-yaml.js":()=>s(()=>import("./CjmsQm5P.js"),__vite__mapDeps([8,1,9]),import.meta.url),"/components/string/pipes/list-tree.js":()=>s(()=>import("./C31aYP37.js"),__vite__mapDeps([10,11]),import.meta.url),"/components/string/pipes/plist-json.js":()=>s(()=>import("./jh039knR.js"),__vite__mapDeps([12,7]),import.meta.url),"/components/string/pipes/text-base64.js":()=>s(()=>import("./CZ2ggBUA.js"),[],import.meta.url),"/components/string/pipes/toml-json.js":()=>s(()=>import("./C_BrhvQF.js"),__vite__mapDeps([13,6,7]),import.meta.url),"/components/string/pipes/tree-list.js":()=>s(()=>import("./DfWnYqj1.js"),__vite__mapDeps([14,11]),import.meta.url),"/components/string/pipes/yaml-json.js":()=>s(()=>import("./Dn9m_fTP.js"),__vite__mapDeps([15,9]),import.meta.url)})).map(async e=>await e()));a.value=d}const H=O({__name:"string",setup(d){const e=L({input:"",pipes:[]}),r=j();A([a.value,()=>[e.pipes,e.input]],()=>{let n="";try{let t=e.input;for(const{name:i,options:l}of e.pipes){const p=a.value.find(m=>m.meta.name===i);p&&(n=i,t=p.handle(t,l))}e.output=t,e.errorPipe=""}catch{e.errorPipe=n}});function E(){e.input=""}function g(n){n.target.select()}function P(){const{origin:n,pathname:t,search:i}=window.location,{input:l,pipes:p}=e,m={i:l,p:JSON.stringify(p)};let u=Object.entries(m).map(([h,v])=>v&&[h,v].map(encodeURIComponent).join("=")).filter(Boolean).join("&");u=`${u}&_=`;const V=`${n}${t}${i}#${u}`;r.value={url:V}}return w(()=>{const n=new URLSearchParams(window.location.hash.slice(1));try{const t=n.get("i"),i=JSON.parse(n.get("p")||"");t&&i&&(e.input=t,e.pipes=i)}finally{window.location.hash=""}}),(n,t)=>(_(),c("div",x,[t[5]||(t[5]=o("h1",null,"String Pipes",-1)),o("section",b,[o("div",C,[o("div",k,[o("div",S,[t[3]||(t[3]=o("label",null,"Input",-1)),e.input?(_(),c("a",{key:0,class:"ml-4",href:"#",onClick:I(E,["prevent"])},t[2]||(t[2]=[o("svg",{viewBox:"0 0 20 20",fill:"currentColor",class:"trash w-6 h-6"},[o("path",{"fill-rule":"evenodd",d:"M9 2a1 1 0 00-.894.553L7.382 4H4a1 1 0 000 2v10a2 2 0 002 2h8a2 2 0 002-2V6a1 1 0 100-2h-3.382l-.724-1.447A1 1 0 0011 2H9zM7 8a1 1 0 012 0v6a1 1 0 11-2 0V8zm5-1a1 1 0 00-1 1v6a1 1 0 102 0V8a1 1 0 00-1-1z","clip-rule":"evenodd"})],-1)]))):f("",!0)]),R(o("textarea",{class:"form-input",rows:"18","onUpdate:modelValue":t[0]||(t[0]=i=>e.input=i)},null,512),[[y,e.input]])]),o("div",B,[t[4]||(t[4]=o("label",null,"Output",-1)),o("textarea",{class:"form-input",rows:"18",readonly:"",value:e.output},null,8,$)])])]),D(T,{pipeList:a.value,errorPipe:e.errorPipe,modelValue:e.pipes,"onUpdate:modelValue":t[1]||(t[1]=i=>e.pipes=i)},null,8,["pipeList","errorPipe","modelValue"]),o("div",{class:"mt-4"},[o("button",{class:"mr-2 mb-1",onClick:P},"Share")]),r.value?(_(),c("div",M,[o("input",{class:"form-input",readonly:"",value:r.value.url,onClick:g},null,8,N)])):f("",!0)]))}});export{H as default}; diff --git a/_nuxt/Dus1neJF.js b/_nuxt/BpOF_EeM.js similarity index 98% rename from _nuxt/Dus1neJF.js rename to _nuxt/BpOF_EeM.js index 3833722..f185827 100644 --- a/_nuxt/Dus1neJF.js +++ b/_nuxt/BpOF_EeM.js @@ -1 +1 @@ -import{M as S,m as j,r as q,N as R,z as B,O as T,P as U,h as E,Q as V,J as A,R as w,S as F,U as I,C as x,V as L,W as O,X as D,Y as z,Z as H,$ as M,a0 as $}from"./REfpicIH.js";async function N(t,r=S()){const{path:f,matched:y}=r.resolve(t);if(!y.length||(r._routePreloaded||(r._routePreloaded=new Set),r._routePreloaded.has(f)))return;const e=r._preloadPromises=r._preloadPromises||[];if(e.length>4)return Promise.all(e).then(()=>N(t,r));r._routePreloaded.add(f);const a=y.map(o=>{var n;return(n=o.components)==null?void 0:n.default}).filter(o=>typeof o=="function");for(const o of a){const n=Promise.resolve(o()).catch(()=>{}).finally(()=>e.splice(e.indexOf(n)));e.push(n)}await Promise.all(e)}const Q=(...t)=>t.find(r=>r!==void 0);function W(t){const r=t.componentName||"NuxtLink";function f(e,a){if(!e||t.trailingSlash!=="append"&&t.trailingSlash!=="remove")return e;if(typeof e=="string")return k(e,t.trailingSlash);const o="path"in e&&e.path!==void 0?e.path:a(e).path;return{...e,name:void 0,path:k(o,t.trailingSlash)}}function y(e){const a=S(),o=H(),n=x(()=>!!e.target&&e.target!=="_self"),v=x(()=>{const d=e.to||e.href||"";return typeof d=="string"&&L(d,{acceptRelative:!0})}),b=w("RouterLink"),m=b&&typeof b!="string"?b.useLink:void 0,g=x(()=>{if(e.external)return!0;const d=e.to||e.href||"";return typeof d=="object"?!1:d===""||v.value}),i=x(()=>{const d=e.to||e.href||"";return g.value?d:f(d,a.resolve)}),s=g.value||m==null?void 0:m({...e,to:i}),p=x(()=>{var d;if(!i.value||v.value)return i.value;if(g.value){const P=typeof i.value=="object"&&"path"in i.value?O(i.value):i.value,C=typeof P=="object"?a.resolve(P).href:P;return f(C,a.resolve)}return typeof i.value=="object"?((d=a.resolve(i.value))==null?void 0:d.href)??null:f(D(o.app.baseURL,i.value),a.resolve)});return{to:i,hasTarget:n,isAbsoluteUrl:v,isExternal:g,href:p,isActive:(s==null?void 0:s.isActive)??x(()=>i.value===a.currentRoute.value.path),isExactActive:(s==null?void 0:s.isExactActive)??x(()=>i.value===a.currentRoute.value.path),route:(s==null?void 0:s.route)??x(()=>a.resolve(i.value)),async navigate(){await z(p.value,{replace:e.replace,external:g.value||n.value})}}}return j({name:r,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},prefetchOn:{type:[String,Object],default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1}},useLink:y,setup(e,{slots:a}){const o=S(),{to:n,href:v,navigate:b,isExternal:m,hasTarget:g,isAbsoluteUrl:i}=y(e),s=q(!1),p=q(null),d=l=>{var c;p.value=e.custom?(c=l==null?void 0:l.$el)==null?void 0:c.nextElementSibling:l==null?void 0:l.$el};function P(l){var c,u;return!s.value&&(typeof e.prefetchOn=="string"?e.prefetchOn===l:((c=e.prefetchOn)==null?void 0:c[l])??((u=t.prefetchOn)==null?void 0:u[l]))&&(e.prefetch??t.prefetch)!==!1&&e.noPrefetch!==!0&&e.target!=="_blank"&&!X()}async function C(l=R()){if(s.value)return;s.value=!0;const c=typeof n.value=="string"?n.value:m.value?O(n.value):o.resolve(n.value).fullPath;await Promise.all([l.hooks.callHook("link:prefetch",c).catch(()=>{}),!m.value&&!g.value&&N(n.value,o).catch(()=>{})])}if(P("visibility")){const l=R();let c,u=null;B(()=>{const h=J();T(()=>{c=U(()=>{var _;(_=p==null?void 0:p.value)!=null&&_.tagName&&(u=h.observe(p.value,async()=>{u==null||u(),u=null,await C(l)}))})})}),E(()=>{c&&V(c),u==null||u(),u=null})}return()=>{var u;if(!m.value&&!g.value){const h={ref:d,to:n.value,activeClass:e.activeClass||t.activeClass,exactActiveClass:e.exactActiveClass||t.exactActiveClass,replace:e.replace,ariaCurrentValue:e.ariaCurrentValue,custom:e.custom};return e.custom||(P("interaction")&&(h.onPointerenter=C.bind(null,void 0),h.onFocus=C.bind(null,void 0)),s.value&&(h.class=e.prefetchedClass||t.prefetchedClass),h.rel=e.rel||void 0),A(w("RouterLink"),h,a.default)}const l=e.target||null,c=Q(e.noRel?"":e.rel,t.externalRelAttribute,i.value||g.value?"noopener noreferrer":"")||null;return e.custom?a.default?a.default({href:v.value,navigate:b,prefetch:C,get route(){if(!v.value)return;const h=new URL(v.value,window.location.href);return{path:h.pathname,fullPath:h.pathname,get query(){return F(h.search)},hash:h.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:v.value}},rel:c,target:l,isExternal:m.value||g.value,isActive:!1,isExactActive:!1}):null:A("a",{ref:p,href:v.value||null,rel:c,target:l},(u=a.default)==null?void 0:u.call(a))}}})}const Z=W(I);function k(t,r){const f=r==="append"?M:$;return L(t)&&!t.startsWith("http")?t:f(t,!0)}function J(){const t=R();if(t._observer)return t._observer;let r=null;const f=new Map,y=(a,o)=>(r||(r=new IntersectionObserver(n=>{for(const v of n){const b=f.get(v.target);(v.isIntersecting||v.intersectionRatio>0)&&b&&b()}})),f.set(a,o),r.observe(a),()=>{f.delete(a),r.unobserve(a),f.size===0&&(r.disconnect(),r=null)});return t._observer={observe:y}}function X(){const t=navigator.connection;return!!(t&&(t.saveData||/2g/.test(t.effectiveType)))}export{Z as _}; +import{M as S,m as j,r as q,N as R,z as B,O as T,P as U,h as E,Q as V,J as A,R as w,S as F,U as I,C as x,V as L,W as O,X as D,Y as z,Z as H,$ as M,a0 as $}from"./nS3f7xyi.js";async function N(t,r=S()){const{path:f,matched:y}=r.resolve(t);if(!y.length||(r._routePreloaded||(r._routePreloaded=new Set),r._routePreloaded.has(f)))return;const e=r._preloadPromises=r._preloadPromises||[];if(e.length>4)return Promise.all(e).then(()=>N(t,r));r._routePreloaded.add(f);const a=y.map(o=>{var n;return(n=o.components)==null?void 0:n.default}).filter(o=>typeof o=="function");for(const o of a){const n=Promise.resolve(o()).catch(()=>{}).finally(()=>e.splice(e.indexOf(n)));e.push(n)}await Promise.all(e)}const Q=(...t)=>t.find(r=>r!==void 0);function W(t){const r=t.componentName||"NuxtLink";function f(e,a){if(!e||t.trailingSlash!=="append"&&t.trailingSlash!=="remove")return e;if(typeof e=="string")return k(e,t.trailingSlash);const o="path"in e&&e.path!==void 0?e.path:a(e).path;return{...e,name:void 0,path:k(o,t.trailingSlash)}}function y(e){const a=S(),o=H(),n=x(()=>!!e.target&&e.target!=="_self"),v=x(()=>{const d=e.to||e.href||"";return typeof d=="string"&&L(d,{acceptRelative:!0})}),b=w("RouterLink"),m=b&&typeof b!="string"?b.useLink:void 0,g=x(()=>{if(e.external)return!0;const d=e.to||e.href||"";return typeof d=="object"?!1:d===""||v.value}),i=x(()=>{const d=e.to||e.href||"";return g.value?d:f(d,a.resolve)}),s=g.value||m==null?void 0:m({...e,to:i}),p=x(()=>{var d;if(!i.value||v.value)return i.value;if(g.value){const P=typeof i.value=="object"&&"path"in i.value?O(i.value):i.value,C=typeof P=="object"?a.resolve(P).href:P;return f(C,a.resolve)}return typeof i.value=="object"?((d=a.resolve(i.value))==null?void 0:d.href)??null:f(D(o.app.baseURL,i.value),a.resolve)});return{to:i,hasTarget:n,isAbsoluteUrl:v,isExternal:g,href:p,isActive:(s==null?void 0:s.isActive)??x(()=>i.value===a.currentRoute.value.path),isExactActive:(s==null?void 0:s.isExactActive)??x(()=>i.value===a.currentRoute.value.path),route:(s==null?void 0:s.route)??x(()=>a.resolve(i.value)),async navigate(){await z(p.value,{replace:e.replace,external:g.value||n.value})}}}return j({name:r,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},prefetchOn:{type:[String,Object],default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1}},useLink:y,setup(e,{slots:a}){const o=S(),{to:n,href:v,navigate:b,isExternal:m,hasTarget:g,isAbsoluteUrl:i}=y(e),s=q(!1),p=q(null),d=l=>{var c;p.value=e.custom?(c=l==null?void 0:l.$el)==null?void 0:c.nextElementSibling:l==null?void 0:l.$el};function P(l){var c,u;return!s.value&&(typeof e.prefetchOn=="string"?e.prefetchOn===l:((c=e.prefetchOn)==null?void 0:c[l])??((u=t.prefetchOn)==null?void 0:u[l]))&&(e.prefetch??t.prefetch)!==!1&&e.noPrefetch!==!0&&e.target!=="_blank"&&!X()}async function C(l=R()){if(s.value)return;s.value=!0;const c=typeof n.value=="string"?n.value:m.value?O(n.value):o.resolve(n.value).fullPath;await Promise.all([l.hooks.callHook("link:prefetch",c).catch(()=>{}),!m.value&&!g.value&&N(n.value,o).catch(()=>{})])}if(P("visibility")){const l=R();let c,u=null;B(()=>{const h=J();T(()=>{c=U(()=>{var _;(_=p==null?void 0:p.value)!=null&&_.tagName&&(u=h.observe(p.value,async()=>{u==null||u(),u=null,await C(l)}))})})}),E(()=>{c&&V(c),u==null||u(),u=null})}return()=>{var u;if(!m.value&&!g.value){const h={ref:d,to:n.value,activeClass:e.activeClass||t.activeClass,exactActiveClass:e.exactActiveClass||t.exactActiveClass,replace:e.replace,ariaCurrentValue:e.ariaCurrentValue,custom:e.custom};return e.custom||(P("interaction")&&(h.onPointerenter=C.bind(null,void 0),h.onFocus=C.bind(null,void 0)),s.value&&(h.class=e.prefetchedClass||t.prefetchedClass),h.rel=e.rel||void 0),A(w("RouterLink"),h,a.default)}const l=e.target||null,c=Q(e.noRel?"":e.rel,t.externalRelAttribute,i.value||g.value?"noopener noreferrer":"")||null;return e.custom?a.default?a.default({href:v.value,navigate:b,prefetch:C,get route(){if(!v.value)return;const h=new URL(v.value,window.location.href);return{path:h.pathname,fullPath:h.pathname,get query(){return F(h.search)},hash:h.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:v.value}},rel:c,target:l,isExternal:m.value||g.value,isActive:!1,isExactActive:!1}):null:A("a",{ref:p,href:v.value||null,rel:c,target:l},(u=a.default)==null?void 0:u.call(a))}}})}const Z=W(I);function k(t,r){const f=r==="append"?M:$;return L(t)&&!t.startsWith("http")?t:f(t,!0)}function J(){const t=R();if(t._observer)return t._observer;let r=null;const f=new Map,y=(a,o)=>(r||(r=new IntersectionObserver(n=>{for(const v of n){const b=f.get(v.target);(v.isIntersecting||v.intersectionRatio>0)&&b&&b()}})),f.set(a,o),r.observe(a),()=>{f.delete(a),r.unobserve(a),f.size===0&&(r.disconnect(),r=null)});return t._observer={observe:y}}function X(){const t=navigator.connection;return!!(t&&(t.saveData||/2g/.test(t.effectiveType)))}export{Z as _}; diff --git a/_nuxt/D67-esAi.js b/_nuxt/BrYKVF9Y.js similarity index 99% rename from _nuxt/D67-esAi.js rename to _nuxt/BrYKVF9Y.js index f6a4124..55fde19 100644 --- a/_nuxt/D67-esAi.js +++ b/_nuxt/BrYKVF9Y.js @@ -1,4 +1,4 @@ -import{g as Nd}from"./BosuxZz1.js";import{m as Gc,r as mr,e as Fd,g as br,J as Hd,K as ma,L as Kd,C as Jd,z as ep,o as tp,c as ip,s as np,p as rp}from"./REfpicIH.js";function sp(n,e){if(n==null)return{};var t={};for(var i in n)if({}.hasOwnProperty.call(n,i)){if(e.includes(i))continue;t[i]=n[i]}return t}function yi(){return yi=Object.assign?Object.assign.bind():function(n){for(var e=1;e=7&&fe(D),A==null&&(A=Re(v,R,C)),se(A,q)},U=function(D,q){for(var Z=-1;Z<=7;Z+=1)if(!(D+Z<=-1||b<=D+Z))for(var V=-1;V<=7;V+=1)q+V<=-1||b<=q+V||(0<=Z&&Z<=6&&(V==0||V==6)||0<=V&&V<=6&&(Z==0||Z==6)||2<=Z&&Z<=4&&2<=V&&V<=4?S[D+Z][q+V]=!0:S[D+Z][q+V]=!1)},J=function(){for(var D=0,q=0,Z=0;Z<8;Z+=1){Y(!0,Z);var V=l.getLostPoint(X);(Z==0||D>V)&&(D=V,q=Z)}return q},K=function(){for(var D=8;D>Z&1)==1;S[Math.floor(Z/3)][Z%3+b-8-3]=V}for(var Z=0;Z<18;Z+=1){var V=!D&&(q>>Z&1)==1;S[Z%3+b-8-3][Math.floor(Z/3)]=V}},ae=function(D,q){for(var Z=R<<3|q,V=l.getBCHTypeInfo(Z),E=0;E<15;E+=1){var j=!D&&(V>>E&1)==1;E<6?S[E][8]=j:E<8?S[E+1][8]=j:S[b-15+E][8]=j}for(var E=0;E<15;E+=1){var j=!D&&(V>>E&1)==1;E<8?S[8][b-E-1]=j:E<9?S[8][15-E-1+1]=j:S[8][15-E-1]=j}S[b-8][8]=!D},se=function(D,q){for(var Z=-1,V=b-1,E=7,j=0,N=l.getMaskFunction(q),G=b-1;G>0;G-=2)for(G==6&&(G-=1);;){for(var ue=0;ue<2;ue+=1)if(S[V][G-ue]==null){var we=!1;j>>E&1)==1);var H=N(V,G-ue);H&&(we=!we),S[V][G-ue]=we,E-=1,E==-1&&(j+=1,E=7)}if(V+=Z,V<0||b<=V){V-=Z,Z=-Z;break}}},me=function(D,q){for(var Z=0,V=0,E=0,j=new Array(q.length),N=new Array(q.length),G=0;G=0?da.getAt(pa):0}}for(var ga=0,H=0;HG*8)throw"code length overflow. ("+E.getLengthInBits()+">"+G*8+")";for(E.getLengthInBits()+4<=G*8&&E.put(0,4);E.getLengthInBits()%8!=0;)E.putBit(!1);for(;!(E.getLengthInBits()>=G*8||(E.put(x,8),E.getLengthInBits()>=G*8));)E.put($,8);return me(E,V)};X.addData=function(D,q){q=q||"Byte";var Z=null;switch(q){case"Numeric":Z=u(D);break;case"Alphanumeric":Z=O(D);break;case"Byte":Z=d(D);break;case"Kanji":Z=m(D);break;default:throw"mode:"+q}C.push(Z),A=null},X.isDark=function(D,q){if(D<0||b<=D||q<0||b<=q)throw D+","+q;return S[D][q]},X.getModuleCount=function(){return b},X.make=function(){if(v<1){for(var D=1;D<40;D++){for(var q=c.getRSBlocks(D,R),Z=f(),V=0;V"u"?D*4:q;var Z="";Z+='";for(var E=0;E';Z+=""}return Z+="",Z+="
",Z},X.createSvgTag=function(D,q,Z,V){var E={};typeof arguments[0]=="object"&&(E=arguments[0],D=E.cellSize,q=E.margin,Z=E.alt,V=E.title),D=D||2,q=typeof q>"u"?D*4:q,Z=typeof Z=="string"?{text:Z}:Z||{},Z.text=Z.text||null,Z.id=Z.text?Z.id||"qrcode-description":null,V=typeof V=="string"?{text:V}:V||{},V.text=V.text||null,V.id=V.text?V.id||"qrcode-title":null;var j=X.getModuleCount()*D+q*2,N,G,ue,we,H="",Ke;for(Ke="l"+D+",0 0,"+D+" -"+D+",0 0,-"+D+"z ",H+=''+ot(V.text)+"":"",H+=Z.text?''+ot(Z.text)+"":"",H+='',H+='"u"?D*4:q;var Z=X.getModuleCount()*D+q*2,V=q,E=Z-q;return T(Z,Z,function(j,N){if(V<=j&&j"u"?D*4:q;var V=X.getModuleCount()*D+q*2,E="";return E+="",E};var ot=function(D){for(var q="",Z=0;Z":q+=">";break;case"&":q+="&";break;case'"':q+=""";break;default:q+=V;break}}return q},zn=function(D){var q=1;D=typeof D>"u"?q*2:D;var Z=X.getModuleCount()*q+D*2,V=D,E=Z-D,j,N,G,ue,we,H={"██":"█","█ ":"▀"," █":"▄"," ":" "},Ke={"██":"▀","█ ":"▀"," █":" "," ":" "},Je="";for(j=0;j=E?Ke[we]:H[we];Je+=` +import{g as Nd}from"./BosuxZz1.js";import{m as Gc,r as mr,e as Fd,g as br,J as Hd,K as ma,L as Kd,C as Jd,z as ep,o as tp,c as ip,s as np,p as rp}from"./nS3f7xyi.js";function sp(n,e){if(n==null)return{};var t={};for(var i in n)if({}.hasOwnProperty.call(n,i)){if(e.includes(i))continue;t[i]=n[i]}return t}function yi(){return yi=Object.assign?Object.assign.bind():function(n){for(var e=1;e=7&&fe(D),A==null&&(A=Re(v,R,C)),se(A,q)},U=function(D,q){for(var Z=-1;Z<=7;Z+=1)if(!(D+Z<=-1||b<=D+Z))for(var V=-1;V<=7;V+=1)q+V<=-1||b<=q+V||(0<=Z&&Z<=6&&(V==0||V==6)||0<=V&&V<=6&&(Z==0||Z==6)||2<=Z&&Z<=4&&2<=V&&V<=4?S[D+Z][q+V]=!0:S[D+Z][q+V]=!1)},J=function(){for(var D=0,q=0,Z=0;Z<8;Z+=1){Y(!0,Z);var V=l.getLostPoint(X);(Z==0||D>V)&&(D=V,q=Z)}return q},K=function(){for(var D=8;D>Z&1)==1;S[Math.floor(Z/3)][Z%3+b-8-3]=V}for(var Z=0;Z<18;Z+=1){var V=!D&&(q>>Z&1)==1;S[Z%3+b-8-3][Math.floor(Z/3)]=V}},ae=function(D,q){for(var Z=R<<3|q,V=l.getBCHTypeInfo(Z),E=0;E<15;E+=1){var j=!D&&(V>>E&1)==1;E<6?S[E][8]=j:E<8?S[E+1][8]=j:S[b-15+E][8]=j}for(var E=0;E<15;E+=1){var j=!D&&(V>>E&1)==1;E<8?S[8][b-E-1]=j:E<9?S[8][15-E-1+1]=j:S[8][15-E-1]=j}S[b-8][8]=!D},se=function(D,q){for(var Z=-1,V=b-1,E=7,j=0,N=l.getMaskFunction(q),G=b-1;G>0;G-=2)for(G==6&&(G-=1);;){for(var ue=0;ue<2;ue+=1)if(S[V][G-ue]==null){var we=!1;j>>E&1)==1);var H=N(V,G-ue);H&&(we=!we),S[V][G-ue]=we,E-=1,E==-1&&(j+=1,E=7)}if(V+=Z,V<0||b<=V){V-=Z,Z=-Z;break}}},me=function(D,q){for(var Z=0,V=0,E=0,j=new Array(q.length),N=new Array(q.length),G=0;G=0?da.getAt(pa):0}}for(var ga=0,H=0;HG*8)throw"code length overflow. ("+E.getLengthInBits()+">"+G*8+")";for(E.getLengthInBits()+4<=G*8&&E.put(0,4);E.getLengthInBits()%8!=0;)E.putBit(!1);for(;!(E.getLengthInBits()>=G*8||(E.put(x,8),E.getLengthInBits()>=G*8));)E.put($,8);return me(E,V)};X.addData=function(D,q){q=q||"Byte";var Z=null;switch(q){case"Numeric":Z=u(D);break;case"Alphanumeric":Z=O(D);break;case"Byte":Z=d(D);break;case"Kanji":Z=m(D);break;default:throw"mode:"+q}C.push(Z),A=null},X.isDark=function(D,q){if(D<0||b<=D||q<0||b<=q)throw D+","+q;return S[D][q]},X.getModuleCount=function(){return b},X.make=function(){if(v<1){for(var D=1;D<40;D++){for(var q=c.getRSBlocks(D,R),Z=f(),V=0;V"u"?D*4:q;var Z="";Z+='";for(var E=0;E';Z+=""}return Z+="",Z+="
",Z},X.createSvgTag=function(D,q,Z,V){var E={};typeof arguments[0]=="object"&&(E=arguments[0],D=E.cellSize,q=E.margin,Z=E.alt,V=E.title),D=D||2,q=typeof q>"u"?D*4:q,Z=typeof Z=="string"?{text:Z}:Z||{},Z.text=Z.text||null,Z.id=Z.text?Z.id||"qrcode-description":null,V=typeof V=="string"?{text:V}:V||{},V.text=V.text||null,V.id=V.text?V.id||"qrcode-title":null;var j=X.getModuleCount()*D+q*2,N,G,ue,we,H="",Ke;for(Ke="l"+D+",0 0,"+D+" -"+D+",0 0,-"+D+"z ",H+=''+ot(V.text)+"":"",H+=Z.text?''+ot(Z.text)+"":"",H+='',H+='"u"?D*4:q;var Z=X.getModuleCount()*D+q*2,V=q,E=Z-q;return T(Z,Z,function(j,N){if(V<=j&&j"u"?D*4:q;var V=X.getModuleCount()*D+q*2,E="";return E+="",E};var ot=function(D){for(var q="",Z=0;Z":q+=">";break;case"&":q+="&";break;case'"':q+=""";break;default:q+=V;break}}return q},zn=function(D){var q=1;D=typeof D>"u"?q*2:D;var Z=X.getModuleCount()*q+D*2,V=D,E=Z-D,j,N,G,ue,we,H={"██":"█","█ ":"▀"," █":"▄"," ":" "},Ke={"██":"▀","█ ":"▀"," █":" "," ":" "},Je="";for(j=0;j=E?Ke[we]:H[we];Je+=` `}return Z%2&&D>0?Je.substring(0,Je.length-Z-1)+Array(Z+1).join("▀"):Je.substring(0,Je.length-1)};return X.createASCII=function(D,q){if(D=D||1,D<2)return zn(q);D-=1,q=typeof q>"u"?D*2:q;var Z=X.getModuleCount()*D+q*2,V=q,E=Z-q,j,N,G,ue,we=Array(D+1).join("██"),H=Array(D+1).join(" "),Ke="",Je="";for(j=0;j>>8),R.push(A&255)):R.push($)}}return R}};var r={MODE_NUMBER:1,MODE_ALPHA_NUM:2,MODE_8BIT_BYTE:4,MODE_KANJI:8},s={L:1,M:0,Q:3,H:2},o={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7},l=function(){var y=[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],P=1335,x=7973,$=21522,v={},R=function(S){for(var b=0;S!=0;)b+=1,S>>>=1;return b};return v.getBCHTypeInfo=function(S){for(var b=S<<10;R(b)-R(P)>=0;)b^=P<=0;)b^=x<5&&(A+=3+Y-5)}for(var C=0;C=256;)v-=255;return y[v]},$}();function h(y,P){if(typeof y.length>"u")throw y.length+"/"+P;var x=function(){for(var v=0;v"u")throw"bad rs block @ typeNumber:"+v+"/errorCorrectionLevel:"+R;for(var b=S.length/3,A=[],C=0;C>>7-$%8&1)==1},x.put=function($,v){for(var R=0;R>>v-R-1&1)==1)},x.getLengthInBits=function(){return P},x.putBit=function($){var v=Math.floor(P/8);y.length<=v&&y.push(0),$&&(y[v]|=128>>>P%8),P+=1},x},u=function(y){var P=r.MODE_NUMBER,x=y,$={};$.getMode=function(){return P},$.getLength=function(S){return x.length},$.write=function(S){for(var b=x,A=0;A+2>>8&255)*192+(A&255),R.put(A,13),b+=2}if(b>>8)},P.writeBytes=function(x,$,v){$=$||0,v=v||x.length;for(var R=0;R0&&(x+=","),x+=y[$];return x+="]",x},P},Q=function(){var y=0,P=0,x=0,$="",v={},R=function(b){$+=String.fromCharCode(S(b&63))},S=function(b){if(!(b<0)){if(b<26)return 65+b;if(b<52)return 97+(b-26);if(b<62)return 48+(b-52);if(b==62)return 43;if(b==63)return 47}throw"n:"+b};return v.writeByte=function(b){for(y=y<<8|b&255,P+=8,x+=1;P>=6;)R(y>>>P-6),P-=6},v.flush=function(){if(P>0&&(R(y<<6-P),y=0,P=0),x%3!=0)for(var b=3-x%3,A=0;A=P.length){if(v==0)return-1;throw"unexpected end of file./"+v}var b=P.charAt(x);if(x+=1,b=="=")return v=0,-1;if(b.match(/^\s$/))continue;$=$<<6|S(b.charCodeAt(0)),v+=6}var A=$>>>v-8&255;return v-=8,A};var S=function(b){if(65<=b&&b<=90)return b-65;if(97<=b&&b<=122)return b-97+26;if(48<=b&&b<=57)return b-48+52;if(b==43)return 62;if(b==47)return 63;throw"c:"+b};return R},k=function(y,P){var x=y,$=P,v=new Array(y*P),R={};R.setPixel=function(C,X,Y){v[X*x+C]=Y},R.write=function(C){C.writeString("GIF87a"),C.writeShort(x),C.writeShort($),C.writeByte(128),C.writeByte(0),C.writeByte(0),C.writeByte(0),C.writeByte(0),C.writeByte(0),C.writeByte(255),C.writeByte(255),C.writeByte(255),C.writeString(","),C.writeShort(0),C.writeShort(0),C.writeShort(x),C.writeShort($),C.writeByte(0);var X=2,Y=b(X);C.writeByte(X);for(var U=0;Y.length-U>255;)C.writeByte(255),C.writeBytes(Y,U,255),U+=255;C.writeByte(Y.length-U),C.writeBytes(Y,U,Y.length-U),C.writeByte(0),C.writeString(";")};var S=function(C){var X=C,Y=0,U=0,J={};return J.write=function(K,re){if(K>>>re)throw"length over";for(;Y+re>=8;)X.writeByte(255&(K<>>=8-Y,U=0,Y=0;U=K<0&&X.writeByte(U)},J},b=function(C){for(var X=1<>6,128|a&63):a<55296||a>=57344?o.push(224|a>>12,128|a>>6&63,128|a&63):(l++,a=65536+((a&1023)<<10|s.charCodeAt(l)&1023),o.push(240|a>>18,128|a>>12&63,128|a>>6&63,128|a&63))}return o}return r(i)}})(),function(i){n.exports=i()}(function(){return t})})(Nc);var op=Nc.exports;const po=Nd(op);/*! qrcanvas v3.1.2 | ISC License */var Mn="#000",Fc="#fff",Ve={createCanvas:lp,isCanvas:Hc,isDrawable:ap,getCanvas:vl,updateCanvas:hp,drawCanvas:cp,drawText:fp};function lp(n,e){var t=document.createElement("canvas");return t.width=n,t.height=e,t}function Hc(n){return n instanceof HTMLCanvasElement}function ap(n){return Hc(n)||n instanceof HTMLImageElement}function vl(n,e){return Ve.createCanvas(n,e??n)}function hp(n,e,t){return n?(n.width=e,n.height=t??e,n):vl(e,t)}function cp(n,e,t){t===void 0&&(t={});var i=t,r=i.cellSize,s=i.context,o=i.clear,l=o===void 0?!0:o,a=n.width,h=n.height,c=[e],f=s||n.getContext("2d");for(l&&f.clearRect(0,0,a,h),f.globalCompositeOperation="source-over";c.length;){var u=c.shift();if(Array.isArray(u))c=u.concat(c);else if(u){var O=void 0;Ve.isDrawable(u)?O={image:u}:typeof u=="string"?O={style:u}:O=u;var d=(O.col==null?O.x:O.col*r)||0,m=(O.row==null?O.y:O.row*r)||0;d<0&&(d+=a),m<0&&(m+=a);var g=("cols"in O?O.cols*r:O.w)||a,Q=("rows"in O?O.rows*r:O.h)||a;O.image?f.drawImage(O.image,d,m,g,Q):(f.fillStyle=O.style||"black",f.fillRect(d,m,g,Q))}}return n}function fp(n,e){var t=e||{},i=t.fontSize,r=i===void 0?64:i,s=t.fontStyle,o=s===void 0?"":s,l=t.fontFamily,a=l===void 0?"Cursive":l,h=t.color,c=h===void 0?null:h,f=t.pad,u=f===void 0?8:f,O=t.padColor,d=O===void 0?Fc:O,m=t.mode,g=m===void 0?1:m,Q=vl(1),w=Q.getContext("2d"),k;if(d){w.fillStyle=d,w.fillRect(0,0,1,1);var T=w.getImageData(0,0,1,1);k=T.data,k[3]||(k=null)}var y=r+2*u,P=[o,r+"px",a].filter(Boolean).join(" "),x=function(){w.textAlign="center",w.textBaseline="middle",w.font=P};x();var $=Math.ceil(w.measureText(n).width)+2*u;Q.width=$,Q.height=y,x();var v=function(){w.fillStyle=c||Mn,w.fillText(n,$/2,y/2)};return g===1?(w.fillStyle=d,w.fillRect(0,0,$,y),v()):(v(),k&&function(){for(var R=w.getImageData(0,0,$,y),S=R.data,b=$*y,A=[],C=0,X=function(J){var K=[],re={};A[C]=K,C=1-C;var fe=A[C];if(!fe){fe=[];for(var ae=0;ae=0&&Re<=S.length&&!re[me]&&(re[me]=1,K.push(me))})}),K.forEach(function(se){var me=4*se;if(!S[me+3])for(var Re=0;Re<4;Re+=1)S[me+Re]=k[Re]})},Y=0;Y=s&&T+5<=s&&T+9>=s||k===7||T===7?x=1-.1*c:x=.25;var $=(1-x)/2;O.fillRect(y+$*i,P+$*i,x*i,x*i)}}),l(d,Q.foreground,{cellSize:i,context:g}),g.globalCompositeOperation="destination-in",g.drawImage(h,0,0),l(m,d,{cellSize:i,clear:!1})}),m}function Os(n,e){for(var t=n.cellSize,i=n.count,r=0;r=a||s<0||s>=a?!1:l.isDark(r,s)},this.setOptions(t)}var e=n.prototype;return e.render=function(i,r){r===void 0&&(r={});var s=this.options,o=s.background,l=s.foreground,a=s.padding,h=s.effect,c=s.logo,f=s.resize,u=ba[h.type]||ba.default,O=this.cache.count,d=Ve.drawCanvas,m=r,g=m.size,Q,w,k;{var T=r,y=T.cellSize;!i&&!y&&!g&&(y=6),y&&(g=O*y+a+a),g?Q=f||!i?Ve.updateCanvas(i,g):i:(g=i.width,Q=i)}var P=g-a-a;{var x=Math.ceil(P/O),$=x*O;if(w=Ve.getCanvas(x*O),d(w,o,{cellSize:x}),k=u(yi({foreground:l,cellSize:x,isDark:this.isDark},this.cache),this.options.effect),c){var v=yi({},c);if(!c.w&&!c.h&&!c.cols&&!c.rows){var R=c.image,S=R.width,b=R.height,A=S/b,C=Math.min((O-18)/O,.38),X=Math.min(b,$*C,$*C/A),Y=X*A,U=($-Y)/2,J=($-X)/2;v.w=Y,v.h=X,v.x=U,v.y=J}d(k,v,{clear:!1})}}return d(Q,[{image:w},{image:k,x:a,y:a,w:P,h:P}]),Q},e.setOptions=function(i){this.options=yi({},this.options,i),this.normalizeEffect(),this.normalizeLogo();var r=this.options,s=r.typeNumber,o=r.data,l=r.logo,a=this.options.correctLevel;l&&["Q","H"].indexOf(a)<0&&(a="H");var h=po(s,a);h.addData(o||""),h.make();var c=h.getModuleCount();this.cache={qr:h,count:c}},e.normalizeEffect=function(){var i=this.options.effect;typeof i=="string"&&(i={type:i}),this.options.effect=i||{}},e.normalizeLogo=function(){var i=Ve.isDrawable,r=Ve.drawText,s=this.options.logo;s&&(i(s)?s={image:s}:i(s.image)||(typeof s=="string"&&(s={text:s}),typeof s.text=="string"?s={image:r(s.text,s.options)}:s=null)),this.options.logo=s},n}();function bp(n){var e=n.canvas,t=n.size,i=n.cellSize,r=sp(n,["canvas","size","cellSize"]),s=new mp(r);return s.render(e,{size:t,cellSize:i})}/*! qrcanvas-vue v3.0.0 | ISC License */function Qp(n,e){if(n==null)return{};var t={},i=Object.keys(n),r,s;for(s=0;s=0)&&(t[r]=n[r]);return t}function Mr(){return Mr=Object.assign||function(n){for(var e=1;ee!=null&&e!=="").reduce((e,[t,i])=>({...e,[t]:i}),{})}function Gn(n){let e;if(n!=null&&n._type?e=n:!n||typeof n!="object"?e={_type:"primitive",data:n}:e={_type:"object",data:n},e._type==="url"){const t=[e.protocol,e.host&&"//",e.host];let i=e.pathname||e.path,{query:r}=e;if(e.protocol==="otpauth:"){const l=e.payload||{};l.type&&l.label&&(i=`//${encodeURIComponent(l.type)}/${encodeURIComponent(l.label)}`),r=Kc(r)}else e.protocol==="vmess:"&&(i=wp(e.payload).pathname);t.push(i);const s=Gn(r),o=Gn(e.hash);return s&&t.push("?",s),o&&t.push("#",o),t.filter(Boolean).join("")}if(e._type==="object"&&e.data){const{data:t}=e;return Array.isArray(t)?t.map(Gn).map(encodeURIComponent).join(","):Object.keys(e.data).map(i=>{const r=e.data[i];if(r!=null)return`${encodeURIComponent(i)}=${encodeURIComponent(Gn(r))}`}).filter(Boolean).join("&")}return e.data==null?"":e.data}function Rs(n){let e,t=!0;try{e=new URL(n)}catch{if(t=!1,n.includes("?"))try{e=new URL(`rel:${n}`)}catch{}}if(e){const i={_type:"url"};if(t&&(i.protocol=e.protocol),e.host&&(i.host=e.host),e.protocol==="otpauth:"){const[,r,s]=e.pathname.match(/^\/\/([^/]*)\/(.*)|$/).map(o=>o&&decodeURIComponent(o));i.payload={type:r||"totp",label:s||""},i.query={secret:"",issuer:"",algorithm:"",digits:"",period:"",counter:""}}else e.protocol==="vmess:"?i.payload=vp(e):i.pathname=e.pathname;return e.search.length>1&&(i.query={...i.query,...Rs(e.search.slice(1))}),e.hash.length>1&&(i.hash={...i.hash,...Rs(e.hash.slice(1))}),i}return/&|=[^=]/.test(n)?n.split("&").reduce((i,r)=>{const[s,o]=r.split("=");return i[decodeURIComponent(s)]=Rs(decodeURIComponent(o)),i},{}):decodeURIComponent(n)}const Sp={add:"",aid:0,host:"",id:"xxxxxxxx-xxxx-4xxx-8xxx-xxxxxxxxxxxx",net:"tcp",path:"/ws",port:1080,ps:"example",tls:"",type:"none",v:"2"};function xp(){return"0123456789abcdef"[Math.random()*16|0]}function vp(n){let e={...Sp},t=!0;if(n.protocol==="vmess:"){if(n.host)try{const i=atob(n.host);e={...e,...JSON.parse(i)}}catch{t=!1}/x/.test(e.id)&&(e.id=e.id.replace(/x/g,xp))}return{data:e,valid:t}}function wp(n){const e=btoa(JSON.stringify(Kc(n))).replace(/=+$/,"");return new URL(`vmess://${e}`)}let go=[],Jc=[];(()=>{let n="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(e=>e?parseInt(e,36):1);for(let e=0,t=0;e>1;if(n=Jc[i])e=i+1;else return!0;if(e==t)return!1}}function Qa(n){return n>=127462&&n<=127487}const ya=8205;function kp(n,e,t=!0,i=!0){return(t?ef:$p)(n,e,i)}function ef(n,e,t){if(e==n.length)return e;e&&tf(n.charCodeAt(e))&&nf(n.charCodeAt(e-1))&&e--;let i=Xs(n,e);for(e+=Sa(i);e=0&&Qa(Xs(n,o));)s++,o-=2;if(s%2==0)break;e+=2}else break}return e}function $p(n,e,t){for(;e>0;){let i=ef(n,e-2,t);if(i=56320&&n<57344}function nf(n){return n>=55296&&n<56320}function Sa(n){return n<65536?1:2}class ne{lineAt(e){if(e<0||e>this.length)throw new RangeError(`Invalid position ${e} in document of length ${this.length}`);return this.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)throw new RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,t,i){[e,t]=Ri(this,e,t);let r=[];return this.decompose(0,e,r,2),i.length&&i.decompose(0,i.length,r,3),this.decompose(t,this.length,r,1),gt.from(r,this.length-(t-e)+i.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,t=this.length){[e,t]=Ri(this,e,t);let i=[];return this.decompose(e,t,i,0),gt.from(i,t-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let t=this.scanIdentical(e,1),i=this.length-this.scanIdentical(e,-1),r=new hn(this),s=new hn(e);for(let o=t,l=t;;){if(r.next(o),s.next(o),o=0,r.lineBreak!=s.lineBreak||r.done!=s.done||r.value!=s.value)return!1;if(l+=r.value.length,r.done||l>=i)return!0}}iter(e=1){return new hn(this,e)}iterRange(e,t=this.length){return new rf(this,e,t)}iterLines(e,t){let i;if(e==null)i=this.iter();else{t==null&&(t=this.lines+1);let r=this.line(e).from;i=this.iterRange(r,Math.max(r,t==this.lines+1?this.length:t<=1?0:this.line(t-1).to))}return new sf(i)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}constructor(){}static of(e){if(e.length==0)throw new RangeError("A document must have at least one line");return e.length==1&&!e[0]?ne.empty:e.length<=32?new Qe(e):gt.from(Qe.split(e,[]))}}class Qe extends ne{constructor(e,t=Cp(e)){super(),this.text=e,this.length=t}get lines(){return this.text.length}get children(){return null}lineInner(e,t,i,r){for(let s=0;;s++){let o=this.text[s],l=r+o.length;if((t?i:l)>=e)return new Tp(r,l,i,o);r=l+1,i++}}decompose(e,t,i,r){let s=e<=0&&t>=this.length?this:new Qe(xa(this.text,e,t),Math.min(t,this.length)-Math.max(0,e));if(r&1){let o=i.pop(),l=Qr(s.text,o.text.slice(),0,s.length);if(l.length<=32)i.push(new Qe(l,o.length+s.length));else{let a=l.length>>1;i.push(new Qe(l.slice(0,a)),new Qe(l.slice(a)))}}else i.push(s)}replace(e,t,i){if(!(i instanceof Qe))return super.replace(e,t,i);[e,t]=Ri(this,e,t);let r=Qr(this.text,Qr(i.text,xa(this.text,0,e)),t),s=this.length+i.length-(t-e);return r.length<=32?new Qe(r,s):gt.from(Qe.split(r,[]),s)}sliceString(e,t=this.length,i=` `){[e,t]=Ri(this,e,t);let r="";for(let s=0,o=0;s<=t&&oe&&o&&(r+=i),es&&(r+=l.slice(Math.max(0,e-s),t-s)),s=a+1}return r}flatten(e){for(let t of this.text)e.push(t)}scanIdentical(){return 0}static split(e,t){let i=[],r=-1;for(let s of e)i.push(s),r+=s.length+1,i.length==32&&(t.push(new Qe(i,r)),i=[],r=-1);return r>-1&&t.push(new Qe(i,r)),t}}class gt extends ne{constructor(e,t){super(),this.children=e,this.length=t,this.lines=0;for(let i of e)this.lines+=i.lines}lineInner(e,t,i,r){for(let s=0;;s++){let o=this.children[s],l=r+o.length,a=i+o.lines-1;if((t?a:l)>=e)return o.lineInner(e,t,i,r);r=l+1,i=a+1}}decompose(e,t,i,r){for(let s=0,o=0;o<=t&&s=o){let h=r&((o<=e?1:0)|(a>=t?2:0));o>=e&&a<=t&&!h?i.push(l):l.decompose(e-o,t-o,i,h)}o=a+1}}replace(e,t,i){if([e,t]=Ri(this,e,t),i.lines=s&&t<=l){let a=o.replace(e-s,t-s,i),h=this.lines-o.lines+a.lines;if(a.lines>4&&a.lines>h>>6){let c=this.children.slice();return c[r]=a,new gt(c,this.length-(t-e)+i.length)}return super.replace(s,l,a)}s=l+1}return super.replace(e,t,i)}sliceString(e,t=this.length,i=` diff --git a/_nuxt/XZTC74h3.js b/_nuxt/CLsFmO2Q.js similarity index 70% rename from _nuxt/XZTC74h3.js rename to _nuxt/CLsFmO2Q.js index 7dd9b20..674bbb5 100644 --- a/_nuxt/XZTC74h3.js +++ b/_nuxt/CLsFmO2Q.js @@ -1 +1 @@ -import{p as a}from"./REfpicIH.js";const s=a([]);let n=0;function m(c,t=2e3){n+=1;const e={id:n,text:c};s.push(e);const i=()=>{const o=s.indexOf(e);o>=0&&s.splice(o,1)};return t&&setTimeout(i,t),i}export{m as s,s as t}; +import{p as a}from"./nS3f7xyi.js";const s=a([]);let n=0;function m(c,t=2e3){n+=1;const e={id:n,text:c};s.push(e);const i=()=>{const o=s.indexOf(e);o>=0&&s.splice(o,1)};return t&&setTimeout(i,t),i}export{m as s,s as t}; diff --git a/_nuxt/BCaMp3bi.js b/_nuxt/DJgra3d3.js similarity index 99% rename from _nuxt/BCaMp3bi.js rename to _nuxt/DJgra3d3.js index 2707d91..e8d6950 100644 --- a/_nuxt/BCaMp3bi.js +++ b/_nuxt/DJgra3d3.js @@ -1,4 +1,4 @@ -import{m as Gs,r as rt,p as Qs,C as Ws,g as Dt,o as ot,c as lt,a as M,b as Le,t as qt,B as Rt,y as Hs,A as Xs}from"./REfpicIH.js";import{a as at,Q as zs,d as Zs,l as xs,c as en}from"./D67-esAi.js";import"./BosuxZz1.js";const Nt=Symbol.for("yaml.alias"),gt=Symbol.for("yaml.document"),G=Symbol.for("yaml.map"),Zt=Symbol.for("yaml.pair"),F=Symbol.for("yaml.scalar"),de=Symbol.for("yaml.seq"),D=Symbol.for("yaml.node.type"),ee=s=>!!s&&typeof s=="object"&&s[D]===Nt,te=s=>!!s&&typeof s=="object"&&s[D]===gt,pe=s=>!!s&&typeof s=="object"&&s[D]===G,E=s=>!!s&&typeof s=="object"&&s[D]===Zt,I=s=>!!s&&typeof s=="object"&&s[D]===F,me=s=>!!s&&typeof s=="object"&&s[D]===de;function L(s){if(s&&typeof s=="object")switch(s[D]){case G:case de:return!0}return!1}function $(s){if(s&&typeof s=="object")switch(s[D]){case Nt:case G:case F:case de:return!0}return!1}const tn=s=>(I(s)||L(s))&&!!s.anchor,K=Symbol("break visit"),xt=Symbol("skip children"),U=Symbol("remove node");function Q(s,e){const t=es(e);te(s)?re(null,s.contents,t,Object.freeze([s]))===U&&(s.contents=null):re(null,s,t,Object.freeze([]))}Q.BREAK=K;Q.SKIP=xt;Q.REMOVE=U;function re(s,e,t,n){const i=ts(s,e,t,n);if($(i)||E(i))return ss(s,n,i),re(s,i,t,n);if(typeof i!="symbol"){if(L(e)){n=Object.freeze(n.concat(e));for(let r=0;rs.replace(/[!,[\]{}]/g,e=>sn[e]);class B{constructor(e,t){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},B.defaultYaml,e),this.tags=Object.assign({},B.defaultTags,t)}clone(){const e=new B(this.yaml,this.tags);return e.docStart=this.docStart,e}atDocument(){const e=new B(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:B.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},B.defaultTags);break}return e}add(e,t){this.atNextDocument&&(this.yaml={explicit:B.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},B.defaultTags),this.atNextDocument=!1);const n=e.trim().split(/[ \t]+/),i=n.shift();switch(i){case"%TAG":{if(n.length!==2&&(t(0,"%TAG directive should contain exactly two parts"),n.length<2))return!1;const[r,o]=n;return this.tags[r]=o,!0}case"%YAML":{if(this.yaml.explicit=!0,n.length!==1)return t(0,"%YAML directive should contain exactly one part"),!1;const[r]=n;if(r==="1.1"||r==="1.2")return this.yaml.version=r,!0;{const o=/^\d+\.\d+$/.test(r);return t(6,`Unsupported YAML version ${r}`,o),!1}}default:return t(0,`Unknown directive ${i}`,!0),!1}}tagName(e,t){if(e==="!")return"!";if(e[0]!=="!")return t(`Not a valid tag: ${e}`),null;if(e[1]==="<"){const o=e.slice(2,-1);return o==="!"||o==="!!"?(t(`Verbatim tags aren't resolved, so ${e} is invalid.`),null):(e[e.length-1]!==">"&&t("Verbatim tags must end with a >"),o)}const[,n,i]=e.match(/^(.*!)([^!]*)$/s);i||t(`The ${e} tag has no suffix`);const r=this.tags[n];if(r)try{return r+decodeURIComponent(i)}catch(o){return t(String(o)),null}return n==="!"?e:(t(`Could not resolve tag: ${e}`),null)}tagString(e){for(const[t,n]of Object.entries(this.tags))if(e.startsWith(n))return t+nn(e.substring(n.length));return e[0]==="!"?e:`!<${e}>`}toString(e){const t=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],n=Object.entries(this.tags);let i;if(e&&n.length>0&&$(e.contents)){const r={};Q(e.contents,(o,l)=>{$(l)&&l.tag&&(r[l.tag]=!0)}),i=Object.keys(r)}else i=[];for(const[r,o]of n)r==="!!"&&o==="tag:yaml.org,2002:"||(!e||i.some(l=>l.startsWith(o)))&&t.push(`%TAG ${r} ${o}`);return t.join(` +import{m as Gs,r as rt,p as Qs,C as Ws,g as Dt,o as ot,c as lt,a as M,b as Le,t as qt,B as Rt,y as Hs,A as Xs}from"./nS3f7xyi.js";import{a as at,Q as zs,d as Zs,l as xs,c as en}from"./BrYKVF9Y.js";import"./BosuxZz1.js";const Nt=Symbol.for("yaml.alias"),gt=Symbol.for("yaml.document"),G=Symbol.for("yaml.map"),Zt=Symbol.for("yaml.pair"),F=Symbol.for("yaml.scalar"),de=Symbol.for("yaml.seq"),D=Symbol.for("yaml.node.type"),ee=s=>!!s&&typeof s=="object"&&s[D]===Nt,te=s=>!!s&&typeof s=="object"&&s[D]===gt,pe=s=>!!s&&typeof s=="object"&&s[D]===G,E=s=>!!s&&typeof s=="object"&&s[D]===Zt,I=s=>!!s&&typeof s=="object"&&s[D]===F,me=s=>!!s&&typeof s=="object"&&s[D]===de;function L(s){if(s&&typeof s=="object")switch(s[D]){case G:case de:return!0}return!1}function $(s){if(s&&typeof s=="object")switch(s[D]){case Nt:case G:case F:case de:return!0}return!1}const tn=s=>(I(s)||L(s))&&!!s.anchor,K=Symbol("break visit"),xt=Symbol("skip children"),U=Symbol("remove node");function Q(s,e){const t=es(e);te(s)?re(null,s.contents,t,Object.freeze([s]))===U&&(s.contents=null):re(null,s,t,Object.freeze([]))}Q.BREAK=K;Q.SKIP=xt;Q.REMOVE=U;function re(s,e,t,n){const i=ts(s,e,t,n);if($(i)||E(i))return ss(s,n,i),re(s,i,t,n);if(typeof i!="symbol"){if(L(e)){n=Object.freeze(n.concat(e));for(let r=0;rs.replace(/[!,[\]{}]/g,e=>sn[e]);class B{constructor(e,t){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},B.defaultYaml,e),this.tags=Object.assign({},B.defaultTags,t)}clone(){const e=new B(this.yaml,this.tags);return e.docStart=this.docStart,e}atDocument(){const e=new B(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:B.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},B.defaultTags);break}return e}add(e,t){this.atNextDocument&&(this.yaml={explicit:B.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},B.defaultTags),this.atNextDocument=!1);const n=e.trim().split(/[ \t]+/),i=n.shift();switch(i){case"%TAG":{if(n.length!==2&&(t(0,"%TAG directive should contain exactly two parts"),n.length<2))return!1;const[r,o]=n;return this.tags[r]=o,!0}case"%YAML":{if(this.yaml.explicit=!0,n.length!==1)return t(0,"%YAML directive should contain exactly one part"),!1;const[r]=n;if(r==="1.1"||r==="1.2")return this.yaml.version=r,!0;{const o=/^\d+\.\d+$/.test(r);return t(6,`Unsupported YAML version ${r}`,o),!1}}default:return t(0,`Unknown directive ${i}`,!0),!1}}tagName(e,t){if(e==="!")return"!";if(e[0]!=="!")return t(`Not a valid tag: ${e}`),null;if(e[1]==="<"){const o=e.slice(2,-1);return o==="!"||o==="!!"?(t(`Verbatim tags aren't resolved, so ${e} is invalid.`),null):(e[e.length-1]!==">"&&t("Verbatim tags must end with a >"),o)}const[,n,i]=e.match(/^(.*!)([^!]*)$/s);i||t(`The ${e} tag has no suffix`);const r=this.tags[n];if(r)try{return r+decodeURIComponent(i)}catch(o){return t(String(o)),null}return n==="!"?e:(t(`Could not resolve tag: ${e}`),null)}tagString(e){for(const[t,n]of Object.entries(this.tags))if(e.startsWith(n))return t+nn(e.substring(n.length));return e[0]==="!"?e:`!<${e}>`}toString(e){const t=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],n=Object.entries(this.tags);let i;if(e&&n.length>0&&$(e.contents)){const r={};Q(e.contents,(o,l)=>{$(l)&&l.tag&&(r[l.tag]=!0)}),i=Object.keys(r)}else i=[];for(const[r,o]of n)r==="!!"&&o==="tag:yaml.org,2002:"||(!e||i.some(l=>l.startsWith(o)))&&t.push(`%TAG ${r} ${o}`);return t.join(` `)}}B.defaultYaml={explicit:!1,version:"1.2"};B.defaultTags={"!!":"tag:yaml.org,2002:"};function ns(s){if(/[\x00-\x19\s,[\]{}]/.test(s)){const t=`Anchor must not contain whitespace or control characters: ${JSON.stringify(s)}`;throw new Error(t)}return!0}function is(s){const e=new Set;return Q(s,{Value(t,n){n.anchor&&e.add(n.anchor)}}),e}function rs(s,e){for(let t=1;;++t){const n=`${s}${t}`;if(!e.has(n))return n}}function rn(s,e){const t=[],n=new Map;let i=null;return{onAnchor:r=>{t.push(r),i||(i=is(s));const o=rs(e,i);return i.add(o),o},setAnchors:()=>{for(const r of t){const o=n.get(r);if(typeof o=="object"&&o.anchor&&(I(o.node)||L(o.node)))o.node.anchor=o.anchor;else{const l=new Error("Failed to resolve repeated object (this should not happen)");throw l.source=r,l}}},sourceObjects:n}}function le(s,e,t,n){if(n&&typeof n=="object")if(Array.isArray(n))for(let i=0,r=n.length;ij(n,String(i),t));if(s&&typeof s.toJSON=="function"){if(!t||!tn(s))return s.toJSON(e,t);const n={aliasCount:0,count:1,res:void 0};t.anchors.set(s,n),t.onCreate=r=>{n.res=r,delete t.onCreate};const i=s.toJSON(e,t);return t.onCreate&&t.onCreate(i),i}return typeof s=="bigint"&&!(t!=null&&t.keep)?Number(s):s}class Ot{constructor(e){Object.defineProperty(this,D,{value:e})}clone(){const e=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(e.range=this.range.slice()),e}toJS(e,{mapAsMap:t,maxAliasCount:n,onAnchor:i,reviver:r}={}){if(!te(e))throw new TypeError("A document argument is required");const o={anchors:new Map,doc:e,keep:!0,mapAsMap:t===!0,mapKeyWarned:!1,maxAliasCount:typeof n=="number"?n:100},l=j(this,"",o);if(typeof i=="function")for(const{count:a,res:c}of o.anchors.values())i(c,a);return typeof r=="function"?le(r,{"":l},"",l):l}}class Ge extends Ot{constructor(e){super(Nt),this.source=e,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(e){let t;return Q(e,{Node:(n,i)=>{if(i===this)return Q.BREAK;i.anchor===this.source&&(t=i)}}),t}toJSON(e,t){if(!t)return{source:this.source};const{anchors:n,doc:i,maxAliasCount:r}=t,o=this.resolve(i);if(!o){const a=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(a)}let l=n.get(o);if(l||(j(o,null,t),l=n.get(o)),!l||l.res===void 0){const a="This should not happen: Alias anchor was not resolved?";throw new ReferenceError(a)}if(r>=0&&(l.count+=1,l.aliasCount===0&&(l.aliasCount=Ke(i,o,n)),l.count*l.aliasCount>r)){const a="Excessive alias count indicates a resource exhaustion attack";throw new ReferenceError(a)}return l.res}toString(e,t,n){const i=`*${this.source}`;if(e){if(ns(this.source),e.options.verifyAliasOrder&&!e.anchors.has(this.source)){const r=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(r)}if(e.implicitKey)return`${i} `}return i}}function Ke(s,e,t){if(ee(e)){const n=e.resolve(s),i=t&&n&&t.get(n);return i?i.count*i.aliasCount:0}else if(L(e)){let n=0;for(const i of e.items){const r=Ke(s,i,t);r>n&&(n=r)}return n}else if(E(e)){const n=Ke(s,e.key,t),i=Ke(s,e.value,t);return Math.max(n,i)}return 1}const os=s=>!s||typeof s!="function"&&typeof s!="object";class O extends Ot{constructor(e){super(F),this.value=e}toJSON(e,t){return t!=null&&t.keep?this.value:j(this.value,e,t)}toString(){return String(this.value)}}O.BLOCK_FOLDED="BLOCK_FOLDED";O.BLOCK_LITERAL="BLOCK_LITERAL";O.PLAIN="PLAIN";O.QUOTE_DOUBLE="QUOTE_DOUBLE";O.QUOTE_SINGLE="QUOTE_SINGLE";const on="tag:yaml.org,2002:";function ln(s,e,t){if(e){const n=t.filter(r=>r.tag===e),i=n.find(r=>!r.format)??n[0];if(!i)throw new Error(`Tag ${e} not found`);return i}return t.find(n=>{var i;return((i=n.identify)==null?void 0:i.call(n,s))&&!n.format})}function Ne(s,e,t){var f,p,d;if(te(s)&&(s=s.contents),$(s))return s;if(E(s)){const g=(p=(f=t.schema[G]).createNode)==null?void 0:p.call(f,t.schema,null,t);return g.items.push(s),g}(s instanceof String||s instanceof Number||s instanceof Boolean||typeof BigInt<"u"&&s instanceof BigInt)&&(s=s.valueOf());const{aliasDuplicateObjects:n,onAnchor:i,onTagObj:r,schema:o,sourceObjects:l}=t;let a;if(n&&s&&typeof s=="object"){if(a=l.get(s),a)return a.anchor||(a.anchor=i(s)),new Ge(a.anchor);a={anchor:null,node:null},l.set(s,a)}e!=null&&e.startsWith("!!")&&(e=on+e.slice(2));let c=ln(s,e,o.tags);if(!c){if(s&&typeof s.toJSON=="function"&&(s=s.toJSON()),!s||typeof s!="object"){const g=new O(s);return a&&(a.node=g),g}c=s instanceof Map?o[G]:Symbol.iterator in Object(s)?o[de]:o[G]}r&&(r(c),delete t.onTagObj);const u=c!=null&&c.createNode?c.createNode(t.schema,s,t):typeof((d=c==null?void 0:c.nodeClass)==null?void 0:d.from)=="function"?c.nodeClass.from(t.schema,s,t):new O(s);return e?u.tag=e:c.default||(u.tag=c.tag),a&&(a.node=u),u}function Re(s,e,t){let n=t;for(let i=e.length-1;i>=0;--i){const r=e[i];if(typeof r=="number"&&Number.isInteger(r)&&r>=0){const o=[];o[r]=n,n=o}else n=new Map([[r,n]])}return Ne(n,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:s,sourceObjects:new Map})}const Se=s=>s==null||typeof s=="object"&&!!s[Symbol.iterator]().next().done;class ls extends Ot{constructor(e,t){super(e),Object.defineProperty(this,"schema",{value:t,configurable:!0,enumerable:!1,writable:!0})}clone(e){const t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return e&&(t.schema=e),t.items=t.items.map(n=>$(n)||E(n)?n.clone(e):n),this.range&&(t.range=this.range.slice()),t}addIn(e,t){if(Se(e))this.add(t);else{const[n,...i]=e,r=this.get(n,!0);if(L(r))r.addIn(i,t);else if(r===void 0&&this.schema)this.set(n,Re(this.schema,i,t));else throw new Error(`Expected YAML collection at ${n}. Remaining path: ${i}`)}}deleteIn(e){const[t,...n]=e;if(n.length===0)return this.delete(t);const i=this.get(t,!0);if(L(i))return i.deleteIn(n);throw new Error(`Expected YAML collection at ${t}. Remaining path: ${n}`)}getIn(e,t){const[n,...i]=e,r=this.get(n,!0);return i.length===0?!t&&I(r)?r.value:r:L(r)?r.getIn(i,t):void 0}hasAllNullValues(e){return this.items.every(t=>{if(!E(t))return!1;const n=t.value;return n==null||e&&I(n)&&n.value==null&&!n.commentBefore&&!n.comment&&!n.tag})}hasIn(e){const[t,...n]=e;if(n.length===0)return this.has(t);const i=this.get(t,!0);return L(i)?i.hasIn(n):!1}setIn(e,t){const[n,...i]=e;if(i.length===0)this.set(n,t);else{const r=this.get(n,!0);if(L(r))r.setIn(i,t);else if(r===void 0&&this.schema)this.set(n,Re(this.schema,i,t));else throw new Error(`Expected YAML collection at ${n}. Remaining path: ${i}`)}}}const an=s=>s.replace(/^(?!$)(?: $)?/gm,"#");function V(s,e){return/^\n+$/.test(s)?s.substring(1):e?s.replace(/^(?! *$)/gm,e):s}const X=(s,e,t)=>s.endsWith(` `)?V(t,e):t.includes(` `)?` @@ -136,5 +136,5 @@ ${t.comment}`:t.comment}this.doc.range[2]=t.offset;break}default:this.errors.pus `)+1;for(;t!==0;)this.onNewLine(this.offset+t),t=this.source.indexOf(` `,t)+1}yield*this.pop();break;default:yield*this.pop(),yield*this.step()}}*blockMap(e){var n;const t=e.items[e.items.length-1];switch(this.type){case"newline":if(this.onKeyLine=!1,t.value){const i="end"in t.value?t.value.end:void 0,r=Array.isArray(i)?i[i.length-1]:void 0;(r==null?void 0:r.type)==="comment"?i==null||i.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case"space":case"comment":if(t.value)e.items.push({start:[this.sourceToken]});else if(t.sep)t.sep.push(this.sourceToken);else{if(this.atIndentedComment(t.start,e.indent)){const i=e.items[e.items.length-2],r=(n=i==null?void 0:i.value)==null?void 0:n.end;if(Array.isArray(r)){Array.prototype.push.apply(r,t.start),r.push(this.sourceToken),e.items.pop();return}}t.start.push(this.sourceToken)}return}if(this.indent>=e.indent){const i=!this.onKeyLine&&this.indent===e.indent,r=i&&(t.sep||t.explicitKey)&&this.type!=="seq-item-ind";let o=[];if(r&&t.sep&&!t.value){const l=[];for(let a=0;ae.indent&&(l.length=0);break;default:l.length=0}}l.length>=2&&(o=t.sep.splice(l[1]))}switch(this.type){case"anchor":case"tag":r||t.value?(o.push(this.sourceToken),e.items.push({start:o}),this.onKeyLine=!0):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case"explicit-key-ind":!t.sep&&!t.explicitKey?(t.start.push(this.sourceToken),t.explicitKey=!0):r||t.value?(o.push(this.sourceToken),e.items.push({start:o,explicitKey:!0})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken],explicitKey:!0}]}),this.onKeyLine=!0;return;case"map-value-ind":if(t.explicitKey)if(t.sep)if(t.value)e.items.push({start:[],key:null,sep:[this.sourceToken]});else if(H(t.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:o,key:null,sep:[this.sourceToken]}]});else if(Fs(t.key)&&!H(t.sep,"newline")){const l=ie(t.start),a=t.key,c=t.sep;c.push(this.sourceToken),delete t.key,delete t.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:l,key:a,sep:c}]})}else o.length>0?t.sep=t.sep.concat(o,this.sourceToken):t.sep.push(this.sourceToken);else if(H(t.start,"newline"))Object.assign(t,{key:null,sep:[this.sourceToken]});else{const l=ie(t.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:l,key:null,sep:[this.sourceToken]}]})}else t.sep?t.value||r?e.items.push({start:o,key:null,sep:[this.sourceToken]}):H(t.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]});this.onKeyLine=!0;return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const l=this.flowScalar(this.type);r||t.value?(e.items.push({start:o,key:l,sep:[]}),this.onKeyLine=!0):t.sep?this.stack.push(l):(Object.assign(t,{key:l,sep:[]}),this.onKeyLine=!0);return}default:{const l=this.startBlockValue(e);if(l){i&&l.type!=="block-seq"&&e.items.push({start:o}),this.stack.push(l);return}}}}yield*this.pop(),yield*this.step()}*blockSequence(e){var n;const t=e.items[e.items.length-1];switch(this.type){case"newline":if(t.value){const i="end"in t.value?t.value.end:void 0,r=Array.isArray(i)?i[i.length-1]:void 0;(r==null?void 0:r.type)==="comment"?i==null||i.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else t.start.push(this.sourceToken);return;case"space":case"comment":if(t.value)e.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(t.start,e.indent)){const i=e.items[e.items.length-2],r=(n=i==null?void 0:i.value)==null?void 0:n.end;if(Array.isArray(r)){Array.prototype.push.apply(r,t.start),r.push(this.sourceToken),e.items.pop();return}}t.start.push(this.sourceToken)}return;case"anchor":case"tag":if(t.value||this.indent<=e.indent)break;t.start.push(this.sourceToken);return;case"seq-item-ind":if(this.indent!==e.indent)break;t.value||H(t.start,"seq-item-ind")?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken);return}if(this.indent>e.indent){const i=this.startBlockValue(e);if(i){this.stack.push(i);return}}yield*this.pop(),yield*this.step()}*flowCollection(e){const t=e.items[e.items.length-1];if(this.type==="flow-error-end"){let n;do yield*this.pop(),n=this.peek(1);while(n&&n.type==="flow-collection")}else if(e.end.length===0){switch(this.type){case"comma":case"explicit-key-ind":!t||t.sep?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken);return;case"map-value-ind":!t||t.value?e.items.push({start:[],key:null,sep:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]});return;case"space":case"comment":case"newline":case"anchor":case"tag":!t||t.value?e.items.push({start:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const i=this.flowScalar(this.type);!t||t.value?e.items.push({start:[],key:i,sep:[]}):t.sep?this.stack.push(i):Object.assign(t,{key:i,sep:[]});return}case"flow-map-end":case"flow-seq-end":e.end.push(this.sourceToken);return}const n=this.startBlockValue(e);n?this.stack.push(n):(yield*this.pop(),yield*this.step())}else{const n=this.peek(2);if(n.type==="block-map"&&(this.type==="map-value-ind"&&n.indent===e.indent||this.type==="newline"&&!n.items[n.items.length-1].sep))yield*this.pop(),yield*this.step();else if(this.type==="map-value-ind"&&n.type!=="flow-collection"){const i=Be(n),r=ie(i);Xt(e);const o=e.end.splice(1,e.end.length);o.push(this.sourceToken);const l={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:r,key:e,sep:o}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=l}else yield*this.lineEnd(e)}}flowScalar(e){if(this.onNewLine){let t=this.source.indexOf(` `)+1;for(;t!==0;)this.onNewLine(this.offset+t),t=this.source.indexOf(` -`,t)+1}return{type:e,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(e){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;const t=Be(e),n=ie(t);return n.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:n,explicitKey:!0}]}}case"map-value-ind":{this.onKeyLine=!0;const t=Be(e),n=ie(t);return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:n,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(e,t){return this.type!=="comment"||this.indent<=t?!1:e.every(n=>n.type==="newline"||n.type==="space")}*documentEnd(e){this.type!=="doc-mode"&&(e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop()))}*lineEnd(e){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;case"space":case"comment":default:e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop())}}}function Vs(s){const e=s.prettyErrors!==!1;return{lineCounter:s.lineCounter||e&&new Us||null,prettyErrors:e}}function ai(s,e={}){const{lineCounter:t,prettyErrors:n}=Vs(e),i=new Pt(t==null?void 0:t.addNewLine),r=new Kt(e),o=Array.from(r.compose(i.parse(s)));if(n&&t)for(const l of o)l.errors.forEach(Fe(s,t)),l.warnings.forEach(Fe(s,t));return o.length>0?o:Object.assign([],{empty:!0},r.streamInfo())}function Js(s,e={}){const{lineCounter:t,prettyErrors:n}=Vs(e),i=new Pt(t==null?void 0:t.addNewLine),r=new Kt(e);let o=null;for(const l of r.compose(i.parse(s),!0,s.length))if(!o)o=l;else if(o.options.logLevel!=="silent"){o.errors.push(new Z(l.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}return n&&t&&(o.errors.forEach(Fe(s,t)),o.warnings.forEach(Fe(s,t))),o}function ci(s,e,t){let n;typeof e=="function"?n=e:t===void 0&&e&&typeof e=="object"&&(t=e);const i=Js(s,t);if(!i)return null;if(i.warnings.forEach(r=>fs(i.options.logLevel,r)),i.errors.length>0){if(i.options.logLevel!=="silent")throw i.errors[0];i.errors=[]}return i.toJS(Object.assign({reviver:n},t))}function fi(s,e,t){let n=null;if(typeof e=="function"||Array.isArray(e)?n=e:t===void 0&&e&&(t=e),typeof t=="string"&&(t=t.length),typeof t=="number"){const i=Math.round(t);t=i<1?void 0:i>8?{indent:8}:{indent:i}}if(s===void 0){const{keepUndefined:i}=t??e??{};if(!i)return}return te(s)&&!n?s.toString(t):new be(s,n,t).toString(t)}const Me=Object.freeze(Object.defineProperty({__proto__:null,Alias:Ge,CST:ri,Composer:Kt,Document:be,Lexer:Rs,LineCounter:Us,Pair:_,Parser:Pt,Scalar:O,Schema:tt,YAMLError:Bt,YAMLMap:P,YAMLParseError:Z,YAMLSeq:W,YAMLWarning:$s,isAlias:ee,isCollection:L,isDocument:te,isMap:pe,isNode:$,isPair:E,isScalar:I,isSeq:me,parse:ci,parseAllDocuments:ai,parseDocument:Js,stringify:fi,visit:Q,visitAsync:Ye},Symbol.toStringTag,{value:"Module"})),ui=[{type:"field",ip:["geoip:private"],outboundTag:"blocked"}],hi=[{type:"field",outboundTag:"direct",domain:["geosite:cn"]},{type:"field",ip:["geoip:cn","geoip:private"],outboundTag:"direct"},{type:"field",domain:["geosite:category-ads"],outboundTag:"blocked"}],qe={tag:"socks-in",port:1080,listen:"::",protocol:"vmess",settings:{clients:[{id:"",alterId:0}]}},zt={protocol:"vmess",settings:{vnext:[]},streamSettings:{network:"tcp"},mux:{enabled:!0},tag:"proxy"},di={tag:"socks-in",port:1080,listen:"::",protocol:"socks",settings:{auth:"noauth",udp:!0,ip:"127.0.0.1"},sniffing:{enabled:!0,destOverride:["http","tls"]}},pi={tag:"http-in",port:1086,listen:"::",protocol:"http"},Ys=[{protocol:"freedom"},{protocol:"blackhole",tag:"blocked"}],Je={log:{loglevel:"error"},inbounds:[],outbounds:[],routing:{domainStrategy:"IPOnDemand",rules:[]}};function mi(s){return{...Je,inbounds:[{...qe,port:s.port,settings:{...qe.settings,clients:[{id:s.id,alterId:s.aid||0}]},streamSettings:{...qe.streamSettings,network:s.net,...s.net==="ws"&&{wsSettings:{path:s.path||"/",...s.tls!=="tls"&&{headers:{Host:s.host||""}}}}}}],outbounds:Ys,routing:{...Je.routing,rules:ui}}}function gi(s){return{...Je,inbounds:[di,pi],outbounds:[{...zt,settings:{...zt.settings,vnext:[{address:s.add,port:s.port,users:[{id:s.id,alterId:s.aid||0}]}]},streamSettings:{...qe.streamSettings,network:s.net,...s.tls==="tls"&&{security:"tls",tlsSettings:{...s.host?{serverName:s.host}:{allowInsecure:!0}}},...s.net==="ws"&&{wsSettings:{path:s.path||"/",...s.tls!=="tls"&&{headers:{Host:s.host||""}}}}}},...Ys],routing:{...Je.routing,rules:hi}}}const yi={class:"flex items-start"},bi={class:"flex-1 min-w-0 mr-4"},wi={key:0,class:"text-red-500"},Si={class:"flex-1 min-w-0 mr-4"},ki={class:"mt-4"},Ni=["disabled"],Oi=["disabled"],Ai=["textContent"],Li=Gs({__name:"vmess",setup(s){const e=rt(),t=rt(),n=Qs({editor:"list",urlList:"",active:{line:1,url:"",detail:"",valid:!0}}),i=rt(),r=Ws(()=>({...Zs,data:n.active.url}));Dt(()=>[n.active.line,n.urlList],()=>{const c=n.urlList.split(` +`,t)+1}return{type:e,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(e){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;const t=Be(e),n=ie(t);return n.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:n,explicitKey:!0}]}}case"map-value-ind":{this.onKeyLine=!0;const t=Be(e),n=ie(t);return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:n,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(e,t){return this.type!=="comment"||this.indent<=t?!1:e.every(n=>n.type==="newline"||n.type==="space")}*documentEnd(e){this.type!=="doc-mode"&&(e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop()))}*lineEnd(e){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;case"space":case"comment":default:e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop())}}}function Vs(s){const e=s.prettyErrors!==!1;return{lineCounter:s.lineCounter||e&&new Us||null,prettyErrors:e}}function ai(s,e={}){const{lineCounter:t,prettyErrors:n}=Vs(e),i=new Pt(t==null?void 0:t.addNewLine),r=new Kt(e),o=Array.from(r.compose(i.parse(s)));if(n&&t)for(const l of o)l.errors.forEach(Fe(s,t)),l.warnings.forEach(Fe(s,t));return o.length>0?o:Object.assign([],{empty:!0},r.streamInfo())}function Js(s,e={}){const{lineCounter:t,prettyErrors:n}=Vs(e),i=new Pt(t==null?void 0:t.addNewLine),r=new Kt(e);let o=null;for(const l of r.compose(i.parse(s),!0,s.length))if(!o)o=l;else if(o.options.logLevel!=="silent"){o.errors.push(new Z(l.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}return n&&t&&(o.errors.forEach(Fe(s,t)),o.warnings.forEach(Fe(s,t))),o}function ci(s,e,t){let n;typeof e=="function"?n=e:t===void 0&&e&&typeof e=="object"&&(t=e);const i=Js(s,t);if(!i)return null;if(i.warnings.forEach(r=>fs(i.options.logLevel,r)),i.errors.length>0){if(i.options.logLevel!=="silent")throw i.errors[0];i.errors=[]}return i.toJS(Object.assign({reviver:n},t))}function fi(s,e,t){let n=null;if(typeof e=="function"||Array.isArray(e)?n=e:t===void 0&&e&&(t=e),typeof t=="string"&&(t=t.length),typeof t=="number"){const i=Math.round(t);t=i<1?void 0:i>8?{indent:8}:{indent:i}}if(s===void 0){const{keepUndefined:i}=t??e??{};if(!i)return}return te(s)&&!n?s.toString(t):new be(s,n,t).toString(t)}const Me=Object.freeze(Object.defineProperty({__proto__:null,Alias:Ge,CST:ri,Composer:Kt,Document:be,Lexer:Rs,LineCounter:Us,Pair:_,Parser:Pt,Scalar:O,Schema:tt,YAMLError:Bt,YAMLMap:P,YAMLParseError:Z,YAMLSeq:W,YAMLWarning:$s,isAlias:ee,isCollection:L,isDocument:te,isMap:pe,isNode:$,isPair:E,isScalar:I,isSeq:me,parse:ci,parseAllDocuments:ai,parseDocument:Js,stringify:fi,visit:Q,visitAsync:Ye},Symbol.toStringTag,{value:"Module"})),ui=[{type:"field",ip:["geoip:private"],outboundTag:"blocked"}],hi=[{type:"field",outboundTag:"direct",domain:["geosite:cn"]},{type:"field",ip:["geoip:cn","geoip:private"],outboundTag:"direct"},{type:"field",domain:["geosite:category-ads"],outboundTag:"blocked"}],qe={tag:"socks-in",port:1080,listen:"::",protocol:"vmess",settings:{clients:[{id:"",alterId:0}]}},zt={protocol:"vmess",settings:{vnext:[]},streamSettings:{network:"tcp"},mux:{enabled:!0},tag:"proxy"},di={tag:"socks-in",port:1080,listen:"::",protocol:"socks",settings:{auth:"noauth",udp:!0,ip:"127.0.0.1"},sniffing:{enabled:!0,destOverride:["http","tls"]}},pi={tag:"http-in",port:1086,listen:"::",protocol:"http"},Ys=[{protocol:"freedom"},{protocol:"blackhole",tag:"blocked"}],Je={log:{loglevel:"error"},inbounds:[],outbounds:[],routing:{domainStrategy:"IPOnDemand",rules:[]}};function mi(s){return{...Je,inbounds:[{...qe,port:s.port,settings:{...qe.settings,clients:[{id:s.id,alterId:s.aid||0}]},streamSettings:{...qe.streamSettings,network:s.net,...s.net==="ws"&&{wsSettings:{path:s.path||"/",...s.tls!=="tls"&&{headers:{Host:s.host||""}}}}}}],outbounds:Ys,routing:{...Je.routing,rules:ui}}}function gi(s){return{...Je,inbounds:[di,pi],outbounds:[{...zt,settings:{...zt.settings,vnext:[{address:s.add,port:s.port,users:[{id:s.id,alterId:s.aid||0}]}]},streamSettings:{...qe.streamSettings,network:s.net,...s.tls==="tls"&&{security:"tls",tlsSettings:{...s.host?{serverName:s.host}:{allowInsecure:!0}}},...s.net==="ws"&&{wsSettings:{path:s.path||"/",...s.tls!=="tls"&&{headers:{Host:s.host||""}}}}}},...Ys],routing:{...Je.routing,rules:hi}}}const yi={class:"flex items-start"},bi={class:"flex-1 min-w-0 mr-4"},wi={key:0,class:"text-red-500"},Si={class:"flex-1 min-w-0 mr-4"},ki={class:"mt-4"},Ni=["disabled"],Oi=["disabled"],Ai=["textContent"],Li=Gs({__name:"vmess",setup(s){const e=rt(),t=rt(),n=Qs({editor:"list",urlList:"",active:{line:1,url:"",detail:"",valid:!0}}),i=rt(),r=Ws(()=>({...Zs,data:n.active.url}));Dt(()=>[n.active.line,n.urlList,n.editor],()=>{if(n.editor!=="list")return;const c=n.urlList.split(` `)[n.active.line-1];let u="",f=!0;if(c){let p;({data:p,valid:f}=xs(new URL(c))),u=Me.stringify(p)}Object.assign(n.active,{url:c,detail:u,valid:f})}),Dt(()=>n.active.detail,c=>{if(n.editor!=="detail"||!e.value)return;let u="";if(c)try{u=en(Me.parse(c)).toString()}catch{}u&&e.value.replaceLine(n.active,u)});function o(c){n.active.line=c}function l(){if(!(!n.active.detail||!n.active.valid))try{const c=Me.parse(n.active.detail);i.value={title:"Client config",content:JSON.stringify(gi(c),null,2)}}catch{}}function a(){if(!(!n.active.detail||!n.active.valid))try{const c=Me.parse(n.active.detail);i.value={title:"Server config",content:JSON.stringify(mi(c),null,2)}}catch{}}return(c,u)=>(ot(),lt("div",null,[u[10]||(u[10]=M("h1",null,"VMess URL Editor",-1)),M("section",null,[M("div",yi,[M("div",bi,[u[7]||(u[7]=M("div",{class:"mb-1"},"VMess URLs",-1)),Le(at,{ref_key:"editorList",ref:e,class:"t-code",modelValue:n.urlList,"onUpdate:modelValue":u[0]||(u[0]=f=>n.urlList=f),onFocus:u[1]||(u[1]=f=>n.editor="list"),onCursorMove:o},null,8,["modelValue"]),n.active.valid?Rt("",!0):(ot(),lt("div",wi," Invalid URL (Line "+qt(n.active.line)+") ",1))]),M("div",Si,[u[8]||(u[8]=M("div",{class:"mb-1"},"Detail",-1)),Le(at,{ref_key:"editorDetail",ref:t,class:"t-code",modelValue:n.active.detail,"onUpdate:modelValue":u[2]||(u[2]=f=>n.active.detail=f),lang:"yaml",onFocus:u[3]||(u[3]=f=>n.editor="detail")},null,8,["modelValue"])]),M("div",null,[u[9]||(u[9]=M("div",{class:"mb-1"},"QRCode for Client",-1)),Le(Hs(zs),{class:"qrcode",width:300,height:300,options:r.value},null,8,["options"])])]),M("div",ki,[M("button",{class:"mr-2 mb-1",onClick:l,disabled:!n.active.detail||!n.active.valid}," Get client config ",8,Ni),M("button",{class:"mr-2 mb-1",onClick:a,disabled:!n.active.detail||!n.active.valid}," Get server config ",8,Oi)])]),i.value?(ot(),lt("div",{key:0,class:"modal",onClick:u[6]||(u[6]=f=>i.value=void 0)},[M("div",{class:"modal-content flex flex-col",style:{height:"80vh"},onClick:u[5]||(u[5]=Xs(()=>{},["stop"]))},[M("div",{class:"mb-2",textContent:qt(i.value.title)},null,8,Ai),Le(at,{class:"flex-1 form-input min-h-0",readonly:"",lang:"json","model-value":i.value.content,onClick:u[4]||(u[4]=f=>f.target.select())},null,8,["model-value"])])])):Rt("",!0)]))}});export{Li as default}; diff --git a/_nuxt/BYtN_xSz.js b/_nuxt/DgEi93DL.js similarity index 77% rename from _nuxt/BYtN_xSz.js rename to _nuxt/DgEi93DL.js index b7bff9f..aa20481 100644 --- a/_nuxt/BYtN_xSz.js +++ b/_nuxt/DgEi93DL.js @@ -1 +1 @@ -import{_ as n,c as o,a as r,o as a}from"./REfpicIH.js";const s={};function t(l,e){return a(),o("div",null,e[0]||(e[0]=[r("h1",null,"Transformers",-1),r("p",null,"A bunch of pipe based transformers to facilitate your daily life.",-1)]))}const f=n(s,[["render",t]]);export{f as default}; +import{_ as n,c as o,a as r,o as a}from"./nS3f7xyi.js";const s={};function t(l,e){return a(),o("div",null,e[0]||(e[0]=[r("h1",null,"Transformers",-1),r("p",null,"A bunch of pipe based transformers to facilitate your daily life.",-1)]))}const f=n(s,[["render",t]]);export{f as default}; diff --git a/_nuxt/SECIy35Z.js b/_nuxt/Dx4me579.js similarity index 83% rename from _nuxt/SECIy35Z.js rename to _nuxt/Dx4me579.js index f5cb405..8821ce4 100644 --- a/_nuxt/SECIy35Z.js +++ b/_nuxt/Dx4me579.js @@ -1 +1 @@ -import{i as f,r as u,e as o,f as d,g as v,h as l,j as i,k as h,l as m}from"./REfpicIH.js";function U(t,a={}){const e=a.head||f();if(e)return e.ssr?e.push(t,a):p(e,t,a)}function p(t,a,e={}){const s=u(!1),n=u({});o(()=>{n.value=s.value?{}:d(a)});const r=t.push(n.value,e);return v(n,c=>{r.patch(c)}),m()&&(l(()=>{r.dispose()}),i(()=>{s.value=!0}),h(()=>{s.value=!1})),r}export{U as u}; +import{i as f,r as u,e as o,f as d,g as v,h as l,j as i,k as h,l as m}from"./nS3f7xyi.js";function U(t,a={}){const e=a.head||f();if(e)return e.ssr?e.push(t,a):p(e,t,a)}function p(t,a,e={}){const s=u(!1),n=u({});o(()=>{n.value=s.value?{}:d(a)});const r=t.push(n.value,e);return v(n,c=>{r.patch(c)}),m()&&(l(()=>{r.dispose()}),i(()=>{s.value=!0}),h(()=>{s.value=!1})),r}export{U as u}; diff --git a/_nuxt/CQ7U7q4o.js b/_nuxt/IDXB_eWO.js similarity index 69% rename from _nuxt/CQ7U7q4o.js rename to _nuxt/IDXB_eWO.js index 89b1603..6d7ed8d 100644 --- a/_nuxt/CQ7U7q4o.js +++ b/_nuxt/IDXB_eWO.js @@ -1 +1 @@ -import{p as m}from"./D-Aql_Dh.js";import"./REfpicIH.js";import"./DfM6GND9.js";const g={r:255,g:255,b:255,a:1};function p(c,a){const e=m(a==null?void 0:a.bg)||g;let{r:t,g:o,b:n}=c;const{a:r}=c;return t=t*r+e.r*(1-r),o=o*r+e.g*(1-r),n=n*r+e.b*(1-r),{r:t,g:o,b:n,a:1}}const i={name:"Dealpha",options:[{type:"input",name:"bg",description:"Background color",default:"#fff",normalize:m}]};export{p as handle,i as meta}; +import{p as m}from"./lew6nU2b.js";import"./nS3f7xyi.js";import"./O4-S8BdF.js";const g={r:255,g:255,b:255,a:1};function p(c,a){const e=m(a==null?void 0:a.bg)||g;let{r:t,g:o,b:n}=c;const{a:r}=c;return t=t*r+e.r*(1-r),o=o*r+e.g*(1-r),n=n*r+e.b*(1-r),{r:t,g:o,b:n,a:1}}const i={name:"Dealpha",options:[{type:"input",name:"bg",description:"Background color",default:"#fff",normalize:m}]};export{p as handle,i as meta}; diff --git a/_nuxt/DfM6GND9.js b/_nuxt/O4-S8BdF.js similarity index 98% rename from _nuxt/DfM6GND9.js rename to _nuxt/O4-S8BdF.js index bfd349d..a973201 100644 --- a/_nuxt/DfM6GND9.js +++ b/_nuxt/O4-S8BdF.js @@ -1 +1 @@ -import{m as M,p as O,r as B,g as $,C as E,o as l,c as i,a as n,A as C,B as k,F as m,x as f,q as c,v as _,t as r,s as N,D as A,E as D}from"./REfpicIH.js";const F={class:"flex mb-2"},j=["onClick"],H={class:"flex"},R=["textContent"],S=["onClick"],q=["textContent"],I={class:"mb-2"},T=["textContent","onClick"],G={key:0,class:"text-gray"},J=["textContent"],K={key:0,class:"text-left"},Q={key:0},W={class:"block"},X=["onUpdate:modelValue"],Y=["textContent"],Z={key:1},ee=["textContent"],te={key:0},ne=["value","onUpdate:modelValue"],oe=["textContent"],se=["onUpdate:modelValue"],le=["onUpdate:modelValue"],ie={key:1,class:"empty"},de=M({__name:"pipe-section",props:{pipeList:{},errorPipe:{},modelValue:{}},emits:["update:modelValue"],setup(x,{emit:b}){const p=x,v=b,s=O({search:""}),g=B([]);$(()=>p.modelValue,o=>{g.value=o});const h=E(()=>{let o=p.pipeList;const t=s.search.toLowerCase();return t&&(o=o.filter(e=>e.meta.name.toLowerCase().includes(t))),o});function y(o){const{options:t,normalizedOptions:e}=o.meta.options.reduce((d,a)=>{if(a.default!=null){let u=a.default;d.options[a.name]=u,a.normalize&&(u=a.normalize(u)),d.normalizedOptions[a.name]=u}return d},{options:{},normalizedOptions:{}});v("update:modelValue",[...p.modelValue,{name:o.meta.name,options:t,normalizedOptions:e}])}function V(o){const t=Object.keys(o).map(e=>`${e}=${o[e]}`).join(";");return t?`[${t}]`:""}function z(o){v("update:modelValue",[...p.modelValue.slice(0,o),...p.modelValue.slice(o+1)])}function L(){v("update:modelValue",[])}function w(o){const t=p.pipeList.find(e=>e.meta.name===o.name);s.editing={pipe:t,value:o,options:{...o.options}}}function U(){s.editing.value.options=s.editing.options,s.editing.value.normalizedOptions=s.editing.pipe.meta.options.reduce((o,t)=>{let e=s.editing.options[t.name];return e!=null&&t.normalize&&(e=t.normalize(e)),o[t.name]=e,o},{}),s.editing=null,v("update:modelValue",[...p.modelValue])}return(o,t)=>(l(),i("section",null,[n("div",F,[t[3]||(t[3]=n("h3",null,"Applied pipes",-1)),g.value.length?(l(),i("a",{key:0,class:"ml-4",href:"#",onClick:C(L,["prevent"])},t[2]||(t[2]=[n("svg",{viewBox:"0 0 20 20",fill:"currentColor",class:"trash w-6 h-6"},[n("path",{"fill-rule":"evenodd",d:"M9 2a1 1 0 00-.894.553L7.382 4H4a1 1 0 000 2v10a2 2 0 002 2h8a2 2 0 002-2V6a1 1 0 100-2h-3.382l-.724-1.447A1 1 0 0011 2H9zM7 8a1 1 0 012 0v6a1 1 0 11-2 0V8zm5-1a1 1 0 00-1 1v6a1 1 0 102 0V8a1 1 0 00-1-1z","clip-rule":"evenodd"})],-1)]))):k("",!0)]),n("div",null,[t[6]||(t[6]=n("div",{class:"tool-string-pipe mr-2 disabled"},"Input",-1)),(l(!0),i(m,null,f(g.value,(e,d)=>(l(),i(m,{key:d},[t[5]||(t[5]=n("span",{class:"mr-2"},"→",-1)),n("div",{class:N(["tool-string-pipe mr-2 mb-2",{"bg-red-300":e.name===o.errorPipe}]),onClick:a=>w(e)},[n("div",H,[n("strong",{textContent:r(e.name),class:"flex-1 mr-2"},null,8,R),n("a",{href:"#",onClick:C(a=>z(d),["prevent","stop"])},t[4]||(t[4]=[n("svg",{viewBox:"0 0 20 20",fill:"currentColor",class:"x w-6 h-6"},[n("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1)]),8,S)]),n("span",{class:"text-xs",textContent:r(V(e.options))},null,8,q)],10,j)],64))),128)),t[7]||(t[7]=n("span",{class:"mr-2"},"→",-1)),t[8]||(t[8]=n("div",{class:"tool-string-pipe disabled"},"Output",-1))]),t[10]||(t[10]=n("h3",{class:"mt-2 mb-1"},"Pipes",-1)),n("div",I,[c(n("input",{type:"search",class:"form-input",placeholder:"Filter pipes...","onUpdate:modelValue":t[0]||(t[0]=e=>s.search=e)},null,512),[[_,s.search]])]),(l(!0),i(m,null,f(h.value,(e,d)=>(l(),i("button",{key:d,class:"mr-2 mb-2",textContent:r(e.meta.name),onClick:a=>y(e)},null,8,T))),128)),h.value.length?k("",!0):(l(),i("p",G,"No pipe is found.")),s.editing?(l(),i("div",{key:1,class:"modal",onClick:U},[n("div",{class:"modal-content",onClick:t[1]||(t[1]=C(()=>{},["stop"]))},[n("div",{class:"font-bold mb-2",textContent:r(s.editing.pipe.meta.name)},null,8,J),s.editing.pipe.meta.options.length?(l(),i("div",K,[(l(!0),i(m,null,f(s.editing.pipe.meta.options,(e,d)=>(l(),i("div",{key:d,class:"mb-2"},[e.type==="checkbox"?(l(),i("div",Q,[n("label",W,[c(n("input",{type:"checkbox","onUpdate:modelValue":a=>s.editing.options[e.name]=a},null,8,X),[[A,s.editing.options[e.name]]]),n("span",{textContent:r(e.description)},null,8,Y)])])):(l(),i("div",Z,[n("label",{class:"block",textContent:r(e.description)},null,8,ee),e.type==="radio"?(l(),i("div",te,[(l(!0),i(m,null,f(e.choices,(a,u)=>(l(),i("label",{class:"block",key:u},[c(n("input",{type:"radio",value:a.value,"onUpdate:modelValue":P=>s.editing.options[e.name]=P},null,8,ne),[[D,s.editing.options[e.name]]]),n("span",{textContent:r(a.label)},null,8,oe)]))),128))])):e.type==="number"?c((l(),i("input",{key:1,class:"form-input",type:"number","onUpdate:modelValue":a=>s.editing.options[e.name]=a},null,8,se)),[[_,s.editing.options[e.name],void 0,{number:!0}]]):c((l(),i("input",{key:2,class:"form-input","onUpdate:modelValue":a=>s.editing.options[e.name]=a},null,8,le)),[[_,s.editing.options[e.name]]])]))]))),128))])):(l(),i("div",ie,t[9]||(t[9]=[n("div",{class:"empty-title"},"No options available",-1)])))])])):k("",!0)]))}});export{de as _}; +import{m as M,p as O,r as B,g as $,C as E,o as l,c as i,a as n,A as C,B as k,F as m,x as f,q as c,v as _,t as r,s as N,D as A,E as D}from"./nS3f7xyi.js";const F={class:"flex mb-2"},j=["onClick"],H={class:"flex"},R=["textContent"],S=["onClick"],q=["textContent"],I={class:"mb-2"},T=["textContent","onClick"],G={key:0,class:"text-gray"},J=["textContent"],K={key:0,class:"text-left"},Q={key:0},W={class:"block"},X=["onUpdate:modelValue"],Y=["textContent"],Z={key:1},ee=["textContent"],te={key:0},ne=["value","onUpdate:modelValue"],oe=["textContent"],se=["onUpdate:modelValue"],le=["onUpdate:modelValue"],ie={key:1,class:"empty"},de=M({__name:"pipe-section",props:{pipeList:{},errorPipe:{},modelValue:{}},emits:["update:modelValue"],setup(x,{emit:b}){const p=x,v=b,s=O({search:""}),g=B([]);$(()=>p.modelValue,o=>{g.value=o});const h=E(()=>{let o=p.pipeList;const t=s.search.toLowerCase();return t&&(o=o.filter(e=>e.meta.name.toLowerCase().includes(t))),o});function y(o){const{options:t,normalizedOptions:e}=o.meta.options.reduce((d,a)=>{if(a.default!=null){let u=a.default;d.options[a.name]=u,a.normalize&&(u=a.normalize(u)),d.normalizedOptions[a.name]=u}return d},{options:{},normalizedOptions:{}});v("update:modelValue",[...p.modelValue,{name:o.meta.name,options:t,normalizedOptions:e}])}function V(o){const t=Object.keys(o).map(e=>`${e}=${o[e]}`).join(";");return t?`[${t}]`:""}function z(o){v("update:modelValue",[...p.modelValue.slice(0,o),...p.modelValue.slice(o+1)])}function L(){v("update:modelValue",[])}function w(o){const t=p.pipeList.find(e=>e.meta.name===o.name);s.editing={pipe:t,value:o,options:{...o.options}}}function U(){s.editing.value.options=s.editing.options,s.editing.value.normalizedOptions=s.editing.pipe.meta.options.reduce((o,t)=>{let e=s.editing.options[t.name];return e!=null&&t.normalize&&(e=t.normalize(e)),o[t.name]=e,o},{}),s.editing=null,v("update:modelValue",[...p.modelValue])}return(o,t)=>(l(),i("section",null,[n("div",F,[t[3]||(t[3]=n("h3",null,"Applied pipes",-1)),g.value.length?(l(),i("a",{key:0,class:"ml-4",href:"#",onClick:C(L,["prevent"])},t[2]||(t[2]=[n("svg",{viewBox:"0 0 20 20",fill:"currentColor",class:"trash w-6 h-6"},[n("path",{"fill-rule":"evenodd",d:"M9 2a1 1 0 00-.894.553L7.382 4H4a1 1 0 000 2v10a2 2 0 002 2h8a2 2 0 002-2V6a1 1 0 100-2h-3.382l-.724-1.447A1 1 0 0011 2H9zM7 8a1 1 0 012 0v6a1 1 0 11-2 0V8zm5-1a1 1 0 00-1 1v6a1 1 0 102 0V8a1 1 0 00-1-1z","clip-rule":"evenodd"})],-1)]))):k("",!0)]),n("div",null,[t[6]||(t[6]=n("div",{class:"tool-string-pipe mr-2 disabled"},"Input",-1)),(l(!0),i(m,null,f(g.value,(e,d)=>(l(),i(m,{key:d},[t[5]||(t[5]=n("span",{class:"mr-2"},"→",-1)),n("div",{class:N(["tool-string-pipe mr-2 mb-2",{"bg-red-300":e.name===o.errorPipe}]),onClick:a=>w(e)},[n("div",H,[n("strong",{textContent:r(e.name),class:"flex-1 mr-2"},null,8,R),n("a",{href:"#",onClick:C(a=>z(d),["prevent","stop"])},t[4]||(t[4]=[n("svg",{viewBox:"0 0 20 20",fill:"currentColor",class:"x w-6 h-6"},[n("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1)]),8,S)]),n("span",{class:"text-xs",textContent:r(V(e.options))},null,8,q)],10,j)],64))),128)),t[7]||(t[7]=n("span",{class:"mr-2"},"→",-1)),t[8]||(t[8]=n("div",{class:"tool-string-pipe disabled"},"Output",-1))]),t[10]||(t[10]=n("h3",{class:"mt-2 mb-1"},"Pipes",-1)),n("div",I,[c(n("input",{type:"search",class:"form-input",placeholder:"Filter pipes...","onUpdate:modelValue":t[0]||(t[0]=e=>s.search=e)},null,512),[[_,s.search]])]),(l(!0),i(m,null,f(h.value,(e,d)=>(l(),i("button",{key:d,class:"mr-2 mb-2",textContent:r(e.meta.name),onClick:a=>y(e)},null,8,T))),128)),h.value.length?k("",!0):(l(),i("p",G,"No pipe is found.")),s.editing?(l(),i("div",{key:1,class:"modal",onClick:U},[n("div",{class:"modal-content",onClick:t[1]||(t[1]=C(()=>{},["stop"]))},[n("div",{class:"font-bold mb-2",textContent:r(s.editing.pipe.meta.name)},null,8,J),s.editing.pipe.meta.options.length?(l(),i("div",K,[(l(!0),i(m,null,f(s.editing.pipe.meta.options,(e,d)=>(l(),i("div",{key:d,class:"mb-2"},[e.type==="checkbox"?(l(),i("div",Q,[n("label",W,[c(n("input",{type:"checkbox","onUpdate:modelValue":a=>s.editing.options[e.name]=a},null,8,X),[[A,s.editing.options[e.name]]]),n("span",{textContent:r(e.description)},null,8,Y)])])):(l(),i("div",Z,[n("label",{class:"block",textContent:r(e.description)},null,8,ee),e.type==="radio"?(l(),i("div",te,[(l(!0),i(m,null,f(e.choices,(a,u)=>(l(),i("label",{class:"block",key:u},[c(n("input",{type:"radio",value:a.value,"onUpdate:modelValue":P=>s.editing.options[e.name]=P},null,8,ne),[[D,s.editing.options[e.name]]]),n("span",{textContent:r(a.label)},null,8,oe)]))),128))])):e.type==="number"?c((l(),i("input",{key:1,class:"form-input",type:"number","onUpdate:modelValue":a=>s.editing.options[e.name]=a},null,8,se)),[[_,s.editing.options[e.name],void 0,{number:!0}]]):c((l(),i("input",{key:2,class:"form-input","onUpdate:modelValue":a=>s.editing.options[e.name]=a},null,8,le)),[[_,s.editing.options[e.name]]])]))]))),128))])):(l(),i("div",ie,t[9]||(t[9]=[n("div",{class:"empty-title"},"No options available",-1)])))])])):k("",!0)]))}});export{de as _}; diff --git a/_nuxt/BpZpca6S.js b/_nuxt/bgPPq78w.js similarity index 90% rename from _nuxt/BpZpca6S.js rename to _nuxt/bgPPq78w.js index 2865d3b..11b0b3d 100644 --- a/_nuxt/BpZpca6S.js +++ b/_nuxt/bgPPq78w.js @@ -1 +1 @@ -import{_ as u}from"./Dus1neJF.js";import{m,o as r,c as a,a as e,b as s,w as o,d as l,G as f,T as p,F as _,x,t as c,y as g}from"./REfpicIH.js";import{t as v}from"./XZTC74h3.js";const k={class:"flex h-screen"},w={class:"flex flex-col p-3"},y={class:"flex-1 my-2"},C={class:"flex-1 p-4 min-w-0 overflow-auto"},b=["textContent"],V=m({__name:"default",setup(B){return(d,t)=>{const n=u;return r(),a("div",null,[e("div",k,[e("aside",w,[s(n,{to:"/"},{default:o(()=>t[0]||(t[0]=[e("h2",null,"Transformers",-1)])),_:1}),e("div",y,[s(n,{class:"menu-item",to:"/string/"},{default:o(()=>t[1]||(t[1]=[l("String pipes")])),_:1}),s(n,{class:"menu-item",to:"/url-builder/"},{default:o(()=>t[2]||(t[2]=[l("URL Builder")])),_:1}),s(n,{class:"menu-item",to:"/color/"},{default:o(()=>t[3]||(t[3]=[l("Color pipes")])),_:1}),s(n,{class:"menu-item",to:"/vmess/"},{default:o(()=>t[4]||(t[4]=[l("VMess URL editor")])),_:1})]),t[5]||(t[5]=e("footer",null,[e("p",null,[l("Designed with ♥ by "),e("a",{href:"https://gera2ld.space",target:"_blank",rel:"noopener noreferrer"},"Gerald")])],-1))]),e("div",C,[f(d.$slots,"default")]),s(p,{tag:"ul",class:"t-toast",name:"anim-toast",appear:""},{default:o(()=>[(r(!0),a(_,null,x(g(v),i=>(r(),a("li",{class:"toast",key:i.id,textContent:c(i.text)},null,8,b))),128))]),_:1})])])}}});export{V as default}; +import{_ as u}from"./BpOF_EeM.js";import{m,o as r,c as a,a as e,b as s,w as o,d as l,G as f,T as p,F as _,x,t as c,y as g}from"./nS3f7xyi.js";import{t as v}from"./CLsFmO2Q.js";const k={class:"flex h-screen"},w={class:"flex flex-col p-3"},y={class:"flex-1 my-2"},C={class:"flex-1 p-4 min-w-0 overflow-auto"},b=["textContent"],V=m({__name:"default",setup(B){return(d,t)=>{const n=u;return r(),a("div",null,[e("div",k,[e("aside",w,[s(n,{to:"/"},{default:o(()=>t[0]||(t[0]=[e("h2",null,"Transformers",-1)])),_:1}),e("div",y,[s(n,{class:"menu-item",to:"/string/"},{default:o(()=>t[1]||(t[1]=[l("String pipes")])),_:1}),s(n,{class:"menu-item",to:"/url-builder/"},{default:o(()=>t[2]||(t[2]=[l("URL Builder")])),_:1}),s(n,{class:"menu-item",to:"/color/"},{default:o(()=>t[3]||(t[3]=[l("Color pipes")])),_:1}),s(n,{class:"menu-item",to:"/vmess/"},{default:o(()=>t[4]||(t[4]=[l("VMess URL editor")])),_:1})]),t[5]||(t[5]=e("footer",null,[e("p",null,[l("Designed with ♥ by "),e("a",{href:"https://gera2ld.space",target:"_blank",rel:"noopener noreferrer"},"Gerald")])],-1))]),e("div",C,[f(d.$slots,"default")]),s(p,{tag:"ul",class:"t-toast",name:"anim-toast",appear:""},{default:o(()=>[(r(!0),a(_,null,x(g(v),i=>(r(),a("li",{class:"toast",key:i.id,textContent:c(i.text)},null,8,b))),128))]),_:1})])])}}});export{V as default}; diff --git a/_nuxt/builds/latest.json b/_nuxt/builds/latest.json index 6e93784..45657ff 100644 --- a/_nuxt/builds/latest.json +++ b/_nuxt/builds/latest.json @@ -1 +1 @@ -{"id":"10a0bf7f-8c89-4872-abda-44d9323b726c","timestamp":1735642456351} \ No newline at end of file +{"id":"b0725910-fb82-463f-b1fd-89fa0b2d593a","timestamp":1735646864366} \ No newline at end of file diff --git a/_nuxt/builds/meta/10a0bf7f-8c89-4872-abda-44d9323b726c.json b/_nuxt/builds/meta/10a0bf7f-8c89-4872-abda-44d9323b726c.json deleted file mode 100644 index 81c9b62..0000000 --- a/_nuxt/builds/meta/10a0bf7f-8c89-4872-abda-44d9323b726c.json +++ /dev/null @@ -1 +0,0 @@ -{"id":"10a0bf7f-8c89-4872-abda-44d9323b726c","timestamp":1735642456351,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]} \ No newline at end of file diff --git a/_nuxt/builds/meta/b0725910-fb82-463f-b1fd-89fa0b2d593a.json b/_nuxt/builds/meta/b0725910-fb82-463f-b1fd-89fa0b2d593a.json new file mode 100644 index 0000000..43556b5 --- /dev/null +++ b/_nuxt/builds/meta/b0725910-fb82-463f-b1fd-89fa0b2d593a.json @@ -0,0 +1 @@ +{"id":"b0725910-fb82-463f-b1fd-89fa0b2d593a","timestamp":1735646864366,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]} \ No newline at end of file diff --git a/_nuxt/D-Aql_Dh.js b/_nuxt/lew6nU2b.js similarity index 94% rename from _nuxt/D-Aql_Dh.js rename to _nuxt/lew6nU2b.js index d0807a3..c19e1d4 100644 --- a/_nuxt/D-Aql_Dh.js +++ b/_nuxt/lew6nU2b.js @@ -1,2 +1,2 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./CQ7U7q4o.js","./REfpicIH.js","./entry.whQpWaPK.css","./DfM6GND9.js"])))=>i.map(i=>d[i]); -import{m as M,r as N,n as w,p as z,g as $,o as g,c as b,a as u,q as S,v as L,s as E,u as y,F as H,x as O,b as V,y as j,t as k}from"./REfpicIH.js";import{_ as D}from"./DfM6GND9.js";function p(r,t="Assertion error"){if(!r)throw new Error(t)}function h(r){return typeof r=="string"&&(r=r.trim(),r.endsWith("%")?r=+r.slice(0,-1)*2.55:r=+r),p(!Number.isNaN(r)),Math.max(0,Math.min(255,r))}function F(r){return r=+r,p(!Number.isNaN(r)),Math.max(0,Math.min(1,r))}function _(r){const{r:t,g:s,b:i,a:e}=r;return{r:h(t),g:h(s),b:h(i),a:F(e)}}function v(r){{const t=r.match(/^\s*rgb(a?)\((.*?)\)\s*$/);if(t){const[,s,i]=t,e=i.split(",");p(e.length===3+!!s),s||e.push(1);const[n,o,a,l]=e;return _({r:n,g:o,b:a,a:l})}}{const t=r.match(/^\s*hsl(a?)\((.*?)\)\s*$/);if(t){const[,s,i]=t,e=i.split(",");p(e.length===3+!!s);let[n,o,a]=e;n=(n%360+360)%360/360,p(o.endsWith("%")),o=+o.slice(0,-1)/100,p(a.endsWith("%")),a=+a.slice(0,-1)/100;const[l,c,f]=W(n,o,a).map(C=>C*255),m=s?e[3]:1;return _({r:l,g:c,b:f,a:m})}}{const t=r.match(/^\s*#([0-9a-fA-F]{3,8})\s*$/);if(t){const[,s]=t;p([3,4,6,8].includes(s.length));const i=s.length<6,e=i?1:2,[n,o,a,l]=Array.from({length:4},(f,m)=>s.slice(m*e,m*e+e)).map(f=>parseInt(f,16)*(i?17:1)),c=Number.isNaN(l)?1:l/255;return _({r:n,g:o,b:a,a:c})}}p(!1)}function A(r){return`${+r.toFixed(3)}`.replace(/^0./,".")}function P(r){const{r:t,g:s,b:i,a:e}=r,n=[t,s,i].map(a=>Math.floor(a));e!==1&&n.push(Math.floor(e*255));let o=n.map(a=>a.toString(16).padStart(2,"0"));return o.every(a=>a[0]===a[1])&&(o=o.map(a=>a[0])),`#${o.join("")}`}function I(r){let{r:t,g:s,b:i,a:e}=r;return t|=0,s|=0,i|=0,e=A(e),e==="1"?`rgb(${t},${s},${i})`:`rgba(${t},${s},${i},${e})`}function T(r){const{r:t,g:s,b:i}=r;let[e,n,o]=B(...[t,s,i].map(l=>l/255));e|=0,n=n*100|0,o=o*100|0;const a=A(r.a);return a==="1"?`hsl(${e},${n}%,${o}%)`:`hsla(${e},${n}%,${o}%,${a})`}function W(r,t,s){const i=s<=.5?s*(t+1):s+t-s*t,e=s*2-i,n=x(e,i,r+1/3),o=x(e,i,r),a=x(e,i,r-1/3);return[n,o,a]}function x(r,t,s){return s<0?s+=1:s>1&&(s-=1),s*6<1?r+(t-r)*s*6:s*2<1?t:s*3<2?r+(t-r)*(2/3-s)*6:r}function B(r,t,s){const i=Math.min(r,t,s),e=Math.max(r,t,s),n=e-i,o=(i+e)/2;return[U(r,t,s,e,n),n===0?0:n/(1-Math.abs(2*o-1)),o]}function U(r,t,s,i,e){let n=0;return e&&(i===r?n=(t-s)/e%6:i===t?n=(s-r)/e+2:i===s&&(n=(r-t)/e+4),n*=60),n<0?n+360:n}const q={class:"flex mb-2"},R={class:"flex-1 mr-4"},J={class:"flex"},K={class:"flex-1"},Q=["textContent"],X=["value"],d=N([]);Y();async function Y(){const r=await Promise.all(Object.values(Object.assign({"/components/color/pipes/dealpha.ts":()=>w(()=>import("./CQ7U7q4o.js"),__vite__mapDeps([0,1,2,3]),import.meta.url)})).map(async t=>await t()));d.value=r}const Z=M({__name:"color",setup(r){const t=z({input:"",output:{Hex:"",RGBA:"",HSLA:""},pipes:[]});$(()=>t.input,e=>{try{t.inputColor=e&&v(e),t.inputError=null}catch(n){t.inputColor=null,t.inputError=n}}),$(()=>[d.value,t.pipes,t.inputColor],()=>{let e;try{let n=t.inputColor;for(const{name:o,options:a}of t.pipes){const l=d.value.find(c=>c.meta.name===o);l&&(e=o,n=l.handle(n,a))}t.output=i(n),t.errorPipe=""}catch(n){t.error=n,t.errorPipe=e}});function s(e){try{return`background-color: ${P(v(e))}`}catch{return null}}function i(e){return{Hex:e&&P(e),RGBA:e&&I(e),HSLA:e&&T(e)}}return(e,n)=>(g(),b("div",null,[n[5]||(n[5]=u("h1",null,"Color Pipes",-1)),u("section",q,[u("div",R,[n[3]||(n[3]=u("label",null,"Input",-1)),u("div",J,[S(u("input",{class:E(["form-input flex-1",{"bg-red-300":t.inputError}]),"onUpdate:modelValue":n[0]||(n[0]=o=>t.input=o)},null,2),[[L,t.input]]),u("div",{class:"w-8 h-8 ml-2 border border-gray-400",style:y(s(t.input))},null,4)])]),u("div",K,[n[4]||(n[4]=u("label",null,"Output",-1)),(g(!0),b(H,null,O(t.output,(o,a)=>(g(),b("div",{class:"flex items-center",key:a},[u("div",{class:"w-16 text-gray-600",textContent:k(a)},null,8,Q),u("input",{class:"form-input flex-1",readonly:"",value:o,onClick:n[1]||(n[1]=l=>l.target.select())},null,8,X),u("div",{class:"w-8 h-8 ml-2 border border-gray-400",style:y({background:o})},null,4)]))),128))])]),V(j(D),{pipeList:d.value,errorPipe:t.errorPipe,modelValue:t.pipes,"onUpdate:modelValue":n[2]||(n[2]=o=>t.pipes=o)},null,8,["pipeList","errorPipe","modelValue"])]))}}),et=Object.freeze(Object.defineProperty({__proto__:null,default:Z},Symbol.toStringTag,{value:"Module"}));export{et as c,v as p}; +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./IDXB_eWO.js","./nS3f7xyi.js","./entry.whQpWaPK.css","./O4-S8BdF.js"])))=>i.map(i=>d[i]); +import{m as M,r as N,n as w,p as z,g as $,o as g,c as b,a as u,q as S,v as L,s as E,u as y,F as H,x as O,b as V,y as j,t as k}from"./nS3f7xyi.js";import{_ as D}from"./O4-S8BdF.js";function p(r,t="Assertion error"){if(!r)throw new Error(t)}function h(r){return typeof r=="string"&&(r=r.trim(),r.endsWith("%")?r=+r.slice(0,-1)*2.55:r=+r),p(!Number.isNaN(r)),Math.max(0,Math.min(255,r))}function F(r){return r=+r,p(!Number.isNaN(r)),Math.max(0,Math.min(1,r))}function _(r){const{r:t,g:s,b:i,a:e}=r;return{r:h(t),g:h(s),b:h(i),a:F(e)}}function v(r){{const t=r.match(/^\s*rgb(a?)\((.*?)\)\s*$/);if(t){const[,s,i]=t,e=i.split(",");p(e.length===3+!!s),s||e.push(1);const[n,o,a,l]=e;return _({r:n,g:o,b:a,a:l})}}{const t=r.match(/^\s*hsl(a?)\((.*?)\)\s*$/);if(t){const[,s,i]=t,e=i.split(",");p(e.length===3+!!s);let[n,o,a]=e;n=(n%360+360)%360/360,p(o.endsWith("%")),o=+o.slice(0,-1)/100,p(a.endsWith("%")),a=+a.slice(0,-1)/100;const[l,c,f]=W(n,o,a).map(C=>C*255),m=s?e[3]:1;return _({r:l,g:c,b:f,a:m})}}{const t=r.match(/^\s*#([0-9a-fA-F]{3,8})\s*$/);if(t){const[,s]=t;p([3,4,6,8].includes(s.length));const i=s.length<6,e=i?1:2,[n,o,a,l]=Array.from({length:4},(f,m)=>s.slice(m*e,m*e+e)).map(f=>parseInt(f,16)*(i?17:1)),c=Number.isNaN(l)?1:l/255;return _({r:n,g:o,b:a,a:c})}}p(!1)}function A(r){return`${+r.toFixed(3)}`.replace(/^0./,".")}function P(r){const{r:t,g:s,b:i,a:e}=r,n=[t,s,i].map(a=>Math.floor(a));e!==1&&n.push(Math.floor(e*255));let o=n.map(a=>a.toString(16).padStart(2,"0"));return o.every(a=>a[0]===a[1])&&(o=o.map(a=>a[0])),`#${o.join("")}`}function I(r){let{r:t,g:s,b:i,a:e}=r;return t|=0,s|=0,i|=0,e=A(e),e==="1"?`rgb(${t},${s},${i})`:`rgba(${t},${s},${i},${e})`}function T(r){const{r:t,g:s,b:i}=r;let[e,n,o]=B(...[t,s,i].map(l=>l/255));e|=0,n=n*100|0,o=o*100|0;const a=A(r.a);return a==="1"?`hsl(${e},${n}%,${o}%)`:`hsla(${e},${n}%,${o}%,${a})`}function W(r,t,s){const i=s<=.5?s*(t+1):s+t-s*t,e=s*2-i,n=x(e,i,r+1/3),o=x(e,i,r),a=x(e,i,r-1/3);return[n,o,a]}function x(r,t,s){return s<0?s+=1:s>1&&(s-=1),s*6<1?r+(t-r)*s*6:s*2<1?t:s*3<2?r+(t-r)*(2/3-s)*6:r}function B(r,t,s){const i=Math.min(r,t,s),e=Math.max(r,t,s),n=e-i,o=(i+e)/2;return[U(r,t,s,e,n),n===0?0:n/(1-Math.abs(2*o-1)),o]}function U(r,t,s,i,e){let n=0;return e&&(i===r?n=(t-s)/e%6:i===t?n=(s-r)/e+2:i===s&&(n=(r-t)/e+4),n*=60),n<0?n+360:n}const q={class:"flex mb-2"},R={class:"flex-1 mr-4"},J={class:"flex"},K={class:"flex-1"},Q=["textContent"],X=["value"],d=N([]);Y();async function Y(){const r=await Promise.all(Object.values(Object.assign({"/components/color/pipes/dealpha.ts":()=>w(()=>import("./IDXB_eWO.js"),__vite__mapDeps([0,1,2,3]),import.meta.url)})).map(async t=>await t()));d.value=r}const Z=M({__name:"color",setup(r){const t=z({input:"",output:{Hex:"",RGBA:"",HSLA:""},pipes:[]});$(()=>t.input,e=>{try{t.inputColor=e&&v(e),t.inputError=null}catch(n){t.inputColor=null,t.inputError=n}}),$(()=>[d.value,t.pipes,t.inputColor],()=>{let e;try{let n=t.inputColor;for(const{name:o,options:a}of t.pipes){const l=d.value.find(c=>c.meta.name===o);l&&(e=o,n=l.handle(n,a))}t.output=i(n),t.errorPipe=""}catch(n){t.error=n,t.errorPipe=e}});function s(e){try{return`background-color: ${P(v(e))}`}catch{return null}}function i(e){return{Hex:e&&P(e),RGBA:e&&I(e),HSLA:e&&T(e)}}return(e,n)=>(g(),b("div",null,[n[5]||(n[5]=u("h1",null,"Color Pipes",-1)),u("section",q,[u("div",R,[n[3]||(n[3]=u("label",null,"Input",-1)),u("div",J,[S(u("input",{class:E(["form-input flex-1",{"bg-red-300":t.inputError}]),"onUpdate:modelValue":n[0]||(n[0]=o=>t.input=o)},null,2),[[L,t.input]]),u("div",{class:"w-8 h-8 ml-2 border border-gray-400",style:y(s(t.input))},null,4)])]),u("div",K,[n[4]||(n[4]=u("label",null,"Output",-1)),(g(!0),b(H,null,O(t.output,(o,a)=>(g(),b("div",{class:"flex items-center",key:a},[u("div",{class:"w-16 text-gray-600",textContent:k(a)},null,8,Q),u("input",{class:"form-input flex-1",readonly:"",value:o,onClick:n[1]||(n[1]=l=>l.target.select())},null,8,X),u("div",{class:"w-8 h-8 ml-2 border border-gray-400",style:y({background:o})},null,4)]))),128))])]),V(j(D),{pipeList:d.value,errorPipe:t.errorPipe,modelValue:t.pipes,"onUpdate:modelValue":n[2]||(n[2]=o=>t.pipes=o)},null,8,["pipeList","errorPipe","modelValue"])]))}}),et=Object.freeze(Object.defineProperty({__proto__:null,default:Z},Symbol.toStringTag,{value:"Module"}));export{et as c,v as p}; diff --git a/_nuxt/REfpicIH.js b/_nuxt/nS3f7xyi.js similarity index 99% rename from _nuxt/REfpicIH.js rename to _nuxt/nS3f7xyi.js index 12de0fb..cdad4b4 100644 --- a/_nuxt/REfpicIH.js +++ b/_nuxt/nS3f7xyi.js @@ -1,4 +1,4 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./D-Aql_Dh.js","./DfM6GND9.js","./CtpBSylq.js","./GXkZsuqV.js","./D67-esAi.js","./BosuxZz1.js","./mbYHt68G.js","./XZTC74h3.js","./BCaMp3bi.js","./BpZpca6S.js","./Dus1neJF.js","./DrrwUJS6.js","./SECIy35Z.js","./error-404.D976_BRZ.css","./B5g4fLGF.js","./error-500.C8SmBk1H.css"])))=>i.map(i=>d[i]); +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./lew6nU2b.js","./O4-S8BdF.js","./BniBMG3L.js","./9lCGaPH-.js","./BrYKVF9Y.js","./BosuxZz1.js","./mbYHt68G.js","./CLsFmO2Q.js","./DJgra3d3.js","./bgPPq78w.js","./BpOF_EeM.js","./BMjrzEGi.js","./Dx4me579.js","./error-404.D976_BRZ.css","./Bbk5JhsW.js","./error-500.C8SmBk1H.css"])))=>i.map(i=>d[i]); /** * @vue/shared v3.5.12 * (c) 2018-present Yuxi (Evan) You and Vue contributors @@ -20,6 +20,6 @@ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./D-Aql_Dh.js","./DfM6 * vue-router v4.4.5 * (c) 2024 Eduardo San Martin Morote * @license MIT - */const tn=typeof document<"u";function hc(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Bp(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&hc(e.default)}const ie=Object.assign;function hs(e,t){const n={};for(const r in t){const s=t[r];n[r]=tt(s)?s.map(e):e(s)}return n}const Ln=()=>{},tt=Array.isArray,pc=/#/g,Up=/&/g,Vp=/\//g,Wp=/=/g,Kp=/\?/g,gc=/\+/g,qp=/%5B/g,Gp=/%5D/g,mc=/%5E/g,Jp=/%60/g,yc=/%7B/g,Qp=/%7C/g,_c=/%7D/g,zp=/%20/g;function So(e){return encodeURI(""+e).replace(Qp,"|").replace(qp,"[").replace(Gp,"]")}function Yp(e){return So(e).replace(yc,"{").replace(_c,"}").replace(mc,"^")}function Gs(e){return So(e).replace(gc,"%2B").replace(zp,"+").replace(pc,"%23").replace(Up,"%26").replace(Jp,"`").replace(yc,"{").replace(_c,"}").replace(mc,"^")}function Xp(e){return Gs(e).replace(Wp,"%3D")}function Zp(e){return So(e).replace(pc,"%23").replace(Kp,"%3F")}function eg(e){return e==null?"":Zp(e).replace(Vp,"%2F")}function Vn(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const tg=/\/$/,ng=e=>e.replace(tg,"");function ps(e,t,n="/"){let r,s={},o="",i="";const l=t.indexOf("#");let a=t.indexOf("?");return l=0&&(a=-1),a>-1&&(r=t.slice(0,a),o=t.slice(a+1,l>-1?l:t.length),s=e(o)),l>-1&&(r=r||t.slice(0,l),i=t.slice(l,t.length)),r=ig(r??t,n),{fullPath:r+(o&&"?")+o+i,path:r,query:s,hash:Vn(i)}}function rg(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Ii(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function sg(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&_n(t.matched[r],n.matched[s])&&vc(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function _n(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function vc(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!og(e[n],t[n]))return!1;return!0}function og(e,t){return tt(e)?$i(e,t):tt(t)?$i(t,e):e===t}function $i(e,t){return tt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function ig(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let o=n.length-1,i,l;for(i=0;i1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(i).join("/")}const ze={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Wn;(function(e){e.pop="pop",e.push="push"})(Wn||(Wn={}));var In;(function(e){e.back="back",e.forward="forward",e.unknown=""})(In||(In={}));function lg(e){if(!e)if(tn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),ng(e)}const ag=/^[^#]+#/;function cg(e,t){return e.replace(ag,"#")+t}function fg(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const Qr=()=>({left:window.scrollX,top:window.scrollY});function ug(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=fg(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Ni(e,t){return(history.state?history.state.position-t:-1)+e}const Js=new Map;function dg(e,t){Js.set(e,t)}function hg(e){const t=Js.get(e);return Js.delete(e),t}let pg=()=>location.protocol+"//"+location.host;function bc(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let l=s.includes(e.slice(o))?e.slice(o).length:1,a=s.slice(l);return a[0]!=="/"&&(a="/"+a),Ii(a,"")}return Ii(n,e)+r+s}function gg(e,t,n,r){let s=[],o=[],i=null;const l=({state:d})=>{const h=bc(e,location),_=n.value,v=t.value;let k=0;if(d){if(n.value=h,t.value=d,i&&i===_){i=null;return}k=v?d.position-v.position:0}else r(h);s.forEach(C=>{C(n.value,_,{delta:k,type:Wn.pop,direction:k?k>0?In.forward:In.back:In.unknown})})};function a(){i=n.value}function f(d){s.push(d);const h=()=>{const _=s.indexOf(d);_>-1&&s.splice(_,1)};return o.push(h),h}function c(){const{history:d}=window;d.state&&d.replaceState(ie({},d.state,{scroll:Qr()}),"")}function u(){for(const d of o)d();o=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",c,{passive:!0}),{pauseListeners:a,listen:f,destroy:u}}function ji(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?Qr():null}}function mg(e){const{history:t,location:n}=window,r={value:bc(e,n)},s={value:t.state};s.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(a,f,c){const u=e.indexOf("#"),d=u>-1?(n.host&&document.querySelector("base")?e:e.slice(u))+a:pg()+e+a;try{t[c?"replaceState":"pushState"](f,"",d),s.value=f}catch(h){console.error(h),n[c?"replace":"assign"](d)}}function i(a,f){const c=ie({},t.state,ji(s.value.back,a,s.value.forward,!0),f,{position:s.value.position});o(a,c,!0),r.value=a}function l(a,f){const c=ie({},s.value,t.state,{forward:a,scroll:Qr()});o(c.current,c,!0);const u=ie({},ji(r.value,a,null),{position:c.position+1},f);o(a,u,!1),r.value=a}return{location:r,state:s,push:l,replace:i}}function wc(e){e=lg(e);const t=mg(e),n=gg(e,t.state,t.location,t.replace);function r(o,i=!0){i||n.pauseListeners(),history.go(o)}const s=ie({location:"",base:e,go:r,createHref:cg.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function yg(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),wc(e)}function _g(e){return typeof e=="string"||e&&typeof e=="object"}function Ec(e){return typeof e=="string"||typeof e=="symbol"}const Cc=Symbol("");var Fi;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Fi||(Fi={}));function vn(e,t){return ie(new Error,{type:e,[Cc]:!0},t)}function ct(e,t){return e instanceof Error&&Cc in e&&(t==null||!!(e.type&t))}const Di="[^/]+?",vg={sensitive:!1,strict:!1,start:!0,end:!0},bg=/[.+*?^${}()[\]/\\]/g;function wg(e,t){const n=ie({},vg,t),r=[];let s=n.start?"^":"";const o=[];for(const f of e){const c=f.length?[]:[90];n.strict&&!f.length&&(s+="/");for(let u=0;ut.length?t.length===1&&t[0]===80?1:-1:0}function Tc(e,t){let n=0;const r=e.score,s=t.score;for(;n0&&t[t.length-1]<0}const Cg={type:0,value:""},Tg=/[a-zA-Z0-9_]/;function Rg(e){if(!e)return[[]];if(e==="/")return[[Cg]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${f}": ${h}`)}let n=0,r=n;const s=[];let o;function i(){o&&s.push(o),o=[]}let l=0,a,f="",c="";function u(){f&&(n===0?o.push({type:0,value:f}):n===1||n===2||n===3?(o.length>1&&(a==="*"||a==="+")&&t(`A repeatable param (${f}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:f,regexp:c,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):t("Invalid state to consume buffer"),f="")}function d(){f+=a}for(;l{i(g)}:Ln}function i(u){if(Ec(u)){const d=r.get(u);d&&(r.delete(u),n.splice(n.indexOf(d),1),d.children.forEach(i),d.alias.forEach(i))}else{const d=n.indexOf(u);d>-1&&(n.splice(d,1),u.record.name&&r.delete(u.record.name),u.children.forEach(i),u.alias.forEach(i))}}function l(){return n}function a(u){const d=Ag(u,n);n.splice(d,0,u),u.record.name&&!Wi(u)&&r.set(u.record.name,u)}function f(u,d){let h,_={},v,k;if("name"in u&&u.name){if(h=r.get(u.name),!h)throw vn(1,{location:u});k=h.record.name,_=ie(Ui(d.params,h.keys.filter(g=>!g.optional).concat(h.parent?h.parent.keys.filter(g=>g.optional):[]).map(g=>g.name)),u.params&&Ui(u.params,h.keys.map(g=>g.name))),v=h.stringify(_)}else if(u.path!=null)v=u.path,h=n.find(g=>g.re.test(v)),h&&(_=h.parse(v),k=h.record.name);else{if(h=d.name?r.get(d.name):n.find(g=>g.re.test(d.path)),!h)throw vn(1,{location:u,currentLocation:d});k=h.record.name,_=ie({},d.params,u.params),v=h.stringify(_)}const C=[];let E=h;for(;E;)C.unshift(E.record),E=E.parent;return{name:k,path:v,params:_,matched:C,meta:Pg(C)}}e.forEach(u=>o(u));function c(){n.length=0,r.clear()}return{addRoute:o,resolve:f,removeRoute:i,clearRoutes:c,getRoutes:l,getRecordMatcher:s}}function Ui(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Vi(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:kg(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function kg(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function Wi(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Pg(e){return e.reduce((t,n)=>ie(t,n.meta),{})}function Ki(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function Ag(e,t){let n=0,r=t.length;for(;n!==r;){const o=n+r>>1;Tc(e,t[o])<0?r=o:n=o+1}const s=Og(e);return s&&(r=t.lastIndexOf(s,r-1)),r}function Og(e){let t=e;for(;t=t.parent;)if(Rc(t)&&Tc(e,t)===0)return t}function Rc({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Mg(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;so&&Gs(o)):[r&&Gs(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function Hg(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=tt(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const Lg=Symbol(""),Gi=Symbol(""),xo=Symbol(""),ko=Symbol(""),Qs=Symbol("");function Sn(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function St(e,t,n,r,s,o=i=>i()){const i=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((l,a)=>{const f=d=>{d===!1?a(vn(4,{from:n,to:t})):d instanceof Error?a(d):_g(d)?a(vn(2,{from:t,to:d})):(i&&r.enterCallbacks[s]===i&&typeof d=="function"&&i.push(d),l())},c=o(()=>e.call(r&&r.instances[s],t,n,f));let u=Promise.resolve(c);e.length<3&&(u=u.then(f)),u.catch(d=>a(d))})}function gs(e,t,n,r,s=o=>o()){const o=[];for(const i of e)for(const l in i.components){let a=i.components[l];if(!(t!=="beforeRouteEnter"&&!i.instances[l]))if(hc(a)){const c=(a.__vccOpts||a)[t];c&&o.push(St(c,n,r,i,l,s))}else{let f=a();o.push(()=>f.then(c=>{if(!c)throw new Error(`Couldn't resolve component "${l}" at "${i.path}"`);const u=Bp(c)?c.default:c;i.mods[l]=c,i.components[l]=u;const h=(u.__vccOpts||u)[t];return h&&St(h,n,r,i,l,s)()}))}}return o}function Ji(e){const t=Pe(xo),n=Pe(ko),r=Ke(()=>{const a=ue(e.to);return t.resolve(a)}),s=Ke(()=>{const{matched:a}=r.value,{length:f}=a,c=a[f-1],u=n.matched;if(!c||!u.length)return-1;const d=u.findIndex(_n.bind(null,c));if(d>-1)return d;const h=Qi(a[f-2]);return f>1&&Qi(c)===h&&u[u.length-1].path!==h?u.findIndex(_n.bind(null,a[f-2])):d}),o=Ke(()=>s.value>-1&&jg(n.params,r.value.params)),i=Ke(()=>s.value>-1&&s.value===n.matched.length-1&&vc(n.params,r.value.params));function l(a={}){return Ng(a)?t[ue(e.replace)?"replace":"push"](ue(e.to)).catch(Ln):Promise.resolve()}return{route:r,href:Ke(()=>r.value.href),isActive:o,isExactActive:i,navigate:l}}const Ig=Nt({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Ji,setup(e,{slots:t}){const n=$t(Ji(e)),{options:r}=Pe(xo),s=Ke(()=>({[zi(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[zi(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:Le("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),$g=Ig;function Ng(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function jg(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!tt(s)||s.length!==r.length||r.some((o,i)=>o!==s[i]))return!1}return!0}function Qi(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const zi=(e,t,n)=>e??t??n,Fg=Nt({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Pe(Qs),s=Ke(()=>e.route||r.value),o=Pe(Gi,0),i=Ke(()=>{let f=ue(o);const{matched:c}=s.value;let u;for(;(u=c[f])&&!u.components;)f++;return f}),l=Ke(()=>s.value.matched[i.value]);qt(Gi,Ke(()=>i.value+1)),qt(Lg,l),qt(Qs,s);const a=gt();return fn(()=>[a.value,l.value,e.name],([f,c,u],[d,h,_])=>{c&&(c.instances[u]=f,h&&h!==c&&f&&f===d&&(c.leaveGuards.size||(c.leaveGuards=h.leaveGuards),c.updateGuards.size||(c.updateGuards=h.updateGuards))),f&&c&&(!h||!_n(c,h)||!d)&&(c.enterCallbacks[u]||[]).forEach(v=>v(f))},{flush:"post"}),()=>{const f=s.value,c=e.name,u=l.value,d=u&&u.components[c];if(!d)return Yi(n.default,{Component:d,route:f});const h=u.props[c],_=h?h===!0?f.params:typeof h=="function"?h(f):h:null,k=Le(d,ie({},_,t,{onVnodeUnmounted:C=>{C.component.isUnmounted&&(u.instances[c]=null)},ref:a}));return Yi(n.default,{Component:k,route:f})||k}}});function Yi(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Sc=Fg;function Dg(e){const t=xg(e.routes,e),n=e.parseQuery||Mg,r=e.stringifyQuery||qi,s=e.history,o=Sn(),i=Sn(),l=Sn(),a=Fn(ze);let f=ze;tn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=hs.bind(null,R=>""+R),u=hs.bind(null,eg),d=hs.bind(null,Vn);function h(R,D){let j,W;return Ec(R)?(j=t.getRecordMatcher(R),W=D):W=R,t.addRoute(W,j)}function _(R){const D=t.getRecordMatcher(R);D&&t.removeRoute(D)}function v(){return t.getRoutes().map(R=>R.record)}function k(R){return!!t.getRecordMatcher(R)}function C(R,D){if(D=ie({},D||a.value),typeof R=="string"){const m=ps(n,R,D.path),b=t.resolve({path:m.path},D),x=s.createHref(m.fullPath);return ie(m,b,{params:d(b.params),hash:Vn(m.hash),redirectedFrom:void 0,href:x})}let j;if(R.path!=null)j=ie({},R,{path:ps(n,R.path,D.path).path});else{const m=ie({},R.params);for(const b in m)m[b]==null&&delete m[b];j=ie({},R,{params:u(m)}),D.params=u(D.params)}const W=t.resolve(j,D),re=R.hash||"";W.params=c(d(W.params));const de=rg(r,ie({},R,{hash:Yp(re),path:W.path})),p=s.createHref(de);return ie({fullPath:de,hash:re,query:r===qi?Hg(R.query):R.query||{}},W,{redirectedFrom:void 0,href:p})}function E(R){return typeof R=="string"?ps(n,R,a.value.path):ie({},R)}function g(R,D){if(f!==R)return vn(8,{from:D,to:R})}function y(R){return H(R)}function w(R){return y(ie(E(R),{replace:!0}))}function S(R){const D=R.matched[R.matched.length-1];if(D&&D.redirect){const{redirect:j}=D;let W=typeof j=="function"?j(R):j;return typeof W=="string"&&(W=W.includes("?")||W.includes("#")?W=E(W):{path:W},W.params={}),ie({query:R.query,hash:R.hash,params:W.path!=null?{}:R.params},W)}}function H(R,D){const j=f=C(R),W=a.value,re=R.state,de=R.force,p=R.replace===!0,m=S(j);if(m)return H(ie(E(m),{state:typeof m=="object"?ie({},re,m.state):re,force:de,replace:p}),D||j);const b=j;b.redirectedFrom=D;let x;return!de&&sg(r,W,j)&&(x=vn(16,{to:b,from:W}),nt(W,W,!0,!1)),(x?Promise.resolve(x):M(b,W)).catch(T=>ct(T)?ct(T,2)?T:vt(T):V(T,b,W)).then(T=>{if(T){if(ct(T,2))return H(ie({replace:p},E(T.to),{state:typeof T.to=="object"?ie({},re,T.to.state):re,force:de}),D||b)}else T=O(b,W,!0,p,re);return K(b,W,T),T})}function U(R,D){const j=g(R,D);return j?Promise.reject(j):Promise.resolve()}function L(R){const D=Yt.values().next().value;return D&&typeof D.runWithContext=="function"?D.runWithContext(R):R()}function M(R,D){let j;const[W,re,de]=Bg(R,D);j=gs(W.reverse(),"beforeRouteLeave",R,D);for(const m of W)m.leaveGuards.forEach(b=>{j.push(St(b,R,D))});const p=U.bind(null,R,D);return j.push(p),Be(j).then(()=>{j=[];for(const m of o.list())j.push(St(m,R,D));return j.push(p),Be(j)}).then(()=>{j=gs(re,"beforeRouteUpdate",R,D);for(const m of re)m.updateGuards.forEach(b=>{j.push(St(b,R,D))});return j.push(p),Be(j)}).then(()=>{j=[];for(const m of de)if(m.beforeEnter)if(tt(m.beforeEnter))for(const b of m.beforeEnter)j.push(St(b,R,D));else j.push(St(m.beforeEnter,R,D));return j.push(p),Be(j)}).then(()=>(R.matched.forEach(m=>m.enterCallbacks={}),j=gs(de,"beforeRouteEnter",R,D,L),j.push(p),Be(j))).then(()=>{j=[];for(const m of i.list())j.push(St(m,R,D));return j.push(p),Be(j)}).catch(m=>ct(m,8)?m:Promise.reject(m))}function K(R,D,j){l.list().forEach(W=>L(()=>W(R,D,j)))}function O(R,D,j,W,re){const de=g(R,D);if(de)return de;const p=D===ze,m=tn?history.state:{};j&&(W||p?s.replace(R.fullPath,ie({scroll:p&&m&&m.scroll},re)):s.push(R.fullPath,re)),a.value=R,nt(R,D,j,p),vt()}let q;function Z(){q||(q=s.listen((R,D,j)=>{if(!Yn.listening)return;const W=C(R),re=S(W);if(re){H(ie(re,{replace:!0}),W).catch(Ln);return}f=W;const de=a.value;tn&&dg(Ni(de.fullPath,j.delta),Qr()),M(W,de).catch(p=>ct(p,12)?p:ct(p,2)?(H(p.to,W).then(m=>{ct(m,20)&&!j.delta&&j.type===Wn.pop&&s.go(-1,!1)}).catch(Ln),Promise.reject()):(j.delta&&s.go(-j.delta,!1),V(p,W,de))).then(p=>{p=p||O(W,de,!1),p&&(j.delta&&!ct(p,8)?s.go(-j.delta,!1):j.type===Wn.pop&&ct(p,20)&&s.go(-1,!1)),K(W,de,p)}).catch(Ln)}))}let le=Sn(),B=Sn(),X;function V(R,D,j){vt(R);const W=B.list();return W.length?W.forEach(re=>re(R,D,j)):console.error(R),Promise.reject(R)}function ye(){return X&&a.value!==ze?Promise.resolve():new Promise((R,D)=>{le.add([R,D])})}function vt(R){return X||(X=!R,Z(),le.list().forEach(([D,j])=>R?j(R):D()),le.reset()),R}function nt(R,D,j,W){const{scrollBehavior:re}=e;if(!tn||!re)return Promise.resolve();const de=!j&&hg(Ni(R.fullPath,0))||(W||!j)&&history.state&&history.state.scroll||null;return En().then(()=>re(R,D,de)).then(p=>p&&ug(p)).catch(p=>V(p,R,D))}const Ae=R=>s.go(R);let zt;const Yt=new Set,Yn={currentRoute:a,listening:!0,addRoute:h,removeRoute:_,clearRoutes:t.clearRoutes,hasRoute:k,getRoutes:v,resolve:C,options:e,push:y,replace:w,go:Ae,back:()=>Ae(-1),forward:()=>Ae(1),beforeEach:o.add,beforeResolve:i.add,afterEach:l.add,onError:B.add,isReady:ye,install(R){const D=this;R.component("RouterLink",$g),R.component("RouterView",Sc),R.config.globalProperties.$router=D,Object.defineProperty(R.config.globalProperties,"$route",{enumerable:!0,get:()=>ue(a)}),tn&&!zt&&a.value===ze&&(zt=!0,y(s.location).catch(re=>{}));const j={};for(const re in ze)Object.defineProperty(j,re,{get:()=>a.value[re],enumerable:!0});R.provide(xo,D),R.provide(ko,pt(j)),R.provide(Qs,a);const W=R.unmount;Yt.add(R),R.unmount=function(){Yt.delete(R),Yt.size<1&&(f=ze,q&&q(),q=null,a.value=ze,zt=!1,X=!1),W()}}};function Be(R){return R.reduce((D,j)=>D.then(()=>L(j)),Promise.resolve())}return Yn}function Bg(e,t){const n=[],r=[],s=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;i_n(f,l))?r.push(l):n.push(l));const a=e.matched[i];a&&(t.matched.find(f=>_n(f,a))||s.push(a))}return[n,r,s]}function Ug(e){return Pe(ko)}const Vg=(e,t)=>t.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>{var r;return((r=e.params[n.slice(1)])==null?void 0:r.toString())||""}),zs=(e,t)=>{const n=e.route.matched.find(s=>{var o;return((o=s.components)==null?void 0:o.default)===e.Component.type}),r=t??(n==null?void 0:n.meta.key)??(n&&Vg(e.route,n));return typeof r=="function"?r(e.route):r},Wg=(e,t)=>({default:()=>e?Le(Lf,e===!0?{}:e,t):t});function Po(e){return Array.isArray(e)?e:[e]}const Kg="modulepreload",qg=function(e,t){return new URL(e,t).href},Xi={},kt=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){const i=document.getElementsByTagName("link"),l=document.querySelector("meta[property=csp-nonce]"),a=(l==null?void 0:l.nonce)||(l==null?void 0:l.getAttribute("nonce"));s=Promise.allSettled(n.map(f=>{if(f=qg(f,r),f in Xi)return;Xi[f]=!0;const c=f.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(!!r)for(let _=i.length-1;_>=0;_--){const v=i[_];if(v.href===f&&(!c||v.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${f}"]${u}`))return;const h=document.createElement("link");if(h.rel=c?"stylesheet":Kg,c||(h.as="script"),h.crossOrigin="",h.href=f,a&&h.setAttribute("nonce",a),document.head.appendChild(h),c)return new Promise((_,v)=>{h.addEventListener("load",_),h.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${f}`)))})}))}function o(i){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=i,window.dispatchEvent(l),!l.defaultPrevented)throw i}return s.then(i=>{for(const l of i||[])l.status==="rejected"&&o(l.reason);return t().catch(o)})},ms=[{name:"color",path:"/color",component:()=>kt(()=>import("./D-Aql_Dh.js").then(e=>e.c),__vite__mapDeps([0,1]),import.meta.url)},{name:"index",path:"/",component:()=>kt(()=>import("./BYtN_xSz.js"),[],import.meta.url)},{name:"string",path:"/string",component:()=>kt(()=>import("./CtpBSylq.js"),__vite__mapDeps([2,1]),import.meta.url)},{name:"url-builder",path:"/url-builder",component:()=>kt(()=>import("./GXkZsuqV.js"),__vite__mapDeps([3,4,5,6,7]),import.meta.url)},{name:"vmess",path:"/vmess",component:()=>kt(()=>import("./BCaMp3bi.js"),__vite__mapDeps([8,4,5]),import.meta.url)}],xc=(e,t,n)=>(t=t===!0?{}:t,{default:()=>{var r;return t?Le(e,t,n):(r=n.default)==null?void 0:r.call(n)}});function Zi(e){const t=(e==null?void 0:e.meta.key)??e.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>{var r;return((r=e.params[n.slice(1)])==null?void 0:r.toString())||""});return typeof t=="function"?t(e):t}function Gg(e,t){return e===t||t===ze?!1:Zi(e)!==Zi(t)?!0:!e.matched.every((r,s)=>{var o,i;return r.components&&r.components.default===((i=(o=t.matched[s])==null?void 0:o.components)==null?void 0:i.default)})}const Jg={scrollBehavior(e,t,n){var f;const r=me(),s=((f=Ge().options)==null?void 0:f.scrollBehaviorType)??"auto";let o=n||void 0;const i=typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop;if(!o&&t&&e&&i!==!1&&Gg(e,t)&&(o={left:0,top:0}),e.path===t.path)return t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:el(e.hash),behavior:s}:!1;const l=c=>!!(c.meta.pageTransition??Ns),a=l(t)&&l(e)?"page:transition:finish":"page:finish";return new Promise(c=>{r.hooks.hookOnce(a,async()=>{await new Promise(u=>setTimeout(u,0)),e.hash&&(o={el:e.hash,top:el(e.hash),behavior:s}),c(o)})})}};function el(e){try{const t=document.querySelector(e);if(t)return(Number.parseFloat(getComputedStyle(t).scrollMarginTop)||0)+(Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0)}catch{}return 0}const Qg={hashMode:!1,scrollBehaviorType:"auto"},Ve={...Qg,...Jg},zg=async e=>{var a;let t,n;if(!((a=e.meta)!=null&&a.validate))return;const r=me(),s=Ge(),o=([t,n]=dn(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t);if(o===!0)return;const i=Gr({statusCode:o&&o.statusCode||404,statusMessage:o&&o.statusMessage||`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}}),l=s.beforeResolve(f=>{if(l(),f===e){const c=s.afterEach(async()=>{c(),await r.runWithContext(()=>rn(i)),window==null||window.history.pushState({},"",e.fullPath)});return!1}})},Yg=async e=>{let t,n;const r=([t,n]=dn(()=>Ro(e.path)),t=await t,n(),t);if(r.redirect)return Qt(r.redirect,{acceptRelative:!0})?(window.location.href=r.redirect,!1):r.redirect},Xg=[zg,Yg],$n={};function Zg(e,t,n){const{pathname:r,search:s,hash:o}=t,i=e.indexOf("#");if(i>-1){const f=o.includes(e.slice(i))?e.slice(i).length:1;let c=o.slice(f);return c[0]!=="/"&&(c="/"+c),vi(c,"")}const l=vi(r,e),a=!n||Bd(l,n,{trailingSlash:!0})?l:n;return a+(a.includes("?")?"":s)+o}const em=Je({name:"nuxt:router",enforce:"pre",async setup(e){var k;let t,n,r=Kr().app.baseURL;Ve.hashMode&&!r.includes("#")&&(r+="#");const s=((k=Ve.history)==null?void 0:k.call(Ve,r))??(Ve.hashMode?yg(r):wc(r)),o=Ve.routes?([t,n]=dn(()=>Ve.routes(ms)),t=await t,n(),t??ms):ms;let i;const l=Dg({...Ve,scrollBehavior:(C,E,g)=>{if(E===ze){i=g;return}if(Ve.scrollBehavior){if(l.options.scrollBehavior=Ve.scrollBehavior,"scrollRestoration"in window.history){const y=l.beforeEach(()=>{y(),window.history.scrollRestoration="manual"})}return Ve.scrollBehavior(C,ze,i||g)}},history:s,routes:o});"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(l);const a=Fn(l.currentRoute.value);l.afterEach((C,E)=>{a.value=E}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>a.value});const f=Zg(r,window.location,e.payload.path),c=Fn(l.currentRoute.value),u=()=>{c.value=l.currentRoute.value};e.hook("page:finish",u),l.afterEach((C,E)=>{var g,y,w,S;((y=(g=C.matched[0])==null?void 0:g.components)==null?void 0:y.default)===((S=(w=E.matched[0])==null?void 0:w.components)==null?void 0:S.default)&&u()});const d={};for(const C in c.value)Object.defineProperty(d,C,{get:()=>c.value[C],enumerable:!0});e._route=pt(d),e._middleware=e._middleware||{global:[],named:{}};const h=qr();l.afterEach(async(C,E,g)=>{delete e._processingMiddleware,!e.isHydrating&&h.value&&await e.runWithContext(Fh),g&&await e.callHook("page:loading:end"),C.matched.length===0&&await e.runWithContext(()=>rn(Ds({statusCode:404,fatal:!1,statusMessage:`Page not found: ${C.fullPath}`,data:{path:C.fullPath}})))});try{[t,n]=dn(()=>l.isReady()),await t,n()}catch(C){[t,n]=dn(()=>e.runWithContext(()=>rn(C))),await t,n()}const _=f!==l.currentRoute.value.fullPath?l.resolve(f):l.currentRoute.value;u();const v=e.payload.state._layout;return l.beforeEach(async(C,E)=>{var g;await e.callHook("page:loading:start"),C.meta=$t(C.meta),e.isHydrating&&v&&!Ot(C.meta.layout)&&(C.meta.layout=v),e._processingMiddleware=!0;{const y=new Set([...Xg,...e._middleware.global]);for(const w of C.matched){const S=w.meta.middleware;if(S)for(const H of Po(S))y.add(H)}{const w=await e.runWithContext(()=>Ro(C.path));if(w.appMiddleware)for(const S in w.appMiddleware)w.appMiddleware[S]?y.add(S):y.delete(S)}for(const w of y){const S=typeof w=="string"?e._middleware.named[w]||await((g=$n[w])==null?void 0:g.call($n).then(U=>U.default||U)):w;if(!S)throw new Error(`Unknown route middleware: '${w}'.`);const H=await e.runWithContext(()=>S(C,E));if(!e.payload.serverRendered&&e.isHydrating&&(H===!1||H instanceof Error)){const U=H||Ds({statusCode:404,statusMessage:`Page Not Found: ${f}`});return await e.runWithContext(()=>rn(U)),!1}if(H!==!0&&(H||H===!1))return H}}}),l.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")}),e.hooks.hookOnce("app:created",async()=>{try{"name"in _&&(_.name=void 0),await l.replace({..._,force:!0}),l.options.scrollBehavior=Ve.scrollBehavior}catch(C){await e.runWithContext(()=>rn(C))}}),{provide:{router:l}}}}),tl=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),qm=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Ao=e=>{const t=me();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{tl(()=>e())}):tl(()=>e())},tm=Je({name:"nuxt:payload",setup(e){Ge().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await Hi(t.path);r&&Object.assign(e.static.data,r.data)}),Ao(()=>{var t;e.hooks.hook("link:prefetch",async n=>{const{hostname:r}=new URL(n,window.location.href);r===window.location.hostname&&await Hi(n)}),((t=navigator.connection)==null?void 0:t.effectiveType)!=="slow-2g"&&setTimeout(Jr,1e3)})}}),nm=Je(()=>{const e=Ge();Ao(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),rm=Je(e=>{let t;async function n(){const r=await Jr();t&&clearTimeout(t),t=setTimeout(n,Ti);try{const s=await $fetch(Co("builds/latest.json")+`?${Date.now()}`);s.id!==r.id&&e.hooks.callHook("app:manifest:update",s)}catch{}}Ao(()=>{t=setTimeout(n,Ti)})});function sm(e={}){const t=e.path||window.location.pathname;let n={};try{n=Sr(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||(n==null?void 0:n.path)!==t||(n==null?void 0:n.expires){r.clear()}),e.hook("app:chunkError",({error:o})=>{r.add(o)});function s(o){const l="href"in o&&o.href[0]==="#"?n.app.baseURL+o.href:Eo(n.app.baseURL,o.fullPath);sm({path:l,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(s)}),t.onError((o,i)=>{r.has(o)&&s(i)})}}),im=Je({name:"nuxt:global-components"}),Pt={default:()=>kt(()=>import("./BpZpca6S.js"),__vite__mapDeps([9,10,7]),import.meta.url)},lm=Je({name:"nuxt:prefetch",setup(e){const t=Ge();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{var s;const r=(s=n==null?void 0:n.meta)==null?void 0:s.layout;r&&typeof Pt[r]=="function"&&await Pt[r]()})}),e.hooks.hook("link:prefetch",n=>{if(Qt(n))return;const r=t.resolve(n);if(!r)return;const s=r.meta.layout;let o=Po(r.meta.middleware);o=o.filter(i=>typeof i=="string");for(const i of o)typeof $n[i]=="function"&&$n[i]();s&&typeof Pt[s]=="function"&&Pt[s]()})}}),am=Je(e=>{{const t=new Promise((n,r)=>{const s=document.createElement("script");s.src="https://shy.gerald.win/ingress/a7a202a8-3266-4dbe-975e-373ee459c072/script.js",s.defer=!0,s.onload=()=>n(null),s.onerror=()=>r(),document.head.append(s)});e.hook("page:finish",async()=>{await t,window.Shynet.newPageLoad()})}}),cm="https://monika.gerald.top/log";function fm(e){const{message:t,c1:n,c2:r,c3:s}=e,o={pid:"transformers",code:"error",message:t||"",c1:n||"",c2:r||"",c3:s||"",url:window.location.href,time:Date.now()},i=Object.entries(o).map(([a,f])=>`${encodeURIComponent(a)}=${encodeURIComponent(f)}`).join("&"),l=new Image;l.src=`${cm}?${i}`}function um(e){return(e instanceof Error?`${e}`:JSON.stringify(e))||"no error"}function dm(e,t){setTimeout(fm,0,{...t,c1:um(e),c2:`${(e==null?void 0:e.stack)||""}`.slice(0,512)})}const hm=Je(e=>{e.vueApp.config.errorHandler=t=>{dm(t),console.error(t)}}),pm=Je(()=>{const e=document.createElement("div");e.innerHTML='',document.body.append(e)}),gm=[jp,Dp,em,tm,nm,rm,om,im,lm,am,hm,pm],mm=Nt({props:{vnode:{type:Object,required:!0},route:{type:Object,required:!0},vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(e){const t=e.renderKey,n=e.route,r={};for(const s in e.route)Object.defineProperty(r,s,{get:()=>t===e.renderKey?e.route[s]:n[s],enumerable:!0});return qt(zn,pt(r)),()=>Le(e.vnode,{ref:e.vnodeRef})}}),ym=Nt({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t,slots:n,expose:r}){const s=me(),o=gt(),i=Pe(zn,null);let l;r({pageRef:o});const a=Pe(ec,null);let f;const c=s.deferHydration();if(s.isHydrating){const u=s.hooks.hookOnce("app:error",c);Ge().beforeEach(u)}return e.pageKey&&fn(()=>e.pageKey,(u,d)=>{u!==d&&s.callHook("page:loading:start")}),()=>Le(Sc,{name:e.name,route:e.route,...t},{default:u=>{const d=vm(i,u.route,u.Component),h=i&&i.matched.length===u.route.matched.length;if(!u.Component){if(f&&!h)return f;c();return}if(f&&a&&!a.isCurrent(u.route))return f;if(d&&i&&(!a||a!=null&&a.isCurrent(i)))return h?f:null;const _=zs(u,e.pageKey);!s.isHydrating&&!bm(i,u.route,u.Component)&&l===_&&s.callHook("page:loading:end"),l=_;const v=!!(e.transition??u.route.meta.pageTransition??Ns),k=v&&_m([e.transition,u.route.meta.pageTransition,Ns,{onAfterLeave:()=>{s.callHook("page:transition:finish",u.Component)}}].filter(Boolean)),C=e.keepalive??u.route.meta.keepalive??vh;return f=xc(Pa,v&&k,Wg(C,Le(_o,{suspensible:!0,onPending:()=>s.callHook("page:start",u.Component),onResolve:()=>{En(()=>s.callHook("page:finish",u.Component).then(()=>s.callHook("page:loading:end")).finally(c))}},{default:()=>{const E=Le(mm,{key:_||void 0,vnode:n.default?Le(Ce,void 0,n.default(u)):u.Component,route:u.route,renderKey:_||void 0,trackRootNodes:v,vnodeRef:o});return C&&(E.type.name=u.Component.type.name||u.Component.type.__name||"RouteProvider"),E}}))).default(),f}})}});function _m(e){const t=e.map(n=>({...n,onAfterLeave:n.onAfterLeave?Po(n.onAfterLeave):void 0}));return Xa(...t)}function vm(e,t,n){if(!e)return!1;const r=t.matched.findIndex(s=>{var o;return((o=s.components)==null?void 0:o.default)===(n==null?void 0:n.type)});return!r||r===-1?!1:t.matched.slice(0,r).some((s,o)=>{var i,l,a;return((i=s.components)==null?void 0:i.default)!==((a=(l=e.matched[o])==null?void 0:l.components)==null?void 0:a.default)})||n&&zs({route:t,Component:n})!==zs({route:e,Component:n})}function bm(e,t,n){return e?t.matched.findIndex(s=>{var o;return((o=s.components)==null?void 0:o.default)===(n==null?void 0:n.type)})r.default||r);return()=>Le(n,e.layoutProps,t.slots)}}),Em=Nt({name:"NuxtLayout",inheritAttrs:!1,props:{name:{type:[String,Boolean,Object],default:null},fallback:{type:[String,Object],default:null}},setup(e,t){const n=me(),r=Pe(zn),s=r===To()?Ug():r,o=Ke(()=>{let a=ue(e.name)??s.meta.layout??"default";return a&&!(a in Pt)&&e.fallback&&(a=ue(e.fallback)),a}),i=gt();t.expose({layoutRef:i});const l=n.deferHydration();if(n.isHydrating){const a=n.hooks.hookOnce("app:error",l);Ge().beforeEach(a)}return()=>{const a=o.value&&o.value in Pt,f=s.meta.layoutTransition??_h;return xc(Pa,a&&f,{default:()=>Le(_o,{suspensible:!0,onResolve:()=>{En(l)}},{default:()=>Le(Cm,{layoutProps:Ea(t.attrs,{ref:i}),key:o.value||void 0,name:o.value,shouldProvide:!e.name,hasTransition:!!f},t.slots)})}).default()}}}),Cm=Nt({name:"NuxtLayoutProvider",inheritAttrs:!1,props:{name:{type:[String,Boolean]},layoutProps:{type:Object},hasTransition:{type:Boolean},shouldProvide:{type:Boolean}},setup(e,t){const n=e.name;return e.shouldProvide&&qt(ec,{isCurrent:r=>n===(r.meta.layout??"default")}),()=>{var r,s;return!n||typeof n=="string"&&!(n in Pt)?(s=(r=t.slots).default)==null?void 0:s.call(r):Le(wm,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}}}),Tm=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},Rm={};function Sm(e,t){const n=ym,r=Em;return We(),it(r,null,{default:ao(()=>[pe(n)]),_:1})}const xm=Tm(Rm,[["render",Sm]]),km={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error;n.stack&&n.stack.split(` + */const tn=typeof document<"u";function hc(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Bp(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&hc(e.default)}const ie=Object.assign;function hs(e,t){const n={};for(const r in t){const s=t[r];n[r]=tt(s)?s.map(e):e(s)}return n}const Ln=()=>{},tt=Array.isArray,pc=/#/g,Up=/&/g,Vp=/\//g,Wp=/=/g,Kp=/\?/g,gc=/\+/g,qp=/%5B/g,Gp=/%5D/g,mc=/%5E/g,Jp=/%60/g,yc=/%7B/g,Qp=/%7C/g,_c=/%7D/g,zp=/%20/g;function So(e){return encodeURI(""+e).replace(Qp,"|").replace(qp,"[").replace(Gp,"]")}function Yp(e){return So(e).replace(yc,"{").replace(_c,"}").replace(mc,"^")}function Gs(e){return So(e).replace(gc,"%2B").replace(zp,"+").replace(pc,"%23").replace(Up,"%26").replace(Jp,"`").replace(yc,"{").replace(_c,"}").replace(mc,"^")}function Xp(e){return Gs(e).replace(Wp,"%3D")}function Zp(e){return So(e).replace(pc,"%23").replace(Kp,"%3F")}function eg(e){return e==null?"":Zp(e).replace(Vp,"%2F")}function Vn(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const tg=/\/$/,ng=e=>e.replace(tg,"");function ps(e,t,n="/"){let r,s={},o="",i="";const l=t.indexOf("#");let a=t.indexOf("?");return l=0&&(a=-1),a>-1&&(r=t.slice(0,a),o=t.slice(a+1,l>-1?l:t.length),s=e(o)),l>-1&&(r=r||t.slice(0,l),i=t.slice(l,t.length)),r=ig(r??t,n),{fullPath:r+(o&&"?")+o+i,path:r,query:s,hash:Vn(i)}}function rg(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Ii(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function sg(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&_n(t.matched[r],n.matched[s])&&vc(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function _n(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function vc(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!og(e[n],t[n]))return!1;return!0}function og(e,t){return tt(e)?$i(e,t):tt(t)?$i(t,e):e===t}function $i(e,t){return tt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function ig(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let o=n.length-1,i,l;for(i=0;i1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(i).join("/")}const ze={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Wn;(function(e){e.pop="pop",e.push="push"})(Wn||(Wn={}));var In;(function(e){e.back="back",e.forward="forward",e.unknown=""})(In||(In={}));function lg(e){if(!e)if(tn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),ng(e)}const ag=/^[^#]+#/;function cg(e,t){return e.replace(ag,"#")+t}function fg(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const Qr=()=>({left:window.scrollX,top:window.scrollY});function ug(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=fg(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Ni(e,t){return(history.state?history.state.position-t:-1)+e}const Js=new Map;function dg(e,t){Js.set(e,t)}function hg(e){const t=Js.get(e);return Js.delete(e),t}let pg=()=>location.protocol+"//"+location.host;function bc(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let l=s.includes(e.slice(o))?e.slice(o).length:1,a=s.slice(l);return a[0]!=="/"&&(a="/"+a),Ii(a,"")}return Ii(n,e)+r+s}function gg(e,t,n,r){let s=[],o=[],i=null;const l=({state:d})=>{const h=bc(e,location),_=n.value,v=t.value;let k=0;if(d){if(n.value=h,t.value=d,i&&i===_){i=null;return}k=v?d.position-v.position:0}else r(h);s.forEach(C=>{C(n.value,_,{delta:k,type:Wn.pop,direction:k?k>0?In.forward:In.back:In.unknown})})};function a(){i=n.value}function f(d){s.push(d);const h=()=>{const _=s.indexOf(d);_>-1&&s.splice(_,1)};return o.push(h),h}function c(){const{history:d}=window;d.state&&d.replaceState(ie({},d.state,{scroll:Qr()}),"")}function u(){for(const d of o)d();o=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",c,{passive:!0}),{pauseListeners:a,listen:f,destroy:u}}function ji(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?Qr():null}}function mg(e){const{history:t,location:n}=window,r={value:bc(e,n)},s={value:t.state};s.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(a,f,c){const u=e.indexOf("#"),d=u>-1?(n.host&&document.querySelector("base")?e:e.slice(u))+a:pg()+e+a;try{t[c?"replaceState":"pushState"](f,"",d),s.value=f}catch(h){console.error(h),n[c?"replace":"assign"](d)}}function i(a,f){const c=ie({},t.state,ji(s.value.back,a,s.value.forward,!0),f,{position:s.value.position});o(a,c,!0),r.value=a}function l(a,f){const c=ie({},s.value,t.state,{forward:a,scroll:Qr()});o(c.current,c,!0);const u=ie({},ji(r.value,a,null),{position:c.position+1},f);o(a,u,!1),r.value=a}return{location:r,state:s,push:l,replace:i}}function wc(e){e=lg(e);const t=mg(e),n=gg(e,t.state,t.location,t.replace);function r(o,i=!0){i||n.pauseListeners(),history.go(o)}const s=ie({location:"",base:e,go:r,createHref:cg.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function yg(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),wc(e)}function _g(e){return typeof e=="string"||e&&typeof e=="object"}function Ec(e){return typeof e=="string"||typeof e=="symbol"}const Cc=Symbol("");var Fi;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Fi||(Fi={}));function vn(e,t){return ie(new Error,{type:e,[Cc]:!0},t)}function ct(e,t){return e instanceof Error&&Cc in e&&(t==null||!!(e.type&t))}const Di="[^/]+?",vg={sensitive:!1,strict:!1,start:!0,end:!0},bg=/[.+*?^${}()[\]/\\]/g;function wg(e,t){const n=ie({},vg,t),r=[];let s=n.start?"^":"";const o=[];for(const f of e){const c=f.length?[]:[90];n.strict&&!f.length&&(s+="/");for(let u=0;ut.length?t.length===1&&t[0]===80?1:-1:0}function Tc(e,t){let n=0;const r=e.score,s=t.score;for(;n0&&t[t.length-1]<0}const Cg={type:0,value:""},Tg=/[a-zA-Z0-9_]/;function Rg(e){if(!e)return[[]];if(e==="/")return[[Cg]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${f}": ${h}`)}let n=0,r=n;const s=[];let o;function i(){o&&s.push(o),o=[]}let l=0,a,f="",c="";function u(){f&&(n===0?o.push({type:0,value:f}):n===1||n===2||n===3?(o.length>1&&(a==="*"||a==="+")&&t(`A repeatable param (${f}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:f,regexp:c,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):t("Invalid state to consume buffer"),f="")}function d(){f+=a}for(;l{i(g)}:Ln}function i(u){if(Ec(u)){const d=r.get(u);d&&(r.delete(u),n.splice(n.indexOf(d),1),d.children.forEach(i),d.alias.forEach(i))}else{const d=n.indexOf(u);d>-1&&(n.splice(d,1),u.record.name&&r.delete(u.record.name),u.children.forEach(i),u.alias.forEach(i))}}function l(){return n}function a(u){const d=Ag(u,n);n.splice(d,0,u),u.record.name&&!Wi(u)&&r.set(u.record.name,u)}function f(u,d){let h,_={},v,k;if("name"in u&&u.name){if(h=r.get(u.name),!h)throw vn(1,{location:u});k=h.record.name,_=ie(Ui(d.params,h.keys.filter(g=>!g.optional).concat(h.parent?h.parent.keys.filter(g=>g.optional):[]).map(g=>g.name)),u.params&&Ui(u.params,h.keys.map(g=>g.name))),v=h.stringify(_)}else if(u.path!=null)v=u.path,h=n.find(g=>g.re.test(v)),h&&(_=h.parse(v),k=h.record.name);else{if(h=d.name?r.get(d.name):n.find(g=>g.re.test(d.path)),!h)throw vn(1,{location:u,currentLocation:d});k=h.record.name,_=ie({},d.params,u.params),v=h.stringify(_)}const C=[];let E=h;for(;E;)C.unshift(E.record),E=E.parent;return{name:k,path:v,params:_,matched:C,meta:Pg(C)}}e.forEach(u=>o(u));function c(){n.length=0,r.clear()}return{addRoute:o,resolve:f,removeRoute:i,clearRoutes:c,getRoutes:l,getRecordMatcher:s}}function Ui(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Vi(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:kg(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function kg(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function Wi(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Pg(e){return e.reduce((t,n)=>ie(t,n.meta),{})}function Ki(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function Ag(e,t){let n=0,r=t.length;for(;n!==r;){const o=n+r>>1;Tc(e,t[o])<0?r=o:n=o+1}const s=Og(e);return s&&(r=t.lastIndexOf(s,r-1)),r}function Og(e){let t=e;for(;t=t.parent;)if(Rc(t)&&Tc(e,t)===0)return t}function Rc({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Mg(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;so&&Gs(o)):[r&&Gs(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function Hg(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=tt(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const Lg=Symbol(""),Gi=Symbol(""),xo=Symbol(""),ko=Symbol(""),Qs=Symbol("");function Sn(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function St(e,t,n,r,s,o=i=>i()){const i=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((l,a)=>{const f=d=>{d===!1?a(vn(4,{from:n,to:t})):d instanceof Error?a(d):_g(d)?a(vn(2,{from:t,to:d})):(i&&r.enterCallbacks[s]===i&&typeof d=="function"&&i.push(d),l())},c=o(()=>e.call(r&&r.instances[s],t,n,f));let u=Promise.resolve(c);e.length<3&&(u=u.then(f)),u.catch(d=>a(d))})}function gs(e,t,n,r,s=o=>o()){const o=[];for(const i of e)for(const l in i.components){let a=i.components[l];if(!(t!=="beforeRouteEnter"&&!i.instances[l]))if(hc(a)){const c=(a.__vccOpts||a)[t];c&&o.push(St(c,n,r,i,l,s))}else{let f=a();o.push(()=>f.then(c=>{if(!c)throw new Error(`Couldn't resolve component "${l}" at "${i.path}"`);const u=Bp(c)?c.default:c;i.mods[l]=c,i.components[l]=u;const h=(u.__vccOpts||u)[t];return h&&St(h,n,r,i,l,s)()}))}}return o}function Ji(e){const t=Pe(xo),n=Pe(ko),r=Ke(()=>{const a=ue(e.to);return t.resolve(a)}),s=Ke(()=>{const{matched:a}=r.value,{length:f}=a,c=a[f-1],u=n.matched;if(!c||!u.length)return-1;const d=u.findIndex(_n.bind(null,c));if(d>-1)return d;const h=Qi(a[f-2]);return f>1&&Qi(c)===h&&u[u.length-1].path!==h?u.findIndex(_n.bind(null,a[f-2])):d}),o=Ke(()=>s.value>-1&&jg(n.params,r.value.params)),i=Ke(()=>s.value>-1&&s.value===n.matched.length-1&&vc(n.params,r.value.params));function l(a={}){return Ng(a)?t[ue(e.replace)?"replace":"push"](ue(e.to)).catch(Ln):Promise.resolve()}return{route:r,href:Ke(()=>r.value.href),isActive:o,isExactActive:i,navigate:l}}const Ig=Nt({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Ji,setup(e,{slots:t}){const n=$t(Ji(e)),{options:r}=Pe(xo),s=Ke(()=>({[zi(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[zi(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:Le("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),$g=Ig;function Ng(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function jg(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!tt(s)||s.length!==r.length||r.some((o,i)=>o!==s[i]))return!1}return!0}function Qi(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const zi=(e,t,n)=>e??t??n,Fg=Nt({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Pe(Qs),s=Ke(()=>e.route||r.value),o=Pe(Gi,0),i=Ke(()=>{let f=ue(o);const{matched:c}=s.value;let u;for(;(u=c[f])&&!u.components;)f++;return f}),l=Ke(()=>s.value.matched[i.value]);qt(Gi,Ke(()=>i.value+1)),qt(Lg,l),qt(Qs,s);const a=gt();return fn(()=>[a.value,l.value,e.name],([f,c,u],[d,h,_])=>{c&&(c.instances[u]=f,h&&h!==c&&f&&f===d&&(c.leaveGuards.size||(c.leaveGuards=h.leaveGuards),c.updateGuards.size||(c.updateGuards=h.updateGuards))),f&&c&&(!h||!_n(c,h)||!d)&&(c.enterCallbacks[u]||[]).forEach(v=>v(f))},{flush:"post"}),()=>{const f=s.value,c=e.name,u=l.value,d=u&&u.components[c];if(!d)return Yi(n.default,{Component:d,route:f});const h=u.props[c],_=h?h===!0?f.params:typeof h=="function"?h(f):h:null,k=Le(d,ie({},_,t,{onVnodeUnmounted:C=>{C.component.isUnmounted&&(u.instances[c]=null)},ref:a}));return Yi(n.default,{Component:k,route:f})||k}}});function Yi(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Sc=Fg;function Dg(e){const t=xg(e.routes,e),n=e.parseQuery||Mg,r=e.stringifyQuery||qi,s=e.history,o=Sn(),i=Sn(),l=Sn(),a=Fn(ze);let f=ze;tn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=hs.bind(null,R=>""+R),u=hs.bind(null,eg),d=hs.bind(null,Vn);function h(R,D){let j,W;return Ec(R)?(j=t.getRecordMatcher(R),W=D):W=R,t.addRoute(W,j)}function _(R){const D=t.getRecordMatcher(R);D&&t.removeRoute(D)}function v(){return t.getRoutes().map(R=>R.record)}function k(R){return!!t.getRecordMatcher(R)}function C(R,D){if(D=ie({},D||a.value),typeof R=="string"){const m=ps(n,R,D.path),b=t.resolve({path:m.path},D),x=s.createHref(m.fullPath);return ie(m,b,{params:d(b.params),hash:Vn(m.hash),redirectedFrom:void 0,href:x})}let j;if(R.path!=null)j=ie({},R,{path:ps(n,R.path,D.path).path});else{const m=ie({},R.params);for(const b in m)m[b]==null&&delete m[b];j=ie({},R,{params:u(m)}),D.params=u(D.params)}const W=t.resolve(j,D),re=R.hash||"";W.params=c(d(W.params));const de=rg(r,ie({},R,{hash:Yp(re),path:W.path})),p=s.createHref(de);return ie({fullPath:de,hash:re,query:r===qi?Hg(R.query):R.query||{}},W,{redirectedFrom:void 0,href:p})}function E(R){return typeof R=="string"?ps(n,R,a.value.path):ie({},R)}function g(R,D){if(f!==R)return vn(8,{from:D,to:R})}function y(R){return H(R)}function w(R){return y(ie(E(R),{replace:!0}))}function S(R){const D=R.matched[R.matched.length-1];if(D&&D.redirect){const{redirect:j}=D;let W=typeof j=="function"?j(R):j;return typeof W=="string"&&(W=W.includes("?")||W.includes("#")?W=E(W):{path:W},W.params={}),ie({query:R.query,hash:R.hash,params:W.path!=null?{}:R.params},W)}}function H(R,D){const j=f=C(R),W=a.value,re=R.state,de=R.force,p=R.replace===!0,m=S(j);if(m)return H(ie(E(m),{state:typeof m=="object"?ie({},re,m.state):re,force:de,replace:p}),D||j);const b=j;b.redirectedFrom=D;let x;return!de&&sg(r,W,j)&&(x=vn(16,{to:b,from:W}),nt(W,W,!0,!1)),(x?Promise.resolve(x):M(b,W)).catch(T=>ct(T)?ct(T,2)?T:vt(T):V(T,b,W)).then(T=>{if(T){if(ct(T,2))return H(ie({replace:p},E(T.to),{state:typeof T.to=="object"?ie({},re,T.to.state):re,force:de}),D||b)}else T=O(b,W,!0,p,re);return K(b,W,T),T})}function U(R,D){const j=g(R,D);return j?Promise.reject(j):Promise.resolve()}function L(R){const D=Yt.values().next().value;return D&&typeof D.runWithContext=="function"?D.runWithContext(R):R()}function M(R,D){let j;const[W,re,de]=Bg(R,D);j=gs(W.reverse(),"beforeRouteLeave",R,D);for(const m of W)m.leaveGuards.forEach(b=>{j.push(St(b,R,D))});const p=U.bind(null,R,D);return j.push(p),Be(j).then(()=>{j=[];for(const m of o.list())j.push(St(m,R,D));return j.push(p),Be(j)}).then(()=>{j=gs(re,"beforeRouteUpdate",R,D);for(const m of re)m.updateGuards.forEach(b=>{j.push(St(b,R,D))});return j.push(p),Be(j)}).then(()=>{j=[];for(const m of de)if(m.beforeEnter)if(tt(m.beforeEnter))for(const b of m.beforeEnter)j.push(St(b,R,D));else j.push(St(m.beforeEnter,R,D));return j.push(p),Be(j)}).then(()=>(R.matched.forEach(m=>m.enterCallbacks={}),j=gs(de,"beforeRouteEnter",R,D,L),j.push(p),Be(j))).then(()=>{j=[];for(const m of i.list())j.push(St(m,R,D));return j.push(p),Be(j)}).catch(m=>ct(m,8)?m:Promise.reject(m))}function K(R,D,j){l.list().forEach(W=>L(()=>W(R,D,j)))}function O(R,D,j,W,re){const de=g(R,D);if(de)return de;const p=D===ze,m=tn?history.state:{};j&&(W||p?s.replace(R.fullPath,ie({scroll:p&&m&&m.scroll},re)):s.push(R.fullPath,re)),a.value=R,nt(R,D,j,p),vt()}let q;function Z(){q||(q=s.listen((R,D,j)=>{if(!Yn.listening)return;const W=C(R),re=S(W);if(re){H(ie(re,{replace:!0}),W).catch(Ln);return}f=W;const de=a.value;tn&&dg(Ni(de.fullPath,j.delta),Qr()),M(W,de).catch(p=>ct(p,12)?p:ct(p,2)?(H(p.to,W).then(m=>{ct(m,20)&&!j.delta&&j.type===Wn.pop&&s.go(-1,!1)}).catch(Ln),Promise.reject()):(j.delta&&s.go(-j.delta,!1),V(p,W,de))).then(p=>{p=p||O(W,de,!1),p&&(j.delta&&!ct(p,8)?s.go(-j.delta,!1):j.type===Wn.pop&&ct(p,20)&&s.go(-1,!1)),K(W,de,p)}).catch(Ln)}))}let le=Sn(),B=Sn(),X;function V(R,D,j){vt(R);const W=B.list();return W.length?W.forEach(re=>re(R,D,j)):console.error(R),Promise.reject(R)}function ye(){return X&&a.value!==ze?Promise.resolve():new Promise((R,D)=>{le.add([R,D])})}function vt(R){return X||(X=!R,Z(),le.list().forEach(([D,j])=>R?j(R):D()),le.reset()),R}function nt(R,D,j,W){const{scrollBehavior:re}=e;if(!tn||!re)return Promise.resolve();const de=!j&&hg(Ni(R.fullPath,0))||(W||!j)&&history.state&&history.state.scroll||null;return En().then(()=>re(R,D,de)).then(p=>p&&ug(p)).catch(p=>V(p,R,D))}const Ae=R=>s.go(R);let zt;const Yt=new Set,Yn={currentRoute:a,listening:!0,addRoute:h,removeRoute:_,clearRoutes:t.clearRoutes,hasRoute:k,getRoutes:v,resolve:C,options:e,push:y,replace:w,go:Ae,back:()=>Ae(-1),forward:()=>Ae(1),beforeEach:o.add,beforeResolve:i.add,afterEach:l.add,onError:B.add,isReady:ye,install(R){const D=this;R.component("RouterLink",$g),R.component("RouterView",Sc),R.config.globalProperties.$router=D,Object.defineProperty(R.config.globalProperties,"$route",{enumerable:!0,get:()=>ue(a)}),tn&&!zt&&a.value===ze&&(zt=!0,y(s.location).catch(re=>{}));const j={};for(const re in ze)Object.defineProperty(j,re,{get:()=>a.value[re],enumerable:!0});R.provide(xo,D),R.provide(ko,pt(j)),R.provide(Qs,a);const W=R.unmount;Yt.add(R),R.unmount=function(){Yt.delete(R),Yt.size<1&&(f=ze,q&&q(),q=null,a.value=ze,zt=!1,X=!1),W()}}};function Be(R){return R.reduce((D,j)=>D.then(()=>L(j)),Promise.resolve())}return Yn}function Bg(e,t){const n=[],r=[],s=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;i_n(f,l))?r.push(l):n.push(l));const a=e.matched[i];a&&(t.matched.find(f=>_n(f,a))||s.push(a))}return[n,r,s]}function Ug(e){return Pe(ko)}const Vg=(e,t)=>t.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>{var r;return((r=e.params[n.slice(1)])==null?void 0:r.toString())||""}),zs=(e,t)=>{const n=e.route.matched.find(s=>{var o;return((o=s.components)==null?void 0:o.default)===e.Component.type}),r=t??(n==null?void 0:n.meta.key)??(n&&Vg(e.route,n));return typeof r=="function"?r(e.route):r},Wg=(e,t)=>({default:()=>e?Le(Lf,e===!0?{}:e,t):t});function Po(e){return Array.isArray(e)?e:[e]}const Kg="modulepreload",qg=function(e,t){return new URL(e,t).href},Xi={},kt=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){const i=document.getElementsByTagName("link"),l=document.querySelector("meta[property=csp-nonce]"),a=(l==null?void 0:l.nonce)||(l==null?void 0:l.getAttribute("nonce"));s=Promise.allSettled(n.map(f=>{if(f=qg(f,r),f in Xi)return;Xi[f]=!0;const c=f.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(!!r)for(let _=i.length-1;_>=0;_--){const v=i[_];if(v.href===f&&(!c||v.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${f}"]${u}`))return;const h=document.createElement("link");if(h.rel=c?"stylesheet":Kg,c||(h.as="script"),h.crossOrigin="",h.href=f,a&&h.setAttribute("nonce",a),document.head.appendChild(h),c)return new Promise((_,v)=>{h.addEventListener("load",_),h.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${f}`)))})}))}function o(i){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=i,window.dispatchEvent(l),!l.defaultPrevented)throw i}return s.then(i=>{for(const l of i||[])l.status==="rejected"&&o(l.reason);return t().catch(o)})},ms=[{name:"color",path:"/color",component:()=>kt(()=>import("./lew6nU2b.js").then(e=>e.c),__vite__mapDeps([0,1]),import.meta.url)},{name:"index",path:"/",component:()=>kt(()=>import("./DgEi93DL.js"),[],import.meta.url)},{name:"string",path:"/string",component:()=>kt(()=>import("./BniBMG3L.js"),__vite__mapDeps([2,1]),import.meta.url)},{name:"url-builder",path:"/url-builder",component:()=>kt(()=>import("./9lCGaPH-.js"),__vite__mapDeps([3,4,5,6,7]),import.meta.url)},{name:"vmess",path:"/vmess",component:()=>kt(()=>import("./DJgra3d3.js"),__vite__mapDeps([8,4,5]),import.meta.url)}],xc=(e,t,n)=>(t=t===!0?{}:t,{default:()=>{var r;return t?Le(e,t,n):(r=n.default)==null?void 0:r.call(n)}});function Zi(e){const t=(e==null?void 0:e.meta.key)??e.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>{var r;return((r=e.params[n.slice(1)])==null?void 0:r.toString())||""});return typeof t=="function"?t(e):t}function Gg(e,t){return e===t||t===ze?!1:Zi(e)!==Zi(t)?!0:!e.matched.every((r,s)=>{var o,i;return r.components&&r.components.default===((i=(o=t.matched[s])==null?void 0:o.components)==null?void 0:i.default)})}const Jg={scrollBehavior(e,t,n){var f;const r=me(),s=((f=Ge().options)==null?void 0:f.scrollBehaviorType)??"auto";let o=n||void 0;const i=typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop;if(!o&&t&&e&&i!==!1&&Gg(e,t)&&(o={left:0,top:0}),e.path===t.path)return t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:el(e.hash),behavior:s}:!1;const l=c=>!!(c.meta.pageTransition??Ns),a=l(t)&&l(e)?"page:transition:finish":"page:finish";return new Promise(c=>{r.hooks.hookOnce(a,async()=>{await new Promise(u=>setTimeout(u,0)),e.hash&&(o={el:e.hash,top:el(e.hash),behavior:s}),c(o)})})}};function el(e){try{const t=document.querySelector(e);if(t)return(Number.parseFloat(getComputedStyle(t).scrollMarginTop)||0)+(Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0)}catch{}return 0}const Qg={hashMode:!1,scrollBehaviorType:"auto"},Ve={...Qg,...Jg},zg=async e=>{var a;let t,n;if(!((a=e.meta)!=null&&a.validate))return;const r=me(),s=Ge(),o=([t,n]=dn(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t);if(o===!0)return;const i=Gr({statusCode:o&&o.statusCode||404,statusMessage:o&&o.statusMessage||`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}}),l=s.beforeResolve(f=>{if(l(),f===e){const c=s.afterEach(async()=>{c(),await r.runWithContext(()=>rn(i)),window==null||window.history.pushState({},"",e.fullPath)});return!1}})},Yg=async e=>{let t,n;const r=([t,n]=dn(()=>Ro(e.path)),t=await t,n(),t);if(r.redirect)return Qt(r.redirect,{acceptRelative:!0})?(window.location.href=r.redirect,!1):r.redirect},Xg=[zg,Yg],$n={};function Zg(e,t,n){const{pathname:r,search:s,hash:o}=t,i=e.indexOf("#");if(i>-1){const f=o.includes(e.slice(i))?e.slice(i).length:1;let c=o.slice(f);return c[0]!=="/"&&(c="/"+c),vi(c,"")}const l=vi(r,e),a=!n||Bd(l,n,{trailingSlash:!0})?l:n;return a+(a.includes("?")?"":s)+o}const em=Je({name:"nuxt:router",enforce:"pre",async setup(e){var k;let t,n,r=Kr().app.baseURL;Ve.hashMode&&!r.includes("#")&&(r+="#");const s=((k=Ve.history)==null?void 0:k.call(Ve,r))??(Ve.hashMode?yg(r):wc(r)),o=Ve.routes?([t,n]=dn(()=>Ve.routes(ms)),t=await t,n(),t??ms):ms;let i;const l=Dg({...Ve,scrollBehavior:(C,E,g)=>{if(E===ze){i=g;return}if(Ve.scrollBehavior){if(l.options.scrollBehavior=Ve.scrollBehavior,"scrollRestoration"in window.history){const y=l.beforeEach(()=>{y(),window.history.scrollRestoration="manual"})}return Ve.scrollBehavior(C,ze,i||g)}},history:s,routes:o});"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(l);const a=Fn(l.currentRoute.value);l.afterEach((C,E)=>{a.value=E}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>a.value});const f=Zg(r,window.location,e.payload.path),c=Fn(l.currentRoute.value),u=()=>{c.value=l.currentRoute.value};e.hook("page:finish",u),l.afterEach((C,E)=>{var g,y,w,S;((y=(g=C.matched[0])==null?void 0:g.components)==null?void 0:y.default)===((S=(w=E.matched[0])==null?void 0:w.components)==null?void 0:S.default)&&u()});const d={};for(const C in c.value)Object.defineProperty(d,C,{get:()=>c.value[C],enumerable:!0});e._route=pt(d),e._middleware=e._middleware||{global:[],named:{}};const h=qr();l.afterEach(async(C,E,g)=>{delete e._processingMiddleware,!e.isHydrating&&h.value&&await e.runWithContext(Fh),g&&await e.callHook("page:loading:end"),C.matched.length===0&&await e.runWithContext(()=>rn(Ds({statusCode:404,fatal:!1,statusMessage:`Page not found: ${C.fullPath}`,data:{path:C.fullPath}})))});try{[t,n]=dn(()=>l.isReady()),await t,n()}catch(C){[t,n]=dn(()=>e.runWithContext(()=>rn(C))),await t,n()}const _=f!==l.currentRoute.value.fullPath?l.resolve(f):l.currentRoute.value;u();const v=e.payload.state._layout;return l.beforeEach(async(C,E)=>{var g;await e.callHook("page:loading:start"),C.meta=$t(C.meta),e.isHydrating&&v&&!Ot(C.meta.layout)&&(C.meta.layout=v),e._processingMiddleware=!0;{const y=new Set([...Xg,...e._middleware.global]);for(const w of C.matched){const S=w.meta.middleware;if(S)for(const H of Po(S))y.add(H)}{const w=await e.runWithContext(()=>Ro(C.path));if(w.appMiddleware)for(const S in w.appMiddleware)w.appMiddleware[S]?y.add(S):y.delete(S)}for(const w of y){const S=typeof w=="string"?e._middleware.named[w]||await((g=$n[w])==null?void 0:g.call($n).then(U=>U.default||U)):w;if(!S)throw new Error(`Unknown route middleware: '${w}'.`);const H=await e.runWithContext(()=>S(C,E));if(!e.payload.serverRendered&&e.isHydrating&&(H===!1||H instanceof Error)){const U=H||Ds({statusCode:404,statusMessage:`Page Not Found: ${f}`});return await e.runWithContext(()=>rn(U)),!1}if(H!==!0&&(H||H===!1))return H}}}),l.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")}),e.hooks.hookOnce("app:created",async()=>{try{"name"in _&&(_.name=void 0),await l.replace({..._,force:!0}),l.options.scrollBehavior=Ve.scrollBehavior}catch(C){await e.runWithContext(()=>rn(C))}}),{provide:{router:l}}}}),tl=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),qm=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Ao=e=>{const t=me();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{tl(()=>e())}):tl(()=>e())},tm=Je({name:"nuxt:payload",setup(e){Ge().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await Hi(t.path);r&&Object.assign(e.static.data,r.data)}),Ao(()=>{var t;e.hooks.hook("link:prefetch",async n=>{const{hostname:r}=new URL(n,window.location.href);r===window.location.hostname&&await Hi(n)}),((t=navigator.connection)==null?void 0:t.effectiveType)!=="slow-2g"&&setTimeout(Jr,1e3)})}}),nm=Je(()=>{const e=Ge();Ao(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),rm=Je(e=>{let t;async function n(){const r=await Jr();t&&clearTimeout(t),t=setTimeout(n,Ti);try{const s=await $fetch(Co("builds/latest.json")+`?${Date.now()}`);s.id!==r.id&&e.hooks.callHook("app:manifest:update",s)}catch{}}Ao(()=>{t=setTimeout(n,Ti)})});function sm(e={}){const t=e.path||window.location.pathname;let n={};try{n=Sr(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||(n==null?void 0:n.path)!==t||(n==null?void 0:n.expires){r.clear()}),e.hook("app:chunkError",({error:o})=>{r.add(o)});function s(o){const l="href"in o&&o.href[0]==="#"?n.app.baseURL+o.href:Eo(n.app.baseURL,o.fullPath);sm({path:l,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(s)}),t.onError((o,i)=>{r.has(o)&&s(i)})}}),im=Je({name:"nuxt:global-components"}),Pt={default:()=>kt(()=>import("./bgPPq78w.js"),__vite__mapDeps([9,10,7]),import.meta.url)},lm=Je({name:"nuxt:prefetch",setup(e){const t=Ge();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{var s;const r=(s=n==null?void 0:n.meta)==null?void 0:s.layout;r&&typeof Pt[r]=="function"&&await Pt[r]()})}),e.hooks.hook("link:prefetch",n=>{if(Qt(n))return;const r=t.resolve(n);if(!r)return;const s=r.meta.layout;let o=Po(r.meta.middleware);o=o.filter(i=>typeof i=="string");for(const i of o)typeof $n[i]=="function"&&$n[i]();s&&typeof Pt[s]=="function"&&Pt[s]()})}}),am=Je(e=>{{const t=new Promise((n,r)=>{const s=document.createElement("script");s.src="https://shy.gerald.win/ingress/a7a202a8-3266-4dbe-975e-373ee459c072/script.js",s.defer=!0,s.onload=()=>n(null),s.onerror=()=>r(),document.head.append(s)});e.hook("page:finish",async()=>{await t,window.Shynet.newPageLoad()})}}),cm="https://monika.gerald.top/log";function fm(e){const{message:t,c1:n,c2:r,c3:s}=e,o={pid:"transformers",code:"error",message:t||"",c1:n||"",c2:r||"",c3:s||"",url:window.location.href,time:Date.now()},i=Object.entries(o).map(([a,f])=>`${encodeURIComponent(a)}=${encodeURIComponent(f)}`).join("&"),l=new Image;l.src=`${cm}?${i}`}function um(e){return(e instanceof Error?`${e}`:JSON.stringify(e))||"no error"}function dm(e,t){setTimeout(fm,0,{...t,c1:um(e),c2:`${(e==null?void 0:e.stack)||""}`.slice(0,512)})}const hm=Je(e=>{e.vueApp.config.errorHandler=t=>{dm(t),console.error(t)}}),pm=Je(()=>{const e=document.createElement("div");e.innerHTML='',document.body.append(e)}),gm=[jp,Dp,em,tm,nm,rm,om,im,lm,am,hm,pm],mm=Nt({props:{vnode:{type:Object,required:!0},route:{type:Object,required:!0},vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(e){const t=e.renderKey,n=e.route,r={};for(const s in e.route)Object.defineProperty(r,s,{get:()=>t===e.renderKey?e.route[s]:n[s],enumerable:!0});return qt(zn,pt(r)),()=>Le(e.vnode,{ref:e.vnodeRef})}}),ym=Nt({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t,slots:n,expose:r}){const s=me(),o=gt(),i=Pe(zn,null);let l;r({pageRef:o});const a=Pe(ec,null);let f;const c=s.deferHydration();if(s.isHydrating){const u=s.hooks.hookOnce("app:error",c);Ge().beforeEach(u)}return e.pageKey&&fn(()=>e.pageKey,(u,d)=>{u!==d&&s.callHook("page:loading:start")}),()=>Le(Sc,{name:e.name,route:e.route,...t},{default:u=>{const d=vm(i,u.route,u.Component),h=i&&i.matched.length===u.route.matched.length;if(!u.Component){if(f&&!h)return f;c();return}if(f&&a&&!a.isCurrent(u.route))return f;if(d&&i&&(!a||a!=null&&a.isCurrent(i)))return h?f:null;const _=zs(u,e.pageKey);!s.isHydrating&&!bm(i,u.route,u.Component)&&l===_&&s.callHook("page:loading:end"),l=_;const v=!!(e.transition??u.route.meta.pageTransition??Ns),k=v&&_m([e.transition,u.route.meta.pageTransition,Ns,{onAfterLeave:()=>{s.callHook("page:transition:finish",u.Component)}}].filter(Boolean)),C=e.keepalive??u.route.meta.keepalive??vh;return f=xc(Pa,v&&k,Wg(C,Le(_o,{suspensible:!0,onPending:()=>s.callHook("page:start",u.Component),onResolve:()=>{En(()=>s.callHook("page:finish",u.Component).then(()=>s.callHook("page:loading:end")).finally(c))}},{default:()=>{const E=Le(mm,{key:_||void 0,vnode:n.default?Le(Ce,void 0,n.default(u)):u.Component,route:u.route,renderKey:_||void 0,trackRootNodes:v,vnodeRef:o});return C&&(E.type.name=u.Component.type.name||u.Component.type.__name||"RouteProvider"),E}}))).default(),f}})}});function _m(e){const t=e.map(n=>({...n,onAfterLeave:n.onAfterLeave?Po(n.onAfterLeave):void 0}));return Xa(...t)}function vm(e,t,n){if(!e)return!1;const r=t.matched.findIndex(s=>{var o;return((o=s.components)==null?void 0:o.default)===(n==null?void 0:n.type)});return!r||r===-1?!1:t.matched.slice(0,r).some((s,o)=>{var i,l,a;return((i=s.components)==null?void 0:i.default)!==((a=(l=e.matched[o])==null?void 0:l.components)==null?void 0:a.default)})||n&&zs({route:t,Component:n})!==zs({route:e,Component:n})}function bm(e,t,n){return e?t.matched.findIndex(s=>{var o;return((o=s.components)==null?void 0:o.default)===(n==null?void 0:n.type)})r.default||r);return()=>Le(n,e.layoutProps,t.slots)}}),Em=Nt({name:"NuxtLayout",inheritAttrs:!1,props:{name:{type:[String,Boolean,Object],default:null},fallback:{type:[String,Object],default:null}},setup(e,t){const n=me(),r=Pe(zn),s=r===To()?Ug():r,o=Ke(()=>{let a=ue(e.name)??s.meta.layout??"default";return a&&!(a in Pt)&&e.fallback&&(a=ue(e.fallback)),a}),i=gt();t.expose({layoutRef:i});const l=n.deferHydration();if(n.isHydrating){const a=n.hooks.hookOnce("app:error",l);Ge().beforeEach(a)}return()=>{const a=o.value&&o.value in Pt,f=s.meta.layoutTransition??_h;return xc(Pa,a&&f,{default:()=>Le(_o,{suspensible:!0,onResolve:()=>{En(l)}},{default:()=>Le(Cm,{layoutProps:Ea(t.attrs,{ref:i}),key:o.value||void 0,name:o.value,shouldProvide:!e.name,hasTransition:!!f},t.slots)})}).default()}}}),Cm=Nt({name:"NuxtLayoutProvider",inheritAttrs:!1,props:{name:{type:[String,Boolean]},layoutProps:{type:Object},hasTransition:{type:Boolean},shouldProvide:{type:Boolean}},setup(e,t){const n=e.name;return e.shouldProvide&&qt(ec,{isCurrent:r=>n===(r.meta.layout??"default")}),()=>{var r,s;return!n||typeof n=="string"&&!(n in Pt)?(s=(r=t.slots).default)==null?void 0:s.call(r):Le(wm,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}}}),Tm=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},Rm={};function Sm(e,t){const n=ym,r=Em;return We(),it(r,null,{default:ao(()=>[pe(n)]),_:1})}const xm=Tm(Rm,[["render",Sm]]),km={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error;n.stack&&n.stack.split(` `).splice(1).map(u=>({text:u.replace("webpack:/","").replace(".vue",".js").trim(),internal:u.includes("node_modules")&&!u.includes(".cache")||u.includes("internal")||u.includes("new Promise")})).map(u=>`${u.text}`).join(` -`);const r=Number(n.statusCode||500),s=r===404,o=n.statusMessage??(s?"Page Not Found":"Internal Server Error"),i=n.message||n.toString(),l=void 0,c=s?Bo(()=>kt(()=>import("./DrrwUJS6.js"),__vite__mapDeps([11,10,12,13]),import.meta.url)):Bo(()=>kt(()=>import("./B5g4fLGF.js"),__vite__mapDeps([14,12,15]),import.meta.url));return(u,d)=>(We(),it(ue(c),jc(ba({statusCode:ue(r),statusMessage:ue(o),description:ue(i),stack:ue(l)})),null,16))}},Pm={key:0},nl={__name:"nuxt-root",setup(e){const t=()=>null,n=me(),r=n.deferHydration();if(n.isHydrating){const a=n.hooks.hookOnce("app:error",r);Ge().beforeEach(a)}const s=!1;qt(zn,To()),n.hooks.callHookWith(a=>a.map(f=>f()),"vue:setup");const o=qr(),i=!1;Wl((a,f,c)=>{if(n.hooks.callHook("vue:error",a,f,c).catch(u=>console.error("[nuxt] Error in `vue:error` hook",u)),Dh(a)&&(a.fatal||a.unhandled))return n.runWithContext(()=>rn(a)),!1});const l=!1;return(a,f)=>(We(),it(_o,{onResolve:ue(r)},{default:ao(()=>[ue(i)?(We(),Eu("div",Pm)):ue(o)?(We(),it(ue(km),{key:1,error:ue(o)},null,8,["error"])):ue(l)?(We(),it(ue(t),{key:2,context:ue(l)},null,8,["context"])):ue(s)?(We(),it(Vf(ue(s)),{key:3})):(We(),it(ue(xm),{key:4}))]),_:1},8,["onResolve"]))}};let rl;{let e;rl=async function(){var i,l;if(e)return e;const r=!!(((i=window.__NUXT__)==null?void 0:i.serverRendered)??((l=document.getElementById("__NUXT_DATA__"))==null?void 0:l.dataset.ssr)==="true")?ud(nl):fd(nl),s=Th({vueApp:r});async function o(a){await s.callHook("app:error",a),s.payload.error=s.payload.error||Gr(a)}r.config.errorHandler=o;try{await xh(s,gm)}catch(a){o(a)}try{await s.hooks.callHook("app:created",r),await s.hooks.callHook("app:beforeMount",r),r.mount(wh),await s.hooks.callHook("app:mounted",r),await En()}catch(a){o(a)}return r.config.errorHandler===o&&(r.config.errorHandler=void 0),r},e=rl().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{Ls as $,Um as A,Nm as B,Ke as C,Dm as D,Bm as E,Ce as F,Hm as G,Vl as H,it as I,Le as J,Lm as K,$m as L,Ge as M,me as N,Ao as O,tl as P,qm as Q,Om as R,kd as S,jm as T,Vm as U,Qt as V,jh as W,Eo as X,Wm as Y,Kr as Z,Tm as _,va as a,wo as a0,pe as b,Eu as c,wa as d,Im as e,Ws as f,fn as g,po as h,Km as i,$f as j,If as k,Jn as l,Nt as m,kt as n,We as o,$t as p,Am as q,gt as r,jr as s,Uc as t,Nr as u,Fm as v,ao as w,Mm as x,ue as y,uo as z}; +`);const r=Number(n.statusCode||500),s=r===404,o=n.statusMessage??(s?"Page Not Found":"Internal Server Error"),i=n.message||n.toString(),l=void 0,c=s?Bo(()=>kt(()=>import("./BMjrzEGi.js"),__vite__mapDeps([11,10,12,13]),import.meta.url)):Bo(()=>kt(()=>import("./Bbk5JhsW.js"),__vite__mapDeps([14,12,15]),import.meta.url));return(u,d)=>(We(),it(ue(c),jc(ba({statusCode:ue(r),statusMessage:ue(o),description:ue(i),stack:ue(l)})),null,16))}},Pm={key:0},nl={__name:"nuxt-root",setup(e){const t=()=>null,n=me(),r=n.deferHydration();if(n.isHydrating){const a=n.hooks.hookOnce("app:error",r);Ge().beforeEach(a)}const s=!1;qt(zn,To()),n.hooks.callHookWith(a=>a.map(f=>f()),"vue:setup");const o=qr(),i=!1;Wl((a,f,c)=>{if(n.hooks.callHook("vue:error",a,f,c).catch(u=>console.error("[nuxt] Error in `vue:error` hook",u)),Dh(a)&&(a.fatal||a.unhandled))return n.runWithContext(()=>rn(a)),!1});const l=!1;return(a,f)=>(We(),it(_o,{onResolve:ue(r)},{default:ao(()=>[ue(i)?(We(),Eu("div",Pm)):ue(o)?(We(),it(ue(km),{key:1,error:ue(o)},null,8,["error"])):ue(l)?(We(),it(ue(t),{key:2,context:ue(l)},null,8,["context"])):ue(s)?(We(),it(Vf(ue(s)),{key:3})):(We(),it(ue(xm),{key:4}))]),_:1},8,["onResolve"]))}};let rl;{let e;rl=async function(){var i,l;if(e)return e;const r=!!(((i=window.__NUXT__)==null?void 0:i.serverRendered)??((l=document.getElementById("__NUXT_DATA__"))==null?void 0:l.dataset.ssr)==="true")?ud(nl):fd(nl),s=Th({vueApp:r});async function o(a){await s.callHook("app:error",a),s.payload.error=s.payload.error||Gr(a)}r.config.errorHandler=o;try{await xh(s,gm)}catch(a){o(a)}try{await s.hooks.callHook("app:created",r),await s.hooks.callHook("app:beforeMount",r),r.mount(wh),await s.hooks.callHook("app:mounted",r),await En()}catch(a){o(a)}return r.config.errorHandler===o&&(r.config.errorHandler=void 0),r},e=rl().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{Ls as $,Um as A,Nm as B,Ke as C,Dm as D,Bm as E,Ce as F,Hm as G,Vl as H,it as I,Le as J,Lm as K,$m as L,Ge as M,me as N,Ao as O,tl as P,qm as Q,Om as R,kd as S,jm as T,Vm as U,Qt as V,jh as W,Eo as X,Wm as Y,Kr as Z,Tm as _,va as a,wo as a0,pe as b,Eu as c,wa as d,Im as e,Ws as f,fn as g,po as h,Km as i,$f as j,If as k,Jn as l,Nt as m,kt as n,We as o,$t as p,Am as q,gt as r,jr as s,Uc as t,Nr as u,Fm as v,ao as w,Mm as x,ue as y,uo as z}; diff --git a/color/index.html b/color/index.html index 69ed3ca..a2e1ce5 100644 --- a/color/index.html +++ b/color/index.html @@ -2,17 +2,17 @@ Transformers - - - - - - + + + + + + - - + + - + -
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/index.html b/index.html index ef0d101..2b64c86 100644 --- a/index.html +++ b/index.html @@ -2,17 +2,17 @@ Transformers - - - - - - + + + + + + - - + + - + -
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/string/index.html b/string/index.html index 27338d0..e0a7c92 100644 --- a/string/index.html +++ b/string/index.html @@ -2,17 +2,17 @@ Transformers - - - - - - + + + + + + - - + + - + -
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/url-builder/index.html b/url-builder/index.html index 27338d0..dece1e8 100644 --- a/url-builder/index.html +++ b/url-builder/index.html @@ -2,17 +2,17 @@ Transformers - - - - - - + + + + + + - - + + - + -
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/vmess/index.html b/vmess/index.html index 27338d0..dece1e8 100644 --- a/vmess/index.html +++ b/vmess/index.html @@ -2,17 +2,17 @@ Transformers - - - - - - + + + + + + - - + + - + -
- \ No newline at end of file +
+ \ No newline at end of file