File: /var/www/vhost/disk-apps/pwa.sports-crowd.com/www/8846.c5bbb84a2045d4f4.js
(self.webpackChunkapp=self.webpackChunkapp||[]).push([[8846],{29606:(S,r,u)=>{"use strict";u.d(r,{Y:()=>e});const e=(0,u(22126).F3)("FileSharer",{web:()=>u.e(884).then(u.bind(u,60884)).then(t=>new t.FileSharerPluginWeb)})},96156:S=>{"use strict";var r={single_source_shortest_paths:function(u,i,e){var t={},n={};n[i]=0;var s,l,c,a,y,f,o=r.PriorityQueue.make();for(o.push(i,0);!o.empty();)for(c in a=(s=o.pop()).cost,y=u[l=s.value]||{})y.hasOwnProperty(c)&&(f=a+y[c],(typeof n[c]>"u"||n[c]>f)&&(n[c]=f,o.push(c,f),t[c]=l));if(typeof e<"u"&&typeof n[e]>"u"){var R=["Could not find a path from ",i," to ",e,"."].join("");throw new Error(R)}return t},extract_shortest_path_from_predecessor_list:function(u,i){for(var e=[],t=i;t;)e.push(t),t=u[t];return e.reverse(),e},find_path:function(u,i,e){var t=r.single_source_shortest_paths(u,i,e);return r.extract_shortest_path_from_predecessor_list(t,e)},PriorityQueue:{make:function(u){var t,i=r.PriorityQueue,e={};for(t in u=u||{},i)i.hasOwnProperty(t)&&(e[t]=i[t]);return e.queue=[],e.sorter=u.sorter||i.default_sorter,e},default_sorter:function(u,i){return u.cost-i.cost},push:function(u,i){this.queue.push({value:u,cost:i}),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};S.exports=r},72979:(S,r,u)=>{const i=u(39337),e=u(85817),t=u(79415),n=u(832);function o(s,l,c,a,y){const b=[].slice.call(arguments,1),f=b.length,m="function"==typeof b[f-1];if(!m&&!i())throw new Error("Callback required as last argument");if(!m){if(f<1)throw new Error("Too few arguments provided");return 1===f?(c=l,l=a=void 0):2===f&&!l.getContext&&(a=c,c=l,l=void 0),new Promise(function(C,R){try{const L=e.create(c,a);C(s(L,l,a))}catch(L){R(L)}})}if(f<2)throw new Error("Too few arguments provided");2===f?(y=c,c=l,l=a=void 0):3===f&&(l.getContext&&typeof y>"u"?(y=a,a=void 0):(y=a,a=c,c=l,l=void 0));try{const C=e.create(c,a);y(null,s(C,l,a))}catch(C){y(C)}}r.create=e.create,r.toCanvas=o.bind(null,t.render),r.toDataURL=o.bind(null,t.renderToDataURL),r.toString=o.bind(null,function(s,l,c){return n.render(s,c)})},39337:S=>{S.exports=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then}},90081:(S,r,u)=>{const i=u(6266).getSymbolSize;r.getRowColCoords=function(t){if(1===t)return[];const n=Math.floor(t/7)+2,o=i(t),s=145===o?26:2*Math.ceil((o-13)/(2*n-2)),l=[o-7];for(let c=1;c<n-1;c++)l[c]=l[c-1]-s;return l.push(6),l.reverse()},r.getPositions=function(t){const n=[],o=r.getRowColCoords(t),s=o.length;for(let l=0;l<s;l++)for(let c=0;c<s;c++)0===l&&0===c||0===l&&c===s-1||l===s-1&&0===c||n.push([o[l],o[c]]);return n}},77071:(S,r,u)=>{const i=u(56836),e=["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 t(n){this.mode=i.ALPHANUMERIC,this.data=n}t.getBitsLength=function(o){return 11*Math.floor(o/2)+o%2*6},t.prototype.getLength=function(){return this.data.length},t.prototype.getBitsLength=function(){return t.getBitsLength(this.data.length)},t.prototype.write=function(o){let s;for(s=0;s+2<=this.data.length;s+=2){let l=45*e.indexOf(this.data[s]);l+=e.indexOf(this.data[s+1]),o.put(l,11)}this.data.length%2&&o.put(e.indexOf(this.data[s]),6)},S.exports=t},8511:S=>{function r(){this.buffer=[],this.length=0}r.prototype={get:function(u){const i=Math.floor(u/8);return 1==(this.buffer[i]>>>7-u%8&1)},put:function(u,i){for(let e=0;e<i;e++)this.putBit(1==(u>>>i-e-1&1))},getLengthInBits:function(){return this.length},putBit:function(u){const i=Math.floor(this.length/8);this.buffer.length<=i&&this.buffer.push(0),u&&(this.buffer[i]|=128>>>this.length%8),this.length++}},S.exports=r},80312:S=>{function r(u){if(!u||u<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=u,this.data=new Uint8Array(u*u),this.reservedBit=new Uint8Array(u*u)}r.prototype.set=function(u,i,e,t){const n=u*this.size+i;this.data[n]=e,t&&(this.reservedBit[n]=!0)},r.prototype.get=function(u,i){return this.data[u*this.size+i]},r.prototype.xor=function(u,i,e){this.data[u*this.size+i]^=e},r.prototype.isReserved=function(u,i){return this.reservedBit[u*this.size+i]},S.exports=r},72338:(S,r,u)=>{const i=u(56836);function e(t){this.mode=i.BYTE,this.data="string"==typeof t?(new TextEncoder).encode(t):new Uint8Array(t)}e.getBitsLength=function(n){return 8*n},e.prototype.getLength=function(){return this.data.length},e.prototype.getBitsLength=function(){return e.getBitsLength(this.data.length)},e.prototype.write=function(t){for(let n=0,o=this.data.length;n<o;n++)t.put(this.data[n],8)},S.exports=e},96346:(S,r,u)=>{const i=u(35317),e=[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],t=[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];r.getBlocksCount=function(o,s){switch(s){case i.L:return e[4*(o-1)+0];case i.M:return e[4*(o-1)+1];case i.Q:return e[4*(o-1)+2];case i.H:return e[4*(o-1)+3];default:return}},r.getTotalCodewordsCount=function(o,s){switch(s){case i.L:return t[4*(o-1)+0];case i.M:return t[4*(o-1)+1];case i.Q:return t[4*(o-1)+2];case i.H:return t[4*(o-1)+3];default:return}}},35317:(S,r)=>{r.L={bit:1},r.M={bit:0},r.Q={bit:3},r.H={bit:2},r.isValid=function(e){return e&&typeof e.bit<"u"&&e.bit>=0&&e.bit<4},r.from=function(e,t){if(r.isValid(e))return e;try{return function u(i){if("string"!=typeof i)throw new Error("Param is not a string");switch(i.toLowerCase()){case"l":case"low":return r.L;case"m":case"medium":return r.M;case"q":case"quartile":return r.Q;case"h":case"high":return r.H;default:throw new Error("Unknown EC Level: "+i)}}(e)}catch{return t}}},6152:(S,r,u)=>{const i=u(6266).getSymbolSize;r.getPositions=function(n){const o=i(n);return[[0,0],[o-7,0],[0,o-7]]}},40369:(S,r,u)=>{const i=u(6266),n=i.getBCHDigit(1335);r.getEncodedBits=function(s,l){const c=s.bit<<3|l;let a=c<<10;for(;i.getBCHDigit(a)-n>=0;)a^=1335<<i.getBCHDigit(a)-n;return 21522^(c<<10|a)}},13727:(S,r)=>{const u=new Uint8Array(512),i=new Uint8Array(256);(function(){let t=1;for(let n=0;n<255;n++)u[n]=t,i[t]=n,t<<=1,256&t&&(t^=285);for(let n=255;n<512;n++)u[n]=u[n-255]})(),r.log=function(t){if(t<1)throw new Error("log("+t+")");return i[t]},r.exp=function(t){return u[t]},r.mul=function(t,n){return 0===t||0===n?0:u[i[t]+i[n]]}},79921:(S,r,u)=>{const i=u(56836),e=u(6266);function t(n){this.mode=i.KANJI,this.data=n}t.getBitsLength=function(o){return 13*o},t.prototype.getLength=function(){return this.data.length},t.prototype.getBitsLength=function(){return t.getBitsLength(this.data.length)},t.prototype.write=function(n){let o;for(o=0;o<this.data.length;o++){let s=e.toSJIS(this.data[o]);if(s>=33088&&s<=40956)s-=33088;else{if(!(s>=57408&&s<=60351))throw new Error("Invalid SJIS character: "+this.data[o]+"\nMake sure your charset is UTF-8");s-=49472}s=192*(s>>>8&255)+(255&s),n.put(s,13)}},S.exports=t},45800:(S,r)=>{r.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};function i(e,t,n){switch(e){case r.Patterns.PATTERN000:return(t+n)%2==0;case r.Patterns.PATTERN001:return t%2==0;case r.Patterns.PATTERN010:return n%3==0;case r.Patterns.PATTERN011:return(t+n)%3==0;case r.Patterns.PATTERN100:return(Math.floor(t/2)+Math.floor(n/3))%2==0;case r.Patterns.PATTERN101:return t*n%2+t*n%3==0;case r.Patterns.PATTERN110:return(t*n%2+t*n%3)%2==0;case r.Patterns.PATTERN111:return(t*n%3+(t+n)%2)%2==0;default:throw new Error("bad maskPattern:"+e)}}r.isValid=function(t){return null!=t&&""!==t&&!isNaN(t)&&t>=0&&t<=7},r.from=function(t){return r.isValid(t)?parseInt(t,10):void 0},r.getPenaltyN1=function(t){const n=t.size;let o=0,s=0,l=0,c=null,a=null;for(let y=0;y<n;y++){s=l=0,c=a=null;for(let b=0;b<n;b++){let f=t.get(y,b);f===c?s++:(s>=5&&(o+=s-5+3),c=f,s=1),f=t.get(b,y),f===a?l++:(l>=5&&(o+=l-5+3),a=f,l=1)}s>=5&&(o+=s-5+3),l>=5&&(o+=l-5+3)}return o},r.getPenaltyN2=function(t){const n=t.size;let o=0;for(let s=0;s<n-1;s++)for(let l=0;l<n-1;l++){const c=t.get(s,l)+t.get(s,l+1)+t.get(s+1,l)+t.get(s+1,l+1);(4===c||0===c)&&o++}return 3*o},r.getPenaltyN3=function(t){const n=t.size;let o=0,s=0,l=0;for(let c=0;c<n;c++){s=l=0;for(let a=0;a<n;a++)s=s<<1&2047|t.get(c,a),a>=10&&(1488===s||93===s)&&o++,l=l<<1&2047|t.get(a,c),a>=10&&(1488===l||93===l)&&o++}return 40*o},r.getPenaltyN4=function(t){let n=0;const o=t.data.length;for(let l=0;l<o;l++)n+=t.data[l];return 10*Math.abs(Math.ceil(100*n/o/5)-10)},r.applyMask=function(t,n){const o=n.size;for(let s=0;s<o;s++)for(let l=0;l<o;l++)n.isReserved(l,s)||n.xor(l,s,i(t,l,s))},r.getBestMask=function(t,n){const o=Object.keys(r.Patterns).length;let s=0,l=1/0;for(let c=0;c<o;c++){n(c),r.applyMask(c,t);const a=r.getPenaltyN1(t)+r.getPenaltyN2(t)+r.getPenaltyN3(t)+r.getPenaltyN4(t);r.applyMask(c,t),a<l&&(l=a,s=c)}return s}},56836:(S,r,u)=>{const i=u(73330),e=u(13528);r.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},r.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},r.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},r.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},r.MIXED={bit:-1},r.getCharCountIndicator=function(o,s){if(!o.ccBits)throw new Error("Invalid mode: "+o);if(!i.isValid(s))throw new Error("Invalid version: "+s);return s>=1&&s<10?o.ccBits[0]:s<27?o.ccBits[1]:o.ccBits[2]},r.getBestModeForData=function(o){return e.testNumeric(o)?r.NUMERIC:e.testAlphanumeric(o)?r.ALPHANUMERIC:e.testKanji(o)?r.KANJI:r.BYTE},r.toString=function(o){if(o&&o.id)return o.id;throw new Error("Invalid mode")},r.isValid=function(o){return o&&o.bit&&o.ccBits},r.from=function(o,s){if(r.isValid(o))return o;try{return function t(n){if("string"!=typeof n)throw new Error("Param is not a string");switch(n.toLowerCase()){case"numeric":return r.NUMERIC;case"alphanumeric":return r.ALPHANUMERIC;case"kanji":return r.KANJI;case"byte":return r.BYTE;default:throw new Error("Unknown mode: "+n)}}(o)}catch{return s}}},28977:(S,r,u)=>{const i=u(56836);function e(t){this.mode=i.NUMERIC,this.data=t.toString()}e.getBitsLength=function(n){return 10*Math.floor(n/3)+(n%3?n%3*3+1:0)},e.prototype.getLength=function(){return this.data.length},e.prototype.getBitsLength=function(){return e.getBitsLength(this.data.length)},e.prototype.write=function(n){let o,s,l;for(o=0;o+3<=this.data.length;o+=3)s=this.data.substr(o,3),l=parseInt(s,10),n.put(l,10);const c=this.data.length-o;c>0&&(s=this.data.substr(o),l=parseInt(s,10),n.put(l,3*c+1))},S.exports=e},19101:(S,r,u)=>{const i=u(13727);r.mul=function(t,n){const o=new Uint8Array(t.length+n.length-1);for(let s=0;s<t.length;s++)for(let l=0;l<n.length;l++)o[s+l]^=i.mul(t[s],n[l]);return o},r.mod=function(t,n){let o=new Uint8Array(t);for(;o.length-n.length>=0;){const s=o[0];for(let c=0;c<n.length;c++)o[c]^=i.mul(n[c],s);let l=0;for(;l<o.length&&0===o[l];)l++;o=o.slice(l)}return o},r.generateECPolynomial=function(t){let n=new Uint8Array([1]);for(let o=0;o<t;o++)n=r.mul(n,new Uint8Array([1,i.exp(o)]));return n}},85817:(S,r,u)=>{const i=u(6266),e=u(35317),t=u(8511),n=u(80312),o=u(90081),s=u(6152),l=u(45800),c=u(96346),a=u(33664),y=u(44591),b=u(40369),f=u(56836),m=u(34333);function P(g,p,w){const d=g.size,N=b.getEncodedBits(p,w);let E,h;for(E=0;E<15;E++)h=1==(N>>E&1),g.set(E<6?E:E<8?E+1:d-15+E,8,h,!0),g.set(8,E<8?d-E-1:E<9?15-E-1+1:15-E-1,h,!0);g.set(d-8,8,1,!0)}function D(g,p,w,d){let N;if(Array.isArray(g))N=m.fromArray(g);else{if("string"!=typeof g)throw new Error("Invalid data");{let z=p;if(!z){const H=m.rawSplit(g);z=y.getBestVersionForData(H,w)}N=m.fromString(g,z||40)}}const E=y.getBestVersionForData(N,w);if(!E)throw new Error("The amount of data is too big to be stored in a QR Code");if(p){if(p<E)throw new Error("\nThe chosen QR Code version cannot contain this amount of data.\nMinimum version required to store current data is: "+E+".\n")}else p=E;const h=function B(g,p,w){const d=new t;w.forEach(function(T){d.put(T.mode.bit,4),d.put(T.getLength(),f.getCharCountIndicator(T.mode,g)),T.write(d)});const h=8*(i.getSymbolTotalCodewords(g)-c.getTotalCodewordsCount(g,p));for(d.getLengthInBits()+4<=h&&d.put(0,4);d.getLengthInBits()%8!=0;)d.putBit(0);const M=(h-d.getLengthInBits())/8;for(let T=0;T<M;T++)d.put(T%2?17:236,8);return function U(g,p,w){const d=i.getSymbolTotalCodewords(p),E=d-c.getTotalCodewordsCount(p,w),h=c.getBlocksCount(p,w),T=h-d%h,z=Math.floor(d/h),H=Math.floor(E/h),W=H+1,G=z-H,$=new a(G);let J=0;const K=new Array(h),Q=new Array(h);let O=0;const Z=new Uint8Array(g.buffer);for(let V=0;V<h;V++){const j=V<T?H:W;K[V]=Z.slice(J,J+j),Q[V]=$.encode(K[V]),J+=j,O=Math.max(O,j)}const Y=new Uint8Array(d);let F,k,_=0;for(F=0;F<O;F++)for(k=0;k<h;k++)F<K[k].length&&(Y[_++]=K[k][F]);for(F=0;F<G;F++)for(k=0;k<h;k++)Y[_++]=Q[k][F];return Y}(d,g,p)}(p,w,N),M=i.getSymbolSize(p),T=new n(M);return function C(g,p){const w=g.size,d=s.getPositions(p);for(let N=0;N<d.length;N++){const E=d[N][0],h=d[N][1];for(let M=-1;M<=7;M++)if(!(E+M<=-1||w<=E+M))for(let T=-1;T<=7;T++)h+T<=-1||w<=h+T||g.set(E+M,h+T,M>=0&&M<=6&&(0===T||6===T)||T>=0&&T<=6&&(0===M||6===M)||M>=2&&M<=4&&T>=2&&T<=4,!0)}}(T,p),function R(g){const p=g.size;for(let w=8;w<p-8;w++){const d=w%2==0;g.set(w,6,d,!0),g.set(6,w,d,!0)}}(T),function L(g,p){const w=o.getPositions(p);for(let d=0;d<w.length;d++){const N=w[d][0],E=w[d][1];for(let h=-2;h<=2;h++)for(let M=-2;M<=2;M++)g.set(N+h,E+M,-2===h||2===h||-2===M||2===M||0===h&&0===M,!0)}}(T,p),P(T,w,0),p>=7&&function I(g,p){const w=g.size,d=y.getEncodedBits(p);let N,E,h;for(let M=0;M<18;M++)N=Math.floor(M/3),E=M%3+w-8-3,h=1==(d>>M&1),g.set(N,E,h,!0),g.set(E,N,h,!0)}(T,p),function A(g,p){const w=g.size;let d=-1,N=w-1,E=7,h=0;for(let M=w-1;M>0;M-=2)for(6===M&&M--;;){for(let T=0;T<2;T++)if(!g.isReserved(N,M-T)){let z=!1;h<p.length&&(z=1==(p[h]>>>E&1)),g.set(N,M-T,z),E--,-1===E&&(h++,E=7)}if(N+=d,N<0||w<=N){N-=d,d=-d;break}}}(T,h),isNaN(d)&&(d=l.getBestMask(T,P.bind(null,T,w))),l.applyMask(d,T),P(T,w,d),{modules:T,version:p,errorCorrectionLevel:w,maskPattern:d,segments:N}}r.create=function(p,w){if(typeof p>"u"||""===p)throw new Error("No input text");let N,E,d=e.M;return typeof w<"u"&&(d=e.from(w.errorCorrectionLevel,e.M),N=y.from(w.version),E=l.from(w.maskPattern),w.toSJISFunc&&i.setToSJISFunction(w.toSJISFunc)),D(p,N,d,E)}},33664:(S,r,u)=>{const i=u(19101);function e(t){this.genPoly=void 0,this.degree=t,this.degree&&this.initialize(this.degree)}e.prototype.initialize=function(n){this.degree=n,this.genPoly=i.generateECPolynomial(this.degree)},e.prototype.encode=function(n){if(!this.genPoly)throw new Error("Encoder not initialized");const o=new Uint8Array(n.length+this.degree);o.set(n);const s=i.mod(o,this.genPoly),l=this.degree-s.length;if(l>0){const c=new Uint8Array(this.degree);return c.set(s,l),c}return s},S.exports=e},13528:(S,r)=>{const u="[0-9]+";let e="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";e=e.replace(/u/g,"\\u");const t="(?:(?![A-Z0-9 $%*+\\-./:]|"+e+")(?:.|[\r\n]))+";r.KANJI=new RegExp(e,"g"),r.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),r.BYTE=new RegExp(t,"g"),r.NUMERIC=new RegExp(u,"g"),r.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");const n=new RegExp("^"+e+"$"),o=new RegExp("^"+u+"$"),s=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");r.testKanji=function(c){return n.test(c)},r.testNumeric=function(c){return o.test(c)},r.testAlphanumeric=function(c){return s.test(c)}},34333:(S,r,u)=>{const i=u(56836),e=u(28977),t=u(77071),n=u(72338),o=u(79921),s=u(13528),l=u(6266),c=u(96156);function a(I){return unescape(encodeURIComponent(I)).length}function y(I,P,A){const B=[];let U;for(;null!==(U=I.exec(A));)B.push({data:U[0],index:U.index,mode:P,length:U[0].length});return B}function b(I){const P=y(s.NUMERIC,i.NUMERIC,I),A=y(s.ALPHANUMERIC,i.ALPHANUMERIC,I);let B,U;return l.isKanjiModeEnabled()?(B=y(s.BYTE,i.BYTE,I),U=y(s.KANJI,i.KANJI,I)):(B=y(s.BYTE_KANJI,i.BYTE,I),U=[]),P.concat(A,B,U).sort(function(g,p){return g.index-p.index}).map(function(g){return{data:g.data,mode:g.mode,length:g.length}})}function f(I,P){switch(P){case i.NUMERIC:return e.getBitsLength(I);case i.ALPHANUMERIC:return t.getBitsLength(I);case i.KANJI:return o.getBitsLength(I);case i.BYTE:return n.getBitsLength(I)}}function L(I,P){let A;const B=i.getBestModeForData(I);if(A=i.from(P,B),A!==i.BYTE&&A.bit<B.bit)throw new Error('"'+I+'" cannot be encoded with mode '+i.toString(A)+".\n Suggested mode is: "+i.toString(B));switch(A===i.KANJI&&!l.isKanjiModeEnabled()&&(A=i.BYTE),A){case i.NUMERIC:return new e(I);case i.ALPHANUMERIC:return new t(I);case i.KANJI:return new o(I);case i.BYTE:return new n(I)}}r.fromArray=function(P){return P.reduce(function(A,B){return"string"==typeof B?A.push(L(B,null)):B.data&&A.push(L(B.data,B.mode)),A},[])},r.fromString=function(P,A){const U=function C(I){const P=[];for(let A=0;A<I.length;A++){const B=I[A];switch(B.mode){case i.NUMERIC:P.push([B,{data:B.data,mode:i.ALPHANUMERIC,length:B.length},{data:B.data,mode:i.BYTE,length:B.length}]);break;case i.ALPHANUMERIC:P.push([B,{data:B.data,mode:i.BYTE,length:B.length}]);break;case i.KANJI:P.push([B,{data:B.data,mode:i.BYTE,length:a(B.data)}]);break;case i.BYTE:P.push([{data:B.data,mode:i.BYTE,length:a(B.data)}])}}return P}(b(P,l.isKanjiModeEnabled())),D=function R(I,P){const A={},B={start:{}};let U=["start"];for(let D=0;D<I.length;D++){const g=I[D],p=[];for(let w=0;w<g.length;w++){const d=g[w],N=""+D+w;p.push(N),A[N]={node:d,lastCount:0},B[N]={};for(let E=0;E<U.length;E++){const h=U[E];A[h]&&A[h].node.mode===d.mode?(B[h][N]=f(A[h].lastCount+d.length,d.mode)-f(A[h].lastCount,d.mode),A[h].lastCount+=d.length):(A[h]&&(A[h].lastCount=d.length),B[h][N]=f(d.length,d.mode)+4+i.getCharCountIndicator(d.mode,P))}}U=p}for(let D=0;D<U.length;D++)B[U[D]].end=0;return{map:B,table:A}}(U,A),g=c.find_path(D.map,"start","end"),p=[];for(let w=1;w<g.length-1;w++)p.push(D.table[g[w]].node);return r.fromArray(function m(I){return I.reduce(function(P,A){const B=P.length-1>=0?P[P.length-1]:null;return B&&B.mode===A.mode?(P[P.length-1].data+=A.data,P):(P.push(A),P)},[])}(p))},r.rawSplit=function(P){return r.fromArray(b(P,l.isKanjiModeEnabled()))}},6266:(S,r)=>{let u;const i=[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];r.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 4*t+17},r.getSymbolTotalCodewords=function(t){return i[t]},r.getBCHDigit=function(e){let t=0;for(;0!==e;)t++,e>>>=1;return t},r.setToSJISFunction=function(t){if("function"!=typeof t)throw new Error('"toSJISFunc" is not a valid function.');u=t},r.isKanjiModeEnabled=function(){return typeof u<"u"},r.toSJIS=function(t){return u(t)}},73330:(S,r)=>{r.isValid=function(i){return!isNaN(i)&&i>=1&&i<=40}},44591:(S,r,u)=>{const i=u(6266),e=u(96346),t=u(35317),n=u(56836),o=u(73330),l=i.getBCHDigit(7973);function a(f,m){return n.getCharCountIndicator(f,m)+4}function y(f,m){let C=0;return f.forEach(function(R){const L=a(R.mode,m);C+=L+R.getBitsLength()}),C}r.from=function(m,C){return o.isValid(m)?parseInt(m,10):C},r.getCapacity=function(m,C,R){if(!o.isValid(m))throw new Error("Invalid QR Code version");typeof R>"u"&&(R=n.BYTE);const P=8*(i.getSymbolTotalCodewords(m)-e.getTotalCodewordsCount(m,C));if(R===n.MIXED)return P;const A=P-a(R,m);switch(R){case n.NUMERIC:return Math.floor(A/10*3);case n.ALPHANUMERIC:return Math.floor(A/11*2);case n.KANJI:return Math.floor(A/13);default:return Math.floor(A/8)}},r.getBestVersionForData=function(m,C){let R;const L=t.from(C,t.M);if(Array.isArray(m)){if(m.length>1)return function b(f,m){for(let C=1;C<=40;C++)if(y(f,C)<=r.getCapacity(C,m,n.MIXED))return C}(m,L);if(0===m.length)return 1;R=m[0]}else R=m;return function c(f,m,C){for(let R=1;R<=40;R++)if(m<=r.getCapacity(R,C,f))return R}(R.mode,R.getLength(),L)},r.getEncodedBits=function(m){if(!o.isValid(m)||m<7)throw new Error("Invalid QR Code version");let C=m<<12;for(;i.getBCHDigit(C)-l>=0;)C^=7973<<i.getBCHDigit(C)-l;return m<<12|C}},79415:(S,r,u)=>{const i=u(9506);r.render=function(o,s,l){let c=l,a=s;typeof c>"u"&&(!s||!s.getContext)&&(c=s,s=void 0),s||(a=function t(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}()),c=i.getOptions(c);const y=i.getImageWidth(o.modules.size,c),b=a.getContext("2d"),f=b.createImageData(y,y);return i.qrToImageData(f.data,o,c),function e(n,o,s){n.clearRect(0,0,o.width,o.height),o.style||(o.style={}),o.height=s,o.width=s,o.style.height=s+"px",o.style.width=s+"px"}(b,a,y),b.putImageData(f,0,0),a},r.renderToDataURL=function(o,s,l){let c=l;return typeof c>"u"&&(!s||!s.getContext)&&(c=s,s=void 0),c||(c={}),r.render(o,s,c).toDataURL(c.type||"image/png",(c.rendererOpts||{}).quality)}},832:(S,r,u)=>{const i=u(9506);function e(o,s){const l=o.a/255,c=s+'="'+o.hex+'"';return l<1?c+" "+s+'-opacity="'+l.toFixed(2).slice(1)+'"':c}function t(o,s,l){let c=o+s;return typeof l<"u"&&(c+=" "+l),c}r.render=function(s,l,c){const a=i.getOptions(l),y=s.modules.size,b=s.modules.data,f=y+2*a.margin,m=a.color.light.a?"<path "+e(a.color.light,"fill")+' d="M0 0h'+f+"v"+f+'H0z"/>':"",C="<path "+e(a.color.dark,"stroke")+' d="'+function n(o,s,l){let c="",a=0,y=!1,b=0;for(let f=0;f<o.length;f++){const m=Math.floor(f%s),C=Math.floor(f/s);!m&&!y&&(y=!0),o[f]?(b++,f>0&&m>0&&o[f-1]||(c+=y?t("M",m+l,.5+C+l):t("m",a,0),a=0,y=!1),m+1<s&&o[f+1]||(c+=t("h",b),b=0)):a++}return c}(b,y,a.margin)+'"/>',I='<svg xmlns="http://www.w3.org/2000/svg" '+(a.width?'width="'+a.width+'" height="'+a.width+'" ':"")+'viewBox="0 0 '+f+" "+f+'" shape-rendering="crispEdges">'+m+C+"</svg>\n";return"function"==typeof c&&c(null,I),I}},9506:(S,r)=>{function u(i){if("number"==typeof i&&(i=i.toString()),"string"!=typeof i)throw new Error("Color should be defined as hex string");let e=i.slice().replace("#","").split("");if(e.length<3||5===e.length||e.length>8)throw new Error("Invalid hex color: "+i);(3===e.length||4===e.length)&&(e=Array.prototype.concat.apply([],e.map(function(n){return[n,n]}))),6===e.length&&e.push("F","F");const t=parseInt(e.join(""),16);return{r:t>>24&255,g:t>>16&255,b:t>>8&255,a:255&t,hex:"#"+e.slice(0,6).join("")}}r.getOptions=function(e){e||(e={}),e.color||(e.color={});const n=e.width&&e.width>=21?e.width:void 0;return{width:n,scale:n?4:e.scale||4,margin:typeof e.margin>"u"||null===e.margin||e.margin<0?4:e.margin,color:{dark:u(e.color.dark||"#000000ff"),light:u(e.color.light||"#ffffffff")},type:e.type,rendererOpts:e.rendererOpts||{}}},r.getScale=function(e,t){return t.width&&t.width>=e+2*t.margin?t.width/(e+2*t.margin):t.scale},r.getImageWidth=function(e,t){const n=r.getScale(e,t);return Math.floor((e+2*t.margin)*n)},r.qrToImageData=function(e,t,n){const o=t.modules.size,s=t.modules.data,l=r.getScale(o,n),c=Math.floor((o+2*n.margin)*l),a=n.margin*l,y=[n.color.light,n.color.dark];for(let b=0;b<c;b++)for(let f=0;f<c;f++){let m=4*(b*c+f),C=n.color.light;b>=a&&f>=a&&b<c-a&&f<c-a&&(C=y[s[Math.floor((b-a)/l)*o+Math.floor((f-a)/l)]?1:0]),e[m++]=C.r,e[m++]=C.g,e[m++]=C.b,e[m]=C.a}}}}]);