3 lines
258 KiB
JavaScript
3 lines
258 KiB
JavaScript
/*! For license information please see twofactor_totp-main-login-setup.js.LICENSE.txt */
|
||
(()=>{var e={147:function(t){t.exports=function(){"use strict";function t(){throw new Error("Dynamic requires are not currently supported by rollup-plugin-commonjs")}function e(t,e){return t(e={exports:{}},e.exports),e.exports}var r=e((function(e,r){var n;n=function(){return function(){function e(r,n,o){function i(s,u){if(!n[s]){if(!r[s]){var c="function"==typeof t&&t;if(!u&&c)return c(s,!0);if(a)return a(s,!0);var f=new Error("Cannot find module '"+s+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[s]={exports:{}};r[s][0].call(l.exports,(function(t){return i(r[s][1][t]||t)}),l,l.exports,e,r,n,o)}return n[s].exports}for(var a="function"==typeof t&&t,s=0;s<o.length;s++)i(o[s]);return i}return e}()({1:[function(t,e,r){e.exports=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then}},{}],2:[function(t,e,r){var n=t("./utils").getSymbolSize;r.getRowColCoords=function(t){if(1===t)return[];for(var e=Math.floor(t/7)+2,r=n(t),o=145===r?26:2*Math.ceil((r-13)/(2*e-2)),i=[r-7],a=1;a<e-1;a++)i[a]=i[a-1]-o;return i.push(6),i.reverse()},r.getPositions=function(t){for(var e=[],n=r.getRowColCoords(t),o=n.length,i=0;i<o;i++)for(var a=0;a<o;a++)0===i&&0===a||0===i&&a===o-1||i===o-1&&0===a||e.push([n[i],n[a]]);return e}},{"./utils":21}],3:[function(t,e,r){var n=t("./mode"),o=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function i(t){this.mode=n.ALPHANUMERIC,this.data=t}i.getBitsLength=function(t){return 11*Math.floor(t/2)+t%2*6},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(t){var e;for(e=0;e+2<=this.data.length;e+=2){var r=45*o.indexOf(this.data[e]);r+=o.indexOf(this.data[e+1]),t.put(r,11)}this.data.length%2&&t.put(o.indexOf(this.data[e]),6)},e.exports=i},{"./mode":14}],4:[function(t,e,r){function n(){this.buffer=[],this.length=0}n.prototype={get:function(t){var e=Math.floor(t/8);return 1==(this.buffer[e]>>>7-t%8&1)},put:function(t,e){for(var r=0;r<e;r++)this.putBit(1==(t>>>e-r-1&1))},getLengthInBits:function(){return this.length},putBit:function(t){var e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}},e.exports=n},{}],5:[function(t,e,r){var n=t("../utils/buffer");function o(t){if(!t||t<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=t,this.data=n.alloc(t*t),this.reservedBit=n.alloc(t*t)}o.prototype.set=function(t,e,r,n){var o=t*this.size+e;this.data[o]=r,n&&(this.reservedBit[o]=!0)},o.prototype.get=function(t,e){return this.data[t*this.size+e]},o.prototype.xor=function(t,e,r){this.data[t*this.size+e]^=r},o.prototype.isReserved=function(t,e){return this.reservedBit[t*this.size+e]},e.exports=o},{"../utils/buffer":28}],6:[function(t,e,r){var n=t("../utils/buffer"),o=t("./mode");function i(t){this.mode=o.BYTE,this.data=n.from(t)}i.getBitsLength=function(t){return 8*t},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(t){for(var e=0,r=this.data.length;e<r;e++)t.put(this.data[e],8)},e.exports=i},{"../utils/buffer":28,"./mode":14}],7:[function(t,e,r){var n=t("./error-correction-level"),o=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],i=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];r.getBlocksCount=function(t,e){switch(e){case n.L:return o[4*(t-1)+0];case n.M:return o[4*(t-1)+1];case n.Q:return o[4*(t-1)+2];case n.H:return o[4*(t-1)+3];default:return}},r.getTotalCodewordsCount=function(t,e){switch(e){case n.L:return i[4*(t-1)+0];case n.M:return i[4*(t-1)+1];case n.Q:return i[4*(t-1)+2];case n.H:return i[4*(t-1)+3];default:return}}},{"./error-correction-level":8}],8:[function(t,e,r){function n(t){if("string"!=typeof t)throw new Error("Param is not a string");switch(t.toLowerCase()){case"l":case"low":return r.L;case"m":case"medium":return r.M;case"q":case"quartile":return r.Q;case"h":case"high":return r.H;default:throw new Error("Unknown EC Level: "+t)}}r.L={bit:1},r.M={bit:0},r.Q={bit:3},r.H={bit:2},r.isValid=function(t){return t&&void 0!==t.bit&&t.bit>=0&&t.bit<4},r.from=function(t,e){if(r.isValid(t))return t;try{return n(t)}catch(t){return e}}},{}],9:[function(t,e,r){var n=t("./utils").getSymbolSize,o=7;r.getPositions=function(t){var e=n(t);return[[0,0],[e-o,0],[0,e-o]]}},{"./utils":21}],10:[function(t,e,r){var n=t("./utils"),o=1335,i=21522,a=n.getBCHDigit(o);r.getEncodedBits=function(t,e){for(var r=t.bit<<3|e,s=r<<10;n.getBCHDigit(s)-a>=0;)s^=o<<n.getBCHDigit(s)-a;return(r<<10|s)^i}},{"./utils":21}],11:[function(t,e,r){var n=t("../utils/buffer"),o=n.alloc(512),i=n.alloc(256);!function(){for(var t=1,e=0;e<255;e++)o[e]=t,i[t]=e,256&(t<<=1)&&(t^=285);for(e=255;e<512;e++)o[e]=o[e-255]}(),r.log=function(t){if(t<1)throw new Error("log("+t+")");return i[t]},r.exp=function(t){return o[t]},r.mul=function(t,e){return 0===t||0===e?0:o[i[t]+i[e]]}},{"../utils/buffer":28}],12:[function(t,e,r){var n=t("./mode"),o=t("./utils");function i(t){this.mode=n.KANJI,this.data=t}i.getBitsLength=function(t){return 13*t},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(t){var e;for(e=0;e<this.data.length;e++){var r=o.toSJIS(this.data[e]);if(r>=33088&&r<=40956)r-=33088;else{if(!(r>=57408&&r<=60351))throw new Error("Invalid SJIS character: "+this.data[e]+"\nMake sure your charset is UTF-8");r-=49472}r=192*(r>>>8&255)+(255&r),t.put(r,13)}},e.exports=i},{"./mode":14,"./utils":21}],13:[function(t,e,r){r.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};var n={N1:3,N2:3,N3:40,N4:10};function o(t,e,n){switch(t){case r.Patterns.PATTERN000:return(e+n)%2==0;case r.Patterns.PATTERN001:return e%2==0;case r.Patterns.PATTERN010:return n%3==0;case r.Patterns.PATTERN011:return(e+n)%3==0;case r.Patterns.PATTERN100:return(Math.floor(e/2)+Math.floor(n/3))%2==0;case r.Patterns.PATTERN101:return e*n%2+e*n%3==0;case r.Patterns.PATTERN110:return(e*n%2+e*n%3)%2==0;case r.Patterns.PATTERN111:return(e*n%3+(e+n)%2)%2==0;default:throw new Error("bad maskPattern:"+t)}}r.isValid=function(t){return null!=t&&""!==t&&!isNaN(t)&&t>=0&&t<=7},r.from=function(t){return r.isValid(t)?parseInt(t,10):void 0},r.getPenaltyN1=function(t){for(var e=t.size,r=0,o=0,i=0,a=null,s=null,u=0;u<e;u++){o=i=0,a=s=null;for(var c=0;c<e;c++){var f=t.get(u,c);f===a?o++:(o>=5&&(r+=n.N1+(o-5)),a=f,o=1),(f=t.get(c,u))===s?i++:(i>=5&&(r+=n.N1+(i-5)),s=f,i=1)}o>=5&&(r+=n.N1+(o-5)),i>=5&&(r+=n.N1+(i-5))}return r},r.getPenaltyN2=function(t){for(var e=t.size,r=0,o=0;o<e-1;o++)for(var i=0;i<e-1;i++){var a=t.get(o,i)+t.get(o,i+1)+t.get(o+1,i)+t.get(o+1,i+1);4!==a&&0!==a||r++}return r*n.N2},r.getPenaltyN3=function(t){for(var e=t.size,r=0,o=0,i=0,a=0;a<e;a++){o=i=0;for(var s=0;s<e;s++)o=o<<1&2047|t.get(a,s),s>=10&&(1488===o||93===o)&&r++,i=i<<1&2047|t.get(s,a),s>=10&&(1488===i||93===i)&&r++}return r*n.N3},r.getPenaltyN4=function(t){for(var e=0,r=t.data.length,o=0;o<r;o++)e+=t.data[o];return Math.abs(Math.ceil(100*e/r/5)-10)*n.N4},r.applyMask=function(t,e){for(var r=e.size,n=0;n<r;n++)for(var i=0;i<r;i++)e.isReserved(i,n)||e.xor(i,n,o(t,i,n))},r.getBestMask=function(t,e){for(var n=Object.keys(r.Patterns).length,o=0,i=1/0,a=0;a<n;a++){e(a),r.applyMask(a,t);var s=r.getPenaltyN1(t)+r.getPenaltyN2(t)+r.getPenaltyN3(t)+r.getPenaltyN4(t);r.applyMask(a,t),s<i&&(i=s,o=a)}return o}},{}],14:[function(t,e,r){var n=t("./version-check"),o=t("./regex");function i(t){if("string"!=typeof t)throw new Error("Param is not a string");switch(t.toLowerCase()){case"numeric":return r.NUMERIC;case"alphanumeric":return r.ALPHANUMERIC;case"kanji":return r.KANJI;case"byte":return r.BYTE;default:throw new Error("Unknown mode: "+t)}}r.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},r.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},r.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},r.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},r.MIXED={bit:-1},r.getCharCountIndicator=function(t,e){if(!t.ccBits)throw new Error("Invalid mode: "+t);if(!n.isValid(e))throw new Error("Invalid version: "+e);return e>=1&&e<10?t.ccBits[0]:e<27?t.ccBits[1]:t.ccBits[2]},r.getBestModeForData=function(t){return o.testNumeric(t)?r.NUMERIC:o.testAlphanumeric(t)?r.ALPHANUMERIC:o.testKanji(t)?r.KANJI:r.BYTE},r.toString=function(t){if(t&&t.id)return t.id;throw new Error("Invalid mode")},r.isValid=function(t){return t&&t.bit&&t.ccBits},r.from=function(t,e){if(r.isValid(t))return t;try{return i(t)}catch(t){return e}}},{"./regex":19,"./version-check":22}],15:[function(t,e,r){var n=t("./mode");function o(t){this.mode=n.NUMERIC,this.data=t.toString()}o.getBitsLength=function(t){return 10*Math.floor(t/3)+(t%3?t%3*3+1:0)},o.prototype.getLength=function(){return this.data.length},o.prototype.getBitsLength=function(){return o.getBitsLength(this.data.length)},o.prototype.write=function(t){var e,r,n;for(e=0;e+3<=this.data.length;e+=3)r=this.data.substr(e,3),n=parseInt(r,10),t.put(n,10);var o=this.data.length-e;o>0&&(r=this.data.substr(e),n=parseInt(r,10),t.put(n,3*o+1))},e.exports=o},{"./mode":14}],16:[function(t,e,r){var n=t("../utils/buffer"),o=t("./galois-field");r.mul=function(t,e){for(var r=n.alloc(t.length+e.length-1),i=0;i<t.length;i++)for(var a=0;a<e.length;a++)r[i+a]^=o.mul(t[i],e[a]);return r},r.mod=function(t,e){for(var r=n.from(t);r.length-e.length>=0;){for(var i=r[0],a=0;a<e.length;a++)r[a]^=o.mul(e[a],i);for(var s=0;s<r.length&&0===r[s];)s++;r=r.slice(s)}return r},r.generateECPolynomial=function(t){for(var e=n.from([1]),i=0;i<t;i++)e=r.mul(e,[1,o.exp(i)]);return e}},{"../utils/buffer":28,"./galois-field":11}],17:[function(t,e,r){var n=t("../utils/buffer"),o=t("./utils"),i=t("./error-correction-level"),a=t("./bit-buffer"),s=t("./bit-matrix"),u=t("./alignment-pattern"),c=t("./finder-pattern"),f=t("./mask-pattern"),l=t("./error-correction-code"),p=t("./reed-solomon-encoder"),h=t("./version"),d=t("./format-info"),v=t("./mode"),g=t("./segments"),y=t("isarray");function m(t,e){for(var r=t.size,n=c.getPositions(e),o=0;o<n.length;o++)for(var i=n[o][0],a=n[o][1],s=-1;s<=7;s++)if(!(i+s<=-1||r<=i+s))for(var u=-1;u<=7;u++)a+u<=-1||r<=a+u||(s>=0&&s<=6&&(0===u||6===u)||u>=0&&u<=6&&(0===s||6===s)||s>=2&&s<=4&&u>=2&&u<=4?t.set(i+s,a+u,!0,!0):t.set(i+s,a+u,!1,!0))}function b(t){for(var e=t.size,r=8;r<e-8;r++){var n=r%2==0;t.set(r,6,n,!0),t.set(6,r,n,!0)}}function w(t,e){for(var r=u.getPositions(e),n=0;n<r.length;n++)for(var o=r[n][0],i=r[n][1],a=-2;a<=2;a++)for(var s=-2;s<=2;s++)-2===a||2===a||-2===s||2===s||0===a&&0===s?t.set(o+a,i+s,!0,!0):t.set(o+a,i+s,!1,!0)}function E(t,e){for(var r,n,o,i=t.size,a=h.getEncodedBits(e),s=0;s<18;s++)r=Math.floor(s/3),n=s%3+i-8-3,o=1==(a>>s&1),t.set(r,n,o,!0),t.set(n,r,o,!0)}function _(t,e,r){var n,o,i=t.size,a=d.getEncodedBits(e,r);for(n=0;n<15;n++)o=1==(a>>n&1),n<6?t.set(n,8,o,!0):n<8?t.set(n+1,8,o,!0):t.set(i-15+n,8,o,!0),n<8?t.set(8,i-n-1,o,!0):n<9?t.set(8,15-n-1+1,o,!0):t.set(8,15-n-1,o,!0);t.set(i-8,8,1,!0)}function A(t,e){for(var r=t.size,n=-1,o=r-1,i=7,a=0,s=r-1;s>0;s-=2)for(6===s&&s--;;){for(var u=0;u<2;u++)if(!t.isReserved(o,s-u)){var c=!1;a<e.length&&(c=1==(e[a]>>>i&1)),t.set(o,s-u,c),-1==--i&&(a++,i=7)}if((o+=n)<0||r<=o){o-=n,n=-n;break}}}function O(t,e,r){var n=new a;r.forEach((function(e){n.put(e.mode.bit,4),n.put(e.getLength(),v.getCharCountIndicator(e.mode,t)),e.write(n)}));var i=8*(o.getSymbolTotalCodewords(t)-l.getTotalCodewordsCount(t,e));for(n.getLengthInBits()+4<=i&&n.put(0,4);n.getLengthInBits()%8!=0;)n.putBit(0);for(var s=(i-n.getLengthInBits())/8,u=0;u<s;u++)n.put(u%2?17:236,8);return S(n,t,e)}function S(t,e,r){for(var i=o.getSymbolTotalCodewords(e),a=i-l.getTotalCodewordsCount(e,r),s=l.getBlocksCount(e,r),u=s-i%s,c=Math.floor(i/s),f=Math.floor(a/s),h=f+1,d=c-f,v=new p(d),g=0,y=new Array(s),m=new Array(s),b=0,w=n.from(t.buffer),E=0;E<s;E++){var _=E<u?f:h;y[E]=w.slice(g,g+_),m[E]=v.encode(y[E]),g+=_,b=Math.max(b,_)}var A,O,S=n.alloc(i),x=0;for(A=0;A<b;A++)for(O=0;O<s;O++)A<y[O].length&&(S[x++]=y[O][A]);for(A=0;A<d;A++)for(O=0;O<s;O++)S[x++]=m[O][A];return S}function x(t,e,r,n){var i;if(y(t))i=g.fromArray(t);else{if("string"!=typeof t)throw new Error("Invalid data");var a=e;if(!a){var u=g.rawSplit(t);a=h.getBestVersionForData(u,r)}i=g.fromString(t,a||40)}var c=h.getBestVersionForData(i,r);if(!c)throw new Error("The amount of data is too big to be stored in a QR Code");if(e){if(e<c)throw new Error("\nThe chosen QR Code version cannot contain this amount of data.\nMinimum version required to store current data is: "+c+".\n")}else e=c;var l=O(e,r,i),p=o.getSymbolSize(e),d=new s(p);return m(d,e),b(d),w(d,e),_(d,r,0),e>=7&&E(d,e),A(d,l),isNaN(n)&&(n=f.getBestMask(d,_.bind(null,d,r))),f.applyMask(n,d),_(d,r,n),{modules:d,version:e,errorCorrectionLevel:r,maskPattern:n,segments:i}}r.create=function(t,e){if(void 0===t||""===t)throw new Error("No input text");var r,n,a=i.M;return void 0!==e&&(a=i.from(e.errorCorrectionLevel,i.M),r=h.from(e.version),n=f.from(e.maskPattern),e.toSJISFunc&&o.setToSJISFunction(e.toSJISFunc)),x(t,r,a,n)}},{"../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(t,e,r){var n=t("../utils/buffer"),o=t("./polynomial"),i=t("buffer").Buffer;function a(t){this.genPoly=void 0,this.degree=t,this.degree&&this.initialize(this.degree)}a.prototype.initialize=function(t){this.degree=t,this.genPoly=o.generateECPolynomial(this.degree)},a.prototype.encode=function(t){if(!this.genPoly)throw new Error("Encoder not initialized");var e=n.alloc(this.degree),r=i.concat([t,e],t.length+this.degree),a=o.mod(r,this.genPoly),s=this.degree-a.length;if(s>0){var u=n.alloc(this.degree);return a.copy(u,s),u}return a},e.exports=a},{"../utils/buffer":28,"./polynomial":16,buffer:30}],19:[function(t,e,r){var n="[0-9]+",o="[A-Z $%*+\\-./:]+",i="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+",a="(?:(?![A-Z0-9 $%*+\\-./:]|"+(i=i.replace(/u/g,"\\u"))+")(?:.|[\r\n]))+";r.KANJI=new RegExp(i,"g"),r.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),r.BYTE=new RegExp(a,"g"),r.NUMERIC=new RegExp(n,"g"),r.ALPHANUMERIC=new RegExp(o,"g");var s=new RegExp("^"+i+"$"),u=new RegExp("^"+n+"$"),c=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");r.testKanji=function(t){return s.test(t)},r.testNumeric=function(t){return u.test(t)},r.testAlphanumeric=function(t){return c.test(t)}},{}],20:[function(t,e,r){var n=t("./mode"),o=t("./numeric-data"),i=t("./alphanumeric-data"),a=t("./byte-data"),s=t("./kanji-data"),u=t("./regex"),c=t("./utils"),f=t("dijkstrajs");function l(t){return unescape(encodeURIComponent(t)).length}function p(t,e,r){for(var n,o=[];null!==(n=t.exec(r));)o.push({data:n[0],index:n.index,mode:e,length:n[0].length});return o}function h(t){var e,r,o=p(u.NUMERIC,n.NUMERIC,t),i=p(u.ALPHANUMERIC,n.ALPHANUMERIC,t);return c.isKanjiModeEnabled()?(e=p(u.BYTE,n.BYTE,t),r=p(u.KANJI,n.KANJI,t)):(e=p(u.BYTE_KANJI,n.BYTE,t),r=[]),o.concat(i,e,r).sort((function(t,e){return t.index-e.index})).map((function(t){return{data:t.data,mode:t.mode,length:t.length}}))}function d(t,e){switch(e){case n.NUMERIC:return o.getBitsLength(t);case n.ALPHANUMERIC:return i.getBitsLength(t);case n.KANJI:return s.getBitsLength(t);case n.BYTE:return a.getBitsLength(t)}}function v(t){return t.reduce((function(t,e){var r=t.length-1>=0?t[t.length-1]:null;return r&&r.mode===e.mode?(t[t.length-1].data+=e.data,t):(t.push(e),t)}),[])}function g(t){for(var e=[],r=0;r<t.length;r++){var o=t[r];switch(o.mode){case n.NUMERIC:e.push([o,{data:o.data,mode:n.ALPHANUMERIC,length:o.length},{data:o.data,mode:n.BYTE,length:o.length}]);break;case n.ALPHANUMERIC:e.push([o,{data:o.data,mode:n.BYTE,length:o.length}]);break;case n.KANJI:e.push([o,{data:o.data,mode:n.BYTE,length:l(o.data)}]);break;case n.BYTE:e.push([{data:o.data,mode:n.BYTE,length:l(o.data)}])}}return e}function y(t,e){for(var r={},o={start:{}},i=["start"],a=0;a<t.length;a++){for(var s=t[a],u=[],c=0;c<s.length;c++){var f=s[c],l=""+a+c;u.push(l),r[l]={node:f,lastCount:0},o[l]={};for(var p=0;p<i.length;p++){var h=i[p];r[h]&&r[h].node.mode===f.mode?(o[h][l]=d(r[h].lastCount+f.length,f.mode)-d(r[h].lastCount,f.mode),r[h].lastCount+=f.length):(r[h]&&(r[h].lastCount=f.length),o[h][l]=d(f.length,f.mode)+4+n.getCharCountIndicator(f.mode,e))}}i=u}for(p=0;p<i.length;p++)o[i[p]].end=0;return{map:o,table:r}}function m(t,e){var r,u=n.getBestModeForData(t);if((r=n.from(e,u))!==n.BYTE&&r.bit<u.bit)throw new Error('"'+t+'" cannot be encoded with mode '+n.toString(r)+".\n Suggested mode is: "+n.toString(u));switch(r!==n.KANJI||c.isKanjiModeEnabled()||(r=n.BYTE),r){case n.NUMERIC:return new o(t);case n.ALPHANUMERIC:return new i(t);case n.KANJI:return new s(t);case n.BYTE:return new a(t)}}r.fromArray=function(t){return t.reduce((function(t,e){return"string"==typeof e?t.push(m(e,null)):e.data&&t.push(m(e.data,e.mode)),t}),[])},r.fromString=function(t,e){for(var n=y(g(h(t,c.isKanjiModeEnabled())),e),o=f.find_path(n.map,"start","end"),i=[],a=1;a<o.length-1;a++)i.push(n.table[o[a]].node);return r.fromArray(v(i))},r.rawSplit=function(t){return r.fromArray(h(t,c.isKanjiModeEnabled()))}},{"./alphanumeric-data":3,"./byte-data":6,"./kanji-data":12,"./mode":14,"./numeric-data":15,"./regex":19,"./utils":21,dijkstrajs:31}],21:[function(t,e,r){var n,o=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];r.getSymbolSize=function(t){if(!t)throw new Error('"version" cannot be null or undefined');if(t<1||t>40)throw new Error('"version" should be in range from 1 to 40');return 4*t+17},r.getSymbolTotalCodewords=function(t){return o[t]},r.getBCHDigit=function(t){for(var e=0;0!==t;)e++,t>>>=1;return e},r.setToSJISFunction=function(t){if("function"!=typeof t)throw new Error('"toSJISFunc" is not a valid function.');n=t},r.isKanjiModeEnabled=function(){return void 0!==n},r.toSJIS=function(t){return n(t)}},{}],22:[function(t,e,r){r.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40}},{}],23:[function(t,e,r){var n=t("./utils"),o=t("./error-correction-code"),i=t("./error-correction-level"),a=t("./mode"),s=t("./version-check"),u=t("isarray"),c=7973,f=n.getBCHDigit(c);function l(t,e,n){for(var o=1;o<=40;o++)if(e<=r.getCapacity(o,n,t))return o}function p(t,e){return a.getCharCountIndicator(t,e)+4}function h(t,e){var r=0;return t.forEach((function(t){var n=p(t.mode,e);r+=n+t.getBitsLength()})),r}function d(t,e){for(var n=1;n<=40;n++)if(h(t,n)<=r.getCapacity(n,e,a.MIXED))return n}r.from=function(t,e){return s.isValid(t)?parseInt(t,10):e},r.getCapacity=function(t,e,r){if(!s.isValid(t))throw new Error("Invalid QR Code version");void 0===r&&(r=a.BYTE);var i=8*(n.getSymbolTotalCodewords(t)-o.getTotalCodewordsCount(t,e));if(r===a.MIXED)return i;var u=i-p(r,t);switch(r){case a.NUMERIC:return Math.floor(u/10*3);case a.ALPHANUMERIC:return Math.floor(u/11*2);case a.KANJI:return Math.floor(u/13);case a.BYTE:default:return Math.floor(u/8)}},r.getBestVersionForData=function(t,e){var r,n=i.from(e,i.M);if(u(t)){if(t.length>1)return d(t,n);if(0===t.length)return 1;r=t[0]}else r=t;return l(r.mode,r.getLength(),n)},r.getEncodedBits=function(t){if(!s.isValid(t)||t<7)throw new Error("Invalid QR Code version");for(var e=t<<12;n.getBCHDigit(e)-f>=0;)e^=c<<n.getBCHDigit(e)-f;return t<<12|e}},{"./error-correction-code":7,"./error-correction-level":8,"./mode":14,"./utils":21,"./version-check":22,isarray:33}],24:[function(t,e,r){var n=t("./can-promise"),o=t("./core/qrcode"),i=t("./renderer/canvas"),a=t("./renderer/svg-tag.js");function s(t,e,r,i,a){var s=[].slice.call(arguments,1),u=s.length,c="function"==typeof s[u-1];if(!c&&!n())throw new Error("Callback required as last argument");if(!c){if(u<1)throw new Error("Too few arguments provided");return 1===u?(r=e,e=i=void 0):2!==u||e.getContext||(i=r,r=e,e=void 0),new Promise((function(n,a){try{var s=o.create(r,i);n(t(s,e,i))}catch(t){a(t)}}))}if(u<2)throw new Error("Too few arguments provided");2===u?(a=r,r=e,e=i=void 0):3===u&&(e.getContext&&void 0===a?(a=i,i=void 0):(a=i,i=r,r=e,e=void 0));try{var f=o.create(r,i);a(null,t(f,e,i))}catch(t){a(t)}}r.create=o.create,r.toCanvas=s.bind(null,i.render),r.toDataURL=s.bind(null,i.renderToDataURL),r.toString=s.bind(null,(function(t,e,r){return a.render(t,r)}))},{"./can-promise":1,"./core/qrcode":17,"./renderer/canvas":25,"./renderer/svg-tag.js":26}],25:[function(t,e,r){var n=t("./utils");function o(t,e,r){t.clearRect(0,0,e.width,e.height),e.style||(e.style={}),e.height=r,e.width=r,e.style.height=r+"px",e.style.width=r+"px"}function i(){try{return document.createElement("canvas")}catch(t){throw new Error("You need to specify a canvas element")}}r.render=function(t,e,r){var a=r,s=e;void 0!==a||e&&e.getContext||(a=e,e=void 0),e||(s=i()),a=n.getOptions(a);var u=n.getImageWidth(t.modules.size,a),c=s.getContext("2d"),f=c.createImageData(u,u);return n.qrToImageData(f.data,t,a),o(c,s,u),c.putImageData(f,0,0),s},r.renderToDataURL=function(t,e,n){var o=n;void 0!==o||e&&e.getContext||(o=e,e=void 0),o||(o={});var i=r.render(t,e,o),a=o.type||"image/png",s=o.rendererOpts||{};return i.toDataURL(a,s.quality)}},{"./utils":27}],26:[function(t,e,r){var n=t("./utils");function o(t,e){var r=t.a/255,n=e+'="'+t.hex+'"';return r<1?n+" "+e+'-opacity="'+r.toFixed(2).slice(1)+'"':n}function i(t,e,r){var n=t+e;return void 0!==r&&(n+=" "+r),n}function a(t,e,r){for(var n="",o=0,a=!1,s=0,u=0;u<t.length;u++){var c=Math.floor(u%e),f=Math.floor(u/e);c||a||(a=!0),t[u]?(s++,u>0&&c>0&&t[u-1]||(n+=a?i("M",c+r,.5+f+r):i("m",o,0),o=0,a=!1),c+1<e&&t[u+1]||(n+=i("h",s),s=0)):o++}return n}r.render=function(t,e,r){var i=n.getOptions(e),s=t.modules.size,u=t.modules.data,c=s+2*i.margin,f=i.color.light.a?"<path "+o(i.color.light,"fill")+' d="M0 0h'+c+"v"+c+'H0z"/>':"",l="<path "+o(i.color.dark,"stroke")+' d="'+a(u,s,i.margin)+'"/>',p='viewBox="0 0 '+c+" "+c+'"',h='<svg xmlns="http://www.w3.org/2000/svg" '+(i.width?'width="'+i.width+'" height="'+i.width+'" ':"")+p+' shape-rendering="crispEdges">'+f+l+"</svg>\n";return"function"==typeof r&&r(null,h),h}},{"./utils":27}],27:[function(t,e,r){function n(t){if("number"==typeof t&&(t=t.toString()),"string"!=typeof t)throw new Error("Color should be defined as hex string");var e=t.slice().replace("#","").split("");if(e.length<3||5===e.length||e.length>8)throw new Error("Invalid hex color: "+t);3!==e.length&&4!==e.length||(e=Array.prototype.concat.apply([],e.map((function(t){return[t,t]})))),6===e.length&&e.push("F","F");var r=parseInt(e.join(""),16);return{r:r>>24&255,g:r>>16&255,b:r>>8&255,a:255&r,hex:"#"+e.slice(0,6).join("")}}r.getOptions=function(t){t||(t={}),t.color||(t.color={});var e=void 0===t.margin||null===t.margin||t.margin<0?4:t.margin,r=t.width&&t.width>=21?t.width:void 0,o=t.scale||4;return{width:r,scale:r?4:o,margin:e,color:{dark:n(t.color.dark||"#000000ff"),light:n(t.color.light||"#ffffffff")},type:t.type,rendererOpts:t.rendererOpts||{}}},r.getScale=function(t,e){return e.width&&e.width>=t+2*e.margin?e.width/(t+2*e.margin):e.scale},r.getImageWidth=function(t,e){var n=r.getScale(t,e);return Math.floor((t+2*e.margin)*n)},r.qrToImageData=function(t,e,n){for(var o=e.modules.size,i=e.modules.data,a=r.getScale(o,n),s=Math.floor((o+2*n.margin)*a),u=n.margin*a,c=[n.color.light,n.color.dark],f=0;f<s;f++)for(var l=0;l<s;l++){var p=4*(f*s+l),h=n.color.light;f>=u&&l>=u&&f<s-u&&l<s-u&&(h=c[i[Math.floor((f-u)/a)*o+Math.floor((l-u)/a)]?1:0]),t[p++]=h.r,t[p++]=h.g,t[p++]=h.b,t[p]=h.a}}},{}],28:[function(t,e,r){var n=t("isarray");function o(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()}catch(t){return!1}}a.TYPED_ARRAY_SUPPORT=o();var i=a.TYPED_ARRAY_SUPPORT?2147483647:1073741823;function a(t,e,r){return a.TYPED_ARRAY_SUPPORT||this instanceof a?"number"==typeof t?f(this,t):b(this,t,e,r):new a(t,e,r)}function s(t){if(t>=i)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i.toString(16)+" bytes");return 0|t}function u(t){return t!=t}function c(t,e){var r;return a.TYPED_ARRAY_SUPPORT?(r=new Uint8Array(e)).__proto__=a.prototype:(null===(r=t)&&(r=new a(e)),r.length=e),r}function f(t,e){var r=c(t,e<0?0:0|s(e));if(!a.TYPED_ARRAY_SUPPORT)for(var n=0;n<e;++n)r[n]=0;return r}function l(t,e){var r=0|g(e),n=c(t,r),o=n.write(e);return o!==r&&(n=n.slice(0,o)),n}function p(t,e){for(var r=e.length<0?0:0|s(e.length),n=c(t,r),o=0;o<r;o+=1)n[o]=255&e[o];return n}function h(t,e,r,n){if(r<0||e.byteLength<r)throw new RangeError("'offset' is out of bounds");if(e.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");var o;return o=void 0===r&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,r):new Uint8Array(e,r,n),a.TYPED_ARRAY_SUPPORT?o.__proto__=a.prototype:o=p(t,o),o}function d(t,e){if(a.isBuffer(e)){var r=0|s(e.length),n=c(t,r);return 0===n.length||e.copy(n,0,0,r),n}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||u(e.length)?c(t,0):p(t,e);if("Buffer"===e.type&&Array.isArray(e.data))return p(t,e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function v(t,e){var r;e=e||1/0;for(var n=t.length,o=null,i=[],a=0;a<n;++a){if((r=t.charCodeAt(a))>55295&&r<57344){if(!o){if(r>56319){(e-=3)>-1&&i.push(239,191,189);continue}if(a+1===n){(e-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(e-=3)>-1&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(e-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((e-=1)<0)break;i.push(r)}else if(r<2048){if((e-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function g(t){return a.isBuffer(t)?t.length:"undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer)?t.byteLength:("string"!=typeof t&&(t=""+t),0===t.length?0:v(t).length)}function y(t,e,r,n){for(var o=0;o<n&&!(o+r>=e.length||o>=t.length);++o)e[o+r]=t[o];return o}function m(t,e,r,n){return y(v(e,t.length-r),t,r,n)}function b(t,e,r,n){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?h(t,e,r,n):"string"==typeof e?l(t,e):d(t,e)}a.TYPED_ARRAY_SUPPORT&&(a.prototype.__proto__=Uint8Array.prototype,a.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&a[Symbol.species]===a&&Object.defineProperty(a,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1})),a.prototype.write=function(t,e,r){void 0===e||void 0===r&&"string"==typeof e?(r=this.length,e=0):isFinite(e)&&(e|=0,isFinite(r)?r|=0:r=void 0);var n=this.length-e;if((void 0===r||r>n)&&(r=n),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");return m(this,t,e,r)},a.prototype.slice=function(t,e){var r,n=this.length;if((t=~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),(e=void 0===e?n:~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),e<t&&(e=t),a.TYPED_ARRAY_SUPPORT)(r=this.subarray(t,e)).__proto__=a.prototype;else{var o=e-t;r=new a(o,void 0);for(var i=0;i<o;++i)r[i]=this[i+t]}return r},a.prototype.copy=function(t,e,r,n){if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-r&&(n=t.length-e+r);var o,i=n-r;if(this===t&&r<e&&e<n)for(o=i-1;o>=0;--o)t[o+e]=this[o+r];else if(i<1e3||!a.TYPED_ARRAY_SUPPORT)for(o=0;o<i;++o)t[o+e]=this[o+r];else Uint8Array.prototype.set.call(t,this.subarray(r,r+i),e);return i},a.prototype.fill=function(t,e,r){if("string"==typeof t){if("string"==typeof e?(e=0,r=this.length):"string"==typeof r&&(r=this.length),1===t.length){var n=t.charCodeAt(0);n<256&&(t=n)}}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<r)throw new RangeError("Out of range index");if(r<=e)return this;var o;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(o=e;o<r;++o)this[o]=t;else{var i=a.isBuffer(t)?t:new a(t),s=i.length;for(o=0;o<r-e;++o)this[o+e]=i[o%s]}return this},a.concat=function(t,e){if(!n(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return c(null,0);var r;if(void 0===e)for(e=0,r=0;r<t.length;++r)e+=t[r].length;var o=f(null,e),i=0;for(r=0;r<t.length;++r){var s=t[r];if(!a.isBuffer(s))throw new TypeError('"list" argument must be an Array of Buffers');s.copy(o,i),i+=s.length}return o},a.byteLength=g,a.prototype._isBuffer=!0,a.isBuffer=function(t){return!(null==t||!t._isBuffer)},e.exports.alloc=function(t){var e=new a(t);return e.fill(0),e},e.exports.from=function(t){return new a(t)}},{isarray:33}],29:[function(t,e,r){r.byteLength=f,r.toByteArray=p,r.fromByteArray=v;for(var n=[],o=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,u=a.length;s<u;++s)n[s]=a[s],o[a.charCodeAt(s)]=s;function c(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");return-1===r&&(r=e),[r,r===e?0:4-r%4]}function f(t){var e=c(t),r=e[0],n=e[1];return 3*(r+n)/4-n}function l(t,e,r){return 3*(e+r)/4-r}function p(t){var e,r,n=c(t),a=n[0],s=n[1],u=new i(l(t,a,s)),f=0,p=s>0?a-4:a;for(r=0;r<p;r+=4)e=o[t.charCodeAt(r)]<<18|o[t.charCodeAt(r+1)]<<12|o[t.charCodeAt(r+2)]<<6|o[t.charCodeAt(r+3)],u[f++]=e>>16&255,u[f++]=e>>8&255,u[f++]=255&e;return 2===s&&(e=o[t.charCodeAt(r)]<<2|o[t.charCodeAt(r+1)]>>4,u[f++]=255&e),1===s&&(e=o[t.charCodeAt(r)]<<10|o[t.charCodeAt(r+1)]<<4|o[t.charCodeAt(r+2)]>>2,u[f++]=e>>8&255,u[f++]=255&e),u}function h(t){return n[t>>18&63]+n[t>>12&63]+n[t>>6&63]+n[63&t]}function d(t,e,r){for(var n,o=[],i=e;i<r;i+=3)n=(t[i]<<16&16711680)+(t[i+1]<<8&65280)+(255&t[i+2]),o.push(h(n));return o.join("")}function v(t){for(var e,r=t.length,o=r%3,i=[],a=16383,s=0,u=r-o;s<u;s+=a)i.push(d(t,s,s+a>u?u:s+a));return 1===o?(e=t[r-1],i.push(n[e>>2]+n[e<<4&63]+"==")):2===o&&(e=(t[r-2]<<8)+t[r-1],i.push(n[e>>10]+n[e>>4&63]+n[e<<2&63]+"=")),i.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},{}],30:[function(t,e,r){var n=t("base64-js"),o=t("ieee754"),i="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;r.Buffer=c,r.SlowBuffer=b,r.INSPECT_MAX_BYTES=50;var a=2147483647;function s(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),42===t.foo()}catch(t){return!1}}function u(t){if(t>a)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,c.prototype),e}function c(t,e,r){if("number"==typeof t){if("string"==typeof e)throw new TypeError('The "string" argument must be of type string. Received type number');return h(t)}return f(t,e,r)}function f(t,e,r){if("string"==typeof t)return d(t,e);if(ArrayBuffer.isView(t))return v(t);if(null==t)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(J(t,ArrayBuffer)||t&&J(t.buffer,ArrayBuffer))return g(t,e,r);if("number"==typeof t)throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(null!=n&&n!==t)return c.from(n,e,r);var o=y(t);if(o)return o;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return c.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function l(t){if("number"!=typeof t)throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function p(t,e,r){return l(t),t<=0?u(t):void 0!==e?"string"==typeof r?u(t).fill(e,r):u(t).fill(e):u(t)}function h(t){return l(t),u(t<0?0:0|m(t))}function d(t,e){if("string"==typeof e&&""!==e||(e="utf8"),!c.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=0|w(t,e),n=u(r),o=n.write(t,e);return o!==r&&(n=n.slice(0,o)),n}function v(t){for(var e=t.length<0?0:0|m(t.length),r=u(e),n=0;n<e;n+=1)r[n]=255&t[n];return r}function g(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return n=void 0===e&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,e):new Uint8Array(t,e,r),Object.setPrototypeOf(n,c.prototype),n}function y(t){if(c.isBuffer(t)){var e=0|m(t.length),r=u(e);return 0===r.length||t.copy(r,0,0,e),r}return void 0!==t.length?"number"!=typeof t.length||Q(t.length)?u(0):v(t):"Buffer"===t.type&&Array.isArray(t.data)?v(t.data):void 0}function m(t){if(t>=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return 0|t}function b(t){return+t!=t&&(t=0),c.alloc(+t)}function w(t,e){if(c.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||J(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var o=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return H(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return W(t).length;default:if(o)return n?-1:H(t).length;e=(""+e).toLowerCase(),o=!0}}function E(t,e,r){var n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return $(this,e,r);case"utf8":case"utf-8":return N(this,e,r);case"ascii":return k(this,e,r);case"latin1":case"binary":return j(this,e,r);case"base64":return L(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return U(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function _(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function A(t,e,r,n,o){if(0===t.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),Q(r=+r)&&(r=o?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(o)return-1;r=t.length-1}else if(r<0){if(!o)return-1;r=0}if("string"==typeof e&&(e=c.from(e,n)),c.isBuffer(e))return 0===e.length?-1:O(t,e,r,n,o);if("number"==typeof e)return e&=255,"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):O(t,[e],r,n,o);throw new TypeError("val must be string, number or Buffer")}function O(t,e,r,n,o){var i,a=1,s=t.length,u=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;a=2,s/=2,u/=2,r/=2}function c(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(o){var f=-1;for(i=r;i<s;i++)if(c(t,i)===c(e,-1===f?0:i-f)){if(-1===f&&(f=i),i-f+1===u)return f*a}else-1!==f&&(i-=i-f),f=-1}else for(r+u>s&&(r=s-u),i=r;i>=0;i--){for(var l=!0,p=0;p<u;p++)if(c(t,i+p)!==c(e,p)){l=!1;break}if(l)return i}return-1}function S(t,e,r,n){r=Number(r)||0;var o=t.length-r;n?(n=Number(n))>o&&(n=o):n=o;var i=e.length;n>i/2&&(n=i/2);for(var a=0;a<n;++a){var s=parseInt(e.substr(2*a,2),16);if(Q(s))return a;t[r+a]=s}return a}function x(t,e,r,n){return K(H(e,t.length-r),t,r,n)}function T(t,e,r,n){return K(Y(e),t,r,n)}function I(t,e,r,n){return T(t,e,r,n)}function R(t,e,r,n){return K(W(e),t,r,n)}function C(t,e,r,n){return K(X(e,t.length-r),t,r,n)}function L(t,e,r){return 0===e&&r===t.length?n.fromByteArray(t):n.fromByteArray(t.slice(e,r))}function N(t,e,r){r=Math.min(t.length,r);for(var n=[],o=e;o<r;){var i,a,s,u,c=t[o],f=null,l=c>239?4:c>223?3:c>191?2:1;if(o+l<=r)switch(l){case 1:c<128&&(f=c);break;case 2:128==(192&(i=t[o+1]))&&(u=(31&c)<<6|63&i)>127&&(f=u);break;case 3:i=t[o+1],a=t[o+2],128==(192&i)&&128==(192&a)&&(u=(15&c)<<12|(63&i)<<6|63&a)>2047&&(u<55296||u>57343)&&(f=u);break;case 4:i=t[o+1],a=t[o+2],s=t[o+3],128==(192&i)&&128==(192&a)&&128==(192&s)&&(u=(15&c)<<18|(63&i)<<12|(63&a)<<6|63&s)>65535&&u<1114112&&(f=u)}null===f?(f=65533,l=1):f>65535&&(f-=65536,n.push(f>>>10&1023|55296),f=56320|1023&f),n.push(f),o+=l}return B(n)}r.kMaxLength=a,c.TYPED_ARRAY_SUPPORT=s(),c.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(c.prototype,"parent",{enumerable:!0,get:function(){if(c.isBuffer(this))return this.buffer}}),Object.defineProperty(c.prototype,"offset",{enumerable:!0,get:function(){if(c.isBuffer(this))return this.byteOffset}}),"undefined"!=typeof Symbol&&null!=Symbol.species&&c[Symbol.species]===c&&Object.defineProperty(c,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),c.poolSize=8192,c.from=function(t,e,r){return f(t,e,r)},Object.setPrototypeOf(c.prototype,Uint8Array.prototype),Object.setPrototypeOf(c,Uint8Array),c.alloc=function(t,e,r){return p(t,e,r)},c.allocUnsafe=function(t){return h(t)},c.allocUnsafeSlow=function(t){return h(t)},c.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==c.prototype},c.compare=function(t,e){if(J(t,Uint8Array)&&(t=c.from(t,t.offset,t.byteLength)),J(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),!c.isBuffer(t)||!c.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;for(var r=t.length,n=e.length,o=0,i=Math.min(r,n);o<i;++o)if(t[o]!==e[o]){r=t[o],n=e[o];break}return r<n?-1:n<r?1:0},c.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},c.concat=function(t,e){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return c.alloc(0);var r;if(void 0===e)for(e=0,r=0;r<t.length;++r)e+=t[r].length;var n=c.allocUnsafe(e),o=0;for(r=0;r<t.length;++r){var i=t[r];if(J(i,Uint8Array)&&(i=c.from(i)),!c.isBuffer(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(n,o),o+=i.length}return n},c.byteLength=w,c.prototype._isBuffer=!0,c.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)_(this,e,e+1);return this},c.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)_(this,e,e+3),_(this,e+1,e+2);return this},c.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)_(this,e,e+7),_(this,e+1,e+6),_(this,e+2,e+5),_(this,e+3,e+4);return this},c.prototype.toString=function(){var t=this.length;return 0===t?"":0===arguments.length?N(this,0,t):E.apply(this,arguments)},c.prototype.toLocaleString=c.prototype.toString,c.prototype.equals=function(t){if(!c.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===c.compare(this,t)},c.prototype.inspect=function(){var t="",e=r.INSPECT_MAX_BYTES;return t=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(t+=" ... "),"<Buffer "+t+">"},i&&(c.prototype[i]=c.prototype.inspect),c.prototype.compare=function(t,e,r,n,o){if(J(t,Uint8Array)&&(t=c.from(t,t.offset,t.byteLength)),!c.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),e<0||r>t.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&e>=r)return 0;if(n>=o)return-1;if(e>=r)return 1;if(this===t)return 0;for(var i=(o>>>=0)-(n>>>=0),a=(r>>>=0)-(e>>>=0),s=Math.min(i,a),u=this.slice(n,o),f=t.slice(e,r),l=0;l<s;++l)if(u[l]!==f[l]){i=u[l],a=f[l];break}return i<a?-1:a<i?1:0},c.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},c.prototype.indexOf=function(t,e,r){return A(this,t,e,r,!0)},c.prototype.lastIndexOf=function(t,e,r){return A(this,t,e,r,!1)},c.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)n=e,r=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var o=this.length-e;if((void 0===r||r>o)&&(r=o),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var i=!1;;)switch(n){case"hex":return S(this,t,e,r);case"utf8":case"utf-8":return x(this,t,e,r);case"ascii":return T(this,t,e,r);case"latin1":case"binary":return I(this,t,e,r);case"base64":return R(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,t,e,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var P=4096;function B(t){var e=t.length;if(e<=P)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=P));return r}function k(t,e,r){var n="";r=Math.min(t.length,r);for(var o=e;o<r;++o)n+=String.fromCharCode(127&t[o]);return n}function j(t,e,r){var n="";r=Math.min(t.length,r);for(var o=e;o<r;++o)n+=String.fromCharCode(t[o]);return n}function $(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var o="",i=e;i<r;++i)o+=Z[t[i]];return o}function U(t,e,r){for(var n=t.slice(e,r),o="",i=0;i<n.length;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}function M(t,e,r){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}function D(t,e,r,n,o,i){if(!c.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>o||e<i)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}function F(t,e,r,n,o,i){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function z(t,e,r,n,i){return e=+e,r>>>=0,i||F(t,e,r,4),o.write(t,e,r,n,23,4),r+4}function G(t,e,r,n,i){return e=+e,r>>>=0,i||F(t,e,r,8),o.write(t,e,r,n,52,8),r+8}c.prototype.slice=function(t,e){var r=this.length;(t=~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),(e=void 0===e?r:~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),e<t&&(e=t);var n=this.subarray(t,e);return Object.setPrototypeOf(n,c.prototype),n},c.prototype.readUIntLE=function(t,e,r){t>>>=0,e>>>=0,r||M(t,e,this.length);for(var n=this[t],o=1,i=0;++i<e&&(o*=256);)n+=this[t+i]*o;return n},c.prototype.readUIntBE=function(t,e,r){t>>>=0,e>>>=0,r||M(t,e,this.length);for(var n=this[t+--e],o=1;e>0&&(o*=256);)n+=this[t+--e]*o;return n},c.prototype.readUInt8=function(t,e){return t>>>=0,e||M(t,1,this.length),this[t]},c.prototype.readUInt16LE=function(t,e){return t>>>=0,e||M(t,2,this.length),this[t]|this[t+1]<<8},c.prototype.readUInt16BE=function(t,e){return t>>>=0,e||M(t,2,this.length),this[t]<<8|this[t+1]},c.prototype.readUInt32LE=function(t,e){return t>>>=0,e||M(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},c.prototype.readUInt32BE=function(t,e){return t>>>=0,e||M(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},c.prototype.readIntLE=function(t,e,r){t>>>=0,e>>>=0,r||M(t,e,this.length);for(var n=this[t],o=1,i=0;++i<e&&(o*=256);)n+=this[t+i]*o;return n>=(o*=128)&&(n-=Math.pow(2,8*e)),n},c.prototype.readIntBE=function(t,e,r){t>>>=0,e>>>=0,r||M(t,e,this.length);for(var n=e,o=1,i=this[t+--n];n>0&&(o*=256);)i+=this[t+--n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*e)),i},c.prototype.readInt8=function(t,e){return t>>>=0,e||M(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},c.prototype.readInt16LE=function(t,e){t>>>=0,e||M(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},c.prototype.readInt16BE=function(t,e){t>>>=0,e||M(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},c.prototype.readInt32LE=function(t,e){return t>>>=0,e||M(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},c.prototype.readInt32BE=function(t,e){return t>>>=0,e||M(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},c.prototype.readFloatLE=function(t,e){return t>>>=0,e||M(t,4,this.length),o.read(this,t,!0,23,4)},c.prototype.readFloatBE=function(t,e){return t>>>=0,e||M(t,4,this.length),o.read(this,t,!1,23,4)},c.prototype.readDoubleLE=function(t,e){return t>>>=0,e||M(t,8,this.length),o.read(this,t,!0,52,8)},c.prototype.readDoubleBE=function(t,e){return t>>>=0,e||M(t,8,this.length),o.read(this,t,!1,52,8)},c.prototype.writeUIntLE=function(t,e,r,n){t=+t,e>>>=0,r>>>=0,n||D(this,t,e,r,Math.pow(2,8*r)-1,0);var o=1,i=0;for(this[e]=255&t;++i<r&&(o*=256);)this[e+i]=t/o&255;return e+r},c.prototype.writeUIntBE=function(t,e,r,n){t=+t,e>>>=0,r>>>=0,n||D(this,t,e,r,Math.pow(2,8*r)-1,0);var o=r-1,i=1;for(this[e+o]=255&t;--o>=0&&(i*=256);)this[e+o]=t/i&255;return e+r},c.prototype.writeUInt8=function(t,e,r){return t=+t,e>>>=0,r||D(this,t,e,1,255,0),this[e]=255&t,e+1},c.prototype.writeUInt16LE=function(t,e,r){return t=+t,e>>>=0,r||D(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},c.prototype.writeUInt16BE=function(t,e,r){return t=+t,e>>>=0,r||D(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},c.prototype.writeUInt32LE=function(t,e,r){return t=+t,e>>>=0,r||D(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},c.prototype.writeUInt32BE=function(t,e,r){return t=+t,e>>>=0,r||D(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},c.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e>>>=0,!n){var o=Math.pow(2,8*r-1);D(this,t,e,r,o-1,-o)}var i=0,a=1,s=0;for(this[e]=255&t;++i<r&&(a*=256);)t<0&&0===s&&0!==this[e+i-1]&&(s=1),this[e+i]=(t/a>>0)-s&255;return e+r},c.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e>>>=0,!n){var o=Math.pow(2,8*r-1);D(this,t,e,r,o-1,-o)}var i=r-1,a=1,s=0;for(this[e+i]=255&t;--i>=0&&(a*=256);)t<0&&0===s&&0!==this[e+i+1]&&(s=1),this[e+i]=(t/a>>0)-s&255;return e+r},c.prototype.writeInt8=function(t,e,r){return t=+t,e>>>=0,r||D(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},c.prototype.writeInt16LE=function(t,e,r){return t=+t,e>>>=0,r||D(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},c.prototype.writeInt16BE=function(t,e,r){return t=+t,e>>>=0,r||D(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},c.prototype.writeInt32LE=function(t,e,r){return t=+t,e>>>=0,r||D(this,t,e,4,2147483647,-2147483648),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},c.prototype.writeInt32BE=function(t,e,r){return t=+t,e>>>=0,r||D(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},c.prototype.writeFloatLE=function(t,e,r){return z(this,t,e,!0,r)},c.prototype.writeFloatBE=function(t,e,r){return z(this,t,e,!1,r)},c.prototype.writeDoubleLE=function(t,e,r){return G(this,t,e,!0,r)},c.prototype.writeDoubleBE=function(t,e,r){return G(this,t,e,!1,r)},c.prototype.copy=function(t,e,r,n){if(!c.isBuffer(t))throw new TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-r&&(n=t.length-e+r);var o=n-r;if(this===t&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(e,r,n);else if(this===t&&r<e&&e<n)for(var i=o-1;i>=0;--i)t[i+e]=this[i+r];else Uint8Array.prototype.set.call(t,this.subarray(r,n),e);return o},c.prototype.fill=function(t,e,r,n){if("string"==typeof t){if("string"==typeof e?(n=e,e=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!c.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(1===t.length){var o=t.charCodeAt(0);("utf8"===n&&o<128||"latin1"===n)&&(t=o)}}else"number"==typeof t?t&=255:"boolean"==typeof t&&(t=Number(t));if(e<0||this.length<e||this.length<r)throw new RangeError("Out of range index");if(r<=e)return this;var i;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(i=e;i<r;++i)this[i]=t;else{var a=c.isBuffer(t)?t:c.from(t,n),s=a.length;if(0===s)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(i=0;i<r-e;++i)this[i+e]=a[i%s]}return this};var V=/[^+/0-9A-Za-z-_]/g;function q(t){if((t=(t=t.split("=")[0]).trim().replace(V,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}function H(t,e){var r;e=e||1/0;for(var n=t.length,o=null,i=[],a=0;a<n;++a){if((r=t.charCodeAt(a))>55295&&r<57344){if(!o){if(r>56319){(e-=3)>-1&&i.push(239,191,189);continue}if(a+1===n){(e-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(e-=3)>-1&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(e-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((e-=1)<0)break;i.push(r)}else if(r<2048){if((e-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function Y(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}function X(t,e){for(var r,n,o,i=[],a=0;a<t.length&&!((e-=2)<0);++a)n=(r=t.charCodeAt(a))>>8,o=r%256,i.push(o),i.push(n);return i}function W(t){return n.toByteArray(q(t))}function K(t,e,r,n){for(var o=0;o<n&&!(o+r>=e.length||o>=t.length);++o)e[o+r]=t[o];return o}function J(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}function Q(t){return t!=t}var Z=function(){for(var t="0123456789abcdef",e=new Array(256),r=0;r<16;++r)for(var n=16*r,o=0;o<16;++o)e[n+o]=t[r]+t[o];return e}()},{"base64-js":29,ieee754:32}],31:[function(t,e,r){var n={single_source_shortest_paths:function(t,e,r){var o={},i={};i[e]=0;var a,s,u,c,f,l,p,h=n.PriorityQueue.make();for(h.push(e,0);!h.empty();)for(u in s=(a=h.pop()).value,c=a.cost,f=t[s]||{})f.hasOwnProperty(u)&&(l=c+f[u],p=i[u],(void 0===i[u]||p>l)&&(i[u]=l,h.push(u,l),o[u]=s));if(void 0!==r&&void 0===i[r]){var d=["Could not find a path from ",e," to ",r,"."].join("");throw new Error(d)}return o},extract_shortest_path_from_predecessor_list:function(t,e){for(var r=[],n=e;n;)r.push(n),t[n],n=t[n];return r.reverse(),r},find_path:function(t,e,r){var o=n.single_source_shortest_paths(t,e,r);return n.extract_shortest_path_from_predecessor_list(o,r)},PriorityQueue:{make:function(t){var e,r=n.PriorityQueue,o={};for(e in t=t||{},r)r.hasOwnProperty(e)&&(o[e]=r[e]);return o.queue=[],o.sorter=t.sorter||r.default_sorter,o},default_sorter:function(t,e){return t.cost-e.cost},push:function(t,e){var r={value:t,cost:e};this.queue.push(r),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};void 0!==e&&(e.exports=n)},{}],32:[function(t,e,r){r.read=function(t,e,r,n,o){var i,a,s=8*o-n-1,u=(1<<s)-1,c=u>>1,f=-7,l=r?o-1:0,p=r?-1:1,h=t[e+l];for(l+=p,i=h&(1<<-f)-1,h>>=-f,f+=s;f>0;i=256*i+t[e+l],l+=p,f-=8);for(a=i&(1<<-f)-1,i>>=-f,f+=n;f>0;a=256*a+t[e+l],l+=p,f-=8);if(0===i)i=1-c;else{if(i===u)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,n),i-=c}return(h?-1:1)*a*Math.pow(2,i-n)},r.write=function(t,e,r,n,o,i){var a,s,u,c=8*i-o-1,f=(1<<c)-1,l=f>>1,p=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,h=n?0:i-1,d=n?1:-1,v=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=f):(a=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-a))<1&&(a--,u*=2),(e+=a+l>=1?p/u:p*Math.pow(2,1-l))*u>=2&&(a++,u/=2),a+l>=f?(s=0,a=f):a+l>=1?(s=(e*u-1)*Math.pow(2,o),a+=l):(s=e*Math.pow(2,l-1)*Math.pow(2,o),a=0));o>=8;t[r+h]=255&s,h+=d,s/=256,o-=8);for(a=a<<o|s,c+=o;c>0;t[r+h]=255&a,h+=d,a/=256,c-=8);t[r+h-d]|=128*v}},{}],33:[function(t,e,r){var n={}.toString;e.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},{}]},{},[24])(24)},e.exports=n()}));return{name:"qrcode",props:{value:null,options:Object,tag:{type:String,default:"canvas"}},render:function(t){return t(this.tag,this.$slots.default)},watch:{$props:{deep:!0,immediate:!0,handler:function(){this.$el&&this.generate()}}},methods:{generate:function(){var t=this,e=this.options,n=this.tag,o=String(this.value);"canvas"===n?r.toCanvas(this.$el,o,e,(function(t){if(t)throw t})):"img"===n?r.toDataURL(o,e,(function(e,r){if(e)throw e;t.$el.src=r})):r.toString(o,e,(function(e,r){if(e)throw e;t.$el.innerHTML=r}))}},mounted:function(){this.generate()}}}()},2200:(t,e,r)=>{"use strict";var n=r(7888),o=void 0,i=[];n.subscribe("csrf-token-update",(function(t){o=t.token,i.forEach((function(e){try{e(t.token)}catch(t){console.error("error updating CSRF token observer",t)}}))}));var a=function(t,e){return t?t.getAttribute(e):null},s=void 0;e.getCurrentUser=function(){if(void 0!==s)return s;var t=null===document||void 0===document?void 0:document.getElementsByTagName("head")[0];if(!t)return null;var e=a(t,"data-user");return s=null===e?null:{uid:e,displayName:a(t,"data-user-displayname"),isAdmin:"undefined"!=typeof OC&&OC.isUserAdmin()}},e.getRequestToken=function(){if(void 0===o){var t=null===document||void 0===document?void 0:document.getElementsByTagName("head")[0];o=t?t.getAttribute("data-requesttoken"):null}return o},e.onRequestTokenUpdate=function(t){i.push(t)}},7737:(t,e,r)=>{const n=r(5503),{MAX_LENGTH:o,MAX_SAFE_INTEGER:i}=r(5519),{safeRe:a,t:s}=r(8238),u=r(4433),{compareIdentifiers:c}=r(3242);class f{constructor(t,e){if(e=u(e),t instanceof f){if(t.loose===!!e.loose&&t.includePrerelease===!!e.includePrerelease)return t;t=t.version}else if("string"!=typeof t)throw new TypeError(`Invalid version. Must be a string. Got type "${typeof t}".`);if(t.length>o)throw new TypeError(`version is longer than ${o} characters`);n("SemVer",t,e),this.options=e,this.loose=!!e.loose,this.includePrerelease=!!e.includePrerelease;const r=t.trim().match(e.loose?a[s.LOOSE]:a[s.FULL]);if(!r)throw new TypeError(`Invalid Version: ${t}`);if(this.raw=t,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>i||this.major<0)throw new TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>i||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map((t=>{if(/^[0-9]+$/.test(t)){const e=+t;if(e>=0&&e<i)return e}return t})):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(t){if(n("SemVer.compare",this.version,this.options,t),!(t instanceof f)){if("string"==typeof t&&t===this.version)return 0;t=new f(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}compareMain(t){return t instanceof f||(t=new f(t,this.options)),c(this.major,t.major)||c(this.minor,t.minor)||c(this.patch,t.patch)}comparePre(t){if(t instanceof f||(t=new f(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;let e=0;do{const r=this.prerelease[e],o=t.prerelease[e];if(n("prerelease compare",e,r,o),void 0===r&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===r)return-1;if(r!==o)return c(r,o)}while(++e)}compareBuild(t){t instanceof f||(t=new f(t,this.options));let e=0;do{const r=this.build[e],o=t.build[e];if(n("prerelease compare",e,r,o),void 0===r&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===r)return-1;if(r!==o)return c(r,o)}while(++e)}inc(t,e,r){switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",e,r);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",e,r);break;case"prepatch":this.prerelease.length=0,this.inc("patch",e,r),this.inc("pre",e,r);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",e,r),this.inc("pre",e,r);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":{const t=Number(r)?1:0;if(!e&&!1===r)throw new Error("invalid increment argument: identifier is empty");if(0===this.prerelease.length)this.prerelease=[t];else{let n=this.prerelease.length;for(;--n>=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);if(-1===n){if(e===this.prerelease.join(".")&&!1===r)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(t)}}if(e){let n=[e,t];!1===r&&(n=[e]),0===c(this.prerelease[0],e)?isNaN(this.prerelease[1])&&(this.prerelease=n):this.prerelease=n}break}default:throw new Error(`invalid increment argument: ${t}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}t.exports=f},2426:(t,e,r)=>{const n=r(7737);t.exports=(t,e)=>new n(t,e).major},7488:(t,e,r)=>{const n=r(7737);t.exports=(t,e,r=!1)=>{if(t instanceof n)return t;try{return new n(t,e)}catch(t){if(!r)return null;throw t}}},7907:(t,e,r)=>{const n=r(7488);t.exports=(t,e)=>{const r=n(t,e);return r?r.version:null}},5519:t=>{const e=Number.MAX_SAFE_INTEGER||9007199254740991;t.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:e,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},5503:(t,e,r)=>{var n=r(4155);const o="object"==typeof n&&n.env&&n.env.NODE_DEBUG&&/\bsemver\b/i.test(n.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};t.exports=o},3242:t=>{const e=/^[0-9]+$/,r=(t,r)=>{const n=e.test(t),o=e.test(r);return n&&o&&(t=+t,r=+r),t===r?0:n&&!o?-1:o&&!n?1:t<r?-1:1};t.exports={compareIdentifiers:r,rcompareIdentifiers:(t,e)=>r(e,t)}},4433:t=>{const e=Object.freeze({loose:!0}),r=Object.freeze({});t.exports=t=>t?"object"!=typeof t?e:t:r},8238:(t,e,r)=>{const{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:o,MAX_LENGTH:i}=r(5519),a=r(5503),s=(e=t.exports={}).re=[],u=e.safeRe=[],c=e.src=[],f=e.t={};let l=0;const p="[a-zA-Z0-9-]",h=[["\\s",1],["\\d",i],[p,o]],d=(t,e,r)=>{const n=(t=>{for(const[e,r]of h)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t})(e),o=l++;a(t,o,e),f[t]=o,c[o]=e,s[o]=new RegExp(e,r?"g":void 0),u[o]=new RegExp(n,r?"g":void 0)};d("NUMERICIDENTIFIER","0|[1-9]\\d*"),d("NUMERICIDENTIFIERLOOSE","\\d+"),d("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${p}*`),d("MAINVERSION",`(${c[f.NUMERICIDENTIFIER]})\\.(${c[f.NUMERICIDENTIFIER]})\\.(${c[f.NUMERICIDENTIFIER]})`),d("MAINVERSIONLOOSE",`(${c[f.NUMERICIDENTIFIERLOOSE]})\\.(${c[f.NUMERICIDENTIFIERLOOSE]})\\.(${c[f.NUMERICIDENTIFIERLOOSE]})`),d("PRERELEASEIDENTIFIER",`(?:${c[f.NUMERICIDENTIFIER]}|${c[f.NONNUMERICIDENTIFIER]})`),d("PRERELEASEIDENTIFIERLOOSE",`(?:${c[f.NUMERICIDENTIFIERLOOSE]}|${c[f.NONNUMERICIDENTIFIER]})`),d("PRERELEASE",`(?:-(${c[f.PRERELEASEIDENTIFIER]}(?:\\.${c[f.PRERELEASEIDENTIFIER]})*))`),d("PRERELEASELOOSE",`(?:-?(${c[f.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${c[f.PRERELEASEIDENTIFIERLOOSE]})*))`),d("BUILDIDENTIFIER",`${p}+`),d("BUILD",`(?:\\+(${c[f.BUILDIDENTIFIER]}(?:\\.${c[f.BUILDIDENTIFIER]})*))`),d("FULLPLAIN",`v?${c[f.MAINVERSION]}${c[f.PRERELEASE]}?${c[f.BUILD]}?`),d("FULL",`^${c[f.FULLPLAIN]}$`),d("LOOSEPLAIN",`[v=\\s]*${c[f.MAINVERSIONLOOSE]}${c[f.PRERELEASELOOSE]}?${c[f.BUILD]}?`),d("LOOSE",`^${c[f.LOOSEPLAIN]}$`),d("GTLT","((?:<|>)?=?)"),d("XRANGEIDENTIFIERLOOSE",`${c[f.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),d("XRANGEIDENTIFIER",`${c[f.NUMERICIDENTIFIER]}|x|X|\\*`),d("XRANGEPLAIN",`[v=\\s]*(${c[f.XRANGEIDENTIFIER]})(?:\\.(${c[f.XRANGEIDENTIFIER]})(?:\\.(${c[f.XRANGEIDENTIFIER]})(?:${c[f.PRERELEASE]})?${c[f.BUILD]}?)?)?`),d("XRANGEPLAINLOOSE",`[v=\\s]*(${c[f.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[f.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[f.XRANGEIDENTIFIERLOOSE]})(?:${c[f.PRERELEASELOOSE]})?${c[f.BUILD]}?)?)?`),d("XRANGE",`^${c[f.GTLT]}\\s*${c[f.XRANGEPLAIN]}$`),d("XRANGELOOSE",`^${c[f.GTLT]}\\s*${c[f.XRANGEPLAINLOOSE]}$`),d("COERCE",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?(?:$|[^\\d])`),d("COERCERTL",c[f.COERCE],!0),d("LONETILDE","(?:~>?)"),d("TILDETRIM",`(\\s*)${c[f.LONETILDE]}\\s+`,!0),e.tildeTrimReplace="$1~",d("TILDE",`^${c[f.LONETILDE]}${c[f.XRANGEPLAIN]}$`),d("TILDELOOSE",`^${c[f.LONETILDE]}${c[f.XRANGEPLAINLOOSE]}$`),d("LONECARET","(?:\\^)"),d("CARETTRIM",`(\\s*)${c[f.LONECARET]}\\s+`,!0),e.caretTrimReplace="$1^",d("CARET",`^${c[f.LONECARET]}${c[f.XRANGEPLAIN]}$`),d("CARETLOOSE",`^${c[f.LONECARET]}${c[f.XRANGEPLAINLOOSE]}$`),d("COMPARATORLOOSE",`^${c[f.GTLT]}\\s*(${c[f.LOOSEPLAIN]})$|^$`),d("COMPARATOR",`^${c[f.GTLT]}\\s*(${c[f.FULLPLAIN]})$|^$`),d("COMPARATORTRIM",`(\\s*)${c[f.GTLT]}\\s*(${c[f.LOOSEPLAIN]}|${c[f.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace="$1$2$3",d("HYPHENRANGE",`^\\s*(${c[f.XRANGEPLAIN]})\\s+-\\s+(${c[f.XRANGEPLAIN]})\\s*$`),d("HYPHENRANGELOOSE",`^\\s*(${c[f.XRANGEPLAINLOOSE]})\\s+-\\s+(${c[f.XRANGEPLAINLOOSE]})\\s*$`),d("STAR","(<|>)?=?\\s*\\*"),d("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),d("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},1356:(t,e,r)=>{"use strict";r(9070),r(2165),r(6992),r(8783),r(3948),Object.defineProperty(e,"__esModule",{value:!0}),e.ConsoleLogger=void 0,e.buildConsoleLogger=function(t){return new s(t)},r(9601),r(6649),r(6078),r(2526),r(1817),r(1539),r(9653);var n=r(6);function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,a(n.key),n)}}function a(t){var e=function(t,e){if("object"!==o(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===o(e)?e:String(e)}var s=function(){function t(e){var r,n,o;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),r=this,o=void 0,(n=a(n="context"))in r?Object.defineProperty(r,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[n]=o,this.context=e}var e,r,o;return e=t,(r=[{key:"formatMessage",value:function(t,e,r){var o="["+n.LogLevel[e].toUpperCase()+"]";return r&&r.app&&(o+=" "+r.app+": "),o+t}},{key:"log",value:function(t,e,r){var o;if(!(t<(null===(o=this.context)||void 0===o?void 0:o.level)))switch(t){case n.LogLevel.Debug:console.debug(this.formatMessage(e,n.LogLevel.Debug,r),r);break;case n.LogLevel.Info:console.info(this.formatMessage(e,n.LogLevel.Info,r),r);break;case n.LogLevel.Warn:console.warn(this.formatMessage(e,n.LogLevel.Warn,r),r);break;case n.LogLevel.Error:console.error(this.formatMessage(e,n.LogLevel.Error,r),r);break;case n.LogLevel.Fatal:default:console.error(this.formatMessage(e,n.LogLevel.Fatal,r),r)}}},{key:"debug",value:function(t,e){this.log(n.LogLevel.Debug,t,Object.assign({},this.context,e))}},{key:"info",value:function(t,e){this.log(n.LogLevel.Info,t,Object.assign({},this.context,e))}},{key:"warn",value:function(t,e){this.log(n.LogLevel.Warn,t,Object.assign({},this.context,e))}},{key:"error",value:function(t,e){this.log(n.LogLevel.Error,t,Object.assign({},this.context,e))}},{key:"fatal",value:function(t,e){this.log(n.LogLevel.Fatal,t,Object.assign({},this.context,e))}}])&&i(e.prototype,r),o&&i(e,o),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.ConsoleLogger=s},5058:(t,e,r)=>{"use strict";r(9070),r(2165),r(6992),r(8783),r(3948),Object.defineProperty(e,"__esModule",{value:!0}),e.LoggerBuilder=void 0,r(6649),r(6078),r(2526),r(1817),r(1539),r(9653);var n=r(2200),o=r(6);function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function a(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,u(n.key),n)}}function s(t,e,r){return(e=u(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function u(t){var e=function(t,e){if("object"!==i(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==i(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===i(e)?e:String(e)}var c=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),s(this,"context",void 0),s(this,"factory",void 0),this.context={},this.factory=e}var e,r,i;return e=t,(r=[{key:"setApp",value:function(t){return this.context.app=t,this}},{key:"setLogLevel",value:function(t){return this.context.level=t,this}},{key:"setUid",value:function(t){return this.context.uid=t,this}},{key:"detectUser",value:function(){var t=(0,n.getCurrentUser)();return null!==t&&(this.context.uid=t.uid),this}},{key:"detectLogLevel",value:function(){var t=this;return function e(){var r,n,i;"complete"===document.readyState||"interactive"===document.readyState&&void 0!==window.OC?(t.context.level=void 0!==(null===(r=window.OC)||void 0===r||null===(n=r.config)||void 0===n?void 0:n.loglevel)?window.OC.config.loglevel:o.LogLevel.Warn,null!==(i=window.OC)&&void 0!==i&&i.debug&&(t.context.level=o.LogLevel.Debug),document.removeEventListener("readystatechange",e)):document.addEventListener("readystatechange",e)}(),this}},{key:"build",value:function(){return void 0===this.context.level&&this.detectLogLevel(),this.factory(this.context)}}])&&a(e.prototype,r),i&&a(e,i),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.LoggerBuilder=c},6:(t,e,r)=>{"use strict";var n;r(9070),Object.defineProperty(e,"__esModule",{value:!0}),e.LogLevel=void 0,e.LogLevel=n,function(t){t[t.Debug=0]="Debug",t[t.Info=1]="Info",t[t.Warn=2]="Warn",t[t.Error=3]="Error",t[t.Fatal=4]="Fatal"}(n||(e.LogLevel=n={}))},7499:(t,e,r)=>{"use strict";r(9070),e.IY=a;var n=r(1356),o=r(5058),i=r(6);function a(){return new o.LoggerBuilder(n.buildConsoleLogger)}},9753:(t,e,r)=>{"use strict";r(9070),e.nu=void 0,r(9601),r(4916),r(5306),r(1539),r(9714),r(2772);var n=function(t,e,r){var n,o=Object.assign({escape:!0},r||{});return"/"!==t.charAt(0)&&(t="/"+t),n=(n=e||{})||{},t.replace(/{([^{}]*)}/g,(function(t,e){var r=n[e];return o.escape?"string"==typeof r||"number"==typeof r?encodeURIComponent(r.toString()):encodeURIComponent(t):"string"==typeof r||"number"==typeof r?r.toString():t}))};e.nu=function(t,e,r){var o,a,s,u=Object.assign({noRewrite:!1},r||{});return!0!==(null===(o=window)||void 0===o||null===(a=o.OC)||void 0===a||null===(s=a.config)||void 0===s?void 0:s.modRewriteWorking)||u.noRewrite?i()+"/index.php"+n(t,e,r):i()+n(t,e,r)};var o=function(t,e,r){var n,o,a,s=-1!==(null===(n=window)||void 0===n||null===(o=n.OC)||void 0===o||null===(a=o.coreApps)||void 0===a?void 0:a.indexOf(t)),u=i();if("php"!==r.substring(r.length-3)||s)if("php"===r.substring(r.length-3)||s)u+="settings"!==t&&"core"!==t&&"search"!==t||"ajax"!==e?"/":"/index.php/",s||(u+="apps/"),""!==t&&(u+=t+="/"),e&&(u+=e+"/"),u+=r;else{var c,f,l;u=null===(c=window)||void 0===c||null===(f=c.OC)||void 0===f||null===(l=f.appswebroots)||void 0===l?void 0:l[t],e&&(u+="/"+e+"/"),"/"!==u.substring(u.length-1)&&(u+="/"),u+=r}else u+="/index.php/apps/"+t,"index.php"!==r&&(u+="/",e&&(u+=encodeURI(e+"/")),u+=r);return u};var i=function(){var t,e;return(null===(t=window)||void 0===t||null===(e=t.OC)||void 0===e?void 0:e.webroot)||""}},9742:(t,e)=>{"use strict";e.byteLength=function(t){var e=s(t),r=e[0],n=e[1];return 3*(r+n)/4-n},e.toByteArray=function(t){var e,r,i=s(t),a=i[0],u=i[1],c=new o(function(t,e,r){return 3*(e+r)/4-r}(0,a,u)),f=0,l=u>0?a-4:a;for(r=0;r<l;r+=4)e=n[t.charCodeAt(r)]<<18|n[t.charCodeAt(r+1)]<<12|n[t.charCodeAt(r+2)]<<6|n[t.charCodeAt(r+3)],c[f++]=e>>16&255,c[f++]=e>>8&255,c[f++]=255&e;2===u&&(e=n[t.charCodeAt(r)]<<2|n[t.charCodeAt(r+1)]>>4,c[f++]=255&e);1===u&&(e=n[t.charCodeAt(r)]<<10|n[t.charCodeAt(r+1)]<<4|n[t.charCodeAt(r+2)]>>2,c[f++]=e>>8&255,c[f++]=255&e);return c},e.fromByteArray=function(t){for(var e,n=t.length,o=n%3,i=[],a=16383,s=0,c=n-o;s<c;s+=a)i.push(u(t,s,s+a>c?c:s+a));1===o?(e=t[n-1],i.push(r[e>>2]+r[e<<4&63]+"==")):2===o&&(e=(t[n-2]<<8)+t[n-1],i.push(r[e>>10]+r[e>>4&63]+r[e<<2&63]+"="));return i.join("")};for(var r=[],n=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0;a<64;++a)r[a]=i[a],n[i.charCodeAt(a)]=a;function s(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");return-1===r&&(r=e),[r,r===e?0:4-r%4]}function u(t,e,n){for(var o,i,a=[],s=e;s<n;s+=3)o=(t[s]<<16&16711680)+(t[s+1]<<8&65280)+(255&t[s+2]),a.push(r[(i=o)>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return a.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},8764:(t,e,r)=>{"use strict";const n=r(9742),o=r(645),i="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;e.lW=u,e.h2=50;const a=2147483647;function s(t){if(t>a)throw new RangeError('The value "'+t+'" is invalid for option "size"');const e=new Uint8Array(t);return Object.setPrototypeOf(e,u.prototype),e}function u(t,e,r){if("number"==typeof t){if("string"==typeof e)throw new TypeError('The "string" argument must be of type string. Received type number');return l(t)}return c(t,e,r)}function c(t,e,r){if("string"==typeof t)return function(t,e){"string"==typeof e&&""!==e||(e="utf8");if(!u.isEncoding(e))throw new TypeError("Unknown encoding: "+e);const r=0|v(t,e);let n=s(r);const o=n.write(t,e);o!==r&&(n=n.slice(0,o));return n}(t,e);if(ArrayBuffer.isView(t))return function(t){if(W(t,Uint8Array)){const e=new Uint8Array(t);return h(e.buffer,e.byteOffset,e.byteLength)}return p(t)}(t);if(null==t)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(W(t,ArrayBuffer)||t&&W(t.buffer,ArrayBuffer))return h(t,e,r);if("undefined"!=typeof SharedArrayBuffer&&(W(t,SharedArrayBuffer)||t&&W(t.buffer,SharedArrayBuffer)))return h(t,e,r);if("number"==typeof t)throw new TypeError('The "value" argument must not be of type number. Received type number');const n=t.valueOf&&t.valueOf();if(null!=n&&n!==t)return u.from(n,e,r);const o=function(t){if(u.isBuffer(t)){const e=0|d(t.length),r=s(e);return 0===r.length||t.copy(r,0,0,e),r}if(void 0!==t.length)return"number"!=typeof t.length||K(t.length)?s(0):p(t);if("Buffer"===t.type&&Array.isArray(t.data))return p(t.data)}(t);if(o)return o;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return u.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function f(t){if("number"!=typeof t)throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function l(t){return f(t),s(t<0?0:0|d(t))}function p(t){const e=t.length<0?0:0|d(t.length),r=s(e);for(let n=0;n<e;n+=1)r[n]=255&t[n];return r}function h(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');let n;return n=void 0===e&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,e):new Uint8Array(t,e,r),Object.setPrototypeOf(n,u.prototype),n}function d(t){if(t>=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return 0|t}function v(t,e){if(u.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||W(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);const r=t.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;let o=!1;for(;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return H(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return Y(t).length;default:if(o)return n?-1:H(t).length;e=(""+e).toLowerCase(),o=!0}}function g(t,e,r){let n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return C(this,e,r);case"utf8":case"utf-8":return x(this,e,r);case"ascii":return I(this,e,r);case"latin1":case"binary":return R(this,e,r);case"base64":return S(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return L(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function y(t,e,r){const n=t[e];t[e]=t[r],t[r]=n}function m(t,e,r,n,o){if(0===t.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),K(r=+r)&&(r=o?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(o)return-1;r=t.length-1}else if(r<0){if(!o)return-1;r=0}if("string"==typeof e&&(e=u.from(e,n)),u.isBuffer(e))return 0===e.length?-1:b(t,e,r,n,o);if("number"==typeof e)return e&=255,"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):b(t,[e],r,n,o);throw new TypeError("val must be string, number or Buffer")}function b(t,e,r,n,o){let i,a=1,s=t.length,u=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;a=2,s/=2,u/=2,r/=2}function c(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(o){let n=-1;for(i=r;i<s;i++)if(c(t,i)===c(e,-1===n?0:i-n)){if(-1===n&&(n=i),i-n+1===u)return n*a}else-1!==n&&(i-=i-n),n=-1}else for(r+u>s&&(r=s-u),i=r;i>=0;i--){let r=!0;for(let n=0;n<u;n++)if(c(t,i+n)!==c(e,n)){r=!1;break}if(r)return i}return-1}function w(t,e,r,n){r=Number(r)||0;const o=t.length-r;n?(n=Number(n))>o&&(n=o):n=o;const i=e.length;let a;for(n>i/2&&(n=i/2),a=0;a<n;++a){const n=parseInt(e.substr(2*a,2),16);if(K(n))return a;t[r+a]=n}return a}function E(t,e,r,n){return X(H(e,t.length-r),t,r,n)}function _(t,e,r,n){return X(function(t){const e=[];for(let r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}(e),t,r,n)}function A(t,e,r,n){return X(Y(e),t,r,n)}function O(t,e,r,n){return X(function(t,e){let r,n,o;const i=[];for(let a=0;a<t.length&&!((e-=2)<0);++a)r=t.charCodeAt(a),n=r>>8,o=r%256,i.push(o),i.push(n);return i}(e,t.length-r),t,r,n)}function S(t,e,r){return 0===e&&r===t.length?n.fromByteArray(t):n.fromByteArray(t.slice(e,r))}function x(t,e,r){r=Math.min(t.length,r);const n=[];let o=e;for(;o<r;){const e=t[o];let i=null,a=e>239?4:e>223?3:e>191?2:1;if(o+a<=r){let r,n,s,u;switch(a){case 1:e<128&&(i=e);break;case 2:r=t[o+1],128==(192&r)&&(u=(31&e)<<6|63&r,u>127&&(i=u));break;case 3:r=t[o+1],n=t[o+2],128==(192&r)&&128==(192&n)&&(u=(15&e)<<12|(63&r)<<6|63&n,u>2047&&(u<55296||u>57343)&&(i=u));break;case 4:r=t[o+1],n=t[o+2],s=t[o+3],128==(192&r)&&128==(192&n)&&128==(192&s)&&(u=(15&e)<<18|(63&r)<<12|(63&n)<<6|63&s,u>65535&&u<1114112&&(i=u))}}null===i?(i=65533,a=1):i>65535&&(i-=65536,n.push(i>>>10&1023|55296),i=56320|1023&i),n.push(i),o+=a}return function(t){const e=t.length;if(e<=T)return String.fromCharCode.apply(String,t);let r="",n=0;for(;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=T));return r}(n)}u.TYPED_ARRAY_SUPPORT=function(){try{const t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),42===t.foo()}catch(t){return!1}}(),u.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.buffer}}),Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.byteOffset}}),u.poolSize=8192,u.from=function(t,e,r){return c(t,e,r)},Object.setPrototypeOf(u.prototype,Uint8Array.prototype),Object.setPrototypeOf(u,Uint8Array),u.alloc=function(t,e,r){return function(t,e,r){return f(t),t<=0?s(t):void 0!==e?"string"==typeof r?s(t).fill(e,r):s(t).fill(e):s(t)}(t,e,r)},u.allocUnsafe=function(t){return l(t)},u.allocUnsafeSlow=function(t){return l(t)},u.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==u.prototype},u.compare=function(t,e){if(W(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),W(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),!u.isBuffer(t)||!u.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;let r=t.length,n=e.length;for(let o=0,i=Math.min(r,n);o<i;++o)if(t[o]!==e[o]){r=t[o],n=e[o];break}return r<n?-1:n<r?1:0},u.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(t,e){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return u.alloc(0);let r;if(void 0===e)for(e=0,r=0;r<t.length;++r)e+=t[r].length;const n=u.allocUnsafe(e);let o=0;for(r=0;r<t.length;++r){let e=t[r];if(W(e,Uint8Array))o+e.length>n.length?(u.isBuffer(e)||(e=u.from(e)),e.copy(n,o)):Uint8Array.prototype.set.call(n,e,o);else{if(!u.isBuffer(e))throw new TypeError('"list" argument must be an Array of Buffers');e.copy(n,o)}o+=e.length}return n},u.byteLength=v,u.prototype._isBuffer=!0,u.prototype.swap16=function(){const t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let e=0;e<t;e+=2)y(this,e,e+1);return this},u.prototype.swap32=function(){const t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let e=0;e<t;e+=4)y(this,e,e+3),y(this,e+1,e+2);return this},u.prototype.swap64=function(){const t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let e=0;e<t;e+=8)y(this,e,e+7),y(this,e+1,e+6),y(this,e+2,e+5),y(this,e+3,e+4);return this},u.prototype.toString=function(){const t=this.length;return 0===t?"":0===arguments.length?x(this,0,t):g.apply(this,arguments)},u.prototype.toLocaleString=u.prototype.toString,u.prototype.equals=function(t){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===u.compare(this,t)},u.prototype.inspect=function(){let t="";const r=e.h2;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"},i&&(u.prototype[i]=u.prototype.inspect),u.prototype.compare=function(t,e,r,n,o){if(W(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),e<0||r>t.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&e>=r)return 0;if(n>=o)return-1;if(e>=r)return 1;if(this===t)return 0;let i=(o>>>=0)-(n>>>=0),a=(r>>>=0)-(e>>>=0);const s=Math.min(i,a),c=this.slice(n,o),f=t.slice(e,r);for(let t=0;t<s;++t)if(c[t]!==f[t]){i=c[t],a=f[t];break}return i<a?-1:a<i?1:0},u.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},u.prototype.indexOf=function(t,e,r){return m(this,t,e,r,!0)},u.prototype.lastIndexOf=function(t,e,r){return m(this,t,e,r,!1)},u.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)n=e,r=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}const o=this.length-e;if((void 0===r||r>o)&&(r=o),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");let i=!1;for(;;)switch(n){case"hex":return w(this,t,e,r);case"utf8":case"utf-8":return E(this,t,e,r);case"ascii":case"latin1":case"binary":return _(this,t,e,r);case"base64":return A(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,t,e,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const T=4096;function I(t,e,r){let n="";r=Math.min(t.length,r);for(let o=e;o<r;++o)n+=String.fromCharCode(127&t[o]);return n}function R(t,e,r){let n="";r=Math.min(t.length,r);for(let o=e;o<r;++o)n+=String.fromCharCode(t[o]);return n}function C(t,e,r){const n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);let o="";for(let n=e;n<r;++n)o+=J[t[n]];return o}function L(t,e,r){const n=t.slice(e,r);let o="";for(let t=0;t<n.length-1;t+=2)o+=String.fromCharCode(n[t]+256*n[t+1]);return o}function N(t,e,r){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}function P(t,e,r,n,o,i){if(!u.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>o||e<i)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}function B(t,e,r,n,o){z(e,n,o,t,r,7);let i=Number(e&BigInt(4294967295));t[r++]=i,i>>=8,t[r++]=i,i>>=8,t[r++]=i,i>>=8,t[r++]=i;let a=Number(e>>BigInt(32)&BigInt(4294967295));return t[r++]=a,a>>=8,t[r++]=a,a>>=8,t[r++]=a,a>>=8,t[r++]=a,r}function k(t,e,r,n,o){z(e,n,o,t,r,7);let i=Number(e&BigInt(4294967295));t[r+7]=i,i>>=8,t[r+6]=i,i>>=8,t[r+5]=i,i>>=8,t[r+4]=i;let a=Number(e>>BigInt(32)&BigInt(4294967295));return t[r+3]=a,a>>=8,t[r+2]=a,a>>=8,t[r+1]=a,a>>=8,t[r]=a,r+8}function j(t,e,r,n,o,i){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function $(t,e,r,n,i){return e=+e,r>>>=0,i||j(t,0,r,4),o.write(t,e,r,n,23,4),r+4}function U(t,e,r,n,i){return e=+e,r>>>=0,i||j(t,0,r,8),o.write(t,e,r,n,52,8),r+8}u.prototype.slice=function(t,e){const r=this.length;(t=~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),(e=void 0===e?r:~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),e<t&&(e=t);const n=this.subarray(t,e);return Object.setPrototypeOf(n,u.prototype),n},u.prototype.readUintLE=u.prototype.readUIntLE=function(t,e,r){t>>>=0,e>>>=0,r||N(t,e,this.length);let n=this[t],o=1,i=0;for(;++i<e&&(o*=256);)n+=this[t+i]*o;return n},u.prototype.readUintBE=u.prototype.readUIntBE=function(t,e,r){t>>>=0,e>>>=0,r||N(t,e,this.length);let n=this[t+--e],o=1;for(;e>0&&(o*=256);)n+=this[t+--e]*o;return n},u.prototype.readUint8=u.prototype.readUInt8=function(t,e){return t>>>=0,e||N(t,1,this.length),this[t]},u.prototype.readUint16LE=u.prototype.readUInt16LE=function(t,e){return t>>>=0,e||N(t,2,this.length),this[t]|this[t+1]<<8},u.prototype.readUint16BE=u.prototype.readUInt16BE=function(t,e){return t>>>=0,e||N(t,2,this.length),this[t]<<8|this[t+1]},u.prototype.readUint32LE=u.prototype.readUInt32LE=function(t,e){return t>>>=0,e||N(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},u.prototype.readUint32BE=u.prototype.readUInt32BE=function(t,e){return t>>>=0,e||N(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},u.prototype.readBigUInt64LE=Q((function(t){G(t>>>=0,"offset");const e=this[t],r=this[t+7];void 0!==e&&void 0!==r||V(t,this.length-8);const n=e+256*this[++t]+65536*this[++t]+this[++t]*2**24,o=this[++t]+256*this[++t]+65536*this[++t]+r*2**24;return BigInt(n)+(BigInt(o)<<BigInt(32))})),u.prototype.readBigUInt64BE=Q((function(t){G(t>>>=0,"offset");const e=this[t],r=this[t+7];void 0!==e&&void 0!==r||V(t,this.length-8);const n=e*2**24+65536*this[++t]+256*this[++t]+this[++t],o=this[++t]*2**24+65536*this[++t]+256*this[++t]+r;return(BigInt(n)<<BigInt(32))+BigInt(o)})),u.prototype.readIntLE=function(t,e,r){t>>>=0,e>>>=0,r||N(t,e,this.length);let n=this[t],o=1,i=0;for(;++i<e&&(o*=256);)n+=this[t+i]*o;return o*=128,n>=o&&(n-=Math.pow(2,8*e)),n},u.prototype.readIntBE=function(t,e,r){t>>>=0,e>>>=0,r||N(t,e,this.length);let n=e,o=1,i=this[t+--n];for(;n>0&&(o*=256);)i+=this[t+--n]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*e)),i},u.prototype.readInt8=function(t,e){return t>>>=0,e||N(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},u.prototype.readInt16LE=function(t,e){t>>>=0,e||N(t,2,this.length);const r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt16BE=function(t,e){t>>>=0,e||N(t,2,this.length);const r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt32LE=function(t,e){return t>>>=0,e||N(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},u.prototype.readInt32BE=function(t,e){return t>>>=0,e||N(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},u.prototype.readBigInt64LE=Q((function(t){G(t>>>=0,"offset");const e=this[t],r=this[t+7];void 0!==e&&void 0!==r||V(t,this.length-8);const n=this[t+4]+256*this[t+5]+65536*this[t+6]+(r<<24);return(BigInt(n)<<BigInt(32))+BigInt(e+256*this[++t]+65536*this[++t]+this[++t]*2**24)})),u.prototype.readBigInt64BE=Q((function(t){G(t>>>=0,"offset");const e=this[t],r=this[t+7];void 0!==e&&void 0!==r||V(t,this.length-8);const n=(e<<24)+65536*this[++t]+256*this[++t]+this[++t];return(BigInt(n)<<BigInt(32))+BigInt(this[++t]*2**24+65536*this[++t]+256*this[++t]+r)})),u.prototype.readFloatLE=function(t,e){return t>>>=0,e||N(t,4,this.length),o.read(this,t,!0,23,4)},u.prototype.readFloatBE=function(t,e){return t>>>=0,e||N(t,4,this.length),o.read(this,t,!1,23,4)},u.prototype.readDoubleLE=function(t,e){return t>>>=0,e||N(t,8,this.length),o.read(this,t,!0,52,8)},u.prototype.readDoubleBE=function(t,e){return t>>>=0,e||N(t,8,this.length),o.read(this,t,!1,52,8)},u.prototype.writeUintLE=u.prototype.writeUIntLE=function(t,e,r,n){if(t=+t,e>>>=0,r>>>=0,!n){P(this,t,e,r,Math.pow(2,8*r)-1,0)}let o=1,i=0;for(this[e]=255&t;++i<r&&(o*=256);)this[e+i]=t/o&255;return e+r},u.prototype.writeUintBE=u.prototype.writeUIntBE=function(t,e,r,n){if(t=+t,e>>>=0,r>>>=0,!n){P(this,t,e,r,Math.pow(2,8*r)-1,0)}let o=r-1,i=1;for(this[e+o]=255&t;--o>=0&&(i*=256);)this[e+o]=t/i&255;return e+r},u.prototype.writeUint8=u.prototype.writeUInt8=function(t,e,r){return t=+t,e>>>=0,r||P(this,t,e,1,255,0),this[e]=255&t,e+1},u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(t,e,r){return t=+t,e>>>=0,r||P(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(t,e,r){return t=+t,e>>>=0,r||P(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(t,e,r){return t=+t,e>>>=0,r||P(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(t,e,r){return t=+t,e>>>=0,r||P(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},u.prototype.writeBigUInt64LE=Q((function(t,e=0){return B(this,t,e,BigInt(0),BigInt("0xffffffffffffffff"))})),u.prototype.writeBigUInt64BE=Q((function(t,e=0){return k(this,t,e,BigInt(0),BigInt("0xffffffffffffffff"))})),u.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e>>>=0,!n){const n=Math.pow(2,8*r-1);P(this,t,e,r,n-1,-n)}let o=0,i=1,a=0;for(this[e]=255&t;++o<r&&(i*=256);)t<0&&0===a&&0!==this[e+o-1]&&(a=1),this[e+o]=(t/i>>0)-a&255;return e+r},u.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e>>>=0,!n){const n=Math.pow(2,8*r-1);P(this,t,e,r,n-1,-n)}let o=r-1,i=1,a=0;for(this[e+o]=255&t;--o>=0&&(i*=256);)t<0&&0===a&&0!==this[e+o+1]&&(a=1),this[e+o]=(t/i>>0)-a&255;return e+r},u.prototype.writeInt8=function(t,e,r){return t=+t,e>>>=0,r||P(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},u.prototype.writeInt16LE=function(t,e,r){return t=+t,e>>>=0,r||P(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},u.prototype.writeInt16BE=function(t,e,r){return t=+t,e>>>=0,r||P(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},u.prototype.writeInt32LE=function(t,e,r){return t=+t,e>>>=0,r||P(this,t,e,4,2147483647,-2147483648),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},u.prototype.writeInt32BE=function(t,e,r){return t=+t,e>>>=0,r||P(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},u.prototype.writeBigInt64LE=Q((function(t,e=0){return B(this,t,e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),u.prototype.writeBigInt64BE=Q((function(t,e=0){return k(this,t,e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),u.prototype.writeFloatLE=function(t,e,r){return $(this,t,e,!0,r)},u.prototype.writeFloatBE=function(t,e,r){return $(this,t,e,!1,r)},u.prototype.writeDoubleLE=function(t,e,r){return U(this,t,e,!0,r)},u.prototype.writeDoubleBE=function(t,e,r){return U(this,t,e,!1,r)},u.prototype.copy=function(t,e,r,n){if(!u.isBuffer(t))throw new TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-r&&(n=t.length-e+r);const o=n-r;return this===t&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(e,r,n):Uint8Array.prototype.set.call(t,this.subarray(r,n),e),o},u.prototype.fill=function(t,e,r,n){if("string"==typeof t){if("string"==typeof e?(n=e,e=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!u.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(1===t.length){const e=t.charCodeAt(0);("utf8"===n&&e<128||"latin1"===n)&&(t=e)}}else"number"==typeof t?t&=255:"boolean"==typeof t&&(t=Number(t));if(e<0||this.length<e||this.length<r)throw new RangeError("Out of range index");if(r<=e)return this;let o;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(o=e;o<r;++o)this[o]=t;else{const i=u.isBuffer(t)?t:u.from(t,n),a=i.length;if(0===a)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(o=0;o<r-e;++o)this[o+e]=i[o%a]}return this};const M={};function D(t,e,r){M[t]=class extends r{constructor(){super(),Object.defineProperty(this,"message",{value:e.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${t}]`,this.stack,delete this.name}get code(){return t}set code(t){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:t,writable:!0})}toString(){return`${this.name} [${t}]: ${this.message}`}}}function F(t){let e="",r=t.length;const n="-"===t[0]?1:0;for(;r>=n+4;r-=3)e=`_${t.slice(r-3,r)}${e}`;return`${t.slice(0,r)}${e}`}function z(t,e,r,n,o,i){if(t>r||t<e){const n="bigint"==typeof e?"n":"";let o;throw o=i>3?0===e||e===BigInt(0)?`>= 0${n} and < 2${n} ** ${8*(i+1)}${n}`:`>= -(2${n} ** ${8*(i+1)-1}${n}) and < 2 ** ${8*(i+1)-1}${n}`:`>= ${e}${n} and <= ${r}${n}`,new M.ERR_OUT_OF_RANGE("value",o,t)}!function(t,e,r){G(e,"offset"),void 0!==t[e]&&void 0!==t[e+r]||V(e,t.length-(r+1))}(n,o,i)}function G(t,e){if("number"!=typeof t)throw new M.ERR_INVALID_ARG_TYPE(e,"number",t)}function V(t,e,r){if(Math.floor(t)!==t)throw G(t,r),new M.ERR_OUT_OF_RANGE(r||"offset","an integer",t);if(e<0)throw new M.ERR_BUFFER_OUT_OF_BOUNDS;throw new M.ERR_OUT_OF_RANGE(r||"offset",`>= ${r?1:0} and <= ${e}`,t)}D("ERR_BUFFER_OUT_OF_BOUNDS",(function(t){return t?`${t} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),D("ERR_INVALID_ARG_TYPE",(function(t,e){return`The "${t}" argument must be of type number. Received type ${typeof e}`}),TypeError),D("ERR_OUT_OF_RANGE",(function(t,e,r){let n=`The value of "${t}" is out of range.`,o=r;return Number.isInteger(r)&&Math.abs(r)>2**32?o=F(String(r)):"bigint"==typeof r&&(o=String(r),(r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))&&(o=F(o)),o+="n"),n+=` It must be ${e}. Received ${o}`,n}),RangeError);const q=/[^+/0-9A-Za-z-_]/g;function H(t,e){let r;e=e||1/0;const n=t.length;let o=null;const i=[];for(let a=0;a<n;++a){if(r=t.charCodeAt(a),r>55295&&r<57344){if(!o){if(r>56319){(e-=3)>-1&&i.push(239,191,189);continue}if(a+1===n){(e-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(e-=3)>-1&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(e-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((e-=1)<0)break;i.push(r)}else if(r<2048){if((e-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function Y(t){return n.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(q,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function X(t,e,r,n){let o;for(o=0;o<n&&!(o+r>=e.length||o>=t.length);++o)e[o+r]=t[o];return o}function W(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}function K(t){return t!=t}const J=function(){const t="0123456789abcdef",e=new Array(256);for(let r=0;r<16;++r){const n=16*r;for(let o=0;o<16;++o)e[n+o]=t[r]+t[o]}return e}();function Q(t){return"undefined"==typeof BigInt?Z:t}function Z(){throw new Error("BigInt not supported")}},9662:(t,e,r)=>{var n=r(614),o=r(6330),i=TypeError;t.exports=function(t){if(n(t))return t;throw i(o(t)+" is not a function")}},6077:(t,e,r)=>{var n=r(614),o=String,i=TypeError;t.exports=function(t){if("object"==typeof t||n(t))return t;throw i("Can't set "+o(t)+" as a prototype")}},1223:(t,e,r)=>{var n=r(5112),o=r(30),i=r(3070).f,a=n("unscopables"),s=Array.prototype;null==s[a]&&i(s,a,{configurable:!0,value:o(null)}),t.exports=function(t){s[a][t]=!0}},1530:(t,e,r)=>{"use strict";var n=r(8710).charAt;t.exports=function(t,e,r){return e+(r?n(t,e).length:1)}},9670:(t,e,r)=>{var n=r(111),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw i(o(t)+" is not an object")}},1318:(t,e,r)=>{var n=r(5656),o=r(1400),i=r(6244),a=function(t){return function(e,r,a){var s,u=n(e),c=i(u),f=o(a,c);if(t&&r!=r){for(;c>f;)if((s=u[f++])!=s)return!0}else for(;c>f;f++)if((t||f in u)&&u[f]===r)return t||f||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},2092:(t,e,r)=>{var n=r(9974),o=r(1702),i=r(8361),a=r(7908),s=r(6244),u=r(5417),c=o([].push),f=function(t){var e=1==t,r=2==t,o=3==t,f=4==t,l=6==t,p=7==t,h=5==t||l;return function(d,v,g,y){for(var m,b,w=a(d),E=i(w),_=n(v,g),A=s(E),O=0,S=y||u,x=e?S(d,A):r||p?S(d,0):void 0;A>O;O++)if((h||O in E)&&(b=_(m=E[O],O,w),t))if(e)x[O]=b;else if(b)switch(t){case 3:return!0;case 5:return m;case 6:return O;case 2:c(x,m)}else switch(t){case 4:return!1;case 7:c(x,m)}return l?-1:o||f?f:x}};t.exports={forEach:f(0),map:f(1),filter:f(2),some:f(3),every:f(4),find:f(5),findIndex:f(6),filterReject:f(7)}},9341:(t,e,r)=>{"use strict";var n=r(7293);t.exports=function(t,e){var r=[][t];return!!r&&n((function(){r.call(null,e||function(){return 1},1)}))}},1589:(t,e,r)=>{var n=r(1400),o=r(6244),i=r(6135),a=Array,s=Math.max;t.exports=function(t,e,r){for(var u=o(t),c=n(e,u),f=n(void 0===r?u:r,u),l=a(s(f-c,0)),p=0;c<f;c++,p++)i(l,p,t[c]);return l.length=p,l}},206:(t,e,r)=>{var n=r(1702);t.exports=n([].slice)},7475:(t,e,r)=>{var n=r(3157),o=r(4411),i=r(111),a=r(5112)("species"),s=Array;t.exports=function(t){var e;return n(t)&&(e=t.constructor,(o(e)&&(e===s||n(e.prototype))||i(e)&&null===(e=e[a]))&&(e=void 0)),void 0===e?s:e}},5417:(t,e,r)=>{var n=r(7475);t.exports=function(t,e){return new(n(t))(0===e?0:e)}},4326:(t,e,r)=>{var n=r(1702),o=n({}.toString),i=n("".slice);t.exports=function(t){return i(o(t),8,-1)}},648:(t,e,r)=>{var n=r(1694),o=r(614),i=r(4326),a=r(5112)("toStringTag"),s=Object,u="Arguments"==i(function(){return arguments}());t.exports=n?i:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=s(t),a))?r:u?i(e):"Object"==(n=i(e))&&o(e.callee)?"Arguments":n}},9920:(t,e,r)=>{var n=r(2597),o=r(3887),i=r(1236),a=r(3070);t.exports=function(t,e,r){for(var s=o(e),u=a.f,c=i.f,f=0;f<s.length;f++){var l=s[f];n(t,l)||r&&n(r,l)||u(t,l,c(e,l))}}},8544:(t,e,r)=>{var n=r(7293);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},6178:t=>{t.exports=function(t,e){return{value:t,done:e}}},8880:(t,e,r)=>{var n=r(9781),o=r(3070),i=r(9114);t.exports=n?function(t,e,r){return o.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},9114:t=>{t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},6135:(t,e,r)=>{"use strict";var n=r(4948),o=r(3070),i=r(9114);t.exports=function(t,e,r){var a=n(e);a in t?o.f(t,a,i(0,r)):t[a]=r}},8709:(t,e,r)=>{"use strict";var n=r(9670),o=r(2140),i=TypeError;t.exports=function(t){if(n(this),"string"===t||"default"===t)t="string";else if("number"!==t)throw i("Incorrect hint");return o(this,t)}},7045:(t,e,r)=>{var n=r(6339),o=r(3070);t.exports=function(t,e,r){return r.get&&n(r.get,e,{getter:!0}),r.set&&n(r.set,e,{setter:!0}),o.f(t,e,r)}},8052:(t,e,r)=>{var n=r(614),o=r(3070),i=r(6339),a=r(3072);t.exports=function(t,e,r,s){s||(s={});var u=s.enumerable,c=void 0!==s.name?s.name:e;if(n(r)&&i(r,c,s),s.global)u?t[e]=r:a(e,r);else{try{s.unsafe?t[e]&&(u=!0):delete t[e]}catch(t){}u?t[e]=r:o.f(t,e,{value:r,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return t}},3072:(t,e,r)=>{var n=r(7854),o=Object.defineProperty;t.exports=function(t,e){try{o(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},9781:(t,e,r)=>{var n=r(7293);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4154:t=>{var e="object"==typeof document&&document.all,r=void 0===e&&void 0!==e;t.exports={all:e,IS_HTMLDDA:r}},317:(t,e,r)=>{var n=r(7854),o=r(111),i=n.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},8324:t=>{t.exports={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}},8509:(t,e,r)=>{var n=r(317)("span").classList,o=n&&n.constructor&&n.constructor.prototype;t.exports=o===Object.prototype?void 0:o},8113:t=>{t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},7392:(t,e,r)=>{var n,o,i=r(7854),a=r(8113),s=i.process,u=i.Deno,c=s&&s.versions||u&&u.version,f=c&&c.v8;f&&(o=(n=f.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(o=+n[1]),t.exports=o},748:t=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:(t,e,r)=>{var n=r(7854),o=r(1236).f,i=r(8880),a=r(8052),s=r(3072),u=r(9920),c=r(4705);t.exports=function(t,e){var r,f,l,p,h,d=t.target,v=t.global,g=t.stat;if(r=v?n:g?n[d]||s(d,{}):(n[d]||{}).prototype)for(f in e){if(p=e[f],l=t.dontCallGetSet?(h=o(r,f))&&h.value:r[f],!c(v?f:d+(g?".":"#")+f,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;u(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),a(r,f,p,t)}}},7293:t=>{t.exports=function(t){try{return!!t()}catch(t){return!0}}},7007:(t,e,r)=>{"use strict";r(4916);var n=r(1470),o=r(8052),i=r(2261),a=r(7293),s=r(5112),u=r(8880),c=s("species"),f=RegExp.prototype;t.exports=function(t,e,r,l){var p=s(t),h=!a((function(){var e={};return e[p]=function(){return 7},7!=""[t](e)})),d=h&&!a((function(){var e=!1,r=/a/;return"split"===t&&((r={}).constructor={},r.constructor[c]=function(){return r},r.flags="",r[p]=/./[p]),r.exec=function(){return e=!0,null},r[p](""),!e}));if(!h||!d||r){var v=n(/./[p]),g=e(p,""[t],(function(t,e,r,o,a){var s=n(t),u=e.exec;return u===i||u===f.exec?h&&!a?{done:!0,value:v(e,r,o)}:{done:!0,value:s(r,e,o)}:{done:!1}}));o(String.prototype,t,g[0]),o(f,p,g[1])}l&&u(f[p],"sham",!0)}},2104:(t,e,r)=>{var n=r(4374),o=Function.prototype,i=o.apply,a=o.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?a.bind(i):function(){return a.apply(i,arguments)})},9974:(t,e,r)=>{var n=r(1470),o=r(9662),i=r(4374),a=n(n.bind);t.exports=function(t,e){return o(t),void 0===e?t:i?a(t,e):function(){return t.apply(e,arguments)}}},4374:(t,e,r)=>{var n=r(7293);t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},6916:(t,e,r)=>{var n=r(4374),o=Function.prototype.call;t.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},6530:(t,e,r)=>{var n=r(9781),o=r(2597),i=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,s=o(i,"name"),u=s&&"something"===function(){}.name,c=s&&(!n||n&&a(i,"name").configurable);t.exports={EXISTS:s,PROPER:u,CONFIGURABLE:c}},5668:(t,e,r)=>{var n=r(1702),o=r(9662);t.exports=function(t,e,r){try{return n(o(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}}},1470:(t,e,r)=>{var n=r(4326),o=r(1702);t.exports=function(t){if("Function"===n(t))return o(t)}},1702:(t,e,r)=>{var n=r(4374),o=Function.prototype,i=o.call,a=n&&o.bind.bind(i,i);t.exports=n?a:function(t){return function(){return i.apply(t,arguments)}}},5005:(t,e,r)=>{var n=r(7854),o=r(614);t.exports=function(t,e){return arguments.length<2?(r=n[t],o(r)?r:void 0):n[t]&&n[t][e];var r}},8044:(t,e,r)=>{var n=r(1702),o=r(3157),i=r(614),a=r(4326),s=r(1340),u=n([].push);t.exports=function(t){if(i(t))return t;if(o(t)){for(var e=t.length,r=[],n=0;n<e;n++){var c=t[n];"string"==typeof c?u(r,c):"number"!=typeof c&&"Number"!=a(c)&&"String"!=a(c)||u(r,s(c))}var f=r.length,l=!0;return function(t,e){if(l)return l=!1,e;if(o(this))return e;for(var n=0;n<f;n++)if(r[n]===t)return e}}}},8173:(t,e,r)=>{var n=r(9662),o=r(8554);t.exports=function(t,e){var r=t[e];return o(r)?void 0:n(r)}},647:(t,e,r)=>{var n=r(1702),o=r(7908),i=Math.floor,a=n("".charAt),s=n("".replace),u=n("".slice),c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,f=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,r,n,l,p){var h=r+t.length,d=n.length,v=f;return void 0!==l&&(l=o(l),v=c),s(p,v,(function(o,s){var c;switch(a(s,0)){case"$":return"$";case"&":return t;case"`":return u(e,0,r);case"'":return u(e,h);case"<":c=l[u(s,1,-1)];break;default:var f=+s;if(0===f)return o;if(f>d){var p=i(f/10);return 0===p?o:p<=d?void 0===n[p-1]?a(s,1):n[p-1]+a(s,1):o}c=n[f-1]}return void 0===c?"":c}))}},7854:function(t,e,r){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||this||Function("return this")()},2597:(t,e,r)=>{var n=r(1702),o=r(7908),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},3501:t=>{t.exports={}},490:(t,e,r)=>{var n=r(5005);t.exports=n("document","documentElement")},4664:(t,e,r)=>{var n=r(9781),o=r(7293),i=r(317);t.exports=!n&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},8361:(t,e,r)=>{var n=r(1702),o=r(7293),i=r(4326),a=Object,s=n("".split);t.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(t){return"String"==i(t)?s(t,""):a(t)}:a},9587:(t,e,r)=>{var n=r(614),o=r(111),i=r(7674);t.exports=function(t,e,r){var a,s;return i&&n(a=e.constructor)&&a!==r&&o(s=a.prototype)&&s!==r.prototype&&i(t,s),t}},2788:(t,e,r)=>{var n=r(1702),o=r(614),i=r(5465),a=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return a(t)}),t.exports=i.inspectSource},9909:(t,e,r)=>{var n,o,i,a=r(4811),s=r(7854),u=r(111),c=r(8880),f=r(2597),l=r(5465),p=r(6200),h=r(3501),d="Object already initialized",v=s.TypeError,g=s.WeakMap;if(a||l.state){var y=l.state||(l.state=new g);y.get=y.get,y.has=y.has,y.set=y.set,n=function(t,e){if(y.has(t))throw v(d);return e.facade=t,y.set(t,e),e},o=function(t){return y.get(t)||{}},i=function(t){return y.has(t)}}else{var m=p("state");h[m]=!0,n=function(t,e){if(f(t,m))throw v(d);return e.facade=t,c(t,m,e),e},o=function(t){return f(t,m)?t[m]:{}},i=function(t){return f(t,m)}}t.exports={set:n,get:o,has:i,enforce:function(t){return i(t)?o(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!u(e)||(r=o(e)).type!==t)throw v("Incompatible receiver, "+t+" required");return r}}}},3157:(t,e,r)=>{var n=r(4326);t.exports=Array.isArray||function(t){return"Array"==n(t)}},614:(t,e,r)=>{var n=r(4154),o=n.all;t.exports=n.IS_HTMLDDA?function(t){return"function"==typeof t||t===o}:function(t){return"function"==typeof t}},4411:(t,e,r)=>{var n=r(1702),o=r(7293),i=r(614),a=r(648),s=r(5005),u=r(2788),c=function(){},f=[],l=s("Reflect","construct"),p=/^\s*(?:class|function)\b/,h=n(p.exec),d=!p.exec(c),v=function(t){if(!i(t))return!1;try{return l(c,f,t),!0}catch(t){return!1}},g=function(t){if(!i(t))return!1;switch(a(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!h(p,u(t))}catch(t){return!0}};g.sham=!0,t.exports=!l||o((function(){var t;return v(v.call)||!v(Object)||!v((function(){t=!0}))||t}))?g:v},4705:(t,e,r)=>{var n=r(7293),o=r(614),i=/#|\.prototype\./,a=function(t,e){var r=u[s(t)];return r==f||r!=c&&(o(e)?n(e):!!e)},s=a.normalize=function(t){return String(t).replace(i,".").toLowerCase()},u=a.data={},c=a.NATIVE="N",f=a.POLYFILL="P";t.exports=a},8554:t=>{t.exports=function(t){return null==t}},111:(t,e,r)=>{var n=r(614),o=r(4154),i=o.all;t.exports=o.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:n(t)||t===i}:function(t){return"object"==typeof t?null!==t:n(t)}},1913:t=>{t.exports=!1},2190:(t,e,r)=>{var n=r(5005),o=r(614),i=r(7976),a=r(3307),s=Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return o(e)&&i(e.prototype,s(t))}},3061:(t,e,r)=>{"use strict";var n=r(3383).IteratorPrototype,o=r(30),i=r(9114),a=r(8003),s=r(7497),u=function(){return this};t.exports=function(t,e,r,c){var f=e+" Iterator";return t.prototype=o(n,{next:i(+!c,r)}),a(t,f,!1,!0),s[f]=u,t}},1656:(t,e,r)=>{"use strict";var n=r(2109),o=r(6916),i=r(1913),a=r(6530),s=r(614),u=r(3061),c=r(9518),f=r(7674),l=r(8003),p=r(8880),h=r(8052),d=r(5112),v=r(7497),g=r(3383),y=a.PROPER,m=a.CONFIGURABLE,b=g.IteratorPrototype,w=g.BUGGY_SAFARI_ITERATORS,E=d("iterator"),_="keys",A="values",O="entries",S=function(){return this};t.exports=function(t,e,r,a,d,g,x){u(r,e,a);var T,I,R,C=function(t){if(t===d&&k)return k;if(!w&&t in P)return P[t];switch(t){case _:case A:case O:return function(){return new r(this,t)}}return function(){return new r(this)}},L=e+" Iterator",N=!1,P=t.prototype,B=P[E]||P["@@iterator"]||d&&P[d],k=!w&&B||C(d),j="Array"==e&&P.entries||B;if(j&&(T=c(j.call(new t)))!==Object.prototype&&T.next&&(i||c(T)===b||(f?f(T,b):s(T[E])||h(T,E,S)),l(T,L,!0,!0),i&&(v[L]=S)),y&&d==A&&B&&B.name!==A&&(!i&&m?p(P,"name",A):(N=!0,k=function(){return o(B,this)})),d)if(I={values:C(A),keys:g?k:C(_),entries:C(O)},x)for(R in I)(w||N||!(R in P))&&h(P,R,I[R]);else n({target:e,proto:!0,forced:w||N},I);return i&&!x||P[E]===k||h(P,E,k,{name:d}),v[e]=k,I}},3383:(t,e,r)=>{"use strict";var n,o,i,a=r(7293),s=r(614),u=r(111),c=r(30),f=r(9518),l=r(8052),p=r(5112),h=r(1913),d=p("iterator"),v=!1;[].keys&&("next"in(i=[].keys())?(o=f(f(i)))!==Object.prototype&&(n=o):v=!0),!u(n)||a((function(){var t={};return n[d].call(t)!==t}))?n={}:h&&(n=c(n)),s(n[d])||l(n,d,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:v}},7497:t=>{t.exports={}},6244:(t,e,r)=>{var n=r(7466);t.exports=function(t){return n(t.length)}},6339:(t,e,r)=>{var n=r(1702),o=r(7293),i=r(614),a=r(2597),s=r(9781),u=r(6530).CONFIGURABLE,c=r(2788),f=r(9909),l=f.enforce,p=f.get,h=String,d=Object.defineProperty,v=n("".slice),g=n("".replace),y=n([].join),m=s&&!o((function(){return 8!==d((function(){}),"length",{value:8}).length})),b=String(String).split("String"),w=t.exports=function(t,e,r){"Symbol("===v(h(e),0,7)&&(e="["+g(h(e),/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!a(t,"name")||u&&t.name!==e)&&(s?d(t,"name",{value:e,configurable:!0}):t.name=e),m&&r&&a(r,"arity")&&t.length!==r.arity&&d(t,"length",{value:r.arity});try{r&&a(r,"constructor")&&r.constructor?s&&d(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=l(t);return a(n,"source")||(n.source=y(b,"string"==typeof e?e:"")),t};Function.prototype.toString=w((function(){return i(this)&&p(this).source||c(this)}),"toString")},4758:t=>{var e=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return(n>0?r:e)(n)}},1574:(t,e,r)=>{"use strict";var n=r(9781),o=r(1702),i=r(6916),a=r(7293),s=r(1956),u=r(5181),c=r(5296),f=r(7908),l=r(8361),p=Object.assign,h=Object.defineProperty,d=o([].concat);t.exports=!p||a((function(){if(n&&1!==p({b:1},p(h({},"a",{enumerable:!0,get:function(){h(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},r=Symbol(),o="abcdefghijklmnopqrst";return t[r]=7,o.split("").forEach((function(t){e[t]=t})),7!=p({},t)[r]||s(p({},e)).join("")!=o}))?function(t,e){for(var r=f(t),o=arguments.length,a=1,p=u.f,h=c.f;o>a;)for(var v,g=l(arguments[a++]),y=p?d(s(g),p(g)):s(g),m=y.length,b=0;m>b;)v=y[b++],n&&!i(h,g,v)||(r[v]=g[v]);return r}:p},30:(t,e,r)=>{var n,o=r(9670),i=r(6048),a=r(748),s=r(3501),u=r(490),c=r(317),f=r(6200),l="prototype",p="script",h=f("IE_PROTO"),d=function(){},v=function(t){return"<"+p+">"+t+"</"+p+">"},g=function(t){t.write(v("")),t.close();var e=t.parentWindow.Object;return t=null,e},y=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}var t,e,r;y="undefined"!=typeof document?document.domain&&n?g(n):(e=c("iframe"),r="java"+p+":",e.style.display="none",u.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F):g(n);for(var o=a.length;o--;)delete y[l][a[o]];return y()};s[h]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(d[l]=o(t),r=new d,d[l]=null,r[h]=t):r=y(),void 0===e?r:i.f(r,e)}},6048:(t,e,r)=>{var n=r(9781),o=r(3353),i=r(3070),a=r(9670),s=r(5656),u=r(1956);e.f=n&&!o?Object.defineProperties:function(t,e){a(t);for(var r,n=s(e),o=u(e),c=o.length,f=0;c>f;)i.f(t,r=o[f++],n[r]);return t}},3070:(t,e,r)=>{var n=r(9781),o=r(4664),i=r(3353),a=r(9670),s=r(4948),u=TypeError,c=Object.defineProperty,f=Object.getOwnPropertyDescriptor,l="enumerable",p="configurable",h="writable";e.f=n?i?function(t,e,r){if(a(t),e=s(e),a(r),"function"==typeof t&&"prototype"===e&&"value"in r&&h in r&&!r[h]){var n=f(t,e);n&&n[h]&&(t[e]=r.value,r={configurable:p in r?r[p]:n[p],enumerable:l in r?r[l]:n[l],writable:!1})}return c(t,e,r)}:c:function(t,e,r){if(a(t),e=s(e),a(r),o)try{return c(t,e,r)}catch(t){}if("get"in r||"set"in r)throw u("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},1236:(t,e,r)=>{var n=r(9781),o=r(6916),i=r(5296),a=r(9114),s=r(5656),u=r(4948),c=r(2597),f=r(4664),l=Object.getOwnPropertyDescriptor;e.f=n?l:function(t,e){if(t=s(t),e=u(e),f)try{return l(t,e)}catch(t){}if(c(t,e))return a(!o(i.f,t,e),t[e])}},1156:(t,e,r)=>{var n=r(4326),o=r(5656),i=r(8006).f,a=r(1589),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return s&&"Window"==n(t)?function(t){try{return i(t)}catch(t){return a(s)}}(t):i(o(t))}},8006:(t,e,r)=>{var n=r(6324),o=r(748).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},5181:(t,e)=>{e.f=Object.getOwnPropertySymbols},9518:(t,e,r)=>{var n=r(2597),o=r(614),i=r(7908),a=r(6200),s=r(8544),u=a("IE_PROTO"),c=Object,f=c.prototype;t.exports=s?c.getPrototypeOf:function(t){var e=i(t);if(n(e,u))return e[u];var r=e.constructor;return o(r)&&e instanceof r?r.prototype:e instanceof c?f:null}},7976:(t,e,r)=>{var n=r(1702);t.exports=n({}.isPrototypeOf)},6324:(t,e,r)=>{var n=r(1702),o=r(2597),i=r(5656),a=r(1318).indexOf,s=r(3501),u=n([].push);t.exports=function(t,e){var r,n=i(t),c=0,f=[];for(r in n)!o(s,r)&&o(n,r)&&u(f,r);for(;e.length>c;)o(n,r=e[c++])&&(~a(f,r)||u(f,r));return f}},1956:(t,e,r)=>{var n=r(6324),o=r(748);t.exports=Object.keys||function(t){return n(t,o)}},5296:(t,e)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!r.call({1:2},1);e.f=o?function(t){var e=n(this,t);return!!e&&e.enumerable}:r},7674:(t,e,r)=>{var n=r(5668),o=r(9670),i=r(6077);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=n(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return o(r),i(n),e?t(r,n):r.__proto__=n,r}}():void 0)},288:(t,e,r)=>{"use strict";var n=r(1694),o=r(648);t.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},2140:(t,e,r)=>{var n=r(6916),o=r(614),i=r(111),a=TypeError;t.exports=function(t,e){var r,s;if("string"===e&&o(r=t.toString)&&!i(s=n(r,t)))return s;if(o(r=t.valueOf)&&!i(s=n(r,t)))return s;if("string"!==e&&o(r=t.toString)&&!i(s=n(r,t)))return s;throw a("Can't convert object to primitive value")}},3887:(t,e,r)=>{var n=r(5005),o=r(1702),i=r(8006),a=r(5181),s=r(9670),u=o([].concat);t.exports=n("Reflect","ownKeys")||function(t){var e=i.f(s(t)),r=a.f;return r?u(e,r(t)):e}},857:(t,e,r)=>{var n=r(7854);t.exports=n},7651:(t,e,r)=>{var n=r(6916),o=r(9670),i=r(614),a=r(4326),s=r(2261),u=TypeError;t.exports=function(t,e){var r=t.exec;if(i(r)){var c=n(r,t,e);return null!==c&&o(c),c}if("RegExp"===a(t))return n(s,t,e);throw u("RegExp#exec called on incompatible receiver")}},2261:(t,e,r)=>{"use strict";var n,o,i=r(6916),a=r(1702),s=r(1340),u=r(7066),c=r(2999),f=r(2309),l=r(30),p=r(9909).get,h=r(9441),d=r(7168),v=f("native-string-replace",String.prototype.replace),g=RegExp.prototype.exec,y=g,m=a("".charAt),b=a("".indexOf),w=a("".replace),E=a("".slice),_=(o=/b*/g,i(g,n=/a/,"a"),i(g,o,"a"),0!==n.lastIndex||0!==o.lastIndex),A=c.BROKEN_CARET,O=void 0!==/()??/.exec("")[1];(_||O||A||h||d)&&(y=function(t){var e,r,n,o,a,c,f,h=this,d=p(h),S=s(t),x=d.raw;if(x)return x.lastIndex=h.lastIndex,e=i(y,x,S),h.lastIndex=x.lastIndex,e;var T=d.groups,I=A&&h.sticky,R=i(u,h),C=h.source,L=0,N=S;if(I&&(R=w(R,"y",""),-1===b(R,"g")&&(R+="g"),N=E(S,h.lastIndex),h.lastIndex>0&&(!h.multiline||h.multiline&&"\n"!==m(S,h.lastIndex-1))&&(C="(?: "+C+")",N=" "+N,L++),r=new RegExp("^(?:"+C+")",R)),O&&(r=new RegExp("^"+C+"$(?!\\s)",R)),_&&(n=h.lastIndex),o=i(g,I?r:h,N),I?o?(o.input=E(o.input,L),o[0]=E(o[0],L),o.index=h.lastIndex,h.lastIndex+=o[0].length):h.lastIndex=0:_&&o&&(h.lastIndex=h.global?o.index+o[0].length:n),O&&o&&o.length>1&&i(v,o[0],r,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(o[a]=void 0)})),o&&T)for(o.groups=c=l(null),a=0;a<T.length;a++)c[(f=T[a])[0]]=o[f[1]];return o}),t.exports=y},7066:(t,e,r)=>{"use strict";var n=r(9670);t.exports=function(){var t=n(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e}},4706:(t,e,r)=>{var n=r(6916),o=r(2597),i=r(7976),a=r(7066),s=RegExp.prototype;t.exports=function(t){var e=t.flags;return void 0!==e||"flags"in s||o(t,"flags")||!i(s,t)?e:n(a,t)}},2999:(t,e,r)=>{var n=r(7293),o=r(7854).RegExp,i=n((function(){var t=o("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),a=i||n((function(){return!o("a","y").sticky})),s=i||n((function(){var t=o("^r","gy");return t.lastIndex=2,null!=t.exec("str")}));t.exports={BROKEN_CARET:s,MISSED_STICKY:a,UNSUPPORTED_Y:i}},9441:(t,e,r)=>{var n=r(7293),o=r(7854).RegExp;t.exports=n((function(){var t=o(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)}))},7168:(t,e,r)=>{var n=r(7293),o=r(7854).RegExp;t.exports=n((function(){var t=o("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))},4488:(t,e,r)=>{var n=r(8554),o=TypeError;t.exports=function(t){if(n(t))throw o("Can't call method on "+t);return t}},8003:(t,e,r)=>{var n=r(3070).f,o=r(2597),i=r(5112)("toStringTag");t.exports=function(t,e,r){t&&!r&&(t=t.prototype),t&&!o(t,i)&&n(t,i,{configurable:!0,value:e})}},6200:(t,e,r)=>{var n=r(2309),o=r(9711),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},5465:(t,e,r)=>{var n=r(7854),o=r(3072),i="__core-js_shared__",a=n[i]||o(i,{});t.exports=a},2309:(t,e,r)=>{var n=r(1913),o=r(5465);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.31.1",mode:n?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.31.1/LICENSE",source:"https://github.com/zloirock/core-js"})},8710:(t,e,r)=>{var n=r(1702),o=r(9303),i=r(1340),a=r(4488),s=n("".charAt),u=n("".charCodeAt),c=n("".slice),f=function(t){return function(e,r){var n,f,l=i(a(e)),p=o(r),h=l.length;return p<0||p>=h?t?"":void 0:(n=u(l,p))<55296||n>56319||p+1===h||(f=u(l,p+1))<56320||f>57343?t?s(l,p):n:t?c(l,p,p+2):f-56320+(n-55296<<10)+65536}};t.exports={codeAt:f(!1),charAt:f(!0)}},3111:(t,e,r)=>{var n=r(1702),o=r(4488),i=r(1340),a=r(1361),s=n("".replace),u=RegExp("^["+a+"]+"),c=RegExp("(^|[^"+a+"])["+a+"]+$"),f=function(t){return function(e){var r=i(o(e));return 1&t&&(r=s(r,u,"")),2&t&&(r=s(r,c,"$1")),r}};t.exports={start:f(1),end:f(2),trim:f(3)}},6293:(t,e,r)=>{var n=r(7392),o=r(7293),i=r(7854).String;t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!i(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},6532:(t,e,r)=>{var n=r(6916),o=r(5005),i=r(5112),a=r(8052);t.exports=function(){var t=o("Symbol"),e=t&&t.prototype,r=e&&e.valueOf,s=i("toPrimitive");e&&!e[s]&&a(e,s,(function(t){return n(r,this)}),{arity:1})}},2015:(t,e,r)=>{var n=r(6293);t.exports=n&&!!Symbol.for&&!!Symbol.keyFor},863:(t,e,r)=>{var n=r(1702);t.exports=n(1..valueOf)},1400:(t,e,r)=>{var n=r(9303),o=Math.max,i=Math.min;t.exports=function(t,e){var r=n(t);return r<0?o(r+e,0):i(r,e)}},5656:(t,e,r)=>{var n=r(8361),o=r(4488);t.exports=function(t){return n(o(t))}},9303:(t,e,r)=>{var n=r(4758);t.exports=function(t){var e=+t;return e!=e||0===e?0:n(e)}},7466:(t,e,r)=>{var n=r(9303),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},7908:(t,e,r)=>{var n=r(4488),o=Object;t.exports=function(t){return o(n(t))}},7593:(t,e,r)=>{var n=r(6916),o=r(111),i=r(2190),a=r(8173),s=r(2140),u=r(5112),c=TypeError,f=u("toPrimitive");t.exports=function(t,e){if(!o(t)||i(t))return t;var r,u=a(t,f);if(u){if(void 0===e&&(e="default"),r=n(u,t,e),!o(r)||i(r))return r;throw c("Can't convert object to primitive value")}return void 0===e&&(e="number"),s(t,e)}},4948:(t,e,r)=>{var n=r(7593),o=r(2190);t.exports=function(t){var e=n(t,"string");return o(e)?e:e+""}},1694:(t,e,r)=>{var n={};n[r(5112)("toStringTag")]="z",t.exports="[object z]"===String(n)},1340:(t,e,r)=>{var n=r(648),o=String;t.exports=function(t){if("Symbol"===n(t))throw TypeError("Cannot convert a Symbol value to a string");return o(t)}},6330:t=>{var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},9711:(t,e,r)=>{var n=r(1702),o=0,i=Math.random(),a=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++o+i,36)}},3307:(t,e,r)=>{var n=r(6293);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3353:(t,e,r)=>{var n=r(9781),o=r(7293);t.exports=n&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},4811:(t,e,r)=>{var n=r(7854),o=r(614),i=n.WeakMap;t.exports=o(i)&&/native code/.test(String(i))},6800:(t,e,r)=>{var n=r(857),o=r(2597),i=r(6061),a=r(3070).f;t.exports=function(t){var e=n.Symbol||(n.Symbol={});o(e,t)||a(e,t,{value:i.f(t)})}},6061:(t,e,r)=>{var n=r(5112);e.f=n},5112:(t,e,r)=>{var n=r(7854),o=r(2309),i=r(2597),a=r(9711),s=r(6293),u=r(3307),c=n.Symbol,f=o("wks"),l=u?c.for||c:c&&c.withoutSetter||a;t.exports=function(t){return i(f,t)||(f[t]=s&&i(c,t)?c[t]:l("Symbol."+t)),f[t]}},1361:t=>{t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},2772:(t,e,r)=>{"use strict";var n=r(2109),o=r(1470),i=r(1318).indexOf,a=r(9341),s=o([].indexOf),u=!!s&&1/s([1],1,-0)<0;n({target:"Array",proto:!0,forced:u||!a("indexOf")},{indexOf:function(t){var e=arguments.length>1?arguments[1]:void 0;return u?s(this,t,e)||0:i(this,t,e)}})},6992:(t,e,r)=>{"use strict";var n=r(5656),o=r(1223),i=r(7497),a=r(9909),s=r(3070).f,u=r(1656),c=r(6178),f=r(1913),l=r(9781),p="Array Iterator",h=a.set,d=a.getterFor(p);t.exports=u(Array,"Array",(function(t,e){h(this,{type:p,target:n(t),index:0,kind:e})}),(function(){var t=d(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,c(void 0,!0)):c("keys"==r?n:"values"==r?e[n]:[n,e[n]],!1)}),"values");var v=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!f&&l&&"values"!==v.name)try{s(v,"name",{value:"values"})}catch(t){}},6078:(t,e,r)=>{var n=r(2597),o=r(8052),i=r(8709),a=r(5112)("toPrimitive"),s=Date.prototype;n(s,a)||o(s,a,i)},8862:(t,e,r)=>{var n=r(2109),o=r(5005),i=r(2104),a=r(6916),s=r(1702),u=r(7293),c=r(614),f=r(2190),l=r(206),p=r(8044),h=r(6293),d=String,v=o("JSON","stringify"),g=s(/./.exec),y=s("".charAt),m=s("".charCodeAt),b=s("".replace),w=s(1..toString),E=/[\uD800-\uDFFF]/g,_=/^[\uD800-\uDBFF]$/,A=/^[\uDC00-\uDFFF]$/,O=!h||u((function(){var t=o("Symbol")();return"[null]"!=v([t])||"{}"!=v({a:t})||"{}"!=v(Object(t))})),S=u((function(){return'"\\udf06\\ud834"'!==v("\udf06\ud834")||'"\\udead"'!==v("\udead")})),x=function(t,e){var r=l(arguments),n=p(e);if(c(n)||void 0!==t&&!f(t))return r[1]=function(t,e){if(c(n)&&(e=a(n,this,d(t),e)),!f(e))return e},i(v,null,r)},T=function(t,e,r){var n=y(r,e-1),o=y(r,e+1);return g(_,t)&&!g(A,o)||g(A,t)&&!g(_,n)?"\\u"+w(m(t,0),16):t};v&&n({target:"JSON",stat:!0,arity:3,forced:O||S},{stringify:function(t,e,r){var n=l(arguments),o=i(O?x:v,null,n);return S&&"string"==typeof o?b(o,E,T):o}})},9653:(t,e,r)=>{"use strict";var n=r(2109),o=r(1913),i=r(9781),a=r(7854),s=r(857),u=r(1702),c=r(4705),f=r(2597),l=r(9587),p=r(7976),h=r(2190),d=r(7593),v=r(7293),g=r(8006).f,y=r(1236).f,m=r(3070).f,b=r(863),w=r(3111).trim,E="Number",_=a[E],A=s[E],O=_.prototype,S=a.TypeError,x=u("".slice),T=u("".charCodeAt),I=function(t){var e,r,n,o,i,a,s,u,c=d(t,"number");if(h(c))throw S("Cannot convert a Symbol value to a number");if("string"==typeof c&&c.length>2)if(c=w(c),43===(e=T(c,0))||45===e){if(88===(r=T(c,2))||120===r)return NaN}else if(48===e){switch(T(c,1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+c}for(a=(i=x(c,2)).length,s=0;s<a;s++)if((u=T(i,s))<48||u>o)return NaN;return parseInt(i,n)}return+c},R=c(E,!_(" 0o1")||!_("0b1")||_("+0x1")),C=function(t){var e,r=arguments.length<1?0:_(function(t){var e=d(t,"number");return"bigint"==typeof e?e:I(e)}(t));return p(O,e=this)&&v((function(){b(e)}))?l(Object(r),this,C):r};C.prototype=O,R&&!o&&(O.constructor=C),n({global:!0,constructor:!0,wrap:!0,forced:R},{Number:C});var L=function(t,e){for(var r,n=i?g(e):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),o=0;n.length>o;o++)f(e,r=n[o])&&!f(t,r)&&m(t,r,y(e,r))};o&&A&&L(s[E],A),(R||o)&&L(s[E],_)},9601:(t,e,r)=>{var n=r(2109),o=r(1574);n({target:"Object",stat:!0,arity:2,forced:Object.assign!==o},{assign:o})},9070:(t,e,r)=>{var n=r(2109),o=r(9781),i=r(3070).f;n({target:"Object",stat:!0,forced:Object.defineProperty!==i,sham:!o},{defineProperty:i})},9660:(t,e,r)=>{var n=r(2109),o=r(6293),i=r(7293),a=r(5181),s=r(7908);n({target:"Object",stat:!0,forced:!o||i((function(){a.f(1)}))},{getOwnPropertySymbols:function(t){var e=a.f;return e?e(s(t)):[]}})},1539:(t,e,r)=>{var n=r(1694),o=r(8052),i=r(288);n||o(Object.prototype,"toString",i,{unsafe:!0})},4916:(t,e,r)=>{"use strict";var n=r(2109),o=r(2261);n({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},9714:(t,e,r)=>{"use strict";var n=r(6530).PROPER,o=r(8052),i=r(9670),a=r(1340),s=r(7293),u=r(4706),c="toString",f=RegExp.prototype[c],l=s((function(){return"/a/b"!=f.call({source:"a",flags:"b"})})),p=n&&f.name!=c;(l||p)&&o(RegExp.prototype,c,(function(){var t=i(this);return"/"+a(t.source)+"/"+a(u(t))}),{unsafe:!0})},8783:(t,e,r)=>{"use strict";var n=r(8710).charAt,o=r(1340),i=r(9909),a=r(1656),s=r(6178),u="String Iterator",c=i.set,f=i.getterFor(u);a(String,"String",(function(t){c(this,{type:u,string:o(t),index:0})}),(function(){var t,e=f(this),r=e.string,o=e.index;return o>=r.length?s(void 0,!0):(t=n(r,o),e.index+=t.length,s(t,!1))}))},5306:(t,e,r)=>{"use strict";var n=r(2104),o=r(6916),i=r(1702),a=r(7007),s=r(7293),u=r(9670),c=r(614),f=r(8554),l=r(9303),p=r(7466),h=r(1340),d=r(4488),v=r(1530),g=r(8173),y=r(647),m=r(7651),b=r(5112)("replace"),w=Math.max,E=Math.min,_=i([].concat),A=i([].push),O=i("".indexOf),S=i("".slice),x="$0"==="a".replace(/./,"$0"),T=!!/./[b]&&""===/./[b]("a","$0");a("replace",(function(t,e,r){var i=T?"$":"$0";return[function(t,r){var n=d(this),i=f(t)?void 0:g(t,b);return i?o(i,t,n,r):o(e,h(n),t,r)},function(t,o){var a=u(this),s=h(t);if("string"==typeof o&&-1===O(o,i)&&-1===O(o,"$<")){var f=r(e,a,s,o);if(f.done)return f.value}var d=c(o);d||(o=h(o));var g=a.global;if(g){var b=a.unicode;a.lastIndex=0}for(var x=[];;){var T=m(a,s);if(null===T)break;if(A(x,T),!g)break;""===h(T[0])&&(a.lastIndex=v(s,p(a.lastIndex),b))}for(var I,R="",C=0,L=0;L<x.length;L++){for(var N=h((T=x[L])[0]),P=w(E(l(T.index),s.length),0),B=[],k=1;k<T.length;k++)A(B,void 0===(I=T[k])?I:String(I));var j=T.groups;if(d){var $=_([N],B,P,s);void 0!==j&&A($,j);var U=h(n(o,void 0,$))}else U=y(N,s,P,B,j,o);P>=C&&(R+=S(s,C,P)+U,C=P+N.length)}return R+S(s,C)}]}),!!s((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!x||T)},4032:(t,e,r)=>{"use strict";var n=r(2109),o=r(7854),i=r(6916),a=r(1702),s=r(1913),u=r(9781),c=r(6293),f=r(7293),l=r(2597),p=r(7976),h=r(9670),d=r(5656),v=r(4948),g=r(1340),y=r(9114),m=r(30),b=r(1956),w=r(8006),E=r(1156),_=r(5181),A=r(1236),O=r(3070),S=r(6048),x=r(5296),T=r(8052),I=r(7045),R=r(2309),C=r(6200),L=r(3501),N=r(9711),P=r(5112),B=r(6061),k=r(6800),j=r(6532),$=r(8003),U=r(9909),M=r(2092).forEach,D=C("hidden"),F="Symbol",z="prototype",G=U.set,V=U.getterFor(F),q=Object[z],H=o.Symbol,Y=H&&H[z],X=o.TypeError,W=o.QObject,K=A.f,J=O.f,Q=E.f,Z=x.f,tt=a([].push),et=R("symbols"),rt=R("op-symbols"),nt=R("wks"),ot=!W||!W[z]||!W[z].findChild,it=u&&f((function(){return 7!=m(J({},"a",{get:function(){return J(this,"a",{value:7}).a}})).a}))?function(t,e,r){var n=K(q,e);n&&delete q[e],J(t,e,r),n&&t!==q&&J(q,e,n)}:J,at=function(t,e){var r=et[t]=m(Y);return G(r,{type:F,tag:t,description:e}),u||(r.description=e),r},st=function(t,e,r){t===q&&st(rt,e,r),h(t);var n=v(e);return h(r),l(et,n)?(r.enumerable?(l(t,D)&&t[D][n]&&(t[D][n]=!1),r=m(r,{enumerable:y(0,!1)})):(l(t,D)||J(t,D,y(1,{})),t[D][n]=!0),it(t,n,r)):J(t,n,r)},ut=function(t,e){h(t);var r=d(e),n=b(r).concat(pt(r));return M(n,(function(e){u&&!i(ct,r,e)||st(t,e,r[e])})),t},ct=function(t){var e=v(t),r=i(Z,this,e);return!(this===q&&l(et,e)&&!l(rt,e))&&(!(r||!l(this,e)||!l(et,e)||l(this,D)&&this[D][e])||r)},ft=function(t,e){var r=d(t),n=v(e);if(r!==q||!l(et,n)||l(rt,n)){var o=K(r,n);return!o||!l(et,n)||l(r,D)&&r[D][n]||(o.enumerable=!0),o}},lt=function(t){var e=Q(d(t)),r=[];return M(e,(function(t){l(et,t)||l(L,t)||tt(r,t)})),r},pt=function(t){var e=t===q,r=Q(e?rt:d(t)),n=[];return M(r,(function(t){!l(et,t)||e&&!l(q,t)||tt(n,et[t])})),n};c||(T(Y=(H=function(){if(p(Y,this))throw X("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?g(arguments[0]):void 0,e=N(t),r=function(t){this===q&&i(r,rt,t),l(this,D)&&l(this[D],e)&&(this[D][e]=!1),it(this,e,y(1,t))};return u&&ot&&it(q,e,{configurable:!0,set:r}),at(e,t)})[z],"toString",(function(){return V(this).tag})),T(H,"withoutSetter",(function(t){return at(N(t),t)})),x.f=ct,O.f=st,S.f=ut,A.f=ft,w.f=E.f=lt,_.f=pt,B.f=function(t){return at(P(t),t)},u&&(I(Y,"description",{configurable:!0,get:function(){return V(this).description}}),s||T(q,"propertyIsEnumerable",ct,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!c,sham:!c},{Symbol:H}),M(b(nt),(function(t){k(t)})),n({target:F,stat:!0,forced:!c},{useSetter:function(){ot=!0},useSimple:function(){ot=!1}}),n({target:"Object",stat:!0,forced:!c,sham:!u},{create:function(t,e){return void 0===e?m(t):ut(m(t),e)},defineProperty:st,defineProperties:ut,getOwnPropertyDescriptor:ft}),n({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:lt}),j(),$(H,F),L[D]=!0},1817:(t,e,r)=>{"use strict";var n=r(2109),o=r(9781),i=r(7854),a=r(1702),s=r(2597),u=r(614),c=r(7976),f=r(1340),l=r(7045),p=r(9920),h=i.Symbol,d=h&&h.prototype;if(o&&u(h)&&(!("description"in d)||void 0!==h().description)){var v={},g=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:f(arguments[0]),e=c(d,this)?new h(t):void 0===t?h():h(t);return""===t&&(v[e]=!0),e};p(g,h),g.prototype=d,d.constructor=g;var y="Symbol(test)"==String(h("test")),m=a(d.valueOf),b=a(d.toString),w=/^Symbol\((.*)\)[^)]+$/,E=a("".replace),_=a("".slice);l(d,"description",{configurable:!0,get:function(){var t=m(this);if(s(v,t))return"";var e=b(t),r=y?_(e,7,-1):E(e,w,"$1");return""===r?void 0:r}}),n({global:!0,constructor:!0,forced:!0},{Symbol:g})}},763:(t,e,r)=>{var n=r(2109),o=r(5005),i=r(2597),a=r(1340),s=r(2309),u=r(2015),c=s("string-to-symbol-registry"),f=s("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!u},{for:function(t){var e=a(t);if(i(c,e))return c[e];var r=o("Symbol")(e);return c[e]=r,f[r]=e,r}})},2165:(t,e,r)=>{r(6800)("iterator")},2526:(t,e,r)=>{r(4032),r(763),r(6620),r(8862),r(9660)},6620:(t,e,r)=>{var n=r(2109),o=r(2597),i=r(2190),a=r(6330),s=r(2309),u=r(2015),c=s("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!u},{keyFor:function(t){if(!i(t))throw TypeError(a(t)+" is not a symbol");if(o(c,t))return c[t]}})},6649:(t,e,r)=>{var n=r(6800),o=r(6532);n("toPrimitive"),o()},3948:(t,e,r)=>{var n=r(7854),o=r(8324),i=r(8509),a=r(6992),s=r(8880),u=r(5112),c=u("iterator"),f=u("toStringTag"),l=a.values,p=function(t,e){if(t){if(t[c]!==l)try{s(t,c,l)}catch(e){t[c]=l}if(t[f]||s(t,f,e),o[e])for(var r in a)if(t[r]!==a[r])try{s(t,r,a[r])}catch(e){t[r]=a[r]}}};for(var h in o)p(n[h]&&n[h].prototype,h);p(i,"DOMTokenList")},1039:(t,e,r)=>{"use strict";r.d(e,{Z:()=>s});var n=r(7537),o=r.n(n),i=r(3645),a=r.n(i)()(o());a.push([t.id,"\n.loading[data-v-642efee7] {\n\tmin-height: 50px;\n}\n","",{version:3,sources:["webpack://./src/components/LoginSetup.vue"],names:[],mappings:";AAiGA;CACA,gBAAA;AACA",sourcesContent:["\x3c!--\n - @copyright 2019 Christoph Wurst <christoph@winzerhof-wurst.at>\n -\n - @author 2019 Christoph Wurst <christoph@winzerhof-wurst.at>\n -\n - @license GNU AGPL version 3 or any later version\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <http://www.gnu.org/licenses/>.\n --\x3e\n\n<template>\n\t<div>\n\t\t<div v-if=\"loading\" class=\"loading\" />\n\t\t<SetupConfirmation v-else\n\t\t\t:loading=\"confirmationLoading\"\n\t\t\t:secret=\"secret\"\n\t\t\t:qr-url=\"qrUrl\"\n\t\t\t:confirmation.sync=\"confirmation\"\n\t\t\t@confirm=\"confirm\" />\n\t\t<form ref=\"confirmForm\" method=\"POST\" />\n\t</div>\n</template>\n\n<script>\nimport Logger from '../logger.js'\nimport { saveState } from '../services/StateService.js'\nimport SetupConfirmation from './SetupConfirmation.vue'\nimport STATE from '../state.js'\n\nexport default {\n\tname: 'LoginSetup',\n\tcomponents: {\n\t\tSetupConfirmation,\n\t},\n\tdata() {\n\t\treturn {\n\t\t\tloading: true,\n\t\t\tconfirmationLoading: false,\n\t\t\tsecret: '',\n\t\t\tqrUrl: '',\n\t\t\tconfirmation: '',\n\t\t}\n\t},\n\tmounted() {\n\t\tthis.load()\n\t},\n\tmethods: {\n\t\tload() {\n\t\t\tthis.loading = true\n\t\t\tLogger.info('starting TOTP setup')\n\n\t\t\tsaveState({ state: STATE.STATE_CREATED }).then(\n\t\t\t\t({ secret, qrUrl }) => {\n\t\t\t\t\tLogger.info('TOTP secret received')\n\n\t\t\t\t\tthis.secret = secret\n\t\t\t\t\tthis.qrUrl = qrUrl\n\n\t\t\t\t\tthis.loading = false\n\t\t\t\t},\n\t\t\t)\n\t\t},\n\t\tconfirm() {\n\t\t\tthis.loading = true\n\n\t\t\tsaveState({\n\t\t\t\tstate: STATE.STATE_ENABLED,\n\t\t\t\tcode: this.confirmation,\n\t\t\t}).then(({ state }) => {\n\t\t\t\tif (state === STATE.STATE_ENABLED) {\n\t\t\t\t\tLogger.info('TOTP secret confirmed')\n\n\t\t\t\t\tLogger.info('todo: submit')\n\t\t\t\t\tthis.$refs.confirmForm.submit()\n\t\t\t\t} else {\n\t\t\t\t\tLogger.warn('TOTP confirmation failed')\n\n\t\t\t\t\tthis.loading = false\n\t\t\t\t}\n\t\t\t})\n\t\t},\n\t},\n}\n<\/script>\n\n<style scoped>\n.loading {\n\tmin-height: 50px;\n}\n</style>\n"],sourceRoot:""}]);const s=a},3645:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var r="",n=void 0!==e[5];return e[4]&&(r+="@supports (".concat(e[4],") {")),e[2]&&(r+="@media ".concat(e[2]," {")),n&&(r+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),r+=t(e),n&&(r+="}"),e[2]&&(r+="}"),e[4]&&(r+="}"),r})).join("")},e.i=function(t,r,n,o,i){"string"==typeof t&&(t=[[null,t,void 0]]);var a={};if(n)for(var s=0;s<this.length;s++){var u=this[s][0];null!=u&&(a[u]=!0)}for(var c=0;c<t.length;c++){var f=[].concat(t[c]);n&&a[f[0]]||(void 0!==i&&(void 0===f[5]||(f[1]="@layer".concat(f[5].length>0?" ".concat(f[5]):""," {").concat(f[1],"}")),f[5]=i),r&&(f[2]?(f[1]="@media ".concat(f[2]," {").concat(f[1],"}"),f[2]=r):f[2]=r),o&&(f[4]?(f[1]="@supports (".concat(f[4],") {").concat(f[1],"}"),f[4]=o):f[4]="".concat(o)),e.push(f))}},e}},7537:t=>{"use strict";t.exports=function(t){var e=t[1],r=t[3];if(!r)return e;if("function"==typeof btoa){var n=btoa(unescape(encodeURIComponent(JSON.stringify(r)))),o="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(n),i="/*# ".concat(o," */");return[e].concat([i]).join("\n")}return[e].join("\n")}},645:(t,e)=>{e.read=function(t,e,r,n,o){var i,a,s=8*o-n-1,u=(1<<s)-1,c=u>>1,f=-7,l=r?o-1:0,p=r?-1:1,h=t[e+l];for(l+=p,i=h&(1<<-f)-1,h>>=-f,f+=s;f>0;i=256*i+t[e+l],l+=p,f-=8);for(a=i&(1<<-f)-1,i>>=-f,f+=n;f>0;a=256*a+t[e+l],l+=p,f-=8);if(0===i)i=1-c;else{if(i===u)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,n),i-=c}return(h?-1:1)*a*Math.pow(2,i-n)},e.write=function(t,e,r,n,o,i){var a,s,u,c=8*i-o-1,f=(1<<c)-1,l=f>>1,p=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,h=n?0:i-1,d=n?1:-1,v=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=f):(a=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-a))<1&&(a--,u*=2),(e+=a+l>=1?p/u:p*Math.pow(2,1-l))*u>=2&&(a++,u/=2),a+l>=f?(s=0,a=f):a+l>=1?(s=(e*u-1)*Math.pow(2,o),a+=l):(s=e*Math.pow(2,l-1)*Math.pow(2,o),a=0));o>=8;t[r+h]=255&s,h+=d,s/=256,o-=8);for(a=a<<o|s,c+=o;c>0;t[r+h]=255&a,h+=d,a/=256,c-=8);t[r+h-d]|=128*v}},4155:t=>{var e,r,n=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function a(t){if(e===setTimeout)return setTimeout(t,0);if((e===o||!e)&&setTimeout)return e=setTimeout,setTimeout(t,0);try{return e(t,0)}catch(r){try{return e.call(null,t,0)}catch(r){return e.call(this,t,0)}}}!function(){try{e="function"==typeof setTimeout?setTimeout:o}catch(t){e=o}try{r="function"==typeof clearTimeout?clearTimeout:i}catch(t){r=i}}();var s,u=[],c=!1,f=-1;function l(){c&&s&&(c=!1,s.length?u=s.concat(u):f=-1,u.length&&p())}function p(){if(!c){var t=a(l);c=!0;for(var e=u.length;e;){for(s=u,u=[];++f<e;)s&&s[f].run();f=-1,e=u.length}s=null,c=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===i||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{return r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function h(t,e){this.fun=t,this.array=e}function d(){}n.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];u.push(new h(t,e)),1!==u.length||c||a(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=d,n.addListener=d,n.once=d,n.off=d,n.removeListener=d,n.removeAllListeners=d,n.emit=d,n.prependListener=d,n.prependOnceListener=d,n.listeners=function(t){return[]},n.binding=function(t){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(t){throw new Error("process.chdir is not supported")},n.umask=function(){return 0}},3379:t=>{"use strict";var e=[];function r(t){for(var r=-1,n=0;n<e.length;n++)if(e[n].identifier===t){r=n;break}return r}function n(t,n){for(var i={},a=[],s=0;s<t.length;s++){var u=t[s],c=n.base?u[0]+n.base:u[0],f=i[c]||0,l="".concat(c," ").concat(f);i[c]=f+1;var p=r(l),h={css:u[1],media:u[2],sourceMap:u[3],supports:u[4],layer:u[5]};if(-1!==p)e[p].references++,e[p].updater(h);else{var d=o(h,n);n.byIndex=s,e.splice(s,0,{identifier:l,updater:d,references:1})}a.push(l)}return a}function o(t,e){var r=e.domAPI(e);r.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;r.update(t=e)}else r.remove()}}t.exports=function(t,o){var i=n(t=t||[],o=o||{});return function(t){t=t||[];for(var a=0;a<i.length;a++){var s=r(i[a]);e[s].references--}for(var u=n(t,o),c=0;c<i.length;c++){var f=r(i[c]);0===e[f].references&&(e[f].updater(),e.splice(f,1))}i=u}}},569:t=>{"use strict";var e={};t.exports=function(t,r){var n=function(t){if(void 0===e[t]){var r=document.querySelector(t);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(t){r=null}e[t]=r}return e[t]}(t);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(r)}},9216:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},3565:(t,e,r)=>{"use strict";t.exports=function(t){var e=r.nc;e&&t.setAttribute("nonce",e)}},7795:t=>{"use strict";t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=t.insertStyleElement(t);return{update:function(r){!function(t,e,r){var n="";r.supports&&(n+="@supports (".concat(r.supports,") {")),r.media&&(n+="@media ".concat(r.media," {"));var o=void 0!==r.layer;o&&(n+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),n+=r.css,o&&(n+="}"),r.media&&(n+="}"),r.supports&&(n+="}");var i=r.sourceMap;i&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleTagTransform(n,t,e.options)}(e,t,r)},remove:function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(e)}}}},4589:t=>{"use strict";t.exports=function(t,e){if(e.styleSheet)e.styleSheet.cssText=t;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(t))}}},7888:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(7907),o=r(2426);function i(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var a=i(n),s=i(o),u=function(){function t(t){"function"==typeof t.getVersion&&a.default(t.getVersion())?s.default(t.getVersion())!==s.default(this.getVersion())&&console.warn("Proxying an event bus of version "+t.getVersion()+" with "+this.getVersion()):console.warn("Proxying an event bus with an unknown or invalid version"),this.bus=t}return t.prototype.getVersion=function(){return"3.1.0"},t.prototype.subscribe=function(t,e){this.bus.subscribe(t,e)},t.prototype.unsubscribe=function(t,e){this.bus.unsubscribe(t,e)},t.prototype.emit=function(t,e){this.bus.emit(t,e)},t}(),c=function(){function t(){this.handlers=new Map}return t.prototype.getVersion=function(){return"3.1.0"},t.prototype.subscribe=function(t,e){this.handlers.set(t,(this.handlers.get(t)||[]).concat(e))},t.prototype.unsubscribe=function(t,e){this.handlers.set(t,(this.handlers.get(t)||[]).filter((function(t){return t!=e})))},t.prototype.emit=function(t,e){(this.handlers.get(t)||[]).forEach((function(t){try{t(e)}catch(t){console.error("could not invoke event listener",t)}}))},t}(),f=null;function l(){return null!==f?f:"undefined"==typeof window?new Proxy({},{get:function(){return function(){return console.error("Window not available, EventBus can not be established!")}}}):(void 0!==window.OC&&window.OC._eventBus&&void 0===window._nc_event_bus&&(console.warn("found old event bus instance at OC._eventBus. Update your version!"),window._nc_event_bus=window.OC._eventBus),f=void 0!==(null===window||void 0===window?void 0:window._nc_event_bus)?new u(window._nc_event_bus):window._nc_event_bus=new c)}e.ProxyBus=u,e.SimpleBus=c,e.emit=function(t,e){l().emit(t,e)},e.subscribe=function(t,e){l().subscribe(t,e)},e.unsubscribe=function(t,e){l().unsubscribe(t,e)}}},r={};function n(t){var o=r[t];if(void 0!==o)return o.exports;var i=r[t]={id:t,exports:{}};return e[t].call(i.exports,i,i.exports,n),i.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.nc=void 0,(()=>{"use strict";var e={};n.r(e),n.d(e,{hasBrowserEnv:()=>ja,hasStandardBrowserEnv:()=>$a,hasStandardBrowserWebWorkerEnv:()=>Ma});var r=Object.freeze({}),o=Array.isArray;function i(t){return null==t}function a(t){return null!=t}function s(t){return!0===t}function u(t){return"string"==typeof t||"number"==typeof t||"symbol"==typeof t||"boolean"==typeof t}function c(t){return"function"==typeof t}function f(t){return null!==t&&"object"==typeof t}var l=Object.prototype.toString;function p(t){return"[object Object]"===l.call(t)}function h(t){return"[object RegExp]"===l.call(t)}function d(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function v(t){return a(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function g(t){return null==t?"":Array.isArray(t)||p(t)&&t.toString===l?JSON.stringify(t,y,2):String(t)}function y(t,e){return e&&e.__v_isRef?e.value:e}function m(t){var e=parseFloat(t);return isNaN(e)?t:e}function b(t,e){for(var r=Object.create(null),n=t.split(","),o=0;o<n.length;o++)r[n[o]]=!0;return e?function(t){return r[t.toLowerCase()]}:function(t){return r[t]}}b("slot,component",!0);var w=b("key,ref,slot,slot-scope,is");function E(t,e){var r=t.length;if(r){if(e===t[r-1])return void(t.length=r-1);var n=t.indexOf(e);if(n>-1)return t.splice(n,1)}}var _=Object.prototype.hasOwnProperty;function A(t,e){return _.call(t,e)}function O(t){var e=Object.create(null);return function(r){return e[r]||(e[r]=t(r))}}var S=/-(\w)/g,x=O((function(t){return t.replace(S,(function(t,e){return e?e.toUpperCase():""}))})),T=O((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),I=/\B([A-Z])/g,R=O((function(t){return t.replace(I,"-$1").toLowerCase()}));var C=Function.prototype.bind?function(t,e){return t.bind(e)}:function(t,e){function r(r){var n=arguments.length;return n?n>1?t.apply(e,arguments):t.call(e,r):t.call(e)}return r._length=t.length,r};function L(t,e){e=e||0;for(var r=t.length-e,n=new Array(r);r--;)n[r]=t[r+e];return n}function N(t,e){for(var r in e)t[r]=e[r];return t}function P(t){for(var e={},r=0;r<t.length;r++)t[r]&&N(e,t[r]);return e}function B(t,e,r){}var k=function(t,e,r){return!1},j=function(t){return t};function $(t,e){if(t===e)return!0;var r=f(t),n=f(e);if(!r||!n)return!r&&!n&&String(t)===String(e);try{var o=Array.isArray(t),i=Array.isArray(e);if(o&&i)return t.length===e.length&&t.every((function(t,r){return $(t,e[r])}));if(t instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();if(o||i)return!1;var a=Object.keys(t),s=Object.keys(e);return a.length===s.length&&a.every((function(r){return $(t[r],e[r])}))}catch(t){return!1}}function U(t,e){for(var r=0;r<t.length;r++)if($(t[r],e))return r;return-1}function M(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}function D(t,e){return t===e?0===t&&1/t!=1/e:t==t||e==e}var F="data-server-rendered",z=["component","directive","filter"],G=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch","renderTracked","renderTriggered"],V={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:k,isReservedAttr:k,isUnknownElement:k,getTagNamespace:B,parsePlatformTagName:j,mustUseProp:k,async:!0,_lifecycleHooks:G},q=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function H(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function Y(t,e,r,n){Object.defineProperty(t,e,{value:r,enumerable:!!n,writable:!0,configurable:!0})}var X=new RegExp("[^".concat(q.source,".$_\\d]"));var W="__proto__"in{},K="undefined"!=typeof window,J=K&&window.navigator.userAgent.toLowerCase(),Q=J&&/msie|trident/.test(J),Z=J&&J.indexOf("msie 9.0")>0,tt=J&&J.indexOf("edge/")>0;J&&J.indexOf("android");var et=J&&/iphone|ipad|ipod|ios/.test(J);J&&/chrome\/\d+/.test(J),J&&/phantomjs/.test(J);var rt,nt=J&&J.match(/firefox\/(\d+)/),ot={}.watch,it=!1;if(K)try{var at={};Object.defineProperty(at,"passive",{get:function(){it=!0}}),window.addEventListener("test-passive",null,at)}catch(t){}var st=function(){return void 0===rt&&(rt=!K&&void 0!==n.g&&(n.g.process&&"server"===n.g.process.env.VUE_ENV)),rt},ut=K&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ct(t){return"function"==typeof t&&/native code/.test(t.toString())}var ft,lt="undefined"!=typeof Symbol&&ct(Symbol)&&"undefined"!=typeof Reflect&&ct(Reflect.ownKeys);ft="undefined"!=typeof Set&&ct(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var pt=null;function ht(t){void 0===t&&(t=null),t||pt&&pt._scope.off(),pt=t,t&&t._scope.on()}var dt=function(){function t(t,e,r,n,o,i,a,s){this.tag=t,this.data=e,this.children=r,this.text=n,this.elm=o,this.ns=void 0,this.context=i,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=e&&e.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(t.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),t}(),vt=function(t){void 0===t&&(t="");var e=new dt;return e.text=t,e.isComment=!0,e};function gt(t){return new dt(void 0,void 0,void 0,String(t))}function yt(t){var e=new dt(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}"function"==typeof SuppressedError&&SuppressedError;var mt=0,bt=[],wt=function(){for(var t=0;t<bt.length;t++){var e=bt[t];e.subs=e.subs.filter((function(t){return t})),e._pending=!1}bt.length=0},Et=function(){function t(){this._pending=!1,this.id=mt++,this.subs=[]}return t.prototype.addSub=function(t){this.subs.push(t)},t.prototype.removeSub=function(t){this.subs[this.subs.indexOf(t)]=null,this._pending||(this._pending=!0,bt.push(this))},t.prototype.depend=function(e){t.target&&t.target.addDep(this)},t.prototype.notify=function(t){var e=this.subs.filter((function(t){return t}));for(var r=0,n=e.length;r<n;r++){0,e[r].update()}},t}();Et.target=null;var _t=[];function At(t){_t.push(t),Et.target=t}function Ot(){_t.pop(),Et.target=_t[_t.length-1]}var St=Array.prototype,xt=Object.create(St);["push","pop","shift","unshift","splice","sort","reverse"].forEach((function(t){var e=St[t];Y(xt,t,(function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var o,i=e.apply(this,r),a=this.__ob__;switch(t){case"push":case"unshift":o=r;break;case"splice":o=r.slice(2)}return o&&a.observeArray(o),a.dep.notify(),i}))}));var Tt=Object.getOwnPropertyNames(xt),It={},Rt=!0;function Ct(t){Rt=t}var Lt={notify:B,depend:B,addSub:B,removeSub:B},Nt=function(){function t(t,e,r){if(void 0===e&&(e=!1),void 0===r&&(r=!1),this.value=t,this.shallow=e,this.mock=r,this.dep=r?Lt:new Et,this.vmCount=0,Y(t,"__ob__",this),o(t)){if(!r)if(W)t.__proto__=xt;else for(var n=0,i=Tt.length;n<i;n++){Y(t,s=Tt[n],xt[s])}e||this.observeArray(t)}else{var a=Object.keys(t);for(n=0;n<a.length;n++){var s;Bt(t,s=a[n],It,void 0,e,r)}}}return t.prototype.observeArray=function(t){for(var e=0,r=t.length;e<r;e++)Pt(t[e],!1,this.mock)},t}();function Pt(t,e,r){return t&&A(t,"__ob__")&&t.__ob__ instanceof Nt?t.__ob__:!Rt||!r&&st()||!o(t)&&!p(t)||!Object.isExtensible(t)||t.__v_skip||Ft(t)||t instanceof dt?void 0:new Nt(t,e,r)}function Bt(t,e,r,n,i,a,s){void 0===s&&(s=!1);var u=new Et,c=Object.getOwnPropertyDescriptor(t,e);if(!c||!1!==c.configurable){var f=c&&c.get,l=c&&c.set;f&&!l||r!==It&&2!==arguments.length||(r=t[e]);var p=i?r&&r.__ob__:Pt(r,!1,a);return Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=f?f.call(t):r;return Et.target&&(u.depend(),p&&(p.dep.depend(),o(e)&&$t(e))),Ft(e)&&!i?e.value:e},set:function(e){var n=f?f.call(t):r;if(D(n,e)){if(l)l.call(t,e);else{if(f)return;if(!i&&Ft(n)&&!Ft(e))return void(n.value=e);r=e}p=i?e&&e.__ob__:Pt(e,!1,a),u.notify()}}}),u}}function kt(t,e,r){if(!Dt(t)){var n=t.__ob__;return o(t)&&d(e)?(t.length=Math.max(t.length,e),t.splice(e,1,r),n&&!n.shallow&&n.mock&&Pt(r,!1,!0),r):e in t&&!(e in Object.prototype)?(t[e]=r,r):t._isVue||n&&n.vmCount?r:n?(Bt(n.value,e,r,void 0,n.shallow,n.mock),n.dep.notify(),r):(t[e]=r,r)}}function jt(t,e){if(o(t)&&d(e))t.splice(e,1);else{var r=t.__ob__;t._isVue||r&&r.vmCount||Dt(t)||A(t,e)&&(delete t[e],r&&r.dep.notify())}}function $t(t){for(var e=void 0,r=0,n=t.length;r<n;r++)(e=t[r])&&e.__ob__&&e.__ob__.dep.depend(),o(e)&&$t(e)}function Ut(t){return Mt(t,!0),Y(t,"__v_isShallow",!0),t}function Mt(t,e){if(!Dt(t)){Pt(t,e,st());0}}function Dt(t){return!(!t||!t.__v_isReadonly)}function Ft(t){return!(!t||!0!==t.__v_isRef)}function zt(t,e,r){Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:function(){var t=e[r];if(Ft(t))return t.value;var n=t&&t.__ob__;return n&&n.dep.depend(),t},set:function(t){var n=e[r];Ft(n)&&!Ft(t)?n.value=t:e[r]=t}})}var Gt="watcher";"".concat(Gt," callback"),"".concat(Gt," getter"),"".concat(Gt," cleanup");var Vt;var qt=function(){function t(t){void 0===t&&(t=!1),this.detached=t,this.active=!0,this.effects=[],this.cleanups=[],this.parent=Vt,!t&&Vt&&(this.index=(Vt.scopes||(Vt.scopes=[])).push(this)-1)}return t.prototype.run=function(t){if(this.active){var e=Vt;try{return Vt=this,t()}finally{Vt=e}}else 0},t.prototype.on=function(){Vt=this},t.prototype.off=function(){Vt=this.parent},t.prototype.stop=function(t){if(this.active){var e=void 0,r=void 0;for(e=0,r=this.effects.length;e<r;e++)this.effects[e].teardown();for(e=0,r=this.cleanups.length;e<r;e++)this.cleanups[e]();if(this.scopes)for(e=0,r=this.scopes.length;e<r;e++)this.scopes[e].stop(!0);if(!this.detached&&this.parent&&!t){var n=this.parent.scopes.pop();n&&n!==this&&(this.parent.scopes[this.index]=n,n.index=this.index)}this.parent=void 0,this.active=!1}},t}();function Ht(t){var e=t._provided,r=t.$parent&&t.$parent._provided;return r===e?t._provided=Object.create(r):e}var Yt=O((function(t){var e="&"===t.charAt(0),r="~"===(t=e?t.slice(1):t).charAt(0),n="!"===(t=r?t.slice(1):t).charAt(0);return{name:t=n?t.slice(1):t,once:r,capture:n,passive:e}}));function Xt(t,e){function r(){var t=r.fns;if(!o(t))return Be(t,null,arguments,e,"v-on handler");for(var n=t.slice(),i=0;i<n.length;i++)Be(n[i],null,arguments,e,"v-on handler")}return r.fns=t,r}function Wt(t,e,r,n,o,a){var u,c,f,l;for(u in t)c=t[u],f=e[u],l=Yt(u),i(c)||(i(f)?(i(c.fns)&&(c=t[u]=Xt(c,a)),s(l.once)&&(c=t[u]=o(l.name,c,l.capture)),r(l.name,c,l.capture,l.passive,l.params)):c!==f&&(f.fns=c,t[u]=f));for(u in e)i(t[u])&&n((l=Yt(u)).name,e[u],l.capture)}function Kt(t,e,r){var n;t instanceof dt&&(t=t.data.hook||(t.data.hook={}));var o=t[e];function u(){r.apply(this,arguments),E(n.fns,u)}i(o)?n=Xt([u]):a(o.fns)&&s(o.merged)?(n=o).fns.push(u):n=Xt([o,u]),n.merged=!0,t[e]=n}function Jt(t,e,r,n,o){if(a(e)){if(A(e,r))return t[r]=e[r],o||delete e[r],!0;if(A(e,n))return t[r]=e[n],o||delete e[n],!0}return!1}function Qt(t){return u(t)?[gt(t)]:o(t)?te(t):void 0}function Zt(t){return a(t)&&a(t.text)&&!1===t.isComment}function te(t,e){var r,n,c,f,l=[];for(r=0;r<t.length;r++)i(n=t[r])||"boolean"==typeof n||(f=l[c=l.length-1],o(n)?n.length>0&&(Zt((n=te(n,"".concat(e||"","_").concat(r)))[0])&&Zt(f)&&(l[c]=gt(f.text+n[0].text),n.shift()),l.push.apply(l,n)):u(n)?Zt(f)?l[c]=gt(f.text+n):""!==n&&l.push(gt(n)):Zt(n)&&Zt(f)?l[c]=gt(f.text+n.text):(s(t._isVList)&&a(n.tag)&&i(n.key)&&a(e)&&(n.key="__vlist".concat(e,"_").concat(r,"__")),l.push(n)));return l}function ee(t,e){var r,n,i,s,u=null;if(o(t)||"string"==typeof t)for(u=new Array(t.length),r=0,n=t.length;r<n;r++)u[r]=e(t[r],r);else if("number"==typeof t)for(u=new Array(t),r=0;r<t;r++)u[r]=e(r+1,r);else if(f(t))if(lt&&t[Symbol.iterator]){u=[];for(var c=t[Symbol.iterator](),l=c.next();!l.done;)u.push(e(l.value,u.length)),l=c.next()}else for(i=Object.keys(t),u=new Array(i.length),r=0,n=i.length;r<n;r++)s=i[r],u[r]=e(t[s],s,r);return a(u)||(u=[]),u._isVList=!0,u}function re(t,e,r,n){var o,i=this.$scopedSlots[t];i?(r=r||{},n&&(r=N(N({},n),r)),o=i(r)||(c(e)?e():e)):o=this.$slots[t]||(c(e)?e():e);var a=r&&r.slot;return a?this.$createElement("template",{slot:a},o):o}function ne(t){return Mr(this.$options,"filters",t,!0)||j}function oe(t,e){return o(t)?-1===t.indexOf(e):t!==e}function ie(t,e,r,n,o){var i=V.keyCodes[e]||r;return o&&n&&!V.keyCodes[e]?oe(o,n):i?oe(i,t):n?R(n)!==e:void 0===t}function ae(t,e,r,n,i){if(r)if(f(r)){o(r)&&(r=P(r));var a=void 0,s=function(o){if("class"===o||"style"===o||w(o))a=t;else{var s=t.attrs&&t.attrs.type;a=n||V.mustUseProp(e,s,o)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={})}var u=x(o),c=R(o);u in a||c in a||(a[o]=r[o],i&&((t.on||(t.on={}))["update:".concat(o)]=function(t){r[o]=t}))};for(var u in r)s(u)}else;return t}function se(t,e){var r=this._staticTrees||(this._staticTrees=[]),n=r[t];return n&&!e||ce(n=r[t]=this.$options.staticRenderFns[t].call(this._renderProxy,this._c,this),"__static__".concat(t),!1),n}function ue(t,e,r){return ce(t,"__once__".concat(e).concat(r?"_".concat(r):""),!0),t}function ce(t,e,r){if(o(t))for(var n=0;n<t.length;n++)t[n]&&"string"!=typeof t[n]&&fe(t[n],"".concat(e,"_").concat(n),r);else fe(t,e,r)}function fe(t,e,r){t.isStatic=!0,t.key=e,t.isOnce=r}function le(t,e){if(e)if(p(e)){var r=t.on=t.on?N({},t.on):{};for(var n in e){var o=r[n],i=e[n];r[n]=o?[].concat(o,i):i}}else;return t}function pe(t,e,r,n){e=e||{$stable:!r};for(var i=0;i<t.length;i++){var a=t[i];o(a)?pe(a,e,r):a&&(a.proxy&&(a.fn.proxy=!0),e[a.key]=a.fn)}return n&&(e.$key=n),e}function he(t,e){for(var r=0;r<e.length;r+=2){var n=e[r];"string"==typeof n&&n&&(t[e[r]]=e[r+1])}return t}function de(t,e){return"string"==typeof t?e+t:t}function ve(t){t._o=ue,t._n=m,t._s=g,t._l=ee,t._t=re,t._q=$,t._i=U,t._m=se,t._f=ne,t._k=ie,t._b=ae,t._v=gt,t._e=vt,t._u=pe,t._g=le,t._d=he,t._p=de}function ge(t,e){if(!t||!t.length)return{};for(var r={},n=0,o=t.length;n<o;n++){var i=t[n],a=i.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,i.context!==e&&i.fnContext!==e||!a||null==a.slot)(r.default||(r.default=[])).push(i);else{var s=a.slot,u=r[s]||(r[s]=[]);"template"===i.tag?u.push.apply(u,i.children||[]):u.push(i)}}for(var c in r)r[c].every(ye)&&delete r[c];return r}function ye(t){return t.isComment&&!t.asyncFactory||" "===t.text}function me(t){return t.isComment&&t.asyncFactory}function be(t,e,n,o){var i,a=Object.keys(n).length>0,s=e?!!e.$stable:!a,u=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(s&&o&&o!==r&&u===o.$key&&!a&&!o.$hasNormal)return o;for(var c in i={},e)e[c]&&"$"!==c[0]&&(i[c]=we(t,n,c,e[c]))}else i={};for(var f in n)f in i||(i[f]=Ee(n,f));return e&&Object.isExtensible(e)&&(e._normalized=i),Y(i,"$stable",s),Y(i,"$key",u),Y(i,"$hasNormal",a),i}function we(t,e,r,n){var i=function(){var e=pt;ht(t);var r=arguments.length?n.apply(null,arguments):n({}),i=(r=r&&"object"==typeof r&&!o(r)?[r]:Qt(r))&&r[0];return ht(e),r&&(!i||1===r.length&&i.isComment&&!me(i))?void 0:r};return n.proxy&&Object.defineProperty(e,r,{get:i,enumerable:!0,configurable:!0}),i}function Ee(t,e){return function(){return t[e]}}function _e(t){return{get attrs(){if(!t._attrsProxy){var e=t._attrsProxy={};Y(e,"_v_attr_proxy",!0),Ae(e,t.$attrs,r,t,"$attrs")}return t._attrsProxy},get listeners(){t._listenersProxy||Ae(t._listenersProxy={},t.$listeners,r,t,"$listeners");return t._listenersProxy},get slots(){return function(t){t._slotsProxy||Se(t._slotsProxy={},t.$scopedSlots);return t._slotsProxy}(t)},emit:C(t.$emit,t),expose:function(e){e&&Object.keys(e).forEach((function(r){return zt(t,e,r)}))}}}function Ae(t,e,r,n,o){var i=!1;for(var a in e)a in t?e[a]!==r[a]&&(i=!0):(i=!0,Oe(t,a,n,o));for(var a in t)a in e||(i=!0,delete t[a]);return i}function Oe(t,e,r,n){Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){return r[n][e]}})}function Se(t,e){for(var r in e)t[r]=e[r];for(var r in t)r in e||delete t[r]}var xe=null;function Te(t,e){return(t.__esModule||lt&&"Module"===t[Symbol.toStringTag])&&(t=t.default),f(t)?e.extend(t):t}function Ie(t){if(o(t))for(var e=0;e<t.length;e++){var r=t[e];if(a(r)&&(a(r.componentOptions)||me(r)))return r}}var Re=1,Ce=2;function Le(t,e,r,n,i,l){return(o(r)||u(r))&&(i=n,n=r,r=void 0),s(l)&&(i=Ce),function(t,e,r,n,i){if(a(r)&&a(r.__ob__))return vt();a(r)&&a(r.is)&&(e=r.is);if(!e)return vt();0;o(n)&&c(n[0])&&((r=r||{}).scopedSlots={default:n[0]},n.length=0);i===Ce?n=Qt(n):i===Re&&(n=function(t){for(var e=0;e<t.length;e++)if(o(t[e]))return Array.prototype.concat.apply([],t);return t}(n));var s,u;if("string"==typeof e){var l=void 0;u=t.$vnode&&t.$vnode.ns||V.getTagNamespace(e),s=V.isReservedTag(e)?new dt(V.parsePlatformTagName(e),r,n,void 0,void 0,t):r&&r.pre||!a(l=Mr(t.$options,"components",e))?new dt(e,r,n,void 0,void 0,t):Rr(l,r,t,n,e)}else s=Rr(e,r,t,n);return o(s)?s:a(s)?(a(u)&&Ne(s,u),a(r)&&function(t){f(t.style)&&We(t.style);f(t.class)&&We(t.class)}(r),s):vt()}(t,e,r,n,i)}function Ne(t,e,r){if(t.ns=e,"foreignObject"===t.tag&&(e=void 0,r=!0),a(t.children))for(var n=0,o=t.children.length;n<o;n++){var u=t.children[n];a(u.tag)&&(i(u.ns)||s(r)&&"svg"!==u.tag)&&Ne(u,e,r)}}function Pe(t,e,r){At();try{if(e)for(var n=e;n=n.$parent;){var o=n.$options.errorCaptured;if(o)for(var i=0;i<o.length;i++)try{if(!1===o[i].call(n,t,e,r))return}catch(t){ke(t,n,"errorCaptured hook")}}ke(t,e,r)}finally{Ot()}}function Be(t,e,r,n,o){var i;try{(i=r?t.apply(e,r):t.call(e))&&!i._isVue&&v(i)&&!i._handled&&(i.catch((function(t){return Pe(t,n,o+" (Promise/async)")})),i._handled=!0)}catch(t){Pe(t,n,o)}return i}function ke(t,e,r){if(V.errorHandler)try{return V.errorHandler.call(null,t,e,r)}catch(e){e!==t&&je(e,null,"config.errorHandler")}je(t,e,r)}function je(t,e,r){if(!K||"undefined"==typeof console)throw t;console.error(t)}var $e,Ue=!1,Me=[],De=!1;function Fe(){De=!1;var t=Me.slice(0);Me.length=0;for(var e=0;e<t.length;e++)t[e]()}if("undefined"!=typeof Promise&&ct(Promise)){var ze=Promise.resolve();$e=function(){ze.then(Fe),et&&setTimeout(B)},Ue=!0}else if(Q||"undefined"==typeof MutationObserver||!ct(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())$e="undefined"!=typeof setImmediate&&ct(setImmediate)?function(){setImmediate(Fe)}:function(){setTimeout(Fe,0)};else{var Ge=1,Ve=new MutationObserver(Fe),qe=document.createTextNode(String(Ge));Ve.observe(qe,{characterData:!0}),$e=function(){Ge=(Ge+1)%2,qe.data=String(Ge)},Ue=!0}function He(t,e){var r;if(Me.push((function(){if(t)try{t.call(e)}catch(t){Pe(t,e,"nextTick")}else r&&r(e)})),De||(De=!0,$e()),!t&&"undefined"!=typeof Promise)return new Promise((function(t){r=t}))}function Ye(t){return function(e,r){if(void 0===r&&(r=pt),r)return function(t,e,r){var n=t.$options;n[e]=kr(n[e],r)}(r,t,e)}}Ye("beforeMount"),Ye("mounted"),Ye("beforeUpdate"),Ye("updated"),Ye("beforeDestroy"),Ye("destroyed"),Ye("activated"),Ye("deactivated"),Ye("serverPrefetch"),Ye("renderTracked"),Ye("renderTriggered"),Ye("errorCaptured");var Xe=new ft;function We(t){return Ke(t,Xe),Xe.clear(),t}function Ke(t,e){var r,n,i=o(t);if(!(!i&&!f(t)||t.__v_skip||Object.isFrozen(t)||t instanceof dt)){if(t.__ob__){var a=t.__ob__.dep.id;if(e.has(a))return;e.add(a)}if(i)for(r=t.length;r--;)Ke(t[r],e);else if(Ft(t))Ke(t.value,e);else for(r=(n=Object.keys(t)).length;r--;)Ke(t[n[r]],e)}}var Je,Qe=0,Ze=function(){function t(t,e,r,n,o){var i,a;i=this,void 0===(a=Vt&&!Vt._vm?Vt:t?t._scope:void 0)&&(a=Vt),a&&a.active&&a.effects.push(i),(this.vm=t)&&o&&(t._watcher=this),n?(this.deep=!!n.deep,this.user=!!n.user,this.lazy=!!n.lazy,this.sync=!!n.sync,this.before=n.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=r,this.id=++Qe,this.active=!0,this.post=!1,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ft,this.newDepIds=new ft,this.expression="",c(e)?this.getter=e:(this.getter=function(t){if(!X.test(t)){var e=t.split(".");return function(t){for(var r=0;r<e.length;r++){if(!t)return;t=t[e[r]]}return t}}}(e),this.getter||(this.getter=B)),this.value=this.lazy?void 0:this.get()}return t.prototype.get=function(){var t;At(this);var e=this.vm;try{t=this.getter.call(e,e)}catch(t){if(!this.user)throw t;Pe(t,e,'getter for watcher "'.concat(this.expression,'"'))}finally{this.deep&&We(t),Ot(),this.cleanupDeps()}return t},t.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},t.prototype.cleanupDeps=function(){for(var t=this.deps.length;t--;){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var r=this.depIds;this.depIds=this.newDepIds,this.newDepIds=r,this.newDepIds.clear(),r=this.deps,this.deps=this.newDeps,this.newDeps=r,this.newDeps.length=0},t.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():Er(this)},t.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||f(t)||this.deep){var e=this.value;if(this.value=t,this.user){var r='callback for watcher "'.concat(this.expression,'"');Be(this.cb,this.vm,[t,e],this.vm,r)}else this.cb.call(this.vm,t,e)}}},t.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},t.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},t.prototype.teardown=function(){if(this.vm&&!this.vm._isBeingDestroyed&&E(this.vm._scope.effects,this),this.active){for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1,this.onStop&&this.onStop()}},t}();function tr(t,e){Je.$on(t,e)}function er(t,e){Je.$off(t,e)}function rr(t,e){var r=Je;return function n(){null!==e.apply(null,arguments)&&r.$off(t,n)}}function nr(t,e,r){Je=t,Wt(e,r||{},tr,er,rr,t),Je=void 0}var or=null;function ir(t){var e=or;return or=t,function(){or=e}}function ar(t){for(;t&&(t=t.$parent);)if(t._inactive)return!0;return!1}function sr(t,e){if(e){if(t._directInactive=!1,ar(t))return}else if(t._directInactive)return;if(t._inactive||null===t._inactive){t._inactive=!1;for(var r=0;r<t.$children.length;r++)sr(t.$children[r]);cr(t,"activated")}}function ur(t,e){if(!(e&&(t._directInactive=!0,ar(t))||t._inactive)){t._inactive=!0;for(var r=0;r<t.$children.length;r++)ur(t.$children[r]);cr(t,"deactivated")}}function cr(t,e,r,n){void 0===n&&(n=!0),At();var o=pt,i=Vt;n&&ht(t);var a=t.$options[e],s="".concat(e," hook");if(a)for(var u=0,c=a.length;u<c;u++)Be(a[u],t,r||null,t,s);t._hasHookEvent&&t.$emit("hook:"+e),n&&(ht(o),i&&i.on()),Ot()}var fr=[],lr=[],pr={},hr=!1,dr=!1,vr=0;var gr=0,yr=Date.now;if(K&&!Q){var mr=window.performance;mr&&"function"==typeof mr.now&&yr()>document.createEvent("Event").timeStamp&&(yr=function(){return mr.now()})}var br=function(t,e){if(t.post){if(!e.post)return 1}else if(e.post)return-1;return t.id-e.id};function wr(){var t,e;for(gr=yr(),dr=!0,fr.sort(br),vr=0;vr<fr.length;vr++)(t=fr[vr]).before&&t.before(),e=t.id,pr[e]=null,t.run();var r=lr.slice(),n=fr.slice();vr=fr.length=lr.length=0,pr={},hr=dr=!1,function(t){for(var e=0;e<t.length;e++)t[e]._inactive=!0,sr(t[e],!0)}(r),function(t){var e=t.length;for(;e--;){var r=t[e],n=r.vm;n&&n._watcher===r&&n._isMounted&&!n._isDestroyed&&cr(n,"updated")}}(n),wt(),ut&&V.devtools&&ut.emit("flush")}function Er(t){var e=t.id;if(null==pr[e]&&(t!==Et.target||!t.noRecurse)){if(pr[e]=!0,dr){for(var r=fr.length-1;r>vr&&fr[r].id>t.id;)r--;fr.splice(r+1,0,t)}else fr.push(t);hr||(hr=!0,He(wr))}}function _r(t,e){if(t){for(var r=Object.create(null),n=lt?Reflect.ownKeys(t):Object.keys(t),o=0;o<n.length;o++){var i=n[o];if("__ob__"!==i){var a=t[i].from;if(a in e._provided)r[i]=e._provided[a];else if("default"in t[i]){var s=t[i].default;r[i]=c(s)?s.call(e):s}else 0}}return r}}function Ar(t,e,n,i,a){var u,c=this,f=a.options;A(i,"_uid")?(u=Object.create(i))._original=i:(u=i,i=i._original);var l=s(f._compiled),p=!l;this.data=t,this.props=e,this.children=n,this.parent=i,this.listeners=t.on||r,this.injections=_r(f.inject,i),this.slots=function(){return c.$slots||be(i,t.scopedSlots,c.$slots=ge(n,i)),c.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return be(i,t.scopedSlots,this.slots())}}),l&&(this.$options=f,this.$slots=this.slots(),this.$scopedSlots=be(i,t.scopedSlots,this.$slots)),f._scopeId?this._c=function(t,e,r,n){var a=Le(u,t,e,r,n,p);return a&&!o(a)&&(a.fnScopeId=f._scopeId,a.fnContext=i),a}:this._c=function(t,e,r,n){return Le(u,t,e,r,n,p)}}function Or(t,e,r,n,o){var i=yt(t);return i.fnContext=r,i.fnOptions=n,e.slot&&((i.data||(i.data={})).slot=e.slot),i}function Sr(t,e){for(var r in e)t[x(r)]=e[r]}function xr(t){return t.name||t.__name||t._componentTag}ve(Ar.prototype);var Tr={init:function(t,e){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){var r=t;Tr.prepatch(r,r)}else{var n=t.componentInstance=function(t,e){var r={_isComponent:!0,_parentVnode:t,parent:e},n=t.data.inlineTemplate;a(n)&&(r.render=n.render,r.staticRenderFns=n.staticRenderFns);return new t.componentOptions.Ctor(r)}(t,or);n.$mount(e?t.elm:void 0,e)}},prepatch:function(t,e){var n=e.componentOptions;!function(t,e,n,o,i){var a=o.data.scopedSlots,s=t.$scopedSlots,u=!!(a&&!a.$stable||s!==r&&!s.$stable||a&&t.$scopedSlots.$key!==a.$key||!a&&t.$scopedSlots.$key),c=!!(i||t.$options._renderChildren||u),f=t.$vnode;t.$options._parentVnode=o,t.$vnode=o,t._vnode&&(t._vnode.parent=o),t.$options._renderChildren=i;var l=o.data.attrs||r;t._attrsProxy&&Ae(t._attrsProxy,l,f.data&&f.data.attrs||r,t,"$attrs")&&(c=!0),t.$attrs=l,n=n||r;var p=t.$options._parentListeners;if(t._listenersProxy&&Ae(t._listenersProxy,n,p||r,t,"$listeners"),t.$listeners=t.$options._parentListeners=n,nr(t,n,p),e&&t.$options.props){Ct(!1);for(var h=t._props,d=t.$options._propKeys||[],v=0;v<d.length;v++){var g=d[v],y=t.$options.props;h[g]=Dr(g,y,e,t)}Ct(!0),t.$options.propsData=e}c&&(t.$slots=ge(i,o.context),t.$forceUpdate())}(e.componentInstance=t.componentInstance,n.propsData,n.listeners,e,n.children)},insert:function(t){var e,r=t.context,n=t.componentInstance;n._isMounted||(n._isMounted=!0,cr(n,"mounted")),t.data.keepAlive&&(r._isMounted?((e=n)._inactive=!1,lr.push(e)):sr(n,!0))},destroy:function(t){var e=t.componentInstance;e._isDestroyed||(t.data.keepAlive?ur(e,!0):e.$destroy())}},Ir=Object.keys(Tr);function Rr(t,e,n,u,c){if(!i(t)){var l=n.$options._base;if(f(t)&&(t=l.extend(t)),"function"==typeof t){var p;if(i(t.cid)&&(t=function(t,e){if(s(t.error)&&a(t.errorComp))return t.errorComp;if(a(t.resolved))return t.resolved;var r=xe;if(r&&a(t.owners)&&-1===t.owners.indexOf(r)&&t.owners.push(r),s(t.loading)&&a(t.loadingComp))return t.loadingComp;if(r&&!a(t.owners)){var n=t.owners=[r],o=!0,u=null,c=null;r.$on("hook:destroyed",(function(){return E(n,r)}));var l=function(t){for(var e=0,r=n.length;e<r;e++)n[e].$forceUpdate();t&&(n.length=0,null!==u&&(clearTimeout(u),u=null),null!==c&&(clearTimeout(c),c=null))},p=M((function(r){t.resolved=Te(r,e),o?n.length=0:l(!0)})),h=M((function(e){a(t.errorComp)&&(t.error=!0,l(!0))})),d=t(p,h);return f(d)&&(v(d)?i(t.resolved)&&d.then(p,h):v(d.component)&&(d.component.then(p,h),a(d.error)&&(t.errorComp=Te(d.error,e)),a(d.loading)&&(t.loadingComp=Te(d.loading,e),0===d.delay?t.loading=!0:u=setTimeout((function(){u=null,i(t.resolved)&&i(t.error)&&(t.loading=!0,l(!1))}),d.delay||200)),a(d.timeout)&&(c=setTimeout((function(){c=null,i(t.resolved)&&h(null)}),d.timeout)))),o=!1,t.loading?t.loadingComp:t.resolved}}(p=t,l),void 0===t))return function(t,e,r,n,o){var i=vt();return i.asyncFactory=t,i.asyncMeta={data:e,context:r,children:n,tag:o},i}(p,e,n,u,c);e=e||{},tn(t),a(e.model)&&function(t,e){var r=t.model&&t.model.prop||"value",n=t.model&&t.model.event||"input";(e.attrs||(e.attrs={}))[r]=e.model.value;var i=e.on||(e.on={}),s=i[n],u=e.model.callback;a(s)?(o(s)?-1===s.indexOf(u):s!==u)&&(i[n]=[u].concat(s)):i[n]=u}(t.options,e);var h=function(t,e,r){var n=e.options.props;if(!i(n)){var o={},s=t.attrs,u=t.props;if(a(s)||a(u))for(var c in n){var f=R(c);Jt(o,u,c,f,!0)||Jt(o,s,c,f,!1)}return o}}(e,t);if(s(t.options.functional))return function(t,e,n,i,s){var u=t.options,c={},f=u.props;if(a(f))for(var l in f)c[l]=Dr(l,f,e||r);else a(n.attrs)&&Sr(c,n.attrs),a(n.props)&&Sr(c,n.props);var p=new Ar(n,c,s,i,t),h=u.render.call(null,p._c,p);if(h instanceof dt)return Or(h,n,p.parent,u);if(o(h)){for(var d=Qt(h)||[],v=new Array(d.length),g=0;g<d.length;g++)v[g]=Or(d[g],n,p.parent,u);return v}}(t,h,e,n,u);var d=e.on;if(e.on=e.nativeOn,s(t.options.abstract)){var g=e.slot;e={},g&&(e.slot=g)}!function(t){for(var e=t.hook||(t.hook={}),r=0;r<Ir.length;r++){var n=Ir[r],o=e[n],i=Tr[n];o===i||o&&o._merged||(e[n]=o?Cr(i,o):i)}}(e);var y=xr(t.options)||c;return new dt("vue-component-".concat(t.cid).concat(y?"-".concat(y):""),e,void 0,void 0,void 0,n,{Ctor:t,propsData:h,listeners:d,tag:c,children:u},p)}}}function Cr(t,e){var r=function(r,n){t(r,n),e(r,n)};return r._merged=!0,r}var Lr=B,Nr=V.optionMergeStrategies;function Pr(t,e,r){if(void 0===r&&(r=!0),!e)return t;for(var n,o,i,a=lt?Reflect.ownKeys(e):Object.keys(e),s=0;s<a.length;s++)"__ob__"!==(n=a[s])&&(o=t[n],i=e[n],r&&A(t,n)?o!==i&&p(o)&&p(i)&&Pr(o,i):kt(t,n,i));return t}function Br(t,e,r){return r?function(){var n=c(e)?e.call(r,r):e,o=c(t)?t.call(r,r):t;return n?Pr(n,o):o}:e?t?function(){return Pr(c(e)?e.call(this,this):e,c(t)?t.call(this,this):t)}:e:t}function kr(t,e){var r=e?t?t.concat(e):o(e)?e:[e]:t;return r?function(t){for(var e=[],r=0;r<t.length;r++)-1===e.indexOf(t[r])&&e.push(t[r]);return e}(r):r}function jr(t,e,r,n){var o=Object.create(t||null);return e?N(o,e):o}Nr.data=function(t,e,r){return r?Br(t,e,r):e&&"function"!=typeof e?t:Br(t,e)},G.forEach((function(t){Nr[t]=kr})),z.forEach((function(t){Nr[t+"s"]=jr})),Nr.watch=function(t,e,r,n){if(t===ot&&(t=void 0),e===ot&&(e=void 0),!e)return Object.create(t||null);if(!t)return e;var i={};for(var a in N(i,t),e){var s=i[a],u=e[a];s&&!o(s)&&(s=[s]),i[a]=s?s.concat(u):o(u)?u:[u]}return i},Nr.props=Nr.methods=Nr.inject=Nr.computed=function(t,e,r,n){if(!t)return e;var o=Object.create(null);return N(o,t),e&&N(o,e),o},Nr.provide=function(t,e){return t?function(){var r=Object.create(null);return Pr(r,c(t)?t.call(this):t),e&&Pr(r,c(e)?e.call(this):e,!1),r}:e};var $r=function(t,e){return void 0===e?t:e};function Ur(t,e,r){if(c(e)&&(e=e.options),function(t,e){var r=t.props;if(r){var n,i,a={};if(o(r))for(n=r.length;n--;)"string"==typeof(i=r[n])&&(a[x(i)]={type:null});else if(p(r))for(var s in r)i=r[s],a[x(s)]=p(i)?i:{type:i};t.props=a}}(e),function(t,e){var r=t.inject;if(r){var n=t.inject={};if(o(r))for(var i=0;i<r.length;i++)n[r[i]]={from:r[i]};else if(p(r))for(var a in r){var s=r[a];n[a]=p(s)?N({from:a},s):{from:s}}}}(e),function(t){var e=t.directives;if(e)for(var r in e){var n=e[r];c(n)&&(e[r]={bind:n,update:n})}}(e),!e._base&&(e.extends&&(t=Ur(t,e.extends,r)),e.mixins))for(var n=0,i=e.mixins.length;n<i;n++)t=Ur(t,e.mixins[n],r);var a,s={};for(a in t)u(a);for(a in e)A(t,a)||u(a);function u(n){var o=Nr[n]||$r;s[n]=o(t[n],e[n],r,n)}return s}function Mr(t,e,r,n){if("string"==typeof r){var o=t[e];if(A(o,r))return o[r];var i=x(r);if(A(o,i))return o[i];var a=T(i);return A(o,a)?o[a]:o[r]||o[i]||o[a]}}function Dr(t,e,r,n){var o=e[t],i=!A(r,t),a=r[t],s=Vr(Boolean,o.type);if(s>-1)if(i&&!A(o,"default"))a=!1;else if(""===a||a===R(t)){var u=Vr(String,o.type);(u<0||s<u)&&(a=!0)}if(void 0===a){a=function(t,e,r){if(!A(e,"default"))return;var n=e.default;0;if(t&&t.$options.propsData&&void 0===t.$options.propsData[r]&&void 0!==t._props[r])return t._props[r];return c(n)&&"Function"!==zr(e.type)?n.call(t):n}(n,o,t);var f=Rt;Ct(!0),Pt(a),Ct(f)}return a}var Fr=/^\s*function (\w+)/;function zr(t){var e=t&&t.toString().match(Fr);return e?e[1]:""}function Gr(t,e){return zr(t)===zr(e)}function Vr(t,e){if(!o(e))return Gr(e,t)?0:-1;for(var r=0,n=e.length;r<n;r++)if(Gr(e[r],t))return r;return-1}var qr={enumerable:!0,configurable:!0,get:B,set:B};function Hr(t,e,r){qr.get=function(){return this[e][r]},qr.set=function(t){this[e][r]=t},Object.defineProperty(t,r,qr)}function Yr(t){var e=t.$options;if(e.props&&function(t,e){var r=t.$options.propsData||{},n=t._props=Ut({}),o=t.$options._propKeys=[],i=!t.$parent;i||Ct(!1);var a=function(i){o.push(i);var a=Dr(i,e,r,t);Bt(n,i,a,void 0,!0),i in t||Hr(t,"_props",i)};for(var s in e)a(s);Ct(!0)}(t,e.props),function(t){var e=t.$options,r=e.setup;if(r){var n=t._setupContext=_e(t);ht(t),At();var o=Be(r,null,[t._props||Ut({}),n],t,"setup");if(Ot(),ht(),c(o))e.render=o;else if(f(o))if(t._setupState=o,o.__sfc){var i=t._setupProxy={};for(var a in o)"__sfc"!==a&&zt(i,o,a)}else for(var a in o)H(a)||zt(t,o,a)}}(t),e.methods&&function(t,e){t.$options.props;for(var r in e)t[r]="function"!=typeof e[r]?B:C(e[r],t)}(t,e.methods),e.data)!function(t){var e=t.$options.data;e=t._data=c(e)?function(t,e){At();try{return t.call(e,e)}catch(t){return Pe(t,e,"data()"),{}}finally{Ot()}}(e,t):e||{},p(e)||(e={});var r=Object.keys(e),n=t.$options.props,o=(t.$options.methods,r.length);for(;o--;){var i=r[o];0,n&&A(n,i)||H(i)||Hr(t,"_data",i)}var a=Pt(e);a&&a.vmCount++}(t);else{var r=Pt(t._data={});r&&r.vmCount++}e.computed&&function(t,e){var r=t._computedWatchers=Object.create(null),n=st();for(var o in e){var i=e[o],a=c(i)?i:i.get;0,n||(r[o]=new Ze(t,a||B,B,Xr)),o in t||Wr(t,o,i)}}(t,e.computed),e.watch&&e.watch!==ot&&function(t,e){for(var r in e){var n=e[r];if(o(n))for(var i=0;i<n.length;i++)Qr(t,r,n[i]);else Qr(t,r,n)}}(t,e.watch)}var Xr={lazy:!0};function Wr(t,e,r){var n=!st();c(r)?(qr.get=n?Kr(e):Jr(r),qr.set=B):(qr.get=r.get?n&&!1!==r.cache?Kr(e):Jr(r.get):B,qr.set=r.set||B),Object.defineProperty(t,e,qr)}function Kr(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),Et.target&&e.depend(),e.value}}function Jr(t){return function(){return t.call(this,this)}}function Qr(t,e,r,n){return p(r)&&(n=r,r=r.handler),"string"==typeof r&&(r=t[r]),t.$watch(e,r,n)}var Zr=0;function tn(t){var e=t.options;if(t.super){var r=tn(t.super);if(r!==t.superOptions){t.superOptions=r;var n=function(t){var e,r=t.options,n=t.sealedOptions;for(var o in r)r[o]!==n[o]&&(e||(e={}),e[o]=r[o]);return e}(t);n&&N(t.extendOptions,n),(e=t.options=Ur(r,t.extendOptions)).name&&(e.components[e.name]=t)}}return e}function en(t){this._init(t)}function rn(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var r=this,n=r.cid,o=t._Ctor||(t._Ctor={});if(o[n])return o[n];var i=xr(t)||xr(r.options);var a=function(t){this._init(t)};return(a.prototype=Object.create(r.prototype)).constructor=a,a.cid=e++,a.options=Ur(r.options,t),a.super=r,a.options.props&&function(t){var e=t.options.props;for(var r in e)Hr(t.prototype,"_props",r)}(a),a.options.computed&&function(t){var e=t.options.computed;for(var r in e)Wr(t.prototype,r,e[r])}(a),a.extend=r.extend,a.mixin=r.mixin,a.use=r.use,z.forEach((function(t){a[t]=r[t]})),i&&(a.options.components[i]=a),a.superOptions=r.options,a.extendOptions=t,a.sealedOptions=N({},a.options),o[n]=a,a}}function nn(t){return t&&(xr(t.Ctor.options)||t.tag)}function on(t,e){return o(t)?t.indexOf(e)>-1:"string"==typeof t?t.split(",").indexOf(e)>-1:!!h(t)&&t.test(e)}function an(t,e){var r=t.cache,n=t.keys,o=t._vnode,i=t.$vnode;for(var a in r){var s=r[a];if(s){var u=s.name;u&&!e(u)&&sn(r,a,n,o)}}i.componentOptions.children=void 0}function sn(t,e,r,n){var o=t[e];!o||n&&o.tag===n.tag||o.componentInstance.$destroy(),t[e]=null,E(r,e)}!function(t){t.prototype._init=function(t){var e=this;e._uid=Zr++,e._isVue=!0,e.__v_skip=!0,e._scope=new qt(!0),e._scope.parent=void 0,e._scope._vm=!0,t&&t._isComponent?function(t,e){var r=t.$options=Object.create(t.constructor.options),n=e._parentVnode;r.parent=e.parent,r._parentVnode=n;var o=n.componentOptions;r.propsData=o.propsData,r._parentListeners=o.listeners,r._renderChildren=o.children,r._componentTag=o.tag,e.render&&(r.render=e.render,r.staticRenderFns=e.staticRenderFns)}(e,t):e.$options=Ur(tn(e.constructor),t||{},e),e._renderProxy=e,e._self=e,function(t){var e=t.$options,r=e.parent;if(r&&!e.abstract){for(;r.$options.abstract&&r.$parent;)r=r.$parent;r.$children.push(t)}t.$parent=r,t.$root=r?r.$root:t,t.$children=[],t.$refs={},t._provided=r?r._provided:Object.create(null),t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}(e),function(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&nr(t,e)}(e),function(t){t._vnode=null,t._staticTrees=null;var e=t.$options,n=t.$vnode=e._parentVnode,o=n&&n.context;t.$slots=ge(e._renderChildren,o),t.$scopedSlots=n?be(t.$parent,n.data.scopedSlots,t.$slots):r,t._c=function(e,r,n,o){return Le(t,e,r,n,o,!1)},t.$createElement=function(e,r,n,o){return Le(t,e,r,n,o,!0)};var i=n&&n.data;Bt(t,"$attrs",i&&i.attrs||r,null,!0),Bt(t,"$listeners",e._parentListeners||r,null,!0)}(e),cr(e,"beforeCreate",void 0,!1),function(t){var e=_r(t.$options.inject,t);e&&(Ct(!1),Object.keys(e).forEach((function(r){Bt(t,r,e[r])})),Ct(!0))}(e),Yr(e),function(t){var e=t.$options.provide;if(e){var r=c(e)?e.call(t):e;if(!f(r))return;for(var n=Ht(t),o=lt?Reflect.ownKeys(r):Object.keys(r),i=0;i<o.length;i++){var a=o[i];Object.defineProperty(n,a,Object.getOwnPropertyDescriptor(r,a))}}}(e),cr(e,"created"),e.$options.el&&e.$mount(e.$options.el)}}(en),function(t){var e={get:function(){return this._data}},r={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",r),t.prototype.$set=kt,t.prototype.$delete=jt,t.prototype.$watch=function(t,e,r){var n=this;if(p(e))return Qr(n,t,e,r);(r=r||{}).user=!0;var o=new Ze(n,t,e,r);if(r.immediate){var i='callback for immediate watcher "'.concat(o.expression,'"');At(),Be(e,n,[o.value],n,i),Ot()}return function(){o.teardown()}}}(en),function(t){var e=/^hook:/;t.prototype.$on=function(t,r){var n=this;if(o(t))for(var i=0,a=t.length;i<a;i++)n.$on(t[i],r);else(n._events[t]||(n._events[t]=[])).push(r),e.test(t)&&(n._hasHookEvent=!0);return n},t.prototype.$once=function(t,e){var r=this;function n(){r.$off(t,n),e.apply(r,arguments)}return n.fn=e,r.$on(t,n),r},t.prototype.$off=function(t,e){var r=this;if(!arguments.length)return r._events=Object.create(null),r;if(o(t)){for(var n=0,i=t.length;n<i;n++)r.$off(t[n],e);return r}var a,s=r._events[t];if(!s)return r;if(!e)return r._events[t]=null,r;for(var u=s.length;u--;)if((a=s[u])===e||a.fn===e){s.splice(u,1);break}return r},t.prototype.$emit=function(t){var e=this,r=e._events[t];if(r){r=r.length>1?L(r):r;for(var n=L(arguments,1),o='event handler for "'.concat(t,'"'),i=0,a=r.length;i<a;i++)Be(r[i],e,n,e,o)}return e}}(en),function(t){t.prototype._update=function(t,e){var r=this,n=r.$el,o=r._vnode,i=ir(r);r._vnode=t,r.$el=o?r.__patch__(o,t):r.__patch__(r.$el,t,e,!1),i(),n&&(n.__vue__=null),r.$el&&(r.$el.__vue__=r);for(var a=r;a&&a.$vnode&&a.$parent&&a.$vnode===a.$parent._vnode;)a.$parent.$el=a.$el,a=a.$parent},t.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},t.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){cr(t,"beforeDestroy"),t._isBeingDestroyed=!0;var e=t.$parent;!e||e._isBeingDestroyed||t.$options.abstract||E(e.$children,t),t._scope.stop(),t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),cr(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.$vnode&&(t.$vnode.parent=null)}}}(en),function(t){ve(t.prototype),t.prototype.$nextTick=function(t){return He(t,this)},t.prototype._render=function(){var t=this,e=t.$options,r=e.render,n=e._parentVnode;n&&t._isMounted&&(t.$scopedSlots=be(t.$parent,n.data.scopedSlots,t.$slots,t.$scopedSlots),t._slotsProxy&&Se(t._slotsProxy,t.$scopedSlots)),t.$vnode=n;var i,a=pt,s=xe;try{ht(t),xe=t,i=r.call(t._renderProxy,t.$createElement)}catch(e){Pe(e,t,"render"),i=t._vnode}finally{xe=s,ht(a)}return o(i)&&1===i.length&&(i=i[0]),i instanceof dt||(i=vt()),i.parent=n,i}}(en);var un=[String,RegExp,Array],cn={name:"keep-alive",abstract:!0,props:{include:un,exclude:un,max:[String,Number]},methods:{cacheVNode:function(){var t=this,e=t.cache,r=t.keys,n=t.vnodeToCache,o=t.keyToCache;if(n){var i=n.tag,a=n.componentInstance,s=n.componentOptions;e[o]={name:nn(s),tag:i,componentInstance:a},r.push(o),this.max&&r.length>parseInt(this.max)&&sn(e,r[0],r,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)sn(this.cache,t,this.keys)},mounted:function(){var t=this;this.cacheVNode(),this.$watch("include",(function(e){an(t,(function(t){return on(e,t)}))})),this.$watch("exclude",(function(e){an(t,(function(t){return!on(e,t)}))}))},updated:function(){this.cacheVNode()},render:function(){var t=this.$slots.default,e=Ie(t),r=e&&e.componentOptions;if(r){var n=nn(r),o=this.include,i=this.exclude;if(o&&(!n||!on(o,n))||i&&n&&on(i,n))return e;var a=this.cache,s=this.keys,u=null==e.key?r.Ctor.cid+(r.tag?"::".concat(r.tag):""):e.key;a[u]?(e.componentInstance=a[u].componentInstance,E(s,u),s.push(u)):(this.vnodeToCache=e,this.keyToCache=u),e.data.keepAlive=!0}return e||t&&t[0]}},fn={KeepAlive:cn};!function(t){var e={get:function(){return V}};Object.defineProperty(t,"config",e),t.util={warn:Lr,extend:N,mergeOptions:Ur,defineReactive:Bt},t.set=kt,t.delete=jt,t.nextTick=He,t.observable=function(t){return Pt(t),t},t.options=Object.create(null),z.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,N(t.options.components,fn),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var r=L(arguments,1);return r.unshift(this),c(t.install)?t.install.apply(t,r):c(t)&&t.apply(null,r),e.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=Ur(this.options,t),this}}(t),rn(t),function(t){z.forEach((function(e){t[e]=function(t,r){return r?("component"===e&&p(r)&&(r.name=r.name||t,r=this.options._base.extend(r)),"directive"===e&&c(r)&&(r={bind:r,update:r}),this.options[e+"s"][t]=r,r):this.options[e+"s"][t]}}))}(t)}(en),Object.defineProperty(en.prototype,"$isServer",{get:st}),Object.defineProperty(en.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(en,"FunctionalRenderContext",{value:Ar}),en.version="2.7.16";var ln=b("style,class"),pn=b("input,textarea,option,select,progress"),hn=b("contenteditable,draggable,spellcheck"),dn=b("events,caret,typing,plaintext-only"),vn=function(t,e){return wn(e)||"false"===e?"false":"contenteditable"===t&&dn(e)?e:"true"},gn=b("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),yn="http://www.w3.org/1999/xlink",mn=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},bn=function(t){return mn(t)?t.slice(6,t.length):""},wn=function(t){return null==t||!1===t};function En(t){for(var e=t.data,r=t,n=t;a(n.componentInstance);)(n=n.componentInstance._vnode)&&n.data&&(e=_n(n.data,e));for(;a(r=r.parent);)r&&r.data&&(e=_n(e,r.data));return function(t,e){if(a(t)||a(e))return An(t,On(e));return""}(e.staticClass,e.class)}function _n(t,e){return{staticClass:An(t.staticClass,e.staticClass),class:a(t.class)?[t.class,e.class]:e.class}}function An(t,e){return t?e?t+" "+e:t:e||""}function On(t){return Array.isArray(t)?function(t){for(var e,r="",n=0,o=t.length;n<o;n++)a(e=On(t[n]))&&""!==e&&(r&&(r+=" "),r+=e);return r}(t):f(t)?function(t){var e="";for(var r in t)t[r]&&(e&&(e+=" "),e+=r);return e}(t):"string"==typeof t?t:""}var Sn={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},xn=b("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),Tn=b("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignobject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),In=function(t){return xn(t)||Tn(t)};var Rn=Object.create(null);var Cn=b("text,number,password,search,email,tel,url");var Ln=Object.freeze({__proto__:null,createElement:function(t,e){var r=document.createElement(t);return"select"!==t||e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&r.setAttribute("multiple","multiple"),r},createElementNS:function(t,e){return document.createElementNS(Sn[t],e)},createTextNode:function(t){return document.createTextNode(t)},createComment:function(t){return document.createComment(t)},insertBefore:function(t,e,r){t.insertBefore(e,r)},removeChild:function(t,e){t.removeChild(e)},appendChild:function(t,e){t.appendChild(e)},parentNode:function(t){return t.parentNode},nextSibling:function(t){return t.nextSibling},tagName:function(t){return t.tagName},setTextContent:function(t,e){t.textContent=e},setStyleScope:function(t,e){t.setAttribute(e,"")}}),Nn={create:function(t,e){Pn(e)},update:function(t,e){t.data.ref!==e.data.ref&&(Pn(t,!0),Pn(e))},destroy:function(t){Pn(t,!0)}};function Pn(t,e){var r=t.data.ref;if(a(r)){var n=t.context,i=t.componentInstance||t.elm,s=e?null:i,u=e?void 0:i;if(c(r))Be(r,n,[s],n,"template ref function");else{var f=t.data.refInFor,l="string"==typeof r||"number"==typeof r,p=Ft(r),h=n.$refs;if(l||p)if(f){var d=l?h[r]:r.value;e?o(d)&&E(d,i):o(d)?d.includes(i)||d.push(i):l?(h[r]=[i],Bn(n,r,h[r])):r.value=[i]}else if(l){if(e&&h[r]!==i)return;h[r]=u,Bn(n,r,s)}else if(p){if(e&&r.value!==i)return;r.value=s}else 0}}}function Bn(t,e,r){var n=t._setupState;n&&A(n,e)&&(Ft(n[e])?n[e].value=r:n[e]=r)}var kn=new dt("",{},[]),jn=["create","activate","update","remove","destroy"];function $n(t,e){return t.key===e.key&&t.asyncFactory===e.asyncFactory&&(t.tag===e.tag&&t.isComment===e.isComment&&a(t.data)===a(e.data)&&function(t,e){if("input"!==t.tag)return!0;var r,n=a(r=t.data)&&a(r=r.attrs)&&r.type,o=a(r=e.data)&&a(r=r.attrs)&&r.type;return n===o||Cn(n)&&Cn(o)}(t,e)||s(t.isAsyncPlaceholder)&&i(e.asyncFactory.error))}function Un(t,e,r){var n,o,i={};for(n=e;n<=r;++n)a(o=t[n].key)&&(i[o]=n);return i}var Mn={create:Dn,update:Dn,destroy:function(t){Dn(t,kn)}};function Dn(t,e){(t.data.directives||e.data.directives)&&function(t,e){var r,n,o,i=t===kn,a=e===kn,s=zn(t.data.directives,t.context),u=zn(e.data.directives,e.context),c=[],f=[];for(r in u)n=s[r],o=u[r],n?(o.oldValue=n.value,o.oldArg=n.arg,Vn(o,"update",e,t),o.def&&o.def.componentUpdated&&f.push(o)):(Vn(o,"bind",e,t),o.def&&o.def.inserted&&c.push(o));if(c.length){var l=function(){for(var r=0;r<c.length;r++)Vn(c[r],"inserted",e,t)};i?Kt(e,"insert",l):l()}f.length&&Kt(e,"postpatch",(function(){for(var r=0;r<f.length;r++)Vn(f[r],"componentUpdated",e,t)}));if(!i)for(r in s)u[r]||Vn(s[r],"unbind",t,t,a)}(t,e)}var Fn=Object.create(null);function zn(t,e){var r,n,o=Object.create(null);if(!t)return o;for(r=0;r<t.length;r++){if((n=t[r]).modifiers||(n.modifiers=Fn),o[Gn(n)]=n,e._setupState&&e._setupState.__sfc){var i=n.def||Mr(e,"_setupState","v-"+n.name);n.def="function"==typeof i?{bind:i,update:i}:i}n.def=n.def||Mr(e.$options,"directives",n.name)}return o}function Gn(t){return t.rawName||"".concat(t.name,".").concat(Object.keys(t.modifiers||{}).join("."))}function Vn(t,e,r,n,o){var i=t.def&&t.def[e];if(i)try{i(r.elm,t,r,n,o)}catch(n){Pe(n,r.context,"directive ".concat(t.name," ").concat(e," hook"))}}var qn=[Nn,Mn];function Hn(t,e){var r=e.componentOptions;if(!(a(r)&&!1===r.Ctor.options.inheritAttrs||i(t.data.attrs)&&i(e.data.attrs))){var n,o,u=e.elm,c=t.data.attrs||{},f=e.data.attrs||{};for(n in(a(f.__ob__)||s(f._v_attr_proxy))&&(f=e.data.attrs=N({},f)),f)o=f[n],c[n]!==o&&Yn(u,n,o,e.data.pre);for(n in(Q||tt)&&f.value!==c.value&&Yn(u,"value",f.value),c)i(f[n])&&(mn(n)?u.removeAttributeNS(yn,bn(n)):hn(n)||u.removeAttribute(n))}}function Yn(t,e,r,n){n||t.tagName.indexOf("-")>-1?Xn(t,e,r):gn(e)?wn(r)?t.removeAttribute(e):(r="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,r)):hn(e)?t.setAttribute(e,vn(e,r)):mn(e)?wn(r)?t.removeAttributeNS(yn,bn(e)):t.setAttributeNS(yn,e,r):Xn(t,e,r)}function Xn(t,e,r){if(wn(r))t.removeAttribute(e);else{if(Q&&!Z&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==r&&!t.__ieph){var n=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",n)};t.addEventListener("input",n),t.__ieph=!0}t.setAttribute(e,r)}}var Wn={create:Hn,update:Hn};function Kn(t,e){var r=e.elm,n=e.data,o=t.data;if(!(i(n.staticClass)&&i(n.class)&&(i(o)||i(o.staticClass)&&i(o.class)))){var s=En(e),u=r._transitionClasses;a(u)&&(s=An(s,On(u))),s!==r._prevClass&&(r.setAttribute("class",s),r._prevClass=s)}}var Jn,Qn={create:Kn,update:Kn},Zn="__r",to="__c";function eo(t,e,r){var n=Jn;return function o(){null!==e.apply(null,arguments)&&oo(t,o,r,n)}}var ro=Ue&&!(nt&&Number(nt[1])<=53);function no(t,e,r,n){if(ro){var o=gr,i=e;e=i._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=o||t.timeStamp<=0||t.target.ownerDocument!==document)return i.apply(this,arguments)}}Jn.addEventListener(t,e,it?{capture:r,passive:n}:r)}function oo(t,e,r,n){(n||Jn).removeEventListener(t,e._wrapper||e,r)}function io(t,e){if(!i(t.data.on)||!i(e.data.on)){var r=e.data.on||{},n=t.data.on||{};Jn=e.elm||t.elm,function(t){if(a(t[Zn])){var e=Q?"change":"input";t[e]=[].concat(t[Zn],t[e]||[]),delete t[Zn]}a(t[to])&&(t.change=[].concat(t[to],t.change||[]),delete t[to])}(r),Wt(r,n,no,oo,eo,e.context),Jn=void 0}}var ao,so={create:io,update:io,destroy:function(t){return io(t,kn)}};function uo(t,e){if(!i(t.data.domProps)||!i(e.data.domProps)){var r,n,o=e.elm,u=t.data.domProps||{},c=e.data.domProps||{};for(r in(a(c.__ob__)||s(c._v_attr_proxy))&&(c=e.data.domProps=N({},c)),u)r in c||(o[r]="");for(r in c){if(n=c[r],"textContent"===r||"innerHTML"===r){if(e.children&&(e.children.length=0),n===u[r])continue;1===o.childNodes.length&&o.removeChild(o.childNodes[0])}if("value"===r&&"PROGRESS"!==o.tagName){o._value=n;var f=i(n)?"":String(n);co(o,f)&&(o.value=f)}else if("innerHTML"===r&&Tn(o.tagName)&&i(o.innerHTML)){(ao=ao||document.createElement("div")).innerHTML="<svg>".concat(n,"</svg>");for(var l=ao.firstChild;o.firstChild;)o.removeChild(o.firstChild);for(;l.firstChild;)o.appendChild(l.firstChild)}else if(n!==u[r])try{o[r]=n}catch(t){}}}}function co(t,e){return!t.composing&&("OPTION"===t.tagName||function(t,e){var r=!0;try{r=document.activeElement!==t}catch(t){}return r&&t.value!==e}(t,e)||function(t,e){var r=t.value,n=t._vModifiers;if(a(n)){if(n.number)return m(r)!==m(e);if(n.trim)return r.trim()!==e.trim()}return r!==e}(t,e))}var fo={create:uo,update:uo},lo=O((function(t){var e={},r=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach((function(t){if(t){var n=t.split(r);n.length>1&&(e[n[0].trim()]=n[1].trim())}})),e}));function po(t){var e=ho(t.style);return t.staticStyle?N(t.staticStyle,e):e}function ho(t){return Array.isArray(t)?P(t):"string"==typeof t?lo(t):t}var vo,go=/^--/,yo=/\s*!important$/,mo=function(t,e,r){if(go.test(e))t.style.setProperty(e,r);else if(yo.test(r))t.style.setProperty(R(e),r.replace(yo,""),"important");else{var n=wo(e);if(Array.isArray(r))for(var o=0,i=r.length;o<i;o++)t.style[n]=r[o];else t.style[n]=r}},bo=["Webkit","Moz","ms"],wo=O((function(t){if(vo=vo||document.createElement("div").style,"filter"!==(t=x(t))&&t in vo)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),r=0;r<bo.length;r++){var n=bo[r]+e;if(n in vo)return n}}));function Eo(t,e){var r=e.data,n=t.data;if(!(i(r.staticStyle)&&i(r.style)&&i(n.staticStyle)&&i(n.style))){var o,s,u=e.elm,c=n.staticStyle,f=n.normalizedStyle||n.style||{},l=c||f,p=ho(e.data.style)||{};e.data.normalizedStyle=a(p.__ob__)?N({},p):p;var h=function(t,e){var r,n={};if(e)for(var o=t;o.componentInstance;)(o=o.componentInstance._vnode)&&o.data&&(r=po(o.data))&&N(n,r);(r=po(t.data))&&N(n,r);for(var i=t;i=i.parent;)i.data&&(r=po(i.data))&&N(n,r);return n}(e,!0);for(s in l)i(h[s])&&mo(u,s,"");for(s in h)o=h[s],mo(u,s,null==o?"":o)}}var _o={create:Eo,update:Eo},Ao=/\s+/;function Oo(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(Ao).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var r=" ".concat(t.getAttribute("class")||""," ");r.indexOf(" "+e+" ")<0&&t.setAttribute("class",(r+e).trim())}}function So(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(Ao).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var r=" ".concat(t.getAttribute("class")||""," "),n=" "+e+" ";r.indexOf(n)>=0;)r=r.replace(n," ");(r=r.trim())?t.setAttribute("class",r):t.removeAttribute("class")}}function xo(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&N(e,To(t.name||"v")),N(e,t),e}return"string"==typeof t?To(t):void 0}}var To=O((function(t){return{enterClass:"".concat(t,"-enter"),enterToClass:"".concat(t,"-enter-to"),enterActiveClass:"".concat(t,"-enter-active"),leaveClass:"".concat(t,"-leave"),leaveToClass:"".concat(t,"-leave-to"),leaveActiveClass:"".concat(t,"-leave-active")}})),Io=K&&!Z,Ro="transition",Co="animation",Lo="transition",No="transitionend",Po="animation",Bo="animationend";Io&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Lo="WebkitTransition",No="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Po="WebkitAnimation",Bo="webkitAnimationEnd"));var ko=K?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function jo(t){ko((function(){ko(t)}))}function $o(t,e){var r=t._transitionClasses||(t._transitionClasses=[]);r.indexOf(e)<0&&(r.push(e),Oo(t,e))}function Uo(t,e){t._transitionClasses&&E(t._transitionClasses,e),So(t,e)}function Mo(t,e,r){var n=Fo(t,e),o=n.type,i=n.timeout,a=n.propCount;if(!o)return r();var s=o===Ro?No:Bo,u=0,c=function(){t.removeEventListener(s,f),r()},f=function(e){e.target===t&&++u>=a&&c()};setTimeout((function(){u<a&&c()}),i+1),t.addEventListener(s,f)}var Do=/\b(transform|all)(,|$)/;function Fo(t,e){var r,n=window.getComputedStyle(t),o=(n[Lo+"Delay"]||"").split(", "),i=(n[Lo+"Duration"]||"").split(", "),a=zo(o,i),s=(n[Po+"Delay"]||"").split(", "),u=(n[Po+"Duration"]||"").split(", "),c=zo(s,u),f=0,l=0;return e===Ro?a>0&&(r=Ro,f=a,l=i.length):e===Co?c>0&&(r=Co,f=c,l=u.length):l=(r=(f=Math.max(a,c))>0?a>c?Ro:Co:null)?r===Ro?i.length:u.length:0,{type:r,timeout:f,propCount:l,hasTransform:r===Ro&&Do.test(n[Lo+"Property"])}}function zo(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max.apply(null,e.map((function(e,r){return Go(e)+Go(t[r])})))}function Go(t){return 1e3*Number(t.slice(0,-1).replace(",","."))}function Vo(t,e){var r=t.elm;a(r._leaveCb)&&(r._leaveCb.cancelled=!0,r._leaveCb());var n=xo(t.data.transition);if(!i(n)&&!a(r._enterCb)&&1===r.nodeType){for(var o=n.css,s=n.type,u=n.enterClass,l=n.enterToClass,p=n.enterActiveClass,h=n.appearClass,d=n.appearToClass,v=n.appearActiveClass,g=n.beforeEnter,y=n.enter,b=n.afterEnter,w=n.enterCancelled,E=n.beforeAppear,_=n.appear,A=n.afterAppear,O=n.appearCancelled,S=n.duration,x=or,T=or.$vnode;T&&T.parent;)x=T.context,T=T.parent;var I=!x._isMounted||!t.isRootInsert;if(!I||_||""===_){var R=I&&h?h:u,C=I&&v?v:p,L=I&&d?d:l,N=I&&E||g,P=I&&c(_)?_:y,B=I&&A||b,k=I&&O||w,j=m(f(S)?S.enter:S);0;var $=!1!==o&&!Z,U=Yo(P),D=r._enterCb=M((function(){$&&(Uo(r,L),Uo(r,C)),D.cancelled?($&&Uo(r,R),k&&k(r)):B&&B(r),r._enterCb=null}));t.data.show||Kt(t,"insert",(function(){var e=r.parentNode,n=e&&e._pending&&e._pending[t.key];n&&n.tag===t.tag&&n.elm._leaveCb&&n.elm._leaveCb(),P&&P(r,D)})),N&&N(r),$&&($o(r,R),$o(r,C),jo((function(){Uo(r,R),D.cancelled||($o(r,L),U||(Ho(j)?setTimeout(D,j):Mo(r,s,D)))}))),t.data.show&&(e&&e(),P&&P(r,D)),$||U||D()}}}function qo(t,e){var r=t.elm;a(r._enterCb)&&(r._enterCb.cancelled=!0,r._enterCb());var n=xo(t.data.transition);if(i(n)||1!==r.nodeType)return e();if(!a(r._leaveCb)){var o=n.css,s=n.type,u=n.leaveClass,c=n.leaveToClass,l=n.leaveActiveClass,p=n.beforeLeave,h=n.leave,d=n.afterLeave,v=n.leaveCancelled,g=n.delayLeave,y=n.duration,b=!1!==o&&!Z,w=Yo(h),E=m(f(y)?y.leave:y);0;var _=r._leaveCb=M((function(){r.parentNode&&r.parentNode._pending&&(r.parentNode._pending[t.key]=null),b&&(Uo(r,c),Uo(r,l)),_.cancelled?(b&&Uo(r,u),v&&v(r)):(e(),d&&d(r)),r._leaveCb=null}));g?g(A):A()}function A(){_.cancelled||(!t.data.show&&r.parentNode&&((r.parentNode._pending||(r.parentNode._pending={}))[t.key]=t),p&&p(r),b&&($o(r,u),$o(r,l),jo((function(){Uo(r,u),_.cancelled||($o(r,c),w||(Ho(E)?setTimeout(_,E):Mo(r,s,_)))}))),h&&h(r,_),b||w||_())}}function Ho(t){return"number"==typeof t&&!isNaN(t)}function Yo(t){if(i(t))return!1;var e=t.fns;return a(e)?Yo(Array.isArray(e)?e[0]:e):(t._length||t.length)>1}function Xo(t,e){!0!==e.data.show&&Vo(e)}var Wo=function(t){var e,r,n={},c=t.modules,f=t.nodeOps;for(e=0;e<jn.length;++e)for(n[jn[e]]=[],r=0;r<c.length;++r)a(c[r][jn[e]])&&n[jn[e]].push(c[r][jn[e]]);function l(t){var e=f.parentNode(t);a(e)&&f.removeChild(e,t)}function p(t,e,r,o,i,u,c){if(a(t.elm)&&a(u)&&(t=u[c]=yt(t)),t.isRootInsert=!i,!function(t,e,r,o){var i=t.data;if(a(i)){var u=a(t.componentInstance)&&i.keepAlive;if(a(i=i.hook)&&a(i=i.init)&&i(t,!1),a(t.componentInstance))return h(t,e),d(r,t.elm,o),s(u)&&function(t,e,r,o){var i,s=t;for(;s.componentInstance;)if(a(i=(s=s.componentInstance._vnode).data)&&a(i=i.transition)){for(i=0;i<n.activate.length;++i)n.activate[i](kn,s);e.push(s);break}d(r,t.elm,o)}(t,e,r,o),!0}}(t,e,r,o)){var l=t.data,p=t.children,g=t.tag;a(g)?(t.elm=t.ns?f.createElementNS(t.ns,g):f.createElement(g,t),m(t),v(t,p,e),a(l)&&y(t,e),d(r,t.elm,o)):s(t.isComment)?(t.elm=f.createComment(t.text),d(r,t.elm,o)):(t.elm=f.createTextNode(t.text),d(r,t.elm,o))}}function h(t,e){a(t.data.pendingInsert)&&(e.push.apply(e,t.data.pendingInsert),t.data.pendingInsert=null),t.elm=t.componentInstance.$el,g(t)?(y(t,e),m(t)):(Pn(t),e.push(t))}function d(t,e,r){a(t)&&(a(r)?f.parentNode(r)===t&&f.insertBefore(t,e,r):f.appendChild(t,e))}function v(t,e,r){if(o(e)){0;for(var n=0;n<e.length;++n)p(e[n],r,t.elm,null,!0,e,n)}else u(t.text)&&f.appendChild(t.elm,f.createTextNode(String(t.text)))}function g(t){for(;t.componentInstance;)t=t.componentInstance._vnode;return a(t.tag)}function y(t,r){for(var o=0;o<n.create.length;++o)n.create[o](kn,t);a(e=t.data.hook)&&(a(e.create)&&e.create(kn,t),a(e.insert)&&r.push(t))}function m(t){var e;if(a(e=t.fnScopeId))f.setStyleScope(t.elm,e);else for(var r=t;r;)a(e=r.context)&&a(e=e.$options._scopeId)&&f.setStyleScope(t.elm,e),r=r.parent;a(e=or)&&e!==t.context&&e!==t.fnContext&&a(e=e.$options._scopeId)&&f.setStyleScope(t.elm,e)}function w(t,e,r,n,o,i){for(;n<=o;++n)p(r[n],i,t,e,!1,r,n)}function E(t){var e,r,o=t.data;if(a(o))for(a(e=o.hook)&&a(e=e.destroy)&&e(t),e=0;e<n.destroy.length;++e)n.destroy[e](t);if(a(e=t.children))for(r=0;r<t.children.length;++r)E(t.children[r])}function _(t,e,r){for(;e<=r;++e){var n=t[e];a(n)&&(a(n.tag)?(A(n),E(n)):l(n.elm))}}function A(t,e){if(a(e)||a(t.data)){var r,o=n.remove.length+1;for(a(e)?e.listeners+=o:e=function(t,e){function r(){0==--r.listeners&&l(t)}return r.listeners=e,r}(t.elm,o),a(r=t.componentInstance)&&a(r=r._vnode)&&a(r.data)&&A(r,e),r=0;r<n.remove.length;++r)n.remove[r](t,e);a(r=t.data.hook)&&a(r=r.remove)?r(t,e):e()}else l(t.elm)}function O(t,e,r,n){for(var o=r;o<n;o++){var i=e[o];if(a(i)&&$n(t,i))return o}}function S(t,e,r,o,u,c){if(t!==e){a(e.elm)&&a(o)&&(e=o[u]=yt(e));var l=e.elm=t.elm;if(s(t.isAsyncPlaceholder))a(e.asyncFactory.resolved)?I(t.elm,e,r):e.isAsyncPlaceholder=!0;else if(s(e.isStatic)&&s(t.isStatic)&&e.key===t.key&&(s(e.isCloned)||s(e.isOnce)))e.componentInstance=t.componentInstance;else{var h,d=e.data;a(d)&&a(h=d.hook)&&a(h=h.prepatch)&&h(t,e);var v=t.children,y=e.children;if(a(d)&&g(e)){for(h=0;h<n.update.length;++h)n.update[h](t,e);a(h=d.hook)&&a(h=h.update)&&h(t,e)}i(e.text)?a(v)&&a(y)?v!==y&&function(t,e,r,n,o){var s,u,c,l=0,h=0,d=e.length-1,v=e[0],g=e[d],y=r.length-1,m=r[0],b=r[y],E=!o;for(;l<=d&&h<=y;)i(v)?v=e[++l]:i(g)?g=e[--d]:$n(v,m)?(S(v,m,n,r,h),v=e[++l],m=r[++h]):$n(g,b)?(S(g,b,n,r,y),g=e[--d],b=r[--y]):$n(v,b)?(S(v,b,n,r,y),E&&f.insertBefore(t,v.elm,f.nextSibling(g.elm)),v=e[++l],b=r[--y]):$n(g,m)?(S(g,m,n,r,h),E&&f.insertBefore(t,g.elm,v.elm),g=e[--d],m=r[++h]):(i(s)&&(s=Un(e,l,d)),i(u=a(m.key)?s[m.key]:O(m,e,l,d))?p(m,n,t,v.elm,!1,r,h):$n(c=e[u],m)?(S(c,m,n,r,h),e[u]=void 0,E&&f.insertBefore(t,c.elm,v.elm)):p(m,n,t,v.elm,!1,r,h),m=r[++h]);l>d?w(t,i(r[y+1])?null:r[y+1].elm,r,h,y,n):h>y&&_(e,l,d)}(l,v,y,r,c):a(y)?(a(t.text)&&f.setTextContent(l,""),w(l,null,y,0,y.length-1,r)):a(v)?_(v,0,v.length-1):a(t.text)&&f.setTextContent(l,""):t.text!==e.text&&f.setTextContent(l,e.text),a(d)&&a(h=d.hook)&&a(h=h.postpatch)&&h(t,e)}}}function x(t,e,r){if(s(r)&&a(t.parent))t.parent.data.pendingInsert=e;else for(var n=0;n<e.length;++n)e[n].data.hook.insert(e[n])}var T=b("attrs,class,staticClass,staticStyle,key");function I(t,e,r,n){var o,i=e.tag,u=e.data,c=e.children;if(n=n||u&&u.pre,e.elm=t,s(e.isComment)&&a(e.asyncFactory))return e.isAsyncPlaceholder=!0,!0;if(a(u)&&(a(o=u.hook)&&a(o=o.init)&&o(e,!0),a(o=e.componentInstance)))return h(e,r),!0;if(a(i)){if(a(c))if(t.hasChildNodes())if(a(o=u)&&a(o=o.domProps)&&a(o=o.innerHTML)){if(o!==t.innerHTML)return!1}else{for(var f=!0,l=t.firstChild,p=0;p<c.length;p++){if(!l||!I(l,c[p],r,n)){f=!1;break}l=l.nextSibling}if(!f||l)return!1}else v(e,c,r);if(a(u)){var d=!1;for(var g in u)if(!T(g)){d=!0,y(e,r);break}!d&&u.class&&We(u.class)}}else t.data!==e.text&&(t.data=e.text);return!0}return function(t,e,r,o){if(!i(e)){var u,c=!1,l=[];if(i(t))c=!0,p(e,l);else{var h=a(t.nodeType);if(!h&&$n(t,e))S(t,e,l,null,null,o);else{if(h){if(1===t.nodeType&&t.hasAttribute(F)&&(t.removeAttribute(F),r=!0),s(r)&&I(t,e,l))return x(e,l,!0),t;u=t,t=new dt(f.tagName(u).toLowerCase(),{},[],void 0,u)}var d=t.elm,v=f.parentNode(d);if(p(e,l,d._leaveCb?null:v,f.nextSibling(d)),a(e.parent))for(var y=e.parent,m=g(e);y;){for(var b=0;b<n.destroy.length;++b)n.destroy[b](y);if(y.elm=e.elm,m){for(var w=0;w<n.create.length;++w)n.create[w](kn,y);var A=y.data.hook.insert;if(A.merged)for(var O=A.fns.slice(1),T=0;T<O.length;T++)O[T]()}else Pn(y);y=y.parent}a(v)?_([t],0,0):a(t.tag)&&E(t)}}return x(e,l,c),e.elm}a(t)&&E(t)}}({nodeOps:Ln,modules:[Wn,Qn,so,fo,_o,K?{create:Xo,activate:Xo,remove:function(t,e){!0!==t.data.show?qo(t,e):e()}}:{}].concat(qn)});Z&&document.addEventListener("selectionchange",(function(){var t=document.activeElement;t&&t.vmodel&&ni(t,"input")}));var Ko={inserted:function(t,e,r,n){"select"===r.tag?(n.elm&&!n.elm._vOptions?Kt(r,"postpatch",(function(){Ko.componentUpdated(t,e,r)})):Jo(t,e,r.context),t._vOptions=[].map.call(t.options,ti)):("textarea"===r.tag||Cn(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",ei),t.addEventListener("compositionend",ri),t.addEventListener("change",ri),Z&&(t.vmodel=!0)))},componentUpdated:function(t,e,r){if("select"===r.tag){Jo(t,e,r.context);var n=t._vOptions,o=t._vOptions=[].map.call(t.options,ti);if(o.some((function(t,e){return!$(t,n[e])})))(t.multiple?e.value.some((function(t){return Zo(t,o)})):e.value!==e.oldValue&&Zo(e.value,o))&&ni(t,"change")}}};function Jo(t,e,r){Qo(t,e,r),(Q||tt)&&setTimeout((function(){Qo(t,e,r)}),0)}function Qo(t,e,r){var n=e.value,o=t.multiple;if(!o||Array.isArray(n)){for(var i,a,s=0,u=t.options.length;s<u;s++)if(a=t.options[s],o)i=U(n,ti(a))>-1,a.selected!==i&&(a.selected=i);else if($(ti(a),n))return void(t.selectedIndex!==s&&(t.selectedIndex=s));o||(t.selectedIndex=-1)}}function Zo(t,e){return e.every((function(e){return!$(e,t)}))}function ti(t){return"_value"in t?t._value:t.value}function ei(t){t.target.composing=!0}function ri(t){t.target.composing&&(t.target.composing=!1,ni(t.target,"input"))}function ni(t,e){var r=document.createEvent("HTMLEvents");r.initEvent(e,!0,!0),t.dispatchEvent(r)}function oi(t){return!t.componentInstance||t.data&&t.data.transition?t:oi(t.componentInstance._vnode)}var ii={bind:function(t,e,r){var n=e.value,o=(r=oi(r)).data&&r.data.transition,i=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;n&&o?(r.data.show=!0,Vo(r,(function(){t.style.display=i}))):t.style.display=n?i:"none"},update:function(t,e,r){var n=e.value;!n!=!e.oldValue&&((r=oi(r)).data&&r.data.transition?(r.data.show=!0,n?Vo(r,(function(){t.style.display=t.__vOriginalDisplay})):qo(r,(function(){t.style.display="none"}))):t.style.display=n?t.__vOriginalDisplay:"none")},unbind:function(t,e,r,n,o){o||(t.style.display=t.__vOriginalDisplay)}},ai={model:Ko,show:ii},si={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function ui(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?ui(Ie(e.children)):t}function ci(t){var e={},r=t.$options;for(var n in r.propsData)e[n]=t[n];var o=r._parentListeners;for(var n in o)e[x(n)]=o[n];return e}function fi(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}var li=function(t){return t.tag||me(t)},pi=function(t){return"show"===t.name},hi={name:"transition",props:si,abstract:!0,render:function(t){var e=this,r=this.$slots.default;if(r&&(r=r.filter(li)).length){0;var n=this.mode;0;var o=r[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return o;var i=ui(o);if(!i)return o;if(this._leaving)return fi(t,o);var a="__transition-".concat(this._uid,"-");i.key=null==i.key?i.isComment?a+"comment":a+i.tag:u(i.key)?0===String(i.key).indexOf(a)?i.key:a+i.key:i.key;var s=(i.data||(i.data={})).transition=ci(this),c=this._vnode,f=ui(c);if(i.data.directives&&i.data.directives.some(pi)&&(i.data.show=!0),f&&f.data&&!function(t,e){return e.key===t.key&&e.tag===t.tag}(i,f)&&!me(f)&&(!f.componentInstance||!f.componentInstance._vnode.isComment)){var l=f.data.transition=N({},s);if("out-in"===n)return this._leaving=!0,Kt(l,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),fi(t,o);if("in-out"===n){if(me(i))return c;var p,h=function(){p()};Kt(s,"afterEnter",h),Kt(s,"enterCancelled",h),Kt(l,"delayLeave",(function(t){p=t}))}}return o}}},di=N({tag:String,moveClass:String},si);delete di.mode;var vi={props:di,beforeMount:function(){var t=this,e=this._update;this._update=function(r,n){var o=ir(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,o(),e.call(t,r,n)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",r=Object.create(null),n=this.prevChildren=this.children,o=this.$slots.default||[],i=this.children=[],a=ci(this),s=0;s<o.length;s++){if((f=o[s]).tag)if(null!=f.key&&0!==String(f.key).indexOf("__vlist"))i.push(f),r[f.key]=f,(f.data||(f.data={})).transition=a;else;}if(n){var u=[],c=[];for(s=0;s<n.length;s++){var f;(f=n[s]).data.transition=a,f.data.pos=f.elm.getBoundingClientRect(),r[f.key]?u.push(f):c.push(f)}this.kept=t(e,null,u),this.removed=c}return t(e,null,i)},updated:function(){var t=this.prevChildren,e=this.moveClass||(this.name||"v")+"-move";t.length&&this.hasMove(t[0].elm,e)&&(t.forEach(gi),t.forEach(yi),t.forEach(mi),this._reflow=document.body.offsetHeight,t.forEach((function(t){if(t.data.moved){var r=t.elm,n=r.style;$o(r,e),n.transform=n.WebkitTransform=n.transitionDuration="",r.addEventListener(No,r._moveCb=function t(n){n&&n.target!==r||n&&!/transform$/.test(n.propertyName)||(r.removeEventListener(No,t),r._moveCb=null,Uo(r,e))})}})))},methods:{hasMove:function(t,e){if(!Io)return!1;if(this._hasMove)return this._hasMove;var r=t.cloneNode();t._transitionClasses&&t._transitionClasses.forEach((function(t){So(r,t)})),Oo(r,e),r.style.display="none",this.$el.appendChild(r);var n=Fo(r);return this.$el.removeChild(r),this._hasMove=n.hasTransform}}};function gi(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function yi(t){t.data.newPos=t.elm.getBoundingClientRect()}function mi(t){var e=t.data.pos,r=t.data.newPos,n=e.left-r.left,o=e.top-r.top;if(n||o){t.data.moved=!0;var i=t.elm.style;i.transform=i.WebkitTransform="translate(".concat(n,"px,").concat(o,"px)"),i.transitionDuration="0s"}}var bi={Transition:hi,TransitionGroup:vi};en.config.mustUseProp=function(t,e,r){return"value"===r&&pn(t)&&"button"!==e||"selected"===r&&"option"===t||"checked"===r&&"input"===t||"muted"===r&&"video"===t},en.config.isReservedTag=In,en.config.isReservedAttr=ln,en.config.getTagNamespace=function(t){return Tn(t)?"svg":"math"===t?"math":void 0},en.config.isUnknownElement=function(t){if(!K)return!0;if(In(t))return!1;if(t=t.toLowerCase(),null!=Rn[t])return Rn[t];var e=document.createElement(t);return t.indexOf("-")>-1?Rn[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Rn[t]=/HTMLUnknownElement/.test(e.toString())},N(en.options.directives,ai),N(en.options.components,bi),en.prototype.__patch__=K?Wo:B,en.prototype.$mount=function(t,e){return function(t,e,r){var n;t.$el=e,t.$options.render||(t.$options.render=vt),cr(t,"beforeMount"),n=function(){t._update(t._render(),r)},new Ze(t,n,B,{before:function(){t._isMounted&&!t._isDestroyed&&cr(t,"beforeUpdate")}},!0),r=!1;var o=t._preWatchers;if(o)for(var i=0;i<o.length;i++)o[i].run();return null==t.$vnode&&(t._isMounted=!0,cr(t,"mounted")),t}(this,t=t&&K?function(t){if("string"==typeof t){return document.querySelector(t)||document.createElement("div")}return t}(t):void 0,e)},K&&setTimeout((function(){V.devtools&&ut&&ut.emit("init",en)}),0);var wi=n(7907),Ei=n(2426);class _i{bus;constructor(t){"function"==typeof t.getVersion&&wi(t.getVersion())?Ei(t.getVersion())!==Ei(this.getVersion())&&console.warn("Proxying an event bus of version "+t.getVersion()+" with "+this.getVersion()):console.warn("Proxying an event bus with an unknown or invalid version"),this.bus=t}getVersion(){return"3.1.0"}subscribe(t,e){this.bus.subscribe(t,e)}unsubscribe(t,e){this.bus.unsubscribe(t,e)}emit(t,e){this.bus.emit(t,e)}}class Ai{handlers=new Map;getVersion(){return"3.1.0"}subscribe(t,e){this.handlers.set(t,(this.handlers.get(t)||[]).concat(e))}unsubscribe(t,e){this.handlers.set(t,(this.handlers.get(t)||[]).filter((t=>t!=e)))}emit(t,e){(this.handlers.get(t)||[]).forEach((t=>{try{t(e)}catch(t){console.error("could not invoke event listener",t)}}))}}let Oi,Si=null;function xi(){return null!==Si?Si:"undefined"==typeof window?new Proxy({},{get:()=>()=>console.error("Window not available, EventBus can not be established!")}):(void 0!==window.OC&&window.OC._eventBus&&void 0===window._nc_event_bus&&(console.warn("found old event bus instance at OC._eventBus. Update your version!"),window._nc_event_bus=window.OC._eventBus),Si=void 0!==window?._nc_event_bus?new _i(window._nc_event_bus):window._nc_event_bus=new Ai,Si)}const Ti=[];var Ii,Ri;Ii="csrf-token-update",Ri=t=>{Oi=t.token,Ti.forEach((e=>{try{e(t.token)}catch(t){console.error("error updating CSRF token observer",t)}}))},xi().subscribe(Ii,Ri);const Ci=(t,e)=>t?t.getAttribute(e):null;let Li;var Ni=(0,n(7499).IY)().setApp("twofactor_totp"),Pi=function(){if(void 0!==Li)return Li;const t=document?.getElementsByTagName("head")[0];if(!t)return null;const e=Ci(t,"data-user");return null===e?(Li=null,Li):(Li={uid:e,displayName:Ci(t,"data-user-displayname"),isAdmin:"undefined"!=typeof OC&&OC.isUserAdmin()},Li)}();null!==Pi&&Ni.setUid(Pi.uid);const Bi=Ni.build();function ki(t,e){return function(){return t.apply(e,arguments)}}const{toString:ji}=Object.prototype,{getPrototypeOf:$i}=Object,Ui=(Mi=Object.create(null),t=>{const e=ji.call(t);return Mi[e]||(Mi[e]=e.slice(8,-1).toLowerCase())});var Mi;const Di=t=>(t=t.toLowerCase(),e=>Ui(e)===t),Fi=t=>e=>typeof e===t,{isArray:zi}=Array,Gi=Fi("undefined");const Vi=Di("ArrayBuffer");const qi=Fi("string"),Hi=Fi("function"),Yi=Fi("number"),Xi=t=>null!==t&&"object"==typeof t,Wi=t=>{if("object"!==Ui(t))return!1;const e=$i(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e)||Symbol.toStringTag in t||Symbol.iterator in t)},Ki=Di("Date"),Ji=Di("File"),Qi=Di("Blob"),Zi=Di("FileList"),ta=Di("URLSearchParams");function ea(t,e,{allOwnKeys:r=!1}={}){if(null==t)return;let n,o;if("object"!=typeof t&&(t=[t]),zi(t))for(n=0,o=t.length;n<o;n++)e.call(null,t[n],n,t);else{const o=r?Object.getOwnPropertyNames(t):Object.keys(t),i=o.length;let a;for(n=0;n<i;n++)a=o[n],e.call(null,t[a],a,t)}}function ra(t,e){e=e.toLowerCase();const r=Object.keys(t);let n,o=r.length;for(;o-- >0;)if(n=r[o],e===n.toLowerCase())return n;return null}const na="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,oa=t=>!Gi(t)&&t!==na;const ia=(aa="undefined"!=typeof Uint8Array&&$i(Uint8Array),t=>aa&&t instanceof aa);var aa;const sa=Di("HTMLFormElement"),ua=(({hasOwnProperty:t})=>(e,r)=>t.call(e,r))(Object.prototype),ca=Di("RegExp"),fa=(t,e)=>{const r=Object.getOwnPropertyDescriptors(t),n={};ea(r,((r,o)=>{let i;!1!==(i=e(r,o,t))&&(n[o]=i||r)})),Object.defineProperties(t,n)},la="abcdefghijklmnopqrstuvwxyz",pa="0123456789",ha={DIGIT:pa,ALPHA:la,ALPHA_DIGIT:la+la.toUpperCase()+pa};const da=Di("AsyncFunction"),va={isArray:zi,isArrayBuffer:Vi,isBuffer:function(t){return null!==t&&!Gi(t)&&null!==t.constructor&&!Gi(t.constructor)&&Hi(t.constructor.isBuffer)&&t.constructor.isBuffer(t)},isFormData:t=>{let e;return t&&("function"==typeof FormData&&t instanceof FormData||Hi(t.append)&&("formdata"===(e=Ui(t))||"object"===e&&Hi(t.toString)&&"[object FormData]"===t.toString()))},isArrayBufferView:function(t){let e;return e="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&Vi(t.buffer),e},isString:qi,isNumber:Yi,isBoolean:t=>!0===t||!1===t,isObject:Xi,isPlainObject:Wi,isUndefined:Gi,isDate:Ki,isFile:Ji,isBlob:Qi,isRegExp:ca,isFunction:Hi,isStream:t=>Xi(t)&&Hi(t.pipe),isURLSearchParams:ta,isTypedArray:ia,isFileList:Zi,forEach:ea,merge:function t(){const{caseless:e}=oa(this)&&this||{},r={},n=(n,o)=>{const i=e&&ra(r,o)||o;Wi(r[i])&&Wi(n)?r[i]=t(r[i],n):Wi(n)?r[i]=t({},n):zi(n)?r[i]=n.slice():r[i]=n};for(let t=0,e=arguments.length;t<e;t++)arguments[t]&&ea(arguments[t],n);return r},extend:(t,e,r,{allOwnKeys:n}={})=>(ea(e,((e,n)=>{r&&Hi(e)?t[n]=ki(e,r):t[n]=e}),{allOwnKeys:n}),t),trim:t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:t=>(65279===t.charCodeAt(0)&&(t=t.slice(1)),t),inherits:(t,e,r,n)=>{t.prototype=Object.create(e.prototype,n),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),r&&Object.assign(t.prototype,r)},toFlatObject:(t,e,r,n)=>{let o,i,a;const s={};if(e=e||{},null==t)return e;do{for(o=Object.getOwnPropertyNames(t),i=o.length;i-- >0;)a=o[i],n&&!n(a,t,e)||s[a]||(e[a]=t[a],s[a]=!0);t=!1!==r&&$i(t)}while(t&&(!r||r(t,e))&&t!==Object.prototype);return e},kindOf:Ui,kindOfTest:Di,endsWith:(t,e,r)=>{t=String(t),(void 0===r||r>t.length)&&(r=t.length),r-=e.length;const n=t.indexOf(e,r);return-1!==n&&n===r},toArray:t=>{if(!t)return null;if(zi(t))return t;let e=t.length;if(!Yi(e))return null;const r=new Array(e);for(;e-- >0;)r[e]=t[e];return r},forEachEntry:(t,e)=>{const r=(t&&t[Symbol.iterator]).call(t);let n;for(;(n=r.next())&&!n.done;){const r=n.value;e.call(t,r[0],r[1])}},matchAll:(t,e)=>{let r;const n=[];for(;null!==(r=t.exec(e));)n.push(r);return n},isHTMLForm:sa,hasOwnProperty:ua,hasOwnProp:ua,reduceDescriptors:fa,freezeMethods:t=>{fa(t,((e,r)=>{if(Hi(t)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;const n=t[r];Hi(n)&&(e.enumerable=!1,"writable"in e?e.writable=!1:e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")}))}))},toObjectSet:(t,e)=>{const r={},n=t=>{t.forEach((t=>{r[t]=!0}))};return zi(t)?n(t):n(String(t).split(e)),r},toCamelCase:t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(t,e,r){return e.toUpperCase()+r})),noop:()=>{},toFiniteNumber:(t,e)=>(t=+t,Number.isFinite(t)?t:e),findKey:ra,global:na,isContextDefined:oa,ALPHABET:ha,generateString:(t=16,e=ha.ALPHA_DIGIT)=>{let r="";const{length:n}=e;for(;t--;)r+=e[Math.random()*n|0];return r},isSpecCompliantForm:function(t){return!!(t&&Hi(t.append)&&"FormData"===t[Symbol.toStringTag]&&t[Symbol.iterator])},toJSONObject:t=>{const e=new Array(10),r=(t,n)=>{if(Xi(t)){if(e.indexOf(t)>=0)return;if(!("toJSON"in t)){e[n]=t;const o=zi(t)?[]:{};return ea(t,((t,e)=>{const i=r(t,n+1);!Gi(i)&&(o[e]=i)})),e[n]=void 0,o}}return t};return r(t,0)},isAsyncFn:da,isThenable:t=>t&&(Xi(t)||Hi(t))&&Hi(t.then)&&Hi(t.catch)};function ga(t,e,r,n,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=t,this.name="AxiosError",e&&(this.code=e),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o)}va.inherits(ga,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:va.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const ya=ga.prototype,ma={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((t=>{ma[t]={value:t}})),Object.defineProperties(ga,ma),Object.defineProperty(ya,"isAxiosError",{value:!0}),ga.from=(t,e,r,n,o,i)=>{const a=Object.create(ya);return va.toFlatObject(t,a,(function(t){return t!==Error.prototype}),(t=>"isAxiosError"!==t)),ga.call(a,t.message,e,r,n,o),a.cause=t,a.name=t.name,i&&Object.assign(a,i),a};const ba=ga,wa=null;var Ea=n(8764).lW;function _a(t){return va.isPlainObject(t)||va.isArray(t)}function Aa(t){return va.endsWith(t,"[]")?t.slice(0,-2):t}function Oa(t,e,r){return t?t.concat(e).map((function(t,e){return t=Aa(t),!r&&e?"["+t+"]":t})).join(r?".":""):e}const Sa=va.toFlatObject(va,{},null,(function(t){return/^is[A-Z]/.test(t)}));const xa=function(t,e,r){if(!va.isObject(t))throw new TypeError("target must be an object");e=e||new(wa||FormData);const n=(r=va.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(t,e){return!va.isUndefined(e[t])}))).metaTokens,o=r.visitor||c,i=r.dots,a=r.indexes,s=(r.Blob||"undefined"!=typeof Blob&&Blob)&&va.isSpecCompliantForm(e);if(!va.isFunction(o))throw new TypeError("visitor must be a function");function u(t){if(null===t)return"";if(va.isDate(t))return t.toISOString();if(!s&&va.isBlob(t))throw new ba("Blob is not supported. Use a Buffer instead.");return va.isArrayBuffer(t)||va.isTypedArray(t)?s&&"function"==typeof Blob?new Blob([t]):Ea.from(t):t}function c(t,r,o){let s=t;if(t&&!o&&"object"==typeof t)if(va.endsWith(r,"{}"))r=n?r:r.slice(0,-2),t=JSON.stringify(t);else if(va.isArray(t)&&function(t){return va.isArray(t)&&!t.some(_a)}(t)||(va.isFileList(t)||va.endsWith(r,"[]"))&&(s=va.toArray(t)))return r=Aa(r),s.forEach((function(t,n){!va.isUndefined(t)&&null!==t&&e.append(!0===a?Oa([r],n,i):null===a?r:r+"[]",u(t))})),!1;return!!_a(t)||(e.append(Oa(o,r,i),u(t)),!1)}const f=[],l=Object.assign(Sa,{defaultVisitor:c,convertValue:u,isVisitable:_a});if(!va.isObject(t))throw new TypeError("data must be an object");return function t(r,n){if(!va.isUndefined(r)){if(-1!==f.indexOf(r))throw Error("Circular reference detected in "+n.join("."));f.push(r),va.forEach(r,(function(r,i){!0===(!(va.isUndefined(r)||null===r)&&o.call(e,r,va.isString(i)?i.trim():i,n,l))&&t(r,n?n.concat(i):[i])})),f.pop()}}(t),e};function Ta(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,(function(t){return e[t]}))}function Ia(t,e){this._pairs=[],t&&xa(t,this,e)}const Ra=Ia.prototype;Ra.append=function(t,e){this._pairs.push([t,e])},Ra.toString=function(t){const e=t?function(e){return t.call(this,e,Ta)}:Ta;return this._pairs.map((function(t){return e(t[0])+"="+e(t[1])}),"").join("&")};const Ca=Ia;function La(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Na(t,e,r){if(!e)return t;const n=r&&r.encode||La,o=r&&r.serialize;let i;if(i=o?o(e,r):va.isURLSearchParams(e)?e.toString():new Ca(e,r).toString(n),i){const e=t.indexOf("#");-1!==e&&(t=t.slice(0,e)),t+=(-1===t.indexOf("?")?"?":"&")+i}return t}const Pa=class{constructor(){this.handlers=[]}use(t,e,r){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){va.forEach(this.handlers,(function(e){null!==e&&t(e)}))}},Ba={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ka={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:Ca,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},ja="undefined"!=typeof window&&"undefined"!=typeof document,$a=(Ua="undefined"!=typeof navigator&&navigator.product,ja&&["ReactNative","NativeScript","NS"].indexOf(Ua)<0);var Ua;const Ma="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,Da={...e,...ka};const Fa=function(t){function e(t,r,n,o){let i=t[o++];if("__proto__"===i)return!0;const a=Number.isFinite(+i),s=o>=t.length;if(i=!i&&va.isArray(n)?n.length:i,s)return va.hasOwnProp(n,i)?n[i]=[n[i],r]:n[i]=r,!a;n[i]&&va.isObject(n[i])||(n[i]=[]);return e(t,r,n[i],o)&&va.isArray(n[i])&&(n[i]=function(t){const e={},r=Object.keys(t);let n;const o=r.length;let i;for(n=0;n<o;n++)i=r[n],e[i]=t[i];return e}(n[i])),!a}if(va.isFormData(t)&&va.isFunction(t.entries)){const r={};return va.forEachEntry(t,((t,n)=>{e(function(t){return va.matchAll(/\w+|\[(\w*)]/g,t).map((t=>"[]"===t[0]?"":t[1]||t[0]))}(t),n,r,0)})),r}return null};const za={transitional:Ba,adapter:["xhr","http"],transformRequest:[function(t,e){const r=e.getContentType()||"",n=r.indexOf("application/json")>-1,o=va.isObject(t);o&&va.isHTMLForm(t)&&(t=new FormData(t));if(va.isFormData(t))return n?JSON.stringify(Fa(t)):t;if(va.isArrayBuffer(t)||va.isBuffer(t)||va.isStream(t)||va.isFile(t)||va.isBlob(t))return t;if(va.isArrayBufferView(t))return t.buffer;if(va.isURLSearchParams(t))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let i;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return function(t,e){return xa(t,new Da.classes.URLSearchParams,Object.assign({visitor:function(t,e,r,n){return Da.isNode&&va.isBuffer(t)?(this.append(e,t.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},e))}(t,this.formSerializer).toString();if((i=va.isFileList(t))||r.indexOf("multipart/form-data")>-1){const e=this.env&&this.env.FormData;return xa(i?{"files[]":t}:t,e&&new e,this.formSerializer)}}return o||n?(e.setContentType("application/json",!1),function(t,e,r){if(va.isString(t))try{return(e||JSON.parse)(t),va.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(r||JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){const e=this.transitional||za.transitional,r=e&&e.forcedJSONParsing,n="json"===this.responseType;if(t&&va.isString(t)&&(r&&!this.responseType||n)){const r=!(e&&e.silentJSONParsing)&&n;try{return JSON.parse(t)}catch(t){if(r){if("SyntaxError"===t.name)throw ba.from(t,ba.ERR_BAD_RESPONSE,this,null,this.response);throw t}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Da.classes.FormData,Blob:Da.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};va.forEach(["delete","get","head","post","put","patch"],(t=>{za.headers[t]={}}));const Ga=za,Va=va.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),qa=Symbol("internals");function Ha(t){return t&&String(t).trim().toLowerCase()}function Ya(t){return!1===t||null==t?t:va.isArray(t)?t.map(Ya):String(t)}function Xa(t,e,r,n,o){return va.isFunction(n)?n.call(this,e,r):(o&&(e=r),va.isString(e)?va.isString(n)?-1!==e.indexOf(n):va.isRegExp(n)?n.test(e):void 0:void 0)}class Wa{constructor(t){t&&this.set(t)}set(t,e,r){const n=this;function o(t,e,r){const o=Ha(e);if(!o)throw new Error("header name must be a non-empty string");const i=va.findKey(n,o);(!i||void 0===n[i]||!0===r||void 0===r&&!1!==n[i])&&(n[i||e]=Ya(t))}const i=(t,e)=>va.forEach(t,((t,r)=>o(t,r,e)));return va.isPlainObject(t)||t instanceof this.constructor?i(t,e):va.isString(t)&&(t=t.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim())?i((t=>{const e={};let r,n,o;return t&&t.split("\n").forEach((function(t){o=t.indexOf(":"),r=t.substring(0,o).trim().toLowerCase(),n=t.substring(o+1).trim(),!r||e[r]&&Va[r]||("set-cookie"===r?e[r]?e[r].push(n):e[r]=[n]:e[r]=e[r]?e[r]+", "+n:n)})),e})(t),e):null!=t&&o(e,t,r),this}get(t,e){if(t=Ha(t)){const r=va.findKey(this,t);if(r){const t=this[r];if(!e)return t;if(!0===e)return function(t){const e=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(t);)e[n[1]]=n[2];return e}(t);if(va.isFunction(e))return e.call(this,t,r);if(va.isRegExp(e))return e.exec(t);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,e){if(t=Ha(t)){const r=va.findKey(this,t);return!(!r||void 0===this[r]||e&&!Xa(0,this[r],r,e))}return!1}delete(t,e){const r=this;let n=!1;function o(t){if(t=Ha(t)){const o=va.findKey(r,t);!o||e&&!Xa(0,r[o],o,e)||(delete r[o],n=!0)}}return va.isArray(t)?t.forEach(o):o(t),n}clear(t){const e=Object.keys(this);let r=e.length,n=!1;for(;r--;){const o=e[r];t&&!Xa(0,this[o],o,t,!0)||(delete this[o],n=!0)}return n}normalize(t){const e=this,r={};return va.forEach(this,((n,o)=>{const i=va.findKey(r,o);if(i)return e[i]=Ya(n),void delete e[o];const a=t?function(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((t,e,r)=>e.toUpperCase()+r))}(o):String(o).trim();a!==o&&delete e[o],e[a]=Ya(n),r[a]=!0})),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const e=Object.create(null);return va.forEach(this,((r,n)=>{null!=r&&!1!==r&&(e[n]=t&&va.isArray(r)?r.join(", "):r)})),e}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([t,e])=>t+": "+e)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...e){const r=new this(t);return e.forEach((t=>r.set(t))),r}static accessor(t){const e=(this[qa]=this[qa]={accessors:{}}).accessors,r=this.prototype;function n(t){const n=Ha(t);e[n]||(!function(t,e){const r=va.toCamelCase(" "+e);["get","set","has"].forEach((n=>{Object.defineProperty(t,n+r,{value:function(t,r,o){return this[n].call(this,e,t,r,o)},configurable:!0})}))}(r,t),e[n]=!0)}return va.isArray(t)?t.forEach(n):n(t),this}}Wa.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),va.reduceDescriptors(Wa.prototype,(({value:t},e)=>{let r=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(t){this[r]=t}}})),va.freezeMethods(Wa);const Ka=Wa;function Ja(t,e){const r=this||Ga,n=e||r,o=Ka.from(n.headers);let i=n.data;return va.forEach(t,(function(t){i=t.call(r,i,o.normalize(),e?e.status:void 0)})),o.normalize(),i}function Qa(t){return!(!t||!t.__CANCEL__)}function Za(t,e,r){ba.call(this,null==t?"canceled":t,ba.ERR_CANCELED,e,r),this.name="CanceledError"}va.inherits(Za,ba,{__CANCEL__:!0});const ts=Za;const es=Da.hasStandardBrowserEnv?{write(t,e,r,n,o,i){const a=[t+"="+encodeURIComponent(e)];va.isNumber(r)&&a.push("expires="+new Date(r).toGMTString()),va.isString(n)&&a.push("path="+n),va.isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function rs(t,e){return t&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)?function(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}(t,e):e}const ns=Da.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),e=document.createElement("a");let r;function n(r){let n=r;return t&&(e.setAttribute("href",n),n=e.href),e.setAttribute("href",n),{href:e.href,protocol:e.protocol?e.protocol.replace(/:$/,""):"",host:e.host,search:e.search?e.search.replace(/^\?/,""):"",hash:e.hash?e.hash.replace(/^#/,""):"",hostname:e.hostname,port:e.port,pathname:"/"===e.pathname.charAt(0)?e.pathname:"/"+e.pathname}}return r=n(window.location.href),function(t){const e=va.isString(t)?n(t):t;return e.protocol===r.protocol&&e.host===r.host}}():function(){return!0};const os=function(t,e){t=t||10;const r=new Array(t),n=new Array(t);let o,i=0,a=0;return e=void 0!==e?e:1e3,function(s){const u=Date.now(),c=n[a];o||(o=u),r[i]=s,n[i]=u;let f=a,l=0;for(;f!==i;)l+=r[f++],f%=t;if(i=(i+1)%t,i===a&&(a=(a+1)%t),u-o<e)return;const p=c&&u-c;return p?Math.round(1e3*l/p):void 0}};function is(t,e){let r=0;const n=os(50,250);return o=>{const i=o.loaded,a=o.lengthComputable?o.total:void 0,s=i-r,u=n(s);r=i;const c={loaded:i,total:a,progress:a?i/a:void 0,bytes:s,rate:u||void 0,estimated:u&&a&&i<=a?(a-i)/u:void 0,event:o};c[e?"download":"upload"]=!0,t(c)}}const as="undefined"!=typeof XMLHttpRequest&&function(t){return new Promise((function(e,r){let n=t.data;const o=Ka.from(t.headers).normalize();let i,a,{responseType:s,withXSRFToken:u}=t;function c(){t.cancelToken&&t.cancelToken.unsubscribe(i),t.signal&&t.signal.removeEventListener("abort",i)}if(va.isFormData(n))if(Da.hasStandardBrowserEnv||Da.hasStandardBrowserWebWorkerEnv)o.setContentType(!1);else if(!1!==(a=o.getContentType())){const[t,...e]=a?a.split(";").map((t=>t.trim())).filter(Boolean):[];o.setContentType([t||"multipart/form-data",...e].join("; "))}let f=new XMLHttpRequest;if(t.auth){const e=t.auth.username||"",r=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";o.set("Authorization","Basic "+btoa(e+":"+r))}const l=rs(t.baseURL,t.url);function p(){if(!f)return;const n=Ka.from("getAllResponseHeaders"in f&&f.getAllResponseHeaders());!function(t,e,r){const n=r.config.validateStatus;r.status&&n&&!n(r.status)?e(new ba("Request failed with status code "+r.status,[ba.ERR_BAD_REQUEST,ba.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r)):t(r)}((function(t){e(t),c()}),(function(t){r(t),c()}),{data:s&&"text"!==s&&"json"!==s?f.response:f.responseText,status:f.status,statusText:f.statusText,headers:n,config:t,request:f}),f=null}if(f.open(t.method.toUpperCase(),Na(l,t.params,t.paramsSerializer),!0),f.timeout=t.timeout,"onloadend"in f?f.onloadend=p:f.onreadystatechange=function(){f&&4===f.readyState&&(0!==f.status||f.responseURL&&0===f.responseURL.indexOf("file:"))&&setTimeout(p)},f.onabort=function(){f&&(r(new ba("Request aborted",ba.ECONNABORTED,t,f)),f=null)},f.onerror=function(){r(new ba("Network Error",ba.ERR_NETWORK,t,f)),f=null},f.ontimeout=function(){let e=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const n=t.transitional||Ba;t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(new ba(e,n.clarifyTimeoutError?ba.ETIMEDOUT:ba.ECONNABORTED,t,f)),f=null},Da.hasStandardBrowserEnv&&(u&&va.isFunction(u)&&(u=u(t)),u||!1!==u&&ns(l))){const e=t.xsrfHeaderName&&t.xsrfCookieName&&es.read(t.xsrfCookieName);e&&o.set(t.xsrfHeaderName,e)}void 0===n&&o.setContentType(null),"setRequestHeader"in f&&va.forEach(o.toJSON(),(function(t,e){f.setRequestHeader(e,t)})),va.isUndefined(t.withCredentials)||(f.withCredentials=!!t.withCredentials),s&&"json"!==s&&(f.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&f.addEventListener("progress",is(t.onDownloadProgress,!0)),"function"==typeof t.onUploadProgress&&f.upload&&f.upload.addEventListener("progress",is(t.onUploadProgress)),(t.cancelToken||t.signal)&&(i=e=>{f&&(r(!e||e.type?new ts(null,t,f):e),f.abort(),f=null)},t.cancelToken&&t.cancelToken.subscribe(i),t.signal&&(t.signal.aborted?i():t.signal.addEventListener("abort",i)));const h=function(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}(l);h&&-1===Da.protocols.indexOf(h)?r(new ba("Unsupported protocol "+h+":",ba.ERR_BAD_REQUEST,t)):f.send(n||null)}))},ss={http:wa,xhr:as};va.forEach(ss,((t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch(t){}Object.defineProperty(t,"adapterName",{value:e})}}));const us=t=>`- ${t}`,cs=t=>va.isFunction(t)||null===t||!1===t,fs={getAdapter:t=>{t=va.isArray(t)?t:[t];const{length:e}=t;let r,n;const o={};for(let i=0;i<e;i++){let e;if(r=t[i],n=r,!cs(r)&&(n=ss[(e=String(r)).toLowerCase()],void 0===n))throw new ba(`Unknown adapter '${e}'`);if(n)break;o[e||"#"+i]=n}if(!n){const t=Object.entries(o).map((([t,e])=>`adapter ${t} `+(!1===e?"is not supported by the environment":"is not available in the build")));let r=e?t.length>1?"since :\n"+t.map(us).join("\n"):" "+us(t[0]):"as no adapter specified";throw new ba("There is no suitable adapter to dispatch the request "+r,"ERR_NOT_SUPPORT")}return n},adapters:ss};function ls(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new ts(null,t)}function ps(t){ls(t),t.headers=Ka.from(t.headers),t.data=Ja.call(t,t.transformRequest),-1!==["post","put","patch"].indexOf(t.method)&&t.headers.setContentType("application/x-www-form-urlencoded",!1);return fs.getAdapter(t.adapter||Ga.adapter)(t).then((function(e){return ls(t),e.data=Ja.call(t,t.transformResponse,e),e.headers=Ka.from(e.headers),e}),(function(e){return Qa(e)||(ls(t),e&&e.response&&(e.response.data=Ja.call(t,t.transformResponse,e.response),e.response.headers=Ka.from(e.response.headers))),Promise.reject(e)}))}const hs=t=>t instanceof Ka?t.toJSON():t;function ds(t,e){e=e||{};const r={};function n(t,e,r){return va.isPlainObject(t)&&va.isPlainObject(e)?va.merge.call({caseless:r},t,e):va.isPlainObject(e)?va.merge({},e):va.isArray(e)?e.slice():e}function o(t,e,r){return va.isUndefined(e)?va.isUndefined(t)?void 0:n(void 0,t,r):n(t,e,r)}function i(t,e){if(!va.isUndefined(e))return n(void 0,e)}function a(t,e){return va.isUndefined(e)?va.isUndefined(t)?void 0:n(void 0,t):n(void 0,e)}function s(r,o,i){return i in e?n(r,o):i in t?n(void 0,r):void 0}const u={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(t,e)=>o(hs(t),hs(e),!0)};return va.forEach(Object.keys(Object.assign({},t,e)),(function(n){const i=u[n]||o,a=i(t[n],e[n],n);va.isUndefined(a)&&i!==s||(r[n]=a)})),r}const vs="1.6.7",gs={};["object","boolean","number","function","string","symbol"].forEach(((t,e)=>{gs[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}}));const ys={};gs.transitional=function(t,e,r){function n(t,e){return"[Axios v1.6.7] Transitional option '"+t+"'"+e+(r?". "+r:"")}return(r,o,i)=>{if(!1===t)throw new ba(n(o," has been removed"+(e?" in "+e:"")),ba.ERR_DEPRECATED);return e&&!ys[o]&&(ys[o]=!0,console.warn(n(o," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(r,o,i)}};const ms={assertOptions:function(t,e,r){if("object"!=typeof t)throw new ba("options must be an object",ba.ERR_BAD_OPTION_VALUE);const n=Object.keys(t);let o=n.length;for(;o-- >0;){const i=n[o],a=e[i];if(a){const e=t[i],r=void 0===e||a(e,i,t);if(!0!==r)throw new ba("option "+i+" must be "+r,ba.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new ba("Unknown option "+i,ba.ERR_BAD_OPTION)}},validators:gs},bs=ms.validators;class ws{constructor(t){this.defaults=t,this.interceptors={request:new Pa,response:new Pa}}async request(t,e){try{return await this._request(t,e)}catch(t){if(t instanceof Error){let e;Error.captureStackTrace?Error.captureStackTrace(e={}):e=new Error;const r=e.stack?e.stack.replace(/^.+\n/,""):"";t.stack?r&&!String(t.stack).endsWith(r.replace(/^.+\n.+\n/,""))&&(t.stack+="\n"+r):t.stack=r}throw t}}_request(t,e){"string"==typeof t?(e=e||{}).url=t:e=t||{},e=ds(this.defaults,e);const{transitional:r,paramsSerializer:n,headers:o}=e;void 0!==r&&ms.assertOptions(r,{silentJSONParsing:bs.transitional(bs.boolean),forcedJSONParsing:bs.transitional(bs.boolean),clarifyTimeoutError:bs.transitional(bs.boolean)},!1),null!=n&&(va.isFunction(n)?e.paramsSerializer={serialize:n}:ms.assertOptions(n,{encode:bs.function,serialize:bs.function},!0)),e.method=(e.method||this.defaults.method||"get").toLowerCase();let i=o&&va.merge(o.common,o[e.method]);o&&va.forEach(["delete","get","head","post","put","patch","common"],(t=>{delete o[t]})),e.headers=Ka.concat(i,o);const a=[];let s=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(s=s&&t.synchronous,a.unshift(t.fulfilled,t.rejected))}));const u=[];let c;this.interceptors.response.forEach((function(t){u.push(t.fulfilled,t.rejected)}));let f,l=0;if(!s){const t=[ps.bind(this),void 0];for(t.unshift.apply(t,a),t.push.apply(t,u),f=t.length,c=Promise.resolve(e);l<f;)c=c.then(t[l++],t[l++]);return c}f=a.length;let p=e;for(l=0;l<f;){const t=a[l++],e=a[l++];try{p=t(p)}catch(t){e.call(this,t);break}}try{c=ps.call(this,p)}catch(t){return Promise.reject(t)}for(l=0,f=u.length;l<f;)c=c.then(u[l++],u[l++]);return c}getUri(t){return Na(rs((t=ds(this.defaults,t)).baseURL,t.url),t.params,t.paramsSerializer)}}va.forEach(["delete","get","head","options"],(function(t){ws.prototype[t]=function(e,r){return this.request(ds(r||{},{method:t,url:e,data:(r||{}).data}))}})),va.forEach(["post","put","patch"],(function(t){function e(e){return function(r,n,o){return this.request(ds(o||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}ws.prototype[t]=e(),ws.prototype[t+"Form"]=e(!0)}));const Es=ws;class _s{constructor(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");let e;this.promise=new Promise((function(t){e=t}));const r=this;this.promise.then((t=>{if(!r._listeners)return;let e=r._listeners.length;for(;e-- >0;)r._listeners[e](t);r._listeners=null})),this.promise.then=t=>{let e;const n=new Promise((t=>{r.subscribe(t),e=t})).then(t);return n.cancel=function(){r.unsubscribe(e)},n},t((function(t,n,o){r.reason||(r.reason=new ts(t,n,o),e(r.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}static source(){let t;return{token:new _s((function(e){t=e})),cancel:t}}}const As=_s;const Os={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Os).forEach((([t,e])=>{Os[e]=t}));const Ss=Os;const xs=function t(e){const r=new Es(e),n=ki(Es.prototype.request,r);return va.extend(n,Es.prototype,r,{allOwnKeys:!0}),va.extend(n,r,null,{allOwnKeys:!0}),n.create=function(r){return t(ds(e,r))},n}(Ga);xs.Axios=Es,xs.CanceledError=ts,xs.CancelToken=As,xs.isCancel=Qa,xs.VERSION=vs,xs.toFormData=xa,xs.AxiosError=ba,xs.Cancel=xs.CanceledError,xs.all=function(t){return Promise.all(t)},xs.spread=function(t){return function(e){return t.apply(null,e)}},xs.isAxiosError=function(t){return va.isObject(t)&&!0===t.isAxiosError},xs.mergeConfig=ds,xs.AxiosHeaders=Ka,xs.formToJSON=t=>Fa(va.isHTMLForm(t)?new FormData(t):t),xs.getAdapter=fs.getAdapter,xs.HttpStatusCode=Ss,xs.default=xs;const Ts=xs;var Is=n(9753),Rs=function(){return Rs=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},Rs.apply(this,arguments)};function Cs(t,e,r,n){return new(r||(r=Promise))((function(o,i){function a(t){try{u(n.next(t))}catch(t){i(t)}}function s(t){try{u(n.throw(t))}catch(t){i(t)}}function u(t){var e;t.done?o(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,s)}u((n=n.apply(t,e||[])).next())}))}function Ls(t,e){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(u){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(r=1,n&&(o=2&s[0]?n.return:s[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,s[1])).done)return o;switch(n=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,n=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=e.call(t,a)}catch(t){s=[6,t],n=0}finally{r=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}}"function"==typeof SuppressedError&&SuppressedError;var Ns,Ps=Symbol("csrf-retry"),Bs=Symbol("retryDelay"),ks=Ts.create({headers:{requesttoken:null!==(Ns=function(){if(void 0===Oi){const t=document?.getElementsByTagName("head")[0];Oi=t?t.getAttribute("data-requesttoken"):null}return Oi}())&&void 0!==Ns?Ns:""}}),js=Object.assign(ks,{CancelToken:Ts.CancelToken,isCancel:Ts.isCancel});function $s(t){return $s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},$s(t)}function Us(){Us=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function f(t,e,r,n){var i=e&&e.prototype instanceof y?e:y,a=Object.create(i.prototype),s=new C(n||[]);return o(a,"_invoke",{value:x(t,r,s)}),a}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=f;var p="suspendedStart",h="suspendedYield",d="executing",v="completed",g={};function y(){}function m(){}function b(){}var w={};c(w,a,(function(){return this}));var E=Object.getPrototypeOf,_=E&&E(E(L([])));_&&_!==r&&n.call(_,a)&&(w=_);var A=b.prototype=y.prototype=Object.create(w);function O(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function S(t,e){function r(o,i,a,s){var u=l(t[o],t,i);if("throw"!==u.type){var c=u.arg,f=c.value;return f&&"object"==$s(f)&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,s)}),(function(t){r("throw",t,a,s)})):e.resolve(f).then((function(t){c.value=t,a(c)}),(function(t){return r("throw",t,a,s)}))}s(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function x(e,r,n){var o=p;return function(i,a){if(o===d)throw new Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var u=T(s,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var c=l(e,r,n);if("normal"===c.type){if(o=n.done?v:h,c.arg===g)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=v,n.method="throw",n.arg=c.arg)}}}function T(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,T(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=l(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function I(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function R(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function C(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(I,this),this.reset(!0)}function L(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw new TypeError($s(e)+" is not iterable")}return m.prototype=b,o(A,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:m,configurable:!0}),m.displayName=c(b,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,c(t,u,"GeneratorFunction")),t.prototype=Object.create(A),t},e.awrap=function(t){return{__await:t}},O(S.prototype),c(S.prototype,s,(function(){return this})),e.AsyncIterator=S,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new S(f(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},O(A),c(A,u,"Generator"),c(A,a,(function(){return this})),c(A,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=L,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(R),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return s.type="throw",s.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(u&&c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),R(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;R(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:L(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function Ms(t,e,r,n,o,i,a){try{var s=t[i](a),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,o)}js.interceptors.response.use((function(t){return t}),function(t){return function(e){return Cs(void 0,void 0,void 0,(function(){var r,n,o,i,a,s,u;return Ls(this,(function(c){switch(c.label){case 0:return r=e.config,n=e.response,o=e.request,i=null==o?void 0:o.responseURL,412!==(null==n?void 0:n.status)||"CSRF check failed"!==(null===(u=null==n?void 0:n.data)||void 0===u?void 0:u.message)||void 0!==r[Ps]?[3,2]:(console.warn("Request to ".concat(i," failed because of a CSRF mismatch. Fetching a new token")),[4,t.get((0,Is.nu)("/csrftoken"))]);case 1:return a=c.sent().data.token,console.debug("New request token ".concat(a," fetched")),t.defaults.headers.requesttoken=a,[2,t(Rs(Rs({},r),(s={headers:Rs(Rs({},r.headers),{requesttoken:a})},s[Ps]=!0,s)))];case 2:return[2,Promise.reject(e)]}}))}))}}(js)),js.interceptors.response.use((function(t){return t}),function(t){return function(e){return Cs(void 0,void 0,void 0,(function(){var r,n,o,i,a,s,u,c,f;return Ls(this,(function(l){switch(l.label){case 0:return r=e.config,n=e.response,o=e.request,i=null==o?void 0:o.responseURL,a=null==n?void 0:n.status,s=null==n?void 0:n.headers,503===a&&"1"===s["x-nextcloud-maintenance-mode"]&&r.retryIfMaintenanceMode&&(!r[Bs]||r[Bs]<=32)?(u=2*(null!==(f=r[Bs])&&void 0!==f?f:1),console.warn("Request to ".concat(i," failed because of maintenance mode. Retrying in ").concat(u,"s")),[4,new Promise((function(t){setTimeout(t,1e3*u)}))]):[3,2];case 1:return l.sent(),[2,t(Rs(Rs({},r),(c={},c[Bs]=u,c)))];case 2:return[2,Promise.reject(e)]}}))}))}}(js)),js.interceptors.response.use((function(t){return t}),(function(t){return Cs(void 0,void 0,void 0,(function(){var e,r,n,o,i;return Ls(this,(function(a){return e=t.config,r=t.response,n=t.request,o=null==n?void 0:n.responseURL,401===(null==r?void 0:r.status)&&"Current user is not logged in"===(null===(i=null==r?void 0:r.data)||void 0===i?void 0:i.message)&&e.reloadExpiredSession&&(null===window||void 0===window?void 0:window.location)&&(console.error("Request to ".concat(o," failed because the user session expired. Reloading the page …")),window.location.reload()),[2,Promise.reject(t)]}))}))})),function(t){Ti.push(t)}((function(t){ks.defaults.headers.requesttoken=t}));var Ds=function(){var t,e=(t=Us().mark((function t(e){var r,n;return Us().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=(0,Is.nu)("/apps/twofactor_totp/settings/enable"),t.next=3,js.post(r,e);case 3:return n=t.sent,t.abrupt("return",n.data);case 5:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Ms(i,n,o,a,s,"next",t)}function s(t){Ms(i,n,o,a,s,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}(),Fs=n(147);function zs(t,e,r,n,o,i,a,s){var u,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=r,c._compiled=!0),n&&(c.functional=!0),i&&(c._scopeId="data-v-"+i),a?(u=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},c._ssrRegister=u):o&&(u=s?function(){o.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:o),u)if(c.functional){c._injectStyles=u;var f=c.render;c.render=function(t,e){return u.call(e),f(t,e)}}else{var l=c.beforeCreate;c.beforeCreate=l?[].concat(l,u):[u]}return{exports:t,options:c}}const Gs=zs({name:"SetupConfirmation",components:{QR:n.n(Fs)()},props:{loading:{type:Boolean,default:!1},secret:{type:String,required:!0},qrUrl:{type:String,required:!0},confirmation:{type:String,default:""}},data:function(){return{confirmationCode:this.confirmation}},watch:{confirmation:function(t){this.confirmationCode=t}},methods:{confirm:function(){this.$emit("update:confirmation",this.confirmationCode),this.$emit("confirm")},onConfirmKeyDown:function(t){13===t.which&&this.confirm()}}},(function(){var t=this,e=t._self._c;return e("div",[e("p",[t._v("\n\t\t"+t._s(t.t("twofactor_totp","Your new TOTP secret is:"))+" "+t._s(t.secret)+"\n\t")]),t._v(" "),e("p",[t._v("\n\t\t"+t._s(t.t("twofactor_totp","For quick setup, scan this QR code with your TOTP app:"))+"\n\t")]),t._v(" "),e("QR",{attrs:{value:t.qrUrl,options:{width:150}}}),t._v(" "),e("p",[t._v("\n\t\t"+t._s(t.t("twofactor_totp","After you configured your app, enter a test code below to ensure everything works correctly:"))+"\n\t")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.confirmationCode,expression:"confirmationCode"}],attrs:{id:"totp-confirmation",type:"tel",minlength:"6",maxlength:"10",autocomplete:"off",autocapitalize:"off",disabled:t.loading,placeholder:t.t("twofactor_totp","Authentication code")},domProps:{value:t.confirmationCode},on:{keydown:t.onConfirmKeyDown,input:function(e){e.target.composing||(t.confirmationCode=e.target.value)}}}),t._v(" "),e("input",{attrs:{id:"totp-confirmation-submit",type:"button",disabled:t.loading,value:t.t("twofactor_totp","Verify")},on:{click:t.confirm}})],1)}),[],!1,null,null,null).exports,Vs=Object.freeze({STATE_DISABLED:0,STATE_CREATED:1,STATE_ENABLED:2}),qs={name:"LoginSetup",components:{SetupConfirmation:Gs},data:function(){return{loading:!0,confirmationLoading:!1,secret:"",qrUrl:"",confirmation:""}},mounted:function(){this.load()},methods:{load:function(){var t=this;this.loading=!0,Bi.info("starting TOTP setup"),Ds({state:Vs.STATE_CREATED}).then((function(e){var r=e.secret,n=e.qrUrl;Bi.info("TOTP secret received"),t.secret=r,t.qrUrl=n,t.loading=!1}))},confirm:function(){var t=this;this.loading=!0,Ds({state:Vs.STATE_ENABLED,code:this.confirmation}).then((function(e){e.state===Vs.STATE_ENABLED?(Bi.info("TOTP secret confirmed"),Bi.info("todo: submit"),t.$refs.confirmForm.submit()):(Bi.warn("TOTP confirmation failed"),t.loading=!1)}))}}};var Hs=n(3379),Ys=n.n(Hs),Xs=n(7795),Ws=n.n(Xs),Ks=n(569),Js=n.n(Ks),Qs=n(3565),Zs=n.n(Qs),tu=n(9216),eu=n.n(tu),ru=n(4589),nu=n.n(ru),ou=n(1039),iu={};iu.styleTagTransform=nu(),iu.setAttributes=Zs(),iu.insert=Js().bind(null,"head"),iu.domAPI=Ws(),iu.insertStyleElement=eu();Ys()(ou.Z,iu);ou.Z&&ou.Z.locals&&ou.Z.locals;const au=zs(qs,(function(){var t=this,e=t._self._c;return e("div",[t.loading?e("div",{staticClass:"loading"}):e("SetupConfirmation",{attrs:{loading:t.confirmationLoading,secret:t.secret,"qr-url":t.qrUrl,confirmation:t.confirmation},on:{"update:confirmation":function(e){t.confirmation=e},confirm:t.confirm}}),t._v(" "),e("form",{ref:"confirmForm",attrs:{method:"POST"}})],1)}),[],!1,null,"642efee7",null).exports;en.mixin({methods:{t}}),Bi.debug("rendering login setup view"),(new(en.extend(au))).$mount("#twofactor-totp-login-setup"),Bi.debug("login setup view rendered")})()})();
|
||
//# sourceMappingURL=twofactor_totp-main-login-setup.js.map?v=ee9f26a88ef7933bb101
|