mirror of
https://gitee.com/myxzgzs/boyuehasfj-vue3-html.git
synced 2025-08-07 22:52:42 +08:00
39 lines
196 KiB
JavaScript
39 lines
196 KiB
JavaScript
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/LawListView-QP4siuzG.js","assets/Pagination-CPYGqmDh.js","assets/Pagination-wcAoWHYR.css","assets/LawListView-DaJADi1Z.css","assets/CaseListView-7zanRSPt.js","assets/CaseListView-Df4BL-Ha.css","assets/FormListView-DQyGqgEU.js","assets/FormListView-D7hCt0sS.css","assets/QRCodesView-DdqwMmpH.js","assets/QRCodesView-Y6kV9Tb7.css","assets/SearchResultsView-CB_YbNqO.js","assets/SearchResultsView-DwFS11Nn.css"])))=>i.map(i=>d[i]);
|
||
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerPolicy&&(o.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?o.credentials="include":r.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function s(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}})();/**
|
||
* @vue/shared v3.5.16
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**//*! #__NO_SIDE_EFFECTS__ */function eo(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ae={},Qt=[],ot=()=>{},Ya=()=>!1,Ps=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),to=e=>e.startsWith("onUpdate:"),Te=Object.assign,no=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Qa=Object.prototype.hasOwnProperty,re=(e,t)=>Qa.call(e,t),q=Array.isArray,Xt=e=>hn(e)==="[object Map]",Is=e=>hn(e)==="[object Set]",Lo=e=>hn(e)==="[object Date]",Xa=e=>hn(e)==="[object RegExp]",G=e=>typeof e=="function",me=e=>typeof e=="string",it=e=>typeof e=="symbol",pe=e=>e!==null&&typeof e=="object",Ki=e=>(pe(e)||G(e))&&G(e.then)&&G(e.catch),zi=Object.prototype.toString,hn=e=>zi.call(e),Za=e=>hn(e).slice(8,-1),Wi=e=>hn(e)==="[object Object]",so=e=>me(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,An=eo(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),xs=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},ec=/-(\w)/g,ze=xs(e=>e.replace(ec,(t,n)=>n?n.toUpperCase():"")),tc=/\B([A-Z])/g,jt=xs(e=>e.replace(tc,"-$1").toLowerCase()),Os=xs(e=>e.charAt(0).toUpperCase()+e.slice(1)),or=xs(e=>e?`on${Os(e)}`:""),It=(e,t)=>!Object.is(e,t),Zt=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Ji=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},ds=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let $o;const Ns=()=>$o||($o=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ro(e){if(q(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=me(s)?oc(s):ro(s);if(r)for(const o in r)t[o]=r[o]}return t}else if(me(e)||pe(e))return e}const nc=/;(?![^(]*\))/g,sc=/:([^]+)/,rc=/\/\*[^]*?\*\//g;function oc(e){const t={};return e.replace(rc,"").split(nc).forEach(n=>{if(n){const s=n.split(sc);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Fe(e){let t="";if(me(e))t=e;else if(q(e))for(let n=0;n<e.length;n++){const s=Fe(e[n]);s&&(t+=s+" ")}else if(pe(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const ic="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",lc=eo(ic);function Gi(e){return!!e||e===""}function ac(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=Ls(e[s],t[s]);return n}function Ls(e,t){if(e===t)return!0;let n=Lo(e),s=Lo(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=it(e),s=it(t),n||s)return e===t;if(n=q(e),s=q(t),n||s)return n&&s?ac(e,t):!1;if(n=pe(e),s=pe(t),n||s){if(!n||!s)return!1;const r=Object.keys(e).length,o=Object.keys(t).length;if(r!==o)return!1;for(const i in e){const a=e.hasOwnProperty(i),l=t.hasOwnProperty(i);if(a&&!l||!a&&l||!Ls(e[i],t[i]))return!1}}return String(e)===String(t)}function cc(e,t){return e.findIndex(n=>Ls(n,t))}const Yi=e=>!!(e&&e.__v_isRef===!0),he=e=>me(e)?e:e==null?"":q(e)||pe(e)&&(e.toString===zi||!G(e.toString))?Yi(e)?he(e.value):JSON.stringify(e,Qi,2):String(e),Qi=(e,t)=>Yi(t)?Qi(e,t.value):Xt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],o)=>(n[ir(s,o)+" =>"]=r,n),{})}:Is(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ir(n))}:it(t)?ir(t):pe(t)&&!q(t)&&!Wi(t)?String(t):t,ir=(e,t="")=>{var n;return it(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
||
* @vue/reactivity v3.5.16
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/let Ne;class Xi{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Ne,!t&&Ne&&(this.index=(Ne.scopes||(Ne.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=Ne;try{return Ne=this,t()}finally{Ne=n}}}on(){++this._on===1&&(this.prevScope=Ne,Ne=this)}off(){this._on>0&&--this._on===0&&(Ne=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(this.effects.length=0,n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,s=this.scopes.length;n<s;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 uc(e){return new Xi(e)}function fc(){return Ne}let de;const lr=new WeakSet;class Zi{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,Ne&&Ne.active&&Ne.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,lr.has(this)&&(lr.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||tl(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Mo(this),nl(this);const t=de,n=Je;de=this,Je=!0;try{return this.fn()}finally{sl(this),de=t,Je=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)lo(t);this.deps=this.depsTail=void 0,Mo(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?lr.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Ir(this)&&this.run()}get dirty(){return Ir(this)}}let el=0,Sn,Rn;function tl(e,t=!1){if(e.flags|=8,t){e.next=Rn,Rn=e;return}e.next=Sn,Sn=e}function oo(){el++}function io(){if(--el>0)return;if(Rn){let t=Rn;for(Rn=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Sn;){let t=Sn;for(Sn=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function nl(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function sl(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),lo(s),dc(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function Ir(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(rl(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function rl(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===$n)||(e.globalVersion=$n,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Ir(e))))return;e.flags|=2;const t=e.dep,n=de,s=Je;de=e,Je=!0;try{nl(e);const r=e.fn(e._value);(t.version===0||It(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{de=n,Je=s,sl(e),e.flags&=-3}}function lo(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)lo(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function dc(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Je=!0;const ol=[];function yt(){ol.push(Je),Je=!1}function wt(){const e=ol.pop();Je=e===void 0?!0:e}function Mo(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=de;de=void 0;try{t()}finally{de=n}}}let $n=0;class hc{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 ao{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(!de||!Je||de===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==de)n=this.activeLink=new hc(de,this),de.deps?(n.prevDep=de.depsTail,de.depsTail.nextDep=n,de.depsTail=n):de.deps=de.depsTail=n,il(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=de.depsTail,n.nextDep=void 0,de.depsTail.nextDep=n,de.depsTail=n,de.deps===n&&(de.deps=s)}return n}trigger(t){this.version++,$n++,this.notify(t)}notify(t){oo();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{io()}}}function il(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)il(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const xr=new WeakMap,Dt=Symbol(""),Or=Symbol(""),Mn=Symbol("");function Ae(e,t,n){if(Je&&de){let s=xr.get(e);s||xr.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new ao),r.map=s,r.key=n),r.track()}}function pt(e,t,n,s,r,o){const i=xr.get(e);if(!i){$n++;return}const a=l=>{l&&l.trigger()};if(oo(),t==="clear")i.forEach(a);else{const l=q(e),c=l&&so(n);if(l&&n==="length"){const u=Number(s);i.forEach((f,h)=>{(h==="length"||h===Mn||!it(h)&&h>=u)&&a(f)})}else switch((n!==void 0||i.has(void 0))&&a(i.get(n)),c&&a(i.get(Mn)),t){case"add":l?c&&a(i.get("length")):(a(i.get(Dt)),Xt(e)&&a(i.get(Or)));break;case"delete":l||(a(i.get(Dt)),Xt(e)&&a(i.get(Or)));break;case"set":Xt(e)&&a(i.get(Dt));break}}io()}function zt(e){const t=se(e);return t===e?t:(Ae(t,"iterate",Mn),Ke(e)?t:t.map(_e))}function $s(e){return Ae(e=se(e),"iterate",Mn),e}const pc={__proto__:null,[Symbol.iterator](){return ar(this,Symbol.iterator,_e)},concat(...e){return zt(this).concat(...e.map(t=>q(t)?zt(t):t))},entries(){return ar(this,"entries",e=>(e[1]=_e(e[1]),e))},every(e,t){return ft(this,"every",e,t,void 0,arguments)},filter(e,t){return ft(this,"filter",e,t,n=>n.map(_e),arguments)},find(e,t){return ft(this,"find",e,t,_e,arguments)},findIndex(e,t){return ft(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return ft(this,"findLast",e,t,_e,arguments)},findLastIndex(e,t){return ft(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return ft(this,"forEach",e,t,void 0,arguments)},includes(...e){return cr(this,"includes",e)},indexOf(...e){return cr(this,"indexOf",e)},join(e){return zt(this).join(e)},lastIndexOf(...e){return cr(this,"lastIndexOf",e)},map(e,t){return ft(this,"map",e,t,void 0,arguments)},pop(){return wn(this,"pop")},push(...e){return wn(this,"push",e)},reduce(e,...t){return Bo(this,"reduce",e,t)},reduceRight(e,...t){return Bo(this,"reduceRight",e,t)},shift(){return wn(this,"shift")},some(e,t){return ft(this,"some",e,t,void 0,arguments)},splice(...e){return wn(this,"splice",e)},toReversed(){return zt(this).toReversed()},toSorted(e){return zt(this).toSorted(e)},toSpliced(...e){return zt(this).toSpliced(...e)},unshift(...e){return wn(this,"unshift",e)},values(){return ar(this,"values",_e)}};function ar(e,t,n){const s=$s(e),r=s[t]();return s!==e&&!Ke(e)&&(r._next=r.next,r.next=()=>{const o=r._next();return o.value&&(o.value=n(o.value)),o}),r}const gc=Array.prototype;function ft(e,t,n,s,r,o){const i=$s(e),a=i!==e&&!Ke(e),l=i[t];if(l!==gc[t]){const f=l.apply(e,o);return a?_e(f):f}let c=n;i!==e&&(a?c=function(f,h){return n.call(this,_e(f),h,e)}:n.length>2&&(c=function(f,h){return n.call(this,f,h,e)}));const u=l.call(i,c,s);return a&&r?r(u):u}function Bo(e,t,n,s){const r=$s(e);let o=n;return r!==e&&(Ke(e)?n.length>3&&(o=function(i,a,l){return n.call(this,i,a,l,e)}):o=function(i,a,l){return n.call(this,i,_e(a),l,e)}),r[t](o,...s)}function cr(e,t,n){const s=se(e);Ae(s,"iterate",Mn);const r=s[t](...n);return(r===-1||r===!1)&&fo(n[0])?(n[0]=se(n[0]),s[t](...n)):r}function wn(e,t,n=[]){yt(),oo();const s=se(e)[t].apply(e,n);return io(),wt(),s}const mc=eo("__proto__,__v_isRef,__isVue"),ll=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(it));function yc(e){it(e)||(e=String(e));const t=se(this);return Ae(t,"has",e),t.hasOwnProperty(e)}class al{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const r=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return o;if(n==="__v_raw")return s===(r?o?Tc:dl:o?fl:ul).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const i=q(t);if(!r){let l;if(i&&(l=pc[n]))return l;if(n==="hasOwnProperty")return yc}const a=Reflect.get(t,n,Re(t)?t:s);return(it(n)?ll.has(n):mc(n))||(r||Ae(t,"get",n),o)?a:Re(a)?i&&so(n)?a:a.value:pe(a)?r?pl(a):Ms(a):a}}class cl extends al{constructor(t=!1){super(!1,t)}set(t,n,s,r){let o=t[n];if(!this._isShallow){const l=xt(o);if(!Ke(s)&&!xt(s)&&(o=se(o),s=se(s)),!q(t)&&Re(o)&&!Re(s))return l?!1:(o.value=s,!0)}const i=q(t)&&so(n)?Number(n)<t.length:re(t,n),a=Reflect.set(t,n,s,Re(t)?t:r);return t===se(r)&&(i?It(s,o)&&pt(t,"set",n,s):pt(t,"add",n,s)),a}deleteProperty(t,n){const s=re(t,n);t[n];const r=Reflect.deleteProperty(t,n);return r&&s&&pt(t,"delete",n,void 0),r}has(t,n){const s=Reflect.has(t,n);return(!it(n)||!ll.has(n))&&Ae(t,"has",n),s}ownKeys(t){return Ae(t,"iterate",q(t)?"length":Dt),Reflect.ownKeys(t)}}class wc extends al{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const vc=new cl,bc=new wc,_c=new cl(!0);const Nr=e=>e,Xn=e=>Reflect.getPrototypeOf(e);function Ec(e,t,n){return function(...s){const r=this.__v_raw,o=se(r),i=Xt(o),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,c=r[e](...s),u=n?Nr:t?hs:_e;return!t&&Ae(o,"iterate",l?Or:Dt),{next(){const{value:f,done:h}=c.next();return h?{value:f,done:h}:{value:a?[u(f[0]),u(f[1])]:u(f),done:h}},[Symbol.iterator](){return this}}}}function Zn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Cc(e,t){const n={get(r){const o=this.__v_raw,i=se(o),a=se(r);e||(It(r,a)&&Ae(i,"get",r),Ae(i,"get",a));const{has:l}=Xn(i),c=t?Nr:e?hs:_e;if(l.call(i,r))return c(o.get(r));if(l.call(i,a))return c(o.get(a));o!==i&&o.get(r)},get size(){const r=this.__v_raw;return!e&&Ae(se(r),"iterate",Dt),Reflect.get(r,"size",r)},has(r){const o=this.__v_raw,i=se(o),a=se(r);return e||(It(r,a)&&Ae(i,"has",r),Ae(i,"has",a)),r===a?o.has(r):o.has(r)||o.has(a)},forEach(r,o){const i=this,a=i.__v_raw,l=se(a),c=t?Nr:e?hs:_e;return!e&&Ae(l,"iterate",Dt),a.forEach((u,f)=>r.call(o,c(u),c(f),i))}};return Te(n,e?{add:Zn("add"),set:Zn("set"),delete:Zn("delete"),clear:Zn("clear")}:{add(r){!t&&!Ke(r)&&!xt(r)&&(r=se(r));const o=se(this);return Xn(o).has.call(o,r)||(o.add(r),pt(o,"add",r,r)),this},set(r,o){!t&&!Ke(o)&&!xt(o)&&(o=se(o));const i=se(this),{has:a,get:l}=Xn(i);let c=a.call(i,r);c||(r=se(r),c=a.call(i,r));const u=l.call(i,r);return i.set(r,o),c?It(o,u)&&pt(i,"set",r,o):pt(i,"add",r,o),this},delete(r){const o=se(this),{has:i,get:a}=Xn(o);let l=i.call(o,r);l||(r=se(r),l=i.call(o,r)),a&&a.call(o,r);const c=o.delete(r);return l&&pt(o,"delete",r,void 0),c},clear(){const r=se(this),o=r.size!==0,i=r.clear();return o&&pt(r,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=Ec(r,e,t)}),n}function co(e,t){const n=Cc(e,t);return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(re(n,r)&&r in s?n:s,r,o)}const Ac={get:co(!1,!1)},Sc={get:co(!1,!0)},Rc={get:co(!0,!1)};const ul=new WeakMap,fl=new WeakMap,dl=new WeakMap,Tc=new WeakMap;function Pc(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ic(e){return e.__v_skip||!Object.isExtensible(e)?0:Pc(Za(e))}function Ms(e){return xt(e)?e:uo(e,!1,vc,Ac,ul)}function hl(e){return uo(e,!1,_c,Sc,fl)}function pl(e){return uo(e,!0,bc,Rc,dl)}function uo(e,t,n,s,r){if(!pe(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=Ic(e);if(o===0)return e;const i=r.get(e);if(i)return i;const a=new Proxy(e,o===2?s:n);return r.set(e,a),a}function en(e){return xt(e)?en(e.__v_raw):!!(e&&e.__v_isReactive)}function xt(e){return!!(e&&e.__v_isReadonly)}function Ke(e){return!!(e&&e.__v_isShallow)}function fo(e){return e?!!e.__v_raw:!1}function se(e){const t=e&&e.__v_raw;return t?se(t):e}function gl(e){return!re(e,"__v_skip")&&Object.isExtensible(e)&&Ji(e,"__v_skip",!0),e}const _e=e=>pe(e)?Ms(e):e,hs=e=>pe(e)?pl(e):e;function Re(e){return e?e.__v_isRef===!0:!1}function ce(e){return ml(e,!1)}function xc(e){return ml(e,!0)}function ml(e,t){return Re(e)?e:new Oc(e,t)}class Oc{constructor(t,n){this.dep=new ao,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:se(t),this._value=n?t:_e(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Ke(t)||xt(t);t=s?t:se(t),It(t,n)&&(this._rawValue=t,this._value=s?t:_e(t),this.dep.trigger())}}function mt(e){return Re(e)?e.value:e}const Nc={get:(e,t,n)=>t==="__v_raw"?e:mt(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return Re(r)&&!Re(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function yl(e){return en(e)?e:new Proxy(e,Nc)}class Lc{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new ao(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=$n-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&de!==this)return tl(this,!0),!0}get value(){const t=this.dep.track();return rl(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function $c(e,t,n=!1){let s,r;return G(e)?s=e:(s=e.get,r=e.set),new Lc(s,r,n)}const es={},ps=new WeakMap;let $t;function Mc(e,t=!1,n=$t){if(n){let s=ps.get(n);s||ps.set(n,s=[]),s.push(e)}}function Bc(e,t,n=ae){const{immediate:s,deep:r,once:o,scheduler:i,augmentJob:a,call:l}=n,c=b=>r?b:Ke(b)||r===!1||r===0?gt(b,1):gt(b);let u,f,h,d,g=!1,w=!1;if(Re(e)?(f=()=>e.value,g=Ke(e)):en(e)?(f=()=>c(e),g=!0):q(e)?(w=!0,g=e.some(b=>en(b)||Ke(b)),f=()=>e.map(b=>{if(Re(b))return b.value;if(en(b))return c(b);if(G(b))return l?l(b,2):b()})):G(e)?t?f=l?()=>l(e,2):e:f=()=>{if(h){yt();try{h()}finally{wt()}}const b=$t;$t=u;try{return l?l(e,3,[d]):e(d)}finally{$t=b}}:f=ot,t&&r){const b=f,R=r===!0?1/0:r;f=()=>gt(b(),R)}const C=fc(),S=()=>{u.stop(),C&&C.active&&no(C.effects,u)};if(o&&t){const b=t;t=(...R)=>{b(...R),S()}}let v=w?new Array(e.length).fill(es):es;const _=b=>{if(!(!(u.flags&1)||!u.dirty&&!b))if(t){const R=u.run();if(r||g||(w?R.some((O,L)=>It(O,v[L])):It(R,v))){h&&h();const O=$t;$t=u;try{const L=[R,v===es?void 0:w&&v[0]===es?[]:v,d];v=R,l?l(t,3,L):t(...L)}finally{$t=O}}}else u.run()};return a&&a(_),u=new Zi(f),u.scheduler=i?()=>i(_,!1):_,d=b=>Mc(b,!1,u),h=u.onStop=()=>{const b=ps.get(u);if(b){if(l)l(b,4);else for(const R of b)R();ps.delete(u)}},t?s?_(!0):v=u.run():i?i(_.bind(null,!0),!0):u.run(),S.pause=u.pause.bind(u),S.resume=u.resume.bind(u),S.stop=S,S}function gt(e,t=1/0,n){if(t<=0||!pe(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,Re(e))gt(e.value,t,n);else if(q(e))for(let s=0;s<e.length;s++)gt(e[s],t,n);else if(Is(e)||Xt(e))e.forEach(s=>{gt(s,t,n)});else if(Wi(e)){for(const s in e)gt(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&>(e[s],t,n)}return e}/**
|
||
* @vue/runtime-core v3.5.16
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/function qn(e,t,n,s){try{return s?e(...s):e()}catch(r){Bs(r,t,n)}}function lt(e,t,n,s){if(G(e)){const r=qn(e,t,n,s);return r&&Ki(r)&&r.catch(o=>{Bs(o,t,n)}),r}if(q(e)){const r=[];for(let o=0;o<e.length;o++)r.push(lt(e[o],t,n,s));return r}}function Bs(e,t,n,s=!0){const r=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||ae;if(t){let a=t.parent;const l=t.proxy,c=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const u=a.ec;if(u){for(let f=0;f<u.length;f++)if(u[f](e,l,c)===!1)return}a=a.parent}if(o){yt(),qn(o,null,10,[e,l,c]),wt();return}}Dc(e,n,r,s,i)}function Dc(e,t,n,s=!0,r=!1){if(r)throw e;console.error(e)}const Ie=[];let st=-1;const tn=[];let At=null,Jt=0;const wl=Promise.resolve();let gs=null;function ho(e){const t=gs||wl;return e?t.then(this?e.bind(this):e):t}function Fc(e){let t=st+1,n=Ie.length;for(;t<n;){const s=t+n>>>1,r=Ie[s],o=Bn(r);o<e||o===e&&r.flags&2?t=s+1:n=s}return t}function po(e){if(!(e.flags&1)){const t=Bn(e),n=Ie[Ie.length-1];!n||!(e.flags&2)&&t>=Bn(n)?Ie.push(e):Ie.splice(Fc(t),0,e),e.flags|=1,vl()}}function vl(){gs||(gs=wl.then(_l))}function Uc(e){q(e)?tn.push(...e):At&&e.id===-1?At.splice(Jt+1,0,e):e.flags&1||(tn.push(e),e.flags|=1),vl()}function Do(e,t,n=st+1){for(;n<Ie.length;n++){const s=Ie[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;Ie.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function bl(e){if(tn.length){const t=[...new Set(tn)].sort((n,s)=>Bn(n)-Bn(s));if(tn.length=0,At){At.push(...t);return}for(At=t,Jt=0;Jt<At.length;Jt++){const n=At[Jt];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}At=null,Jt=0}}const Bn=e=>e.id==null?e.flags&2?-1:1/0:e.id;function _l(e){try{for(st=0;st<Ie.length;st++){const t=Ie[st];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),qn(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;st<Ie.length;st++){const t=Ie[st];t&&(t.flags&=-2)}st=-1,Ie.length=0,bl(),gs=null,(Ie.length||tn.length)&&_l()}}let Le=null,El=null;function ms(e){const t=Le;return Le=e,El=e&&e.type.__scopeId||null,t}function ge(e,t=Le,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&zo(-1);const o=ms(t);let i;try{i=e(...r)}finally{ms(o),s._d&&zo(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function kc(e,t){if(Le===null)return e;const n=Hs(Le),s=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[o,i,a,l=ae]=t[r];o&&(G(o)&&(o={mounted:o,updated:o}),o.deep&>(i),s.push({dir:o,instance:n,value:i,oldValue:void 0,arg:a,modifiers:l}))}return e}function Nt(e,t,n,s){const r=e.dirs,o=t&&t.dirs;for(let i=0;i<r.length;i++){const a=r[i];o&&(a.oldValue=o[i].value);let l=a.dir[s];l&&(yt(),lt(l,n,8,[e.el,a,e,t]),wt())}}const jc=Symbol("_vte"),Hc=e=>e.__isTeleport;function Ds(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Ds(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}/*! #__NO_SIDE_EFFECTS__ */function at(e,t){return G(e)?Te({name:e.name},t,{setup:e}):e}function Cl(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function ys(e,t,n,s,r=!1){if(q(e)){e.forEach((g,w)=>ys(g,t&&(q(t)?t[w]:t),n,s,r));return}if(nn(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&ys(e,t,n,s.component.subTree);return}const o=s.shapeFlag&4?Hs(s.component):s.el,i=r?null:o,{i:a,r:l}=e,c=t&&t.r,u=a.refs===ae?a.refs={}:a.refs,f=a.setupState,h=se(f),d=f===ae?()=>!1:g=>re(h,g);if(c!=null&&c!==l&&(me(c)?(u[c]=null,d(c)&&(f[c]=null)):Re(c)&&(c.value=null)),G(l))qn(l,a,12,[i,u]);else{const g=me(l),w=Re(l);if(g||w){const C=()=>{if(e.f){const S=g?d(l)?f[l]:u[l]:l.value;r?q(S)&&no(S,o):q(S)?S.includes(o)||S.push(o):g?(u[l]=[o],d(l)&&(f[l]=u[l])):(l.value=[o],e.k&&(u[e.k]=l.value))}else g?(u[l]=i,d(l)&&(f[l]=i)):w&&(l.value=i,e.k&&(u[e.k]=i))};i?(C.id=-1,be(C,n)):C()}}}Ns().requestIdleCallback;Ns().cancelIdleCallback;const nn=e=>!!e.type.__asyncLoader,Al=e=>e.type.__isKeepAlive,Vc={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Fu(),s=n.ctx;if(!s.renderer)return()=>{const v=t.default&&t.default();return v&&v.length===1?v[0]:v};const r=new Map,o=new Set;let i=null;const a=n.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:f}}}=s,h=f("div");s.activate=(v,_,b,R,O)=>{const L=v.component;c(v,_,b,0,a),l(L.vnode,v,_,b,L,a,R,v.slotScopeIds,O),be(()=>{L.isDeactivated=!1,L.a&&Zt(L.a);const W=v.props&&v.props.onVnodeMounted;W&&Ve(W,L.parent,v)},a)},s.deactivate=v=>{const _=v.component;vs(_.m),vs(_.a),c(v,h,null,1,a),be(()=>{_.da&&Zt(_.da);const b=v.props&&v.props.onVnodeUnmounted;b&&Ve(b,_.parent,v),_.isDeactivated=!0},a)};function d(v){ur(v),u(v,n,a,!0)}function g(v){r.forEach((_,b)=>{const R=Fr(_.type);R&&!v(R)&&w(b)})}function w(v){const _=r.get(v);_&&(!i||!Gt(_,i))?d(_):i&&ur(i),r.delete(v),o.delete(v)}Pn(()=>[e.include,e.exclude],([v,_])=>{v&&g(b=>En(v,b)),_&&g(b=>!En(_,b))},{flush:"post",deep:!0});let C=null;const S=()=>{C!=null&&(bs(n.subTree.type)?be(()=>{r.set(C,ts(n.subTree))},n.subTree.suspense):r.set(C,ts(n.subTree)))};return _t(S),Rl(S),Tl(()=>{r.forEach(v=>{const{subTree:_,suspense:b}=n,R=ts(_);if(v.type===R.type&&v.key===R.key){ur(R);const O=R.component.da;O&&be(O,b);return}d(v)})}),()=>{if(C=null,!t.default)return i=null;const v=t.default(),_=v[0];if(v.length>1)return i=null,v;if(!Fn(_)||!(_.shapeFlag&4)&&!(_.shapeFlag&128))return i=null,_;let b=ts(_);if(b.type===vt)return i=null,b;const R=b.type,O=Fr(nn(b)?b.type.__asyncResolved||{}:R),{include:L,exclude:W,max:ue}=e;if(L&&(!O||!En(L,O))||W&&O&&En(W,O))return b.shapeFlag&=-257,i=b,_;const z=b.key==null?R:b.key,ee=r.get(z);return b.el&&(b=Ut(b),_.shapeFlag&128&&(_.ssContent=b)),C=z,ee?(b.el=ee.el,b.component=ee.component,b.transition&&Ds(b,b.transition),b.shapeFlag|=512,o.delete(z),o.add(z)):(o.add(z),ue&&o.size>parseInt(ue,10)&&w(o.values().next().value)),b.shapeFlag|=256,i=b,bs(_.type)?_:b}}},qc=Vc;function En(e,t){return q(e)?e.some(n=>En(n,t)):me(e)?e.split(",").includes(t):Xa(e)?(e.lastIndex=0,e.test(t)):!1}function Kc(e,t){Sl(e,"a",t)}function zc(e,t){Sl(e,"da",t)}function Sl(e,t,n=Ce){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Fs(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Al(r.parent.vnode)&&Wc(s,t,n,r),r=r.parent}}function Wc(e,t,n,s){const r=Fs(t,e,s,!0);Us(()=>{no(s[t],r)},n)}function ur(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function ts(e){return e.shapeFlag&128?e.ssContent:e}function Fs(e,t,n=Ce,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{yt();const a=zn(n),l=lt(t,n,e,i);return a(),wt(),l});return s?r.unshift(o):r.push(o),o}}const bt=e=>(t,n=Ce)=>{(!Un||e==="sp")&&Fs(e,(...s)=>t(...s),n)},Jc=bt("bm"),_t=bt("m"),Gc=bt("bu"),Rl=bt("u"),Tl=bt("bum"),Us=bt("um"),Yc=bt("sp"),Qc=bt("rtg"),Xc=bt("rtc");function Zc(e,t=Ce){Fs("ec",e,t)}const eu="components";function Kn(e,t){return nu(eu,e,!0,t)||e}const tu=Symbol.for("v-ndc");function nu(e,t,n=!0,s=!1){const r=Le||Ce;if(r){const o=r.type;{const a=Fr(o,!1);if(a&&(a===t||a===ze(t)||a===Os(ze(t))))return o}const i=Fo(r[e]||o[e],t)||Fo(r.appContext[e],t);return!i&&s?o:i}}function Fo(e,t){return e&&(e[t]||e[ze(t)]||e[Os(ze(t))])}function St(e,t,n,s){let r;const o=n,i=q(e);if(i||me(e)){const a=i&&en(e);let l=!1,c=!1;a&&(l=!Ke(e),c=xt(e),e=$s(e)),r=new Array(e.length);for(let u=0,f=e.length;u<f;u++)r[u]=t(l?c?hs(_e(e[u])):_e(e[u]):e[u],u,void 0,o)}else if(typeof e=="number"){r=new Array(e);for(let a=0;a<e;a++)r[a]=t(a+1,a,void 0,o)}else if(pe(e))if(e[Symbol.iterator])r=Array.from(e,(a,l)=>t(a,l,void 0,o));else{const a=Object.keys(e);r=new Array(a.length);for(let l=0,c=a.length;l<c;l++){const u=a[l];r[l]=t(e[u],u,l,o)}}else r=[];return r}const Lr=e=>e?Kl(e)?Hs(e):Lr(e.parent):null,Tn=Te(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=>Lr(e.parent),$root:e=>Lr(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Il(e),$forceUpdate:e=>e.f||(e.f=()=>{po(e.update)}),$nextTick:e=>e.n||(e.n=ho.bind(e.proxy)),$watch:e=>Cu.bind(e)}),fr=(e,t)=>e!==ae&&!e.__isScriptSetup&&re(e,t),su={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:o,accessCache:i,type:a,appContext:l}=e;let c;if(t[0]!=="$"){const d=i[t];if(d!==void 0)switch(d){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(fr(s,t))return i[t]=1,s[t];if(r!==ae&&re(r,t))return i[t]=2,r[t];if((c=e.propsOptions[0])&&re(c,t))return i[t]=3,o[t];if(n!==ae&&re(n,t))return i[t]=4,n[t];$r&&(i[t]=0)}}const u=Tn[t];let f,h;if(u)return t==="$attrs"&&Ae(e.attrs,"get",""),u(e);if((f=a.__cssModules)&&(f=f[t]))return f;if(n!==ae&&re(n,t))return i[t]=4,n[t];if(h=l.config.globalProperties,re(h,t))return h[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return fr(r,t)?(r[t]=n,!0):s!==ae&&re(s,t)?(s[t]=n,!0):re(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:o}},i){let a;return!!n[i]||e!==ae&&re(e,i)||fr(t,i)||(a=o[0])&&re(a,i)||re(s,i)||re(Tn,i)||re(r.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:re(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Uo(e){return q(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let $r=!0;function ru(e){const t=Il(e),n=e.proxy,s=e.ctx;$r=!1,t.beforeCreate&&ko(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:i,watch:a,provide:l,inject:c,created:u,beforeMount:f,mounted:h,beforeUpdate:d,updated:g,activated:w,deactivated:C,beforeDestroy:S,beforeUnmount:v,destroyed:_,unmounted:b,render:R,renderTracked:O,renderTriggered:L,errorCaptured:W,serverPrefetch:ue,expose:z,inheritAttrs:ee,components:We,directives:we,filters:mn}=t;if(c&&ou(c,s,null),i)for(const ie in i){const te=i[ie];G(te)&&(s[ie]=te.bind(n))}if(r){const ie=r.call(n,n);pe(ie)&&(e.data=Ms(ie))}if($r=!0,o)for(const ie in o){const te=o[ie],ut=G(te)?te.bind(n,n):G(te.get)?te.get.bind(n,n):ot,Et=!G(te)&&G(te.set)?te.set.bind(n):ot,Xe=qe({get:ut,set:Et});Object.defineProperty(s,ie,{enumerable:!0,configurable:!0,get:()=>Xe.value,set:xe=>Xe.value=xe})}if(a)for(const ie in a)Pl(a[ie],s,n,ie);if(l){const ie=G(l)?l.call(n):l;Reflect.ownKeys(ie).forEach(te=>{rs(te,ie[te])})}u&&ko(u,e,"c");function ve(ie,te){q(te)?te.forEach(ut=>ie(ut.bind(n))):te&&ie(te.bind(n))}if(ve(Jc,f),ve(_t,h),ve(Gc,d),ve(Rl,g),ve(Kc,w),ve(zc,C),ve(Zc,W),ve(Xc,O),ve(Qc,L),ve(Tl,v),ve(Us,b),ve(Yc,ue),q(z))if(z.length){const ie=e.exposed||(e.exposed={});z.forEach(te=>{Object.defineProperty(ie,te,{get:()=>n[te],set:ut=>n[te]=ut})})}else e.exposed||(e.exposed={});R&&e.render===ot&&(e.render=R),ee!=null&&(e.inheritAttrs=ee),We&&(e.components=We),we&&(e.directives=we),ue&&Cl(e)}function ou(e,t,n=ot){q(e)&&(e=Mr(e));for(const s in e){const r=e[s];let o;pe(r)?"default"in r?o=Ge(r.from||s,r.default,!0):o=Ge(r.from||s):o=Ge(r),Re(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[s]=o}}function ko(e,t,n){lt(q(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Pl(e,t,n,s){let r=s.includes(".")?jl(n,s):()=>n[s];if(me(e)){const o=t[e];G(o)&&Pn(r,o)}else if(G(e))Pn(r,e.bind(n));else if(pe(e))if(q(e))e.forEach(o=>Pl(o,t,n,s));else{const o=G(e.handler)?e.handler.bind(n):t[e.handler];G(o)&&Pn(r,o,e)}}function Il(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,a=o.get(t);let l;return a?l=a:!r.length&&!n&&!s?l=t:(l={},r.length&&r.forEach(c=>ws(l,c,i,!0)),ws(l,t,i)),pe(t)&&o.set(t,l),l}function ws(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&ws(e,o,n,!0),r&&r.forEach(i=>ws(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const a=iu[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const iu={data:jo,props:Ho,emits:Ho,methods:Cn,computed:Cn,beforeCreate:Pe,created:Pe,beforeMount:Pe,mounted:Pe,beforeUpdate:Pe,updated:Pe,beforeDestroy:Pe,beforeUnmount:Pe,destroyed:Pe,unmounted:Pe,activated:Pe,deactivated:Pe,errorCaptured:Pe,serverPrefetch:Pe,components:Cn,directives:Cn,watch:au,provide:jo,inject:lu};function jo(e,t){return t?e?function(){return Te(G(e)?e.call(this,this):e,G(t)?t.call(this,this):t)}:t:e}function lu(e,t){return Cn(Mr(e),Mr(t))}function Mr(e){if(q(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Pe(e,t){return e?[...new Set([].concat(e,t))]:t}function Cn(e,t){return e?Te(Object.create(null),e,t):t}function Ho(e,t){return e?q(e)&&q(t)?[...new Set([...e,...t])]:Te(Object.create(null),Uo(e),Uo(t??{})):t}function au(e,t){if(!e)return t;if(!t)return e;const n=Te(Object.create(null),e);for(const s in t)n[s]=Pe(e[s],t[s]);return n}function xl(){return{app:null,config:{isNativeTag:Ya,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 cu=0;function uu(e,t){return function(s,r=null){G(s)||(s=Te({},s)),r!=null&&!pe(r)&&(r=null);const o=xl(),i=new WeakSet,a=[];let l=!1;const c=o.app={_uid:cu++,_component:s,_props:r,_container:null,_context:o,_instance:null,version:qu,get config(){return o.config},set config(u){},use(u,...f){return i.has(u)||(u&&G(u.install)?(i.add(u),u.install(c,...f)):G(u)&&(i.add(u),u(c,...f))),c},mixin(u){return o.mixins.includes(u)||o.mixins.push(u),c},component(u,f){return f?(o.components[u]=f,c):o.components[u]},directive(u,f){return f?(o.directives[u]=f,c):o.directives[u]},mount(u,f,h){if(!l){const d=c._ceVNode||Q(s,r);return d.appContext=o,h===!0?h="svg":h===!1&&(h=void 0),e(d,u,h),l=!0,c._container=u,u.__vue_app__=c,Hs(d.component)}},onUnmount(u){a.push(u)},unmount(){l&&(lt(a,c._instance,16),e(null,c._container),delete c._container.__vue_app__)},provide(u,f){return o.provides[u]=f,c},runWithContext(u){const f=sn;sn=c;try{return u()}finally{sn=f}}};return c}}let sn=null;function rs(e,t){if(Ce){let n=Ce.provides;const s=Ce.parent&&Ce.parent.provides;s===n&&(n=Ce.provides=Object.create(s)),n[e]=t}}function Ge(e,t,n=!1){const s=Ce||Le;if(s||sn){let r=sn?sn._context.provides:s?s.parent==null||s.ce?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return n&&G(t)?t.call(s&&s.proxy):t}}const Ol={},Nl=()=>Object.create(Ol),Ll=e=>Object.getPrototypeOf(e)===Ol;function fu(e,t,n,s=!1){const r={},o=Nl();e.propsDefaults=Object.create(null),$l(e,t,r,o);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);n?e.props=s?r:hl(r):e.type.props?e.props=r:e.props=o,e.attrs=o}function du(e,t,n,s){const{props:r,attrs:o,vnode:{patchFlag:i}}=e,a=se(r),[l]=e.propsOptions;let c=!1;if((s||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let f=0;f<u.length;f++){let h=u[f];if(ks(e.emitsOptions,h))continue;const d=t[h];if(l)if(re(o,h))d!==o[h]&&(o[h]=d,c=!0);else{const g=ze(h);r[g]=Br(l,a,g,d,e,!1)}else d!==o[h]&&(o[h]=d,c=!0)}}}else{$l(e,t,r,o)&&(c=!0);let u;for(const f in a)(!t||!re(t,f)&&((u=jt(f))===f||!re(t,u)))&&(l?n&&(n[f]!==void 0||n[u]!==void 0)&&(r[f]=Br(l,a,f,void 0,e,!0)):delete r[f]);if(o!==a)for(const f in o)(!t||!re(t,f))&&(delete o[f],c=!0)}c&&pt(e.attrs,"set","")}function $l(e,t,n,s){const[r,o]=e.propsOptions;let i=!1,a;if(t)for(let l in t){if(An(l))continue;const c=t[l];let u;r&&re(r,u=ze(l))?!o||!o.includes(u)?n[u]=c:(a||(a={}))[u]=c:ks(e.emitsOptions,l)||(!(l in s)||c!==s[l])&&(s[l]=c,i=!0)}if(o){const l=se(n),c=a||ae;for(let u=0;u<o.length;u++){const f=o[u];n[f]=Br(r,l,f,c[f],e,!re(c,f))}}return i}function Br(e,t,n,s,r,o){const i=e[n];if(i!=null){const a=re(i,"default");if(a&&s===void 0){const l=i.default;if(i.type!==Function&&!i.skipFactory&&G(l)){const{propsDefaults:c}=r;if(n in c)s=c[n];else{const u=zn(r);s=c[n]=l.call(null,t),u()}}else s=l;r.ce&&r.ce._setProp(n,s)}i[0]&&(o&&!a?s=!1:i[1]&&(s===""||s===jt(n))&&(s=!0))}return s}const hu=new WeakMap;function Ml(e,t,n=!1){const s=n?hu:t.propsCache,r=s.get(e);if(r)return r;const o=e.props,i={},a=[];let l=!1;if(!G(e)){const u=f=>{l=!0;const[h,d]=Ml(f,t,!0);Te(i,h),d&&a.push(...d)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!o&&!l)return pe(e)&&s.set(e,Qt),Qt;if(q(o))for(let u=0;u<o.length;u++){const f=ze(o[u]);Vo(f)&&(i[f]=ae)}else if(o)for(const u in o){const f=ze(u);if(Vo(f)){const h=o[u],d=i[f]=q(h)||G(h)?{type:h}:Te({},h),g=d.type;let w=!1,C=!0;if(q(g))for(let S=0;S<g.length;++S){const v=g[S],_=G(v)&&v.name;if(_==="Boolean"){w=!0;break}else _==="String"&&(C=!1)}else w=G(g)&&g.name==="Boolean";d[0]=w,d[1]=C,(w||re(d,"default"))&&a.push(f)}}const c=[i,a];return pe(e)&&s.set(e,c),c}function Vo(e){return e[0]!=="$"&&!An(e)}const go=e=>e[0]==="_"||e==="$stable",mo=e=>q(e)?e.map(rt):[rt(e)],pu=(e,t,n)=>{if(t._n)return t;const s=ge((...r)=>mo(t(...r)),n);return s._c=!1,s},Bl=(e,t,n)=>{const s=e._ctx;for(const r in e){if(go(r))continue;const o=e[r];if(G(o))t[r]=pu(r,o,s);else if(o!=null){const i=mo(o);t[r]=()=>i}}},Dl=(e,t)=>{const n=mo(t);e.slots.default=()=>n},Fl=(e,t,n)=>{for(const s in t)(n||!go(s))&&(e[s]=t[s])},gu=(e,t,n)=>{const s=e.slots=Nl();if(e.vnode.shapeFlag&32){const r=t._;r?(Fl(s,t,n),n&&Ji(s,"_",r,!0)):Bl(t,s)}else t&&Dl(e,t)},mu=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,i=ae;if(s.shapeFlag&32){const a=t._;a?n&&a===1?o=!1:Fl(r,t,n):(o=!t.$stable,Bl(t,r)),i=t}else t&&(Dl(e,t),i={default:1});if(o)for(const a in r)!go(a)&&i[a]==null&&delete r[a]},be=xu;function yu(e){return wu(e)}function wu(e,t){const n=Ns();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:i,createText:a,createComment:l,setText:c,setElementText:u,parentNode:f,nextSibling:h,setScopeId:d=ot,insertStaticContent:g}=e,w=(p,m,y,T=null,x=null,I=null,B=void 0,M=null,$=!!m.dynamicChildren)=>{if(p===m)return;p&&!Gt(p,m)&&(T=P(p),xe(p,x,I,!0),p=null),m.patchFlag===-2&&($=!1,m.dynamicChildren=null);const{type:N,ref:V,shapeFlag:F}=m;switch(N){case js:C(p,m,y,T);break;case vt:S(p,m,y,T);break;case hr:p==null&&v(m,y,T,B);break;case Ee:We(p,m,y,T,x,I,B,M,$);break;default:F&1?R(p,m,y,T,x,I,B,M,$):F&6?we(p,m,y,T,x,I,B,M,$):(F&64||F&128)&&N.process(p,m,y,T,x,I,B,M,$,k)}V!=null&&x&&ys(V,p&&p.ref,I,m||p,!m)},C=(p,m,y,T)=>{if(p==null)s(m.el=a(m.children),y,T);else{const x=m.el=p.el;m.children!==p.children&&c(x,m.children)}},S=(p,m,y,T)=>{p==null?s(m.el=l(m.children||""),y,T):m.el=p.el},v=(p,m,y,T)=>{[p.el,p.anchor]=g(p.children,m,y,T,p.el,p.anchor)},_=({el:p,anchor:m},y,T)=>{let x;for(;p&&p!==m;)x=h(p),s(p,y,T),p=x;s(m,y,T)},b=({el:p,anchor:m})=>{let y;for(;p&&p!==m;)y=h(p),r(p),p=y;r(m)},R=(p,m,y,T,x,I,B,M,$)=>{m.type==="svg"?B="svg":m.type==="math"&&(B="mathml"),p==null?O(m,y,T,x,I,B,M,$):ue(p,m,x,I,B,M,$)},O=(p,m,y,T,x,I,B,M)=>{let $,N;const{props:V,shapeFlag:F,transition:j,dirs:J}=p;if($=p.el=i(p.type,I,V&&V.is,V),F&8?u($,p.children):F&16&&W(p.children,$,null,T,x,dr(p,I),B,M),J&&Nt(p,null,T,"created"),L($,p,p.scopeId,B,T),V){for(const fe in V)fe!=="value"&&!An(fe)&&o($,fe,null,V[fe],I,T);"value"in V&&o($,"value",null,V.value,I),(N=V.onVnodeBeforeMount)&&Ve(N,T,p)}J&&Nt(p,null,T,"beforeMount");const Z=vu(x,j);Z&&j.beforeEnter($),s($,m,y),((N=V&&V.onVnodeMounted)||Z||J)&&be(()=>{N&&Ve(N,T,p),Z&&j.enter($),J&&Nt(p,null,T,"mounted")},x)},L=(p,m,y,T,x)=>{if(y&&d(p,y),T)for(let I=0;I<T.length;I++)d(p,T[I]);if(x){let I=x.subTree;if(m===I||bs(I.type)&&(I.ssContent===m||I.ssFallback===m)){const B=x.vnode;L(p,B,B.scopeId,B.slotScopeIds,x.parent)}}},W=(p,m,y,T,x,I,B,M,$=0)=>{for(let N=$;N<p.length;N++){const V=p[N]=M?Rt(p[N]):rt(p[N]);w(null,V,m,y,T,x,I,B,M)}},ue=(p,m,y,T,x,I,B)=>{const M=m.el=p.el;let{patchFlag:$,dynamicChildren:N,dirs:V}=m;$|=p.patchFlag&16;const F=p.props||ae,j=m.props||ae;let J;if(y&&Lt(y,!1),(J=j.onVnodeBeforeUpdate)&&Ve(J,y,m,p),V&&Nt(m,p,y,"beforeUpdate"),y&&Lt(y,!0),(F.innerHTML&&j.innerHTML==null||F.textContent&&j.textContent==null)&&u(M,""),N?z(p.dynamicChildren,N,M,y,T,dr(m,x),I):B||te(p,m,M,null,y,T,dr(m,x),I,!1),$>0){if($&16)ee(M,F,j,y,x);else if($&2&&F.class!==j.class&&o(M,"class",null,j.class,x),$&4&&o(M,"style",F.style,j.style,x),$&8){const Z=m.dynamicProps;for(let fe=0;fe<Z.length;fe++){const oe=Z[fe],Be=F[oe],Oe=j[oe];(Oe!==Be||oe==="value")&&o(M,oe,Be,Oe,x,y)}}$&1&&p.children!==m.children&&u(M,m.children)}else!B&&N==null&&ee(M,F,j,y,x);((J=j.onVnodeUpdated)||V)&&be(()=>{J&&Ve(J,y,m,p),V&&Nt(m,p,y,"updated")},T)},z=(p,m,y,T,x,I,B)=>{for(let M=0;M<m.length;M++){const $=p[M],N=m[M],V=$.el&&($.type===Ee||!Gt($,N)||$.shapeFlag&198)?f($.el):y;w($,N,V,null,T,x,I,B,!0)}},ee=(p,m,y,T,x)=>{if(m!==y){if(m!==ae)for(const I in m)!An(I)&&!(I in y)&&o(p,I,m[I],null,x,T);for(const I in y){if(An(I))continue;const B=y[I],M=m[I];B!==M&&I!=="value"&&o(p,I,M,B,x,T)}"value"in y&&o(p,"value",m.value,y.value,x)}},We=(p,m,y,T,x,I,B,M,$)=>{const N=m.el=p?p.el:a(""),V=m.anchor=p?p.anchor:a("");let{patchFlag:F,dynamicChildren:j,slotScopeIds:J}=m;J&&(M=M?M.concat(J):J),p==null?(s(N,y,T),s(V,y,T),W(m.children||[],y,V,x,I,B,M,$)):F>0&&F&64&&j&&p.dynamicChildren?(z(p.dynamicChildren,j,y,x,I,B,M),(m.key!=null||x&&m===x.subTree)&&Ul(p,m,!0)):te(p,m,y,V,x,I,B,M,$)},we=(p,m,y,T,x,I,B,M,$)=>{m.slotScopeIds=M,p==null?m.shapeFlag&512?x.ctx.activate(m,y,T,B,$):mn(m,y,T,x,I,B,$):Vt(p,m,$)},mn=(p,m,y,T,x,I,B)=>{const M=p.component=Du(p,T,x);if(Al(p)&&(M.ctx.renderer=k),Uu(M,!1,B),M.asyncDep){if(x&&x.registerDep(M,ve,B),!p.el){const $=M.subTree=Q(vt);S(null,$,m,y)}}else ve(M,p,m,y,x,I,B)},Vt=(p,m,y)=>{const T=m.component=p.component;if(Pu(p,m,y))if(T.asyncDep&&!T.asyncResolved){ie(T,m,y);return}else T.next=m,T.update();else m.el=p.el,T.vnode=m},ve=(p,m,y,T,x,I,B)=>{const M=()=>{if(p.isMounted){let{next:F,bu:j,u:J,parent:Z,vnode:fe}=p;{const et=kl(p);if(et){F&&(F.el=fe.el,ie(p,F,B)),et.asyncDep.then(()=>{p.isUnmounted||M()});return}}let oe=F,Be;Lt(p,!1),F?(F.el=fe.el,ie(p,F,B)):F=fe,j&&Zt(j),(Be=F.props&&F.props.onVnodeBeforeUpdate)&&Ve(Be,Z,F,fe),Lt(p,!0);const Oe=qo(p),Ze=p.subTree;p.subTree=Oe,w(Ze,Oe,f(Ze.el),P(Ze),p,x,I),F.el=Oe.el,oe===null&&Iu(p,Oe.el),J&&be(J,x),(Be=F.props&&F.props.onVnodeUpdated)&&be(()=>Ve(Be,Z,F,fe),x)}else{let F;const{el:j,props:J}=m,{bm:Z,m:fe,parent:oe,root:Be,type:Oe}=p,Ze=nn(m);Lt(p,!1),Z&&Zt(Z),!Ze&&(F=J&&J.onVnodeBeforeMount)&&Ve(F,oe,m),Lt(p,!0);{Be.ce&&Be.ce._injectChildStyle(Oe);const et=p.subTree=qo(p);w(null,et,y,T,p,x,I),m.el=et.el}if(fe&&be(fe,x),!Ze&&(F=J&&J.onVnodeMounted)){const et=m;be(()=>Ve(F,oe,et),x)}(m.shapeFlag&256||oe&&nn(oe.vnode)&&oe.vnode.shapeFlag&256)&&p.a&&be(p.a,x),p.isMounted=!0,m=y=T=null}};p.scope.on();const $=p.effect=new Zi(M);p.scope.off();const N=p.update=$.run.bind($),V=p.job=$.runIfDirty.bind($);V.i=p,V.id=p.uid,$.scheduler=()=>po(V),Lt(p,!0),N()},ie=(p,m,y)=>{m.component=p;const T=p.vnode.props;p.vnode=m,p.next=null,du(p,m.props,T,y),mu(p,m.children,y),yt(),Do(p),wt()},te=(p,m,y,T,x,I,B,M,$=!1)=>{const N=p&&p.children,V=p?p.shapeFlag:0,F=m.children,{patchFlag:j,shapeFlag:J}=m;if(j>0){if(j&128){Et(N,F,y,T,x,I,B,M,$);return}else if(j&256){ut(N,F,y,T,x,I,B,M,$);return}}J&8?(V&16&&He(N,x,I),F!==N&&u(y,F)):V&16?J&16?Et(N,F,y,T,x,I,B,M,$):He(N,x,I,!0):(V&8&&u(y,""),J&16&&W(F,y,T,x,I,B,M,$))},ut=(p,m,y,T,x,I,B,M,$)=>{p=p||Qt,m=m||Qt;const N=p.length,V=m.length,F=Math.min(N,V);let j;for(j=0;j<F;j++){const J=m[j]=$?Rt(m[j]):rt(m[j]);w(p[j],J,y,null,x,I,B,M,$)}N>V?He(p,x,I,!0,!1,F):W(m,y,T,x,I,B,M,$,F)},Et=(p,m,y,T,x,I,B,M,$)=>{let N=0;const V=m.length;let F=p.length-1,j=V-1;for(;N<=F&&N<=j;){const J=p[N],Z=m[N]=$?Rt(m[N]):rt(m[N]);if(Gt(J,Z))w(J,Z,y,null,x,I,B,M,$);else break;N++}for(;N<=F&&N<=j;){const J=p[F],Z=m[j]=$?Rt(m[j]):rt(m[j]);if(Gt(J,Z))w(J,Z,y,null,x,I,B,M,$);else break;F--,j--}if(N>F){if(N<=j){const J=j+1,Z=J<V?m[J].el:T;for(;N<=j;)w(null,m[N]=$?Rt(m[N]):rt(m[N]),y,Z,x,I,B,M,$),N++}}else if(N>j)for(;N<=F;)xe(p[N],x,I,!0),N++;else{const J=N,Z=N,fe=new Map;for(N=Z;N<=j;N++){const De=m[N]=$?Rt(m[N]):rt(m[N]);De.key!=null&&fe.set(De.key,N)}let oe,Be=0;const Oe=j-Z+1;let Ze=!1,et=0;const yn=new Array(Oe);for(N=0;N<Oe;N++)yn[N]=0;for(N=J;N<=F;N++){const De=p[N];if(Be>=Oe){xe(De,x,I,!0);continue}let tt;if(De.key!=null)tt=fe.get(De.key);else for(oe=Z;oe<=j;oe++)if(yn[oe-Z]===0&&Gt(De,m[oe])){tt=oe;break}tt===void 0?xe(De,x,I,!0):(yn[tt-Z]=N+1,tt>=et?et=tt:Ze=!0,w(De,m[tt],y,null,x,I,B,M,$),Be++)}const Oo=Ze?bu(yn):Qt;for(oe=Oo.length-1,N=Oe-1;N>=0;N--){const De=Z+N,tt=m[De],No=De+1<V?m[De+1].el:T;yn[N]===0?w(null,tt,y,No,x,I,B,M,$):Ze&&(oe<0||N!==Oo[oe]?Xe(tt,y,No,2):oe--)}}},Xe=(p,m,y,T,x=null)=>{const{el:I,type:B,transition:M,children:$,shapeFlag:N}=p;if(N&6){Xe(p.component.subTree,m,y,T);return}if(N&128){p.suspense.move(m,y,T);return}if(N&64){B.move(p,m,y,k);return}if(B===Ee){s(I,m,y);for(let F=0;F<$.length;F++)Xe($[F],m,y,T);s(p.anchor,m,y);return}if(B===hr){_(p,m,y);return}if(T!==2&&N&1&&M)if(T===0)M.beforeEnter(I),s(I,m,y),be(()=>M.enter(I),x);else{const{leave:F,delayLeave:j,afterLeave:J}=M,Z=()=>{p.ctx.isUnmounted?r(I):s(I,m,y)},fe=()=>{F(I,()=>{Z(),J&&J()})};j?j(I,Z,fe):fe()}else s(I,m,y)},xe=(p,m,y,T=!1,x=!1)=>{const{type:I,props:B,ref:M,children:$,dynamicChildren:N,shapeFlag:V,patchFlag:F,dirs:j,cacheIndex:J}=p;if(F===-2&&(x=!1),M!=null&&(yt(),ys(M,null,y,p,!0),wt()),J!=null&&(m.renderCache[J]=void 0),V&256){m.ctx.deactivate(p);return}const Z=V&1&&j,fe=!nn(p);let oe;if(fe&&(oe=B&&B.onVnodeBeforeUnmount)&&Ve(oe,m,p),V&6)Qn(p.component,y,T);else{if(V&128){p.suspense.unmount(y,T);return}Z&&Nt(p,null,m,"beforeUnmount"),V&64?p.type.remove(p,m,y,k,T):N&&!N.hasOnce&&(I!==Ee||F>0&&F&64)?He(N,m,y,!1,!0):(I===Ee&&F&384||!x&&V&16)&&He($,m,y),T&&qt(p)}(fe&&(oe=B&&B.onVnodeUnmounted)||Z)&&be(()=>{oe&&Ve(oe,m,p),Z&&Nt(p,null,m,"unmounted")},y)},qt=p=>{const{type:m,el:y,anchor:T,transition:x}=p;if(m===Ee){Kt(y,T);return}if(m===hr){b(p);return}const I=()=>{r(y),x&&!x.persisted&&x.afterLeave&&x.afterLeave()};if(p.shapeFlag&1&&x&&!x.persisted){const{leave:B,delayLeave:M}=x,$=()=>B(y,I);M?M(p.el,I,$):$()}else I()},Kt=(p,m)=>{let y;for(;p!==m;)y=h(p),r(p),p=y;r(m)},Qn=(p,m,y)=>{const{bum:T,scope:x,job:I,subTree:B,um:M,m:$,a:N,parent:V,slots:{__:F}}=p;vs($),vs(N),T&&Zt(T),V&&q(F)&&F.forEach(j=>{V.renderCache[j]=void 0}),x.stop(),I&&(I.flags|=8,xe(B,p,m,y)),M&&be(M,m),be(()=>{p.isUnmounted=!0},m),m&&m.pendingBranch&&!m.isUnmounted&&p.asyncDep&&!p.asyncResolved&&p.suspenseId===m.pendingId&&(m.deps--,m.deps===0&&m.resolve())},He=(p,m,y,T=!1,x=!1,I=0)=>{for(let B=I;B<p.length;B++)xe(p[B],m,y,T,x)},P=p=>{if(p.shapeFlag&6)return P(p.component.subTree);if(p.shapeFlag&128)return p.suspense.next();const m=h(p.anchor||p.el),y=m&&m[jc];return y?h(y):m};let U=!1;const D=(p,m,y)=>{p==null?m._vnode&&xe(m._vnode,null,null,!0):w(m._vnode||null,p,m,null,null,null,y),m._vnode=p,U||(U=!0,Do(),bl(),U=!1)},k={p:w,um:xe,m:Xe,r:qt,mt:mn,mc:W,pc:te,pbc:z,n:P,o:e};return{render:D,hydrate:void 0,createApp:uu(D)}}function dr({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 Lt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function vu(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ul(e,t,n=!1){const s=e.children,r=t.children;if(q(s)&&q(r))for(let o=0;o<s.length;o++){const i=s[o];let a=r[o];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=r[o]=Rt(r[o]),a.el=i.el),!n&&a.patchFlag!==-2&&Ul(i,a)),a.type===js&&(a.el=i.el),a.type===vt&&!a.el&&(a.el=i.el)}}function bu(e){const t=e.slice(),n=[0];let s,r,o,i,a;const l=e.length;for(s=0;s<l;s++){const c=e[s];if(c!==0){if(r=n[n.length-1],e[r]<c){t[s]=r,n.push(s);continue}for(o=0,i=n.length-1;o<i;)a=o+i>>1,e[n[a]]<c?o=a+1:i=a;c<e[n[o]]&&(o>0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function kl(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:kl(t)}function vs(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const _u=Symbol.for("v-scx"),Eu=()=>Ge(_u);function Gm(e,t){return yo(e,null,t)}function Pn(e,t,n){return yo(e,t,n)}function yo(e,t,n=ae){const{immediate:s,deep:r,flush:o,once:i}=n,a=Te({},n),l=t&&s||!t&&o!=="post";let c;if(Un){if(o==="sync"){const d=Eu();c=d.__watcherHandles||(d.__watcherHandles=[])}else if(!l){const d=()=>{};return d.stop=ot,d.resume=ot,d.pause=ot,d}}const u=Ce;a.call=(d,g,w)=>lt(d,u,g,w);let f=!1;o==="post"?a.scheduler=d=>{be(d,u&&u.suspense)}:o!=="sync"&&(f=!0,a.scheduler=(d,g)=>{g?d():po(d)}),a.augmentJob=d=>{t&&(d.flags|=4),f&&(d.flags|=2,u&&(d.id=u.uid,d.i=u))};const h=Bc(e,t,a);return Un&&(c?c.push(h):l&&h()),h}function Cu(e,t,n){const s=this.proxy,r=me(e)?e.includes(".")?jl(s,e):()=>s[e]:e.bind(s,s);let o;G(t)?o=t:(o=t.handler,n=t);const i=zn(this),a=yo(r,o.bind(s),n);return i(),a}function jl(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r<n.length&&s;r++)s=s[n[r]];return s}}const Au=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${ze(t)}Modifiers`]||e[`${jt(t)}Modifiers`];function Su(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||ae;let r=n;const o=t.startsWith("update:"),i=o&&Au(s,t.slice(7));i&&(i.trim&&(r=n.map(u=>me(u)?u.trim():u)),i.number&&(r=n.map(ds)));let a,l=s[a=or(t)]||s[a=or(ze(t))];!l&&o&&(l=s[a=or(jt(t))]),l&<(l,e,6,r);const c=s[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,lt(c,e,6,r)}}function Hl(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let i={},a=!1;if(!G(e)){const l=c=>{const u=Hl(c,t,!0);u&&(a=!0,Te(i,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!o&&!a?(pe(e)&&s.set(e,null),null):(q(o)?o.forEach(l=>i[l]=null):Te(i,o),pe(e)&&s.set(e,i),i)}function ks(e,t){return!e||!Ps(t)?!1:(t=t.slice(2).replace(/Once$/,""),re(e,t[0].toLowerCase()+t.slice(1))||re(e,jt(t))||re(e,t))}function qo(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[o],slots:i,attrs:a,emit:l,render:c,renderCache:u,props:f,data:h,setupState:d,ctx:g,inheritAttrs:w}=e,C=ms(e);let S,v;try{if(n.shapeFlag&4){const b=r||s,R=b;S=rt(c.call(R,b,u,f,d,h,g)),v=a}else{const b=t;S=rt(b.length>1?b(f,{attrs:a,slots:i,emit:l}):b(f,null)),v=t.props?a:Ru(a)}}catch(b){In.length=0,Bs(b,e,1),S=Q(vt)}let _=S;if(v&&w!==!1){const b=Object.keys(v),{shapeFlag:R}=_;b.length&&R&7&&(o&&b.some(to)&&(v=Tu(v,o)),_=Ut(_,v,!1,!0))}return n.dirs&&(_=Ut(_,null,!1,!0),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&Ds(_,n.transition),S=_,ms(C),S}const Ru=e=>{let t;for(const n in e)(n==="class"||n==="style"||Ps(n))&&((t||(t={}))[n]=e[n]);return t},Tu=(e,t)=>{const n={};for(const s in e)(!to(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Pu(e,t,n){const{props:s,children:r,component:o}=e,{props:i,children:a,patchFlag:l}=t,c=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return s?Ko(s,i,c):!!i;if(l&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const h=u[f];if(i[h]!==s[h]&&!ks(c,h))return!0}}}else return(r||a)&&(!a||!a.$stable)?!0:s===i?!1:s?i?Ko(s,i,c):!0:!!i;return!1}function Ko(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let r=0;r<s.length;r++){const o=s[r];if(t[o]!==e[o]&&!ks(n,o))return!0}return!1}function Iu({vnode:e,parent:t},n){for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===e&&(s.el=e.el),s===e)(e=t.vnode).el=n,t=t.parent;else break}}const bs=e=>e.__isSuspense;function xu(e,t){t&&t.pendingBranch?q(e)?t.effects.push(...e):t.effects.push(e):Uc(e)}const Ee=Symbol.for("v-fgt"),js=Symbol.for("v-txt"),vt=Symbol.for("v-cmt"),hr=Symbol.for("v-stc"),In=[];let Ue=null;function H(e=!1){In.push(Ue=e?null:[])}function Ou(){In.pop(),Ue=In[In.length-1]||null}let Dn=1;function zo(e,t=!1){Dn+=e,e<0&&Ue&&t&&(Ue.hasOnce=!0)}function Vl(e){return e.dynamicChildren=Dn>0?Ue||Qt:null,Ou(),Dn>0&&Ue&&Ue.push(e),e}function K(e,t,n,s,r,o){return Vl(E(e,t,n,s,r,o,!0))}function xn(e,t,n,s,r){return Vl(Q(e,t,n,s,r,!0))}function Fn(e){return e?e.__v_isVNode===!0:!1}function Gt(e,t){return e.type===t.type&&e.key===t.key}const ql=({key:e})=>e??null,os=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?me(e)||Re(e)||G(e)?{i:Le,r:e,k:t,f:!!n}:e:null);function E(e,t=null,n=null,s=0,r=null,o=e===Ee?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ql(t),ref:t&&os(t),scopeId:El,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:o,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Le};return a?(wo(l,n),o&128&&e.normalize(l)):n&&(l.shapeFlag|=me(n)?8:16),Dn>0&&!i&&Ue&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&Ue.push(l),l}const Q=Nu;function Nu(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===tu)&&(e=vt),Fn(e)){const a=Ut(e,t,!0);return n&&wo(a,n),Dn>0&&!o&&Ue&&(a.shapeFlag&6?Ue[Ue.indexOf(e)]=a:Ue.push(a)),a.patchFlag=-2,a}if(Vu(e)&&(e=e.__vccOpts),t){t=Lu(t);let{class:a,style:l}=t;a&&!me(a)&&(t.class=Fe(a)),pe(l)&&(fo(l)&&!q(l)&&(l=Te({},l)),t.style=ro(l))}const i=me(e)?1:bs(e)?128:Hc(e)?64:pe(e)?4:G(e)?2:0;return E(e,t,n,s,r,i,o,!0)}function Lu(e){return e?fo(e)||Ll(e)?Te({},e):e:null}function Ut(e,t,n=!1,s=!1){const{props:r,ref:o,patchFlag:i,children:a,transition:l}=e,c=t?$u(r||{},t):r,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&ql(c),ref:t&&t.ref?n&&o?q(o)?o.concat(os(t)):[o,os(t)]:os(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ee?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ut(e.ssContent),ssFallback:e.ssFallback&&Ut(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&s&&Ds(u,l.clone(u)),u}function X(e=" ",t=0){return Q(js,null,e,t)}function on(e="",t=!1){return t?(H(),xn(vt,null,e)):Q(vt,null,e)}function rt(e){return e==null||typeof e=="boolean"?Q(vt):q(e)?Q(Ee,null,e.slice()):Fn(e)?Rt(e):Q(js,null,String(e))}function Rt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Ut(e)}function wo(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(q(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),wo(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!Ll(t)?t._ctx=Le:r===3&&Le&&(Le.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else G(t)?(t={default:t,_ctx:Le},n=32):(t=String(t),s&64?(n=16,t=[X(t)]):n=8);e.children=t,e.shapeFlag|=n}function $u(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const r in s)if(r==="class")t.class!==s.class&&(t.class=Fe([t.class,s.class]));else if(r==="style")t.style=ro([t.style,s.style]);else if(Ps(r)){const o=t[r],i=s[r];i&&o!==i&&!(q(o)&&o.includes(i))&&(t[r]=o?[].concat(o,i):i)}else r!==""&&(t[r]=s[r])}return t}function Ve(e,t,n,s=null){lt(e,t,7,[n,s])}const Mu=xl();let Bu=0;function Du(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||Mu,o={uid:Bu++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Xi(!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:Ml(s,r),emitsOptions:Hl(s,r),emit:null,emitted:null,propsDefaults:ae,inheritAttrs:s.inheritAttrs,ctx:ae,data:ae,props:ae,attrs:ae,slots:ae,refs:ae,setupState:ae,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 o.ctx={_:o},o.root=t?t.root:o,o.emit=Su.bind(null,o),e.ce&&e.ce(o),o}let Ce=null;const Fu=()=>Ce||Le;let _s,Dr;{const e=Ns(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),o=>{r.length>1?r.forEach(i=>i(o)):r[0](o)}};_s=t("__VUE_INSTANCE_SETTERS__",n=>Ce=n),Dr=t("__VUE_SSR_SETTERS__",n=>Un=n)}const zn=e=>{const t=Ce;return _s(e),e.scope.on(),()=>{e.scope.off(),_s(t)}},Wo=()=>{Ce&&Ce.scope.off(),_s(null)};function Kl(e){return e.vnode.shapeFlag&4}let Un=!1;function Uu(e,t=!1,n=!1){t&&Dr(t);const{props:s,children:r}=e.vnode,o=Kl(e);fu(e,s,o,t),gu(e,r,n||t);const i=o?ku(e,t):void 0;return t&&Dr(!1),i}function ku(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,su);const{setup:s}=n;if(s){yt();const r=e.setupContext=s.length>1?Hu(e):null,o=zn(e),i=qn(s,e,0,[e.props,r]),a=Ki(i);if(wt(),o(),(a||e.sp)&&!nn(e)&&Cl(e),a){if(i.then(Wo,Wo),t)return i.then(l=>{Jo(e,l)}).catch(l=>{Bs(l,e,0)});e.asyncDep=i}else Jo(e,i)}else zl(e)}function Jo(e,t,n){G(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:pe(t)&&(e.setupState=yl(t)),zl(e)}function zl(e,t,n){const s=e.type;e.render||(e.render=s.render||ot);{const r=zn(e);yt();try{ru(e)}finally{wt(),r()}}}const ju={get(e,t){return Ae(e,"get",""),e[t]}};function Hu(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,ju),slots:e.slots,emit:e.emit,expose:t}}function Hs(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(yl(gl(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Tn)return Tn[n](e)},has(t,n){return n in t||n in Tn}})):e.proxy}function Fr(e,t=!0){return G(e)?e.displayName||e.name:e.name||t&&e.__name}function Vu(e){return G(e)&&"__vccOpts"in e}const qe=(e,t)=>$c(e,t,Un);function Wl(e,t,n){const s=arguments.length;return s===2?pe(t)&&!q(t)?Fn(t)?Q(e,null,[t]):Q(e,t):Q(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Fn(n)&&(n=[n]),Q(e,t,n))}const qu="3.5.16";/**
|
||
* @vue/runtime-dom v3.5.16
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/let Ur;const Go=typeof window<"u"&&window.trustedTypes;if(Go)try{Ur=Go.createPolicy("vue",{createHTML:e=>e})}catch{}const Jl=Ur?e=>Ur.createHTML(e):e=>e,Ku="http://www.w3.org/2000/svg",zu="http://www.w3.org/1998/Math/MathML",ht=typeof document<"u"?document:null,Yo=ht&&ht.createElement("template"),Wu={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?ht.createElementNS(Ku,e):t==="mathml"?ht.createElementNS(zu,e):n?ht.createElement(e,{is:n}):ht.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>ht.createTextNode(e),createComment:e=>ht.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ht.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,o){const i=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{Yo.innerHTML=Jl(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const a=Yo.content;if(s==="svg"||s==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Ju=Symbol("_vtc");function Gu(e,t,n){const s=e[Ju];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Qo=Symbol("_vod"),Yu=Symbol("_vsh"),Qu=Symbol(""),Xu=/(^|;)\s*display\s*:/;function Zu(e,t,n){const s=e.style,r=me(n);let o=!1;if(n&&!r){if(t)if(me(t))for(const i of t.split(";")){const a=i.slice(0,i.indexOf(":")).trim();n[a]==null&&is(s,a,"")}else for(const i in t)n[i]==null&&is(s,i,"");for(const i in n)i==="display"&&(o=!0),is(s,i,n[i])}else if(r){if(t!==n){const i=s[Qu];i&&(n+=";"+i),s.cssText=n,o=Xu.test(n)}}else t&&e.removeAttribute("style");Qo in e&&(e[Qo]=o?s.display:"",e[Yu]&&(s.display="none"))}const Xo=/\s*!important$/;function is(e,t,n){if(q(n))n.forEach(s=>is(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=ef(e,t);Xo.test(n)?e.setProperty(jt(s),n.replace(Xo,""),"important"):e[s]=n}}const Zo=["Webkit","Moz","ms"],pr={};function ef(e,t){const n=pr[t];if(n)return n;let s=ze(t);if(s!=="filter"&&s in e)return pr[t]=s;s=Os(s);for(let r=0;r<Zo.length;r++){const o=Zo[r]+s;if(o in e)return pr[t]=o}return t}const ei="http://www.w3.org/1999/xlink";function ti(e,t,n,s,r,o=lc(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(ei,t.slice(6,t.length)):e.setAttributeNS(ei,t,n):n==null||o&&!Gi(n)?e.removeAttribute(t):e.setAttribute(t,o?"":it(n)?String(n):n)}function ni(e,t,n,s,r){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Jl(n):n);return}const o=e.tagName;if(t==="value"&&o!=="PROGRESS"&&!o.includes("-")){const a=o==="OPTION"?e.getAttribute("value")||"":e.value,l=n==null?e.type==="checkbox"?"on":"":String(n);(a!==l||!("_value"in e))&&(e.value=l),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=Gi(n):n==null&&a==="string"?(n="",i=!0):a==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(r||t)}function Mt(e,t,n,s){e.addEventListener(t,n,s)}function tf(e,t,n,s){e.removeEventListener(t,n,s)}const si=Symbol("_vei");function nf(e,t,n,s,r=null){const o=e[si]||(e[si]={}),i=o[t];if(s&&i)i.value=s;else{const[a,l]=sf(t);if(s){const c=o[t]=lf(s,r);Mt(e,a,c,l)}else i&&(tf(e,a,i,l),o[t]=void 0)}}const ri=/(?:Once|Passive|Capture)$/;function sf(e){let t;if(ri.test(e)){t={};let s;for(;s=e.match(ri);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):jt(e.slice(2)),t]}let gr=0;const rf=Promise.resolve(),of=()=>gr||(rf.then(()=>gr=0),gr=Date.now());function lf(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;lt(af(s,n.value),t,5,[s])};return n.value=e,n.attached=of(),n}function af(e,t){if(q(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const oi=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,cf=(e,t,n,s,r,o)=>{const i=r==="svg";t==="class"?Gu(e,s,i):t==="style"?Zu(e,n,s):Ps(t)?to(t)||nf(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):uf(e,t,s,i))?(ni(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&ti(e,t,s,i,o,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!me(s))?ni(e,ze(t),s,o,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),ti(e,t,s,i))};function uf(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&oi(t)&&G(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||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 oi(t)&&me(n)?!1:t in e}const Es=e=>{const t=e.props["onUpdate:modelValue"]||!1;return q(t)?n=>Zt(t,n):t};function ff(e){e.target.composing=!0}function ii(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const rn=Symbol("_assign"),df={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[rn]=Es(r);const o=s||r.props&&r.props.type==="number";Mt(e,t?"change":"input",i=>{if(i.target.composing)return;let a=e.value;n&&(a=a.trim()),o&&(a=ds(a)),e[rn](a)}),n&&Mt(e,"change",()=>{e.value=e.value.trim()}),t||(Mt(e,"compositionstart",ff),Mt(e,"compositionend",ii),Mt(e,"change",ii))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:o}},i){if(e[rn]=Es(i),e.composing)return;const a=(o||e.type==="number")&&!/^0\d/.test(e.value)?ds(e.value):e.value,l=t??"";a!==l&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===l)||(e.value=l))}},Ym={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const r=Is(t);Mt(e,"change",()=>{const o=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?ds(Cs(i)):Cs(i));e[rn](e.multiple?r?new Set(o):o:o[0]),e._assigning=!0,ho(()=>{e._assigning=!1})}),e[rn]=Es(s)},mounted(e,{value:t}){li(e,t)},beforeUpdate(e,t,n){e[rn]=Es(n)},updated(e,{value:t}){e._assigning||li(e,t)}};function li(e,t){const n=e.multiple,s=q(t);if(!(n&&!s&&!Is(t))){for(let r=0,o=e.options.length;r<o;r++){const i=e.options[r],a=Cs(i);if(n)if(s){const l=typeof a;l==="string"||l==="number"?i.selected=t.some(c=>String(c)===String(a)):i.selected=cc(t,a)>-1}else i.selected=t.has(a);else if(Ls(Cs(i),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Cs(e){return"_value"in e?e._value:e.value}const hf=["ctrl","shift","alt","meta"],pf={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)=>hf.some(n=>e[`${n}Key`]&&!t.includes(n))},ls=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(r,...o)=>{for(let i=0;i<t.length;i++){const a=pf[t[i]];if(a&&a(r,t))return}return e(r,...o)})},gf=Te({patchProp:cf},Wu);let ai;function mf(){return ai||(ai=yu(gf))}const yf=(...e)=>{const t=mf().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=vf(s);if(!r)return;const o=t._component;!G(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const i=n(r,!1,wf(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t};function wf(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function vf(e){return me(e)?document.querySelector(e):e}/*!
|
||
* pinia v3.0.2
|
||
* (c) 2025 Eduardo San Martin Morote
|
||
* @license MIT
|
||
*/const bf=Symbol();var ci;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(ci||(ci={}));function _f(){const e=uc(!0),t=e.run(()=>ce({}));let n=[],s=[];const r=gl({install(o){r._a=o,o.provide(bf,r),o.config.globalProperties.$pinia=r,s.forEach(i=>n.push(i)),s=[]},use(o){return this._a?n.push(o):s.push(o),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}/*!
|
||
* vue-router v4.5.1
|
||
* (c) 2025 Eduardo San Martin Morote
|
||
* @license MIT
|
||
*/const Yt=typeof document<"u";function Gl(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Ef(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Gl(e.default)}const ne=Object.assign;function mr(e,t){const n={};for(const s in t){const r=t[s];n[s]=Ye(r)?r.map(e):e(r)}return n}const On=()=>{},Ye=Array.isArray,Yl=/#/g,Cf=/&/g,Af=/\//g,Sf=/=/g,Rf=/\?/g,Ql=/\+/g,Tf=/%5B/g,Pf=/%5D/g,Xl=/%5E/g,If=/%60/g,Zl=/%7B/g,xf=/%7C/g,ea=/%7D/g,Of=/%20/g;function vo(e){return encodeURI(""+e).replace(xf,"|").replace(Tf,"[").replace(Pf,"]")}function Nf(e){return vo(e).replace(Zl,"{").replace(ea,"}").replace(Xl,"^")}function kr(e){return vo(e).replace(Ql,"%2B").replace(Of,"+").replace(Yl,"%23").replace(Cf,"%26").replace(If,"`").replace(Zl,"{").replace(ea,"}").replace(Xl,"^")}function Lf(e){return kr(e).replace(Sf,"%3D")}function $f(e){return vo(e).replace(Yl,"%23").replace(Rf,"%3F")}function Mf(e){return e==null?"":$f(e).replace(Af,"%2F")}function kn(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const Bf=/\/$/,Df=e=>e.replace(Bf,"");function yr(e,t,n="/"){let s,r={},o="",i="";const a=t.indexOf("#");let l=t.indexOf("?");return a<l&&a>=0&&(l=-1),l>-1&&(s=t.slice(0,l),o=t.slice(l+1,a>-1?a:t.length),r=e(o)),a>-1&&(s=s||t.slice(0,a),i=t.slice(a,t.length)),s=jf(s??t,n),{fullPath:s+(o&&"?")+o+i,path:s,query:r,hash:kn(i)}}function Ff(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function ui(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Uf(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&ln(t.matched[s],n.matched[r])&&ta(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function ln(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function ta(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!kf(e[n],t[n]))return!1;return!0}function kf(e,t){return Ye(e)?fi(e,t):Ye(t)?fi(t,e):e===t}function fi(e,t){return Ye(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function jf(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let o=n.length-1,i,a;for(i=0;i<s.length;i++)if(a=s[i],a!==".")if(a==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(i).join("/")}const Ct={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var jn;(function(e){e.pop="pop",e.push="push"})(jn||(jn={}));var Nn;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Nn||(Nn={}));function Hf(e){if(!e)if(Yt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Df(e)}const Vf=/^[^#]+#/;function qf(e,t){return e.replace(Vf,"#")+t}function Kf(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const Vs=()=>({left:window.scrollX,top:window.scrollY});function zf(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=Kf(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function di(e,t){return(history.state?history.state.position-t:-1)+e}const jr=new Map;function Wf(e,t){jr.set(e,t)}function Jf(e){const t=jr.get(e);return jr.delete(e),t}let Gf=()=>location.protocol+"//"+location.host;function na(e,t){const{pathname:n,search:s,hash:r}=t,o=e.indexOf("#");if(o>-1){let a=r.includes(e.slice(o))?e.slice(o).length:1,l=r.slice(a);return l[0]!=="/"&&(l="/"+l),ui(l,"")}return ui(n,e)+s+r}function Yf(e,t,n,s){let r=[],o=[],i=null;const a=({state:h})=>{const d=na(e,location),g=n.value,w=t.value;let C=0;if(h){if(n.value=d,t.value=h,i&&i===g){i=null;return}C=w?h.position-w.position:0}else s(d);r.forEach(S=>{S(n.value,g,{delta:C,type:jn.pop,direction:C?C>0?Nn.forward:Nn.back:Nn.unknown})})};function l(){i=n.value}function c(h){r.push(h);const d=()=>{const g=r.indexOf(h);g>-1&&r.splice(g,1)};return o.push(d),d}function u(){const{history:h}=window;h.state&&h.replaceState(ne({},h.state,{scroll:Vs()}),"")}function f(){for(const h of o)h();o=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:c,destroy:f}}function hi(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?Vs():null}}function Qf(e){const{history:t,location:n}=window,s={value:na(e,n)},r={value:t.state};r.value||o(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(l,c,u){const f=e.indexOf("#"),h=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:Gf()+e+l;try{t[u?"replaceState":"pushState"](c,"",h),r.value=c}catch(d){console.error(d),n[u?"replace":"assign"](h)}}function i(l,c){const u=ne({},t.state,hi(r.value.back,l,r.value.forward,!0),c,{position:r.value.position});o(l,u,!0),s.value=l}function a(l,c){const u=ne({},r.value,t.state,{forward:l,scroll:Vs()});o(u.current,u,!0);const f=ne({},hi(s.value,l,null),{position:u.position+1},c);o(l,f,!1),s.value=l}return{location:s,state:r,push:a,replace:i}}function Xf(e){e=Hf(e);const t=Qf(e),n=Yf(e,t.state,t.location,t.replace);function s(o,i=!0){i||n.pauseListeners(),history.go(o)}const r=ne({location:"",base:e,go:s,createHref:qf.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function Zf(e){return typeof e=="string"||e&&typeof e=="object"}function sa(e){return typeof e=="string"||typeof e=="symbol"}const ra=Symbol("");var pi;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(pi||(pi={}));function an(e,t){return ne(new Error,{type:e,[ra]:!0},t)}function dt(e,t){return e instanceof Error&&ra in e&&(t==null||!!(e.type&t))}const gi="[^/]+?",ed={sensitive:!1,strict:!1,start:!0,end:!0},td=/[.+*?^${}()[\]/\\]/g;function nd(e,t){const n=ne({},ed,t),s=[];let r=n.start?"^":"";const o=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(r+="/");for(let f=0;f<c.length;f++){const h=c[f];let d=40+(n.sensitive?.25:0);if(h.type===0)f||(r+="/"),r+=h.value.replace(td,"\\$&"),d+=40;else if(h.type===1){const{value:g,repeatable:w,optional:C,regexp:S}=h;o.push({name:g,repeatable:w,optional:C});const v=S||gi;if(v!==gi){d+=10;try{new RegExp(`(${v})`)}catch(b){throw new Error(`Invalid custom RegExp for param "${g}" (${v}): `+b.message)}}let _=w?`((?:${v})(?:/(?:${v}))*)`:`(${v})`;f||(_=C&&c.length<2?`(?:/${_})`:"/"+_),C&&(_+="?"),r+=_,d+=20,C&&(d+=-8),w&&(d+=-20),v===".*"&&(d+=-50)}u.push(d)}s.push(u)}if(n.strict&&n.end){const c=s.length-1;s[c][s[c].length-1]+=.7000000000000001}n.strict||(r+="/?"),n.end?r+="$":n.strict&&!r.endsWith("/")&&(r+="(?:/|$)");const i=new RegExp(r,n.sensitive?"":"i");function a(c){const u=c.match(i),f={};if(!u)return null;for(let h=1;h<u.length;h++){const d=u[h]||"",g=o[h-1];f[g.name]=d&&g.repeatable?d.split("/"):d}return f}function l(c){let u="",f=!1;for(const h of e){(!f||!u.endsWith("/"))&&(u+="/"),f=!1;for(const d of h)if(d.type===0)u+=d.value;else if(d.type===1){const{value:g,repeatable:w,optional:C}=d,S=g in c?c[g]:"";if(Ye(S)&&!w)throw new Error(`Provided param "${g}" is an array but it is not repeatable (* or + modifiers)`);const v=Ye(S)?S.join("/"):S;if(!v)if(C)h.length<2&&(u.endsWith("/")?u=u.slice(0,-1):f=!0);else throw new Error(`Missing required param "${g}"`);u+=v}}return u||"/"}return{re:i,score:s,keys:o,parse:a,stringify:l}}function sd(e,t){let n=0;for(;n<e.length&&n<t.length;){const s=t[n]-e[n];if(s)return s;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function oa(e,t){let n=0;const s=e.score,r=t.score;for(;n<s.length&&n<r.length;){const o=sd(s[n],r[n]);if(o)return o;n++}if(Math.abs(r.length-s.length)===1){if(mi(s))return 1;if(mi(r))return-1}return r.length-s.length}function mi(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const rd={type:0,value:""},od=/[a-zA-Z0-9_]/;function id(e){if(!e)return[[]];if(e==="/")return[[rd]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(d){throw new Error(`ERR (${n})/"${c}": ${d}`)}let n=0,s=n;const r=[];let o;function i(){o&&r.push(o),o=[]}let a=0,l,c="",u="";function f(){c&&(n===0?o.push({type:0,value:c}):n===1||n===2||n===3?(o.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function h(){c+=l}for(;a<e.length;){if(l=e[a++],l==="\\"&&n!==2){s=n,n=4;continue}switch(n){case 0:l==="/"?(c&&f(),i()):l===":"?(f(),n=1):h();break;case 4:h(),n=s;break;case 1:l==="("?n=2:od.test(l)?h():(f(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case 2:l===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+l:n=3:u+=l;break;case 3:f(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--,u="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${c}"`),f(),i(),r}function ld(e,t,n){const s=nd(id(e.path),n),r=ne(s,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function ad(e,t){const n=[],s=new Map;t=bi({strict:!1,end:!0,sensitive:!1},t);function r(f){return s.get(f)}function o(f,h,d){const g=!d,w=wi(f);w.aliasOf=d&&d.record;const C=bi(t,f),S=[w];if("alias"in f){const b=typeof f.alias=="string"?[f.alias]:f.alias;for(const R of b)S.push(wi(ne({},w,{components:d?d.record.components:w.components,path:R,aliasOf:d?d.record:w})))}let v,_;for(const b of S){const{path:R}=b;if(h&&R[0]!=="/"){const O=h.record.path,L=O[O.length-1]==="/"?"":"/";b.path=h.record.path+(R&&L+R)}if(v=ld(b,h,C),d?d.alias.push(v):(_=_||v,_!==v&&_.alias.push(v),g&&f.name&&!vi(v)&&i(f.name)),ia(v)&&l(v),w.children){const O=w.children;for(let L=0;L<O.length;L++)o(O[L],v,d&&d.children[L])}d=d||v}return _?()=>{i(_)}:On}function i(f){if(sa(f)){const h=s.get(f);h&&(s.delete(f),n.splice(n.indexOf(h),1),h.children.forEach(i),h.alias.forEach(i))}else{const h=n.indexOf(f);h>-1&&(n.splice(h,1),f.record.name&&s.delete(f.record.name),f.children.forEach(i),f.alias.forEach(i))}}function a(){return n}function l(f){const h=fd(f,n);n.splice(h,0,f),f.record.name&&!vi(f)&&s.set(f.record.name,f)}function c(f,h){let d,g={},w,C;if("name"in f&&f.name){if(d=s.get(f.name),!d)throw an(1,{location:f});C=d.record.name,g=ne(yi(h.params,d.keys.filter(_=>!_.optional).concat(d.parent?d.parent.keys.filter(_=>_.optional):[]).map(_=>_.name)),f.params&&yi(f.params,d.keys.map(_=>_.name))),w=d.stringify(g)}else if(f.path!=null)w=f.path,d=n.find(_=>_.re.test(w)),d&&(g=d.parse(w),C=d.record.name);else{if(d=h.name?s.get(h.name):n.find(_=>_.re.test(h.path)),!d)throw an(1,{location:f,currentLocation:h});C=d.record.name,g=ne({},h.params,f.params),w=d.stringify(g)}const S=[];let v=d;for(;v;)S.unshift(v.record),v=v.parent;return{name:C,path:w,params:g,matched:S,meta:ud(S)}}e.forEach(f=>o(f));function u(){n.length=0,s.clear()}return{addRoute:o,resolve:c,removeRoute:i,clearRoutes:u,getRoutes:a,getRecordMatcher:r}}function yi(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function wi(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:cd(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function cd(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function vi(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function ud(e){return e.reduce((t,n)=>ne(t,n.meta),{})}function bi(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function fd(e,t){let n=0,s=t.length;for(;n!==s;){const o=n+s>>1;oa(e,t[o])<0?s=o:n=o+1}const r=dd(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function dd(e){let t=e;for(;t=t.parent;)if(ia(t)&&oa(e,t)===0)return t}function ia({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function hd(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<s.length;++r){const o=s[r].replace(Ql," "),i=o.indexOf("="),a=kn(i<0?o:o.slice(0,i)),l=i<0?null:kn(o.slice(i+1));if(a in t){let c=t[a];Ye(c)||(c=t[a]=[c]),c.push(l)}else t[a]=l}return t}function _i(e){let t="";for(let n in e){const s=e[n];if(n=Lf(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(Ye(s)?s.map(o=>o&&kr(o)):[s&&kr(s)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function pd(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=Ye(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const gd=Symbol(""),Ei=Symbol(""),qs=Symbol(""),bo=Symbol(""),Hr=Symbol("");function vn(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Tt(e,t,n,s,r,o=i=>i()){const i=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((a,l)=>{const c=h=>{h===!1?l(an(4,{from:n,to:t})):h instanceof Error?l(h):Zf(h)?l(an(2,{from:t,to:h})):(i&&s.enterCallbacks[r]===i&&typeof h=="function"&&i.push(h),a())},u=o(()=>e.call(s&&s.instances[r],t,n,c));let f=Promise.resolve(u);e.length<3&&(f=f.then(c)),f.catch(h=>l(h))})}function wr(e,t,n,s,r=o=>o()){const o=[];for(const i of e)for(const a in i.components){let l=i.components[a];if(!(t!=="beforeRouteEnter"&&!i.instances[a]))if(Gl(l)){const u=(l.__vccOpts||l)[t];u&&o.push(Tt(u,n,s,i,a,r))}else{let c=l();o.push(()=>c.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${a}" at "${i.path}"`);const f=Ef(u)?u.default:u;i.mods[a]=u,i.components[a]=f;const d=(f.__vccOpts||f)[t];return d&&Tt(d,n,s,i,a,r)()}))}}return o}function Ci(e){const t=Ge(qs),n=Ge(bo),s=qe(()=>{const l=mt(e.to);return t.resolve(l)}),r=qe(()=>{const{matched:l}=s.value,{length:c}=l,u=l[c-1],f=n.matched;if(!u||!f.length)return-1;const h=f.findIndex(ln.bind(null,u));if(h>-1)return h;const d=Ai(l[c-2]);return c>1&&Ai(u)===d&&f[f.length-1].path!==d?f.findIndex(ln.bind(null,l[c-2])):h}),o=qe(()=>r.value>-1&&bd(n.params,s.value.params)),i=qe(()=>r.value>-1&&r.value===n.matched.length-1&&ta(n.params,s.value.params));function a(l={}){if(vd(l)){const c=t[mt(e.replace)?"replace":"push"](mt(e.to)).catch(On);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:s,href:qe(()=>s.value.href),isActive:o,isExactActive:i,navigate:a}}function md(e){return e.length===1?e[0]:e}const yd=at({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:Ci,setup(e,{slots:t}){const n=Ms(Ci(e)),{options:s}=Ge(qs),r=qe(()=>({[Si(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Si(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&md(t.default(n));return e.custom?o:Wl("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),wd=yd;function vd(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function bd(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!Ye(r)||r.length!==s.length||s.some((o,i)=>o!==r[i]))return!1}return!0}function Ai(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Si=(e,t,n)=>e??t??n,_d=at({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=Ge(Hr),r=qe(()=>e.route||s.value),o=Ge(Ei,0),i=qe(()=>{let c=mt(o);const{matched:u}=r.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),a=qe(()=>r.value.matched[i.value]);rs(Ei,qe(()=>i.value+1)),rs(gd,a),rs(Hr,r);const l=ce();return Pn(()=>[l.value,a.value,e.name],([c,u,f],[h,d,g])=>{u&&(u.instances[f]=c,d&&d!==u&&c&&c===h&&(u.leaveGuards.size||(u.leaveGuards=d.leaveGuards),u.updateGuards.size||(u.updateGuards=d.updateGuards))),c&&u&&(!d||!ln(u,d)||!h)&&(u.enterCallbacks[f]||[]).forEach(w=>w(c))},{flush:"post"}),()=>{const c=r.value,u=e.name,f=a.value,h=f&&f.components[u];if(!h)return Ri(n.default,{Component:h,route:c});const d=f.props[u],g=d?d===!0?c.params:typeof d=="function"?d(c):d:null,C=Wl(h,ne({},g,t,{onVnodeUnmounted:S=>{S.component.isUnmounted&&(f.instances[u]=null)},ref:l}));return Ri(n.default,{Component:C,route:c})||C}}});function Ri(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const la=_d;function Ed(e){const t=ad(e.routes,e),n=e.parseQuery||hd,s=e.stringifyQuery||_i,r=e.history,o=vn(),i=vn(),a=vn(),l=xc(Ct);let c=Ct;Yt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=mr.bind(null,P=>""+P),f=mr.bind(null,Mf),h=mr.bind(null,kn);function d(P,U){let D,k;return sa(P)?(D=t.getRecordMatcher(P),k=U):k=P,t.addRoute(k,D)}function g(P){const U=t.getRecordMatcher(P);U&&t.removeRoute(U)}function w(){return t.getRoutes().map(P=>P.record)}function C(P){return!!t.getRecordMatcher(P)}function S(P,U){if(U=ne({},U||l.value),typeof P=="string"){const y=yr(n,P,U.path),T=t.resolve({path:y.path},U),x=r.createHref(y.fullPath);return ne(y,T,{params:h(T.params),hash:kn(y.hash),redirectedFrom:void 0,href:x})}let D;if(P.path!=null)D=ne({},P,{path:yr(n,P.path,U.path).path});else{const y=ne({},P.params);for(const T in y)y[T]==null&&delete y[T];D=ne({},P,{params:f(y)}),U.params=f(U.params)}const k=t.resolve(D,U),le=P.hash||"";k.params=u(h(k.params));const p=Ff(s,ne({},P,{hash:Nf(le),path:k.path})),m=r.createHref(p);return ne({fullPath:p,hash:le,query:s===_i?pd(P.query):P.query||{}},k,{redirectedFrom:void 0,href:m})}function v(P){return typeof P=="string"?yr(n,P,l.value.path):ne({},P)}function _(P,U){if(c!==P)return an(8,{from:U,to:P})}function b(P){return L(P)}function R(P){return b(ne(v(P),{replace:!0}))}function O(P){const U=P.matched[P.matched.length-1];if(U&&U.redirect){const{redirect:D}=U;let k=typeof D=="function"?D(P):D;return typeof k=="string"&&(k=k.includes("?")||k.includes("#")?k=v(k):{path:k},k.params={}),ne({query:P.query,hash:P.hash,params:k.path!=null?{}:P.params},k)}}function L(P,U){const D=c=S(P),k=l.value,le=P.state,p=P.force,m=P.replace===!0,y=O(D);if(y)return L(ne(v(y),{state:typeof y=="object"?ne({},le,y.state):le,force:p,replace:m}),U||D);const T=D;T.redirectedFrom=U;let x;return!p&&Uf(s,k,D)&&(x=an(16,{to:T,from:k}),Xe(k,k,!0,!1)),(x?Promise.resolve(x):z(T,k)).catch(I=>dt(I)?dt(I,2)?I:Et(I):te(I,T,k)).then(I=>{if(I){if(dt(I,2))return L(ne({replace:m},v(I.to),{state:typeof I.to=="object"?ne({},le,I.to.state):le,force:p}),U||T)}else I=We(T,k,!0,m,le);return ee(T,k,I),I})}function W(P,U){const D=_(P,U);return D?Promise.reject(D):Promise.resolve()}function ue(P){const U=Kt.values().next().value;return U&&typeof U.runWithContext=="function"?U.runWithContext(P):P()}function z(P,U){let D;const[k,le,p]=Cd(P,U);D=wr(k.reverse(),"beforeRouteLeave",P,U);for(const y of k)y.leaveGuards.forEach(T=>{D.push(Tt(T,P,U))});const m=W.bind(null,P,U);return D.push(m),He(D).then(()=>{D=[];for(const y of o.list())D.push(Tt(y,P,U));return D.push(m),He(D)}).then(()=>{D=wr(le,"beforeRouteUpdate",P,U);for(const y of le)y.updateGuards.forEach(T=>{D.push(Tt(T,P,U))});return D.push(m),He(D)}).then(()=>{D=[];for(const y of p)if(y.beforeEnter)if(Ye(y.beforeEnter))for(const T of y.beforeEnter)D.push(Tt(T,P,U));else D.push(Tt(y.beforeEnter,P,U));return D.push(m),He(D)}).then(()=>(P.matched.forEach(y=>y.enterCallbacks={}),D=wr(p,"beforeRouteEnter",P,U,ue),D.push(m),He(D))).then(()=>{D=[];for(const y of i.list())D.push(Tt(y,P,U));return D.push(m),He(D)}).catch(y=>dt(y,8)?y:Promise.reject(y))}function ee(P,U,D){a.list().forEach(k=>ue(()=>k(P,U,D)))}function We(P,U,D,k,le){const p=_(P,U);if(p)return p;const m=U===Ct,y=Yt?history.state:{};D&&(k||m?r.replace(P.fullPath,ne({scroll:m&&y&&y.scroll},le)):r.push(P.fullPath,le)),l.value=P,Xe(P,U,D,m),Et()}let we;function mn(){we||(we=r.listen((P,U,D)=>{if(!Qn.listening)return;const k=S(P),le=O(k);if(le){L(ne(le,{replace:!0,force:!0}),k).catch(On);return}c=k;const p=l.value;Yt&&Wf(di(p.fullPath,D.delta),Vs()),z(k,p).catch(m=>dt(m,12)?m:dt(m,2)?(L(ne(v(m.to),{force:!0}),k).then(y=>{dt(y,20)&&!D.delta&&D.type===jn.pop&&r.go(-1,!1)}).catch(On),Promise.reject()):(D.delta&&r.go(-D.delta,!1),te(m,k,p))).then(m=>{m=m||We(k,p,!1),m&&(D.delta&&!dt(m,8)?r.go(-D.delta,!1):D.type===jn.pop&&dt(m,20)&&r.go(-1,!1)),ee(k,p,m)}).catch(On)}))}let Vt=vn(),ve=vn(),ie;function te(P,U,D){Et(P);const k=ve.list();return k.length?k.forEach(le=>le(P,U,D)):console.error(P),Promise.reject(P)}function ut(){return ie&&l.value!==Ct?Promise.resolve():new Promise((P,U)=>{Vt.add([P,U])})}function Et(P){return ie||(ie=!P,mn(),Vt.list().forEach(([U,D])=>P?D(P):U()),Vt.reset()),P}function Xe(P,U,D,k){const{scrollBehavior:le}=e;if(!Yt||!le)return Promise.resolve();const p=!D&&Jf(di(P.fullPath,0))||(k||!D)&&history.state&&history.state.scroll||null;return ho().then(()=>le(P,U,p)).then(m=>m&&zf(m)).catch(m=>te(m,P,U))}const xe=P=>r.go(P);let qt;const Kt=new Set,Qn={currentRoute:l,listening:!0,addRoute:d,removeRoute:g,clearRoutes:t.clearRoutes,hasRoute:C,getRoutes:w,resolve:S,options:e,push:b,replace:R,go:xe,back:()=>xe(-1),forward:()=>xe(1),beforeEach:o.add,beforeResolve:i.add,afterEach:a.add,onError:ve.add,isReady:ut,install(P){const U=this;P.component("RouterLink",wd),P.component("RouterView",la),P.config.globalProperties.$router=U,Object.defineProperty(P.config.globalProperties,"$route",{enumerable:!0,get:()=>mt(l)}),Yt&&!qt&&l.value===Ct&&(qt=!0,b(r.location).catch(le=>{}));const D={};for(const le in Ct)Object.defineProperty(D,le,{get:()=>l.value[le],enumerable:!0});P.provide(qs,U),P.provide(bo,hl(D)),P.provide(Hr,l);const k=P.unmount;Kt.add(P),P.unmount=function(){Kt.delete(P),Kt.size<1&&(c=Ct,we&&we(),we=null,l.value=Ct,qt=!1,ie=!1),k()}}};function He(P){return P.reduce((U,D)=>U.then(()=>ue(D)),Promise.resolve())}return Qn}function Cd(e,t){const n=[],s=[],r=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;i<o;i++){const a=t.matched[i];a&&(e.matched.find(c=>ln(c,a))?s.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(c=>ln(c,l))||r.push(l))}return[n,s,r]}function Ad(){return Ge(qs)}function _o(e){return Ge(bo)}const Sd=at({__name:"App",setup(e){return(t,n)=>(H(),xn(qc,null,[Q(mt(la))],1024))}}),Rd="modulepreload",Td=function(e){return"/"+e},Ti={},bn=function(t,n,s){let r=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const i=document.querySelector("meta[property=csp-nonce]"),a=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));r=Promise.allSettled(n.map(l=>{if(l=Td(l),l in Ti)return;Ti[l]=!0;const c=l.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${u}`))return;const f=document.createElement("link");if(f.rel=c?"stylesheet":Rd,c||(f.as="script"),f.crossOrigin="",f.href=l,a&&f.setAttribute("nonce",a),document.head.appendChild(f),c)return new Promise((h,d)=>{f.addEventListener("load",h),f.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${l}`)))})}))}function o(i){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=i,window.dispatchEvent(a),!a.defaultPrevented)throw i}return r.then(i=>{for(const a of i||[])a.status==="rejected"&&o(a.reason);return t().catch(o)})};function aa(e,t){return function(){return e.apply(t,arguments)}}const{toString:Pd}=Object.prototype,{getPrototypeOf:Eo}=Object,{iterator:Ks,toStringTag:ca}=Symbol,zs=(e=>t=>{const n=Pd.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Qe=e=>(e=e.toLowerCase(),t=>zs(t)===e),Ws=e=>t=>typeof t===e,{isArray:pn}=Array,Hn=Ws("undefined");function Id(e){return e!==null&&!Hn(e)&&e.constructor!==null&&!Hn(e.constructor)&&$e(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const ua=Qe("ArrayBuffer");function xd(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&ua(e.buffer),t}const Od=Ws("string"),$e=Ws("function"),fa=Ws("number"),Js=e=>e!==null&&typeof e=="object",Nd=e=>e===!0||e===!1,as=e=>{if(zs(e)!=="object")return!1;const t=Eo(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(ca in e)&&!(Ks in e)},Ld=Qe("Date"),$d=Qe("File"),Md=Qe("Blob"),Bd=Qe("FileList"),Dd=e=>Js(e)&&$e(e.pipe),Fd=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||$e(e.append)&&((t=zs(e))==="formdata"||t==="object"&&$e(e.toString)&&e.toString()==="[object FormData]"))},Ud=Qe("URLSearchParams"),[kd,jd,Hd,Vd]=["ReadableStream","Request","Response","Headers"].map(Qe),qd=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Wn(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let s,r;if(typeof e!="object"&&(e=[e]),pn(e))for(s=0,r=e.length;s<r;s++)t.call(null,e[s],s,e);else{const o=n?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let a;for(s=0;s<i;s++)a=o[s],t.call(null,e[a],a,e)}}function da(e,t){t=t.toLowerCase();const n=Object.keys(e);let s=n.length,r;for(;s-- >0;)if(r=n[s],t===r.toLowerCase())return r;return null}const Bt=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,ha=e=>!Hn(e)&&e!==Bt;function Vr(){const{caseless:e}=ha(this)&&this||{},t={},n=(s,r)=>{const o=e&&da(t,r)||r;as(t[o])&&as(s)?t[o]=Vr(t[o],s):as(s)?t[o]=Vr({},s):pn(s)?t[o]=s.slice():t[o]=s};for(let s=0,r=arguments.length;s<r;s++)arguments[s]&&Wn(arguments[s],n);return t}const Kd=(e,t,n,{allOwnKeys:s}={})=>(Wn(t,(r,o)=>{n&&$e(r)?e[o]=aa(r,n):e[o]=r},{allOwnKeys:s}),e),zd=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Wd=(e,t,n,s)=>{e.prototype=Object.create(t.prototype,s),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},Jd=(e,t,n,s)=>{let r,o,i;const a={};if(t=t||{},e==null)return t;do{for(r=Object.getOwnPropertyNames(e),o=r.length;o-- >0;)i=r[o],(!s||s(i,e,t))&&!a[i]&&(t[i]=e[i],a[i]=!0);e=n!==!1&&Eo(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Gd=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const s=e.indexOf(t,n);return s!==-1&&s===n},Yd=e=>{if(!e)return null;if(pn(e))return e;let t=e.length;if(!fa(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},Qd=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Eo(Uint8Array)),Xd=(e,t)=>{const s=(e&&e[Ks]).call(e);let r;for(;(r=s.next())&&!r.done;){const o=r.value;t.call(e,o[0],o[1])}},Zd=(e,t)=>{let n;const s=[];for(;(n=e.exec(t))!==null;)s.push(n);return s},eh=Qe("HTMLFormElement"),th=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,r){return s.toUpperCase()+r}),Pi=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),nh=Qe("RegExp"),pa=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),s={};Wn(n,(r,o)=>{let i;(i=t(r,o,e))!==!1&&(s[o]=i||r)}),Object.defineProperties(e,s)},sh=e=>{pa(e,(t,n)=>{if($e(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const s=e[n];if($e(s)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},rh=(e,t)=>{const n={},s=r=>{r.forEach(o=>{n[o]=!0})};return pn(e)?s(e):s(String(e).split(t)),n},oh=()=>{},ih=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function lh(e){return!!(e&&$e(e.append)&&e[ca]==="FormData"&&e[Ks])}const ah=e=>{const t=new Array(10),n=(s,r)=>{if(Js(s)){if(t.indexOf(s)>=0)return;if(!("toJSON"in s)){t[r]=s;const o=pn(s)?[]:{};return Wn(s,(i,a)=>{const l=n(i,r+1);!Hn(l)&&(o[a]=l)}),t[r]=void 0,o}}return s};return n(e,0)},ch=Qe("AsyncFunction"),uh=e=>e&&(Js(e)||$e(e))&&$e(e.then)&&$e(e.catch),ga=((e,t)=>e?setImmediate:t?((n,s)=>(Bt.addEventListener("message",({source:r,data:o})=>{r===Bt&&o===n&&s.length&&s.shift()()},!1),r=>{s.push(r),Bt.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",$e(Bt.postMessage)),fh=typeof queueMicrotask<"u"?queueMicrotask.bind(Bt):typeof process<"u"&&process.nextTick||ga,dh=e=>e!=null&&$e(e[Ks]),A={isArray:pn,isArrayBuffer:ua,isBuffer:Id,isFormData:Fd,isArrayBufferView:xd,isString:Od,isNumber:fa,isBoolean:Nd,isObject:Js,isPlainObject:as,isReadableStream:kd,isRequest:jd,isResponse:Hd,isHeaders:Vd,isUndefined:Hn,isDate:Ld,isFile:$d,isBlob:Md,isRegExp:nh,isFunction:$e,isStream:Dd,isURLSearchParams:Ud,isTypedArray:Qd,isFileList:Bd,forEach:Wn,merge:Vr,extend:Kd,trim:qd,stripBOM:zd,inherits:Wd,toFlatObject:Jd,kindOf:zs,kindOfTest:Qe,endsWith:Gd,toArray:Yd,forEachEntry:Xd,matchAll:Zd,isHTMLForm:eh,hasOwnProperty:Pi,hasOwnProp:Pi,reduceDescriptors:pa,freezeMethods:sh,toObjectSet:rh,toCamelCase:th,noop:oh,toFiniteNumber:ih,findKey:da,global:Bt,isContextDefined:ha,isSpecCompliantForm:lh,toJSONObject:ah,isAsyncFn:ch,isThenable:uh,setImmediate:ga,asap:fh,isIterable:dh};function Y(e,t,n,s,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),s&&(this.request=s),r&&(this.response=r,this.status=r.status?r.status:null)}A.inherits(Y,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:A.toJSONObject(this.config),code:this.code,status:this.status}}});const ma=Y.prototype,ya={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{ya[e]={value:e}});Object.defineProperties(Y,ya);Object.defineProperty(ma,"isAxiosError",{value:!0});Y.from=(e,t,n,s,r,o)=>{const i=Object.create(ma);return A.toFlatObject(e,i,function(l){return l!==Error.prototype},a=>a!=="isAxiosError"),Y.call(i,e.message,t,n,s,r),i.cause=e,i.name=e.name,o&&Object.assign(i,o),i};const hh=null;function qr(e){return A.isPlainObject(e)||A.isArray(e)}function wa(e){return A.endsWith(e,"[]")?e.slice(0,-2):e}function Ii(e,t,n){return e?e.concat(t).map(function(r,o){return r=wa(r),!n&&o?"["+r+"]":r}).join(n?".":""):t}function ph(e){return A.isArray(e)&&!e.some(qr)}const gh=A.toFlatObject(A,{},null,function(t){return/^is[A-Z]/.test(t)});function Gs(e,t,n){if(!A.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=A.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(w,C){return!A.isUndefined(C[w])});const s=n.metaTokens,r=n.visitor||u,o=n.dots,i=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&A.isSpecCompliantForm(t);if(!A.isFunction(r))throw new TypeError("visitor must be a function");function c(g){if(g===null)return"";if(A.isDate(g))return g.toISOString();if(!l&&A.isBlob(g))throw new Y("Blob is not supported. Use a Buffer instead.");return A.isArrayBuffer(g)||A.isTypedArray(g)?l&&typeof Blob=="function"?new Blob([g]):Buffer.from(g):g}function u(g,w,C){let S=g;if(g&&!C&&typeof g=="object"){if(A.endsWith(w,"{}"))w=s?w:w.slice(0,-2),g=JSON.stringify(g);else if(A.isArray(g)&&ph(g)||(A.isFileList(g)||A.endsWith(w,"[]"))&&(S=A.toArray(g)))return w=wa(w),S.forEach(function(_,b){!(A.isUndefined(_)||_===null)&&t.append(i===!0?Ii([w],b,o):i===null?w:w+"[]",c(_))}),!1}return qr(g)?!0:(t.append(Ii(C,w,o),c(g)),!1)}const f=[],h=Object.assign(gh,{defaultVisitor:u,convertValue:c,isVisitable:qr});function d(g,w){if(!A.isUndefined(g)){if(f.indexOf(g)!==-1)throw Error("Circular reference detected in "+w.join("."));f.push(g),A.forEach(g,function(S,v){(!(A.isUndefined(S)||S===null)&&r.call(t,S,A.isString(v)?v.trim():v,w,h))===!0&&d(S,w?w.concat(v):[v])}),f.pop()}}if(!A.isObject(e))throw new TypeError("data must be an object");return d(e),t}function xi(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(s){return t[s]})}function Co(e,t){this._pairs=[],e&&Gs(e,this,t)}const va=Co.prototype;va.append=function(t,n){this._pairs.push([t,n])};va.toString=function(t){const n=t?function(s){return t.call(this,s,xi)}:xi;return this._pairs.map(function(r){return n(r[0])+"="+n(r[1])},"").join("&")};function mh(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ba(e,t,n){if(!t)return e;const s=n&&n.encode||mh;A.isFunction(n)&&(n={serialize:n});const r=n&&n.serialize;let o;if(r?o=r(t,n):o=A.isURLSearchParams(t)?t.toString():new Co(t,n).toString(s),o){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class Oi{constructor(){this.handlers=[]}use(t,n,s){return this.handlers.push({fulfilled:t,rejected:n,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){A.forEach(this.handlers,function(s){s!==null&&t(s)})}}const _a={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},yh=typeof URLSearchParams<"u"?URLSearchParams:Co,wh=typeof FormData<"u"?FormData:null,vh=typeof Blob<"u"?Blob:null,bh={isBrowser:!0,classes:{URLSearchParams:yh,FormData:wh,Blob:vh},protocols:["http","https","file","blob","url","data"]},Ao=typeof window<"u"&&typeof document<"u",Kr=typeof navigator=="object"&&navigator||void 0,_h=Ao&&(!Kr||["ReactNative","NativeScript","NS"].indexOf(Kr.product)<0),Eh=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Ch=Ao&&window.location.href||"http://localhost",Ah=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Ao,hasStandardBrowserEnv:_h,hasStandardBrowserWebWorkerEnv:Eh,navigator:Kr,origin:Ch},Symbol.toStringTag,{value:"Module"})),Se={...Ah,...bh};function Sh(e,t){return Gs(e,new Se.classes.URLSearchParams,Object.assign({visitor:function(n,s,r,o){return Se.isNode&&A.isBuffer(n)?(this.append(s,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function Rh(e){return A.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Th(e){const t={},n=Object.keys(e);let s;const r=n.length;let o;for(s=0;s<r;s++)o=n[s],t[o]=e[o];return t}function Ea(e){function t(n,s,r,o){let i=n[o++];if(i==="__proto__")return!0;const a=Number.isFinite(+i),l=o>=n.length;return i=!i&&A.isArray(r)?r.length:i,l?(A.hasOwnProp(r,i)?r[i]=[r[i],s]:r[i]=s,!a):((!r[i]||!A.isObject(r[i]))&&(r[i]=[]),t(n,s,r[i],o)&&A.isArray(r[i])&&(r[i]=Th(r[i])),!a)}if(A.isFormData(e)&&A.isFunction(e.entries)){const n={};return A.forEachEntry(e,(s,r)=>{t(Rh(s),r,n,0)}),n}return null}function Ph(e,t,n){if(A.isString(e))try{return(t||JSON.parse)(e),A.trim(e)}catch(s){if(s.name!=="SyntaxError")throw s}return(n||JSON.stringify)(e)}const Jn={transitional:_a,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const s=n.getContentType()||"",r=s.indexOf("application/json")>-1,o=A.isObject(t);if(o&&A.isHTMLForm(t)&&(t=new FormData(t)),A.isFormData(t))return r?JSON.stringify(Ea(t)):t;if(A.isArrayBuffer(t)||A.isBuffer(t)||A.isStream(t)||A.isFile(t)||A.isBlob(t)||A.isReadableStream(t))return t;if(A.isArrayBufferView(t))return t.buffer;if(A.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(o){if(s.indexOf("application/x-www-form-urlencoded")>-1)return Sh(t,this.formSerializer).toString();if((a=A.isFileList(t))||s.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return Gs(a?{"files[]":t}:t,l&&new l,this.formSerializer)}}return o||r?(n.setContentType("application/json",!1),Ph(t)):t}],transformResponse:[function(t){const n=this.transitional||Jn.transitional,s=n&&n.forcedJSONParsing,r=this.responseType==="json";if(A.isResponse(t)||A.isReadableStream(t))return t;if(t&&A.isString(t)&&(s&&!this.responseType||r)){const i=!(n&&n.silentJSONParsing)&&r;try{return JSON.parse(t)}catch(a){if(i)throw a.name==="SyntaxError"?Y.from(a,Y.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Se.classes.FormData,Blob:Se.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};A.forEach(["delete","get","head","post","put","patch"],e=>{Jn.headers[e]={}});const Ih=A.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),xh=e=>{const t={};let n,s,r;return e&&e.split(`
|
||
`).forEach(function(i){r=i.indexOf(":"),n=i.substring(0,r).trim().toLowerCase(),s=i.substring(r+1).trim(),!(!n||t[n]&&Ih[n])&&(n==="set-cookie"?t[n]?t[n].push(s):t[n]=[s]:t[n]=t[n]?t[n]+", "+s:s)}),t},Ni=Symbol("internals");function _n(e){return e&&String(e).trim().toLowerCase()}function cs(e){return e===!1||e==null?e:A.isArray(e)?e.map(cs):String(e)}function Oh(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=n.exec(e);)t[s[1]]=s[2];return t}const Nh=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function vr(e,t,n,s,r){if(A.isFunction(s))return s.call(this,t,n);if(r&&(t=n),!!A.isString(t)){if(A.isString(s))return t.indexOf(s)!==-1;if(A.isRegExp(s))return s.test(t)}}function Lh(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,s)=>n.toUpperCase()+s)}function $h(e,t){const n=A.toCamelCase(" "+t);["get","set","has"].forEach(s=>{Object.defineProperty(e,s+n,{value:function(r,o,i){return this[s].call(this,t,r,o,i)},configurable:!0})})}let Me=class{constructor(t){t&&this.set(t)}set(t,n,s){const r=this;function o(a,l,c){const u=_n(l);if(!u)throw new Error("header name must be a non-empty string");const f=A.findKey(r,u);(!f||r[f]===void 0||c===!0||c===void 0&&r[f]!==!1)&&(r[f||l]=cs(a))}const i=(a,l)=>A.forEach(a,(c,u)=>o(c,u,l));if(A.isPlainObject(t)||t instanceof this.constructor)i(t,n);else if(A.isString(t)&&(t=t.trim())&&!Nh(t))i(xh(t),n);else if(A.isObject(t)&&A.isIterable(t)){let a={},l,c;for(const u of t){if(!A.isArray(u))throw TypeError("Object iterator must return a key-value pair");a[c=u[0]]=(l=a[c])?A.isArray(l)?[...l,u[1]]:[l,u[1]]:u[1]}i(a,n)}else t!=null&&o(n,t,s);return this}get(t,n){if(t=_n(t),t){const s=A.findKey(this,t);if(s){const r=this[s];if(!n)return r;if(n===!0)return Oh(r);if(A.isFunction(n))return n.call(this,r,s);if(A.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=_n(t),t){const s=A.findKey(this,t);return!!(s&&this[s]!==void 0&&(!n||vr(this,this[s],s,n)))}return!1}delete(t,n){const s=this;let r=!1;function o(i){if(i=_n(i),i){const a=A.findKey(s,i);a&&(!n||vr(s,s[a],a,n))&&(delete s[a],r=!0)}}return A.isArray(t)?t.forEach(o):o(t),r}clear(t){const n=Object.keys(this);let s=n.length,r=!1;for(;s--;){const o=n[s];(!t||vr(this,this[o],o,t,!0))&&(delete this[o],r=!0)}return r}normalize(t){const n=this,s={};return A.forEach(this,(r,o)=>{const i=A.findKey(s,o);if(i){n[i]=cs(r),delete n[o];return}const a=t?Lh(o):String(o).trim();a!==o&&delete n[o],n[a]=cs(r),s[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return A.forEach(this,(s,r)=>{s!=null&&s!==!1&&(n[r]=t&&A.isArray(s)?s.join(", "):s)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
|
||
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const s=new this(t);return n.forEach(r=>s.set(r)),s}static accessor(t){const s=(this[Ni]=this[Ni]={accessors:{}}).accessors,r=this.prototype;function o(i){const a=_n(i);s[a]||($h(r,i),s[a]=!0)}return A.isArray(t)?t.forEach(o):o(t),this}};Me.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);A.reduceDescriptors(Me.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(s){this[n]=s}}});A.freezeMethods(Me);function br(e,t){const n=this||Jn,s=t||n,r=Me.from(s.headers);let o=s.data;return A.forEach(e,function(a){o=a.call(n,o,r.normalize(),t?t.status:void 0)}),r.normalize(),o}function Ca(e){return!!(e&&e.__CANCEL__)}function gn(e,t,n){Y.call(this,e??"canceled",Y.ERR_CANCELED,t,n),this.name="CanceledError"}A.inherits(gn,Y,{__CANCEL__:!0});function Aa(e,t,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?e(n):t(new Y("Request failed with status code "+n.status,[Y.ERR_BAD_REQUEST,Y.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function Mh(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Bh(e,t){e=e||10;const n=new Array(e),s=new Array(e);let r=0,o=0,i;return t=t!==void 0?t:1e3,function(l){const c=Date.now(),u=s[o];i||(i=c),n[r]=l,s[r]=c;let f=o,h=0;for(;f!==r;)h+=n[f++],f=f%e;if(r=(r+1)%e,r===o&&(o=(o+1)%e),c-i<t)return;const d=u&&c-u;return d?Math.round(h*1e3/d):void 0}}function Dh(e,t){let n=0,s=1e3/t,r,o;const i=(c,u=Date.now())=>{n=u,r=null,o&&(clearTimeout(o),o=null),e.apply(null,c)};return[(...c)=>{const u=Date.now(),f=u-n;f>=s?i(c,u):(r=c,o||(o=setTimeout(()=>{o=null,i(r)},s-f)))},()=>r&&i(r)]}const As=(e,t,n=3)=>{let s=0;const r=Bh(50,250);return Dh(o=>{const i=o.loaded,a=o.lengthComputable?o.total:void 0,l=i-s,c=r(l),u=i<=a;s=i;const f={loaded:i,total:a,progress:a?i/a:void 0,bytes:l,rate:c||void 0,estimated:c&&a&&u?(a-i)/c:void 0,event:o,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(f)},n)},Li=(e,t)=>{const n=e!=null;return[s=>t[0]({lengthComputable:n,total:e,loaded:s}),t[1]]},$i=e=>(...t)=>A.asap(()=>e(...t)),Fh=Se.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Se.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Se.origin),Se.navigator&&/(msie|trident)/i.test(Se.navigator.userAgent)):()=>!0,Uh=Se.hasStandardBrowserEnv?{write(e,t,n,s,r,o){const i=[e+"="+encodeURIComponent(t)];A.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),A.isString(s)&&i.push("path="+s),A.isString(r)&&i.push("domain="+r),o===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function kh(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function jh(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Sa(e,t,n){let s=!kh(t);return e&&(s||n==!1)?jh(e,t):t}const Mi=e=>e instanceof Me?{...e}:e;function kt(e,t){t=t||{};const n={};function s(c,u,f,h){return A.isPlainObject(c)&&A.isPlainObject(u)?A.merge.call({caseless:h},c,u):A.isPlainObject(u)?A.merge({},u):A.isArray(u)?u.slice():u}function r(c,u,f,h){if(A.isUndefined(u)){if(!A.isUndefined(c))return s(void 0,c,f,h)}else return s(c,u,f,h)}function o(c,u){if(!A.isUndefined(u))return s(void 0,u)}function i(c,u){if(A.isUndefined(u)){if(!A.isUndefined(c))return s(void 0,c)}else return s(void 0,u)}function a(c,u,f){if(f in t)return s(c,u);if(f in e)return s(void 0,c)}const l={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:a,headers:(c,u,f)=>r(Mi(c),Mi(u),f,!0)};return A.forEach(Object.keys(Object.assign({},e,t)),function(u){const f=l[u]||r,h=f(e[u],t[u],u);A.isUndefined(h)&&f!==a||(n[u]=h)}),n}const Ra=e=>{const t=kt({},e);let{data:n,withXSRFToken:s,xsrfHeaderName:r,xsrfCookieName:o,headers:i,auth:a}=t;t.headers=i=Me.from(i),t.url=ba(Sa(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),a&&i.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):"")));let l;if(A.isFormData(n)){if(Se.hasStandardBrowserEnv||Se.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if((l=i.getContentType())!==!1){const[c,...u]=l?l.split(";").map(f=>f.trim()).filter(Boolean):[];i.setContentType([c||"multipart/form-data",...u].join("; "))}}if(Se.hasStandardBrowserEnv&&(s&&A.isFunction(s)&&(s=s(t)),s||s!==!1&&Fh(t.url))){const c=r&&o&&Uh.read(o);c&&i.set(r,c)}return t},Hh=typeof XMLHttpRequest<"u",Vh=Hh&&function(e){return new Promise(function(n,s){const r=Ra(e);let o=r.data;const i=Me.from(r.headers).normalize();let{responseType:a,onUploadProgress:l,onDownloadProgress:c}=r,u,f,h,d,g;function w(){d&&d(),g&&g(),r.cancelToken&&r.cancelToken.unsubscribe(u),r.signal&&r.signal.removeEventListener("abort",u)}let C=new XMLHttpRequest;C.open(r.method.toUpperCase(),r.url,!0),C.timeout=r.timeout;function S(){if(!C)return;const _=Me.from("getAllResponseHeaders"in C&&C.getAllResponseHeaders()),R={data:!a||a==="text"||a==="json"?C.responseText:C.response,status:C.status,statusText:C.statusText,headers:_,config:e,request:C};Aa(function(L){n(L),w()},function(L){s(L),w()},R),C=null}"onloadend"in C?C.onloadend=S:C.onreadystatechange=function(){!C||C.readyState!==4||C.status===0&&!(C.responseURL&&C.responseURL.indexOf("file:")===0)||setTimeout(S)},C.onabort=function(){C&&(s(new Y("Request aborted",Y.ECONNABORTED,e,C)),C=null)},C.onerror=function(){s(new Y("Network Error",Y.ERR_NETWORK,e,C)),C=null},C.ontimeout=function(){let b=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const R=r.transitional||_a;r.timeoutErrorMessage&&(b=r.timeoutErrorMessage),s(new Y(b,R.clarifyTimeoutError?Y.ETIMEDOUT:Y.ECONNABORTED,e,C)),C=null},o===void 0&&i.setContentType(null),"setRequestHeader"in C&&A.forEach(i.toJSON(),function(b,R){C.setRequestHeader(R,b)}),A.isUndefined(r.withCredentials)||(C.withCredentials=!!r.withCredentials),a&&a!=="json"&&(C.responseType=r.responseType),c&&([h,g]=As(c,!0),C.addEventListener("progress",h)),l&&C.upload&&([f,d]=As(l),C.upload.addEventListener("progress",f),C.upload.addEventListener("loadend",d)),(r.cancelToken||r.signal)&&(u=_=>{C&&(s(!_||_.type?new gn(null,e,C):_),C.abort(),C=null)},r.cancelToken&&r.cancelToken.subscribe(u),r.signal&&(r.signal.aborted?u():r.signal.addEventListener("abort",u)));const v=Mh(r.url);if(v&&Se.protocols.indexOf(v)===-1){s(new Y("Unsupported protocol "+v+":",Y.ERR_BAD_REQUEST,e));return}C.send(o||null)})},qh=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let s=new AbortController,r;const o=function(c){if(!r){r=!0,a();const u=c instanceof Error?c:this.reason;s.abort(u instanceof Y?u:new gn(u instanceof Error?u.message:u))}};let i=t&&setTimeout(()=>{i=null,o(new Y(`timeout ${t} of ms exceeded`,Y.ETIMEDOUT))},t);const a=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(c=>{c.unsubscribe?c.unsubscribe(o):c.removeEventListener("abort",o)}),e=null)};e.forEach(c=>c.addEventListener("abort",o));const{signal:l}=s;return l.unsubscribe=()=>A.asap(a),l}},Kh=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let s=0,r;for(;s<n;)r=s+t,yield e.slice(s,r),s=r},zh=async function*(e,t){for await(const n of Wh(e))yield*Kh(n,t)},Wh=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:s}=await t.read();if(n)break;yield s}}finally{await t.cancel()}},Bi=(e,t,n,s)=>{const r=zh(e,t);let o=0,i,a=l=>{i||(i=!0,s&&s(l))};return new ReadableStream({async pull(l){try{const{done:c,value:u}=await r.next();if(c){a(),l.close();return}let f=u.byteLength;if(n){let h=o+=f;n(h)}l.enqueue(new Uint8Array(u))}catch(c){throw a(c),c}},cancel(l){return a(l),r.return()}},{highWaterMark:2})},Ys=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Ta=Ys&&typeof ReadableStream=="function",Jh=Ys&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Pa=(e,...t)=>{try{return!!e(...t)}catch{return!1}},Gh=Ta&&Pa(()=>{let e=!1;const t=new Request(Se.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Di=64*1024,zr=Ta&&Pa(()=>A.isReadableStream(new Response("").body)),Ss={stream:zr&&(e=>e.body)};Ys&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Ss[t]&&(Ss[t]=A.isFunction(e[t])?n=>n[t]():(n,s)=>{throw new Y(`Response type '${t}' is not supported`,Y.ERR_NOT_SUPPORT,s)})})})(new Response);const Yh=async e=>{if(e==null)return 0;if(A.isBlob(e))return e.size;if(A.isSpecCompliantForm(e))return(await new Request(Se.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(A.isArrayBufferView(e)||A.isArrayBuffer(e))return e.byteLength;if(A.isURLSearchParams(e)&&(e=e+""),A.isString(e))return(await Jh(e)).byteLength},Qh=async(e,t)=>{const n=A.toFiniteNumber(e.getContentLength());return n??Yh(t)},Xh=Ys&&(async e=>{let{url:t,method:n,data:s,signal:r,cancelToken:o,timeout:i,onDownloadProgress:a,onUploadProgress:l,responseType:c,headers:u,withCredentials:f="same-origin",fetchOptions:h}=Ra(e);c=c?(c+"").toLowerCase():"text";let d=qh([r,o&&o.toAbortSignal()],i),g;const w=d&&d.unsubscribe&&(()=>{d.unsubscribe()});let C;try{if(l&&Gh&&n!=="get"&&n!=="head"&&(C=await Qh(u,s))!==0){let R=new Request(t,{method:"POST",body:s,duplex:"half"}),O;if(A.isFormData(s)&&(O=R.headers.get("content-type"))&&u.setContentType(O),R.body){const[L,W]=Li(C,As($i(l)));s=Bi(R.body,Di,L,W)}}A.isString(f)||(f=f?"include":"omit");const S="credentials"in Request.prototype;g=new Request(t,{...h,signal:d,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:s,duplex:"half",credentials:S?f:void 0});let v=await fetch(g);const _=zr&&(c==="stream"||c==="response");if(zr&&(a||_&&w)){const R={};["status","statusText","headers"].forEach(ue=>{R[ue]=v[ue]});const O=A.toFiniteNumber(v.headers.get("content-length")),[L,W]=a&&Li(O,As($i(a),!0))||[];v=new Response(Bi(v.body,Di,L,()=>{W&&W(),w&&w()}),R)}c=c||"text";let b=await Ss[A.findKey(Ss,c)||"text"](v,e);return!_&&w&&w(),await new Promise((R,O)=>{Aa(R,O,{data:b,headers:Me.from(v.headers),status:v.status,statusText:v.statusText,config:e,request:g})})}catch(S){throw w&&w(),S&&S.name==="TypeError"&&/Load failed|fetch/i.test(S.message)?Object.assign(new Y("Network Error",Y.ERR_NETWORK,e,g),{cause:S.cause||S}):Y.from(S,S&&S.code,e,g)}}),Wr={http:hh,xhr:Vh,fetch:Xh};A.forEach(Wr,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Fi=e=>`- ${e}`,Zh=e=>A.isFunction(e)||e===null||e===!1,Ia={getAdapter:e=>{e=A.isArray(e)?e:[e];const{length:t}=e;let n,s;const r={};for(let o=0;o<t;o++){n=e[o];let i;if(s=n,!Zh(n)&&(s=Wr[(i=String(n)).toLowerCase()],s===void 0))throw new Y(`Unknown adapter '${i}'`);if(s)break;r[i||"#"+o]=s}if(!s){const o=Object.entries(r).map(([a,l])=>`adapter ${a} `+(l===!1?"is not supported by the environment":"is not available in the build"));let i=t?o.length>1?`since :
|
||
`+o.map(Fi).join(`
|
||
`):" "+Fi(o[0]):"as no adapter specified";throw new Y("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return s},adapters:Wr};function _r(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new gn(null,e)}function Ui(e){return _r(e),e.headers=Me.from(e.headers),e.data=br.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Ia.getAdapter(e.adapter||Jn.adapter)(e).then(function(s){return _r(e),s.data=br.call(e,e.transformResponse,s),s.headers=Me.from(s.headers),s},function(s){return Ca(s)||(_r(e),s&&s.response&&(s.response.data=br.call(e,e.transformResponse,s.response),s.response.headers=Me.from(s.response.headers))),Promise.reject(s)})}const xa="1.9.0",Qs={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Qs[e]=function(s){return typeof s===e||"a"+(t<1?"n ":" ")+e}});const ki={};Qs.transitional=function(t,n,s){function r(o,i){return"[Axios v"+xa+"] Transitional option '"+o+"'"+i+(s?". "+s:"")}return(o,i,a)=>{if(t===!1)throw new Y(r(i," has been removed"+(n?" in "+n:"")),Y.ERR_DEPRECATED);return n&&!ki[i]&&(ki[i]=!0,console.warn(r(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,i,a):!0}};Qs.spelling=function(t){return(n,s)=>(console.warn(`${s} is likely a misspelling of ${t}`),!0)};function ep(e,t,n){if(typeof e!="object")throw new Y("options must be an object",Y.ERR_BAD_OPTION_VALUE);const s=Object.keys(e);let r=s.length;for(;r-- >0;){const o=s[r],i=t[o];if(i){const a=e[o],l=a===void 0||i(a,o,e);if(l!==!0)throw new Y("option "+o+" must be "+l,Y.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Y("Unknown option "+o,Y.ERR_BAD_OPTION)}}const us={assertOptions:ep,validators:Qs},nt=us.validators;let Ft=class{constructor(t){this.defaults=t||{},this.interceptors={request:new Oi,response:new Oi}}async request(t,n){try{return await this._request(t,n)}catch(s){if(s instanceof Error){let r={};Error.captureStackTrace?Error.captureStackTrace(r):r=new Error;const o=r.stack?r.stack.replace(/^.+\n/,""):"";try{s.stack?o&&!String(s.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(s.stack+=`
|
||
`+o):s.stack=o}catch{}}throw s}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=kt(this.defaults,n);const{transitional:s,paramsSerializer:r,headers:o}=n;s!==void 0&&us.assertOptions(s,{silentJSONParsing:nt.transitional(nt.boolean),forcedJSONParsing:nt.transitional(nt.boolean),clarifyTimeoutError:nt.transitional(nt.boolean)},!1),r!=null&&(A.isFunction(r)?n.paramsSerializer={serialize:r}:us.assertOptions(r,{encode:nt.function,serialize:nt.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),us.assertOptions(n,{baseUrl:nt.spelling("baseURL"),withXsrfToken:nt.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=o&&A.merge(o.common,o[n.method]);o&&A.forEach(["delete","get","head","post","put","patch","common"],g=>{delete o[g]}),n.headers=Me.concat(i,o);const a=[];let l=!0;this.interceptors.request.forEach(function(w){typeof w.runWhen=="function"&&w.runWhen(n)===!1||(l=l&&w.synchronous,a.unshift(w.fulfilled,w.rejected))});const c=[];this.interceptors.response.forEach(function(w){c.push(w.fulfilled,w.rejected)});let u,f=0,h;if(!l){const g=[Ui.bind(this),void 0];for(g.unshift.apply(g,a),g.push.apply(g,c),h=g.length,u=Promise.resolve(n);f<h;)u=u.then(g[f++],g[f++]);return u}h=a.length;let d=n;for(f=0;f<h;){const g=a[f++],w=a[f++];try{d=g(d)}catch(C){w.call(this,C);break}}try{u=Ui.call(this,d)}catch(g){return Promise.reject(g)}for(f=0,h=c.length;f<h;)u=u.then(c[f++],c[f++]);return u}getUri(t){t=kt(this.defaults,t);const n=Sa(t.baseURL,t.url,t.allowAbsoluteUrls);return ba(n,t.params,t.paramsSerializer)}};A.forEach(["delete","get","head","options"],function(t){Ft.prototype[t]=function(n,s){return this.request(kt(s||{},{method:t,url:n,data:(s||{}).data}))}});A.forEach(["post","put","patch"],function(t){function n(s){return function(o,i,a){return this.request(kt(a||{},{method:t,headers:s?{"Content-Type":"multipart/form-data"}:{},url:o,data:i}))}}Ft.prototype[t]=n(),Ft.prototype[t+"Form"]=n(!0)});let tp=class Oa{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(o){n=o});const s=this;this.promise.then(r=>{if(!s._listeners)return;let o=s._listeners.length;for(;o-- >0;)s._listeners[o](r);s._listeners=null}),this.promise.then=r=>{let o;const i=new Promise(a=>{s.subscribe(a),o=a}).then(r);return i.cancel=function(){s.unsubscribe(o)},i},t(function(o,i,a){s.reason||(s.reason=new gn(o,i,a),n(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=s=>{t.abort(s)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new Oa(function(r){t=r}),cancel:t}}};function np(e){return function(n){return e.apply(null,n)}}function sp(e){return A.isObject(e)&&e.isAxiosError===!0}const Jr={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Jr).forEach(([e,t])=>{Jr[t]=e});function Na(e){const t=new Ft(e),n=aa(Ft.prototype.request,t);return A.extend(n,Ft.prototype,t,{allOwnKeys:!0}),A.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return Na(kt(e,r))},n}const ye=Na(Jn);ye.Axios=Ft;ye.CanceledError=gn;ye.CancelToken=tp;ye.isCancel=Ca;ye.VERSION=xa;ye.toFormData=Gs;ye.AxiosError=Y;ye.Cancel=ye.CanceledError;ye.all=function(t){return Promise.all(t)};ye.spread=np;ye.isAxiosError=sp;ye.mergeConfig=kt;ye.AxiosHeaders=Me;ye.formToJSON=e=>Ea(A.isHTMLForm(e)?new FormData(e):e);ye.getAdapter=Ia.getAdapter;ye.HttpStatusCode=Jr;ye.default=ye;const{Axios:Zm,AxiosError:e0,CanceledError:t0,isCancel:n0,CancelToken:s0,VERSION:r0,all:o0,Cancel:i0,isAxiosError:l0,spread:a0,toFormData:c0,AxiosHeaders:u0,HttpStatusCode:f0,formToJSON:d0,getAdapter:h0,mergeConfig:p0}=ye,ke=ye.create({baseURL:"",timeout:15e3,headers:{"Content-Type":"application/json",Accept:"application/json"}});ke.interceptors.request.use(e=>(console.log("API请求:",{url:e.url,method:e.method,params:e.params,data:e.data,baseURL:e.baseURL}),e),e=>(console.error("请求拦截器错误:",e),Promise.reject(e)));ke.interceptors.response.use(e=>(console.log("API响应成功:",{url:e.config.url,status:e.status,data:e.data}),e),e=>{var t,n;return console.error("API响应错误:",{url:(t=e.config)==null?void 0:t.url,message:e.message,response:(n=e.response)==null?void 0:n.data}),Promise.reject(e)});const Wt={laws:[{id:1,formatId:"law001",title:"企业设立登记管理条例",pageType:"law",content:"内容...",description:"相关条例内容"},{id:2,formatId:"law002",title:"公司法",pageType:"law",content:"内容...",description:"公司法相关规定"},{id:3,formatId:"law003",title:"民法典",pageType:"law",content:"内容...",description:"民法典内容"}],cases:[{id:4,formatId:"case001",title:"某公司合同纠纷案例",pageType:"case",content:"内容...",description:"合同纠纷案例"},{id:5,formatId:"case002",title:"劳动争议典型案例",pageType:"case",content:"内容...",description:"劳动争议案例"}],forms:[{id:6,formatId:"form001",title:"公司设立登记申请表",pageType:"form",content:"内容...",description:"设立登记表"},{id:7,formatId:"form002",title:"法定代表人登记表",pageType:"form",content:"内容...",description:"法定代表人登记表"}]},Xs=async(e,t)=>{try{console.log(`开始请求${e}详情,formatId:`,t);const n="/hasfj/hasfjpages/list",s={pageType:e,formatId:t,pageNum:1,pageSize:10};console.log("请求详情URL:",n,"参数:",s);const r=await ke.get(n,{params:s});if(console.log("获取详情响应:",r),r.status===200&&r.data){console.log(`获取${e}详情成功:`,r.data);let o=null;if(Array.isArray(r.data)){const i=r.data.find(a=>a.formatId===t&&(!a.pageType||a.pageType===e));i&&(console.log(`找到匹配的${e}数据:`,i),o=i)}else if(r.data.rows&&Array.isArray(r.data.rows)){const i=r.data.rows.find(a=>a.formatId===t&&(!a.pageType||a.pageType===e));i&&(console.log(`找到匹配的${e}数据:`,i),o=i)}else r.data.formatId===t&&(o=r.data);return o?o.pageType&&o.pageType!==e?(console.warn(`API返回了错误的内容类型: 请求${e}但返回${o.pageType}`),await Er(e,t)):{code:200,msg:"获取成功",data:o}:(console.error(`未找到匹配的${e}数据,formatId:`,t),await Er(e,t))}else throw console.error(`获取${e}详情失败:`,r),new Error(`获取详情失败,状态码: ${r.status}`)}catch(n){return console.error(`获取${e}详情失败:`,n),await Er(e,t)}};async function Er(e,t){try{console.log("尝试使用明确指定类型的API路径");const s="/hasfj/hasfjpages/list",r={pageType:e,pageNum:1,pageSize:100},o=await ke.get(s,{params:r});if(o.status===200&&o.data){let c=[];Array.isArray(o.data)?c=o.data:o.data.rows&&Array.isArray(o.data.rows)?c=o.data.rows:o.data.data&&Array.isArray(o.data.data)&&(c=o.data.data),c=c.filter(f=>!f.pageType||f.pageType===e);const u=c.find(f=>f.formatId===t);if(u)return console.log(`成功找到匹配的${e}数据:`,u),{code:200,msg:"获取成功",data:u};if(c.length>0)return console.log(`未找到formatId为${t}的${e}数据,返回该类型的第一条数据:`,c[0]),{code:200,msg:"获取成功",data:c[0]}}console.log("尝试使用备用API路径获取详情");const i="/api/hasfj/hasfjpages/list",a={pageType:e,pageNum:1,pageSize:10},l=await ke.get(i,{params:a});if(l.status===200&&l.data){let c=[];if(Array.isArray(l.data)?c=l.data:l.data.rows&&Array.isArray(l.data.rows)?c=l.data.rows:l.data.data&&Array.isArray(l.data.data)&&(c=l.data.data),c=c.filter(u=>!u.pageType||u.pageType===e),c.length>0)return console.log("备用API成功,返回该类型的第一条数据:",c[0]),{code:200,msg:"获取成功",data:c[0]}}}catch(s){console.error("所有获取详情方法都失败:",s)}console.log("所有API方法失败,使用模拟数据");let n;return e==="law"?n=Wt.laws.find(s=>s.formatId===t)||Wt.laws[0]:e==="case"?n=Wt.cases.find(s=>s.formatId===t)||Wt.cases[0]:e==="form"&&(n=Wt.forms.find(s=>s.formatId===t)||Wt.forms[0]),n?{code:200,msg:"获取成功(模拟数据)",data:n}:{code:500,msg:`获取${e}详情失败,请稍后重试`,data:null}}const fs=async(e,t=1,n=6)=>{try{console.log(`开始请求${e}列表,页码:${t},每页数量:${n}`);const s="/hasfj/hasfjpages/list",r={pageType:e,pageNum:t,pageSize:n};console.log(`请求URL: ${s},参数:`,r);const o=await ke.get(s,{params:r});if(console.log("API响应原始数据:",o),o.status===200){if(console.log(`获取${e}列表成功,数据类型:`,typeof o.data,Array.isArray(o.data)),!o.data)return console.error("响应数据为空"),{code:500,msg:"响应数据为空",rows:[],total:0};let i;if(o.data.code!==void 0)console.log("使用标准格式数据:",o.data),i=o.data;else if(Array.isArray(o.data)){console.log("使用数组格式数据:",o.data);const a=o.data.filter(l=>!l.pageType||l.pageType===e);i={code:200,msg:"操作成功",rows:a,total:a.length}}else if(o.data.rows){console.log("使用rows字段数据:",o.data.rows);const a=Array.isArray(o.data.rows)?o.data.rows.filter(l=>!l.pageType||l.pageType===e):o.data.rows;i={code:200,msg:"操作成功",rows:a,total:o.data.total||a.length}}else if(o.data.data){console.log("使用data字段数据:",o.data.data);const a=Array.isArray(o.data.data)?o.data.data.filter(l=>!l.pageType||l.pageType===e):o.data.data;i={code:200,msg:"操作成功",rows:a,total:o.data.total||a.length}}else console.log("使用响应数据本身:",o.data),i={code:200,msg:"操作成功",rows:[o.data],total:1};return Array.isArray(i.rows)&&(i.rows=i.rows.filter(a=>!a.pageType||a.pageType===e),i.total=i.rows.length),i}else return console.error(`获取${e}列表失败:`,o),{code:o.status,msg:"获取数据失败",rows:[],total:0}}catch(s){console.error(`获取${e}列表失败:`,s);try{console.log("尝试使用POST请求");const r="/hasfj/hasfjpages/list",o={pageType:e,pageNum:t,pageSize:n},i=await ke.post(r,o);if(i.status===200&&i.data){console.log("POST请求成功:",i.data);let a;if(Array.isArray(i.data)){const l=i.data.filter(c=>!c.pageType||c.pageType===e);a={code:200,msg:"操作成功",rows:l,total:l.length}}else if(i.data.rows){const l=Array.isArray(i.data.rows)?i.data.rows.filter(c=>!c.pageType||c.pageType===e):i.data.rows;a={code:200,msg:"操作成功",rows:l,total:i.data.total||l.length}}else if(i.data.data){const l=Array.isArray(i.data.data)?i.data.data.filter(c=>!c.pageType||c.pageType===e):i.data.data;a={code:200,msg:"操作成功",rows:l,total:i.data.total||l.length}}if(a)return a}}catch(r){console.error("POST请求失败:",r);try{console.log("尝试使用备用API路径");const o=`/hasfj/hasfjpages/listByType/${e}`,i={pageNum:t,pageSize:n},a=await ke.get(o,{params:i});if(a.status===200&&a.data){console.log("备用API成功:",a.data);let l;if(Array.isArray(a.data)){const c=a.data.filter(u=>!u.pageType||u.pageType===e);l={code:200,msg:"操作成功",rows:c,total:c.length}}else{const c=a.data.rows||a.data.data||[],u=Array.isArray(c)?c.filter(f=>!f.pageType||f.pageType===e):c;l={code:200,msg:"操作成功",rows:u,total:a.data.total||u.length}}if(l)return l}}catch(o){console.error("备用API也失败:",o)}}return{code:500,msg:`获取${e}列表失败,请稍后重试`,rows:[],total:0}}},Gr=async(e,t,n=!1)=>{try{console.log(`开始搜索内容,关键词:${e},类型:${t||"全部"},仅标题:${n}`),(e==="search"||e.toLowerCase()==="search"||e==="如何"||e.includes("?")||e.includes("?"))&&console.log("检测到特殊关键词:",e);let r=e;/^\d+$/.test(r)&&console.log("检测到纯数字关键词:",e);const i=["/api/hasfj/search-api","/hasfj/hasfjpages/search-api","/api/hasfj/search-text","/hasfj/hasfjpages/search"];let a=null;for(const c of i)try{console.log(`尝试API路径: ${c}`);const u={keyword:r};t&&(u.type=t,u.pageType=t),n&&(u.titleOnly="true",u.searchField="title"),c.includes("/search")&&(u.stringQuery="true");const f=await ke.get(c,{params:u});if(f.status===200){console.log(`API路径 ${c} 成功:`,f.data);let h;if(f.data.code===200){if(n&&f.data.data){const d=Array.isArray(f.data.data)?f.data.data.filter(g=>g.title&&g.title.toLowerCase().includes(e.toLowerCase())):f.data.data;f.data.data=d,f.data.total&&(f.data.total=d.length)}return f.data}else if(Array.isArray(f.data)){let d=f.data;return n&&(d=f.data.filter(g=>g.title&&g.title.toLowerCase().includes(e.toLowerCase()))),h={code:200,msg:"搜索成功",data:d,total:d.length},h}else if(f.data.rows){let d=f.data.rows;return n&&Array.isArray(d)&&(d=d.filter(g=>g.title&&g.title.toLowerCase().includes(e.toLowerCase()))),h={code:200,msg:"搜索成功",data:d,total:f.data.total||d.length},h}else if(f.data.data){let d=f.data.data;return n&&Array.isArray(d)&&(d=d.filter(g=>g.title&&g.title.toLowerCase().includes(e.toLowerCase()))),h={code:200,msg:"搜索成功",data:d,total:f.data.total||d.length},h}else if(f.data.code!==200){console.warn(`API返回错误码: ${f.data.code}, ${f.data.msg}`),a=f.data;continue}}}catch(u){console.warn(`API路径 ${c} 失败:`,u),a=u}try{console.log("尝试使用fetch API作为最后手段");const c=new URLSearchParams;c.append("keyword",encodeURIComponent(r)),t&&c.append("type",t),n&&c.append("titleOnly","true");const u=`/hasfj/hasfjpages/search-api?${c.toString()}`,f=await fetch(u);if(f.ok){const h=await f.json();if(console.log("fetch API成功:",h),h.code===200){if(n&&h.data){const d=Array.isArray(h.data)?h.data.filter(g=>g.title&&g.title.toLowerCase().includes(e.toLowerCase())):h.data;h.data=d,h.total&&(h.total=d.length)}return h}else if(Array.isArray(h)){let d=h;return n&&(d=h.filter(g=>g.title&&g.title.toLowerCase().includes(e.toLowerCase()))),{code:200,msg:"搜索成功",data:d,total:d.length}}else if(h.rows){let d=h.rows;return n&&Array.isArray(d)&&(d=d.filter(g=>g.title&&g.title.toLowerCase().includes(e.toLowerCase()))),{code:200,msg:"搜索成功",data:d,total:h.total||d.length}}else if(h.data){let d=h.data;return n&&Array.isArray(d)&&(d=d.filter(g=>g.title&&g.title.toLowerCase().includes(e.toLowerCase()))),{code:200,msg:"搜索成功",data:d,total:h.total||d.length}}}}catch(c){console.error("fetch API也失败:",c),a=c}console.error("所有搜索方法都失败,使用临时模拟数据");const l=ji(e,t,n);return{code:200,msg:"搜索成功(临时数据)",data:l,total:l.length}}catch(s){console.error("搜索内容失败:",s);const r=ji(e,t,n);return{code:200,msg:"搜索成功(临时数据)",data:r,total:r.length}}};function ji(e,t,n=!1){console.log(`生成与"${e}"相关的模拟搜索结果,类型: ${t||"全部"},仅标题: ${n}`);const s={laws:[{id:1,formatId:"law001",title:"企业设立登记管理条例",pageType:"law",content:"内容...",description:"相关条例内容"},{id:2,formatId:"law002",title:"公司法",pageType:"law",content:"内容...",description:"公司法相关规定"},{id:3,formatId:"law003",title:"民法典",pageType:"law",content:"内容...",description:"民法典内容"}],cases:[{id:4,formatId:"case001",title:"某公司合同纠纷案例",pageType:"case",content:"内容...",description:"合同纠纷案例"},{id:5,formatId:"case002",title:"劳动争议典型案例",pageType:"case",content:"内容...",description:"劳动争议案例"}],forms:[{id:6,formatId:"form001",title:"公司设立登记申请表",pageType:"form",content:"内容...",description:"设立登记表"},{id:7,formatId:"form002",title:"法定代表人登记表",pageType:"form",content:"内容...",description:"法定代表人登记表"}]},r=e.toLowerCase(),o=g=>g.toLowerCase().includes(r)?g:`关于${e}的${g}`,i=[{id:8,formatId:"law004",title:o("法律规定"),pageType:"law",content:"内容...",description:"相关法律规定"},{id:9,formatId:"law005",title:o("管理办法"),pageType:"law",content:"内容...",description:"相关管理办法"}],a=[{id:10,formatId:"case003",title:o("典型案例"),pageType:"case",content:"内容...",description:"相关典型案例"},{id:11,formatId:"case004",title:o("法律案例"),pageType:"case",content:"内容...",description:"相关法律案例"}],l=[{id:12,formatId:"form003",title:o("申请表"),pageType:"form",content:"内容...",description:"相关申请表"},{id:13,formatId:"form004",title:o("登记表"),pageType:"form",content:"内容...",description:"相关登记表"}],c=[...s.laws,...i],u=[...s.cases,...a],f=[...s.forms,...l],h=g=>n?g.filter(w=>w.title.toLowerCase().includes(r)):g;let d=[];return t==="law"?d=h(c):t==="case"?d=h(u):t==="form"?d=h(f):d=h([...c,...u,...f]),d.length===0&&d.push({id:999,formatId:"default001",title:`${e}相关内容`,pageType:t||"law",content:"暂无详细内容",description:`与${e}相关的信息`}),d}const rp=async(e,t=1,n=10)=>{try{const s=await ke.get("/hasfj/hasfjpages/qrcodes",{params:{type:e,pageNum:t,pageSize:n}});if(s.status===200){if(console.log("获取二维码数据成功:",s.data),s.data.code!==void 0)return s.data;if(Array.isArray(s.data))return{code:200,msg:"操作成功",rows:s.data,total:s.data.length};{const r=s.data.data||s.data.rows||[],o=s.data.total||r.length;return{code:200,msg:"操作成功",rows:r,total:o}}}else return console.error("获取二维码数据失败:",s),{code:s.status,msg:"获取二维码数据失败",rows:[],total:0}}catch(s){return console.error("获取二维码数据失败:",s),{code:500,msg:"获取二维码数据失败,请稍后重试",rows:[],total:0}}},La=()=>{const e=window.location.protocol,t=window.location.host;return`${e}//${t}`},Zs=async(e,t)=>{try{console.log(`开始更新${e}浏览量,formatId:`,t);try{console.log("尝试使用getInfoByFormatId接口获取详情并更新浏览量");const n=await ke.get(`/hasfj/hasfjpages/format/${t}`);if(console.log("获取页面详情响应:",n),n.status===200&&n.data){const s=n.data.data&&typeof n.data.data.viewCount=="number"?n.data.data.viewCount:n.data.viewCount!==void 0?n.data.viewCount:null;return s!==null?{code:200,msg:"更新成功",data:{viewCount:s}}:{code:200,msg:"更新成功"}}}catch(n){console.warn("使用页面详情接口更新浏览量失败:",n)}try{console.log("尝试使用页面列表接口查询页面");const n=await ke.get("/hasfj/hasfjpages/list",{params:{pageType:e,formatId:t,pageNum:1,pageSize:10}});if(console.log("页面列表响应:",n),n.status===200&&n.data&&n.data.rows){const s=n.data.rows;let r=null;if(Array.isArray(s)&&(r=s.find(o=>o.formatId===t&&(!o.pageType||o.pageType===e))),r){const o=typeof r.viewCount=="number"?r.viewCount:null;if(o!==null)return{code:200,msg:"更新成功",data:{viewCount:o}}}}}catch(n){console.warn("使用页面列表接口查询失败:",n)}try{console.log("尝试使用get接口获取页面数据");const n=await ke.get("/api/hasfj/page",{params:{type:e,formatId:t}});if(n.status===200&&n.data){const s=n.data.data&&typeof n.data.data.viewCount=="number"?n.data.data.viewCount:n.data.viewCount!==void 0?n.data.viewCount:null;if(s!==null)return{code:200,msg:"更新成功",data:{viewCount:s}}}}catch(n){console.warn("使用get接口获取页面数据失败:",n)}return{code:200,msg:"操作完成"}}catch(n){return console.error("更新浏览量失败:",n),{code:200,msg:"操作完成"}}},g0=Object.freeze(Object.defineProperty({__proto__:null,getBaseUrl:La,getPageDetail:Xs,getPageList:fs,getQRCodes:rp,searchContent:Gr,updateViewCount:Zs},Symbol.toStringTag,{value:"Module"}));var Gn={},op=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then},$a={},je={};let So;const ip=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];je.getSymbolSize=function(t){if(!t)throw new Error('"version" cannot be null or undefined');if(t<1||t>40)throw new Error('"version" should be in range from 1 to 40');return t*4+17};je.getSymbolTotalCodewords=function(t){return ip[t]};je.getBCHDigit=function(e){let t=0;for(;e!==0;)t++,e>>>=1;return t};je.setToSJISFunction=function(t){if(typeof t!="function")throw new Error('"toSJISFunc" is not a valid function.');So=t};je.isKanjiModeEnabled=function(){return typeof So<"u"};je.toSJIS=function(t){return So(t)};var er={};(function(e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2};function t(n){if(typeof n!="string")throw new Error("Param is not a string");switch(n.toLowerCase()){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw new Error("Unknown EC Level: "+n)}}e.isValid=function(s){return s&&typeof s.bit<"u"&&s.bit>=0&&s.bit<4},e.from=function(s,r){if(e.isValid(s))return s;try{return t(s)}catch{return r}}})(er);function Ma(){this.buffer=[],this.length=0}Ma.prototype={get:function(e){const t=Math.floor(e/8);return(this.buffer[t]>>>7-e%8&1)===1},put:function(e,t){for(let n=0;n<t;n++)this.putBit((e>>>t-n-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(e){const t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}};var lp=Ma;function Yn(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new Uint8Array(e*e),this.reservedBit=new Uint8Array(e*e)}Yn.prototype.set=function(e,t,n,s){const r=e*this.size+t;this.data[r]=n,s&&(this.reservedBit[r]=!0)};Yn.prototype.get=function(e,t){return this.data[e*this.size+t]};Yn.prototype.xor=function(e,t,n){this.data[e*this.size+t]^=n};Yn.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]};var ap=Yn,Ba={};(function(e){const t=je.getSymbolSize;e.getRowColCoords=function(s){if(s===1)return[];const r=Math.floor(s/7)+2,o=t(s),i=o===145?26:Math.ceil((o-13)/(2*r-2))*2,a=[o-7];for(let l=1;l<r-1;l++)a[l]=a[l-1]-i;return a.push(6),a.reverse()},e.getPositions=function(s){const r=[],o=e.getRowColCoords(s),i=o.length;for(let a=0;a<i;a++)for(let l=0;l<i;l++)a===0&&l===0||a===0&&l===i-1||a===i-1&&l===0||r.push([o[a],o[l]]);return r}})(Ba);var Da={};const cp=je.getSymbolSize,Hi=7;Da.getPositions=function(t){const n=cp(t);return[[0,0],[n-Hi,0],[0,n-Hi]]};var Fa={};(function(e){e.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const t={N1:3,N2:3,N3:40,N4:10};e.isValid=function(r){return r!=null&&r!==""&&!isNaN(r)&&r>=0&&r<=7},e.from=function(r){return e.isValid(r)?parseInt(r,10):void 0},e.getPenaltyN1=function(r){const o=r.size;let i=0,a=0,l=0,c=null,u=null;for(let f=0;f<o;f++){a=l=0,c=u=null;for(let h=0;h<o;h++){let d=r.get(f,h);d===c?a++:(a>=5&&(i+=t.N1+(a-5)),c=d,a=1),d=r.get(h,f),d===u?l++:(l>=5&&(i+=t.N1+(l-5)),u=d,l=1)}a>=5&&(i+=t.N1+(a-5)),l>=5&&(i+=t.N1+(l-5))}return i},e.getPenaltyN2=function(r){const o=r.size;let i=0;for(let a=0;a<o-1;a++)for(let l=0;l<o-1;l++){const c=r.get(a,l)+r.get(a,l+1)+r.get(a+1,l)+r.get(a+1,l+1);(c===4||c===0)&&i++}return i*t.N2},e.getPenaltyN3=function(r){const o=r.size;let i=0,a=0,l=0;for(let c=0;c<o;c++){a=l=0;for(let u=0;u<o;u++)a=a<<1&2047|r.get(c,u),u>=10&&(a===1488||a===93)&&i++,l=l<<1&2047|r.get(u,c),u>=10&&(l===1488||l===93)&&i++}return i*t.N3},e.getPenaltyN4=function(r){let o=0;const i=r.data.length;for(let l=0;l<i;l++)o+=r.data[l];return Math.abs(Math.ceil(o*100/i/5)-10)*t.N4};function n(s,r,o){switch(s){case e.Patterns.PATTERN000:return(r+o)%2===0;case e.Patterns.PATTERN001:return r%2===0;case e.Patterns.PATTERN010:return o%3===0;case e.Patterns.PATTERN011:return(r+o)%3===0;case e.Patterns.PATTERN100:return(Math.floor(r/2)+Math.floor(o/3))%2===0;case e.Patterns.PATTERN101:return r*o%2+r*o%3===0;case e.Patterns.PATTERN110:return(r*o%2+r*o%3)%2===0;case e.Patterns.PATTERN111:return(r*o%3+(r+o)%2)%2===0;default:throw new Error("bad maskPattern:"+s)}}e.applyMask=function(r,o){const i=o.size;for(let a=0;a<i;a++)for(let l=0;l<i;l++)o.isReserved(l,a)||o.xor(l,a,n(r,l,a))},e.getBestMask=function(r,o){const i=Object.keys(e.Patterns).length;let a=0,l=1/0;for(let c=0;c<i;c++){o(c),e.applyMask(c,r);const u=e.getPenaltyN1(r)+e.getPenaltyN2(r)+e.getPenaltyN3(r)+e.getPenaltyN4(r);e.applyMask(c,r),u<l&&(l=u,a=c)}return a}})(Fa);var tr={};const Pt=er,ns=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],ss=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];tr.getBlocksCount=function(t,n){switch(n){case Pt.L:return ns[(t-1)*4+0];case Pt.M:return ns[(t-1)*4+1];case Pt.Q:return ns[(t-1)*4+2];case Pt.H:return ns[(t-1)*4+3];default:return}};tr.getTotalCodewordsCount=function(t,n){switch(n){case Pt.L:return ss[(t-1)*4+0];case Pt.M:return ss[(t-1)*4+1];case Pt.Q:return ss[(t-1)*4+2];case Pt.H:return ss[(t-1)*4+3];default:return}};var Ua={},nr={};const Ln=new Uint8Array(512),Rs=new Uint8Array(256);(function(){let t=1;for(let n=0;n<255;n++)Ln[n]=t,Rs[t]=n,t<<=1,t&256&&(t^=285);for(let n=255;n<512;n++)Ln[n]=Ln[n-255]})();nr.log=function(t){if(t<1)throw new Error("log("+t+")");return Rs[t]};nr.exp=function(t){return Ln[t]};nr.mul=function(t,n){return t===0||n===0?0:Ln[Rs[t]+Rs[n]]};(function(e){const t=nr;e.mul=function(s,r){const o=new Uint8Array(s.length+r.length-1);for(let i=0;i<s.length;i++)for(let a=0;a<r.length;a++)o[i+a]^=t.mul(s[i],r[a]);return o},e.mod=function(s,r){let o=new Uint8Array(s);for(;o.length-r.length>=0;){const i=o[0];for(let l=0;l<r.length;l++)o[l]^=t.mul(r[l],i);let a=0;for(;a<o.length&&o[a]===0;)a++;o=o.slice(a)}return o},e.generateECPolynomial=function(s){let r=new Uint8Array([1]);for(let o=0;o<s;o++)r=e.mul(r,new Uint8Array([1,t.exp(o)]));return r}})(Ua);const ka=Ua;function Ro(e){this.genPoly=void 0,this.degree=e,this.degree&&this.initialize(this.degree)}Ro.prototype.initialize=function(t){this.degree=t,this.genPoly=ka.generateECPolynomial(this.degree)};Ro.prototype.encode=function(t){if(!this.genPoly)throw new Error("Encoder not initialized");const n=new Uint8Array(t.length+this.degree);n.set(t);const s=ka.mod(n,this.genPoly),r=this.degree-s.length;if(r>0){const o=new Uint8Array(this.degree);return o.set(s,r),o}return s};var up=Ro,ja={},Ot={},To={};To.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40};var ct={};const Ha="[0-9]+",fp="[A-Z $%*+\\-./:]+";let Vn="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";Vn=Vn.replace(/u/g,"\\u");const dp="(?:(?![A-Z0-9 $%*+\\-./:]|"+Vn+`)(?:.|[\r
|
||
]))+`;ct.KANJI=new RegExp(Vn,"g");ct.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");ct.BYTE=new RegExp(dp,"g");ct.NUMERIC=new RegExp(Ha,"g");ct.ALPHANUMERIC=new RegExp(fp,"g");const hp=new RegExp("^"+Vn+"$"),pp=new RegExp("^"+Ha+"$"),gp=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");ct.testKanji=function(t){return hp.test(t)};ct.testNumeric=function(t){return pp.test(t)};ct.testAlphanumeric=function(t){return gp.test(t)};(function(e){const t=To,n=ct;e.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(o,i){if(!o.ccBits)throw new Error("Invalid mode: "+o);if(!t.isValid(i))throw new Error("Invalid version: "+i);return i>=1&&i<10?o.ccBits[0]:i<27?o.ccBits[1]:o.ccBits[2]},e.getBestModeForData=function(o){return n.testNumeric(o)?e.NUMERIC:n.testAlphanumeric(o)?e.ALPHANUMERIC:n.testKanji(o)?e.KANJI:e.BYTE},e.toString=function(o){if(o&&o.id)return o.id;throw new Error("Invalid mode")},e.isValid=function(o){return o&&o.bit&&o.ccBits};function s(r){if(typeof r!="string")throw new Error("Param is not a string");switch(r.toLowerCase()){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw new Error("Unknown mode: "+r)}}e.from=function(o,i){if(e.isValid(o))return o;try{return s(o)}catch{return i}}})(Ot);(function(e){const t=je,n=tr,s=er,r=Ot,o=To,i=7973,a=t.getBCHDigit(i);function l(h,d,g){for(let w=1;w<=40;w++)if(d<=e.getCapacity(w,g,h))return w}function c(h,d){return r.getCharCountIndicator(h,d)+4}function u(h,d){let g=0;return h.forEach(function(w){const C=c(w.mode,d);g+=C+w.getBitsLength()}),g}function f(h,d){for(let g=1;g<=40;g++)if(u(h,g)<=e.getCapacity(g,d,r.MIXED))return g}e.from=function(d,g){return o.isValid(d)?parseInt(d,10):g},e.getCapacity=function(d,g,w){if(!o.isValid(d))throw new Error("Invalid QR Code version");typeof w>"u"&&(w=r.BYTE);const C=t.getSymbolTotalCodewords(d),S=n.getTotalCodewordsCount(d,g),v=(C-S)*8;if(w===r.MIXED)return v;const _=v-c(w,d);switch(w){case r.NUMERIC:return Math.floor(_/10*3);case r.ALPHANUMERIC:return Math.floor(_/11*2);case r.KANJI:return Math.floor(_/13);case r.BYTE:default:return Math.floor(_/8)}},e.getBestVersionForData=function(d,g){let w;const C=s.from(g,s.M);if(Array.isArray(d)){if(d.length>1)return f(d,C);if(d.length===0)return 1;w=d[0]}else w=d;return l(w.mode,w.getLength(),C)},e.getEncodedBits=function(d){if(!o.isValid(d)||d<7)throw new Error("Invalid QR Code version");let g=d<<12;for(;t.getBCHDigit(g)-a>=0;)g^=i<<t.getBCHDigit(g)-a;return d<<12|g}})(ja);var Va={};const Yr=je,qa=1335,mp=21522,Vi=Yr.getBCHDigit(qa);Va.getEncodedBits=function(t,n){const s=t.bit<<3|n;let r=s<<10;for(;Yr.getBCHDigit(r)-Vi>=0;)r^=qa<<Yr.getBCHDigit(r)-Vi;return(s<<10|r)^mp};var Ka={};const yp=Ot;function cn(e){this.mode=yp.NUMERIC,this.data=e.toString()}cn.getBitsLength=function(t){return 10*Math.floor(t/3)+(t%3?t%3*3+1:0)};cn.prototype.getLength=function(){return this.data.length};cn.prototype.getBitsLength=function(){return cn.getBitsLength(this.data.length)};cn.prototype.write=function(t){let n,s,r;for(n=0;n+3<=this.data.length;n+=3)s=this.data.substr(n,3),r=parseInt(s,10),t.put(r,10);const o=this.data.length-n;o>0&&(s=this.data.substr(n),r=parseInt(s,10),t.put(r,o*3+1))};var wp=cn;const vp=Ot,Cr=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function un(e){this.mode=vp.ALPHANUMERIC,this.data=e}un.getBitsLength=function(t){return 11*Math.floor(t/2)+6*(t%2)};un.prototype.getLength=function(){return this.data.length};un.prototype.getBitsLength=function(){return un.getBitsLength(this.data.length)};un.prototype.write=function(t){let n;for(n=0;n+2<=this.data.length;n+=2){let s=Cr.indexOf(this.data[n])*45;s+=Cr.indexOf(this.data[n+1]),t.put(s,11)}this.data.length%2&&t.put(Cr.indexOf(this.data[n]),6)};var bp=un;const _p=Ot;function fn(e){this.mode=_p.BYTE,typeof e=="string"?this.data=new TextEncoder().encode(e):this.data=new Uint8Array(e)}fn.getBitsLength=function(t){return t*8};fn.prototype.getLength=function(){return this.data.length};fn.prototype.getBitsLength=function(){return fn.getBitsLength(this.data.length)};fn.prototype.write=function(e){for(let t=0,n=this.data.length;t<n;t++)e.put(this.data[t],8)};var Ep=fn;const Cp=Ot,Ap=je;function dn(e){this.mode=Cp.KANJI,this.data=e}dn.getBitsLength=function(t){return t*13};dn.prototype.getLength=function(){return this.data.length};dn.prototype.getBitsLength=function(){return dn.getBitsLength(this.data.length)};dn.prototype.write=function(e){let t;for(t=0;t<this.data.length;t++){let n=Ap.toSJIS(this.data[t]);if(n>=33088&&n<=40956)n-=33088;else if(n>=57408&&n<=60351)n-=49472;else throw new Error("Invalid SJIS character: "+this.data[t]+`
|
||
Make sure your charset is UTF-8`);n=(n>>>8&255)*192+(n&255),e.put(n,13)}};var Sp=dn,za={exports:{}};(function(e){var t={single_source_shortest_paths:function(n,s,r){var o={},i={};i[s]=0;var a=t.PriorityQueue.make();a.push(s,0);for(var l,c,u,f,h,d,g,w,C;!a.empty();){l=a.pop(),c=l.value,f=l.cost,h=n[c]||{};for(u in h)h.hasOwnProperty(u)&&(d=h[u],g=f+d,w=i[u],C=typeof i[u]>"u",(C||w>g)&&(i[u]=g,a.push(u,g),o[u]=c))}if(typeof r<"u"&&typeof i[r]>"u"){var S=["Could not find a path from ",s," to ",r,"."].join("");throw new Error(S)}return o},extract_shortest_path_from_predecessor_list:function(n,s){for(var r=[],o=s;o;)r.push(o),n[o],o=n[o];return r.reverse(),r},find_path:function(n,s,r){var o=t.single_source_shortest_paths(n,s,r);return t.extract_shortest_path_from_predecessor_list(o,r)},PriorityQueue:{make:function(n){var s=t.PriorityQueue,r={},o;n=n||{};for(o in s)s.hasOwnProperty(o)&&(r[o]=s[o]);return r.queue=[],r.sorter=n.sorter||s.default_sorter,r},default_sorter:function(n,s){return n.cost-s.cost},push:function(n,s){var r={value:n,cost:s};this.queue.push(r),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};e.exports=t})(za);var Rp=za.exports;(function(e){const t=Ot,n=wp,s=bp,r=Ep,o=Sp,i=ct,a=je,l=Rp;function c(S){return unescape(encodeURIComponent(S)).length}function u(S,v,_){const b=[];let R;for(;(R=S.exec(_))!==null;)b.push({data:R[0],index:R.index,mode:v,length:R[0].length});return b}function f(S){const v=u(i.NUMERIC,t.NUMERIC,S),_=u(i.ALPHANUMERIC,t.ALPHANUMERIC,S);let b,R;return a.isKanjiModeEnabled()?(b=u(i.BYTE,t.BYTE,S),R=u(i.KANJI,t.KANJI,S)):(b=u(i.BYTE_KANJI,t.BYTE,S),R=[]),v.concat(_,b,R).sort(function(L,W){return L.index-W.index}).map(function(L){return{data:L.data,mode:L.mode,length:L.length}})}function h(S,v){switch(v){case t.NUMERIC:return n.getBitsLength(S);case t.ALPHANUMERIC:return s.getBitsLength(S);case t.KANJI:return o.getBitsLength(S);case t.BYTE:return r.getBitsLength(S)}}function d(S){return S.reduce(function(v,_){const b=v.length-1>=0?v[v.length-1]:null;return b&&b.mode===_.mode?(v[v.length-1].data+=_.data,v):(v.push(_),v)},[])}function g(S){const v=[];for(let _=0;_<S.length;_++){const b=S[_];switch(b.mode){case t.NUMERIC:v.push([b,{data:b.data,mode:t.ALPHANUMERIC,length:b.length},{data:b.data,mode:t.BYTE,length:b.length}]);break;case t.ALPHANUMERIC:v.push([b,{data:b.data,mode:t.BYTE,length:b.length}]);break;case t.KANJI:v.push([b,{data:b.data,mode:t.BYTE,length:c(b.data)}]);break;case t.BYTE:v.push([{data:b.data,mode:t.BYTE,length:c(b.data)}])}}return v}function w(S,v){const _={},b={start:{}};let R=["start"];for(let O=0;O<S.length;O++){const L=S[O],W=[];for(let ue=0;ue<L.length;ue++){const z=L[ue],ee=""+O+ue;W.push(ee),_[ee]={node:z,lastCount:0},b[ee]={};for(let We=0;We<R.length;We++){const we=R[We];_[we]&&_[we].node.mode===z.mode?(b[we][ee]=h(_[we].lastCount+z.length,z.mode)-h(_[we].lastCount,z.mode),_[we].lastCount+=z.length):(_[we]&&(_[we].lastCount=z.length),b[we][ee]=h(z.length,z.mode)+4+t.getCharCountIndicator(z.mode,v))}}R=W}for(let O=0;O<R.length;O++)b[R[O]].end=0;return{map:b,table:_}}function C(S,v){let _;const b=t.getBestModeForData(S);if(_=t.from(v,b),_!==t.BYTE&&_.bit<b.bit)throw new Error('"'+S+'" cannot be encoded with mode '+t.toString(_)+`.
|
||
Suggested mode is: `+t.toString(b));switch(_===t.KANJI&&!a.isKanjiModeEnabled()&&(_=t.BYTE),_){case t.NUMERIC:return new n(S);case t.ALPHANUMERIC:return new s(S);case t.KANJI:return new o(S);case t.BYTE:return new r(S)}}e.fromArray=function(v){return v.reduce(function(_,b){return typeof b=="string"?_.push(C(b,null)):b.data&&_.push(C(b.data,b.mode)),_},[])},e.fromString=function(v,_){const b=f(v,a.isKanjiModeEnabled()),R=g(b),O=w(R,_),L=l.find_path(O.map,"start","end"),W=[];for(let ue=1;ue<L.length-1;ue++)W.push(O.table[L[ue]].node);return e.fromArray(d(W))},e.rawSplit=function(v){return e.fromArray(f(v,a.isKanjiModeEnabled()))}})(Ka);const sr=je,Ar=er,Tp=lp,Pp=ap,Ip=Ba,xp=Da,Qr=Fa,Xr=tr,Op=up,Ts=ja,Np=Va,Lp=Ot,Sr=Ka;function $p(e,t){const n=e.size,s=xp.getPositions(t);for(let r=0;r<s.length;r++){const o=s[r][0],i=s[r][1];for(let a=-1;a<=7;a++)if(!(o+a<=-1||n<=o+a))for(let l=-1;l<=7;l++)i+l<=-1||n<=i+l||(a>=0&&a<=6&&(l===0||l===6)||l>=0&&l<=6&&(a===0||a===6)||a>=2&&a<=4&&l>=2&&l<=4?e.set(o+a,i+l,!0,!0):e.set(o+a,i+l,!1,!0))}}function Mp(e){const t=e.size;for(let n=8;n<t-8;n++){const s=n%2===0;e.set(n,6,s,!0),e.set(6,n,s,!0)}}function Bp(e,t){const n=Ip.getPositions(t);for(let s=0;s<n.length;s++){const r=n[s][0],o=n[s][1];for(let i=-2;i<=2;i++)for(let a=-2;a<=2;a++)i===-2||i===2||a===-2||a===2||i===0&&a===0?e.set(r+i,o+a,!0,!0):e.set(r+i,o+a,!1,!0)}}function Dp(e,t){const n=e.size,s=Ts.getEncodedBits(t);let r,o,i;for(let a=0;a<18;a++)r=Math.floor(a/3),o=a%3+n-8-3,i=(s>>a&1)===1,e.set(r,o,i,!0),e.set(o,r,i,!0)}function Rr(e,t,n){const s=e.size,r=Np.getEncodedBits(t,n);let o,i;for(o=0;o<15;o++)i=(r>>o&1)===1,o<6?e.set(o,8,i,!0):o<8?e.set(o+1,8,i,!0):e.set(s-15+o,8,i,!0),o<8?e.set(8,s-o-1,i,!0):o<9?e.set(8,15-o-1+1,i,!0):e.set(8,15-o-1,i,!0);e.set(s-8,8,1,!0)}function Fp(e,t){const n=e.size;let s=-1,r=n-1,o=7,i=0;for(let a=n-1;a>0;a-=2)for(a===6&&a--;;){for(let l=0;l<2;l++)if(!e.isReserved(r,a-l)){let c=!1;i<t.length&&(c=(t[i]>>>o&1)===1),e.set(r,a-l,c),o--,o===-1&&(i++,o=7)}if(r+=s,r<0||n<=r){r-=s,s=-s;break}}}function Up(e,t,n){const s=new Tp;n.forEach(function(l){s.put(l.mode.bit,4),s.put(l.getLength(),Lp.getCharCountIndicator(l.mode,e)),l.write(s)});const r=sr.getSymbolTotalCodewords(e),o=Xr.getTotalCodewordsCount(e,t),i=(r-o)*8;for(s.getLengthInBits()+4<=i&&s.put(0,4);s.getLengthInBits()%8!==0;)s.putBit(0);const a=(i-s.getLengthInBits())/8;for(let l=0;l<a;l++)s.put(l%2?17:236,8);return kp(s,e,t)}function kp(e,t,n){const s=sr.getSymbolTotalCodewords(t),r=Xr.getTotalCodewordsCount(t,n),o=s-r,i=Xr.getBlocksCount(t,n),a=s%i,l=i-a,c=Math.floor(s/i),u=Math.floor(o/i),f=u+1,h=c-u,d=new Op(h);let g=0;const w=new Array(i),C=new Array(i);let S=0;const v=new Uint8Array(e.buffer);for(let L=0;L<i;L++){const W=L<l?u:f;w[L]=v.slice(g,g+W),C[L]=d.encode(w[L]),g+=W,S=Math.max(S,W)}const _=new Uint8Array(s);let b=0,R,O;for(R=0;R<S;R++)for(O=0;O<i;O++)R<w[O].length&&(_[b++]=w[O][R]);for(R=0;R<h;R++)for(O=0;O<i;O++)_[b++]=C[O][R];return _}function jp(e,t,n,s){let r;if(Array.isArray(e))r=Sr.fromArray(e);else if(typeof e=="string"){let c=t;if(!c){const u=Sr.rawSplit(e);c=Ts.getBestVersionForData(u,n)}r=Sr.fromString(e,c||40)}else throw new Error("Invalid data");const o=Ts.getBestVersionForData(r,n);if(!o)throw new Error("The amount of data is too big to be stored in a QR Code");if(!t)t=o;else if(t<o)throw new Error(`
|
||
The chosen QR Code version cannot contain this amount of data.
|
||
Minimum version required to store current data is: `+o+`.
|
||
`);const i=Up(t,n,r),a=sr.getSymbolSize(t),l=new Pp(a);return $p(l,t),Mp(l),Bp(l,t),Rr(l,n,0),t>=7&&Dp(l,t),Fp(l,i),isNaN(s)&&(s=Qr.getBestMask(l,Rr.bind(null,l,n))),Qr.applyMask(s,l),Rr(l,n,s),{modules:l,version:t,errorCorrectionLevel:n,maskPattern:s,segments:r}}$a.create=function(t,n){if(typeof t>"u"||t==="")throw new Error("No input text");let s=Ar.M,r,o;return typeof n<"u"&&(s=Ar.from(n.errorCorrectionLevel,Ar.M),r=Ts.from(n.version),o=Qr.from(n.maskPattern),n.toSJISFunc&&sr.setToSJISFunction(n.toSJISFunc)),jp(t,r,s,o)};var Wa={},Po={};(function(e){function t(n){if(typeof n=="number"&&(n=n.toString()),typeof n!="string")throw new Error("Color should be defined as hex string");let s=n.slice().replace("#","").split("");if(s.length<3||s.length===5||s.length>8)throw new Error("Invalid hex color: "+n);(s.length===3||s.length===4)&&(s=Array.prototype.concat.apply([],s.map(function(o){return[o,o]}))),s.length===6&&s.push("F","F");const r=parseInt(s.join(""),16);return{r:r>>24&255,g:r>>16&255,b:r>>8&255,a:r&255,hex:"#"+s.slice(0,6).join("")}}e.getOptions=function(s){s||(s={}),s.color||(s.color={});const r=typeof s.margin>"u"||s.margin===null||s.margin<0?4:s.margin,o=s.width&&s.width>=21?s.width:void 0,i=s.scale||4;return{width:o,scale:o?4:i,margin:r,color:{dark:t(s.color.dark||"#000000ff"),light:t(s.color.light||"#ffffffff")},type:s.type,rendererOpts:s.rendererOpts||{}}},e.getScale=function(s,r){return r.width&&r.width>=s+r.margin*2?r.width/(s+r.margin*2):r.scale},e.getImageWidth=function(s,r){const o=e.getScale(s,r);return Math.floor((s+r.margin*2)*o)},e.qrToImageData=function(s,r,o){const i=r.modules.size,a=r.modules.data,l=e.getScale(i,o),c=Math.floor((i+o.margin*2)*l),u=o.margin*l,f=[o.color.light,o.color.dark];for(let h=0;h<c;h++)for(let d=0;d<c;d++){let g=(h*c+d)*4,w=o.color.light;if(h>=u&&d>=u&&h<c-u&&d<c-u){const C=Math.floor((h-u)/l),S=Math.floor((d-u)/l);w=f[a[C*i+S]?1:0]}s[g++]=w.r,s[g++]=w.g,s[g++]=w.b,s[g]=w.a}}})(Po);(function(e){const t=Po;function n(r,o,i){r.clearRect(0,0,o.width,o.height),o.style||(o.style={}),o.height=i,o.width=i,o.style.height=i+"px",o.style.width=i+"px"}function s(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}e.render=function(o,i,a){let l=a,c=i;typeof l>"u"&&(!i||!i.getContext)&&(l=i,i=void 0),i||(c=s()),l=t.getOptions(l);const u=t.getImageWidth(o.modules.size,l),f=c.getContext("2d"),h=f.createImageData(u,u);return t.qrToImageData(h.data,o,l),n(f,c,u),f.putImageData(h,0,0),c},e.renderToDataURL=function(o,i,a){let l=a;typeof l>"u"&&(!i||!i.getContext)&&(l=i,i=void 0),l||(l={});const c=e.render(o,i,l),u=l.type||"image/png",f=l.rendererOpts||{};return c.toDataURL(u,f.quality)}})(Wa);var Ja={};const Hp=Po;function qi(e,t){const n=e.a/255,s=t+'="'+e.hex+'"';return n<1?s+" "+t+'-opacity="'+n.toFixed(2).slice(1)+'"':s}function Tr(e,t,n){let s=e+t;return typeof n<"u"&&(s+=" "+n),s}function Vp(e,t,n){let s="",r=0,o=!1,i=0;for(let a=0;a<e.length;a++){const l=Math.floor(a%t),c=Math.floor(a/t);!l&&!o&&(o=!0),e[a]?(i++,a>0&&l>0&&e[a-1]||(s+=o?Tr("M",l+n,.5+c+n):Tr("m",r,0),r=0,o=!1),l+1<t&&e[a+1]||(s+=Tr("h",i),i=0)):r++}return s}Ja.render=function(t,n,s){const r=Hp.getOptions(n),o=t.modules.size,i=t.modules.data,a=o+r.margin*2,l=r.color.light.a?"<path "+qi(r.color.light,"fill")+' d="M0 0h'+a+"v"+a+'H0z"/>':"",c="<path "+qi(r.color.dark,"stroke")+' d="'+Vp(i,o,r.margin)+'"/>',u='viewBox="0 0 '+a+" "+a+'"',h='<svg xmlns="http://www.w3.org/2000/svg" '+(r.width?'width="'+r.width+'" height="'+r.width+'" ':"")+u+' shape-rendering="crispEdges">'+l+c+`</svg>
|
||
`;return typeof s=="function"&&s(null,h),h};const qp=op,Zr=$a,Ga=Wa,Kp=Ja;function Io(e,t,n,s,r){const o=[].slice.call(arguments,1),i=o.length,a=typeof o[i-1]=="function";if(!a&&!qp())throw new Error("Callback required as last argument");if(a){if(i<2)throw new Error("Too few arguments provided");i===2?(r=n,n=t,t=s=void 0):i===3&&(t.getContext&&typeof r>"u"?(r=s,s=void 0):(r=s,s=n,n=t,t=void 0))}else{if(i<1)throw new Error("Too few arguments provided");return i===1?(n=t,t=s=void 0):i===2&&!t.getContext&&(s=n,n=t,t=void 0),new Promise(function(l,c){try{const u=Zr.create(n,s);l(e(u,t,s))}catch(u){c(u)}})}try{const l=Zr.create(n,s);r(null,e(l,t,s))}catch(l){r(l)}}Gn.create=Zr.create;Gn.toCanvas=Io.bind(null,Ga.render);Gn.toDataURL=Io.bind(null,Ga.renderToDataURL);Gn.toString=Io.bind(null,function(e,t,n){return Kp.render(e,n)});const zp={class:"qrcode-item"},Wp={class:"qrcode-wrapper"},Jp={key:0,class:"loading-overlay"},Gp={key:1,class:"qrcode"},Yp=["src","alt"],Qp={class:"qrcode-info"},Xp={class:"qr-url-hint"},Zp={class:"qrcode-controls"},eg={class:"id-container"},tg=["title"],ng=["title"],sg=at({__name:"QRCodeDisplay",props:{title:{type:String,required:!0},url:{type:String,required:!0},id:{type:String,required:!0}},setup(e){const t=e;ce(null);const n=ce(""),s=ce(!0),r=i=>{try{const a=new URL(i);return i}catch{return i}};_t(async()=>{try{s.value=!0,n.value=await Gn.toDataURL(t.url,{width:180,margin:1,errorCorrectionLevel:"H",color:{dark:"#000000",light:"#ffffff"}})}catch(i){console.error("生成二维码失败:",i),n.value=`https://api.qrserver.com/v1/create-qr-code/?size=180x180&data=${encodeURIComponent(t.url)}`}finally{s.value=!1}});const o=()=>{try{if(!n.value)throw new Error("二维码图片不存在");const i=document.createElement("a");i.download=`${t.title}-${t.id}.png`,i.href=n.value,document.body.appendChild(i),i.click(),document.body.removeChild(i)}catch(i){console.error("下载二维码失败:",i),alert("下载二维码失败,请稍后重试")}};return(i,a)=>(H(),K("div",zp,[E("div",Wp,[s.value?(H(),K("div",Jp,a[0]||(a[0]=[E("div",{class:"spinner"},null,-1)]))):(H(),K("div",Gp,[E("img",{src:n.value,alt:e.title},null,8,Yp)]))]),E("div",Qp,[E("h4",null,he(e.title),1),E("div",Xp,he(r(e.url)),1),E("div",Zp,[E("div",eg,[a[1]||(a[1]=E("span",{class:"id-label"},"编号:",-1)),E("span",{class:"id-value",title:e.id},he(e.id),9,tg)]),E("button",{onClick:o,class:"btn-download",title:`下载${e.title}二维码`},a[2]||(a[2]=[E("span",{class:"icon-download"},null,-1)]),8,ng)])])]))}}),Ht=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},Pr=Ht(sg,[["__scopeId","data-v-86ba8901"]]),rg=["disabled"],og={key:0,class:"search-icon"},ig={key:1,class:"loading-icon"},lg={class:"search-results-content"},ag=["onMousedown","onTouchend"],cg={class:"result-content"},ug={class:"result-title"},fg={class:"result-type"},dg={class:"search-results-content"},hg={class:"no-results"},pg=at({__name:"SearchBar",props:{isMobile:{type:Boolean,default:!1},isHomePage:{type:Boolean,default:!1}},setup(e){const t=e,n=Ad(),s=ce(""),r=ce([]),o=ce([]),i=ce(!1),a=ce(!1),l=ce("");async function c(){if(!s.value||s.value.trim()===""){o.value=[],i.value=!1,l.value="";return}try{a.value=!0,l.value="";const R=new AbortController,O=setTimeout(()=>R.abort(),15e3),L=s.value.trim(),W=L==="search"||L.toLowerCase()==="search"||L==="如何"||L.includes("?")||L.includes("?");W&&console.log('检测到特殊关键词: "'+L+'",将使用专用搜索API');const ue=/^\d+$/.test(L);ue&&console.log("警告: 搜索关键词是纯数字,将使用专用搜索API"),console.log("开始搜索,关键词:",L,ue?"(纯数字)":W?"(特殊关键词)":"");try{const z=await Gr(L,void 0,!0);if(clearTimeout(O),z&&z.code===200){let ee=[];if(z.data&&Array.isArray(z.data)?(ee=z.data,console.log("使用data字段数据:",ee.length)):z.rows&&Array.isArray(z.rows)?(ee=z.rows,console.log("使用rows字段数据:",ee.length)):z.data&&!Array.isArray(z.data)?(ee=[z.data],console.log("使用单个对象数据")):z.rows&&!Array.isArray(z.rows)&&(ee=[z.rows],console.log("使用单个对象数据")),ee.length===0){i.value=!0,l.value="未找到相关内容",a.value=!1;return}if(r.value=ee,o.value=ee,console.log("处理后的搜索结果:",o.value.length),t.isHomePage){i.value=!0,a.value=!1;return}if(ee.length>1){i.value=!1,u(L,ee);return}else if(ee.length===1){i.value=!1,d(ee[0]);return}}else o.value=[],i.value=!0,z&&z.msg?l.value=z.msg:l.value="搜索服务暂时不可用,请稍后重试"}catch(z){console.error("搜索方法失败:",z),l.value="搜索服务不可用,请稍后重试"}a.value=!1}catch(R){console.error("搜索失败:",R),R instanceof DOMException&&R.name==="AbortError"?l.value="搜索请求超时,请稍后重试":l.value="搜索服务暂时不可用,请稍后重试",a.value=!1}}function u(R,O){h(R,O)}function f(){if(s.value&&s.value.trim()!==""){a.value=!0;const R=s.value.trim();o.value.length>0?h(R,o.value):Gr(R,void 0,!0).then(O=>{if(O&&O.code===200){let L=[];O.data&&Array.isArray(O.data)?L=O.data:O.rows&&Array.isArray(O.rows)?L=O.rows:O.data&&!Array.isArray(O.data)?L=[O.data]:O.rows&&!Array.isArray(O.rows)&&(L=[O.rows]),L.length===1?d(L[0]):h(R,L)}else n.push(`/search-results?keyword=${encodeURIComponent(R)}`);a.value=!1}).catch(O=>{console.error("搜索失败:",O),n.push(`/search-results?keyword=${encodeURIComponent(R)}`),a.value=!1})}}function h(R,O){const L={law:O.filter(W=>W.pageType==="law"),case:O.filter(W=>W.pageType==="case"),form:O.filter(W=>W.pageType==="form"),other:O.filter(W=>!["law","case","form"].includes(W.pageType))};sessionStorage.setItem("searchKeyword",R),sessionStorage.setItem("searchResults",JSON.stringify(O)),sessionStorage.setItem("categorizedResults",JSON.stringify(L)),n.push(`/search-results?keyword=${encodeURIComponent(R)}`)}function d(R){let O="/";switch(R.pageType){case"law":O=`/show.html?Id=${R.formatId}`;break;case"case":O=`/showcase.html?Id=${R.formatId}`;break;case"form":O=`/table.html?Id=${R.formatId}`;break}s.value="",i.value=!1,l.value="",n.push(O)}function g(){s.value.length===0&&(o.value=[],i.value=!1,l.value="")}function w(){t.isHomePage&&t.isMobile&&setTimeout(_,100)}function C(){setTimeout(()=>{i.value=!1},200)}function S(R){R.key==="Enter"&&f()}function v(){const R=document.querySelector(".search-input");R&&R.blur()}function _(){const R=document.querySelector(".search-bar");R&&R.getBoundingClientRect()}function b(){l.value="",c()}return _t(()=>{const R=document.querySelector(".search-results");R&&R.addEventListener("touchend",O=>{O.stopPropagation()})}),Us(()=>{}),(R,O)=>(H(),K("div",{class:Fe(["search-container",{mobile:e.isMobile,"home-search":e.isHomePage}])},[E("form",{class:"search-bar",onSubmit:ls(f,["prevent"])},[kc(E("input",{type:"search","onUpdate:modelValue":O[0]||(O[0]=L=>s.value=L),onInput:g,onFocus:w,onBlur:C,onKeyup:S,placeholder:"搜索法律规定、典型案例或表单...",class:"search-input",inputmode:"search",autocomplete:"off"},null,544),[[df,s.value]]),E("button",{type:"submit",class:"search-button",onClick:f,disabled:a.value},[a.value?(H(),K("span",ig)):(H(),K("span",og))],8,rg)],32),i.value&&o.value.length>0?(H(),K("div",{key:0,class:Fe(["search-results",{"mobile-results":e.isMobile,"home-page-results":e.isHomePage}])},[E("div",lg,[E("ul",null,[(H(!0),K(Ee,null,St(o.value,L=>(H(),K("li",{key:L.id,onMousedown:ls(W=>d(L),["prevent"]),onTouchend:ls(W=>{d(L),v()},["prevent"]),class:"search-result-item"},[E("div",cg,[E("span",ug,he(L.title),1),E("span",fg,he(L.pageType==="law"?"法律规定":L.pageType==="case"?"典型案例":"表单下载"),1)])],40,ag))),128))])])],2)):i.value&&s.value&&(o.value.length===0||l.value)?(H(),K("div",{key:1,class:Fe(["search-results",{"mobile-results":e.isMobile,"home-page-results":e.isHomePage}])},[E("div",dg,[E("div",hg,[E("p",null,he(l.value||"未找到相关内容"),1),l.value?(H(),K("button",{key:0,onClick:b,class:"retry-button"},"重试")):on("",!0)])])],2)):on("",!0)],2))}}),gg=Ht(pg,[["__scopeId","data-v-60a512e9"]]),mg={class:"container"},yg={class:"navbar-content"},wg={class:"navbar-nav"},vg={class:"nav-item"},bg={class:"nav-item"},_g={class:"nav-item"},Eg={class:"nav-item"},Cg=at({__name:"TheNavbar",setup(e){const t=ce(!1),n=ce(!1),s=globalThis.window,r=()=>{t.value=!t.value,t.value?s.innerWidth<=768&&(document.body.style.overflow="hidden"):document.body.style.overflow=""},o=()=>{t.value&&(t.value=!1,document.body.style.overflow="")},i=()=>{n.value=s.scrollY>60};return _t(()=>{s.addEventListener("scroll",i),s.addEventListener("resize",o),document.body.style.overflow=""}),Us(()=>{s.removeEventListener("scroll",i),s.removeEventListener("resize",o),document.body.style.overflow=""}),(a,l)=>{const c=Kn("router-link");return H(),K("nav",{class:Fe(["navbar",{scrolled:n.value}])},[E("div",mg,[E("div",yg,[Q(c,{to:"/",class:"navbar-brand",onClick:o},{default:ge(()=>l[0]||(l[0]=[X(" 淮安市司法局百问百答 ")])),_:1,__:[0]}),E("div",{class:Fe(["search-wrapper",{"mobile-search":mt(s).innerWidth<=768}])},[Q(gg,{isMobile:mt(s).innerWidth<=768},null,8,["isMobile"])],2),E("button",{class:"menu-toggle",onClick:r,"aria-label":"菜单"},[E("span",{class:Fe(["bar",{open:t.value}])},null,2),E("span",{class:Fe(["bar",{open:t.value}])},null,2),E("span",{class:Fe(["bar",{open:t.value}])},null,2)]),E("div",{class:Fe(["navbar-collapse",{show:t.value}])},[E("ul",wg,[E("li",vg,[Q(c,{to:"/",class:"nav-link",onClick:o},{default:ge(()=>l[1]||(l[1]=[X("首页")])),_:1,__:[1]})]),E("li",bg,[Q(c,{to:"/hasfjlaw",class:"nav-link",onClick:o},{default:ge(()=>l[2]||(l[2]=[X("法律规定")])),_:1,__:[2]})]),E("li",_g,[Q(c,{to:"/hasfjcase",class:"nav-link",onClick:o},{default:ge(()=>l[3]||(l[3]=[X("典型案例")])),_:1,__:[3]})]),E("li",Eg,[Q(c,{to:"/hasfjform",class:"nav-link",onClick:o},{default:ge(()=>l[4]||(l[4]=[X("表单下载")])),_:1,__:[4]})])])],2)])])],2)}}}),rr=Ht(Cg,[["__scopeId","data-v-d5adcd78"]]),Ag={class:"home"},Sg={class:"container main-container"},Rg={class:"content-row"},Tg={class:"content-card"},Pg={class:"card-header"},Ig={key:0,class:"loading"},xg={key:1,class:"empty"},Og={key:2,class:"content-list"},Ng={class:"date"},Lg={class:"content-card"},$g={class:"card-header"},Mg={key:0,class:"loading"},Bg={key:1,class:"empty"},Dg={key:2,class:"content-list"},Fg={class:"date"},Ug={class:"content-card"},kg={class:"card-header"},jg={key:0,class:"loading"},Hg={key:1,class:"empty"},Vg={key:2,class:"content-list"},qg={class:"date"},Kg={class:"qrcode-section"},zg={class:"section-header"},Wg={class:"qrcode-list"},Jg={class:"qrcode-group"},Gg={class:"qrcode-container"},Yg={class:"qrcode-group"},Qg={class:"qrcode-container"},Xg={class:"qrcode-group"},Zg={class:"qrcode-container"},em=at({__name:"HomeView",setup(e){const t=ce([]),n=ce([]),s=ce([]),r=ce({law:!0,case:!0,form:!0}),o=(l,c)=>{const u=La();let f="";return c==="law"?f=`/show.html?Id=${l}`:c==="case"?f=`/showcase.html?Id=${l}`:c==="form"?f=`/table.html?Id=${l}`:f=`/show.html?Id=${l}`,`${u}${f}`},i={law:[{id:"000001",title:"法律规定1",url:o("000001","law")},{id:"000002",title:"法律规定2",url:o("000002","law")},{id:"000003",title:"法律规定3",url:o("000003","law")}],case:[{id:"000001",title:"典型案例1",url:o("000001","case")},{id:"000002",title:"典型案例2",url:o("000002","case")},{id:"000003",title:"典型案例3",url:o("000003","case")}],form:[{id:"000001",title:"表单下载1",url:o("000001","form")},{id:"000002",title:"表单下载2",url:o("000002","form")},{id:"000003",title:"表单下载3",url:o("000003","form")}]},a=l=>{if(!l)return"--/--";try{const c=new Date(l);return isNaN(c.getTime())?"--/--":`${c.getMonth()+1}/${c.getDate()}`}catch(c){return console.error("日期格式化错误:",c),"--/--"}};return _t(async()=>{try{console.log("开始请求法律规定列表...");const l=await fs("law",1,6);if(console.log("法律规定列表请求结果:",l),!l){console.error("法律规定请求结果为空");return}console.log("法律规定返回数据类型:",typeof l),console.log("法律规定返回数据结构:",Object.keys(l)),l&&l.code===200?Array.isArray(l.rows)&&l.rows.length>0?(t.value=l.rows,console.log("成功获取法律规定数据:",t.value)):(console.warn("法律规定数据为空或格式不正确:",l),console.warn("rows是否为数组:",Array.isArray(l.rows)),console.warn("rows长度:",l.rows?l.rows.length:0),l.data&&Array.isArray(l.data)?(t.value=l.data,console.log("从data字段获取法律规定数据:",t.value)):l.list&&Array.isArray(l.list)?(t.value=l.list,console.log("从list字段获取法律规定数据:",t.value)):Array.isArray(l)&&(t.value=l,console.log("直接使用结果数组作为法律规定数据:",t.value))):console.error("请求法律规定列表失败:",(l==null?void 0:l.msg)||"未知错误")}catch(l){console.error("获取法律规定列表失败:",l)}finally{r.value.law=!1}try{console.log("开始请求典型案例列表...");const l=await fs("case",1,6);if(console.log("典型案例列表请求结果:",l),!l){console.error("典型案例请求结果为空");return}console.log("典型案例返回数据类型:",typeof l),console.log("典型案例返回数据结构:",Object.keys(l)),l&&l.code===200?Array.isArray(l.rows)&&l.rows.length>0?(n.value=l.rows,console.log("成功获取典型案例数据:",n.value)):(console.warn("典型案例数据为空或格式不正确:",l),console.warn("rows是否为数组:",Array.isArray(l.rows)),console.warn("rows长度:",l.rows?l.rows.length:0),l.data&&Array.isArray(l.data)?(n.value=l.data,console.log("从data字段获取典型案例数据:",n.value)):l.list&&Array.isArray(l.list)?(n.value=l.list,console.log("从list字段获取典型案例数据:",n.value)):Array.isArray(l)&&(n.value=l,console.log("直接使用结果数组作为典型案例数据:",n.value))):console.error("请求典型案例列表失败:",(l==null?void 0:l.msg)||"未知错误")}catch(l){console.error("获取典型案例列表失败:",l)}finally{r.value.case=!1}try{console.log("开始请求表单下载列表...");const l=await fs("form",1,6);if(console.log("表单下载列表请求结果:",l),!l){console.error("表单下载请求结果为空");return}console.log("表单下载返回数据类型:",typeof l),console.log("表单下载返回数据结构:",Object.keys(l)),l&&l.code===200?Array.isArray(l.rows)&&l.rows.length>0?(s.value=l.rows,console.log("成功获取表单下载数据:",s.value)):(console.warn("表单下载数据为空或格式不正确:",l),console.warn("rows是否为数组:",Array.isArray(l.rows)),console.warn("rows长度:",l.rows?l.rows.length:0),l.data&&Array.isArray(l.data)?(s.value=l.data,console.log("从data字段获取表单下载数据:",s.value)):l.list&&Array.isArray(l.list)?(s.value=l.list,console.log("从list字段获取表单下载数据:",s.value)):Array.isArray(l)&&(s.value=l,console.log("直接使用结果数组作为表单下载数据:",s.value))):console.error("请求表单下载列表失败:",(l==null?void 0:l.msg)||"未知错误")}catch(l){console.error("获取表单下载列表失败:",l)}finally{r.value.form=!1}try{t.value.length>0&&(i.law=t.value.slice(0,3).map(l=>({id:l.formatId,title:l.title,url:o(l.formatId,"law")}))),n.value.length>0&&(i.case=n.value.slice(0,3).map(l=>({id:l.formatId,title:l.title,url:o(l.formatId,"case")}))),s.value.length>0&&(i.form=s.value.slice(0,3).map(l=>({id:l.formatId,title:l.title,url:o(l.formatId,"form")}))),console.log("二维码链接已更新:",i)}catch(l){console.error("更新二维码链接失败:",l)}}),(l,c)=>{const u=Kn("router-link");return H(),K("div",Ag,[Q(rr),c[17]||(c[17]=E("header",{class:"header"},[E("div",{class:"container"},[E("h1",null,"淮安市司法局百问百答"),E("p",{class:"subtitle"},"法律法规、典型案例、表单下载")])],-1)),E("div",Sg,[E("div",Rg,[E("div",Tg,[E("div",Pg,[c[1]||(c[1]=E("h2",null,[E("i",{class:"card-icon law-icon"}),X("法律规定")],-1)),Q(u,{to:"/hasfjlaw",class:"view-more"},{default:ge(()=>c[0]||(c[0]=[X("查看更多")])),_:1,__:[0]})]),r.value.law?(H(),K("div",Ig,c[2]||(c[2]=[E("div",{class:"spinner"},null,-1),E("span",null,"加载中...",-1)]))):t.value.length===0?(H(),K("div",xg,"暂无法律规定")):(H(),K("ul",Og,[(H(!0),K(Ee,null,St(t.value.slice(0,6),f=>(H(),K("li",{key:f.formatId},[Q(u,{to:`/show.html?Id=${f.formatId}`,class:"list-item-link"},{default:ge(()=>[c[3]||(c[3]=E("span",{class:"item-dot"},null,-1)),X(" "+he(f.title),1)]),_:2,__:[3]},1032,["to"]),E("span",Ng,he(a(f.createTime)),1)]))),128))]))]),E("div",Lg,[E("div",$g,[c[5]||(c[5]=E("h2",null,[E("i",{class:"card-icon case-icon"}),X("典型案例")],-1)),Q(u,{to:"/hasfjcase",class:"view-more"},{default:ge(()=>c[4]||(c[4]=[X("查看更多")])),_:1,__:[4]})]),r.value.case?(H(),K("div",Mg,c[6]||(c[6]=[E("div",{class:"spinner"},null,-1),E("span",null,"加载中...",-1)]))):n.value.length===0?(H(),K("div",Bg,"暂无典型案例")):(H(),K("ul",Dg,[(H(!0),K(Ee,null,St(n.value.slice(0,6),f=>(H(),K("li",{key:f.formatId},[Q(u,{to:`/showcase.html?Id=${f.formatId}`,class:"list-item-link"},{default:ge(()=>[c[7]||(c[7]=E("span",{class:"item-dot"},null,-1)),X(" "+he(f.title),1)]),_:2,__:[7]},1032,["to"]),E("span",Fg,he(a(f.createTime)),1)]))),128))]))]),E("div",Ug,[E("div",kg,[c[9]||(c[9]=E("h2",null,[E("i",{class:"card-icon form-icon"}),X("表单下载")],-1)),Q(u,{to:"/hasfjform",class:"view-more"},{default:ge(()=>c[8]||(c[8]=[X("查看更多")])),_:1,__:[8]})]),r.value.form?(H(),K("div",jg,c[10]||(c[10]=[E("div",{class:"spinner"},null,-1),E("span",null,"加载中...",-1)]))):s.value.length===0?(H(),K("div",Hg,"暂无表单")):(H(),K("ul",Vg,[(H(!0),K(Ee,null,St(s.value.slice(0,6),f=>(H(),K("li",{key:f.formatId},[Q(u,{to:`/table.html?Id=${f.formatId}`,class:"list-item-link"},{default:ge(()=>[c[11]||(c[11]=E("span",{class:"item-dot"},null,-1)),X(" "+he(f.title),1)]),_:2,__:[11]},1032,["to"]),E("span",qg,he(a(f.createTime)),1)]))),128))]))])]),E("div",Kg,[E("div",zg,[c[13]||(c[13]=E("h2",null,[E("i",{class:"section-icon qrcode-icon"}),X("二维码入口")],-1)),Q(u,{to:"/qrcodes",class:"view-more"},{default:ge(()=>c[12]||(c[12]=[X("查看更多")])),_:1,__:[12]})]),E("div",Wg,[E("div",Jg,[c[14]||(c[14]=E("h3",null,"法律规定",-1)),E("div",Gg,[(H(!0),K(Ee,null,St(i.law,f=>(H(),xn(Pr,{key:f.id,url:f.url,title:f.title,id:f.id},null,8,["url","title","id"]))),128))])]),E("div",Yg,[c[15]||(c[15]=E("h3",null,"典型案例",-1)),E("div",Qg,[(H(!0),K(Ee,null,St(i.case,f=>(H(),xn(Pr,{key:f.id,url:f.url,title:f.title,id:f.id},null,8,["url","title","id"]))),128))])]),E("div",Xg,[c[16]||(c[16]=E("h3",null,"表单下载",-1)),E("div",Zg,[(H(!0),K(Ee,null,St(i.form,f=>(H(),xn(Pr,{key:f.id,url:f.url,title:f.title,id:f.id},null,8,["url","title","id"]))),128))])])])])]),c[18]||(c[18]=E("footer",{class:"footer"},[E("div",{class:"container"},[E("p",null,"© 2025 博越科技. 版权所有.")])],-1))])}}}),tm=Ht(em,[["__scopeId","data-v-4fd05d34"]]),nm={class:"law-container"},sm={key:0,class:"loading"},rm={key:1,class:"error"},om={class:"container"},im={key:2,class:"content"},lm={class:"container"},am={class:"content-card"},cm={class:"header"},um={class:"meta"},fm={key:0},dm=["innerHTML"],hm={class:"footer"},pm=at({__name:"LawView",setup(e){const t=_o(),n=ce(!0),s=ce(!1),r=ce(null);_t(async()=>{try{const i=t.query.Id;if(!i){console.error("缺少必要的formatId参数"),s.value=!0,n.value=!1;return}console.log("开始获取法律规定详情,formatId:",i);const a=await Xs("law",i);if(console.log("法律规定详情请求结果:",a),a&&a.code===200&&a.data){r.value=a.data,console.log("成功获取法律规定详情:",r.value);try{const l=await Zs("law",i);console.log("更新浏览量结果:",l),l&&l.code===200?(l.data&&typeof l.data.viewCount=="number"?r.value.viewCount=l.data.viewCount:typeof r.value.viewCount=="number"||typeof r.value.viewCount=="string"?r.value.viewCount=Number(r.value.viewCount||0)+1:r.value.viewCount=1,console.log("浏览量更新为:",r.value.viewCount)):console.warn("浏览量更新API返回错误:",(l==null?void 0:l.msg)||"未知错误")}catch(l){console.error("更新浏览量失败:",l),(typeof r.value.viewCount=="number"||typeof r.value.viewCount=="string")&&(r.value.viewCount=Number(r.value.viewCount||0)+1,console.log("API出错,本地更新浏览量为:",r.value.viewCount))}if(r.value.pageType&&r.value.pageType!=="law"){console.error(`错误: 请求的是法律规定(law),但返回的是${r.value.pageType}类型的内容`),s.value=!0,n.value=!1;return}if(r.value.title&&/\\u|%/.test(r.value.title))try{r.value.title=decodeURIComponent(r.value.title)}catch(l){console.error("标题解码失败:",l)}if(r.value.content){if(console.log("内容类型:",typeof r.value.content),console.log("内容前50个字符:",r.value.content.substring(0,50)),/\\u|%/.test(r.value.content))try{r.value.content=decodeURIComponent(r.value.content)}catch(l){console.error("内容解码失败:",l)}if(typeof r.value.content!="string")try{r.value.content=JSON.stringify(r.value.content)}catch(l){console.error("内容格式转换失败:",l)}}else console.warn("页面内容为空"),r.value.content="<p>暂无内容</p>";document.title=`${r.value.title||"法律规定详情"} - 法律规定`}else console.error("获取法律规定详情失败:",(a==null?void 0:a.msg)||"未知错误"),s.value=!0}catch(i){console.error("获取法律规定详情异常:",i),s.value=!0}finally{n.value=!1}});const o=i=>{if(!i)return"未知日期";try{const a=new Date(i);return isNaN(a.getTime())?"未知日期":a.toLocaleDateString("zh-CN",{year:"numeric",month:"2-digit",day:"2-digit"})}catch(a){return console.error("日期格式化错误:",a),"未知日期"}};return(i,a)=>{const l=Kn("router-link");return H(),K("div",nm,[Q(rr),n.value?(H(),K("div",sm,a[0]||(a[0]=[E("div",{class:"spinner"},null,-1),E("p",null,"加载中...",-1)]))):s.value?(H(),K("div",rm,[E("div",om,[a[2]||(a[2]=E("h3",null,"内容加载失败",-1)),a[3]||(a[3]=E("p",null,"无法找到该法律规定内容或发生网络错误",-1)),Q(l,{to:"/",class:"btn-home"},{default:ge(()=>a[1]||(a[1]=[X("返回首页")])),_:1,__:[1]})])])):(H(),K("div",im,[E("div",lm,[E("div",am,[E("div",cm,[a[7]||(a[7]=E("div",{class:"law-category"},"法律规定",-1)),E("h2",null,he(r.value.title),1),E("div",um,[E("span",null,[a[4]||(a[4]=E("i",{class:"icon-time"},null,-1)),X(he(o(r.value.createTime)),1)]),E("span",null,[a[5]||(a[5]=E("i",{class:"icon-eye"},null,-1)),X("浏览次数: "+he(r.value.viewCount),1)]),r.value.author?(H(),K("span",fm,[a[6]||(a[6]=E("i",{class:"icon-user"},null,-1)),X("作者: "+he(r.value.author),1)])):on("",!0)])]),E("div",{class:"body",innerHTML:r.value.content},null,8,dm),E("div",hm,[Q(l,{to:"/hasfjlaw",class:"btn-more"},{default:ge(()=>a[8]||(a[8]=[X("查看更多法律规定")])),_:1,__:[8]}),Q(l,{to:"/",class:"btn-home"},{default:ge(()=>a[9]||(a[9]=[X("返回首页")])),_:1,__:[9]})])])])]))])}}}),gm=Ht(pm,[["__scopeId","data-v-04c19dd1"]]),mm={class:"case-container"},ym={key:0,class:"loading"},wm={key:1,class:"error"},vm={class:"container"},bm={key:2,class:"content"},_m={class:"container"},Em={class:"content-card"},Cm={class:"header"},Am={class:"meta"},Sm={key:0},Rm=["innerHTML"],Tm={class:"footer"},Pm=at({__name:"CaseView",setup(e){const t=_o(),n=ce(!0),s=ce(!1),r=ce(null);_t(async()=>{try{const i=t.query.Id;if(!i){console.error("缺少必要的formatId参数"),s.value=!0,n.value=!1;return}console.log("开始获取典型案例详情,formatId:",i);const a=await Xs("case",i);if(console.log("典型案例详情请求结果:",a),a&&a.code===200&&a.data){r.value=a.data,console.log("成功获取典型案例详情:",r.value);try{const l=await Zs("case",i);console.log("更新浏览量结果:",l),l&&l.code===200?(l.data&&typeof l.data.viewCount=="number"?r.value.viewCount=l.data.viewCount:typeof r.value.viewCount=="number"||typeof r.value.viewCount=="string"?r.value.viewCount=Number(r.value.viewCount||0)+1:r.value.viewCount=1,console.log("浏览量更新为:",r.value.viewCount)):console.warn("浏览量更新API返回错误:",(l==null?void 0:l.msg)||"未知错误")}catch(l){console.error("更新浏览量失败:",l),(typeof r.value.viewCount=="number"||typeof r.value.viewCount=="string")&&(r.value.viewCount=Number(r.value.viewCount||0)+1,console.log("API出错,本地更新浏览量为:",r.value.viewCount))}if(r.value.pageType&&r.value.pageType!=="case"){console.error(`错误: 请求的是典型案例(case),但返回的是${r.value.pageType}类型的内容`),s.value=!0,n.value=!1;return}if(r.value.title&&/\\u|%/.test(r.value.title))try{r.value.title=decodeURIComponent(r.value.title)}catch(l){console.error("标题解码失败:",l)}if(r.value.content){if(console.log("内容类型:",typeof r.value.content),console.log("内容前50个字符:",r.value.content.substring(0,50)),/\\u|%/.test(r.value.content))try{r.value.content=decodeURIComponent(r.value.content)}catch(l){console.error("内容解码失败:",l)}if(typeof r.value.content!="string")try{r.value.content=JSON.stringify(r.value.content)}catch(l){console.error("内容格式转换失败:",l)}}else console.warn("页面内容为空"),r.value.content="<p>暂无内容</p>";document.title=`${r.value.title||"典型案例详情"} - 典型案例`}else console.error("获取典型案例详情失败:",(a==null?void 0:a.msg)||"未知错误"),s.value=!0}catch(i){console.error("获取典型案例详情异常:",i),s.value=!0}finally{n.value=!1}});const o=i=>{if(!i)return"未知日期";try{const a=new Date(i);return isNaN(a.getTime())?"未知日期":a.toLocaleDateString("zh-CN",{year:"numeric",month:"2-digit",day:"2-digit"})}catch(a){return console.error("日期格式化错误:",a),"未知日期"}};return(i,a)=>{const l=Kn("router-link");return H(),K("div",mm,[Q(rr),n.value?(H(),K("div",ym,a[0]||(a[0]=[E("div",{class:"spinner"},null,-1),E("p",null,"加载中...",-1)]))):s.value?(H(),K("div",wm,[E("div",vm,[a[2]||(a[2]=E("h3",null,"内容加载失败",-1)),a[3]||(a[3]=E("p",null,"无法找到该典型案例内容或发生网络错误",-1)),Q(l,{to:"/",class:"btn-home"},{default:ge(()=>a[1]||(a[1]=[X("返回首页")])),_:1,__:[1]})])])):(H(),K("div",bm,[E("div",_m,[E("div",Em,[E("div",Cm,[a[7]||(a[7]=E("div",{class:"case-category"},"典型案例",-1)),E("h2",null,he(r.value.title),1),E("div",Am,[E("span",null,[a[4]||(a[4]=E("i",{class:"icon-time"},null,-1)),X(he(o(r.value.createTime)),1)]),E("span",null,[a[5]||(a[5]=E("i",{class:"icon-eye"},null,-1)),X("浏览次数: "+he(r.value.viewCount),1)]),r.value.author?(H(),K("span",Sm,[a[6]||(a[6]=E("i",{class:"icon-user"},null,-1)),X("作者: "+he(r.value.author),1)])):on("",!0)])]),E("div",{class:"body",innerHTML:r.value.content},null,8,Rm),E("div",Tm,[Q(l,{to:"/hasfjcase",class:"btn-more"},{default:ge(()=>a[8]||(a[8]=[X("查看更多典型案例")])),_:1,__:[8]}),Q(l,{to:"/",class:"btn-home"},{default:ge(()=>a[9]||(a[9]=[X("返回首页")])),_:1,__:[9]})])])])]))])}}}),Im=Ht(Pm,[["__scopeId","data-v-dced840a"]]),xm={class:"form-container"},Om={key:0,class:"loading"},Nm={key:1,class:"error"},Lm={class:"container"},$m={key:2,class:"content"},Mm={class:"container"},Bm={class:"content-card"},Dm={class:"header"},Fm={class:"meta"},Um={key:0},km=["innerHTML"],jm={key:0,class:"attachments"},Hm={class:"attachment-list"},Vm={class:"attachment-name"},qm=["onClick"],Km={class:"footer"},zm=at({__name:"FormView",setup(e){const t=_o(),n=ce(!0),s=ce(!1),r=ce(null),o=qe(()=>{if(!r.value||!r.value.multiAttachments)return[];try{const h=JSON.parse(r.value.multiAttachments);return Array.isArray(h)?h.filter(d=>d&&(d.url||d.name)):[]}catch(h){return console.error("解析附件列表失败:",h),[]}});_t(async()=>{try{const h=t.query.Id;if(!h){console.error("缺少必要的formatId参数"),s.value=!0,n.value=!1;return}console.log("开始获取表单详情,formatId:",h);const d=await Xs("form",h);if(console.log("表单详情请求结果:",d),d&&d.code===200&&d.data){r.value=d.data,console.log("成功获取表单详情:",r.value);try{const g=await Zs("form",h);console.log("更新浏览量结果:",g),g&&g.code===200?(g.data&&typeof g.data.viewCount=="number"?r.value.viewCount=g.data.viewCount:typeof r.value.viewCount=="number"||typeof r.value.viewCount=="string"?r.value.viewCount=Number(r.value.viewCount||0)+1:r.value.viewCount=1,console.log("浏览量更新为:",r.value.viewCount)):console.warn("浏览量更新API返回错误:",(g==null?void 0:g.msg)||"未知错误")}catch(g){console.error("更新浏览量失败:",g),(typeof r.value.viewCount=="number"||typeof r.value.viewCount=="string")&&(r.value.viewCount=Number(r.value.viewCount||0)+1,console.log("API出错,本地更新浏览量为:",r.value.viewCount))}if(r.value.pageType&&r.value.pageType!=="form"){console.error(`错误: 请求的是表单(form),但返回的是${r.value.pageType}类型的内容`),s.value=!0,n.value=!1;return}if(r.value.title&&/\\u|%/.test(r.value.title))try{r.value.title=decodeURIComponent(r.value.title)}catch(g){console.error("标题解码失败:",g)}if(r.value.content){if(console.log("内容类型:",typeof r.value.content),console.log("内容前50个字符:",r.value.content.substring(0,50)),/\\u|%/.test(r.value.content))try{r.value.content=decodeURIComponent(r.value.content)}catch(g){console.error("内容解码失败:",g)}if(typeof r.value.content!="string")try{r.value.content=JSON.stringify(r.value.content)}catch(g){console.error("内容格式转换失败:",g)}}else console.warn("页面内容为空"),r.value.content="<p>暂无内容</p>";if(r.value.attachmentUrl&&(console.log("附件URL:",r.value.attachmentUrl),/\\u|%/.test(r.value.attachmentUrl)))try{r.value.attachmentUrl=decodeURIComponent(r.value.attachmentUrl)}catch(g){console.error("附件URL解码失败:",g)}if(r.value.multiAttachments)try{let g=r.value.multiAttachments;if(/\\u|%/.test(g))try{g=decodeURIComponent(g)}catch(C){console.error("多附件数据解码失败:",C)}const w=JSON.parse(g);console.log("多附件数据:",w),Array.isArray(w)&&(w.forEach((C,S)=>{if(C.url&&/\\u|%/.test(C.url))try{C.url=decodeURIComponent(C.url)}catch(v){console.error(`附件${S}URL解码失败:`,v)}}),r.value.multiAttachments=JSON.stringify(w))}catch(g){console.error("解析多附件数据失败:",g)}document.title=`${r.value.title||"表单详情"} - 表单下载`}else console.error("获取表单详情失败:",(d==null?void 0:d.msg)||"未知错误"),s.value=!0}catch(h){console.error("获取表单详情异常:",h),s.value=!0}finally{n.value=!1}});function i(h){if(!h)return"未知";const d=new Date(h);return`${d.getFullYear()}-${a(d.getMonth()+1)}-${a(d.getDate())}`}function a(h){return h<10?`0${h}`:`${h}`}function l(h){var g;if(!h)return"icon-file";switch(((g=h.split(".").pop())==null?void 0:g.toLowerCase())||""){case"pdf":return"icon-pdf";case"doc":case"docx":return"icon-word";case"xls":case"xlsx":return"icon-excel";case"ppt":case"pptx":return"icon-ppt";case"zip":case"rar":return"icon-archive";case"png":case"jpg":case"jpeg":case"gif":return"icon-image";default:return"icon-file"}}function c(h){return h&&h.split("/").pop()||"未知文件"}function u(h){if(!h)return"#";if(h.startsWith("http://")||h.startsWith("https://"))return h;let d=h;for(d=d.replace(/\\/g,"/");d.includes("//");)d=d.replace("//","/");return d.startsWith("/")&&(d=d.substring(1)),d.startsWith("profile/")?`undefined/${d}`:(/^\d{4}\/\d{2}\/\d{2}\//.test(d)&&(d.startsWith("files/master/")||(d=`files/master/${d}`)),`undefined/profile/${d}`)}function f(h,d){const g=u(h),w=ce("");w.value="下载中...",fetch(g).then(C=>{if(!C.ok)throw new Error(`下载失败: ${C.status}`);return C.blob()}).then(C=>{const S=window.URL.createObjectURL(C),v=document.createElement("a");v.href=S,v.download=d||c(h),document.body.appendChild(v),v.click(),window.URL.revokeObjectURL(S),document.body.removeChild(v),w.value="下载成功"}).catch(C=>{console.error("下载文件时出错:",C,g),w.value="下载失败",window.open(g,"_blank")})}return(h,d)=>{const g=Kn("router-link");return H(),K("div",xm,[Q(rr),n.value?(H(),K("div",Om,d[0]||(d[0]=[E("div",{class:"spinner"},null,-1),E("p",null,"加载中...",-1)]))):s.value?(H(),K("div",Nm,[E("div",Lm,[d[2]||(d[2]=E("h3",null,"内容加载失败",-1)),d[3]||(d[3]=E("p",null,"无法找到该表单内容或发生网络错误",-1)),Q(g,{to:"/",class:"btn-home"},{default:ge(()=>d[1]||(d[1]=[X("返回首页")])),_:1,__:[1]})])])):(H(),K("div",$m,[E("div",Mm,[E("div",Bm,[E("div",Dm,[d[7]||(d[7]=E("div",{class:"form-category"},"表单下载",-1)),E("h2",null,he(r.value.title),1),E("div",Fm,[E("span",null,[d[4]||(d[4]=E("i",{class:"icon-time"},null,-1)),X(he(i(r.value.createTime)),1)]),E("span",null,[d[5]||(d[5]=E("i",{class:"icon-eye"},null,-1)),X("浏览次数: "+he(r.value.viewCount),1)]),r.value.author?(H(),K("span",Um,[d[6]||(d[6]=E("i",{class:"icon-user"},null,-1)),X("作者: "+he(r.value.author),1)])):on("",!0)])]),E("div",{class:"body",innerHTML:r.value.content},null,8,km),o.value.length>0?(H(),K("div",jm,[d[8]||(d[8]=E("h3",{class:"attachments-title"},"附件下载",-1)),E("ul",Hm,[(H(!0),K(Ee,null,St(o.value,(w,C)=>(H(),K("li",{key:C,class:"attachment-item"},[E("span",{class:Fe(["attachment-icon",l(w.name||w.url)])},null,2),E("span",Vm,he(w.name||c(w.url)),1),E("a",{onClick:ls(S=>f(w.url,w.name||c(w.url)),["prevent"]),class:"download-btn",href:"javascript:void(0)"},"下载",8,qm)]))),128))])])):on("",!0),E("div",Km,[Q(g,{to:"/hasfjform",class:"btn-more"},{default:ge(()=>d[9]||(d[9]=[X("查看更多表单")])),_:1,__:[9]}),Q(g,{to:"/",class:"btn-home"},{default:ge(()=>d[10]||(d[10]=[X("返回首页")])),_:1,__:[10]})])])])]))])}}}),Wm=Ht(zm,[["__scopeId","data-v-26678287"]]),Jm=Ed({history:Xf("/"),routes:[{path:"/",name:"home",component:tm},{path:"/show.html",name:"law",component:gm},{path:"/showcase.html",name:"case",component:Im},{path:"/table.html",name:"form",component:Wm},{path:"/hasfjlaw",name:"lawList",component:()=>bn(()=>import("./LawListView-QP4siuzG.js"),__vite__mapDeps([0,1,2,3]))},{path:"/hasfjcase",name:"caseList",component:()=>bn(()=>import("./CaseListView-7zanRSPt.js"),__vite__mapDeps([4,1,2,5]))},{path:"/hasfjform",name:"formList",component:()=>bn(()=>import("./FormListView-DQyGqgEU.js"),__vite__mapDeps([6,1,2,7]))},{path:"/qrcodes",name:"qrcodeList",component:()=>bn(()=>import("./QRCodesView-DdqwMmpH.js"),__vite__mapDeps([8,1,2,9]))},{path:"/search-results",name:"searchResults",component:()=>bn(()=>import("./SearchResultsView-CB_YbNqO.js"),__vite__mapDeps([10,11]))}]}),xo=yf(Sd);xo.use(_f());xo.use(Jm);xo.mount("#app");export{_o as A,Ad as B,g0 as C,Ee as F,Pr as Q,gg as S,rr as T,Ht as _,Kc as a,Q as b,K as c,at as d,E as e,ge as f,Kn as g,St as h,fs as i,X as j,H as k,on as l,rp as m,Fe as n,_t as o,La as p,xn as q,ce as r,qe as s,he as t,kc as u,Ym as v,Pn as w,Gm as x,Us as y,bn as z};
|