/*! For license information please see core-common.js.LICENSE.txt */ (self.webpackChunknextcloud=self.webpackChunknextcloud||[]).push([[7874],{147:function(e,t,n){var a=n(25108);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 i;i=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("^"+a+"$"),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,c[u++]=t>>8&255,c[u++]=255&t;return 2===s&&(t=i[e.charCodeAt(n)]<<2|i[e.charCodeAt(n+1)]>>4,c[u++]=255&t),1===s&&(t=i[e.charCodeAt(n)]<<10|i[e.charCodeAt(n+1)]<<4|i[e.charCodeAt(n+2)]>>2,c[u++]=t>>8&255,c[u++]=255&t),c},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;s<64;++s)a[s]=o[s],i[o.charCodeAt(s)]=s;function l(e){var t=e.length;if(t%4>0)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 c(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 i=e("base64-js"),r=e("ieee754"),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;n.Buffer=c,n.SlowBuffer=function(e){return+e!=e&&(e=0),c.alloc(+e)},n.INSPECT_MAX_BYTES=50;var s=2147483647;function l(e){if(e>s)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,c.prototype),t}function c(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 p(e)}return u(e,t,n)}function u(e,t,n){if("string"==typeof e)return function(e,t){if("string"==typeof t&&""!==t||(t="utf8"),!c.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var n=0|m(e,t),a=l(n),i=a.write(e,t);return i!==n&&(a=a.slice(0,i)),a}(e,t);if(ArrayBuffer.isView(e))return A(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(Y(e,ArrayBuffer)||e&&Y(e.buffer,ArrayBuffer))return function(e,t,n){if(t<0||e.byteLength=s)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s.toString(16)+" bytes");return 0|e}function m(e,t){if(c.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||Y(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 g(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 F(this,t,n);case"utf8":case"utf-8":return E(this,t,n);case"ascii":return k(this,t,n);case"latin1":case"binary":return S(this,t,n);case"base64":return O(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return x(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 b(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),W(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=c.from(t,a)),c.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 O(e,t,n){return 0===t&&n===e.length?i.fromByteArray(e):i.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<=w)return String.fromCharCode.apply(String,e);for(var n="",a=0;at&&(e+=" ... "),""},o&&(c.prototype[o]=c.prototype.inspect),c.prototype.compare=function(e,t,n,a,i){if(Y(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),!c.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),l=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 C(this,e,t,n);case"utf8":case"utf-8":return v(this,e,t,n);case"ascii":return y(this,e,t,n);case"latin1":case"binary":return T(this,e,t,n);case"base64":return _(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,e,t,n);default:if(r)throw new TypeError("Unknown encoding: "+a);a=(""+a).toLowerCase(),r=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var w=4096;function k(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(!c.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 N(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 R(e,t,n,a,i){return t=+t,n>>>=0,i||N(e,0,n,4),r.write(e,t,n,a,23,4),n+4}function j(e,t,n,a,i){return t=+t,n>>>=0,i||N(e,0,n,8),r.write(e,t,n,a,52,8),n+8}c.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||z(e,t,this.length);for(var a=this[e],i=1,r=0;++r>>=0,t>>>=0,n||z(e,t,this.length);for(var a=this[e+--t],i=1;t>0&&(i*=256);)a+=this[e+--t]*i;return a},c.prototype.readUInt8=function(e,t){return e>>>=0,t||z(e,1,this.length),this[e]},c.prototype.readUInt16LE=function(e,t){return e>>>=0,t||z(e,2,this.length),this[e]|this[e+1]<<8},c.prototype.readUInt16BE=function(e,t){return e>>>=0,t||z(e,2,this.length),this[e]<<8|this[e+1]},c.prototype.readUInt32LE=function(e,t){return e>>>=0,t||z(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},c.prototype.readUInt32BE=function(e,t){return e>>>=0,t||z(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},c.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||z(e,t,this.length);for(var a=this[e],i=1,r=0;++r=(i*=128)&&(a-=Math.pow(2,8*t)),a},c.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||z(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},c.prototype.readInt8=function(e,t){return e>>>=0,t||z(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},c.prototype.readInt16LE=function(e,t){e>>>=0,t||z(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt16BE=function(e,t){e>>>=0,t||z(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt32LE=function(e,t){return e>>>=0,t||z(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},c.prototype.readInt32BE=function(e,t){return e>>>=0,t||z(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},c.prototype.readFloatLE=function(e,t){return e>>>=0,t||z(e,4,this.length),r.read(this,e,!0,23,4)},c.prototype.readFloatBE=function(e,t){return e>>>=0,t||z(e,4,this.length),r.read(this,e,!1,23,4)},c.prototype.readDoubleLE=function(e,t){return e>>>=0,t||z(e,8,this.length),r.read(this,e,!0,52,8)},c.prototype.readDoubleBE=function(e,t){return e>>>=0,t||z(e,8,this.length),r.read(this,e,!1,52,8)},c.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},c.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},c.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},c.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},c.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},c.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},c.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},c.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},c.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},c.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},c.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},c.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},c.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},c.prototype.writeFloatLE=function(e,t,n){return R(this,e,t,!0,n)},c.prototype.writeFloatBE=function(e,t,n){return R(this,e,t,!1,n)},c.prototype.writeDoubleLE=function(e,t,n){return j(this,e,t,!0,n)},c.prototype.writeDoubleBE=function(e,t,n){return j(this,e,t,!1,n)},c.prototype.copy=function(e,t,n,a){if(!c.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},c.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&&!c.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 i.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(P,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function q(e,t,n,a){for(var i=0;i=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function Y(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function W(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=i()}));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()}}}()},90478:function(e,t,n){"use strict";var a=n(50791),i=Object.prototype.hasOwnProperty,r={align:"text-align",valign:"vertical-align",height:"height",width:"width"};function o(e){var t;if("tr"===e.tagName||"td"===e.tagName||"th"===e.tagName)for(t in r)i.call(r,t)&&void 0!==e.properties[t]&&(s(e,r[t],e.properties[t]),delete e.properties[t])}function s(e,t,n){var a=(e.properties.style||"").trim();a&&!/;\s*/.test(a)&&(a+=";"),a&&(a+=" ");var i=a+t+": "+n+";";e.properties.style=i}e.exports=function(e){return a(e,"element",o),e}},93790:function(e){"use strict";function t(e){if("string"==typeof e)return function(e){return function(t){return Boolean(t&&t.type===e)}}(e);if(null==e)return i;if("object"==typeof e)return("length"in e?a:n)(e);if("function"==typeof e)return e;throw new Error("Expected function, string, or object as test")}function n(e){return function(t){var n;for(n in e)if(t[n]!==e[n])return!1;return!0}}function a(e){var n=function(e){for(var n=[],a=e.length,i=-1;++i-1&&s{o=e.token,s.forEach((t=>{try{t(e.token)}catch(e){i.error("error updating CSRF token observer",e)}}))}));const c=(e,t)=>e?e.getAttribute(t):null,u=document.getElementsByTagName("head")[0],d=c(u,"data-user"),p=c(u,"data-user-displayname"),A="undefined"!=typeof OC&&OC.isUserAdmin();function h(){return null===d?null:{uid:d,displayName:p,isAdmin:A}}},22200:function(e,t,n){"use strict";var a=n(25108);Object.defineProperty(t,"__esModule",{value:!0});var i=n(74854),r=document.getElementsByTagName("head")[0],o=r?r.getAttribute("data-requesttoken"):null,s=[];i.subscribe("csrf-token-update",(function(e){o=e.token,s.forEach((function(t){try{t(e.token)}catch(e){a.error("error updating CSRF token observer",e)}}))}));var l=function(e,t){return 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();t.getCurrentUser=function(){return null===u?null:{uid:u,displayName:d,isAdmin:p}},t.getRequestToken=function(){return o},t.onRequestTokenUpdate=function(e){s.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";var a=n(25108);n(89554),Object.defineProperty(t,"__esModule",{value:!0}),t.getRequestToken=function(){return o},t.onRequestTokenUpdate=function(e){s.push(e)};var i=n(68668),r=document.getElementsByTagName("head")[0],o=r?r.getAttribute("data-requesttoken"):null,s=[];(0,i.subscribe)("csrf-token-update",(function(e){o=e.token,s.forEach((function(t){try{t(e.token)}catch(e){a.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 Ui},subscribe:function(){return Gi},unsubscribe:function(){return Zi}});var a=n(34155),i=n(25108),r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{};function o(e){var t={exports:{}};return e(t,t.exports),t.exports}var s=function(e){return e&&e.Math==Math&&e},l=s("object"==typeof globalThis&&globalThis)||s("object"==typeof window&&window)||s("object"==typeof self&&self)||s("object"==typeof r&&r)||function(){return this}()||Function("return this")(),c=function(e){try{return!!e()}catch(e){return!0}},u=!c((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),d={}.propertyIsEnumerable,p=Object.getOwnPropertyDescriptor,A={f:p&&!d.call({1:2},1)?function(e){var t=p(this,e);return!!t&&t.enumerable}:d},h=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},m={}.toString,g=function(e){return m.call(e).slice(8,-1)},f="".split,b=c((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==g(e)?f.call(e,""):Object(e)}:Object,B=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},C=function(e){return b(B(e))},v=function(e){return"object"==typeof e?null!==e:"function"==typeof e},y=function(e,t){if(!v(e))return e;var n,a;if(t&&"function"==typeof(n=e.toString)&&!v(a=n.call(e)))return a;if("function"==typeof(n=e.valueOf)&&!v(a=n.call(e)))return a;if(!t&&"function"==typeof(n=e.toString)&&!v(a=n.call(e)))return a;throw TypeError("Can't convert object to primitive value")},T=function(e){return Object(B(e))},_={}.hasOwnProperty,M=function(e,t){return _.call(T(e),t)},O=l.document,E=v(O)&&v(O.createElement),w=function(e){return E?O.createElement(e):{}},k=!u&&!c((function(){return 7!=Object.defineProperty(w("div"),"a",{get:function(){return 7}}).a})),S=Object.getOwnPropertyDescriptor,F={f:u?S:function(e,t){if(e=C(e),t=y(t,!0),k)try{return S(e,t)}catch(e){}if(M(e,t))return h(!A.f.call(e,t),e[t])}},x=function(e){if(!v(e))throw TypeError(String(e)+" is not an object");return e},z=Object.defineProperty,D={f:u?z:function(e,t,n){if(x(e),t=y(t,!0),x(n),k)try{return z(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}},N=u?function(e,t,n){return D.f(e,t,h(1,n))}:function(e,t,n){return e[t]=n,e},R=function(e,t){try{N(l,e,t)}catch(n){l[e]=t}return t},j="__core-js_shared__",P=l[j]||R(j,{}),L=Function.toString;"function"!=typeof P.inspectSource&&(P.inspectSource=function(e){return L.call(e)});var I,q,Y,W=P.inspectSource,G=l.WeakMap,Z="function"==typeof G&&/native code/.test(W(G)),U=o((function(e){(e.exports=function(e,t){return P[e]||(P[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.11.2",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),H=0,$=Math.random(),V=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++H+$).toString(36)},X=U("keys"),Q=function(e){return X[e]||(X[e]=V(e))},K={},J="Object already initialized",ee=l.WeakMap;if(Z){var te=P.state||(P.state=new ee),ne=te.get,ae=te.has,ie=te.set;I=function(e,t){if(ae.call(te,e))throw new TypeError(J);return t.facade=e,ie.call(te,e,t),t},q=function(e){return ne.call(te,e)||{}},Y=function(e){return ae.call(te,e)}}else{var re=Q("state");K[re]=!0,I=function(e,t){if(M(e,re))throw new TypeError(J);return t.facade=e,N(e,re,t),t},q=function(e){return M(e,re)?e[re]:{}},Y=function(e){return M(e,re)}}var oe={set:I,get:q,has:Y,enforce:function(e){return Y(e)?q(e):I(e,{})},getterFor:function(e){return function(t){var n;if(!v(t)||(n=q(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},se=o((function(e){var t=oe.get,n=oe.enforce,a=String(String).split("String");(e.exports=function(e,t,i,r){var o,s=!!r&&!!r.unsafe,c=!!r&&!!r.enumerable,u=!!r&&!!r.noTargetGet;"function"==typeof i&&("string"!=typeof t||M(i,"name")||N(i,"name",t),(o=n(i)).source||(o.source=a.join("string"==typeof t?t:""))),e!==l?(s?!u&&e[t]&&(c=!0):delete e[t],c?e[t]=i:N(e,t,i)):c?e[t]=i:R(t,i)})(Function.prototype,"toString",(function(){return"function"==typeof this&&t(this).source||W(this)}))})),le=l,ce=function(e){return"function"==typeof e?e:void 0},ue=function(e,t){return arguments.length<2?ce(le[e])||ce(l[e]):le[e]&&le[e][t]||l[e]&&l[e][t]},de=Math.ceil,pe=Math.floor,Ae=function(e){return isNaN(e=+e)?0:(e>0?pe:de)(e)},he=Math.min,me=function(e){return e>0?he(Ae(e),9007199254740991):0},ge=Math.max,fe=Math.min,be=function(e){return function(t,n,a){var i,r=C(t),o=me(r.length),s=function(e,t){var n=Ae(e);return n<0?ge(n+t,0):fe(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}},Be=(be(!0),be(!1)),Ce=function(e,t){var n,a=C(e),i=0,r=[];for(n in a)!M(K,n)&&M(a,n)&&r.push(n);for(;t.length>i;)M(a,n=t[i++])&&(~Be(r,n)||r.push(n));return r},ve=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],ye=ve.concat("length","prototype"),Te={f:Object.getOwnPropertyNames||function(e){return Ce(e,ye)}},_e={f:Object.getOwnPropertySymbols},Me=ue("Reflect","ownKeys")||function(e){var t=Te.f(x(e)),n=_e.f;return n?t.concat(n(e)):t},Oe=function(e,t){for(var n=Me(t),a=D.f,i=F.f,r=0;rr;)D.f(e,n=a[r++],t[n]);return e},qe=ue("document","documentElement"),Ye="prototype",We="script",Ge=Q("IE_PROTO"),Ze=function(){},Ue=function(e){return"<"+We+">"+e+""},He=function(){try{Re=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t,n;He=Re?function(e){e.write(Ue("")),e.close();var t=e.parentWindow.Object;return e=null,t}(Re):(t=w("iframe"),n="java"+We+":",t.style.display="none",qe.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(Ue("document.F=Object")),e.close(),e.F);for(var a=ve.length;a--;)delete He[Ye][ve[a]];return He()};K[Ge]=!0;var $e=Object.create||function(e,t){var n;return null!==e?(Ze[Ye]=x(e),n=new Ze,Ze[Ye]=null,n[Ge]=e):n=He(),void 0===t?n:Ie(n,t)},Ve="\t\n\v\f\r                 \u2028\u2029\ufeff",Xe="["+Ve+"]",Qe=RegExp("^"+Xe+Xe+"*"),Ke=RegExp(Xe+Xe+"*$"),Je=function(e){return function(t){var n=String(B(t));return 1&e&&(n=n.replace(Qe,"")),2&e&&(n=n.replace(Ke,"")),n}},et={start:Je(1),end:Je(2),trim:Je(3)},tt=Te.f,nt=F.f,at=D.f,it=et.trim,rt="Number",ot=l[rt],st=ot.prototype,lt=g($e(st))==rt,ct=function(e){var t,n,a,i,r,o,s,l,c=y(e,!1);if("string"==typeof c&&c.length>2)if(43===(t=(c=it(c)).charCodeAt(0))||45===t){if(88===(n=c.charCodeAt(2))||120===n)return NaN}else if(48===t){switch(c.charCodeAt(1)){case 66:case 98:a=2,i=49;break;case 79:case 111:a=8,i=55;break;default:return+c}for(o=(r=c.slice(2)).length,s=0;si)return NaN;return parseInt(r,a)}return+c};if(ze(rt,!ot(" 0o1")||!ot("0b1")||ot("+0x1"))){for(var ut,dt=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof dt&&(lt?c((function(){st.valueOf.call(n)})):g(n)!=rt)?Pe(new ot(ct(t)),n,dt):ct(t)},pt=u?tt(ot):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),At=0;pt.length>At;At++)M(ot,ut=pt[At])&&!M(dt,ut)&&at(dt,ut,nt(ot,ut));dt.prototype=st,st.constructor=dt,se(l,rt,dt)}var ht,mt,gt={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||9007199254740991,MAX_SAFE_COMPONENT_LENGTH:16},ft="process"==g(l.process),bt=ue("navigator","userAgent")||"",Bt=l.process,Ct=Bt&&Bt.versions,vt=Ct&&Ct.v8;vt?mt=(ht=vt.split("."))[0]+ht[1]:bt&&(!(ht=bt.match(/Edge\/(\d+)/))||ht[1]>=74)&&(ht=bt.match(/Chrome\/(\d+)/))&&(mt=ht[1]);var yt=mt&&+mt,Tt=!!Object.getOwnPropertySymbols&&!c((function(){return!Symbol.sham&&(ft?38===yt:yt>37&&yt<41)})),_t=Tt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Mt=U("wks"),Ot=l.Symbol,Et=_t?Ot:Ot&&Ot.withoutSetter||V,wt=function(e){return M(Mt,e)&&(Tt||"string"==typeof Mt[e])||(Tt&&M(Ot,e)?Mt[e]=Ot[e]:Mt[e]=Et("Symbol."+e)),Mt[e]},kt=wt("match"),St=function(e){var t;return v(e)&&(void 0!==(t=e[kt])?!!t:"RegExp"==g(e))},Ft=function(){var e=x(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t};function xt(e,t){return RegExp(e,t)}var zt=c((function(){var e=xt("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),Dt=c((function(){var e=xt("^r","gy");return e.lastIndex=2,null!=e.exec("str")})),Nt={UNSUPPORTED_Y:zt,BROKEN_CARET:Dt},Rt=wt("species"),jt=function(e){var t=ue(e),n=D.f;u&&t&&!t[Rt]&&n(t,Rt,{configurable:!0,get:function(){return this}})},Pt=D.f,Lt=Te.f,It=oe.enforce,qt=wt("match"),Yt=l.RegExp,Wt=Yt.prototype,Gt=/a/g,Zt=/a/g,Ut=new Yt(Gt)!==Gt,Ht=Nt.UNSUPPORTED_Y;if(u&&ze("RegExp",!Ut||Ht||c((function(){return Zt[qt]=!1,Yt(Gt)!=Gt||Yt(Zt)==Zt||"/a/i"!=Yt(Gt,"i")})))){for(var $t=function(e,t){var n,a=this instanceof $t,i=St(e),r=void 0===t;if(!a&&i&&e.constructor===$t&&r)return e;Ut?i&&!r&&(e=e.source):e instanceof $t&&(r&&(t=Ft.call(e)),e=e.source),Ht&&(n=!!t&&t.indexOf("y")>-1)&&(t=t.replace(/y/g,""));var o=Pe(Ut?new Yt(e,t):Yt(e,t),a?this:Wt,$t);return Ht&&n&&(It(o).sticky=!0),o},Vt=function(e){e in $t||Pt($t,e,{configurable:!0,get:function(){return Yt[e]},set:function(t){Yt[e]=t}})},Xt=Lt(Yt),Qt=0;Xt.length>Qt;)Vt(Xt[Qt++]);Wt.constructor=$t,$t.prototype=Wt,se(l,"RegExp",$t)}jt("RegExp");var Kt=RegExp.prototype.exec,Jt=U("native-string-replace",String.prototype.replace),en=Kt,tn=function(){var e=/a/,t=/b*/g;return Kt.call(e,"a"),Kt.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),nn=Nt.UNSUPPORTED_Y||Nt.BROKEN_CARET,an=void 0!==/()??/.exec("")[1];(tn||an||nn)&&(en=function(e){var t,n,a,i,r=this,o=nn&&r.sticky,s=Ft.call(r),l=r.source,c=0,u=e;return o&&(-1===(s=s.replace("y","")).indexOf("g")&&(s+="g"),u=String(e).slice(r.lastIndex),r.lastIndex>0&&(!r.multiline||r.multiline&&"\n"!==e[r.lastIndex-1])&&(l="(?: "+l+")",u=" "+u,c++),n=new RegExp("^(?:"+l+")",s)),an&&(n=new RegExp("^"+l+"$(?!\\s)",s)),tn&&(t=r.lastIndex),a=Kt.call(o?n:r,u),o?a?(a.input=a.input.slice(c),a[0]=a[0].slice(c),a.index=r.lastIndex,r.lastIndex+=a[0].length):r.lastIndex=0:tn&&a&&(r.lastIndex=r.global?a.index+a[0].length:t),an&&a&&a.length>1&&Jt.call(a[0],n,(function(){for(i=1;i=51||!c((function(){var t=[];return(t.constructor={})[mn]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},fn=wt("isConcatSpreadable"),bn=9007199254740991,Bn="Maximum allowed index exceeded",Cn=yt>=51||!c((function(){var e=[];return e[fn]=!1,e.concat()[0]!==e})),vn=gn("concat"),yn=function(e){if(!v(e))return!1;var t=e[fn];return void 0!==t?!!t:dn(e)};function Tn(e){return Tn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Tn(e)}function _n(e,t){for(var n=0;nbn)throw TypeError(Bn);for(n=0;n=bn)throw TypeError(Bn);pn(s,l++,r)}return s.length=l,s}});var Mn="object"===(void 0===a?"undefined":Tn(a))&&a.env&&a.env.NODE_DEBUG&&/\bsemver\b/i.test(a.env.NODE_DEBUG)?function(){for(var e,t=arguments.length,n=new Array(t),a=0;a)?=?)"),s("XRANGEIDENTIFIERLOOSE","".concat(i[r.NUMERICIDENTIFIERLOOSE],"|x|X|\\*")),s("XRANGEIDENTIFIER","".concat(i[r.NUMERICIDENTIFIER],"|x|X|\\*")),s("XRANGEPLAIN","[v=\\s]*(".concat(i[r.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(i[r.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(i[r.XRANGEIDENTIFIER],")")+"(?:".concat(i[r.PRERELEASE],")?").concat(i[r.BUILD],"?")+")?)?"),s("XRANGEPLAINLOOSE","[v=\\s]*(".concat(i[r.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(i[r.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(i[r.XRANGEIDENTIFIERLOOSE],")")+"(?:".concat(i[r.PRERELEASELOOSE],")?").concat(i[r.BUILD],"?")+")?)?"),s("XRANGE","^".concat(i[r.GTLT],"\\s*").concat(i[r.XRANGEPLAIN],"$")),s("XRANGELOOSE","^".concat(i[r.GTLT],"\\s*").concat(i[r.XRANGEPLAINLOOSE],"$")),s("COERCE","".concat("(^|[^\\d])(\\d{1,").concat(n,"})")+"(?:\\.(\\d{1,".concat(n,"}))?")+"(?:\\.(\\d{1,".concat(n,"}))?")+"(?:$|[^\\d])"),s("COERCERTL",i[r.COERCE],!0),s("LONETILDE","(?:~>?)"),s("TILDETRIM","(\\s*)".concat(i[r.LONETILDE],"\\s+"),!0),t.tildeTrimReplace="$1~",s("TILDE","^".concat(i[r.LONETILDE]).concat(i[r.XRANGEPLAIN],"$")),s("TILDELOOSE","^".concat(i[r.LONETILDE]).concat(i[r.XRANGEPLAINLOOSE],"$")),s("LONECARET","(?:\\^)"),s("CARETTRIM","(\\s*)".concat(i[r.LONECARET],"\\s+"),!0),t.caretTrimReplace="$1^",s("CARET","^".concat(i[r.LONECARET]).concat(i[r.XRANGEPLAIN],"$")),s("CARETLOOSE","^".concat(i[r.LONECARET]).concat(i[r.XRANGEPLAINLOOSE],"$")),s("COMPARATORLOOSE","^".concat(i[r.GTLT],"\\s*(").concat(i[r.LOOSEPLAIN],")$|^$")),s("COMPARATOR","^".concat(i[r.GTLT],"\\s*(").concat(i[r.FULLPLAIN],")$|^$")),s("COMPARATORTRIM","(\\s*)".concat(i[r.GTLT],"\\s*(").concat(i[r.LOOSEPLAIN],"|").concat(i[r.XRANGEPLAIN],")"),!0),t.comparatorTrimReplace="$1$2$3",s("HYPHENRANGE","^\\s*(".concat(i[r.XRANGEPLAIN],")")+"\\s+-\\s+"+"(".concat(i[r.XRANGEPLAIN],")")+"\\s*$"),s("HYPHENRANGELOOSE","^\\s*(".concat(i[r.XRANGEPLAINLOOSE],")")+"\\s+-\\s+"+"(".concat(i[r.XRANGEPLAINLOOSE],")")+"\\s*$"),s("STAR","(<|>)?=?\\s*\\*"),s("GTE0","^\\s*>=\\s*0.0.0\\s*$"),s("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")})),wn=wt("species"),kn=!c((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")})),Sn="$0"==="a".replace(/./,"$0"),Fn=wt("replace"),xn=!!/./[Fn]&&""===/./[Fn]("a","$0"),zn=!c((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),Dn=function(e,t,n,a){var i=wt(e),r=!c((function(){var t={};return t[i]=function(){return 7},7!=""[e](t)})),o=r&&!c((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[wn]=function(){return n},n.flags="",n[i]=/./[i]),n.exec=function(){return t=!0,null},n[i](""),!t}));if(!r||!o||"replace"===e&&(!kn||!Sn||xn)||"split"===e&&!zn){var s=/./[i],l=n(i,""[e],(function(e,t,n,a,i){return t.exec===RegExp.prototype.exec?r&&!i?{done:!0,value:s.call(t,n,a)}:{done:!0,value:e.call(n,t,a)}:{done:!1}}),{REPLACE_KEEPS_$0:Sn,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:xn}),u=l[0],d=l[1];se(String.prototype,e,u),se(RegExp.prototype,i,2==t?function(e,t){return d.call(e,this,t)}:function(e){return d.call(e,this)})}a&&N(RegExp.prototype[i],"sham",!0)},Nn=function(e){return function(t,n){var a,i,r=String(B(t)),o=Ae(n),s=r.length;return o<0||o>=s?e?"":void 0:(a=r.charCodeAt(o))<55296||a>56319||o+1===s||(i=r.charCodeAt(o+1))<56320||i>57343?e?r.charAt(o):a:e?r.slice(o,o+2):i-56320+(a-55296<<10)+65536}},Rn={codeAt:Nn(!1),charAt:Nn(!0)},jn=Rn.charAt,Pn=function(e,t,n){return t+(n?jn(e,t).length:1)},Ln=function(e,t){var n=e.exec;if("function"==typeof n){var a=n.call(e,t);if("object"!=typeof a)throw TypeError("RegExp exec method returned something other than an Object or null");return a}if("RegExp"!==g(e))throw TypeError("RegExp#exec called on incompatible receiver");return rn.call(e,t)};Dn("match",1,(function(e,t,n){return[function(t){var n=B(this),a=null==t?void 0:t[e];return void 0!==a?a.call(t,n):new RegExp(t)[e](String(n))},function(e){var a=n(t,e,this);if(a.done)return a.value;var i=x(e),r=String(this);if(!i.global)return Ln(i,r);var o=i.unicode;i.lastIndex=0;for(var s,l=[],c=0;null!==(s=Ln(i,r));){var u=String(s[0]);l[c]=u,""===u&&(i.lastIndex=Pn(r,me(i.lastIndex),o)),c++}return 0===c?null:l}]}));var In=et.trim;Ne({target:"String",proto:!0,forced:function(e){return c((function(){return!!Ve[e]()||"​…᠎"!="​…᠎"[e]()||Ve[e].name!==e}))}("trim")},{trim:function(){return In(this)}});var qn=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},Yn=function(e,t,n){if(qn(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,a){return e.call(t,n,a)};case 3:return function(n,a,i){return e.call(t,n,a,i)}}return function(){return e.apply(t,arguments)}},Wn=[].push,Gn=function(e){var t=1==e,n=2==e,a=3==e,i=4==e,r=6==e,o=7==e,s=5==e||r;return function(l,c,u,d){for(var p,A,h=T(l),m=b(h),g=Yn(c,u,3),f=me(m.length),B=0,C=d||hn,v=t?C(l,f):n||o?C(l,0):void 0;f>B;B++)if((s||B in m)&&(A=g(p=m[B],B,h),e))if(t)v[B]=A;else if(A)switch(e){case 3:return!0;case 5:return p;case 6:return B;case 2:Wn.call(v,p)}else switch(e){case 4:return!1;case 7:Wn.call(v,p)}return r?-1:a||i?i:v}},Zn={forEach:Gn(0),map:Gn(1),filter:Gn(2),some:Gn(3),every:Gn(4),find:Gn(5),findIndex:Gn(6),filterOut:Gn(7)},Un=Zn.map,Hn=gn("map");Ne({target:"Array",proto:!0,forced:!Hn},{map:function(e){return Un(this,e,arguments.length>1?arguments[1]:void 0)}});var $n=wt("species"),Vn=Nt.UNSUPPORTED_Y,Xn=[].push,Qn=Math.min,Kn=4294967295;Dn("split",2,(function(e,t,n){var a;return a="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var a=String(B(this)),i=void 0===n?Kn:n>>>0;if(0===i)return[];if(void 0===e)return[a];if(!St(e))return t.call(a,e,i);for(var r,o,s,l=[],c=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),u=0,d=new RegExp(e.source,c+"g");(r=rn.call(d,a))&&!((o=d.lastIndex)>u&&(l.push(a.slice(u,r.index)),r.length>1&&r.index=i));)d.lastIndex===r.index&&d.lastIndex++;return u===a.length?!s&&d.test("")||l.push(""):l.push(a.slice(u)),l.length>i?l.slice(0,i):l}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var i=B(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,i,n):a.call(String(i),t,n)},function(e,i){var r=n(a,e,this,i,a!==t);if(r.done)return r.value;var o=x(e),s=String(this),l=function(e,t){var n,a=x(e).constructor;return void 0===a||null==(n=x(a)[$n])?t:qn(n)}(o,RegExp),c=o.unicode,u=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(Vn?"g":"y"),d=new l(Vn?"^(?:"+o.source+")":o,u),p=void 0===i?Kn:i>>>0;if(0===p)return[];if(0===s.length)return null===Ln(d,s)?[s]:[];for(var A=0,h=0,m=[];h1?arguments[1]:void 0)}});var ra=["includePrerelease","loose","rtl"],oa=function(e){return e?"object"!==Tn(e)?{loose:!0}:ra.filter((function(t){return e[t]})).reduce((function(e,t){return e[t]=!0,e}),{}):{}},sa=/^[0-9]+$/,la=function(e,t){var n=sa.test(e),a=sa.test(t);return n&&a&&(e=+e,t=+t),e===t?0:n&&!a?-1:a&&!n?1:eca)throw new TypeError("version is longer than ".concat(ca," characters"));On("SemVer",t,n),this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease;var a=t.trim().match(n.loose?da[pa.LOOSE]:da[pa.FULL]);if(!a)throw new TypeError("Invalid Version: ".concat(t));if(this.raw=t,this.major=+a[1],this.minor=+a[2],this.patch=+a[3],this.major>ua||this.major<0)throw new TypeError("Invalid major version");if(this.minor>ua||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>ua||this.patch<0)throw new TypeError("Invalid patch version");a[4]?this.prerelease=a[4].split(".").map((function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&t=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);-1===n&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: ".concat(e))}return this.format(),this.raw=this.version,this}}])&&_n(t.prototype,n),e}(),ma=ha,ga=gt.MAX_LENGTH,fa=En.re,ba=En.t,Ba=function(e,t){var n=function(e,t){if(t=oa(t),e instanceof ma)return e;if("string"!=typeof e)return null;if(e.length>ga)return null;if(!(t.loose?fa[ba.LOOSE]:fa[ba.FULL]).test(e))return null;try{return new ma(e,t)}catch(e){return null}}(e,t);return n?n.version:null},Ca=function(e,t){return new ma(e,t).major},va=function(){function e(e){"function"==typeof e.getVersion&&Ba(e.getVersion())?Ca(e.getVersion())!==Ca(this.getVersion())&&i.warn("Proxying an event bus of version "+e.getVersion()+" with "+this.getVersion()):i.warn("Proxying an event bus with an unknown or invalid version"),this.bus=e}return e.prototype.getVersion=function(){return"1.3.0"},e.prototype.subscribe=function(e,t){this.bus.subscribe(e,t)},e.prototype.unsubscribe=function(e,t){this.bus.unsubscribe(e,t)},e.prototype.emit=function(e,t){this.bus.emit(e,t)},e}(),ya=wt("unscopables"),Ta=Array.prototype;null==Ta[ya]&&D.f(Ta,ya,{configurable:!0,value:$e(null)});var _a,Ma,Oa,Ea=function(e){Ta[ya][e]=!0},wa={},ka=!c((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),Sa=Q("IE_PROTO"),Fa=Object.prototype,xa=ka?Object.getPrototypeOf:function(e){return e=T(e),M(e,Sa)?e[Sa]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?Fa:null},za=wt("iterator"),Da=!1;[].keys&&("next"in(Oa=[].keys())?(Ma=xa(xa(Oa)))!==Object.prototype&&(_a=Ma):Da=!0);var Na=null==_a||c((function(){var e={};return _a[za].call(e)!==e}));Na&&(_a={}),M(_a,za)||N(_a,za,(function(){return this}));var Ra={IteratorPrototype:_a,BUGGY_SAFARI_ITERATORS:Da},ja=D.f,Pa=wt("toStringTag"),La=function(e,t,n){e&&!M(e=n?e:e.prototype,Pa)&&ja(e,Pa,{configurable:!0,value:t})},Ia=Ra.IteratorPrototype,qa=function(){return this},Ya=Ra.IteratorPrototype,Wa=Ra.BUGGY_SAFARI_ITERATORS,Ga=wt("iterator"),Za="keys",Ua="values",Ha="entries",$a=function(){return this},Va=function(e,t,n,a,i,r,o){!function(e,t,n){var a=t+" Iterator";e.prototype=$e(Ia,{next:h(1,n)}),La(e,a,!1),wa[a]=qa}(n,t,a);var s,l,c,u=function(e){if(e===i&&g)return g;if(!Wa&&e in A)return A[e];switch(e){case Za:case Ua:case Ha:return function(){return new n(this,e)}}return function(){return new n(this)}},d=t+" Iterator",p=!1,A=e.prototype,m=A[Ga]||A["@@iterator"]||i&&A[i],g=!Wa&&m||u(i),f="Array"==t&&A.entries||m;if(f&&(s=xa(f.call(new e)),Ya!==Object.prototype&&s.next&&(xa(s)!==Ya&&(je?je(s,Ya):"function"!=typeof s[Ga]&&N(s,Ga,$a)),La(s,d,!0))),i==Ua&&m&&m.name!==Ua&&(p=!0,g=function(){return m.call(this)}),A[Ga]!==g&&N(A,Ga,g),wa[t]=g,i)if(l={values:u(Ua),keys:r?g:u(Za),entries:u(Ha)},o)for(c in l)(Wa||p||!(c in A))&&se(A,c,l[c]);else Ne({target:t,proto:!0,forced:Wa||p},l);return l},Xa="Array Iterator",Qa=oe.set,Ka=oe.getterFor(Xa),Ja=Va(Array,"Array",(function(e,t){Qa(this,{type:Xa,target:C(e),index:0,kind:t})}),(function(){var e=Ka(this),t=e.target,n=e.kind,a=e.index++;return!t||a>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:a,done:!1}:"values"==n?{value:t[a],done:!1}:{value:[a,t[a]],done:!1}}),"values");wa.Arguments=wa.Array,Ea("keys"),Ea("values"),Ea("entries");var ei=!c((function(){return Object.isExtensible(Object.preventExtensions({}))})),ti=o((function(e){var t=D.f,n=V("meta"),a=0,i=Object.isExtensible||function(){return!0},r=function(e){t(e,n,{value:{objectID:"O"+ ++a,weakData:{}}})},o=e.exports={REQUIRED:!1,fastKey:function(e,t){if(!v(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!M(e,n)){if(!i(e))return"F";if(!t)return"E";r(e)}return e[n].objectID},getWeakData:function(e,t){if(!M(e,n)){if(!i(e))return!0;if(!t)return!1;r(e)}return e[n].weakData},onFreeze:function(e){return ei&&o.REQUIRED&&i(e)&&!M(e,n)&&r(e),e}};K[n]=!0})),ni=wt("iterator"),ai=Array.prototype,ii={};ii[wt("toStringTag")]="z";var ri="[object z]"===String(ii),oi=wt("toStringTag"),si="Arguments"==g(function(){return arguments}()),li=ri?g:function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),oi))?n:si?g(t):"Object"==(a=g(t))&&"function"==typeof t.callee?"Arguments":a},ci=wt("iterator"),ui=function(e){var t=e.return;if(void 0!==t)return x(t.call(e)).value},di=function(e,t){this.stopped=e,this.result=t},pi=function(e,t,n){var a,i,r,o,s,l,c,u,d=n&&n.that,p=!(!n||!n.AS_ENTRIES),A=!(!n||!n.IS_ITERATOR),h=!(!n||!n.INTERRUPTED),m=Yn(t,d,1+p+h),g=function(e){return a&&ui(a),new di(!0,e)},f=function(e){return p?(x(e),h?m(e[0],e[1],g):m(e[0],e[1])):h?m(e,g):m(e)};if(A)a=e;else{if(i=function(e){if(null!=e)return e[ci]||e["@@iterator"]||wa[li(e)]}(e),"function"!=typeof i)throw TypeError("Target is not iterable");if(void 0!==(u=i)&&(wa.Array===u||ai[ni]===u)){for(r=0,o=me(e.length);o>r;r++)if((s=f(e[r]))&&s instanceof di)return s;return new di(!1)}a=i.call(e)}for(l=a.next;!(c=l.call(a)).done;){try{s=f(c.value)}catch(e){throw ui(a),e}if("object"==typeof s&&s&&s instanceof di)return s}return new di(!1)},Ai=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e},hi=wt("iterator"),mi=!1;try{var gi=0,fi={next:function(){return{done:!!gi++}},return:function(){mi=!0}};fi[hi]=function(){return this},Array.from(fi,(function(){throw 2}))}catch(e){}var bi=function(e,t,n){for(var a in t)se(e,a,t[a],n);return e},Bi=D.f,Ci=ti.fastKey,vi=oe.set,yi=oe.getterFor,Ti={getConstructor:function(e,t,n,a){var i=e((function(e,r){Ai(e,i,t),vi(e,{type:t,index:$e(null),first:void 0,last:void 0,size:0}),u||(e.size=0),null!=r&&pi(r,e[a],{that:e,AS_ENTRIES:n})})),r=yi(t),o=function(e,t,n){var a,i,o=r(e),l=s(e,t);return l?l.value=n:(o.last=l={index:i=Ci(t,!0),key:t,value:n,previous:a=o.last,next:void 0,removed:!1},o.first||(o.first=l),a&&(a.next=l),u?o.size++:e.size++,"F"!==i&&(o.index[i]=l)),e},s=function(e,t){var n,a=r(e),i=Ci(t);if("F"!==i)return a.index[i];for(n=a.first;n;n=n.next)if(n.key==t)return n};return bi(i.prototype,{clear:function(){for(var e=r(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,u?e.size=0:this.size=0},delete:function(e){var t=this,n=r(t),a=s(t,e);if(a){var i=a.next,o=a.previous;delete n.index[a.index],a.removed=!0,o&&(o.next=i),i&&(i.previous=o),n.first==a&&(n.first=i),n.last==a&&(n.last=o),u?n.size--:t.size--}return!!a},forEach:function(e){for(var t,n=r(this),a=Yn(e,arguments.length>1?arguments[1]:void 0,3);t=t?t.next:n.first;)for(a(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!s(this,e)}}),bi(i.prototype,n?{get:function(e){var t=s(this,e);return t&&t.value},set:function(e,t){return o(this,0===e?0:e,t)}}:{add:function(e){return o(this,e=0===e?0:e,e)}}),u&&Bi(i.prototype,"size",{get:function(){return r(this).size}}),i},setStrong:function(e,t,n){var a=t+" Iterator",i=yi(t),r=yi(a);Va(e,t,(function(e,t){vi(this,{type:a,target:e,state:i(e),kind:t,last:void 0})}),(function(){for(var e=r(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),jt(t)}};!function(e,t,n){var a=-1!==e.indexOf("Map"),i=-1!==e.indexOf("Weak"),r=a?"set":"add",o=l[e],s=o&&o.prototype,u=o,d={},p=function(e){var t=s[e];se(s,e,"add"==e?function(e){return t.call(this,0===e?0:e),this}:"delete"==e?function(e){return!(i&&!v(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return i&&!v(e)?void 0:t.call(this,0===e?0:e)}:"has"==e?function(e){return!(i&&!v(e))&&t.call(this,0===e?0:e)}:function(e,n){return t.call(this,0===e?0:e,n),this})};if(ze(e,"function"!=typeof o||!(i||s.forEach&&!c((function(){(new o).entries().next()})))))u=n.getConstructor(t,e,a,r),ti.REQUIRED=!0;else if(ze(e,!0)){var A=new u,h=A[r](i?{}:-0,1)!=A,m=c((function(){A.has(1)})),g=function(e,t){if(!mi)return!1;var n=!1;try{var a={};a[hi]=function(){return{next:function(){return{done:n=!0}}}},new o(a)}catch(e){}return n}(),f=!i&&c((function(){for(var e=new o,t=5;t--;)e[r](t,t);return!e.has(-0)}));g||((u=t((function(t,n){Ai(t,u,e);var i=Pe(new o,t,u);return null!=n&&pi(n,i[r],{that:i,AS_ENTRIES:a}),i}))).prototype=s,s.constructor=u),(m||f)&&(p("delete"),p("has"),a&&p("get")),(f||h)&&p(r),i&&s.clear&&delete s.clear}d[e]=u,Ne({global:!0,forced:u!=o},d),La(u,e),i||n.setStrong(u,e,a)}("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),Ti);var _i=ri?{}.toString:function(){return"[object "+li(this)+"]"};ri||se(Object.prototype,"toString",_i,{unsafe:!0});var Mi=Rn.charAt,Oi="String Iterator",Ei=oe.set,wi=oe.getterFor(Oi);Va(String,"String",(function(e){Ei(this,{type:Oi,string:String(e),index:0})}),(function(){var e,t=wi(this),n=t.string,a=t.index;return a>=n.length?{value:void 0,done:!0}:(e=Mi(n,a),t.index+=e.length,{value:e,done:!1})}));var ki={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Si=wt("iterator"),Fi=wt("toStringTag"),xi=Ja.values;for(var zi in ki){var Di=l[zi],Ni=Di&&Di.prototype;if(Ni){if(Ni[Si]!==xi)try{N(Ni,Si,xi)}catch(e){Ni[Si]=xi}if(Ni[Fi]||N(Ni,Fi,zi),ki[zi])for(var Ri in Ja)if(Ni[Ri]!==Ja[Ri])try{N(Ni,Ri,Ja[Ri])}catch(e){Ni[Ri]=Ja[Ri]}}}var ji=Zn.forEach,Pi=Jn("forEach")?[].forEach:function(e){return ji(this,e,arguments.length>1?arguments[1]:void 0)};for(var Li in ki){var Ii=l[Li],qi=Ii&&Ii.prototype;if(qi&&qi.forEach!==Pi)try{N(qi,"forEach",Pi)}catch(e){qi.forEach=Pi}}var Yi=function(){function e(){this.handlers=new Map}return e.prototype.getVersion=function(){return"1.3.0"},e.prototype.subscribe=function(e,t){this.handlers.set(e,(this.handlers.get(e)||[]).concat(t))},e.prototype.unsubscribe=function(e,t){this.handlers.set(e,(this.handlers.get(e)||[]).filter((function(e){return e!=t})))},e.prototype.emit=function(e,t){(this.handlers.get(e)||[]).forEach((function(e){try{e(t)}catch(e){i.error("could not invoke event listener",e)}}))},e}(),Wi=(void 0!==window.OC&&window.OC._eventBus&&void 0===window._nc_event_bus&&(i.warn("found old event bus instance at OC._eventBus. Update your version!"),window._nc_event_bus=window.OC._eventBus),void 0!==window._nc_event_bus?new va(window._nc_event_bus):window._nc_event_bus=new Yi);function Gi(e,t){Wi.subscribe(e,t)}function Zi(e,t){Wi.unsubscribe(e,t)}function Ui(e,t){Wi.emit(e,t)}},62556:function(e,t,n){"use strict";n(73292),n(25918),n(38227),n(43584),Object.defineProperty(t,"__esModule",{value:!0}),t.getBuilder=function(e){return new a.default(e)},t.clearAll=function(){[window.sessionStorage,window.localStorage].map((function(e){return o(e)}))},t.clearNonPersistent=function(){[window.sessionStorage,window.localStorage].map((function(e){return o(e,(function(e){return!e.startsWith(i.default.GLOBAL_SCOPE_PERSISTENT)}))}))};var a=r(n(71957)),i=r(n(48971));function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){Object.keys(e).filter((function(e){return!t||t(e)})).map(e.removeItem.bind(e))}},48971:function(e,t,n){"use strict";function a(e,t){for(var n=0;n0&&void 0!==arguments[0])||arguments[0];return this.persisted=e,this}},{key:"clearOnLogout",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this.clearedOnLogout=e,this}},{key:"build",value:function(){return new i.default(this.appId,this.persisted?window.localStorage:window.sessionStorage,!this.clearedOnLogout)}}],n&&r(t.prototype,n),e}();t.default=s},84611:function(e){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},20266:function(e,t,n){var a=n(2167);e.exports=function(e){if(!a(e))throw TypeError(String(e)+" is not an object");return e}},31524:function(e,t,n){var a=n(75775),i=n(1138),r=n(47518),o=function(e){return function(t,n,o){var s,l=a(t),c=i(l.length),u=r(o,c);if(e&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},99910:function(e,t,n){var a=n(3391),i=n(49479),r=n(44937),o=n(1138),s=n(79315),l=[].push,c=function(e){var t=1==e,n=2==e,c=3==e,u=4==e,d=6==e,p=5==e||d;return function(A,h,m,g){for(var f,b,B=r(A),C=i(B),v=a(h,m,3),y=o(C.length),T=0,_=g||s,M=t?_(A,y):n?_(A,0):void 0;y>T;T++)if((p||T in C)&&(b=v(f=C[T],T,B),e))if(t)M[T]=b;else if(b)switch(e){case 3:return!0;case 5:return f;case 6:return T;case 2:l.call(M,f)}else if(u)return!1;return d?-1:c||u?u:M}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6)}},3919:function(e,t,n){var a=n(28590),i=n(81141),r=n(74217),o=i("species");e.exports=function(e){return r>=51||!a((function(){var t=[];return(t.constructor={})[o]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},79315:function(e,t,n){var a=n(2167),i=n(12075),r=n(81141)("species");e.exports=function(e,t){var n;return i(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!i(n.prototype)?a(n)&&null===(n=n[r])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},3391:function(e,t,n){var a=n(84611);e.exports=function(e,t,n){if(a(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,a){return e.call(t,n,a)};case 3:return function(n,a,i){return e.call(t,n,a,i)}}return function(){return e.apply(t,arguments)}}},84692:function(e){var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},20541:function(e,t,n){var a=n(45612),i=n(66794),r=n(40647),o=n(19974);e.exports=function(e,t){for(var n=i(t),s=o.f,l=r.f,c=0;cl;)a(s,n=t[l++])&&(~r(c,n)||c.push(n));return c}},83147:function(e,t,n){var a=n(62121),i=n(29276);e.exports=Object.keys||function(e){return a(e,i)}},459:function(e,t){"use strict";var n={}.propertyIsEnumerable,a=Object.getOwnPropertyDescriptor,i=a&&!n.call({1:2},1);t.f=i?function(e){var t=a(this,e);return!!t&&t.enumerable}:n},66794:function(e,t,n){var a=n(63930),i=n(28969),r=n(80724),o=n(20266);e.exports=a("Reflect","ownKeys")||function(e){var t=i.f(o(e)),n=r.f;return n?t.concat(n(e)):t}},23265:function(e,t,n){var a=n(84586);e.exports=a},62165:function(e,t,n){var a=n(84586),i=n(25208),r=n(45612),o=n(60312),s=n(24850),l=n(23042),c=l.get,u=l.enforce,d=String(String).split("String");(e.exports=function(e,t,n,s){var l=!!s&&!!s.unsafe,c=!!s&&!!s.enumerable,p=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof t||r(n,"name")||i(n,"name",t),u(n).source=d.join("string"==typeof t?t:"")),e!==a?(l?!p&&e[t]&&(c=!0):delete e[t],c?e[t]=n:i(e,t,n)):c?e[t]=n:o(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&c(this).source||s(this)}))},24063:function(e){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},60312:function(e,t,n){var a=n(84586),i=n(25208);e.exports=function(e,t){try{i(a,e,t)}catch(n){a[e]=t}return t}},75019:function(e,t,n){var a=n(25484),i=n(9299),r=a("keys");e.exports=function(e){return r[e]||(r[e]=i(e))}},39530:function(e,t,n){var a=n(84586),i=n(60312),r="__core-js_shared__",o=a[r]||i(r,{});e.exports=o},25484:function(e,t,n){var a=n(21935),i=n(39530);(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.1",mode:a?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},47518:function(e,t,n){var a=n(33328),i=Math.max,r=Math.min;e.exports=function(e,t){var n=a(e);return n<0?i(n+t,0):r(n,t)}},75775:function(e,t,n){var a=n(49479),i=n(24063);e.exports=function(e){return a(i(e))}},33328:function(e){var t=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:t)(e)}},1138:function(e,t,n){var a=n(33328),i=Math.min;e.exports=function(e){return e>0?i(a(e),9007199254740991):0}},44937:function(e,t,n){var a=n(24063);e.exports=function(e){return Object(a(e))}},4356:function(e,t,n){var a=n(2167);e.exports=function(e,t){if(!a(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!a(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!a(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!a(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},9299:function(e){var t=0,n=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++t+n).toString(36)}},91677:function(e,t,n){var a=n(20982);e.exports=a&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},68864:function(e,t,n){var a=n(63930);e.exports=a("navigator","userAgent")||""},74217:function(e,t,n){var a,i,r=n(84586),o=n(68864),s=r.process,l=s&&s.versions,c=l&&l.v8;c?i=(a=c.split("."))[0]+a[1]:o&&(!(a=o.match(/Edge\/(\d+)/))||a[1]>=74)&&(a=o.match(/Chrome\/(\d+)/))&&(i=a[1]),e.exports=i&&+i},81141:function(e,t,n){var a=n(84586),i=n(25484),r=n(45612),o=n(9299),s=n(20982),l=n(91677),c=i("wks"),u=a.Symbol,d=l?u:u&&u.withoutSetter||o;e.exports=function(e){return r(c,e)||(s&&r(u,e)?c[e]=u[e]:c[e]=d("Symbol."+e)),c[e]}},31013:function(e,t,n){"use strict";var a=n(58615),i=n(28590),r=n(12075),o=n(2167),s=n(44937),l=n(1138),c=n(90024),u=n(79315),d=n(3919),p=n(81141),A=n(74217),h=p("isConcatSpreadable"),m=9007199254740991,g="Maximum allowed index exceeded",f=A>=51||!i((function(){var e=[];return e[h]=!1,e.concat()[0]!==e})),b=d("concat"),B=function(e){if(!o(e))return!1;var t=e[h];return void 0!==t?!!t:r(e)};a({target:"Array",proto:!0,forced:!f||!b},{concat:function(e){var t,n,a,i,r,o=s(this),d=u(o,0),p=0;for(t=-1,a=arguments.length;tm)throw TypeError(g);for(n=0;n=m)throw TypeError(g);c(d,p++,r)}return d.length=p,d}})},73292:function(e,t,n){"use strict";var a=n(58615),i=n(99910).filter,r=n(28590),o=n(3919)("filter"),s=o&&!r((function(){[].filter.call({length:-1,0:1},(function(e){throw e}))}));a({target:"Array",proto:!0,forced:!o||!s},{filter:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},25918:function(e,t,n){"use strict";var a=n(58615),i=n(99910).map,r=n(28590),o=n(3919)("map"),s=o&&!r((function(){[].map.call({length:-1,0:1},(function(e){throw e}))}));a({target:"Array",proto:!0,forced:!o||!s},{map:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},38227:function(e,t,n){var a=n(58615),i=n(44937),r=n(83147);a({target:"Object",stat:!0,forced:n(28590)((function(){r(1)}))},{keys:function(e){return r(i(e))}})},43584:function(e,t,n){"use strict";var a,i=n(58615),r=n(40647).f,o=n(1138),s=n(22651),l=n(24063),c=n(33769),u=n(21935),d="".startsWith,p=Math.min,A=c("startsWith");i({target:"String",proto:!0,forced:!(!u&&!A&&(a=r(String.prototype,"startsWith"),a&&!a.writable)||A)},{startsWith:function(e){var t=String(l(this));s(e);var n=o(p(arguments.length>1?arguments[1]:void 0,t.length)),a=String(e);return d?d.call(t,a,n):t.slice(n,n+a.length)===a}})},77727:function(e){e.exports=[">0.25%","not ie 11","not op_mini all","not dead","Firefox ESR"]},51796:function(e,t,n){"use strict";n.d(t,{Dx:function(){return f},ST:function(){return $r},Xg:function(){return Hr}});var a=n(36767),i=n.n(a),r=n(31352),o=n(25108),s=n(34155),l=n(18350),c={name:"CalendarAvailability",components:{NcDatetimePicker:i()},props:{slots:{type:Object,required:!0},loading:{type:Boolean,default:!1},l10nTo:{type:String,required:!0},l10nDeleteSlot:{type:String,required:!0},l10nEmptyDay:{type:String,required:!0},l10nAddSlot:{type:String,required:!0},l10nMonday:{type:String,required:!0},l10nTuesday:{type:String,required:!0},l10nWednesday:{type:String,required:!0},l10nThursday:{type:String,required:!0},l10nFriday:{type:String,required:!0},l10nSaturday:{type:String,required:!0},l10nSunday:{type:String,required:!0}},data(){return{internalSlots:this.slotsToInternalData(this.slots)}},watch:{slots(){this.internalSlots=this.slotsToInternalData(this.slots)}},methods:{timeStampSlotsToDateObjectSlots(e){return e.map((e=>({start:new Date(1e3*e.start),end:new Date(1e3*e.end)})))},slotsToInternalData(){const e=[{id:"MO",displayName:this.l10nMonday,slots:this.timeStampSlotsToDateObjectSlots(this.slots.MO)},{id:"TU",displayName:this.l10nTuesday,slots:this.timeStampSlotsToDateObjectSlots(this.slots.TU)},{id:"WE",displayName:this.l10nWednesday,slots:this.timeStampSlotsToDateObjectSlots(this.slots.WE)},{id:"TH",displayName:this.l10nThursday,slots:this.timeStampSlotsToDateObjectSlots(this.slots.TH)},{id:"FR",displayName:this.l10nFriday,slots:this.timeStampSlotsToDateObjectSlots(this.slots.FR)},{id:"SA",displayName:this.l10nSaturday,slots:this.timeStampSlotsToDateObjectSlots(this.slots.SA)}],t={id:"SU",displayName:this.l10nSunday,slots:this.timeStampSlotsToDateObjectSlots(this.slots.SU)};return 1===(0,r.yo)()?[...e,t]:[t,...e]},internalDataToSlots(){const e={};return this.internalSlots.forEach((({id:t,slots:n})=>{e[t]=n.map((e=>({start:Math.round(e.start.getTime()/1e3),end:Math.round(e.end.getTime()/1e3)})))})),e},addSlot(e){const t=new Date;t.setHours(9,0,0,0);const n=new Date;n.setHours(17,0,0,0),e.slots.push({start:t,end:n}),this.onChangeSlots()},removeSlot(e,t){e.slots.splice(t,1),this.onChangeSlots()},onChangeSlots(){this.$emit("update:slots",this.internalDataToSlots())}}};function u(e,t,n,a,i,r,o,s,l,c){"boolean"!=typeof o&&(l=s,s=o,o=!1);var u,d="function"==typeof n?n.options:n;if(e&&e.render&&(d.render=e.render,d.staticRenderFns=e.staticRenderFns,d._compiled=!0,i&&(d.functional=!0)),a&&(d._scopeId=a),r?(u=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),t&&t.call(this,l(e)),e&&e._registeredComponents&&e._registeredComponents.add(r)},d._ssrRegister=u):t&&(u=o?function(e){t.call(this,c(e,this.$root.$options.shadowRoot))}:function(e){t.call(this,s(e))}),u)if(d.functional){var p=d.render;d.render=function(e,t){return u.call(t),p(e,t)}}else{var A=d.beforeCreate;d.beforeCreate=A?[].concat(A,u):[u]}return n}var d,p="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());function A(e){return function(e,t){return function(e,t){var n=p?t.media||"default":e,a=h[n]||(h[n]={ids:new Set,styles:[]});if(!a.ids.has(e)){a.ids.add(e);var i=t.source;if(t.map&&(i+="\n/*# sourceURL="+t.map.sources[0]+" */",i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t.map))))+" */"),a.element||(a.element=document.createElement("style"),a.element.type="text/css",t.media&&a.element.setAttribute("media",t.media),void 0===d&&(d=document.head||document.getElementsByTagName("head")[0]),d.appendChild(a.element)),"styleSheet"in a.element)a.styles.push(i),a.element.styleSheet.cssText=a.styles.filter(Boolean).join("\n");else{var r=a.ids.size-1,o=document.createTextNode(i),s=a.element.childNodes;s[r]&&a.element.removeChild(s[r]),s.length?a.element.insertBefore(o,s[r]):a.element.appendChild(o)}}}(e,t)}}var h={};const m=c;var g=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"grid-table"},[e._l(e.internalSlots,(function(t){return[n("div",{key:"day-label-"+t.id,staticClass:"label-weekday"},[e._v("\n\t\t\t"+e._s(t.displayName)+"\n\t\t")]),e._v(" "),n("div",{key:"day-slots-"+t.id,staticClass:"availability-slots"},[n("div",{staticClass:"availability-slot-group"},[e._l(t.slots,(function(a,i){return[n("div",{key:"slot-"+t.id+"-"+i,staticClass:"availability-slot"},[n("NcDatetimePicker",{staticClass:"start-date",attrs:{type:"time",format:"H:mm"},on:{change:e.onChangeSlots},model:{value:a.start,callback:function(t){e.$set(a,"start",t)},expression:"slot.start"}}),e._v(" "),n("span",{staticClass:"to-text"},[e._v("\n\t\t\t\t\t\t\t"+e._s(e.l10nTo)+"\n\t\t\t\t\t\t")]),e._v(" "),n("NcDatetimePicker",{staticClass:"end-date",attrs:{type:"time",format:"H:mm"},on:{change:e.onChangeSlots},model:{value:a.end,callback:function(t){e.$set(a,"end",t)},expression:"slot.end"}}),e._v(" "),n("button",{key:"slot-"+t.id+"-"+i+"-btn",staticClass:"icon-delete delete-slot button",attrs:{title:e.l10nDeleteSlot},on:{click:function(n){return e.removeSlot(t,i)}}})],1)]}))],2),e._v(" "),0===t.slots.length?n("span",{staticClass:"empty-content"},[e._v("\n\t\t\t\t"+e._s(e.l10nEmptyDay)+"\n\t\t\t")]):e._e()]),e._v(" "),n("button",{key:"add-slot-"+t.id,staticClass:"icon-add add-another button",attrs:{disabled:e.loading,title:e.l10nAddSlot},on:{click:function(n){return e.addSlot(t)}}})]}))],2)};g._withStripped=!0;const f=u({render:g,staticRenderFns:[]},(function(e){e&&e("data-v-90305d9c_0",{source:".availability-day[data-v-90305d9c] {\n padding: 0 10px 0 10px;\n position: absolute;\n}\n.availability-slots[data-v-90305d9c] {\n display: flex;\n white-space: nowrap;\n}\n.availability-slot[data-v-90305d9c] {\n display: flex;\n flex-direction: row;\n align-items: center;\n}\n.availability-slot-group[data-v-90305d9c] {\n display: flex;\n flex-direction: column;\n}\n[data-v-90305d9c] .mx-input-wrapper {\n width: 85px;\n}\n[data-v-90305d9c] .mx-datepicker {\n width: 97px;\n}\n[data-v-90305d9c] .multiselect {\n border: 1px solid var(--color-border-dark);\n width: 120px;\n}\n.time-zone[data-v-90305d9c] {\n padding: 32px 12px 12px 0;\n}\n.grid-table[data-v-90305d9c] {\n display: grid;\n margin-bottom: 32px;\n grid-column-gap: 24px;\n grid-row-gap: 6px;\n grid-template-columns: min-content min-content min-content;\n}\n.button[data-v-90305d9c] {\n align-self: flex-end;\n}\n.label-weekday[data-v-90305d9c] {\n position: relative;\n display: inline-flex;\n padding-top: 4px;\n}\n.delete-slot[data-v-90305d9c] {\n background-color: transparent;\n border: none;\n padding-bottom: 12px;\n opacity: 0.5;\n}\n.delete-slot[data-v-90305d9c]:hover {\n opacity: 1;\n}\n.add-another[data-v-90305d9c] {\n background-color: transparent;\n border: none;\n opacity: 0.5;\n display: inline-flex;\n padding: 0;\n margin: 0;\n margin-bottom: 3px;\n}\n.add-another[data-v-90305d9c]:hover {\n opacity: 1;\n}\n.to-text[data-v-90305d9c] {\n padding-right: 12px;\n}\n.time-zone-text[data-v-90305d9c] {\n padding-left: 22px;\n}\n.empty-content[data-v-90305d9c] {\n color: var(--color-text-lighter);\n margin-top: 4px;\n}\n\n/*# sourceMappingURL=CalendarAvailability.vue.map */",map:{version:3,sources:["/home/admin/git/calendar-availability-vue/src/CalendarAvailability.vue","CalendarAvailability.vue"],names:[],mappings:"AAyMA;EACA,sBAAA;EACA,kBAAA;ACxMA;AD0MA;EACA,aAAA;EACA,mBAAA;ACvMA;ADyMA;EACA,aAAA;EACA,mBAAA;EACA,mBAAA;ACtMA;ADwMA;EACA,aAAA;EACA,sBAAA;ACrMA;ADuMA;EACA,WAAA;ACpMA;ADsMA;EACA,WAAA;ACnMA;ADqMA;EACA,0CAAA;EACA,YAAA;AClMA;ADoMA;EACA,yBAAA;ACjMA;ADmMA;EACA,aAAA;EACA,mBAAA;EACA,qBAAA;EACA,iBAAA;EACA,0DAAA;AChMA;ADkMA;EACA,oBAAA;AC/LA;ADiMA;EACA,kBAAA;EACA,oBAAA;EACA,gBAAA;AC9LA;ADgMA;EACA,6BAAA;EACA,YAAA;EACA,oBAAA;EACA,YAAA;AC7LA;AD8LA;EACA,UAAA;AC5LA;ADgMA;EACA,6BAAA;EACA,YAAA;EACA,YAAA;EACA,oBAAA;EACA,UAAA;EACA,SAAA;EACA,kBAAA;AC7LA;AD+LA;EACA,UAAA;AC7LA;ADgMA;EACA,mBAAA;AC7LA;AD+LA;EACA,kBAAA;AC5LA;AD8LA;EACA,gCAAA;EACA,eAAA;AC3LA;;AAEA,mDAAmD",file:"CalendarAvailability.vue",sourcesContent:['\n\n