ai-chat-bot-interface 1.7.9 → 1.7.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
var Gd=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var zx=Gd((Cn,kn)=>{(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))u(r);new MutationObserver(r=>{for(const i of r)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&u(s)}).observe(document,{childList:!0,subtree:!0});function n(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerPolicy&&(i.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?i.credentials="include":r.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function u(r){if(r.ep)return;r.ep=!0;const i=n(r);fetch(r.href,i)}})();/**
|
|
2
|
-
* @vue/shared v3.5.13
|
|
3
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
|
-
* @license MIT
|
|
5
|
-
**//*! #__NO_SIDE_EFFECTS__ */function oo(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Me={},Du=[],an=()=>{},Kd=()=>!1,Di=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ao=e=>e.startsWith("onUpdate:"),st=Object.assign,lo=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Xd=Object.prototype.hasOwnProperty,Le=(e,t)=>Xd.call(e,t),le=Array.isArray,Su=e=>Si(e)==="[object Map]",Rc=e=>Si(e)==="[object Set]",ge=e=>typeof e=="function",Ye=e=>typeof e=="string",Dn=e=>typeof e=="symbol",He=e=>e!==null&&typeof e=="object",$c=e=>(He(e)||ge(e))&&ge(e.then)&&ge(e.catch),Bc=Object.prototype.toString,Si=e=>Bc.call(e),Zd=e=>Si(e).slice(8,-1),jc=e=>Si(e)==="[object Object]",co=e=>Ye(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ur=oo(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ii=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Jd=/-(\w)/g,Bt=Ii(e=>e.replace(Jd,(t,n)=>n?n.toUpperCase():"")),Qd=/\B([A-Z])/g,qn=Ii(e=>e.replace(Qd,"-$1").toLowerCase()),Fi=Ii(e=>e.charAt(0).toUpperCase()+e.slice(1)),ns=Ii(e=>e?`on${Fi(e)}`:""),jn=(e,t)=>!Object.is(e,t),ni=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Uc=(e,t,n,u=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:u,value:n})},Is=e=>{const t=parseFloat(e);return isNaN(t)?e:t},e1=e=>{const t=Ye(e)?Number(e):NaN;return isNaN(t)?e:t};let Xo;const Li=()=>Xo||(Xo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function wn(e){if(le(e)){const t={};for(let n=0;n<e.length;n++){const u=e[n],r=Ye(u)?r1(u):wn(u);if(r)for(const i in r)t[i]=r[i]}return t}else if(Ye(e)||He(e))return e}const t1=/;(?![^(]*\))/g,n1=/:([^]+)/,u1=/\/\*[^]*?\*\//g;function r1(e){const t={};return e.replace(u1,"").split(t1).forEach(n=>{if(n){const u=n.split(n1);u.length>1&&(t[u[0].trim()]=u[1].trim())}}),t}function vt(e){let t="";if(Ye(e))t=e;else if(le(e))for(let n=0;n<e.length;n++){const u=vt(e[n]);u&&(t+=u+" ")}else if(He(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const i1="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",s1=oo(i1);function Vc(e){return!!e||e===""}const Hc=e=>!!(e&&e.__v_isRef===!0),ae=e=>Ye(e)?e:e==null?"":le(e)||He(e)&&(e.toString===Bc||!ge(e.toString))?Hc(e)?ae(e.value):JSON.stringify(e,zc,2):String(e),zc=(e,t)=>Hc(t)?zc(e,t.value):Su(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[u,r],i)=>(n[us(u,i)+" =>"]=r,n),{})}:Rc(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>us(n))}:Dn(t)?us(t):He(t)&&!le(t)&&!jc(t)?String(t):t,us=(e,t="")=>{var n;return Dn(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
|
6
|
-
* @vue/reactivity v3.5.13
|
|
7
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
8
|
-
* @license MIT
|
|
9
|
-
**/let Dt;class Wc{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Dt,!t&&Dt&&(this.index=(Dt.scopes||(Dt.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=Dt;try{return Dt=this,t()}finally{Dt=n}}}on(){Dt=this}off(){Dt=this.parent}stop(t){if(this._active){this._active=!1;let n,u;for(n=0,u=this.effects.length;n<u;n++)this.effects[n].stop();for(this.effects.length=0,n=0,u=this.cleanups.length;n<u;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,u=this.scopes.length;n<u;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0}}}function o1(e){return new Wc(e)}function a1(){return Dt}let Re;const rs=new WeakSet;class qc{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Dt&&Dt.active&&Dt.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,rs.has(this)&&(rs.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Gc(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Zo(this),Kc(this);const t=Re,n=Xt;Re=this,Xt=!0;try{return this.fn()}finally{Xc(this),Re=t,Xt=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)po(t);this.deps=this.depsTail=void 0,Zo(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?rs.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Fs(this)&&this.run()}get dirty(){return Fs(this)}}let Yc=0,rr,ir;function Gc(e,t=!1){if(e.flags|=8,t){e.next=ir,ir=e;return}e.next=rr,rr=e}function fo(){Yc++}function ho(){if(--Yc>0)return;if(ir){let t=ir;for(ir=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;rr;){let t=rr;for(rr=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(u){e||(e=u)}t=n}}if(e)throw e}function Kc(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Xc(e){let t,n=e.depsTail,u=n;for(;u;){const r=u.prevDep;u.version===-1?(u===n&&(n=r),po(u),l1(u)):t=u,u.dep.activeLink=u.prevActiveLink,u.prevActiveLink=void 0,u=r}e.deps=t,e.depsTail=n}function Fs(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Zc(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Zc(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===hr))return;e.globalVersion=hr;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!Fs(e)){e.flags&=-3;return}const n=Re,u=Xt;Re=e,Xt=!0;try{Kc(e);const r=e.fn(e._value);(t.version===0||jn(r,e._value))&&(e._value=r,t.version++)}catch(r){throw t.version++,r}finally{Re=n,Xt=u,Xc(e),e.flags&=-3}}function po(e,t=!1){const{dep:n,prevSub:u,nextSub:r}=e;if(u&&(u.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=u,e.nextSub=void 0),n.subs===e&&(n.subs=u,!u&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)po(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function l1(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Xt=!0;const Jc=[];function Yn(){Jc.push(Xt),Xt=!1}function Gn(){const e=Jc.pop();Xt=e===void 0?!0:e}function Zo(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Re;Re=void 0;try{t()}finally{Re=n}}}let hr=0;class c1{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class mo{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!Re||!Xt||Re===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Re)n=this.activeLink=new c1(Re,this),Re.deps?(n.prevDep=Re.depsTail,Re.depsTail.nextDep=n,Re.depsTail=n):Re.deps=Re.depsTail=n,Qc(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const u=n.nextDep;u.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=u),n.prevDep=Re.depsTail,n.nextDep=void 0,Re.depsTail.nextDep=n,Re.depsTail=n,Re.deps===n&&(Re.deps=u)}return n}trigger(t){this.version++,hr++,this.notify(t)}notify(t){fo();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{ho()}}}function Qc(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let u=t.deps;u;u=u.nextDep)Qc(u)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Ls=new WeakMap,cu=Symbol(""),Os=Symbol(""),pr=Symbol("");function dt(e,t,n){if(Xt&&Re){let u=Ls.get(e);u||Ls.set(e,u=new Map);let r=u.get(n);r||(u.set(n,r=new mo),r.map=u,r.key=n),r.track()}}function yn(e,t,n,u,r,i){const s=Ls.get(e);if(!s){hr++;return}const o=a=>{a&&a.trigger()};if(fo(),t==="clear")s.forEach(o);else{const a=le(e),l=a&&co(n);if(a&&n==="length"){const c=Number(u);s.forEach((f,d)=>{(d==="length"||d===pr||!Dn(d)&&d>=c)&&o(f)})}else switch((n!==void 0||s.has(void 0))&&o(s.get(n)),l&&o(s.get(pr)),t){case"add":a?l&&o(s.get("length")):(o(s.get(cu)),Su(e)&&o(s.get(Os)));break;case"delete":a||(o(s.get(cu)),Su(e)&&o(s.get(Os)));break;case"set":Su(e)&&o(s.get(cu));break}}ho()}function mu(e){const t=Fe(e);return t===e?t:(dt(t,"iterate",pr),$t(e)?t:t.map(ht))}function Oi(e){return dt(e=Fe(e),"iterate",pr),e}const f1={__proto__:null,[Symbol.iterator](){return is(this,Symbol.iterator,ht)},concat(...e){return mu(this).concat(...e.map(t=>le(t)?mu(t):t))},entries(){return is(this,"entries",e=>(e[1]=ht(e[1]),e))},every(e,t){return hn(this,"every",e,t,void 0,arguments)},filter(e,t){return hn(this,"filter",e,t,n=>n.map(ht),arguments)},find(e,t){return hn(this,"find",e,t,ht,arguments)},findIndex(e,t){return hn(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return hn(this,"findLast",e,t,ht,arguments)},findLastIndex(e,t){return hn(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return hn(this,"forEach",e,t,void 0,arguments)},includes(...e){return ss(this,"includes",e)},indexOf(...e){return ss(this,"indexOf",e)},join(e){return mu(this).join(e)},lastIndexOf(...e){return ss(this,"lastIndexOf",e)},map(e,t){return hn(this,"map",e,t,void 0,arguments)},pop(){return Gu(this,"pop")},push(...e){return Gu(this,"push",e)},reduce(e,...t){return Jo(this,"reduce",e,t)},reduceRight(e,...t){return Jo(this,"reduceRight",e,t)},shift(){return Gu(this,"shift")},some(e,t){return hn(this,"some",e,t,void 0,arguments)},splice(...e){return Gu(this,"splice",e)},toReversed(){return mu(this).toReversed()},toSorted(e){return mu(this).toSorted(e)},toSpliced(...e){return mu(this).toSpliced(...e)},unshift(...e){return Gu(this,"unshift",e)},values(){return is(this,"values",ht)}};function is(e,t,n){const u=Oi(e),r=u[t]();return u!==e&&!$t(e)&&(r._next=r.next,r.next=()=>{const i=r._next();return i.value&&(i.value=n(i.value)),i}),r}const d1=Array.prototype;function hn(e,t,n,u,r,i){const s=Oi(e),o=s!==e&&!$t(e),a=s[t];if(a!==d1[t]){const f=a.apply(e,i);return o?ht(f):f}let l=n;s!==e&&(o?l=function(f,d){return n.call(this,ht(f),d,e)}:n.length>2&&(l=function(f,d){return n.call(this,f,d,e)}));const c=a.call(s,l,u);return o&&r?r(c):c}function Jo(e,t,n,u){const r=Oi(e);let i=n;return r!==e&&($t(e)?n.length>3&&(i=function(s,o,a){return n.call(this,s,o,a,e)}):i=function(s,o,a){return n.call(this,s,ht(o),a,e)}),r[t](i,...u)}function ss(e,t,n){const u=Fe(e);dt(u,"iterate",pr);const r=u[t](...n);return(r===-1||r===!1)&&_o(n[0])?(n[0]=Fe(n[0]),u[t](...n)):r}function Gu(e,t,n=[]){Yn(),fo();const u=Fe(e)[t].apply(e,n);return ho(),Gn(),u}const h1=oo("__proto__,__v_isRef,__isVue"),e0=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Dn));function p1(e){Dn(e)||(e=String(e));const t=Fe(this);return dt(t,"has",e),t.hasOwnProperty(e)}class t0{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,u){if(n==="__v_skip")return t.__v_skip;const r=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return i;if(n==="__v_raw")return u===(r?i?k1:i0:i?r0:u0).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(u)?t:void 0;const s=le(t);if(!r){let a;if(s&&(a=f1[n]))return a;if(n==="hasOwnProperty")return p1}const o=Reflect.get(t,n,rt(t)?t:u);return(Dn(n)?e0.has(n):h1(n))||(r||dt(t,"get",n),i)?o:rt(o)?s&&co(n)?o:o.value:He(o)?r?s0(o):zu(o):o}}class n0 extends t0{constructor(t=!1){super(!1,t)}set(t,n,u,r){let i=t[n];if(!this._isShallow){const a=hu(i);if(!$t(u)&&!hu(u)&&(i=Fe(i),u=Fe(u)),!le(t)&&rt(i)&&!rt(u))return a?!1:(i.value=u,!0)}const s=le(t)&&co(n)?Number(n)<t.length:Le(t,n),o=Reflect.set(t,n,u,rt(t)?t:r);return t===Fe(r)&&(s?jn(u,i)&&yn(t,"set",n,u):yn(t,"add",n,u)),o}deleteProperty(t,n){const u=Le(t,n);t[n];const r=Reflect.deleteProperty(t,n);return r&&u&&yn(t,"delete",n,void 0),r}has(t,n){const u=Reflect.has(t,n);return(!Dn(n)||!e0.has(n))&&dt(t,"has",n),u}ownKeys(t){return dt(t,"iterate",le(t)?"length":cu),Reflect.ownKeys(t)}}class m1 extends t0{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const g1=new n0,b1=new m1,_1=new n0(!0),Ns=e=>e,Ur=e=>Reflect.getPrototypeOf(e);function v1(e,t,n){return function(...u){const r=this.__v_raw,i=Fe(r),s=Su(i),o=e==="entries"||e===Symbol.iterator&&s,a=e==="keys"&&s,l=r[e](...u),c=n?Ns:t?Ps:ht;return!t&&dt(i,"iterate",a?Os:cu),{next(){const{value:f,done:d}=l.next();return d?{value:f,done:d}:{value:o?[c(f[0]),c(f[1])]:c(f),done:d}},[Symbol.iterator](){return this}}}}function Vr(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function y1(e,t){const n={get(r){const i=this.__v_raw,s=Fe(i),o=Fe(r);e||(jn(r,o)&&dt(s,"get",r),dt(s,"get",o));const{has:a}=Ur(s),l=t?Ns:e?Ps:ht;if(a.call(s,r))return l(i.get(r));if(a.call(s,o))return l(i.get(o));i!==s&&i.get(r)},get size(){const r=this.__v_raw;return!e&&dt(Fe(r),"iterate",cu),Reflect.get(r,"size",r)},has(r){const i=this.__v_raw,s=Fe(i),o=Fe(r);return e||(jn(r,o)&&dt(s,"has",r),dt(s,"has",o)),r===o?i.has(r):i.has(r)||i.has(o)},forEach(r,i){const s=this,o=s.__v_raw,a=Fe(o),l=t?Ns:e?Ps:ht;return!e&&dt(a,"iterate",cu),o.forEach((c,f)=>r.call(i,l(c),l(f),s))}};return st(n,e?{add:Vr("add"),set:Vr("set"),delete:Vr("delete"),clear:Vr("clear")}:{add(r){!t&&!$t(r)&&!hu(r)&&(r=Fe(r));const i=Fe(this);return Ur(i).has.call(i,r)||(i.add(r),yn(i,"add",r,r)),this},set(r,i){!t&&!$t(i)&&!hu(i)&&(i=Fe(i));const s=Fe(this),{has:o,get:a}=Ur(s);let l=o.call(s,r);l||(r=Fe(r),l=o.call(s,r));const c=a.call(s,r);return s.set(r,i),l?jn(i,c)&&yn(s,"set",r,i):yn(s,"add",r,i),this},delete(r){const i=Fe(this),{has:s,get:o}=Ur(i);let a=s.call(i,r);a||(r=Fe(r),a=s.call(i,r)),o&&o.call(i,r);const l=i.delete(r);return a&&yn(i,"delete",r,void 0),l},clear(){const r=Fe(this),i=r.size!==0,s=r.clear();return i&&yn(r,"clear",void 0,void 0),s}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=v1(r,e,t)}),n}function go(e,t){const n=y1(e,t);return(u,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?u:Reflect.get(Le(n,r)&&r in u?n:u,r,i)}const x1={get:go(!1,!1)},E1={get:go(!1,!0)},C1={get:go(!0,!1)},u0=new WeakMap,r0=new WeakMap,i0=new WeakMap,k1=new WeakMap;function w1(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function A1(e){return e.__v_skip||!Object.isExtensible(e)?0:w1(Zd(e))}function zu(e){return hu(e)?e:bo(e,!1,g1,x1,u0)}function T1(e){return bo(e,!1,_1,E1,r0)}function s0(e){return bo(e,!0,b1,C1,i0)}function bo(e,t,n,u,r){if(!He(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const s=A1(e);if(s===0)return e;const o=new Proxy(e,s===2?u:n);return r.set(e,o),o}function Iu(e){return hu(e)?Iu(e.__v_raw):!!(e&&e.__v_isReactive)}function hu(e){return!!(e&&e.__v_isReadonly)}function $t(e){return!!(e&&e.__v_isShallow)}function _o(e){return e?!!e.__v_raw:!1}function Fe(e){const t=e&&e.__v_raw;return t?Fe(t):e}function D1(e){return!Le(e,"__v_skip")&&Object.isExtensible(e)&&Uc(e,"__v_skip",!0),e}const ht=e=>He(e)?zu(e):e,Ps=e=>He(e)?s0(e):e;function rt(e){return e?e.__v_isRef===!0:!1}function ne(e){return a0(e,!1)}function o0(e){return a0(e,!0)}function a0(e,t){return rt(e)?e:new S1(e,t)}class S1{constructor(t,n){this.dep=new mo,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Fe(t),this._value=n?t:ht(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,u=this.__v_isShallow||$t(t)||hu(t);t=u?t:Fe(t),jn(t,n)&&(this._rawValue=t,this._value=u?t:ht(t),this.dep.trigger())}}function un(e){return rt(e)?e.value:e}const I1={get:(e,t,n)=>t==="__v_raw"?e:un(Reflect.get(e,t,n)),set:(e,t,n,u)=>{const r=e[t];return rt(r)&&!rt(n)?(r.value=n,!0):Reflect.set(e,t,n,u)}};function l0(e){return Iu(e)?e:new Proxy(e,I1)}class F1{constructor(t,n,u){this.fn=t,this.setter=n,this._value=void 0,this.dep=new mo(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=hr-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=u}notify(){if(this.flags|=16,!(this.flags&8)&&Re!==this)return Gc(this,!0),!0}get value(){const t=this.dep.track();return Zc(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function L1(e,t,n=!1){let u,r;return ge(e)?u=e:(u=e.get,r=e.set),new F1(u,r,n)}const Hr={},di=new WeakMap;let ou;function O1(e,t=!1,n=ou){if(n){let u=di.get(n);u||di.set(n,u=[]),u.push(e)}}function N1(e,t,n=Me){const{immediate:u,deep:r,once:i,scheduler:s,augmentJob:o,call:a}=n,l=_=>r?_:$t(_)||r===!1||r===0?xn(_,1):xn(_);let c,f,d,h,p=!1,x=!1;if(rt(e)?(f=()=>e.value,p=$t(e)):Iu(e)?(f=()=>l(e),p=!0):le(e)?(x=!0,p=e.some(_=>Iu(_)||$t(_)),f=()=>e.map(_=>{if(rt(_))return _.value;if(Iu(_))return l(_);if(ge(_))return a?a(_,2):_()})):ge(e)?t?f=a?()=>a(e,2):e:f=()=>{if(d){Yn();try{d()}finally{Gn()}}const _=ou;ou=c;try{return a?a(e,3,[h]):e(h)}finally{ou=_}}:f=an,t&&r){const _=f,E=r===!0?1/0:r;f=()=>xn(_(),E)}const w=a1(),A=()=>{c.stop(),w&&w.active&&lo(w.effects,c)};if(i&&t){const _=t;t=(...E)=>{_(...E),A()}}let T=x?new Array(e.length).fill(Hr):Hr;const g=_=>{if(!(!(c.flags&1)||!c.dirty&&!_))if(t){const E=c.run();if(r||p||(x?E.some((v,S)=>jn(v,T[S])):jn(E,T))){d&&d();const v=ou;ou=c;try{const S=[E,T===Hr?void 0:x&&T[0]===Hr?[]:T,h];a?a(t,3,S):t(...S),T=E}finally{ou=v}}}else c.run()};return o&&o(g),c=new qc(f),c.scheduler=s?()=>s(g,!1):g,h=_=>O1(_,!1,c),d=c.onStop=()=>{const _=di.get(c);if(_){if(a)a(_,4);else for(const E of _)E();di.delete(c)}},t?u?g(!0):T=c.run():s?s(g.bind(null,!0),!0):c.run(),A.pause=c.pause.bind(c),A.resume=c.resume.bind(c),A.stop=A,A}function xn(e,t=1/0,n){if(t<=0||!He(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,rt(e))xn(e.value,t,n);else if(le(e))for(let u=0;u<e.length;u++)xn(e[u],t,n);else if(Rc(e)||Su(e))e.forEach(u=>{xn(u,t,n)});else if(jc(e)){for(const u in e)xn(e[u],t,n);for(const u of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,u)&&xn(e[u],t,n)}return e}/**
|
|
10
|
-
* @vue/runtime-core v3.5.13
|
|
11
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
12
|
-
* @license MIT
|
|
13
|
-
**/function Lr(e,t,n,u){try{return u?e(...u):e()}catch(r){Ni(r,t,n)}}function Zt(e,t,n,u){if(ge(e)){const r=Lr(e,t,n,u);return r&&$c(r)&&r.catch(i=>{Ni(i,t,n)}),r}if(le(e)){const r=[];for(let i=0;i<e.length;i++)r.push(Zt(e[i],t,n,u));return r}}function Ni(e,t,n,u=!0){const r=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:s}=t&&t.appContext.config||Me;if(t){let o=t.parent;const a=t.proxy,l=`https://vuejs.org/error-reference/#runtime-${n}`;for(;o;){const c=o.ec;if(c){for(let f=0;f<c.length;f++)if(c[f](e,a,l)===!1)return}o=o.parent}if(i){Yn(),Lr(i,null,10,[e,a,l]),Gn();return}}P1(e,n,r,u,s)}function P1(e,t,n,u=!0,r=!1){if(r)throw e;console.error(e)}const yt=[];let tn=-1;const Fu=[];let On=null,yu=0;const c0=Promise.resolve();let hi=null;function pt(e){const t=hi||c0;return e?t.then(this?e.bind(this):e):t}function M1(e){let t=tn+1,n=yt.length;for(;t<n;){const u=t+n>>>1,r=yt[u],i=mr(r);i<e||i===e&&r.flags&2?t=u+1:n=u}return t}function vo(e){if(!(e.flags&1)){const t=mr(e),n=yt[yt.length-1];!n||!(e.flags&2)&&t>=mr(n)?yt.push(e):yt.splice(M1(t),0,e),e.flags|=1,f0()}}function f0(){hi||(hi=c0.then(h0))}function R1(e){le(e)?Fu.push(...e):On&&e.id===-1?On.splice(yu+1,0,e):e.flags&1||(Fu.push(e),e.flags|=1),f0()}function Qo(e,t,n=tn+1){for(;n<yt.length;n++){const u=yt[n];if(u&&u.flags&2){if(e&&u.id!==e.uid)continue;yt.splice(n,1),n--,u.flags&4&&(u.flags&=-2),u(),u.flags&4||(u.flags&=-2)}}}function d0(e){if(Fu.length){const t=[...new Set(Fu)].sort((n,u)=>mr(n)-mr(u));if(Fu.length=0,On){On.push(...t);return}for(On=t,yu=0;yu<On.length;yu++){const n=On[yu];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}On=null,yu=0}}const mr=e=>e.id==null?e.flags&2?-1:1/0:e.id;function h0(e){try{for(tn=0;tn<yt.length;tn++){const t=yt[tn];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Lr(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;tn<yt.length;tn++){const t=yt[tn];t&&(t.flags&=-2)}tn=-1,yt.length=0,d0(),hi=null,(yt.length||Fu.length)&&h0()}}let ut=null,p0=null;function pi(e){const t=ut;return ut=e,p0=e&&e.type.__scopeId||null,t}function m0(e,t=ut,n){if(!t||e._n)return e;const u=(...r)=>{u._d&&ha(-1);const i=pi(t);let s;try{s=e(...r)}finally{pi(i),u._d&&ha(1)}return s};return u._n=!0,u._c=!0,u._d=!0,u}function Or(e,t){if(ut===null)return e;const n=ji(ut),u=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[i,s,o,a=Me]=t[r];i&&(ge(i)&&(i={mounted:i,updated:i}),i.deep&&xn(s),u.push({dir:i,instance:n,value:s,oldValue:void 0,arg:o,modifiers:a}))}return e}function tu(e,t,n,u){const r=e.dirs,i=t&&t.dirs;for(let s=0;s<r.length;s++){const o=r[s];i&&(o.oldValue=i[s].value);let a=o.dir[u];a&&(Yn(),Zt(a,n,8,[e.el,o,e,t]),Gn())}}const g0=Symbol("_vte"),b0=e=>e.__isTeleport,sr=e=>e&&(e.disabled||e.disabled===""),ea=e=>e&&(e.defer||e.defer===""),ta=e=>typeof SVGElement<"u"&&e instanceof SVGElement,na=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Ms=(e,t)=>{const n=e&&e.to;return Ye(n)?t?t(n):null:n},_0={name:"Teleport",__isTeleport:!0,process(e,t,n,u,r,i,s,o,a,l){const{mc:c,pc:f,pbc:d,o:{insert:h,querySelector:p,createText:x,createComment:w}}=l,A=sr(t.props);let{shapeFlag:T,children:g,dynamicChildren:_}=t;if(e==null){const E=t.el=x(""),v=t.anchor=x("");h(E,n,u),h(v,n,u);const S=(I,G)=>{T&16&&(r&&r.isCE&&(r.ce._teleportTarget=I),c(g,I,G,r,i,s,o,a))},N=()=>{const I=t.target=Ms(t.props,p),G=y0(I,t,x,h);I&&(s!=="svg"&&ta(I)?s="svg":s!=="mathml"&&na(I)&&(s="mathml"),A||(S(I,G),ui(t,!1)))};A&&(S(n,v),ui(t,!0)),ea(t.props)?_t(()=>{N(),t.el.__isMounted=!0},i):N()}else{if(ea(t.props)&&!e.el.__isMounted){_t(()=>{_0.process(e,t,n,u,r,i,s,o,a,l),delete e.el.__isMounted},i);return}t.el=e.el,t.targetStart=e.targetStart;const E=t.anchor=e.anchor,v=t.target=e.target,S=t.targetAnchor=e.targetAnchor,N=sr(e.props),I=N?n:v,G=N?E:S;if(s==="svg"||ta(v)?s="svg":(s==="mathml"||na(v))&&(s="mathml"),_?(d(e.dynamicChildren,_,I,r,i,s,o),Co(e,t,!0)):a||f(e,t,I,G,r,i,s,o,!1),A)N?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):zr(t,n,E,l,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const te=t.target=Ms(t.props,p);te&&zr(t,te,null,l,0)}else N&&zr(t,v,S,l,1);ui(t,A)}},remove(e,t,n,{um:u,o:{remove:r}},i){const{shapeFlag:s,children:o,anchor:a,targetStart:l,targetAnchor:c,target:f,props:d}=e;if(f&&(r(l),r(c)),i&&r(a),s&16){const h=i||!sr(d);for(let p=0;p<o.length;p++){const x=o[p];u(x,t,n,h,!!x.dynamicChildren)}}},move:zr,hydrate:$1};function zr(e,t,n,{o:{insert:u},m:r},i=2){i===0&&u(e.targetAnchor,t,n);const{el:s,anchor:o,shapeFlag:a,children:l,props:c}=e,f=i===2;if(f&&u(s,t,n),(!f||sr(c))&&a&16)for(let d=0;d<l.length;d++)r(l[d],t,n,2);f&&u(o,t,n)}function $1(e,t,n,u,r,i,{o:{nextSibling:s,parentNode:o,querySelector:a,insert:l,createText:c}},f){const d=t.target=Ms(t.props,a);if(d){const h=sr(t.props),p=d._lpa||d.firstChild;if(t.shapeFlag&16)if(h)t.anchor=f(s(e),t,o(e),n,u,r,i),t.targetStart=p,t.targetAnchor=p&&s(p);else{t.anchor=s(e);let x=p;for(;x;){if(x&&x.nodeType===8){if(x.data==="teleport start anchor")t.targetStart=x;else if(x.data==="teleport anchor"){t.targetAnchor=x,d._lpa=t.targetAnchor&&s(t.targetAnchor);break}}x=s(x)}t.targetAnchor||y0(d,t,c,l),f(p&&s(p),t,d,n,u,r,i)}ui(t,h)}return t.anchor&&s(t.anchor)}const v0=_0;function ui(e,t){const n=e.ctx;if(n&&n.ut){let u,r;for(t?(u=e.el,r=e.anchor):(u=e.targetStart,r=e.targetAnchor);u&&u!==r;)u.nodeType===1&&u.setAttribute("data-v-owner",n.uid),u=u.nextSibling;n.ut()}}function y0(e,t,n,u){const r=t.targetStart=n(""),i=t.targetAnchor=n("");return r[g0]=i,e&&(u(r,e),u(i,e)),i}const Nn=Symbol("_leaveCb"),Wr=Symbol("_enterCb");function B1(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ht(()=>{e.isMounted=!0}),xo(()=>{e.isUnmounting=!0}),e}const Ot=[Function,Array],x0={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ot,onEnter:Ot,onAfterEnter:Ot,onEnterCancelled:Ot,onBeforeLeave:Ot,onLeave:Ot,onAfterLeave:Ot,onLeaveCancelled:Ot,onBeforeAppear:Ot,onAppear:Ot,onAfterAppear:Ot,onAppearCancelled:Ot},E0=e=>{const t=e.subTree;return t.component?E0(t.component):t},j1={name:"BaseTransition",props:x0,setup(e,{slots:t}){const n=jt(),u=B1();return()=>{const r=t.default&&w0(t.default(),!0);if(!r||!r.length)return;const i=C0(r),s=Fe(e),{mode:o}=s;if(u.isLeaving)return os(i);const a=ua(i);if(!a)return os(i);let l=Rs(a,s,u,n,f=>l=f);a.type!==Et&&gr(a,l);let c=n.subTree&&ua(n.subTree);if(c&&c.type!==Et&&!au(a,c)&&E0(n).type!==Et){let f=Rs(c,s,u,n);if(gr(c,f),o==="out-in"&&a.type!==Et)return u.isLeaving=!0,f.afterLeave=()=>{u.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave,c=void 0},os(i);o==="in-out"&&a.type!==Et?f.delayLeave=(d,h,p)=>{const x=k0(u,c);x[String(c.key)]=c,d[Nn]=()=>{h(),d[Nn]=void 0,delete l.delayedLeave,c=void 0},l.delayedLeave=()=>{p(),delete l.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return i}}};function C0(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Et){t=n;break}}return t}const U1=j1;function k0(e,t){const{leavingVNodes:n}=e;let u=n.get(t.type);return u||(u=Object.create(null),n.set(t.type,u)),u}function Rs(e,t,n,u,r){const{appear:i,mode:s,persisted:o=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:f,onBeforeLeave:d,onLeave:h,onAfterLeave:p,onLeaveCancelled:x,onBeforeAppear:w,onAppear:A,onAfterAppear:T,onAppearCancelled:g}=t,_=String(e.key),E=k0(n,e),v=(I,G)=>{I&&Zt(I,u,9,G)},S=(I,G)=>{const te=G[1];v(I,G),le(I)?I.every(U=>U.length<=1)&&te():I.length<=1&&te()},N={mode:s,persisted:o,beforeEnter(I){let G=a;if(!n.isMounted)if(i)G=w||a;else return;I[Nn]&&I[Nn](!0);const te=E[_];te&&au(e,te)&&te.el[Nn]&&te.el[Nn](),v(G,[I])},enter(I){let G=l,te=c,U=f;if(!n.isMounted)if(i)G=A||l,te=T||c,U=g||f;else return;let K=!1;const ue=I[Wr]=ee=>{K||(K=!0,ee?v(U,[I]):v(te,[I]),N.delayedLeave&&N.delayedLeave(),I[Wr]=void 0)};G?S(G,[I,ue]):ue()},leave(I,G){const te=String(e.key);if(I[Wr]&&I[Wr](!0),n.isUnmounting)return G();v(d,[I]);let U=!1;const K=I[Nn]=ue=>{U||(U=!0,G(),ue?v(x,[I]):v(p,[I]),I[Nn]=void 0,E[te]===e&&delete E[te])};E[te]=e,h?S(h,[I,K]):K()},clone(I){const G=Rs(I,t,n,u,r);return r&&r(G),G}};return N}function os(e){if(Pi(e))return e=Hn(e),e.children=null,e}function ua(e){if(!Pi(e))return b0(e.type)&&e.children?C0(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&ge(n.default))return n.default()}}function gr(e,t){e.shapeFlag&6&&e.component?(e.transition=t,gr(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function w0(e,t=!1,n){let u=[],r=0;for(let i=0;i<e.length;i++){let s=e[i];const o=n==null?s.key:String(n)+String(s.key!=null?s.key:i);s.type===he?(s.patchFlag&128&&r++,u=u.concat(w0(s.children,t,o))):(t||s.type!==Et)&&u.push(o!=null?Hn(s,{key:o}):s)}if(r>1)for(let i=0;i<u.length;i++)u[i].patchFlag=-2;return u}/*! #__NO_SIDE_EFFECTS__ */function Vt(e,t){return ge(e)?st({name:e.name},t,{setup:e}):e}function A0(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function mi(e,t,n,u,r=!1){if(le(e)){e.forEach((p,x)=>mi(p,t&&(le(t)?t[x]:t),n,u,r));return}if(Lu(u)&&!r){u.shapeFlag&512&&u.type.__asyncResolved&&u.component.subTree.component&&mi(e,t,n,u.component.subTree);return}const i=u.shapeFlag&4?ji(u.component):u.el,s=r?null:i,{i:o,r:a}=e,l=t&&t.r,c=o.refs===Me?o.refs={}:o.refs,f=o.setupState,d=Fe(f),h=f===Me?()=>!1:p=>Le(d,p);if(l!=null&&l!==a&&(Ye(l)?(c[l]=null,h(l)&&(f[l]=null)):rt(l)&&(l.value=null)),ge(a))Lr(a,o,12,[s,c]);else{const p=Ye(a),x=rt(a);if(p||x){const w=()=>{if(e.f){const A=p?h(a)?f[a]:c[a]:a.value;r?le(A)&&lo(A,i):le(A)?A.includes(i)||A.push(i):p?(c[a]=[i],h(a)&&(f[a]=c[a])):(a.value=[i],e.k&&(c[e.k]=a.value))}else p?(c[a]=s,h(a)&&(f[a]=s)):x&&(a.value=s,e.k&&(c[e.k]=s))};s?(w.id=-1,_t(w,n)):w()}}}Li().requestIdleCallback;Li().cancelIdleCallback;const Lu=e=>!!e.type.__asyncLoader,Pi=e=>e.type.__isKeepAlive;function yo(e,t){T0(e,"a",t)}function Mi(e,t){T0(e,"da",t)}function T0(e,t,n=lt){const u=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Ri(t,u,n),n){let r=n.parent;for(;r&&r.parent;)Pi(r.parent.vnode)&&V1(u,t,n,r),r=r.parent}}function V1(e,t,n,u){const r=Ri(t,e,u,!0);Kn(()=>{lo(u[t],r)},n)}function Ri(e,t,n=lt,u=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...s)=>{Yn();const o=Pr(n),a=Zt(t,n,e,s);return o(),Gn(),a});return u?r.unshift(i):r.push(i),i}}const Sn=e=>(t,n=lt)=>{(!vr||e==="sp")&&Ri(e,(...u)=>t(...u),n)},D0=Sn("bm"),Ht=Sn("m"),H1=Sn("bu"),z1=Sn("u"),xo=Sn("bum"),Kn=Sn("um"),W1=Sn("sp"),q1=Sn("rtg"),Y1=Sn("rtc");function G1(e,t=lt){Ri("ec",e,t)}const K1="components",S0=Symbol.for("v-ndc");function X1(e){return Ye(e)?Z1(K1,e,!1)||e:e||S0}function Z1(e,t,n=!0,u=!1){const r=ut||lt;if(r){const i=r.type;{const o=Rh(i,!1);if(o&&(o===t||o===Bt(t)||o===Fi(Bt(t))))return i}const s=ra(r[e]||i[e],t)||ra(r.appContext[e],t);return!s&&u?i:s}}function ra(e,t){return e&&(e[t]||e[Bt(t)]||e[Fi(Bt(t))])}function ct(e,t,n,u){let r;const i=n,s=le(e);if(s||Ye(e)){const o=s&&Iu(e);let a=!1;o&&(a=!$t(e),e=Oi(e)),r=new Array(e.length);for(let l=0,c=e.length;l<c;l++)r[l]=t(a?ht(e[l]):e[l],l,void 0,i)}else if(typeof e=="number"){r=new Array(e);for(let o=0;o<e;o++)r[o]=t(o+1,o,void 0,i)}else if(He(e))if(e[Symbol.iterator])r=Array.from(e,(o,a)=>t(o,a,void 0,i));else{const o=Object.keys(e);r=new Array(o.length);for(let a=0,l=o.length;a<l;a++){const c=o[a];r[a]=t(e[c],c,a,i)}}else r=[];return r}function I0(e,t,n={},u,r){if(ut.ce||ut.parent&&Lu(ut.parent)&&ut.parent.ce)return j(),xt(he,null,[W("slot",n,u)],64);let i=e[t];i&&i._c&&(i._d=!1),j();const s=i&&F0(i(n)),o=n.key||s&&s.key,a=xt(he,{key:(o&&!Dn(o)?o:`_${t}`)+""},s||[],s&&e._===1?64:-2);return!r&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),i&&i._c&&(i._d=!0),a}function F0(e){return e.some(t=>_r(t)?!(t.type===Et||t.type===he&&!F0(t.children)):!0)?e:null}const $s=e=>e?Z0(e)?ji(e):$s(e.parent):null,or=st(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>$s(e.parent),$root:e=>$s(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>O0(e),$forceUpdate:e=>e.f||(e.f=()=>{vo(e.update)}),$nextTick:e=>e.n||(e.n=pt.bind(e.proxy)),$watch:e=>_h.bind(e)}),as=(e,t)=>e!==Me&&!e.__isScriptSetup&&Le(e,t),J1={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:u,data:r,props:i,accessCache:s,type:o,appContext:a}=e;let l;if(t[0]!=="$"){const h=s[t];if(h!==void 0)switch(h){case 1:return u[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(as(u,t))return s[t]=1,u[t];if(r!==Me&&Le(r,t))return s[t]=2,r[t];if((l=e.propsOptions[0])&&Le(l,t))return s[t]=3,i[t];if(n!==Me&&Le(n,t))return s[t]=4,n[t];Bs&&(s[t]=0)}}const c=or[t];let f,d;if(c)return t==="$attrs"&&dt(e.attrs,"get",""),c(e);if((f=o.__cssModules)&&(f=f[t]))return f;if(n!==Me&&Le(n,t))return s[t]=4,n[t];if(d=a.config.globalProperties,Le(d,t))return d[t]},set({_:e},t,n){const{data:u,setupState:r,ctx:i}=e;return as(r,t)?(r[t]=n,!0):u!==Me&&Le(u,t)?(u[t]=n,!0):Le(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:u,appContext:r,propsOptions:i}},s){let o;return!!n[s]||e!==Me&&Le(e,s)||as(t,s)||(o=i[0])&&Le(o,s)||Le(u,s)||Le(or,s)||Le(r.config.globalProperties,s)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Le(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function ia(e){return le(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Bs=!0;function Q1(e){const t=O0(e),n=e.proxy,u=e.ctx;Bs=!1,t.beforeCreate&&sa(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:s,watch:o,provide:a,inject:l,created:c,beforeMount:f,mounted:d,beforeUpdate:h,updated:p,activated:x,deactivated:w,beforeDestroy:A,beforeUnmount:T,destroyed:g,unmounted:_,render:E,renderTracked:v,renderTriggered:S,errorCaptured:N,serverPrefetch:I,expose:G,inheritAttrs:te,components:U,directives:K,filters:ue}=t;if(l&&eh(l,u,null),s)for(const be in s){const H=s[be];ge(H)&&(u[be]=H.bind(n))}if(r){const be=r.call(n,n);He(be)&&(e.data=zu(be))}if(Bs=!0,i)for(const be in i){const H=i[be],re=ge(H)?H.bind(n,n):ge(H.get)?H.get.bind(n,n):an,J=!ge(H)&&ge(H.set)?H.set.bind(n):an,_e=xe({get:re,set:J});Object.defineProperty(u,be,{enumerable:!0,configurable:!0,get:()=>_e.value,set:ie=>_e.value=ie})}if(o)for(const be in o)L0(o[be],u,n,be);if(a){const be=ge(a)?a.call(n):a;Reflect.ownKeys(be).forEach(H=>{$i(H,be[H])})}c&&sa(c,e,"c");function se(be,H){le(H)?H.forEach(re=>be(re.bind(n))):H&&be(H.bind(n))}if(se(D0,f),se(Ht,d),se(H1,h),se(z1,p),se(yo,x),se(Mi,w),se(G1,N),se(Y1,v),se(q1,S),se(xo,T),se(Kn,_),se(W1,I),le(G))if(G.length){const be=e.exposed||(e.exposed={});G.forEach(H=>{Object.defineProperty(be,H,{get:()=>n[H],set:re=>n[H]=re})})}else e.exposed||(e.exposed={});E&&e.render===an&&(e.render=E),te!=null&&(e.inheritAttrs=te),U&&(e.components=U),K&&(e.directives=K),I&&A0(e)}function eh(e,t,n=an){le(e)&&(e=js(e));for(const u in e){const r=e[u];let i;He(r)?"default"in r?i=Un(r.from||u,r.default,!0):i=Un(r.from||u):i=Un(r),rt(i)?Object.defineProperty(t,u,{enumerable:!0,configurable:!0,get:()=>i.value,set:s=>i.value=s}):t[u]=i}}function sa(e,t,n){Zt(le(e)?e.map(u=>u.bind(t.proxy)):e.bind(t.proxy),t,n)}function L0(e,t,n,u){let r=u.includes(".")?q0(n,u):()=>n[u];if(Ye(e)){const i=t[e];ge(i)&&Je(r,i)}else if(ge(e))Je(r,e.bind(n));else if(He(e))if(le(e))e.forEach(i=>L0(i,t,n,u));else{const i=ge(e.handler)?e.handler.bind(n):t[e.handler];ge(i)&&Je(r,i,e)}}function O0(e){const t=e.type,{mixins:n,extends:u}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:s}}=e.appContext,o=i.get(t);let a;return o?a=o:!r.length&&!n&&!u?a=t:(a={},r.length&&r.forEach(l=>gi(a,l,s,!0)),gi(a,t,s)),He(t)&&i.set(t,a),a}function gi(e,t,n,u=!1){const{mixins:r,extends:i}=t;i&&gi(e,i,n,!0),r&&r.forEach(s=>gi(e,s,n,!0));for(const s in t)if(!(u&&s==="expose")){const o=th[s]||n&&n[s];e[s]=o?o(e[s],t[s]):t[s]}return e}const th={data:oa,props:aa,emits:aa,methods:tr,computed:tr,beforeCreate:gt,created:gt,beforeMount:gt,mounted:gt,beforeUpdate:gt,updated:gt,beforeDestroy:gt,beforeUnmount:gt,destroyed:gt,unmounted:gt,activated:gt,deactivated:gt,errorCaptured:gt,serverPrefetch:gt,components:tr,directives:tr,watch:uh,provide:oa,inject:nh};function oa(e,t){return t?e?function(){return st(ge(e)?e.call(this,this):e,ge(t)?t.call(this,this):t)}:t:e}function nh(e,t){return tr(js(e),js(t))}function js(e){if(le(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function gt(e,t){return e?[...new Set([].concat(e,t))]:t}function tr(e,t){return e?st(Object.create(null),e,t):t}function aa(e,t){return e?le(e)&&le(t)?[...new Set([...e,...t])]:st(Object.create(null),ia(e),ia(t??{})):t}function uh(e,t){if(!e)return t;if(!t)return e;const n=st(Object.create(null),e);for(const u in t)n[u]=gt(e[u],t[u]);return n}function N0(){return{app:null,config:{isNativeTag:Kd,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let rh=0;function ih(e,t){return function(u,r=null){ge(u)||(u=st({},u)),r!=null&&!He(r)&&(r=null);const i=N0(),s=new WeakSet,o=[];let a=!1;const l=i.app={_uid:rh++,_component:u,_props:r,_container:null,_context:i,_instance:null,version:Bh,get config(){return i.config},set config(c){},use(c,...f){return s.has(c)||(c&&ge(c.install)?(s.add(c),c.install(l,...f)):ge(c)&&(s.add(c),c(l,...f))),l},mixin(c){return i.mixins.includes(c)||i.mixins.push(c),l},component(c,f){return f?(i.components[c]=f,l):i.components[c]},directive(c,f){return f?(i.directives[c]=f,l):i.directives[c]},mount(c,f,d){if(!a){const h=l._ceVNode||W(u,r);return h.appContext=i,d===!0?d="svg":d===!1&&(d=void 0),e(h,c,d),a=!0,l._container=c,c.__vue_app__=l,ji(h.component)}},onUnmount(c){o.push(c)},unmount(){a&&(Zt(o,l._instance,16),e(null,l._container),delete l._container.__vue_app__)},provide(c,f){return i.provides[c]=f,l},runWithContext(c){const f=Ou;Ou=l;try{return c()}finally{Ou=f}}};return l}}let Ou=null;function $i(e,t){if(lt){let n=lt.provides;const u=lt.parent&<.parent.provides;u===n&&(n=lt.provides=Object.create(u)),n[e]=t}}function Un(e,t,n=!1){const u=lt||ut;if(u||Ou){const r=Ou?Ou._context.provides:u?u.parent==null?u.vnode.appContext&&u.vnode.appContext.provides:u.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return n&&ge(t)?t.call(u&&u.proxy):t}}const P0={},M0=()=>Object.create(P0),R0=e=>Object.getPrototypeOf(e)===P0;function sh(e,t,n,u=!1){const r={},i=M0();e.propsDefaults=Object.create(null),$0(e,t,r,i);for(const s in e.propsOptions[0])s in r||(r[s]=void 0);n?e.props=u?r:T1(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function oh(e,t,n,u){const{props:r,attrs:i,vnode:{patchFlag:s}}=e,o=Fe(r),[a]=e.propsOptions;let l=!1;if((u||s>0)&&!(s&16)){if(s&8){const c=e.vnode.dynamicProps;for(let f=0;f<c.length;f++){let d=c[f];if(Bi(e.emitsOptions,d))continue;const h=t[d];if(a)if(Le(i,d))h!==i[d]&&(i[d]=h,l=!0);else{const p=Bt(d);r[p]=Us(a,o,p,h,e,!1)}else h!==i[d]&&(i[d]=h,l=!0)}}}else{$0(e,t,r,i)&&(l=!0);let c;for(const f in o)(!t||!Le(t,f)&&((c=qn(f))===f||!Le(t,c)))&&(a?n&&(n[f]!==void 0||n[c]!==void 0)&&(r[f]=Us(a,o,f,void 0,e,!0)):delete r[f]);if(i!==o)for(const f in i)(!t||!Le(t,f))&&(delete i[f],l=!0)}l&&yn(e.attrs,"set","")}function $0(e,t,n,u){const[r,i]=e.propsOptions;let s=!1,o;if(t)for(let a in t){if(ur(a))continue;const l=t[a];let c;r&&Le(r,c=Bt(a))?!i||!i.includes(c)?n[c]=l:(o||(o={}))[c]=l:Bi(e.emitsOptions,a)||(!(a in u)||l!==u[a])&&(u[a]=l,s=!0)}if(i){const a=Fe(n),l=o||Me;for(let c=0;c<i.length;c++){const f=i[c];n[f]=Us(r,a,f,l[f],e,!Le(l,f))}}return s}function Us(e,t,n,u,r,i){const s=e[n];if(s!=null){const o=Le(s,"default");if(o&&u===void 0){const a=s.default;if(s.type!==Function&&!s.skipFactory&&ge(a)){const{propsDefaults:l}=r;if(n in l)u=l[n];else{const c=Pr(r);u=l[n]=a.call(null,t),c()}}else u=a;r.ce&&r.ce._setProp(n,u)}s[0]&&(i&&!o?u=!1:s[1]&&(u===""||u===qn(n))&&(u=!0))}return u}const ah=new WeakMap;function B0(e,t,n=!1){const u=n?ah:t.propsCache,r=u.get(e);if(r)return r;const i=e.props,s={},o=[];let a=!1;if(!ge(e)){const c=f=>{a=!0;const[d,h]=B0(f,t,!0);st(s,d),h&&o.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!i&&!a)return He(e)&&u.set(e,Du),Du;if(le(i))for(let c=0;c<i.length;c++){const f=Bt(i[c]);la(f)&&(s[f]=Me)}else if(i)for(const c in i){const f=Bt(c);if(la(f)){const d=i[c],h=s[f]=le(d)||ge(d)?{type:d}:st({},d),p=h.type;let x=!1,w=!0;if(le(p))for(let A=0;A<p.length;++A){const T=p[A],g=ge(T)&&T.name;if(g==="Boolean"){x=!0;break}else g==="String"&&(w=!1)}else x=ge(p)&&p.name==="Boolean";h[0]=x,h[1]=w,(x||Le(h,"default"))&&o.push(f)}}const l=[s,o];return He(e)&&u.set(e,l),l}function la(e){return e[0]!=="$"&&!ur(e)}const j0=e=>e[0]==="_"||e==="$stable",Eo=e=>le(e)?e.map(nn):[nn(e)],lh=(e,t,n)=>{if(t._n)return t;const u=m0((...r)=>Eo(t(...r)),n);return u._c=!1,u},U0=(e,t,n)=>{const u=e._ctx;for(const r in e){if(j0(r))continue;const i=e[r];if(ge(i))t[r]=lh(r,i,u);else if(i!=null){const s=Eo(i);t[r]=()=>s}}},V0=(e,t)=>{const n=Eo(t);e.slots.default=()=>n},H0=(e,t,n)=>{for(const u in t)(n||u!=="_")&&(e[u]=t[u])},ch=(e,t,n)=>{const u=e.slots=M0();if(e.vnode.shapeFlag&32){const r=t._;r?(H0(u,t,n),n&&Uc(u,"_",r,!0)):U0(t,u)}else t&&V0(e,t)},fh=(e,t,n)=>{const{vnode:u,slots:r}=e;let i=!0,s=Me;if(u.shapeFlag&32){const o=t._;o?n&&o===1?i=!1:H0(r,t,n):(i=!t.$stable,U0(t,r)),s=t}else t&&(V0(e,t),s={default:1});if(i)for(const o in r)!j0(o)&&s[o]==null&&delete r[o]},_t=wh;function dh(e){return hh(e)}function hh(e,t){const n=Li();n.__VUE__=!0;const{insert:u,remove:r,patchProp:i,createElement:s,createText:o,createComment:a,setText:l,setElementText:c,parentNode:f,nextSibling:d,setScopeId:h=an,insertStaticContent:p}=e,x=(y,k,C,O=null,B=null,M=null,Y=void 0,q=null,m=!!k.dynamicChildren)=>{if(y===k)return;y&&!au(y,k)&&(O=$(y),ie(y,B,M,!0),y=null),k.patchFlag===-2&&(m=!1,k.dynamicChildren=null);const{type:b,ref:L,shapeFlag:P}=k;switch(b){case Nr:w(y,k,C,O);break;case Et:A(y,k,C,O);break;case ri:y==null&&T(k,C,O,Y);break;case he:U(y,k,C,O,B,M,Y,q,m);break;default:P&1?E(y,k,C,O,B,M,Y,q,m):P&6?K(y,k,C,O,B,M,Y,q,m):(P&64||P&128)&&b.process(y,k,C,O,B,M,Y,q,m,ke)}L!=null&&B&&mi(L,y&&y.ref,M,k||y,!k)},w=(y,k,C,O)=>{if(y==null)u(k.el=o(k.children),C,O);else{const B=k.el=y.el;k.children!==y.children&&l(B,k.children)}},A=(y,k,C,O)=>{y==null?u(k.el=a(k.children||""),C,O):k.el=y.el},T=(y,k,C,O)=>{[y.el,y.anchor]=p(y.children,k,C,O,y.el,y.anchor)},g=({el:y,anchor:k},C,O)=>{let B;for(;y&&y!==k;)B=d(y),u(y,C,O),y=B;u(k,C,O)},_=({el:y,anchor:k})=>{let C;for(;y&&y!==k;)C=d(y),r(y),y=C;r(k)},E=(y,k,C,O,B,M,Y,q,m)=>{k.type==="svg"?Y="svg":k.type==="math"&&(Y="mathml"),y==null?v(k,C,O,B,M,Y,q,m):I(y,k,B,M,Y,q,m)},v=(y,k,C,O,B,M,Y,q)=>{let m,b;const{props:L,shapeFlag:P,transition:X,dirs:z}=y;if(m=y.el=s(y.type,M,L&&L.is,L),P&8?c(m,y.children):P&16&&N(y.children,m,null,O,B,ls(y,M),Y,q),z&&tu(y,null,O,"created"),S(m,y,y.scopeId,Y,O),L){for(const R in L)R!=="value"&&!ur(R)&&i(m,R,null,L[R],M,O);"value"in L&&i(m,"value",null,L.value,M),(b=L.onVnodeBeforeMount)&&en(b,O,y)}z&&tu(y,null,O,"beforeMount");const D=ph(B,X);D&&X.beforeEnter(m),u(m,k,C),((b=L&&L.onVnodeMounted)||D||z)&&_t(()=>{b&&en(b,O,y),D&&X.enter(m),z&&tu(y,null,O,"mounted")},B)},S=(y,k,C,O,B)=>{if(C&&h(y,C),O)for(let M=0;M<O.length;M++)h(y,O[M]);if(B){let M=B.subTree;if(k===M||G0(M.type)&&(M.ssContent===k||M.ssFallback===k)){const Y=B.vnode;S(y,Y,Y.scopeId,Y.slotScopeIds,B.parent)}}},N=(y,k,C,O,B,M,Y,q,m=0)=>{for(let b=m;b<y.length;b++){const L=y[b]=q?Pn(y[b]):nn(y[b]);x(null,L,k,C,O,B,M,Y,q)}},I=(y,k,C,O,B,M,Y)=>{const q=k.el=y.el;let{patchFlag:m,dynamicChildren:b,dirs:L}=k;m|=y.patchFlag&16;const P=y.props||Me,X=k.props||Me;let z;if(C&&nu(C,!1),(z=X.onVnodeBeforeUpdate)&&en(z,C,k,y),L&&tu(k,y,C,"beforeUpdate"),C&&nu(C,!0),(P.innerHTML&&X.innerHTML==null||P.textContent&&X.textContent==null)&&c(q,""),b?G(y.dynamicChildren,b,q,C,O,ls(k,B),M):Y||H(y,k,q,null,C,O,ls(k,B),M,!1),m>0){if(m&16)te(q,P,X,C,B);else if(m&2&&P.class!==X.class&&i(q,"class",null,X.class,B),m&4&&i(q,"style",P.style,X.style,B),m&8){const D=k.dynamicProps;for(let R=0;R<D.length;R++){const Q=D[R],we=P[Q],We=X[Q];(We!==we||Q==="value")&&i(q,Q,we,We,B,C)}}m&1&&y.children!==k.children&&c(q,k.children)}else!Y&&b==null&&te(q,P,X,C,B);((z=X.onVnodeUpdated)||L)&&_t(()=>{z&&en(z,C,k,y),L&&tu(k,y,C,"updated")},O)},G=(y,k,C,O,B,M,Y)=>{for(let q=0;q<k.length;q++){const m=y[q],b=k[q],L=m.el&&(m.type===he||!au(m,b)||m.shapeFlag&70)?f(m.el):C;x(m,b,L,null,O,B,M,Y,!0)}},te=(y,k,C,O,B)=>{if(k!==C){if(k!==Me)for(const M in k)!ur(M)&&!(M in C)&&i(y,M,k[M],null,B,O);for(const M in C){if(ur(M))continue;const Y=C[M],q=k[M];Y!==q&&M!=="value"&&i(y,M,q,Y,B,O)}"value"in C&&i(y,"value",k.value,C.value,B)}},U=(y,k,C,O,B,M,Y,q,m)=>{const b=k.el=y?y.el:o(""),L=k.anchor=y?y.anchor:o("");let{patchFlag:P,dynamicChildren:X,slotScopeIds:z}=k;z&&(q=q?q.concat(z):z),y==null?(u(b,C,O),u(L,C,O),N(k.children||[],C,L,B,M,Y,q,m)):P>0&&P&64&&X&&y.dynamicChildren?(G(y.dynamicChildren,X,C,B,M,Y,q),(k.key!=null||B&&k===B.subTree)&&Co(y,k,!0)):H(y,k,C,L,B,M,Y,q,m)},K=(y,k,C,O,B,M,Y,q,m)=>{k.slotScopeIds=q,y==null?k.shapeFlag&512?B.ctx.activate(k,C,O,Y,m):ue(k,C,O,B,M,Y,m):ee(y,k,m)},ue=(y,k,C,O,B,M,Y)=>{const q=y.component=Lh(y,O,B);if(Pi(y)&&(q.ctx.renderer=ke),Oh(q,!1,Y),q.asyncDep){if(B&&B.registerDep(q,se,Y),!y.el){const m=q.subTree=W(Et);A(null,m,k,C)}}else se(q,y,k,C,B,M,Y)},ee=(y,k,C)=>{const O=k.component=y.component;if(Ch(y,k,C))if(O.asyncDep&&!O.asyncResolved){be(O,k,C);return}else O.next=k,O.update();else k.el=y.el,O.vnode=k},se=(y,k,C,O,B,M,Y)=>{const q=()=>{if(y.isMounted){let{next:P,bu:X,u:z,parent:D,vnode:R}=y;{const ot=z0(y);if(ot){P&&(P.el=R.el,be(y,P,Y)),ot.asyncDep.then(()=>{y.isUnmounted||q()});return}}let Q=P,we;nu(y,!1),P?(P.el=R.el,be(y,P,Y)):P=R,X&&ni(X),(we=P.props&&P.props.onVnodeBeforeUpdate)&&en(we,D,P,R),nu(y,!0);const We=fa(y),mt=y.subTree;y.subTree=We,x(mt,We,f(mt.el),$(mt),y,B,M),P.el=We.el,Q===null&&kh(y,We.el),z&&_t(z,B),(we=P.props&&P.props.onVnodeUpdated)&&_t(()=>en(we,D,P,R),B)}else{let P;const{el:X,props:z}=k,{bm:D,m:R,parent:Q,root:we,type:We}=y,mt=Lu(k);nu(y,!1),D&&ni(D),!mt&&(P=z&&z.onVnodeBeforeMount)&&en(P,Q,k),nu(y,!0);{we.ce&&we.ce._injectChildStyle(We);const ot=y.subTree=fa(y);x(null,ot,C,O,y,B,M),k.el=ot.el}if(R&&_t(R,B),!mt&&(P=z&&z.onVnodeMounted)){const ot=k;_t(()=>en(P,Q,ot),B)}(k.shapeFlag&256||Q&&Lu(Q.vnode)&&Q.vnode.shapeFlag&256)&&y.a&&_t(y.a,B),y.isMounted=!0,k=C=O=null}};y.scope.on();const m=y.effect=new qc(q);y.scope.off();const b=y.update=m.run.bind(m),L=y.job=m.runIfDirty.bind(m);L.i=y,L.id=y.uid,m.scheduler=()=>vo(L),nu(y,!0),b()},be=(y,k,C)=>{k.component=y;const O=y.vnode.props;y.vnode=k,y.next=null,oh(y,k.props,O,C),fh(y,k.children,C),Yn(),Qo(y),Gn()},H=(y,k,C,O,B,M,Y,q,m=!1)=>{const b=y&&y.children,L=y?y.shapeFlag:0,P=k.children,{patchFlag:X,shapeFlag:z}=k;if(X>0){if(X&128){J(b,P,C,O,B,M,Y,q,m);return}else if(X&256){re(b,P,C,O,B,M,Y,q,m);return}}z&8?(L&16&&Ce(b,B,M),P!==b&&c(C,P)):L&16?z&16?J(b,P,C,O,B,M,Y,q,m):Ce(b,B,M,!0):(L&8&&c(C,""),z&16&&N(P,C,O,B,M,Y,q,m))},re=(y,k,C,O,B,M,Y,q,m)=>{y=y||Du,k=k||Du;const b=y.length,L=k.length,P=Math.min(b,L);let X;for(X=0;X<P;X++){const z=k[X]=m?Pn(k[X]):nn(k[X]);x(y[X],z,C,null,B,M,Y,q,m)}b>L?Ce(y,B,M,!0,!1,P):N(k,C,O,B,M,Y,q,m,P)},J=(y,k,C,O,B,M,Y,q,m)=>{let b=0;const L=k.length;let P=y.length-1,X=L-1;for(;b<=P&&b<=X;){const z=y[b],D=k[b]=m?Pn(k[b]):nn(k[b]);if(au(z,D))x(z,D,C,null,B,M,Y,q,m);else break;b++}for(;b<=P&&b<=X;){const z=y[P],D=k[X]=m?Pn(k[X]):nn(k[X]);if(au(z,D))x(z,D,C,null,B,M,Y,q,m);else break;P--,X--}if(b>P){if(b<=X){const z=X+1,D=z<L?k[z].el:O;for(;b<=X;)x(null,k[b]=m?Pn(k[b]):nn(k[b]),C,D,B,M,Y,q,m),b++}}else if(b>X)for(;b<=P;)ie(y[b],B,M,!0),b++;else{const z=b,D=b,R=new Map;for(b=D;b<=X;b++){const Tt=k[b]=m?Pn(k[b]):nn(k[b]);Tt.key!=null&&R.set(Tt.key,b)}let Q,we=0;const We=X-D+1;let mt=!1,ot=0;const eu=new Array(We);for(b=0;b<We;b++)eu[b]=0;for(b=z;b<=P;b++){const Tt=y[b];if(we>=We){ie(Tt,B,M,!0);continue}let Qt;if(Tt.key!=null)Qt=R.get(Tt.key);else for(Q=D;Q<=X;Q++)if(eu[Q-D]===0&&au(Tt,k[Q])){Qt=Q;break}Qt===void 0?ie(Tt,B,M,!0):(eu[Qt-D]=b+1,Qt>=ot?ot=Qt:mt=!0,x(Tt,k[Qt],C,null,B,M,Y,q,m),we++)}const ts=mt?mh(eu):Du;for(Q=ts.length-1,b=We-1;b>=0;b--){const Tt=D+b,Qt=k[Tt],Ko=Tt+1<L?k[Tt+1].el:O;eu[b]===0?x(null,Qt,C,Ko,B,M,Y,q,m):mt&&(Q<0||b!==ts[Q]?_e(Qt,C,Ko,2):Q--)}}},_e=(y,k,C,O,B=null)=>{const{el:M,type:Y,transition:q,children:m,shapeFlag:b}=y;if(b&6){_e(y.component.subTree,k,C,O);return}if(b&128){y.suspense.move(k,C,O);return}if(b&64){Y.move(y,k,C,ke);return}if(Y===he){u(M,k,C);for(let P=0;P<m.length;P++)_e(m[P],k,C,O);u(y.anchor,k,C);return}if(Y===ri){g(y,k,C);return}if(O!==2&&b&1&&q)if(O===0)q.beforeEnter(M),u(M,k,C),_t(()=>q.enter(M),B);else{const{leave:P,delayLeave:X,afterLeave:z}=q,D=()=>u(M,k,C),R=()=>{P(M,()=>{D(),z&&z()})};X?X(M,D,R):R()}else u(M,k,C)},ie=(y,k,C,O=!1,B=!1)=>{const{type:M,props:Y,ref:q,children:m,dynamicChildren:b,shapeFlag:L,patchFlag:P,dirs:X,cacheIndex:z}=y;if(P===-2&&(B=!1),q!=null&&mi(q,null,C,y,!0),z!=null&&(k.renderCache[z]=void 0),L&256){k.ctx.deactivate(y);return}const D=L&1&&X,R=!Lu(y);let Q;if(R&&(Q=Y&&Y.onVnodeBeforeUnmount)&&en(Q,k,y),L&6)At(y.component,C,O);else{if(L&128){y.suspense.unmount(C,O);return}D&&tu(y,null,k,"beforeUnmount"),L&64?y.type.remove(y,k,C,ke,O):b&&!b.hasOnce&&(M!==he||P>0&&P&64)?Ce(b,k,C,!1,!0):(M===he&&P&384||!B&&L&16)&&Ce(m,k,C),O&&Ge(y)}(R&&(Q=Y&&Y.onVnodeUnmounted)||D)&&_t(()=>{Q&&en(Q,k,y),D&&tu(y,null,k,"unmounted")},C)},Ge=y=>{const{type:k,el:C,anchor:O,transition:B}=y;if(k===he){Ae(C,O);return}if(k===ri){_(y);return}const M=()=>{r(C),B&&!B.persisted&&B.afterLeave&&B.afterLeave()};if(y.shapeFlag&1&&B&&!B.persisted){const{leave:Y,delayLeave:q}=B,m=()=>Y(C,M);q?q(y.el,M,m):m()}else M()},Ae=(y,k)=>{let C;for(;y!==k;)C=d(y),r(y),y=C;r(k)},At=(y,k,C)=>{const{bum:O,scope:B,job:M,subTree:Y,um:q,m,a:b}=y;ca(m),ca(b),O&&ni(O),B.stop(),M&&(M.flags|=8,ie(Y,y,k,C)),q&&_t(q,k),_t(()=>{y.isUnmounted=!0},k),k&&k.pendingBranch&&!k.isUnmounted&&y.asyncDep&&!y.asyncResolved&&y.suspenseId===k.pendingId&&(k.deps--,k.deps===0&&k.resolve())},Ce=(y,k,C,O=!1,B=!1,M=0)=>{for(let Y=M;Y<y.length;Y++)ie(y[Y],k,C,O,B)},$=y=>{if(y.shapeFlag&6)return $(y.component.subTree);if(y.shapeFlag&128)return y.suspense.next();const k=d(y.anchor||y.el),C=k&&k[g0];return C?d(C):k};let ce=!1;const fe=(y,k,C)=>{y==null?k._vnode&&ie(k._vnode,null,null,!0):x(k._vnode||null,y,k,null,null,null,C),k._vnode=y,ce||(ce=!0,Qo(),d0(),ce=!1)},ke={p:x,um:ie,m:_e,r:Ge,mt:ue,mc:N,pc:H,pbc:G,n:$,o:e};return{render:fe,hydrate:void 0,createApp:ih(fe)}}function ls({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function nu({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function ph(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Co(e,t,n=!1){const u=e.children,r=t.children;if(le(u)&&le(r))for(let i=0;i<u.length;i++){const s=u[i];let o=r[i];o.shapeFlag&1&&!o.dynamicChildren&&((o.patchFlag<=0||o.patchFlag===32)&&(o=r[i]=Pn(r[i]),o.el=s.el),!n&&o.patchFlag!==-2&&Co(s,o)),o.type===Nr&&(o.el=s.el)}}function mh(e){const t=e.slice(),n=[0];let u,r,i,s,o;const a=e.length;for(u=0;u<a;u++){const l=e[u];if(l!==0){if(r=n[n.length-1],e[r]<l){t[u]=r,n.push(u);continue}for(i=0,s=n.length-1;i<s;)o=i+s>>1,e[n[o]]<l?i=o+1:s=o;l<e[n[i]]&&(i>0&&(t[u]=n[i-1]),n[i]=u)}}for(i=n.length,s=n[i-1];i-- >0;)n[i]=s,s=t[s];return n}function z0(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:z0(t)}function ca(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const gh=Symbol.for("v-scx"),bh=()=>Un(gh);function Je(e,t,n){return W0(e,t,n)}function W0(e,t,n=Me){const{immediate:u,deep:r,flush:i,once:s}=n,o=st({},n),a=t&&u||!t&&i!=="post";let l;if(vr){if(i==="sync"){const h=bh();l=h.__watcherHandles||(h.__watcherHandles=[])}else if(!a){const h=()=>{};return h.stop=an,h.resume=an,h.pause=an,h}}const c=lt;o.call=(h,p,x)=>Zt(h,c,p,x);let f=!1;i==="post"?o.scheduler=h=>{_t(h,c&&c.suspense)}:i!=="sync"&&(f=!0,o.scheduler=(h,p)=>{p?h():vo(h)}),o.augmentJob=h=>{t&&(h.flags|=4),f&&(h.flags|=2,c&&(h.id=c.uid,h.i=c))};const d=N1(e,t,o);return vr&&(l?l.push(d):a&&d()),d}function _h(e,t,n){const u=this.proxy,r=Ye(e)?e.includes(".")?q0(u,e):()=>u[e]:e.bind(u,u);let i;ge(t)?i=t:(i=t.handler,n=t);const s=Pr(this),o=W0(r,i.bind(u),n);return s(),o}function q0(e,t){const n=t.split(".");return()=>{let u=e;for(let r=0;r<n.length&&u;r++)u=u[n[r]];return u}}const vh=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Bt(t)}Modifiers`]||e[`${qn(t)}Modifiers`];function yh(e,t,...n){if(e.isUnmounted)return;const u=e.vnode.props||Me;let r=n;const i=t.startsWith("update:"),s=i&&vh(u,t.slice(7));s&&(s.trim&&(r=n.map(c=>Ye(c)?c.trim():c)),s.number&&(r=n.map(Is)));let o,a=u[o=ns(t)]||u[o=ns(Bt(t))];!a&&i&&(a=u[o=ns(qn(t))]),a&&Zt(a,e,6,r);const l=u[o+"Once"];if(l){if(!e.emitted)e.emitted={};else if(e.emitted[o])return;e.emitted[o]=!0,Zt(l,e,6,r)}}function Y0(e,t,n=!1){const u=t.emitsCache,r=u.get(e);if(r!==void 0)return r;const i=e.emits;let s={},o=!1;if(!ge(e)){const a=l=>{const c=Y0(l,t,!0);c&&(o=!0,st(s,c))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!i&&!o?(He(e)&&u.set(e,null),null):(le(i)?i.forEach(a=>s[a]=null):st(s,i),He(e)&&u.set(e,s),s)}function Bi(e,t){return!e||!Di(t)?!1:(t=t.slice(2).replace(/Once$/,""),Le(e,t[0].toLowerCase()+t.slice(1))||Le(e,qn(t))||Le(e,t))}function fa(e){const{type:t,vnode:n,proxy:u,withProxy:r,propsOptions:[i],slots:s,attrs:o,emit:a,render:l,renderCache:c,props:f,data:d,setupState:h,ctx:p,inheritAttrs:x}=e,w=pi(e);let A,T;try{if(n.shapeFlag&4){const _=r||u,E=_;A=nn(l.call(E,_,c,f,h,d,p)),T=o}else{const _=t;A=nn(_.length>1?_(f,{attrs:o,slots:s,emit:a}):_(f,null)),T=t.props?o:xh(o)}}catch(_){ar.length=0,Ni(_,e,1),A=W(Et)}let g=A;if(T&&x!==!1){const _=Object.keys(T),{shapeFlag:E}=g;_.length&&E&7&&(i&&_.some(ao)&&(T=Eh(T,i)),g=Hn(g,T,!1,!0))}return n.dirs&&(g=Hn(g,null,!1,!0),g.dirs=g.dirs?g.dirs.concat(n.dirs):n.dirs),n.transition&&gr(g,n.transition),A=g,pi(w),A}const xh=e=>{let t;for(const n in e)(n==="class"||n==="style"||Di(n))&&((t||(t={}))[n]=e[n]);return t},Eh=(e,t)=>{const n={};for(const u in e)(!ao(u)||!(u.slice(9)in t))&&(n[u]=e[u]);return n};function Ch(e,t,n){const{props:u,children:r,component:i}=e,{props:s,children:o,patchFlag:a}=t,l=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return u?da(u,s,l):!!s;if(a&8){const c=t.dynamicProps;for(let f=0;f<c.length;f++){const d=c[f];if(s[d]!==u[d]&&!Bi(l,d))return!0}}}else return(r||o)&&(!o||!o.$stable)?!0:u===s?!1:u?s?da(u,s,l):!0:!!s;return!1}function da(e,t,n){const u=Object.keys(t);if(u.length!==Object.keys(e).length)return!0;for(let r=0;r<u.length;r++){const i=u[r];if(t[i]!==e[i]&&!Bi(n,i))return!0}return!1}function kh({vnode:e,parent:t},n){for(;t;){const u=t.subTree;if(u.suspense&&u.suspense.activeBranch===e&&(u.el=e.el),u===e)(e=t.vnode).el=n,t=t.parent;else break}}const G0=e=>e.__isSuspense;function wh(e,t){t&&t.pendingBranch?le(e)?t.effects.push(...e):t.effects.push(e):R1(e)}const he=Symbol.for("v-fgt"),Nr=Symbol.for("v-txt"),Et=Symbol.for("v-cmt"),ri=Symbol.for("v-stc"),ar=[];let It=null;function j(e=!1){ar.push(It=e?null:[])}function Ah(){ar.pop(),It=ar[ar.length-1]||null}let br=1;function ha(e,t=!1){br+=e,e<0&&It&&t&&(It.hasOnce=!0)}function K0(e){return e.dynamicChildren=br>0?It||Du:null,Ah(),br>0&&It&&It.push(e),e}function V(e,t,n,u,r,i){return K0(F(e,t,n,u,r,i,!0))}function xt(e,t,n,u,r){return K0(W(e,t,n,u,r,!0))}function _r(e){return e?e.__v_isVNode===!0:!1}function au(e,t){return e.type===t.type&&e.key===t.key}const X0=({key:e})=>e??null,ii=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ye(e)||rt(e)||ge(e)?{i:ut,r:e,k:t,f:!!n}:e:null);function F(e,t=null,n=null,u=0,r=null,i=e===he?0:1,s=!1,o=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&X0(t),ref:t&&ii(t),scopeId:p0,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:u,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:ut};return o?(ko(a,n),i&128&&e.normalize(a)):n&&(a.shapeFlag|=Ye(n)?8:16),br>0&&!s&&It&&(a.patchFlag>0||i&6)&&a.patchFlag!==32&&It.push(a),a}const W=Th;function Th(e,t=null,n=null,u=0,r=null,i=!1){if((!e||e===S0)&&(e=Et),_r(e)){const o=Hn(e,t,!0);return n&&ko(o,n),br>0&&!i&&It&&(o.shapeFlag&6?It[It.indexOf(e)]=o:It.push(o)),o.patchFlag=-2,o}if($h(e)&&(e=e.__vccOpts),t){t=Dh(t);let{class:o,style:a}=t;o&&!Ye(o)&&(t.class=vt(o)),He(a)&&(_o(a)&&!le(a)&&(a=st({},a)),t.style=wn(a))}const s=Ye(e)?1:G0(e)?128:b0(e)?64:He(e)?4:ge(e)?2:0;return F(e,t,n,u,r,s,i,!0)}function Dh(e){return e?_o(e)||R0(e)?st({},e):e:null}function Hn(e,t,n=!1,u=!1){const{props:r,ref:i,patchFlag:s,children:o,transition:a}=e,l=t?An(r||{},t):r,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&X0(l),ref:t&&t.ref?n&&i?le(i)?i.concat(ii(t)):[i,ii(t)]:ii(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==he?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:a,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Hn(e.ssContent),ssFallback:e.ssFallback&&Hn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return a&&u&&gr(c,a.clone(c)),c}function qt(e=" ",t=0){return W(Nr,null,e,t)}function Sh(e,t){const n=W(ri,null,e);return n.staticCount=t,n}function Ie(e="",t=!1){return t?(j(),xt(Et,null,e)):W(Et,null,e)}function nn(e){return e==null||typeof e=="boolean"?W(Et):le(e)?W(he,null,e.slice()):_r(e)?Pn(e):W(Nr,null,String(e))}function Pn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Hn(e)}function ko(e,t){let n=0;const{shapeFlag:u}=e;if(t==null)t=null;else if(le(t))n=16;else if(typeof t=="object")if(u&65){const r=t.default;r&&(r._c&&(r._d=!1),ko(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!R0(t)?t._ctx=ut:r===3&&ut&&(ut.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ge(t)?(t={default:t,_ctx:ut},n=32):(t=String(t),u&64?(n=16,t=[qt(t)]):n=8);e.children=t,e.shapeFlag|=n}function An(...e){const t={};for(let n=0;n<e.length;n++){const u=e[n];for(const r in u)if(r==="class")t.class!==u.class&&(t.class=vt([t.class,u.class]));else if(r==="style")t.style=wn([t.style,u.style]);else if(Di(r)){const i=t[r],s=u[r];s&&i!==s&&!(le(i)&&i.includes(s))&&(t[r]=i?[].concat(i,s):s)}else r!==""&&(t[r]=u[r])}return t}function en(e,t,n,u=null){Zt(e,t,7,[n,u])}const Ih=N0();let Fh=0;function Lh(e,t,n){const u=e.type,r=(t?t.appContext:e.appContext)||Ih,i={uid:Fh++,vnode:e,type:u,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Wc(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:B0(u,r),emitsOptions:Y0(u,r),emit:null,emitted:null,propsDefaults:Me,inheritAttrs:u.inheritAttrs,ctx:Me,data:Me,props:Me,attrs:Me,slots:Me,refs:Me,setupState:Me,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=yh.bind(null,i),e.ce&&e.ce(i),i}let lt=null;const jt=()=>lt||ut;let bi,Vs;{const e=Li(),t=(n,u)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(u),i=>{r.length>1?r.forEach(s=>s(i)):r[0](i)}};bi=t("__VUE_INSTANCE_SETTERS__",n=>lt=n),Vs=t("__VUE_SSR_SETTERS__",n=>vr=n)}const Pr=e=>{const t=lt;return bi(e),e.scope.on(),()=>{e.scope.off(),bi(t)}},pa=()=>{lt&<.scope.off(),bi(null)};function Z0(e){return e.vnode.shapeFlag&4}let vr=!1;function Oh(e,t=!1,n=!1){t&&Vs(t);const{props:u,children:r}=e.vnode,i=Z0(e);sh(e,u,i,t),ch(e,r,n);const s=i?Nh(e,t):void 0;return t&&Vs(!1),s}function Nh(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,J1);const{setup:u}=n;if(u){Yn();const r=e.setupContext=u.length>1?Mh(e):null,i=Pr(e),s=Lr(u,e,0,[e.props,r]),o=$c(s);if(Gn(),i(),(o||e.sp)&&!Lu(e)&&A0(e),o){if(s.then(pa,pa),t)return s.then(a=>{ma(e,a)}).catch(a=>{Ni(a,e,0)});e.asyncDep=s}else ma(e,s)}else J0(e)}function ma(e,t,n){ge(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:He(t)&&(e.setupState=l0(t)),J0(e)}function J0(e,t,n){const u=e.type;e.render||(e.render=u.render||an);{const r=Pr(e);Yn();try{Q1(e)}finally{Gn(),r()}}}const Ph={get(e,t){return dt(e,"get",""),e[t]}};function Mh(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Ph),slots:e.slots,emit:e.emit,expose:t}}function ji(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(l0(D1(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in or)return or[n](e)},has(t,n){return n in t||n in or}})):e.proxy}function Rh(e,t=!0){return ge(e)?e.displayName||e.name:e.name||t&&e.__name}function $h(e){return ge(e)&&"__vccOpts"in e}const xe=(e,t)=>L1(e,t,vr);function yr(e,t,n){const u=arguments.length;return u===2?He(t)&&!le(t)?_r(t)?W(e,null,[t]):W(e,t):W(e,null,t):(u>3?n=Array.prototype.slice.call(arguments,2):u===3&&_r(n)&&(n=[n]),W(e,t,n))}const Bh="3.5.13";/**
|
|
14
|
-
* @vue/runtime-dom v3.5.13
|
|
15
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
16
|
-
* @license MIT
|
|
17
|
-
**/let Hs;const ga=typeof window<"u"&&window.trustedTypes;if(ga)try{Hs=ga.createPolicy("vue",{createHTML:e=>e})}catch{}const Q0=Hs?e=>Hs.createHTML(e):e=>e,jh="http://www.w3.org/2000/svg",Uh="http://www.w3.org/1998/Math/MathML",vn=typeof document<"u"?document:null,ba=vn&&vn.createElement("template"),Vh={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,u)=>{const r=t==="svg"?vn.createElementNS(jh,e):t==="mathml"?vn.createElementNS(Uh,e):n?vn.createElement(e,{is:n}):vn.createElement(e);return e==="select"&&u&&u.multiple!=null&&r.setAttribute("multiple",u.multiple),r},createText:e=>vn.createTextNode(e),createComment:e=>vn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>vn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,u,r,i){const s=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{ba.innerHTML=Q0(u==="svg"?`<svg>${e}</svg>`:u==="mathml"?`<math>${e}</math>`:e);const o=ba.content;if(u==="svg"||u==="mathml"){const a=o.firstChild;for(;a.firstChild;)o.appendChild(a.firstChild);o.removeChild(a)}t.insertBefore(o,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Fn="transition",Ku="animation",xr=Symbol("_vtc"),ef={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Hh=st({},x0,ef),zh=e=>(e.displayName="Transition",e.props=Hh,e),tf=zh((e,{slots:t})=>yr(U1,Wh(e),t)),uu=(e,t=[])=>{le(e)?e.forEach(n=>n(...t)):e&&e(...t)},_a=e=>e?le(e)?e.some(t=>t.length>1):e.length>1:!1;function Wh(e){const t={};for(const U in e)U in ef||(t[U]=e[U]);if(e.css===!1)return t;const{name:n="v",type:u,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:o=`${n}-enter-to`,appearFromClass:a=i,appearActiveClass:l=s,appearToClass:c=o,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,p=qh(r),x=p&&p[0],w=p&&p[1],{onBeforeEnter:A,onEnter:T,onEnterCancelled:g,onLeave:_,onLeaveCancelled:E,onBeforeAppear:v=A,onAppear:S=T,onAppearCancelled:N=g}=t,I=(U,K,ue,ee)=>{U._enterCancelled=ee,ru(U,K?c:o),ru(U,K?l:s),ue&&ue()},G=(U,K)=>{U._isLeaving=!1,ru(U,f),ru(U,h),ru(U,d),K&&K()},te=U=>(K,ue)=>{const ee=U?S:T,se=()=>I(K,U,ue);uu(ee,[K,se]),va(()=>{ru(K,U?a:i),pn(K,U?c:o),_a(ee)||ya(K,u,x,se)})};return st(t,{onBeforeEnter(U){uu(A,[U]),pn(U,i),pn(U,s)},onBeforeAppear(U){uu(v,[U]),pn(U,a),pn(U,l)},onEnter:te(!1),onAppear:te(!0),onLeave(U,K){U._isLeaving=!0;const ue=()=>G(U,K);pn(U,f),U._enterCancelled?(pn(U,d),Ca()):(Ca(),pn(U,d)),va(()=>{U._isLeaving&&(ru(U,f),pn(U,h),_a(_)||ya(U,u,w,ue))}),uu(_,[U,ue])},onEnterCancelled(U){I(U,!1,void 0,!0),uu(g,[U])},onAppearCancelled(U){I(U,!0,void 0,!0),uu(N,[U])},onLeaveCancelled(U){G(U),uu(E,[U])}})}function qh(e){if(e==null)return null;if(He(e))return[cs(e.enter),cs(e.leave)];{const t=cs(e);return[t,t]}}function cs(e){return e1(e)}function pn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[xr]||(e[xr]=new Set)).add(t)}function ru(e,t){t.split(/\s+/).forEach(u=>u&&e.classList.remove(u));const n=e[xr];n&&(n.delete(t),n.size||(e[xr]=void 0))}function va(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Yh=0;function ya(e,t,n,u){const r=e._endId=++Yh,i=()=>{r===e._endId&&u()};if(n!=null)return setTimeout(i,n);const{type:s,timeout:o,propCount:a}=Gh(e,t);if(!s)return u();const l=s+"end";let c=0;const f=()=>{e.removeEventListener(l,d),i()},d=h=>{h.target===e&&++c>=a&&f()};setTimeout(()=>{c<a&&f()},o+1),e.addEventListener(l,d)}function Gh(e,t){const n=window.getComputedStyle(e),u=p=>(n[p]||"").split(", "),r=u(`${Fn}Delay`),i=u(`${Fn}Duration`),s=xa(r,i),o=u(`${Ku}Delay`),a=u(`${Ku}Duration`),l=xa(o,a);let c=null,f=0,d=0;t===Fn?s>0&&(c=Fn,f=s,d=i.length):t===Ku?l>0&&(c=Ku,f=l,d=a.length):(f=Math.max(s,l),c=f>0?s>l?Fn:Ku:null,d=c?c===Fn?i.length:a.length:0);const h=c===Fn&&/\b(transform|all)(,|$)/.test(u(`${Fn}Property`).toString());return{type:c,timeout:f,propCount:d,hasTransform:h}}function xa(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,u)=>Ea(n)+Ea(e[u])))}function Ea(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Ca(){return document.body.offsetHeight}function Kh(e,t,n){const u=e[xr];u&&(t=(t?[t,...u]:[...u]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const _i=Symbol("_vod"),nf=Symbol("_vsh"),Ui={beforeMount(e,{value:t},{transition:n}){e[_i]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Xu(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:u}){!t!=!n&&(u?t?(u.beforeEnter(e),Xu(e,!0),u.enter(e)):u.leave(e,()=>{Xu(e,!1)}):Xu(e,t))},beforeUnmount(e,{value:t}){Xu(e,t)}};function Xu(e,t){e.style.display=t?e[_i]:"none",e[nf]=!t}const Xh=Symbol(""),Zh=/(^|;)\s*display\s*:/;function Jh(e,t,n){const u=e.style,r=Ye(n);let i=!1;if(n&&!r){if(t)if(Ye(t))for(const s of t.split(";")){const o=s.slice(0,s.indexOf(":")).trim();n[o]==null&&si(u,o,"")}else for(const s in t)n[s]==null&&si(u,s,"");for(const s in n)s==="display"&&(i=!0),si(u,s,n[s])}else if(r){if(t!==n){const s=u[Xh];s&&(n+=";"+s),u.cssText=n,i=Zh.test(n)}}else t&&e.removeAttribute("style");_i in e&&(e[_i]=i?u.display:"",e[nf]&&(u.display="none"))}const ka=/\s*!important$/;function si(e,t,n){if(le(n))n.forEach(u=>si(e,t,u));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const u=Qh(e,t);ka.test(n)?e.setProperty(qn(u),n.replace(ka,""),"important"):e[u]=n}}const wa=["Webkit","Moz","ms"],fs={};function Qh(e,t){const n=fs[t];if(n)return n;let u=Bt(t);if(u!=="filter"&&u in e)return fs[t]=u;u=Fi(u);for(let r=0;r<wa.length;r++){const i=wa[r]+u;if(i in e)return fs[t]=i}return t}const Aa="http://www.w3.org/1999/xlink";function Ta(e,t,n,u,r,i=s1(t)){u&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Aa,t.slice(6,t.length)):e.setAttributeNS(Aa,t,n):n==null||i&&!Vc(n)?e.removeAttribute(t):e.setAttribute(t,i?"":Dn(n)?String(n):n)}function Da(e,t,n,u,r){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Q0(n):n);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const o=i==="OPTION"?e.getAttribute("value")||"":e.value,a=n==null?e.type==="checkbox"?"on":"":String(n);(o!==a||!("_value"in e))&&(e.value=a),n==null&&e.removeAttribute(t),e._value=n;return}let s=!1;if(n===""||n==null){const o=typeof e[t];o==="boolean"?n=Vc(n):n==null&&o==="string"?(n="",s=!0):o==="number"&&(n=0,s=!0)}try{e[t]=n}catch{}s&&e.removeAttribute(r||t)}function xu(e,t,n,u){e.addEventListener(t,n,u)}function ep(e,t,n,u){e.removeEventListener(t,n,u)}const Sa=Symbol("_vei");function tp(e,t,n,u,r=null){const i=e[Sa]||(e[Sa]={}),s=i[t];if(u&&s)s.value=u;else{const[o,a]=np(t);if(u){const l=i[t]=ip(u,r);xu(e,o,l,a)}else s&&(ep(e,o,s,a),i[t]=void 0)}}const Ia=/(?:Once|Passive|Capture)$/;function np(e){let t;if(Ia.test(e)){t={};let u;for(;u=e.match(Ia);)e=e.slice(0,e.length-u[0].length),t[u[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):qn(e.slice(2)),t]}let ds=0;const up=Promise.resolve(),rp=()=>ds||(up.then(()=>ds=0),ds=Date.now());function ip(e,t){const n=u=>{if(!u._vts)u._vts=Date.now();else if(u._vts<=n.attached)return;Zt(sp(u,n.value),t,5,[u])};return n.value=e,n.attached=rp(),n}function sp(e,t){if(le(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(u=>r=>!r._stopped&&u&&u(r))}else return t}const Fa=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,op=(e,t,n,u,r,i)=>{const s=r==="svg";t==="class"?Kh(e,u,s):t==="style"?Jh(e,n,u):Di(t)?ao(t)||tp(e,t,n,u,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):ap(e,t,u,s))?(Da(e,t,u),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Ta(e,t,u,s,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Ye(u))?Da(e,Bt(t),u,i,t):(t==="true-value"?e._trueValue=u:t==="false-value"&&(e._falseValue=u),Ta(e,t,u,s))};function ap(e,t,n,u){if(u)return!!(t==="innerHTML"||t==="textContent"||t in e&&Fa(t)&&ge(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return Fa(t)&&Ye(n)?!1:t in e}const La=e=>{const t=e.props["onUpdate:modelValue"]||!1;return le(t)?n=>ni(t,n):t};function lp(e){e.target.composing=!0}function Oa(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const hs=Symbol("_assign"),cp={created(e,{modifiers:{lazy:t,trim:n,number:u}},r){e[hs]=La(r);const i=u||r.props&&r.props.type==="number";xu(e,t?"change":"input",s=>{if(s.target.composing)return;let o=e.value;n&&(o=o.trim()),i&&(o=Is(o)),e[hs](o)}),n&&xu(e,"change",()=>{e.value=e.value.trim()}),t||(xu(e,"compositionstart",lp),xu(e,"compositionend",Oa),xu(e,"change",Oa))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:u,trim:r,number:i}},s){if(e[hs]=La(s),e.composing)return;const o=(i||e.type==="number")&&!/^0\d/.test(e.value)?Is(e.value):e.value,a=t??"";o!==a&&(document.activeElement===e&&e.type!=="range"&&(u&&t===n||r&&e.value.trim()===a)||(e.value=a))}},fp=["ctrl","shift","alt","meta"],dp={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>fp.some(n=>e[`${n}Key`]&&!t.includes(n))},Te=(e,t)=>{const n=e._withMods||(e._withMods={}),u=t.join(".");return n[u]||(n[u]=(r,...i)=>{for(let s=0;s<t.length;s++){const o=dp[t[s]];if(o&&o(r,t))return}return e(r,...i)})},hp={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},uf=(e,t)=>{const n=e._withKeys||(e._withKeys={}),u=t.join(".");return n[u]||(n[u]=r=>{if(!("key"in r))return;const i=qn(r.key);if(t.some(s=>s===i||hp[s]===i))return e(r)})},pp=st({patchProp:op},Vh);let Na;function rf(){return Na||(Na=dh(pp))}const Pa=(...e)=>{rf().render(...e)},sf=(...e)=>{const t=rf().createApp(...e),{mount:n}=t;return t.mount=u=>{const r=gp(u);if(!r)return;const i=t._component;!ge(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const s=n(r,!1,mp(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),s},t};function mp(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function gp(e){return Ye(e)?document.querySelector(e):e}/*!
|
|
18
|
-
* shared v9.14.5
|
|
19
|
-
* (c) 2025 kazuya kawaguchi
|
|
20
|
-
* Released under the MIT License.
|
|
21
|
-
*/function bp(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const vi=typeof window<"u",Xn=(e,t=!1)=>t?Symbol.for(e):Symbol(e),_p=(e,t,n)=>vp({l:e,k:t,s:n}),vp=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Ze=e=>typeof e=="number"&&isFinite(e),yp=e=>af(e)==="[object Date]",zn=e=>af(e)==="[object RegExp]",Vi=e=>pe(e)&&Object.keys(e).length===0,ft=Object.assign,xp=Object.create,Oe=(e=null)=>xp(e);let Ma;const En=()=>Ma||(Ma=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:Oe());function Ra(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/").replace(/=/g,"=")}function $a(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function Ep(e){return e=e.replace(/(\w+)\s*=\s*"([^"]*)"/g,(u,r,i)=>`${r}="${$a(i)}"`),e=e.replace(/(\w+)\s*=\s*'([^']*)'/g,(u,r,i)=>`${r}='${$a(i)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e)&&(e=e.replace(/(\s+)(on)(\w+\s*=)/gi,"$1on$3")),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach(u=>{e=e.replace(u,"$1javascript:")}),e}const Cp=Object.prototype.hasOwnProperty;function Yt(e,t){return Cp.call(e,t)}const Ve=Array.isArray,$e=e=>typeof e=="function",Z=e=>typeof e=="string",ye=e=>typeof e=="boolean",De=e=>e!==null&&typeof e=="object",kp=e=>De(e)&&$e(e.then)&&$e(e.catch),of=Object.prototype.toString,af=e=>of.call(e),pe=e=>{if(!De(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},wp=e=>e==null?"":Ve(e)||pe(e)&&e.toString===of?JSON.stringify(e,null,2):String(e);function Ap(e,t=""){return e.reduce((n,u,r)=>r===0?n+u:n+t+u,"")}function Hi(e){let t=e;return()=>++t}const qr=e=>!De(e)||Ve(e);function oi(e,t){if(qr(e)||qr(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:u,des:r}=n.pop();Object.keys(u).forEach(i=>{i!=="__proto__"&&(De(u[i])&&!De(r[i])&&(r[i]=Array.isArray(u[i])?[]:Oe()),qr(r[i])||qr(u[i])?r[i]=u[i]:n.push({src:u[i],des:r[i]}))})}}/*!
|
|
22
|
-
* message-compiler v9.14.5
|
|
23
|
-
* (c) 2025 kazuya kawaguchi
|
|
24
|
-
* Released under the MIT License.
|
|
25
|
-
*/function Tp(e,t,n){return{line:e,column:t,offset:n}}function yi(e,t,n){return{start:e,end:t}}const Dp=/\{([0-9a-zA-Z]+)\}/g;function lf(e,...t){return t.length===1&&Sp(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(Dp,(n,u)=>t.hasOwnProperty(u)?t[u]:"")}const cf=Object.assign,Ba=e=>typeof e=="string",Sp=e=>e!==null&&typeof e=="object";function ff(e,t=""){return e.reduce((n,u,r)=>r===0?n+u:n+t+u,"")}const wo={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},Ip={[wo.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function Fp(e,t,...n){const u=lf(Ip[e],...n||[]),r={message:String(u),code:e};return t&&(r.location=t),r}const oe={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},Lp={[oe.EXPECTED_TOKEN]:"Expected token: '{0}'",[oe.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[oe.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[oe.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[oe.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[oe.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[oe.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[oe.EMPTY_PLACEHOLDER]:"Empty placeholder",[oe.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[oe.INVALID_LINKED_FORMAT]:"Invalid linked format",[oe.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[oe.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[oe.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[oe.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[oe.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[oe.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function Wu(e,t,n={}){const{domain:u,messages:r,args:i}=n,s=lf((r||Lp)[e]||"",...i||[]),o=new SyntaxError(String(s));return o.code=e,t&&(o.location=t),o.domain=u,o}function Op(e){throw e}const mn=" ",Np="\r",bt=`
|
|
26
|
-
`,Pp="\u2028",Mp="\u2029";function Rp(e){const t=e;let n=0,u=1,r=1,i=0;const s=S=>t[S]===Np&&t[S+1]===bt,o=S=>t[S]===bt,a=S=>t[S]===Mp,l=S=>t[S]===Pp,c=S=>s(S)||o(S)||a(S)||l(S),f=()=>n,d=()=>u,h=()=>r,p=()=>i,x=S=>s(S)||a(S)||l(S)?bt:t[S],w=()=>x(n),A=()=>x(n+i);function T(){return i=0,c(n)&&(u++,r=0),s(n)&&n++,n++,r++,t[n]}function g(){return s(n+i)&&i++,i++,t[n+i]}function _(){n=0,u=1,r=1,i=0}function E(S=0){i=S}function v(){const S=n+i;for(;S!==n;)T();i=0}return{index:f,line:d,column:h,peekOffset:p,charAt:x,currentChar:w,currentPeek:A,next:T,peek:g,reset:_,resetPeek:E,skipToPeek:v}}const Ln=void 0,$p=".",ja="'",Bp="tokenizer";function jp(e,t={}){const n=t.location!==!1,u=Rp(e),r=()=>u.index(),i=()=>Tp(u.line(),u.column(),u.index()),s=i(),o=r(),a={currentType:14,offset:o,startLoc:s,endLoc:s,lastType:14,lastOffset:o,lastStartLoc:s,lastEndLoc:s,braceNest:0,inLinked:!1,text:""},l=()=>a,{onError:c}=t;function f(m,b,L,...P){const X=l();if(b.column+=L,b.offset+=L,c){const z=n?yi(X.startLoc,b):null,D=Wu(m,z,{domain:Bp,args:P});c(D)}}function d(m,b,L){m.endLoc=i(),m.currentType=b;const P={type:b};return n&&(P.loc=yi(m.startLoc,m.endLoc)),L!=null&&(P.value=L),P}const h=m=>d(m,14);function p(m,b){return m.currentChar()===b?(m.next(),b):(f(oe.EXPECTED_TOKEN,i(),0,b),"")}function x(m){let b="";for(;m.currentPeek()===mn||m.currentPeek()===bt;)b+=m.currentPeek(),m.peek();return b}function w(m){const b=x(m);return m.skipToPeek(),b}function A(m){if(m===Ln)return!1;const b=m.charCodeAt(0);return b>=97&&b<=122||b>=65&&b<=90||b===95}function T(m){if(m===Ln)return!1;const b=m.charCodeAt(0);return b>=48&&b<=57}function g(m,b){const{currentType:L}=b;if(L!==2)return!1;x(m);const P=A(m.currentPeek());return m.resetPeek(),P}function _(m,b){const{currentType:L}=b;if(L!==2)return!1;x(m);const P=m.currentPeek()==="-"?m.peek():m.currentPeek(),X=T(P);return m.resetPeek(),X}function E(m,b){const{currentType:L}=b;if(L!==2)return!1;x(m);const P=m.currentPeek()===ja;return m.resetPeek(),P}function v(m,b){const{currentType:L}=b;if(L!==8)return!1;x(m);const P=m.currentPeek()===".";return m.resetPeek(),P}function S(m,b){const{currentType:L}=b;if(L!==9)return!1;x(m);const P=A(m.currentPeek());return m.resetPeek(),P}function N(m,b){const{currentType:L}=b;if(!(L===8||L===12))return!1;x(m);const P=m.currentPeek()===":";return m.resetPeek(),P}function I(m,b){const{currentType:L}=b;if(L!==10)return!1;const P=()=>{const z=m.currentPeek();return z==="{"?A(m.peek()):z==="@"||z==="%"||z==="|"||z===":"||z==="."||z===mn||!z?!1:z===bt?(m.peek(),P()):U(m,!1)},X=P();return m.resetPeek(),X}function G(m){x(m);const b=m.currentPeek()==="|";return m.resetPeek(),b}function te(m){const b=x(m),L=m.currentPeek()==="%"&&m.peek()==="{";return m.resetPeek(),{isModulo:L,hasSpace:b.length>0}}function U(m,b=!0){const L=(X=!1,z="",D=!1)=>{const R=m.currentPeek();return R==="{"?z==="%"?!1:X:R==="@"||!R?z==="%"?!0:X:R==="%"?(m.peek(),L(X,"%",!0)):R==="|"?z==="%"||D?!0:!(z===mn||z===bt):R===mn?(m.peek(),L(!0,mn,D)):R===bt?(m.peek(),L(!0,bt,D)):!0},P=L();return b&&m.resetPeek(),P}function K(m,b){const L=m.currentChar();return L===Ln?Ln:b(L)?(m.next(),L):null}function ue(m){const b=m.charCodeAt(0);return b>=97&&b<=122||b>=65&&b<=90||b>=48&&b<=57||b===95||b===36}function ee(m){return K(m,ue)}function se(m){const b=m.charCodeAt(0);return b>=97&&b<=122||b>=65&&b<=90||b>=48&&b<=57||b===95||b===36||b===45}function be(m){return K(m,se)}function H(m){const b=m.charCodeAt(0);return b>=48&&b<=57}function re(m){return K(m,H)}function J(m){const b=m.charCodeAt(0);return b>=48&&b<=57||b>=65&&b<=70||b>=97&&b<=102}function _e(m){return K(m,J)}function ie(m){let b="",L="";for(;b=re(m);)L+=b;return L}function Ge(m){w(m);const b=m.currentChar();return b!=="%"&&f(oe.EXPECTED_TOKEN,i(),0,b),m.next(),"%"}function Ae(m){let b="";for(;;){const L=m.currentChar();if(L==="{"||L==="}"||L==="@"||L==="|"||!L)break;if(L==="%")if(U(m))b+=L,m.next();else break;else if(L===mn||L===bt)if(U(m))b+=L,m.next();else{if(G(m))break;b+=L,m.next()}else b+=L,m.next()}return b}function At(m){w(m);let b="",L="";for(;b=be(m);)L+=b;return m.currentChar()===Ln&&f(oe.UNTERMINATED_CLOSING_BRACE,i(),0),L}function Ce(m){w(m);let b="";return m.currentChar()==="-"?(m.next(),b+=`-${ie(m)}`):b+=ie(m),m.currentChar()===Ln&&f(oe.UNTERMINATED_CLOSING_BRACE,i(),0),b}function $(m){return m!==ja&&m!==bt}function ce(m){w(m),p(m,"'");let b="",L="";for(;b=K(m,$);)b==="\\"?L+=fe(m):L+=b;const P=m.currentChar();return P===bt||P===Ln?(f(oe.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,i(),0),P===bt&&(m.next(),p(m,"'")),L):(p(m,"'"),L)}function fe(m){const b=m.currentChar();switch(b){case"\\":case"'":return m.next(),`\\${b}`;case"u":return ke(m,b,4);case"U":return ke(m,b,6);default:return f(oe.UNKNOWN_ESCAPE_SEQUENCE,i(),0,b),""}}function ke(m,b,L){p(m,b);let P="";for(let X=0;X<L;X++){const z=_e(m);if(!z){f(oe.INVALID_UNICODE_ESCAPE_SEQUENCE,i(),0,`\\${b}${P}${m.currentChar()}`);break}P+=z}return`\\${b}${P}`}function Ee(m){return m!=="{"&&m!=="}"&&m!==mn&&m!==bt}function y(m){w(m);let b="",L="";for(;b=K(m,Ee);)L+=b;return L}function k(m){let b="",L="";for(;b=ee(m);)L+=b;return L}function C(m){const b=L=>{const P=m.currentChar();return P==="{"||P==="%"||P==="@"||P==="|"||P==="("||P===")"||!P||P===mn?L:(L+=P,m.next(),b(L))};return b("")}function O(m){w(m);const b=p(m,"|");return w(m),b}function B(m,b){let L=null;switch(m.currentChar()){case"{":return b.braceNest>=1&&f(oe.NOT_ALLOW_NEST_PLACEHOLDER,i(),0),m.next(),L=d(b,2,"{"),w(m),b.braceNest++,L;case"}":return b.braceNest>0&&b.currentType===2&&f(oe.EMPTY_PLACEHOLDER,i(),0),m.next(),L=d(b,3,"}"),b.braceNest--,b.braceNest>0&&w(m),b.inLinked&&b.braceNest===0&&(b.inLinked=!1),L;case"@":return b.braceNest>0&&f(oe.UNTERMINATED_CLOSING_BRACE,i(),0),L=M(m,b)||h(b),b.braceNest=0,L;default:{let X=!0,z=!0,D=!0;if(G(m))return b.braceNest>0&&f(oe.UNTERMINATED_CLOSING_BRACE,i(),0),L=d(b,1,O(m)),b.braceNest=0,b.inLinked=!1,L;if(b.braceNest>0&&(b.currentType===5||b.currentType===6||b.currentType===7))return f(oe.UNTERMINATED_CLOSING_BRACE,i(),0),b.braceNest=0,Y(m,b);if(X=g(m,b))return L=d(b,5,At(m)),w(m),L;if(z=_(m,b))return L=d(b,6,Ce(m)),w(m),L;if(D=E(m,b))return L=d(b,7,ce(m)),w(m),L;if(!X&&!z&&!D)return L=d(b,13,y(m)),f(oe.INVALID_TOKEN_IN_PLACEHOLDER,i(),0,L.value),w(m),L;break}}return L}function M(m,b){const{currentType:L}=b;let P=null;const X=m.currentChar();switch((L===8||L===9||L===12||L===10)&&(X===bt||X===mn)&&f(oe.INVALID_LINKED_FORMAT,i(),0),X){case"@":return m.next(),P=d(b,8,"@"),b.inLinked=!0,P;case".":return w(m),m.next(),d(b,9,".");case":":return w(m),m.next(),d(b,10,":");default:return G(m)?(P=d(b,1,O(m)),b.braceNest=0,b.inLinked=!1,P):v(m,b)||N(m,b)?(w(m),M(m,b)):S(m,b)?(w(m),d(b,12,k(m))):I(m,b)?(w(m),X==="{"?B(m,b)||P:d(b,11,C(m))):(L===8&&f(oe.INVALID_LINKED_FORMAT,i(),0),b.braceNest=0,b.inLinked=!1,Y(m,b))}}function Y(m,b){let L={type:14};if(b.braceNest>0)return B(m,b)||h(b);if(b.inLinked)return M(m,b)||h(b);switch(m.currentChar()){case"{":return B(m,b)||h(b);case"}":return f(oe.UNBALANCED_CLOSING_BRACE,i(),0),m.next(),d(b,3,"}");case"@":return M(m,b)||h(b);default:{if(G(m))return L=d(b,1,O(m)),b.braceNest=0,b.inLinked=!1,L;const{isModulo:X,hasSpace:z}=te(m);if(X)return z?d(b,0,Ae(m)):d(b,4,Ge(m));if(U(m))return d(b,0,Ae(m));break}}return L}function q(){const{currentType:m,offset:b,startLoc:L,endLoc:P}=a;return a.lastType=m,a.lastOffset=b,a.lastStartLoc=L,a.lastEndLoc=P,a.offset=r(),a.startLoc=i(),u.currentChar()===Ln?d(a,14):Y(u,a)}return{nextToken:q,currentOffset:r,currentPosition:i,context:l}}const Up="parser",Vp=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Hp(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const u=parseInt(t||n,16);return u<=55295||u>=57344?String.fromCodePoint(u):"�"}}}function zp(e={}){const t=e.location!==!1,{onError:n,onWarn:u}=e;function r(g,_,E,v,...S){const N=g.currentPosition();if(N.offset+=v,N.column+=v,n){const I=t?yi(E,N):null,G=Wu(_,I,{domain:Up,args:S});n(G)}}function i(g,_,E,v,...S){const N=g.currentPosition();if(N.offset+=v,N.column+=v,u){const I=t?yi(E,N):null;u(Fp(_,I,S))}}function s(g,_,E){const v={type:g};return t&&(v.start=_,v.end=_,v.loc={start:E,end:E}),v}function o(g,_,E,v){t&&(g.end=_,g.loc&&(g.loc.end=E))}function a(g,_){const E=g.context(),v=s(3,E.offset,E.startLoc);return v.value=_,o(v,g.currentOffset(),g.currentPosition()),v}function l(g,_){const E=g.context(),{lastOffset:v,lastStartLoc:S}=E,N=s(5,v,S);return N.index=parseInt(_,10),g.nextToken(),o(N,g.currentOffset(),g.currentPosition()),N}function c(g,_,E){const v=g.context(),{lastOffset:S,lastStartLoc:N}=v,I=s(4,S,N);return I.key=_,E===!0&&(I.modulo=!0),g.nextToken(),o(I,g.currentOffset(),g.currentPosition()),I}function f(g,_){const E=g.context(),{lastOffset:v,lastStartLoc:S}=E,N=s(9,v,S);return N.value=_.replace(Vp,Hp),g.nextToken(),o(N,g.currentOffset(),g.currentPosition()),N}function d(g){const _=g.nextToken(),E=g.context(),{lastOffset:v,lastStartLoc:S}=E,N=s(8,v,S);return _.type!==12?(r(g,oe.UNEXPECTED_EMPTY_LINKED_MODIFIER,E.lastStartLoc,0),N.value="",o(N,v,S),{nextConsumeToken:_,node:N}):(_.value==null&&r(g,oe.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,zt(_)),N.value=_.value||"",o(N,g.currentOffset(),g.currentPosition()),{node:N})}function h(g,_){const E=g.context(),v=s(7,E.offset,E.startLoc);return v.value=_,o(v,g.currentOffset(),g.currentPosition()),v}function p(g){const _=g.context(),E=s(6,_.offset,_.startLoc);let v=g.nextToken();if(v.type===9){const S=d(g);E.modifier=S.node,v=S.nextConsumeToken||g.nextToken()}switch(v.type!==10&&r(g,oe.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,zt(v)),v=g.nextToken(),v.type===2&&(v=g.nextToken()),v.type){case 11:v.value==null&&r(g,oe.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,zt(v)),E.key=h(g,v.value||"");break;case 5:v.value==null&&r(g,oe.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,zt(v)),E.key=c(g,v.value||"");break;case 6:v.value==null&&r(g,oe.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,zt(v)),E.key=l(g,v.value||"");break;case 7:v.value==null&&r(g,oe.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,zt(v)),E.key=f(g,v.value||"");break;default:{r(g,oe.UNEXPECTED_EMPTY_LINKED_KEY,_.lastStartLoc,0);const S=g.context(),N=s(7,S.offset,S.startLoc);return N.value="",o(N,S.offset,S.startLoc),E.key=N,o(E,S.offset,S.startLoc),{nextConsumeToken:v,node:E}}}return o(E,g.currentOffset(),g.currentPosition()),{node:E}}function x(g){const _=g.context(),E=_.currentType===1?g.currentOffset():_.offset,v=_.currentType===1?_.endLoc:_.startLoc,S=s(2,E,v);S.items=[];let N=null,I=null;do{const U=N||g.nextToken();switch(N=null,U.type){case 0:U.value==null&&r(g,oe.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,zt(U)),S.items.push(a(g,U.value||""));break;case 6:U.value==null&&r(g,oe.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,zt(U)),S.items.push(l(g,U.value||""));break;case 4:I=!0;break;case 5:U.value==null&&r(g,oe.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,zt(U)),S.items.push(c(g,U.value||"",!!I)),I&&(i(g,wo.USE_MODULO_SYNTAX,_.lastStartLoc,0,zt(U)),I=null);break;case 7:U.value==null&&r(g,oe.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,zt(U)),S.items.push(f(g,U.value||""));break;case 8:{const K=p(g);S.items.push(K.node),N=K.nextConsumeToken||null;break}}}while(_.currentType!==14&&_.currentType!==1);const G=_.currentType===1?_.lastOffset:g.currentOffset(),te=_.currentType===1?_.lastEndLoc:g.currentPosition();return o(S,G,te),S}function w(g,_,E,v){const S=g.context();let N=v.items.length===0;const I=s(1,_,E);I.cases=[],I.cases.push(v);do{const G=x(g);N||(N=G.items.length===0),I.cases.push(G)}while(S.currentType!==14);return N&&r(g,oe.MUST_HAVE_MESSAGES_IN_PLURAL,E,0),o(I,g.currentOffset(),g.currentPosition()),I}function A(g){const _=g.context(),{offset:E,startLoc:v}=_,S=x(g);return _.currentType===14?S:w(g,E,v,S)}function T(g){const _=jp(g,cf({},e)),E=_.context(),v=s(0,E.offset,E.startLoc);return t&&v.loc&&(v.loc.source=g),v.body=A(_),e.onCacheKey&&(v.cacheKey=e.onCacheKey(g)),E.currentType!==14&&r(_,oe.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,g[E.offset]||""),o(v,_.currentOffset(),_.currentPosition()),v}return{parse:T}}function zt(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function Wp(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:i=>(n.helpers.add(i),i)}}function Ua(e,t){for(let n=0;n<e.length;n++)Ao(e[n],t)}function Ao(e,t){switch(e.type){case 1:Ua(e.cases,t),t.helper("plural");break;case 2:Ua(e.items,t);break;case 6:{Ao(e.key,t),t.helper("linked"),t.helper("type");break}case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function qp(e,t={}){const n=Wp(e);n.helper("normalize"),e.body&&Ao(e.body,n);const u=n.context();e.helpers=Array.from(u.helpers)}function Yp(e){const t=e.body;return t.type===2?Va(t):t.cases.forEach(n=>Va(n)),e}function Va(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const u=e.items[n];if(!(u.type===3||u.type===9)||u.value==null)break;t.push(u.value)}if(t.length===e.items.length){e.static=ff(t);for(let n=0;n<e.items.length;n++){const u=e.items[n];(u.type===3||u.type===9)&&delete u.value}}}}const Gp="minifier";function Eu(e){switch(e.t=e.type,e.type){case 0:{const t=e;Eu(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,n=t.cases;for(let u=0;u<n.length;u++)Eu(n[u]);t.c=n,delete t.cases;break}case 2:{const t=e,n=t.items;for(let u=0;u<n.length;u++)Eu(n[u]);t.i=n,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{const t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{const t=e;Eu(t.key),t.k=t.key,delete t.key,t.modifier&&(Eu(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{const t=e;t.i=t.index,delete t.index;break}case 4:{const t=e;t.k=t.key,delete t.key;break}default:throw Wu(oe.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:Gp,args:[e.type]})}delete e.type}const Kp="parser";function Xp(e,t){const{filename:n,breakLineCode:u,needIndent:r}=t,i=t.location!==!1,s={filename:n,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:u,needIndent:r,indentLevel:0};i&&e.loc&&(s.source=e.loc.source);const o=()=>s;function a(x,w){s.code+=x}function l(x,w=!0){const A=w?u:"";a(r?A+" ".repeat(x):A)}function c(x=!0){const w=++s.indentLevel;x&&l(w)}function f(x=!0){const w=--s.indentLevel;x&&l(w)}function d(){l(s.indentLevel)}return{context:o,push:a,indent:c,deindent:f,newline:d,helper:x=>`_${x}`,needIndent:()=>s.needIndent}}function Zp(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),Ru(e,t.key),t.modifier?(e.push(", "),Ru(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function Jp(e,t){const{helper:n,needIndent:u}=e;e.push(`${n("normalize")}([`),e.indent(u());const r=t.items.length;for(let i=0;i<r&&(Ru(e,t.items[i]),i!==r-1);i++)e.push(", ");e.deindent(u()),e.push("])")}function Qp(e,t){const{helper:n,needIndent:u}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(u());const r=t.cases.length;for(let i=0;i<r&&(Ru(e,t.cases[i]),i!==r-1);i++)e.push(", ");e.deindent(u()),e.push("])")}}function e2(e,t){t.body?Ru(e,t.body):e.push("null")}function Ru(e,t){const{helper:n}=e;switch(t.type){case 0:e2(e,t);break;case 1:Qp(e,t);break;case 2:Jp(e,t);break;case 6:Zp(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break;default:throw Wu(oe.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:Kp,args:[t.type]})}}const t2=(e,t={})=>{const n=Ba(t.mode)?t.mode:"normal",u=Ba(t.filename)?t.filename:"message.intl";t.sourceMap;const r=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
|
|
27
|
-
`,i=t.needIndent?t.needIndent:n!=="arrow",s=e.helpers||[],o=Xp(e,{filename:u,breakLineCode:r,needIndent:i});o.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),o.indent(i),s.length>0&&(o.push(`const { ${ff(s.map(c=>`${c}: _${c}`),", ")} } = ctx`),o.newline()),o.push("return "),Ru(o,e),o.deindent(i),o.push("}"),delete e.helpers;const{code:a,map:l}=o.context();return{ast:e,code:a,map:l?l.toJSON():void 0}};function n2(e,t={}){const n=cf({},t),u=!!n.jit,r=!!n.minify,i=n.optimize==null?!0:n.optimize,o=zp(n).parse(e);return u?(i&&Yp(o),r&&Eu(o),{ast:o,code:""}):(qp(o,n),t2(o,n))}/*!
|
|
28
|
-
* core-base v9.14.5
|
|
29
|
-
* (c) 2025 kazuya kawaguchi
|
|
30
|
-
* Released under the MIT License.
|
|
31
|
-
*/function u2(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(En().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(En().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(En().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function ln(e){return De(e)&&To(e)===0&&(Yt(e,"b")||Yt(e,"body"))}const df=["b","body"];function r2(e){return Zn(e,df)}const hf=["c","cases"];function i2(e){return Zn(e,hf,[])}const pf=["s","static"];function s2(e){return Zn(e,pf)}const mf=["i","items"];function o2(e){return Zn(e,mf,[])}const gf=["t","type"];function To(e){return Zn(e,gf)}const bf=["v","value"];function Yr(e,t){const n=Zn(e,bf);if(n!=null)return n;throw Er(t)}const _f=["m","modifier"];function a2(e){return Zn(e,_f)}const vf=["k","key"];function l2(e){const t=Zn(e,vf);if(t)return t;throw Er(6)}function Zn(e,t,n){for(let u=0;u<t.length;u++){const r=t[u];if(Yt(e,r)&&e[r]!=null)return e[r]}return n}const yf=[...df,...hf,...pf,...mf,...vf,..._f,...bf,...gf];function Er(e){return new Error(`unhandled node type: ${e}`)}const Jn=[];Jn[0]={w:[0],i:[3,0],"[":[4],o:[7]};Jn[1]={w:[1],".":[2],"[":[4],o:[7]};Jn[2]={w:[2],i:[3,0],0:[3,0]};Jn[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Jn[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Jn[5]={"'":[4,0],o:8,l:[5,0]};Jn[6]={'"':[4,0],o:8,l:[6,0]};const c2=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function f2(e){return c2.test(e)}function d2(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function h2(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function p2(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:f2(t)?d2(t):"*"+t}function m2(e){const t=[];let n=-1,u=0,r=0,i,s,o,a,l,c,f;const d=[];d[0]=()=>{s===void 0?s=o:s+=o},d[1]=()=>{s!==void 0&&(t.push(s),s=void 0)},d[2]=()=>{d[0](),r++},d[3]=()=>{if(r>0)r--,u=4,d[0]();else{if(r=0,s===void 0||(s=p2(s),s===!1))return!1;d[1]()}};function h(){const p=e[n+1];if(u===5&&p==="'"||u===6&&p==='"')return n++,o="\\"+p,d[0](),!0}for(;u!==null;)if(n++,i=e[n],!(i==="\\"&&h())){if(a=h2(i),f=Jn[u],l=f[a]||f.l||8,l===8||(u=l[0],l[1]!==void 0&&(c=d[l[1]],c&&(o=i,c()===!1))))return;if(u===7)return t}}const Ha=new Map;function g2(e,t){return De(e)?e[t]:null}function b2(e,t){if(!De(e))return null;let n=Ha.get(t);if(n||(n=m2(t),n&&Ha.set(t,n)),!n)return null;const u=n.length;let r=e,i=0;for(;i<u;){const s=n[i];if(yf.includes(s)&&ln(r))return null;const o=r[s];if(o===void 0||$e(r))return null;r=o,i++}return r}const _2=e=>e,v2=e=>"",y2="text",x2=e=>e.length===0?"":Ap(e),E2=wp;function za(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function C2(e){const t=Ze(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Ze(e.named.count)||Ze(e.named.n))?Ze(e.named.count)?e.named.count:Ze(e.named.n)?e.named.n:t:t}function k2(e,t){t.count||(t.count=e),t.n||(t.n=e)}function w2(e={}){const t=e.locale,n=C2(e),u=De(e.pluralRules)&&Z(t)&&$e(e.pluralRules[t])?e.pluralRules[t]:za,r=De(e.pluralRules)&&Z(t)&&$e(e.pluralRules[t])?za:void 0,i=A=>A[u(n,A.length,r)],s=e.list||[],o=A=>s[A],a=e.named||Oe();Ze(e.pluralIndex)&&k2(n,a);const l=A=>a[A];function c(A){const T=$e(e.messages)?e.messages(A):De(e.messages)?e.messages[A]:!1;return T||(e.parent?e.parent.message(A):v2)}const f=A=>e.modifiers?e.modifiers[A]:_2,d=pe(e.processor)&&$e(e.processor.normalize)?e.processor.normalize:x2,h=pe(e.processor)&&$e(e.processor.interpolate)?e.processor.interpolate:E2,p=pe(e.processor)&&Z(e.processor.type)?e.processor.type:y2,w={list:o,named:l,plural:i,linked:(A,...T)=>{const[g,_]=T;let E="text",v="";T.length===1?De(g)?(v=g.modifier||v,E=g.type||E):Z(g)&&(v=g||v):T.length===2&&(Z(g)&&(v=g||v),Z(_)&&(E=_||E));const S=c(A)(w),N=E==="vnode"&&Ve(S)&&v?S[0]:S;return v?f(v)(N,E):N},message:c,type:p,interpolate:h,normalize:d,values:ft(Oe(),s,a)};return w}let Cr=null;function A2(e){Cr=e}function T2(e,t,n){Cr&&Cr.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const D2=S2("function:translate");function S2(e){return t=>Cr&&Cr.emit(e,t)}const I2=wo.__EXTEND_POINT__,iu=Hi(I2),F2={FALLBACK_TO_TRANSLATE:iu(),CANNOT_FORMAT_NUMBER:iu(),FALLBACK_TO_NUMBER_FORMAT:iu(),CANNOT_FORMAT_DATE:iu(),FALLBACK_TO_DATE_FORMAT:iu(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:iu(),__EXTEND_POINT__:iu()},xf=oe.__EXTEND_POINT__,su=Hi(xf),Gt={INVALID_ARGUMENT:xf,INVALID_DATE_ARGUMENT:su(),INVALID_ISO_DATE_ARGUMENT:su(),NOT_SUPPORT_NON_STRING_MESSAGE:su(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:su(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:su(),NOT_SUPPORT_LOCALE_TYPE:su(),__EXTEND_POINT__:su()};function rn(e){return Wu(e,null,void 0)}function Do(e,t){return t.locale!=null?Wa(t.locale):Wa(e.locale)}let ps;function Wa(e){if(Z(e))return e;if($e(e)){if(e.resolvedOnce&&ps!=null)return ps;if(e.constructor.name==="Function"){const t=e();if(kp(t))throw rn(Gt.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return ps=t}else throw rn(Gt.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw rn(Gt.NOT_SUPPORT_LOCALE_TYPE)}function L2(e,t,n){return[...new Set([n,...Ve(t)?t:De(t)?Object.keys(t):Z(t)?[t]:[n]])]}function Ef(e,t,n){const u=Z(n)?n:$u,r=e;r.__localeChainCache||(r.__localeChainCache=new Map);let i=r.__localeChainCache.get(u);if(!i){i=[];let s=[n];for(;Ve(s);)s=qa(i,s,t);const o=Ve(t)||!pe(t)?t:t.default?t.default:null;s=Z(o)?[o]:o,Ve(s)&&qa(i,s,!1),r.__localeChainCache.set(u,i)}return i}function qa(e,t,n){let u=!0;for(let r=0;r<t.length&&ye(u);r++){const i=t[r];Z(i)&&(u=O2(e,t[r],n))}return u}function O2(e,t,n){let u;const r=t.split("-");do{const i=r.join("-");u=N2(e,i,n),r.splice(-1,1)}while(r.length&&u===!0);return u}function N2(e,t,n){let u=!1;if(!e.includes(t)&&(u=!0,t)){u=t[t.length-1]!=="!";const r=t.replace(/!/g,"");e.push(r),(Ve(n)||pe(n))&&n[r]&&(u=n[r])}return u}const P2="9.14.5",zi=-1,$u="en-US",Ya="",Ga=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function M2(){return{upper:(e,t)=>t==="text"&&Z(e)?e.toUpperCase():t==="vnode"&&De(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&Z(e)?e.toLowerCase():t==="vnode"&&De(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&Z(e)?Ga(e):t==="vnode"&&De(e)&&"__v_isVNode"in e?Ga(e.children):e}}let Cf;function Ka(e){Cf=e}let kf;function R2(e){kf=e}let wf;function $2(e){wf=e}let Af=null;const B2=e=>{Af=e},j2=()=>Af;let Tf=null;const Xa=e=>{Tf=e},U2=()=>Tf;let Za=0;function V2(e={}){const t=$e(e.onWarn)?e.onWarn:bp,n=Z(e.version)?e.version:P2,u=Z(e.locale)||$e(e.locale)?e.locale:$u,r=$e(u)?$u:u,i=Ve(e.fallbackLocale)||pe(e.fallbackLocale)||Z(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:r,s=pe(e.messages)?e.messages:ms(r),o=pe(e.datetimeFormats)?e.datetimeFormats:ms(r),a=pe(e.numberFormats)?e.numberFormats:ms(r),l=ft(Oe(),e.modifiers,M2()),c=e.pluralRules||Oe(),f=$e(e.missing)?e.missing:null,d=ye(e.missingWarn)||zn(e.missingWarn)?e.missingWarn:!0,h=ye(e.fallbackWarn)||zn(e.fallbackWarn)?e.fallbackWarn:!0,p=!!e.fallbackFormat,x=!!e.unresolving,w=$e(e.postTranslation)?e.postTranslation:null,A=pe(e.processor)?e.processor:null,T=ye(e.warnHtmlMessage)?e.warnHtmlMessage:!0,g=!!e.escapeParameter,_=$e(e.messageCompiler)?e.messageCompiler:Cf,E=$e(e.messageResolver)?e.messageResolver:kf||g2,v=$e(e.localeFallbacker)?e.localeFallbacker:wf||L2,S=De(e.fallbackContext)?e.fallbackContext:void 0,N=e,I=De(N.__datetimeFormatters)?N.__datetimeFormatters:new Map,G=De(N.__numberFormatters)?N.__numberFormatters:new Map,te=De(N.__meta)?N.__meta:{};Za++;const U={version:n,cid:Za,locale:u,fallbackLocale:i,messages:s,modifiers:l,pluralRules:c,missing:f,missingWarn:d,fallbackWarn:h,fallbackFormat:p,unresolving:x,postTranslation:w,processor:A,warnHtmlMessage:T,escapeParameter:g,messageCompiler:_,messageResolver:E,localeFallbacker:v,fallbackContext:S,onWarn:t,__meta:te};return U.datetimeFormats=o,U.numberFormats=a,U.__datetimeFormatters=I,U.__numberFormatters=G,__INTLIFY_PROD_DEVTOOLS__&&T2(U,n,te),U}const ms=e=>({[e]:Oe()});function So(e,t,n,u,r){const{missing:i,onWarn:s}=e;if(i!==null){const o=i(e,n,t,r);return Z(o)?o:t}else return t}function Zu(e,t,n){const u=e;u.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function H2(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function z2(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let u=n+1;u<t.length;u++)if(H2(e,t[u]))return!0;return!1}function gs(e){return n=>W2(n,e)}function W2(e,t){const n=r2(t);if(n==null)throw Er(0);if(To(n)===1){const i=i2(n);return e.plural(i.reduce((s,o)=>[...s,Ja(e,o)],[]))}else return Ja(e,n)}function Ja(e,t){const n=s2(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const u=o2(t).reduce((r,i)=>[...r,zs(e,i)],[]);return e.normalize(u)}}function zs(e,t){const n=To(t);switch(n){case 3:return Yr(t,n);case 9:return Yr(t,n);case 4:{const u=t;if(Yt(u,"k")&&u.k)return e.interpolate(e.named(u.k));if(Yt(u,"key")&&u.key)return e.interpolate(e.named(u.key));throw Er(n)}case 5:{const u=t;if(Yt(u,"i")&&Ze(u.i))return e.interpolate(e.list(u.i));if(Yt(u,"index")&&Ze(u.index))return e.interpolate(e.list(u.index));throw Er(n)}case 6:{const u=t,r=a2(u),i=l2(u);return e.linked(zs(e,i),r?zs(e,r):void 0,e.type)}case 7:return Yr(t,n);case 8:return Yr(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const Df=e=>e;let ku=Oe();function Sf(e,t={}){let n=!1;const u=t.onError||Op;return t.onError=r=>{n=!0,u(r)},{...n2(e,t),detectError:n}}const q2=(e,t)=>{if(!Z(e))throw rn(Gt.NOT_SUPPORT_NON_STRING_MESSAGE);{ye(t.warnHtmlMessage)&&t.warnHtmlMessage;const u=(t.onCacheKey||Df)(e),r=ku[u];if(r)return r;const{code:i,detectError:s}=Sf(e,t),o=new Function(`return ${i}`)();return s?o:ku[u]=o}};function Y2(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&Z(e)){ye(t.warnHtmlMessage)&&t.warnHtmlMessage;const u=(t.onCacheKey||Df)(e),r=ku[u];if(r)return r;const{ast:i,detectError:s}=Sf(e,{...t,location:!1,jit:!0}),o=gs(i);return s?o:ku[u]=o}else{const n=e.cacheKey;if(n){const u=ku[n];return u||(ku[n]=gs(e))}else return gs(e)}}const Qa=()=>"",Mt=e=>$e(e);function el(e,...t){const{fallbackFormat:n,postTranslation:u,unresolving:r,messageCompiler:i,fallbackLocale:s,messages:o}=e,[a,l]=Ws(...t),c=ye(l.missingWarn)?l.missingWarn:e.missingWarn,f=ye(l.fallbackWarn)?l.fallbackWarn:e.fallbackWarn,d=ye(l.escapeParameter)?l.escapeParameter:e.escapeParameter,h=!!l.resolvedMessage,p=Z(l.default)||ye(l.default)?ye(l.default)?i?a:()=>a:l.default:n?i?a:()=>a:"",x=n||p!=="",w=Do(e,l);d&&G2(l);let[A,T,g]=h?[a,w,o[w]||Oe()]:If(e,a,w,s,f,c),_=A,E=a;if(!h&&!(Z(_)||ln(_)||Mt(_))&&x&&(_=p,E=_),!h&&(!(Z(_)||ln(_)||Mt(_))||!Z(T)))return r?zi:a;let v=!1;const S=()=>{v=!0},N=Mt(_)?_:Ff(e,a,T,_,E,S);if(v)return _;const I=Z2(e,T,g,l),G=w2(I),te=K2(e,N,G);let U=u?u(te,a):te;if(d&&Z(U)&&(U=Ep(U)),__INTLIFY_PROD_DEVTOOLS__){const K={timestamp:Date.now(),key:Z(a)?a:Mt(_)?_.key:"",locale:T||(Mt(_)?_.locale:""),format:Z(_)?_:Mt(_)?_.source:"",message:U};K.meta=ft({},e.__meta,j2()||{}),D2(K)}return U}function G2(e){Ve(e.list)?e.list=e.list.map(t=>Z(t)?Ra(t):t):De(e.named)&&Object.keys(e.named).forEach(t=>{Z(e.named[t])&&(e.named[t]=Ra(e.named[t]))})}function If(e,t,n,u,r,i){const{messages:s,onWarn:o,messageResolver:a,localeFallbacker:l}=e,c=l(e,u,n);let f=Oe(),d,h=null;const p="translate";for(let x=0;x<c.length&&(d=c[x],f=s[d]||Oe(),(h=a(f,t))===null&&(h=f[t]),!(Z(h)||ln(h)||Mt(h)));x++)if(!z2(d,c)){const w=So(e,t,d,i,p);w!==t&&(h=w)}return[h,d,f]}function Ff(e,t,n,u,r,i){const{messageCompiler:s,warnHtmlMessage:o}=e;if(Mt(u)){const l=u;return l.locale=l.locale||n,l.key=l.key||t,l}if(s==null){const l=()=>u;return l.locale=n,l.key=t,l}const a=s(u,X2(e,n,r,u,o,i));return a.locale=n,a.key=t,a.source=u,a}function K2(e,t,n){return t(n)}function Ws(...e){const[t,n,u]=e,r=Oe();if(!Z(t)&&!Ze(t)&&!Mt(t)&&!ln(t))throw rn(Gt.INVALID_ARGUMENT);const i=Ze(t)?String(t):(Mt(t),t);return Ze(n)?r.plural=n:Z(n)?r.default=n:pe(n)&&!Vi(n)?r.named=n:Ve(n)&&(r.list=n),Ze(u)?r.plural=u:Z(u)?r.default=u:pe(u)&&ft(r,u),[i,r]}function X2(e,t,n,u,r,i){return{locale:t,key:n,warnHtmlMessage:r,onError:s=>{throw i&&i(s),s},onCacheKey:s=>_p(t,n,s)}}function Z2(e,t,n,u){const{modifiers:r,pluralRules:i,messageResolver:s,fallbackLocale:o,fallbackWarn:a,missingWarn:l,fallbackContext:c}=e,d={locale:t,modifiers:r,pluralRules:i,messages:h=>{let p=s(n,h);if(p==null&&c){const[,,x]=If(c,h,t,o,a,l);p=s(x,h)}if(Z(p)||ln(p)){let x=!1;const A=Ff(e,h,t,p,h,()=>{x=!0});return x?Qa:A}else return Mt(p)?p:Qa}};return e.processor&&(d.processor=e.processor),u.list&&(d.list=u.list),u.named&&(d.named=u.named),Ze(u.plural)&&(d.pluralIndex=u.plural),d}function tl(e,...t){const{datetimeFormats:n,unresolving:u,fallbackLocale:r,onWarn:i,localeFallbacker:s}=e,{__datetimeFormatters:o}=e,[a,l,c,f]=qs(...t),d=ye(c.missingWarn)?c.missingWarn:e.missingWarn;ye(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn;const h=!!c.part,p=Do(e,c),x=s(e,r,p);if(!Z(a)||a==="")return new Intl.DateTimeFormat(p,f).format(l);let w={},A,T=null;const g="datetime format";for(let v=0;v<x.length&&(A=x[v],w=n[A]||{},T=w[a],!pe(T));v++)So(e,a,A,d,g);if(!pe(T)||!Z(A))return u?zi:a;let _=`${A}__${a}`;Vi(f)||(_=`${_}__${JSON.stringify(f)}`);let E=o.get(_);return E||(E=new Intl.DateTimeFormat(A,ft({},T,f)),o.set(_,E)),h?E.formatToParts(l):E.format(l)}const Lf=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function qs(...e){const[t,n,u,r]=e,i=Oe();let s=Oe(),o;if(Z(t)){const a=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!a)throw rn(Gt.INVALID_ISO_DATE_ARGUMENT);const l=a[3]?a[3].trim().startsWith("T")?`${a[1].trim()}${a[3].trim()}`:`${a[1].trim()}T${a[3].trim()}`:a[1].trim();o=new Date(l);try{o.toISOString()}catch{throw rn(Gt.INVALID_ISO_DATE_ARGUMENT)}}else if(yp(t)){if(isNaN(t.getTime()))throw rn(Gt.INVALID_DATE_ARGUMENT);o=t}else if(Ze(t))o=t;else throw rn(Gt.INVALID_ARGUMENT);return Z(n)?i.key=n:pe(n)&&Object.keys(n).forEach(a=>{Lf.includes(a)?s[a]=n[a]:i[a]=n[a]}),Z(u)?i.locale=u:pe(u)&&(s=u),pe(r)&&(s=r),[i.key||"",o,i,s]}function nl(e,t,n){const u=e;for(const r in n){const i=`${t}__${r}`;u.__datetimeFormatters.has(i)&&u.__datetimeFormatters.delete(i)}}function ul(e,...t){const{numberFormats:n,unresolving:u,fallbackLocale:r,onWarn:i,localeFallbacker:s}=e,{__numberFormatters:o}=e,[a,l,c,f]=Ys(...t),d=ye(c.missingWarn)?c.missingWarn:e.missingWarn;ye(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn;const h=!!c.part,p=Do(e,c),x=s(e,r,p);if(!Z(a)||a==="")return new Intl.NumberFormat(p,f).format(l);let w={},A,T=null;const g="number format";for(let v=0;v<x.length&&(A=x[v],w=n[A]||{},T=w[a],!pe(T));v++)So(e,a,A,d,g);if(!pe(T)||!Z(A))return u?zi:a;let _=`${A}__${a}`;Vi(f)||(_=`${_}__${JSON.stringify(f)}`);let E=o.get(_);return E||(E=new Intl.NumberFormat(A,ft({},T,f)),o.set(_,E)),h?E.formatToParts(l):E.format(l)}const Of=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Ys(...e){const[t,n,u,r]=e,i=Oe();let s=Oe();if(!Ze(t))throw rn(Gt.INVALID_ARGUMENT);const o=t;return Z(n)?i.key=n:pe(n)&&Object.keys(n).forEach(a=>{Of.includes(a)?s[a]=n[a]:i[a]=n[a]}),Z(u)?i.locale=u:pe(u)&&(s=u),pe(r)&&(s=r),[i.key||"",o,i,s]}function rl(e,t,n){const u=e;for(const r in n){const i=`${t}__${r}`;u.__numberFormatters.has(i)&&u.__numberFormatters.delete(i)}}u2();/*!
|
|
32
|
-
* vue-i18n v9.14.5
|
|
33
|
-
* (c) 2025 kazuya kawaguchi
|
|
34
|
-
* Released under the MIT License.
|
|
35
|
-
*/const J2="9.14.5";function Q2(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(En().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(En().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(En().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(En().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(En().__INTLIFY_PROD_DEVTOOLS__=!1)}const em=F2.__EXTEND_POINT__,gn=Hi(em);gn(),gn(),gn(),gn(),gn(),gn(),gn(),gn(),gn();const Nf=Gt.__EXTEND_POINT__,kt=Hi(Nf),et={UNEXPECTED_RETURN_TYPE:Nf,INVALID_ARGUMENT:kt(),MUST_BE_CALL_SETUP_TOP:kt(),NOT_INSTALLED:kt(),NOT_AVAILABLE_IN_LEGACY_MODE:kt(),REQUIRED_VALUE:kt(),INVALID_VALUE:kt(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:kt(),NOT_INSTALLED_WITH_PROVIDE:kt(),UNEXPECTED_ERROR:kt(),NOT_COMPATIBLE_LEGACY_VUE_I18N:kt(),BRIDGE_SUPPORT_VUE_2_ONLY:kt(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:kt(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:kt(),__EXTEND_POINT__:kt()};function it(e,...t){return Wu(e,null,void 0)}const Gs=Xn("__translateVNode"),Ks=Xn("__datetimeParts"),Xs=Xn("__numberParts"),Pf=Xn("__setPluralRules"),Mf=Xn("__injectWithOption"),Zs=Xn("__dispose");function kr(e){if(!De(e)||ln(e))return e;for(const t in e)if(Yt(e,t))if(!t.includes("."))De(e[t])&&kr(e[t]);else{const n=t.split("."),u=n.length-1;let r=e,i=!1;for(let s=0;s<u;s++){if(n[s]==="__proto__")throw new Error(`unsafe key: ${n[s]}`);if(n[s]in r||(r[n[s]]=Oe()),!De(r[n[s]])){i=!0;break}r=r[n[s]]}if(i||(ln(r)?yf.includes(n[u])||delete e[t]:(r[n[u]]=e[t],delete e[t])),!ln(r)){const s=r[n[u]];De(s)&&kr(s)}}return e}function Wi(e,t){const{messages:n,__i18n:u,messageResolver:r,flatJson:i}=t,s=pe(n)?n:Ve(u)?Oe():{[e]:Oe()};if(Ve(u)&&u.forEach(o=>{if("locale"in o&&"resource"in o){const{locale:a,resource:l}=o;a?(s[a]=s[a]||Oe(),oi(l,s[a])):oi(l,s)}else Z(o)&&oi(JSON.parse(o),s)}),r==null&&i)for(const o in s)Yt(s,o)&&kr(s[o]);return s}function Rf(e){return e.type}function $f(e,t,n){let u=De(t.messages)?t.messages:Oe();"__i18nGlobal"in n&&(u=Wi(e.locale.value,{messages:u,__i18n:n.__i18nGlobal}));const r=Object.keys(u);r.length&&r.forEach(i=>{e.mergeLocaleMessage(i,u[i])});{if(De(t.datetimeFormats)){const i=Object.keys(t.datetimeFormats);i.length&&i.forEach(s=>{e.mergeDateTimeFormat(s,t.datetimeFormats[s])})}if(De(t.numberFormats)){const i=Object.keys(t.numberFormats);i.length&&i.forEach(s=>{e.mergeNumberFormat(s,t.numberFormats[s])})}}}function il(e){return W(Nr,null,e,0)}const sl="__INTLIFY_META__",ol=()=>[],tm=()=>!1;let al=0;function ll(e){return(t,n,u,r)=>e(n,u,jt()||void 0,r)}const nm=()=>{const e=jt();let t=null;return e&&(t=Rf(e)[sl])?{[sl]:t}:null};function Io(e={},t){const{__root:n,__injectWithOption:u}=e,r=n===void 0,i=e.flatJson,s=vi?ne:o0,o=!!e.translateExistCompatible;let a=ye(e.inheritLocale)?e.inheritLocale:!0;const l=s(n&&a?n.locale.value:Z(e.locale)?e.locale:$u),c=s(n&&a?n.fallbackLocale.value:Z(e.fallbackLocale)||Ve(e.fallbackLocale)||pe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:l.value),f=s(Wi(l.value,e)),d=s(pe(e.datetimeFormats)?e.datetimeFormats:{[l.value]:{}}),h=s(pe(e.numberFormats)?e.numberFormats:{[l.value]:{}});let p=n?n.missingWarn:ye(e.missingWarn)||zn(e.missingWarn)?e.missingWarn:!0,x=n?n.fallbackWarn:ye(e.fallbackWarn)||zn(e.fallbackWarn)?e.fallbackWarn:!0,w=n?n.fallbackRoot:ye(e.fallbackRoot)?e.fallbackRoot:!0,A=!!e.fallbackFormat,T=$e(e.missing)?e.missing:null,g=$e(e.missing)?ll(e.missing):null,_=$e(e.postTranslation)?e.postTranslation:null,E=n?n.warnHtmlMessage:ye(e.warnHtmlMessage)?e.warnHtmlMessage:!0,v=!!e.escapeParameter;const S=n?n.modifiers:pe(e.modifiers)?e.modifiers:{};let N=e.pluralRules||n&&n.pluralRules,I;I=(()=>{r&&Xa(null);const D={version:J2,locale:l.value,fallbackLocale:c.value,messages:f.value,modifiers:S,pluralRules:N,missing:g===null?void 0:g,missingWarn:p,fallbackWarn:x,fallbackFormat:A,unresolving:!0,postTranslation:_===null?void 0:_,warnHtmlMessage:E,escapeParameter:v,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};D.datetimeFormats=d.value,D.numberFormats=h.value,D.__datetimeFormatters=pe(I)?I.__datetimeFormatters:void 0,D.__numberFormatters=pe(I)?I.__numberFormatters:void 0;const R=V2(D);return r&&Xa(R),R})(),Zu(I,l.value,c.value);function te(){return[l.value,c.value,f.value,d.value,h.value]}const U=xe({get:()=>l.value,set:D=>{l.value=D,I.locale=l.value}}),K=xe({get:()=>c.value,set:D=>{c.value=D,I.fallbackLocale=c.value,Zu(I,l.value,D)}}),ue=xe(()=>f.value),ee=xe(()=>d.value),se=xe(()=>h.value);function be(){return $e(_)?_:null}function H(D){_=D,I.postTranslation=D}function re(){return T}function J(D){D!==null&&(g=ll(D)),T=D,I.missing=g}const _e=(D,R,Q,we,We,mt)=>{te();let ot;try{__INTLIFY_PROD_DEVTOOLS__,r||(I.fallbackContext=n?U2():void 0),ot=D(I)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(I.fallbackContext=void 0)}if(Q!=="translate exists"&&Ze(ot)&&ot===zi||Q==="translate exists"&&!ot){const[eu,ts]=R();return n&&w?we(n):We(eu)}else{if(mt(ot))return ot;throw it(et.UNEXPECTED_RETURN_TYPE)}};function ie(...D){return _e(R=>Reflect.apply(el,null,[R,...D]),()=>Ws(...D),"translate",R=>Reflect.apply(R.t,R,[...D]),R=>R,R=>Z(R))}function Ge(...D){const[R,Q,we]=D;if(we&&!De(we))throw it(et.INVALID_ARGUMENT);return ie(R,Q,ft({resolvedMessage:!0},we||{}))}function Ae(...D){return _e(R=>Reflect.apply(tl,null,[R,...D]),()=>qs(...D),"datetime format",R=>Reflect.apply(R.d,R,[...D]),()=>Ya,R=>Z(R))}function At(...D){return _e(R=>Reflect.apply(ul,null,[R,...D]),()=>Ys(...D),"number format",R=>Reflect.apply(R.n,R,[...D]),()=>Ya,R=>Z(R))}function Ce(D){return D.map(R=>Z(R)||Ze(R)||ye(R)?il(String(R)):R)}const ce={normalize:Ce,interpolate:D=>D,type:"vnode"};function fe(...D){return _e(R=>{let Q;const we=R;try{we.processor=ce,Q=Reflect.apply(el,null,[we,...D])}finally{we.processor=null}return Q},()=>Ws(...D),"translate",R=>R[Gs](...D),R=>[il(R)],R=>Ve(R))}function ke(...D){return _e(R=>Reflect.apply(ul,null,[R,...D]),()=>Ys(...D),"number format",R=>R[Xs](...D),ol,R=>Z(R)||Ve(R))}function Ee(...D){return _e(R=>Reflect.apply(tl,null,[R,...D]),()=>qs(...D),"datetime format",R=>R[Ks](...D),ol,R=>Z(R)||Ve(R))}function y(D){N=D,I.pluralRules=N}function k(D,R){return _e(()=>{if(!D)return!1;const Q=Z(R)?R:l.value,we=B(Q),We=I.messageResolver(we,D);return o?We!=null:ln(We)||Mt(We)||Z(We)},()=>[D],"translate exists",Q=>Reflect.apply(Q.te,Q,[D,R]),tm,Q=>ye(Q))}function C(D){let R=null;const Q=Ef(I,c.value,l.value);for(let we=0;we<Q.length;we++){const We=f.value[Q[we]]||{},mt=I.messageResolver(We,D);if(mt!=null){R=mt;break}}return R}function O(D){const R=C(D);return R??(n?n.tm(D)||{}:{})}function B(D){return f.value[D]||{}}function M(D,R){if(i){const Q={[D]:R};for(const we in Q)Yt(Q,we)&&kr(Q[we]);R=Q[D]}f.value[D]=R,I.messages=f.value}function Y(D,R){f.value[D]=f.value[D]||{};const Q={[D]:R};if(i)for(const we in Q)Yt(Q,we)&&kr(Q[we]);R=Q[D],oi(R,f.value[D]),I.messages=f.value}function q(D){return d.value[D]||{}}function m(D,R){d.value[D]=R,I.datetimeFormats=d.value,nl(I,D,R)}function b(D,R){d.value[D]=ft(d.value[D]||{},R),I.datetimeFormats=d.value,nl(I,D,R)}function L(D){return h.value[D]||{}}function P(D,R){h.value[D]=R,I.numberFormats=h.value,rl(I,D,R)}function X(D,R){h.value[D]=ft(h.value[D]||{},R),I.numberFormats=h.value,rl(I,D,R)}al++,n&&vi&&(Je(n.locale,D=>{a&&(l.value=D,I.locale=D,Zu(I,l.value,c.value))}),Je(n.fallbackLocale,D=>{a&&(c.value=D,I.fallbackLocale=D,Zu(I,l.value,c.value))}));const z={id:al,locale:U,fallbackLocale:K,get inheritLocale(){return a},set inheritLocale(D){a=D,D&&n&&(l.value=n.locale.value,c.value=n.fallbackLocale.value,Zu(I,l.value,c.value))},get availableLocales(){return Object.keys(f.value).sort()},messages:ue,get modifiers(){return S},get pluralRules(){return N||{}},get isGlobal(){return r},get missingWarn(){return p},set missingWarn(D){p=D,I.missingWarn=p},get fallbackWarn(){return x},set fallbackWarn(D){x=D,I.fallbackWarn=x},get fallbackRoot(){return w},set fallbackRoot(D){w=D},get fallbackFormat(){return A},set fallbackFormat(D){A=D,I.fallbackFormat=A},get warnHtmlMessage(){return E},set warnHtmlMessage(D){E=D,I.warnHtmlMessage=D},get escapeParameter(){return v},set escapeParameter(D){v=D,I.escapeParameter=D},t:ie,getLocaleMessage:B,setLocaleMessage:M,mergeLocaleMessage:Y,getPostTranslationHandler:be,setPostTranslationHandler:H,getMissingHandler:re,setMissingHandler:J,[Pf]:y};return z.datetimeFormats=ee,z.numberFormats=se,z.rt=Ge,z.te=k,z.tm=O,z.d=Ae,z.n=At,z.getDateTimeFormat=q,z.setDateTimeFormat=m,z.mergeDateTimeFormat=b,z.getNumberFormat=L,z.setNumberFormat=P,z.mergeNumberFormat=X,z[Mf]=u,z[Gs]=fe,z[Ks]=Ee,z[Xs]=ke,z}function um(e){const t=Z(e.locale)?e.locale:$u,n=Z(e.fallbackLocale)||Ve(e.fallbackLocale)||pe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,u=$e(e.missing)?e.missing:void 0,r=ye(e.silentTranslationWarn)||zn(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,i=ye(e.silentFallbackWarn)||zn(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,s=ye(e.fallbackRoot)?e.fallbackRoot:!0,o=!!e.formatFallbackMessages,a=pe(e.modifiers)?e.modifiers:{},l=e.pluralizationRules,c=$e(e.postTranslation)?e.postTranslation:void 0,f=Z(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,d=!!e.escapeParameterHtml,h=ye(e.sync)?e.sync:!0;let p=e.messages;if(pe(e.sharedMessages)){const v=e.sharedMessages;p=Object.keys(v).reduce((N,I)=>{const G=N[I]||(N[I]={});return ft(G,v[I]),N},p||{})}const{__i18n:x,__root:w,__injectWithOption:A}=e,T=e.datetimeFormats,g=e.numberFormats,_=e.flatJson,E=e.translateExistCompatible;return{locale:t,fallbackLocale:n,messages:p,flatJson:_,datetimeFormats:T,numberFormats:g,missing:u,missingWarn:r,fallbackWarn:i,fallbackRoot:s,fallbackFormat:o,modifiers:a,pluralRules:l,postTranslation:c,warnHtmlMessage:f,escapeParameter:d,messageResolver:e.messageResolver,inheritLocale:h,translateExistCompatible:E,__i18n:x,__root:w,__injectWithOption:A}}function Js(e={},t){{const n=Io(um(e)),{__extender:u}=e,r={id:n.id,get locale(){return n.locale.value},set locale(i){n.locale.value=i},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(i){n.fallbackLocale.value=i},get messages(){return n.messages.value},get datetimeFormats(){return n.datetimeFormats.value},get numberFormats(){return n.numberFormats.value},get availableLocales(){return n.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(i){},get missing(){return n.getMissingHandler()},set missing(i){n.setMissingHandler(i)},get silentTranslationWarn(){return ye(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(i){n.missingWarn=ye(i)?!i:i},get silentFallbackWarn(){return ye(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(i){n.fallbackWarn=ye(i)?!i:i},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(i){n.fallbackFormat=i},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(i){n.setPostTranslationHandler(i)},get sync(){return n.inheritLocale},set sync(i){n.inheritLocale=i},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(i){n.warnHtmlMessage=i!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(i){n.escapeParameter=i},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(i){},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...i){const[s,o,a]=i,l={};let c=null,f=null;if(!Z(s))throw it(et.INVALID_ARGUMENT);const d=s;return Z(o)?l.locale=o:Ve(o)?c=o:pe(o)&&(f=o),Ve(a)?c=a:pe(a)&&(f=a),Reflect.apply(n.t,n,[d,c||f||{},l])},rt(...i){return Reflect.apply(n.rt,n,[...i])},tc(...i){const[s,o,a]=i,l={plural:1};let c=null,f=null;if(!Z(s))throw it(et.INVALID_ARGUMENT);const d=s;return Z(o)?l.locale=o:Ze(o)?l.plural=o:Ve(o)?c=o:pe(o)&&(f=o),Z(a)?l.locale=a:Ve(a)?c=a:pe(a)&&(f=a),Reflect.apply(n.t,n,[d,c||f||{},l])},te(i,s){return n.te(i,s)},tm(i){return n.tm(i)},getLocaleMessage(i){return n.getLocaleMessage(i)},setLocaleMessage(i,s){n.setLocaleMessage(i,s)},mergeLocaleMessage(i,s){n.mergeLocaleMessage(i,s)},d(...i){return Reflect.apply(n.d,n,[...i])},getDateTimeFormat(i){return n.getDateTimeFormat(i)},setDateTimeFormat(i,s){n.setDateTimeFormat(i,s)},mergeDateTimeFormat(i,s){n.mergeDateTimeFormat(i,s)},n(...i){return Reflect.apply(n.n,n,[...i])},getNumberFormat(i){return n.getNumberFormat(i)},setNumberFormat(i,s){n.setNumberFormat(i,s)},mergeNumberFormat(i,s){n.mergeNumberFormat(i,s)},getChoiceIndex(i,s){return-1}};return r.__extender=u,r}}const Fo={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function rm({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((u,r)=>[...u,...r.type===he?r.children:[r]],[]):t.reduce((n,u)=>{const r=e[u];return r&&(n[u]=r()),n},Oe())}function Bf(e){return he}const im=Vt({name:"i18n-t",props:ft({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Ze(e)||!isNaN(e)}},Fo),setup(e,t){const{slots:n,attrs:u}=t,r=e.i18n||qu({useScope:e.scope,__useComponent:!0});return()=>{const i=Object.keys(n).filter(f=>f!=="_"),s=Oe();e.locale&&(s.locale=e.locale),e.plural!==void 0&&(s.plural=Z(e.plural)?+e.plural:e.plural);const o=rm(t,i),a=r[Gs](e.keypath,o,s),l=ft(Oe(),u),c=Z(e.tag)||De(e.tag)?e.tag:Bf();return yr(c,l,a)}}}),cl=im;function sm(e){return Ve(e)&&!Z(e[0])}function jf(e,t,n,u){const{slots:r,attrs:i}=t;return()=>{const s={part:!0};let o=Oe();e.locale&&(s.locale=e.locale),Z(e.format)?s.key=e.format:De(e.format)&&(Z(e.format.key)&&(s.key=e.format.key),o=Object.keys(e.format).reduce((d,h)=>n.includes(h)?ft(Oe(),d,{[h]:e.format[h]}):d,Oe()));const a=u(e.value,s,o);let l=[s.key];Ve(a)?l=a.map((d,h)=>{const p=r[d.type],x=p?p({[d.type]:d.value,index:h,parts:a}):[d.value];return sm(x)&&(x[0].key=`${d.type}-${h}`),x}):Z(a)&&(l=[a]);const c=ft(Oe(),i),f=Z(e.tag)||De(e.tag)?e.tag:Bf();return yr(f,c,l)}}const om=Vt({name:"i18n-n",props:ft({value:{type:Number,required:!0},format:{type:[String,Object]}},Fo),setup(e,t){const n=e.i18n||qu({useScope:e.scope,__useComponent:!0});return jf(e,t,Of,(...u)=>n[Xs](...u))}}),fl=om,am=Vt({name:"i18n-d",props:ft({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Fo),setup(e,t){const n=e.i18n||qu({useScope:e.scope,__useComponent:!0});return jf(e,t,Lf,(...u)=>n[Ks](...u))}}),dl=am;function lm(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const u=n.__getInstance(t);return u!=null?u.__composer:e.global.__composer}}function cm(e){const t=s=>{const{instance:o,modifiers:a,value:l}=s;if(!o||!o.$)throw it(et.UNEXPECTED_ERROR);const c=lm(e,o.$),f=hl(l);return[Reflect.apply(c.t,c,[...pl(f)]),c]};return{created:(s,o)=>{const[a,l]=t(o);vi&&e.global===l&&(s.__i18nWatcher=Je(l.locale,()=>{o.instance&&o.instance.$forceUpdate()})),s.__composer=l,s.textContent=a},unmounted:s=>{vi&&s.__i18nWatcher&&(s.__i18nWatcher(),s.__i18nWatcher=void 0,delete s.__i18nWatcher),s.__composer&&(s.__composer=void 0,delete s.__composer)},beforeUpdate:(s,{value:o})=>{if(s.__composer){const a=s.__composer,l=hl(o);s.textContent=Reflect.apply(a.t,a,[...pl(l)])}},getSSRProps:s=>{const[o]=t(s);return{textContent:o}}}}function hl(e){if(Z(e))return{path:e};if(pe(e)){if(!("path"in e))throw it(et.REQUIRED_VALUE,"path");return e}else throw it(et.INVALID_VALUE)}function pl(e){const{path:t,locale:n,args:u,choice:r,plural:i}=e,s={},o=u||{};return Z(n)&&(s.locale=n),Ze(r)&&(s.plural=r),Ze(i)&&(s.plural=i),[t,o,s]}function fm(e,t,...n){const u=pe(n[0])?n[0]:{},r=!!u.useI18nComponentName;(ye(u.globalInstall)?u.globalInstall:!0)&&([r?"i18n":cl.name,"I18nT"].forEach(s=>e.component(s,cl)),[fl.name,"I18nN"].forEach(s=>e.component(s,fl)),[dl.name,"I18nD"].forEach(s=>e.component(s,dl))),e.directive("t",cm(t))}function dm(e,t,n){return{beforeCreate(){const u=jt();if(!u)throw it(et.UNEXPECTED_ERROR);const r=this.$options;if(r.i18n){const i=r.i18n;if(r.__i18n&&(i.__i18n=r.__i18n),i.__root=t,this===this.$root)this.$i18n=ml(e,i);else{i.__injectWithOption=!0,i.__extender=n.__vueI18nExtend,this.$i18n=Js(i);const s=this.$i18n;s.__extender&&(s.__disposer=s.__extender(this.$i18n))}}else if(r.__i18n)if(this===this.$root)this.$i18n=ml(e,r);else{this.$i18n=Js({__i18n:r.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const i=this.$i18n;i.__extender&&(i.__disposer=i.__extender(this.$i18n))}else this.$i18n=e;r.__i18nGlobal&&$f(t,r,r),this.$t=(...i)=>this.$i18n.t(...i),this.$rt=(...i)=>this.$i18n.rt(...i),this.$tc=(...i)=>this.$i18n.tc(...i),this.$te=(i,s)=>this.$i18n.te(i,s),this.$d=(...i)=>this.$i18n.d(...i),this.$n=(...i)=>this.$i18n.n(...i),this.$tm=i=>this.$i18n.tm(i),n.__setInstance(u,this.$i18n)},mounted(){},unmounted(){const u=jt();if(!u)throw it(et.UNEXPECTED_ERROR);const r=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,r.__disposer&&(r.__disposer(),delete r.__disposer,delete r.__extender),n.__deleteInstance(u),delete this.$i18n}}}function ml(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[Pf](t.pluralizationRules||e.pluralizationRules);const n=Wi(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(u=>e.mergeLocaleMessage(u,n[u])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(u=>e.mergeDateTimeFormat(u,t.datetimeFormats[u])),t.numberFormats&&Object.keys(t.numberFormats).forEach(u=>e.mergeNumberFormat(u,t.numberFormats[u])),e}const hm=Xn("global-vue-i18n");function pm(e={},t){const n=__VUE_I18N_LEGACY_API__&&ye(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,u=ye(e.globalInjection)?e.globalInjection:!0,r=__VUE_I18N_LEGACY_API__&&n?!!e.allowComposition:!0,i=new Map,[s,o]=mm(e,n),a=Xn("");function l(d){return i.get(d)||null}function c(d,h){i.set(d,h)}function f(d){i.delete(d)}{const d={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return r},async install(h,...p){if(h.__VUE_I18N_SYMBOL__=a,h.provide(h.__VUE_I18N_SYMBOL__,d),pe(p[0])){const A=p[0];d.__composerExtend=A.__composerExtend,d.__vueI18nExtend=A.__vueI18nExtend}let x=null;!n&&u&&(x=km(h,d.global)),__VUE_I18N_FULL_INSTALL__&&fm(h,d,...p),__VUE_I18N_LEGACY_API__&&n&&h.mixin(dm(o,o.__composer,d));const w=h.unmount;h.unmount=()=>{x&&x(),d.dispose(),w()}},get global(){return o},dispose(){s.stop()},__instances:i,__getInstance:l,__setInstance:c,__deleteInstance:f};return d}}function qu(e={}){const t=jt();if(t==null)throw it(et.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw it(et.NOT_INSTALLED);const n=gm(t),u=_m(n),r=Rf(t),i=bm(e,r);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw it(et.NOT_AVAILABLE_IN_LEGACY_MODE);return Em(t,i,u,e)}if(i==="global")return $f(u,e,r),u;if(i==="parent"){let a=vm(n,t,e.__useComponent);return a==null&&(a=u),a}const s=n;let o=s.__getInstance(t);if(o==null){const a=ft({},e);"__i18n"in r&&(a.__i18n=r.__i18n),u&&(a.__root=u),o=Io(a),s.__composerExtend&&(o[Zs]=s.__composerExtend(o)),xm(s,t,o),s.__setInstance(t,o)}return o}function mm(e,t,n){const u=o1();{const r=__VUE_I18N_LEGACY_API__&&t?u.run(()=>Js(e)):u.run(()=>Io(e));if(r==null)throw it(et.UNEXPECTED_ERROR);return[u,r]}}function gm(e){{const t=Un(e.isCE?hm:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw it(e.isCE?et.NOT_INSTALLED_WITH_PROVIDE:et.UNEXPECTED_ERROR);return t}}function bm(e,t){return Vi(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function _m(e){return e.mode==="composition"?e.global:e.global.__composer}function vm(e,t,n=!1){let u=null;const r=t.root;let i=ym(t,n);for(;i!=null;){const s=e;if(e.mode==="composition")u=s.__getInstance(i);else if(__VUE_I18N_LEGACY_API__){const o=s.__getInstance(i);o!=null&&(u=o.__composer,n&&u&&!u[Mf]&&(u=null))}if(u!=null||r===i)break;i=i.parent}return u}function ym(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function xm(e,t,n){Ht(()=>{},t),Kn(()=>{const u=n;e.__deleteInstance(t);const r=u[Zs];r&&(r(),delete u[Zs])},t)}function Em(e,t,n,u={}){const r=t==="local",i=o0(null);if(r&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw it(et.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const s=ye(u.inheritLocale)?u.inheritLocale:!Z(u.locale),o=ne(!r||s?n.locale.value:Z(u.locale)?u.locale:$u),a=ne(!r||s?n.fallbackLocale.value:Z(u.fallbackLocale)||Ve(u.fallbackLocale)||pe(u.fallbackLocale)||u.fallbackLocale===!1?u.fallbackLocale:o.value),l=ne(Wi(o.value,u)),c=ne(pe(u.datetimeFormats)?u.datetimeFormats:{[o.value]:{}}),f=ne(pe(u.numberFormats)?u.numberFormats:{[o.value]:{}}),d=r?n.missingWarn:ye(u.missingWarn)||zn(u.missingWarn)?u.missingWarn:!0,h=r?n.fallbackWarn:ye(u.fallbackWarn)||zn(u.fallbackWarn)?u.fallbackWarn:!0,p=r?n.fallbackRoot:ye(u.fallbackRoot)?u.fallbackRoot:!0,x=!!u.fallbackFormat,w=$e(u.missing)?u.missing:null,A=$e(u.postTranslation)?u.postTranslation:null,T=r?n.warnHtmlMessage:ye(u.warnHtmlMessage)?u.warnHtmlMessage:!0,g=!!u.escapeParameter,_=r?n.modifiers:pe(u.modifiers)?u.modifiers:{},E=u.pluralRules||r&&n.pluralRules;function v(){return[o.value,a.value,l.value,c.value,f.value]}const S=xe({get:()=>i.value?i.value.locale.value:o.value,set:C=>{i.value&&(i.value.locale.value=C),o.value=C}}),N=xe({get:()=>i.value?i.value.fallbackLocale.value:a.value,set:C=>{i.value&&(i.value.fallbackLocale.value=C),a.value=C}}),I=xe(()=>i.value?i.value.messages.value:l.value),G=xe(()=>c.value),te=xe(()=>f.value);function U(){return i.value?i.value.getPostTranslationHandler():A}function K(C){i.value&&i.value.setPostTranslationHandler(C)}function ue(){return i.value?i.value.getMissingHandler():w}function ee(C){i.value&&i.value.setMissingHandler(C)}function se(C){return v(),C()}function be(...C){return i.value?se(()=>Reflect.apply(i.value.t,null,[...C])):se(()=>"")}function H(...C){return i.value?Reflect.apply(i.value.rt,null,[...C]):""}function re(...C){return i.value?se(()=>Reflect.apply(i.value.d,null,[...C])):se(()=>"")}function J(...C){return i.value?se(()=>Reflect.apply(i.value.n,null,[...C])):se(()=>"")}function _e(C){return i.value?i.value.tm(C):{}}function ie(C,O){return i.value?i.value.te(C,O):!1}function Ge(C){return i.value?i.value.getLocaleMessage(C):{}}function Ae(C,O){i.value&&(i.value.setLocaleMessage(C,O),l.value[C]=O)}function At(C,O){i.value&&i.value.mergeLocaleMessage(C,O)}function Ce(C){return i.value?i.value.getDateTimeFormat(C):{}}function $(C,O){i.value&&(i.value.setDateTimeFormat(C,O),c.value[C]=O)}function ce(C,O){i.value&&i.value.mergeDateTimeFormat(C,O)}function fe(C){return i.value?i.value.getNumberFormat(C):{}}function ke(C,O){i.value&&(i.value.setNumberFormat(C,O),f.value[C]=O)}function Ee(C,O){i.value&&i.value.mergeNumberFormat(C,O)}const y={get id(){return i.value?i.value.id:-1},locale:S,fallbackLocale:N,messages:I,datetimeFormats:G,numberFormats:te,get inheritLocale(){return i.value?i.value.inheritLocale:s},set inheritLocale(C){i.value&&(i.value.inheritLocale=C)},get availableLocales(){return i.value?i.value.availableLocales:Object.keys(l.value)},get modifiers(){return i.value?i.value.modifiers:_},get pluralRules(){return i.value?i.value.pluralRules:E},get isGlobal(){return i.value?i.value.isGlobal:!1},get missingWarn(){return i.value?i.value.missingWarn:d},set missingWarn(C){i.value&&(i.value.missingWarn=C)},get fallbackWarn(){return i.value?i.value.fallbackWarn:h},set fallbackWarn(C){i.value&&(i.value.missingWarn=C)},get fallbackRoot(){return i.value?i.value.fallbackRoot:p},set fallbackRoot(C){i.value&&(i.value.fallbackRoot=C)},get fallbackFormat(){return i.value?i.value.fallbackFormat:x},set fallbackFormat(C){i.value&&(i.value.fallbackFormat=C)},get warnHtmlMessage(){return i.value?i.value.warnHtmlMessage:T},set warnHtmlMessage(C){i.value&&(i.value.warnHtmlMessage=C)},get escapeParameter(){return i.value?i.value.escapeParameter:g},set escapeParameter(C){i.value&&(i.value.escapeParameter=C)},t:be,getPostTranslationHandler:U,setPostTranslationHandler:K,getMissingHandler:ue,setMissingHandler:ee,rt:H,d:re,n:J,tm:_e,te:ie,getLocaleMessage:Ge,setLocaleMessage:Ae,mergeLocaleMessage:At,getDateTimeFormat:Ce,setDateTimeFormat:$,mergeDateTimeFormat:ce,getNumberFormat:fe,setNumberFormat:ke,mergeNumberFormat:Ee};function k(C){C.locale.value=o.value,C.fallbackLocale.value=a.value,Object.keys(l.value).forEach(O=>{C.mergeLocaleMessage(O,l.value[O])}),Object.keys(c.value).forEach(O=>{C.mergeDateTimeFormat(O,c.value[O])}),Object.keys(f.value).forEach(O=>{C.mergeNumberFormat(O,f.value[O])}),C.escapeParameter=g,C.fallbackFormat=x,C.fallbackRoot=p,C.fallbackWarn=h,C.missingWarn=d,C.warnHtmlMessage=T}return D0(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw it(et.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const C=i.value=e.proxy.$i18n.__composer;t==="global"?(o.value=C.locale.value,a.value=C.fallbackLocale.value,l.value=C.messages.value,c.value=C.datetimeFormats.value,f.value=C.numberFormats.value):r&&k(C)}),y}const Cm=["locale","fallbackLocale","availableLocales"],gl=["t","rt","d","n","tm","te"];function km(e,t){const n=Object.create(null);return Cm.forEach(r=>{const i=Object.getOwnPropertyDescriptor(t,r);if(!i)throw it(et.UNEXPECTED_ERROR);const s=rt(i.value)?{get(){return i.value.value},set(o){i.value.value=o}}:{get(){return i.get&&i.get()}};Object.defineProperty(n,r,s)}),e.config.globalProperties.$i18n=n,gl.forEach(r=>{const i=Object.getOwnPropertyDescriptor(t,r);if(!i||!i.value)throw it(et.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${r}`,i)}),()=>{delete e.config.globalProperties.$i18n,gl.forEach(r=>{delete e.config.globalProperties[`$${r}`]})}}Q2();__INTLIFY_JIT_COMPILATION__?Ka(Y2):Ka(q2);R2(b2);$2(Ef);if(__INTLIFY_PROD_DEVTOOLS__){const e=En();e.__INTLIFY__=!0,A2(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const wm={common:{send:"发送",cancel:"取消",confirm:"确认",close:"关闭",save:"保存",delete:"删除",edit:"编辑",add:"添加",back:"返回",next:"下一步",previous:"上一步",loading:"加载中...",success:"操作成功",error:"操作失败",warning:"警告",info:"提示"},chat:{newChat:"新聊天",history:"历史记录",settings:"设置",help:"帮助",about:"关于",inputPlaceholder:"输入消息...",sendButton:"发送",clearButton:"清空",exportButton:"导出",importButton:"导入"},msg_obj:{placeholder:"发消息⋯",fileText:"请根据我上传的体检报告为我生成饮食方案",uploadingTips:"文件正在上传,请稍候...",matchText:"请用以上方案为我配餐",matchContent:"请用以上方案为我配餐",energy:"热量",protein:"蛋白质",fat:"脂肪",carbonwater:"碳水",newChat:"新对话",thinking:"思考中...",thinkCompleted:"思考完成",useSolution:"用该方案配餐",aiTips:"【内容由AI生成,仅供参考】"},personal_form:{title:"个人信息",sex:"性别",age:"年龄",height:"身高",weight:"体重",sport:"日常运动水平",taste:"口味偏好及饮食禁忌",placeholder:{sex:"请选择",age:"请输入年龄",height:"请输入身高",weight:"请输入体重",sport:"请输入",taste:"无忌口"},unit:{age:"岁",height:"cm",weight:"kg"},sport_list:{rest:"休息状态",rest_sub:"卧床或者坐式休息",sedentary:"久坐",sedentary_sub:"坐式工作",light:"轻体力",light_sub:"站立或需要走动的工作",medium:"中体力",medium_sub:"走动多的工作",heavy:"重体力",heavy_sub:"高强度体力工作"},taste_list:["不吃辣","不吃葱","不吃姜","不吃蒜","不吃糖","不吃鱼","不吃虾","不吃牛肉","不吃鸡肉","不吃猪肉"],taboo_list:["高GI","高饱和脂肪酸","高嘌呤","高盐","高胆固醇"],button:"按身体数据领取食谱",toast:{select_sex:"请选择性别",input_age:"请输入年龄",input_height:"请输入身高",input_weight:"请输入体重",select_sport:"请选择日常运动水平",fill_all:"请填写完整信息",age_range:"年龄需要在6-100岁",height_range:"身高需要在100-220cm",weight_range:"体重需要在10-150kg"},dialog:{sex:"选择性别",age:"设置年龄",height:"设置身高",weight:"设置体重",sport:"日常运动水平",taste:"口味偏好&饮食禁忌"},no_taboo:"没有饮食禁忌",sex_options:{male:"男",female:"女"}}},Am={common:{send:"Send",cancel:"Cancel",confirm:"Confirm",close:"Close",save:"Save",delete:"Delete",edit:"Edit",add:"Add",back:"Back",next:"Next",previous:"Previous",loading:"Loading...",success:"Operation successful",error:"Operation failed",warning:"Warning",info:"Info"},chat:{newChat:"New Chat",history:"History",settings:"Settings",help:"Help",about:"About",inputPlaceholder:"Type a message...",sendButton:"Send",clearButton:"Clear",exportButton:"Export",importButton:"Import"},msg_obj:{placeholder:"Type a message⋯",fileText:"Please generate a diet plan based on my uploaded medical report",uploadingTips:"File is uploading, please wait...",matchText:"Please use the above plan to prepare meals for me",matchContent:"Please use the above plan to prepare meals for me",energy:"Calories",protein:"Protein",fat:"Fat",carbonwater:"Carbs",newChat:"New Conversation",thinking:"Thinking...",thinkCompleted:"Thinking completed",useSolution:"Use this plan to prepare meals",aiTips:"[Content generated by AI, for reference only]"},personal_form:{title:"Personal Information",sex:"Gender",age:"Age",height:"Height",weight:"Weight",sport:"Daily Activity Level",taste:"Taste Preferences & Dietary Restrictions",placeholder:{sex:"Please select",age:"Please enter age",height:"Please enter height",weight:"Please enter weight",sport:"Please enter",taste:"No restrictions"},unit:{age:"years",height:"cm",weight:"kg"},sport_list:{rest:"Resting",rest_sub:"Bedridden or sitting rest",sedentary:"Sedentary",sedentary_sub:"Office work",light:"Light activity",light_sub:"Standing or walking work",medium:"Moderate activity",medium_sub:"Work with frequent walking",heavy:"Heavy activity",heavy_sub:"High-intensity physical work"},taste_list:["No spicy","No green onions","No ginger","No garlic","No sugar","No fish","No shrimp","No beef","No chicken","No pork"],taboo_list:["High GI","High saturated fat","High purine","High salt","High cholesterol"],button:"Get diet plan based on body data",toast:{select_sex:"Please select gender",input_age:"Please enter age",input_height:"Please enter height",input_weight:"Please enter weight",select_sport:"Please select daily activity level",fill_all:"Please fill in all information",age_range:"Age should be between 6-100 years",height_range:"Height should be between 100-220cm",weight_range:"Weight should be between 10-150kg"},dialog:{sex:"Select Gender",age:"Set Age",height:"Set Height",weight:"Set Weight",sport:"Daily Activity Level",taste:"Taste Preferences & Dietary Restrictions"},no_taboo:"No dietary restrictions",sex_options:{male:"Male",female:"Female"}}},Tm={common:{send:"發送",cancel:"取消",confirm:"確認",close:"關閉",save:"保存",delete:"刪除",edit:"編輯",add:"添加",back:"返回",next:"下一步",previous:"上一步",loading:"加載中...",success:"操作成功",error:"操作失敗",warning:"警告",info:"提示"},chat:{newChat:"新聊天",history:"歷史記錄",settings:"設置",help:"幫助",about:"關於",inputPlaceholder:"輸入消息...",sendButton:"發送",clearButton:"清空",exportButton:"導出",importButton:"導入"},msg_obj:{placeholder:"發消息⋯",fileText:"請根據我上傳的體檢報告為我生成飲食方案",uploadingTips:"文件正在上傳,請稍候...",matchText:"請用以上方案為我配餐",matchContent:"請用以上方案為我配餐",energy:"熱量",protein:"蛋白質",fat:"脂肪",carbonwater:"碳水",newChat:"新對話",thinking:"思考中...",thinkCompleted:"思考完成",useSolution:"用該方案配餐",aiTips:"【内容由AI生成,僅供參考】"},personal_form:{title:"個人信息",sex:"性別",age:"年齡",height:"身高",weight:"體重",sport:"日常運動水平",taste:"口味偏好及飲食禁忌",placeholder:{sex:"請選擇",age:"請輸入年齡",height:"請輸入身高",weight:"請輸入體重",sport:"請輸入",taste:"無禁忌"},unit:{age:"歲",height:"cm",weight:"kg"},sport_list:{rest:"休息狀態",rest_sub:"卧床或者坐式休息",sedentary:"久坐",sedentary_sub:"坐式工作",light:"輕體力",light_sub:"站立或需要走動的工作",medium:"中體力",medium_sub:"走動多的工作",heavy:"重體力",heavy_sub:"高強度體力工作"},taste_list:["不吃辣","不吃蔥","不吃姜","不吃蒜","不吃糖","不吃魚","不吃蝦","不吃牛肉","不吃雞肉","不吃豬肉"],taboo_list:["高GI","高飽和脂肪酸","高嘌呤","高鹽","高膽固醇"],button:"按身體數據領取食譜",toast:{select_sex:"請選擇性別",input_age:"請輸入年齡",input_height:"請輸入身高",input_weight:"請輸入體重",select_sport:"請選擇日常運動水平",fill_all:"請填寫完整信息",age_range:"年齡需要在6-100歲",height_range:"身高需要在100-220cm",weight_range:"體重需要在10-150kg"},dialog:{sex:"選擇性別",age:"設置年齡",height:"設置身高",weight:"設置體重",sport:"日常運動水平",taste:"口味偏好&飲食禁忌"},no_taboo:"沒有飲食禁忌",sex_options:{male:"男",female:"女"}}},Dm={"zh-CN":wm,"en-US":Am,"zh-TW":Tm},Uf=pm({locale:"zh-CN",messages:Dm,legacy:!1,globalInjection:!0}),ze=(e,t)=>{const n=e.__vccOpts||e;for(const[u,r]of t)n[u]=r;return n},Sm={},Im={class:"icon-icon icon-icon-coz_broom",width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"};function Fm(e,t){return j(),V("svg",Im,t[0]||(t[0]=[F("path",{d:"M9 2V6L4 6C2.89543 6 2 6.89543 2 8V21C2 22.1046 2.89543 23 4 23H20C21.1046 23 22 22.1046 22 21V8C22 6.89543 21.1046 6 20 6L15 6V2C15 0.895431 14.1046 0 13 0H11C9.89543 0 9 0.895431 9 2ZM13 2V8H20V12H4V8H11V2H13ZM4 14H20V21H9V18C9 17.4477 8.55228 17 8 17C7.44772 17 7 17.4477 7 18V21H4L4 14Z"},null,-1)]))}const Lm=ze(Sm,[["render",Fm]]),Om={},Nm={width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"};function Pm(e,t){return j(),V("svg",Nm,t[0]||(t[0]=[F("path",{d:"M4.96977 17.7929C4.57925 18.1834 4.57925 18.8166 4.96977 19.2071C5.3603 19.5976 5.99346 19.5976 6.38399 19.2071L12.1769 13.4142L17.9698 19.2071C18.3603 19.5976 18.9935 19.5976 19.384 19.2071C19.7745 18.8166 19.7745 18.1834 19.384 17.7929L13.5911 12L19.384 6.20711C19.7745 5.81658 19.7745 5.18342 19.384 4.79289C18.9935 4.40237 18.3603 4.40237 17.9698 4.79289L12.1769 10.5858L6.38399 4.79289C5.99347 4.40237 5.3603 4.40237 4.96978 4.79289C4.57925 5.18342 4.57925 5.81658 4.96978 6.20711L10.7627 12L4.96977 17.7929Z"},null,-1)]))}const Vf=ze(Om,[["render",Pm]]),Mm={},Rm={width:"1em",height:"1em",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function $m(e,t){return j(),V("svg",Rm,t[0]||(t[0]=[F("path",{d:"M1 16C1 7.71573 7.71573 1 16 1C24.2843 1 31 7.71573 31 16C31 24.2843 24.2843 31 16 31C7.71573 31 1 24.2843 1 16Z",fill:"currentColor"},null,-1),F("path",{d:"M16.7066 8.29236L16 7.58578L15.2929 8.29289L9.29289 14.2929C8.90237 14.6834 8.90237 15.3166 9.29289 15.7071C9.68342 16.0976 10.3166 16.0976 10.7071 15.7071L15 11.4142L15 23C15 23.5523 15.4477 24 16 24C16.5523 24 17 23.5523 17 23L17 11.4142L21.2929 15.7071C21.6834 16.0976 22.3166 16.0976 22.7071 15.7071C23.0976 15.3166 23.0976 14.6834 22.7071 14.2929L16.7077 8.29351L16.7071 8.29289L16.7066 8.29236Z",fill:"#fff"},null,-1)]))}const Bm=ze(Mm,[["render",$m]]);function Hf(e,t={}){const u={...{method:"GET",headers:{"Content-Type":"application/json",Accept:"application/json"},body:null,credentials:"same-origin",mode:"cors",cache:"default"},...t};if(console.log("====finalOptions====",u),u.method.toUpperCase()==="POST"&&!u.body)throw new Error("POST request must have a body");return fetch(e,u).then(r=>{if(!r.ok)throw new Error(`HTTP error! status: ${r.status}`);return r.json()}).catch(r=>{throw console.error("Fetch error:",r),r})}function jm(e,t={}){return Hf(e,{...t,method:"GET"})}function ai(e,t={},n={}){return Hf(e,{...n,method:"POST",body:JSON.stringify(t)})}/*!
|
|
36
|
-
* Viewer.js v1.11.7
|
|
37
|
-
* https://fengyuanchen.github.io/viewerjs
|
|
38
|
-
*
|
|
39
|
-
* Copyright 2015-present Chen Fengyuan
|
|
40
|
-
* Released under the MIT license
|
|
41
|
-
*
|
|
42
|
-
* Date: 2024-11-24T04:32:19.116Z
|
|
43
|
-
*/function Um(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bl(e,t){for(var n=0;n<t.length;n++){var u=t[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(e,zf(u.key),u)}}function Vm(e,t,n){return t&&bl(e.prototype,t),n&&bl(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Hm(e,t,n){return(t=zf(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);t&&(u=u.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,u)}return n}function Lo(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?_l(Object(n),!0).forEach(function(u){Hm(e,u,n[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_l(Object(n)).forEach(function(u){Object.defineProperty(e,u,Object.getOwnPropertyDescriptor(n,u))})}return e}function zm(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var u=n.call(e,t);if(typeof u!="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function zf(e){var t=zm(e,"string");return typeof t=="symbol"?t:t+""}function Qs(e){"@babel/helpers - typeof";return Qs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Qs(e)}var vl={backdrop:!0,button:!0,navbar:!0,title:!0,toolbar:!0,className:"",container:"body",filter:null,fullscreen:!0,inheritedAttributes:["crossOrigin","decoding","isMap","loading","referrerPolicy","sizes","srcset","useMap"],initialCoverage:.9,initialViewIndex:0,inline:!1,interval:5e3,keyboard:!0,focus:!0,loading:!0,loop:!0,minWidth:200,minHeight:100,movable:!0,rotatable:!0,scalable:!0,zoomable:!0,zoomOnTouch:!0,zoomOnWheel:!0,slideOnTouch:!0,toggleOnDblclick:!0,tooltip:!0,transition:!0,zIndex:2015,zIndexInline:0,zoomRatio:.1,minZoomRatio:.01,maxZoomRatio:100,url:"src",ready:null,show:null,shown:null,hide:null,hidden:null,view:null,viewed:null,move:null,moved:null,rotate:null,rotated:null,scale:null,scaled:null,zoom:null,zoomed:null,play:null,stop:null},Wm='<div class="viewer-container" tabindex="-1" touch-action="none"><div class="viewer-canvas"></div><div class="viewer-footer"><div class="viewer-title"></div><div class="viewer-toolbar"></div><div class="viewer-navbar"><ul class="viewer-list" role="navigation"></ul></div></div><div class="viewer-tooltip" role="alert" aria-hidden="true"></div><div class="viewer-button" data-viewer-action="mix" role="button"></div><div class="viewer-player"></div></div>',qi=typeof window<"u"&&typeof window.document<"u",Tn=qi?window:{},Nu=qi&&Tn.document.documentElement?"ontouchstart"in Tn.document.documentElement:!1,Oo=qi?"PointerEvent"in Tn:!1,ve="viewer",li="move",Wf="switch",nr="zoom",Gr="".concat(ve,"-active"),qm="".concat(ve,"-close"),ci="".concat(ve,"-fade"),eo="".concat(ve,"-fixed"),Ym="".concat(ve,"-fullscreen"),yl="".concat(ve,"-fullscreen-exit"),lu="".concat(ve,"-hide"),Gm="".concat(ve,"-hide-md-down"),Km="".concat(ve,"-hide-sm-down"),Xm="".concat(ve,"-hide-xs-down"),Nt="".concat(ve,"-in"),lr="".concat(ve,"-invisible"),Pu="".concat(ve,"-loading"),Zm="".concat(ve,"-move"),xl="".concat(ve,"-open"),gu="".concat(ve,"-show"),Ke="".concat(ve,"-transition"),Bu="click",to="dblclick",El="dragstart",Cl="focusin",kl="keydown",Rt="load",fu="error",Jm=Nu?"touchend touchcancel":"mouseup",Qm=Nu?"touchmove":"mousemove",eg=Nu?"touchstart":"mousedown",wl=Oo?"pointerdown":eg,Al=Oo?"pointermove":Qm,Tl=Oo?"pointerup pointercancel":Jm,Dl="resize",Wt="transitionend",Sl="wheel",Il="ready",Fl="show",Ll="shown",Ol="hide",Nl="hidden",Pl="view",wr="viewed",Ml="move",Rl="moved",$l="rotate",Bl="rotated",jl="scale",Ul="scaled",Vl="zoom",Hl="zoomed",zl="play",Wl="stop",xi="".concat(ve,"Action"),No=/\s\s*/,Kr=["zoom-in","zoom-out","one-to-one","reset","prev","play","next","rotate-left","rotate-right","flip-horizontal","flip-vertical"];function Ar(e){return typeof e=="string"}var tg=Number.isNaN||Tn.isNaN;function qe(e){return typeof e=="number"&&!tg(e)}function wu(e){return typeof e>"u"}function ju(e){return Qs(e)==="object"&&e!==null}var ng=Object.prototype.hasOwnProperty;function Au(e){if(!ju(e))return!1;try{var t=e.constructor,n=t.prototype;return t&&n&&ng.call(n,"isPrototypeOf")}catch{return!1}}function Ne(e){return typeof e=="function"}function Be(e,t){if(e&&Ne(t))if(Array.isArray(e)||qe(e.length)){var n=e.length,u;for(u=0;u<n&&t.call(e,e[u],u,e)!==!1;u+=1);}else ju(e)&&Object.keys(e).forEach(function(r){t.call(e,e[r],r,e)});return e}var Ft=Object.assign||function(t){for(var n=arguments.length,u=new Array(n>1?n-1:0),r=1;r<n;r++)u[r-1]=arguments[r];return ju(t)&&u.length>0&&u.forEach(function(i){ju(i)&&Object.keys(i).forEach(function(s){t[s]=i[s]})}),t},ug=/^(?:width|height|left|top|marginLeft|marginTop)$/;function Kt(e,t){var n=e.style;Be(t,function(u,r){ug.test(r)&&qe(u)&&(u+="px"),n[r]=u})}function rg(e){return Ar(e)?e.replace(/&(?!amp;|quot;|#39;|lt;|gt;)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">"):e}function Cu(e,t){return!e||!t?!1:e.classList?e.classList.contains(t):e.className.indexOf(t)>-1}function de(e,t){if(!(!e||!t)){if(qe(e.length)){Be(e,function(u){de(u,t)});return}if(e.classList){e.classList.add(t);return}var n=e.className.trim();n?n.indexOf(t)<0&&(e.className="".concat(n," ").concat(t)):e.className=t}}function Se(e,t){if(!(!e||!t)){if(qe(e.length)){Be(e,function(n){Se(n,t)});return}if(e.classList){e.classList.remove(t);return}e.className.indexOf(t)>=0&&(e.className=e.className.replace(t,""))}}function Tr(e,t,n){if(t){if(qe(e.length)){Be(e,function(u){Tr(u,t,n)});return}n?de(e,t):Se(e,t)}}var ig=/([a-z\d])([A-Z])/g;function Po(e){return e.replace(ig,"$1-$2").toLowerCase()}function Tu(e,t){return ju(e[t])?e[t]:e.dataset?e.dataset[t]:e.getAttribute("data-".concat(Po(t)))}function no(e,t,n){ju(n)?e[t]=n:e.dataset?e.dataset[t]=n:e.setAttribute("data-".concat(Po(t)),n)}var qf=function(){var e=!1;if(qi){var t=!1,n=function(){},u=Object.defineProperty({},"once",{get:function(){return e=!0,t},set:function(i){t=i}});Tn.addEventListener("test",n,u),Tn.removeEventListener("test",n,u)}return e}();function Pe(e,t,n){var u=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},r=n;t.trim().split(No).forEach(function(i){if(!qf){var s=e.listeners;s&&s[i]&&s[i][n]&&(r=s[i][n],delete s[i][n],Object.keys(s[i]).length===0&&delete s[i],Object.keys(s).length===0&&delete e.listeners)}e.removeEventListener(i,r,u)})}function me(e,t,n){var u=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},r=n;t.trim().split(No).forEach(function(i){if(u.once&&!qf){var s=e.listeners,o=s===void 0?{}:s;r=function(){delete o[i][n],e.removeEventListener(i,r,u);for(var l=arguments.length,c=new Array(l),f=0;f<l;f++)c[f]=arguments[f];n.apply(e,c)},o[i]||(o[i]={}),o[i][n]&&e.removeEventListener(i,o[i][n],u),o[i][n]=r,e.listeners=o}e.addEventListener(i,r,u)})}function Xe(e,t,n,u){var r;return Ne(Event)&&Ne(CustomEvent)?r=new CustomEvent(t,Lo({bubbles:!0,cancelable:!0,detail:n},u)):(r=document.createEvent("CustomEvent"),r.initCustomEvent(t,!0,!0,n)),e.dispatchEvent(r)}function sg(e){var t=e.getBoundingClientRect();return{left:t.left+(window.pageXOffset-document.documentElement.clientLeft),top:t.top+(window.pageYOffset-document.documentElement.clientTop)}}function fi(e){var t=e.rotate,n=e.scaleX,u=e.scaleY,r=e.translateX,i=e.translateY,s=[];qe(r)&&r!==0&&s.push("translateX(".concat(r,"px)")),qe(i)&&i!==0&&s.push("translateY(".concat(i,"px)")),qe(t)&&t!==0&&s.push("rotate(".concat(t,"deg)")),qe(n)&&n!==1&&s.push("scaleX(".concat(n,")")),qe(u)&&u!==1&&s.push("scaleY(".concat(u,")"));var o=s.length?s.join(" "):"none";return{WebkitTransform:o,msTransform:o,transform:o}}function og(e){return Ar(e)?decodeURIComponent(e.replace(/^.*\//,"").replace(/[?&#].*$/,"")):""}var bs=Tn.navigator&&/Version\/\d+(\.\d+)+?\s+Safari/i.test(Tn.navigator.userAgent);function Yf(e,t,n){var u=document.createElement("img");if(e.naturalWidth&&!bs)return n(e.naturalWidth,e.naturalHeight),u;var r=document.body||document.documentElement;return u.onload=function(){n(u.width,u.height),bs||r.removeChild(u)},Be(t.inheritedAttributes,function(i){var s=e.getAttribute(i);s!==null&&u.setAttribute(i,s)}),u.src=e.src,bs||(u.style.cssText="left:0;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:0;position:absolute;top:0;z-index:-1;",r.appendChild(u)),u}function Xr(e){switch(e){case 2:return Xm;case 3:return Km;case 4:return Gm;default:return""}}function ag(e){var t=Lo({},e),n=[];return Be(e,function(u,r){delete t[r],Be(t,function(i){var s=Math.abs(u.startX-i.startX),o=Math.abs(u.startY-i.startY),a=Math.abs(u.endX-i.endX),l=Math.abs(u.endY-i.endY),c=Math.sqrt(s*s+o*o),f=Math.sqrt(a*a+l*l),d=(f-c)/c;n.push(d)})}),n.sort(function(u,r){return Math.abs(u)<Math.abs(r)}),n[0]}function Zr(e,t){var n=e.pageX,u=e.pageY,r={endX:n,endY:u};return t?r:Lo({timeStamp:Date.now(),startX:n,startY:u},r)}function lg(e){var t=0,n=0,u=0;return Be(e,function(r){var i=r.startX,s=r.startY;t+=i,n+=s,u+=1}),t/=u,n/=u,{pageX:t,pageY:n}}var cg={render:function(){this.initContainer(),this.initViewer(),this.initList(),this.renderViewer()},initBody:function(){var t=this.element.ownerDocument,n=t.body||t.documentElement;this.body=n,this.scrollbarWidth=window.innerWidth-t.documentElement.clientWidth,this.initialBodyPaddingRight=n.style.paddingRight,this.initialBodyComputedPaddingRight=window.getComputedStyle(n).paddingRight},initContainer:function(){this.containerData={width:window.innerWidth,height:window.innerHeight}},initViewer:function(){var t=this.options,n=this.parent,u;t.inline&&(u={width:Math.max(n.offsetWidth,t.minWidth),height:Math.max(n.offsetHeight,t.minHeight)},this.parentData=u),(this.fulled||!u)&&(u=this.containerData),this.viewerData=Ft({},u)},renderViewer:function(){this.options.inline&&!this.fulled&&Kt(this.viewer,this.viewerData)},initList:function(){var t=this,n=this.element,u=this.options,r=this.list,i=[];r.innerHTML="",Be(this.images,function(s,o){var a=s.src,l=s.alt||og(a),c=t.getImageURL(s);if(a||c){var f=document.createElement("li"),d=document.createElement("img");Be(u.inheritedAttributes,function(h){var p=s.getAttribute(h);p!==null&&d.setAttribute(h,p)}),u.navbar&&(d.src=a||c),d.alt=l,d.setAttribute("data-original-url",c||a),f.setAttribute("data-index",o),f.setAttribute("data-viewer-action","view"),f.setAttribute("role","button"),u.keyboard&&f.setAttribute("tabindex",0),f.appendChild(d),r.appendChild(f),i.push(f)}}),this.items=i,Be(i,function(s){var o=s.firstElementChild,a,l;no(o,"filled",!0),u.loading&&de(s,Pu),me(o,Rt,a=function(f){Pe(o,fu,l),u.loading&&Se(s,Pu),t.loadImage(f)},{once:!0}),me(o,fu,l=function(){Pe(o,Rt,a),u.loading&&Se(s,Pu)},{once:!0})}),u.transition&&me(n,wr,function(){de(r,Ke)},{once:!0})},renderList:function(){var t=this.index,n=this.items[t];if(n){var u=n.nextElementSibling,r=parseInt(window.getComputedStyle(u||n).marginLeft,10),i=n.offsetWidth,s=i+r;Kt(this.list,Ft({width:s*this.length-r},fi({translateX:(this.viewerData.width-i)/2-s*t})))}},resetList:function(){var t=this.list;t.innerHTML="",Se(t,Ke),Kt(t,fi({translateX:0}))},initImage:function(t){var n=this,u=this.options,r=this.image,i=this.viewerData,s=this.footer.offsetHeight,o=i.width,a=Math.max(i.height-s,s),l=this.imageData||{},c;this.imageInitializing={abort:function(){c.onload=null}},c=Yf(r,u,function(f,d){var h=f/d,p=Math.max(0,Math.min(1,u.initialCoverage)),x=o,w=a;n.imageInitializing=!1,a*h>o?w=o/h:x=a*h,p=qe(p)?p:.9,x=Math.min(x*p,f),w=Math.min(w*p,d);var A=(o-x)/2,T=(a-w)/2,g={left:A,top:T,x:A,y:T,width:x,height:w,oldRatio:1,ratio:x/f,aspectRatio:h,naturalWidth:f,naturalHeight:d},_=Ft({},g);u.rotatable&&(g.rotate=l.rotate||0,_.rotate=0),u.scalable&&(g.scaleX=l.scaleX||1,g.scaleY=l.scaleY||1,_.scaleX=1,_.scaleY=1),n.imageData=g,n.initialImageData=_,t&&t()})},renderImage:function(t){var n=this,u=this.image,r=this.imageData;if(Kt(u,Ft({width:r.width,height:r.height,marginLeft:r.x,marginTop:r.y},fi(r))),t)if((this.viewing||this.moving||this.rotating||this.scaling||this.zooming)&&this.options.transition&&Cu(u,Ke)){var i=function(){n.imageRendering=!1,t()};this.imageRendering={abort:function(){Pe(u,Wt,i)}},me(u,Wt,i,{once:!0})}else t()},resetImage:function(){var t=this.image;t&&(this.viewing&&this.viewing.abort(),t.parentNode.removeChild(t),this.image=null,this.title.innerHTML="")}},fg={bind:function(){var t=this.options,n=this.viewer,u=this.canvas,r=this.element.ownerDocument;me(n,Bu,this.onClick=this.click.bind(this)),me(n,El,this.onDragStart=this.dragstart.bind(this)),me(u,wl,this.onPointerDown=this.pointerdown.bind(this)),me(r,Al,this.onPointerMove=this.pointermove.bind(this)),me(r,Tl,this.onPointerUp=this.pointerup.bind(this)),me(r,kl,this.onKeyDown=this.keydown.bind(this)),me(window,Dl,this.onResize=this.resize.bind(this)),t.zoomable&&t.zoomOnWheel&&me(n,Sl,this.onWheel=this.wheel.bind(this),{passive:!1,capture:!0}),t.toggleOnDblclick&&me(u,to,this.onDblclick=this.dblclick.bind(this))},unbind:function(){var t=this.options,n=this.viewer,u=this.canvas,r=this.element.ownerDocument;Pe(n,Bu,this.onClick),Pe(n,El,this.onDragStart),Pe(u,wl,this.onPointerDown),Pe(r,Al,this.onPointerMove),Pe(r,Tl,this.onPointerUp),Pe(r,kl,this.onKeyDown),Pe(window,Dl,this.onResize),t.zoomable&&t.zoomOnWheel&&Pe(n,Sl,this.onWheel,{passive:!1,capture:!0}),t.toggleOnDblclick&&Pe(u,to,this.onDblclick)}},dg={click:function(t){var n=this.options,u=this.imageData,r=t.target,i=Tu(r,xi);switch(!i&&r.localName==="img"&&r.parentElement.localName==="li"&&(r=r.parentElement,i=Tu(r,xi)),Nu&&t.isTrusted&&r===this.canvas&&clearTimeout(this.clickCanvasTimeout),i){case"mix":this.played?this.stop():n.inline?this.fulled?this.exit():this.full():this.hide();break;case"hide":this.pointerMoved||this.hide();break;case"view":this.view(Tu(r,"index"));break;case"zoom-in":this.zoom(.1,!0);break;case"zoom-out":this.zoom(-.1,!0);break;case"one-to-one":this.toggle();break;case"reset":this.reset();break;case"prev":this.prev(n.loop);break;case"play":this.play(n.fullscreen);break;case"next":this.next(n.loop);break;case"rotate-left":this.rotate(-90);break;case"rotate-right":this.rotate(90);break;case"flip-horizontal":this.scaleX(-u.scaleX||-1);break;case"flip-vertical":this.scaleY(-u.scaleY||-1);break;default:this.played&&this.stop()}},dblclick:function(t){t.preventDefault(),this.viewed&&t.target===this.image&&(Nu&&t.isTrusted&&clearTimeout(this.doubleClickImageTimeout),this.toggle(t.isTrusted?t:t.detail&&t.detail.originalEvent))},load:function(){var t=this;this.timeout&&(clearTimeout(this.timeout),this.timeout=!1);var n=this.element,u=this.options,r=this.image,i=this.index,s=this.viewerData;Se(r,lr),u.loading&&Se(this.canvas,Pu),r.style.cssText="height:0;"+"margin-left:".concat(s.width/2,"px;")+"margin-top:".concat(s.height/2,"px;")+"max-width:none!important;position:relative;width:0;",this.initImage(function(){Tr(r,Zm,u.movable),Tr(r,Ke,u.transition),t.renderImage(function(){t.viewed=!0,t.viewing=!1,Ne(u.viewed)&&me(n,wr,u.viewed,{once:!0}),Xe(n,wr,{originalImage:t.images[i],index:i,image:r},{cancelable:!1})})})},loadImage:function(t){var n=t.target,u=n.parentNode,r=u.offsetWidth||30,i=u.offsetHeight||50,s=!!Tu(n,"filled");Yf(n,this.options,function(o,a){var l=o/a,c=r,f=i;i*l>r?s?c=i*l:f=r/l:s?f=r/l:c=i*l,Kt(n,Ft({width:c,height:f},fi({translateX:(r-c)/2,translateY:(i-f)/2})))})},keydown:function(t){var n=this.options;if(n.keyboard){var u=t.keyCode||t.which||t.charCode;switch(u){case 13:this.viewer.contains(t.target)&&this.click(t);break}if(this.fulled)switch(u){case 27:this.played?this.stop():n.inline?this.fulled&&this.exit():this.hide();break;case 32:this.played&&this.stop();break;case 37:this.played&&this.playing?this.playing.prev():this.prev(n.loop);break;case 38:t.preventDefault(),this.zoom(n.zoomRatio,!0);break;case 39:this.played&&this.playing?this.playing.next():this.next(n.loop);break;case 40:t.preventDefault(),this.zoom(-n.zoomRatio,!0);break;case 48:case 49:t.ctrlKey&&(t.preventDefault(),this.toggle());break}}},dragstart:function(t){t.target.localName==="img"&&t.preventDefault()},pointerdown:function(t){var n=this.options,u=this.pointers,r=t.buttons,i=t.button;if(this.pointerMoved=!1,!(!this.viewed||this.showing||this.viewing||this.hiding||(t.type==="mousedown"||t.type==="pointerdown"&&t.pointerType==="mouse")&&(qe(r)&&r!==1||qe(i)&&i!==0||t.ctrlKey))){t.preventDefault(),t.changedTouches?Be(t.changedTouches,function(o){u[o.identifier]=Zr(o)}):u[t.pointerId||0]=Zr(t);var s=n.movable?li:!1;n.zoomOnTouch&&n.zoomable&&Object.keys(u).length>1?s=nr:n.slideOnTouch&&(t.pointerType==="touch"||t.type==="touchstart")&&this.isSwitchable()&&(s=Wf),n.transition&&(s===li||s===nr)&&Se(this.image,Ke),this.action=s}},pointermove:function(t){var n=this.pointers,u=this.action;!this.viewed||!u||(t.preventDefault(),t.changedTouches?Be(t.changedTouches,function(r){Ft(n[r.identifier]||{},Zr(r,!0))}):Ft(n[t.pointerId||0]||{},Zr(t,!0)),this.change(t))},pointerup:function(t){var n=this,u=this.options,r=this.action,i=this.pointers,s;t.changedTouches?Be(t.changedTouches,function(o){s=i[o.identifier],delete i[o.identifier]}):(s=i[t.pointerId||0],delete i[t.pointerId||0]),r&&(t.preventDefault(),u.transition&&(r===li||r===nr)&&de(this.image,Ke),this.action=!1,Nu&&r!==nr&&s&&Date.now()-s.timeStamp<500&&(clearTimeout(this.clickCanvasTimeout),clearTimeout(this.doubleClickImageTimeout),u.toggleOnDblclick&&this.viewed&&t.target===this.image?this.imageClicked?(this.imageClicked=!1,this.doubleClickImageTimeout=setTimeout(function(){Xe(n.image,to,{originalEvent:t})},50)):(this.imageClicked=!0,this.doubleClickImageTimeout=setTimeout(function(){n.imageClicked=!1},500)):(this.imageClicked=!1,u.backdrop&&u.backdrop!=="static"&&t.target===this.canvas&&(this.clickCanvasTimeout=setTimeout(function(){Xe(n.canvas,Bu,{originalEvent:t})},50)))))},resize:function(){var t=this;if(!(!this.isShown||this.hiding)&&(this.fulled&&(this.close(),this.initBody(),this.open()),this.initContainer(),this.initViewer(),this.renderViewer(),this.renderList(),this.viewed&&this.initImage(function(){t.renderImage()}),this.played)){if(this.options.fullscreen&&this.fulled&&!(document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement)){this.stop();return}Be(this.player.getElementsByTagName("img"),function(n){me(n,Rt,t.loadImage.bind(t),{once:!0}),Xe(n,Rt)})}},wheel:function(t){var n=this;if(this.viewed&&(t.preventDefault(),!this.wheeling)){this.wheeling=!0,setTimeout(function(){n.wheeling=!1},50);var u=Number(this.options.zoomRatio)||.1,r=1;t.deltaY?r=t.deltaY>0?1:-1:t.wheelDelta?r=-t.wheelDelta/120:t.detail&&(r=t.detail>0?1:-1),this.zoom(-r*u,!0,null,t)}}},hg={show:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,n=this.element,u=this.options;if(u.inline||this.showing||this.isShown||this.showing)return this;if(!this.ready)return this.build(),this.ready&&this.show(t),this;if(Ne(u.show)&&me(n,Fl,u.show,{once:!0}),Xe(n,Fl)===!1||!this.ready)return this;this.hiding&&this.transitioning.abort(),this.showing=!0,this.open();var r=this.viewer;if(Se(r,lu),r.setAttribute("role","dialog"),r.setAttribute("aria-labelledby",this.title.id),r.setAttribute("aria-modal",!0),r.removeAttribute("aria-hidden"),u.transition&&!t){var i=this.shown.bind(this);this.transitioning={abort:function(){Pe(r,Wt,i),Se(r,Nt)}},de(r,Ke),r.initialOffsetWidth=r.offsetWidth,me(r,Wt,i,{once:!0}),de(r,Nt)}else de(r,Nt),this.shown();return this},hide:function(){var t=this,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,u=this.element,r=this.options;if(r.inline||this.hiding||!(this.isShown||this.showing))return this;if(Ne(r.hide)&&me(u,Ol,r.hide,{once:!0}),Xe(u,Ol)===!1)return this;this.showing&&this.transitioning.abort(),this.hiding=!0,this.played?this.stop():this.viewing&&this.viewing.abort();var i=this.viewer,s=this.image,o=function(){Se(i,Nt),t.hidden()};if(r.transition&&!n){var a=function(f){f&&f.target===i&&(Pe(i,Wt,a),t.hidden())},l=function(){Cu(i,Ke)?(me(i,Wt,a),Se(i,Nt)):o()};this.transitioning={abort:function(){t.viewed&&Cu(s,Ke)?Pe(s,Wt,l):Cu(i,Ke)&&Pe(i,Wt,a)}},this.viewed&&Cu(s,Ke)?(me(s,Wt,l,{once:!0}),this.zoomTo(0,!1,null,null,!0)):l()}else o();return this},view:function(){var t=this,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.options.initialViewIndex;if(n=Number(n)||0,this.hiding||this.played||n<0||n>=this.length||this.viewed&&n===this.index)return this;if(!this.isShown)return this.index=n,this.show();this.viewing&&this.viewing.abort();var u=this.element,r=this.options,i=this.title,s=this.canvas,o=this.items[n],a=o.querySelector("img"),l=Tu(a,"originalUrl"),c=a.getAttribute("alt"),f=document.createElement("img");if(Be(r.inheritedAttributes,function(w){var A=a.getAttribute(w);A!==null&&f.setAttribute(w,A)}),f.src=l,f.alt=c,Ne(r.view)&&me(u,Pl,r.view,{once:!0}),Xe(u,Pl,{originalImage:this.images[n],index:n,image:f})===!1||!this.isShown||this.hiding||this.played)return this;var d=this.items[this.index];d&&(Se(d,Gr),d.removeAttribute("aria-selected")),de(o,Gr),o.setAttribute("aria-selected",!0),r.focus&&o.focus(),this.image=f,this.viewed=!1,this.index=n,this.imageData={},de(f,lr),r.loading&&de(s,Pu),s.innerHTML="",s.appendChild(f),this.renderList(),i.innerHTML="";var h=function(){var A=t.imageData,T=Array.isArray(r.title)?r.title[1]:r.title;i.innerHTML=rg(Ne(T)?T.call(t,f,A):"".concat(c," (").concat(A.naturalWidth," × ").concat(A.naturalHeight,")"))},p,x;return me(u,wr,h,{once:!0}),this.viewing={abort:function(){Pe(u,wr,h),f.complete?t.imageRendering?t.imageRendering.abort():t.imageInitializing&&t.imageInitializing.abort():(f.src="",Pe(f,Rt,p),t.timeout&&clearTimeout(t.timeout))}},f.complete?this.load():(me(f,Rt,p=function(){Pe(f,fu,x),t.load()},{once:!0}),me(f,fu,x=function(){Pe(f,Rt,p),t.timeout&&(clearTimeout(t.timeout),t.timeout=!1),Se(f,lr),r.loading&&Se(t.canvas,Pu)},{once:!0}),this.timeout&&clearTimeout(this.timeout),this.timeout=setTimeout(function(){Se(f,lr),t.timeout=!1},1e3)),this},prev:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,n=this.index-1;return n<0&&(n=t?this.length-1:0),this.view(n),this},next:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,n=this.length-1,u=this.index+1;return u>n&&(u=t?0:n),this.view(u),this},move:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t,u=this.imageData;return this.moveTo(wu(t)?t:u.x+Number(t),wu(n)?n:u.y+Number(n)),this},moveTo:function(t){var n=this,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,i=this.element,s=this.options,o=this.imageData;if(t=Number(t),u=Number(u),this.viewed&&!this.played&&s.movable){var a=o.x,l=o.y,c=!1;if(qe(t)?c=!0:t=a,qe(u)?c=!0:u=l,c){if(Ne(s.move)&&me(i,Ml,s.move,{once:!0}),Xe(i,Ml,{x:t,y:u,oldX:a,oldY:l,originalEvent:r})===!1)return this;o.x=t,o.y=u,o.left=t,o.top=u,this.moving=!0,this.renderImage(function(){n.moving=!1,Ne(s.moved)&&me(i,Rl,s.moved,{once:!0}),Xe(i,Rl,{x:t,y:u,oldX:a,oldY:l,originalEvent:r},{cancelable:!1})})}}return this},rotate:function(t){return this.rotateTo((this.imageData.rotate||0)+Number(t)),this},rotateTo:function(t){var n=this,u=this.element,r=this.options,i=this.imageData;if(t=Number(t),qe(t)&&this.viewed&&!this.played&&r.rotatable){var s=i.rotate;if(Ne(r.rotate)&&me(u,$l,r.rotate,{once:!0}),Xe(u,$l,{degree:t,oldDegree:s})===!1)return this;i.rotate=t,this.rotating=!0,this.renderImage(function(){n.rotating=!1,Ne(r.rotated)&&me(u,Bl,r.rotated,{once:!0}),Xe(u,Bl,{degree:t,oldDegree:s},{cancelable:!1})})}return this},scaleX:function(t){return this.scale(t,this.imageData.scaleY),this},scaleY:function(t){return this.scale(this.imageData.scaleX,t),this},scale:function(t){var n=this,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t,r=this.element,i=this.options,s=this.imageData;if(t=Number(t),u=Number(u),this.viewed&&!this.played&&i.scalable){var o=s.scaleX,a=s.scaleY,l=!1;if(qe(t)?l=!0:t=o,qe(u)?l=!0:u=a,l){if(Ne(i.scale)&&me(r,jl,i.scale,{once:!0}),Xe(r,jl,{scaleX:t,scaleY:u,oldScaleX:o,oldScaleY:a})===!1)return this;s.scaleX=t,s.scaleY=u,this.scaling=!0,this.renderImage(function(){n.scaling=!1,Ne(i.scaled)&&me(r,Ul,i.scaled,{once:!0}),Xe(r,Ul,{scaleX:t,scaleY:u,oldScaleX:o,oldScaleY:a},{cancelable:!1})})}}return this},zoom:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,i=this.imageData;return t=Number(t),t<0?t=1/(1-t):t=1+t,this.zoomTo(i.width*t/i.naturalWidth,n,u,r),this},zoomTo:function(t){var n=this,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,o=this.element,a=this.options,l=this.pointers,c=this.imageData,f=c.x,d=c.y,h=c.width,p=c.height,x=c.naturalWidth,w=c.naturalHeight;if(t=Math.max(0,t),qe(t)&&this.viewed&&!this.played&&(s||a.zoomable)){if(!s){var A=Math.max(.01,a.minZoomRatio),T=Math.min(100,a.maxZoomRatio);t=Math.min(Math.max(t,A),T)}if(i)switch(i.type){case"wheel":a.zoomRatio>=.055&&t>.95&&t<1.05&&(t=1);break;case"pointermove":case"touchmove":case"mousemove":t>.99&&t<1.01&&(t=1);break}var g=x*t,_=w*t,E=g-h,v=_-p,S=c.ratio;if(Ne(a.zoom)&&me(o,Vl,a.zoom,{once:!0}),Xe(o,Vl,{ratio:t,oldRatio:S,originalEvent:i})===!1)return this;if(this.zooming=!0,i){var N=sg(this.viewer),I=l&&Object.keys(l).length>0?lg(l):{pageX:i.pageX,pageY:i.pageY};c.x-=E*((I.pageX-N.left-f)/h),c.y-=v*((I.pageY-N.top-d)/p)}else Au(r)&&qe(r.x)&&qe(r.y)?(c.x-=E*((r.x-f)/h),c.y-=v*((r.y-d)/p)):(c.x-=E/2,c.y-=v/2);c.left=c.x,c.top=c.y,c.width=g,c.height=_,c.oldRatio=S,c.ratio=t,this.renderImage(function(){n.zooming=!1,Ne(a.zoomed)&&me(o,Hl,a.zoomed,{once:!0}),Xe(o,Hl,{ratio:t,oldRatio:S,originalEvent:i},{cancelable:!1})}),u&&this.tooltip()}return this},play:function(){var t=this,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;if(!this.isShown||this.played)return this;var u=this.element,r=this.options;if(Ne(r.play)&&me(u,zl,r.play,{once:!0}),Xe(u,zl)===!1)return this;var i=this.player,s=this.loadImage.bind(this),o=[],a=0,l=0;if(this.played=!0,this.onLoadWhenPlay=s,n&&this.requestFullscreen(n),de(i,gu),Be(this.items,function(d,h){var p=d.querySelector("img"),x=document.createElement("img");x.src=Tu(p,"originalUrl"),x.alt=p.getAttribute("alt"),x.referrerPolicy=p.referrerPolicy,a+=1,de(x,ci),Tr(x,Ke,r.transition),Cu(d,Gr)&&(de(x,Nt),l=h),o.push(x),me(x,Rt,s,{once:!0}),i.appendChild(x)}),qe(r.interval)&&r.interval>0){var c=function(){clearTimeout(t.playing.timeout),Se(o[l],Nt),l-=1,l=l>=0?l:a-1,de(o[l],Nt),t.playing.timeout=setTimeout(c,r.interval)},f=function(){clearTimeout(t.playing.timeout),Se(o[l],Nt),l+=1,l=l<a?l:0,de(o[l],Nt),t.playing.timeout=setTimeout(f,r.interval)};a>1&&(this.playing={prev:c,next:f,timeout:setTimeout(f,r.interval)})}return this},stop:function(){var t=this;if(!this.played)return this;var n=this.element,u=this.options;if(Ne(u.stop)&&me(n,Wl,u.stop,{once:!0}),Xe(n,Wl)===!1)return this;var r=this.player;return clearTimeout(this.playing.timeout),this.playing=!1,this.played=!1,Be(r.getElementsByTagName("img"),function(i){Pe(i,Rt,t.onLoadWhenPlay)}),Se(r,gu),r.innerHTML="",this.exitFullscreen(),this},full:function(){var t=this,n=this.options,u=this.viewer,r=this.image,i=this.list;return!this.isShown||this.played||this.fulled||!n.inline?this:(this.fulled=!0,this.open(),de(this.button,yl),n.transition&&(Se(i,Ke),this.viewed&&Se(r,Ke)),de(u,eo),u.setAttribute("role","dialog"),u.setAttribute("aria-labelledby",this.title.id),u.setAttribute("aria-modal",!0),u.removeAttribute("style"),Kt(u,{zIndex:n.zIndex}),n.focus&&this.enforceFocus(),this.initContainer(),this.viewerData=Ft({},this.containerData),this.renderList(),this.viewed&&this.initImage(function(){t.renderImage(function(){n.transition&&setTimeout(function(){de(r,Ke),de(i,Ke)},0)})}),this)},exit:function(){var t=this,n=this.options,u=this.viewer,r=this.image,i=this.list;return!this.isShown||this.played||!this.fulled||!n.inline?this:(this.fulled=!1,this.close(),Se(this.button,yl),n.transition&&(Se(i,Ke),this.viewed&&Se(r,Ke)),n.focus&&this.clearEnforceFocus(),u.removeAttribute("role"),u.removeAttribute("aria-labelledby"),u.removeAttribute("aria-modal"),Se(u,eo),Kt(u,{zIndex:n.zIndexInline}),this.viewerData=Ft({},this.parentData),this.renderViewer(),this.renderList(),this.viewed&&this.initImage(function(){t.renderImage(function(){n.transition&&setTimeout(function(){de(r,Ke),de(i,Ke)},0)})}),this)},tooltip:function(){var t=this,n=this.options,u=this.tooltipBox,r=this.imageData;return!this.viewed||this.played||!n.tooltip?this:(u.textContent="".concat(Math.round(r.ratio*100),"%"),this.tooltipping?clearTimeout(this.tooltipping):n.transition?(this.fading&&Xe(u,Wt),de(u,gu),de(u,ci),de(u,Ke),u.removeAttribute("aria-hidden"),u.initialOffsetWidth=u.offsetWidth,de(u,Nt)):(de(u,gu),u.removeAttribute("aria-hidden")),this.tooltipping=setTimeout(function(){n.transition?(me(u,Wt,function(){Se(u,gu),Se(u,ci),Se(u,Ke),u.setAttribute("aria-hidden",!0),t.fading=!1},{once:!0}),Se(u,Nt),t.fading=!0):(Se(u,gu),u.setAttribute("aria-hidden",!0)),t.tooltipping=!1},1e3),this)},toggle:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;return this.imageData.ratio===1?this.zoomTo(this.imageData.oldRatio,!0,null,t):this.zoomTo(1,!0,null,t),this},reset:function(){return this.viewed&&!this.played&&(this.imageData=Ft({},this.initialImageData),this.renderImage()),this},update:function(){var t=this,n=this.element,u=this.options,r=this.isImg;if(r&&!n.parentNode)return this.destroy();var i=[];if(Be(r?[n]:n.querySelectorAll("img"),function(l){Ne(u.filter)?u.filter.call(t,l)&&i.push(l):t.getImageURL(l)&&i.push(l)}),!i.length)return this;if(this.images=i,this.length=i.length,this.ready){var s=[];if(Be(this.items,function(l,c){var f=l.querySelector("img"),d=i[c];d&&f?(d.src!==f.src||d.alt!==f.alt)&&s.push(c):s.push(c)}),Kt(this.list,{width:"auto"}),this.initList(),this.isShown)if(this.length){if(this.viewed){var o=s.indexOf(this.index);if(o>=0)this.viewed=!1,this.view(Math.max(Math.min(this.index-o,this.length-1),0));else{var a=this.items[this.index];de(a,Gr),a.setAttribute("aria-selected",!0)}}}else this.image=null,this.viewed=!1,this.index=0,this.imageData={},this.canvas.innerHTML="",this.title.innerHTML=""}else this.build();return this},destroy:function(){var t=this.element,n=this.options;return t[ve]?(this.destroyed=!0,this.ready?(this.played&&this.stop(),n.inline?(this.fulled&&this.exit(),this.unbind()):this.isShown?(this.viewing&&(this.imageRendering?this.imageRendering.abort():this.imageInitializing&&this.imageInitializing.abort()),this.hiding&&this.transitioning.abort(),this.hidden()):this.showing&&(this.transitioning.abort(),this.hidden()),this.ready=!1,this.viewer.parentNode.removeChild(this.viewer)):n.inline&&(this.delaying?this.delaying.abort():this.initializing&&this.initializing.abort()),n.inline||Pe(t,Bu,this.onStart),t[ve]=void 0,this):this}},pg={getImageURL:function(t){var n=this.options.url;return Ar(n)?n=t.getAttribute(n):Ne(n)?n=n.call(this,t):n="",n},enforceFocus:function(){var t=this;this.clearEnforceFocus(),me(document,Cl,this.onFocusin=function(n){var u=t.viewer,r=n.target;if(!(r===document||r===u||u.contains(r))){for(;r;){if(r.getAttribute("tabindex")!==null||r.getAttribute("aria-modal")==="true")return;r=r.parentElement}u.focus()}})},clearEnforceFocus:function(){this.onFocusin&&(Pe(document,Cl,this.onFocusin),this.onFocusin=null)},open:function(){var t=this.body;de(t,xl),this.scrollbarWidth>0&&(t.style.paddingRight="".concat(this.scrollbarWidth+(parseFloat(this.initialBodyComputedPaddingRight)||0),"px"))},close:function(){var t=this.body;Se(t,xl),this.scrollbarWidth>0&&(t.style.paddingRight=this.initialBodyPaddingRight)},shown:function(){var t=this.element,n=this.options,u=this.viewer;this.fulled=!0,this.isShown=!0,this.render(),this.bind(),this.showing=!1,n.focus&&(u.focus(),this.enforceFocus()),Ne(n.shown)&&me(t,Ll,n.shown,{once:!0}),Xe(t,Ll)!==!1&&this.ready&&this.isShown&&!this.hiding&&this.view(this.index)},hidden:function(){var t=this.element,n=this.options,u=this.viewer;n.fucus&&this.clearEnforceFocus(),this.close(),this.unbind(),de(u,lu),u.removeAttribute("role"),u.removeAttribute("aria-labelledby"),u.removeAttribute("aria-modal"),u.setAttribute("aria-hidden",!0),this.resetList(),this.resetImage(),this.fulled=!1,this.viewed=!1,this.isShown=!1,this.hiding=!1,this.destroyed||(Ne(n.hidden)&&me(t,Nl,n.hidden,{once:!0}),Xe(t,Nl,null,{cancelable:!1}))},requestFullscreen:function(t){var n=this.element.ownerDocument;if(this.fulled&&!(n.fullscreenElement||n.webkitFullscreenElement||n.mozFullScreenElement||n.msFullscreenElement)){var u=n.documentElement;u.requestFullscreen?Au(t)?u.requestFullscreen(t):u.requestFullscreen():u.webkitRequestFullscreen?u.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT):u.mozRequestFullScreen?u.mozRequestFullScreen():u.msRequestFullscreen&&u.msRequestFullscreen()}},exitFullscreen:function(){var t=this.element.ownerDocument;this.fulled&&(t.fullscreenElement||t.webkitFullscreenElement||t.mozFullScreenElement||t.msFullscreenElement)&&(t.exitFullscreen?t.exitFullscreen():t.webkitExitFullscreen?t.webkitExitFullscreen():t.mozCancelFullScreen?t.mozCancelFullScreen():t.msExitFullscreen&&t.msExitFullscreen())},change:function(t){var n=this.options,u=this.pointers,r=u[Object.keys(u)[0]];if(r){var i=r.endX-r.startX,s=r.endY-r.startY;switch(this.action){case li:(i!==0||s!==0)&&(this.pointerMoved=!0,this.move(i,s,t));break;case nr:this.zoom(ag(u),!1,null,t);break;case Wf:{this.action="switched";var o=Math.abs(i);o>1&&o>Math.abs(s)&&(this.pointers={},i>1?this.prev(n.loop):i<-1&&this.next(n.loop));break}}Be(u,function(a){a.startX=a.endX,a.startY=a.endY})}},isSwitchable:function(){var t=this.imageData,n=this.viewerData;return this.length>1&&t.x>=0&&t.y>=0&&t.width<=n.width&&t.height<=n.height}},mg=Tn.Viewer,gg=function(e){return function(){return e+=1,e}}(-1),Uu=function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(Um(this,e),!t||t.nodeType!==1)throw new Error("The first argument is required and must be an element.");this.element=t,this.options=Ft({},vl,Au(n)&&n),this.action=!1,this.fading=!1,this.fulled=!1,this.hiding=!1,this.imageClicked=!1,this.imageData={},this.index=this.options.initialViewIndex,this.isImg=!1,this.isShown=!1,this.length=0,this.moving=!1,this.played=!1,this.playing=!1,this.pointers={},this.ready=!1,this.rotating=!1,this.scaling=!1,this.showing=!1,this.timeout=!1,this.tooltipping=!1,this.viewed=!1,this.viewing=!1,this.wheeling=!1,this.zooming=!1,this.pointerMoved=!1,this.id=gg(),this.init()}return Vm(e,[{key:"init",value:function(){var n=this,u=this.element,r=this.options;if(!u[ve]){u[ve]=this,r.focus&&!r.keyboard&&(r.focus=!1);var i=u.localName==="img",s=[];if(Be(i?[u]:u.querySelectorAll("img"),function(l){Ne(r.filter)?r.filter.call(n,l)&&s.push(l):n.getImageURL(l)&&s.push(l)}),this.isImg=i,this.length=s.length,this.images=s,this.initBody(),wu(document.createElement(ve).style.transition)&&(r.transition=!1),r.inline){var o=0,a=function(){if(o+=1,o===n.length){var c;n.initializing=!1,n.delaying={abort:function(){clearTimeout(c)}},c=setTimeout(function(){n.delaying=!1,n.build()},0)}};this.initializing={abort:function(){Be(s,function(c){c.complete||(Pe(c,Rt,a),Pe(c,fu,a))})}},Be(s,function(l){if(l.complete)a();else{var c,f;me(l,Rt,c=function(){Pe(l,fu,f),a()},{once:!0}),me(l,fu,f=function(){Pe(l,Rt,c),a()},{once:!0})}})}else me(u,Bu,this.onStart=function(l){var c=l.target;c.localName==="img"&&(!Ne(r.filter)||r.filter.call(n,c))&&n.view(n.images.indexOf(c))})}}},{key:"build",value:function(){if(!this.ready){var n=this.element,u=this.options,r=n.parentNode,i=document.createElement("div");i.innerHTML=Wm;var s=i.querySelector(".".concat(ve,"-container")),o=s.querySelector(".".concat(ve,"-title")),a=s.querySelector(".".concat(ve,"-toolbar")),l=s.querySelector(".".concat(ve,"-navbar")),c=s.querySelector(".".concat(ve,"-button")),f=s.querySelector(".".concat(ve,"-canvas"));if(this.parent=r,this.viewer=s,this.title=o,this.toolbar=a,this.navbar=l,this.button=c,this.canvas=f,this.footer=s.querySelector(".".concat(ve,"-footer")),this.tooltipBox=s.querySelector(".".concat(ve,"-tooltip")),this.player=s.querySelector(".".concat(ve,"-player")),this.list=s.querySelector(".".concat(ve,"-list")),s.id="".concat(ve).concat(this.id),o.id="".concat(ve,"Title").concat(this.id),de(o,u.title?Xr(Array.isArray(u.title)?u.title[0]:u.title):lu),de(l,u.navbar?Xr(u.navbar):lu),Tr(c,lu,!u.button),u.keyboard&&c.setAttribute("tabindex",0),u.backdrop&&(de(s,"".concat(ve,"-backdrop")),!u.inline&&u.backdrop!=="static"&&no(f,xi,"hide")),Ar(u.className)&&u.className&&u.className.split(No).forEach(function(g){de(s,g)}),u.toolbar){var d=document.createElement("ul"),h=Au(u.toolbar),p=Kr.slice(0,3),x=Kr.slice(7,9),w=Kr.slice(9);h||de(a,Xr(u.toolbar)),Be(h?u.toolbar:Kr,function(g,_){var E=h&&Au(g),v=h?Po(_):g,S=E&&!wu(g.show)?g.show:g;if(!(!S||!u.zoomable&&p.indexOf(v)!==-1||!u.rotatable&&x.indexOf(v)!==-1||!u.scalable&&w.indexOf(v)!==-1)){var N=E&&!wu(g.size)?g.size:g,I=E&&!wu(g.click)?g.click:g,G=document.createElement("li");u.keyboard&&G.setAttribute("tabindex",0),G.setAttribute("role","button"),de(G,"".concat(ve,"-").concat(v)),Ne(I)||no(G,xi,v),qe(S)&&de(G,Xr(S)),["small","large"].indexOf(N)!==-1?de(G,"".concat(ve,"-").concat(N)):v==="play"&&de(G,"".concat(ve,"-large")),Ne(I)&&me(G,Bu,I),d.appendChild(G)}}),a.appendChild(d)}else de(a,lu);if(!u.rotatable){var A=a.querySelectorAll('li[class*="rotate"]');de(A,lr),Be(A,function(g){a.appendChild(g)})}if(u.inline)de(c,Ym),Kt(s,{zIndex:u.zIndexInline}),window.getComputedStyle(r).position==="static"&&Kt(r,{position:"relative"}),r.insertBefore(s,n.nextSibling);else{de(c,qm),de(s,eo),de(s,ci),de(s,lu),Kt(s,{zIndex:u.zIndex});var T=u.container;Ar(T)&&(T=n.ownerDocument.querySelector(T)),T||(T=this.body),T.appendChild(s)}if(u.inline&&(this.render(),this.bind(),this.isShown=!0),this.ready=!0,Ne(u.ready)&&me(n,Il,u.ready,{once:!0}),Xe(n,Il)===!1){this.ready=!1;return}this.ready&&u.inline&&this.view(this.index)}}}],[{key:"noConflict",value:function(){return window.Viewer=mg,e}},{key:"setDefaults",value:function(n){Ft(vl,Au(n)&&n)}}])}();Ft(Uu.prototype,cg,fg,dg,hg,pg);var bg=typeof global=="object"&&global&&global.Object===Object&&global;const Gf=bg;var _g=typeof self=="object"&&self&&self.Object===Object&&self,vg=Gf||_g||Function("return this")();const Yi=vg;var yg=Yi.Symbol;const Ei=yg;var Kf=Object.prototype,xg=Kf.hasOwnProperty,Eg=Kf.toString,Ju=Ei?Ei.toStringTag:void 0;function Cg(e){var t=xg.call(e,Ju),n=e[Ju];try{e[Ju]=void 0;var u=!0}catch{}var r=Eg.call(e);return u&&(t?e[Ju]=n:delete e[Ju]),r}var kg=Object.prototype,wg=kg.toString;function Ag(e){return wg.call(e)}var Tg="[object Null]",Dg="[object Undefined]",ql=Ei?Ei.toStringTag:void 0;function Gi(e){return e==null?e===void 0?Dg:Tg:ql&&ql in Object(e)?Cg(e):Ag(e)}function Ki(e){return e!=null&&typeof e=="object"}var Sg="[object Symbol]";function Ig(e){return typeof e=="symbol"||Ki(e)&&Gi(e)==Sg}var Fg=Array.isArray;const Lg=Fg;var Og=/\s/;function Ng(e){for(var t=e.length;t--&&Og.test(e.charAt(t)););return t}var Pg=/^\s+/;function Mg(e){return e&&e.slice(0,Ng(e)+1).replace(Pg,"")}function pu(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Yl=NaN,Rg=/^[-+]0x[0-9a-f]+$/i,$g=/^0b[01]+$/i,Bg=/^0o[0-7]+$/i,jg=parseInt;function Gl(e){if(typeof e=="number")return e;if(Ig(e))return Yl;if(pu(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=pu(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=Mg(e);var n=$g.test(e);return n||Bg.test(e)?jg(e.slice(2),n?2:8):Rg.test(e)?Yl:+e}function Xf(e){return e}var Ug="[object AsyncFunction]",Vg="[object Function]",Hg="[object GeneratorFunction]",zg="[object Proxy]";function Zf(e){if(!pu(e))return!1;var t=Gi(e);return t==Vg||t==Hg||t==Ug||t==zg}var Wg=Yi["__core-js_shared__"];const _s=Wg;var Kl=function(){var e=/[^.]+$/.exec(_s&&_s.keys&&_s.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function qg(e){return!!Kl&&Kl in e}var Yg=Function.prototype,Gg=Yg.toString;function Kg(e){if(e!=null){try{return Gg.call(e)}catch{}try{return e+""}catch{}}return""}var Xg=/[\\^$.*+?()[\]{}|]/g,Zg=/^\[object .+?Constructor\]$/,Jg=Function.prototype,Qg=Object.prototype,eb=Jg.toString,tb=Qg.hasOwnProperty,nb=RegExp("^"+eb.call(tb).replace(Xg,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ub(e){if(!pu(e)||qg(e))return!1;var t=Zf(e)?nb:Zg;return t.test(Kg(e))}function rb(e,t){return e==null?void 0:e[t]}function ib(e,t){var n=rb(e,t);return ub(n)?n:void 0}function sb(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var ob=800,ab=16,lb=Date.now;function cb(e){var t=0,n=0;return function(){var u=lb(),r=ab-(u-n);if(n=u,r>0){if(++t>=ob)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function fb(e){return function(){return e}}var db=function(){try{var e=ib(Object,"defineProperty");return e({},"",{}),e}catch{}}();const Ci=db;var hb=Ci?function(e,t){return Ci(e,"toString",{configurable:!0,enumerable:!1,value:fb(t),writable:!0})}:Xf;const pb=hb;var mb=cb(pb);const gb=mb;var bb=9007199254740991,_b=/^(?:0|[1-9]\d*)$/;function Jf(e,t){var n=typeof e;return t=t??bb,!!t&&(n=="number"||n!="symbol"&&_b.test(e))&&e>-1&&e%1==0&&e<t}function Qf(e,t,n){t=="__proto__"&&Ci?Ci(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Mo(e,t){return e===t||e!==e&&t!==t}var vb=Object.prototype,yb=vb.hasOwnProperty;function ed(e,t,n){var u=e[t];(!(yb.call(e,t)&&Mo(u,n))||n===void 0&&!(t in e))&&Qf(e,t,n)}function xb(e,t,n,u){var r=!n;n||(n={});for(var i=-1,s=t.length;++i<s;){var o=t[i],a=void 0;a===void 0&&(a=e[o]),r?Qf(n,o,a):ed(n,o,a)}return n}var Xl=Math.max;function Eb(e,t,n){return t=Xl(t===void 0?e.length-1:t,0),function(){for(var u=arguments,r=-1,i=Xl(u.length-t,0),s=Array(i);++r<i;)s[r]=u[t+r];r=-1;for(var o=Array(t+1);++r<t;)o[r]=u[r];return o[t]=n(s),sb(e,this,o)}}function td(e,t){return gb(Eb(e,t,Xf),e+"")}var Cb=9007199254740991;function nd(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Cb}function Xi(e){return e!=null&&nd(e.length)&&!Zf(e)}function ud(e,t,n){if(!pu(n))return!1;var u=typeof t;return(u=="number"?Xi(n)&&Jf(t,n.length):u=="string"&&t in n)?Mo(n[t],e):!1}function kb(e){return td(function(t,n){var u=-1,r=n.length,i=r>1?n[r-1]:void 0,s=r>2?n[2]:void 0;for(i=e.length>3&&typeof i=="function"?(r--,i):void 0,s&&ud(n[0],n[1],s)&&(i=r<3?void 0:i,r=1),t=Object(t);++u<r;){var o=n[u];o&&e(t,o,u,i)}return t})}var wb=Object.prototype;function Ro(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||wb;return e===n}function Ab(e,t){for(var n=-1,u=Array(e);++n<e;)u[n]=t(n);return u}var Tb="[object Arguments]";function Zl(e){return Ki(e)&&Gi(e)==Tb}var rd=Object.prototype,Db=rd.hasOwnProperty,Sb=rd.propertyIsEnumerable,Ib=Zl(function(){return arguments}())?Zl:function(e){return Ki(e)&&Db.call(e,"callee")&&!Sb.call(e,"callee")};const Fb=Ib;function Lb(){return!1}var id=typeof Cn=="object"&&Cn&&!Cn.nodeType&&Cn,Jl=id&&typeof kn=="object"&&kn&&!kn.nodeType&&kn,Ob=Jl&&Jl.exports===id,Ql=Ob?Yi.Buffer:void 0,Nb=Ql?Ql.isBuffer:void 0,Pb=Nb||Lb;const Mb=Pb;var Rb="[object Arguments]",$b="[object Array]",Bb="[object Boolean]",jb="[object Date]",Ub="[object Error]",Vb="[object Function]",Hb="[object Map]",zb="[object Number]",Wb="[object Object]",qb="[object RegExp]",Yb="[object Set]",Gb="[object String]",Kb="[object WeakMap]",Xb="[object ArrayBuffer]",Zb="[object DataView]",Jb="[object Float32Array]",Qb="[object Float64Array]",e_="[object Int8Array]",t_="[object Int16Array]",n_="[object Int32Array]",u_="[object Uint8Array]",r_="[object Uint8ClampedArray]",i_="[object Uint16Array]",s_="[object Uint32Array]",Ue={};Ue[Jb]=Ue[Qb]=Ue[e_]=Ue[t_]=Ue[n_]=Ue[u_]=Ue[r_]=Ue[i_]=Ue[s_]=!0;Ue[Rb]=Ue[$b]=Ue[Xb]=Ue[Bb]=Ue[Zb]=Ue[jb]=Ue[Ub]=Ue[Vb]=Ue[Hb]=Ue[zb]=Ue[Wb]=Ue[qb]=Ue[Yb]=Ue[Gb]=Ue[Kb]=!1;function o_(e){return Ki(e)&&nd(e.length)&&!!Ue[Gi(e)]}function a_(e){return function(t){return e(t)}}var sd=typeof Cn=="object"&&Cn&&!Cn.nodeType&&Cn,cr=sd&&typeof kn=="object"&&kn&&!kn.nodeType&&kn,l_=cr&&cr.exports===sd,vs=l_&&Gf.process,c_=function(){try{var e=cr&&cr.require&&cr.require("util").types;return e||vs&&vs.binding&&vs.binding("util")}catch{}}();const ec=c_;var tc=ec&&ec.isTypedArray,f_=tc?a_(tc):o_;const d_=f_;var h_=Object.prototype,p_=h_.hasOwnProperty;function od(e,t){var n=Lg(e),u=!n&&Fb(e),r=!n&&!u&&Mb(e),i=!n&&!u&&!r&&d_(e),s=n||u||r||i,o=s?Ab(e.length,String):[],a=o.length;for(var l in e)(t||p_.call(e,l))&&!(s&&(l=="length"||r&&(l=="offset"||l=="parent")||i&&(l=="buffer"||l=="byteLength"||l=="byteOffset")||Jf(l,a)))&&o.push(l);return o}function m_(e,t){return function(n){return e(t(n))}}var g_=m_(Object.keys,Object);const b_=g_;var __=Object.prototype,v_=__.hasOwnProperty;function y_(e){if(!Ro(e))return b_(e);var t=[];for(var n in Object(e))v_.call(e,n)&&n!="constructor"&&t.push(n);return t}function x_(e){return Xi(e)?od(e):y_(e)}var E_=Object.prototype,C_=E_.hasOwnProperty,k_=kb(function(e,t){if(Ro(t)||Xi(t)){xb(t,x_(t),e);return}for(var n in t)C_.call(t,n)&&ed(e,n,t[n])});const w_=k_;function A_(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var T_=Object.prototype,D_=T_.hasOwnProperty;function S_(e){if(!pu(e))return A_(e);var t=Ro(e),n=[];for(var u in e)u=="constructor"&&(t||!D_.call(e,u))||n.push(u);return n}function I_(e){return Xi(e)?od(e,!0):S_(e)}var F_=function(){return Yi.Date.now()};const ys=F_;var L_="Expected a function",O_=Math.max,N_=Math.min;function P_(e,t,n){var u,r,i,s,o,a,l=0,c=!1,f=!1,d=!0;if(typeof e!="function")throw new TypeError(L_);t=Gl(t)||0,pu(n)&&(c=!!n.leading,f="maxWait"in n,i=f?O_(Gl(n.maxWait)||0,t):i,d="trailing"in n?!!n.trailing:d);function h(v){var S=u,N=r;return u=r=void 0,l=v,s=e.apply(N,S),s}function p(v){return l=v,o=setTimeout(A,t),c?h(v):s}function x(v){var S=v-a,N=v-l,I=t-S;return f?N_(I,i-N):I}function w(v){var S=v-a,N=v-l;return a===void 0||S>=t||S<0||f&&N>=i}function A(){var v=ys();if(w(v))return T(v);o=setTimeout(A,x(v))}function T(v){return o=void 0,d&&u?h(v):(u=r=void 0,s)}function g(){o!==void 0&&clearTimeout(o),l=0,u=a=r=o=void 0}function _(){return o===void 0?s:T(ys())}function E(){var v=ys(),S=w(v);if(u=arguments,r=this,a=v,S){if(o===void 0)return p(a);if(f)return clearTimeout(o),o=setTimeout(A,t),h(a)}return o===void 0&&(o=setTimeout(A,t)),s}return E.cancel=g,E.flush=_,E}var ad=Object.prototype,M_=ad.hasOwnProperty,R_=td(function(e,t){e=Object(e);var n=-1,u=t.length,r=u>2?t[2]:void 0;for(r&&ud(t[0],t[1],r)&&(u=1);++n<u;)for(var i=t[n],s=I_(i),o=-1,a=s.length;++o<a;){var l=s[o],c=e[l];(c===void 0||Mo(c,ad[l])&&!M_.call(e,l))&&(e[l]=i[l])}return e});const $_=R_,Mr=({images:e=[],options:t})=>{t=w_(t,{inline:!1});const n=document.createElement("div"),u=yr("div",{style:{display:"none"},class:["__viewer-token"]},e.map(o=>yr("img",typeof o=="string"?{src:o}:o)));Pa(u,n);const r=n.firstElementChild;document.body.appendChild(r);const i=new Uu(r,t),s=i.destroy.bind(i);return i.destroy=function(){return s(),Pa(null,n),i},i.show(),r.addEventListener("hidden",function(){this.viewer===i&&i.destroy()}),i},B_=({name:e="viewer",debug:t=!1}={})=>{async function n(c,f,d=!1,h=!1){await pt(),!(h&&!u(c))&&(d||!c[`$${e}`]?(s(c),c[`$${e}`]=new Uu(c,f),l("Viewer created")):(c[`$${e}`].update(),l("Viewer updated")))}function u(c){const f=c.innerHTML.match(/<img([\w\W]+?)[\\/]?>/g),d=f?f.join(""):void 0;return c.__viewerImageDiffCache===d?(l("Element change detected, but image(s) has not changed"),!1):(l("Image change detected"),c.__viewerImageDiffCache=d,!0)}function r(c,f,d,h){o(c);const p=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;if(!p){l("Observer not supported");return}const x=new p(A=>{A.forEach(T=>{l(`Viewer mutation:${T.type}`),d(c,f,h,!0)})}),w={attributes:!0,childList:!0,characterData:!0,subtree:!0};x.observe(c,w),c.__viewerMutationObserver=x,l("Observer created")}function i(c,f,d,h){c.__viewerUnwatch=Je(()=>f.value,(p,x)=>{l("Change detected by watcher: ",f.value),h(c,p,!0,!1)},{deep:!0}),l("Watcher created, expression: ",f.value)}function s(c){!c[`$${e}`]||(c[`$${e}`].destroy(),delete c[`$${e}`],l("Viewer destroyed"))}function o(c){!c.__viewerMutationObserver||(c.__viewerMutationObserver.disconnect(),delete c.__viewerMutationObserver,l("observer destroyed"))}function a(c){!c.__viewerUnwatch||(c.__viewerUnwatch(),delete c.__viewerUnwatch,l("Watcher destroyed"))}function l(...c){t&&console.log(...c)}return{mounted(c,f,d){l("Viewer bind");const h=P_(n,50);h(c,f.value),i(c,f,d,h),f.modifiers.static||r(c,f.value,h,f.modifiers.rebuild)},unmounted(c){l("Viewer unbind"),o(c),a(c),s(c)}}},j_=Vt({name:"Viewer",props:{images:{type:Array,default:()=>[]},rebuild:{type:Boolean,default:!1},trigger:{type:Object,default:null},options:{type:Object,default:()=>null}},emits:["inited"],setup(e,{emit:t}){let n;const u=ne();function r(){n=new Uu(u.value,e.options),t("inited",n)}function i(){n&&n.destroy()}function s(){i(),r()}function o(){n?(n.update(),t("inited",n)):r()}function a(){e.rebuild?s():o()}const l={deep:!0};return Je(()=>e.images,()=>{pt(()=>{a()})},l),Je(()=>e.trigger,()=>{pt(()=>{a()})},l),Je(()=>e.options,()=>{pt(()=>{s()})},l),Ht(()=>r()),Kn(()=>i()),{root:u,createViewer:r,rebuildViewer:s,updateViewer:o,destroyViewer:i}}}),U_=(e,t)=>{const n=e.__vccOpts||e;for(const[u,r]of t)n[u]=r;return n},V_={ref:"root"};function H_(e,t,n,u,r,i){return j(),V("div",V_,[I0(e.$slots,"default",{images:e.images,options:e.options})],512)}const z_=U_(j_,[["render",H_]]),W_={install(e,{name:t="viewer",debug:n=!1,defaultOptions:u}={}){u&&Uu.setDefaults(u),e.config.globalProperties[`$${t}Api`]=Mr,e.component(t,$_(z_,{name:t})),e.directive(t,B_({name:t,debug:n}))},setDefaults(e){Uu.setDefaults(e)}},q_={},Y_={width:"1em",height:"1em",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function G_(e,t){return j(),V("svg",Y_,t[0]||(t[0]=[F("path",{d:"M10.3193 16.5L14.8193 12L10.3193 7.5",stroke:"currentColor","stroke-linecap":"round"},null,-1)]))}const ld=ze(q_,[["render",G_]]),K_=["src"],X_={class:"name"},Z_={class:"sub"},J_={key:0},Q_=["src"],e3=["src"],t3={__name:"DishesCard",props:{info:{type:Object,required:!0},defMsg:{type:Object,default:()=>({})},open:{type:Boolean,default:!1}},setup(e){const t=e,n=ne(t.open),u=ne(null),r=ne(0),i=ne([]);Ht(async()=>{n.value&&(await p(),await o(),setTimeout(()=>{s()},200))});const s=Un("triggerScrollToEnd"),o=()=>new Promise(async x=>{await pt();const w=[];i.value.hasOwnProperty("craftUrl")&&i.value.craftUrl&&w.push(i.value.craftUrl),w.length?(await a(w),await pt(),r.value=c.value?u.value.scrollHeight:0,n.value&&(r.value+=26),n.value=!0):n.value=!1,x()}),a=x=>{const w=[];return x.forEach(A=>{const T=new Image,g=new Promise((_,E)=>{T.onload=()=>_(T),T.onerror=()=>E(new Error(`加载${A}失败`)),T.src=A});w.push(g)}),Promise.all(w)},l=xe(()=>`${t.defMsg.energy}${t.info.energy}kcal,${t.defMsg.protein}${t.info.protein}g,${t.defMsg.fat}${t.info.fat}g,${t.defMsg.carbonwater}${t.info.carbonwater}g`);xe(()=>{var w,A;return(((A=(w=t.info)==null?void 0:w.makeMaterialList)==null?void 0:A.map(T=>T.material+T.usage+"g"))||[]).join("、")});const c=xe(()=>t.info.hasOwnProperty("cid")&&t.info.cid),f=xe(()=>{let x="92px";return c.value&&(x=n.value?r.value+66+"px":"118px"),x}),d=x=>{Mr({images:[x]})},h=async()=>{n.value?n.value=!1:(await p(),o())},p=async()=>{if(!(i.value.hasOwnProperty("makeCraftList")&&i.value.hasOwnProperty("makeMaterialList"))){const x=await ai("/api/cn.weis.api.Food/makeCraft",{method:"makeCraft",params:[{cid:t.info.cid}],token:localStorage.getItem("postToken")});x.errCode===0&&x.obj&&(i.value={...x.obj})}};return(x,w)=>(j(),V("div",{class:vt({dishes_box:!0,is_open:n.value}),style:wn({height:f.value})},[F("div",{class:"dishes_wrap",onClick:Te(h,["stop"])},[F("img",{class:"img",src:e.info.primaryImgUrl,alt:"img",onClick:w[0]||(w[0]=Te(A=>d(e.info.primaryImgUrl),["stop"]))},null,8,K_),F("div",null,[F("div",X_,[F("span",null,ae(e.info.skuname),1),w[2]||(w[2]=F("span",null,"×1",-1))]),F("div",Z_,ae(l.value),1)])]),c.value?(j(),V("div",{key:0,class:"dishes_details",ref_key:"contentRef",ref:u},[Or(F("div",{class:"switch_open",onClick:Te(h,["stop"])},[w[3]||(w[3]=F("span",null,"查看菜谱详情",-1)),W(ld,{class:"icon"})],512),[[Ui,!n.value]]),w[4]||(w[4]=F("div",{class:"title"},"制作工艺",-1)),i.value.makeVideosUrl?(j(),V("div",J_,[F("video",{src:i.value.makeVideosUrl,width:"100%",controls:"true"},null,8,Q_)])):Ie("",!0),F("img",{src:i.value.craftUrl,width:"100%",alt:"craft"},null,8,e3),F("div",{class:"collapse_btn",onClick:w[1]||(w[1]=Te(A=>n.value=!1,["stop"]))},"收起")],512)):Ie("",!0)],6))}},n3=ze(t3,[["__scopeId","data-v-7da603ee"]]),u3={class:"dl_wrap"},r3={key:0},i3={key:0,class:"sep_line"},s3={class:"date"},o3={key:1,style:{padding:"15px 0"}},a3={class:"title"},l3={key:0,style:{"font-size":"10px","line-height":"16px",color:"#f16868"}},c3={key:1,class:"btn_group"},f3={key:2,class:"btn_group"},d3={__name:"DishesList",props:{skuList:{type:Array,required:!0,default:()=>[]},isMini:{type:Boolean,default:!1},channel:{type:String,default:"web"},defMsg:{type:Object,default:()=>({})}},emits:["select"],setup(e,{emit:t}){const n=e,u=t;ne(!1);const r=ne(!1),i=(l,c)=>!1,s=l=>{let c=0;return((l==null?void 0:l.list)||[]).forEach(f=>{((f==null?void 0:f.getCategoryList)||[]).forEach(d=>{c+=d.energy||0})}),c},o=l=>n.skuList.slice(0,l).findIndex(c=>c.strDate===n.skuList[l].strDate)===-1,a=l=>{u("select",{type:l})};return(l,c)=>(j(),V("div",u3,[F("div",{class:vt(["dl_list",{show_full:r.value}])},[(j(!0),V(he,null,ct(e.skuList,(f,d)=>(j(),V(he,{key:f.category},[o(d)?(j(),V("div",r3,[d>0?(j(),V("div",i3)):Ie("",!0),F("div",s3,ae(f.strDate.slice(4,6))+"月"+ae(f.strDate.slice(6))+"日 ",1)])):Ie("",!0),f.list&&f.list.length?(j(),V("div",o3,[F("p",a3,ae(f.categoryType)+" "+ae(s(f))+"kcal ",1),F("div",null,[(j(!0),V(he,null,ct(f.list,h=>(j(),V(he,{key:h.id},[(j(!0),V(he,null,ct(h.getCategoryList,(p,x)=>(j(),xt(n3,{key:x,info:p,"def-msg":e.defMsg,open:i(p,f.category)},null,8,["info","def-msg","open"]))),128))],64))),128))])])):Ie("",!0)],64))),128))],2),F("div",{class:vt(["dl_full",{show_full:r.value}]),onClick:c[0]||(c[0]=f=>r.value=!r.value)},ae(r.value?"收起菜谱":"点击查看完整食谱"),3),e.isMini?(j(),V("div",l3,c[5]||(c[5]=[qt(" 温馨提示:维小饭AI健康食谱为日常膳食调理方案,不能替代药物治疗或专业医疗建议。如有疾病,请及时就医并遵医嘱。"),F("br",null,null,-1),F("strong",null,"半价惊喜,下单即得!",-1)]))):Ie("",!0),e.isMini?(j(),V("div",c3,[F("div",{class:"btn btn_1",onClick:c[1]||(c[1]=Te(f=>a("personalForm"),["stop"]))},c[6]||(c[6]=[F("span",{class:"name"},"私人定制个性食谱",-1)])),F("div",{class:"btn btn_2",onClick:c[2]||(c[2]=Te(f=>a("ship_order"),["stop"]))},c[7]||(c[7]=[F("span",{class:"name"},"去订餐",-1)]))])):(j(),V("div",f3,[e.channel!=="hft"?(j(),V("div",{key:0,class:"btn btn_1",onClick:c[3]||(c[3]=Te(f=>a("ship_order"),["stop"]))},c[8]||(c[8]=[F("span",{class:"name"},"配送下單",-1),F("span",{class:"sub"},"(直送到府)",-1)]))):Ie("",!0),F("div",{class:"btn btn_2",onClick:c[4]||(c[4]=Te(f=>a("pick_order"),["stop"]))},c[9]||(c[9]=[F("span",{class:"name"},"自提下單",-1),F("span",{class:"sub"},"(免運費)",-1)]))]))]))}},h3=ze(d3,[["__scopeId","data-v-adcdb920"]]),p3={class:"card",style:{"margin-top":"15px"}},m3={class:"row"},g3={class:"content"},b3={class:"title"},_3={class:"row"},v3={class:"name"},y3={class:"content"},x3={class:"row"},E3={class:"name"},C3={class:"content"},k3={class:"row"},w3={class:"name"},A3={class:"content"},T3={class:"row"},D3={class:"name"},S3={class:"content"},I3={class:"btn_group"},F3={__name:"PlanCard",props:{info:{type:Object,required:!0},defMsg:{type:Object,required:!0}},emits:["select"],setup(e,{emit:t}){const n={"01":"早餐","02":"午餐","03":"晚餐","04":"加餐",carbohydrateTotal:"碳水化合物",proteinTotal:"蛋白質",fatTotal:"脂肪"},u=t,r=()=>{u("select",{})};return(i,s)=>(j(),V(he,null,[F("div",p3,[F("div",m3,[s[0]||(s[0]=F("div",{class:"name"},"每日攝入能量",-1)),F("div",g3,ae(e.info.totalIntake)+" kcal",1)])]),(j(!0),V(he,null,ct(e.info.planDetailList,o=>(j(),V("div",{key:i.category,class:"card"},[F("div",b3,ae(n[o.category]),1),F("div",_3,[F("div",v3,ae(n[o.category])+"熱量",1),F("div",y3,ae(o.totalKcal)+" kcal",1)]),s[1]||(s[1]=F("div",{class:"sep"},null,-1)),F("div",x3,[F("div",E3,ae(n.carbohydrateTotal),1),F("div",C3,ae(o.carbohydrateTotal)+" g",1)]),F("div",k3,[F("div",w3,ae(n.proteinTotal),1),F("div",A3,ae(o.proteinTotal)+" g",1)]),F("div",T3,[F("div",D3,ae(n.fatTotal),1),F("div",S3,ae(o.fatTotal)+" g",1)])]))),128)),F("div",I3,[F("div",{class:"btn btn_2",onClick:Te(r,["stop"])},"用該方案配餐")])],64))}},L3=ze(F3,[["__scopeId","data-v-b9dd25a1"]]),O3={},N3={width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function P3(e,t){return j(),V("svg",N3,t[0]||(t[0]=[F("path",{d:"M5.75335 4.13651C5.8677 3.70974 6.31858 3.36377 6.76041 3.36377C7.20223 3.36377 7.4677 3.70974 7.35335 4.13651L7.14629 4.90928L10.3463 4.90928L10.5533 4.13651C10.6677 3.70974 11.1186 3.36377 11.5604 3.36377C12.0022 3.36377 12.2677 3.70974 12.1533 4.13651L11.9463 4.90928H12.8282C13.2701 4.90928 13.5355 5.25525 13.4212 5.68202C13.3068 6.10879 12.8559 6.45476 12.4141 6.45476H11.5322L10.704 9.54561H11.5859C12.0277 9.54561 12.2932 9.89157 12.1788 10.3183C12.0645 10.7451 11.6136 11.0911 11.1718 11.0911H10.2899L10.0828 11.8639C9.96844 12.2907 9.51757 12.6367 9.07574 12.6367C8.63391 12.6367 8.36844 12.2907 8.4828 11.8639L8.68988 11.0911L5.48986 11.0911L5.28278 11.8639C5.16843 12.2907 4.71756 12.6367 4.27573 12.6367C3.8339 12.6367 3.56843 12.2907 3.68278 11.8639L3.88986 11.0911H3.17178C2.72995 11.0911 2.46448 10.7451 2.57884 10.3183C2.69319 9.89157 3.14407 9.54561 3.58589 9.54561H4.30397L4.67327 8.16737C4.78763 7.7406 5.2385 7.39463 5.68033 7.39463C6.12215 7.39463 6.38763 7.7406 6.27327 8.16737L5.90398 9.54561L9.10399 9.54561L9.93218 6.45476L4.41412 6.45476C3.97229 6.45476 3.70682 6.10879 3.82117 5.68202C3.93553 5.25524 4.3864 4.90928 4.82823 4.90928H5.54629L5.75335 4.13651Z",fill:"currentColor"},null,-1)]))}const M3=ze(O3,[["render",P3]]),R3={name:"pictureIcon"},$3={width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function B3(e,t,n,u,r,i){return j(),V("svg",$3,t[0]||(t[0]=[F("path",{d:"M2.875 6C2.875 4.34315 4.21815 3 5.875 3H19.875C21.5319 3 22.875 4.34315 22.875 6V18C22.875 19.6569 21.5319 21 19.875 21H5.875C4.21815 21 2.875 19.6569 2.875 18V6ZM5.875 5C5.32272 5 4.875 5.44772 4.875 6V16.0852L10.475 11.8852C11.8972 10.8185 13.8528 10.8185 15.275 11.8852L20.875 16.0852V6C20.875 5.44772 20.4273 5 19.875 5H5.875ZM8.28442 10.0852C9.11285 10.0852 9.78442 9.41363 9.78442 8.58521C9.78442 7.75678 9.11285 7.08521 8.28442 7.08521C7.456 7.08521 6.78442 7.75678 6.78442 8.58521C6.78442 9.41363 7.456 10.0852 8.28442 10.0852Z",fill:"currentColor"},null,-1)]))}const j3=ze(R3,[["render",B3]]),U3={},V3={width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function H3(e,t){return j(),V("svg",V3,t[0]||(t[0]=[F("path",{d:"M18.0849 10.6565C19.9734 8.76795 19.9734 5.70607 18.0849 3.81756C16.1964 1.92905 13.1345 1.92905 11.246 3.81756L5.05399 10.0096C2.55177 12.5118 2.55177 16.5687 5.05399 19.0709C7.55622 21.5732 11.6131 21.5732 14.1154 19.0709L20.2421 12.9442C20.6326 12.5537 20.6326 11.9205 20.2421 11.53C19.8516 11.1394 19.2184 11.1394 18.8279 11.53L12.7011 17.6567C10.98 19.3779 8.18938 19.3779 6.46821 17.6567C4.74703 15.9355 4.74703 13.145 6.4682 11.4238L12.6602 5.23178C13.7677 4.12431 15.5632 4.12431 16.6707 5.23178C17.7781 6.33924 17.7781 8.13478 16.6707 9.24224L10.5401 15.3729C10.0481 15.8648 9.25051 15.8648 8.75856 15.3729C8.26661 14.8809 8.26661 14.0833 8.75856 13.5913L13.9435 8.40645C14.334 8.01592 14.334 7.38276 13.9435 6.99223C13.5529 6.60171 12.9198 6.60171 12.5292 6.99223L7.34435 12.1771C6.07135 13.4501 6.07135 15.5141 7.34435 16.7871C8.61735 18.0601 10.6813 18.0601 11.9543 16.7871L18.0849 10.6565Z",fill:"currentColor"},null,-1)]))}const z3=ze(U3,[["render",H3]]),W3=["width","height"],q3=["stroke"],Y3=["stroke","stroke-dasharray","stroke-dashoffset"],nc={__name:"progressRing",props:{percent:{type:Number,default:75},size:{type:Number,default:48},color:{type:String,default:"#fff"},bgColor:{type:String,default:"#888"}},setup(e){const t=e,n=xe(()=>({l:2*Math.PI*45,p:2*Math.PI*45*(100-t.percent)/100}));return(u,r)=>(j(),V("svg",{width:e.size,height:e.size,viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg"},[F("circle",{cx:"50",cy:"50",r:"45",fill:"none",stroke:e.bgColor,"stroke-width":"8"},null,8,q3),F("path",{id:"progressPath",d:`M 50 5\r
|
|
44
|
-
a 45 45 0 1 1 0 90\r
|
|
45
|
-
a 45 45 0 1 1 0 -90`,fill:"none",stroke:e.color,"stroke-width":"10","stroke-linecap":"round","stroke-dasharray":n.value.l,"stroke-dashoffset":n.value.p},null,8,Y3)],8,W3))}},G3={},K3={width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function X3(e,t){return j(),V("svg",K3,t[0]||(t[0]=[F("path",{d:"M13.5 4.5C13.5 3.67157 12.8284 3 12 3C11.1716 3 10.5 3.67157 10.5 4.5L10.5 10.5H4.5C3.67157 10.5 3 11.1716 3 12C3 12.8284 3.67157 13.5 4.5 13.5H10.5L10.5 19.5C10.5 20.3284 11.1716 21 12 21C12.8284 21 13.5 20.3284 13.5 19.5V13.5H19.5C20.3284 13.5 21 12.8284 21 12C21 11.1716 20.3284 10.5 19.5 10.5H13.5V4.5Z",fill:"currentColor"},null,-1)]))}const Z3=ze(G3,[["render",X3]]),J3={},Q3={width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function e6(e,t){return j(),V("svg",Q3,t[0]||(t[0]=[F("rect",{x:"0.5",y:"0.5",width:"15",height:"15",rx:"7.5",fill:"black","fill-opacity":"0.5"},null,-1),F("rect",{x:"0.5",y:"0.5",width:"15",height:"15",rx:"7.5",stroke:"currentColor"},null,-1),F("path",{d:"M10.8284 6.58588C11.2189 6.19535 11.2189 5.56219 10.8284 5.17167C10.4379 4.78114 9.80471 4.78114 9.41419 5.17167L8 6.58586L6.58581 5.17167C6.19529 4.78114 5.56212 4.78114 5.1716 5.17167C4.78107 5.56219 4.78107 6.19535 5.1716 6.58588L6.58579 8.00007L5.17155 9.41431C4.78103 9.80483 4.78103 10.438 5.17155 10.8285C5.56207 11.219 6.19524 11.219 6.58576 10.8285L8 9.41428L9.41424 10.8285C9.80476 11.219 10.4379 11.219 10.8285 10.8285C11.219 10.438 11.219 9.80483 10.8285 9.41431L9.41421 8.00007L10.8284 6.58588Z",fill:"currentColor"},null,-1)]))}const t6=ze(J3,[["render",e6]]),n6={},u6={width:"1em",height:"1em",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function r6(e,t){return j(),V("svg",u6,t[0]||(t[0]=[F("path",{d:"M21 7.64355C21 7.09127 21.4477 6.64355 22 6.64355C22.5523 6.64355 23 7.09127 23 7.64355V9.64355H25C25.5523 9.64355 26 10.0913 26 10.6436C26 11.1958 25.5523 11.6436 25 11.6436H23V13.6436C23 14.1958 22.5523 14.6436 22 14.6436C21.4477 14.6436 21 14.1958 21 13.6436V11.6436H19C18.4477 11.6436 18 11.1958 18 10.6436C18 10.0913 18.4477 9.64355 19 9.64355H21V7.64355ZM9 10.6436C9 10.0913 9.44772 9.64355 10 9.64355H16.164C16.7162 9.64355 17.164 9.19584 17.164 8.64355C17.164 8.09127 16.7162 7.64355 16.164 7.64355H10C8.34315 7.64355 7 8.9867 7 10.6436V22.8527C7 24.7723 9.0737 25.9757 10.7403 25.0233L15.035 22.5693C15.1861 22.4829 15.3571 22.4375 15.5311 22.4375H22C23.6569 22.4375 25 21.0944 25 19.4375V16.32C25 15.7677 24.5523 15.32 24 15.32C23.4477 15.32 23 15.7677 23 16.32V19.4375C23 19.9898 22.5523 20.4375 22 20.4375H15.5311C15.009 20.4375 14.496 20.5737 14.0427 20.8328L9.74807 23.2869C9.41474 23.4773 9 23.2366 9 22.8527V10.6436Z",fill:"currentColor"},null,-1)]))}const cd=ze(n6,[["render",r6]]),i6={viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"1em",height:"1em"},s6=["fill"],o6=["fill"],a6={__name:"sendLoadingIcon",props:{color:{type:String,default:"#000"},bg:{type:String,default:"#039938"}},setup(e){return(t,n)=>(j(),V("svg",i6,[F("circle",{cx:"512",cy:"512",r:"512",fill:e.bg},null,8,s6),F("path",{fill:e.color,d:"M512.042667 213.333333v74.666667a224 224 0 1 1-195.626667 114.773333l-65.194667-36.394666A298.666667 298.666667 0 1 0 512.042667 213.333333z"},n[0]||(n[0]=[F("animateTransform",{attributeName:"transform",type:"rotate",from:"0 512 512",to:"360 512 512",dur:"1.5s",repeatCount:"indefinite",fill:"freeze"},null,-1)]),8,o6)]))}},l6={class:"om_wrap"},c6={class:"om_quick"},f6=["onClick"],d6={class:"om_operate_box"},h6={class:"om_operate_wrap"},p6={class:"file_list"},m6=["src"],g6={key:2,class:"process"},b6={class:"om_operate"},_6=["placeholder"],v6={class:"btn_group"},y6={class:"om_extra",style:{display:"none"}},x6={class:"icon"},E6={class:"text"},C6={class:"om_ai_tips"},k6="https://prodstatic.weis1606.cn/api/smartFood/icon/pdf_icon.png",w6={__name:"OperateModule",props:{modelValue:{type:String,default:""},token:{type:String,required:!0},tagList:{type:Array,required:!0},newChat:{type:Boolean,default:!1},defMsg:{type:Object,required:!0},isReq:{type:String,default:"00"}},emits:["update:modelValue","send","tag","call"],setup(e,{emit:t}){const n=[{name:"相冊",icon:j3,type:"photo"},{name:"文件",icon:z3,type:"file"}],u=ne(null),r=ne(null),i=ne(null),s=ne(!1),o=ne([]),a=e,l=t,c=xe(()=>({headers:{Authorization:`Bearer ${a.token}`,"Content-Type":"multipart/form-data"}}));Je(()=>a.modelValue,()=>{I()});const f=xe(()=>{switch(a.isReq){case"01":return{bg:"#fff",color:"#ccc"};case"02":return{bg:"#666",color:"#CDEBD7"};case"03":return{bg:"#ccc",color:"#fff"};case"04":return{bg:"#E5F4EB",color:"#fff"}}}),d=xe({get:()=>a.modelValue,set:K=>{l("update:modelValue",K),I()}});Ht(()=>{I()}),Kn(()=>{u.value&&(u.value.style.height="auto")});const h=K=>{d.value=K.target.value.replace(/^\n+|\n+$/g,"")},p=K=>{K.type==="upload"?_():l("tag",{...K})},x=()=>{if(!d.value)return;if(o.value.length&&o.value.findIndex(ue=>ue.percent<100)>-1){l("call",{message:a.defMsg.uploadingTips,reason:"is_uploading",value:"toast",type:"call"});return}const K=[{content:d.value,text:d.value}];console.log("====== u file list =======",o.value),o.value.length&&(K.push({type:"object_string",content:o.value.map(ue=>({type:te(ue.file_type),name:ue.file.name,file_id:ue.data.id,file_url:ue.file_url}))}),s.value=!1),l("send",[...K]),v()},w=K=>{const ue=K.target.files[0],ee=new FileReader;ee.onload=()=>previewUrl.value=ee.result,ee.readAsDataURL(ue)},A=()=>{r.value&&r.value.click()},T=K=>{const ue=K.target.files[0];console.log("=== file ===",K),ue&&(o.value.push({file:ue,file_type:ue.type,file_url:URL.createObjectURL(ue),size:(ue.size/1024).toFixed(2),percent:0,data:{}}),console.log("=== 文件列表 ===",o.value),g(o.value.length-1))},g=async K=>{const ue=o.value[K].file;console.log("========",ue),d.value||(d.value=a.defMsg.fileText);const ee=new FormData;ee.append("file",ue);const se=new XMLHttpRequest;se.open("POST","https://api.coze.cn/v1/files/upload"),se.setRequestHeader("Authorization",c.value.headers.Authorization),se.upload.onprogress=be=>{if(be.lengthComputable){const H=Math.round(be.loaded/be.total*100);console.log(`======进度======:${H}%`),o.value[K].percent=H}},se.onreadystatechange=function(){if(console.log("============",se),se.readyState===XMLHttpRequest.DONE)if(se.status===200){console.log("上传成功:",se.responseText);const be=JSON.parse(se.response);o.value[K].data=be.data}else console.error("上传失败:",se.status)},se.send(ee)},_=()=>{v(!0),s.value=!0},E=()=>{v(!0),s.value=!1},v=(K=!1)=>{if(K)for(let ue=o.value.length-1;ue>=0;ue-=1)S(ue);r.value&&(r.value.value=""),o.value=[]},S=K=>{URL.revokeObjectURL(o.value[K].file_url),o.value.splice(K,1),r.value&&(r.value.value="")},N=()=>{l("call",{type:"new_chat"})},I=()=>{pt(()=>{u.value&&(u.value.style.height="auto",u.value.style.height=Math.min(u.value.scrollHeight,72)+"px")})},G=()=>{pt(()=>{window.scrollTo({top:Math.round(.7*window.innerHeight+.5476*window.innerWidth-416.4),behavior:"smooth"})})},te=K=>{if(K.includes("image"))return"image";if(K.includes("application"))return"file";if(K.includes("audio"))return"audio"},U=()=>{};return(K,ue)=>(j(),V("div",l6,[F("div",c6,[(j(!0),V(he,null,ct(e.tagList,ee=>(j(),V("div",{class:"tag",key:ee.value,onClick:Te(se=>p(ee),["stop"])},[W(M3,{class:"icon"}),qt(" "+ae(ee.name),1)],8,f6))),128))]),F("div",d6,[e.newChat?(j(),V("div",{key:0,class:"new_chat",onClick:Te(N,["stop"])},[W(cd)])):Ie("",!0),F("div",h6,[F("div",{class:vt(["file_list_box",{hidden:!s.value}])},[F("div",p6,[(j(!0),V(he,null,ct(o.value,(ee,se)=>(j(),V("div",{key:se,class:"file_card"},[ee.file_type.toLocaleLowerCase().includes("pdf")?(j(),V("img",{key:0,class:"pdf",src:k6,width:"100%",alt:"img"})):(j(),V("img",{key:1,class:"img",src:ee.file_url,width:"100%",alt:"img"},null,8,m6)),ee.percent<100?(j(),V("div",g6,[W(nc,{percent:ee.percent},null,8,["percent"])])):(j(),xt(t6,{key:3,class:"close",onClick:Te(be=>S(se),["stop"])},null,8,["onClick"]))]))),128)),o.value.length<4?(j(),V("div",{key:0,class:"file_add",onClick:Te(A,["stop"])},[W(Z3)])):Ie("",!0),F("div",{class:"file_close",onClick:Te(E,["stop"])},[W(Vf)])])],2),F("div",b6,[Or(F("textarea",{"onUpdate:modelValue":ue[0]||(ue[0]=ee=>d.value=ee),ref_key:"txtEle",ref:u,class:"input",rows:"1",placeholder:e.defMsg.placeholder,onInput:h,onKeyup:uf(x,["enter"]),onFocus:G,onBlur:U},null,40,_6),[[cp,d.value]]),F("div",v6,[F("div",{class:"btn",onClick:Te(x,["stop"])},[e.isReq==="00"?(j(),xt(Bm,{key:0,style:wn({color:d.value?"#039938":"#ccc"})},null,8,["style"])):(j(),xt(a6,{key:1,bg:f.value.bg,color:f.value.color},null,8,["bg","color"]))])])])])]),F("div",y6,[F("input",{ref_key:"captureInput",ref:i,type:"file",accept:"image/*",capture:"environment",style:{display:"none"},onChange:w},null,544),F("input",{ref_key:"uploadInput",ref:r,type:"file",accept:"image/*,application/pdf",style:{display:"none"},onChange:T},null,544),(j(),V(he,null,ct(n,ee=>F("div",{key:ee.type,class:"card",onClick:Te(A,["stop"])},[F("div",x6,[(j(),xt(X1(ee.icon)))]),F("div",E6,ae(ee.name),1)])),64)),W(nc,{percent:15})]),F("div",C6,ae(e.defMsg.aiTips),1)]))}},A6=ze(w6,[["__scopeId","data-v-2044a301"]]),T6={},D6={viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"1em",height:"1em"};function S6(e,t){return j(),V("svg",D6,t[0]||(t[0]=[F("path",{d:"M395.21518 513.604544l323.135538-312.373427c19.052938-18.416442 19.052938-48.273447 0-66.660212-19.053961-18.416442-49.910737-18.416442-68.964698 0L291.75176 480.290811c-19.052938 18.416442-19.052938 48.273447 0 66.660212l357.633237 345.688183c9.525957 9.207709 22.01234 13.796214 34.497699 13.796214 12.485359 0 24.971741-4.588505 34.466999-13.82896 19.052938-18.416442 19.052938-48.242747 0-66.660212L395.21518 513.604544z",fill:"currentColor"},null,-1)]))}const I6=ze(T6,[["render",S6]]),F6={},L6={width:"1.5em",height:"1em",viewBox:"0 0 440 440",xmlns:"http://www.w3.org/2000/svg"};function O6(e,t){return j(),V("svg",L6,t[0]||(t[0]=[Sh('<circle id="ballA" cx="220" cy="220" r="50" fill="rgba(0,0,0,0.8)" opacity="0.1"><animate attributeName="cx" values="220; 40; 220; 400; 220" dur="1.5s" repeatCount="indefinite" calcMode="spline" keySplines="0.25 0.1 0.25 1; 0.25 0.1 0.25 1; 0.25 0.1 0.25 1; 0.25 0.1 0.25 1"></animate><animate attributeName="r" values="50; 80; 100; 80; 50" dur="1.5s" repeatCount="indefinite" calcMode="spline" keySplines="0.4 0.0 0.2 1; 0.4 0.0 0.2 1; 0.4 0.0 0.2 1; 0.4 0.0 0.2 1"></animate><animate attributeName="opacity" values="0.1; 0.6; 1; 0.6; 0.1" dur="1.5s" repeatCount="indefinite" calcMode="spline" keySplines="0.6 0.2 0.8 0.4; 0.6 0.2 0.8 0.4; 0.6 0.2 0.8 0.4; 0.6 0.2 0.8 0.4"></animate></circle><circle id="ballB" cx="220" cy="220" r="100" fill="rgba(0,0,0,0.8)" opacity="1"><animate attributeName="cx" values="220; 400; 220; 40; 220" dur="1.5s" repeatCount="indefinite" calcMode="spline" keySplines="0.25 0.1 0.25 1; 0.25 0.1 0.25 1; 0.25 0.1 0.25 1; 0.25 0.1 0.25 1"></animate><animate attributeName="r" values="100; 80; 50; 80; 100" dur="1.5s" repeatCount="indefinite" calcMode="spline" keySplines="0.4 0.0 0.2 1; 0.4 0.0 0.2 1; 0.4 0.0 0.2 1; 0.4 0.0 0.2 1"></animate><animate attributeName="opacity" values="1; 0.6; 0.1; 0.6; 1" dur="1.5s" repeatCount="indefinite" calcMode="spline" keySplines="0.6 0.2 0.8 0.4; 0.6 0.2 0.8 0.4; 0.6 0.2 0.8 0.4; 0.6 0.2 0.8 0.4"></animate></circle>',2)]))}const N6=ze(F6,[["render",O6]]),P6=["src","alt"],M6="https://prodstatic.weis1606.cn/api/smartFood/icon/pdf_icon.png",R6={__name:"imgeList",props:{list:{type:Array,required:!0}},setup(e){const t=e,n=()=>{const r=t.list.filter(i=>i.type==="image"&&i.file_url);r.length&&Mr({images:r.map(i=>i.file_url)})},u=({type:r,name:i,file_url:s})=>{console.log(t.list);let o=s;return r==="file"&&i.toLowerCase().endsWith("pdf")&&(o=M6),o};return(r,i)=>(j(),V("div",{class:vt(["img_wrap",e.list.length>1?"grid_2":"grid_1"])},[(j(!0),V(he,null,ct(e.list,s=>(j(),V("img",{key:s.file_id,class:"img",width:"100%",src:u(s),alt:s.name,onClick:Te(n,["stop"])},null,8,P6))),128))],2))}},$6=ze(R6,[["__scopeId","data-v-da7f1fd0"]]),B6={},j6={width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function U6(e,t){return j(),V("svg",j6,t[0]||(t[0]=[F("path",{d:"M18.3752 6.19542C18.3663 5.84188 18.0971 5.61907 17.7113 5.62719C17.3249 5.63532 17.1259 5.87105 17.0624 6.22473C17.0295 6.40814 17.0401 6.60002 17.0382 6.78818C17.0349 7.1092 17.0373 7.43028 17.0373 7.75135C16.9871 7.77411 16.9369 7.79688 16.8867 7.81966C16.7181 7.65766 16.5524 7.4926 16.3805 7.33415C14.8317 5.90621 12.9939 5.37461 10.9359 5.69056C8.03017 6.13662 5.87726 8.55583 5.62463 11.5758C5.38764 14.4087 7.21523 17.1459 9.95849 18.0667C12.7336 18.9982 15.8214 17.914 17.3822 15.4574C17.4827 15.2992 17.5871 15.1369 17.6484 14.962C17.7675 14.6224 17.7077 14.3062 17.3722 14.1247C17.049 13.9499 16.7426 14.0201 16.5131 14.3168C16.3983 14.4652 16.3111 14.6344 16.204 14.7891C15.2363 16.1865 13.907 16.9479 12.206 17.0308C9.92842 17.1419 7.84057 15.6645 7.17679 13.487C6.49124 11.238 7.43946 8.81484 9.46764 7.6327C11.4392 6.48354 13.9702 6.81332 15.5656 8.43366C15.6825 8.55231 15.7612 8.70851 15.9506 8.98094C15.3277 8.98094 14.8482 8.95558 14.3726 8.98836C13.9335 9.01865 13.7009 9.27998 13.7045 9.64685C13.708 10.0041 13.9569 10.2996 14.3795 10.31C15.4824 10.3371 16.5866 10.3273 17.6901 10.3155C18.0536 10.3117 18.3546 10.1036 18.3656 9.74431C18.4019 8.56213 18.4048 7.37778 18.3752 6.19542Z",fill:"currentColor"},[F("animateTransform",{attributeName:"transform",attributeType:"XML",type:"rotate",from:"0 12 12",to:"360 12 12",dur:"1.5s",repeatCount:"indefinite"})],-1)]))}const V6=ze(B6,[["render",U6]]),H6={},z6={width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function W6(e,t){return j(),V("svg",z6,t[0]||(t[0]=[F("path",{d:"M3.78271 12C3.78271 13.0792 3.99526 14.1477 4.40822 15.1447C4.82118 16.1416 5.42646 17.0475 6.18951 17.8106C6.95256 18.5736 7.85843 19.1789 8.8554 19.5919C9.85238 20.0048 10.9209 20.2174 12 20.2174C13.0792 20.2174 14.1477 20.0048 15.1447 19.5919C16.1416 19.1789 17.0475 18.5736 17.8106 17.8106C18.5736 17.0475 19.1789 16.1416 19.5919 15.1447C20.0048 14.1477 20.2174 13.0792 20.2174 12C20.2174 10.9209 20.0048 9.85238 19.5919 8.8554C19.1789 7.85843 18.5736 6.95256 17.8106 6.18951C17.0475 5.42646 16.1416 4.82118 15.1447 4.40822C14.1477 3.99526 13.0792 3.78271 12 3.78271C10.9209 3.78271 9.85238 3.99526 8.8554 4.40822C7.85843 4.82118 6.95256 5.42646 6.18951 6.18951C5.42646 6.95256 4.82118 7.85843 4.40822 8.8554C3.99526 9.85238 3.78271 10.9209 3.78271 12Z",fill:"currentColor"},null,-1),F("path",{d:"M11.0677 14.4192L8.08502 11.4365C7.87938 11.2308 7.54542 11.2308 7.33978 11.4365C7.13414 11.6421 7.13414 11.9761 7.33978 12.1817L10.3225 15.1644C10.5281 15.3701 10.8621 15.3701 11.0677 15.1644C11.2751 14.9605 11.2751 14.6266 11.0677 14.4192Z",fill:"#fff"},null,-1),F("path",{d:"M16.6693 8.84027C16.4636 8.63462 16.1297 8.63462 15.924 8.84027L10.456 14.31C10.2503 14.5157 10.2503 14.8496 10.456 15.0553C10.6616 15.2609 10.9956 15.2609 11.2012 15.0553L16.6693 9.58727C16.8767 9.37986 16.8767 9.04591 16.6693 8.84027Z",fill:"#fff"},null,-1)]))}const q6=ze(H6,[["render",W6]]),Y6={class:"text"},G6=["onClick"],K6={__name:"assistantReplay",props:{content:{type:String,default:""}},setup(e){const t=e,n=ne([]),u=xe(()=>{const i=/\[([^\]]+)]\((https?:\/\/[^)]+)\)/gi,s=[...t.content.matchAll(i)];let o=t.content,a=0;const l=[];return s.length?(s.forEach((c,f)=>{l.push({type:"text",content:c.input.slice(a,c.index).replace(i,"")}),l.push({type:"link",string:c[0],...JSON.parse(c[0].replace(i,'{"content":"[$1]","url":"$2"}'))}),o=c.input.slice(c.index).replace(c[0],""),a=c.index}),o.length&&l.push({type:"text",content:o})):l.push({type:"text",content:o}),l}),r=({url:i})=>{n.value=[i],Mr({images:n.value})};return(i,s)=>(j(),V("p",Y6,[(j(!0),V(he,null,ct(u.value,(o,a)=>(j(),V(he,{key:a},[o.type==="text"?(j(),V(he,{key:0},[qt(ae(o.content),1)],64)):Ie("",!0),o.type==="link"?(j(),V("a",{key:1,class:"link",onClick:Te(l=>r(o),["stop"])},ae(o.content),9,G6)):Ie("",!0)],64))),128))]))}},X6=ze(K6,[["__scopeId","data-v-9911ed82"]]),Z6=e=>{Mr({images:e})},J6={class:"name"},Q6={class:"address"},uc="https://prodstatic.weis1606.cn/api/smartFood/images/logo_img.png",e4={__name:"StoreCard",props:{info:{type:Object,required:!0}},emits:["select"],setup(e,{emit:t}){const n=e,u=t,r=()=>{u("select",{type:"chat",content:n.info.hpName,text:n.info.hpName})};return(i,s)=>(j(),V("div",{class:"sc_wrap",onClick:Te(r,["stop"])},[F("div",{class:"img",style:wn({background:`url(${e.info.signUrl||uc}?x-oss-process=image/resize,w_144) no-repeat center`,backgroundSize:"cover"}),onClick:s[0]||(s[0]=Te(o=>un(Z6)([e.info.signUrl||uc]),["stop"]))},null,4),F("div",null,[F("div",J6,ae(e.info.hpName),1),F("div",Q6,ae(e.info.address),1)])]))}},t4=ze(e4,[["__scopeId","data-v-fd7bbf0d"]]),n4={__name:"StoreList",props:{list:{type:Array,required:!0}},emits:["select"],setup(e,{emit:t}){const n=t,u=r=>{n("select",{...r})};return(r,i)=>(j(),V(he,null,[i[0]||(i[0]=F("div",null,"请选择一个门店",-1)),(j(!0),V(he,null,ct(e.list,s=>(j(),xt(t4,{key:s.hpName,info:s,onSelect:u},null,8,["info"]))),128))],64))}},rc={};function u4(e){let t=rc[e];if(t)return t;t=rc[e]=[];for(let n=0;n<128;n++){const u=String.fromCharCode(n);t.push(u)}for(let n=0;n<e.length;n++){const u=e.charCodeAt(n);t[u]="%"+("0"+u.toString(16).toUpperCase()).slice(-2)}return t}function Vu(e,t){typeof t!="string"&&(t=Vu.defaultChars);const n=u4(t);return e.replace(/(%[a-f0-9]{2})+/gi,function(u){let r="";for(let i=0,s=u.length;i<s;i+=3){const o=parseInt(u.slice(i+1,i+3),16);if(o<128){r+=n[o];continue}if((o&224)===192&&i+3<s){const a=parseInt(u.slice(i+4,i+6),16);if((a&192)===128){const l=o<<6&1984|a&63;l<128?r+="��":r+=String.fromCharCode(l),i+=3;continue}}if((o&240)===224&&i+6<s){const a=parseInt(u.slice(i+4,i+6),16),l=parseInt(u.slice(i+7,i+9),16);if((a&192)===128&&(l&192)===128){const c=o<<12&61440|a<<6&4032|l&63;c<2048||c>=55296&&c<=57343?r+="���":r+=String.fromCharCode(c),i+=6;continue}}if((o&248)===240&&i+9<s){const a=parseInt(u.slice(i+4,i+6),16),l=parseInt(u.slice(i+7,i+9),16),c=parseInt(u.slice(i+10,i+12),16);if((a&192)===128&&(l&192)===128&&(c&192)===128){let f=o<<18&1835008|a<<12&258048|l<<6&4032|c&63;f<65536||f>1114111?r+="����":(f-=65536,r+=String.fromCharCode(55296+(f>>10),56320+(f&1023))),i+=9;continue}}r+="�"}return r})}Vu.defaultChars=";/?:@&=+$,#";Vu.componentChars="";const ic={};function r4(e){let t=ic[e];if(t)return t;t=ic[e]=[];for(let n=0;n<128;n++){const u=String.fromCharCode(n);/^[0-9a-z]$/i.test(u)?t.push(u):t.push("%"+("0"+n.toString(16).toUpperCase()).slice(-2))}for(let n=0;n<e.length;n++)t[e.charCodeAt(n)]=e[n];return t}function Rr(e,t,n){typeof t!="string"&&(n=t,t=Rr.defaultChars),typeof n>"u"&&(n=!0);const u=r4(t);let r="";for(let i=0,s=e.length;i<s;i++){const o=e.charCodeAt(i);if(n&&o===37&&i+2<s&&/^[0-9a-f]{2}$/i.test(e.slice(i+1,i+3))){r+=e.slice(i,i+3),i+=2;continue}if(o<128){r+=u[o];continue}if(o>=55296&&o<=57343){if(o>=55296&&o<=56319&&i+1<s){const a=e.charCodeAt(i+1);if(a>=56320&&a<=57343){r+=encodeURIComponent(e[i]+e[i+1]),i++;continue}}r+="%EF%BF%BD";continue}r+=encodeURIComponent(e[i])}return r}Rr.defaultChars=";/?:@&=+$,-_.!~*'()#";Rr.componentChars="-_.!~*'()";function $o(e){let t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t}function ki(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const i4=/^([a-z0-9.+-]+:)/i,s4=/:[0-9]*$/,o4=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,a4=["<",">",'"',"`"," ","\r",`
|
|
46
|
-
`," "],l4=["{","}","|","\\","^","`"].concat(a4),c4=["'"].concat(l4),sc=["%","/","?",";","#"].concat(c4),oc=["/","?","#"],f4=255,ac=/^[+a-z0-9A-Z_-]{0,63}$/,d4=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,lc={javascript:!0,"javascript:":!0},cc={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Bo(e,t){if(e&&e instanceof ki)return e;const n=new ki;return n.parse(e,t),n}ki.prototype.parse=function(e,t){let n,u,r,i=e;if(i=i.trim(),!t&&e.split("#").length===1){const l=o4.exec(i);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}let s=i4.exec(i);if(s&&(s=s[0],n=s.toLowerCase(),this.protocol=s,i=i.substr(s.length)),(t||s||i.match(/^\/\/[^@\/]+@[^@\/]+/))&&(r=i.substr(0,2)==="//",r&&!(s&&lc[s])&&(i=i.substr(2),this.slashes=!0)),!lc[s]&&(r||s&&!cc[s])){let l=-1;for(let p=0;p<oc.length;p++)u=i.indexOf(oc[p]),u!==-1&&(l===-1||u<l)&&(l=u);let c,f;l===-1?f=i.lastIndexOf("@"):f=i.lastIndexOf("@",l),f!==-1&&(c=i.slice(0,f),i=i.slice(f+1),this.auth=c),l=-1;for(let p=0;p<sc.length;p++)u=i.indexOf(sc[p]),u!==-1&&(l===-1||u<l)&&(l=u);l===-1&&(l=i.length),i[l-1]===":"&&l--;const d=i.slice(0,l);i=i.slice(l),this.parseHost(d),this.hostname=this.hostname||"";const h=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!h){const p=this.hostname.split(/\./);for(let x=0,w=p.length;x<w;x++){const A=p[x];if(A&&!A.match(ac)){let T="";for(let g=0,_=A.length;g<_;g++)A.charCodeAt(g)>127?T+="x":T+=A[g];if(!T.match(ac)){const g=p.slice(0,x),_=p.slice(x+1),E=A.match(d4);E&&(g.push(E[1]),_.unshift(E[2])),_.length&&(i=_.join(".")+i),this.hostname=g.join(".");break}}}}this.hostname.length>f4&&(this.hostname=""),h&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const o=i.indexOf("#");o!==-1&&(this.hash=i.substr(o),i=i.slice(0,o));const a=i.indexOf("?");return a!==-1&&(this.search=i.substr(a),i=i.slice(0,a)),i&&(this.pathname=i),cc[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this};ki.prototype.parseHost=function(e){let t=s4.exec(e);t&&(t=t[0],t!==":"&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};const h4=Object.freeze(Object.defineProperty({__proto__:null,decode:Vu,encode:Rr,format:$o,parse:Bo},Symbol.toStringTag,{value:"Module"})),fd=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,dd=/[\0-\x1F\x7F-\x9F]/,p4=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,jo=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,hd=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,pd=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,m4=Object.freeze(Object.defineProperty({__proto__:null,Any:fd,Cc:dd,Cf:p4,P:jo,S:hd,Z:pd},Symbol.toStringTag,{value:"Module"})),g4=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),b4=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));var xs;const _4=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),v4=(xs=String.fromCodePoint)!==null&&xs!==void 0?xs:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function y4(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=_4.get(e))!==null&&t!==void 0?t:e}var nt;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(nt||(nt={}));const x4=32;var $n;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})($n||($n={}));function uo(e){return e>=nt.ZERO&&e<=nt.NINE}function E4(e){return e>=nt.UPPER_A&&e<=nt.UPPER_F||e>=nt.LOWER_A&&e<=nt.LOWER_F}function C4(e){return e>=nt.UPPER_A&&e<=nt.UPPER_Z||e>=nt.LOWER_A&&e<=nt.LOWER_Z||uo(e)}function k4(e){return e===nt.EQUALS||C4(e)}var tt;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(tt||(tt={}));var Rn;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(Rn||(Rn={}));class w4{constructor(t,n,u){this.decodeTree=t,this.emitCodePoint=n,this.errors=u,this.state=tt.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Rn.Strict}startEntity(t){this.decodeMode=t,this.state=tt.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case tt.EntityStart:return t.charCodeAt(n)===nt.NUM?(this.state=tt.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=tt.NamedEntity,this.stateNamedEntity(t,n));case tt.NumericStart:return this.stateNumericStart(t,n);case tt.NumericDecimal:return this.stateNumericDecimal(t,n);case tt.NumericHex:return this.stateNumericHex(t,n);case tt.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|x4)===nt.LOWER_X?(this.state=tt.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=tt.NumericDecimal,this.stateNumericDecimal(t,n))}addToNumericResult(t,n,u,r){if(n!==u){const i=u-n;this.result=this.result*Math.pow(r,i)+parseInt(t.substr(n,i),r),this.consumed+=i}}stateNumericHex(t,n){const u=n;for(;n<t.length;){const r=t.charCodeAt(n);if(uo(r)||E4(r))n+=1;else return this.addToNumericResult(t,u,n,16),this.emitNumericEntity(r,3)}return this.addToNumericResult(t,u,n,16),-1}stateNumericDecimal(t,n){const u=n;for(;n<t.length;){const r=t.charCodeAt(n);if(uo(r))n+=1;else return this.addToNumericResult(t,u,n,10),this.emitNumericEntity(r,2)}return this.addToNumericResult(t,u,n,10),-1}emitNumericEntity(t,n){var u;if(this.consumed<=n)return(u=this.errors)===null||u===void 0||u.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===nt.SEMI)this.consumed+=1;else if(this.decodeMode===Rn.Strict)return 0;return this.emitCodePoint(y4(this.result),this.consumed),this.errors&&(t!==nt.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,n){const{decodeTree:u}=this;let r=u[this.treeIndex],i=(r&$n.VALUE_LENGTH)>>14;for(;n<t.length;n++,this.excess++){const s=t.charCodeAt(n);if(this.treeIndex=A4(u,r,this.treeIndex+Math.max(1,i),s),this.treeIndex<0)return this.result===0||this.decodeMode===Rn.Attribute&&(i===0||k4(s))?0:this.emitNotTerminatedNamedEntity();if(r=u[this.treeIndex],i=(r&$n.VALUE_LENGTH)>>14,i!==0){if(s===nt.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==Rn.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:n,decodeTree:u}=this,r=(u[n]&$n.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,r,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,n,u){const{decodeTree:r}=this;return this.emitCodePoint(n===1?r[t]&~$n.VALUE_LENGTH:r[t+1],u),n===3&&this.emitCodePoint(r[t+2],u),u}end(){var t;switch(this.state){case tt.NamedEntity:return this.result!==0&&(this.decodeMode!==Rn.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case tt.NumericDecimal:return this.emitNumericEntity(0,2);case tt.NumericHex:return this.emitNumericEntity(0,3);case tt.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case tt.EntityStart:return 0}}}function md(e){let t="";const n=new w4(e,u=>t+=v4(u));return function(r,i){let s=0,o=0;for(;(o=r.indexOf("&",o))>=0;){t+=r.slice(s,o),n.startEntity(i);const l=n.write(r,o+1);if(l<0){s=o+n.end();break}s=o+l,o=l===0?s+1:s}const a=t+r.slice(s);return t="",a}}function A4(e,t,n,u){const r=(t&$n.BRANCH_LENGTH)>>7,i=t&$n.JUMP_TABLE;if(r===0)return i!==0&&u===i?n:-1;if(i){const a=u-i;return a<0||a>=r?-1:e[n+a]-1}let s=n,o=s+r-1;for(;s<=o;){const a=s+o>>>1,l=e[a];if(l<u)s=a+1;else if(l>u)o=a-1;else return e[a+r]}return-1}const T4=md(g4);md(b4);function gd(e,t=Rn.Legacy){return T4(e,t)}function D4(e){return Object.prototype.toString.call(e)}function Uo(e){return D4(e)==="[object String]"}const S4=Object.prototype.hasOwnProperty;function I4(e,t){return S4.call(e,t)}function Zi(e){return Array.prototype.slice.call(arguments,1).forEach(function(n){if(n){if(typeof n!="object")throw new TypeError(n+"must be object");Object.keys(n).forEach(function(u){e[u]=n[u]})}}),e}function bd(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function Vo(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534||e>=0&&e<=8||e===11||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function wi(e){if(e>65535){e-=65536;const t=55296+(e>>10),n=56320+(e&1023);return String.fromCharCode(t,n)}return String.fromCharCode(e)}const _d=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,F4=/&([a-z#][a-z0-9]{1,31});/gi,L4=new RegExp(_d.source+"|"+F4.source,"gi"),O4=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function N4(e,t){if(t.charCodeAt(0)===35&&O4.test(t)){const u=t[1].toLowerCase()==="x"?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return Vo(u)?wi(u):e}const n=gd(e);return n!==e?n:e}function P4(e){return e.indexOf("\\")<0?e:e.replace(_d,"$1")}function Hu(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(L4,function(t,n,u){return n||N4(t,u)})}const M4=/[&<>"]/,R4=/[&<>"]/g,$4={"&":"&","<":"<",">":">",'"':"""};function B4(e){return $4[e]}function Wn(e){return M4.test(e)?e.replace(R4,B4):e}const j4=/[.?*+^$[\]\\(){}|-]/g;function U4(e){return e.replace(j4,"\\$&")}function je(e){switch(e){case 9:case 32:return!0}return!1}function Dr(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function Sr(e){return jo.test(e)||hd.test(e)}function Ir(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function Ji(e){return e=e.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}const V4={mdurl:h4,ucmicro:m4},H4=Object.freeze(Object.defineProperty({__proto__:null,arrayReplaceAt:bd,assign:Zi,escapeHtml:Wn,escapeRE:U4,fromCodePoint:wi,has:I4,isMdAsciiPunct:Ir,isPunctChar:Sr,isSpace:je,isString:Uo,isValidEntityCode:Vo,isWhiteSpace:Dr,lib:V4,normalizeReference:Ji,unescapeAll:Hu,unescapeMd:P4},Symbol.toStringTag,{value:"Module"}));function z4(e,t,n){let u,r,i,s;const o=e.posMax,a=e.pos;for(e.pos=t+1,u=1;e.pos<o;){if(i=e.src.charCodeAt(e.pos),i===93&&(u--,u===0)){r=!0;break}if(s=e.pos,e.md.inline.skipToken(e),i===91){if(s===e.pos-1)u++;else if(n)return e.pos=a,-1}}let l=-1;return r&&(l=e.pos),e.pos=a,l}function W4(e,t,n){let u,r=t;const i={ok:!1,pos:0,str:""};if(e.charCodeAt(r)===60){for(r++;r<n;){if(u=e.charCodeAt(r),u===10||u===60)return i;if(u===62)return i.pos=r+1,i.str=Hu(e.slice(t+1,r)),i.ok=!0,i;if(u===92&&r+1<n){r+=2;continue}r++}return i}let s=0;for(;r<n&&(u=e.charCodeAt(r),!(u===32||u<32||u===127));){if(u===92&&r+1<n){if(e.charCodeAt(r+1)===32)break;r+=2;continue}if(u===40&&(s++,s>32))return i;if(u===41){if(s===0)break;s--}r++}return t===r||s!==0||(i.str=Hu(e.slice(t,r)),i.pos=r,i.ok=!0),i}function q4(e,t,n,u){let r,i=t;const s={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(u)s.str=u.str,s.marker=u.marker;else{if(i>=n)return s;let o=e.charCodeAt(i);if(o!==34&&o!==39&&o!==40)return s;t++,i++,o===40&&(o=41),s.marker=o}for(;i<n;){if(r=e.charCodeAt(i),r===s.marker)return s.pos=i+1,s.str+=Hu(e.slice(t,i)),s.ok=!0,s;if(r===40&&s.marker===41)return s;r===92&&i+1<n&&i++,i++}return s.can_continue=!0,s.str+=Hu(e.slice(t,i)),s}const Y4=Object.freeze(Object.defineProperty({__proto__:null,parseLinkDestination:W4,parseLinkLabel:z4,parseLinkTitle:q4},Symbol.toStringTag,{value:"Module"})),cn={};cn.code_inline=function(e,t,n,u,r){const i=e[t];return"<code"+r.renderAttrs(i)+">"+Wn(i.content)+"</code>"};cn.code_block=function(e,t,n,u,r){const i=e[t];return"<pre"+r.renderAttrs(i)+"><code>"+Wn(e[t].content)+`</code></pre>
|
|
47
|
-
`};cn.fence=function(e,t,n,u,r){const i=e[t],s=i.info?Hu(i.info).trim():"";let o="",a="";if(s){const c=s.split(/(\s+)/g);o=c[0],a=c.slice(2).join("")}let l;if(n.highlight?l=n.highlight(i.content,o,a)||Wn(i.content):l=Wn(i.content),l.indexOf("<pre")===0)return l+`
|
|
48
|
-
`;if(s){const c=i.attrIndex("class"),f=i.attrs?i.attrs.slice():[];c<0?f.push(["class",n.langPrefix+o]):(f[c]=f[c].slice(),f[c][1]+=" "+n.langPrefix+o);const d={attrs:f};return`<pre><code${r.renderAttrs(d)}>${l}</code></pre>
|
|
49
|
-
`}return`<pre><code${r.renderAttrs(i)}>${l}</code></pre>
|
|
50
|
-
`};cn.image=function(e,t,n,u,r){const i=e[t];return i.attrs[i.attrIndex("alt")][1]=r.renderInlineAsText(i.children,n,u),r.renderToken(e,t,n)};cn.hardbreak=function(e,t,n){return n.xhtmlOut?`<br />
|
|
51
|
-
`:`<br>
|
|
52
|
-
`};cn.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?`<br />
|
|
53
|
-
`:`<br>
|
|
54
|
-
`:`
|
|
55
|
-
`};cn.text=function(e,t){return Wn(e[t].content)};cn.html_block=function(e,t){return e[t].content};cn.html_inline=function(e,t){return e[t].content};function Yu(){this.rules=Zi({},cn)}Yu.prototype.renderAttrs=function(t){let n,u,r;if(!t.attrs)return"";for(r="",n=0,u=t.attrs.length;n<u;n++)r+=" "+Wn(t.attrs[n][0])+'="'+Wn(t.attrs[n][1])+'"';return r};Yu.prototype.renderToken=function(t,n,u){const r=t[n];let i="";if(r.hidden)return"";r.block&&r.nesting!==-1&&n&&t[n-1].hidden&&(i+=`
|
|
56
|
-
`),i+=(r.nesting===-1?"</":"<")+r.tag,i+=this.renderAttrs(r),r.nesting===0&&u.xhtmlOut&&(i+=" /");let s=!1;if(r.block&&(s=!0,r.nesting===1&&n+1<t.length)){const o=t[n+1];(o.type==="inline"||o.hidden||o.nesting===-1&&o.tag===r.tag)&&(s=!1)}return i+=s?`>
|
|
57
|
-
`:">",i};Yu.prototype.renderInline=function(e,t,n){let u="";const r=this.rules;for(let i=0,s=e.length;i<s;i++){const o=e[i].type;typeof r[o]<"u"?u+=r[o](e,i,t,n,this):u+=this.renderToken(e,i,t)}return u};Yu.prototype.renderInlineAsText=function(e,t,n){let u="";for(let r=0,i=e.length;r<i;r++)switch(e[r].type){case"text":u+=e[r].content;break;case"image":u+=this.renderInlineAsText(e[r].children,t,n);break;case"html_inline":case"html_block":u+=e[r].content;break;case"softbreak":case"hardbreak":u+=`
|
|
58
|
-
`;break}return u};Yu.prototype.render=function(e,t,n){let u="";const r=this.rules;for(let i=0,s=e.length;i<s;i++){const o=e[i].type;o==="inline"?u+=this.renderInline(e[i].children,t,n):typeof r[o]<"u"?u+=r[o](e,i,t,n,this):u+=this.renderToken(e,i,t,n)}return u};function wt(){this.__rules__=[],this.__cache__=null}wt.prototype.__find__=function(e){for(let t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1};wt.prototype.__compile__=function(){const e=this,t=[""];e.__rules__.forEach(function(n){n.enabled&&n.alt.forEach(function(u){t.indexOf(u)<0&&t.push(u)})}),e.__cache__={},t.forEach(function(n){e.__cache__[n]=[],e.__rules__.forEach(function(u){u.enabled&&(n&&u.alt.indexOf(n)<0||e.__cache__[n].push(u.fn))})})};wt.prototype.at=function(e,t,n){const u=this.__find__(e),r=n||{};if(u===-1)throw new Error("Parser rule not found: "+e);this.__rules__[u].fn=t,this.__rules__[u].alt=r.alt||[],this.__cache__=null};wt.prototype.before=function(e,t,n,u){const r=this.__find__(e),i=u||{};if(r===-1)throw new Error("Parser rule not found: "+e);this.__rules__.splice(r,0,{name:t,enabled:!0,fn:n,alt:i.alt||[]}),this.__cache__=null};wt.prototype.after=function(e,t,n,u){const r=this.__find__(e),i=u||{};if(r===-1)throw new Error("Parser rule not found: "+e);this.__rules__.splice(r+1,0,{name:t,enabled:!0,fn:n,alt:i.alt||[]}),this.__cache__=null};wt.prototype.push=function(e,t,n){const u=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:u.alt||[]}),this.__cache__=null};wt.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);const n=[];return e.forEach(function(u){const r=this.__find__(u);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+u)}this.__rules__[r].enabled=!0,n.push(u)},this),this.__cache__=null,n};wt.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach(function(n){n.enabled=!1}),this.enable(e,t)};wt.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);const n=[];return e.forEach(function(u){const r=this.__find__(u);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+u)}this.__rules__[r].enabled=!1,n.push(u)},this),this.__cache__=null,n};wt.prototype.getRules=function(e){return this.__cache__===null&&this.__compile__(),this.__cache__[e]||[]};function Jt(e,t,n){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}Jt.prototype.attrIndex=function(t){if(!this.attrs)return-1;const n=this.attrs;for(let u=0,r=n.length;u<r;u++)if(n[u][0]===t)return u;return-1};Jt.prototype.attrPush=function(t){this.attrs?this.attrs.push(t):this.attrs=[t]};Jt.prototype.attrSet=function(t,n){const u=this.attrIndex(t),r=[t,n];u<0?this.attrPush(r):this.attrs[u]=r};Jt.prototype.attrGet=function(t){const n=this.attrIndex(t);let u=null;return n>=0&&(u=this.attrs[n][1]),u};Jt.prototype.attrJoin=function(t,n){const u=this.attrIndex(t);u<0?this.attrPush([t,n]):this.attrs[u][1]=this.attrs[u][1]+" "+n};function vd(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}vd.prototype.Token=Jt;const G4=/\r\n?|\n/g,K4=/\0/g;function X4(e){let t;t=e.src.replace(G4,`
|
|
59
|
-
`),t=t.replace(K4,"�"),e.src=t}function Z4(e){let t;e.inlineMode?(t=new e.Token("inline","",0),t.content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}function J4(e){const t=e.tokens;for(let n=0,u=t.length;n<u;n++){const r=t[n];r.type==="inline"&&e.md.inline.parse(r.content,e.md,e.env,r.children)}}function Q4(e){return/^<a[>\s]/i.test(e)}function ev(e){return/^<\/a\s*>/i.test(e)}function tv(e){const t=e.tokens;if(e.md.options.linkify)for(let n=0,u=t.length;n<u;n++){if(t[n].type!=="inline"||!e.md.linkify.pretest(t[n].content))continue;let r=t[n].children,i=0;for(let s=r.length-1;s>=0;s--){const o=r[s];if(o.type==="link_close"){for(s--;r[s].level!==o.level&&r[s].type!=="link_open";)s--;continue}if(o.type==="html_inline"&&(Q4(o.content)&&i>0&&i--,ev(o.content)&&i++),!(i>0)&&o.type==="text"&&e.md.linkify.test(o.content)){const a=o.content;let l=e.md.linkify.match(a);const c=[];let f=o.level,d=0;l.length>0&&l[0].index===0&&s>0&&r[s-1].type==="text_special"&&(l=l.slice(1));for(let h=0;h<l.length;h++){const p=l[h].url,x=e.md.normalizeLink(p);if(!e.md.validateLink(x))continue;let w=l[h].text;l[h].schema?l[h].schema==="mailto:"&&!/^mailto:/i.test(w)?w=e.md.normalizeLinkText("mailto:"+w).replace(/^mailto:/,""):w=e.md.normalizeLinkText(w):w=e.md.normalizeLinkText("http://"+w).replace(/^http:\/\//,"");const A=l[h].index;if(A>d){const E=new e.Token("text","",0);E.content=a.slice(d,A),E.level=f,c.push(E)}const T=new e.Token("link_open","a",1);T.attrs=[["href",x]],T.level=f++,T.markup="linkify",T.info="auto",c.push(T);const g=new e.Token("text","",0);g.content=w,g.level=f,c.push(g);const _=new e.Token("link_close","a",-1);_.level=--f,_.markup="linkify",_.info="auto",c.push(_),d=l[h].lastIndex}if(d<a.length){const h=new e.Token("text","",0);h.content=a.slice(d),h.level=f,c.push(h)}t[n].children=r=bd(r,s,c)}}}}const yd=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,nv=/\((c|tm|r)\)/i,uv=/\((c|tm|r)\)/ig,rv={c:"©",r:"®",tm:"™"};function iv(e,t){return rv[t.toLowerCase()]}function sv(e){let t=0;for(let n=e.length-1;n>=0;n--){const u=e[n];u.type==="text"&&!t&&(u.content=u.content.replace(uv,iv)),u.type==="link_open"&&u.info==="auto"&&t--,u.type==="link_close"&&u.info==="auto"&&t++}}function ov(e){let t=0;for(let n=e.length-1;n>=0;n--){const u=e[n];u.type==="text"&&!t&&yd.test(u.content)&&(u.content=u.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),u.type==="link_open"&&u.info==="auto"&&t--,u.type==="link_close"&&u.info==="auto"&&t++}}function av(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)e.tokens[t].type==="inline"&&(nv.test(e.tokens[t].content)&&sv(e.tokens[t].children),yd.test(e.tokens[t].content)&&ov(e.tokens[t].children))}const lv=/['"]/,fc=/['"]/g,dc="’";function Jr(e,t,n){return e.slice(0,t)+n+e.slice(t+1)}function cv(e,t){let n;const u=[];for(let r=0;r<e.length;r++){const i=e[r],s=e[r].level;for(n=u.length-1;n>=0&&!(u[n].level<=s);n--);if(u.length=n+1,i.type!=="text")continue;let o=i.content,a=0,l=o.length;e:for(;a<l;){fc.lastIndex=a;const c=fc.exec(o);if(!c)break;let f=!0,d=!0;a=c.index+1;const h=c[0]==="'";let p=32;if(c.index-1>=0)p=o.charCodeAt(c.index-1);else for(n=r-1;n>=0&&!(e[n].type==="softbreak"||e[n].type==="hardbreak");n--)if(e[n].content){p=e[n].content.charCodeAt(e[n].content.length-1);break}let x=32;if(a<l)x=o.charCodeAt(a);else for(n=r+1;n<e.length&&!(e[n].type==="softbreak"||e[n].type==="hardbreak");n++)if(e[n].content){x=e[n].content.charCodeAt(0);break}const w=Ir(p)||Sr(String.fromCharCode(p)),A=Ir(x)||Sr(String.fromCharCode(x)),T=Dr(p),g=Dr(x);if(g?f=!1:A&&(T||w||(f=!1)),T?d=!1:w&&(g||A||(d=!1)),x===34&&c[0]==='"'&&p>=48&&p<=57&&(d=f=!1),f&&d&&(f=w,d=A),!f&&!d){h&&(i.content=Jr(i.content,c.index,dc));continue}if(d)for(n=u.length-1;n>=0;n--){let _=u[n];if(u[n].level<s)break;if(_.single===h&&u[n].level===s){_=u[n];let E,v;h?(E=t.md.options.quotes[2],v=t.md.options.quotes[3]):(E=t.md.options.quotes[0],v=t.md.options.quotes[1]),i.content=Jr(i.content,c.index,v),e[_.token].content=Jr(e[_.token].content,_.pos,E),a+=v.length-1,_.token===r&&(a+=E.length-1),o=i.content,l=o.length,u.length=n;continue e}}f?u.push({token:r,pos:c.index,single:h,level:s}):d&&h&&(i.content=Jr(i.content,c.index,dc))}}}function fv(e){if(e.md.options.typographer)for(let t=e.tokens.length-1;t>=0;t--)e.tokens[t].type!=="inline"||!lv.test(e.tokens[t].content)||cv(e.tokens[t].children,e)}function dv(e){let t,n;const u=e.tokens,r=u.length;for(let i=0;i<r;i++){if(u[i].type!=="inline")continue;const s=u[i].children,o=s.length;for(t=0;t<o;t++)s[t].type==="text_special"&&(s[t].type="text");for(t=n=0;t<o;t++)s[t].type==="text"&&t+1<o&&s[t+1].type==="text"?s[t+1].content=s[t].content+s[t+1].content:(t!==n&&(s[n]=s[t]),n++);t!==n&&(s.length=n)}}const Es=[["normalize",X4],["block",Z4],["inline",J4],["linkify",tv],["replacements",av],["smartquotes",fv],["text_join",dv]];function Ho(){this.ruler=new wt;for(let e=0;e<Es.length;e++)this.ruler.push(Es[e][0],Es[e][1])}Ho.prototype.process=function(e){const t=this.ruler.getRules("");for(let n=0,u=t.length;n<u;n++)t[n](e)};Ho.prototype.State=vd;function fn(e,t,n,u){this.src=e,this.md=t,this.env=n,this.tokens=u,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0;const r=this.src;for(let i=0,s=0,o=0,a=0,l=r.length,c=!1;s<l;s++){const f=r.charCodeAt(s);if(!c)if(je(f)){o++,f===9?a+=4-a%4:a++;continue}else c=!0;(f===10||s===l-1)&&(f!==10&&s++,this.bMarks.push(i),this.eMarks.push(s),this.tShift.push(o),this.sCount.push(a),this.bsCount.push(0),c=!1,o=0,a=0,i=s+1)}this.bMarks.push(r.length),this.eMarks.push(r.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}fn.prototype.push=function(e,t,n){const u=new Jt(e,t,n);return u.block=!0,n<0&&this.level--,u.level=this.level,n>0&&this.level++,this.tokens.push(u),u};fn.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]};fn.prototype.skipEmptyLines=function(t){for(let n=this.lineMax;t<n&&!(this.bMarks[t]+this.tShift[t]<this.eMarks[t]);t++);return t};fn.prototype.skipSpaces=function(t){for(let n=this.src.length;t<n;t++){const u=this.src.charCodeAt(t);if(!je(u))break}return t};fn.prototype.skipSpacesBack=function(t,n){if(t<=n)return t;for(;t>n;)if(!je(this.src.charCodeAt(--t)))return t+1;return t};fn.prototype.skipChars=function(t,n){for(let u=this.src.length;t<u&&this.src.charCodeAt(t)===n;t++);return t};fn.prototype.skipCharsBack=function(t,n,u){if(t<=u)return t;for(;t>u;)if(n!==this.src.charCodeAt(--t))return t+1;return t};fn.prototype.getLines=function(t,n,u,r){if(t>=n)return"";const i=new Array(n-t);for(let s=0,o=t;o<n;o++,s++){let a=0;const l=this.bMarks[o];let c=l,f;for(o+1<n||r?f=this.eMarks[o]+1:f=this.eMarks[o];c<f&&a<u;){const d=this.src.charCodeAt(c);if(je(d))d===9?a+=4-(a+this.bsCount[o])%4:a++;else if(c-l<this.tShift[o])a++;else break;c++}a>u?i[s]=new Array(a-u+1).join(" ")+this.src.slice(c,f):i[s]=this.src.slice(c,f)}return i.join("")};fn.prototype.Token=Jt;const hv=65536;function Cs(e,t){const n=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];return e.src.slice(n,u)}function hc(e){const t=[],n=e.length;let u=0,r=e.charCodeAt(u),i=!1,s=0,o="";for(;u<n;)r===124&&(i?(o+=e.substring(s,u-1),s=u):(t.push(o+e.substring(s,u)),o="",s=u+1)),i=r===92,u++,r=e.charCodeAt(u);return t.push(o+e.substring(s)),t}function pv(e,t,n,u){if(t+2>n)return!1;let r=t+1;if(e.sCount[r]<e.blkIndent||e.sCount[r]-e.blkIndent>=4)return!1;let i=e.bMarks[r]+e.tShift[r];if(i>=e.eMarks[r])return!1;const s=e.src.charCodeAt(i++);if(s!==124&&s!==45&&s!==58||i>=e.eMarks[r])return!1;const o=e.src.charCodeAt(i++);if(o!==124&&o!==45&&o!==58&&!je(o)||s===45&&je(o))return!1;for(;i<e.eMarks[r];){const _=e.src.charCodeAt(i);if(_!==124&&_!==45&&_!==58&&!je(_))return!1;i++}let a=Cs(e,t+1),l=a.split("|");const c=[];for(let _=0;_<l.length;_++){const E=l[_].trim();if(!E){if(_===0||_===l.length-1)continue;return!1}if(!/^:?-+:?$/.test(E))return!1;E.charCodeAt(E.length-1)===58?c.push(E.charCodeAt(0)===58?"center":"right"):E.charCodeAt(0)===58?c.push("left"):c.push("")}if(a=Cs(e,t).trim(),a.indexOf("|")===-1||e.sCount[t]-e.blkIndent>=4)return!1;l=hc(a),l.length&&l[0]===""&&l.shift(),l.length&&l[l.length-1]===""&&l.pop();const f=l.length;if(f===0||f!==c.length)return!1;if(u)return!0;const d=e.parentType;e.parentType="table";const h=e.md.block.ruler.getRules("blockquote"),p=e.push("table_open","table",1),x=[t,0];p.map=x;const w=e.push("thead_open","thead",1);w.map=[t,t+1];const A=e.push("tr_open","tr",1);A.map=[t,t+1];for(let _=0;_<l.length;_++){const E=e.push("th_open","th",1);c[_]&&(E.attrs=[["style","text-align:"+c[_]]]);const v=e.push("inline","",0);v.content=l[_].trim(),v.children=[],e.push("th_close","th",-1)}e.push("tr_close","tr",-1),e.push("thead_close","thead",-1);let T,g=0;for(r=t+2;r<n&&!(e.sCount[r]<e.blkIndent);r++){let _=!1;for(let v=0,S=h.length;v<S;v++)if(h[v](e,r,n,!0)){_=!0;break}if(_||(a=Cs(e,r).trim(),!a)||e.sCount[r]-e.blkIndent>=4||(l=hc(a),l.length&&l[0]===""&&l.shift(),l.length&&l[l.length-1]===""&&l.pop(),g+=f-l.length,g>hv))break;if(r===t+2){const v=e.push("tbody_open","tbody",1);v.map=T=[t+2,0]}const E=e.push("tr_open","tr",1);E.map=[r,r+1];for(let v=0;v<f;v++){const S=e.push("td_open","td",1);c[v]&&(S.attrs=[["style","text-align:"+c[v]]]);const N=e.push("inline","",0);N.content=l[v]?l[v].trim():"",N.children=[],e.push("td_close","td",-1)}e.push("tr_close","tr",-1)}return T&&(e.push("tbody_close","tbody",-1),T[1]=r),e.push("table_close","table",-1),x[1]=r,e.parentType=d,e.line=r,!0}function mv(e,t,n){if(e.sCount[t]-e.blkIndent<4)return!1;let u=t+1,r=u;for(;u<n;){if(e.isEmpty(u)){u++;continue}if(e.sCount[u]-e.blkIndent>=4){u++,r=u;continue}break}e.line=r;const i=e.push("code_block","code",0);return i.content=e.getLines(t,r,4+e.blkIndent,!1)+`
|
|
60
|
-
`,i.map=[t,e.line],!0}function gv(e,t,n,u){let r=e.bMarks[t]+e.tShift[t],i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||r+3>i)return!1;const s=e.src.charCodeAt(r);if(s!==126&&s!==96)return!1;let o=r;r=e.skipChars(r,s);let a=r-o;if(a<3)return!1;const l=e.src.slice(o,r),c=e.src.slice(r,i);if(s===96&&c.indexOf(String.fromCharCode(s))>=0)return!1;if(u)return!0;let f=t,d=!1;for(;f++,!(f>=n||(r=o=e.bMarks[f]+e.tShift[f],i=e.eMarks[f],r<i&&e.sCount[f]<e.blkIndent));)if(e.src.charCodeAt(r)===s&&!(e.sCount[f]-e.blkIndent>=4)&&(r=e.skipChars(r,s),!(r-o<a)&&(r=e.skipSpaces(r),!(r<i)))){d=!0;break}a=e.sCount[t],e.line=f+(d?1:0);const h=e.push("fence","code",0);return h.info=c,h.content=e.getLines(t+1,f,a,!0),h.markup=l,h.map=[t,e.line],!0}function bv(e,t,n,u){let r=e.bMarks[t]+e.tShift[t],i=e.eMarks[t];const s=e.lineMax;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(r)!==62)return!1;if(u)return!0;const o=[],a=[],l=[],c=[],f=e.md.block.ruler.getRules("blockquote"),d=e.parentType;e.parentType="blockquote";let h=!1,p;for(p=t;p<n;p++){const g=e.sCount[p]<e.blkIndent;if(r=e.bMarks[p]+e.tShift[p],i=e.eMarks[p],r>=i)break;if(e.src.charCodeAt(r++)===62&&!g){let E=e.sCount[p]+1,v,S;e.src.charCodeAt(r)===32?(r++,E++,S=!1,v=!0):e.src.charCodeAt(r)===9?(v=!0,(e.bsCount[p]+E)%4===3?(r++,E++,S=!1):S=!0):v=!1;let N=E;for(o.push(e.bMarks[p]),e.bMarks[p]=r;r<i;){const I=e.src.charCodeAt(r);if(je(I))I===9?N+=4-(N+e.bsCount[p]+(S?1:0))%4:N++;else break;r++}h=r>=i,a.push(e.bsCount[p]),e.bsCount[p]=e.sCount[p]+1+(v?1:0),l.push(e.sCount[p]),e.sCount[p]=N-E,c.push(e.tShift[p]),e.tShift[p]=r-e.bMarks[p];continue}if(h)break;let _=!1;for(let E=0,v=f.length;E<v;E++)if(f[E](e,p,n,!0)){_=!0;break}if(_){e.lineMax=p,e.blkIndent!==0&&(o.push(e.bMarks[p]),a.push(e.bsCount[p]),c.push(e.tShift[p]),l.push(e.sCount[p]),e.sCount[p]-=e.blkIndent);break}o.push(e.bMarks[p]),a.push(e.bsCount[p]),c.push(e.tShift[p]),l.push(e.sCount[p]),e.sCount[p]=-1}const x=e.blkIndent;e.blkIndent=0;const w=e.push("blockquote_open","blockquote",1);w.markup=">";const A=[t,0];w.map=A,e.md.block.tokenize(e,t,p);const T=e.push("blockquote_close","blockquote",-1);T.markup=">",e.lineMax=s,e.parentType=d,A[1]=e.line;for(let g=0;g<c.length;g++)e.bMarks[g+t]=o[g],e.tShift[g+t]=c[g],e.sCount[g+t]=l[g],e.bsCount[g+t]=a[g];return e.blkIndent=x,!0}function _v(e,t,n,u){const r=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let i=e.bMarks[t]+e.tShift[t];const s=e.src.charCodeAt(i++);if(s!==42&&s!==45&&s!==95)return!1;let o=1;for(;i<r;){const l=e.src.charCodeAt(i++);if(l!==s&&!je(l))return!1;l===s&&o++}if(o<3)return!1;if(u)return!0;e.line=t+1;const a=e.push("hr","hr",0);return a.map=[t,e.line],a.markup=Array(o+1).join(String.fromCharCode(s)),!0}function pc(e,t){const n=e.eMarks[t];let u=e.bMarks[t]+e.tShift[t];const r=e.src.charCodeAt(u++);if(r!==42&&r!==45&&r!==43)return-1;if(u<n){const i=e.src.charCodeAt(u);if(!je(i))return-1}return u}function mc(e,t){const n=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];let r=n;if(r+1>=u)return-1;let i=e.src.charCodeAt(r++);if(i<48||i>57)return-1;for(;;){if(r>=u)return-1;if(i=e.src.charCodeAt(r++),i>=48&&i<=57){if(r-n>=10)return-1;continue}if(i===41||i===46)break;return-1}return r<u&&(i=e.src.charCodeAt(r),!je(i))?-1:r}function vv(e,t){const n=e.level+2;for(let u=t+2,r=e.tokens.length-2;u<r;u++)e.tokens[u].level===n&&e.tokens[u].type==="paragraph_open"&&(e.tokens[u+2].hidden=!0,e.tokens[u].hidden=!0,u+=2)}function yv(e,t,n,u){let r,i,s,o,a=t,l=!0;if(e.sCount[a]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[a]-e.listIndent>=4&&e.sCount[a]<e.blkIndent)return!1;let c=!1;u&&e.parentType==="paragraph"&&e.sCount[a]>=e.blkIndent&&(c=!0);let f,d,h;if((h=mc(e,a))>=0){if(f=!0,s=e.bMarks[a]+e.tShift[a],d=Number(e.src.slice(s,h-1)),c&&d!==1)return!1}else if((h=pc(e,a))>=0)f=!1;else return!1;if(c&&e.skipSpaces(h)>=e.eMarks[a])return!1;if(u)return!0;const p=e.src.charCodeAt(h-1),x=e.tokens.length;f?(o=e.push("ordered_list_open","ol",1),d!==1&&(o.attrs=[["start",d]])):o=e.push("bullet_list_open","ul",1);const w=[a,0];o.map=w,o.markup=String.fromCharCode(p);let A=!1;const T=e.md.block.ruler.getRules("list"),g=e.parentType;for(e.parentType="list";a<n;){i=h,r=e.eMarks[a];const _=e.sCount[a]+h-(e.bMarks[a]+e.tShift[a]);let E=_;for(;i<r;){const ee=e.src.charCodeAt(i);if(ee===9)E+=4-(E+e.bsCount[a])%4;else if(ee===32)E++;else break;i++}const v=i;let S;v>=r?S=1:S=E-_,S>4&&(S=1);const N=_+S;o=e.push("list_item_open","li",1),o.markup=String.fromCharCode(p);const I=[a,0];o.map=I,f&&(o.info=e.src.slice(s,h-1));const G=e.tight,te=e.tShift[a],U=e.sCount[a],K=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=N,e.tight=!0,e.tShift[a]=v-e.bMarks[a],e.sCount[a]=E,v>=r&&e.isEmpty(a+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,a,n,!0),(!e.tight||A)&&(l=!1),A=e.line-a>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=K,e.tShift[a]=te,e.sCount[a]=U,e.tight=G,o=e.push("list_item_close","li",-1),o.markup=String.fromCharCode(p),a=e.line,I[1]=a,a>=n||e.sCount[a]<e.blkIndent||e.sCount[a]-e.blkIndent>=4)break;let ue=!1;for(let ee=0,se=T.length;ee<se;ee++)if(T[ee](e,a,n,!0)){ue=!0;break}if(ue)break;if(f){if(h=mc(e,a),h<0)break;s=e.bMarks[a]+e.tShift[a]}else if(h=pc(e,a),h<0)break;if(p!==e.src.charCodeAt(h-1))break}return f?o=e.push("ordered_list_close","ol",-1):o=e.push("bullet_list_close","ul",-1),o.markup=String.fromCharCode(p),w[1]=a,e.line=a,e.parentType=g,l&&vv(e,x),!0}function xv(e,t,n,u){let r=e.bMarks[t]+e.tShift[t],i=e.eMarks[t],s=t+1;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(r)!==91)return!1;function o(T){const g=e.lineMax;if(T>=g||e.isEmpty(T))return null;let _=!1;if(e.sCount[T]-e.blkIndent>3&&(_=!0),e.sCount[T]<0&&(_=!0),!_){const S=e.md.block.ruler.getRules("reference"),N=e.parentType;e.parentType="reference";let I=!1;for(let G=0,te=S.length;G<te;G++)if(S[G](e,T,g,!0)){I=!0;break}if(e.parentType=N,I)return null}const E=e.bMarks[T]+e.tShift[T],v=e.eMarks[T];return e.src.slice(E,v+1)}let a=e.src.slice(r,i+1);i=a.length;let l=-1;for(r=1;r<i;r++){const T=a.charCodeAt(r);if(T===91)return!1;if(T===93){l=r;break}else if(T===10){const g=o(s);g!==null&&(a+=g,i=a.length,s++)}else if(T===92&&(r++,r<i&&a.charCodeAt(r)===10)){const g=o(s);g!==null&&(a+=g,i=a.length,s++)}}if(l<0||a.charCodeAt(l+1)!==58)return!1;for(r=l+2;r<i;r++){const T=a.charCodeAt(r);if(T===10){const g=o(s);g!==null&&(a+=g,i=a.length,s++)}else if(!je(T))break}const c=e.md.helpers.parseLinkDestination(a,r,i);if(!c.ok)return!1;const f=e.md.normalizeLink(c.str);if(!e.md.validateLink(f))return!1;r=c.pos;const d=r,h=s,p=r;for(;r<i;r++){const T=a.charCodeAt(r);if(T===10){const g=o(s);g!==null&&(a+=g,i=a.length,s++)}else if(!je(T))break}let x=e.md.helpers.parseLinkTitle(a,r,i);for(;x.can_continue;){const T=o(s);if(T===null)break;a+=T,r=i,i=a.length,s++,x=e.md.helpers.parseLinkTitle(a,r,i,x)}let w;for(r<i&&p!==r&&x.ok?(w=x.str,r=x.pos):(w="",r=d,s=h);r<i;){const T=a.charCodeAt(r);if(!je(T))break;r++}if(r<i&&a.charCodeAt(r)!==10&&w)for(w="",r=d,s=h;r<i;){const T=a.charCodeAt(r);if(!je(T))break;r++}if(r<i&&a.charCodeAt(r)!==10)return!1;const A=Ji(a.slice(1,l));return A?(u||(typeof e.env.references>"u"&&(e.env.references={}),typeof e.env.references[A]>"u"&&(e.env.references[A]={title:w,href:f}),e.line=s),!0):!1}const Ev=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Cv="[a-zA-Z_:][a-zA-Z0-9:._-]*",kv="[^\"'=<>`\\x00-\\x20]+",wv="'[^']*'",Av='"[^"]*"',Tv="(?:"+kv+"|"+wv+"|"+Av+")",Dv="(?:\\s+"+Cv+"(?:\\s*=\\s*"+Tv+")?)",xd="<[A-Za-z][A-Za-z0-9\\-]*"+Dv+"*\\s*\\/?>",Ed="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",Sv="<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->",Iv="<[?][\\s\\S]*?[?]>",Fv="<![A-Za-z][^>]*>",Lv="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",Ov=new RegExp("^(?:"+xd+"|"+Ed+"|"+Sv+"|"+Iv+"|"+Fv+"|"+Lv+")"),Nv=new RegExp("^(?:"+xd+"|"+Ed+")"),bu=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+Ev.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(Nv.source+"\\s*$"),/^$/,!1]];function Pv(e,t,n,u){let r=e.bMarks[t]+e.tShift[t],i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(r)!==60)return!1;let s=e.src.slice(r,i),o=0;for(;o<bu.length&&!bu[o][0].test(s);o++);if(o===bu.length)return!1;if(u)return bu[o][2];let a=t+1;if(!bu[o][1].test(s)){for(;a<n&&!(e.sCount[a]<e.blkIndent);a++)if(r=e.bMarks[a]+e.tShift[a],i=e.eMarks[a],s=e.src.slice(r,i),bu[o][1].test(s)){s.length!==0&&a++;break}}e.line=a;const l=e.push("html_block","",0);return l.map=[t,a],l.content=e.getLines(t,a,e.blkIndent,!0),!0}function Mv(e,t,n,u){let r=e.bMarks[t]+e.tShift[t],i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let s=e.src.charCodeAt(r);if(s!==35||r>=i)return!1;let o=1;for(s=e.src.charCodeAt(++r);s===35&&r<i&&o<=6;)o++,s=e.src.charCodeAt(++r);if(o>6||r<i&&!je(s))return!1;if(u)return!0;i=e.skipSpacesBack(i,r);const a=e.skipCharsBack(i,35,r);a>r&&je(e.src.charCodeAt(a-1))&&(i=a),e.line=t+1;const l=e.push("heading_open","h"+String(o),1);l.markup="########".slice(0,o),l.map=[t,e.line];const c=e.push("inline","",0);c.content=e.src.slice(r,i).trim(),c.map=[t,e.line],c.children=[];const f=e.push("heading_close","h"+String(o),-1);return f.markup="########".slice(0,o),!0}function Rv(e,t,n){const u=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;const r=e.parentType;e.parentType="paragraph";let i=0,s,o=t+1;for(;o<n&&!e.isEmpty(o);o++){if(e.sCount[o]-e.blkIndent>3)continue;if(e.sCount[o]>=e.blkIndent){let h=e.bMarks[o]+e.tShift[o];const p=e.eMarks[o];if(h<p&&(s=e.src.charCodeAt(h),(s===45||s===61)&&(h=e.skipChars(h,s),h=e.skipSpaces(h),h>=p))){i=s===61?1:2;break}}if(e.sCount[o]<0)continue;let d=!1;for(let h=0,p=u.length;h<p;h++)if(u[h](e,o,n,!0)){d=!0;break}if(d)break}if(!i)return!1;const a=e.getLines(t,o,e.blkIndent,!1).trim();e.line=o+1;const l=e.push("heading_open","h"+String(i),1);l.markup=String.fromCharCode(s),l.map=[t,e.line];const c=e.push("inline","",0);c.content=a,c.map=[t,e.line-1],c.children=[];const f=e.push("heading_close","h"+String(i),-1);return f.markup=String.fromCharCode(s),e.parentType=r,!0}function $v(e,t,n){const u=e.md.block.ruler.getRules("paragraph"),r=e.parentType;let i=t+1;for(e.parentType="paragraph";i<n&&!e.isEmpty(i);i++){if(e.sCount[i]-e.blkIndent>3||e.sCount[i]<0)continue;let l=!1;for(let c=0,f=u.length;c<f;c++)if(u[c](e,i,n,!0)){l=!0;break}if(l)break}const s=e.getLines(t,i,e.blkIndent,!1).trim();e.line=i;const o=e.push("paragraph_open","p",1);o.map=[t,e.line];const a=e.push("inline","",0);return a.content=s,a.map=[t,e.line],a.children=[],e.push("paragraph_close","p",-1),e.parentType=r,!0}const Qr=[["table",pv,["paragraph","reference"]],["code",mv],["fence",gv,["paragraph","reference","blockquote","list"]],["blockquote",bv,["paragraph","reference","blockquote","list"]],["hr",_v,["paragraph","reference","blockquote","list"]],["list",yv,["paragraph","reference","blockquote"]],["reference",xv],["html_block",Pv,["paragraph","reference","blockquote"]],["heading",Mv,["paragraph","reference","blockquote"]],["lheading",Rv],["paragraph",$v]];function Qi(){this.ruler=new wt;for(let e=0;e<Qr.length;e++)this.ruler.push(Qr[e][0],Qr[e][1],{alt:(Qr[e][2]||[]).slice()})}Qi.prototype.tokenize=function(e,t,n){const u=this.ruler.getRules(""),r=u.length,i=e.md.options.maxNesting;let s=t,o=!1;for(;s<n&&(e.line=s=e.skipEmptyLines(s),!(s>=n||e.sCount[s]<e.blkIndent));){if(e.level>=i){e.line=n;break}const a=e.line;let l=!1;for(let c=0;c<r;c++)if(l=u[c](e,s,n,!1),l){if(a>=e.line)throw new Error("block rule didn't increment state.line");break}if(!l)throw new Error("none of the block rules matched");e.tight=!o,e.isEmpty(e.line-1)&&(o=!0),s=e.line,s<n&&e.isEmpty(s)&&(o=!0,s++,e.line=s)}};Qi.prototype.parse=function(e,t,n,u){if(!e)return;const r=new this.State(e,t,n,u);this.tokenize(r,r.line,r.lineMax)};Qi.prototype.State=fn;function $r(e,t,n,u){this.src=e,this.env=n,this.md=t,this.tokens=u,this.tokens_meta=Array(u.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}$r.prototype.pushPending=function(){const e=new Jt("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e};$r.prototype.push=function(e,t,n){this.pending&&this.pushPending();const u=new Jt(e,t,n);let r=null;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),u.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],r={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(u),this.tokens_meta.push(r),u};$r.prototype.scanDelims=function(e,t){const n=this.posMax,u=this.src.charCodeAt(e),r=e>0?this.src.charCodeAt(e-1):32;let i=e;for(;i<n&&this.src.charCodeAt(i)===u;)i++;const s=i-e,o=i<n?this.src.charCodeAt(i):32,a=Ir(r)||Sr(String.fromCharCode(r)),l=Ir(o)||Sr(String.fromCharCode(o)),c=Dr(r),f=Dr(o),d=!f&&(!l||c||a),h=!c&&(!a||f||l);return{can_open:d&&(t||!h||a),can_close:h&&(t||!d||l),length:s}};$r.prototype.Token=Jt;function Bv(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}function jv(e,t){let n=e.pos;for(;n<e.posMax&&!Bv(e.src.charCodeAt(n));)n++;return n===e.pos?!1:(t||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)}const Uv=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;function Vv(e,t){if(!e.md.options.linkify||e.linkLevel>0)return!1;const n=e.pos,u=e.posMax;if(n+3>u||e.src.charCodeAt(n)!==58||e.src.charCodeAt(n+1)!==47||e.src.charCodeAt(n+2)!==47)return!1;const r=e.pending.match(Uv);if(!r)return!1;const i=r[1],s=e.md.linkify.matchAtStart(e.src.slice(n-i.length));if(!s)return!1;let o=s.url;if(o.length<=i.length)return!1;o=o.replace(/\*+$/,"");const a=e.md.normalizeLink(o);if(!e.md.validateLink(a))return!1;if(!t){e.pending=e.pending.slice(0,-i.length);const l=e.push("link_open","a",1);l.attrs=[["href",a]],l.markup="linkify",l.info="auto";const c=e.push("text","",0);c.content=e.md.normalizeLinkText(o);const f=e.push("link_close","a",-1);f.markup="linkify",f.info="auto"}return e.pos+=o.length-i.length,!0}function Hv(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==10)return!1;const u=e.pending.length-1,r=e.posMax;if(!t)if(u>=0&&e.pending.charCodeAt(u)===32)if(u>=1&&e.pending.charCodeAt(u-1)===32){let i=u-1;for(;i>=1&&e.pending.charCodeAt(i-1)===32;)i--;e.pending=e.pending.slice(0,i),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(n++;n<r&&je(e.src.charCodeAt(n));)n++;return e.pos=n,!0}const zo=[];for(let e=0;e<256;e++)zo.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){zo[e.charCodeAt(0)]=1});function zv(e,t){let n=e.pos;const u=e.posMax;if(e.src.charCodeAt(n)!==92||(n++,n>=u))return!1;let r=e.src.charCodeAt(n);if(r===10){for(t||e.push("hardbreak","br",0),n++;n<u&&(r=e.src.charCodeAt(n),!!je(r));)n++;return e.pos=n,!0}let i=e.src[n];if(r>=55296&&r<=56319&&n+1<u){const o=e.src.charCodeAt(n+1);o>=56320&&o<=57343&&(i+=e.src[n+1],n++)}const s="\\"+i;if(!t){const o=e.push("text_special","",0);r<256&&zo[r]!==0?o.content=i:o.content=s,o.markup=s,o.info="escape"}return e.pos=n+1,!0}function Wv(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==96)return!1;const r=n;n++;const i=e.posMax;for(;n<i&&e.src.charCodeAt(n)===96;)n++;const s=e.src.slice(r,n),o=s.length;if(e.backticksScanned&&(e.backticks[o]||0)<=r)return t||(e.pending+=s),e.pos+=o,!0;let a=n,l;for(;(l=e.src.indexOf("`",a))!==-1;){for(a=l+1;a<i&&e.src.charCodeAt(a)===96;)a++;const c=a-l;if(c===o){if(!t){const f=e.push("code_inline","code",0);f.markup=s,f.content=e.src.slice(n,l).replace(/\n/g," ").replace(/^ (.+) $/,"$1")}return e.pos=a,!0}e.backticks[c]=l}return e.backticksScanned=!0,t||(e.pending+=s),e.pos+=o,!0}function qv(e,t){const n=e.pos,u=e.src.charCodeAt(n);if(t||u!==126)return!1;const r=e.scanDelims(e.pos,!0);let i=r.length;const s=String.fromCharCode(u);if(i<2)return!1;let o;i%2&&(o=e.push("text","",0),o.content=s,i--);for(let a=0;a<i;a+=2)o=e.push("text","",0),o.content=s+s,e.delimiters.push({marker:u,length:0,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0}function gc(e,t){let n;const u=[],r=t.length;for(let i=0;i<r;i++){const s=t[i];if(s.marker!==126||s.end===-1)continue;const o=t[s.end];n=e.tokens[s.token],n.type="s_open",n.tag="s",n.nesting=1,n.markup="~~",n.content="",n=e.tokens[o.token],n.type="s_close",n.tag="s",n.nesting=-1,n.markup="~~",n.content="",e.tokens[o.token-1].type==="text"&&e.tokens[o.token-1].content==="~"&&u.push(o.token-1)}for(;u.length;){const i=u.pop();let s=i+1;for(;s<e.tokens.length&&e.tokens[s].type==="s_close";)s++;s--,i!==s&&(n=e.tokens[s],e.tokens[s]=e.tokens[i],e.tokens[i]=n)}}function Yv(e){const t=e.tokens_meta,n=e.tokens_meta.length;gc(e,e.delimiters);for(let u=0;u<n;u++)t[u]&&t[u].delimiters&&gc(e,t[u].delimiters)}const Cd={tokenize:qv,postProcess:Yv};function Gv(e,t){const n=e.pos,u=e.src.charCodeAt(n);if(t||u!==95&&u!==42)return!1;const r=e.scanDelims(e.pos,u===42);for(let i=0;i<r.length;i++){const s=e.push("text","",0);s.content=String.fromCharCode(u),e.delimiters.push({marker:u,length:r.length,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close})}return e.pos+=r.length,!0}function bc(e,t){const n=t.length;for(let u=n-1;u>=0;u--){const r=t[u];if(r.marker!==95&&r.marker!==42||r.end===-1)continue;const i=t[r.end],s=u>0&&t[u-1].end===r.end+1&&t[u-1].marker===r.marker&&t[u-1].token===r.token-1&&t[r.end+1].token===i.token+1,o=String.fromCharCode(r.marker),a=e.tokens[r.token];a.type=s?"strong_open":"em_open",a.tag=s?"strong":"em",a.nesting=1,a.markup=s?o+o:o,a.content="";const l=e.tokens[i.token];l.type=s?"strong_close":"em_close",l.tag=s?"strong":"em",l.nesting=-1,l.markup=s?o+o:o,l.content="",s&&(e.tokens[t[u-1].token].content="",e.tokens[t[r.end+1].token].content="",u--)}}function Kv(e){const t=e.tokens_meta,n=e.tokens_meta.length;bc(e,e.delimiters);for(let u=0;u<n;u++)t[u]&&t[u].delimiters&&bc(e,t[u].delimiters)}const kd={tokenize:Gv,postProcess:Kv};function Xv(e,t){let n,u,r,i,s="",o="",a=e.pos,l=!0;if(e.src.charCodeAt(e.pos)!==91)return!1;const c=e.pos,f=e.posMax,d=e.pos+1,h=e.md.helpers.parseLinkLabel(e,e.pos,!0);if(h<0)return!1;let p=h+1;if(p<f&&e.src.charCodeAt(p)===40){for(l=!1,p++;p<f&&(n=e.src.charCodeAt(p),!(!je(n)&&n!==10));p++);if(p>=f)return!1;if(a=p,r=e.md.helpers.parseLinkDestination(e.src,p,e.posMax),r.ok){for(s=e.md.normalizeLink(r.str),e.md.validateLink(s)?p=r.pos:s="",a=p;p<f&&(n=e.src.charCodeAt(p),!(!je(n)&&n!==10));p++);if(r=e.md.helpers.parseLinkTitle(e.src,p,e.posMax),p<f&&a!==p&&r.ok)for(o=r.str,p=r.pos;p<f&&(n=e.src.charCodeAt(p),!(!je(n)&&n!==10));p++);}(p>=f||e.src.charCodeAt(p)!==41)&&(l=!0),p++}if(l){if(typeof e.env.references>"u")return!1;if(p<f&&e.src.charCodeAt(p)===91?(a=p+1,p=e.md.helpers.parseLinkLabel(e,p),p>=0?u=e.src.slice(a,p++):p=h+1):p=h+1,u||(u=e.src.slice(d,h)),i=e.env.references[Ji(u)],!i)return e.pos=c,!1;s=i.href,o=i.title}if(!t){e.pos=d,e.posMax=h;const x=e.push("link_open","a",1),w=[["href",s]];x.attrs=w,o&&w.push(["title",o]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=p,e.posMax=f,!0}function Zv(e,t){let n,u,r,i,s,o,a,l,c="";const f=e.pos,d=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91)return!1;const h=e.pos+2,p=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(p<0)return!1;if(i=p+1,i<d&&e.src.charCodeAt(i)===40){for(i++;i<d&&(n=e.src.charCodeAt(i),!(!je(n)&&n!==10));i++);if(i>=d)return!1;for(l=i,o=e.md.helpers.parseLinkDestination(e.src,i,e.posMax),o.ok&&(c=e.md.normalizeLink(o.str),e.md.validateLink(c)?i=o.pos:c=""),l=i;i<d&&(n=e.src.charCodeAt(i),!(!je(n)&&n!==10));i++);if(o=e.md.helpers.parseLinkTitle(e.src,i,e.posMax),i<d&&l!==i&&o.ok)for(a=o.str,i=o.pos;i<d&&(n=e.src.charCodeAt(i),!(!je(n)&&n!==10));i++);else a="";if(i>=d||e.src.charCodeAt(i)!==41)return e.pos=f,!1;i++}else{if(typeof e.env.references>"u")return!1;if(i<d&&e.src.charCodeAt(i)===91?(l=i+1,i=e.md.helpers.parseLinkLabel(e,i),i>=0?r=e.src.slice(l,i++):i=p+1):i=p+1,r||(r=e.src.slice(h,p)),s=e.env.references[Ji(r)],!s)return e.pos=f,!1;c=s.href,a=s.title}if(!t){u=e.src.slice(h,p);const x=[];e.md.inline.parse(u,e.md,e.env,x);const w=e.push("image","img",0),A=[["src",c],["alt",""]];w.attrs=A,w.children=x,w.content=u,a&&A.push(["title",a])}return e.pos=i,e.posMax=d,!0}const Jv=/^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,Qv=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function e8(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==60)return!1;const u=e.pos,r=e.posMax;for(;;){if(++n>=r)return!1;const s=e.src.charCodeAt(n);if(s===60)return!1;if(s===62)break}const i=e.src.slice(u+1,n);if(Qv.test(i)){const s=e.md.normalizeLink(i);if(!e.md.validateLink(s))return!1;if(!t){const o=e.push("link_open","a",1);o.attrs=[["href",s]],o.markup="autolink",o.info="auto";const a=e.push("text","",0);a.content=e.md.normalizeLinkText(i);const l=e.push("link_close","a",-1);l.markup="autolink",l.info="auto"}return e.pos+=i.length+2,!0}if(Jv.test(i)){const s=e.md.normalizeLink("mailto:"+i);if(!e.md.validateLink(s))return!1;if(!t){const o=e.push("link_open","a",1);o.attrs=[["href",s]],o.markup="autolink",o.info="auto";const a=e.push("text","",0);a.content=e.md.normalizeLinkText(i);const l=e.push("link_close","a",-1);l.markup="autolink",l.info="auto"}return e.pos+=i.length+2,!0}return!1}function t8(e){return/^<a[>\s]/i.test(e)}function n8(e){return/^<\/a\s*>/i.test(e)}function u8(e){const t=e|32;return t>=97&&t<=122}function r8(e,t){if(!e.md.options.html)return!1;const n=e.posMax,u=e.pos;if(e.src.charCodeAt(u)!==60||u+2>=n)return!1;const r=e.src.charCodeAt(u+1);if(r!==33&&r!==63&&r!==47&&!u8(r))return!1;const i=e.src.slice(u).match(Ov);if(!i)return!1;if(!t){const s=e.push("html_inline","",0);s.content=i[0],t8(s.content)&&e.linkLevel++,n8(s.content)&&e.linkLevel--}return e.pos+=i[0].length,!0}const i8=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,s8=/^&([a-z][a-z0-9]{1,31});/i;function o8(e,t){const n=e.pos,u=e.posMax;if(e.src.charCodeAt(n)!==38||n+1>=u)return!1;if(e.src.charCodeAt(n+1)===35){const i=e.src.slice(n).match(i8);if(i){if(!t){const s=i[1][0].toLowerCase()==="x"?parseInt(i[1].slice(1),16):parseInt(i[1],10),o=e.push("text_special","",0);o.content=Vo(s)?wi(s):wi(65533),o.markup=i[0],o.info="entity"}return e.pos+=i[0].length,!0}}else{const i=e.src.slice(n).match(s8);if(i){const s=gd(i[0]);if(s!==i[0]){if(!t){const o=e.push("text_special","",0);o.content=s,o.markup=i[0],o.info="entity"}return e.pos+=i[0].length,!0}}}return!1}function _c(e){const t={},n=e.length;if(!n)return;let u=0,r=-2;const i=[];for(let s=0;s<n;s++){const o=e[s];if(i.push(0),(e[u].marker!==o.marker||r!==o.token-1)&&(u=s),r=o.token,o.length=o.length||0,!o.close)continue;t.hasOwnProperty(o.marker)||(t[o.marker]=[-1,-1,-1,-1,-1,-1]);const a=t[o.marker][(o.open?3:0)+o.length%3];let l=u-i[u]-1,c=l;for(;l>a;l-=i[l]+1){const f=e[l];if(f.marker===o.marker&&f.open&&f.end<0){let d=!1;if((f.close||o.open)&&(f.length+o.length)%3===0&&(f.length%3!==0||o.length%3!==0)&&(d=!0),!d){const h=l>0&&!e[l-1].open?i[l-1]+1:0;i[s]=s-l+h,i[l]=h,o.open=!1,f.end=s,f.close=!1,c=-1,r=-2;break}}}c!==-1&&(t[o.marker][(o.open?3:0)+(o.length||0)%3]=c)}}function a8(e){const t=e.tokens_meta,n=e.tokens_meta.length;_c(e.delimiters);for(let u=0;u<n;u++)t[u]&&t[u].delimiters&&_c(t[u].delimiters)}function l8(e){let t,n,u=0;const r=e.tokens,i=e.tokens.length;for(t=n=0;t<i;t++)r[t].nesting<0&&u--,r[t].level=u,r[t].nesting>0&&u++,r[t].type==="text"&&t+1<i&&r[t+1].type==="text"?r[t+1].content=r[t].content+r[t+1].content:(t!==n&&(r[n]=r[t]),n++);t!==n&&(r.length=n)}const ks=[["text",jv],["linkify",Vv],["newline",Hv],["escape",zv],["backticks",Wv],["strikethrough",Cd.tokenize],["emphasis",kd.tokenize],["link",Xv],["image",Zv],["autolink",e8],["html_inline",r8],["entity",o8]],ws=[["balance_pairs",a8],["strikethrough",Cd.postProcess],["emphasis",kd.postProcess],["fragments_join",l8]];function Br(){this.ruler=new wt;for(let e=0;e<ks.length;e++)this.ruler.push(ks[e][0],ks[e][1]);this.ruler2=new wt;for(let e=0;e<ws.length;e++)this.ruler2.push(ws[e][0],ws[e][1])}Br.prototype.skipToken=function(e){const t=e.pos,n=this.ruler.getRules(""),u=n.length,r=e.md.options.maxNesting,i=e.cache;if(typeof i[t]<"u"){e.pos=i[t];return}let s=!1;if(e.level<r){for(let o=0;o<u;o++)if(e.level++,s=n[o](e,!0),e.level--,s){if(t>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;s||e.pos++,i[t]=e.pos};Br.prototype.tokenize=function(e){const t=this.ruler.getRules(""),n=t.length,u=e.posMax,r=e.md.options.maxNesting;for(;e.pos<u;){const i=e.pos;let s=!1;if(e.level<r){for(let o=0;o<n;o++)if(s=t[o](e,!1),s){if(i>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}if(s){if(e.pos>=u)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()};Br.prototype.parse=function(e,t,n,u){const r=new this.State(e,t,n,u);this.tokenize(r);const i=this.ruler2.getRules(""),s=i.length;for(let o=0;o<s;o++)i[o](r)};Br.prototype.State=$r;function c8(e){const t={};e=e||{},t.src_Any=fd.source,t.src_Cc=dd.source,t.src_Z=pd.source,t.src_P=jo.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");const n="[><|]";return t.src_pseudo_letter="(?:(?!"+n+"|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|"+n+"|"+t.src_ZPCc+")(?!"+(e["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+n+`|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!`+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]|$)|"+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+"|$)|;(?!"+t.src_ZCc+"|$)|\\!+(?!"+t.src_ZCc+"|[!]|$)|\\?(?!"+t.src_ZCc+"|[?]|$))+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy="(^|"+n+'|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}function ro(e){return Array.prototype.slice.call(arguments,1).forEach(function(n){n&&Object.keys(n).forEach(function(u){e[u]=n[u]})}),e}function es(e){return Object.prototype.toString.call(e)}function f8(e){return es(e)==="[object String]"}function d8(e){return es(e)==="[object Object]"}function h8(e){return es(e)==="[object RegExp]"}function vc(e){return es(e)==="[object Function]"}function p8(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}const wd={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function m8(e){return Object.keys(e||{}).reduce(function(t,n){return t||wd.hasOwnProperty(n)},!1)}const g8={"http:":{validate:function(e,t,n){const u=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(u)?u.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){const u=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(u)?t>=3&&e[t-3]===":"||t>=3&&e[t-3]==="/"?0:u.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){const u=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(u)?u.match(n.re.mailto)[0].length:0}}},b8="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",_8="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function v8(e){e.__index__=-1,e.__text_cache__=""}function y8(e){return function(t,n){const u=t.slice(n);return e.test(u)?u.match(e)[0].length:0}}function yc(){return function(e,t){t.normalize(e)}}function Ai(e){const t=e.re=c8(e.__opts__),n=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||n.push(b8),n.push(t.src_xn),t.src_tlds=n.join("|");function u(o){return o.replace("%TLDS%",t.src_tlds)}t.email_fuzzy=RegExp(u(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(u(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(u(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(u(t.tpl_host_fuzzy_test),"i");const r=[];e.__compiled__={};function i(o,a){throw new Error('(LinkifyIt) Invalid schema "'+o+'": '+a)}Object.keys(e.__schemas__).forEach(function(o){const a=e.__schemas__[o];if(a===null)return;const l={validate:null,link:null};if(e.__compiled__[o]=l,d8(a)){h8(a.validate)?l.validate=y8(a.validate):vc(a.validate)?l.validate=a.validate:i(o,a),vc(a.normalize)?l.normalize=a.normalize:a.normalize?i(o,a):l.normalize=yc();return}if(f8(a)){r.push(o);return}i(o,a)}),r.forEach(function(o){e.__compiled__[e.__schemas__[o]]&&(e.__compiled__[o].validate=e.__compiled__[e.__schemas__[o]].validate,e.__compiled__[o].normalize=e.__compiled__[e.__schemas__[o]].normalize)}),e.__compiled__[""]={validate:null,normalize:yc()};const s=Object.keys(e.__compiled__).filter(function(o){return o.length>0&&e.__compiled__[o]}).map(p8).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+s+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+s+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),v8(e)}function x8(e,t){const n=e.__index__,u=e.__last_index__,r=e.__text_cache__.slice(n,u);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=u+t,this.raw=r,this.text=r,this.url=r}function io(e,t){const n=new x8(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function Lt(e,t){if(!(this instanceof Lt))return new Lt(e,t);t||m8(e)&&(t=e,e={}),this.__opts__=ro({},wd,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=ro({},g8,e),this.__compiled__={},this.__tlds__=_8,this.__tlds_replaced__=!1,this.re={},Ai(this)}Lt.prototype.add=function(t,n){return this.__schemas__[t]=n,Ai(this),this};Lt.prototype.set=function(t){return this.__opts__=ro(this.__opts__,t),this};Lt.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;let n,u,r,i,s,o,a,l,c;if(this.re.schema_test.test(t)){for(a=this.re.schema_search,a.lastIndex=0;(n=a.exec(t))!==null;)if(i=this.testSchemaAt(t,n[2],a.lastIndex),i){this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+i;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=t.search(this.re.host_fuzzy_test),l>=0&&(this.__index__<0||l<this.__index__)&&(u=t.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))!==null&&(s=u.index+u[1].length,(this.__index__<0||s<this.__index__)&&(this.__schema__="",this.__index__=s,this.__last_index__=u.index+u[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(c=t.indexOf("@"),c>=0&&(r=t.match(this.re.email_fuzzy))!==null&&(s=r.index+r[1].length,o=r.index+r[0].length,(this.__index__<0||s<this.__index__||s===this.__index__&&o>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=s,this.__last_index__=o))),this.__index__>=0};Lt.prototype.pretest=function(t){return this.re.pretest.test(t)};Lt.prototype.testSchemaAt=function(t,n,u){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(t,u,this):0};Lt.prototype.match=function(t){const n=[];let u=0;this.__index__>=0&&this.__text_cache__===t&&(n.push(io(this,u)),u=this.__last_index__);let r=u?t.slice(u):t;for(;this.test(r);)n.push(io(this,u)),r=r.slice(this.__last_index__),u+=this.__last_index__;return n.length?n:null};Lt.prototype.matchAtStart=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return null;const n=this.re.schema_at_start.exec(t);if(!n)return null;const u=this.testSchemaAt(t,n[2],n[0].length);return u?(this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+u,io(this,0)):null};Lt.prototype.tlds=function(t,n){return t=Array.isArray(t)?t:[t],n?(this.__tlds__=this.__tlds__.concat(t).sort().filter(function(u,r,i){return u!==i[r-1]}).reverse(),Ai(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,Ai(this),this)};Lt.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),t.schema==="mailto:"&&!/^mailto:/i.test(t.url)&&(t.url="mailto:"+t.url)};Lt.prototype.onCompile=function(){};const Mu=2147483647,sn=36,Wo=1,Fr=26,E8=38,C8=700,Ad=72,Td=128,Dd="-",k8=/^xn--/,w8=/[^\0-\x7F]/,A8=/[\x2E\u3002\uFF0E\uFF61]/g,T8={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},As=sn-Wo,on=Math.floor,Ts=String.fromCharCode;function Mn(e){throw new RangeError(T8[e])}function D8(e,t){const n=[];let u=e.length;for(;u--;)n[u]=t(e[u]);return n}function Sd(e,t){const n=e.split("@");let u="";n.length>1&&(u=n[0]+"@",e=n[1]),e=e.replace(A8,".");const r=e.split("."),i=D8(r,t).join(".");return u+i}function Id(e){const t=[];let n=0;const u=e.length;for(;n<u;){const r=e.charCodeAt(n++);if(r>=55296&&r<=56319&&n<u){const i=e.charCodeAt(n++);(i&64512)==56320?t.push(((r&1023)<<10)+(i&1023)+65536):(t.push(r),n--)}else t.push(r)}return t}const S8=e=>String.fromCodePoint(...e),I8=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:sn},xc=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},Fd=function(e,t,n){let u=0;for(e=n?on(e/C8):e>>1,e+=on(e/t);e>As*Fr>>1;u+=sn)e=on(e/As);return on(u+(As+1)*e/(e+E8))},Ld=function(e){const t=[],n=e.length;let u=0,r=Td,i=Ad,s=e.lastIndexOf(Dd);s<0&&(s=0);for(let o=0;o<s;++o)e.charCodeAt(o)>=128&&Mn("not-basic"),t.push(e.charCodeAt(o));for(let o=s>0?s+1:0;o<n;){const a=u;for(let c=1,f=sn;;f+=sn){o>=n&&Mn("invalid-input");const d=I8(e.charCodeAt(o++));d>=sn&&Mn("invalid-input"),d>on((Mu-u)/c)&&Mn("overflow"),u+=d*c;const h=f<=i?Wo:f>=i+Fr?Fr:f-i;if(d<h)break;const p=sn-h;c>on(Mu/p)&&Mn("overflow"),c*=p}const l=t.length+1;i=Fd(u-a,l,a==0),on(u/l)>Mu-r&&Mn("overflow"),r+=on(u/l),u%=l,t.splice(u++,0,r)}return String.fromCodePoint(...t)},Od=function(e){const t=[];e=Id(e);const n=e.length;let u=Td,r=0,i=Ad;for(const a of e)a<128&&t.push(Ts(a));const s=t.length;let o=s;for(s&&t.push(Dd);o<n;){let a=Mu;for(const c of e)c>=u&&c<a&&(a=c);const l=o+1;a-u>on((Mu-r)/l)&&Mn("overflow"),r+=(a-u)*l,u=a;for(const c of e)if(c<u&&++r>Mu&&Mn("overflow"),c===u){let f=r;for(let d=sn;;d+=sn){const h=d<=i?Wo:d>=i+Fr?Fr:d-i;if(f<h)break;const p=f-h,x=sn-h;t.push(Ts(xc(h+p%x,0))),f=on(p/x)}t.push(Ts(xc(f,0))),i=Fd(r,l,o===s),r=0,++o}++r,++u}return t.join("")},F8=function(e){return Sd(e,function(t){return k8.test(t)?Ld(t.slice(4).toLowerCase()):t})},L8=function(e){return Sd(e,function(t){return w8.test(t)?"xn--"+Od(t):t})},Nd={version:"2.3.1",ucs2:{decode:Id,encode:S8},decode:Ld,encode:Od,toASCII:L8,toUnicode:F8},O8={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},N8={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},P8={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}},M8={default:O8,zero:N8,commonmark:P8},R8=/^(vbscript|javascript|file|data):/,$8=/^data:image\/(gif|png|jpeg|webp);/;function B8(e){const t=e.trim().toLowerCase();return R8.test(t)?$8.test(t):!0}const Pd=["http:","https:","mailto:"];function j8(e){const t=Bo(e,!0);if(t.hostname&&(!t.protocol||Pd.indexOf(t.protocol)>=0))try{t.hostname=Nd.toASCII(t.hostname)}catch{}return Rr($o(t))}function U8(e){const t=Bo(e,!0);if(t.hostname&&(!t.protocol||Pd.indexOf(t.protocol)>=0))try{t.hostname=Nd.toUnicode(t.hostname)}catch{}return Vu($o(t),Vu.defaultChars+"%")}function Ut(e,t){if(!(this instanceof Ut))return new Ut(e,t);t||Uo(e)||(t=e||{},e="default"),this.inline=new Br,this.block=new Qi,this.core=new Ho,this.renderer=new Yu,this.linkify=new Lt,this.validateLink=B8,this.normalizeLink=j8,this.normalizeLinkText=U8,this.utils=H4,this.helpers=Zi({},Y4),this.options={},this.configure(e),t&&this.set(t)}Ut.prototype.set=function(e){return Zi(this.options,e),this};Ut.prototype.configure=function(e){const t=this;if(Uo(e)){const n=e;if(e=M8[n],!e)throw new Error('Wrong `markdown-it` preset "'+n+'", check name')}if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach(function(n){e.components[n].rules&&t[n].ruler.enableOnly(e.components[n].rules),e.components[n].rules2&&t[n].ruler2.enableOnly(e.components[n].rules2)}),this};Ut.prototype.enable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(r){n=n.concat(this[r].ruler.enable(e,!0))},this),n=n.concat(this.inline.ruler2.enable(e,!0));const u=e.filter(function(r){return n.indexOf(r)<0});if(u.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+u);return this};Ut.prototype.disable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(r){n=n.concat(this[r].ruler.disable(e,!0))},this),n=n.concat(this.inline.ruler2.disable(e,!0));const u=e.filter(function(r){return n.indexOf(r)<0});if(u.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+u);return this};Ut.prototype.use=function(e){const t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this};Ut.prototype.parse=function(e,t){if(typeof e!="string")throw new Error("Input data should be a String");const n=new this.core.State(e,this,t);return this.core.process(n),n.tokens};Ut.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)};Ut.prototype.parseInline=function(e,t){const n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens};Ut.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};const V8=["innerHTML"],H8={__name:"MarkdownViewer",props:{content:{type:String,default:`| 早餐 | | 午餐 |
|
|
61
|
-
|------------|----------|----|
|
|
62
|
-
| 热量:450kcal | | 热量:450kcal |
|
|
63
|
-
| 碳水:62.3g | | 碳水:62.3g |
|
|
64
|
-
| 蛋白质:15.5g | | 蛋白质:15.5g |
|
|
65
|
-
| 脂肪:12.5g | | 脂肪:12.5g |
|
|
66
|
-
|
|
67
|
-
| 晚餐 | | 加餐 |
|
|
68
|
-
|------------|---|------------|
|
|
69
|
-
| | | |
|
|
70
|
-
| 热量:450kcal | | 热量:450kcal |
|
|
71
|
-
| 碳水:62.3g | | 碳水:62.3g |
|
|
72
|
-
| 蛋白质:15.5g | | 蛋白质:15.5g |
|
|
73
|
-
| 脂肪:12.5g | | 脂肪:12.5g |`}},setup(e){const t=new Ut,n=e,u=xe(()=>t.render(n.content));return(r,i)=>(j(),V("div",{innerHTML:u.value},null,8,V8))}},z8={},W8={width:"1em",height:"1em",viewBox:"0 0 44 44",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"};function q8(e,t){return j(),V("svg",W8,t[0]||(t[0]=[F("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[F("g",{transform:"translate(44, 0) rotate(90)"},[F("polyline",{stroke:"currentColor","stroke-width":"4","stroke-linecap":"round","stroke-linejoin":"round",points:"16 10 28 22 16 34"})])],-1)]))}const Y8=ze(z8,[["render",q8]]),G8={class:"pup_header"},K8={class:"left"},X8={class:"title"},Z8={class:"right"},J8={class:"pup_content",style:{height:"calc(height - 56px)"}},Q8={__name:"popup",props:{show:{type:Boolean,default:!1},height:{type:String,default:"50vh"},title:{type:String,default:""}},emits:["update:show","confirm","close"],setup(e,{emit:t}){const{t:n}=qu(),u=e,r=t,i=ne(!1),s=ne(`-${u.height}`),o=ne({delay:300,bottom:`-${u.height}`,opacity:0}),a=f=>{f?(o.value.bottom="0",o.value.opacity=.5):(o.value.bottom=`-${u.height}`,o.value.opacity=0)},l=()=>{r("confirm",{})};Je(()=>u.show,(f,d)=>{f?(s.value=`-${u.height}`,i.value=!0,setTimeout(()=>{a(!0)},0)):(a(!1),setTimeout(()=>{i.value=!1},300))});const c=()=>{r("update:show",!1),a(!1),setTimeout(()=>{i.value=!1},300)};return(f,d)=>i.value?(j(),V("div",{key:0,class:"pup_mask",style:wn({backgroundColor:`rgba(0, 0, 0, ${o.value.opacity})`}),onClick:Te(c,["stop"])},[F("div",{class:"pup_wrap",style:wn({height:e.height,bottom:o.value.bottom}),onClick:Te(()=>{},["stop"])},[F("div",G8,[F("div",K8,[F("div",{class:"icon_down",onClick:Te(c,["stop"])},[W(Y8)])]),F("div",X8,ae(e.title),1),F("div",Z8,[F("div",{class:"btn",onClick:l},ae(un(n)("common.confirm")),1)])]),F("div",J8,[I0(f.$slots,"default",{},void 0,!0)])],4)],4)):Ie("",!0)}},e5=ze(Q8,[["__scopeId","data-v-b2b0e400"]]);function t5(){}const dn=Object.assign,Md=typeof window<"u",jr=e=>e!==null&&typeof e=="object",at=e=>e!=null,Ti=e=>typeof e=="function",Rd=e=>jr(e)&&Ti(e.then)&&Ti(e.catch),$d=e=>typeof e=="number"||/^\d+(\.\d+)?$/.test(e),n5=()=>Md?/ios|iphone|ipad|ipod/.test(navigator.userAgent.toLowerCase()):!1;function Ec(e,t){const n=t.split(".");let u=e;return n.forEach(r=>{var i;u=jr(u)&&(i=u[r])!=null?i:""}),u}function u5(e,t,n){return t.reduce((u,r)=>(u[r]=e[r],u),{})}const Cc=e=>Array.isArray(e)?e:[e],Vn=null,Qe=[Number,String],Bn={type:Boolean,default:!0},r5=e=>({type:Number,default:e}),i5=e=>({type:Qe,default:e}),Ct=e=>({type:String,default:e});var qo=typeof window<"u";function s5(e){const t=Un(e,null);if(t){const n=jt(),{link:u,unlink:r,internalChildren:i}=t;u(n),Kn(()=>r(n));const s=xe(()=>i.indexOf(n));return{parent:t,index:s}}return{parent:null,index:ne(-1)}}function Bd(e){let t;Ht(()=>{e(),pt(()=>{t=!0})}),yo(()=>{t&&e()})}function Yo(e,t,n={}){if(!qo)return;const{target:u=window,passive:r=!1,capture:i=!1}=n;let s=!1,o;const a=f=>{if(s)return;const d=un(f);d&&!o&&(d.addEventListener(e,t,{capture:i,passive:r}),o=!0)},l=f=>{if(s)return;const d=un(f);d&&o&&(d.removeEventListener(e,t,i),o=!1)};Kn(()=>l(u)),Mi(()=>l(u)),Bd(()=>a(u));let c;return rt(u)&&(c=Je(u,(f,d)=>{l(d),a(f)})),()=>{c==null||c(),l(u),s=!0}}var ei,Ds;function o5(){if(!ei&&(ei=ne(0),Ds=ne(0),qo)){const e=()=>{ei.value=window.innerWidth,Ds.value=window.innerHeight};e(),window.addEventListener("resize",e,{passive:!0}),window.addEventListener("orientationchange",e,{passive:!0})}return{width:ei,height:Ds}}var a5=/scroll|auto|overlay/i,l5=qo?window:void 0;function c5(e){return e.tagName!=="HTML"&&e.tagName!=="BODY"&&e.nodeType===1}function f5(e,t=l5){let n=e;for(;n&&n!==t&&c5(n);){const{overflowY:u}=window.getComputedStyle(n);if(a5.test(u))return n;n=n.parentNode}return t}var d5=Symbol("van-field");function kc(e,t){"scrollTop"in e?e.scrollTop=t:e.scrollTo(e.scrollX,t)}function jd(){return window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0}function Ud(e){kc(window,e),kc(document.body,e)}const h5=n5();function p5(){h5&&Ud(jd())}const m5=e=>e.stopPropagation();function fr(e,t){(typeof e.cancelable!="boolean"||e.cancelable)&&e.preventDefault(),t&&m5(e)}o5();function St(e){if(at(e))return $d(e)?`${e}px`:String(e)}function g5(e){if(at(e)){if(Array.isArray(e))return{width:St(e[0]),height:St(e[1])};const t=St(e);return{width:t,height:t}}}function b5(e){const t={};return e!==void 0&&(t.zIndex=+e),t}const _5=/-(\w)/g,Vd=e=>e.replace(_5,(t,n)=>n.toUpperCase()),v5=(e,t,n)=>Math.min(Math.max(e,t),n);function wc(e,t,n){const u=e.indexOf(t);return u===-1?e:t==="-"&&u!==0?e.slice(0,u):e.slice(0,u+1)+e.slice(u).replace(n,"")}function y5(e,t=!0,n=!0){t?e=wc(e,".",/\./g):e=e.split(".")[0],n?e=wc(e,"-",/-/g):e=e.replace(/-/,"");const u=t?/[^-0-9.]/g:/[^-0-9]/g;return e.replace(u,"")}const{hasOwnProperty:x5}=Object.prototype;function E5(e,t,n){const u=t[n];at(u)&&(!x5.call(e,n)||!jr(u)?e[n]=u:e[n]=Hd(Object(e[n]),u))}function Hd(e,t){return Object.keys(t).forEach(n=>{E5(e,t,n)}),e}var C5={name:"姓名",tel:"电话",save:"保存",clear:"清空",cancel:"取消",confirm:"确认",delete:"删除",loading:"加载中...",noCoupon:"暂无优惠券",nameEmpty:"请填写姓名",addContact:"添加联系人",telInvalid:"请填写正确的电话",vanCalendar:{end:"结束",start:"开始",title:"日期选择",weekdays:["日","一","二","三","四","五","六"],monthTitle:(e,t)=>`${e}年${t}月`,rangePrompt:e=>`最多选择 ${e} 天`},vanCascader:{select:"请选择"},vanPagination:{prev:"上一页",next:"下一页"},vanPullRefresh:{pulling:"下拉即可刷新...",loosing:"释放即可刷新..."},vanSubmitBar:{label:"合计:"},vanCoupon:{unlimited:"无门槛",discount:e=>`${e}折`,condition:e=>`满${e}元可用`},vanCouponCell:{title:"优惠券",count:e=>`${e}张可用`},vanCouponList:{exchange:"兑换",close:"不使用",enable:"可用",disabled:"不可用",placeholder:"输入优惠码"},vanAddressEdit:{area:"地区",areaEmpty:"请选择地区",addressEmpty:"请填写详细地址",addressDetail:"详细地址",defaultAddress:"设为默认收货地址"},vanAddressList:{add:"新增地址"}};const Ac=ne("zh-CN"),Tc=zu({"zh-CN":C5}),k5={messages(){return Tc[Ac.value]},use(e,t){Ac.value=e,this.add({[e]:t})},add(e={}){Hd(Tc,e)}};var w5=k5;function A5(e){const t=Vd(e)+".";return(n,...u)=>{const r=w5.messages(),i=Ec(r,t+n)||Ec(r,n);return Ti(i)?i(...u):i}}function so(e,t){return t?typeof t=="string"?` ${e}--${t}`:Array.isArray(t)?t.reduce((n,u)=>n+so(e,u),""):Object.keys(t).reduce((n,u)=>n+(t[u]?so(e,u):""),""):""}function T5(e){return(t,n)=>(t&&typeof t!="string"&&(n=t,t=""),t=t?`${e}__${t}`:e,`${t}${so(t,n)}`)}function In(e){const t=`van-${e}`;return[t,T5(t),A5(t)]}const D5="van-haptics-feedback",S5=Symbol("van-form"),Dc=5;function I5(e,{args:t=[],done:n,canceled:u,error:r}){if(e){const i=e.apply(null,t);Rd(i)?i.then(s=>{s?n():u&&u()}).catch(r||t5):i?n():u&&u()}else n()}function Qn(e){return e.install=t=>{const{name:n}=e;n&&(t.component(n,e),t.component(Vd(`-${n}`),e))},e}const F5=Symbol();function Go(e){const t=jt();t&&dn(t.proxy,e)}const L5={to:[String,Object],url:String,replace:Boolean};function O5({to:e,url:t,replace:n,$router:u}){e&&u?u[n?"replace":"push"](e):t&&(n?location.replace(t):location.href=t)}function N5(){const e=jt().proxy;return()=>O5(e)}const[P5,Sc]=In("badge"),M5={dot:Boolean,max:Qe,tag:Ct("div"),color:String,offset:Array,content:Qe,showZero:Bn,position:Ct("top-right")};var R5=Vt({name:P5,props:M5,setup(e,{slots:t}){const n=()=>{if(t.content)return!0;const{content:o,showZero:a}=e;return at(o)&&o!==""&&(a||o!==0&&o!=="0")},u=()=>{const{dot:o,max:a,content:l}=e;if(!o&&n())return t.content?t.content():at(a)&&$d(l)&&+l>+a?`${a}+`:l},r=o=>o.startsWith("-")?o.replace("-",""):`-${o}`,i=xe(()=>{const o={background:e.color};if(e.offset){const[a,l]=e.offset,{position:c}=e,[f,d]=c.split("-");t.default?(typeof l=="number"?o[f]=St(f==="top"?l:-l):o[f]=f==="top"?St(l):r(l),typeof a=="number"?o[d]=St(d==="left"?a:-a):o[d]=d==="left"?St(a):r(a)):(o.marginTop=St(l),o.marginLeft=St(a))}return o}),s=()=>{if(n()||e.dot)return W("div",{class:Sc([e.position,{dot:e.dot,fixed:!!t.default}]),style:i.value},[u()])};return()=>{if(t.default){const{tag:o}=e;return W(o,{class:Sc("wrapper")},{default:()=>[t.default(),s()]})}return s()}}});const $5=Qn(R5);let B5=2e3;const j5=()=>++B5,[U5,qx]=In("config-provider"),V5=Symbol(U5),[H5,Ic]=In("icon"),z5=e=>e==null?void 0:e.includes("/"),W5={dot:Boolean,tag:Ct("i"),name:String,size:Qe,badge:Qe,color:String,badgeProps:Object,classPrefix:String};var q5=Vt({name:H5,props:W5,setup(e,{slots:t}){const n=Un(V5,null),u=xe(()=>e.classPrefix||(n==null?void 0:n.iconPrefix)||Ic());return()=>{const{tag:r,dot:i,name:s,size:o,badge:a,color:l}=e,c=z5(s);return W($5,An({dot:i,tag:r,class:[u.value,c?"":`${u.value}-${s}`],style:{color:l,fontSize:St(o)},content:a},e.badgeProps),{default:()=>{var f;return[(f=t.default)==null?void 0:f.call(t),c&&W("img",{class:Ic("image"),src:s},null)]}})}}});const du=Qn(q5),[Y5,dr]=In("loading"),G5=Array(12).fill(null).map((e,t)=>W("i",{class:dr("line",String(t+1))},null)),K5=W("svg",{class:dr("circular"),viewBox:"25 25 50 50"},[W("circle",{cx:"50",cy:"50",r:"20",fill:"none"},null)]),X5={size:Qe,type:Ct("circular"),color:String,vertical:Boolean,textSize:Qe,textColor:String};var Z5=Vt({name:Y5,props:X5,setup(e,{slots:t}){const n=xe(()=>dn({color:e.color},g5(e.size))),u=()=>{const i=e.type==="spinner"?G5:K5;return W("span",{class:dr("spinner",e.type),style:n.value},[t.icon?t.icon():i])},r=()=>{var i;if(t.default)return W("span",{class:dr("text"),style:{fontSize:St(e.textSize),color:(i=e.textColor)!=null?i:e.color}},[t.default()])};return()=>{const{type:i,vertical:s}=e;return W("div",{class:dr([i,{vertical:s}]),"aria-live":"polite","aria-busy":!0},[u(),r()])}}});const J5=Qn(Z5),Q5={show:Boolean,zIndex:Qe,overlay:Bn,duration:Qe,teleport:[String,Object],lockScroll:Bn,lazyRender:Bn,beforeClose:Function,overlayProps:Object,overlayStyle:Object,overlayClass:Vn,transitionAppear:Boolean,closeOnClickOverlay:Bn};function ey(e,t){return e>t?"horizontal":t>e?"vertical":""}function ty(){const e=ne(0),t=ne(0),n=ne(0),u=ne(0),r=ne(0),i=ne(0),s=ne(""),o=ne(!0),a=()=>s.value==="vertical",l=()=>s.value==="horizontal",c=()=>{n.value=0,u.value=0,r.value=0,i.value=0,s.value="",o.value=!0};return{move:h=>{const p=h.touches[0];n.value=(p.clientX<0?0:p.clientX)-e.value,u.value=p.clientY-t.value,r.value=Math.abs(n.value),i.value=Math.abs(u.value);const x=10;(!s.value||r.value<x&&i.value<x)&&(s.value=ey(r.value,i.value)),o.value&&(r.value>Dc||i.value>Dc)&&(o.value=!1)},start:h=>{c(),e.value=h.touches[0].clientX,t.value=h.touches[0].clientY},reset:c,startX:e,startY:t,deltaX:n,deltaY:u,offsetX:r,offsetY:i,direction:s,isVertical:a,isHorizontal:l,isTap:o}}let Qu=0;const Fc="van-overflow-hidden";function ny(e,t){const n=ty(),u="01",r="10",i=c=>{n.move(c);const f=n.deltaY.value>0?r:u,d=f5(c.target,e.value),{scrollHeight:h,offsetHeight:p,scrollTop:x}=d;let w="11";x===0?w=p>=h?"00":"01":x+p>=h&&(w="10"),w!=="11"&&n.isVertical()&&!(parseInt(w,2)&parseInt(f,2))&&fr(c,!0)},s=()=>{document.addEventListener("touchstart",n.start),document.addEventListener("touchmove",i,{passive:!1}),Qu||document.body.classList.add(Fc),Qu++},o=()=>{Qu&&(document.removeEventListener("touchstart",n.start),document.removeEventListener("touchmove",i),Qu--,Qu||document.body.classList.remove(Fc))},a=()=>t()&&s(),l=()=>t()&&o();Bd(a),Mi(l),xo(l),Je(t,c=>{c?s():o()})}function zd(e){const t=ne(!1);return Je(e,n=>{n&&(t.value=n)},{immediate:!0}),n=>()=>t.value?n():null}const Lc=()=>{var e;const{scopeId:t}=((e=jt())==null?void 0:e.vnode)||{};return t?{[t]:""}:null},[uy,ry]=In("overlay"),iy={show:Boolean,zIndex:Qe,duration:Qe,className:Vn,lockScroll:Bn,lazyRender:Bn,customStyle:Object,teleport:[String,Object]};var sy=Vt({name:uy,inheritAttrs:!1,props:iy,setup(e,{attrs:t,slots:n}){const u=ne(),r=zd(()=>e.show||!e.lazyRender),i=o=>{e.lockScroll&&fr(o,!0)},s=r(()=>{var o;const a=dn(b5(e.zIndex),e.customStyle);return at(e.duration)&&(a.animationDuration=`${e.duration}s`),Or(W("div",An({ref:u,style:a,class:[ry(),e.className]},t),[(o=n.default)==null?void 0:o.call(n)]),[[Ui,e.show]])});return Yo("touchmove",i,{target:u}),()=>{const o=W(tf,{name:"van-fade",appear:!0},{default:s});return e.teleport?W(v0,{to:e.teleport},{default:()=>[o]}):o}}});const oy=Qn(sy),ay=dn({},Q5,{round:Boolean,position:Ct("center"),closeIcon:Ct("cross"),closeable:Boolean,transition:String,iconPrefix:String,closeOnPopstate:Boolean,closeIconPosition:Ct("top-right"),destroyOnClose:Boolean,safeAreaInsetTop:Boolean,safeAreaInsetBottom:Boolean}),[ly,Oc]=In("popup");var cy=Vt({name:ly,inheritAttrs:!1,props:ay,emits:["open","close","opened","closed","keydown","update:show","clickOverlay","clickCloseIcon"],setup(e,{emit:t,attrs:n,slots:u}){let r,i;const s=ne(),o=ne(),a=zd(()=>e.show||!e.lazyRender),l=xe(()=>{const v={zIndex:s.value};if(at(e.duration)){const S=e.position==="center"?"animationDuration":"transitionDuration";v[S]=`${e.duration}s`}return v}),c=()=>{r||(r=!0,s.value=e.zIndex!==void 0?+e.zIndex:j5(),t("open"))},f=()=>{r&&I5(e.beforeClose,{done(){r=!1,t("close"),t("update:show",!1)}})},d=v=>{t("clickOverlay",v),e.closeOnClickOverlay&&f()},h=()=>{if(e.overlay){const v=dn({show:e.show,class:e.overlayClass,zIndex:s.value,duration:e.duration,customStyle:e.overlayStyle,role:e.closeOnClickOverlay?"button":void 0,tabindex:e.closeOnClickOverlay?0:void 0},e.overlayProps);return W(oy,An(v,Lc(),{onClick:d}),{default:u["overlay-content"]})}},p=v=>{t("clickCloseIcon",v),f()},x=()=>{if(e.closeable)return W(du,{role:"button",tabindex:0,name:e.closeIcon,class:[Oc("close-icon",e.closeIconPosition),D5],classPrefix:e.iconPrefix,onClick:p},null)};let w;const A=()=>{w&&clearTimeout(w),w=setTimeout(()=>{t("opened")})},T=()=>t("closed"),g=v=>t("keydown",v),_=a(()=>{var v;const{destroyOnClose:S,round:N,position:I,safeAreaInsetTop:G,safeAreaInsetBottom:te,show:U}=e;if(!(!U&&S))return Or(W("div",An({ref:o,style:l.value,role:"dialog",tabindex:0,class:[Oc({round:N,[I]:I}),{"van-safe-area-top":G,"van-safe-area-bottom":te}],onKeydown:g},n,Lc()),[(v=u.default)==null?void 0:v.call(u),x()]),[[Ui,U]])}),E=()=>{const{position:v,transition:S,transitionAppear:N}=e,I=v==="center"?"van-fade":`van-popup-slide-${v}`;return W(tf,{name:S||I,appear:N,onAfterEnter:A,onAfterLeave:T},{default:_})};return Je(()=>e.show,v=>{v&&!r&&(c(),n.tabindex===0&&pt(()=>{var S;(S=o.value)==null||S.focus()})),!v&&r&&(r=!1,t("close"))}),Go({popupRef:o}),ny(o,()=>e.show&&e.lockScroll),Yo("popstate",()=>{e.closeOnPopstate&&(f(),i=!1)}),Ht(()=>{e.show&&c()}),yo(()=>{i&&(t("update:show",!0),i=!1)}),Mi(()=>{e.show&&e.teleport&&(f(),i=!0)}),$i(F5,()=>e.show),()=>e.teleport?W(v0,{to:e.teleport},{default:()=>[h(),E()]}):W(he,null,[h(),E()])}});const fy=Qn(cy);let dy=0;function hy(){const e=jt(),{name:t="unknown"}=(e==null?void 0:e.type)||{};return`${t}-${++dy}`}const[py,_u]=In("cell"),Wd={tag:Ct("div"),icon:String,size:String,title:Qe,value:Qe,label:Qe,center:Boolean,isLink:Boolean,border:Bn,iconPrefix:String,valueClass:Vn,labelClass:Vn,titleClass:Vn,titleStyle:null,arrowDirection:String,required:{type:[Boolean,String],default:null},clickable:{type:Boolean,default:null}},my=dn({},Wd,L5);var gy=Vt({name:py,props:my,setup(e,{slots:t}){const n=N5(),u=()=>{if(t.label||at(e.label))return W("div",{class:[_u("label"),e.labelClass]},[t.label?t.label():e.label])},r=()=>{var a;if(t.title||at(e.title)){const l=(a=t.title)==null?void 0:a.call(t);return Array.isArray(l)&&l.length===0?void 0:W("div",{class:[_u("title"),e.titleClass],style:e.titleStyle},[l||W("span",null,[e.title]),u()])}},i=()=>{const a=t.value||t.default;if(a||at(e.value))return W("div",{class:[_u("value"),e.valueClass]},[a?a():W("span",null,[e.value])])},s=()=>{if(t.icon)return t.icon();if(e.icon)return W(du,{name:e.icon,class:_u("left-icon"),classPrefix:e.iconPrefix},null)},o=()=>{if(t["right-icon"])return t["right-icon"]();if(e.isLink){const a=e.arrowDirection&&e.arrowDirection!=="right"?`arrow-${e.arrowDirection}`:"arrow";return W(du,{name:a,class:_u("right-icon")},null)}};return()=>{var a;const{tag:l,size:c,center:f,border:d,isLink:h,required:p}=e,x=(a=e.clickable)!=null?a:h,w={center:f,required:!!p,clickable:x,borderless:!d};return c&&(w[c]=!!c),W(l,{class:_u(w),role:x?"button":void 0,tabindex:x?0:void 0,onClick:n},{default:()=>{var A;return[s(),r(),i(),o(),(A=t.extra)==null?void 0:A.call(t)]}})}}});const by=Qn(gy);function qd(e){return Array.isArray(e)?!e.length:e===0?!1:!e}function _y(e,t){if(qd(e)){if(t.required)return!1;if(t.validateEmpty===!1)return!0}return!(t.pattern&&!t.pattern.test(String(e)))}function vy(e,t){return new Promise(n=>{const u=t.validator(e,t);if(Rd(u)){u.then(n);return}n(u)})}function Nc(e,t){const{message:n}=t;return Ti(n)?n(e,t):n||""}function yy({target:e}){e.composing=!0}function Pc({target:e}){e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}function xy(e,t){const n=jd();e.style.height="auto";let u=e.scrollHeight;if(jr(t)){const{maxHeight:r,minHeight:i}=t;r!==void 0&&(u=Math.min(u,r)),i!==void 0&&(u=Math.max(u,i))}u&&(e.style.height=`${u}px`,Ud(n))}function Ey(e,t){return e==="number"&&(e="text",t??(t="decimal")),e==="digit"&&(e="tel",t??(t="numeric")),{type:e,inputmode:t}}function bn(e){return[...e].length}function Ss(e,t){return[...e].slice(0,t).join("")}const[Cy,Pt]=In("field"),ky={id:String,name:String,leftIcon:String,rightIcon:String,autofocus:Boolean,clearable:Boolean,maxlength:Qe,max:Number,min:Number,formatter:Function,clearIcon:Ct("clear"),modelValue:i5(""),inputAlign:String,placeholder:String,autocomplete:String,autocapitalize:String,autocorrect:String,errorMessage:String,enterkeyhint:String,clearTrigger:Ct("focus"),formatTrigger:Ct("onChange"),spellcheck:{type:Boolean,default:null},error:{type:Boolean,default:null},disabled:{type:Boolean,default:null},readonly:{type:Boolean,default:null},inputmode:String},wy=dn({},Wd,ky,{rows:Qe,type:Ct("text"),rules:Array,autosize:[Boolean,Object],labelWidth:Qe,labelClass:Vn,labelAlign:String,showWordLimit:Boolean,errorMessageAlign:String,colon:{type:Boolean,default:null}});var Ay=Vt({name:Cy,props:wy,emits:["blur","focus","clear","keypress","clickInput","endValidate","startValidate","clickLeftIcon","clickRightIcon","update:modelValue"],setup(e,{emit:t,slots:n}){const u=hy(),r=zu({status:"unvalidated",focused:!1,validateMessage:""}),i=ne(),s=ne(),o=ne(),{parent:a}=s5(S5),l=()=>{var $;return String(($=e.modelValue)!=null?$:"")},c=$=>{if(at(e[$]))return e[$];if(a&&at(a.props[$]))return a.props[$]},f=xe(()=>{const $=c("readonly");if(e.clearable&&!$){const ce=l()!=="",fe=e.clearTrigger==="always"||e.clearTrigger==="focus"&&r.focused;return ce&&fe}return!1}),d=xe(()=>o.value&&n.input?o.value():e.modelValue),h=xe(()=>{var $;const ce=c("required");return ce==="auto"?($=e.rules)==null?void 0:$.some(fe=>fe.required):ce}),p=$=>$.reduce((ce,fe)=>ce.then(()=>{if(r.status==="failed")return;let{value:ke}=d;if(fe.formatter&&(ke=fe.formatter(ke,fe)),!_y(ke,fe)){r.status="failed",r.validateMessage=Nc(ke,fe);return}if(fe.validator)return qd(ke)&&fe.validateEmpty===!1?void 0:vy(ke,fe).then(Ee=>{Ee&&typeof Ee=="string"?(r.status="failed",r.validateMessage=Ee):Ee===!1&&(r.status="failed",r.validateMessage=Nc(ke,fe))})}),Promise.resolve()),x=()=>{r.status="unvalidated",r.validateMessage=""},w=()=>t("endValidate",{status:r.status,message:r.validateMessage}),A=($=e.rules)=>new Promise(ce=>{x(),$?(t("startValidate"),p($).then(()=>{r.status==="failed"?(ce({name:e.name,message:r.validateMessage}),w()):(r.status="passed",ce(),w())})):ce()}),T=$=>{if(a&&e.rules){const{validateTrigger:ce}=a.props,fe=Cc(ce).includes($),ke=e.rules.filter(Ee=>Ee.trigger?Cc(Ee.trigger).includes($):fe);ke.length&&A(ke)}},g=$=>{var ce;const{maxlength:fe}=e;if(at(fe)&&bn($)>+fe){const ke=l();if(ke&&bn(ke)===+fe)return ke;const Ee=(ce=i.value)==null?void 0:ce.selectionEnd;if(r.focused&&Ee){const y=[...$],k=y.length-+fe;return y.splice(Ee-k,k),y.join("")}return Ss($,+fe)}return $},_=($,ce="onChange")=>{var fe,ke;const Ee=$;$=g($);const y=bn(Ee)-bn($);if(e.type==="number"||e.type==="digit"){const C=e.type==="number";if($=y5($,C,C),ce==="onBlur"&&$!==""&&(e.min!==void 0||e.max!==void 0)){const O=v5(+$,(fe=e.min)!=null?fe:-1/0,(ke=e.max)!=null?ke:1/0);+$!==O&&($=O.toString())}}let k=0;if(e.formatter&&ce===e.formatTrigger){const{formatter:C,maxlength:O}=e;if($=C($),at(O)&&bn($)>+O&&($=Ss($,+O)),i.value&&r.focused){const{selectionEnd:B}=i.value,M=Ss(Ee,B);k=bn(C(M))-bn(M)}}if(i.value&&i.value.value!==$)if(r.focused){let{selectionStart:C,selectionEnd:O}=i.value;if(i.value.value=$,at(C)&&at(O)){const B=bn($);y?(C-=y,O-=y):k&&(C+=k,O+=k),i.value.setSelectionRange(Math.min(C,B),Math.min(O,B))}}else i.value.value=$;$!==e.modelValue&&t("update:modelValue",$)},E=$=>{$.target.composing||_($.target.value)},v=()=>{var $;return($=i.value)==null?void 0:$.blur()},S=()=>{var $;return($=i.value)==null?void 0:$.focus()},N=()=>{const $=i.value;e.type==="textarea"&&e.autosize&&$&&xy($,e.autosize)},I=$=>{r.focused=!0,t("focus",$),pt(N),c("readonly")&&v()},G=$=>{r.focused=!1,_(l(),"onBlur"),t("blur",$),!c("readonly")&&(T("onBlur"),pt(N),p5())},te=$=>t("clickInput",$),U=$=>t("clickLeftIcon",$),K=$=>t("clickRightIcon",$),ue=$=>{fr($),t("update:modelValue",""),t("clear",$)},ee=xe(()=>{if(typeof e.error=="boolean")return e.error;if(a&&a.props.showError&&r.status==="failed")return!0}),se=xe(()=>{const $=c("labelWidth"),ce=c("labelAlign");if($&&ce!=="top")return{width:St($)}}),be=$=>{$.keyCode===13&&(!(a&&a.props.submitOnEnter)&&e.type!=="textarea"&&fr($),e.type==="search"&&v()),t("keypress",$)},H=()=>e.id||`${u}-input`,re=()=>r.status,J=()=>{const $=Pt("control",[c("inputAlign"),{error:ee.value,custom:!!n.input,"min-height":e.type==="textarea"&&!e.autosize}]);if(n.input)return W("div",{class:$,onClick:te},[n.input()]);const ce={id:H(),ref:i,name:e.name,rows:e.rows!==void 0?+e.rows:void 0,class:$,disabled:c("disabled"),readonly:c("readonly"),autofocus:e.autofocus,placeholder:e.placeholder,autocomplete:e.autocomplete,autocapitalize:e.autocapitalize,autocorrect:e.autocorrect,enterkeyhint:e.enterkeyhint,spellcheck:e.spellcheck,"aria-labelledby":e.label?`${u}-label`:void 0,"data-allow-mismatch":"attribute",onBlur:G,onFocus:I,onInput:E,onClick:te,onChange:Pc,onKeypress:be,onCompositionend:Pc,onCompositionstart:yy};return e.type==="textarea"?W("textarea",An(ce,{inputmode:e.inputmode}),null):W("input",An(Ey(e.type,e.inputmode),ce),null)},_e=()=>{const $=n["left-icon"];if(e.leftIcon||$)return W("div",{class:Pt("left-icon"),onClick:U},[$?$():W(du,{name:e.leftIcon,classPrefix:e.iconPrefix},null)])},ie=()=>{const $=n["right-icon"];if(e.rightIcon||$)return W("div",{class:Pt("right-icon"),onClick:K},[$?$():W(du,{name:e.rightIcon,classPrefix:e.iconPrefix},null)])},Ge=()=>{if(e.showWordLimit&&e.maxlength){const $=bn(l());return W("div",{class:Pt("word-limit")},[W("span",{class:Pt("word-num")},[$]),qt("/"),e.maxlength])}},Ae=()=>{if(a&&a.props.showErrorMessage===!1)return;const $=e.errorMessage||r.validateMessage;if($){const ce=n["error-message"],fe=c("errorMessageAlign");return W("div",{class:Pt("error-message",fe)},[ce?ce({message:$}):$])}},At=()=>{const $=c("labelWidth"),ce=c("labelAlign"),fe=c("colon")?":":"";if(n.label)return[n.label(),fe];if(e.label)return W("label",{id:`${u}-label`,for:n.input?void 0:H(),"data-allow-mismatch":"attribute",onClick:ke=>{fr(ke),S()},style:ce==="top"&&$?{width:St($)}:void 0},[e.label+fe])},Ce=()=>[W("div",{class:Pt("body")},[J(),f.value&&W(du,{ref:s,name:e.clearIcon,class:Pt("clear")},null),ie(),n.button&&W("div",{class:Pt("button")},[n.button()])]),Ge(),Ae()];return Go({blur:v,focus:S,validate:A,formValue:d,resetValidation:x,getValidationStatus:re}),$i(d5,{customValue:o,resetValidation:x,validateWithTrigger:T}),Je(()=>e.modelValue,()=>{_(l()),x(),T("onChange"),pt(N)}),Ht(()=>{_(l(),e.formatTrigger),pt(N)}),Yo("touchstart",ue,{target:xe(()=>{var $;return($=s.value)==null?void 0:$.$el})}),()=>{const $=c("disabled"),ce=c("labelAlign"),fe=_e(),ke=()=>{const Ee=At();return ce==="top"?[fe,Ee].filter(Boolean):Ee||[]};return W(by,{size:e.size,class:Pt({error:ee.value,disabled:$,[`label-${ce}`]:ce}),center:e.center,border:e.border,isLink:e.isLink,clickable:e.clickable,titleStyle:se.value,valueClass:Pt("value"),titleClass:[Pt("label",[ce,{required:h.value}]),e.labelClass],arrowDirection:e.arrowDirection},{icon:fe&&ce!=="top"?()=>fe:null,title:ke,value:Ce,extra:n.extra})}}});const Ty=Qn(Ay);let er=0;function Dy(e){e?(er||document.body.classList.add("van-toast--unclickable"),er++):er&&(er--,er||document.body.classList.remove("van-toast--unclickable"))}const[Sy,vu]=In("toast"),Iy=["show","overlay","teleport","transition","overlayClass","overlayStyle","closeOnClickOverlay","zIndex"],Fy={icon:String,show:Boolean,type:Ct("text"),overlay:Boolean,message:Qe,iconSize:Qe,duration:r5(2e3),position:Ct("middle"),teleport:[String,Object],wordBreak:String,className:Vn,iconPrefix:String,transition:Ct("van-fade"),loadingType:String,forbidClick:Boolean,overlayClass:Vn,overlayStyle:Object,closeOnClick:Boolean,closeOnClickOverlay:Boolean,zIndex:Qe};var Yd=Vt({name:Sy,props:Fy,emits:["update:show"],setup(e,{emit:t,slots:n}){let u,r=!1;const i=()=>{const f=e.show&&e.forbidClick;r!==f&&(r=f,Dy(r))},s=f=>t("update:show",f),o=()=>{e.closeOnClick&&s(!1)},a=()=>clearTimeout(u),l=()=>{const{icon:f,type:d,iconSize:h,iconPrefix:p,loadingType:x}=e;if(f||d==="success"||d==="fail")return W(du,{name:f||d,size:h,class:vu("icon"),classPrefix:p},null);if(d==="loading")return W(J5,{class:vu("loading"),size:h,type:x},null)},c=()=>{const{type:f,message:d}=e;if(n.message)return W("div",{class:vu("text")},[n.message()]);if(at(d)&&d!=="")return f==="html"?W("div",{key:0,class:vu("text"),innerHTML:String(d)},null):W("div",{class:vu("text")},[d])};return Je(()=>[e.show,e.forbidClick],i),Je(()=>[e.show,e.type,e.message,e.duration],()=>{a(),e.show&&e.duration>0&&(u=setTimeout(()=>{s(!1)},e.duration))}),Ht(i),Kn(i),()=>W(fy,An({class:[vu([e.position,e.wordBreak==="normal"?"break-normal":e.wordBreak,{[e.type]:!e.icon}]),e.className],lockScroll:!1,onClick:o,onClosed:a,"onUpdate:show":s},u5(e,Iy)),{default:()=>[l(),c()]})}});function Ly(){const e=zu({show:!1}),t=r=>{e.show=r},n=r=>{dn(e,r,{transitionAppear:!0}),t(!0)},u=()=>t(!1);return Go({open:n,close:u,toggle:t}),{open:n,close:u,state:e,toggle:t}}function Oy(e){const t=sf(e),n=document.createElement("div");return document.body.appendChild(n),{instance:t.mount(n),unmount(){t.unmount(),document.body.removeChild(n)}}}const Ny={icon:"",type:"text",message:"",className:"",overlay:!1,onClose:void 0,onOpened:void 0,duration:2e3,teleport:"body",iconSize:void 0,iconPrefix:void 0,position:"middle",transition:"van-fade",forbidClick:!1,loadingType:void 0,overlayClass:"",overlayStyle:void 0,closeOnClick:!1,closeOnClickOverlay:!1};let ti=[],Py=!1,Mc=dn({},Ny);const My=new Map;function Ry(e){return jr(e)?e:{message:e}}function $y(){const{instance:e}=Oy({setup(){const t=ne(""),{open:n,state:u,close:r,toggle:i}=Ly(),s=()=>{},o=()=>W(Yd,An(u,{onClosed:s,"onUpdate:show":i}),null);return Je(t,a=>{u.message=a}),jt().render=o,{open:n,close:r,message:t}}});return e}function By(){if(!ti.length||Py){const e=$y();ti.push(e)}return ti[ti.length-1]}function _n(e={}){if(!Md)return{};const t=By(),n=Ry(e);return t.open(dn({},Mc,My.get(n.type||Mc.type),n)),t}Qn(Yd);const jy={class:"pf_wrap"},Uy={class:"pf_form"},Vy=["onClick"],Hy={key:0,class:"sex_wrap"},zy={key:1,class:"input_wrap"},Wy={class:"unit"},qy={key:2,class:"sport_wrap"},Yy=["onClick"],Gy={class:"name"},Ky={class:"sub"},Xy={key:3,class:"taste_wrap"},Zy={class:"box"},Jy=["onClick"],Qy={class:"box"},ex=["onClick"],tx={__name:"personalForm",props:{query:{type:String,default:""}},emits:["submit"],setup(e,{emit:t}){const{t:n,locale:u}=qu(),r=ne(!1),i=e,s=ne({key:"sex",sex:"",age:"",height:"",weight:"",sport:"",taste:[],taboo:[],title:"标题",unit:"",dialogHeight:"50vh",min:0,max:100,type:"digit"}),o=ne([{key:"rest",name:n("personal_form.sport_list.rest"),sub:n("personal_form.sport_list.rest_sub")},{key:"sedentary",name:n("personal_form.sport_list.sedentary"),sub:n("personal_form.sport_list.sedentary_sub")},{key:"light",name:n("personal_form.sport_list.light"),sub:n("personal_form.sport_list.light_sub")},{key:"medium",name:n("personal_form.sport_list.medium"),sub:n("personal_form.sport_list.medium_sub")},{key:"heavy",name:n("personal_form.sport_list.heavy"),sub:n("personal_form.sport_list.heavy_sub")}]),a=xe(()=>n("personal_form.taste_list")),l=xe(()=>n("personal_form.taboo_list")),c=ne([{key:"sex",label:n("personal_form.sex"),value:"",placeholder:n("personal_form.placeholder.sex"),required:!0},{key:"age",label:n("personal_form.age"),value:"",placeholder:n("personal_form.placeholder.age"),unit:n("personal_form.unit.age"),required:!0},{key:"height",label:n("personal_form.height"),value:"",placeholder:n("personal_form.placeholder.height"),unit:n("personal_form.unit.height"),required:!0},{key:"weight",label:n("personal_form.weight"),value:"",placeholder:n("personal_form.placeholder.weight"),unit:n("personal_form.unit.weight"),required:!0},{key:"sport",label:n("personal_form.sport"),value:"sedentary",placeholder:n("personal_form.placeholder.sport"),required:!0},{key:"taste",label:n("personal_form.taste"),value:"",taste:[],taboo:[],placeholder:n("personal_form.placeholder.taste"),required:!1}]),f=t;Ht(()=>{const g=localStorage.getItem("personalInfo");if(g){const _=JSON.parse(g);for(let E=0;E<c.value.length;E++){const v=_.find(S=>S.key===c.value[E].key);v&&(c.value[E].value=v.value||"",v.taste&&(c.value[E].taste=v.taste),v.taboo&&(c.value[E].taboo=v.taboo))}}console.log("== xx ===",c.value)});const d=xe(()=>c.value.filter(g=>g.key!=="taste").every(g=>g.value!=="")),h=g=>{switch(s.value.key=g.key,g.key){case"sex":s.value.title=n("personal_form.dialog.sex"),s.value.dialogHeight="300px",s.value.sex=g.value;break;case"age":s.value.title=n("personal_form.dialog.age"),s.value.dialogHeight="240px",s.value.unit=g.unit,s.value.age=g.value,s.value.min=6,s.value.max=100,s.value.type="number";break;case"height":s.value.title=n("personal_form.dialog.height"),s.value.dialogHeight="240px",s.value.unit=g.unit,s.value.height=g.value,s.value.min=100,s.value.max=220,s.value.type="digit";break;case"weight":s.value.title=n("personal_form.dialog.weight"),s.value.dialogHeight="240px",s.value.unit=g.unit,s.value.weight=g.value,s.value.min=10,s.value.max=150,s.value.type="digit";break;case"sport":s.value.title=n("personal_form.dialog.sport"),s.value.dialogHeight="420px",s.value.unit="",s.value.sport=g.value;break;case"taste":s.value.title=n("personal_form.dialog.taste"),s.value.dialogHeight="500px",s.value.unit="",s.value.taste=[...g.taste],s.value.taboo=[...g.taboo];break}console.log(s.value,g),r.value=!0},p=()=>{switch(s.value.key){case"sex":if(!s.value.sex){_n(n("personal_form.toast.select_sex"));return}c.value.find(g=>g.key==="sex").value=s.value.sex;break;case"age":if(!s.value.age){_n(n("personal_form.toast.input_age"));return}c.value.find(g=>g.key==="age").value=s.value.age;break;case"height":if(!s.value.height){_n(n("personal_form.toast.input_height"));return}c.value.find(g=>g.key==="height").value=s.value.height;break;case"weight":if(!s.value.weight){_n(n("personal_form.toast.input_weight"));return}c.value.find(g=>g.key==="weight").value=s.value.weight;break;case"sport":if(!s.value.sport){_n(n("personal_form.toast.select_sport"));return}c.value.find(g=>g.key==="sport").value=s.value.sport;break;case"taste":c.value.find(g=>g.key==="taste").taste=s.value.taste,c.value.find(g=>g.key==="taste").taboo=s.value.taboo,c.value.find(g=>g.key==="taste").value=[...s.value.taste,...s.value.taboo].join("、");break}r.value=!1},x=()=>{if(!d.value){_n(n("personal_form.toast.fill_all"));return}const g=c.value.findIndex(N=>N.key==="age"),_=c.value.findIndex(N=>N.key==="height"),E=c.value.findIndex(N=>N.key==="weight");if(c.value[g].value<6||c.value[g].value>100){_n(n("personal_form.toast.age_range"));return}if(c.value[_].value<100||c.value[_].value>220){_n(n("personal_form.toast.height_range"));return}if(c.value[E].value<10||c.value[E].value>150){_n(n("personal_form.toast.weight_range"));return}const v=c.value.map(N=>{const{value:I,taste:G,taboo:te}=N;return{key:N.key,value:I,taste:G,taboo:te}});localStorage.setItem("personalInfo",JSON.stringify(v));const S=`${i.query};
|
|
74
|
-
${n("personal_form.sex")}:${c.value.find(N=>N.key==="sex").value};
|
|
75
|
-
${n("personal_form.age")}:${c.value[g].value}${c.value[g].unit||""};
|
|
76
|
-
${n("personal_form.height")}:${c.value[_].value}${c.value[_].unit||""};
|
|
77
|
-
${n("personal_form.weight")}:${c.value[E].value}${c.value[E].unit||""};
|
|
78
|
-
${n("personal_form.sport")}:${n(`personal_form.sport_list.${c.value.find(N=>N.key==="sport").value}`)};
|
|
79
|
-
${n("personal_form.taste")}:${c.value.find(N=>N.key==="taste").value?c.value.find(N=>N.key==="taste").value:n("personal_form.no_taboo")};`;console.log(S),f("submit",[{content:S,text:S}])},w=(g,_)=>{s.value[_].includes(g)?s.value[_]=s.value[_].filter(E=>E!==g):s.value[_].push(g)},A=g=>{s.value.sport=g.key,p()},T=g=>{s.value.sex=g,p()};return(g,_)=>(j(),V(he,null,[F("div",jy,[F("div",Uy,[(j(!0),V(he,null,ct(c.value,E=>(j(),V("div",{key:E.key,class:"pf_row"},[F("div",{class:vt(["title",{is_required:E.required}])},ae(E.label),3),F("div",{class:"content",onClick:v=>h(E)},[F("span",{class:"text_row",style:wn({color:E.value?"#000":"#75759d"})},ae(E.value?E.key==="sport"?un(n)(`personal_form.sport_list.${E.value}`):`${E.value} ${E.unit||""}`:E.placeholder),5),W(ld,{class:"arrow"})],8,Vy)]))),128))]),F("div",{class:vt(["pf_btn",{disabled:!d.value}]),onClick:Te(x,["stop"])},ae(un(n)("personal_form.button")),3)]),W(e5,{show:r.value,"onUpdate:show":_[3]||(_[3]=E=>r.value=E),title:s.value.title,height:s.value.dialogHeight,onConfirm:p},{default:m0(()=>[s.value.key==="sex"?(j(),V("div",Hy,[F("div",{class:vt({sex:!0,selected:s.value.sex==="male"}),onClick:_[0]||(_[0]=Te(E=>T("male"),["stop"]))},ae(un(n)("personal_form.sex_options.male")),3),F("div",{class:vt({sex:!0,selected:s.value.sex==="female"}),onClick:_[1]||(_[1]=Te(E=>T("female"),["stop"]))},ae(un(n)("personal_form.sex_options.female")),3)])):Ie("",!0),["age","height","weight"].includes(s.value.key)?(j(),V("div",zy,[W(un(Ty),{modelValue:s.value[s.value.key],"onUpdate:modelValue":_[2]||(_[2]=E=>s.value[s.value.key]=E),class:"input",type:s.value.type,min:s.value.min,max:s.value.max,onKeyup:uf(p,["enter"]),placeholder:"请输入"},null,8,["modelValue","type","min","max"]),F("div",Wy,ae(s.value.unit),1)])):Ie("",!0),s.value.key==="sport"?(j(),V("div",qy,[(j(!0),V(he,null,ct(o.value,E=>(j(),V("div",{key:E.key,class:vt({row:!0,selected:s.value.sport===E.key}),onClick:Te(v=>A(E),["stop"])},[F("div",Gy,ae(E.name),1),F("div",Ky,ae(E.sub),1)],10,Yy))),128))])):Ie("",!0),s.value.key==="taste"?(j(),V("div",Xy,[_[4]||(_[4]=F("div",{class:"title"},"口味偏好",-1)),F("div",Zy,[(j(!0),V(he,null,ct(a.value,E=>(j(),V("div",{class:vt({tag:!0,selected:s.value.taste.includes(E)}),key:E,onClick:Te(v=>w(E,"taste"),["stop"])},ae(E),11,Jy))),128))]),_[5]||(_[5]=F("div",{class:"line"},null,-1)),_[6]||(_[6]=F("div",{class:"title"},"饮食禁忌",-1)),F("div",Qy,[(j(!0),V(he,null,ct(l.value,E=>(j(),V("div",{class:vt({tag:!0,selected:s.value.taboo.includes(E)}),key:E,onClick:Te(v=>w(E,"taboo"),["stop"])},ae(E),11,ex))),128))])])):Ie("",!0)]),_:1},8,["show","title","height"])],64))}},nx=ze(tx,[["__scopeId","data-v-06b2822d"]]),ux={class:"cui_box"},rx={class:"cui_wrap"},ix={key:0,class:"cui_header"},sx={class:"name_box"},ox={class:"name"},ax={key:0,class:"name_sub"},lx={class:"btn_group"},cx={style:{"font-size":"14px"}},fx={class:"btn"},dx={class:"btn"},hx={class:"cui_content"},px={key:0,style:{"text-align":"left","margin-top":"50px"}},mx={style:{"text-align":"center"}},gx=["src"],bx={class:"board_name"},_x={class:"board_desc"},vx={class:"flexcss"},yx=["onClick"],xx={key:0,class:"replay role_sys"},Ex={class:"replay_content"},Cx={class:"name"},kx=["src"],wx={class:"box"},Ax={key:0,class:"think_status"},Tx={key:1,class:"think_status"},Dx={class:"think_text"},Sx={key:0},Ix={key:4},Fx={key:1},Lx={key:2,class:"loading_row"},Ox={key:1,class:"replay role_user"},Nx={class:"replay_content"},Px={class:"name"},Mx=["src"],Rx={class:"box"},$x=["innerHTML"],Bx={key:0},jx={__name:"ChatUi",props:{logo:{type:String,default:"https://prodstatic.weis1606.cn/api/smartFood/icon/weis_logo.png"},avatar:{type:String,default:"https://prodstatic.weis1606.cn/api/smartFood/icon/def_gray.svg"},name:{type:String,default:"Weis Bot"},nameSub:{type:String,default:"nutribite.com"},botId:{type:String,required:!0},uid:{type:String,required:!0,default:"user"},channel:{type:String,default:"web"},token:{type:String,required:!0},postToken:{type:String,default:""},showHeader:{type:Boolean,default:!0},tagList:{type:Array,default:()=>[{name:"人工客服",value:"kefu",type:"chat",msg:"人工客服"},{name:"查看菜单",value:"menu",type:"call",msg:"查看菜单"},{name:"体检报告",value:"exam",type:"upload",msg:"体检报告"}]},defMsg:{type:Object,default:()=>({})},contentTye:{type:String,default:"text"},cardList:{type:Object,default:()=>({store:!0,dishes:!0,plan:!0,personalForm:!1})},storage:{type:String,default:"sessionStorage"},needLog:{type:Boolean,default:!1},firstMsg:{type:String,default:""},lang:{type:String,default:"zh-CN"}},emits:["call","log"],setup(e,{emit:t}){const{t:n}=qu(),u=xe(()=>({headers:{Authorization:`Bearer ${d.token}`,"Content-Type":"application/json"}})),r=ne(""),i=ne(!1),s=ne("00"),o=ne([]),a=ne(!1),l=ne(1),c={placeholder:n("msg_obj.placeholder"),fileText:n("msg_obj.fileText"),uploadingTips:n("msg_obj.uploadingTips"),matchText:n("msg_obj.matchText"),matchContent:n("msg_obj.matchContent"),energy:n("msg_obj.energy"),protein:n("msg_obj.protein"),fat:n("msg_obj.fat"),carbonwater:n("msg_obj.carbonwater"),newChat:n("msg_obj.newChat"),thinking:n("msg_obj.thinking"),thinkCompleted:n("msg_obj.thinkCompleted"),useSolution:n("msg_obj.useSolution"),aiTips:n("msg_obj.aiTips")},f={store:!0,dishes:!0,plan:!0,personalForm:!1},d=e,h=t;Je(()=>d.lang,H=>{Uf.global.locale.value=H},{immediate:!0});const p=xe(()=>({...c,...d.defMsg})),x=xe(()=>({...f,...d.cardList})),w=ne(null),A=ne(""),T=ne({}),g={setItem:(H,re)=>{d.storage==="sessionStorage"?sessionStorage.setItem(H,re):localStorage.setItem(H,re)},getItem:H=>d.storage==="sessionStorage"?sessionStorage.getItem(H):localStorage.getItem(H)};Ht(async()=>{localStorage.setItem("postToken",d.postToken||""),g.getItem("conversationId")?(r.value=g.getItem("conversationId"),await N(),await S(),a.value=!1):(await E(),d.firstMsg&&await _()),ee()});const _=async()=>{const H=[{params:{planType:"03",profileInfo:{birthday:"20010101",motion:"01",sex:"2",weight:"50",height:"160"}},age:25,msg:`本食谱为均衡营养版${d.firstMsg}的食疗调养方案示例,依据以下女性常规身体数据制定:
|
|
80
|
-
性别:女;
|
|
81
|
-
年龄:25岁;
|
|
82
|
-
身高:160cm;
|
|
83
|
-
体重:50kg;
|
|
84
|
-
日常运动水平:久坐;
|
|
85
|
-
口味偏好及饮食禁忌:无;
|
|
86
|
-
如需定制贴合个人情况的专属方案,请前往完善个人身体数据,获取个性化定制食谱。`},{params:{planType:"03",profileInfo:{birthday:"20010101",motion:"01",sex:"1",weight:"65",height:"170"}},age:25,msg:`本食谱为均衡营养版${d.firstMsg}的食疗调养方案示例,依据以下男性常规身体数据制定:
|
|
87
|
-
性别:男;
|
|
88
|
-
年龄:25岁;
|
|
89
|
-
身高:170cm;
|
|
90
|
-
体重:65kg;
|
|
91
|
-
日常运动水平:久坐;
|
|
92
|
-
口味偏好及饮食禁忌:无;
|
|
93
|
-
如需定制贴合个人情况的专属方案,请前往完善个人身体数据,获取个性化定制食谱。`},{params:{planType:"01",profileInfo:{birthday:"19910101",motion:"01",sex:"2",weight:"65",height:"160"}},age:35,msg:`本食谱为控卡版${d.firstMsg}的食疗调养方案示例,依据以下女性常规身体数据制定:
|
|
94
|
-
性别:女;
|
|
95
|
-
年龄:35岁;
|
|
96
|
-
身高:160cm;
|
|
97
|
-
体重:65kg;
|
|
98
|
-
日常运动水平:久坐;
|
|
99
|
-
口味偏好及饮食禁忌:无;
|
|
100
|
-
如需定制贴合个人情况的专属方案,请前往完善个人身体数据,获取个性化定制食谱。`},{params:{planType:"01",profileInfo:{birthday:"19910101",motion:"01",sex:"1",weight:"75",height:"170"}},age:35,msg:`本食谱为控卡版${d.firstMsg}的食疗调养方案示例,依据以下男性常规身体数据制定:
|
|
101
|
-
性别:男;
|
|
102
|
-
年龄:35岁;
|
|
103
|
-
身高:170cm;
|
|
104
|
-
体重:75kg;
|
|
105
|
-
日常运动水平:久坐;
|
|
106
|
-
口味偏好及饮食禁忌:无;
|
|
107
|
-
如需定制贴合个人情况的专属方案,请前往完善个人身体数据,获取个性化定制食谱。`}];let re=localStorage.getItem("preset_point")||0;re++,re>=H.length&&(re=0),localStorage.setItem("preset_point",re);const J=H[re],ie=`帮我定制${d.firstMsg}的⻝疗调养⽅案`;o.value=[{conversation_id:"",bot_id:d.botId,role:"user",content:ie,reasoning_content:"",status:"ended",extra:[]}];const Ge=await ai("/api/cn.weis.api.Food/bdGeneralTemp",{method:"bdGeneralTemp",params:[{...J.params}],token:d.postToken});if(Ge.errCode===0&&Ge.obj){const Ae={};(Ge.obj.planDetails||[]).forEach(Ce=>{Ae[Ce.category]={energy:`热量:${Ce.totalKcal}kcal`,carbonWater:`碳水:${Ce.carbohydrateTotal}g`,protein:`蛋白质:${Ce.proteinTotal}g`,fat:`脂肪:${Ce.fatTotal}g`}});const At=`我将为您出通用的食谱建议,如您有定制化健康诉求,请点击下方“私人订制个性食谱”来让我结合您的个人情况制定个性化配餐计划
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
| 早餐 | | 午餐 |
|
|
111
|
-
|------------|----------|----|
|
|
112
|
-
| ${Ae["01"].energy} | | ${Ae["02"].energy} |
|
|
113
|
-
| ${Ae["01"].carbonWater} | | ${Ae["02"].carbonWater} |
|
|
114
|
-
| ${Ae["01"].protein} | | ${Ae["02"].protein} |
|
|
115
|
-
| ${Ae["01"].fat} | | ${Ae["02"].fat} |
|
|
116
|
-
|
|
117
|
-
| 晚餐 | | 加餐 |
|
|
118
|
-
|------------|----------|----|
|
|
119
|
-
| ${Ae["03"].energy} | | ${Ae["04"].energy} |
|
|
120
|
-
| ${Ae["03"].carbonWater} | | ${Ae["04"].carbonWater} |
|
|
121
|
-
| ${Ae["03"].protein} | | ${Ae["04"].protein} |
|
|
122
|
-
| ${Ae["03"].fat} | | ${Ae["04"].fat} |`;o.value.push({conversation_id:"",bot_id:d.botId,role:"assistant",content:At,reasoning_content:"",status:"ended",extra:[{...Ge.obj,showType:"card"}]}),h("log",{turns:l.value,info:{...o.value[o.value.length-1],question:{content:ie,role:"user"}}})}},E=async()=>{const H=await ai("https://api.coze.cn/v1/conversation/create",{bot_id:d.botId,connector_id:"999"},{...u.value});a.value=!0,l.value=0,console.log(H),H.code===0&&H.data&&(r.value=H.data.id||"",g.setItem("conversationId",r.value),o.value=[],await N())},v=async H=>{s.value="01";let re=Array.isArray(H);const J=d.botId;if(!(!i.value&&(A.value||re)))return;const _e=A.value;console.log("== user send ==",re,H,_e),i.value=!0;const ie=[],Ge={conversation_id:r.value,bot_id:J,role:"user",content:"",reasoning_content:"",status:"ended",extra:[]},Ae=`chat_${new Date().getTime()};`;H.forEach(Ee=>{Ee.hasOwnProperty("content")&&Ee.content&&(Ee.hasOwnProperty("type")&&Ee.type==="object_string"?(console.log("=== item ====",Ee),ie.push({content:JSON.stringify(Ee.content.map(y=>({type:y.type,file_id:y.file_id}))),content_type:"object_string",role:"user",meta_data:{chat_group:Ae}}),Ge.extra=Ee.content.map(y=>({...y,showType:y.type}))):(Ge.content=Ee.text,ie.push({content:Ee.content,content_type:"text",role:"user",meta_data:{chat_group:Ae}})))}),o.value.push(Ge),s.value="02";const At=await fetch(`https://api.coze.cn/v3/chat?conversation_id=${r.value}`,{method:"POST",headers:{...u.value.headers},body:JSON.stringify({bot_id:J,user_id:d.uid,stream:!0,connector_id:"999",additional_messages:ie,custom_variables:{uid:d.uid}}),credentials:"same-origin",mode:"cors",cache:"default"});s.value="03",o.value.push({conversation_id:"",bot_id:"",role:"assistant",content:"",reasoning_content:"",status:"answering",extra:[]}),ee(),A.value="";const Ce=o.value.length-1,$=At.body.getReader(),ce=new TextDecoder("utf-8");let fe="";const ke=()=>{console.log("======= End ======",o.value,a.value),a.value&&(o.value[Ce].extra.findIndex(Ee=>Ee.hasOwnProperty("showType"))===-1&&o.value[Ce].extra.push({showType:"personalForm"}),a.value=!1,console.log("===============",o.value[Ce]))};for(;;){const{done:Ee,value:y}=await $.read();if(Ee){console.log("Stream has ended."),i.value=!1,s.value="00",o.value[Ce].status="ended",ke(),d.needLog&&(h("log",{turns:l.value,info:{...o.value[Ce],question:{...Ge}}}),l.value+=1),ee();break}const k=ce.decode(y,{stream:!0});fe+=k;const C=fe.split(`
|
|
123
|
-
`);fe=C.pop(),C.forEach(O=>{if(O.trim().length>0&&O.trim().startsWith("data:")){const B=O.replace(/^data:\s*/,""),M=JSON.parse(B);if(console.log("Received:",M),i.value=!0,s.value="04",!o.value[Ce].bot_id&&M.bot_id&&(o.value[Ce].bot_id=M.bot_id),!o.value[Ce].conversation_id&&M.conversation_id&&(o.value[Ce].conversation_id=M.conversation_id),M.hasOwnProperty("reasoning_content")&&M.reasoning_content&&M.type==="answer")o.value[Ce].status="thinking",o.value[Ce].reasoning_content+=M.reasoning_content,ee();else if(M.hasOwnProperty("content")&&M.hasOwnProperty("content_type")&&M.content_type==="text"&&M.hasOwnProperty("type")&&M.type==="answer"&&!M.hasOwnProperty("created_at"))o.value[Ce].status="answering",o.value[Ce].content=I(o.value[Ce].content+M.content),ee();else if(M.hasOwnProperty("type")&&M.type==="tool_response"){const Y=JSON.parse(M.content);if(Y.hasOwnProperty("showType"))o.value[Ce].extra.push({...Y});else if(Y.hasOwnProperty("response_for_model")){const q=JSON.parse(Y.response_for_model);q.hasOwnProperty("showType")&&o.value[Ce].extra.push({...q})}ee()}}})}console.log("====",o.value)},S=async()=>{const H=await ai(`https://api.coze.cn/v1/conversation/message/list?conversation_id=${r.value}`,{order:"asc"},{...u.value});if(H.code===0&&H.data&&H.data.length){o.value=[];const re=[];H.data.forEach(J=>{if(J.hasOwnProperty("content_type")){if(J.content_type==="text")o.value.push({chat_id:J.chat_id,conversation_id:J.conversation_id,bot_id:J.bot_id,role:J.role,meta_data:J.meta_data,content:I(J.content),reasoning_content:J.reasoning_content,status:"ended",extra:[]});else if(J.content_type==="card"&&J.role==="assistant")try{const _e=JSON.parse(J.content);if(_e.hasOwnProperty("showType"))re.push({chat_id:J.chat_id,conversation_id:J.conversation_id,bot_id:J.bot_id,role:J.role,extra:[{..._e}]});else if(_e.hasOwnProperty("response_for_model")){const ie=JSON.parse(_e.response_for_model);ie.hasOwnProperty("showType")&&re.push({chat_id:J.chat_id,conversation_id:J.conversation_id,bot_id:J.bot_id,role:J.role,extra:[{...ie}]})}}catch{console.log("== 解析错误 sys==")}else if(J.content_type==="object_string"&&J.role==="user")try{const _e=JSON.parse(J.content);re.push({chat_id:J.chat_id,conversation_id:J.conversation_id,bot_id:J.bot_id,role:J.role,meta_data:J.meta_data,extra:_e.map(ie=>({...ie,showType:ie.type}))})}catch{console.log("== 解析错误 user==")}}}),re.forEach(J=>{const _e=J.role==="user"?o.value.findIndex(ie=>ie.meta_data.chat_group===J.meta_data.chat_group&&ie.role===J.role):o.value.findIndex(ie=>ie.chat_id===J.chat_id&&ie.role===J.role);_e>-1&&(o.value[_e].extra=[...J.extra])})}console.log("== history ==",o.value,x.value)},N=async()=>{const H=await jm(`https://api.coze.cn/v1/bot/get_online_info?bot_id=${d.botId}`,{...u.value});console.log(H),H.code===0&&H.data&&(T.value={...H.data})},I=H=>H,G=()=>{h("call",{type:"back"})},te=H=>{v([{content:H.content,text:H.text}])},U=H=>{switch(console.log(H),H.type){case"chat":v([{content:H.msg,text:H.msg}]);break;case"call":h("call",{...H});break;case"simulate":be(H);break}},K=({type:H},re)=>{switch(H){case"change":v([{content:"換一套菜品",text:"換一套菜品"}]);break;case"match":v([{content:p.value.matchContent,text:p.value.matchText}]);break;case"personalForm":be({msg:"请为我生成一份个性化的健康的食谱",name:"用户信息",type:"simulate",value:"personalForm"});break;default:h("call",{type:H,info:re})}},ue=H=>{switch(H.type){case"new_chat":E();break;default:h("call",H);break}},ee=()=>{setTimeout(()=>{pt(()=>{w.value.scrollIntoView()})},100)};$i("triggerScrollToEnd",ee);const se=H=>/#全日總熱量:(\d*?)kcal/g.test(H),be=H=>{console.log("== simulateChat == ",H),o.value.push({conversation_id:"",bot_id:d.botId,role:"user",content:H.msg,reasoning_content:"",status:"ended",extra:[]});let re={msg:"",extra:[]};switch(H.value){case"personalForm":re.msg="请填写您的身体数据,维小饭将根据你的身体数据智能生成个性化食谱",re.extra=[{showType:"personalForm"}];break;case"contactKF":re.msg="联系专业营养师团队帮你快速实现科学配比的健康餐营养搭配。",re.extra=[{showType:"contactKF"}];break}o.value.push({conversation_id:"",bot_id:d.botId,role:"assistant",content:re.msg,reasoning_content:"",status:"ended",extra:[...re.extra]}),l.value+=1,h("log",{turns:l.value,info:{...o.value[o.value.length-1],question:{content:H.msg,role:"user"}}}),ee()};return(H,re)=>(j(),V("div",ux,[F("div",rx,[e.showHeader?(j(),V("div",ix,[F("div",{class:"title",onClick:Te(S,["stop"])},[F("div",{class:"back",onClick:Te(G,["stop"])},[W(I6)]),F("div",sx,[F("div",ox,ae(e.name),1),e.nameSub?(j(),V("div",ax,ae(e.nameSub),1)):Ie("",!0)])]),F("div",lx,[F("button",{class:"btn",onClick:Te(E,["stop"])},[W(cd,{class:"icon"}),F("span",cx,ae(p.value.newChat),1)]),Or(F("template",null,[F("button",fx,[W(Lm)]),F("button",dx,[W(Vf)])],512),[[Ui,!1]])])])):Ie("",!0),F("div",hx,[T.value&&T.value.onboarding_info?(j(),V("div",px,[F("div",mx,[F("img",{src:T.value.icon_url,alt:"icon",width:"64",height:"64",style:{"border-radius":"15px"}},null,8,gx),F("p",bx,ae(T.value.name),1)]),F("div",_x,ae(T.value.onboarding_info.prologue),1),F("div",vx,[(j(!0),V(he,null,ct(T.value.onboarding_info.suggested_questions,(J,_e)=>(j(),V("span",{key:_e,class:"board_sug",onClick:Te(ie=>v([{content:J,text:J}]),["stop"])},ae(J),9,yx))),128))])])):Ie("",!0),(j(!0),V(he,null,ct(o.value,(J,_e)=>(j(),V(he,{key:_e},[J.role==="assistant"?(j(),V("div",xx,[F("div",Ex,[F("div",Cx,[F("img",{class:"avatar",src:e.logo,alt:"avatar"},null,8,kx),qt(" "+ae(e.name),1)]),F("div",wx,[J.reasoning_content?(j(),V(he,{key:0},[J.status==="thinking"?(j(),V("div",Ax,[W(V6,{class:"icon"}),qt(" "+ae(p.value.thinking),1)])):(j(),V("div",Tx,[W(q6,{class:"icon"}),qt(" "+ae(p.value.thinkCompleted),1)])),F("p",Dx,ae(J.reasoning_content),1)],64)):Ie("",!0),J.content?(j(),V(he,{key:1},[e.contentTye==="text"?(j(),xt(X6,{key:0,content:J.content},null,8,["content"])):e.contentTye==="markdown"?(j(),xt(H8,{key:1,content:J.content},null,8,["content"])):Ie("",!0),i.value?Ie("",!0):(j(),V(he,{key:2},[J.extra.length?(j(),V("div",Sx,[(j(!0),V(he,null,ct(J.extra,(ie,Ge)=>(j(),V(he,{key:Ge},[x.value.dishes&&ie.showType==="card"?(j(),xt(h3,{key:0,"sku-list":ie.skuList,"is-mini":!e.showHeader,"def-msg":p.value,channel:e.channel,onSelect:Ae=>K(Ae,ie)},null,8,["sku-list","is-mini","def-msg","channel","onSelect"])):Ie("",!0),x.value.plan&&ie.showType==="plan"?(j(),xt(L3,{key:1,info:ie,"def-msg":p.value,onSelect:Ae=>K({type:"match"},ie)},null,8,["info","def-msg","onSelect"])):Ie("",!0),x.value.store&&ie.showType==="store"?(j(),xt(n4,{key:2,list:ie.storeList,onSelect:te},null,8,["list"])):Ie("",!0),x.value.personalForm&&ie.showType==="personalForm"?(j(),xt(nx,{key:3,query:e.firstMsg,onSubmit:v},null,8,["query"])):Ie("",!0),ie.showType==="contactKF"?(j(),V("div",Ix,re[2]||(re[2]=[qt(" 电话热线:"),F("a",{href:"tel:4006681606"},"400 6681 606",-1),F("img",{src:"https://prodstatic.weis1606.cn/api/smartFood/mealPlan/contact_kf.png",alt:"",width:"100%",style:{"margin-top":"10px"}},null,-1)]))):Ie("",!0)],64))),128))])):se(J.content)?(j(),V("div",Fx,[F("div",{class:"cui_btn cui_btn_2",onClick:re[0]||(re[0]=Te(ie=>K({type:"match"},{}),["stop"]))},ae(p.value.useSolution),1)])):Ie("",!0)],64))],64)):Ie("",!0),i.value&&_e===o.value.length-1?(j(),V("div",Lx,[re[3]||(re[3]=qt(" Ai努力生成中... ")),W(N6)])):Ie("",!0)])])])):(j(),V("div",Ox,[F("div",Nx,[F("div",Px,[re[4]||(re[4]=qt(" 健康用户 ")),F("img",{class:"avatar",src:e.avatar,alt:"avatar"},null,8,Mx)]),F("div",Rx,[F("p",{class:"text",innerHTML:J.content},null,8,$x),J.extra.length?(j(),V("div",Bx,[W($6,{list:J.extra},null,8,["list"])])):Ie("",!0)])])]))],64))),128)),F("div",{ref_key:"endTarget",ref:w,style:{height:"100px"}},null,512)]),W(A6,{modelValue:A.value,"onUpdate:modelValue":re[1]||(re[1]=J=>A.value=J),"new-chat":!e.showHeader,token:e.token,"tag-list":e.tagList,"def-msg":p.value,"is-req":s.value,onSend:v,onTag:U,onCall:ue},null,8,["modelValue","new-chat","token","tag-list","def-msg","is-req"])])]))}},Ux=ze(jx,[["__scopeId","data-v-85614598"]]),Vx={style:{width:"100vw",height:"100vh"}},Hx={__name:"App",setup(e){const t=n=>{console.log("== message log ==",n)};return(n,u)=>(j(),V("div",Vx,[W(Ux,{"bot-id":"7602196347097366547",token:"sat_cSmj7ZyuePbkEpOKR7F259YuIfp2fjX9rJ3Om2O0gB9JzrGjAk8pSL269rbu8kzr",uid:"0","def-msg":{placeholder:"发消息..."},"show-header":!1,"card-list":{dishes:!0,personalForm:!0},"tag-list":[{name:"用户信息",value:"personalForm",type:"simulate",msg:"请为我生成一份个性化的健康的食谱。"},{name:"人工客服",value:"contactKF",type:"simulate",msg:"联系人工客服"}],"need-log":!0,"post-token":"CE73EA32DA06F05C3F522FE8E5E1420399E9C8433CD4932C","first-msg":"减脂减重","content-tye":"markdown",lang:"en-US",onLog:t})]))}};sf(Hx).use(W_,{defaultOptions:{navbar:!1,toolbar:{flipHorizontal:!1,flipVertical:!1,next:!1,prev:!1,play:!1,reset:!0,oneToOne:!0,rotateLeft:!0,rotateRight:!0,zoomIn:!0,zoomOut:!0}}}).use(Uf).mount("#app")});export default zx();
|