index.c41121f0.js 50 KB

123456789101112131415
  1. <<<<<<<< HEAD:dist/assets/index.a0fac207.js
  2. import{d as Rt,R as Dt,Z as Ut,$ as zt,_ as vt,c as W}from"./index.ffe80dbe.js";var Le="./assets/orchestra-top_bg.5f030910.png",Ft="data:image/png;base64,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",_={},Vt=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then},wt={},N={};let ut;const kt=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];N.getSymbolSize=function(t){if(!t)throw new Error('"version" cannot be null or undefined');if(t<1||t>40)throw new Error('"version" should be in range from 1 to 40');return t*4+17};N.getSymbolTotalCodewords=function(t){return kt[t]};N.getBCHDigit=function(e){let t=0;for(;e!==0;)t++,e>>>=1;return t};N.setToSJISFunction=function(t){if(typeof t!="function")throw new Error('"toSJISFunc" is not a valid function.');ut=t};N.isKanjiModeEnabled=function(){return typeof ut!="undefined"};N.toSJIS=function(t){return ut(t)};var K={};(function(e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2};function t(i){if(typeof i!="string")throw new Error("Param is not a string");switch(i.toLowerCase()){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw new Error("Unknown EC Level: "+i)}}e.isValid=function(r){return r&&typeof r.bit!="undefined"&&r.bit>=0&&r.bit<4},e.from=function(r,o){if(e.isValid(r))return r;try{return t(r)}catch{return o}}})(K);function mt(){this.buffer=[],this.length=0}mt.prototype={get:function(e){const t=Math.floor(e/8);return(this.buffer[t]>>>7-e%8&1)===1},put:function(e,t){for(let i=0;i<t;i++)this.putBit((e>>>t-i-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(e){const t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}};var _t=mt;function H(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new Uint8Array(e*e),this.reservedBit=new Uint8Array(e*e)}H.prototype.set=function(e,t,i,r){const o=e*this.size+t;this.data[o]=i,r&&(this.reservedBit[o]=!0)};H.prototype.get=function(e,t){return this.data[e*this.size+t]};H.prototype.xor=function(e,t,i){this.data[e*this.size+t]^=i};H.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]};var Ht=H,Ct={};(function(e){const t=N.getSymbolSize;e.getRowColCoords=function(r){if(r===1)return[];const o=Math.floor(r/7)+2,n=t(r),s=n===145?26:Math.ceil((n-13)/(2*o-2))*2,a=[n-7];for(let u=1;u<o-1;u++)a[u]=a[u-1]-s;return a.push(6),a.reverse()},e.getPositions=function(r){const o=[],n=e.getRowColCoords(r),s=n.length;for(let a=0;a<s;a++)for(let u=0;u<s;u++)a===0&&u===0||a===0&&u===s-1||a===s-1&&u===0||o.push([n[a],n[u]]);return o}})(Ct);var At={};const Ot=N.getSymbolSize,gt=7;At.getPositions=function(t){const i=Ot(t);return[[0,0],[i-gt,0],[0,i-gt]]};var Et={};(function(e){e.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const t={N1:3,N2:3,N3:40,N4:10};e.isValid=function(o){return o!=null&&o!==""&&!isNaN(o)&&o>=0&&o<=7},e.from=function(o){return e.isValid(o)?parseInt(o,10):void 0},e.getPenaltyN1=function(o){const n=o.size;let s=0,a=0,u=0,c=null,l=null;for(let B=0;B<n;B++){a=u=0,c=l=null;for(let w=0;w<n;w++){let f=o.get(B,w);f===c?a++:(a>=5&&(s+=t.N1+(a-5)),c=f,a=1),f=o.get(w,B),f===l?u++:(u>=5&&(s+=t.N1+(u-5)),l=f,u=1)}a>=5&&(s+=t.N1+(a-5)),u>=5&&(s+=t.N1+(u-5))}return s},e.getPenaltyN2=function(o){const n=o.size;let s=0;for(let a=0;a<n-1;a++)for(let u=0;u<n-1;u++){const c=o.get(a,u)+o.get(a,u+1)+o.get(a+1,u)+o.get(a+1,u+1);(c===4||c===0)&&s++}return s*t.N2},e.getPenaltyN3=function(o){const n=o.size;let s=0,a=0,u=0;for(let c=0;c<n;c++){a=u=0;for(let l=0;l<n;l++)a=a<<1&2047|o.get(c,l),l>=10&&(a===1488||a===93)&&s++,u=u<<1&2047|o.get(l,c),l>=10&&(u===1488||u===93)&&s++}return s*t.N3},e.getPenaltyN4=function(o){let n=0;const s=o.data.length;for(let u=0;u<s;u++)n+=o.data[u];return Math.abs(Math.ceil(n*100/s/5)-10)*t.N4};function i(r,o,n){switch(r){case e.Patterns.PATTERN000:return(o+n)%2===0;case e.Patterns.PATTERN001:return o%2===0;case e.Patterns.PATTERN010:return n%3===0;case e.Patterns.PATTERN011:return(o+n)%3===0;case e.Patterns.PATTERN100:return(Math.floor(o/2)+Math.floor(n/3))%2===0;case e.Patterns.PATTERN101:return o*n%2+o*n%3===0;case e.Patterns.PATTERN110:return(o*n%2+o*n%3)%2===0;case e.Patterns.PATTERN111:return(o*n%3+(o+n)%2)%2===0;default:throw new Error("bad maskPattern:"+r)}}e.applyMask=function(o,n){const s=n.size;for(let a=0;a<s;a++)for(let u=0;u<s;u++)n.isReserved(u,a)||n.xor(u,a,i(o,u,a))},e.getBestMask=function(o,n){const s=Object.keys(e.Patterns).length;let a=0,u=1/0;for(let c=0;c<s;c++){n(c),e.applyMask(c,o);const l=e.getPenaltyN1(o)+e.getPenaltyN2(o)+e.getPenaltyN3(o)+e.getPenaltyN4(o);e.applyMask(c,o),l<u&&(u=l,a=c)}return a}})(Et);var j={};const L=K,O=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],J=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];j.getBlocksCount=function(t,i){switch(i){case L.L:return O[(t-1)*4+0];case L.M:return O[(t-1)*4+1];case L.Q:return O[(t-1)*4+2];case L.H:return O[(t-1)*4+3];default:return}};j.getTotalCodewordsCount=function(t,i){switch(i){case L.L:return J[(t-1)*4+0];case L.M:return J[(t-1)*4+1];case L.Q:return J[(t-1)*4+2];case L.H:return J[(t-1)*4+3];default:return}};var Bt={},Q={};const V=new Uint8Array(512),q=new Uint8Array(256);(function(){let t=1;for(let i=0;i<255;i++)V[i]=t,q[t]=i,t<<=1,t&256&&(t^=285);for(let i=255;i<512;i++)V[i]=V[i-255]})();Q.log=function(t){if(t<1)throw new Error("log("+t+")");return q[t]};Q.exp=function(t){return V[t]};Q.mul=function(t,i){return t===0||i===0?0:V[q[t]+q[i]]};(function(e){const t=Q;e.mul=function(r,o){const n=new Uint8Array(r.length+o.length-1);for(let s=0;s<r.length;s++)for(let a=0;a<o.length;a++)n[s+a]^=t.mul(r[s],o[a]);return n},e.mod=function(r,o){let n=new Uint8Array(r);for(;n.length-o.length>=0;){const s=n[0];for(let u=0;u<o.length;u++)n[u]^=t.mul(o[u],s);let a=0;for(;a<n.length&&n[a]===0;)a++;n=n.slice(a)}return n},e.generateECPolynomial=function(r){let o=new Uint8Array([1]);for(let n=0;n<r;n++)o=e.mul(o,new Uint8Array([1,t.exp(n)]));return o}})(Bt);const yt=Bt;function at(e){this.genPoly=void 0,this.degree=e,this.degree&&this.initialize(this.degree)}at.prototype.initialize=function(t){this.degree=t,this.genPoly=yt.generateECPolynomial(this.degree)};at.prototype.encode=function(t){if(!this.genPoly)throw new Error("Encoder not initialized");const i=new Uint8Array(t.length+this.degree);i.set(t);const r=yt.mod(i,this.genPoly),o=this.degree-r.length;if(o>0){const n=new Uint8Array(this.degree);return n.set(r,o),n}return r};var Jt=at,pt={},R={},ct={};ct.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40};var P={};const Mt="[0-9]+",Yt="[A-Z $%*+\\-./:]+";let k="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";k=k.replace(/u/g,"\\u");const qt="(?:(?![A-Z0-9 $%*+\\-./:]|"+k+`)(?:.|[\r
  3. ]))+`;P.KANJI=new RegExp(k,"g");P.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");P.BYTE=new RegExp(qt,"g");P.NUMERIC=new RegExp(Mt,"g");P.ALPHANUMERIC=new RegExp(Yt,"g");const Gt=new RegExp("^"+k+"$"),Kt=new RegExp("^"+Mt+"$"),jt=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");P.testKanji=function(t){return Gt.test(t)};P.testNumeric=function(t){return Kt.test(t)};P.testAlphanumeric=function(t){return jt.test(t)};(function(e){const t=ct,i=P;e.NUMERIC={id:"Numeric",bit:1<<0,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:1<<1,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:1<<2,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:1<<3,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(n,s){if(!n.ccBits)throw new Error("Invalid mode: "+n);if(!t.isValid(s))throw new Error("Invalid version: "+s);return s>=1&&s<10?n.ccBits[0]:s<27?n.ccBits[1]:n.ccBits[2]},e.getBestModeForData=function(n){return i.testNumeric(n)?e.NUMERIC:i.testAlphanumeric(n)?e.ALPHANUMERIC:i.testKanji(n)?e.KANJI:e.BYTE},e.toString=function(n){if(n&&n.id)return n.id;throw new Error("Invalid mode")},e.isValid=function(n){return n&&n.bit&&n.ccBits};function r(o){if(typeof o!="string")throw new Error("Param is not a string");switch(o.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: "+o)}}e.from=function(n,s){if(e.isValid(n))return n;try{return r(n)}catch{return s}}})(R);(function(e){const t=N,i=j,r=K,o=R,n=ct,s=1<<12|1<<11|1<<10|1<<9|1<<8|1<<5|1<<2|1<<0,a=t.getBCHDigit(s);function u(w,f,m){for(let C=1;C<=40;C++)if(f<=e.getCapacity(C,m,w))return C}function c(w,f){return o.getCharCountIndicator(w,f)+4}function l(w,f){let m=0;return w.forEach(function(C){m+=c(C.mode,f)+C.getBitsLength()}),m}function B(w,f){for(let m=1;m<=40;m++)if(l(w,m)<=e.getCapacity(m,f,o.MIXED))return m}e.from=function(f,m){return n.isValid(f)?parseInt(f,10):m},e.getCapacity=function(f,m,C){if(!n.isValid(f))throw new Error("Invalid QR Code version");typeof C=="undefined"&&(C=o.BYTE);const M=t.getSymbolTotalCodewords(f),h=i.getTotalCodewordsCount(f,m),A=(M-h)*8;if(C===o.MIXED)return A;const d=A-c(C,f);switch(C){case o.NUMERIC:return Math.floor(d/10*3);case o.ALPHANUMERIC:return Math.floor(d/11*2);case o.KANJI:return Math.floor(d/13);case o.BYTE:default:return Math.floor(d/8)}},e.getBestVersionForData=function(f,m){let C;const M=r.from(m,r.M);if(Array.isArray(f)){if(f.length>1)return B(f,M);if(f.length===0)return 1;C=f[0]}else C=f;return u(C.mode,C.getLength(),M)},e.getEncodedBits=function(f){if(!n.isValid(f)||f<7)throw new Error("Invalid QR Code version");let m=f<<12;for(;t.getBCHDigit(m)-a>=0;)m^=s<<t.getBCHDigit(m)-a;return f<<12|m}})(pt);var Nt={};const ot=N,St=1<<10|1<<8|1<<5|1<<4|1<<2|1<<1|1<<0,Qt=1<<14|1<<12|1<<10|1<<4|1<<1,dt=ot.getBCHDigit(St);Nt.getEncodedBits=function(t,i){const r=t.bit<<3|i;let o=r<<10;for(;ot.getBCHDigit(o)-dt>=0;)o^=St<<ot.getBCHDigit(o)-dt;return(r<<10|o)^Qt};var It={};const Xt=R;function D(e){this.mode=Xt.NUMERIC,this.data=e.toString()}D.getBitsLength=function(t){return 10*Math.floor(t/3)+(t%3?t%3*3+1:0)};D.prototype.getLength=function(){return this.data.length};D.prototype.getBitsLength=function(){return D.getBitsLength(this.data.length)};D.prototype.write=function(t){let i,r,o;for(i=0;i+3<=this.data.length;i+=3)r=this.data.substr(i,3),o=parseInt(r,10),t.put(o,10);const n=this.data.length-i;n>0&&(r=this.data.substr(i),o=parseInt(r,10),t.put(o,n*3+1))};var Zt=D;const Wt=R,$=["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 U(e){this.mode=Wt.ALPHANUMERIC,this.data=e}U.getBitsLength=function(t){return 11*Math.floor(t/2)+6*(t%2)};U.prototype.getLength=function(){return this.data.length};U.prototype.getBitsLength=function(){return U.getBitsLength(this.data.length)};U.prototype.write=function(t){let i;for(i=0;i+2<=this.data.length;i+=2){let r=$.indexOf(this.data[i])*45;r+=$.indexOf(this.data[i+1]),t.put(r,11)}this.data.length%2&&t.put($.indexOf(this.data[i]),6)};var $t=U,xt=function(t){for(var i=[],r=t.length,o=0;o<r;o++){var n=t.charCodeAt(o);if(n>=55296&&n<=56319&&r>o+1){var s=t.charCodeAt(o+1);s>=56320&&s<=57343&&(n=(n-55296)*1024+s-56320+65536,o+=1)}if(n<128){i.push(n);continue}if(n<2048){i.push(n>>6|192),i.push(n&63|128);continue}if(n<55296||n>=57344&&n<65536){i.push(n>>12|224),i.push(n>>6&63|128),i.push(n&63|128);continue}if(n>=65536&&n<=1114111){i.push(n>>18|240),i.push(n>>12&63|128),i.push(n>>6&63|128),i.push(n&63|128);continue}i.push(239,191,189)}return new Uint8Array(i).buffer};const te=xt,ee=R;function z(e){this.mode=ee.BYTE,typeof e=="string"&&(e=te(e)),this.data=new Uint8Array(e)}z.getBitsLength=function(t){return t*8};z.prototype.getLength=function(){return this.data.length};z.prototype.getBitsLength=function(){return z.getBitsLength(this.data.length)};z.prototype.write=function(e){for(let t=0,i=this.data.length;t<i;t++)e.put(this.data[t],8)};var ne=z;const oe=R,re=N;function v(e){this.mode=oe.KANJI,this.data=e}v.getBitsLength=function(t){return t*13};v.prototype.getLength=function(){return this.data.length};v.prototype.getBitsLength=function(){return v.getBitsLength(this.data.length)};v.prototype.write=function(e){let t;for(t=0;t<this.data.length;t++){let i=re.toSJIS(this.data[t]);if(i>=33088&&i<=40956)i-=33088;else if(i>=57408&&i<=60351)i-=49472;else throw new Error("Invalid SJIS character: "+this.data[t]+`
  4. Make sure your charset is UTF-8`);i=(i>>>8&255)*192+(i&255),e.put(i,13)}};var ie=v,Pt={exports:{}};(function(e){var t={single_source_shortest_paths:function(i,r,o){var n={},s={};s[r]=0;var a=t.PriorityQueue.make();a.push(r,0);for(var u,c,l,B,w,f,m,C,M;!a.empty();){u=a.pop(),c=u.value,B=u.cost,w=i[c]||{};for(l in w)w.hasOwnProperty(l)&&(f=w[l],m=B+f,C=s[l],M=typeof s[l]=="undefined",(M||C>m)&&(s[l]=m,a.push(l,m),n[l]=c))}if(typeof o!="undefined"&&typeof s[o]=="undefined"){var h=["Could not find a path from ",r," to ",o,"."].join("");throw new Error(h)}return n},extract_shortest_path_from_predecessor_list:function(i,r){for(var o=[],n=r;n;)o.push(n),i[n],n=i[n];return o.reverse(),o},find_path:function(i,r,o){var n=t.single_source_shortest_paths(i,r,o);return t.extract_shortest_path_from_predecessor_list(n,o)},PriorityQueue:{make:function(i){var r=t.PriorityQueue,o={},n;i=i||{};for(n in r)r.hasOwnProperty(n)&&(o[n]=r[n]);return o.queue=[],o.sorter=i.sorter||r.default_sorter,o},default_sorter:function(i,r){return i.cost-r.cost},push:function(i,r){var o={value:i,cost:r};this.queue.push(o),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};e.exports=t})(Pt);(function(e){const t=R,i=Zt,r=$t,o=ne,n=ie,s=P,a=N,u=Pt.exports;function c(h){return unescape(encodeURIComponent(h)).length}function l(h,A,d){const g=[];let E;for(;(E=h.exec(d))!==null;)g.push({data:E[0],index:E.index,mode:A,length:E[0].length});return g}function B(h){const A=l(s.NUMERIC,t.NUMERIC,h),d=l(s.ALPHANUMERIC,t.ALPHANUMERIC,h);let g,E;return a.isKanjiModeEnabled()?(g=l(s.BYTE,t.BYTE,h),E=l(s.KANJI,t.KANJI,h)):(g=l(s.BYTE_KANJI,t.BYTE,h),E=[]),A.concat(d,g,E).sort(function(p,S){return p.index-S.index}).map(function(p){return{data:p.data,mode:p.mode,length:p.length}})}function w(h,A){switch(A){case t.NUMERIC:return i.getBitsLength(h);case t.ALPHANUMERIC:return r.getBitsLength(h);case t.KANJI:return n.getBitsLength(h);case t.BYTE:return o.getBitsLength(h)}}function f(h){return h.reduce(function(A,d){const g=A.length-1>=0?A[A.length-1]:null;return g&&g.mode===d.mode?(A[A.length-1].data+=d.data,A):(A.push(d),A)},[])}function m(h){const A=[];for(let d=0;d<h.length;d++){const g=h[d];switch(g.mode){case t.NUMERIC:A.push([g,{data:g.data,mode:t.ALPHANUMERIC,length:g.length},{data:g.data,mode:t.BYTE,length:g.length}]);break;case t.ALPHANUMERIC:A.push([g,{data:g.data,mode:t.BYTE,length:g.length}]);break;case t.KANJI:A.push([g,{data:g.data,mode:t.BYTE,length:c(g.data)}]);break;case t.BYTE:A.push([{data:g.data,mode:t.BYTE,length:c(g.data)}])}}return A}function C(h,A){const d={},g={start:{}};let E=["start"];for(let y=0;y<h.length;y++){const p=h[y],S=[];for(let T=0;T<p.length;T++){const I=p[T],F=""+y+T;S.push(F),d[F]={node:I,lastCount:0},g[F]={};for(let Z=0;Z<E.length;Z++){const b=E[Z];d[b]&&d[b].node.mode===I.mode?(g[b][F]=w(d[b].lastCount+I.length,I.mode)-w(d[b].lastCount,I.mode),d[b].lastCount+=I.length):(d[b]&&(d[b].lastCount=I.length),g[b][F]=w(I.length,I.mode)+4+t.getCharCountIndicator(I.mode,A))}}E=S}for(let y=0;y<E.length;y++)g[E[y]].end=0;return{map:g,table:d}}function M(h,A){let d;const g=t.getBestModeForData(h);if(d=t.from(A,g),d!==t.BYTE&&d.bit<g.bit)throw new Error('"'+h+'" cannot be encoded with mode '+t.toString(d)+`.
  5. Suggested mode is: `+t.toString(g));switch(d===t.KANJI&&!a.isKanjiModeEnabled()&&(d=t.BYTE),d){case t.NUMERIC:return new i(h);case t.ALPHANUMERIC:return new r(h);case t.KANJI:return new n(h);case t.BYTE:return new o(h)}}e.fromArray=function(A){return A.reduce(function(d,g){return typeof g=="string"?d.push(M(g,null)):g.data&&d.push(M(g.data,g.mode)),d},[])},e.fromString=function(A,d){const g=B(A,a.isKanjiModeEnabled()),E=m(g),y=C(E,d),p=u.find_path(y.map,"start","end"),S=[];for(let T=1;T<p.length-1;T++)S.push(y.table[p[T]].node);return e.fromArray(f(S))},e.rawSplit=function(A){return e.fromArray(B(A,a.isKanjiModeEnabled()))}})(It);const X=N,x=K,se=_t,ue=Ht,ae=Ct,ce=At,rt=Et,it=j,le=Jt,G=pt,fe=Nt,ge=R,tt=It;function de(e,t){const i=e.size,r=ce.getPositions(t);for(let o=0;o<r.length;o++){const n=r[o][0],s=r[o][1];for(let a=-1;a<=7;a++)if(!(n+a<=-1||i<=n+a))for(let u=-1;u<=7;u++)s+u<=-1||i<=s+u||(a>=0&&a<=6&&(u===0||u===6)||u>=0&&u<=6&&(a===0||a===6)||a>=2&&a<=4&&u>=2&&u<=4?e.set(n+a,s+u,!0,!0):e.set(n+a,s+u,!1,!0))}}function he(e){const t=e.size;for(let i=8;i<t-8;i++){const r=i%2===0;e.set(i,6,r,!0),e.set(6,i,r,!0)}}function we(e,t){const i=ae.getPositions(t);for(let r=0;r<i.length;r++){const o=i[r][0],n=i[r][1];for(let s=-2;s<=2;s++)for(let a=-2;a<=2;a++)s===-2||s===2||a===-2||a===2||s===0&&a===0?e.set(o+s,n+a,!0,!0):e.set(o+s,n+a,!1,!0)}}function me(e,t){const i=e.size,r=G.getEncodedBits(t);let o,n,s;for(let a=0;a<18;a++)o=Math.floor(a/3),n=a%3+i-8-3,s=(r>>a&1)===1,e.set(o,n,s,!0),e.set(n,o,s,!0)}function et(e,t,i){const r=e.size,o=fe.getEncodedBits(t,i);let n,s;for(n=0;n<15;n++)s=(o>>n&1)===1,n<6?e.set(n,8,s,!0):n<8?e.set(n+1,8,s,!0):e.set(r-15+n,8,s,!0),n<8?e.set(8,r-n-1,s,!0):n<9?e.set(8,15-n-1+1,s,!0):e.set(8,15-n-1,s,!0);e.set(r-8,8,1,!0)}function Ce(e,t){const i=e.size;let r=-1,o=i-1,n=7,s=0;for(let a=i-1;a>0;a-=2)for(a===6&&a--;;){for(let u=0;u<2;u++)if(!e.isReserved(o,a-u)){let c=!1;s<t.length&&(c=(t[s]>>>n&1)===1),e.set(o,a-u,c),n--,n===-1&&(s++,n=7)}if(o+=r,o<0||i<=o){o-=r,r=-r;break}}}function Ae(e,t,i){const r=new se;i.forEach(function(u){r.put(u.mode.bit,4),r.put(u.getLength(),ge.getCharCountIndicator(u.mode,e)),u.write(r)});const o=X.getSymbolTotalCodewords(e),n=it.getTotalCodewordsCount(e,t),s=(o-n)*8;for(r.getLengthInBits()+4<=s&&r.put(0,4);r.getLengthInBits()%8!==0;)r.putBit(0);const a=(s-r.getLengthInBits())/8;for(let u=0;u<a;u++)r.put(u%2?17:236,8);return Ee(r,e,t)}function Ee(e,t,i){const r=X.getSymbolTotalCodewords(t),o=it.getTotalCodewordsCount(t,i),n=r-o,s=it.getBlocksCount(t,i),a=r%s,u=s-a,c=Math.floor(r/s),l=Math.floor(n/s),B=l+1,w=c-l,f=new le(w);let m=0;const C=new Array(s),M=new Array(s);let h=0;const A=new Uint8Array(e.buffer);for(let p=0;p<s;p++){const S=p<u?l:B;C[p]=A.slice(m,m+S),M[p]=f.encode(C[p]),m+=S,h=Math.max(h,S)}const d=new Uint8Array(r);let g=0,E,y;for(E=0;E<h;E++)for(y=0;y<s;y++)E<C[y].length&&(d[g++]=C[y][E]);for(E=0;E<w;E++)for(y=0;y<s;y++)d[g++]=M[y][E];return d}function Be(e,t,i,r){let o;if(Array.isArray(e))o=tt.fromArray(e);else if(typeof e=="string"){let c=t;if(!c){const l=tt.rawSplit(e);c=G.getBestVersionForData(l,i)}o=tt.fromString(e,c||40)}else throw new Error("Invalid data");const n=G.getBestVersionForData(o,i);if(!n)throw new Error("The amount of data is too big to be stored in a QR Code");if(!t)t=n;else if(t<n)throw new Error(`
  6. ========
  7. import{d as Rt,R as Dt,Z as Ut,$ as zt,_ as vt,c as W}from"./index.1c621181.js";var Ft="data:image/png;base64,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",_={},Vt=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then},wt={},N={};let ut;const kt=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];N.getSymbolSize=function(t){if(!t)throw new Error('"version" cannot be null or undefined');if(t<1||t>40)throw new Error('"version" should be in range from 1 to 40');return t*4+17};N.getSymbolTotalCodewords=function(t){return kt[t]};N.getBCHDigit=function(e){let t=0;for(;e!==0;)t++,e>>>=1;return t};N.setToSJISFunction=function(t){if(typeof t!="function")throw new Error('"toSJISFunc" is not a valid function.');ut=t};N.isKanjiModeEnabled=function(){return typeof ut!="undefined"};N.toSJIS=function(t){return ut(t)};var K={};(function(e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2};function t(i){if(typeof i!="string")throw new Error("Param is not a string");switch(i.toLowerCase()){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw new Error("Unknown EC Level: "+i)}}e.isValid=function(r){return r&&typeof r.bit!="undefined"&&r.bit>=0&&r.bit<4},e.from=function(r,o){if(e.isValid(r))return r;try{return t(r)}catch{return o}}})(K);function mt(){this.buffer=[],this.length=0}mt.prototype={get:function(e){const t=Math.floor(e/8);return(this.buffer[t]>>>7-e%8&1)===1},put:function(e,t){for(let i=0;i<t;i++)this.putBit((e>>>t-i-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(e){const t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}};var _t=mt;function H(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new Uint8Array(e*e),this.reservedBit=new Uint8Array(e*e)}H.prototype.set=function(e,t,i,r){const o=e*this.size+t;this.data[o]=i,r&&(this.reservedBit[o]=!0)};H.prototype.get=function(e,t){return this.data[e*this.size+t]};H.prototype.xor=function(e,t,i){this.data[e*this.size+t]^=i};H.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]};var Ht=H,Ct={};(function(e){const t=N.getSymbolSize;e.getRowColCoords=function(r){if(r===1)return[];const o=Math.floor(r/7)+2,n=t(r),s=n===145?26:Math.ceil((n-13)/(2*o-2))*2,a=[n-7];for(let u=1;u<o-1;u++)a[u]=a[u-1]-s;return a.push(6),a.reverse()},e.getPositions=function(r){const o=[],n=e.getRowColCoords(r),s=n.length;for(let a=0;a<s;a++)for(let u=0;u<s;u++)a===0&&u===0||a===0&&u===s-1||a===s-1&&u===0||o.push([n[a],n[u]]);return o}})(Ct);var At={};const Ot=N.getSymbolSize,gt=7;At.getPositions=function(t){const i=Ot(t);return[[0,0],[i-gt,0],[0,i-gt]]};var Et={};(function(e){e.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const t={N1:3,N2:3,N3:40,N4:10};e.isValid=function(o){return o!=null&&o!==""&&!isNaN(o)&&o>=0&&o<=7},e.from=function(o){return e.isValid(o)?parseInt(o,10):void 0},e.getPenaltyN1=function(o){const n=o.size;let s=0,a=0,u=0,c=null,l=null;for(let y=0;y<n;y++){a=u=0,c=l=null;for(let w=0;w<n;w++){let f=o.get(y,w);f===c?a++:(a>=5&&(s+=t.N1+(a-5)),c=f,a=1),f=o.get(w,y),f===l?u++:(u>=5&&(s+=t.N1+(u-5)),l=f,u=1)}a>=5&&(s+=t.N1+(a-5)),u>=5&&(s+=t.N1+(u-5))}return s},e.getPenaltyN2=function(o){const n=o.size;let s=0;for(let a=0;a<n-1;a++)for(let u=0;u<n-1;u++){const c=o.get(a,u)+o.get(a,u+1)+o.get(a+1,u)+o.get(a+1,u+1);(c===4||c===0)&&s++}return s*t.N2},e.getPenaltyN3=function(o){const n=o.size;let s=0,a=0,u=0;for(let c=0;c<n;c++){a=u=0;for(let l=0;l<n;l++)a=a<<1&2047|o.get(c,l),l>=10&&(a===1488||a===93)&&s++,u=u<<1&2047|o.get(l,c),l>=10&&(u===1488||u===93)&&s++}return s*t.N3},e.getPenaltyN4=function(o){let n=0;const s=o.data.length;for(let u=0;u<s;u++)n+=o.data[u];return Math.abs(Math.ceil(n*100/s/5)-10)*t.N4};function i(r,o,n){switch(r){case e.Patterns.PATTERN000:return(o+n)%2===0;case e.Patterns.PATTERN001:return o%2===0;case e.Patterns.PATTERN010:return n%3===0;case e.Patterns.PATTERN011:return(o+n)%3===0;case e.Patterns.PATTERN100:return(Math.floor(o/2)+Math.floor(n/3))%2===0;case e.Patterns.PATTERN101:return o*n%2+o*n%3===0;case e.Patterns.PATTERN110:return(o*n%2+o*n%3)%2===0;case e.Patterns.PATTERN111:return(o*n%3+(o+n)%2)%2===0;default:throw new Error("bad maskPattern:"+r)}}e.applyMask=function(o,n){const s=n.size;for(let a=0;a<s;a++)for(let u=0;u<s;u++)n.isReserved(u,a)||n.xor(u,a,i(o,u,a))},e.getBestMask=function(o,n){const s=Object.keys(e.Patterns).length;let a=0,u=1/0;for(let c=0;c<s;c++){n(c),e.applyMask(c,o);const l=e.getPenaltyN1(o)+e.getPenaltyN2(o)+e.getPenaltyN3(o)+e.getPenaltyN4(o);e.applyMask(c,o),l<u&&(u=l,a=c)}return a}})(Et);var j={};const L=K,O=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],J=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];j.getBlocksCount=function(t,i){switch(i){case L.L:return O[(t-1)*4+0];case L.M:return O[(t-1)*4+1];case L.Q:return O[(t-1)*4+2];case L.H:return O[(t-1)*4+3];default:return}};j.getTotalCodewordsCount=function(t,i){switch(i){case L.L:return J[(t-1)*4+0];case L.M:return J[(t-1)*4+1];case L.Q:return J[(t-1)*4+2];case L.H:return J[(t-1)*4+3];default:return}};var yt={},Q={};const V=new Uint8Array(512),q=new Uint8Array(256);(function(){let t=1;for(let i=0;i<255;i++)V[i]=t,q[t]=i,t<<=1,t&256&&(t^=285);for(let i=255;i<512;i++)V[i]=V[i-255]})();Q.log=function(t){if(t<1)throw new Error("log("+t+")");return q[t]};Q.exp=function(t){return V[t]};Q.mul=function(t,i){return t===0||i===0?0:V[q[t]+q[i]]};(function(e){const t=Q;e.mul=function(r,o){const n=new Uint8Array(r.length+o.length-1);for(let s=0;s<r.length;s++)for(let a=0;a<o.length;a++)n[s+a]^=t.mul(r[s],o[a]);return n},e.mod=function(r,o){let n=new Uint8Array(r);for(;n.length-o.length>=0;){const s=n[0];for(let u=0;u<o.length;u++)n[u]^=t.mul(o[u],s);let a=0;for(;a<n.length&&n[a]===0;)a++;n=n.slice(a)}return n},e.generateECPolynomial=function(r){let o=new Uint8Array([1]);for(let n=0;n<r;n++)o=e.mul(o,new Uint8Array([1,t.exp(n)]));return o}})(yt);const Bt=yt;function at(e){this.genPoly=void 0,this.degree=e,this.degree&&this.initialize(this.degree)}at.prototype.initialize=function(t){this.degree=t,this.genPoly=Bt.generateECPolynomial(this.degree)};at.prototype.encode=function(t){if(!this.genPoly)throw new Error("Encoder not initialized");const i=new Uint8Array(t.length+this.degree);i.set(t);const r=Bt.mod(i,this.genPoly),o=this.degree-r.length;if(o>0){const n=new Uint8Array(this.degree);return n.set(r,o),n}return r};var Jt=at,pt={},R={},ct={};ct.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40};var P={};const Mt="[0-9]+",Yt="[A-Z $%*+\\-./:]+";let k="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";k=k.replace(/u/g,"\\u");const qt="(?:(?![A-Z0-9 $%*+\\-./:]|"+k+`)(?:.|[\r
  8. ]))+`;P.KANJI=new RegExp(k,"g");P.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");P.BYTE=new RegExp(qt,"g");P.NUMERIC=new RegExp(Mt,"g");P.ALPHANUMERIC=new RegExp(Yt,"g");const Gt=new RegExp("^"+k+"$"),Kt=new RegExp("^"+Mt+"$"),jt=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");P.testKanji=function(t){return Gt.test(t)};P.testNumeric=function(t){return Kt.test(t)};P.testAlphanumeric=function(t){return jt.test(t)};(function(e){const t=ct,i=P;e.NUMERIC={id:"Numeric",bit:1<<0,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:1<<1,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:1<<2,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:1<<3,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(n,s){if(!n.ccBits)throw new Error("Invalid mode: "+n);if(!t.isValid(s))throw new Error("Invalid version: "+s);return s>=1&&s<10?n.ccBits[0]:s<27?n.ccBits[1]:n.ccBits[2]},e.getBestModeForData=function(n){return i.testNumeric(n)?e.NUMERIC:i.testAlphanumeric(n)?e.ALPHANUMERIC:i.testKanji(n)?e.KANJI:e.BYTE},e.toString=function(n){if(n&&n.id)return n.id;throw new Error("Invalid mode")},e.isValid=function(n){return n&&n.bit&&n.ccBits};function r(o){if(typeof o!="string")throw new Error("Param is not a string");switch(o.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: "+o)}}e.from=function(n,s){if(e.isValid(n))return n;try{return r(n)}catch{return s}}})(R);(function(e){const t=N,i=j,r=K,o=R,n=ct,s=1<<12|1<<11|1<<10|1<<9|1<<8|1<<5|1<<2|1<<0,a=t.getBCHDigit(s);function u(w,f,m){for(let C=1;C<=40;C++)if(f<=e.getCapacity(C,m,w))return C}function c(w,f){return o.getCharCountIndicator(w,f)+4}function l(w,f){let m=0;return w.forEach(function(C){m+=c(C.mode,f)+C.getBitsLength()}),m}function y(w,f){for(let m=1;m<=40;m++)if(l(w,m)<=e.getCapacity(m,f,o.MIXED))return m}e.from=function(f,m){return n.isValid(f)?parseInt(f,10):m},e.getCapacity=function(f,m,C){if(!n.isValid(f))throw new Error("Invalid QR Code version");typeof C=="undefined"&&(C=o.BYTE);const M=t.getSymbolTotalCodewords(f),h=i.getTotalCodewordsCount(f,m),A=(M-h)*8;if(C===o.MIXED)return A;const d=A-c(C,f);switch(C){case o.NUMERIC:return Math.floor(d/10*3);case o.ALPHANUMERIC:return Math.floor(d/11*2);case o.KANJI:return Math.floor(d/13);case o.BYTE:default:return Math.floor(d/8)}},e.getBestVersionForData=function(f,m){let C;const M=r.from(m,r.M);if(Array.isArray(f)){if(f.length>1)return y(f,M);if(f.length===0)return 1;C=f[0]}else C=f;return u(C.mode,C.getLength(),M)},e.getEncodedBits=function(f){if(!n.isValid(f)||f<7)throw new Error("Invalid QR Code version");let m=f<<12;for(;t.getBCHDigit(m)-a>=0;)m^=s<<t.getBCHDigit(m)-a;return f<<12|m}})(pt);var Nt={};const ot=N,St=1<<10|1<<8|1<<5|1<<4|1<<2|1<<1|1<<0,Qt=1<<14|1<<12|1<<10|1<<4|1<<1,dt=ot.getBCHDigit(St);Nt.getEncodedBits=function(t,i){const r=t.bit<<3|i;let o=r<<10;for(;ot.getBCHDigit(o)-dt>=0;)o^=St<<ot.getBCHDigit(o)-dt;return(r<<10|o)^Qt};var It={};const Xt=R;function D(e){this.mode=Xt.NUMERIC,this.data=e.toString()}D.getBitsLength=function(t){return 10*Math.floor(t/3)+(t%3?t%3*3+1:0)};D.prototype.getLength=function(){return this.data.length};D.prototype.getBitsLength=function(){return D.getBitsLength(this.data.length)};D.prototype.write=function(t){let i,r,o;for(i=0;i+3<=this.data.length;i+=3)r=this.data.substr(i,3),o=parseInt(r,10),t.put(o,10);const n=this.data.length-i;n>0&&(r=this.data.substr(i),o=parseInt(r,10),t.put(o,n*3+1))};var Zt=D;const Wt=R,$=["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 U(e){this.mode=Wt.ALPHANUMERIC,this.data=e}U.getBitsLength=function(t){return 11*Math.floor(t/2)+6*(t%2)};U.prototype.getLength=function(){return this.data.length};U.prototype.getBitsLength=function(){return U.getBitsLength(this.data.length)};U.prototype.write=function(t){let i;for(i=0;i+2<=this.data.length;i+=2){let r=$.indexOf(this.data[i])*45;r+=$.indexOf(this.data[i+1]),t.put(r,11)}this.data.length%2&&t.put($.indexOf(this.data[i]),6)};var $t=U,xt=function(t){for(var i=[],r=t.length,o=0;o<r;o++){var n=t.charCodeAt(o);if(n>=55296&&n<=56319&&r>o+1){var s=t.charCodeAt(o+1);s>=56320&&s<=57343&&(n=(n-55296)*1024+s-56320+65536,o+=1)}if(n<128){i.push(n);continue}if(n<2048){i.push(n>>6|192),i.push(n&63|128);continue}if(n<55296||n>=57344&&n<65536){i.push(n>>12|224),i.push(n>>6&63|128),i.push(n&63|128);continue}if(n>=65536&&n<=1114111){i.push(n>>18|240),i.push(n>>12&63|128),i.push(n>>6&63|128),i.push(n&63|128);continue}i.push(239,191,189)}return new Uint8Array(i).buffer};const te=xt,ee=R;function z(e){this.mode=ee.BYTE,typeof e=="string"&&(e=te(e)),this.data=new Uint8Array(e)}z.getBitsLength=function(t){return t*8};z.prototype.getLength=function(){return this.data.length};z.prototype.getBitsLength=function(){return z.getBitsLength(this.data.length)};z.prototype.write=function(e){for(let t=0,i=this.data.length;t<i;t++)e.put(this.data[t],8)};var ne=z;const oe=R,re=N;function v(e){this.mode=oe.KANJI,this.data=e}v.getBitsLength=function(t){return t*13};v.prototype.getLength=function(){return this.data.length};v.prototype.getBitsLength=function(){return v.getBitsLength(this.data.length)};v.prototype.write=function(e){let t;for(t=0;t<this.data.length;t++){let i=re.toSJIS(this.data[t]);if(i>=33088&&i<=40956)i-=33088;else if(i>=57408&&i<=60351)i-=49472;else throw new Error("Invalid SJIS character: "+this.data[t]+`
  9. Make sure your charset is UTF-8`);i=(i>>>8&255)*192+(i&255),e.put(i,13)}};var ie=v,Pt={exports:{}};(function(e){var t={single_source_shortest_paths:function(i,r,o){var n={},s={};s[r]=0;var a=t.PriorityQueue.make();a.push(r,0);for(var u,c,l,y,w,f,m,C,M;!a.empty();){u=a.pop(),c=u.value,y=u.cost,w=i[c]||{};for(l in w)w.hasOwnProperty(l)&&(f=w[l],m=y+f,C=s[l],M=typeof s[l]=="undefined",(M||C>m)&&(s[l]=m,a.push(l,m),n[l]=c))}if(typeof o!="undefined"&&typeof s[o]=="undefined"){var h=["Could not find a path from ",r," to ",o,"."].join("");throw new Error(h)}return n},extract_shortest_path_from_predecessor_list:function(i,r){for(var o=[],n=r;n;)o.push(n),i[n],n=i[n];return o.reverse(),o},find_path:function(i,r,o){var n=t.single_source_shortest_paths(i,r,o);return t.extract_shortest_path_from_predecessor_list(n,o)},PriorityQueue:{make:function(i){var r=t.PriorityQueue,o={},n;i=i||{};for(n in r)r.hasOwnProperty(n)&&(o[n]=r[n]);return o.queue=[],o.sorter=i.sorter||r.default_sorter,o},default_sorter:function(i,r){return i.cost-r.cost},push:function(i,r){var o={value:i,cost:r};this.queue.push(o),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};e.exports=t})(Pt);(function(e){const t=R,i=Zt,r=$t,o=ne,n=ie,s=P,a=N,u=Pt.exports;function c(h){return unescape(encodeURIComponent(h)).length}function l(h,A,d){const g=[];let E;for(;(E=h.exec(d))!==null;)g.push({data:E[0],index:E.index,mode:A,length:E[0].length});return g}function y(h){const A=l(s.NUMERIC,t.NUMERIC,h),d=l(s.ALPHANUMERIC,t.ALPHANUMERIC,h);let g,E;return a.isKanjiModeEnabled()?(g=l(s.BYTE,t.BYTE,h),E=l(s.KANJI,t.KANJI,h)):(g=l(s.BYTE_KANJI,t.BYTE,h),E=[]),A.concat(d,g,E).sort(function(p,S){return p.index-S.index}).map(function(p){return{data:p.data,mode:p.mode,length:p.length}})}function w(h,A){switch(A){case t.NUMERIC:return i.getBitsLength(h);case t.ALPHANUMERIC:return r.getBitsLength(h);case t.KANJI:return n.getBitsLength(h);case t.BYTE:return o.getBitsLength(h)}}function f(h){return h.reduce(function(A,d){const g=A.length-1>=0?A[A.length-1]:null;return g&&g.mode===d.mode?(A[A.length-1].data+=d.data,A):(A.push(d),A)},[])}function m(h){const A=[];for(let d=0;d<h.length;d++){const g=h[d];switch(g.mode){case t.NUMERIC:A.push([g,{data:g.data,mode:t.ALPHANUMERIC,length:g.length},{data:g.data,mode:t.BYTE,length:g.length}]);break;case t.ALPHANUMERIC:A.push([g,{data:g.data,mode:t.BYTE,length:g.length}]);break;case t.KANJI:A.push([g,{data:g.data,mode:t.BYTE,length:c(g.data)}]);break;case t.BYTE:A.push([{data:g.data,mode:t.BYTE,length:c(g.data)}])}}return A}function C(h,A){const d={},g={start:{}};let E=["start"];for(let B=0;B<h.length;B++){const p=h[B],S=[];for(let T=0;T<p.length;T++){const I=p[T],F=""+B+T;S.push(F),d[F]={node:I,lastCount:0},g[F]={};for(let Z=0;Z<E.length;Z++){const b=E[Z];d[b]&&d[b].node.mode===I.mode?(g[b][F]=w(d[b].lastCount+I.length,I.mode)-w(d[b].lastCount,I.mode),d[b].lastCount+=I.length):(d[b]&&(d[b].lastCount=I.length),g[b][F]=w(I.length,I.mode)+4+t.getCharCountIndicator(I.mode,A))}}E=S}for(let B=0;B<E.length;B++)g[E[B]].end=0;return{map:g,table:d}}function M(h,A){let d;const g=t.getBestModeForData(h);if(d=t.from(A,g),d!==t.BYTE&&d.bit<g.bit)throw new Error('"'+h+'" cannot be encoded with mode '+t.toString(d)+`.
  10. Suggested mode is: `+t.toString(g));switch(d===t.KANJI&&!a.isKanjiModeEnabled()&&(d=t.BYTE),d){case t.NUMERIC:return new i(h);case t.ALPHANUMERIC:return new r(h);case t.KANJI:return new n(h);case t.BYTE:return new o(h)}}e.fromArray=function(A){return A.reduce(function(d,g){return typeof g=="string"?d.push(M(g,null)):g.data&&d.push(M(g.data,g.mode)),d},[])},e.fromString=function(A,d){const g=y(A,a.isKanjiModeEnabled()),E=m(g),B=C(E,d),p=u.find_path(B.map,"start","end"),S=[];for(let T=1;T<p.length-1;T++)S.push(B.table[p[T]].node);return e.fromArray(f(S))},e.rawSplit=function(A){return e.fromArray(y(A,a.isKanjiModeEnabled()))}})(It);const X=N,x=K,se=_t,ue=Ht,ae=Ct,ce=At,rt=Et,it=j,le=Jt,G=pt,fe=Nt,ge=R,tt=It;function de(e,t){const i=e.size,r=ce.getPositions(t);for(let o=0;o<r.length;o++){const n=r[o][0],s=r[o][1];for(let a=-1;a<=7;a++)if(!(n+a<=-1||i<=n+a))for(let u=-1;u<=7;u++)s+u<=-1||i<=s+u||(a>=0&&a<=6&&(u===0||u===6)||u>=0&&u<=6&&(a===0||a===6)||a>=2&&a<=4&&u>=2&&u<=4?e.set(n+a,s+u,!0,!0):e.set(n+a,s+u,!1,!0))}}function he(e){const t=e.size;for(let i=8;i<t-8;i++){const r=i%2===0;e.set(i,6,r,!0),e.set(6,i,r,!0)}}function we(e,t){const i=ae.getPositions(t);for(let r=0;r<i.length;r++){const o=i[r][0],n=i[r][1];for(let s=-2;s<=2;s++)for(let a=-2;a<=2;a++)s===-2||s===2||a===-2||a===2||s===0&&a===0?e.set(o+s,n+a,!0,!0):e.set(o+s,n+a,!1,!0)}}function me(e,t){const i=e.size,r=G.getEncodedBits(t);let o,n,s;for(let a=0;a<18;a++)o=Math.floor(a/3),n=a%3+i-8-3,s=(r>>a&1)===1,e.set(o,n,s,!0),e.set(n,o,s,!0)}function et(e,t,i){const r=e.size,o=fe.getEncodedBits(t,i);let n,s;for(n=0;n<15;n++)s=(o>>n&1)===1,n<6?e.set(n,8,s,!0):n<8?e.set(n+1,8,s,!0):e.set(r-15+n,8,s,!0),n<8?e.set(8,r-n-1,s,!0):n<9?e.set(8,15-n-1+1,s,!0):e.set(8,15-n-1,s,!0);e.set(r-8,8,1,!0)}function Ce(e,t){const i=e.size;let r=-1,o=i-1,n=7,s=0;for(let a=i-1;a>0;a-=2)for(a===6&&a--;;){for(let u=0;u<2;u++)if(!e.isReserved(o,a-u)){let c=!1;s<t.length&&(c=(t[s]>>>n&1)===1),e.set(o,a-u,c),n--,n===-1&&(s++,n=7)}if(o+=r,o<0||i<=o){o-=r,r=-r;break}}}function Ae(e,t,i){const r=new se;i.forEach(function(u){r.put(u.mode.bit,4),r.put(u.getLength(),ge.getCharCountIndicator(u.mode,e)),u.write(r)});const o=X.getSymbolTotalCodewords(e),n=it.getTotalCodewordsCount(e,t),s=(o-n)*8;for(r.getLengthInBits()+4<=s&&r.put(0,4);r.getLengthInBits()%8!==0;)r.putBit(0);const a=(s-r.getLengthInBits())/8;for(let u=0;u<a;u++)r.put(u%2?17:236,8);return Ee(r,e,t)}function Ee(e,t,i){const r=X.getSymbolTotalCodewords(t),o=it.getTotalCodewordsCount(t,i),n=r-o,s=it.getBlocksCount(t,i),a=r%s,u=s-a,c=Math.floor(r/s),l=Math.floor(n/s),y=l+1,w=c-l,f=new le(w);let m=0;const C=new Array(s),M=new Array(s);let h=0;const A=new Uint8Array(e.buffer);for(let p=0;p<s;p++){const S=p<u?l:y;C[p]=A.slice(m,m+S),M[p]=f.encode(C[p]),m+=S,h=Math.max(h,S)}const d=new Uint8Array(r);let g=0,E,B;for(E=0;E<h;E++)for(B=0;B<s;B++)E<C[B].length&&(d[g++]=C[B][E]);for(E=0;E<w;E++)for(B=0;B<s;B++)d[g++]=M[B][E];return d}function ye(e,t,i,r){let o;if(Array.isArray(e))o=tt.fromArray(e);else if(typeof e=="string"){let c=t;if(!c){const l=tt.rawSplit(e);c=G.getBestVersionForData(l,i)}o=tt.fromString(e,c||40)}else throw new Error("Invalid data");const n=G.getBestVersionForData(o,i);if(!n)throw new Error("The amount of data is too big to be stored in a QR Code");if(!t)t=n;else if(t<n)throw new Error(`
  11. >>>>>>>> online:dist/assets/index.c41121f0.js
  12. The chosen QR Code version cannot contain this amount of data.
  13. Minimum version required to store current data is: `+n+`.
  14. `);const s=Ae(t,i,o),a=X.getSymbolSize(t),u=new ue(a);return de(u,t),he(u),we(u,t),et(u,i,0),t>=7&&me(u,t),Ce(u,s),isNaN(r)&&(r=rt.getBestMask(u,et.bind(null,u,i))),rt.applyMask(r,u),et(u,i,r),{modules:u,version:t,errorCorrectionLevel:i,maskPattern:r,segments:o}}wt.create=function(t,i){if(typeof t=="undefined"||t==="")throw new Error("No input text");let r=x.M,o,n;return typeof i!="undefined"&&(r=x.from(i.errorCorrectionLevel,x.M),o=G.from(i.version),n=rt.from(i.maskPattern),i.toSJISFunc&&X.setToSJISFunction(i.toSJISFunc)),ye(t,o,r,n)};var bt={},lt={};(function(e){function t(i){if(typeof i=="number"&&(i=i.toString()),typeof i!="string")throw new Error("Color should be defined as hex string");let r=i.slice().replace("#","").split("");if(r.length<3||r.length===5||r.length>8)throw new Error("Invalid hex color: "+i);(r.length===3||r.length===4)&&(r=Array.prototype.concat.apply([],r.map(function(n){return[n,n]}))),r.length===6&&r.push("F","F");const o=parseInt(r.join(""),16);return{r:o>>24&255,g:o>>16&255,b:o>>8&255,a:o&255,hex:"#"+r.slice(0,6).join("")}}e.getOptions=function(r){r||(r={}),r.color||(r.color={});const o=typeof r.margin=="undefined"||r.margin===null||r.margin<0?4:r.margin,n=r.width&&r.width>=21?r.width:void 0,s=r.scale||4;return{width:n,scale:n?4:s,margin:o,color:{dark:t(r.color.dark||"#000000ff"),light:t(r.color.light||"#ffffffff")},type:r.type,rendererOpts:r.rendererOpts||{}}},e.getScale=function(r,o){return o.width&&o.width>=r+o.margin*2?o.width/(r+o.margin*2):o.scale},e.getImageWidth=function(r,o){const n=e.getScale(r,o);return Math.floor((r+o.margin*2)*n)},e.qrToImageData=function(r,o,n){const s=o.modules.size,a=o.modules.data,u=e.getScale(s,n),c=Math.floor((s+n.margin*2)*u),l=n.margin*u,y=[n.color.light,n.color.dark];for(let w=0;w<c;w++)for(let f=0;f<c;f++){let m=(w*c+f)*4,C=n.color.light;if(w>=l&&f>=l&&w<c-l&&f<c-l){const M=Math.floor((w-l)/u),h=Math.floor((f-l)/u);C=y[a[M*s+h]?1:0]}r[m++]=C.r,r[m++]=C.g,r[m++]=C.b,r[m]=C.a}}})(lt);(function(e){const t=lt;function i(o,n,s){o.clearRect(0,0,n.width,n.height),n.style||(n.style={}),n.height=s,n.width=s,n.style.height=s+"px",n.style.width=s+"px"}function r(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}e.render=function(n,s,a){let u=a,c=s;typeof u=="undefined"&&(!s||!s.getContext)&&(u=s,s=void 0),s||(c=r()),u=t.getOptions(u);const l=t.getImageWidth(n.modules.size,u),y=c.getContext("2d"),w=y.createImageData(l,l);return t.qrToImageData(w.data,n,u),i(y,c,l),y.putImageData(w,0,0),c},e.renderToDataURL=function(n,s,a){let u=a;typeof u=="undefined"&&(!s||!s.getContext)&&(u=s,s=void 0),u||(u={});const c=e.render(n,s,u),l=u.type||"image/png",y=u.rendererOpts||{};return c.toDataURL(l,y.quality)}})(bt);var Tt={};const Be=lt;function ht(e,t){const i=e.a/255,r=t+'="'+e.hex+'"';return i<1?r+" "+t+'-opacity="'+i.toFixed(2).slice(1)+'"':r}function nt(e,t,i){let r=e+t;return typeof i!="undefined"&&(r+=" "+i),r}function pe(e,t,i){let r="",o=0,n=!1,s=0;for(let a=0;a<e.length;a++){const u=Math.floor(a%t),c=Math.floor(a/t);!u&&!n&&(n=!0),e[a]?(s++,a>0&&u>0&&e[a-1]||(r+=n?nt("M",u+i,.5+c+i):nt("m",o,0),o=0,n=!1),u+1<t&&e[a+1]||(r+=nt("h",s),s=0)):o++}return r}Tt.render=function(t,i,r){const o=Be.getOptions(i),n=t.modules.size,s=t.modules.data,a=n+o.margin*2,u=o.color.light.a?"<path "+ht(o.color.light,"fill")+' d="M0 0h'+a+"v"+a+'H0z"/>':"",c="<path "+ht(o.color.dark,"stroke")+' d="'+pe(s,n,o.margin)+'"/>',l='viewBox="0 0 '+a+" "+a+'"',y=o.width?'width="'+o.width+'" height="'+o.width+'" ':"",w='<svg xmlns="http://www.w3.org/2000/svg" '+y+l+' shape-rendering="crispEdges">'+u+c+`</svg>
  15. `;return typeof r=="function"&&r(null,w),w};const Me=Vt,st=wt,Lt=bt,Ne=Tt;function ft(e,t,i,r,o){const n=[].slice.call(arguments,1),s=n.length,a=typeof n[s-1]=="function";if(!a&&!Me())throw new Error("Callback required as last argument");if(a){if(s<2)throw new Error("Too few arguments provided");s===2?(o=i,i=t,t=r=void 0):s===3&&(t.getContext&&typeof o=="undefined"?(o=r,r=void 0):(o=r,r=i,i=t,t=void 0))}else{if(s<1)throw new Error("Too few arguments provided");return s===1?(i=t,t=r=void 0):s===2&&!t.getContext&&(r=i,i=t,t=void 0),new Promise(function(u,c){try{const l=st.create(i,r);u(e(l,t,r))}catch(l){c(l)}})}try{const u=st.create(i,r);o(null,e(u,t,r))}catch(u){o(u)}}_.create=st.create;_.toCanvas=ft.bind(null,Lt.render);_.toDataURL=ft.bind(null,Lt.renderToDataURL);_.toString=ft.bind(null,function(e,t,i){return Ne.render(e,i)});const Se="_qrcode_izshm_1",Ie="_qrcodeCanvas_izshm_4",Pe="_qrcodeLogo_izshm_8",be="_small_izshm_18";var Y={qrcode:Se,qrcodeCanvas:Ie,qrcodeLogo:Pe,small:be},Le=Rt({props:{text:{type:String,default:""},size:{type:String,default:"200px"},logoSize:{type:String,default:"default"}},setup(e){const t=Dt(),i=()=>{_.toCanvas(t.value,e.text,{margin:1},r=>{r&&console.log(r),console.log("success")})};return Ut(()=>e.text,()=>{i()}),zt(()=>{vt(()=>{i()})}),()=>W("div",{class:Y.qrcode,style:{width:e.size,height:e.size}},[W("canvas",{ref:t,class:Y.qrcodeCanvas},null),W("img",{src:Ft,class:[Y.qrcodeLogo,e.logoSize==="small"&&Y.small]},null)])}});export{Le as O};