UNPKG

tpa_web_component

Version:

TPA Web Components Library

1 lines 491 kB
(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t(require("vue")):"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["tpa_web_component"]=t(require("vue")):e["tpa_web_component"]=t(e["Vue"])})("undefined"!==typeof self?self:this,(function(e){return function(){var t={34:function(e,t,n){"use strict";var o=n(4901);e.exports=function(e){return"object"==typeof e?null!==e:o(e)}},81:function(e,t,n){"use strict";var o=n(9565),r=n(9306),a=n(8551),i=n(6823),l=n(851),s=TypeError;e.exports=function(e,t){var n=arguments.length<2?l(e):t;if(r(n))return a(o(n,e));throw new s(i(e)+" is not iterable")}},116:function(e,t,n){"use strict";var o=n(6518),r=n(9565),a=n(2652),i=n(9306),l=n(8551),s=n(1767),u=n(9539),c=n(4549),d=c("find",TypeError);o({target:"Iterator",proto:!0,real:!0,forced:d},{find:function(e){l(this);try{i(e)}catch(o){u(this,"throw",o)}if(d)return r(d,this,e);var t=s(this),n=0;return a(t,(function(t,o){if(e(t,n++))return o(t)}),{IS_RECORD:!0,INTERRUPTED:!0}).result}})},283:function(e,t,n){"use strict";var o=n(9504),r=n(9039),a=n(4901),i=n(9297),l=n(3724),s=n(350).CONFIGURABLE,u=n(3706),c=n(1181),d=c.enforce,f=c.get,p=String,m=Object.defineProperty,v=o("".slice),h=o("".replace),g=o([].join),y=l&&!r((function(){return 8!==m((function(){}),"length",{value:8}).length})),b=String(String).split("String"),w=e.exports=function(e,t,n){"Symbol("===v(p(t),0,7)&&(t="["+h(p(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!i(e,"name")||s&&e.name!==t)&&(l?m(e,"name",{value:t,configurable:!0}):e.name=t),y&&n&&i(n,"arity")&&e.length!==n.arity&&m(e,"length",{value:n.arity});try{n&&i(n,"constructor")&&n.constructor?l&&m(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(r){}var o=d(e);return i(o,"source")||(o.source=g(b,"string"==typeof t?t:"")),e};Function.prototype.toString=w((function(){return a(this)&&f(this).source||u(this)}),"toString")},339:function(e,t,n){const o=n(7608),r=1335,a=21522,i=o.getBCHDigit(r);t.getEncodedBits=function(e,t){const n=e.bit<<3|t;let l=n<<10;while(o.getBCHDigit(l)-i>=0)l^=r<<o.getBCHDigit(l)-i;return(n<<10|l)^a}},350:function(e,t,n){"use strict";var o=n(3724),r=n(9297),a=Function.prototype,i=o&&Object.getOwnPropertyDescriptor,l=r(a,"name"),s=l&&"something"===function(){}.name,u=l&&(!o||o&&i(a,"name").configurable);e.exports={EXISTS:l,PROPER:s,CONFIGURABLE:u}},397:function(e,t,n){"use strict";var o=n(7751);e.exports=o("document","documentElement")},421:function(e){"use strict";e.exports={}},507:function(e,t,n){"use strict";var o=n(9565);e.exports=function(e,t,n){var r,a,i=n?e:e.iterator,l=e.next;while(!(r=o(l,i)).done)if(a=t(r.value),void 0!==a)return a}},531:function(e,t,n){"use strict";var o=n(6518),r=n(9565),a=n(9306),i=n(8551),l=n(1767),s=n(8646),u=n(9462),c=n(9539),d=n(6395),f=n(684),p=n(4549),m=!d&&!f("flatMap",(function(){})),v=!d&&!m&&p("flatMap",TypeError),h=d||m||v,g=u((function(){var e,t,n=this.iterator,o=this.mapper;while(1){if(t=this.inner)try{if(e=i(r(t.next,t.iterator)),!e.done)return e.value;this.inner=null}catch(a){c(n,"throw",a)}if(e=i(r(this.next,n)),this.done=!!e.done)return;try{this.inner=s(o(e.value,this.counter++),!1)}catch(a){c(n,"throw",a)}}}));o({target:"Iterator",proto:!0,real:!0,forced:h},{flatMap:function(e){i(this);try{a(e)}catch(t){c(this,"throw",t)}return v?r(v,this,e):new g(l(this),{mapper:e,inner:null})}})},616:function(e,t,n){"use strict";var o=n(9039);e.exports=!o((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},655:function(e,t,n){"use strict";var o=n(6955),r=String;e.exports=function(e){if("Symbol"===o(e))throw new TypeError("Cannot convert a Symbol value to a string");return r(e)}},679:function(e,t,n){"use strict";var o=n(1625),r=TypeError;e.exports=function(e,t){if(o(t,e))return e;throw new r("Incorrect invocation")}},684:function(e){"use strict";e.exports=function(e,t){var n="function"==typeof Iterator&&Iterator.prototype[e];if(n)try{n.call({next:null},t).next()}catch(o){return!0}}},741:function(e){"use strict";var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var o=+e;return(o>0?n:t)(o)}},757:function(e,t,n){"use strict";var o=n(7751),r=n(4901),a=n(1625),i=n(7040),l=Object;e.exports=i?function(e){return"symbol"==typeof e}:function(e){var t=o("Symbol");return r(t)&&a(t.prototype,l(e))}},851:function(e,t,n){"use strict";var o=n(6955),r=n(5966),a=n(4117),i=n(6269),l=n(8227),s=l("iterator");e.exports=function(e){if(!a(e))return r(e,s)||r(e,"@@iterator")||i[o(e)]}},1035:function(e,t,n){const o=n(2718),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 a(e){this.mode=o.ALPHANUMERIC,this.data=e}a.getBitsLength=function(e){return 11*Math.floor(e/2)+e%2*6},a.prototype.getLength=function(){return this.data.length},a.prototype.getBitsLength=function(){return a.getBitsLength(this.data.length)},a.prototype.write=function(e){let t;for(t=0;t+2<=this.data.length;t+=2){let n=45*r.indexOf(this.data[t]);n+=r.indexOf(this.data[t+1]),e.put(n,11)}this.data.length%2&&e.put(r.indexOf(this.data[t]),6)},e.exports=a},1051:function(e){e.exports=function(){return"function"===typeof Promise&&Promise.prototype&&Promise.prototype.then}},1072:function(e,t,n){"use strict";var o=n(1828),r=n(8727);e.exports=Object.keys||function(e){return o(e,r)}},1108:function(e,t,n){"use strict";var o=n(6955);e.exports=function(e){var t=o(e);return"BigInt64Array"===t||"BigUint64Array"===t}},1148:function(e,t,n){"use strict";var o=n(6518),r=n(9565),a=n(2652),i=n(9306),l=n(8551),s=n(1767),u=n(9539),c=n(4549),d=c("every",TypeError);o({target:"Iterator",proto:!0,real:!0,forced:d},{every:function(e){l(this);try{i(e)}catch(o){u(this,"throw",o)}if(d)return r(d,this,e);var t=s(this),n=0;return!a(t,(function(t,o){if(!e(t,n++))return o()}),{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},1181:function(e,t,n){"use strict";var o,r,a,i=n(8622),l=n(4576),s=n(34),u=n(6699),c=n(9297),d=n(7629),f=n(6119),p=n(421),m="Object already initialized",v=l.TypeError,h=l.WeakMap,g=function(e){return a(e)?r(e):o(e,{})},y=function(e){return function(t){var n;if(!s(t)||(n=r(t)).type!==e)throw new v("Incompatible receiver, "+e+" required");return n}};if(i||d.state){var b=d.state||(d.state=new h);b.get=b.get,b.has=b.has,b.set=b.set,o=function(e,t){if(b.has(e))throw new v(m);return t.facade=e,b.set(e,t),t},r=function(e){return b.get(e)||{}},a=function(e){return b.has(e)}}else{var w=f("state");p[w]=!0,o=function(e,t){if(c(e,w))throw new v(m);return t.facade=e,u(e,w,t),t},r=function(e){return c(e,w)?e[w]:{}},a=function(e){return c(e,w)}}e.exports={set:o,get:r,has:a,enforce:g,getterFor:y}},1291:function(e,t,n){"use strict";var o=n(741);e.exports=function(e){var t=+e;return t!==t||0===t?0:o(t)}},1316:function(e,t,n){function o(e){if("number"===typeof e&&(e=e.toString()),"string"!==typeof e)throw new Error("Color should be defined as hex string");let t=e.slice().replace("#","").split("");if(t.length<3||5===t.length||t.length>8)throw new Error("Invalid hex color: "+e);3!==t.length&&4!==t.length||(t=Array.prototype.concat.apply([],t.map((function(e){return[e,e]})))),6===t.length&&t.push("F","F");const n=parseInt(t.join(""),16);return{r:n>>24&255,g:n>>16&255,b:n>>8&255,a:255&n,hex:"#"+t.slice(0,6).join("")}}n(4114),n(8111),n(1701),t.getOptions=function(e){e||(e={}),e.color||(e.color={});const t="undefined"===typeof e.margin||null===e.margin||e.margin<0?4:e.margin,n=e.width&&e.width>=21?e.width:void 0,r=e.scale||4;return{width:n,scale:n?4:r,margin:t,color:{dark:o(e.color.dark||"#000000ff"),light:o(e.color.light||"#ffffffff")},type:e.type,rendererOpts:e.rendererOpts||{}}},t.getScale=function(e,t){return t.width&&t.width>=e+2*t.margin?t.width/(e+2*t.margin):t.scale},t.getImageWidth=function(e,n){const o=t.getScale(e,n);return Math.floor((e+2*n.margin)*o)},t.qrToImageData=function(e,n,o){const r=n.modules.size,a=n.modules.data,i=t.getScale(r,o),l=Math.floor((r+2*o.margin)*i),s=o.margin*i,u=[o.color.light,o.color.dark];for(let t=0;t<l;t++)for(let n=0;n<l;n++){let c=4*(t*l+n),d=o.color.light;if(t>=s&&n>=s&&t<l-s&&n<l-s){const e=Math.floor((t-s)/i),o=Math.floor((n-s)/i);d=u[a[e*r+o]?1:0]}e[c++]=d.r,e[c++]=d.g,e[c++]=d.b,e[c]=d.a}}},1385:function(e,t,n){"use strict";var o=n(9539);e.exports=function(e,t,n){for(var r=e.length-1;r>=0;r--)if(void 0!==e[r])try{n=o(e[r].iterator,t,n)}catch(a){t="throw",n=a}if("throw"===t)throw n;return n}},1555:function(e,t){function n(e){if("string"!==typeof e)throw new Error("Param is not a string");const n=e.toLowerCase();switch(n){case"l":case"low":return t.L;case"m":case"medium":return t.M;case"q":case"quartile":return t.Q;case"h":case"high":return t.H;default:throw new Error("Unknown EC Level: "+e)}}t.L={bit:1},t.M={bit:0},t.Q={bit:3},t.H={bit:2},t.isValid=function(e){return e&&"undefined"!==typeof e.bit&&e.bit>=0&&e.bit<4},t.from=function(e,o){if(t.isValid(e))return e;try{return n(e)}catch(r){return o}}},1625:function(e,t,n){"use strict";var o=n(9504);e.exports=o({}.isPrototypeOf)},1698:function(e,t,n){"use strict";var o=n(6518),r=n(4204),a=n(9835),i=n(4916),l=!i("union")||!a("union");o({target:"Set",proto:!0,real:!0,forced:l},{union:r})},1701:function(e,t,n){"use strict";var o=n(6518),r=n(9565),a=n(9306),i=n(8551),l=n(1767),s=n(9462),u=n(6319),c=n(9539),d=n(684),f=n(4549),p=n(6395),m=!p&&!d("map",(function(){})),v=!p&&!m&&f("map",TypeError),h=p||m||v,g=s((function(){var e=this.iterator,t=i(r(this.next,e)),n=this.done=!!t.done;if(!n)return u(e,this.mapper,[t.value,this.counter++],!0)}));o({target:"Iterator",proto:!0,real:!0,forced:h},{map:function(e){i(this);try{a(e)}catch(t){c(this,"throw",t)}return v?r(v,this,e):new g(l(this),{mapper:e})}})},1767:function(e){"use strict";e.exports=function(e){return{iterator:e,next:e.next,done:!1}}},1806:function(e,t,n){"use strict";var o=n(6518),r=n(8551),a=n(2652),i=n(1767),l=[].push;o({target:"Iterator",proto:!0,real:!0},{toArray:function(){var e=[];return a(i(r(this)),l,{that:e,IS_RECORD:!0}),e}})},1828:function(e,t,n){"use strict";var o=n(9504),r=n(9297),a=n(5397),i=n(9617).indexOf,l=n(421),s=o([].push);e.exports=function(e,t){var n,o=a(e),u=0,c=[];for(n in o)!r(l,n)&&r(o,n)&&s(c,n);while(t.length>u)r(o,n=t[u++])&&(~i(c,n)||s(c,n));return c}},2106:function(e,t,n){"use strict";var o=n(283),r=n(4913);e.exports=function(e,t,n){return n.get&&o(n.get,t,{getter:!0}),n.set&&o(n.set,t,{setter:!0}),r.f(e,t,n)}},2125:function(e,t,n){n(9577);const o=new Uint8Array(512),r=new Uint8Array(256);(function(){let e=1;for(let t=0;t<255;t++)o[t]=e,r[e]=t,e<<=1,256&e&&(e^=285);for(let t=255;t<512;t++)o[t]=o[t-255]})(),t.log=function(e){if(e<1)throw new Error("log("+e+")");return r[e]},t.exp=function(e){return o[e]},t.mul=function(e,t){return 0===e||0===t?0:o[r[e]+r[t]]}},2140:function(e,t,n){"use strict";var o=n(8227),r=o("toStringTag"),a={};a[r]="z",e.exports="[object z]"===String(a)},2195:function(e,t,n){"use strict";var o=n(9504),r=o({}.toString),a=o("".slice);e.exports=function(e){return a(r(e),8,-1)}},2207:function(e,t,n){n(9577);const o=n(2125);t.mul=function(e,t){const n=new Uint8Array(e.length+t.length-1);for(let r=0;r<e.length;r++)for(let a=0;a<t.length;a++)n[r+a]^=o.mul(e[r],t[a]);return n},t.mod=function(e,t){let n=new Uint8Array(e);while(n.length-t.length>=0){const e=n[0];for(let a=0;a<t.length;a++)n[a]^=o.mul(t[a],e);let r=0;while(r<n.length&&0===n[r])r++;n=n.slice(r)}return n},t.generateECPolynomial=function(e){let n=new Uint8Array([1]);for(let r=0;r<e;r++)n=t.mul(n,new Uint8Array([1,o.exp(r)]));return n}},2211:function(e,t,n){"use strict";var o=n(9039);e.exports=!o((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},2360:function(e,t,n){"use strict";var o,r=n(8551),a=n(6801),i=n(8727),l=n(421),s=n(397),u=n(4055),c=n(6119),d=">",f="<",p="prototype",m="script",v=c("IE_PROTO"),h=function(){},g=function(e){return f+m+d+e+f+"/"+m+d},y=function(e){e.write(g("")),e.close();var t=e.parentWindow.Object;return e=null,t},b=function(){var e,t=u("iframe"),n="java"+m+":";return t.style.display="none",s.appendChild(t),t.src=String(n),e=t.contentWindow.document,e.open(),e.write(g("document.F=Object")),e.close(),e.F},w=function(){try{o=new ActiveXObject("htmlfile")}catch(t){}w="undefined"!=typeof document?document.domain&&o?y(o):b():y(o);var e=i.length;while(e--)delete w[p][i[e]];return w()};l[v]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(h[p]=r(e),n=new h,h[p]=null,n[v]=e):n=w(),void 0===t?n:a.f(n,t)}},2475:function(e,t,n){"use strict";var o=n(6518),r=n(8527),a=n(4916),i=!a("isSupersetOf",(function(e){return!e}));o({target:"Set",proto:!0,real:!0,forced:i},{isSupersetOf:r})},2489:function(e,t,n){"use strict";var o=n(6518),r=n(9565),a=n(9306),i=n(8551),l=n(1767),s=n(9462),u=n(6319),c=n(6395),d=n(9539),f=n(684),p=n(4549),m=!c&&!f("filter",(function(){})),v=!c&&!m&&p("filter",TypeError),h=c||m||v,g=s((function(){var e,t,n,o=this.iterator,a=this.predicate,l=this.next;while(1){if(e=i(r(l,o)),t=this.done=!!e.done,t)return;if(n=e.value,u(o,a,[n,this.counter++],!0))return n}}));o({target:"Iterator",proto:!0,real:!0,forced:h},{filter:function(e){i(this);try{a(e)}catch(t){d(this,"throw",t)}return v?r(v,this,e):new g(l(this),{predicate:e})}})},2529:function(e){"use strict";e.exports=function(e,t){return{value:e,done:t}}},2603:function(e,t,n){"use strict";var o=n(655);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:o(e)}},2627:function(e,t,n){const o=n(2718);function r(e){this.mode=o.NUMERIC,this.data=e.toString()}r.getBitsLength=function(e){return 10*Math.floor(e/3)+(e%3?e%3*3+1:0)},r.prototype.getLength=function(){return this.data.length},r.prototype.getBitsLength=function(){return r.getBitsLength(this.data.length)},r.prototype.write=function(e){let t,n,o;for(t=0;t+3<=this.data.length;t+=3)n=this.data.substr(t,3),o=parseInt(n,10),e.put(o,10);const r=this.data.length-t;r>0&&(n=this.data.substr(t),o=parseInt(n,10),e.put(o,3*r+1))},e.exports=r},2652:function(e,t,n){"use strict";var o=n(6080),r=n(9565),a=n(8551),i=n(6823),l=n(4209),s=n(6198),u=n(1625),c=n(81),d=n(851),f=n(9539),p=TypeError,m=function(e,t){this.stopped=e,this.result=t},v=m.prototype;e.exports=function(e,t,n){var h,g,y,b,w,C,x,E=n&&n.that,S=!(!n||!n.AS_ENTRIES),k=!(!n||!n.IS_RECORD),O=!(!n||!n.IS_ITERATOR),B=!(!n||!n.INTERRUPTED),A=o(t,E),N=function(e){return h&&f(h,"normal"),new m(!0,e)},I=function(e){return S?(a(e),B?A(e[0],e[1],N):A(e[0],e[1])):B?A(e,N):A(e)};if(k)h=e.iterator;else if(O)h=e;else{if(g=d(e),!g)throw new p(i(e)+" is not iterable");if(l(g)){for(y=0,b=s(e);b>y;y++)if(w=I(e[y]),w&&u(v,w))return w;return new m(!1)}h=c(e,g)}C=k?e.next:h.next;while(!(x=r(C,h)).done){try{w=I(x.value)}catch(T){f(h,"throw",T)}if("object"==typeof w&&w&&u(v,w))return w}return new m(!1)}},2718:function(e,t,n){const o=n(3308),r=n(7610);function a(e){if("string"!==typeof e)throw new Error("Param is not a string");const n=e.toLowerCase();switch(n){case"numeric":return t.NUMERIC;case"alphanumeric":return t.ALPHANUMERIC;case"kanji":return t.KANJI;case"byte":return t.BYTE;default:throw new Error("Unknown mode: "+e)}}t.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},t.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},t.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},t.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},t.MIXED={bit:-1},t.getCharCountIndicator=function(e,t){if(!e.ccBits)throw new Error("Invalid mode: "+e);if(!o.isValid(t))throw new Error("Invalid version: "+t);return t>=1&&t<10?e.ccBits[0]:t<27?e.ccBits[1]:e.ccBits[2]},t.getBestModeForData=function(e){return r.testNumeric(e)?t.NUMERIC:r.testAlphanumeric(e)?t.ALPHANUMERIC:r.testKanji(e)?t.KANJI:t.BYTE},t.toString=function(e){if(e&&e.id)return e.id;throw new Error("Invalid mode")},t.isValid=function(e){return e&&e.bit&&e.ccBits},t.from=function(e,n){if(t.isValid(e))return e;try{return a(e)}catch(o){return n}}},2777:function(e,t,n){"use strict";var o=n(9565),r=n(34),a=n(757),i=n(5966),l=n(4270),s=n(8227),u=TypeError,c=s("toPrimitive");e.exports=function(e,t){if(!r(e)||a(e))return e;var n,s=i(e,c);if(s){if(void 0===t&&(t="default"),n=o(s,e,t),!r(n)||a(n))return n;throw new u("Can't convert object to primitive value")}return void 0===t&&(t="number"),l(e,t)}},2787:function(e,t,n){"use strict";var o=n(9297),r=n(4901),a=n(8981),i=n(6119),l=n(2211),s=i("IE_PROTO"),u=Object,c=u.prototype;e.exports=l?u.getPrototypeOf:function(e){var t=a(e);if(o(t,s))return t[s];var n=t.constructor;return r(n)&&t instanceof n?n.prototype:t instanceof u?c:null}},2796:function(e,t,n){"use strict";var o=n(9039),r=n(4901),a=/#|\.prototype\./,i=function(e,t){var n=s[l(e)];return n===c||n!==u&&(r(t)?o(t):!!t)},l=i.normalize=function(e){return String(e).replace(a,".").toLowerCase()},s=i.data={},u=i.NATIVE="N",c=i.POLYFILL="P";e.exports=i},2812:function(e){"use strict";var t=TypeError;e.exports=function(e,n){if(e<n)throw new t("Not enough arguments");return e}},2839:function(e,t,n){"use strict";var o=n(4576),r=o.navigator,a=r&&r.userAgent;e.exports=a?String(a):""},2967:function(e,t,n){"use strict";var o=n(6706),r=n(34),a=n(7750),i=n(3506);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{e=o(Object.prototype,"__proto__","set"),e(n,[]),t=n instanceof Array}catch(l){}return function(n,o){return a(n),i(o),r(n)?(t?e(n,o):n.__proto__=o,n):n}}():void 0)},3167:function(e,t,n){"use strict";var o=n(4901),r=n(34),a=n(2967);e.exports=function(e,t,n){var i,l;return a&&o(i=t.constructor)&&i!==n&&r(l=i.prototype)&&l!==n.prototype&&a(e,l),e}},3183:function(e,t,n){n(4114);const o=n(7608).getSymbolSize;t.getRowColCoords=function(e){if(1===e)return[];const t=Math.floor(e/7)+2,n=o(e),r=145===n?26:2*Math.ceil((n-13)/(2*t-2)),a=[n-7];for(let o=1;o<t-1;o++)a[o]=a[o-1]-r;return a.push(6),a.reverse()},t.getPositions=function(e){const n=[],o=t.getRowColCoords(e),r=o.length;for(let t=0;t<r;t++)for(let e=0;e<r;e++)0===t&&0===e||0===t&&e===r-1||t===r-1&&0===e||n.push([o[t],o[e]]);return n}},3308:function(e,t){t.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40}},3392:function(e,t,n){"use strict";var o=n(9504),r=0,a=Math.random(),i=o(1.1.toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+i(++r+a,36)}},3440:function(e,t,n){"use strict";var o=n(7080),r=n(4402),a=n(9286),i=n(5170),l=n(3789),s=n(8469),u=n(507),c=r.has,d=r.remove;e.exports=function(e){var t=o(this),n=l(e),r=a(t);return i(t)<=n.size?s(t,(function(e){n.includes(e)&&d(r,e)})):u(n.getIterator(),(function(e){c(r,e)&&d(r,e)})),r}},3506:function(e,t,n){"use strict";var o=n(3925),r=String,a=TypeError;e.exports=function(e){if(o(e))return e;throw new a("Can't set "+r(e)+" as a prototype")}},3579:function(e,t,n){"use strict";var o=n(6518),r=n(9565),a=n(2652),i=n(9306),l=n(8551),s=n(1767),u=n(9539),c=n(4549),d=c("some",TypeError);o({target:"Iterator",proto:!0,real:!0,forced:d},{some:function(e){l(this);try{i(e)}catch(o){u(this,"throw",o)}if(d)return r(d,this,e);var t=s(this),n=0;return a(t,(function(t,o){if(e(t,n++))return o()}),{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},3650:function(e,t,n){"use strict";var o=n(7080),r=n(4402),a=n(9286),i=n(3789),l=n(507),s=r.add,u=r.has,c=r.remove;e.exports=function(e){var t=o(this),n=i(e).getIterator(),r=a(t);return l(n,(function(e){u(t,e)?c(r,e):s(r,e)})),r}},3706:function(e,t,n){"use strict";var o=n(9504),r=n(4901),a=n(7629),i=o(Function.toString);r(a.inspectSource)||(a.inspectSource=function(e){return i(e)}),e.exports=a.inspectSource},3717:function(e,t){"use strict";t.f=Object.getOwnPropertySymbols},3724:function(e,t,n){"use strict";var o=n(9039);e.exports=!o((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},3789:function(e,t,n){"use strict";var o=n(9306),r=n(8551),a=n(9565),i=n(1291),l=n(1767),s="Invalid size",u=RangeError,c=TypeError,d=Math.max,f=function(e,t){this.set=e,this.size=d(t,0),this.has=o(e.has),this.keys=o(e.keys)};f.prototype={getIterator:function(){return l(r(a(this.keys,this.set)))},includes:function(e){return a(this.has,this.set,e)}},e.exports=function(e){r(e);var t=+e.size;if(t!==t)throw new c(s);var n=i(t);if(n<0)throw new u(s);return new f(e,n)}},3838:function(e,t,n){"use strict";var o=n(7080),r=n(5170),a=n(8469),i=n(3789);e.exports=function(e){var t=o(this),n=i(e);return!(r(t)>n.size)&&!1!==a(t,(function(e){if(!n.includes(e))return!1}),!0)}},3853:function(e,t,n){"use strict";var o=n(6518),r=n(4449),a=n(4916),i=!a("isDisjointFrom",(function(e){return!e}));o({target:"Set",proto:!0,real:!0,forced:i},{isDisjointFrom:r})},3925:function(e,t,n){"use strict";var o=n(34);e.exports=function(e){return o(e)||null===e}},4055:function(e,t,n){"use strict";var o=n(4576),r=n(34),a=o.document,i=r(a)&&r(a.createElement);e.exports=function(e){return i?a.createElement(e):{}}},4094:function(e,t,n){n(9577);const o=n(2207);function r(e){this.genPoly=void 0,this.degree=e,this.degree&&this.initialize(this.degree)}r.prototype.initialize=function(e){this.degree=e,this.genPoly=o.generateECPolynomial(this.degree)},r.prototype.encode=function(e){if(!this.genPoly)throw new Error("Encoder not initialized");const t=new Uint8Array(e.length+this.degree);t.set(e);const n=o.mod(t,this.genPoly),r=this.degree-n.length;if(r>0){const e=new Uint8Array(this.degree);return e.set(n,r),e}return n},e.exports=r},4114:function(e,t,n){"use strict";var o=n(6518),r=n(8981),a=n(6198),i=n(4527),l=n(6837),s=n(9039),u=s((function(){return 4294967297!==[].push.call({length:4294967296},1)})),c=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}},d=u||!c();o({target:"Array",proto:!0,arity:1,forced:d},{push:function(e){var t=r(this),n=a(t),o=arguments.length;l(n+o);for(var s=0;s<o;s++)t[n]=arguments[s],n++;return i(t,n),n}})},4117:function(e){"use strict";e.exports=function(e){return null===e||void 0===e}},4123:function(e,t,n){const o=n(2718),r=n(7608);function a(e){this.mode=o.KANJI,this.data=e}a.getBitsLength=function(e){return 13*e},a.prototype.getLength=function(){return this.data.length},a.prototype.getBitsLength=function(){return a.getBitsLength(this.data.length)},a.prototype.write=function(e){let t;for(t=0;t<this.data.length;t++){let n=r.toSJIS(this.data[t]);if(n>=33088&&n<=40956)n-=33088;else{if(!(n>=57408&&n<=60351))throw new Error("Invalid SJIS character: "+this.data[t]+"\nMake sure your charset is UTF-8");n-=49472}n=192*(n>>>8&255)+(255&n),e.put(n,13)}},e.exports=a},4204:function(e,t,n){"use strict";var o=n(7080),r=n(4402).add,a=n(9286),i=n(3789),l=n(507);e.exports=function(e){var t=o(this),n=i(e).getIterator(),s=a(t);return l(n,(function(e){r(s,e)})),s}},4209:function(e,t,n){"use strict";var o=n(8227),r=n(6269),a=o("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||i[a]===e)}},4215:function(e,t,n){"use strict";var o=n(4576),r=n(2839),a=n(2195),i=function(e){return r.slice(0,e.length)===e};e.exports=function(){return i("Bun/")?"BUN":i("Cloudflare-Workers")?"CLOUDFLARE":i("Deno/")?"DENO":i("Node.js/")?"NODE":o.Bun&&"string"==typeof Bun.version?"BUN":o.Deno&&"object"==typeof Deno.version?"DENO":"process"===a(o.process)?"NODE":o.window&&o.document?"BROWSER":"REST"}()},4224:function(e,t,n){n(9577);const o=n(2718);function r(e){this.mode=o.BYTE,this.data="string"===typeof e?(new TextEncoder).encode(e):new Uint8Array(e)}r.getBitsLength=function(e){return 8*e},r.prototype.getLength=function(){return this.data.length},r.prototype.getBitsLength=function(){return r.getBitsLength(this.data.length)},r.prototype.write=function(e){for(let t=0,n=this.data.length;t<n;t++)e.put(this.data[t],8)},e.exports=r},4270:function(e,t,n){"use strict";var o=n(9565),r=n(4901),a=n(34),i=TypeError;e.exports=function(e,t){var n,l;if("string"===t&&r(n=e.toString)&&!a(l=o(n,e)))return l;if(r(n=e.valueOf)&&!a(l=o(n,e)))return l;if("string"!==t&&r(n=e.toString)&&!a(l=o(n,e)))return l;throw new i("Can't convert object to primitive value")}},4275:function(){window.__mb_tpa_component_NativeConfig={TestModule:{methods:["test"],constants:{}},FilePickerModule:{methods:["pickFiles","pickDirectory"],constants:{}},SendMsgsModule:{methods:["sendMsgs","getTaskEstimatedTime"],constants:{}},LoginModule:{methods:["syncLoginInfo","getWeworkAcccountInfo","updateCurrentStaff","tokenExpired","clearWebCache","updatePageMode","updateCurrentRole","logout"],constants:{}},DeviceModule:{methods:["getDeviceInfo"],constants:{}},UpgradeModule:{methods:["getUpgradeInfo","summonInstallation"],constants:{}},FileModule:{methods:["deleteFile","pickDirectory","deleteFolder","getFileStatus","getDiskSpace","copyLocalFile"],constants:{}},DownloadModule:{methods:["downloadFiles","deleteCacheDirectory","moveFileToCacheByLink","moveFileToCacheByFilePath","getLinkFileList","moveFileToCacheByParams"],constants:{}},StorageModule:{methods:["getMarkVersion","updateMarkVersion"],constants:{}},LogReportModule:{methods:["zipLog","getZipPath","getApplicationSupportDirectory","getApplicationCacheDirectory","getApplicationSupportDirectoryAllPath","getDownloadPath"],constants:{}},LocalResultModule:{methods:["getResult","removeResult","getLocalAllTaskIds"],constants:{}},MessageNotifyModule:{methods:["startGetMessage","registerListener"],constants:{}},TaskResourceModule:{methods:["addResources","getResources","releaseResources","reloadResources","clearDeprecatedResources","changeCachePath","getCachePath","clearTempResources","clearMagicBallLinkDict"],constants:{}},TaskPrepareModule:{methods:["getAppState","getAppVersion","getScreenScale","getDiskAvailableSpace","checkDependencyState","fixDependencyFiles"],constants:{}},RouterModule:{methods:["openBrowser"],constants:{}},WindowHandelModule:{methods:["showWindow","hideWindow","exitApp","registerWindowEventListener"],constants:{}}}},4376:function(e,t,n){"use strict";var o=n(2195);e.exports=Array.isArray||function(e){return"Array"===o(e)}},4402:function(e,t,n){"use strict";var o=n(9504),r=Set.prototype;e.exports={Set:Set,add:o(r.add),has:o(r.has),remove:o(r["delete"]),proto:r}},4449:function(e,t,n){"use strict";var o=n(7080),r=n(4402).has,a=n(5170),i=n(3789),l=n(8469),s=n(507),u=n(9539);e.exports=function(e){var t=o(this),n=i(e);if(a(t)<=n.size)return!1!==l(t,(function(e){if(n.includes(e))return!1}),!0);var c=n.getIterator();return!1!==s(c,(function(e){if(r(t,e))return u(c,"normal",!1)}))}},4495:function(e,t,n){"use strict";var o=n(9519),r=n(9039),a=n(4576),i=a.String;e.exports=!!Object.getOwnPropertySymbols&&!r((function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&o&&o<41}))},4527:function(e,t,n){"use strict";var o=n(3724),r=n(4376),a=TypeError,i=Object.getOwnPropertyDescriptor,l=o&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=l?function(e,t){if(r(e)&&!i(e,"length").writable)throw new a("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},4549:function(e,t,n){"use strict";var o=n(4576);e.exports=function(e,t){var n=o.Iterator,r=n&&n.prototype,a=r&&r[e],i=!1;if(a)try{a.call({next:function(){return{done:!0}},return:function(){i=!0}},-1)}catch(l){l instanceof t||(i=!1)}if(!i)return a}},4576:function(e,t,n){"use strict";var o=function(e){return e&&e.Math===Math&&e};e.exports=o("object"==typeof globalThis&&globalThis)||o("object"==typeof window&&window)||o("object"==typeof self&&self)||o("object"==typeof n.g&&n.g)||o("object"==typeof this&&this)||function(){return this}()||Function("return this")()},4644:function(e,t,n){"use strict";var o,r,a,i=n(7811),l=n(3724),s=n(4576),u=n(4901),c=n(34),d=n(9297),f=n(6955),p=n(6823),m=n(6699),v=n(6840),h=n(2106),g=n(1625),y=n(2787),b=n(2967),w=n(8227),C=n(3392),x=n(1181),E=x.enforce,S=x.get,k=s.Int8Array,O=k&&k.prototype,B=s.Uint8ClampedArray,A=B&&B.prototype,N=k&&y(k),I=O&&y(O),T=Object.prototype,V=s.TypeError,R=w("toStringTag"),j=C("TYPED_ARRAY_TAG"),P="TypedArrayConstructor",_=i&&!!b&&"Opera"!==f(s.opera),M=!1,F={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},L={BigInt64Array:8,BigUint64Array:8},z=function(e){if(!c(e))return!1;var t=f(e);return"DataView"===t||d(F,t)||d(L,t)},D=function(e){var t=y(e);if(c(t)){var n=S(t);return n&&d(n,P)?n[P]:D(t)}},U=function(e){if(!c(e))return!1;var t=f(e);return d(F,t)||d(L,t)},H=function(e){if(U(e))return e;throw new V("Target is not a typed array")},q=function(e){if(u(e)&&(!b||g(N,e)))return e;throw new V(p(e)+" is not a typed array constructor")},K=function(e,t,n,o){if(l){if(n)for(var r in F){var a=s[r];if(a&&d(a.prototype,e))try{delete a.prototype[e]}catch(i){try{a.prototype[e]=t}catch(u){}}}I[e]&&!n||v(I,e,n?t:_&&O[e]||t,o)}},W=function(e,t,n){var o,r;if(l){if(b){if(n)for(o in F)if(r=s[o],r&&d(r,e))try{delete r[e]}catch(a){}if(N[e]&&!n)return;try{return v(N,e,n?t:_&&N[e]||t)}catch(a){}}for(o in F)r=s[o],!r||r[e]&&!n||v(r,e,t)}};for(o in F)r=s[o],a=r&&r.prototype,a?E(a)[P]=r:_=!1;for(o in L)r=s[o],a=r&&r.prototype,a&&(E(a)[P]=r);if((!_||!u(N)||N===Function.prototype)&&(N=function(){throw new V("Incorrect invocation")},_))for(o in F)s[o]&&b(s[o],N);if((!_||!I||I===T)&&(I=N.prototype,_))for(o in F)s[o]&&b(s[o].prototype,I);if(_&&y(A)!==I&&b(A,I),l&&!d(I,R))for(o in M=!0,h(I,R,{configurable:!0,get:function(){return c(this)?this[j]:void 0}}),F)s[o]&&m(s[o],j,o);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:_,TYPED_ARRAY_TAG:M&&j,aTypedArray:H,aTypedArrayConstructor:q,exportTypedArrayMethod:K,exportTypedArrayStaticMethod:W,getTypedArrayConstructor:D,isView:z,isTypedArray:U,TypedArray:N,TypedArrayPrototype:I}},4659:function(e,t,n){"use strict";var o=n(3724),r=n(4913),a=n(6980);e.exports=function(e,t,n){o?r.f(e,t,a(0,n)):e[t]=n}},4901:function(e){"use strict";var t="object"==typeof document&&document.all;e.exports="undefined"==typeof t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},4913:function(e,t,n){"use strict";var o=n(3724),r=n(5917),a=n(8686),i=n(8551),l=n(6969),s=TypeError,u=Object.defineProperty,c=Object.getOwnPropertyDescriptor,d="enumerable",f="configurable",p="writable";t.f=o?a?function(e,t,n){if(i(e),t=l(t),i(n),"function"===typeof e&&"prototype"===t&&"value"in n&&p in n&&!n[p]){var o=c(e,t);o&&o[p]&&(e[t]=n.value,n={configurable:f in n?n[f]:o[f],enumerable:d in n?n[d]:o[d],writable:!1})}return u(e,t,n)}:u:function(e,t,n){if(i(e),t=l(t),i(n),r)try{return u(e,t,n)}catch(o){}if("get"in n||"set"in n)throw new s("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},4916:function(e,t,n){"use strict";var o=n(7751),r=function(e){return{size:e,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}},a=function(e){return{size:e,has:function(){return!0},keys:function(){throw new Error("e")}}};e.exports=function(e,t){var n=o("Set");try{(new n)[e](r(0));try{return(new n)[e](r(-1)),!1}catch(l){if(!t)return!0;try{return(new n)[e](a(-1/0)),!1}catch(s){var i=new n;return i.add(1),i.add(2),t(i[e](a(1/0)))}}}catch(s){return!1}}},4938:function(e,t,n){"use strict";n(4114);var o={single_source_shortest_paths:function(e,t,n){var r={},a={};a[t]=0;var i,l,s,u,c,d,f,p,m,v=o.PriorityQueue.make();v.push(t,0);while(!v.empty())for(s in i=v.pop(),l=i.value,u=i.cost,c=e[l]||{},c)c.hasOwnProperty(s)&&(d=c[s],f=u+d,p=a[s],m="undefined"===typeof a[s],(m||p>f)&&(a[s]=f,v.push(s,f),r[s]=l));if("undefined"!==typeof n&&"undefined"===typeof a[n]){var h=["Could not find a path from ",t," to ",n,"."].join("");throw new Error(h)}return r},extract_shortest_path_from_predecessor_list:function(e,t){var n=[],o=t;while(o)n.push(o),e[o],o=e[o];return n.reverse(),n},find_path:function(e,t,n){var r=o.single_source_shortest_paths(e,t,n);return o.extract_shortest_path_from_predecessor_list(r,n)},PriorityQueue:{make:function(e){var t,n=o.PriorityQueue,r={};for(t in e=e||{},n)n.hasOwnProperty(t)&&(r[t]=n[t]);return r.queue=[],r.sorter=e.sorter||n.default_sorter,r},default_sorter:function(e,t){return e.cost-t.cost},push:function(e,t){var n={value:e,cost:t};this.queue.push(n),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};e.exports=o},4979:function(e,t,n){"use strict";var o=n(6518),r=n(4576),a=n(7751),i=n(6980),l=n(4913).f,s=n(9297),u=n(679),c=n(3167),d=n(2603),f=n(5002),p=n(8574),m=n(3724),v=n(6395),h="DOMException",g=a("Error"),y=a(h),b=function(){u(this,w);var e=arguments.length,t=d(e<1?void 0:arguments[0]),n=d(e<2?void 0:arguments[1],"Error"),o=new y(t,n),r=new g(t);return r.name=h,l(o,"stack",i(1,p(r.stack,1))),c(o,this,b),o},w=b.prototype=y.prototype,C="stack"in new g(h),x="stack"in new y(1,2),E=y&&m&&Object.getOwnPropertyDescriptor(r,h),S=!!E&&!(E.writable&&E.configurable),k=C&&!S&&!x;o({global:!0,constructor:!0,forced:v||k},{DOMException:k?b:y});var O=a(h),B=O.prototype;if(B.constructor!==O)for(var A in v||l(B,"constructor",i(1,O)),f)if(s(f,A)){var N=f[A],I=N.s;s(O,I)||l(O,I,i(6,N.c))}},5002:function(e){"use strict";e.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},5024:function(e,t,n){"use strict";var o=n(6518),r=n(3650),a=n(9835),i=n(4916),l=!i("symmetricDifference")||!a("symmetricDifference");o({target:"Set",proto:!0,real:!0,forced:l},{symmetricDifference:r})},5031:function(e,t,n){"use strict";var o=n(7751),r=n(9504),a=n(8480),i=n(3717),l=n(8551),s=r([].concat);e.exports=o("Reflect","ownKeys")||function(e){var t=a.f(l(e)),n=i.f;return n?s(t,n(e)):t}},5170:function(e,t,n){"use strict";var o=n(6706),r=n(4402);e.exports=o(r.proto,"size","get")||function(e){return e.size}},5397:function(e,t,n){"use strict";var o=n(7055),r=n(7750);e.exports=function(e){return o(r(e))}},5422:function(e,t,n){function o(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)}n(9577),o.prototype.set=function(e,t,n,o){const r=e*this.size+t;this.data[r]=n,o&&(this.reservedBit[r]=!0)},o.prototype.get=function(e,t){return this.data[e*this.size+t]},o.prototype.xor=function(e,t,n){this.data[e*this.size+t]^=n},o.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]},e.exports=o},5499:function(e,t,n){n(4114),n(8111),n(1701),n(8237);const o=n(2718),r=n(2627),a=n(1035),i=n(4224),l=n(4123),s=n(7610),u=n(7608),c=n(4938);function d(e){return unescape(encodeURIComponent(e)).length}function f(e,t,n){const o=[];let r;while(null!==(r=e.exec(n)))o.push({data:r[0],index:r.index,mode:t,length:r[0].length});return o}function p(e){const t=f(s.NUMERIC,o.NUMERIC,e),n=f(s.ALPHANUMERIC,o.ALPHANUMERIC,e);let r,a;u.isKanjiModeEnabled()?(r=f(s.BYTE,o.BYTE,e),a=f(s.KANJI,o.KANJI,e)):(r=f(s.BYTE_KANJI,o.BYTE,e),a=[]);const i=t.concat(n,r,a);return i.sort((function(e,t){return e.index-t.index})).map((function(e){return{data:e.data,mode:e.mode,length:e.length}}))}function m(e,t){switch(t){case o.NUMERIC:return r.getBitsLength(e);case o.ALPHANUMERIC:return a.getBitsLength(e);case o.KANJI:return l.getBitsLength(e);case o.BYTE:return i.getBitsLength(e)}}function v(e){return e.reduce((function(e,t){const n=e.length-1>=0?e[e.length-1]:null;return n&&n.mode===t.mode?(e[e.length-1].data+=t.data,e):(e.push(t),e)}),[])}function h(e){const t=[];for(let n=0;n<e.length;n++){const r=e[n];switch(r.mode){case o.NUMERIC:t.push([r,{data:r.data,mode:o.ALPHANUMERIC,length:r.length},{data:r.data,mode:o.BYTE,length:r.length}]);break;case o.ALPHANUMERIC:t.push([r,{data:r.data,mode:o.BYTE,length:r.length}]);break;case o.KANJI:t.push([r,{data:r.data,mode:o.BYTE,length:d(r.data)}]);break;case o.BYTE:t.push([{data:r.data,mode:o.BYTE,length:d(r.data)}])}}return t}function g(e,t){const n={},r={start:{}};let a=["start"];for(let i=0;i<e.length;i++){const l=e[i],s=[];for(let e=0;e<l.length;e++){const u=l[e],c=""+i+e;s.push(c),n[c]={node:u,lastCount:0},r[c]={};for(let e=0;e<a.length;e++){const i=a[e];n[i]&&n[i].node.mode===u.mode?(r[i][c]=m(n[i].lastCount+u.length,u.mode)-m(n[i].lastCount,u.mode),n[i].lastCount+=u.length):(n[i]&&(n[i].lastCount=u.length),r[i][c]=m(u.length,u.mode)+4+o.getCharCountIndicator(u.mode,t))}}a=s}for(let o=0;o<a.length;o++)r[a[o]].end=0;return{map:r,table:n}}function y(e,t){let n;const s=o.getBestModeForData(e);if(n=o.from(t,s),n!==o.BYTE&&n.bit<s.bit)throw new Error('"'+e+'" cannot be encoded with mode '+o.toString(n)+".\n Suggested mode is: "+o.toString(s));switch(n!==o.KANJI||u.isKanjiModeEnabled()||(n=o.BYTE),n){case o.NUMERIC:return new r(e);case o.ALPHANUMERIC:return new a(e);case o.KANJI:return new l(e);case o.BYTE:return new i(e)}}t.fromArray=function(e){return e.reduce((function(e,t){return"string"===typeof t?e.push(y(t,null)):t.data&&e.push(y(t.data,t.mode)),e}),[])},t.fromString=function(e,n){const o=p(e,u.isKanjiModeEnabled()),r=h(o),a=g(r,n),i=c.find_path(a.map,"start","end"),l=[];for(let t=1;t<i.length-1;t++)l.push(a.table[i[t]].node);return t.fromArray(v(l))},t.rawSplit=function(e){return t.fromArray(p(e,u.isKanjiModeEnabled()))}},5562:function(e,t,n){const o=n(7608).getSymbolSize,r=7;t.getPositions=function(e){const t=o(e);return[[0,0],[t-r,0],[0,t-r]]}},5610:function(e,t,n){"use strict";var o=n(1291),r=Math.max,a=Math.min;e.exports=function(e,t){var n=o(e);return n<0?r(n+t,0):a(n,t)}},5745:function(e,t,n){"use strict";var o=n(7629);e.exports=function(e,t){return o[e]||(o[e]=t||{})}},5854:function(e,t,n){"use strict";var o=n(2777),r=TypeError;e.exports=function(e){var t=o(e,"number");if("number"==typeof t)throw new r("Can't convert number to bigint");return BigInt(t)}},5865:function(e,t,n){const o=n(1316);function r(e,t,n){e.clearRect(0,0,t.width,t.height),t.style||(t.style={}),t.height=n,t.width=n,t.style.height=n+"px",t.style.width=n+"px"}function a(){try{return document.createElement("canvas")}catch(e){throw new Error("You need to specify a canvas element")}}t.render=function(e,t,n){let i=n,l=t;"undefined"!==typeof i||t&&t.getContext||(i=t,t=void 0),t||(l=a()),i=o.getOptions(i);const s=o.getImageWidth(e.modules.size,i),u=l.getContext("2d"),c=u.createImageData(s,s);return o.qrToImageData(c.data,e,i),r(u,l,s),u.putImageData(c,0,0),l},t.renderToDataURL=function(e,n,o){let r=o;"undefined"!==typeof r||n&&n.getContext||(r=n,n=void 0),r||(r={});const a=t.render(e,n,r),i=r.type||"image/png",l=r.rendererOpts||{};return a.toDataURL(i,l.quality)}},5876:function(e,t,n){"use strict";var o=n(6518),r=n(3838),a=n(4916),i=!a("isSubsetOf",(function(e){return e}));o({target:"Set",proto:!0,real:!0,forced:i},{isSubsetOf:r})},5917:function(e,t,n){"use strict";var o=n(3724),r=n(9039),a=n(4055);e.exports=!o&&!r((function(){return 7!==Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))},5966:function(e,t,n){"use strict";var o=n(9306),r=n(4117);e.exports=function(e,t){var n=e[t];return r(n)?void 0:o(n)}},6080:function(e,t,n){"use strict";var o=n(7476),r=n(9306),a=n(616),i=o(o.bind);e.exports=function(e,t){return r(e),void 0===t?e:a?i(e,t):function(){return e.apply(t,arguments)}}},6119:function(e,t,n){"use strict";var o=n(5745),r=n(3392),a=o("keys");e.exports=function(e){return a[e]||(a[e]=r(e))}},6193:function(e,t,n){"use strict";var o=n(4215);e.exports="NODE"===o},6198:function(e,t,n){"use strict";var o=n(8014);e.exports=function(e){return o(e.length)}},6269:function(e){"use strict";e.exports={}},6279:function(e,t,n){"use strict";var o=n(6840);e.exports=function(e,t,n){for(var r in t)o(e,r,t[r],n);return e}},6319:function(e,t,n){"use strict";var o=n(8551),r=n(9539);e.exports=function(e,t,n,a){try{return a?t(o(n)[0],n[1]):t(n)}catch(i){r(e,"throw",i)}}},6368:function(e,t,n){"use strict";var o=n(6518),r=n(4576),a=n(9225).clear;o({global:!0,bind:!0,enumerable:!0,forced:r.clearImmediate!==a},{clearImmediate:a})},6395:function(e){"use strict";e.exports=!1},6518:function(e,t,n){"use strict";var o=n(4576),r=n(7347).f,a=n(6699),i=n(6840),l=n(9433),s=n(7740),u=n(2796);e.exports=function(e,t){var n,c,d,f,p,m,v=e.target,h=e.global,g=e.stat;if(c=h?o:g?o[v]||l(v,{}):o[v]&&o[v].prototype,c)for(d in t){if(p=t[d],e.dontCallGetSet?(m=r(c,d),f=m&&m.value):f=c[d],n=u(h?d:v+(g?".":"#")+d,e.forced),!n&&void 0!==f){if(typeof p==typeof f)continue;s(p,f)}(e.sham||f&&f.sham)&&a(p,"sham",!0),i(c,d,p,e)}}},6699:function(e,t,n){"use strict";var o=n(3724),r=n(4913),a=n(6980);e.exports=o?function(e,t,n){return r.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}},6706:function(e,t,n){"use strict";var o=n(9504),r=n(9306);e.exports=function(e,t,n){try{return o(r(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(a){}}},6801:function(e,t,n){"use strict";var o=n(3724),r=n(8686),a=n(4913),i=n(8551),l=n(5397),s=n(1072);t.f=o&&!r?Object.defineProperties:function(e,t){i(e);var n,o=l(t),r=s(t),u=r.length,c=0;while(u>c)a.f(e,n=r[c++],o[n]);return e}},6809:function(e,t,n){const o=n(1051),r=n(7059),a=n(5865),i=n(6990);function l(e,t,n,a,i){const l=[].slice.call(arguments,1),s=l.length,u="function"===typeof l[s-1];if(!u&&!o())throw new Error("Callback required as last argument");if(!u){if(s<1)throw new Error("Too few arguments provided");return 1===s?(n=t,t=a=void 0):2!==s||t.getContext||(a=n,n=t,t=void 0),new Promise((function(o,i){try{const i=r.create(n,a);o(e(i,t,a))}catch(l){i(l)}}))}if(s<2)throw new Error("Too few arguments provided");2===s?(i=n,n=t,t=a=void 0):3===s&&(t.getContext&&"undefined"===typeof i?(i=a,a=void 0):(i=a,a=n,n=t,t=void 0));try{const o=r.create(n,a);i(null,e(o,t,a))}catch(c){i(c)}}t.create=r.create,t.toCanvas=l.bind(null,a.render),t.toDataURL=l.bind(null,a.renderToDataURL),t.toString=l.bind(null,(function(e,t,n){return i.render(e,n)}))},6823:function(e){"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(n){return"Object"}}},6837:function(e){"use strict";var t=TypeError,n=9007199254740991;e.exports=function(e){if(e>n)throw t("Maximum allowed index exceeded");return e}},6840:function(e,t,n){"use strict";var o=n(4901),r=n(4913),a=n(283),i=n(9433);e.exports=function(e,t,n,l){l||(l={});var s=l.enumerable,u=void 0!==l.name?l.name:t;if(o(n)&&a(n,u,l),l.global)s?e[t]=n:i(t,n);else{try{l.unsafe?e[t]&&(s=!0):delete e[t]}catch(c){}s?e[t]=n:r.f(e,t,{value:n,enumerable:!1,configurable:!l.nonConfigurable,writable:!l.nonWritable})}return e}},6955:function(e,t,n){"use strict";var o=n(2140),r=n(4901),a=n(2195),i=n(8227),l=i("toStringTag"),s=Object,u="Arguments"===a(function(){return arguments}()),c=function(e,t){try{return e[t]}catch(n){}};e.exports=o?a:function(e){var t,n,o;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=c(t=s(e),l))?n:u?a(t):"Object"===(o=a(t))&&r(t.callee)?"Arguments":o}},6969:function(e,t,n){"use strict";var o=n(2777),r=n(757);e.exports=function(e){var t=o(e,"string");return r(t)?t:t+""}},6980:function(e){"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},6990:function(e,t,n){const o=n(1316);function r(e,t){const n=e.a/255,o=t+'="'+e.hex+'"';return n<1?o+" "+t+'-opacity="'+n.toFixed(2).slice(1)+'"':o}function a(e,t,n){let o=e+t;return"undefined"!==typeof n&&(o+=" "+n),o}function i(e,t,n){let o="",r=0,i=!1,l=0;for(let s=0;s<e.length;s++){const u=Math.floor(s%t),c=Math.floor(s/t);u||i||(i=!0),e[s]?(l++,s>0&&u>0&&e[s-1]||(o+=i?a("M",u+n,.5+c+n):a("m",r,0),r=0,i=!1),u+1<t&&e[s+1]||(o+=a("h",l),l=0)):r++}return o}t.render=function(e,t,n){const a=o.getOptions(t),l=e.modules.size,s=e.modules.data,u=l+2*a.margin,c=a.color.light.a?"<path "+r(a.color.light,"fill")+' d="M0 0h'+u+"v"+u+'H0z"/>':"",d="<path "+r(a.color.dark,"stroke")+' d="'+i(s,l,a.margin)+'"/>',f='viewBox="0 0 '+u+" "+u+'"',p=a.width?'width="'+a.width+'" height="'+a.width+'" ':"",m='<svg xmlns="http://www.w3.org/2000/svg" '+p+f+' shape-rendering="crispEdges">'+c+d+"</svg>\n";return"function"===typeof n&&n(null,m),m}},7040:function(e,t,n){"use strict";var o=n(4495);e.exports=o&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},7055:function(e,t,n){"use strict";var o=n(9504),r=n(9039),a=n(2195),i=Object,l=o("".split);e.exports=r((function(){return!i("z").propertyIsEnumerable(0)}))?function(e){return"String"===a(e)?l(e,""):i(e)}:i},7059:function(e,t,n){n(8111),n(7588),n(9577);const o=n(7608),r=n(1555),a=n(7449),i=n(5422),l=n(3183),s=n(5562),u=n(9726),c=n(7856),d=n(4094),f=n(8741),p=n(339),m=n(2718),v=n(5499);function h(e,t){const n=e.size,o=s.getPositions(t);for(let r=0;r<o.length;r++){const t=o[r][0],a=o[r][1];for(let o=-1;o<=7;o++)if(!(t+o<=-1||n<=t+o))for(let r=-1;r<=7;r++)a+r<=-1||n<=a+r||(o>=0&&o<=6&&(0===r||6===r)||r>=0&&r<=6&&(0===o||6===o)||o>=2&&o<=4&&r>=2&&r<=4?e.set(t+o,a+r,!0,!0):e.set(t+o,a+r,!1,!0))}}function g(e){const t=e.size;for(let n=8;n<t-8;n++){const t=n%2===0;e.set(n,6,t,!0),e.set(6,n,t,!0)}}function y(e,t){const n=l.getPositions(t);for(let o=0;o<n.length;o++){const t=n[o][0],r=n[o][1];for(let n=-2;n<=2;n++)for(let o=-2;o<=2;o++)-2===n||2===n||-2===o||2===o||0===n&&0===o?e.set(t+n,r+o,!0,!0):e.set(t+n,r+o,!1,!0)}}function b(e,t){const n=e.size,o=f.getEncodedBits(t);let r,a,i;for(let l=0;l<18;l++)r=Math.floor(l/3),a=l%3+n-8-3,i=1===(o>>l&1),e.set(r,a,i,!0),e.set(a,r,i,!0)}function w(e,t,n){const o=e.size,r=p.getEncodedBits(t,n);let a,i;for(a=0;a<15;a++)i=1===(r>>a&1),a<6?e.set(a,8,i,!0):a<8?e.set(a+1,8,i,!0):e.set(o-15+a,8,i,!0),a<8?e.set(8,o-a-1,i,!0):a<9?e.set(8,15-a-1+1,i,!0):e.set(8,15-a-1,i,!0);e.set(o-8,8,1,!0)}function C(e,t){const n=e.size;let o=-1,r=n-1,a=7,i=0;for(let l=n-1;l>0;l-=2){6===l&&l--;while(1){for(let n=0;n<2;n++)if(!e.isReserved(r,l-n)){let o=!1;i<t.length&&(o=1===(t[i]>>>a&1)),e.set(r,l-n,o),a--,-1===a&&(i++,a=7)}if(r+=o,r<0||n<=r){r-=o,o=-o;break}}}}function x(e,t,n){const r=new a;n.forEach((function(t){r.put(t.mode.bit,4),r.put(t.getLength(),m.getCharCountIndicator(t.mode,e)),t.write(r)}));const i=o.getSymbolTotalCodewords(e),l=c.getTotalCodewordsCount(e,t),s=8*(i-l);r.getLengthInBits()+4<=s&&r.put(0,4);while(r.getLengthInBits()%8!==0)r.putBit(0);const u=(s-r.getLengthInBits())/8;for(let o=0;o<u;o++)r.put(o%2?17:236,8);return E(r,e,t)}function E(e,t,n){const r=o.getSymbolTotalCodewords(t),a=c.getTotalCodewordsCount(t,n),i=r-a,l=c.getBlocksCount(t,n),s=r%l,u=l-s,f=Math.floor(r/l),p=Math.floor(i/l),m=p+1,v=f-p,h=new d(v);let g=0;const y=new Array(l),b=new Array(l);let w=0;const C=new Uint8Array(e.buffer);for(let o=0;o<l;o++){const e=o<u?p:m;y[o]=C.slice(g,g+e),b[o]=h.encode(y[o]),g+=e,w=Math.max(w,e)}const x=new Uint8Array(r);let E,S,k=0;for(E=0;E<w;E++)for(S=0;S<l;S++)E<y[S].length&&(x[k++]=y[S][E]);for(E=0;E<v;E++)for(S=0;S<l;S++)x[k++]=b[S][E];return x}function S(e,t,n,r){let a;if(Array.isArray(e))a=v.fromArray(e);else{if("string"!==typeof e)throw new Error("Invalid data");{let o=t;if(!o){const t=v.rawSplit(e);o=f.getBestVersionForData(t,n)}a=v.fromString(e,o||40)}}const l=f.getBestVersionForData(a,n);if(!l)throw new Error("The amount of data is too big to be stored in a QR Code");if(t){if(t<l)throw new Error("\nThe chosen QR Code version cannot contain this amount of data.\nMinimum version required to store current data is: "+l+".\n")}else t=l;const s=x(t,n,a),c=o.getSymbolSize(t),d=new i(c);return h(d,t),g(d),y(d,t),w(d,n,0),t>=7&&b(d,t),C(d,s),isNaN(r)&&(r=u.getBestMask(d,w.bind(null,d,n))),u.applyMask(r,d),w(d,n,r),{modules:d,version:t,errorCorrectionLevel:n,maskPattern:r,segments:a}}t.create=function(e,t){if("undefined"===typeof e||""===e)throw new Error("No input text");let n,a,i=r.M;return"undefined"!==typeof t&&(i=r.from(t.errorCorrectionLevel,r.M),n=f.from(t.version),a=u.from(t.maskPattern),t.toSJISFunc&&o.setToSJISFunction(t.toSJISFunc)),S(e,n,i,a)}},7080:function(e,t,n){"use strict";var o=n(4402).has;e.exports=function(e){return o(e),e}},7347:function(e,t,n){"use strict";var o=n(3724),r=n(9565),a=n(8773),i=n(6980),l=n(5397),s=n(6969),u=n(9297),c=n(5917),d=Object.getOwnPropertyDescriptor;t.f=o?d:function(e,t){if(e=l(e),t=s(t),c)try{return d(e,t)}catch(n){}if(u(e,t))return i(!r(a.f,e,t),e[t])}},7449:function(e,t,n){function o(){this.buffer=[],this.length=0}n(4114),o.prototype={get:function(e){const t=Math.floor(e/8);return 1===(this.buffer[t]>>>7-e%8&1)},put:function(e,t){for(let n=0;n<t;n++)this.putBit(1===(e>>>t-n-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++}},e.exports=o},7476:function(e,t,n){"use strict";var o=n(2195),r=n(9504);e.exports=function(e){if("Function"===o(e))return r(e)}},7588:function(e,t,n){"use strict";var o=n(6518),r=n(9565),a=n(2652),i=n(9306),l=n(8551),s=n(1767),u=n(9539),c=n(4549),d=c("forEach",TypeError);o({target:"Iterator",proto:!0,real:!0,forced:d},{forEach:function(e){l(this);try{i(e)}catch(o){u(this,"throw",o)}if(d)retur