const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./BQA6kwN8.js","./BuLkrZWs.js","./ZkpTbBh9.js","./C4iS2aBk.js","./anjlLiOR.js","./DcCBDUd7.js","./COxJFzyq.js","./index.B66Of2MG.css","./BnRCnHR4.js","./COBDsZIT.js","./LazyImg.yKMmaC8p.css","./ActivityRes.CSNvXLcM.css","./-hW-cJaJ.js","./InfoRes.DBgbppFT.css","./bjLfxYoN.js","./Dw-A3YL4.js","./KingKongRes.D7Pm1kk8.css","./8CkMd4Lm.js","./D6E4AZzO.js","./CVB-ysaQ.js","./Breadcrumb.L3FEiWQ2.css","./BvogAzoi.js","./B9ZaPfDu.js","./5nhuVf8Q.js","./CTs1IS78.js","./DR2pNVHB.js","./J5BdRU7F.js","./B-p6aW7q.js","./DPtzrPSE.js","./ba2ZI4rs.js","./N0rf0G8v.js","./B4k9t1UK.js","./i9RDaeF9.js","./Bk_rJcZu.js","./Ctp5dsaF.js","./ns7tdJ3J.js","./BUXjMaRB.js","./hOSy_pBB.js","./Avatar.mVNUuZJa.css","./BcsFmC65.js","./cvPzyZOE.js","./Br1UfR3i.js","./CeB31j2F.js","./topicListItem.DPH-LDwj.css","./UoI2rKti.js","./Loading.BAlqc1A_.css","./ktyoPaye.js","./DK84-dCG.js","./DmMJ15vN.js","./DZ0M9u0S.js","./CmPi6d_S.js","./CSIUZxWo.js","./Px18ERax.js","./LoginUser.Du2iA02r.css","./ContentRight.BJOsv-AH.css","./DvplSm5z.js","./CQnjLlgE.js","./DlBt9mlr.js","./index.nv61W5D0.css","./D5o470XE.js","./NFhYOn_v.js","./Modal.CwLRdkQS.css","./CZfYpyXf.js","./BYgzuklF.js","./5m6oUyWR.js","./Cv1-azMl.js","./ooVQmESK.js","./jv66idvy.js","./DAbV2DP4.js","./CeiCHATR.js","./D56R3OiC.js","./Bb30Rx__.js","./AddOrEditDialog.FItQwCJL.css","./DLjslY_f.js","./C13fCcTe.js","./CgOIYWht.js","./DkFiZk3O.js","./TNoI7Y6j.js","./DPNXJnNz.js","./C4J8sofl.js","./BRBEYiQ4.js","./MDMc5l4y.js","./ResourceList.NST2k0dh.css","./DG4Jp0lU.js","./Search.BbGUZqGw.css","./Dh-QuAz2.js","./D8c-vTd-.js","./CHVgTdHl.js","./index.DbutfeGk.css","./Cq_1TKV0.js","./B_DpxD3j.js","./B4onkbMm.js","./index.peT6P2cA.css","./DqkyqLr6.js","./CdQATnYM.js","./CaUfBiAN.js","./C1Q3MXho.js","./D96XKXtt.js","./MentionInput.Bjv3bj2C.css","./ReplyModal.FchoA_2I.css","./Comments.CPNKbLyD.css","./B6w2DdCp.js","./DPfaU-Cr.js","./Messages.BiNX-JSI.css","./CFdL0CwT.js","./Likes.C__jAjnm.css","./gyNPWkqN.js","./Mentions.B0_yzNP_.css","./BXkcCcYA.js","./Notifications.CBmWSpbF.css","./index.ZP2CozmI.css","./CcsuC8YS.js","./NuR1BOdj.js","./index.XobWP0MO.css","./WVE2VtcN.js","./qHZaMCg6.js","./DMDybYNm.js","./C9feNWyN.js","./DITKj4bU.js","./SearchInput.BpOI-lA_.css","./2J9iQeW6.js","./SearchPostList.f3ReViMR.css","./P4S4-Vvf.js","./SearchTopicList.BWAzUUkG.css","./Cn4zlys4.js","./py6DlY9j.js","./SearchUserList.Cyk48DiL.css","./BmHsgQwg.js","./CJoISbpR.js","./BbGo08ao.js","./index.3Kwyi-0e.css","./Dorh4EUW.js","./CJ634xx2.js","./CLf8I7_8.js","./BXI7menU.js","./CollectContent.D0jTWJ8S.css","./AWmUhI9y.js","./CecOO-0r.js","./CollectWapModal.C978oa09.css","./DMC8FPmZ.js","./Cd81-3IB.js","./ReportModal.QS1oMSmm.css","./pj3jHTUU.js","./vksmeamI.js","./Comment.B8T93QUR.css","./BBEyjG96.js","./f5I-Y4Zk.js","./p2v1dRjP.js","./Brde1jxG.js","./ShareContent.C5BanGc9.css","./BMIHPqn0.js","./ShareButton.DqVZzL2o.css","./C6inFvqr.js","./fV4Bqs7h.js","./DrZ0bmx7.js","./VoteDetailModal.B4M7OqTx.css","./TopicVote.BZpypuDL.css","./TopicContent.DgGgWBKE.css","./Cg5IJIMl.js","./TopicContentTag.BCIFeuAB.css","./DTA-3SAp.js","./TopicOperation.BwPp7BBJ.css","./Bqa4TzAI.js","./TopicOperationWap.CxBUyR2r.css","./CWgsML6E.js","./TopicTitle.BsNu-1l7.css","./C38tJcJt.js","./TopicUser.CRIaHdUk.css","./CjjnctwL.js","./BnyFzDnH.js","./index.mAi6MlPd.css","./BA_Xalr2.js","./index.CQ4DgM6R.css","./BtBkG6hp.js","./default.C3GJWJBJ.css"])))=>i.map(i=>d[i]); var ju=Object.defineProperty;var Wu=(e,t,n)=>t in e?ju(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var no=(e,t,n)=>Wu(e,typeof t!="symbol"?t+"":t,n);import{e as ya,j as Gt,k as ut,l as Gn,m as ba,g as Kn,i as te,t as ot,n as $e,u as ae,v as Vu,r as M,p as Yn,w as Be,q as dt,x as dl,y as fl,s as gn,d as X,c as O,h as b,z as ue,K as Uu,A as ko,B as hl,b as wn,C as wa,D as vn,E as ml,G as qu,H as Eo,F as at,I as xa,J as Gu,L as en,M as tn,o as xt,N as Vo,O as Ku,P as lt,Q as Yu,R as Ca,S as Xu,U as Ln,V as $o,W as pl,a as Zu,X as Vt,f as tt,Y as Ju,Z as Qu,_ as Pa,$ as Rt,a0 as Ut,a1 as At,a2 as gl,a3 as ed,a4 as td,a5 as nd,a6 as od}from"./ZkpTbBh9.js";import{c as rd,m as ad,u as id}from"./DcCBDUd7.js";import{m as $n,u as sd}from"./COxJFzyq.js";import"./C4iS2aBk.js";const ld=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,cd=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,ud=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function dd(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){return}return t}function Sa(e,t={}){if(typeof e!="string")return e;const n=e.trim();if(e[0]==='"'&&e.endsWith('"')&&!e.includes("\\"))return n.slice(1,-1);if(n.length<=9){const o=n.toLowerCase();if(o==="true")return!0;if(o==="false")return!1;if(o==="undefined")return;if(o==="null")return null;if(o==="nan")return Number.NaN;if(o==="infinity")return Number.POSITIVE_INFINITY;if(o==="-infinity")return Number.NEGATIVE_INFINITY}if(!ud.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(ld.test(e)||cd.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,dd)}return JSON.parse(e)}catch(o){if(t.strict)throw o;return e}}const fd=/#/g,hd=/&/g,md=/\//g,pd=/=/g,_a=/\+/g,gd=/%5e/gi,vd=/%60/gi,yd=/%7c/gi,bd=/%20/gi;function wd(e){return encodeURI(""+e).replace(yd,"|")}function zr(e){return wd(typeof e=="string"?e:JSON.stringify(e)).replace(_a,"%2B").replace(bd,"+").replace(fd,"%23").replace(hd,"%26").replace(vd,"`").replace(gd,"^").replace(md,"%2F")}function vr(e){return zr(e).replace(pd,"%3D")}function Ro(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function xd(e){return Ro(e.replace(_a," "))}function Cd(e){return Ro(e.replace(_a," "))}function Pd(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const o=n.match(/([^=]+)=?(.*)/)||[];if(o.length<2)continue;const r=xd(o[1]);if(r==="__proto__"||r==="constructor")continue;const a=Cd(o[2]||"");t[r]===void 0?t[r]=a:Array.isArray(t[r])?t[r].push(a):t[r]=[t[r],a]}return t}function Sd(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${vr(e)}=${zr(n)}`).join("&"):`${vr(e)}=${zr(t)}`:vr(e)}function _d(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>Sd(t,e[t])).filter(Boolean).join("&")}const Td=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,kd=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,Ed=/^([/\\]\s*){2,}[^/\\]/,$d=/^[\s\0]*(blob|data|javascript|vbscript):$/i,Rd=/\/$|\/\?|\/#/,Md=/^\.?\//;function nn(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?Td.test(e):kd.test(e)||(t.acceptRelative?Ed.test(e):!1)}function Od(e){return!!e&&$d.test(e)}function Lr(e="",t){return t?Rd.test(e):e.endsWith("/")}function Ta(e="",t){if(!t)return(Lr(e)?e.slice(0,-1):e)||"/";if(!Lr(e,!0))return e||"/";let n=e,o="";const r=e.indexOf("#");r>=0&&(n=e.slice(0,r),o=e.slice(r));const[a,...i]=n.split("?");return((a.endsWith("/")?a.slice(0,-1):a)||"/")+(i.length>0?`?${i.join("?")}`:"")+o}function Hr(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(Lr(e,!0))return e||"/";let n=e,o="";const r=e.indexOf("#");if(r>=0&&(n=e.slice(0,r),o=e.slice(r),!n))return o;const[a,...i]=n.split("?");return a+"/"+(i.length>0?`?${i.join("?")}`:"")+o}function Ad(e=""){return e.startsWith("/")}function mi(e=""){return Ad(e)?e:"/"+e}function Dd(e,t){if(yl(t)||nn(e))return e;const n=Ta(t);return e.startsWith(n)?e:ka(n,e)}function pi(e,t){if(yl(t))return e;const n=Ta(t);if(!e.startsWith(n))return e;const o=e.slice(n.length);return o[0]==="/"?o:"/"+o}function vl(e,t){const n=Ld(e),o={...Pd(n.search),...t};return n.search=_d(o),Hd(n)}function yl(e){return!e||e==="/"}function Id(e){return e&&e!=="/"}function ka(e,...t){let n=e||"";for(const o of t.filter(r=>Id(r)))if(n){const r=o.replace(Md,"");n=Hr(n)+r}else n=o;return n}function bl(...e){var i,s,l,c;const t=/\/(?!\/)/,n=e.filter(Boolean),o=[];let r=0;for(const u of n)if(!(!u||u==="/")){for(const[d,f]of u.split(t).entries())if(!(!f||f===".")){if(f===".."){if(o.length===1&&nn(o[0]))continue;o.pop(),r--;continue}if(d===1&&((i=o[o.length-1])!=null&&i.endsWith(":/"))){o[o.length-1]+="/"+f;continue}o.push(f),r++}}let a=o.join("/");return r>=0?(s=n[0])!=null&&s.startsWith("/")&&!a.startsWith("/")?a="/"+a:(l=n[0])!=null&&l.startsWith("./")&&!a.startsWith("./")&&(a="./"+a):a="../".repeat(-1*r)+a,(c=n[n.length-1])!=null&&c.endsWith("/")&&!a.endsWith("/")&&(a+="/"),a}function zd(e,t,n={}){return n.trailingSlash||(e=Hr(e),t=Hr(t)),n.leadingSlash||(e=mi(e),t=mi(t)),n.encoding||(e=Ro(e),t=Ro(t)),e===t}const wl=Symbol.for("ufo:protocolRelative");function Ld(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,d,f=""]=n;return{protocol:d.toLowerCase(),pathname:f,href:d+f,auth:"",host:"",search:"",hash:""}}if(!nn(e,{acceptRelative:!0}))return gi(e);const[,o="",r,a=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,i="",s=""]=a.match(/([^#/?]*)(.*)?/)||[];o==="file:"&&(s=s.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:l,search:c,hash:u}=gi(s);return{protocol:o.toLowerCase(),auth:r?r.slice(0,Math.max(0,r.length-1)):"",host:i,pathname:l,search:c,hash:u,[wl]:!o}}function gi(e=""){const[t="",n="",o=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:o}}function Hd(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",o=e.hash||"",r=e.auth?e.auth+"@":"",a=e.host||"";return(e.protocol||e[wl]?(e.protocol||"")+"//":"")+r+a+t+n+o}class Fd extends Error{constructor(t,n){super(t,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function Nd(e){var l,c,u,d,f;const t=((l=e.error)==null?void 0:l.message)||((c=e.error)==null?void 0:c.toString())||"",n=((u=e.request)==null?void 0:u.method)||((d=e.options)==null?void 0:d.method)||"GET",o=((f=e.request)==null?void 0:f.url)||String(e.request)||"/",r=`[${n}] ${JSON.stringify(o)}`,a=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",i=`${r}: ${a}${t?` ${t}`:""}`,s=new Fd(i,e.error?{cause:e.error}:void 0);for(const h of["request","options","response"])Object.defineProperty(s,h,{get(){return e[h]}});for(const[h,m]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(s,h,{get(){return e.response&&e.response[m]}});return s}const Bd=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function vi(e="GET"){return Bd.has(e.toUpperCase())}function jd(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const Wd=new Set(["image/svg","application/xml","application/xhtml","application/html"]),Vd=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function Ud(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return Vd.test(t)?"json":Wd.has(t)||t.startsWith("text/")?"text":"blob"}function qd(e,t,n,o){const r=Gd((t==null?void 0:t.headers)??(e==null?void 0:e.headers),n==null?void 0:n.headers,o);let a;return(n!=null&&n.query||n!=null&&n.params||t!=null&&t.params||t!=null&&t.query)&&(a={...n==null?void 0:n.params,...n==null?void 0:n.query,...t==null?void 0:t.params,...t==null?void 0:t.query}),{...n,...t,query:a,params:a,headers:r}}function Gd(e,t,n){if(!t)return new n(e);const o=new n(t);if(e)for(const[r,a]of Symbol.iterator in e||Array.isArray(e)?e:new n(e))o.set(r,a);return o}async function oo(e,t){if(t)if(Array.isArray(t))for(const n of t)await n(e);else await t(e)}const Kd=new Set([408,409,425,429,500,502,503,504]),Yd=new Set([101,204,205,304]);function xl(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:o=globalThis.AbortController}=e;async function r(s){const l=s.error&&s.error.name==="AbortError"&&!s.options.timeout||!1;if(s.options.retry!==!1&&!l){let u;typeof s.options.retry=="number"?u=s.options.retry:u=vi(s.options.method)?0:1;const d=s.response&&s.response.status||500;if(u>0&&(Array.isArray(s.options.retryStatusCodes)?s.options.retryStatusCodes.includes(d):Kd.has(d))){const f=typeof s.options.retryDelay=="function"?s.options.retryDelay(s):s.options.retryDelay||0;return f>0&&await new Promise(h=>setTimeout(h,f)),a(s.request,{...s.options,retry:u-1})}}const c=Nd(s);throw Error.captureStackTrace&&Error.captureStackTrace(c,a),c}const a=async function(l,c={}){var h;const u={request:l,options:qd(l,c,e.defaults,n),response:void 0,error:void 0};u.options.method=(h=u.options.method)==null?void 0:h.toUpperCase(),u.options.onRequest&&await oo(u,u.options.onRequest),typeof u.request=="string"&&(u.options.baseURL&&(u.request=Dd(u.request,u.options.baseURL)),u.options.query&&(u.request=vl(u.request,u.options.query))),u.options.body&&vi(u.options.method)&&(jd(u.options.body)?(u.options.body=typeof u.options.body=="string"?u.options.body:JSON.stringify(u.options.body),u.options.headers=new n(u.options.headers||{}),u.options.headers.has("content-type")||u.options.headers.set("content-type","application/json"),u.options.headers.has("accept")||u.options.headers.set("accept","application/json")):("pipeTo"in u.options.body&&typeof u.options.body.pipeTo=="function"||typeof u.options.body.pipe=="function")&&("duplex"in u.options||(u.options.duplex="half")));let d;if(!u.options.signal&&u.options.timeout){const m=new o;d=setTimeout(()=>{const p=new Error("[TimeoutError]: The operation was aborted due to timeout");p.name="TimeoutError",p.code=23,m.abort(p)},u.options.timeout),u.options.signal=m.signal}try{u.response=await t(u.request,u.options)}catch(m){return u.error=m,u.options.onRequestError&&await oo(u,u.options.onRequestError),await r(u)}finally{d&&clearTimeout(d)}if(u.response.body&&!Yd.has(u.response.status)&&u.options.method!=="HEAD"){const m=(u.options.parseResponse?"json":u.options.responseType)||Ud(u.response.headers.get("content-type")||"");switch(m){case"json":{const p=await u.response.text(),g=u.options.parseResponse||Sa;u.response._data=g(p);break}case"stream":{u.response._data=u.response.body;break}default:u.response._data=await u.response[m]()}}return u.options.onResponse&&await oo(u,u.options.onResponse),!u.options.ignoreResponseError&&u.response.status>=400&&u.response.status<600?(u.options.onResponseError&&await oo(u,u.options.onResponseError),await r(u)):u.response},i=async function(l,c){return(await a(l,c))._data};return i.raw=a,i.native=(...s)=>t(...s),i.create=(s={},l={})=>xl({...e,...l,defaults:{...e.defaults,...l.defaults,...s}}),i}const Mo=function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}(),Xd=Mo.fetch?(...e)=>Mo.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),Zd=Mo.Headers,Jd=Mo.AbortController,Qd=xl({fetch:Xd,Headers:Zd,AbortController:Jd}),ef=Qd,tf=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},Oo=tf().app,nf=()=>Oo.baseURL,of=()=>Oo.buildAssetsDir,Ea=(...e)=>bl(Cl(),of(),...e),Cl=(...e)=>{const t=Oo.cdnURL||Oo.baseURL;return e.length?bl(t,...e):t};globalThis.__buildAssetsURL=Ea,globalThis.__publicAssetsURL=Cl;globalThis.$fetch||(globalThis.$fetch=ef.create({baseURL:nf()}));function Fr(e,t={},n){for(const o in e){const r=e[o],a=n?`${n}:${o}`:o;typeof r=="object"&&r!==null?Fr(r,t,a):typeof r=="function"&&(t[a]=r)}return t}const rf={run:e=>e()},af=()=>rf,Pl=typeof console.createTask<"u"?console.createTask:af;function sf(e,t){const n=t.shift(),o=Pl(n);return e.reduce((r,a)=>r.then(()=>o.run(()=>a(...t))),Promise.resolve())}function lf(e,t){const n=t.shift(),o=Pl(n);return Promise.all(e.map(r=>o.run(()=>r(...t))))}function yr(e,t){for(const n of[...e])n(t)}class cf{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,o={}){if(!t||typeof n!="function")return()=>{};const r=t;let a;for(;this._deprecatedHooks[t];)a=this._deprecatedHooks[t],t=a.to;if(a&&!o.allowDeprecated){let i=a.message;i||(i=`${r} hook has been deprecated`+(a.to?`, please use ${a.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||this._deprecatedMessages.add(i)}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let o,r=(...a)=>(typeof o=="function"&&o(),o=void 0,r=void 0,n(...a));return o=this.hook(t,r),o}removeHook(t,n){if(this._hooks[t]){const o=this._hooks[t].indexOf(n);o!==-1&&this._hooks[t].splice(o,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const o=this._hooks[t]||[];delete this._hooks[t];for(const r of o)this.hook(t,r)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=Fr(t),o=Object.keys(n).map(r=>this.hook(r,n[r]));return()=>{for(const r of o.splice(0,o.length))r()}}removeHooks(t){const n=Fr(t);for(const o in n)this.removeHook(o,n[o])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(sf,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(lf,t,...n)}callHookWith(t,n,...o){const r=this._before||this._after?{name:n,args:o,context:{}}:void 0;this._before&&yr(this._before,r);const a=t(n in this._hooks?[...this._hooks[n]]:[],o);return a instanceof Promise?a.finally(()=>{this._after&&r&&yr(this._after,r)}):(this._after&&r&&yr(this._after,r),a)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function Sl(){return new cf}function uf(e={}){let t,n=!1;const o=i=>{if(t&&t!==i)throw new Error("Context conflict")};let r;if(e.asyncContext){const i=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;i&&(r=new i)}const a=()=>{if(r&&t===void 0){const i=r.getStore();if(i!==void 0)return i}return t};return{use:()=>{const i=a();if(i===void 0)throw new Error("Context is not available");return i},tryUse:()=>a(),set:(i,s)=>{s||o(i),t=i,n=!0},unset:()=>{t=void 0,n=!1},call:(i,s)=>{o(i),t=i;try{return r?r.run(i,s):s()}finally{n||(t=void 0)}},async callAsync(i,s){t=i;const l=()=>{t=i},c=()=>t===i?l:void 0;Nr.add(c);try{const u=r?r.run(i,s):s();return n||(t=void 0),await u}finally{Nr.delete(c)}}}}function df(e={}){const t={};return{get(n,o={}){return t[n]||(t[n]=uf({...e,...o})),t[n],t[n]}}}const Ao=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},yi="__unctx__",ff=Ao[yi]||(Ao[yi]=df()),hf=(e,t={})=>ff.get(e,t),bi="__unctx_async_handlers__",Nr=Ao[bi]||(Ao[bi]=new Set);function Zt(e){const t=[];for(const r of Nr){const a=r();a&&t.push(a)}const n=()=>{for(const r of t)r()};let o=e();return o&&typeof o=="object"&&"catch"in o&&(o=o.catch(r=>{throw n(),r})),[o,n]}const mf=!1,Br=!1,pf=!1,D2={componentName:"NuxtLink",prefetch:!0,prefetchOn:{visibility:!0}},fn={value:null,errorValue:null,deep:!0},gf=null,vf={},yf="#__nuxt",_l="nuxt-app",wi=36e5,bf="vite:preloadError";function Tl(e=_l){return hf(e,{asyncContext:!1})}const wf="__nuxt_plugin";function xf(e){var r;let t=0;const n={_id:e.id||_l||"nuxt-app",_scope:ya(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.13.2"},get vue(){return n.vueApp.version}},payload:Gt({...((r=e.ssrContext)==null?void 0:r.payload)||{},data:Gt({}),state:ut({}),once:new Set,_errors:Gt({})}),static:{data:{}},runWithContext(a){return n._scope.active&&!Gn()?n._scope.run(()=>xi(n,a)):xi(n,a)},isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let a=!1;return()=>{if(!a&&(a=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:Gt({}),_payloadRevivers:{},...e};{const a=window.__NUXT__;if(a)for(const i in a)switch(i){case"data":case"state":case"_errors":Object.assign(n.payload[i],a[i]);break;default:n.payload[i]=a[i]}}n.hooks=Sl(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(a,i)=>{const s="$"+a;ro(n,s,i),ro(n.vueApp.config.globalProperties,s,i)},ro(n.vueApp,"$nuxt",n),ro(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener(bf,i=>{n.callHook("app:chunkError",{error:i.payload}),(n.isHydrating||i.payload.message.includes("Unable to preload CSS"))&&i.preventDefault()}),window.useNuxtApp=window.useNuxtApp||ve;const a=n.hook("app:error",(...i)=>{});n.hook("app:mounted",a)}const o=n.payload.config;return n.provide("config",o),n}function Cf(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}async function Pf(e,t){if(typeof t=="function"){const{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n=="object")for(const o in n)e.provide(o,n[o])}}async function Sf(e,t){const n=[],o=[],r=[],a=[];let i=0;async function s(l){var u;const c=((u=l.dependsOn)==null?void 0:u.filter(d=>t.some(f=>f._name===d)&&!n.includes(d)))??[];if(c.length>0)o.push([new Set(c),l]);else{const d=Pf(e,l).then(async()=>{l._name&&(n.push(l._name),await Promise.all(o.map(async([f,h])=>{f.has(l._name)&&(f.delete(l._name),f.size===0&&(i++,await s(h)))})))});l.parallel?r.push(d.catch(f=>a.push(f))):await d}}for(const l of t)Cf(e,l);for(const l of t)await s(l);if(await Promise.all(r),i)for(let l=0;l<i;l++)await Promise.all(r);if(a.length)throw a[0]}function ke(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[wf]:!0,_name:t})}function xi(e,t,n){const o=()=>t();return Tl(e._id).set(e),e.vueApp.runWithContext(o)}function _f(e){var n;let t;return ba()&&(t=(n=Kn())==null?void 0:n.appContext.app.$nuxt),t=t||Tl(e).tryUse(),t||null}function ve(e){const t=_f(e);if(!t)throw new Error("[nuxt] instance unavailable");return t}function Ct(e){return ve().$config}function ro(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function Tf(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");const n={},o=t||{},r=o.decode||kf;let a=0;for(;a<e.length;){const i=e.indexOf("=",a);if(i===-1)break;let s=e.indexOf(";",a);if(s===-1)s=e.length;else if(s<i){a=e.lastIndexOf(";",i-1)+1;continue}const l=e.slice(a,i).trim();if(o!=null&&o.filter&&!(o!=null&&o.filter(l))){a=s+1;continue}if(n[l]===void 0){let c=e.slice(i+1,s).trim();c.codePointAt(0)===34&&(c=c.slice(1,-1)),n[l]=Ef(c,r)}a=s+1}return n}function kf(e){return e.includes("%")?decodeURIComponent(e):e}function Ef(e,t){try{return t(e)}catch{return e}}const ao=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function Ci(e,t,n){const o=n||{},r=o.encode||encodeURIComponent;if(typeof r!="function")throw new TypeError("option encode is invalid");if(!ao.test(e))throw new TypeError("argument name is invalid");const a=r(t);if(a&&!ao.test(a))throw new TypeError("argument val is invalid");let i=e+"="+a;if(o.maxAge!==void 0&&o.maxAge!==null){const s=o.maxAge-0;if(Number.isNaN(s)||!Number.isFinite(s))throw new TypeError("option maxAge is invalid");i+="; Max-Age="+Math.floor(s)}if(o.domain){if(!ao.test(o.domain))throw new TypeError("option domain is invalid");i+="; Domain="+o.domain}if(o.path){if(!ao.test(o.path))throw new TypeError("option path is invalid");i+="; Path="+o.path}if(o.expires){if(!$f(o.expires)||Number.isNaN(o.expires.valueOf()))throw new TypeError("option expires is invalid");i+="; Expires="+o.expires.toUTCString()}if(o.httpOnly&&(i+="; HttpOnly"),o.secure&&(i+="; Secure"),o.priority)switch(typeof o.priority=="string"?o.priority.toLowerCase():o.priority){case"low":{i+="; Priority=Low";break}case"medium":{i+="; Priority=Medium";break}case"high":{i+="; Priority=High";break}default:throw new TypeError("option priority is invalid")}if(o.sameSite)switch(typeof o.sameSite=="string"?o.sameSite.toLowerCase():o.sameSite){case!0:{i+="; SameSite=Strict";break}case"lax":{i+="; SameSite=Lax";break}case"strict":{i+="; SameSite=Strict";break}case"none":{i+="; SameSite=None";break}default:throw new TypeError("option sameSite is invalid")}return o.partitioned&&(i+="; Partitioned"),i}function $f(e){return Object.prototype.toString.call(e)==="[object Date]"||e instanceof Date}const Pi=Object.freeze({ignoreUnknown:!1,respectType:!1,respectFunctionNames:!1,respectFunctionProperties:!1,unorderedObjects:!0,unorderedArrays:!1,unorderedSets:!1,excludeKeys:void 0,excludeValues:void 0,replacer:void 0});function jr(e,t){t?t={...Pi,...t}:t=Pi;const n=kl(t);return n.dispatch(e),n.toString()}const Rf=Object.freeze(["prototype","__proto__","constructor"]);function kl(e){let t="",n=new Map;const o=r=>{t+=r};return{toString(){return t},getContext(){return n},dispatch(r){return e.replacer&&(r=e.replacer(r)),this[r===null?"null":typeof r](r)},object(r){if(r&&typeof r.toJSON=="function")return this.object(r.toJSON());const a=Object.prototype.toString.call(r);let i="";const s=a.length;s<10?i="unknown:["+a+"]":i=a.slice(8,s-1),i=i.toLowerCase();let l=null;if((l=n.get(r))===void 0)n.set(r,n.size);else return this.dispatch("[CIRCULAR:"+l+"]");if(typeof Buffer<"u"&&Buffer.isBuffer&&Buffer.isBuffer(r))return o("buffer:"),o(r.toString("utf8"));if(i!=="object"&&i!=="function"&&i!=="asyncfunction")this[i]?this[i](r):e.ignoreUnknown||this.unkown(r,i);else{let c=Object.keys(r);e.unorderedObjects&&(c=c.sort());let u=[];e.respectType!==!1&&!Si(r)&&(u=Rf),e.excludeKeys&&(c=c.filter(f=>!e.excludeKeys(f)),u=u.filter(f=>!e.excludeKeys(f))),o("object:"+(c.length+u.length)+":");const d=f=>{this.dispatch(f),o(":"),e.excludeValues||this.dispatch(r[f]),o(",")};for(const f of c)d(f);for(const f of u)d(f)}},array(r,a){if(a=a===void 0?e.unorderedArrays!==!1:a,o("array:"+r.length+":"),!a||r.length<=1){for(const l of r)this.dispatch(l);return}const i=new Map,s=r.map(l=>{const c=kl(e);c.dispatch(l);for(const[u,d]of c.getContext())i.set(u,d);return c.toString()});return n=i,s.sort(),this.array(s,!1)},date(r){return o("date:"+r.toJSON())},symbol(r){return o("symbol:"+r.toString())},unkown(r,a){if(o(a),!!r&&(o(":"),r&&typeof r.entries=="function"))return this.array(Array.from(r.entries()),!0)},error(r){return o("error:"+r.toString())},boolean(r){return o("bool:"+r)},string(r){o("string:"+r.length+":"),o(r)},function(r){o("fn:"),Si(r)?this.dispatch("[native]"):this.dispatch(r.toString()),e.respectFunctionNames!==!1&&this.dispatch("function-name:"+String(r.name)),e.respectFunctionProperties&&this.object(r)},number(r){return o("number:"+r)},xml(r){return o("xml:"+r.toString())},null(){return o("Null")},undefined(){return o("Undefined")},regexp(r){return o("regex:"+r.toString())},uint8array(r){return o("uint8array:"),this.dispatch(Array.prototype.slice.call(r))},uint8clampedarray(r){return o("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(r))},int8array(r){return o("int8array:"),this.dispatch(Array.prototype.slice.call(r))},uint16array(r){return o("uint16array:"),this.dispatch(Array.prototype.slice.call(r))},int16array(r){return o("int16array:"),this.dispatch(Array.prototype.slice.call(r))},uint32array(r){return o("uint32array:"),this.dispatch(Array.prototype.slice.call(r))},int32array(r){return o("int32array:"),this.dispatch(Array.prototype.slice.call(r))},float32array(r){return o("float32array:"),this.dispatch(Array.prototype.slice.call(r))},float64array(r){return o("float64array:"),this.dispatch(Array.prototype.slice.call(r))},arraybuffer(r){return o("arraybuffer:"),this.dispatch(new Uint8Array(r))},url(r){return o("url:"+r.toString())},map(r){o("map:");const a=[...r];return this.array(a,e.unorderedSets!==!1)},set(r){o("set:");const a=[...r];return this.array(a,e.unorderedSets!==!1)},file(r){return o("file:"),this.dispatch([r.name,r.size,r.type,r.lastModfied])},blob(){if(e.ignoreUnknown)return o("[blob]");throw new Error(`Hashing Blob objects is currently not supported Use "options.replacer" or "options.ignoreUnknown" `)},domwindow(){return o("domwindow")},bigint(r){return o("bigint:"+r.toString())},process(){return o("process")},timer(){return o("timer")},pipe(){return o("pipe")},tcp(){return o("tcp")},udp(){return o("udp")},tty(){return o("tty")},statwatcher(){return o("statwatcher")},securecontext(){return o("securecontext")},connection(){return o("connection")},zlib(){return o("zlib")},context(){return o("context")},nodescript(){return o("nodescript")},httpparser(){return o("httpparser")},dataview(){return o("dataview")},signal(){return o("signal")},fsevent(){return o("fsevent")},tlswrap(){return o("tlswrap")}}}const El="[native code] }",Mf=El.length;function Si(e){return typeof e!="function"?!1:Function.prototype.toString.call(e).slice(-Mf)===El}var Of=Object.defineProperty,Af=(e,t,n)=>t in e?Of(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,hn=(e,t,n)=>(Af(e,typeof t!="symbol"?t+"":t,n),n);class It{constructor(t,n){hn(this,"words"),hn(this,"sigBytes"),t=this.words=t||[],this.sigBytes=n===void 0?t.length*4:n}toString(t){return(t||Df).stringify(this)}concat(t){if(this.clamp(),this.sigBytes%4)for(let n=0;n<t.sigBytes;n++){const o=t.words[n>>>2]>>>24-n%4*8&255;this.words[this.sigBytes+n>>>2]|=o<<24-(this.sigBytes+n)%4*8}else for(let n=0;n<t.sigBytes;n+=4)this.words[this.sigBytes+n>>>2]=t.words[n>>>2];return this.sigBytes+=t.sigBytes,this}clamp(){this.words[this.sigBytes>>>2]&=4294967295<<32-this.sigBytes%4*8,this.words.length=Math.ceil(this.sigBytes/4)}clone(){return new It([...this.words])}}const Df={stringify(e){const t=[];for(let n=0;n<e.sigBytes;n++){const o=e.words[n>>>2]>>>24-n%4*8&255;t.push((o>>>4).toString(16),(o&15).toString(16))}return t.join("")}},If={stringify(e){const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=[];for(let o=0;o<e.sigBytes;o+=3){const r=e.words[o>>>2]>>>24-o%4*8&255,a=e.words[o+1>>>2]>>>24-(o+1)%4*8&255,i=e.words[o+2>>>2]>>>24-(o+2)%4*8&255,s=r<<16|a<<8|i;for(let l=0;l<4&&o*8+l*6<e.sigBytes*8;l++)n.push(t.charAt(s>>>6*(3-l)&63))}return n.join("")}},zf={parse(e){const t=e.length,n=[];for(let o=0;o<t;o++)n[o>>>2]|=(e.charCodeAt(o)&255)<<24-o%4*8;return new It(n,t)}},Lf={parse(e){return zf.parse(unescape(encodeURIComponent(e)))}};class Hf{constructor(){hn(this,"_data",new It),hn(this,"_nDataBytes",0),hn(this,"_minBufferSize",0),hn(this,"blockSize",512/32)}reset(){this._data=new It,this._nDataBytes=0}_append(t){typeof t=="string"&&(t=Lf.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes}_doProcessBlock(t,n){}_process(t){let n,o=this._data.sigBytes/(this.blockSize*4);t?o=Math.ceil(o):o=Math.max((o|0)-this._minBufferSize,0);const r=o*this.blockSize,a=Math.min(r*4,this._data.sigBytes);if(r){for(let i=0;i<r;i+=this.blockSize)this._doProcessBlock(this._data.words,i);n=this._data.words.splice(0,r),this._data.sigBytes-=a}return new It(n,a)}}class Ff extends Hf{update(t){return this._append(t),this._process(),this}finalize(t){t&&this._append(t)}}var Nf=Object.defineProperty,Bf=(e,t,n)=>t in e?Nf(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,jf=(e,t,n)=>(Bf(e,t+"",n),n);const _i=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],Wf=[1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998],Bt=[];class Vf extends Ff{constructor(){super(...arguments),jf(this,"_hash",new It([..._i]))}reset(){super.reset(),this._hash=new It([..._i])}_doProcessBlock(t,n){const o=this._hash.words;let r=o[0],a=o[1],i=o[2],s=o[3],l=o[4],c=o[5],u=o[6],d=o[7];for(let f=0;f<64;f++){if(f<16)Bt[f]=t[n+f]|0;else{const x=Bt[f-15],S=(x<<25|x>>>7)^(x<<14|x>>>18)^x>>>3,C=Bt[f-2],_=(C<<15|C>>>17)^(C<<13|C>>>19)^C>>>10;Bt[f]=S+Bt[f-7]+_+Bt[f-16]}const h=l&c^~l&u,m=r&a^r&i^a&i,p=(r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22),g=(l<<26|l>>>6)^(l<<21|l>>>11)^(l<<7|l>>>25),v=d+g+h+Wf[f]+Bt[f],w=p+m;d=u,u=c,c=l,l=s+v|0,s=i,i=a,a=r,r=v+w|0}o[0]=o[0]+r|0,o[1]=o[1]+a|0,o[2]=o[2]+i|0,o[3]=o[3]+s|0,o[4]=o[4]+l|0,o[5]=o[5]+c|0,o[6]=o[6]+u|0,o[7]=o[7]+d|0}finalize(t){super.finalize(t);const n=this._nDataBytes*8,o=this._data.sigBytes*8;return this._data.words[o>>>5]|=128<<24-o%32,this._data.words[(o+64>>>9<<4)+14]=Math.floor(n/4294967296),this._data.words[(o+64>>>9<<4)+15]=n,this._data.sigBytes=this._data.words.length*4,this._process(),this._hash}}function Uf(e){return new Vf().finalize(e).toString(If)}function qf(e,t={}){const n=typeof e=="string"?e:jr(e,t);return Uf(n).slice(0,10)}function Gf(e,t,n={}){return e===t||jr(e,n)===jr(t,n)}function Kf(e,t){return{ctx:{table:e},matchAll:n=>Rl(n,e)}}function $l(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([o,r])=>[o,$l(r)])):new Map(Object.entries(e[n]));return t}function Yf(e){return Kf($l(e))}function Rl(e,t,n){e.endsWith("/")&&(e=e.slice(0,-1)||"/");const o=[];for(const[a,i]of Ti(t.wildcard))(e===a||e.startsWith(a+"/"))&&o.push(i);for(const[a,i]of Ti(t.dynamic))if(e.startsWith(a+"/")){const s="/"+e.slice(a.length).split("/").splice(2).join("/");o.push(...Rl(s,i))}const r=t.static.get(e);return r&&o.push(r),o.filter(Boolean)}function Ti(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function br(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function Wr(e,t,n=".",o){if(!br(t))return Wr(e,{},n,o);const r=Object.assign({},t);for(const a in e){if(a==="__proto__"||a==="constructor")continue;const i=e[a];i!=null&&(o&&o(r,a,i,n)||(Array.isArray(i)&&Array.isArray(r[a])?r[a]=[...i,...r[a]]:br(i)&&br(r[a])?r[a]=Wr(i,r[a],(n?`${n}.`:"")+a.toString(),o):r[a]=i))}return r}function Xf(e){return(...t)=>t.reduce((n,o)=>Wr(n,o,"",e),{})}const Ml=Xf();function Zf(e,t){try{return t in e}catch{return!1}}var Jf=Object.defineProperty,Qf=(e,t,n)=>t in e?Jf(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Wt=(e,t,n)=>(Qf(e,typeof t!="symbol"?t+"":t,n),n);class Vr extends Error{constructor(t,n={}){super(t,n),Wt(this,"statusCode",500),Wt(this,"fatal",!1),Wt(this,"unhandled",!1),Wt(this,"statusMessage"),Wt(this,"data"),Wt(this,"cause"),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:qr(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=Ol(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}Wt(Vr,"__h3_error__",!0);function Ur(e){if(typeof e=="string")return new Vr(e);if(eh(e))return e;const t=new Vr(e.message??e.statusMessage??"",{cause:e.cause||e});if(Zf(e,"stack"))try{Object.defineProperty(t,"stack",{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=qr(e.statusCode,t.statusCode):e.status&&(t.statusCode=qr(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage,o=Ol(t.statusMessage)}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function eh(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const th=/[^\u0009\u0020-\u007E]/g;function Ol(e=""){return e.replace(th,"")}function qr(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const Al=Symbol("layout-meta"),Xn=Symbol("route"),Le=()=>{var e;return(e=ve())==null?void 0:e.$router},Uo=()=>ba()?te(Xn,ve()._route):ve()._route;const nh=()=>{try{if(ve()._processingMiddleware)return!0}catch{return!1}return!1},oh=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:"path"in e?rh(e):Le().resolve(e).href;if(t!=null&&t.open){const{target:l="_blank",windowFeatures:c={}}=t.open,u=Object.entries(c).filter(([d,f])=>f!==void 0).map(([d,f])=>`${d.toLowerCase()}=${f}`).join(", ");return open(n,l,u),Promise.resolve()}const o=nn(n,{acceptRelative:!0}),r=(t==null?void 0:t.external)||o;if(r){if(!(t!=null&&t.external))throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const{protocol:l}=new URL(n,window.location.href);if(l&&Od(l))throw new Error(`Cannot navigate to a URL with '${l}' protocol.`)}const a=nh();if(!r&&a)return e;const i=Le(),s=ve();return r?(s._scope.stop(),t!=null&&t.replace?location.replace(n):location.href=n,a?s.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t!=null&&t.replace?i.replace(e):i.push(e)};function rh(e){return vl(e.path||"",e.query||{})+(e.hash||"")}const Dl="__nuxt_error",qo=()=>ot(ve().payload,"error"),mn=e=>{const t=Go(e);try{const n=ve(),o=qo();n.hooks.callHook("app:error",t),o.value=o.value||t}catch{throw t}return t},ah=async(e={})=>{const t=ve(),n=qo();t.callHook("app:error:cleared",e),e.redirect&&await Le().replace(e.redirect),n.value=gf},ih=e=>!!e&&typeof e=="object"&&Dl in e,Go=e=>{const t=Ur(e);return Object.defineProperty(t,Dl,{value:!0,configurable:!1,writable:!1}),t},sh=new Set(["title","titleTemplate","script","style","noscript"]),Co=new Set(["base","meta","link","style","script","noscript"]),lh=new Set(["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),ch=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),Il=new Set(["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"]),uh=typeof window<"u";function Do(e){let t=9;for(let n=0;n<e.length;)t=Math.imul(t^e.charCodeAt(n++),9**9);return((t^t>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function Gr(e){if(e._h)return e._h;if(e._d)return Do(e._d);let t=`${e.tag}:${e.textContent||e.innerHTML||""}:`;for(const n in e.props)t+=`${n}:${String(e.props[n])},`;return Do(t)}function zl(e,t){const n=[],o=t.resolveKeyData||(a=>a.key),r=t.resolveValueData||(a=>a.value);for(const[a,i]of Object.entries(e))n.push(...(Array.isArray(i)?i:[i]).map(s=>{const l={key:a,value:s},c=r(l);return typeof c=="object"?zl(c,t):Array.isArray(c)?c:{[typeof t.key=="function"?t.key(l):t.key]:o(l),[typeof t.value=="function"?t.value(l):t.value]:c}}).flat());return n}function Ll(e,t){return Object.entries(e).map(([n,o])=>{if(typeof o=="object"&&(o=Ll(o,t)),t.resolve){const r=t.resolve({key:n,value:o});if(typeof r<"u")return r}return typeof o=="number"&&(o=o.toString()),typeof o=="string"&&t.wrapValue&&(o=o.replace(new RegExp(t.wrapValue,"g"),`\\${t.wrapValue}`),o=`${t.wrapValue}${o}${t.wrapValue}`),`${n}${t.keyValueSeparator||""}${o}`}).join(t.entrySeparator||"")}const Ae=e=>({keyValue:e,metaKey:"property"}),wr=e=>({keyValue:e}),$a={appleItunesApp:{unpack:{entrySeparator:", ",resolve({key:e,value:t}){return`${yt(e)}=${t}`}}},articleExpirationTime:Ae("article:expiration_time"),articleModifiedTime:Ae("article:modified_time"),articlePublishedTime:Ae("article:published_time"),bookReleaseDate:Ae("book:release_date"),charset:{metaKey:"charset"},contentSecurityPolicy:{unpack:{entrySeparator:"; ",resolve({key:e,value:t}){return`${yt(e)} ${t}`}},metaKey:"http-equiv"},contentType:{metaKey:"http-equiv"},defaultStyle:{metaKey:"http-equiv"},fbAppId:Ae("fb:app_id"),msapplicationConfig:wr("msapplication-Config"),msapplicationTileColor:wr("msapplication-TileColor"),msapplicationTileImage:wr("msapplication-TileImage"),ogAudioSecureUrl:Ae("og:audio:secure_url"),ogAudioUrl:Ae("og:audio"),ogImageSecureUrl:Ae("og:image:secure_url"),ogImageUrl:Ae("og:image"),ogSiteName:Ae("og:site_name"),ogVideoSecureUrl:Ae("og:video:secure_url"),ogVideoUrl:Ae("og:video"),profileFirstName:Ae("profile:first_name"),profileLastName:Ae("profile:last_name"),profileUsername:Ae("profile:username"),refresh:{metaKey:"http-equiv",unpack:{entrySeparator:";",resolve({key:e,value:t}){if(e==="seconds")return`${t}`}}},robots:{unpack:{entrySeparator:", ",resolve({key:e,value:t}){return typeof t=="boolean"?`${yt(e)}`:`${yt(e)}:${t}`}}},xUaCompatible:{metaKey:"http-equiv"}},Hl=new Set(["og","book","article","profile"]);function Fl(e){var o;const t=yt(e),n=t.indexOf(":");return Hl.has(t.substring(0,n))?"property":((o=$a[e])==null?void 0:o.metaKey)||"name"}function dh(e){var t;return((t=$a[e])==null?void 0:t.keyValue)||yt(e)}function yt(e){const t=e.replace(/([A-Z])/g,"-$1").toLowerCase(),n=t.indexOf("-"),o=t.substring(0,n);return o==="twitter"||Hl.has(o)?e.replace(/([A-Z])/g,":$1").toLowerCase():t}function Kr(e){if(Array.isArray(e))return e.map(n=>Kr(n));if(typeof e!="object"||Array.isArray(e))return e;const t={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[yt(n)]=Kr(e[n]));return t}function fh(e,t){const n=$a[t];return t==="refresh"?`${e.seconds};url=${e.url}`:Ll(Kr(e),{keyValueSeparator:"=",entrySeparator:", ",resolve({value:o,key:r}){if(o===null)return"";if(typeof o=="boolean")return`${r}`},...n==null?void 0:n.unpack})}const Nl=new Set(["og:image","og:video","og:audio","twitter:image"]);function Bl(e){const t={};for(const n in e){if(!Object.prototype.hasOwnProperty.call(e,n))continue;const o=e[n];String(o)!=="false"&&n&&(t[n]=o)}return t}function ki(e,t){const n=Bl(t),o=yt(e),r=Fl(o);if(Nl.has(o)){const a={};for(const i in n)Object.prototype.hasOwnProperty.call(n,i)&&(a[`${e}${i==="url"?"":`${i[0].toUpperCase()}${i.slice(1)}`}`]=n[i]);return Ra(a).sort((i,s)=>{var l,c;return(((l=i[r])==null?void 0:l.length)||0)-(((c=s[r])==null?void 0:c.length)||0)})}return[{[r]:o,...n}]}function Ra(e){const t=[],n={};for(const r in e){if(!Object.prototype.hasOwnProperty.call(e,r))continue;const a=e[r];if(!Array.isArray(a)){if(typeof a=="object"&&a){if(Nl.has(yt(r))){t.push(...ki(r,a));continue}n[r]=Bl(a)}else n[r]=a;continue}for(const i of a)t.push(...typeof i=="string"?Ra({[r]:i}):ki(r,i))}const o=zl(n,{key({key:r}){return Fl(r)},value({key:r}){return r==="charset"?"charset":"content"},resolveKeyData({key:r}){return dh(r)},resolveValueData({value:r,key:a}){return r===null?"_null":typeof r=="object"?fh(r,a):typeof r=="number"?r.toString():r}});return[...t,...o].map(r=>(r.content==="_null"&&(r.content=null),r))}function hh(e,t){return e instanceof Promise?e.then(t):t(e)}function Yr(e,t,n,o){const r=o||Wl(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},e==="templateParams"||e==="titleTemplate");if(r instanceof Promise)return r.then(i=>Yr(e,t,n,i));const a={tag:e,props:r};for(const i of Il){const s=a.props[i]!==void 0?a.props[i]:n[i];s!==void 0&&((!(i==="innerHTML"||i==="textContent"||i==="children")||sh.has(a.tag))&&(a[i==="children"?"innerHTML":i]=s),delete a.props[i])}return a.props.body&&(a.tagPosition="bodyClose",delete a.props.body),a.tag==="script"&&typeof a.innerHTML=="object"&&(a.innerHTML=JSON.stringify(a.innerHTML),a.props.type=a.props.type||"application/json"),Array.isArray(a.props.content)?a.props.content.map(i=>({...a,props:{...a.props,content:i}})):a}function mh(e,t){var o;const n=e==="class"?" ":";";return t&&typeof t=="object"&&!Array.isArray(t)&&(t=Object.entries(t).filter(([,r])=>r).map(([r,a])=>e==="style"?`${r}:${a}`:r)),(o=String(Array.isArray(t)?t.join(n):t))==null?void 0:o.split(n).filter(r=>!!r.trim()).join(n)}function jl(e,t,n,o){for(let r=o;r<n.length;r+=1){const a=n[r];if(a==="class"||a==="style"){e[a]=mh(a,e[a]);continue}if(e[a]instanceof Promise)return e[a].then(i=>(e[a]=i,jl(e,t,n,r)));if(!t&&!Il.has(a)){const i=String(e[a]),s=a.startsWith("data-");i==="true"||i===""?e[a]=s?"true":!0:e[a]||(s&&i==="false"?e[a]="false":delete e[a])}}}function Wl(e,t=!1){const n=jl(e,t,Object.keys(e),0);return n instanceof Promise?n.then(()=>e):e}const ph=10;function Vl(e,t,n){for(let o=n;o<t.length;o+=1){const r=t[o];if(r instanceof Promise)return r.then(a=>(t[o]=a,Vl(e,t,o)));Array.isArray(r)?e.push(...r):e.push(r)}}function gh(e){const t=[],n=e.resolvedInput;for(const r in n){if(!Object.prototype.hasOwnProperty.call(n,r))continue;const a=n[r];if(!(a===void 0||!lh.has(r))){if(Array.isArray(a)){for(const i of a)t.push(Yr(r,i,e));continue}t.push(Yr(r,a,e))}}if(t.length===0)return[];const o=[];return hh(Vl(o,t,0),()=>o.map((r,a)=>(r._e=e._i,e.mode&&(r._m=e.mode),r._p=(e._i<<ph)+a,r)))}const Ei=new Set(["onload","onerror","onabort","onprogress","onloadstart"]),$i={base:-10,title:10},Ri={critical:-80,high:-10,low:20};function Io(e){const t=e.tagPriority;if(typeof t=="number")return t;let n=100;return e.tag==="meta"?e.props["http-equiv"]==="content-security-policy"?n=-30:e.props.charset?n=-20:e.props.name==="viewport"&&(n=-15):e.tag==="link"&&e.props.rel==="preconnect"?n=20:e.tag in $i&&(n=$i[e.tag]),t&&t in Ri?n+Ri[t]:n}const vh=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],yh=["name","property","http-equiv"];function Ul(e){const{props:t,tag:n}=e;if(ch.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(t.charset)return"charset";if(t.id)return`${n}:id:${t.id}`;for(const o of yh)if(t[o]!==void 0)return`${n}:${o}:${t[o]}`;return!1}const Mt="%separator";function bh(e,t){var o;let n;if(t==="s"||t==="pageTitle")n=e.pageTitle;else if(t.includes(".")){const r=t.indexOf(".");n=(o=e[t.substring(0,r)])==null?void 0:o[t.substring(r+1)]}else n=e[t];return n!==void 0?(n||"").replace(/"/g,'\\"'):void 0}const wh=new RegExp(`${Mt}(?:\\s*${Mt})*`,"g");function io(e,t,n){if(typeof e!="string"||!e.includes("%"))return e;let o=e;try{o=decodeURI(e)}catch{}const r=o.match(/%\w+(?:\.\w+)?/g);if(!r)return e;const a=e.includes(Mt);return e=e.replace(/%\w+(?:\.\w+)?/g,i=>{if(i===Mt||!r.includes(i))return i;const s=bh(t,i.slice(1));return s!==void 0?s:i}).trim(),a&&(e.endsWith(Mt)&&(e=e.slice(0,-Mt.length)),e.startsWith(Mt)&&(e=e.slice(Mt.length)),e=e.replace(wh,n).trim()),e}function Mi(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function ql(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const o={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",o),!!o.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async r=>{var d;const a=(await e.resolveTags()).map(f=>({tag:f,id:Co.has(f.tag)?Gr(f):f.tag,shouldRender:!0}));let i=e._dom;if(!i){i={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};const f=new Set;for(const h of["body","head"]){const m=(d=n[h])==null?void 0:d.children;for(const p of m){const g=p.tagName.toLowerCase();if(!Co.has(g))continue;const v={tag:g,props:await Wl(p.getAttributeNames().reduce((C,_)=>({...C,[_]:p.getAttribute(_)}),{})),innerHTML:p.innerHTML},w=Ul(v);let x=w,S=1;for(;x&&f.has(x);)x=`${w}:${S++}`;x&&(v._d=x,f.add(x)),i.elMap[p.getAttribute("data-hid")||Gr(v)]=p}}}i.pendingSideEffects={...i.sideEffects},i.sideEffects={};function s(f,h,m){const p=`${f}:${h}`;i.sideEffects[p]=m,delete i.pendingSideEffects[p]}function l({id:f,$el:h,tag:m}){const p=m.tag.endsWith("Attrs");if(i.elMap[f]=h,p||(m.textContent&&m.textContent!==h.textContent&&(h.textContent=m.textContent),m.innerHTML&&m.innerHTML!==h.innerHTML&&(h.innerHTML=m.innerHTML),s(f,"el",()=>{var g;(g=i.elMap[f])==null||g.remove(),delete i.elMap[f]})),m._eventHandlers)for(const g in m._eventHandlers)Object.prototype.hasOwnProperty.call(m._eventHandlers,g)&&h.getAttribute(`data-${g}`)!==""&&((m.tag==="bodyAttrs"?n.defaultView:h).addEventListener(g.substring(2),m._eventHandlers[g].bind(h)),h.setAttribute(`data-${g}`,""));for(const g in m.props){if(!Object.prototype.hasOwnProperty.call(m.props,g))continue;const v=m.props[g],w=`attr:${g}`;if(g==="class"){if(!v)continue;for(const x of v.split(" "))p&&s(f,`${w}:${x}`,()=>h.classList.remove(x)),!h.classList.contains(x)&&h.classList.add(x)}else if(g==="style"){if(!v)continue;for(const x of v.split(";")){const S=x.indexOf(":"),C=x.substring(0,S).trim(),_=x.substring(S+1).trim();s(f,`${w}:${C}`,()=>{h.style.removeProperty(C)}),h.style.setProperty(C,_)}}else h.getAttribute(g)!==v&&h.setAttribute(g,v===!0?"":String(v)),p&&s(f,w,()=>h.removeAttribute(g))}}const c=[],u={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const f of a){const{tag:h,shouldRender:m,id:p}=f;if(m){if(h.tag==="title"){n.title=h.textContent;continue}f.$el=f.$el||i.elMap[p],f.$el?l(f):Co.has(h.tag)&&c.push(f)}}for(const f of c){const h=f.tag.tagPosition||"head";f.$el=n.createElement(f.tag.tag),l(f),u[h]=u[h]||n.createDocumentFragment(),u[h].appendChild(f.$el)}for(const f of a)await e.hooks.callHook("dom:renderTag",f,n,s);u.head&&n.head.appendChild(u.head),u.bodyOpen&&n.body.insertBefore(u.bodyOpen,n.body.firstChild),u.bodyClose&&n.body.appendChild(u.bodyClose);for(const f in i.pendingSideEffects)i.pendingSideEffects[f]();e._dom=i,await e.hooks.callHook("dom:rendered",{renders:a}),r()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function xh(e,t={}){const n=t.delayFn||(o=>setTimeout(o,10));return e._domDebouncedUpdatePromise=e._domDebouncedUpdatePromise||new Promise(o=>n(()=>ql(e,t).then(()=>{delete e._domDebouncedUpdatePromise,o()})))}function Ch(e){return t=>{var o,r;const n=((r=(o=t.resolvedOptions.document)==null?void 0:o.head.querySelector('script[id="unhead:payload"]'))==null?void 0:r.innerHTML)||!1;return n&&t.push(JSON.parse(n)),{mode:"client",hooks:{"entries:updated":a=>{xh(a,e)}}}}}const Ph=new Set(["templateParams","htmlAttrs","bodyAttrs"]),Sh={hooks:{"tag:normalise":({tag:e})=>{e.props.hid&&(e.key=e.props.hid,delete e.props.hid),e.props.vmid&&(e.key=e.props.vmid,delete e.props.vmid),e.props.key&&(e.key=e.props.key,delete e.props.key);const t=Ul(e);t&&!t.startsWith("meta:og:")&&!t.startsWith("meta:twitter:")&&delete e.key;const n=t||(e.key?`${e.tag}:${e.key}`:!1);n&&(e._d=n)},"tags:resolve":e=>{const t=Object.create(null);for(const o of e.tags){const r=(o.key?`${o.tag}:${o.key}`:o._d)||Gr(o),a=t[r];if(a){let s=o==null?void 0:o.tagDuplicateStrategy;if(!s&&Ph.has(o.tag)&&(s="merge"),s==="merge"){const l=a.props;l.style&&o.props.style&&(l.style[l.style.length-1]!==";"&&(l.style+=";"),o.props.style=`${l.style} ${o.props.style}`),l.class&&o.props.class?o.props.class=`${l.class} ${o.props.class}`:l.class&&(o.props.class=l.class),t[r].props={...l,...o.props};continue}else if(o._e===a._e){a._duped=a._duped||[],o._d=`${a._d}:${a._duped.length+1}`,a._duped.push(o);continue}else if(Io(o)>Io(a))continue}if(!(o.innerHTML||o.textContent||Object.keys(o.props).length!==0)&&Co.has(o.tag)){delete t[r];continue}t[r]=o}const n=[];for(const o in t){const r=t[o],a=r._duped;n.push(r),a&&(delete r._duped,n.push(...a))}e.tags=n,e.tags=e.tags.filter(o=>!(o.tag==="meta"&&(o.props.name||o.props.property)&&!o.props.content))}}},_h=new Set(["script","link","bodyAttrs"]),Th=e=>({hooks:{"tags:resolve":t=>{for(const n of t.tags){if(!_h.has(n.tag))continue;const o=n.props;for(const r in o){if(r[0]!=="o"||r[1]!=="n"||!Object.prototype.hasOwnProperty.call(o,r))continue;const a=o[r];typeof a=="function"&&(e.ssr&&Ei.has(r)?o[r]=`this.dataset.${r}fired = true`:delete o[r],n._eventHandlers=n._eventHandlers||{},n._eventHandlers[r]=a)}e.ssr&&n._eventHandlers&&(n.props.src||n.props.href)&&(n.key=n.key||Do(n.props.src||n.props.href))}},"dom:renderTag":({$el:t,tag:n})=>{var r,a;const o=t==null?void 0:t.dataset;if(o)for(const i in o){if(!i.endsWith("fired"))continue;const s=i.slice(0,-5);Ei.has(s)&&((a=(r=n._eventHandlers)==null?void 0:r[s])==null||a.call(t,new Event(s.substring(2))))}}}}),kh=new Set(["link","style","script","noscript"]),Eh={hooks:{"tag:normalise":({tag:e})=>{e.key&&kh.has(e.tag)&&(e.props["data-hid"]=e._h=Do(e.key))}}},$h={mode:"server",hooks:{"tags:beforeResolve":e=>{const t={};let n=!1;for(const o of e.tags)o._m!=="server"||o.tag!=="titleTemplate"&&o.tag!=="templateParams"&&o.tag!=="title"||(t[o.tag]=o.tag==="title"||o.tag==="titleTemplate"?o.textContent:o.props,n=!0);n&&e.tags.push({tag:"script",innerHTML:JSON.stringify(t),props:{id:"unhead:payload",type:"application/json"}})}}},Rh={hooks:{"tags:resolve":e=>{var t;for(const n of e.tags)if(typeof n.tagPriority=="string")for(const{prefix:o,offset:r}of vh){if(!n.tagPriority.startsWith(o))continue;const a=n.tagPriority.substring(o.length),i=(t=e.tags.find(s=>s._d===a))==null?void 0:t._p;if(i!==void 0){n._p=i+r;break}}e.tags.sort((n,o)=>{const r=Io(n),a=Io(o);return r<a?-1:r>a?1:n._p-o._p})}}},Mh={meta:"content",link:"href",htmlAttrs:"lang"},Oh=["innerHTML","textContent"],Ah=e=>({hooks:{"tags:resolve":t=>{var i;const{tags:n}=t;let o;for(let s=0;s<n.length;s+=1)n[s].tag==="templateParams"&&(o=t.tags.splice(s,1)[0].props,s-=1);const r=o||{},a=r.separator||"|";delete r.separator,r.pageTitle=io(r.pageTitle||((i=n.find(s=>s.tag==="title"))==null?void 0:i.textContent)||"",r,a);for(const s of n){if(s.processTemplateParams===!1)continue;const l=Mh[s.tag];if(l&&typeof s.props[l]=="string")s.props[l]=io(s.props[l],r,a);else if(s.processTemplateParams||s.tag==="titleTemplate"||s.tag==="title")for(const c of Oh)typeof s[c]=="string"&&(s[c]=io(s[c],r,a))}e._templateParams=r,e._separator=a},"tags:afterResolve":({tags:t})=>{let n;for(let o=0;o<t.length;o+=1){const r=t[o];r.tag==="title"&&r.processTemplateParams!==!1&&(n=r)}n!=null&&n.textContent&&(n.textContent=io(n.textContent,e._templateParams,e._separator))}}}),Dh={hooks:{"tags:resolve":e=>{const{tags:t}=e;let n,o;for(let r=0;r<t.length;r+=1){const a=t[r];a.tag==="title"?n=a:a.tag==="titleTemplate"&&(o=a)}if(o&&n){const r=Mi(o.textContent,n.textContent);r!==null?n.textContent=r||n.textContent:e.tags.splice(e.tags.indexOf(n),1)}else if(o){const r=Mi(o.textContent);r!==null&&(o.textContent=r,o.tag="title",o=void 0)}o&&e.tags.splice(e.tags.indexOf(o),1)}}},Ih={hooks:{"tags:afterResolve":e=>{for(const t of e.tags)typeof t.innerHTML=="string"&&(t.innerHTML&&(t.props.type==="application/ld+json"||t.props.type==="application/json")?t.innerHTML=t.innerHTML.replace(/</g,"\\u003C"):t.innerHTML=t.innerHTML.replace(new RegExp(`</${t.tag}`,"g"),`<\\/${t.tag}`))}}};let Gl;function zh(e={}){const t=Lh(e);return t.use(Ch()),Gl=t}function Oi(e,t){return!e||e==="server"&&t||e==="client"&&!t}function Lh(e={}){const t=Sl();t.addHooks(e.hooks||{}),e.document=e.document||(uh?document:void 0);const n=!e.document,o=()=>{s.dirty=!0,t.callHook("entries:updated",s)};let r=0,a=[];const i=[],s={plugins:i,dirty:!1,resolvedOptions:e,hooks:t,headEntries(){return a},use(l){const c=typeof l=="function"?l(s):l;(!c.key||!i.some(u=>u.key===c.key))&&(i.push(c),Oi(c.mode,n)&&t.addHooks(c.hooks||{}))},push(l,c){c==null||delete c.head;const u={_i:r++,input:l,...c};return Oi(u.mode,n)&&(a.push(u),o()),{dispose(){a=a.filter(d=>d._i!==u._i),o()},patch(d){for(const f of a)f._i===u._i&&(f.input=u.input=d);o()}}},async resolveTags(){const l={tags:[],entries:[...a]};await t.callHook("entries:resolve",l);for(const c of l.entries){const u=c.resolvedInput||c.input;if(c.resolvedInput=await(c.transform?c.transform(u):u),c.resolvedInput)for(const d of await gh(c)){const f={tag:d,entry:c,resolvedOptions:s.resolvedOptions};await t.callHook("tag:normalise",f),l.tags.push(f.tag)}}return await t.callHook("tags:beforeResolve",l),await t.callHook("tags:resolve",l),await t.callHook("tags:afterResolve",l),l.tags},ssr:n};return[Sh,$h,Th,Eh,Rh,Ah,Dh,Ih,...(e==null?void 0:e.plugins)||[]].forEach(l=>s.use(l)),s.hooks.callHook("init",s),s}function Hh(){return Gl}const Fh=Vu[0]==="3";function Nh(e){return typeof e=="function"?e():ae(e)}function zo(e){if(e instanceof Promise||e instanceof Date||e instanceof RegExp)return e;const t=Nh(e);if(!e||!t)return t;if(Array.isArray(t))return t.map(n=>zo(n));if(typeof t=="object"){const n={};for(const o in t)if(Object.prototype.hasOwnProperty.call(t,o)){if(o==="titleTemplate"||o[0]==="o"&&o[1]==="n"){n[o]=ae(t[o]);continue}n[o]=zo(t[o])}return n}return t}const Bh={hooks:{"entries:resolve":e=>{for(const t of e.entries)t.resolvedInput=zo(t.input)}}},Kl="usehead";function jh(e){return{install(n){Fh&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(Kl,e))}}.install}function Wh(e={}){e.domDelayFn=e.domDelayFn||(n=>$e(()=>setTimeout(()=>n(),0)));const t=zh(e);return t.use(Bh),t.install=jh(t),t}const Xr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Zr="__unhead_injection_handler__";function Vh(e){Xr[Zr]=e}function Uh(){if(Zr in Xr)return Xr[Zr]();const e=te(Kl);return e||Hh()}function Ma(e,t={}){const n=t.head||Uh();if(n)return n.ssr?n.push(e,t):qh(n,e,t)}function qh(e,t,n={}){const o=M(!1),r=M({});Yn(()=>{r.value=o.value?{}:zo(t)});const a=e.push(r.value,n);return Be(r,s=>{a.patch(s)}),Kn()&&(dt(()=>{a.dispose()}),dl(()=>{o.value=!0}),fl(()=>{o.value=!1})),a}function Gh(e,t){const{title:n,titleTemplate:o,...r}=e;return Ma({title:n,titleTemplate:o,_flatMeta:r},{...t,transform(a){const i=Ra({...a._flatMeta});return delete a._flatMeta,{...a,meta:i}}})}const Kh=[],Yh=ke({name:"nuxt:head",enforce:"pre",setup(e){const t=Wh({plugins:Kh});Vh(()=>ve().vueApp._context.provides.usehead),e.vueApp.use(t);{let n=!0;const o=async()=>{n=!1,await ql(t)};t.hooks.hook("dom:beforeRender",r=>{r.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||o()}),e.hooks.hook("app:error",o),e.hooks.hook("app:suspense:resolve",o)}}});/*! * vue-router v4.4.5 * (c) 2024 Eduardo San Martin Morote * @license MIT */const dn=typeof document<"u";function Yl(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Xh(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Yl(e.default)}const se=Object.assign;function xr(e,t){const n={};for(const o in t){const r=t[o];n[o]=rt(r)?r.map(e):e(r)}return n}const On=()=>{},rt=Array.isArray,Xl=/#/g,Zh=/&/g,Jh=/\//g,Qh=/=/g,em=/\?/g,Zl=/\+/g,tm=/%5B/g,nm=/%5D/g,Jl=/%5E/g,om=/%60/g,Ql=/%7B/g,rm=/%7C/g,ec=/%7D/g,am=/%20/g;function Oa(e){return encodeURI(""+e).replace(rm,"|").replace(tm,"[").replace(nm,"]")}function im(e){return Oa(e).replace(Ql,"{").replace(ec,"}").replace(Jl,"^")}function Jr(e){return Oa(e).replace(Zl,"%2B").replace(am,"+").replace(Xl,"%23").replace(Zh,"%26").replace(om,"`").replace(Ql,"{").replace(ec,"}").replace(Jl,"^")}function sm(e){return Jr(e).replace(Qh,"%3D")}function lm(e){return Oa(e).replace(Xl,"%23").replace(em,"%3F")}function cm(e){return e==null?"":lm(e).replace(Jh,"%2F")}function Hn(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const um=/\/$/,dm=e=>e.replace(um,"");function Cr(e,t,n="/"){let o,r={},a="",i="";const s=t.indexOf("#");let l=t.indexOf("?");return s<l&&s>=0&&(l=-1),l>-1&&(o=t.slice(0,l),a=t.slice(l+1,s>-1?s:t.length),r=e(a)),s>-1&&(o=o||t.slice(0,s),i=t.slice(s,t.length)),o=pm(o??t,n),{fullPath:o+(a&&"?")+a+i,path:o,query:r,hash:Hn(i)}}function fm(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Ai(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function hm(e,t,n){const o=t.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&yn(t.matched[o],n.matched[r])&&tc(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function yn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function tc(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!mm(e[n],t[n]))return!1;return!0}function mm(e,t){return rt(e)?Di(e,t):rt(t)?Di(t,e):e===t}function Di(e,t){return rt(t)?e.length===t.length&&e.every((n,o)=>n===t[o]):e.length===1&&e[0]===t}function pm(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/"),r=o[o.length-1];(r===".."||r===".")&&o.push("");let a=n.length-1,i,s;for(i=0;i<o.length;i++)if(s=o[i],s!==".")if(s==="..")a>1&&a--;else break;return n.slice(0,a).join("/")+"/"+o.slice(i).join("/")}const Je={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Fn;(function(e){e.pop="pop",e.push="push"})(Fn||(Fn={}));var An;(function(e){e.back="back",e.forward="forward",e.unknown=""})(An||(An={}));function gm(e){if(!e)if(dn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),dm(e)}const vm=/^[^#]+#/;function ym(e,t){return e.replace(vm,"#")+t}function bm(e,t){const n=document.documentElement.getBoundingClientRect(),o=e.getBoundingClientRect();return{behavior:t.behavior,left:o.left-n.left-(t.left||0),top:o.top-n.top-(t.top||0)}}const Ko=()=>({left:window.scrollX,top:window.scrollY});function wm(e){let t;if("el"in e){const n=e.el,o=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=bm(r,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 Qr=new Map;function xm(e,t){Qr.set(e,t)}function Cm(e){const t=Qr.get(e);return Qr.delete(e),t}let Pm=()=>location.protocol+"//"+location.host;function nc(e,t){const{pathname:n,search:o,hash:r}=t,a=e.indexOf("#");if(a>-1){let s=r.includes(e.slice(a))?e.slice(a).length:1,l=r.slice(s);return l[0]!=="/"&&(l="/"+l),Ai(l,"")}return Ai(n,e)+o+r}function Sm(e,t,n,o){let r=[],a=[],i=null;const s=({state:f})=>{const h=nc(e,location),m=n.value,p=t.value;let g=0;if(f){if(n.value=h,t.value=f,i&&i===m){i=null;return}g=p?f.position-p.position:0}else o(h);r.forEach(v=>{v(n.value,m,{delta:g,type:Fn.pop,direction:g?g>0?An.forward:An.back:An.unknown})})};function l(){i=n.value}function c(f){r.push(f);const h=()=>{const m=r.indexOf(f);m>-1&&r.splice(m,1)};return a.push(h),h}function u(){const{history:f}=window;f.state&&f.replaceState(se({},f.state,{scroll:Ko()}),"")}function d(){for(const f of a)f();a=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:c,destroy:d}}function zi(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?Ko():null}}function _m(e){const{history:t,location:n}=window,o={value:nc(e,n)},r={value:t.state};r.value||a(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function a(l,c,u){const d=e.indexOf("#"),f=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+l:Pm()+e+l;try{t[u?"replaceState":"pushState"](c,"",f),r.value=c}catch{n[u?"replace":"assign"](f)}}function i(l,c){const u=se({},t.state,zi(r.value.back,l,r.value.forward,!0),c,{position:r.value.position});a(l,u,!0),o.value=l}function s(l,c){const u=se({},r.value,t.state,{forward:l,scroll:Ko()});a(u.current,u,!0);const d=se({},zi(o.value,l,null),{position:u.position+1},c);a(l,d,!1),o.value=l}return{location:o,state:r,push:s,replace:i}}function oc(e){e=gm(e);const t=_m(e),n=Sm(e,t.state,t.location,t.replace);function o(a,i=!0){i||n.pauseListeners(),history.go(a)}const r=se({location:"",base:e,go:o,createHref:ym.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function Tm(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),oc(e)}function km(e){return typeof e=="string"||e&&typeof e=="object"}function rc(e){return typeof e=="string"||typeof e=="symbol"}const ac=Symbol("");var Li;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Li||(Li={}));function bn(e,t){return se(new Error,{type:e,[ac]:!0},t)}function mt(e,t){return e instanceof Error&&ac in e&&(t==null||!!(e.type&t))}const Hi="[^/]+?",Em={sensitive:!1,strict:!1,start:!0,end:!0},$m=/[.+*?^${}()[\]/\\]/g;function Rm(e,t){const n=se({},Em,t),o=[];let r=n.start?"^":"";const a=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(r+="/");for(let d=0;d<c.length;d++){const f=c[d];let h=40+(n.sensitive?.25:0);if(f.type===0)d||(r+="/"),r+=f.value.replace($m,"\\$&"),h+=40;else if(f.type===1){const{value:m,repeatable:p,optional:g,regexp:v}=f;a.push({name:m,repeatable:p,optional:g});const w=v||Hi;if(w!==Hi){h+=10;try{new RegExp(`(${w})`)}catch(S){throw new Error(`Invalid custom RegExp for param "${m}" (${w}): `+S.message)}}let x=p?`((?:${w})(?:/(?:${w}))*)`:`(${w})`;d||(x=g&&c.length<2?`(?:/${x})`:"/"+x),g&&(x+="?"),r+=x,h+=20,g&&(h+=-8),p&&(h+=-20),w===".*"&&(h+=-50)}u.push(h)}o.push(u)}if(n.strict&&n.end){const c=o.length-1;o[c][o[c].length-1]+=.7000000000000001}n.strict||(r+="/?"),n.end?r+="$":n.strict&&(r+="(?:/|$)");const i=new RegExp(r,n.sensitive?"":"i");function s(c){const u=c.match(i),d={};if(!u)return null;for(let f=1;f<u.length;f++){const h=u[f]||"",m=a[f-1];d[m.name]=h&&m.repeatable?h.split("/"):h}return d}function l(c){let u="",d=!1;for(const f of e){(!d||!u.endsWith("/"))&&(u+="/"),d=!1;for(const h of f)if(h.type===0)u+=h.value;else if(h.type===1){const{value:m,repeatable:p,optional:g}=h,v=m in c?c[m]:"";if(rt(v)&&!p)throw new Error(`Provided param "${m}" is an array but it is not repeatable (* or + modifiers)`);const w=rt(v)?v.join("/"):v;if(!w)if(g)f.length<2&&(u.endsWith("/")?u=u.slice(0,-1):d=!0);else throw new Error(`Missing required param "${m}"`);u+=w}}return u||"/"}return{re:i,score:o,keys:a,parse:s,stringify:l}}function Mm(e,t){let n=0;for(;n<e.length&&n<t.length;){const o=t[n]-e[n];if(o)return o;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function ic(e,t){let n=0;const o=e.score,r=t.score;for(;n<o.length&&n<r.length;){const a=Mm(o[n],r[n]);if(a)return a;n++}if(Math.abs(r.length-o.length)===1){if(Fi(o))return 1;if(Fi(r))return-1}return r.length-o.length}function Fi(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Om={type:0,value:""},Am=/[a-zA-Z0-9_]/;function Dm(e){if(!e)return[[]];if(e==="/")return[[Om]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${c}": ${h}`)}let n=0,o=n;const r=[];let a;function i(){a&&r.push(a),a=[]}let s=0,l,c="",u="";function d(){c&&(n===0?a.push({type:0,value:c}):n===1||n===2||n===3?(a.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),a.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function f(){c+=l}for(;s<e.length;){if(l=e[s++],l==="\\"&&n!==2){o=n,n=4;continue}switch(n){case 0:l==="/"?(c&&d(),i()):l===":"?(d(),n=1):f();break;case 4:f(),n=o;break;case 1:l==="("?n=2:Am.test(l)?f():(d(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&s--);break;case 2:l===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+l:n=3:u+=l;break;case 3:d(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&s--,u="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${c}"`),d(),i(),r}function Im(e,t,n){const o=Rm(Dm(e.path),n),r=se(o,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function zm(e,t){const n=[],o=new Map;t=Wi({strict:!1,end:!0,sensitive:!1},t);function r(d){return o.get(d)}function a(d,f,h){const m=!h,p=Bi(d);p.aliasOf=h&&h.record;const g=Wi(t,d),v=[p];if("alias"in d){const S=typeof d.alias=="string"?[d.alias]:d.alias;for(const C of S)v.push(Bi(se({},p,{components:h?h.record.components:p.components,path:C,aliasOf:h?h.record:p})))}let w,x;for(const S of v){const{path:C}=S;if(f&&C[0]!=="/"){const _=f.record.path,y=_[_.length-1]==="/"?"":"/";S.path=f.record.path+(C&&y+C)}if(w=Im(S,f,g),h?h.alias.push(w):(x=x||w,x!==w&&x.alias.push(w),m&&d.name&&!ji(w)&&i(d.name)),sc(w)&&l(w),p.children){const _=p.children;for(let y=0;y<_.length;y++)a(_[y],w,h&&h.children[y])}h=h||w}return x?()=>{i(x)}:On}function i(d){if(rc(d)){const f=o.get(d);f&&(o.delete(d),n.splice(n.indexOf(f),1),f.children.forEach(i),f.alias.forEach(i))}else{const f=n.indexOf(d);f>-1&&(n.splice(f,1),d.record.name&&o.delete(d.record.name),d.children.forEach(i),d.alias.forEach(i))}}function s(){return n}function l(d){const f=Fm(d,n);n.splice(f,0,d),d.record.name&&!ji(d)&&o.set(d.record.name,d)}function c(d,f){let h,m={},p,g;if("name"in d&&d.name){if(h=o.get(d.name),!h)throw bn(1,{location:d});g=h.record.name,m=se(Ni(f.params,h.keys.filter(x=>!x.optional).concat(h.parent?h.parent.keys.filter(x=>x.optional):[]).map(x=>x.name)),d.params&&Ni(d.params,h.keys.map(x=>x.name))),p=h.stringify(m)}else if(d.path!=null)p=d.path,h=n.find(x=>x.re.test(p)),h&&(m=h.parse(p),g=h.record.name);else{if(h=f.name?o.get(f.name):n.find(x=>x.re.test(f.path)),!h)throw bn(1,{location:d,currentLocation:f});g=h.record.name,m=se({},f.params,d.params),p=h.stringify(m)}const v=[];let w=h;for(;w;)v.unshift(w.record),w=w.parent;return{name:g,path:p,params:m,matched:v,meta:Hm(v)}}e.forEach(d=>a(d));function u(){n.length=0,o.clear()}return{addRoute:a,resolve:c,removeRoute:i,clearRoutes:u,getRoutes:s,getRecordMatcher:r}}function Ni(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function Bi(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:Lm(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function Lm(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const o in e.components)t[o]=typeof n=="object"?n[o]:n;return t}function ji(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Hm(e){return e.reduce((t,n)=>se(t,n.meta),{})}function Wi(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function Fm(e,t){let n=0,o=t.length;for(;n!==o;){const a=n+o>>1;ic(e,t[a])<0?o=a:n=a+1}const r=Nm(e);return r&&(o=t.lastIndexOf(r,o-1)),o}function Nm(e){let t=e;for(;t=t.parent;)if(sc(t)&&ic(e,t)===0)return t}function sc({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Bm(e){const t={};if(e===""||e==="?")return t;const o=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<o.length;++r){const a=o[r].replace(Zl," "),i=a.indexOf("="),s=Hn(i<0?a:a.slice(0,i)),l=i<0?null:Hn(a.slice(i+1));if(s in t){let c=t[s];rt(c)||(c=t[s]=[c]),c.push(l)}else t[s]=l}return t}function Vi(e){let t="";for(let n in e){const o=e[n];if(n=sm(n),o==null){o!==void 0&&(t+=(t.length?"&":"")+n);continue}(rt(o)?o.map(a=>a&&Jr(a)):[o&&Jr(o)]).forEach(a=>{a!==void 0&&(t+=(t.length?"&":"")+n,a!=null&&(t+="="+a))})}return t}function jm(e){const t={};for(const n in e){const o=e[n];o!==void 0&&(t[n]=rt(o)?o.map(r=>r==null?null:""+r):o==null?o:""+o)}return t}const Wm=Symbol(""),Ui=Symbol(""),Yo=Symbol(""),Aa=Symbol(""),ea=Symbol("");function Sn(){let e=[];function t(o){return e.push(o),()=>{const r=e.indexOf(o);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Ot(e,t,n,o,r,a=i=>i()){const i=o&&(o.enterCallbacks[r]=o.enterCallbacks[r]||[]);return()=>new Promise((s,l)=>{const c=f=>{f===!1?l(bn(4,{from:n,to:t})):f instanceof Error?l(f):km(f)?l(bn(2,{from:t,to:f})):(i&&o.enterCallbacks[r]===i&&typeof f=="function"&&i.push(f),s())},u=a(()=>e.call(o&&o.instances[r],t,n,c));let d=Promise.resolve(u);e.length<3&&(d=d.then(c)),d.catch(f=>l(f))})}function Pr(e,t,n,o,r=a=>a()){const a=[];for(const i of e)for(const s in i.components){let l=i.components[s];if(!(t!=="beforeRouteEnter"&&!i.instances[s]))if(Yl(l)){const u=(l.__vccOpts||l)[t];u&&a.push(Ot(u,n,o,i,s,r))}else{let c=l();a.push(()=>c.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${s}" at "${i.path}"`);const d=Xh(u)?u.default:u;i.mods[s]=u,i.components[s]=d;const h=(d.__vccOpts||d)[t];return h&&Ot(h,n,o,i,s,r)()}))}}return a}function qi(e){const t=te(Yo),n=te(Aa),o=O(()=>{const l=ae(e.to);return t.resolve(l)}),r=O(()=>{const{matched:l}=o.value,{length:c}=l,u=l[c-1],d=n.matched;if(!u||!d.length)return-1;const f=d.findIndex(yn.bind(null,u));if(f>-1)return f;const h=Gi(l[c-2]);return c>1&&Gi(u)===h&&d[d.length-1].path!==h?d.findIndex(yn.bind(null,l[c-2])):f}),a=O(()=>r.value>-1&&Gm(n.params,o.value.params)),i=O(()=>r.value>-1&&r.value===n.matched.length-1&&tc(n.params,o.value.params));function s(l={}){return qm(l)?t[ae(e.replace)?"replace":"push"](ae(e.to)).catch(On):Promise.resolve()}return{route:o,href:O(()=>o.value.href),isActive:a,isExactActive:i,navigate:s}}const Vm=X({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:qi,setup(e,{slots:t}){const n=ut(qi(e)),{options:o}=te(Yo),r=O(()=>({[Ki(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[Ki(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const a=t.default&&t.default(n);return e.custom?a:b("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},a)}}}),Um=Vm;function qm(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 Gm(e,t){for(const n in t){const o=t[n],r=e[n];if(typeof o=="string"){if(o!==r)return!1}else if(!rt(r)||r.length!==o.length||o.some((a,i)=>a!==r[i]))return!1}return!0}function Gi(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Ki=(e,t,n)=>e??t??n,Km=X({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=te(ea),r=O(()=>e.route||o.value),a=te(Ui,0),i=O(()=>{let c=ae(a);const{matched:u}=r.value;let d;for(;(d=u[c])&&!d.components;)c++;return c}),s=O(()=>r.value.matched[i.value]);ue(Ui,O(()=>i.value+1)),ue(Wm,s),ue(ea,r);const l=M();return Be(()=>[l.value,s.value,e.name],([c,u,d],[f,h,m])=>{u&&(u.instances[d]=c,h&&h!==u&&c&&c===f&&(u.leaveGuards.size||(u.leaveGuards=h.leaveGuards),u.updateGuards.size||(u.updateGuards=h.updateGuards))),c&&u&&(!h||!yn(u,h)||!f)&&(u.enterCallbacks[d]||[]).forEach(p=>p(c))},{flush:"post"}),()=>{const c=r.value,u=e.name,d=s.value,f=d&&d.components[u];if(!f)return Yi(n.default,{Component:f,route:c});const h=d.props[u],m=h?h===!0?c.params:typeof h=="function"?h(c):h:null,g=b(f,se({},m,t,{onVnodeUnmounted:v=>{v.component.isUnmounted&&(d.instances[u]=null)},ref:l}));return Yi(n.default,{Component:g,route:c})||g}}});function Yi(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const lc=Km;function Ym(e){const t=zm(e.routes,e),n=e.parseQuery||Bm,o=e.stringifyQuery||Vi,r=e.history,a=Sn(),i=Sn(),s=Sn(),l=gn(Je);let c=Je;dn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=xr.bind(null,T=>""+T),d=xr.bind(null,cm),f=xr.bind(null,Hn);function h(T,I){let k,j;return rc(T)?(k=t.getRecordMatcher(T),j=I):j=T,t.addRoute(j,k)}function m(T){const I=t.getRecordMatcher(T);I&&t.removeRoute(I)}function p(){return t.getRoutes().map(T=>T.record)}function g(T){return!!t.getRecordMatcher(T)}function v(T,I){if(I=se({},I||l.value),typeof T=="string"){const Q=Cr(n,T,I.path),me=t.resolve({path:Q.path},I),Xe=r.createHref(Q.fullPath);return se(Q,me,{params:f(me.params),hash:Hn(Q.hash),redirectedFrom:void 0,href:Xe})}let k;if(T.path!=null)k=se({},T,{path:Cr(n,T.path,I.path).path});else{const Q=se({},T.params);for(const me in Q)Q[me]==null&&delete Q[me];k=se({},T,{params:d(Q)}),I.params=d(I.params)}const j=t.resolve(k,I),re=T.hash||"";j.params=u(f(j.params));const he=fm(o,se({},T,{hash:im(re),path:j.path})),Z=r.createHref(he);return se({fullPath:he,hash:re,query:o===Vi?jm(T.query):T.query||{}},j,{redirectedFrom:void 0,href:Z})}function w(T){return typeof T=="string"?Cr(n,T,l.value.path):se({},T)}function x(T,I){if(c!==T)return bn(8,{from:I,to:T})}function S(T){return y(T)}function C(T){return S(se(w(T),{replace:!0}))}function _(T){const I=T.matched[T.matched.length-1];if(I&&I.redirect){const{redirect:k}=I;let j=typeof k=="function"?k(T):k;return typeof j=="string"&&(j=j.includes("?")||j.includes("#")?j=w(j):{path:j},j.params={}),se({query:T.query,hash:T.hash,params:j.path!=null?{}:T.params},j)}}function y(T,I){const k=c=v(T),j=l.value,re=T.state,he=T.force,Z=T.replace===!0,Q=_(k);if(Q)return y(se(w(Q),{state:typeof Q=="object"?se({},re,Q.state):re,force:he,replace:Z}),I||k);const me=k;me.redirectedFrom=I;let Xe;return!he&&hm(o,j,k)&&(Xe=bn(16,{to:me,from:j}),Ce(j,j,!0,!1)),(Xe?Promise.resolve(Xe):A(me,j)).catch(_e=>mt(_e)?mt(_e,2)?_e:de(_e):ce(_e,me,j)).then(_e=>{if(_e){if(mt(_e,2))return y(se({replace:Z},w(_e.to),{state:typeof _e.to=="object"?se({},re,_e.to.state):re,force:he}),I||me)}else _e=N(me,j,!0,Z,re);return B(me,j,_e),_e})}function P(T,I){const k=x(T,I);return k?Promise.reject(k):Promise.resolve()}function E(T){const I=Oe.values().next().value;return I&&typeof I.runWithContext=="function"?I.runWithContext(T):T()}function A(T,I){let k;const[j,re,he]=Xm(T,I);k=Pr(j.reverse(),"beforeRouteLeave",T,I);for(const Q of j)Q.leaveGuards.forEach(me=>{k.push(Ot(me,T,I))});const Z=P.bind(null,T,I);return k.push(Z),oe(k).then(()=>{k=[];for(const Q of a.list())k.push(Ot(Q,T,I));return k.push(Z),oe(k)}).then(()=>{k=Pr(re,"beforeRouteUpdate",T,I);for(const Q of re)Q.updateGuards.forEach(me=>{k.push(Ot(me,T,I))});return k.push(Z),oe(k)}).then(()=>{k=[];for(const Q of he)if(Q.beforeEnter)if(rt(Q.beforeEnter))for(const me of Q.beforeEnter)k.push(Ot(me,T,I));else k.push(Ot(Q.beforeEnter,T,I));return k.push(Z),oe(k)}).then(()=>(T.matched.forEach(Q=>Q.enterCallbacks={}),k=Pr(he,"beforeRouteEnter",T,I,E),k.push(Z),oe(k))).then(()=>{k=[];for(const Q of i.list())k.push(Ot(Q,T,I));return k.push(Z),oe(k)}).catch(Q=>mt(Q,8)?Q:Promise.reject(Q))}function B(T,I,k){s.list().forEach(j=>E(()=>j(T,I,k)))}function N(T,I,k,j,re){const he=x(T,I);if(he)return he;const Z=I===Je,Q=dn?history.state:{};k&&(j||Z?r.replace(T.fullPath,se({scroll:Z&&Q&&Q.scroll},re)):r.push(T.fullPath,re)),l.value=T,Ce(T,I,k,Z),de()}let q;function ee(){q||(q=r.listen((T,I,k)=>{if(!Tt.listening)return;const j=v(T),re=_(j);if(re){y(se(re,{replace:!0}),j).catch(On);return}c=j;const he=l.value;dn&&xm(Ii(he.fullPath,k.delta),Ko()),A(j,he).catch(Z=>mt(Z,12)?Z:mt(Z,2)?(y(Z.to,j).then(Q=>{mt(Q,20)&&!k.delta&&k.type===Fn.pop&&r.go(-1,!1)}).catch(On),Promise.reject()):(k.delta&&r.go(-k.delta,!1),ce(Z,j,he))).then(Z=>{Z=Z||N(j,he,!1),Z&&(k.delta&&!mt(Z,8)?r.go(-k.delta,!1):k.type===Fn.pop&&mt(Z,20)&&r.go(-1,!1)),B(j,he,Z)}).catch(On)}))}let ne=Sn(),J=Sn(),F;function ce(T,I,k){de(T);const j=J.list();return j.length&&j.forEach(re=>re(T,I,k)),Promise.reject(T)}function ye(){return F&&l.value!==Je?Promise.resolve():new Promise((T,I)=>{ne.add([T,I])})}function de(T){return F||(F=!T,ee(),ne.list().forEach(([I,k])=>T?k(T):I()),ne.reset()),T}function Ce(T,I,k,j){const{scrollBehavior:re}=e;if(!dn||!re)return Promise.resolve();const he=!k&&Cm(Ii(T.fullPath,0))||(j||!k)&&history.state&&history.state.scroll||null;return $e().then(()=>re(T,I,he)).then(Z=>Z&&wm(Z)).catch(Z=>ce(Z,T,I))}const Ee=T=>r.go(T);let He;const Oe=new Set,Tt={currentRoute:l,listening:!0,addRoute:h,removeRoute:m,clearRoutes:t.clearRoutes,hasRoute:g,getRoutes:p,resolve:v,options:e,push:S,replace:C,go:Ee,back:()=>Ee(-1),forward:()=>Ee(1),beforeEach:a.add,beforeResolve:i.add,afterEach:s.add,onError:J.add,isReady:ye,install(T){const I=this;T.component("RouterLink",Um),T.component("RouterView",lc),T.config.globalProperties.$router=I,Object.defineProperty(T.config.globalProperties,"$route",{enumerable:!0,get:()=>ae(l)}),dn&&!He&&l.value===Je&&(He=!0,S(r.location).catch(re=>{}));const k={};for(const re in Je)Object.defineProperty(k,re,{get:()=>l.value[re],enumerable:!0});T.provide(Yo,I),T.provide(Aa,Gt(k)),T.provide(ea,l);const j=T.unmount;Oe.add(T),T.unmount=function(){Oe.delete(T),Oe.size<1&&(c=Je,q&&q(),q=null,l.value=Je,He=!1,F=!1),j()}}};function oe(T){return T.reduce((I,k)=>I.then(()=>E(k)),Promise.resolve())}return Tt}function Xm(e,t){const n=[],o=[],r=[],a=Math.max(t.matched.length,e.matched.length);for(let i=0;i<a;i++){const s=t.matched[i];s&&(e.matched.find(c=>yn(c,s))?o.push(s):n.push(s));const l=e.matched[i];l&&(t.matched.find(c=>yn(c,l))||r.push(l))}return[n,o,r]}function I2(){return te(Yo)}function Zm(e){return te(Aa)}const Jm=(e,t)=>t.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>{var o;return((o=e.params[n.slice(1)])==null?void 0:o.toString())||""}),ta=(e,t)=>{const n=e.route.matched.find(r=>{var a;return((a=r.components)==null?void 0:a.default)===e.Component.type}),o=t??(n==null?void 0:n.meta.key)??(n&&Jm(e.route,n));return typeof o=="function"?o(e.route):o},Qm=(e,t)=>({default:()=>e?b(Uu,e===!0?{}:e,t):t});function Da(e){return Array.isArray(e)?e:[e]}let Po,na;function ep(){return Po=$fetch(Ea(`builds/meta/${Ct().app.buildId}.json`),{responseType:"json"}),Po.then(e=>{na=Yf(e.matcher)}).catch(e=>{}),Po}function Xo(){return Po||ep()}async function Ia(e){if(await Xo(),!na)return{};try{return Ml({},...na.matchAll(e).reverse())}catch{return{}}}const tp="modulepreload",np=function(e,t){return new URL(e,t).href},Xi={},D=function(t,n,o){let r=Promise.resolve();if(n&&n.length>0){const i=document.getElementsByTagName("link"),s=document.querySelector("meta[property=csp-nonce]"),l=(s==null?void 0:s.nonce)||(s==null?void 0:s.getAttribute("nonce"));r=Promise.allSettled(n.map(c=>{if(c=np(c,o),c in Xi)return;Xi[c]=!0;const u=c.endsWith(".css"),d=u?'[rel="stylesheet"]':"";if(!!o)for(let m=i.length-1;m>=0;m--){const p=i[m];if(p.href===c&&(!u||p.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${d}`))return;const h=document.createElement("link");if(h.rel=u?"stylesheet":tp,u||(h.as="script"),h.crossOrigin="",h.href=c,l&&h.setAttribute("nonce",l),document.head.appendChild(h),u)return new Promise((m,p)=>{h.addEventListener("load",m),h.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${c}`)))})}))}function a(i){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=i,window.dispatchEvent(s),!s.defaultPrevented)throw i}return r.then(i=>{for(const s of i||[])s.status==="rejected"&&a(s.reason);return t().catch(a)})},op={keepalive:!1},Sr=[{name:"category",path:"/category",component:()=>D(()=>import("./BQA6kwN8.js"),__vite__mapDeps([0,1,2,3,4,5,6,7]),import.meta.url)},{name:"forumplate-component-activityRes-ActivityRes",path:"/forumplate/component/activityRes/ActivityRes",component:()=>D(()=>import("./BnRCnHR4.js"),__vite__mapDeps([8,1,2,3,9,10,5,6,11]),import.meta.url)},{name:"forumplate-component-infoRes-InfoRes",path:"/forumplate/component/infoRes/InfoRes",component:()=>D(()=>import("./-hW-cJaJ.js"),__vite__mapDeps([12,1,2,3,9,10,5,6,13]),import.meta.url)},{name:"forumplate-component-kingKongRes-KingKongRes",path:"/forumplate/component/kingKongRes/KingKongRes",component:()=>D(()=>import("./bjLfxYoN.js"),__vite__mapDeps([14,1,2,3,15,9,10,5,6,16]),import.meta.url)},{name:"forumplate",path:"/forumplate",component:()=>D(()=>import("./8CkMd4Lm.js"),__vite__mapDeps([17,1,2,3,18,19,5,20,21,22,23,9,10,24,25,26,27,28,29,30,31,6,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,4,54,15,14,16,12,13,8,11,55,56,57,58]),import.meta.url)},{name:"forumResource-components-addOrEditDialog-AddOrEditDialog",path:"/forumResource/components/addOrEditDialog/AddOrEditDialog",component:()=>D(()=>import("./D5o470XE.js").then(e=>e.a),__vite__mapDeps([59,2,3,15,60,25,5,26,27,61,62,63,64,47,65,6,66,67,29,56,34,30,57,68,28,69,33,31,70,71,50,55,51,37,72]),import.meta.url)},{name:"forumResource-components-addOrEditDialog-useAddOrEdit",path:"/forumResource/components/addOrEditDialog/useAddOrEdit",component:()=>D(()=>import("./CZfYpyXf.js"),__vite__mapDeps([62,63,15,64,2,3,47,65,5,6]),import.meta.url)},{name:"forumResource-components-list-ResourceList",path:"/forumResource/components/list/ResourceList",component:()=>D(()=>import("./DLjslY_f.js"),__vite__mapDeps([73,59,2,3,15,60,25,5,26,27,61,62,63,64,47,65,6,66,67,29,56,34,30,57,68,28,69,33,31,70,71,50,55,51,37,72,74,75,22,32,76,77,78,79,80,81,82]),import.meta.url)},{name:"forumResource-components-list-useList",path:"/forumResource/components/list/useList",component:()=>D(()=>import("./C13fCcTe.js"),__vite__mapDeps([74,63,15,64,2,3,47,75,5,65,22,70,34,6,27,30]),import.meta.url)},{name:"forumResource-components-search-Search",path:"/forumResource/components/search/Search",component:()=>D(()=>import("./DG4Jp0lU.js"),__vite__mapDeps([83,63,15,64,2,3,69,34,6,27,30,33,5,55,56,57,29,51,84]),import.meta.url)},{name:"forumResource-context",path:"/forumResource/context",component:()=>D(()=>import("./BYgzuklF.js"),__vite__mapDeps([63,15,64,2,3]),import.meta.url)},{name:"forumResource",path:"/forumResource",component:()=>D(()=>import("./Dh-QuAz2.js"),__vite__mapDeps([85,86,24,46,47,15,5,2,3,6,63,64,73,59,60,25,26,27,61,62,65,66,67,29,56,34,30,57,68,28,69,33,31,70,71,50,55,51,37,72,74,75,22,32,76,77,78,79,80,81,82,83,84]),import.meta.url)},{name:"forumResource-useResource",path:"/forumResource/useResource",component:()=>D(()=>import("./D8c-vTd-.js"),__vite__mapDeps([86,24,46,47,15,5,2,3,6]),import.meta.url)},{name:"forumResource-util",path:"/forumResource/util",component:()=>D(()=>import("./CgOIYWht.js"),__vite__mapDeps([75,15,5,2,3]),import.meta.url)},{name:"index",path:"/",component:()=>D(()=>import("./CHVgTdHl.js"),__vite__mapDeps([87,18,46,5,2,3,21,1,22,23,9,10,24,25,26,27,28,29,30,31,6,32,33,34,35,36,37,38,39,40,41,42,43,44,45,48,49,50,51,52,53,4,54,88]),import.meta.url)},{name:"login",path:"/login",component:()=>D(()=>import("./Cq_1TKV0.js"),__vite__mapDeps([89,90,91,5,2,3,6,92]),import.meta.url)},{name:"login-moduleLoginLogic",path:"/login/moduleLoginLogic",component:()=>D(()=>import("./B4onkbMm.js"),__vite__mapDeps([91,5,2,3,6]),import.meta.url)},{name:"login-uesLogin",path:"/login/uesLogin",component:()=>D(()=>import("./B_DpxD3j.js"),__vite__mapDeps([90,91,5,2,3,6]),import.meta.url)},{name:"message-comments-Comments",path:"/message/comments/Comments",component:()=>D(()=>import("./DqkyqLr6.js"),__vite__mapDeps([93,1,2,3,94,23,9,10,24,22,25,26,27,28,29,30,31,6,32,33,5,34,35,36,37,38,95,60,61,96,97,98,99,80,55,56,57,51,81,79,68,100]),import.meta.url)},{name:"message",path:"/message",component:()=>D(()=>import("./B6w2DdCp.js"),__vite__mapDeps([101,2,3,49,1,22,23,9,10,24,25,26,27,28,29,30,31,6,32,33,5,34,35,36,37,38,50,51,52,53,102,103,93,94,95,60,61,96,97,98,99,80,55,56,57,81,79,68,100,104,105,106,107,108,109,110]),import.meta.url)},{name:"message-likes-Likes",path:"/message/likes/Likes",component:()=>D(()=>import("./CFdL0CwT.js"),__vite__mapDeps([104,1,2,3,94,23,9,10,24,22,25,26,27,28,29,30,31,6,32,33,5,34,35,36,37,38,80,55,56,57,51,81,79,68,105]),import.meta.url)},{name:"message-mentions-Mentions",path:"/message/mentions/Mentions",component:()=>D(()=>import("./gyNPWkqN.js"),__vite__mapDeps([106,1,2,3,23,9,10,24,22,25,26,27,28,29,30,31,6,32,33,5,34,35,36,37,38,95,60,61,96,97,98,99,80,55,56,57,51,81,79,68,107]),import.meta.url)},{name:"message-messages-Messages",path:"/message/messages/Messages",component:()=>D(()=>import("./DPfaU-Cr.js"),__vite__mapDeps([102,1,2,3,23,9,10,24,22,25,26,27,28,29,30,31,6,32,33,5,34,35,36,37,38,103]),import.meta.url)},{name:"message-notifications-Notifications",path:"/message/notifications/Notifications",component:()=>D(()=>import("./BXkcCcYA.js"),__vite__mapDeps([108,1,2,3,23,9,10,24,22,25,26,27,28,29,30,31,6,32,33,5,34,35,36,37,38,80,55,56,57,51,81,79,68,109]),import.meta.url)},{name:"message-replyModal-ReplyModal",path:"/message/replyModal/ReplyModal",component:()=>D(()=>import("./CaUfBiAN.js"),__vite__mapDeps([95,2,3,60,25,5,26,27,61,96,97,23,9,10,24,22,28,29,30,31,6,32,33,34,35,36,37,38,98,99]),import.meta.url)},{name:"post",path:"/post",component:()=>D(()=>import("./CcsuC8YS.js"),__vite__mapDeps([111,23,2,3,9,10,24,22,25,26,27,28,29,30,31,6,32,33,5,34,35,36,37,38,19,1,20,57,56,55,51,112,65,66,67,68,69,76,113]),import.meta.url)},{name:"post-usePost",path:"/post/usePost",component:()=>D(()=>import("./NuR1BOdj.js"),__vite__mapDeps([112,36,65,5,2,3,6]),import.meta.url)},{name:"privacy",path:"/privacy",component:()=>D(()=>import("./WVE2VtcN.js"),__vite__mapDeps([114,5,2,3,6]),import.meta.url)},{name:"search-components-SearchInput",path:"/search/components/SearchInput",component:()=>D(()=>import("./qHZaMCg6.js"),__vite__mapDeps([115,116,117,64,2,3,5,6,118,28,29,30,26,27,119]),import.meta.url)},{name:"search-components-SearchPostList",path:"/search/components/SearchPostList",component:()=>D(()=>import("./2J9iQeW6.js"),__vite__mapDeps([120,22,3,39,42,23,2,9,10,24,25,26,27,28,29,30,31,6,32,33,5,34,35,36,37,38,121]),import.meta.url)},{name:"search-components-SearchTopicList",path:"/search/components/SearchTopicList",component:()=>D(()=>import("./P4S4-Vvf.js"),__vite__mapDeps([122,9,2,3,10,5,26,27,37,6,123]),import.meta.url)},{name:"search-components-SearchUserList",path:"/search/components/SearchUserList",component:()=>D(()=>import("./Cn4zlys4.js"),__vite__mapDeps([124,23,2,3,9,10,24,22,25,26,27,28,29,30,31,6,32,33,5,34,35,36,37,38,125,117,64,126]),import.meta.url)},{name:"search-context",path:"/search/context",component:()=>D(()=>import("./C9feNWyN.js"),__vite__mapDeps([117,64,2,3]),import.meta.url)},{name:"search-hooks-useSearch",path:"/search/hooks/useSearch",component:()=>D(()=>import("./BmHsgQwg.js"),__vite__mapDeps([127,117,64,2,3,128,5,6]),import.meta.url)},{name:"search-hooks-useSearchInput",path:"/search/hooks/useSearchInput",component:()=>D(()=>import("./DMDybYNm.js"),__vite__mapDeps([116,117,64,2,3,5,6]),import.meta.url)},{name:"search-hooks-useSearchUserList",path:"/search/hooks/useSearchUserList",component:()=>D(()=>import("./py6DlY9j.js"),__vite__mapDeps([125,117,64,2,3,24,5,6]),import.meta.url)},{name:"search",path:"/search",component:()=>D(()=>import("./BbGo08ao.js"),__vite__mapDeps([129,117,64,2,3,115,116,5,6,118,28,29,30,26,27,119,120,22,39,42,23,9,10,24,25,31,32,33,34,35,36,37,38,121,122,123,124,125,126,127,128,80,55,56,57,51,81,79,68,130]),import.meta.url)},{name:"search-util",path:"/search/util",component:()=>D(()=>import("./CJoISbpR.js"),[],import.meta.url)},{name:"topicDetail-components-collectButton-CollectButton",path:"/topicDetail/components/collectButton/CollectButton",component:()=>D(()=>import("./Dorh4EUW.js"),__vite__mapDeps([131,132,133,64,2,3,134,97,5,26,27,28,29,30,37,6,135,136,77,34,78,57,67,79]),import.meta.url)},{name:"topicDetail-components-collectContent-CollectContent",path:"/topicDetail/components/collectContent/CollectContent",component:()=>D(()=>import("./BXI7menU.js"),__vite__mapDeps([134,2,3,133,64,97,5,26,27,28,29,30,37,6,135]),import.meta.url)},{name:"topicDetail-components-collectContent-CollectWapModal",path:"/topicDetail/components/collectContent/CollectWapModal",component:()=>D(()=>import("./CecOO-0r.js"),__vite__mapDeps([137,60,25,2,3,5,26,27,61,134,133,64,97,28,29,30,37,6,135,138]),import.meta.url)},{name:"topicDetail-components-comment-Comment",path:"/topicDetail/components/comment/Comment",component:()=>D(()=>import("./DMC8FPmZ.js"),__vite__mapDeps([139,2,3,133,64,97,23,9,10,24,22,25,26,27,28,29,30,31,6,32,33,5,34,35,36,37,38,140,60,61,65,55,56,57,51,141,96,98,142,41,143,39,77,78,67,79,80,81,68,144]),import.meta.url)},{name:"topicDetail-components-reportModal-ReportModal",path:"/topicDetail/components/reportModal/ReportModal",component:()=>D(()=>import("./Cd81-3IB.js"),__vite__mapDeps([140,60,25,2,3,5,26,27,61,97,65,55,56,34,6,30,57,29,51,28,141]),import.meta.url)},{name:"topicDetail-components-shareButton-ShareButton",path:"/topicDetail/components/shareButton/ShareButton",component:()=>D(()=>import("./BBEyjG96.js"),__vite__mapDeps([145,146,147,148,2,3,5,6,149,150,77,34,27,30,26,78,57,67,79,151]),import.meta.url)},{name:"topicDetail-components-shareButton-useShareOptions",path:"/topicDetail/components/shareButton/useShareOptions",component:()=>D(()=>import("./p2v1dRjP.js"),__vite__mapDeps([147,148,2,3,5,6,149]),import.meta.url)},{name:"topicDetail-components-shareContent-ShareContent",path:"/topicDetail/components/shareContent/ShareContent",component:()=>D(()=>import("./Brde1jxG.js"),__vite__mapDeps([148,2,3,5,6,149]),import.meta.url)},{name:"topicDetail-components-topicContent-TopicContent",path:"/topicDetail/components/topicContent/TopicContent",component:()=>D(()=>import("./C6inFvqr.js"),__vite__mapDeps([152,140,60,25,2,3,5,26,27,61,97,65,55,56,34,6,30,57,29,51,28,141,133,64,153,22,154,23,9,10,24,31,32,33,35,36,37,38,80,81,79,68,155,71,156,142,157]),import.meta.url)},{name:"topicDetail-components-topicContentTag-TopicContentTag",path:"/topicDetail/components/topicContentTag/TopicContentTag",component:()=>D(()=>import("./Cg5IJIMl.js"),__vite__mapDeps([158,133,64,2,3,5,6,159]),import.meta.url)},{name:"topicDetail-components-topicOperation-TopicOperation",path:"/topicDetail/components/topicOperation/TopicOperation",component:()=>D(()=>import("./DTA-3SAp.js"),__vite__mapDeps([160,133,64,2,3,97,146,147,148,5,6,149,150,77,34,27,30,26,78,57,67,79,151,132,134,28,29,37,135,136,39,41,143,161]),import.meta.url)},{name:"topicDetail-components-topicOperation-TopicOperationWap",path:"/topicDetail/components/topicOperation/TopicOperationWap",component:()=>D(()=>import("./Bqa4TzAI.js"),__vite__mapDeps([162,2,3,133,64,97,137,60,25,5,26,27,61,134,28,29,30,37,6,135,138,23,9,10,24,22,31,32,33,34,35,36,38,148,149,150,136,41,143,147,163]),import.meta.url)},{name:"topicDetail-components-topicTitle-TopicTitle",path:"/topicDetail/components/topicTitle/TopicTitle",component:()=>D(()=>import("./CWgsML6E.js"),__vite__mapDeps([164,2,3,22,97,133,64,41,39,42,40,5,77,34,6,27,30,26,78,57,67,79,165]),import.meta.url)},{name:"topicDetail-components-topicUser-TopicUser",path:"/topicDetail/components/topicUser/TopicUser",component:()=>D(()=>import("./C38tJcJt.js"),__vite__mapDeps([166,23,2,3,9,10,24,22,25,26,27,28,29,30,31,6,32,33,5,34,35,36,37,38,133,64,167]),import.meta.url)},{name:"topicDetail-components-topicVote-TopicVote",path:"/topicDetail/components/topicVote/TopicVote",component:()=>D(()=>import("./fV4Bqs7h.js"),__vite__mapDeps([153,22,3,133,64,2,97,154,60,25,5,26,27,61,23,9,10,24,28,29,30,31,6,32,33,34,35,36,37,38,80,55,56,57,51,81,79,68,155,71,156]),import.meta.url)},{name:"topicDetail-components-voteDetailModal-VoteDetailModal",path:"/topicDetail/components/voteDetailModal/VoteDetailModal",component:()=>D(()=>import("./DrZ0bmx7.js"),__vite__mapDeps([154,22,3,60,25,2,5,26,27,61,97,133,64,23,9,10,24,28,29,30,31,6,32,33,34,35,36,37,38,80,55,56,57,51,81,79,68,155]),import.meta.url)},{name:"topicDetail-context",path:"/topicDetail/context",component:()=>D(()=>import("./CLf8I7_8.js"),__vite__mapDeps([133,64,2,3]),import.meta.url)},{name:"topicDetail",path:"/topicDetail",meta:op||{},component:()=>D(()=>import("./CjjnctwL.js"),__vite__mapDeps([168,19,1,2,3,5,20,97,164,22,133,64,41,39,42,40,77,34,6,27,30,26,78,57,67,79,165,166,23,9,10,24,25,28,29,31,32,33,35,36,37,38,167,152,140,60,61,65,55,56,51,141,153,154,80,81,68,155,71,156,142,157,160,146,147,148,149,150,151,132,134,135,136,143,161,139,96,98,144,162,137,138,163,48,49,50,52,53,4,54,158,159,169,170]),import.meta.url)},{name:"userCenter",path:"/userCenter",component:()=>D(()=>import("./BA_Xalr2.js"),__vite__mapDeps([171,2,3,18,24,46,23,9,10,22,25,26,27,28,29,30,31,6,32,33,5,34,35,36,37,38,94,1,97,143,41,44,45,172]),import.meta.url)}],cc=(e,t,n)=>(t=t===!0?{}:t,{default:()=>{var o;return t?b(e,t,n):(o=n.default)==null?void 0:o.call(n)}});function Zi(e){const t=(e==null?void 0:e.meta.key)??e.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>{var o;return((o=e.params[n.slice(1)])==null?void 0:o.toString())||""});return typeof t=="function"?t(e):t}function rp(e,t){return e===t||t===Je?!1:Zi(e)!==Zi(t)?!0:!e.matched.every((o,r)=>{var a,i;return o.components&&o.components.default===((i=(a=t.matched[r])==null?void 0:a.components)==null?void 0:i.default)})}const ap={scrollBehavior(e,t,n){var c;const o=ve(),r=((c=Le().options)==null?void 0:c.scrollBehaviorType)??"auto";let a=n||void 0;const i=typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop;if(!a&&t&&e&&i!==!1&&rp(e,t)&&(a={left:0,top:0}),e.path===t.path)return t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:Ji(e.hash),behavior:r}:!1;const s=u=>!!(u.meta.pageTransition??Br),l=s(t)&&s(e)?"page:transition:finish":"page:finish";return new Promise(u=>{o.hooks.hookOnce(l,async()=>{await new Promise(d=>setTimeout(d,0)),e.hash&&(a={el:e.hash,top:Ji(e.hash),behavior:r}),u(a)})})}};function Ji(e){try{const t=document.querySelector(e);if(t)return(Number.parseFloat(getComputedStyle(t).scrollMarginTop)||0)+(Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0)}catch{}return 0}const ip="prod",sp="beta";function Lo(){return Ct().public.env}function lp(){return!1}function nt(){return Lo()===ip||Lo()===sp}var le=(e=>(e.game="game",e.developer="developer",e.developerOwn="developerOwn",e))(le||{});function cp(e){return Array.isArray(e)?e:[e]}function on(e){return new URL(window.location.href)}var Rn=(e=>(e.cnFlag="cn",e.asiaFlag="ap",e.europeFlag="eu",e.ruFlag="ru",e))(Rn||{}),pt=(e=>(e.cn="cn",e.global="global",e.my="my",e.latin="latin",e.tr="tr",e.mea="mea",e.sa="sa",e.eg="eg",e.uk="uk",e.de="de",e.fr="fr",e.es="es",e.it="it",e.cz="cz",e.ru="ru",e))(pt||{});function up(){const e={ap:[],eu:[],ru:[],cn:["cn"]};if(nt()){const t=on(),o=Object.keys(e).find(r=>t.host.includes(r));return o?e[o]:[]}else return Object.values(e).flat()}function dp(){return Object.values({cn:["cn"]}).flat()}function fp(e){switch(e){case le.game:return up().map(t=>`${t}gm`);case le.developer:case le.developerOwn:return dp();default:return[]}}function Ho(){const e=Me();return["cn"].includes(e)&&"cn"}function za(){const e=Me();return["global","my","latin","tr","mea","sa","eg"].includes(e)&&"ap"}function La(){const e=Me();return["uk","de","fr","es","it","cz"].includes(e)&&"eu"}function Ha(){const e=Me();return["ru"].includes(e)&&"ru"}function hp(e){return["sa","eg","mea"].includes(e)}const ze=()=>{const e=on();if(e.host.includes("developer")||lp())return le.developer;if(e.pathname.split("/")[2]===le.game)return le.game;if(e.pathname.split("/")[2]===le.developer)return le.developerOwn},uc=()=>{const e=ze(),t=Ct();switch(e){case le.developer:case le.developerOwn:return t.public.developerAppid;case le.game:return t.public.gameAppid}},oa=()=>on().pathname.split("/")[1];function Me(){var o;const e=on(),t=`${e.pathname.split("/")[1].split("gm")[0]}`;let n;return nt()&&(n=(o=e.host.match(/community-(\w+)\./))==null?void 0:o[1]),t||n}const zt=()=>{const e=ze(),t=Me();switch(e){case le.developer:return`/${t}/forum`;case le.game:return`/${t}gm/game`;case le.developerOwn:return`/${t}/developer`}return""},So=()=>`${zt()}/login`,Fa=[{name:"login",path:"login",meta:{title:"sys.login"},component:()=>D(()=>import("./Cq_1TKV0.js"),__vite__mapDeps([89,90,91,5,2,3,6,92]),import.meta.url).then(e=>e.default||e)},{name:"post",path:"post",meta:{auth:!0,title:""},component:()=>D(()=>import("./CcsuC8YS.js"),__vite__mapDeps([111,23,2,3,9,10,24,22,25,26,27,28,29,30,31,6,32,33,5,34,35,36,37,38,19,1,20,57,56,55,51,112,65,66,67,68,69,76,113]),import.meta.url).then(e=>e.default||e)},{name:"userCenter",path:"usercenter",meta:{title:"app.userCenter"},component:()=>D(()=>import("./BA_Xalr2.js"),__vite__mapDeps([171,2,3,18,24,46,23,9,10,22,25,26,27,28,29,30,31,6,32,33,5,34,35,36,37,38,94,1,97,143,41,44,45,172]),import.meta.url).then(e=>e.default||e)},{name:"topicDetail",path:"topicdetail/topicid-:topicId(\\d+)",meta:{title:"app.topicDetail"},component:()=>D(()=>import("./CjjnctwL.js"),__vite__mapDeps([168,19,1,2,3,5,20,97,164,22,133,64,41,39,42,40,77,34,6,27,30,26,78,57,67,79,165,166,23,9,10,24,25,28,29,31,32,33,35,36,37,38,167,152,140,60,61,65,55,56,51,141,153,154,80,81,68,155,71,156,142,157,160,146,147,148,149,150,151,132,134,135,136,143,161,139,96,98,144,162,137,138,163,48,49,50,52,53,4,54,158,159,169,170]),import.meta.url).then(e=>e.default||e)},{name:"privacy",path:"privacy",meta:{title:"app.privacy"},component:()=>D(()=>import("./WVE2VtcN.js"),__vite__mapDeps([114,5,2,3,6]),import.meta.url).then(e=>e.default||e)},{name:"category",path:"category",meta:{title:"app.category"},component:()=>D(()=>import("./BQA6kwN8.js"),__vite__mapDeps([0,1,2,3,4,5,6,7]),import.meta.url).then(e=>e.default||e)},{name:"forumplate",path:"forumplate/:forumId",meta:{title:"app.forumplate"},component:()=>D(()=>import("./8CkMd4Lm.js"),__vite__mapDeps([17,1,2,3,18,19,5,20,21,22,23,9,10,24,25,26,27,28,29,30,31,6,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,4,54,15,14,16,12,13,8,11,55,56,57,58]),import.meta.url).then(e=>e.default||e)},{name:"message",path:"message",meta:{auth:!0,title:""},component:()=>D(()=>import("./B6w2DdCp.js"),__vite__mapDeps([101,2,3,49,1,22,23,9,10,24,25,26,27,28,29,30,31,6,32,33,5,34,35,36,37,38,50,51,52,53,102,103,93,94,95,60,61,96,97,98,99,80,55,56,57,81,79,68,100,104,105,106,107,108,109,110]),import.meta.url).then(e=>e.default||e)},{name:"search",path:"search",meta:{title:"sys.search"},component:()=>D(()=>import("./BbGo08ao.js"),__vite__mapDeps([129,117,64,2,3,115,116,5,6,118,28,29,30,26,27,119,120,22,39,42,23,9,10,24,25,31,32,33,34,35,36,37,38,121,122,123,124,125,126,127,128,80,55,56,57,51,81,79,68,130]),import.meta.url).then(e=>e.default||e)},{name:"index",path:"",meta:{},component:()=>D(()=>import("./CHVgTdHl.js"),__vite__mapDeps([87,18,46,5,2,3,21,1,22,23,9,10,24,25,26,27,28,29,30,31,6,32,33,34,35,36,37,38,39,40,41,42,43,44,45,48,49,50,51,52,53,4,54,88]),import.meta.url).then(e=>e.default||e)}],mp=e=>({name:"developerClubPage",path:`/:site(${e})/forum`,children:Fa}),pp=e=>({name:"developerOwnClubPage",path:`/:site(${e})/developer`,children:Fa}),gp=e=>{if(e){const t=[{name:"forumResource",path:"forumresource/:forumId",meta:{title:"sys.forumResource",auth:!0},component:()=>D(()=>import("./Dh-QuAz2.js"),__vite__mapDeps([85,86,24,46,47,15,5,2,3,6,63,64,73,59,60,25,26,27,61,62,65,66,67,29,56,34,30,57,68,28,69,33,31,70,71,50,55,51,37,72,74,75,22,32,76,77,78,79,80,81,82,83,84]),import.meta.url).then(n=>n.default||n)}];return{name:"gameClubPage",path:`/:site(${e})/game`,children:[...t,...Fa]}}else return{}},vp={routes:e=>{const t=ze(),n=fp(t).join("|");switch(t){case le.game:return[gp(n)];case le.developer:return[mp(n)];case le.developerOwn:return[pp(n)];default:return[]}}},yp={hashMode:!1,scrollBehaviorType:"auto"},Ue={...yp,...ap,...vp},bp=async e=>{var l;let t,n;if(!((l=e.meta)!=null&&l.validate))return;const o=ve(),r=Le(),a=([t,n]=Zt(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t);if(a===!0)return;const i=Go({statusCode:a&&a.statusCode||404,statusMessage:a&&a.statusMessage||`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}}),s=r.beforeResolve(c=>{if(s(),c===e){const u=r.afterEach(async()=>{u(),await o.runWithContext(()=>mn(i)),window==null||window.history.pushState({},"",e.fullPath)});return!1}})},wp=!1;/*! * pinia v2.2.2 * (c) 2024 Eduardo San Martin Morote * @license MIT */let dc;const Zn=e=>dc=e,fc=Symbol();function Qi(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Dn;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Dn||(Dn={}));function xp(){const e=ya(!0),t=e.run(()=>M({}));let n=[],o=[];const r=ko({install(a){Zn(r),r._a=a,a.provide(fc,r),a.config.globalProperties.$pinia=r,o.forEach(i=>n.push(i)),o=[]},use(a){return!this._a&&!wp?o.push(a):n.push(a),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}const Cp=()=>{};function es(e,t,n,o=Cp){e.push(t);const r=()=>{const a=e.indexOf(t);a>-1&&(e.splice(a,1),o())};return!n&&Gn()&&vn(r),r}function sn(e,...t){e.slice().forEach(n=>{n(...t)})}const Pp=e=>e(),ts=Symbol(),_r=Symbol();function hc(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,o)=>e.set(o,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const o=t[n],r=e[n];Qi(r)&&Qi(o)&&e.hasOwnProperty(n)&&!wn(o)&&!wa(o)?e[n]=hc(r,o):e[n]=o}return e}const{assign:$t}=Object;function Sp(e){return!!(wn(e)&&e.effect)}function _p(e,t,n,o){const{state:r,actions:a,getters:i}=t,s=n.state.value[e];let l;function c(){s||(n.state.value[e]=r?r():{});const u=ml(n.state.value[e]);return $t(u,a,Object.keys(i||{}).reduce((d,f)=>(d[f]=ko(O(()=>{Zn(n);const h=n._s.get(e);return i[f].call(h,h)})),d),{}))}return l=Tp(e,c,t,n,o,!0),l}function Tp(e,t,n={},o,r,a){let i;const s=$t({actions:{}},n),l={deep:!0};let c,u,d=[],f=[],h;const m=o.state.value[e];M({});let p;function g(P){let E;c=u=!1,typeof P=="function"?(P(o.state.value[e]),E={type:Dn.patchFunction,storeId:e,events:h}):(hc(o.state.value[e],P),E={type:Dn.patchObject,payload:P,storeId:e,events:h});const A=p=Symbol();$e().then(()=>{p===A&&(c=!0)}),u=!0,sn(d,E,o.state.value[e])}const v=function(){const{state:E}=n,A=E?E():{};this.$patch(B=>{$t(B,A)})};function w(){i.stop(),d=[],f=[],o._s.delete(e)}const x=(P,E="")=>{if(ts in P)return P[_r]=E,P;const A=function(){Zn(o);const B=Array.from(arguments),N=[],q=[];function ee(F){N.push(F)}function ne(F){q.push(F)}sn(f,{args:B,name:A[_r],store:C,after:ee,onError:ne});let J;try{J=P.apply(this&&this.$id===e?this:C,B)}catch(F){throw sn(q,F),F}return J instanceof Promise?J.then(F=>(sn(N,F),F)).catch(F=>(sn(q,F),Promise.reject(F))):(sn(N,J),J)};return A[ts]=!0,A[_r]=E,A},S={_p:o,$id:e,$onAction:es.bind(null,f),$patch:g,$reset:v,$subscribe(P,E={}){const A=es(d,P,E.detached,()=>B()),B=i.run(()=>Be(()=>o.state.value[e],N=>{(E.flush==="sync"?u:c)&&P({storeId:e,type:Dn.direct,events:h},N)},$t({},l,E)));return A},$dispose:w},C=ut(S);o._s.set(e,C);const y=(o._a&&o._a.runWithContext||Pp)(()=>o._e.run(()=>(i=ya()).run(()=>t({action:x}))));for(const P in y){const E=y[P];if(!(wn(E)&&!Sp(E)||wa(E))){if(typeof E=="function"){const A=x(E,P);y[P]=A,s.actions[P]=E}}}return $t(C,y),$t(hl(C),y),Object.defineProperty(C,"$state",{get:()=>o.state.value[e],set:P=>{g(E=>{$t(E,P)})}}),o._p.forEach(P=>{$t(C,i.run(()=>P({store:C,app:o._a,pinia:o,options:s})))}),m&&a&&n.hydrate&&n.hydrate(C.$state,m),c=!0,u=!0,C}function kp(e,t,n){let o,r;typeof e=="string"?(o=e,r=t):(r=e,o=e.id);function a(i,s){const l=ba();return i=i||(l?te(fc,null):null),i&&Zn(i),i=dc,i._s.has(o)||_p(o,r,i),i._s.get(o)}return a.$id=o,a}function Ep(e){{e=hl(e);const t={};for(const n in e){const o=e[n];(wn(o)||wa(o))&&(t[n]=ot(e,n))}return t}}const mc="%[a-f0-9]{2}",ns=new RegExp("("+mc+")|([^%]+?)","gi"),os=new RegExp("("+mc+")+","gi");function ra(e,t){try{return[decodeURIComponent(e.join(""))]}catch{}if(e.length===1)return e;t=t||1;const n=e.slice(0,t),o=e.slice(t);return Array.prototype.concat.call([],ra(n),ra(o))}function $p(e){try{return decodeURIComponent(e)}catch{let t=e.match(ns)||[];for(let n=1;n<t.length;n++)e=ra(t,n).join(""),t=e.match(ns)||[];return e}}function Rp(e){const t={"%FE%FF":"��","%FF%FE":"��"};let n=os.exec(e);for(;n;){try{t[n[0]]=decodeURIComponent(n[0])}catch{const r=$p(n[0]);r!==n[0]&&(t[n[0]]=r)}n=os.exec(e)}t["%C2"]="�";const o=Object.keys(t);for(const r of o)e=e.replace(new RegExp(r,"g"),t[r]);return e}function Mp(e){if(typeof e!="string")throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return decodeURIComponent(e)}catch{return Rp(e)}}function pc(e,t){if(!(typeof e=="string"&&typeof t=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(e===""||t==="")return[];const n=e.indexOf(t);return n===-1?[]:[e.slice(0,n),e.slice(n+t.length)]}function Op(e,t){const n={};if(Array.isArray(t))for(const o of t){const r=Object.getOwnPropertyDescriptor(e,o);r!=null&&r.enumerable&&Object.defineProperty(n,o,r)}else for(const o of Reflect.ownKeys(e)){const r=Object.getOwnPropertyDescriptor(e,o);if(r.enumerable){const a=e[o];t(o,a,e)&&Object.defineProperty(n,o,r)}}return n}const Ap=e=>e==null,Dp=e=>encodeURIComponent(e).replace(/[!'()*]/g,t=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`),aa=Symbol("encodeFragmentIdentifier");function Ip(e){switch(e.arrayFormat){case"index":return t=>(n,o)=>{const r=n.length;return o===void 0||e.skipNull&&o===null||e.skipEmptyString&&o===""?n:o===null?[...n,[we(t,e),"[",r,"]"].join("")]:[...n,[we(t,e),"[",we(r,e),"]=",we(o,e)].join("")]};case"bracket":return t=>(n,o)=>o===void 0||e.skipNull&&o===null||e.skipEmptyString&&o===""?n:o===null?[...n,[we(t,e),"[]"].join("")]:[...n,[we(t,e),"[]=",we(o,e)].join("")];case"colon-list-separator":return t=>(n,o)=>o===void 0||e.skipNull&&o===null||e.skipEmptyString&&o===""?n:o===null?[...n,[we(t,e),":list="].join("")]:[...n,[we(t,e),":list=",we(o,e)].join("")];case"comma":case"separator":case"bracket-separator":{const t=e.arrayFormat==="bracket-separator"?"[]=":"=";return n=>(o,r)=>r===void 0||e.skipNull&&r===null||e.skipEmptyString&&r===""?o:(r=r===null?"":r,o.length===0?[[we(n,e),t,we(r,e)].join("")]:[[o,we(r,e)].join(e.arrayFormatSeparator)])}default:return t=>(n,o)=>o===void 0||e.skipNull&&o===null||e.skipEmptyString&&o===""?n:o===null?[...n,we(t,e)]:[...n,[we(t,e),"=",we(o,e)].join("")]}}function zp(e){let t;switch(e.arrayFormat){case"index":return(n,o,r)=>{if(t=/\[(\d*)]$/.exec(n),n=n.replace(/\[\d*]$/,""),!t){r[n]=o;return}r[n]===void 0&&(r[n]={}),r[n][t[1]]=o};case"bracket":return(n,o,r)=>{if(t=/(\[])$/.exec(n),n=n.replace(/\[]$/,""),!t){r[n]=o;return}if(r[n]===void 0){r[n]=[o];return}r[n]=[...r[n],o]};case"colon-list-separator":return(n,o,r)=>{if(t=/(:list)$/.exec(n),n=n.replace(/:list$/,""),!t){r[n]=o;return}if(r[n]===void 0){r[n]=[o];return}r[n]=[...r[n],o]};case"comma":case"separator":return(n,o,r)=>{const a=typeof o=="string"&&o.includes(e.arrayFormatSeparator),i=typeof o=="string"&&!a&&vt(o,e).includes(e.arrayFormatSeparator);o=i?vt(o,e):o;const s=a||i?o.split(e.arrayFormatSeparator).map(l=>vt(l,e)):o===null?o:vt(o,e);r[n]=s};case"bracket-separator":return(n,o,r)=>{const a=/(\[])$/.test(n);if(n=n.replace(/\[]$/,""),!a){r[n]=o&&vt(o,e);return}const i=o===null?[]:o.split(e.arrayFormatSeparator).map(s=>vt(s,e));if(r[n]===void 0){r[n]=i;return}r[n]=[...r[n],...i]};default:return(n,o,r)=>{if(r[n]===void 0){r[n]=o;return}r[n]=[...[r[n]].flat(),o]}}}function gc(e){if(typeof e!="string"||e.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function we(e,t){return t.encode?t.strict?Dp(e):encodeURIComponent(e):e}function vt(e,t){return t.decode?Mp(e):e}function vc(e){return Array.isArray(e)?e.sort():typeof e=="object"?vc(Object.keys(e)).sort((t,n)=>Number(t)-Number(n)).map(t=>e[t]):e}function yc(e){const t=e.indexOf("#");return t!==-1&&(e=e.slice(0,t)),e}function Lp(e){let t="";const n=e.indexOf("#");return n!==-1&&(t=e.slice(n)),t}function rs(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&typeof e=="string"&&e.trim()!==""?e=Number(e):t.parseBooleans&&e!==null&&(e.toLowerCase()==="true"||e.toLowerCase()==="false")&&(e=e.toLowerCase()==="true"),e}function Na(e){e=yc(e);const t=e.indexOf("?");return t===-1?"":e.slice(t+1)}function Ba(e,t){t={decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1,...t},gc(t.arrayFormatSeparator);const n=zp(t),o=Object.create(null);if(typeof e!="string"||(e=e.trim().replace(/^[?#&]/,""),!e))return o;for(const r of e.split("&")){if(r==="")continue;const a=t.decode?r.replace(/\+/g," "):r;let[i,s]=pc(a,"=");i===void 0&&(i=a),s=s===void 0?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?s:vt(s,t),n(vt(i,t),s,o)}for(const[r,a]of Object.entries(o))if(typeof a=="object"&&a!==null)for(const[i,s]of Object.entries(a))a[i]=rs(s,t);else o[r]=rs(a,t);return t.sort===!1?o:(t.sort===!0?Object.keys(o).sort():Object.keys(o).sort(t.sort)).reduce((r,a)=>{const i=o[a];return i&&typeof i=="object"&&!Array.isArray(i)?r[a]=vc(i):r[a]=i,r},Object.create(null))}function bc(e,t){if(!e)return"";t={encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:",",...t},gc(t.arrayFormatSeparator);const n=i=>t.skipNull&&Ap(e[i])||t.skipEmptyString&&e[i]==="",o=Ip(t),r={};for(const[i,s]of Object.entries(e))n(i)||(r[i]=s);const a=Object.keys(r);return t.sort!==!1&&a.sort(t.sort),a.map(i=>{const s=e[i];return s===void 0?"":s===null?we(i,t):Array.isArray(s)?s.length===0&&t.arrayFormat==="bracket-separator"?we(i,t)+"[]":s.reduce(o(i),[]).join("&"):we(i,t)+"="+we(s,t)}).filter(i=>i.length>0).join("&")}function wc(e,t){var r;t={decode:!0,...t};let[n,o]=pc(e,"#");return n===void 0&&(n=e),{url:((r=n==null?void 0:n.split("?"))==null?void 0:r[0])??"",query:Ba(Na(e),t),...t&&t.parseFragmentIdentifier&&o?{fragmentIdentifier:vt(o,t)}:{}}}function xc(e,t){t={encode:!0,strict:!0,[aa]:!0,...t};const n=yc(e.url).split("?")[0]||"",o=Na(e.url),r={...Ba(o,{sort:!1}),...e.query};let a=bc(r,t);a&&(a=`?${a}`);let i=Lp(e.url);if(e.fragmentIdentifier){const s=new URL(n);s.hash=e.fragmentIdentifier,i=t[aa]?s.hash:`#${e.fragmentIdentifier}`}return`${n}${a}${i}`}function Cc(e,t,n){n={parseFragmentIdentifier:!0,[aa]:!1,...n};const{url:o,query:r,fragmentIdentifier:a}=wc(e,n);return xc({url:o,query:Op(r,t),fragmentIdentifier:a},n)}function Hp(e,t,n){const o=Array.isArray(t)?r=>!t.includes(r):(r,a)=>!t(r,a);return Cc(e,o,n)}const Pc=Object.freeze(Object.defineProperty({__proto__:null,exclude:Hp,extract:Na,parse:Ba,parseUrl:wc,pick:Cc,stringify:bc,stringifyUrl:xc},Symbol.toStringTag,{value:"Module"}));function Qe(e){if(typeof e!="object")return e;var t,n,o=Object.prototype.toString.call(e);if(o==="[object Object]"){if(e.constructor!==Object&&typeof e.constructor=="function"){n=new e.constructor;for(t in e)e.hasOwnProperty(t)&&n[t]!==e[t]&&(n[t]=Qe(e[t]))}else{n={};for(t in e)t==="__proto__"?Object.defineProperty(n,t,{value:Qe(e[t]),configurable:!0,enumerable:!0,writable:!0}):n[t]=Qe(e[t])}return n}if(o==="[object Array]"){for(t=e.length,n=Array(t);t--;)n[t]=Qe(e[t]);return n}return o==="[object Set]"?(n=new Set,e.forEach(function(r){n.add(Qe(r))}),n):o==="[object Map]"?(n=new Map,e.forEach(function(r,a){n.set(Qe(a),Qe(r))}),n):o==="[object Date]"?new Date(+e):o==="[object RegExp]"?(n=new RegExp(e.source,e.flags),n.lastIndex=e.lastIndex,n):o==="[object DataView]"?new e.constructor(Qe(e.buffer)):o==="[object ArrayBuffer]"?e.slice(0):o.slice(-6)==="Array]"?new e.constructor(e):e}const Fp={path:"/",watch:!0,decode:e=>Sa(decodeURIComponent(e)),encode:e=>encodeURIComponent(typeof e=="string"?e:JSON.stringify(e))},so=window.cookieStore;function gt(e,t){var l;const n={...Fp,...t};n.filter??(n.filter=c=>c===e);const o=as(n)||{};let r;n.maxAge!==void 0?r=n.maxAge*1e3:n.expires&&(r=n.expires.getTime()-Date.now());const a=r!==void 0&&r<=0,i=Qe(a?void 0:o[e]??((l=n.default)==null?void 0:l.call(n))),s=r&&!a?jp(i,r,n.watch&&n.watch!=="shallow"):M(i);{let c=null;try{!so&&typeof BroadcastChannel<"u"&&(c=new BroadcastChannel(`nuxt:cookies:${e}`))}catch{}const u=()=>{n.readonly||Gf(s.value,o[e])||(Bp(e,s.value,n),o[e]=Qe(s.value),c==null||c.postMessage({value:n.encode(s.value)}))},d=m=>{var g;const p=m.refresh?(g=as(n))==null?void 0:g[e]:n.decode(m.value);f=!0,s.value=p,o[e]=Qe(p),$e(()=>{f=!1})};let f=!1;const h=!!Gn();if(h&&vn(()=>{f=!0,u(),c==null||c.close()}),so){const m=p=>{const g=p.changed.find(w=>w.name===e),v=p.deleted.find(w=>w.name===e);g&&d({value:g.value}),v&&d({value:null})};so.addEventListener("change",m),h&&vn(()=>so.removeEventListener("change",m))}else c&&(c.onmessage=({data:m})=>d(m));n.watch?Be(s,()=>{f||u()},{deep:n.watch!=="shallow"}):u()}return s}function as(e={}){return Tf(document.cookie,e)}function Np(e,t,n={}){return t==null?Ci(e,t,{...n,maxAge:-1}):Ci(e,t,n)}function Bp(e,t,n={}){document.cookie=Np(e,t,n)}const is=2147483647;function jp(e,t,n){let o,r,a=0;const i=n?M(e):{value:e};return Gn()&&vn(()=>{r==null||r(),clearTimeout(o)}),qu((s,l)=>{n&&(r=Be(i,l));function c(){a=0,clearTimeout(o);const u=t-a,d=u<is?u:is;o=setTimeout(()=>{if(a+=d,a<t)return c();i.value=void 0,l()},d)}return{get(){return s(),i.value},set(u){c(),i.value=u,l()}}})}function ja(e){return e.composedPath()[0]||null}function ss(e){return typeof e=="string"?e.endsWith("px")?Number(e.slice(0,e.length-2)):Number(e):e}function z2(e){if(e!=null)return typeof e=="number"?`${e}px`:e.endsWith("px")?e:`${e}px`}function Zo(e,t){const n=e.trim().split(/\s+/g),o={top:n[0]};switch(n.length){case 1:o.right=n[0],o.bottom=n[0],o.left=n[0];break;case 2:o.right=n[1],o.left=n[1],o.bottom=n[0];break;case 3:o.right=n[1],o.bottom=n[2],o.left=n[1];break;case 4:o.right=n[1],o.bottom=n[2],o.left=n[3];break;default:throw new Error("[seemly/getMargin]:"+e+" is not a valid value.")}return t===void 0?o:o[t]}function L2(e,t){const[n,o]=e.split(" ");return{row:n,col:o||n}}const ls={black:"#000",silver:"#C0C0C0",gray:"#808080",white:"#FFF",maroon:"#800000",red:"#F00",purple:"#800080",fuchsia:"#F0F",green:"#008000",lime:"#0F0",olive:"#808000",yellow:"#FF0",navy:"#000080",blue:"#00F",teal:"#008080",aqua:"#0FF",transparent:"#0000"},ft="^\\s*",ht="\\s*$",Lt="\\s*((\\.\\d+)|(\\d+(\\.\\d*)?))%\\s*",We="\\s*((\\.\\d+)|(\\d+(\\.\\d*)?))\\s*",Kt="([0-9A-Fa-f])",Yt="([0-9A-Fa-f]{2})",Wp=new RegExp(`${ft}hsl\\s*\\(${We},${Lt},${Lt}\\)${ht}`),Vp=new RegExp(`${ft}hsv\\s*\\(${We},${Lt},${Lt}\\)${ht}`),Up=new RegExp(`${ft}hsla\\s*\\(${We},${Lt},${Lt},${We}\\)${ht}`),qp=new RegExp(`${ft}hsva\\s*\\(${We},${Lt},${Lt},${We}\\)${ht}`),Gp=new RegExp(`${ft}rgb\\s*\\(${We},${We},${We}\\)${ht}`),Kp=new RegExp(`${ft}rgba\\s*\\(${We},${We},${We},${We}\\)${ht}`),Wa=new RegExp(`${ft}#${Kt}${Kt}${Kt}${ht}`),Va=new RegExp(`${ft}#${Yt}${Yt}${Yt}${ht}`),Ua=new RegExp(`${ft}#${Kt}${Kt}${Kt}${Kt}${ht}`),qa=new RegExp(`${ft}#${Yt}${Yt}${Yt}${Yt}${ht}`);function Ne(e){return parseInt(e,16)}function H2(e){try{let t;if(t=Up.exec(e))return[ct(t[1]),xe(t[5]),xe(t[9]),bt(t[13])];if(t=Wp.exec(e))return[ct(t[1]),xe(t[5]),xe(t[9]),1];throw new Error(`[seemly/hsla]: Invalid color value ${e}.`)}catch(t){throw t}}function F2(e){try{let t;if(t=qp.exec(e))return[ct(t[1]),xe(t[5]),xe(t[9]),bt(t[13])];if(t=Vp.exec(e))return[ct(t[1]),xe(t[5]),xe(t[9]),1];throw new Error(`[seemly/hsva]: Invalid color value ${e}.`)}catch(t){throw t}}function Ht(e){try{let t;if(t=Va.exec(e))return[Ne(t[1]),Ne(t[2]),Ne(t[3]),1];if(t=Gp.exec(e))return[be(t[1]),be(t[5]),be(t[9]),1];if(t=Kp.exec(e))return[be(t[1]),be(t[5]),be(t[9]),bt(t[13])];if(t=Wa.exec(e))return[Ne(t[1]+t[1]),Ne(t[2]+t[2]),Ne(t[3]+t[3]),1];if(t=qa.exec(e))return[Ne(t[1]),Ne(t[2]),Ne(t[3]),bt(Ne(t[4])/255)];if(t=Ua.exec(e))return[Ne(t[1]+t[1]),Ne(t[2]+t[2]),Ne(t[3]+t[3]),bt(Ne(t[4]+t[4])/255)];if(e in ls)return Ht(ls[e]);throw new Error(`[seemly/rgba]: Invalid color value ${e}.`)}catch(t){throw t}}function Yp(e){return e>1?1:e<0?0:e}function Xp(e,t,n){return`rgb(${be(e)}, ${be(t)}, ${be(n)})`}function ia(e,t,n,o){return`rgba(${be(e)}, ${be(t)}, ${be(n)}, ${Yp(o)})`}function Tr(e,t,n,o,r){return be((e*t*(1-o)+n*o)/r)}function Ga(e,t){Array.isArray(e)||(e=Ht(e)),Array.isArray(t)||(t=Ht(t));const n=e[3],o=t[3],r=bt(n+o-n*o);return ia(Tr(e[0],n,t[0],o,r),Tr(e[1],n,t[1],o,r),Tr(e[2],n,t[2],o,r),r)}function lo(e,t){const[n,o,r,a=1]=Array.isArray(e)?e:Ht(e);return t.alpha?ia(n,o,r,t.alpha):ia(n,o,r,a)}function co(e,t){const[n,o,r,a=1]=Array.isArray(e)?e:Ht(e),{lightness:i=1,alpha:s=1}=t;return Zp([n*i,o*i,r*i,a*s])}function bt(e){const t=Math.round(Number(e)*100)/100;return t>1?1:t<0?0:t}function ct(e){const t=Math.round(Number(e));return t>=360||t<0?0:t}function be(e){const t=Math.round(Number(e));return t>255?255:t<0?0:t}function xe(e){const t=Math.round(Number(e));return t>100?100:t<0?0:t}function N2(e){const[t,n,o]=Array.isArray(e)?e:Ht(e);return Xp(t,n,o)}function Zp(e){const[t,n,o]=e;return 3 in e?`rgba(${be(t)}, ${be(n)}, ${be(o)}, ${bt(e[3])})`:`rgba(${be(t)}, ${be(n)}, ${be(o)}, 1)`}function B2(e){return`hsv(${ct(e[0])}, ${xe(e[1])}%, ${xe(e[2])}%)`}function j2(e){const[t,n,o]=e;return 3 in e?`hsva(${ct(t)}, ${xe(n)}%, ${xe(o)}%, ${bt(e[3])})`:`hsva(${ct(t)}, ${xe(n)}%, ${xe(o)}%, 1)`}function W2(e){return`hsl(${ct(e[0])}, ${xe(e[1])}%, ${xe(e[2])}%)`}function V2(e){const[t,n,o]=e;return 3 in e?`hsla(${ct(t)}, ${xe(n)}%, ${xe(o)}%, ${bt(e[3])})`:`hsla(${ct(t)}, ${xe(n)}%, ${xe(o)}%, 1)`}function U2(e){if(typeof e=="string"){let o;if(o=Va.exec(e))return`${o[0]}FF`;if(o=qa.exec(e))return o[0];if(o=Wa.exec(e))return`#${o[1]}${o[1]}${o[2]}${o[2]}${o[3]}${o[3]}FF`;if(o=Ua.exec(e))return`#${o[1]}${o[1]}${o[2]}${o[2]}${o[3]}${o[3]}${o[4]}${o[4]}`;throw new Error(`[seemly/toHexString]: Invalid hex value ${e}.`)}const t=`#${e.slice(0,3).map(o=>be(o).toString(16).toUpperCase().padStart(2,"0")).join("")}`,n=e.length===3?"FF":be(e[3]*255).toString(16).padStart(2,"0").toUpperCase();return t+n}function q2(e){if(typeof e=="string"){let t;if(t=Va.exec(e))return t[0];if(t=qa.exec(e))return t[0].slice(0,7);if(t=Wa.exec(e)||Ua.exec(e))return`#${t[1]}${t[1]}${t[2]}${t[2]}${t[3]}${t[3]}`;throw new Error(`[seemly/toHexString]: Invalid hex value ${e}.`)}return`#${e.slice(0,3).map(t=>be(t).toString(16).toUpperCase().padStart(2,"0")).join("")}`}function Jn(e=8){return Math.random().toString(16).slice(2,2+e)}function G2(e,t){const n=[];for(let o=0;o<e;++o)n.push(t);return n}function K2(e,t){const n=[];if(!t){for(let o=0;o<e;++o)n.push(o);return n}for(let o=0;o<e;++o)n.push(t(o));return n}function Nn(e,t=[],n){const o={};return t.forEach(r=>{o[r]=e[r]}),Object.assign(o,n)}function Jo(e,t=[],n){const o={};return Object.getOwnPropertyNames(e).forEach(a=>{t.includes(a)||(o[a]=e[a])}),Object.assign(o,n)}function sa(e,t=!0,n=[]){return e.forEach(o=>{if(o!==null){if(typeof o!="object"){(typeof o=="string"||typeof o=="number")&&n.push(Eo(String(o)));return}if(Array.isArray(o)){sa(o,t,n);return}if(o.type===at){if(o.children===null)return;Array.isArray(o.children)&&sa(o.children,t,n)}else{if(o.type===xa&&t)return;n.push(o)}}}),n}function Xt(e,...t){if(Array.isArray(e))e.forEach(n=>Xt(n,...t));else return e(...t)}function Qo(e){return Object.keys(e)}function je(e,...t){return typeof e=="function"?e(...t):typeof e=="string"?Eo(e):typeof e=="number"?Eo(String(e)):null}function Y2(e,t){}function X2(e,t,n){}function xn(e,t){throw new Error(`[naive/${e}]: ${t}`)}function Jp(e,t="default",n=void 0){const o=e[t];if(!o)return`${t}`,null;const r=sa(o(n));return r.length===1?r[0]:(`${t}`,null)}function Z2(e){return e}function qe(e){return e.some(t=>Gu(t)?!(t.type===xa||t.type===at&&!qe(t.children)):!0)?e:null}function cs(e,t){return e&&qe(e())||t()}function J2(e,t,n){return e&&qe(e(t))||n(t)}function et(e,t){const n=e&&qe(e());return t(n||null)}function Q2(e,t,n){const o=e&&qe(e(t));return n(o||null)}function Qp(e){return!(e&&qe(e()))}const us=X({render(){var e,t;return(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e)}});function ds(e){return e.replace(/#|\(|\)|,|\s|\./g,"_")}function fs(e){const{left:t,right:n,top:o,bottom:r}=Zo(e);return`${o} ${n} ${r} ${t}`}function eg(e){let t=0;for(let n=0;n<e.length;++n)e[n]==="&"&&++t;return t}const Sc=/\s*,(?![^(]*\))\s*/g,tg=/\s+/g;function ng(e,t){const n=[];return t.split(Sc).forEach(o=>{let r=eg(o);if(r){if(r===1){e.forEach(i=>{n.push(o.replace("&",i))});return}}else{e.forEach(i=>{n.push((i&&i+" ")+o)});return}let a=[o];for(;r--;){const i=[];a.forEach(s=>{e.forEach(l=>{i.push(s.replace("&",l))})}),a=i}a.forEach(i=>n.push(i))}),n}function og(e,t){const n=[];return t.split(Sc).forEach(o=>{e.forEach(r=>{n.push((r&&r+" ")+o)})}),n}function rg(e){let t=[""];return e.forEach(n=>{n=n&&n.trim(),n&&(n.includes("&")?t=ng(t,n):t=og(t,n))}),t.join(", ").replace(tg," ")}function hs(e){if(!e)return;const t=e.parentElement;t&&t.removeChild(e)}function er(e,t){return(t??document.head).querySelector(`style[cssr-id="${e}"]`)}function ag(e){const t=document.createElement("style");return t.setAttribute("cssr-id",e),t}function uo(e){return e?/^\s*@(s|m)/.test(e):!1}const ig=/[A-Z]/g;function _c(e){return e.replace(ig,t=>"-"+t.toLowerCase())}function sg(e,t=" "){return typeof e=="object"&&e!==null?` { `+Object.entries(e).map(n=>t+` ${_c(n[0])}: ${n[1]};`).join(` `)+` `+t+"}":`: ${e};`}function lg(e,t,n){return typeof e=="function"?e({context:t.context,props:n}):e}function ms(e,t,n,o){if(!t)return"";const r=lg(t,n,o);if(!r)return"";if(typeof r=="string")return`${e} { ${r} }`;const a=Object.keys(r);if(a.length===0)return n.config.keepEmptyBlock?e+` { }`:"";const i=e?[e+" {"]:[];return a.forEach(s=>{const l=r[s];if(s==="raw"){i.push(` `+l+` `);return}s=_c(s),l!=null&&i.push(` ${s}${sg(l)}`)}),e&&i.push("}"),i.join(` `)}function la(e,t,n){e&&e.forEach(o=>{if(Array.isArray(o))la(o,t,n);else if(typeof o=="function"){const r=o(t);Array.isArray(r)?la(r,t,n):r&&n(r)}else o&&n(o)})}function Tc(e,t,n,o,r){const a=e.$;let i="";if(!a||typeof a=="string")uo(a)?i=a:t.push(a);else if(typeof a=="function"){const c=a({context:o.context,props:r});uo(c)?i=c:t.push(c)}else if(a.before&&a.before(o.context),!a.$||typeof a.$=="string")uo(a.$)?i=a.$:t.push(a.$);else if(a.$){const c=a.$({context:o.context,props:r});uo(c)?i=c:t.push(c)}const s=rg(t),l=ms(s,e.props,o,r);i?n.push(`${i} {`):l.length&&n.push(l),e.children&&la(e.children,{context:o.context,props:r},c=>{if(typeof c=="string"){const u=ms(s,{raw:c},o,r);n.push(u)}else Tc(c,t,n,o,r)}),t.pop(),i&&n.push("}"),a&&a.after&&a.after(o.context)}function cg(e,t,n){const o=[];return Tc(e,[],o,t,n),o.join(` `)}function Bn(e){for(var t=0,n,o=0,r=e.length;r>=4;++o,r-=4)n=e.charCodeAt(o)&255|(e.charCodeAt(++o)&255)<<8|(e.charCodeAt(++o)&255)<<16|(e.charCodeAt(++o)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(r){case 3:t^=(e.charCodeAt(o+2)&255)<<16;case 2:t^=(e.charCodeAt(o+1)&255)<<8;case 1:t^=e.charCodeAt(o)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}typeof window<"u"&&(window.__cssrContext={});function ug(e,t,n,o){const{els:r}=t;if(n===void 0)r.forEach(hs),t.els=[];else{const a=er(n,o);a&&r.includes(a)&&(hs(a),t.els=r.filter(i=>i!==a))}}function ps(e,t){e.push(t)}function dg(e,t,n,o,r,a,i,s,l){let c;if(n===void 0&&(c=t.render(o),n=Bn(c)),l){l.adapter(n,c??t.render(o));return}s===void 0&&(s=document.head);const u=er(n,s);if(u!==null&&!a)return u;const d=u??ag(n);if(c===void 0&&(c=t.render(o)),d.textContent=c,u!==null)return u;if(i){const f=s.querySelector(`meta[name="${i}"]`);if(f)return s.insertBefore(d,f),ps(t.els,d),d}return r?s.insertBefore(d,s.querySelector("style, link")):s.appendChild(d),ps(t.els,d),d}function fg(e){return cg(this,this.instance,e)}function hg(e={}){const{id:t,ssr:n,props:o,head:r=!1,force:a=!1,anchorMetaName:i,parent:s}=e;return dg(this.instance,this,t,o,r,a,i,s,n)}function mg(e={}){const{id:t,parent:n}=e;ug(this.instance,this,t,n)}const fo=function(e,t,n,o){return{instance:e,$:t,props:n,children:o,els:[],render:fg,mount:hg,unmount:mg}},pg=function(e,t,n,o){return Array.isArray(t)?fo(e,{$:null},null,t):Array.isArray(n)?fo(e,t,null,n):Array.isArray(o)?fo(e,t,n,o):fo(e,t,n,null)};function gg(e={}){const t={c:(...n)=>pg(t,...n),use:(n,...o)=>n.install(t,...o),find:er,context:{},config:e};return t}function vg(e,t){if(e===void 0)return!1;if(t){const{context:{ids:n}}=t;return n.has(e)}return er(e)!==null}function yg(e){let t=".",n="__",o="--",r;if(e){let m=e.blockPrefix;m&&(t=m),m=e.elementPrefix,m&&(n=m),m=e.modifierPrefix,m&&(o=m)}const a={install(m){r=m.c;const p=m.context;p.bem={},p.bem.b=null,p.bem.els=null}};function i(m){let p,g;return{before(v){p=v.bem.b,g=v.bem.els,v.bem.els=null},after(v){v.bem.b=p,v.bem.els=g},$({context:v,props:w}){return m=typeof m=="string"?m:m({context:v,props:w}),v.bem.b=m,`${(w==null?void 0:w.bPrefix)||t}${v.bem.b}`}}}function s(m){let p;return{before(g){p=g.bem.els},after(g){g.bem.els=p},$({context:g,props:v}){return m=typeof m=="string"?m:m({context:g,props:v}),g.bem.els=m.split(",").map(w=>w.trim()),g.bem.els.map(w=>`${(v==null?void 0:v.bPrefix)||t}${g.bem.b}${n}${w}`).join(", ")}}}function l(m){return{$({context:p,props:g}){m=typeof m=="string"?m:m({context:p,props:g});const v=m.split(",").map(S=>S.trim());function w(S){return v.map(C=>`&${(g==null?void 0:g.bPrefix)||t}${p.bem.b}${S!==void 0?`${n}${S}`:""}${o}${C}`).join(", ")}const x=p.bem.els;return x!==null?w(x[0]):w()}}}function c(m){return{$({context:p,props:g}){m=typeof m=="string"?m:m({context:p,props:g});const v=p.bem.els;return`&:not(${(g==null?void 0:g.bPrefix)||t}${p.bem.b}${v!==null&&v.length>0?`${n}${v[0]}`:""}${o}${m})`}}}return Object.assign(a,{cB:(...m)=>r(i(m[0]),m[1],m[2]),cE:(...m)=>r(s(m[0]),m[1],m[2]),cM:(...m)=>r(l(m[0]),m[1],m[2]),cNotM:(...m)=>r(c(m[0]),m[1],m[2])}),a}const bg="n",jn=`.${bg}-`,wg="__",xg="--",kc=gg(),Ec=yg({blockPrefix:jn,elementPrefix:wg,modifierPrefix:xg});kc.use(Ec);const{c:$,find:eS}=kc,{cB:H,cE:z,cM:L,cNotM:ca}=Ec;function $c(e){return $(({props:{bPrefix:t}})=>`${t||jn}modal, ${t||jn}drawer`,[e])}function Cg(e){return $(({props:{bPrefix:t}})=>`${t||jn}popover`,[e])}function Rc(e){return $(({props:{bPrefix:t}})=>`&${t||jn}modal`,e)}const tS=(...e)=>$(">",[H(...e)]);function U(e,t){return e+(t==="default"?"":t.replace(/^[a-z]/,n=>n.toUpperCase()))}const Cn=typeof document<"u"&&typeof window<"u",Mc=new WeakSet;function nS(e){Mc.add(e)}function Pg(e){return!Mc.has(e)}function Sg(e){const t=M(!!e.value);if(t.value)return en(t);const n=Be(e,o=>{o&&(t.value=!0,n())});return en(t)}function ua(e){const t=O(e),n=M(t.value);return Be(t,o=>{n.value=o}),typeof e=="function"?n:{__v_isRef:!0,get value(){return n.value},set value(o){e.set(o)}}}function Oc(){return Kn()!==null}const Ac=typeof window<"u";function _o(e){return e.composedPath()[0]}const _g={mousemoveoutside:new WeakMap,clickoutside:new WeakMap};function Tg(e,t,n){if(e==="mousemoveoutside"){const o=r=>{t.contains(_o(r))||n(r)};return{mousemove:o,touchstart:o}}else if(e==="clickoutside"){let o=!1;const r=i=>{o=!t.contains(_o(i))},a=i=>{o&&(t.contains(_o(i))||n(i))};return{mousedown:r,mouseup:a,touchstart:r,touchend:a}}return{}}function Dc(e,t,n){const o=_g[e];let r=o.get(t);r===void 0&&o.set(t,r=new WeakMap);let a=r.get(n);return a===void 0&&r.set(n,a=Tg(e,t,n)),a}function kg(e,t,n,o){if(e==="mousemoveoutside"||e==="clickoutside"){const r=Dc(e,t,n);return Object.keys(r).forEach(a=>{Ge(a,document,r[a],o)}),!0}return!1}function Eg(e,t,n,o){if(e==="mousemoveoutside"||e==="clickoutside"){const r=Dc(e,t,n);return Object.keys(r).forEach(a=>{Ie(a,document,r[a],o)}),!0}return!1}function $g(){if(typeof window>"u")return{on:()=>{},off:()=>{}};const e=new WeakMap,t=new WeakMap;function n(){e.set(this,!0)}function o(){e.set(this,!0),t.set(this,!0)}function r(y,P,E){const A=y[P];return y[P]=function(){return E.apply(y,arguments),A.apply(y,arguments)},y}function a(y,P){y[P]=Event.prototype[P]}const i=new WeakMap,s=Object.getOwnPropertyDescriptor(Event.prototype,"currentTarget");function l(){var y;return(y=i.get(this))!==null&&y!==void 0?y:null}function c(y,P){s!==void 0&&Object.defineProperty(y,"currentTarget",{configurable:!0,enumerable:!0,get:P??s.get})}const u={bubble:{},capture:{}},d={};function f(){const y=function(P){const{type:E,eventPhase:A,bubbles:B}=P,N=_o(P);if(A===2)return;const q=A===1?"capture":"bubble";let ee=N;const ne=[];for(;ee===null&&(ee=window),ne.push(ee),ee!==window;)ee=ee.parentNode||null;const J=u.capture[E],F=u.bubble[E];if(r(P,"stopPropagation",n),r(P,"stopImmediatePropagation",o),c(P,l),q==="capture"){if(J===void 0)return;for(let ce=ne.length-1;ce>=0&&!e.has(P);--ce){const ye=ne[ce],de=J.get(ye);if(de!==void 0){i.set(P,ye);for(const Ce of de){if(t.has(P))break;Ce(P)}}if(ce===0&&!B&&F!==void 0){const Ce=F.get(ye);if(Ce!==void 0)for(const Ee of Ce){if(t.has(P))break;Ee(P)}}}}else if(q==="bubble"){if(F===void 0)return;for(let ce=0;ce<ne.length&&!e.has(P);++ce){const ye=ne[ce],de=F.get(ye);if(de!==void 0){i.set(P,ye);for(const Ce of de){if(t.has(P))break;Ce(P)}}}}a(P,"stopPropagation"),a(P,"stopImmediatePropagation"),c(P)};return y.displayName="evtdUnifiedHandler",y}function h(){const y=function(P){const{type:E,eventPhase:A}=P;if(A!==2)return;const B=d[E];B!==void 0&&B.forEach(N=>N(P))};return y.displayName="evtdUnifiedWindowEventHandler",y}const m=f(),p=h();function g(y,P){const E=u[y];return E[P]===void 0&&(E[P]=new Map,window.addEventListener(P,m,y==="capture")),E[P]}function v(y){return d[y]===void 0&&(d[y]=new Set,window.addEventListener(y,p)),d[y]}function w(y,P){let E=y.get(P);return E===void 0&&y.set(P,E=new Set),E}function x(y,P,E,A){const B=u[P][E];if(B!==void 0){const N=B.get(y);if(N!==void 0&&N.has(A))return!0}return!1}function S(y,P){const E=d[y];return!!(E!==void 0&&E.has(P))}function C(y,P,E,A){let B;if(typeof A=="object"&&A.once===!0?B=J=>{_(y,P,B,A),E(J)}:B=E,kg(y,P,B,A))return;const q=A===!0||typeof A=="object"&&A.capture===!0?"capture":"bubble",ee=g(q,y),ne=w(ee,P);if(ne.has(B)||ne.add(B),P===window){const J=v(y);J.has(B)||J.add(B)}}function _(y,P,E,A){if(Eg(y,P,E,A))return;const N=A===!0||typeof A=="object"&&A.capture===!0,q=N?"capture":"bubble",ee=g(q,y),ne=w(ee,P);if(P===window&&!x(P,N?"bubble":"capture",y,E)&&S(y,E)){const F=d[y];F.delete(E),F.size===0&&(window.removeEventListener(y,p),d[y]=void 0)}ne.has(E)&&ne.delete(E),ne.size===0&&ee.delete(P),ee.size===0&&(window.removeEventListener(y,m,q==="capture"),u[q][y]=void 0)}return{on:C,off:_}}const{on:Ge,off:Ie}=$g(),Mn=M(null);function gs(e){if(e.clientX>0||e.clientY>0)Mn.value={x:e.clientX,y:e.clientY};else{const{target:t}=e;if(t instanceof Element){const{left:n,top:o,width:r,height:a}=t.getBoundingClientRect();n>0||o>0?Mn.value={x:n+r/2,y:o+a/2}:Mn.value={x:0,y:0}}else Mn.value=null}}let ho=0,vs=!0;function Fo(){if(!Ac)return en(M(null));ho===0&&Ge("click",document,gs,!0);const e=()=>{ho+=1};return vs&&(vs=Oc())?(tn(e),dt(()=>{ho-=1,ho===0&&Ie("click",document,gs,!0)})):e(),en(Mn)}const Rg=M(void 0);let mo=0;function ys(){Rg.value=Date.now()}let bs=!0;function No(e){if(!Ac)return en(M(!1));const t=M(!1);let n=null;function o(){n!==null&&window.clearTimeout(n)}function r(){o(),t.value=!0,n=window.setTimeout(()=>{t.value=!1},e)}mo===0&&Ge("click",window,ys,!0);const a=()=>{mo+=1,Ge("click",window,r,!0)};return bs&&(bs=Oc())?(tn(a),dt(()=>{mo-=1,mo===0&&Ie("click",window,ys,!0),Ie("click",window,r,!0),o()})):a(),en(t)}function Ka(){const e=M(!1);return xt(()=>{e.value=!0}),en(e)}const Mg=(typeof window>"u"?!1:/iPad|iPhone|iPod/.test(navigator.platform)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1)&&!window.MSStream;function Og(){return Mg}const Ag="n-modal-body",Dg="n-modal-provider",Ic="n-modal",Ig="n-drawer-body",oS="n-drawer",zg="n-popover-body";function ws(e,t,n="default"){const o=t[n];if(o===void 0)throw new Error(`[vueuc/${e}]: slot[${n}] is empty.`);return o()}function da(e,t=!0,n=[]){return e.forEach(o=>{if(o!==null){if(typeof o!="object"){(typeof o=="string"||typeof o=="number")&&n.push(Eo(String(o)));return}if(Array.isArray(o)){da(o,t,n);return}if(o.type===at){if(o.children===null)return;Array.isArray(o.children)&&da(o.children,t,n)}else o.type!==xa&&n.push(o)}}),n}function rS(e,t,n="default"){const o=t[n];if(o===void 0)throw new Error(`[vueuc/${e}]: slot[${n}] is empty.`);const r=da(o());if(r.length===1)return r[0];throw new Error(`[vueuc/${e}]: slot[${n}] should have exactly one child.`)}const ln="@@coContext",Lg={mounted(e,{value:t,modifiers:n}){e[ln]={handler:void 0},typeof t=="function"&&(e[ln].handler=t,Ge("clickoutside",e,t,{capture:n.capture}))},updated(e,{value:t,modifiers:n}){const o=e[ln];typeof t=="function"?o.handler?o.handler!==t&&(Ie("clickoutside",e,o.handler,{capture:n.capture}),o.handler=t,Ge("clickoutside",e,t,{capture:n.capture})):(e[ln].handler=t,Ge("clickoutside",e,t,{capture:n.capture})):o.handler&&(Ie("clickoutside",e,o.handler,{capture:n.capture}),o.handler=void 0)},unmounted(e,{modifiers:t}){const{handler:n}=e[ln];n&&Ie("clickoutside",e,n,{capture:t.capture}),e[ln].handler=void 0}};class Hg{constructor(){this.elementZIndex=new Map,this.nextZIndex=2e3}get elementCount(){return this.elementZIndex.size}ensureZIndex(t,n){const{elementZIndex:o}=this;if(n!==void 0){t.style.zIndex=`${n}`,o.delete(t);return}const{nextZIndex:r}=this;o.has(t)&&o.get(t)+1===this.nextZIndex||(t.style.zIndex=`${r}`,o.set(t,r),this.nextZIndex=r+1,this.squashState())}unregister(t,n){const{elementZIndex:o}=this;o.has(t)?o.delete(t):n===void 0&&void 0,this.squashState()}squashState(){const{elementCount:t}=this;t||(this.nextZIndex=2e3),this.nextZIndex-t>2500&&this.rearrange()}rearrange(){const t=Array.from(this.elementZIndex.entries());t.sort((n,o)=>n[1]-o[1]),this.nextZIndex=2e3,t.forEach(n=>{const o=n[0],r=this.nextZIndex++;`${r}`!==o.style.zIndex&&(o.style.zIndex=`${r}`)})}}const kr=new Hg,cn="@@ziContext",Fg={mounted(e,t){const{value:n={}}=t,{zIndex:o,enabled:r}=n;e[cn]={enabled:!!r,initialized:!1},r&&(kr.ensureZIndex(e,o),e[cn].initialized=!0)},updated(e,t){const{value:n={}}=t,{zIndex:o,enabled:r}=n,a=e[cn].enabled;r&&!a&&(kr.ensureZIndex(e,o),e[cn].initialized=!0),e[cn].enabled=!!r},unmounted(e,t){if(!e[cn].initialized)return;const{value:n={}}=t,{zIndex:o}=n;kr.unregister(e,o)}},Ng="@css-render/vue3-ssr";function Bg(e,t){return`<style cssr-id="${e}"> ${t} </style>`}function jg(e,t,n){const{styles:o,ids:r}=n;r.has(e)||o!==null&&(r.add(e),o.push(Bg(e,t)))}const Wg=typeof document<"u";function tr(){if(Wg)return;const e=te(Ng,null);if(e!==null)return{adapter:(t,n)=>jg(t,n,e),context:e}}function xs(e){return typeof e=="string"?document.querySelector(e):e()}const Vg=X({name:"LazyTeleport",props:{to:{type:[String,Object],default:void 0},disabled:Boolean,show:{type:Boolean,required:!0}},setup(e){return{showTeleport:Sg(ot(e,"show")),mergedTo:O(()=>{const{to:t}=e;return t??"body"})}},render(){return this.showTeleport?this.disabled?ws("lazy-teleport",this.$slots):b(Vo,{disabled:this.disabled,to:this.mergedTo},ws("lazy-teleport",this.$slots)):null}});var Jt=[],Ug=function(){return Jt.some(function(e){return e.activeTargets.length>0})},qg=function(){return Jt.some(function(e){return e.skippedTargets.length>0})},Cs="ResizeObserver loop completed with undelivered notifications.",Gg=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:Cs}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=Cs),window.dispatchEvent(e)},Wn;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(Wn||(Wn={}));var Qt=function(e){return Object.freeze(e)},Kg=function(){function e(t,n){this.inlineSize=t,this.blockSize=n,Qt(this)}return e}(),zc=function(){function e(t,n,o,r){return this.x=t,this.y=n,this.width=o,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,Qt(this)}return e.prototype.toJSON=function(){var t=this,n=t.x,o=t.y,r=t.top,a=t.right,i=t.bottom,s=t.left,l=t.width,c=t.height;return{x:n,y:o,top:r,right:a,bottom:i,left:s,width:l,height:c}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),Ya=function(e){return e instanceof SVGElement&&"getBBox"in e},Lc=function(e){if(Ya(e)){var t=e.getBBox(),n=t.width,o=t.height;return!n&&!o}var r=e,a=r.offsetWidth,i=r.offsetHeight;return!(a||i||e.getClientRects().length)},Ps=function(e){var t;if(e instanceof Element)return!0;var n=(t=e==null?void 0:e.ownerDocument)===null||t===void 0?void 0:t.defaultView;return!!(n&&e instanceof n.Element)},Yg=function(e){switch(e.tagName){case"INPUT":if(e.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},Hc=typeof window<"u"?window:{},po=new WeakMap,Ss=/auto|scroll/,Xg=/^tb|vertical/,Zg=/msie|trident/i.test(globalThis.navigator&&Hc.navigator.userAgent),it=function(e){return parseFloat(e||"0")},pn=function(e,t,n){return e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=!1),new Kg((n?t:e)||0,(n?e:t)||0)},_s=Qt({devicePixelContentBoxSize:pn(),borderBoxSize:pn(),contentBoxSize:pn(),contentRect:new zc(0,0,0,0)}),Fc=function(e,t){if(t===void 0&&(t=!1),po.has(e)&&!t)return po.get(e);if(Lc(e))return po.set(e,_s),_s;var n=getComputedStyle(e),o=Ya(e)&&e.ownerSVGElement&&e.getBBox(),r=!Zg&&n.boxSizing==="border-box",a=Xg.test(n.writingMode||""),i=!o&&Ss.test(n.overflowY||""),s=!o&&Ss.test(n.overflowX||""),l=o?0:it(n.paddingTop),c=o?0:it(n.paddingRight),u=o?0:it(n.paddingBottom),d=o?0:it(n.paddingLeft),f=o?0:it(n.borderTopWidth),h=o?0:it(n.borderRightWidth),m=o?0:it(n.borderBottomWidth),p=o?0:it(n.borderLeftWidth),g=d+c,v=l+u,w=p+h,x=f+m,S=s?e.offsetHeight-x-e.clientHeight:0,C=i?e.offsetWidth-w-e.clientWidth:0,_=r?g+w:0,y=r?v+x:0,P=o?o.width:it(n.width)-_-C,E=o?o.height:it(n.height)-y-S,A=P+g+C+w,B=E+v+S+x,N=Qt({devicePixelContentBoxSize:pn(Math.round(P*devicePixelRatio),Math.round(E*devicePixelRatio),a),borderBoxSize:pn(A,B,a),contentBoxSize:pn(P,E,a),contentRect:new zc(d,l,P,E)});return po.set(e,N),N},Nc=function(e,t,n){var o=Fc(e,n),r=o.borderBoxSize,a=o.contentBoxSize,i=o.devicePixelContentBoxSize;switch(t){case Wn.DEVICE_PIXEL_CONTENT_BOX:return i;case Wn.BORDER_BOX:return r;default:return a}},Jg=function(){function e(t){var n=Fc(t);this.target=t,this.contentRect=n.contentRect,this.borderBoxSize=Qt([n.borderBoxSize]),this.contentBoxSize=Qt([n.contentBoxSize]),this.devicePixelContentBoxSize=Qt([n.devicePixelContentBoxSize])}return e}(),Bc=function(e){if(Lc(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},Qg=function(){var e=1/0,t=[];Jt.forEach(function(i){if(i.activeTargets.length!==0){var s=[];i.activeTargets.forEach(function(c){var u=new Jg(c.target),d=Bc(c.target);s.push(u),c.lastReportedSize=Nc(c.target,c.observedBox),d<e&&(e=d)}),t.push(function(){i.callback.call(i.observer,s,i.observer)}),i.activeTargets.splice(0,i.activeTargets.length)}});for(var n=0,o=t;n<o.length;n++){var r=o[n];r()}return e},Ts=function(e){Jt.forEach(function(n){n.activeTargets.splice(0,n.activeTargets.length),n.skippedTargets.splice(0,n.skippedTargets.length),n.observationTargets.forEach(function(r){r.isActive()&&(Bc(r.target)>e?n.activeTargets.push(r):n.skippedTargets.push(r))})})},ev=function(){var e=0;for(Ts(e);Ug();)e=Qg(),Ts(e);return qg()&&Gg(),e>0},Er,jc=[],tv=function(){return jc.splice(0).forEach(function(e){return e()})},nv=function(e){if(!Er){var t=0,n=document.createTextNode(""),o={characterData:!0};new MutationObserver(function(){return tv()}).observe(n,o),Er=function(){n.textContent="".concat(t?t--:t++)}}jc.push(e),Er()},ov=function(e){nv(function(){requestAnimationFrame(e)})},To=0,rv=function(){return!!To},av=250,iv={attributes:!0,characterData:!0,childList:!0,subtree:!0},ks=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],Es=function(e){return e===void 0&&(e=0),Date.now()+e},$r=!1,sv=function(){function e(){var t=this;this.stopped=!0,this.listener=function(){return t.schedule()}}return e.prototype.run=function(t){var n=this;if(t===void 0&&(t=av),!$r){$r=!0;var o=Es(t);ov(function(){var r=!1;try{r=ev()}finally{if($r=!1,t=o-Es(),!rv())return;r?n.run(1e3):t>0?n.run(t):n.start()}})}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var t=this,n=function(){return t.observer&&t.observer.observe(document.body,iv)};document.body?n():Hc.addEventListener("DOMContentLoaded",n)},e.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),ks.forEach(function(n){return globalThis.addEventListener(n,t.listener,!0)}))},e.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),ks.forEach(function(n){return globalThis.removeEventListener(n,t.listener,!0)}),this.stopped=!0)},e}(),fa=new sv,$s=function(e){!To&&e>0&&fa.start(),To+=e,!To&&fa.stop()},lv=function(e){return!Ya(e)&&!Yg(e)&&getComputedStyle(e).display==="inline"},cv=function(){function e(t,n){this.target=t,this.observedBox=n||Wn.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var t=Nc(this.target,this.observedBox,!0);return lv(this.target)&&(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),uv=function(){function e(t,n){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=n}return e}(),go=new WeakMap,Rs=function(e,t){for(var n=0;n<e.length;n+=1)if(e[n].target===t)return n;return-1},vo=function(){function e(){}return e.connect=function(t,n){var o=new uv(t,n);go.set(t,o)},e.observe=function(t,n,o){var r=go.get(t),a=r.observationTargets.length===0;Rs(r.observationTargets,n)<0&&(a&&Jt.push(r),r.observationTargets.push(new cv(n,o&&o.box)),$s(1),fa.schedule())},e.unobserve=function(t,n){var o=go.get(t),r=Rs(o.observationTargets,n),a=o.observationTargets.length===1;r>=0&&(a&&Jt.splice(Jt.indexOf(o),1),o.observationTargets.splice(r,1),$s(-1))},e.disconnect=function(t){var n=this,o=go.get(t);o.observationTargets.slice().forEach(function(r){return n.unobserve(t,r.target)}),o.activeTargets.splice(0,o.activeTargets.length)},e}(),dv=function(){function e(t){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof t!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");vo.connect(this,t)}return e.prototype.observe=function(t,n){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Ps(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");vo.observe(this,t,n)},e.prototype.unobserve=function(t){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Ps(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");vo.unobserve(this,t)},e.prototype.disconnect=function(){vo.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();class fv{constructor(){this.handleResize=this.handleResize.bind(this),this.observer=new(typeof window<"u"&&window.ResizeObserver||dv)(this.handleResize),this.elHandlersMap=new Map}handleResize(t){for(const n of t){const o=this.elHandlersMap.get(n.target);o!==void 0&&o(n)}}registerHandler(t,n){this.elHandlersMap.set(t,n),this.observer.observe(t)}unregisterHandler(t){this.elHandlersMap.has(t)&&(this.elHandlersMap.delete(t),this.observer.unobserve(t))}}const Ms=new fv,Os=X({name:"ResizeObserver",props:{onResize:Function},setup(e){let t=!1;const n=Kn().proxy;function o(r){const{onResize:a}=e;a!==void 0&&a(r)}xt(()=>{const r=n.$el;if(r===void 0){return}if(r.nextElementSibling!==r.nextSibling&&r.nodeType===3&&r.nodeValue!==""){return}r.nextElementSibling!==null&&(Ms.registerHandler(r.nextElementSibling,o),t=!0)}),dt(()=>{t&&Ms.unregisterHandler(n.$el.nextElementSibling)})},render(){return Ku(this.$slots,"default")}});function Wc(e){return e instanceof HTMLElement}function Vc(e){for(let t=0;t<e.childNodes.length;t++){const n=e.childNodes[t];if(Wc(n)&&(qc(n)||Vc(n)))return!0}return!1}function Uc(e){for(let t=e.childNodes.length-1;t>=0;t--){const n=e.childNodes[t];if(Wc(n)&&(qc(n)||Uc(n)))return!0}return!1}function qc(e){if(!hv(e))return!1;try{e.focus({preventScroll:!0})}catch{}return document.activeElement===e}function hv(e){if(e.tabIndex>0||e.tabIndex===0&&e.getAttribute("tabIndex")!==null)return!0;if(e.getAttribute("disabled"))return!1;switch(e.nodeName){case"A":return!!e.href&&e.rel!=="ignore";case"INPUT":return e.type!=="hidden"&&e.type!=="file";case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}}let _n=[];const mv=X({name:"FocusTrap",props:{disabled:Boolean,active:Boolean,autoFocus:{type:Boolean,default:!0},onEsc:Function,initialFocusTo:String,finalFocusTo:String,returnFocusOnDeactivated:{type:Boolean,default:!0}},setup(e){const t=Jn(),n=M(null),o=M(null);let r=!1,a=!1;const i=typeof document>"u"?null:document.activeElement;function s(){return _n[_n.length-1]===t}function l(g){var v;g.code==="Escape"&&s()&&((v=e.onEsc)===null||v===void 0||v.call(e,g))}xt(()=>{Be(()=>e.active,g=>{g?(d(),Ge("keydown",document,l)):(Ie("keydown",document,l),r&&f())},{immediate:!0})}),dt(()=>{Ie("keydown",document,l),r&&f()});function c(g){if(!a&&s()){const v=u();if(v===null||v.contains(ja(g)))return;h("first")}}function u(){const g=n.value;if(g===null)return null;let v=g;for(;v=v.nextSibling,!(v===null||v instanceof Element&&v.tagName==="DIV"););return v}function d(){var g;if(!e.disabled){if(_n.push(t),e.autoFocus){const{initialFocusTo:v}=e;v===void 0?h("first"):(g=xs(v))===null||g===void 0||g.focus({preventScroll:!0})}r=!0,document.addEventListener("focus",c,!0)}}function f(){var g;if(e.disabled||(document.removeEventListener("focus",c,!0),_n=_n.filter(w=>w!==t),s()))return;const{finalFocusTo:v}=e;v!==void 0?(g=xs(v))===null||g===void 0||g.focus({preventScroll:!0}):e.returnFocusOnDeactivated&&i instanceof HTMLElement&&(a=!0,i.focus({preventScroll:!0}),a=!1)}function h(g){if(s()&&e.active){const v=n.value,w=o.value;if(v!==null&&w!==null){const x=u();if(x==null||x===w){a=!0,v.focus({preventScroll:!0}),a=!1;return}a=!0;const S=g==="first"?Vc(x):Uc(x);a=!1,S||(a=!0,v.focus({preventScroll:!0}),a=!1)}}}function m(g){if(a)return;const v=u();v!==null&&(g.relatedTarget!==null&&v.contains(g.relatedTarget)?h("last"):h("first"))}function p(g){a||(g.relatedTarget!==null&&g.relatedTarget===n.value?h("last"):h("first"))}return{focusableStartRef:n,focusableEndRef:o,focusableStyle:"position: absolute; height: 0; width: 0;",handleStartFocus:m,handleEndFocus:p}},render(){const{default:e}=this.$slots;if(e===void 0)return null;if(this.disabled)return e();const{active:t,focusableStyle:n}=this;return b(at,null,[b("div",{"aria-hidden":"true",tabindex:t?"0":"-1",ref:"focusableStartRef",style:n,onFocus:this.handleStartFocus}),e(),b("div",{"aria-hidden":"true",style:n,ref:"focusableEndRef",tabindex:t?"0":"-1",onFocus:this.handleEndFocus})])}});let un=0,As="",Ds="",Is="",zs="";const Ls=M("0px");function pv(e){if(typeof document>"u")return;const t=document.documentElement;let n,o=!1;const r=()=>{t.style.marginRight=As,t.style.overflow=Ds,t.style.overflowX=Is,t.style.overflowY=zs,Ls.value="0px"};xt(()=>{n=Be(e,a=>{if(a){if(!un){const i=window.innerWidth-t.offsetWidth;i>0&&(As=t.style.marginRight,t.style.marginRight=`${i}px`,Ls.value=`${i}px`),Ds=t.style.overflow,Is=t.style.overflowX,zs=t.style.overflowY,t.style.overflow="hidden",t.style.overflowX="hidden",t.style.overflowY="hidden"}o=!0,un++}else un--,un||r(),o=!1},{immediate:!0})}),dt(()=>{n==null||n(),o&&(un--,un||r(),o=!1)})}const Xa=M(!1);function Hs(){Xa.value=!0}function Fs(){Xa.value=!1}let Tn=0;function gv(){return Cn&&(tn(()=>{Tn||(window.addEventListener("compositionstart",Hs),window.addEventListener("compositionend",Fs)),Tn++}),dt(()=>{Tn<=1?(window.removeEventListener("compositionstart",Hs),window.removeEventListener("compositionend",Fs),Tn=0):Tn--})),Xa}function vv(e){const t={isDeactivated:!1};let n=!1;return fl(()=>{if(t.isDeactivated=!1,!n){n=!0;return}e()}),dl(()=>{t.isDeactivated=!0,n||(n=!0)}),t}const Ns="n-form-item";function yv(e,{defaultSize:t="medium",mergedSize:n,mergedDisabled:o}={}){const r=te(Ns,null);ue(Ns,null);const a=O(n?()=>n(r):()=>{const{size:l}=e;if(l)return l;if(r){const{mergedSize:c}=r;if(c.value!==void 0)return c.value}return t}),i=O(o?()=>o(r):()=>{const{disabled:l}=e;return l!==void 0?l:r?r.disabled.value:!1}),s=O(()=>{const{status:l}=e;return l||(r==null?void 0:r.mergedValidationStatus.value)});return dt(()=>{r&&r.restoreValidation()}),{mergedSizeRef:a,mergedDisabledRef:i,mergedStatusRef:s,nTriggerFormBlur(){r&&r.handleContentBlur()},nTriggerFormChange(){r&&r.handleContentChange()},nTriggerFormFocus(){r&&r.handleContentFocus()},nTriggerFormInput(){r&&r.handleContentInput()}}}const rn={fontFamily:'v-sans, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',fontFamilyMono:"v-mono, SFMono-Regular, Menlo, Consolas, Courier, monospace",fontWeight:"400",fontWeightStrong:"500",cubicBezierEaseInOut:"cubic-bezier(.4, 0, .2, 1)",cubicBezierEaseOut:"cubic-bezier(0, 0, .2, 1)",cubicBezierEaseIn:"cubic-bezier(.4, 0, 1, 1)",borderRadius:"3px",borderRadiusSmall:"2px",fontSize:"14px",fontSizeMini:"12px",fontSizeTiny:"12px",fontSizeSmall:"14px",fontSizeMedium:"14px",fontSizeLarge:"15px",fontSizeHuge:"16px",lineHeight:"1.6",heightMini:"16px",heightTiny:"22px",heightSmall:"28px",heightMedium:"34px",heightLarge:"40px",heightHuge:"46px"},{fontSize:bv,fontFamily:wv,lineHeight:xv}=rn,Gc=$("body",` margin: 0; font-size: ${bv}; font-family: ${wv}; line-height: ${xv}; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; `,[$("input",` font-family: inherit; font-size: inherit; `)]),wt="n-config-provider",Vn="naive-ui-style";function aS(e){return e}function Se(e,t,n,o,r,a){const i=tr(),s=te(wt,null);if(n){const c=()=>{const u=a==null?void 0:a.value;n.mount({id:u===void 0?t:u+t,head:!0,props:{bPrefix:u?`.${u}-`:void 0},anchorMetaName:Vn,ssr:i,parent:s==null?void 0:s.styleMountTarget}),s!=null&&s.preflightStyleDisabled||Gc.mount({id:"n-global",head:!0,anchorMetaName:Vn,ssr:i,parent:s==null?void 0:s.styleMountTarget})};i?c():tn(c)}return O(()=>{var c;const{theme:{common:u,self:d,peers:f={}}={},themeOverrides:h={},builtinThemeOverrides:m={}}=r,{common:p,peers:g}=h,{common:v=void 0,[e]:{common:w=void 0,self:x=void 0,peers:S={}}={}}=(s==null?void 0:s.mergedThemeRef.value)||{},{common:C=void 0,[e]:_={}}=(s==null?void 0:s.mergedThemeOverridesRef.value)||{},{common:y,peers:P={}}=_,E=$n({},u||w||v||o.common,C,y,p),A=$n((c=d||x||o.self)===null||c===void 0?void 0:c(E),m,_,h);return{common:E,self:A,peers:$n({},o.peers,S,f),peerOverrides:$n({},m.peers,P,g)}})}Se.props={theme:Object,themeOverrides:Object,builtinThemeOverrides:Object};const Bo="n";function Ke(e={},t={defaultBordered:!0}){const n=te(wt,null);return{inlineThemeDisabled:n==null?void 0:n.inlineThemeDisabled,mergedRtlRef:n==null?void 0:n.mergedRtlRef,mergedComponentPropsRef:n==null?void 0:n.mergedComponentPropsRef,mergedBreakpointsRef:n==null?void 0:n.mergedBreakpointsRef,mergedBorderedRef:O(()=>{var o,r;const{bordered:a}=e;return a!==void 0?a:(r=(o=n==null?void 0:n.mergedBorderedRef.value)!==null&&o!==void 0?o:t.defaultBordered)!==null&&r!==void 0?r:!0}),mergedClsPrefixRef:n?n.mergedClsPrefixRef:gn(Bo),namespaceRef:O(()=>n==null?void 0:n.mergedNamespaceRef.value)}}function iS(){const e=te(wt,null);return e?e.mergedClsPrefixRef:gn(Bo)}const Cv={name:"zh-CN",global:{undo:"撤销",redo:"重做",confirm:"确认",clear:"清除"},Popconfirm:{positiveText:"确认",negativeText:"取消"},Cascader:{placeholder:"请选择",loading:"加载中",loadingRequiredMessage:e=>`加载全部 ${e} 的子节点后才可选中`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy年",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"YYYY-w周",clear:"清除",now:"此刻",confirm:"确认",selectTime:"选择时间",selectDate:"选择日期",datePlaceholder:"选择日期",datetimePlaceholder:"选择日期时间",monthPlaceholder:"选择月份",yearPlaceholder:"选择年份",quarterPlaceholder:"选择季度",weekPlaceholder:"选择周",startDatePlaceholder:"开始日期",endDatePlaceholder:"结束日期",startDatetimePlaceholder:"开始日期时间",endDatetimePlaceholder:"结束日期时间",startMonthPlaceholder:"开始月份",endMonthPlaceholder:"结束月份",monthBeforeYear:!1,firstDayOfWeek:0,today:"今天"},DataTable:{checkTableAll:"选择全部表格数据",uncheckTableAll:"取消选择全部表格数据",confirm:"确认",clear:"重置"},LegacyTransfer:{sourceTitle:"源项",targetTitle:"目标项"},Transfer:{selectAll:"全选",clearAll:"清除",unselectAll:"取消全选",total:e=>`共 ${e} 项`,selected:e=>`已选 ${e} 项`},Empty:{description:"无数据"},Select:{placeholder:"请选择"},TimePicker:{placeholder:"请选择时间",positiveText:"确认",negativeText:"取消",now:"此刻",clear:"清除"},Pagination:{goto:"跳至",selectionSuffix:"页"},DynamicTags:{add:"添加"},Log:{loading:"加载中"},Input:{placeholder:"请输入"},InputNumber:{placeholder:"请输入"},DynamicInput:{create:"添加"},ThemeEditor:{title:"主题编辑器",clearAllVars:"清除全部变量",clearSearch:"清除搜索",filterCompName:"过滤组件名",filterVarName:"过滤变量名",import:"导入",export:"导出",restore:"恢复默认"},Image:{tipPrevious:"上一张(←)",tipNext:"下一张(→)",tipCounterclockwise:"向左旋转",tipClockwise:"向右旋转",tipZoomOut:"缩小",tipZoomIn:"放大",tipDownload:"下载",tipClose:"关闭(Esc)",tipOriginalSize:"缩放到原始尺寸"}},Bs={name:"en-US",global:{undo:"Undo",redo:"Redo",confirm:"Confirm",clear:"Clear"},Popconfirm:{positiveText:"Confirm",negativeText:"Cancel"},Cascader:{placeholder:"Please Select",loading:"Loading",loadingRequiredMessage:e=>`Please load all ${e}'s descendants before checking it.`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"YYYY-w",clear:"Clear",now:"Now",confirm:"Confirm",selectTime:"Select Time",selectDate:"Select Date",datePlaceholder:"Select Date",datetimePlaceholder:"Select Date and Time",monthPlaceholder:"Select Month",yearPlaceholder:"Select Year",quarterPlaceholder:"Select Quarter",weekPlaceholder:"Select Week",startDatePlaceholder:"Start Date",endDatePlaceholder:"End Date",startDatetimePlaceholder:"Start Date and Time",endDatetimePlaceholder:"End Date and Time",startMonthPlaceholder:"Start Month",endMonthPlaceholder:"End Month",monthBeforeYear:!0,firstDayOfWeek:6,today:"Today"},DataTable:{checkTableAll:"Select all in the table",uncheckTableAll:"Unselect all in the table",confirm:"Confirm",clear:"Clear"},LegacyTransfer:{sourceTitle:"Source",targetTitle:"Target"},Transfer:{selectAll:"Select all",unselectAll:"Unselect all",clearAll:"Clear",total:e=>`Total ${e} items`,selected:e=>`${e} items selected`},Empty:{description:"No Data"},Select:{placeholder:"Please Select"},TimePicker:{placeholder:"Select Time",positiveText:"OK",negativeText:"Cancel",now:"Now",clear:"Clear"},Pagination:{goto:"Goto",selectionSuffix:"page"},DynamicTags:{add:"Add"},Log:{loading:"Loading"},Input:{placeholder:"Please Input"},InputNumber:{placeholder:"Please Input"},DynamicInput:{create:"Create"},ThemeEditor:{title:"Theme Editor",clearAllVars:"Clear All Variables",clearSearch:"Clear Search",filterCompName:"Filter Component Name",filterVarName:"Filter Variable Name",import:"Import",export:"Export",restore:"Reset to Default"},Image:{tipPrevious:"Previous picture (←)",tipNext:"Next picture (→)",tipCounterclockwise:"Counterclockwise",tipClockwise:"Clockwise",tipZoomOut:"Zoom out",tipZoomIn:"Zoom in",tipDownload:"Download",tipClose:"Close (Esc)",tipOriginalSize:"Zoom to original size"}},Pv={name:"ru-RU",global:{undo:"Отменить",redo:"Вернуть",confirm:"Подтвердить",clear:"Очистить"},Popconfirm:{positiveText:"Подтвердить",negativeText:"Отмена"},Cascader:{placeholder:"Выбрать",loading:"Загрузка",loadingRequiredMessage:e=>`Загрузите все дочерние узлы ${e} прежде чем они станут необязательными`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"YYYY-w",clear:"Очистить",now:"Сейчас",confirm:"Подтвердить",selectTime:"Выбрать время",selectDate:"Выбрать дату",datePlaceholder:"Выбрать дату",datetimePlaceholder:"Выбрать дату и время",monthPlaceholder:"Выберите месяц",yearPlaceholder:"Выберите год",quarterPlaceholder:"Выберите квартал",weekPlaceholder:"Select Week",startDatePlaceholder:"Дата начала",endDatePlaceholder:"Дата окончания",startDatetimePlaceholder:"Дата и время начала",endDatetimePlaceholder:"Дата и время окончания",startMonthPlaceholder:"Начало месяца",endMonthPlaceholder:"Конец месяца",monthBeforeYear:!0,firstDayOfWeek:0,today:"Сегодня"},DataTable:{checkTableAll:"Выбрать все в таблице",uncheckTableAll:"Отменить все в таблице",confirm:"Подтвердить",clear:"Очистить"},LegacyTransfer:{sourceTitle:"Источник",targetTitle:"Назначение"},Transfer:{selectAll:"Выбрать все",unselectAll:"Снять все",clearAll:"Очистить",total:e=>`Всего ${e} элементов`,selected:e=>`${e} выбрано элементов`},Empty:{description:"Нет данных"},Select:{placeholder:"Выбрать"},TimePicker:{placeholder:"Выбрать время",positiveText:"OK",negativeText:"Отменить",now:"Сейчас",clear:"Очистить"},Pagination:{goto:"Перейти",selectionSuffix:"страница"},DynamicTags:{add:"Добавить"},Log:{loading:"Загрузка"},Input:{placeholder:"Ввести"},InputNumber:{placeholder:"Ввести"},DynamicInput:{create:"Создать"},ThemeEditor:{title:"Редактор темы",clearAllVars:"Очистить все",clearSearch:"Очистить поиск",filterCompName:"Фильтровать по имени компонента",filterVarName:"Фильтровать имена переменных",import:"Импорт",export:"Экспорт",restore:"Сбросить"},Image:{tipPrevious:"Предыдущее изображение (←)",tipNext:"Следующее изображение (→)",tipCounterclockwise:"Против часовой стрелки",tipClockwise:"По часовой стрелке",tipZoomOut:"Отдалить",tipZoomIn:"Приблизить",tipDownload:"Скачать",tipClose:"Закрыть (Esc)",tipOriginalSize:"Вернуть исходный размер"}},Sv={name:"de-DE",global:{undo:"Rückgängig",redo:"Wiederholen",confirm:"Bestätigen",clear:"Löschen"},Popconfirm:{positiveText:"Bestätigen",negativeText:"Abbrechen"},Cascader:{placeholder:"Bitte auswählen",loading:"Wird geladen",loadingRequiredMessage:e=>`Bitte laden Sie alle Unterpunkte von ${e}, bevor Sie es auswählen.`},Time:{dateFormat:"dd.MM.yyyy",dateTimeFormat:"dd.MM.yyyy HH:mm:ss"},DatePicker:{yearFormat:"yyyy",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"MM-yyyy",dateFormat:"dd.MM.yyyy",dateTimeFormat:"dd.MM.yyyy HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"YYYY-w",clear:"Löschen",now:"Jetzt",confirm:"Bestätigen",selectTime:"Uhrzeit auswählen",selectDate:"Datum auswählen",datePlaceholder:"Datum auswählen",datetimePlaceholder:"Datum und Uhrzeit auswählen",monthPlaceholder:"Monat auswählen",yearPlaceholder:"Jahr auswählen",quarterPlaceholder:"Quartal auswählen",weekPlaceholder:"Select Week",startDatePlaceholder:"Anfangsdatum",endDatePlaceholder:"Enddatum",startDatetimePlaceholder:"Anfangsdatum und Uhrzeit",endDatetimePlaceholder:"Enddatum und Uhrzeit",startMonthPlaceholder:"Anfangsmonat",endMonthPlaceholder:"Endmonat",monthBeforeYear:!0,firstDayOfWeek:0,today:"Heute"},DataTable:{checkTableAll:"Alles auswählen",uncheckTableAll:"Auswahl aufheben",confirm:"Bestätigen",clear:"Löschen"},LegacyTransfer:{sourceTitle:"Quelle",targetTitle:"Ziel"},Transfer:{selectAll:"Alle auswählen",unselectAll:"Alle abwählen",clearAll:"Leeren",total:e=>`Insgesamt ${e} Einträge`,selected:e=>`${e} Einträge ausgewählt`},Empty:{description:"Keine Daten"},Select:{placeholder:"Bitte auswählen"},TimePicker:{placeholder:"Uhrzeit auswählen",positiveText:"OK",negativeText:"Abbrechen",now:"Jetzt",clear:"Löschen"},Pagination:{goto:"Gehe zu",selectionSuffix:"Seite"},DynamicTags:{add:"Hinzufügen"},Log:{loading:"Wird geladen"},Input:{placeholder:"Bitte ausfüllen"},InputNumber:{placeholder:"Bitte ausfüllen"},DynamicInput:{create:"Erstellen"},ThemeEditor:{title:"Theme Editor",clearAllVars:"Alle Variablen löschen",clearSearch:"Suche löschen",filterCompName:"Filter Komponentenname",filterVarName:"Filter Variablenname",import:"Importieren",export:"Exportieren",restore:"Auf Standard zurücksetzen"},Image:{tipPrevious:"Vorheriges Bild (←)",tipNext:"Nächstes Bild (→)",tipCounterclockwise:"Gegen Uhrzeigersinn",tipClockwise:"Uhrzeigersinn",tipZoomOut:"Rauszoomen",tipZoomIn:"Reinzoomen",tipDownload:"Download",tipClose:"Schließen (Esc)",tipOriginalSize:"Zoom zurücksetzen"}},_v={name:"fr-FR",global:{undo:"Défaire",redo:"Refaire",confirm:"Confirmer",clear:"Effacer"},Popconfirm:{positiveText:"Confirmer",negativeText:"Annuler"},Cascader:{placeholder:"Sélectionner",loading:"Chargement",loadingRequiredMessage:e=>`Charger tous les enfants de ${e} avant de le sélectionner`},Time:{dateFormat:"dd/MM/yyyy",dateTimeFormat:"dd/MM/yyyy HH:mm:ss"},DatePicker:{yearFormat:"yyyy",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"MM/yyyy",dateFormat:"dd/MM/yyyy",dateTimeFormat:"dd/MM/yyyy HH:mm:ss",quarterFormat:"qqq yyyy",weekFormat:"YYYY-w",clear:"Effacer",now:"Maintenant",confirm:"Confirmer",selectTime:"Sélectionner l'heure",selectDate:"Sélectionner la date",datePlaceholder:"Sélectionner la date",datetimePlaceholder:"Sélectionner la date et l'heure",monthPlaceholder:"Sélectionner le mois",yearPlaceholder:"Sélectionner l'année",quarterPlaceholder:"Sélectionner le trimestre",weekPlaceholder:"Select Week",startDatePlaceholder:"Date de début",endDatePlaceholder:"Date de fin",startDatetimePlaceholder:"Date et heure de début",endDatetimePlaceholder:"Date et heure de fin",startMonthPlaceholder:"Mois de début",endMonthPlaceholder:"Mois de fin",monthBeforeYear:!0,firstDayOfWeek:0,today:"Aujourd'hui"},DataTable:{checkTableAll:"Sélectionner tout",uncheckTableAll:"Désélectionner tout",confirm:"Confirmer",clear:"Effacer"},LegacyTransfer:{sourceTitle:"Source",targetTitle:"Cible"},Transfer:{selectAll:"Sélectionner tout",unselectAll:"Désélectionner tout",clearAll:"Effacer",total:e=>`Total ${e} éléments`,selected:e=>`${e} éléments sélectionnés`},Empty:{description:"Aucune donnée"},Select:{placeholder:"Sélectionner"},TimePicker:{placeholder:"Sélectionner l'heure",positiveText:"OK",negativeText:"Annuler",now:"Maintenant",clear:"Effacer"},Pagination:{goto:"Aller à",selectionSuffix:"page"},DynamicTags:{add:"Ajouter"},Log:{loading:"Chargement"},Input:{placeholder:"Saisir"},InputNumber:{placeholder:"Saisir"},DynamicInput:{create:"Créer"},ThemeEditor:{title:"Éditeur de thème",clearAllVars:"Effacer toutes les variables",clearSearch:"Effacer la recherche",filterCompName:"Filtrer par nom de composant",filterVarName:"Filtrer par nom de variable",import:"Importer",export:"Exporter",restore:"Réinitialiser"},Image:{tipPrevious:"Image précédente (←)",tipNext:"Image suivante (→)",tipCounterclockwise:"Sens antihoraire",tipClockwise:"Sens horaire",tipZoomOut:"Dézoomer",tipZoomIn:"Zoomer",tipDownload:"Descargar",tipClose:"Fermer (Échap.)",tipOriginalSize:"Zoom à la taille originale"}},js={name:"es-AR",global:{undo:"Deshacer",redo:"Rehacer",confirm:"Confirmar",clear:"Borrar"},Popconfirm:{positiveText:"Confirmar",negativeText:"Cancelar"},Cascader:{placeholder:"Seleccionar por favor",loading:"Cargando",loadingRequiredMessage:e=>`Por favor, cargue los descendientes de ${e} antes de marcarlo.`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"YYYY-w",clear:"Borrar",now:"Ahora",confirm:"Confirmar",selectTime:"Seleccionar hora",selectDate:"Seleccionar fecha",datePlaceholder:"Seleccionar fecha",datetimePlaceholder:"Seleccionar fecha y hora",monthPlaceholder:"Seleccionar mes",yearPlaceholder:"Seleccionar año",quarterPlaceholder:"Seleccionar Trimestre",weekPlaceholder:"Select Week",startDatePlaceholder:"Fecha de inicio",endDatePlaceholder:"Fecha final",startDatetimePlaceholder:"Fecha y hora de inicio",endDatetimePlaceholder:"Fecha y hora final",monthBeforeYear:!0,startMonthPlaceholder:"Start Month",endMonthPlaceholder:"End Month",firstDayOfWeek:6,today:"Hoy"},DataTable:{checkTableAll:"Seleccionar todo de la tabla",uncheckTableAll:"Deseleccionar todo de la tabla",confirm:"Confirmar",clear:"Limpiar"},LegacyTransfer:{sourceTitle:"Fuente",targetTitle:"Objetivo"},Transfer:{selectAll:"Select all",unselectAll:"Unselect all",clearAll:"Clear",total:e=>`Total ${e} items`,selected:e=>`${e} items selected`},Empty:{description:"Sin datos"},Select:{placeholder:"Seleccionar por favor"},TimePicker:{placeholder:"Seleccionar hora",positiveText:"OK",negativeText:"Cancelar",now:"Ahora",clear:"Borrar"},Pagination:{goto:"Ir a",selectionSuffix:"página"},DynamicTags:{add:"Agregar"},Log:{loading:"Cargando"},Input:{placeholder:"Ingrese datos por favor"},InputNumber:{placeholder:"Ingrese datos por favor"},DynamicInput:{create:"Crear"},ThemeEditor:{title:"Editor de Tema",clearAllVars:"Limpiar todas las variables",clearSearch:"Limpiar búsqueda",filterCompName:"Filtro para nombre del componente",filterVarName:"Filtro para nombre de la variable",import:"Importar",export:"Exportar",restore:"Restablecer los valores por defecto"},Image:{tipPrevious:"Imagen anterior (←)",tipNext:"Siguiente imagen (→)",tipCounterclockwise:"Sentido antihorario",tipClockwise:"Sentido horario",tipZoomOut:"Alejar",tipZoomIn:"Acercar",tipDownload:"Descargar",tipClose:"Cerrar (Esc)",tipOriginalSize:"Zoom to original size"}},Tv={name:"it-IT",global:{undo:"Annulla",redo:"Ripeti",confirm:"Conferma",clear:"Cancella"},Popconfirm:{positiveText:"Conferma",negativeText:"Annulla"},Cascader:{placeholder:"Si prega di selezionare",loading:"Caricamento",loadingRequiredMessage:e=>`Carica tutti i discendenti di ${e} prima di controllarlo.`},Time:{dateFormat:"dd/MM/yyyy",dateTimeFormat:"dd/MM/yyyy HH:mm:ss"},DatePicker:{yearFormat:"yyyy",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"YYYY-w",clear:"Cancella",now:"Adesso",confirm:"Conferma",selectTime:"Seleziona ora",selectDate:"Seleziona data",datePlaceholder:"Seleziona data",datetimePlaceholder:"Seleziona data e ora",monthPlaceholder:"Seleziona mese",yearPlaceholder:"Seleziona anno",quarterPlaceholder:"Seleziona trimestre",weekPlaceholder:"Select Week",startDatePlaceholder:"Data inizio",endDatePlaceholder:"Data fine",startDatetimePlaceholder:"Data e ora di inizio",endDatetimePlaceholder:"Data e ora di fine",startMonthPlaceholder:"Mese di inizio",endMonthPlaceholder:"Mese di fine",monthBeforeYear:!0,firstDayOfWeek:0,today:"Oggi"},DataTable:{checkTableAll:"Seleziona tutto nella tabella",uncheckTableAll:"Deseleziona tutto nella tabella",confirm:"Conferma",clear:"Cancella"},LegacyTransfer:{sourceTitle:"Fonte",targetTitle:"Destinazione"},Transfer:{selectAll:"Seleziona tutto",unselectAll:"Deseleziona tutto",clearAll:"Pulisci",total:e=>e!==1?`${e} elementi in totale`:"1 elemento in totale",selected:e=>e!==1?`${e} elementi selezionati`:"1 elemento selezionato"},Empty:{description:"Nessun Dato"},Select:{placeholder:"Si prega di selezionare"},TimePicker:{placeholder:"Seleziona ora",positiveText:"OK",negativeText:"Annulla",now:"Ora",clear:"Cancella"},Pagination:{goto:"Vai a",selectionSuffix:"per pagina"},DynamicTags:{add:"Aggiungi"},Log:{loading:"Caricamento"},Input:{placeholder:"Si prega di inserire"},InputNumber:{placeholder:"Si prega di inserire"},DynamicInput:{create:"Crea"},ThemeEditor:{title:"Editor Tema",clearAllVars:"Cancella tutte le variabili",clearSearch:"Cancella ricerca",filterCompName:"Filtra componenti",filterVarName:"Filtra variabili",import:"Importa",export:"Esporta",restore:"Ripristina"},Image:{tipPrevious:"Immagine precedente (←)",tipNext:"Immagine successiva (→)",tipCounterclockwise:"Ruota a sinistra",tipClockwise:"Ruota a destra",tipZoomOut:"Ingrandisci",tipZoomIn:"Riduci",tipDownload:"Download",tipClose:"Chiudi (Esc)",tipOriginalSize:"Torna alla dimensione originale"}},kv={name:"en-GB",global:{undo:"Undo",redo:"Redo",confirm:"Confirm",clear:"Clear"},Popconfirm:{positiveText:"Confirm",negativeText:"Cancel"},Cascader:{placeholder:"Please Select",loading:"Loading",loadingRequiredMessage:e=>`Please load all ${e}'s descendants before checking it.`},Time:{dateFormat:"yyyy/MM/dd",dateTimeFormat:"yyyy/MM/dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy/MM",dateFormat:"yyyy/MM/dd",dateTimeFormat:"yyyy/MM/dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"YYYY-w",clear:"Clear",now:"Now",confirm:"Confirm",selectTime:"Select Time",selectDate:"Select Date",datePlaceholder:"Select Date",datetimePlaceholder:"Select Date and Time",monthPlaceholder:"Select Month",yearPlaceholder:"Select Year",quarterPlaceholder:"Select Quarter",weekPlaceholder:"Select Week",startDatePlaceholder:"Start Date",endDatePlaceholder:"End Date",startDatetimePlaceholder:"Start Date and Time",endDatetimePlaceholder:"End Date and Time",startMonthPlaceholder:"Start Month",endMonthPlaceholder:"End Month",monthBeforeYear:!0,firstDayOfWeek:0,today:"Today"},DataTable:{checkTableAll:"Select all in the table",uncheckTableAll:"Unselect all in the table",confirm:"Confirm",clear:"Clear"},LegacyTransfer:{sourceTitle:"Source",targetTitle:"Target"},Transfer:{selectAll:"Select all",unselectAll:"Unselect all",clearAll:"Clear",total:e=>`Total ${e} items`,selected:e=>`${e} items selected`},Empty:{description:"No Data"},Select:{placeholder:"Please Select"},TimePicker:{placeholder:"Select Time",positiveText:"OK",negativeText:"Cancel",now:"Now",clear:"Clear"},Pagination:{goto:"Goto",selectionSuffix:"page"},DynamicTags:{add:"Add"},Log:{loading:"Loading"},Input:{placeholder:"Please Input"},InputNumber:{placeholder:"Please Input"},DynamicInput:{create:"Create"},ThemeEditor:{title:"Theme Editor",clearAllVars:"Clear All Variables",clearSearch:"Clear Search",filterCompName:"Filter Component Name",filterVarName:"Filter Variable Name",import:"Import",export:"Export",restore:"Reset to Default"},Image:{tipPrevious:"Previous picture (←)",tipNext:"Next picture (→)",tipCounterclockwise:"Counterclockwise",tipClockwise:"Clockwise",tipZoomOut:"Zoom out",tipZoomIn:"Zoom in",tipDownload:"Download",tipClose:"Close (Esc)",tipOriginalSize:"Zoom to original size"}},Rr={name:"ar-DZ",global:{undo:"تراجع",redo:"إعادة",confirm:"تأكيد",clear:"مسح"},Popconfirm:{positiveText:"تأكيد",negativeText:"إلغاء"},Cascader:{placeholder:"يرجى التحديد",loading:"جاري التحميل",loadingRequiredMessage:e=>`يرجى تحميل جميع الـ ${e} الفرعية قبل التحقق منها.`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"YYYY-w",clear:"مسح",now:"الآن",confirm:"تأكيد",selectTime:"إختيار الوقت",selectDate:"إختيار التاريخ",datePlaceholder:"إختيار التاريخ",datetimePlaceholder:"إختيار التاريخ والوقت",monthPlaceholder:"إختيار الشهر",yearPlaceholder:"إختيار السنة",quarterPlaceholder:"إختيار الربع",weekPlaceholder:"Select Week",startDatePlaceholder:"تاريخ البدء",endDatePlaceholder:"تاريخ الإنتهاء",startDatetimePlaceholder:"تاريخ ووقت البدء",endDatetimePlaceholder:"تاريخ ووقت الإنتهاء",startMonthPlaceholder:"شهر البدء",endMonthPlaceholder:"شهر الإنتهاء",monthBeforeYear:!0,firstDayOfWeek:6,today:"اليوم"},DataTable:{checkTableAll:"تحديد كل العناصر في الجدول",uncheckTableAll:"إلغاء تحديد كل العناصر في الجدول",confirm:"تأكيد",clear:"مسح"},LegacyTransfer:{sourceTitle:"المصدر",targetTitle:"الهدف"},Transfer:{selectAll:"تحديد الكل",unselectAll:"إلغاء تحديد الكل",clearAll:"مسح",total:e=>`إجمالي ${e} عنصر`,selected:e=>`${e} عنصر محدد`},Empty:{description:"لا توجد بيانات"},Select:{placeholder:"يرجى الإختيار"},TimePicker:{placeholder:"إختيار الوقت",positiveText:"تأكيد",negativeText:"إلغاء",now:"الآن",clear:"مسح"},Pagination:{goto:"إذهب إلى",selectionSuffix:"صفحة"},DynamicTags:{add:"إضافة"},Log:{loading:"جاري التحميل"},Input:{placeholder:"يرجى الإدخال"},InputNumber:{placeholder:"يرجى الإدخال"},DynamicInput:{create:"إنشاء"},ThemeEditor:{title:"محرر النمط",clearAllVars:"مسح جميع المتغيرات",clearSearch:"مسح البحث",filterCompName:"تصفية إسم المكون",filterVarName:"تصفية إسم المتغير",import:"إستيراد",export:"تصدير",restore:"إعادة تعيين إلى الإفتراضي"},Image:{tipPrevious:"(→) الصورة السابقة",tipNext:"(←) الصورة التالية",tipCounterclockwise:"عكس عقارب الساعة",tipClockwise:"إتجاه عقارب الساعة",tipZoomOut:"تكبير",tipZoomIn:"تصغير",tipDownload:"للتحميل",tipClose:"إغلاق (Esc زر)",tipOriginalSize:"تكبير إلى الحجم الأصلي"}},Ev={name:"tr-TR",global:{undo:"Vazgeç",redo:"Tekrar Dene",confirm:"Kabul Et",clear:"Temizle"},Popconfirm:{positiveText:"Kabul Et",negativeText:"İptal"},Cascader:{placeholder:"Lütfen Seçin",loading:"Yükleniyor",loadingRequiredMessage:e=>`Lütfen kontrol etmeden önce tüm ${e}ları yükleyin.`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"YYYY-w",clear:"Temizle",now:"Şimdi",confirm:"Onayla",selectTime:"Saat Seçin",selectDate:"Tarih Seçin",datePlaceholder:"Tarih Seç",datetimePlaceholder:"Tarih ve Saat Seçin",monthPlaceholder:"Ay Seçin",yearPlaceholder:"Yıl Seçin",quarterPlaceholder:"Mevsim Seçin",weekPlaceholder:"Select Week",startDatePlaceholder:"Başlangıç Tarihi",endDatePlaceholder:"Bitiş Tarihi",startDatetimePlaceholder:"Başlangıç Tarih ve Saati",endDatetimePlaceholder:"Bitiş Tarihi ve Saati",startMonthPlaceholder:"Başlangıç Ayı",endMonthPlaceholder:"Bitiş Ayı",monthBeforeYear:!0,firstDayOfWeek:6,today:"Bugün"},DataTable:{checkTableAll:"Tüm Tabloyu Seç",uncheckTableAll:"Tablodaki tüm seçimleri kaldır",confirm:"Onayla",clear:"Temizle"},LegacyTransfer:{sourceTitle:"Kaynak",targetTitle:"Hedef"},Transfer:{selectAll:"Tümünü Seç",unselectAll:"Tüm Seçimi Kaldır",clearAll:"Temizle",total:e=>`Toplam ${e} öğe`,selected:e=>`${e} öğe Seçili`},Empty:{description:"Veri Yok"},Select:{placeholder:"Lütfen seçin"},TimePicker:{placeholder:"Saat Seç",positiveText:"Tamam",negativeText:"İptal",now:"Şimdi",clear:"Temizle"},Pagination:{goto:"git",selectionSuffix:"sayfa"},DynamicTags:{add:"Ekle"},Log:{loading:"Yükleniyor"},Input:{placeholder:"Lütfen Girin"},InputNumber:{placeholder:"Lütfen Girin"},DynamicInput:{create:"Oluştur"},ThemeEditor:{title:"Tema Editörü",clearAllVars:"Tüm Değişkenleri Temizle",clearSearch:"Aramayı Temizle",filterCompName:"Bileşen Adını Filtrele",filterVarName:"Değişken Adını Filtrele",import:"Ekle",export:"Çıkar",restore:"Varsayılana sıfırla"},Image:{tipPrevious:"Önceki resim (←)",tipNext:"Sonraki resim (→)",tipCounterclockwise:"saat yönünün tersine",tipClockwise:"saat yönününe",tipZoomOut:"Uzaklaştır",tipZoomIn:"Yakınlaştır",tipDownload:"indir",tipClose:"Kapat (Esc)",tipOriginalSize:"Orijinal boyuta yakınlaştır"}};function ie(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}function G(e){return(t,n)=>{const o=n!=null&&n.context?String(n.context):"standalone";let r;if(o==="formatting"&&e.formattingValues){const i=e.defaultFormattingWidth||e.defaultWidth,s=n!=null&&n.width?String(n.width):i;r=e.formattingValues[s]||e.formattingValues[i]}else{const i=e.defaultWidth,s=n!=null&&n.width?String(n.width):e.defaultWidth;r=e.values[s]||e.values[i]}const a=e.argumentCallback?e.argumentCallback(t):t;return r[a]}}function K(e){return(t,n={})=>{const o=n.width,r=o&&e.matchPatterns[o]||e.matchPatterns[e.defaultMatchWidth],a=t.match(r);if(!a)return null;const i=a[0],s=o&&e.parsePatterns[o]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(s)?Rv(s,d=>d.test(i)):$v(s,d=>d.test(i));let c;c=e.valueCallback?e.valueCallback(l):l,c=n.valueCallback?n.valueCallback(c):c;const u=t.slice(i.length);return{value:c,rest:u}}}function $v(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function Rv(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}function Pt(e){return(t,n={})=>{const o=t.match(e.matchPattern);if(!o)return null;const r=o[0],a=t.match(e.parsePattern);if(!a)return null;let i=e.valueCallback?e.valueCallback(a[0]):a[0];i=n.valueCallback?n.valueCallback(i):i;const s=t.slice(r.length);return{value:i,rest:s}}}const Mv={lessThanXSeconds:{one:"أقل من ثانية واحدة",two:"أقل من ثانتين",threeToTen:"أقل من {{count}} ثواني",other:"أقل من {{count}} ثانية"},xSeconds:{one:"ثانية واحدة",two:"ثانتين",threeToTen:"{{count}} ثواني",other:"{{count}} ثانية"},halfAMinute:"نصف دقيقة",lessThanXMinutes:{one:"أقل من دقيقة",two:"أقل من دقيقتين",threeToTen:"أقل من {{count}} دقائق",other:"أقل من {{count}} دقيقة"},xMinutes:{one:"دقيقة واحدة",two:"دقيقتين",threeToTen:"{{count}} دقائق",other:"{{count}} دقيقة"},aboutXHours:{one:"ساعة واحدة تقريباً",two:"ساعتين تقريباً",threeToTen:"{{count}} ساعات تقريباً",other:"{{count}} ساعة تقريباً"},xHours:{one:"ساعة واحدة",two:"ساعتين",threeToTen:"{{count}} ساعات",other:"{{count}} ساعة"},xDays:{one:"يوم واحد",two:"يومين",threeToTen:"{{count}} أيام",other:"{{count}} يوم"},aboutXWeeks:{one:"أسبوع واحد تقريباً",two:"أسبوعين تقريباً",threeToTen:"{{count}} أسابيع تقريباً",other:"{{count}} أسبوع تقريباً"},xWeeks:{one:"أسبوع واحد",two:"أسبوعين",threeToTen:"{{count}} أسابيع",other:"{{count}} أسبوع"},aboutXMonths:{one:"شهر واحد تقريباً",two:"شهرين تقريباً",threeToTen:"{{count}} أشهر تقريباً",other:"{{count}} شهر تقريباً"},xMonths:{one:"شهر واحد",two:"شهرين",threeToTen:"{{count}} أشهر",other:"{{count}} شهر"},aboutXYears:{one:"عام واحد تقريباً",two:"عامين تقريباً",threeToTen:"{{count}} أعوام تقريباً",other:"{{count}} عام تقريباً"},xYears:{one:"عام واحد",two:"عامين",threeToTen:"{{count}} أعوام",other:"{{count}} عام"},overXYears:{one:"أكثر من عام",two:"أكثر من عامين",threeToTen:"أكثر من {{count}} أعوام",other:"أكثر من {{count}} عام"},almostXYears:{one:"عام واحد تقريباً",two:"عامين تقريباً",threeToTen:"{{count}} أعوام تقريباً",other:"{{count}} عام تقريباً"}},Ov=(e,t,n)=>{n=n||{};const o=Mv[e];let r;return typeof o=="string"?r=o:t===1?r=o.one:t===2?r=o.two:t<=10?r=o.threeToTen.replace("{{count}}",String(t)):r=o.other.replace("{{count}}",String(t)),n.addSuffix?n.comparison&&n.comparison>0?"في خلال "+r:"منذ "+r:r},Av={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Dv={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Iv={full:"{{date}} 'عند' {{time}}",long:"{{date}} 'عند' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},zv={date:ie({formats:Av,defaultWidth:"full"}),time:ie({formats:Dv,defaultWidth:"full"}),dateTime:ie({formats:Iv,defaultWidth:"full"})},Lv={lastWeek:"'أخر' eeee 'عند' p",yesterday:"'أمس عند' p",today:"'اليوم عند' p",tomorrow:"'غداً عند' p",nextWeek:"eeee 'عند' p",other:"P"},Hv=(e,t,n,o)=>Lv[e],Fv={narrow:["ق","ب"],abbreviated:["ق.م.","ب.م."],wide:["قبل الميلاد","بعد الميلاد"]},Nv={narrow:["1","2","3","4"],abbreviated:["ر1","ر2","ر3","ر4"],wide:["الربع الأول","الربع الثاني","الربع الثالث","الربع الرابع"]},Bv={narrow:["ج","ف","م","أ","م","ج","ج","أ","س","أ","ن","د"],abbreviated:["جانـ","فيفـ","مارس","أفريل","مايـ","جوانـ","جويـ","أوت","سبتـ","أكتـ","نوفـ","ديسـ"],wide:["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويلية","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"]},jv={narrow:["ح","ن","ث","ر","خ","ج","س"],short:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"],abbreviated:["أحد","اثنـ","ثلا","أربـ","خميـ","جمعة","سبت"],wide:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"]},Wv={narrow:{am:"ص",pm:"م",midnight:"ن",noon:"ظ",morning:"صباحاً",afternoon:"بعد الظهر",evening:"مساءاً",night:"ليلاً"},abbreviated:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",morning:"صباحاً",afternoon:"بعد الظهر",evening:"مساءاً",night:"ليلاً"},wide:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",morning:"صباحاً",afternoon:"بعد الظهر",evening:"مساءاً",night:"ليلاً"}},Vv={narrow:{am:"ص",pm:"م",midnight:"ن",noon:"ظ",morning:"في الصباح",afternoon:"بعد الظـهر",evening:"في المساء",night:"في الليل"},abbreviated:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",morning:"في الصباح",afternoon:"بعد الظهر",evening:"في المساء",night:"في الليل"},wide:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",morning:"صباحاً",afternoon:"بعد الظـهر",evening:"في المساء",night:"في الليل"}},Uv=e=>String(e),qv={ordinalNumber:Uv,era:G({values:Fv,defaultWidth:"wide"}),quarter:G({values:Nv,defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:G({values:Bv,defaultWidth:"wide"}),day:G({values:jv,defaultWidth:"wide"}),dayPeriod:G({values:Wv,defaultWidth:"wide",formattingValues:Vv,defaultFormattingWidth:"wide"})},Gv=/^(\d+)(th|st|nd|rd)?/i,Kv=/\d+/i,Yv={narrow:/^(ق|ب)/i,abbreviated:/^(ق\.?\s?م\.?|ق\.?\s?م\.?\s?|a\.?\s?d\.?|c\.?\s?)/i,wide:/^(قبل الميلاد|قبل الميلاد|بعد الميلاد|بعد الميلاد)/i},Xv={any:[/^قبل/i,/^بعد/i]},Zv={narrow:/^[1234]/i,abbreviated:/^ر[1234]/i,wide:/^الربع [1234]/i},Jv={any:[/1/i,/2/i,/3/i,/4/i]},Qv={narrow:/^[جفمأسند]/i,abbreviated:/^(جان|فيف|مار|أفر|ماي|جوا|جوي|أوت|سبت|أكت|نوف|ديس)/i,wide:/^(جانفي|فيفري|مارس|أفريل|ماي|جوان|جويلية|أوت|سبتمبر|أكتوبر|نوفمبر|ديسمبر)/i},e0={narrow:[/^ج/i,/^ف/i,/^م/i,/^أ/i,/^م/i,/^ج/i,/^ج/i,/^أ/i,/^س/i,/^أ/i,/^ن/i,/^د/i],any:[/^جان/i,/^فيف/i,/^مار/i,/^أفر/i,/^ماي/i,/^جوا/i,/^جوي/i,/^أوت/i,/^سبت/i,/^أكت/i,/^نوف/i,/^ديس/i]},t0={narrow:/^[حنثرخجس]/i,short:/^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/i,abbreviated:/^(أحد|اثن|ثلا|أرب|خمي|جمعة|سبت)/i,wide:/^(الأحد|الاثنين|الثلاثاء|الأربعاء|الخميس|الجمعة|السبت)/i},n0={narrow:[/^ح/i,/^ن/i,/^ث/i,/^ر/i,/^خ/i,/^ج/i,/^س/i],wide:[/^الأحد/i,/^الاثنين/i,/^الثلاثاء/i,/^الأربعاء/i,/^الخميس/i,/^الجمعة/i,/^السبت/i],any:[/^أح/i,/^اث/i,/^ث/i,/^أر/i,/^خ/i,/^ج/i,/^س/i]},o0={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},r0={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},a0={ordinalNumber:Pt({matchPattern:Gv,parsePattern:Kv,valueCallback:e=>parseInt(e,10)}),era:K({matchPatterns:Yv,defaultMatchWidth:"wide",parsePatterns:Xv,defaultParseWidth:"any"}),quarter:K({matchPatterns:Zv,defaultMatchWidth:"wide",parsePatterns:Jv,defaultParseWidth:"any",valueCallback:e=>Number(e)+1}),month:K({matchPatterns:Qv,defaultMatchWidth:"wide",parsePatterns:e0,defaultParseWidth:"any"}),day:K({matchPatterns:t0,defaultMatchWidth:"wide",parsePatterns:n0,defaultParseWidth:"any"}),dayPeriod:K({matchPatterns:o0,defaultMatchWidth:"any",parsePatterns:r0,defaultParseWidth:"any"})},i0={code:"ar-DZ",formatDistance:Ov,formatLong:zv,formatRelative:Hv,localize:qv,match:a0,options:{weekStartsOn:0,firstWeekContainsDate:1}};function s0(e){const t=Object.prototype.toString.call(e);return e instanceof Date||typeof e=="object"&&t==="[object Date]"?new e.constructor(+e):typeof e=="number"||t==="[object Number]"||typeof e=="string"||t==="[object String]"?new Date(e):new Date(NaN)}let l0={};function c0(){return l0}function Ws(e,t){var s,l,c,u;const n=c0(),o=(t==null?void 0:t.weekStartsOn)??((l=(s=t==null?void 0:t.locale)==null?void 0:s.options)==null?void 0:l.weekStartsOn)??n.weekStartsOn??((u=(c=n.locale)==null?void 0:c.options)==null?void 0:u.weekStartsOn)??0,r=s0(e),a=r.getDay(),i=(a<o?7:0)+a-o;return r.setDate(r.getDate()-i),r.setHours(0,0,0,0),r}function Un(e,t,n){const o=Ws(e,n),r=Ws(t,n);return+o==+r}const Vs={lessThanXSeconds:{standalone:{one:"weniger als 1 Sekunde",other:"weniger als {{count}} Sekunden"},withPreposition:{one:"weniger als 1 Sekunde",other:"weniger als {{count}} Sekunden"}},xSeconds:{standalone:{one:"1 Sekunde",other:"{{count}} Sekunden"},withPreposition:{one:"1 Sekunde",other:"{{count}} Sekunden"}},halfAMinute:{standalone:"eine halbe Minute",withPreposition:"einer halben Minute"},lessThanXMinutes:{standalone:{one:"weniger als 1 Minute",other:"weniger als {{count}} Minuten"},withPreposition:{one:"weniger als 1 Minute",other:"weniger als {{count}} Minuten"}},xMinutes:{standalone:{one:"1 Minute",other:"{{count}} Minuten"},withPreposition:{one:"1 Minute",other:"{{count}} Minuten"}},aboutXHours:{standalone:{one:"etwa 1 Stunde",other:"etwa {{count}} Stunden"},withPreposition:{one:"etwa 1 Stunde",other:"etwa {{count}} Stunden"}},xHours:{standalone:{one:"1 Stunde",other:"{{count}} Stunden"},withPreposition:{one:"1 Stunde",other:"{{count}} Stunden"}},xDays:{standalone:{one:"1 Tag",other:"{{count}} Tage"},withPreposition:{one:"1 Tag",other:"{{count}} Tagen"}},aboutXWeeks:{standalone:{one:"etwa 1 Woche",other:"etwa {{count}} Wochen"},withPreposition:{one:"etwa 1 Woche",other:"etwa {{count}} Wochen"}},xWeeks:{standalone:{one:"1 Woche",other:"{{count}} Wochen"},withPreposition:{one:"1 Woche",other:"{{count}} Wochen"}},aboutXMonths:{standalone:{one:"etwa 1 Monat",other:"etwa {{count}} Monate"},withPreposition:{one:"etwa 1 Monat",other:"etwa {{count}} Monaten"}},xMonths:{standalone:{one:"1 Monat",other:"{{count}} Monate"},withPreposition:{one:"1 Monat",other:"{{count}} Monaten"}},aboutXYears:{standalone:{one:"etwa 1 Jahr",other:"etwa {{count}} Jahre"},withPreposition:{one:"etwa 1 Jahr",other:"etwa {{count}} Jahren"}},xYears:{standalone:{one:"1 Jahr",other:"{{count}} Jahre"},withPreposition:{one:"1 Jahr",other:"{{count}} Jahren"}},overXYears:{standalone:{one:"mehr als 1 Jahr",other:"mehr als {{count}} Jahre"},withPreposition:{one:"mehr als 1 Jahr",other:"mehr als {{count}} Jahren"}},almostXYears:{standalone:{one:"fast 1 Jahr",other:"fast {{count}} Jahre"},withPreposition:{one:"fast 1 Jahr",other:"fast {{count}} Jahren"}}},u0=(e,t,n)=>{let o;const r=n!=null&&n.addSuffix?Vs[e].withPreposition:Vs[e].standalone;return typeof r=="string"?o=r:t===1?o=r.one:o=r.other.replace("{{count}}",String(t)),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+o:"vor "+o:o},d0={full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"dd.MM.y"},f0={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},h0={full:"{{date}} 'um' {{time}}",long:"{{date}} 'um' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},m0={date:ie({formats:d0,defaultWidth:"full"}),time:ie({formats:f0,defaultWidth:"full"}),dateTime:ie({formats:h0,defaultWidth:"full"})},p0={lastWeek:"'letzten' eeee 'um' p",yesterday:"'gestern um' p",today:"'heute um' p",tomorrow:"'morgen um' p",nextWeek:"eeee 'um' p",other:"P"},g0=(e,t,n,o)=>p0[e],v0={narrow:["v.Chr.","n.Chr."],abbreviated:["v.Chr.","n.Chr."],wide:["vor Christus","nach Christus"]},y0={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. Quartal","2. Quartal","3. Quartal","4. Quartal"]},ha={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],wide:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]},b0={narrow:ha.narrow,abbreviated:["Jan.","Feb.","März","Apr.","Mai","Juni","Juli","Aug.","Sep.","Okt.","Nov.","Dez."],wide:ha.wide},w0={narrow:["S","M","D","M","D","F","S"],short:["So","Mo","Di","Mi","Do","Fr","Sa"],abbreviated:["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],wide:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"]},x0={narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachm.",evening:"Abend",night:"Nacht"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"}},C0={narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachm.",evening:"abends",night:"nachts"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"}},P0=e=>Number(e)+".",S0={ordinalNumber:P0,era:G({values:v0,defaultWidth:"wide"}),quarter:G({values:y0,defaultWidth:"wide",argumentCallback:e=>e-1}),month:G({values:ha,formattingValues:b0,defaultWidth:"wide"}),day:G({values:w0,defaultWidth:"wide"}),dayPeriod:G({values:x0,defaultWidth:"wide",formattingValues:C0,defaultFormattingWidth:"wide"})},_0=/^(\d+)(\.)?/i,T0=/\d+/i,k0={narrow:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,abbreviated:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,wide:/^(vor Christus|vor unserer Zeitrechnung|nach Christus|unserer Zeitrechnung)/i},E0={any:[/^v/i,/^n/i]},$0={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](\.)? Quartal/i},R0={any:[/1/i,/2/i,/3/i,/4/i]},M0={narrow:/^[jfmasond]/i,abbreviated:/^(j[aä]n|feb|mär[z]?|apr|mai|jun[i]?|jul[i]?|aug|sep|okt|nov|dez)\.?/i,wide:/^(januar|februar|märz|april|mai|juni|juli|august|september|oktober|november|dezember)/i},O0={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^j[aä]/i,/^f/i,/^mär/i,/^ap/i,/^mai/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},A0={narrow:/^[smdmf]/i,short:/^(so|mo|di|mi|do|fr|sa)/i,abbreviated:/^(son?|mon?|die?|mit?|don?|fre?|sam?)\.?/i,wide:/^(sonntag|montag|dienstag|mittwoch|donnerstag|freitag|samstag)/i},D0={any:[/^so/i,/^mo/i,/^di/i,/^mi/i,/^do/i,/^f/i,/^sa/i]},I0={narrow:/^(vm\.?|nm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,abbreviated:/^(vorm\.?|nachm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,wide:/^(vormittags|nachmittags|Mitternacht|Mittag|morgens|nachmittags|abends|nachts)/i},z0={any:{am:/^v/i,pm:/^n/i,midnight:/^Mitte/i,noon:/^Mitta/i,morning:/morgens/i,afternoon:/nachmittags/i,evening:/abends/i,night:/nachts/i}},L0={ordinalNumber:Pt({matchPattern:_0,parsePattern:T0,valueCallback:e=>parseInt(e)}),era:K({matchPatterns:k0,defaultMatchWidth:"wide",parsePatterns:E0,defaultParseWidth:"any"}),quarter:K({matchPatterns:$0,defaultMatchWidth:"wide",parsePatterns:R0,defaultParseWidth:"any",valueCallback:e=>e+1}),month:K({matchPatterns:M0,defaultMatchWidth:"wide",parsePatterns:O0,defaultParseWidth:"any"}),day:K({matchPatterns:A0,defaultMatchWidth:"wide",parsePatterns:D0,defaultParseWidth:"any"}),dayPeriod:K({matchPatterns:I0,defaultMatchWidth:"wide",parsePatterns:z0,defaultParseWidth:"any"})},H0={code:"de",formatDistance:u0,formatLong:m0,formatRelative:g0,localize:S0,match:L0,options:{weekStartsOn:1,firstWeekContainsDate:4}},F0={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},Kc=(e,t,n)=>{let o;const r=F0[e];return typeof r=="string"?o=r:t===1?o=r.one:o=r.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+o:o+" ago":o},N0={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Yc=(e,t,n,o)=>N0[e],B0={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},j0={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},W0={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},V0={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},U0={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},q0={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},G0=(e,t)=>{const n=Number(e),o=n%100;if(o>20||o<10)switch(o%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},Xc={ordinalNumber:G0,era:G({values:B0,defaultWidth:"wide"}),quarter:G({values:j0,defaultWidth:"wide",argumentCallback:e=>e-1}),month:G({values:W0,defaultWidth:"wide"}),day:G({values:V0,defaultWidth:"wide"}),dayPeriod:G({values:U0,defaultWidth:"wide",formattingValues:q0,defaultFormattingWidth:"wide"})},K0=/^(\d+)(th|st|nd|rd)?/i,Y0=/\d+/i,X0={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Z0={any:[/^b/i,/^(a|c)/i]},J0={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Q0={any:[/1/i,/2/i,/3/i,/4/i]},ey={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},ty={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},ny={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},oy={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},ry={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},ay={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},Zc={ordinalNumber:Pt({matchPattern:K0,parsePattern:Y0,valueCallback:e=>parseInt(e,10)}),era:K({matchPatterns:X0,defaultMatchWidth:"wide",parsePatterns:Z0,defaultParseWidth:"any"}),quarter:K({matchPatterns:J0,defaultMatchWidth:"wide",parsePatterns:Q0,defaultParseWidth:"any",valueCallback:e=>e+1}),month:K({matchPatterns:ey,defaultMatchWidth:"wide",parsePatterns:ty,defaultParseWidth:"any"}),day:K({matchPatterns:ny,defaultMatchWidth:"wide",parsePatterns:oy,defaultParseWidth:"any"}),dayPeriod:K({matchPatterns:ry,defaultMatchWidth:"any",parsePatterns:ay,defaultParseWidth:"any"})},iy={full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"dd/MM/yyyy"},sy={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},ly={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},cy={date:ie({formats:iy,defaultWidth:"full"}),time:ie({formats:sy,defaultWidth:"full"}),dateTime:ie({formats:ly,defaultWidth:"full"})},uy={code:"en-GB",formatDistance:Kc,formatLong:cy,formatRelative:Yc,localize:Xc,match:Zc,options:{weekStartsOn:1,firstWeekContainsDate:4}},dy={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},fy={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},hy={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},my={date:ie({formats:dy,defaultWidth:"full"}),time:ie({formats:fy,defaultWidth:"full"}),dateTime:ie({formats:hy,defaultWidth:"full"})},py={code:"en-US",formatDistance:Kc,formatLong:my,formatRelative:Yc,localize:Xc,match:Zc,options:{weekStartsOn:0,firstWeekContainsDate:1}},gy={lessThanXSeconds:{one:"menos de un segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"medio minuto",lessThanXMinutes:{one:"menos de un minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"alrededor de 1 hora",other:"alrededor de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 día",other:"{{count}} días"},aboutXWeeks:{one:"alrededor de 1 semana",other:"alrededor de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"alrededor de 1 mes",other:"alrededor de {{count}} meses"},xMonths:{one:"1 mes",other:"{{count}} meses"},aboutXYears:{one:"alrededor de 1 año",other:"alrededor de {{count}} años"},xYears:{one:"1 año",other:"{{count}} años"},overXYears:{one:"más de 1 año",other:"más de {{count}} años"},almostXYears:{one:"casi 1 año",other:"casi {{count}} años"}},vy=(e,t,n)=>{let o;const r=gy[e];return typeof r=="string"?o=r:t===1?o=r.one:o=r.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"en "+o:"hace "+o:o},yy={full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/y"},by={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},wy={full:"{{date}} 'a las' {{time}}",long:"{{date}} 'a las' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},xy={date:ie({formats:yy,defaultWidth:"full"}),time:ie({formats:by,defaultWidth:"full"}),dateTime:ie({formats:wy,defaultWidth:"full"})},Cy={lastWeek:"'el' eeee 'pasado a la' p",yesterday:"'ayer a la' p",today:"'hoy a la' p",tomorrow:"'mañana a la' p",nextWeek:"eeee 'a la' p",other:"P"},Py={lastWeek:"'el' eeee 'pasado a las' p",yesterday:"'ayer a las' p",today:"'hoy a las' p",tomorrow:"'mañana a las' p",nextWeek:"eeee 'a las' p",other:"P"},Sy=(e,t,n,o)=>t.getHours()!==1?Py[e]:Cy[e],_y={narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","después de cristo"]},Ty={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},ky={narrow:["e","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic"],wide:["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"]},Ey={narrow:["d","l","m","m","j","v","s"],short:["do","lu","ma","mi","ju","vi","sá"],abbreviated:["dom","lun","mar","mié","jue","vie","sáb"],wide:["domingo","lunes","martes","miércoles","jueves","viernes","sábado"]},$y={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"}},Ry={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"}},My=(e,t)=>Number(e)+"º",Oy={ordinalNumber:My,era:G({values:_y,defaultWidth:"wide"}),quarter:G({values:Ty,defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:G({values:ky,defaultWidth:"wide"}),day:G({values:Ey,defaultWidth:"wide"}),dayPeriod:G({values:$y,defaultWidth:"wide",formattingValues:Ry,defaultFormattingWidth:"wide"})},Ay=/^(\d+)(º)?/i,Dy=/\d+/i,Iy={narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,wide:/^(antes de cristo|antes de la era com[uú]n|despu[eé]s de cristo|era com[uú]n)/i},zy={any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes de la era com[uú]n)/i,/^(despu[eé]s de cristo|era com[uú]n)/i]},Ly={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},Hy={any:[/1/i,/2/i,/3/i,/4/i]},Fy={narrow:/^[efmajsond]/i,abbreviated:/^(ene|feb|mar|abr|may|jun|jul|ago|sep|oct|nov|dic)/i,wide:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i},Ny={narrow:[/^e/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^en/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i]},By={narrow:/^[dlmjvs]/i,short:/^(do|lu|ma|mi|ju|vi|s[áa])/i,abbreviated:/^(dom|lun|mar|mi[ée]|jue|vie|s[áa]b)/i,wide:/^(domingo|lunes|martes|mi[ée]rcoles|jueves|viernes|s[áa]bado)/i},jy={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^do/i,/^lu/i,/^ma/i,/^mi/i,/^ju/i,/^vi/i,/^sa/i]},Wy={narrow:/^(a|p|mn|md|(de la|a las) (mañana|tarde|noche))/i,any:/^([ap]\.?\s?m\.?|medianoche|mediodia|(de la|a las) (mañana|tarde|noche))/i},Vy={any:{am:/^a/i,pm:/^p/i,midnight:/^mn/i,noon:/^md/i,morning:/mañana/i,afternoon:/tarde/i,evening:/tarde/i,night:/noche/i}},Uy={ordinalNumber:Pt({matchPattern:Ay,parsePattern:Dy,valueCallback:function(e){return parseInt(e,10)}}),era:K({matchPatterns:Iy,defaultMatchWidth:"wide",parsePatterns:zy,defaultParseWidth:"any"}),quarter:K({matchPatterns:Ly,defaultMatchWidth:"wide",parsePatterns:Hy,defaultParseWidth:"any",valueCallback:e=>e+1}),month:K({matchPatterns:Fy,defaultMatchWidth:"wide",parsePatterns:Ny,defaultParseWidth:"any"}),day:K({matchPatterns:By,defaultMatchWidth:"wide",parsePatterns:jy,defaultParseWidth:"any"}),dayPeriod:K({matchPatterns:Wy,defaultMatchWidth:"any",parsePatterns:Vy,defaultParseWidth:"any"})},qy={code:"es",formatDistance:vy,formatLong:xy,formatRelative:Sy,localize:Oy,match:Uy,options:{weekStartsOn:1,firstWeekContainsDate:1}},Gy={lessThanXSeconds:{one:"moins d’une seconde",other:"moins de {{count}} secondes"},xSeconds:{one:"1 seconde",other:"{{count}} secondes"},halfAMinute:"30 secondes",lessThanXMinutes:{one:"moins d’une minute",other:"moins de {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"environ 1 heure",other:"environ {{count}} heures"},xHours:{one:"1 heure",other:"{{count}} heures"},xDays:{one:"1 jour",other:"{{count}} jours"},aboutXWeeks:{one:"environ 1 semaine",other:"environ {{count}} semaines"},xWeeks:{one:"1 semaine",other:"{{count}} semaines"},aboutXMonths:{one:"environ 1 mois",other:"environ {{count}} mois"},xMonths:{one:"1 mois",other:"{{count}} mois"},aboutXYears:{one:"environ 1 an",other:"environ {{count}} ans"},xYears:{one:"1 an",other:"{{count}} ans"},overXYears:{one:"plus d’un an",other:"plus de {{count}} ans"},almostXYears:{one:"presqu’un an",other:"presque {{count}} ans"}},Ky=(e,t,n)=>{let o;const r=Gy[e];return typeof r=="string"?o=r:t===1?o=r.one:o=r.other.replace("{{count}}",String(t)),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"dans "+o:"il y a "+o:o},Yy={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},Xy={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},Zy={full:"{{date}} 'à' {{time}}",long:"{{date}} 'à' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Jy={date:ie({formats:Yy,defaultWidth:"full"}),time:ie({formats:Xy,defaultWidth:"full"}),dateTime:ie({formats:Zy,defaultWidth:"full"})},Qy={lastWeek:"eeee 'dernier à' p",yesterday:"'hier à' p",today:"'aujourd’hui à' p",tomorrow:"'demain à' p'",nextWeek:"eeee 'prochain à' p",other:"P"},eb=(e,t,n,o)=>Qy[e],tb={narrow:["av. J.-C","ap. J.-C"],abbreviated:["av. J.-C","ap. J.-C"],wide:["avant Jésus-Christ","après Jésus-Christ"]},nb={narrow:["T1","T2","T3","T4"],abbreviated:["1er trim.","2ème trim.","3ème trim.","4ème trim."],wide:["1er trimestre","2ème trimestre","3ème trimestre","4ème trimestre"]},ob={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc."],wide:["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"]},rb={narrow:["D","L","M","M","J","V","S"],short:["di","lu","ma","me","je","ve","sa"],abbreviated:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],wide:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"]},ab={narrow:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"mat.",afternoon:"ap.m.",evening:"soir",night:"mat."},abbreviated:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"matin",afternoon:"après-midi",evening:"soir",night:"matin"},wide:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"du matin",afternoon:"de l’après-midi",evening:"du soir",night:"du matin"}},ib=(e,t)=>{const n=Number(e),o=t==null?void 0:t.unit;if(n===0)return"0";const r=["year","week","hour","minute","second"];let a;return n===1?a=o&&r.includes(o)?"ère":"er":a="ème",n+a},sb=["MMM","MMMM"],lb={preprocessor:(e,t)=>e.getDate()===1||!t.some(o=>o.isToken&&sb.includes(o.value))?t:t.map(o=>o.isToken&&o.value==="do"?{isToken:!0,value:"d"}:o),ordinalNumber:ib,era:G({values:tb,defaultWidth:"wide"}),quarter:G({values:nb,defaultWidth:"wide",argumentCallback:e=>e-1}),month:G({values:ob,defaultWidth:"wide"}),day:G({values:rb,defaultWidth:"wide"}),dayPeriod:G({values:ab,defaultWidth:"wide"})},cb=/^(\d+)(ième|ère|ème|er|e)?/i,ub=/\d+/i,db={narrow:/^(av\.J\.C|ap\.J\.C|ap\.J\.-C)/i,abbreviated:/^(av\.J\.-C|av\.J-C|apr\.J\.-C|apr\.J-C|ap\.J-C)/i,wide:/^(avant Jésus-Christ|après Jésus-Christ)/i},fb={any:[/^av/i,/^ap/i]},hb={narrow:/^T?[1234]/i,abbreviated:/^[1234](er|ème|e)? trim\.?/i,wide:/^[1234](er|ème|e)? trimestre/i},mb={any:[/1/i,/2/i,/3/i,/4/i]},pb={narrow:/^[jfmasond]/i,abbreviated:/^(janv|févr|mars|avr|mai|juin|juill|juil|août|sept|oct|nov|déc)\.?/i,wide:/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i},gb={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^av/i,/^ma/i,/^juin/i,/^juil/i,/^ao/i,/^s/i,/^o/i,/^n/i,/^d/i]},vb={narrow:/^[lmjvsd]/i,short:/^(di|lu|ma|me|je|ve|sa)/i,abbreviated:/^(dim|lun|mar|mer|jeu|ven|sam)\.?/i,wide:/^(dimanche|lundi|mardi|mercredi|jeudi|vendredi|samedi)/i},yb={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^di/i,/^lu/i,/^ma/i,/^me/i,/^je/i,/^ve/i,/^sa/i]},bb={narrow:/^(a|p|minuit|midi|mat\.?|ap\.?m\.?|soir|nuit)/i,any:/^([ap]\.?\s?m\.?|du matin|de l'après[-\s]midi|du soir|de la nuit)/i},wb={any:{am:/^a/i,pm:/^p/i,midnight:/^min/i,noon:/^mid/i,morning:/mat/i,afternoon:/ap/i,evening:/soir/i,night:/nuit/i}},xb={ordinalNumber:Pt({matchPattern:cb,parsePattern:ub,valueCallback:e=>parseInt(e)}),era:K({matchPatterns:db,defaultMatchWidth:"wide",parsePatterns:fb,defaultParseWidth:"any"}),quarter:K({matchPatterns:hb,defaultMatchWidth:"wide",parsePatterns:mb,defaultParseWidth:"any",valueCallback:e=>e+1}),month:K({matchPatterns:pb,defaultMatchWidth:"wide",parsePatterns:gb,defaultParseWidth:"any"}),day:K({matchPatterns:vb,defaultMatchWidth:"wide",parsePatterns:yb,defaultParseWidth:"any"}),dayPeriod:K({matchPatterns:bb,defaultMatchWidth:"any",parsePatterns:wb,defaultParseWidth:"any"})},Cb={code:"fr",formatDistance:Ky,formatLong:Jy,formatRelative:eb,localize:lb,match:xb,options:{weekStartsOn:1,firstWeekContainsDate:4}},Pb={lessThanXSeconds:{one:"meno di un secondo",other:"meno di {{count}} secondi"},xSeconds:{one:"un secondo",other:"{{count}} secondi"},halfAMinute:"alcuni secondi",lessThanXMinutes:{one:"meno di un minuto",other:"meno di {{count}} minuti"},xMinutes:{one:"un minuto",other:"{{count}} minuti"},aboutXHours:{one:"circa un'ora",other:"circa {{count}} ore"},xHours:{one:"un'ora",other:"{{count}} ore"},xDays:{one:"un giorno",other:"{{count}} giorni"},aboutXWeeks:{one:"circa una settimana",other:"circa {{count}} settimane"},xWeeks:{one:"una settimana",other:"{{count}} settimane"},aboutXMonths:{one:"circa un mese",other:"circa {{count}} mesi"},xMonths:{one:"un mese",other:"{{count}} mesi"},aboutXYears:{one:"circa un anno",other:"circa {{count}} anni"},xYears:{one:"un anno",other:"{{count}} anni"},overXYears:{one:"più di un anno",other:"più di {{count}} anni"},almostXYears:{one:"quasi un anno",other:"quasi {{count}} anni"}},Sb=(e,t,n)=>{let o;const r=Pb[e];return typeof r=="string"?o=r:t===1?o=r.one:o=r.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"tra "+o:o+" fa":o},_b={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},Tb={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},kb={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},Eb={date:ie({formats:_b,defaultWidth:"full"}),time:ie({formats:Tb,defaultWidth:"full"}),dateTime:ie({formats:kb,defaultWidth:"full"})},Za=["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"];function $b(e){switch(e){case 0:return"'domenica scorsa alle' p";default:return"'"+Za[e]+" scorso alle' p"}}function Us(e){return"'"+Za[e]+" alle' p"}function Rb(e){switch(e){case 0:return"'domenica prossima alle' p";default:return"'"+Za[e]+" prossimo alle' p"}}const Mb={lastWeek:(e,t,n)=>{const o=e.getDay();return Un(e,t,n)?Us(o):$b(o)},yesterday:"'ieri alle' p",today:"'oggi alle' p",tomorrow:"'domani alle' p",nextWeek:(e,t,n)=>{const o=e.getDay();return Un(e,t,n)?Us(o):Rb(o)},other:"P"},Ob=(e,t,n,o)=>{const r=Mb[e];return typeof r=="function"?r(t,n,o):r},Ab={narrow:["aC","dC"],abbreviated:["a.C.","d.C."],wide:["avanti Cristo","dopo Cristo"]},Db={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},Ib={narrow:["G","F","M","A","M","G","L","A","S","O","N","D"],abbreviated:["gen","feb","mar","apr","mag","giu","lug","ago","set","ott","nov","dic"],wide:["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre"]},zb={narrow:["D","L","M","M","G","V","S"],short:["dom","lun","mar","mer","gio","ven","sab"],abbreviated:["dom","lun","mar","mer","gio","ven","sab"],wide:["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"]},Lb={narrow:{am:"m.",pm:"p.",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"},abbreviated:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"},wide:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"}},Hb={narrow:{am:"m.",pm:"p.",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"},abbreviated:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"},wide:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"}},Fb=(e,t)=>{const n=Number(e);return String(n)},Nb={ordinalNumber:Fb,era:G({values:Ab,defaultWidth:"wide"}),quarter:G({values:Db,defaultWidth:"wide",argumentCallback:e=>e-1}),month:G({values:Ib,defaultWidth:"wide"}),day:G({values:zb,defaultWidth:"wide"}),dayPeriod:G({values:Lb,defaultWidth:"wide",formattingValues:Hb,defaultFormattingWidth:"wide"})},Bb=/^(\d+)(º)?/i,jb=/\d+/i,Wb={narrow:/^(aC|dC)/i,abbreviated:/^(a\.?\s?C\.?|a\.?\s?e\.?\s?v\.?|d\.?\s?C\.?|e\.?\s?v\.?)/i,wide:/^(avanti Cristo|avanti Era Volgare|dopo Cristo|Era Volgare)/i},Vb={any:[/^a/i,/^(d|e)/i]},Ub={narrow:/^[1234]/i,abbreviated:/^t[1234]/i,wide:/^[1234](º)? trimestre/i},qb={any:[/1/i,/2/i,/3/i,/4/i]},Gb={narrow:/^[gfmalsond]/i,abbreviated:/^(gen|feb|mar|apr|mag|giu|lug|ago|set|ott|nov|dic)/i,wide:/^(gennaio|febbraio|marzo|aprile|maggio|giugno|luglio|agosto|settembre|ottobre|novembre|dicembre)/i},Kb={narrow:[/^g/i,/^f/i,/^m/i,/^a/i,/^m/i,/^g/i,/^l/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ge/i,/^f/i,/^mar/i,/^ap/i,/^mag/i,/^gi/i,/^l/i,/^ag/i,/^s/i,/^o/i,/^n/i,/^d/i]},Yb={narrow:/^[dlmgvs]/i,short:/^(do|lu|ma|me|gi|ve|sa)/i,abbreviated:/^(dom|lun|mar|mer|gio|ven|sab)/i,wide:/^(domenica|luned[i|ì]|marted[i|ì]|mercoled[i|ì]|gioved[i|ì]|venerd[i|ì]|sabato)/i},Xb={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^g/i,/^v/i,/^s/i],any:[/^d/i,/^l/i,/^ma/i,/^me/i,/^g/i,/^v/i,/^s/i]},Zb={narrow:/^(a|m\.|p|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i,any:/^([ap]\.?\s?m\.?|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i},Jb={any:{am:/^a/i,pm:/^p/i,midnight:/^mezza/i,noon:/^mezzo/i,morning:/mattina/i,afternoon:/pomeriggio/i,evening:/sera/i,night:/notte/i}},Qb={ordinalNumber:Pt({matchPattern:Bb,parsePattern:jb,valueCallback:e=>parseInt(e,10)}),era:K({matchPatterns:Wb,defaultMatchWidth:"wide",parsePatterns:Vb,defaultParseWidth:"any"}),quarter:K({matchPatterns:Ub,defaultMatchWidth:"wide",parsePatterns:qb,defaultParseWidth:"any",valueCallback:e=>e+1}),month:K({matchPatterns:Gb,defaultMatchWidth:"wide",parsePatterns:Kb,defaultParseWidth:"any"}),day:K({matchPatterns:Yb,defaultMatchWidth:"wide",parsePatterns:Xb,defaultParseWidth:"any"}),dayPeriod:K({matchPatterns:Zb,defaultMatchWidth:"any",parsePatterns:Jb,defaultParseWidth:"any"})},e1={code:"it",formatDistance:Sb,formatLong:Eb,formatRelative:Ob,localize:Nb,match:Qb,options:{weekStartsOn:1,firstWeekContainsDate:4}};function kn(e,t){if(e.one!==void 0&&t===1)return e.one;const n=t%10,o=t%100;return n===1&&o!==11?e.singularNominative.replace("{{count}}",String(t)):n>=2&&n<=4&&(o<10||o>20)?e.singularGenitive.replace("{{count}}",String(t)):e.pluralGenitive.replace("{{count}}",String(t))}function De(e){return(t,n)=>n!=null&&n.addSuffix?n.comparison&&n.comparison>0?e.future?kn(e.future,t):"через "+kn(e.regular,t):e.past?kn(e.past,t):kn(e.regular,t)+" назад":kn(e.regular,t)}const t1={lessThanXSeconds:De({regular:{one:"меньше секунды",singularNominative:"меньше {{count}} секунды",singularGenitive:"меньше {{count}} секунд",pluralGenitive:"меньше {{count}} секунд"},future:{one:"меньше, чем через секунду",singularNominative:"меньше, чем через {{count}} секунду",singularGenitive:"меньше, чем через {{count}} секунды",pluralGenitive:"меньше, чем через {{count}} секунд"}}),xSeconds:De({regular:{singularNominative:"{{count}} секунда",singularGenitive:"{{count}} секунды",pluralGenitive:"{{count}} секунд"},past:{singularNominative:"{{count}} секунду назад",singularGenitive:"{{count}} секунды назад",pluralGenitive:"{{count}} секунд назад"},future:{singularNominative:"через {{count}} секунду",singularGenitive:"через {{count}} секунды",pluralGenitive:"через {{count}} секунд"}}),halfAMinute:(e,t)=>t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"через полминуты":"полминуты назад":"полминуты",lessThanXMinutes:De({regular:{one:"меньше минуты",singularNominative:"меньше {{count}} минуты",singularGenitive:"меньше {{count}} минут",pluralGenitive:"меньше {{count}} минут"},future:{one:"меньше, чем через минуту",singularNominative:"меньше, чем через {{count}} минуту",singularGenitive:"меньше, чем через {{count}} минуты",pluralGenitive:"меньше, чем через {{count}} минут"}}),xMinutes:De({regular:{singularNominative:"{{count}} минута",singularGenitive:"{{count}} минуты",pluralGenitive:"{{count}} минут"},past:{singularNominative:"{{count}} минуту назад",singularGenitive:"{{count}} минуты назад",pluralGenitive:"{{count}} минут назад"},future:{singularNominative:"через {{count}} минуту",singularGenitive:"через {{count}} минуты",pluralGenitive:"через {{count}} минут"}}),aboutXHours:De({regular:{singularNominative:"около {{count}} часа",singularGenitive:"около {{count}} часов",pluralGenitive:"около {{count}} часов"},future:{singularNominative:"приблизительно через {{count}} час",singularGenitive:"приблизительно через {{count}} часа",pluralGenitive:"приблизительно через {{count}} часов"}}),xHours:De({regular:{singularNominative:"{{count}} час",singularGenitive:"{{count}} часа",pluralGenitive:"{{count}} часов"}}),xDays:De({regular:{singularNominative:"{{count}} день",singularGenitive:"{{count}} дня",pluralGenitive:"{{count}} дней"}}),aboutXWeeks:De({regular:{singularNominative:"около {{count}} недели",singularGenitive:"около {{count}} недель",pluralGenitive:"около {{count}} недель"},future:{singularNominative:"приблизительно через {{count}} неделю",singularGenitive:"приблизительно через {{count}} недели",pluralGenitive:"приблизительно через {{count}} недель"}}),xWeeks:De({regular:{singularNominative:"{{count}} неделя",singularGenitive:"{{count}} недели",pluralGenitive:"{{count}} недель"}}),aboutXMonths:De({regular:{singularNominative:"около {{count}} месяца",singularGenitive:"около {{count}} месяцев",pluralGenitive:"около {{count}} месяцев"},future:{singularNominative:"приблизительно через {{count}} месяц",singularGenitive:"приблизительно через {{count}} месяца",pluralGenitive:"приблизительно через {{count}} месяцев"}}),xMonths:De({regular:{singularNominative:"{{count}} месяц",singularGenitive:"{{count}} месяца",pluralGenitive:"{{count}} месяцев"}}),aboutXYears:De({regular:{singularNominative:"около {{count}} года",singularGenitive:"около {{count}} лет",pluralGenitive:"около {{count}} лет"},future:{singularNominative:"приблизительно через {{count}} год",singularGenitive:"приблизительно через {{count}} года",pluralGenitive:"приблизительно через {{count}} лет"}}),xYears:De({regular:{singularNominative:"{{count}} год",singularGenitive:"{{count}} года",pluralGenitive:"{{count}} лет"}}),overXYears:De({regular:{singularNominative:"больше {{count}} года",singularGenitive:"больше {{count}} лет",pluralGenitive:"больше {{count}} лет"},future:{singularNominative:"больше, чем через {{count}} год",singularGenitive:"больше, чем через {{count}} года",pluralGenitive:"больше, чем через {{count}} лет"}}),almostXYears:De({regular:{singularNominative:"почти {{count}} год",singularGenitive:"почти {{count}} года",pluralGenitive:"почти {{count}} лет"},future:{singularNominative:"почти через {{count}} год",singularGenitive:"почти через {{count}} года",pluralGenitive:"почти через {{count}} лет"}})},n1=(e,t,n)=>t1[e](t,n),o1={full:"EEEE, d MMMM y 'г.'",long:"d MMMM y 'г.'",medium:"d MMM y 'г.'",short:"dd.MM.y"},r1={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},a1={any:"{{date}}, {{time}}"},i1={date:ie({formats:o1,defaultWidth:"full"}),time:ie({formats:r1,defaultWidth:"full"}),dateTime:ie({formats:a1,defaultWidth:"any"})},Ja=["воскресенье","понедельник","вторник","среду","четверг","пятницу","субботу"];function s1(e){const t=Ja[e];switch(e){case 0:return"'в прошлое "+t+" в' p";case 1:case 2:case 4:return"'в прошлый "+t+" в' p";case 3:case 5:case 6:return"'в прошлую "+t+" в' p"}}function qs(e){const t=Ja[e];return e===2?"'во "+t+" в' p":"'в "+t+" в' p"}function l1(e){const t=Ja[e];switch(e){case 0:return"'в следующее "+t+" в' p";case 1:case 2:case 4:return"'в следующий "+t+" в' p";case 3:case 5:case 6:return"'в следующую "+t+" в' p"}}const c1={lastWeek:(e,t,n)=>{const o=e.getDay();return Un(e,t,n)?qs(o):s1(o)},yesterday:"'вчера в' p",today:"'сегодня в' p",tomorrow:"'завтра в' p",nextWeek:(e,t,n)=>{const o=e.getDay();return Un(e,t,n)?qs(o):l1(o)},other:"P"},u1=(e,t,n,o)=>{const r=c1[e];return typeof r=="function"?r(t,n,o):r},d1={narrow:["до н.э.","н.э."],abbreviated:["до н. э.","н. э."],wide:["до нашей эры","нашей эры"]},f1={narrow:["1","2","3","4"],abbreviated:["1-й кв.","2-й кв.","3-й кв.","4-й кв."],wide:["1-й квартал","2-й квартал","3-й квартал","4-й квартал"]},h1={narrow:["Я","Ф","М","А","М","И","И","А","С","О","Н","Д"],abbreviated:["янв.","фев.","март","апр.","май","июнь","июль","авг.","сент.","окт.","нояб.","дек."],wide:["январь","февраль","март","апрель","май","июнь","июль","август","сентябрь","октябрь","ноябрь","декабрь"]},m1={narrow:["Я","Ф","М","А","М","И","И","А","С","О","Н","Д"],abbreviated:["янв.","фев.","мар.","апр.","мая","июн.","июл.","авг.","сент.","окт.","нояб.","дек."],wide:["января","февраля","марта","апреля","мая","июня","июля","августа","сентября","октября","ноября","декабря"]},p1={narrow:["В","П","В","С","Ч","П","С"],short:["вс","пн","вт","ср","чт","пт","сб"],abbreviated:["вск","пнд","втр","срд","чтв","птн","суб"],wide:["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"]},g1={narrow:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утро",afternoon:"день",evening:"веч.",night:"ночь"},abbreviated:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утро",afternoon:"день",evening:"веч.",night:"ночь"},wide:{am:"ДП",pm:"ПП",midnight:"полночь",noon:"полдень",morning:"утро",afternoon:"день",evening:"вечер",night:"ночь"}},v1={narrow:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утра",afternoon:"дня",evening:"веч.",night:"ночи"},abbreviated:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утра",afternoon:"дня",evening:"веч.",night:"ночи"},wide:{am:"ДП",pm:"ПП",midnight:"полночь",noon:"полдень",morning:"утра",afternoon:"дня",evening:"вечера",night:"ночи"}},y1=(e,t)=>{const n=Number(e),o=t==null?void 0:t.unit;let r;return o==="date"?r="-е":o==="week"||o==="minute"||o==="second"?r="-я":r="-й",n+r},b1={ordinalNumber:y1,era:G({values:d1,defaultWidth:"wide"}),quarter:G({values:f1,defaultWidth:"wide",argumentCallback:e=>e-1}),month:G({values:h1,defaultWidth:"wide",formattingValues:m1,defaultFormattingWidth:"wide"}),day:G({values:p1,defaultWidth:"wide"}),dayPeriod:G({values:g1,defaultWidth:"any",formattingValues:v1,defaultFormattingWidth:"wide"})},w1=/^(\d+)(-?(е|я|й|ое|ье|ая|ья|ый|ой|ий|ый))?/i,x1=/\d+/i,C1={narrow:/^((до )?н\.?\s?э\.?)/i,abbreviated:/^((до )?н\.?\s?э\.?)/i,wide:/^(до нашей эры|нашей эры|наша эра)/i},P1={any:[/^д/i,/^н/i]},S1={narrow:/^[1234]/i,abbreviated:/^[1234](-?[ыои]?й?)? кв.?/i,wide:/^[1234](-?[ыои]?й?)? квартал/i},_1={any:[/1/i,/2/i,/3/i,/4/i]},T1={narrow:/^[яфмаисонд]/i,abbreviated:/^(янв|фев|март?|апр|ма[йя]|июн[ья]?|июл[ья]?|авг|сент?|окт|нояб?|дек)\.?/i,wide:/^(январ[ья]|феврал[ья]|марта?|апрел[ья]|ма[йя]|июн[ья]|июл[ья]|августа?|сентябр[ья]|октябр[ья]|октябр[ья]|ноябр[ья]|декабр[ья])/i},k1={narrow:[/^я/i,/^ф/i,/^м/i,/^а/i,/^м/i,/^и/i,/^и/i,/^а/i,/^с/i,/^о/i,/^н/i,/^я/i],any:[/^я/i,/^ф/i,/^мар/i,/^ап/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^ав/i,/^с/i,/^о/i,/^н/i,/^д/i]},E1={narrow:/^[впсч]/i,short:/^(вс|во|пн|по|вт|ср|чт|че|пт|пя|сб|су)\.?/i,abbreviated:/^(вск|вос|пнд|пон|втр|вто|срд|сре|чтв|чет|птн|пят|суб).?/i,wide:/^(воскресень[ея]|понедельника?|вторника?|сред[аы]|четверга?|пятниц[аы]|суббот[аы])/i},$1={narrow:[/^в/i,/^п/i,/^в/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^в[ос]/i,/^п[он]/i,/^в/i,/^ср/i,/^ч/i,/^п[ят]/i,/^с[уб]/i]},R1={narrow:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,abbreviated:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,wide:/^([дп]п|полночь|полдень|утр[оа]|день|дня|вечера?|ноч[ьи])/i},M1={any:{am:/^дп/i,pm:/^пп/i,midnight:/^полн/i,noon:/^полд/i,morning:/^у/i,afternoon:/^д[ен]/i,evening:/^в/i,night:/^н/i}},O1={ordinalNumber:Pt({matchPattern:w1,parsePattern:x1,valueCallback:e=>parseInt(e,10)}),era:K({matchPatterns:C1,defaultMatchWidth:"wide",parsePatterns:P1,defaultParseWidth:"any"}),quarter:K({matchPatterns:S1,defaultMatchWidth:"wide",parsePatterns:_1,defaultParseWidth:"any",valueCallback:e=>e+1}),month:K({matchPatterns:T1,defaultMatchWidth:"wide",parsePatterns:k1,defaultParseWidth:"any"}),day:K({matchPatterns:E1,defaultMatchWidth:"wide",parsePatterns:$1,defaultParseWidth:"any"}),dayPeriod:K({matchPatterns:R1,defaultMatchWidth:"wide",parsePatterns:M1,defaultParseWidth:"any"})},A1={code:"ru",formatDistance:n1,formatLong:i1,formatRelative:u1,localize:b1,match:O1,options:{weekStartsOn:1,firstWeekContainsDate:1}},D1={lessThanXSeconds:{one:"bir saniyeden az",other:"{{count}} saniyeden az"},xSeconds:{one:"1 saniye",other:"{{count}} saniye"},halfAMinute:"yarım dakika",lessThanXMinutes:{one:"bir dakikadan az",other:"{{count}} dakikadan az"},xMinutes:{one:"1 dakika",other:"{{count}} dakika"},aboutXHours:{one:"yaklaşık 1 saat",other:"yaklaşık {{count}} saat"},xHours:{one:"1 saat",other:"{{count}} saat"},xDays:{one:"1 gün",other:"{{count}} gün"},aboutXWeeks:{one:"yaklaşık 1 hafta",other:"yaklaşık {{count}} hafta"},xWeeks:{one:"1 hafta",other:"{{count}} hafta"},aboutXMonths:{one:"yaklaşık 1 ay",other:"yaklaşık {{count}} ay"},xMonths:{one:"1 ay",other:"{{count}} ay"},aboutXYears:{one:"yaklaşık 1 yıl",other:"yaklaşık {{count}} yıl"},xYears:{one:"1 yıl",other:"{{count}} yıl"},overXYears:{one:"1 yıldan fazla",other:"{{count}} yıldan fazla"},almostXYears:{one:"neredeyse 1 yıl",other:"neredeyse {{count}} yıl"}},I1=(e,t,n)=>{let o;const r=D1[e];return typeof r=="string"?o=r:t===1?o=r.one:o=r.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?o+" sonra":o+" önce":o},z1={full:"d MMMM y EEEE",long:"d MMMM y",medium:"d MMM y",short:"dd.MM.yyyy"},L1={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},H1={full:"{{date}} 'saat' {{time}}",long:"{{date}} 'saat' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},F1={date:ie({formats:z1,defaultWidth:"full"}),time:ie({formats:L1,defaultWidth:"full"}),dateTime:ie({formats:H1,defaultWidth:"full"})},N1={lastWeek:"'geçen hafta' eeee 'saat' p",yesterday:"'dün saat' p",today:"'bugün saat' p",tomorrow:"'yarın saat' p",nextWeek:"eeee 'saat' p",other:"P"},B1=(e,t,n,o)=>N1[e],j1={narrow:["MÖ","MS"],abbreviated:["MÖ","MS"],wide:["Milattan Önce","Milattan Sonra"]},W1={narrow:["1","2","3","4"],abbreviated:["1Ç","2Ç","3Ç","4Ç"],wide:["İlk çeyrek","İkinci Çeyrek","Üçüncü çeyrek","Son çeyrek"]},V1={narrow:["O","Ş","M","N","M","H","T","A","E","E","K","A"],abbreviated:["Oca","Şub","Mar","Nis","May","Haz","Tem","Ağu","Eyl","Eki","Kas","Ara"],wide:["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık"]},U1={narrow:["P","P","S","Ç","P","C","C"],short:["Pz","Pt","Sa","Ça","Pe","Cu","Ct"],abbreviated:["Paz","Pzt","Sal","Çar","Per","Cum","Cts"],wide:["Pazar","Pazartesi","Salı","Çarşamba","Perşembe","Cuma","Cumartesi"]},q1={narrow:{am:"öö",pm:"ös",midnight:"gy",noon:"ö",morning:"sa",afternoon:"ös",evening:"ak",night:"ge"},abbreviated:{am:"ÖÖ",pm:"ÖS",midnight:"gece yarısı",noon:"öğle",morning:"sabah",afternoon:"öğleden sonra",evening:"akşam",night:"gece"},wide:{am:"Ö.Ö.",pm:"Ö.S.",midnight:"gece yarısı",noon:"öğle",morning:"sabah",afternoon:"öğleden sonra",evening:"akşam",night:"gece"}},G1={narrow:{am:"öö",pm:"ös",midnight:"gy",noon:"ö",morning:"sa",afternoon:"ös",evening:"ak",night:"ge"},abbreviated:{am:"ÖÖ",pm:"ÖS",midnight:"gece yarısı",noon:"öğlen",morning:"sabahleyin",afternoon:"öğleden sonra",evening:"akşamleyin",night:"geceleyin"},wide:{am:"ö.ö.",pm:"ö.s.",midnight:"gece yarısı",noon:"öğlen",morning:"sabahleyin",afternoon:"öğleden sonra",evening:"akşamleyin",night:"geceleyin"}},K1=(e,t)=>Number(e)+".",Y1={ordinalNumber:K1,era:G({values:j1,defaultWidth:"wide"}),quarter:G({values:W1,defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:G({values:V1,defaultWidth:"wide"}),day:G({values:U1,defaultWidth:"wide"}),dayPeriod:G({values:q1,defaultWidth:"wide",formattingValues:G1,defaultFormattingWidth:"wide"})},X1=/^(\d+)(\.)?/i,Z1=/\d+/i,J1={narrow:/^(mö|ms)/i,abbreviated:/^(mö|ms)/i,wide:/^(milattan önce|milattan sonra)/i},Q1={any:[/(^mö|^milattan önce)/i,/(^ms|^milattan sonra)/i]},ew={narrow:/^[1234]/i,abbreviated:/^[1234]ç/i,wide:/^((i|İ)lk|(i|İ)kinci|üçüncü|son) çeyrek/i},tw={any:[/1/i,/2/i,/3/i,/4/i],abbreviated:[/1ç/i,/2ç/i,/3ç/i,/4ç/i],wide:[/^(i|İ)lk çeyrek/i,/(i|İ)kinci çeyrek/i,/üçüncü çeyrek/i,/son çeyrek/i]},nw={narrow:/^[oşmnhtaek]/i,abbreviated:/^(oca|şub|mar|nis|may|haz|tem|ağu|eyl|eki|kas|ara)/i,wide:/^(ocak|şubat|mart|nisan|mayıs|haziran|temmuz|ağustos|eylül|ekim|kasım|aralık)/i},ow={narrow:[/^o/i,/^ş/i,/^m/i,/^n/i,/^m/i,/^h/i,/^t/i,/^a/i,/^e/i,/^e/i,/^k/i,/^a/i],any:[/^o/i,/^ş/i,/^mar/i,/^n/i,/^may/i,/^h/i,/^t/i,/^ağ/i,/^ey/i,/^ek/i,/^k/i,/^ar/i]},rw={narrow:/^[psçc]/i,short:/^(pz|pt|sa|ça|pe|cu|ct)/i,abbreviated:/^(paz|pzt|sal|çar|per|cum|cts)/i,wide:/^(pazar(?!tesi)|pazartesi|salı|çarşamba|perşembe|cuma(?!rtesi)|cumartesi)/i},aw={narrow:[/^p/i,/^p/i,/^s/i,/^ç/i,/^p/i,/^c/i,/^c/i],any:[/^pz/i,/^pt/i,/^sa/i,/^ça/i,/^pe/i,/^cu/i,/^ct/i],wide:[/^pazar(?!tesi)/i,/^pazartesi/i,/^salı/i,/^çarşamba/i,/^perşembe/i,/^cuma(?!rtesi)/i,/^cumartesi/i]},iw={narrow:/^(öö|ös|gy|ö|sa|ös|ak|ge)/i,any:/^(ö\.?\s?[ös]\.?|öğleden sonra|gece yarısı|öğle|(sabah|öğ|akşam|gece)(leyin))/i},sw={any:{am:/^ö\.?ö\.?/i,pm:/^ö\.?s\.?/i,midnight:/^(gy|gece yarısı)/i,noon:/^öğ/i,morning:/^sa/i,afternoon:/^öğleden sonra/i,evening:/^ak/i,night:/^ge/i}},lw={ordinalNumber:Pt({matchPattern:X1,parsePattern:Z1,valueCallback:function(e){return parseInt(e,10)}}),era:K({matchPatterns:J1,defaultMatchWidth:"wide",parsePatterns:Q1,defaultParseWidth:"any"}),quarter:K({matchPatterns:ew,defaultMatchWidth:"wide",parsePatterns:tw,defaultParseWidth:"any",valueCallback:e=>e+1}),month:K({matchPatterns:nw,defaultMatchWidth:"wide",parsePatterns:ow,defaultParseWidth:"any"}),day:K({matchPatterns:rw,defaultMatchWidth:"wide",parsePatterns:aw,defaultParseWidth:"any"}),dayPeriod:K({matchPatterns:iw,defaultMatchWidth:"any",parsePatterns:sw,defaultParseWidth:"any"})},cw={code:"tr",formatDistance:I1,formatLong:F1,formatRelative:B1,localize:Y1,match:lw,options:{weekStartsOn:1,firstWeekContainsDate:1}},uw={lessThanXSeconds:{one:"不到 1 秒",other:"不到 {{count}} 秒"},xSeconds:{one:"1 秒",other:"{{count}} 秒"},halfAMinute:"半分钟",lessThanXMinutes:{one:"不到 1 分钟",other:"不到 {{count}} 分钟"},xMinutes:{one:"1 分钟",other:"{{count}} 分钟"},xHours:{one:"1 小时",other:"{{count}} 小时"},aboutXHours:{one:"大约 1 小时",other:"大约 {{count}} 小时"},xDays:{one:"1 天",other:"{{count}} 天"},aboutXWeeks:{one:"大约 1 个星期",other:"大约 {{count}} 个星期"},xWeeks:{one:"1 个星期",other:"{{count}} 个星期"},aboutXMonths:{one:"大约 1 个月",other:"大约 {{count}} 个月"},xMonths:{one:"1 个月",other:"{{count}} 个月"},aboutXYears:{one:"大约 1 年",other:"大约 {{count}} 年"},xYears:{one:"1 年",other:"{{count}} 年"},overXYears:{one:"超过 1 年",other:"超过 {{count}} 年"},almostXYears:{one:"将近 1 年",other:"将近 {{count}} 年"}},dw=(e,t,n)=>{let o;const r=uw[e];return typeof r=="string"?o=r:t===1?o=r.one:o=r.other.replace("{{count}}",String(t)),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?o+"内":o+"前":o},fw={full:"y'年'M'月'd'日' EEEE",long:"y'年'M'月'd'日'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},hw={full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},mw={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},pw={date:ie({formats:fw,defaultWidth:"full"}),time:ie({formats:hw,defaultWidth:"full"}),dateTime:ie({formats:mw,defaultWidth:"full"})};function Gs(e,t,n){const o="eeee p";return Un(e,t,n)?o:e.getTime()>t.getTime()?"'下个'"+o:"'上个'"+o}const gw={lastWeek:Gs,yesterday:"'昨天' p",today:"'今天' p",tomorrow:"'明天' p",nextWeek:Gs,other:"PP p"},vw=(e,t,n,o)=>{const r=gw[e];return typeof r=="function"?r(t,n,o):r},yw={narrow:["前","公元"],abbreviated:["前","公元"],wide:["公元前","公元"]},bw={narrow:["1","2","3","4"],abbreviated:["第一季","第二季","第三季","第四季"],wide:["第一季度","第二季度","第三季度","第四季度"]},ww={narrow:["一","二","三","四","五","六","七","八","九","十","十一","十二"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},xw={narrow:["日","一","二","三","四","五","六"],short:["日","一","二","三","四","五","六"],abbreviated:["周日","周一","周二","周三","周四","周五","周六"],wide:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},Cw={narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"}},Pw={narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"}},Sw=(e,t)=>{const n=Number(e);switch(t==null?void 0:t.unit){case"date":return n.toString()+"日";case"hour":return n.toString()+"时";case"minute":return n.toString()+"分";case"second":return n.toString()+"秒";default:return"第 "+n.toString()}},_w={ordinalNumber:Sw,era:G({values:yw,defaultWidth:"wide"}),quarter:G({values:bw,defaultWidth:"wide",argumentCallback:e=>e-1}),month:G({values:ww,defaultWidth:"wide"}),day:G({values:xw,defaultWidth:"wide"}),dayPeriod:G({values:Cw,defaultWidth:"wide",formattingValues:Pw,defaultFormattingWidth:"wide"})},Tw=/^(第\s*)?\d+(日|时|分|秒)?/i,kw=/\d+/i,Ew={narrow:/^(前)/i,abbreviated:/^(前)/i,wide:/^(公元前|公元)/i},$w={any:[/^(前)/i,/^(公元)/i]},Rw={narrow:/^[1234]/i,abbreviated:/^第[一二三四]刻/i,wide:/^第[一二三四]刻钟/i},Mw={any:[/(1|一)/i,/(2|二)/i,/(3|三)/i,/(4|四)/i]},Ow={narrow:/^(一|二|三|四|五|六|七|八|九|十[二一])/i,abbreviated:/^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,wide:/^(一|二|三|四|五|六|七|八|九|十[二一])月/i},Aw={narrow:[/^一/i,/^二/i,/^三/i,/^四/i,/^五/i,/^六/i,/^七/i,/^八/i,/^九/i,/^十(?!(一|二))/i,/^十一/i,/^十二/i],any:[/^一|1/i,/^二|2/i,/^三|3/i,/^四|4/i,/^五|5/i,/^六|6/i,/^七|7/i,/^八|8/i,/^九|9/i,/^十(?!(一|二))|10/i,/^十一|11/i,/^十二|12/i]},Dw={narrow:/^[一二三四五六日]/i,short:/^[一二三四五六日]/i,abbreviated:/^周[一二三四五六日]/i,wide:/^星期[一二三四五六日]/i},Iw={any:[/日/i,/一/i,/二/i,/三/i,/四/i,/五/i,/六/i]},zw={any:/^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨|)/i},Lw={any:{am:/^上午?/i,pm:/^下午?/i,midnight:/^午夜/i,noon:/^[中正]午/i,morning:/^早上/i,afternoon:/^下午/i,evening:/^晚上?/i,night:/^凌晨/i}},Hw={ordinalNumber:Pt({matchPattern:Tw,parsePattern:kw,valueCallback:e=>parseInt(e,10)}),era:K({matchPatterns:Ew,defaultMatchWidth:"wide",parsePatterns:$w,defaultParseWidth:"any"}),quarter:K({matchPatterns:Rw,defaultMatchWidth:"wide",parsePatterns:Mw,defaultParseWidth:"any",valueCallback:e=>e+1}),month:K({matchPatterns:Ow,defaultMatchWidth:"wide",parsePatterns:Aw,defaultParseWidth:"any"}),day:K({matchPatterns:Dw,defaultMatchWidth:"wide",parsePatterns:Iw,defaultParseWidth:"any"}),dayPeriod:K({matchPatterns:zw,defaultMatchWidth:"any",parsePatterns:Lw,defaultParseWidth:"any"})},Fw={code:"zh-CN",formatDistance:dw,formatLong:pw,formatRelative:vw,localize:_w,match:Hw,options:{weekStartsOn:1,firstWeekContainsDate:4}},Nw={name:"zh-CN",locale:Fw},Ks={name:"en-US",locale:py},Bw={name:"ru-RU",locale:A1},jw={name:"de-DE",locale:H0},Ww={name:"fr-FR",locale:Cb},Ys={name:"es-AR",locale:qy},Vw={name:"it-IT",locale:e1},Uw={name:"en-GB",locale:uy},Mr={name:"ar-DZ",locale:i0},qw={name:"tr-TR",locale:cw};function nr(e,t,n){if(!t)return;const o=tr(),r=te(wt,null),a=()=>{const i=n.value;t.mount({id:i===void 0?e:i+e,head:!0,anchorMetaName:Vn,props:{bPrefix:i?`.${i}-`:void 0},ssr:o,parent:r==null?void 0:r.styleMountTarget}),r!=null&&r.preflightStyleDisabled||Gc.mount({id:"n-global",head:!0,anchorMetaName:Vn,ssr:o,parent:r==null?void 0:r.styleMountTarget})};o?a():tn(a)}function St(e,t,n,o){n||xn("useThemeClass","cssVarsRef is not passed");const r=te(wt,null),a=r==null?void 0:r.mergedThemeHashRef,i=r==null?void 0:r.styleMountTarget,s=M(""),l=tr();let c;const u=`__${e}`,d=()=>{let f=u;const h=t?t.value:void 0,m=a==null?void 0:a.value;m&&(f+=`-${m}`),h&&(f+=`-${h}`);const{themeOverrides:p,builtinThemeOverrides:g}=o;p&&(f+=`-${Bn(JSON.stringify(p))}`),g&&(f+=`-${Bn(JSON.stringify(g))}`),s.value=f,c=()=>{const v=n.value;let w="";for(const x in v)w+=`${x}: ${v[x]};`;$(`.${f}`,w).mount({id:f,ssr:l,parent:i}),c=void 0}};return Yn(()=>{d()}),{themeClass:s,onRender:()=>{c==null||c()}}}function Pn(e,t,n){if(!t)return;const o=tr(),r=O(()=>{const{value:s}=t;if(!s)return;const l=s[e];if(l)return l}),a=te(wt,null),i=()=>{Yn(()=>{const{value:s}=n,l=`${s}${e}Rtl`;if(vg(l,o))return;const{value:c}=r;c&&c.style.mount({id:l,head:!0,anchorMetaName:Vn,props:{bPrefix:s?`.${s}-`:void 0},ssr:o,parent:a==null?void 0:a.styleMountTarget})})};return o?i():tn(i),r}function Qn(e,t){return X({name:sd(e),setup(){var n;const o=(n=te(wt,null))===null||n===void 0?void 0:n.mergedIconsRef;return()=>{var r;const a=(r=o==null?void 0:o.value)===null||r===void 0?void 0:r[e];return a?a():t}}})}const Gw=Qn("close",b("svg",{viewBox:"0 0 12 12",version:"1.1",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0},b("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},b("g",{fill:"currentColor","fill-rule":"nonzero"},b("path",{d:"M2.08859116,2.2156945 L2.14644661,2.14644661 C2.32001296,1.97288026 2.58943736,1.95359511 2.7843055,2.08859116 L2.85355339,2.14644661 L6,5.293 L9.14644661,2.14644661 C9.34170876,1.95118446 9.65829124,1.95118446 9.85355339,2.14644661 C10.0488155,2.34170876 10.0488155,2.65829124 9.85355339,2.85355339 L6.707,6 L9.85355339,9.14644661 C10.0271197,9.32001296 10.0464049,9.58943736 9.91140884,9.7843055 L9.85355339,9.85355339 C9.67998704,10.0271197 9.41056264,10.0464049 9.2156945,9.91140884 L9.14644661,9.85355339 L6,6.707 L2.85355339,9.85355339 C2.65829124,10.0488155 2.34170876,10.0488155 2.14644661,9.85355339 C1.95118446,9.65829124 1.95118446,9.34170876 2.14644661,9.14644661 L5.293,6 L2.14644661,2.85355339 C1.97288026,2.67998704 1.95359511,2.41056264 2.08859116,2.2156945 L2.14644661,2.14644661 L2.08859116,2.2156945 Z"}))))),or=Qn("error",b("svg",{viewBox:"0 0 48 48",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},b("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},b("g",{"fill-rule":"nonzero"},b("path",{d:"M24,4 C35.045695,4 44,12.954305 44,24 C44,35.045695 35.045695,44 24,44 C12.954305,44 4,35.045695 4,24 C4,12.954305 12.954305,4 24,4 Z M17.8838835,16.1161165 L17.7823881,16.0249942 C17.3266086,15.6583353 16.6733914,15.6583353 16.2176119,16.0249942 L16.1161165,16.1161165 L16.0249942,16.2176119 C15.6583353,16.6733914 15.6583353,17.3266086 16.0249942,17.7823881 L16.1161165,17.8838835 L22.233,24 L16.1161165,30.1161165 L16.0249942,30.2176119 C15.6583353,30.6733914 15.6583353,31.3266086 16.0249942,31.7823881 L16.1161165,31.8838835 L16.2176119,31.9750058 C16.6733914,32.3416647 17.3266086,32.3416647 17.7823881,31.9750058 L17.8838835,31.8838835 L24,25.767 L30.1161165,31.8838835 L30.2176119,31.9750058 C30.6733914,32.3416647 31.3266086,32.3416647 31.7823881,31.9750058 L31.8838835,31.8838835 L31.9750058,31.7823881 C32.3416647,31.3266086 32.3416647,30.6733914 31.9750058,30.2176119 L31.8838835,30.1161165 L25.767,24 L31.8838835,17.8838835 L31.9750058,17.7823881 C32.3416647,17.3266086 32.3416647,16.6733914 31.9750058,16.2176119 L31.8838835,16.1161165 L31.7823881,16.0249942 C31.3266086,15.6583353 30.6733914,15.6583353 30.2176119,16.0249942 L30.1161165,16.1161165 L24,22.233 L17.8838835,16.1161165 L17.7823881,16.0249942 L17.8838835,16.1161165 Z"}))))),qn=Qn("info",b("svg",{viewBox:"0 0 28 28",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},b("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},b("g",{"fill-rule":"nonzero"},b("path",{d:"M14,2 C20.6274,2 26,7.37258 26,14 C26,20.6274 20.6274,26 14,26 C7.37258,26 2,20.6274 2,14 C2,7.37258 7.37258,2 14,2 Z M14,11 C13.4477,11 13,11.4477 13,12 L13,12 L13,20 C13,20.5523 13.4477,21 14,21 C14.5523,21 15,20.5523 15,20 L15,20 L15,12 C15,11.4477 14.5523,11 14,11 Z M14,6.75 C13.3096,6.75 12.75,7.30964 12.75,8 C12.75,8.69036 13.3096,9.25 14,9.25 C14.6904,9.25 15.25,8.69036 15.25,8 C15.25,7.30964 14.6904,6.75 14,6.75 Z"}))))),rr=Qn("success",b("svg",{viewBox:"0 0 48 48",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},b("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},b("g",{"fill-rule":"nonzero"},b("path",{d:"M24,4 C35.045695,4 44,12.954305 44,24 C44,35.045695 35.045695,44 24,44 C12.954305,44 4,35.045695 4,24 C4,12.954305 12.954305,4 24,4 Z M32.6338835,17.6161165 C32.1782718,17.1605048 31.4584514,17.1301307 30.9676119,17.5249942 L30.8661165,17.6161165 L20.75,27.732233 L17.1338835,24.1161165 C16.6457281,23.6279612 15.8542719,23.6279612 15.3661165,24.1161165 C14.9105048,24.5717282 14.8801307,25.2915486 15.2749942,25.7823881 L15.3661165,25.8838835 L19.8661165,30.3838835 C20.3217282,30.8394952 21.0415486,30.8698693 21.5323881,30.4750058 L21.6338835,30.3838835 L32.6338835,19.3838835 C33.1220388,18.8957281 33.1220388,18.1042719 32.6338835,17.6161165 Z"}))))),ar=Qn("warning",b("svg",{viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},b("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},b("g",{"fill-rule":"nonzero"},b("path",{d:"M12,2 C17.523,2 22,6.478 22,12 C22,17.522 17.523,22 12,22 C6.477,22 2,17.522 2,12 C2,6.478 6.477,2 12,2 Z M12.0018002,15.0037242 C11.450254,15.0037242 11.0031376,15.4508407 11.0031376,16.0023869 C11.0031376,16.553933 11.450254,17.0010495 12.0018002,17.0010495 C12.5533463,17.0010495 13.0004628,16.553933 13.0004628,16.0023869 C13.0004628,15.4508407 12.5533463,15.0037242 12.0018002,15.0037242 Z M11.99964,7 C11.4868042,7.00018474 11.0642719,7.38637706 11.0066858,7.8837365 L11,8.00036004 L11.0018003,13.0012393 L11.00857,13.117858 C11.0665141,13.6151758 11.4893244,14.0010638 12.0021602,14.0008793 C12.514996,14.0006946 12.9375283,13.6145023 12.9951144,13.1171428 L13.0018002,13.0005193 L13,7.99964009 L12.9932303,7.8830214 C12.9352861,7.38570354 12.5124758,6.99981552 11.99964,7 Z"}))))),Qa=X({name:"BaseIconSwitchTransition",setup(e,{slots:t}){const n=Ka();return()=>b(lt,{name:"icon-switch-transition",appear:n.value},t)}}),Jc=X({name:"FadeInExpandTransition",props:{appear:Boolean,group:Boolean,mode:String,onLeave:Function,onAfterLeave:Function,onAfterEnter:Function,width:Boolean,reverse:Boolean},setup(e,{slots:t}){function n(s){e.width?s.style.maxWidth=`${s.offsetWidth}px`:s.style.maxHeight=`${s.offsetHeight}px`,s.offsetWidth}function o(s){e.width?s.style.maxWidth="0":s.style.maxHeight="0",s.offsetWidth;const{onLeave:l}=e;l&&l()}function r(s){e.width?s.style.maxWidth="":s.style.maxHeight="";const{onAfterLeave:l}=e;l&&l()}function a(s){if(s.style.transition="none",e.width){const l=s.offsetWidth;s.style.maxWidth="0",s.offsetWidth,s.style.transition="",s.style.maxWidth=`${l}px`}else if(e.reverse)s.style.maxHeight=`${s.offsetHeight}px`,s.offsetHeight,s.style.transition="",s.style.maxHeight="0";else{const l=s.offsetHeight;s.style.maxHeight="0",s.offsetWidth,s.style.transition="",s.style.maxHeight=`${l}px`}s.offsetWidth}function i(s){var l;e.width?s.style.maxWidth="":e.reverse||(s.style.maxHeight=""),(l=e.onAfterEnter)===null||l===void 0||l.call(e)}return()=>{const{group:s,width:l,appear:c,mode:u}=e,d=s?Yu:lt,f={name:l?"fade-in-width-expand-transition":"fade-in-height-expand-transition",appear:c,onEnter:a,onAfterEnter:i,onBeforeLeave:n,onLeave:o,onAfterLeave:r};return s||(f.mode=u),b(d,f,t)}}}),Kw=H("base-icon",` height: 1em; width: 1em; line-height: 1em; text-align: center; display: inline-block; position: relative; fill: currentColor; transform: translateZ(0); `,[$("svg",` height: 1em; width: 1em; `)]),eo=X({name:"BaseIcon",props:{role:String,ariaLabel:String,ariaDisabled:{type:Boolean,default:void 0},ariaHidden:{type:Boolean,default:void 0},clsPrefix:{type:String,required:!0},onClick:Function,onMousedown:Function,onMouseup:Function},setup(e){nr("-base-icon",Kw,ot(e,"clsPrefix"))},render(){return b("i",{class:`${this.clsPrefix}-base-icon`,onClick:this.onClick,onMousedown:this.onMousedown,onMouseup:this.onMouseup,role:this.role,"aria-label":this.ariaLabel,"aria-hidden":this.ariaHidden,"aria-disabled":this.ariaDisabled},this.$slots)}}),Yw=H("base-close",` display: flex; align-items: center; justify-content: center; cursor: pointer; background-color: transparent; color: var(--n-close-icon-color); border-radius: var(--n-close-border-radius); height: var(--n-close-size); width: var(--n-close-size); font-size: var(--n-close-icon-size); outline: none; border: none; position: relative; padding: 0; `,[L("absolute",` height: var(--n-close-icon-size); width: var(--n-close-icon-size); `),$("&::before",` content: ""; position: absolute; width: var(--n-close-size); height: var(--n-close-size); left: 50%; top: 50%; transform: translateY(-50%) translateX(-50%); transition: inherit; border-radius: inherit; `),ca("disabled",[$("&:hover",` color: var(--n-close-icon-color-hover); `),$("&:hover::before",` background-color: var(--n-close-color-hover); `),$("&:focus::before",` background-color: var(--n-close-color-hover); `),$("&:active",` color: var(--n-close-icon-color-pressed); `),$("&:active::before",` background-color: var(--n-close-color-pressed); `)]),L("disabled",` cursor: not-allowed; color: var(--n-close-icon-color-disabled); background-color: transparent; `),L("round",[$("&::before",` border-radius: 50%; `)])]),ir=X({name:"BaseClose",props:{isButtonTag:{type:Boolean,default:!0},clsPrefix:{type:String,required:!0},disabled:{type:Boolean,default:void 0},focusable:{type:Boolean,default:!0},round:Boolean,onClick:Function,absolute:Boolean},setup(e){return nr("-base-close",Yw,ot(e,"clsPrefix")),()=>{const{clsPrefix:t,disabled:n,absolute:o,round:r,isButtonTag:a}=e;return b(a?"button":"div",{type:a?"button":void 0,tabindex:n||!e.focusable?-1:0,"aria-disabled":n,"aria-label":"close",role:a?void 0:"button",disabled:n,class:[`${t}-base-close`,o&&`${t}-base-close--absolute`,n&&`${t}-base-close--disabled`,r&&`${t}-base-close--round`],onMousedown:s=>{e.focusable||s.preventDefault()},onClick:e.onClick},b(eo,{clsPrefix:t},{default:()=>b(Gw,null)}))}}}),{cubicBezierEaseInOut:Xw}=rn;function jo({originalTransform:e="",left:t=0,top:n=0,transition:o=`all .3s ${Xw} !important`}={}){return[$("&.icon-switch-transition-enter-from, &.icon-switch-transition-leave-to",{transform:`${e} scale(0.75)`,left:t,top:n,opacity:0}),$("&.icon-switch-transition-enter-to, &.icon-switch-transition-leave-from",{transform:`scale(1) ${e}`,left:t,top:n,opacity:1}),$("&.icon-switch-transition-enter-active, &.icon-switch-transition-leave-active",{transformOrigin:"center",position:"absolute",left:t,top:n,transition:o})]}const Zw=$([$("@keyframes rotator",` 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); }`),H("base-loading",` position: relative; line-height: 0; width: 1em; height: 1em; `,[z("transition-wrapper",` position: absolute; width: 100%; height: 100%; `,[jo()]),z("placeholder",` position: absolute; left: 50%; top: 50%; transform: translateX(-50%) translateY(-50%); `,[jo({left:"50%",top:"50%",originalTransform:"translateX(-50%) translateY(-50%)"})]),z("container",` animation: rotator 3s linear infinite both; `,[z("icon",` height: 1em; width: 1em; `)])])]),Or="1.6s",Jw={strokeWidth:{type:Number,default:28},stroke:{type:String,default:void 0}},Qc=X({name:"BaseLoading",props:Object.assign({clsPrefix:{type:String,required:!0},show:{type:Boolean,default:!0},scale:{type:Number,default:1},radius:{type:Number,default:100}},Jw),setup(e){nr("-base-loading",Zw,ot(e,"clsPrefix"))},render(){const{clsPrefix:e,radius:t,strokeWidth:n,stroke:o,scale:r}=this,a=t/r;return b("div",{class:`${e}-base-loading`,role:"img","aria-label":"loading"},b(Qa,null,{default:()=>this.show?b("div",{key:"icon",class:`${e}-base-loading__transition-wrapper`},b("div",{class:`${e}-base-loading__container`},b("svg",{class:`${e}-base-loading__icon`,viewBox:`0 0 ${2*a} ${2*a}`,xmlns:"http://www.w3.org/2000/svg",style:{color:o}},b("g",null,b("animateTransform",{attributeName:"transform",type:"rotate",values:`0 ${a} ${a};270 ${a} ${a}`,begin:"0s",dur:Or,fill:"freeze",repeatCount:"indefinite"}),b("circle",{class:`${e}-base-loading__icon`,fill:"none",stroke:"currentColor","stroke-width":n,"stroke-linecap":"round",cx:a,cy:a,r:t-n/2,"stroke-dasharray":5.67*t,"stroke-dashoffset":18.48*t},b("animateTransform",{attributeName:"transform",type:"rotate",values:`0 ${a} ${a};135 ${a} ${a};450 ${a} ${a}`,begin:"0s",dur:Or,fill:"freeze",repeatCount:"indefinite"}),b("animate",{attributeName:"stroke-dashoffset",values:`${5.67*t};${1.42*t};${5.67*t}`,begin:"0s",dur:Or,fill:"freeze",repeatCount:"indefinite"})))))):b("div",{key:"placeholder",class:`${e}-base-loading__placeholder`},this.$slots)}))}}),V={neutralBase:"#FFF",neutralInvertBase:"#000",neutralTextBase:"#000",neutralPopover:"#fff",neutralCard:"#fff",neutralModal:"#fff",neutralBody:"#fff",alpha1:"0.82",alpha2:"0.72",alpha3:"0.38",alpha4:"0.24",alpha5:"0.18",alphaClose:"0.6",alphaDisabled:"0.5",alphaDisabledInput:"0.02",alphaPending:"0.05",alphaTablePending:"0.02",alphaPressed:"0.07",alphaAvatar:"0.2",alphaRail:"0.14",alphaProgressRail:".08",alphaBorder:"0.12",alphaDivider:"0.06",alphaInput:"0",alphaAction:"0.02",alphaTab:"0.04",alphaScrollbar:"0.25",alphaScrollbarHover:"0.4",alphaCode:"0.05",alphaTag:"0.02",primaryHover:"#36ad6a",primaryDefault:"#18a058",primaryActive:"#0c7a43",primarySuppl:"#36ad6a",infoHover:"#4098fc",infoDefault:"#2080f0",infoActive:"#1060c9",infoSuppl:"#4098fc",errorHover:"#de576d",errorDefault:"#d03050",errorActive:"#ab1f3f",errorSuppl:"#de576d",warningHover:"#fcb040",warningDefault:"#f0a020",warningActive:"#c97c10",warningSuppl:"#fcb040",successHover:"#36ad6a",successDefault:"#18a058",successActive:"#0c7a43",successSuppl:"#36ad6a"},Qw=Ht(V.neutralBase),eu=Ht(V.neutralInvertBase),ex=`rgba(${eu.slice(0,3).join(", ")}, `;function Xs(e){return`${ex+String(e)})`}function Re(e){const t=Array.from(eu);return t[3]=Number(e),Ga(Qw,t)}const _t=Object.assign(Object.assign({name:"common"},rn),{baseColor:V.neutralBase,primaryColor:V.primaryDefault,primaryColorHover:V.primaryHover,primaryColorPressed:V.primaryActive,primaryColorSuppl:V.primarySuppl,infoColor:V.infoDefault,infoColorHover:V.infoHover,infoColorPressed:V.infoActive,infoColorSuppl:V.infoSuppl,successColor:V.successDefault,successColorHover:V.successHover,successColorPressed:V.successActive,successColorSuppl:V.successSuppl,warningColor:V.warningDefault,warningColorHover:V.warningHover,warningColorPressed:V.warningActive,warningColorSuppl:V.warningSuppl,errorColor:V.errorDefault,errorColorHover:V.errorHover,errorColorPressed:V.errorActive,errorColorSuppl:V.errorSuppl,textColorBase:V.neutralTextBase,textColor1:"rgb(31, 34, 37)",textColor2:"rgb(51, 54, 57)",textColor3:"rgb(118, 124, 130)",textColorDisabled:Re(V.alpha4),placeholderColor:Re(V.alpha4),placeholderColorDisabled:Re(V.alpha5),iconColor:Re(V.alpha4),iconColorHover:co(Re(V.alpha4),{lightness:.75}),iconColorPressed:co(Re(V.alpha4),{lightness:.9}),iconColorDisabled:Re(V.alpha5),opacity1:V.alpha1,opacity2:V.alpha2,opacity3:V.alpha3,opacity4:V.alpha4,opacity5:V.alpha5,dividerColor:"rgb(239, 239, 245)",borderColor:"rgb(224, 224, 230)",closeIconColor:Re(Number(V.alphaClose)),closeIconColorHover:Re(Number(V.alphaClose)),closeIconColorPressed:Re(Number(V.alphaClose)),closeColorHover:"rgba(0, 0, 0, .09)",closeColorPressed:"rgba(0, 0, 0, .13)",clearColor:Re(V.alpha4),clearColorHover:co(Re(V.alpha4),{lightness:.75}),clearColorPressed:co(Re(V.alpha4),{lightness:.9}),scrollbarColor:Xs(V.alphaScrollbar),scrollbarColorHover:Xs(V.alphaScrollbarHover),scrollbarWidth:"5px",scrollbarHeight:"5px",scrollbarBorderRadius:"5px",progressRailColor:Re(V.alphaProgressRail),railColor:"rgb(219, 219, 223)",popoverColor:V.neutralPopover,tableColor:V.neutralCard,cardColor:V.neutralCard,modalColor:V.neutralModal,bodyColor:V.neutralBody,tagColor:"#eee",avatarColor:Re(V.alphaAvatar),invertedColor:"rgb(0, 20, 40)",inputColor:Re(V.alphaInput),codeColor:"rgb(244, 244, 248)",tabColor:"rgb(247, 247, 250)",actionColor:"rgb(250, 250, 252)",tableHeaderColor:"rgb(250, 250, 252)",hoverColor:"rgb(243, 243, 245)",tableColorHover:"rgba(0, 0, 100, 0.03)",tableColorStriped:"rgba(0, 0, 100, 0.02)",pressedColor:"rgb(237, 237, 239)",opacityDisabled:V.alphaDisabled,inputColorDisabled:"rgb(250, 250, 252)",buttonColor2:"rgba(46, 51, 56, .05)",buttonColor2Hover:"rgba(46, 51, 56, .09)",buttonColor2Pressed:"rgba(46, 51, 56, .13)",boxShadow1:"0 1px 2px -2px rgba(0, 0, 0, .08), 0 3px 6px 0 rgba(0, 0, 0, .06), 0 5px 12px 4px rgba(0, 0, 0, .04)",boxShadow2:"0 3px 6px -4px rgba(0, 0, 0, .12), 0 6px 16px 0 rgba(0, 0, 0, .08), 0 9px 28px 8px rgba(0, 0, 0, .05)",boxShadow3:"0 6px 16px -9px rgba(0, 0, 0, .08), 0 9px 28px 0 rgba(0, 0, 0, .05), 0 12px 48px 16px rgba(0, 0, 0, .03)"}),tx={railInsetHorizontalBottom:"auto 2px 4px 2px",railInsetHorizontalTop:"4px 2px auto 2px",railInsetVerticalRight:"2px 4px 2px auto",railInsetVerticalLeft:"2px auto 2px 4px",railColor:"transparent"};function nx(e){const{scrollbarColor:t,scrollbarColorHover:n,scrollbarHeight:o,scrollbarWidth:r,scrollbarBorderRadius:a}=e;return Object.assign(Object.assign({},tx),{height:o,width:r,borderRadius:a,color:t,colorHover:n})}const ei={name:"Scrollbar",common:_t,self:nx},{cubicBezierEaseInOut:Zs}=rn;function ti({name:e="fade-in",enterDuration:t="0.2s",leaveDuration:n="0.2s",enterCubicBezier:o=Zs,leaveCubicBezier:r=Zs}={}){return[$(`&.${e}-transition-enter-active`,{transition:`all ${t} ${o}!important`}),$(`&.${e}-transition-leave-active`,{transition:`all ${n} ${r}!important`}),$(`&.${e}-transition-enter-from, &.${e}-transition-leave-to`,{opacity:0}),$(`&.${e}-transition-leave-from, &.${e}-transition-enter-to`,{opacity:1})]}const ox=H("scrollbar",` overflow: hidden; position: relative; z-index: auto; height: 100%; width: 100%; `,[$(">",[H("scrollbar-container",` width: 100%; overflow: scroll; height: 100%; min-height: inherit; max-height: inherit; scrollbar-width: none; `,[$("&::-webkit-scrollbar, &::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb",` width: 0; height: 0; display: none; `),$(">",[H("scrollbar-content",` box-sizing: border-box; min-width: 100%; `)])])]),$(">, +",[H("scrollbar-rail",` position: absolute; pointer-events: none; user-select: none; background: var(--n-scrollbar-rail-color); -webkit-user-select: none; `,[L("horizontal",` height: var(--n-scrollbar-height); `,[$(">",[z("scrollbar",` height: var(--n-scrollbar-height); border-radius: var(--n-scrollbar-border-radius); right: 0; `)])]),L("horizontal--top",` inset: var(--n-scrollbar-rail-inset-horizontal-top); `),L("horizontal--bottom",` inset: var(--n-scrollbar-rail-inset-horizontal-bottom); `),L("vertical",` width: var(--n-scrollbar-width); `,[$(">",[z("scrollbar",` width: var(--n-scrollbar-width); border-radius: var(--n-scrollbar-border-radius); bottom: 0; `)])]),L("vertical--left",` inset: var(--n-scrollbar-rail-inset-vertical-left); `),L("vertical--right",` inset: var(--n-scrollbar-rail-inset-vertical-right); `),L("disabled",[$(">",[z("scrollbar","pointer-events: none;")])]),$(">",[z("scrollbar",` z-index: 1; position: absolute; cursor: pointer; pointer-events: all; background-color: var(--n-scrollbar-color); transition: background-color .2s var(--n-scrollbar-bezier); `,[ti(),$("&:hover","background-color: var(--n-scrollbar-color-hover);")])])])])]),rx=Object.assign(Object.assign({},Se.props),{duration:{type:Number,default:0},scrollable:{type:Boolean,default:!0},xScrollable:Boolean,trigger:{type:String,default:"hover"},useUnifiedContainer:Boolean,triggerDisplayManually:Boolean,container:Function,content:Function,containerClass:String,containerStyle:[String,Object],contentClass:[String,Array],contentStyle:[String,Object],horizontalRailStyle:[String,Object],verticalRailStyle:[String,Object],onScroll:Function,onWheel:Function,onResize:Function,internalOnUpdateScrollLeft:Function,internalHoistYRail:Boolean,yPlacement:{type:String,default:"right"},xPlacement:{type:String,default:"bottom"}}),ni=X({name:"Scrollbar",props:rx,inheritAttrs:!1,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n,mergedRtlRef:o}=Ke(e),r=Pn("Scrollbar",o,t),a=M(null),i=M(null),s=M(null),l=M(null),c=M(null),u=M(null),d=M(null),f=M(null),h=M(null),m=M(null),p=M(null),g=M(0),v=M(0),w=M(!1),x=M(!1);let S=!1,C=!1,_,y,P=0,E=0,A=0,B=0;const N=Og(),q=Se("Scrollbar","-scrollbar",ox,ei,e,t),ee=O(()=>{const{value:R}=f,{value:W}=u,{value:Y}=m;return R===null||W===null||Y===null?0:Math.min(R,Y*R/W+ss(q.value.self.width)*1.5)}),ne=O(()=>`${ee.value}px`),J=O(()=>{const{value:R}=h,{value:W}=d,{value:Y}=p;return R===null||W===null||Y===null?0:Y*R/W+ss(q.value.self.height)*1.5}),F=O(()=>`${J.value}px`),ce=O(()=>{const{value:R}=f,{value:W}=g,{value:Y}=u,{value:fe}=m;if(R===null||Y===null||fe===null)return 0;{const Pe=Y-R;return Pe?W/Pe*(fe-ee.value):0}}),ye=O(()=>`${ce.value}px`),de=O(()=>{const{value:R}=h,{value:W}=v,{value:Y}=d,{value:fe}=p;if(R===null||Y===null||fe===null)return 0;{const Pe=Y-R;return Pe?W/Pe*(fe-J.value):0}}),Ce=O(()=>`${de.value}px`),Ee=O(()=>{const{value:R}=f,{value:W}=u;return R!==null&&W!==null&&W>R}),He=O(()=>{const{value:R}=h,{value:W}=d;return R!==null&&W!==null&&W>R}),Oe=O(()=>{const{trigger:R}=e;return R==="none"||w.value}),Tt=O(()=>{const{trigger:R}=e;return R==="none"||x.value}),oe=O(()=>{const{container:R}=e;return R?R():i.value}),T=O(()=>{const{content:R}=e;return R?R():s.value}),I=(R,W)=>{if(!e.scrollable)return;if(typeof R=="number"){Z(R,W??0,0,!1,"auto");return}const{left:Y,top:fe,index:Pe,elSize:Fe,position:Ze,behavior:ge,el:Ve,debounce:kt=!0}=R;(Y!==void 0||fe!==void 0)&&Z(Y??0,fe??0,0,!1,ge),Ve!==void 0?Z(0,Ve.offsetTop,Ve.offsetHeight,kt,ge):Pe!==void 0&&Fe!==void 0?Z(0,Pe*Fe,Fe,kt,ge):Ze==="bottom"?Z(0,Number.MAX_SAFE_INTEGER,0,!1,ge):Ze==="top"&&Z(0,0,0,!1,ge)},k=vv(()=>{e.container||I({top:g.value,left:v.value})}),j=()=>{k.isDeactivated||Nt()},re=R=>{if(k.isDeactivated)return;const{onResize:W}=e;W&&W(R),Nt()},he=(R,W)=>{if(!e.scrollable)return;const{value:Y}=oe;Y&&(typeof R=="object"?Y.scrollBy(R):Y.scrollBy(R,W||0))};function Z(R,W,Y,fe,Pe){const{value:Fe}=oe;if(Fe){if(fe){const{scrollTop:Ze,offsetHeight:ge}=Fe;if(W>Ze){W+Y<=Ze+ge||Fe.scrollTo({left:R,top:W+Y-ge,behavior:Pe});return}}Fe.scrollTo({left:R,top:W,behavior:Pe})}}function Q(){mr(),pe(),Nt()}function me(){Xe()}function Xe(){_e(),hr()}function _e(){y!==void 0&&window.clearTimeout(y),y=window.setTimeout(()=>{x.value=!1},e.duration)}function hr(){_!==void 0&&window.clearTimeout(_),_=window.setTimeout(()=>{w.value=!1},e.duration)}function mr(){_!==void 0&&window.clearTimeout(_),w.value=!0}function pe(){y!==void 0&&window.clearTimeout(y),x.value=!0}function Te(R){const{onScroll:W}=e;W&&W(R),Ft()}function Ft(){const{value:R}=oe;R&&(g.value=R.scrollTop,v.value=R.scrollLeft*(r!=null&&r.value?-1:1))}function Hu(){const{value:R}=T;R&&(u.value=R.offsetHeight,d.value=R.offsetWidth);const{value:W}=oe;W&&(f.value=W.offsetHeight,h.value=W.offsetWidth);const{value:Y}=c,{value:fe}=l;Y&&(p.value=Y.offsetWidth),fe&&(m.value=fe.offsetHeight)}function ci(){const{value:R}=oe;R&&(g.value=R.scrollTop,v.value=R.scrollLeft*(r!=null&&r.value?-1:1),f.value=R.offsetHeight,h.value=R.offsetWidth,u.value=R.scrollHeight,d.value=R.scrollWidth);const{value:W}=c,{value:Y}=l;W&&(p.value=W.offsetWidth),Y&&(m.value=Y.offsetHeight)}function Nt(){e.scrollable&&(e.useUnifiedContainer?ci():(Hu(),Ft()))}function ui(R){var W;return!(!((W=a.value)===null||W===void 0)&&W.contains(ja(R)))}function Fu(R){R.preventDefault(),R.stopPropagation(),C=!0,Ge("mousemove",window,di,!0),Ge("mouseup",window,fi,!0),E=v.value,A=r!=null&&r.value?window.innerWidth-R.clientX:R.clientX}function di(R){if(!C)return;_!==void 0&&window.clearTimeout(_),y!==void 0&&window.clearTimeout(y);const{value:W}=h,{value:Y}=d,{value:fe}=J;if(W===null||Y===null)return;const Fe=(r!=null&&r.value?window.innerWidth-R.clientX-A:R.clientX-A)*(Y-W)/(W-fe),Ze=Y-W;let ge=E+Fe;ge=Math.min(Ze,ge),ge=Math.max(ge,0);const{value:Ve}=oe;if(Ve){Ve.scrollLeft=ge*(r!=null&&r.value?-1:1);const{internalOnUpdateScrollLeft:kt}=e;kt&&kt(ge)}}function fi(R){R.preventDefault(),R.stopPropagation(),Ie("mousemove",window,di,!0),Ie("mouseup",window,fi,!0),C=!1,Nt(),ui(R)&&Xe()}function Nu(R){R.preventDefault(),R.stopPropagation(),S=!0,Ge("mousemove",window,pr,!0),Ge("mouseup",window,gr,!0),P=g.value,B=R.clientY}function pr(R){if(!S)return;_!==void 0&&window.clearTimeout(_),y!==void 0&&window.clearTimeout(y);const{value:W}=f,{value:Y}=u,{value:fe}=ee;if(W===null||Y===null)return;const Fe=(R.clientY-B)*(Y-W)/(W-fe),Ze=Y-W;let ge=P+Fe;ge=Math.min(Ze,ge),ge=Math.max(ge,0);const{value:Ve}=oe;Ve&&(Ve.scrollTop=ge)}function gr(R){R.preventDefault(),R.stopPropagation(),Ie("mousemove",window,pr,!0),Ie("mouseup",window,gr,!0),S=!1,Nt(),ui(R)&&Xe()}Yn(()=>{const{value:R}=He,{value:W}=Ee,{value:Y}=t,{value:fe}=c,{value:Pe}=l;fe&&(R?fe.classList.remove(`${Y}-scrollbar-rail--disabled`):fe.classList.add(`${Y}-scrollbar-rail--disabled`)),Pe&&(W?Pe.classList.remove(`${Y}-scrollbar-rail--disabled`):Pe.classList.add(`${Y}-scrollbar-rail--disabled`))}),xt(()=>{e.container||Nt()}),dt(()=>{_!==void 0&&window.clearTimeout(_),y!==void 0&&window.clearTimeout(y),Ie("mousemove",window,pr,!0),Ie("mouseup",window,gr,!0)});const hi=O(()=>{const{common:{cubicBezierEaseInOut:R},self:{color:W,colorHover:Y,height:fe,width:Pe,borderRadius:Fe,railInsetHorizontalTop:Ze,railInsetHorizontalBottom:ge,railInsetVerticalRight:Ve,railInsetVerticalLeft:kt,railColor:Bu}}=q.value;return{"--n-scrollbar-bezier":R,"--n-scrollbar-color":W,"--n-scrollbar-color-hover":Y,"--n-scrollbar-border-radius":Fe,"--n-scrollbar-width":Pe,"--n-scrollbar-height":fe,"--n-scrollbar-rail-inset-horizontal-top":Ze,"--n-scrollbar-rail-inset-horizontal-bottom":ge,"--n-scrollbar-rail-inset-vertical-right":r!=null&&r.value?fs(Ve):Ve,"--n-scrollbar-rail-inset-vertical-left":r!=null&&r.value?fs(kt):kt,"--n-scrollbar-rail-color":Bu}}),an=n?St("scrollbar",void 0,hi,e):void 0;return Object.assign(Object.assign({},{scrollTo:I,scrollBy:he,sync:Nt,syncUnifiedContainer:ci,handleMouseEnterWrapper:Q,handleMouseLeaveWrapper:me}),{mergedClsPrefix:t,rtlEnabled:r,containerScrollTop:g,wrapperRef:a,containerRef:i,contentRef:s,yRailRef:l,xRailRef:c,needYBar:Ee,needXBar:He,yBarSizePx:ne,xBarSizePx:F,yBarTopPx:ye,xBarLeftPx:Ce,isShowXBar:Oe,isShowYBar:Tt,isIos:N,handleScroll:Te,handleContentResize:j,handleContainerResize:re,handleYScrollMouseDown:Nu,handleXScrollMouseDown:Fu,cssVars:n?void 0:hi,themeClass:an==null?void 0:an.themeClass,onRender:an==null?void 0:an.onRender})},render(){var e;const{$slots:t,mergedClsPrefix:n,triggerDisplayManually:o,rtlEnabled:r,internalHoistYRail:a,yPlacement:i,xPlacement:s,xScrollable:l}=this;if(!this.scrollable)return(e=t.default)===null||e===void 0?void 0:e.call(t);const c=this.trigger==="none",u=(h,m)=>b("div",{ref:"yRailRef",class:[`${n}-scrollbar-rail`,`${n}-scrollbar-rail--vertical`,`${n}-scrollbar-rail--vertical--${i}`,h],"data-scrollbar-rail":!0,style:[m||"",this.verticalRailStyle],"aria-hidden":!0},b(c?us:lt,c?null:{name:"fade-in-transition"},{default:()=>this.needYBar&&this.isShowYBar&&!this.isIos?b("div",{class:`${n}-scrollbar-rail__scrollbar`,style:{height:this.yBarSizePx,top:this.yBarTopPx},onMousedown:this.handleYScrollMouseDown}):null})),d=()=>{var h,m;return(h=this.onRender)===null||h===void 0||h.call(this),b("div",Ca(this.$attrs,{role:"none",ref:"wrapperRef",class:[`${n}-scrollbar`,this.themeClass,r&&`${n}-scrollbar--rtl`],style:this.cssVars,onMouseenter:o?void 0:this.handleMouseEnterWrapper,onMouseleave:o?void 0:this.handleMouseLeaveWrapper}),[this.container?(m=t.default)===null||m===void 0?void 0:m.call(t):b("div",{role:"none",ref:"containerRef",class:[`${n}-scrollbar-container`,this.containerClass],style:this.containerStyle,onScroll:this.handleScroll,onWheel:this.onWheel},b(Os,{onResize:this.handleContentResize},{default:()=>b("div",{ref:"contentRef",role:"none",style:[{width:this.xScrollable?"fit-content":null},this.contentStyle],class:[`${n}-scrollbar-content`,this.contentClass]},t)})),a?null:u(void 0,void 0),l&&b("div",{ref:"xRailRef",class:[`${n}-scrollbar-rail`,`${n}-scrollbar-rail--horizontal`,`${n}-scrollbar-rail--horizontal--${s}`],style:this.horizontalRailStyle,"data-scrollbar-rail":!0,"aria-hidden":!0},b(c?us:lt,c?null:{name:"fade-in-transition"},{default:()=>this.needXBar&&this.isShowXBar&&!this.isIos?b("div",{class:`${n}-scrollbar-rail__scrollbar`,style:{width:this.xBarSizePx,right:r?this.xBarLeftPx:void 0,left:r?void 0:this.xBarLeftPx},onMousedown:this.handleXScrollMouseDown}):null}))])},f=this.container?d():b(Os,{onResize:this.handleContainerResize},{default:d});return a?b(at,null,f,u(this.themeClass,this.cssVars)):f}}),sS=ni,{cubicBezierEaseIn:Js,cubicBezierEaseOut:Qs}=rn;function ax({transformOrigin:e="inherit",duration:t=".2s",enterScale:n=".9",originalTransform:o="",originalTransition:r=""}={}){return[$("&.fade-in-scale-up-transition-leave-active",{transformOrigin:e,transition:`opacity ${t} ${Js}, transform ${t} ${Js} ${r&&`,${r}`}`}),$("&.fade-in-scale-up-transition-enter-active",{transformOrigin:e,transition:`opacity ${t} ${Qs}, transform ${t} ${Qs} ${r&&`,${r}`}`}),$("&.fade-in-scale-up-transition-enter-from, &.fade-in-scale-up-transition-leave-to",{opacity:0,transform:`${o} scale(${n})`}),$("&.fade-in-scale-up-transition-leave-from, &.fade-in-scale-up-transition-enter-to",{opacity:1,transform:`${o} scale(1)`})]}const ix=H("base-wave",` position: absolute; left: 0; right: 0; top: 0; bottom: 0; border-radius: inherit; `),sx=X({name:"BaseWave",props:{clsPrefix:{type:String,required:!0}},setup(e){nr("-base-wave",ix,ot(e,"clsPrefix"));const t=M(null),n=M(!1);let o=null;return dt(()=>{o!==null&&window.clearTimeout(o)}),{active:n,selfRef:t,play(){o!==null&&(window.clearTimeout(o),n.value=!1,o=null),$e(()=>{var r;(r=t.value)===null||r===void 0||r.offsetHeight,n.value=!0,o=window.setTimeout(()=>{n.value=!1,o=null},1e3)})}}},render(){const{clsPrefix:e}=this;return b("div",{ref:"selfRef","aria-hidden":!0,class:[`${e}-base-wave`,this.active&&`${e}-base-wave--active`]})}}),{cubicBezierEaseInOut:Et}=rn;function lx({duration:e=".2s",delay:t=".1s"}={}){return[$("&.fade-in-width-expand-transition-leave-from, &.fade-in-width-expand-transition-enter-to",{opacity:1}),$("&.fade-in-width-expand-transition-leave-to, &.fade-in-width-expand-transition-enter-from",` opacity: 0!important; margin-left: 0!important; margin-right: 0!important; `),$("&.fade-in-width-expand-transition-leave-active",` overflow: hidden; transition: opacity ${e} ${Et}, max-width ${e} ${Et} ${t}, margin-left ${e} ${Et} ${t}, margin-right ${e} ${Et} ${t}; `),$("&.fade-in-width-expand-transition-enter-active",` overflow: hidden; transition: opacity ${e} ${Et} ${t}, max-width ${e} ${Et}, margin-left ${e} ${Et}, margin-right ${e} ${Et}; `)]}const{cubicBezierEaseInOut:st,cubicBezierEaseOut:cx,cubicBezierEaseIn:ux}=rn;function dx({overflow:e="hidden",duration:t=".3s",originalTransition:n="",leavingDelay:o="0s",foldPadding:r=!1,enterToProps:a=void 0,leaveToProps:i=void 0,reverse:s=!1}={}){const l=s?"leave":"enter",c=s?"enter":"leave";return[$(`&.fade-in-height-expand-transition-${c}-from, &.fade-in-height-expand-transition-${l}-to`,Object.assign(Object.assign({},a),{opacity:1})),$(`&.fade-in-height-expand-transition-${c}-to, &.fade-in-height-expand-transition-${l}-from`,Object.assign(Object.assign({},i),{opacity:0,marginTop:"0 !important",marginBottom:"0 !important",paddingTop:r?"0 !important":void 0,paddingBottom:r?"0 !important":void 0})),$(`&.fade-in-height-expand-transition-${c}-active`,` overflow: ${e}; transition: max-height ${t} ${st} ${o}, opacity ${t} ${cx} ${o}, margin-top ${t} ${st} ${o}, margin-bottom ${t} ${st} ${o}, padding-top ${t} ${st} ${o}, padding-bottom ${t} ${st} ${o} ${n?`,${n}`:""} `),$(`&.fade-in-height-expand-transition-${l}-active`,` overflow: ${e}; transition: max-height ${t} ${st}, opacity ${t} ${ux}, margin-top ${t} ${st}, margin-bottom ${t} ${st}, padding-top ${t} ${st}, padding-bottom ${t} ${st} ${n?`,${n}`:""} `)]}const fx=Cn&&"chrome"in window;Cn&&navigator.userAgent.includes("Firefox");const hx=Cn&&navigator.userAgent.includes("Safari")&&!fx;function jt(e){return Ga(e,[255,255,255,.16])}function yo(e){return Ga(e,[0,0,0,.12])}const mx="n-button-group",px={paddingTiny:"0 6px",paddingSmall:"0 10px",paddingMedium:"0 14px",paddingLarge:"0 18px",paddingRoundTiny:"0 10px",paddingRoundSmall:"0 14px",paddingRoundMedium:"0 18px",paddingRoundLarge:"0 22px",iconMarginTiny:"6px",iconMarginSmall:"6px",iconMarginMedium:"6px",iconMarginLarge:"6px",iconSizeTiny:"14px",iconSizeSmall:"18px",iconSizeMedium:"18px",iconSizeLarge:"20px",rippleDuration:".6s"};function gx(e){const{heightTiny:t,heightSmall:n,heightMedium:o,heightLarge:r,borderRadius:a,fontSizeTiny:i,fontSizeSmall:s,fontSizeMedium:l,fontSizeLarge:c,opacityDisabled:u,textColor2:d,textColor3:f,primaryColorHover:h,primaryColorPressed:m,borderColor:p,primaryColor:g,baseColor:v,infoColor:w,infoColorHover:x,infoColorPressed:S,successColor:C,successColorHover:_,successColorPressed:y,warningColor:P,warningColorHover:E,warningColorPressed:A,errorColor:B,errorColorHover:N,errorColorPressed:q,fontWeight:ee,buttonColor2:ne,buttonColor2Hover:J,buttonColor2Pressed:F,fontWeightStrong:ce}=e;return Object.assign(Object.assign({},px),{heightTiny:t,heightSmall:n,heightMedium:o,heightLarge:r,borderRadiusTiny:a,borderRadiusSmall:a,borderRadiusMedium:a,borderRadiusLarge:a,fontSizeTiny:i,fontSizeSmall:s,fontSizeMedium:l,fontSizeLarge:c,opacityDisabled:u,colorOpacitySecondary:"0.16",colorOpacitySecondaryHover:"0.22",colorOpacitySecondaryPressed:"0.28",colorSecondary:ne,colorSecondaryHover:J,colorSecondaryPressed:F,colorTertiary:ne,colorTertiaryHover:J,colorTertiaryPressed:F,colorQuaternary:"#0000",colorQuaternaryHover:J,colorQuaternaryPressed:F,color:"#0000",colorHover:"#0000",colorPressed:"#0000",colorFocus:"#0000",colorDisabled:"#0000",textColor:d,textColorTertiary:f,textColorHover:h,textColorPressed:m,textColorFocus:h,textColorDisabled:d,textColorText:d,textColorTextHover:h,textColorTextPressed:m,textColorTextFocus:h,textColorTextDisabled:d,textColorGhost:d,textColorGhostHover:h,textColorGhostPressed:m,textColorGhostFocus:h,textColorGhostDisabled:d,border:`1px solid ${p}`,borderHover:`1px solid ${h}`,borderPressed:`1px solid ${m}`,borderFocus:`1px solid ${h}`,borderDisabled:`1px solid ${p}`,rippleColor:g,colorPrimary:g,colorHoverPrimary:h,colorPressedPrimary:m,colorFocusPrimary:h,colorDisabledPrimary:g,textColorPrimary:v,textColorHoverPrimary:v,textColorPressedPrimary:v,textColorFocusPrimary:v,textColorDisabledPrimary:v,textColorTextPrimary:g,textColorTextHoverPrimary:h,textColorTextPressedPrimary:m,textColorTextFocusPrimary:h,textColorTextDisabledPrimary:d,textColorGhostPrimary:g,textColorGhostHoverPrimary:h,textColorGhostPressedPrimary:m,textColorGhostFocusPrimary:h,textColorGhostDisabledPrimary:g,borderPrimary:`1px solid ${g}`,borderHoverPrimary:`1px solid ${h}`,borderPressedPrimary:`1px solid ${m}`,borderFocusPrimary:`1px solid ${h}`,borderDisabledPrimary:`1px solid ${g}`,rippleColorPrimary:g,colorInfo:w,colorHoverInfo:x,colorPressedInfo:S,colorFocusInfo:x,colorDisabledInfo:w,textColorInfo:v,textColorHoverInfo:v,textColorPressedInfo:v,textColorFocusInfo:v,textColorDisabledInfo:v,textColorTextInfo:w,textColorTextHoverInfo:x,textColorTextPressedInfo:S,textColorTextFocusInfo:x,textColorTextDisabledInfo:d,textColorGhostInfo:w,textColorGhostHoverInfo:x,textColorGhostPressedInfo:S,textColorGhostFocusInfo:x,textColorGhostDisabledInfo:w,borderInfo:`1px solid ${w}`,borderHoverInfo:`1px solid ${x}`,borderPressedInfo:`1px solid ${S}`,borderFocusInfo:`1px solid ${x}`,borderDisabledInfo:`1px solid ${w}`,rippleColorInfo:w,colorSuccess:C,colorHoverSuccess:_,colorPressedSuccess:y,colorFocusSuccess:_,colorDisabledSuccess:C,textColorSuccess:v,textColorHoverSuccess:v,textColorPressedSuccess:v,textColorFocusSuccess:v,textColorDisabledSuccess:v,textColorTextSuccess:C,textColorTextHoverSuccess:_,textColorTextPressedSuccess:y,textColorTextFocusSuccess:_,textColorTextDisabledSuccess:d,textColorGhostSuccess:C,textColorGhostHoverSuccess:_,textColorGhostPressedSuccess:y,textColorGhostFocusSuccess:_,textColorGhostDisabledSuccess:C,borderSuccess:`1px solid ${C}`,borderHoverSuccess:`1px solid ${_}`,borderPressedSuccess:`1px solid ${y}`,borderFocusSuccess:`1px solid ${_}`,borderDisabledSuccess:`1px solid ${C}`,rippleColorSuccess:C,colorWarning:P,colorHoverWarning:E,colorPressedWarning:A,colorFocusWarning:E,colorDisabledWarning:P,textColorWarning:v,textColorHoverWarning:v,textColorPressedWarning:v,textColorFocusWarning:v,textColorDisabledWarning:v,textColorTextWarning:P,textColorTextHoverWarning:E,textColorTextPressedWarning:A,textColorTextFocusWarning:E,textColorTextDisabledWarning:d,textColorGhostWarning:P,textColorGhostHoverWarning:E,textColorGhostPressedWarning:A,textColorGhostFocusWarning:E,textColorGhostDisabledWarning:P,borderWarning:`1px solid ${P}`,borderHoverWarning:`1px solid ${E}`,borderPressedWarning:`1px solid ${A}`,borderFocusWarning:`1px solid ${E}`,borderDisabledWarning:`1px solid ${P}`,rippleColorWarning:P,colorError:B,colorHoverError:N,colorPressedError:q,colorFocusError:N,colorDisabledError:B,textColorError:v,textColorHoverError:v,textColorPressedError:v,textColorFocusError:v,textColorDisabledError:v,textColorTextError:B,textColorTextHoverError:N,textColorTextPressedError:q,textColorTextFocusError:N,textColorTextDisabledError:d,textColorGhostError:B,textColorGhostHoverError:N,textColorGhostPressedError:q,textColorGhostFocusError:N,textColorGhostDisabledError:B,borderError:`1px solid ${B}`,borderHoverError:`1px solid ${N}`,borderPressedError:`1px solid ${q}`,borderFocusError:`1px solid ${N}`,borderDisabledError:`1px solid ${B}`,rippleColorError:B,waveOpacity:"0.6",fontWeight:ee,fontWeightStrong:ce})}const tu={name:"Button",common:_t,self:gx},vx=$([H("button",` margin: 0; font-weight: var(--n-font-weight); line-height: 1; font-family: inherit; padding: var(--n-padding); height: var(--n-height); font-size: var(--n-font-size); border-radius: var(--n-border-radius); color: var(--n-text-color); background-color: var(--n-color); width: var(--n-width); white-space: nowrap; outline: none; position: relative; z-index: auto; border: none; display: inline-flex; flex-wrap: nowrap; flex-shrink: 0; align-items: center; justify-content: center; user-select: none; -webkit-user-select: none; text-align: center; cursor: pointer; text-decoration: none; transition: color .3s var(--n-bezier), background-color .3s var(--n-bezier), opacity .3s var(--n-bezier), border-color .3s var(--n-bezier); `,[L("color",[z("border",{borderColor:"var(--n-border-color)"}),L("disabled",[z("border",{borderColor:"var(--n-border-color-disabled)"})]),ca("disabled",[$("&:focus",[z("state-border",{borderColor:"var(--n-border-color-focus)"})]),$("&:hover",[z("state-border",{borderColor:"var(--n-border-color-hover)"})]),$("&:active",[z("state-border",{borderColor:"var(--n-border-color-pressed)"})]),L("pressed",[z("state-border",{borderColor:"var(--n-border-color-pressed)"})])])]),L("disabled",{backgroundColor:"var(--n-color-disabled)",color:"var(--n-text-color-disabled)"},[z("border",{border:"var(--n-border-disabled)"})]),ca("disabled",[$("&:focus",{backgroundColor:"var(--n-color-focus)",color:"var(--n-text-color-focus)"},[z("state-border",{border:"var(--n-border-focus)"})]),$("&:hover",{backgroundColor:"var(--n-color-hover)",color:"var(--n-text-color-hover)"},[z("state-border",{border:"var(--n-border-hover)"})]),$("&:active",{backgroundColor:"var(--n-color-pressed)",color:"var(--n-text-color-pressed)"},[z("state-border",{border:"var(--n-border-pressed)"})]),L("pressed",{backgroundColor:"var(--n-color-pressed)",color:"var(--n-text-color-pressed)"},[z("state-border",{border:"var(--n-border-pressed)"})])]),L("loading","cursor: wait;"),H("base-wave",` pointer-events: none; top: 0; right: 0; bottom: 0; left: 0; animation-iteration-count: 1; animation-duration: var(--n-ripple-duration); animation-timing-function: var(--n-bezier-ease-out), var(--n-bezier-ease-out); `,[L("active",{zIndex:1,animationName:"button-wave-spread, button-wave-opacity"})]),Cn&&"MozBoxSizing"in document.createElement("div").style?$("&::moz-focus-inner",{border:0}):null,z("border, state-border",` position: absolute; left: 0; top: 0; right: 0; bottom: 0; border-radius: inherit; transition: border-color .3s var(--n-bezier); pointer-events: none; `),z("border",{border:"var(--n-border)"}),z("state-border",{border:"var(--n-border)",borderColor:"#0000",zIndex:1}),z("icon",` margin: var(--n-icon-margin); margin-left: 0; height: var(--n-icon-size); width: var(--n-icon-size); max-width: var(--n-icon-size); font-size: var(--n-icon-size); position: relative; flex-shrink: 0; `,[H("icon-slot",` height: var(--n-icon-size); width: var(--n-icon-size); position: absolute; left: 0; top: 50%; transform: translateY(-50%); display: flex; align-items: center; justify-content: center; `,[jo({top:"50%",originalTransform:"translateY(-50%)"})]),lx()]),z("content",` display: flex; align-items: center; flex-wrap: nowrap; min-width: 0; `,[$("~",[z("icon",{margin:"var(--n-icon-margin)",marginRight:0})])]),L("block",` display: flex; width: 100%; `),L("dashed",[z("border, state-border",{borderStyle:"dashed !important"})]),L("disabled",{cursor:"not-allowed",opacity:"var(--n-opacity-disabled)"})]),$("@keyframes button-wave-spread",{from:{boxShadow:"0 0 0.5px 0 var(--n-ripple-color)"},to:{boxShadow:"0 0 0.5px 4.5px var(--n-ripple-color)"}}),$("@keyframes button-wave-opacity",{from:{opacity:"var(--n-wave-opacity)"},to:{opacity:0}})]),yx=Object.assign(Object.assign({},Se.props),{color:String,textColor:String,text:Boolean,block:Boolean,loading:Boolean,disabled:Boolean,circle:Boolean,size:String,ghost:Boolean,round:Boolean,secondary:Boolean,tertiary:Boolean,quaternary:Boolean,strong:Boolean,focusable:{type:Boolean,default:!0},keyboard:{type:Boolean,default:!0},tag:{type:String,default:"button"},type:{type:String,default:"default"},dashed:Boolean,renderIcon:Function,iconPlacement:{type:String,default:"left"},attrType:{type:String,default:"button"},bordered:{type:Boolean,default:!0},onClick:[Function,Array],nativeFocusBehavior:{type:Boolean,default:!hx}}),ma=X({name:"Button",props:yx,setup(e){const t=M(null),n=M(null),o=M(!1),r=ua(()=>!e.quaternary&&!e.tertiary&&!e.secondary&&!e.text&&(!e.color||e.ghost||e.dashed)&&e.bordered),a=te(mx,{}),{mergedSizeRef:i}=yv({},{defaultSize:"medium",mergedSize:S=>{const{size:C}=e;if(C)return C;const{size:_}=a;if(_)return _;const{mergedSize:y}=S||{};return y?y.value:"medium"}}),s=O(()=>e.focusable&&!e.disabled),l=S=>{var C;s.value||S.preventDefault(),!e.nativeFocusBehavior&&(S.preventDefault(),!e.disabled&&s.value&&((C=t.value)===null||C===void 0||C.focus({preventScroll:!0})))},c=S=>{var C;if(!e.disabled&&!e.loading){const{onClick:_}=e;_&&Xt(_,S),e.text||(C=n.value)===null||C===void 0||C.play()}},u=S=>{switch(S.key){case"Enter":if(!e.keyboard)return;o.value=!1}},d=S=>{switch(S.key){case"Enter":if(!e.keyboard||e.loading){S.preventDefault();return}o.value=!0}},f=()=>{o.value=!1},{inlineThemeDisabled:h,mergedClsPrefixRef:m,mergedRtlRef:p}=Ke(e),g=Se("Button","-button",vx,tu,e,m),v=Pn("Button",p,m),w=O(()=>{const S=g.value,{common:{cubicBezierEaseInOut:C,cubicBezierEaseOut:_},self:y}=S,{rippleDuration:P,opacityDisabled:E,fontWeight:A,fontWeightStrong:B}=y,N=i.value,{dashed:q,type:ee,ghost:ne,text:J,color:F,round:ce,circle:ye,textColor:de,secondary:Ce,tertiary:Ee,quaternary:He,strong:Oe}=e,Tt={"--n-font-weight":Oe?B:A};let oe={"--n-color":"initial","--n-color-hover":"initial","--n-color-pressed":"initial","--n-color-focus":"initial","--n-color-disabled":"initial","--n-ripple-color":"initial","--n-text-color":"initial","--n-text-color-hover":"initial","--n-text-color-pressed":"initial","--n-text-color-focus":"initial","--n-text-color-disabled":"initial"};const T=ee==="tertiary",I=ee==="default",k=T?"default":ee;if(J){const pe=de||F;oe={"--n-color":"#0000","--n-color-hover":"#0000","--n-color-pressed":"#0000","--n-color-focus":"#0000","--n-color-disabled":"#0000","--n-ripple-color":"#0000","--n-text-color":pe||y[U("textColorText",k)],"--n-text-color-hover":pe?jt(pe):y[U("textColorTextHover",k)],"--n-text-color-pressed":pe?yo(pe):y[U("textColorTextPressed",k)],"--n-text-color-focus":pe?jt(pe):y[U("textColorTextHover",k)],"--n-text-color-disabled":pe||y[U("textColorTextDisabled",k)]}}else if(ne||q){const pe=de||F;oe={"--n-color":"#0000","--n-color-hover":"#0000","--n-color-pressed":"#0000","--n-color-focus":"#0000","--n-color-disabled":"#0000","--n-ripple-color":F||y[U("rippleColor",k)],"--n-text-color":pe||y[U("textColorGhost",k)],"--n-text-color-hover":pe?jt(pe):y[U("textColorGhostHover",k)],"--n-text-color-pressed":pe?yo(pe):y[U("textColorGhostPressed",k)],"--n-text-color-focus":pe?jt(pe):y[U("textColorGhostHover",k)],"--n-text-color-disabled":pe||y[U("textColorGhostDisabled",k)]}}else if(Ce){const pe=I?y.textColor:T?y.textColorTertiary:y[U("color",k)],Te=F||pe,Ft=ee!=="default"&&ee!=="tertiary";oe={"--n-color":Ft?lo(Te,{alpha:Number(y.colorOpacitySecondary)}):y.colorSecondary,"--n-color-hover":Ft?lo(Te,{alpha:Number(y.colorOpacitySecondaryHover)}):y.colorSecondaryHover,"--n-color-pressed":Ft?lo(Te,{alpha:Number(y.colorOpacitySecondaryPressed)}):y.colorSecondaryPressed,"--n-color-focus":Ft?lo(Te,{alpha:Number(y.colorOpacitySecondaryHover)}):y.colorSecondaryHover,"--n-color-disabled":y.colorSecondary,"--n-ripple-color":"#0000","--n-text-color":Te,"--n-text-color-hover":Te,"--n-text-color-pressed":Te,"--n-text-color-focus":Te,"--n-text-color-disabled":Te}}else if(Ee||He){const pe=I?y.textColor:T?y.textColorTertiary:y[U("color",k)],Te=F||pe;Ee?(oe["--n-color"]=y.colorTertiary,oe["--n-color-hover"]=y.colorTertiaryHover,oe["--n-color-pressed"]=y.colorTertiaryPressed,oe["--n-color-focus"]=y.colorSecondaryHover,oe["--n-color-disabled"]=y.colorTertiary):(oe["--n-color"]=y.colorQuaternary,oe["--n-color-hover"]=y.colorQuaternaryHover,oe["--n-color-pressed"]=y.colorQuaternaryPressed,oe["--n-color-focus"]=y.colorQuaternaryHover,oe["--n-color-disabled"]=y.colorQuaternary),oe["--n-ripple-color"]="#0000",oe["--n-text-color"]=Te,oe["--n-text-color-hover"]=Te,oe["--n-text-color-pressed"]=Te,oe["--n-text-color-focus"]=Te,oe["--n-text-color-disabled"]=Te}else oe={"--n-color":F||y[U("color",k)],"--n-color-hover":F?jt(F):y[U("colorHover",k)],"--n-color-pressed":F?yo(F):y[U("colorPressed",k)],"--n-color-focus":F?jt(F):y[U("colorFocus",k)],"--n-color-disabled":F||y[U("colorDisabled",k)],"--n-ripple-color":F||y[U("rippleColor",k)],"--n-text-color":de||(F?y.textColorPrimary:T?y.textColorTertiary:y[U("textColor",k)]),"--n-text-color-hover":de||(F?y.textColorHoverPrimary:y[U("textColorHover",k)]),"--n-text-color-pressed":de||(F?y.textColorPressedPrimary:y[U("textColorPressed",k)]),"--n-text-color-focus":de||(F?y.textColorFocusPrimary:y[U("textColorFocus",k)]),"--n-text-color-disabled":de||(F?y.textColorDisabledPrimary:y[U("textColorDisabled",k)])};let j={"--n-border":"initial","--n-border-hover":"initial","--n-border-pressed":"initial","--n-border-focus":"initial","--n-border-disabled":"initial"};J?j={"--n-border":"none","--n-border-hover":"none","--n-border-pressed":"none","--n-border-focus":"none","--n-border-disabled":"none"}:j={"--n-border":y[U("border",k)],"--n-border-hover":y[U("borderHover",k)],"--n-border-pressed":y[U("borderPressed",k)],"--n-border-focus":y[U("borderFocus",k)],"--n-border-disabled":y[U("borderDisabled",k)]};const{[U("height",N)]:re,[U("fontSize",N)]:he,[U("padding",N)]:Z,[U("paddingRound",N)]:Q,[U("iconSize",N)]:me,[U("borderRadius",N)]:Xe,[U("iconMargin",N)]:_e,waveOpacity:hr}=y,mr={"--n-width":ye&&!J?re:"initial","--n-height":J?"initial":re,"--n-font-size":he,"--n-padding":ye||J?"initial":ce?Q:Z,"--n-icon-size":me,"--n-icon-margin":_e,"--n-border-radius":J?"initial":ye||ce?re:Xe};return Object.assign(Object.assign(Object.assign(Object.assign({"--n-bezier":C,"--n-bezier-ease-out":_,"--n-ripple-duration":P,"--n-opacity-disabled":E,"--n-wave-opacity":hr},Tt),oe),j),mr)}),x=h?St("button",O(()=>{let S="";const{dashed:C,type:_,ghost:y,text:P,color:E,round:A,circle:B,textColor:N,secondary:q,tertiary:ee,quaternary:ne,strong:J}=e;C&&(S+="a"),y&&(S+="b"),P&&(S+="c"),A&&(S+="d"),B&&(S+="e"),q&&(S+="f"),ee&&(S+="g"),ne&&(S+="h"),J&&(S+="i"),E&&(S+=`j${ds(E)}`),N&&(S+=`k${ds(N)}`);const{value:F}=i;return S+=`l${F[0]}`,S+=`m${_[0]}`,S}),w,e):void 0;return{selfElRef:t,waveElRef:n,mergedClsPrefix:m,mergedFocusable:s,mergedSize:i,showBorder:r,enterPressed:o,rtlEnabled:v,handleMousedown:l,handleKeydown:d,handleBlur:f,handleKeyup:u,handleClick:c,customColorCssVars:O(()=>{const{color:S}=e;if(!S)return null;const C=jt(S);return{"--n-border-color":S,"--n-border-color-hover":C,"--n-border-color-pressed":yo(S),"--n-border-color-focus":C,"--n-border-color-disabled":S}}),cssVars:h?void 0:w,themeClass:x==null?void 0:x.themeClass,onRender:x==null?void 0:x.onRender}},render(){const{mergedClsPrefix:e,tag:t,onRender:n}=this;n==null||n();const o=et(this.$slots.default,r=>r&&b("span",{class:`${e}-button__content`},r));return b(t,{ref:"selfElRef",class:[this.themeClass,`${e}-button`,`${e}-button--${this.type}-type`,`${e}-button--${this.mergedSize}-type`,this.rtlEnabled&&`${e}-button--rtl`,this.disabled&&`${e}-button--disabled`,this.block&&`${e}-button--block`,this.enterPressed&&`${e}-button--pressed`,!this.text&&this.dashed&&`${e}-button--dashed`,this.color&&`${e}-button--color`,this.secondary&&`${e}-button--secondary`,this.loading&&`${e}-button--loading`,this.ghost&&`${e}-button--ghost`],tabindex:this.mergedFocusable?0:-1,type:this.attrType,style:this.cssVars,disabled:this.disabled,onClick:this.handleClick,onBlur:this.handleBlur,onMousedown:this.handleMousedown,onKeyup:this.handleKeyup,onKeydown:this.handleKeydown},this.iconPlacement==="right"&&o,b(Jc,{width:!0},{default:()=>et(this.$slots.icon,r=>(this.loading||this.renderIcon||r)&&b("span",{class:`${e}-button__icon`,style:{margin:Qp(this.$slots.default)?"0":""}},b(Qa,null,{default:()=>this.loading?b(Qc,{clsPrefix:e,key:"loading",class:`${e}-icon-slot`,strokeWidth:20}):b("div",{key:"icon",class:`${e}-icon-slot`,role:"none"},this.renderIcon?this.renderIcon():r)})))}),this.iconPlacement==="left"&&o,this.text?null:b(sx,{ref:"waveElRef",clsPrefix:e}),this.showBorder?b("div",{"aria-hidden":!0,class:`${e}-button__border`,style:this.customColorCssVars}):null,this.showBorder?b("div",{"aria-hidden":!0,class:`${e}-button__state-border`,style:this.customColorCssVars}):null)}}),lS=ma,bx={paddingSmall:"12px 16px 12px",paddingMedium:"19px 24px 20px",paddingLarge:"23px 32px 24px",paddingHuge:"27px 40px 28px",titleFontSizeSmall:"16px",titleFontSizeMedium:"18px",titleFontSizeLarge:"18px",titleFontSizeHuge:"18px",closeIconSize:"18px",closeSize:"22px"};function wx(e){const{primaryColor:t,borderRadius:n,lineHeight:o,fontSize:r,cardColor:a,textColor2:i,textColor1:s,dividerColor:l,fontWeightStrong:c,closeIconColor:u,closeIconColorHover:d,closeIconColorPressed:f,closeColorHover:h,closeColorPressed:m,modalColor:p,boxShadow1:g,popoverColor:v,actionColor:w}=e;return Object.assign(Object.assign({},bx),{lineHeight:o,color:a,colorModal:p,colorPopover:v,colorTarget:t,colorEmbedded:w,colorEmbeddedModal:w,colorEmbeddedPopover:w,textColor:i,titleTextColor:s,borderColor:l,actionColor:w,titleFontWeight:c,closeColorHover:h,closeColorPressed:m,closeBorderRadius:n,closeIconColor:u,closeIconColorHover:d,closeIconColorPressed:f,fontSizeSmall:r,fontSizeMedium:r,fontSizeLarge:r,fontSizeHuge:r,boxShadow:g,borderRadius:n})}const nu={name:"Card",common:_t,self:wx},xx=$([H("card",` font-size: var(--n-font-size); line-height: var(--n-line-height); display: flex; flex-direction: column; width: 100%; box-sizing: border-box; position: relative; border-radius: var(--n-border-radius); background-color: var(--n-color); color: var(--n-text-color); word-break: break-word; transition: color .3s var(--n-bezier), background-color .3s var(--n-bezier), box-shadow .3s var(--n-bezier), border-color .3s var(--n-bezier); `,[Rc({background:"var(--n-color-modal)"}),L("hoverable",[$("&:hover","box-shadow: var(--n-box-shadow);")]),L("content-segmented",[$(">",[z("content",{paddingTop:"var(--n-padding-bottom)"})])]),L("content-soft-segmented",[$(">",[z("content",` margin: 0 var(--n-padding-left); padding: var(--n-padding-bottom) 0; `)])]),L("footer-segmented",[$(">",[z("footer",{paddingTop:"var(--n-padding-bottom)"})])]),L("footer-soft-segmented",[$(">",[z("footer",` padding: var(--n-padding-bottom) 0; margin: 0 var(--n-padding-left); `)])]),$(">",[H("card-header",` box-sizing: border-box; display: flex; align-items: center; font-size: var(--n-title-font-size); padding: var(--n-padding-top) var(--n-padding-left) var(--n-padding-bottom) var(--n-padding-left); `,[z("main",` font-weight: var(--n-title-font-weight); transition: color .3s var(--n-bezier); flex: 1; min-width: 0; color: var(--n-title-text-color); `),z("extra",` display: flex; align-items: center; font-size: var(--n-font-size); font-weight: 400; transition: color .3s var(--n-bezier); color: var(--n-text-color); `),z("close",` margin: 0 0 0 8px; transition: background-color .3s var(--n-bezier), color .3s var(--n-bezier); `)]),z("action",` box-sizing: border-box; transition: background-color .3s var(--n-bezier), border-color .3s var(--n-bezier); background-clip: padding-box; background-color: var(--n-action-color); `),z("content","flex: 1; min-width: 0;"),z("content, footer",` box-sizing: border-box; padding: 0 var(--n-padding-left) var(--n-padding-bottom) var(--n-padding-left); font-size: var(--n-font-size); `,[$("&:first-child",{paddingTop:"var(--n-padding-bottom)"})]),z("action",` background-color: var(--n-action-color); padding: var(--n-padding-bottom) var(--n-padding-left); border-bottom-left-radius: var(--n-border-radius); border-bottom-right-radius: var(--n-border-radius); `)]),H("card-cover",` overflow: hidden; width: 100%; border-radius: var(--n-border-radius) var(--n-border-radius) 0 0; `,[$("img",` display: block; width: 100%; `)]),L("bordered",` border: 1px solid var(--n-border-color); `,[$("&:target","border-color: var(--n-color-target);")]),L("action-segmented",[$(">",[z("action",[$("&:not(:first-child)",{borderTop:"1px solid var(--n-border-color)"})])])]),L("content-segmented, content-soft-segmented",[$(">",[z("content",{transition:"border-color 0.3s var(--n-bezier)"},[$("&:not(:first-child)",{borderTop:"1px solid var(--n-border-color)"})])])]),L("footer-segmented, footer-soft-segmented",[$(">",[z("footer",{transition:"border-color 0.3s var(--n-bezier)"},[$("&:not(:first-child)",{borderTop:"1px solid var(--n-border-color)"})])])]),L("embedded",` background-color: var(--n-color-embedded); `)]),$c(H("card",` background: var(--n-color-modal); `,[L("embedded",` background-color: var(--n-color-embedded-modal); `)])),Cg(H("card",` background: var(--n-color-popover); `,[L("embedded",` background-color: var(--n-color-embedded-popover); `)]))]),oi={title:[String,Function],contentClass:String,contentStyle:[Object,String],headerClass:String,headerStyle:[Object,String],headerExtraClass:String,headerExtraStyle:[Object,String],footerClass:String,footerStyle:[Object,String],embedded:Boolean,segmented:{type:[Boolean,Object],default:!1},size:{type:String,default:"medium"},bordered:{type:Boolean,default:!0},closable:Boolean,hoverable:Boolean,role:String,onClose:[Function,Array],tag:{type:String,default:"div"},cover:Function,content:[String,Function],footer:Function,action:Function,headerExtra:Function},Cx=Qo(oi),Px=Object.assign(Object.assign({},Se.props),oi),Sx=X({name:"Card",props:Px,setup(e){const t=()=>{const{onClose:c}=e;c&&Xt(c)},{inlineThemeDisabled:n,mergedClsPrefixRef:o,mergedRtlRef:r}=Ke(e),a=Se("Card","-card",xx,nu,e,o),i=Pn("Card",r,o),s=O(()=>{const{size:c}=e,{self:{color:u,colorModal:d,colorTarget:f,textColor:h,titleTextColor:m,titleFontWeight:p,borderColor:g,actionColor:v,borderRadius:w,lineHeight:x,closeIconColor:S,closeIconColorHover:C,closeIconColorPressed:_,closeColorHover:y,closeColorPressed:P,closeBorderRadius:E,closeIconSize:A,closeSize:B,boxShadow:N,colorPopover:q,colorEmbedded:ee,colorEmbeddedModal:ne,colorEmbeddedPopover:J,[U("padding",c)]:F,[U("fontSize",c)]:ce,[U("titleFontSize",c)]:ye},common:{cubicBezierEaseInOut:de}}=a.value,{top:Ce,left:Ee,bottom:He}=Zo(F);return{"--n-bezier":de,"--n-border-radius":w,"--n-color":u,"--n-color-modal":d,"--n-color-popover":q,"--n-color-embedded":ee,"--n-color-embedded-modal":ne,"--n-color-embedded-popover":J,"--n-color-target":f,"--n-text-color":h,"--n-line-height":x,"--n-action-color":v,"--n-title-text-color":m,"--n-title-font-weight":p,"--n-close-icon-color":S,"--n-close-icon-color-hover":C,"--n-close-icon-color-pressed":_,"--n-close-color-hover":y,"--n-close-color-pressed":P,"--n-border-color":g,"--n-box-shadow":N,"--n-padding-top":Ce,"--n-padding-bottom":He,"--n-padding-left":Ee,"--n-font-size":ce,"--n-title-font-size":ye,"--n-close-size":B,"--n-close-icon-size":A,"--n-close-border-radius":E}}),l=n?St("card",O(()=>e.size[0]),s,e):void 0;return{rtlEnabled:i,mergedClsPrefix:o,mergedTheme:a,handleCloseClick:t,cssVars:n?void 0:s,themeClass:l==null?void 0:l.themeClass,onRender:l==null?void 0:l.onRender}},render(){const{segmented:e,bordered:t,hoverable:n,mergedClsPrefix:o,rtlEnabled:r,onRender:a,embedded:i,tag:s,$slots:l}=this;return a==null||a(),b(s,{class:[`${o}-card`,this.themeClass,i&&`${o}-card--embedded`,{[`${o}-card--rtl`]:r,[`${o}-card--content${typeof e!="boolean"&&e.content==="soft"?"-soft":""}-segmented`]:e===!0||e!==!1&&e.content,[`${o}-card--footer${typeof e!="boolean"&&e.footer==="soft"?"-soft":""}-segmented`]:e===!0||e!==!1&&e.footer,[`${o}-card--action-segmented`]:e===!0||e!==!1&&e.action,[`${o}-card--bordered`]:t,[`${o}-card--hoverable`]:n}],style:this.cssVars,role:this.role},et(l.cover,c=>{const u=this.cover?qe([this.cover()]):c;return u&&b("div",{class:`${o}-card-cover`,role:"none"},u)}),et(l.header,c=>{const{title:u}=this,d=u?qe(typeof u=="function"?[u()]:[u]):c;return d||this.closable?b("div",{class:[`${o}-card-header`,this.headerClass],style:this.headerStyle,role:"heading"},b("div",{class:`${o}-card-header__main`,role:"heading"},d),et(l["header-extra"],f=>{const h=this.headerExtra?qe([this.headerExtra()]):f;return h&&b("div",{class:[`${o}-card-header__extra`,this.headerExtraClass],style:this.headerExtraStyle},h)}),this.closable&&b(ir,{clsPrefix:o,class:`${o}-card-header__close`,onClick:this.handleCloseClick,absolute:!0})):null}),et(l.default,c=>{const{content:u}=this,d=u?qe(typeof u=="function"?[u()]:[u]):c;return d&&b("div",{class:[`${o}-card__content`,this.contentClass],style:this.contentStyle,role:"none"},d)}),et(l.footer,c=>{const u=this.footer?qe([this.footer()]):c;return u&&b("div",{class:[`${o}-card__footer`,this.footerClass],style:this.footerStyle,role:"none"},u)}),et(l.action,c=>{const u=this.action?qe([this.action()]):c;return u&&b("div",{class:`${o}-card__action`,role:"none"},u)}))}}),_x={abstract:Boolean,bordered:{type:Boolean,default:void 0},clsPrefix:String,locale:Object,dateLocale:Object,namespace:String,rtl:Array,tag:{type:String,default:"div"},hljs:Object,katex:Object,theme:Object,themeOverrides:Object,componentOptions:Object,icons:Object,breakpoints:Object,preflightStyleDisabled:Boolean,styleMountTarget:Object,inlineThemeDisabled:{type:Boolean,default:void 0},as:{type:String,validator:()=>!0,default:void 0}},ou=X({name:"ConfigProvider",alias:["App"],props:_x,setup(e){const t=te(wt,null),n=O(()=>{const{theme:p}=e;if(p===null)return;const g=t==null?void 0:t.mergedThemeRef.value;return p===void 0?g:g===void 0?p:Object.assign({},g,p)}),o=O(()=>{const{themeOverrides:p}=e;if(p!==null){if(p===void 0)return t==null?void 0:t.mergedThemeOverridesRef.value;{const g=t==null?void 0:t.mergedThemeOverridesRef.value;return g===void 0?p:$n({},g,p)}}}),r=ua(()=>{const{namespace:p}=e;return p===void 0?t==null?void 0:t.mergedNamespaceRef.value:p}),a=ua(()=>{const{bordered:p}=e;return p===void 0?t==null?void 0:t.mergedBorderedRef.value:p}),i=O(()=>{const{icons:p}=e;return p===void 0?t==null?void 0:t.mergedIconsRef.value:p}),s=O(()=>{const{componentOptions:p}=e;return p!==void 0?p:t==null?void 0:t.mergedComponentPropsRef.value}),l=O(()=>{const{clsPrefix:p}=e;return p!==void 0?p:t?t.mergedClsPrefixRef.value:Bo}),c=O(()=>{var p;const{rtl:g}=e;if(g===void 0)return t==null?void 0:t.mergedRtlRef.value;const v={};for(const w of g)v[w.name]=ko(w),(p=w.peers)===null||p===void 0||p.forEach(x=>{x.name in v||(v[x.name]=ko(x))});return v}),u=O(()=>e.breakpoints||(t==null?void 0:t.mergedBreakpointsRef.value)),d=e.inlineThemeDisabled||(t==null?void 0:t.inlineThemeDisabled),f=e.preflightStyleDisabled||(t==null?void 0:t.preflightStyleDisabled),h=e.styleMountTarget||(t==null?void 0:t.styleMountTarget),m=O(()=>{const{value:p}=n,{value:g}=o,v=g&&Object.keys(g).length!==0,w=p==null?void 0:p.name;return w?v?`${w}-${Bn(JSON.stringify(o.value))}`:w:v?Bn(JSON.stringify(o.value)):""});return ue(wt,{mergedThemeHashRef:m,mergedBreakpointsRef:u,mergedRtlRef:c,mergedIconsRef:i,mergedComponentPropsRef:s,mergedBorderedRef:a,mergedNamespaceRef:r,mergedClsPrefixRef:l,mergedLocaleRef:O(()=>{const{locale:p}=e;if(p!==null)return p===void 0?t==null?void 0:t.mergedLocaleRef.value:p}),mergedDateLocaleRef:O(()=>{const{dateLocale:p}=e;if(p!==null)return p===void 0?t==null?void 0:t.mergedDateLocaleRef.value:p}),mergedHljsRef:O(()=>{const{hljs:p}=e;return p===void 0?t==null?void 0:t.mergedHljsRef.value:p}),mergedKatexRef:O(()=>{const{katex:p}=e;return p===void 0?t==null?void 0:t.mergedKatexRef.value:p}),mergedThemeRef:n,mergedThemeOverridesRef:o,inlineThemeDisabled:d||!1,preflightStyleDisabled:f||!1,styleMountTarget:h}),{mergedClsPrefix:l,mergedBordered:a,mergedNamespace:r,mergedTheme:n,mergedThemeOverrides:o}},render(){var e,t,n,o;return this.abstract?(o=(n=this.$slots).default)===null||o===void 0?void 0:o.call(n):b(this.as||this.tag,{class:`${this.mergedClsPrefix||Bo}-config-provider`},(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e))}}),Tx={titleFontSize:"18px",padding:"16px 28px 20px 28px",iconSize:"28px",actionSpace:"12px",contentMargin:"8px 0 16px 0",iconMargin:"0 4px 0 0",iconMarginIconTop:"4px 0 8px 0",closeSize:"22px",closeIconSize:"18px",closeMargin:"20px 26px 0 0",closeMarginIconTop:"10px 16px 0 0"};function kx(e){const{textColor1:t,textColor2:n,modalColor:o,closeIconColor:r,closeIconColorHover:a,closeIconColorPressed:i,closeColorHover:s,closeColorPressed:l,infoColor:c,successColor:u,warningColor:d,errorColor:f,primaryColor:h,dividerColor:m,borderRadius:p,fontWeightStrong:g,lineHeight:v,fontSize:w}=e;return Object.assign(Object.assign({},Tx),{fontSize:w,lineHeight:v,border:`1px solid ${m}`,titleTextColor:t,textColor:n,color:o,closeColorHover:s,closeColorPressed:l,closeIconColor:r,closeIconColorHover:a,closeIconColorPressed:i,closeBorderRadius:p,iconColor:h,iconColorInfo:c,iconColorSuccess:u,iconColorWarning:d,iconColorError:f,borderRadius:p,titleFontWeight:g})}const ru={name:"Dialog",common:_t,peers:{Button:tu},self:kx},sr={icon:Function,type:{type:String,default:"default"},title:[String,Function],closable:{type:Boolean,default:!0},negativeText:String,positiveText:String,positiveButtonProps:Object,negativeButtonProps:Object,content:[String,Function],action:Function,showIcon:{type:Boolean,default:!0},loading:Boolean,bordered:Boolean,iconPlacement:String,titleClass:[String,Array],titleStyle:[String,Object],contentClass:[String,Array],contentStyle:[String,Object],actionClass:[String,Array],actionStyle:[String,Object],onPositiveClick:Function,onNegativeClick:Function,onClose:Function},au=Qo(sr),Ex=$([H("dialog",` --n-icon-margin: var(--n-icon-margin-top) var(--n-icon-margin-right) var(--n-icon-margin-bottom) var(--n-icon-margin-left); word-break: break-word; line-height: var(--n-line-height); position: relative; background: var(--n-color); color: var(--n-text-color); box-sizing: border-box; margin: auto; border-radius: var(--n-border-radius); padding: var(--n-padding); transition: border-color .3s var(--n-bezier), background-color .3s var(--n-bezier), color .3s var(--n-bezier); `,[z("icon",{color:"var(--n-icon-color)"}),L("bordered",{border:"var(--n-border)"}),L("icon-top",[z("close",{margin:"var(--n-close-margin)"}),z("icon",{margin:"var(--n-icon-margin)"}),z("content",{textAlign:"center"}),z("title",{justifyContent:"center"}),z("action",{justifyContent:"center"})]),L("icon-left",[z("icon",{margin:"var(--n-icon-margin)"}),L("closable",[z("title",` padding-right: calc(var(--n-close-size) + 6px); `)])]),z("close",` position: absolute; right: 0; top: 0; margin: var(--n-close-margin); transition: background-color .3s var(--n-bezier), color .3s var(--n-bezier); z-index: 1; `),z("content",` font-size: var(--n-font-size); margin: var(--n-content-margin); position: relative; word-break: break-word; `,[L("last","margin-bottom: 0;")]),z("action",` display: flex; justify-content: flex-end; `,[$("> *:not(:last-child)",` margin-right: var(--n-action-space); `)]),z("icon",` font-size: var(--n-icon-size); transition: color .3s var(--n-bezier); `),z("title",` transition: color .3s var(--n-bezier); display: flex; align-items: center; font-size: var(--n-title-font-size); font-weight: var(--n-title-font-weight); color: var(--n-title-text-color); `),H("dialog-icon-container",` display: flex; justify-content: center; `)]),$c(H("dialog",` width: 446px; max-width: calc(100vw - 32px); `)),H("dialog",[Rc(` width: 446px; max-width: calc(100vw - 32px); `)])]),$x={default:()=>b(qn,null),info:()=>b(qn,null),success:()=>b(rr,null),warning:()=>b(ar,null),error:()=>b(or,null)},iu=X({name:"Dialog",alias:["NimbusConfirmCard","Confirm"],props:Object.assign(Object.assign({},Se.props),sr),setup(e){const{mergedComponentPropsRef:t,mergedClsPrefixRef:n,inlineThemeDisabled:o,mergedRtlRef:r}=Ke(e),a=Pn("Dialog",r,n),i=O(()=>{var h,m;const{iconPlacement:p}=e;return p||((m=(h=t==null?void 0:t.value)===null||h===void 0?void 0:h.Dialog)===null||m===void 0?void 0:m.iconPlacement)||"left"});function s(h){const{onPositiveClick:m}=e;m&&m(h)}function l(h){const{onNegativeClick:m}=e;m&&m(h)}function c(){const{onClose:h}=e;h&&h()}const u=Se("Dialog","-dialog",Ex,ru,e,n),d=O(()=>{const{type:h}=e,m=i.value,{common:{cubicBezierEaseInOut:p},self:{fontSize:g,lineHeight:v,border:w,titleTextColor:x,textColor:S,color:C,closeBorderRadius:_,closeColorHover:y,closeColorPressed:P,closeIconColor:E,closeIconColorHover:A,closeIconColorPressed:B,closeIconSize:N,borderRadius:q,titleFontWeight:ee,titleFontSize:ne,padding:J,iconSize:F,actionSpace:ce,contentMargin:ye,closeSize:de,[m==="top"?"iconMarginIconTop":"iconMargin"]:Ce,[m==="top"?"closeMarginIconTop":"closeMargin"]:Ee,[U("iconColor",h)]:He}}=u.value,Oe=Zo(Ce);return{"--n-font-size":g,"--n-icon-color":He,"--n-bezier":p,"--n-close-margin":Ee,"--n-icon-margin-top":Oe.top,"--n-icon-margin-right":Oe.right,"--n-icon-margin-bottom":Oe.bottom,"--n-icon-margin-left":Oe.left,"--n-icon-size":F,"--n-close-size":de,"--n-close-icon-size":N,"--n-close-border-radius":_,"--n-close-color-hover":y,"--n-close-color-pressed":P,"--n-close-icon-color":E,"--n-close-icon-color-hover":A,"--n-close-icon-color-pressed":B,"--n-color":C,"--n-text-color":S,"--n-border-radius":q,"--n-padding":J,"--n-line-height":v,"--n-border":w,"--n-content-margin":ye,"--n-title-font-size":ne,"--n-title-font-weight":ee,"--n-title-text-color":x,"--n-action-space":ce}}),f=o?St("dialog",O(()=>`${e.type[0]}${i.value[0]}`),d,e):void 0;return{mergedClsPrefix:n,rtlEnabled:a,mergedIconPlacement:i,mergedTheme:u,handlePositiveClick:s,handleNegativeClick:l,handleCloseClick:c,cssVars:o?void 0:d,themeClass:f==null?void 0:f.themeClass,onRender:f==null?void 0:f.onRender}},render(){var e;const{bordered:t,mergedIconPlacement:n,cssVars:o,closable:r,showIcon:a,title:i,content:s,action:l,negativeText:c,positiveText:u,positiveButtonProps:d,negativeButtonProps:f,handlePositiveClick:h,handleNegativeClick:m,mergedTheme:p,loading:g,type:v,mergedClsPrefix:w}=this;(e=this.onRender)===null||e===void 0||e.call(this);const x=a?b(eo,{clsPrefix:w,class:`${w}-dialog__icon`},{default:()=>et(this.$slots.icon,C=>C||(this.icon?je(this.icon):$x[this.type]()))}):null,S=et(this.$slots.action,C=>C||u||c||l?b("div",{class:[`${w}-dialog__action`,this.actionClass],style:this.actionStyle},C||(l?[je(l)]:[this.negativeText&&b(ma,Object.assign({theme:p.peers.Button,themeOverrides:p.peerOverrides.Button,ghost:!0,size:"small",onClick:m},f),{default:()=>je(this.negativeText)}),this.positiveText&&b(ma,Object.assign({theme:p.peers.Button,themeOverrides:p.peerOverrides.Button,size:"small",type:v==="default"?"primary":v,disabled:g,loading:g,onClick:h},d),{default:()=>je(this.positiveText)})])):null);return b("div",{class:[`${w}-dialog`,this.themeClass,this.closable&&`${w}-dialog--closable`,`${w}-dialog--icon-${n}`,t&&`${w}-dialog--bordered`,this.rtlEnabled&&`${w}-dialog--rtl`],style:o,role:"dialog"},r?et(this.$slots.close,C=>{const _=[`${w}-dialog__close`,this.rtlEnabled&&`${w}-dialog--rtl`];return C?b("div",{class:_},C):b(ir,{clsPrefix:w,class:_,onClick:this.handleCloseClick})}):null,a&&n==="top"?b("div",{class:`${w}-dialog-icon-container`},x):null,b("div",{class:[`${w}-dialog__title`,this.titleClass],style:this.titleStyle},a&&n==="left"?x:null,cs(this.$slots.header,()=>[je(i)])),b("div",{class:[`${w}-dialog__content`,S?"":`${w}-dialog__content--last`,this.contentClass],style:this.contentStyle},cs(this.$slots.default,()=>[je(s)])),S)}}),su="n-dialog-provider",lu="n-dialog-api",Rx="n-dialog-reactive-list";function Mx(e){const{modalColor:t,textColor2:n,boxShadow3:o}=e;return{color:t,textColor:n,boxShadow:o}}const Ox={name:"Modal",common:_t,peers:{Scrollbar:ei,Dialog:ru,Card:nu},self:Mx},ri=Object.assign(Object.assign({},oi),sr),Ax=Qo(ri),Dx=X({name:"ModalBody",inheritAttrs:!1,props:Object.assign(Object.assign({show:{type:Boolean,required:!0},preset:String,displayDirective:{type:String,required:!0},trapFocus:{type:Boolean,default:!0},autoFocus:{type:Boolean,default:!0},blockScroll:Boolean},ri),{renderMask:Function,onClickoutside:Function,onBeforeLeave:{type:Function,required:!0},onAfterLeave:{type:Function,required:!0},onPositiveClick:{type:Function,required:!0},onNegativeClick:{type:Function,required:!0},onClose:{type:Function,required:!0},onAfterEnter:Function,onEsc:Function}),setup(e){const t=M(null),n=M(null),o=M(e.show),r=M(null),a=M(null);Be(ot(e,"show"),g=>{g&&(o.value=!0)}),pv(O(()=>e.blockScroll&&o.value));const i=te(Ic);function s(){if(i.transformOriginRef.value==="center")return"";const{value:g}=r,{value:v}=a;if(g===null||v===null)return"";if(n.value){const w=n.value.containerScrollTop;return`${g}px ${v+w}px`}return""}function l(g){if(i.transformOriginRef.value==="center")return;const v=i.getMousePosition();if(!v||!n.value)return;const w=n.value.containerScrollTop,{offsetLeft:x,offsetTop:S}=g;if(v){const C=v.y,_=v.x;r.value=-(x-_),a.value=-(S-C-w)}g.style.transformOrigin=s()}function c(g){$e(()=>{l(g)})}function u(g){g.style.transformOrigin=s(),e.onBeforeLeave()}function d(){o.value=!1,r.value=null,a.value=null,e.onAfterLeave()}function f(){const{onClose:g}=e;g&&g()}function h(){e.onNegativeClick()}function m(){e.onPositiveClick()}const p=M(null);return Be(p,g=>{g&&$e(()=>{const v=g.el;v&&t.value!==v&&(t.value=v)})}),ue(Ag,t),ue(Ig,null),ue(zg,null),{mergedTheme:i.mergedThemeRef,appear:i.appearRef,isMounted:i.isMountedRef,mergedClsPrefix:i.mergedClsPrefixRef,bodyRef:t,scrollbarRef:n,displayed:o,childNodeRef:p,handlePositiveClick:m,handleNegativeClick:h,handleCloseClick:f,handleAfterLeave:d,handleBeforeLeave:u,handleEnter:c}},render(){const{$slots:e,$attrs:t,handleEnter:n,handleAfterLeave:o,handleBeforeLeave:r,preset:a,mergedClsPrefix:i}=this;let s=null;if(!a){if(s=Jp(e),!s){return}s=Xu(s),s.props=Ca({class:`${i}-modal`},t,s.props||{})}return this.displayDirective==="show"||this.displayed||this.show?Ln(b("div",{role:"none",class:`${i}-modal-body-wrapper`},b(ni,{ref:"scrollbarRef",theme:this.mergedTheme.peers.Scrollbar,themeOverrides:this.mergedTheme.peerOverrides.Scrollbar,contentClass:`${i}-modal-scroll-content`},{default:()=>{var l;return[(l=this.renderMask)===null||l===void 0?void 0:l.call(this),b(mv,{disabled:!this.trapFocus,active:this.show,onEsc:this.onEsc,autoFocus:this.autoFocus},{default:()=>{var c;return b(lt,{name:"fade-in-scale-up-transition",appear:(c=this.appear)!==null&&c!==void 0?c:this.isMounted,onEnter:n,onAfterEnter:this.onAfterEnter,onAfterLeave:o,onBeforeLeave:r},{default:()=>{const u=[[$o,this.show]],{onClickoutside:d}=this;return d&&u.push([Lg,this.onClickoutside,void 0,{capture:!0}]),Ln(this.preset==="confirm"||this.preset==="dialog"?b(iu,Object.assign({},this.$attrs,{class:[`${i}-modal`,this.$attrs.class],ref:"bodyRef",theme:this.mergedTheme.peers.Dialog,themeOverrides:this.mergedTheme.peerOverrides.Dialog},Nn(this.$props,au),{"aria-modal":"true"}),e):this.preset==="card"?b(Sx,Object.assign({},this.$attrs,{ref:"bodyRef",class:[`${i}-modal`,this.$attrs.class],theme:this.mergedTheme.peers.Card,themeOverrides:this.mergedTheme.peerOverrides.Card},Nn(this.$props,Cx),{"aria-modal":"true",role:"dialog"}),e):this.childNodeRef=s,u)}})}})]}})),[[$o,this.displayDirective==="if"||this.displayed||this.show]]):null}}),Ix=$([H("modal-container",` position: fixed; left: 0; top: 0; height: 0; width: 0; display: flex; `),H("modal-mask",` position: fixed; left: 0; right: 0; top: 0; bottom: 0; background-color: rgba(0, 0, 0, .4); `,[ti({enterDuration:".25s",leaveDuration:".25s",enterCubicBezier:"var(--n-bezier-ease-out)",leaveCubicBezier:"var(--n-bezier-ease-out)"})]),H("modal-body-wrapper",` position: fixed; left: 0; right: 0; top: 0; bottom: 0; overflow: visible; `,[H("modal-scroll-content",` min-height: 100%; display: flex; position: relative; `)]),H("modal",` position: relative; align-self: center; color: var(--n-text-color); margin: auto; box-shadow: var(--n-box-shadow); `,[ax({duration:".25s",enterScale:".5"})])]),cu=Object.assign(Object.assign(Object.assign(Object.assign({},Se.props),{show:Boolean,unstableShowMask:{type:Boolean,default:!0},maskClosable:{type:Boolean,default:!0},preset:String,to:[String,Object],displayDirective:{type:String,default:"if"},transformOrigin:{type:String,default:"mouse"},zIndex:Number,autoFocus:{type:Boolean,default:!0},trapFocus:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},blockScroll:{type:Boolean,default:!0}}),ri),{onEsc:Function,"onUpdate:show":[Function,Array],onUpdateShow:[Function,Array],onAfterEnter:Function,onBeforeLeave:Function,onAfterLeave:Function,onClose:Function,onPositiveClick:Function,onNegativeClick:Function,onMaskClick:Function,internalDialog:Boolean,internalModal:Boolean,internalAppear:{type:Boolean,default:void 0},overlayStyle:[String,Object],onBeforeHide:Function,onAfterHide:Function,onHide:Function}),uu=X({name:"Modal",inheritAttrs:!1,props:cu,setup(e){const t=M(null),{mergedClsPrefixRef:n,namespaceRef:o,inlineThemeDisabled:r}=Ke(e),a=Se("Modal","-modal",Ix,Ox,e,n),i=No(64),s=Fo(),l=Ka(),c=e.internalDialog?te(su,null):null,u=e.internalModal?te(Dg,null):null,d=gv();function f(_){const{onUpdateShow:y,"onUpdate:show":P,onHide:E}=e;y&&Xt(y,_),P&&Xt(P,_),E&&!_&&E(_)}function h(){const{onClose:_}=e;_?Promise.resolve(_()).then(y=>{y!==!1&&f(!1)}):f(!1)}function m(){const{onPositiveClick:_}=e;_?Promise.resolve(_()).then(y=>{y!==!1&&f(!1)}):f(!1)}function p(){const{onNegativeClick:_}=e;_?Promise.resolve(_()).then(y=>{y!==!1&&f(!1)}):f(!1)}function g(){const{onBeforeLeave:_,onBeforeHide:y}=e;_&&Xt(_),y&&y()}function v(){const{onAfterLeave:_,onAfterHide:y}=e;_&&Xt(_),y&&y()}function w(_){var y;const{onMaskClick:P}=e;P&&P(_),e.maskClosable&&!((y=t.value)===null||y===void 0)&&y.contains(ja(_))&&f(!1)}function x(_){var y;(y=e.onEsc)===null||y===void 0||y.call(e),e.show&&e.closeOnEsc&&Pg(_)&&(d.value||f(!1))}ue(Ic,{getMousePosition:()=>{const _=c||u;if(_){const{clickedRef:y,clickedPositionRef:P}=_;if(y.value&&P.value)return P.value}return i.value?s.value:null},mergedClsPrefixRef:n,mergedThemeRef:a,isMountedRef:l,appearRef:ot(e,"internalAppear"),transformOriginRef:ot(e,"transformOrigin")});const S=O(()=>{const{common:{cubicBezierEaseOut:_},self:{boxShadow:y,color:P,textColor:E}}=a.value;return{"--n-bezier-ease-out":_,"--n-box-shadow":y,"--n-color":P,"--n-text-color":E}}),C=r?St("theme-class",void 0,S,e):void 0;return{mergedClsPrefix:n,namespace:o,isMounted:l,containerRef:t,presetProps:O(()=>Nn(e,Ax)),handleEsc:x,handleAfterLeave:v,handleClickoutside:w,handleBeforeLeave:g,doUpdateShow:f,handleNegativeClick:p,handlePositiveClick:m,handleCloseClick:h,cssVars:r?void 0:S,themeClass:C==null?void 0:C.themeClass,onRender:C==null?void 0:C.onRender}},render(){const{mergedClsPrefix:e}=this;return b(Vg,{to:this.to,show:this.show},{default:()=>{var t;(t=this.onRender)===null||t===void 0||t.call(this);const{unstableShowMask:n}=this;return Ln(b("div",{role:"none",ref:"containerRef",class:[`${e}-modal-container`,this.themeClass,this.namespace],style:this.cssVars},b(Dx,Object.assign({style:this.overlayStyle},this.$attrs,{ref:"bodyWrapper",displayDirective:this.displayDirective,show:this.show,preset:this.preset,autoFocus:this.autoFocus,trapFocus:this.trapFocus,blockScroll:this.blockScroll},this.presetProps,{onEsc:this.handleEsc,onClose:this.handleCloseClick,onNegativeClick:this.handleNegativeClick,onPositiveClick:this.handlePositiveClick,onBeforeLeave:this.handleBeforeLeave,onAfterEnter:this.onAfterEnter,onAfterLeave:this.handleAfterLeave,onClickoutside:n?void 0:this.handleClickoutside,renderMask:n?()=>{var o;return b(lt,{name:"fade-in-transition",key:"mask",appear:(o=this.internalAppear)!==null&&o!==void 0?o:this.isMounted},{default:()=>this.show?b("div",{"aria-hidden":!0,ref:"containerRef",class:`${e}-modal-mask`,onClick:this.handleClickoutside}):null})}:void 0}),this.$slots)),[[Fg,{zIndex:this.zIndex,enabled:this.show}]])}})}}),zx=Object.assign(Object.assign({},sr),{onAfterEnter:Function,onAfterLeave:Function,transformOrigin:String,blockScroll:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},onEsc:Function,autoFocus:{type:Boolean,default:!0},internalStyle:[String,Object],maskClosable:{type:Boolean,default:!0},onPositiveClick:Function,onNegativeClick:Function,onClose:Function,onMaskClick:Function}),Lx=X({name:"DialogEnvironment",props:Object.assign(Object.assign({},zx),{internalKey:{type:String,required:!0},to:[String,Object],onInternalAfterLeave:{type:Function,required:!0}}),setup(e){const t=M(!0);function n(){const{onInternalAfterLeave:u,internalKey:d,onAfterLeave:f}=e;u&&u(d),f&&f()}function o(u){const{onPositiveClick:d}=e;d?Promise.resolve(d(u)).then(f=>{f!==!1&&l()}):l()}function r(u){const{onNegativeClick:d}=e;d?Promise.resolve(d(u)).then(f=>{f!==!1&&l()}):l()}function a(){const{onClose:u}=e;u?Promise.resolve(u()).then(d=>{d!==!1&&l()}):l()}function i(u){const{onMaskClick:d,maskClosable:f}=e;d&&(d(u),f&&l())}function s(){const{onEsc:u}=e;u&&u()}function l(){t.value=!1}function c(u){t.value=u}return{show:t,hide:l,handleUpdateShow:c,handleAfterLeave:n,handleCloseClick:a,handleNegativeClick:r,handlePositiveClick:o,handleMaskClick:i,handleEsc:s}},render(){const{handlePositiveClick:e,handleUpdateShow:t,handleNegativeClick:n,handleCloseClick:o,handleAfterLeave:r,handleMaskClick:a,handleEsc:i,to:s,maskClosable:l,show:c}=this;return b(uu,{show:c,onUpdateShow:t,onMaskClick:a,onEsc:i,to:s,maskClosable:l,onAfterEnter:this.onAfterEnter,onAfterLeave:r,closeOnEsc:this.closeOnEsc,blockScroll:this.blockScroll,autoFocus:this.autoFocus,transformOrigin:this.transformOrigin,internalAppear:!0,internalDialog:!0},{default:()=>b(iu,Object.assign({},Nn(this.$props,au),{style:this.internalStyle,onClose:o,onNegativeClick:n,onPositiveClick:e}))})}}),Hx={injectionKey:String,to:[String,Object]},du=X({name:"DialogProvider",props:Hx,setup(){const e=M([]),t={};function n(s={}){const l=Jn(),c=ut(Object.assign(Object.assign({},s),{key:l,destroy:()=>{var u;(u=t[`n-dialog-${l}`])===null||u===void 0||u.hide()}}));return e.value.push(c),c}const o=["info","success","warning","error"].map(s=>l=>n(Object.assign(Object.assign({},l),{type:s})));function r(s){const{value:l}=e;l.splice(l.findIndex(c=>c.key===s),1)}function a(){Object.values(t).forEach(s=>{s==null||s.hide()})}const i={create:n,destroyAll:a,info:o[0],success:o[1],warning:o[2],error:o[3]};return ue(lu,i),ue(su,{clickedRef:No(64),clickedPositionRef:Fo()}),ue(Rx,e),Object.assign(Object.assign({},i),{dialogList:e,dialogInstRefs:t,handleAfterLeave:r})},render(){var e,t;return b(at,null,[this.dialogList.map(n=>b(Lx,Jo(n,["destroy","style"],{internalStyle:n.style,to:this.to,ref:o=>{o===null?delete this.dialogInstRefs[`n-dialog-${n.key}`]:this.dialogInstRefs[`n-dialog-${n.key}`]=o},internalKey:n.key,onInternalAfterLeave:this.handleAfterLeave}))),(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e)])}});function Fx(){const e=te(lu,null);return e===null&&xn("use-dialog","No outer <n-dialog-provider /> founded."),e}const Nx={closeMargin:"16px 12px",closeSize:"20px",closeIconSize:"16px",width:"365px",padding:"16px",titleFontSize:"16px",metaFontSize:"12px",descriptionFontSize:"12px"};function Bx(e){const{textColor2:t,successColor:n,infoColor:o,warningColor:r,errorColor:a,popoverColor:i,closeIconColor:s,closeIconColorHover:l,closeIconColorPressed:c,closeColorHover:u,closeColorPressed:d,textColor1:f,textColor3:h,borderRadius:m,fontWeightStrong:p,boxShadow2:g,lineHeight:v,fontSize:w}=e;return Object.assign(Object.assign({},Nx),{borderRadius:m,lineHeight:v,fontSize:w,headerFontWeight:p,iconColor:t,iconColorSuccess:n,iconColorInfo:o,iconColorWarning:r,iconColorError:a,color:i,textColor:t,closeIconColor:s,closeIconColorHover:l,closeIconColorPressed:c,closeBorderRadius:m,closeColorHover:u,closeColorPressed:d,headerTextColor:f,descriptionTextColor:h,actionTextColor:t,boxShadow:g})}const jx={name:"Notification",common:_t,peers:{Scrollbar:ei},self:Bx},Wx={margin:"0 0 8px 0",padding:"10px 20px",maxWidth:"720px",minWidth:"420px",iconMargin:"0 10px 0 0",closeMargin:"0 0 0 10px",closeSize:"20px",closeIconSize:"16px",iconSize:"20px",fontSize:"14px"};function Vx(e){const{textColor2:t,closeIconColor:n,closeIconColorHover:o,closeIconColorPressed:r,infoColor:a,successColor:i,errorColor:s,warningColor:l,popoverColor:c,boxShadow2:u,primaryColor:d,lineHeight:f,borderRadius:h,closeColorHover:m,closeColorPressed:p}=e;return Object.assign(Object.assign({},Wx),{closeBorderRadius:h,textColor:t,textColorInfo:t,textColorSuccess:t,textColorError:t,textColorWarning:t,textColorLoading:t,color:c,colorInfo:c,colorSuccess:c,colorError:c,colorWarning:c,colorLoading:c,boxShadow:u,boxShadowInfo:u,boxShadowSuccess:u,boxShadowError:u,boxShadowWarning:u,boxShadowLoading:u,iconColor:t,iconColorInfo:a,iconColorSuccess:i,iconColorWarning:l,iconColorError:s,iconColorLoading:d,closeColorHover:m,closeColorPressed:p,closeIconColor:n,closeIconColorHover:o,closeIconColorPressed:r,closeColorHoverInfo:m,closeColorPressedInfo:p,closeIconColorInfo:n,closeIconColorHoverInfo:o,closeIconColorPressedInfo:r,closeColorHoverSuccess:m,closeColorPressedSuccess:p,closeIconColorSuccess:n,closeIconColorHoverSuccess:o,closeIconColorPressedSuccess:r,closeColorHoverError:m,closeColorPressedError:p,closeIconColorError:n,closeIconColorHoverError:o,closeIconColorPressedError:r,closeColorHoverWarning:m,closeColorPressedWarning:p,closeIconColorWarning:n,closeIconColorHoverWarning:o,closeIconColorPressedWarning:r,closeColorHoverLoading:m,closeColorPressedLoading:p,closeIconColorLoading:n,closeIconColorHoverLoading:o,closeIconColorPressedLoading:r,loadingColor:d,lineHeight:f,borderRadius:h})}const Ux={name:"Message",common:_t,self:Vx};function qx(e){const{primaryColor:t,errorColor:n}=e;return{colorError:n,colorLoading:t,height:"2px"}}const Gx={name:"LoadingBar",common:_t,self:qx},Kx={titleFontSizeSmall:"26px",titleFontSizeMedium:"32px",titleFontSizeLarge:"40px",titleFontSizeHuge:"48px",fontSizeSmall:"14px",fontSizeMedium:"14px",fontSizeLarge:"15px",fontSizeHuge:"16px",iconSizeSmall:"64px",iconSizeMedium:"80px",iconSizeLarge:"100px",iconSizeHuge:"125px",iconColor418:void 0,iconColor404:void 0,iconColor403:void 0,iconColor500:void 0};function Yx(e){const{textColor2:t,textColor1:n,errorColor:o,successColor:r,infoColor:a,warningColor:i,lineHeight:s,fontWeightStrong:l}=e;return Object.assign(Object.assign({},Kx),{lineHeight:s,titleFontWeight:l,titleTextColor:n,textColor:t,iconColorError:o,iconColorSuccess:r,iconColorInfo:a,iconColorWarning:i})}const Xx={name:"Result",common:_t,self:Yx},fu="n-loading-bar",hu="n-loading-bar-api",Zx=H("loading-bar-container",` z-index: 5999; position: fixed; top: 0; left: 0; right: 0; height: 2px; `,[ti({enterDuration:"0.3s",leaveDuration:"0.8s"}),H("loading-bar",` width: 100%; transition: max-width 4s linear, background .2s linear; height: var(--n-height); `,[L("starting",` background: var(--n-color-loading); `),L("finishing",` background: var(--n-color-loading); transition: max-width .2s linear, background .2s linear; `),L("error",` background: var(--n-color-error); transition: max-width .2s linear, background .2s linear; `)])]);var bo=function(e,t,n,o){function r(a){return a instanceof n?a:new n(function(i){i(a)})}return new(n||(n=Promise))(function(a,i){function s(u){try{c(o.next(u))}catch(d){i(d)}}function l(u){try{c(o.throw(u))}catch(d){i(d)}}function c(u){u.done?a(u.value):r(u.value).then(s,l)}c((o=o.apply(e,t||[])).next())})};function wo(e,t){return`${t}-loading-bar ${t}-loading-bar--${e}`}const Jx=X({name:"LoadingBar",props:{containerClass:String,containerStyle:[String,Object]},setup(){const{inlineThemeDisabled:e}=Ke(),{props:t,mergedClsPrefixRef:n}=te(fu),o=M(null),r=M(!1),a=M(!1),i=M(!1),s=M(!1);let l=!1;const c=M(!1),u=O(()=>{const{loadingBarStyle:C}=t;return C?C[c.value?"error":"loading"]:""});function d(){return bo(this,void 0,void 0,function*(){r.value=!1,i.value=!1,l=!1,c.value=!1,s.value=!0,yield $e(),s.value=!1})}function f(){return bo(this,arguments,void 0,function*(C=0,_=80,y="starting"){if(a.value=!0,yield d(),l)return;i.value=!0,yield $e();const P=o.value;P&&(P.style.maxWidth=`${C}%`,P.style.transition="none",P.offsetWidth,P.className=wo(y,n.value),P.style.transition="",P.style.maxWidth=`${_}%`)})}function h(){return bo(this,void 0,void 0,function*(){if(l||c.value)return;a.value&&(yield $e()),l=!0;const C=o.value;C&&(C.className=wo("finishing",n.value),C.style.maxWidth="100%",C.offsetWidth,i.value=!1)})}function m(){if(!(l||c.value))if(!i.value)f(100,100,"error").then(()=>{c.value=!0;const C=o.value;C&&(C.className=wo("error",n.value),C.offsetWidth,i.value=!1)});else{c.value=!0;const C=o.value;if(!C)return;C.className=wo("error",n.value),C.style.maxWidth="100%",C.offsetWidth,i.value=!1}}function p(){r.value=!0}function g(){r.value=!1}function v(){return bo(this,void 0,void 0,function*(){yield d()})}const w=Se("LoadingBar","-loading-bar",Zx,Gx,t,n),x=O(()=>{const{self:{height:C,colorError:_,colorLoading:y}}=w.value;return{"--n-height":C,"--n-color-loading":y,"--n-color-error":_}}),S=e?St("loading-bar",void 0,x,t):void 0;return{mergedClsPrefix:n,loadingBarRef:o,started:a,loading:i,entering:r,transitionDisabled:s,start:f,error:m,finish:h,handleEnter:p,handleAfterEnter:g,handleAfterLeave:v,mergedLoadingBarStyle:u,cssVars:e?void 0:x,themeClass:S==null?void 0:S.themeClass,onRender:S==null?void 0:S.onRender}},render(){if(!this.started)return null;const{mergedClsPrefix:e}=this;return b(lt,{name:"fade-in-transition",appear:!0,onEnter:this.handleEnter,onAfterEnter:this.handleAfterEnter,onAfterLeave:this.handleAfterLeave,css:!this.transitionDisabled},{default:()=>{var t;return(t=this.onRender)===null||t===void 0||t.call(this),Ln(b("div",{class:[`${e}-loading-bar-container`,this.themeClass,this.containerClass],style:this.containerStyle},b("div",{ref:"loadingBarRef",class:[`${e}-loading-bar`],style:[this.cssVars,this.mergedLoadingBarStyle]})),[[$o,this.loading||!this.loading&&this.entering]])}})}}),Qx=Object.assign(Object.assign({},Se.props),{to:{type:[String,Object,Boolean],default:void 0},containerClass:String,containerStyle:[String,Object],loadingBarStyle:{type:Object}}),eC=X({name:"LoadingBarProvider",props:Qx,setup(e){const t=Ka(),n=M(null),o={start(){var a;t.value?(a=n.value)===null||a===void 0||a.start():$e(()=>{var i;(i=n.value)===null||i===void 0||i.start()})},error(){var a;t.value?(a=n.value)===null||a===void 0||a.error():$e(()=>{var i;(i=n.value)===null||i===void 0||i.error()})},finish(){var a;t.value?(a=n.value)===null||a===void 0||a.finish():$e(()=>{var i;(i=n.value)===null||i===void 0||i.finish()})}},{mergedClsPrefixRef:r}=Ke(e);return ue(hu,o),ue(fu,{props:e,mergedClsPrefixRef:r}),Object.assign(o,{loadingBarRef:n})},render(){var e,t;return b(at,null,b(Vo,{disabled:this.to===!1,to:this.to||"body"},b(Jx,{ref:"loadingBarRef",containerStyle:this.containerStyle,containerClass:this.containerClass})),(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e))}});function tC(){const e=te(hu,null);return e===null&&xn("use-loading-bar","No outer <n-loading-bar-provider /> founded."),e}const mu={icon:Function,type:{type:String,default:"info"},content:[String,Number,Function],showIcon:{type:Boolean,default:!0},closable:Boolean,keepAliveOnHover:Boolean,onClose:Function,onMouseenter:Function,onMouseleave:Function},pu="n-message-api",gu="n-message-provider",nC=$([H("message-wrapper",` margin: var(--n-margin); z-index: 0; transform-origin: top center; display: flex; `,[dx({overflow:"visible",originalTransition:"transform .3s var(--n-bezier)",enterToProps:{transform:"scale(1)"},leaveToProps:{transform:"scale(0.85)"}})]),H("message",` box-sizing: border-box; display: flex; align-items: center; transition: color .3s var(--n-bezier), box-shadow .3s var(--n-bezier), background-color .3s var(--n-bezier), opacity .3s var(--n-bezier), transform .3s var(--n-bezier), margin-bottom .3s var(--n-bezier); padding: var(--n-padding); border-radius: var(--n-border-radius); flex-wrap: nowrap; overflow: hidden; max-width: var(--n-max-width); color: var(--n-text-color); background-color: var(--n-color); box-shadow: var(--n-box-shadow); `,[z("content",` display: inline-block; line-height: var(--n-line-height); font-size: var(--n-font-size); `),z("icon",` position: relative; margin: var(--n-icon-margin); height: var(--n-icon-size); width: var(--n-icon-size); font-size: var(--n-icon-size); flex-shrink: 0; `,[["default","info","success","warning","error","loading"].map(e=>L(`${e}-type`,[$("> *",` color: var(--n-icon-color-${e}); transition: color .3s var(--n-bezier); `)])),$("> *",` position: absolute; left: 0; top: 0; right: 0; bottom: 0; `,[jo()])]),z("close",` margin: var(--n-close-margin); transition: background-color .3s var(--n-bezier), color .3s var(--n-bezier); flex-shrink: 0; `,[$("&:hover",` color: var(--n-close-icon-color-hover); `),$("&:active",` color: var(--n-close-icon-color-pressed); `)])]),H("message-container",` z-index: 6000; position: fixed; height: 0; overflow: visible; display: flex; flex-direction: column; align-items: center; `,[L("top",` top: 12px; left: 0; right: 0; `),L("top-left",` top: 12px; left: 12px; right: 0; align-items: flex-start; `),L("top-right",` top: 12px; left: 0; right: 12px; align-items: flex-end; `),L("bottom",` bottom: 4px; left: 0; right: 0; justify-content: flex-end; `),L("bottom-left",` bottom: 4px; left: 12px; right: 0; justify-content: flex-end; align-items: flex-start; `),L("bottom-right",` bottom: 4px; left: 0; right: 12px; justify-content: flex-end; align-items: flex-end; `)])]),oC={info:()=>b(qn,null),success:()=>b(rr,null),warning:()=>b(ar,null),error:()=>b(or,null),default:()=>null},rC=X({name:"Message",props:Object.assign(Object.assign({},mu),{render:Function}),setup(e){const{inlineThemeDisabled:t,mergedRtlRef:n}=Ke(e),{props:o,mergedClsPrefixRef:r}=te(gu),a=Pn("Message",n,r),i=Se("Message","-message",nC,Ux,o,r),s=O(()=>{const{type:c}=e,{common:{cubicBezierEaseInOut:u},self:{padding:d,margin:f,maxWidth:h,iconMargin:m,closeMargin:p,closeSize:g,iconSize:v,fontSize:w,lineHeight:x,borderRadius:S,iconColorInfo:C,iconColorSuccess:_,iconColorWarning:y,iconColorError:P,iconColorLoading:E,closeIconSize:A,closeBorderRadius:B,[U("textColor",c)]:N,[U("boxShadow",c)]:q,[U("color",c)]:ee,[U("closeColorHover",c)]:ne,[U("closeColorPressed",c)]:J,[U("closeIconColor",c)]:F,[U("closeIconColorPressed",c)]:ce,[U("closeIconColorHover",c)]:ye}}=i.value;return{"--n-bezier":u,"--n-margin":f,"--n-padding":d,"--n-max-width":h,"--n-font-size":w,"--n-icon-margin":m,"--n-icon-size":v,"--n-close-icon-size":A,"--n-close-border-radius":B,"--n-close-size":g,"--n-close-margin":p,"--n-text-color":N,"--n-color":ee,"--n-box-shadow":q,"--n-icon-color-info":C,"--n-icon-color-success":_,"--n-icon-color-warning":y,"--n-icon-color-error":P,"--n-icon-color-loading":E,"--n-close-color-hover":ne,"--n-close-color-pressed":J,"--n-close-icon-color":F,"--n-close-icon-color-pressed":ce,"--n-close-icon-color-hover":ye,"--n-line-height":x,"--n-border-radius":S}}),l=t?St("message",O(()=>e.type[0]),s,{}):void 0;return{mergedClsPrefix:r,rtlEnabled:a,messageProviderProps:o,handleClose(){var c;(c=e.onClose)===null||c===void 0||c.call(e)},cssVars:t?void 0:s,themeClass:l==null?void 0:l.themeClass,onRender:l==null?void 0:l.onRender,placement:o.placement}},render(){const{render:e,type:t,closable:n,content:o,mergedClsPrefix:r,cssVars:a,themeClass:i,onRender:s,icon:l,handleClose:c,showIcon:u}=this;s==null||s();let d;return b("div",{class:[`${r}-message-wrapper`,i],onMouseenter:this.onMouseenter,onMouseleave:this.onMouseleave,style:[{alignItems:this.placement.startsWith("top")?"flex-start":"flex-end"},a]},e?e(this.$props):b("div",{class:[`${r}-message ${r}-message--${t}-type`,this.rtlEnabled&&`${r}-message--rtl`]},(d=aC(l,t,r))&&u?b("div",{class:`${r}-message__icon ${r}-message__icon--${t}-type`},b(Qa,null,{default:()=>d})):null,b("div",{class:`${r}-message__content`},je(o)),n?b(ir,{clsPrefix:r,class:`${r}-message__close`,onClick:c,absolute:!0}):null))}});function aC(e,t,n){if(typeof e=="function")return e();{const o=t==="loading"?b(Qc,{clsPrefix:n,strokeWidth:24,scale:.85}):oC[t]();return o?b(eo,{clsPrefix:n,key:t},{default:()=>o}):null}}const iC=X({name:"MessageEnvironment",props:Object.assign(Object.assign({},mu),{duration:{type:Number,default:3e3},onAfterLeave:Function,onLeave:Function,internalKey:{type:String,required:!0},onInternalAfterLeave:Function,onHide:Function,onAfterHide:Function}),setup(e){let t=null;const n=M(!0);xt(()=>{o()});function o(){const{duration:u}=e;u&&(t=window.setTimeout(i,u))}function r(u){u.currentTarget===u.target&&t!==null&&(window.clearTimeout(t),t=null)}function a(u){u.currentTarget===u.target&&o()}function i(){const{onHide:u}=e;n.value=!1,t&&(window.clearTimeout(t),t=null),u&&u()}function s(){const{onClose:u}=e;u&&u(),i()}function l(){const{onAfterLeave:u,onInternalAfterLeave:d,onAfterHide:f,internalKey:h}=e;u&&u(),d&&d(h),f&&f()}function c(){i()}return{show:n,hide:i,handleClose:s,handleAfterLeave:l,handleMouseleave:a,handleMouseenter:r,deactivate:c}},render(){return b(Jc,{appear:!0,onAfterLeave:this.handleAfterLeave,onLeave:this.onLeave},{default:()=>[this.show?b(rC,{content:this.content,type:this.type,icon:this.icon,showIcon:this.showIcon,closable:this.closable,onClose:this.handleClose,onMouseenter:this.keepAliveOnHover?this.handleMouseenter:void 0,onMouseleave:this.keepAliveOnHover?this.handleMouseleave:void 0}):null]})}}),sC=Object.assign(Object.assign({},Se.props),{to:[String,Object],duration:{type:Number,default:3e3},keepAliveOnHover:Boolean,max:Number,placement:{type:String,default:"top"},closable:Boolean,containerClass:String,containerStyle:[String,Object]}),vu=X({name:"MessageProvider",props:sC,setup(e){const{mergedClsPrefixRef:t}=Ke(e),n=M([]),o=M({}),r={create(l,c){return a(l,Object.assign({type:"default"},c))},info(l,c){return a(l,Object.assign(Object.assign({},c),{type:"info"}))},success(l,c){return a(l,Object.assign(Object.assign({},c),{type:"success"}))},warning(l,c){return a(l,Object.assign(Object.assign({},c),{type:"warning"}))},error(l,c){return a(l,Object.assign(Object.assign({},c),{type:"error"}))},loading(l,c){return a(l,Object.assign(Object.assign({},c),{type:"loading"}))},destroyAll:s};ue(gu,{props:e,mergedClsPrefixRef:t}),ue(pu,r);function a(l,c){const u=Jn(),d=ut(Object.assign(Object.assign({},c),{content:l,key:u,destroy:()=>{var h;(h=o.value[u])===null||h===void 0||h.hide()}})),{max:f}=e;return f&&n.value.length>=f&&n.value.shift(),n.value.push(d),d}function i(l){n.value.splice(n.value.findIndex(c=>c.key===l),1),delete o.value[l]}function s(){Object.values(o.value).forEach(l=>{l.hide()})}return Object.assign({mergedClsPrefix:t,messageRefs:o,messageList:n,handleAfterLeave:i},r)},render(){var e,t,n;return b(at,null,(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e),this.messageList.length?b(Vo,{to:(n=this.to)!==null&&n!==void 0?n:"body"},b("div",{class:[`${this.mergedClsPrefix}-message-container`,`${this.mergedClsPrefix}-message-container--${this.placement}`,this.containerClass],key:"message-container",style:this.containerStyle},this.messageList.map(o=>b(iC,Object.assign({ref:r=>{r&&(this.messageRefs[o.key]=r)},internalKey:o.key,onInternalAfterLeave:this.handleAfterLeave},Jo(o,["destroy"],void 0),{duration:o.duration===void 0?this.duration:o.duration,keepAliveOnHover:o.keepAliveOnHover===void 0?this.keepAliveOnHover:o.keepAliveOnHover,closable:o.closable===void 0?this.closable:o.closable}))))):null)}});function lC(){const e=te(pu,null);return e===null&&xn("use-message","No outer <n-message-provider /> founded. See prerequisite in https://www.naiveui.com/en-US/os-theme/components/message for more details. If you want to use `useMessage` outside setup, please check https://www.naiveui.com/zh-CN/os-theme/components/message#Q-&-A."),e}const cC=X({name:"ModalEnvironment",props:Object.assign(Object.assign({},cu),{internalKey:{type:String,required:!0},onInternalAfterLeave:{type:Function,required:!0}}),setup(e){const t=M(!0);function n(){const{onInternalAfterLeave:u,internalKey:d,onAfterLeave:f}=e;u&&u(d),f&&f()}function o(){const{onPositiveClick:u}=e;u?Promise.resolve(u()).then(d=>{d!==!1&&l()}):l()}function r(){const{onNegativeClick:u}=e;u?Promise.resolve(u()).then(d=>{d!==!1&&l()}):l()}function a(){const{onClose:u}=e;u?Promise.resolve(u()).then(d=>{d!==!1&&l()}):l()}function i(u){const{onMaskClick:d,maskClosable:f}=e;d&&(d(u),f&&l())}function s(){const{onEsc:u}=e;u&&u()}function l(){t.value=!1}function c(u){t.value=u}return{show:t,hide:l,handleUpdateShow:c,handleAfterLeave:n,handleCloseClick:a,handleNegativeClick:r,handlePositiveClick:o,handleMaskClick:i,handleEsc:s}},render(){const{handleUpdateShow:e,handleAfterLeave:t,handleMaskClick:n,handleEsc:o,show:r}=this;return b(uu,Object.assign({},this.$props,{show:r,onUpdateShow:e,onMaskClick:n,onEsc:o,onAfterLeave:t,internalAppear:!0,internalModal:!0}))}}),el="n-modal-provider",yu="n-modal-api",uC="n-modal-reactive-list",dC={to:[String,Object]},bu=X({name:"ModalProvider",props:dC,setup(){const e=No(64),t=Fo(),n=M([]),o={};function r(l={}){const c=Jn(),u=ut(Object.assign(Object.assign({},l),{key:c,destroy:()=>{var d;(d=o[`n-modal-${c}`])===null||d===void 0||d.hide()}}));return n.value.push(u),u}function a(l){const{value:c}=n;c.splice(c.findIndex(u=>u.key===l),1)}function i(){Object.values(o).forEach(l=>{l==null||l.hide()})}const s={create:r,destroyAll:i};return ue(yu,s),ue(el,{clickedRef:No(64),clickedPositionRef:Fo()}),ue(uC,n),ue(el,{clickedRef:e,clickedPositionRef:t}),Object.assign(Object.assign({},s),{modalList:n,modalInstRefs:o,handleAfterLeave:a})},render(){var e,t;return b(at,null,[this.modalList.map(n=>{var o;return b(cC,Jo(n,["destroy"],{to:(o=n.to)!==null&&o!==void 0?o:this.to,ref:r=>{r===null?delete this.modalInstRefs[`n-modal-${n.key}`]:this.modalInstRefs[`n-modal-${n.key}`]=r},internalKey:n.key,onInternalAfterLeave:this.handleAfterLeave}))}),(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e)])}});function fC(){const e=te(yu,null);return e===null&&xn("use-modal","No outer <n-modal-provider /> founded."),e}const lr="n-notification-provider",hC=X({name:"NotificationContainer",props:{scrollable:{type:Boolean,required:!0},placement:{type:String,required:!0}},setup(){const{mergedThemeRef:e,mergedClsPrefixRef:t,wipTransitionCountRef:n}=te(lr),o=M(null);return Yn(()=>{var r,a;n.value>0?(r=o==null?void 0:o.value)===null||r===void 0||r.classList.add("transitioning"):(a=o==null?void 0:o.value)===null||a===void 0||a.classList.remove("transitioning")}),{selfRef:o,mergedTheme:e,mergedClsPrefix:t,transitioning:n}},render(){const{$slots:e,scrollable:t,mergedClsPrefix:n,mergedTheme:o,placement:r}=this;return b("div",{ref:"selfRef",class:[`${n}-notification-container`,t&&`${n}-notification-container--scrollable`,`${n}-notification-container--${r}`]},t?b(ni,{theme:o.peers.Scrollbar,themeOverrides:o.peerOverrides.Scrollbar,contentStyle:{overflow:"hidden"}},e):e)}}),mC={info:()=>b(qn,null),success:()=>b(rr,null),warning:()=>b(ar,null),error:()=>b(or,null),default:()=>null},ai={closable:{type:Boolean,default:!0},type:{type:String,default:"default"},avatar:Function,title:[String,Function],description:[String,Function],content:[String,Function],meta:[String,Function],action:[String,Function],onClose:{type:Function,required:!0},keepAliveOnHover:Boolean,onMouseenter:Function,onMouseleave:Function},pC=Qo(ai),gC=X({name:"Notification",props:ai,setup(e){const{mergedClsPrefixRef:t,mergedThemeRef:n,props:o}=te(lr),{inlineThemeDisabled:r,mergedRtlRef:a}=Ke(),i=Pn("Notification",a,t),s=O(()=>{const{type:c}=e,{self:{color:u,textColor:d,closeIconColor:f,closeIconColorHover:h,closeIconColorPressed:m,headerTextColor:p,descriptionTextColor:g,actionTextColor:v,borderRadius:w,headerFontWeight:x,boxShadow:S,lineHeight:C,fontSize:_,closeMargin:y,closeSize:P,width:E,padding:A,closeIconSize:B,closeBorderRadius:N,closeColorHover:q,closeColorPressed:ee,titleFontSize:ne,metaFontSize:J,descriptionFontSize:F,[U("iconColor",c)]:ce},common:{cubicBezierEaseOut:ye,cubicBezierEaseIn:de,cubicBezierEaseInOut:Ce}}=n.value,{left:Ee,right:He,top:Oe,bottom:Tt}=Zo(A);return{"--n-color":u,"--n-font-size":_,"--n-text-color":d,"--n-description-text-color":g,"--n-action-text-color":v,"--n-title-text-color":p,"--n-title-font-weight":x,"--n-bezier":Ce,"--n-bezier-ease-out":ye,"--n-bezier-ease-in":de,"--n-border-radius":w,"--n-box-shadow":S,"--n-close-border-radius":N,"--n-close-color-hover":q,"--n-close-color-pressed":ee,"--n-close-icon-color":f,"--n-close-icon-color-hover":h,"--n-close-icon-color-pressed":m,"--n-line-height":C,"--n-icon-color":ce,"--n-close-margin":y,"--n-close-size":P,"--n-close-icon-size":B,"--n-width":E,"--n-padding-left":Ee,"--n-padding-right":He,"--n-padding-top":Oe,"--n-padding-bottom":Tt,"--n-title-font-size":ne,"--n-meta-font-size":J,"--n-description-font-size":F}}),l=r?St("notification",O(()=>e.type[0]),s,o):void 0;return{mergedClsPrefix:t,showAvatar:O(()=>e.avatar||e.type!=="default"),handleCloseClick(){e.onClose()},rtlEnabled:i,cssVars:r?void 0:s,themeClass:l==null?void 0:l.themeClass,onRender:l==null?void 0:l.onRender}},render(){var e;const{mergedClsPrefix:t}=this;return(e=this.onRender)===null||e===void 0||e.call(this),b("div",{class:[`${t}-notification-wrapper`,this.themeClass],onMouseenter:this.onMouseenter,onMouseleave:this.onMouseleave,style:this.cssVars},b("div",{class:[`${t}-notification`,this.rtlEnabled&&`${t}-notification--rtl`,this.themeClass,{[`${t}-notification--closable`]:this.closable,[`${t}-notification--show-avatar`]:this.showAvatar}],style:this.cssVars},this.showAvatar?b("div",{class:`${t}-notification__avatar`},this.avatar?je(this.avatar):this.type!=="default"?b(eo,{clsPrefix:t},{default:()=>mC[this.type]()}):null):null,this.closable?b(ir,{clsPrefix:t,class:`${t}-notification__close`,onClick:this.handleCloseClick}):null,b("div",{ref:"bodyRef",class:`${t}-notification-main`},this.title?b("div",{class:`${t}-notification-main__header`},je(this.title)):null,this.description?b("div",{class:`${t}-notification-main__description`},je(this.description)):null,this.content?b("pre",{class:`${t}-notification-main__content`},je(this.content)):null,this.meta||this.action?b("div",{class:`${t}-notification-main-footer`},this.meta?b("div",{class:`${t}-notification-main-footer__meta`},je(this.meta)):null,this.action?b("div",{class:`${t}-notification-main-footer__action`},je(this.action)):null):null)))}}),vC=Object.assign(Object.assign({},ai),{duration:Number,onClose:Function,onLeave:Function,onAfterEnter:Function,onAfterLeave:Function,onHide:Function,onAfterShow:Function,onAfterHide:Function}),yC=X({name:"NotificationEnvironment",props:Object.assign(Object.assign({},vC),{internalKey:{type:String,required:!0},onInternalAfterLeave:{type:Function,required:!0}}),setup(e){const{wipTransitionCountRef:t}=te(lr),n=M(!0);let o=null;function r(){n.value=!1,o&&window.clearTimeout(o)}function a(m){t.value++,$e(()=>{m.style.height=`${m.offsetHeight}px`,m.style.maxHeight="0",m.style.transition="none",m.offsetHeight,m.style.transition="",m.style.maxHeight=m.style.height})}function i(m){t.value--,m.style.height="",m.style.maxHeight="";const{onAfterEnter:p,onAfterShow:g}=e;p&&p(),g&&g()}function s(m){t.value++,m.style.maxHeight=`${m.offsetHeight}px`,m.style.height=`${m.offsetHeight}px`,m.offsetHeight}function l(m){const{onHide:p}=e;p&&p(),m.style.maxHeight="0",m.offsetHeight}function c(){t.value--;const{onAfterLeave:m,onInternalAfterLeave:p,onAfterHide:g,internalKey:v}=e;m&&m(),p(v),g&&g()}function u(){const{duration:m}=e;m&&(o=window.setTimeout(r,m))}function d(m){m.currentTarget===m.target&&o!==null&&(window.clearTimeout(o),o=null)}function f(m){m.currentTarget===m.target&&u()}function h(){const{onClose:m}=e;m?Promise.resolve(m()).then(p=>{p!==!1&&r()}):r()}return xt(()=>{e.duration&&(o=window.setTimeout(r,e.duration))}),{show:n,hide:r,handleClose:h,handleAfterLeave:c,handleLeave:l,handleBeforeLeave:s,handleAfterEnter:i,handleBeforeEnter:a,handleMouseenter:d,handleMouseleave:f}},render(){return b(lt,{name:"notification-transition",appear:!0,onBeforeEnter:this.handleBeforeEnter,onAfterEnter:this.handleAfterEnter,onBeforeLeave:this.handleBeforeLeave,onLeave:this.handleLeave,onAfterLeave:this.handleAfterLeave},{default:()=>this.show?b(gC,Object.assign({},Nn(this.$props,pC),{onClose:this.handleClose,onMouseenter:this.duration&&this.keepAliveOnHover?this.handleMouseenter:void 0,onMouseleave:this.duration&&this.keepAliveOnHover?this.handleMouseleave:void 0})):null})}}),bC=$([H("notification-container",` z-index: 4000; position: fixed; overflow: visible; display: flex; flex-direction: column; align-items: flex-end; `,[$(">",[H("scrollbar",` width: initial; overflow: visible; height: -moz-fit-content !important; height: fit-content !important; max-height: 100vh !important; `,[$(">",[H("scrollbar-container",` height: -moz-fit-content !important; height: fit-content !important; max-height: 100vh !important; `,[H("scrollbar-content",` padding-top: 12px; padding-bottom: 33px; `)])])])]),L("top, top-right, top-left",` top: 12px; `,[$("&.transitioning >",[H("scrollbar",[$(">",[H("scrollbar-container",` min-height: 100vh !important; `)])])])]),L("bottom, bottom-right, bottom-left",` bottom: 12px; `,[$(">",[H("scrollbar",[$(">",[H("scrollbar-container",[H("scrollbar-content",` padding-bottom: 12px; `)])])])]),H("notification-wrapper",` display: flex; align-items: flex-end; margin-bottom: 0; margin-top: 12px; `)]),L("top, bottom",` left: 50%; transform: translateX(-50%); `,[H("notification-wrapper",[$("&.notification-transition-enter-from, &.notification-transition-leave-to",` transform: scale(0.85); `),$("&.notification-transition-leave-from, &.notification-transition-enter-to",` transform: scale(1); `)])]),L("top",[H("notification-wrapper",` transform-origin: top center; `)]),L("bottom",[H("notification-wrapper",` transform-origin: bottom center; `)]),L("top-right, bottom-right",[H("notification",` margin-left: 28px; margin-right: 16px; `)]),L("top-left, bottom-left",[H("notification",` margin-left: 16px; margin-right: 28px; `)]),L("top-right",` right: 0; `,[xo("top-right")]),L("top-left",` left: 0; `,[xo("top-left")]),L("bottom-right",` right: 0; `,[xo("bottom-right")]),L("bottom-left",` left: 0; `,[xo("bottom-left")]),L("scrollable",[L("top-right",` top: 0; `),L("top-left",` top: 0; `),L("bottom-right",` bottom: 0; `),L("bottom-left",` bottom: 0; `)]),H("notification-wrapper",` margin-bottom: 12px; `,[$("&.notification-transition-enter-from, &.notification-transition-leave-to",` opacity: 0; margin-top: 0 !important; margin-bottom: 0 !important; `),$("&.notification-transition-leave-from, &.notification-transition-enter-to",` opacity: 1; `),$("&.notification-transition-leave-active",` transition: background-color .3s var(--n-bezier), color .3s var(--n-bezier), opacity .3s var(--n-bezier), transform .3s var(--n-bezier-ease-in), max-height .3s var(--n-bezier), margin-top .3s linear, margin-bottom .3s linear, box-shadow .3s var(--n-bezier); `),$("&.notification-transition-enter-active",` transition: background-color .3s var(--n-bezier), color .3s var(--n-bezier), opacity .3s var(--n-bezier), transform .3s var(--n-bezier-ease-out), max-height .3s var(--n-bezier), margin-top .3s linear, margin-bottom .3s linear, box-shadow .3s var(--n-bezier); `)]),H("notification",` background-color: var(--n-color); color: var(--n-text-color); transition: background-color .3s var(--n-bezier), color .3s var(--n-bezier), opacity .3s var(--n-bezier), box-shadow .3s var(--n-bezier); font-family: inherit; font-size: var(--n-font-size); font-weight: 400; position: relative; display: flex; overflow: hidden; flex-shrink: 0; padding-left: var(--n-padding-left); padding-right: var(--n-padding-right); width: var(--n-width); max-width: calc(100vw - 16px - 16px); border-radius: var(--n-border-radius); box-shadow: var(--n-box-shadow); box-sizing: border-box; opacity: 1; `,[z("avatar",[H("icon",` color: var(--n-icon-color); `),H("base-icon",` color: var(--n-icon-color); `)]),L("show-avatar",[H("notification-main",` margin-left: 40px; width: calc(100% - 40px); `)]),L("closable",[H("notification-main",[$("> *:first-child",` padding-right: 20px; `)]),z("close",` position: absolute; top: 0; right: 0; margin: var(--n-close-margin); transition: background-color .3s var(--n-bezier), color .3s var(--n-bezier); `)]),z("avatar",` position: absolute; top: var(--n-padding-top); left: var(--n-padding-left); width: 28px; height: 28px; font-size: 28px; display: flex; align-items: center; justify-content: center; `,[H("icon","transition: color .3s var(--n-bezier);")]),H("notification-main",` padding-top: var(--n-padding-top); padding-bottom: var(--n-padding-bottom); box-sizing: border-box; display: flex; flex-direction: column; margin-left: 8px; width: calc(100% - 8px); `,[H("notification-main-footer",` display: flex; align-items: center; justify-content: space-between; margin-top: 12px; `,[z("meta",` font-size: var(--n-meta-font-size); transition: color .3s var(--n-bezier-ease-out); color: var(--n-description-text-color); `),z("action",` cursor: pointer; transition: color .3s var(--n-bezier-ease-out); color: var(--n-action-text-color); `)]),z("header",` font-weight: var(--n-title-font-weight); font-size: var(--n-title-font-size); transition: color .3s var(--n-bezier-ease-out); color: var(--n-title-text-color); `),z("description",` margin-top: 8px; font-size: var(--n-description-font-size); white-space: pre-wrap; word-wrap: break-word; transition: color .3s var(--n-bezier-ease-out); color: var(--n-description-text-color); `),z("content",` line-height: var(--n-line-height); margin: 12px 0 0 0; font-family: inherit; white-space: pre-wrap; word-wrap: break-word; transition: color .3s var(--n-bezier-ease-out); color: var(--n-text-color); `,[$("&:first-child","margin: 0;")])])])])]);function xo(e){const n=e.split("-")[1]==="left"?"calc(-100%)":"calc(100%)";return H("notification-wrapper",[$("&.notification-transition-enter-from, &.notification-transition-leave-to",` transform: translate(${n}, 0); `),$("&.notification-transition-leave-from, &.notification-transition-enter-to",` transform: translate(0, 0); `)])}const wu="n-notification-api",wC=Object.assign(Object.assign({},Se.props),{containerClass:String,containerStyle:[String,Object],to:[String,Object],scrollable:{type:Boolean,default:!0},max:Number,placement:{type:String,default:"top-right"},keepAliveOnHover:Boolean}),xC=X({name:"NotificationProvider",props:wC,setup(e){const{mergedClsPrefixRef:t}=Ke(e),n=M([]),o={},r=new Set;function a(h){const m=Jn(),p=()=>{r.add(m),o[m]&&o[m].hide()},g=ut(Object.assign(Object.assign({},h),{key:m,destroy:p,hide:p,deactivate:p})),{max:v}=e;if(v&&n.value.length-r.size>=v){let w=!1,x=0;for(const S of n.value){if(!r.has(S.key)){o[S.key]&&(S.destroy(),w=!0);break}x++}w||n.value.splice(x,1)}return n.value.push(g),g}const i=["info","success","warning","error"].map(h=>m=>a(Object.assign(Object.assign({},m),{type:h})));function s(h){r.delete(h),n.value.splice(n.value.findIndex(m=>m.key===h),1)}const l=Se("Notification","-notification",bC,jx,e,t),c={create:a,info:i[0],success:i[1],warning:i[2],error:i[3],open:d,destroyAll:f},u=M(0);ue(wu,c),ue(lr,{props:e,mergedClsPrefixRef:t,mergedThemeRef:l,wipTransitionCountRef:u});function d(h){return a(h)}function f(){Object.values(n.value).forEach(h=>{h.hide()})}return Object.assign({mergedClsPrefix:t,notificationList:n,notificationRefs:o,handleAfterLeave:s},c)},render(){var e,t,n;const{placement:o}=this;return b(at,null,(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e),this.notificationList.length?b(Vo,{to:(n=this.to)!==null&&n!==void 0?n:"body"},b(hC,{class:this.containerClass,style:this.containerStyle,scrollable:this.scrollable&&o!=="top"&&o!=="bottom",placement:o},{default:()=>this.notificationList.map(r=>b(yC,Object.assign({ref:a=>{const i=r.key;a===null?delete this.notificationRefs[i]:this.notificationRefs[i]=a}},Jo(r,["destroy","hide","deactivate"]),{internalKey:r.key,onInternalAfterLeave:this.handleAfterLeave,keepAliveOnHover:r.keepAliveOnHover===void 0?this.keepAliveOnHover:r.keepAliveOnHover})))})):null)}});function CC(){const e=te(wu,null);return e===null&&xn("use-notification","No outer `n-notification-provider` found."),e}const PC=b("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},b("circle",{fill:"#FFCB4C",cx:"18",cy:"17.018",r:"17"}),b("path",{fill:"#65471B",d:"M14.524 21.036c-.145-.116-.258-.274-.312-.464-.134-.46.13-.918.59-1.021 4.528-1.021 7.577 1.363 7.706 1.465.384.306.459.845.173 1.205-.286.358-.828.401-1.211.097-.11-.084-2.523-1.923-6.182-1.098-.274.061-.554-.016-.764-.184z"}),b("ellipse",{fill:"#65471B",cx:"13.119",cy:"11.174",rx:"2.125",ry:"2.656"}),b("ellipse",{fill:"#65471B",cx:"24.375",cy:"12.236",rx:"2.125",ry:"2.656"}),b("path",{fill:"#F19020",d:"M17.276 35.149s1.265-.411 1.429-1.352c.173-.972-.624-1.167-.624-1.167s1.041-.208 1.172-1.376c.123-1.101-.861-1.363-.861-1.363s.97-.4 1.016-1.539c.038-.959-.995-1.428-.995-1.428s5.038-1.221 5.556-1.341c.516-.12 1.32-.615 1.069-1.694-.249-1.08-1.204-1.118-1.697-1.003-.494.115-6.744 1.566-8.9 2.068l-1.439.334c-.54.127-.785-.11-.404-.512.508-.536.833-1.129.946-2.113.119-1.035-.232-2.313-.433-2.809-.374-.921-1.005-1.649-1.734-1.899-1.137-.39-1.945.321-1.542 1.561.604 1.854.208 3.375-.833 4.293-2.449 2.157-3.588 3.695-2.83 6.973.828 3.575 4.377 5.876 7.952 5.048l3.152-.681z"}),b("path",{fill:"#65471B",d:"M9.296 6.351c-.164-.088-.303-.224-.391-.399-.216-.428-.04-.927.393-1.112 4.266-1.831 7.699-.043 7.843.034.433.231.608.747.391 1.154-.216.405-.74.546-1.173.318-.123-.063-2.832-1.432-6.278.047-.257.109-.547.085-.785-.042zm12.135 3.75c-.156-.098-.286-.243-.362-.424-.187-.442.023-.927.468-1.084 4.381-1.536 7.685.48 7.823.567.415.26.555.787.312 1.178-.242.39-.776.495-1.191.238-.12-.072-2.727-1.621-6.267-.379-.266.091-.553.046-.783-.096z"})),SC=b("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},b("path",{fill:"#FFCC4D",d:"M36 18c0 9.941-8.059 18-18 18-9.94 0-18-8.059-18-18C0 8.06 8.06 0 18 0c9.941 0 18 8.06 18 18"}),b("ellipse",{fill:"#664500",cx:"18",cy:"27",rx:"5",ry:"6"}),b("path",{fill:"#664500",d:"M5.999 11c-.208 0-.419-.065-.599-.2-.442-.331-.531-.958-.2-1.4C8.462 5.05 12.816 5 13 5c.552 0 1 .448 1 1 0 .551-.445.998-.996 1-.155.002-3.568.086-6.204 3.6-.196.262-.497.4-.801.4zm24.002 0c-.305 0-.604-.138-.801-.4-2.64-3.521-6.061-3.598-6.206-3.6-.55-.006-.994-.456-.991-1.005C22.006 5.444 22.45 5 23 5c.184 0 4.537.05 7.8 4.4.332.442.242 1.069-.2 1.4-.18.135-.39.2-.599.2zm-16.087 4.5l1.793-1.793c.391-.391.391-1.023 0-1.414s-1.023-.391-1.414 0L12.5 14.086l-1.793-1.793c-.391-.391-1.023-.391-1.414 0s-.391 1.023 0 1.414l1.793 1.793-1.793 1.793c-.391.391-.391 1.023 0 1.414.195.195.451.293.707.293s.512-.098.707-.293l1.793-1.793 1.793 1.793c.195.195.451.293.707.293s.512-.098.707-.293c.391-.391.391-1.023 0-1.414L13.914 15.5zm11 0l1.793-1.793c.391-.391.391-1.023 0-1.414s-1.023-.391-1.414 0L23.5 14.086l-1.793-1.793c-.391-.391-1.023-.391-1.414 0s-.391 1.023 0 1.414l1.793 1.793-1.793 1.793c-.391.391-.391 1.023 0 1.414.195.195.451.293.707.293s.512-.098.707-.293l1.793-1.793 1.793 1.793c.195.195.451.293.707.293s.512-.098.707-.293c.391-.391.391-1.023 0-1.414L24.914 15.5z"})),_C=b("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},b("ellipse",{fill:"#292F33",cx:"18",cy:"26",rx:"18",ry:"10"}),b("ellipse",{fill:"#66757F",cx:"18",cy:"24",rx:"18",ry:"10"}),b("path",{fill:"#E1E8ED",d:"M18 31C3.042 31 1 16 1 12h34c0 2-1.958 19-17 19z"}),b("path",{fill:"#77B255",d:"M35 12.056c0 5.216-7.611 9.444-17 9.444S1 17.271 1 12.056C1 6.84 8.611 3.611 18 3.611s17 3.229 17 8.445z"}),b("ellipse",{fill:"#A6D388",cx:"18",cy:"13",rx:"15",ry:"7"}),b("path",{d:"M21 17c-.256 0-.512-.098-.707-.293-2.337-2.337-2.376-4.885-.125-8.262.739-1.109.9-2.246.478-3.377-.461-1.236-1.438-1.996-1.731-2.077-.553 0-.958-.443-.958-.996 0-.552.491-.995 1.043-.995.997 0 2.395 1.153 3.183 2.625 1.034 1.933.91 4.039-.351 5.929-1.961 2.942-1.531 4.332-.125 5.738.391.391.391 1.023 0 1.414-.195.196-.451.294-.707.294zm-6-2c-.256 0-.512-.098-.707-.293-2.337-2.337-2.376-4.885-.125-8.262.727-1.091.893-2.083.494-2.947-.444-.961-1.431-1.469-1.684-1.499-.552 0-.989-.447-.989-1 0-.552.458-1 1.011-1 .997 0 2.585.974 3.36 2.423.481.899 1.052 2.761-.528 5.131-1.961 2.942-1.531 4.332-.125 5.738.391.391.391 1.023 0 1.414-.195.197-.451.295-.707.295z",fill:"#5C913B"})),TC=b("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},b("path",{fill:"#EF9645",d:"M15.5 2.965c1.381 0 2.5 1.119 2.5 2.5v.005L20.5.465c1.381 0 2.5 1.119 2.5 2.5V4.25l2.5-1.535c1.381 0 2.5 1.119 2.5 2.5V8.75L29 18H15.458L15.5 2.965z"}),b("path",{fill:"#FFDC5D",d:"M4.625 16.219c1.381-.611 3.354.208 4.75 2.188.917 1.3 1.187 3.151 2.391 3.344.46.073 1.234-.313 1.234-1.397V4.5s0-2 2-2 2 2 2 2v11.633c0-.029 1-.064 1-.082V2s0-2 2-2 2 2 2 2v14.053c0 .017 1 .041 1 .069V4.25s0-2 2-2 2 2 2 2v12.638c0 .118 1 .251 1 .398V8.75s0-2 2-2 2 2 2 2V24c0 6.627-5.373 12-12 12-4.775 0-8.06-2.598-9.896-5.292C8.547 28.423 8.096 26.051 8 25.334c0 0-.123-1.479-1.156-2.865-1.469-1.969-2.5-3.156-3.125-3.866-.317-.359-.625-1.707.906-2.384z"})),kC=H("result",` color: var(--n-text-color); line-height: var(--n-line-height); font-size: var(--n-font-size); transition: color .3s var(--n-bezier); `,[H("result-icon",` display: flex; justify-content: center; transition: color .3s var(--n-bezier); `,[z("status-image",` font-size: var(--n-icon-size); width: 1em; height: 1em; `),H("base-icon",` color: var(--n-icon-color); font-size: var(--n-icon-size); `)]),H("result-content",{marginTop:"24px"}),H("result-footer",` margin-top: 24px; text-align: center; `),H("result-header",[z("title",` margin-top: 16px; font-weight: var(--n-title-font-weight); transition: color .3s var(--n-bezier); text-align: center; color: var(--n-title-text-color); font-size: var(--n-title-font-size); `),z("description",` margin-top: 4px; text-align: center; font-size: var(--n-font-size); `)])]),EC={403:()=>TC,404:()=>PC,418:()=>_C,500:()=>SC,info:()=>b(qn,null),success:()=>b(rr,null),warning:()=>b(ar,null),error:()=>b(or,null)},$C=Object.assign(Object.assign({},Se.props),{size:{type:String,default:"medium"},status:{type:String,default:"info"},title:String,description:String}),RC=X({name:"Result",props:$C,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=Ke(e),o=Se("Result","-result",kC,Xx,e,t),r=O(()=>{const{size:i,status:s}=e,{common:{cubicBezierEaseInOut:l},self:{textColor:c,lineHeight:u,titleTextColor:d,titleFontWeight:f,[U("iconColor",s)]:h,[U("fontSize",i)]:m,[U("titleFontSize",i)]:p,[U("iconSize",i)]:g}}=o.value;return{"--n-bezier":l,"--n-font-size":m,"--n-icon-size":g,"--n-line-height":u,"--n-text-color":c,"--n-title-font-size":p,"--n-title-font-weight":f,"--n-title-text-color":d,"--n-icon-color":h||""}}),a=n?St("result",O(()=>{const{size:i,status:s}=e;let l="";return i&&(l+=i[0]),s&&(l+=s[0]),l}),r,e):void 0;return{mergedClsPrefix:t,cssVars:n?void 0:r,themeClass:a==null?void 0:a.themeClass,onRender:a==null?void 0:a.onRender}},render(){var e;const{status:t,$slots:n,mergedClsPrefix:o,onRender:r}=this;return r==null||r(),b("div",{class:[`${o}-result`,this.themeClass],style:this.cssVars},b("div",{class:`${o}-result-icon`},((e=n.icon)===null||e===void 0?void 0:e.call(n))||b(eo,{clsPrefix:o},{default:()=>EC[t]()})),b("div",{class:`${o}-result-header`},this.title?b("div",{class:`${o}-result-header__title`},this.title):null,this.description?b("div",{class:`${o}-result-header__description`},this.description):null),n.default&&b("div",{class:`${o}-result-content`},n),n.footer&&b("div",{class:`${o}-result-footer`},n.footer()))}}),MC=X({name:"InjectionExtractor",props:{onSetup:Function},setup(e,{slots:t}){var n;return(n=e.onSetup)===null||n===void 0||n.call(e),()=>{var o;return(o=t.default)===null||o===void 0?void 0:o.call(t)}}}),OC={message:lC,notification:CC,loadingBar:tC,dialog:Fx,modal:fC};function AC({providersAndProps:e,configProviderProps:t}){let n=pl(r);const o={app:n};function r(){return b(ou,ae(t),{default:()=>e.map(({type:s,Provider:l,props:c})=>b(l,ae(c),{default:()=>b(MC,{onSetup:()=>o[s]=OC[s]()})}))})}let a;return Cn&&(a=document.createElement("div"),document.body.appendChild(a),n.mount(a)),Object.assign({unmount:()=>{var s;if(n===null||a===null){return}n.unmount(),(s=a.parentNode)===null||s===void 0||s.removeChild(a),a=null,n=null}},o)}function DC(e,{configProviderProps:t,messageProviderProps:n,dialogProviderProps:o,notificationProviderProps:r,loadingBarProviderProps:a,modalProviderProps:i}={}){const s=[];return e.forEach(c=>{switch(c){case"message":s.push({type:c,Provider:vu,props:n});break;case"notification":s.push({type:c,Provider:xC,props:r});break;case"dialog":s.push({type:c,Provider:du,props:o});break;case"loadingBar":s.push({type:c,Provider:eC,props:a});break;case"modal":s.push({type:c,Provider:bu,props:i})}}),AC({providersAndProps:s,configProviderProps:t})}function xu(e="light"){const t={common:{primaryColor:"#000",infoColor:"#256fff",infoColorHover:"#23527c",primaryColorHover:"#000"},Button:{colorHoverPrimary:"#000",borderPrimary:"#000",colorPrimary:"#000",borderHoverPrimary:"#000",colorPressedPrimary:"#78797b",borderPressed:"#78797b",textColorPressed:"#78797b",textColorTextPressed:"#78797b"},InternalSelectMenu:{optionTextColorPressed:"#78797b"}},n={};switch(e){case"light":return t;case"dark":return n;default:return t}}let In;const IC=ke(({vueApp:e})=>{const t=zC();Ma({htmlAttrs:{lang:t}}),In=rd({legacy:!1,globalInjection:!0,locale:t,fallbackLocale:"en",silentTranslationWarn:!0,missingWarn:!1,silentFallbackWarn:!0,sync:!0,messages:ad}),e.use(In)});function zC(){const e={cn:"zh_CN",global:"en",ru:"ru",de:"de",fr:"fr"},t=Me();return e[t]}function cr(){const{t:e,...t}=(In==null?void 0:In.global)??{};return{...t,t:(o,...r)=>o?(e==null?void 0:e(o,...r))??o:""}}function ur(e){{const{t}=cr(),{positiveText:n=t("sys.ok")}=e,o=e.class?`${e.class} custom-dialog`:"custom-dialog",{dialog:r}=DC(["dialog"],{configProviderProps:{themeOverrides:xu()}});return r==null?void 0:r.create({...e,class:o,positiveText:n})}}const Cu=()=>{switch(ze()){case"developer":WC();break;default:jC()}};function Pu(){var r,a,i,s;let e="";const t=on(),n=ze(),o=Le();switch(n){case"developer":if(t.href.indexOf("/forum/topicdetail/")!=-1)e=`${t.origin}${zt()}/topicdetail/topicid-${(r=o.currentRoute.value.params)==null?void 0:r.topicId}/?loginState=1&module=LogIn&from=%2Fcn%2Fforum%2Ftopicdetail%2Ftopicid-${(a=o.currentRoute.value.params)==null?void 0:a.topicId}%2F`;else if(e.indexOf("/forum/forumplate/")!=-1){let c=(s=(i=o.currentRoute.value.params)==null?void 0:i.forumId)==null?void 0:s.match(/-(\d+)/)[1];e=`${t.origin}${zt()}/forumplate/forumid-${c}/?loginState=1&module=LogIn&from=%2Fcn%2Fforum%2Fforumplate%2Fforumid-${c}%2F`}else e.indexOf("?navation=")!=-1?e=`${t.href}&module=LogIn&loginState=1&from=%2Fcn%2Fforum%2F`:e=`${t.origin}${zt()}/?module=LogIn&loginState=1&from=%2Fcn%2Fforum%2F`;break;default:o.currentRoute.value.path===So()?e=`${t.origin}${So()}`:e=YC(`${t.origin}${So()}`,{redirect:encodeURIComponent(o.currentRoute.value.fullPath)})}return e}const LC="https://hnoauth-login-drcn.cloud.honor.com/oauth2/v3/authorize",HC="https://hnoauth-login-dra.cloud.honor.com/oauth2/v3/authorize",FC="https://hnoauth-login-dre.cloud.honor.com/oauth2/v3/authorize",NC="https://hnoauth-login-drru.cloud.hihonor.com/oauth2/v3/authorize",BC="https://hnoauth-login-test-drcn.cloud.honor.com/oauth2/v3/authorize",Ar="https://hnoauth-login-test-dra.cloud.honor.com/oauth2/v3/authorize";function jC(){const e=Pu(),t=gt("community_login_redirect_uri");t.value=e;const o=Ct().public.honorAccountClientId;let r="";Ho()&&(r=nt()?LC:BC),za()&&(r=nt()?HC:Ar),La()&&(r=nt()?FC:Ar),Ha()&&(r=nt()?NC:Ar);let a="";switch(Me()){case pt.cn:a="zh-CN";break;case pt.global:a="en-en";break;case pt.mea:a="ar-sa";break;case pt.latin:a="es-es";break;case pt.ru:a="ru-ru";break;case pt.fr:a="fr-fr";break;case pt.fr:a="de-de";break;default:a="en-en";break}let i=`${r}?response_type=code&redirect_uri=${encodeURIComponent(e)}&client_id=${o}&scope=openid%20profile%20https%3A%2F%2Fwww.hihonor.com%2Fauth%2Faccount%2Fbase.profile&access_type=offline&lang=${a}`;window.location.href=i}function Su(){return{dev:"https://dev.developer.honor.com/cn/forum/",sit:"https://dev.developer.honor.com/cn/forum/",uat:"https://test.developer.honor.com/cn/forum/",beta:"https://developer.honor.com/cn/forum/",prod:"https://developer.honor.com/cn/forum/"}[Lo()].replace(/^(http.+)\/.+\/forum\/(.*)$/,(t,n,o,r,a)=>n+o)}async function WC(){try{const e=Pu();window.location.href=`/portal/auth?lang=cn&redirectUri=${encodeURIComponent(e)}`}catch(e){ur({type:"error",content:e})}}const VC=window.setInterval;function cS(){return Math.round(Math.random()*new Date().getTime())}const UC=Object.assign;async function uS(e){if(navigator.clipboard&&navigator.permissions)await navigator.clipboard.writeText(e);else{const t=document.createElement("textArea");t.value=e,t.style.width="0",t.style.position="fixed",t.style.left="-999px",t.style.top="10px",t.setAttribute("readonly","readonly"),document.body.appendChild(t),t.select(),document.execCommand("copy"),document.body.removeChild(t)}}function dS(e){const t=URL.createObjectURL(e),n=document.createElement("video");return n.src=t,n.autoplay=!0,n.currentTime=1,n.setAttribute("crossOrigin","anonymous"),n.muted=!0,new Promise(r=>{n.addEventListener("canplay",()=>{var i;const a=document.createElement("canvas");a.width=n.videoWidth*.8,a.height=n.videoHeight*.8,(i=a.getContext("2d"))==null||i.drawImage(n,0,0,a.width,a.height),r(o(a.toDataURL("image/png"),"file.png"))})});function o(r,a){const i=r.split(","),s=window.atob(i[1]);let l=s.length;const c=new Uint8Array(l);for(;l--;)c[l]=s.charCodeAt(l);return new File([c],a,{type:"image/png"})}}function fS(e){if(!e)return e;const t={"&":"&","<":"<",">":">"," ":" ","'":"'",""":'"',"'":"'",")":")","(":"(",""":'"',")":")","(":"(","'":"'","/":"/",")":")","(":"("};return e.replace(/&(amp|lt|gt|nbsp|#39|quot|apos|#41|#40|#34|#x29|#x28|#x27|#x2f|#041|#040);/g,n=>t[n])}function _u(e,t=!1){const n=Su(),o=new Image,r=`${n}/portal/logger/${t?"updateLogInfo":"saveLogInfo"}.gif?p=${encodeURIComponent(JSON.stringify(e))}`;o.src=r,o.setAttribute("style","display: none"),o.oncancel=()=>{Ye({method:"GET",keepalive:!0,url:r})}}function qC(e,t){window.Fingerprint2&&Fingerprint2.get(function(n){var s;const o=n.map(function(l,c){return c===0?l.value.replace(/\bNetType\/\w+\b/,""):l.value}),r=Fingerprint2.x64hash128(o.join(""),31);e.channelId=sessionStorage.getItem("source"),e.ueType=r;const a=((s=history.state)==null?void 0:s.back)??"",i=a?`${location.origin}${a}`:"";e.referrer=i||t||document.referrer,e.t=Math.random(),_u(e)})}function hS(e,t){if(!window.Fingerprint2)return;let n=0,o=0,r=0,a,i={...e};s();function s(){n=new Date().getTime(),a=VC(function(){o=new Date().getTime(),i.userStayTime=((o-n+r)/1e3).toFixed(3),tl(i,t)},12e3)}function l(){clearInterval(a),o=new Date().getTime(),r=o-n+r,i.userStayTime=(r/1e3).toFixed(3),tl(i,t)}function c(){document.visibilityState==="hidden"&&l(),document.visibilityState==="visible"&&s()}return document.addEventListener("visibilitychange",c),()=>{l(),document.removeEventListener("visibilitychange",c)}}function tl(e,t){window.Fingerprint2&&Fingerprint2.get(function(n){var s;const o=n.map(function(l,c){return c===0?l.value.replace(/\bNetType\/\w+\b/,""):l.value}),r=Fingerprint2.x64hash128(o.join(""),31);e.channelId=sessionStorage.getItem("source"),e.ueType=r;const a=((s=history.state)==null?void 0:s.back)??"",i=a?`${location.origin}${a}`:"";e.referrer=i||t||document.referrer,e.time=Date.now(),_u(e,!0)})}function GC(e){const t={...e},n=Pc.stringify(t);return n&&`?${n}`}function KC(e){const t=(e==null?void 0:e.split("?")[1])||location.search&&location.search.slice(1);return Pc.parse(t)}const Tu=(e,t)=>e.replace(/\/\{[\w]+?}/g,n=>{const o=t[n.slice(2,-1)];return o?`/${encodeURIComponent(o)}`:""}),YC=(e,t)=>{if(!e)return"";const n=e.split("?")[0],o=KC(e);return`${n}${GC(UC(o,t))}`};class ii{constructor(t,n,o){no(this,"message");no(this,"date",new Date().toISOString());no(this,"variables");this.code=t,this.message=n,this.variables=o}}class si{constructor(t,n,o){this.code=t,this.message=n,this.data=o}}function ku(){return""}function Eu(e=!1){const t=Ct();let n="";if(nt()){const o=t.public.iforumApiUrl;Ho()&&(n=o.replace("{site}",`${Rn.cnFlag}2`)),za()&&(n=o.replace("{site}",`${Rn.asiaFlag}`)),La()&&(n=o.replace("{site}",`${Rn.europeFlag}`)),Ha()&&(n=o.replace("{site}",`${Rn.ruFlag}`))}else n=Ho()?t.public.iforumCnApiUrl:t.public.iforumOverseaApiUrl;return n}const XC={100160001:"api.repeatReport",101100015:"api.rejectViewUnPublish",102000088:"api.commentReject",100000001:"api.systemError",100000002:"api.fileError",100000003:"api.urlError",100120001:"api.requestParameterError",100120002:"api.userNotLogged",100120003:"api.userNotModerator",100120004:"api.userNotSuperAdministrator",100120005:"api.csrfVerificationFailed",100120006:"api.userIdIsInconsistent",100120007:"api.siteIsInconsistent",100120008:"api.noAccessToPost",100120009:"api.notAgreeAgreement",100120010:"api.requestHeaderVerificationFailed",100120011:"api.httpsCertificateVerificationFailed",100120012:"api.keywordReplacement",100140001:"api.dataNotExist",100150012:"api.lockFailed",100160002:"api.privateMessageReportEmpty",100160003:"api.privateMessageReportExceedsLimit",100100010:"api.blacklistedUsersCannotSpeak",100100011:"api.accountHasBeenBanned",100100012:"api.userHasBeenBanned",100100013:"api.failedToGetUserId",100100014:"api.cannotAddMyselfToBlacklist",100100015:"api.userInBlacklist",100100016:"api.userNotInBlacklist",100100017:"api.noPermissionOperateSection",101000003:"api.parameterError",101000004:"api.authorIdCannotEmpty",101000005:"api.contentCannotEmpty",101000007:"api.commentDoesNotExist",101000008:"api.uidCannotEmpty",101000010:"api.wrongCommentLength",101000011:"api.statisticsNotExist",101000013:"api.listLength",101000014:"api.parameterCannotEmpty",101000015:"api.authorIdCannotEmpty",101000020:"api.subcommentDoesNotExist",101000023:"api.ratingScoreExceedsLimit",101000026:"api.notLiked",101000027:"api.liked",101000028:"api.wrongStartOrEndTime",101000029:"api.startTimeCannotEmpty",101000030:"api.endTimeCannotEmpty",101000031:"api.queryItemNumberParameterError",101000082:"api.commentsNotModerated",101100001:"api.noPermissions",101100002:"api.noPermissionToAccessPost",101100003:"api.noPermissionToDeletePost",101100004:"api.noPermissionToSoftDeletePost",101100005:"api.noPinnedPostPermission",101100006:"api.noPermissionToDeleteAttachment",101100007:"api.noPermissionToPinComment",101100008:"api.noPermissionToDeleteComment",101100009:"api.noPermissionToEditPost",101100010:"api.attachmentHasNotReviewed",101100011:"api.deletedCommentsCannotPinned",101100012:"api.notEnoughPoints",101100013:"api.noPermissionToAccessEvent",101100014:"api.editingFunctionalityDisabled",101100016:"api.q&aPostsHaveNotRepliedCannotModified",10112e4:"api.parameterError",101120001:"api.sectionIsIllegal",101120002:"api.wrongFileExtension",101120003:"api.fileNameError",101120004:"api.cannotUploadMultipleFiles",101120005:"api.frequentOperationsWithinTenMinutes",101120006:"api.wrongSectionId",101120007:"api.votingHasNotStarted",101120008:"api.votingHasEnded",101120009:"api.votingItemDoesNotExist",101120010:"api.alreadyVoted",101120011:"api.userNotLiked",101120012:"api.userLiked",101120013:"api.pollTitleTooLong",101120014:"api.ballotItemTooLong",101120015:"api.postContentTooLongOrTooShort",101120016:"api.postTitleTooLong",101120017:"api.votingTimeRulesFailed",101120018:"api.duplicateVotingItems",101120019:"api.feignInitializationError",101120020:"api.numberDraftPostsExceededLimit",101120021:"api.photographySectionCannotMigratePosts",101120022:"api.parameterCannotEmpty",101120023:"api.tagNameIsIllegal",101120024:"api.postReviewStatusPassed",101120025:"api.postReviewFailed",101120026:"api.subCommentsCannotPinned",101120027:"api.userGroupDoesNotExist",101120028:"api.titleIsIllegal",101120029:"api.failureInRiskControlReview",101120030:"api.numberFavoritesCannotExceed",101120031:"api.postingLimitHasReached",101120032:"api.activityValueLessThanPostingStandard",101120033:"api.intervalConsecutivePosts",101120034:"api.favoriteAlreadyExists",101120035:"api.verificationCodeError",101120101:"api.commentTooLongOrTooShort",101130001:"api.noFileInUploadParameters",101130002:"api.uploadAttachmentSizeExceeds",101130003:"api.fileUploadFailed",101130004:"api.noVotingInformation",101130005:"api.uploadedImageSizeExceeds",101130006:"api.numberUploadedFilesExceeds",101130007:"api.reasonCommentDeletedCannotEmpty",101130008:"api.commentDeletedTooLong",101130009:"api.dailyUploadImageLimit",101140001:"api.postNotFound",101140002:"api.attachmentNotFound",101140003:"api.photographySectionNotFound",101140004:"api.noCommentsFound",101150001:"api.internalError",101150002:"api.dynamicConfigurationError",101150003:"api.dynamicSectionConfigurationError",102e6:"api.systemError",102000001:"api.appIdCannotEmpty",102000002:"api.siteCannotEmpty",102000003:"api.parameterError",102000004:"api.appIsNotAvailable",102000005:"api.creatorIdCannotEmpty",102000006:"api.contentCannotEmpty",102000007:"api.nameCannotEmpty",102000008:"api.nameTooLong",102000009:"api.serialNumberCannotEmpty",102000010:"api.idCannotEmpty",102000011:"api.columnDoesNotExist",102000012:"api.duplicateName",102000013:"api.columnIsInUse",102000014:"api.sectionHasBeenRecommended",102000015:"api.recommendedSectionDoesNotExist",102000016:"api.titleCannotEmpty",102000017:"api.wrongTitleLength",102000018:"api.sectionCannotEmpty",102000019:"api.sectionNotFound",102000020:"api.subredditError",102000021:"api.wrongStartAndEndTime",102000022:"api.menuDoesNotExist",102000023:"api.linkAndDirectoryBothEmpty",102000024:"api.wordCannotEmpty",102000025:"api.generatePrimaryKeyError",102000026:"api.columnIsNotLeafNode",102000027:"api.hotWordTooLong",102000028:"api.hotWordRepetition",102000029:"api.hotWordInsertionError",102000030:"api.wordRepeat",102000031:"api.operatingTooFrequently",102000032:"api.contentLengthError",102000033:"api.subsectionIsInUse",102000034:"api.moderatorAlreadyExists",102000035:"api.currentPostAlreadyHasData",102000036:"api.threadIdCannotEmpty",102000037:"api.recommendedPostNotFound",102000038:"api.postNotFound",102000039:"api.parameterNameNotFound",102000040:"api.lockFailed",102000041:"api.repeatQuestionsAndAnswers",102000042:"api.duplicateOptions",102000043:"api.wrongPostType",102000044:"api.userIdCannotEmpty",102000045:"api.wrongVoteChoice",102000046:"api.qaIdCannotEmpty",102000047:"api.dataError",102000048:"api.wrongQuestionId",102000049:"api.alreadyVoted",102000050:"api.questionsNotSelected",102000051:"api.votesNotFound",102000052:"api.votingHasNotStarted",102000053:"api.votingHasNotEnded",102000054:"api.uidCannotEmpty",102000055:"api.duplicateCollection",102000056:"api.repeatOperation",102000057:"api.flagNotFound",102000058:"api.numberOfDraftsExceedsLimit",102000059:"api.recommendationTypeCannotEmpty",102000060:"api.operatingUserIdCannotEmpty",102000061:"api.permissionDenied",102000062:"api.postStatisticsNotFound",102000063:"api.serialNumberCannotEmpty",102000064:"api.filterCannotEmpty",102000065:"api.incrementCannotEmpty",102000066:"api.userIdOfLastReplyCannotEmpty",102000067:"api.timeOfLastReplyCannotEmpty",102000069:"api.subSectionsCannotDeleted",102000070:"api.postsCannotDeleted",102000071:"api.columnCannotEmpty",102000072:"api.sectionWithSameName",102000073:"api.maximumQueryWindow",102000074:"api.wrongStartOrEndDate",102000087:"api.contentNotReviewed",102000089:"api.textReviewFailed",102000090:"api.failedToAcquireLock",102000091:"api.postingFailed",102000092:"api.videoHasNotPassedReview",102000093:"api.timeCannotEmpty",102000110:"api.esQueryFailed",102000111:"api.esUpdateFailed",102000112:"api.labelError",102000115:"api.reservesExceedLimit",102000116:"api.queryKeywordCannotEmpty",102100001:"api.noPermission",102100002:"api.userHasLoggedOut",102100006:"api.atIsEmpty",102100007:"api.failedToObtainHonorAccountInformation",102100008:"api.userIsLoggingIn",102100009:"api.loginFailed",102100010:"api.loginProhibited",102100011:"api.reportIsBeingProcessed",102100012:"api.reportedNotification",102100013:"api.reportFalseNotifications",102100015:"api.sendPrivateMessagesTooFrequently",102100016:"api.privateMessageLengthIsTooLong",102100017:"api.nicknameContainsSensitiveWords",102100018:"api.cannotWearUnclaimedBadges",102100019:"api.wrongLengthOfBadgeWorn",102100020:"api.medalIsInvalid",102100021:"api.blacklistUsersAreProhibited",102100022:"api.privateMessagesCanOnlyContainImgTags",102100023:"api.domainNameIsIllegal",102120001:"api.formatOrValueError",102130001:"api.missingRequiredParameters",102140001:"api.queryIsEmpty",102150001:"api.internalError",102150002:"api.paginationError",102000095:"api.likeFrequentError",102000084:"api.addContentTagError",100100031:"api.noPermission",1020000167:"api.resourceNotExist",1020000180:"api.resourceIsExist",1020000171:"api.postIsNotExist",1020000181:"api.resourceSubItemToMax"},nl=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),mS=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),dr=e=>{const t=ve();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{nl(()=>e())}):nl(()=>e())},ZC=e=>e==="defer"||e===!1;function JC(...e){var p;const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);let[n,o,r={}]=e;if(typeof n!="string")throw new TypeError("[nuxt] [asyncData] key must be a string.");if(typeof o!="function")throw new TypeError("[nuxt] [asyncData] handler must be a function.");const a=ve(),i=o,s=()=>fn.value,l=()=>a.isHydrating?a.payload.data[n]:a.static.data[n];r.server=r.server??!0,r.default=r.default??s,r.getCachedData=r.getCachedData??l,r.lazy=r.lazy??!1,r.immediate=r.immediate??!0,r.deep=r.deep??fn.deep,r.dedupe=r.dedupe??"cancel";const c=r.getCachedData(n,a),u=c!=null;if(!a._asyncData[n]||!r.immediate){(p=a.payload._errors)[n]??(p[n]=fn.errorValue);const g=r.deep?M:gn;a._asyncData[n]={data:g(u?c:r.default()),pending:M(!u),error:ot(a.payload._errors,n),status:M("idle"),_default:r.default}}const d={...a._asyncData[n]};delete d._default,d.refresh=d.execute=(g={})=>{if(a._asyncDataPromises[n]){if(ZC(g.dedupe??r.dedupe))return a._asyncDataPromises[n];a._asyncDataPromises[n].cancelled=!0}if(g._initial||a.isHydrating&&g._initial!==!1){const w=g._initial?c:r.getCachedData(n,a);if(w!=null)return Promise.resolve(w)}d.pending.value=!0,d.status.value="pending";const v=new Promise((w,x)=>{try{w(i(a))}catch(S){x(S)}}).then(async w=>{if(v.cancelled)return a._asyncDataPromises[n];let x=w;r.transform&&(x=await r.transform(w)),r.pick&&(x=eP(x,r.pick)),a.payload.data[n]=x,d.data.value=x,d.error.value=fn.errorValue,d.status.value="success"}).catch(w=>{if(v.cancelled)return a._asyncDataPromises[n];d.error.value=Go(w),d.data.value=ae(r.default()),d.status.value="error"}).finally(()=>{v.cancelled||(d.pending.value=!1,delete a._asyncDataPromises[n])});return a._asyncDataPromises[n]=v,a._asyncDataPromises[n]},d.clear=()=>$u(a,n);const f=()=>d.refresh({_initial:!0}),h=r.server!==!1&&a.payload.serverRendered;{const g=Kn();if(g&&!g._nuxtOnBeforeMountCbs){g._nuxtOnBeforeMountCbs=[];const x=g._nuxtOnBeforeMountCbs;tn(()=>{x.forEach(S=>{S()}),x.splice(0,x.length)}),Zu(()=>x.splice(0,x.length))}h&&a.isHydrating&&(d.error.value||c!=null)?(d.pending.value=!1,d.status.value=d.error.value?"error":"success"):g&&(a.payload.serverRendered&&a.isHydrating||r.lazy)&&r.immediate?g._nuxtOnBeforeMountCbs.push(f):r.immediate&&f();const v=Gn();if(r.watch){const x=Be(r.watch,()=>d.refresh());v&&vn(x)}const w=a.hook("app:data:refresh",async x=>{(!x||x.includes(n))&&await d.refresh()});v&&vn(w)}const m=Promise.resolve(a._asyncDataPromises[n]).then(()=>d);return Object.assign(m,d),m}function QC(e){const t=ve(),n=Object.keys(t.payload.data),o=e?typeof e=="function"?n.filter(e):cp(e):n;for(const r of o)$u(t,r)}function $u(e,t){t in e.payload.data&&(e.payload.data[t]=void 0),t in e.payload._errors&&(e.payload._errors[t]=fn.errorValue),e._asyncData[t]&&(e._asyncData[t].data.value=void 0,e._asyncData[t].error.value=fn.errorValue,e._asyncData[t].pending.value=!1,e._asyncData[t].status.value="idle"),t in e._asyncDataPromises&&(e._asyncDataPromises[t]&&(e._asyncDataPromises[t].cancelled=!0),e._asyncDataPromises[t]=void 0)}function eP(e,t){const n={};for(const o of t)n[o]=e[o];return n}function tP(e,t,n){const[o={},r]=typeof t=="string"?[{},t]:[t,n],a=O(()=>Vt(e)),i=o.key||qf([r,typeof a.value=="string"?a.value:"",...nP(o)]);if(!i||typeof i!="string")throw new TypeError("[nuxt] [useFetch] key must be a string: "+i);if(!e)throw new Error("[nuxt] [useFetch] request is missing.");const s=i===r?"$f"+i:i;if(!o.baseURL&&typeof a.value=="string"&&a.value[0]==="/"&&a.value[1]==="/")throw new Error('[nuxt] [useFetch] the request URL must not start with "//".');const{server:l,lazy:c,default:u,transform:d,pick:f,watch:h,immediate:m,getCachedData:p,deep:g,dedupe:v,...w}=o,x=ut({...vf,...w,cache:typeof o.cache=="boolean"?void 0:o.cache}),S={server:l,lazy:c,default:u,transform:d,pick:f,immediate:m,getCachedData:p,deep:g,dedupe:v,watch:h===!1?[]:[x,a,...h||[]]};let C;return JC(s,()=>{var A;(A=C==null?void 0:C.abort)==null||A.call(C,"Request aborted as another request to the same endpoint was initiated."),C=typeof AbortController<"u"?new AbortController:{};const y=Vt(o.timeout);let P;return y&&(P=setTimeout(()=>C.abort("Request aborted due to timeout."),y),C.signal.onabort=()=>clearTimeout(P)),(o.$fetch||globalThis.$fetch)(a.value,{signal:C.signal,...x}).finally(()=>{clearTimeout(P)})},S)}function nP(e){var n;const t=[((n=Vt(e.method))==null?void 0:n.toUpperCase())||"GET",Vt(e.baseURL)];for(const o of[e.params||e.query]){const r=Vt(o);if(!r)continue;const a={};for(const[i,s]of Object.entries(r))a[Vt(i)]=Vt(s);t.push(a)}return t}const li={apiErrorCodeMap:{}};function oP(e){li.apiErrorCodeMap=e}oP(XC);const Ru=["100120002","100120006"],Mu=/^(https|http):\/\//,rP=async(e,t)=>{const n=ve(),o=Eu(),r=ku(),{prefix:a,url:i,params:s,body:l={},watch:c,transform:u,timeout:d=1e4,...f}=e;let h=Mu.test(i)?i:`${o}${a??r??""}${i}`;h=`${Tu(h,s??{})}`;const m=await tP(h,{...f,timeout:d,credentials:"include",watch:c,onRequest({options:p}){if(p.headers=new Headers,p.headers.set("appId",uc()??""),p.headers.get("Content-Type")||p.headers.set("Content-Type","application/json"),e.method==="POST"){let g={};Object.entries(l).forEach(([v,w])=>{wn(w)?g[v]=w.value:g[v]=w}),p.body={site:oa(),...g}}},transform(p){const g=u==null?void 0:u(p);return g?{...g,fetchedAt:new Date}:{...p,fetchedAt:new Date}},getCachedData(p){if(e.needCache){const g=n.payload.data[p]||n.static.data[p];if(!g)return;const v=new Date(g.fetchedAt);if(v.setTime(v.getTime()+5*1e3),v.getTime()<Date.now()){QC(p);return}return g}else return},onResponse({response:p,options:g}){var v,w,x,S,C,_,y,P,E,A,B,N;if(p.ok&&p.status===200)if(((v=p._data)==null?void 0:v.resultCode)==="200"||((w=p._data)==null?void 0:w.resultCode)==="1"||((x=p._data)==null?void 0:x.responseCode)==="200"||((S=p._data)==null?void 0:S.code)==="200"||!((C=p._data)!=null&&C.resultCode))p._data=p._data.data||p._data;else if(h.includes("/forum/resource/position")&&((_=p._data)==null?void 0:_.resultCode)==="0")p._data=p._data.data||p._data;else{const q=((y=p._data)==null?void 0:y.resultCode)||((P=p._data)==null?void 0:P.responseCode)||((E=p._data)==null?void 0:E.code)||"",ee=((A=p._data)==null?void 0:A.resultMsg)||((B=p._data)==null?void 0:B.message)||((N=p._data)==null?void 0:N.responseDesc)||"";if(Ru.includes(q)){to().reLogin();return}return Promise.reject(new si(q,li.apiErrorCodeMap[q]||ee,{method:g.method,url:h,body:g.body,response:p}))}},onResponseError({response:p,options:g,error:v}){return Promise.reject(new ii(p.status,v==null?void 0:v.message,{method:g.method,url:h,body:g.body,response:p}))}},"$FazvwZpU7I");return{...m,data:m.data}},Ye=async(e,t)=>{const n=Eu(),o=ku(),{prefix:r,url:a,params:i,body:s={},responseDataKey:l,keepalive:c,...u}=e;let d=Mu.test(a)?a:`${n}${r??o??""}${a}`;d=`${Tu(d,i??{})}`;try{return{data:await $fetch(d,{...u,keepalive:c,credentials:"include",onRequest({options:h}){h.headers=new Headers({...h.headers}),h.headers.set("appId",uc()??""),e.method==="POST"&&(s instanceof FormData?(s.append("site",oa()),h.body=s):h.body={site:oa(),...s})},onResponse({response:h,options:m}){var p,g,v,w,x,S,C,_,y,P,E,A,B;if(h.ok&&h.status===200)if(((p=h._data)==null?void 0:p.resultCode)==="200"||((g=h._data)==null?void 0:g.resultCode)==="0"||((v=h._data)==null?void 0:v.resultCode)==="1"||((w=h._data)==null?void 0:w.responseCode)==="200"||((x=h._data)==null?void 0:x.code)==="200"||!((S=h._data)!=null&&S.resultCode))l?l==="all"?h._data=h._data:h._data=h._data[l]||h._data:h._data=((C=h._data)==null?void 0:C.data)||h._data;else{const N=((_=h._data)==null?void 0:_.resultCode)||((y=h._data)==null?void 0:y.responseCode)||((P=h._data)==null?void 0:P.code)||"",q=((E=h._data)==null?void 0:E.resultMsg)||((A=h._data)==null?void 0:A.message)||((B=h._data)==null?void 0:B.responseDesc)||"";if(Ru.includes(N)){to().reLogin();return}return Promise.reject(new si(N,(t==null?void 0:t[N])||li.apiErrorCodeMap[N]||q,{method:m.method,url:d,body:m.body,response:h}))}},onResponseError({response:h,options:m,error:p}){return Promise.reject(new ii(h.status,p==null?void 0:p.message,{method:m.method,url:d,body:m.body,response:h}))}})}}catch(f){return aP(f,e)}};function aP(e,t){if(e instanceof si)throw e;return Promise.reject(new ii(e==null?void 0:e.code,e==null?void 0:e.message,t))}const pa="ACCESS_TOKEN",ga="REFRESH_TOKEN",ol="USER_INFO",pS="COOKIE_SETTING",rl="IS_SIGNED",al="UNREADMSGCOUNT",iP="community-web",sP="1.0.0",lP="module",cP={"build:dev":"cross-env BUILD_INFO_VERSION=$npm_config_time nuxt build --dotenv .env.dev","build:sit":"cross-env BUILD_INFO_VERSION=$npm_config_time nuxt build --dotenv .env.sit","build:uat":"cross-env BUILD_INFO_VERSION=$npm_config_time nuxt build --dotenv .env.uat","build:prod":"cross-env BUILD_INFO_VERSION=$npm_config_time nuxt build --dotenv .env.prod","build:beta":"cross-env BUILD_INFO_VERSION=$npm_config_time nuxt build --dotenv .env.beta","dev:dev":"nuxt dev --dotenv .env.dev","dev:sit":"nuxt dev --dotenv .env.sit","dev:uat":"nuxt dev --dotenv .env.uat",generate:"nuxt generate",preview:"nuxt preview",analyze:"nuxi analyze",coverage:"vitest run --coverage","ts-check":"vue-tsc --noEmit",postinstall:"nuxt prepare"},uP={"@css-render/vue3-ssr":"^0.15.14","@intlify/unplugin-vue-i18n":"^4.0.0","@nuxt/devtools":"latest","@nuxt/test-utils":"^3.14.2","@nuxtjs/fontaine":"^0.4.3","@types/fs-extra":"^11.0.4","@types/lodash-es":"^4.17.12","@typescript-eslint/eslint-plugin":"^6.15.0","@typescript-eslint/parser":"^6.15.0","@vicons/ionicons5":"^0.12.0","@vitejs/plugin-vue":"^5.1.4","@vitejs/plugin-vue-jsx":"^4.0.1","@vitest/coverage-v8":"^2.1.1","@vue/test-utils":"^2.4.6","@vueuse/core":"^11.1.0","@vueuse/nuxt":"^11.1.0",compressing:"^1.10.1","cross-env":"^7.0.3",eslint:"^8.56.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.0","eslint-plugin-vue":"^9.19.2","fs-extra":"^11.2.0","happy-dom":"^15.7.4","naive-ui":"^2.40.1",nuxt:"^3.13.2",prettier:"^3.1.1",sass:"^1.69.5",typescript:"^5.3.3","unplugin-auto-import":"^0.18.3","unplugin-vue-components":"^0.27.4","vite-plugin-chunk-split":"^0.5.0",vitest:"^2.1.1",vue:"^3.5.9","vue-i18n":"^9.14.1","vue-router":"^4.4.5","vue-router-mock":"^1.1.0","vue-tsc":"^2.1.6"},dP={"@pinia/nuxt":"^0.5.4",dayjs:"^1.11.11","lodash-es":"^4.17.21",mammoth:"^1.7.2",pinia:"^2.2.2","query-string":"^8.1.0","vod-js-sdk-v6":"1.5.0",vuedraggable:"^4.1.0"},fP={braces:"3.0.3",ws:"8.18.0"},hP={name:iP,version:sP,private:!0,type:lP,scripts:cP,devDependencies:uP,dependencies:dP,overrides:fP},Ou=e=>`__${Ct().public.appName}_${Lo()}_${hP.version}_${e}__`,qt=e=>{try{const t=Ou(e),n=localStorage.getItem(t);return n?JSON.parse(n):null}catch{return null}return null},En=(e,t)=>{try{const n=Ou(e);localStorage.setItem(n,JSON.stringify(t))}catch{}};async function mP(e){return Ye({method:"POST",url:"/user/login",body:e})}async function pP(){return Ye({method:"POST",url:"/user/getTokenInfo",body:{accessToken:qt(pa)||""}})}async function gP(){return Ye({method:"POST",url:"/user/refresh/token",body:{refreshToken:qt(ga)||""}})}async function Dr(e){var n,o;return((o=(n=(await Ye({method:"POST",url:"/forum/system-config",body:e})).data)==null?void 0:n.configVos)==null?void 0:o.reduce((r,a)=>a.configName?{...r,[a.configName]:a.configValue}:r,{}))??{}}async function vP(e){return await Ye({method:"POST",url:"/user/userinfo",body:e})}async function yP(e){return await Ye({method:"POST",url:"/user/issigned",body:e,responseDataKey:"all"})}async function gS(e){return await rP({method:"POST",url:"/user/userpact/update",body:e})}async function vS(e){return await Ye({method:"POST",url:"/forum/picture/upload",body:e})}async function yS(e){return await Ye({method:"POST",url:"/user/getInteractionUsers",body:e})}async function bS(e){return await Ye({method:"POST",url:"/forum/vod/getsign",body:e})}async function bP(e){return await Ye({method:"POST",url:"/user/unreadmsgcount",body:e})}async function wP(e){return await Ye({method:"GET",url:Su()+"/portal/home/accountUrls",query:{redirect_uri:e}})}const xP="https://hnoauth-login-drcn.cloud.honor.com/connect/v2/logout",CP="https://hnoauth-login-dra.cloud.honor.com/connect/v2/logout",PP="https://hnoauth-login-dre.cloud.honor.com/connect/v2/logout",SP="https://hnoauth-login-drru.cloud.hihonor.com/connect/v2/logout",_P="https://hnoauth-login-test-drcn.cloud.honor.com/connect/v2/logout",Ir="https://hnoauth-login-test-dra.cloud.honor.com/connect/v2/logout";function il(e,t){let n="";Ho()&&(n=nt()?xP:_P),za()&&(n=nt()?CP:Ir),La()&&(n=nt()?PP:Ir),Ha()&&(n=nt()?SP:Ir),location.href=`${n}?response_type=token&next=${encodeURIComponent(t)}&access_token=${encodeURIComponent(e??"")}`}const TP="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASAAAAEgCAMAAAAjXV6yAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAABvUExURUxpcdDQ0NDQ0JycnKKiosfHx9DQ0M7OztDQ0NDQ0JOTk2ZmZp6enoCAgJubm52dnYWFhW9vb8jIyMfHx2ZmZsfHx4CAgIGBgY2NjcjIyGdnZ2ZmZoCAgGZmZq2trWZmZtDQ0ICAgMfHx6CgoJmZmSpwBywAAAAfdFJOUwCawIED8thC8SJWstS26bUQkJq959nRJztsRczzPrT0LZ49AAAFSUlEQVR42u3diXqqOhSG4d0CdQDEAa12eCjo/V/jsbv7WEEgGBMeVvjeG9D+zbgS5M8fAAAAAAAAAAAAAACcMnl6mU5fniYkUWv2/PXP84w0aprP9OtiSiO6bT9X+ZwTog1VPX+VPJNIpYN9VdDJyp6qAT2RSclLNaAXMimZVgOakgkB0cUYpJnmWSiy1Rhup1lvg2C77txVtDerMosks03xz6ZrY9ArdwgtkkyC4iKYWGwLQosks6t8zgnZ+9dKHbk2RcmGua/S7osKW21f6uppXQ1ozfq7ZFsNaMsOriSoBhRQAyAguhiDNNM8C0UxRRK2GnY2qzofJPVEX6PcoflBYu+E3Fsw0/8gbhUBAAAAAAAAkKu3Wqrhr91TZba3arzhr91Xbb+38xzDX7uv06HeTgQNf+3ezhd7O1M2q7cT6t5uJRj+2r3dcejtXotZ/d2S6e1mlFn93bPq7W6dWf3d1CMguhiDtNVBmmmehSJbDctXGdmsUu54/L9BwQwAAAAAAAAAAAAAAACCvHpJtDguosR7JYwb/jw6/ormPpGUlOL5iYhQrpqPd7zl0Yj+t0yOdZIl0fy0n/p8zgnRhv7yjk08+X+cgTud82Mz6SO1iVvBftQSUCS7kxm5V97WgIQ3ITNPJkStAUWSAzLybMvrsZ3gXYeZp6M8RUCCJzIzz9clioASuQGZeUIzUgQkeBAy84zvQhHQYuwBHVXG3sUcbkFmBmmHxyAz07zDs5iZhaLD6yAzWw2HV9KGNqsO78XMlDsc3s2bKZi5XA8yw+WKohlO16RN4FRDhXMxZRviZFU5UnM2r2pE3O5Q7zq4HwQAAAAAADBi/tsqfE+z9D1cvVE9u/EZptmvNPwkkmuvYVYVUmX87VyrrM6KjvZjGWb1wiXhfHevNGuS0s3O7ac5n3NCtCE/zNqEox+HVlm71dgHoExl8MOQ3fdqhMqAwmHHY/nNLJ+Z2qDX1Lbf7RN2CGjITcj226H8tENA6YAnMtvvF3vLungbbgez/Ya6VaeAhjvTW3/HYdgpoOEOQtbfkvneKaD3wQZk/T2raaeA0vEGlHUz3i4mvQVZH6Slj0HWp3nps5j1haL0dZD1rYb0lbT1zar4vZj1cof03bz1gpn4epB14iuKtjlQk7aMUw3VRMa5mAInq8phiLN5VRvidodqHOJ+kLKbccNMuabmjqKyo3HLFcDwF03zON59fOzieM4q6dY8zq/E/B5K2X6XV+z2pHK13s5rsNy+DD5xXitmKPrJZ5c32JHQd/+K80axnV42O2y2QbDdHGYSAlrlLWyUZWfr4mI9/Ij2eSvzc9kkKK4Ek6EHtGsPaGf68w5FxWHg68NcwfCKcVLcGHYbilUBxWbHn+A2oGDI49AyVzI61a+LGmvJPcxsH5sVtWaCe5jZPnaoD+jgckD+/vs3Lb9/0nKvXlVu6gPaiJ3klRO97y1OFwvlb+pu6wPaDjegD3VAH21D2FU8fyNSDFhBfUCBqwF5pxueYwE91MWSU43ErS72yCDtnWp5Tg3SDwQ0PzWYuzTN6y8U/UVTQAvfoYWi/lbDOzXyHNpqaG9WmxtQexOStlnVLnfsTy32DpU7dAtmXltAnkMFM92Sa9IWUOJSyVWzaB+1BdT+JjNhRXvNY59FW0Cq13HKOvbROzh8KCBpdI6eH+hiAmlcXtAfpGW6+/qL9jQv1p0XqHQXiqKHonuu4GluNUbEG1kPu39gX9CAFIOWRsGMTkYHU66FEnJpbUO0n/I4dOfB4QjnsvuOnkcZ0T2XFwAAAAAAAAAAAAAAGL7/AD1k6jVmMucAAAAAAElFTkSuQmCC",kP=X({name:"Spin",props:{tip:{type:String},size:{type:[String,Number]},absolute:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},background:{type:String},hiddenTip:{type:Boolean}},setup(e){return()=>{const t=e.tip??"Loading",n=e.size?typeof e.size=="number"?`${e.size}px`:e.size:"";return Ln(tt("section",{class:"full",style:[e.background?`background-color: ${e.background}`:"",e.absolute?"position: absolute":""]},[tt("div",{class:"content"},[tt("img",{class:"loading",src:TP,style:[n?`width: ${n}`:"",n?`height: ${n}`:""]},null),!e.hiddenTip&&tt("span",null,[t])])]),[[$o,e.loading]])}}}),Au=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n},EP=Au(kP,[["__scopeId","data-v-df6863f6"]]);function Du(e,t){let n=null;const o=ut({loading:!0,...e}),r=X({render(){return b(EP,o)}});n=tt(r),Ju(n,document.createElement("div"));function a(){n!=null&&n.el&&n.el.parentNode&&n.el.parentNode.removeChild(n.el)}function i(s=document.body){!n||!n.el||s.appendChild(n.el)}return t&&i(t),{vm:n,close:a,open:i,setTip:s=>{o.tip=s},setLoading:s=>{o.loading=s},get loading(){return o.loading},get $el(){return n==null?void 0:n.el}}}function Iu(e){let t,n=document.body;if(Reflect.has(e,"target")||Reflect.has(e,"props")){const s=e;t=s.props||{},n=s.target||document.body}else t=e;const o=Du(t,void 0);return[()=>{const s=ae(n);s&&o.open(s)},()=>{o.close()},s=>{o.setTip(s)}]}const $P={mounted(e,t){const n=e.getAttribute("loading-tip"),o=e.getAttribute("loading-background"),r=e.getAttribute("loading-size"),a=!!t.modifiers.fullscreen,i=!!t.modifiers.hiddenTip,s=Du({tip:n,background:o,size:r,loading:!!t.value,absolute:!a,hiddenTip:i},a?document.body:e);e.instance=s},updated(e,t){var o;const n=e.instance;n&&(n.setTip(e.getAttribute("loading-tip")),t.oldValue!==t.value&&t.oldValue!==t.value&&((o=n.setLoading)==null||o.call(n,t.value&&!n.loading)))},unmounted(e){var t;(t=e==null?void 0:e.instance)==null||t.close()}};function RP(e){var n;const t={[le.developer]:MP,[le.developerOwn]:sl,[le.game]:sl};(n=t[e])==null||n.call(t)}async function MP(){const[e,t]=Iu({});try{e();const{resetState:n}=to(),r=`${on().origin}${zt()}`,{data:a}=await wP(r);a!=null&&a.logoutUrl&&(n(),oh(a.logoutUrl,{replace:!0,external:!0}))}catch(n){const{t:o}=cr();ur({type:"error",content:o(n&&n.message)||n&&n.message||o("api.baseError")})}finally{t()}}async function sl(){const[e,t]=Iu({}),{resetState:n,getAccessToken:o}=to(),a=`${on().origin}${zt()}`;try{e(),await pP(),n(),il(o??"",a)}catch{try{const i=await gP();n(),il(i.data.accessToken,a)}catch{n()}}finally{t()}}const fr=kp({id:"app-store",state:()=>({isLogin:!1,accessToken:"",refreshToken:"",userInfo:null,lastUpdateTime:0,loading:!1,isWap:!1,screenWidth:void 0,isArabic:!1,systemConfig:{},issigned:null,unreadmsgcount:null}),getters:{getAccessToken(){const e=gt("accessToken");return this.accessToken||qt(pa)||e.value},getRefreshToken(){return this.refreshToken||qt(ga)},getUserInfo(){const e=qt(ol);return!this.getLoginStatus&&e?null:this.userInfo??e},getLoginStatus(){const e=gt(`${ze()}_${Me()}_islogged`);return this.isLogin||!!e.value},getIssigned(){const e=qt(rl);return this.issigned??e},getUnreadmsgcount(){const e=qt(al);return this.unreadmsgcount??e}},actions:{setIsWap(e){this.isWap=e},setScreenWidth(e){this.screenWidth=e},setIsArabic(e){this.isArabic=e},setLoginStatus(e){this.isLogin=e;const t=gt(`${ze()}_${Me()}_islogged`);t.value=e.toString()},setLastUpdateTime(){this.lastUpdateTime=new Date().getTime()},setAccessToken(e){this.accessToken=e,En(pa,e);const t=gt("accessToken");t.value=e},setRefreshToken(e){this.refreshToken=e,En(ga,e)},setLoading(e){this.loading=e},setUserInfo(e){e?this.userInfo={...this.getUserInfo,...e}:this.userInfo=null,En(ol,this.userInfo??"")},setSystemConfig(e){this.systemConfig=e},setIssigned(e){e?this.issigned={...this.getIssigned,...e}:this.issigned=null,En(rl,this.issigned??"")},setUnreadmsgcount(e){e?this.unreadmsgcount={...this.getUnreadmsgcount,...e}:this.unreadmsgcount=null,En(al,this.unreadmsgcount??{})},async login(e){try{const{goHome:t,...n}=e;this.setLoading(!0);const o=await mP(n),{accessToken:r,refreshToken:a}=o.data;if(!r)throw new Error("sys.api.loginFail");return this.setUserInfo({userNameEdit:o.data.userNameEdit,userId:o.data.userInfo.userId}),this.setLoginStatus(!0),await this.getUserInfoAction(),this.setAccessToken(r),this.setRefreshToken(a),await this.afterLoginAction(t)}catch(t){return Promise.reject(t)}finally{this.setLoading(!1)}},async getUserInfoAction(){var e,t,n;try{const o=ze();let r;o===le.developer&&(r=gt(`${Me()}_userId`));const a=await vP({loginUserId:((e=this.getUserInfo)==null?void 0:e.userId)??(r==null?void 0:r.value)??"",userId:((t=this.getUserInfo)==null?void 0:t.userId)??(r==null?void 0:r.value)??""});this.setUserInfo({...a.data,userId:(n=a.data.user)==null?void 0:n.userId}),await this.getIssignedApi(),await this.getUnreadmsgcountApi(),this.setLastUpdateTime(),o===le.developer&&qC({userAction:"登录成功",url:"/cn/forum/",moduleName:"社区",submoduleName:"",moduleType:"1004",pageTypeId:Date.now(),userStayTime:"-1"})}catch(o){return Promise.reject(o)}},async getIssignedApi(){var e;try{const t=await yP({loginUserId:((e=this.getUserInfo)==null?void 0:e.userId)??"",protOwner:"0"});this.setIssigned({...t.data})}catch(t){return Promise.reject(t)}},async getUnreadmsgcountApi(){var e;try{const t=await bP({loginUserId:((e=this.getUserInfo)==null?void 0:e.userId)??""});this.setUnreadmsgcount(t.data)}catch(t){return Promise.reject(t)}},async afterLoginAction(e){const t=Le(),{query:n}=ae(t.currentRoute.value);e?await t.replace(zt()):n.redirect?await t.replace(decodeURIComponent(n.redirect.toString())):await t.replace(zt())},resetState(){this.isLogin=!1,this.setAccessToken(""),this.setRefreshToken(""),this.setUserInfo(null),this.setLoginStatus(!1),this.setIssigned(null),this.lastUpdateTime=0;const e=gt(`${ze()}_${Me()}_islogged`);e.value="";const t=gt(`${Me()}_userId`);t.value=""},async logout(e){e?RP(ze()):this.resetState()},reLogin(){this.resetState(),Cu()}}});function to(){const e=ve();return fr(e.$pinia)}const OP=async(e,t)=>{let n,o;{const{lastUpdateTime:r,getUserInfoAction:a,logout:i}=to(),l=!!gt(`${ze()}_${Me()}_islogged`).value;if(e.path===So())return;if(!l&&e.meta.auth){Cu();return}if(r===0&&l)try{[n,o]=Zt(()=>a()),await n,o()}catch(c){const{t:u}=cr();ur({type:"error",content:(c==null?void 0:c.message)||u("api.baseError")}),i();return}}},AP=async(e,t)=>{const{title:n=""}=e.meta??{},o=ze(),{t:r}=cr();let a=r("app.title");switch(o){case le.game:a=r("app.gameTitle");break;case le.developer:a=r("app.developerTitle");case le.developerOwn:a=r("app.developerTitle");break;default:a=r("app.title");break}Gh({title:n?`${a} - ${r(n)}`:`${a}`})},DP=async e=>{let t,n;const o=([t,n]=Zt(()=>Ia(e.path)),t=await t,n(),t);if(o.redirect)return nn(o.redirect,{acceptRelative:!0})?(window.location.href=o.redirect,!1):o.redirect},IP=[bp,OP,AP,DP],zn={};function zP(e,t,n){const{pathname:o,search:r,hash:a}=t,i=e.indexOf("#");if(i>-1){const c=a.includes(e.slice(i))?e.slice(i).length:1;let u=a.slice(c);return u[0]!=="/"&&(u="/"+u),pi(u,"")}const s=pi(o,e),l=!n||zd(s,n,{trailingSlash:!0})?s:n;return l+(l.includes("?")?"":r)+a}const LP=ke({name:"nuxt:router",enforce:"pre",async setup(e){var g;let t,n,o=Ct().app.baseURL;Ue.hashMode&&!o.includes("#")&&(o+="#");const r=((g=Ue.history)==null?void 0:g.call(Ue,o))??(Ue.hashMode?Tm(o):oc(o)),a=Ue.routes?([t,n]=Zt(()=>Ue.routes(Sr)),t=await t,n(),t??Sr):Sr;let i;const s=Ym({...Ue,scrollBehavior:(v,w,x)=>{if(w===Je){i=x;return}if(Ue.scrollBehavior){if(s.options.scrollBehavior=Ue.scrollBehavior,"scrollRestoration"in window.history){const S=s.beforeEach(()=>{S(),window.history.scrollRestoration="manual"})}return Ue.scrollBehavior(v,Je,i||x)}},history:r,routes:a});"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(s);const l=gn(s.currentRoute.value);s.afterEach((v,w)=>{l.value=w}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>l.value});const c=zP(o,window.location,e.payload.path),u=gn(s.currentRoute.value),d=()=>{u.value=s.currentRoute.value};e.hook("page:finish",d),s.afterEach((v,w)=>{var x,S,C,_;((S=(x=v.matched[0])==null?void 0:x.components)==null?void 0:S.default)===((_=(C=w.matched[0])==null?void 0:C.components)==null?void 0:_.default)&&d()});const f={};for(const v in u.value)Object.defineProperty(f,v,{get:()=>u.value[v],enumerable:!0});e._route=Gt(f),e._middleware=e._middleware||{global:[],named:{}};const h=qo();s.afterEach(async(v,w,x)=>{delete e._processingMiddleware,!e.isHydrating&&h.value&&await e.runWithContext(ah),x&&await e.callHook("page:loading:end"),v.matched.length===0&&await e.runWithContext(()=>mn(Ur({statusCode:404,fatal:!1,statusMessage:`Page not found: ${v.fullPath}`,data:{path:v.fullPath}})))});try{[t,n]=Zt(()=>s.isReady()),await t,n()}catch(v){[t,n]=Zt(()=>e.runWithContext(()=>mn(v))),await t,n()}const m=c!==s.currentRoute.value.fullPath?s.resolve(c):s.currentRoute.value;d();const p=e.payload.state._layout;return s.beforeEach(async(v,w)=>{var x;await e.callHook("page:loading:start"),v.meta=ut(v.meta),e.isHydrating&&p&&!Qu(v.meta.layout)&&(v.meta.layout=p),e._processingMiddleware=!0;{const S=new Set([...IP,...e._middleware.global]);for(const C of v.matched){const _=C.meta.middleware;if(_)for(const y of Da(_))S.add(y)}{const C=await e.runWithContext(()=>Ia(v.path));if(C.appMiddleware)for(const _ in C.appMiddleware)C.appMiddleware[_]?S.add(_):S.delete(_)}for(const C of S){const _=typeof C=="string"?e._middleware.named[C]||await((x=zn[C])==null?void 0:x.call(zn).then(P=>P.default||P)):C;if(!_)throw new Error(`Unknown route middleware: '${C}'.`);const y=await e.runWithContext(()=>_(v,w));if(!e.payload.serverRendered&&e.isHydrating&&(y===!1||y instanceof Error)){const P=y||Ur({statusCode:404,statusMessage:`Page Not Found: ${c}`});return await e.runWithContext(()=>mn(P)),!1}if(y!==!0&&(y||y===!1))return y}}}),s.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")}),e.hooks.hookOnce("app:created",async()=>{try{"name"in m&&(m.name=void 0),await s.replace({...m,force:!0}),s.options.scrollBehavior=Ue.scrollBehavior}catch(v){await e.runWithContext(()=>mn(v))}}),{provide:{router:s}}}});async function ll(e,t={}){const n=await FP(e,t),o=ve(),r=o._payloadCache=o._payloadCache||{};return n in r||(r[n]=zu(e).then(a=>a?NP(n).then(i=>i||(delete r[n],null)):(r[n]=null,null))),r[n]}const HP="_payload.js";async function FP(e,t={}){const n=new URL(e,"http://localhost");if(n.host!=="localhost"||nn(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const o=Ct(),r=t.hash||(t.fresh?Date.now():o.app.buildId),a=o.app.cdnURL,i=a&&await zu(e)?a:o.app.baseURL;return ka(i,n.pathname,HP+(r?`?${r}`:""))}async function NP(e){const t=import(e).then(n=>n.default||n);try{return await t}catch{}return null}async function zu(e=Uo().path){if(e=Ta(e),(await Xo()).prerendered.includes(e))return!0;const n=await Ia(e);return!!n.prerender&&!n.redirect}function BP(e={}){const t=e.path||window.location.pathname;let n={};try{n=Sa(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||(n==null?void 0:n.path)!==t||(n==null?void 0:n.expires)<Date.now()){try{sessionStorage.setItem("nuxt:reload",JSON.stringify({path:t,expires:Date.now()+(e.ttl??1e4)}))}catch{}if(e.persistState)try{sessionStorage.setItem("nuxt:reload:state",JSON.stringify({state:ve().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const jP=ke({name:"naive-ui",enforce:"pre",setup(e){}}),WP=ke({name:"nuxt:payload",setup(e){Le().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const o=await ll(t.path);o&&Object.assign(e.static.data,o.data)}),dr(()=>{var t;e.hooks.hook("link:prefetch",async n=>{const{hostname:o}=new URL(n,window.location.href);o===window.location.hostname&&await ll(n)}),((t=navigator.connection)==null?void 0:t.effectiveType)!=="slow-2g"&&setTimeout(Xo,1e3)})}}),VP=ke(()=>{const e=Le();dr(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),UP=ke(e=>{let t;async function n(){const o=await Xo();t&&clearTimeout(t),t=setTimeout(n,wi);try{const r=await $fetch(Ea("builds/latest.json")+`?${Date.now()}`);r.id!==o.id&&e.hooks.callHook("app:manifest:update",r)}catch{}}dr(()=>{t=setTimeout(n,wi)})}),qP=ke({name:"nuxt:chunk-reload",setup(e){const t=Le(),n=Ct(),o=new Set;t.beforeEach(()=>{o.clear()}),e.hook("app:chunkError",({error:a})=>{o.add(a)});function r(a){const s="href"in a&&a.href[0]==="#"?n.app.baseURL+a.href:ka(n.app.baseURL,a.fullPath);BP({path:s,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(r)}),t.onError((a,i)=>{o.has(a)&&r(i)})}}),GP=ke({name:"pinia",setup(e){const t=xp();return e.vueApp.use(t),Zn(t),e.payload&&e.payload.pinia&&(t.state.value=e.payload.pinia),{provide:{pinia:t}}}}),KP=ke({name:"nuxt:global-components"}),Dt={default:()=>D(()=>import("./BtBkG6hp.js"),__vite__mapDeps([173,1,2,3,18,23,9,10,24,22,25,26,27,28,29,30,31,6,32,33,5,34,35,36,37,38,60,61,169,118,81,56,57,79,78,52,174]),import.meta.url)},YP=ke({name:"nuxt:prefetch",setup(e){const t=Le();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{var r;const o=(r=n==null?void 0:n.meta)==null?void 0:r.layout;o&&typeof Dt[o]=="function"&&await Dt[o]()})}),e.hooks.hook("link:prefetch",n=>{if(nn(n))return;const o=t.resolve(n);if(!o)return;const r=o.meta.layout;let a=Da(o.meta.middleware);a=a.filter(i=>typeof i=="string");for(const i of a)typeof zn[i]=="function"&&zn[i]();r&&typeof Dt[r]=="function"&&Dt[r]()})}}),XP=ke(e=>{e.vueApp.config.errorHandler=(t,n,o)=>{},e.hook("vue:error",(t,n,o)=>{})});function va(e){return typeof e=="function"?e():ae(e)}typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Wo=()=>{};function Lu(e,t){function n(...o){return new Promise((r,a)=>{Promise.resolve(e(()=>t.apply(this,o),{fn:t,thisArg:this,args:o})).then(r).catch(a)})}return n}function ZP(e,t={}){let n,o,r=Wo;const a=s=>{clearTimeout(s),r(),r=Wo};return s=>{const l=va(e),c=va(t.maxWait);return n&&a(n),l<=0||c!==void 0&&c<=0?(o&&(a(o),o=null),Promise.resolve(s())):new Promise((u,d)=>{r=t.rejectOnCancel?d:u,c&&!o&&(o=setTimeout(()=>{n&&a(n),o=null,u(s())},c)),n=setTimeout(()=>{o&&a(o),o=null,u(s())},l)})}}function JP(...e){let t=0,n,o=!0,r=Wo,a,i,s,l,c;!wn(e[0])&&typeof e[0]=="object"?{delay:i,trailing:s=!0,leading:l=!0,rejectOnCancel:c=!1}=e[0]:[i,s=!0,l=!0,c=!1]=e;const u=()=>{n&&(clearTimeout(n),n=void 0,r(),r=Wo)};return f=>{const h=va(i),m=Date.now()-t,p=()=>a=f();return u(),h<=0?(t=Date.now(),p()):(m>h&&(l||!o)?(t=Date.now(),p()):s&&(a=new Promise((g,v)=>{r=c?v:g,n=setTimeout(()=>{t=Date.now(),o=!0,g(p()),u()},Math.max(0,h-m))})),!l&&!n&&(n=setTimeout(()=>o=!0,h)),o=!1,a)}}function QP(e,t=200,n={}){return Lu(ZP(t,n),e)}function e2(e,t=200,n=!1,o=!0,r=!1){return Lu(JP(t,n,o,r),e)}function t2({el:e=window,name:t,listener:n,options:o,autoRemove:r=!0,isDebounce:a=!0,wait:i=80}){let s=()=>{};const l=M(!1);if(e){const c=M(e),u=a?QP(n,i):e2(n,i),d=i?u:n,f=p=>{l.value=!0,p.removeEventListener(t,d,o)},h=p=>p.addEventListener(t,d,o),m=Be(c,(p,g,v)=>{p&&(!ae(l)&&h(p),v(()=>{r&&f(p)}))},{immediate:!0});s=()=>{f(c.value),m()}}return{removeEvent:s}}function n2(){const e=fr();function t(){const n=document.body.clientWidth;e.setScreenWidth(n),n<768||n<992?e.setIsWap(!0):e.setIsWap(!1)}t(),t2({el:window,name:"resize",listener:()=>{t()},wait:400})}const o2=ke(e=>{const t=Me(),n=hp(t);Ma({htmlAttrs:{dir:n?"rtl":"ltr",class:n?"arabic":""}}),e.hook("app:beforeMount",o=>{n2()})}),r2=ke(async e=>{let t,n;if(Me()in pt)try{const o=fr(),r=([t,n]=Zt(()=>Dr==null?void 0:Dr({configNames:["day_of_mourning"]})),t=await t,n(),t??[]);o.setSystemConfig(r)}catch{}}),a2=ke(e=>{e.hook("app:beforeMount",()=>{if(ze()===le.developer){const n="253121446",o="732389de",r="535877f5",a=[],i=document.createElement("div");i.id="app-header",document.body.insertBefore(i,document.body.firstChild);const s=document.createElement("div");s.id="app-footer",document.body.append(s);const l=document.createElement("div");l.id="app-cookie",document.body.append(l);const c=["config",...a.map(f=>`chunk-${f}.${n}`),`chunk-common.${n}`,`chunk-vendors.${n}`,`header.${n}`,`footer.${n}`,`cookie.${n}`];for(let f=0;f<c.length;f++){const h=c[f],m=document.createElement("script");m.src=`/libs/developerComponent/static/js/${h}.js`,m.dataset.type="developer-js",document.body.append(m)}const u=document.createElement("style");u.innerHTML=` @font-face { font-family: "element-icons"; src: url("/libs/developerComponent/static/font/element-icons.${o}.ttf") format('truetype'), url("/libs/developerComponent/static/font/element-icons.${r}.woff") format('woff'); font-display: swap; } `,u.dataset.type="developer-style",document.head.append(u);const d=[...a.map(f=>`chunk-${f}.${n}`),`chunk-common.${n}`,`chunk-vendors.${n}`,`header.${n}`,`footer.${n}`,`cookie.${n}`];for(let f=0;f<d.length;f++){const h=d[f],m=document.createElement("link");m.href=`/libs/developerComponent/static/css/${h}.css`,m.rel="stylesheet",m.dataset.type="developer-style",document.head.append(m)}}})}),i2=ke(e=>{e.hook("app:beforeMount",t=>{var o;const n={[le.developer]:s2,default:()=>{}};(o=n[ze()??"default"])==null||o.call(n)})}),s2=()=>{const e=document.createElement("script");e.type="text/javascript",e.src="/libs/publicJs/getsign183746.min.js",document.getElementsByTagName("head")[0].appendChild(e)},l2=ke(e=>{e.vueApp.directive("loading",$P)}),c2=ke(()=>{dr(async()=>{})}),u2=[Yh,LP,jP,WP,VP,UP,qP,GP,KP,YP,XP,o2,r2,a2,i2,l2,c2,IC],d2=X({props:{vnode:{type:Object,required:!0},route:{type:Object,required:!0},vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(e){const t=e.renderKey,n=e.route,o={};for(const r in e.route)Object.defineProperty(o,r,{get:()=>t===e.renderKey?e.route[r]:n[r],enumerable:!0});return ue(Xn,Gt(o)),()=>b(e.vnode,{ref:e.vnodeRef})}}),f2=X({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t,slots:n,expose:o}){const r=ve(),a=M(),i=te(Xn,null);let s;o({pageRef:a});const l=te(Al,null);let c;const u=r.deferHydration();if(r.isHydrating){const d=r.hooks.hookOnce("app:error",u);Le().beforeEach(d)}return e.pageKey&&Be(()=>e.pageKey,(d,f)=>{d!==f&&r.callHook("page:loading:start")}),()=>b(lc,{name:e.name,route:e.route,...t},{default:d=>{const f=m2(i,d.route,d.Component),h=i&&i.matched.length===d.route.matched.length;if(!d.Component){if(c&&!h)return c;u();return}if(c&&l&&!l.isCurrent(d.route))return c;if(f&&i&&(!l||l!=null&&l.isCurrent(i)))return h?c:null;const m=ta(d,e.pageKey);!r.isHydrating&&!p2(i,d.route,d.Component)&&s===m&&r.callHook("page:loading:end"),s=m;const p=!!(e.transition??d.route.meta.pageTransition??Br),g=p&&h2([e.transition,d.route.meta.pageTransition,Br,{onAfterLeave:()=>{r.callHook("page:transition:finish",d.Component)}}].filter(Boolean)),v=e.keepalive??d.route.meta.keepalive??pf;return c=cc(lt,p&&g,Qm(v,b(Pa,{suspensible:!0,onPending:()=>r.callHook("page:start",d.Component),onResolve:()=>{$e(()=>r.callHook("page:finish",d.Component).then(()=>r.callHook("page:loading:end")).finally(u))}},{default:()=>{const w=b(d2,{key:m||void 0,vnode:n.default?b(at,void 0,n.default(d)):d.Component,route:d.route,renderKey:m||void 0,trackRootNodes:p,vnodeRef:a});return v&&(w.type.name=d.Component.type.name||d.Component.type.__name||"RouteProvider"),w}}))).default(),c}})}});function h2(e){const t=e.map(n=>({...n,onAfterLeave:n.onAfterLeave?Da(n.onAfterLeave):void 0}));return Ml(...t)}function m2(e,t,n){if(!e)return!1;const o=t.matched.findIndex(r=>{var a;return((a=r.components)==null?void 0:a.default)===(n==null?void 0:n.type)});return!o||o===-1?!1:t.matched.slice(0,o).some((r,a)=>{var i,s,l;return((i=r.components)==null?void 0:i.default)!==((l=(s=e.matched[a])==null?void 0:s.components)==null?void 0:l.default)})||n&&ta({route:t,Component:n})!==ta({route:e,Component:n})}function p2(e,t,n){return e?t.matched.findIndex(r=>{var a;return((a=r.components)==null?void 0:a.default)===(n==null?void 0:n.type)})<t.matched.length-1:!1}const g2=X({name:"LayoutLoader",inheritAttrs:!1,props:{name:String,layoutProps:Object},async setup(e,t){const n=await Dt[e.name]().then(o=>o.default||o);return()=>b(n,e.layoutProps,t.slots)}}),v2=X({name:"NuxtLayout",inheritAttrs:!1,props:{name:{type:[String,Boolean,Object],default:null},fallback:{type:[String,Object],default:null}},setup(e,t){const n=ve(),o=te(Xn),r=o===Uo()?Zm():o,a=O(()=>{let l=ae(e.name)??r.meta.layout??"default";return l&&!(l in Dt)&&e.fallback&&(l=ae(e.fallback)),l}),i=M();t.expose({layoutRef:i});const s=n.deferHydration();if(n.isHydrating){const l=n.hooks.hookOnce("app:error",s);Le().beforeEach(l)}return()=>{const l=a.value&&a.value in Dt,c=r.meta.layoutTransition??mf;return cc(lt,l&&c,{default:()=>b(Pa,{suspensible:!0,onResolve:()=>{$e(s)}},{default:()=>b(y2,{layoutProps:Ca(t.attrs,{ref:i}),key:a.value||void 0,name:a.value,shouldProvide:!e.name,hasTransition:!!c},t.slots)})}).default()}}}),y2=X({name:"NuxtLayoutProvider",inheritAttrs:!1,props:{name:{type:[String,Boolean]},layoutProps:{type:Object},hasTransition:{type:Boolean},shouldProvide:{type:Boolean}},setup(e,t){const n=e.name;return e.shouldProvide&&ue(Al,{isCurrent:o=>n===(o.meta.layout??"default")}),()=>{var o,r;return!n||typeof n=="string"&&!(n in Dt)?(r=(o=t.slots).default)==null?void 0:r.call(o):b(g2,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}}});function b2(){const e={cn:Cv,global:Bs,my:Bs,tr:Ev,eg:Rr,sa:Rr,mea:Rr,latin:js,fr:_v,de:Sv,uk:kv,it:Tv,es:js,ru:Pv},t={cn:Nw,global:Ks,my:Ks,tr:qw,eg:Mr,sa:Mr,mea:Mr,latin:Ys,fr:Ww,de:jw,uk:Uw,it:Vw,es:Ys,ru:Bw},n=Me();return{locale:e[n],dateLocale:t[n]}}function w2(){const e=fr(),{getLoginStatus:t}=Ep(e),n=Uo(),o=Le();xt(()=>{if(ze()===le.developer){const r=n.query.source,a=sessionStorage.getItem("source");if(r&&(r!==a&&sessionStorage.setItem("source",r),!t.value)){const i={...n.query};delete i.source,o.replace({query:i})}t.value&&localStorage.getItem("siteId")!=="1"&&ur({content:"抱歉,当前开发者社区仅支持中国大陆注册的荣耀账号用户发布内容。您可以更换荣耀账号后重试",onAfterLeave:()=>{e.logout(!0)}})}})}const x2=X({__name:"app",setup(e){const{locale:t,dateLocale:n}=b2();return w2(),(o,r)=>{const a=f2,i=v2,s=bu,l=du,c=vu,u=ou;return Rt(),Ut(u,{"inline-theme-disabled":!0,"theme-overrides":ae(xu)(),locale:ae(t),"date-locale":ae(n)},{default:At(()=>[tt(c,null,{default:At(()=>[tt(l,null,{default:At(()=>[tt(s,null,{default:At(()=>[tt(i,null,{default:At(()=>[tt(a)]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["theme-overrides","locale","date-locale"])}}}),C2=Symbol.for("nuxt:client-only"),P2=X({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(e,{slots:t,attrs:n}){const o=M(!1);return xt(()=>{o.value=!0}),ue(C2,!0),r=>{var l;if(o.value)return(l=t.default)==null?void 0:l.call(t);const a=t.fallback||t.placeholder;if(a)return a();const i=r.fallback||r.placeholder||"",s=r.fallbackTag||r.placeholderTag||"span";return gl(s,n,i)}}}),S2=["innerHTML"],_2={__name:"error",props:{error:Object},setup(e){const{t}=id(),n=e,{error:o}=ml(n),r=O(()=>{if(o.value.statusCode===404)return`${o.value.statusCode} ${t("sys.404")}`;const a=o.value.message||o.value.statusMessage;return a.startsWith("api.")?t(a):a});return O(()=>[404,403,418].includes(o.value.statusCode)?`${o.value.statusCode}`:o.value.statusCode>=500?"500":"error"),(a,i)=>{const s=RC,l=P2;return Rt(),Ut(l,null,{default:At(()=>[tt(s,{class:"error-page-container",title:ae(r)},{footer:At(()=>[ed("div",{innerHTML:ae(o).stack},null,8,S2)]),_:1},8,["title"])]),_:1})}}},T2=Au(_2,[["__scopeId","data-v-7e7d2a4f"]]),k2={key:0},cl={__name:"nuxt-root",setup(e){const t=()=>null,n=ve(),o=n.deferHydration();if(n.isHydrating){const l=n.hooks.hookOnce("app:error",o);Le().beforeEach(l)}const r=!1;ue(Xn,Uo()),n.hooks.callHookWith(l=>l.map(c=>c()),"vue:setup");const a=qo(),i=!1;td((l,c,u)=>{if(n.hooks.callHook("vue:error",l,c,u).catch(d=>{}),ih(l)&&(l.fatal||l.unhandled))return n.runWithContext(()=>mn(l)),!1});const s=!1;return(l,c)=>(Rt(),Ut(Pa,{onResolve:ae(o)},{default:At(()=>[ae(i)?(Rt(),gl("div",k2)):ae(a)?(Rt(),Ut(ae(T2),{key:1,error:ae(a)},null,8,["error"])):ae(s)?(Rt(),Ut(ae(t),{key:2,context:ae(s)},null,8,["context"])):ae(r)?(Rt(),Ut(nd(ae(r)),{key:3})):(Rt(),Ut(ae(x2),{key:4}))]),_:1},8,["onResolve"]))}};let ul;{let e;ul=async function(){var i,s;if(e)return e;const o=!!(((i=window.__NUXT__)==null?void 0:i.serverRendered)??((s=document.getElementById("__NUXT_DATA__"))==null?void 0:s.dataset.ssr)==="true")?od(cl):pl(cl),r=xf({vueApp:o});async function a(l){await r.callHook("app:error",l),r.payload.error=r.payload.error||Go(l)}o.config.errorHandler=a;try{await Sf(r,u2)}catch(l){a(l)}try{await r.hooks.callHook("app:created",o),await r.hooks.callHook("app:beforeMount",o),o.mount(yf),await r.hooks.callHook("app:mounted",o),await $e()}catch(l){a(l)}return o.config.errorHandler===a&&(o.config.errorHandler=void 0),o},e=ul().catch(t=>{throw t})}export{jo as $,le as A,ma as B,iS as C,Se as D,nr as E,Z2 as F,Ke as G,ss as H,Pn as I,Ie as J,Ge as K,z2 as L,Qa as M,eo as N,Qc as O,wt as P,ua as Q,$ as R,ni as S,Vn as T,Y2 as U,Os as V,G2 as W,cs as X,Xt as Y,ax as Z,Au as _,fr as a,mS as a$,z as a0,$c as a1,Cg as a2,Jn as a3,U as a4,St as a5,P2 as a6,Qn as a7,U2 as a8,Ht as a9,rP as aA,K2 as aB,Nn as aC,sa as aD,J2 as aE,Me as aF,pt as aG,oa as aH,EP as aI,gt as aJ,I2 as aK,je as aL,Zo as aM,sS as aN,et as aO,nS as aP,s0 as aQ,Ws as aR,c0 as aS,py as aT,Un as aU,lS as aV,Ac as aW,Qo as aX,ve as aY,dr as aZ,nl as a_,V2 as aa,j2 as ab,Zp as ac,H2 as ad,F2 as ae,q2 as af,W2 as ag,N2 as ah,B2 as ai,yv as aj,Ka as ak,ja as al,Lg as am,lo as an,ti as ao,Vg as ap,Fg as aq,xn as ar,Cn as as,X2 as at,Jc as au,dx as av,cS as aw,ur as ax,vS as ay,Ye as az,ze as b,En as b$,Pd as b0,D2 as b1,nn as b2,rh as b3,ka as b4,Ct as b5,Hr as b6,Ta as b7,tr as b8,L2 as b9,Ks as bA,ds as bB,oS as bC,pv as bD,rn as bE,gv as bF,Pg as bG,Ns as bH,DC as bI,xu as bJ,rr as bK,or as bL,ar as bM,qn as bN,Oc as bO,uS as bP,Ha as bQ,mn as bR,za as bS,La as bT,Fx as bU,lC as bV,Sg as bW,Q2 as bX,gS as bY,qt as bZ,pS as b_,Jo as ba,ir as bb,Sx as bc,uu as bd,bS as be,dS as bf,yS as bg,Eu as bh,zC as bi,UC as bj,fC as bk,vP as bl,us as bm,hx as bn,Ms as bo,Ag as bp,Ig as bq,zg as br,ws as bs,rS as bt,gg as bu,tS as bv,Qp as bw,mv as bx,Jp as by,Bs as bz,nt as c,Uo as d,Le as e,to as f,zt as g,uc as h,Ho as i,qC as j,hS as k,Cu as l,Gh as m,on as n,oh as o,fS as p,aS as q,_t as r,Ep as s,tu as t,Zm as u,ei as v,Ga as w,H as x,ca as y,L as z};