import{d as rt,S as zi,V as Ki,W as wt,X as ut,M as Re,m as z0,l as mt,Y as ia,r as Ze,E as Yi,Z as K0,a as nt,w as St,j as Xi,N as Gt,_ as Qi,$ as Y0,K as X0,L as Q0,n as Ji,a0 as J0,e as ve,g as $t,f as Zi,G as Z0,x as sa,h as ec,F as es,D as tc,a1 as rc,p as Lr,P as nc,a2 as ac}from"./vue-10b4afc0.js";import{N as oc,a as ic,b as sc,c as cc,u as lc,d as uc,e as fc,f as dc,g as hc,h as re,i as xc,j as pc,k as nr,l as mc,m as gc,n as vc,o as Rr}from"./naive-ui-fedd20b1.js";import{i as Ec}from"./vueuse-motion-d4cdaf7b.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))n(o);new MutationObserver(o=>{for(const a of o)if(a.type==="childList")for(const i of a.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&n(i)}).observe(document,{childList:!0,subtree:!0});function r(o){const a={};return o.integrity&&(a.integrity=o.integrity),o.referrerPolicy&&(a.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?a.credentials="include":o.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function n(o){if(o.ep)return;o.ep=!0;const a=r(o);fetch(o.href,a)}})();const bc="modulepreload",Cc=function(e,t){return new URL(e,t).href},Wa={},Ie=function(t,r,n){if(!r||r.length===0)return t();const o=document.getElementsByTagName("link");return Promise.all(r.map(a=>{if(a=Cc(a,n),a in Wa)return;Wa[a]=!0;const i=a.endsWith(".css"),l=i?'[rel="stylesheet"]':"";if(!!n)for(let u=o.length-1;u>=0;u--){const h=o[u];if(h.href===a&&(!i||h.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${l}`))return;const c=document.createElement("link");if(c.rel=i?"stylesheet":bc,i||(c.as="script",c.crossOrigin=""),c.href=a,document.head.appendChild(c),i)return new Promise((u,h)=>{c.addEventListener("load",u),c.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${a}`)))})})).then(()=>t()).catch(a=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=a,window.dispatchEvent(i),!i.defaultPrevented)throw a})},_c=""+new URL("favicon-25a41591.ico",import.meta.url).href,yc=rt({__name:"index",setup(e){function t(){window.$loadingBar=lc(),window.$dialog=uc(),window.$message=fc(),window.$notification=dc()}const r=rt({name:"NaiveProviderContent",setup(){t()},render(){return mt("div")}});return(n,o)=>(zi(),Ki(Re(cc),null,{default:wt(()=>[ut(Re(sc),null,{default:wt(()=>[ut(Re(oc),null,{default:wt(()=>[ut(Re(ic),null,{default:wt(()=>[z0(n.$slots,"default"),ut(Re(r))]),_:3})]),_:3})]),_:3})]),_:3}))}}),Ut=/^[a-z0-9]+(-[a-z0-9]+)*$/,mr=(e,t,r,n="")=>{const o=e.split(":");if(e.slice(0,1)==="@"){if(o.length<2||o.length>3)return null;n=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const l=o.pop(),f=o.pop(),c={provider:o.length>0?o[0]:n,prefix:f,name:l};return t&&!ar(c)?null:c}const a=o[0],i=a.split("-");if(i.length>1){const l={provider:n,prefix:i.shift(),name:i.join("-")};return t&&!ar(l)?null:l}if(r&&n===""){const l={provider:n,prefix:"",name:a};return t&&!ar(l,r)?null:l}return null},ar=(e,t)=>e?!!((e.provider===""||e.provider.match(Ut))&&(t&&e.prefix===""||e.prefix.match(Ut))&&e.name.match(Ut)):!1,ts=Object.freeze({left:0,top:0,width:16,height:16}),fr=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),gr=Object.freeze({...ts,...fr}),Pn=Object.freeze({...gr,body:"",hidden:!1});function wc(e,t){const r={};!e.hFlip!=!t.hFlip&&(r.hFlip=!0),!e.vFlip!=!t.vFlip&&(r.vFlip=!0);const n=((e.rotate||0)+(t.rotate||0))%4;return n&&(r.rotate=n),r}function ja(e,t){const r=wc(e,t);for(const n in Pn)n in fr?n in e&&!(n in r)&&(r[n]=fr[n]):n in t?r[n]=t[n]:n in e&&(r[n]=e[n]);return r}function Ac(e,t){const r=e.icons,n=e.aliases||Object.create(null),o=Object.create(null);function a(i){if(r[i])return o[i]=[];if(!(i in o)){o[i]=null;const l=n[i]&&n[i].parent,f=l&&a(l);f&&(o[i]=[l].concat(f))}return o[i]}return(t||Object.keys(r).concat(Object.keys(n))).forEach(a),o}function Sc(e,t,r){const n=e.icons,o=e.aliases||Object.create(null);let a={};function i(l){a=ja(n[l]||o[l],a)}return i(t),r.forEach(i),ja(e,a)}function rs(e,t){const r=[];if(typeof e!="object"||typeof e.icons!="object")return r;e.not_found instanceof Array&&e.not_found.forEach(o=>{t(o,null),r.push(o)});const n=Ac(e);for(const o in n){const a=n[o];a&&(t(o,Sc(e,o,a)),r.push(o))}return r}const Dc={provider:"",aliases:{},not_found:{},...ts};function Nr(e,t){for(const r in t)if(r in e&&typeof e[r]!=typeof t[r])return!1;return!0}function ns(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!Nr(e,Dc))return null;const r=t.icons;for(const o in r){const a=r[o];if(!o.match(Ut)||typeof a.body!="string"||!Nr(a,Pn))return null}const n=t.aliases||Object.create(null);for(const o in n){const a=n[o],i=a.parent;if(!o.match(Ut)||typeof i!="string"||!r[i]&&!n[i]||!Nr(a,Pn))return null}return t}const Ga=Object.create(null);function Bc(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function gt(e,t){const r=Ga[e]||(Ga[e]=Object.create(null));return r[t]||(r[t]=Bc(e,t))}function ca(e,t){return ns(t)?rs(t,(r,n)=>{n?e.icons[r]=n:e.missing.add(r)}):[]}function Fc(e,t,r){try{if(typeof r.body=="string")return e.icons[t]={...r},!0}catch{}return!1}let Vt=!1;function as(e){return typeof e=="boolean"&&(Vt=e),Vt}function Pc(e){const t=typeof e=="string"?mr(e,!0,Vt):e;if(t){const r=gt(t.provider,t.prefix),n=t.name;return r.icons[n]||(r.missing.has(n)?null:void 0)}}function kc(e,t){const r=mr(e,!0,Vt);if(!r)return!1;const n=gt(r.provider,r.prefix);return Fc(n,r.name,t)}function Tc(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),Vt&&!t&&!e.prefix){let o=!1;return ns(e)&&(e.prefix="",rs(e,(a,i)=>{i&&kc(a,i)&&(o=!0)})),o}const r=e.prefix;if(!ar({provider:t,prefix:r,name:"a"}))return!1;const n=gt(t,r);return!!ca(n,e)}const os=Object.freeze({width:null,height:null}),is=Object.freeze({...os,...fr}),Ic=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Lc=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function $a(e,t,r){if(t===1)return e;if(r=r||100,typeof e=="number")return Math.ceil(e*t*r)/r;if(typeof e!="string")return e;const n=e.split(Ic);if(n===null||!n.length)return e;const o=[];let a=n.shift(),i=Lc.test(a);for(;;){if(i){const l=parseFloat(a);isNaN(l)?o.push(a):o.push(Math.ceil(l*t*r)/r)}else o.push(a);if(a=n.shift(),a===void 0)return o.join("");i=!i}}const Rc=e=>e==="unset"||e==="undefined"||e==="none";function Nc(e,t){const r={...gr,...e},n={...is,...t},o={left:r.left,top:r.top,width:r.width,height:r.height};let a=r.body;[r,n].forEach(x=>{const p=[],m=x.hFlip,E=x.vFlip;let g=x.rotate;m?E?g+=2:(p.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),p.push("scale(-1 1)"),o.top=o.left=0):E&&(p.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),p.push("scale(1 -1)"),o.top=o.left=0);let v;switch(g<0&&(g-=Math.floor(g/4)*4),g=g%4,g){case 1:v=o.height/2+o.top,p.unshift("rotate(90 "+v.toString()+" "+v.toString()+")");break;case 2:p.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:v=o.width/2+o.left,p.unshift("rotate(-90 "+v.toString()+" "+v.toString()+")");break}g%2===1&&(o.left!==o.top&&(v=o.left,o.left=o.top,o.top=v),o.width!==o.height&&(v=o.width,o.width=o.height,o.height=v)),p.length&&(a=''+a+"")});const i=n.width,l=n.height,f=o.width,c=o.height;let u,h;i===null?(h=l===null?"1em":l==="auto"?c:l,u=$a(h,f/c)):(u=i==="auto"?f:i,h=l===null?$a(u,c/f):l==="auto"?c:l);const s={},d=(x,p)=>{Rc(p)||(s[x]=p.toString())};return d("width",u),d("height",h),s.viewBox=o.left.toString()+" "+o.top.toString()+" "+f.toString()+" "+c.toString(),{attributes:s,body:a}}const Oc=/\sid="(\S+)"/g,Mc="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let Uc=0;function Hc(e,t=Mc){const r=[];let n;for(;n=Oc.exec(e);)r.push(n[1]);if(!r.length)return e;const o="suffix"+(Math.random()*16777216|Date.now()).toString(16);return r.forEach(a=>{const i=typeof t=="function"?t(a):t+(Uc++).toString(),l=a.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+l+')([")]|\\.[a-z])',"g"),"$1"+i+o+"$3")}),e=e.replace(new RegExp(o,"g"),""),e}const kn=Object.create(null);function Wc(e,t){kn[e]=t}function Tn(e){return kn[e]||kn[""]}function la(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const ua=Object.create(null),Rt=["https://api.simplesvg.com","https://api.unisvg.com"],or=[];for(;Rt.length>0;)Rt.length===1||Math.random()>.5?or.push(Rt.shift()):or.push(Rt.pop());ua[""]=la({resources:["https://api.iconify.design"].concat(or)});function jc(e,t){const r=la(t);return r===null?!1:(ua[e]=r,!0)}function fa(e){return ua[e]}const Gc=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let Va=Gc();function $c(e,t){const r=fa(e);if(!r)return 0;let n;if(!r.maxURL)n=0;else{let o=0;r.resources.forEach(i=>{o=Math.max(o,i.length)});const a=t+".json?icons=";n=r.maxURL-o-r.path.length-a.length}return n}function Vc(e){return e===404}const qc=(e,t,r)=>{const n=[],o=$c(e,t),a="icons";let i={type:a,provider:e,prefix:t,icons:[]},l=0;return r.forEach((f,c)=>{l+=f.length+1,l>=o&&c>0&&(n.push(i),i={type:a,provider:e,prefix:t,icons:[]},l=f.length),i.icons.push(f)}),n.push(i),n};function zc(e){if(typeof e=="string"){const t=fa(e);if(t)return t.path}return"/"}const Kc=(e,t,r)=>{if(!Va){r("abort",424);return}let n=zc(t.provider);switch(t.type){case"icons":{const a=t.prefix,l=t.icons.join(","),f=new URLSearchParams({icons:l});n+=a+".json?"+f.toString();break}case"custom":{const a=t.uri;n+=a.slice(0,1)==="/"?a.slice(1):a;break}default:r("abort",400);return}let o=503;Va(e+n).then(a=>{const i=a.status;if(i!==200){setTimeout(()=>{r(Vc(i)?"abort":"next",i)});return}return o=501,a.json()}).then(a=>{if(typeof a!="object"||a===null){setTimeout(()=>{a===404?r("abort",a):r("next",o)});return}setTimeout(()=>{r("success",a)})}).catch(()=>{r("next",o)})},Yc={prepare:qc,send:Kc};function Xc(e){const t={loaded:[],missing:[],pending:[]},r=Object.create(null);e.sort((o,a)=>o.provider!==a.provider?o.provider.localeCompare(a.provider):o.prefix!==a.prefix?o.prefix.localeCompare(a.prefix):o.name.localeCompare(a.name));let n={provider:"",prefix:"",name:""};return e.forEach(o=>{if(n.name===o.name&&n.prefix===o.prefix&&n.provider===o.provider)return;n=o;const a=o.provider,i=o.prefix,l=o.name,f=r[a]||(r[a]=Object.create(null)),c=f[i]||(f[i]=gt(a,i));let u;l in c.icons?u=t.loaded:i===""||c.missing.has(l)?u=t.missing:u=t.pending;const h={provider:a,prefix:i,name:l};u.push(h)}),t}function ss(e,t){e.forEach(r=>{const n=r.loaderCallbacks;n&&(r.loaderCallbacks=n.filter(o=>o.id!==t))})}function Qc(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let r=!1;const n=e.provider,o=e.prefix;t.forEach(a=>{const i=a.icons,l=i.pending.length;i.pending=i.pending.filter(f=>{if(f.prefix!==o)return!0;const c=f.name;if(e.icons[c])i.loaded.push({provider:n,prefix:o,name:c});else if(e.missing.has(c))i.missing.push({provider:n,prefix:o,name:c});else return r=!0,!0;return!1}),i.pending.length!==l&&(r||ss([e],a.id),a.callback(i.loaded.slice(0),i.missing.slice(0),i.pending.slice(0),a.abort))})}))}let Jc=0;function Zc(e,t,r){const n=Jc++,o=ss.bind(null,r,n);if(!t.pending.length)return o;const a={id:n,icons:t,callback:e,abort:o};return r.forEach(i=>{(i.loaderCallbacks||(i.loaderCallbacks=[])).push(a)}),o}function el(e,t=!0,r=!1){const n=[];return e.forEach(o=>{const a=typeof o=="string"?mr(o,t,r):o;a&&n.push(a)}),n}var tl={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function rl(e,t,r,n){const o=e.resources.length,a=e.random?Math.floor(Math.random()*o):e.index;let i;if(e.random){let _=e.resources.slice(0);for(i=[];_.length>1;){const A=Math.floor(Math.random()*_.length);i.push(_[A]),_=_.slice(0,A).concat(_.slice(A+1))}i=i.concat(_)}else i=e.resources.slice(a).concat(e.resources.slice(0,a));const l=Date.now();let f="pending",c=0,u,h=null,s=[],d=[];typeof n=="function"&&d.push(n);function x(){h&&(clearTimeout(h),h=null)}function p(){f==="pending"&&(f="aborted"),x(),s.forEach(_=>{_.status==="pending"&&(_.status="aborted")}),s=[]}function m(_,A){A&&(d=[]),typeof _=="function"&&d.push(_)}function E(){return{startTime:l,payload:t,status:f,queriesSent:c,queriesPending:s.length,subscribe:m,abort:p}}function g(){f="failed",d.forEach(_=>{_(void 0,u)})}function v(){s.forEach(_=>{_.status==="pending"&&(_.status="aborted")}),s=[]}function b(_,A,D){const B=A!=="success";switch(s=s.filter(S=>S!==_),f){case"pending":break;case"failed":if(B||!e.dataAfterTimeout)return;break;default:return}if(A==="abort"){u=D,g();return}if(B){u=D,s.length||(i.length?y():g());return}if(x(),v(),!e.random){const S=e.resources.indexOf(_.resource);S!==-1&&S!==e.index&&(e.index=S)}f="completed",d.forEach(S=>{S(D)})}function y(){if(f!=="pending")return;x();const _=i.shift();if(_===void 0){if(s.length){h=setTimeout(()=>{x(),f==="pending"&&(v(),g())},e.timeout);return}g();return}const A={status:"pending",resource:_,callback:(D,B)=>{b(A,D,B)}};s.push(A),c++,h=setTimeout(y,e.rotate),r(_,t,A.callback)}return setTimeout(y),E}function cs(e){const t={...tl,...e};let r=[];function n(){r=r.filter(l=>l().status==="pending")}function o(l,f,c){const u=rl(t,l,f,(h,s)=>{n(),c&&c(h,s)});return r.push(u),u}function a(l){return r.find(f=>l(f))||null}return{query:o,find:a,setIndex:l=>{t.index=l},getIndex:()=>t.index,cleanup:n}}function qa(){}const Or=Object.create(null);function nl(e){if(!Or[e]){const t=fa(e);if(!t)return;const r=cs(t),n={config:t,redundancy:r};Or[e]=n}return Or[e]}function al(e,t,r){let n,o;if(typeof e=="string"){const a=Tn(e);if(!a)return r(void 0,424),qa;o=a.send;const i=nl(e);i&&(n=i.redundancy)}else{const a=la(e);if(a){n=cs(a);const i=e.resources?e.resources[0]:"",l=Tn(i);l&&(o=l.send)}}return!n||!o?(r(void 0,424),qa):n.query(t,o,r)().abort}const za="iconify2",qt="iconify",ls=qt+"-count",Ka=qt+"-version",us=36e5,ol=168;function In(e,t){try{return e.getItem(t)}catch{}}function da(e,t,r){try{return e.setItem(t,r),!0}catch{}}function Ya(e,t){try{e.removeItem(t)}catch{}}function Ln(e,t){return da(e,ls,t.toString())}function Rn(e){return parseInt(In(e,ls))||0}const vr={local:!0,session:!0},fs={local:new Set,session:new Set};let ha=!1;function il(e){ha=e}let tr=typeof window>"u"?{}:window;function ds(e){const t=e+"Storage";try{if(tr&&tr[t]&&typeof tr[t].length=="number")return tr[t]}catch{}vr[e]=!1}function hs(e,t){const r=ds(e);if(!r)return;const n=In(r,Ka);if(n!==za){if(n){const l=Rn(r);for(let f=0;f{const f=qt+l.toString(),c=In(r,f);if(typeof c=="string"){try{const u=JSON.parse(c);if(typeof u=="object"&&typeof u.cached=="number"&&u.cached>o&&typeof u.provider=="string"&&typeof u.data=="object"&&typeof u.data.prefix=="string"&&t(u,l))return!0}catch{}Ya(r,f)}};let i=Rn(r);for(let l=i-1;l>=0;l--)a(l)||(l===i-1?(i--,Ln(r,i)):fs[e].add(l))}function xs(){if(!ha){il(!0);for(const e in vr)hs(e,t=>{const r=t.data,n=t.provider,o=r.prefix,a=gt(n,o);if(!ca(a,r).length)return!1;const i=r.lastModified||-1;return a.lastModifiedCached=a.lastModifiedCached?Math.min(a.lastModifiedCached,i):i,!0})}}function sl(e,t){const r=e.lastModifiedCached;if(r&&r>=t)return r===t;if(e.lastModifiedCached=t,r)for(const n in vr)hs(n,o=>{const a=o.data;return o.provider!==e.provider||a.prefix!==e.prefix||a.lastModified===t});return!0}function cl(e,t){ha||xs();function r(n){let o;if(!vr[n]||!(o=ds(n)))return;const a=fs[n];let i;if(a.size)a.delete(i=Array.from(a).shift());else if(i=Rn(o),!Ln(o,i+1))return;const l={cached:Math.floor(Date.now()/us),provider:e.provider,data:t};return da(o,qt+i.toString(),JSON.stringify(l))}t.lastModified&&!sl(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),r("local")||r("session"))}function Xa(){}function ll(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,Qc(e)}))}function ul(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:r,prefix:n}=e,o=e.iconsToLoad;delete e.iconsToLoad;let a;if(!o||!(a=Tn(r)))return;a.prepare(r,n,o).forEach(l=>{al(r,l,f=>{if(typeof f!="object")l.icons.forEach(c=>{e.missing.add(c)});else try{const c=ca(e,f);if(!c.length)return;const u=e.pendingIcons;u&&c.forEach(h=>{u.delete(h)}),cl(e,f)}catch(c){console.error(c)}ll(e)})})}))}const fl=(e,t)=>{const r=el(e,!0,as()),n=Xc(r);if(!n.pending.length){let f=!0;return t&&setTimeout(()=>{f&&t(n.loaded,n.missing,n.pending,Xa)}),()=>{f=!1}}const o=Object.create(null),a=[];let i,l;return n.pending.forEach(f=>{const{provider:c,prefix:u}=f;if(u===l&&c===i)return;i=c,l=u,a.push(gt(c,u));const h=o[c]||(o[c]=Object.create(null));h[u]||(h[u]=[])}),n.pending.forEach(f=>{const{provider:c,prefix:u,name:h}=f,s=gt(c,u),d=s.pendingIcons||(s.pendingIcons=new Set);d.has(h)||(d.add(h),o[c][u].push(h))}),a.forEach(f=>{const{provider:c,prefix:u}=f;o[c][u].length&&ul(f,o[c][u])}),t?Zc(t,n,a):Xa};function dl(e,t){const r={...e};for(const n in t){const o=t[n],a=typeof o;n in os?(o===null||o&&(a==="string"||a==="number"))&&(r[n]=o):a===typeof r[n]&&(r[n]=n==="rotate"?o%4:o)}return r}const hl=/[\s,]+/;function xl(e,t){t.split(hl).forEach(r=>{switch(r.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function pl(e,t=0){const r=e.replace(/^-?[0-9.]*/,"");function n(o){for(;o<0;)o+=4;return o%4}if(r===""){const o=parseInt(e);return isNaN(o)?0:n(o)}else if(r!==e){let o=0;switch(r){case"%":o=25;break;case"deg":o=90}if(o){let a=parseFloat(e.slice(0,e.length-r.length));return isNaN(a)?0:(a=a/o,a%1===0?n(a):0)}}return t}function ml(e,t){let r=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const n in t)r+=" "+n+'="'+t[n]+'"';return'"+e+""}function gl(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(//g,"%3E").replace(/\s+/g," ")}function vl(e){return"data:image/svg+xml,"+gl(e)}function El(e){return'url("'+vl(e)+'")'}const Qa={...is,inline:!1},bl={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},Cl={display:"inline-block"},Nn={backgroundColor:"currentColor"},ps={backgroundColor:"transparent"},Ja={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Za={webkitMask:Nn,mask:Nn,background:ps};for(const e in Za){const t=Za[e];for(const r in Ja)t[e+r]=Ja[r]}const ir={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";ir[e+"-flip"]=t,ir[e.slice(0,1)+"-flip"]=t,ir[e+"Flip"]=t});function eo(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const to=(e,t)=>{const r=dl(Qa,t),n={...bl},o=t.mode||"svg",a={},i=t.style,l=typeof i=="object"&&!(i instanceof Array)?i:{};for(let p in t){const m=t[p];if(m!==void 0)switch(p){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":r[p]=m===!0||m==="true"||m===1;break;case"flip":typeof m=="string"&&xl(r,m);break;case"color":a.color=m;break;case"rotate":typeof m=="string"?r[p]=pl(m):typeof m=="number"&&(r[p]=m);break;case"ariaHidden":case"aria-hidden":m!==!0&&m!=="true"&&delete n["aria-hidden"];break;default:{const E=ir[p];E?(m===!0||m==="true"||m===1)&&(r[E]=!0):Qa[p]===void 0&&(n[p]=m)}}}const f=Nc(e,r),c=f.attributes;if(r.inline&&(a.verticalAlign="-0.125em"),o==="svg"){n.style={...a,...l},Object.assign(n,c);let p=0,m=t.id;return typeof m=="string"&&(m=m.replace(/-/g,"_")),n.innerHTML=Hc(f.body,m?()=>m+"ID"+p++:"iconifyVue"),mt("svg",n)}const{body:u,width:h,height:s}=e,d=o==="mask"||(o==="bg"?!1:u.indexOf("currentColor")!==-1),x=ml(u,{...c,width:h+"",height:s+""});return n.style={...a,"--svg":El(x),width:eo(c.width),height:eo(c.height),...Cl,...d?Nn:ps,...l},mt("span",n)};as(!0);Wc("",Yc);if(typeof document<"u"&&typeof window<"u"){xs();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,r="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(n=>{try{(typeof n!="object"||n===null||n instanceof Array||typeof n.icons!="object"||typeof n.prefix!="string"||!Tc(n))&&console.error(r)}catch{console.error(r)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let r in t){const n="IconifyProviders["+r+"] is invalid.";try{const o=t[r];if(typeof o!="object"||!o||o.resources===void 0)continue;jc(r,o)||console.error(n)}catch{console.error(n)}}}}const _l={...gr,body:""},sm=rt({inheritAttrs:!1,data(){return{iconMounted:!1,counter:0}},mounted(){this._name="",this._loadingIcon=null,this.iconMounted=!0},unmounted(){this.abortLoading()},methods:{abortLoading(){this._loadingIcon&&(this._loadingIcon.abort(),this._loadingIcon=null)},getIcon(e,t){if(typeof e=="object"&&e!==null&&typeof e.body=="string")return this._name="",this.abortLoading(),{data:e};let r;if(typeof e!="string"||(r=mr(e,!1,!0))===null)return this.abortLoading(),null;const n=Pc(r);if(!n)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",n!==null&&(this._loadingIcon={name:e,abort:fl([r],()=>{this.counter++})})),null;this.abortLoading(),this._name!==e&&(this._name=e,t&&t(e));const o=["iconify"];return r.prefix!==""&&o.push("iconify--"+r.prefix),r.provider!==""&&o.push("iconify--"+r.provider),{data:n,classes:o}}},render(){this.counter;const e=this.$attrs,t=this.iconMounted?this.getIcon(e.icon,e.onLoad):null;if(!t)return to(_l,e);let r=e;return t.classes&&(r={...e,class:(typeof e.class=="string"?e.class+" ":"")+t.classes.join(" ")}),to({...gr,...t.data},r)}});/*! * pinia v2.1.7 * (c) 2023 Eduardo San Martin Morote * @license MIT */let ms;const Er=e=>ms=e,gs=Symbol();function On(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Ht;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Ht||(Ht={}));function yl(){const e=ia(!0),t=e.run(()=>Ze({}));let r=[],n=[];const o=Yi({install(a){Er(o),o._a=a,a.provide(gs,o),a.config.globalProperties.$pinia=o,n.forEach(i=>r.push(i)),n=[]},use(a){return!this._a&&!Ec?n.push(a):r.push(a),this},_p:r,_a:null,_e:e,_s:new Map,state:t});return o}const vs=()=>{};function ro(e,t,r,n=vs){e.push(t);const o=()=>{const a=e.indexOf(t);a>-1&&(e.splice(a,1),n())};return!r&&X0()&&Q0(o),o}function Ct(e,...t){e.slice().forEach(r=>{r(...t)})}const wl=e=>e();function Mn(e,t){e instanceof Map&&t instanceof Map&&t.forEach((r,n)=>e.set(n,r)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const r in t){if(!t.hasOwnProperty(r))continue;const n=t[r],o=e[r];On(o)&&On(n)&&e.hasOwnProperty(r)&&!Gt(n)&&!Qi(n)?e[r]=Mn(o,n):e[r]=n}return e}const Al=Symbol();function Sl(e){return!On(e)||!e.hasOwnProperty(Al)}const{assign:ct}=Object;function Dl(e){return!!(Gt(e)&&e.effect)}function Bl(e,t,r,n){const{state:o,actions:a,getters:i}=t,l=r.state.value[e];let f;function c(){l||(r.state.value[e]=o?o():{});const u=J0(r.state.value[e]);return ct(u,a,Object.keys(i||{}).reduce((h,s)=>(h[s]=Yi(ve(()=>{Er(r);const d=r._s.get(e);return i[s].call(d,d)})),h),{}))}return f=Es(e,c,t,r,n,!0),f}function Es(e,t,r={},n,o,a){let i;const l=ct({actions:{}},r),f={deep:!0};let c,u,h=[],s=[],d;const x=n.state.value[e];!a&&!x&&(n.state.value[e]={}),Ze({});let p;function m(D){let B;c=u=!1,typeof D=="function"?(D(n.state.value[e]),B={type:Ht.patchFunction,storeId:e,events:d}):(Mn(n.state.value[e],D),B={type:Ht.patchObject,payload:D,storeId:e,events:d});const S=p=Symbol();Ji().then(()=>{p===S&&(c=!0)}),u=!0,Ct(h,B,n.state.value[e])}const E=a?function(){const{state:B}=r,S=B?B():{};this.$patch(P=>{ct(P,S)})}:vs;function g(){i.stop(),h=[],s=[],n._s.delete(e)}function v(D,B){return function(){Er(n);const S=Array.from(arguments),P=[],k=[];function I(q){P.push(q)}function K(q){k.push(q)}Ct(s,{args:S,name:D,store:y,after:I,onError:K});let Y;try{Y=B.apply(this&&this.$id===e?this:y,S)}catch(q){throw Ct(k,q),q}return Y instanceof Promise?Y.then(q=>(Ct(P,q),q)).catch(q=>(Ct(k,q),Promise.reject(q))):(Ct(P,Y),Y)}}const b={_p:n,$id:e,$onAction:ro.bind(null,s),$patch:m,$reset:E,$subscribe(D,B={}){const S=ro(h,D,B.detached,()=>P()),P=i.run(()=>St(()=>n.state.value[e],k=>{(B.flush==="sync"?u:c)&&D({storeId:e,type:Ht.direct,events:d},k)},ct({},f,B)));return S},$dispose:g},y=Xi(b);n._s.set(e,y);const A=(n._a&&n._a.runWithContext||wl)(()=>n._e.run(()=>(i=ia()).run(t)));for(const D in A){const B=A[D];if(Gt(B)&&!Dl(B)||Qi(B))a||(x&&Sl(B)&&(Gt(B)?B.value=x[D]:Mn(B,x[D])),n.state.value[e][D]=B);else if(typeof B=="function"){const S=v(D,B);A[D]=S,l.actions[D]=B}}return ct(y,A),ct(Y0(y),A),Object.defineProperty(y,"$state",{get:()=>n.state.value[e],set:D=>{m(B=>{ct(B,D)})}}),n._p.forEach(D=>{ct(y,i.run(()=>D({store:y,app:n._a,pinia:n,options:l})))}),x&&a&&r.hydrate&&r.hydrate(y.$state,x),c=!0,u=!0,y}function vt(e,t,r){let n,o;const a=typeof t=="function";typeof e=="string"?(n=e,o=a?r:t):(o=e,n=e.id);function i(l,f){const c=K0();return l=l||(c?nt(gs,null):null),l&&Er(l),l=ms,l._s.has(n)||(a?Es(n,t,o,l):Bl(n,o,l)),l._s.get(n)}return i.$id=n,i}var bs={exports:{}};function Fl(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Mr={exports:{}};const Pl={},kl=Object.freeze(Object.defineProperty({__proto__:null,default:Pl},Symbol.toStringTag,{value:"Module"})),Tl=hc(kl);var no;function fe(){return no||(no=1,function(e,t){(function(r,n){e.exports=n()})(re,function(){var r=r||function(n,o){var a;if(typeof window<"u"&&window.crypto&&(a=window.crypto),typeof self<"u"&&self.crypto&&(a=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(a=globalThis.crypto),!a&&typeof window<"u"&&window.msCrypto&&(a=window.msCrypto),!a&&typeof re<"u"&&re.crypto&&(a=re.crypto),!a&&typeof Fl=="function")try{a=Tl}catch{}var i=function(){if(a){if(typeof a.getRandomValues=="function")try{return a.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof a.randomBytes=="function")try{return a.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},l=Object.create||function(){function g(){}return function(v){var b;return g.prototype=v,b=new g,g.prototype=null,b}}(),f={},c=f.lib={},u=c.Base=function(){return{extend:function(g){var v=l(this);return g&&v.mixIn(g),(!v.hasOwnProperty("init")||this.init===v.init)&&(v.init=function(){v.$super.init.apply(this,arguments)}),v.init.prototype=v,v.$super=this,v},create:function(){var g=this.extend();return g.init.apply(g,arguments),g},init:function(){},mixIn:function(g){for(var v in g)g.hasOwnProperty(v)&&(this[v]=g[v]);g.hasOwnProperty("toString")&&(this.toString=g.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),h=c.WordArray=u.extend({init:function(g,v){g=this.words=g||[],v!=o?this.sigBytes=v:this.sigBytes=g.length*4},toString:function(g){return(g||d).stringify(this)},concat:function(g){var v=this.words,b=g.words,y=this.sigBytes,_=g.sigBytes;if(this.clamp(),y%4)for(var A=0;A<_;A++){var D=b[A>>>2]>>>24-A%4*8&255;v[y+A>>>2]|=D<<24-(y+A)%4*8}else for(var B=0;B<_;B+=4)v[y+B>>>2]=b[B>>>2];return this.sigBytes+=_,this},clamp:function(){var g=this.words,v=this.sigBytes;g[v>>>2]&=4294967295<<32-v%4*8,g.length=n.ceil(v/4)},clone:function(){var g=u.clone.call(this);return g.words=this.words.slice(0),g},random:function(g){for(var v=[],b=0;b>>2]>>>24-_%4*8&255;y.push((A>>>4).toString(16)),y.push((A&15).toString(16))}return y.join("")},parse:function(g){for(var v=g.length,b=[],y=0;y>>3]|=parseInt(g.substr(y,2),16)<<24-y%8*4;return new h.init(b,v/2)}},x=s.Latin1={stringify:function(g){for(var v=g.words,b=g.sigBytes,y=[],_=0;_>>2]>>>24-_%4*8&255;y.push(String.fromCharCode(A))}return y.join("")},parse:function(g){for(var v=g.length,b=[],y=0;y>>2]|=(g.charCodeAt(y)&255)<<24-y%4*8;return new h.init(b,v)}},p=s.Utf8={stringify:function(g){try{return decodeURIComponent(escape(x.stringify(g)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(g){return x.parse(unescape(encodeURIComponent(g)))}},m=c.BufferedBlockAlgorithm=u.extend({reset:function(){this._data=new h.init,this._nDataBytes=0},_append:function(g){typeof g=="string"&&(g=p.parse(g)),this._data.concat(g),this._nDataBytes+=g.sigBytes},_process:function(g){var v,b=this._data,y=b.words,_=b.sigBytes,A=this.blockSize,D=A*4,B=_/D;g?B=n.ceil(B):B=n.max((B|0)-this._minBufferSize,0);var S=B*A,P=n.min(S*4,_);if(S){for(var k=0;k>>2]|=f[h]<<24-h%4*8;i.call(this,u,c)}else i.apply(this,arguments)};l.prototype=a}}(),r.lib.WordArray})}(Hr)),Hr.exports}var Wr={exports:{}},io;function Ll(){return io||(io=1,function(e,t){(function(r,n){e.exports=n(fe())})(re,function(r){return function(){var n=r,o=n.lib,a=o.WordArray,i=n.enc;i.Utf16=i.Utf16BE={stringify:function(f){for(var c=f.words,u=f.sigBytes,h=[],s=0;s>>2]>>>16-s%4*8&65535;h.push(String.fromCharCode(d))}return h.join("")},parse:function(f){for(var c=f.length,u=[],h=0;h>>1]|=f.charCodeAt(h)<<16-h%2*16;return a.create(u,c*2)}},i.Utf16LE={stringify:function(f){for(var c=f.words,u=f.sigBytes,h=[],s=0;s>>2]>>>16-s%4*8&65535);h.push(String.fromCharCode(d))}return h.join("")},parse:function(f){for(var c=f.length,u=[],h=0;h>>1]|=l(f.charCodeAt(h)<<16-h%2*16);return a.create(u,c*2)}};function l(f){return f<<8&4278255360|f>>>8&16711935}}(),r.enc.Utf16})}(Wr)),Wr.exports}var jr={exports:{}},so;function Et(){return so||(so=1,function(e,t){(function(r,n){e.exports=n(fe())})(re,function(r){return function(){var n=r,o=n.lib,a=o.WordArray,i=n.enc;i.Base64={stringify:function(f){var c=f.words,u=f.sigBytes,h=this._map;f.clamp();for(var s=[],d=0;d>>2]>>>24-d%4*8&255,p=c[d+1>>>2]>>>24-(d+1)%4*8&255,m=c[d+2>>>2]>>>24-(d+2)%4*8&255,E=x<<16|p<<8|m,g=0;g<4&&d+g*.75>>6*(3-g)&63));var v=h.charAt(64);if(v)for(;s.length%4;)s.push(v);return s.join("")},parse:function(f){var c=f.length,u=this._map,h=this._reverseMap;if(!h){h=this._reverseMap=[];for(var s=0;s>>6-d%4*2,m=x|p;h[s>>>2]|=m<<24-s%4*8,s++}return a.create(h,s)}}(),r.enc.Base64})}(jr)),jr.exports}var Gr={exports:{}},co;function Rl(){return co||(co=1,function(e,t){(function(r,n){e.exports=n(fe())})(re,function(r){return function(){var n=r,o=n.lib,a=o.WordArray,i=n.enc;i.Base64url={stringify:function(f,c){c===void 0&&(c=!0);var u=f.words,h=f.sigBytes,s=c?this._safe_map:this._map;f.clamp();for(var d=[],x=0;x>>2]>>>24-x%4*8&255,m=u[x+1>>>2]>>>24-(x+1)%4*8&255,E=u[x+2>>>2]>>>24-(x+2)%4*8&255,g=p<<16|m<<8|E,v=0;v<4&&x+v*.75>>6*(3-v)&63));var b=s.charAt(64);if(b)for(;d.length%4;)d.push(b);return d.join("")},parse:function(f,c){c===void 0&&(c=!0);var u=f.length,h=c?this._safe_map:this._map,s=this._reverseMap;if(!s){s=this._reverseMap=[];for(var d=0;d>>6-d%4*2,m=x|p;h[s>>>2]|=m<<24-s%4*8,s++}return a.create(h,s)}}(),r.enc.Base64url})}(Gr)),Gr.exports}var $r={exports:{}},lo;function bt(){return lo||(lo=1,function(e,t){(function(r,n){e.exports=n(fe())})(re,function(r){return function(n){var o=r,a=o.lib,i=a.WordArray,l=a.Hasher,f=o.algo,c=[];(function(){for(var p=0;p<64;p++)c[p]=n.abs(n.sin(p+1))*4294967296|0})();var u=f.MD5=l.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(p,m){for(var E=0;E<16;E++){var g=m+E,v=p[g];p[g]=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360}var b=this._hash.words,y=p[m+0],_=p[m+1],A=p[m+2],D=p[m+3],B=p[m+4],S=p[m+5],P=p[m+6],k=p[m+7],I=p[m+8],K=p[m+9],Y=p[m+10],q=p[m+11],se=p[m+12],oe=p[m+13],ce=p[m+14],ae=p[m+15],L=b[0],U=b[1],W=b[2],N=b[3];L=h(L,U,W,N,y,7,c[0]),N=h(N,L,U,W,_,12,c[1]),W=h(W,N,L,U,A,17,c[2]),U=h(U,W,N,L,D,22,c[3]),L=h(L,U,W,N,B,7,c[4]),N=h(N,L,U,W,S,12,c[5]),W=h(W,N,L,U,P,17,c[6]),U=h(U,W,N,L,k,22,c[7]),L=h(L,U,W,N,I,7,c[8]),N=h(N,L,U,W,K,12,c[9]),W=h(W,N,L,U,Y,17,c[10]),U=h(U,W,N,L,q,22,c[11]),L=h(L,U,W,N,se,7,c[12]),N=h(N,L,U,W,oe,12,c[13]),W=h(W,N,L,U,ce,17,c[14]),U=h(U,W,N,L,ae,22,c[15]),L=s(L,U,W,N,_,5,c[16]),N=s(N,L,U,W,P,9,c[17]),W=s(W,N,L,U,q,14,c[18]),U=s(U,W,N,L,y,20,c[19]),L=s(L,U,W,N,S,5,c[20]),N=s(N,L,U,W,Y,9,c[21]),W=s(W,N,L,U,ae,14,c[22]),U=s(U,W,N,L,B,20,c[23]),L=s(L,U,W,N,K,5,c[24]),N=s(N,L,U,W,ce,9,c[25]),W=s(W,N,L,U,D,14,c[26]),U=s(U,W,N,L,I,20,c[27]),L=s(L,U,W,N,oe,5,c[28]),N=s(N,L,U,W,A,9,c[29]),W=s(W,N,L,U,k,14,c[30]),U=s(U,W,N,L,se,20,c[31]),L=d(L,U,W,N,S,4,c[32]),N=d(N,L,U,W,I,11,c[33]),W=d(W,N,L,U,q,16,c[34]),U=d(U,W,N,L,ce,23,c[35]),L=d(L,U,W,N,_,4,c[36]),N=d(N,L,U,W,B,11,c[37]),W=d(W,N,L,U,k,16,c[38]),U=d(U,W,N,L,Y,23,c[39]),L=d(L,U,W,N,oe,4,c[40]),N=d(N,L,U,W,y,11,c[41]),W=d(W,N,L,U,D,16,c[42]),U=d(U,W,N,L,P,23,c[43]),L=d(L,U,W,N,K,4,c[44]),N=d(N,L,U,W,se,11,c[45]),W=d(W,N,L,U,ae,16,c[46]),U=d(U,W,N,L,A,23,c[47]),L=x(L,U,W,N,y,6,c[48]),N=x(N,L,U,W,k,10,c[49]),W=x(W,N,L,U,ce,15,c[50]),U=x(U,W,N,L,S,21,c[51]),L=x(L,U,W,N,se,6,c[52]),N=x(N,L,U,W,D,10,c[53]),W=x(W,N,L,U,Y,15,c[54]),U=x(U,W,N,L,_,21,c[55]),L=x(L,U,W,N,I,6,c[56]),N=x(N,L,U,W,ae,10,c[57]),W=x(W,N,L,U,P,15,c[58]),U=x(U,W,N,L,oe,21,c[59]),L=x(L,U,W,N,B,6,c[60]),N=x(N,L,U,W,q,10,c[61]),W=x(W,N,L,U,A,15,c[62]),U=x(U,W,N,L,K,21,c[63]),b[0]=b[0]+L|0,b[1]=b[1]+U|0,b[2]=b[2]+W|0,b[3]=b[3]+N|0},_doFinalize:function(){var p=this._data,m=p.words,E=this._nDataBytes*8,g=p.sigBytes*8;m[g>>>5]|=128<<24-g%32;var v=n.floor(E/4294967296),b=E;m[(g+64>>>9<<4)+15]=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360,m[(g+64>>>9<<4)+14]=(b<<8|b>>>24)&16711935|(b<<24|b>>>8)&4278255360,p.sigBytes=(m.length+1)*4,this._process();for(var y=this._hash,_=y.words,A=0;A<4;A++){var D=_[A];_[A]=(D<<8|D>>>24)&16711935|(D<<24|D>>>8)&4278255360}return y},clone:function(){var p=l.clone.call(this);return p._hash=this._hash.clone(),p}});function h(p,m,E,g,v,b,y){var _=p+(m&E|~m&g)+v+y;return(_<>>32-b)+m}function s(p,m,E,g,v,b,y){var _=p+(m&g|E&~g)+v+y;return(_<>>32-b)+m}function d(p,m,E,g,v,b,y){var _=p+(m^E^g)+v+y;return(_<>>32-b)+m}function x(p,m,E,g,v,b,y){var _=p+(E^(m|~g))+v+y;return(_<>>32-b)+m}o.MD5=l._createHelper(u),o.HmacMD5=l._createHmacHelper(u)}(Math),r.MD5})}($r)),$r.exports}var Vr={exports:{}},uo;function Cs(){return uo||(uo=1,function(e,t){(function(r,n){e.exports=n(fe())})(re,function(r){return function(){var n=r,o=n.lib,a=o.WordArray,i=o.Hasher,l=n.algo,f=[],c=l.SHA1=i.extend({_doReset:function(){this._hash=new a.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(u,h){for(var s=this._hash.words,d=s[0],x=s[1],p=s[2],m=s[3],E=s[4],g=0;g<80;g++){if(g<16)f[g]=u[h+g]|0;else{var v=f[g-3]^f[g-8]^f[g-14]^f[g-16];f[g]=v<<1|v>>>31}var b=(d<<5|d>>>27)+E+f[g];g<20?b+=(x&p|~x&m)+1518500249:g<40?b+=(x^p^m)+1859775393:g<60?b+=(x&p|x&m|p&m)-1894007588:b+=(x^p^m)-899497514,E=m,m=p,p=x<<30|x>>>2,x=d,d=b}s[0]=s[0]+d|0,s[1]=s[1]+x|0,s[2]=s[2]+p|0,s[3]=s[3]+m|0,s[4]=s[4]+E|0},_doFinalize:function(){var u=this._data,h=u.words,s=this._nDataBytes*8,d=u.sigBytes*8;return h[d>>>5]|=128<<24-d%32,h[(d+64>>>9<<4)+14]=Math.floor(s/4294967296),h[(d+64>>>9<<4)+15]=s,u.sigBytes=h.length*4,this._process(),this._hash},clone:function(){var u=i.clone.call(this);return u._hash=this._hash.clone(),u}});n.SHA1=i._createHelper(c),n.HmacSHA1=i._createHmacHelper(c)}(),r.SHA1})}(Vr)),Vr.exports}var qr={exports:{}},fo;function xa(){return fo||(fo=1,function(e,t){(function(r,n){e.exports=n(fe())})(re,function(r){return function(n){var o=r,a=o.lib,i=a.WordArray,l=a.Hasher,f=o.algo,c=[],u=[];(function(){function d(E){for(var g=n.sqrt(E),v=2;v<=g;v++)if(!(E%v))return!1;return!0}function x(E){return(E-(E|0))*4294967296|0}for(var p=2,m=0;m<64;)d(p)&&(m<8&&(c[m]=x(n.pow(p,1/2))),u[m]=x(n.pow(p,1/3)),m++),p++})();var h=[],s=f.SHA256=l.extend({_doReset:function(){this._hash=new i.init(c.slice(0))},_doProcessBlock:function(d,x){for(var p=this._hash.words,m=p[0],E=p[1],g=p[2],v=p[3],b=p[4],y=p[5],_=p[6],A=p[7],D=0;D<64;D++){if(D<16)h[D]=d[x+D]|0;else{var B=h[D-15],S=(B<<25|B>>>7)^(B<<14|B>>>18)^B>>>3,P=h[D-2],k=(P<<15|P>>>17)^(P<<13|P>>>19)^P>>>10;h[D]=S+h[D-7]+k+h[D-16]}var I=b&y^~b&_,K=m&E^m&g^E&g,Y=(m<<30|m>>>2)^(m<<19|m>>>13)^(m<<10|m>>>22),q=(b<<26|b>>>6)^(b<<21|b>>>11)^(b<<7|b>>>25),se=A+q+I+u[D]+h[D],oe=Y+K;A=_,_=y,y=b,b=v+se|0,v=g,g=E,E=m,m=se+oe|0}p[0]=p[0]+m|0,p[1]=p[1]+E|0,p[2]=p[2]+g|0,p[3]=p[3]+v|0,p[4]=p[4]+b|0,p[5]=p[5]+y|0,p[6]=p[6]+_|0,p[7]=p[7]+A|0},_doFinalize:function(){var d=this._data,x=d.words,p=this._nDataBytes*8,m=d.sigBytes*8;return x[m>>>5]|=128<<24-m%32,x[(m+64>>>9<<4)+14]=n.floor(p/4294967296),x[(m+64>>>9<<4)+15]=p,d.sigBytes=x.length*4,this._process(),this._hash},clone:function(){var d=l.clone.call(this);return d._hash=this._hash.clone(),d}});o.SHA256=l._createHelper(s),o.HmacSHA256=l._createHmacHelper(s)}(Math),r.SHA256})}(qr)),qr.exports}var zr={exports:{}},ho;function Nl(){return ho||(ho=1,function(e,t){(function(r,n,o){e.exports=n(fe(),xa())})(re,function(r){return function(){var n=r,o=n.lib,a=o.WordArray,i=n.algo,l=i.SHA256,f=i.SHA224=l.extend({_doReset:function(){this._hash=new a.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var c=l._doFinalize.call(this);return c.sigBytes-=4,c}});n.SHA224=l._createHelper(f),n.HmacSHA224=l._createHmacHelper(f)}(),r.SHA224})}(zr)),zr.exports}var Kr={exports:{}},xo;function _s(){return xo||(xo=1,function(e,t){(function(r,n,o){e.exports=n(fe(),br())})(re,function(r){return function(){var n=r,o=n.lib,a=o.Hasher,i=n.x64,l=i.Word,f=i.WordArray,c=n.algo;function u(){return l.create.apply(l,arguments)}var h=[u(1116352408,3609767458),u(1899447441,602891725),u(3049323471,3964484399),u(3921009573,2173295548),u(961987163,4081628472),u(1508970993,3053834265),u(2453635748,2937671579),u(2870763221,3664609560),u(3624381080,2734883394),u(310598401,1164996542),u(607225278,1323610764),u(1426881987,3590304994),u(1925078388,4068182383),u(2162078206,991336113),u(2614888103,633803317),u(3248222580,3479774868),u(3835390401,2666613458),u(4022224774,944711139),u(264347078,2341262773),u(604807628,2007800933),u(770255983,1495990901),u(1249150122,1856431235),u(1555081692,3175218132),u(1996064986,2198950837),u(2554220882,3999719339),u(2821834349,766784016),u(2952996808,2566594879),u(3210313671,3203337956),u(3336571891,1034457026),u(3584528711,2466948901),u(113926993,3758326383),u(338241895,168717936),u(666307205,1188179964),u(773529912,1546045734),u(1294757372,1522805485),u(1396182291,2643833823),u(1695183700,2343527390),u(1986661051,1014477480),u(2177026350,1206759142),u(2456956037,344077627),u(2730485921,1290863460),u(2820302411,3158454273),u(3259730800,3505952657),u(3345764771,106217008),u(3516065817,3606008344),u(3600352804,1432725776),u(4094571909,1467031594),u(275423344,851169720),u(430227734,3100823752),u(506948616,1363258195),u(659060556,3750685593),u(883997877,3785050280),u(958139571,3318307427),u(1322822218,3812723403),u(1537002063,2003034995),u(1747873779,3602036899),u(1955562222,1575990012),u(2024104815,1125592928),u(2227730452,2716904306),u(2361852424,442776044),u(2428436474,593698344),u(2756734187,3733110249),u(3204031479,2999351573),u(3329325298,3815920427),u(3391569614,3928383900),u(3515267271,566280711),u(3940187606,3454069534),u(4118630271,4000239992),u(116418474,1914138554),u(174292421,2731055270),u(289380356,3203993006),u(460393269,320620315),u(685471733,587496836),u(852142971,1086792851),u(1017036298,365543100),u(1126000580,2618297676),u(1288033470,3409855158),u(1501505948,4234509866),u(1607167915,987167468),u(1816402316,1246189591)],s=[];(function(){for(var x=0;x<80;x++)s[x]=u()})();var d=c.SHA512=a.extend({_doReset:function(){this._hash=new f.init([new l.init(1779033703,4089235720),new l.init(3144134277,2227873595),new l.init(1013904242,4271175723),new l.init(2773480762,1595750129),new l.init(1359893119,2917565137),new l.init(2600822924,725511199),new l.init(528734635,4215389547),new l.init(1541459225,327033209)])},_doProcessBlock:function(x,p){for(var m=this._hash.words,E=m[0],g=m[1],v=m[2],b=m[3],y=m[4],_=m[5],A=m[6],D=m[7],B=E.high,S=E.low,P=g.high,k=g.low,I=v.high,K=v.low,Y=b.high,q=b.low,se=y.high,oe=y.low,ce=_.high,ae=_.low,L=A.high,U=A.low,W=D.high,N=D.low,ue=B,te=S,T=P,O=k,$=I,z=K,ie=Y,ee=q,w=se,C=oe,F=ce,H=ae,j=L,J=U,X=W,Q=N,ye=0;ye<80;ye++){var he,Te,Ye=s[ye];if(ye<16)Te=Ye.high=x[p+ye*2]|0,he=Ye.low=x[p+ye*2+1]|0;else{var Ce=s[ye-15],R=Ce.high,G=Ce.low,pe=(R>>>1|G<<31)^(R>>>8|G<<24)^R>>>7,_e=(G>>>1|R<<31)^(G>>>8|R<<24)^(G>>>7|R<<25),We=s[ye-2],je=We.high,Me=We.low,Tr=(je>>>19|Me<<13)^(je<<3|Me>>>29)^je>>>6,Ir=(Me>>>19|je<<13)^(Me<<3|je>>>29)^(Me>>>6|je<<26),Ia=s[ye-7],N0=Ia.high,O0=Ia.low,La=s[ye-16],M0=La.high,Ra=La.low;he=_e+O0,Te=pe+N0+(he>>>0<_e>>>0?1:0),he=he+Ir,Te=Te+Tr+(he>>>0>>0?1:0),he=he+Ra,Te=Te+M0+(he>>>0>>0?1:0),Ye.high=Te,Ye.low=he}var U0=w&F^~w&j,Na=C&H^~C&J,H0=ue&T^ue&$^T&$,W0=te&O^te&z^O&z,j0=(ue>>>28|te<<4)^(ue<<30|te>>>2)^(ue<<25|te>>>7),Oa=(te>>>28|ue<<4)^(te<<30|ue>>>2)^(te<<25|ue>>>7),G0=(w>>>14|C<<18)^(w>>>18|C<<14)^(w<<23|C>>>9),$0=(C>>>14|w<<18)^(C>>>18|w<<14)^(C<<23|w>>>9),Ma=h[ye],V0=Ma.high,Ua=Ma.low,Oe=Q+$0,at=X+G0+(Oe>>>0>>0?1:0),Oe=Oe+Na,at=at+U0+(Oe>>>0>>0?1:0),Oe=Oe+Ua,at=at+V0+(Oe>>>0>>0?1:0),Oe=Oe+he,at=at+Te+(Oe>>>0>>0?1:0),Ha=Oa+W0,q0=j0+H0+(Ha>>>0>>0?1:0);X=j,Q=J,j=F,J=H,F=w,H=C,C=ee+Oe|0,w=ie+at+(C>>>0>>0?1:0)|0,ie=$,ee=z,$=T,z=O,T=ue,O=te,te=Oe+Ha|0,ue=at+q0+(te>>>0>>0?1:0)|0}S=E.low=S+te,E.high=B+ue+(S>>>0>>0?1:0),k=g.low=k+O,g.high=P+T+(k>>>0>>0?1:0),K=v.low=K+z,v.high=I+$+(K>>>0>>0?1:0),q=b.low=q+ee,b.high=Y+ie+(q>>>0>>0?1:0),oe=y.low=oe+C,y.high=se+w+(oe>>>0>>0?1:0),ae=_.low=ae+H,_.high=ce+F+(ae>>>0>>0?1:0),U=A.low=U+J,A.high=L+j+(U>>>0>>0?1:0),N=D.low=N+Q,D.high=W+X+(N>>>0>>0?1:0)},_doFinalize:function(){var x=this._data,p=x.words,m=this._nDataBytes*8,E=x.sigBytes*8;p[E>>>5]|=128<<24-E%32,p[(E+128>>>10<<5)+30]=Math.floor(m/4294967296),p[(E+128>>>10<<5)+31]=m,x.sigBytes=p.length*4,this._process();var g=this._hash.toX32();return g},clone:function(){var x=a.clone.call(this);return x._hash=this._hash.clone(),x},blockSize:1024/32});n.SHA512=a._createHelper(d),n.HmacSHA512=a._createHmacHelper(d)}(),r.SHA512})}(Kr)),Kr.exports}var Yr={exports:{}},po;function Ol(){return po||(po=1,function(e,t){(function(r,n,o){e.exports=n(fe(),br(),_s())})(re,function(r){return function(){var n=r,o=n.x64,a=o.Word,i=o.WordArray,l=n.algo,f=l.SHA512,c=l.SHA384=f.extend({_doReset:function(){this._hash=new i.init([new a.init(3418070365,3238371032),new a.init(1654270250,914150663),new a.init(2438529370,812702999),new a.init(355462360,4144912697),new a.init(1731405415,4290775857),new a.init(2394180231,1750603025),new a.init(3675008525,1694076839),new a.init(1203062813,3204075428)])},_doFinalize:function(){var u=f._doFinalize.call(this);return u.sigBytes-=16,u}});n.SHA384=f._createHelper(c),n.HmacSHA384=f._createHmacHelper(c)}(),r.SHA384})}(Yr)),Yr.exports}var Xr={exports:{}},mo;function Ml(){return mo||(mo=1,function(e,t){(function(r,n,o){e.exports=n(fe(),br())})(re,function(r){return function(n){var o=r,a=o.lib,i=a.WordArray,l=a.Hasher,f=o.x64,c=f.Word,u=o.algo,h=[],s=[],d=[];(function(){for(var m=1,E=0,g=0;g<24;g++){h[m+5*E]=(g+1)*(g+2)/2%64;var v=E%5,b=(2*m+3*E)%5;m=v,E=b}for(var m=0;m<5;m++)for(var E=0;E<5;E++)s[m+5*E]=E+(2*m+3*E)%5*5;for(var y=1,_=0;_<24;_++){for(var A=0,D=0,B=0;B<7;B++){if(y&1){var S=(1<>>24)&16711935|(y<<24|y>>>8)&4278255360,_=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360;var A=g[b];A.high^=_,A.low^=y}for(var D=0;D<24;D++){for(var B=0;B<5;B++){for(var S=0,P=0,k=0;k<5;k++){var A=g[B+5*k];S^=A.high,P^=A.low}var I=x[B];I.high=S,I.low=P}for(var B=0;B<5;B++)for(var K=x[(B+4)%5],Y=x[(B+1)%5],q=Y.high,se=Y.low,S=K.high^(q<<1|se>>>31),P=K.low^(se<<1|q>>>31),k=0;k<5;k++){var A=g[B+5*k];A.high^=S,A.low^=P}for(var oe=1;oe<25;oe++){var S,P,A=g[oe],ce=A.high,ae=A.low,L=h[oe];L<32?(S=ce<>>32-L,P=ae<>>32-L):(S=ae<>>64-L,P=ce<>>64-L);var U=x[s[oe]];U.high=S,U.low=P}var W=x[0],N=g[0];W.high=N.high,W.low=N.low;for(var B=0;B<5;B++)for(var k=0;k<5;k++){var oe=B+5*k,A=g[oe],ue=x[oe],te=x[(B+1)%5+5*k],T=x[(B+2)%5+5*k];A.high=ue.high^~te.high&T.high,A.low=ue.low^~te.low&T.low}var A=g[0],O=d[D];A.high^=O.high,A.low^=O.low}},_doFinalize:function(){var m=this._data,E=m.words;this._nDataBytes*8;var g=m.sigBytes*8,v=this.blockSize*32;E[g>>>5]|=1<<24-g%32,E[(n.ceil((g+1)/v)*v>>>5)-1]|=128,m.sigBytes=E.length*4,this._process();for(var b=this._state,y=this.cfg.outputLength/8,_=y/8,A=[],D=0;D<_;D++){var B=b[D],S=B.high,P=B.low;S=(S<<8|S>>>24)&16711935|(S<<24|S>>>8)&4278255360,P=(P<<8|P>>>24)&16711935|(P<<24|P>>>8)&4278255360,A.push(P),A.push(S)}return new i.init(A,y)},clone:function(){for(var m=l.clone.call(this),E=m._state=this._state.slice(0),g=0;g<25;g++)E[g]=E[g].clone();return m}});o.SHA3=l._createHelper(p),o.HmacSHA3=l._createHmacHelper(p)}(Math),r.SHA3})}(Xr)),Xr.exports}var Qr={exports:{}},go;function Ul(){return go||(go=1,function(e,t){(function(r,n){e.exports=n(fe())})(re,function(r){/** @preserve (c) 2012 by Cédric Mesnil. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */return function(n){var o=r,a=o.lib,i=a.WordArray,l=a.Hasher,f=o.algo,c=i.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),u=i.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),h=i.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),s=i.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),d=i.create([0,1518500249,1859775393,2400959708,2840853838]),x=i.create([1352829926,1548603684,1836072691,2053994217,0]),p=f.RIPEMD160=l.extend({_doReset:function(){this._hash=i.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(_,A){for(var D=0;D<16;D++){var B=A+D,S=_[B];_[B]=(S<<8|S>>>24)&16711935|(S<<24|S>>>8)&4278255360}var P=this._hash.words,k=d.words,I=x.words,K=c.words,Y=u.words,q=h.words,se=s.words,oe,ce,ae,L,U,W,N,ue,te,T;W=oe=P[0],N=ce=P[1],ue=ae=P[2],te=L=P[3],T=U=P[4];for(var O,D=0;D<80;D+=1)O=oe+_[A+K[D]]|0,D<16?O+=m(ce,ae,L)+k[0]:D<32?O+=E(ce,ae,L)+k[1]:D<48?O+=g(ce,ae,L)+k[2]:D<64?O+=v(ce,ae,L)+k[3]:O+=b(ce,ae,L)+k[4],O=O|0,O=y(O,q[D]),O=O+U|0,oe=U,U=L,L=y(ae,10),ae=ce,ce=O,O=W+_[A+Y[D]]|0,D<16?O+=b(N,ue,te)+I[0]:D<32?O+=v(N,ue,te)+I[1]:D<48?O+=g(N,ue,te)+I[2]:D<64?O+=E(N,ue,te)+I[3]:O+=m(N,ue,te)+I[4],O=O|0,O=y(O,se[D]),O=O+T|0,W=T,T=te,te=y(ue,10),ue=N,N=O;O=P[1]+ae+te|0,P[1]=P[2]+L+T|0,P[2]=P[3]+U+W|0,P[3]=P[4]+oe+N|0,P[4]=P[0]+ce+ue|0,P[0]=O},_doFinalize:function(){var _=this._data,A=_.words,D=this._nDataBytes*8,B=_.sigBytes*8;A[B>>>5]|=128<<24-B%32,A[(B+64>>>9<<4)+14]=(D<<8|D>>>24)&16711935|(D<<24|D>>>8)&4278255360,_.sigBytes=(A.length+1)*4,this._process();for(var S=this._hash,P=S.words,k=0;k<5;k++){var I=P[k];P[k]=(I<<8|I>>>24)&16711935|(I<<24|I>>>8)&4278255360}return S},clone:function(){var _=l.clone.call(this);return _._hash=this._hash.clone(),_}});function m(_,A,D){return _^A^D}function E(_,A,D){return _&A|~_&D}function g(_,A,D){return(_|~A)^D}function v(_,A,D){return _&D|A&~D}function b(_,A,D){return _^(A|~D)}function y(_,A){return _<>>32-A}o.RIPEMD160=l._createHelper(p),o.HmacRIPEMD160=l._createHmacHelper(p)}(),r.RIPEMD160})}(Qr)),Qr.exports}var Jr={exports:{}},vo;function pa(){return vo||(vo=1,function(e,t){(function(r,n){e.exports=n(fe())})(re,function(r){(function(){var n=r,o=n.lib,a=o.Base,i=n.enc,l=i.Utf8,f=n.algo;f.HMAC=a.extend({init:function(c,u){c=this._hasher=new c.init,typeof u=="string"&&(u=l.parse(u));var h=c.blockSize,s=h*4;u.sigBytes>s&&(u=c.finalize(u)),u.clamp();for(var d=this._oKey=u.clone(),x=this._iKey=u.clone(),p=d.words,m=x.words,E=0;E>>2]&255;S.sigBytes-=P}};a.BlockCipher=d.extend({cfg:d.cfg.extend({mode:m,padding:g}),reset:function(){var S;d.reset.call(this);var P=this.cfg,k=P.iv,I=P.mode;this._xformMode==this._ENC_XFORM_MODE?S=I.createEncryptor:(S=I.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==S?this._mode.init(this,k&&k.words):(this._mode=S.call(I,this,k&&k.words),this._mode.__creator=S)},_doProcessBlock:function(S,P){this._mode.processBlock(S,P)},_doFinalize:function(){var S,P=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(P.pad(this._data,this.blockSize),S=this._process(!0)):(S=this._process(!0),P.unpad(S)),S},blockSize:128/32});var v=a.CipherParams=i.extend({init:function(S){this.mixIn(S)},toString:function(S){return(S||this.formatter).stringify(this)}}),b=o.format={},y=b.OpenSSL={stringify:function(S){var P,k=S.ciphertext,I=S.salt;return I?P=l.create([1398893684,1701076831]).concat(I).concat(k):P=k,P.toString(u)},parse:function(S){var P,k=u.parse(S),I=k.words;return I[0]==1398893684&&I[1]==1701076831&&(P=l.create(I.slice(2,4)),I.splice(0,4),k.sigBytes-=16),v.create({ciphertext:k,salt:P})}},_=a.SerializableCipher=i.extend({cfg:i.extend({format:y}),encrypt:function(S,P,k,I){I=this.cfg.extend(I);var K=S.createEncryptor(k,I),Y=K.finalize(P),q=K.cfg;return v.create({ciphertext:Y,key:k,iv:q.iv,algorithm:S,mode:q.mode,padding:q.padding,blockSize:S.blockSize,formatter:I.format})},decrypt:function(S,P,k,I){I=this.cfg.extend(I),P=this._parse(P,I.format);var K=S.createDecryptor(k,I).finalize(P.ciphertext);return K},_parse:function(S,P){return typeof S=="string"?P.parse(S,this):S}}),A=o.kdf={},D=A.OpenSSL={execute:function(S,P,k,I,K){if(I||(I=l.random(64/8)),K)var Y=s.create({keySize:P+k,hasher:K}).compute(S,I);else var Y=s.create({keySize:P+k}).compute(S,I);var q=l.create(Y.words.slice(P),k*4);return Y.sigBytes=P*4,v.create({key:Y,iv:q,salt:I})}},B=a.PasswordBasedCipher=_.extend({cfg:_.cfg.extend({kdf:D}),encrypt:function(S,P,k,I){I=this.cfg.extend(I);var K=I.kdf.execute(k,S.keySize,S.ivSize,I.salt,I.hasher);I.iv=K.iv;var Y=_.encrypt.call(this,S,P,K.key,I);return Y.mixIn(K),Y},decrypt:function(S,P,k,I){I=this.cfg.extend(I),P=this._parse(P,I.format);var K=I.kdf.execute(k,S.keySize,S.ivSize,P.salt,I.hasher);I.iv=K.iv;var Y=_.decrypt.call(this,S,P,K.key,I);return Y}})}()})}(tn)),tn.exports}var rn={exports:{}},_o;function Wl(){return _o||(_o=1,function(e,t){(function(r,n,o){e.exports=n(fe(),Pe())})(re,function(r){return r.mode.CFB=function(){var n=r.lib.BlockCipherMode.extend();n.Encryptor=n.extend({processBlock:function(a,i){var l=this._cipher,f=l.blockSize;o.call(this,a,i,f,l),this._prevBlock=a.slice(i,i+f)}}),n.Decryptor=n.extend({processBlock:function(a,i){var l=this._cipher,f=l.blockSize,c=a.slice(i,i+f);o.call(this,a,i,f,l),this._prevBlock=c}});function o(a,i,l,f){var c,u=this._iv;u?(c=u.slice(0),this._iv=void 0):c=this._prevBlock,f.encryptBlock(c,0);for(var h=0;h>24&255)===255){var f=l>>16&255,c=l>>8&255,u=l&255;f===255?(f=0,c===255?(c=0,u===255?u=0:++u):++c):++f,l=0,l+=f<<16,l+=c<<8,l+=u}else l+=1<<24;return l}function a(l){return(l[0]=o(l[0]))===0&&(l[1]=o(l[1])),l}var i=n.Encryptor=n.extend({processBlock:function(l,f){var c=this._cipher,u=c.blockSize,h=this._iv,s=this._counter;h&&(s=this._counter=h.slice(0),this._iv=void 0),a(s);var d=s.slice(0);c.encryptBlock(d,0);for(var x=0;x>>2]|=l<<24-f%4*8,n.sigBytes+=l},unpad:function(n){var o=n.words[n.sigBytes-1>>>2]&255;n.sigBytes-=o}},r.pad.Ansix923})}(cn)),cn.exports}var ln={exports:{}},Bo;function zl(){return Bo||(Bo=1,function(e,t){(function(r,n,o){e.exports=n(fe(),Pe())})(re,function(r){return r.pad.Iso10126={pad:function(n,o){var a=o*4,i=a-n.sigBytes%a;n.concat(r.lib.WordArray.random(i-1)).concat(r.lib.WordArray.create([i<<24],1))},unpad:function(n){var o=n.words[n.sigBytes-1>>>2]&255;n.sigBytes-=o}},r.pad.Iso10126})}(ln)),ln.exports}var un={exports:{}},Fo;function Kl(){return Fo||(Fo=1,function(e,t){(function(r,n,o){e.exports=n(fe(),Pe())})(re,function(r){return r.pad.Iso97971={pad:function(n,o){n.concat(r.lib.WordArray.create([2147483648],1)),r.pad.ZeroPadding.pad(n,o)},unpad:function(n){r.pad.ZeroPadding.unpad(n),n.sigBytes--}},r.pad.Iso97971})}(un)),un.exports}var fn={exports:{}},Po;function Yl(){return Po||(Po=1,function(e,t){(function(r,n,o){e.exports=n(fe(),Pe())})(re,function(r){return r.pad.ZeroPadding={pad:function(n,o){var a=o*4;n.clamp(),n.sigBytes+=a-(n.sigBytes%a||a)},unpad:function(n){for(var o=n.words,a=n.sigBytes-1,a=n.sigBytes-1;a>=0;a--)if(o[a>>>2]>>>24-a%4*8&255){n.sigBytes=a+1;break}}},r.pad.ZeroPadding})}(fn)),fn.exports}var dn={exports:{}},ko;function Xl(){return ko||(ko=1,function(e,t){(function(r,n,o){e.exports=n(fe(),Pe())})(re,function(r){return r.pad.NoPadding={pad:function(){},unpad:function(){}},r.pad.NoPadding})}(dn)),dn.exports}var hn={exports:{}},To;function Ql(){return To||(To=1,function(e,t){(function(r,n,o){e.exports=n(fe(),Pe())})(re,function(r){return function(n){var o=r,a=o.lib,i=a.CipherParams,l=o.enc,f=l.Hex,c=o.format;c.Hex={stringify:function(u){return u.ciphertext.toString(f)},parse:function(u){var h=f.parse(u);return i.create({ciphertext:h})}}}(),r.format.Hex})}(hn)),hn.exports}var xn={exports:{}},Io;function Jl(){return Io||(Io=1,function(e,t){(function(r,n,o){e.exports=n(fe(),Et(),bt(),dt(),Pe())})(re,function(r){return function(){var n=r,o=n.lib,a=o.BlockCipher,i=n.algo,l=[],f=[],c=[],u=[],h=[],s=[],d=[],x=[],p=[],m=[];(function(){for(var v=[],b=0;b<256;b++)b<128?v[b]=b<<1:v[b]=b<<1^283;for(var y=0,_=0,b=0;b<256;b++){var A=_^_<<1^_<<2^_<<3^_<<4;A=A>>>8^A&255^99,l[y]=A,f[A]=y;var D=v[y],B=v[D],S=v[B],P=v[A]*257^A*16843008;c[y]=P<<24|P>>>8,u[y]=P<<16|P>>>16,h[y]=P<<8|P>>>24,s[y]=P;var P=S*16843009^B*65537^D*257^y*16843008;d[A]=P<<24|P>>>8,x[A]=P<<16|P>>>16,p[A]=P<<8|P>>>24,m[A]=P,y?(y=D^v[v[v[S^D]]],_^=v[v[_]]):y=_=1}})();var E=[0,1,2,4,8,16,32,64,128,27,54],g=i.AES=a.extend({_doReset:function(){var v;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var b=this._keyPriorReset=this._key,y=b.words,_=b.sigBytes/4,A=this._nRounds=_+6,D=(A+1)*4,B=this._keySchedule=[],S=0;S6&&S%_==4&&(v=l[v>>>24]<<24|l[v>>>16&255]<<16|l[v>>>8&255]<<8|l[v&255]):(v=v<<8|v>>>24,v=l[v>>>24]<<24|l[v>>>16&255]<<16|l[v>>>8&255]<<8|l[v&255],v^=E[S/_|0]<<24),B[S]=B[S-_]^v);for(var P=this._invKeySchedule=[],k=0;k>>24]]^x[l[v>>>16&255]]^p[l[v>>>8&255]]^m[l[v&255]]}}},encryptBlock:function(v,b){this._doCryptBlock(v,b,this._keySchedule,c,u,h,s,l)},decryptBlock:function(v,b){var y=v[b+1];v[b+1]=v[b+3],v[b+3]=y,this._doCryptBlock(v,b,this._invKeySchedule,d,x,p,m,f);var y=v[b+1];v[b+1]=v[b+3],v[b+3]=y},_doCryptBlock:function(v,b,y,_,A,D,B,S){for(var P=this._nRounds,k=v[b]^y[0],I=v[b+1]^y[1],K=v[b+2]^y[2],Y=v[b+3]^y[3],q=4,se=1;se>>24]^A[I>>>16&255]^D[K>>>8&255]^B[Y&255]^y[q++],ce=_[I>>>24]^A[K>>>16&255]^D[Y>>>8&255]^B[k&255]^y[q++],ae=_[K>>>24]^A[Y>>>16&255]^D[k>>>8&255]^B[I&255]^y[q++],L=_[Y>>>24]^A[k>>>16&255]^D[I>>>8&255]^B[K&255]^y[q++];k=oe,I=ce,K=ae,Y=L}var oe=(S[k>>>24]<<24|S[I>>>16&255]<<16|S[K>>>8&255]<<8|S[Y&255])^y[q++],ce=(S[I>>>24]<<24|S[K>>>16&255]<<16|S[Y>>>8&255]<<8|S[k&255])^y[q++],ae=(S[K>>>24]<<24|S[Y>>>16&255]<<16|S[k>>>8&255]<<8|S[I&255])^y[q++],L=(S[Y>>>24]<<24|S[k>>>16&255]<<16|S[I>>>8&255]<<8|S[K&255])^y[q++];v[b]=oe,v[b+1]=ce,v[b+2]=ae,v[b+3]=L},keySize:256/32});n.AES=a._createHelper(g)}(),r.AES})}(xn)),xn.exports}var pn={exports:{}},Lo;function Zl(){return Lo||(Lo=1,function(e,t){(function(r,n,o){e.exports=n(fe(),Et(),bt(),dt(),Pe())})(re,function(r){return function(){var n=r,o=n.lib,a=o.WordArray,i=o.BlockCipher,l=n.algo,f=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],c=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],u=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],h=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],s=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],d=l.DES=i.extend({_doReset:function(){for(var E=this._key,g=E.words,v=[],b=0;b<56;b++){var y=f[b]-1;v[b]=g[y>>>5]>>>31-y%32&1}for(var _=this._subKeys=[],A=0;A<16;A++){for(var D=_[A]=[],B=u[A],b=0;b<24;b++)D[b/6|0]|=v[(c[b]-1+B)%28]<<31-b%6,D[4+(b/6|0)]|=v[28+(c[b+24]-1+B)%28]<<31-b%6;D[0]=D[0]<<1|D[0]>>>31;for(var b=1;b<7;b++)D[b]=D[b]>>>(b-1)*4+3;D[7]=D[7]<<5|D[7]>>>27}for(var S=this._invSubKeys=[],b=0;b<16;b++)S[b]=_[15-b]},encryptBlock:function(E,g){this._doCryptBlock(E,g,this._subKeys)},decryptBlock:function(E,g){this._doCryptBlock(E,g,this._invSubKeys)},_doCryptBlock:function(E,g,v){this._lBlock=E[g],this._rBlock=E[g+1],x.call(this,4,252645135),x.call(this,16,65535),p.call(this,2,858993459),p.call(this,8,16711935),x.call(this,1,1431655765);for(var b=0;b<16;b++){for(var y=v[b],_=this._lBlock,A=this._rBlock,D=0,B=0;B<8;B++)D|=h[B][((A^y[B])&s[B])>>>0];this._lBlock=A,this._rBlock=_^D}var S=this._lBlock;this._lBlock=this._rBlock,this._rBlock=S,x.call(this,1,1431655765),p.call(this,8,16711935),p.call(this,2,858993459),x.call(this,16,65535),x.call(this,4,252645135),E[g]=this._lBlock,E[g+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function x(E,g){var v=(this._lBlock>>>E^this._rBlock)&g;this._rBlock^=v,this._lBlock^=v<>>E^this._lBlock)&g;this._lBlock^=v,this._rBlock^=v<192.");var v=g.slice(0,2),b=g.length<4?g.slice(0,2):g.slice(2,4),y=g.length<6?g.slice(0,2):g.slice(4,6);this._des1=d.createEncryptor(a.create(v)),this._des2=d.createEncryptor(a.create(b)),this._des3=d.createEncryptor(a.create(y))},encryptBlock:function(E,g){this._des1.encryptBlock(E,g),this._des2.decryptBlock(E,g),this._des3.encryptBlock(E,g)},decryptBlock:function(E,g){this._des3.decryptBlock(E,g),this._des2.encryptBlock(E,g),this._des1.decryptBlock(E,g)},keySize:192/32,ivSize:64/32,blockSize:64/32});n.TripleDES=i._createHelper(m)}(),r.TripleDES})}(pn)),pn.exports}var mn={exports:{}},Ro;function eu(){return Ro||(Ro=1,function(e,t){(function(r,n,o){e.exports=n(fe(),Et(),bt(),dt(),Pe())})(re,function(r){return function(){var n=r,o=n.lib,a=o.StreamCipher,i=n.algo,l=i.RC4=a.extend({_doReset:function(){for(var u=this._key,h=u.words,s=u.sigBytes,d=this._S=[],x=0;x<256;x++)d[x]=x;for(var x=0,p=0;x<256;x++){var m=x%s,E=h[m>>>2]>>>24-m%4*8&255;p=(p+d[x]+E)%256;var g=d[x];d[x]=d[p],d[p]=g}this._i=this._j=0},_doProcessBlock:function(u,h){u[h]^=f.call(this)},keySize:256/32,ivSize:0});function f(){for(var u=this._S,h=this._i,s=this._j,d=0,x=0;x<4;x++){h=(h+1)%256,s=(s+u[h])%256;var p=u[h];u[h]=u[s],u[s]=p,d|=u[(u[h]+u[s])%256]<<24-x*8}return this._i=h,this._j=s,d}n.RC4=a._createHelper(l);var c=i.RC4Drop=l.extend({cfg:l.cfg.extend({drop:192}),_doReset:function(){l._doReset.call(this);for(var u=this.cfg.drop;u>0;u--)f.call(this)}});n.RC4Drop=a._createHelper(c)}(),r.RC4})}(mn)),mn.exports}var gn={exports:{}},No;function tu(){return No||(No=1,function(e,t){(function(r,n,o){e.exports=n(fe(),Et(),bt(),dt(),Pe())})(re,function(r){return function(){var n=r,o=n.lib,a=o.StreamCipher,i=n.algo,l=[],f=[],c=[],u=i.Rabbit=a.extend({_doReset:function(){for(var s=this._key.words,d=this.cfg.iv,x=0;x<4;x++)s[x]=(s[x]<<8|s[x]>>>24)&16711935|(s[x]<<24|s[x]>>>8)&4278255360;var p=this._X=[s[0],s[3]<<16|s[2]>>>16,s[1],s[0]<<16|s[3]>>>16,s[2],s[1]<<16|s[0]>>>16,s[3],s[2]<<16|s[1]>>>16],m=this._C=[s[2]<<16|s[2]>>>16,s[0]&4294901760|s[1]&65535,s[3]<<16|s[3]>>>16,s[1]&4294901760|s[2]&65535,s[0]<<16|s[0]>>>16,s[2]&4294901760|s[3]&65535,s[1]<<16|s[1]>>>16,s[3]&4294901760|s[0]&65535];this._b=0;for(var x=0;x<4;x++)h.call(this);for(var x=0;x<8;x++)m[x]^=p[x+4&7];if(d){var E=d.words,g=E[0],v=E[1],b=(g<<8|g>>>24)&16711935|(g<<24|g>>>8)&4278255360,y=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360,_=b>>>16|y&4294901760,A=y<<16|b&65535;m[0]^=b,m[1]^=_,m[2]^=y,m[3]^=A,m[4]^=b,m[5]^=_,m[6]^=y,m[7]^=A;for(var x=0;x<4;x++)h.call(this)}},_doProcessBlock:function(s,d){var x=this._X;h.call(this),l[0]=x[0]^x[5]>>>16^x[3]<<16,l[1]=x[2]^x[7]>>>16^x[5]<<16,l[2]=x[4]^x[1]>>>16^x[7]<<16,l[3]=x[6]^x[3]>>>16^x[1]<<16;for(var p=0;p<4;p++)l[p]=(l[p]<<8|l[p]>>>24)&16711935|(l[p]<<24|l[p]>>>8)&4278255360,s[d+p]^=l[p]},blockSize:128/32,ivSize:64/32});function h(){for(var s=this._X,d=this._C,x=0;x<8;x++)f[x]=d[x];d[0]=d[0]+1295307597+this._b|0,d[1]=d[1]+3545052371+(d[0]>>>0>>0?1:0)|0,d[2]=d[2]+886263092+(d[1]>>>0>>0?1:0)|0,d[3]=d[3]+1295307597+(d[2]>>>0>>0?1:0)|0,d[4]=d[4]+3545052371+(d[3]>>>0>>0?1:0)|0,d[5]=d[5]+886263092+(d[4]>>>0>>0?1:0)|0,d[6]=d[6]+1295307597+(d[5]>>>0>>0?1:0)|0,d[7]=d[7]+3545052371+(d[6]>>>0>>0?1:0)|0,this._b=d[7]>>>0>>0?1:0;for(var x=0;x<8;x++){var p=s[x]+d[x],m=p&65535,E=p>>>16,g=((m*m>>>17)+m*E>>>15)+E*E,v=((p&4294901760)*p|0)+((p&65535)*p|0);c[x]=g^v}s[0]=c[0]+(c[7]<<16|c[7]>>>16)+(c[6]<<16|c[6]>>>16)|0,s[1]=c[1]+(c[0]<<8|c[0]>>>24)+c[7]|0,s[2]=c[2]+(c[1]<<16|c[1]>>>16)+(c[0]<<16|c[0]>>>16)|0,s[3]=c[3]+(c[2]<<8|c[2]>>>24)+c[1]|0,s[4]=c[4]+(c[3]<<16|c[3]>>>16)+(c[2]<<16|c[2]>>>16)|0,s[5]=c[5]+(c[4]<<8|c[4]>>>24)+c[3]|0,s[6]=c[6]+(c[5]<<16|c[5]>>>16)+(c[4]<<16|c[4]>>>16)|0,s[7]=c[7]+(c[6]<<8|c[6]>>>24)+c[5]|0}n.Rabbit=a._createHelper(u)}(),r.Rabbit})}(gn)),gn.exports}var vn={exports:{}},Oo;function ru(){return Oo||(Oo=1,function(e,t){(function(r,n,o){e.exports=n(fe(),Et(),bt(),dt(),Pe())})(re,function(r){return function(){var n=r,o=n.lib,a=o.StreamCipher,i=n.algo,l=[],f=[],c=[],u=i.RabbitLegacy=a.extend({_doReset:function(){var s=this._key.words,d=this.cfg.iv,x=this._X=[s[0],s[3]<<16|s[2]>>>16,s[1],s[0]<<16|s[3]>>>16,s[2],s[1]<<16|s[0]>>>16,s[3],s[2]<<16|s[1]>>>16],p=this._C=[s[2]<<16|s[2]>>>16,s[0]&4294901760|s[1]&65535,s[3]<<16|s[3]>>>16,s[1]&4294901760|s[2]&65535,s[0]<<16|s[0]>>>16,s[2]&4294901760|s[3]&65535,s[1]<<16|s[1]>>>16,s[3]&4294901760|s[0]&65535];this._b=0;for(var m=0;m<4;m++)h.call(this);for(var m=0;m<8;m++)p[m]^=x[m+4&7];if(d){var E=d.words,g=E[0],v=E[1],b=(g<<8|g>>>24)&16711935|(g<<24|g>>>8)&4278255360,y=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360,_=b>>>16|y&4294901760,A=y<<16|b&65535;p[0]^=b,p[1]^=_,p[2]^=y,p[3]^=A,p[4]^=b,p[5]^=_,p[6]^=y,p[7]^=A;for(var m=0;m<4;m++)h.call(this)}},_doProcessBlock:function(s,d){var x=this._X;h.call(this),l[0]=x[0]^x[5]>>>16^x[3]<<16,l[1]=x[2]^x[7]>>>16^x[5]<<16,l[2]=x[4]^x[1]>>>16^x[7]<<16,l[3]=x[6]^x[3]>>>16^x[1]<<16;for(var p=0;p<4;p++)l[p]=(l[p]<<8|l[p]>>>24)&16711935|(l[p]<<24|l[p]>>>8)&4278255360,s[d+p]^=l[p]},blockSize:128/32,ivSize:64/32});function h(){for(var s=this._X,d=this._C,x=0;x<8;x++)f[x]=d[x];d[0]=d[0]+1295307597+this._b|0,d[1]=d[1]+3545052371+(d[0]>>>0>>0?1:0)|0,d[2]=d[2]+886263092+(d[1]>>>0>>0?1:0)|0,d[3]=d[3]+1295307597+(d[2]>>>0>>0?1:0)|0,d[4]=d[4]+3545052371+(d[3]>>>0>>0?1:0)|0,d[5]=d[5]+886263092+(d[4]>>>0>>0?1:0)|0,d[6]=d[6]+1295307597+(d[5]>>>0>>0?1:0)|0,d[7]=d[7]+3545052371+(d[6]>>>0>>0?1:0)|0,this._b=d[7]>>>0>>0?1:0;for(var x=0;x<8;x++){var p=s[x]+d[x],m=p&65535,E=p>>>16,g=((m*m>>>17)+m*E>>>15)+E*E,v=((p&4294901760)*p|0)+((p&65535)*p|0);c[x]=g^v}s[0]=c[0]+(c[7]<<16|c[7]>>>16)+(c[6]<<16|c[6]>>>16)|0,s[1]=c[1]+(c[0]<<8|c[0]>>>24)+c[7]|0,s[2]=c[2]+(c[1]<<16|c[1]>>>16)+(c[0]<<16|c[0]>>>16)|0,s[3]=c[3]+(c[2]<<8|c[2]>>>24)+c[1]|0,s[4]=c[4]+(c[3]<<16|c[3]>>>16)+(c[2]<<16|c[2]>>>16)|0,s[5]=c[5]+(c[4]<<8|c[4]>>>24)+c[3]|0,s[6]=c[6]+(c[5]<<16|c[5]>>>16)+(c[4]<<16|c[4]>>>16)|0,s[7]=c[7]+(c[6]<<8|c[6]>>>24)+c[5]|0}n.RabbitLegacy=a._createHelper(u)}(),r.RabbitLegacy})}(vn)),vn.exports}var En={exports:{}},Mo;function nu(){return Mo||(Mo=1,function(e,t){(function(r,n,o){e.exports=n(fe(),Et(),bt(),dt(),Pe())})(re,function(r){return function(){var n=r,o=n.lib,a=o.BlockCipher,i=n.algo;const l=16,f=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],c=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var u={pbox:[],sbox:[]};function h(m,E){let g=E>>24&255,v=E>>16&255,b=E>>8&255,y=E&255,_=m.sbox[0][g]+m.sbox[1][v];return _=_^m.sbox[2][b],_=_+m.sbox[3][y],_}function s(m,E,g){let v=E,b=g,y;for(let _=0;_1;--_)v=v^m.pbox[_],b=h(m,v)^b,y=v,v=b,b=y;return y=v,v=b,b=y,b=b^m.pbox[1],v=v^m.pbox[0],{left:v,right:b}}function x(m,E,g){for(let A=0;A<4;A++){m.sbox[A]=[];for(let D=0;D<256;D++)m.sbox[A][D]=c[A][D]}let v=0;for(let A=0;A=g&&(v=0);let b=0,y=0,_=0;for(let A=0;A=Date.now())return h}return i(f),null}}function i(f){window.localStorage.removeItem(f)}function l(){window.localStorage.clear()}return{set:o,get:a,remove:i,clear:l}}ws();const Be=ws({expire:null,crypto:!1});function su(){return typeof process<"u"&&(process==null?void 0:process.type)==="renderer"?"electron":typeof wx<"u"?"wechat":typeof window<"u"&&window.matchMedia("(display-mode: standalone)").matches?"webApp":/(Android|webOS|iPhone|iPad|iPod|BlackBerry|Windows Phone)/i.test(navigator.userAgent)?"mobile":"webBrowser"}const As="appSetting";function cu(){return{siderCollapsed:!1,theme:"auto",language:"zh-CN",env:su()}}function lu(){const e=Be.get(As);return{...cu(),...e}}function uu(e){Be.set(As,e)}const Ss=vt("app-store",{state:()=>lu(),actions:{setSiderCollapsed(e){this.siderCollapsed=e,this.recordState()},setTheme(e){localStorage.theme=e,this.theme=e,window.theme=e,this.recordState()},setLanguage(e){this.language!==e&&(this.language=e,this.recordState())},recordState(){uu(this.$state)},setEnv(){const e=/micromessenger/i.test(navigator.userAgent),t=navigator.userAgent.includes("Electron"),r=/(iPhone|iPad|iPod|Android|webOS|BlackBerry|Windows Phone)/i.test(navigator.userAgent);e?this.env="wechat":t?this.env="electron":r?this.env="mobile":!e&&!t&&(this.env="web")}}});function fu(){return Ss(Sr)}function Ds(e,t){return function(){return e.apply(t,arguments)}}const{toString:du}=Object.prototype,{getPrototypeOf:ma}=Object,Cr=(e=>t=>{const r=du.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),Ke=e=>(e=e.toLowerCase(),t=>Cr(t)===e),_r=e=>t=>typeof t===e,{isArray:It}=Array,zt=_r("undefined");function hu(e){return e!==null&&!zt(e)&&e.constructor!==null&&!zt(e.constructor)&&He(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Bs=Ke("ArrayBuffer");function xu(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Bs(e.buffer),t}const pu=_r("string"),He=_r("function"),Fs=_r("number"),yr=e=>e!==null&&typeof e=="object",mu=e=>e===!0||e===!1,sr=e=>{if(Cr(e)!=="object")return!1;const t=ma(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},gu=Ke("Date"),vu=Ke("File"),Eu=Ke("Blob"),bu=Ke("FileList"),Cu=e=>yr(e)&&He(e.pipe),_u=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||He(e.append)&&((t=Cr(e))==="formdata"||t==="object"&&He(e.toString)&&e.toString()==="[object FormData]"))},yu=Ke("URLSearchParams"),wu=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Zt(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let n,o;if(typeof e!="object"&&(e=[e]),It(e))for(n=0,o=e.length;n0;)if(o=r[n],t===o.toLowerCase())return o;return null}const ks=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),Ts=e=>!zt(e)&&e!==ks;function Hn(){const{caseless:e}=Ts(this)&&this||{},t={},r=(n,o)=>{const a=e&&Ps(t,o)||o;sr(t[a])&&sr(n)?t[a]=Hn(t[a],n):sr(n)?t[a]=Hn({},n):It(n)?t[a]=n.slice():t[a]=n};for(let n=0,o=arguments.length;n(Zt(t,(o,a)=>{r&&He(o)?e[a]=Ds(o,r):e[a]=o},{allOwnKeys:n}),e),Su=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Du=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},Bu=(e,t,r,n)=>{let o,a,i;const l={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),a=o.length;a-- >0;)i=o[a],(!n||n(i,e,t))&&!l[i]&&(t[i]=e[i],l[i]=!0);e=r!==!1&&ma(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},Fu=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return n!==-1&&n===r},Pu=e=>{if(!e)return null;if(It(e))return e;let t=e.length;if(!Fs(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},ku=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&ma(Uint8Array)),Tu=(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=n.next())&&!o.done;){const a=o.value;t.call(e,a[0],a[1])}},Iu=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},Lu=Ke("HTMLFormElement"),Ru=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,o){return n.toUpperCase()+o}),Uo=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),Nu=Ke("RegExp"),Is=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};Zt(r,(o,a)=>{let i;(i=t(o,a,e))!==!1&&(n[a]=i||o)}),Object.defineProperties(e,n)},Ou=e=>{Is(e,(t,r)=>{if(He(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(He(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},Mu=(e,t)=>{const r={},n=o=>{o.forEach(a=>{r[a]=!0})};return It(e)?n(e):n(String(e).split(t)),r},Uu=()=>{},Hu=(e,t)=>(e=+e,Number.isFinite(e)?e:t),bn="abcdefghijklmnopqrstuvwxyz",Ho="0123456789",Ls={DIGIT:Ho,ALPHA:bn,ALPHA_DIGIT:bn+bn.toUpperCase()+Ho},Wu=(e=16,t=Ls.ALPHA_DIGIT)=>{let r="";const{length:n}=t;for(;e--;)r+=t[Math.random()*n|0];return r};function ju(e){return!!(e&&He(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Gu=e=>{const t=new Array(10),r=(n,o)=>{if(yr(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[o]=n;const a=It(n)?[]:{};return Zt(n,(i,l)=>{const f=r(i,o+1);!zt(f)&&(a[l]=f)}),t[o]=void 0,a}}return n};return r(e,0)},$u=Ke("AsyncFunction"),Vu=e=>e&&(yr(e)||He(e))&&He(e.then)&&He(e.catch),M={isArray:It,isArrayBuffer:Bs,isBuffer:hu,isFormData:_u,isArrayBufferView:xu,isString:pu,isNumber:Fs,isBoolean:mu,isObject:yr,isPlainObject:sr,isUndefined:zt,isDate:gu,isFile:vu,isBlob:Eu,isRegExp:Nu,isFunction:He,isStream:Cu,isURLSearchParams:yu,isTypedArray:ku,isFileList:bu,forEach:Zt,merge:Hn,extend:Au,trim:wu,stripBOM:Su,inherits:Du,toFlatObject:Bu,kindOf:Cr,kindOfTest:Ke,endsWith:Fu,toArray:Pu,forEachEntry:Tu,matchAll:Iu,isHTMLForm:Lu,hasOwnProperty:Uo,hasOwnProp:Uo,reduceDescriptors:Is,freezeMethods:Ou,toObjectSet:Mu,toCamelCase:Ru,noop:Uu,toFiniteNumber:Hu,findKey:Ps,global:ks,isContextDefined:Ts,ALPHABET:Ls,generateString:Wu,isSpecCompliantForm:ju,toJSONObject:Gu,isAsyncFn:$u,isThenable:Vu};function de(e,t,r,n,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o)}M.inherits(de,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:M.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Rs=de.prototype,Ns={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Ns[e]={value:e}});Object.defineProperties(de,Ns);Object.defineProperty(Rs,"isAxiosError",{value:!0});de.from=(e,t,r,n,o,a)=>{const i=Object.create(Rs);return M.toFlatObject(e,i,function(f){return f!==Error.prototype},l=>l!=="isAxiosError"),de.call(i,e.message,t,r,n,o),i.cause=e,i.name=e.name,a&&Object.assign(i,a),i};const qu=null;function Wn(e){return M.isPlainObject(e)||M.isArray(e)}function Os(e){return M.endsWith(e,"[]")?e.slice(0,-2):e}function Wo(e,t,r){return e?e.concat(t).map(function(o,a){return o=Os(o),!r&&a?"["+o+"]":o}).join(r?".":""):t}function zu(e){return M.isArray(e)&&!e.some(Wn)}const Ku=M.toFlatObject(M,{},null,function(t){return/^is[A-Z]/.test(t)});function wr(e,t,r){if(!M.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=M.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(p,m){return!M.isUndefined(m[p])});const n=r.metaTokens,o=r.visitor||u,a=r.dots,i=r.indexes,f=(r.Blob||typeof Blob<"u"&&Blob)&&M.isSpecCompliantForm(t);if(!M.isFunction(o))throw new TypeError("visitor must be a function");function c(x){if(x===null)return"";if(M.isDate(x))return x.toISOString();if(!f&&M.isBlob(x))throw new de("Blob is not supported. Use a Buffer instead.");return M.isArrayBuffer(x)||M.isTypedArray(x)?f&&typeof Blob=="function"?new Blob([x]):Buffer.from(x):x}function u(x,p,m){let E=x;if(x&&!m&&typeof x=="object"){if(M.endsWith(p,"{}"))p=n?p:p.slice(0,-2),x=JSON.stringify(x);else if(M.isArray(x)&&zu(x)||(M.isFileList(x)||M.endsWith(p,"[]"))&&(E=M.toArray(x)))return p=Os(p),E.forEach(function(v,b){!(M.isUndefined(v)||v===null)&&t.append(i===!0?Wo([p],b,a):i===null?p:p+"[]",c(v))}),!1}return Wn(x)?!0:(t.append(Wo(m,p,a),c(x)),!1)}const h=[],s=Object.assign(Ku,{defaultVisitor:u,convertValue:c,isVisitable:Wn});function d(x,p){if(!M.isUndefined(x)){if(h.indexOf(x)!==-1)throw Error("Circular reference detected in "+p.join("."));h.push(x),M.forEach(x,function(E,g){(!(M.isUndefined(E)||E===null)&&o.call(t,E,M.isString(g)?g.trim():g,p,s))===!0&&d(E,p?p.concat(g):[g])}),h.pop()}}if(!M.isObject(e))throw new TypeError("data must be an object");return d(e),t}function jo(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function ga(e,t){this._pairs=[],e&&wr(e,this,t)}const Ms=ga.prototype;Ms.append=function(t,r){this._pairs.push([t,r])};Ms.toString=function(t){const r=t?function(n){return t.call(this,n,jo)}:jo;return this._pairs.map(function(o){return r(o[0])+"="+r(o[1])},"").join("&")};function Yu(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Us(e,t,r){if(!t)return e;const n=r&&r.encode||Yu,o=r&&r.serialize;let a;if(o?a=o(t,r):a=M.isURLSearchParams(t)?t.toString():new ga(t,r).toString(n),a){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+a}return e}class Xu{constructor(){this.handlers=[]}use(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){M.forEach(this.handlers,function(n){n!==null&&t(n)})}}const Go=Xu,Hs={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Qu=typeof URLSearchParams<"u"?URLSearchParams:ga,Ju=typeof FormData<"u"?FormData:null,Zu=typeof Blob<"u"?Blob:null,ef={isBrowser:!0,classes:{URLSearchParams:Qu,FormData:Ju,Blob:Zu},protocols:["http","https","file","blob","url","data"]},Ws=typeof window<"u"&&typeof document<"u",tf=(e=>Ws&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),rf=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),nf=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Ws,hasStandardBrowserEnv:tf,hasStandardBrowserWebWorkerEnv:rf},Symbol.toStringTag,{value:"Module"})),qe={...nf,...ef};function af(e,t){return wr(e,new qe.classes.URLSearchParams,Object.assign({visitor:function(r,n,o,a){return qe.isNode&&M.isBuffer(r)?(this.append(n,r.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)}},t))}function of(e){return M.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function sf(e){const t={},r=Object.keys(e);let n;const o=r.length;let a;for(n=0;n=r.length;return i=!i&&M.isArray(o)?o.length:i,f?(M.hasOwnProp(o,i)?o[i]=[o[i],n]:o[i]=n,!l):((!o[i]||!M.isObject(o[i]))&&(o[i]=[]),t(r,n,o[i],a)&&M.isArray(o[i])&&(o[i]=sf(o[i])),!l)}if(M.isFormData(e)&&M.isFunction(e.entries)){const r={};return M.forEachEntry(e,(n,o)=>{t(of(n),o,r,0)}),r}return null}function cf(e,t,r){if(M.isString(e))try{return(t||JSON.parse)(e),M.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}const va={transitional:Hs,adapter:["xhr","http"],transformRequest:[function(t,r){const n=r.getContentType()||"",o=n.indexOf("application/json")>-1,a=M.isObject(t);if(a&&M.isHTMLForm(t)&&(t=new FormData(t)),M.isFormData(t))return o?JSON.stringify(js(t)):t;if(M.isArrayBuffer(t)||M.isBuffer(t)||M.isStream(t)||M.isFile(t)||M.isBlob(t))return t;if(M.isArrayBufferView(t))return t.buffer;if(M.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(a){if(n.indexOf("application/x-www-form-urlencoded")>-1)return af(t,this.formSerializer).toString();if((l=M.isFileList(t))||n.indexOf("multipart/form-data")>-1){const f=this.env&&this.env.FormData;return wr(l?{"files[]":t}:t,f&&new f,this.formSerializer)}}return a||o?(r.setContentType("application/json",!1),cf(t)):t}],transformResponse:[function(t){const r=this.transitional||va.transitional,n=r&&r.forcedJSONParsing,o=this.responseType==="json";if(t&&M.isString(t)&&(n&&!this.responseType||o)){const i=!(r&&r.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(l){if(i)throw l.name==="SyntaxError"?de.from(l,de.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:qe.classes.FormData,Blob:qe.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};M.forEach(["delete","get","head","post","put","patch"],e=>{va.headers[e]={}});const Ea=va,lf=M.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),uf=e=>{const t={};let r,n,o;return e&&e.split(` `).forEach(function(i){o=i.indexOf(":"),r=i.substring(0,o).trim().toLowerCase(),n=i.substring(o+1).trim(),!(!r||t[r]&&lf[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t},$o=Symbol("internals");function Nt(e){return e&&String(e).trim().toLowerCase()}function cr(e){return e===!1||e==null?e:M.isArray(e)?e.map(cr):String(e)}function ff(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}const df=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Cn(e,t,r,n,o){if(M.isFunction(n))return n.call(this,t,r);if(o&&(t=r),!!M.isString(t)){if(M.isString(n))return t.indexOf(n)!==-1;if(M.isRegExp(n))return n.test(t)}}function hf(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function xf(e,t){const r=M.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(o,a,i){return this[n].call(this,t,o,a,i)},configurable:!0})})}class Ar{constructor(t){t&&this.set(t)}set(t,r,n){const o=this;function a(l,f,c){const u=Nt(f);if(!u)throw new Error("header name must be a non-empty string");const h=M.findKey(o,u);(!h||o[h]===void 0||c===!0||c===void 0&&o[h]!==!1)&&(o[h||f]=cr(l))}const i=(l,f)=>M.forEach(l,(c,u)=>a(c,u,f));return M.isPlainObject(t)||t instanceof this.constructor?i(t,r):M.isString(t)&&(t=t.trim())&&!df(t)?i(uf(t),r):t!=null&&a(r,t,n),this}get(t,r){if(t=Nt(t),t){const n=M.findKey(this,t);if(n){const o=this[n];if(!r)return o;if(r===!0)return ff(o);if(M.isFunction(r))return r.call(this,o,n);if(M.isRegExp(r))return r.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=Nt(t),t){const n=M.findKey(this,t);return!!(n&&this[n]!==void 0&&(!r||Cn(this,this[n],n,r)))}return!1}delete(t,r){const n=this;let o=!1;function a(i){if(i=Nt(i),i){const l=M.findKey(n,i);l&&(!r||Cn(n,n[l],l,r))&&(delete n[l],o=!0)}}return M.isArray(t)?t.forEach(a):a(t),o}clear(t){const r=Object.keys(this);let n=r.length,o=!1;for(;n--;){const a=r[n];(!t||Cn(this,this[a],a,t,!0))&&(delete this[a],o=!0)}return o}normalize(t){const r=this,n={};return M.forEach(this,(o,a)=>{const i=M.findKey(n,a);if(i){r[i]=cr(o),delete r[a];return}const l=t?hf(a):String(a).trim();l!==a&&delete r[a],r[l]=cr(o),n[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return M.forEach(this,(n,o)=>{n!=null&&n!==!1&&(r[o]=t&&M.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(` `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const n=new this(t);return r.forEach(o=>n.set(o)),n}static accessor(t){const n=(this[$o]=this[$o]={accessors:{}}).accessors,o=this.prototype;function a(i){const l=Nt(i);n[l]||(xf(o,i),n[l]=!0)}return M.isArray(t)?t.forEach(a):a(t),this}}Ar.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);M.reduceDescriptors(Ar.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}});M.freezeMethods(Ar);const tt=Ar;function _n(e,t){const r=this||Ea,n=t||r,o=tt.from(n.headers);let a=n.data;return M.forEach(e,function(l){a=l.call(r,a,o.normalize(),t?t.status:void 0)}),o.normalize(),a}function Gs(e){return!!(e&&e.__CANCEL__)}function er(e,t,r){de.call(this,e??"canceled",de.ERR_CANCELED,t,r),this.name="CanceledError"}M.inherits(er,de,{__CANCEL__:!0});function pf(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new de("Request failed with status code "+r.status,[de.ERR_BAD_REQUEST,de.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}const mf=qe.hasStandardBrowserEnv?{write(e,t,r,n,o,a){const i=[e+"="+encodeURIComponent(t)];M.isNumber(r)&&i.push("expires="+new Date(r).toGMTString()),M.isString(n)&&i.push("path="+n),M.isString(o)&&i.push("domain="+o),a===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function gf(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function vf(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function $s(e,t){return e&&!gf(t)?vf(e,t):t}const Ef=qe.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");let n;function o(a){let i=a;return t&&(r.setAttribute("href",i),i=r.href),r.setAttribute("href",i),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return n=o(window.location.href),function(i){const l=M.isString(i)?o(i):i;return l.protocol===n.protocol&&l.host===n.host}}():function(){return function(){return!0}}();function bf(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Cf(e,t){e=e||10;const r=new Array(e),n=new Array(e);let o=0,a=0,i;return t=t!==void 0?t:1e3,function(f){const c=Date.now(),u=n[a];i||(i=c),r[o]=f,n[o]=c;let h=a,s=0;for(;h!==o;)s+=r[h++],h=h%e;if(o=(o+1)%e,o===a&&(a=(a+1)%e),c-i{const a=o.loaded,i=o.lengthComputable?o.total:void 0,l=a-r,f=n(l),c=a<=i;r=a;const u={loaded:a,total:i,progress:i?a/i:void 0,bytes:l,rate:f||void 0,estimated:f&&i&&c?(i-a)/f:void 0,event:o};u[t?"download":"upload"]=!0,e(u)}}const _f=typeof XMLHttpRequest<"u",yf=_f&&function(e){return new Promise(function(r,n){let o=e.data;const a=tt.from(e.headers).normalize();let{responseType:i,withXSRFToken:l}=e,f;function c(){e.cancelToken&&e.cancelToken.unsubscribe(f),e.signal&&e.signal.removeEventListener("abort",f)}let u;if(M.isFormData(o)){if(qe.hasStandardBrowserEnv||qe.hasStandardBrowserWebWorkerEnv)a.setContentType(!1);else if((u=a.getContentType())!==!1){const[p,...m]=u?u.split(";").map(E=>E.trim()).filter(Boolean):[];a.setContentType([p||"multipart/form-data",...m].join("; "))}}let h=new XMLHttpRequest;if(e.auth){const p=e.auth.username||"",m=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";a.set("Authorization","Basic "+btoa(p+":"+m))}const s=$s(e.baseURL,e.url);h.open(e.method.toUpperCase(),Us(s,e.params,e.paramsSerializer),!0),h.timeout=e.timeout;function d(){if(!h)return;const p=tt.from("getAllResponseHeaders"in h&&h.getAllResponseHeaders()),E={data:!i||i==="text"||i==="json"?h.responseText:h.response,status:h.status,statusText:h.statusText,headers:p,config:e,request:h};pf(function(v){r(v),c()},function(v){n(v),c()},E),h=null}if("onloadend"in h?h.onloadend=d:h.onreadystatechange=function(){!h||h.readyState!==4||h.status===0&&!(h.responseURL&&h.responseURL.indexOf("file:")===0)||setTimeout(d)},h.onabort=function(){h&&(n(new de("Request aborted",de.ECONNABORTED,e,h)),h=null)},h.onerror=function(){n(new de("Network Error",de.ERR_NETWORK,e,h)),h=null},h.ontimeout=function(){let m=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const E=e.transitional||Hs;e.timeoutErrorMessage&&(m=e.timeoutErrorMessage),n(new de(m,E.clarifyTimeoutError?de.ETIMEDOUT:de.ECONNABORTED,e,h)),h=null},qe.hasStandardBrowserEnv&&(l&&M.isFunction(l)&&(l=l(e)),l||l!==!1&&Ef(s))){const p=e.xsrfHeaderName&&e.xsrfCookieName&&mf.read(e.xsrfCookieName);p&&a.set(e.xsrfHeaderName,p)}o===void 0&&a.setContentType(null),"setRequestHeader"in h&&M.forEach(a.toJSON(),function(m,E){h.setRequestHeader(E,m)}),M.isUndefined(e.withCredentials)||(h.withCredentials=!!e.withCredentials),i&&i!=="json"&&(h.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&h.addEventListener("progress",Vo(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&h.upload&&h.upload.addEventListener("progress",Vo(e.onUploadProgress)),(e.cancelToken||e.signal)&&(f=p=>{h&&(n(!p||p.type?new er(null,e,h):p),h.abort(),h=null)},e.cancelToken&&e.cancelToken.subscribe(f),e.signal&&(e.signal.aborted?f():e.signal.addEventListener("abort",f)));const x=bf(s);if(x&&qe.protocols.indexOf(x)===-1){n(new de("Unsupported protocol "+x+":",de.ERR_BAD_REQUEST,e));return}h.send(o||null)})},jn={http:qu,xhr:yf};M.forEach(jn,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const qo=e=>`- ${e}`,wf=e=>M.isFunction(e)||e===null||e===!1,Vs={getAdapter:e=>{e=M.isArray(e)?e:[e];const{length:t}=e;let r,n;const o={};for(let a=0;a`adapter ${l} `+(f===!1?"is not supported by the environment":"is not available in the build"));let i=t?a.length>1?`since : `+a.map(qo).join(` `):" "+qo(a[0]):"as no adapter specified";throw new de("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return n},adapters:jn};function yn(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new er(null,e)}function zo(e){return yn(e),e.headers=tt.from(e.headers),e.data=_n.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Vs.getAdapter(e.adapter||Ea.adapter)(e).then(function(n){return yn(e),n.data=_n.call(e,e.transformResponse,n),n.headers=tt.from(n.headers),n},function(n){return Gs(n)||(yn(e),n&&n.response&&(n.response.data=_n.call(e,e.transformResponse,n.response),n.response.headers=tt.from(n.response.headers))),Promise.reject(n)})}const Ko=e=>e instanceof tt?e.toJSON():e;function Dt(e,t){t=t||{};const r={};function n(c,u,h){return M.isPlainObject(c)&&M.isPlainObject(u)?M.merge.call({caseless:h},c,u):M.isPlainObject(u)?M.merge({},u):M.isArray(u)?u.slice():u}function o(c,u,h){if(M.isUndefined(u)){if(!M.isUndefined(c))return n(void 0,c,h)}else return n(c,u,h)}function a(c,u){if(!M.isUndefined(u))return n(void 0,u)}function i(c,u){if(M.isUndefined(u)){if(!M.isUndefined(c))return n(void 0,c)}else return n(void 0,u)}function l(c,u,h){if(h in t)return n(c,u);if(h in e)return n(void 0,c)}const f={url:a,method:a,data:a,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:l,headers:(c,u)=>o(Ko(c),Ko(u),!0)};return M.forEach(Object.keys(Object.assign({},e,t)),function(u){const h=f[u]||o,s=h(e[u],t[u],u);M.isUndefined(s)&&h!==l||(r[u]=s)}),r}const qs="1.6.7",ba={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{ba[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const Yo={};ba.transitional=function(t,r,n){function o(a,i){return"[Axios v"+qs+"] Transitional option '"+a+"'"+i+(n?". "+n:"")}return(a,i,l)=>{if(t===!1)throw new de(o(i," has been removed"+(r?" in "+r:"")),de.ERR_DEPRECATED);return r&&!Yo[i]&&(Yo[i]=!0,console.warn(o(i," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(a,i,l):!0}};function Af(e,t,r){if(typeof e!="object")throw new de("options must be an object",de.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let o=n.length;for(;o-- >0;){const a=n[o],i=t[a];if(i){const l=e[a],f=l===void 0||i(l,a,e);if(f!==!0)throw new de("option "+a+" must be "+f,de.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new de("Unknown option "+a,de.ERR_BAD_OPTION)}}const Gn={assertOptions:Af,validators:ba},ot=Gn.validators;class dr{constructor(t){this.defaults=t,this.interceptors={request:new Go,response:new Go}}async request(t,r){try{return await this._request(t,r)}catch(n){if(n instanceof Error){let o;Error.captureStackTrace?Error.captureStackTrace(o={}):o=new Error;const a=o.stack?o.stack.replace(/^.+\n/,""):"";n.stack?a&&!String(n.stack).endsWith(a.replace(/^.+\n.+\n/,""))&&(n.stack+=` `+a):n.stack=a}throw n}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=Dt(this.defaults,r);const{transitional:n,paramsSerializer:o,headers:a}=r;n!==void 0&&Gn.assertOptions(n,{silentJSONParsing:ot.transitional(ot.boolean),forcedJSONParsing:ot.transitional(ot.boolean),clarifyTimeoutError:ot.transitional(ot.boolean)},!1),o!=null&&(M.isFunction(o)?r.paramsSerializer={serialize:o}:Gn.assertOptions(o,{encode:ot.function,serialize:ot.function},!0)),r.method=(r.method||this.defaults.method||"get").toLowerCase();let i=a&&M.merge(a.common,a[r.method]);a&&M.forEach(["delete","get","head","post","put","patch","common"],x=>{delete a[x]}),r.headers=tt.concat(i,a);const l=[];let f=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(r)===!1||(f=f&&p.synchronous,l.unshift(p.fulfilled,p.rejected))});const c=[];this.interceptors.response.forEach(function(p){c.push(p.fulfilled,p.rejected)});let u,h=0,s;if(!f){const x=[zo.bind(this),void 0];for(x.unshift.apply(x,l),x.push.apply(x,c),s=x.length,u=Promise.resolve(r);h{if(!n._listeners)return;let a=n._listeners.length;for(;a-- >0;)n._listeners[a](o);n._listeners=null}),this.promise.then=o=>{let a;const i=new Promise(l=>{n.subscribe(l),a=l}).then(o);return i.cancel=function(){n.unsubscribe(a)},i},t(function(a,i,l){n.reason||(n.reason=new er(a,i,l),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}static source(){let t;return{token:new Ca(function(o){t=o}),cancel:t}}}const Sf=Ca;function Df(e){return function(r){return e.apply(null,r)}}function Bf(e){return M.isObject(e)&&e.isAxiosError===!0}const $n={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries($n).forEach(([e,t])=>{$n[t]=e});const Ff=$n;function zs(e){const t=new lr(e),r=Ds(lr.prototype.request,t);return M.extend(r,lr.prototype,t,{allOwnKeys:!0}),M.extend(r,t,null,{allOwnKeys:!0}),r.create=function(o){return zs(Dt(e,o))},r}const Ae=zs(Ea);Ae.Axios=lr;Ae.CanceledError=er;Ae.CancelToken=Sf;Ae.isCancel=Gs;Ae.VERSION=qs;Ae.toFormData=wr;Ae.AxiosError=de;Ae.Cancel=Ae.CanceledError;Ae.all=function(t){return Promise.all(t)};Ae.spread=Df;Ae.isAxiosError=Bf;Ae.mergeConfig=Dt;Ae.AxiosHeaders=tt;Ae.formToJSON=e=>js(M.isHTMLForm(e)?new FormData(e):e);Ae.getAdapter=Vs.getAdapter;Ae.HttpStatusCode=Ff;Ae.default=Ae;const Pf=Ae,hr=Pf.create({baseURL:"/api",timeout:2400*1e3});hr.interceptors.request.use(e=>{var o;const t=Kt().token,r=(o=Xs())==null?void 0:o.fingerprint,n=window.location.origin;return e.headers["X-Website-Domain"]=n,r&&(e.headers.Fingerprint=r),t&&(e.headers.Authorization=`Bearer ${t}`),e},e=>Promise.reject(e.response));hr.interceptors.response.use(e=>{if([200,201].includes(e.status))return e;throw new Error(e.status.toString())},e=>Promise.reject(e));let Xo=0;const kf=["/chatlog/chatList","/group/query"];function Tf(e){return e?kf.some(t=>e.includes(t)):!1}function Ks({url:e,data:t,method:r,headers:n,onDownloadProgress:o,signal:a,beforeRequest:i,afterRequest:l}){const f=h=>{const s=Kt(),{code:d}=h.data;return d>=200&&d<300||!d?h.data:(d===401&&(s.removeToken(),window.location.reload()),Promise.reject(h.data))},c=h=>{var p,m,E,g,v,b;const s=Kt();let d="";if((p=h.response)!=null&&p.data&&(d=h.response.data),l==null||l(),((m=h==null?void 0:h.response)==null?void 0:m.status)===401){if(s.removeToken(),!Tf((E=h==null?void 0:h.request)==null?void 0:E.responseURL)){s.loadInit&&s.setLoginDialog(!0);const y=((g=h.response.data)==null?void 0:g.message)||"请先登录后再进行使用!";Date.now()-Xo>3e3&&window.$message.error(y)}Xo=Date.now()}else d&&!(d!=null&&d.success)&&window.$message.error((d==null?void 0:d.message)||"请求接口错误!");throw new Error(((b=(v=h.response)==null?void 0:v.data)==null?void 0:b.message)||h||"Error")};i==null||i(),r=r||"GET";const u=Object.assign(typeof t=="function"?t():t??{},{});return r==="GET"?hr.get(e,{params:u,signal:a,onDownloadProgress:o}).then(f,c):hr.post(e,u,{headers:n,signal:a,onDownloadProgress:o}).then(f,c)}function we({url:e,data:t,method:r="GET",onDownloadProgress:n,signal:o,beforeRequest:a,afterRequest:i}){return Ks({url:e,method:r,data:t,onDownloadProgress:n,signal:o,beforeRequest:a,afterRequest:i})}function ge({url:e,data:t,method:r="POST",headers:n,onDownloadProgress:o,signal:a,beforeRequest:i,afterRequest:l}){return Ks({url:e,method:r,data:t,headers:n,onDownloadProgress:o,signal:a,beforeRequest:i,afterRequest:l})}function If(e){return ge({url:"/group/create",data:e})}function Lf(){return we({url:"/group/query"})}function Rf(e){return ge({url:"/group/update",data:e})}function Nf(e){return ge({url:"/group/del",data:e})}function Of(e){return ge({url:"/group/delAll",data:e})}const Vn="chatStorage";function Mf(){return{active:0,usingContext:!0,usingNetwork:!1,groupList:[],chatList:[],groupKeyWord:"",baseConfig:null,currentPlugin:void 0,pluginList:[]}}function Uf(){const e=Be.get(Vn);return{...Mf(),...e}}function Hf({active:e}){Be.set(Vn,{...Be.get(Vn),active:e})}function Wf(e){return ge({url:"/chatlog/del",data:e})}function jf(e){return ge({url:"/chatlog/delByGroupId",data:e})}function Gf(e){return we({url:"/chatlog/chatList",data:e})}function cm(){return we({url:"/models/list"})}function $f(){return we({url:"/models/baseConfig"})}function Vf(){return we({url:"/plugin/pluginList"})}const Ys=vt("chat-store",{state:()=>Uf(),getters:{activeConfig:e=>{var o;const t=e.active;if(!t)return{};const r=(o=e.groupList.find(a=>a.uuid===t))==null?void 0:o.config;return r?JSON.parse(r):e.baseConfig},activeGroupAppId:e=>{var r;const t=e.active;return t?(r=e.groupList.find(n=>n.uuid===t))==null?void 0:r.appId:null},activeModel(e){var t,r;return(r=(t=this.activeConfig)==null?void 0:t.modelInfo)==null?void 0:r.model},activeModelName(e){var t,r;return(r=(t=this.activeConfig)==null?void 0:t.modelInfo)==null?void 0:r.modelName},activeModelAvatar(e){var t,r;return(r=(t=this.activeConfig)==null?void 0:t.modelInfo)==null?void 0:r.modelAvatar},activeModelDeductType(e){var t,r;return(r=(t=this.activeConfig)==null?void 0:t.modelInfo)==null?void 0:r.deductType},activeModelKeyType(e){var t,r;return(r=(t=this.activeConfig)==null?void 0:t.modelInfo)==null?void 0:r.keyType},activeModelFileUpload(e){var t,r;return(r=(t=this.activeConfig)==null?void 0:t.modelInfo)==null?void 0:r.isFileUpload},activeModelPrice(e){var t,r;return(r=(t=this.activeConfig)==null?void 0:t.modelInfo)==null?void 0:r.deduct}},actions:{async queryPlugins(){try{const e=await Vf();e.success&&e.code===200&&(this.pluginList=e.data.rows.filter(t=>t.isEnabled===1).map(t=>({pluginId:t.id,pluginName:t.name,description:t.description,pluginImg:t.pluginImg,parameters:t.parameters})))}catch{}},setGroupKeyWord(e){this.groupKeyWord=e},getChatByGroupInfo(){if(this.active)return this.groupList.find(e=>e.uuid===this.active)},getConfigFromUuid(e){var t;return(t=this.groupList.find(r=>r.uuid===e))==null?void 0:t.config},async addNewChatGroup(e=0,t){console.log("开始新增新的对话组",{appId:e,modelConfig:t});try{const r=await If({appId:e,modelConfig:t});console.log("创建对话组API响应:",r);const{id:n}=r.data;console.log("新对话组ID:",n),this.active=n,console.log("重置chatList并设置active:",{chatList:this.chatList,active:this.active}),console.log("设置活动对话组完成"),await this.queryMyGroup(),console.log("查询我的对话组完成"),await this.setActiveGroup(n),this.chatList=[],console.log("记录状态完成")}catch(r){console.error("新增对话组时出错:",r)}},async getBaseModelConfig(){const e=await $f();this.baseConfig=e==null?void 0:e.data},async queryMyGroup(){const e=await Lf();this.groupList=[...e.data.map(r=>{const{id:n,title:o,isSticky:a,createdAt:i,updatedAt:l,appId:f,config:c,appLogo:u,isFixedModel:h,isGpts:s}=r;return{uuid:n,title:o,isEdit:!1,appId:f,config:c,isSticky:a,appLogo:u,createdAt:i,isFixedModel:h,isGpts:s,updatedAt:new Date(l).getTime()}})];const t=this.groupList.some(r=>Number(r.uuid)===Number(this.active));(!this.active||!t)&&this.groupList.length&&this.setActiveGroup(this.groupList[0].uuid),this.recordState()},async updateGroupInfo(e){await Rf(e),await this.queryMyGroup()},async setActiveGroup(e){this.active=e,this.active?await this.queryActiveChatLogList():this.chatList=[],this.groupList.forEach(t=>t.isEdit=!1),this.recordState()},async deleteGroup(e){const t=this.groupList.findIndex(n=>n.uuid===e.uuid),{uuid:r}=e;await Nf({groupId:r}),await this.queryMyGroup(),this.groupList.length===0&&await this.setActiveGroup(0),t>0&&t0&&await this.setActiveGroup(this.groupList[0].uuid),(t>this.groupList.length||t===0&&this.groupList.length===0)&&await this.setActiveGroup(0),t>0&&t===this.groupList.length&&await this.setActiveGroup(this.groupList[t-1].uuid),this.recordState()},async delAllGroup(){!this.active||!this.groupList.length||(await Of(),await this.queryMyGroup(),this.groupList.length===0?await this.setActiveGroup(0):await this.setActiveGroup(this.groupList[0].uuid))},async queryActiveChatLogList(){if(!this.active||Number(this.active)===0)return;const e=await Gf({groupId:this.active});this.chatList=e.data,this.recordState()},addGroupChat(e){this.chatList=[...this.chatList,e]},updateGroupChat(e,t){this.chatList[e]={...this.chatList[e],...t}},updateGroupChatSome(e,t){this.chatList[e]={...this.chatList[e],...t}},async deleteChatById(e){e&&(await Wf({id:e}),await this.queryActiveChatLogList())},setUsingContext(e){this.usingContext=e,this.recordState()},setUsingNetwork(e){this.usingNetwork=e,this.recordState()},setUsingPlugin(e){this.currentPlugin=e||void 0,this.recordState()},setStreamIn(e){this.isStreamIn=e,this.recordState()},async clearChatByGroupId(){this.active&&(await jf({groupId:this.active}),await this.queryActiveChatLogList())},recordState(){Hf(this.$state)},clearChat(){this.chatList=[],this.groupList=[],this.active=0,this.recordState()}}});function lm(){return we({url:"/app/queryCats"})}function um(){return we({url:"/app/list"})}function fm(e){return ge({url:"/app/searchList",data:e})}function qf(){return we({url:"/app/mineApps"})}function dm(e){return ge({url:"/app/collect",data:e})}function hm(e){return we({url:"/app/queryOneCat",data:e})}const xm=vt("app-cat-store",{state:()=>({catId:0,mineApps:[]}),actions:{setCatId(e){this.catId=e},async queryMineApps(){var t;const e=await qf();this.mineApps=((t=e==null?void 0:e.data)==null?void 0:t.rows)||[]}}});function pm(e){return ge({url:"/chatgpt/chat-process",data:{model:e.model,modelName:e.modelName,modelType:e.modelType,prompt:e.prompt,fileInfo:e==null?void 0:e.fileInfo,extraParam:e==null?void 0:e.extraParam,appId:e==null?void 0:e.appId,options:e.options,action:e==null?void 0:e.action,customId:e==null?void 0:e.customId,usingPluginId:e==null?void 0:e.usingPluginId,drawId:e==null?void 0:e.drawId,modelAvatar:e==null?void 0:e.modelAvatar},signal:e.signal,onDownloadProgress:e.onDownloadProgress})}function mm(e){return ge({url:"/chatgpt/tts-process",data:e})}function zf(){return we({url:"/auth/getInfo"})}function gm(e){return ge({url:"/auth/register",data:e})}function vm(e){return ge({url:"/auth/login",data:e})}function Em(e){return ge({url:"/user/update",data:e})}function bm(e){return ge({url:"/auth/updatePassword",data:e})}function Cm(e){return ge({url:"/chatgpt/chat-sync",data:{prompt:e.prompt,options:e.options},signal:e.signal,onDownloadProgress:e.onDownloadProgress})}function _m(e){return ge({url:"/chatgpt/chat-mind",data:{prompt:e.prompt,options:e.options},signal:e.signal,onDownloadProgress:e.onDownloadProgress})}function ym(e){return ge({url:"/chatgpt/mj-fy",data:{prompt:e.prompt,options:e.options},signal:e.signal,onDownloadProgress:e.onDownloadProgress})}function wm(e){return we({url:"/midjourney/drawList",data:e})}function Am(){return we({url:"/midjourney/queryPrompts"})}function Sm(e){return we({url:"/midjourney/getFullPrompt",data:e})}function Dm(e){return ge({url:"/midjourney/delete",data:e})}function Bm(e){return we({url:"/midjourney/getList",data:e})}function Fm(e){return ge({url:"/auth/captcha",data:e})}function Pm(e){return ge({url:"/auth/sendCode",data:e})}function km(e){return we({url:"/balance/rechargeLog",data:e})}function Kf(){return we({url:"/balance/query"})}function Tm(){return we({url:"/balance/getVisitorCount"})}function Im(){return ge({url:"/balance/inheritVisitorData"})}function Yf(e){return we({url:"/config/queryFronet",data:e})}function Lm(e){return we({url:"/menu/list",data:e})}const _a="SECRET_TOKEN";function Xf(){return Be.get(_a)}function Qf(e){return Be.set(_a,e)}function wn(){return Be.remove(_a)}const Kt=vt("auth-store",{state:()=>({token:Xf(),loginDialog:!1,globalConfigLoading:!0,userInfo:{},userBalance:{},globalConfig:{},loadInit:!1}),getters:{isLogin:e=>!!e.token},actions:{async getUserInfo(){try{this.loadInit||await this.getglobalConfig();const e=await zf();if(!e)return Promise.resolve(e);const{data:t}=e,{userInfo:r,userBalance:n}=t;return this.userInfo={...r},this.userBalance={...n},Promise.resolve(t)}catch(e){return Promise.reject(e)}},updateUserBalance(e){this.userBalance=e},async getUserBalance(){const e=await Kf(),{success:t,data:r}=e;t&&(this.userBalance=r)},async getglobalConfig(e=""){const t=await Yf({domain:e});this.globalConfig=t.data,this.globalConfigLoading=!1,this.loadInit=!0},setToken(e){this.token=e,Qf(e)},removeToken(){this.token=void 0,wn()},setLoginDialog(e){this.loginDialog=e},logOut(){this.token=void 0,wn(),this.userInfo={},this.userBalance={},Ys().clearChat()},updatePasswordSuccess(){this.token=void 0,wn(),this.userInfo={},this.userBalance={},this.loginDialog=!0}}});function Jf(){return Kt(Sr)}const Xs=vt("global-store",{state:()=>({payDialog:!1,goodsDialog:!1,noticeDialog:!1,bindWxDialog:!1,signInDialog:!1,isChatIn:!1,fingerprint:0,model:Be.get("model")||3,orderInfo:{},iframeUrl:"",clipboardText:""}),actions:{updateClipboardText(e){this.clipboardText=e},updateFingerprint(e){let t=e;t>2147483647&&(t=Number(t.toString().slice(-9)),t=Number(String(Number(t)))),Be.set("fingerprint",t),this.fingerprint=t},updateIframeUrl(e){this.iframeUrl=e},updatePayDialog(e){this.payDialog=e},updateIsChatIn(e){this.isChatIn=e},updateGoodsDialog(e){this.goodsDialog=e},updateBindwxDialog(e){this.bindWxDialog=e},updateSignInDialog(e){this.signInDialog=e},updateNoticeDialog(e){this.noticeDialog=e},updateOrderInfo(e){this.orderInfo=e},updateModel(e){Be.set("model",e),this.model=e}}});function Zf(){return Xs(Sr)}const Qs="promptStore";function ed(){return Be.get(Qs)??{promptList:[]}}function td(e){Be.set(Qs,e)}vt("prompt-store",{state:()=>ed(),actions:{updatePromptList(e){this.$patch({promptList:e}),td({promptList:e})},getPromptList(){return this.$state}}});const ya="settingsStorage";function Js(){return{systemMessage:""}}function rd(){const e=Be.get(ya);return{...Js(),...e}}function nd(e){Be.set(ya,e)}function ad(){Be.remove(ya)}vt("setting-store",{state:()=>rd(),actions:{updateSetting(e){this.$state={...this.$state,...e},this.recordState()},resetSetting(){this.$state=Js(),ad()},recordState(){nd(this.$state)}}});const Sr=yl();function od(e){e.use(Sr)}/*! * shared v9.10.1 * (c) 2024 kazuya kawaguchi * Released under the MIT License. */const xr=typeof window<"u",ht=(e,t=!1)=>t?Symbol.for(e):Symbol(e),id=(e,t,r)=>sd({l:e,k:t,s:r}),sd=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Se=e=>typeof e=="number"&&isFinite(e),cd=e=>e0(e)==="[object Date]",ft=e=>e0(e)==="[object RegExp]",Dr=e=>ne(e)&&Object.keys(e).length===0,ke=Object.assign;let Qo;const et=()=>Qo||(Qo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Jo(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const ld=Object.prototype.hasOwnProperty;function pr(e,t){return ld.call(e,t)}const be=Array.isArray,Ee=e=>typeof e=="function",V=e=>typeof e=="string",le=e=>typeof e=="boolean",xe=e=>e!==null&&typeof e=="object",ud=e=>xe(e)&&Ee(e.then)&&Ee(e.catch),Zs=Object.prototype.toString,e0=e=>Zs.call(e),ne=e=>{if(!xe(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},fd=e=>e==null?"":be(e)||ne(e)&&e.toString===Zs?JSON.stringify(e,null,2):String(e);function dd(e,t=""){return e.reduce((r,n,o)=>o===0?r+n:r+t+n,"")}function wa(e){let t=e;return()=>++t}function hd(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const rr=e=>!xe(e)||be(e);function ur(e,t){if(rr(e)||rr(t))throw new Error("Invalid value");const r=[{src:e,des:t}];for(;r.length;){const{src:n,des:o}=r.pop();Object.keys(n).forEach(a=>{rr(n[a])||rr(o[a])?o[a]=n[a]:r.push({src:n[a],des:o[a]})})}}/*! * message-compiler v9.10.1 * (c) 2024 kazuya kawaguchi * Released under the MIT License. */function xd(e,t,r){return{line:e,column:t,offset:r}}function qn(e,t,r){const n={start:e,end:t};return r!=null&&(n.source=r),n}const pd=/\{([0-9a-zA-Z]+)\}/g;function md(e,...t){return t.length===1&&gd(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(pd,(r,n)=>t.hasOwnProperty(n)?t[n]:"")}const t0=Object.assign,Zo=e=>typeof e=="string",gd=e=>e!==null&&typeof e=="object";function r0(e,t=""){return e.reduce((r,n,o)=>o===0?r+n:r+t+n,"")}const Z={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},vd={[Z.EXPECTED_TOKEN]:"Expected token: '{0}'",[Z.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[Z.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[Z.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[Z.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[Z.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[Z.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[Z.EMPTY_PLACEHOLDER]:"Empty placeholder",[Z.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[Z.INVALID_LINKED_FORMAT]:"Invalid linked format",[Z.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[Z.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[Z.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[Z.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[Z.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[Z.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function Lt(e,t,r={}){const{domain:n,messages:o,args:a}=r,i=md((o||vd)[e]||"",...a||[]),l=new SyntaxError(String(i));return l.code=e,t&&(l.location=t),l.domain=n,l}function Ed(e){throw e}const Xe=" ",bd="\r",Le=` `,Cd=String.fromCharCode(8232),_d=String.fromCharCode(8233);function yd(e){const t=e;let r=0,n=1,o=1,a=0;const i=A=>t[A]===bd&&t[A+1]===Le,l=A=>t[A]===Le,f=A=>t[A]===_d,c=A=>t[A]===Cd,u=A=>i(A)||l(A)||f(A)||c(A),h=()=>r,s=()=>n,d=()=>o,x=()=>a,p=A=>i(A)||f(A)||c(A)?Le:t[A],m=()=>p(r),E=()=>p(r+a);function g(){return a=0,u(r)&&(n++,o=0),i(r)&&r++,r++,o++,t[r]}function v(){return i(r+a)&&a++,a++,t[r+a]}function b(){r=0,n=1,o=1,a=0}function y(A=0){a=A}function _(){const A=r+a;for(;A!==r;)g();a=0}return{index:h,line:s,column:d,peekOffset:x,charAt:p,currentChar:m,currentPeek:E,next:g,peek:v,reset:b,resetPeek:y,skipToPeek:_}}const it=void 0,wd=".",ei="'",Ad="tokenizer";function Sd(e,t={}){const r=t.location!==!1,n=yd(e),o=()=>n.index(),a=()=>xd(n.line(),n.column(),n.index()),i=a(),l=o(),f={currentType:14,offset:l,startLoc:i,endLoc:i,lastType:14,lastOffset:l,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},c=()=>f,{onError:u}=t;function h(w,C,F,...H){const j=c();if(C.column+=F,C.offset+=F,u){const J=r?qn(j.startLoc,C):null,X=Lt(w,J,{domain:Ad,args:H});u(X)}}function s(w,C,F){w.endLoc=a(),w.currentType=C;const H={type:C};return r&&(H.loc=qn(w.startLoc,w.endLoc)),F!=null&&(H.value=F),H}const d=w=>s(w,14);function x(w,C){return w.currentChar()===C?(w.next(),C):(h(Z.EXPECTED_TOKEN,a(),0,C),"")}function p(w){let C="";for(;w.currentPeek()===Xe||w.currentPeek()===Le;)C+=w.currentPeek(),w.peek();return C}function m(w){const C=p(w);return w.skipToPeek(),C}function E(w){if(w===it)return!1;const C=w.charCodeAt(0);return C>=97&&C<=122||C>=65&&C<=90||C===95}function g(w){if(w===it)return!1;const C=w.charCodeAt(0);return C>=48&&C<=57}function v(w,C){const{currentType:F}=C;if(F!==2)return!1;p(w);const H=E(w.currentPeek());return w.resetPeek(),H}function b(w,C){const{currentType:F}=C;if(F!==2)return!1;p(w);const H=w.currentPeek()==="-"?w.peek():w.currentPeek(),j=g(H);return w.resetPeek(),j}function y(w,C){const{currentType:F}=C;if(F!==2)return!1;p(w);const H=w.currentPeek()===ei;return w.resetPeek(),H}function _(w,C){const{currentType:F}=C;if(F!==8)return!1;p(w);const H=w.currentPeek()===".";return w.resetPeek(),H}function A(w,C){const{currentType:F}=C;if(F!==9)return!1;p(w);const H=E(w.currentPeek());return w.resetPeek(),H}function D(w,C){const{currentType:F}=C;if(!(F===8||F===12))return!1;p(w);const H=w.currentPeek()===":";return w.resetPeek(),H}function B(w,C){const{currentType:F}=C;if(F!==10)return!1;const H=()=>{const J=w.currentPeek();return J==="{"?E(w.peek()):J==="@"||J==="%"||J==="|"||J===":"||J==="."||J===Xe||!J?!1:J===Le?(w.peek(),H()):E(J)},j=H();return w.resetPeek(),j}function S(w){p(w);const C=w.currentPeek()==="|";return w.resetPeek(),C}function P(w){const C=p(w),F=w.currentPeek()==="%"&&w.peek()==="{";return w.resetPeek(),{isModulo:F,hasSpace:C.length>0}}function k(w,C=!0){const F=(j=!1,J="",X=!1)=>{const Q=w.currentPeek();return Q==="{"?J==="%"?!1:j:Q==="@"||!Q?J==="%"?!0:j:Q==="%"?(w.peek(),F(j,"%",!0)):Q==="|"?J==="%"||X?!0:!(J===Xe||J===Le):Q===Xe?(w.peek(),F(!0,Xe,X)):Q===Le?(w.peek(),F(!0,Le,X)):!0},H=F();return C&&w.resetPeek(),H}function I(w,C){const F=w.currentChar();return F===it?it:C(F)?(w.next(),F):null}function K(w){return I(w,F=>{const H=F.charCodeAt(0);return H>=97&&H<=122||H>=65&&H<=90||H>=48&&H<=57||H===95||H===36})}function Y(w){return I(w,F=>{const H=F.charCodeAt(0);return H>=48&&H<=57})}function q(w){return I(w,F=>{const H=F.charCodeAt(0);return H>=48&&H<=57||H>=65&&H<=70||H>=97&&H<=102})}function se(w){let C="",F="";for(;C=Y(w);)F+=C;return F}function oe(w){m(w);const C=w.currentChar();return C!=="%"&&h(Z.EXPECTED_TOKEN,a(),0,C),w.next(),"%"}function ce(w){let C="";for(;;){const F=w.currentChar();if(F==="{"||F==="}"||F==="@"||F==="|"||!F)break;if(F==="%")if(k(w))C+=F,w.next();else break;else if(F===Xe||F===Le)if(k(w))C+=F,w.next();else{if(S(w))break;C+=F,w.next()}else C+=F,w.next()}return C}function ae(w){m(w);let C="",F="";for(;C=K(w);)F+=C;return w.currentChar()===it&&h(Z.UNTERMINATED_CLOSING_BRACE,a(),0),F}function L(w){m(w);let C="";return w.currentChar()==="-"?(w.next(),C+=`-${se(w)}`):C+=se(w),w.currentChar()===it&&h(Z.UNTERMINATED_CLOSING_BRACE,a(),0),C}function U(w){m(w),x(w,"'");let C="",F="";const H=J=>J!==ei&&J!==Le;for(;C=I(w,H);)C==="\\"?F+=W(w):F+=C;const j=w.currentChar();return j===Le||j===it?(h(Z.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,a(),0),j===Le&&(w.next(),x(w,"'")),F):(x(w,"'"),F)}function W(w){const C=w.currentChar();switch(C){case"\\":case"'":return w.next(),`\\${C}`;case"u":return N(w,C,4);case"U":return N(w,C,6);default:return h(Z.UNKNOWN_ESCAPE_SEQUENCE,a(),0,C),""}}function N(w,C,F){x(w,C);let H="";for(let j=0;jj!=="{"&&j!=="}"&&j!==Xe&&j!==Le;for(;C=I(w,H);)F+=C;return F}function te(w){let C="",F="";for(;C=K(w);)F+=C;return F}function T(w){const C=(F=!1,H)=>{const j=w.currentChar();return j==="{"||j==="%"||j==="@"||j==="|"||j==="("||j===")"||!j||j===Xe?H:j===Le||j===wd?(H+=j,w.next(),C(F,H)):(H+=j,w.next(),C(!0,H))};return C(!1,"")}function O(w){m(w);const C=x(w,"|");return m(w),C}function $(w,C){let F=null;switch(w.currentChar()){case"{":return C.braceNest>=1&&h(Z.NOT_ALLOW_NEST_PLACEHOLDER,a(),0),w.next(),F=s(C,2,"{"),m(w),C.braceNest++,F;case"}":return C.braceNest>0&&C.currentType===2&&h(Z.EMPTY_PLACEHOLDER,a(),0),w.next(),F=s(C,3,"}"),C.braceNest--,C.braceNest>0&&m(w),C.inLinked&&C.braceNest===0&&(C.inLinked=!1),F;case"@":return C.braceNest>0&&h(Z.UNTERMINATED_CLOSING_BRACE,a(),0),F=z(w,C)||d(C),C.braceNest=0,F;default:let j=!0,J=!0,X=!0;if(S(w))return C.braceNest>0&&h(Z.UNTERMINATED_CLOSING_BRACE,a(),0),F=s(C,1,O(w)),C.braceNest=0,C.inLinked=!1,F;if(C.braceNest>0&&(C.currentType===5||C.currentType===6||C.currentType===7))return h(Z.UNTERMINATED_CLOSING_BRACE,a(),0),C.braceNest=0,ie(w,C);if(j=v(w,C))return F=s(C,5,ae(w)),m(w),F;if(J=b(w,C))return F=s(C,6,L(w)),m(w),F;if(X=y(w,C))return F=s(C,7,U(w)),m(w),F;if(!j&&!J&&!X)return F=s(C,13,ue(w)),h(Z.INVALID_TOKEN_IN_PLACEHOLDER,a(),0,F.value),m(w),F;break}return F}function z(w,C){const{currentType:F}=C;let H=null;const j=w.currentChar();switch((F===8||F===9||F===12||F===10)&&(j===Le||j===Xe)&&h(Z.INVALID_LINKED_FORMAT,a(),0),j){case"@":return w.next(),H=s(C,8,"@"),C.inLinked=!0,H;case".":return m(w),w.next(),s(C,9,".");case":":return m(w),w.next(),s(C,10,":");default:return S(w)?(H=s(C,1,O(w)),C.braceNest=0,C.inLinked=!1,H):_(w,C)||D(w,C)?(m(w),z(w,C)):A(w,C)?(m(w),s(C,12,te(w))):B(w,C)?(m(w),j==="{"?$(w,C)||H:s(C,11,T(w))):(F===8&&h(Z.INVALID_LINKED_FORMAT,a(),0),C.braceNest=0,C.inLinked=!1,ie(w,C))}}function ie(w,C){let F={type:14};if(C.braceNest>0)return $(w,C)||d(C);if(C.inLinked)return z(w,C)||d(C);switch(w.currentChar()){case"{":return $(w,C)||d(C);case"}":return h(Z.UNBALANCED_CLOSING_BRACE,a(),0),w.next(),s(C,3,"}");case"@":return z(w,C)||d(C);default:if(S(w))return F=s(C,1,O(w)),C.braceNest=0,C.inLinked=!1,F;const{isModulo:j,hasSpace:J}=P(w);if(j)return J?s(C,0,ce(w)):s(C,4,oe(w));if(k(w))return s(C,0,ce(w));break}return F}function ee(){const{currentType:w,offset:C,startLoc:F,endLoc:H}=f;return f.lastType=w,f.lastOffset=C,f.lastStartLoc=F,f.lastEndLoc=H,f.offset=o(),f.startLoc=a(),n.currentChar()===it?s(f,14):ie(n,f)}return{nextToken:ee,currentOffset:o,currentPosition:a,context:c}}const Dd="parser",Bd=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Fd(e,t,r){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const n=parseInt(t||r,16);return n<=55295||n>=57344?String.fromCodePoint(n):"�"}}}function Pd(e={}){const t=e.location!==!1,{onError:r}=e;function n(E,g,v,b,...y){const _=E.currentPosition();if(_.offset+=b,_.column+=b,r){const A=t?qn(v,_):null,D=Lt(g,A,{domain:Dd,args:y});r(D)}}function o(E,g,v){const b={type:E};return t&&(b.start=g,b.end=g,b.loc={start:v,end:v}),b}function a(E,g,v,b){b&&(E.type=b),t&&(E.end=g,E.loc&&(E.loc.end=v))}function i(E,g){const v=E.context(),b=o(3,v.offset,v.startLoc);return b.value=g,a(b,E.currentOffset(),E.currentPosition()),b}function l(E,g){const v=E.context(),{lastOffset:b,lastStartLoc:y}=v,_=o(5,b,y);return _.index=parseInt(g,10),E.nextToken(),a(_,E.currentOffset(),E.currentPosition()),_}function f(E,g){const v=E.context(),{lastOffset:b,lastStartLoc:y}=v,_=o(4,b,y);return _.key=g,E.nextToken(),a(_,E.currentOffset(),E.currentPosition()),_}function c(E,g){const v=E.context(),{lastOffset:b,lastStartLoc:y}=v,_=o(9,b,y);return _.value=g.replace(Bd,Fd),E.nextToken(),a(_,E.currentOffset(),E.currentPosition()),_}function u(E){const g=E.nextToken(),v=E.context(),{lastOffset:b,lastStartLoc:y}=v,_=o(8,b,y);return g.type!==12?(n(E,Z.UNEXPECTED_EMPTY_LINKED_MODIFIER,v.lastStartLoc,0),_.value="",a(_,b,y),{nextConsumeToken:g,node:_}):(g.value==null&&n(E,Z.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Ve(g)),_.value=g.value||"",a(_,E.currentOffset(),E.currentPosition()),{node:_})}function h(E,g){const v=E.context(),b=o(7,v.offset,v.startLoc);return b.value=g,a(b,E.currentOffset(),E.currentPosition()),b}function s(E){const g=E.context(),v=o(6,g.offset,g.startLoc);let b=E.nextToken();if(b.type===9){const y=u(E);v.modifier=y.node,b=y.nextConsumeToken||E.nextToken()}switch(b.type!==10&&n(E,Z.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,Ve(b)),b=E.nextToken(),b.type===2&&(b=E.nextToken()),b.type){case 11:b.value==null&&n(E,Z.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,Ve(b)),v.key=h(E,b.value||"");break;case 5:b.value==null&&n(E,Z.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,Ve(b)),v.key=f(E,b.value||"");break;case 6:b.value==null&&n(E,Z.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,Ve(b)),v.key=l(E,b.value||"");break;case 7:b.value==null&&n(E,Z.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,Ve(b)),v.key=c(E,b.value||"");break;default:n(E,Z.UNEXPECTED_EMPTY_LINKED_KEY,g.lastStartLoc,0);const y=E.context(),_=o(7,y.offset,y.startLoc);return _.value="",a(_,y.offset,y.startLoc),v.key=_,a(v,y.offset,y.startLoc),{nextConsumeToken:b,node:v}}return a(v,E.currentOffset(),E.currentPosition()),{node:v}}function d(E){const g=E.context(),v=g.currentType===1?E.currentOffset():g.offset,b=g.currentType===1?g.endLoc:g.startLoc,y=o(2,v,b);y.items=[];let _=null;do{const B=_||E.nextToken();switch(_=null,B.type){case 0:B.value==null&&n(E,Z.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,Ve(B)),y.items.push(i(E,B.value||""));break;case 6:B.value==null&&n(E,Z.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,Ve(B)),y.items.push(l(E,B.value||""));break;case 5:B.value==null&&n(E,Z.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,Ve(B)),y.items.push(f(E,B.value||""));break;case 7:B.value==null&&n(E,Z.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,Ve(B)),y.items.push(c(E,B.value||""));break;case 8:const S=s(E);y.items.push(S.node),_=S.nextConsumeToken||null;break}}while(g.currentType!==14&&g.currentType!==1);const A=g.currentType===1?g.lastOffset:E.currentOffset(),D=g.currentType===1?g.lastEndLoc:E.currentPosition();return a(y,A,D),y}function x(E,g,v,b){const y=E.context();let _=b.items.length===0;const A=o(1,g,v);A.cases=[],A.cases.push(b);do{const D=d(E);_||(_=D.items.length===0),A.cases.push(D)}while(y.currentType!==14);return _&&n(E,Z.MUST_HAVE_MESSAGES_IN_PLURAL,v,0),a(A,E.currentOffset(),E.currentPosition()),A}function p(E){const g=E.context(),{offset:v,startLoc:b}=g,y=d(E);return g.currentType===14?y:x(E,v,b,y)}function m(E){const g=Sd(E,t0({},e)),v=g.context(),b=o(0,v.offset,v.startLoc);return t&&b.loc&&(b.loc.source=E),b.body=p(g),e.onCacheKey&&(b.cacheKey=e.onCacheKey(E)),v.currentType!==14&&n(g,Z.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,E[v.offset]||""),a(b,g.currentOffset(),g.currentPosition()),b}return{parse:m}}function Ve(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function kd(e,t={}){const r={ast:e,helpers:new Set};return{context:()=>r,helper:a=>(r.helpers.add(a),a)}}function ti(e,t){for(let r=0;rri(r)),e}function ri(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let r=0;rl;function c(m,E){l.code+=m}function u(m,E=!0){const g=E?o:"";c(a?g+" ".repeat(m):g)}function h(m=!0){const E=++l.indentLevel;m&&u(E)}function s(m=!0){const E=--l.indentLevel;m&&u(E)}function d(){u(l.indentLevel)}return{context:f,push:c,indent:h,deindent:s,newline:d,helper:m=>`_${m}`,needIndent:()=>l.needIndent}}function Od(e,t){const{helper:r}=e;e.push(`${r("linked")}(`),Bt(e,t.key),t.modifier?(e.push(", "),Bt(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function Md(e,t){const{helper:r,needIndent:n}=e;e.push(`${r("normalize")}([`),e.indent(n());const o=t.items.length;for(let a=0;a1){e.push(`${r("plural")}([`),e.indent(n());const o=t.cases.length;for(let a=0;a{const r=Zo(t.mode)?t.mode:"normal",n=Zo(t.filename)?t.filename:"message.intl",o=!!t.sourceMap,a=t.breakLineCode!=null?t.breakLineCode:r==="arrow"?";":` `,i=t.needIndent?t.needIndent:r!=="arrow",l=e.helpers||[],f=Nd(e,{mode:r,filename:n,sourceMap:o,breakLineCode:a,needIndent:i});f.push(r==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),f.indent(i),l.length>0&&(f.push(`const { ${r0(l.map(h=>`${h}: _${h}`),", ")} } = ctx`),f.newline()),f.push("return "),Bt(f,e),f.deindent(i),f.push("}"),delete e.helpers;const{code:c,map:u}=f.context();return{ast:e,code:c,map:u?u.toJSON():void 0}};function jd(e,t={}){const r=t0({},t),n=!!r.jit,o=!!r.minify,a=r.optimize==null?!0:r.optimize,l=Pd(r).parse(e);return n?(a&&Id(l),o&&_t(l),{ast:l,code:""}):(Td(l,r),Wd(l,r))}/*! * core-base v9.10.1 * (c) 2024 kazuya kawaguchi * Released under the MIT License. */function Gd(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(et().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(et().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(et().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const xt=[];xt[0]={w:[0],i:[3,0],"[":[4],o:[7]};xt[1]={w:[1],".":[2],"[":[4],o:[7]};xt[2]={w:[2],i:[3,0],0:[3,0]};xt[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};xt[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};xt[5]={"'":[4,0],o:8,l:[5,0]};xt[6]={'"':[4,0],o:8,l:[6,0]};const $d=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Vd(e){return $d.test(e)}function qd(e){const t=e.charCodeAt(0),r=e.charCodeAt(e.length-1);return t===r&&(t===34||t===39)?e.slice(1,-1):e}function zd(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function Kd(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:Vd(t)?qd(t):"*"+t}function Yd(e){const t=[];let r=-1,n=0,o=0,a,i,l,f,c,u,h;const s=[];s[0]=()=>{i===void 0?i=l:i+=l},s[1]=()=>{i!==void 0&&(t.push(i),i=void 0)},s[2]=()=>{s[0](),o++},s[3]=()=>{if(o>0)o--,n=4,s[0]();else{if(o=0,i===void 0||(i=Kd(i),i===!1))return!1;s[1]()}};function d(){const x=e[r+1];if(n===5&&x==="'"||n===6&&x==='"')return r++,l="\\"+x,s[0](),!0}for(;n!==null;)if(r++,a=e[r],!(a==="\\"&&d())){if(f=zd(a),h=xt[n],c=h[f]||h.l||8,c===8||(n=c[0],c[1]!==void 0&&(u=s[c[1]],u&&(l=a,u()===!1))))return;if(n===7)return t}}const ni=new Map;function Xd(e,t){return xe(e)?e[t]:null}function Qd(e,t){if(!xe(e))return null;let r=ni.get(t);if(r||(r=Yd(t),r&&ni.set(t,r)),!r)return null;const n=r.length;let o=e,a=0;for(;ae,Zd=e=>"",eh="text",th=e=>e.length===0?"":dd(e),rh=fd;function ai(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function nh(e){const t=Se(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Se(e.named.count)||Se(e.named.n))?Se(e.named.count)?e.named.count:Se(e.named.n)?e.named.n:t:t}function ah(e,t){t.count||(t.count=e),t.n||(t.n=e)}function oh(e={}){const t=e.locale,r=nh(e),n=xe(e.pluralRules)&&V(t)&&Ee(e.pluralRules[t])?e.pluralRules[t]:ai,o=xe(e.pluralRules)&&V(t)&&Ee(e.pluralRules[t])?ai:void 0,a=E=>E[n(r,E.length,o)],i=e.list||[],l=E=>i[E],f=e.named||{};Se(e.pluralIndex)&&ah(r,f);const c=E=>f[E];function u(E){const g=Ee(e.messages)?e.messages(E):xe(e.messages)?e.messages[E]:!1;return g||(e.parent?e.parent.message(E):Zd)}const h=E=>e.modifiers?e.modifiers[E]:Jd,s=ne(e.processor)&&Ee(e.processor.normalize)?e.processor.normalize:th,d=ne(e.processor)&&Ee(e.processor.interpolate)?e.processor.interpolate:rh,x=ne(e.processor)&&V(e.processor.type)?e.processor.type:eh,m={list:l,named:c,plural:a,linked:(E,...g)=>{const[v,b]=g;let y="text",_="";g.length===1?xe(v)?(_=v.modifier||_,y=v.type||y):V(v)&&(_=v||_):g.length===2&&(V(v)&&(_=v||_),V(b)&&(y=b||y));const A=u(E)(m),D=y==="vnode"&&be(A)&&_?A[0]:A;return _?h(_)(D,y):D},message:u,type:x,interpolate:d,normalize:s,values:ke({},i,f)};return m}let Yt=null;function ih(e){Yt=e}function sh(e,t,r){Yt&&Yt.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:r})}const ch=lh("function:translate");function lh(e){return t=>Yt&&Yt.emit(e,t)}const uh={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7,__EXTEND_POINT__:8},n0=Z.__EXTEND_POINT__,pt=wa(n0),Ge={INVALID_ARGUMENT:n0,INVALID_DATE_ARGUMENT:pt(),INVALID_ISO_DATE_ARGUMENT:pt(),NOT_SUPPORT_NON_STRING_MESSAGE:pt(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:pt(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:pt(),NOT_SUPPORT_LOCALE_TYPE:pt(),__EXTEND_POINT__:pt()};function ze(e){return Lt(e,null,void 0)}function Sa(e,t){return t.locale!=null?oi(t.locale):oi(e.locale)}let An;function oi(e){if(V(e))return e;if(Ee(e)){if(e.resolvedOnce&&An!=null)return An;if(e.constructor.name==="Function"){const t=e();if(ud(t))throw ze(Ge.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return An=t}else throw ze(Ge.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw ze(Ge.NOT_SUPPORT_LOCALE_TYPE)}function fh(e,t,r){return[...new Set([r,...be(t)?t:xe(t)?Object.keys(t):V(t)?[t]:[r]])]}function a0(e,t,r){const n=V(r)?r:Ft,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let a=o.__localeChainCache.get(n);if(!a){a=[];let i=[r];for(;be(i);)i=ii(a,i,t);const l=be(t)||!ne(t)?t:t.default?t.default:null;i=V(l)?[l]:l,be(i)&&ii(a,i,!1),o.__localeChainCache.set(n,a)}return a}function ii(e,t,r){let n=!0;for(let o=0;o`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function ph(){return{upper:(e,t)=>t==="text"&&V(e)?e.toUpperCase():t==="vnode"&&xe(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&V(e)?e.toLowerCase():t==="vnode"&&xe(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&V(e)?ci(e):t==="vnode"&&xe(e)&&"__v_isVNode"in e?ci(e.children):e}}let o0;function li(e){o0=e}let i0;function mh(e){i0=e}let s0;function gh(e){s0=e}let c0=null;const vh=e=>{c0=e},Eh=()=>c0;let l0=null;const ui=e=>{l0=e},bh=()=>l0;let fi=0;function Ch(e={}){const t=Ee(e.onWarn)?e.onWarn:hd,r=V(e.version)?e.version:xh,n=V(e.locale)||Ee(e.locale)?e.locale:Ft,o=Ee(n)?Ft:n,a=be(e.fallbackLocale)||ne(e.fallbackLocale)||V(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,i=ne(e.messages)?e.messages:{[o]:{}},l=ne(e.datetimeFormats)?e.datetimeFormats:{[o]:{}},f=ne(e.numberFormats)?e.numberFormats:{[o]:{}},c=ke({},e.modifiers||{},ph()),u=e.pluralRules||{},h=Ee(e.missing)?e.missing:null,s=le(e.missingWarn)||ft(e.missingWarn)?e.missingWarn:!0,d=le(e.fallbackWarn)||ft(e.fallbackWarn)?e.fallbackWarn:!0,x=!!e.fallbackFormat,p=!!e.unresolving,m=Ee(e.postTranslation)?e.postTranslation:null,E=ne(e.processor)?e.processor:null,g=le(e.warnHtmlMessage)?e.warnHtmlMessage:!0,v=!!e.escapeParameter,b=Ee(e.messageCompiler)?e.messageCompiler:o0,y=Ee(e.messageResolver)?e.messageResolver:i0||Xd,_=Ee(e.localeFallbacker)?e.localeFallbacker:s0||fh,A=xe(e.fallbackContext)?e.fallbackContext:void 0,D=e,B=xe(D.__datetimeFormatters)?D.__datetimeFormatters:new Map,S=xe(D.__numberFormatters)?D.__numberFormatters:new Map,P=xe(D.__meta)?D.__meta:{};fi++;const k={version:r,cid:fi,locale:n,fallbackLocale:a,messages:i,modifiers:c,pluralRules:u,missing:h,missingWarn:s,fallbackWarn:d,fallbackFormat:x,unresolving:p,postTranslation:m,processor:E,warnHtmlMessage:g,escapeParameter:v,messageCompiler:b,messageResolver:y,localeFallbacker:_,fallbackContext:A,onWarn:t,__meta:P};return k.datetimeFormats=l,k.numberFormats=f,k.__datetimeFormatters=B,k.__numberFormatters=S,__INTLIFY_PROD_DEVTOOLS__&&sh(k,r,P),k}function Da(e,t,r,n,o){const{missing:a,onWarn:i}=e;if(a!==null){const l=a(e,r,t,o);return V(l)?l:t}else return t}function Ot(e,t,r){const n=e;n.__localeChainCache=new Map,e.localeFallbacker(e,r,t)}function Sn(e){return r=>_h(r,e)}function _h(e,t){const r=t.b||t.body;if((r.t||r.type)===1){const n=r,o=n.c||n.cases;return e.plural(o.reduce((a,i)=>[...a,di(e,i)],[]))}else return di(e,r)}function di(e,t){const r=t.s||t.static;if(r)return e.type==="text"?r:e.normalize([r]);{const n=(t.i||t.items).reduce((o,a)=>[...o,zn(e,a)],[]);return e.normalize(n)}}function zn(e,t){const r=t.t||t.type;switch(r){case 3:const n=t;return n.v||n.value;case 9:const o=t;return o.v||o.value;case 4:const a=t;return e.interpolate(e.named(a.k||a.key));case 5:const i=t;return e.interpolate(e.list(i.i!=null?i.i:i.index));case 6:const l=t,f=l.m||l.modifier;return e.linked(zn(e,l.k||l.key),f?zn(e,f):void 0,e.type);case 7:const c=t;return c.v||c.value;case 8:const u=t;return u.v||u.value;default:throw new Error(`unhandled node type on format message part: ${r}`)}}const u0=e=>e;let At=Object.create(null);const Pt=e=>xe(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function f0(e,t={}){let r=!1;const n=t.onError||Ed;return t.onError=o=>{r=!0,n(o)},{...jd(e,t),detectError:r}}const yh=(e,t)=>{if(!V(e))throw ze(Ge.NOT_SUPPORT_NON_STRING_MESSAGE);{le(t.warnHtmlMessage)&&t.warnHtmlMessage;const n=(t.onCacheKey||u0)(e),o=At[n];if(o)return o;const{code:a,detectError:i}=f0(e,t),l=new Function(`return ${a}`)();return i?l:At[n]=l}};function wh(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&V(e)){le(t.warnHtmlMessage)&&t.warnHtmlMessage;const n=(t.onCacheKey||u0)(e),o=At[n];if(o)return o;const{ast:a,detectError:i}=f0(e,{...t,location:!1,jit:!0}),l=Sn(a);return i?l:At[n]=l}else{const r=e.cacheKey;if(r){const n=At[r];return n||(At[r]=Sn(e))}else return Sn(e)}}const hi=()=>"",Ue=e=>Ee(e);function xi(e,...t){const{fallbackFormat:r,postTranslation:n,unresolving:o,messageCompiler:a,fallbackLocale:i,messages:l}=e,[f,c]=Kn(...t),u=le(c.missingWarn)?c.missingWarn:e.missingWarn,h=le(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,s=le(c.escapeParameter)?c.escapeParameter:e.escapeParameter,d=!!c.resolvedMessage,x=V(c.default)||le(c.default)?le(c.default)?a?f:()=>f:c.default:r?a?f:()=>f:"",p=r||x!=="",m=Sa(e,c);s&&Ah(c);let[E,g,v]=d?[f,m,l[m]||{}]:d0(e,f,m,i,h,u),b=E,y=f;if(!d&&!(V(b)||Pt(b)||Ue(b))&&p&&(b=x,y=b),!d&&(!(V(b)||Pt(b)||Ue(b))||!V(g)))return o?Br:f;let _=!1;const A=()=>{_=!0},D=Ue(b)?b:h0(e,f,g,b,y,A);if(_)return b;const B=Bh(e,g,v,c),S=oh(B),P=Sh(e,D,S),k=n?n(P,f):P;if(__INTLIFY_PROD_DEVTOOLS__){const I={timestamp:Date.now(),key:V(f)?f:Ue(b)?b.key:"",locale:g||(Ue(b)?b.locale:""),format:V(b)?b:Ue(b)?b.source:"",message:k};I.meta=ke({},e.__meta,Eh()||{}),ch(I)}return k}function Ah(e){be(e.list)?e.list=e.list.map(t=>V(t)?Jo(t):t):xe(e.named)&&Object.keys(e.named).forEach(t=>{V(e.named[t])&&(e.named[t]=Jo(e.named[t]))})}function d0(e,t,r,n,o,a){const{messages:i,onWarn:l,messageResolver:f,localeFallbacker:c}=e,u=c(e,n,r);let h={},s,d=null;const x="translate";for(let p=0;pn;return c.locale=r,c.key=t,c}const f=i(n,Dh(e,r,o,n,l,a));return f.locale=r,f.key=t,f.source=n,f}function Sh(e,t,r){return t(r)}function Kn(...e){const[t,r,n]=e,o={};if(!V(t)&&!Se(t)&&!Ue(t)&&!Pt(t))throw ze(Ge.INVALID_ARGUMENT);const a=Se(t)?String(t):(Ue(t),t);return Se(r)?o.plural=r:V(r)?o.default=r:ne(r)&&!Dr(r)?o.named=r:be(r)&&(o.list=r),Se(n)?o.plural=n:V(n)?o.default=n:ne(n)&&ke(o,n),[a,o]}function Dh(e,t,r,n,o,a){return{locale:t,key:r,warnHtmlMessage:o,onError:i=>{throw a&&a(i),i},onCacheKey:i=>id(t,r,i)}}function Bh(e,t,r,n){const{modifiers:o,pluralRules:a,messageResolver:i,fallbackLocale:l,fallbackWarn:f,missingWarn:c,fallbackContext:u}=e,s={locale:t,modifiers:o,pluralRules:a,messages:d=>{let x=i(r,d);if(x==null&&u){const[,,p]=d0(u,d,t,l,f,c);x=i(p,d)}if(V(x)||Pt(x)){let p=!1;const E=h0(e,d,t,x,d,()=>{p=!0});return p?hi:E}else return Ue(x)?x:hi}};return e.processor&&(s.processor=e.processor),n.list&&(s.list=n.list),n.named&&(s.named=n.named),Se(n.plural)&&(s.pluralIndex=n.plural),s}function pi(e,...t){const{datetimeFormats:r,unresolving:n,fallbackLocale:o,onWarn:a,localeFallbacker:i}=e,{__datetimeFormatters:l}=e,[f,c,u,h]=Yn(...t),s=le(u.missingWarn)?u.missingWarn:e.missingWarn;le(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const d=!!u.part,x=Sa(e,u),p=i(e,o,x);if(!V(f)||f==="")return new Intl.DateTimeFormat(x,h).format(c);let m={},E,g=null;const v="datetime format";for(let _=0;_{x0.includes(f)?i[f]=r[f]:a[f]=r[f]}),V(n)?a.locale=n:ne(n)&&(i=n),ne(o)&&(i=o),[a.key||"",l,a,i]}function mi(e,t,r){const n=e;for(const o in r){const a=`${t}__${o}`;n.__datetimeFormatters.has(a)&&n.__datetimeFormatters.delete(a)}}function gi(e,...t){const{numberFormats:r,unresolving:n,fallbackLocale:o,onWarn:a,localeFallbacker:i}=e,{__numberFormatters:l}=e,[f,c,u,h]=Xn(...t),s=le(u.missingWarn)?u.missingWarn:e.missingWarn;le(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const d=!!u.part,x=Sa(e,u),p=i(e,o,x);if(!V(f)||f==="")return new Intl.NumberFormat(x,h).format(c);let m={},E,g=null;const v="number format";for(let _=0;_{p0.includes(f)?i[f]=r[f]:a[f]=r[f]}),V(n)?a.locale=n:ne(n)&&(i=n),ne(o)&&(i=o),[a.key||"",l,a,i]}function vi(e,t,r){const n=e;for(const o in r){const a=`${t}__${o}`;n.__numberFormatters.has(a)&&n.__numberFormatters.delete(a)}}Gd();/*! * vue-i18n v9.10.1 * (c) 2024 kazuya kawaguchi * Released under the MIT License. */const Fh="9.10.1";function Ph(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(et().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(et().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(et().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(et().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(et().__INTLIFY_PROD_DEVTOOLS__=!1)}const m0=uh.__EXTEND_POINT__,Qe=wa(m0);Qe(),Qe(),Qe(),Qe(),Qe(),Qe(),Qe(),Qe(),Qe();const g0=Ge.__EXTEND_POINT__,Ne=wa(g0),De={UNEXPECTED_RETURN_TYPE:g0,INVALID_ARGUMENT:Ne(),MUST_BE_CALL_SETUP_TOP:Ne(),NOT_INSTALLED:Ne(),NOT_AVAILABLE_IN_LEGACY_MODE:Ne(),REQUIRED_VALUE:Ne(),INVALID_VALUE:Ne(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Ne(),NOT_INSTALLED_WITH_PROVIDE:Ne(),UNEXPECTED_ERROR:Ne(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Ne(),BRIDGE_SUPPORT_VUE_2_ONLY:Ne(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Ne(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Ne(),__EXTEND_POINT__:Ne()};function Fe(e,...t){return Lt(e,null,void 0)}const Qn=ht("__translateVNode"),Jn=ht("__datetimeParts"),Zn=ht("__numberParts"),v0=ht("__setPluralRules"),E0=ht("__injectWithOption"),ea=ht("__dispose");function Xt(e){if(!xe(e))return e;for(const t in e)if(pr(e,t))if(!t.includes("."))xe(e[t])&&Xt(e[t]);else{const r=t.split("."),n=r.length-1;let o=e,a=!1;for(let i=0;i{if("locale"in l&&"resource"in l){const{locale:f,resource:c}=l;f?(i[f]=i[f]||{},ur(c,i[f])):ur(c,i)}else V(l)&&ur(JSON.parse(l),i)}),o==null&&a)for(const l in i)pr(i,l)&&Xt(i[l]);return i}function b0(e){return e.type}function C0(e,t,r){let n=xe(t.messages)?t.messages:{};"__i18nGlobal"in r&&(n=Fr(e.locale.value,{messages:n,__i18n:r.__i18nGlobal}));const o=Object.keys(n);o.length&&o.forEach(a=>{e.mergeLocaleMessage(a,n[a])});{if(xe(t.datetimeFormats)){const a=Object.keys(t.datetimeFormats);a.length&&a.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(xe(t.numberFormats)){const a=Object.keys(t.numberFormats);a.length&&a.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function Ei(e){return ut(tc,null,e,0)}const bi="__INTLIFY_META__",Ci=()=>[],kh=()=>!1;let _i=0;function yi(e){return(t,r,n,o)=>e(r,n,$t()||void 0,o)}const Th=()=>{const e=$t();let t=null;return e&&(t=b0(e)[bi])?{[bi]:t}:null};function Ba(e={},t){const{__root:r,__injectWithOption:n}=e,o=r===void 0,a=e.flatJson,i=xr?Ze:sa,l=!!e.translateExistCompatible;let f=le(e.inheritLocale)?e.inheritLocale:!0;const c=i(r&&f?r.locale.value:V(e.locale)?e.locale:Ft),u=i(r&&f?r.fallbackLocale.value:V(e.fallbackLocale)||be(e.fallbackLocale)||ne(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:c.value),h=i(Fr(c.value,e)),s=i(ne(e.datetimeFormats)?e.datetimeFormats:{[c.value]:{}}),d=i(ne(e.numberFormats)?e.numberFormats:{[c.value]:{}});let x=r?r.missingWarn:le(e.missingWarn)||ft(e.missingWarn)?e.missingWarn:!0,p=r?r.fallbackWarn:le(e.fallbackWarn)||ft(e.fallbackWarn)?e.fallbackWarn:!0,m=r?r.fallbackRoot:le(e.fallbackRoot)?e.fallbackRoot:!0,E=!!e.fallbackFormat,g=Ee(e.missing)?e.missing:null,v=Ee(e.missing)?yi(e.missing):null,b=Ee(e.postTranslation)?e.postTranslation:null,y=r?r.warnHtmlMessage:le(e.warnHtmlMessage)?e.warnHtmlMessage:!0,_=!!e.escapeParameter;const A=r?r.modifiers:ne(e.modifiers)?e.modifiers:{};let D=e.pluralRules||r&&r.pluralRules,B;B=(()=>{o&&ui(null);const R={version:Fh,locale:c.value,fallbackLocale:u.value,messages:h.value,modifiers:A,pluralRules:D,missing:v===null?void 0:v,missingWarn:x,fallbackWarn:p,fallbackFormat:E,unresolving:!0,postTranslation:b===null?void 0:b,warnHtmlMessage:y,escapeParameter:_,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};R.datetimeFormats=s.value,R.numberFormats=d.value,R.__datetimeFormatters=ne(B)?B.__datetimeFormatters:void 0,R.__numberFormatters=ne(B)?B.__numberFormatters:void 0;const G=Ch(R);return o&&ui(G),G})(),Ot(B,c.value,u.value);function P(){return[c.value,u.value,h.value,s.value,d.value]}const k=ve({get:()=>c.value,set:R=>{c.value=R,B.locale=c.value}}),I=ve({get:()=>u.value,set:R=>{u.value=R,B.fallbackLocale=u.value,Ot(B,c.value,R)}}),K=ve(()=>h.value),Y=ve(()=>s.value),q=ve(()=>d.value);function se(){return Ee(b)?b:null}function oe(R){b=R,B.postTranslation=R}function ce(){return g}function ae(R){R!==null&&(v=yi(R)),g=R,B.missing=v}const L=(R,G,pe,_e,We,je)=>{P();let Me;try{__INTLIFY_PROD_DEVTOOLS__,o||(B.fallbackContext=r?bh():void 0),Me=R(B)}finally{__INTLIFY_PROD_DEVTOOLS__,o||(B.fallbackContext=void 0)}if(pe!=="translate exists"&&Se(Me)&&Me===Br||pe==="translate exists"&&!Me){const[Tr,Ir]=G();return r&&m?_e(r):We(Tr)}else{if(je(Me))return Me;throw Fe(De.UNEXPECTED_RETURN_TYPE)}};function U(...R){return L(G=>Reflect.apply(xi,null,[G,...R]),()=>Kn(...R),"translate",G=>Reflect.apply(G.t,G,[...R]),G=>G,G=>V(G))}function W(...R){const[G,pe,_e]=R;if(_e&&!xe(_e))throw Fe(De.INVALID_ARGUMENT);return U(G,pe,ke({resolvedMessage:!0},_e||{}))}function N(...R){return L(G=>Reflect.apply(pi,null,[G,...R]),()=>Yn(...R),"datetime format",G=>Reflect.apply(G.d,G,[...R]),()=>si,G=>V(G))}function ue(...R){return L(G=>Reflect.apply(gi,null,[G,...R]),()=>Xn(...R),"number format",G=>Reflect.apply(G.n,G,[...R]),()=>si,G=>V(G))}function te(R){return R.map(G=>V(G)||Se(G)||le(G)?Ei(String(G)):G)}const O={normalize:te,interpolate:R=>R,type:"vnode"};function $(...R){return L(G=>{let pe;const _e=G;try{_e.processor=O,pe=Reflect.apply(xi,null,[_e,...R])}finally{_e.processor=null}return pe},()=>Kn(...R),"translate",G=>G[Qn](...R),G=>[Ei(G)],G=>be(G))}function z(...R){return L(G=>Reflect.apply(gi,null,[G,...R]),()=>Xn(...R),"number format",G=>G[Zn](...R),Ci,G=>V(G)||be(G))}function ie(...R){return L(G=>Reflect.apply(pi,null,[G,...R]),()=>Yn(...R),"datetime format",G=>G[Jn](...R),Ci,G=>V(G)||be(G))}function ee(R){D=R,B.pluralRules=D}function w(R,G){return L(()=>{if(!R)return!1;const pe=V(G)?G:c.value,_e=H(pe),We=B.messageResolver(_e,R);return l?We!=null:Pt(We)||Ue(We)||V(We)},()=>[R],"translate exists",pe=>Reflect.apply(pe.te,pe,[R,G]),kh,pe=>le(pe))}function C(R){let G=null;const pe=a0(B,u.value,c.value);for(let _e=0;_e{f&&(c.value=R,B.locale=R,Ot(B,c.value,u.value))}),St(r.fallbackLocale,R=>{f&&(u.value=R,B.fallbackLocale=R,Ot(B,c.value,u.value))}));const Ce={id:_i,locale:k,fallbackLocale:I,get inheritLocale(){return f},set inheritLocale(R){f=R,R&&r&&(c.value=r.locale.value,u.value=r.fallbackLocale.value,Ot(B,c.value,u.value))},get availableLocales(){return Object.keys(h.value).sort()},messages:K,get modifiers(){return A},get pluralRules(){return D||{}},get isGlobal(){return o},get missingWarn(){return x},set missingWarn(R){x=R,B.missingWarn=x},get fallbackWarn(){return p},set fallbackWarn(R){p=R,B.fallbackWarn=p},get fallbackRoot(){return m},set fallbackRoot(R){m=R},get fallbackFormat(){return E},set fallbackFormat(R){E=R,B.fallbackFormat=E},get warnHtmlMessage(){return y},set warnHtmlMessage(R){y=R,B.warnHtmlMessage=R},get escapeParameter(){return _},set escapeParameter(R){_=R,B.escapeParameter=R},t:U,getLocaleMessage:H,setLocaleMessage:j,mergeLocaleMessage:J,getPostTranslationHandler:se,setPostTranslationHandler:oe,getMissingHandler:ce,setMissingHandler:ae,[v0]:ee};return Ce.datetimeFormats=Y,Ce.numberFormats=q,Ce.rt=W,Ce.te=w,Ce.tm=F,Ce.d=N,Ce.n=ue,Ce.getDateTimeFormat=X,Ce.setDateTimeFormat=Q,Ce.mergeDateTimeFormat=ye,Ce.getNumberFormat=he,Ce.setNumberFormat=Te,Ce.mergeNumberFormat=Ye,Ce[E0]=n,Ce[Qn]=$,Ce[Jn]=ie,Ce[Zn]=z,Ce}function Ih(e){const t=V(e.locale)?e.locale:Ft,r=V(e.fallbackLocale)||be(e.fallbackLocale)||ne(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,n=Ee(e.missing)?e.missing:void 0,o=le(e.silentTranslationWarn)||ft(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,a=le(e.silentFallbackWarn)||ft(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,i=le(e.fallbackRoot)?e.fallbackRoot:!0,l=!!e.formatFallbackMessages,f=ne(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=Ee(e.postTranslation)?e.postTranslation:void 0,h=V(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,s=!!e.escapeParameterHtml,d=le(e.sync)?e.sync:!0;let x=e.messages;if(ne(e.sharedMessages)){const _=e.sharedMessages;x=Object.keys(_).reduce((D,B)=>{const S=D[B]||(D[B]={});return ke(S,_[B]),D},x||{})}const{__i18n:p,__root:m,__injectWithOption:E}=e,g=e.datetimeFormats,v=e.numberFormats,b=e.flatJson,y=e.translateExistCompatible;return{locale:t,fallbackLocale:r,messages:x,flatJson:b,datetimeFormats:g,numberFormats:v,missing:n,missingWarn:o,fallbackWarn:a,fallbackRoot:i,fallbackFormat:l,modifiers:f,pluralRules:c,postTranslation:u,warnHtmlMessage:h,escapeParameter:s,messageResolver:e.messageResolver,inheritLocale:d,translateExistCompatible:y,__i18n:p,__root:m,__injectWithOption:E}}function ta(e={},t){{const r=Ba(Ih(e)),{__extender:n}=e,o={id:r.id,get locale(){return r.locale.value},set locale(a){r.locale.value=a},get fallbackLocale(){return r.fallbackLocale.value},set fallbackLocale(a){r.fallbackLocale.value=a},get messages(){return r.messages.value},get datetimeFormats(){return r.datetimeFormats.value},get numberFormats(){return r.numberFormats.value},get availableLocales(){return r.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(a){},get missing(){return r.getMissingHandler()},set missing(a){r.setMissingHandler(a)},get silentTranslationWarn(){return le(r.missingWarn)?!r.missingWarn:r.missingWarn},set silentTranslationWarn(a){r.missingWarn=le(a)?!a:a},get silentFallbackWarn(){return le(r.fallbackWarn)?!r.fallbackWarn:r.fallbackWarn},set silentFallbackWarn(a){r.fallbackWarn=le(a)?!a:a},get modifiers(){return r.modifiers},get formatFallbackMessages(){return r.fallbackFormat},set formatFallbackMessages(a){r.fallbackFormat=a},get postTranslation(){return r.getPostTranslationHandler()},set postTranslation(a){r.setPostTranslationHandler(a)},get sync(){return r.inheritLocale},set sync(a){r.inheritLocale=a},get warnHtmlInMessage(){return r.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(a){r.warnHtmlMessage=a!=="off"},get escapeParameterHtml(){return r.escapeParameter},set escapeParameterHtml(a){r.escapeParameter=a},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(a){},get pluralizationRules(){return r.pluralRules||{}},__composer:r,t(...a){const[i,l,f]=a,c={};let u=null,h=null;if(!V(i))throw Fe(De.INVALID_ARGUMENT);const s=i;return V(l)?c.locale=l:be(l)?u=l:ne(l)&&(h=l),be(f)?u=f:ne(f)&&(h=f),Reflect.apply(r.t,r,[s,u||h||{},c])},rt(...a){return Reflect.apply(r.rt,r,[...a])},tc(...a){const[i,l,f]=a,c={plural:1};let u=null,h=null;if(!V(i))throw Fe(De.INVALID_ARGUMENT);const s=i;return V(l)?c.locale=l:Se(l)?c.plural=l:be(l)?u=l:ne(l)&&(h=l),V(f)?c.locale=f:be(f)?u=f:ne(f)&&(h=f),Reflect.apply(r.t,r,[s,u||h||{},c])},te(a,i){return r.te(a,i)},tm(a){return r.tm(a)},getLocaleMessage(a){return r.getLocaleMessage(a)},setLocaleMessage(a,i){r.setLocaleMessage(a,i)},mergeLocaleMessage(a,i){r.mergeLocaleMessage(a,i)},d(...a){return Reflect.apply(r.d,r,[...a])},getDateTimeFormat(a){return r.getDateTimeFormat(a)},setDateTimeFormat(a,i){r.setDateTimeFormat(a,i)},mergeDateTimeFormat(a,i){r.mergeDateTimeFormat(a,i)},n(...a){return Reflect.apply(r.n,r,[...a])},getNumberFormat(a){return r.getNumberFormat(a)},setNumberFormat(a,i){r.setNumberFormat(a,i)},mergeNumberFormat(a,i){r.mergeNumberFormat(a,i)},getChoiceIndex(a,i){return-1}};return o.__extender=n,o}}const Fa={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Lh({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((n,o)=>[...n,...o.type===es?o.children:[o]],[]):t.reduce((r,n)=>{const o=e[n];return o&&(r[n]=o()),r},{})}function _0(e){return es}const Rh=rt({name:"i18n-t",props:ke({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Se(e)||!isNaN(e)}},Fa),setup(e,t){const{slots:r,attrs:n}=t,o=e.i18n||Pa({useScope:e.scope,__useComponent:!0});return()=>{const a=Object.keys(r).filter(h=>h!=="_"),i={};e.locale&&(i.locale=e.locale),e.plural!==void 0&&(i.plural=V(e.plural)?+e.plural:e.plural);const l=Lh(t,a),f=o[Qn](e.keypath,l,i),c=ke({},n),u=V(e.tag)||xe(e.tag)?e.tag:_0();return mt(u,c,f)}}}),wi=Rh;function Nh(e){return be(e)&&!V(e[0])}function y0(e,t,r,n){const{slots:o,attrs:a}=t;return()=>{const i={part:!0};let l={};e.locale&&(i.locale=e.locale),V(e.format)?i.key=e.format:xe(e.format)&&(V(e.format.key)&&(i.key=e.format.key),l=Object.keys(e.format).reduce((s,d)=>r.includes(d)?ke({},s,{[d]:e.format[d]}):s,{}));const f=n(e.value,i,l);let c=[i.key];be(f)?c=f.map((s,d)=>{const x=o[s.type],p=x?x({[s.type]:s.value,index:d,parts:f}):[s.value];return Nh(p)&&(p[0].key=`${s.type}-${d}`),p}):V(f)&&(c=[f]);const u=ke({},a),h=V(e.tag)||xe(e.tag)?e.tag:_0();return mt(h,u,c)}}const Oh=rt({name:"i18n-n",props:ke({value:{type:Number,required:!0},format:{type:[String,Object]}},Fa),setup(e,t){const r=e.i18n||Pa({useScope:"parent",__useComponent:!0});return y0(e,t,p0,(...n)=>r[Zn](...n))}}),Ai=Oh,Mh=rt({name:"i18n-d",props:ke({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Fa),setup(e,t){const r=e.i18n||Pa({useScope:"parent",__useComponent:!0});return y0(e,t,x0,(...n)=>r[Jn](...n))}}),Si=Mh;function Uh(e,t){const r=e;if(e.mode==="composition")return r.__getInstance(t)||e.global;{const n=r.__getInstance(t);return n!=null?n.__composer:e.global.__composer}}function Hh(e){const t=i=>{const{instance:l,modifiers:f,value:c}=i;if(!l||!l.$)throw Fe(De.UNEXPECTED_ERROR);const u=Uh(e,l.$),h=Di(c);return[Reflect.apply(u.t,u,[...Bi(h)]),u]};return{created:(i,l)=>{const[f,c]=t(l);xr&&e.global===c&&(i.__i18nWatcher=St(c.locale,()=>{l.instance&&l.instance.$forceUpdate()})),i.__composer=c,i.textContent=f},unmounted:i=>{xr&&i.__i18nWatcher&&(i.__i18nWatcher(),i.__i18nWatcher=void 0,delete i.__i18nWatcher),i.__composer&&(i.__composer=void 0,delete i.__composer)},beforeUpdate:(i,{value:l})=>{if(i.__composer){const f=i.__composer,c=Di(l);i.textContent=Reflect.apply(f.t,f,[...Bi(c)])}},getSSRProps:i=>{const[l]=t(i);return{textContent:l}}}}function Di(e){if(V(e))return{path:e};if(ne(e)){if(!("path"in e))throw Fe(De.REQUIRED_VALUE,"path");return e}else throw Fe(De.INVALID_VALUE)}function Bi(e){const{path:t,locale:r,args:n,choice:o,plural:a}=e,i={},l=n||{};return V(r)&&(i.locale=r),Se(o)&&(i.plural=o),Se(a)&&(i.plural=a),[t,l,i]}function Wh(e,t,...r){const n=ne(r[0])?r[0]:{},o=!!n.useI18nComponentName;(le(n.globalInstall)?n.globalInstall:!0)&&([o?"i18n":wi.name,"I18nT"].forEach(i=>e.component(i,wi)),[Ai.name,"I18nN"].forEach(i=>e.component(i,Ai)),[Si.name,"I18nD"].forEach(i=>e.component(i,Si))),e.directive("t",Hh(t))}function jh(e,t,r){return{beforeCreate(){const n=$t();if(!n)throw Fe(De.UNEXPECTED_ERROR);const o=this.$options;if(o.i18n){const a=o.i18n;if(o.__i18n&&(a.__i18n=o.__i18n),a.__root=t,this===this.$root)this.$i18n=Fi(e,a);else{a.__injectWithOption=!0,a.__extender=r.__vueI18nExtend,this.$i18n=ta(a);const i=this.$i18n;i.__extender&&(i.__disposer=i.__extender(this.$i18n))}}else if(o.__i18n)if(this===this.$root)this.$i18n=Fi(e,o);else{this.$i18n=ta({__i18n:o.__i18n,__injectWithOption:!0,__extender:r.__vueI18nExtend,__root:t});const a=this.$i18n;a.__extender&&(a.__disposer=a.__extender(this.$i18n))}else this.$i18n=e;o.__i18nGlobal&&C0(t,o,o),this.$t=(...a)=>this.$i18n.t(...a),this.$rt=(...a)=>this.$i18n.rt(...a),this.$tc=(...a)=>this.$i18n.tc(...a),this.$te=(a,i)=>this.$i18n.te(a,i),this.$d=(...a)=>this.$i18n.d(...a),this.$n=(...a)=>this.$i18n.n(...a),this.$tm=a=>this.$i18n.tm(a),r.__setInstance(n,this.$i18n)},mounted(){},unmounted(){const n=$t();if(!n)throw Fe(De.UNEXPECTED_ERROR);const o=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,o.__disposer&&(o.__disposer(),delete o.__disposer,delete o.__extender),r.__deleteInstance(n),delete this.$i18n}}}function Fi(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[v0](t.pluralizationRules||e.pluralizationRules);const r=Fr(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(r).forEach(n=>e.mergeLocaleMessage(n,r[n])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(n=>e.mergeDateTimeFormat(n,t.datetimeFormats[n])),t.numberFormats&&Object.keys(t.numberFormats).forEach(n=>e.mergeNumberFormat(n,t.numberFormats[n])),e}const Gh=ht("global-vue-i18n");function $h(e={},t){const r=__VUE_I18N_LEGACY_API__&&le(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=le(e.globalInjection)?e.globalInjection:!0,o=__VUE_I18N_LEGACY_API__&&r?!!e.allowComposition:!0,a=new Map,[i,l]=Vh(e,r),f=ht("");function c(s){return a.get(s)||null}function u(s,d){a.set(s,d)}function h(s){a.delete(s)}{const s={get mode(){return __VUE_I18N_LEGACY_API__&&r?"legacy":"composition"},get allowComposition(){return o},async install(d,...x){if(d.__VUE_I18N_SYMBOL__=f,d.provide(d.__VUE_I18N_SYMBOL__,s),ne(x[0])){const E=x[0];s.__composerExtend=E.__composerExtend,s.__vueI18nExtend=E.__vueI18nExtend}let p=null;!r&&n&&(p=ex(d,s.global)),__VUE_I18N_FULL_INSTALL__&&Wh(d,s,...x),__VUE_I18N_LEGACY_API__&&r&&d.mixin(jh(l,l.__composer,s));const m=d.unmount;d.unmount=()=>{p&&p(),s.dispose(),m()}},get global(){return l},dispose(){i.stop()},__instances:a,__getInstance:c,__setInstance:u,__deleteInstance:h};return s}}function Pa(e={}){const t=$t();if(t==null)throw Fe(De.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Fe(De.NOT_INSTALLED);const r=qh(t),n=Kh(r),o=b0(t),a=zh(e,o);if(__VUE_I18N_LEGACY_API__&&r.mode==="legacy"&&!e.__useComponent){if(!r.allowComposition)throw Fe(De.NOT_AVAILABLE_IN_LEGACY_MODE);return Jh(t,a,n,e)}if(a==="global")return C0(n,e,o),n;if(a==="parent"){let f=Yh(r,t,e.__useComponent);return f==null&&(f=n),f}const i=r;let l=i.__getInstance(t);if(l==null){const f=ke({},e);"__i18n"in o&&(f.__i18n=o.__i18n),n&&(f.__root=n),l=Ba(f),i.__composerExtend&&(l[ea]=i.__composerExtend(l)),Qh(i,t,l),i.__setInstance(t,l)}return l}function Vh(e,t,r){const n=ia();{const o=__VUE_I18N_LEGACY_API__&&t?n.run(()=>ta(e)):n.run(()=>Ba(e));if(o==null)throw Fe(De.UNEXPECTED_ERROR);return[n,o]}}function qh(e){{const t=nt(e.isCE?Gh:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Fe(e.isCE?De.NOT_INSTALLED_WITH_PROVIDE:De.UNEXPECTED_ERROR);return t}}function zh(e,t){return Dr(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function Kh(e){return e.mode==="composition"?e.global:e.global.__composer}function Yh(e,t,r=!1){let n=null;const o=t.root;let a=Xh(t,r);for(;a!=null;){const i=e;if(e.mode==="composition")n=i.__getInstance(a);else if(__VUE_I18N_LEGACY_API__){const l=i.__getInstance(a);l!=null&&(n=l.__composer,r&&n&&!n[E0]&&(n=null))}if(n!=null||o===a)break;a=a.parent}return n}function Xh(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function Qh(e,t,r){Zi(()=>{},t),Z0(()=>{const n=r;e.__deleteInstance(t);const o=n[ea];o&&(o(),delete n[ea])},t)}function Jh(e,t,r,n={}){const o=t==="local",a=sa(null);if(o&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw Fe(De.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const i=le(n.inheritLocale)?n.inheritLocale:!V(n.locale),l=Ze(!o||i?r.locale.value:V(n.locale)?n.locale:Ft),f=Ze(!o||i?r.fallbackLocale.value:V(n.fallbackLocale)||be(n.fallbackLocale)||ne(n.fallbackLocale)||n.fallbackLocale===!1?n.fallbackLocale:l.value),c=Ze(Fr(l.value,n)),u=Ze(ne(n.datetimeFormats)?n.datetimeFormats:{[l.value]:{}}),h=Ze(ne(n.numberFormats)?n.numberFormats:{[l.value]:{}}),s=o?r.missingWarn:le(n.missingWarn)||ft(n.missingWarn)?n.missingWarn:!0,d=o?r.fallbackWarn:le(n.fallbackWarn)||ft(n.fallbackWarn)?n.fallbackWarn:!0,x=o?r.fallbackRoot:le(n.fallbackRoot)?n.fallbackRoot:!0,p=!!n.fallbackFormat,m=Ee(n.missing)?n.missing:null,E=Ee(n.postTranslation)?n.postTranslation:null,g=o?r.warnHtmlMessage:le(n.warnHtmlMessage)?n.warnHtmlMessage:!0,v=!!n.escapeParameter,b=o?r.modifiers:ne(n.modifiers)?n.modifiers:{},y=n.pluralRules||o&&r.pluralRules;function _(){return[l.value,f.value,c.value,u.value,h.value]}const A=ve({get:()=>a.value?a.value.locale.value:l.value,set:C=>{a.value&&(a.value.locale.value=C),l.value=C}}),D=ve({get:()=>a.value?a.value.fallbackLocale.value:f.value,set:C=>{a.value&&(a.value.fallbackLocale.value=C),f.value=C}}),B=ve(()=>a.value?a.value.messages.value:c.value),S=ve(()=>u.value),P=ve(()=>h.value);function k(){return a.value?a.value.getPostTranslationHandler():E}function I(C){a.value&&a.value.setPostTranslationHandler(C)}function K(){return a.value?a.value.getMissingHandler():m}function Y(C){a.value&&a.value.setMissingHandler(C)}function q(C){return _(),C()}function se(...C){return a.value?q(()=>Reflect.apply(a.value.t,null,[...C])):q(()=>"")}function oe(...C){return a.value?Reflect.apply(a.value.rt,null,[...C]):""}function ce(...C){return a.value?q(()=>Reflect.apply(a.value.d,null,[...C])):q(()=>"")}function ae(...C){return a.value?q(()=>Reflect.apply(a.value.n,null,[...C])):q(()=>"")}function L(C){return a.value?a.value.tm(C):{}}function U(C,F){return a.value?a.value.te(C,F):!1}function W(C){return a.value?a.value.getLocaleMessage(C):{}}function N(C,F){a.value&&(a.value.setLocaleMessage(C,F),c.value[C]=F)}function ue(C,F){a.value&&a.value.mergeLocaleMessage(C,F)}function te(C){return a.value?a.value.getDateTimeFormat(C):{}}function T(C,F){a.value&&(a.value.setDateTimeFormat(C,F),u.value[C]=F)}function O(C,F){a.value&&a.value.mergeDateTimeFormat(C,F)}function $(C){return a.value?a.value.getNumberFormat(C):{}}function z(C,F){a.value&&(a.value.setNumberFormat(C,F),h.value[C]=F)}function ie(C,F){a.value&&a.value.mergeNumberFormat(C,F)}const ee={get id(){return a.value?a.value.id:-1},locale:A,fallbackLocale:D,messages:B,datetimeFormats:S,numberFormats:P,get inheritLocale(){return a.value?a.value.inheritLocale:i},set inheritLocale(C){a.value&&(a.value.inheritLocale=C)},get availableLocales(){return a.value?a.value.availableLocales:Object.keys(c.value)},get modifiers(){return a.value?a.value.modifiers:b},get pluralRules(){return a.value?a.value.pluralRules:y},get isGlobal(){return a.value?a.value.isGlobal:!1},get missingWarn(){return a.value?a.value.missingWarn:s},set missingWarn(C){a.value&&(a.value.missingWarn=C)},get fallbackWarn(){return a.value?a.value.fallbackWarn:d},set fallbackWarn(C){a.value&&(a.value.missingWarn=C)},get fallbackRoot(){return a.value?a.value.fallbackRoot:x},set fallbackRoot(C){a.value&&(a.value.fallbackRoot=C)},get fallbackFormat(){return a.value?a.value.fallbackFormat:p},set fallbackFormat(C){a.value&&(a.value.fallbackFormat=C)},get warnHtmlMessage(){return a.value?a.value.warnHtmlMessage:g},set warnHtmlMessage(C){a.value&&(a.value.warnHtmlMessage=C)},get escapeParameter(){return a.value?a.value.escapeParameter:v},set escapeParameter(C){a.value&&(a.value.escapeParameter=C)},t:se,getPostTranslationHandler:k,setPostTranslationHandler:I,getMissingHandler:K,setMissingHandler:Y,rt:oe,d:ce,n:ae,tm:L,te:U,getLocaleMessage:W,setLocaleMessage:N,mergeLocaleMessage:ue,getDateTimeFormat:te,setDateTimeFormat:T,mergeDateTimeFormat:O,getNumberFormat:$,setNumberFormat:z,mergeNumberFormat:ie};function w(C){C.locale.value=l.value,C.fallbackLocale.value=f.value,Object.keys(c.value).forEach(F=>{C.mergeLocaleMessage(F,c.value[F])}),Object.keys(u.value).forEach(F=>{C.mergeDateTimeFormat(F,u.value[F])}),Object.keys(h.value).forEach(F=>{C.mergeNumberFormat(F,h.value[F])}),C.escapeParameter=v,C.fallbackFormat=p,C.fallbackRoot=x,C.fallbackWarn=d,C.missingWarn=s,C.warnHtmlMessage=g}return ec(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw Fe(De.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const C=a.value=e.proxy.$i18n.__composer;t==="global"?(l.value=C.locale.value,f.value=C.fallbackLocale.value,c.value=C.messages.value,u.value=C.datetimeFormats.value,h.value=C.numberFormats.value):o&&w(C)}),ee}const Zh=["locale","fallbackLocale","availableLocales"],Pi=["t","rt","d","n","tm","te"];function ex(e,t){const r=Object.create(null);return Zh.forEach(o=>{const a=Object.getOwnPropertyDescriptor(t,o);if(!a)throw Fe(De.UNEXPECTED_ERROR);const i=Gt(a.value)?{get(){return a.value.value},set(l){a.value.value=l}}:{get(){return a.get&&a.get()}};Object.defineProperty(r,o,i)}),e.config.globalProperties.$i18n=r,Pi.forEach(o=>{const a=Object.getOwnPropertyDescriptor(t,o);if(!a||!a.value)throw Fe(De.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,a)}),()=>{delete e.config.globalProperties.$i18n,Pi.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}Ph();__INTLIFY_JIT_COMPILATION__?li(wh):li(yh);mh(Qd);gh(a0);if(__INTLIFY_PROD_DEVTOOLS__){const e=et();e.__INTLIFY__=!0,ih(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const tx="en",rx={add:"Add",addSuccess:"Add Success",edit:"Edit",editSuccess:"Edit Success",delete:"Delete",deleteSuccess:"Delete Success",save:"Save",saveSuccess:"Save Success",reset:"Reset",action:"Action",export:"Export",exportSuccess:"Export Success",import:"Import",importSuccess:"Import Success",clear:"Clear",clearSuccess:"Clear Success",yes:"Yes",no:"No",update:"Update",download:"Download",noData:"No Data",wrong:"Something went wrong, please try again later.",success:"Success",failed:"Failed",verify:"Verify",unauthorizedTips:"Unauthorized, please verify first.",confirm:"Confirm",cancel:"Cancel"},nx={newChatButton:"New Chat",placeholder:"Ask me anything...(Shift + Enter = line break)",placeholderMobile:"Ask me anything...",copy:"Copy",copied:"Copied",copyCode:"Copy Code",clearChat:"Clear Chat",clearChatConfirm:"Are you sure to clear this chat?",exportImage:"Export Image",exportImageConfirm:"Are you sure to export this chat to png?",exportSuccess:"Export Success",exportFailed:"Export Failed",usingContext:"Context Mode",turnOnContext:"In the current mode, sending messages will carry previous chat records.",turnOffContext:"In the current mode, sending messages will not carry previous chat records.",deleteMessage:"Delete Message",deleteMessageConfirm:"Are you sure to delete this message?",deleteHistoryConfirm:"Are you sure to clear this history?",clearHistoryConfirm:"Are you sure to clear chat history?",preview:"Preview",showRawText:"Show as raw text",size:"Size:",generatedContentDisclaimer:"AI can make mistakes. Consider checking important information. All rights reserved ©",square1:"Square [1:1]",illustration:"Illustration [4:3]",wallpaper:"Wallpaper [16:9]",media:"Media [3:4]",poster:"Poster [9:16]",square:"Square",landscape:"Landscape",portrait:"Portrait",chatDialogue:"Chat Dialogue",startNewConversationPrompt:"Click the button below to start a new conversation",newConversation:"New Conversation",networkModeEnabledContextInvalid:"Network mode enabled, context invalidated!",networkModeDisabled:"Network mode disabled!",pointsMall:"Points Mall",toggleTheme:"Toggle Theme",signInReward:"Sign-In Reward",networkMode:"Network Mode",searchHistoryConversations:"Search History Conversations",announcement:"Announcement",clear:"Clear",remaining:"",ordinaryPoints:"Ordinary Points",advancedPoints:"Advanced Points",drawingPoints:"Drawing Points",points:"Points",clearConversation:"Clear Conversation",clearAllNonFavoriteConversations:"Clear all non-favorite conversations?",more:"More",collapse:"Collapse",myApps:"My Apps",appSquare:"App Square",favorites:"Favorites",todayConversations:"Today",Conversations:"",historyConversations:"History",favoriteConversations:"Favorite",unfavorite:"Unfavorite",rename:"Rename",deleteConversation:"Delete",me:"You",onlineSearch:"Online Search",mindMap:"Mind Map",fileAnalysis:"File Analysis",delete:"Delete",regenerate:"Regenerate",pause:"Pause",loading:"Loading...",readAloud:"Read Aloud",U1:"🔍 U1",U2:"🔍 U2",U3:"🔍 U3",U4:"🔍 U4",V1:"🪄 V1",V2:"🪄 V2",V3:"🪄 V3",V4:"🪄 V4",panLeft:"⬅️ Pan Left",panRight:"➡️ Pan Right",panUp:"⬆️ Pan Up",panDown:"⬇️ Pan Down",zoomIn15x:"↔️ Zoom 1.5x",zoomIn2x:"↔️ Zoom 2x",minorTransform:"Vary(Subtle)",strongTransform:"Vary(Strong)",enlargeImage:"Enlarge image {order}",transformImage:"Transform image {order}",expandDrawing:"Expand drawing",advancedTransform:"Advanced transform",translateImage:"Translate image",enlargeImagePrefix:"Enlarge image ",enlargeImageSuffix:"",transformImagePrefix:"Transform image ",transformImageSuffix:"",imageToImage:"Image to Image",faceConsistency:"Face Consistency",styleConsistency:"Style Consistency",selectAppOrTopic:"Select an application or topic for quick conversation"},ax={sampleTemplate:"Sample Template",exploreInfinitePossibilities:"Explore infinite possibilities, create a smart future with AI",searchAppNameQuickFind:"Search app names, quick find applications...",allCategories:"All Categories",noModelConfigured:"No specific application model has been configured by the administrator, please contact them to set it up~"},ox={setting:"Setting",general:"General",advanced:"Advanced",config:"Config",avatarLink:"Avatar Link",name:"Name",description:"Description",role:"Role",resetUserInfo:"Reset UserInfo",chatHistory:"ChatHistory",theme:"Theme",language:"Language",api:"API",reverseProxy:"Reverse Proxy",timeout:"Timeout",socks:"Socks",httpsProxy:"HTTPS Proxy",balance:"API Balance",sign:"Signature"},ix={siderButton:"Prompt Store",local:"Local",online:"Online",title:"Title",description:"Description",clearStoreConfirm:"Whether to clear the data?",importPlaceholder:"Please paste the JSON data here",addRepeatTitleTips:"Title duplicate, please re-enter",addRepeatContentTips:"Content duplicate: {msg}, please re-enter",editRepeatTitleTips:"Title conflict, please revise",editRepeatContentTips:"Content conflict {msg} , please re-modify",importError:"Key value mismatch",importRepeatTitle:"Title repeatedly skipped: {msg}",importRepeatContent:"Content is repeatedly skipped: {msg}",onlineImportWarning:"Note: Please check the JSON file source!",downloadError:"Please check the network status and JSON file validity"},sx={use:"Use",download:"Download",delete:"Delete",zoom:"Zoom:",U1:"U1",U2:"U2",U3:"U3",U4:"U4",regenerateOnce:"Regenerate",transform:"Transform:",V1:"V1",V2:"V2",V3:"V3",V4:"V4",pan:"Pan:",panLeft:"⬅️",panRight:"➡️",panUp:"⬆️",panDown:"⬇️",transformZoom:"Zoom Transform",zoom1_5x:"Zoom 1.5x",zoom2x:"Zoom 2x",minorTransform:"Minor Transform",strongTransform:"Strong Transform",regionalRedraw:"Regional Redraw",regionalRedraw1:"Regional Redraw (Select the Area to Change)",submitTask:"Submit Task",selectSuiteForZoom:"Action: Select a suite to zoom",selectSuiteForTransform:"Action: Select a suite for transformation",regeneratingImage:"Action: Regenerating the image",drawingInProgress:"Action: Rapid drawing in progress...",tryDifferentPrompt:"Execute: Try a different prompt!",statusWaiting:"Waiting",statusDrawing:"Drawing",statusSuccess:"Success",statusFailure:"Failure",statusTimeout:"Timeout",downloadImageTitle:"Download Image",downloadImageContent:"Download the current image",downloadButtonText:"Download",cancelButtonText:"Cancel",deleteRecordTitle:"Delete Record",deleteRecordContent:"Delete the current drawing record?",deleteButtonText:"Delete",submitZoomDrawingSuccess:"Zoom drawing task submitted successfully, please wait for it to finish!",submitRedrawSuccess:"Redraw task submitted successfully, please wait for it to finish!",submitTransformDrawingSuccess:"Transform drawing task submitted successfully, please wait for it to finish!",submitEnlargeDrawingSuccess:"Enlarge drawing task submitted successfully, please wait for it to finish!",submitAdvancedTransformDrawingSuccess:"Advanced transform drawing task submitted successfully, please wait for it to finish!",submitRegionalRedrawSuccess:"Regional redraw task submitted successfully, please wait for it to finish!",drawingRecordDeleted:"Drawing record has been deleted!",queueing:"Queueing...",drawing:"Drawing...",storing:"Storing image...",drawingFailed:"Drawing Failed",pointsRefunded:"Points Refunded!",submitDrawingTaskSuccess:"Drawing task submitted successfully, please wait for it to finish!",defaultStyle:"Default Style",expressiveStyle:"Expressive Style",cuteStyle:"Cute Style",scenicStyle:"Scenic Style",standardQuality:"Standard",generalQuality:"General",highDefinitionQuality:"High Definition",ultraHighDefinitionQuality:"Ultra High Definition",enterDescription:"Please enter descriptive words!",optimizationFailed:"Optimization failed!",professionalDrawing:"Professional Drawing",parameterExplanation:"Parameter Explanation: Generate image size ratio",imageSize:"Image Size",modelSelection:"Model Selection",tooltipMJ:"MJ: General-purpose realistic model",tooltipNIJI:"NIJI: Anime style, suitable for 2D models",version:"Version",style:"Style",parameters:"Parameters",parametersTooltip:"Use parameters wisely to achieve more ideal results!",quality:"Quality",chaos:"Chaos",chaosDescription:"Value range: 0-100, --chaos or --c",chaosExplanation:"Chaos level, can be understood as the space for AI to think outside the box",chaosAdvice:"The smaller the value, the more reliable, with the default of 0 being the most precise",stylization:"Stylization",stylizationDescription:"Stylization: --stylize or --s, range 1-1000",parameterExplanation1:"Parameter explanation: The higher the number, the richer and more artistic the visual presentation",setting:"Setting",carryParameters:"Carry Parameters",autoCarryParameters:"Whether to automatically carry parameters",carryOn:"On: Carries the parameters we have configured",carryOff:"Off: Uses the parameters we customize in the command",imageToImage:"Image to Image",clickOrDrag:"Click or drag an image here to use as input",supportFormats:"Supports PNG and JPG formats",remainingPoints:"Remaining Points",refresh:"Refresh",accountInfo:"Account Information",points:"Points",paintingSingleUse:"Painting:",imageGenerationSingleUse:"Generation:",enlargementSingleUse:"Enlargement:",submitDrawingTask:"Enter keywords, submit drawing task",optimize:"Optimize",enterDrawingKeywords:"Enter drawing keywords. For example: A colorful cat, cute, cartoon",unnecessaryElements:"Unnecessary Elements",exclusionPrompt:"Example: Generate a room image, but exclude the bed, you can fill in 'bed'!",workingContents:"Working Contents",currentTasks:"Current tasks in progress",goToAIDrawingSquare:"Click to go to the AI Drawing Square",tasksInProgress:"tasks are currently in progress. Please wait patiently for the drawing to complete. You can visit other pages and return later to see the results!",myDrawings:"My Drawings",aiDrawingSquare:"AI Drawing Square",sizeAdjustment:"Size Adjustment",keywordSearchPlaceholder:"Prompt Keyword Search"},cx={membershipMarket:"Membership Market",sizeAdjustment:"Size Adjustment",memberPackage:"Limited Time Member Package",permanentAddOnCard:"Permanent Add-On Card",baseModelQuota:"Base Model Quota",advancedModelQuota:"Advanced Model Quota",MJDrawingQuota:"MJ Drawing Quota",packageValidity:"Package Validity",days:"days",permanent:"Permanent",points:"Points",welcomeTipMobile:"Explore freely, welcome to our online store!",welcomeTipDesktop:"Explore freely, welcome to our online store, thank you for choosing us, let's start a delightful shopping journey together!",paymentNotEnabled:"Payment has not been enabled by the admin!",purchaseSuccess:"Purchase successful, enjoy your product!",paymentNotComplete:"You have not completed the payment yet!",wechat:"WeChat",alipay:"Alipay",wechatPay:"WeChat Pay",alipayPay:"Alipay Pay",paymentSuccess:"Congratulations, your payment was successful. Enjoy your purchase!",paymentTimeout:"Payment timeout, please place your order again!",productPayment:"Product Payment",amountDue:"Amount Due:",packageName:"Package Name:",packageDescription:"Package Description:",siteAdminEnabledRedirect:"The site administrator has enabled redirect payment",clickToPay:"Click to Proceed to Payment",completePaymentWithin:"Please complete the payment within",timeToCompletePayment:"!",open:"Open",scanToPay:"Scan to Pay"},lx={title:"Mind Map",yourNeeds:"Your Needs?",inputPlaceholder:"Please enter a brief description of the content you want to generate, AI will produce a complete markdown content and its mind map for you!",generateMindMapButton:"Generate Mind Map",contentRequirements:"Content Requirements",tryDemoButton:"Try a Demo",usageCredits:"Base credits per use: 1",exportHTML:"Export HTML",exportPNG:"Export PNG",exportSVG:"Export SVG"},ux={defaultSignature:"I am an AI robot based on deep learning and natural language processing technologies, aimed at providing users with efficient, accurate, and personalized intelligent services.",syncComplete:"Data synchronization completed",personalCenter:"Personal Center",logOut:"Log Out",myUsageRecord:"My Usage Record on This Site",basicModelCredits:"Basic Model Credits:",advancedModelCredits:"Advanced Model Credits:",basicModelUsage:"Basic Model Usage:",advancedModelUsage:"Advanced Model Usage:",drawingUsageCredits:"Drawing Usage Credits:",bindWeChat:"Bind WeChat:",clickToBindWeChat:"Click to Bind WeChat",weChatBound:"WeChat Bound",syncVisitorData:"Click to Sync Visitor Data",points:"Points",membershipExpiration:"Membership Expiration Date:",editInfoDescription:"Edit personal information, view more details",myDetails:"My Details",myWallet:"My Wallet",basicInfo:"Basic Information",userBasicSettings:"User Basic Settings",avatarPlaceholder:"Please enter your avatar URL",usernamePlaceholder:"Edit your username",signaturePlaceholder:"Edit your signature",passwordManagement:"Password Management",inviteBenefits:"Invite for Benefits",clickToLogin:"Log In",notLoggedIn:"Not Logged In",avatar:"Avatar",username:"Username",email:"Email",inviteeStatus:"Invitee Status",inviteTime:"Invite Time",rewardStatus:"Reward Status",certified:"Certified",notActivated:"Not Activated",rewardReceived:"Reward Received",waitingConfirmation:"Waiting for Confirmation",linkGeneratedSuccess:"Invitation link generated successfully",generateLinkFirst:"Please generate your exclusive invitation link first!",linkCopiedSuccess:"Exclusive invitation link copied successfully!",copyNotSupported:"Automatic copying is not supported on this device, please copy manually!",inviteForBenefits:"Invite Users, Earn Benefits!",myInviteCode:"My Invitation Code",generateInviteCode:"Generate Exclusive Invite Code",copyInviteLink:"Copy Exclusive Invite Link",inviteOneUser:"Inviting a user grants",basicModelCredits1:"basic model credits+",advancedModelCredits1:"advanced model credits+",mjDrawingCredits:"MJ drawing credits",receiveInvitation:"Invited users receive",creditsEnd:"credits",invitationRecord:"Invitation Record",passwordMinLength:"The minimum password length is 6 characters",passwordMaxLength:"The maximum password length is 30 characters",enterPassword:"Please enter a password",reenterPassword:"Please re-enter your password",passwordsNotMatch:"The passwords do not match",passwordUpdateSuccess:"Password updated successfully, please log in again!",changeYourPassword:"Change Your Password",oldPassword:"Old Password",newPassword:"New Password",confirmPassword:"Confirm Password",reloginAfterPasswordChange:"You will need to log in again after updating your password!",updateYourPassword:"Update Your Password",passwordRequirements:"Password Requirements",newPasswordInstructions:"To create a new password, you must meet all the following requirements:",minimumCharacters:"At least 6 characters",maximumCharacters:"No more than 30 characters",requireNumber:"Must contain at least one number",orderNumber:"Order Number",rechargeType:"Recharge Type",basicModelQuota:"Basic Model Quota",advancedModelQuota:"Advanced Model Quota",mjDrawingQuota:"MJ Drawing Quota",validity:"Validity",rechargeTime:"Recharge Time",enterCardSecret:"Please enter the card secret first!",cardRedeemSuccess:"Card redeemed successfully, enjoy your use!",userWalletBalance:"User Wallet Balance",basicModelBalance:"Basic Model Balance",creditUsageNote:"Each conversation consumes different credits depending on the model!",advancedModelBalance:"Advanced Model Balance",modelConsumptionNote:"Each conversation consumes different credits depending on the model!",mjDrawingBalance:"MJ Drawing Balance",drawingConsumptionNote:"Different credits are consumed based on drawing actions!",cardRecharge:"Card Recharge",enterCardDetails:"Please paste or enter your card details!",exchange:"Exchange",buyCardSecret:"Buy Card Secret",rechargeRecords:"Recharge Records",packagePurchase:"Package Purchase",buyPackage:"Buy Package"},fx={signInReward:"Sign-in Reward",themeSwitch:"Theme Switch",personalCenter:"Personal Center",loginAccount:"Log In Account"},dx={doNotRemind24h:"Do not remind again for 24 hours"},hx={enterUsername:"Please enter your username",usernameLength:"Username must be between 2 and 30 characters",enterPassword:"Please enter your password",passwordLength:"Password must be between 6 and 30 characters",enterEmail:"Please enter your email address",emailValid:"Please enter a valid email address",enterCaptcha:"Please enter the captcha",emailPhone:"Email / Phone",email:"Email",phone:"Phone",registrationSuccess:"Account registration successful, start your experience!",loginSuccess:"Account login successful, start your experience!",registerTitle:"Register",enterContact:"Please provide your ",enterCode:"Please enter the verification code",sendVerificationCode:"Send Verification Code",optionalInvitationCode:"Invitation Code [Optional]",registerAccount:"Register Account",alreadyHaveAccount:"Already have an account?",goToLogin:"Go to Login",password:"Password",enterYourPassword:"Please enter your password",rememberAccount:"Remember account",forgotPassword:"Forgot password?",loginAccount:"Log In Account",noAccount:"Don’t have an account?",register:"Register",orUse:"or use",scanLogin:"Scan to Log In",wechatLogin:"WeChat Login",wechatScanFailed:"Failed WeChat QR code login? Use",useWechatScan:"Use WeChat to Scan and Log In"},xx={orderAmount:"Order Amount",productType:"Product Type",status:"Status",commissionRate:"Commission Rate",commission:"Commission",orderTime:"Order Time",purchasePackage:"Purchase Package",accounted:"Accounted",generateInviteCodeSuccess:"Invitation code generated successfully",withdrawalTime:"Withdrawal Time",withdrawalAmount:"Withdrawal Amount",withdrawalChannel:"Withdrawal Channel",withdrawalStatus:"Withdrawal Status",withdrawalRemarks:"Withdrawal Remarks",auditor:"Auditor",alipay:"Alipay",wechat:"WeChat",paid:"Paid",rejected:"Rejected",inReview:"In Review",avatar:"Avatar",username:"Username",email:"Email",inviteeStatus:"Invitee Status",registered:"Registered",pendingActivation:"Pending Activation",registrationTime:"Registration Time",lastLogin:"Last Login",requestInviteCodeFirst:"Please request your invitation code first",linkCopiedSuccess:"Share link copied successfully",title:"Referral Program",description:"Join us and share in success! Welcome to our distribution page, become our partner and create a bright future together!",defaultSalesOutletName:"Rookie Referral Officer",myReferrals:"My Referrals",currencyUnit:"Yuan",remainingAmount:"Remaining Withdrawable Amount",withdrawingAmount:"Amount in Withdrawal",withdrawNow:"Withdraw Now",minimumWithdrawalPrefix:"Minimum",minimumWithdrawalSuffix:"Yuan Withdrawable",purchaseOrderCount:"Purchase Order Count",promotionLinkVisits:"Promotion Link Visits",registeredUsers:"Registered Users",referralEarnings:"Referral Earnings",referralEarningsDescription:"Commission amount returned after referred users register and buy products",percentage:"Percentage",applyForAdvancedAgent:"Apply to Become an Advanced Agent",contactAdminForAdvancedAgent:"Contact the site owner to apply for an advanced agent to enjoy high commissions",joinAsPartner:"Join Us as a Partner",partnerDescription:"Join us as a partner to co-operate the community, win-win cooperation!",winTogether:"Win Together, Advance Together",referralLink:"Referral Link:",apply:"Apply",referralRecordsTab:"Referral Records",withdrawalRecordsTab:"Withdrawal Records",registeredUsersTab:"Registered Users",inviteFriends:"Invite friends, gift meal cards, and enjoy recharge commissions!",inviteLink:"Invite Link",copy:"Copy",inviteBenefits1:"Both parties enjoy a certain amount of permanent card rewards when inviting friends.",inviteBenefits2Prefix:"Earn a ",inviteBenefits2Suffix:"% commission on your friend's recharge amount.",enterWithdrawalAmount:"Please enter your withdrawal amount!",selectWithdrawalChannel:"Please select your withdrawal channel!",enterContactInfo:"Please provide your contact information and remark!",optionalRemark:"If there are any special circumstances, please remark!",withdrawalSuccess:"Withdrawal application successful, please wait for approval!",withdrawalApplicationForm:"Withdrawal Application Form",contactInformation:"Contact Information",withdrawalRemark:"Withdrawal Remark",enterWithdrawalRemark:"Please enter your withdrawal remarks",applyWithdrawal:"Apply for Withdrawal"},px={purchaseSuccess:"Purchase successful, enjoy your item!",paymentNotSuccessful:"You have not completed the payment yet!",orderConfirmationTitle:"Order Confirmation",orderConfirmationContent:"Welcome to purchase, are you sure you want to buy ",thinkAgain:"Let me think again",confirmPurchase:"Confirm Purchase",paymentNotEnabled:"Payment has not been enabled by the administrator!",selectProducts:"Select Products",basicModelQuota:"Basic Model Quota",advancedModelQuota:"Advanced Model Quota",drawingQuota:"Drawing Quota",buyPackage:"Buy Package"},mx={1:"Registration Bonus",2:"Invitation Bonus",3:"Referring Others Bonus",4:"Purchase via Card Code",5:"Admin Bonus",6:"QR Code Purchase",7:"MJ Drawing Failure Refund",8:"Sign-in Reward"},gx={0:"Not Paid",1:"Paid",2:"Payment Failed",3:"Payment Timeout"},vx={logoutSuccess:"Successfully logged out!"},Ex={language:tx,common:rx,chat:nx,app:ax,setting:ox,store:ix,draw:sx,pay:cx,mindmap:lx,usercenter:ux,siderBar:fx,notice:dx,login:hx,share:xx,goods:px,rechargeTypes:mx,orderStatus:gx,messages:vx},bx="中文",Cx={add:"添加",addSuccess:"添加成功",edit:"编辑",editSuccess:"编辑成功",delete:"删除",deleteSuccess:"删除成功",update:"修改",saveSuccess:"保存成功",updateUserSuccess:"修改用户信息成功",reset:"重置",action:"操作",export:"导出",exportSuccess:"导出成功",import:"导入",importSuccess:"导入成功",clear:"清空",clearSuccess:"清空成功",yes:"是",no:"否",download:"下载",noData:"暂无数据",wrong:"好像出错了,请稍后再试。",success:"操作成功",failed:"操作失败",verify:"验证",unauthorizedTips:"未经授权,请先进行验证。",confirm:"确认",cancel:"取消"},_x={newChatButton:"新建聊天",placeholder:"来说点什么吧...(Shift + Enter = 换行)",placeholderMobile:"来说点什么...",copy:"复制",copied:"复制成功",copyCode:"复制代码",clearChat:"清空会话",clearChatConfirm:"是否清空会话?",exportImage:"保存会话到图片",exportImageConfirm:"是否将会话保存为图片?",exportSuccess:"保存成功",exportFailed:"保存失败",usingContext:"上下文模式",turnOnContext:"当前模式下, 发送消息会携带之前的聊天记录",turnOffContext:"当前模式下, 发送消息不会携带之前的聊天记录",deleteMessage:"删除消息",deleteMessageConfirm:"删除此条对话?",deleteHistoryConfirm:"确定删除此记录?",clearHistoryConfirm:"确定清空聊天记录?",preview:"预览",showRawText:"显示原文",size:"尺寸:",generatedContentDisclaimer:"AI 生成内容仅供参考,不代表本平台立场。版权所有 ©",square1:"方形(1:1)",illustration:"配图(4:3)",wallpaper:"壁纸(16:9)",media:"媒体(3:4)",poster:"海报(9:16)",square:"方形",landscape:"宽屏",portrait:"垂直",chatDialogue:"对话聊天",startNewConversationPrompt:"点击下方按钮,开始一个新的对话吧",newConversation:"新对话",networkModeEnabledContextInvalid:"已开启联网模式、上下文状态失效!",networkModeDisabled:"已关闭联网模式!",pointsMall:"积分商城",toggleTheme:"切换主题",signInReward:"签到奖励",networkMode:"联网模式",searchHistoryConversations:"搜索历史对话",announcement:"网站公告",clear:"清空对话",remaining:"剩余:",ordinaryPoints:"普通积分",advancedPoints:"高级积分",drawingPoints:"绘画积分",points:"积分",clearConversation:"清空对话",clearAllNonFavoriteConversations:"清空所有非收藏的对话?",more:"更多",collapse:"折叠",myApps:"我的应用",appSquare:"应用广场",favorites:"收藏",todayConversations:"今日对话",historyConversations:"历史对话",favoriteConversations:"收藏对话",unfavorite:"取消收藏",rename:"重命名",deleteConversation:"删除对话",me:"我",onlineSearch:"联网搜索",mindMap:"思维导图",fileAnalysis:"文件分析",delete:"删除",regenerate:"重新生成",pause:"暂停",loading:"加载中...",readAloud:"朗读",U1:"🔍 放大左上",U2:"🔍 放大右上",U3:"🔍 放大左下",U4:"🔍 放大右下",V1:"🪄 变换左上",V2:"🪄 变换右上",V3:"🪄 变换左下",V4:"🪄 变换右下",panLeft:"⬅️ 向左平移",panRight:"➡️ 向右平移",panUp:"⬆️ 向上平移",panDown:"⬇️ 向下平移",zoomIn15x:"↔️ 扩图1.5倍",zoomIn2x:"↔️ 扩图2倍",minorTransform:"🖌️ 微变换",strongTransform:"🖌️ 强变换",enlargeImagePrefix:"放大第",enlargeImageSuffix:"张图片",transformImagePrefix:"变换第",transformImageSuffix:"张图片",expandDrawing:"扩图绘制",advancedTransform:"高级变换",translateImage:"平移图片",imageToImage:"以图生图",faceConsistency:"人脸一致",styleConsistency:"风格一致",selectAppOrTopic:"选择应用或话题快速对话"},yx={sampleTemplate:"示例模板",exploreInfinitePossibilities:"探索无限可能,与 AI 一同开创智慧未来",searchAppNameQuickFind:"搜索应用名称、快速查找应用...",allCategories:"全部分类",noModelConfigured:"管理员未配置特定应用模型、请联系管理员配置~"},Ax={setting:"设置",general:"总览",advanced:"高级",personalInfo:"个人信息",avatarLink:"头像链接",name:"用户名称",sign:"用户签名",role:"角色设定",resetUserInfo:"重置用户信息",chatHistory:"聊天记录",theme:"主题",language:"语言",api:"API",reverseProxy:"反向代理",timeout:"超时",socks:"Socks",httpsProxy:"HTTPS Proxy",balance:"API余额"},Sx={siderButton:"提示词商店",local:"本地",online:"在线",title:"标题",description:"描述",clearStoreConfirm:"是否清空数据?",importPlaceholder:"请粘贴 JSON 数据到此处",addRepeatTitleTips:"标题重复,请重新输入",addRepeatContentTips:"内容重复:{msg},请重新输入",editRepeatTitleTips:"标题冲突,请重新修改",editRepeatContentTips:"内容冲突{msg} ,请重新修改",importError:"键值不匹配",importRepeatTitle:"标题重复跳过:{msg}",importRepeatContent:"内容重复跳过:{msg}",onlineImportWarning:"注意:请检查 JSON 文件来源!",downloadError:"请检查网络状态与 JSON 文件有效性"},Dx={use:"使用",download:"下载",delete:"删除",zoom:"放大:",U1:"左上",U2:"右上",U3:"左下",U4:"右下",regenerateOnce:"重新生成一次",transform:"变换:",V1:"左上",V2:"右上",V3:"左下",V4:"右下",pan:"平移:",panLeft:"向左",panRight:"向右",panUp:"向上",panDown:"向下",transformZoom:"扩图变换:",zoom1_5x:"扩图1.5倍",zoom2x:"扩图2倍",minorTransform:"微变换",strongTransform:"强变换",regionalRedraw:"区域重绘",regionalRedraw1:"区域重绘(框选要改变的区域)",submitTask:"提交任务",selectSuiteForZoom:"操作:选中套图进行放大",selectSuiteForTransform:"操作:选中套图进行变换",regeneratingImage:"操作:正在对图片重新生成一次",drawingInProgress:"操作:正在火速绘制中...",tryDifferentPrompt:"执行:换个提示词重新试试吧!",statusWaiting:"等待中",statusDrawing:"绘制中",statusSuccess:"成功",statusFailure:"失败",statusTimeout:"超时",downloadImageTitle:"下载图片",downloadImageContent:"下载当前图片",downloadButtonText:"下载",cancelButtonText:"取消",deleteRecordTitle:"删除记录",deleteRecordContent:"删除当前绘制记录?",deleteButtonText:"删除",submitZoomDrawingSuccess:"提交放大绘制任务成功、请等待绘制结束!",submitRedrawSuccess:"提交重新绘制任务成功、请等待绘制结束!",submitTransformDrawingSuccess:"提交变换绘制任务成功、请等待绘制结束!",submitEnlargeDrawingSuccess:"提交扩图任务成功、请等待绘制结束!",submitAdvancedTransformDrawingSuccess:"提交高级变换绘制任务成功、请等待绘制结束!",submitRegionalRedrawSuccess:"提交区域重绘任务成功、请等待绘制结束!",drawingRecordDeleted:"绘制记录已删除!",queueing:"排队中...",drawing:"正在绘制...",storing:"图片存储中...",drawingFailed:"绘制失败",pointsRefunded:"积分已退还!",submitDrawingTaskSuccess:"提交绘制任务成功、请等待绘制结束!",defaultStyle:"默认风格",expressiveStyle:"表现力风格",cuteStyle:"可爱风格",scenicStyle:"景观风格",standardQuality:"普通",generalQuality:"一般",highDefinitionQuality:"高清",ultraHighDefinitionQuality:"超高清",enterDescription:"请输入描述词!",optimizationFailed:"优化失败了!",professionalDrawing:"专业绘图",parameterExplanation:"参数释义:生成图片尺寸比例",imageSize:"图片尺寸",modelSelection:"模型选择",tooltipMJ:"MJ: 偏真实通用模型",tooltipNIJI:"NIJI: 偏动漫风格、适用于二次元模型",version:"版本",style:"风格",parameters:"参数",parametersTooltip:"合理使用参数绘制更为理想的结果!",quality:"品质",chaos:"混乱",chaosDescription:"取值范围:0-100、 --chaos 或 --c",chaosExplanation:"混乱级别,可以理解为让AI天马行空的空间",chaosAdvice:"值越小越可靠、默认0最为精准",stylization:"风格化",stylizationDescription:"风格化:--stylize 或 --s,范围 1-1000",parameterExplanation1:"参数释义:数值越高,画面表现也会更具丰富性和艺术性",setting:"设定",carryParameters:"携带参数",autoCarryParameters:"是否自动携带参数",carryOn:"打开:携带上述我们配置的参数",carryOff:"关闭:使用指令中的我们自定义的参数",imageToImage:"以图生图",clickOrDrag:"点击或拖拽一个图片到这里作为输入",supportFormats:"支持PNG和JPG格式",remainingPoints:"剩余积分",refresh:"刷新",accountInfo:"账户信息",points:"积分",paintingSingleUse:"绘画单次消耗:",imageGenerationSingleUse:"图生图单次消耗:",enlargementSingleUse:"放大单次消耗:",submitDrawingTask:"输入关键词,提交绘制任务",optimize:"优化",enterDrawingKeywords:"输入绘图关键词。例如:一只五颜六色的猫,可爱,卡通",unnecessaryElements:"不需要的元素",exclusionPrompt:"例:生成房间图片、但是不要床、你可以填bed!",workingContents:"工作中的内容",currentTasks:"当前系统进行中任务",goToAIDrawingSquare:"点击前往 AI 绘画广场",tasksInProgress:"个任务正在进行中、请耐心等候绘制完成、您可以前往其他页面稍后回来查看结果!",myDrawings:"我的绘图",aiDrawingSquare:"AI绘画广场",sizeAdjustment:"尺寸调整",keywordSearchPlaceholder:"prompt关键词搜索"},Bx={membershipMarket:"会员商场",sizeAdjustment:"尺寸调整",memberPackage:"会员限时套餐",permanentAddOnCard:"叠加永久次卡",baseModelQuota:"普通积分",advancedModelQuota:"高级积分",MJDrawingQuota:"绘画积分",packageValidity:"套餐有效期",days:"天",permanent:"永久",points:"积分",welcomeTipMobile:"尽情探索,欢迎光临我们的在线商店!",welcomeTipDesktop:"尽情探索,欢迎光临我们的在线商店、感谢您选择我们、让我们一同开启愉悦的购物之旅!",paymentNotEnabled:"管理员还未开启支付!",purchaseSuccess:"购买成功、祝您使用愉快!",paymentNotComplete:"您还没有支付成功哟!",wechat:"微信",alipay:"支付宝",wechatPay:"微信支付",alipayPay:"支付宝支付",paymentSuccess:"恭喜你支付成功、祝您使用愉快!",paymentTimeout:"支付超时,请重新下单!",productPayment:"商品支付",amountDue:"需要支付:",packageName:"套餐名称:",packageDescription:"套餐描述:",siteAdminEnabledRedirect:"当前站长开通了跳转支付",clickToPay:"点击前往支付",completePaymentWithin:"请在",timeToCompletePayment:"时间内完成支付!",open:"打开",scanToPay:"扫码支付"},Fx={title:"思维导图",yourNeeds:"您的需求?",inputPlaceholder:"请输入您想要生成内容的简单描述、AI将为您输出一份完整的markdown内容及其思维导图!",generateMindMapButton:"智能生成生成思维导图",contentRequirements:"内容需求",tryDemoButton:"试试示例",usageCredits:"每次使用消耗基础积分: 1",exportHTML:"导出HTML",exportPNG:"导出PNG",exportSVG:"导出SVG"},Px={defaultSignature:"我是一台基于深度学习和自然语言处理技术的 AI 机器人,旨在为用户提供高效、精准、个性化的智能服务。",syncComplete:"已同步数据完成",personalCenter:"个人中心",logOut:"退出登录",myUsageRecord:"我在本站的使用记录",basicModelCredits:"基础模型积分:",advancedModelCredits:"高级模型积分:",basicModelUsage:"基础模型使用:",advancedModelUsage:"高级模型使用:",drawingUsageCredits:"绘画使用积分:",bindWeChat:"绑定微信:",clickToBindWeChat:"点击绑定微信",weChatBound:"已绑定微信",syncVisitorData:"点击同步访客数据",points:"积分",membershipExpiration:"会员过期时间:",editInfoDescription:"编辑个人信息、查看更多详情",myDetails:"我的详情",myWallet:"我的钱包",basicInfo:"基础信息",userBasicSettings:"用户基础设置",avatarPlaceholder:"请填写头像地址",usernamePlaceholder:"请编辑您的用户名",signaturePlaceholder:"请编辑您的签名",passwordManagement:"密码管理",inviteBenefits:"邀请得福利",clickToLogin:"点击登入",notLoggedIn:"未登录",avatar:"头像",username:"用户名称",email:"用户邮箱",inviteeStatus:"受邀人状态",inviteTime:"邀请时间",rewardStatus:"获得奖励状态",certified:"已认证",notActivated:"未激活",rewardReceived:"已领取邀请奖励",waitingConfirmation:"等待受邀人确认",linkGeneratedSuccess:"生成邀请链接成功",generateLinkFirst:"请先生成您的专属邀请链接!",linkCopiedSuccess:"复制专属邀请链接成功!",copyNotSupported:"当前设置不支持自动复制、手动复制吧!",inviteForBenefits:"邀用户、得福利!",myInviteCode:"我的邀请码",generateInviteCode:"生成专属邀请码",copyInviteLink:"复制专属邀请链接",inviteOneUser:"邀请一位用户赠送",basicModelCredits1:"积分基础模型额度+",advancedModelCredits1:"积分高级模型额度+",mjDrawingCredits:"MJ绘画积分额度",receiveInvitation:"收到邀请用户获得",creditsEnd:"积分",invitationRecord:"邀请记录",passwordMinLength:"密码最短长度为6位数",passwordMaxLength:"密码最长长度为30位数",enterPassword:"请输入密码",reenterPassword:"请再次输入密码",passwordsNotMatch:"两次密码输入不一致",passwordUpdateSuccess:"密码更新成功、请重新登录系统!",changeYourPassword:"变更您的密码",oldPassword:"旧密码",newPassword:"新密码",confirmPassword:"确认密码",reloginAfterPasswordChange:"更新密码完成后将重新登录!",updateYourPassword:"更新您的密码",passwordRequirements:"密码要求",newPasswordInstructions:"要创建一个新的密码,你必须满足以下所有要求。",minimumCharacters:"最少6个字符",maximumCharacters:"最多30个字符",requireNumber:"至少带有一个数字",orderNumber:"订单编号",rechargeType:"充值类型",basicModelQuota:"普通积分",advancedModelQuota:"高级积分",mjDrawingQuota:"绘画积分",validity:"有效期",rechargeTime:"充值时间",enterCardSecret:"请先填写卡密!",cardRedeemSuccess:"卡密兑换成功、祝您使用愉快!",userWalletBalance:"用户钱包余额",basicModelBalance:"基础模型余额",creditUsageNote:"每次对话根据模型消费不同积分!",advancedModelBalance:"高级模型余额",modelConsumptionNote:"每次对话根据模型消费不同积分!",mjDrawingBalance:"MJ绘画余额",drawingConsumptionNote:"根据画图动作消耗不同的积分!",cardRecharge:"卡密充值",enterCardDetails:"请粘贴或填写您的卡密信息!",exchange:"兑换",buyCardSecret:"购买卡密",rechargeRecords:"充值记录",packagePurchase:"套餐购买",buyPackage:"购买套餐"},kx={signInReward:"签到奖励",themeSwitch:"主题切换",personalCenter:"个人中心",loginAccount:"登录账户"},Tx={doNotRemind24h:"我已知晓"},Ix={enterUsername:"请输入用户名",usernameLength:"用户名长度应为 2 到 30 个字符",enterPassword:"请输入密码",passwordLength:"密码长度应为 6 到 30 个字符",enterEmail:"请输入邮箱地址",enterPhone:"请输入手机号码",enterEmailOrPhone:"请输入邮箱地址或手机号码",emailValid:"请输入正确的邮箱地址",enterCaptcha:"请填写图形验证码",emailPhone:"邮箱 / 手机号",email:"邮箱",phone:"手机号",registrationSuccess:"账户注册成功、开始体验吧!",loginSuccess:"账户登录成功、开始体验吧!",registerTitle:"注册",enterContact:"请填写您的",enterCode:"请填写验证码",sendVerificationCode:"发送验证码",optionalInvitationCode:"邀请码[非必填]",registerAccount:"注册账户",alreadyHaveAccount:"已经有帐号?",goToLogin:"去登录",password:"密码",enterYourPassword:"请输入您的账户密码",rememberAccount:"记住帐号",forgotPassword:"忘记密码?",loginAccount:"登录账户",noAccount:"还没有帐号?",register:"去注册",orUse:"或使用",scanLogin:"扫码登录",wechatLogin:"微信登录",wechatScanFailed:"不使用微信扫码登录?试试",useWechatScan:"使用微信扫码登录"},Lx={orderAmount:"订单金额",productType:"商品类型",status:"状态",commissionRate:"佣金比例",commission:"佣金",orderTime:"订购时间",purchasePackage:"购买套餐",accounted:"已入账",generateInviteCodeSuccess:"生成邀请码成功",withdrawalTime:"提现时间",withdrawalAmount:"提现金额",withdrawalChannel:"提现渠道",withdrawalStatus:"提现状态",withdrawalRemarks:"提现备注",auditor:"审核人",alipay:"支付宝",wechat:"微信",paid:"已打款",rejected:"被拒绝",inReview:"审核中",avatar:"头像",username:"用户名",email:"邮箱",inviteeStatus:"受邀人状态",registered:"已注册",pendingActivation:"待激活",registrationTime:"注册时间",lastLogin:"最后登录",requestInviteCodeFirst:"请先申请你的邀请码",linkCopiedSuccess:"复制推荐链接成功",title:"推介计划",description:"加入我们,共享成功!欢迎来到我们的分销页面,成为我们的合作伙伴,一同开创美好未来!",defaultSalesOutletName:"新秀推荐官",myReferrals:"我的推介",currencyUnit:"元",remainingAmount:"剩余可提金额",withdrawingAmount:"提现中金额",withdrawNow:"立即提现",minimumWithdrawalPrefix:"最低",minimumWithdrawalSuffix:"元可提现",purchaseOrderCount:"购买订单数量",promotionLinkVisits:"推广链接访问次数",registeredUsers:"注册用户",referralEarnings:"推介收益",referralEarningsDescription:"推介的用户注册购买产品后返佣金额",percentage:"百分比",applyForAdvancedAgent:"申请成为高级代理",contactAdminForAdvancedAgent:"联系站长申请高级代理可享超高返佣",joinAsPartner:"加入我们成为合伙人",partnerDescription:"加入我们成为合伙人共同运营社区、合作双赢!",winTogether:"合作共赢,携手共进",referralLink:"推荐链接:",apply:"申请",referralRecordsTab:"推介记录",withdrawalRecordsTab:"提现记录",registeredUsersTab:"注册用户",inviteFriends:"邀好友、赠套餐卡密、享充值返佣!",inviteLink:"邀请链接",copy:"复制",inviteBenefits1:"邀请好友双方都可享受一定额度的永久次卡奖励",inviteBenefits2Prefix:"邀请好友充值,您可获得充值金额的",inviteBenefits2Suffix:"%返佣",enterWithdrawalAmount:"请填写你的提款金额!",selectWithdrawalChannel:"请选择你的提款渠道!",enterContactInfo:"请填写您的联系方式并备注!",optionalRemark:"如有特殊情况、请备注说明!",withdrawalSuccess:"申请提现成功、请耐心等待审核!",withdrawalApplicationForm:"提款申请表",contactInformation:"联系方式",withdrawalRemark:"提款备注",enterWithdrawalRemark:"请填写你的提款备注!",applyWithdrawal:"申 请 提 现"},Rx={purchaseSuccess:"购买成功、祝您使用愉快!",paymentNotSuccessful:"您还没有支付成功哟!",orderConfirmationTitle:"订单确认",orderConfirmationContent:"欢迎选购、确定购买",thinkAgain:"我再想想",confirmPurchase:"确认购买",paymentNotEnabled:"管理员还未开启支付!",selectProducts:"选购商品",basicModelQuota:"基础积分",advancedModelQuota:"高级积分",drawingQuota:"绘画积分",buyPackage:"购买套餐"},Nx={1:"注册赠送",2:"受邀请赠送",3:"邀请他人赠送",4:"购买卡密充值",5:"管理员赠送",6:"扫码购买充值",7:"MJ绘画失败退款",8:"签到奖励"},Ox={0:"未支付",1:"已支付",2:"支付失败",3:"支付超时"},Mx={logoutSuccess:"登出账户成功!"},Ux={language:bx,common:Cx,chat:_x,app:yx,setting:Ax,store:Sx,draw:Dx,pay:Bx,mindmap:Fx,usercenter:Px,siderBar:kx,notice:Tx,login:Ix,share:Lx,goods:Rx,rechargeTypes:Nx,orderStatus:Ox,messages:Mx};fu();localStorage.getItem("appLanguage");const Hx="zh-CN",w0=$h({locale:Hx,fallbackLocale:"en-US",allowComposition:!0,messages:{"en-US":Ex,"zh-CN":Ux}}),Rm=w0.global.t;function Wx(e){e.use(w0)}function jx(){const e=Ss(),t=pc(),r=ve(()=>e.theme==="auto"?t.value==="dark":e.theme==="dark"),n=ve(()=>r.value?nr:void 0),o=ve(()=>r.value?{common:{}}:{common:{primaryColor:"#409eff"}}),a={common:{primaryColor:"#5A91FCFF",primaryColorHover:"#3074F8FF",primaryColorPressed:"#3671E4FF",baseColor:"#ffffff"},Switch:{railColorActive:"#5A91FCFF"},Layout:{}},i={common:{primaryColor:"#5A91FCFF",primaryColorHover:"#3074F8FF",primaryColorPressed:"#3671E4FF"},Skeleton:{color:"#F4F3F3FF",colorEnd:"#F1F0F0FF"},Layout:{}};return St(()=>r.value,l=>{l?document.documentElement.classList.add("dark"):document.documentElement.classList.remove("dark")},{immediate:!0}),{theme:n,themeOverrides:o,lightThemeOverrides:i,darkThemeOverrides:a}}var A0={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(re,function(){return function(r){var n={};function o(a){if(n[a])return n[a].exports;var i=n[a]={i:a,l:!1,exports:{}};return r[a].call(i.exports,i,i.exports,o),i.l=!0,i.exports}return o.m=r,o.c=n,o.d=function(a,i,l){o.o(a,i)||Object.defineProperty(a,i,{enumerable:!0,get:l})},o.r=function(a){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})},o.t=function(a,i){if(1&i&&(a=o(a)),8&i||4&i&&typeof a=="object"&&a&&a.__esModule)return a;var l=Object.create(null);if(o.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:a}),2&i&&typeof a!="string")for(var f in a)o.d(l,f,(function(c){return a[c]}).bind(null,f));return l},o.n=function(a){var i=a&&a.__esModule?function(){return a.default}:function(){return a};return o.d(i,"a",i),i},o.o=function(a,i){return Object.prototype.hasOwnProperty.call(a,i)},o.p="",o(o.s=0)}([function(r,n,o){var a,i,l=o(1)(),f=o(3),c=o(4),u=o(6),h=function(){var s=new c;return a=s.getResult(),i=new u,this};h.prototype={getSoftwareVersion:function(){return"0.1.11"},getBrowserData:function(){return a},getFingerprint:function(){var s="|",d=a.ua,x=this.getScreenPrint(),p=this.getPlugins(),m=this.getFonts(),E=this.isLocalStorage(),g=this.isSessionStorage(),v=this.getTimeZone(),b=this.getLanguage(),y=this.getSystemLanguage(),_=this.isCookie(),A=this.getCanvasPrint();return f(d+s+x+s+p+s+m+s+E+s+g+s+v+s+b+s+y+s+_+s+A,256)},getCustomFingerprint:function(){for(var s="|",d="",x=0;x>>16)*h&65535)<<16)&4294967295)<<15|d>>>17))*s+(((d>>>16)*s&65535)<<16)&4294967295)<<13|c>>>19))+((5*(c>>>16)&65535)<<16)&4294967295))+((58964+(u>>>16)&65535)<<16);switch(d=0,l){case 3:d^=(255&a.charCodeAt(x+2))<<16;case 2:d^=(255&a.charCodeAt(x+1))<<8;case 1:c^=d=(65535&(d=(d=(65535&(d^=255&a.charCodeAt(x)))*h+(((d>>>16)*h&65535)<<16)&4294967295)<<15|d>>>17))*s+(((d>>>16)*s&65535)<<16)&4294967295}return c^=a.length,c=2246822507*(65535&(c^=c>>>16))+((2246822507*(c>>>16)&65535)<<16)&4294967295,c=3266489909*(65535&(c^=c>>>13))+((3266489909*(c>>>16)&65535)<<16)&4294967295,(c^=c>>>16)>>>0}},function(r,n,o){var a;(function(i,l){var f="function",c="undefined",u="object",h="string",s="model",d="name",x="type",p="vendor",m="version",E="architecture",g="console",v="mobile",b="tablet",y="smarttv",_="wearable",A="embedded",D="Amazon",B="Apple",S="ASUS",P="BlackBerry",k="Firefox",I="Google",K="Huawei",Y="LG",q="Microsoft",se="Motorola",oe="Opera",ce="Samsung",ae="Sony",L="Xiaomi",U="Zebra",W="Facebook",N=function(F){var H={};for(var j in F)H[F[j].toUpperCase()]=F[j];return H},ue=function(F,H){return typeof F===h&&te(H).indexOf(te(F))!==-1},te=function(F){return F.toLowerCase()},T=function(F,H){if(typeof F===h)return F=F.replace(/^\s\s*/,"").replace(/\s\s*$/,""),typeof H===c?F:F.substring(0,255)},O=function(F,H){for(var j,J,X,Q,ye,he,Te=0;Te0?Q.length==2?typeof Q[1]==f?this[Q[0]]=Q[1].call(this,he):this[Q[0]]=Q[1]:Q.length==3?typeof Q[1]!==f||Q[1].exec&&Q[1].test?this[Q[0]]=he?he.replace(Q[1],Q[2]):l:this[Q[0]]=he?Q[1].call(this,he,Q[2]):l:Q.length==4&&(this[Q[0]]=he?Q[3].call(this,he.replace(Q[1],Q[2])):l):this[Q]=he||l;Te+=2}},$=function(F,H){for(var j in H)if(typeof H[j]===u&&H[j].length>0){for(var J=0;J255?T(X,255):X,this},this.setUA(j),this};ee.VERSION="0.7.30",ee.BROWSER=N([d,m,"major"]),ee.CPU=N([E]),ee.DEVICE=N([s,p,x,g,v,y,b,_,A]),ee.ENGINE=ee.OS=N([d,m]),typeof n!==c?(typeof r!==c&&r.exports&&(n=r.exports=ee),n.UAParser=ee):o(5)?(a=(function(){return ee}).call(n,o,n,r))===l||(r.exports=a):typeof i!==c&&(i.UAParser=ee);var w=typeof i!==c&&(i.jQuery||i.Zepto);if(w&&!w.ua){var C=new ee;w.ua=C.getResult(),w.ua.get=function(){return C.getUA()},w.ua.set=function(F){C.setUA(F);var H=C.getResult();for(var j in H)w.ua[j]=H[j]}}})(typeof window=="object"?window:this)},function(r,n){(function(o){r.exports=o}).call(this,{})},function(r,n){r.exports=function(){var o=["monospace","sans-serif","serif"],a=document.getElementsByTagName("body")[0],i=document.createElement("span");i.style.fontSize="72px",i.innerHTML="mmmmmmmmmmlli";var l={},f={};for(var c in o)i.style.fontFamily=o[c],a.appendChild(i),l[o[c]]=i.offsetWidth,f[o[c]]=i.offsetHeight,a.removeChild(i);this.detect=function(u){var h=!1;for(var s in o){i.style.fontFamily=u+","+o[s],a.appendChild(i);var d=i.offsetWidth!=l[o[s]]||i.offsetHeight!=f[o[s]];a.removeChild(i),h=h||d}return h}}}])})})(A0);var Gx=A0.exports;/*! * vue-router v4.3.0 * (c) 2024 Eduardo San Martin Morote * @license MIT */const yt=typeof document<"u";function $x(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const me=Object.assign;function Dn(e,t){const r={};for(const n in t){const o=t[n];r[n]=$e(o)?o.map(e):e(o)}return r}const Wt=()=>{},$e=Array.isArray,S0=/#/g,Vx=/&/g,qx=/\//g,zx=/=/g,Kx=/\?/g,D0=/\+/g,Yx=/%5B/g,Xx=/%5D/g,B0=/%5E/g,Qx=/%60/g,F0=/%7B/g,Jx=/%7C/g,P0=/%7D/g,Zx=/%20/g;function ka(e){return encodeURI(""+e).replace(Jx,"|").replace(Yx,"[").replace(Xx,"]")}function ep(e){return ka(e).replace(F0,"{").replace(P0,"}").replace(B0,"^")}function ra(e){return ka(e).replace(D0,"%2B").replace(Zx,"+").replace(S0,"%23").replace(Vx,"%26").replace(Qx,"`").replace(F0,"{").replace(P0,"}").replace(B0,"^")}function tp(e){return ra(e).replace(zx,"%3D")}function rp(e){return ka(e).replace(S0,"%23").replace(Kx,"%3F")}function np(e){return e==null?"":rp(e).replace(qx,"%2F")}function Qt(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const ap=/\/$/,op=e=>e.replace(ap,"");function Bn(e,t,r="/"){let n,o={},a="",i="";const l=t.indexOf("#");let f=t.indexOf("?");return l=0&&(f=-1),f>-1&&(n=t.slice(0,f),a=t.slice(f+1,l>-1?l:t.length),o=e(a)),l>-1&&(n=n||t.slice(0,l),i=t.slice(l,t.length)),n=lp(n??t,r),{fullPath:n+(a&&"?")+a+i,path:n,query:o,hash:Qt(i)}}function ip(e,t){const r=t.query?e(t.query):"";return t.path+(r&&"?")+r+(t.hash||"")}function ki(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function sp(e,t,r){const n=t.matched.length-1,o=r.matched.length-1;return n>-1&&n===o&&kt(t.matched[n],r.matched[o])&&k0(t.params,r.params)&&e(t.query)===e(r.query)&&t.hash===r.hash}function kt(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function k0(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const r in e)if(!cp(e[r],t[r]))return!1;return!0}function cp(e,t){return $e(e)?Ti(e,t):$e(t)?Ti(t,e):e===t}function Ti(e,t){return $e(t)?e.length===t.length&&e.every((r,n)=>r===t[n]):e.length===1&&e[0]===t}function lp(e,t){if(e.startsWith("/"))return e;if(!e)return t;const r=t.split("/"),n=e.split("/"),o=n[n.length-1];(o===".."||o===".")&&n.push("");let a=r.length-1,i,l;for(i=0;i1&&a--;else break;return r.slice(0,a).join("/")+"/"+n.slice(i).join("/")}var Jt;(function(e){e.pop="pop",e.push="push"})(Jt||(Jt={}));var jt;(function(e){e.back="back",e.forward="forward",e.unknown=""})(jt||(jt={}));function up(e){if(!e)if(yt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),op(e)}const fp=/^[^#]+#/;function dp(e,t){return e.replace(fp,"#")+t}function hp(e,t){const r=document.documentElement.getBoundingClientRect(),n=e.getBoundingClientRect();return{behavior:t.behavior,left:n.left-r.left-(t.left||0),top:n.top-r.top-(t.top||0)}}const Pr=()=>({left:window.scrollX,top:window.scrollY});function xp(e){let t;if("el"in e){const r=e.el,n=typeof r=="string"&&r.startsWith("#"),o=typeof r=="string"?n?document.getElementById(r.slice(1)):document.querySelector(r):r;if(!o)return;t=hp(o,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 Ii(e,t){return(history.state?history.state.position-t:-1)+e}const na=new Map;function pp(e,t){na.set(e,t)}function mp(e){const t=na.get(e);return na.delete(e),t}let gp=()=>location.protocol+"//"+location.host;function T0(e,t){const{pathname:r,search:n,hash:o}=t,a=e.indexOf("#");if(a>-1){let l=o.includes(e.slice(a))?e.slice(a).length:1,f=o.slice(l);return f[0]!=="/"&&(f="/"+f),ki(f,"")}return ki(r,e)+n+o}function vp(e,t,r,n){let o=[],a=[],i=null;const l=({state:s})=>{const d=T0(e,location),x=r.value,p=t.value;let m=0;if(s){if(r.value=d,t.value=s,i&&i===x){i=null;return}m=p?s.position-p.position:0}else n(d);o.forEach(E=>{E(r.value,x,{delta:m,type:Jt.pop,direction:m?m>0?jt.forward:jt.back:jt.unknown})})};function f(){i=r.value}function c(s){o.push(s);const d=()=>{const x=o.indexOf(s);x>-1&&o.splice(x,1)};return a.push(d),d}function u(){const{history:s}=window;s.state&&s.replaceState(me({},s.state,{scroll:Pr()}),"")}function h(){for(const s of a)s();a=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:f,listen:c,destroy:h}}function Li(e,t,r,n=!1,o=!1){return{back:e,current:t,forward:r,replaced:n,position:window.history.length,scroll:o?Pr():null}}function Ep(e){const{history:t,location:r}=window,n={value:T0(e,r)},o={value:t.state};o.value||a(n.value,{back:null,current:n.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function a(f,c,u){const h=e.indexOf("#"),s=h>-1?(r.host&&document.querySelector("base")?e:e.slice(h))+f:gp()+e+f;try{t[u?"replaceState":"pushState"](c,"",s),o.value=c}catch(d){console.error(d),r[u?"replace":"assign"](s)}}function i(f,c){const u=me({},t.state,Li(o.value.back,f,o.value.forward,!0),c,{position:o.value.position});a(f,u,!0),n.value=f}function l(f,c){const u=me({},o.value,t.state,{forward:f,scroll:Pr()});a(u.current,u,!0);const h=me({},Li(n.value,f,null),{position:u.position+1},c);a(f,h,!1),n.value=f}return{location:n,state:o,push:l,replace:i}}function bp(e){e=up(e);const t=Ep(e),r=vp(e,t.state,t.location,t.replace);function n(a,i=!0){i||r.pauseListeners(),history.go(a)}const o=me({location:"",base:e,go:n,createHref:dp.bind(null,e)},t,r);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function Cp(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),bp(e)}function _p(e){return typeof e=="string"||e&&typeof e=="object"}function I0(e){return typeof e=="string"||typeof e=="symbol"}const st={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},L0=Symbol("");var Ri;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Ri||(Ri={}));function Tt(e,t){return me(new Error,{type:e,[L0]:!0},t)}function Je(e,t){return e instanceof Error&&L0 in e&&(t==null||!!(e.type&t))}const Ni="[^/]+?",yp={sensitive:!1,strict:!1,start:!0,end:!0},wp=/[.+*?^${}()[\]/\\]/g;function Ap(e,t){const r=me({},yp,t),n=[];let o=r.start?"^":"";const a=[];for(const c of e){const u=c.length?[]:[90];r.strict&&!c.length&&(o+="/");for(let h=0;ht.length?t.length===1&&t[0]===40+40?1:-1:0}function Dp(e,t){let r=0;const n=e.score,o=t.score;for(;r0&&t[t.length-1]<0}const Bp={type:0,value:""},Fp=/[a-zA-Z0-9_]/;function Pp(e){if(!e)return[[]];if(e==="/")return[[Bp]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(d){throw new Error(`ERR (${r})/"${c}": ${d}`)}let r=0,n=r;const o=[];let a;function i(){a&&o.push(a),a=[]}let l=0,f,c="",u="";function h(){c&&(r===0?a.push({type:0,value:c}):r===1||r===2||r===3?(a.length>1&&(f==="*"||f==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),a.push({type:1,value:c,regexp:u,repeatable:f==="*"||f==="+",optional:f==="*"||f==="?"})):t("Invalid state to consume buffer"),c="")}function s(){c+=f}for(;l{i(g)}:Wt}function i(u){if(I0(u)){const h=n.get(u);h&&(n.delete(u),r.splice(r.indexOf(h),1),h.children.forEach(i),h.alias.forEach(i))}else{const h=r.indexOf(u);h>-1&&(r.splice(h,1),u.record.name&&n.delete(u.record.name),u.children.forEach(i),u.alias.forEach(i))}}function l(){return r}function f(u){let h=0;for(;h=0&&(u.record.path!==r[h].record.path||!R0(u,r[h]));)h++;r.splice(h,0,u),u.record.name&&!Ui(u)&&n.set(u.record.name,u)}function c(u,h){let s,d={},x,p;if("name"in u&&u.name){if(s=n.get(u.name),!s)throw Tt(1,{location:u});p=s.record.name,d=me(Mi(h.params,s.keys.filter(g=>!g.optional).concat(s.parent?s.parent.keys.filter(g=>g.optional):[]).map(g=>g.name)),u.params&&Mi(u.params,s.keys.map(g=>g.name))),x=s.stringify(d)}else if(u.path!=null)x=u.path,s=r.find(g=>g.re.test(x)),s&&(d=s.parse(x),p=s.record.name);else{if(s=h.name?n.get(h.name):r.find(g=>g.re.test(h.path)),!s)throw Tt(1,{location:u,currentLocation:h});p=s.record.name,d=me({},h.params,u.params),x=s.stringify(d)}const m=[];let E=s;for(;E;)m.unshift(E.record),E=E.parent;return{name:p,path:x,params:d,matched:m,meta:Rp(m)}}return e.forEach(u=>a(u)),{addRoute:a,resolve:c,removeRoute:i,getRoutes:l,getRecordMatcher:o}}function Mi(e,t){const r={};for(const n of t)n in e&&(r[n]=e[n]);return r}function Ip(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Lp(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function Lp(e){const t={},r=e.props||!1;if("component"in e)t.default=r;else for(const n in e.components)t[n]=typeof r=="object"?r[n]:r;return t}function Ui(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Rp(e){return e.reduce((t,r)=>me(t,r.meta),{})}function Hi(e,t){const r={};for(const n in e)r[n]=n in t?t[n]:e[n];return r}function R0(e,t){return t.children.some(r=>r===e||R0(e,r))}function Np(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;oa&&ra(a)):[n&&ra(n)]).forEach(a=>{a!==void 0&&(t+=(t.length?"&":"")+r,a!=null&&(t+="="+a))})}return t}function Op(e){const t={};for(const r in e){const n=e[r];n!==void 0&&(t[r]=$e(n)?n.map(o=>o==null?null:""+o):n==null?n:""+n)}return t}const Mp=Symbol(""),ji=Symbol(""),kr=Symbol(""),Ta=Symbol(""),aa=Symbol("");function Mt(){let e=[];function t(n){return e.push(n),()=>{const o=e.indexOf(n);o>-1&&e.splice(o,1)}}function r(){e=[]}return{add:t,list:()=>e.slice(),reset:r}}function lt(e,t,r,n,o,a=i=>i()){const i=n&&(n.enterCallbacks[o]=n.enterCallbacks[o]||[]);return()=>new Promise((l,f)=>{const c=s=>{s===!1?f(Tt(4,{from:r,to:t})):s instanceof Error?f(s):_p(s)?f(Tt(2,{from:t,to:s})):(i&&n.enterCallbacks[o]===i&&typeof s=="function"&&i.push(s),l())},u=a(()=>e.call(n&&n.instances[o],t,r,c));let h=Promise.resolve(u);e.length<3&&(h=h.then(c)),h.catch(s=>f(s))})}function Fn(e,t,r,n,o=a=>a()){const a=[];for(const i of e)for(const l in i.components){let f=i.components[l];if(!(t!=="beforeRouteEnter"&&!i.instances[l]))if(Up(f)){const u=(f.__vccOpts||f)[t];u&&a.push(lt(u,r,n,i,l,o))}else{let c=f();a.push(()=>c.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${l}" at "${i.path}"`));const h=$x(u)?u.default:u;i.components[l]=h;const d=(h.__vccOpts||h)[t];return d&<(d,r,n,i,l,o)()}))}}return a}function Up(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Gi(e){const t=nt(kr),r=nt(Ta),n=ve(()=>t.resolve(Re(e.to))),o=ve(()=>{const{matched:f}=n.value,{length:c}=f,u=f[c-1],h=r.matched;if(!u||!h.length)return-1;const s=h.findIndex(kt.bind(null,u));if(s>-1)return s;const d=$i(f[c-2]);return c>1&&$i(u)===d&&h[h.length-1].path!==d?h.findIndex(kt.bind(null,f[c-2])):s}),a=ve(()=>o.value>-1&&Gp(r.params,n.value.params)),i=ve(()=>o.value>-1&&o.value===r.matched.length-1&&k0(r.params,n.value.params));function l(f={}){return jp(f)?t[Re(e.replace)?"replace":"push"](Re(e.to)).catch(Wt):Promise.resolve()}return{route:n,href:ve(()=>n.value.href),isActive:a,isExactActive:i,navigate:l}}const Hp=rt({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:Gi,setup(e,{slots:t}){const r=Xi(Gi(e)),{options:n}=nt(kr),o=ve(()=>({[Vi(e.activeClass,n.linkActiveClass,"router-link-active")]:r.isActive,[Vi(e.exactActiveClass,n.linkExactActiveClass,"router-link-exact-active")]:r.isExactActive}));return()=>{const a=t.default&&t.default(r);return e.custom?a:mt("a",{"aria-current":r.isExactActive?e.ariaCurrentValue:null,href:r.href,onClick:r.navigate,class:o.value},a)}}}),Wp=Hp;function jp(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 Gp(e,t){for(const r in t){const n=t[r],o=e[r];if(typeof n=="string"){if(n!==o)return!1}else if(!$e(o)||o.length!==n.length||n.some((a,i)=>a!==o[i]))return!1}return!0}function $i(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Vi=(e,t,r)=>e??t??r,$p=rt({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:r}){const n=nt(aa),o=ve(()=>e.route||n.value),a=nt(ji,0),i=ve(()=>{let c=Re(a);const{matched:u}=o.value;let h;for(;(h=u[c])&&!h.components;)c++;return c}),l=ve(()=>o.value.matched[i.value]);Lr(ji,ve(()=>i.value+1)),Lr(Mp,l),Lr(aa,o);const f=Ze();return St(()=>[f.value,l.value,e.name],([c,u,h],[s,d,x])=>{u&&(u.instances[h]=c,d&&d!==u&&c&&c===s&&(u.leaveGuards.size||(u.leaveGuards=d.leaveGuards),u.updateGuards.size||(u.updateGuards=d.updateGuards))),c&&u&&(!d||!kt(u,d)||!s)&&(u.enterCallbacks[h]||[]).forEach(p=>p(c))},{flush:"post"}),()=>{const c=o.value,u=e.name,h=l.value,s=h&&h.components[u];if(!s)return qi(r.default,{Component:s,route:c});const d=h.props[u],x=d?d===!0?c.params:typeof d=="function"?d(c):d:null,m=mt(s,me({},x,t,{onVnodeUnmounted:E=>{E.component.isUnmounted&&(h.instances[u]=null)},ref:f}));return qi(r.default,{Component:m,route:c})||m}}});function qi(e,t){if(!e)return null;const r=e(t);return r.length===1?r[0]:r}const Vp=$p;function qp(e){const t=Tp(e.routes,e),r=e.parseQuery||Np,n=e.stringifyQuery||Wi,o=e.history,a=Mt(),i=Mt(),l=Mt(),f=sa(st);let c=st;yt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Dn.bind(null,T=>""+T),h=Dn.bind(null,np),s=Dn.bind(null,Qt);function d(T,O){let $,z;return I0(T)?($=t.getRecordMatcher(T),z=O):z=T,t.addRoute(z,$)}function x(T){const O=t.getRecordMatcher(T);O&&t.removeRoute(O)}function p(){return t.getRoutes().map(T=>T.record)}function m(T){return!!t.getRecordMatcher(T)}function E(T,O){if(O=me({},O||f.value),typeof T=="string"){const C=Bn(r,T,O.path),F=t.resolve({path:C.path},O),H=o.createHref(C.fullPath);return me(C,F,{params:s(F.params),hash:Qt(C.hash),redirectedFrom:void 0,href:H})}let $;if(T.path!=null)$=me({},T,{path:Bn(r,T.path,O.path).path});else{const C=me({},T.params);for(const F in C)C[F]==null&&delete C[F];$=me({},T,{params:h(C)}),O.params=h(O.params)}const z=t.resolve($,O),ie=T.hash||"";z.params=u(s(z.params));const ee=ip(n,me({},T,{hash:ep(ie),path:z.path})),w=o.createHref(ee);return me({fullPath:ee,hash:ie,query:n===Wi?Op(T.query):T.query||{}},z,{redirectedFrom:void 0,href:w})}function g(T){return typeof T=="string"?Bn(r,T,f.value.path):me({},T)}function v(T,O){if(c!==T)return Tt(8,{from:O,to:T})}function b(T){return A(T)}function y(T){return b(me(g(T),{replace:!0}))}function _(T){const O=T.matched[T.matched.length-1];if(O&&O.redirect){const{redirect:$}=O;let z=typeof $=="function"?$(T):$;return typeof z=="string"&&(z=z.includes("?")||z.includes("#")?z=g(z):{path:z},z.params={}),me({query:T.query,hash:T.hash,params:z.path!=null?{}:T.params},z)}}function A(T,O){const $=c=E(T),z=f.value,ie=T.state,ee=T.force,w=T.replace===!0,C=_($);if(C)return A(me(g(C),{state:typeof C=="object"?me({},ie,C.state):ie,force:ee,replace:w}),O||$);const F=$;F.redirectedFrom=O;let H;return!ee&&sp(n,z,$)&&(H=Tt(16,{to:F,from:z}),L(z,z,!0,!1)),(H?Promise.resolve(H):S(F,z)).catch(j=>Je(j)?Je(j,2)?j:ae(j):oe(j,F,z)).then(j=>{if(j){if(Je(j,2))return A(me({replace:w},g(j.to),{state:typeof j.to=="object"?me({},ie,j.to.state):ie,force:ee}),O||F)}else j=k(F,z,!0,w,ie);return P(F,z,j),j})}function D(T,O){const $=v(T,O);return $?Promise.reject($):Promise.resolve()}function B(T){const O=N.values().next().value;return O&&typeof O.runWithContext=="function"?O.runWithContext(T):T()}function S(T,O){let $;const[z,ie,ee]=zp(T,O);$=Fn(z.reverse(),"beforeRouteLeave",T,O);for(const C of z)C.leaveGuards.forEach(F=>{$.push(lt(F,T,O))});const w=D.bind(null,T,O);return $.push(w),te($).then(()=>{$=[];for(const C of a.list())$.push(lt(C,T,O));return $.push(w),te($)}).then(()=>{$=Fn(ie,"beforeRouteUpdate",T,O);for(const C of ie)C.updateGuards.forEach(F=>{$.push(lt(F,T,O))});return $.push(w),te($)}).then(()=>{$=[];for(const C of ee)if(C.beforeEnter)if($e(C.beforeEnter))for(const F of C.beforeEnter)$.push(lt(F,T,O));else $.push(lt(C.beforeEnter,T,O));return $.push(w),te($)}).then(()=>(T.matched.forEach(C=>C.enterCallbacks={}),$=Fn(ee,"beforeRouteEnter",T,O,B),$.push(w),te($))).then(()=>{$=[];for(const C of i.list())$.push(lt(C,T,O));return $.push(w),te($)}).catch(C=>Je(C,8)?C:Promise.reject(C))}function P(T,O,$){l.list().forEach(z=>B(()=>z(T,O,$)))}function k(T,O,$,z,ie){const ee=v(T,O);if(ee)return ee;const w=O===st,C=yt?history.state:{};$&&(z||w?o.replace(T.fullPath,me({scroll:w&&C&&C.scroll},ie)):o.push(T.fullPath,ie)),f.value=T,L(T,O,$,w),ae()}let I;function K(){I||(I=o.listen((T,O,$)=>{if(!ue.listening)return;const z=E(T),ie=_(z);if(ie){A(me(ie,{replace:!0}),z).catch(Wt);return}c=z;const ee=f.value;yt&&pp(Ii(ee.fullPath,$.delta),Pr()),S(z,ee).catch(w=>Je(w,12)?w:Je(w,2)?(A(w.to,z).then(C=>{Je(C,20)&&!$.delta&&$.type===Jt.pop&&o.go(-1,!1)}).catch(Wt),Promise.reject()):($.delta&&o.go(-$.delta,!1),oe(w,z,ee))).then(w=>{w=w||k(z,ee,!1),w&&($.delta&&!Je(w,8)?o.go(-$.delta,!1):$.type===Jt.pop&&Je(w,20)&&o.go(-1,!1)),P(z,ee,w)}).catch(Wt)}))}let Y=Mt(),q=Mt(),se;function oe(T,O,$){ae(T);const z=q.list();return z.length?z.forEach(ie=>ie(T,O,$)):console.error(T),Promise.reject(T)}function ce(){return se&&f.value!==st?Promise.resolve():new Promise((T,O)=>{Y.add([T,O])})}function ae(T){return se||(se=!T,K(),Y.list().forEach(([O,$])=>T?$(T):O()),Y.reset()),T}function L(T,O,$,z){const{scrollBehavior:ie}=e;if(!yt||!ie)return Promise.resolve();const ee=!$&&mp(Ii(T.fullPath,0))||(z||!$)&&history.state&&history.state.scroll||null;return Ji().then(()=>ie(T,O,ee)).then(w=>w&&xp(w)).catch(w=>oe(w,T,O))}const U=T=>o.go(T);let W;const N=new Set,ue={currentRoute:f,listening:!0,addRoute:d,removeRoute:x,hasRoute:m,getRoutes:p,resolve:E,options:e,push:b,replace:y,go:U,back:()=>U(-1),forward:()=>U(1),beforeEach:a.add,beforeResolve:i.add,afterEach:l.add,onError:q.add,isReady:ce,install(T){const O=this;T.component("RouterLink",Wp),T.component("RouterView",Vp),T.config.globalProperties.$router=O,Object.defineProperty(T.config.globalProperties,"$route",{enumerable:!0,get:()=>Re(f)}),yt&&!W&&f.value===st&&(W=!0,b(o.location).catch(ie=>{}));const $={};for(const ie in st)Object.defineProperty($,ie,{get:()=>f.value[ie],enumerable:!0});T.provide(kr,O),T.provide(Ta,rc($)),T.provide(aa,f);const z=T.unmount;N.add(T),T.unmount=function(){N.delete(T),N.size<1&&(c=st,I&&I(),I=null,f.value=st,W=!1,se=!1),z()}}};function te(T){return T.reduce((O,$)=>O.then(()=>B($)),Promise.resolve())}return ue}function zp(e,t){const r=[],n=[],o=[],a=Math.max(t.matched.length,e.matched.length);for(let i=0;ikt(c,l))?n.push(l):r.push(l));const f=e.matched[i];f&&(t.matched.find(c=>kt(c,f))||o.push(f))}return[r,n,o]}function Kp(){return nt(kr)}function Nm(){return nt(Ta)}const Yp=rt({__name:"App",setup(e){const t=new Gx.ClientJS,r=Ys(),n=t.getFingerprint(),o=Kt(),a=Zf(),i=Kp();a.updateFingerprint(n);const{theme:l,lightThemeOverrides:f,darkThemeOverrides:c}=jx(),u=ve(()=>{var v;return(v=o.globalConfig)==null?void 0:v.clientHomePath}),h=ve(()=>{var v;return((v=o.globalConfig)==null?void 0:v.clientFavoIconPath)||_c}),s=ve(()=>{var v;return Number((v=o.globalConfig)==null?void 0:v.isAutoOpenNotice)===1});async function d(){var _;const v=((_=o.globalConfig)==null?void 0:_.baiduCode)||"";if(!v)return;const b=document.createElement("script"),y=v.replace(/([\s\S]*?)<\/script>/gi,"$1");b.innerHTML=y,document.head.appendChild(b)}function x(){var v;document.title=((v=o.globalConfig)==null?void 0:v.siteName)||"AI"}const p=ve(()=>l.value?c:f);function m(){u.value&&i.push(u.value)}function E(){const v=Be.get("showNotice");(!v&&s.value||Date.now()>Number(v)&&s.value)&&a.updateNoticeDialog(!0)}const g=document.createElement("link");return g.rel="shortcut icon",g.href=h.value,document.getElementsByTagName("head")[0].appendChild(g),Zi(async()=>{m(),await r.getBaseModelConfig(),d(),x(),E()}),(v,b)=>{const y=nc("RouterView");return zi(),Ki(Re(gc),{class:"h-full",theme:Re(l),"theme-overrides":p.value,locale:v.language,"date-locale":Re(mc),"preflight-style-disabled":""},{default:wt(()=>[ut(Re(yc),null,{default:wt(()=>[ut(y)]),_:1}),ut(Re(vc))]),_:1},8,["theme","theme-overrides","locale","date-locale"])}}});function Xp(){const e=document.createElement("meta");e.name="naive-ui-style",document.head.appendChild(e)}function Qp(){Xp()}const Jp=()=>{var r,n,o,a,i,l;const e=document.createElement("style"),t=` ::-webkit-scrollbar { background-color: transparent; width: ${(r=Rr.Scrollbar.common)==null?void 0:r.scrollbarWidth}; } ::-webkit-scrollbar-thumb { background-color: ${(n=Rr.Scrollbar.common)==null?void 0:n.scrollbarColor}; border-radius: ${(o=Rr.Scrollbar.common)==null?void 0:o.scrollbarBorderRadius}; } html.dark ::-webkit-scrollbar { background-color: transparent; width: ${(a=nr.Scrollbar.common)==null?void 0:a.scrollbarWidth}; } html.dark ::-webkit-scrollbar-thumb { background-color: ${(i=nr.Scrollbar.common)==null?void 0:i.scrollbarColor}; border-radius: ${(l=nr.Scrollbar.common)==null?void 0:l.scrollbarBorderRadius}; } `;e.innerHTML=t,document.head.appendChild(e)};function Om(){return ge({url:"/user/genInviteCode"})}function Mm(e){return we({url:"/user/inviteRecord",data:e})}function Um(e){return ge({url:"/official/getQRSceneStr",data:e})}function Hm(e){return we({url:"/official/getQRCode",data:e})}function Wm(e){return ge({url:"/official/loginBySceneStr",data:e})}function jm(e){return ge({url:"/official/loginByCode",data:e})}function Gm(e){return ge({url:"/official/getJsapiTicket",data:e})}function $m(){return ge({url:"/official/getQRSceneStrByBind"})}function Vm(e){return ge({url:"/official/bindWxBySceneStr",data:e})}function qm(e){return ge({url:"/official/getRedirectUrl",data:e})}function Zp(e){return we({url:"/user/inviteLink",data:e})}function em(e){e.beforeEach(async(t,r,n)=>{var i,l;const{inVitecode:o}=t.query;o&&Be.set("invitedBy",o),o&&(await Zp({code:o}),e.replace({path:t.path,query:{}})),(i=window.$loadingBar)==null||i.start();const a=Jf();if(a.userInfo.username){const f=(l=a.globalConfig)==null?void 0:l.clientMenuList,c=f?JSON.parse(f):[];c.length&&!c.includes(t.name)&&["Chat","Draw","Midjourney"].includes(t.name)&&(a.globalConfig.clientHomePath&&a.globalConfig.clientHomePath!==""?n({path:a.globalConfig.clientHomePath}):n()),n()}else try{if(a.token&&await a.getUserInfo(),a.globalConfigLoading){let f=`${window.location.protocol}//${window.location.hostname}`;window.location.port&&(f+=`:${window.location.port}`),await a.getglobalConfig(f),a.globalConfig.clientHomePath?n({path:a.globalConfig.clientHomePath}):n()}t.path==="/500"?n({path:"/"}):n()}catch{t.path==="/500"?n({path:"/"}):n()}}),e.afterEach(t=>{var r;(r=window.$loadingBar)==null||r.finish()})}const tm=[{path:"/",name:"Layout",component:()=>Ie(()=>import("./index-79113eb4.js"),["./index-79113eb4.js","./index-03531f8f.js","./vue-10b4afc0.js","./vueuse-motion-d4cdaf7b.js","./_plugin-vue_export-helper-c27b6911.js","./index-adb9f39f.css","./naive-ui-fedd20b1.js","./crami-99ee44eb.js","./order-8be5c617.js","./useBasicLayout-a4f17bae.js","./Close-d2230b2f.js","./menu-19bde8fc.js","./index.vue_vue_type_script_setup_true_lang-f425914e.js","./index-f18c0167.css"],import.meta.url),redirect:"/chat",children:[{path:"/market",name:"Market",component:()=>Ie(()=>import("./index-e889edd8.js"),["./index-e889edd8.js","./vue-10b4afc0.js","./index.vue_vue_type_script_setup_true_lang-f425914e.js","./index-c94da121.js","./naive-ui-fedd20b1.js","./vueuse-motion-d4cdaf7b.js","./index-15e7de77.css"],import.meta.url)},{path:"/midjourney",name:"Midjourney",component:()=>Ie(()=>import("./index-20a35e72.js"),["./index-20a35e72.js","./vue-10b4afc0.js","./_plugin-vue_export-helper-c27b6911.js","./index.vue_vue_type_script_setup_true_lang-f425914e.js","./useBasicLayout-a4f17bae.js","./naive-ui-fedd20b1.js","./vueuse-motion-d4cdaf7b.js","./index-2d428f7b.css"],import.meta.url)},{path:"/chat",name:"Chat",component:()=>Ie(()=>import("./chat-ba97c867.js"),["./chat-ba97c867.js","./useBasicLayout-a4f17bae.js","./vue-10b4afc0.js","./naive-ui-fedd20b1.js","./index-b71062e6.js","./menu-19bde8fc.js","./Close-d2230b2f.js","./_plugin-vue_export-helper-c27b6911.js","./index-c94da121.js","./index.vue_vue_type_script_setup_true_lang-f425914e.js","./index.vue_vue_type_script_setup_true_lang-d25a7e27.js","./vueuse-motion-d4cdaf7b.js","./chat-8fd922b8.css"],import.meta.url)},{path:"chatStore",name:"ChatStore",component:()=>Ie(()=>import("./chatStore-067dd921.js"),["./chatStore-067dd921.js","./index.vue_vue_type_script_setup_true_lang-d25a7e27.js","./vue-10b4afc0.js","./index.vue_vue_type_script_setup_true_lang-f425914e.js","./useBasicLayout-a4f17bae.js","./menu-19bde8fc.js","./naive-ui-fedd20b1.js","./vueuse-motion-d4cdaf7b.js","./chatStore-f68b3e01.css"],import.meta.url)},{path:"user-center",name:"UserCenter",component:()=>Ie(()=>import("./index-648ab71e.js"),["./index-648ab71e.js","./titleBar.vue_vue_type_script_setup_true_lang-a53d5875.js","./vue-10b4afc0.js","./naive-ui-fedd20b1.js","./useBasicLayout-a4f17bae.js","./crami-99ee44eb.js","./vueuse-motion-d4cdaf7b.js"],import.meta.url)},{path:"app-store",name:"AppStore",component:()=>Ie(()=>import("./chatStore-067dd921.js"),["./chatStore-067dd921.js","./index.vue_vue_type_script_setup_true_lang-d25a7e27.js","./vue-10b4afc0.js","./index.vue_vue_type_script_setup_true_lang-f425914e.js","./useBasicLayout-a4f17bae.js","./menu-19bde8fc.js","./naive-ui-fedd20b1.js","./vueuse-motion-d4cdaf7b.js","./chatStore-f68b3e01.css"],import.meta.url)},{path:"pay",name:"Pay",component:()=>Ie(()=>import("./index-7b15fb79.js"),["./index-7b15fb79.js","./crami-99ee44eb.js","./order-8be5c617.js","./titleBar.vue_vue_type_script_setup_true_lang-a53d5875.js","./vue-10b4afc0.js","./naive-ui-fedd20b1.js","./index.vue_vue_type_script_setup_true_lang-f425914e.js","./useBasicLayout-a4f17bae.js","./vueuse-motion-d4cdaf7b.js","./index-fed7b4ac.css"],import.meta.url)},{path:"mind",name:"Mind",component:()=>Ie(()=>import("./index-8add68fd.js"),["./index-8add68fd.js","./useBasicLayout-a4f17bae.js","./vue-10b4afc0.js","./naive-ui-fedd20b1.js","./index-b71062e6.js","./vueuse-motion-d4cdaf7b.js"],import.meta.url)},{path:"share",name:"Share",component:()=>Ie(()=>import("./index-dd7fbdb4.js"),["./index-dd7fbdb4.js","./titleBar.vue_vue_type_script_setup_true_lang-a53d5875.js","./vue-10b4afc0.js","./naive-ui-fedd20b1.js","./index.vue_vue_type_script_setup_true_lang-f425914e.js","./useBasicLayout-a4f17bae.js","./index-03531f8f.js","./vueuse-motion-d4cdaf7b.js","./_plugin-vue_export-helper-c27b6911.js","./index-adb9f39f.css","./index-c94da121.js","./index-e70b4848.css"],import.meta.url)},{path:"extend",name:"Extend",component:()=>Ie(()=>import("./index-9296b6ea.js"),["./index-9296b6ea.js","./vue-10b4afc0.js","./naive-ui-fedd20b1.js","./vueuse-motion-d4cdaf7b.js","./index-da1c3968.css"],import.meta.url)}]},{path:"/404",name:"404",component:()=>Ie(()=>import("./index-96ef26bb.js"),["./index-96ef26bb.js","./vue-10b4afc0.js","./naive-ui-fedd20b1.js","./vueuse-motion-d4cdaf7b.js"],import.meta.url)},{path:"/500",name:"500",component:()=>Ie(()=>import("./index-215ca0ac.js"),["./index-215ca0ac.js","./vue-10b4afc0.js","./naive-ui-fedd20b1.js","./vueuse-motion-d4cdaf7b.js","./index-404bb920.css"],import.meta.url)},{path:"/:pathMatch(.*)*",name:"notFound",redirect:"/404"}],oa=qp({history:Cp(),routes:tm,scrollBehavior:()=>({left:0,top:0})});em(oa);async function rm(e){e.use(oa),await oa.isReady()}console.log=function(){};async function nm(){const e=ac(Yp);e.directive("focus",{mounted(n){n.focus()}}),Qp(),Jp(),od(e),Wx(e),await rm(e);const{default:t}=await Ie(()=>import("./v-viewer-b9217eae.js"),["./v-viewer-b9217eae.js","./vue-10b4afc0.js"],import.meta.url);e.use(t);const{MotionPlugin:r}=await Ie(()=>import("./vueuse-motion-d4cdaf7b.js").then(n=>n.b),["./vueuse-motion-d4cdaf7b.js","./vue-10b4afc0.js"],import.meta.url);e.use(r),e.mount("#app")}nm();export{sm as $,Pf as A,Dm as B,Am as C,wm as D,Sm as E,ym as F,mm as G,hm as H,fm as I,Rf as J,cm as K,oa as L,pm as M,xm as N,um as O,dm as P,lm as Q,Wp as R,Mm as S,Om as T,bm as U,km as V,Tm as W,Im as X,Em as Y,_m as Z,Ie as _,Kt as a,Cm as a0,Xf as a1,Hm as b,Vm as c,Gm as d,Ss as e,$m as f,Pm as g,vm as h,gm as i,Fm as j,Um as k,Wm as l,we as m,Xs as n,Kp as o,ge as p,Nm as q,Lm as r,Be as s,Rm as t,Zf as u,Pa as v,Ys as w,jm as x,qm as y,Bm as z};