/*! For license information please see core-common.js.LICENSE.txt */ (self.webpackChunknextcloud=self.webpackChunknextcloud||[]).push([[7874],{147:function(e){e.exports=function(){"use strict";function e(){throw new Error("Dynamic requires are not currently supported by rollup-plugin-commonjs")}var t=function(e,t){return e(t={exports:{}},t.exports),t.exports}((function(t,n){var a;a=function(){return function t(n,a,i){function r(s,l){if(!a[s]){if(!n[s]){if(!l&&e)return e();if(o)return o(s,!0);var c=new Error("Cannot find module '"+s+"'");throw c.code="MODULE_NOT_FOUND",c}var u=a[s]={exports:{}};n[s][0].call(u.exports,(function(e){return r(n[s][1][e]||e)}),u,u.exports,t,n,a,i)}return a[s].exports}for(var o=e,s=0;s>>7-e%8&1)},put:function(e,t){for(var n=0;n>>t-n-1&1))},getLengthInBits:function(){return this.length},putBit:function(e){var t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}},t.exports=a},{}],5:[function(e,t,n){var a=e("../utils/buffer");function i(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=a.alloc(e*e),this.reservedBit=a.alloc(e*e)}i.prototype.set=function(e,t,n,a){var i=e*this.size+t;this.data[i]=n,a&&(this.reservedBit[i]=!0)},i.prototype.get=function(e,t){return this.data[e*this.size+t]},i.prototype.xor=function(e,t,n){this.data[e*this.size+t]^=n},i.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]},t.exports=i},{"../utils/buffer":28}],6:[function(e,t,n){var a=e("../utils/buffer"),i=e("./mode");function r(e){this.mode=i.BYTE,this.data=a.from(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(var t=0,n=this.data.length;t=0&&e.bit<4},n.from=function(e,t){if(n.isValid(e))return e;try{return function(e){if("string"!=typeof e)throw new Error("Param is not a string");switch(e.toLowerCase()){case"l":case"low":return n.L;case"m":case"medium":return n.M;case"q":case"quartile":return n.Q;case"h":case"high":return n.H;default:throw new Error("Unknown EC Level: "+e)}}(e)}catch(e){return t}}},{}],9:[function(e,t,n){var a=e("./utils").getSymbolSize;n.getPositions=function(e){var t=a(e);return[[0,0],[t-7,0],[0,t-7]]}},{"./utils":21}],10:[function(e,t,n){var a=e("./utils"),i=a.getBCHDigit(1335);n.getEncodedBits=function(e,t){for(var n=e.bit<<3|t,r=n<<10;a.getBCHDigit(r)-i>=0;)r^=1335<=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)}},t.exports=r},{"./mode":14,"./utils":21}],13:[function(e,t,n){n.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};var a=3,i=3,r=40,o=10;function s(e,t,a){switch(e){case n.Patterns.PATTERN000:return(t+a)%2==0;case n.Patterns.PATTERN001:return t%2==0;case n.Patterns.PATTERN010:return a%3==0;case n.Patterns.PATTERN011:return(t+a)%3==0;case n.Patterns.PATTERN100:return(Math.floor(t/2)+Math.floor(a/3))%2==0;case n.Patterns.PATTERN101:return t*a%2+t*a%3==0;case n.Patterns.PATTERN110:return(t*a%2+t*a%3)%2==0;case n.Patterns.PATTERN111:return(t*a%3+(t+a)%2)%2==0;default:throw new Error("bad maskPattern:"+e)}}n.isValid=function(e){return null!=e&&""!==e&&!isNaN(e)&&e>=0&&e<=7},n.from=function(e){return n.isValid(e)?parseInt(e,10):void 0},n.getPenaltyN1=function(e){for(var t=e.size,n=0,i=0,r=0,o=null,s=null,l=0;l=5&&(n+=a+(i-5)),o=u,i=1),(u=e.get(c,l))===s?r++:(r>=5&&(n+=a+(r-5)),s=u,r=1)}i>=5&&(n+=a+(i-5)),r>=5&&(n+=a+(r-5))}return n},n.getPenaltyN2=function(e){for(var t=e.size,n=0,a=0;a=10&&(1488===a||93===a)&&n++,i=i<<1&2047|e.get(s,o),s>=10&&(1488===i||93===i)&&n++}return n*r},n.getPenaltyN4=function(e){for(var t=0,n=e.data.length,a=0;a=1&&t<10?e.ccBits[0]:t<27?e.ccBits[1]:e.ccBits[2]},n.getBestModeForData=function(e){return i.testNumeric(e)?n.NUMERIC:i.testAlphanumeric(e)?n.ALPHANUMERIC:i.testKanji(e)?n.KANJI:n.BYTE},n.toString=function(e){if(e&&e.id)return e.id;throw new Error("Invalid mode")},n.isValid=function(e){return e&&e.bit&&e.ccBits},n.from=function(e,t){if(n.isValid(e))return e;try{return function(e){if("string"!=typeof e)throw new Error("Param is not a string");switch(e.toLowerCase()){case"numeric":return n.NUMERIC;case"alphanumeric":return n.ALPHANUMERIC;case"kanji":return n.KANJI;case"byte":return n.BYTE;default:throw new Error("Unknown mode: "+e)}}(e)}catch(e){return t}}},{"./regex":19,"./version-check":22}],15:[function(e,t,n){var a=e("./mode");function i(e){this.mode=a.NUMERIC,this.data=e.toString()}i.getBitsLength=function(e){return 10*Math.floor(e/3)+(e%3?e%3*3+1:0)},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(e){var t,n,a;for(t=0;t+3<=this.data.length;t+=3)n=this.data.substr(t,3),a=parseInt(n,10),e.put(a,10);var i=this.data.length-t;i>0&&(n=this.data.substr(t),a=parseInt(n,10),e.put(a,3*i+1))},t.exports=i},{"./mode":14}],16:[function(e,t,n){var a=e("../utils/buffer"),i=e("./galois-field");n.mul=function(e,t){for(var n=a.alloc(e.length+t.length-1),r=0;r=0;){for(var r=n[0],o=0;o>a&1),a<6?e.set(a,8,i,!0):a<8?e.set(a+1,8,i,!0):e.set(r-15+a,8,i,!0),a<8?e.set(8,r-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(r-8,8,1,!0)}function B(e,t,n){var r=new o;n.forEach((function(t){r.put(t.mode.bit,4),r.put(t.getLength(),m.getCharCountIndicator(t.mode,e)),t.write(r)}));var s=8*(i.getSymbolTotalCodewords(e)-d.getTotalCodewordsCount(e,t));for(r.getLengthInBits()+4<=s&&r.put(0,4);r.getLengthInBits()%8!=0;)r.putBit(0);for(var l=(s-r.getLengthInBits())/8,c=0;c=0&&s<=6&&(0===l||6===l)||l>=0&&l<=6&&(0===s||6===s)||s>=2&&s<=4&&l>=2&&l<=4?e.set(r+s,o+l,!0,!0):e.set(r+s,o+l,!1,!0))}(C,t),function(e){for(var t=e.size,n=8;n=7&&function(e,t){for(var n,a,i,r=e.size,o=A.getEncodedBits(t),s=0;s<18;s++)n=Math.floor(s/3),a=s%3+r-8-3,i=1==(o>>s&1),e.set(n,a,i,!0),e.set(a,n,i,!0)}(C,t),function(e,t){for(var n=e.size,a=-1,i=n-1,r=7,o=0,s=n-1;s>0;s-=2)for(6===s&&s--;;){for(var l=0;l<2;l++)if(!e.isReserved(i,s-l)){var c=!1;o>>r&1)),e.set(i,s-l,c),-1==--r&&(o++,r=7)}if((i+=a)<0||n<=i){i-=a,a=-a;break}}}(C,h),isNaN(a)&&(a=u.getBestMask(C,b.bind(null,C,n))),u.applyMask(a,C),b(C,n,a),{modules:C,version:t,errorCorrectionLevel:n,maskPattern:a,segments:r}}n.create=function(e,t){if(void 0===e||""===e)throw new Error("No input text");var n,a,o=r.M;return void 0!==t&&(o=r.from(t.errorCorrectionLevel,r.M),n=A.from(t.version),a=u.from(t.maskPattern),t.toSJISFunc&&i.setToSJISFunction(t.toSJISFunc)),C(e,n,o,a)}},{"../utils/buffer":28,"./alignment-pattern":2,"./bit-buffer":4,"./bit-matrix":5,"./error-correction-code":7,"./error-correction-level":8,"./finder-pattern":9,"./format-info":10,"./mask-pattern":13,"./mode":14,"./reed-solomon-encoder":18,"./segments":20,"./utils":21,"./version":23,isarray:33}],18:[function(e,t,n){var a=e("../utils/buffer"),i=e("./polynomial"),r=e("buffer").Buffer;function o(e){this.genPoly=void 0,this.degree=e,this.degree&&this.initialize(this.degree)}o.prototype.initialize=function(e){this.degree=e,this.genPoly=i.generateECPolynomial(this.degree)},o.prototype.encode=function(e){if(!this.genPoly)throw new Error("Encoder not initialized");var t=a.alloc(this.degree),n=r.concat([e,t],e.length+this.degree),o=i.mod(n,this.genPoly),s=this.degree-o.length;if(s>0){var l=a.alloc(this.degree);return o.copy(l,s),l}return o},t.exports=o},{"../utils/buffer":28,"./polynomial":16,buffer:30}],19:[function(e,t,n){var a="[0-9]+",i="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+",r="(?:(?![A-Z0-9 $%*+\\-./:]|"+(i=i.replace(/u/g,"\\u"))+")(?:.|[\r\n]))+";n.KANJI=new RegExp(i,"g"),n.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),n.BYTE=new RegExp(r,"g"),n.NUMERIC=new RegExp(a,"g"),n.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");var o=new RegExp("^"+i+"$"),s=new RegExp("^[0-9]+$"),l=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");n.testKanji=function(e){return o.test(e)},n.testNumeric=function(e){return s.test(e)},n.testAlphanumeric=function(e){return l.test(e)}},{}],20:[function(e,t,n){var a=e("./mode"),i=e("./numeric-data"),r=e("./alphanumeric-data"),o=e("./byte-data"),s=e("./kanji-data"),l=e("./regex"),c=e("./utils"),u=e("dijkstrajs");function d(e){return unescape(encodeURIComponent(e)).length}function p(e,t,n){for(var a,i=[];null!==(a=e.exec(n));)i.push({data:a[0],index:a.index,mode:t,length:a[0].length});return i}function A(e){var t,n,i=p(l.NUMERIC,a.NUMERIC,e),r=p(l.ALPHANUMERIC,a.ALPHANUMERIC,e);return c.isKanjiModeEnabled()?(t=p(l.BYTE,a.BYTE,e),n=p(l.KANJI,a.KANJI,e)):(t=p(l.BYTE_KANJI,a.BYTE,e),n=[]),i.concat(r,t,n).sort((function(e,t){return e.index-t.index})).map((function(e){return{data:e.data,mode:e.mode,length:e.length}}))}function h(e,t){switch(t){case a.NUMERIC:return i.getBitsLength(e);case a.ALPHANUMERIC:return r.getBitsLength(e);case a.KANJI:return s.getBitsLength(e);case a.BYTE:return o.getBitsLength(e)}}function m(e,t){var n,l=a.getBestModeForData(e);if((n=a.from(t,l))!==a.BYTE&&n.bit=0?e[e.length-1]:null;return n&&n.mode===t.mode?(e[e.length-1].data+=t.data,e):(e.push(t),e)}),[]))},n.rawSplit=function(e){return n.fromArray(A(e,c.isKanjiModeEnabled()))}},{"./alphanumeric-data":3,"./byte-data":6,"./kanji-data":12,"./mode":14,"./numeric-data":15,"./regex":19,"./utils":21,dijkstrajs:31}],21:[function(e,t,n){var a,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];n.getSymbolSize=function(e){if(!e)throw new Error('"version" cannot be null or undefined');if(e<1||e>40)throw new Error('"version" should be in range from 1 to 40');return 4*e+17},n.getSymbolTotalCodewords=function(e){return i[e]},n.getBCHDigit=function(e){for(var t=0;0!==e;)t++,e>>>=1;return t},n.setToSJISFunction=function(e){if("function"!=typeof e)throw new Error('"toSJISFunc" is not a valid function.');a=e},n.isKanjiModeEnabled=function(){return void 0!==a},n.toSJIS=function(e){return a(e)}},{}],22:[function(e,t,n){n.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40}},{}],23:[function(e,t,n){var a=e("./utils"),i=e("./error-correction-code"),r=e("./error-correction-level"),o=e("./mode"),s=e("./version-check"),l=e("isarray"),c=a.getBCHDigit(7973);function u(e,t){return o.getCharCountIndicator(e,t)+4}function d(e,t){var n=0;return e.forEach((function(e){var a=u(e.mode,t);n+=a+e.getBitsLength()})),n}n.from=function(e,t){return s.isValid(e)?parseInt(e,10):t},n.getCapacity=function(e,t,n){if(!s.isValid(e))throw new Error("Invalid QR Code version");void 0===n&&(n=o.BYTE);var r=8*(a.getSymbolTotalCodewords(e)-i.getTotalCodewordsCount(e,t));if(n===o.MIXED)return r;var l=r-u(n,e);switch(n){case o.NUMERIC:return Math.floor(l/10*3);case o.ALPHANUMERIC:return Math.floor(l/11*2);case o.KANJI:return Math.floor(l/13);case o.BYTE:default:return Math.floor(l/8)}},n.getBestVersionForData=function(e,t){var a,i=r.from(t,r.M);if(l(e)){if(e.length>1)return function(e,t){for(var a=1;a<=40;a++)if(d(e,a)<=n.getCapacity(a,t,o.MIXED))return a}(e,i);if(0===e.length)return 1;a=e[0]}else a=e;return function(e,t,a){for(var i=1;i<=40;i++)if(t<=n.getCapacity(i,a,e))return i}(a.mode,a.getLength(),i)},n.getEncodedBits=function(e){if(!s.isValid(e)||e<7)throw new Error("Invalid QR Code version");for(var t=e<<12;a.getBCHDigit(t)-c>=0;)t^=7973<':"",d="0&&c>0&&e[l-1]||(a+=o?r("M",c+n,.5+u+n):r("m",i,0),i=0,o=!1),c+1',p='viewBox="0 0 '+c+" "+c+'"',A=''+u+d+"\n";return"function"==typeof n&&n(null,A),A}},{"./utils":27}],27:[function(e,t,n){function a(e){if("number"==typeof e&&(e=e.toString()),"string"!=typeof e)throw new Error("Color should be defined as hex string");var 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");var 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.getOptions=function(e){e||(e={}),e.color||(e.color={});var t=void 0===e.margin||null===e.margin||e.margin<0?4:e.margin,n=e.width&&e.width>=21?e.width:void 0,i=e.scale||4;return{width:n,scale:n?4:i,margin:t,color:{dark:a(e.color.dark||"#000000ff"),light:a(e.color.light||"#ffffffff")},type:e.type,rendererOpts:e.rendererOpts||{}}},n.getScale=function(e,t){return t.width&&t.width>=e+2*t.margin?t.width/(e+2*t.margin):t.scale},n.getImageWidth=function(e,t){var a=n.getScale(e,t);return Math.floor((e+2*t.margin)*a)},n.qrToImageData=function(e,t,a){for(var i=t.modules.size,r=t.modules.data,o=n.getScale(i,a),s=Math.floor((i+2*a.margin)*o),l=a.margin*o,c=[a.color.light,a.color.dark],u=0;u=l&&d>=l&&u=i)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i.toString(16)+" bytes");return 0|e}function s(e,t){var n;return r.TYPED_ARRAY_SUPPORT?(n=new Uint8Array(t)).__proto__=r.prototype:(null===(n=e)&&(n=new r(t)),n.length=t),n}function l(e,t){var n=s(e,t<0?0:0|o(t));if(!r.TYPED_ARRAY_SUPPORT)for(var a=0;a55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&r.push(239,191,189);continue}if(o+1===a){(t-=3)>-1&&r.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&r.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&r.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;r.push(n)}else if(n<2048){if((t-=2)<0)break;r.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;r.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;r.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return r}function d(e){return r.isBuffer(e)?e.length:"undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer)?e.byteLength:("string"!=typeof e&&(e=""+e),0===e.length?0:u(e).length)}r.TYPED_ARRAY_SUPPORT&&(r.prototype.__proto__=Uint8Array.prototype,r.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&r[Symbol.species]===r&&Object.defineProperty(r,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1})),r.prototype.write=function(e,t,n){void 0===t||void 0===n&&"string"==typeof t?(n=this.length,t=0):isFinite(t)&&(t|=0,isFinite(n)?n|=0:n=void 0);var a=this.length-t;if((void 0===n||n>a)&&(n=a),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");return function(e,t,n,a){return function(e,t,n,a){for(var i=0;i=t.length||i>=e.length);++i)t[i+n]=e[i];return i}(u(t,e.length-n),e,n,a)}(this,e,t,n)},r.prototype.slice=function(e,t){var n,a=this.length;if((e=~~e)<0?(e+=a)<0&&(e=0):e>a&&(e=a),(t=void 0===t?a:~~t)<0?(t+=a)<0&&(t=0):t>a&&(t=a),t=e.length&&(t=e.length),t||(t=0),a>0&&a=this.length)throw new RangeError("sourceStart out of bounds");if(a<0)throw new RangeError("sourceEnd out of bounds");a>this.length&&(a=this.length),e.length-t=0;--i)e[i+t]=this[i+n];else if(o<1e3||!r.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(i=t;i0?o-4:o;for(n=0;n>16&255,l[u++]=t>>8&255,l[u++]=255&t;return 2===s&&(t=i[e.charCodeAt(n)]<<2|i[e.charCodeAt(n+1)]>>4,l[u++]=255&t),1===s&&(t=i[e.charCodeAt(n)]<<10|i[e.charCodeAt(n+1)]<<4|i[e.charCodeAt(n+2)]>>2,l[u++]=t>>8&255,l[u++]=255&t),l},n.fromByteArray=function(e){for(var t,n=e.length,i=n%3,r=[],o=16383,s=0,l=n-i;sl?l:s+o));return 1===i?(t=e[n-1],r.push(a[t>>2]+a[t<<4&63]+"==")):2===i&&(t=(e[n-2]<<8)+e[n-1],r.push(a[t>>10]+a[t>>4&63]+a[t<<2&63]+"=")),r.join("")};for(var a=[],i=[],r="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,l=o.length;s0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function u(e,t,n){for(var i,r=[],o=t;o>18&63]+a[s>>12&63]+a[s>>6&63]+a[63&s]);var s;return r.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},{}],30:[function(e,t,n){var a=e("base64-js"),i=e("ieee754"),r="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;n.Buffer=l,n.SlowBuffer=function(e){return+e!=e&&(e=0),l.alloc(+e)},n.INSPECT_MAX_BYTES=50;var o=2147483647;function s(e){if(e>o)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,l.prototype),t}function l(e,t,n){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return d(e)}return c(e,t,n)}function c(e,t,n){if("string"==typeof e)return function(e,t){if("string"==typeof t&&""!==t||(t="utf8"),!l.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var n=0|h(e,t),a=s(n),i=a.write(e,t);return i!==n&&(a=a.slice(0,i)),a}(e,t);if(ArrayBuffer.isView(e))return p(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(q(e,ArrayBuffer)||e&&q(e.buffer,ArrayBuffer))return function(e,t,n){if(t<0||e.byteLength=o)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o.toString(16)+" bytes");return 0|e}function h(e,t){if(l.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||q(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var n=e.length,a=arguments.length>2&&!0===arguments[2];if(!a&&0===n)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return L(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return I(e).length;default:if(i)return a?-1:L(e).length;t=(""+t).toLowerCase(),i=!0}}function m(e,t,n){var a=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return M(this,t,n);case"utf8":case"utf-8":return E(this,t,n);case"ascii":return w(this,t,n);case"latin1":case"binary":return k(this,t,n);case"base64":return F(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,t,n);default:if(a)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),a=!0}}function f(e,t,n){var a=e[t];e[t]=e[n],e[n]=a}function g(e,t,n,a,i){if(0===e.length)return-1;if("string"==typeof n?(a=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),Y(n=+n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=l.from(t,a)),l.isBuffer(t))return 0===t.length?-1:b(e,t,n,a,i);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):b(e,[t],n,a,i);throw new TypeError("val must be string, number or Buffer")}function b(e,t,n,a,i){var r,o=1,s=e.length,l=t.length;if(void 0!==a&&("ucs2"===(a=String(a).toLowerCase())||"ucs-2"===a||"utf16le"===a||"utf-16le"===a)){if(e.length<2||t.length<2)return-1;o=2,s/=2,l/=2,n/=2}function c(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(i){var u=-1;for(r=n;rs&&(n=s-l),r=n;r>=0;r--){for(var d=!0,p=0;pi&&(a=i):a=i;var r=t.length;a>r/2&&(a=r/2);for(var o=0;o>8,i=n%256,r.push(i),r.push(a);return r}(t,e.length-n),e,n,a)}function F(e,t,n){return 0===t&&n===e.length?a.fromByteArray(e):a.fromByteArray(e.slice(t,n))}function E(e,t,n){n=Math.min(e.length,n);for(var a=[],i=t;i239?4:c>223?3:c>191?2:1;if(i+d<=n)switch(d){case 1:c<128&&(u=c);break;case 2:128==(192&(r=e[i+1]))&&(l=(31&c)<<6|63&r)>127&&(u=l);break;case 3:r=e[i+1],o=e[i+2],128==(192&r)&&128==(192&o)&&(l=(15&c)<<12|(63&r)<<6|63&o)>2047&&(l<55296||l>57343)&&(u=l);break;case 4:r=e[i+1],o=e[i+2],s=e[i+3],128==(192&r)&&128==(192&o)&&128==(192&s)&&(l=(15&c)<<18|(63&r)<<12|(63&o)<<6|63&s)>65535&&l<1114112&&(u=l)}null===u?(u=65533,d=1):u>65535&&(u-=65536,a.push(u>>>10&1023|55296),u=56320|1023&u),a.push(u),i+=d}return function(e){var t=e.length;if(t<=O)return String.fromCharCode.apply(String,e);for(var n="",a=0;at&&(e+=" ... "),""},r&&(l.prototype[r]=l.prototype.inspect),l.prototype.compare=function(e,t,n,a,i){if(q(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),!l.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===a&&(a=0),void 0===i&&(i=this.length),t<0||n>e.length||a<0||i>this.length)throw new RangeError("out of range index");if(a>=i&&t>=n)return 0;if(a>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var r=(i>>>=0)-(a>>>=0),o=(n>>>=0)-(t>>>=0),s=Math.min(r,o),c=this.slice(a,i),u=e.slice(t,n),d=0;d>>=0,isFinite(n)?(n>>>=0,void 0===a&&(a="utf8")):(a=n,n=void 0)}var i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");a||(a="utf8");for(var r=!1;;)switch(a){case"hex":return B(this,e,t,n);case"utf8":case"utf-8":return C(this,e,t,n);case"ascii":return v(this,e,t,n);case"latin1":case"binary":return y(this,e,t,n);case"base64":return _(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,e,t,n);default:if(r)throw new TypeError("Unknown encoding: "+a);a=(""+a).toLowerCase(),r=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var O=4096;function w(e,t,n){var a="";n=Math.min(e.length,n);for(var i=t;ia)&&(n=a);for(var i="",r=t;rn)throw new RangeError("Trying to access beyond buffer length")}function D(e,t,n,a,i,r){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError("Index out of range")}function z(e,t,n,a,i,r){if(n+a>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function N(e,t,n,a,r){return t=+t,n>>>=0,r||z(e,0,n,4),i.write(e,t,n,a,23,4),n+4}function R(e,t,n,a,r){return t=+t,n>>>=0,r||z(e,0,n,8),i.write(e,t,n,a,52,8),n+8}l.prototype.slice=function(e,t){var n=this.length;(e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t>>=0,t>>>=0,n||x(e,t,this.length);for(var a=this[e],i=1,r=0;++r>>=0,t>>>=0,n||x(e,t,this.length);for(var a=this[e+--t],i=1;t>0&&(i*=256);)a+=this[e+--t]*i;return a},l.prototype.readUInt8=function(e,t){return e>>>=0,t||x(e,1,this.length),this[e]},l.prototype.readUInt16LE=function(e,t){return e>>>=0,t||x(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUInt16BE=function(e,t){return e>>>=0,t||x(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUInt32LE=function(e,t){return e>>>=0,t||x(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUInt32BE=function(e,t){return e>>>=0,t||x(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||x(e,t,this.length);for(var a=this[e],i=1,r=0;++r=(i*=128)&&(a-=Math.pow(2,8*t)),a},l.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||x(e,t,this.length);for(var a=t,i=1,r=this[e+--a];a>0&&(i*=256);)r+=this[e+--a]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*t)),r},l.prototype.readInt8=function(e,t){return e>>>=0,t||x(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},l.prototype.readInt16LE=function(e,t){e>>>=0,t||x(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt16BE=function(e,t){e>>>=0,t||x(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt32LE=function(e,t){return e>>>=0,t||x(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return e>>>=0,t||x(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readFloatLE=function(e,t){return e>>>=0,t||x(e,4,this.length),i.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return e>>>=0,t||x(e,4,this.length),i.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return e>>>=0,t||x(e,8,this.length),i.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return e>>>=0,t||x(e,8,this.length),i.read(this,e,!1,52,8)},l.prototype.writeUIntLE=function(e,t,n,a){e=+e,t>>>=0,n>>>=0,a||D(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,r=0;for(this[t]=255&e;++r>>=0,n>>>=0,a||D(this,e,t,n,Math.pow(2,8*n)-1,0);var i=n-1,r=1;for(this[t+i]=255&e;--i>=0&&(r*=256);)this[t+i]=e/r&255;return t+n},l.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||D(this,e,t,1,255,0),this[t]=255&e,t+1},l.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||D(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||D(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||D(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},l.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||D(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeIntLE=function(e,t,n,a){if(e=+e,t>>>=0,!a){var i=Math.pow(2,8*n-1);D(this,e,t,n,i-1,-i)}var r=0,o=1,s=0;for(this[t]=255&e;++r>0)-s&255;return t+n},l.prototype.writeIntBE=function(e,t,n,a){if(e=+e,t>>>=0,!a){var i=Math.pow(2,8*n-1);D(this,e,t,n,i-1,-i)}var r=n-1,o=1,s=0;for(this[t+r]=255&e;--r>=0&&(o*=256);)e<0&&0===s&&0!==this[t+r+1]&&(s=1),this[t+r]=(e/o>>0)-s&255;return t+n},l.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||D(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||D(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||D(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||D(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},l.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||D(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeFloatLE=function(e,t,n){return N(this,e,t,!0,n)},l.prototype.writeFloatBE=function(e,t,n){return N(this,e,t,!1,n)},l.prototype.writeDoubleLE=function(e,t,n){return R(this,e,t,!0,n)},l.prototype.writeDoubleBE=function(e,t,n){return R(this,e,t,!1,n)},l.prototype.copy=function(e,t,n,a){if(!l.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),a||0===a||(a=this.length),t>=e.length&&(t=e.length),t||(t=0),a>0&&a=this.length)throw new RangeError("Index out of range");if(a<0)throw new RangeError("sourceEnd out of bounds");a>this.length&&(a=this.length),e.length-t=0;--r)e[r+t]=this[r+n];else Uint8Array.prototype.set.call(e,this.subarray(n,a),t);return i},l.prototype.fill=function(e,t,n,a){if("string"==typeof e){if("string"==typeof t?(a=t,t=0,n=this.length):"string"==typeof n&&(a=n,n=this.length),void 0!==a&&"string"!=typeof a)throw new TypeError("encoding must be a string");if("string"==typeof a&&!l.isEncoding(a))throw new TypeError("Unknown encoding: "+a);if(1===e.length){var i=e.charCodeAt(0);("utf8"===a&&i<128||"latin1"===a)&&(e=i)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(r=t;r55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&r.push(239,191,189);continue}if(o+1===a){(t-=3)>-1&&r.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&r.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&r.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;r.push(n)}else if(n<2048){if((t-=2)<0)break;r.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;r.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;r.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return r}function I(e){return a.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(j,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function P(e,t,n,a){for(var i=0;i=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function q(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function Y(e){return e!=e}var G=function(){for(var e="0123456789abcdef",t=new Array(256),n=0;n<16;++n)for(var a=16*n,i=0;i<16;++i)t[a+i]=e[n]+e[i];return t}()},{"base64-js":29,ieee754:32}],31:[function(e,t,n){var a={single_source_shortest_paths:function(e,t,n){var i={},r={};r[t]=0;var o,s,l,c,u,d,p,A=a.PriorityQueue.make();for(A.push(t,0);!A.empty();)for(l in s=(o=A.pop()).value,c=o.cost,u=e[s]||{})u.hasOwnProperty(l)&&(d=c+u[l],p=r[l],(void 0===r[l]||p>d)&&(r[l]=d,A.push(l,d),i[l]=s));if(void 0!==n&&void 0===r[n]){var h=["Could not find a path from ",t," to ",n,"."].join("");throw new Error(h)}return i},extract_shortest_path_from_predecessor_list:function(e,t){for(var n=[],a=t;a;)n.push(a),e[a],a=e[a];return n.reverse(),n},find_path:function(e,t,n){var i=a.single_source_shortest_paths(e,t,n);return a.extract_shortest_path_from_predecessor_list(i,n)},PriorityQueue:{make:function(e){var t,n=a.PriorityQueue,i={};for(t in e=e||{},n)n.hasOwnProperty(t)&&(i[t]=n[t]);return i.queue=[],i.sorter=e.sorter||n.default_sorter,i},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}}};void 0!==t&&(t.exports=a)},{}],32:[function(e,t,n){n.read=function(e,t,n,a,i){var r,o,s=8*i-a-1,l=(1<>1,u=-7,d=n?i-1:0,p=n?-1:1,A=e[t+d];for(d+=p,r=A&(1<<-u)-1,A>>=-u,u+=s;u>0;r=256*r+e[t+d],d+=p,u-=8);for(o=r&(1<<-u)-1,r>>=-u,u+=a;u>0;o=256*o+e[t+d],d+=p,u-=8);if(0===r)r=1-c;else{if(r===l)return o?NaN:1/0*(A?-1:1);o+=Math.pow(2,a),r-=c}return(A?-1:1)*o*Math.pow(2,r-a)},n.write=function(e,t,n,a,i,r){var o,s,l,c=8*r-i-1,u=(1<>1,p=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,A=a?0:r-1,h=a?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,o=u):(o=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-o))<1&&(o--,l*=2),(t+=o+d>=1?p/l:p*Math.pow(2,1-d))*l>=2&&(o++,l/=2),o+d>=u?(s=0,o=u):o+d>=1?(s=(t*l-1)*Math.pow(2,i),o+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),o=0));i>=8;e[n+A]=255&s,A+=h,s/=256,i-=8);for(o=o<0;e[n+A]=255&o,A+=h,o/=256,c-=8);e[n+A-h]|=128*m}},{}],33:[function(e,t,n){var a={}.toString;t.exports=Array.isArray||function(e){return"[object Array]"==a.call(e)}},{}]},{},[24])(24)},t.exports=a()}));return{name:"qrcode",props:{value:null,options:Object,tag:{type:String,default:"canvas"}},render:function(e){return e(this.tag,this.$slots.default)},watch:{$props:{deep:!0,immediate:!0,handler:function(){this.$el&&this.generate()}}},methods:{generate:function(){var e=this,n=this.options,a=this.tag,i=String(this.value);"canvas"===a?t.toCanvas(this.$el,i,n,(function(e){if(e)throw e})):"img"===a?t.toDataURL(i,n,(function(t,n){if(t)throw t;e.$el.src=n})):t.toString(i,n,(function(t,n){if(t)throw t;e.$el.innerHTML=n}))}},mounted:function(){this.generate()}}}()},45994:function(e,t,n){"use strict";n.d(t,{IH:function(){return s},ts:function(){return A}});var a=n(78595);const i=document.getElementsByTagName("head")[0];let r=i?i.getAttribute("data-requesttoken"):null;const o=[];function s(){return r}(0,a.Ld)("csrf-token-update",(e=>{r=e.token,o.forEach((t=>{try{t(e.token)}catch(e){console.error("error updating CSRF token observer",e)}}))}));const l=(e,t)=>e?e.getAttribute(t):null,c=document.getElementsByTagName("head")[0],u=l(c,"data-user"),d=l(c,"data-user-displayname"),p="undefined"!=typeof OC&&OC.isUserAdmin();function A(){return null===u?null:{uid:u,displayName:d,isAdmin:p}}},22200:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n(74854),i=document.getElementsByTagName("head")[0],r=i?i.getAttribute("data-requesttoken"):null,o=[];a.subscribe("csrf-token-update",(function(e){r=e.token,o.forEach((function(t){try{t(e.token)}catch(e){console.error("error updating CSRF token observer",e)}}))}));var s=function(e,t){return e?e.getAttribute(t):null},l=document.getElementsByTagName("head")[0],c=s(l,"data-user"),u=s(l,"data-user-displayname"),d="undefined"!=typeof OC&&OC.isUserAdmin();t.getCurrentUser=function(){return null===c?null:{uid:c,displayName:u,isAdmin:d}},t.getRequestToken=function(){return r},t.onRequestTokenUpdate=function(e){o.push(e)}},4820:function(e,t,n){"use strict";n(69070),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(19601);var a,i,r=(a=n(9669))&&a.__esModule?a:{default:a},o=n(44332),s=r.default.create({headers:{requesttoken:null!==(i=(0,o.getRequestToken)())&&void 0!==i?i:""}}),l=Object.assign(s,{CancelToken:r.default.CancelToken,isCancel:r.default.isCancel});(0,o.onRequestTokenUpdate)((function(e){return s.defaults.headers.requesttoken=e}));var c=l;t.default=c},44332:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getRequestToken",{enumerable:!0,get:function(){return a.getRequestToken}}),Object.defineProperty(t,"onRequestTokenUpdate",{enumerable:!0,get:function(){return a.onRequestTokenUpdate}}),Object.defineProperty(t,"getCurrentUser",{enumerable:!0,get:function(){return i.getCurrentUser}});var a=n(46631),i=n(25160)},46631:function(e,t,n){"use strict";n(89554),Object.defineProperty(t,"__esModule",{value:!0}),t.getRequestToken=function(){return r},t.onRequestTokenUpdate=function(e){o.push(e)};var a=n(68668),i=document.getElementsByTagName("head")[0],r=i?i.getAttribute("data-requesttoken"):null,o=[];(0,a.subscribe)("csrf-token-update",(function(e){r=e.token,o.forEach((function(t){try{t(e.token)}catch(e){console.error("error updating CSRF token observer",e)}}))}))},25160:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCurrentUser=function(){return null===a?null:{uid:a,displayName:r,isAdmin:o}};var n=document.getElementsByTagName("head")[0],a=n?n.getAttribute("data-user"):null,i=document.getElementsByTagName("head")[0],r=i?i.getAttribute("data-user-displayname"):null,o="undefined"!=typeof OC&&OC.isUserAdmin()},68668:function(e,t,n){"use strict";n.r(t),n.d(t,{emit:function(){return Yi},subscribe:function(){return Pi},unsubscribe:function(){return qi}});var a="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{};function i(e){var t={exports:{}};return e(t,t.exports),t.exports}var r=function(e){return e&&e.Math==Math&&e},o=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof a&&a)||function(){return this}()||Function("return this")(),s=function(e){try{return!!e()}catch(e){return!0}},l=!s((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),c={}.propertyIsEnumerable,u=Object.getOwnPropertyDescriptor,d={f:u&&!c.call({1:2},1)?function(e){var t=u(this,e);return!!t&&t.enumerable}:c},p=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},A={}.toString,h=function(e){return A.call(e).slice(8,-1)},m="".split,f=s((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==h(e)?m.call(e,""):Object(e)}:Object,g=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},b=function(e){return f(g(e))},B=function(e){return"object"==typeof e?null!==e:"function"==typeof e},C=function(e,t){if(!B(e))return e;var n,a;if(t&&"function"==typeof(n=e.toString)&&!B(a=n.call(e)))return a;if("function"==typeof(n=e.valueOf)&&!B(a=n.call(e)))return a;if(!t&&"function"==typeof(n=e.toString)&&!B(a=n.call(e)))return a;throw TypeError("Can't convert object to primitive value")},v=function(e){return Object(g(e))},y={}.hasOwnProperty,_=function(e,t){return y.call(v(e),t)},T=o.document,F=B(T)&&B(T.createElement),E=function(e){return F?T.createElement(e):{}},O=!l&&!s((function(){return 7!=Object.defineProperty(E("div"),"a",{get:function(){return 7}}).a})),w=Object.getOwnPropertyDescriptor,k={f:l?w:function(e,t){if(e=b(e),t=C(t,!0),O)try{return w(e,t)}catch(e){}if(_(e,t))return p(!d.f.call(e,t),e[t])}},M=function(e){if(!B(e))throw TypeError(String(e)+" is not an object");return e},S=Object.defineProperty,x={f:l?S:function(e,t,n){if(M(e),t=C(t,!0),M(n),O)try{return S(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},D=l?function(e,t,n){return x.f(e,t,p(1,n))}:function(e,t,n){return e[t]=n,e},z=function(e,t){try{D(o,e,t)}catch(n){o[e]=t}return t},N="__core-js_shared__",R=o[N]||z(N,{}),j=Function.toString;"function"!=typeof R.inspectSource&&(R.inspectSource=function(e){return j.call(e)});var L,I,P,q=R.inspectSource,Y=o.WeakMap,G="function"==typeof Y&&/native code/.test(q(Y)),Z=i((function(e){(e.exports=function(e,t){return R[e]||(R[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.11.2",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),W=0,U=Math.random(),H=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++W+U).toString(36)},$=Z("keys"),X=function(e){return $[e]||($[e]=H(e))},V={},Q="Object already initialized",K=o.WeakMap;if(G){var J=R.state||(R.state=new K),ee=J.get,te=J.has,ne=J.set;L=function(e,t){if(te.call(J,e))throw new TypeError(Q);return t.facade=e,ne.call(J,e,t),t},I=function(e){return ee.call(J,e)||{}},P=function(e){return te.call(J,e)}}else{var ae=X("state");V[ae]=!0,L=function(e,t){if(_(e,ae))throw new TypeError(Q);return t.facade=e,D(e,ae,t),t},I=function(e){return _(e,ae)?e[ae]:{}},P=function(e){return _(e,ae)}}var ie={set:L,get:I,has:P,enforce:function(e){return P(e)?I(e):L(e,{})},getterFor:function(e){return function(t){var n;if(!B(t)||(n=I(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},re=i((function(e){var t=ie.get,n=ie.enforce,a=String(String).split("String");(e.exports=function(e,t,i,r){var s,l=!!r&&!!r.unsafe,c=!!r&&!!r.enumerable,u=!!r&&!!r.noTargetGet;"function"==typeof i&&("string"!=typeof t||_(i,"name")||D(i,"name",t),(s=n(i)).source||(s.source=a.join("string"==typeof t?t:""))),e!==o?(l?!u&&e[t]&&(c=!0):delete e[t],c?e[t]=i:D(e,t,i)):c?e[t]=i:z(t,i)})(Function.prototype,"toString",(function(){return"function"==typeof this&&t(this).source||q(this)}))})),oe=o,se=function(e){return"function"==typeof e?e:void 0},le=function(e,t){return arguments.length<2?se(oe[e])||se(o[e]):oe[e]&&oe[e][t]||o[e]&&o[e][t]},ce=Math.ceil,ue=Math.floor,de=function(e){return isNaN(e=+e)?0:(e>0?ue:ce)(e)},pe=Math.min,Ae=function(e){return e>0?pe(de(e),9007199254740991):0},he=Math.max,me=Math.min,fe=function(e){return function(t,n,a){var i,r=b(t),o=Ae(r.length),s=function(e,t){var n=de(e);return n<0?he(n+t,0):me(n,t)}(a,o);if(e&&n!=n){for(;o>s;)if((i=r[s++])!=i)return!0}else for(;o>s;s++)if((e||s in r)&&r[s]===n)return e||s||0;return!e&&-1}},ge=(fe(!0),fe(!1)),be=function(e,t){var n,a=b(e),i=0,r=[];for(n in a)!_(V,n)&&_(a,n)&&r.push(n);for(;t.length>i;)_(a,n=t[i++])&&(~ge(r,n)||r.push(n));return r},Be=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Ce=Be.concat("length","prototype"),ve={f:Object.getOwnPropertyNames||function(e){return be(e,Ce)}},ye={f:Object.getOwnPropertySymbols},_e=le("Reflect","ownKeys")||function(e){var t=ve.f(M(e)),n=ye.f;return n?t.concat(n(e)):t},Te=function(e,t){for(var n=_e(t),a=x.f,i=k.f,r=0;rr;)x.f(e,n=a[r++],t[n]);return e},Ie=le("document","documentElement"),Pe=X("IE_PROTO"),qe=function(){},Ye=function(e){return"