1var mr=Object.defineProperty,_r=(t,e,n)=>e in t?mr(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,et=(t,e,n)=>(_r(t,typeof e!="symbol"?e+"":e,n),n);/** 2* @vue/shared v3.5.3 3* (c) 2018-present Yuxi (Evan) You and Vue contributors 4* @license MIT 5**//*! #__NO_SIDE_EFFECTS__ */function br(t,e){const n=new Set(t.split(","));return r=>n.has(r)}const Ve={},wr=[],mt=()=>{},xr=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),kt=Object.assign,Sr=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},Mr=Object.prototype.hasOwnProperty,Le=(t,e)=>Mr.call(t,e),L=Array.isArray,qt=t=>xe(t)==="[object Map]",In=t=>xe(t)==="[object Set]",E=t=>typeof t=="function",ht=t=>typeof t=="string",Rt=t=>typeof t=="symbol",K=t=>t!==null&&typeof t=="object",Rn=t=>(K(t)||E(t))&&E(t.then)&&E(t.catch),Pn=Object.prototype.toString,xe=t=>Pn.call(t),kr=t=>xe(t).slice(8,-1),Bn=t=>xe(t)==="[object Object]",$e=t=>ht(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,It=(t,e)=>!Object.is(t,e),Cr=t=>{const e=ht(t)?Number(t):NaN;return isNaN(e)?t:e};let dn;const Or=()=>dn||(dn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Je(t){if(L(t)){const e={};for(let n=0;n<t.length;n++){const r=t[n],o=ht(r)?Rr(r):Je(r);if(o)for(const i in o)e[i]=o[i]}return e}else if(ht(t)||K(t))return t}const Dr=/;(?![^(]*\))/g,Tr=/:([^]+)/,Ir=/\/\*[^]*?\*\//g;function Rr(t){const e={};return t.replace(Ir,"").split(Dr).forEach(n=>{if(n){const r=n.split(Tr);r.length>1&&(e[r[0].trim()]=r[1].trim())}}),e}function Lt(t){let e="";if(ht(t))e=t;else if(L(t))for(let n=0;n<t.length;n++){const r=Lt(t[n]);r&&(e+=r+" ")}else if(K(t))for(const n in t)t[n]&&(e+=n+" ");return e.trim()}const An=t=>!!(t&&t.__v_isRef===!0),Nn=t=>ht(t)?t:t==null?"":L(t)||K(t)&&(t.toString===Pn||!E(t.toString))?An(t)?Nn(t.value):JSON.stringify(t,zn,2):String(t),zn=(t,e)=>An(e)?zn(t,e.value):qt(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[r,o],i)=>(n[De(r,i)+" =>"]=o,n),{})}:In(e)?{[`Set(${e.size})`]:[...e.values()].map(n=>De(n))}:Rt(e)?De(e):K(e)&&!L(e)&&!Bn(e)?String(e):e,De=(t,e="")=>{var n;return Rt(t)?`Symbol(${(n=t.description)!=null?n:e})`:t};let j;const Te=new WeakSet;class Pr{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.nextEffect=void 0,this.cleanup=void 0,this.scheduler=void 0}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Te.has(this)&&(Te.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||(this.flags|=8,this.nextEffect=$t,$t=this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,hn(this),Ln(this);const e=j,n=dt;j=this,dt=!0;try{return this.fn()}finally{En(this),j=e,dt=n,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)Xe(e);this.deps=this.depsTail=void 0,hn(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Te.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Ee(this)&&this.run()}get dirty(){return Ee(this)}}let qn=0,$t;function Ge(){qn++}function We(){if(--qn>0)return;let t;for(;$t;){let e=$t;for($t=void 0;e;){const n=e.nextEffect;if(e.nextEffect=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(r){t||(t=r)}e=n}}if(t)throw t}function Ln(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function En(t){let e,n=t.depsTail;for(let r=n;r;r=r.prevDep)r.version===-1?(r===n&&(n=r.prevDep),Xe(r),Br(r)):e=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0;t.deps=e,t.depsTail=n}function Ee(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&Fn(e.dep.computed)===!1||e.dep.version!==e.version)return!0;return!!t._dirty}function Fn(t){if(t.flags&2)return!1;if(t.flags&4&&!(t.flags&16)||(t.flags&=-17,t.globalVersion===Gt))return;t.globalVersion=Gt;const e=t.dep;if(t.flags|=2,e.version>0&&!t.isSSR&&!Ee(t)){t.flags&=-3;return}const n=j,r=dt;j=t,dt=!0;try{Ln(t);const o=t.fn(t._value);(e.version===0||It(o,t._value))&&(t._value=o,e.version++)}catch(o){throw e.version++,o}finally{j=n,dt=r,En(t),t.flags&=-3}}function Xe(t){const{dep:e,prevSub:n,nextSub:r}=t;if(n&&(n.nextSub=r,t.prevSub=void 0),r&&(r.prevSub=n,t.nextSub=void 0),e.subs===t&&(e.subs=n),!e.subs&&e.computed){e.computed.flags&=-5;for(let o=e.computed.deps;o;o=o.nextDep)Xe(o)}}function Br(t){const{prevDep:e,nextDep:n}=t;e&&(e.nextDep=n,t.prevDep=void 0),n&&(n.prevDep=e,t.nextDep=void 0)}let dt=!0;const jn=[];function Zt(){jn.push(dt),dt=!1}function te(){const t=jn.pop();dt=t===void 0?!0:t}function hn(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const n=j;j=void 0;try{e()}finally{j=n}}}let Gt=0;class Un{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0}track(e){if(!j||!dt||j===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==j)n=this.activeLink={dep:this,sub:j,version:this.version,nextDep:void 0,prevDep:void 0,nextSub:void 0,prevSub:void 0,prevActiveLink:void 0},j.deps?(n.prevDep=j.depsTail,j.depsTail.nextDep=n,j.depsTail=n):j.deps=j.depsTail=n,j.flags&4&&Hn(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=j.depsTail,n.nextDep=void 0,j.depsTail.nextDep=n,j.depsTail=n,j.deps===n&&(j.deps=r)}return n}trigger(e){this.version++,Gt++,this.notify(e)}notify(e){Ge();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()}finally{We()}}}function Hn(t){const e=t.dep.computed;if(e&&!t.dep.subs){e.flags|=20;for(let r=e.deps;r;r=r.nextDep)Hn(r)}const n=t.dep.subs;n!==t&&(t.prevSub=n,n&&(n.nextSub=t)),t.dep.subs=t}const Fe=new WeakMap,Tt=Symbol(""),je=Symbol(""),Wt=Symbol("");function rt(t,e,n){if(dt&&j){let r=Fe.get(t);r||Fe.set(t,r=new Map);let o=r.get(n);o||r.set(n,o=new Un),o.track()}}function St(t,e,n,r,o,i){const s=Fe.get(t);if(!s){Gt++;return}let c=[];if(e==="clear")c=[...s.values()];else{const l=L(t),O=l&&$e(n);if(l&&n==="length"){const w=Number(r);
5s.forEach((f,D)=>{(D==="length"||D===Wt||!Rt(D)&&D>=w)&&c.push(f)})}else{const w=f=>f&&c.push(f);switch(n!==void 0&&w(s.get(n)),O&&w(s.get(Wt)),e){case"add":l?O&&w(s.get("length")):(w(s.get(Tt)),qt(t)&&w(s.get(je)));break;case"delete":l||(w(s.get(Tt)),qt(t)&&w(s.get(je)));break;case"set":qt(t)&&w(s.get(Tt));break}}}Ge();for(const l of c)l.trigger();We()}function At(t){const e=Q(t);return e===t?e:(rt(e,"iterate",Wt),gt(t)?e:e.map(it))}function Ke(t){return rt(t=Q(t),"iterate",Wt),t}const Ar={__proto__:null,[Symbol.iterator](){return Ie(this,Symbol.iterator,it)},concat(...t){return At(this).concat(...t.map(e=>L(e)?At(e):e))},entries(){return Ie(this,"entries",t=>(t[1]=it(t[1]),t))},every(t,e){return vt(this,"every",t,e,void 0,arguments)},filter(t,e){return vt(this,"filter",t,e,n=>n.map(it),arguments)},find(t,e){return vt(this,"find",t,e,it,arguments)},findIndex(t,e){return vt(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return vt(this,"findLast",t,e,it,arguments)},findLastIndex(t,e){return vt(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return vt(this,"forEach",t,e,void 0,arguments)},includes(...t){return Re(this,"includes",t)},indexOf(...t){return Re(this,"indexOf",t)},join(t){return At(this).join(t)},lastIndexOf(...t){return Re(this,"lastIndexOf",t)},map(t,e){return vt(this,"map",t,e,void 0,arguments)},pop(){return Yt(this,"pop")},push(...t){return Yt(this,"push",t)},reduce(t,...e){return gn(this,"reduce",t,e)},reduceRight(t,...e){return gn(this,"reduceRight",t,e)},shift(){return Yt(this,"shift")},some(t,e){return vt(this,"some",t,e,void 0,arguments)},splice(...t){return Yt(this,"splice",t)},toReversed(){return At(this).toReversed()},toSorted(t){return At(this).toSorted(t)},toSpliced(...t){return At(this).toSpliced(...t)},unshift(...t){return Yt(this,"unshift",t)},values(){return Ie(this,"values",it)}};function Ie(t,e,n){const r=Ke(t),o=r[e]();return r!==t&&!gt(t)&&(o._next=o.next,o.next=()=>{const i=o._next();return i.value&&(i.value=n(i.value)),i}),o}const Nr=Array.prototype;function vt(t,e,n,r,o,i){const s=Ke(t),c=s!==t&&!gt(t),l=s[e];if(l!==Nr[e]){const f=l.apply(t,i);return c?it(f):f}let O=n;s!==t&&(c?O=function(f,D){return n.call(this,it(f),D,t)}:n.length>2&&(O=function(f,D){return n.call(this,f,D,t)}));const w=l.call(s,O,r);return c&&o?o(w):w}function gn(t,e,n,r){const o=Ke(t);let i=n;return o!==t&&(gt(t)?n.length>3&&(i=function(s,c,l){return n.call(this,s,c,l,t)}):i=function(s,c,l){return n.call(this,s,it(c),l,t)}),o[e](i,...r)}function Re(t,e,n){const r=Q(t);rt(r,"iterate",Wt);const o=r[e](...n);return(o===-1||o===!1)&&en(n[0])?(n[0]=Q(n[0]),r[e](...n)):o}function Yt(t,e,n=[]){Zt(),Ge();const r=Q(t)[e].apply(t,n);return We(),te(),r}const zr=br("__proto__,__v_isRef,__isVue"),Qn=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(Rt));function qr(t){Rt(t)||(t=String(t));const e=Q(this);return rt(e,"has",t),e.hasOwnProperty(t)}class Yn{constructor(e=!1,n=!1){this._isReadonly=e,this._isShallow=n}get(e,n,r){const o=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return i;if(n==="__v_raw")return r===(o?i?Wr:Jn:i?Gr:$n).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(r)?e:void 0;const s=L(e);if(!o){let l;if(s&&(l=Ar[n]))return l;if(n==="hasOwnProperty")return qr}const c=Reflect.get(e,n,st(e)?e:r);return(Rt(n)?Qn.has(n):zr(n))||(o||rt(e,"get",n),i)?c:st(c)?s&&$e(n)?c:c.value:K(c)?o?Gn(c):tn(c):c}}class Lr extends Yn{constructor(e=!1){super(!1,e)}set(e,n,r,o){let i=e[n];if(!this._isShallow){const l=Ut(i);if(!gt(r)&&!Ut(r)&&(i=Q(i),r=Q(r)),!L(e)&&st(i)&&!st(r))return l?!1:(i.value=r,!0)}const s=L(e)&&$e(n)?Number(n)<e.length:Le(e,n),c=Reflect.set(e,n,r,st(e)?e:o);return e===Q(o)&&(s?It(r,i)&&St(e,"set",n,r):St(e,"add",n,r)),c}deleteProperty(e,n){const r=Le(e,n);e[n];const o=Reflect.deleteProperty(e,n);return o&&r&&St(e,"delete",n,void 0),o}has(e,n){const r=Reflect.has(e,n);return(!Rt(n)||!Qn.has(n))&&rt(e,"has",n),r}ownKeys(e){return rt(e,"iterate",L(e)?"length":Tt),Reflect.ownKeys(e)}}class Er extends Yn{constructor(e=!1){super(!0,e)}set(e,n){return!0}deleteProperty(e,n){return!0}}const Fr=new Lr,jr=new Er,Ze=t=>t,Se=t=>Reflect.getPrototypeOf(t);function ne(t,e,n=!1,r=!1){t=t.__v_raw;const o=Q(t),i=Q(e);n||(It(e,i)&&rt(o,"get",e),rt(o,"get",i));const{has:s}=Se(o),c=r?Ze:n?nn:it;if(s.call(o,e))return c(t.get(e));if(s.call(o,i))return c(t.get(i));t!==o&&t.get(e)}function re(t,e=!1){const n=this.__v_raw,r=Q(n),o=Q(t);return e||(It(t,o)&&rt(r,"has",t),rt(r,"has",o)),t===o?n.has(t):n.has(t)||n.has(o)}function oe(t,e=!1){return t=t.__v_raw,!e&&rt(Q(t),"iterate",Tt),Reflect.get(t,"size",t)}function pn(t,e=!1){!e&&!gt(t)&&!Ut(t)&&(t=Q(t));const n=Q(this);return Se(n).has.call(n,t)||(n.add(t),St(n,"add",t,t)),this}function vn(t,e,n=!1){!n&&!gt(e)&&!Ut(e)&&(e=Q(e));const r=Q(this),{has:o,get:i}=Se(r);let s=o.call(r,t);s||(t=Q(t),s=o.call(r,t));const c=i.call(r,t);return r.set(t,e),s?It(e,c)&&St(r,"set",t,e):St(r,"add",t,e),this}function yn(t){const e=Q(this),{has:n,get:r}=Se(e);let o=n.call(e,t);o||(t=Q(t),o=n.call(e,t)),r&&r.call(e,t);const i=e.delete(t);return o&&St(e,"delete",t,void 0),i}function mn(){const t=Q(this),e=t.size!==0,n=t.clear();return e&&St(t,"clear",void 0,void 0),n}function ie(t,e){return function(n,r){const o=this,i=o.__v_raw,s=Q(i),c=e?Ze:t?nn:it;
vendor: 1,801 bytes, line 5
5return!t&&rt(s,"iterate",Tt),i.forEach((l,O)=>n.call(r,c(l),c(O),o))}}function se(t,e,n){return function(...r){const o=this.__v_raw,i=Q(o),s=qt(i),c=t==="entries"||t===Symbol.iterator&&s,l=t==="keys"&&s,O=o[t](...r),w=n?Ze:e?nn:it;return!e&&rt(i,"iterate",l?je:Tt),{next(){const{value:f,done:D}=O.next();return D?{value:f,done:D}:{value:c?[w(f[0]),w(f[1])]:w(f),done:D}},[Symbol.iterator](){return this}}}}function bt(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function Ur(){const t={get(o){return ne(this,o)},get size(){return oe(this)},has:re,add:pn,set:vn,delete:yn,clear:mn,forEach:ie(!1,!1)},e={get(o){return ne(this,o,!1,!0)},get size(){return oe(this)},has:re,add(o){return pn.call(this,o,!0)},set(o,i){return vn.call(this,o,i,!0)},delete:yn,clear:mn,forEach:ie(!1,!0)},n={get(o){return ne(this,o,!0)},get size(){return oe(this,!0)},has(o){return re.call(this,o,!0)},add:bt("add"),set:bt("set"),delete:bt("delete"),clear:bt("clear"),forEach:ie(!0,!1)},r={get(o){return ne(this,o,!0,!0)},get size(){return oe(this,!0)},has(o){return re.call(this,o,!0)},add:bt("add"),set:bt("set"),delete:bt("delete"),clear:bt("clear"),forEach:ie(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{t[o]=se(o,!1,!1),n[o]=se(o,!0,!1),e[o]=se(o,!1,!0),r[o]=se(o,!0,!0)}),[t,n,e,r]}const[Hr,Qr,Yr,Vr]=Ur();function Vn(t,e){const n=e?t?Vr:Yr:t?Qr:Hr;return(r,o,i)=>o==="__v_isReactive"?!t:o==="__v_isReadonly"?t:o==="__v_raw"?r:Reflect.get(Le(n,o)&&o in r?n:r,o,i)}const $r={get:Vn(!1,!1)},Jr={get:Vn(!0,!1)},$n=new WeakMap,Gr=new WeakMap,Jn=new WeakMap,Wr=new WeakMap;function Xr(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Kr(t){return t.__v_skip||!Object.isExtensible(t)?0:Xr(kr
vendor: 8,398 bytes, line 5
5(t))}function tn(t){return Ut(t)?t:Wn(t,!1,Fr,$r,$n)}function Gn(t){return Wn(t,!0,jr,Jr,Jn)}function Wn(t,e,n,r,o){if(!K(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const i=o.get(t);if(i)return i;const s=Kr(t);if(s===0)return t;const c=new Proxy(t,s===2?r:n);return o.set(t,c),c}function Jt(t){return Ut(t)?Jt(t.__v_raw):!!(t&&t.__v_isReactive)}function Ut(t){return!!(t&&t.__v_isReadonly)}function gt(t){return!!(t&&t.__v_isShallow)}function en(t){return t?!!t.__v_raw:!1}function Q(t){const e=t&&t.__v_raw;return e?Q(e):t}const it=t=>K(t)?tn(t):t,nn=t=>K(t)?Gn(t):t;function st(t){return t?t.__v_isRef===!0:!1}function ue(t){return st(t)?t.value:t}const Zr={get:(t,e,n)=>e==="__v_raw"?t:ue(Reflect.get(t,e,n)),set:(t,e,n,r)=>{const o=t[e];return st(o)&&!st(n)?(o.value=n,!0):Reflect.set(t,e,n,r)}};function to(t){return Jt(t)?t:new Proxy(t,Zr)}class eo{constructor(e,n,r){this.fn=e,this.setter=n,this._value=void 0,this.dep=new Un(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Gt-1,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){j!==this&&(this.flags|=16,this.dep.notify())}get value(){const e=this.dep.track();return Fn(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function no(t,e,n=!1){let r,o;return E(t)?r=t:(r=t.get,o=t.set),new eo(r,o,n)}const ae={},ge=new WeakMap;let Dt;function ro(t,e=!1,n=Dt){if(n){let r=ge.get(n);r||ge.set(n,r=[]),r.push(t)}}function oo(t,e,n=Ve){const{immediate:r,deep:o,once:i,scheduler:s,augmentJob:c,call:l}=n,O=q=>o?q:gt(q)||o===!1||o===0?xt(q,1):xt(q);let w,f,D,A,F=!1,Y=!1;if(st(t)?(f=()=>t.value,F=gt(t)):Jt(t)?(f=()=>O(t),F=!0):L(t)?(Y=!0,F=t.some(q=>Jt(q)||gt(q)),f=()=>t.map(q=>{if(st(q))return q.value;if(Jt(q))return O(q);if(E(q))return l?l(q,2):q()})):E(t)?e?f=l?()=>l(t,2):t:f=()=>{if(D){Zt();try{D()}finally{te()}}const q=Dt;Dt=w;try{return l?l(t,3,[A]):t(A)}finally{Dt=q}}:f=mt,e&&o){const q=f,G=o===!0?1/0:o;f=()=>xt(q(),G)}const V=()=>{w.stop()};if(i)if(e){const q=e;e=(...G)=>{q(...G),V()}}else{const q=f;f=()=>{q(),V()}}let $=Y?new Array(t.length).fill(ae):ae;const J=q=>{if(!(!(w.flags&1)||!w.dirty&&!q))if(e){const G=w.run();if(o||F||(Y?G.some((v,C)=>It(v,$[C])):It(G,$))){D&&D();const v=Dt;Dt=w;try{const C=[G,$===ae?void 0:Y&&$[0]===ae?[]:$,A];l?l(e,3,C):e(...C),$=G}finally{Dt=v}}}else w.run()};return c&&c(J),w=new Pr(f),w.scheduler=s?()=>s(J,!1):J,A=q=>ro(q,!1,w),D=w.onStop=()=>{const q=ge.get(w);if(q){if(l)l(q,4);else for(const G of q)G();ge.delete(w)}},e?r?J(!0):$=w.run():s?s(J.bind(null,!0),!0):w.run(),V.pause=w.pause.bind(w),V.resume=w.resume.bind(w),V.stop=V,V}function xt(t,e=1/0,n){if(e<=0||!K(t)||t.__v_skip||(n=n||new Set,n.has(t)))return t;if(n.add(t),e--,st(t))xt(t.value,e,n);else if(L(t))for(let r=0;r<t.length;r++)xt(t[r],e,n);else if(In(t)||qt(t))t.forEach(r=>{xt(r,e,n)});else if(Bn(t)){for(const r in t)xt(t[r],e,n);for(const r of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,r)&&xt(t[r],e,n)}return t}function rn(t,e,n,r){try{return r?t(...r):t()}catch(o){on(o,e,n)}}function Me(t,e,n,r){if(E(t)){const o=rn(t,e,n,r);return o&&Rn(o)&&o.catch(i=>{on(i,e,n)}),o}if(L(t)){const o=[];for(let i=0;i<t.length;i++)o.push(Me(t[i],e,n,r));return o}}function on(t,e,n,r=!0){const o=e?e.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:s}=e&&e.appContext.config||Ve;if(e){let c=e.parent;const l=e.proxy,O=`https://vuejs.org/error-reference/#runtime-${n}`;for(;c;){const w=c.ec;if(w){for(let f=0;f<w.length;f++)if(w[f](t,l,O)===!1)return}c=c.parent}if(i){Zt(),rn(i,null,10,[t,l,O]),te();return}}io(t,n,o,r,s)}function io(t,e,n,r=!0,o=!1){{if(o)throw t;console.error(t)}}let pe=!1,Ue=!1;const lt=[];let yt=0;const Et=[];let wt=null,zt=0;const so=Promise.resolve();function ao(t){let e=pe?yt+1:0,n=lt.length;for(;e<n;){const r=e+n>>>1,o=lt[r],i=Xt(o);i<t||i===t&&o.flags&2?e=r+1:n=r}return e}function co(t){if(!(t.flags&1)){const e=Xt(t),n=lt[lt.length-1];!n||!(t.flags&2)&&e>=Xt(n)?lt.push(t):lt.splice(ao(e),0,t),t.flags|=1,Xn()}}function Xn(){!pe&&!Ue&&(Ue=!0,so.then(Kn))}function He(t){L(t)?Et.push(...t):wt&&t.id===-1?wt.splice(zt+1,0,t):t.flags&1||(Et.push(t),t.flags|=1),Xn()}function lo(t){if(Et.length){const e=[...new Set(Et)].sort((n,r)=>Xt(n)-Xt(r));if(Et.length=0,wt){wt.push(...e);return}for(wt=e,zt=0;zt<wt.length;zt++){const n=wt[zt];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}wt=null,zt=0}}const Xt=t=>t.id==null?t.flags&2?-1:1/0:t.id;function Kn(t){Ue=!1,pe=!0;try{for(yt=0;yt<lt.length;yt++){const e=lt[yt];e&&!(e.flags&8)&&(e.flags&4&&(e.flags&=-2),rn(e,e.i,e.i?15:14),e.flags&=-2)}}finally{for(;yt<lt.length;yt++){const e=lt[yt];e&&(e.flags&=-2)}yt=0,lt.length=0,lo(),pe=!1,(lt.length||Et.length)&&Kn()}}let ft=null,Zn=null;function _n(t){const e=ft;return ft=t,Zn=t&&t.type.__scopeId||null,e}function uo(t,e=ft,n){if(!e||t._n)return t;const r=(...o)=>{r._d&&kn(-1);const i=_n(e);let s;try{s=t(...o)}finally{_n(i),r._d&&kn(1)}return s};return r._n=!0,r._c=!0,r._d=!0,r}const fo=t=>t.__isTeleport;function tr(t,e){t.shapeFlag&6&&t.component?(t.transition=e,tr(t.component.subTree,e)):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}/*! #__NO_SIDE_EFFECTS__ */function er(t,e){return E(t)?kt({name:t.name},e,{setup:t}):t}function ho(t){t.ids=[t.ids[0]+t.ids[2]+++"-",0,0]}const go=t=>t.type.__isKeepAlive;function po(t,e){nr(t,"a",e)}function vo(t,e){nr(t,"da",e)}function nr(t,e,n=Z){const r=t.__wdc||(t.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return t()});if(ke(e,r,n),n){let o=n.parent;for(;o&&o.parent;)go(o.parent.vnode)&&yo(r,e,n,o),o=o.parent}}function yo(t,e,n,r){const o=ke(e,t,r,!0);rr(()=>{Sr(r[e],o)},n)}function ke(t,e,n=Z,r=!1){if(n){const o=n[t]||(n[t]=[]),i=e.__weh||(e.__weh=(...s)=>{Zt();const c=be(n),l=Me(e,n,t,s);return c(),te(),l});return r?o.unshift(i):o.push(i),i}}const _t=t=>(e,n=Z)=>{(!Ce||t==="sp")&&ke(t,(...r)=>e(...r),n)},mo=_t("bm"),_o=_t("m"),bo=_t("bu"),wo=_t("u"),xo=_t("bum"),rr=_t("um"),So=_t("sp"),Mo=_t("rtg"),ko=_t("rtc");function Co(t,e=Z){ke("ec",t,e)}const Oo=Symbol.for("v-ndc");function bn(t){return L(t)?t.reduce((e,n)=>(e[n]=null,e),{}):t}function Do(t){const e=ii();let n=t();return si(),Rn(n)&&(n=n.catch(r=>{throw be(e),r})),[n,()=>be(e)]}function To(t){const e=Ro(t),n=t.proxy,r=t.ctx;e.beforeCreate&&wn(e.beforeCreate,t,"bc");const{data:o,computed:i,methods:s,watch:c,provide:l,inject:O,created:w,beforeMount:f,mounted:D,beforeUpdate:A,updated:F,activated:Y,deactivated:V,beforeDestroy:$,beforeUnmount:J,destroyed:q,unmounted:G,render:v,renderTracked:C,renderTriggered:m,errorCaptured:M,serverPrefetch:d,expose:g,inheritAttrs:u,components:a,directives:x,filters:_}=e;if(O&&Io(O,r,null),s)for(const I in s){const B=s[I];E(B)&&(r[I]=B.bind(n))}if(o){const I=o.call(n,n);K(I)&&(t.data=tn(I))}if(i)for(const I in i){const B=i[I],U=E(B)?B.bind(n,n):E(B.get)?B.get.bind(n,n):mt,X=!E(B)&&E(B.set)?B.set.bind(n):mt,ot=ui({get:U,set:X});Object.defineProperty(r,I,{enumerable:!0,configurable:!0,get:()=>ot.value,set:ut=>ot.value=ut})}if(c)for(const I in c)or(c[I],r,n,I);if(l){const I=E(l)?l.call(n):l;Reflect.ownKeys(I).forEach(B=>{zo(B,I[B])})}w&&wn(w,t,"c");function R(I,B){L(B)?B.forEach(U=>I(U.bind(n))):B&&I(B.bind(n))}if(R(mo,f),R(_o,D),R(bo,A),R(wo,F),R(po,Y),R(vo,V),R(Co,M),R(ko,C),R(Mo,m),R(xo,J),R(rr,G),R(So,d),L(g))if(g.length){const I=t.exposed||(t.exposed={});g.forEach(B=>{Object.defineProperty(I,B,{get:()=>n[B],set:U=>n[B]=U})})}else t.exposed||(t.exposed={});v&&t.render===mt&&(t.render=v),u!=null&&(t.inheritAttrs=u),a&&(t.components=a),x&&(t.directives=x),d&&ho(t)}function Io(t,e,n=mt){L(t)&&(t=Qe(t));for(const r in t){const o=t[r];let i;K(o)?"default"in o?i=fe(o.from||r,o.default,!0):i=fe(o.from||r):i=fe(o),st(i)?Object.defineProperty(e,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:s=>i.value=s}):e[r]=i}}function wn(t,e,n){Me(L(t)?t.map(r=>r.bind(e.proxy)):t.bind(e.proxy),e,n)}function or(t,e,n,r){let o=r.includes(".")?Uo(n,r):()=>n[r];if(ht(t)){const i=e[t];E(i)&&Pe(o,i)}else if(E(t))Pe(o,t.bind(n));else if(K(t))if(L(t))t.forEach(i=>or(i,e,n,r));else{const i=E(t.handler)?t.handler.bind(n):e[t.handler];E(i)&&Pe(o,i,t)}}function Ro(t){const e=t.type,{mixins:n,extends:r}=e,{mixins:o,optionsCache:i,config:{optionMergeStrategies:s}}=t.appContext,c=i.get(e);let l;
5return c?l=c:!o.length&&!n&&!r?l=e:(l={},o.length&&o.forEach(O=>ve(l,O,s,!0)),ve(l,e,s)),K(e)&&i.set(e,l),l}function ve(t,e,n,r=!1){const{mixins:o,extends:i}=e;i&&ve(t,i,n,!0),o&&o.forEach(s=>ve(t,s,n,!0));for(const s in e)if(!(r&&s==="expose")){const c=Po[s]||n&&n[s];t[s]=c?c(t[s],e[s]):e[s]}return t}const Po={data:xn,props:Sn,emits:Sn,methods:Vt,computed:Vt,beforeCreate:tt,created:tt,beforeMount:tt,mounted:tt,beforeUpdate:tt,updated:tt,beforeDestroy:tt,beforeUnmount:tt,destroyed:tt,unmounted:tt,activated:tt,deactivated:tt,errorCaptured:tt,serverPrefetch:tt,components:Vt,directives:Vt,watch:Ao,provide:xn,inject:Bo};function xn(t,e){return e?t?function(){return kt(E(t)?t.call(this,this):t,E(e)?e.call(this,this):e)}:e:t}function Bo(t,e){return Vt(Qe(t),Qe(e))}function Qe(t){if(L(t)){const e={};for(let n=0;n<t.length;n++)e[t[n]]=t[n];return e}return t}function tt(t,e){return t?[...new Set([].concat(t,e))]:e}function Vt(t,e){return t?kt(Object.create(null),t,e):e}function Sn(t,e){return t?L(t)&&L(e)?[...new Set([...t,...e])]:kt(Object.create(null),bn(t),bn(e??{})):e}function Ao(t,e){if(!t)return e;if(!e)return t;const n=kt(Object.create(null),t);for(const r in e)n[r]=tt(t[r],e[r]);return n}let No=null;function zo(t,e){if(Z){let n=Z.provides;const r=Z.parent&&Z.parent.provides;r===n&&(n=Z.provides=Object.create(r)),n[t]=e}}function fe(t,e,n=!1){const r=Z||ft;if(r||No){const o=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(o&&t in o)return o[t];if(arguments.length>1)return n&&E(e)?e.call(r&&r.proxy):e}}const qo={},ir=t=>Object.getPrototypeOf(t)===qo,Lo=Xo,Eo=Symbol.for("v-scx"),Fo=()=>fe(Eo);function Pe(t,e,n){return jo(t,e,n)}function jo(t,e,n=Ve){const{immediate:r,deep:o,flush:i,once:s}=n,c=kt({},n);let l;if(Ce)if(i==="sync"){const D=Fo();l=D.__watcherHandles||(D.__watcherHandles=[])}else if(!e||r)c.once=!0;else return{stop:mt,resume:mt,pause:mt};const O=Z;c.call=(D,A,F)=>Me(D,O,A,F);let w=!1;
vendor: 5,896 bytes, line 5
5i==="post"?c.scheduler=D=>{Lo(D,O&&O.suspense)}:i!=="sync"&&(w=!0,c.scheduler=(D,A)=>{A?D():co(D)}),c.augmentJob=D=>{e&&(D.flags|=4),w&&(D.flags|=2,O&&(D.id=O.uid,D.i=O))};const f=oo(t,e,c);return l&&l.push(f),f}function Uo(t,e){const n=e.split(".");return()=>{let r=t;for(let o=0;o<n.length&&r;o++)r=r[n[o]];return r}}function Ho(t,e=!0){let n;for(let r=0;r<t.length;r++){const o=t[r];if(dr(o)){if(o.type!==Ht||o.children==="v-if"){if(n)return;n=o}}else return}return n}function sr({vnode:t,parent:e},n){for(;e;){const r=e.subTree;if(r.suspense&&r.suspense.activeBranch===t&&(r.el=t.el),r===t)(t=e.vnode).el=n,e=e.parent;else break}}const Qo=t=>t.__isSuspense;let Ye=0;const Yo={name:"Suspense",__isSuspense:!0,process(t,e,n,r,o,i,s,c,l,O){if(t==null)$o(e,n,r,o,i,s,c,l,O);else{if(i&&i.deps>0&&!t.suspense.isInFallback){e.suspense=t.suspense,e.suspense.vnode=e,e.el=t.el;return}Jo(t,e,n,r,o,s,c,l,O)}},hydrate:Go,normalize:Wo},Vo=Yo;function Kt(t,e){const n=t.props&&t.props[e];E(n)&&n()}function $o(t,e,n,r,o,i,s,c,l){const{p:O,o:{createElement:w}}=l,f=w("div"),D=t.suspense=ar(t,o,r,e,f,n,i,s,c,l);O(null,D.pendingBranch=t.ssContent,f,null,r,D,i,s),D.deps>0?(Kt(t,"onPending"),Kt(t,"onFallback"),O(null,t.ssFallback,e,n,r,null,i,s),Ft(D,t.ssFallback)):D.resolve(!1,!0)}function Jo(t,e,n,r,o,i,s,c,{p:l,um:O,o:{createElement:w}}){const f=e.suspense=t.suspense;f.vnode=e,e.el=t.el;const D=e.ssContent,A=e.ssFallback,{activeBranch:F,pendingBranch:Y,isInFallback:V,isHydrating:$}=f;if(Y)f.pendingBranch=D,Ae(D,Y)?(l(Y,D,f.hiddenContainer,null,o,f,i,s,c),f.deps<=0?f.resolve():V&&($||(l(F,A,n,r,o,null,i,s,c),Ft(f,A)))):(f.pendingId=Ye++,$?(f.isHydrating=!1,f.activeBranch=Y):O(Y,o,f),f.deps=0,f.effects.length=0,f.hiddenContainer=w("div"),V?(l(null,D,f.hiddenContainer,null,o,f,i,s,c),f.deps<=0?f.resolve():(l(F,A,n,r,o,null,i,s,c),Ft(f,A))):F&&Ae(D,F)?(l(F,D,n,r,o,f,i,s,c),f.resolve(!0)):(l(null,D,f.hiddenContainer,null,o,f,i,s,c),f.deps<=0&&f.resolve()));else if(F&&Ae(D,F))l(F,D,n,r,o,f,i,s,c),Ft(f,D);else if(Kt(e,"onPending"),f.pendingBranch=D,D.shapeFlag&512?f.pendingId=D.component.suspenseId:f.pendingId=Ye++,l(null,D,f.hiddenContainer,null,o,f,i,s,c),f.deps<=0)f.resolve();else{const{timeout:J,pendingId:q}=f;J>0?setTimeout(()=>{f.pendingId===q&&f.fallback(A)},J):J===0&&f.fallback(A)}}function ar(t,e,n,r,o,i,s,c,l,O,w=!1){const{p:f,m:D,um:A,n:F,o:{parentNode:Y,remove:V}}=O;let $;const J=Ko(t);J&&e&&e.pendingBranch&&($=e.pendingId,e.deps++);const q=t.props?Cr(t.props.timeout):void 0,G=i,v={vnode:t,parent:e,parentComponent:n,namespace:s,container:r,hiddenContainer:o,deps:0,pendingId:Ye++,timeout:typeof q=="number"?q:-1,activeBranch:null,pendingBranch:null,isInFallback:!w,isHydrating:w,isUnmounted:!1,effects:[],resolve(C=!1,m=!1){const{vnode:M,activeBranch:d,pendingBranch:g,pendingId:u,effects:a,parentComponent:x,container:_}=v;let S=!1;v.isHydrating?v.isHydrating=!1:C||(S=d&&g.transition&&g.transition.mode==="out-in",S&&(d.transition.afterLeave=()=>{u===v.pendingId&&(D(g,_,i===G?F(d):i,0),He(a))}),d&&(Y(d.el)===_&&(i=F(d)),A(d,x,v,!0)),S||D(g,_,i,0)),Ft(v,g),v.pendingBranch=null,v.isInFallback=!1;let R=v.parent,I=!1;for(;R;){if(R.pendingBranch){R.effects.push(...a),I=!0;break}R=R.parent}!I&&!S&&He(a),v.effects=[],J&&e&&e.pendingBranch&&$===e.pendingId&&(e.deps--,e.deps===0&&!m&&e.resolve()),Kt(M,"onResolve")},fallback(C){if(!v.pendingBranch)return;const{vnode:m,activeBranch:M,parentComponent:d,container:g,namespace:u}=v;Kt(m,"onFallback");const a=F(M),x=()=>{v.isInFallback&&(f(null,C,g,a,d,null,u,c,l),Ft(v,C))},_=C.transition&&C.transition.mode==="out-in";_&&(M.transition.afterLeave=x),v.isInFallback=!0,A(M,d,null,!0),_||x()},move(C,m,M){v.activeBranch&&D(v.activeBranch,C,m,M),v.container=C},next(){return v.activeBranch&&F(v.activeBranch)},registerDep(C,m,M){const d=!!v.pendingBranch;d&&v.deps++;const g=C.vnode.el;C.asyncDep.catch(u=>{on(u,C,0)}).then(u=>{if(C.isUnmounted||v.isUnmounted||v.pendingId!==C.suspenseId)return;C.asyncResolved=!0;const{vnode:a}=C;ai(C,u),g&&(a.el=g);const x=!g&&C.subTree.el;m(C,a,Y(g||C.subTree.el),g?null:F(C.subTree),v,s,M),x&&V(x),sr(C,a.el),d&&--v.deps===0&&v.resolve()})},unmount(C,m){v.isUnmounted=!0,v.activeBranch&&A(v.activeBranch,n,C,m),v.pendingBranch&&A(v.pendingBranch,n,C,m)}};return v}function Go(t,e,n,r,o,i,s,c,l){const O=e.suspense=ar(e,r,n,t.parentNode,document.createElement("div"),null,o,i,s,c,!0),w=l(t,O.pendingBranch=e.ssContent,n,O,i,s);return O.deps===0&&O.resolve(!1,!0),w}function Wo(t){const{shapeFlag:e,children:n}=t,r=e&32;t.ssContent=Mn(r?n.default:n),t.ssFallback=r?Mn(n.fallback):Mt(Ht)}function Mn(t){let e;if(E(t)){const n=Qt&&t._c;n&&(t._d=!1,jt()),t=t(),n&&(t._d=!0,e=nt,lr())}return L(t)&&(t=Ho(t)),t=ni(t),e&&!t.dynamicChildren&&(t.dynamicChildren=e.filter(n=>n!==t)),t}function Xo(t,e){e&&e.pendingBranch?L(t)?e.effects.push(...t):e.effects.push(t):He(t)}function Ft(t,e){t.activeBranch=e;const{vnode:n,parentComponent:r}=t;let o=e.el;for(;!o&&e.component;)e=e.component.subTree,o=e.el;n.el=o,r&&r.subTree===n&&(r.vnode.el=o,sr(r,o))}function Ko(t){const e=t.props&&t.props.suspensible;return e!=null&&e!==!1}const sn=Symbol.for("v-fgt"),cr=Symbol.for("v-txt"),Ht=Symbol.for("v-cmt"),de=[];let nt=null;function jt(t=!1){de.push(nt=t?null:[])}function lr(){de.pop(),nt=de[de.length-1]||null}let Qt=1;function kn(t){Qt+=t,t<0&&nt&&(nt.hasOnce=!0)}function ur(t){return t.dynamicChildren=Qt>0?nt||wr:null,lr(),Qt>0&&nt&&nt.push(t),t}function Be(t,e,n,r,o,i){return ur(ye(t,e,n,r,o,i,!0))}function fr(t,e,n,r,o){return ur(Mt(t,e,n,r,o,!0))}function dr(t){return t?t.__v_isVNode===!0:!1}function Ae(t,e){return t.type===e.type&&t.key===e.key}const hr=({key:t})=>t??null,he=({ref:t,ref_key:e,ref_for:n})=>(typeof t=="number"&&(t=""+t),t!=null?ht(t)||st(t)||E(t)?{i:ft,r:t,k:e,f:!!n}:t:null);function ye(t,e=null,n=null,r=0,o=null,i=t===sn?0:1,s=!1,c=!1){const l={__v_isVNode:!0,__v_skip:!0,t
5ype:t,props:e,key:e&&hr(e),ref:e&&he(e),scopeId:Zn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:ft};return c?(an(l,n),i&128&&t.normalize(l)):n&&(l.shapeFlag|=ht(n)?8:16),Qt>0&&!s&&nt&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&nt.push(l),l}const Mt=Zo;function Zo(t,e=null,n=null,r=0,o=null,i=!1){if((!t||t===Oo)&&(t=Ht),dr(t)){const c=me(t,e,!0);return n&&an(c,n),Qt>0&&!i&&nt&&(c.shapeFlag&6?nt[nt.indexOf(t)]=c:nt.push(c)),c.patchFlag=-2,c}if(li(t)&&(t=t.__vccOpts),e){e=ti(e);let{class:c,style:l}=e;c&&!ht(c)&&(e.class=Lt(c)),K(l)&&(en(l)&&!L(l)&&(l=kt({},l)),e.style=Je(l))}const s=ht(t)?1:Qo(t)?128:fo(t)?64:K(t)?4:E(t)?2:0;return ye(t,e,n,r,o,s,i,!0)}function ti(t){return t?en(t)||ir(t)?kt({},t):t:null}function me(t,e,n=!1,r=!1){const{props:o,ref:i,patchFlag:s,children:c,transition:l}=t,O=e?oi(o||{},e):o,w={__v_isVNode:!0,__v_skip:!0,type:t.type,props:O,key:O&&hr(O),ref:e&&e.ref?n&&i?L(i)?i.concat(he(e)):[i,he(e)]:he(e):i,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:c,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==sn?s===-1?16:s|16:s,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:l,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&me(t.ssContent),ssFallback:t.ssFallback&&me(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return l&&r&&tr(w,l.clone(w)),w}function ei(t=" ",e=0){return Mt(cr,null,t,e)}function Cn(t="",e=!1){return e?(jt(),fr(Ht,null,t)):Mt(Ht,null,t)}function ni(t){return t==null||typeof t=="boolean"?Mt(Ht):L(t)?Mt(sn,null,t.slice()):typeof t=="object"?ri(t):Mt(cr,null,String(t))}function ri(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:me(t)}function an(t,e){let n=0;const{shapeFlag:r}=t;if(e==null)e=null;else if(L(e))n=16;else if(typeof e=="object")if(r&65){const o=e.default;o&&(o._c&&(o._d=!1),an(t,o()),o._c&&(o._d=!0));return}else{n=32;const o=e._;!o&&!ir(e)?e._ctx=ft:o===3&&ft&&(ft.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else E(e)?(e={default:e,_ctx:ft},n=32):(e=String(e),r&64?(n=16,e=[ei(e)]):n=8);t.children=e,t.shapeFlag|=n}function oi(...t){const e={};for(let n=0;n<t.length;n++){const r=t[n];for(const o in r)if(o==="class")e.class!==r.class&&(e.class=Lt([e.class,r.class]));else if(o==="style")e.style=Je([e.style,r.style]);else if(xr(o)){const i=e[o],s=r[o];s&&i!==s&&!(L(i)&&i.includes(s))&&(e[o]=i?[].concat(i,s):s)}else o!==""&&(e[o]=r[o])}return e}let Z=null;const ii=()=>Z||ft;let _e;{const t=Or(),e=(n,r)=>{let o;return(o=t[n])||(o=t[n]=[]),o.push(r),i=>{o.length>1?o.forEach(s=>s(i)):o[0](i)}};_e=e("__VUE_INSTANCE_SETTERS__",n=>Z=n),e("__VUE_SSR_SETTERS__",n=>Ce=n)}const be=t=>{const e=Z;return _e(t),t.scope.on(),()=>{t.scope.off(),_e(e)}},si=()=>{Z&&Z.scope.off(),_e(null)};let Ce=!1;function ai(t,e,n){E(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:K(e)&&(t.setupState=to(e)),ci(t)}function ci(t,e,n){const r=t.type;t.render||(t.render=r.render||mt);{const o=be(t);Zt();try{To(t)}finally{te(),o()}}}function li(t){return E(t)&&"__vccOpts"in t}const ui=(t,e)=>no(t,e,Ce),Ne={numeric:"Numeric",alphanumeric:"Alphanumeric",byte:"Byte"};function fi(t){switch(!0){case/^[0-9]*$/.test(t):return Ne.numeric;case/^[0-9A-Z $%*+\-./:]*$/.test(t):return Ne.alphanumeric;default:return Ne.byte}}const ce=t=>!!t&&typeof t=="object"&&!Array.isArray(t);function we(t,...e){if(!e.length)return t;const n=e.shift();return n===void 0||!ce(t)||!ce(n)?t:(t={...t},Object.keys(n).forEach(r=>{const o=t[r],i=n[r];Array.isArray(o)&&Array.isArray(i)?t[r]=i:ce(o)&&ce(i)?t[r]=we(Object.assign({},o),i):t[r]=i}),we(t,...e))}function di(t,e){const n=document.createElement("a");n.download=e,n.href=t,document.body.appendChild(n),n.click(),document.body.removeChild(n)}function hi({originalHeight:t,originalWidth:e,maxHiddenDots:n,maxHiddenAxisDots:r,dotSize:o}){const i={x:0,y:0},s={x:0,y:0};if(t<=0||e<=0||n<=0||o<=0)return{height:0,width:0,hideYDots:0,hideXDots:0}
5;const c=t/e;return i.x=Math.floor(Math.sqrt(n/c)),i.x<=0&&(i.x=1),r&&r<i.x&&(i.x=r),i.x%2===0&&i.x--,s.x=i.x*o,i.y=1+2*Math.ceil((i.x*c-1)/2),s.y=Math.round(s.x*c),(i.y*i.x>n||r&&r<i.y)&&(r&&r<i.y?(i.y=r,i.y%2===0&&i.x--):i.y-=2,s.y=i.y*o,i.x=1+2*Math.ceil((i.y/c-1)/2),s.x=Math.round(s.y/c)),{height:s.y,width:s.x,hideYDots:i.y,hideXDots:i.x}}const gi={L:.07,M:.15,Q:.25,H:.3},Nt={dots:"dots",rounded:"rounded",classy:"classy",classyRounded:"classy-rounded",square:"square",extraRounded:"extra-rounded"};class ze{constructor({context:e,type:n}){et(this,"_context"),et(this,"_type"),this._context=e,this._type=n}draw(e,n,r,o){const i=this._context,s=this._type;let c;switch(s){case Nt.dots:c=this._drawDot;break;case Nt.classy:c=this._drawClassy;break;case Nt.classyRounded:c=this._drawClassyRounded;break;case Nt.rounded:c=this._drawRounded;break;case Nt.extraRounded:c=this._drawExtraRounded;break;case Nt.square:default:c=this._drawSquare}c.call(this,{x:e,y:n,size:r,context:i,getNeighbor:o})}_rotateFigure({x:e,y:n,size:r,context:o,rotation:i,draw:s}){const c=e+r/2,l=n+r/2;o.translate(c,l),i&&o.rotate(i),s(),o.closePath(),i&&o.rotate(-i),o.translate(-c,-l)}_basicDot(e){const{size:n,context:r}=e;this._rotateFigure({...e,draw:()=>{r.moveTo(0,0),r.arc(0,0,n/2,0,Math.PI*2)}})}_basicSquare(e){const{size:n,context:r}=e;this._rotateFigure({...e,draw:()=>{r.moveTo(0,0),r.rect(-n/2,-n/2,n,n)}})}_basicSideRounded(e){const{size:n,context:r}=e;this._rotateFigure({...e,draw:()=>{r.moveTo(0,0),r.arc(0,0,n/2,-Math.PI/2,Math.PI/2),r.lineTo(-n/2,n/2),r.lineTo(-n/2,-n/2),r.lineTo(0,-n/2)}})}_basicCornerRounded(e){const{size:n,context:r}=e;this._rotateFigure({...e,draw:()=>{r.moveTo(0,0),r.arc(0,0,n/2,-Math.PI/2,0),r.lineTo(n/2,n/2),r.lineTo(-n/2,n/2),r.lineTo(-n/2,-n/2),r.lineTo(0,-n/2)}})}_basicCornerExtraRounded(e){const{size:n,context:r}=e;this._rotateFigure({...e,draw:()=>{r.moveTo(0,0),r.arc(-n/2,n/2,n,-Math.PI/2,0),r.lineTo(-n/2,n/2),r.lineTo(-n/2,-n/2)}})}_basicCornersRounded(e){const{size:n,context:r}=e;this._rotateFigure({...e,draw:()=>{r.moveTo(0,0),r.arc(0,0,n/2,-Math.PI/2,0),r.lineTo(n/2,n/2),r.lineTo(0,n/2),r.arc(0,0,n/2,Math.PI/2,Math.PI),r.lineTo(-n/2,-n/2),r.lineTo(0,-n/2)}})}_basicCornersExtraRounded(e){const{size:n,context:r}=e;this._rotateFigure({...e,draw:()=>{r.moveTo(0,0),r.arc(-n/2,n/2,n,-Math.PI/2,0),r.arc(n/2,-n/2,n,Math.PI/2,Math.PI)}})}_drawDot({x:e,y:n,size:r,context:o}){this._basicDot({x:e,y:n,size:r,context:o,rotation:0})}_drawSquare({x:e,y:n,size:r,context:o}){this._basicSquare({x:e,y:n,size:r,context:o,rotation:0})}_drawRounded({x:e,y:n,size:r,context:o,getNeighbor:i}){const s=+i(-1,0),c=+i(1,0),l=+i(0,-1),O=+i(0,1),w=s+c+l+O;if(w===0){this._basicDot({x:e,y:n,size:r,context:o,rotation:0});return}if(w>2||s&&c||l&&O){this._basicSquare({x:e,y:n,size:r,context:o,rotation:0});return}if(w===2){let f=0;s&&l?f=Math.PI/2:l&&c?f=Math.PI:c&&O&&(f=-Math.PI/2),this._basicCornerRounded({x:e,y:n,size:r,context:o,rotation:f});return}if(w===1){let f=0;l?f=Math.PI/2:c?f=Math.PI:O&&(f=-Math.PI/2),this._basicSideRounded({x:e,y:n,size:r,context:o,rotation:f})}}_drawExtraRounded({x:e,y:n,size:r,context:o,getNeighbor:i}){const s=+i(-1,0),c=+i(1,0),l=+i(0,-1),O=+i(0,1),w=s+c+l+O;if(w===0){this._basicDot({x:e,y:n,size:r,context:o,rotation:0});return}if(w>2||s&&c||l&&O){this._basicSquare({x:e,y:n,size:r,context:o,rotation:0});return}if(w===2){let f=0;s&&l?f=Math.PI/2:l&&c?f=Math.PI:c&&O&&(f=-Math.PI/2),this._basicCornerExtraRounded({x:e,y:n,size:r,context:o,rotation:f});return}if(w===1){let f=0;l?f=Math.PI/2:c?f=Math.PI:O&&(f=-Math.PI/2),this._basicSideRounded({x:e,y:n,size:r,context:o,rotation:f})}}_drawClassy({x:e,y:n,size:r,context:o,getNeighbor:i}){const s=+i(-1,0),c=+i(1,0),l=+i(0,-1),O=+i(0,1);if(s+c+l+O===0){this._basicCornersRounded({x:e,y:n,size:r,context:o,rotation:Math.PI/2});return}if(!s&&!l){this._basicCornerRounded({x:e,y:n,size:r,context:o,rotation:-Math.PI/2});return}if(!c&&!O){this._basicCornerRounded({x:e,y:n,size:r,context:o,rotation:Math.PI/2});return}this._basicSquare({x:e,y:n,size:r,context:o,rotation:0})}_drawClassyRounded({x:e,y:n,size:r,context:o,getNeighbor:i}){const s=+i(-1,0),c=+i(1,0),l=+i(0,-1),O=+i(0,1);if(s+c+l+O===0){this._basicCornersRounded({x:e,y:n,size:r,context:o,rotation:Math.PI/2});return}if(!s&&!l){this._basicCornerExtraRounded({x:e,y:n,size:r,context:o,rotation:-Math.PI/2});return}if(!c&&!O){this._basicCornerExtraRounded({x:e,y:n,size:r,context:o,rotation:Math.PI/2});return}this._basicSquare({x:e,y:n,size:r,context:o,rotation:0})}}const qe={dot:"dot",square:"square",extraRounded:"extra-rounded"};class pi{constructor({context:e,type:n}){et(this,"_context"),et(this,"_type"),this._context=e,this._type=n}draw(e,n,r,o){const i=this._context,s=this._type;let c;switch(s){case qe.square:c=this._drawSquare;break;case qe.extraRounded:c=this._drawExtraRounded;break;case qe.dot:default:c=this._drawDot}c.call(this,{x:e,y:n,size:r,context:i,rotation:o})}_rotateFigure({x:e,y:n,size:r,context:o,rotation:i,draw:s}){const c=e+r/2,l=n+r/2;o.translate(c,l),i&&o.rotate(i),s(),o.closePath(),i&&o.rotate(-i),o.translate(-c,-l)}_basicDot(e){const{size:n,context:r}=e,o=n/7;this._rotateFigure({...e,draw:()=>{r.arc(0,0,n/2,0,Math.PI*2),r.arc(0,0,n/2-o,0,Math.PI*2)}})}_basicSquare(e){const{size:n,context:r}=e,o=n/7;this._rotateFigure({...e,draw:()=>{r.rect(-n/2,-n/2,n,n),r.rect(-n/2+o,-n/2+o,n-2*o,n-2*o)}})}_basicExtraRounded(e){const{size:n,context:r}=e,o=n/7;this._rotateFigure({...e,draw:()=>{r.arc(-o,-o,2.5*o,Math.PI,-Math.PI/2),r.lineTo(o,-3.5*o),r.arc(o,-o,2.5*o,-Math.PI/2,0),r.lineTo(3.5*o,-o),r.arc(o,o,2.5*o,0,Math.PI/2),r.lineTo(-o,3.5*o),r.arc(-o,o,2.5*o,Math.PI/2,Math.PI),r.lineTo(-3.5*o,-o),r.arc(-o,-o,1.5*o,Math.PI,-Math.PI/2),r.lineTo(o,-2.5*o),r.arc(o,-o,1.5*o,-Math.PI/2,0),r.lineTo(2.5*o,-o),r.arc(o,o,1.5*o,0,Math.PI/2),r.lineTo(-o,2.5*o),r.arc(-o,o,1.5*o,Math.PI/2,Math.PI),r.lineTo(-2.5*o,-o)}})}_drawDot({x:e,y:n,size:r,context:o,rotation:i}){this._basicDot({x:e,y:n,size:r,context:o,rotation:i})}_drawSquare({x:e,y:n,size:r,context:o,rotation:i}){this._basicSquare({x:e,y:n,size:r,context:o,rotation:i})}_drawExtraRounded({x:e,y:n,size:r,context:o,rotation:i}){this._basicExtraRounded({x:e,y:n,size:r,context:o,rotation:i})}}
5const On={dot:"dot",square:"square"};class vi{constructor({context:e,type:n}){et(this,"_context"),et(this,"_type"),this._context=e,this._type=n}draw(e,n,r,o){const i=this._context;switch(this._type){case On.square:this._drawSquare({x:e,y:n,size:r,context:i,rotation:o});break;case On.dot:default:this._drawDot({x:e,y:n,size:r,context:i,rotation:o})}}_rotateFigure({x:e,y:n,size:r,context:o,rotation:i,draw:s}){const c=e+r/2,l=n+r/2;o.moveTo(0,0),o.translate(c,l),i&&o.rotate(i),s(),o.closePath(),i&&o.rotate(-i),o.translate(-c,-l)}_drawDot(e){const{size:n,context:r}=e;this._rotateFigure({...e,draw:()=>{r.moveTo(0,0),r.arc(0,0,n/2,0,Math.PI*2)}})}_drawSquare(e){const{size:n,context:r}=e;this._rotateFigure({...e,draw:()=>{r.moveTo(0,0),r.rect(-n/2,-n/2,n,n)}})}}const yi={radial:"radial"},Ct=[[1,1,1,1,1,1,1],[1,0,0,0,0,0,1],[1,0,0,0,0,0,1],[1,0,0,0,0,0,1],[1,0,0,0,0,0,1],[1,0,0,0,0,0,1],[1,1,1,1,1,1,1]],Ot=[[0,0,0,0,0,0,0],[0,0,0,0,0,0,0],[0,0,1,1,1,0,0],[0,0,1,1,1,0,0],[0,0,1,1,1,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]];class mi{constructor(e){et(this,"_canvas"),et(this,"_options"),et(this,"_qr"),et(this,"_image"),this._canvas=document.createElement("canvas"),this._canvas.width=e.width,this._canvas.height=e.height,this._options=e}get context(){return this._canvas.getContext("2d")}get width(){return this._canvas.width}get height(){return this._canvas.height}getCanvas(){return this._canvas}clear(){const e=this.context;e&&e.clearRect(0,0,this._canvas.width,this._canvas.height)}async drawQR(e){const n=e.getModuleCount(),r=Math.min(this._options.width,this._options.height)-this._options.margin*2,o=Math.floor(r/n);let i={hideXDots:0,hideYDots:0,width:0,height:0};if(this._qr=e,this._options.image){if(await this.loadImage(),!this._image)return;const{imageOptions:s,qrOptions:c}=this._options,l=s.imageSize*gi[c.errorCorrectionLevel],O=Math.floor(l*n*n);i=hi({originalWidth:this._image.width,originalHeight:this._image.height,maxHiddenDots:O,maxHiddenAxisDots:n-14,dotSize:o})}this.clear(),this.drawBackground(),this.drawDots((s,c)=>{var l,O,w,f,D,A;return!(this._options.imageOptions.hideBackgroundDots&&s>=(n-i.hideXDots)/2&&s<(n+i.hideXDots)/2&&c>=(n-i.hideYDots)/2&&c<(n+i.hideYDots)/2||(l=Ct[s])!=null&&l[c]||(O=Ct[s-n+7])!=null&&O[c]||(w=Ct[s])!=null&&w[c-n+7]||(f=Ot[s])!=null&&f[c]||(D=Ot[s-n+7])!=null&&D[c]||(A=Ot[s])!=null&&A[c-n+7])}),this.drawCorners(),this._options.image&&this.drawImage({width:i.width,height:i.height,count:n,dotSize:o})}drawBackground(){const e=this.context,n=this._options;if(e){if(n.backgroundOptions.gradient){const r=n.backgroundOptions.gradient,o=this._createGradient({context:e,options:r,additionalRotation:0,x:0,y:0,size:this._canvas.width>this._canvas.height?this._canvas.width:this._canvas.height});r.colorStops.forEach(({offset:i,color:s})=>{o.addColorStop(i,s)}),e.fillStyle=o}else n.backgroundOptions.color&&(e.fillStyle=n.backgroundOptions.color);e.fillRect(0,0,this._canvas.width,this._canvas.height)}}drawDots(e){if(!this._qr)throw"QR code is not defined";const n=this.context;if(!n)throw"QR code is not defined";const r=this._options,o=this._qr.getModuleCount();if(o>r.width||o>r.height)throw"The canvas is too small.";const i=Math.min(r.width,r.height)-r.margin*2,s=Math.floor(i/o),c=Math.floor((r.width-o*s)/2),l=Math.floor((r.height-o*s)/2),O=new ze({context:n,type:r.dotsOptions.type});n.beginPath();for(let w=0;w<o;w++)for(let f=0;f<o;f++)e&&!e(w,f)||this._qr.isDark(w,f)&&O.draw(c+w*s,l+f*s,s,(D,A)=>w+D<0||f+A<0||w+D>=o||f+A>=o||e&&!e(w+D,f+A)?!1:!!this._qr&&this._qr.isDark(w+D,f+A));if(r.dotsOptions.gradient){const w=r.dotsOptions.gradient,f=this._createGradient({context:n,options:w,additionalRotation:0,x:c,y:l,size:o*s});w.colorStops.forEach(({offset:D,color:A})=>{f.addColorStop(D,A)}),n.fillStyle=n.strokeStyle=f}else r.dotsOptions.color&&(n.fillStyle=n.strokeStyle=r.dotsOptions.color);n.fill("evenodd")}drawCorners(e){if(!this._qr)throw"QR code is not defined";const n=this.context;if(!n)throw"QR code is not defined";const r=this._options,o=this._qr.getModuleCount(),i=Math.min(r.width,r.height)-r.margin*2,s=Math.floor(i/o),c=s*7,l=s*3,O=Math.floor((r.width-o*s)/2),w=Math.floor((r.height-o*s)/2);
5[[0,0,0],[1,0,Math.PI/2],[0,1,-Math.PI/2]].forEach(([f,D,A])=>{var F,Y,V,$,J,q,G,v,C,m;if(e&&!e(f,D))return;const M=O+f*s*(o-7),d=w+D*s*(o-7);if((F=r.cornersSquareOptions)!=null&&F.type){const g=new pi({context:n,type:(Y=r.cornersSquareOptions)==null?void 0:Y.type});n.beginPath(),g.draw(M,d,c,A)}else{const g=new ze({context:n,type:r.dotsOptions.type});n.beginPath();for(let u=0;u<Ct.length;u++)for(let a=0;a<Ct[u].length;a++)(V=Ct[u])!=null&&V[a]&&g.draw(M+u*s,d+a*s,s,(x,_)=>{var S;return!!((S=Ct[u+x])!=null&&S[a+_])})}if(($=r.cornersSquareOptions)!=null&&$.gradient){const g=r.cornersSquareOptions.gradient,u=this._createGradient({context:n,options:g,additionalRotation:A,x:M,y:d,size:c});g.colorStops.forEach(({offset:a,color:x})=>{u.addColorStop(a,x)}),n.fillStyle=n.strokeStyle=u}else(J=r.cornersSquareOptions)!=null&&J.color&&(n.fillStyle=n.strokeStyle=r.cornersSquareOptions.color);if(n.fill("evenodd"),(q=r.cornersDotOptions)!=null&&q.type){const g=new vi({context:n,type:(G=r.cornersDotOptions)==null?void 0:G.type});n.beginPath(),g.draw(M+s*2,d+s*2,l,A)}else{const g=new ze({context:n,type:r.dotsOptions.type});n.beginPath();for(let u=0;u<Ot.length;u++)for(let a=0;a<Ot[u].length;a++)(v=Ot[u])!=null&&v[a]&&g.draw(M+u*s,d+a*s,s,(x,_)=>{var S;return!!((S=Ot[u+x])!=null&&S[a+_])})}if((C=r.cornersDotOptions)!=null&&C.gradient){const g=r.cornersDotOptions.gradient,u=this._createGradient({context:n,options:g,additionalRotation:A,x:M+s*2,y:d+s*2,size:l});g.colorStops.forEach(({offset:a,color:x})=>{u.addColorStop(a,x)}),n.fillStyle=n.strokeStyle=u}else(m=r.cornersDotOptions)!=null&&m.color&&(n.fillStyle=n.strokeStyle=r.cornersDotOptions.color);n.fill("evenodd")})}loadImage(){return new Promise((e,n)=>{const r=this._options,o=new Image;if(!r.image)return n("Image is not defined");typeof r.imageOptions.crossOrigin=="string"&&(o.crossOrigin=r.imageOptions.crossOrigin),this._image=o,o.onload=()=>{e()},o.src=r.image})}drawImage({width:e,height:n,count:r,dotSize:o}){const i=this.context;if(!i)throw"canvasContext is not defined";if(!this._image)throw"image is not defined";const s=this._options,c=Math.floor((s.width-r*o)/2),l=Math.floor((s.height-r*o)/2),O=c+s.imageOptions.margin+(r*o-e)/2,w=l+s.imageOptions.margin+(r*o-n)/2,f=e-s.imageOptions.margin*2,D=n-s.imageOptions.margin*2;i.drawImage(this._image,O,w,f<0?0:f,D<0?0:D)}_createGradient({context:e,options:n,additionalRotation:r,x:o,y:i,size:s}){let c;if(n.type===yi.radial)c=e.createRadialGradient(o+s/2,i+s/2,0,o+s/2,i+s/2,s/2);else{const l=((n.rotation||0)+r)%(2*Math.PI),O=(l+2*Math.PI)%(2*Math.PI);let w=o+s/2,f=i+s/2,D=o+s/2,A=i+s/2;O>=0&&O<=.25*Math.PI||O>1.75*Math.PI&&O<=2*Math.PI?(w=w-s/2,f=f-s/2*Math.tan(l),D=D+s/2,A=A+s/2*Math.tan(l)):O>.25*Math.PI&&O<=.75*Math.PI?(f=f-s/2,w=w-s/2/Math.tan(l),A=A+s/2,D=D+s/2/Math.tan(l)):O>.75*Math.PI&&O<=1.25*Math.PI?(w=w+s/2,f=f+s/2*Math.tan(l),D=D-s/2,A=A-s/2*Math.tan(l)):O>1.25*Math.PI&&O<=1.75*Math.PI&&(f=f+s/2,w=w+s/2/Math.tan(l),A=A-s/2,D=D-s/2/Math.tan(l)),c=e.createLinearGradient(Math.round(w),Math.round(f),Math.round(D),Math.round(A))}return c}}const gr={};for(let t=0;t<=40;t++)gr[t]=t;const _i={Q:"Q"},Dn={width:300,height:300,data:"",margin:0,qrOptions:{typeNumber:gr[0],mode:void 0,errorCorrectionLevel:_i.Q},imageOptions:{hideBackgroundDots:!0,imageSize:.4,crossOrigin:void 0,margin:0},dotsOptions:{type:"square",color:"#000"},backgroundOptions:{color:"#fff"}};function le(t){const e={...t};if(!e.colorStops||!e.colorStops.length)throw"Field 'colorStops' is required in gradient";return e.rotation?e.rotation=Number(e.rotation):e.rotation=0,e.colorStops=e.colorStops.map(n=>({...n,offset:Number(n.offset)})),e}function Tn(t){const e={...t};return e.width=Number(e.width),e.height=Number(e.height),e.margin=Number(e.margin),e.imageOptions={...e.imageOptions,hideBackgroundDots:!!e.imageOptions.hideBackgroundDots,imageSize:Number(e.imageOptions.imageSize),margin:Number(e.imageOptions.margin)},e.margin>Math.min(e.width,e.height)&&(e.margin=Math.min(e.width,e.height)),e.dotsOptions={...e.dotsOptions},e.dotsOptions.gradient&&(e.dotsOptions.gradient=le(e.dotsOptions.gradient)),e.cornersSquareOptions&&(e.cornersSquareOptions={...e.cornersSquareOptions},e.cornersSquareOptions.gradient&&(e.cornersSquareOptions.gradient=le(e.cornersSquareOptions.gradient))),e.cornersDotOptions&&(e.cornersDotOptions={...e.cornersDotOptions},e.cornersDotOptions.gradient&&(e.cornersDotOptions.gradient=le(e.cornersDotOptions.gradient))),e.backgroundOptions&&(e.backgroundOptions={...e.backgroundOptions},e.backgroundOptions.gradient&&(e.backgroundOptions.gradient=le(e.backgroundOptions.gradient))),e}function bi(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var pr={exports:{}};(function(t,e){var n=function(){var r=function(v,C){var m=236,M=17,d=v,g=i[C],u=null,a=0,x=null,_=[],S={},R=function(p,y){a=d*4+17,u=function(h){for(var b=new Array(h),k=0;k<h;k+=1){b[k]=new Array(h);for(var T=0;T<h;T+=1)b[k][T]=null}return b}(a),I(0,0),I(a-7,0),I(0,a-7),X(),U(),ut(p,y),d>=7&&ot(p),x==null&&(x=vr(d,g,_)),pt(x,y)},I=function(p,y){for(var h=-1;h<=7;h+=1)if(!(p+h<=-1||a<=p+h))for(var b=-1;b<=7;b+=1)y+b<=-1||a<=y+b||(0<=h&&h<=6&&(b==0||b==6)||0<=b&&b<=6&&(h==0||h==6)||2<=h&&h<=4&&2<=b&&b<=4?u[p+h][y+b]=!0:u[p+h][y+b]=!1)},B=function(){for(var p=0,y=0,h=0;h<8;h+=1){R(!0,h);var b=c.getLostPoint(S);(h==0||p>b)&&(p=b,y=h)}return y},U=function(){for(var p=8;p<a-8;p+=1)u[p][6]==null&&(u[p][6]=p%2==0);for(var y=8;y<a-8;y+=1)u[6][y]==null&&(u[6][y]=y%2==0)},X=function(){for(var p=c.getPatternPosition(d),y=0;y<p.length;y+=1)for(var h=0;h<p.length;h+=1){var b=p[y],k=p[h];if(u[b][k]==null)for(var T=-2;T<=2;T+=1)for(var N=-2;N<=2;N+=1)T==-2||T==2||N==-2||N==2||T==0&&N==0?u[b+T][k+N]=!0:u[b+T][k+N]=!1}},ot=function(p){for(var y=c.getBCHTypeNumber(d),h=0;h<18;h+=1){var b=!p&&(y>>h&1)==1;u[Math.floor(h/3)][h%3+a-8-3]=b}for(var h=0;h<18;h+=1){var b=!p&&(y>>h&1)==1;u[h%3+a-8-3][Math.floor(h/3)]=b}},ut=function(p,y){for(var h=g<<3|y,b=c.getBCHTypeInfo(h),k=0;k<15;k+=1){var T=!p&&(b>>k&1)==1;k<6?u[k][8]=T:k<8?u[k+1][8]=T:u[a-15+k][8]=T}for(var k=0;k<15;k+=1){var T=!p&&(b>>k&1)==1;k<8?u[8][a-k-1]=T:k<9?u[8][15-k-1+1]=T:u[8][15-k-1]=T}u[a-8][8]=!p},pt=function(p,y){for(var h=-1,b=a-1,k=7,T=0,N=c.getMaskFunction(y),P=a-1;P>0;P-=2)for(P==6&&(P-=1);;){for(var H=0;H<2;H+=1)if(u[b][P-H]==null){var W=!1;T<p.length&&(W=(p[T]>>>k&1)==1);var z=N(b,P-H);
5z&&(W=!W),u[b][P-H]=W,k-=1,k==-1&&(T+=1,k=7)}if(b+=h,b<0||a<=b){b-=h,h=-h;break}}},Pt=function(p,y){for(var h=0,b=0,k=0,T=new Array(y.length),N=new Array(y.length),P=0;P<y.length;P+=1){var H=y[P].dataCount,W=y[P].totalCount-H;b=Math.max(b,H),k=Math.max(k,W),T[P]=new Array(H);for(var z=0;z<T[P].length;z+=1)T[P][z]=255&p.getBuffer()[z+h];h+=H;var at=c.getErrorCorrectPolynomial(W),ct=O(T[P],at.getLength()-1),ln=ct.mod(at);N[P]=new Array(at.getLength()-1);for(var z=0;z<N[P].length;z+=1){var un=z+ln.getLength()-N[P].length;N[P][z]=un>=0?ln.getAt(un):0}}for(var fn=0,z=0;z<y.length;z+=1)fn+=y[z].totalCount;for(var Oe=new Array(fn),ee=0,z=0;z<b;z+=1)for(var P=0;P<y.length;P+=1)z<T[P].length&&(Oe[ee]=T[P][z],ee+=1);for(var z=0;z<k;z+=1)for(var P=0;P<y.length;P+=1)z<N[P].length&&(Oe[ee]=N[P][z],ee+=1);return Oe},vr=function(p,y,h){for(var b=w.getRSBlocks(p,y),k=f(),T=0;T<h.length;T+=1){var N=h[T];k.put(N.getMode(),4),k.put(N.getLength(),c.getLengthInBits(N.getMode(),p)),N.write(k)}for(var P=0,T=0;T<b.length;T+=1)P+=b[T].dataCount;if(k.getLengthInBits()>P*8)throw"code length overflow. ("+k.getLengthInBits()+">"+P*8+")";for(k.getLengthInBits()+4<=P*8&&k.put(0,4);k.getLengthInBits()%8!=0;)k.putBit(!1);for(;!(k.getLengthInBits()>=P*8||(k.put(m,8),k.getLengthInBits()>=P*8));)k.put(M,8);return Pt(k,b)};S.addData=function(p,y){y=y||"Byte";var h=null;switch(y){case"Numeric":h=D(p);break;case"Alphanumeric":h=A(p);break;case"Byte":h=F(p);break;case"Kanji":h=Y(p);break;default:throw"mode:"+y}_.push(h),x=null},S.isDark=function(p,y){if(p<0||a<=p||y<0||a<=y)throw p+","+y;return u[p][y]},S.getModuleCount=function(){return a},S.make=function(){if(d<1){for(var p=1;p<40;p++){for(var y=w.getRSBlocks(p,g),h=f(),b=0;b<_.length;b++){var k=_[b];h.put(k.getMode(),4),h.put(k.getLength(),c.getLengthInBits(k.getMode(),p)),k.write(h)}for(var T=0,b=0;b<y.length;b++)T+=y[b].dataCount;if(h.getLengthInBits()<=T*8)break}d=p}R(!1,B())},S.createTableTag=function(p,y){p=p||2,y=typeof y>"u"?p*4:y;var h="";h+='<table style="',h+=" border-width: 0px; border-style: none;",h+=" border-collapse: collapse;",h+=" padding: 0px; margin: "+y+"px;",h+='">',h+="<tbody>";for(var b=0;b<S.getModuleCount();b+=1){h+="<tr>";for(var k=0;k<S.getModuleCount();k+=1)h+='<td style="',h+=" border-width: 0px; border-style: none;",h+=" border-collapse: collapse;",h+=" padding: 0px; margin: 0px;",h+=" width: "+p+"px;",h+=" height: "+p+"px;",h+=" background-color: ",h+=S.isDark(b,k)?"#000000":"#ffffff",h+=";",h+='"/>';h+="</tr>"}return h+="</tbody>",h+="</table>",h},S.createSvgTag=function(p,y,h,b){var k={};typeof arguments[0]=="object"&&(k=arguments[0],p=k.cellSize,y=k.margin,h=k.alt,b=k.title),p=p||2,y=typeof y>"u"?p*4:y,h=typeof h=="string"?{text:h}:h||{},h.text=h.text||null,h.id=h.text?h.id||"qrcode-description":null,b=typeof b=="string"?{text:b}:b||{},b.text=b.text||null,b.id=b.text?b.id||"qrcode-title":null;var T=S.getModuleCount()*p+y*2,N,P,H,W,z="",at;for(at="l"+p+",0 0,"+p+" -"+p+",0 0,-"+p+"z ",z+='<svg version="1.1" xmlns="http://www.w3.org/2000/svg"',z+=k.scalable?"":' width="'+T+'px" height="'+T+'px"',z+=' viewBox="0 0 '+T+" "+T+'" ',z+=' preserveAspectRatio="xMinYMin meet"',z+=b.text||h.text?' role="img" aria-labelledby="'+Bt([b.id,h.id].join(" ").trim())+'"':"",z+=">",z+=b.text?'<title id="'+Bt(b.id)+'">'+Bt(b.text)+"</title>":"",z+=h.text?'<description id="'+Bt(h.id)+'">'+Bt(h.text)+"</description>":"",z+='<rect width="100%" height="100%" fill="white" cx="0" cy="0"/>',z+='<path d="',H=0;H<S.getModuleCount();H+=1)for(W=H*p+y,N=0;N<S.getModuleCount();N+=1)S.isDark(H,N)&&(P=N*p+y,z+="M"+P+","+W+at);return z+='" stroke="transparent" fill="black"/>',z+="</svg>",z},S.createDataURL=function(p,y){p=p||2,y=typeof y>"u"?p*4:y;var h=S.getModuleCount()*p+y*2,b=y,k=h-y;return G(h,h,function(T,N){if(b<=T&&T<k&&b<=N&&N<k){var P=Math.floor((T-b)/p),H=Math.floor((N-b)/p);return S.isDark(H,P)?0:1}else return 1})},S.createImgTag=function(p,y,h){p=p||2,y=typeof y>"u"?p*4:y;var b=S.getModuleCount()*p+y*2,k="";return k+="<img",k+=' src="',k+=S.createDataURL(p,y),k+='"',k+=' width="',k+=b,k+='"',k+=' height="',k+=b,k+='"',h&&(k+=' alt="',k+=Bt(h),k+='"'),k+="/>",k};var Bt=function(p){for(var y="",h=0;h<p.length;h+=1){var b=p.charAt(h);switch(b){case"<":y+="<";break;case">":y+=">";break;case"&":y+="&";break;case'"':y+=""";break;default:y+=b;break}}return y},yr=function(p){var y=1;p=typeof p>"u"?y*2:p;var h=S.getModuleCount()*y+p*2,b=p,k=h-p,T,N,P,H,W,z={"ââ":"â","â ":"â"," â":"â"," ":" "},at={"ââ":"â","â ":"â"," â":" "," ":" "},ct="";for(T=0;T<h;T+=2){for(P=Math.floor((T-b)/y),H=Math.floor((T+1-b)/y),N=0;N<h;N+=1)W="â",b<=N&&N<k&&b<=T&&T<k&&S.isDark(P,Math.floor((N-b)/y))&&(W=" "),b<=N&&N<k&&b<=T+1&&T+1<k&&S.isDark(H,Math.floor((N-b)/y))?W+=" ":W+="â",ct+=p<1&&T+1>=k?at[W]:z[W];ct+=` 6`}return h%2&&p>0?ct.substring(0,ct.length-h-1)+Array(h+1).join("â"):ct.substring(0,ct.length-1)};
6return S.createASCII=function(p,y){if(p=p||1,p<2)return yr(y);p-=1,y=typeof y>"u"?p*2:y;var h=S.getModuleCount()*p+y*2,b=y,k=h-y,T,N,P,H,W=Array(p+1).join("ââ"),z=Array(p+1).join(" "),at="",ct="";for(T=0;T<h;T+=1){for(P=Math.floor((T-b)/p),ct="",N=0;N<h;N+=1)H=1,b<=N&&N<k&&b<=T&&T<k&&S.isDark(P,Math.floor((N-b)/p))&&(H=0),ct+=H?W:z;for(P=0;P<p;P+=1)at+=ct+` 7`}return at.substring(0,at.length-1)},S.renderTo2dContext=function(p,y){y=y||2;for(var h=S.getModuleCount(),b=0;b<h;b++)for(var k=0;k<h;k++)p.fillStyle=S.isDark(b,k)?"black":"white",p.fillRect(b*y,k*y,y,y)},S};r.stringToBytesFuncs={default:function(v){for(var C=[],m=0;m<v.length;m+=1){var M=v.charCodeAt(m);C.push(M&255)}return C}},r.stringToBytes=r.stringToBytesFuncs.default,r.createStringToBytes=function(v,C){var m=function(){for(var d=J(v),g=function(){var U=d.read();if(U==-1)throw"eof";return U},u=0,a={};;){var x=d.read();if(x==-1)break;var _=g(),S=g(),R=g(),I=String.fromCharCode(x<<8|_),B=S<<8|R;a[I]=B,u+=1}if(u!=C)throw u+" != "+C;return a}(),M=63;return function(d){for(var g=[],u=0;u<d.length;u+=1){var a=d.charCodeAt(u);if(a<128)g.push(a);else{var x=m[d.charAt(u)];typeof x=="number"?(x&255)==x?g.push(x):(g.push(x>>>8),g.push(x&255)):g.push(M)}}return g}};var o={MODE_NUMBER:1,MODE_ALPHA_NUM:2,MODE_8BIT_BYTE:4,MODE_KANJI:8},i={L:1,M:0,Q:3,H:2},s={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7},c=function(){var v=[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],C=1335,m=7973,M=21522,d={},g=function(u){for(var a=0;u!=0;)a+=1,u>>>=1;return a};return d.getBCHTypeInfo=function(u){for(var a=u<<10;g(a)-g(C)>=0;)a^=C<<g(a)-g(C);return(u<<10|a)^M},d.getBCHTypeNumber=function(u){for(var a=u<<12;g(a)-g(m)>=0;)a^=m<<g(a)-g(m);return u<<12|a},d.getPatternPosition=function(u){return v[u-1]},d.getMaskFunction=function(u){switch(u){case s.PATTERN000:return function(a,x){return(a+x)%2==0};case s.PATTERN001:return function(a,x){return a%2==0};case s.PATTERN010:return function(a,x){return x%3==0};case s.PATTERN011:return function(a,x){return(a+x)%3==0};case s.PATTERN100:return function(a,x){return(Math.floor(a/2)+Math.floor(x/3))%2==0};case s.PATTERN101:return function(a,x){return a*x%2+a*x%3==0};case s.PATTERN110:return function(a,x){return(a*x%2+a*x%3)%2==0};case s.PATTERN111:return function(a,x){return(a*x%3+(a+x)%2)%2==0};default:throw"bad maskPattern:"+u}},d.getErrorCorrectPolynomial=function(u){for(var a=O([1],0),x=0;x<u;x+=1)a=a.multiply(O([1,l.gexp(x)],0));return a},d.getLengthInBits=function(u,a){if(1<=a&&a<10)switch(u){case o.MODE_NUMBER:return 10;case o.MODE_ALPHA_NUM:return 9;case o.MODE_8BIT_BYTE:return 8;case o.MODE_KANJI:return 8;default:throw"mode:"+u}else if(a<27)switch(u){case o.MODE_NUMBER:return 12;case o.MODE_ALPHA_NUM:return 11;case o.MODE_8BIT_BYTE:return 16;case o.MODE_KANJI:return 10;default:throw"mode:"+u}else if(a<41)switch(u){case o.MODE_NUMBER:return 14;case o.MODE_ALPHA_NUM:return 13;case o.MODE_8BIT_BYTE:return 16;case o.MODE_KANJI:return 12;default:throw"mode:"+u}else throw"type:"+a},d.getLostPoint=function(u){for(var a=u.getModuleCount(),x=0,_=0;_<a;_+=1)for(var S=0;S<a;S+=1){for(var R=0,I=u.isDark(_,S),B=-1;B<=1;B+=1)if(!(_+B<0||a<=_+B))for(var U=-1;U<=1;U+=1)S+U<0||a<=S+U||B==0&&U==0||I==u.isDark(_+B,S+U)&&(R+=1);R>5&&(x+=3+R-5)}for(var _=0;_<a-1;_+=1)for(var S=0;S<a-1;S+=1){var X=0;u.isDark(_,S)&&(X+=1),u.isDark(_+1,S)&&(X+=1),u.isDark(_,S+1)&&(X+=1),u.isDark(_+1,S+1)&&(X+=1),(X==0||X==4)&&(x+=3)}for(var _=0;_<a;_+=1)for(var S=0;S<a-6;S+=1)u.isDark(_,S)&&!u.isDark(_,S+1)&&u.isDark(_,S+2)&&u.isDark(_,S+3)&&u.isDark(_,S+4)&&!u.isDark(_,S+5)&&u.isDark(_,S+6)&&(x+=40);for(var S=0;S<a;S+=1)for(var _=0;_<a-6;_+=1)u.isDark(_,S)&&!u.isDark(_+1,S)&&u.isDark(_+2,S)&&u.isDark(_+3,S)&&u.isDark(_+4,S)&&!u.isDark(_+5,S)&&u.isDark(_+6,S)&&(x+=40);for(var ot=0,S=0;S<a;S+=1)for(var _=0;_<a;_+=1)u.isDark(_,S)&&(ot+=1);var ut=Math.abs(100*ot/a/a-50)/5;return x+=ut*10,x},d}(),l=function(){for(var v=new Array(256),C=new Array(256),m=0;m<8;m+=1)v[m]=1<<m;for(var m=8;m<256;m+=1)v[m]=v[m-4]^v[m-5]^v[m-6]^v[m-8];for(var m=0;m<255;m+=1)C[v[m]]=m;var M={};return M.glog=function(d){if(d<1)throw"glog("+d+")";return C[d]},M.gexp=function(d){for(;d<0;)d+=255;for(;d>=256;)d-=255;return v[d]},M}();function O(v,C){if(typeof v.length>"u")throw v.length+"/"+C;var m=function(){for(var d=0;d<v.length&&v[d]==0;)d+=1;for(var g=new Array(v.length-d+C),u=0;u<v.length-d;u+=1)g[u]=v[u+d];return g}(),M={};return M.getAt=function(d){return m[d]},M.getLength=function(){return m.length},M.multiply=function(d){for(var g=new Array(M.getLength()+d.getLength()-1),u=0;u<M.getLength();u+=1)for(var a=0;a<d.getLength();a+=1)g[u+a]^=l.gexp(l.glog(M.getAt(u))+l.glog(d.getAt(a)));return O(g,0)},M.mod=function(d){if(M.getLength()-d.getLength()<0)return M;for(var g=l.glog(M.getAt(0))-l.glog(d.getAt(0)),u=new Array(M.getLength()),a=0;a<M.getLength();a+=1)u[a]=M.getAt(a);for(var a=0;a<d.getLength();a+=1)u[a]^=l.gexp(l.glog(d.getAt(a))+g);return O(u,0).mod(d)},M}var w=function(){var v=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37
7],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12,7,37,13],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],C=function(d,g){var u={};return u.totalCount=d,u.dataCount=g,u},m={},M=function(d,g){switch(g){case i.L:return v[(d-1)*4+0];case i.M:return v[(d-1)*4+1];case i.Q:return v[(d-1)*4+2];case i.H:return v[(d-1)*4+3];default:return}};return m.getRSBlocks=function(d,g){var u=M(d,g);if(typeof u>"u")throw"bad rs block @ typeNumber:"+d+"/errorCorrectionLevel:"+g;for(var a=u.length/3,x=[],_=0;_<a;_+=1)for(var S=u[_*3+0],R=u[_*3+1],I=u[_*3+2],B=0;B<S;B+=1)x.push(C(R,I));return x},m}(),f=function(){var v=[],C=0,m={};return m.getBuffer=function(){return v},m.getAt=function(M){var d=Math.floor(M/8);return(v[d]>>>7-M%8&1)==1},m.put=function(M,d){for(var g=0;g<d;g+=1)m.putBit((M>>>d-g-1&1)==1)},m.getLengthInBits=function(){return C},m.putBit=function(M){var d=Math.floor(C/8);v.length<=d&&v.push(0),M&&(v[d]|=128>>>C%8),C+=1},m},D=function(v){var C=o.MODE_NUMBER,m=v,M={};M.getMode=function(){return C},M.getLength=function(u){return m.length},M.write=function(u){for(var a=m,x=0;x+2<a.length;)u.put(d(a.substring(x,x+3)),10),x+=3;x<a.length&&(a.length-x==1?u.put(d(a.substring(x,x+1)),4):a.length-x==2&&u.put(d(a.substring(x,x+2)),7))};var d=function(u){for(var a=0,x=0;x<u.length;x+=1)a=a*10+g(u.charAt(x));return a},g=function(u){if("0"<=u&&u<="9")return u.charCodeAt(0)-48;throw"illegal char :"+u};return M},A=function(v){var C=o.MODE_ALPHA_NUM,m=v,M={};M.getMode=function(){return C},M.getLength=function(g){return m.length},M.write=function(g){for(var u=m,a=0;a+1<u.length;)g.put(d(u.charAt(a))*45+d(u.charAt(a+1)),11),a+=2;a<u.length&&g.put(d(u.charAt(a)),6)};var d=function(g){if("0"<=g&&g<="9")return g.charCodeAt(0)-48;if("A"<=g&&g<="Z")return g.charCodeAt(0)-65+10;switch(g){case" ":return 36;case"$":return 37;case"%":return 38;case"*":return 39;case"+":return 40;case"-":return 41;case".":return 42;case"/":return 43;case":":return 44;default:throw"illegal char :"+g}};return M}
7,F=function(v){var C=o.MODE_8BIT_BYTE,m=r.stringToBytes(v),M={};return M.getMode=function(){return C},M.getLength=function(d){return m.length},M.write=function(d){for(var g=0;g<m.length;g+=1)d.put(m[g],8)},M},Y=function(v){var C=o.MODE_KANJI,m=r.stringToBytesFuncs.SJIS;if(!m)throw"sjis not supported.";(function(g,u){var a=m(g);if(a.length!=2||(a[0]<<8|a[1])!=u)throw"sjis not supported."})("å",38726);var M=m(v),d={};return d.getMode=function(){return C},d.getLength=function(g){return~~(M.length/2)},d.write=function(g){for(var u=M,a=0;a+1<u.length;){var x=(255&u[a])<<8|255&u[a+1];if(33088<=x&&x<=40956)x-=33088;else if(57408<=x&&x<=60351)x-=49472;else throw"illegal char at "+(a+1)+"/"+x;x=(x>>>8&255)*192+(x&255),g.put(x,13),a+=2}if(a<u.length)throw"illegal char at "+(a+1)},d},V=function(){var v=[],C={};return C.writeByte=function(m){v.push(m&255)},C.writeShort=function(m){C.writeByte(m),C.writeByte(m>>>8)},C.writeBytes=function(m,M,d){M=M||0,d=d||m.length;for(var g=0;g<d;g+=1)C.writeByte(m[g+M])},C.writeString=function(m){for(var M=0;M<m.length;M+=1)C.writeByte(m.charCodeAt(M))},C.toByteArray=function(){return v},C.toString=function(){var m="";m+="[";for(var M=0;M<v.length;M+=1)M>0&&(m+=","),m+=v[M];return m+="]",m},C},$=function(){var v=0,C=0,m=0,M="",d={},g=function(a){M+=String.fromCharCode(u(a&63))},u=function(a){if(!(a<0)){if(a<26)return 65+a;if(a<52)return 97+(a-26);if(a<62)return 48+(a-52);if(a==62)return 43;if(a==63)return 47}throw"n:"+a};return d.writeByte=function(a){for(v=v<<8|a&255,C+=8,m+=1;C>=6;)g(v>>>C-6),C-=6},d.flush=function(){if(C>0&&(g(v<<6-C),v=0,C=0),m%3!=0)for(var a=3-m%3,x=0;x<a;x+=1)M+="="},d.toString=function(){return M},d},J=function(v){var C=v,m=0,M=0,d=0,g={};g.read=function(){for(;d<8;){if(m>=C.length){if(d==0)return-1;throw"unexpected end of file./"+d}var a=C.charAt(m);if(m+=1,a=="=")return d=0,-1;
7a.match(/^\s$/)||(M=M<<6|u(a.charCodeAt(0)),d+=6)}var x=M>>>d-8&255;return d-=8,x};var u=function(a){if(65<=a&&a<=90)return a-65;if(97<=a&&a<=122)return a-97+26;if(48<=a&&a<=57)return a-48+52;if(a==43)return 62;if(a==47)return 63;throw"c:"+a};return g},q=function(v,C){var m=v,M=C,d=new Array(v*C),g={};g.setPixel=function(_,S,R){d[S*m+_]=R},g.write=function(_){_.writeString("GIF87a"),_.writeShort(m),_.writeShort(M),_.writeByte(128),_.writeByte(0),_.writeByte(0),_.writeByte(0),_.writeByte(0),_.writeByte(0),_.writeByte(255),_.writeByte(255),_.writeByte(255),_.writeString(","),_.writeShort(0),_.writeShort(0),_.writeShort(m),_.writeShort(M),_.writeByte(0);var S=2,R=a(S);_.writeByte(S);for(var I=0;R.length-I>255;)_.writeByte(255),_.writeBytes(R,I,255),I+=255;_.writeByte(R.length-I),_.writeBytes(R,I,R.length-I),_.writeByte(0),_.writeString(";")};var u=function(_){var S=_,R=0,I=0,B={};return B.write=function(U,X){if(U>>>X)throw"length over";for(;R+X>=8;)S.writeByte(255&(U<<R|I)),X-=8-R,U>>>=8-R,I=0,R=0;I=U<<R|I,R=R+X},B.flush=function(){R>0&&S.writeByte(I)},B},a=function(_){for(var S=1<<_,R=(1<<_)+1,I=_+1,B=x(),U=0;U<S;U+=1)B.add(String.fromCharCode(U));B.add(String.fromCharCode(S)),B.add(String.fromCharCode(R));var X=V(),ot=u(X);ot.write(S,I);var ut=0,pt=String.fromCharCode(d[ut]);for(ut+=1;ut<d.length;){var Pt=String.fromCharCode(d[ut]);ut+=1,B.contains(pt+Pt)?pt=pt+Pt:(ot.write(B.indexOf(pt),I),B.size()<4095&&(B.size()==1<<I&&(I+=1),B.add(pt+Pt)),pt=Pt)}return ot.write(B.indexOf(pt),I),ot.write(R,I),ot.flush(),X.toByteArray()},x=function(){var _={},S=0,R={};return R.add=function(I){if(R.contains(I))throw"dup key:"+I;_[I]=S,S+=1},R.size=function(){return S},R.indexOf=function(I){return _[I]},R.contains=function(I){return typeof _[I]<"u"},R};return g},G=function(v,C,m){for(var M=q(v,C),d=0;d<C;d+=1)for(var g=0;g<v;g+=1)M.setPixel(g,d,m(g,d));var u=V();M.write(u);for(var a=$(),x=u.toByteArray(),_=0;_<x.length;_+=1)a.writeByte(x[_]);return a.flush(),"data:image/gif;base64,"+a};return r}();(function(){n.stringToBytesFuncs["UTF-8"]=function(r){function o(i){for(var s=[],c=0;c<i.length;c++){var l=i.charCodeAt(c);l<128?s.push(l):l<2048?s.push(192|l>>6,128|l&63):l<55296||l>=57344?s.push(224|l>>12,128|l>>6&63,128|l&63):(c++,l=65536+((l&1023)<<10|i.charCodeAt(c)&1023),s.push(240|l>>18,128|l>>12&63,128|l>>6&63,128|l&63))}return s}return o(r)}})(),function(r){t.exports=r()}(function(){return n})})(pr);var wi=pr.exports;const xi=bi(wi);class cn{constructor(e){et(this,"_options"),et(this,"_container"),et(this,"_canvas"),et(this,"_qr"),et(this,"_drawingPromise"),this._options=e?Tn(we(Dn,e)):Dn,this.update()}static _clearContainer(e){e&&(e.innerHTML="")}update(e){cn._clearContainer(this._container),this._options=e?Tn(we(this._options,e)):this._options,this._options.data&&(this._qr=xi(this._options.qrOptions.typeNumber,this._options.qrOptions.errorCorrectionLevel),this._qr.addData(this._options.data,this._options.qrOptions.mode||fi(this._options.data)),this._qr.make(),this._canvas=new mi(this._options),this._drawingPromise=this._canvas.drawQR(this._qr),this.append(this._container))}append(e){if(e){if(typeof e.appendChild!="function")throw"Container should be a single DOM node";this._canvas&&e.appendChild(this._canvas.getCanvas()),this._container=e}}async getImageUrl(e){return this._drawingPromise&&await this._drawingPromise===void 0&&this._canvas?this._canvas.getCanvas().toDataURL(`image/${e}`):""}download(e){this._drawingPromise&&this._drawingPromise.then(()=>{if(!this._canvas)return;const n=e,r=n.extension||"png",o=n.name||"qr",i=this._canvas.getCanvas().toDataURL(`image/${r}`);di(i,`${o}.${r}`)})}}const Si=["src"],Mi={key:1},ki=er({__name:"QRCodeVue3Async",props:{value:{default:""},width:{default:300},height:{default:300},margin:{default:0},imgclass:{default:""},myclass:{default:""},downloadButton:{default:""},buttonName:{default:"Download"},qrOptions:{default:{typeNumber:0,mode:"Byte",errorCorrectionLevel:"Q"}},imageOptions:{default:{hideBackgroundDots:!0,imageSize:.4,margin:0}},dotsOptions:{default:{type:"dots",color:"#6a1a4c",gradient:{type:"linear",rotation:0,
7colorStops:[{offset:0,color:"#6a1a4c"},{offset:1,color:"#6a1a4c"}]}}},backgroundOptions:{default:{color:"#ffffff"}},cornersSquareOptions:{default:{type:"dot",color:"#000000"}},cornersDotOptions:{default:{type:void 0,color:"#000000"}},fileExt:{default:"png"},image:{default:""},download:{type:Boolean,default:!1},downloadOptions:{default:{name:"vqr",extension:"png"}}},async setup(t){let e,n;const r=t,o=new cn({data:r.value,width:r.width,height:r.height,margin:r.margin,qrOptions:r.qrOptions,imageOptions:r.imageOptions,dotsOptions:r.dotsOptions,backgroundOptions:r.backgroundOptions,image:r.image,cornersSquareOptions:r.cornersSquareOptions,cornersDotOptions:r.cornersDotOptions});let i=([e,n]=Do(()=>o.getImageUrl(r.fileExt)),e=await e,n(),e);function s(){o.download(r.downloadOptions)}return(c,l)=>(jt(),Be("div",null,[ue(i)?(jt(),Be("div",{key:0,class:Lt(c.myclass)},[ye("img",{src:ue(i),class:Lt(c.imgclass),crossorigin:"anonymous"},null,10,Si)],2)):Cn("",!0),ue(i)&&c.download?(jt(),Be("div",Mi,[ye("button",{onClick:s,class:Lt(c.downloadButton)},Nn(c.buttonName),3)])):Cn("",!0)]))}}),Ci=er({__name:"QRCodeVue3",props:{value:{default:""},width:{default:300},height:{default:300},margin:{default:0},imgclass:{default:""},myclass:{default:""},downloadButton:{default:""},buttonName:{default:"Download"},qrOptions:{default:{typeNumber:0,mode:"Byte",errorCorrectionLevel:"Q"}},imageOptions:{default:{hideBackgroundDots:!0,imageSize:.4,margin:0}},dotsOptions:{default:{type:"dots",color:"#6a1a4c",gradient:{type:"linear",rotation:0,colorStops:[{offset:0,color:"#6a1a4c"},{offset:1,color:"#6a1a4c"}]}}},backgroundOptions:{default:{color:"#ffffff"}},cornersSquareOptions:{default:{type:"dot",color:"#000000"}},cornersDotOptions:{default:{type:void 0,color:"#000000"}},fileExt:{default:"png"},image:{default:""},download:{type:Boolean,default:!1},downloadOptions:{default:{name:"vqr",extension:"png"}}},setup(t){const e=t;return(n,r)=>(jt(),fr(Vo,null,{default:uo(()=>[Mt(ki,{"background-options":e.backgroundOptions,"button-name":e.buttonName,"corners-dot-options":e.cornersDotOptions,"corners-square-options":e.cornersSquareOptions,"dots-options":e.dotsOptions,download:e.download,"download-button":e.downloadButton,"download-options":e.downloadOptions,"file-ext":e.fileExt,height:e.height,image:e.image,"image-options":e.imageOptions,imgclass:e.imgclass,margin:e.margin,value:e.value,myclass:e.myclass,"qr-options":e.qrOptions,width:e.width},null,8,["background-options","button-name","corners-dot-options","corners-square-options","dots-options","download","download-button","download-options","file-ext","height","image","image-options","imgclass","margin","value","myclass","qr-options","width"])]),_:1}))}});export{Ci as j};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.