mirror of
https://gitee.com/myxzgzs/boyuehasfj-vue3-html.git
synced 2025-08-08 15:12: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.ver
|
|||
|
* @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.r
|
|||
|
* @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
|
|||
|
* 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
|
|||
|
`).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,
|
|||
|
`+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,RequestHeaderFieldsToo
|
|||
|
]))+`;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
|
|||
|
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("使用单个<E58D95>
|