iBet uBet web content aggregator. Adding the entire web to your favor.
iBet uBet web content aggregator. Adding the entire web to your favor.



Link to original content: http://www.nxt.statista.com/_nuxt/d20f4c5.js
/*! For license information please see LICENSES */ (window.webpackJsonp=window.webpackJsonp||[]).push([[25],[function(t,e,n){"use strict";n.d(e,"a",(function(){return d})),n.d(e,"b",(function(){return f})),n.d(e,"f",(function(){return h})),n.d(e,"g",(function(){return m})),n.d(e,"h",(function(){return v})),n.d(e,"i",(function(){return y})),n.d(e,"c",(function(){return _})),n.d(e,"e",(function(){return O})),n.d(e,"d",(function(){return k}));var r=n(2),o=function(){var t=[],e=[],n=new Set,d=function(n){return t.forEach((function(t){n.add(t.middleware,Object(r.__assign)({},t))})),e.forEach((function(t){n.addRelativeTo(t.middleware,Object(r.__assign)({},t))})),n},f=function(t){var e=[];return t.before.forEach((function(t){0===t.before.length&&0===t.after.length?e.push(t):e.push.apply(e,Object(r.__spread)(f(t)))})),e.push(t),t.after.reverse().forEach((function(t){0===t.before.length&&0===t.after.length?e.push(t):e.push.apply(e,Object(r.__spread)(f(t)))})),e},h=function(){var n,o=[],d=[],h={};return t.forEach((function(t){var e=Object(r.__assign)(Object(r.__assign)({},t),{before:[],after:[]});e.name&&(h[e.name]=e),o.push(e)})),e.forEach((function(t){var e=Object(r.__assign)(Object(r.__assign)({},t),{before:[],after:[]});e.name&&(h[e.name]=e),d.push(e)})),d.forEach((function(t){if(t.toMiddleware){var e=h[t.toMiddleware];if(void 0===e)throw new Error(t.toMiddleware+" is not found when adding "+(t.name||"anonymous")+" middleware "+t.relation+" "+t.toMiddleware);"after"===t.relation&&e.after.push(t),"before"===t.relation&&e.before.push(t)}})),(n=o,n.sort((function(a,b){return c[b.step]-c[a.step]||l[b.priority||"normal"]-l[a.priority||"normal"]}))).map(f).reduce((function(t,e){return t.push.apply(t,Object(r.__spread)(e)),t}),[]).map((function(t){return t.middleware}))},m={add:function(e,o){void 0===o&&(o={});var c=o.name,l=Object(r.__assign)({step:"initialize",priority:"normal",middleware:e},o);if(c){if(n.has(c))throw new Error("Duplicate middleware name '"+c+"'");n.add(c)}t.push(l)},addRelativeTo:function(t,o){var c=o.name,l=Object(r.__assign)({middleware:t},o);if(c){if(n.has(c))throw new Error("Duplicated middleware name '"+c+"'");n.add(c)}e.push(l)},clone:function(){return d(o())},use:function(t){t.applyToStack(m)},remove:function(r){return"string"==typeof r?function(r){var o=!1,c=function(t){return!t.name||t.name!==r||(o=!0,n.delete(r),!1)};return t=t.filter(c),e=e.filter(c),o}(r):function(r){var o=!1,c=function(t){return t.middleware!==r||(o=!0,t.name&&n.delete(t.name),!1)};return t=t.filter(c),e=e.filter(c),o}(r)},removeByTag:function(r){var o=!1,c=function(t){var e=t.tags,c=t.name;return!e||!e.includes(r)||(c&&n.delete(c),o=!0,!1)};return t=t.filter(c),e=e.filter(c),o},concat:function(t){var e=d(o());return e.use(t),e},applyToStack:d,resolve:function(t,e){var n,o;try{for(var c=Object(r.__values)(h().reverse()),l=c.next();!l.done;l=c.next()){t=(0,l.value)(t,e)}}catch(t){n={error:t}}finally{try{l&&!l.done&&(o=c.return)&&o.call(c)}finally{if(n)throw n.error}}return t}};return m},c={initialize:5,serialize:4,build:3,finalizeRequest:2,deserialize:1},l={high:3,normal:2,low:1},d=function(){function t(t){this.middlewareStack=o(),this.config=t}return t.prototype.send=function(t,e,n){var r="function"!=typeof e?e:void 0,o="function"==typeof e?e:n,c=t.resolveMiddleware(this.middlewareStack,this.config,r);if(!o)return c(t).then((function(t){return t.output}));c(t).then((function(t){return o(null,t.output)}),(function(t){return o(t)})).catch((function(){}))},t.prototype.destroy=function(){this.config.requestHandler.destroy&&this.config.requestHandler.destroy()},t}(),f=function(){this.middlewareStack=o()};function h(t){return encodeURIComponent(t).replace(/[!'()*]/g,(function(t){return"%"+t.charCodeAt(0).toString(16)}))}var m=function(t){return Array.isArray(t)?t:[t]},v=function(t){for(var e in t)t.hasOwnProperty(e)&&void 0!==t[e]["#text"]?t[e]=t[e]["#text"]:"object"==typeof t[e]&&null!==t[e]&&(t[e]=v(t[e]));return t};function y(t){for(var e=[],n=1;n-1||"name"in t&&e.indexOf(t.name)>-1)}var w=function(){var t=Object.getPrototypeOf(this).constructor,e=Function.bind.apply(String,Object(r.__spread)([null],arguments)),n=new e;return Object.setPrototypeOf(n,t.prototype),n};w.prototype=Object.create(String.prototype,{constructor:{value:w,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf(w,String);var _=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e.prototype.deserializeJSON=function(){return JSON.parse(t.prototype.toString.call(this))},e.prototype.toJSON=function(){return t.prototype.toString.call(this)},e.fromObject=function(object){return object instanceof e?object:new e(object instanceof String||"string"==typeof object?object:JSON.stringify(object))},e}(w),S=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],x=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function O(t){var e=t.getUTCFullYear(),n=t.getUTCMonth(),r=t.getUTCDay(),o=t.getUTCDate(),c=t.getUTCHours(),l=t.getUTCMinutes(),d=t.getUTCSeconds();return S[r]+", "+(o<10?"0"+o:""+o)+" "+x[n]+" "+e+" "+(c<10?"0"+c:""+c)+":"+(l<10?"0"+l:""+l)+":"+(d<10?"0"+d:""+d)+" GMT"}var k="***SensitiveInformation***"},,function(t,e,n){"use strict";n.r(e),n.d(e,"__extends",(function(){return o})),n.d(e,"__assign",(function(){return c})),n.d(e,"__rest",(function(){return l})),n.d(e,"__decorate",(function(){return d})),n.d(e,"__param",(function(){return f})),n.d(e,"__metadata",(function(){return h})),n.d(e,"__awaiter",(function(){return m})),n.d(e,"__generator",(function(){return v})),n.d(e,"__createBinding",(function(){return y})),n.d(e,"__exportStar",(function(){return w})),n.d(e,"__values",(function(){return _})),n.d(e,"__read",(function(){return S})),n.d(e,"__spread",(function(){return x})),n.d(e,"__spreadArrays",(function(){return O})),n.d(e,"__await",(function(){return k})),n.d(e,"__asyncGenerator",(function(){return E})),n.d(e,"__asyncDelegator",(function(){return M})),n.d(e,"__asyncValues",(function(){return C})),n.d(e,"__makeTemplateObject",(function(){return j})),n.d(e,"__importStar",(function(){return I})),n.d(e,"__importDefault",(function(){return A})),n.d(e,"__classPrivateFieldGet",(function(){return T})),n.d(e,"__classPrivateFieldSet",(function(){return P}));var r=function(t,b){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,b){t.__proto__=b}||function(t,b){for(var p in b)b.hasOwnProperty(p)&&(t[p]=b[p])})(t,b)};function o(t,b){function e(){this.constructor=t}r(t,b),t.prototype=null===b?Object.create(b):(e.prototype=b.prototype,new e)}var c=function(){return(c=Object.assign||function(t){for(var s,i=1,e=arguments.length;i=0;i--)(r=t[i])&&(c=(o<3?r(c):o>3?r(e,n,c):r(e,n))||c);return o>3&&c&&Object.defineProperty(e,n,c),c}function f(t,e){return function(n,r){e(n,r,t)}}function h(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function m(t,e,n,r){return new(n||(n=Promise))((function(o,c){function l(t){try{f(r.next(t))}catch(t){c(t)}}function d(t){try{f(r.throw(t))}catch(t){c(t)}}function f(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(l,d)}f((r=r.apply(t,e||[])).next())}))}function v(t,body){var e,n,r,g,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return g={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(g[Symbol.iterator]=function(){return this}),g;function c(c){return function(l){return function(c){if(e)throw new TypeError("Generator is already executing.");for(;o;)try{if(e=1,n&&(r=2&c[0]?n.return:c[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,c[1])).done)return r;switch(n=0,r&&(c=[2&c[0],r.value]),c[0]){case 0:case 1:r=c;break;case 4:return o.label++,{value:c[1],done:!1};case 5:o.label++,n=c[1],c=[0];continue;case 7:c=o.ops.pop(),o.trys.pop();continue;default:if(!(r=o.trys,(r=r.length>0&&r[r.length-1])||6!==c[0]&&2!==c[0])){o=0;continue}if(3===c[0]&&(!r||c[1]>r[0]&&c[1]=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")}function S(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),c=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)c.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return c}function x(){for(var t=[],i=0;i1||o(t,e)}))})}function o(t,e){try{(n=g[t](e)).value instanceof k?Promise.resolve(n.value.v).then(c,l):d(q[0][2],n)}catch(t){d(q[0][3],t)}var n}function c(t){o("next",t)}function l(t){o("throw",t)}function d(t,e){t(e),q.shift(),q.length&&o(q[0][0],q[0][1])}}function M(t){var i,p;return i={},e("next"),e("throw",(function(t){throw t})),e("return"),i[Symbol.iterator]=function(){return this},i;function e(e,n){i[e]=t[e]?function(r){return(p=!p)?{value:k(t[e](r)),done:"return"===e}:n?n(r):r}:n}}function C(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,e=t[Symbol.asyncIterator];return e?e.call(t):(t=_(t),i={},n("next"),n("throw"),n("return"),i[Symbol.asyncIterator]=function(){return this},i);function n(e){i[e]=t[e]&&function(n){return new Promise((function(r,o){(function(t,e,n,r){Promise.resolve(r).then((function(e){t({value:e,done:n})}),e)})(r,o,(n=t[e](n)).done,n.value)}))}}}function j(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function I(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function A(t){return t&&t.__esModule?t:{default:t}}function T(t,e){if(!e.has(t))throw new TypeError("attempted to get private field on non-instance");return e.get(t)}function P(t,e,n){if(!e.has(t))throw new TypeError("attempted to set private field on non-instance");return e.set(t,n),n}},function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"a",(function(){return c}));var r=function(){function t(t){this.statusCode=t.statusCode,this.headers=t.headers||{},this.body=t.body}return t.isInstance=function(t){if(!t)return!1;var e=t;return"number"==typeof e.statusCode&&"object"==typeof e.headers},t}(),o=n(2),c=function(){function t(t){this.method=t.method||"GET",this.hostname=t.hostname||"localhost",this.port=t.port,this.query=t.query||{},this.headers=t.headers||{},this.body=t.body,this.protocol=t.protocol?":"!==t.protocol.substr(-1)?t.protocol+":":t.protocol:"https:",this.path=t.path?"/"!==t.path.charAt(0)?"/"+t.path:t.path:"/"}return t.isInstance=function(t){if(!t)return!1;var e=t;return"method"in e&&"protocol"in e&&"hostname"in e&&"path"in e&&"object"==typeof e.query&&"object"==typeof e.headers},t.prototype.clone=function(){var e,n=new t(Object(o.__assign)(Object(o.__assign)({},this),{headers:Object(o.__assign)({},this.headers)}));return n.query&&(n.query=(e=n.query,Object.keys(e).reduce((function(t,n){var r,param=e[n];return Object(o.__assign)(Object(o.__assign)({},t),((r={})[n]=Array.isArray(param)?Object(o.__spread)(param):param,r))}),{}))),n},t}()},,function(t,e,n){"use strict";n.d(e,"w",(function(){return r})),n.d(e,"q",(function(){return o})),n.d(e,"k",(function(){return c})),n.d(e,"t",(function(){return l})),n.d(e,"l",(function(){return d})),n.d(e,"u",(function(){return f})),n.d(e,"o",(function(){return h})),n.d(e,"s",(function(){return m})),n.d(e,"m",(function(){return v})),n.d(e,"n",(function(){return y})),n.d(e,"i",(function(){return w})),n.d(e,"x",(function(){return _})),n.d(e,"j",(function(){return S})),n.d(e,"r",(function(){return x})),n.d(e,"b",(function(){return O})),n.d(e,"g",(function(){return k})),n.d(e,"c",(function(){return E})),n.d(e,"f",(function(){return M})),n.d(e,"d",(function(){return C})),n.d(e,"e",(function(){return j})),n.d(e,"h",(function(){return I})),n.d(e,"a",(function(){return A})),n.d(e,"p",(function(){return T})),n.d(e,"v",(function(){return P}));var r=n(1318).default,o=[{code:"en",iso:"en-US",name:"English"},{code:"de",iso:"de-DE",name:"Deutsch",isCatchallLocale:!0}],c="de",l="___",d="default",f="prefix_except_default",h=!1,m=null,v=!1,y=!1,w="",_={moduleName:"i18n",syncLocale:!1,syncMessages:!1,syncRouteParams:!0},S=function(){return null},x=function(){return null},O=!1,k="nuxt-i18n",E="code",M="iso",C="domain",j="file",I={PREFIX:"prefix",PREFIX_EXCEPT_DEFAULT:"prefix_except_default",PREFIX_AND_DEFAULT:"prefix_and_default",NO_PREFIX:"no_prefix"},A="nuxtI18n",T=["en","de"],P=void 0},function(t,e,n){"use strict";n.d(e,"f",(function(){return A})),n.d(e,"t",(function(){return T})),n.d(e,"y",(function(){return P})),n.d(e,"s",(function(){return D})),n.d(e,"e",(function(){return L})),n.d(e,"x",(function(){return B})),n.d(e,"g",(function(){return U})),n.d(e,"h",(function(){return F})),n.d(e,"d",(function(){return V})),n.d(e,"c",(function(){return H})),n.d(e,"b",(function(){return G})),n.d(e,"a",(function(){return $})),n.d(e,"u",(function(){return K})),n.d(e,"v",(function(){return Y})),n.d(e,"i",(function(){return X})),n.d(e,"w",(function(){return Z})),n.d(e,"j",(function(){return J})),n.d(e,"p",(function(){return Q})),n.d(e,"k",(function(){return tt})),n.d(e,"q",(function(){return et})),n.d(e,"l",(function(){return nt})),n.d(e,"n",(function(){return it})),n.d(e,"r",(function(){return ot})),n.d(e,"o",(function(){return at})),n.d(e,"m",(function(){return st}));var r=n(13),o=n(163),c=n.n(o);function l(t){var e=new Error(t);return e.source="ulid",e}var d="0123456789ABCDEFGHJKMNPQRSTVWXYZ",f=d.length,h=Math.pow(2,48)-1;function m(t,e,n){return e>t.length-1?t:t.substr(0,e)+n+t.substr(e+1)}function v(t){var e=Math.floor(t()*f);return e===f&&(e=f-1),d.charAt(e)}function y(t,e){if(isNaN(t))throw new Error(t+" must be a number");if(t>h)throw l("cannot encode time greater than "+h);if(t<0)throw l("time must be positive");if(!1===Number.isInteger(t))throw l("time must be an integer");for(var n=void 0,r="";e>0;e--)r=d.charAt(n=t%f)+r,t=(t-n)/f;return r}function w(t,e){for(var n="";t>0;t--)n=v(e)+n;return n}function _(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments[1];e||(e="undefined"!=typeof window?window:null);var r=e&&(e.crypto||e.msCrypto);if(r)return function(){var t=new Uint8Array(1);return r.getRandomValues(t),t[0]/255};try{var o=n(1265);return function(){return o.randomBytes(1).readUInt8()/255}}catch(t){}if(t){try{console.error("secure crypto unusable, falling back to insecure Math.random()!")}catch(t){}return function(){return Math.random()}}throw l("secure crypto unusable, insecure Math.random not allowed")}function S(t){t||(t=_());var e=0,n=void 0;return function(r){if(isNaN(r)&&(r=Date.now()),r<=e){var o=n=function(t){for(var e=void 0,n=t.length,r=void 0,o=void 0,c=f-1;!e&&n-- >=0;){if(r=t[n],-1===(o=d.indexOf(r)))throw l("incorrectly encoded string");o!==c?e=m(t,n,d[o+1]):t=m(t,n,d[0])}if("string"==typeof e)return e;throw l("cannot increment this string")}(n);return y(e,10)+o}e=r;var c=n=w(16,t);return y(r,10)+c}}x||(x=_());var x,O,k=n(367),E=n(9),M=function(t,e,n,r){return new(n||(n=Promise))((function(o,c){function l(t){try{f(r.next(t))}catch(t){c(t)}}function d(t){try{f(r.throw(t))}catch(t){c(t)}}function f(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(l,d)}f((r=r.apply(t,e||[])).next())}))},C=function(t,body){var e,n,r,g,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return g={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(g[Symbol.iterator]=function(){return this}),g;function c(c){return function(l){return function(c){if(e)throw new TypeError("Generator is already executing.");for(;o;)try{if(e=1,n&&(r=2&c[0]?n.return:c[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,c[1])).done)return r;switch(n=0,r&&(c=[2&c[0],r.value]),c[0]){case 0:case 1:r=c;break;case 4:return o.label++,{value:c[1],done:!1};case 5:o.label++,n=c[1],c=[0];continue;case 7:c=o.ops.pop(),o.trys.pop();continue;default:if(!(r=o.trys,(r=r.length>0&&r[r.length-1])||6!==c[0]&&2!==c[0])){o=0;continue}if(3===c[0]&&(!r||c[1]>r[0]&&c[1]0)&&!(r=i.next()).done;)c.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return c},I=function(t){var s="function"==typeof Symbol&&Symbol.iterator,e=s&&t[s],i=0;if(e)return e.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")},A=function(t,e){if(void 0===e&&(e=!0),e)throw new Error("Invalid "+t)},T=function(t){return void 0===t||null==t},P=function(t,e,n){var r,o=!1;if(0===n.length)return!0;switch(e){case"not":r="every",o=!0;break;case"and":r="every";break;case"or":r="some";break;default:A(e)}var c=n[r]((function(e){if(Object(E.k)(e)){var n=e.field,r=e.operator,o=e.operand,c=t[n];return R(c,r,o)}if(Object(E.j)(e)){var l=e.type,d=e.predicates;return P(t,l,d)}throw new Error("Not a predicate or group")}));return o?!c:c},R=function(t,e,n){switch(e){case"ne":return t!==n;case"eq":return t===n;case"le":return t<=n;case"lt":return t=n;case"gt":return t>n;case"between":var r=j(n,2),o=r[0],c=r[1];return t>=o&&t<=c;case"beginsWith":return t.startsWith(n);case"contains":return t.indexOf(n)>-1;case"notContains":return-1===t.indexOf(n);default:return A(e,!1),!1}},D=function(t){return t&&"function"==typeof t.copyOf},L=function(t){var e={};return Object.keys(t.models).forEach((function(n){e[n]={indexes:[],relationTypes:[]};var r=t.models[n];Object.keys(r.fields).forEach((function(t){var o=r.fields[t];if("object"==typeof o.type&&"model"in o.type){var c=o.association.connectionType;e[n].relationTypes.push({fieldName:o.name,modelName:o.type.model,relationType:c,targetName:o.association.targetName,associatedWith:o.association.associatedWith}),"BELONGS_TO"===c&&e[n].indexes.push(o.association.targetName)}})),r.attributes&&r.attributes.forEach((function(t){if("key"===t.type){var r=t.properties.fields;r&&r.forEach((function(t){e[n].indexes.includes(t)||e[n].indexes.push(t)}))}}))})),e},N=new WeakMap,B=function(t,e,n,r,o){var c=n.relationships,l=o(n.name,t),d=c[t],f=[],h=l.copyOf(e,(function(t){d.relationTypes.forEach((function(c){var l=o(n.name,c.modelName);switch(c.relationType){case"HAS_ONE":if(e[c.fieldName]){var d=void 0;try{d=r(l,e[c.fieldName])}catch(t){}f.push({modelName:c.modelName,item:e[c.fieldName],instance:d}),t[c.fieldName]=t[c.fieldName].id}break;case"BELONGS_TO":if(e[c.fieldName]){d=void 0;try{d=r(l,e[c.fieldName])}catch(t){}t[c.fieldName]._deleted||f.push({modelName:c.modelName,item:e[c.fieldName],instance:d})}t[c.targetName]=t[c.fieldName]?t[c.fieldName].id:null,delete t[c.fieldName];break;case"HAS_MANY":break;default:A(c.relationType)}}))}));f.unshift({modelName:t,item:h,instance:h}),N.has(n)||N.set(n,Array.from(n.modelTopologicalOrdering.keys()));var m=N.get(n);return f.sort((function(a,b){return m.indexOf(a.modelName)-m.indexOf(b.modelName)})),f},U=function(t,e){var n="";return t.some((function(t){t.modelName===e&&(n=t.targetName)})),n},F=function(t,e){return t.find((function(t){return t===e}))};!function(t){t.DATASTORE="datastore",t.USER="user",t.SYNC="sync",t.STORAGE="storage"}(O||(O={}));var z,$=O.DATASTORE,V=O.USER,H=O.SYNC,G=O.STORAGE,K=function(){return new Promise((function(t){var e,n=Object(k.v4)(),r=function(){z=!1,t(!0)},o=function(){return M(void 0,void 0,void 0,(function(){return C(this,(function(r){switch(r.label){case 0:return e&&e.result&&"function"==typeof e.result.close?[4,e.result.close()]:[3,2];case 1:r.sent(),r.label=2;case 2:return[4,indexedDB.deleteDatabase(n)];case 3:return r.sent(),z=!0,[2,t(!1)]}}))}))};return!0===z?o():!1===z||null===indexedDB?r():((e=indexedDB.open(n)).onerror=r,void(e.onsuccess=o))}))},W=function(){return(t=1,r.Buffer.from(c.a.lib.WordArray.random(t).toString(),"hex")).readUInt8(0)/255;var t};function Y(t){var e=S(W);return function(){return e(t)}}function X(){return"undefined"!=typeof performance&&performance&&"function"==typeof performance.now?0|performance.now():Date.now()}function Z(t){return function(a,b){var e,n;try{for(var r=I(t),o=r.next();!o.done;o=r.next()){var c=o.value,l=c.field,d=c.sortDirection===E.e.ASCENDING?1:-1;if(a[l]b[l])return 1*d}}catch(t){e={error:t}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}return 0}}var J=function(t){return!!/^\d{4}-\d{2}-\d{2}(Z|[+-]\d{2}:\d{2}($|:\d{2}))?$/.exec(t)},Q=function(t){return!!/^\d{2}:\d{2}(:\d{2}(.\d{3})?)?(Z|[+-]\d{2}:\d{2}($|:\d{2}))?$/.exec(t)},tt=function(t){return!!/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}(:\d{2}(.\d{3})?)?(Z|[+-]\d{2}:\d{2}($|:\d{2}))?$/.exec(t)},et=function(t){return!!/^\d+$/.exec(String(t))},nt=function(t){return!!/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.exec(t)},it=function(t){try{return JSON.parse(t),!0}catch(t){return!1}},ot=function(t){try{return!!new URL(t)}catch(t){return!1}},at=function(t){return!!/^\+?\d[\d\s-]+$/.exec(t)},st=function(t){return!!/((^((([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))$)|(^((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?$))$/.exec(t)}},function(t,e,n){"use strict";(function(t){n.d(e,"i",(function(){return r})),n.d(e,"b",(function(){return o})),n.d(e,"g",(function(){return l})),n.d(e,"d",(function(){return d})),n.d(e,"j",(function(){return f})),n.d(e,"k",(function(){return m})),n.d(e,"e",(function(){return v})),n.d(e,"h",(function(){return y})),n.d(e,"f",(function(){return w})),n.d(e,"c",(function(){return _})),n.d(e,"a",(function(){return x}));n(161),n(35);var r="undefined"!=typeof window,o="undefined"!=typeof document,c="undefined"!=typeof navigator,l="undefined"!=typeof Promise,d="undefined"!=typeof MutationObserver||"undefined"!=typeof WebKitMutationObserver||"undefined"!=typeof MozMutationObserver,f=r&&o&&c,h=f?window.navigator.userAgent.toLowerCase():"",m=h.indexOf("jsdom")>0,v=(/msie|trident/.test(h),function(){var t=!1;if(f)try{var e={get passive(){t=!0}};window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(e){t=!1}return t}()),y=f&&("ontouchstart"in document.documentElement||navigator.maxTouchPoints>0),w=f&&Boolean(window.PointerEvent||window.MSPointerEvent),_=f&&"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype,S=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=void 0!==t&&t&&t.env||{};return e?r[e]||n:r},x=function(){return S("BOOTSTRAP_VUE_NO_WARN")||"production"===S("NODE_ENV")}}).call(this,n(159))},function(t,e,n){"use strict";n.d(e,"k",(function(){return y})),n.d(e,"m",(function(){return w})),n.d(e,"l",(function(){return _})),n.d(e,"e",(function(){return S})),n.d(e,"b",(function(){return x})),n.d(e,"s",(function(){return O})),n.d(e,"g",(function(){return k})),n.d(e,"h",(function(){return E})),n.d(e,"d",(function(){return M})),n.d(e,"r",(function(){return C})),n.d(e,"j",(function(){return j})),n.d(e,"t",(function(){return A})),n.d(e,"o",(function(){return P})),n.d(e,"q",(function(){return R})),n.d(e,"f",(function(){return D})),n.d(e,"c",(function(){return L})),n.d(e,"i",(function(){return N})),n.d(e,"p",(function(){return B})),n.d(e,"a",(function(){return G})),n.d(e,"n",(function(){return W})),n.d(e,"u",(function(){return Y}));n(16),n(12),n(238),n(224),n(161),n(30),n(23),n(162),n(31),n(42),n(384),n(35),n(252),n(14),n(147),n(788),n(233),n(209),n(789),n(33),n(539),n(40),n(541),n(251);var r=n(49),o=n(192),c=(n(44),n(11)),l=n(1),d=n(4);function f(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function h(t){for(var i=1;i=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,l=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return c=t.done,t},e:function(t){l=!0,o=t},f:function(){try{c||null==n.return||n.return()}finally{if(l)throw o}}}}function v(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i1&&void 0!==arguments[1]?arguments[1]:[],r=t.$children||[],o=m(r);try{for(o.s();!(e=o.n()).done;){var c=e.value;c.$fetch?n.push(c):c.$children&&S(c,n)}}catch(t){o.e(t)}finally{o.f()}return n}function x(t,e){if(e||!t.options.__hasNuxtData){var n=t.options._originDataFn||t.options.data||function(){return{}};t.options._originDataFn=n,t.options.data=function(){var data=n.call(this,this);return this.$ssrContext&&(e=this.$ssrContext.asyncData[t.cid]),h(h({},data),e)},t.options.__hasNuxtData=!0,t._Ctor&&t._Ctor.options&&(t._Ctor.options.data=t.options.data)}}function O(t){return t.options&&t._Ctor===t||(t.options?(t._Ctor=t,t.extendOptions=t.options):(t=d.default.extend(t))._Ctor=t,!t.options.name&&t.options.__file&&(t.options.name=t.options.__file)),t}function k(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"components";return Array.prototype.concat.apply([],t.matched.map((function(t,r){return Object.keys(t[n]).map((function(o){return e&&e.push(r),t[n][o]}))})))}function E(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return k(t,e,"instances")}function M(t,e){return Array.prototype.concat.apply([],t.matched.map((function(t,n){return Object.keys(t.components).reduce((function(r,o){return t.components[o]?r.push(e(t.components[o],t.instances[o],t,o,n)):delete t.components[o],r}),[])})))}function C(t,e){return Promise.all(M(t,function(){var t=Object(c.a)(regeneratorRuntime.mark((function t(n,r,o,c){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("function"!=typeof n||n.options){t.next=4;break}return t.next=3,n();case 3:n=t.sent;case 4:return o.components[c]=n=O(n),t.abrupt("return","function"==typeof e?e(n,r,o,c):n);case 6:case"end":return t.stop()}}),t)})));return function(e,n,r,o){return t.apply(this,arguments)}}()))}function j(t){return I.apply(this,arguments)}function I(){return(I=Object(c.a)(regeneratorRuntime.mark((function t(e){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e){t.next=2;break}return t.abrupt("return");case 2:return t.next=4,C(e);case 4:return t.abrupt("return",h(h({},e),{},{meta:k(e).map((function(t,n){return h(h({},t.options.meta),(e.matched[n]||{}).meta)}))}));case 5:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function A(t,e){return T.apply(this,arguments)}function T(){return(T=Object(c.a)(regeneratorRuntime.mark((function t(e,n){var c,l,d,f;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.context||(e.context={isStatic:!0,isDev:!1,isHMR:!1,app:e,store:e.store,payload:n.payload,error:n.error,base:"/",env:{draft:!1}},n.ssrContext&&(e.context.ssrContext=n.ssrContext),e.context.redirect=function(t,path,n){if(t){e.context._redirected=!0;var r=Object(o.a)(path);if("number"==typeof t||"undefined"!==r&&"object"!==r||(n=path||{},path=t,r=Object(o.a)(path),t=302),"object"===r&&(path=e.router.resolve(path).route.fullPath),!/(^[.]{1,2}\/)|(^\/(?!\/))/.test(path))throw path=H(path,n),window.location.replace(path),new Error("ERR_REDIRECT");e.context.next({path:path,query:n,status:t})}},e.context.nuxtState=window.__NUXT__),t.next=3,Promise.all([j(n.route),j(n.from)]);case 3:c=t.sent,l=Object(r.a)(c,2),d=l[0],f=l[1],n.route&&(e.context.route=d),n.from&&(e.context.from=f),e.context.next=n.next,e.context._redirected=!1,e.context._errored=!1,e.context.isHMR=!1,e.context.params=e.context.route.params||{},e.context.query=e.context.route.query||{};case 15:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function P(t,e){return!t.length||e._redirected||e._errored?Promise.resolve():R(t[0],e).then((function(){return P(t.slice(1),e)}))}function R(t,e){var n;return(n=2===t.length?new Promise((function(n){t(e,(function(t,data){t&&e.error(t),n(data=data||{})}))})):t(e))&&n instanceof Promise&&"function"==typeof n.then?n:Promise.resolve(n)}function D(base,t){var path=decodeURI(window.location.pathname);return"hash"===t?window.location.hash.replace(/^#\//,""):(base&&(path.endsWith("/")?path:path+"/").startsWith(base)&&(path=path.slice(base.length)),(path||"/")+window.location.search+window.location.hash)}function L(t,e){return function(t,e){for(var n=new Array(t.length),i=0;i0&&r[r.length-1])||6!==c[0]&&2!==c[0])){o=0;continue}if(3===c[0]&&(!r||c[1]>r[0]&&c[1]=l())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+l().toString(16)+" bytes");return 0|t}function _(t,e){if(f.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var r=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return W(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return Y(t).length;default:if(r)return W(t).length;e=(""+e).toLowerCase(),r=!0}}function S(t,e,n){var r=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return L(this,e,n);case"utf8":case"utf-8":return P(this,e,n);case"ascii":return R(this,e,n);case"latin1":case"binary":return D(this,e,n);case"base64":return T(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function x(b,t,e){var i=b[t];b[t]=b[e],b[e]=i}function O(t,e,n,r,o){if(0===t.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=o?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(o)return-1;n=t.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof e&&(e=f.from(e,r)),f.isBuffer(e))return 0===e.length?-1:k(t,e,n,r,o);if("number"==typeof e)return e&=255,f.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):k(t,[e],n,r,o);throw new TypeError("val must be string, number or Buffer")}function k(t,e,n,r,o){var i,c=1,l=t.length,d=e.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;c=2,l/=2,d/=2,n/=2}function f(t,i){return 1===c?t[i]:t.readUInt16BE(i*c)}if(o){var h=-1;for(i=n;il&&(n=l-d),i=n;i>=0;i--){for(var m=!0,v=0;vo&&(r=o):r=o;var c=e.length;if(c%2!=0)throw new TypeError("Invalid hex string");r>c/2&&(r=c/2);for(var i=0;i>8,o=n%256,c.push(o),c.push(r);return c}(e,t.length-n),t,n,r)}function T(t,e,n){return 0===e&&n===t.length?r.fromByteArray(t):r.fromByteArray(t.slice(e,n))}function P(t,e,n){n=Math.min(t.length,n);for(var r=[],i=e;i239?4:f>223?3:f>191?2:1;if(i+m<=n)switch(m){case 1:f<128&&(h=f);break;case 2:128==(192&(o=t[i+1]))&&(d=(31&f)<<6|63&o)>127&&(h=d);break;case 3:o=t[i+1],c=t[i+2],128==(192&o)&&128==(192&c)&&(d=(15&f)<<12|(63&o)<<6|63&c)>2047&&(d<55296||d>57343)&&(h=d);break;case 4:o=t[i+1],c=t[i+2],l=t[i+3],128==(192&o)&&128==(192&c)&&128==(192&l)&&(d=(15&f)<<18|(63&o)<<12|(63&c)<<6|63&l)>65535&&d<1114112&&(h=d)}null===h?(h=65533,m=1):h>65535&&(h-=65536,r.push(h>>>10&1023|55296),h=56320|1023&h),r.push(h),i+=m}return function(t){var e=t.length;if(e<=4096)return String.fromCharCode.apply(String,t);var n="",i=0;for(;i0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),""},f.prototype.compare=function(t,e,n,r,o){if(!f.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),e<0||n>t.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&e>=n)return 0;if(r>=o)return-1;if(e>=n)return 1;if(this===t)return 0;for(var c=(o>>>=0)-(r>>>=0),l=(n>>>=0)-(e>>>=0),d=Math.min(c,l),h=this.slice(r,o),m=t.slice(e,n),i=0;io)&&(n=o),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var c=!1;;)switch(r){case"hex":return E(this,t,e,n);case"utf8":case"utf-8":return M(this,t,e,n);case"ascii":return C(this,t,e,n);case"latin1":case"binary":return j(this,t,e,n);case"base64":return I(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return A(this,t,e,n);default:if(c)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),c=!0}},f.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function R(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;ir)&&(n=r);for(var o="",i=e;in)throw new RangeError("Trying to access beyond buffer length")}function U(t,e,n,r,o,c){if(!f.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>o||et.length)throw new RangeError("Index out of range")}function F(t,e,n,r){e<0&&(e=65535+e+1);for(var i=0,o=Math.min(t.length-n,2);i>>8*(r?i:1-i)}function z(t,e,n,r){e<0&&(e=4294967295+e+1);for(var i=0,o=Math.min(t.length-n,4);i>>8*(r?i:3-i)&255}function $(t,e,n,r,o,c){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function V(t,e,n,r,c){return c||$(t,0,n,4),o.write(t,e,n,r,23,4),n+4}function H(t,e,n,r,c){return c||$(t,0,n,8),o.write(t,e,n,r,52,8),n+8}f.prototype.slice=function(t,e){var n,r=this.length;if((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),e0&&(o*=256);)r+=this[t+--e]*o;return r},f.prototype.readUInt8=function(t,e){return e||B(t,1,this.length),this[t]},f.prototype.readUInt16LE=function(t,e){return e||B(t,2,this.length),this[t]|this[t+1]<<8},f.prototype.readUInt16BE=function(t,e){return e||B(t,2,this.length),this[t]<<8|this[t+1]},f.prototype.readUInt32LE=function(t,e){return e||B(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},f.prototype.readUInt32BE=function(t,e){return e||B(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},f.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||B(t,e,this.length);for(var r=this[t],o=1,i=0;++i=(o*=128)&&(r-=Math.pow(2,8*e)),r},f.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||B(t,e,this.length);for(var i=e,r=1,o=this[t+--i];i>0&&(r*=256);)o+=this[t+--i]*r;return o>=(r*=128)&&(o-=Math.pow(2,8*e)),o},f.prototype.readInt8=function(t,e){return e||B(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},f.prototype.readInt16LE=function(t,e){e||B(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},f.prototype.readInt16BE=function(t,e){e||B(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},f.prototype.readInt32LE=function(t,e){return e||B(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},f.prototype.readInt32BE=function(t,e){return e||B(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},f.prototype.readFloatLE=function(t,e){return e||B(t,4,this.length),o.read(this,t,!0,23,4)},f.prototype.readFloatBE=function(t,e){return e||B(t,4,this.length),o.read(this,t,!1,23,4)},f.prototype.readDoubleLE=function(t,e){return e||B(t,8,this.length),o.read(this,t,!0,52,8)},f.prototype.readDoubleBE=function(t,e){return e||B(t,8,this.length),o.read(this,t,!1,52,8)},f.prototype.writeUIntLE=function(t,e,n,r){(t=+t,e|=0,n|=0,r)||U(this,t,e,n,Math.pow(2,8*n)-1,0);var o=1,i=0;for(this[e]=255&t;++i=0&&(o*=256);)this[e+i]=t/o&255;return e+n},f.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||U(this,t,e,1,255,0),f.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},f.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||U(this,t,e,2,65535,0),f.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):F(this,t,e,!0),e+2},f.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||U(this,t,e,2,65535,0),f.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):F(this,t,e,!1),e+2},f.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||U(this,t,e,4,4294967295,0),f.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):z(this,t,e,!0),e+4},f.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||U(this,t,e,4,4294967295,0),f.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):z(this,t,e,!1),e+4},f.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e|=0,!r){var o=Math.pow(2,8*n-1);U(this,t,e,n,o-1,-o)}var i=0,c=1,sub=0;for(this[e]=255&t;++i>0)-sub&255;return e+n},f.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e|=0,!r){var o=Math.pow(2,8*n-1);U(this,t,e,n,o-1,-o)}var i=n-1,c=1,sub=0;for(this[e+i]=255&t;--i>=0&&(c*=256);)t<0&&0===sub&&0!==this[e+i+1]&&(sub=1),this[e+i]=(t/c>>0)-sub&255;return e+n},f.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||U(this,t,e,1,127,-128),f.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},f.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||U(this,t,e,2,32767,-32768),f.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):F(this,t,e,!0),e+2},f.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||U(this,t,e,2,32767,-32768),f.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):F(this,t,e,!1),e+2},f.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||U(this,t,e,4,2147483647,-2147483648),f.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):z(this,t,e,!0),e+4},f.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||U(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),f.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):z(this,t,e,!1),e+4},f.prototype.writeFloatLE=function(t,e,n){return V(this,t,e,!0,n)},f.prototype.writeFloatBE=function(t,e,n){return V(this,t,e,!1,n)},f.prototype.writeDoubleLE=function(t,e,n){return H(this,t,e,!0,n)},f.prototype.writeDoubleBE=function(t,e,n){return H(this,t,e,!1,n)},f.prototype.copy=function(t,e,n,r){if(n||(n=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e=0;--i)t[i+e]=this[i+n];else if(o<1e3||!f.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(i=e;i55295&&n<57344){if(!o){if(n>56319){(e-=3)>-1&&c.push(239,191,189);continue}if(i+1===r){(e-=3)>-1&&c.push(239,191,189);continue}o=n;continue}if(n<56320){(e-=3)>-1&&c.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(e-=3)>-1&&c.push(239,191,189);if(o=null,n<128){if((e-=1)<0)break;c.push(n)}else if(n<2048){if((e-=2)<0)break;c.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;c.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;c.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return c}function Y(t){return r.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(G,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function X(t,e,n,r){for(var i=0;i=e.length||i>=t.length);++i)e[i+n]=t[i];return i}}).call(this,n(39))},,function(t,e){"function"==typeof Object.create?t.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,e){if(e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}}},,,,,function(t,e,n){var r=n(13),o=r.Buffer;function c(t,e){for(var n in t)e[n]=t[n]}function l(t,e,n){return o(t,e,n)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?t.exports=r:(c(r,e),e.Buffer=l),l.prototype=Object.create(o.prototype),c(o,l),l.from=function(t,e,n){if("number"==typeof t)throw new TypeError("Argument must not be a number");return o(t,e,n)},l.alloc=function(t,e,n){if("number"!=typeof t)throw new TypeError("Argument must be a number");var r=o(t);return void 0!==e?"string"==typeof n?r.fill(e,n):r.fill(e):r.fill(0),r},l.allocUnsafe=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return o(t)},l.allocUnsafeSlow=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return r.SlowBuffer(t)}},function(t,e,n){"use strict";n.d(e,"c",(function(){return c})),n.d(e,"b",(function(){return l})),n.d(e,"a",(function(){return d}));var r=n(6),o=new WeakSet;function c(t){return o.has(t)}Symbol("A predicate that matches all records");var l=function(){function t(){}return Object.defineProperty(t,"ALL",{get:function(){var t=function(t){return t};return o.add(t),t},enumerable:!0,configurable:!0}),t}(),d=function(){function t(){}return t.createPredicateBuilder=function(e){var n,o=e.name,c=new Set(Object.keys(e.fields)),l=new Proxy({},n={get:function(e,l,d){var f=l;switch(f){case"and":case"or":case"not":return function(e){var r={type:f,predicates:[]},o=new Proxy({},n);return t.predicateGroupsMap.set(o,r),e(o),t.predicateGroupsMap.get(d).predicates.push(r),d};default:Object(r.f)(f,!1)}var h=l;if(!c.has(h))throw new Error("Invalid field for model. field: "+h+", model: "+o);return function(e,n){return t.predicateGroupsMap.get(d).predicates.push({field:h,operator:e,operand:n}),d}}});return t.predicateGroupsMap.set(l,{type:"and",predicates:[]}),l},t.isValidPredicate=function(e){return t.predicateGroupsMap.has(e)},t.getPredicates=function(e,n){if(void 0===n&&(n=!0),n&&!t.isValidPredicate(e))throw new Error("The predicate is not valid");return t.predicateGroupsMap.get(e)},t.createFromExisting=function(e,n){if(n&&e)return n(t.createPredicateBuilder(e))},t.createForId=function(e,n){return t.createPredicateBuilder(e).id("eq",n)},t.predicateGroupsMap=new WeakMap,t}()},function(t,e,n){"use strict";n.d(e,"b",(function(){return ct})),n.d(e,"c",(function(){return tt})),n.d(e,"d",(function(){return z}));var r=n(4);function o(t){return"function"==typeof t&&/native code/.test(t.toString())}var c="undefined"!=typeof Symbol&&o(Symbol)&&"undefined"!=typeof Reflect&&o(Reflect.ownKeys),l=function(t){return t},d={enumerable:!0,configurable:!0,get:l,set:l};function f(t,e,n){var r=n.get,o=n.set;d.get=r||l,d.set=o||l,Object.defineProperty(t,e,d)}function h(t,e,n,r){Object.defineProperty(t,e,{value:n,enumerable:!!r,writable:!0,configurable:!0})}function m(t,e){return Object.hasOwnProperty.call(t,e)}function v(t){return Array.isArray(t)}function y(t){return"[object Object]"===function(t){return Object.prototype.toString.call(t)}(t)}function w(t){return"function"==typeof t}function _(t,e){r.default.util.warn(t,e)}var S=void 0;try{var x=n(4);x&&E(x)?S=x:x&&"default"in x&&E(x.default)&&(S=x.default)}catch(t){}var O=null,k=null;function E(t){return t&&"function"==typeof t&&"Vue"===t.name}function M(){return O}function C(){return k}function j(t){k=t}function I(t){return C()}function A(t,e){void 0===e&&(e={});var n=t.config.silent;t.config.silent=!0;var r=new t(e);return t.config.silent=n,r}function T(t,e){return function(){for(var n=[],r=0;r0)&&!(r=i.next()).done;)c.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return c}function R(){for(var t=[],i=0;i>6|192,63&n|128);else if(i+1>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else t.push(n>>12|224,n>>6&63|128,63&n|128)}return Uint8Array.from(t)}(input)}function o(input){return"function"==typeof TextDecoder?function(input){return new TextDecoder("utf-8").decode(input)}(input):function(input){for(var t="",i=0,e=input.length;ie.parts.length&&(n.parts.length=e.parts.length)}else{var o=[];for(r=0;r>=6;var f=i/4*3;o>>=c%8;for(var h=Math.floor(c/8),m=0;m>v)}}return new Uint8Array(e)}function m(input){for(var t="",i=0;i>f]}t+="==".slice(0,4-l)}return t}},function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return f}));var r=n(2),o=n(3),c=n(266);var l=function(){function t(t){void 0===t&&(t={}),this.httpOptions=t}return t.prototype.destroy=function(){},t.prototype.handle=function(t,e){var n=null==e?void 0:e.abortSignal,l=this.httpOptions.requestTimeout;if(null==n?void 0:n.aborted){var d=new Error("Request aborted");return d.name="AbortError",Promise.reject(d)}var path=t.path;if(t.query){var f=Object(c.a)(t.query);f&&(path+="?"+f)}var h=t.port,m=t.protocol+"//"+t.hostname+(h?":"+h:"")+path,v={body:t.body,headers:new Headers(t.headers),method:t.method};"undefined"!=typeof AbortController&&(v.signal=n);var y,w=new Request(m,v),_=[fetch(w).then((function(t){var e,n,c=t.headers,l={};try{for(var d=Object(r.__values)(c.entries()),f=d.next();!f.done;f=d.next()){var h=f.value;l[h[0]]=h[1]}}catch(t){e={error:t}}finally{try{f&&!f.done&&(n=d.return)&&n.call(d)}finally{if(e)throw e.error}}return void 0!==t.body?{response:new o.b({headers:l,statusCode:t.status,body:t.body})}:t.blob().then((function(body){return{response:new o.b({headers:l,statusCode:t.status,body:body})}}))})),(y=l,void 0===y&&(y=0),new Promise((function(t,e){y&&setTimeout((function(){var t=new Error("Request did not complete within "+y+" ms");t.name="TimeoutError",e(t)}),y)})))];return n&&_.push(new Promise((function(t,e){n.onabort=function(){var t=new Error("Request aborted");t.name="AbortError",e(t)}}))),Promise.race(_)},t}(),d=n(46),f=function(t){return"function"==typeof Blob&&t instanceof Blob?function(t){return Object(r.__awaiter)(this,void 0,void 0,(function(){var e,n;return Object(r.__generator)(this,(function(r){switch(r.label){case 0:return[4,h(t)];case 1:return e=r.sent(),n=Object(d.a)(e),[2,new Uint8Array(n)]}}))}))}(t):function(t){return Object(r.__awaiter)(this,void 0,void 0,(function(){var e,n,o,c,l,d,f;return Object(r.__generator)(this,(function(r){switch(r.label){case 0:e=new Uint8Array(0),n=t.getReader(),o=!1,r.label=1;case 1:return o?[3,3]:[4,n.read()];case 2:return c=r.sent(),l=c.done,(d=c.value)&&(f=e,(e=new Uint8Array(f.length+d.length)).set(f),e.set(d,f.length)),o=l,[3,1];case 3:return[2,e]}}))}))}(t)};function h(t){return new Promise((function(e,n){var r=new FileReader;r.onloadend=function(){var t;if(2!==r.readyState)return n(new Error("Reader aborted too early"));var o=null!==(t=r.result)&&void 0!==t?t:"",c=o.indexOf(","),l=c>-1?c+1:o.length;e(o.substring(l))},r.onabort=function(){return n(new Error("Read aborted"))},r.onerror=function(){return n(r.error)},r.readAsDataURL(t)}))}},function(t,e,n){"use strict";var r=n(1131),o=n(1132);function c(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}e.parse=E,e.resolve=function(source,t){return E(source,!1,!0).resolve(t)},e.resolveObject=function(source,t){return source?E(source,!1,!0).resolveObject(t):t},e.format=function(t){o.isString(t)&&(t=E(t));return t instanceof c?t.format():c.prototype.format.call(t)},e.Url=c;var l=/^([a-z0-9.+-]+:)/i,d=/:[0-9]*$/,f=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,h=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),m=["'"].concat(h),v=["%","/","?",";","#"].concat(m),y=["/","?","#"],w=/^[+a-z0-9A-Z_-]{0,63}$/,_=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,S={javascript:!0,"javascript:":!0},x={javascript:!0,"javascript:":!0},O={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},k=n(1133);function E(t,e,n){if(t&&o.isObject(t)&&t instanceof c)return t;var u=new c;return u.parse(t,e,n),u}c.prototype.parse=function(t,e,n){if(!o.isString(t))throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var c=t.indexOf("?"),d=-1!==c&&c127?U+="x":U+=B[F];if(!U.match(w)){var $=L.slice(0,i),V=L.slice(i+1),H=B.match(_);H&&($.push(H[1]),V.unshift(H[2])),V.length&&(E="/"+V.join(".")+E),this.hostname=$.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),D||(this.hostname=r.toASCII(this.hostname));var p=this.port?":"+this.port:"",G=this.hostname||"";this.host=G+p,this.href+=this.host,D&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==E[0]&&(E="/"+E))}if(!S[j])for(i=0,N=m.length;i0)&&n.host.split("@"))&&(n.auth=P.shift(),n.host=n.hostname=P.shift());return n.search=t.search,n.query=t.query,o.isNull(n.pathname)&&o.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!C.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var I=C.slice(-1)[0],A=(n.host||t.host||C.length>1)&&("."===I||".."===I)||""===I,T=0,i=C.length;i>=0;i--)"."===(I=C[i])?C.splice(i,1):".."===I?(C.splice(i,1),T++):T&&(C.splice(i,1),T--);if(!E&&!M)for(;T--;T)C.unshift("..");!E||""===C[0]||C[0]&&"/"===C[0].charAt(0)||C.unshift(""),A&&"/"!==C.join("/").substr(-1)&&C.push("");var P,R=""===C[0]||C[0]&&"/"===C[0].charAt(0);j&&(n.hostname=n.host=R?"":C.length?C.shift():"",(P=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=P.shift(),n.host=n.hostname=P.shift()));return(E=E||n.host&&C.length)&&!R&&C.unshift(""),C.length?n.pathname=C.join("/"):(n.pathname=null,n.path=null),o.isNull(n.pathname)&&o.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=t.auth||n.auth,n.slashes=n.slashes||t.slashes,n.href=n.format(),n},c.prototype.parseHost=function(){var t=this.host,e=d.exec(t);e&&(":"!==(e=e[0])&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)}},,function(t,e,n){"use strict";n.d(e,"b",(function(){return l})),n.d(e,"a",(function(){return d}));var r=n(185),o=function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),c=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)c.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return c},c=new r.a("Amplify"),l=function(){function t(){this._components=[],this._config={},this._modules={},this.Auth=null,this.Analytics=null,this.API=null,this.Credentials=null,this.Storage=null,this.I18n=null,this.Cache=null,this.PubSub=null,this.Interactions=null,this.Pushnotification=null,this.UI=null,this.XR=null,this.Predictions=null,this.DataStore=null,this.Logger=r.a,this.ServiceWorker=null}return t.prototype.register=function(t){c.debug("component registered in amplify",t),this._components.push(t),"function"==typeof t.getModuleName?(this._modules[t.getModuleName()]=t,this[t.getModuleName()]=t):c.debug("no getModuleName method for component",t),t.configure(this._config)},t.prototype.configure=function(t){var e=this;return t?(this._config=Object.assign(this._config,t),c.debug("amplify config",this._config),Object.entries(this._modules).forEach((function(t){var n=o(t,2),r=(n[0],n[1]);Object.keys(r).forEach((function(t){e._modules[t]&&(r[t]=e._modules[t])}))})),this._components.map((function(t){t.configure(e._config)})),this._config):this._config},t.prototype.addPluggable=function(t){t&&t.getCategory&&"function"==typeof t.getCategory&&this._components.map((function(e){e.addPluggable&&"function"==typeof e.addPluggable&&e.addPluggable(t)}))},t}(),d=new l},,function(t,e,n){"use strict";n.d(e,"b",(function(){return c})),n.d(e,"a",(function(){return d}));var r=n(2),o=n(3);function c(input){return input}var l={name:"hostHeaderMiddleware",step:"build",tags:["HOST"]},d=function(t){return{applyToStack:function(e){e.add(function(t){return function(e){return function(n){return Object(r.__awaiter)(void 0,void 0,void 0,(function(){var c,l;return Object(r.__generator)(this,(function(r){return o.a.isInstance(n.request)?(c=n.request,l=(t.requestHandler.metadata||{}).handlerProtocol,(void 0===l?"":l).indexOf("h2")>=0&&!c.headers[":authority"]?(delete c.headers.host,c.headers[":authority"]=""):c.headers.host||(c.headers.host=c.hostname),[2,e(n)]):[2,e(n)]}))}))}}}(t),l)}}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return d}));var r=n(2),o=function(input){var t;return Object(r.__assign)(Object(r.__assign)({},input),{tls:null===(t=input.tls)||void 0===t||t,endpoint:input.endpoint?c(input):function(){return l(input)}})},c=function(input){var t=input.endpoint,e=input.urlParser;if("string"==typeof t){var n=Promise.resolve(e(t));return function(){return n}}if("object"==typeof t){var r=Promise.resolve(t);return function(){return r}}return t},l=function(input){return Object(r.__awaiter)(void 0,void 0,void 0,(function(){var t,e,n,o,c;return Object(r.__generator)(this,(function(r){switch(r.label){case 0:return t=input.tls,e=void 0===t||t,[4,input.region()];case 1:if(n=r.sent(),!new RegExp(/^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]{0,61}[a-zA-Z0-9])$/).test(n))throw new Error("Invalid region in client config");return[4,input.regionInfoProvider(n)];case 2:if(!(o=(null!==(c=r.sent())&&void 0!==c?c:{}).hostname))throw new Error("Cannot resolve hostname from client config");return[2,input.urlParser((e?"https:":"http:")+"//"+o)]}}))}))},d=function(input){if(!input.region)throw new Error("Region is missing");return Object(r.__assign)(Object(r.__assign)({},input),{region:f(input.region)})},f=function(t){if("string"==typeof t){var e=Promise.resolve(t);return function(){return e}}return t}},function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"a",(function(){return l}));var r=function(input){return input},o=n(2),c={name:"loggerMiddleware",tags:["LOGGER"],step:"finalizeRequest"},l=function(t){return{applyToStack:function(t){t.add((function(t,e){return function(n){return Object(o.__awaiter)(void 0,void 0,void 0,(function(){var r,c,l,d,f,h,m;return Object(o.__generator)(this,(function(v){switch(v.label){case 0:return r=e.logger,c=e.inputFilterSensitiveLog,l=e.outputFilterSensitiveLog,[4,t(n)];case 1:return d=v.sent(),r?(f=d.output,h=f.$metadata,m=Object(o.__rest)(f,["$metadata"]),"function"==typeof r.debug&&(r.debug({httpRequest:n.request}),r.debug({httpResponse:d.response})),"function"==typeof r.info&&r.info({$metadata:h,input:c(n.input),output:l(m)}),[2,d]):[2,d]}}))}))}}),c)}}}},function(t,e,n){"use strict";function r(input){return input}n.d(e,"b",(function(){return r})),n.d(e,"a",(function(){return d}));var o=n(2),c=n(3);var l={name:"getUserAgentMiddleware",step:"build",tags:["SET_USER_AGENT","USER_AGENT"]},d=function(t){return{applyToStack:function(e){var n;e.add((n=t,function(t){return function(e){var r=e.request;if(!c.a.isInstance(r))return t(e);var l=r.headers,d="node"===n.runtime?"user-agent":"x-amz-user-agent";return l[d]?l[d]+=" "+n.defaultUserAgent:l[d]=""+n.defaultUserAgent,n.customUserAgent&&(l[d]+=" "+n.customUserAgent),t(Object(o.__assign)(Object(o.__assign)({},e),{request:r}))}}),l)}}}},function(t,e,n){"use strict";t.exports=function(t,e){return e||(e={}),"string"!=typeof(t=t&&t.__esModule?t.default:t)?t:(/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),e.hash&&(t+=e.hash),/["'() \t\n]/.test(t)||e.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t)}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e){(function(){t.exports={Element:1,Attribute:2,Text:3,CData:4,EntityReference:5,EntityDeclaration:6,ProcessingInstruction:7,Comment:8,Document:9,DocType:10,DocumentFragment:11,NotationDeclaration:12,Declaration:201,Raw:202,AttributeDeclaration:203,ElementDeclaration:204,Dummy:205}}).call(this)},function(t,e,n){(function(e){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 e&&e)||function(){return this}()||Function("return this")()}).call(this,n(39))},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(t){return function(){throw new Error(t)}}},function(t,e,n){"use strict";n.d(e,"b",(function(){return c})),n.d(e,"a",(function(){return v}));var r=n(2),o=n(369);function c(input){var t,e=this,n=l(input.credentials||input.credentialDefaultProvider(input)),c=input.signingEscapePath,d=void 0===c||c,f=input.systemClockOffset,h=void 0===f?input.systemClockOffset||0:f,m=input.sha256;return t=input.signer?l(input.signer):function(){return l(input.region)().then((function(t){return Object(r.__awaiter)(e,void 0,void 0,(function(){return Object(r.__generator)(this,(function(e){switch(e.label){case 0:return[4,input.regionInfoProvider(t)];case 1:return[2,[e.sent()||{},t]]}}))}))})).then((function(t){var e=Object(r.__read)(t,2),c=e[0],l=e[1],f=c.signingRegion,h=void 0===f?input.signingRegion:f,v=c.signingService,y=void 0===v?input.signingName:v;return input.signingRegion=input.signingRegion||h||l,input.signingName=input.signingName||y,new o.a({credentials:n,region:input.signingRegion,service:input.signingName,sha256:m,uriEscapePath:d})}))},Object(r.__assign)(Object(r.__assign)({},input),{systemClockOffset:h,signingEscapePath:d,credentials:n,signer:t})}function l(input){if("object"==typeof input){var t=Promise.resolve(input);return function(){return t}}return input}var d=n(3),f=function(t){return new Date(Date.now()+t)};function h(t){return function(e,n){return function(o){return Object(r.__awaiter)(this,void 0,void 0,(function(){var c,l,output,h,m,v,y,w,_;return Object(r.__generator)(this,(function(S){switch(S.label){case 0:return d.a.isInstance(o.request)?"function"!=typeof t.signer?[3,2]:[4,t.signer()]:[2,e(o)];case 1:return l=S.sent(),[3,3];case 2:l=t.signer,S.label=3;case 3:return c=l,h=e,m=[Object(r.__assign)({},o)],_={},[4,c.sign(o.request,{signingDate:new Date(Date.now()+t.systemClockOffset),signingRegion:n.signing_region,signingService:n.signing_service})];case 4:return[4,h.apply(void 0,[r.__assign.apply(void 0,m.concat([(_.request=S.sent(),_)]))])];case 5:return output=S.sent(),v=output.response.headers,(y=v&&(v.date||v.Date))&&(w=Date.parse(y),x=w,O=t.systemClockOffset,Math.abs(f(O).getTime()-x)>=3e5&&(t.systemClockOffset=w-Date.now())),[2,output]}var x,O}))}))}}}var m={name:"awsAuthMiddleware",tags:["SIGNATURE","AWSAUTH"],relation:"after",toMiddleware:"retryMiddleware"},v=function(t){return{applyToStack:function(e){e.addRelativeTo(h(t),m)}}}},function(t,e,n){var r=n(149),o=n(426),c=n(204),l=n(428),d=n(432),f=n(581),h=o("wks"),m=r.Symbol,v=f?m:m&&m.withoutSetter||l;t.exports=function(t){return c(h,t)||(d&&c(m,t)?h[t]=m[t]:h[t]=v("Symbol."+t)),h[t]}},function(t,e,n){var path=n(168),r=n(204),o=n(604),c=n(228).f;t.exports=function(t){var e=path.Symbol||(path.Symbol={});r(e,t)||c(e,t,{value:o.f(t)})}},,function(t,e,n){"use strict";var r=n(50),o={keyPrefix:"aws-amplify-cache",capacityInBytes:1048576,itemMaxSize:21e4,defaultTTL:2592e5,defaultPriority:5,warningThreshold:.8,storage:(new(n(301).a)).getStorage()};function c(t){var e=0;e=t.length;for(var i=t.length;i>=0;i-=1){var n=t.charCodeAt(i);n>127&&n<=2047?e+=1:n>2047&&n<=65535&&(e+=2),n>=56320&&n<=57343&&(i-=1)}return e}function l(){return(new Date).getTime()}function d(t){return Number.isInteger?Number.isInteger(t):function(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t}(t)}var f,h={},m=(function(){function t(){}t.clear=function(){h={}},t.getItem=function(t){return h[t]||null},t.setItem=function(t,e){h[t]=e},t.removeItem=function(t){delete h[t]}}(),n(185)),v=new m.a("StorageCache"),y=function(){function t(t){this.config=Object.assign({},t),this.cacheCurSizeKey=this.config.keyPrefix+"CurSize",this.checkConfig()}return t.prototype.getModuleName=function(){return"Cache"},t.prototype.checkConfig=function(){d(this.config.capacityInBytes)||(v.error("Invalid parameter: capacityInBytes. It should be an Integer. Setting back to default."),this.config.capacityInBytes=o.capacityInBytes),d(this.config.itemMaxSize)||(v.error("Invalid parameter: itemMaxSize. It should be an Integer. Setting back to default."),this.config.itemMaxSize=o.itemMaxSize),d(this.config.defaultTTL)||(v.error("Invalid parameter: defaultTTL. It should be an Integer. Setting back to default."),this.config.defaultTTL=o.defaultTTL),d(this.config.defaultPriority)||(v.error("Invalid parameter: defaultPriority. It should be an Integer. Setting back to default."),this.config.defaultPriority=o.defaultPriority),this.config.itemMaxSize>this.config.capacityInBytes&&(v.error("Invalid parameter: itemMaxSize. It should be smaller than capacityInBytes. Setting back to default."),this.config.itemMaxSize=o.itemMaxSize),(this.config.defaultPriority>5||this.config.defaultPriority<1)&&(v.error("Invalid parameter: defaultPriority. It should be between 1 and 5. Setting back to default."),this.config.defaultPriority=o.defaultPriority),(Number(this.config.warningThreshold)>1||Number(this.config.warningThreshold)<0)&&(v.error("Invalid parameter: warningThreshold. It should be between 0 and 1. Setting back to default."),this.config.warningThreshold=o.warningThreshold);this.config.capacityInBytes>5242880&&(v.error("Cache Capacity should be less than 5MB. Setting back to default. Setting back to default."),this.config.capacityInBytes=o.capacityInBytes)},t.prototype.fillCacheItem=function(t,e,n){var r={key:t,data:e,timestamp:l(),visitedTime:l(),priority:n.priority,expires:n.expires,type:typeof e,byteSize:0};return r.byteSize=c(JSON.stringify(r)),r.byteSize=c(JSON.stringify(r)),r},t.prototype.configure=function(t){return t?(t.keyPrefix&&v.warn("Don't try to configure keyPrefix!"),this.config=Object.assign({},this.config,t,t.Cache),this.checkConfig(),this.config):this.config},t}(),w=(f=function(t,b){return(f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,b){t.__proto__=b}||function(t,b){for(var p in b)b.hasOwnProperty(p)&&(t[p]=b[p])})(t,b)},function(t,b){function e(){this.constructor=t}f(t,b),t.prototype=null===b?Object.create(b):(e.prototype=b.prototype,new e)}),_=new m.a("Cache"),S=new(function(t){function e(e){var n=this,r=e?Object.assign({},o,e):o;return(n=t.call(this,r)||this).config.storage=r.storage,n.getItem=n.getItem.bind(n),n.setItem=n.setItem.bind(n),n.removeItem=n.removeItem.bind(n),n}return w(e,t),e.prototype._decreaseCurSizeInBytes=function(t){var e=this.getCacheCurSize();this.config.storage.setItem(this.cacheCurSizeKey,(e-t).toString())},e.prototype._increaseCurSizeInBytes=function(t){var e=this.getCacheCurSize();this.config.storage.setItem(this.cacheCurSizeKey,(e+t).toString())},e.prototype._refreshItem=function(t,e){return t.visitedTime=l(),this.config.storage.setItem(e,JSON.stringify(t)),t},e.prototype._isExpired=function(t){var text=this.config.storage.getItem(t),e=JSON.parse(text);return l()>=e.expires},e.prototype._removeItem=function(t,e){var n=e||JSON.parse(this.config.storage.getItem(t)).byteSize;this._decreaseCurSizeInBytes(n),this.config.storage.removeItem(t)},e.prototype._setItem=function(t,e){this._increaseCurSizeInBytes(e.byteSize);try{this.config.storage.setItem(t,JSON.stringify(e))}catch(t){this._decreaseCurSizeInBytes(e.byteSize),_.error("Failed to set item "+t)}},e.prototype._sizeToPop=function(t){var e=this.getCacheCurSize()+t-this.config.capacityInBytes,n=(1-this.config.warningThreshold)*this.config.capacityInBytes;return e>n?e:n},e.prototype._isCacheFull=function(t){return t+this.getCacheCurSize()>this.config.capacityInBytes},e.prototype._findValidKeys=function(){for(var t=[],e=[],i=0;ib.priority?-1:a.priority5)_.warn("Invalid parameter: priority due to out or range. It should be within 1 and 5.");else{var c=this.fillCacheItem(r,e,o);if(c.byteSize>this.config.itemMaxSize)_.warn("Item with key: "+t+" you are trying to put into is too big!");else try{var d=this.config.storage.getItem(r);if(d&&this._removeItem(r,JSON.parse(d).byteSize),this._isCacheFull(c.byteSize)){var f=this._findValidKeys();if(this._isCacheFull(c.byteSize)){var h=this._sizeToPop(c.byteSize);this._popOutItems(f,h)}}this._setItem(r,c)}catch(t){_.warn("setItem failed! "+t)}}}else _.warn("The value of item should not be undefined!");else _.warn("Invalid key: should not be empty or 'CurSize'")},e.prototype.getItem=function(t,e){_.log("Get item: key is "+t+" with options "+e);var n=null,r=this.config.keyPrefix+t;if(r===this.config.keyPrefix||r===this.cacheCurSizeKey)return _.warn("Invalid key: should not be empty or 'CurSize'"),null;try{if(null!=(n=this.config.storage.getItem(r))){if(!this._isExpired(r)){var o=JSON.parse(n);return(o=this._refreshItem(o,r)).data}this._removeItem(r,JSON.parse(n).byteSize),n=null}if(e&&void 0!==e.callback){var c=e.callback();return null!==c&&this.setItem(t,c,e),c}return null}catch(t){return _.warn("getItem failed! "+t),null}},e.prototype.removeItem=function(t){_.log("Remove item: key is "+t);var e=this.config.keyPrefix+t;if(e!==this.config.keyPrefix&&e!==this.cacheCurSizeKey)try{var n=this.config.storage.getItem(e);n&&this._removeItem(e,JSON.parse(n).byteSize)}catch(t){_.warn("removeItem failed! "+t)}},e.prototype.clear=function(){_.log("Clear Cache");for(var t=[],i=0;i>>2]>>>24-i%4*8&255;e[r+i>>>2]|=c<<24-(r+i)%4*8}else for(i=0;i>>2]=n[i>>>2];return this.sigBytes+=o,this},clamp:function(){var e=this.words,n=this.sigBytes;e[n>>>2]&=4294967295<<32-n%4*8,e.length=t.ceil(n/4)},clone:function(){var t=c.clone.call(this);return t.words=this.words.slice(0),t},random:function(e){for(var n,r=[],o=function(e){e=e;var n=987654321,mask=4294967295;return function(){var r=((n=36969*(65535&n)+(n>>16)&mask)<<16)+(e=18e3*(65535&e)+(e>>16)&mask)&mask;return r/=4294967296,(r+=.5)*(t.random()>.5?1:-1)}},i=0;i>>2]>>>24-i%4*8&255;r.push((o>>>4).toString(16)),r.push((15&o).toString(16))}return r.join("")},parse:function(t){for(var e=t.length,n=[],i=0;i>>3]|=parseInt(t.substr(i,2),16)<<24-i%8*4;return new l.init(n,e/2)}},h=d.Latin1={stringify:function(t){for(var e=t.words,n=t.sigBytes,r=[],i=0;i>>2]>>>24-i%4*8&255;r.push(String.fromCharCode(o))}return r.join("")},parse:function(t){for(var e=t.length,n=[],i=0;i>>2]|=(255&t.charCodeAt(i))<<24-i%4*8;return new l.init(n,e)}},m=d.Utf8={stringify:function(t){try{return decodeURIComponent(escape(h.stringify(t)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(t){return h.parse(unescape(encodeURIComponent(t)))}},v=o.BufferedBlockAlgorithm=c.extend({reset:function(){this._data=new l.init,this._nDataBytes=0},_append:function(data){"string"==typeof data&&(data=m.parse(data)),this._data.concat(data),this._nDataBytes+=data.sigBytes},_process:function(e){var data=this._data,n=data.words,r=data.sigBytes,o=this.blockSize,c=r/(4*o),d=(c=e?t.ceil(c):t.max((0|c)-this._minBufferSize,0))*o,f=t.min(4*d,r);if(d){for(var h=0;hn?1*r:0})),!0},l=function(t,e){var n=Object.assign({},t);return e&&("string"==typeof e?delete n[e]:e.forEach((function(t){delete n[t]}))),n},d=function(t,e){void 0===e&&(e="application/octet-stream");var n=t.toLowerCase(),o=r.filter((function(t){return n.endsWith("."+t.ext)}));return o.length>0?o[0].type:e},f=function(t){var e=t.toLowerCase();return!!e.startsWith("text/")||("application/json"===e||"application/xml"===e||"application/sh"===e)},h=function(){for(var t="",e="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",i=32;i>0;i-=1)t+=e[Math.floor(Math.random()*e.length)];return t},m=function(t){if(t.isResolved)return t;var e=!0,n=!1,r=!1,o=t.then((function(data){return r=!0,e=!1,data}),(function(t){throw n=!0,e=!1,t}));return o.isFullfilled=function(){return r},o.isPending=function(){return e},o.isRejected=function(){return n},o},v=function(){if("undefined"==typeof self)return!1;var t=self;return void 0!==t.WorkerGlobalScope&&self instanceof t.WorkerGlobalScope},y=function(){return{isBrowser:"undefined"!=typeof window&&void 0!==window.document,isNode:void 0!==t&&null!=t.versions&&null!=t.versions.node}},w=function(t,e,n){if(void 0===e&&(e=[]),void 0===n&&(n=[]),!S(t))return t;var r={};for(var o in t){if(t.hasOwnProperty(o))r[e.includes(o)?o:o[0].toLowerCase()+o.slice(1)]=n.includes(o)?t[o]:w(t[o],e,n)}return r},_=function(t,e,n){if(void 0===e&&(e=[]),void 0===n&&(n=[]),!S(t))return t;var r={};for(var o in t){if(t.hasOwnProperty(o))r[e.includes(o)?o:o[0].toUpperCase()+o.slice(1)]=n.includes(o)?t[o]:_(t[o],e,n)}return r},S=function(t){return!(!(t instanceof Object)||t instanceof Array||t instanceof Function||t instanceof Number||t instanceof String||t instanceof Boolean)},x=function(){function t(){}return t.isEmpty=o,t.sortByField=c,t.objectLessAttributes=l,t.filenameToContentType=d,t.isTextFile=f,t.generateRandomString=h,t.makeQuerablePromise=m,t.isWebWorker=v,t.browserOrNode=y,t.transferKeyToLowerCase=w,t.transferKeyToUpperCase=_,t.isStrictObject=S,t}()}).call(this,n(159))},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r,o=n(360);!function(t){t.CONNECTION_CLOSED="Connection closed",t.TIMEOUT_DISCONNECT="Timeout disconnect",t.SUBSCRIPTION_ACK="Subscription ack"}(r||(r={})),e.b=o.a},function(t,e,n){"use strict";var r;n.d(e,"a",(function(){return r})),function(t){t.DEFAULT_MSG="Authentication Error",t.EMPTY_USERNAME="Username cannot be empty",t.INVALID_USERNAME="The username should either be a string or one of the sign in types",t.EMPTY_PASSWORD="Password cannot be empty",t.EMPTY_CODE="Confirmation code cannot be empty",t.SIGN_UP_ERROR="Error creating account",t.NO_MFA="No valid MFA method provided",t.INVALID_MFA="Invalid MFA type",t.EMPTY_CHALLENGE="Challenge response cannot be empty",t.NO_USER_SESSION="Failed to get the session because the user is empty"}(r||(r={}))},function(t,e,n){var r=n(691),o=n(693),c=n(694),l=n(244),d=n(695),f=n(465),h=n(692),m=n(466),v=Object.prototype.hasOwnProperty;t.exports=function(t){if(null==t)return!0;if(d(t)&&(l(t)||"string"==typeof t||"function"==typeof t.splice||f(t)||m(t)||c(t)))return!t.length;var e=o(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if(h(t))return!r(t).length;for(var n in t)if(v.call(t,n))return!1;return!0}},,function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var r=n(2),o=n(3);var c={step:"build",tags:["SET_CONTENT_LENGTH","CONTENT_LENGTH"],name:"contentLengthMiddleware"},l=function(t){return{applyToStack:function(e){e.add(function(t){var e=this;return function(n){return function(c){return Object(r.__awaiter)(e,void 0,void 0,(function(){var e,body,l,d,f;return Object(r.__generator)(this,(function(h){return e=c.request,o.a.isInstance(e)&&(body=e.body,l=e.headers,body&&-1===Object.keys(l).map((function(t){return t.toLowerCase()})).indexOf("content-length")&&void 0!==(d=t(body))&&(e.headers=Object(r.__assign)(Object(r.__assign)({},e.headers),((f={})["content-length"]=String(d),f)))),[2,n(Object(r.__assign)(Object(r.__assign)({},c),{request:e}))]}))}))}}}(t.bodyLengthChecker),c)}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n(2).__exportStar(n(1138),e);var r=n(679);Object.defineProperty(e,"Ie11Sha256",{enumerable:!0,get:function(){return r.Sha256}});var o=n(682);Object.defineProperty(e,"WebCryptoSha256",{enumerable:!0,get:function(){return o.Sha256}})},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(364),o=function(t){var e,n=new URL(t),o=n.hostname,c=n.pathname,l=n.port,d=n.protocol,f=n.search;return f&&(e=Object(r.a)(f)),{hostname:o,port:l?parseInt(l):void 0,protocol:d,path:c,query:e}}},function(t,e,n){"use strict";function r(body){if("string"==typeof body){for(var t=body.length,i=t-1;i>=0;i--){var code=body.charCodeAt(i);code>127&&code<=2047?t++:code>2047&&code<=65535&&(t+=2)}return t}return"number"==typeof body.byteLength?body.byteLength:"number"==typeof body.size?body.size:void 0}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";function r(t,e){return"aws-sdk-js-v3-"+t+"/"+e+" "+("undefined"!=typeof navigator&&"string"==typeof navigator.userAgent?navigator.userAgent:"")}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";var r=n(247);n(184);e.a=r.a},function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return L})),n.d(e,"c",(function(){return N})),n.d(e,"d",(function(){return B})),n.d(e,"e",(function(){return Z})),n.d(e,"f",(function(){return G})),n.d(e,"g",(function(){return ut})),n.d(e,"h",(function(){return z})),n.d(e,"i",(function(){return lt}));var r=function(){function t(data){var t=data||{},e=t.ValidationData,n=t.Username,r=t.Password,o=t.AuthParameters,c=t.ClientMetadata;this.validationData=e||{},this.authParameters=o||{},this.clientMetadata=c||{},this.username=n,this.password=r}var e=t.prototype;return e.getUsername=function(){return this.username},e.getPassword=function(){return this.password},e.getValidationData=function(){return this.validationData},e.getAuthParameters=function(){return this.authParameters},e.getClientMetadata=function(){return this.clientMetadata},t}(),o=n(13),c=n(163),l=n.n(c),d=(n(633),n(302)),f=n.n(d),h=n(268),m=n.n(h),v=n(742);var y,w=function(){function t(t,e){t=this.words=t||[],this.sigBytes=null!=e?e:4*t.length}var e=t.prototype;return e.random=function(e){for(var n=[],i=0;i>>2]>>>24-i%4*8&255;r.push((o>>>4).toString(16)),r.push((15&o).toString(16))}return r.join("")}(this)},t}(),_=S;function S(a,b){null!=a&&this.fromString(a,b)}function x(){return new S(null)}var O="undefined"!=typeof navigator;O&&"Microsoft Internet Explorer"==navigator.appName?(S.prototype.am=function(i,t,e,n,r,o){for(var c=32767&t,l=t>>15;--o>=0;){var d=32767&this[i],f=this[i++]>>15,h=l*d+f*c;r=((d=c*d+((32767&h)<<15)+e[n]+(1073741823&r))>>>30)+(h>>>15)+l*f+(r>>>30),e[n++]=1073741823&d}return r},y=30):O&&"Netscape"!=navigator.appName?(S.prototype.am=function(i,t,e,n,r,o){for(;--o>=0;){var c=t*this[i++]+e[n]+r;r=Math.floor(c/67108864),e[n++]=67108863&c}return r},y=26):(S.prototype.am=function(i,t,e,n,r,o){for(var c=16383&t,l=t>>14;--o>=0;){var d=16383&this[i],f=this[i++]>>14,h=l*d+f*c;r=((d=c*d+((16383&h)<<14)+e[n]+r)>>28)+(h>>14)+l*f,e[n++]=268435455&d}return r},y=28),S.prototype.DB=y,S.prototype.DM=(1<>>16)&&(t=e,n+=16),0!=(e=t>>8)&&(t=e,n+=8),0!=(e=t>>4)&&(t=e,n+=4),0!=(e=t>>2)&&(t=e,n+=2),0!=(e=t>>1)&&(t=e,n+=1),n}function T(t){this.m=t,this.mp=t.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<0&&this.m.subTo(e,e),e},T.prototype.revert=function(t){var e=x();return t.copyTo(e),this.reduce(e),e},T.prototype.reduce=function(t){for(;t.t<=this.mt2;)t[t.t++]=0;for(var i=0;i>15)*this.mpl&this.um)<<15)&t.DM;for(t[e=i+this.m.t]+=this.m.am(0,n,t,i,0,this.m.t);t[e]>=t.DV;)t[e]-=t.DV,t[++e]++}t.clamp(),t.drShiftTo(this.m.t,t),t.compareTo(this.m)>=0&&t.subTo(this.m,t)},T.prototype.mulTo=function(t,e,n){t.multiplyTo(e,n),this.reduce(n)},T.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},S.prototype.copyTo=function(t){for(var i=this.t-1;i>=0;--i)t[i]=this[i];t.t=this.t,t.s=this.s},S.prototype.fromInt=function(t){this.t=1,this.s=t<0?-1:0,t>0?this[0]=t:t<-1?this[0]=t+this.DV:this.t=0},S.prototype.fromString=function(s,b){var t;if(16==b)t=4;else if(8==b)t=3;else if(2==b)t=1;else if(32==b)t=5;else{if(4!=b)throw new Error("Only radix 2, 4, 8, 16, 32 are supported");t=2}this.t=0,this.s=0;for(var i=s.length,e=!1,n=0;--i>=0;){var r=j(s,i);r<0?"-"==s.charAt(i)&&(e=!0):(e=!1,0==n?this[this.t++]=r:n+t>this.DB?(this[this.t-1]|=(r&(1<>this.DB-n):this[this.t-1]|=r<=this.DB&&(n-=this.DB))}this.clamp(),e&&S.ZERO.subTo(this,this)},S.prototype.clamp=function(){for(var t=this.s&this.DM;this.t>0&&this[this.t-1]==t;)--this.t},S.prototype.dlShiftTo=function(t,e){var i;for(i=this.t-1;i>=0;--i)e[i+t]=this[i];for(i=t-1;i>=0;--i)e[i]=0;e.t=this.t+t,e.s=this.s},S.prototype.drShiftTo=function(t,e){for(var i=t;i=0;--i)e[i+c+1]=this[i]>>r|l,l=(this[i]&o)<=0;--i)e[i]=0;e[c]=l,e.t=this.t+c+1,e.s=this.s,e.clamp()},S.prototype.rShiftTo=function(t,e){e.s=this.s;var n=Math.floor(t/this.DB);if(n>=this.t)e.t=0;else{var r=t%this.DB,o=this.DB-r,c=(1<>r;for(var i=n+1;i>r;r>0&&(e[this.t-n-1]|=(this.s&c)<>=this.DB;if(a.t>=this.DB;e+=this.s}else{for(e+=this.s;i>=this.DB;e-=a.s}t.s=e<0?-1:0,e<-1?t[i++]=this.DV+e:e>0&&(t[i++]=e),t.t=i,t.clamp()},S.prototype.multiplyTo=function(a,t){var e=this.abs(),n=a.abs(),i=e.t;for(t.t=i+n.t;--i>=0;)t[i]=0;for(i=0;i=0;)t[i]=0;for(i=0;i=e.DV&&(t[i+e.t]-=e.DV,t[i+e.t+1]=1)}t.t>0&&(t[t.t-1]+=e.am(i,e[i],t,2*i,0,1)),t.s=0,t.clamp()},S.prototype.divRemTo=function(t,q,e){var n=t.abs();if(!(n.t<=0)){var r=this.abs();if(r.t0?(n.lShiftTo(d,o),r.lShiftTo(d,e)):(n.copyTo(o),r.copyTo(e));var f=o.t,h=o[f-1];if(0!=h){var m=h*(1<1?o[f-2]>>this.F2:0),v=this.FV/m,y=(1<=0&&(e[e.t++]=1,e.subTo(O,e)),S.ONE.dlShiftTo(f,O),O.subTo(o,o);o.t=0;){var k=e[--i]==h?this.DM:Math.floor(e[i]*v+(e[i-1]+w)*y);if((e[i]+=o.am(0,k,e,_,0,f))0&&e.rShiftTo(d,e),c<0&&S.ZERO.subTo(e,e)}}},S.prototype.invDigit=function(){if(this.t<1)return 0;var t=this[0];if(0==(1&t))return 0;var e=3&t;return(e=(e=(e=(e=e*(2-(15&t)*e)&15)*(2-(255&t)*e)&255)*(2-((65535&t)*e&65535))&65535)*(2-t*e%this.DV)%this.DV)>0?this.DV-e:-e},S.prototype.addTo=function(a,t){for(var i=0,e=0,n=Math.min(a.t,this.t);i>=this.DB;if(a.t>=this.DB;e+=this.s}else{for(e+=this.s;i>=this.DB;e+=a.s}t.s=e<0?-1:0,e>0?t[i++]=e:e<-1&&(t[i++]=this.DV+e),t.t=i,t.clamp()},S.prototype.toString=function(b){if(this.s<0)return"-"+this.negate().toString(b);var t;if(16==b)t=4;else if(8==b)t=3;else if(2==b)t=1;else if(32==b)t=5;else{if(4!=b)throw new Error("Only radix 2, 4, 8, 16, 32 are supported");t=2}var e,n=(1<0)for(p>p)>0&&(r=!0,o=C(e));i>=0;)p>(p+=this.DB-t)):(e=this[i]>>(p-=t)&n,p<=0&&(p+=this.DB,--i)),e>0&&(r=!0),r&&(o+=C(e));return r?o:"0"},S.prototype.negate=function(){var t=x();return S.ZERO.subTo(this,t),t},S.prototype.abs=function(){return this.s<0?this.negate():this},S.prototype.compareTo=function(a){var t=this.s-a.s;if(0!=t)return t;var i=this.t;if(0!=(t=i-a.t))return this.s<0?-t:t;for(;--i>=0;)if(0!=(t=this[i]-a[i]))return t;return 0},S.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+A(this[this.t-1]^this.s&this.DM)},S.prototype.mod=function(a){var t=x();return this.abs().divRemTo(a,null,t),this.s<0&&t.compareTo(S.ZERO)>0&&a.subTo(t,t),t},S.prototype.equals=function(a){return 0==this.compareTo(a)},S.prototype.add=function(a){var t=x();return this.addTo(a,t),t},S.prototype.subtract=function(a){var t=x();return this.subTo(a,t),t},S.prototype.multiply=function(a){var t=x();return this.multiplyTo(a,t),t},S.prototype.divide=function(a){var t=x();return this.divRemTo(a,t,null),t},S.prototype.modPow=function(t,e,n){var r,i=t.bitLength(),o=I(1),c=new T(e);if(i<=0)return o;r=i<18?1:i<48?3:i<144?4:i<768?5:6;var g=new Array,l=3,d=r-1,f=(1<1){var h=x();for(c.sqrTo(g[1],h);l<=f;)g[l]=x(),c.mulTo(h,g[l-2],g[l]),l+=2}var m,v,y=t.t-1,w=!0,_=x();for(i=A(t[y])-1;y>=0;){for(i>=d?m=t[y]>>i-d&f:(m=(t[y]&(1<0&&(m|=t[y-1]>>this.DB+i-d)),l=r;0==(1&m);)m>>=1,--l;if((i-=l)<0&&(i+=this.DB,--y),w)g[m].copyTo(o),w=!1;else{for(;l>1;)c.sqrTo(o,_),c.sqrTo(_,o),l-=2;l>0?c.sqrTo(o,_):(v=o,o=_,_=v),c.mulTo(_,g[m],o)}for(;y>=0&&0==(t[y]&1<0)&&!(r=i.next()).done;)c.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return c},o=function(){for(var t=[],i=0;i=l){var f=console.log.bind(console);"ERROR"===e&&console.error&&(f=console.error.bind(console)),"WARN"===e&&console.warn&&(f=console.warn.bind(console));var h="["+e+"] "+this._ts()+" "+this.name;if(1===n.length&&"string"==typeof n[0])f(h+" - "+n[0]);else if(1===n.length)f(h,n[0]);else if("string"==typeof n[0]){var m=n.slice(1);1===m.length&&(m=m[0]),f(h+" - "+n[0],m)}else f(h,n)}},t.prototype.log=function(){for(var t=[],e=0;e":(null!=(n=this.parent)?n.name:void 0)?"node: <"+t+">, parent: <"+this.parent.name+">":"node: <"+t+">":""},t.prototype.ele=function(t,e,text){return this.element(t,e,text)},t.prototype.nod=function(t,e,text){return this.node(t,e,text)},t.prototype.txt=function(t){return this.text(t)},t.prototype.dat=function(t){return this.cdata(t)},t.prototype.com=function(t){return this.comment(t)},t.prototype.ins=function(t,e){return this.instruction(t,e)},t.prototype.doc=function(){return this.document()},t.prototype.dec=function(t,e,n){return this.declaration(t,e,n)},t.prototype.e=function(t,e,text){return this.element(t,e,text)},t.prototype.n=function(t,e,text){return this.node(t,e,text)},t.prototype.t=function(t){return this.text(t)},t.prototype.d=function(t){return this.cdata(t)},t.prototype.c=function(t){return this.comment(t)},t.prototype.r=function(t){return this.raw(t)},t.prototype.i=function(t,e){return this.instruction(t,e)},t.prototype.u=function(){return this.up()},t.prototype.importXMLBuilder=function(t){return this.importDocument(t)},t.prototype.replaceChild=function(t,e){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.removeChild=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.appendChild=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.hasChildNodes=function(){return 0!==this.children.length},t.prototype.cloneNode=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.normalize=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.isSupported=function(t,e){return!0},t.prototype.hasAttributes=function(){return 0!==this.attribs.length},t.prototype.compareDocumentPosition=function(t){var n;return this,this===t?0:this.document()!==t.document()?(n=e.Disconnected|e.ImplementationSpecific,Math.random()<.5?n|=e.Preceding:n|=e.Following,n):this.isAncestor(t)?e.Contains|e.Preceding:this.isDescendant(t)?e.Contains|e.Following:this.isPreceding(t)?e.Preceding:e.Following},t.prototype.isSameNode=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.lookupPrefix=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.isDefaultNamespace=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.lookupNamespaceURI=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.isEqualNode=function(t){var i,e,n;if(t.nodeType!==this.nodeType)return!1;if(t.children.length!==this.children.length)return!1;for(i=e=0,n=this.children.length-1;0<=n?e<=n:e>=n;i=0<=n?++e:--e)if(!this.children[i].isEqualNode(t.children[i]))return!1;return!0},t.prototype.getFeature=function(t,e){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.setUserData=function(t,data,e){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.getUserData=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.contains=function(t){return!!t&&(t===this||this.isDescendant(t))},t.prototype.isDescendant=function(t){var e,n,r,o;for(n=0,r=(o=this.children).length;nn},t.prototype.treePosition=function(t){var e,n;return n=0,e=!1,this.foreachTreeNode(this.document(),(function(r){if(n++,!e&&r===t)return e=!0})),e?n:-1},t.prototype.foreachTreeNode=function(t,e){var n,r,o,c,l;for(t||(t=this.document()),r=0,o=(c=t.children).length;r(o>>1)-1?(o>>1)-d:d,c.isubn(l)):l=0,r[i]=l,c.iushrn(1)}return r},r.getJSF=function(t,e){var n=[[],[]];t=t.clone(),e=e.clone();for(var r=0,o=0;t.cmpn(-r)>0||e.cmpn(-o)>0;){var c,l,d,f=t.andln(3)+r&3,h=e.andln(3)+o&3;if(3===f&&(f=-1),3===h&&(h=-1),0==(1&f))c=0;else c=3!==(d=t.andln(7)+r&7)&&5!==d||2!==h?f:-f;if(n[0].push(c),0==(1&h))l=0;else l=3!==(d=e.andln(7)+o&7)&&5!==d||2!==f?h:-h;n[1].push(l),2*r===c+1&&(r=1-r),2*o===l+1&&(o=1-o),t.iushrn(1),e.iushrn(1)}return n},r.cachedProperty=function(t,e,n){var r="_"+e;t.prototype[e]=function(){return void 0!==this[r]?this[r]:this[r]=n.call(this)}},r.parseBytes=function(t){return"string"==typeof t?r.toArray(t,"hex"):t},r.intFromLE=function(t){return new o(t,"hex","le")}},function(t,e,n){"use strict";var r,o="object"==typeof Reflect?Reflect:null,c=o&&"function"==typeof o.apply?o.apply:function(t,e,n){return Function.prototype.apply.call(t,e,n)};r=o&&"function"==typeof o.ownKeys?o.ownKeys:Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.getOwnPropertyNames(t)};var l=Number.isNaN||function(t){return t!=t};function d(){d.init.call(this)}t.exports=d,t.exports.once=function(t,e){return new Promise((function(n,r){function o(){void 0!==c&&t.removeListener("error",c),n([].slice.call(arguments))}var c;"error"!==e&&(c=function(n){t.removeListener(e,o),r(n)},t.once("error",c)),t.once(e,o)}))},d.EventEmitter=d,d.prototype._events=void 0,d.prototype._eventsCount=0,d.prototype._maxListeners=void 0;var f=10;function h(t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}function m(t){return void 0===t._maxListeners?d.defaultMaxListeners:t._maxListeners}function v(t,e,n,r){var o,c,l,d;if(h(n),void 0===(c=t._events)?(c=t._events=Object.create(null),t._eventsCount=0):(void 0!==c.newListener&&(t.emit("newListener",e,n.listener?n.listener:n),c=t._events),l=c[e]),void 0===l)l=c[e]=n,++t._eventsCount;else if("function"==typeof l?l=c[e]=r?[n,l]:[l,n]:r?l.unshift(n):l.push(n),(o=m(t))>0&&l.length>o&&!l.warned){l.warned=!0;var f=new Error("Possible EventEmitter memory leak detected. "+l.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");f.name="MaxListenersExceededWarning",f.emitter=t,f.type=e,f.count=l.length,d=f,console&&console.warn&&console.warn(d)}return t}function y(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function w(t,e,n){var r={fired:!1,wrapFn:void 0,target:t,type:e,listener:n},o=y.bind(r);return o.listener=n,r.wrapFn=o,o}function _(t,e,n){var r=t._events;if(void 0===r)return[];var o=r[e];return void 0===o?[]:"function"==typeof o?n?[o.listener||o]:[o]:n?function(t){for(var e=new Array(t.length),i=0;i0&&(o=e[0]),o instanceof Error)throw o;var l=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw l.context=o,l}var d=r[t];if(void 0===d)return!1;if("function"==typeof d)c(d,this,e);else{var f=d.length,h=x(d,f);for(i=0;i=0;i--)if(n[i]===e||n[i].listener===e){c=n[i].listener,o=i;break}if(o<0)return this;0===o?n.shift():function(t,e){for(;e+1=0;i--)this.removeListener(t,e[i]);return this},d.prototype.listeners=function(t){return _(this,t,!0)},d.prototype.rawListeners=function(t){return _(this,t,!1)},d.listenerCount=function(t,e){return"function"==typeof t.listenerCount?t.listenerCount(e):S.call(t,e)},d.prototype.listenerCount=S,d.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},,,,function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return o}));var r={userAgent:"aws-amplify/3.8.4 js",product:"",navigator:null,isReactNative:!1};if("undefined"!=typeof navigator&&navigator.product)switch(r.product=navigator.product||"",r.navigator=navigator||null,navigator.product){case"ReactNative":r.userAgent="aws-amplify/3.8.4 react-native",r.isReactNative=!0;break;default:r.userAgent="aws-amplify/3.8.4 js",r.isReactNative=!1}var o=function(){return r.userAgent}},,,,,function(t,e,n){var r=n(196),o=n(228),c=n(254);t.exports=r?function(object,t,e){return o.f(object,t,c(1,e))}:function(object,t,e){return object[t]=e,object}},function(t,e,n){var r=n(203);t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},function(t,e,n){"use strict";var r=n(197),o=n(15);function c(t,i){return 55296==(64512&t.charCodeAt(i))&&(!(i<0||i+1>=t.length)&&56320==(64512&t.charCodeAt(i+1)))}function l(t){return(t>>>24|t>>>8&65280|t<<8&16711680|(255&t)<<24)>>>0}function d(t){return 1===t.length?"0"+t:t}function f(t){return 7===t.length?"0"+t:6===t.length?"00"+t:5===t.length?"000"+t:4===t.length?"0000"+t:3===t.length?"00000"+t:2===t.length?"000000"+t:1===t.length?"0000000"+t:t}e.inherits=o,e.toArray=function(t,e){if(Array.isArray(t))return t.slice();if(!t)return[];var n=[];if("string"==typeof t)if(e){if("hex"===e)for((t=t.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(t="0"+t),i=0;i>6|192,n[p++]=63&r|128):c(t,i)?(r=65536+((1023&r)<<10)+(1023&t.charCodeAt(++i)),n[p++]=r>>18|240,n[p++]=r>>12&63|128,n[p++]=r>>6&63|128,n[p++]=63&r|128):(n[p++]=r>>12|224,n[p++]=r>>6&63|128,n[p++]=63&r|128)}else for(i=0;i>>0}return l},e.split32=function(t,e){for(var n=new Array(4*t.length),i=0,r=0;i>>24,n[r+1]=o>>>16&255,n[r+2]=o>>>8&255,n[r+3]=255&o):(n[r+3]=o>>>24,n[r+2]=o>>>16&255,n[r+1]=o>>>8&255,n[r]=255&o)}return n},e.rotr32=function(t,b){return t>>>b|t<<32-b},e.rotl32=function(t,b){return t<>>32-b},e.sum32=function(a,b){return a+b>>>0},e.sum32_3=function(a,b,t){return a+b+t>>>0},e.sum32_4=function(a,b,t,e){return a+b+t+e>>>0},e.sum32_5=function(a,b,t,e,n){return a+b+t+e+n>>>0},e.sum64=function(t,e,n,r){var o=t[e],c=r+t[e+1]>>>0,l=(c>>0,t[e+1]=c},e.sum64_hi=function(t,e,n,r){return(e+r>>>0>>0},e.sum64_lo=function(t,e,n,r){return e+r>>>0},e.sum64_4_hi=function(t,e,n,r,o,c,l,dl){var d=0,f=e;return d+=(f=f+r>>>0)>>0)>>0)>>0},e.sum64_4_lo=function(t,e,n,r,o,c,l,dl){return e+r+c+dl>>>0},e.sum64_5_hi=function(t,e,n,r,o,c,l,dl,d,f){var h=0,m=e;return h+=(m=m+r>>>0)>>0)>>0)>>0)>>0},e.sum64_5_lo=function(t,e,n,r,o,c,l,dl,d,f){return e+r+c+dl+f>>>0},e.rotr64_hi=function(t,e,n){return(e<<32-n|t>>>n)>>>0},e.rotr64_lo=function(t,e,n){return(t<<32-n|e>>>n)>>>0},e.shr64_hi=function(t,e,n){return t>>>n},e.shr64_lo=function(t,e,n){return(t<<32-n|e>>>n)>>>0}},function(t,e,n){"use strict";var r=n(245);e.a=r.a},,function(t,e,n){(function(t,n){var r=/^\[object .+?Constructor\]$/,o=/^(?:0|[1-9]\d*)$/,c={};c["[object Float32Array]"]=c["[object Float64Array]"]=c["[object Int8Array]"]=c["[object Int16Array]"]=c["[object Int32Array]"]=c["[object Uint8Array]"]=c["[object Uint8ClampedArray]"]=c["[object Uint16Array]"]=c["[object Uint32Array]"]=!0,c["[object Arguments]"]=c["[object Array]"]=c["[object ArrayBuffer]"]=c["[object Boolean]"]=c["[object DataView]"]=c["[object Date]"]=c["[object Error]"]=c["[object Function]"]=c["[object Map]"]=c["[object Number]"]=c["[object Object]"]=c["[object RegExp]"]=c["[object Set]"]=c["[object String]"]=c["[object WeakMap]"]=!1;var l="object"==typeof t&&t&&t.Object===Object&&t,d="object"==typeof self&&self&&self.Object===Object&&self,f=l||d||Function("return this")(),h=e&&!e.nodeType&&e,m=h&&"object"==typeof n&&n&&!n.nodeType&&n,v=m&&m.exports===h,y=v&&l.process,w=function(){try{var t=m&&m.require&&m.require("util").types;return t||y&&y.binding&&y.binding("util")}catch(t){}}(),_=w&&w.isTypedArray;function S(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}var x,O,k,E=Array.prototype,M=Function.prototype,C=Object.prototype,j=f["__core-js_shared__"],I=M.toString,A=C.hasOwnProperty,T=(x=/[^.]+$/.exec(j&&j.keys&&j.keys.IE_PROTO||""))?"Symbol(src)_1."+x:"",P=C.toString,R=I.call(Object),D=RegExp("^"+I.call(A).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),L=v?f.Buffer:void 0,N=f.Symbol,B=f.Uint8Array,U=L?L.allocUnsafe:void 0,F=(O=Object.getPrototypeOf,k=Object,function(t){return O(k(t))}),z=Object.create,$=C.propertyIsEnumerable,V=E.splice,H=N?N.toStringTag:void 0,G=function(){try{var t=yt(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),K=L?L.isBuffer:void 0,W=Math.max,Y=Date.now,X=yt(f,"Map"),Z=yt(Object,"create"),J=function(){function object(){}return function(t){if(!At(t))return{};if(z)return z(t);object.prototype=t;var e=new object;return object.prototype=void 0,e}}();function Q(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e-1},tt.prototype.set=function(t,e){var data=this.__data__,n=st(data,t);return n<0?(++this.size,data.push([t,e])):data[n][1]=e,this},et.prototype.clear=function(){this.size=0,this.__data__={hash:new Q,map:new(X||tt),string:new Q}},et.prototype.delete=function(t){var e=vt(this,t).delete(t);return this.size-=e?1:0,e},et.prototype.get=function(t){return vt(this,t).get(t)},et.prototype.has=function(t){return vt(this,t).has(t)},et.prototype.set=function(t,e){var data=vt(this,t),n=data.size;return data.set(t,e),this.size+=data.size==n?0:1,this},nt.prototype.clear=function(){this.__data__=new tt,this.size=0},nt.prototype.delete=function(t){var data=this.__data__,e=data.delete(t);return this.size=data.size,e},nt.prototype.get=function(t){return this.__data__.get(t)},nt.prototype.has=function(t){return this.__data__.has(t)},nt.prototype.set=function(t,e){var data=this.__data__;if(data instanceof tt){var n=data.__data__;if(!X||n.length<199)return n.push([t,e]),this.size=++data.size,this;data=this.__data__=new et(n)}return data.set(t,e),this.size=data.size,this};var ct,lt=function(object,t,e){for(var n=-1,r=Object(object),o=e(object),c=o.length;c--;){var l=o[ct?c:++n];if(!1===t(r[l],l,r))break}return object};function ft(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":H&&H in Object(t)?function(t){var e=A.call(t,H),n=t[H];try{t[H]=void 0;var r=!0}catch(t){}var o=P.call(t);r&&(e?t[H]=n:delete t[H]);return o}(t):function(t){return P.call(t)}(t)}function ht(t){return Tt(t)&&"[object Arguments]"==ft(t)}function pt(t){return!(!At(t)||function(t){return!!T&&T in t}(t))&&(jt(t)?D:r).test(function(t){if(null!=t){try{return I.call(t)}catch(t){}try{return t+""}catch(t){}}return""}(t))}function mt(object){if(!At(object))return function(object){var t=[];if(null!=object)for(var e in Object(object))t.push(e);return t}(object);var t=_t(object),e=[];for(var n in object)("constructor"!=n||!t&&A.call(object,n))&&e.push(n);return e}function bt(object,source,t,e,n){object!==source&<(source,(function(r,o){if(n||(n=new nt),At(r))!function(object,source,t,e,n,r,o){var c=St(object,t),l=St(source,t),d=o.get(l);if(d)return void ot(object,t,d);var f=r?r(c,l,t+"",object,source,o):void 0,h=void 0===f;if(h){var m=Et(l),v=!m&&Ct(l),y=!m&&!v&&Pt(l);f=l,m||v||y?Et(c)?f=c:Tt(O=c)&&Mt(O)?f=function(source,t){var e=-1,n=source.length;t||(t=Array(n));for(;++e-1&&t%1==0&&t0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}(G?function(t,e){return G(t,"toString",{configurable:!0,enumerable:!1,value:(n=e,function(){return n}),writable:!0});var n}:Nt);function Ot(t,e){return t===e||t!=t&&e!=e}var kt=ht(function(){return arguments}())?ht:function(t){return Tt(t)&&A.call(t,"callee")&&!$.call(t,"callee")},Et=Array.isArray;function Mt(t){return null!=t&&It(t.length)&&!jt(t)}var Ct=K||function(){return!1};function jt(t){if(!At(t))return!1;var e=ft(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}function It(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}function At(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function Tt(t){return null!=t&&"object"==typeof t}var Pt=_?function(t){return function(e){return t(e)}}(_):function(t){return Tt(t)&&It(t.length)&&!!c[ft(t)]};function Rt(object){return Mt(object)?it(object,!0):mt(object)}var Dt,Lt=(Dt=function(object,source,t){bt(object,source,t)},gt((function(object,t){var e=-1,n=t.length,r=n>1?t[n-1]:void 0,o=n>2?t[2]:void 0;for(r=Dt.length>3&&"function"==typeof r?(n--,r):void 0,o&&function(t,e,object){if(!At(object))return!1;var n=typeof e;return!!("number"==n?Mt(object)&&wt(e,object.length):"string"==n&&e in object)&&Ot(object[e],t)}(t[0],t[1],o)&&(r=n<3?void 0:r,n=1),object=Object(object);++e-1&&t%1==0&&t-1&&t%1==0&&t<=9007199254740991}(t.length)&&!function(t){var e=M(t)?f.call(t):"";return"[object Function]"==e||"[object GeneratorFunction]"==e}(t)}function M(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}var C,j=(C=function(object,source){if(y||x(source)||E(source))!function(source,t,object,e){object||(object={});for(var n=-1,r=t.length;++n1?t[n-1]:void 0,o=n>2?t[2]:void 0;for(r=C.length>3&&"function"==typeof r?(n--,r):void 0,o&&function(t,e,object){if(!M(object))return!1;var n=typeof e;return!!("number"==n?E(object)&&S(e,object.length):"string"==n&&e in object)&&O(object[e],t)}(t[0],t[1],o)&&(r=n<3?void 0:r,n=1),object=Object(object);++e=49&&c<=54?c-49+10:c>=17&&c<=22?c-17+10:15&c}return r}function f(t,e,n,r){for(var o=0,c=Math.min(t.length,n),i=e;i=49?l-49+10:l>=17?l-17+10:l}return o}c.isBN=function(t){return t instanceof c||null!==t&&"object"==typeof t&&t.constructor.wordSize===c.wordSize&&Array.isArray(t.words)},c.max=function(t,e){return t.cmp(e)>0?t:e},c.min=function(t,e){return t.cmp(e)<0?t:e},c.prototype._init=function(t,base,e){if("number"==typeof t)return this._initNumber(t,base,e);if("object"==typeof t)return this._initArray(t,base,e);"hex"===base&&(base=16),r(base===(0|base)&&base>=2&&base<=36);var n=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&n++,16===base?this._parseHex(t,n):this._parseBase(t,base,n),"-"===t[0]&&(this.negative=1),this.strip(),"le"===e&&this._initArray(this.toArray(),base,e)},c.prototype._initNumber=function(t,base,e){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(r(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===e&&this._initArray(this.toArray(),base,e)},c.prototype._initArray=function(t,base,e){if(r("number"==typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var i=0;i=0;i-=3)o=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[n]|=o<>>26-c&67108863,(c+=24)>=26&&(c-=26,n++);else if("le"===e)for(i=0,n=0;i>>26-c&67108863,(c+=24)>=26&&(c-=26,n++);return this.strip()},c.prototype._parseHex=function(t,e){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var i=0;i=e;i-=6)r=d(t,i,i+6),this.words[n]|=r<>>26-o&4194303,(o+=24)>=26&&(o-=26,n++);i+6!==e&&(r=d(t,e,i+6),this.words[n]|=r<>>26-o&4194303),this.strip()},c.prototype._parseBase=function(t,base,e){this.words=[0],this.length=1;for(var n=0,r=1;r<=67108863;r*=base)n++;n--,r=r/base|0;for(var o=t.length-e,c=o%n,l=Math.min(o,o-c)+e,d=0,i=e;i1&&0===this.words[this.length-1];)this.length--;return this._normSign()},c.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},c.prototype.inspect=function(){return(this.red?""};var h=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],m=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],v=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function y(t,e,n){n.negative=e.negative^t.negative;var r=t.length+e.length|0;n.length=r,r=r-1|0;var a=0|t.words[0],b=0|e.words[0],o=a*b,c=67108863&o,l=o/67108864|0;n.words[0]=c;for(var d=1;d>>26,h=67108863&l,m=Math.min(d,e.length-1),v=Math.max(0,d-t.length+1);v<=m;v++){var i=d-v|0;f+=(o=(a=0|t.words[i])*(b=0|e.words[v])+h)/67108864|0,h=67108863&o}n.words[d]=0|h,l=0|f}return 0!==l?n.words[d]=0|l:n.length--,n.strip()}c.prototype.toString=function(base,t){var e;if(t=0|t||1,16===(base=base||10)||"hex"===base){e="";for(var n=0,o=0,i=0;i>>24-n&16777215)||i!==this.length-1?h[6-l.length]+l+e:l+e,(n+=2)>=26&&(n-=26,i--)}for(0!==o&&(e=o.toString(16)+e);e.length%t!=0;)e="0"+e;return 0!==this.negative&&(e="-"+e),e}if(base===(0|base)&&base>=2&&base<=36){var d=m[base],f=v[base];e="";var y=this.clone();for(y.negative=0;!y.isZero();){var w=y.modn(f).toString(base);e=(y=y.idivn(f)).isZero()?w+e:h[d-w.length]+w+e}for(this.isZero()&&(e="0"+e);e.length%t!=0;)e="0"+e;return 0!==this.negative&&(e="-"+e),e}r(!1,"Base should be between 2 and 36")},c.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},c.prototype.toJSON=function(){return this.toString(16)},c.prototype.toBuffer=function(t,e){return r(void 0!==l),this.toArrayLike(l,t,e)},c.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},c.prototype.toArrayLike=function(t,e,n){var o=this.byteLength(),c=n||Math.max(1,o);r(o<=c,"byte array longer than desired length"),r(c>0,"Requested array length <= 0"),this.strip();var b,i,l="le"===e,d=new t(c),q=this.clone();if(l){for(i=0;!q.isZero();i++)b=q.andln(255),q.iushrn(8),d[i]=b;for(;i=4096&&(n+=13,e>>>=13),e>=64&&(n+=7,e>>>=7),e>=8&&(n+=4,e>>>=4),e>=2&&(n+=2,e>>>=2),n+e},c.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,n=0;return 0==(8191&e)&&(n+=13,e>>>=13),0==(127&e)&&(n+=7,e>>>=7),0==(15&e)&&(n+=4,e>>>=4),0==(3&e)&&(n+=2,e>>>=2),0==(1&e)&&n++,n},c.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},c.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,i=0;it.length?this.clone().ior(t):t.clone().ior(this)},c.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},c.prototype.iuand=function(t){var b;b=this.length>t.length?t:this;for(var i=0;it.length?this.clone().iand(t):t.clone().iand(this)},c.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},c.prototype.iuxor=function(t){var a,b;this.length>t.length?(a=this,b=t):(a=t,b=this);for(var i=0;it.length?this.clone().ixor(t):t.clone().ixor(this)},c.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},c.prototype.inotn=function(t){r("number"==typeof t&&t>=0);var e=0|Math.ceil(t/26),n=t%26;this._expand(e),n>0&&e--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-n),this.strip()},c.prototype.notn=function(t){return this.clone().inotn(t)},c.prototype.setn=function(t,e){r("number"==typeof t&&t>=0);var n=t/26|0,o=t%26;return this._expand(n+1),this.words[n]=e?this.words[n]|1<t.length?(a=this,b=t):(a=t,b=this);for(var n=0,i=0;i>>26;for(;0!==n&&i>>26;if(this.length=a.length,0!==n)this.words[this.length]=n,this.length++;else if(a!==this)for(;it.length?this.clone().iadd(t):t.clone().iadd(this)},c.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var a,b,n=this.cmp(t);if(0===n)return this.negative=0,this.length=1,this.words[0]=0,this;n>0?(a=this,b=t):(a=t,b=this);for(var r=0,i=0;i>26,this.words[i]=67108863&e;for(;0!==r&&i>26,this.words[i]=67108863&e;if(0===r&&i>>13,v=0|a[1],y=8191&v,w=v>>>13,_=0|a[2],S=8191&_,x=_>>>13,O=0|a[3],k=8191&O,E=O>>>13,M=0|a[4],C=8191&M,j=M>>>13,I=0|a[5],A=8191&I,T=I>>>13,P=0|a[6],R=8191&P,D=P>>>13,L=0|a[7],N=8191&L,B=L>>>13,U=0|a[8],F=8191&U,z=U>>>13,$=0|a[9],V=8191&$,H=$>>>13,G=0|b[0],K=8191&G,W=G>>>13,Y=0|b[1],X=8191&Y,Z=Y>>>13,J=0|b[2],Q=8191&J,tt=J>>>13,et=0|b[3],nt=8191&et,it=et>>>13,ot=0|b[4],at=8191&ot,st=ot>>>13,ut=0|b[5],ct=8191&ut,lt=ut>>>13,ft=0|b[6],ht=8191&ft,pt=ft>>>13,mt=0|b[7],bt=8191&mt,gt=mt>>>13,vt=0|b[8],yt=8191&vt,wt=vt>>>13,_t=0|b[9],St=8191&_t,xt=_t>>>13;n.negative=t.negative^e.negative,n.length=19;var Ot=(d+(r=Math.imul(h,K))|0)+((8191&(o=(o=Math.imul(h,W))+Math.imul(m,K)|0))<<13)|0;d=((c=Math.imul(m,W))+(o>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,r=Math.imul(y,K),o=(o=Math.imul(y,W))+Math.imul(w,K)|0,c=Math.imul(w,W);var kt=(d+(r=r+Math.imul(h,X)|0)|0)+((8191&(o=(o=o+Math.imul(h,Z)|0)+Math.imul(m,X)|0))<<13)|0;d=((c=c+Math.imul(m,Z)|0)+(o>>>13)|0)+(kt>>>26)|0,kt&=67108863,r=Math.imul(S,K),o=(o=Math.imul(S,W))+Math.imul(x,K)|0,c=Math.imul(x,W),r=r+Math.imul(y,X)|0,o=(o=o+Math.imul(y,Z)|0)+Math.imul(w,X)|0,c=c+Math.imul(w,Z)|0;var Et=(d+(r=r+Math.imul(h,Q)|0)|0)+((8191&(o=(o=o+Math.imul(h,tt)|0)+Math.imul(m,Q)|0))<<13)|0;d=((c=c+Math.imul(m,tt)|0)+(o>>>13)|0)+(Et>>>26)|0,Et&=67108863,r=Math.imul(k,K),o=(o=Math.imul(k,W))+Math.imul(E,K)|0,c=Math.imul(E,W),r=r+Math.imul(S,X)|0,o=(o=o+Math.imul(S,Z)|0)+Math.imul(x,X)|0,c=c+Math.imul(x,Z)|0,r=r+Math.imul(y,Q)|0,o=(o=o+Math.imul(y,tt)|0)+Math.imul(w,Q)|0,c=c+Math.imul(w,tt)|0;var Mt=(d+(r=r+Math.imul(h,nt)|0)|0)+((8191&(o=(o=o+Math.imul(h,it)|0)+Math.imul(m,nt)|0))<<13)|0;d=((c=c+Math.imul(m,it)|0)+(o>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,r=Math.imul(C,K),o=(o=Math.imul(C,W))+Math.imul(j,K)|0,c=Math.imul(j,W),r=r+Math.imul(k,X)|0,o=(o=o+Math.imul(k,Z)|0)+Math.imul(E,X)|0,c=c+Math.imul(E,Z)|0,r=r+Math.imul(S,Q)|0,o=(o=o+Math.imul(S,tt)|0)+Math.imul(x,Q)|0,c=c+Math.imul(x,tt)|0,r=r+Math.imul(y,nt)|0,o=(o=o+Math.imul(y,it)|0)+Math.imul(w,nt)|0,c=c+Math.imul(w,it)|0;var Ct=(d+(r=r+Math.imul(h,at)|0)|0)+((8191&(o=(o=o+Math.imul(h,st)|0)+Math.imul(m,at)|0))<<13)|0;d=((c=c+Math.imul(m,st)|0)+(o>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,r=Math.imul(A,K),o=(o=Math.imul(A,W))+Math.imul(T,K)|0,c=Math.imul(T,W),r=r+Math.imul(C,X)|0,o=(o=o+Math.imul(C,Z)|0)+Math.imul(j,X)|0,c=c+Math.imul(j,Z)|0,r=r+Math.imul(k,Q)|0,o=(o=o+Math.imul(k,tt)|0)+Math.imul(E,Q)|0,c=c+Math.imul(E,tt)|0,r=r+Math.imul(S,nt)|0,o=(o=o+Math.imul(S,it)|0)+Math.imul(x,nt)|0,c=c+Math.imul(x,it)|0,r=r+Math.imul(y,at)|0,o=(o=o+Math.imul(y,st)|0)+Math.imul(w,at)|0,c=c+Math.imul(w,st)|0;var jt=(d+(r=r+Math.imul(h,ct)|0)|0)+((8191&(o=(o=o+Math.imul(h,lt)|0)+Math.imul(m,ct)|0))<<13)|0;d=((c=c+Math.imul(m,lt)|0)+(o>>>13)|0)+(jt>>>26)|0,jt&=67108863,r=Math.imul(R,K),o=(o=Math.imul(R,W))+Math.imul(D,K)|0,c=Math.imul(D,W),r=r+Math.imul(A,X)|0,o=(o=o+Math.imul(A,Z)|0)+Math.imul(T,X)|0,c=c+Math.imul(T,Z)|0,r=r+Math.imul(C,Q)|0,o=(o=o+Math.imul(C,tt)|0)+Math.imul(j,Q)|0,c=c+Math.imul(j,tt)|0,r=r+Math.imul(k,nt)|0,o=(o=o+Math.imul(k,it)|0)+Math.imul(E,nt)|0,c=c+Math.imul(E,it)|0,r=r+Math.imul(S,at)|0,o=(o=o+Math.imul(S,st)|0)+Math.imul(x,at)|0,c=c+Math.imul(x,st)|0,r=r+Math.imul(y,ct)|0,o=(o=o+Math.imul(y,lt)|0)+Math.imul(w,ct)|0,c=c+Math.imul(w,lt)|0;var It=(d+(r=r+Math.imul(h,ht)|0)|0)+((8191&(o=(o=o+Math.imul(h,pt)|0)+Math.imul(m,ht)|0))<<13)|0;d=((c=c+Math.imul(m,pt)|0)+(o>>>13)|0)+(It>>>26)|0,It&=67108863,r=Math.imul(N,K),o=(o=Math.imul(N,W))+Math.imul(B,K)|0,c=Math.imul(B,W),r=r+Math.imul(R,X)|0,o=(o=o+Math.imul(R,Z)|0)+Math.imul(D,X)|0,c=c+Math.imul(D,Z)|0,r=r+Math.imul(A,Q)|0,o=(o=o+Math.imul(A,tt)|0)+Math.imul(T,Q)|0,c=c+Math.imul(T,tt)|0,r=r+Math.imul(C,nt)|0,o=(o=o+Math.imul(C,it)|0)+Math.imul(j,nt)|0,c=c+Math.imul(j,it)|0,r=r+Math.imul(k,at)|0,o=(o=o+Math.imul(k,st)|0)+Math.imul(E,at)|0,c=c+Math.imul(E,st)|0,r=r+Math.imul(S,ct)|0,o=(o=o+Math.imul(S,lt)|0)+Math.imul(x,ct)|0,c=c+Math.imul(x,lt)|0,r=r+Math.imul(y,ht)|0,o=(o=o+Math.imul(y,pt)|0)+Math.imul(w,ht)|0,c=c+Math.imul(w,pt)|0;var At=(d+(r=r+Math.imul(h,bt)|0)|0)+((8191&(o=(o=o+Math.imul(h,gt)|0)+Math.imul(m,bt)|0))<<13)|0;d=((c=c+Math.imul(m,gt)|0)+(o>>>13)|0)+(At>>>26)|0,At&=67108863,r=Math.imul(F,K),o=(o=Math.imul(F,W))+Math.imul(z,K)|0,c=Math.imul(z,W),r=r+Math.imul(N,X)|0,o=(o=o+Math.imul(N,Z)|0)+Math.imul(B,X)|0,c=c+Math.imul(B,Z)|0,r=r+Math.imul(R,Q)|0,o=(o=o+Math.imul(R,tt)|0)+Math.imul(D,Q)|0,c=c+Math.imul(D,tt)|0,r=r+Math.imul(A,nt)|0,o=(o=o+Math.imul(A,it)|0)+Math.imul(T,nt)|0,c=c+Math.imul(T,it)|0,r=r+Math.imul(C,at)|0,o=(o=o+Math.imul(C,st)|0)+Math.imul(j,at)|0,c=c+Math.imul(j,st)|0,r=r+Math.imul(k,ct)|0,o=(o=o+Math.imul(k,lt)|0)+Math.imul(E,ct)|0,c=c+Math.imul(E,lt)|0,r=r+Math.imul(S,ht)|0,o=(o=o+Math.imul(S,pt)|0)+Math.imul(x,ht)|0,c=c+Math.imul(x,pt)|0,r=r+Math.imul(y,bt)|0,o=(o=o+Math.imul(y,gt)|0)+Math.imul(w,bt)|0,c=c+Math.imul(w,gt)|0;var Tt=(d+(r=r+Math.imul(h,yt)|0)|0)+((8191&(o=(o=o+Math.imul(h,wt)|0)+Math.imul(m,yt)|0))<<13)|0;d=((c=c+Math.imul(m,wt)|0)+(o>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,r=Math.imul(V,K),o=(o=Math.imul(V,W))+Math.imul(H,K)|0,c=Math.imul(H,W),r=r+Math.imul(F,X)|0,o=(o=o+Math.imul(F,Z)|0)+Math.imul(z,X)|0,c=c+Math.imul(z,Z)|0,r=r+Math.imul(N,Q)|0,o=(o=o+Math.imul(N,tt)|0)+Math.imul(B,Q)|0,c=c+Math.imul(B,tt)|0,r=r+Math.imul(R,nt)|0,o=(o=o+Math.imul(R,it)|0)+Math.imul(D,nt)|0,c=c+Math.imul(D,it)|0,r=r+Math.imul(A,at)|0,o=(o=o+Math.imul(A,st)|0)+Math.imul(T,at)|0,c=c+Math.imul(T,st)|0,r=r+Math.imul(C,ct)|0,o=(o=o+Math.imul(C,lt)|0)+Math.imul(j,ct)|0,c=c+Math.imul(j,lt)|0,r=r+Math.imul(k,ht)|0,o=(o=o+Math.imul(k,pt)|0)+Math.imul(E,ht)|0,c=c+Math.imul(E,pt)|0,r=r+Math.imul(S,bt)|0,o=(o=o+Math.imul(S,gt)|0)+Math.imul(x,bt)|0,c=c+Math.imul(x,gt)|0,r=r+Math.imul(y,yt)|0,o=(o=o+Math.imul(y,wt)|0)+Math.imul(w,yt)|0,c=c+Math.imul(w,wt)|0;var Pt=(d+(r=r+Math.imul(h,St)|0)|0)+((8191&(o=(o=o+Math.imul(h,xt)|0)+Math.imul(m,St)|0))<<13)|0;d=((c=c+Math.imul(m,xt)|0)+(o>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,r=Math.imul(V,X),o=(o=Math.imul(V,Z))+Math.imul(H,X)|0,c=Math.imul(H,Z),r=r+Math.imul(F,Q)|0,o=(o=o+Math.imul(F,tt)|0)+Math.imul(z,Q)|0,c=c+Math.imul(z,tt)|0,r=r+Math.imul(N,nt)|0,o=(o=o+Math.imul(N,it)|0)+Math.imul(B,nt)|0,c=c+Math.imul(B,it)|0,r=r+Math.imul(R,at)|0,o=(o=o+Math.imul(R,st)|0)+Math.imul(D,at)|0,c=c+Math.imul(D,st)|0,r=r+Math.imul(A,ct)|0,o=(o=o+Math.imul(A,lt)|0)+Math.imul(T,ct)|0,c=c+Math.imul(T,lt)|0,r=r+Math.imul(C,ht)|0,o=(o=o+Math.imul(C,pt)|0)+Math.imul(j,ht)|0,c=c+Math.imul(j,pt)|0,r=r+Math.imul(k,bt)|0,o=(o=o+Math.imul(k,gt)|0)+Math.imul(E,bt)|0,c=c+Math.imul(E,gt)|0,r=r+Math.imul(S,yt)|0,o=(o=o+Math.imul(S,wt)|0)+Math.imul(x,yt)|0,c=c+Math.imul(x,wt)|0;var Rt=(d+(r=r+Math.imul(y,St)|0)|0)+((8191&(o=(o=o+Math.imul(y,xt)|0)+Math.imul(w,St)|0))<<13)|0;d=((c=c+Math.imul(w,xt)|0)+(o>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,r=Math.imul(V,Q),o=(o=Math.imul(V,tt))+Math.imul(H,Q)|0,c=Math.imul(H,tt),r=r+Math.imul(F,nt)|0,o=(o=o+Math.imul(F,it)|0)+Math.imul(z,nt)|0,c=c+Math.imul(z,it)|0,r=r+Math.imul(N,at)|0,o=(o=o+Math.imul(N,st)|0)+Math.imul(B,at)|0,c=c+Math.imul(B,st)|0,r=r+Math.imul(R,ct)|0,o=(o=o+Math.imul(R,lt)|0)+Math.imul(D,ct)|0,c=c+Math.imul(D,lt)|0,r=r+Math.imul(A,ht)|0,o=(o=o+Math.imul(A,pt)|0)+Math.imul(T,ht)|0,c=c+Math.imul(T,pt)|0,r=r+Math.imul(C,bt)|0,o=(o=o+Math.imul(C,gt)|0)+Math.imul(j,bt)|0,c=c+Math.imul(j,gt)|0,r=r+Math.imul(k,yt)|0,o=(o=o+Math.imul(k,wt)|0)+Math.imul(E,yt)|0,c=c+Math.imul(E,wt)|0;var Dt=(d+(r=r+Math.imul(S,St)|0)|0)+((8191&(o=(o=o+Math.imul(S,xt)|0)+Math.imul(x,St)|0))<<13)|0;d=((c=c+Math.imul(x,xt)|0)+(o>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,r=Math.imul(V,nt),o=(o=Math.imul(V,it))+Math.imul(H,nt)|0,c=Math.imul(H,it),r=r+Math.imul(F,at)|0,o=(o=o+Math.imul(F,st)|0)+Math.imul(z,at)|0,c=c+Math.imul(z,st)|0,r=r+Math.imul(N,ct)|0,o=(o=o+Math.imul(N,lt)|0)+Math.imul(B,ct)|0,c=c+Math.imul(B,lt)|0,r=r+Math.imul(R,ht)|0,o=(o=o+Math.imul(R,pt)|0)+Math.imul(D,ht)|0,c=c+Math.imul(D,pt)|0,r=r+Math.imul(A,bt)|0,o=(o=o+Math.imul(A,gt)|0)+Math.imul(T,bt)|0,c=c+Math.imul(T,gt)|0,r=r+Math.imul(C,yt)|0,o=(o=o+Math.imul(C,wt)|0)+Math.imul(j,yt)|0,c=c+Math.imul(j,wt)|0;var Lt=(d+(r=r+Math.imul(k,St)|0)|0)+((8191&(o=(o=o+Math.imul(k,xt)|0)+Math.imul(E,St)|0))<<13)|0;d=((c=c+Math.imul(E,xt)|0)+(o>>>13)|0)+(Lt>>>26)|0,Lt&=67108863,r=Math.imul(V,at),o=(o=Math.imul(V,st))+Math.imul(H,at)|0,c=Math.imul(H,st),r=r+Math.imul(F,ct)|0,o=(o=o+Math.imul(F,lt)|0)+Math.imul(z,ct)|0,c=c+Math.imul(z,lt)|0,r=r+Math.imul(N,ht)|0,o=(o=o+Math.imul(N,pt)|0)+Math.imul(B,ht)|0,c=c+Math.imul(B,pt)|0,r=r+Math.imul(R,bt)|0,o=(o=o+Math.imul(R,gt)|0)+Math.imul(D,bt)|0,c=c+Math.imul(D,gt)|0,r=r+Math.imul(A,yt)|0,o=(o=o+Math.imul(A,wt)|0)+Math.imul(T,yt)|0,c=c+Math.imul(T,wt)|0;var Nt=(d+(r=r+Math.imul(C,St)|0)|0)+((8191&(o=(o=o+Math.imul(C,xt)|0)+Math.imul(j,St)|0))<<13)|0;d=((c=c+Math.imul(j,xt)|0)+(o>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,r=Math.imul(V,ct),o=(o=Math.imul(V,lt))+Math.imul(H,ct)|0,c=Math.imul(H,lt),r=r+Math.imul(F,ht)|0,o=(o=o+Math.imul(F,pt)|0)+Math.imul(z,ht)|0,c=c+Math.imul(z,pt)|0,r=r+Math.imul(N,bt)|0,o=(o=o+Math.imul(N,gt)|0)+Math.imul(B,bt)|0,c=c+Math.imul(B,gt)|0,r=r+Math.imul(R,yt)|0,o=(o=o+Math.imul(R,wt)|0)+Math.imul(D,yt)|0,c=c+Math.imul(D,wt)|0;var Bt=(d+(r=r+Math.imul(A,St)|0)|0)+((8191&(o=(o=o+Math.imul(A,xt)|0)+Math.imul(T,St)|0))<<13)|0;d=((c=c+Math.imul(T,xt)|0)+(o>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,r=Math.imul(V,ht),o=(o=Math.imul(V,pt))+Math.imul(H,ht)|0,c=Math.imul(H,pt),r=r+Math.imul(F,bt)|0,o=(o=o+Math.imul(F,gt)|0)+Math.imul(z,bt)|0,c=c+Math.imul(z,gt)|0,r=r+Math.imul(N,yt)|0,o=(o=o+Math.imul(N,wt)|0)+Math.imul(B,yt)|0,c=c+Math.imul(B,wt)|0;var Ut=(d+(r=r+Math.imul(R,St)|0)|0)+((8191&(o=(o=o+Math.imul(R,xt)|0)+Math.imul(D,St)|0))<<13)|0;d=((c=c+Math.imul(D,xt)|0)+(o>>>13)|0)+(Ut>>>26)|0,Ut&=67108863,r=Math.imul(V,bt),o=(o=Math.imul(V,gt))+Math.imul(H,bt)|0,c=Math.imul(H,gt),r=r+Math.imul(F,yt)|0,o=(o=o+Math.imul(F,wt)|0)+Math.imul(z,yt)|0,c=c+Math.imul(z,wt)|0;var Ft=(d+(r=r+Math.imul(N,St)|0)|0)+((8191&(o=(o=o+Math.imul(N,xt)|0)+Math.imul(B,St)|0))<<13)|0;d=((c=c+Math.imul(B,xt)|0)+(o>>>13)|0)+(Ft>>>26)|0,Ft&=67108863,r=Math.imul(V,yt),o=(o=Math.imul(V,wt))+Math.imul(H,yt)|0,c=Math.imul(H,wt);var zt=(d+(r=r+Math.imul(F,St)|0)|0)+((8191&(o=(o=o+Math.imul(F,xt)|0)+Math.imul(z,St)|0))<<13)|0;d=((c=c+Math.imul(z,xt)|0)+(o>>>13)|0)+(zt>>>26)|0,zt&=67108863;var $t=(d+(r=Math.imul(V,St))|0)+((8191&(o=(o=Math.imul(V,xt))+Math.imul(H,St)|0))<<13)|0;return d=((c=Math.imul(H,xt))+(o>>>13)|0)+($t>>>26)|0,$t&=67108863,l[0]=Ot,l[1]=kt,l[2]=Et,l[3]=Mt,l[4]=Ct,l[5]=jt,l[6]=It,l[7]=At,l[8]=Tt,l[9]=Pt,l[10]=Rt,l[11]=Dt,l[12]=Lt,l[13]=Nt,l[14]=Bt,l[15]=Ut,l[16]=Ft,l[17]=zt,l[18]=$t,0!==d&&(l[19]=d,n.length++),n};function _(t,e,n){return(new S).mulp(t,e,n)}function S(t,e){this.x=t,this.y=e}Math.imul||(w=y),c.prototype.mulTo=function(t,e){var n=this.length+t.length;return 10===this.length&&10===t.length?w(this,t,e):n<63?y(this,t,e):n<1024?function(t,e,n){n.negative=e.negative^t.negative,n.length=t.length+e.length;for(var r=0,o=0,c=0;c>>26)|0)>>>26,l&=67108863}n.words[c]=d,r=l,l=o}return 0!==r?n.words[c]=r:n.length--,n.strip()}(this,t,e):_(this,t,e)},S.prototype.makeRBT=function(t){for(var e=new Array(t),n=c.prototype._countBits(t)-1,i=0;i>=1;return r},S.prototype.permute=function(t,e,n,r,o,c){for(var i=0;i>>=1)i++;return 1<>>=13,n[2*i+1]=8191&c,c>>>=13;for(i=2*e;i>=26,e+=n/67108864|0,e+=o>>>26,this.words[i]=67108863&o}return 0!==e&&(this.words[i]=e,this.length++),this},c.prototype.muln=function(t){return this.clone().imuln(t)},c.prototype.sqr=function(){return this.mul(this)},c.prototype.isqr=function(){return this.imul(this.clone())},c.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),n=0;n>>o}return e}(t);if(0===e.length)return new c(1);for(var n=this,i=0;i=0);var i,e=t%26,s=(t-e)/26,n=67108863>>>26-e<<26-e;if(0!==e){var o=0;for(i=0;i>>26-e}o&&(this.words[i]=o,this.length++)}if(0!==s){for(i=this.length-1;i>=0;i--)this.words[i+s]=this.words[i];for(i=0;i=0),o=e?(e-e%26)/26:0;var c=t%26,s=Math.min((t-c)/26,this.length),mask=67108863^67108863>>>c<s)for(this.length-=s,i=0;i=0&&(0!==d||i>=o);i--){var f=0|this.words[i];this.words[i]=d<<26-c|f>>>c,d=f&mask}return l&&0!==d&&(l.words[l.length++]=d),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},c.prototype.ishrn=function(t,e,n){return r(0===this.negative),this.iushrn(t,e,n)},c.prototype.shln=function(t){return this.clone().ishln(t)},c.prototype.ushln=function(t){return this.clone().iushln(t)},c.prototype.shrn=function(t){return this.clone().ishrn(t)},c.prototype.ushrn=function(t){return this.clone().iushrn(t)},c.prototype.testn=function(t){r("number"==typeof t&&t>=0);var e=t%26,s=(t-e)/26,q=1<=0);var e=t%26,s=(t-e)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=s)return this;if(0!==e&&s++,this.length=Math.min(s,this.length),0!==e){var mask=67108863^67108863>>>e<=67108864;i++)this.words[i]-=67108864,i===this.length-1?this.words[i+1]=1:this.words[i+1]++;return this.length=Math.max(this.length,i+1),this},c.prototype.isubn=function(t){if(r("number"==typeof t),r(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var i=0;i>26)-(d/67108864|0),this.words[i+n]=67108863&o}for(;i>26,this.words[i+n]=67108863&o;if(0===l)return this.strip();for(r(-1===l),l=0,i=0;i>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},c.prototype._wordDiv=function(t,e){var n=(this.length,t.length),a=this.clone(),b=t,r=0|b.words[b.length-1];0!==(n=26-this._countBits(r))&&(b=b.ushln(n),a.iushln(n),r=0|b.words[b.length-1]);var q,o=a.length-b.length;if("mod"!==e){(q=new c(null)).length=o+1,q.words=new Array(q.length);for(var i=0;i=0;d--){var f=67108864*(0|a.words[b.length+d])+(0|a.words[b.length+d-1]);for(f=Math.min(f/r|0,67108863),a._ishlnsubmul(b,f,d);0!==a.negative;)f--,a.negative=0,a._ishlnsubmul(b,1,d),a.isZero()||(a.negative^=1);q&&(q.words[d]=f)}return q&&q.strip(),a.strip(),"div"!==e&&0!==n&&a.iushrn(n),{div:q||null,mod:a}},c.prototype.divmod=function(t,e,n){return r(!t.isZero()),this.isZero()?{div:new c(0),mod:new c(0)}:0!==this.negative&&0===t.negative?(l=this.neg().divmod(t,e),"mod"!==e&&(div=l.div.neg()),"div"!==e&&(o=l.mod.neg(),n&&0!==o.negative&&o.iadd(t)),{div:div,mod:o}):0===this.negative&&0!==t.negative?(l=this.divmod(t.neg(),e),"mod"!==e&&(div=l.div.neg()),{div:div,mod:l.mod}):0!=(this.negative&t.negative)?(l=this.neg().divmod(t.neg(),e),"div"!==e&&(o=l.mod.neg(),n&&0!==o.negative&&o.isub(t)),{div:l.div,mod:o}):t.length>this.length||this.cmp(t)<0?{div:new c(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new c(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new c(this.modn(t.words[0]))}:this._wordDiv(t,e);var div,o,l},c.prototype.div=function(t){return this.divmod(t,"div",!1).div},c.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},c.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},c.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var n=0!==e.div.negative?e.mod.isub(t):e.mod,r=t.ushrn(1),o=t.andln(1),c=n.cmp(r);return c<0||1===o&&0===c?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},c.prototype.modn=function(t){r(t<=67108863);for(var p=(1<<26)%t,e=0,i=this.length-1;i>=0;i--)e=(p*e+(0|this.words[i]))%t;return e},c.prototype.idivn=function(t){r(t<=67108863);for(var e=0,i=this.length-1;i>=0;i--){var n=(0|this.words[i])+67108864*e;this.words[i]=n/t|0,e=n%t}return this.strip()},c.prototype.divn=function(t){return this.clone().idivn(t)},c.prototype.egcd=function(p){r(0===p.negative),r(!p.isZero());var t=this,e=p.clone();t=0!==t.negative?t.umod(p):t.clone();for(var n=new c(1),o=new c(0),l=new c(0),d=new c(1),g=0;t.isEven()&&e.isEven();)t.iushrn(1),e.iushrn(1),++g;for(var f=e.clone(),h=t.clone();!t.isZero();){for(var i=0,m=1;0==(t.words[0]&m)&&i<26;++i,m<<=1);if(i>0)for(t.iushrn(i);i-- >0;)(n.isOdd()||o.isOdd())&&(n.iadd(f),o.isub(h)),n.iushrn(1),o.iushrn(1);for(var v=0,y=1;0==(e.words[0]&y)&&v<26;++v,y<<=1);if(v>0)for(e.iushrn(v);v-- >0;)(l.isOdd()||d.isOdd())&&(l.iadd(f),d.isub(h)),l.iushrn(1),d.iushrn(1);t.cmp(e)>=0?(t.isub(e),n.isub(l),o.isub(d)):(e.isub(t),l.isub(n),d.isub(o))}return{a:l,b:d,gcd:e.iushln(g)}},c.prototype._invmp=function(p){r(0===p.negative),r(!p.isZero());var a=this,b=p.clone();a=0!==a.negative?a.umod(p):a.clone();for(var t,e=new c(1),n=new c(0),o=b.clone();a.cmpn(1)>0&&b.cmpn(1)>0;){for(var i=0,l=1;0==(a.words[0]&l)&&i<26;++i,l<<=1);if(i>0)for(a.iushrn(i);i-- >0;)e.isOdd()&&e.iadd(o),e.iushrn(1);for(var d=0,f=1;0==(b.words[0]&f)&&d<26;++d,f<<=1);if(d>0)for(b.iushrn(d);d-- >0;)n.isOdd()&&n.iadd(o),n.iushrn(1);a.cmp(b)>=0?(a.isub(b),e.isub(n)):(b.isub(a),n.isub(e))}return(t=0===a.cmpn(1)?e:n).cmpn(0)<0&&t.iadd(p),t},c.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var a=this.clone(),b=t.clone();a.negative=0,b.negative=0;for(var e=0;a.isEven()&&b.isEven();e++)a.iushrn(1),b.iushrn(1);for(;;){for(;a.isEven();)a.iushrn(1);for(;b.isEven();)b.iushrn(1);var n=a.cmp(b);if(n<0){var r=a;a=b,b=r}else if(0===n||0===b.cmpn(1))break;a.isub(b)}return b.iushln(e)},c.prototype.invm=function(t){return this.egcd(t).a.umod(t)},c.prototype.isEven=function(){return 0==(1&this.words[0])},c.prototype.isOdd=function(){return 1==(1&this.words[0])},c.prototype.andln=function(t){return this.words[0]&t},c.prototype.bincn=function(t){r("number"==typeof t);var e=t%26,s=(t-e)/26,q=1<>>26,o&=67108863,this.words[i]=o}return 0!==n&&(this.words[i]=n,this.length++),this},c.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},c.prototype.cmpn=function(t){var e,n=t<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this.strip(),this.length>1)e=1;else{n&&(t=-t),r(t<=67108863,"Number is too big");var o=0|this.words[0];e=o===t?0:ot.length)return 1;if(this.length=0;i--){var a=0|this.words[i],b=0|t.words[i];if(a!==b){ab&&(e=1);break}}return e},c.prototype.gtn=function(t){return 1===this.cmpn(t)},c.prototype.gt=function(t){return 1===this.cmp(t)},c.prototype.gten=function(t){return this.cmpn(t)>=0},c.prototype.gte=function(t){return this.cmp(t)>=0},c.prototype.ltn=function(t){return-1===this.cmpn(t)},c.prototype.lt=function(t){return-1===this.cmp(t)},c.prototype.lten=function(t){return this.cmpn(t)<=0},c.prototype.lte=function(t){return this.cmp(t)<=0},c.prototype.eqn=function(t){return 0===this.cmpn(t)},c.prototype.eq=function(t){return 0===this.cmp(t)},c.red=function(t){return new j(t)},c.prototype.toRed=function(t){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},c.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},c.prototype._forceRed=function(t){return this.red=t,this},c.prototype.forceRed=function(t){return r(!this.red,"Already a number in reduction context"),this._forceRed(t)},c.prototype.redAdd=function(t){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},c.prototype.redIAdd=function(t){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},c.prototype.redSub=function(t){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},c.prototype.redISub=function(t){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},c.prototype.redShl=function(t){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},c.prototype.redMul=function(t){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},c.prototype.redIMul=function(t){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},c.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},c.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},c.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},c.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},c.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},c.prototype.redPow=function(t){return r(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var x={k256:null,p224:null,p192:null,p25519:null};function O(t,p){this.name=t,this.p=new c(p,16),this.n=this.p.bitLength(),this.k=new c(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function k(){O.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function E(){O.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function M(){O.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function C(){O.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function j(t){if("string"==typeof t){var e=c._prime(t);this.m=e.p,this.prime=e}else r(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function I(t){j.call(this,t),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new c(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}O.prototype._tmp=function(){var t=new c(null);return t.words=new Array(Math.ceil(this.n/13)),t},O.prototype.ireduce=function(t){var e,n=t;do{this.split(n,this.tmp),e=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(e>this.n);var r=e0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},O.prototype.split=function(input,t){input.iushrn(this.n,0,t)},O.prototype.imulK=function(t){return t.imul(this.k)},o(k,O),k.prototype.split=function(input,output){for(var t=Math.min(input.length,9),i=0;i>>22,e=n}e>>>=22,input.words[i-10]=e,0===e&&input.length>10?input.length-=10:input.length-=9},k.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,i=0;i>>=26,t.words[i]=r,e=n}return 0!==e&&(t.words[t.length++]=e),t},c._prime=function(t){if(x[t])return x[t];var e;if("k256"===t)e=new k;else if("p224"===t)e=new E;else if("p192"===t)e=new M;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new C}return x[t]=e,e},j.prototype._verify1=function(a){r(0===a.negative,"red works only with positives"),r(a.red,"red works only with red numbers")},j.prototype._verify2=function(a,b){r(0==(a.negative|b.negative),"red works only with positives"),r(a.red&&a.red===b.red,"red works only with red numbers")},j.prototype.imod=function(a){return this.prime?this.prime.ireduce(a)._forceRed(this):a.umod(this.m)._forceRed(this)},j.prototype.neg=function(a){return a.isZero()?a.clone():this.m.sub(a)._forceRed(this)},j.prototype.add=function(a,b){this._verify2(a,b);var t=a.add(b);return t.cmp(this.m)>=0&&t.isub(this.m),t._forceRed(this)},j.prototype.iadd=function(a,b){this._verify2(a,b);var t=a.iadd(b);return t.cmp(this.m)>=0&&t.isub(this.m),t},j.prototype.sub=function(a,b){this._verify2(a,b);var t=a.sub(b);return t.cmpn(0)<0&&t.iadd(this.m),t._forceRed(this)},j.prototype.isub=function(a,b){this._verify2(a,b);var t=a.isub(b);return t.cmpn(0)<0&&t.iadd(this.m),t},j.prototype.shl=function(a,t){return this._verify1(a),this.imod(a.ushln(t))},j.prototype.imul=function(a,b){return this._verify2(a,b),this.imod(a.imul(b))},j.prototype.mul=function(a,b){return this._verify2(a,b),this.imod(a.mul(b))},j.prototype.isqr=function(a){return this.imul(a,a.clone())},j.prototype.sqr=function(a){return this.mul(a,a)},j.prototype.sqrt=function(a){if(a.isZero())return a.clone();var t=this.m.andln(3);if(r(t%2==1),3===t){var e=this.m.add(new c(1)).iushrn(2);return this.pow(a,e)}for(var q=this.m.subn(1),s=0;!q.isZero()&&0===q.andln(1);)s++,q.iushrn(1);r(!q.isZero());var n=new c(1).toRed(this),o=n.redNeg(),l=this.m.subn(1).iushrn(1),d=this.m.bitLength();for(d=new c(2*d*d).toRed(this);0!==this.pow(d,l).cmp(o);)d.redIAdd(o);for(var f=this.pow(d,q),h=this.pow(a,q.addn(1).iushrn(1)),m=this.pow(a,q),v=s;0!==m.cmp(n);){for(var y=m,i=0;0!==y.cmp(n);i++)y=y.redSqr();r(i=0;i--){for(var d=t.words[i],f=l-1;f>=0;f--){var h=d>>f&1;n!==e[0]&&(n=this.sqr(n)),0!==h||0!==r?(r<<=1,r|=h,(4===++o||0===i&&0===f)&&(n=this.mul(n,e[r]),o=0,r=0)):o=0}l=26}return n},j.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},j.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},c.mont=function(t){return new I(t)},o(I,j),I.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},I.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},I.prototype.imul=function(a,b){if(a.isZero()||b.isZero())return a.words[0]=0,a.length=1,a;var t=a.imul(b),e=t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),u=t.isub(e).iushrn(this.shift),n=u;return u.cmp(this.m)>=0?n=u.isub(this.m):u.cmpn(0)<0&&(n=u.iadd(this.m)),n._forceRed(this)},I.prototype.mul=function(a,b){if(a.isZero()||b.isZero())return new c(0)._forceRed(this);var t=a.mul(b),e=t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),u=t.isub(e).iushrn(this.shift),n=u;return u.cmp(this.m)>=0?n=u.isub(this.m):u.cmpn(0)<0&&(n=u.iadd(this.m)),n._forceRed(this)},I.prototype.invm=function(a){return this.imod(a._invmp(this.m).mul(this.r2))._forceRed(this)}}(t,this)}).call(this,n(187)(t))},function(t,e,n){var r=n(686),o="object"==typeof self&&self&&self.Object===Object&&self,c=r||o||Function("return this")();t.exports=c},function(t,e,n){"use strict";const r=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",o="["+r+"][:A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*",c=new RegExp("^"+o+"$");e.isExist=function(t){return void 0!==t},e.isEmptyObject=function(t){return 0===Object.keys(t).length},e.merge=function(t,a,e){if(a){const n=Object.keys(a),r=n.length;for(let i=0;i1&&void 0!==arguments[1]?arguments[1]:z,n=arguments.length>2?arguments[2]:void 0;return $.call(this,t,e,n)},c.default.use(y.a);var V={mode:"history",base:decodeURI("/"),linkActiveClass:"nuxt-link-active",linkExactActiveClass:"nuxt-link-exact-active",scrollBehavior:function(t,e,n){var r=!1,o=Object(w.g)(t);(o.some((function(t){return t.options.scrollToTop}))||o.length<2&&o.every((function(t){return!1!==t.options.scrollToTop})))&&(r={x:0,y:0}),n&&(r=n);var c=window.$nuxt;return(t.path===e.path&&t.hash!==e.hash||t===e)&&c.$nextTick((function(){return c.$emit("triggerScroll")})),new Promise((function(e){c.$once("triggerScroll",(function(){if(t.hash){var n=t.hash;void 0!==window.CSS&&void 0!==window.CSS.escape&&(n="#"+window.CSS.escape(n.substr(1)));try{document.querySelector(n)&&(r={selector:n})}catch(t){console.warn("Failed to save scroll position. Please add CSS.escape() polyfill (https://github.com/mathiasbynens/CSS.escape).")}}e(r)}))}))},routes:[{path:"/about",component:_,name:"about___de"},{path:"/datenschutz",component:S,name:"datenschutz___de"},{path:"/en",component:x,name:"index___en"},{path:"/impressum",component:O,name:"impressum___de"},{path:"/insights",component:k,name:"insights___de"},{path:"/join",component:E,name:"join___de"},{path:"/media-ai",component:M,name:"media-ai___de"},{path:"/news",component:C,name:"news___de"},{path:"/podcast",component:j,name:"podcast___de"},{path:"/pragmatic-ai",component:I,name:"pragmatic-ai___de"},{path:"/projekte",component:A,name:"projekte___de"},{path:"/team",component:T,name:"team___de"},{path:"/en/about",component:_,name:"about___en"},{path:"/en/datenschutz",component:S,name:"datenschutz___en"},{path:"/en/impressum",component:O,name:"impressum___en"},{path:"/en/insights",component:k,name:"insights___en"},{path:"/en/join",component:E,name:"join___en"},{path:"/en/media-ai",component:M,name:"media-ai___en"},{path:"/en/news",component:C,name:"news___en"},{path:"/en/podcast",component:j,name:"podcast___en"},{path:"/en/pragmatic-ai",component:I,name:"pragmatic-ai___en"},{path:"/en/projekte",component:A,name:"projekte___en"},{path:"/en/team",component:T,name:"team___en"},{path:"/en/focus/:slug?",component:P,name:"focus-slug___en"},{path:"/en/insights/:slug",component:R,name:"insights-slug___en"},{path:"/en/join/:slug",component:D,name:"join-slug___en"},{path:"/en/media-ai/:slug?",component:L,name:"media-ai-slug___en"},{path:"/en/news/:slug",component:N,name:"news-slug___en"},{path:"/en/podcast/:slug",component:B,name:"podcast-slug___en"},{path:"/en/pragmatic-ai/:slug?",component:U,name:"pragmatic-ai-slug___en"},{path:"/en/projekte/:slug",component:F,name:"projekte-slug___en"},{path:"/focus/:slug?",component:P,name:"focus-slug___de"},{path:"/insights/:slug",component:R,name:"insights-slug___de"},{path:"/join/:slug",component:D,name:"join-slug___de"},{path:"/media-ai/:slug?",component:L,name:"media-ai-slug___de"},{path:"/news/:slug",component:N,name:"news-slug___de"},{path:"/podcast/:slug",component:B,name:"podcast-slug___de"},{path:"/pragmatic-ai/:slug?",component:U,name:"pragmatic-ai-slug___de"},{path:"/projekte/:slug",component:F,name:"projekte-slug___de"},{path:"/",component:x,name:"index___de"}],fallback:!1};function H(){return new y.a(V)}n(26),n(27);var G={name:"NuxtChild",functional:!0,props:{nuxtChildKey:{type:String,default:""},keepAlive:Boolean,keepAliveProps:{type:Object,default:void 0}},render:function(t,e){var n=e.parent,data=e.data,r=e.props,o=n.$createElement;data.nuxtChild=!0;for(var c=n,l=n.$nuxt.nuxt.transitions,d=n.$nuxt.nuxt.defaultTransition,f=0;n;)n.$vnode&&n.$vnode.data.nuxtChild&&f++,n=n.$parent;data.nuxtChildDepth=f;var h=l[f]||d,m={};K.forEach((function(t){void 0!==h[t]&&(m[t]=h[t])}));var v={};W.forEach((function(t){"function"==typeof h[t]&&(v[t]=h[t].bind(c))}));var y=v.beforeEnter;if(v.beforeEnter=function(t){if(window.$nuxt.$nextTick((function(){window.$nuxt.$emit("triggerScroll")})),y)return y.call(c,t)},!1===h.css){var w=v.leave;(!w||w.length<2)&&(v.leave=function(t,e){w&&w.call(c,t),c.$nextTick(e)})}var _=o("routerView",data);return r.keepAlive&&(_=o("keep-alive",{props:r.keepAliveProps},[_])),o("transition",{props:m,on:v},[_])}},K=["name","mode","appear","css","type","duration","enterClass","leaveClass","appearClass","enterActiveClass","enterActiveClass","leaveActiveClass","appearActiveClass","enterToClass","leaveToClass","appearToClass"],W=["beforeEnter","enter","afterEnter","enterCancelled","beforeLeave","leave","afterLeave","leaveCancelled","beforeAppear","appear","afterAppear","appearCancelled"],Y=n(230),X=(n(14),n(147),n(33),n(49)),Z={name:"Nuxt",components:{NuxtChild:G,NuxtError:Y.a},props:{nuxtChildKey:{type:String,default:void 0},keepAlive:Boolean,keepAliveProps:{type:Object,default:void 0},name:{type:String,default:"default"}},errorCaptured:function(t){this.displayingNuxtError&&(this.errorFromNuxtError=t,this.$forceUpdate())},computed:{routerViewKey:function(){if(void 0!==this.nuxtChildKey||this.$route.matched.length>1)return this.nuxtChildKey||Object(w.c)(this.$route.matched[0].path)(this.$route.params);var t=Object(X.a)(this.$route.matched,1)[0];if(!t)return this.$route.path;var e=t.components.default;if(e&&e.options){var n=e.options;if(n.key)return"function"==typeof n.key?n.key(this.$route):n.key}return/\/$/.test(t.path)?this.$route.path:this.$route.path.replace(/\/$/,"")}},beforeCreate:function(){c.default.util.defineReactive(this,"nuxt",this.$root.$options.nuxt)},render:function(t){var e=this;return this.nuxt.err?this.errorFromNuxtError?(this.$nextTick((function(){return e.errorFromNuxtError=!1})),t("div",{},[t("h2","An error occurred while showing the error page"),t("p","Unfortunately an error occurred and while showing the error page another error occurred"),t("p","Error details: ".concat(this.errorFromNuxtError.toString())),t("nuxt-link",{props:{to:"/"}},"Go back to home")])):(this.displayingNuxtError=!0,this.$nextTick((function(){return e.displayingNuxtError=!1})),t(Y.a,{props:{error:this.nuxt.err}})):t("NuxtChild",{key:this.routerViewKey,props:this.$props})}},J=(n(209),n(251),n(165),{name:"NuxtLoading",data:function(){return{percent:0,show:!1,canSucceed:!0,reversed:!1,skipTimerCount:0,rtl:!1,throttle:200,duration:5e3,continuous:!0}},computed:{left:function(){return!(!this.continuous&&!this.rtl)&&(this.rtl?this.reversed?"0px":"auto":this.reversed?"auto":"0px")}},beforeDestroy:function(){this.clear()},methods:{clear:function(){clearInterval(this._timer),clearTimeout(this._throttle),this._timer=null},start:function(){var t=this;return this.clear(),this.percent=0,this.reversed=!1,this.skipTimerCount=0,this.canSucceed=!0,this.throttle?this._throttle=setTimeout((function(){return t.startTimer()}),this.throttle):this.startTimer(),this},set:function(t){return this.show=!0,this.canSucceed=!0,this.percent=Math.min(100,Math.max(0,Math.floor(t))),this},get:function(){return this.percent},increase:function(t){return this.percent=Math.min(100,Math.floor(this.percent+t)),this},decrease:function(t){return this.percent=Math.max(0,Math.floor(this.percent-t)),this},pause:function(){return clearInterval(this._timer),this},resume:function(){return this.startTimer(),this},finish:function(){return this.percent=this.reversed?0:100,this.hide(),this},hide:function(){var t=this;return this.clear(),setTimeout((function(){t.show=!1,t.$nextTick((function(){t.percent=0,t.reversed=!1}))}),500),this},fail:function(t){return this.canSucceed=!1,this},startTimer:function(){var t=this;this.show||(this.show=!0),void 0===this._cut&&(this._cut=1e4/Math.floor(this.duration)),this._timer=setInterval((function(){t.skipTimerCount>0?t.skipTimerCount--:(t.reversed?t.decrease(t._cut):t.increase(t._cut),t.continuous&&(t.percent>=100||t.percent<=0)&&(t.skipTimerCount=1,t.reversed=!t.reversed))}),100)}},render:function(t){var e=t(!1);return this.show&&(e=t("div",{staticClass:"nuxt-progress",class:{"nuxt-progress-notransition":this.skipTimerCount>0,"nuxt-progress-failed":!this.canSucceed},style:{width:this.percent+"%",left:this.left}})),e}}),Q=(n(793),n(19)),tt=Object(Q.a)(J,void 0,void 0,!1,null,null,null).exports,et=(n(795),n(797),n(799),n(801),n(803),n(753));function nt(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return it(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return it(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,l=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return c=t.done,t},e:function(t){l=!0,o=t},f:function(){try{c||null==n.return||n.return()}finally{if(l)throw o}}}}function it(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i0},isPreview:function(){return Boolean(this.$options.previewData)}},methods:{refreshOnlineStatus:function(){void 0===window.navigator.onLine?this.isOnline=!0:this.isOnline=window.navigator.onLine},refresh:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){var n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if((n=Object(w.h)(t.$route)).length){e.next=3;break}return e.abrupt("return");case 3:return t.$loading.start(),r=n.map((function(e){var p=[];if(e.$options.fetch&&e.$options.fetch.length&&p.push(Object(w.q)(e.$options.fetch,t.context)),e.$fetch)p.push(e.$fetch());else{var n,r=nt(Object(w.e)(e.$vnode.componentInstance));try{for(r.s();!(n=r.n()).done;){var component=n.value;p.push(component.$fetch())}}catch(t){r.e(t)}finally{r.f()}}return e.$options.asyncData&&p.push(Object(w.q)(e.$options.asyncData,t.context).then((function(t){for(var n in t)c.default.set(e.$data,n,t[n])}))),Promise.all(p)})),e.prev=5,e.next=8,Promise.all(r);case 8:e.next=15;break;case 10:e.prev=10,e.t0=e.catch(5),t.$loading.fail(e.t0),Object(w.k)(e.t0),t.error(e.t0);case 15:t.$loading.finish();case 16:case"end":return e.stop()}}),e,null,[[5,10]])})))()},errorChanged:function(){if(this.nuxt.err){this.$loading&&(this.$loading.fail&&this.$loading.fail(this.nuxt.err),this.$loading.finish&&this.$loading.finish());var t=(Y.a.options||Y.a).layout;"function"==typeof t&&(t=t(this.context)),this.setLayout(t)}},setLayout:function(t){return t&&ot["_"+t]||(t="default"),this.layoutName=t,this.layout=ot["_"+t],this.layout},loadLayout:function(t){return t&&ot["_"+t]||(t="default"),Promise.resolve(ot["_"+t])}},components:{NuxtLoading:tt}};n(238),n(224),n(31),n(40);function st(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return ut(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ut(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,l=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return c=t.done,t},e:function(t){l=!0,o=t},f:function(){try{c||null==n.return||n.return()}finally{if(l)throw o}}}}function ut(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i2&&void 0!==arguments[2]?arguments[2]:{},r=n.isProperty,o=void 0!==r&&r;if(!e.length||o&&1===e.length)return t;var c=e.shift();return t.modules[c]=t.modules[c]||{},t.modules[c].namespaced=!0,t.modules[c].modules=t.modules[c].modules||{},mt(t.modules[c],e,{isProperty:o})}function bt(t,e,n){e&&("state"===n?t.state=e||t.state:t[n]=Object.assign({},t[n],e))}var gt={};for(var vt in gt)c.default.component(vt,gt[vt]);n(30);var yt=function(){return(yt=Object.assign||function(t){for(var e,n=1,s=arguments.length;n1&&void 0!==arguments[1]?arguments[1]:e;return Qt(e)?e.reduce((function(e,n){return[].concat(Object(It.a)(e),[t(n,n)])}),[]):ee(e)?fe(e).reduce((function(n,r){return ve(ve({},n),{},Object(o.a)({},r,t(e[r],e[r])))}),{}):n},we=/\[(\d+)]/g,_e=/^\d+$/,Se=/^\..+/,xe=/^#/,Oe=/^#[A-Za-z]+[\w\-:.]*$/,ke=/(<([^>]+)>)/gi,Ee=/\B([A-Z])/g,Me=/([a-z])([A-Z])/g,Ce=/^[0-9]*\.?[0-9]+$/,je=/\+/g,Ie=/[-/\\^$*+?.()|[\]{}]/g,Ae=/[\s\uFEFF\xA0]+/g,Te=/\s+/,Pe=/\/\*$/,Re=/(\s|^)(\w)/g,De=/^\s+/,Le=/_/g,Ne=/-(\w)/g,Be=/^\d+-\d\d?-\d\d?(?:\s|T|$)/,Ue=/-|\s|T/,Fe=/^([0-1]?[0-9]|2[0-3]):[0-5]?[0-9](:[0-5]?[0-9])?$/,ze=/^.*(#[^#]+)$/,$e=/%2C/g,qe=/[!'()*]/g,Ve=/^(\?|#|&)/,He=/^\d+(\.\d*)?[/:]\d+(\.\d*)?$/,Ge=/[/:]/,Ke=/^col-/,We=/^BIcon/,Ye=/-u-.+/,Xe=function(t){return t},Ze=function(t,path){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;if(!(path=Qt(path)?path.join("."):path)||!te(t))return e;if(path in t)return t[path];var n=(path=String(path).replace(we,".$1")).split(".").filter(Xe);return 0===n.length?e:n.every((function(e){return te(t)&&e in t&&!Kt(t=t[e])}))?t:Gt(t)?null:e},Je=function(t,path){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=Ze(t,path);return Kt(n)?e:n},Qe=function(t){var source=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;Object(Lt.a)()||console.warn("[BootstrapVue warn]: ".concat(source?"".concat(source," - "):"").concat(t))},tn=function(source){return!Lt.j&&(Qe("".concat(source,": Can not be called during SSR.")),!0)},en=function(source){return!Lt.g&&(Qe("".concat(source,": Requires Promise support.")),!0)},nn=function(){function t(){Object(Et.a)(this,t),this.$_config={}}return Object(Mt.a)(t,[{key:"setConfig",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(ee(e)){var n=de(e);n.forEach((function(n){var r=e[n];"breakpoints"===n?!Qt(r)||r.length<2||r.some((function(b){return!Xt(b)||0===b.length}))?Qe('"breakpoints" must be an array of at least 2 breakpoint names',"BvConfig"):t.$_config[n]=ye(r):ee(r)&&(t.$_config[n]=de(r).reduce((function(t,e){return Ht(r[e])||(t[e]=ye(r[e])),t}),t.$_config[n]||{}))}))}}},{key:"resetConfig",value:function(){this.$_config={}}},{key:"getConfig",value:function(){return ye(this.$_config)}},{key:"getConfigValue",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return ye(Ze(this.$_config,t,e))}}]),t}(),rn=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:kt;e.prototype[Ct]=kt.prototype[Ct]=e.prototype[Ct]||kt.prototype[Ct]||new nn,e.prototype[Ct].setConfig(t)};function on(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function an(t){for(var i=1;i0&&void 0!==arguments[0]?arguments[0]:{},e=t.components,n=t.directives,r=t.plugins,o=function t(o){var c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.installed||(t.installed=!0,cn(o),rn(c,o),pn(o,e),bn(o,n),fn(o,r))};return o.installed=!1,o},dn=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return an(an({},e),{},{install:ln(t)})},fn=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var n in e)n&&e[n]&&t.use(e[n])},hn=function(t,e,n){t&&e&&n&&t.component(e,n)},pn=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var component in e)hn(t,component,e[component])},mn=function(t,e,n){t&&e&&n&&t.directive(e.replace(/^VB/,"B"),n)},bn=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var n in e)mn(t,n,e[n])},gn=(n(17),function(t){var e=ue(null);return function(){for(var n=arguments.length,r=new Array(n),o=0;o1&&void 0!==arguments[1]?arguments[1]:void 0,n=wn[Ct];return n?n.getConfigValue(t,e):ye(e)},Sn=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;return e?_n("".concat(t,".").concat(e),n):_n(t,{})},xn=function(){return _n("breakpoints",jt)},On=gn((function(){return xn()})),kn=function(){return ye(On())},En=gn((function(){var t=kn();return t[0]="",t})),Mn=function(t,e){return fe(t).reduce((function(n,r){var o=t[r],c=o.default;return n[r]=yn(yn({},ye(o)),{},{default:function(){return Sn(e,r,Wt(c)?c():c)}}),n}),{})},Cn=(n(331),function(){return Array.from.apply(Array,arguments)}),jn=function(t,e){return-1!==t.indexOf(e)},In=function(){for(var t=arguments.length,e=new Array(t),n=0;n1&&void 0!==arguments[1]?arguments[1]:NaN,n=parseInt(t,10);return isNaN(n)?e:n}),Dn=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:NaN,n=parseFloat(t);return isNaN(n)?e:n},Ln=function(t,e){return Dn(t).toFixed(Rn(e,0))},Nn=(n(172),function(t){return t.replace(Ee,"-$1").toLowerCase()}),Bn=function(t){return(t=Nn(t).replace(Ne,(function(t,e){return e?e.toUpperCase():""}))).charAt(0).toUpperCase()+t.slice(1)},Un=function(t){return t.replace(Le," ").replace(Me,(function(t,e,n){return e+" "+n})).replace(Re,(function(t,e,n){return e+n.toUpperCase()}))},Fn=function(t){return(t=Xt(t)?t.trim():String(t)).charAt(0).toUpperCase()+t.slice(1)},zn=function(t){return t.replace(Ie,"\\$&")},$n=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return Kt(t)?"":Qt(t)||ee(t)&&t.toString===Object.prototype.toString?JSON.stringify(t,null,e):String(t)},qn=function(t){return $n(t).trim()},Vn=function(t){return $n(t).toLowerCase()},Hn=["button","[href]:not(.disabled)","input","select","textarea","[tabindex]","[contenteditable]"].map((function(s){return"".concat(s,":not(:disabled):not([disabled])")})).join(", "),Gn=Lt.i?window:{},Kn=Lt.b?document:{},Wn="undefined"!=typeof Element?Element.prototype:{},Yn=Wn.matches||Wn.msMatchesSelector||Wn.webkitMatchesSelector,Xn=Wn.closest||function(t){var e=this;do{if(cr(e,t))return e;e=e.parentElement||e.parentNode}while(!Gt(e)&&e.nodeType===Node.ELEMENT_NODE);return null},Zn=Gn.requestAnimationFrame||Gn.webkitRequestAnimationFrame||Gn.mozRequestAnimationFrame||Gn.msRequestAnimationFrame||Gn.oRequestAnimationFrame||function(t){return setTimeout(t,16)},Jn=Gn.MutationObserver||Gn.WebKitMutationObserver||Gn.MozMutationObserver||null,Qn=function(t){return!(!t||t.nodeType!==Node.ELEMENT_NODE)},er=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=Kn.activeElement;return e&&!t.some((function(t){return t===e}))?e:null},nr=function(t,e){return $n(t).toLowerCase()===$n(e).toLowerCase()},rr=function(t){return Qn(t)&&t===er()},ir=function(t){if(!Qn(t)||!t.parentNode||!dr(Kn.body,t))return!1;if("none"===Or(t,"display"))return!1;var e=kr(t);return!!(e&&e.height>0&&e.width>0)},or=function(t){return!Qn(t)||t.disabled||_r(t,"disabled")||gr(t,"disabled")},ar=function(t){return Qn(t)&&t.offsetHeight},sr=function(t,e){return Cn((Qn(e)?e:Kn).querySelectorAll(t))},ur=function(t,e){return(Qn(e)?e:Kn).querySelector(t)||null},cr=function(t,e){return!!Qn(t)&&Yn.call(t,e)},lr=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!Qn(e))return null;var r=Xn.call(e,t);return n?r:r===e?null:r},dr=function(t,e){return!(!t||!Wt(t.contains))&&t.contains(e)},fr=function(t){return Kn.getElementById(/^#/.test(t)?t.slice(1):t)||null},pr=function(t,e){e&&Qn(t)&&t.classList&&t.classList.add(e)},mr=function(t,e){e&&Qn(t)&&t.classList&&t.classList.remove(e)},gr=function(t,e){return!!(e&&Qn(t)&&t.classList)&&t.classList.contains(e)},vr=function(t,e,n){e&&Qn(t)&&t.setAttribute(e,n)},yr=function(t,e){e&&Qn(t)&&t.removeAttribute(e)},wr=function(t,e){return e&&Qn(t)?t.getAttribute(e):null},_r=function(t,e){return e&&Qn(t)?t.hasAttribute(e):null},Sr=function(t,e,n){e&&Qn(t)&&(t.style[e]=n)},xr=function(t,e){e&&Qn(t)&&(t.style[e]="")},Or=function(t,e){return e&&Qn(t)&&t.style[e]||null},kr=function(t){return Qn(t)?t.getBoundingClientRect():null},Er=function(t){return Lt.i&&Qn(t)?Gn.getComputedStyle(t):{}},Mr=function(){return Lt.i&&Gn.getSelection?Gn.getSelection():null},Cr=function(t){var e={top:0,left:0};if(!Qn(t)||0===t.getClientRects().length)return e;var n=kr(t);if(n){var r=t.ownerDocument.defaultView;e.top=n.top+r.pageYOffset,e.left=n.left+r.pageXOffset}return e},jr=function(t){var e={top:0,left:0};if(!Qn(t))return e;var n={top:0,left:0},r=Er(t);if("fixed"===r.position)e=kr(t)||e;else{e=Cr(t);for(var o=t.ownerDocument,c=t.offsetParent||o.documentElement;c&&(c===o.body||c===o.documentElement)&&"static"===Er(c).position;)c=c.parentNode;if(c&&c!==t&&c.nodeType===Node.ELEMENT_NODE){n=Cr(c);var l=Er(c);n.top+=Dn(l.borderTopWidth,0),n.left+=Dn(l.borderLeftWidth,0)}}return{top:e.top-n.top-Dn(r.marginTop,0),left:e.left-n.left-Dn(r.marginLeft,0)}},Ir=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;return sr(Hn,t).filter(ir).filter((function(t){return t.tabIndex>-1&&!t.disabled}))},Ar=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};try{t.focus(e)}catch(t){}return rr(t)},Tr=function(t){try{t.blur()}catch(t){}return!rr(t)};function Pr(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function Rr(t){for(var i=1;i1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return(t=In(t).filter(Xe)).some((function(t){return e[t]||n[t]}))},Fr=function(t){var slot,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};t=In(t).filter(Xe);for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:"default";return Ur(t,this.$scopedSlots,this.$slots)},normalizeSlot:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Fr(t,e,this.$scopedSlots,this.$slots);return n?In(n):n}}},$r=function(t){return Lt.e?te(t)?t:{capture:!!t||!1}:!!(te(t)?t.capture:t)},qr=function(t,e,n,r){t&&t.addEventListener&&t.addEventListener(e,n,$r(r))},Vr=function(t,e,n,r){t&&t.removeEventListener&&t.removeEventListener(e,n,$r(r))},Hr=function(t){for(var e=t?qr:Vr,n=arguments.length,r=new Array(n>1?n-1:0),o=1;o1&&void 0!==arguments[1]?arguments[1]:{},n=e.preventDefault,r=void 0===n||n,o=e.propagation,c=void 0===o||o,l=e.immediatePropagation,d=void 0!==l&&l;r&&t.preventDefault(),c&&t.stopPropagation(),d&&t.stopImmediatePropagation()},Kr=Mn({content:{type:String,default:"×"},disabled:{type:Boolean,default:!1},ariaLabel:{type:String,default:"Close"},textVariant:{type:String}},"BButtonClose"),Wr=kt.extend({name:"BButtonClose",functional:!0,props:Kr,render:function(t,e){var n=e.props,data=e.data,r=e.slots,c=e.scopedSlots,l=r(),d=c||{},f={staticClass:"close",class:Object(o.a)({},"text-".concat(n.textVariant),n.textVariant),attrs:{type:"button",disabled:n.disabled,"aria-label":n.ariaLabel?String(n.ariaLabel):null},on:{click:function(t){n.disabled&&re(t)&&Gr(t)}}};return Ur("default",d,l)||(f.domProps={innerHTML:n.content}),t("button",Ot(data,f),Fr("default",{},d,l))}}),Yr=function(t){return""===t||Yt(t)?0:(t=Rn(t,0))>0?t:0},Xr=function(t){return""===t||!0===t||!(Rn(t,0)<1)&&!!t},Zr=dn({components:{BAlert:kt.extend({name:"BAlert",mixins:[zr],model:{prop:"show",event:"input"},props:Mn({variant:{type:String,default:"info"},dismissible:{type:Boolean,default:!1},dismissLabel:{type:String,default:"Close"},show:{type:[Boolean,Number,String],default:!1},fade:{type:Boolean,default:!1}},"BAlert"),data:function(){return{countDown:0,localShow:Xr(this.show)}},watch:{show:function(t){this.countDown=Yr(t),this.localShow=Xr(t)},countDown:function(t){var e=this;this.clearCountDownInterval(),Jt(this.show)&&(this.$emit("dismiss-count-down",t),this.show!==t&&this.$emit("input",t),t>0?(this.localShow=!0,this.$_countDownTimeout=setTimeout((function(){e.countDown--}),1e3)):this.$nextTick((function(){Zn((function(){e.localShow=!1}))})))},localShow:function(t){t||!this.dismissible&&!Jt(this.show)||this.$emit("dismissed"),Jt(this.show)||this.show===t||this.$emit("input",t)}},created:function(){this.$_filterTimer=null,this.countDown=Yr(this.show),this.localShow=Xr(this.show)},mounted:function(){this.countDown=Yr(this.show),this.localShow=Xr(this.show)},beforeDestroy:function(){this.clearCountDownInterval()},methods:{dismiss:function(){this.clearCountDownInterval(),this.countDown=0,this.localShow=!1},clearCountDownInterval:function(){clearTimeout(this.$_countDownTimeout),this.$_countDownTimeout=null}},render:function(t){var e;if(this.localShow){var n=t();this.dismissible&&(n=t(Wr,{attrs:{"aria-label":this.dismissLabel},on:{click:this.dismiss}},[this.normalizeSlot("dismiss")])),e=[e=t("div",{key:this._uid,staticClass:"alert",class:Object(o.a)({"alert-dismissible":this.dismissible},"alert-".concat(this.variant),this.variant),attrs:{role:"alert","aria-live":"polite","aria-atomic":!0}},[n,this.normalizeSlot()])]}return t(Br,{props:{noFade:!this.fade}},e)}})}}),Jr=Math.min,Qr=Math.max,ti=Math.abs,ei=Math.ceil,ni=Math.floor,ri=Math.pow,ii=Math.round,oi=kt.extend({name:"BAspect",mixins:[zr],props:Mn({aspect:{type:[Number,String],default:"1:1"},tag:{type:String,default:"div"}},"BAspect"),computed:{padding:function(){var t=this.aspect,e=1;if(He.test(t)){var n=t.split(Ge).map((function(t){return Dn(t)||1})),r=Object(X.a)(n,2);e=r[0]/r[1]}else e=Dn(t)||1;return"".concat(100/ti(e),"%")}},render:function(t){var e=t("div",{staticClass:"".concat("b-aspect","-sizer flex-grow-1"),style:{paddingBottom:this.padding,height:0}}),n=t("div",{staticClass:"".concat("b-aspect","-content flex-grow-1 w-100 mw-100"),style:{marginLeft:"-100%"}},[this.normalizeSlot()]);return t(this.tag,{staticClass:"".concat("b-aspect"," d-flex")},[e,n])}}),ai=dn({components:{BAspect:oi}}),si=function(t,e){return t+Fn(e)},ui=function(t,e){return n=e.replace(t,""),(n=Xt(n)?n.trim():String(n)).charAt(0).toLowerCase()+n.slice(1);var n},ci=function(t,e){return e+(t?Fn(t):"")},di=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Xe;if(Qt(t))return t.map(e);var n={};for(var r in t)he(t,r)&&(n[e(r)]=te(t[r])?pe(t[r]):t[r]);return n},fi=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Xe;return(Qt(t)?t.slice():fe(t)).reduce((function(t,r){return t[n(r)]=e[r],t}),{})},hi=function(t){return"%"+t.charCodeAt(0).toString(16)},pi=function(t){return encodeURIComponent($n(t)).replace(qe,hi).replace($e,",")},mi=decodeURIComponent,bi=function(t){if(!ee(t))return"";var e=fe(t).map((function(e){var n=t[e];return Ht(n)?"":Gt(n)?pi(e):Qt(n)?n.reduce((function(t,n){return Gt(n)?t.push(pi(e)):Ht(n)||t.push(pi(e)+"="+pi(n)),t}),[]).join("&"):pi(e)+"="+pi(n)})).filter((function(t){return t.length>0})).join("&");return e?"?".concat(e):""},gi=function(t){var e={};return(t=$n(t).trim().replace(Ve,""))?(t.split("&").forEach((function(param){var t=param.replace(je," ").split("="),n=mi(t.shift()),r=t.length>0?mi(t.join("=")):null;Ht(e[n])?e[n]=r:Qt(e[n])?e[n].push(r):e[n]=[e[n],r]})),e):e},vi=function(t){return!(!t.href&&!t.to)},yi=function(t){return!(!t||nr(t,"a"))},wi=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.href,n=t.to,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"a",o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"#",c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"/";if(e)return e;if(yi(r))return null;if(Xt(n))return n||c;if(ee(n)&&(n.path||n.query||n.hash)){var path=$n(n.path),l=bi(n.query),d=$n(n.hash);return d=d&&"#"!==d.charAt(0)?"#".concat(d):d,"".concat(path).concat(l).concat(d)||c}return o},_i=40,Si=35,xi=13,Oi=36,ki=37,Ei=39,Mi=32,Ci=38,ji=function t(a,b){if(a===b)return!0;var e=ne(a),n=ne(b);if(e||n)return!(!e||!n)&&a.getTime()===b.getTime();if(e=Qt(a),n=Qt(b),e||n)return!(!e||!n)&&function(a,b){if(a.length!==b.length)return!1;for(var t=!0,i=0;t&&i0&&void 0!==arguments[0]?arguments[0]:{},e=t.target,n=t.rel;return"_blank"===e&&Gt(n)?"noopener":n||null}({target:this.target,rel:this.rel})},computedHref:function(){var t=this.to,e=this.href;return wi({to:t,href:e},this.computedTag)},computedProps:function(){var t=this.prefetch;return this.isRouterLink?Ni(Ni({},fi(Ni(Ni({},Bi),Ui),this)),{},{prefetch:Yt(t)?t:void 0,tag:this.routerTag}):{}},computedAttrs:function(){var t=this.bvAttrs,e=this.computedHref,n=this.computedRel,r=this.disabled,o=this.target,c=this.routerTag,l=this.isRouterLink;return Ni(Ni(Ni(Ni({},t),e?{href:e}:{}),l&&!nr(c,"a")?{}:{rel:n,target:o}),{},{tabindex:r?"-1":Ht(t.tabindex)?null:t.tabindex,"aria-disabled":r?"true":null})},computedListeners:function(){return Ni(Ni({},this.bvListeners),{},{click:this.onClick})}},methods:{onClick:function(t){var e=arguments,n=re(t),r=this.isRouterLink,o=this.bvListeners.click;n&&this.disabled?Gr(t,{immediatePropagation:!0}):(r&&t.currentTarget.__vue__&&t.currentTarget.__vue__.$emit("click",t),In(o).filter((function(t){return Wt(t)})).forEach((function(t){t.apply(void 0,Object(It.a)(e))})),this.$root.$emit("clicked::link",t)),n&&!r&&"#"===this.computedHref&&Gr(t,{propagation:!1})},focus:function(){Ar(this.$el)},blur:function(){Tr(this.$el)}},render:function(t){var e=this.active,n=this.disabled;return t(this.computedTag,Object(o.a)({class:{active:e,disabled:n},attrs:this.computedAttrs,props:this.computedProps},this.isRouterLink?"nativeOn":"on",this.computedListeners),this.normalizeSlot())}});function $i(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}var qi=be(Fi,["event","routerTag"]);delete qi.href.default,delete qi.to.default;var Vi=Mn(function(t){for(var i=1;i'),lo=so("CalendarFill",''),fo=so("ChevronBarLeft",''),ho=so("ChevronDoubleLeft",''),po=so("ChevronDown",''),mo=so("ChevronLeft",''),bo=so("ChevronUp",''),go=so("CircleFill",''),vo=so("Clock",''),yo=so("ClockFill",''),wo=so("Dash",''),_o=so("PersonFill",''),So=so("Plus",''),xo=so("Star",''),Oo=so("StarFill",''),ko=so("StarHalf",''),Eo=so("X",'');function Mo(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function Co(t){for(var i=1;i0&&void 0!==arguments[0]?arguments[0]:"";return String(text).replace(ke,"")},$o=function(t,e){return t?{innerHTML:t}:e?{textContent:e}:{}};function qo(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}var Vo=Mn(function(t){for(var i=1;i-1&&(e=e.slice(0,n).reverse(),Ar(e[0]))},focusNext:function(t){var e=this.getItems(),n=e.indexOf(t.target);n>-1&&(e=e.slice(n+1),Ar(e[0]))},focusLast:function(){var t=this.getItems().reverse();Ar(t[0])},onFocusin:function(t){var e=this.$el;t.target!==e||dr(e,t.relatedTarget)||(Gr(t),this.focusFirst(t))},onKeydown:function(t){var e=t.keyCode,n=t.shiftKey;e===Ci||e===ki?(Gr(t),n?this.focusFirst(t):this.focusPrev(t)):e!==_i&&e!==Ei||(Gr(t),n?this.focusLast(t):this.focusNext(t))}},render:function(t){return t("div",{staticClass:"btn-toolbar",class:{"justify-content-between":this.justify},attrs:{role:"toolbar",tabindex:this.keyNav?"0":null},on:this.keyNav?{focusin:this.onFocusin,keydown:this.onKeydown}:{}},[this.normalizeSlot()])}}),ia=dn({components:{BButtonToolbar:ra,BBtnToolbar:ra}}),oa=n(370),aa=function(){for(var t=arguments.length,e=new Array(t),n=0;n1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return t=sa(t),e=sa(e)||t,n=sa(n)||t,t?tn?n:t:null},_a=["ar","az","ckb","fa","he","ks","lrc","mzn","ps","sd","te","ug","ur","yi"].map((function(t){return t.toLowerCase()})),Sa=function(t){var e=$n(t).toLowerCase().replace(Ye,"").split("-"),n=e.slice(0,2).join("-"),r=e[0];return jn(_a,n)||jn(_a,r)},xa={props:{id:{type:String}},data:function(){return{localId_:null}},computed:{safeId:function(){var t=this.id||this.localId_;return function(e){return t?(e=String(e||"").replace(/\s+/g,"_"))?t+"_"+e:t:null}}},mounted:function(){var t=this;this.$nextTick((function(){t.localId_="__BVID__".concat(t._uid)}))}};function Oa(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function ka(t){for(var i=1;i1&&void 0!==arguments[1]?arguments[1]:"gregory";t=In(t).filter(Xe);var n=new Intl.DateTimeFormat(t,{calendar:e});return n.resolvedOptions().locale}(In(this.locale).filter(Xe),"gregory")},computedDateDisabledFn:function(){var t=this.dateDisabledFn,e=null;try{e=t()}catch(t){}return Ht(e)?function(){return!1}:t},computedDateInfoFn:function(){var t=this.dateInfoFn,e=null;try{e=t()}catch(t){}return Ht(e)?function(){return{}}:t},calendarLocale:function(){var t=new Intl.DateTimeFormat(this.computedLocale,{calendar:"gregory"}),e=t.resolvedOptions().calendar,n=t.resolvedOptions().locale;return"gregory"!==e&&(n=n.replace(/-u-.+$/i,"").concat("-u-ca-gregory")),n},calendarYear:function(){return this.activeDate.getFullYear()},calendarMonth:function(){return this.activeDate.getMonth()},calendarFirstDay:function(){return aa(this.calendarYear,this.calendarMonth,1,12)},calendarDaysInMonth:function(){var t=aa(this.calendarFirstDay);return t.setMonth(t.getMonth()+1,0),t.getDate()},computedVariant:function(){return"btn-".concat(this.selectedVariant||"primary")},computedTodayVariant:function(){return"btn-outline-".concat(this.todayVariant||this.selectedVariant||"primary")},computedNavButtonVariant:function(){return"btn-outline-".concat(this.navButtonVariant||"primary")},isRTL:function(){var t=$n(this.direction).toLowerCase();return"rtl"===t||"ltr"!==t&&Sa(this.computedLocale)},context:function(){var t=this.selectedYMD,e=this.activeYMD,n=sa(t),r=sa(e);return{selectedYMD:t,selectedDate:n,selectedFormatted:n?this.formatDateString(n):this.labelNoDateSelected,activeYMD:e,activeDate:r,activeFormatted:r?this.formatDateString(r):"",disabled:this.dateDisabled(r),locale:this.computedLocale,calendarLocale:this.calendarLocale,rtl:this.isRTL}},dateOutOfRange:function(){var t=this.computedMin,e=this.computedMax;return function(n){return n=sa(n),t&&ne}},dateDisabled:function(){var t=this,e=this.dateOutOfRange;return function(n){n=sa(n);var r=ua(n);return!(!e(n)&&!t.computedDateDisabledFn(r,n))}},formatDateString:function(){return ca(this.calendarLocale,ka(ka({year:"numeric",month:"2-digit",day:"2-digit"},this.dateFormatOptions),{},{hour:void 0,minute:void 0,second:void 0,calendar:"gregory"}))},formatYearMonth:function(){return ca(this.calendarLocale,{year:"numeric",month:"long",calendar:"gregory"})},formatWeekdayName:function(){return ca(this.calendarLocale,{weekday:"long",calendar:"gregory"})},formatWeekdayNameShort:function(){return ca(this.calendarLocale,{weekday:this.weekdayHeaderFormat||"short",calendar:"gregory"})},formatDay:function(){var t=new Intl.NumberFormat([this.computedLocale],{style:"decimal",minimumIntegerDigits:1,minimumFractionDigits:0,maximumFractionDigits:0,notation:"standard"});return function(e){return t.format(e.getDate())}},prevDecadeDisabled:function(){var t=this.computedMin;return this.disabled||t&&fa(va(this.activeDate))t},nextYearDisabled:function(){var t=this.computedMax;return this.disabled||t&&da(ga(this.activeDate))>t},nextDecadeDisabled:function(){var t=this.computedMax;return this.disabled||t&&da(ya(this.activeDate))>t},calendar:function(){for(var t=[],e=this.calendarFirstDay,n=e.getFullYear(),r=e.getMonth(),o=this.calendarDaysInMonth,c=e.getDay(),l=0-((this.computedWeekStarts>c?7:0)-this.computedWeekStarts)-c,d=0;d<6&&l0);n!==this.visible&&(this.visible=n,this.callback(n),this.once&&this.visible&&(this.doneOnce=!0,this.stop()))}},{key:"stop",value:function(){this.observer&&this.observer.disconnect(),this.observer=null}}]),t}(),es=function(t){var e=t[Qa];e&&e.stop&&e.stop(),delete t[Qa]},ns=function(t,e,n){var r=e.value,o=e.modifiers,c={margin:"0px",once:!1,callback:r};fe(o).forEach((function(t){_e.test(t)?c.margin="".concat(t,"px"):"once"===t.toLowerCase()&&(c.once=!0)})),es(t),t[Qa]=new ts(t,c,n),t[Qa]._prevModifiers=pe(o)},rs={bind:ns,componentUpdated:function(t,e,n){var r=e.value,o=e.oldValue,c=e.modifiers;c=pe(c),!t||r===o&&t[Qa]&&Ii(c,t[Qa]._prevModifiers)||ns(t,{value:r,modifiers:c},n)},unbind:function(t){es(t)}},is='',os=Mn({src:{type:String},srcset:{type:[String,Array]},sizes:{type:[String,Array]},alt:{type:String,default:null},width:{type:[Number,String]},height:{type:[Number,String]},block:{type:Boolean,default:!1},fluid:{type:Boolean,default:!1},fluidGrow:{type:Boolean,default:!1},rounded:{type:[Boolean,String],default:!1},thumbnail:{type:Boolean,default:!1},left:{type:Boolean,default:!1},right:{type:Boolean,default:!1},center:{type:Boolean,default:!1},blank:{type:Boolean,default:!1},blankColor:{type:String,default:"transparent"}},"BImg"),as=kt.extend({name:"BImg",functional:!0,props:os,render:function(t,e){var n,r=e.props,data=e.data,c=r.src,l=Rn(r.width)||null,d=Rn(r.height)||null,f=null,h=r.block,m=In(r.srcset).filter(Xe).join(","),v=In(r.sizes).filter(Xe).join(",");return r.blank&&(!d&&l?d=l:!l&&d&&(l=d),l||d||(l=1,d=1),c=function(t,e,n){var r=encodeURIComponent(is.replace("%{w}",$n(t)).replace("%{h}",$n(e)).replace("%{f}",n));return"data:image/svg+xml;charset=UTF-8,".concat(r)}(l,d,r.blankColor||"transparent"),m=null,v=null),r.left?f="float-left":r.right?f="float-right":r.center&&(f="mx-auto",h=!0),t("img",Ot(data,{attrs:{src:c,alt:r.alt,width:l?$n(l):null,height:d?$n(d):null,srcset:m||null,sizes:v||null},class:(n={"img-thumbnail":r.thumbnail,"img-fluid":r.fluid||r.fluidGrow,"w-100":r.fluidGrow,rounded:""===r.rounded||!0===r.rounded},Object(o.a)(n,"rounded-".concat(r.rounded),Xt(r.rounded)&&""!==r.rounded),Object(o.a)(n,f,f),Object(o.a)(n,"d-block",h),n)}))}});function ss(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function us(t){for(var i=1;i0||r.removedNodes.length>0))&&(n=!0)}n&&e()}));return r.observe(t,function(t){for(var i=1;i0),touchStartX:0,touchDeltaX:0}},computed:{numSlides:function(){return this.slides.length}},watch:{value:function(t,e){t!==e&&this.setSlide(Rn(t,0))},interval:function(t,e){t!==e&&(t?(this.pause(!0),this.start(!1)):this.pause(!1))},isPaused:function(t,e){t!==e&&this.$emit(t?"paused":"unpaused")},index:function(t,e){t===e||this.isSliding||this.doSlide(t,e)}},created:function(){this.$_interval=null,this.$_animationTimeout=null,this.$_touchTimeout=null,this.$_observer=null,this.isPaused=!(Rn(this.interval,0)>0)},mounted:function(){this.transitionEndEvent=function(t){for(var e in Ms)if(!Ht(t.style[e]))return Ms[e];return null}(this.$el)||null,this.updateSlides(),this.setObserver(!0)},beforeDestroy:function(){this.clearInterval(),this.clearAnimationTimeout(),this.clearTouchTimeout(),this.setObserver(!1)},methods:{clearInterval:function(t){function e(){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(){clearInterval(this.$_interval),this.$_interval=null})),clearAnimationTimeout:function(){clearTimeout(this.$_animationTimeout),this.$_animationTimeout=null},clearTouchTimeout:function(){clearTimeout(this.$_touchTimeout),this.$_touchTimeout=null},setObserver:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.$_observer&&this.$_observer.disconnect(),this.$_observer=null,t&&(this.$_observer=Os(this.$refs.inner,this.updateSlides.bind(this),{subtree:!1,childList:!0,attributes:!0,attributeFilter:["id"]}))},setSlide:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!(Lt.j&&document.visibilityState&&document.hidden)){var r=this.noWrap,o=this.numSlides;t=ni(t),0!==o&&(this.isSliding?this.$once("sliding-end",(function(){Zn((function(){return e.setSlide(t,n)}))})):(this.direction=n,this.index=t>=o?r?o-1:0:t<0?r?0:o-1:t,r&&this.index!==t&&this.index!==this.value&&this.$emit("input",this.index)))}},prev:function(){this.setSlide(this.index-1,"prev")},next:function(){this.setSlide(this.index+1,"next")},pause:function(t){t||(this.isPaused=!0),this.clearInterval()},start:function(t){t||(this.isPaused=!1),this.clearInterval(),this.interval&&this.numSlides>1&&(this.$_interval=setInterval(this.next,Qr(1e3,this.interval)))},restart:function(){this.$el.contains(er())||this.start()},doSlide:function(t,e){var n=this,r=Boolean(this.interval),o=this.calcDirection(this.direction,e,t),c=o.overlayClass,l=o.dirClass,d=this.slides[e],f=this.slides[t];if(d&&f){if(this.isSliding=!0,r&&this.pause(!1),this.$emit("sliding-start",t),this.$emit("input",this.index),this.noAnimation)pr(f,"active"),mr(d,"active"),this.isSliding=!1,this.$nextTick((function(){return n.$emit("sliding-end",t)}));else{pr(f,c),ar(f),pr(d,l),pr(f,l);var h=!1,m=function e(){if(!h){if(h=!0,n.transitionEndEvent)n.transitionEndEvent.split(/\s+/).forEach((function(t){return Vr(f,t,e,_s)}));n.clearAnimationTimeout(),mr(f,l),mr(f,c),pr(f,"active"),mr(d,"active"),mr(d,l),mr(d,c),vr(d,"aria-current","false"),vr(f,"aria-current","true"),vr(d,"aria-hidden","true"),vr(f,"aria-hidden","false"),n.isSliding=!1,n.direction=null,n.$nextTick((function(){return n.$emit("sliding-end",t)}))}};if(this.transitionEndEvent)this.transitionEndEvent.split(/\s+/).forEach((function(t){return qr(f,t,m,_s)}));this.$_animationTimeout=setTimeout(m,650)}r&&this.start(!1)}},updateSlides:function(){this.pause(!0),this.slides=sr(".carousel-item",this.$refs.inner);var t=this.slides.length,e=Qr(0,Jr(ni(this.index),t-1));this.slides.forEach((function(n,r){var o=r+1;r===e?(pr(n,"active"),vr(n,"aria-current","true")):(mr(n,"active"),vr(n,"aria-current","false")),vr(n,"aria-posinset",String(o)),vr(n,"aria-setsize",String(t))})),this.setSlide(e),this.start(this.isPaused)},calcDirection:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return t?ks[t]:n>e?ks.next:ks.prev},handleClick:function(t,e){var n=t.keyCode;"click"!==t.type&&n!==Mi&&n!==xi||(Gr(t),e())},handleSwipe:function(){var t=ti(this.touchDeltaX);if(!(t<=40)){var e=t/this.touchDeltaX;this.touchDeltaX=0,e>0?this.prev():e<0&&this.next()}},touchStart:function(t){Lt.f&&Es[t.pointerType.toUpperCase()]?this.touchStartX=t.clientX:Lt.f||(this.touchStartX=t.touches[0].clientX)},touchMove:function(t){t.touches&&t.touches.length>1?this.touchDeltaX=0:this.touchDeltaX=t.touches[0].clientX-this.touchStartX},touchEnd:function(t){Lt.f&&Es[t.pointerType.toUpperCase()]&&(this.touchDeltaX=t.clientX-this.touchStartX),this.handleSwipe(),this.pause(!1),this.clearTouchTimeout(),this.$_touchTimeout=setTimeout(this.start,500+Qr(1e3,this.interval))}},render:function(t){var e=this,n=t("div",{ref:"inner",class:["carousel-inner"],attrs:{id:this.safeId("__BV_inner_"),role:"list"}},[this.normalizeSlot()]),r=t();if(this.controls){var o=function(t){e.isSliding?Gr(t,{propagation:!1}):e.handleClick(t,e.prev)},c=function(t){e.isSliding?Gr(t,{propagation:!1}):e.handleClick(t,e.next)};r=[t("a",{class:["carousel-control-prev"],attrs:{href:"#",role:"button","aria-controls":this.safeId("__BV_inner_"),"aria-disabled":this.isSliding?"true":null},on:{click:o,keydown:o}},[t("span",{class:["carousel-control-prev-icon"],attrs:{"aria-hidden":"true"}}),t("span",{class:["sr-only"]},[this.labelPrev])]),t("a",{class:["carousel-control-next"],attrs:{href:"#",role:"button","aria-controls":this.safeId("__BV_inner_"),"aria-disabled":this.isSliding?"true":null},on:{click:c,keydown:c}},[t("span",{class:["carousel-control-next-icon"],attrs:{"aria-hidden":"true"}}),t("span",{class:["sr-only"]},[this.labelNext])])]}var l=t("ol",{class:["carousel-indicators"],directives:[{name:"show",rawName:"v-show",value:this.indicators,expression:"indicators"}],attrs:{id:this.safeId("__BV_indicators_"),"aria-hidden":this.indicators?"false":"true","aria-label":this.labelIndicators,"aria-owns":this.safeId("__BV_inner_")}},this.slides.map((function(n,r){return t("li",{key:"slide_".concat(r),class:{active:r===e.index},attrs:{role:"button",id:e.safeId("__BV_indicator_".concat(r+1,"_")),tabindex:e.indicators?"0":"-1","aria-current":r===e.index?"true":"false","aria-label":"".concat(e.labelGotoSlide," ").concat(r+1),"aria-describedby":e.slides[r].id||null,"aria-controls":e.safeId("__BV_inner_")},on:{click:function(t){e.handleClick(t,(function(){e.setSlide(r)}))},keydown:function(t){e.handleClick(t,(function(){e.setSlide(r)}))}}})}))),d={mouseenter:this.noHoverPause?Ss:this.pause,mouseleave:this.noHoverPause?Ss:this.restart,focusin:this.pause,focusout:this.restart,keydown:function(t){if(!/input|textarea/i.test(t.target.tagName)){var n=t.keyCode;n!==ki&&n!==Ei||(Gr(t),e[n===ki?"prev":"next"]())}}};return!this.noTouch&&Lt.h&&(Lt.f?(d["&pointerdown"]=this.touchStart,d["&pointerup"]=this.touchEnd):(d["&touchstart"]=this.touchStart,d["&touchmove"]=this.touchMove,d["&touchend"]=this.touchEnd)),t("div",{staticClass:"carousel",class:{slide:!this.noAnimation,"carousel-fade":!this.noAnimation&&this.fade,"pointer-event":!this.noTouch&&Lt.h&&Lt.f},style:{background:this.background},attrs:{role:"region",id:this.safeId(),"aria-busy":this.isSliding?"true":"false"},on:d},[n,r,l])}});function js(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function Is(t){for(var i=1;i1?n-1:0),o=1;o0?(vr(t,"aria-controls",r.join(" ")),Sr(t,"overflow-anchor","none")):(yr(t,"aria-controls"),xr(t,"overflow-anchor")),Zn((function(){!function(t,e){if(Ks(t),e.context){var n=function(n){"keydown"===n.type&&!jn(Hs,n.keyCode)||or(t)||(t[$s]||[]).forEach((function(t){e.context.$root.$emit("bv::toggle::collapse",t)}))};t[Fs]=n,qr(t,"click",n,ws),Gs(t)&&qr(t,"keydown",n,ws)}}(t,n)})),Ii(r,t[$s])||(t[$s]=r,r.forEach((function(t){n.context.$root.$emit("bv::request::collapse::state",t)})))}},Js={bind:function(t,e,n){t[zs]=!1,t[$s]=[],function(t,e){if(Ws(t,e),e.context){var n=function(e,n){jn(t[$s]||[],e)&&(t[zs]=n,Ys(t,n))};t[Us]=n,e.context.$root.$on([qs,Vs],n)}}(t,n),Zs(t,e,n)},componentUpdated:Zs,updated:Zs,unbind:function(t,e,n){Ks(t),Ws(t,n),Xs(t,Us),Xs(t,Fs),Xs(t,zs),Xs(t,$s),mr(t,"collapsed"),mr(t,"not-collapsed"),yr(t,"aria-expanded"),yr(t,"aria-controls"),yr(t,"role"),xr(t,"overflow-anchor")}},Qs=kt.extend({name:"BCollapse",mixins:[xa,Ns,zr],model:{prop:"visible",event:"input"},props:Mn({isNav:{type:Boolean,default:!1},accordion:{type:String},visible:{type:Boolean,default:!1},tag:{type:String,default:"div"},appear:{type:Boolean,default:!1}},"BCollapse"),data:function(){return{show:this.visible,transitioning:!1}},computed:{classObject:function(){return{"navbar-collapse":this.isNav,collapse:!this.transitioning,show:this.show&&!this.transitioning}}},watch:{visible:function(t){t!==this.show&&(this.show=t)},show:function(t,e){t!==e&&this.emitState()}},created:function(){this.show=this.visible},mounted:function(){var t=this;this.show=this.visible,this.listenOnRoot("bv::toggle::collapse",this.handleToggleEvt),this.listenOnRoot("bv::collapse::accordion",this.handleAccordionEvt),this.isNav&&(this.setWindowEvents(!0),this.handleResize()),this.$nextTick((function(){t.emitState()})),this.listenOnRoot("bv::request::collapse::state",(function(e){e===t.safeId()&&t.$nextTick(t.emitSync)}))},updated:function(){this.emitSync()},deactivated:function(){this.isNav&&this.setWindowEvents(!1)},activated:function(){this.isNav&&this.setWindowEvents(!0),this.emitSync()},beforeDestroy:function(){this.show=!1,this.isNav&&Lt.j&&this.setWindowEvents(!1)},methods:{setWindowEvents:function(t){Hr(t,window,"resize",this.handleResize,_s),Hr(t,window,"orientationchange",this.handleResize,_s)},toggle:function(){this.show=!this.show},onEnter:function(){this.transitioning=!0,this.$emit("show")},onAfterEnter:function(){this.transitioning=!1,this.$emit("shown")},onLeave:function(){this.transitioning=!0,this.$emit("hide")},onAfterLeave:function(){this.transitioning=!1,this.$emit("hidden")},emitState:function(){this.$emit("input",this.show),this.emitOnRoot(qs,this.safeId(),this.show),this.accordion&&this.show&&this.emitOnRoot("bv::collapse::accordion",this.safeId(),this.accordion)},emitSync:function(){this.emitOnRoot(Vs,this.safeId(),this.show)},checkDisplayBlock:function(){var t=gr(this.$el,"show");mr(this.$el,"show");var e="block"===Er(this.$el).display;return t&&pr(this.$el,"show"),e},clickHandler:function(t){var e=t.target;this.isNav&&e&&"block"===Er(this.$el).display&&(cr(e,".nav-link,.dropdown-item")||lr(".nav-link,.dropdown-item",e))&&(this.checkDisplayBlock()||(this.show=!1))},handleToggleEvt:function(t){t===this.safeId()&&this.toggle()},handleAccordionEvt:function(t,e){this.accordion&&e===this.accordion&&(t===this.safeId()?this.show||this.toggle():this.show&&this.toggle())},handleResize:function(){this.show="block"===Er(this.$el).display}},render:function(t){var e=this,n={visible:this.show,close:function(){return e.show=!1}},content=t(this.tag,{class:this.classObject,directives:[{name:"show",value:this.show}],attrs:{id:this.safeId()},on:{click:this.clickHandler}},[this.normalizeSlot("default",n)]);return t(Ls,{props:{appear:this.appear},on:{enter:this.onEnter,afterEnter:this.onAfterEnter,leave:this.onLeave,afterLeave:this.onAfterLeave}},[content])}}),tu=dn({directives:{VBToggle:Js}}),eu=dn({components:{BCollapse:Qs},plugins:{VBTogglePlugin:tu}}),nu=(n(164),n(308)),ru=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Object(Et.a)(this,t),!e)throw new TypeError("Failed to construct '".concat(this.constructor.name,"'. 1 argument required, ").concat(arguments.length," given."));se(this,t.Defaults,this.constructor.Defaults,n,{type:e}),ce(this,{type:{enumerable:!0,configurable:!1,writable:!1},cancelable:{enumerable:!0,configurable:!1,writable:!1},nativeEvent:{enumerable:!0,configurable:!1,writable:!1},target:{enumerable:!0,configurable:!1,writable:!1},relatedTarget:{enumerable:!0,configurable:!1,writable:!1},vueTarget:{enumerable:!0,configurable:!1,writable:!1},componentId:{enumerable:!0,configurable:!1,writable:!1}});var r=!1;this.preventDefault=function(){this.cancelable&&(r=!0)},le(this,"defaultPrevented",{enumerable:!0,get:function(){return r}})}return Object(Mt.a)(t,null,[{key:"Defaults",get:function(){return{type:"",cancelable:!0,nativeEvent:null,target:null,relatedTarget:null,vueTarget:null,componentId:null}}}]),t}(),iu={data:function(){return{listenForClickOut:!1}},watch:{listenForClickOut:function(t,e){t!==e&&(Vr(this.clickOutElement,this.clickOutEventName,this._clickOutHandler,_s),t&&qr(this.clickOutElement,this.clickOutEventName,this._clickOutHandler,_s))}},beforeCreate:function(){this.clickOutElement=null,this.clickOutEventName=null},mounted:function(){this.clickOutElement||(this.clickOutElement=document),this.clickOutEventName||(this.clickOutEventName="click"),this.listenForClickOut&&qr(this.clickOutElement,this.clickOutEventName,this._clickOutHandler,_s)},beforeDestroy:function(){Vr(this.clickOutElement,this.clickOutEventName,this._clickOutHandler,_s)},methods:{isClickOut:function(t){return!dr(this.$el,t.target)},_clickOutHandler:function(t){this.clickOutHandler&&this.isClickOut(t)&&this.clickOutHandler(t)}}},ou={data:function(){return{listenForFocusIn:!1}},watch:{listenForFocusIn:function(t,e){t!==e&&(Vr(this.focusInElement,"focusin",this._focusInHandler,_s),t&&qr(this.focusInElement,"focusin",this._focusInHandler,_s))}},beforeCreate:function(){this.focusInElement=null},mounted:function(){this.focusInElement||(this.focusInElement=document),this.listenForFocusIn&&qr(this.focusInElement,"focusin",this._focusInHandler,_s)},beforeDestroy:function(){Vr(this.focusInElement,"focusin",this._focusInHandler,_s)},methods:{_focusInHandler:function(t){this.focusInHandler&&this.focusInHandler(t)}}};function au(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function su(t){for(var i=1;i0&&void 0!==arguments[0]&&arguments[0];this.disabled||(this.visible=!1,t&&this.$once("hidden",this.focusToggler))},toggle:function(t){var e=t=t||{},n=e.type,r=e.keyCode;("click"===n||"keydown"===n&&-1!==[xi,Mi,_i].indexOf(r))&&(this.disabled?this.visible=!1:(this.$emit("toggle",t),Gr(t),this.visible?this.hide(!0):this.show()))},onMousedown:function(t){Gr(t,{propagation:!1})},onKeydown:function(t){var e=t.keyCode;27===e?this.onEsc(t):e===_i?this.focusNext(t,!1):e===Ci&&this.focusNext(t,!0)},onEsc:function(t){this.visible&&(this.visible=!1,Gr(t),this.$once("hidden",this.focusToggler))},onSplitClick:function(t){this.disabled?this.visible=!1:this.$emit("click",t)},hideHandler:function(t){var e=this,n=t.target;!this.visible||dr(this.$refs.menu,n)||dr(this.toggler,n)||(this.clearHideTimeout(),this.$_hideTimeout=setTimeout((function(){return e.hide()}),this.inNavbar?300:0))},clickOutHandler:function(t){this.hideHandler(t)},focusInHandler:function(t){this.hideHandler(t)},focusNext:function(t,e){var n=this,r=t.target;!this.visible||t&&lr(".dropdown form",r)||(Gr(t),this.$nextTick((function(){var t=n.getItems();if(!(t.length<1)){var o=t.indexOf(r);e&&o>0?o--:!e&&o1&&void 0!==arguments[1]?arguments[1]:null;if(ee(option)){var e=Je(option,this.valueField),text=Je(option,this.textField);return{value:Ht(e)?t||text:e,text:zo(String(Ht(text)?t:text)),html:Je(option,this.htmlField),disabled:Boolean(Je(option,this.disabledField))}}return{value:t||option,text:zo(String(option)),disabled:!1}},normalizeOptions:function(t){var e=this;return Qt(t)?t.map((function(option){return e.normalizeOption(option)})):ee(t)?(Qe('Setting prop "options" to an object is deprecated. Use the array format instead.',this.$options.name),fe(t).map((function(n){return e.normalizeOption(t[n]||{},n)}))):[]}}};function Xu(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function Zu(t){for(var i=1;i-1:Ii(e,t)},isRadio:function(){return!1},isCheck:function(){return!0}},watch:{computedLocalChecked:function(t,e){if(!Ii(t,e)){this.$emit("input",t);var n=this.$refs.input;n&&this.$emit("update:indeterminate",n.indeterminate)}},indeterminate:function(t){this.setIndeterminate(t)}},mounted:function(){this.setIndeterminate(this.indeterminate)},methods:{handleChange:function(t){var e=this,n=t.target,r=n.checked,o=n.indeterminate,c=this.value,l=this.uncheckedValue,d=this.computedLocalChecked;if(Qt(d)){var f=uc(d,c);r&&f<0?d=d.concat(c):!r&&f>-1&&(d=d.slice(0,f).concat(d.slice(f+1)))}else d=r?c:l;this.computedLocalChecked=d,this.$nextTick((function(){e.$emit("change",d),e.isGroup&&e.bvGroup.$emit("change",d),e.$emit("update:indeterminate",o)}))},setIndeterminate:function(t){Qt(this.computedLocalChecked)&&(t=!1);var e=this.$refs.input;e&&(e.indeterminate=t,this.$emit("update:indeterminate",t))}}});function kc(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function Ec(t){for(var i=1;i0&&(f=[t("div",{staticClass:"b-form-date-controls d-flex flex-wrap",class:{"justify-content-between":f.length>1,"justify-content-end":f.length<2}},f)]);var v=t(Ma,{key:"calendar",ref:"calendar",staticClass:"b-form-date-calendar w-100",props:Gc(Gc({},fi(Ea,c)),{},{value:e,hidden:!this.isVisible}),on:{selected:this.onSelected,input:this.onInput,context:this.onContext},scopedSlots:me(l,["nav-prev-decade","nav-prev-year","nav-prev-month","nav-this-month","nav-next-month","nav-next-year","nav-next-decade"])},f);return t(Vc,{ref:"control",staticClass:"b-form-datepicker",props:Gc(Gc({},fi(qc,c)),{},{id:this.safeId(),value:e,formattedValue:e?this.formattedValue:"",placeholder:d,rtl:this.isRTL,lang:this.computedLang,menuClass:[{"bg-dark":!!o,"text-light":!!o},this.menuClass]}),on:{show:this.onShow,shown:this.onShown,hidden:this.onHidden},scopedSlots:{"button-content":l["button-content"]||this.defaultButtonFn}},[v])}}),Wc=dn({components:{BFormDatepicker:Kc,BDatepicker:Kc}});n(252);function Yc(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function Xc(t){for(var i=1;i1&&void 0!==arguments[1]?arguments[1]:"";return new Promise((function(n){var r=[];!function o(){e.readEntries((function(e){0===e.length?n(Promise.all(r).then((function(t){return Tn(t)}))):(r.push(Promise.all(e.map((function(e){if(e){if(e.isDirectory)return t(e.createReader(),"".concat(path).concat(e.name,"/"));if(e.isFile)return new Promise((function(t){e.file((function(e){e.$path="".concat(path).concat(e.name),t(e)}))}))}return null})).filter(Xe))),o())}))}()}))},tl=kt.extend({name:"BFormFile",mixins:[Ri,xa,dc,_c,hc,zr],inheritAttrs:!1,model:{prop:"value",event:"input"},props:Mn(Xc(Xc(Xc(Xc(Xc({},lc),fc),wc),vc),{},{value:{type:[$t,Array],default:null,validator:function(t){return""===t?(Qe('Setting "value"/"v-model" to an empty string for reset is deprecated. Set to "null" instead.',"BFormFile"),!0):Kt(t)||Zc(t)}},accept:{type:String,default:""},capture:{type:Boolean,default:!1},placeholder:{type:String,default:"No file chosen"},browseText:{type:String,default:"Browse"},dropPlaceholder:{type:String,default:"Drop files here"},noDropPlaceholder:{type:String,default:"Not allowed"},multiple:{type:Boolean,default:!1},directory:{type:Boolean,default:!1},noTraverse:{type:Boolean,default:!1},noDrop:{type:Boolean,default:!1},fileNameFormatter:{type:Function}}),"BFormFile"),data:function(){return{files:[],dragging:!1,dropAllowed:!this.noDrop,hasFocus:!1}},computed:{computedAccept:function(){var t=this.accept;return 0===(t=(t||"").trim().split(/[,\s]+/).filter(Boolean)).length?null:t.map((function(t){var e="name",n="^",r="$";return Se.test(t)?n="":(e="type",Pe.test(t)&&(r=".+$",t=t.slice(0,-1))),t=zn(t),{rx:new RegExp("".concat(n).concat(t).concat(r)),prop:e}}))},computedCapture:function(){var t=this.capture;return!0===t||""===t||(t||null)},computedAttrs:function(){var t=this.name,e=this.disabled,n=this.required,form=this.form,r=this.computedCapture,o=this.accept,c=this.multiple,l=this.directory;return Xc(Xc({},this.bvAttrs),{},{type:"file",id:this.safeId(),name:t,disabled:e,required:n,form:form||null,capture:r,accept:o||null,multiple:c,directory:l,webkitdirectory:l,"aria-required":n?"true":null})},computedFileNameFormatter:function(){var t=this.fileNameFormatter,e=null;try{e=t()}catch(t){}return Ht(e)?this.defaultFileNameFormatter:t},clonedFiles:function(){return ye(this.files)},flattenedFiles:function(){return Pn(this.files)},fileNames:function(){return this.flattenedFiles.map((function(t){return t.name}))},labelContent:function(){var t=this.$createElement;if(this.dragging&&!this.noDrop)return this.normalizeSlot("drop-placeholder",{allowed:this.dropAllowed})||(this.dropAllowed?this.dropPlaceholder:t("span",{staticClass:"text-danger"},this.noDropPlaceholder));if(0===this.files.length)return this.normalizeSlot("placeholder")||this.placeholder;var e=this.flattenedFiles,n=this.clonedFiles,r=this.fileNames,o=this.computedFileNameFormatter;return this.hasNormalizedSlot("file-name")?this.normalizeSlot("file-name",{files:e,filesTraversed:n,names:r}):o(e,n,r)}},watch:{value:function(t){(!t||Qt(t)&&0===t.length)&&this.reset()},files:function(t,e){if(!Ii(t,e)){var n=this.multiple,r=this.noTraverse,o=!n||r?Pn(t):t;this.$emit("input",n?o:o[0]||null)}}},mounted:function(){var t=this,e=lr("form",this.$el);e&&(qr(e,"reset",this.reset,ws),this.$on("hook:beforeDestroy",(function(){Vr(e,"reset",t.reset,ws)})))},methods:{isFileValid:function(t){if(!t)return!1;var e=this.computedAccept;return!e||e.some((function(a){return a.rx.test(t[a.prop])}))},isFilesArrayValid:function(t){var e=this;return Qt(t)?t.every((function(t){return e.isFileValid(t)})):this.isFileValid(t)},defaultFileNameFormatter:function(t,e,n){return n.join(", ")},setFiles:function(t){this.dropAllowed=!this.noDrop,this.dragging=!1,this.files=this.multiple?this.directory?t:Pn(t):Pn(t).slice(0,1)},setInputFiles:function(t){try{var e=new ClipboardEvent("").clipboardData||new DataTransfer;Pn(ye(t)).forEach((function(t){delete t.$path,e.items.add(t)})),this.$refs.input.files=e.files}catch(t){}},reset:function(){try{var t=this.$refs.input;t.value="",t.type="",t.type="file"}catch(t){}this.files=[]},handleFiles:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e){var n=t.filter(this.isFilesArrayValid);n.length>0&&(this.setFiles(n),this.setInputFiles(n))}else this.setFiles(t)},focusHandler:function(t){this.plain||"focusout"===t.type?this.hasFocus=!1:this.hasFocus=!0},onChange:function(t){var e=this,n=t.type,r=t.target,o=t.dataTransfer,c=void 0===o?{}:o,l="drop"===n;this.$emit("change",t);var d=Cn(c.items||[]);if(Lt.g&&d.length>0&&!Gt(Jc(d[0])))(function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Promise.all(Cn(t).filter((function(t){return"file"===t.kind})).map((function(t){var n=Jc(t);if(n){if(n.isDirectory&&e)return Qc(n.createReader(),"".concat(n.name,"/"));if(n.isFile)return new Promise((function(t){n.file((function(e){e.$path="",t(e)}))}))}return null})).filter(Xe))})(d,this.directory).then((function(t){return e.handleFiles(t,l)}));else{var f=Cn(r.files||c.files||[]).map((function(t){return t.$path=t.webkitRelativePath||"",t}));this.handleFiles(f,l)}},onDragenter:function(t){Gr(t),this.dragging=!0;var e=t.dataTransfer,n=void 0===e?{}:e;if(this.noDrop||this.disabled||!this.dropAllowed)return n.dropEffect="none",void(this.dropAllowed=!1);n.dropEffect="copy"},onDragover:function(t){Gr(t),this.dragging=!0;var e=t.dataTransfer,n=void 0===e?{}:e;if(this.noDrop||this.disabled||!this.dropAllowed)return n.dropEffect="none",void(this.dropAllowed=!1);n.dropEffect="copy"},onDragleave:function(t){var e=this;Gr(t),this.$nextTick((function(){e.dragging=!1,e.dropAllowed=!e.noDrop}))},onDrop:function(t){var e=this;Gr(t),this.dragging=!1,this.noDrop||this.disabled||!this.dropAllowed?this.$nextTick((function(){e.dropAllowed=!e.noDrop})):this.onChange(t)}},render:function(t){var e=this.custom,n=this.plain,r=this.size,c=this.dragging,l=this.stateClass,d=t("input",{ref:"input",class:[{"form-control-file":n,"custom-file-input":e,focus:e&&this.hasFocus},l],style:e?{zIndex:-5}:{},attrs:this.computedAttrs,on:{change:this.onChange,focusin:this.focusHandler,focusout:this.focusHandler,reset:this.reset}});if(n)return d;var f=t("label",{staticClass:"custom-file-label",class:{dragging:c},attrs:{for:this.safeId(),"data-browse":this.browseText||null}},[t("span",{staticClass:"d-block form-file-text",style:{pointerEvents:"none"}},[this.labelContent])]);return t("div",{staticClass:"custom-file b-form-file",class:[Object(o.a)({},"b-custom-control-".concat(r),r),l],attrs:{id:this.safeId("_BV_file_outer_")},on:{dragenter:this.onDragenter,dragover:this.onDragover,dragleave:this.onDragleave,drop:this.onDrop}},[d,f])}}),el=dn({components:{BFormFile:tl,BFile:tl}}),nl=(n(758),function(t){return"\\"+t}),rl=function(t){var e=(t=$n(t)).length,n=t.charCodeAt(0);return t.split("").reduce((function(r,o,c){var l=t.charCodeAt(c);return 0===l?r+"�":127===l||l>=1&&l<=31||0===c&&l>=48&&l<=57||1===c&&l>=48&&l<=57&&45===n?r+nl("".concat(l.toString(16)," ")):0===c&&45===l&&1===e?r+nl(o):l>=128||45===l||95===l||l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122?r+o:r+nl(o)}),"")};function il(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function al(t){for(var i=1;i0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"".concat(e).concat(Fn(t))})),yl={name:"BFormGroup",mixins:[xa,_c,zr],get props(){return delete this.props,this.props=(t=En(),e=t.reduce((function(t,e){return t[vl(e,"labelCols")]={type:[Number,String,Boolean],default:!e&&null},t}),ue(null)),n=t.reduce((function(t,e){return t[vl(e,"labelAlign")]={type:String},t}),ue(null)),Mn(bl(bl(bl(bl({},wc),{},{label:{type:String},labelFor:{type:String},labelSize:{type:String},labelSrOnly:{type:Boolean,default:!1}},e),n),{},{labelClass:{type:[String,Array,Object]},description:{type:String},invalidFeedback:{type:String},validFeedback:{type:String},tooltip:{type:Boolean,default:!1},feedbackAriaLive:{type:String,default:"assertive"},validated:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}}),"BFormGroup"));var t,e,n},data:function(){return{describedByIds:""}},computed:{labelColProps:function(){var t=this,e={};return En().forEach((function(n){var r=t[vl(n,"labelCols")];Yt(r=""===r||(r||!1))||"auto"===r||(r=(r=Rn(r,0))>0&&r),r&&(e[n||(Yt(r)?"col":"cols")]=r)})),e},labelAlignClasses:function(){var t=this,e=[];return En().forEach((function(n){var r=t[vl(n,"labelAlign")]||null;if(r){var o=n?"text-".concat(n,"-").concat(r):"text-".concat(r);e.push(o)}})),e},isHorizontal:function(){return fe(this.labelColProps).length>0}},watch:{describedByIds:function(t,e){t!==e&&this.setInputDescribedBy(t,e)}},mounted:function(){var t=this;this.$nextTick((function(){t.setInputDescribedBy(t.describedByIds)}))},methods:{legendClick:function(t){if(!this.labelFor){var e=t.target,n=e?e.tagName:"";if(-1===gl.indexOf(n)){var r=sr("input:not([disabled]),textarea:not([disabled]),select:not([disabled])",this.$refs.content).filter(ir);r&&1===r.length&&Ar(r[0])}}},setInputDescribedBy:function(t,e){if(this.labelFor&&Lt.j){var input=ur("#".concat(rl(this.labelFor)),this.$refs.content);if(input){var n="aria-describedby",r=(wr(input,n)||"").split(/\s+/);t=(t||"").split(/\s+/),e=(e||"").split(/\s+/),r=r.filter((function(t){return!jn(e,t)})).concat(t).filter(Boolean),(r=fe(r.reduce((function(t,e){return bl(bl({},t),{},Object(o.a)({},e,!0))}),{})).join(" ").trim())?vr(input,n,r):yr(input,n)}}}},render:function(t){var e=this.labelFor,n=this.tooltip,r=this.feedbackAriaLive,o=this.computedState,c=this.isHorizontal,l=this.normalizeSlot,d=!e,f=t(),h=l("label")||this.label,m=h?this.safeId("_BV_label_"):null;if(h||c){var v=this.labelSize,y=this.labelColProps,w=d,_=w?"legend":"label";this.labelSrOnly?(h&&(f=t(_,{class:"sr-only",attrs:{id:m,for:e||null}},[h])),f=t(c?pl:"div",{props:c?y:{}},[f])):f=t(c?pl:_,{on:w?{click:this.legendClick}:{},props:c?bl({tag:_},y):{},attrs:{id:m,for:e||null,tabindex:w?"-1":null},class:[w?"bv-no-focus-ring":"",c||w?"col-form-label":"",!c&&w?"pt-0":"",c||w?"":"d-block",v?"col-form-label-".concat(v):"",this.labelAlignClasses,this.labelClass]},[h])}var S=t(),x=l("invalid-feedback")||this.invalidFeedback,O=x?this.safeId("_BV_feedback_invalid_"):null;x&&(S=t(nc,{props:{id:O,state:o,tooltip:n,ariaLive:r,role:r?"alert":null},attrs:{tabindex:x?"-1":null}},[x]));var k=t(),E=l("valid-feedback")||this.validFeedback,M=E?this.safeId("_BV_feedback_valid_"):null;E&&(k=t(ic,{props:{id:M,state:o,tooltip:n,ariaLive:r,role:r?"alert":null},attrs:{tabindex:E?"-1":null}},[E]));var C=t(),j=l("description")||this.description,I=j?this.safeId("_BV_description_"):null;j&&(C=t(tc,{attrs:{id:I,tabindex:j?"-1":null}},[j]));var A=t(c?pl:"div",{ref:"content",staticClass:"bv-no-focus-ring",attrs:{tabindex:d?"-1":null,role:d?"group":null,"aria-labelledby":d?m:null}},[l()||t(),S,k,C]);return this.describedByIds=[I,!1===o?O:null,!0===o?M:null].filter(Boolean).join(" "),t(d?"fieldset":c?ac:"div",{staticClass:"form-group",class:[this.validated?"was-validated":null,this.stateClass],attrs:{id:this.safeId(),disabled:d?this.disabled:null,role:d?null:"group","aria-invalid":!1===o?"true":null,"aria-labelledby":d&&c?m:null,"aria-describedby":d?this.describedByIds:null}},c&&d?[t(ac,[f,A])]:[f,A])}},wl=dn({components:{BFormGroup:yl,BFormFieldset:yl}}),_l={computed:{selectionStart:{cache:!1,get:function(){return this.$refs.input.selectionStart},set:function(t){this.$refs.input.selectionStart=t}},selectionEnd:{cache:!1,get:function(){return this.$refs.input.selectionEnd},set:function(t){this.$refs.input.selectionEnd=t}},selectionDirection:{cache:!1,get:function(){return this.$refs.input.selectionDirection},set:function(t){this.$refs.input.selectionDirection=t}}},methods:{select:function(){var t;(t=this.$refs.input).select.apply(t,arguments)},setSelectionRange:function(){var t;(t=this.$refs.input).setSelectionRange.apply(t,arguments)},setRangeText:function(){var t;(t=this.$refs.input).setRangeText.apply(t,arguments)}}},Sl=Mn({value:{type:[String,Number],default:""},ariaInvalid:{type:[Boolean,String],default:!1},readonly:{type:Boolean,default:!1},plaintext:{type:Boolean,default:!1},autocomplete:{type:String},placeholder:{type:String},formatter:{type:Function},lazyFormatter:{type:Boolean,default:!1},trim:{type:Boolean,default:!1},number:{type:Boolean,default:!1},lazy:{type:Boolean,default:!1},debounce:{type:[Number,String],default:0}},"formTextControls"),xl={model:{prop:"value",event:"update"},props:Sl,data:function(){return{localValue:$n(this.value),vModelValue:this.value}},computed:{computedClass:function(){return[{"custom-range":"range"===this.type,"form-control-plaintext":this.plaintext&&"range"!==this.type&&"color"!==this.type,"form-control":!this.plaintext&&"range"!==this.type||"color"===this.type},this.sizeFormClass,this.stateClass]},computedAriaInvalid:function(){return this.ariaInvalid&&"false"!==this.ariaInvalid?!0===this.ariaInvalid?"true":this.ariaInvalid:!1===this.computedState?"true":null},computedDebounce:function(){return Qr(Rn(this.debounce,0),0)},hasFormatter:function(){var t=null;try{t=this.formatter()}catch(t){}return!Ht(t)}},watch:{value:function(t){var e=$n(t);e!==this.localValue&&t!==this.vModelValue&&(this.clearDebounce(),this.localValue=e,this.vModelValue=t)}},created:function(){this.$_inputDebounceTimer=null},mounted:function(){this.$on("hook:beforeDestroy",this.clearDebounce);var t=this.value,e=$n(t);e!==this.localValue&&t!==this.vModelValue&&(this.localValue=e,this.vModelValue=t)},methods:{clearDebounce:function(){clearTimeout(this.$_inputDebounceTimer),this.$_inputDebounceTimer=null},formatValue:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return t=$n(t),!this.hasFormatter||this.lazyFormatter&&!n||(t=this.formatter(t,e)),t},modifyValue:function(t){return this.trim&&(t=t.trim()),this.number&&(t=Dn(t,t)),t},updateValue:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=this.lazy;if(!r||n){this.clearDebounce();var o=function(){if((t=e.modifyValue(t))!==e.vModelValue)e.vModelValue=t,e.$emit("update",t);else if(e.hasFormatter){var n=e.$refs.input;n&&t!==n.value&&(n.value=t)}},c=this.computedDebounce;c>0&&!r&&!n?this.$_inputDebounceTimer=setTimeout(o,c):o()}},onInput:function(t){if(!t.target.composing){var e=t.target.value,n=this.formatValue(e,t);!1===n||t.defaultPrevented?Gr(t,{propagation:!1}):(this.localValue=n,this.updateValue(n),this.$emit("input",n))}},onChange:function(t){var e=t.target.value,n=this.formatValue(e,t);!1===n||t.defaultPrevented?Gr(t,{propagation:!1}):(this.localValue=n,this.updateValue(n,!0),this.$emit("change",n))},onBlur:function(t){var e=t.target.value,n=this.formatValue(e,t,!0);!1!==n&&(this.localValue=$n(this.modifyValue(n)),this.updateValue(n,!0)),this.$emit("blur",t)},focus:function(){this.disabled||Ar(this.$el)},blur:function(){this.disabled||Tr(this.$el)}}},Ol={computed:{validity:{cache:!1,get:function(){return this.$refs.input.validity}},validationMessage:{cache:!1,get:function(){return this.$refs.input.validationMessage}},willValidate:{cache:!1,get:function(){return this.$refs.input.willValidate}}},methods:{setCustomValidity:function(){var t;return(t=this.$refs.input).setCustomValidity.apply(t,arguments)},checkValidity:function(){var t;return(t=this.$refs.input).checkValidity.apply(t,arguments)},reportValidity:function(){var t;return(t=this.$refs.input).reportValidity.apply(t,arguments)}}};function kl(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function El(t){for(var i=1;i=n?"full":e>=n-.5?"half":"empty",m={variant:c,disabled:l,readonly:d};return t("span",{staticClass:"b-rating-star",class:{focused:r&&e===n||!Rn(e)&&n===f,"b-rating-star-empty":"empty"===h,"b-rating-star-half":"half"===h,"b-rating-star-full":"full"===h},attrs:{tabindex:l||d?null:"-1"},on:{click:this.onClick}},[t("span",{staticClass:"b-rating-icon"},[this.normalizeSlot(h,m)])])}}),Fl=kt.extend({name:"BFormRating",components:{BIconStar:xo,BIconStarHalf:ko,BIconStarFill:Oo,BIconX:Eo},mixins:[xa,yc],model:{prop:"value",event:"change"},props:Mn(Ll(Ll(Ll({},be(lc,["required","autofocus"])),vc),{},{value:{type:[Number,String],default:null},stars:{type:[Number,String],default:5,validator:function(t){return Rn(t)>=3}},variant:{type:String},color:{type:String},showValue:{type:Boolean,default:!1},showValueMax:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},noBorder:{type:Boolean,default:!1},inline:{type:Boolean,default:!1},precision:{type:[Number,String],default:null},iconEmpty:{type:String,default:"star"},iconHalf:{type:String,default:"star-half"},iconFull:{type:String,default:"star-fill"},iconClear:{type:String,default:"x"},locale:{type:[String,Array]},showClear:{type:Boolean,default:!1}}),"BFormRating"),data:function(){var t=Dn(this.value,null),e=Nl(this.stars);return{localValue:Gt(t)?null:Bl(t,0,e),hasFocus:!1}},computed:{computedStars:function(){return Nl(this.stars)},computedRating:function(){var t=Dn(this.localValue,0),e=Rn(this.precision,3);return Bl(Dn(t.toFixed(e)),0,this.computedStars)},computedLocale:function(){var t=In(this.locale).filter(Xe);return new Intl.NumberFormat(t).resolvedOptions().locale},isInteractive:function(){return!this.disabled&&!this.readonly},isRTL:function(){return Sa(this.computedLocale)},formattedRating:function(){var t=Rn(this.precision),e=this.showValueMax,n=this.computedLocale,r={notation:"standard",minimumFractionDigits:isNaN(t)?0:t,maximumFractionDigits:isNaN(t)?3:t},o=this.computedStars.toLocaleString(n),c=this.localValue;return c=Gt(c)?e?"-":"":c.toLocaleString(n,r),e?"".concat(c,"/").concat(o):c}},watch:{value:function(t,e){if(t!==e){var n=Dn(t,null);this.localValue=Gt(n)?null:Bl(n,0,this.computedStars)}},localValue:function(t,e){t!==e&&t!==(this.value||0)&&this.$emit("change",t||null)},disabled:function(t){t&&(this.hasFocus=!1,this.blur())}},methods:{focus:function(){this.disabled||Ar(this.$el)},blur:function(){this.disabled||Tr(this.$el)},onKeydown:function(t){var e=t.keyCode;if(this.isInteractive&&jn([ki,_i,Ei,Ci],e)){Gr(t,{propagation:!1});var n=Rn(this.localValue,0),r=this.showClear?0:1,o=this.computedStars,c=this.isRTL?-1:1;e===ki?this.localValue=Bl(n-c,r,o)||null:e===Ei?this.localValue=Bl(n+c,r,o):e===_i?this.localValue=Bl(n-1,r,o)||null:e===Ci&&(this.localValue=Bl(n+1,r,o))}},onSelected:function(t){this.isInteractive&&(this.localValue=t)},onFocus:function(t){this.hasFocus=!!this.isInteractive&&"focus"===t.type},renderIcon:function(t){return this.$createElement(jo,{props:{icon:t,variant:this.disabled||this.color?null:this.variant||null}})},iconEmptyFn:function(){return this.renderIcon(this.iconEmpty)},iconHalfFn:function(){return this.renderIcon(this.iconHalf)},iconFullFn:function(){return this.renderIcon(this.iconFull)},iconClearFn:function(){return this.$createElement(jo,{props:{icon:this.iconClear}})}},render:function(t){var e=this,n=this.disabled,r=this.readonly,o=this.name,form=this.form,c=this.inline,l=this.variant,d=this.color,f=this.noBorder,h=this.hasFocus,m=this.computedRating,v=this.computedStars,y=this.formattedRating,w=this.showClear,_=this.isRTL,S=this.isInteractive,x=this.$scopedSlots,O=[];if(w&&!n&&!r){var k=t("span",{staticClass:"b-rating-icon"},[(x["icon-clear"]||this.iconClearFn)()]);O.push(t("span",{staticClass:"b-rating-star b-rating-star-clear flex-grow-1",class:{focused:h&&0===m},attrs:{tabindex:S?"-1":null},on:{click:function(){return e.onSelected(null)}},key:"clear"},[k]))}for(var E=0;E1&&void 0!==arguments[1]?arguments[1]:null;if(ee(option)){var e=Je(option,this.valueField),text=Je(option,this.textField),n=Je(option,this.optionsField,null);return Gt(n)?{value:Ht(e)?t||text:e,text:String(Ht(text)?t:text),html:Je(option,this.htmlField),disabled:Boolean(Je(option,this.disabledField))}:{label:String(Je(option,this.labelField)||text),options:this.normalizeOptions(n)}}return{value:t||option,text:String(option),disabled:!1}}}},Hl=Mn({value:{required:!0},disabled:{type:Boolean,default:!1}},"BFormSelectOption"),Gl=kt.extend({name:"BFormSelectOption",functional:!0,props:Hl,render:function(t,e){var n=e.props,data=e.data,r=e.children,o=n.value;return t("option",Ot(data,{attrs:{disabled:n.disabled},domProps:{value:o}}),r)}});function Kl(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function Wl(t){for(var i=1;i0?t:500},computedInterval:function(){var t=Rn(this.repeatInterval,0);return t>0?t:100},computedThreshold:function(){return Qr(Rn(this.repeatThreshold,10),1)},computedStepMultiplier:function(){return Qr(Rn(this.repeatStepMultiplier,4),1)},computedPrecision:function(){var t=this.computedStep;return ni(t)===t?0:(t.toString().split(".")[1]||"").length},computedMultiplier:function(){return ri(10,this.computedPrecision||0)},valueAsFixed:function(){var t=this.localValue;return Gt(t)?"":t.toFixed(this.computedPrecision)},computedLocale:function(){var t=In(this.locale).filter(Xe);return new Intl.NumberFormat(t).resolvedOptions().locale},computedRTL:function(){return Sa(this.computedLocale)},defaultFormatter:function(){var t=this.computedPrecision;return new Intl.NumberFormat(this.computedLocale,{style:"decimal",useGrouping:!1,minimumIntegerDigits:1,minimumFractionDigits:t,maximumFractionDigits:t,notation:"standard"}).format},computedFormatter:function(){var t=this.formatterFn,e=null;try{e=t()}catch(t){}return Ht(e)?this.defaultFormatter:t},computedAttrs:function(){return nd(nd({},this.bvAttrs),{},{role:"group",lang:this.computedLocale,tabindex:this.disabled?null:"-1",title:this.ariaLabel})},computedSpinAttrs:function(){var t=this.spinId,e=this.localValue,n=this.computedRequired,r=this.disabled,o=this.state,c=this.computedFormatter,l=!Gt(e);return nd(nd({dir:this.computedRTL?"rtl":"ltr"},this.bvAttrs),{},{id:t,role:"spinbutton",tabindex:r?null:"0","aria-live":"off","aria-label":this.ariaLabel||null,"aria-controls":this.ariaControls||null,"aria-invalid":!1===o||!l&&n?"true":null,"aria-required":n?"true":null,"aria-valuemin":$n(this.computedMin),"aria-valuemax":$n(this.computedMax),"aria-valuenow":l?e:null,"aria-valuetext":l?c(e):null})}},watch:{value:function(t){this.localValue=Dn(t,null)},localValue:function(t){this.$emit("input",t)},disabled:function(t){t&&this.clearRepeat()},readonly:function(t){t&&this.clearRepeat()}},created:function(){this.$_autoDelayTimer=null,this.$_autoRepeatTimer=null,this.$_keyIsDown=!1},beforeDestroy:function(){this.clearRepeat()},deactivated:function(){this.clearRepeat()},methods:{focus:function(){this.disabled||Ar(this.$refs.spinner)},blur:function(){this.disabled||Tr(this.$refs.spinner)},emitChange:function(){this.$emit("change",this.localValue)},stepValue:function(t){var e=this.localValue;if(!this.disabled&&!Gt(e)){var n=this.computedStep*t,r=this.computedMin,o=this.computedMax,c=this.computedMultiplier,l=this.wrap;e=ii((e-r)/n)*n+r+n,e=ii(e*c)/c,this.localValue=e>o?l?r:o:e0&&void 0!==arguments[0]?arguments[0]:1,e=this.localValue;Gt(e)?this.localValue=this.computedMin:this.stepValue(1*t)},stepDown:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,e=this.localValue;Gt(e)?this.localValue=this.wrap?this.computedMax:this.computedMin:this.stepValue(-1*t)},onKeydown:function(t){var e=t.keyCode,n=t.altKey,r=t.ctrlKey,o=t.metaKey;if(!(this.disabled||this.readonly||n||r||o)&&jn(rd,e)){if(Gr(t,{propagation:!1}),this.$_keyIsDown)return;this.resetTimers(),jn([Ci,_i],e)?(this.$_keyIsDown=!0,e===Ci?this.handleStepRepeat(t,this.stepUp):e===_i&&this.handleStepRepeat(t,this.stepDown)):33===e?this.stepUp(this.computedStepMultiplier):34===e?this.stepDown(this.computedStepMultiplier):e===Oi?this.localValue=this.computedMin:e===Si&&(this.localValue=this.computedMax)}},onKeyup:function(t){var e=t.keyCode,n=t.altKey,r=t.ctrlKey,o=t.metaKey;this.disabled||this.readonly||n||r||o||jn(rd,e)&&(Gr(t,{propagation:!1}),this.resetTimers(),this.$_keyIsDown=!1,this.emitChange())},handleStepRepeat:function(t,e){var n=this,r=t||{},o=r.type,button=r.button;if(!this.disabled&&!this.readonly){if("mousedown"===o&&button)return;this.resetTimers(),e(1);var c=this.computedThreshold,l=this.computedStepMultiplier,d=this.computedDelay,f=this.computedInterval;this.$_autoDelayTimer=setTimeout((function(){var t=0;n.$_autoRepeatTimer=setInterval((function(){e(t0&&n.indexOf(t)===e}))},hd=function(t){return Xt(t)?t:re(t)&&t.target.value||""},pd=kt.extend({name:"BFormTags",mixins:[xa,dc,yc,_c,zr],model:{prop:"value",event:"input"},props:Mn(cd(cd(cd(cd({},lc),vc),wc),{},{value:{type:Array,default:function(){return[]}},placeholder:{type:String,default:"Add tag..."},inputId:{type:String},inputType:{type:String,default:"text",validator:function(t){return jn(ld,t)}},inputClass:{type:[String,Array,Object]},inputAttrs:{type:Object,default:function(){return{}}},addButtonText:{type:String,default:"Add"},addButtonVariant:{type:String,default:"outline-secondary"},tagVariant:{type:String,default:"secondary"},tagClass:{type:[String,Array,Object]},tagPills:{type:Boolean,default:!1},tagRemoveLabel:{type:String,default:"Remove tag"},tagRemovedLabel:{type:String,default:"Tag removed"},tagValidator:{type:Function},duplicateTagText:{type:String,default:"Duplicate tag(s)"},invalidTagText:{type:String,default:"Invalid tag(s)"},limitTagsText:{type:String,default:"Tag limit reached"},limit:{type:Number},separator:{type:[String,Array]},removeOnDelete:{type:Boolean,default:!1},addOnChange:{type:Boolean,default:!1},noAddOnEnter:{type:Boolean,default:!1},noOuterFocus:{type:Boolean,default:!1},ignoreInputFocusSelector:{type:[Array,String],default:function(){return[".b-form-tag","button","input","select"]}}}),"BFormTags"),data:function(){return{hasFocus:!1,newTag:"",tags:[],removedTags:[],tagsState:{all:[],valid:[],invalid:[],duplicate:[]}}},computed:{computedInputId:function(){return this.inputId||this.safeId("__input__")},computedInputType:function(){return jn(ld,this.inputType)?this.inputType:"text"},computedInputAttrs:function(){return cd(cd({},this.inputAttrs),{},{id:this.computedInputId,value:this.newTag,disabled:this.disabled||null,form:this.form||null})},computedInputHandlers:function(){return{input:this.onInputInput,change:this.onInputChange,keydown:this.onInputKeydown}},computedSeparator:function(){return In(this.separator).filter(Xt).filter(Xe).join("")},computedSeparatorRegExp:function(){var t=this.computedSeparator;return t?new RegExp("[".concat(zn(t).replace(Ae,"\\s"),"]+")):null},computedJoiner:function(){var t=this.computedSeparator.charAt(0);return" "!==t?"".concat(t," "):t},computeIgnoreInputFocusSelector:function(){return In(this.ignoreInputFocusSelector).filter(Xe).join(",").trim()},disableAddButton:function(){var t=this,e=qn(this.newTag);return""===e||!this.splitTags(e).some((function(e){return!jn(t.tags,e)&&t.validateTag(e)}))},duplicateTags:function(){return this.tagsState.duplicate},hasDuplicateTags:function(){return this.duplicateTags.length>0},invalidTags:function(){return this.tagsState.invalid},hasInvalidTags:function(){return this.invalidTags.length>0},isLimitReached:function(){var t=this.limit;return Zt(t)&&t>=0&&this.tags.length>=t}},watch:{value:function(t){this.tags=fd(t)},tags:function(t,e){Ii(t,this.value)||this.$emit("input",t),Ii(t,e)||(t=In(t).filter(Xe),e=In(e).filter(Xe),this.removedTags=e.filter((function(e){return!jn(t,e)})))},tagsState:function(t,e){Ii(t,e)||this.$emit("tag-state",t.valid,t.invalid,t.duplicate)}},created:function(){this.tags=fd(this.value)},methods:{addTag:function(t){if(t=Xt(t)?t:this.newTag,!this.disabled&&""!==qn(t)&&!this.isLimitReached){var e=this.parseTags(t);if(e.valid.length>0||0===e.all.length)if(cr(this.getInput(),"select"))this.newTag="";else{var n=[].concat(Object(It.a)(e.invalid),Object(It.a)(e.duplicate));this.newTag=e.all.filter((function(t){return jn(n,t)})).join(this.computedJoiner).concat(n.length>0?this.computedJoiner.charAt(0):"")}e.valid.length>0&&(this.tags=In(this.tags,e.valid)),this.tagsState=e,this.focus()}},removeTag:function(t){var e=this;this.disabled||(this.tags=this.tags.filter((function(e){return e!==t})),this.$nextTick((function(){e.focus()})))},onInputInput:function(t){if(!(this.disabled||re(t)&&t.target.composing)){var e=hd(t),n=this.computedSeparatorRegExp;this.newTag!==e&&(this.newTag=e),e=$n(e).replace(De,""),n&&n.test(e.slice(-1))?this.addTag():this.tagsState=""===e?{all:[],valid:[],invalid:[],duplicate:[]}:this.parseTags(e)}},onInputChange:function(t){if(!this.disabled&&this.addOnChange){var e=hd(t);this.newTag!==e&&(this.newTag=e),this.addTag()}},onInputKeydown:function(t){if(!this.disabled&&re(t)){var e=t.keyCode,n=t.target.value||"";this.noAddOnEnter||e!==xi?!this.removeOnDelete||8!==e&&46!==e||""!==n||(Gr(t,{propagation:!1}),this.tags=this.tags.slice(0,-1)):(Gr(t,{propagation:!1}),this.addTag())}},onClick:function(t){var e=this,n=this.computeIgnoreInputFocusSelector,r=t.target;this.disabled||rr(r)||n&&lr(n,r,!0)||this.$nextTick((function(){e.focus()}))},onFocusin:function(){this.hasFocus=!0},onFocusout:function(){this.hasFocus=!1},handleAutofocus:function(){var t=this;this.$nextTick((function(){Zn((function(){t.autofocus&&!t.disabled&&t.focus()}))}))},focus:function(){this.disabled||Ar(this.getInput())},blur:function(){this.disabled||Tr(this.getInput())},splitTags:function(t){t=$n(t);var e=this.computedSeparatorRegExp;return(e?t.split(e):[t]).map(qn).filter(Xe)},parseTags:function(t){var e=this,n=this.splitTags(t),r={all:n,valid:[],invalid:[],duplicate:[]};return n.forEach((function(t){jn(e.tags,t)||jn(r.valid,t)?jn(r.duplicate,t)||r.duplicate.push(t):e.validateTag(t)?r.valid.push(t):jn(r.invalid,t)||r.invalid.push(t)})),r},validateTag:function(t){var e=this.tagValidator,n=null;try{n=e()}catch(t){}return!!Ht(n)||e(t)},getInput:function(){return ur("#".concat(rl(this.computedInputId)),this.$el)},defaultRender:function(t){var e=t.tags,n=t.inputAttrs,r=t.inputType,o=t.inputHandlers,c=t.removeTag,l=t.addTag,d=t.isInvalid,f=t.isDuplicate,h=t.isLimitReached,m=t.disableAddButton,v=t.disabled,y=t.placeholder,w=t.inputClass,_=t.tagRemoveLabel,S=t.tagVariant,x=t.tagPills,O=t.tagClass,k=t.addButtonText,E=t.addButtonVariant,M=t.invalidTagText,C=t.duplicateTagText,j=t.limitTagsText,I=this.$createElement,A=e.map((function(t){return t=$n(t),I(sd,{class:O,props:{tag:"li",title:t,disabled:v,variant:S,pill:x,removeLabel:_},on:{remove:function(){return c(t)}},key:"tags_".concat(t)},t)})),T=M&&d?this.safeId("__invalid_feedback__"):null,P=C&&f?this.safeId("__duplicate_feedback__"):null,R=j&&h?this.safeId("__limit_feedback__"):null,D=[n["aria-describedby"],T,P,R].filter(Xe).join(" "),L=I("input",{ref:"input",directives:[{name:"model",value:n.value}],staticClass:"b-form-tags-input w-100 flex-grow-1 p-0 m-0 bg-transparent border-0",class:w,style:{outline:0,minWidth:"5rem"},attrs:cd(cd({},n),{},{"aria-describedby":D||null,type:r,placeholder:y||null}),domProps:{value:n.value},on:o}),N=I(Qi,{ref:"button",staticClass:"b-form-tags-button py-0",class:{invisible:m},style:{fontSize:"90%"},props:{variant:E,disabled:m||h},on:{click:function(){return l()}}},[this.normalizeSlot("add-button-text")||k]),B=this.safeId("__tag_list__"),U=I("li",{staticClass:"b-from-tags-field flex-grow-1",attrs:{role:"none","aria-live":"off","aria-controls":B},key:"tags_field"},[I("div",{staticClass:"d-flex",attrs:{role:"group"}},[L,N])]),F=I("ul",{staticClass:"b-form-tags-list list-unstyled mb-0 d-flex flex-wrap align-items-center",attrs:{id:B},key:"tags_list"},[A,U]),z=I();if(M||C||j){var $=this.computedJoiner,V=I();T&&(V=I(nc,{props:{id:T,forceShow:!0},key:"tags_invalid_feedback"},[this.invalidTagText,": ",this.invalidTags.join($)]));var H=I();P&&(H=I(tc,{props:{id:P},key:"tags_duplicate_feedback"},[this.duplicateTagText,": ",this.duplicateTags.join($)]));var G=I();R&&(G=I(tc,{props:{id:R},key:"tags_limit_feedback"},[j])),z=I("div",{attrs:{"aria-live":"polite","aria-atomic":"true"},key:"tags_feedback"},[V,H,G])}return[F,z]}},render:function(t){var e=this,n=this.name,r=this.disabled,o=this.tags,c=this.computedInputId,l=this.hasFocus,d=this.noOuterFocus,f=cd({tags:o.slice(),inputAttrs:this.computedInputAttrs,inputType:this.computedInputType,inputHandlers:this.computedInputHandlers,removeTag:this.removeTag,addTag:this.addTag,inputId:c,isInvalid:this.hasInvalidTags,invalidTags:this.invalidTags.slice(),isDuplicate:this.hasDuplicateTags,duplicateTags:this.duplicateTags.slice(),isLimitReached:this.isLimitReached,disableAddButton:this.disableAddButton},me(this.$props,["disabled","state","size","limit","separator","placeholder","inputClass","tagRemoveLabel","tagVariant","tagPills","tagClass","addButtonText","addButtonVariant","invalidTagText","duplicateTagText","limitTagsText"])),h=this.normalizeSlot("default",f)||this.defaultRender(f),m=t("output",{staticClass:"sr-only",attrs:{id:this.safeId("__selected_tags__"),role:"status",for:c,"aria-live":l?"polite":"off","aria-atomic":"true","aria-relevant":"additions text"}},this.tags.join(", ")),v=t("div",{staticClass:"sr-only",attrs:{id:this.safeId("__removed_tags__"),role:"status","aria-live":l?"assertive":"off","aria-atomic":"true"}},this.removedTags.length>0?"(".concat(this.tagRemovedLabel,") ").concat(this.removedTags.join(", ")):""),y=t();return n&&!r&&(y=o.map((function(r){return t("input",{attrs:{type:"hidden",value:r,name:n,form:e.form||null},key:"tag_input_".concat(r)})}))),t("div",{staticClass:"b-form-tags form-control h-auto",class:[{focus:l&&!d&&!r,disabled:r},this.sizeFormClass,this.stateClass],attrs:{id:this.safeId(),role:"group",tabindex:r||d?null:"-1","aria-describedby":this.safeId("__selected_tags__")},on:{click:this.onClick,focusin:this.onFocusin,focusout:this.onFocusout}},[m,v,h,y])}}),md=dn({components:{BFormTags:pd,BTags:pd,BFormTag:sd,BTag:sd}});function bd(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function gd(t){for(var i=1;iv?d:"".concat(v,"px")}},render:function(t){return t("textarea",{ref:"input",class:this.computedClass,style:this.computedStyle,directives:[{name:"b-visible",value:this.visibleCallback,modifiers:{640:!0}}],attrs:this.computedAttrs,domProps:{value:this.localValue},on:this.computedListeners})}}),yd=dn({components:{BFormTextarea:vd,BTextarea:vd}});function wd(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function _d(t){for(var i=1;i1&&void 0!==arguments[1]&&arguments[1];if(Gt(e)||Gt(n)||o&&Gt(r))return"";var c=[e,n,o?r:0];return c.map(Sd).join(":")}({hours:this.modelHours,minutes:this.modelMinutes,seconds:this.modelSeconds},this.showSeconds)},resolvedOptions:function(){var t=In(this.locale).filter(Xe),e={hour:"numeric",minute:"numeric",second:"numeric"};Kt(this.hour12)||(e.hour12=!!this.hour12);var n=new Intl.DateTimeFormat(t,e).resolvedOptions(),r=n.hour12||!1,o=n.hourCycle||(r?"h12":"h23");return{locale:n.locale,hour12:r,hourCycle:o}},computedLocale:function(){return this.resolvedOptions.locale},computedLang:function(){return(this.computedLocale||"").replace(/-u-.*$/,"")},computedRTL:function(){return Sa(this.computedLang)},computedHourCycle:function(){return this.resolvedOptions.hourCycle},is12Hour:function(){return!!this.resolvedOptions.hour12},context:function(){return{locale:this.computedLocale,isRTL:this.computedRTL,hourCycle:this.computedHourCycle,hour12:this.is12Hour,hours:this.modelHours,minutes:this.modelMinutes,seconds:this.showSeconds?this.modelSeconds:0,value:this.computedHMS,formatted:this.formattedTimeString}},valueId:function(){return this.safeId()||null},computedAriaLabelledby:function(){return[this.ariaLabelledby,this.valueId].filter(Xe).join(" ")||null},timeFormatter:function(){var t={hour12:this.is12Hour,hourCycle:this.computedHourCycle,hour:"numeric",minute:"numeric",timeZone:"UTC"};return this.showSeconds&&(t.second="numeric"),ca(this.computedLocale,t)},numberFormatter:function(){return new Intl.NumberFormat(this.computedLocale,{style:"decimal",minimumIntegerDigits:2,minimumFractionDigits:0,maximumFractionDigits:0,notation:"standard"}).format},formattedTimeString:function(){var t=this.modelHours,e=this.modelMinutes,n=this.showSeconds&&this.modelSeconds||0;return this.computedHMS?this.timeFormatter(aa(Date.UTC(0,0,1,t,e,n))):this.labelNoTimeSelected||" "},spinScopedSlots:function(){var t=this.$createElement;return{increment:function(e){var n=e.hasFocus;return t(bo,{props:{scale:n?1.5:1.25},attrs:{"aria-hidden":"true"}})},decrement:function(e){var n=e.hasFocus;return t(bo,{props:{flipV:!0,scale:n?1.5:1.25},attrs:{"aria-hidden":"true"}})}}}},watch:{value:function(t,e){if(t!==e&&!Ii(xd(t),xd(this.computedHMS))){var n=xd(t),r=n.hours,o=n.minutes,c=n.seconds,l=n.ampm;this.modelHours=r,this.modelMinutes=o,this.modelSeconds=c,this.modelAmpm=l}},computedHMS:function(t,e){t!==e&&this.$emit("input",t)},context:function(t,e){Ii(t,e)||this.$emit("context",t)},modelAmpm:function(t,e){var n=this;if(t!==e){var r=Gt(this.modelHours)?0:this.modelHours;this.$nextTick((function(){0===t&&r>11?n.modelHours=r-12:1===t&&r<12&&(n.modelHours=r+12)}))}},modelHours:function(t,e){t!==e&&(this.modelAmpm=t>11?1:0)}},created:function(){var t=this;this.$nextTick((function(){t.$emit("context",t.context)}))},mounted:function(){this.setLive(!0)},activated:function(){this.setLive(!0)},deactivated:function(){this.setLive(!1)},beforeDestroy:function(){this.setLive(!1)},methods:{focus:function(){this.disabled||Ar(this.$refs.spinners[0])},blur:function(){if(!this.disabled){var t=er();dr(this.$el,t)&&Tr(t)}},formatHours:function(t){var e=this.computedHourCycle;return t=0===(t=this.is12Hour&&t>12?t-12:t)&&"h12"===e?12:0===t&&"h24"===e?24:12===t&&"h11"===e?0:t,this.numberFormatter(t)},formatMinutes:function(t){return this.numberFormatter(t)},formatSeconds:function(t){return this.numberFormatter(t)},formatAmpm:function(t){return 0===t?this.labelAm:1===t?this.labelPm:""},setHours:function(t){this.modelHours=t},setMinutes:function(t){this.modelMinutes=t},setSeconds:function(t){this.modelSeconds=t},setAmpm:function(t){this.modelAmpm=t},onSpinLeftRight:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.type,n=t.keyCode;if(!this.disabled&&"keydown"===e&&(n===ki||n===Ei)){Gr(t);var r=this.$refs.spinners||[],o=r.map((function(t){return!!t.hasFocus})).indexOf(!0);o=(o+=n===ki?-1:1)>=r.length?0:o<0?r.length-1:o,Ar(r[o])}},setLive:function(t){var e=this;t?this.$nextTick((function(){Zn((function(){e.isLive=!0}))})):this.isLive=!1}},render:function(t){var e=this;if(this.hidden)return t();var n=this.valueId,r=this.computedAriaLabelledby,o=[],c=function(r,c,l){var d=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},f=e.safeId("_spinbutton_".concat(c,"_"))||null;return o.push(f),t(od,{key:c,ref:"spinners",refInFor:!0,class:l,props:_d({id:f,placeholder:"--",vertical:!0,required:!0,disabled:e.disabled,readonly:e.readonly,locale:e.computedLocale,labelIncrement:e.labelIncrement,labelDecrement:e.labelDecrement,wrap:!0,ariaControls:n,min:0},d),scopedSlots:e.spinScopedSlots,on:{change:r}})},l=function(){return t("div",{staticClass:"d-flex flex-column",class:{"text-muted":e.disabled||e.readonly},attrs:{"aria-hidden":"true"}},[t(go,{props:{shiftV:4,scale:.5}}),t(go,{props:{shiftV:-4,scale:.5}})])},d=[];d.push(c(this.setHours,"hours","b-time-hours",{value:this.modelHours,max:23,step:1,formatterFn:this.formatHours,ariaLabel:this.labelHours})),d.push(l()),d.push(c(this.setMinutes,"minutes","b-time-minutes",{value:this.modelMinutes,max:59,step:this.minutesStep||1,formatterFn:this.formatMinutes,ariaLabel:this.labelMinutes})),this.showSeconds&&(d.push(l()),d.push(c(this.setSeconds,"seconds","b-time-seconds",{value:this.modelSeconds,max:59,step:this.secondsStep||1,formatterFn:this.formatSeconds,ariaLabel:this.labelSeconds}))),this.is12Hour&&d.push(c(this.setAmpm,"ampm","b-time-ampm",{value:this.modelAmpm,max:1,formatterFn:this.formatAmpm,ariaLabel:this.labelAmpm,required:!1})),d=t("div",{staticClass:"d-flex align-items-center justify-content-center mx-auto",attrs:{role:"group",tabindex:this.disabled||this.readonly?null:"-1","aria-labelledby":r},on:{keydown:this.onSpinLeftRight,click:function(t){t.target===t.currentTarget&&e.focus()}}},d);var f=t("output",{staticClass:"form-control form-control-sm text-center",class:{disabled:this.disabled||this.readonly},attrs:{id:n,role:"status",for:o.filter(Xe).join(" ")||null,tabindex:this.disabled?null:"-1","aria-live":this.isLive?"polite":"off","aria-atomic":"true"},on:{click:this.focus,focus:this.focus}},[t("bdi",this.formattedTimeString),this.computedHMS?t("span",{staticClass:"sr-only"}," (".concat(this.labelSelected,") ")):""]),h=t("header",{staticClass:"b-time-header",class:{"sr-only":this.hideHeader}},[f]),m=this.normalizeSlot();return m=m?t("footer",{staticClass:"b-time-footer"},m):t(),t("div",{staticClass:"b-time d-inline-flex flex-column text-center",attrs:{role:"group",lang:this.computedLang||null,"aria-labelledby":r||null,"aria-disabled":this.disabled?"true":null,"aria-readonly":this.readonly&&!this.disabled?"true":null}},[h,d,m])}});function Ed(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function Md(t){for(var i=1;i0&&l.push(t("span"," "));var d=this.labelResetButton;l.push(t(Qi,{key:"reset-btn",props:{size:"sm",disabled:n||r,variant:this.resetButtonVariant},attrs:{"aria-label":d||null},on:{click:this.onResetButton}},d))}if(!this.noCloseButton){l.length>0&&l.push(t("span"," "));var f=this.labelCloseButton;l.push(t(Qi,{key:"close-btn",props:{size:"sm",disabled:n,variant:this.closeButtonVariant},attrs:{"aria-label":f||null},on:{click:this.onCloseButton}},f))}l.length>0&&(l=[t("div",{staticClass:"b-form-date-controls d-flex flex-wrap",class:{"justify-content-between":l.length>1,"justify-content-end":l.length<2}},l)]);var h=t(kd,{ref:"time",staticClass:"b-form-time-control",props:Md(Md({},fi(Od,o)),{},{value:e,hidden:!this.isVisible}),on:{input:this.onInput,context:this.onContext}},l);return t(Vc,{ref:"control",staticClass:"b-form-timepicker",props:Md(Md({},fi(qc,o)),{},{id:this.safeId(),value:e,formattedValue:e?this.formattedValue:"",placeholder:c,rtl:this.isRTL,lang:this.computedLang}),on:{show:this.onShow,shown:this.onShown,hidden:this.onHidden},scopedSlots:{"button-content":this.$scopedSlots["button-content"]||this.defaultButtonFn}},[h])}}),jd=dn({components:{BFormTimepicker:Cd,BTimepicker:Cd}}),Id=dn({components:{BImg:as,BImgLazy:ls}}),Ad=Mn({tag:{type:String,default:"div"}},"BInputGroupText"),Td=kt.extend({name:"BInputGroupText",functional:!0,props:Ad,render:function(t,e){var n=e.props,data=e.data,r=e.children;return t(n.tag,Ot(data,{staticClass:"input-group-text"}),r)}});function Pd(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function Rd(t){for(var i=1;i0&&!e[0].text?e[0]:t()}}),yf=kt.extend({name:"BTransporterSingle",mixins:[zr],props:{disabled:{type:Boolean,default:!1},container:{type:[String,Ft],default:"body"},tag:{type:String,default:"div"}},watch:{disabled:{immediate:!0,handler:function(t){t?this.unmountTarget():this.$nextTick(this.mountTarget)}}},created:function(){this.$_defaultFn=null,this.$_target=null},beforeMount:function(){this.mountTarget()},updated:function(){this.updateTarget()},beforeDestroy:function(){this.unmountTarget(),this.$_defaultFn=null},methods:{getContainer:function(){if(Lt.j){var t=this.container;return Xt(t)?ur(t):t}return null},mountTarget:function(){if(!this.$_target){var t=this.getContainer();if(t){var e=document.createElement("div");t.appendChild(e),this.$_target=new vf({el:e,parent:this,propsData:{nodes:In(this.normalizeSlot())}})}}},updateTarget:function(){if(Lt.j&&this.$_target){var t=this.$scopedSlots.default;this.disabled||(t&&this.$_defaultFn!==t?this.$_target.updatedNodes=t:t||(this.$_target.updatedNodes=this.$slots.default)),this.$_defaultFn=t}},unmountTarget:function(){this.$_target&&this.$_target.$destroy(),this.$_target=null}},render:function(t){if(this.disabled){var e=In(this.normalizeSlot()).filter(Xe);if(e.length>0&&!e[0].text)return e[0]}return t()}}),wf={created:function(){var t=this;Lt.j&&(this.$_bv_documentHandlers_={},this.$once("hook:beforeDestroy",(function(){var e=t.$_bv_documentHandlers_||{};delete t.$_bv_documentHandlers_,fe(e).forEach((function(t){(e[t]||[]).forEach((function(e){return Vr(document,t,e,_s)}))}))})))},methods:{listenDocument:function(t,e,n){t?this.listenOnDocument(e,n):this.listenOffDocument(e,n)},listenOnDocument:function(t,e){this.$_bv_documentHandlers_&&Xt(t)&&Wt(e)&&(this.$_bv_documentHandlers_[t]=this.$_bv_documentHandlers_[t]||[],jn(this.$_bv_documentHandlers_[t],e)||(this.$_bv_documentHandlers_[t].push(e),qr(document,t,e,_s)))},listenOffDocument:function(t,e){this.$_bv_documentHandlers_&&Xt(t)&&Wt(e)&&(Vr(document,t,e,_s),this.$_bv_documentHandlers_[t]=(this.$_bv_documentHandlers_[t]||[]).filter((function(t){return t!==e})))}}},_f={beforeCreate:function(){this.$_bv_windowHandlers_={}},beforeDestroy:function(){if(Lt.j){var t=this.$_bv_windowHandlers_;delete this.$_bv_windowHandlers_,fe(t).forEach((function(e){(t[e]||[]).forEach((function(t){return Vr(window,e,t,_s)}))}))}},methods:{listenWindow:function(t,e,n){t?this.listenOnWindow(e,n):this.listenOffWindow(e,n)},listenOnWindow:function(t,e){Lt.j&&this.$_bv_windowHandlers_&&Xt(t)&&Wt(e)&&(this.$_bv_windowHandlers_[t]=this.$_bv_windowHandlers_[t]||[],jn(this.$_bv_windowHandlers_[t],e)||(this.$_bv_windowHandlers_[t].push(e),qr(window,t,e,_s)))},listenOffWindow:function(t,e){Lt.j&&this.$_bv_windowHandlers_&&Xt(t)&&Wt(e)&&(Vr(window,t,e,_s),this.$_bv_windowHandlers_[t]=(this.$_bv_windowHandlers_[t]||[]).filter((function(t){return t!==e})))}}},Sf=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return t&&t.$options._scopeId||e},xf={computed:{scopedStyleAttrs:function(){var t=Sf(this.$parent);return t?Object(o.a)({},t,""):{}}}},Of=(n(757),".fixed-top, .fixed-bottom, .is-fixed, .sticky-top"),kf=".sticky-top",Ef=".navbar-toggler",Mf=new(kt.extend({data:function(){return{modals:[],baseZIndex:null,scrollbarWidth:null,isBodyOverflowing:!1}},computed:{modalCount:function(){return this.modals.length},modalsAreOpen:function(){return this.modalCount>0}},watch:{modalCount:function(t,e){Lt.j&&(this.getScrollbarWidth(),t>0&&0===e?(this.checkScrollbar(),this.setScrollbar(),pr(document.body,"modal-open")):0===t&&e>0&&(this.resetScrollbar(),mr(document.body,"modal-open")),vr(document.body,"data-modal-open-count",String(t)))},modals:function(t){var e=this;this.checkScrollbar(),Zn((function(){e.updateModals(t||[])}))}},methods:{registerModal:function(t){var e=this;t&&-1===this.modals.indexOf(t)&&(this.modals.push(t),t.$once("hook:beforeDestroy",(function(){e.unregisterModal(t)})))},unregisterModal:function(t){var e=this.modals.indexOf(t);e>-1&&(this.modals.splice(e,1),t._isBeingDestroyed||t._isDestroyed||this.resetModal(t))},getBaseZIndex:function(){if(Gt(this.baseZIndex)&&Lt.j){var div=document.createElement("div");pr(div,"modal-backdrop"),pr(div,"d-none"),Sr(div,"display","none"),document.body.appendChild(div),this.baseZIndex=Rn(Er(div).zIndex,1040),document.body.removeChild(div)}return this.baseZIndex||1040},getScrollbarWidth:function(){if(Gt(this.scrollbarWidth)&&Lt.j){var div=document.createElement("div");pr(div,"modal-scrollbar-measure"),document.body.appendChild(div),this.scrollbarWidth=kr(div).width-div.clientWidth,document.body.removeChild(div)}return this.scrollbarWidth||0},updateModals:function(t){var e=this,n=this.getBaseZIndex(),r=this.getScrollbarWidth();t.forEach((function(t,o){t.zIndex=n+o,t.scrollbarWidth=r,t.isTop=o===e.modals.length-1,t.isBodyOverflowing=e.isBodyOverflowing}))},resetModal:function(t){t&&(t.zIndex=this.getBaseZIndex(),t.isTop=!0,t.isBodyOverflowing=!1)},checkScrollbar:function(){var t=kr(document.body),e=t.left,n=t.right;this.isBodyOverflowing=e+n1&&void 0!==arguments[1]?arguments[1]:{};return Object(Et.a)(this,n),r=e.call(this,t,o),ce(Object(Cf.a)(r),{trigger:{enumerable:!0,configurable:!1,writable:!1}}),r}return Object(Mt.a)(n,null,[{key:"Defaults",get:function(){return Af(Af({},Object(jf.a)(Object(Rt.a)(n),"Defaults",this)),{},{trigger:null})}}]),n}(ru);function Rf(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function Df(t){for(var i=1;i0&&void 0!==arguments[0]&&arguments[0];this.$_observer&&this.$_observer.disconnect(),this.$_observer=null,t&&(this.$_observer=Os(this.$refs.content,this.checkModalOverflow.bind(this),Lf))},updateModel:function(t){t!==this.visible&&this.$emit("change",t)},buildEvent:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Pf(t,Df(Df({cancelable:!1,target:this.$refs.modal||this.$el||null,relatedTarget:null,trigger:null},e),{},{vueTarget:this,componentId:this.modalId}))},show:function(){if(!this.isVisible&&!this.isOpening)if(this.isClosing)this.$once("hidden",this.show);else{this.isOpening=!0,this.return_focus=this.return_focus||this.getActiveElement();var t=this.buildEvent("show",{cancelable:!0});if(this.emitEvent(t),t.defaultPrevented||this.isVisible)return this.isOpening=!1,void this.updateModel(!1);this.doShow()}},hide:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(this.isVisible&&!this.isClosing){this.isClosing=!0;var e=this.buildEvent("hide",{cancelable:"FORCE"!==t,trigger:t||null});if("ok"===t?this.$emit("ok",e):"cancel"===t?this.$emit("cancel",e):"headerclose"===t&&this.$emit("close",e),this.emitEvent(e),e.defaultPrevented||!this.isVisible)return this.isClosing=!1,void this.updateModel(!0);this.setObserver(!1),this.isVisible=!1,this.updateModel(!1)}},toggle:function(t){t&&(this.return_focus=t),this.isVisible?this.hide("toggle"):this.show()},getActiveElement:function(){var t=er(Lt.j?[document.body]:[]);return t&&t.focus?t:null},doShow:function(){var t=this;Mf.modalsAreOpen&&this.noStacking?this.listenOnRootOnce("bv::modal::hidden",this.doShow):(Mf.registerModal(this),this.isHidden=!1,this.$nextTick((function(){t.isVisible=!0,t.isOpening=!1,t.updateModel(!0),t.$nextTick((function(){t.setObserver(!0)}))})))},onBeforeEnter:function(){this.isTransitioning=!0,this.setResizeEvent(!0)},onEnter:function(){var t=this;this.isBlock=!0,Zn((function(){Zn((function(){t.isShow=!0}))}))},onAfterEnter:function(){var t=this;this.checkModalOverflow(),this.isTransitioning=!1,Zn((function(){t.emitEvent(t.buildEvent("shown")),t.setEnforceFocus(!0),t.$nextTick((function(){t.focusFirst()}))}))},onBeforeLeave:function(){this.isTransitioning=!0,this.setResizeEvent(!1),this.setEnforceFocus(!1)},onLeave:function(){this.isShow=!1},onAfterLeave:function(){var t=this;this.isBlock=!1,this.isTransitioning=!1,this.isModalOverflowing=!1,this.isHidden=!0,this.$nextTick((function(){t.isClosing=!1,Mf.unregisterModal(t),t.returnFocusTo(),t.emitEvent(t.buildEvent("hidden"))}))},emitEvent:function(t){var e=t.type;this.emitOnRoot("bv::modal::".concat(e),t,t.componentId),this.$emit(e,t)},onDialogMousedown:function(){var t=this,e=this.$refs.modal;qr(e,"mouseup",(function n(r){Vr(e,"mouseup",n,_s),r.target===e&&(t.ignoreBackdropClick=!0)}),_s)},onClickOut:function(t){this.ignoreBackdropClick?this.ignoreBackdropClick=!1:this.isVisible&&!this.noCloseOnBackdrop&&dr(document.body,t.target)&&(dr(this.$refs.content,t.target)||this.hide("backdrop"))},onOk:function(){this.hide("ok")},onCancel:function(){this.hide("cancel")},onClose:function(){this.hide("headerclose")},onEsc:function(t){27===t.keyCode&&this.isVisible&&!this.noCloseOnEsc&&this.hide("esc")},focusHandler:function(t){var content=this.$refs.content,e=t.target;if(!(this.noEnforceFocus||!this.isTop||!this.isVisible||!content||document===e||dr(content,e)||this.computeIgnoreEnforceFocusSelector&&lr(this.computeIgnoreEnforceFocusSelector,e,!0))){var n=Ir(this.$refs.content),r=this.$refs,o=r.bottomTrap,c=r.topTrap;if(o&&e===o){if(Ar(n[0]))return}else if(c&&e===c&&Ar(n[n.length-1]))return;Ar(content,{preventScroll:!0})}},setEnforceFocus:function(t){this.listenDocument(t,"focusin",this.focusHandler)},setResizeEvent:function(t){this.listenWindow(t,"resize",this.checkModalOverflow),this.listenWindow(t,"orientationchange",this.checkModalOverflow)},showHandler:function(t,e){t===this.modalId&&(this.return_focus=e||this.getActiveElement(),this.show())},hideHandler:function(t){t===this.modalId&&this.hide("event")},toggleHandler:function(t,e){t===this.modalId&&this.toggle(e)},modalListener:function(t){this.noStacking&&t.vueTarget!==this&&this.hide()},focusFirst:function(){var t=this;Lt.j&&Zn((function(){var e=t.$refs.modal,content=t.$refs.content,n=t.getActiveElement();if(e&&content&&(!n||!dr(content,n))){var r=t.$refs["ok-button"],o=t.$refs["cancel-button"],c=t.$refs["close-button"],l=t.autoFocusButton,d="ok"===l&&r?r.$el||r:"cancel"===l&&o?o.$el||o:"close"===l&&c?c.$el||c:content;Ar(d),d===content&&t.$nextTick((function(){e.scrollTop=0}))}}))},returnFocusTo:function(){var t=this.returnFocus||this.return_focus||null;this.return_focus=null,this.$nextTick((function(){(t=Xt(t)?ur(t):t)&&(t=t.$el||t,Ar(t))}))},checkModalOverflow:function(){if(this.isVisible){var t=this.$refs.modal;this.isModalOverflowing=t.scrollHeight>document.documentElement.clientHeight}},makeModal:function(t){var e=t();if(!this.hideHeader){var n=this.normalizeSlot("modal-header",this.slotScope);if(!n){var r=t();this.hideHeaderClose||(r=t(Wr,{props:{content:this.headerCloseContent,disabled:this.isTransitioning,ariaLabel:this.headerCloseLabel,textVariant:this.headerCloseVariant||this.headerTextVariant},on:{click:this.onClose},ref:"close-button"},[this.normalizeSlot("modal-header-close")])),n=[t(this.titleTag,{staticClass:"modal-title",class:this.titleClasses,attrs:{id:this.modalTitleId},domProps:this.hasNormalizedSlot("modal-title")?{}:$o(this.titleHtml,this.title)},this.normalizeSlot("modal-title",this.slotScope)),r]}e=t("header",{staticClass:"modal-header",class:this.headerClasses,attrs:{id:this.modalHeaderId},ref:"header"},[n])}var o=t("div",{staticClass:"modal-body",class:this.bodyClasses,attrs:{id:this.modalBodyId},ref:"body"},this.normalizeSlot("default",this.slotScope)),c=t();if(!this.hideFooter){var l=this.normalizeSlot("modal-footer",this.slotScope);if(!l){var d=t();this.okOnly||(d=t(Qi,{props:{variant:this.cancelVariant,size:this.buttonSize,disabled:this.cancelDisabled||this.busy||this.isTransitioning},domProps:this.hasNormalizedSlot("modal-cancel")?{}:$o(this.cancelTitleHtml,this.cancelTitle),on:{click:this.onCancel},ref:"cancel-button"},this.normalizeSlot("modal-cancel"))),l=[d,t(Qi,{props:{variant:this.okVariant,size:this.buttonSize,disabled:this.okDisabled||this.busy||this.isTransitioning},domProps:this.hasNormalizedSlot("modal-ok")?{}:$o(this.okTitleHtml,this.okTitle),on:{click:this.onOk},ref:"ok-button"},this.normalizeSlot("modal-ok"))]}c=t("footer",{staticClass:"modal-footer",class:this.footerClasses,attrs:{id:this.modalFooterId},ref:"footer"},[l])}var f=t("div",{staticClass:"modal-content",class:this.contentClass,attrs:{id:this.modalContentId,tabindex:"-1"},ref:"content"},[e,o,c]),h=t(),m=t();this.isVisible&&!this.noEnforceFocus&&(h=t("span",{ref:"topTrap",attrs:{tabindex:"0"}}),m=t("span",{ref:"bottomTrap",attrs:{tabindex:"0"}}));var v=t("div",{staticClass:"modal-dialog",class:this.dialogClasses,on:{mousedown:this.onDialogMousedown},ref:"dialog"},[h,f,m]),y=t("div",{staticClass:"modal",class:this.modalClasses,style:this.modalStyles,attrs:this.computedModalAttrs,on:{keydown:this.onEsc,click:this.onClickOut},directives:[{name:"show",value:this.isVisible}],ref:"modal"},[v]);y=t("transition",{props:{enterClass:"",enterToClass:"",enterActiveClass:"",leaveClass:"",leaveActiveClass:"",leaveToClass:""},on:{beforeEnter:this.onBeforeEnter,enter:this.onEnter,afterEnter:this.onAfterEnter,beforeLeave:this.onBeforeLeave,leave:this.onLeave,afterLeave:this.onAfterLeave}},[y]);var w=t();return!this.hideBackdrop&&this.isVisible&&(w=t("div",{staticClass:"modal-backdrop",attrs:{id:this.modalBackdropId}},this.normalizeSlot("modal-backdrop"))),w=t(Br,{props:{noFade:this.noFade}},[w]),t("div",{style:this.modalOuterStyle,attrs:this.computedAttrs,key:"modal-outer-".concat(this._uid)},[y,w])}},render:function(t){return this.static?this.lazy&&this.isHidden?t():this.makeModal(t):this.isHidden?t():t(yf,[this.makeModal(t)])}}),Uf="__bv_modal_directive__",Ff=function(t){var e=t.modifiers,n=void 0===e?{}:e,r=t.arg,o=t.value;return Xt(o)?o:Xt(r)?r:fe(n).reverse()[0]},zf=function(t){return t&&cr(t,".dropdown-menu > li, li.nav-item")&&ur("a, button",t)||t},$f=function(t){t&&"BUTTON"!==t.tagName&&(_r(t,"role")||vr(t,"role","button"),"A"===t.tagName||_r(t,"tabindex")||vr(t,"tabindex","0"))},qf=function(t){var e=t[Uf]||{},n=e.trigger,r=e.handler;n&&r&&(Vr(n,"click",r,ws),Vr(n,"keydown",r,ws),Vr(t,"click",r,ws),Vr(t,"keydown",r,ws)),delete t[Uf]},Vf=function(t,e,n){var r=t[Uf]||{},o=Ff(e),c=zf(t);o===r.target&&c===r.trigger||(qf(t),function(t,e,n){var r=Ff(e),o=zf(t);if(r&&o){var c=function(t){var e=t.currentTarget;if(!or(e)){var o=t.type,c=t.keyCode;"click"!==o&&("keydown"!==o||c!==xi&&c!==Mi)||n.context.$root.$emit("bv::show::modal",r,e)}};t[Uf]={handler:c,target:r,trigger:o},$f(o),qr(o,"click",c,ws),"BUTTON"!==o.tagName&&"button"===wr(o,"role")&&qr(o,"keydown",c,ws)}}(t,e,n)),$f(c)},Hf={inserted:Vf,updated:function(){},componentUpdated:Vf,unbind:qf};function Gf(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function Kf(t){for(var i=1;i2&&void 0!==arguments[2]?arguments[2]:Yf;if(!tn("$bvModal")&&!en("$bvModal")){var o=new e({parent:t,propsData:Kf(Kf(Kf({},Zf(Sn("BModal"))),{},{hideHeaderClose:!0,hideHeader:!(n.title||n.titleHtml)},be(n,fe(Xf))),{},{lazy:!1,busy:!1,visible:!1,noStacking:!1,noEnforceFocus:!1})});return fe(Xf).forEach((function(t){Ht(n[t])||(o.$slots[Xf[t]]=In(n[t]))})),new Promise((function(t,e){var n=!1;o.$once("hook:destroyed",(function(){n||e(new Error("BootstrapVue MsgBox destroyed before resolve"))})),o.$on("hide",(function(e){if(!e.defaultPrevented){var o=r(e);e.defaultPrevented||(n=!0,t(o))}}));var div=document.createElement("div");document.body.appendChild(div),o.$mount(div)}))}},r=function(t,content){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;if(content&&!en("$bvModal")&&!tn("$bvModal")&&Wt(r))return n(t,Kf(Kf({},Zf(e)),{},{msgBoxContent:content}),r)},o=function(){function t(e){Object(Et.a)(this,t),se(this,{_vm:e,_root:e.$root}),ce(this,{_vm:{enumerable:!0,configurable:!1,writable:!1},_root:{enumerable:!0,configurable:!1,writable:!1}})}return Object(Mt.a)(t,[{key:"show",value:function(t){if(t&&this._root){for(var e,n=arguments.length,r=new Array(n>1?n-1:0),o=1;o1?n-1:0),o=1;o1&&void 0!==arguments[1]?arguments[1]:{},n=Kf(Kf({},e),{},{okOnly:!0,okDisabled:!1,hideFooter:!1,msgBoxContent:t});return r(this._vm,t,n,(function(){return!0}))}},{key:"msgBoxConfirm",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Kf(Kf({},e),{},{okOnly:!1,okDisabled:!1,cancelDisabled:!1,hideFooter:!1});return r(this._vm,t,n,(function(t){var e=t.trigger;return"ok"===e||"cancel"!==e&&null}))}}]),t}();t.mixin({beforeCreate:function(){this._bv__modal=new o(this)}}),he(t.prototype,"$bvModal")||le(t.prototype,"$bvModal",{get:function(){return this&&this._bv__modal||Qe('"'.concat("$bvModal",'" must be accessed from a Vue instance "this" context.'),"BModal"),this._bv__modal}})}}})}}),Qf=(n(286),Mn({tag:{type:String,default:"ul"},fill:{type:Boolean,default:!1},justified:{type:Boolean,default:!1},align:{type:String},tabs:{type:Boolean,default:!1},pills:{type:Boolean,default:!1},vertical:{type:Boolean,default:!1},small:{type:Boolean,default:!1},cardHeader:{type:Boolean,default:!1}},"BNav")),eh=kt.extend({name:"BNav",functional:!0,props:Qf,render:function(t,e){var n,r,c=e.props,data=e.data,l=e.children;return t(c.tag,Ot(data,{staticClass:"nav",class:(n={"nav-tabs":c.tabs,"nav-pills":c.pills&&!c.tabs,"card-header-tabs":!c.vertical&&c.cardHeader&&c.tabs,"card-header-pills":!c.vertical&&c.cardHeader&&c.pills&&!c.tabs,"flex-column":c.vertical,"nav-fill":!c.vertical&&c.fill,"nav-justified":!c.vertical&&c.justified},Object(o.a)(n,(r=c.align,"justify-content-".concat(r="left"===r?"start":"right"===r?"end":r)),!c.vertical&&c.align),Object(o.a)(n,"small",c.small),n)}),l)}});function nh(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function rh(t){for(var i=1;i=0&&e<=1}},blur:{type:String,default:"2px"},rounded:{type:[Boolean,String],default:!1},noCenter:{type:Boolean,default:!1},noFade:{type:Boolean,default:!1},spinnerType:{type:String,default:"border"},spinnerVariant:{type:String},spinnerSmall:{type:Boolean,default:!1},overlayTag:{type:String,default:"div"},wrapTag:{type:String,default:"div"},noWrap:{type:Boolean,default:!1},fixed:{type:Boolean,default:!1},zIndex:{type:[Number,String],default:10}},"BOverlay"),computed:{computedRounded:function(){var t=this.rounded;return!0===t||""===t?"rounded":t?"rounded-".concat(t):""},computedVariant:function(){return this.variant&&!this.bgColor?"bg-".concat(this.variant):""},overlayScope:function(){return{spinnerType:this.spinnerType||null,spinnerVariant:this.spinnerVariant||null,spinnerSmall:this.spinnerSmall}}},methods:{defaultOverlayFn:function(t){var e=t.spinnerType,n=t.spinnerVariant,r=t.spinnerSmall;return this.$createElement(Oh,{props:{type:e,variant:n,small:r}})}},render:function(t){var e=this,n=t();if(this.show){var r=this.overlayScope,o=t("div",{staticClass:"position-absolute",class:[this.computedVariant,this.computedRounded],style:Eh(Eh({},Mh),{},{opacity:this.opacity,backgroundColor:this.bgColor||null,backdropFilter:this.blur?"blur(".concat(this.blur,")"):null})}),c=t("div",{staticClass:"position-absolute",style:this.noCenter?Eh({},Mh):{top:"50%",left:"50%",transform:"translateX(-50%) translateY(-50%)"}},[this.normalizeSlot("overlay",r)||this.defaultOverlayFn(r)]);n=t(this.overlayTag,{key:"overlay",staticClass:"b-overlay",class:{"position-absolute":!this.noWrap||this.noWrap&&!this.fixed,"position-fixed":this.noWrap&&this.fixed},style:Eh(Eh({},Mh),{},{zIndex:this.zIndex||10}),on:{click:function(t){return e.$emit("click",t)}}},[o,c])}return n=t(Nr,{props:{noFade:this.noFade,appear:!0},on:{"after-enter":function(){return e.$emit("shown")},"after-leave":function(){return e.$emit("hidden")}}},[n]),this.noWrap?n:t(this.wrapTag,{staticClass:"b-overlay-wrap position-relative",attrs:{"aria-busy":this.show?"true":null}},this.noWrap?[n]:[this.normalizeSlot(),n])}})}}),jh=function(t){return Array.apply(null,{length:t})},Ih=function(t){var e=Rn(t)||1;return e<1?5:e},Ah=function(t,e){var n=Rn(t)||1;return n>e?e:n<1?1:n},Th=function(t){if(t.keyCode===Mi)return Gr(t,{immediatePropagation:!0}),t.currentTarget.click(),!1},Ph=Mn({disabled:{type:Boolean,default:!1},value:{type:[Number,String],default:null,validator:function(t){return!(!Gt(t)&&Rn(t,0)<1)||(Qe('"v-model" value must be a number greater than "0"',"BPagination"),!1)}},limit:{type:[Number,String],default:5,validator:function(t){return!(Rn(t,0)<1)||(Qe('Prop "limit" must be a number greater than "0"',"BPagination"),!1)}},align:{type:String,default:"left"},pills:{type:Boolean,default:!1},hideGotoEndButtons:{type:Boolean,default:!1},ariaLabel:{type:String,default:"Pagination"},labelFirstPage:{type:String,default:"Go to first page"},firstText:{type:String,default:"«"},firstNumber:{type:Boolean,default:!1},firstClass:{type:[String,Array,Object],default:null},labelPrevPage:{type:String,default:"Go to previous page"},prevText:{type:String,default:"‹"},prevClass:{type:[String,Array,Object],default:null},labelNextPage:{type:String,default:"Go to next page"},nextText:{type:String,default:"›"},nextClass:{type:[String,Array,Object]},labelLastPage:{type:String,default:"Go to last page"},lastText:{type:String,default:"»"},lastNumber:{type:Boolean,default:!1},lastClass:{type:[String,Array,Object]},labelPage:{type:[String,Function],default:"Go to page"},pageClass:{type:[String,Array,Object]},hideEllipsis:{type:Boolean,default:!1},ellipsisText:{type:String,default:"…"},ellipsisClass:{type:[String,Array,Object]}},"BPagination"),Rh={mixins:[zr],model:{prop:"value",event:"input"},props:Ph,data:function(){var t=Rn(this.value,0);return{currentPage:t=t>0?t:-1,localNumberOfPages:1,localLimit:5}},computed:{btnSize:function(){return this.size?"pagination-".concat(this.size):""},alignment:function(){var t=this.align;return"center"===t?"justify-content-center":"end"===t||"right"===t?"justify-content-end":"fill"===t?"text-center":""},styleClass:function(){return this.pills?"b-pagination-pills":""},computedCurrentPage:function(){return Ah(this.currentPage,this.localNumberOfPages)},paginationParams:function(){var t=this.localLimit,e=this.localNumberOfPages,n=this.computedCurrentPage,r=this.hideEllipsis,o=this.firstNumber,c=this.lastNumber,l=!1,d=!1,f=t,h=1;e<=t?f=e:n3?(r&&!c||(d=!0,f=t-(o?0:1)),f=Jr(f,t)):e-n+23?(r&&!o||(l=!0,f=t-(c?0:1)),h=e-f+1):(t>3&&(f=t-(r?0:2),l=!(r&&!o),d=!(r&&!c)),h=n-ni(f/2)),h<1?(h=1,l=!1):h>e-f&&(h=e-f+1,d=!1),l&&o&&h<4&&(f+=2,h=1,l=!1);var m=h+f-1;return d&&c&&m>e-3&&(f+=m===e-2?2:3,d=!1),t<=3&&(o&&1===h?f=Jr(f+1,e,t+1):c&&e===h+f-1&&(h=Qr(h-1,1),f=Jr(e-h+1,e,t+1))),{showFirstDots:l,showLastDots:d,numberOfLinks:f=Jr(f,e-h+1),startNumber:h}},pageList:function(){var t=this.paginationParams,e=t.numberOfLinks,n=t.startNumber,r=this.computedCurrentPage,o=function(t,e){return jh(e).map((function(e,i){return{number:t+i,classes:null}}))}(n,e);if(o.length>3){var c=r-n,l="bv-d-xs-down-none";if(0===c)for(var i=3;ic+1;h--)o[h].classes=l}}return o}},watch:{value:function(t,e){t!==e&&(this.currentPage=Ah(t,this.localNumberOfPages))},currentPage:function(t,e){t!==e&&this.$emit("input",t>0?t:null)},limit:function(t,e){t!==e&&(this.localLimit=Ih(t))}},created:function(){var t=this;this.localLimit=Ih(this.limit),this.$nextTick((function(){t.currentPage=t.currentPage>t.localNumberOfPages?t.localNumberOfPages:t.currentPage}))},methods:{handleKeyNav:function(t){var e=t.keyCode,n=t.shiftKey;this.isNav||(e===ki||e===Ci?(Gr(t,{propagation:!1}),n?this.focusFirst():this.focusPrev()):e!==Ei&&e!==_i||(Gr(t,{propagation:!1}),n?this.focusLast():this.focusNext()))},getButtons:function(){return sr("button.page-link, a.page-link",this.$el).filter((function(t){return ir(t)}))},focusCurrent:function(){var t=this;this.$nextTick((function(){var e=t.getButtons().find((function(e){return Rn(wr(e,"aria-posinset"),0)===t.computedCurrentPage}));Ar(e)||t.focusFirst()}))},focusFirst:function(){var t=this;this.$nextTick((function(){var e=t.getButtons().find((function(t){return!or(t)}));Ar(e)}))},focusLast:function(){var t=this;this.$nextTick((function(){var e=t.getButtons().reverse().find((function(t){return!or(t)}));Ar(e)}))},focusPrev:function(){var t=this;this.$nextTick((function(){var e=t.getButtons(),n=e.indexOf(er());n>0&&!or(e[n-1])&&Ar(e[n-1])}))},focusNext:function(){var t=this;this.$nextTick((function(){var e=t.getButtons(),n=e.indexOf(er());nr,x=n<1?1:n>r?r:n,O={disabled:S,page:x,index:x-1},k=e.normalizeSlot(l,O)||$n(d)||t(),E=t(S?"span":v?zi:"button",{staticClass:"page-link",class:{"flex-grow-1":!v&&!S&&m},props:S||!v?{}:e.linkProps(n),attrs:{role:v?null:"menuitem",type:v||S?null:"button",tabindex:S||v?null:"-1","aria-label":o,"aria-controls":e.ariaControls||null,"aria-disabled":S?"true":null},on:S?{}:{"!click":function(t){e.onClick(t,n)},keydown:Th}},[k]);return t("li",{key:_,staticClass:"page-item",class:[{disabled:S,"flex-fill":m,"d-flex":m&&!v&&!S},f],attrs:{role:v?null:"presentation","aria-hidden":S?"true":null}},[E])},S=function(n){return t("li",{key:"ellipsis-".concat(n?"last":"first"),staticClass:"page-item",class:["disabled","bv-d-xs-down-none",m?"flex-fill":"",e.ellipsisClass],attrs:{role:"separator"}},[t("span",{staticClass:"page-link"},[e.normalizeSlot("ellipsis-text")||$n(e.ellipsisText)||t()])])},x=function(n,o){var l=y(n.number)&&!w,d=c?null:l||w&&0===o?"0":"-1",f={role:v?null:"menuitemradio",type:v||c?null:"button","aria-disabled":c?"true":null,"aria-controls":e.ariaControls||null,"aria-label":Wt(e.labelPage)&&!Ht(e.labelPage(n.number))?e.labelPage(n.number):"".concat(e.labelPage," ").concat(n.number),"aria-checked":v?null:l?"true":"false","aria-current":v&&l?"page":null,"aria-posinset":v?null:n.number,"aria-setsize":v?null:r,tabindex:v?null:d},h=$n(e.makePage(n.number)),_={page:n.number,index:n.number-1,content:h,active:l,disabled:c},S=t(c?"span":v?zi:"button",{props:c||!v?{}:e.linkProps(n.number),staticClass:"page-link",class:{"flex-grow-1":!v&&!c&&m},attrs:f,on:c?{}:{"!click":function(t){e.onClick(t,n.number)},keydown:Th}},[e.normalizeSlot("page",_)||h]);return t("li",{key:"page-".concat(n.number),staticClass:"page-item",class:[{disabled:c,active:l,"flex-fill":m,"d-flex":m&&!v&&!c},n.classes,e.pageClass],attrs:{role:v?null:"presentation"}},[S])},O=t();this.firstNumber||this.hideGotoEndButtons||(O=_(1,this.labelFirstPage,"first-text",this.firstText,this.firstClass,1,"pagination-goto-first")),n.push(O),n.push(_(h-1,this.labelPrevPage,"prev-text",this.prevText,this.prevClass,1,"pagination-goto-prev")),n.push(this.firstNumber&&1!==o[0]?x({number:1},0):t()),n.push(d?S(!1):t()),this.pageList.forEach((function(t,r){var c=d&&e.firstNumber&&1!==o[0]?1:0;n.push(x(t,r+c))})),n.push(f?S(!0):t()),n.push(this.lastNumber&&o[o.length-1]!==r?x({number:r},-1):t()),n.push(_(h+1,this.labelNextPage,"next-text",this.nextText,this.nextClass,r,"pagination-goto-next"));var k=t();this.lastNumber||this.hideGotoEndButtons||(k=_(r,this.labelLastPage,"last-text",this.lastText,this.lastClass,r,"pagination-goto-last")),n.push(k);var E=t("ul",{ref:"ul",staticClass:"pagination",class:["b-pagination",this.btnSize,this.alignment,this.styleClass],attrs:{role:v?null:"menubar","aria-disabled":c?"true":"false","aria-label":v?null:this.ariaLabel||null},on:v?{}:{keydown:this.handleKeyNav}},n);return v?t("nav",{attrs:{"aria-disabled":c?"true":null,"aria-hidden":c?"true":"false","aria-label":v&&this.ariaLabel||null}},[E]):E}},Dh=function(t){return Qr(Rn(t)||20,1)},Lh=function(t){return Qr(Rn(t)||0,0)},Nh=dn({components:{BPagination:kt.extend({name:"BPagination",mixins:[Rh],props:Mn({size:{type:String},perPage:{type:[Number,String],default:20},totalRows:{type:[Number,String],default:0},ariaControls:{type:String}},"BPagination"),computed:{numberOfPages:function(){var t=ei(Lh(this.totalRows)/Dh(this.perPage));return t<1?1:t},pageSizeNumberOfPages:function(){return{perPage:Dh(this.perPage),totalRows:Lh(this.totalRows),numberOfPages:this.numberOfPages}}},watch:{pageSizeNumberOfPages:function(t,e){Kt(e)||(t.perPage!==e.perPage&&t.totalRows===e.totalRows||t.numberOfPages!==e.numberOfPages&&this.currentPage>t.numberOfPages)&&(this.currentPage=1),this.localNumberOfPages=t.numberOfPages}},created:function(){var t=this;this.localNumberOfPages=this.numberOfPages;var e=Rn(this.value,0);e>0?this.currentPage=e:this.$nextTick((function(){t.currentPage=0}))},mounted:function(){this.localNumberOfPages=this.numberOfPages},methods:{onClick:function(t,e){var n=this;if(e!==this.currentPage){var r=t.target,o=new ru("page-click",{cancelable:!0,vueTarget:this,target:r});this.$emit(o.type,o,e),o.defaultPrevented||(this.currentPage=e,this.$emit("change",this.currentPage),this.$nextTick((function(){ir(r)&&n.$el.contains(r)?Ar(r):n.focusCurrent()})))}},makePage:function(t){return t},linkProps:function(){return{}}}})}});n(539),n(508);function Bh(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function Uh(t){for(var i=1;i0?this.localNumberOfPages=this.pages.length:this.localNumberOfPages=(t=this.numberOfPages,Qr(Rn(t,0),1)),this.$nextTick((function(){e.guessCurrentPage()}))},onClick:function(t,e){var n=this;if(e!==this.currentPage){var r=t.currentTarget||t.target,o=new ru("page-click",{cancelable:!0,vueTarget:this,target:r});this.$emit(o.type,o,e),o.defaultPrevented||(Zn((function(){n.currentPage=e,n.$emit("change",e)})),this.$nextTick((function(){Tr(r)})))}},getPageInfo:function(t){if(!Qt(this.pages)||0===this.pages.length||Ht(this.pages[t-1])){var link="".concat(this.baseUrl).concat(t);return{link:this.useRouter?{path:link}:link,text:$n(t)}}var e=this.pages[t-1];if(te(e)){var n=e.link;return{link:te(n)?n:this.useRouter?{path:n}:n,text:$n(e.text||t)}}return{link:$n(e),text:$n(t)}},makePage:function(t){var e=this.pageGen,n=this.getPageInfo(t);if(e&&Wt(e)){var r=e(t,n);if(!Ht(r))return r}return n.text},makeLink:function(t){var e=this.linkGen,n=this.getPageInfo(t);if(e&&Wt(e)){var r=e(t,n);if(!Ht(r))return r}return n.link},linkProps:function(t){var e=fi(Fh,this),link=this.makeLink(t);return this.useRouter||te(link)?e.to=link:e.href=link,e},resolveLink:function(){var link,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";try{(link=document.createElement("a")).href=wi({to:t},"a","/","/"),document.body.appendChild(link);var e=link,n=e.pathname,r=e.hash,o=e.search;return document.body.removeChild(link),{path:n,hash:r,query:gi(o)}}catch(t){try{link&&link.parentNode&&link.parentNode.removeChild(link)}catch(t){}return{}}},resolveRoute:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";try{var e=this.$router.resolve(t,this.$route).route;return{path:e.path,hash:e.hash,query:e.query}}catch(t){return{}}},guessCurrentPage:function(){var t=this.computedValue,e=this.$router,n=this.$route;if(!this.noPageDetect&&!t&&(Lt.j||!Lt.j&&e))for(var r=e&&n?{path:n.path,hash:n.hash,query:n.query}:{},o=Lt.j?window.location||document.location:null,c=o?{path:o.pathname,hash:o.hash,query:gi(o.search)}:{},l=1;!t&&l<=this.localNumberOfPages;l++){var d=this.makeLink(l);t=e&&(te(d)||this.useRouter)?Ii(this.resolveRoute(d),r)?l:null:Lt.j?Ii(this.resolveLink(d),c)?l:null:-1}this.currentPage=t>0?t:0}}})}}),$h={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left",TOPLEFT:"top",TOPRIGHT:"top",RIGHTTOP:"right",RIGHTBOTTOM:"right",BOTTOMLEFT:"bottom",BOTTOMRIGHT:"bottom",LEFTTOP:"left",LEFTBOTTOM:"left"},qh={AUTO:0,TOPLEFT:-1,TOP:0,TOPRIGHT:1,RIGHTTOP:-1,RIGHT:0,RIGHTBOTTOM:1,BOTTOMLEFT:-1,BOTTOM:0,BOTTOMRIGHT:1,LEFTTOP:-1,LEFT:0,LEFTBOTTOM:1},Vh=kt.extend({name:"BVPopper",props:{target:{type:[Ft,zt]},placement:{type:String,default:"top"},fallbackPlacement:{type:[String,Array],default:"flip"},offset:{type:Number,default:0},boundary:{type:[String,Ft],default:"scrollParent"},boundaryPadding:{type:Number,default:5},arrowPadding:{type:Number,default:6}},data:function(){return{noFade:!1,localShow:!0,attachment:this.getAttachment(this.placement)}},computed:{templateType:function(){return"unknown"},popperConfig:function(){var t=this,e=this.placement;return{placement:this.getAttachment(e),modifiers:{offset:{offset:this.getOffset(e)},flip:{behavior:this.fallbackPlacement},arrow:{element:".arrow"},preventOverflow:{padding:this.boundaryPadding,boundariesElement:this.boundary}},onCreate:function(data){data.originalPlacement!==data.placement&&t.popperPlacementChange(data)},onUpdate:function(data){t.popperPlacementChange(data)}}}},created:function(){var t=this;this.$_popper=null,this.localShow=!0,this.$on("show",(function(e){t.popperCreate(e)}));var e=function(){t.$nextTick((function(){Zn((function(){t.$destroy()}))}))};this.$parent.$once("hook:destroyed",e),this.$once("hidden",e)},beforeMount:function(){this.attachment=this.getAttachment(this.placement)},updated:function(){this.updatePopper()},beforeDestroy:function(){this.destroyPopper()},destroyed:function(){var t=this.$el;t&&t.parentNode&&t.parentNode.removeChild(t)},methods:{hide:function(){this.localShow=!1},getAttachment:function(t){return $h[String(t).toUpperCase()]||"auto"},getOffset:function(t){if(!this.offset){var e=this.$refs.arrow||ur(".arrow",this.$el),n=Dn(Er(e).width,0)+Dn(this.arrowPadding,0);switch(qh[String(t).toUpperCase()]||0){case 1:return"+50%p - ".concat(n,"px");case-1:return"-50%p + ".concat(n,"px");default:return 0}}return this.offset},popperCreate:function(t){this.destroyPopper(),this.$_popper=new nu.a(this.target,t,this.popperConfig)},destroyPopper:function(){this.$_popper&&this.$_popper.destroy(),this.$_popper=null},updatePopper:function(){this.$_popper&&this.$_popper.scheduleUpdate()},popperPlacementChange:function(data){this.attachment=this.getAttachment(data.placement)},renderTemplate:function(t){return t("div")}},render:function(t){var e=this;return t(Nr,{props:{appear:!0,noFade:this.noFade},on:{beforeEnter:function(t){return e.$emit("show",t)},afterEnter:function(t){return e.$emit("shown",t)},beforeLeave:function(t){return e.$emit("hide",t)},afterLeave:function(t){return e.$emit("hidden",t)}}},[this.localShow?this.renderTemplate(t):t()])}});function Hh(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function Gh(t){for(var i=1;i0&&void 0!==arguments[0]?arguments[0]:{},e=!1;fe(Jh).forEach((function(n){Ht(data[n])||t[n]===data[n]||(t[n]=data[n],"title"===n&&(e=!0))})),e&&this.localShow&&this.fixTitle()},createTemplateAndShow:function(){var t=this.getContainer(),e=this.getTemplate(),n=this.$_tip=new e({parent:this,propsData:{id:this.computedId,html:this.html,placement:this.placement,fallbackPlacement:this.fallbackPlacement,target:this.getPlacementTarget(),boundary:this.getBoundary(),offset:Rn(this.offset,0),arrowPadding:Rn(this.arrowPadding,0),boundaryPadding:Rn(this.boundaryPadding,0)}});this.handleTemplateUpdate(),n.$once("show",this.onTemplateShow),n.$once("shown",this.onTemplateShown),n.$once("hide",this.onTemplateHide),n.$once("hidden",this.onTemplateHidden),n.$once("hook:destroyed",this.destroyTemplate),n.$on("focusin",this.handleEvent),n.$on("focusout",this.handleEvent),n.$on("mouseenter",this.handleEvent),n.$on("mouseleave",this.handleEvent),n.$mount(t.appendChild(document.createElement("div")))},hideTemplate:function(){this.$_tip&&this.$_tip.hide(),this.clearActiveTriggers(),this.$_hoverState=""},destroyTemplate:function(){this.setWhileOpenListeners(!1),this.clearHoverTimeout(),this.$_hoverState="",this.clearActiveTriggers(),this.localPlacementTarget=null;try{this.$_tip.$destroy()}catch(t){}this.$_tip=null,this.removeAriaDescribedby(),this.restoreTitle(),this.localShow=!1},getTemplateElement:function(){return this.$_tip?this.$_tip.$el:null},handleTemplateUpdate:function(){var t=this,e=this.$_tip;if(e){["title","content","variant","customClass","noFade","interactive"].forEach((function(n){e[n]!==t[n]&&(e[n]=t[n])}))}},show:function(){var t=this.getTarget();if(t&&dr(document.body,t)&&ir(t)&&!this.dropdownOpen()&&(!Kt(this.title)&&""!==this.title||!Kt(this.content)&&""!==this.content)&&!this.$_tip&&!this.localShow){this.localShow=!0;var e=this.buildEvent("show",{cancelable:!0});this.emitEvent(e),e.defaultPrevented?this.destroyTemplate():(this.fixTitle(),this.addAriaDescribedby(),this.createTemplateAndShow())}},hide:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this.getTemplateElement();if(e&&this.localShow){var n=this.buildEvent("hide",{cancelable:!t});this.emitEvent(n),n.defaultPrevented||this.hideTemplate()}else this.restoreTitle()},forceHide:function(){this.getTemplateElement()&&this.localShow&&(this.setWhileOpenListeners(!1),this.clearHoverTimeout(),this.$_hoverState="",this.clearActiveTriggers(),this.$_tip&&(this.$_tip.noFade=!0),this.hide(!0))},enable:function(){this.$_enabled=!0,this.emitEvent(this.buildEvent("enabled"))},disable:function(){this.$_enabled=!1,this.emitEvent(this.buildEvent("disabled"))},onTemplateShow:function(){this.setWhileOpenListeners(!0)},onTemplateShown:function(){var t=this.$_hoverState;this.$_hoverState="","out"===t&&this.leave(null),this.emitEvent(this.buildEvent("shown"))},onTemplateHide:function(){this.setWhileOpenListeners(!1)},onTemplateHidden:function(){this.destroyTemplate(),this.emitEvent(this.buildEvent("hidden"))},getTarget:function(){var t=this.target;return Xt(t)?t=fr(t.replace(/^#/,"")):Wt(t)?t=t():t&&(t=t.$el||t),Qn(t)?t:null},getPlacementTarget:function(){return this.getTarget()},getTargetId:function(){var t=this.getTarget();return t&&t.id?t.id:null},getContainer:function(){var t=!!this.container&&(this.container.$el||this.container),body=document.body,e=this.getTarget();return!1===t?lr(Zh,e)||body:Xt(t)&&fr(t.replace(/^#/,""))||body},getBoundary:function(){return this.boundary?this.boundary.$el||this.boundary:"scrollParent"},isInModal:function(){var t=this.getTarget();return t&&lr(Xh,t)},isDropdown:function(){var t=this.getTarget();return t&&gr(t,"dropdown")},dropdownOpen:function(){var t=this.getTarget();return this.isDropdown()&&t&&ur(".dropdown-menu.show",t)},clearHoverTimeout:function(){clearTimeout(this.$_hoverTimeout),this.$_hoverTimeout=null},clearVisibilityInterval:function(){clearInterval(this.$_visibleInterval),this.$_visibleInterval=null},clearActiveTriggers:function(){for(var t in this.activeTrigger)this.activeTrigger[t]=!1},addAriaDescribedby:function(){var t=this.getTarget(),desc=wr(t,"aria-describedby")||"";desc=desc.split(/\s+/).concat(this.computedId).join(" ").trim(),vr(t,"aria-describedby",desc)},removeAriaDescribedby:function(){var t=this,e=this.getTarget(),desc=wr(e,"aria-describedby")||"";(desc=desc.split(/\s+/).filter((function(e){return e!==t.computedId})).join(" ").trim())?vr(e,"aria-describedby",desc):yr(e,"aria-describedby")},fixTitle:function(){var t=this.getTarget();if(_r(t,"title")){var title=wr(t,"title");vr(t,"title",""),title&&vr(t,"data-original-title",title)}},restoreTitle:function(){var t=this.getTarget();if(_r(t,"data-original-title")){var title=wr(t,"data-original-title");yr(t,"data-original-title"),title&&vr(t,"title",title)}},buildEvent:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new ru(t,Yh({cancelable:!1,target:this.getTarget(),relatedTarget:this.getTemplateElement()||null,componentId:this.computedId,vueTarget:this},e))},emitEvent:function(t){var e=t.type,n=this.$root;n&&n.$emit&&n.$emit("bv::".concat(this.templateType,"::").concat(e),t),this.$emit(e,t)},listen:function(){var t=this,e=this.getTarget();e&&(this.setRootListener(!0),this.computedTriggers.forEach((function(n){"click"===n?qr(e,"click",t.handleEvent,_s):"focus"===n?(qr(e,"focusin",t.handleEvent,_s),qr(e,"focusout",t.handleEvent,_s)):"blur"===n?qr(e,"focusout",t.handleEvent,_s):"hover"===n&&(qr(e,"mouseenter",t.handleEvent,_s),qr(e,"mouseleave",t.handleEvent,_s))}),this))},unListen:function(){var t=this,e=this.getTarget();this.setRootListener(!1),["click","focusin","focusout","mouseenter","mouseleave"].forEach((function(n){e&&Vr(e,n,t.handleEvent,_s)}),this)},setRootListener:function(t){var e=this.$root;if(e){var n=t?"$on":"$off",r=this.templateType;e[n]("bv::hide::".concat(r),this.doHide),e[n]("bv::show::".concat(r),this.doShow),e[n]("bv::disable::".concat(r),this.doDisable),e[n]("bv::enable::".concat(r),this.doEnable)}},setWhileOpenListeners:function(t){this.setModalListener(t),this.setDropdownListener(t),this.visibleCheck(t),this.setOnTouchStartListener(t)},visibleCheck:function(t){var e=this;this.clearVisibilityInterval();var n=this.getTarget(),r=this.getTemplateElement();t&&(this.$_visibleInterval=setInterval((function(){!r||!e.localShow||n.parentNode&&ir(n)||e.forceHide()}),100))},setModalListener:function(t){this.isInModal()&&this.$root[t?"$on":"$off"]("bv::modal::hidden",this.forceHide)},setOnTouchStartListener:function(t){var e=this;"ontouchstart"in document.documentElement&&Cn(document.body.children).forEach((function(n){Hr(t,n,"mouseover",e.$_noop)}))},setDropdownListener:function(t){var e=this.getTarget();e&&this.$root&&this.isDropdown&&e.__vue__&&e.__vue__[t?"$on":"$off"]("shown",this.forceHide)},handleEvent:function(t){var e=this.getTarget();if(e&&!or(e)&&this.$_enabled&&!this.dropdownOpen()){var n=t.type,r=this.computedTriggers;if("click"===n&&jn(r,"click"))this.click(t);else if("mouseenter"===n&&jn(r,"hover"))this.enter(t);else if("focusin"===n&&jn(r,"focus"))this.enter(t);else if("focusout"===n&&(jn(r,"focus")||jn(r,"blur"))||"mouseleave"===n&&jn(r,"hover")){var o=this.getTemplateElement(),c=t.target,l=t.relatedTarget;if(o&&dr(o,c)&&dr(e,l)||o&&dr(e,c)&&dr(o,l)||o&&dr(o,c)&&dr(o,l)||dr(e,c)&&dr(e,l))return;this.leave(t)}}},doHide:function(t){t&&this.getTargetId()!==t&&this.computedId!==t||this.forceHide()},doShow:function(t){t&&this.getTargetId()!==t&&this.computedId!==t||this.show()},doDisable:function(t){t&&this.getTargetId()!==t&&this.computedId!==t||this.disable()},doEnable:function(t){t&&this.getTargetId()!==t&&this.computedId!==t||this.enable()},click:function(t){this.$_enabled&&!this.dropdownOpen()&&(Ar(t.currentTarget),this.activeTrigger.click=!this.activeTrigger.click,this.isWithActiveTrigger?this.enter(null):this.leave(null))},toggle:function(){this.$_enabled&&!this.dropdownOpen()&&(this.localShow?this.leave(null):this.enter(null))},enter:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;e&&(this.activeTrigger["focusin"===e.type?"focus":"hover"]=!0),this.localShow||"in"===this.$_hoverState?this.$_hoverState="in":(this.clearHoverTimeout(),this.$_hoverState="in",this.computedDelay.show?(this.fixTitle(),this.$_hoverTimeout=setTimeout((function(){"in"===t.$_hoverState?t.show():t.localShow||t.restoreTitle()}),this.computedDelay.show)):this.show())},leave:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;e&&(this.activeTrigger["focusout"===e.type?"focus":"hover"]=!1,"focusout"===e.type&&jn(this.computedTriggers,"blur")&&(this.activeTrigger.click=!1,this.activeTrigger.hover=!1)),this.isWithActiveTrigger||(this.clearHoverTimeout(),this.$_hoverState="out",this.computedDelay.hide?this.$_hoverTimeout=setTimeout((function(){"out"===t.$_hoverState&&t.hide()}),this.computedDelay.hide):this.hide())}}}),tp=kt.extend({name:"BTooltip",inheritAttrs:!1,props:Mn({title:{type:String},target:{type:[String,Ft,zt,Function,Object],required:!0},triggers:{type:[String,Array],default:"hover focus"},placement:{type:String,default:"top"},fallbackPlacement:{type:[String,Array],default:"flip",validator:function(t){return Qt(t)&&t.every((function(t){return Xt(t)}))||jn(["flip","clockwise","counterclockwise"],t)}},variant:{type:String},customClass:{type:String},delay:{type:[Number,Object,String],default:50},boundary:{type:[String,Ft,Object],default:"scrollParent"},boundaryPadding:{type:[Number,String],default:5},offset:{type:[Number,String],default:0},noFade:{type:Boolean,default:!1},container:{type:[String,Ft,Object]},show:{type:Boolean,default:!1},noninteractive:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},id:{type:String}},"BTooltip"),data:function(){return{localShow:this.show,localTitle:"",localContent:""}},computed:{templateData:function(){return{title:this.localTitle,content:this.localContent,target:this.target,triggers:this.triggers,placement:this.placement,fallbackPlacement:this.fallbackPlacement,variant:this.variant,customClass:this.customClass,container:this.container,boundary:this.boundary,boundaryPadding:this.boundaryPadding,delay:this.delay,offset:this.offset,noFade:this.noFade,interactive:!this.noninteractive,disabled:this.disabled,id:this.id}},templateTitleContent:function(){return{title:this.title,content:this.content}}},watch:{show:function(t,e){t!==e&&t!==this.localShow&&this.$_toolpop&&(t?this.$_toolpop.show():this.$_toolpop.forceHide())},disabled:function(t){t?this.doDisable():this.doEnable()},localShow:function(t){this.$emit("update:show",t)},templateData:function(){var t=this;this.$nextTick((function(){t.$_toolpop&&t.$_toolpop.updateData(t.templateData)}))},templateTitleContent:function(){this.$nextTick(this.updateContent)}},created:function(){this.$_toolpop=null},updated:function(){this.$nextTick(this.updateContent)},beforeDestroy:function(){this.$off("open",this.doOpen),this.$off("close",this.doClose),this.$off("disable",this.doDisable),this.$off("enable",this.doEnable),this.$_toolpop&&(this.$_toolpop.$destroy(),this.$_toolpop=null)},mounted:function(){var t=this;this.$nextTick((function(){var e=t.getComponent();t.updateContent();var n=Sf(t)||Sf(t.$parent),r=t.$_toolpop=new e({parent:t,_scopeId:n||void 0});r.updateData(t.templateData),r.$on("show",t.onShow),r.$on("shown",t.onShown),r.$on("hide",t.onHide),r.$on("hidden",t.onHidden),r.$on("disabled",t.onDisabled),r.$on("enabled",t.onEnabled),t.disabled&&t.doDisable(),t.$on("open",t.doOpen),t.$on("close",t.doClose),t.$on("disable",t.doDisable),t.$on("enable",t.doEnable),t.localShow&&r.show()}))},methods:{getComponent:function(){return Qh},updateContent:function(){this.setTitle(this.$scopedSlots.default||this.title)},setTitle:function(t){t=Kt(t)?"":t,this.localTitle!==t&&(this.localTitle=t)},setContent:function(t){t=Kt(t)?"":t,this.localContent!==t&&(this.localContent=t)},onShow:function(t){this.$emit("show",t),t&&(this.localShow=!t.defaultPrevented)},onShown:function(t){this.localShow=!0,this.$emit("shown",t)},onHide:function(t){this.$emit("hide",t)},onHidden:function(t){this.$emit("hidden",t),this.localShow=!1},onDisabled:function(t){t&&"disabled"===t.type&&(this.$emit("update:disabled",!0),this.$emit("disabled",t))},onEnabled:function(t){t&&"enabled"===t.type&&(this.$emit("update:disabled",!1),this.$emit("enabled",t))},doOpen:function(){!this.localShow&&this.$_toolpop&&this.$_toolpop.show()},doClose:function(){this.localShow&&this.$_toolpop&&this.$_toolpop.hide()},doDisable:function(){this.$_toolpop&&this.$_toolpop.disable()},doEnable:function(){this.$_toolpop&&this.$_toolpop.enable()}},render:function(t){return t()}}),ep=kt.extend({name:"BVPopoverTemplate",extends:Kh,computed:{templateType:function(){return"popover"}},methods:{renderTemplate:function(t){var e=Wt(this.title)?this.title({}):this.title,n=Wt(this.content)?this.content({}):this.content,r=this.html&&!Wt(this.title)?{innerHTML:this.title}:{},o=this.html&&!Wt(this.content)?{innerHTML:this.content}:{};return t("div",{staticClass:"popover b-popover",class:this.templateClasses,attrs:this.templateAttributes,on:this.templateListeners},[t("div",{ref:"arrow",staticClass:"arrow"}),Kt(e)||""===e?t():t("h3",{staticClass:"popover-header",domProps:r},[e]),Kt(n)||""===n?t():t("div",{staticClass:"popover-body",domProps:o},[n])])}}}),np=kt.extend({name:"BVPopover",extends:Qh,computed:{templateType:function(){return"popover"}},methods:{getTemplate:function(){return ep}}}),ip=kt.extend({name:"BPopover",extends:tp,inheritAttrs:!1,props:Mn({title:{type:String},content:{type:String},triggers:{type:[String,Array],default:"click"},placement:{type:String,default:"right"},variant:{type:String,default:void 0},customClass:{type:String,default:void 0},delay:{type:[Number,Object,String],default:50},boundary:{type:[String,Ft,Object],default:"scrollParent"},boundaryPadding:{type:[Number,String],default:5}},"BPopover"),methods:{getComponent:function(){return np},updateContent:function(){this.setContent(this.$scopedSlots.default||this.content),this.setTitle(this.$scopedSlots.title||this.title)}}});function op(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function ap(t){for(var i=1;i0&&t[sp].updateData(data)}))}var data={title:r.title,content:r.content,triggers:r.trigger,placement:r.placement,fallbackPlacement:r.fallbackPlacement,variant:r.variant,customClass:r.customClass,container:r.container,boundary:r.boundary,delay:r.delay,offset:r.offset,noFade:!r.animation,id:r.id,disabled:r.disabled,html:r.html},c=t[sp].__bv_prev_data__;if(t[sp].__bv_prev_data__=data,!Ii(data,c)){var l={target:t};fe(data).forEach((function(e){data[e]!==c[e]&&(l[e]="title"!==e&&"content"!==e||!Wt(data[e])?data[e]:data[e](t))})),t[sp].updateData(l)}}},wp=dn({directives:{VBPopover:{bind:function(t,e,n){yp(t,e,n)},componentUpdated:function(t,e,n){n.context.$nextTick((function(){yp(t,e,n)}))},unbind:function(t){!function(t){t[sp]&&(t[sp].$destroy(),t[sp]=null),delete t[sp]}(t)}}}}),_p=dn({components:{BPopover:ip},plugins:{VBPopoverPlugin:wp}}),Sp=kt.extend({name:"BProgressBar",mixins:[zr],inject:{bvProgress:{default:function(){return{}}}},props:Mn({value:{type:[Number,String],default:0},label:{type:String},labelHtml:{type:String},max:{type:[Number,String],default:null},precision:{type:[Number,String],default:null},variant:{type:String},striped:{type:Boolean,default:null},animated:{type:Boolean,default:null},showProgress:{type:Boolean,default:null},showValue:{type:Boolean,default:null}},"BProgressBar"),computed:{progressBarClasses:function(){return[this.computedVariant?"bg-".concat(this.computedVariant):"",this.computedStriped||this.computedAnimated?"progress-bar-striped":"",this.computedAnimated?"progress-bar-animated":""]},progressBarStyles:function(){return{width:this.computedValue/this.computedMax*100+"%"}},computedValue:function(){return Dn(this.value,0)},computedMax:function(){var t=Dn(this.max)||Dn(this.bvProgress.max,0);return t>0?t:100},computedPrecision:function(){return Qr(Rn(this.precision,Rn(this.bvProgress.precision,0)),0)},computedProgress:function(){var t=this.computedPrecision,p=ri(10,t);return Ln(100*p*this.computedValue/this.computedMax/p,t)},computedVariant:function(){return this.variant||this.bvProgress.variant},computedStriped:function(){return Yt(this.striped)?this.striped:this.bvProgress.striped||!1},computedAnimated:function(){return Yt(this.animated)?this.animated:this.bvProgress.animated||!1},computedShowProgress:function(){return Yt(this.showProgress)?this.showProgress:this.bvProgress.showProgress||!1},computedShowValue:function(){return Yt(this.showValue)?this.showValue:this.bvProgress.showValue||!1}},render:function(t){var e,label=this.label,n=this.labelHtml,r=this.computedValue,o=this.computedPrecision,c={};return this.hasNormalizedSlot()?e=this.normalizeSlot():label||n?c=$o(n,label):this.computedShowProgress?e=this.computedProgress:this.computedShowValue&&(e=Ln(r,o)),t("div",{staticClass:"progress-bar",class:this.progressBarClasses,style:this.progressBarStyles,attrs:{role:"progressbar","aria-valuemin":"0","aria-valuemax":$n(this.computedMax),"aria-valuenow":Ln(r,o)},domProps:c},e)}}),xp=dn({components:{BProgress:kt.extend({name:"BProgress",mixins:[zr],provide:function(){return{bvProgress:this}},props:Mn({variant:{type:String},striped:{type:Boolean,default:!1},animated:{type:Boolean,default:!1},height:{type:String},precision:{type:[Number,String],default:0},showProgress:{type:Boolean,default:!1},showValue:{type:Boolean,default:!1},max:{type:[Number,String],default:100},value:{type:[Number,String],default:0}},"BProgress"),computed:{progressHeight:function(){return{height:this.height||null}}},render:function(t){var e=this.normalizeSlot();return e||(e=t(Sp,{props:{value:this.value,max:this.max,precision:this.precision,variant:this.variant,animated:this.animated,striped:this.striped,showProgress:this.showProgress,showValue:this.showValue}})),t("div",{class:["progress"],style:this.progressHeight},[e])}}),BProgressBar:Sp}});function Op(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function kp(t){for(var i=1;i0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.noCloseOnRouteChange||t.fullPath===e.fullPath||this.hide()}},created:function(){this.$_returnFocusEl=null},mounted:function(){var t=this;this.listenOnRoot("bv::toggle::collapse",this.handleToggle),this.listenOnRoot("bv::request::collapse::state",this.handleSync),this.$nextTick((function(){t.emitState(t.localShow)}))},activated:function(){this.emitSync()},beforeDestroy:function(){this.localShow=!1,this.$_returnFocusEl=null},methods:{hide:function(){this.localShow=!1},emitState:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.localShow;this.emitOnRoot(qs,this.safeId(),t)},emitSync:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.localShow;this.emitOnRoot(Vs,this.safeId(),t)},handleToggle:function(t){t&&t===this.safeId()&&(this.localShow=!this.localShow)},handleSync:function(t){var e=this;t&&t===this.safeId()&&this.$nextTick((function(){e.emitSync(e.localShow)}))},onKeydown:function(t){var e=t.keyCode;!this.noCloseOnEsc&&27===e&&this.localShow&&this.hide()},onBackdropClick:function(){this.localShow&&!this.noCloseOnBackdrop&&this.hide()},onTopTrapFocus:function(){var t=Ir(this.$refs.content);this.enforceFocus(t.reverse()[0])},onBottomTrapFocus:function(){var t=Ir(this.$refs.content);this.enforceFocus(t[0])},onBeforeEnter:function(){this.$_returnFocusEl=er(Lt.j?[document.body]:[]),this.isOpen=!0},onAfterEnter:function(t){dr(t,er())||this.enforceFocus(t),this.$emit("shown")},onAfterLeave:function(){this.enforceFocus(this.$_returnFocusEl),this.$_returnFocusEl=null,this.isOpen=!1,this.$emit("hidden")},enforceFocus:function(t){this.noEnforceFocus||Ar(t)}},render:function(t){var e,n=this.localShow,shadow=""===this.shadow||this.shadow,r=t(this.tag,{ref:"content",directives:[{name:"show",value:n}],staticClass:"b-sidebar",class:[(e={shadow:!0===shadow},Object(o.a)(e,"shadow-".concat(shadow),shadow&&!0!==shadow),Object(o.a)(e,"".concat("b-sidebar","-right"),this.right),Object(o.a)(e,"bg-".concat(this.bgVariant),!!this.bgVariant),Object(o.a)(e,"text-".concat(this.textVariant),!!this.textVariant),e),this.sidebarClass],attrs:this.computedAttrs,style:{width:this.width}},[jp(t,this)]);r=t("transition",{props:this.transitionProps,on:{beforeEnter:this.onBeforeEnter,afterEnter:this.onAfterEnter,afterLeave:this.onAfterLeave}},[r]);var c=t(Br,{props:{noFade:this.noSlide}},[Ip(t,this)]),l=t(),d=t();return this.backdrop&&this.localShow&&(l=t("div",{attrs:{tabindex:"0"},on:{focus:this.onTopTrapFocus}}),d=t("div",{attrs:{tabindex:"0"},on:{focus:this.onBottomTrapFocus}})),t("div",{staticClass:"b-sidebar-outer",style:{zIndex:this.zIndex},attrs:{tabindex:"-1"},on:{keydown:this.onKeydown}},[l,r,d,c])}})},plugins:{VBTogglePlugin:tu}}),Tp=kt.extend({name:"BSkeleton",functional:!0,props:Mn({animation:{type:String,default:"wave"},type:{type:String,default:"text"},width:{type:String},height:{type:String},size:{type:String},variant:{type:String}},"BSkeleton"),render:function(t,e){var n,data=e.data,r=e.props,c=r.size,l=r.animation,d=r.variant;return t("div",Ot(data,{staticClass:"b-skeleton",style:{width:c||r.width,height:c||r.height},class:(n={},Object(o.a)(n,"b-skeleton-".concat(r.type),!0),Object(o.a)(n,"b-skeleton-animate-".concat(l),l),Object(o.a)(n,"bg-".concat(d),d),n)}))}});function Pp(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function Rp(t){for(var i=1;i0}}};function Fp(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}var zp=Mn({variant:{type:String,default:null}},"BTr"),$p=kt.extend({name:"BTr",mixins:[Ri,Di,zr],provide:function(){return{bvTableTr:this}},inject:{bvTableRowGroup:{default:function(){return{}}}},inheritAttrs:!1,props:zp,computed:{inTbody:function(){return this.bvTableRowGroup.isTbody},inThead:function(){return this.bvTableRowGroup.isThead},inTfoot:function(){return this.bvTableRowGroup.isTfoot},isDark:function(){return this.bvTableRowGroup.isDark},isStacked:function(){return this.bvTableRowGroup.isStacked},isResponsive:function(){return this.bvTableRowGroup.isResponsive},isStickyHeader:function(){return this.bvTableRowGroup.isStickyHeader},hasStickyHeader:function(){return!this.isStacked&&this.bvTableRowGroup.hasStickyHeader},tableVariant:function(){return this.bvTableRowGroup.tableVariant},headVariant:function(){return this.inThead?this.bvTableRowGroup.headVariant:null},footVariant:function(){return this.inTfoot?this.bvTableRowGroup.footVariant:null},isRowDark:function(){return"light"!==this.headVariant&&"light"!==this.footVariant&&("dark"===this.headVariant||"dark"===this.footVariant||this.isDark)},trClasses:function(){return[this.variant?"".concat(this.isRowDark?"bg":"table","-").concat(this.variant):null]},trAttrs:function(){return function(t){for(var i=1;i0?t:null},Kp=function(t){return Kt(t)||Gp(t)>0},Wp=Mn({variant:{type:String,default:null},colspan:{type:[Number,String],default:null,validator:Kp},rowspan:{type:[Number,String],default:null,validator:Kp},stackedHeading:{type:String,default:null},stickyColumn:{type:Boolean,default:!1}},"BTableCell"),Yp=kt.extend({name:"BTableCell",mixins:[Ri,Di,zr],inject:{bvTableTr:{default:function(){return{}}}},inheritAttrs:!1,props:Wp,computed:{tag:function(){return"td"},inTbody:function(){return this.bvTableTr.inTbody},inThead:function(){return this.bvTableTr.inThead},inTfoot:function(){return this.bvTableTr.inTfoot},isDark:function(){return this.bvTableTr.isDark},isStacked:function(){return this.bvTableTr.isStacked},isStackedCell:function(){return this.inTbody&&this.isStacked},isResponsive:function(){return this.bvTableTr.isResponsive},isStickyHeader:function(){return this.bvTableTr.isStickyHeader},hasStickyHeader:function(){return this.bvTableTr.hasStickyHeader},isStickyColumn:function(){return!this.isStacked&&(this.isResponsive||this.hasStickyHeader)&&this.stickyColumn},rowVariant:function(){return this.bvTableTr.variant},headVariant:function(){return this.bvTableTr.headVariant},footVariant:function(){return this.bvTableTr.footVariant},tableVariant:function(){return this.bvTableTr.tableVariant},computedColspan:function(){return Gp(this.colspan)},computedRowspan:function(){return Gp(this.rowspan)},cellClasses:function(){var t=this.variant;return(!t&&this.isStickyHeader&&!this.headVariant||!t&&this.isStickyColumn&&this.inTfoot&&!this.footVariant||!t&&this.isStickyColumn&&this.inThead&&!this.headVariant||!t&&this.isStickyColumn&&this.inTbody)&&(t=this.rowVariant||this.tableVariant||"b-table-default"),[t?"".concat(this.isDark?"bg":"table","-").concat(t):null,this.isStickyColumn?"b-table-sticky-column":null]},cellAttrs:function(){var t=this.inThead||this.inTfoot,e=this.computedColspan,n=this.computedRowspan,r="cell",o=null;return t?(r="columnheader",o=e>0?"colspan":"col"):nr(this.tag,"th")&&(r="rowheader",o=n>0?"rowgroup":"row"),Hp(Hp({colspan:e,rowspan:n,role:r,scope:o},this.bvAttrs),{},{"data-label":this.isStackedCell&&!Kt(this.stackedHeading)?$n(this.stackedHeading):null})}},render:function(t){var content=[this.normalizeSlot()];return t(this.tag,{class:this.cellClasses,attrs:this.cellAttrs,on:this.bvListeners},[this.isStackedCell?t("div",[content]):content])}}),Xp={props:Mn({busy:{type:Boolean,default:!1}},"BTable"),data:function(){return{localBusy:!1}},computed:{computedBusy:function(){return this.busy||this.localBusy}},watch:{localBusy:function(t,e){t!==e&&this.$emit("update:busy",t)}},methods:{stopIfBusy:function(t){return!!this.computedBusy&&(Gr(t),!0)},renderBusy:function(){var t=this.$createElement;return this.computedBusy&&this.hasNormalizedSlot("table-busy")?t($p,{key:"table-busy-slot",staticClass:"b-table-busy-slot",class:[Wt(this.tbodyTrClass)?this.tbodyTrClass(null,"table-busy"):this.tbodyTrClass],attrs:Wt(this.tbodyTrAttr)?this.tbodyTrAttr(null,"table-busy"):this.tbodyTrAttr},[t(Yp,{props:{colspan:this.computedFields.length||null}},[this.normalizeSlot("table-busy")])]):null}}},Zp={props:Mn({caption:{type:String},captionHtml:{type:String}},"BTable"),computed:{captionId:function(){return this.isStacked?this.safeId("_caption_"):null}},methods:{renderCaption:function(){var caption=this.caption,t=this.captionHtml,e=this.$createElement,n=e(),r=this.hasNormalizedSlot("table-caption");return(r||caption||t)&&(n=e("caption",{key:"caption",attrs:{id:this.captionId},domProps:r?{}:$o(t,caption)},this.normalizeSlot("table-caption"))),n}}},Jp={methods:{renderColgroup:function(){var t=this.$createElement,e=this.computedFields,n=t();return this.hasNormalizedSlot("table-colgroup")&&(n=t("colgroup",{key:"colgroup"},[this.normalizeSlot("table-colgroup",{columns:e.length,fields:e})])),n}}},Qp={props:Mn({showEmpty:{type:Boolean,default:!1},emptyText:{type:String,default:"There are no records to show"},emptyHtml:{type:String},emptyFilteredText:{type:String,default:"There are no records matching your request"},emptyFilteredHtml:{type:String}},"BTable"),methods:{renderEmpty:function(){var t=this.$createElement,e=this.computedItems,n=t();if(this.showEmpty&&(!e||0===e.length)&&(!this.computedBusy||!this.hasNormalizedSlot("table-busy"))){var r=this.isFiltered,o=this.emptyText,c=this.emptyHtml,l=this.emptyFilteredText,d=this.emptyFilteredHtml,f=this.computedFields,h=this.tbodyTrClass,m=this.tbodyTrAttr;(n=this.normalizeSlot(this.isFiltered?"emptyfiltered":"empty",{emptyFilteredHtml:d,emptyFilteredText:l,emptyHtml:c,emptyText:o,fields:f,items:this.computedItems}))||(n=t("div",{class:["text-center","my-2"],domProps:r?$o(d,l):$o(c,o)})),n=t(Yp,{props:{colspan:f.length||null}},[t("div",{attrs:{role:"alert","aria-live":"polite"}},[n])]),n=t($p,{staticClass:"b-table-empty-row",class:[Wt(h)?this.tbodyTrClass(null,"row-empty"):h],attrs:Wt(m)?this.tbodyTrAttr(null,"row-empty"):m,key:r?"b-empty-filtered-row":"b-empty-row"},[n])}return n}}},tm={_rowVariant:!0,_cellVariants:!0,_showDetails:!0},nm=["a","a *","button","button *","input:not(.disabled):not([disabled])","select:not(.disabled):not([disabled])","textarea:not(.disabled):not([disabled])",'[role="link"]','[role="link"] *','[role="button"]','[role="button"] *',"[tabindex]:not(.disabled):not([disabled])"].join(","),rm=function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=fe(r).reduce((function(e,n){var o=r[n],c=o.filterByFormatted,l=Wt(c)?c:c?o.formatter:null;return Wt(l)&&(e[n]=l(t[n],n,t)),e}),pe(t)),c=fe(o).filter((function(t){return!(tm[t]||Qt(e)&&e.length>0&&jn(e,t)||Qt(n)&&n.length>0&&!jn(n,t))}));return me(o,c)},im=function t(e){return Kt(e)?"":te(e)&&!ne(e)?fe(e).sort().filter((function(t){return!Kt(t)})).map((function(n){return t(e[n])})).join(" "):$n(e)},om=function(t,e,n,r){return te(t)?im(rm(t,e,n,r)):""},am='Prop "filter-debounce" is deprecated. Use the debounce feature of "" instead.',sm={props:Mn({filter:{type:[String,RegExp,Object,Array],default:null},filterFunction:{type:Function},filterIgnoredFields:{type:Array},filterIncludedFields:{type:Array},filterDebounce:{type:[Number,String],deprecated:am,default:0,validator:function(t){return/^\d+/.test(String(t))}}},"BTable"),data:function(){return{isFiltered:!1,localFilter:this.filterSanitize(this.filter)}},computed:{computedFilterIgnored:function(){return In(this.filterIgnoredFields||[]).filter(Xe)},computedFilterIncluded:function(){return In(this.filterIncludedFields||[]).filter(Xe)},computedFilterDebounce:function(){var t=Rn(this.filterDebounce,0);return t>0&&Qe(am,"BTable"),t},localFiltering:function(){return!this.hasProvider||!!this.noProviderFiltering},filteredCheck:function(){return{filteredItems:this.filteredItems,localItems:this.localItems,localFilter:this.localFilter}},localFilterFn:function(){var t=this.filterFunction,e=null;try{e=t()}catch(t){}return Ht(e)?null:t},filteredItems:function(){var t=this.localItems||[],e=this.localFilter,n=this.localFiltering?this.filterFnFactory(this.localFilterFn,e)||this.defaultFilterFnFactory(e):null;return n&&t.length>0?t.filter(n):t}},watch:{computedFilterDebounce:function(t){!t&&this.$_filterTimer&&(this.clearFilterTimer(),this.localFilter=this.filterSanitize(this.filter))},filter:{deep:!0,handler:function(t){var e=this,n=this.computedFilterDebounce;this.clearFilterTimer(),n&&n>0?this.$_filterTimer=setTimeout((function(){e.localFilter=e.filterSanitize(t)}),n):this.localFilter=this.filterSanitize(t)}},filteredCheck:function(t){var e=t.filteredItems,n=t.localFilter,r=!1;n?Ii(n,[])||Ii(n,{})?r=!1:n&&(r=!0):r=!1,r&&this.$emit("filtered",e,e.length),this.isFiltered=r},isFiltered:function(t,e){!1===t&&!0===e&&this.$emit("filtered",this.localItems,this.localItems.length)}},created:function(){var t=this;this.$_filterTimer=null,this.$nextTick((function(){t.isFiltered=Boolean(t.localFilter)}))},beforeDestroy:function(){this.clearFilterTimer()},methods:{clearFilterTimer:function(){clearTimeout(this.$_filterTimer),this.$_filterTimer=null},filterSanitize:function(t){return!this.localFiltering||this.localFilterFn||Xt(t)||ie(t)?ye(t):""},filterFnFactory:function(t,e){if(!t||!Wt(t)||!e||Ii(e,[])||Ii(e,{}))return null;return function(n){return t(n,e)}},defaultFilterFnFactory:function(t){var e=this;if(!t||!Xt(t)&&!ie(t))return null;var n=t;if(Xt(n)){var pattern=zn(t).replace(Ae,"\\s+");n=new RegExp(".*".concat(pattern,".*"),"i")}return function(t){return n.lastIndex=0,n.test(om(t,e.computedFilterIgnored,e.computedFilterIncluded,e.computedFieldsObj))}}}},um=function(t,e){var n=[];if(Qt(t)&&t.filter(Xe).forEach((function(t){if(Xt(t))n.push({key:t,label:Un(t)});else if(te(t)&&t.key&&Xt(t.key))n.push(pe(t));else if(te(t)&&1===fe(t).length){var e=fe(t)[0],r=function(t,e){var n=null;return Xt(e)?n={key:t,label:e}:Wt(e)?n={key:t,formatter:e}:te(e)?(n=pe(e)).key=n.key||t:!1!==e&&(n={key:t}),n}(e,t[e]);r&&n.push(r)}})),0===n.length&&Qt(e)&&e.length>0){var r=e[0];fe(r).forEach((function(t){tm[t]||n.push({key:t,label:Un(t)})}))}var o={};return n.filter((function(t){return!o[t.key]&&(o[t.key]=!0,t.label=Xt(t.label)?t.label:Un(t.key),!0)}))},cm={props:Mn({items:{type:Array,default:function(){return[]}},fields:{type:Array,default:null},primaryKey:{type:String},value:{type:Array,default:function(){return[]}}},"BTable"),data:function(){return{localItems:Qt(this.items)?this.items.slice():[]}},computed:{computedFields:function(){return um(this.fields,this.localItems)},computedFieldsObj:function(){var t=this.$parent;return this.computedFields.reduce((function(e,n){if(e[n.key]=pe(n),n.formatter){var r=n.formatter;Xt(r)&&Wt(t[r])?r=t[r]:Wt(r)||(r=void 0),e[n.key].formatter=r}return e}),{})},computedItems:function(){return(this.paginatedItems||this.sortedItems||this.filteredItems||this.localItems||[]).slice()},context:function(){return{filter:this.localFilter,sortBy:this.localSortBy,sortDesc:this.localSortDesc,perPage:Qr(Rn(this.perPage,0),0),currentPage:Qr(Rn(this.currentPage,0),1),apiUrl:this.apiUrl}}},watch:{items:function(t){Qt(t)?this.localItems=t.slice():Kt(t)&&(this.localItems=[])},computedItems:function(t,e){Ii(t,e)||this.$emit("input",t)},context:function(t,e){Ii(t,e)||this.$emit("context-changed",t)}},mounted:function(){this.$emit("input",this.computedItems)},methods:{getFieldFormatter:function(t){var e=this.computedFieldsObj[t];return e?e.formatter:void 0}}},lm={props:Mn({perPage:{type:[Number,String],default:0},currentPage:{type:[Number,String],default:1}},"BTable"),computed:{localPaging:function(){return!this.hasProvider||!!this.noProviderPaging},paginatedItems:function(){var t=this.sortedItems||this.filteredItems||this.localItems||[],e=Qr(Rn(this.currentPage,1),1),n=Qr(Rn(this.perPage,0),0);return this.localPaging&&n&&(t=t.slice((e-1)*n,e*n)),t}}},dm={mixins:[Ns],props:Mn({items:{type:[Array,Function],default:function(){return[]}},noProviderPaging:{type:Boolean,default:!1},noProviderSorting:{type:Boolean,default:!1},noProviderFiltering:{type:Boolean,default:!1},apiUrl:{type:String,default:""}},"BTable"),computed:{hasProvider:function(){return Wt(this.items)},providerTriggerContext:function(){var t={apiUrl:this.apiUrl,filter:null,sortBy:null,sortDesc:null,perPage:null,currentPage:null};return this.noProviderFiltering||(t.filter=this.localFilter),this.noProviderSorting||(t.sortBy=this.localSortBy,t.sortDesc=this.localSortDesc),this.noProviderPaging||(t.perPage=this.perPage,t.currentPage=this.currentPage),pe(t)}},watch:{items:function(t){(this.hasProvider||Wt(t))&&this.$nextTick(this._providerUpdate)},providerTriggerContext:function(t,e){Ii(t,e)||this.$nextTick(this._providerUpdate)}},mounted:function(){var t=this;!this.hasProvider||this.localItems&&0!==this.localItems.length||this._providerUpdate(),this.listenOnRoot("bv::refresh::table",(function(e){e!==t.id&&e!==t||t.refresh()}))},methods:{refresh:function(){this.$off("refreshed",this.refresh),this.computedBusy?this.localBusy&&this.hasProvider&&this.$on("refreshed",this.refresh):(this.clearSelected(),this.hasProvider?this.$nextTick(this._providerUpdate):this.localItems=Qt(this.items)?this.items.slice():[])},_providerSetLocal:function(t){this.localItems=Qt(t)?t.slice():[],this.localBusy=!1,this.$emit("refreshed"),this.id&&this.emitOnRoot("bv::table::refreshed",this.id)},_providerUpdate:function(){var t=this;this.hasProvider&&(this.computedBusy?this.$nextTick(this.refresh):(this.localBusy=!0,this.$nextTick((function(){try{var data=t.items(t.context,t._providerSetLocal);!Kt(e=data)&&Wt(e.then)&&Wt(e.catch)?data.then((function(e){t._providerSetLocal(e)})):Qt(data)?t._providerSetLocal(data):2!==t.items.length&&(Qe("Provider function didn't request callback and did not return a promise or data.","BTable"),t.localBusy=!1)}catch(e){Qe("Provider function error [".concat(e.name,"] ").concat(e.message,"."),"BTable"),t.localBusy=!1,t.$off("refreshed",t.refresh)}var e}))))}}},fm=["range","multi","single"],hm={props:Mn({selectable:{type:Boolean,default:!1},selectMode:{type:String,default:"multi",validator:function(t){return jn(fm,t)}},selectedVariant:{type:String,default:"active"},noSelectOnClick:{type:Boolean,default:!1}},"BTable"),data:function(){return{selectedRows:[],selectedLastRow:-1}},computed:{isSelectable:function(){return this.selectable&&this.selectMode},hasSelectableRowClick:function(){return this.isSelectable&&!this.noSelectOnClick},supportsSelectableRows:function(){return!0},selectableHasSelection:function(){return this.isSelectable&&this.selectedRows&&this.selectedRows.length>0&&this.selectedRows.some(Xe)},selectableIsMultiSelect:function(){return this.isSelectable&&jn(["range","multi"],this.selectMode)},selectableTableClasses:function(){var t;return t={"b-table-selectable":this.isSelectable},Object(o.a)(t,"b-table-select-".concat(this.selectMode),this.isSelectable),Object(o.a)(t,"b-table-selecting",this.selectableHasSelection),Object(o.a)(t,"b-table-selectable-no-click",this.isSelectable&&!this.hasSelectableRowClick),t},selectableTableAttrs:function(){return{"aria-multiselectable":this.isSelectable?this.selectableIsMultiSelect?"true":"false":null}}},watch:{computedItems:function(t,e){var n=!1;if(this.isSelectable&&this.selectedRows.length>0){n=Qt(t)&&Qt(e)&&t.length===e.length;for(var i=0;n&&i=0&&t0&&(this.selectedLastClicked=-1,this.selectedRows=this.selectableIsMultiSelect?jh(t).map((function(){return!0})):[!0])},isRowSelected:function(t){return!(!Zt(t)||!this.selectedRows[t])},clearSelected:function(){this.selectedLastClicked=-1,this.selectedRows=[]},selectableRowClasses:function(t){if(this.isSelectable&&this.isRowSelected(t)){var e=this.selectedVariant;return Object(o.a)({"b-table-row-selected":!0},"".concat(this.dark?"bg":"table","-").concat(e),e)}return{}},selectableRowAttrs:function(t){return{"aria-selected":this.isSelectable?this.isRowSelected(t)?"true":"false":null}},setSelectionHandlers:function(t){var e=t&&!this.noSelectOnClick?"$on":"$off";this[e]("row-clicked",this.selectionHandler),this[e]("filtered",this.clearSelected),this[e]("context-changed",this.clearSelected)},selectionHandler:function(t,e,n){if(this.isSelectable&&!this.noSelectOnClick){var r=this.selectMode,o=this.selectedRows.slice(),c=!o[e];if("single"===r)o=[];else if("range"===r)if(this.selectedLastRow>-1&&n.shiftKey){for(var l=Jr(this.selectedLastRow,e);l<=Qr(this.selectedLastRow,e);l++)o[l]=!0;c=!0}else n.ctrlKey||n.metaKey||(o=[],c=!0),this.selectedLastRow=c?e:-1;o[e]=c,this.selectedRows=o}else this.clearSelected()}}},pm=function(t,e){return t.map((function(a,t){return[t,a]})).sort(function(a,b){return this(a[1],b[1])||a[0]-b[0]}.bind(e)).map((function(t){return t[1]}))},mm=function(a,b,t,e,n,r,o,c){var l=Je(a,t,null),d=Je(b,t,null);return Wt(n)&&(l=n(l,t,a),d=n(d,t,b)),l=Kt(l)?"":l,d=Kt(d)?"":d,ne(l)&&ne(d)||Zt(l)&&Zt(d)?ld?1:0:c&&""===l&&""!==d?1:c&&""!==l&&""===d?-1:im(l).localeCompare(im(d),o,r)};function bm(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function gm(t){for(var i=1;i0&&!this.computedBusy;return[this.tableClass,{"table-striped":this.striped,"table-hover":t,"table-dark":this.dark,"table-bordered":this.bordered,"table-borderless":this.borderless,"table-sm":this.small,border:this.outlined,"b-table-fixed":this.fixed,"b-table-caption-top":this.captionTop,"b-table-no-border-collapse":this.noBorderCollapse},this.tableVariant?"".concat(this.dark?"bg":"table","-").concat(this.tableVariant):"",this.stackedTableClasses,this.selectableTableClasses]},tableAttrs:function(){var t=[(this.bvAttrs||{})["aria-describedby"],this.captionId].filter(Xe).join(" ")||null,e=this.computedItems,n=this.filteredItems,r=this.computedFields,o=this.selectableTableAttrs||{},c=this.isTableSimple?{}:{"aria-busy":this.computedBusy?"true":"false","aria-colcount":$n(r.length),"aria-describedby":t};return Sm(Sm(Sm({"aria-rowcount":e&&n&&n.length>e.length?$n(n.length):null},this.bvAttrs),{},{id:this.safeId(),role:"table"},c),o)}},render:function(t){var e=[];this.isTableSimple?e.push(this.normalizeSlot()):(e.push(this.renderCaption?this.renderCaption():null),e.push(this.renderColgroup?this.renderColgroup():null),e.push(this.renderThead?this.renderThead():null),e.push(this.renderTbody?this.renderTbody():null),e.push(this.renderTfoot?this.renderTfoot():null));var n=t("table",{key:"b-table",staticClass:"table b-table",class:this.tableClasses,attrs:this.tableAttrs},e.filter(Xe));return this.wrapperClasses.length>0?t("div",{key:"wrap",class:this.wrapperClasses,style:this.wrapperStyles},[n]):n}};function Om(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function km(t){for(var i=1;i0&&void 0!==arguments[0]?arguments[0]:document,e=Mr();return!!(e&&""!==e.toString().trim()&&e.containsNode&&Qn(t))&&e.containsNode(t,!0)},Am=kt.extend({name:"BTh",extends:Yp,computed:{tag:function(){return"th"}}});function Tm(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function Pm(t){for(var i=1;i0&&(y=String((this.currentPage-1)*this.perPage+e+1));var w=this.primaryKey,_=$n(Je(t,w))||null,S=_||$n(e),x=_?this.safeId("_row_".concat(_)):null,O=this.selectableRowClasses?this.selectableRowClasses(e):{},k=this.selectableRowAttrs?this.selectableRowAttrs(e):{},E=Wt(this.tbodyTrClass)?this.tbodyTrClass(t,"row"):this.tbodyTrClass,M=Wt(this.tbodyTrAttr)?this.tbodyTrAttr(t,"row"):this.tbodyTrAttr;if(h.push(r($p,{key:"__b-table-row-".concat(S,"__"),ref:"itemRows",refInFor:!0,class:[E,O,d?"b-table-has-details":""],props:{variant:t._rowVariant||null},attrs:Pm(Pm({id:x},M),{},{tabindex:f?"0":null,"data-pk":_||null,"aria-details":m,"aria-owns":m,"aria-rowindex":y},k),on:{mouseenter:this.rowHovered,mouseleave:this.rowUnhovered}},v)),d){var C={item:t,index:e,fields:o,toggleDetails:this.toggleDetailsFactory(l,t)};this.supportsSelectableRows&&(C.rowSelected=this.isRowSelected(e),C.selectRow=function(){return n.selectRow(e)},C.unselectRow=function(){return n.unselectRow(e)});var j=r(Yp,{props:{colspan:o.length},class:this.detailsTdClass},[this.normalizeSlot("row-details",C)]);c&&h.push(r("tr",{key:"__b-table-details-stripe__".concat(S),staticClass:"d-none",attrs:{"aria-hidden":"true",role:"presentation"}}));var I=Wt(this.tbodyTrClass)?this.tbodyTrClass(t,"row-details"):this.tbodyTrClass,A=Wt(this.tbodyTrAttr)?this.tbodyTrAttr(t,"row-details"):this.tbodyTrAttr;h.push(r($p,{key:"__b-table-details__".concat(S),staticClass:"b-table-details",class:[I],props:{variant:t._rowVariant||null},attrs:Pm(Pm({},A),{},{id:m,tabindex:"-1"})},[j]))}else l&&(h.push(r()),c&&h.push(r()));return h}}}],props:Dm(Dm({},Em),{},{tbodyClass:{type:[String,Array,Object]}}),beforeDestroy:function(){this.$_bodyFieldSlotNameCache=null},methods:{getTbodyTrs:function(){var t=this.$refs||{},tbody=t.tbody?t.tbody.$el||t.tbody:null,e=(t.itemRows||[]).map((function(tr){return tr.$el||tr}));return tbody&&tbody.children&&tbody.children.length>0&&e&&e.length>0?Cn(tbody.children).filter((function(tr){return jn(e,tr)})):[]},getTbodyTrIndex:function(t){if(!Qn(t))return-1;var tr="TR"===t.tagName?t:lr("tr",t,!0);return tr?this.getTbodyTrs().indexOf(tr):-1},emitTbodyRowEvent:function(t,e){if(t&&this.hasListener(t)&&e&&e.target){var n=this.getTbodyTrIndex(e.target);if(n>-1){var r=this.computedItems[n];this.$emit(t,r,n,e)}}},tbodyRowEvtStopped:function(t){return this.stopIfBusy&&this.stopIfBusy(t)},onTbodyRowKeydown:function(t){var e=t.target;if(!this.tbodyRowEvtStopped(t)&&"TR"===e.tagName&&rr(e)&&0===e.tabIndex){var n=t.keyCode;if(jn([xi,Mi],n))Gr(t),this.onTBodyRowClicked(t);else if(jn([Ci,_i,Oi,Si],n)){var r=this.getTbodyTrIndex(e);if(r>-1){Gr(t);var o=this.getTbodyTrs(),c=t.shiftKey;n===Oi||c&&n===Ci?Ar(o[0]):n===Si||c&&n===_i?Ar(o[o.length-1]):n===Ci&&r>0?Ar(o[r-1]):n===_i&&r0&&void 0!==arguments[0]&&arguments[0],n=this.$createElement,r=this.computedFields||[];if(this.isStackedAlways||0===r.length)return n();var o=this.isSortable,c=this.isSelectable,l=this.headVariant,d=this.footVariant,f=this.headRowVariant,h=this.footRowVariant,m=o||this.hasListener("head-clicked"),v=c?this.selectAllRows:Ss,y=c?this.clearSelected:Ss,w=function(r,c){var label=r.label,l=r.labelHtml,d=r.variant,f=r.stickyColumn,h=r.key,w=null;r.label.trim()||r.headerTitle||(w=Un(r.key));var _={};m&&(_.click=function(n){t.headClicked(n,r,e)},_.keydown=function(n){var o=n.keyCode;o!==xi&&o!==Mi||t.headClicked(n,r,e)});var S=o?t.sortTheadThAttrs(h,r,e):{},x=o?t.sortTheadThClasses(h,r,e):null,O=o?t.sortTheadThLabel(h,r,e):null,data={class:[t.fieldClasses(r),x],props:{variant:d,stickyColumn:f},style:r.thStyle||{},attrs:Hm(Hm({tabindex:m?"0":null,abbr:r.headerAbbr||null,title:r.headerTitle||null,"aria-colindex":c+1,"aria-label":w},t.getThValues(null,h,r.thAttr,e?"foot":"head",{})),S),on:_,key:h},k=["head(".concat(h,")"),"head(".concat(h.toLowerCase(),")"),"head()"];e&&(k=["foot(".concat(h,")"),"foot(".concat(h.toLowerCase(),")"),"foot()"].concat(Object(It.a)(k)));var E={label:label,column:h,field:r,isFoot:e,selectAllRows:v,clearSelected:y},M=t.normalizeSlot(k,E)||n("div",{domProps:$o(l,label)}),C=O?n("span",{staticClass:"sr-only"}," (".concat(O,")")):null;return n(Am,data,[M,C].filter(Xe))},_=r.map(w).filter(Xe),S=[];if(e)S.push(n($p,{class:this.tfootTrClass,props:{variant:Kt(h)?f:h}},_));else{var x={columns:r.length,fields:r,selectAllRows:v,clearSelected:y};S.push(this.normalizeSlot("thead-top",x)||n()),S.push(n($p,{class:this.theadTrClass,props:{variant:f}},_))}return n(e?Um:qm,{key:e?"bv-tfoot":"bv-thead",class:(e?this.tfootClass:this.theadClass)||null,props:e?{footVariant:d||l||null}:{headVariant:l||null}},S)}}},Km={methods:{renderTopRow:function(){var t=this.$createElement;if(!this.hasNormalizedSlot("top-row")||!0===this.stacked||""===this.stacked)return t();var e=this.computedFields;return t($p,{key:"b-top-row",staticClass:"b-table-top-row",class:[Wt(this.tbodyTrClass)?this.tbodyTrClass(null,"row-top"):this.tbodyTrClass],attrs:Wt(this.tbodyTrAttr)?this.tbodyTrAttr(null,"row-top"):this.tbodyTrAttr},[this.normalizeSlot("top-row",{columns:e.length,fields:e})])}}},Wm=kt.extend({name:"BTable",mixins:[Ri,Up,xa,zr,cm,xm,wm,Gm,Fm,Lm,wm,sm,ym,lm,Zp,Jp,hm,Qp,Km,qp,Xp,dm]}),Ym=kt.extend({name:"BTableLite",mixins:[Up,xa,zr,cm,xm,wm,Gm,Fm,Lm,Zp,Jp]}),Xm=kt.extend({name:"BTableSimple",mixins:[xa,zr,xm,wm],computed:{isTableSimple:function(){return!0}}}),Zm=dn({components:{BTable:Wm},plugins:{TableLitePlugin:dn({components:{BTableLite:Ym}}),TableSimplePlugin:dn({components:{BTableSimple:Xm,BTbody:Mm,BThead:qm,BTfoot:Um,BTr:$p,BTd:Yp,BTh:Am}})}});function Jm(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function Qm(t){for(var i=1;i0}},columns:{type:Number,default:5,validator:function(t){return t>0}},hideHeader:{type:Boolean,default:!1},showFooter:{type:Boolean,default:!1},tableProps:{type:Object,default:function(){}}},"BSkeletonTable"),render:function(t,e){var n=e.props,r=n.animation,o=n.columns,c=t("th",[t(Tp,{props:{animation:r}})]),l=t("tr",An(o,c)),d=t("td",[t(Tp,{props:{width:"75%",animation:r}})]),f=t("tr",An(o,d)),h=t("tbody",An(n.rows,f)),m=n.hideHeader?t():t("thead",[l]),v=n.showFooter?t("tfoot",[l]):t();return t(Xm,{props:Qm({},n.tableProps)},[m,h,v])}}),eb=kt.extend({name:"BSkeletonWrapper",functional:!0,props:Mn({loading:{type:Boolean,default:!1}},"BSkeletonWrapper"),render:function(t,e){var data=e.data,n=e.props,r=e.slots,o=e.scopedSlots,c=r(),l=o||{},d={};return n.loading?t("div",Ot(data,{attrs:{role:"alert","aria-live":"polite","aria-busy":!0},staticClass:"b-skeleton-wrapper",key:"loading"}),[Fr("loading",d,l,c)||t()]):Fr("default",d,l,c)||t()}}),nb=dn({components:{BSkeleton:Tp,BSkeletonIcon:Np,BSkeletonImg:Bp,BSkeletonTable:tb,BSkeletonWrapper:eb}}),rb=dn({components:{BSpinner:Oh}});function ib(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function ob(t){for(var i=1;i0){var n=t.map((function(t){return"#".concat(t.safeId())})).join(", ");e=sr(n,this.$el).map((function(t){return t.id})).filter(Xe)}return pm(t,(function(a,b){return e.indexOf(a.safeId())-e.indexOf(b.safeId())}))},updateTabs:function(){var t=this.getTabs(),e=t.indexOf(t.slice().reverse().find((function(t){return t.localActive&&!t.disabled})));if(e<0){var n=this.currentTab;n>=t.length?e=t.indexOf(t.slice().reverse().find(sb)):t[n]&&!t[n].disabled&&(e=n)}e<0&&(e=t.indexOf(t.find(sb))),t.forEach((function(t){t.localActive=!1})),t[e]&&(t[e].localActive=!0),this.tabs=t,this.currentTab=e},getButtonForTab:function(t){return(this.$refs.buttons||[]).find((function(e){return e.tab===t}))},updateButton:function(t){var button=this.getButtonForTab(t);button&&button.$forceUpdate&&button.$forceUpdate()},activateTab:function(t){var e=!1;if(t){var n=this.tabs.indexOf(t);if(!t.disabled&&n>-1&&n!==this.currentTab){var r=new ru("activate-tab",{cancelable:!0,vueTarget:this,componentId:this.safeId()});this.$emit(r.type,n,this.currentTab,r),r.defaultPrevented||(e=!0,this.currentTab=n)}}return e||this.currentTab===this.value||this.$emit("input",this.currentTab),e},deactivateTab:function(t){return!!t&&this.activateTab(this.tabs.filter((function(e){return e!==t})).find(sb))},focusButton:function(t){var e=this;this.$nextTick((function(){Ar(e.getButtonForTab(t))}))},emitTabClick:function(t,e){re(e)&&t&&t.$emit&&!t.disabled&&t.$emit("click",e)},clickTab:function(t,e){this.activateTab(t),this.emitTabClick(t,e)},firstTab:function(t){var e=this.tabs.find(sb);this.activateTab(e)&&t&&(this.focusButton(e),this.emitTabClick(e,t))},previousTab:function(t){var e=Qr(this.currentTab,0),n=this.tabs.slice(0,e).reverse().find(sb);this.activateTab(n)&&t&&(this.focusButton(n),this.emitTabClick(n,t))},nextTab:function(t){var e=Qr(this.currentTab,-1),n=this.tabs.slice(e+1).find(sb);this.activateTab(n)&&t&&(this.focusButton(n),this.emitTabClick(n,t))},lastTab:function(t){var e=this.tabs.slice().reverse().find(sb);this.activateTab(e)&&t&&(this.focusButton(e),this.emitTabClick(e,t))}},render:function(t){var e=this,n=this.tabs,r=this.noKeyNav,o=this.firstTab,c=this.previousTab,l=this.nextTab,d=this.lastTab,f=n.find((function(t){return t.localActive&&!t.disabled})),h=n.find((function(t){return!t.disabled})),m=n.map((function(m,v){var y=null;return r||(y=-1,(f===m||!f&&h===m)&&(y=null)),t(ub,{key:m._uid||v,ref:"buttons",refInFor:!0,props:{tab:m,tabs:n,id:m.controlledBy||(m.safeId?m.safeId("_BV_tab_button_"):null),controls:m.safeId?m.safeId():null,tabIndex:y,setSize:n.length,posInSet:v+1,noKeyNav:r},on:{click:function(t){e.clickTab(m,t)},first:o,prev:c,next:l,last:d}})})),nav=t(eh,{ref:"nav",class:this.localNavClass,attrs:{role:"tablist",id:this.safeId("_BV_tab_controls_")},props:{fill:this.fill,justified:this.justified,align:this.align,tabs:!this.noNavStyle&&!this.pills,pills:!this.noNavStyle&&this.pills,vertical:this.vertical,small:this.small,cardHeader:this.card&&!this.vertical}},[this.normalizeSlot("tabs-start")||t(),m,this.normalizeSlot("tabs-end")||t()]);nav=t("div",{key:"bv-tabs-nav",class:[{"card-header":this.card&&!this.vertical&&!this.end,"card-footer":this.card&&!this.vertical&&this.end,"col-auto":this.vertical},this.navWrapperClass]},[nav]);var v=t();n&&0!==n.length||(v=t("div",{key:"bv-empty-tab",class:["tab-pane","active",{"card-body":this.card}]},this.normalizeSlot("empty")));var content=t("div",{ref:"tabsContainer",key:"bv-tabs-container",staticClass:"tab-content",class:[{col:this.vertical},this.contentClass],attrs:{id:this.safeId("_BV_tab_container_")}},In(this.normalizeSlot(),v));return t(this.tag,{staticClass:"tabs",class:{row:this.vertical,"no-gutters":this.vertical&&this.card},attrs:{id:this.safeId()}},[this.end?content:t(),[nav],this.end?t():content])}}),BTab:kt.extend({name:"BTab",mixins:[xa,zr],inject:{bvTabs:{default:function(){return{}}}},props:Mn({active:{type:Boolean,default:!1},tag:{type:String,default:"div"},buttonId:{type:String},title:{type:String,default:""},titleItemClass:{type:[String,Array,Object]},titleLinkClass:{type:[String,Array,Object]},titleLinkAttributes:{type:Object},disabled:{type:Boolean,default:!1},noBody:{type:Boolean,default:!1},lazy:{type:Boolean,default:!1}},"BTab"),data:function(){return{localActive:this.active&&!this.disabled,show:!1}},computed:{tabClasses:function(){return[{active:this.localActive,disabled:this.disabled,"card-body":this.bvTabs.card&&!this.noBody},this.localActive?this.bvTabs.activeTabClass:null]},controlledBy:function(){return this.buttonId||this.safeId("__BV_tab_button__")},computedNoFade:function(){return!this.bvTabs.fade},computedLazy:function(){return this.bvTabs.lazy||this.lazy},_isTab:function(){return!0}},watch:{localActive:function(t){this.$emit("update:active",t)},active:function(t,e){t!==e&&(t?this.activate():this.deactivate()||this.$emit("update:active",this.localActive))},disabled:function(t,e){if(t!==e){var n=this.bvTabs.firstTab;t&&this.localActive&&n&&(this.localActive=!1,n())}}},mounted:function(){this.registerTab(),this.show=this.localActive},updated:function(){var t=this.bvTabs.updateButton;t&&this.hasNormalizedSlot("title")&&t(this)},destroyed:function(){this.unregisterTab()},methods:{registerTab:function(){var t=this.bvTabs.registerTab;t&&t(this)},unregisterTab:function(){var t=this.bvTabs.unregisterTab;t&&t(this)},activate:function(){var t=this.bvTabs.activateTab;return!(!t||this.disabled)&&t(this)},deactivate:function(){var t=this.bvTabs.deactivateTab;return!(!t||!this.localActive)&&t(this)}},render:function(t){var e=this.localActive,n=t(this.tag,{ref:"panel",staticClass:"tab-pane",class:this.tabClasses,directives:[{name:"show",rawName:"v-show",value:e,expression:"localActive"}],attrs:{role:"tabpanel",id:this.safeId(),"aria-hidden":e?"false":"true","aria-labelledby":this.controlledBy||null}},[e||!this.computedLazy?this.normalizeSlot():t()]);return t(Br,{props:{mode:"out-in",noFade:this.computedNoFade}},[n])}})}}),lb=dn({components:{BTime:kd}}),db=n(267),fb=Mn({name:{type:String,required:!0},ariaLive:{type:String,default:void 0},ariaAtomic:{type:String},role:{type:String}},"BToaster"),hb=kt.extend({data:function(){return{name:"b-toaster"}},methods:{onAfterEnter:function(t){var e=this;Zn((function(){mr(t,"".concat(e.name,"-enter-to"))}))}},render:function(t){return t("transition-group",{props:{tag:"div",name:this.name},on:{afterEnter:this.onAfterEnter}},this.$slots.default)}}),pb=kt.extend({name:"BToaster",props:fb,data:function(){return{doRender:!1,dead:!1,staticName:this.name}},beforeMount:function(){var t=this;this.staticName=this.name,db.Wormhole.hasTarget(this.staticName)?(Qe('A "" with name "'.concat(this.name,'" already exists in the document.'),"BToaster"),this.dead=!0):(this.doRender=!0,this.$once("hook:beforeDestroy",(function(){t.$root.$emit("bv::toaster::destroyed",t.staticName)})))},destroyed:function(){this.$el&&this.$el.parentNode&&this.$el.parentNode.removeChild(this.$el)},render:function(t){var e=t("div",{class:["d-none",{"b-dead-toaster":this.dead}]});if(this.doRender){var n=t(db.PortalTarget,{staticClass:"b-toaster-slot",props:{name:this.staticName,multiple:!0,tag:"div",slim:!1,transition:hb}});e=t("div",{staticClass:"b-toaster",class:[this.staticName],attrs:{id:this.staticName,role:this.role||null,"aria-live":this.ariaLive,"aria-atomic":this.ariaAtomic}},[n])}return e}});function mb(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function bb(t){for(var i=1;i1&&void 0!==arguments[1]?arguments[1]:{};return new ru(t,bb(bb({cancelable:!1,target:this.$el||null,relatedTarget:null},e),{},{vueTarget:this,componentId:this.safeId()}))},emitEvent:function(t){var e=t.type;this.emitOnRoot("bv::toast:".concat(e),t),this.$emit(e,t)},ensureToaster:function(){if(!this.static&&!db.Wormhole.hasTarget(this.computedToaster)){var div=document.createElement("div");document.body.appendChild(div),new pb({parent:this.$root,propsData:{name:this.computedToaster}}).$mount(div)}},startDismissTimer:function(){this.clearDismissTimer(),this.noAutoHide||(this.$_dismissTimer=setTimeout(this.hide,this.resumeDismiss||this.computedDuration),this.dismissStarted=Date.now(),this.resumeDismiss=0)},clearDismissTimer:function(){clearTimeout(this.$_dismissTimer),this.$_dismissTimer=null},setHoverHandler:function(t){var e=this.$refs["b-toast"];Hr(t,e,"mouseenter",this.onPause,_s),Hr(t,e,"mouseleave",this.onUnPause,_s)},onPause:function(){if(!this.noAutoHide&&!this.noHoverPause&&this.$_dismissTimer&&!this.resumeDismiss){var t=Date.now()-this.dismissStarted;t>0&&(this.clearDismissTimer(),this.resumeDismiss=Qr(this.computedDuration-t,1e3))}},onUnPause:function(){this.noAutoHide||this.noHoverPause||!this.resumeDismiss?this.resumeDismiss=this.dismissStarted=0:this.startDismissTimer()},onLinkClick:function(){var t=this;this.$nextTick((function(){Zn((function(){t.hide()}))}))},onBeforeEnter:function(){this.isTransitioning=!0},onAfterEnter:function(){this.isTransitioning=!1;var t=this.buildEvent("shown");this.emitEvent(t),this.startDismissTimer(),this.setHoverHandler(!0)},onBeforeLeave:function(){this.isTransitioning=!0},onAfterLeave:function(){this.isTransitioning=!1,this.order=0,this.resumeDismiss=this.dismissStarted=0;var t=this.buildEvent("hidden");this.emitEvent(t),this.doRender=!1},makeToast:function(t){var e=this,n=[],r=this.normalizeSlot("toast-title",this.slotScope);r?n.push(r):this.title&&n.push(t("strong",{staticClass:"mr-2"},this.title)),this.noCloseButton||n.push(t(Wr,{staticClass:"ml-auto mb-1",on:{click:function(){e.hide()}}}));var o=t();n.length>0&&(o=t("header",{staticClass:"toast-header",class:this.headerClass},n));var link=vi(this),c=t(link?zi:"div",{staticClass:"toast-body",class:this.bodyClass,props:link?fi(gb,this):{},on:link?{click:this.onLinkClick}:{}},[this.normalizeSlot("default",this.slotScope)||t()]);return t("div",{key:"toast-".concat(this._uid),ref:"toast",staticClass:"toast",class:this.toastClass,attrs:this.computedAttrs},[o,c])}},render:function(t){if(!this.doRender||!this.isMounted)return t();var e="b-toast-".concat(this._uid),n=this.static?{}:this.scopedStyleAttrs;return t(db.Portal,{props:{name:e,to:this.computedToaster,order:this.order,slim:!0,disabled:this.static}},[t("div",{key:e,ref:"b-toast",staticClass:"b-toast",class:this.bToastClasses,attrs:bb(bb({},n),{},{id:this.safeId("_toast_outer"),role:this.isHiding?null:this.isStatus?"status":"alert","aria-live":this.isHiding?null:this.isStatus?"polite":"assertive","aria-atomic":this.isHiding?null:"true"})},[t(Br,{props:{noFade:this.noFade},on:this.transitionHandlers},[this.localShow?this.makeToast(t):t()])])])}});function wb(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function _b(t){for(var i=1;i1&&void 0!==arguments[1]?arguments[1]:{};content&&!tn("$bvToast")&&n(_b(_b({},Ob(t)),{},{toastContent:content}),this._vm)}},{key:"show",value:function(t){t&&this._root.$emit("bv::show::toast",t)}},{key:"hide",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this._root.$emit("bv::hide::toast",t)}}]),t}();t.mixin({beforeCreate:function(){this._bv__toast=new r(this)}}),he(t.prototype,"$bvToast")||le(t.prototype,"$bvToast",{get:function(){return this&&this._bv__toast||Qe('"'.concat("$bvToast",'" must be accessed from a Vue instance "this" context.'),"BToast"),this._bv__toast}})}}})}});function Eb(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function Mb(t){for(var i=1;i=n){var r=this.$targets[this.$targets.length-1];this.$activeTarget!==r&&this.activate(r)}else{if(this.$activeTarget&&t0)return this.$activeTarget=null,void this.clear();for(var i=this.$offsets.length;i--;){this.$activeTarget!==this.$targets[i]&&t>=this.$offsets[i]&&(Ht(this.$offsets[i+1])||t0&&this.$root&&this.$root.$emit("bv::scrollspy::activate",t,n)}},{key:"clear",value:function(){var t=this;sr("".concat(this.$selector,", ").concat(".nav-item"),this.$el).filter((function(t){return gr(t,"active")})).forEach((function(e){return t.setActiveState(e,!1)}))}},{key:"setActiveState",value:function(t,e){t&&(e?pr(t,"active"):mr(t,"active"))}}],[{key:"Name",get:function(){return"v-b-scrollspy"}},{key:"Default",get:function(){return Zb}},{key:"DefaultType",get:function(){return Jb}}]),t}(),ng="__BV_ScrollSpy__",rg=/^\d+$/,ig=/^(auto|position|offset)$/,og=function(t,e,n){if(Lt.j){var r=function(t){var e={};return t.arg&&(e.element="#".concat(t.arg)),fe(t.modifiers).forEach((function(t){rg.test(t)?e.offset=Rn(t,0):ig.test(t)&&(e.method=t)})),Xt(t.value)?e.element=t.value:Zt(t.value)?e.offset=ii(t.value):te(t.value)&&fe(t.value).filter((function(t){return!!eg.DefaultType[t]})).forEach((function(n){e[n]=t.value[n]})),e}(e);t[ng]?t[ng].updateConfig(r,n.context.$root):t[ng]=new eg(t,r,n.context.$root)}},ag={install:ln({plugins:{componentsPlugin:qb,directivesPlugin:dn({plugins:{VBHoverPlugin:Vb,VBModalPlugin:Hb,VBPopoverPlugin:wp,VBScrollspyPlugin:dn({directives:{VBScrollspy:{bind:function(t,e,n){og(t,e,n)},inserted:function(t,e,n){og(t,e,n)},update:function(t,e,n){e.value!==e.oldValue&&og(t,e,n)},componentUpdated:function(t,e,n){e.value!==e.oldValue&&og(t,e,n)},unbind:function(t){!function(t){t[ng]&&(t[ng].dispose(),t[ng]=null,delete t[ng])}(t)}}}}),VBTogglePlugin:tu,VBTooltipPlugin:$b,VBVisiblePlugin:dn({directives:{VBVisible:rs}})}})}}),NAME:"BootstrapVue"};c.default.use(ag,{});var sg=n(735),ug=n.n(sg);c.default.use(ug.a,{});var cg=n(736),lg=n.n(cg),dg=n(737),fg=n.n(dg),hg={install:function(){c.default.prototype.$storyapi||(c.default.prototype.$storyapi=new lg.a({accessToken:"60GrGsOcRn9tVxaLjlofowtt",cache:{clear:"auto",type:"memory"},timeout:0}),c.default.prototype.$storybridge={doLoadScript:!0,proxy:null,on:function(t,e,n){var r=this;(n=n||{}).accessToken="60GrGsOcRn9tVxaLjlofowtt",this.load((function(){window.storyblok.init(n),window.storyblok.on(t,(function(t){"input"==t.action&&(t.story.content=r.proxy.addComments(t.story.content,t.story.id)),e(t)}))}))},load:function(t,e){if("function"!=typeof e&&(e=function(){}),window.location!=window.parent.location){if(!this.doLoadScript)return window.storyblok?void t():void e("The Storyblok bridge script is already loading.");this.doLoadScript=!1,function(t,e){if(document.getElementById("storyblok-javascript-bridge"))return e();var script=document.createElement("script");script.async=!0,script.src=t,script.id="storyblok-javascript-bridge",script.onerror=function(){e(new Error("Failed to load"+t))},script.onload=function(){e()},document.getElementsByTagName("head")[0].appendChild(script)}("https://app.storyblok.com/f/storyblok-latest.js",(function(){c.default.prototype.$storybridge.proxy=window.storyblok,t()}))}else e("You are not in the edit mode.")},resolveRelations:function(t,e){var n=n||{};n.accessToken="60GrGsOcRn9tVxaLjlofowtt",this.load((function(){var r=window.storyblok;r.init(n),r.on("input",(function(data){r.addComments(data.story.content,data.story.id),r.resolveRelations(data.story,t,(function(t){e(data)}))}))}))}})}};c.default.use(hg),c.default.use(fg.a);var pg=function(t){var e=t.app,n=t.store;e.$storyapi=c.default.prototype.$storyapi,t.$storyapi=c.default.prototype.$storyapi,e.$storybridge=c.default.prototype.$storybridge,t.$storybridge=c.default.prototype.$storybridge,n&&(n.$storyapi=c.default.prototype.$storyapi)},mg=(n(233),n(199)),bg="https://www.google.com/recaptcha/api.js",gg=function(){function t(e){var n=e.hideBadge,r=e.language,o=e.siteKey,c=e.version,l=e.size;if(Object(Et.a)(this,t),!o)throw new Error("ReCaptcha error: No key provided");if(!c)throw new Error("ReCaptcha error: No version provided");this._elements={},this._eventBus=null,this._ready=!1,this.hideBadge=n,this.language=r||"en",this.siteKey=o,this.version=c,this.size=l}var e;return Object(Mt.a)(t,[{key:"destroy",value:function(){if(this._ready){this._ready=!1;var head=document.head,style=this._elements.style,t=Object(It.a)(document.head.querySelectorAll("script")).filter((function(script){return script.src.includes("recaptcha")}));t.length&&t.forEach((function(script){return head.removeChild(script)})),head.contains(style)&&head.removeChild(style)}}},{key:"execute",value:(e=Object(r.a)(regeneratorRuntime.mark((function t(e){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.init();case 3:if(!("grecaptcha"in window)){t.next=5;break}return t.abrupt("return",window.grecaptcha.execute(this.siteKey,{action:e}));case 5:t.next=10;break;case 7:throw t.prev=7,t.t0=t.catch(0),new Error("ReCaptcha error: Failed to execute");case 10:case"end":return t.stop()}}),t,this,[[0,7]])}))),function(t){return e.apply(this,arguments)})},{key:"getResponse",value:function(){var t=this;return new Promise((function(e,n){if("grecaptcha"in window)if("invisible"==t.size)window.grecaptcha.execute(),window.recaptchaSuccessCallback=function(n){t._eventBus.emit("recaptcha-success",n),e(n)},window.recaptchaErrorCallback=function(e){t._eventBus.emit("recaptcha-error",e),n(e)};else{var r=window.grecaptcha.getResponse();if(r)t._eventBus.emit("recaptcha-success",r),e(r);else{t._eventBus.emit("recaptcha-error","Failed to execute"),n("Failed to execute")}}}))}},{key:"init",value:function(){var t=this;if(this._ready)return Promise.resolve();this._eventBus=new mg.EventEmitter,this._elements={script:document.createElement("script"),style:document.createElement("style")};var e=this._elements,script=e.script,style=e.style;return script.addEventListener("error",(function(){throw document.head.removeChild(script),new Error("ReCaptcha error: Failed to load script")})),script.setAttribute("async",""),script.setAttribute("defer",""),2===this.version?script.setAttribute("src",bg+"?hl="+this.language):script.setAttribute("src",bg+"?render="+this.siteKey),document.head.appendChild(script),window.recaptchaSuccessCallback=function(e){return t._eventBus.emit("recaptcha-success",e)},window.recaptchaExpiredCallback=function(){return t._eventBus.emit("recaptcha-expired")},window.recaptchaErrorCallback=function(){return t._eventBus.emit("recaptcha-error","Failed to execute")},this._ready=new Promise((function(e){script.addEventListener("load",(function(){3===t.version&&t.hideBadge?(style.innerHTML=".grecaptcha-badge { display: none }",document.head.appendChild(style)):2===t.version&&t.hideBadge&&(style.innerHTML=".grecaptcha-badge { visibility: hidden; }",document.head.appendChild(style)),window.grecaptcha.ready(e)}))})),this._ready}},{key:"on",value:function(t,e){return this._eventBus.on(t,e)}},{key:"reset",value:function(){2===this.version&&window.grecaptcha.reset()}}]),t}(),vg=function(t,e){c.default.component("recaptcha",(function(){return n.e(27).then(n.bind(null,1549))})),e("recaptcha",new gg({hideBadge:!0,siteKey:"6Lei4esZAAAAAIrbLIauIMSu9gncHdpMrdlswjJ8",version:2,size:"invisible"}))},yg=n(313),wg=n.n(yg),_g=n(738),Sg=n.n(_g);function xg(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return Og(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Og(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,l=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return c=t.done,t},e:function(t){l=!0,o=t},f:function(){try{c||null==n.return||n.return()}finally{if(l)throw o}}}}function Og(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i2&&void 0!==arguments[2]?arguments[2]:"common",o=xg(Array.isArray(r)?r:[r]);try{for(o.s();!(n=o.n()).done;){var c=n.value;if(!e)return void delete this.defaults.headers[c][t];this.defaults.headers[c][t]=e}}catch(t){o.e(t)}finally{o.f()}},setToken:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"common",r=t?(e?e+" ":"")+t:null;this.setHeader("Authorization",r,n)},onRequest:function(t){this.interceptors.request.use((function(e){return t(e)||e}))},onResponse:function(t){this.interceptors.response.use((function(e){return t(e)||e}))},onRequestError:function(t){this.interceptors.request.use(void 0,(function(e){return t(e)||Promise.reject(e)}))},onResponseError:function(t){this.interceptors.response.use(void 0,(function(e){return t(e)||Promise.reject(e)}))},onError:function(t){this.onRequestError(t),this.onResponseError(t)},create:function(t){return jg(Sg()(t,this.defaults))}},Eg=function(){var t=Cg[Mg];kg["$"+t]=function(){return this[t].apply(this,arguments).then((function(t){return t&&t.data}))}},Mg=0,Cg=["request","delete","get","head","options","post","put","patch"];Mg/g,">").replace(/"/g,""").replace(/'/g,"'"))})),t}var cv={beforeCreate:function(){var t=this.$options;if(t.i18n=t.i18n||(t.__i18n?{}:null),t.i18n)if(t.i18n instanceof Bv){if(t.__i18n)try{var e=t.i18n&&t.i18n.messages?t.i18n.messages:{};t.__i18n.forEach((function(t){e=av(e,JSON.parse(t))})),Object.keys(e).forEach((function(n){t.i18n.mergeLocaleMessage(n,e[n])}))}catch(t){0}this._i18n=t.i18n,this._i18nWatcher=this._i18n.watchI18nData()}else if(Jg(t.i18n)){var n=this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof Bv?this.$root.$i18n:null;if(n&&(t.i18n.root=this.$root,t.i18n.formatter=n.formatter,t.i18n.fallbackLocale=n.fallbackLocale,t.i18n.formatFallbackMessages=n.formatFallbackMessages,t.i18n.silentTranslationWarn=n.silentTranslationWarn,t.i18n.silentFallbackWarn=n.silentFallbackWarn,t.i18n.pluralizationRules=n.pluralizationRules,t.i18n.preserveDirectiveContent=n.preserveDirectiveContent),t.__i18n)try{var r=t.i18n&&t.i18n.messages?t.i18n.messages:{};t.__i18n.forEach((function(t){r=av(r,JSON.parse(t))})),t.i18n.messages=r}catch(t){0}var o=t.i18n.sharedMessages;o&&Jg(o)&&(t.i18n.messages=av(t.i18n.messages,o)),this._i18n=new Bv(t.i18n),this._i18nWatcher=this._i18n.watchI18nData(),(void 0===t.i18n.sync||t.i18n.sync)&&(this._localeWatcher=this.$i18n.watchLocale()),n&&n.onComponentInstanceCreated(this._i18n)}else 0;else this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof Bv?this._i18n=this.$root.$i18n:t.parent&&t.parent.$i18n&&t.parent.$i18n instanceof Bv&&(this._i18n=t.parent.$i18n)},beforeMount:function(){var t=this.$options;t.i18n=t.i18n||(t.__i18n?{}:null),t.i18n?(t.i18n instanceof Bv||Jg(t.i18n))&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0):(this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof Bv||t.parent&&t.parent.$i18n&&t.parent.$i18n instanceof Bv)&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0)},beforeDestroy:function(){if(this._i18n){var t=this;this.$nextTick((function(){t._subscribing&&(t._i18n.unsubscribeDataChanging(t),delete t._subscribing),t._i18nWatcher&&(t._i18nWatcher(),t._i18n.destroyVM(),delete t._i18nWatcher),t._localeWatcher&&(t._localeWatcher(),delete t._localeWatcher)}))}}},lv={name:"i18n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},path:{type:String,required:!0},locale:{type:String},places:{type:[Array,Object]}},render:function(t,e){var data=e.data,n=e.parent,r=e.props,o=e.slots,c=n.$i18n;if(c){var path=r.path,l=r.locale,d=r.places,f=o(),h=c.i(path,l,function(t){var e;for(e in t)if("default"!==e)return!1;return Boolean(e)}(f)||d?function(t,e){var n=e?function(t){0;return Array.isArray(t)?t.reduce(fv,{}):Object.assign({},t)}(e):{};if(!t)return n;var r=(t=t.filter((function(t){return t.tag||""!==t.text.trim()}))).every(hv);0;return t.reduce(r?dv:fv,n)}(f.default,d):f),m=r.tag&&!0!==r.tag||!1===r.tag?r.tag:"span";return m?t(m,data,h):h}}};function dv(t,e){return e.data&&e.data.attrs&&e.data.attrs.place&&(t[e.data.attrs.place]=e),t}function fv(t,e,n){return t[n]=e,t}function hv(t){return Boolean(t.data&&t.data.attrs&&t.data.attrs.place)}var pv,mv={name:"i18n-n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},value:{type:Number,required:!0},format:{type:[String,Object]},locale:{type:String}},render:function(t,e){var n=e.props,r=e.parent,data=e.data,o=r.$i18n;if(!o)return null;var c=null,l=null;Xg(n.format)?c=n.format:Yg(n.format)&&(n.format.key&&(c=n.format.key),l=Object.keys(n.format).reduce((function(t,e){var r;return rv(Gg,e)?Object.assign({},t,((r={})[e]=n.format[e],r)):t}),null));var d=n.locale||o.locale,f=o._ntp(n.value,d,c,l),h=f.map((function(t,e){var n,slot=data.scopedSlots&&data.scopedSlots[t.type];return slot?slot(((n={})[t.type]=t.value,n.index=e,n.parts=f,n)):t.value})),m=n.tag&&!0!==n.tag||!1===n.tag?n.tag:"span";return m?t(m,{attrs:data.attrs,class:data.class,staticClass:data.staticClass},h):h}};function bv(t,e,n){yv(t,n)&&wv(t,e,n)}function gv(t,e,n,r){if(yv(t,n)){var o=n.context.$i18n;(function(t,e){var n=e.context;return t._locale===n.$i18n.locale})(t,n)&&sv(e.value,e.oldValue)&&sv(t._localeMessage,o.getLocaleMessage(o.locale))||wv(t,e,n)}}function vv(t,e,n,r){if(n.context){var o=n.context.$i18n||{};e.modifiers.preserve||o.preserveDirectiveContent||(t.textContent=""),t._vt=void 0,delete t._vt,t._locale=void 0,delete t._locale,t._localeMessage=void 0,delete t._localeMessage}else Kg("Vue instance does not exists in VNode context")}function yv(t,e){var n=e.context;return n?!!n.$i18n||(Kg("VueI18n instance does not exists in Vue instance"),!1):(Kg("Vue instance does not exists in VNode context"),!1)}function wv(t,e,n){var r,o,c=function(t){var path,e,n,r;Xg(t)?path=t:Jg(t)&&(path=t.path,e=t.locale,n=t.args,r=t.choice);return{path:path,locale:e,args:n,choice:r}}(e.value),path=c.path,l=c.locale,d=c.args,f=c.choice;if(path||l||d)if(path){var h=n.context;t._vt=t.textContent=null!=f?(r=h.$i18n).tc.apply(r,[path,f].concat(_v(l,d))):(o=h.$i18n).t.apply(o,[path].concat(_v(l,d))),t._locale=h.$i18n.locale,t._localeMessage=h.$i18n.getLocaleMessage(h.$i18n.locale)}else Kg("`path` is required in v-t directive");else Kg("value type not supported")}function _v(t,e){var n=[];return t&&n.push(t),e&&(Array.isArray(e)||Jg(e))&&n.push(e),n}function Sv(t){Sv.installed=!0;var e;(pv=t).version&&Number(pv.version.split(".")[0]);(e=pv).prototype.hasOwnProperty("$i18n")||Object.defineProperty(e.prototype,"$i18n",{get:function(){return this._i18n}}),e.prototype.$t=function(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];var r=this.$i18n;return r._t.apply(r,[t,r.locale,r._getMessages(),this].concat(e))},e.prototype.$tc=function(t,e){for(var n=[],r=arguments.length-2;r-- >0;)n[r]=arguments[r+2];var o=this.$i18n;return o._tc.apply(o,[t,o.locale,o._getMessages(),this,e].concat(n))},e.prototype.$te=function(t,e){var n=this.$i18n;return n._te(t,n.locale,n._getMessages(),e)},e.prototype.$d=function(t){for(var e,n=[],r=arguments.length-1;r-- >0;)n[r]=arguments[r+1];return(e=this.$i18n).d.apply(e,[t].concat(n))},e.prototype.$n=function(t){for(var e,n=[],r=arguments.length-1;r-- >0;)n[r]=arguments[r+1];return(e=this.$i18n).n.apply(e,[t].concat(n))},pv.mixin(cv),pv.directive("t",{bind:bv,update:gv,unbind:vv}),pv.component(lv.name,lv),pv.component(mv.name,mv),pv.config.optionMergeStrategies.i18n=function(t,e){return void 0===e?t:e}}var xv=function(){this._caches=Object.create(null)};xv.prototype.interpolate=function(t,e){if(!e)return[t];var n=this._caches[t];return n||(n=function(t){var e=[],n=0,text="";for(;n0)m--,h=4,v[0]();else{if(m=0,void 0===e)return!1;if(!1===(e=jv(e)))return!1;v[1]()}};null!==h;)if(f++,"\\"!==(t=path[f])||!y()){if(r=Cv(t),8===(o=(l=Ev[h])[r]||l.else||8))return;if(h=o[0],(c=v[o[1]])&&(n=void 0===(n=o[2])?t:n,!1===c()))return;if(7===h)return d}}(path))&&(this._cache[path]=t),t||[]},Iv.prototype.getPathValue=function(t,path){if(!Yg(t))return null;var e=this.parsePath(path);if(0===e.length)return null;for(var n=e.length,r=t,i=0;i/,Pv=/(?:@(?:\.[a-z]+)?:(?:[\w\-_|.]+|\([\w\-_|.]+\)))/g,Rv=/^@(?:\.([a-z]+))?:/,Dv=/[()]/g,Lv={upper:function(t){return t.toLocaleUpperCase()},lower:function(t){return t.toLocaleLowerCase()},capitalize:function(t){return""+t.charAt(0).toLocaleUpperCase()+t.substr(1)}},Nv=new xv,Bv=function(t){var e=this;void 0===t&&(t={}),!pv&&"undefined"!=typeof window&&window.Vue&&Sv(window.Vue);var n=t.locale||"en-US",r=!1!==t.fallbackLocale&&(t.fallbackLocale||"en-US"),o=t.messages||{},c=t.dateTimeFormats||{},l=t.numberFormats||{};this._vm=null,this._formatter=t.formatter||Nv,this._modifiers=t.modifiers||{},this._missing=t.missing||null,this._root=t.root||null,this._sync=void 0===t.sync||!!t.sync,this._fallbackRoot=void 0===t.fallbackRoot||!!t.fallbackRoot,this._formatFallbackMessages=void 0!==t.formatFallbackMessages&&!!t.formatFallbackMessages,this._silentTranslationWarn=void 0!==t.silentTranslationWarn&&t.silentTranslationWarn,this._silentFallbackWarn=void 0!==t.silentFallbackWarn&&!!t.silentFallbackWarn,this._dateTimeFormatters={},this._numberFormatters={},this._path=new Iv,this._dataListeners=[],this._componentInstanceCreatedListener=t.componentInstanceCreatedListener||null,this._preserveDirectiveContent=void 0!==t.preserveDirectiveContent&&!!t.preserveDirectiveContent,this.pluralizationRules=t.pluralizationRules||{},this._warnHtmlInMessage=t.warnHtmlInMessage||"off",this._postTranslation=t.postTranslation||null,this._escapeParameterHtml=t.escapeParameterHtml||!1,this.getChoiceIndex=function(t,n){var r=Object.getPrototypeOf(e);if(r&&r.getChoiceIndex)return r.getChoiceIndex.call(e,t,n);var o,c;return e.locale in e.pluralizationRules?e.pluralizationRules[e.locale].apply(e,[t,n]):(o=t,c=n,o=Math.abs(o),2===c?o?o>1?1:0:1:o?Math.min(o,2):0)},this._exist=function(t,n){return!(!t||!n)&&(!Qg(e._path.getPathValue(t,n))||!!t[n])},"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||Object.keys(o).forEach((function(t){e._checkLocaleMessage(t,e._warnHtmlInMessage,o[t])})),this._initVM({locale:n,fallbackLocale:r,messages:o,dateTimeFormats:c,numberFormats:l})},Uv={vm:{configurable:!0},messages:{configurable:!0},dateTimeFormats:{configurable:!0},numberFormats:{configurable:!0},availableLocales:{configurable:!0},locale:{configurable:!0},fallbackLocale:{configurable:!0},formatFallbackMessages:{configurable:!0},missing:{configurable:!0},formatter:{configurable:!0},silentTranslationWarn:{configurable:!0},silentFallbackWarn:{configurable:!0},preserveDirectiveContent:{configurable:!0},warnHtmlInMessage:{configurable:!0},postTranslation:{configurable:!0}};Bv.prototype._checkLocaleMessage=function(t,e,n){var r=function(t,e,n,o){if(Jg(n))Object.keys(n).forEach((function(c){var l=n[c];Jg(l)?(o.push(c),o.push("."),r(t,e,l,o),o.pop(),o.pop()):(o.push(c),r(t,e,l,o),o.pop())}));else if(Wg(n))n.forEach((function(n,c){Jg(n)?(o.push("["+c+"]"),o.push("."),r(t,e,n,o),o.pop(),o.pop()):(o.push("["+c+"]"),r(t,e,n,o),o.pop())}));else if(Xg(n)){if(Tv.test(n)){var c="Detected HTML in message '"+n+"' of keypath '"+o.join("")+"' at '"+e+"'. Consider component interpolation with '' to avoid XSS. See https://bit.ly/2ZqJzkp";"warn"===t?Kg(c):"error"===t&&function(t,e){"undefined"!=typeof console&&(console.error("[vue-i18n] "+t),e&&console.error(e.stack))}(c)}}};r(e,t,n,[])},Bv.prototype._initVM=function(data){var t=pv.config.silent;pv.config.silent=!0,this._vm=new pv({data:data}),pv.config.silent=t},Bv.prototype.destroyVM=function(){this._vm.$destroy()},Bv.prototype.subscribeDataChanging=function(t){this._dataListeners.push(t)},Bv.prototype.unsubscribeDataChanging=function(t){!function(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)t.splice(n,1)}}(this._dataListeners,t)},Bv.prototype.watchI18nData=function(){var t=this;return this._vm.$watch("$data",(function(){for(var i=t._dataListeners.length;i--;)pv.nextTick((function(){t._dataListeners[i]&&t._dataListeners[i].$forceUpdate()}))}),{deep:!0})},Bv.prototype.watchLocale=function(){if(!this._sync||!this._root)return null;var t=this._vm;return this._root.$i18n.vm.$watch("locale",(function(e){t.$set(t,"locale",e),t.$forceUpdate()}),{immediate:!0})},Bv.prototype.onComponentInstanceCreated=function(t){this._componentInstanceCreatedListener&&this._componentInstanceCreatedListener(t,this)},Uv.vm.get=function(){return this._vm},Uv.messages.get=function(){return nv(this._getMessages())},Uv.dateTimeFormats.get=function(){return nv(this._getDateTimeFormats())},Uv.numberFormats.get=function(){return nv(this._getNumberFormats())},Uv.availableLocales.get=function(){return Object.keys(this.messages).sort()},Uv.locale.get=function(){return this._vm.locale},Uv.locale.set=function(t){this._vm.$set(this._vm,"locale",t)},Uv.fallbackLocale.get=function(){return this._vm.fallbackLocale},Uv.fallbackLocale.set=function(t){this._localeChainCache={},this._vm.$set(this._vm,"fallbackLocale",t)},Uv.formatFallbackMessages.get=function(){return this._formatFallbackMessages},Uv.formatFallbackMessages.set=function(t){this._formatFallbackMessages=t},Uv.missing.get=function(){return this._missing},Uv.missing.set=function(t){this._missing=t},Uv.formatter.get=function(){return this._formatter},Uv.formatter.set=function(t){this._formatter=t},Uv.silentTranslationWarn.get=function(){return this._silentTranslationWarn},Uv.silentTranslationWarn.set=function(t){this._silentTranslationWarn=t},Uv.silentFallbackWarn.get=function(){return this._silentFallbackWarn},Uv.silentFallbackWarn.set=function(t){this._silentFallbackWarn=t},Uv.preserveDirectiveContent.get=function(){return this._preserveDirectiveContent},Uv.preserveDirectiveContent.set=function(t){this._preserveDirectiveContent=t},Uv.warnHtmlInMessage.get=function(){return this._warnHtmlInMessage},Uv.warnHtmlInMessage.set=function(t){var e=this,n=this._warnHtmlInMessage;if(this._warnHtmlInMessage=t,n!==t&&("warn"===t||"error"===t)){var r=this._getMessages();Object.keys(r).forEach((function(t){e._checkLocaleMessage(t,e._warnHtmlInMessage,r[t])}))}},Uv.postTranslation.get=function(){return this._postTranslation},Uv.postTranslation.set=function(t){this._postTranslation=t},Bv.prototype._getMessages=function(){return this._vm.messages},Bv.prototype._getDateTimeFormats=function(){return this._vm.dateTimeFormats},Bv.prototype._getNumberFormats=function(){return this._vm.numberFormats},Bv.prototype._warnDefault=function(t,e,n,r,o,c){if(!Qg(n))return n;if(this._missing){var l=this._missing.apply(null,[t,e,r,o]);if(Xg(l))return l}else 0;if(this._formatFallbackMessages){var d=ev.apply(void 0,o);return this._render(e,c,d.params,e)}return e},Bv.prototype._isFallbackRoot=function(t){return!t&&!Qg(this._root)&&this._fallbackRoot},Bv.prototype._isSilentFallbackWarn=function(t){return this._silentFallbackWarn instanceof RegExp?this._silentFallbackWarn.test(t):this._silentFallbackWarn},Bv.prototype._isSilentFallback=function(t,e){return this._isSilentFallbackWarn(e)&&(this._isFallbackRoot()||t!==this.fallbackLocale)},Bv.prototype._isSilentTranslationWarn=function(t){return this._silentTranslationWarn instanceof RegExp?this._silentTranslationWarn.test(t):this._silentTranslationWarn},Bv.prototype._interpolate=function(t,e,n,r,o,c,l){if(!e)return null;var d,f=this._path.getPathValue(e,n);if(Wg(f)||Jg(f))return f;if(Qg(f)){if(!Jg(e))return null;if(!Xg(d=e[n])&&!tv(d))return null}else{if(!Xg(f)&&!tv(f))return null;d=f}return Xg(d)&&(d.indexOf("@:")>=0||d.indexOf("@.")>=0)&&(d=this._link(t,e,d,r,"raw",c,l)),this._render(d,o,c,n)},Bv.prototype._link=function(t,e,n,r,o,c,l){var d=n,f=d.match(Pv);for(var h in f)if(f.hasOwnProperty(h)){var link=f[h],m=link.match(Rv),v=m[0],y=m[1],w=link.replace(v,"").replace(Dv,"");if(rv(l,w))return d;l.push(w);var _=this._interpolate(t,e,w,r,"raw"===o?"string":o,"raw"===o?void 0:c,l);if(this._isFallbackRoot(_)){if(!this._root)throw Error("unexpected error");var S=this._root.$i18n;_=S._translate(S._getMessages(),S.locale,S.fallbackLocale,w,r,o,c)}_=this._warnDefault(t,w,_,r,Wg(c)?c:[c],o),this._modifiers.hasOwnProperty(y)?_=this._modifiers[y](_):Lv.hasOwnProperty(y)&&(_=Lv[y](_)),l.pop(),d=_?d.replace(link,_):d}return d},Bv.prototype._createMessageContext=function(t){var e=Wg(t)?t:[],n=Yg(t)?t:{};return{list:function(t){return e[t]},named:function(t){return n[t]}}},Bv.prototype._render=function(t,e,n,path){if(tv(t))return t(this._createMessageContext(n));var r=this._formatter.interpolate(t,n,path);return r||(r=Nv.interpolate(t,n,path)),"string"!==e||Xg(r)?r:r.join("")},Bv.prototype._appendItemToChain=function(t,e,n){var r=!1;return rv(t,e)||(r=!0,e&&(r="!"!==e[e.length-1],e=e.replace(/!/g,""),t.push(e),n&&n[e]&&(r=n[e]))),r},Bv.prototype._appendLocaleToChain=function(t,e,n){var r,o=e.split("-");do{var c=o.join("-");r=this._appendItemToChain(t,c,n),o.splice(-1,1)}while(o.length&&!0===r);return r},Bv.prototype._appendBlockToChain=function(t,e,n){for(var r=!0,i=0;i0;)c[l]=arguments[l+4];if(!t)return"";var d=ev.apply(void 0,c);this._escapeParameterHtml&&(d.params=uv(d.params));var f=d.locale||e,h=this._translate(n,f,this.fallbackLocale,t,r,"string",d.params);if(this._isFallbackRoot(h)){if(!this._root)throw Error("unexpected error");return(o=this._root).$t.apply(o,[t].concat(c))}return h=this._warnDefault(f,t,h,r,c,"string"),this._postTranslation&&null!=h&&(h=this._postTranslation(h,t)),h},Bv.prototype.t=function(t){for(var e,n=[],r=arguments.length-1;r-- >0;)n[r]=arguments[r+1];return(e=this)._t.apply(e,[t,this.locale,this._getMessages(),null].concat(n))},Bv.prototype._i=function(t,e,n,r,o){var c=this._translate(n,e,this.fallbackLocale,t,r,"raw",o);if(this._isFallbackRoot(c)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.i(t,e,o)}return this._warnDefault(e,t,c,r,[o],"raw")},Bv.prototype.i=function(t,e,n){return t?(Xg(e)||(e=this.locale),this._i(t,e,this._getMessages(),null,n)):""},Bv.prototype._tc=function(t,e,n,r,o){for(var c,l=[],d=arguments.length-5;d-- >0;)l[d]=arguments[d+5];if(!t)return"";void 0===o&&(o=1);var f={count:o,n:o},h=ev.apply(void 0,l);return h.params=Object.assign(f,h.params),l=null===h.locale?[h.params]:[h.locale,h.params],this.fetchChoice((c=this)._t.apply(c,[t,e,n,r].concat(l)),o)},Bv.prototype.fetchChoice=function(t,e){if(!t||!Xg(t))return null;var n=t.split("|");return n[e=this.getChoiceIndex(e,n.length)]?n[e].trim():t},Bv.prototype.tc=function(t,e){for(var n,r=[],o=arguments.length-2;o-- >0;)r[o]=arguments[o+2];return(n=this)._tc.apply(n,[t,this.locale,this._getMessages(),null,e].concat(r))},Bv.prototype._te=function(t,e,n){for(var r=[],o=arguments.length-3;o-- >0;)r[o]=arguments[o+3];var c=ev.apply(void 0,r).locale||e;return this._exist(n[c],t)},Bv.prototype.te=function(t,e){return this._te(t,this.locale,this._getMessages(),e)},Bv.prototype.getLocaleMessage=function(t){return nv(this._vm.messages[t]||{})},Bv.prototype.setLocaleMessage=function(t,e){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(t,this._warnHtmlInMessage,e),this._vm.$set(this._vm.messages,t,e)},Bv.prototype.mergeLocaleMessage=function(t,e){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(t,this._warnHtmlInMessage,e),this._vm.$set(this._vm.messages,t,av({},this._vm.messages[t]||{},e))},Bv.prototype.getDateTimeFormat=function(t){return nv(this._vm.dateTimeFormats[t]||{})},Bv.prototype.setDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,e),this._clearDateTimeFormat(t,e)},Bv.prototype.mergeDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,av(this._vm.dateTimeFormats[t]||{},e)),this._clearDateTimeFormat(t,e)},Bv.prototype._clearDateTimeFormat=function(t,e){for(var n in e){var r=t+"__"+n;this._dateTimeFormatters.hasOwnProperty(r)&&delete this._dateTimeFormatters[r]}},Bv.prototype._localizeDateTime=function(t,e,n,r,o){for(var c=e,l=r[c],d=this._getLocaleChain(e,n),i=0;i0;)e[n]=arguments[n+1];var r=this.locale,o=null;return 1===e.length?Xg(e[0])?o=e[0]:Yg(e[0])&&(e[0].locale&&(r=e[0].locale),e[0].key&&(o=e[0].key)):2===e.length&&(Xg(e[0])&&(o=e[0]),Xg(e[1])&&(r=e[1])),this._d(t,r,o)},Bv.prototype.getNumberFormat=function(t){return nv(this._vm.numberFormats[t]||{})},Bv.prototype.setNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,e),this._clearNumberFormat(t,e)},Bv.prototype.mergeNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,av(this._vm.numberFormats[t]||{},e)),this._clearNumberFormat(t,e)},Bv.prototype._clearNumberFormat=function(t,e){for(var n in e){var r=t+"__"+n;this._numberFormatters.hasOwnProperty(r)&&delete this._numberFormatters[r]}},Bv.prototype._getNumberFormatter=function(t,e,n,r,o,c){for(var l=e,d=r[l],f=this._getLocaleChain(e,n),i=0;i0;)e[n]=arguments[n+1];var r=this.locale,o=null,c=null;return 1===e.length?Xg(e[0])?o=e[0]:Yg(e[0])&&(e[0].locale&&(r=e[0].locale),e[0].key&&(o=e[0].key),c=Object.keys(e[0]).reduce((function(t,n){var r;return rv(Gg,n)?Object.assign({},t,((r={})[n]=e[0][n],r)):t}),null)):2===e.length&&(Xg(e[0])&&(o=e[0]),Xg(e[1])&&(r=e[1])),this._n(t,r,o,c)},Bv.prototype._ntp=function(t,e,n,r){if(!Bv.availabilities.numberFormat)return[];if(!n)return(r?new Intl.NumberFormat(e,r):new Intl.NumberFormat(e)).formatToParts(t);var o=this._getNumberFormatter(t,e,this.fallbackLocale,this._getNumberFormats(),n,r),c=o&&o.formatToParts(t);if(this._isFallbackRoot(c)){if(!this._root)throw Error("unexpected error");return this._root.$i18n._ntp(t,e,n,r)}return c||[]},Object.defineProperties(Bv.prototype,Uv),Object.defineProperty(Bv,"availabilities",{get:function(){if(!Av){var t="undefined"!=typeof Intl;Av={dateTimeFormat:t&&void 0!==Intl.DateTimeFormat,numberFormat:t&&void 0!==Intl.NumberFormat}}return Av}}),Bv.install=Sv,Bv.version="8.22.2";var Fv=Bv;n(1045);function zv(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function $v(t){for(var i=1;i=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,l=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return c=t.done,t},e:function(t){l=!0,o=t},f:function(){try{c||null==n.return||n.return()}finally{if(l)throw o}}}}function Vv(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,l=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return c=t.done,t},e:function(t){l=!0,o=t},f:function(){try{c||null==n.return||n.return()}finally{if(l)throw o}}}}function ry(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i1&&r.sort((function(t,e){return t.score===e.score?e.code.length-t.code.length:e.score-t.score})),r.length?r[0].code:null},oy=function(t,e){return"function"==typeof t?t(e):t},ay=function(t,e,n){var r=n.localDomainKey,o=n.localeCodeKey,c=null;if(c=window.location.host){var l=t.find((function(t){return t[r]===c}));if(l)return l[o]}return null},sy=function(t,e){var n,r=e.useCookie,o=e.cookieKey,c=e.localeCodes;if(r&&(n=Qv.a.get(o),c.includes(n)))return n},uy=function(t,e,n){var r=n.useCookie,o=n.cookieDomain,c=n.cookieKey,l=n.cookieSecure,d=n.cookieCrossOrigin;if(r){var f=new Date,h={expires:new Date(f.setDate(f.getDate()+365)),path:"/",sameSite:d?"none":"lax",secure:d||l};o&&(h.domain=o),Qv.a.set(c,t,h)}},cy=function(t,e,n,r){t.registerModule(e.moduleName,{namespaced:!0,state:function(){return ey(ey(ey({},e.syncLocale?{locale:""}:{}),e.syncMessages?{messages:{}}:{}),e.syncRouteParams?{routeParams:{}}:{})},actions:ey(ey(ey({},e.syncLocale?{setLocale:function(t,e){(0,t.commit)("setLocale",e)}}:{}),e.syncMessages?{setMessages:function(t,e){(0,t.commit)("setMessages",e)}}:{}),e.syncRouteParams?{setRouteParams:function(t,e){(0,t.commit)("setRouteParams",e)}}:{}),mutations:ey(ey(ey({},e.syncLocale?{setLocale:function(t,e){t.locale=e}}:{}),e.syncMessages?{setMessages:function(t,e){t.messages=e}}:{}),e.syncRouteParams?{setRouteParams:function(t,e){t.routeParams=e}}:{}),getters:ey({},e.syncRouteParams?{localeRouteParams:function(t){var e=t.routeParams;return function(t){return e[t]||{}}}}:{})},{preserveState:!!t.state[e.moduleName]})},ly=function(){var t=Object(r.a)(regeneratorRuntime.mark((function t(e){var n,r,o,c,l=arguments;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=l.length>1&&void 0!==l[1]?l[1]:null,r=l.length>2&&void 0!==l[2]?l[2]:null,o=l.length>3?l[3]:void 0,!(c=o.vuex)||!e){t.next=10;break}if(null===n||!c.syncLocale){t.next=7;break}return t.next=7,e.dispatch(c.moduleName+"/setLocale",n);case 7:if(null===r||!c.syncMessages){t.next=10;break}return t.next=10,e.dispatch(c.moduleName+"/setMessages",r);case 10:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();c.default.use(Fv);var dy,fy,hy,py,my,by,gy,vy,yy=Pg.m.alwaysRedirect,wy=Pg.m.onlyOnRoot,_y=Pg.m.fallbackLocale,Sy=(dy=Pg.p,fy={routesNameSeparator:Pg.t,defaultLocaleRouteNameSuffix:Pg.l},hy=fy.routesNameSeparator,py=fy.defaultLocaleRouteNameSuffix,my="(".concat(dy.join("|"),")"),by="(?:".concat(hy).concat(py,")?"),gy=new RegExp("".concat(hy).concat(my).concat(by,"$"),"i"),vy=new RegExp("^/".concat(my,"/"),"i"),function(t){if(t.name){var e=t.name.match(gy);if(e&&e.length>1)return e[1]}else if(t.path){var n=t.path.match(vy);if(n&&n.length>1)return n[1]}return null}),xy=function(){var t=Object(r.a)(regeneratorRuntime.mark((function t(e){var o,l,d,f,h,m,v,y,w,_,S,x,O,k,E,M,C,j,I,A,T,P,R;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=e.app,l=e.route,d=e.store,f=e.req,e.res,h=e.redirect,Pg.x&&d&&cy(d,Pg.x,Pg.p,Pg.g),m=Pg.m.useCookie,v=Pg.m.cookieKey,y=Pg.m.cookieDomain,w=Pg.m.cookieSecure,_=Pg.m.cookieCrossOrigin,S=function(){var t=Object(r.a)(regeneratorRuntime.mark((function t(r){var c,l,f,v,y,w,_,S,O=arguments;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(c=O.length>1&&void 0!==O[1]?O[1]:{},l=c.initialSetup,(f=void 0!==l&&l)||!o.i18n.differentDomains){t.next=3;break}return t.abrupt("return");case 3:if(r!==o.i18n.locale){t.next=5;break}return t.abrupt("return");case 5:if(v=o.i18n.locale,f||o.i18n.beforeLanguageSwitch(v,r),m&&o.i18n.setLocaleCookie(r),!Pg.o){t.next=15;break}if(y=n(1050),w=y.loadLanguageAsync,!o.i18n.fallbackLocale||r===o.i18n.fallbackLocale){t.next=13;break}return t.next=13,w(e,o.i18n.fallbackLocale);case 13:return t.next=15,w(e,r);case 15:return o.i18n.locale=r,t.next=18,ly(d,r,o.i18n.getLocaleMessage(r),{vuex:Pg.x});case 18:_=e.route,S=x(_,r),f?o.i18n.__redirect=S:(o.i18n.onLanguageSwitched(v,r),S&&h(S));case 21:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),x=function(t,e){if(!e||o.i18n.differentDomains||Pg.u===Pg.h.NO_PREFIX)return"";if(Sy(t)===e&&(!wy||e!==Pg.k||Pg.u!==Pg.h.PREFIX_AND_DEFAULT))return"";var n=o.switchLocalePath(e);return n||(n=o.localePath(t.fullPath,e)),n===t.fullPath?"":n},O=function(){var t=Object(r.a)(regeneratorRuntime.mark((function t(n){var r,path,c,l;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("/"!==n.path||!Pg.s){t.next=5;break}return r=302,path=Pg.s,"string"!=typeof Pg.s&&(r=Pg.s.statusCode,path=Pg.s.path),t.abrupt("return",[r,"/".concat(path),!0]);case 5:if(!(c=o.i18n.__redirect)){t.next=9;break}return o.i18n.__redirect=null,t.abrupt("return",[302,c]);case 9:return o.i18n.__baseUrl=oy(Pg.i,e),l=Pg.m&&k(n)||Sy(n)||o.i18n.locale||o.i18n.defaultLocale||"",t.next=13,o.i18n.setLocale(l);case 13:return t.abrupt("return",[null,null]);case 14:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),k=function(t){if(wy&&Pg.u!==Pg.h.NO_PREFIX&&"/"!==t.path)return!1;var e;m&&(e=o.i18n.getLocaleCookie())||("undefined"!=typeof navigator&&navigator.languages?e=iy(Pg.p,navigator.languages):f&&void 0!==f.headers["accept-language"]&&(e=iy(Pg.p,f.headers["accept-language"].split(",").map((function(t){return t.split(";")[0]})))));var n=e||_y;return!(!n||m&&!yy&&o.i18n.getLocaleCookie()||n===o.i18n.locale)&&n},E=function(t){t.locales=Pg.q,t.defaultLocale=Pg.k,t.differentDomains=Pg.n,t.beforeLanguageSwitch=Pg.j,t.onLanguageSwitched=Pg.r,t.setLocaleCookie=function(t){return uy(t,0,{useCookie:m,cookieDomain:y,cookieKey:v,cookieSecure:w,cookieCrossOrigin:_})},t.getLocaleCookie=function(){return sy(0,{useCookie:m,cookieKey:v,localeCodes:Pg.p})},t.setLocale=function(t){return S(t)},t.__baseUrl=o.i18n.__baseUrl},(M="function"==typeof Pg.w?Object(Pg.w)(e):Hg()(Pg.w)).componentInstanceCreatedListener=E,o.i18n=new Fv(M),o.i18n.locale="",o.i18n.fallbackLocale=M.fallbackLocale||"",E(o.i18n),o.i18n.__baseUrl=oy(Pg.i,e),o.i18n.__onNavigate=O,c.default.prototype.$nuxtI18nSeo=Hv,d&&(d.$i18n=o.i18n,d.state.localeDomains&&o.i18n.locales.forEach((function(t){t.domain=d.state.localeDomains[t.code]}))),(C=Pg.m&&k(l))||(Pg.x&&Pg.x.syncLocale&&d&&""!==d.state[Pg.x.moduleName].locale?C=d.state[Pg.x.moduleName].locale:o.i18n.differentDomains?(j={localDomainKey:Pg.d,localeCodeKey:Pg.c},I=ay(Pg.q,0,j),C=I):Pg.u!==Pg.h.NO_PREFIX?(A=Sy(l),C=A):m&&(C=o.i18n.getLocaleCookie())),C||(C=o.i18n.defaultLocale||""),t.next=24,S(C,{initialSetup:!0});case 24:if(!Pg.b){t.next=32;break}return t.next=27,O(e.route);case 27:T=t.sent,P=Object(X.a)(T,2),P[0],(R=P[1])&&location.assign(R);case 32:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),Oy=n(740),ky=n.n(Oy);function Ey(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function My(t){for(var i=1;i has been deprecated and will be removed in Nuxt 3, please use instead")),v.a.render(t,e)}})),c.default.component(G.name,G),c.default.component("NChild",G),c.default.component(Z.name,Z),Object.defineProperty(c.default.prototype,"$nuxt",{get:function(){return this.$root.$options.$nuxt},configurable:!0}),c.default.use(d.a,{keyName:"head",attribute:"data-n-head",ssrAttribute:"data-n-head-ssr",tagIDKeyName:"hid"});var Fy={name:"page",mode:"out-in",appear:!0,appearClass:"appear",appearActiveClass:"appear-active",appearToClass:"appear-to"};l.a.Store.prototype.registerModule;function zy(t){return $y.apply(this,arguments)}function $y(){return($y=Object(r.a)(regeneratorRuntime.mark((function t(e){var n,r,o,l,d,f,path,h,m=arguments;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return h=function(t,e){if(!t)throw new Error("inject(key, value) has no key provided");if(void 0===e)throw new Error("inject('".concat(t,"', value) has no value provided"));l[t="$"+t]=e,l.context[t]||(l.context[t]=e),o[t]=l[t];var n="__nuxt_"+t+"_installed__";c.default[n]||(c.default[n]=!0,c.default.use((function(){Object.prototype.hasOwnProperty.call(c.default.prototype,t)||Object.defineProperty(c.default.prototype,t,{get:function(){return this.$root.$options[t]}})})))},n=m.length>1&&void 0!==m[1]?m[1]:{},t.next=4,H();case 4:return r=t.sent,(o=ft(e)).$router=r,l=Uy({head:{title:"nxt statista",meta:[{charset:"utf-8"},{name:"viewport",content:"width=device-width, initial-scale=1"},{hid:"description",name:"description",content:""}],script:[{id:"Cookiebot","data-cbid":"e8a5b6cd-8882-4e3a-8a73-dd5b87628aa3","data-blockingmode":"auto",src:"https://consent.cookiebot.com/uc.js"}],link:[{rel:"icon",type:"image/x-icon",href:"/favicon.ico"}],style:[]},store:o,router:r,nuxt:{defaultTransition:Fy,transitions:[Fy],setTransitions:function(t){return Array.isArray(t)||(t=[t]),t=t.map((function(t){return t=t?"string"==typeof t?Object.assign({},Fy,{name:t}):Object.assign({},Fy,t):Fy})),this.$options.nuxt.transitions=t,t},err:null,dateErr:null,error:function(t){t=t||null,l.context._errored=Boolean(t),t=t?Object(w.p)(t):null;var n=l.nuxt;return this&&(n=this.nuxt||this.$options.nuxt),n.dateErr=Date.now(),n.err=t,e&&(e.nuxt.error=t),t}}},at),o.app=l,d=e?e.next:function(t){return l.router.push(t)},e?f=r.resolve(e.url).route:(path=Object(w.f)(r.options.base,r.options.mode),f=r.resolve(path).route),t.next=13,Object(w.t)(l,{store:o,route:f,next:d,error:l.nuxt.error.bind(l),payload:e?e.payload:void 0,req:e?e.req:void 0,res:e?e.res:void 0,beforeRenderFns:e?e.beforeRenderFns:void 0,ssrContext:e});case 13:h("config",n),window.__NUXT__&&window.__NUXT__.state&&o.replaceState(window.__NUXT__.state),l.context.enablePreview=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};l.previewData=Object.assign({},t),h("preview",t)},t.next=19;break;case 19:t.next=22;break;case 22:t.next=25;break;case 25:return t.next=28,pg(l.context);case 28:return t.next=31,vg(l.context,h);case 31:return t.next=34,Ag(l.context,h);case 34:return t.next=37,qg(l.context);case 37:if("function"!=typeof xy){t.next=40;break}return t.next=40,xy(l.context,h);case 40:if("function"!=typeof Cy){t.next=43;break}return t.next=43,Cy(l.context,h);case 43:if("function"!=typeof jy.a){t.next=46;break}return t.next=46,Object(jy.a)(l.context,h);case 46:if("function"!=typeof Iy.a){t.next=49;break}return t.next=49,Object(Iy.a)(l.context,h);case 49:if("function"!=typeof Ay.default){t.next=52;break}return t.next=52,Object(Ay.default)(l.context,h);case 52:if("function"!=typeof Ty.default){t.next=55;break}return t.next=55,Object(Ty.default)(l.context,h);case 55:if("function"!=typeof Py.default){t.next=58;break}return t.next=58,Object(Py.default)(l.context,h);case 58:if("function"!=typeof Ry.a){t.next=61;break}return t.next=61,Object(Ry.a)(l.context,h);case 61:if("function"!=typeof Dy.default){t.next=64;break}return t.next=64,Object(Dy.default)(l.context,h);case 64:if("function"!=typeof Ly.default){t.next=67;break}return t.next=67,Object(Ly.default)(l.context,h);case 67:if("function"!=typeof Ny.default){t.next=70;break}return t.next=70,Object(Ny.default)(l.context,h);case 70:l.context.enablePreview=function(){console.warn("You cannot call enablePreview() outside a plugin.")},t.next=74;break;case 74:return t.abrupt("return",{store:o,app:l,router:r});case 75:case"end":return t.stop()}}),t)})))).apply(this,arguments)}},,,,,function(t,e,n){var r=n(196),o=n(570),c=n(211),l=n(337),d=Object.defineProperty;e.f=r?d:function(t,e,n){if(c(t),e=l(e,!0),c(n),o)try{return d(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var r=n(20).Buffer,o=n(558).Transform,c=n(253).StringDecoder;function l(t){o.call(this),this.hashMode="string"==typeof t,this.hashMode?this[t]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}n(15)(l,o),l.prototype.update=function(data,t,e){"string"==typeof data&&(data=r.from(data,t));var n=this._update(data);return this.hashMode?this:(e&&(n=this._toString(n,e)),n)},l.prototype.setAutoPadding=function(){},l.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},l.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},l.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},l.prototype._transform=function(data,t,e){var n;try{this.hashMode?this._update(data):this.push(this._update(data))}catch(t){n=t}finally{e(n)}},l.prototype._flush=function(t){var e;try{this.push(this.__final())}catch(t){e=t}t(e)},l.prototype._finalOrDigest=function(t){var e=this.__final()||r.alloc(0);return t&&(e=this._toString(e,t,!0)),e},l.prototype._toString=function(t,e,n){if(this._decoder||(this._decoder=new c(e),this._encoding=e),this._encoding!==e)throw new Error("can't switch encodings");var r=this._decoder.write(t);return n&&(r+=this._decoder.end()),r},t.exports=l},,function(t,e,n){"use strict";var r;n.d(e,"a",(function(){return r})),function(t){t.API_KEY="API_KEY",t.AWS_IAM="AWS_IAM",t.OPENID_CONNECT="OPENID_CONNECT",t.AMAZON_COGNITO_USER_POOLS="AMAZON_COGNITO_USER_POOLS"}(r||(r={}))},,,,,,,,function(t,e,n){"use strict";var r=n(330),o=Object.keys||function(t){var e=[];for(var n in t)e.push(n);return e};t.exports=v;var c=Object.create(n(285));c.inherits=n(15);var l=n(559),d=n(417);c.inherits(v,l);for(var f=o(d.prototype),h=0;h0&&r[r.length-1])||6!==c[0]&&2!==c[0])){o=0;continue}if(3===c[0]&&(!r||c[1]>r[0]&&c[1]0&&r[r.length-1])||6!==c[0]&&2!==c[0])){o=0;continue}if(3===c[0]&&(!r||c[1]>r[0]&&c[1]0&&r[r.length-1])||6!==c[0]&&2!==c[0])){o=0;continue}if(3===c[0]&&(!r||c[1]>r[0]&&c[1]0)&&!(r=i.next()).done;)c.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return c},A="undefined"!=typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("amplify_default"):"@@amplify_default",T=function(t,data,e){c.a.dispatch("auth",{event:t,data:data,message:e},"Auth",A)},P=new o.a("OAuth"),R=function(){function t(t){var e=t.config,n=t.cognitoClientId,r=t.scopes,o=void 0===r?[]:r;if(this._urlOpener=e.urlOpener||S,this._config=e,this._cognitoClientId=n,!this.isValidScopes(o))throw Error("scopes must be a String Array");this._scopes=o}return t.prototype.isValidScopes=function(t){return Array.isArray(t)&&t.every((function(t){return"string"==typeof t}))},t.prototype.oauthSignIn=function(t,e,n,o,c,l){void 0===t&&(t="code"),void 0===c&&(c=r.b.Cognito);var d=this._generateState(32),f=l?d+"-"+l.split("").map((function(t){return t.charCodeAt(0).toString(16).padStart(2,"0")})).join(""):d;!function(t){window.sessionStorage.setItem("oauth_state",t)}(f);var h,m=this._generateRandom(128);h=m,window.sessionStorage.setItem("ouath_pkce_key",h);var v=this._generateChallenge(m),y=this._scopes.join(" "),w="https://"+e+"/oauth2/authorize?"+Object.entries(M(M({redirect_uri:n,response_type:t,client_id:o,identity_provider:c,scope:y,state:f},"code"===t?{code_challenge:v}:{}),"code"===t?{code_challenge_method:"S256"}:{})).map((function(t){var e=I(t,2),n=e[0],r=e[1];return encodeURIComponent(n)+"="+encodeURIComponent(r)})).join("&");P.debug("Redirecting to "+w),this._urlOpener(w,n)},t.prototype._handleCodeFlow=function(t){return C(this,void 0,void 0,(function(){var code,e,n,o,c,l,body,d,f,h,m,v;return j(this,(function(y){switch(y.label){case 0:return(code=(Object(_.parse)(t).query||"").split("&").map((function(t){return t.split("=")})).reduce((function(t,e){var n,r=I(e,2),o=r[0],c=r[1];return M(M({},t),((n={})[o]=c,n))}),{code:void 0}).code)?(e="https://"+this._config.domain+"/oauth2/token",T("codeFlow",{},"Retrieving tokens from "+e),n=Object(r.d)(this._config)?this._cognitoClientId:this._config.clientID,o=Object(r.d)(this._config)?this._config.redirectSignIn:this._config.redirectUri,w=window.sessionStorage.getItem("ouath_pkce_key"),window.sessionStorage.removeItem("ouath_pkce_key"),l=M({grant_type:"authorization_code",code:code,client_id:n,redirect_uri:o},(c=w)?{code_verifier:c}:{}),P.debug("Calling token endpoint: "+e+" with",l),body=Object.entries(l).map((function(t){var e=I(t,2),n=e[0],r=e[1];return encodeURIComponent(n)+"="+encodeURIComponent(r)})).join("&"),[4,fetch(e,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:body})]):[2];case 1:return[4,y.sent().json()];case 2:if(d=y.sent(),f=d.access_token,h=d.refresh_token,m=d.id_token,v=d.error)throw new Error(v);return[2,{accessToken:f,refreshToken:h,idToken:m}]}var w}))}))},t.prototype._handleImplicitFlow=function(t){return C(this,void 0,void 0,(function(){var e,n,r;return j(this,(function(o){return e=(Object(_.parse)(t).hash||"#").substr(1).split("&").map((function(t){return t.split("=")})).reduce((function(t,e){var n,r=I(e,2),o=r[0],c=r[1];return M(M({},t),((n={})[o]=c,n))}),{id_token:void 0,access_token:void 0}),n=e.id_token,r=e.access_token,T("implicitFlow",{},"Got tokens from "+t),P.debug("Retrieving implicit tokens from "+t+" with"),[2,{accessToken:r,idToken:n,refreshToken:null}]}))}))},t.prototype.handleAuthResponse=function(t){return C(this,void 0,void 0,(function(){var e,n,r,o,c,l,d;return j(this,(function(f){switch(f.label){case 0:if(f.trys.push([0,5,,6]),e=t?M(M({},(Object(_.parse)(t).hash||"#").substr(1).split("&").map((function(t){return t.split("=")})).reduce((function(t,e){var n=I(e,2),r=n[0],o=n[1];return t[r]=o,t}),{})),(Object(_.parse)(t).query||"").split("&").map((function(t){return t.split("=")})).reduce((function(t,e){var n=I(e,2),r=n[0],o=n[1];return t[r]=o,t}),{})):{},n=e.error,r=e.error_description,n)throw new Error(r);return o=this._validateState(e),P.debug("Starting "+this._config.responseType+" flow with "+t),"code"!==this._config.responseType?[3,2]:(c=[{}],[4,this._handleCodeFlow(t)]);case 1:return[2,M.apply(void 0,[M.apply(void 0,c.concat([f.sent()])),{state:o}])];case 2:return l=[{}],[4,this._handleImplicitFlow(t)];case 3:return[2,M.apply(void 0,[M.apply(void 0,l.concat([f.sent()])),{state:o}])];case 4:return[3,6];case 5:throw d=f.sent(),P.error("Error handling auth response.",d),d;case 6:return[2]}}))}))},t.prototype._validateState=function(t){if(t){var e,n=(e=window.sessionStorage.getItem("oauth_state"),window.sessionStorage.removeItem("oauth_state"),e),r=t.state;if(n&&n!==r)throw new Error("Invalid state in OAuth flow");return r}},t.prototype.signOut=function(){return C(this,void 0,void 0,(function(){var t,e,n;return j(this,(function(o){return t="https://"+this._config.domain+"/logout?",e=Object(r.d)(this._config)?this._cognitoClientId:this._config.oauth.clientID,n=Object(r.d)(this._config)?this._config.redirectSignOut:this._config.returnTo,t+=Object.entries({client_id:e,logout_uri:encodeURIComponent(n)}).map((function(t){var e=I(t,2);return e[0]+"="+e[1]})).join("&"),T("oAuthSignOut",{oAuth:"signOut"},"Signing out from "+t),P.debug("Signing out from "+t),[2,this._urlOpener(t)]}))}))},t.prototype._generateState=function(t){for(var e="",i=t,n="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";i>0;--i)e+=n[Math.round(Math.random()*(n.length-1))];return e},t.prototype._generateChallenge=function(code){return this._base64URL(O()(code))},t.prototype._base64URL=function(t){return t.toString(E.a).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")},t.prototype._generateRandom=function(t){var e=new Uint8Array(t);if("undefined"!=typeof window&&window.crypto)window.crypto.getRandomValues(e);else for(var i=0;i0&&r[r.length-1])||6!==c[0]&&2!==c[0])){o=0;continue}if(3===c[0]&&(!r||c[1]>r[0]&&c[1]0)&&!(r=i.next()).done;)c.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return c},G=new o.a("AuthClass"),K="undefined"!=typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("amplify_default"):"@@amplify_default",W=function(t,data,e){c.a.dispatch("auth",{event:t,data:data,message:e},"Auth",K)},Y=new(function(){function t(t){var e=this;this.userPool=null,this.user=null,this.oAuthFlowInProgress=!1,this.Credentials=l.a,this.wrapRefreshSessionCallback=function(t){return function(e,data){return data?W("tokenRefresh",void 0,"New token retrieved"):W("tokenRefresh_failure",e,"Failed to retrieve new token"),t(e,data)}},this.configure(t),this.currentCredentials=this.currentCredentials.bind(this),this.currentUserCredentials=this.currentUserCredentials.bind(this),c.a.listen("auth",(function(t){switch(t.payload.event){case"signIn":e._storage.setItem("amplify-signin-with-hostedUI","false");break;case"signOut":e._storage.removeItem("amplify-signin-with-hostedUI");break;case"cognitoHostedUI":e._storage.setItem("amplify-signin-with-hostedUI","true")}}))}return t.prototype.getModuleName=function(){return"Auth"},t.prototype.configure=function(t){var e=this;if(!t)return this._config||{};G.debug("configure Auth");var n=Object.assign({},this._config,d.a.parseMobilehubConfig(t).Auth,t);this._config=n;var o=this._config,c=o.userPoolId,l=o.userPoolWebClientId,v=o.cookieStorage,y=o.oauth,_=o.region,S=o.identityPoolId,x=o.mandatorySignIn,O=o.refreshHandlers,k=o.identityPoolRegion,E=o.clientMetadata,M=o.endpoint;if(this._config.storage){if(!this._isValidAuthStorage(this._config.storage))throw G.error("The storage in the Auth config is not valid!"),new Error("Empty storage object");this._storage=this._config.storage}else this._storage=v?new w.i(v):t.ssr?new f.a:(new h.a).getStorage();if(this._storageSync=Promise.resolve(),"function"==typeof this._storage.sync&&(this._storageSync=this._storage.sync()),c){var C={UserPoolId:c,ClientId:l,endpoint:M};C.Storage=this._storage,this.userPool=new w.g(C,this.wrapRefreshSessionCallback)}this.Credentials.configure({mandatorySignIn:x,region:k||_,userPoolId:c,identityPoolId:S,refreshHandlers:O,storage:this._storage});var j=y?Object(r.d)(this._config.oauth)?y:y.awsCognito:void 0;if(j){var I=Object.assign({cognitoClientId:l,UserPoolId:c,domain:j.domain,scopes:j.scope,redirectSignIn:j.redirectSignIn,redirectSignOut:j.redirectSignOut,responseType:j.responseType,Storage:this._storage,urlOpener:j.urlOpener,clientMetadata:E},j.options);this._oAuthHandler=new R({scopes:I.scopes,config:I,cognitoClientId:I.cognitoClientId});var A={};!function(t){if(m.a.browserOrNode().isBrowser&&window.location)t({url:window.location.href});else if(!m.a.browserOrNode().isNode)throw new Error("Not supported")}((function(t){var n=t.url;A[n]||(A[n]=!0,e._handleAuthResponse(n))}))}return W("configured",null,"The Auth category has been configured successfully"),this._config},t.prototype.signUp=function(t){for(var e=this,n=[],o=1;o>5==6?2:t>>4==14?3:t>>3==30?4:t>>6==2?-1:-2}function d(t){var p=this.lastTotal-this.lastNeed,e=function(t,e,p){if(128!=(192&e[0]))return t.lastNeed=0,"�";if(t.lastNeed>1&&e.length>1){if(128!=(192&e[1]))return t.lastNeed=1,"�";if(t.lastNeed>2&&e.length>2&&128!=(192&e[2]))return t.lastNeed=2,"�"}}(this,t);return void 0!==e?e:this.lastNeed<=t.length?(t.copy(this.lastChar,p,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(t.copy(this.lastChar,p,0,t.length),void(this.lastNeed-=t.length))}function f(t,i){if((t.length-i)%2==0){var e=t.toString("utf16le",i);if(e){var n=e.charCodeAt(e.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],e.slice(0,-1)}return e}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",i,t.length-1)}function h(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,n)}return e}function m(t,i){var e=(t.length-i)%3;return 0===e?t.toString("base64",i):(this.lastNeed=3-e,this.lastTotal=3,1===e?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",i,t.length-e))}function v(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function y(t){return t.toString(this.encoding)}function w(t){return t&&t.length?this.write(t):""}e.StringDecoder=c,c.prototype.write=function(t){if(0===t.length)return"";var e,i;if(this.lastNeed){if(void 0===(e=this.fillLast(t)))return"";i=this.lastNeed,this.lastNeed=0}else i=0;return i=0)return r>0&&(t.lastNeed=r-1),r;if(--n=0)return r>0&&(t.lastNeed=r-2),r;if(--n=0)return r>0&&(2===r?r=0:t.lastNeed=r-3),r;return 0}(this,t,i);if(!this.lastNeed)return t.toString("utf8",i);this.lastTotal=e;var n=t.length-(e-this.lastNeed);return t.copy(this.lastChar,0,n),t.toString("utf8",i,n)},c.prototype.fillLast=function(t){if(this.lastNeed<=t.length)return t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),this.lastNeed-=t.length}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},function(t,e){t.exports=!0},function(t,e,n){var r=n(430),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e,n){var r=n(335);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){"use strict";(function(e,r){var o=n(20).Buffer,c=e.crypto||e.msCrypto;c&&c.getRandomValues?t.exports=function(t,e){if(t>4294967295)throw new RangeError("requested too many random bytes");var n=o.allocUnsafe(t);if(t>0)if(t>65536)for(var l=0;l2?"one of ".concat(e," ").concat(t.slice(0,n-1).join(", "),", or ")+t[n-1]:2===n?"one of ".concat(e," ").concat(t[0]," or ").concat(t[1]):"of ".concat(e," ").concat(t[0])}return"of ".concat(e," ").concat(String(t))}o("ERR_INVALID_OPT_VALUE",(function(t,e){return'The value "'+e+'" is invalid for option "'+t+'"'}),TypeError),o("ERR_INVALID_ARG_TYPE",(function(t,e,n){var r,o,l,d;if("string"==typeof e&&(o="not ",e.substr(!l||l<0?0:+l,o.length)===o)?(r="must not be",e=e.replace(/^not /,"")):r="must be",function(t,e,n){return(void 0===n||n>t.length)&&(n=t.length),t.substring(n-e.length,n)===e}(t," argument"))d="The ".concat(t," ").concat(r," ").concat(c(e,"type"));else{var f=function(t,e,n){return"number"!=typeof n&&(n=0),!(n+e.length>t.length)&&-1!==t.indexOf(e,n)}(t,".")?"property":"argument";d='The "'.concat(t,'" ').concat(f," ").concat(r," ").concat(c(e,"type"))}return d+=". Received type ".concat(typeof n)}),TypeError),o("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),o("ERR_METHOD_NOT_IMPLEMENTED",(function(t){return"The "+t+" method is not implemented"})),o("ERR_STREAM_PREMATURE_CLOSE","Premature close"),o("ERR_STREAM_DESTROYED",(function(t){return"Cannot call "+t+" after a stream was destroyed"})),o("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),o("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),o("ERR_STREAM_WRITE_AFTER_END","write after end"),o("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),o("ERR_UNKNOWN_ENCODING",(function(t){return"Unknown encoding: "+t}),TypeError),o("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),t.exports.codes=r},function(t,e,n){"use strict";(function(e){var r=Object.keys||function(t){var e=[];for(var n in t)e.push(n);return e};t.exports=h;var o=n(636),c=n(640);n(15)(h,o);for(var l=r(c.prototype),d=0;d=this._finalSize&&(this._update(this._block),this._block.fill(0));var n=8*this._len;if(n<=4294967295)this._block.writeUInt32BE(n,this._blockSize-4);else{var r=(4294967295&n)>>>0,o=(n-r)/4294967296;this._block.writeUInt32BE(o,this._blockSize-8),this._block.writeUInt32BE(r,this._blockSize-4)}this._update(this._block);var c=this._hash();return t?c.toString(t):c},o.prototype._update=function(){throw new Error("_update must be implemented by subclass")},t.exports=o},function(t,e,n){var r=n(1163),o=n(1166);t.exports=function(object,t){var e=o(object,t);return r(e)?e:void 0}},function(t,e,n){"use strict";n.d(e,"b",(function(){return x})),n.d(e,"a",(function(){return O}));var r=n(185),o=n(173),c=n(1335),l=function(t,e,n,r){return new(n||(n=Promise))((function(o,c){function l(t){try{f(r.next(t))}catch(t){c(t)}}function d(t){try{f(r.throw(t))}catch(t){c(t)}}function f(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(l,d)}f((r=r.apply(t,e||[])).next())}))},d=function(t,body){var e,n,r,g,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return g={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(g[Symbol.iterator]=function(){return this}),g;function c(c){return function(l){return function(c){if(e)throw new TypeError("Generator is already executing.");for(;o;)try{if(e=1,n&&(r=2&c[0]?n.return:c[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,c[1])).done)return r;switch(n=0,r&&(c=[2&c[0],r.value]),c[0]){case 0:case 1:r=c;break;case 4:return o.label++,{value:c[1],done:!1};case 5:o.label++,n=c[1],c=[0];continue;case 7:c=o.ops.pop(),o.trys.pop();continue;default:if(!(r=o.trys,(r=r.length>0&&r[r.length-1])||6!==c[0]&&2!==c[0])){o=0;continue}if(3===c[0]&&(!r||c[1]>r[0]&&c[1]0&&r[r.length-1])||6!==c[0]&&2!==c[0])){o=0;continue}if(3===c[0]&&(!r||c[1]>r[0]&&c[1]1&&void 0!==arguments[1]&&arguments[1],n=t.to,r=t.from;if(n&&(r||!1!==e)&&this.transports[n])if(e)this.transports[n]=[];else{var o=this.$_getTransportIndex(t);if(o>=0){var c=this.transports[n].slice(0);c.splice(o,1),this.transports[n]=c}}},registerTarget:function(t,e,n){d&&(this.trackInstances&&!n&&this.targets[t]&&console.warn("[portal-vue]: Target ".concat(t," already exists")),this.$set(this.targets,t,Object.freeze([e])))},unregisterTarget:function(t){this.$delete(this.targets,t)},registerSource:function(source,t,e){d&&(this.trackInstances&&!e&&this.sources[source]&&console.warn("[portal-vue]: source ".concat(source," already exists")),this.$set(this.sources,source,Object.freeze([t])))},unregisterSource:function(source){this.$delete(this.sources,source)},hasTarget:function(t){return!(!this.targets[t]||!this.targets[t][0])},hasSource:function(t){return!(!this.sources[t]||!this.sources[t][0])},hasContentFor:function(t){return!!this.transports[t]&&!!this.transports[t].length},$_getTransportIndex:function(t){var e=t.to,n=t.from;for(var i in this.transports[e])if(this.transports[e][i].from===n)return+i;return-1}}}))(h),w=1,_=o.extend({name:"portal",props:{disabled:{type:Boolean},name:{type:String,default:function(){return String(w++)}},order:{type:Number,default:0},slim:{type:Boolean},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"DIV"},to:{type:String,default:function(){return String(Math.round(1e7*Math.random()))}}},created:function(){var t=this;this.$nextTick((function(){y.registerSource(t.name,t)}))},mounted:function(){this.disabled||this.sendUpdate()},updated:function(){this.disabled?this.clear():this.sendUpdate()},beforeDestroy:function(){y.unregisterSource(this.name),this.clear()},watch:{to:function(t,e){e&&e!==t&&this.clear(e),this.sendUpdate()}},methods:{clear:function(t){var e={from:this.name,to:t||this.to};y.close(e)},normalizeSlots:function(){return this.$scopedSlots.default?[this.$scopedSlots.default]:this.$slots.default},normalizeOwnChildren:function(t){return"function"==typeof t?t(this.slotProps):t},sendUpdate:function(){var t=this.normalizeSlots();if(t){var e={from:this.name,to:this.to,passengers:l(t),order:this.order};y.open(e)}else this.clear()}},render:function(t){var e=this.$slots.default||this.$scopedSlots.default||[],n=this.tag;return e&&this.disabled?e.length<=1&&this.slim?this.normalizeOwnChildren(e)[0]:t(n,[this.normalizeOwnChildren(e)]):this.slim?t():t(n,{class:{"v-portal":!0},style:{display:"none"},key:"v-portal-placeholder"})}}),S=o.extend({name:"portalTarget",props:{multiple:{type:Boolean,default:!1},name:{type:String,required:!0},slim:{type:Boolean,default:!1},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"div"},transition:{type:[String,Object,Function]}},data:function(){return{transports:y.transports,firstRender:!0}},created:function(){var t=this;this.$nextTick((function(){y.registerTarget(t.name,t)}))},watch:{ownTransports:function(){this.$emit("change",this.children().length>0)},name:function(t,e){y.unregisterTarget(e),y.registerTarget(t,this)}},mounted:function(){var t=this;this.transition&&this.$nextTick((function(){t.firstRender=!1}))},beforeDestroy:function(){y.unregisterTarget(this.name)},computed:{ownTransports:function(){var t=this.transports[this.name]||[];return this.multiple?t:0===t.length?[]:[t[t.length-1]]},passengers:function(){return function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.reduce((function(t,n){var r=n.passengers[0],o="function"==typeof r?r(e):n.passengers;return t.concat(o)}),[])}(this.ownTransports,this.slotProps)}},methods:{children:function(){return 0!==this.passengers.length?this.passengers:this.$scopedSlots.default?this.$scopedSlots.default(this.slotProps):this.$slots.default||[]},noWrapper:function(){var t=this.slim&&!this.transition;return t&&this.children().length>1&&console.warn("[portal-vue]: PortalTarget with `slim` option received more than one child element."),t}},render:function(t){var e=this.noWrapper(),n=this.children(),r=this.transition||this.tag;return e?n[0]:this.slim&&!r?t():t(r,{props:{tag:this.transition&&this.tag?this.tag:void 0},class:{"vue-portal-target":!0}},n)}}),x=0,O=["disabled","name","order","slim","slotProps","tag","to"],k=["multiple","transition"],E=o.extend({name:"MountingPortal",inheritAttrs:!1,props:{append:{type:[Boolean,String]},bail:{type:Boolean},mountTo:{type:String,required:!0},disabled:{type:Boolean},name:{type:String,default:function(){return"mounted_"+String(x++)}},order:{type:Number,default:0},slim:{type:Boolean},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"DIV"},to:{type:String,default:function(){return String(Math.round(1e7*Math.random()))}},multiple:{type:Boolean,default:!1},targetSlim:{type:Boolean},targetSlotProps:{type:Object,default:function(){return{}}},targetTag:{type:String,default:"div"},transition:{type:[String,Object,Function]}},created:function(){if("undefined"!=typeof document){var t=document.querySelector(this.mountTo);if(t){var e=this.$props;if(y.targets[e.name])e.bail?console.warn("[portal-vue]: Target ".concat(e.name," is already mounted.\n Aborting because 'bail: true' is set")):this.portalTarget=y.targets[e.name];else{var n=e.append;if(n){var r="string"==typeof n?n:"DIV",o=document.createElement(r);t.appendChild(o),t=o}var c=f(this.$props,k);c.slim=this.targetSlim,c.tag=this.targetTag,c.slotProps=this.targetSlotProps,c.name=this.to,this.portalTarget=new S({el:t,parent:this.$parent||this,propsData:c})}}else console.error("[portal-vue]: Mount Point '".concat(this.mountTo,"' not found in document"))}},beforeDestroy:function(){var t=this.portalTarget;if(this.append){var e=t.$el;e.parentNode.removeChild(e)}t.$destroy()},render:function(t){if(!this.portalTarget)return console.warn("[portal-vue] Target wasn't mounted"),t();if(!this.$scopedSlots.manual){var e=f(this.$props,O);return t(_,{props:e,attrs:this.$attrs,on:this.$listeners,scopedSlots:this.$scopedSlots},this.$slots.default)}var content=this.$scopedSlots.manual({to:this.to});return Array.isArray(content)&&(content=content[0]),content||t()}});var M={install:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.component(e.portalName||"Portal",_),t.component(e.portalTargetName||"PortalTarget",S),t.component(e.MountingPortalName||"MountingPortal",E)}};e.default=M,e.Portal=_,e.PortalTarget=S,e.MountingPortal=E,e.Wormhole=y},function(t,e,n){var r;t.exports=(r=n(163),n(302),n(1051),r.HmacSHA256)},function(t,e,n){"use strict";var r={name:"NoSsr",functional:!0,props:{placeholder:String,placeholderTag:{type:String,default:"div"}},render:function(t,e){var n=e.parent,r=e.slots,o=e.props,c=r(),l=c.default;void 0===l&&(l=[]);var d=c.placeholder;return n._isMounted?l:(n.$once("hook:mounted",(function(){n.$forceUpdate()})),o.placeholderTag&&(o.placeholder||d)?t(o.placeholderTag,{class:["no-ssr-placeholder"]},o.placeholder||d):l.length>0?l.map((function(){return t(!1)})):t(!1))}};t.exports=r},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),c=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)c.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return c},o={clockOffset:0,getDateWithClockOffset:function(){return o.clockOffset?new Date((new Date).getTime()+o.clockOffset):new Date},getClockOffset:function(){return o.clockOffset},getHeaderStringFromDate:function(t){return void 0===t&&(t=o.getDateWithClockOffset()),t.toISOString().replace(/[:\-]|\.\d{3}/g,"")},getDateFromHeaderString:function(header){var t=r(header.match(/^(\d{4})(\d{2})(\d{2})T(\d{2})(\d{2})(\d{2}).+/),7),e=t[1],n=t[2],o=t[3],c=t[4],l=t[5],d=t[6];return new Date(Date.UTC(Number(e),Number(n)-1,Number(o),Number(c),Number(l),Number(d)))},isClockSkewed:function(t){return Math.abs(t.getTime()-o.getDateWithClockOffset().getTime())>=3e5},isClockSkewError:function(t){if(!t.response||!t.response.headers)return!1;var e=t.response.headers;return Boolean("BadRequestException"===e["x-amzn-errortype"]&&(e.date||e.Date))},setClockOffset:function(t){o.clockOffset=t}}},,,,,,,,,,,,,,,function(t,e,n){(function(t){function n(t){return Object.prototype.toString.call(t)}e.isArray=function(t){return Array.isArray?Array.isArray(t):"[object Array]"===n(t)},e.isBoolean=function(t){return"boolean"==typeof t},e.isNull=function(t){return null===t},e.isNullOrUndefined=function(t){return null==t},e.isNumber=function(t){return"number"==typeof t},e.isString=function(t){return"string"==typeof t},e.isSymbol=function(t){return"symbol"==typeof t},e.isUndefined=function(t){return void 0===t},e.isRegExp=function(t){return"[object RegExp]"===n(t)},e.isObject=function(t){return"object"==typeof t&&null!==t},e.isDate=function(t){return"[object Date]"===n(t)},e.isError=function(t){return"[object Error]"===n(t)||t instanceof Error},e.isFunction=function(t){return"function"==typeof t},e.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t},e.isBuffer=t.isBuffer}).call(this,n(13).Buffer)},,function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}}},function(t,e,n){var r=n(255);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(a){return t.call(e,a)};case 2:return function(a,b){return t.call(e,a,b)};case 3:return function(a,b,n){return t.call(e,a,b,n)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){var r=n(576),o=n(431);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){var r=n(433),o=n(335),c=n(152)("toStringTag"),l="Arguments"==o(function(){return arguments}());t.exports=r?o:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),c))?n:l?o(e):"Object"==(r=o(e))&&"function"==typeof e.callee?"Arguments":r}},function(t,e,n){var r=n(210);t.exports=function(t,e,n,o){o&&o.enumerable?t[e]=n:r(t,e,n)}},function(t,e,n){var r=n(433),o=n(228).f,c=n(210),l=n(204),d=n(876),f=n(152)("toStringTag");t.exports=function(t,e,n,h){if(t){var m=n?t:t.prototype;l(m,f)||o(m,f,{configurable:!0,value:e}),h&&!r&&c(m,"toString",d)}}},function(t,e,n){"use strict";var r=n(255),o=function(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=r(e),this.reject=r(n)};t.exports.f=function(t){return new o(t)}},function(t,e,n){var r=n(196),o=n(167),c=n(204),l=Object.defineProperty,d={},f=function(t){throw t};t.exports=function(t,e){if(c(d,t))return d[t];e||(e={});var n=[][t],h=!!c(e,"ACCESSORS")&&e.ACCESSORS,m=c(e,0)?e[0]:f,v=c(e,1)?e[1]:void 0;return d[t]=!!n&&!o((function(){if(h&&!r)return!0;var t={length:-1};h?l(t,1,{enumerable:!0,get:f}):t[1]=1,n.call(t,m,v)}))}},function(t,e,n){"use strict";var r=n(15),o=n(443),c=n(445),l=n(446),d=n(229);function f(t){d.call(this,"digest"),this._hash=t}r(f,d),f.prototype._update=function(data){this._hash.update(data)},f.prototype._final=function(){return this._hash.digest()},t.exports=function(t){return"md5"===(t=t.toLowerCase())?new o:"rmd160"===t||"ripemd160"===t?new c:new f(l(t))}},function(t,e,n){(function(e){t.exports=function(a,b){for(var t=Math.min(a.length,b.length),n=new e(t),i=0;i=this._delta8){var n=(t=this.pending).length%this._delta8;this.pending=t.slice(t.length-n,t.length),0===this.pending.length&&(this.pending=null),t=r.join32(t,0,t.length-n,this.endian);for(var i=0;i>>24&255,r[i++]=t>>>16&255,r[i++]=t>>>8&255,r[i++]=255&t}else for(r[i++]=255&t,r[i++]=t>>>8&255,r[i++]=t>>>16&255,r[i++]=t>>>24&255,r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=0,o=8;o>>7)^(m<<14|m>>>18)^m>>>3,y=h[i-2],w=(y<<15|y>>>17)^(y<<13|y>>>19)^y>>>10;h[i]=v+h[i-7]+w+h[i-16]}var _=a&b^a&r^b&r,S=(a<<30|a>>>2)^(a<<19|a>>>13)^(a<<10|a>>>22),x=d+((c<<26|c>>>6)^(c<<21|c>>>11)^(c<<7|c>>>25))+(c&l^~c&g)+f[i]+h[i];d=g,g=l,l=c,c=o+x|0,o=r,r=b,b=a,a=x+(S+_)|0}n[0]=n[0]+a|0,n[1]=n[1]+b|0,n[2]=n[2]+r|0,n[3]=n[3]+o|0,n[4]=n[4]+c|0,n[5]=n[5]+l|0,n[6]=n[6]+g|0,n[7]=n[7]+d|0},_doFinalize:function(){var data=this._data,e=data.words,n=8*this._nDataBytes,r=8*data.sigBytes;return e[r>>>5]|=128<<24-r%32,e[14+(r+64>>>9<<4)]=t.floor(n/4294967296),e[15+(r+64>>>9<<4)]=n,data.sigBytes=4*e.length,this._process(),this._hash},clone:function(){var t=c.clone.call(this);return t._hash=this._hash.clone(),t}});e.SHA256=c._createHelper(m),e.HmacSHA256=c._createHmacHelper(m)}(Math),r.SHA256)},function(t,e,n){"use strict";n.d(e,"a",(function(){return h}));var r=n(185),o=function(){return(o=Object.assign||function(t){for(var s,i=1,e=arguments.length;i0)&&!(r=i.next()).done;)c.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return c},l=function(){for(var t=[],i=0;i-1)&&(n===f||d.warn("WARNING: "+t+" is protected and dispatching on it can have unintended consequences"));var r={channel:t,payload:o({},e),source:source,patternInfo:[]};try{this._toListeners(r)}catch(t){d.error(t)}},t.prototype.listen=function(t,e,n){var r,o=this;if(void 0===n&&(n="noname"),function(t){return void 0!==t.onHubCapsule}(e))d.warn("WARNING onHubCapsule is Deprecated. Please pass in a callback."),r=e.onHubCapsule.bind(e);else{if("function"!=typeof e)throw new Error("No callback supplied to Hub");r=e}if(t instanceof RegExp)this.patterns.push({pattern:t,callback:r});else{var c=this.listeners[t];c||(c=[],this.listeners[t]=c),c.push({name:n,callback:r})}return function(){o.remove(t,r)}},t.prototype._toListeners=function(t){var e=t.channel,n=t.payload,r=this.listeners[e];if(r&&r.forEach((function(r){d.debug("Dispatching to "+e+" with ",n);try{r.callback(t)}catch(t){d.error(t)}})),this.patterns.length>0){if(!n.message)return void d.warn("Cannot perform pattern matching without a message key");var l=n.message;this.patterns.forEach((function(pattern){var e=l.match(pattern.pattern);if(e){var n=c(e).slice(1),r=o(o({},t),{patternInfo:n});try{pattern.callback(r)}catch(t){d.error(t)}}}))}},t}())("__default__")},function(t,e,n){"use strict";n.d(e,"a",(function(){return Hn}));var r=n(185),o=n(301),c=n(173),l=n(264),d=n(1335),f=n(205),h=n(50),m=n(2),v=function(t,b){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,b){t.__proto__=b}||function(t,b){for(var p in b)Object.prototype.hasOwnProperty.call(b,p)&&(t[p]=b[p])})(t,b)};function y(t,b){function e(){this.constructor=t}v(t,b),t.prototype=null===b?Object.create(b):(e.prototype=b.prototype,new e)}var w=function(){return(w=Object.assign||function(t){for(var s,i=1,e=arguments.length;i0&&r[r.length-1])||6!==c[0]&&2!==c[0])){o=0;continue}if(3===c[0]&&(!r||c[1]>r[0]&&c[1]0)&&!(r=i.next()).done;)c.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return c}Object.create;var O,k,E,M,C,j,I,A,T,P,R,D,L,N,B,U,F,z,$,V,H,G,K,W,Y,X,Z,J,Q,tt,et,nt,it,ot,at,st,ut,ct,lt,ft,ht,pt,mt,bt,gt,vt,yt,wt,_t,St,xt,Ot,kt,Et,Mt,Ct,jt,It,At,Tt,Pt,Rt,Dt,Lt,Nt,Bt,Ut,Ft,zt,$t,qt,Vt,Ht,Gt,Kt,Wt,Yt,Xt,Zt,Jt,Qt,te,ee,ne,re,ie,oe,ae,se,ue,ce,le,de,fe,he,pe,me,be,ge,ve,ye,we,_e,Se,xe,Oe,ke,Ee,Me,Ce,je=n(0);!function(t){t.AUTHENTICATED_ROLE="AuthenticatedRole",t.DENY="Deny"}(O||(O={})),(E=k||(k={})).filterSensitiveLog=function(t){return w({},t)},E.isa=function(t){return Object(je.i)(t,"CognitoIdentityProvider")},(C=M||(M={})).filterSensitiveLog=function(t){return w({},t)},C.isa=function(t){return Object(je.i)(t,"ConcurrentModificationException")},(I=j||(j={})).filterSensitiveLog=function(t){return w({},t)},I.isa=function(t){return Object(je.i)(t,"CreateIdentityPoolInput")},(T=A||(A={})).filterSensitiveLog=function(t){return w({},t)},T.isa=function(t){return Object(je.i)(t,"Credentials")},(R=P||(P={})).filterSensitiveLog=function(t){return w({},t)},R.isa=function(t){return Object(je.i)(t,"DeleteIdentitiesInput")},(L=D||(D={})).filterSensitiveLog=function(t){return w({},t)},L.isa=function(t){return Object(je.i)(t,"DeleteIdentitiesResponse")},(B=N||(N={})).filterSensitiveLog=function(t){return w({},t)},B.isa=function(t){return Object(je.i)(t,"DeleteIdentityPoolInput")},(F=U||(U={})).filterSensitiveLog=function(t){return w({},t)},F.isa=function(t){return Object(je.i)(t,"DescribeIdentityInput")},($=z||(z={})).filterSensitiveLog=function(t){return w({},t)},$.isa=function(t){return Object(je.i)(t,"DescribeIdentityPoolInput")},(H=V||(V={})).filterSensitiveLog=function(t){return w({},t)},H.isa=function(t){return Object(je.i)(t,"DeveloperUserAlreadyRegisteredException")},function(t){t.ACCESS_DENIED="AccessDenied",t.INTERNAL_SERVER_ERROR="InternalServerError"}(G||(G={})),(W=K||(K={})).filterSensitiveLog=function(t){return w({},t)},W.isa=function(t){return Object(je.i)(t,"ExternalServiceException")},(X=Y||(Y={})).filterSensitiveLog=function(t){return w({},t)},X.isa=function(t){return Object(je.i)(t,"GetCredentialsForIdentityInput")},(J=Z||(Z={})).filterSensitiveLog=function(t){return w({},t)},J.isa=function(t){return Object(je.i)(t,"GetCredentialsForIdentityResponse")},(tt=Q||(Q={})).filterSensitiveLog=function(t){return w({},t)},tt.isa=function(t){return Object(je.i)(t,"GetIdentityPoolRolesInput")},(nt=et||(et={})).filterSensitiveLog=function(t){return w({},t)},nt.isa=function(t){return Object(je.i)(t,"GetIdentityPoolRolesResponse")},(ot=it||(it={})).filterSensitiveLog=function(t){return w({},t)},ot.isa=function(t){return Object(je.i)(t,"GetIdInput")},(st=at||(at={})).filterSensitiveLog=function(t){return w({},t)},st.isa=function(t){return Object(je.i)(t,"GetIdResponse")},(ct=ut||(ut={})).filterSensitiveLog=function(t){return w({},t)},ct.isa=function(t){return Object(je.i)(t,"GetOpenIdTokenForDeveloperIdentityInput")},(ft=lt||(lt={})).filterSensitiveLog=function(t){return w({},t)},ft.isa=function(t){return Object(je.i)(t,"GetOpenIdTokenForDeveloperIdentityResponse")},(pt=ht||(ht={})).filterSensitiveLog=function(t){return w({},t)},pt.isa=function(t){return Object(je.i)(t,"GetOpenIdTokenInput")},(bt=mt||(mt={})).filterSensitiveLog=function(t){return w({},t)},bt.isa=function(t){return Object(je.i)(t,"GetOpenIdTokenResponse")},(vt=gt||(gt={})).filterSensitiveLog=function(t){return w({},t)},vt.isa=function(t){return Object(je.i)(t,"IdentityDescription")},(wt=yt||(yt={})).filterSensitiveLog=function(t){return w({},t)},wt.isa=function(t){return Object(je.i)(t,"IdentityPool")},(St=_t||(_t={})).filterSensitiveLog=function(t){return w({},t)},St.isa=function(t){return Object(je.i)(t,"IdentityPoolShortDescription")},(Ot=xt||(xt={})).filterSensitiveLog=function(t){return w({},t)},Ot.isa=function(t){return Object(je.i)(t,"InternalErrorException")},(Et=kt||(kt={})).filterSensitiveLog=function(t){return w({},t)},Et.isa=function(t){return Object(je.i)(t,"InvalidIdentityPoolConfigurationException")},(Ct=Mt||(Mt={})).filterSensitiveLog=function(t){return w({},t)},Ct.isa=function(t){return Object(je.i)(t,"InvalidParameterException")},(It=jt||(jt={})).filterSensitiveLog=function(t){return w({},t)},It.isa=function(t){return Object(je.i)(t,"LimitExceededException")},(Tt=At||(At={})).filterSensitiveLog=function(t){return w({},t)},Tt.isa=function(t){return Object(je.i)(t,"ListIdentitiesInput")},(Rt=Pt||(Pt={})).filterSensitiveLog=function(t){return w({},t)},Rt.isa=function(t){return Object(je.i)(t,"ListIdentitiesResponse")},(Lt=Dt||(Dt={})).filterSensitiveLog=function(t){return w({},t)},Lt.isa=function(t){return Object(je.i)(t,"ListIdentityPoolsInput")},(Bt=Nt||(Nt={})).filterSensitiveLog=function(t){return w({},t)},Bt.isa=function(t){return Object(je.i)(t,"ListIdentityPoolsResponse")},(Ft=Ut||(Ut={})).filterSensitiveLog=function(t){return w({},t)},Ft.isa=function(t){return Object(je.i)(t,"ListTagsForResourceInput")},($t=zt||(zt={})).filterSensitiveLog=function(t){return w({},t)},$t.isa=function(t){return Object(je.i)(t,"ListTagsForResourceResponse")},(Vt=qt||(qt={})).filterSensitiveLog=function(t){return w({},t)},Vt.isa=function(t){return Object(je.i)(t,"LookupDeveloperIdentityInput")},(Gt=Ht||(Ht={})).filterSensitiveLog=function(t){return w({},t)},Gt.isa=function(t){return Object(je.i)(t,"LookupDeveloperIdentityResponse")},(Wt=Kt||(Kt={})).filterSensitiveLog=function(t){return w({},t)},Wt.isa=function(t){return Object(je.i)(t,"MappingRule")},function(t){t.CONTAINS="Contains",t.EQUALS="Equals",t.NOT_EQUAL="NotEqual",t.STARTS_WITH="StartsWith"}(Yt||(Yt={})),(Zt=Xt||(Xt={})).filterSensitiveLog=function(t){return w({},t)},Zt.isa=function(t){return Object(je.i)(t,"MergeDeveloperIdentitiesInput")},(Qt=Jt||(Jt={})).filterSensitiveLog=function(t){return w({},t)},Qt.isa=function(t){return Object(je.i)(t,"MergeDeveloperIdentitiesResponse")},(ee=te||(te={})).filterSensitiveLog=function(t){return w({},t)},ee.isa=function(t){return Object(je.i)(t,"NotAuthorizedException")},(re=ne||(ne={})).filterSensitiveLog=function(t){return w({},t)},re.isa=function(t){return Object(je.i)(t,"ResourceConflictException")},(oe=ie||(ie={})).filterSensitiveLog=function(t){return w({},t)},oe.isa=function(t){return Object(je.i)(t,"ResourceNotFoundException")},(se=ae||(ae={})).filterSensitiveLog=function(t){return w({},t)},se.isa=function(t){return Object(je.i)(t,"RoleMapping")},function(t){t.RULES="Rules",t.TOKEN="Token"}(ue||(ue={})),(le=ce||(ce={})).filterSensitiveLog=function(t){return w({},t)},le.isa=function(t){return Object(je.i)(t,"RulesConfigurationType")},(fe=de||(de={})).filterSensitiveLog=function(t){return w({},t)},fe.isa=function(t){return Object(je.i)(t,"SetIdentityPoolRolesInput")},(pe=he||(he={})).filterSensitiveLog=function(t){return w({},t)},pe.isa=function(t){return Object(je.i)(t,"TagResourceInput")},(be=me||(me={})).filterSensitiveLog=function(t){return w({},t)},be.isa=function(t){return Object(je.i)(t,"TagResourceResponse")},(ve=ge||(ge={})).filterSensitiveLog=function(t){return w({},t)},ve.isa=function(t){return Object(je.i)(t,"TooManyRequestsException")},(we=ye||(ye={})).filterSensitiveLog=function(t){return w({},t)},we.isa=function(t){return Object(je.i)(t,"UnlinkDeveloperIdentityInput")},(Se=_e||(_e={})).filterSensitiveLog=function(t){return w({},t)},Se.isa=function(t){return Object(je.i)(t,"UnlinkIdentityInput")},(Oe=xe||(xe={})).filterSensitiveLog=function(t){return w({},t)},Oe.isa=function(t){return Object(je.i)(t,"UnprocessedIdentityId")},(Ee=ke||(ke={})).filterSensitiveLog=function(t){return w({},t)},Ee.isa=function(t){return Object(je.i)(t,"UntagResourceInput")},(Ce=Me||(Me={})).filterSensitiveLog=function(t){return w({},t)},Ce.isa=function(t){return Object(je.i)(t,"UntagResourceResponse")};var Ie=n(3),Ae=function(output,t){return _(void 0,void 0,void 0,(function(){var e,n,r,o,c,l,d,f,h,m,v,y,_,x,O,k;return S(this,(function(S){switch(S.label){case 0:return n=[w({},output)],k={},[4,sn(output.body,t)];case 1:switch(e=w.apply(void 0,n.concat([(k.body=S.sent(),k)])),o="UnknownError",c=e.body.__type.split("#"),o=void 0===c[1]?c[0]:c[1],o){case"ExternalServiceException":case"com.amazonaws.cognitoidentity#ExternalServiceException":return[3,2];case"InternalErrorException":case"com.amazonaws.cognitoidentity#InternalErrorException":return[3,4];case"InvalidIdentityPoolConfigurationException":case"com.amazonaws.cognitoidentity#InvalidIdentityPoolConfigurationException":return[3,6];case"InvalidParameterException":case"com.amazonaws.cognitoidentity#InvalidParameterException":return[3,8];case"NotAuthorizedException":case"com.amazonaws.cognitoidentity#NotAuthorizedException":return[3,10];case"ResourceConflictException":case"com.amazonaws.cognitoidentity#ResourceConflictException":return[3,12];case"ResourceNotFoundException":case"com.amazonaws.cognitoidentity#ResourceNotFoundException":return[3,14];case"TooManyRequestsException":case"com.amazonaws.cognitoidentity#TooManyRequestsException":return[3,16]}return[3,18];case 2:return l=[{}],[4,Pe(e,t)];case 3:return r=w.apply(void 0,[w.apply(void 0,l.concat([S.sent()])),{name:o,$metadata:rn(output)}]),[3,19];case 4:return d=[{}],[4,Re(e,t)];case 5:return r=w.apply(void 0,[w.apply(void 0,d.concat([S.sent()])),{name:o,$metadata:rn(output)}]),[3,19];case 6:return f=[{}],[4,De(e,t)];case 7:return r=w.apply(void 0,[w.apply(void 0,f.concat([S.sent()])),{name:o,$metadata:rn(output)}]),[3,19];case 8:return h=[{}],[4,Le(e,t)];case 9:return r=w.apply(void 0,[w.apply(void 0,h.concat([S.sent()])),{name:o,$metadata:rn(output)}]),[3,19];case 10:return m=[{}],[4,Be(e,t)];case 11:return r=w.apply(void 0,[w.apply(void 0,m.concat([S.sent()])),{name:o,$metadata:rn(output)}]),[3,19];case 12:return v=[{}],[4,Ue(e,t)];case 13:return r=w.apply(void 0,[w.apply(void 0,v.concat([S.sent()])),{name:o,$metadata:rn(output)}]),[3,19];case 14:return y=[{}],[4,Fe(e,t)];case 15:return r=w.apply(void 0,[w.apply(void 0,y.concat([S.sent()])),{name:o,$metadata:rn(output)}]),[3,19];case 16:return _=[{}],[4,ze(e,t)];case 17:return r=w.apply(void 0,[w.apply(void 0,_.concat([S.sent()])),{name:o,$metadata:rn(output)}]),[3,19];case 18:x=e.body,o=x.code||x.Code||o,r=w(w({},x),{name:""+o,message:x.message||x.Message||o,$fault:"client",$metadata:rn(output)}),S.label=19;case 19:return O=r.message||r.Message||o,r.message=O,delete r.Message,[2,Promise.reject(Object.assign(new Error(O),r))]}}))}))},Te=function(output,t){return _(void 0,void 0,void 0,(function(){var e,n,r,o,c,l,d,f,h,m,v,y,_,x,O,k;return S(this,(function(S){switch(S.label){case 0:return n=[w({},output)],k={},[4,sn(output.body,t)];case 1:switch(e=w.apply(void 0,n.concat([(k.body=S.sent(),k)])),o="UnknownError",c=e.body.__type.split("#"),o=void 0===c[1]?c[0]:c[1],o){case"ExternalServiceException":case"com.amazonaws.cognitoidentity#ExternalServiceException":return[3,2];case"InternalErrorException":case"com.amazonaws.cognitoidentity#InternalErrorException":return[3,4];case"InvalidParameterException":case"com.amazonaws.cognitoidentity#InvalidParameterException":return[3,6];case"LimitExceededException":case"com.amazonaws.cognitoidentity#LimitExceededException":return[3,8];case"NotAuthorizedException":case"com.amazonaws.cognitoidentity#NotAuthorizedException":return[3,10];case"ResourceConflictException":case"com.amazonaws.cognitoidentity#ResourceConflictException":return[3,12];case"ResourceNotFoundException":case"com.amazonaws.cognitoidentity#ResourceNotFoundException":return[3,14];case"TooManyRequestsException":case"com.amazonaws.cognitoidentity#TooManyRequestsException":return[3,16]}return[3,18];case 2:return l=[{}],[4,Pe(e,t)];case 3:return r=w.apply(void 0,[w.apply(void 0,l.concat([S.sent()])),{name:o,$metadata:rn(output)}]),[3,19];case 4:return d=[{}],[4,Re(e,t)];case 5:return r=w.apply(void 0,[w.apply(void 0,d.concat([S.sent()])),{name:o,$metadata:rn(output)}]),[3,19];case 6:return f=[{}],[4,Le(e,t)];case 7:return r=w.apply(void 0,[w.apply(void 0,f.concat([S.sent()])),{name:o,$metadata:rn(output)}]),[3,19];case 8:return h=[{}],[4,Ne(e,t)];case 9:return r=w.apply(void 0,[w.apply(void 0,h.concat([S.sent()])),{name:o,$metadata:rn(output)}]),[3,19];case 10:return m=[{}],[4,Be(e,t)];case 11:return r=w.apply(void 0,[w.apply(void 0,m.concat([S.sent()])),{name:o,$metadata:rn(output)}]),[3,19];case 12:return v=[{}],[4,Ue(e,t)];case 13:return r=w.apply(void 0,[w.apply(void 0,v.concat([S.sent()])),{name:o,$metadata:rn(output)}]),[3,19];case 14:return y=[{}],[4,Fe(e,t)];case 15:return r=w.apply(void 0,[w.apply(void 0,y.concat([S.sent()])),{name:o,$metadata:rn(output)}]),[3,19];case 16:return _=[{}],[4,ze(e,t)];case 17:return r=w.apply(void 0,[w.apply(void 0,_.concat([S.sent()])),{name:o,$metadata:rn(output)}]),[3,19];case 18:x=e.body,o=x.code||x.Code||o,r=w(w({},x),{name:""+o,message:x.message||x.Message||o,$fault:"client",$metadata:rn(output)}),S.label=19;case 19:return O=r.message||r.Message||o,r.message=O,delete r.Message,[2,Promise.reject(Object.assign(new Error(O),r))]}}))}))},Pe=function(t,e){return _(void 0,void 0,void 0,(function(){var body,n;return S(this,(function(r){return body=t.body,n=Ge(body,e),[2,w({name:"ExternalServiceException",$fault:"client",$metadata:rn(t)},n)]}))}))},Re=function(t,e){return _(void 0,void 0,void 0,(function(){var body,n;return S(this,(function(r){return body=t.body,n=Ye(body,e),[2,w({name:"InternalErrorException",$fault:"server",$metadata:rn(t)},n)]}))}))},De=function(t,e){return _(void 0,void 0,void 0,(function(){var body,n;return S(this,(function(r){return body=t.body,n=Xe(body,e),[2,w({name:"InvalidIdentityPoolConfigurationException",$fault:"client",$metadata:rn(t)},n)]}))}))},Le=function(t,e){return _(void 0,void 0,void 0,(function(){var body,n;return S(this,(function(r){return body=t.body,n=Ze(body,e),[2,w({name:"InvalidParameterException",$fault:"client",$metadata:rn(t)},n)]}))}))},Ne=function(t,e){return _(void 0,void 0,void 0,(function(){var body,n;return S(this,(function(r){return body=t.body,n=Je(body,e),[2,w({name:"LimitExceededException",$fault:"client",$metadata:rn(t)},n)]}))}))},Be=function(t,e){return _(void 0,void 0,void 0,(function(){var body,n;return S(this,(function(r){return body=t.body,n=Qe(body,e),[2,w({name:"NotAuthorizedException",$fault:"client",$metadata:rn(t)},n)]}))}))},Ue=function(t,e){return _(void 0,void 0,void 0,(function(){var body,n;return S(this,(function(r){return body=t.body,n=tn(body,e),[2,w({name:"ResourceConflictException",$fault:"client",$metadata:rn(t)},n)]}))}))},Fe=function(t,e){return _(void 0,void 0,void 0,(function(){var body,n;return S(this,(function(r){return body=t.body,n=en(body,e),[2,w({name:"ResourceNotFoundException",$fault:"client",$metadata:rn(t)},n)]}))}))},ze=function(t,e){return _(void 0,void 0,void 0,(function(){var body,n;return S(this,(function(r){return body=t.body,n=nn(body,e),[2,w({name:"TooManyRequestsException",$fault:"client",$metadata:rn(t)},n)]}))}))},$e=function(input,t){return w(w(w({},void 0!==input.CustomRoleArn&&{CustomRoleArn:input.CustomRoleArn}),void 0!==input.IdentityId&&{IdentityId:input.IdentityId}),void 0!==input.Logins&&{Logins:Ve(input.Logins,t)})},qe=function(input,t){return w(w(w({},void 0!==input.AccountId&&{AccountId:input.AccountId}),void 0!==input.IdentityPoolId&&{IdentityPoolId:input.IdentityPoolId}),void 0!==input.Logins&&{Logins:Ve(input.Logins,t)})},Ve=function(input,t){return Object.entries(input).reduce((function(t,e){var n,r=x(e,2),o=r[0],c=r[1];return w(w({},t),((n={})[o]=c,n))}),{})},He=function(output,t){return{__type:"Credentials",AccessKeyId:void 0!==output.AccessKeyId&&null!==output.AccessKeyId?output.AccessKeyId:void 0,Expiration:void 0!==output.Expiration&&null!==output.Expiration?new Date(Math.round(1e3*output.Expiration)):void 0,SecretKey:void 0!==output.SecretKey&&null!==output.SecretKey?output.SecretKey:void 0,SessionToken:void 0!==output.SessionToken&&null!==output.SessionToken?output.SessionToken:void 0}},Ge=function(output,t){return{__type:"ExternalServiceException",message:void 0!==output.message&&null!==output.message?output.message:void 0}},Ke=function(output,t){return{__type:"GetCredentialsForIdentityResponse",Credentials:void 0!==output.Credentials&&null!==output.Credentials?He(output.Credentials):void 0,IdentityId:void 0!==output.IdentityId&&null!==output.IdentityId?output.IdentityId:void 0}},We=function(output,t){return{__type:"GetIdResponse",IdentityId:void 0!==output.IdentityId&&null!==output.IdentityId?output.IdentityId:void 0}},Ye=function(output,t){return{__type:"InternalErrorException",message:void 0!==output.message&&null!==output.message?output.message:void 0}},Xe=function(output,t){return{__type:"InvalidIdentityPoolConfigurationException",message:void 0!==output.message&&null!==output.message?output.message:void 0}},Ze=function(output,t){return{__type:"InvalidParameterException",message:void 0!==output.message&&null!==output.message?output.message:void 0}},Je=function(output,t){return{__type:"LimitExceededException",message:void 0!==output.message&&null!==output.message?output.message:void 0}},Qe=function(output,t){return{__type:"NotAuthorizedException",message:void 0!==output.message&&null!==output.message?output.message:void 0}},tn=function(output,t){return{__type:"ResourceConflictException",message:void 0!==output.message&&null!==output.message?output.message:void 0}},en=function(output,t){return{__type:"ResourceNotFoundException",message:void 0!==output.message&&null!==output.message?output.message:void 0}},nn=function(output,t){return{__type:"TooManyRequestsException",message:void 0!==output.message&&null!==output.message?output.message:void 0}},rn=function(output){return{httpStatusCode:output.statusCode,httpHeaders:output.headers,requestId:output.headers["x-amzn-requestid"]}},on=function(t,e){return void 0===t&&(t=new Uint8Array),t instanceof Uint8Array?Promise.resolve(t):e.streamCollector(t)||Promise.resolve(new Uint8Array)},an=function(t,e,path,n,body){return _(void 0,void 0,void 0,(function(){var r,o,c,l,d,f;return S(this,(function(h){switch(h.label){case 0:return[4,t.endpoint()];case 1:return r=h.sent(),o=r.hostname,c=r.protocol,l=void 0===c?"https":c,d=r.port,f={protocol:l,hostname:o,port:d,method:"POST",path:path,headers:e},void 0!==n&&(f.hostname=n),void 0!==body&&(f.body=body),[2,new Ie.a(f)]}}))}))},sn=function(t,e){return function(t,e){return on(t,e).then((function(body){return e.utf8Encoder(body)}))}(t,e).then((function(t){return t.length?JSON.parse(t):{}}))},un=n(24),cn=function(t){function e(input){var e=t.call(this)||this;return e.input=input,e}return y(e,t),e.prototype.resolveMiddleware=function(t,e,n){this.middlewareStack.use(Object(un.a)(e,this.serialize,this.deserialize));var r=t.concat(this.middlewareStack),o={logger:e.logger,inputFilterSensitiveLog:Y.filterSensitiveLog,outputFilterSensitiveLog:Z.filterSensitiveLog},c=e.requestHandler;return r.resolve((function(t){return c.handle(t.request,n||{})}),o)},e.prototype.serialize=function(input,t){return function(input,t){return _(void 0,void 0,void 0,(function(){var e,body;return S(this,(function(n){return e={"Content-Type":"application/x-amz-json-1.1","X-Amz-Target":"AWSCognitoIdentityService.GetCredentialsForIdentity"},body=JSON.stringify($e(input,t)),[2,an(t,e,"/",void 0,body)]}))}))}(input,t)},e.prototype.deserialize=function(output,t){return function(output,t){return _(void 0,void 0,void 0,(function(){var data,e,n;return S(this,(function(r){switch(r.label){case 0:return output.statusCode>=400?[2,Ae(output,t)]:[4,sn(output.body,t)];case 1:return data=r.sent(),{},e=Ke(data,t),n=w({$metadata:rn(output),__type:"GetCredentialsForIdentityResponse"},e),[2,Promise.resolve(n)]}}))}))}(output,t)},e}(je.b),ln=function(t){function e(e,n){void 0===n&&(n=!0);var r=t.call(this,e)||this;return r.tryNextLink=n,r}return Object(m.__extends)(e,t),e}(Error);function dn(t){return Promise.all(Object.keys(t).reduce((function(e,n){var r=t[n];return"string"==typeof r?e.push([n,r]):e.push(r().then((function(t){return[n,t]}))),e}),[])).then((function(t){return t.reduce((function(t,e){var n=Object(m.__read)(e,2),r=n[0],o=n[1];return t[r]=o,t}),{})}))}function fn(t){var e=this;return function(){return Object(m.__awaiter)(e,void 0,void 0,(function(){var e,n,r,o,c,l,d,f,h,v,y,w,_;return Object(m.__generator)(this,(function(m){switch(m.label){case 0:return v=(h=t.client).send,y=cn.bind,_={CustomRoleArn:t.customRoleArn,IdentityId:t.identityId},t.logins?[4,dn(t.logins)]:[3,2];case 1:return w=m.sent(),[3,3];case 2:w=void 0,m.label=3;case 3:return[4,v.apply(h,[new(y.apply(cn,[void 0,(_.Logins=w,_)]))])];case 4:return e=m.sent().Credentials,n=void 0===e?function(){throw new ln("Response from Amazon Cognito contained no credentials")}():e,r=n.AccessKeyId,o=void 0===r?function(){throw new ln("Response from Amazon Cognito contained no access key ID")}():r,c=n.Expiration,l=n.SecretKey,d=void 0===l?function(){throw new ln("Response from Amazon Cognito contained no secret key")}():l,f=n.SessionToken,[2,{accessKeyId:o,secretAccessKey:d,sessionToken:f,expiration:c}]}}))}))}}var hn=function(t){function e(input){var e=t.call(this)||this;return e.input=input,e}return y(e,t),e.prototype.resolveMiddleware=function(t,e,n){this.middlewareStack.use(Object(un.a)(e,this.serialize,this.deserialize));var r=t.concat(this.middlewareStack),o={logger:e.logger,inputFilterSensitiveLog:it.filterSensitiveLog,outputFilterSensitiveLog:at.filterSensitiveLog},c=e.requestHandler;return r.resolve((function(t){return c.handle(t.request,n||{})}),o)},e.prototype.serialize=function(input,t){return function(input,t){return _(void 0,void 0,void 0,(function(){var e,body;return S(this,(function(n){return e={"Content-Type":"application/x-amz-json-1.1","X-Amz-Target":"AWSCognitoIdentityService.GetId"},body=JSON.stringify(qe(input,t)),[2,an(t,e,"/",void 0,body)]}))}))}(input,t)},e.prototype.deserialize=function(output,t){return function(output,t){return _(void 0,void 0,void 0,(function(){var data,e,n;return S(this,(function(r){switch(r.label){case 0:return output.statusCode>=400?[2,Te(output,t)]:[4,sn(output.body,t)];case 1:return data=r.sent(),{},e=We(data,t),n=w({$metadata:rn(output),__type:"GetIdResponse"},e),[2,Promise.resolve(n)]}}))}))}(output,t)},e}(je.b),pn=function(){function t(t){void 0===t&&(t="aws:cognito-identity-ids"),this.dbName=t}return t.prototype.getItem=function(t){return this.withObjectStore("readonly",(function(e){var n=e.get(t);return new Promise((function(t){n.onerror=function(){return t(null)},n.onsuccess=function(){return t(n.result?n.result.value:null)}}))})).catch((function(){return null}))},t.prototype.removeItem=function(t){return this.withObjectStore("readwrite",(function(e){var n=e.delete(t);return new Promise((function(t,e){n.onerror=function(){return e(n.error)},n.onsuccess=function(){return t()}}))}))},t.prototype.setItem=function(t,e){return this.withObjectStore("readwrite",(function(n){var r=n.put({id:t,value:e});return new Promise((function(t,e){r.onerror=function(){return e(r.error)},r.onsuccess=function(){return t()}}))}))},t.prototype.getDb=function(){var t=self.indexedDB.open(this.dbName,1);return new Promise((function(e,n){t.onsuccess=function(){e(t.result)},t.onerror=function(){n(t.error)},t.onblocked=function(){n(new Error("Unable to access DB"))},t.onupgradeneeded=function(){var e=t.result;e.onerror=function(){n(new Error("Failed to create object store"))},e.createObjectStore("IdentityIds",{keyPath:"id"})}}))},t.prototype.withObjectStore=function(t,e){return this.getDb().then((function(n){var r=n.transaction("IdentityIds",t);return r.oncomplete=function(){return n.close()},new Promise((function(t,n){r.onerror=function(){return n(r.error)},t(e(r.objectStore("IdentityIds")))})).catch((function(t){throw n.close(),t}))}))},t}(),mn=new(function(){function t(t){void 0===t&&(t={}),this.store=t}return t.prototype.getItem=function(t){return t in this.store?this.store[t]:null},t.prototype.removeItem=function(t){delete this.store[t]},t.prototype.setItem=function(t,e){this.store[t]=e},t}());function bn(t){var e=this,n=t.accountId,r=t.cache,o=void 0===r?"object"==typeof self&&self.indexedDB?new pn:"object"==typeof window&&window.localStorage?window.localStorage:mn:r,c=t.client,l=t.customRoleArn,d=t.identityPoolId,f=t.logins,h=t.userIdentifier,v=void 0===h?f&&0!==Object.keys(f).length?void 0:"ANONYMOUS":h,y=v?"aws:cognito-identity-credentials:"+d+":"+v:void 0,w=function(){return Object(m.__awaiter)(e,void 0,void 0,(function(){var t,e,r,h,v,_,S,x,O;return Object(m.__generator)(this,(function(m){switch(m.label){case 0:return(e=y)?[4,o.getItem(y)]:[3,2];case 1:e=m.sent(),m.label=2;case 2:return(t=e)?[3,7]:(_=(v=c).send,S=hn.bind,O={AccountId:n,IdentityPoolId:d},f?[4,dn(f)]:[3,4]);case 3:return x=m.sent(),[3,5];case 4:x=void 0,m.label=5;case 5:return[4,_.apply(v,[new(S.apply(hn,[void 0,(O.Logins=x,O)]))])];case 6:r=m.sent().IdentityId,h=void 0===r?function(){throw new ln("Response from Amazon Cognito contained no identity ID")}():r,t=h,y&&Promise.resolve(o.setItem(y,t)).catch((function(){})),m.label=7;case 7:return[2,(w=fn({client:c,customRoleArn:l,logins:f,identityId:t}))()]}}))}))};return function(){return w().catch((function(t){return Object(m.__awaiter)(e,void 0,void 0,(function(){return Object(m.__generator)(this,(function(e){throw y&&Promise.resolve(o.removeItem(y)).catch((function(){})),t}))}))}))}}var gn=n(478),vn=n(179),yn=n(47),wn=n(150),_n=n(25),Sn=n(180),xn=n(46),On=n(181),kn=n(182),En=n(34),Mn="cognito-identity.{region}.amazonaws.com",Cn=new Set(["ap-east-1","ap-northeast-1","ap-northeast-2","ap-south-1","ap-southeast-1","ap-southeast-2","ca-central-1","eu-central-1","eu-north-1","eu-west-1","eu-west-2","eu-west-3","me-south-1","sa-east-1","us-east-1","us-east-2","us-west-1","us-west-2"]),jn=new Set(["cn-north-1","cn-northwest-1"]),In=new Set(["us-iso-east-1"]),An=new Set(["us-isob-east-1"]),Tn=new Set(["us-gov-east-1","us-gov-west-1"]),Pn=w(w({},{apiVersion:"2014-06-30",disableHostPrefix:!1,regionInfoProvider:function(t,e){var n=void 0;switch(t){case"ap-northeast-1":n={hostname:"cognito-identity.ap-northeast-1.amazonaws.com",partition:"aws"};break;case"ap-northeast-2":n={hostname:"cognito-identity.ap-northeast-2.amazonaws.com",partition:"aws"};break;case"ap-south-1":n={hostname:"cognito-identity.ap-south-1.amazonaws.com",partition:"aws"};break;case"ap-southeast-1":n={hostname:"cognito-identity.ap-southeast-1.amazonaws.com",partition:"aws"};break;case"ap-southeast-2":n={hostname:"cognito-identity.ap-southeast-2.amazonaws.com",partition:"aws"};break;case"ca-central-1":n={hostname:"cognito-identity.ca-central-1.amazonaws.com",partition:"aws"};break;case"cn-north-1":n={hostname:"cognito-identity.cn-north-1.amazonaws.com.cn",partition:"aws-cn"};break;case"eu-central-1":n={hostname:"cognito-identity.eu-central-1.amazonaws.com",partition:"aws"};break;case"eu-west-1":n={hostname:"cognito-identity.eu-west-1.amazonaws.com",partition:"aws"};break;case"eu-west-2":n={hostname:"cognito-identity.eu-west-2.amazonaws.com",partition:"aws"};break;case"us-east-1":n={hostname:"cognito-identity.us-east-1.amazonaws.com",partition:"aws"};break;case"us-east-2":n={hostname:"cognito-identity.us-east-2.amazonaws.com",partition:"aws"};break;case"us-west-2":n={hostname:"cognito-identity.us-west-2.amazonaws.com",partition:"aws"};break;default:Cn.has(t)&&(n={hostname:Mn.replace("{region}",t),partition:"aws"}),jn.has(t)&&(n={hostname:"cognito-identity.{region}.amazonaws.com.cn".replace("{region}",t),partition:"aws-cn"}),In.has(t)&&(n={hostname:"cognito-identity.{region}.c2s.ic.gov".replace("{region}",t),partition:"aws-iso"}),An.has(t)&&(n={hostname:"cognito-identity.{region}.sc2s.sgov.gov".replace("{region}",t),partition:"aws-iso-b"}),Tn.has(t)&&(n={hostname:"cognito-identity.{region}.amazonaws.com".replace("{region}",t),partition:"aws-us-gov"}),void 0===n&&(n={hostname:Mn.replace("{region}",t),partition:"aws"})}return Promise.resolve(n)},signingName:"cognito-identity"}),{runtime:"browser",base64Decoder:xn.a,base64Encoder:xn.b,bodyLengthChecker:On.a,credentialDefaultProvider:function(){},defaultUserAgent:Object(kn.a)(gn.a,gn.b),maxAttempts:_n.a,region:Object(wn.a)("Region is missing"),requestHandler:new yn.a,sha256:vn.Sha256,streamCollector:yn.b,urlParser:Sn.a,utf8Decoder:En.fromUtf8,utf8Encoder:En.toUtf8}),Rn=n(53),Dn=n(178),Ln=n(52),Nn=n(54),Bn=n(151),Un=n(55),Fn=function(t){function e(e){var n=this,r=w(w({},Pn),e),o=Object(Rn.b)(r),c=Object(Rn.a)(o),l=Object(Bn.b)(c),d=Object(_n.c)(l),f=Object(Un.b)(d),h=Object(Ln.b)(f),m=Object(Nn.b)(h);return(n=t.call(this,m)||this).config=m,n.middlewareStack.use(Object(_n.b)(n.config)),n.middlewareStack.use(Object(Un.a)(n.config)),n.middlewareStack.use(Object(Dn.a)(n.config)),n.middlewareStack.use(Object(Ln.a)(n.config)),n.middlewareStack.use(Object(Nn.a)(n.config)),n}return y(e,t),e.prototype.destroy=function(){t.prototype.destroy.call(this)},e}(je.a),zn=function(){return(zn=Object.assign||function(t){for(var s,i=1,e=arguments.length;i0&&r[r.length-1])||6!==c[0]&&2!==c[0])){o=0;continue}if(3===c[0]&&(!r||c[1]>r[0]&&c[1](new Date).getTime()?(Vn.debug("token not expired"),this._setCredentialsFromFederation({provider:e,token:r,user:n,identity_id:o,expires_at:c})):this._refreshHandlers[e]&&"function"==typeof this._refreshHandlers[e]?(Vn.debug("getting refreshed jwt token from federation provider"),this._providerRefreshWithRetry({refreshHandler:this._refreshHandlers[e],provider:e,user:n})):(Vn.debug("no refresh handler for provider:",e),this.clear(),Promise.reject("no refresh handler for provider"))},t.prototype._providerRefreshWithRetry=function(t){var e=this,n=t.refreshHandler,r=t.provider,o=t.user;return Object(d.b)(n,[],1e4).then((function(data){return Vn.debug("refresh federated token sucessfully",data),e._setCredentialsFromFederation({provider:r,token:data.token,user:o,identity_id:data.identity_id,expires_at:data.expires_at})})).catch((function(t){return"string"==typeof t&&0===t.toLowerCase().lastIndexOf("network error",t.length)||e.clear(),Vn.debug("refresh federated token failed",t),Promise.reject("refreshing federation token failed: "+t)}))},t.prototype._isExpired=function(t){if(!t)return Vn.debug("no credentials for expiration check"),!0;Vn.debug("are these credentials expired?",t);var e=Date.now();return!(t.expiration.getTime()>e+6e5&&e=0)return 1;return 0}();var o=n&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then((function(){e=!1,t()})))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout((function(){e=!1,t()}),r))}};function c(t){return t&&"[object Function]"==={}.toString.call(t)}function l(element,t){if(1!==element.nodeType)return[];var e=element.ownerDocument.defaultView.getComputedStyle(element,null);return t?e[t]:e}function d(element){return"HTML"===element.nodeName?element:element.parentNode||element.host}function f(element){if(!element)return document.body;switch(element.nodeName){case"HTML":case"BODY":return element.ownerDocument.body;case"#document":return element.body}var t=l(element),e=t.overflow,n=t.overflowX,r=t.overflowY;return/(auto|scroll|overlay)/.test(e+r+n)?element:f(d(element))}function h(t){return t&&t.referenceNode?t.referenceNode:t}var m=n&&!(!window.MSInputMethodContext||!document.documentMode),v=n&&/MSIE 10/.test(navigator.userAgent);function y(t){return 11===t?m:10===t?v:m||v}function w(element){if(!element)return document.documentElement;for(var t=y(10)?document.body:null,e=element.offsetParent||null;e===t&&element.nextElementSibling;)e=(element=element.nextElementSibling).offsetParent;var n=e&&e.nodeName;return n&&"BODY"!==n&&"HTML"!==n?-1!==["TH","TD","TABLE"].indexOf(e.nodeName)&&"static"===l(e,"position")?w(e):e:element?element.ownerDocument.documentElement:document.documentElement}function _(t){return null!==t.parentNode?_(t.parentNode):t}function S(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?t:e,o=n?e:t,c=document.createRange();c.setStart(r,0),c.setEnd(o,0);var element,l,d=c.commonAncestorContainer;if(t!==d&&e!==d||r.contains(o))return"BODY"===(l=(element=d).nodeName)||"HTML"!==l&&w(element.firstElementChild)!==element?w(d):d;var f=_(t);return f.host?S(f.host,e):S(t,_(e).host)}function x(element){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",e="top"===t?"scrollTop":"scrollLeft",n=element.nodeName;if("BODY"===n||"HTML"===n){var html=element.ownerDocument.documentElement,r=element.ownerDocument.scrollingElement||html;return r[e]}return element[e]}function O(rect,element){var t=arguments.length>2&&void 0!==arguments[2]&&arguments[2],e=x(element,"top"),n=x(element,"left"),r=t?-1:1;return rect.top+=e*r,rect.bottom+=e*r,rect.left+=n*r,rect.right+=n*r,rect}function k(t,e){var n="x"===e?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"])+parseFloat(t["border"+r+"Width"])}function E(t,body,html,e){return Math.max(body["offset"+t],body["scroll"+t],html["client"+t],html["offset"+t],html["scroll"+t],y(10)?parseInt(html["offset"+t])+parseInt(e["margin"+("Height"===t?"Top":"Left")])+parseInt(e["margin"+("Height"===t?"Bottom":"Right")]):0)}function M(t){var body=t.body,html=t.documentElement,e=y(10)&&getComputedStyle(html);return{height:E("Height",body,html,e),width:E("Width",body,html,e)}}var C=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},j=function(){function t(t,e){for(var i=0;i2&&void 0!==arguments[2]&&arguments[2],r=y(10),o="HTML"===e.nodeName,c=P(t),d=P(e),h=f(t),m=l(e),v=parseFloat(m.borderTopWidth),w=parseFloat(m.borderLeftWidth);n&&o&&(d.top=Math.max(d.top,0),d.left=Math.max(d.left,0));var _=T({top:c.top-d.top-v,left:c.left-d.left-w,width:c.width,height:c.height});if(_.marginTop=0,_.marginLeft=0,!r&&o){var S=parseFloat(m.marginTop),x=parseFloat(m.marginLeft);_.top-=v-S,_.bottom-=v-S,_.left-=w-x,_.right-=w-x,_.marginTop=S,_.marginLeft=x}return(r&&!n?e.contains(h):e===h&&"BODY"!==h.nodeName)&&(_=O(_,e)),_}function D(element){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],html=element.ownerDocument.documentElement,e=R(element,html),n=Math.max(html.clientWidth,window.innerWidth||0),r=Math.max(html.clientHeight,window.innerHeight||0),o=t?0:x(html),c=t?0:x(html,"left"),l={top:o-e.top+e.marginTop,left:c-e.left+e.marginLeft,width:n,height:r};return T(l)}function L(element){var t=element.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===l(element,"position"))return!0;var e=d(element);return!!e&&L(e)}function N(element){if(!element||!element.parentElement||y())return document.documentElement;for(var t=element.parentElement;t&&"none"===l(t,"transform");)t=t.parentElement;return t||document.documentElement}function B(t,e,n,r){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],c={top:0,left:0},l=o?N(t):S(t,h(e));if("viewport"===r)c=D(l,o);else{var m=void 0;"scrollParent"===r?"BODY"===(m=f(d(e))).nodeName&&(m=t.ownerDocument.documentElement):m="window"===r?t.ownerDocument.documentElement:r;var v=R(m,l,o);if("HTML"!==m.nodeName||L(l))c=v;else{var y=M(t.ownerDocument),w=y.height,_=y.width;c.top+=v.top-v.marginTop,c.bottom=w+v.top,c.left+=v.left-v.marginLeft,c.right=_+v.left}}var x="number"==typeof(n=n||0);return c.left+=x?n:n.left||0,c.top+=x?n:n.top||0,c.right-=x?n:n.right||0,c.bottom-=x?n:n.bottom||0,c}function U(t){return t.width*t.height}function F(t,e,n,r,o){var c=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var l=B(n,r,c,o),d={top:{width:l.width,height:e.top-l.top},right:{width:l.right-e.right,height:l.height},bottom:{width:l.width,height:l.bottom-e.bottom},left:{width:e.left-l.left,height:l.height}},f=Object.keys(d).map((function(t){return A({key:t},d[t],{area:U(d[t])})})).sort((function(a,b){return b.area-a.area})),h=f.filter((function(t){var e=t.width,r=t.height;return e>=n.clientWidth&&r>=n.clientHeight})),m=h.length>0?h[0].key:f[0].key,v=t.split("-")[1];return m+(v?"-"+v:"")}function z(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=r?N(e):S(e,h(n));return R(n,o,r)}function $(element){var t=element.ownerDocument.defaultView.getComputedStyle(element),e=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),n=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:element.offsetWidth+n,height:element.offsetHeight+e}}function V(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,(function(t){return e[t]}))}function H(t,e,n){n=n.split("-")[0];var r=$(t),o={width:r.width,height:r.height},c=-1!==["right","left"].indexOf(n),l=c?"top":"left",d=c?"left":"top",f=c?"height":"width",h=c?"width":"height";return o[l]=e[l]+e[f]/2-r[f]/2,o[d]=n===d?e[d]-r[h]:e[V(d)],o}function G(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function K(t,data,e){return(void 0===e?t:t.slice(0,function(t,e,n){if(Array.prototype.findIndex)return t.findIndex((function(t){return t[e]===n}));var r=G(t,(function(t){return t[e]===n}));return t.indexOf(r)}(t,"name",e))).forEach((function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var e=t.function||t.fn;t.enabled&&c(e)&&(data.offsets.popper=T(data.offsets.popper),data.offsets.reference=T(data.offsets.reference),data=e(data,t))})),data}function W(){if(!this.state.isDestroyed){var data={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};data.offsets.reference=z(this.state,this.popper,this.reference,this.options.positionFixed),data.placement=F(this.options.placement,data.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),data.originalPlacement=data.placement,data.positionFixed=this.options.positionFixed,data.offsets.popper=H(this.popper,data.offsets.reference,data.placement),data.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",data=K(this.modifiers,data),this.state.isCreated?this.options.onUpdate(data):(this.state.isCreated=!0,this.options.onCreate(data))}}function Y(t,e){return t.some((function(t){var n=t.name;return t.enabled&&n===e}))}function X(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),i=0;i1&&void 0!==arguments[1]&&arguments[1],n=ut.indexOf(t),r=ut.slice(n+1).concat(ut.slice(0,n));return e?r.reverse():r}var lt="flip",ft="clockwise",ht="counterclockwise";function pt(t,e,n,r){var o=[0,0],c=-1!==["right","left"].indexOf(r),l=t.split(/(\+|\-)/).map((function(t){return t.trim()})),d=l.indexOf(G(l,(function(t){return-1!==t.search(/,|\s/)})));l[d]&&-1===l[d].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var f=/\s*,\s*|\s+/,h=-1!==d?[l.slice(0,d).concat([l[d].split(f)[0]]),[l[d].split(f)[1]].concat(l.slice(d+1))]:[l];return(h=h.map((function(t,r){var o=(1===r?!c:c)?"height":"width",l=!1;return t.reduce((function(a,b){return""===a[a.length-1]&&-1!==["+","-"].indexOf(b)?(a[a.length-1]=b,l=!0,a):l?(a[a.length-1]+=b,l=!1,a):a.concat(b)}),[]).map((function(t){return function(t,e,n,r){var o=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),c=+o[1],l=o[2];if(!c)return t;if(0===l.indexOf("%")){var element=void 0;switch(l){case"%p":element=n;break;case"%":case"%r":default:element=r}return T(element)[e]/100*c}if("vh"===l||"vw"===l){return("vh"===l?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*c}return c}(t,o,e,n)}))}))).forEach((function(t,e){t.forEach((function(n,r){nt(n)&&(o[e]+=n*("-"===t[r-1]?-1:1))}))})),o}var mt={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(data){var t=data.placement,e=t.split("-")[0],n=t.split("-")[1];if(n){var r=data.offsets,o=r.reference,c=r.popper,l=-1!==["bottom","top"].indexOf(e),d=l?"left":"top",f=l?"width":"height",h={start:I({},d,o[d]),end:I({},d,o[d]+o[f]-c[f])};data.offsets.popper=A({},c,h[n])}return data}},offset:{order:200,enabled:!0,fn:function(data,t){var e=t.offset,n=data.placement,r=data.offsets,o=r.popper,c=r.reference,l=n.split("-")[0],d=void 0;return d=nt(+e)?[+e,0]:pt(e,o,c,l),"left"===l?(o.top+=d[0],o.left-=d[1]):"right"===l?(o.top+=d[0],o.left+=d[1]):"top"===l?(o.left+=d[0],o.top-=d[1]):"bottom"===l&&(o.left+=d[0],o.top+=d[1]),data.popper=o,data},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(data,t){var e=t.boundariesElement||w(data.instance.popper);data.instance.reference===e&&(e=w(e));var n=X("transform"),r=data.instance.popper.style,o=r.top,c=r.left,l=r[n];r.top="",r.left="",r[n]="";var d=B(data.instance.popper,data.instance.reference,t.padding,e,data.positionFixed);r.top=o,r.left=c,r[n]=l,t.boundaries=d;var f=t.priority,h=data.offsets.popper,m={primary:function(e){var n=h[e];return h[e]d[e]&&!t.escapeWithReference&&(r=Math.min(h[n],d[e]-("right"===e?h.width:h.height))),I({},n,r)}};return f.forEach((function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";h=A({},h,m[e](t))})),data.offsets.popper=h,data},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(data){var t=data.offsets,e=t.popper,n=t.reference,r=data.placement.split("-")[0],o=Math.floor,c=-1!==["top","bottom"].indexOf(r),l=c?"right":"bottom",d=c?"left":"top",f=c?"width":"height";return e[l]o(n[l])&&(data.offsets.popper[d]=o(n[l])),data}},arrow:{order:500,enabled:!0,fn:function(data,t){var e;if(!at(data.instance.modifiers,"arrow","keepTogether"))return data;var n=t.element;if("string"==typeof n){if(!(n=data.instance.popper.querySelector(n)))return data}else if(!data.instance.popper.contains(n))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),data;var r=data.placement.split("-")[0],o=data.offsets,c=o.popper,d=o.reference,f=-1!==["left","right"].indexOf(r),h=f?"height":"width",m=f?"Top":"Left",v=m.toLowerCase(),y=f?"left":"top",w=f?"bottom":"right",_=$(n)[h];d[w]-_c[w]&&(data.offsets.popper[v]+=d[v]+_-c[w]),data.offsets.popper=T(data.offsets.popper);var S=d[v]+d[h]/2-_/2,x=l(data.instance.popper),O=parseFloat(x["margin"+m]),k=parseFloat(x["border"+m+"Width"]),E=S-data.offsets.popper[v]-O-k;return E=Math.max(Math.min(c[h]-_,E),0),data.arrowElement=n,data.offsets.arrow=(I(e={},v,Math.round(E)),I(e,y,""),e),data},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(data,t){if(Y(data.instance.modifiers,"inner"))return data;if(data.flipped&&data.placement===data.originalPlacement)return data;var e=B(data.instance.popper,data.instance.reference,t.padding,t.boundariesElement,data.positionFixed),n=data.placement.split("-")[0],r=V(n),o=data.placement.split("-")[1]||"",c=[];switch(t.behavior){case lt:c=[n,r];break;case ft:c=ct(n);break;case ht:c=ct(n,!0);break;default:c=t.behavior}return c.forEach((function(l,d){if(n!==l||c.length===d+1)return data;n=data.placement.split("-")[0],r=V(n);var f=data.offsets.popper,h=data.offsets.reference,m=Math.floor,v="left"===n&&m(f.right)>m(h.left)||"right"===n&&m(f.left)m(h.top)||"bottom"===n&&m(f.top)m(e.right),_=m(f.top)m(e.bottom),x="left"===n&&y||"right"===n&&w||"top"===n&&_||"bottom"===n&&S,O=-1!==["top","bottom"].indexOf(n),k=!!t.flipVariations&&(O&&"start"===o&&y||O&&"end"===o&&w||!O&&"start"===o&&_||!O&&"end"===o&&S),E=!!t.flipVariationsByContent&&(O&&"start"===o&&w||O&&"end"===o&&y||!O&&"start"===o&&S||!O&&"end"===o&&_),M=k||E;(v||x||M)&&(data.flipped=!0,(v||x)&&(n=c[d+1]),M&&(o=function(t){return"end"===t?"start":"start"===t?"end":t}(o)),data.placement=n+(o?"-"+o:""),data.offsets.popper=A({},data.offsets.popper,H(data.instance.popper,data.offsets.reference,data.placement)),data=K(data.instance.modifiers,data,"flip"))})),data},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(data){var t=data.placement,e=t.split("-")[0],n=data.offsets,r=n.popper,o=n.reference,c=-1!==["left","right"].indexOf(e),l=-1===["top","left"].indexOf(e);return r[c?"left":"top"]=o[e]-(l?r[c?"width":"height"]:0),data.placement=V(t),data.offsets.popper=T(r),data}},hide:{order:800,enabled:!0,fn:function(data){if(!at(data.instance.modifiers,"hide","preventOverflow"))return data;var t=data.offsets.reference,e=G(data.instance.modifiers,(function(t){return"preventOverflow"===t.name})).boundaries;if(t.bottome.right||t.top>e.bottom||t.right2&&void 0!==arguments[2]?arguments[2]:{};C(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=o(this.update.bind(this)),this.options=A({},t.Defaults,l),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(A({},t.Defaults.modifiers,l.modifiers)).forEach((function(e){r.options.modifiers[e]=A({},t.Defaults.modifiers[e]||{},l.modifiers?l.modifiers[e]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(t){return A({name:t},r.options.modifiers[t])})).sort((function(a,b){return a.order-b.order})),this.modifiers.forEach((function(t){t.enabled&&c(t.onLoad)&&t.onLoad(r.reference,r.popper,r.options,t,r.state)})),this.update();var d=this.options.eventsEnabled;d&&this.enableEventListeners(),this.state.eventsEnabled=d}return j(t,[{key:"update",value:function(){return W.call(this)}},{key:"destroy",value:function(){return Z.call(this)}},{key:"enableEventListeners",value:function(){return tt.call(this)}},{key:"disableEventListeners",value:function(){return et.call(this)}}]),t}();bt.Utils=("undefined"!=typeof window?window:t).PopperUtils,bt.placements=st,bt.Defaults=mt,e.a=bt}).call(this,n(39))},function(t,e,n){"use strict";n.r(e);var r=n(50),o=n(471);n.d(e,"Amplify",(function(){return r.a}));var c=n(247),l=n(155),d=n(1313);n.d(e,"Analytics",(function(){return d.a}));var f=n(472);n.d(e,"AWSPinpointProvider",(function(){return f.a}));var h=n(473);n.d(e,"AWSKinesisProvider",(function(){return h.a}));var m=n(1314);n.d(e,"AWSKinesisFirehoseProvider",(function(){return m.a}));var v=n(1312);n.d(e,"AmazonPersonalizeProvider",(function(){return v.a})),n.d(e,"Auth",(function(){return c.a}));var y=n(467);n.d(e,"Storage",(function(){return y.a})),n.d(e,"StorageClass",(function(){return y.b}));var w=n(245);n.d(e,"API",(function(){return w.a})),n.d(e,"APIClass",(function(){return w.b}));var _=n(732);n.d(e,"graphqlOperation",(function(){return _.b}));var S=n(752);n.d(e,"DataStore",(function(){return S.a}));var x=n(21);n.d(e,"Predicates",(function(){return x.b}));var O=n(9);n.d(e,"SortDirection",(function(){return O.e})),n.d(e,"syncExpression",(function(){return O.n}));var k=n(360);n.d(e,"PubSub",(function(){return k.a})),n.d(e,"Cache",(function(){return l.a}));var E=n(1311);n.d(e,"Interactions",(function(){return E.a}));var M=n(717);for(var C in M)["default","Analytics","AWSPinpointProvider","AWSKinesisProvider","AWSKinesisFirehoseProvider","AmazonPersonalizeProvider","Auth","Storage","StorageClass","API","APIClass","graphqlOperation","DataStore","Predicates","SortDirection","syncExpression","PubSub","Cache","Interactions","XR","Predictions","Logger","Hub","JS","ClientDevice","Signer","I18n","ServiceWorker","withSSRContext","Amplify"].indexOf(C)<0&&function(t){n.d(e,t,(function(){return M[t]}))}(C);var j=n(1315);n.d(e,"XR",(function(){return j.a}));var I=n(1268);n.d(e,"Predictions",(function(){return I.a}));var A=n(185);n.d(e,"Logger",(function(){return A.a}));var T=n(303);n.d(e,"Hub",(function(){return T.a}));var P=n(173);n.d(e,"JS",(function(){return P.a}));var R=n(469);n.d(e,"ClientDevice",(function(){return R.a}));var D=n(357);n.d(e,"Signer",(function(){return D.a}));var L=n(470);n.d(e,"I18n",(function(){return L.a})),n.d(e,"ServiceWorker",(function(){return o.a}));var N=n(718);n.d(e,"withSSRContext",(function(){return N.a})),r.a.Auth=c.a,r.a.Cache=l.a,r.a.ServiceWorker=o.a,e.default=r.a},function(t,e,n){var r,o,c;t.exports=(c=n(163),o=(r=c).lib.WordArray,r.enc.Base64={stringify:function(t){var e=t.words,n=t.sigBytes,map=this._map;t.clamp();for(var r=[],i=0;i>>2]>>>24-i%4*8&255)<<16|(e[i+1>>>2]>>>24-(i+1)%4*8&255)<<8|e[i+2>>>2]>>>24-(i+2)%4*8&255,c=0;c<4&&i+.75*c>>6*(3-c)&63));var l=map.charAt(64);if(l)for(;r.length%4;)r.push(l);return r.join("")},parse:function(t){var e=t.length,map=this._map,n=this._reverseMap;if(!n){n=this._reverseMap=[];for(var r=0;r>>6-i%4*2;r[c>>>2]|=(l|d)<<24-c%4*8,c++}return o.create(r,c)}(t,e,n)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},c.enc.Base64)},function(t,e,n){"use strict";function r(source,t){for(var e,n=/\r\n|[\n\r]/g,line=1,r=t+1;(e=n.exec(source.body))&&e.indexy;y++)if((_=I(t[y]))&&_ instanceof h)return _;return new h(!1)}m=v.call(t)}for(S=m.next;!(x=S.call(m)).done;){try{_=I(x.value)}catch(t){throw f(m),t}if("object"==typeof _&&_&&_ instanceof h)return _}return new h(!1)}},function(t,e){t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},function(t,e,n){var r,o,c,l=n(881),d=n(149),f=n(203),h=n(210),m=n(204),v=n(427),y=n(338),w=n(339),_=d.WeakMap;if(l){var S=v.state||(v.state=new _),x=S.get,O=S.has,k=S.set;r=function(t,e){return e.facade=t,k.call(S,t,e),e},o=function(t){return x.call(S,t)||{}},c=function(t){return O.call(S,t)}}else{var E=y("state");w[E]=!0,r=function(t,e){return e.facade=t,h(t,E,e),e},o=function(t){return m(t,E)?t[E]:{}},c=function(t){return m(t,E)}}t.exports={set:r,get:o,has:c,enforce:function(t){return c(t)?o(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!f(e)||(n=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}}},function(t,e,n){var r=n(167),o=n(152),c=n(436),l=o("species");t.exports=function(t){return c>=51||!r((function(){var e=[];return(e.constructor={})[l]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},function(t,e,n){var r=n(288),o=n(422),c=n(240),l=n(257),d=n(600),f=[].push,h=function(t){var e=1==t,n=2==t,h=3==t,m=4==t,v=6==t,y=7==t,w=5==t||v;return function(_,S,x,O){for(var k,E,M=c(_),C=o(M),j=r(S,x,3),I=l(C.length),A=0,T=O||d,P=e?T(_,I):n||y?T(_,0):void 0;I>A;A++)if((w||A in C)&&(E=j(k=C[A],A,M),t))if(e)P[A]=E;else if(E)switch(t){case 3:return!0;case 5:return k;case 6:return A;case 2:f.call(P,k)}else switch(t){case 4:return!1;case 7:f.call(P,k)}return v?-1:h||m?m:P}};t.exports={forEach:h(0),map:h(1),filter:h(2),some:h(3),every:h(4),find:h(5),findIndex:h(6),filterOut:h(7)}},function(t,e,n){var r=n(20).Buffer;function o(t){r.isBuffer(t)||(t=r.from(t));for(var e=t.length/4|0,n=new Array(e),i=0;i>>24]^m[_>>>16&255]^v[S>>>8&255]^y[255&x]^e[O++],l=h[_>>>24]^m[S>>>16&255]^v[x>>>8&255]^y[255&w]^e[O++],d=h[S>>>24]^m[x>>>16&255]^v[w>>>8&255]^y[255&_]^e[O++],f=h[x>>>24]^m[w>>>16&255]^v[_>>>8&255]^y[255&S]^e[O++],w=c,_=l,S=d,x=f;return c=(r[w>>>24]<<24|r[_>>>16&255]<<16|r[S>>>8&255]<<8|r[255&x])^e[O++],l=(r[_>>>24]<<24|r[S>>>16&255]<<16|r[x>>>8&255]<<8|r[255&w])^e[O++],d=(r[S>>>24]<<24|r[x>>>16&255]<<16|r[w>>>8&255]<<8|r[255&_])^e[O++],f=(r[x>>>24]<<24|r[w>>>16&255]<<16|r[_>>>8&255]<<8|r[255&S])^e[O++],[c>>>=0,l>>>=0,d>>>=0,f>>>=0]}var d=[0,1,2,4,8,16,32,64,128,27,54],f=function(){for(var t=new Array(256),e=0;e<256;e++)t[e]=e<128?e<<1:e<<1^283;for(var n=[],r=[],o=[[],[],[],[]],c=[[],[],[],[]],l=0,d=0,i=0;i<256;++i){var f=d^d<<1^d<<2^d<<3^d<<4;f=f>>>8^255&f^99,n[l]=f,r[f]=l;var h=t[l],m=t[h],v=t[m],y=257*t[f]^16843008*f;o[0][l]=y<<24|y>>>8,o[1][l]=y<<16|y>>>16,o[2][l]=y<<8|y>>>24,o[3][l]=y,y=16843009*v^65537*m^257*h^16843008*l,c[0][f]=y<<24|y>>>8,c[1][f]=y<<16|y>>>16,c[2][f]=y<<8|y>>>24,c[3][f]=y,0===l?l=d=1:(l=h^t[t[t[v^h]]],d^=t[t[d]])}return{SBOX:n,INV_SBOX:r,SUB_MIX:o,INV_SUB_MIX:c}}();function h(t){this._key=o(t),this._reset()}h.blockSize=16,h.keySize=32,h.prototype.blockSize=h.blockSize,h.prototype.keySize=h.keySize,h.prototype._reset=function(){for(var t=this._key,e=t.length,n=e+6,r=4*(n+1),o=[],c=0;c>>24,l=f.SBOX[l>>>24]<<24|f.SBOX[l>>>16&255]<<16|f.SBOX[l>>>8&255]<<8|f.SBOX[255&l],l^=d[c/e|0]<<24):e>6&&c%e==4&&(l=f.SBOX[l>>>24]<<24|f.SBOX[l>>>16&255]<<16|f.SBOX[l>>>8&255]<<8|f.SBOX[255&l]),o[c]=o[c-e]^l}for(var h=[],m=0;m>>24]]^f.INV_SUB_MIX[1][f.SBOX[y>>>16&255]]^f.INV_SUB_MIX[2][f.SBOX[y>>>8&255]]^f.INV_SUB_MIX[3][f.SBOX[255&y]]}this._nRounds=n,this._keySchedule=o,this._invKeySchedule=h},h.prototype.encryptBlockRaw=function(t){return l(t=o(t),this._keySchedule,f.SUB_MIX,f.SBOX,this._nRounds)},h.prototype.encryptBlock=function(t){var e=this.encryptBlockRaw(t),n=r.allocUnsafe(16);return n.writeUInt32BE(e[0],0),n.writeUInt32BE(e[1],4),n.writeUInt32BE(e[2],8),n.writeUInt32BE(e[3],12),n},h.prototype.decryptBlock=function(t){var e=(t=o(t))[1];t[1]=t[3],t[3]=e;var n=l(t,this._invKeySchedule,f.INV_SUB_MIX,f.INV_SBOX,this._nRounds),c=r.allocUnsafe(16);return c.writeUInt32BE(n[0],0),c.writeUInt32BE(n[3],4),c.writeUInt32BE(n[2],8),c.writeUInt32BE(n[1],12),c},h.prototype.scrub=function(){c(this._keySchedule),c(this._invKeySchedule),c(this._key)},t.exports.AES=h},function(t,e,n){var r=n(20).Buffer,o=n(443);t.exports=function(t,e,n,c){if(r.isBuffer(t)||(t=r.from(t,"binary")),e&&(r.isBuffer(e)||(e=r.from(e,"binary")),8!==e.length))throw new RangeError("salt should be Buffer with 8 byte length");for(var l=n/8,d=r.alloc(l),f=r.alloc(c||0),h=r.alloc(0);l>0||c>0;){var m=new o;m.update(h),m.update(t),e&&m.update(e),h=m.digest();var v=0;if(l>0){var y=d.length-l;v=Math.min(l,h.length),h.copy(d,y,0,v),l-=v}if(v0){var w=f.length-c,_=Math.min(c,h.length-v);h.copy(f,w,v,v+_),c-=_}}return h.fill(0),{key:d,iv:f}}},function(t,e,n){"use strict";var r=n(219),o=n(198),c=o.getNAF,l=o.getJSF,d=o.assert;function f(t,e){this.type=t,this.p=new r(e.p,16),this.red=e.prime?r.red(e.prime):r.mont(this.p),this.zero=new r(0).toRed(this.red),this.one=new r(1).toRed(this.red),this.two=new r(2).toRed(this.red),this.n=e.n&&new r(e.n,16),this.g=e.g&&this.pointFromJSON(e.g,e.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var n=this.n&&this.p.div(this.n);!n||n.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function h(t,e){this.curve=t,this.type=e,this.precomputed=null}t.exports=f,f.prototype.point=function(){throw new Error("Not implemented")},f.prototype.validate=function(){throw new Error("Not implemented")},f.prototype._fixedNafMul=function(p,t){d(p.precomputed);var e=p._getDoubles(),n=c(t,1,this._bitLength),r=(1<=l;t--)f=(f<<1)+n[t];o.push(f)}for(var a=this.jpoint(null,null,null),b=this.jpoint(null,null,null),i=r;i>0;i--){for(l=0;l=0;i--){for(t=0;i>=0&&0===o[i];i--)t++;if(i>=0&&t++,l=l.dblp(t),i<0)break;var f=o[i];d(0!==f),l="affine"===p.type?f>0?l.mixedAdd(r[f-1>>1]):l.mixedAdd(r[-f-1>>1].neg()):f>0?l.add(r[f-1>>1]):l.add(r[-f-1>>1].neg())}return"affine"===p.type?l.toP():l},f.prototype._wnafMulAdd=function(t,e,n,r,o){for(var d=this._wnafT1,f=this._wnafT2,h=this._wnafT3,m=0,i=0;i=1;i-=2){var a=i-1,b=i;if(1===d[a]&&1===d[b]){var y=[e[a],null,null,e[b]];0===e[a].y.cmp(e[b].y)?(y[1]=e[a].add(e[b]),y[2]=e[a].toJ().mixedAdd(e[b].neg())):0===e[a].y.cmp(e[b].y.redNeg())?(y[1]=e[a].toJ().mixedAdd(e[b]),y[2]=e[a].add(e[b].neg())):(y[1]=e[a].toJ().mixedAdd(e[b]),y[2]=e[a].toJ().mixedAdd(e[b].neg()));var w=[-3,-1,-5,-7,0,7,5,1,3],_=l(n[a],n[b]);m=Math.max(_[0].length,m),h[a]=new Array(m),h[b]=new Array(m);for(var S=0;S=0;i--){for(var M=0;i>=0;){var C=!0;for(S=0;S=0&&M++,k=k.dblp(M),i<0)break;for(S=0;S0?p=f[S][j-1>>1]:j<0&&(p=f[S][-j-1>>1].neg()),k="affine"===p.type?k.mixedAdd(p):k.add(p))}}for(i=0;i=Math.ceil((t.bitLength()+1)/e.step)},h.prototype._getDoubles=function(t,e){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var n=[this],r=this,i=0;i))|((NAME:)?(NAME))([^>]*)>|((\\/)(NAME)\\s*>))([^<]*)".replace(/NAME/g,r.nameRegexp);!Number.parseInt&&window.parseInt&&(Number.parseInt=window.parseInt),!Number.parseFloat&&window.parseFloat&&(Number.parseFloat=window.parseFloat);const l={attributeNamePrefix:"@_",attrNodeName:!1,textNodeName:"#text",ignoreAttributes:!0,ignoreNameSpace:!1,allowBooleanAttributes:!1,parseNodeValue:!0,parseAttributeValue:!1,arrayMode:!1,trimValues:!0,cdataTagName:!1,cdataPositionChar:"\\c",tagValueProcessor:function(a,t){return a},attrValueProcessor:function(a,t){return a},stopNodes:[]};e.defaultOptions=l;const d=["attributeNamePrefix","attrNodeName","textNodeName","ignoreAttributes","ignoreNameSpace","allowBooleanAttributes","parseNodeValue","parseAttributeValue","arrayMode","trimValues","cdataTagName","cdataPositionChar","tagValueProcessor","attrValueProcessor","parseTrueNumberOnly","stopNodes"];function f(t,e,n){return e&&(n.trimValues&&(e=e.trim()),e=m(e=n.tagValueProcessor(e,t),n.parseNodeValue,n.parseTrueNumberOnly)),e}function h(t,e){if(e.ignoreNameSpace){const e=t.split(":"),n="/"===t.charAt(0)?"/":"";if("xmlns"===e[0])return"";2===e.length&&(t=n+e[1])}return t}function m(t,e,n){if(e&&"string"==typeof t){let e;return""===t.trim()||isNaN(t)?e="true"===t||"false"!==t&&t:(-1!==t.indexOf("0x")?e=Number.parseInt(t,16):-1!==t.indexOf(".")?(e=Number.parseFloat(t),t=t.replace(/\.?0+$/,"")):e=Number.parseInt(t,10),n&&(e=String(e)===t?e:t)),e}return r.isExist(t)?t:""}e.props=d;const v=new RegExp("([^\\s=]+)\\s*(=\\s*(['\"])(.*?)\\3)?","g");function y(t,e){if(!e.ignoreAttributes&&"string"==typeof t){t=t.replace(/\r?\n/g," ");const n=r.getAllMatches(t,v),o=n.length,c={};for(let i=0;i"===r)return{data:e,index:n};"\t"===r&&(r=" ")}e+=r}}function _(t,e,i,n){const r=t.indexOf(e,i);if(-1===r)throw new Error(n);return r+e.length-1}e.getTraversalObj=function(t,e){t=t.replace(/(\r\n)|\n/," "),e=o(e,l,d);const n=new c("!xml");let h=n,m="";for(let i=0;i",i,"Closing Tag is not closed.");let o=t.substring(i+2,n).trim();if(e.ignoreNameSpace){const t=o.indexOf(":");-1!==t&&(o=o.substr(t+1))}h&&(h.val?h.val=r.getValue(h.val)+""+f(o,m,e):h.val=f(o,m,e)),e.stopNodes.length&&e.stopNodes.includes(h.tagname)&&(h.child=[],null==h.attrsMap&&(h.attrsMap={}),h.val=t.substr(h.startIndex+1,i-h.startIndex-1)),h=h.parent,m="",i=n}else if("?"===t[i+1])i=_(t,"?>",i,"Pi Tag is not closed.");else if("!--"===t.substr(i+1,3))i=_(t,"--\x3e",i,"Comment is not closed.");else if("!D"===t.substr(i+1,2)){const e=_(t,">",i,"DOCTYPE is not closed.");i=t.substring(i,e).indexOf("[")>=0?t.indexOf("]>",i)+1:e}else if("!["===t.substr(i+1,2)){const n=_(t,"]]>",i,"CDATA is not closed.")-2,o=t.substring(i+9,n);if(m&&(h.val=r.getValue(h.val)+""+f(h.tagname,m,e),m=""),e.cdataTagName){const t=new c(e.cdataTagName,h,o);h.addChild(t),h.val=r.getValue(h.val)+e.cdataPositionChar,o&&(t.val=o)}else h.val=(h.val||"")+(o||"");i=n+2}else{const n=w(t,i+1);let o=n.data;const l=n.index,d=o.indexOf(" ");let v=o;if(-1!==d&&(v=o.substr(0,d).trimRight(),o=o.substr(d+1)),e.ignoreNameSpace){const t=v.indexOf(":");-1!==t&&(v=v.substr(t+1))}if(h&&m&&"!xml"!==h.tagname&&(h.val=r.getValue(h.val)+""+f(h.tagname,m,e)),o.length>0&&o.lastIndexOf("/")===o.length-1){"/"===v[v.length-1]?(v=v.substr(0,v.length-1),o=v):o=o.substr(0,o.length-1);const t=new c(v,h,"");v!==o&&(t.attrsMap=y(o,e)),h.addChild(t)}else{const t=new c(v,h);e.stopNodes.length&&e.stopNodes.includes(t.tagname)&&(t.startIndex=l),v!==o&&(t.attrsMap=y(o,e)),h.addChild(t),h=t}m="",i=l}else m+=t[i]}return n}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return c})),n.d(e,"c",(function(){return l}));var r="undefined"!=typeof Symbol&&"function"==typeof Symbol.for,o=r?Symbol.for("INTERNAL_AWS_APPSYNC_PUBSUB_PROVIDER"):"@@INTERNAL_AWS_APPSYNC_PUBSUB_PROVIDER",c=r?Symbol.for("INTERNAL_AWS_APPSYNC_REALTIME_PUBSUB_PROVIDER"):"@@INTERNAL_AWS_APPSYNC_REALTIME_PUBSUB_PROVIDER",l="x-amz-user-agent"},function(t,e,n){"use strict";n.r(e),e.default=function(t,e){return e=e||{},new Promise((function(n,r){var s=new XMLHttpRequest,o=[],u=[],i={},a=function(){return{ok:2==(s.status/100|0),statusText:s.statusText,status:s.status,url:s.responseURL,text:function(){return Promise.resolve(s.responseText)},json:function(){return Promise.resolve(s.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([s.response]))},clone:a,headers:{keys:function(){return o},entries:function(){return u},get:function(t){return i[t.toLowerCase()]},has:function(t){return t.toLowerCase()in i}}}};for(var c in s.open(e.method||"get",t,!0),s.onload=function(){s.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,(function(t,e,n){o.push(e=e.toLowerCase()),u.push([e,n]),i[e]=i[e]?i[e]+","+n:n})),n(a())},s.onerror=r,s.withCredentials="include"==e.credentials,e.headers)s.setRequestHeader(c,e.headers[c]);s.send(e.body||null)}))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return M}));var r=n(185),o=n(479),c=n(157),l=n(48),d=n(270),f=function(){return(f=Object.assign||function(t){for(var s,i=1,e=arguments.length;i0&&r[r.length-1])||6!==c[0]&&2!==c[0])){o=0;continue}if(3===c[0]&&(!r||c[1]>r[0]&&c[1]=n;if("+"!==o&&o!==c)return!1}return n===r.length})(r,t)&&n.push(e)}));var r=JSON.parse(e);"object"==typeof r&&(r[A]=t),n.forEach((function(t){t.forEach((function(t){return t.next(r)}))}))}catch(t){E.warn("Error handling message",t,e)}},e.prototype.subscribe=function(t,e){var n=this;void 0===e&&(e={});var r=[].concat(t);return E.debug("Subscribing to topic(s)",r.join(",")),new o.a((function(t){var o;r.forEach((function(e){var r=n._topicObservers.get(e);r||(r=new Set,n._topicObservers.set(e,r)),r.add(t)}));var c=e.clientId,l=void 0===c?n.clientId:c,d=n._clientIdObservers.get(l);return d||(d=new Set),d.add(t),n._clientIdObservers.set(l,d),x(n,void 0,void 0,(function(){var n,c,d,f;return O(this,(function(h){switch(h.label){case 0:return void 0!==(n=e.url)?[3,2]:[4,this.endpoint];case 1:return d=h.sent(),[3,3];case 2:d=n,h.label=3;case 3:c=d,h.label=4;case 4:return h.trys.push([4,6,,7]),[4,this.connect(l,{url:c})];case 5:return o=h.sent(),r.forEach((function(t){o.subscribe(t)})),[3,7];case 6:return f=h.sent(),t.error(f),[3,7];case 7:return[2]}}))})),function(){return E.debug("Unsubscribing from topic(s)",r.join(",")),o&&(n._clientIdObservers.get(l).delete(t),0===n._clientIdObservers.get(l).size&&(n.disconnect(l),n._clientIdObservers.delete(l)),r.forEach((function(e){var r=n._topicObservers.get(e)||new Set;r.delete(t),0===r.size&&(n._topicObservers.delete(e),o.isConnected()&&o.unsubscribe(e))}))),null}}))},e}(w),P=function(){var t=function(e,b){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,b){t.__proto__=b}||function(t,b){for(var p in b)b.hasOwnProperty(p)&&(t[p]=b[p])})(e,b)};return function(e,b){function n(){this.constructor=e}t(e,b),e.prototype=null===b?Object.create(b):(n.prototype=b.prototype,new n)}}(),R=function(t,e,n,r){return new(n||(n=Promise))((function(o,c){function l(t){try{f(r.next(t))}catch(t){c(t)}}function d(t){try{f(r.throw(t))}catch(t){c(t)}}function f(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(l,d)}f((r=r.apply(t,e||[])).next())}))},D=function(t,body){var e,n,r,g,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return g={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(g[Symbol.iterator]=function(){return this}),g;function c(c){return function(l){return function(c){if(e)throw new TypeError("Generator is already executing.");for(;o;)try{if(e=1,n&&(r=2&c[0]?n.return:c[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,c[1])).done)return r;switch(n=0,r&&(c=[2&c[0],r.value]),c[0]){case 0:case 1:r=c;break;case 4:return o.label++,{value:c[1],done:!1};case 5:o.label++,n=c[1],c=[0];continue;case 7:c=o.ops.pop(),o.trys.pop();continue;default:if(!(r=o.trys,(r=r.length>0&&r[r.length-1])||6!==c[0]&&2!==c[0])){o=0;continue}if(3===c[0]&&(!r||c[1]>r[0]&&c[1]0)&&!(r=i.next()).done;)c.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return c},B=function(){for(var t=[],i=0;i-1}));if(r){var o=r.client,c=r.url;t[o]||(t[o]={url:c,topics:new Set}),t[o].topics.add(e)}return t}),{})),[4,Promise.all(map.map((function(t){var e=N(t,2),n=e[0],o=e[1],c=o.url,l=o.topics;return R(d,void 0,void 0,(function(){var t,e,o=this;return D(this,(function(d){switch(d.label){case 0:t=null,d.label=1;case 1:return d.trys.push([1,3,,4]),[4,this.connect(n,{clientId:n,url:c})];case 2:return t=d.sent(),[3,4];case 3:return e=d.sent(),r.error({message:"Failed to connect",error:e}),r.complete(),[2,void 0];case 4:return l.forEach((function(e){t.isConnected()&&(t.subscribe(e),o._topicClient.set(e,t))})),[2,t]}}))}))})))];case 1:return f.sent(),[2]}}))})),function(){U.debug("Unsubscribing from topic(s)",o.join(",")),o.forEach((function(t){var e=n._topicClient.get(t);e&&e.isConnected()&&(e.unsubscribe(t),n._topicClient.delete(t),Array.from(n._topicClient.values()).some((function(t){return t===e}))||n.disconnect(e.clientId)),n._topicObservers.delete(t)}))}}));return o.a.from(r).map((function(t){var e=n.getTopicForValue(t),r=n._topicAlias.get(e);return t.data=Object.entries(t.data).reduce((function(t,e){var n=N(e,2),o=n[0],c=n[1];return t[r||o]=c,t}),{}),t}))},e}(T),z=n(311),$=n(48),V=n(13),H=n(303),G=n(10),K=n(1335),W=n(304),Y=n(357),X=n(155),Z=n(183),J=n(174),Q=function(){var t=function(e,b){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,b){t.__proto__=b}||function(t,b){for(var p in b)b.hasOwnProperty(p)&&(t[p]=b[p])})(e,b)};return function(e,b){function n(){this.constructor=e}t(e,b),e.prototype=null===b?Object.create(b):(n.prototype=b.prototype,new n)}}(),tt=function(){return(tt=Object.assign||function(t){for(var s,i=1,e=arguments.length;i0&&r[r.length-1])||6!==c[0]&&2!==c[0])){o=0;continue}if(3===c[0]&&(!r||c[1]>r[0]&&c[1]0)&&!(r=i.next()).done;)c.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return c},ot=new l.a("AWSAppSyncRealTimeProvider"),at="undefined"!=typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("amplify_default"):"@@amplify_default",st=[400,401,403];!function(t){t.GQL_CONNECTION_INIT="connection_init",t.GQL_CONNECTION_ERROR="connection_error",t.GQL_CONNECTION_ACK="connection_ack",t.GQL_START="start",t.GQL_START_ACK="start_ack",t.GQL_DATA="data",t.GQL_CONNECTION_KEEP_ALIVE="ka",t.GQL_STOP="stop",t.GQL_COMPLETE="complete",t.GQL_ERROR="error"}(M||(M={})),function(t){t[t.PENDING=0]="PENDING",t[t.CONNECTED=1]="CONNECTED",t[t.FAILED=2]="FAILED"}(C||(C={})),function(t){t[t.CLOSED=0]="CLOSED",t[t.READY=1]="READY",t[t.CONNECTING=2]="CONNECTING"}(j||(j={}));var ut={accept:"application/json, text/javascript","content-encoding":"amz-1.0","content-type":"application/json; charset=UTF-8"},ct=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.socketStatus=j.CLOSED,e.keepAliveTimeout=3e5,e.subscriptionObserverMap=new Map,e.promiseArray=[],e}return Q(e,t),e.prototype.getProviderName=function(){return"AWSAppSyncRealTimeProvider"},e.prototype.newClient=function(){throw new Error("Not used here")},e.prototype.publish=function(t,e,n){return et(this,void 0,void 0,(function(){return nt(this,(function(t){throw new Error("Operation not supported")}))}))},e.prototype.subscribe=function(t,e){var n=this,r=e.appSyncGraphqlEndpoint;return new o.a((function(t){if(r){var o=Object(m.v4)();return n._startSubscriptionWithAWSAppSyncRealTime({options:e,observer:t,subscriptionId:o}),function(){return et(n,void 0,void 0,(function(){var t,e;return nt(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,3,4]),[4,this._waitForSubscriptionToBeConnected(o)];case 1:if(n.sent(),!(t=(this.subscriptionObserverMap.get(o)||{}).subscriptionState))return[2];if(t!==C.CONNECTED)throw new Error("Subscription never connected");return this._sendUnsubscriptionMessage(o),[3,4];case 2:return e=n.sent(),ot.debug("Error while unsubscribing "+e),[3,4];case 3:return this._removeSubscriptionObserver(o),[7];case 4:return[2]}}))}))}}t.error({errors:[tt({},new z.a("Subscribe only available for AWS AppSync endpoint"))]}),t.complete()}))},Object.defineProperty(e.prototype,"isSSLEnabled",{get:function(){return!this.options.aws_appsync_dangerously_connect_to_http_endpoint_for_testing},enumerable:!0,configurable:!0}),e.prototype._startSubscriptionWithAWSAppSyncRealTime=function(t){var e=t.options,n=t.observer,r=t.subscriptionId;return et(this,void 0,void 0,(function(){var t,o,c,l,f,h,m,v,y,w,_,data,S,x,O,k,E,j,I,A,T,P,R,D,L,N,B=this;return nt(this,(function(U){switch(U.label){case 0:return t=e.appSyncGraphqlEndpoint,o=e.authenticationType,c=e.query,l=e.variables,f=e.apiKey,h=e.region,m=e.graphql_headers,v=void 0===m?function(){return{}}:m,y=e.additionalHeaders,w=void 0===y?{}:y,_=C.PENDING,data={query:c,variables:l},this.subscriptionObserverMap.set(r,{observer:n,query:c,variables:l,subscriptionState:_,startAckTimeoutId:null}),S=JSON.stringify(data),O=[{}],[4,this._awsRealTimeHeaderBasedAuth({apiKey:f,appSyncGraphqlEndpoint:t,authenticationType:o,payload:S,canonicalUri:"",region:h})];case 1:return k=[tt.apply(void 0,O.concat([U.sent()]))],[4,v()];case 2:x=tt.apply(void 0,[tt.apply(void 0,[tt.apply(void 0,k.concat([U.sent()])),w]),(N={},N[d.c]=G.a.userAgent,N)]),E={id:r,payload:{data:S,extensions:{authorization:tt({},x)}},type:M.GQL_START},j=JSON.stringify(E),U.label=3;case 3:return U.trys.push([3,5,,6]),[4,this._initializeWebSocketConnection({apiKey:f,appSyncGraphqlEndpoint:t,authenticationType:o,region:h})];case 4:return U.sent(),[3,6];case 5:return I=U.sent(),ot.debug({err:I}),A=I.message,T=void 0===A?"":A,n.error({errors:[tt({},new z.a("Connection failed: "+T))]}),n.complete(),"function"==typeof(P=(this.subscriptionObserverMap.get(r)||{}).subscriptionFailedCallback)&&P(),[2];case 6:return R=this.subscriptionObserverMap.get(r),D=R.subscriptionFailedCallback,L=R.subscriptionReadyCallback,this.subscriptionObserverMap.set(r,{observer:n,subscriptionState:_,variables:l,query:c,subscriptionReadyCallback:L,subscriptionFailedCallback:D,startAckTimeoutId:setTimeout((function(){B._timeoutStartSubscriptionAck.call(B,r)}),15e3)}),this.awsRealTimeSocket.send(j),[2]}}))}))},e.prototype._waitForSubscriptionToBeConnected=function(t){return et(this,void 0,void 0,(function(){var e=this;return nt(this,(function(n){return this.subscriptionObserverMap.get(t).subscriptionState===C.PENDING?[2,new Promise((function(n,r){var o=e.subscriptionObserverMap.get(t),c=o.observer,l=o.subscriptionState,d=o.variables,f=o.query;e.subscriptionObserverMap.set(t,{observer:c,subscriptionState:l,variables:d,query:f,subscriptionReadyCallback:n,subscriptionFailedCallback:r})}))]:[2]}))}))},e.prototype._sendUnsubscriptionMessage=function(t){try{if(this.awsRealTimeSocket&&this.awsRealTimeSocket.readyState===WebSocket.OPEN&&this.socketStatus===j.READY){var e={id:t,type:M.GQL_STOP},n=JSON.stringify(e);this.awsRealTimeSocket.send(n)}}catch(t){ot.debug({err:t})}},e.prototype._removeSubscriptionObserver=function(t){this.subscriptionObserverMap.delete(t),setTimeout(this._closeSocketIfRequired.bind(this),1e3)},e.prototype._closeSocketIfRequired=function(){if(!(this.subscriptionObserverMap.size>0))if(this.awsRealTimeSocket)if(this.awsRealTimeSocket.bufferedAmount>0)setTimeout(this._closeSocketIfRequired.bind(this),1e3);else{ot.debug("closing WebSocket..."),clearTimeout(this.keepAliveTimeoutId);var t=this.awsRealTimeSocket;t.onclose=void 0,t.onerror=void 0,t.close(1e3),this.awsRealTimeSocket=null,this.socketStatus=j.CLOSED}else this.socketStatus=j.CLOSED},e.prototype._handleIncomingSubscriptionMessage=function(t){ot.debug("subscription message from AWS AppSync RealTime: "+t.data);var e=JSON.parse(t.data),n=e.id,r=void 0===n?"":n,o=e.payload,c=e.type,l=this.subscriptionObserverMap.get(r)||{},d=l.observer,f=void 0===d?null:d,h=l.query,m=void 0===h?"":h,v=l.variables,y=void 0===v?{}:v,w=l.startAckTimeoutId,_=l.subscriptionReadyCallback,S=l.subscriptionFailedCallback;if(ot.debug({id:r,observer:f,query:m,variables:y}),c===M.GQL_DATA&&o&&o.data)f?f.next(o):ot.debug("observer not found for id: "+r);else if(c!==M.GQL_START_ACK){if(c===M.GQL_CONNECTION_KEEP_ALIVE)return clearTimeout(this.keepAliveTimeoutId),void(this.keepAliveTimeoutId=setTimeout(this._errorDisconnect.bind(this,J.a.TIMEOUT_DISCONNECT),this.keepAliveTimeout));if(c===M.GQL_ERROR){x=C.FAILED;this.subscriptionObserverMap.set(r,{observer:f,query:m,variables:y,startAckTimeoutId:w,subscriptionReadyCallback:_,subscriptionFailedCallback:S,subscriptionState:x}),f.error({errors:[tt({},new z.a("Connection failed: "+JSON.stringify(o)))]}),clearTimeout(w),f.complete(),"function"==typeof S&&S()}}else{ot.debug("subscription ready for "+JSON.stringify({query:m,variables:y})),"function"==typeof _&&_(),clearTimeout(w),function(t,data,e){H.a.dispatch("api",{event:t,data:data,message:e},"PubSub",at)}(J.a.SUBSCRIPTION_ACK,{query:m,variables:y},"Connection established for subscription");var x=C.CONNECTED;this.subscriptionObserverMap.set(r,{observer:f,query:m,variables:y,startAckTimeoutId:null,subscriptionState:x,subscriptionReadyCallback:_,subscriptionFailedCallback:S})}},e.prototype._errorDisconnect=function(t){ot.debug("Disconnect error: "+t),this.subscriptionObserverMap.forEach((function(e){var n=e.observer;n&&!n.closed&&n.error({errors:[tt({},new z.a(t))]})})),this.subscriptionObserverMap.clear(),this.awsRealTimeSocket&&this.awsRealTimeSocket.close(),this.socketStatus=j.CLOSED},e.prototype._timeoutStartSubscriptionAck=function(t){var e=this.subscriptionObserverMap.get(t)||{},n=e.observer,r=e.query,o=e.variables;n&&(this.subscriptionObserverMap.set(t,{observer:n,query:r,variables:o,subscriptionState:C.FAILED}),n&&!n.closed&&(n.error({errors:[tt({},new z.a("Subscription timeout "+JSON.stringify({query:r,variables:o})))]}),n.complete()),ot.debug("timeoutStartSubscription",JSON.stringify({query:r,variables:o})))},e.prototype._initializeWebSocketConnection=function(t){var e=this,n=t.appSyncGraphqlEndpoint,r=t.authenticationType,o=t.apiKey,c=t.region;if(this.socketStatus!==j.READY)return new Promise((function(t,l){return et(e,void 0,void 0,(function(){var e,d,f,h,m,v,y,w,_,S;return nt(this,(function(x){switch(x.label){case 0:if(this.promiseArray.push({res:t,rej:l}),this.socketStatus!==j.CLOSED)return[3,5];x.label=1;case 1:return x.trys.push([1,4,,5]),this.socketStatus=j.CONNECTING,e=this.isSSLEnabled?"wss://":"ws://",d=n.replace("https://",e).replace("http://",e).replace("appsync-api","appsync-realtime-api").replace("gogi-beta","grt-beta"),f="{}",v=(m=JSON).stringify,[4,this._awsRealTimeHeaderBasedAuth({authenticationType:r,payload:f,canonicalUri:"/connect",apiKey:o,appSyncGraphqlEndpoint:n,region:c})];case 2:return h=v.apply(m,[x.sent()]),y=V.Buffer.from(h).toString("base64"),w=V.Buffer.from(f).toString("base64"),_=d+"?header="+y+"&payload="+w,[4,this._initializeRetryableHandshake({awsRealTimeUrl:_})];case 3:return x.sent(),this.promiseArray.forEach((function(t){var e=t.res;ot.debug("Notifying connection successful"),e()})),this.socketStatus=j.READY,this.promiseArray=[],[3,5];case 4:throw S=x.sent(),this.promiseArray.forEach((function(t){return(0,t.rej)(S)})),this.promiseArray=[],this.awsRealTimeSocket&&this.awsRealTimeSocket.readyState===WebSocket.OPEN&&this.awsRealTimeSocket.close(3001),this.awsRealTimeSocket=null,this.socketStatus=j.CLOSED,S;case 5:return[2]}}))}))}))},e.prototype._initializeRetryableHandshake=function(t){var e=t.awsRealTimeUrl;return et(this,void 0,void 0,(function(){return nt(this,(function(t){switch(t.label){case 0:return ot.debug("Initializaling retryable Handshake"),[4,Object(K.b)(this._initializeHandshake.bind(this),[{awsRealTimeUrl:e}],5e3)];case 1:return t.sent(),[2]}}))}))},e.prototype._initializeHandshake=function(t){var e=t.awsRealTimeUrl;return et(this,void 0,void 0,(function(){var t,n,r,o=this;return nt(this,(function(c){switch(c.label){case 0:ot.debug("Initializing handshake "+e),c.label=1;case 1:return c.trys.push([1,4,,5]),[4,new Promise((function(t,n){var r=new WebSocket(e,"graphql-ws");r.onerror=function(){ot.debug("WebSocket connection error")},r.onclose=function(){n(new Error("Connection handshake error"))},r.onopen=function(){return o.awsRealTimeSocket=r,t()}}))];case 2:return c.sent(),[4,new Promise((function(t,e){var n=!1;o.awsRealTimeSocket.onerror=function(t){ot.debug("WebSocket error "+JSON.stringify(t))},o.awsRealTimeSocket.onclose=function(t){ot.debug("WebSocket closed "+t.reason),e(new Error(JSON.stringify(t)))},o.awsRealTimeSocket.onmessage=function(r){ot.debug("subscription message from AWS AppSyncRealTime: "+r.data+" ");var data=JSON.parse(r.data),c=data.type,l=data.payload,d=(void 0===l?{}:l).connectionTimeoutMs,f=void 0===d?3e5:d;if(c===M.GQL_CONNECTION_ACK)return n=!0,o.keepAliveTimeout=f,o.awsRealTimeSocket.onmessage=o._handleIncomingSubscriptionMessage.bind(o),o.awsRealTimeSocket.onerror=function(t){ot.debug(t),o._errorDisconnect(J.a.CONNECTION_CLOSED)},o.awsRealTimeSocket.onclose=function(t){ot.debug("WebSocket closed "+t.reason),o._errorDisconnect(J.a.CONNECTION_CLOSED)},void t("Cool, connected to AWS AppSyncRealTime");if(c===M.GQL_CONNECTION_ERROR){var h=data.payload,m=(void 0===h?{}:h).errors,v=it(void 0===m?[]:m,1)[0],y=void 0===v?{}:v,w=y.errorType,_=void 0===w?"":w,S=y.errorCode;e({errorType:_,errorCode:void 0===S?0:S})}};var r={type:M.GQL_CONNECTION_INIT};o.awsRealTimeSocket.send(JSON.stringify(r)),setTimeout(function(){n||e(new Error("Connection timeout: ack from AWSRealTime was not received on 15000 ms"))}.bind(o),15e3)}))];case 3:return c.sent(),[3,5];case 4:throw t=c.sent(),n=t.errorType,r=t.errorCode,st.includes(r)?new K.a(n):n?new Error(n):t;case 5:return[2]}}))}))},e.prototype._awsRealTimeHeaderBasedAuth=function(t){var e=t.authenticationType,n=t.payload,r=t.canonicalUri,o=t.appSyncGraphqlEndpoint,c=t.apiKey,l=t.region;return et(this,void 0,void 0,(function(){var t,d,f;return nt(this,(function(h){switch(h.label){case 0:return t={API_KEY:this._awsRealTimeApiKeyHeader.bind(this),AWS_IAM:this._awsRealTimeIAMHeader.bind(this),OPENID_CONNECT:this._awsRealTimeOPENIDHeader.bind(this),AMAZON_COGNITO_USER_POOLS:this._awsRealTimeCUPHeader.bind(this)},"function"!=typeof(d=t[e])?(ot.debug("Authentication type "+e+" not supported"),[2,""]):(f=$.parse(o).host,[4,d({payload:n,canonicalUri:r,appSyncGraphqlEndpoint:o,apiKey:c,region:l,host:f})]);case 1:return[2,h.sent()]}}))}))},e.prototype._awsRealTimeCUPHeader=function(t){var e=t.host;return et(this,void 0,void 0,(function(){return nt(this,(function(t){switch(t.label){case 0:return[4,Z.a.currentSession()];case 1:return[2,{Authorization:t.sent().getAccessToken().getJwtToken(),host:e}]}}))}))},e.prototype._awsRealTimeOPENIDHeader=function(t){var e=t.host;return et(this,void 0,void 0,(function(){var t,n,r;return nt(this,(function(o){switch(o.label){case 0:return[4,X.a.getItem("federatedInfo")];case 1:return(n=o.sent())?(t=n.token,[3,4]):[3,2];case 2:return[4,Z.a.currentAuthenticatedUser()];case 3:(r=o.sent())&&(t=r.token),o.label=4;case 4:if(!t)throw new Error("No federated jwt");return[2,{Authorization:t,host:e}]}}))}))},e.prototype._awsRealTimeApiKeyHeader=function(t){var e=t.apiKey,n=t.host;return et(this,void 0,void 0,(function(){var dt,t;return nt(this,(function(r){return dt=new Date,t=dt.toISOString().replace(/[:\-]|\.\d{3}/g,""),[2,{host:n,"x-amz-date":t,"x-api-key":e}]}))}))},e.prototype._awsRealTimeIAMHeader=function(t){var e=t.payload,n=t.canonicalUri,r=t.appSyncGraphqlEndpoint,o=t.region;return et(this,void 0,void 0,(function(){var t,c,l;return nt(this,(function(d){switch(d.label){case 0:return t={region:o,service:"appsync"},[4,this._ensureCredentials()];case 1:if(!d.sent())throw new Error("No credentials");return[4,W.a.get().then((function(t){return{secret_key:t.secretAccessKey,access_key:t.accessKeyId,session_token:t.sessionToken}}))];case 2:return c=d.sent(),l={url:""+r+n,data:e,method:"POST",headers:tt({},ut)},[2,Y.a.sign(l,c,t).headers]}}))}))},e.prototype._ensureCredentials=function(){return W.a.get().then((function(t){if(!t)return!1;var e=W.a.shear(t);return ot.debug("set credentials for AWSAppSyncRealTimeProvider",e),!0})).catch((function(t){return ot.warn("ensure credentials error",t),!1}))},e}(w),lt=function(t,e,n,r){return new(n||(n=Promise))((function(o,c){function l(t){try{f(r.next(t))}catch(t){c(t)}}function d(t){try{f(r.throw(t))}catch(t){c(t)}}function f(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(l,d)}f((r=r.apply(t,e||[])).next())}))},ft=function(t,body){var e,n,r,g,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return g={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(g[Symbol.iterator]=function(){return this}),g;function c(c){return function(l){return function(c){if(e)throw new TypeError("Generator is already executing.");for(;o;)try{if(e=1,n&&(r=2&c[0]?n.return:c[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,c[1])).done)return r;switch(n=0,r&&(c=[2&c[0],r.value]),c[0]){case 0:case 1:r=c;break;case 4:return o.label++,{value:c[1],done:!1};case 5:o.label++,n=c[1],c=[0];continue;case 7:c=o.ops.pop(),o.trys.pop();continue;default:if(!(r=o.trys,(r=r.length>0&&r[r.length-1])||6!==c[0]&&2!==c[0])){o=0;continue}if(3===c[0]&&(!r||c[1]>r[0]&&c[1]>>8^c[255&(this.checksum^l)]}}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return this},t.prototype.digest=function(){return(4294967295^this.checksum)>>>0},t}();e.Crc32=o;var c=Uint32Array.from([0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117])},function(t,e,n){var r=n(1196);t.exports=function(t,e){return r(t,e)}},function(t,e,n){var r=n(1263),o=n(1264),c=o;c.v1=r,c.v4=o,t.exports=c},function(t,e,n){"use strict";n.d(e,"a",(function(){return A}));var r=n(365),o=n(2),c=n(157),l=function(){function t(t){if(this.bytes=t,8!==t.byteLength)throw new Error("Int64 buffers must be exactly 8 bytes")}return t.fromNumber=function(e){if(e>0x8000000000000000||e<-0x8000000000000000)throw new Error(e+" is too large (or, if negative, too small) to represent as an Int64");for(var n=new Uint8Array(8),i=7,r=Math.abs(Math.round(e));i>-1&&r>0;i--,r/=256)n[i]=r;return e<0&&d(n),new t(n)},t.prototype.valueOf=function(){var t=this.bytes.slice(0),e=128&t[0];return e&&d(t),parseInt(Object(c.b)(t),16)*(e?-1:1)},t.prototype.toString=function(){return String(this.valueOf())},t}();function d(t){for(var i=0;i<8;i++)t[i]^=255;for(i=7;i>-1&&(t[i]++,0===t[i]);i--);}var f,h=function(){function t(t,e){this.toUtf8=t,this.fromUtf8=e}return t.prototype.format=function(t){var e,n,r,c,l=[];try{for(var d=Object(o.__values)(Object.keys(t)),f=d.next();!f.done;f=d.next()){var h=f.value,m=this.fromUtf8(h);l.push(Uint8Array.from([m.byteLength]),m,this.formatHeaderValue(t[h]))}}catch(t){e={error:t}}finally{try{f&&!f.done&&(n=d.return)&&n.call(d)}finally{if(e)throw e.error}}var v=new Uint8Array(l.reduce((function(t,e){return t+e.byteLength}),0)),y=0;try{for(var w=Object(o.__values)(l),_=w.next();!_.done;_=w.next()){var S=_.value;v.set(S,y),y+=S.byteLength}}catch(t){r={error:t}}finally{try{_&&!_.done&&(c=w.return)&&c.call(w)}finally{if(r)throw r.error}}return v},t.prototype.formatHeaderValue=function(header){switch(header.type){case"boolean":return Uint8Array.from([header.value?0:1]);case"byte":return Uint8Array.from([2,header.value]);case"short":var t=new DataView(new ArrayBuffer(3));return t.setUint8(0,3),t.setInt16(1,header.value,!1),new Uint8Array(t.buffer);case"integer":var e=new DataView(new ArrayBuffer(5));return e.setUint8(0,4),e.setInt32(1,header.value,!1),new Uint8Array(e.buffer);case"long":var n=new Uint8Array(9);return n[0]=5,n.set(header.value.bytes,1),n;case"binary":var r=new DataView(new ArrayBuffer(3+header.value.byteLength));r.setUint8(0,6),r.setUint16(1,header.value.byteLength,!1);var o=new Uint8Array(r.buffer);return o.set(header.value,3),o;case"string":var d=this.fromUtf8(header.value),f=new DataView(new ArrayBuffer(3+d.byteLength));f.setUint8(0,7),f.setUint16(1,d.byteLength,!1);var h=new Uint8Array(f.buffer);return h.set(d,3),h;case"timestamp":var m=new Uint8Array(9);return m[0]=8,m.set(l.fromNumber(header.value.valueOf()).bytes,1),m;case"uuid":if(!E.test(header.value))throw new Error("Invalid UUID received: "+header.value);var v=new Uint8Array(17);return v[0]=9,v.set(Object(c.a)(header.value.replace(/\-/g,"")),1),v}},t.prototype.parse=function(t){for(var e={},n=0;n-1&&delete t.headers[d]}}catch(t){e={error:t}}finally{try{l&&!l.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}return t}function I(time){return function(time){if("number"==typeof time)return new Date(1e3*time);if("string"==typeof time)return Number(time)?new Date(1e3*Number(time)):new Date(time);return time}(time).toISOString().replace(/\.\d{3}Z$/,"Z")}var A=function(){function t(t){var e=t.applyChecksum,n=t.credentials,r=t.region,o=t.service,c=t.sha256,l=t.uriEscapePath,d=void 0===l||l;this.service=o,this.sha256=c,this.uriEscapePath=d,this.applyChecksum="boolean"!=typeof e||e,this.regionProvider=R(r),this.credentialProvider=D(n)}return t.prototype.presign=function(t,e){return void 0===e&&(e={}),Object(r.__awaiter)(this,void 0,void 0,(function(){var n,o,c,l,d,f,h,m,v,y,w,S,O,k,C,I,A,R,D,L,N,B,U;return Object(r.__generator)(this,(function(F){switch(F.label){case 0:return n=e.signingDate,o=void 0===n?new Date:n,c=e.expiresIn,l=void 0===c?3600:c,d=e.unsignableHeaders,f=e.signableHeaders,h=e.signingRegion,m=e.signingService,[4,this.credentialProvider()];case 1:return v=F.sent(),null==h?[3,2]:(w=h,[3,4]);case 2:return[4,this.regionProvider()];case 3:w=F.sent(),F.label=4;case 4:return y=w,S=T(o),O=S.longDate,k=S.shortDate,l>604800?[2,Promise.reject("Signature version 4 presigned URLs must have an expiration date less than one week in the future")]:(C=_(k,y,null!=m?m:this.service),I=function(t){var e,n,o="function"==typeof t.clone?t.clone():M(t),c=o.headers,l=o.query,d=void 0===l?{}:l;try{for(var f=Object(r.__values)(Object.keys(c)),h=f.next();!h.done;h=f.next()){var m=h.value;"x-amz-"===m.toLowerCase().substr(0,6)&&(d[m]=c[m],delete c[m])}}catch(t){e={error:t}}finally{try{h&&!h.done&&(n=f.return)&&n.call(f)}finally{if(e)throw e.error}}return Object(r.__assign)(Object(r.__assign)({},t),{headers:c,query:d})}(j(t)),v.sessionToken&&(I.query["X-Amz-Security-Token"]=v.sessionToken),I.query["X-Amz-Algorithm"]="AWS4-HMAC-SHA256",I.query["X-Amz-Credential"]=v.accessKeyId+"/"+C,I.query["X-Amz-Date"]=O,I.query["X-Amz-Expires"]=l.toString(10),A=x(I,d,f),I.query["X-Amz-SignedHeaders"]=P(A),R=I.query,D="X-Amz-Signature",L=this.getSignature,N=[O,C,this.getSigningKey(v,y,k,m)],B=this.createCanonicalRequest,U=[I,A],[4,E(t,this.sha256)]);case 5:return[4,L.apply(this,N.concat([B.apply(this,U.concat([F.sent()]))]))];case 6:return R[D]=F.sent(),[2,I]}}))}))},t.prototype.sign=function(t,e){return Object(r.__awaiter)(this,void 0,void 0,(function(){return Object(r.__generator)(this,(function(n){return"string"==typeof t?[2,this.signString(t,e)]:t.headers&&t.payload?[2,this.signEvent(t,e)]:[2,this.signRequest(t,e)]}))}))},t.prototype.signEvent=function(t,e){var n=t.headers,o=t.payload,c=e.signingDate,l=void 0===c?new Date:c,d=e.priorSignature,f=e.signingRegion,h=e.signingService;return Object(r.__awaiter)(this,void 0,void 0,(function(){var t,e,c,m,y,w,x,O,k,M,C;return Object(r.__generator)(this,(function(r){switch(r.label){case 0:return null==f?[3,1]:(e=f,[3,3]);case 1:return[4,this.regionProvider()];case 2:e=r.sent(),r.label=3;case 3:return t=e,c=T(l),m=c.shortDate,y=c.longDate,w=_(m,t,null!=h?h:this.service),[4,E({headers:{},body:o},this.sha256)];case 4:return x=r.sent(),(O=new this.sha256).update(n),M=S.b,[4,O.digest()];case 5:return k=M.apply(void 0,[r.sent()]),C=[v,y,w,d,k,x].join("\n"),[2,this.signString(C,{signingDate:l,signingRegion:t,signingService:h})]}}))}))},t.prototype.signString=function(t,e){var n=void 0===e?{}:e,o=n.signingDate,c=void 0===o?new Date:o,l=n.signingRegion,d=n.signingService;return Object(r.__awaiter)(this,void 0,void 0,(function(){var e,n,o,f,h,m,v,y;return Object(r.__generator)(this,(function(r){switch(r.label){case 0:return[4,this.credentialProvider()];case 1:return e=r.sent(),null==l?[3,2]:(o=l,[3,4]);case 2:return[4,this.regionProvider()];case 3:o=r.sent(),r.label=4;case 4:return n=o,f=T(c).shortDate,v=(m=this.sha256).bind,[4,this.getSigningKey(e,n,f,d)];case 5:return(h=new(v.apply(m,[void 0,r.sent()]))).update(t),y=S.b,[4,h.digest()];case 6:return[2,y.apply(void 0,[r.sent()])]}}))}))},t.prototype.signRequest=function(t,e){var n=void 0===e?{}:e,c=n.signingDate,l=void 0===c?new Date:c,f=n.signableHeaders,h=n.unsignableHeaders,m=n.signingRegion,v=n.signingService;return Object(r.__awaiter)(this,void 0,void 0,(function(){var e,n,c,y,w,S,O,k,M,C,I;return Object(r.__generator)(this,(function(A){switch(A.label){case 0:return[4,this.credentialProvider()];case 1:return e=A.sent(),null==m?[3,2]:(c=m,[3,4]);case 2:return[4,this.regionProvider()];case 3:c=A.sent(),A.label=4;case 4:return n=c,y=j(t),w=T(l),S=w.longDate,O=w.shortDate,k=_(O,n,null!=v?v:this.service),y.headers[o]=S,e.sessionToken&&(y.headers[d]=e.sessionToken),[4,E(y,this.sha256)];case 5:return M=A.sent(),!function(t,e){var n,o;t=t.toLowerCase();try{for(var c=Object(r.__values)(Object.keys(e)),l=c.next();!l.done;l=c.next()){if(t===l.value.toLowerCase())return!0}}catch(t){n={error:t}}finally{try{l&&!l.done&&(o=c.return)&&o.call(c)}finally{if(n)throw n.error}}return!1}("x-amz-content-sha256",y.headers)&&this.applyChecksum&&(y.headers["x-amz-content-sha256"]=M),C=x(y,h,f),[4,this.getSignature(S,k,this.getSigningKey(e,n,O,v),this.createCanonicalRequest(y,C,M))];case 6:return I=A.sent(),y.headers.authorization="AWS4-HMAC-SHA256 Credential="+e.accessKeyId+"/"+k+", SignedHeaders="+P(C)+", Signature="+I,[2,y]}}))}))},t.prototype.createCanonicalRequest=function(t,e,n){var o=Object.keys(e).sort();return t.method+"\n"+this.getCanonicalPath(t)+"\n"+function(t){var e,n,o=t.query,c=void 0===o?{}:o,d=[],f={},h=function(t){if(t.toLowerCase()===l)return"continue";d.push(t);var e=c[t];"string"==typeof e?f[t]=Object(O.a)(t)+"="+Object(O.a)(e):Array.isArray(e)&&(f[t]=e.slice(0).sort().reduce((function(e,n){return e.concat([Object(O.a)(t)+"="+Object(O.a)(n)])}),[]).join("&"))};try{for(var m=Object(r.__values)(Object.keys(c).sort()),v=m.next();!v.done;v=m.next()){h(v.value)}}catch(t){e={error:t}}finally{try{v&&!v.done&&(n=m.return)&&n.call(m)}finally{if(e)throw e.error}}return d.map((function(t){return f[t]})).filter((function(t){return t})).join("&")}(t)+"\n"+o.map((function(t){return t+":"+e[t]})).join("\n")+"\n\n"+o.join(";")+"\n"+n},t.prototype.createStringToSign=function(t,e,n){return Object(r.__awaiter)(this,void 0,void 0,(function(){var o,c;return Object(r.__generator)(this,(function(r){switch(r.label){case 0:return(o=new this.sha256).update(n),[4,o.digest()];case 1:return c=r.sent(),[2,"AWS4-HMAC-SHA256\n"+t+"\n"+e+"\n"+Object(S.b)(c)]}}))}))},t.prototype.getCanonicalPath=function(t){var path=t.path;return this.uriEscapePath?"/"+encodeURIComponent(path.replace(/^\//,"")).replace(/%2F/g,"/"):path},t.prototype.getSignature=function(t,e,n,o){return Object(r.__awaiter)(this,void 0,void 0,(function(){var c,l,d,f,h;return Object(r.__generator)(this,(function(r){switch(r.label){case 0:return[4,this.createStringToSign(t,e,o)];case 1:return c=r.sent(),f=(d=this.sha256).bind,[4,n];case 2:return(l=new(f.apply(d,[void 0,r.sent()]))).update(c),h=S.b,[4,l.digest()];case 3:return[2,h.apply(void 0,[r.sent()])]}}))}))},t.prototype.getSigningKey=function(t,e,n,o){return function(t,e,n,o,c){var l=n+":"+o+":"+c+":"+e.accessKeyId+":"+e.sessionToken;if(l in y)return y[l];for(w.push(l);w.length>50;)delete y[w.shift()];return y[l]=new Promise((function(d,f){var h,m,v=Promise.resolve("AWS4"+e.secretAccessKey),w=function(e){(v=v.then((function(n){return data=e,(r=new t(n)).update(data),r.digest();var data,r}))).catch((function(){}))};try{for(var _=Object(r.__values)([n,o,c,"aws4_request"]),S=_.next();!S.done;S=_.next()){w(S.value)}}catch(t){h={error:t}}finally{try{S&&!S.done&&(m=_.return)&&m.call(_)}finally{if(h)throw h.error}}v.then(d,(function(t){delete y[l],f(t)}))}))}(this.sha256,t,n,e,o||this.service)},t}(),T=function(t){var e=I(t).replace(/[\-:]/g,"");return{longDate:e,shortDate:e.substr(0,8)}},P=function(t){return Object.keys(t).sort().join(";")},R=function(t){if("string"==typeof t){var e=Promise.resolve(t);return function(){return e}}return t},D=function(t){if("object"==typeof t){var e=Promise.resolve(t);return function(){return e}}return t}},,function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(2),o=function(input){return Object(r.__assign)(Object(r.__assign)({},input),{eventStreamMarshaller:input.eventStreamSerdeProvider(input)})}},function(t,e,n){"use strict";n(12),n(26),n(238),n(224),n(23),n(31),n(42),n(35),n(147),n(233),n(209),n(27),n(165);var r=n(4);function o(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return c(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,l=!0,d=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return l=t.done,t},e:function(t){d=!0,o=t},f:function(){try{l||null==n.return||n.return()}finally{if(d)throw o}}}}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i0},canPrefetch:function(){var t=navigator.connection;return!(this.$nuxt.isOffline||t&&((t.effectiveType||"").includes("2g")||t.saveData))},getPrefetchComponents:function(){return this.$router.resolve(this.to,this.$route,this.append).resolved.matched.map((function(t){return t.components.default})).filter((function(t){return"function"==typeof t&&!t.options&&!t.__prefetched}))},prefetchLink:function(){if(this.canPrefetch()){f.unobserve(this.$el);var t,e=o(this.getPrefetchComponents());try{for(e.s();!(t=e.n()).done;){var n=t.value,r=n();r instanceof Promise&&r.catch((function(){})),n.__prefetched=!0}}catch(t){e.e(t)}finally{e.f()}}}}}},,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e){(function(){e.defaults={.1:{explicitCharkey:!1,trim:!0,normalize:!0,normalizeTags:!1,attrkey:"@",charkey:"#",explicitArray:!1,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!1,validator:null,xmlns:!1,explicitChildren:!1,childkey:"@@",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,emptyTag:""},.2:{explicitCharkey:!1,trim:!1,normalize:!1,normalizeTags:!1,attrkey:"$",charkey:"_",explicitArray:!0,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!0,validator:null,xmlns:!1,explicitChildren:!1,preserveChildrenOrder:!1,childkey:"$$",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,rootName:"root",xmldec:{version:"1.0",encoding:"UTF-8",standalone:!0},doctype:null,renderOpts:{pretty:!0,indent:" ",newline:"\n"},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1}}}).call(this)},function(t,e,n){(function(){var e,r,o,c,l,d,f,h,m={}.hasOwnProperty;h=n(217),f=h.isObject,d=h.isFunction,l=h.getValue,c=n(195),e=n(148),r=n(553),o=n(402),t.exports=function(t){function n(t,r,o){var c,l,d,f;if(n.__super__.constructor.call(this,t),null==r)throw new Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(r),this.type=e.Element,this.attribs={},this.schemaTypeInfo=null,null!=o&&this.attribute(o),t.type===e.Document&&(this.isRoot=!0,this.documentObject=t,t.rootObject=this,t.children))for(l=0,d=(f=t.children).length;l=r;i=0<=r?++e:--e)if(!this.attribs[i].isEqualNode(t.attribs[i]))return!1;return!0},n}(c)}).call(this)},function(t,e){(function(){t.exports=function(){function t(t){this.nodes=t}return Object.defineProperty(t.prototype,"length",{get:function(){return Object.keys(this.nodes).length||0}}),t.prototype.clone=function(){return this.nodes=null},t.prototype.getNamedItem=function(t){return this.nodes[t]},t.prototype.setNamedItem=function(t){var e;return e=this.nodes[t.nodeName],this.nodes[t.nodeName]=t,e||null},t.prototype.removeNamedItem=function(t){var e;return e=this.nodes[t],delete this.nodes[t],e||null},t.prototype.item=function(t){return this.nodes[Object.keys(this.nodes)[t]]||null},t.prototype.getNamedItemNS=function(t,e){throw new Error("This DOM method is not implemented.")},t.prototype.setNamedItemNS=function(t){throw new Error("This DOM method is not implemented.")},t.prototype.removeNamedItemNS=function(t,e){throw new Error("This DOM method is not implemented.")},t}()}).call(this)},function(t,e,n){(function(){var e,r,o={}.hasOwnProperty;e=n(148),r=n(328),t.exports=function(t){function n(t,text){if(n.__super__.constructor.call(this,t),null==text)throw new Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=e.CData,this.value=this.stringify.cdata(text)}return function(t,e){for(var n in e)o.call(e,n)&&(t[n]=e[n]);function r(){this.constructor=t}r.prototype=e.prototype,t.prototype=new r,t.__super__=e.prototype}(n,t),n.prototype.clone=function(){return Object.create(this)},n.prototype.toString=function(t){return this.options.writer.cdata(this,this.options.writer.filterOptions(t))},n}(r)}).call(this)},function(t,e,n){(function(){var e,r,o={}.hasOwnProperty;e=n(148),r=n(328),t.exports=function(t){function n(t,text){if(n.__super__.constructor.call(this,t),null==text)throw new Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=e.Comment,this.value=this.stringify.comment(text)}return function(t,e){for(var n in e)o.call(e,n)&&(t[n]=e[n]);function r(){this.constructor=t}r.prototype=e.prototype,t.prototype=new r,t.__super__=e.prototype}(n,t),n.prototype.clone=function(){return Object.create(this)},n.prototype.toString=function(t){return this.options.writer.comment(this,this.options.writer.filterOptions(t))},n}(r)}).call(this)},function(t,e,n){(function(){var e,r,o,c={}.hasOwnProperty;o=n(217).isObject,r=n(195),e=n(148),t.exports=function(t){function n(t,r,c,l){var d;n.__super__.constructor.call(this,t),o(r)&&(r=(d=r).version,c=d.encoding,l=d.standalone),r||(r="1.0"),this.type=e.Declaration,this.version=this.stringify.xmlVersion(r),null!=c&&(this.encoding=this.stringify.xmlEncoding(c)),null!=l&&(this.standalone=this.stringify.xmlStandalone(l))}return function(t,e){for(var n in e)c.call(e,n)&&(t[n]=e[n]);function r(){this.constructor=t}r.prototype=e.prototype,t.prototype=new r,t.__super__=e.prototype}(n,t),n.prototype.toString=function(t){return this.options.writer.declaration(this,this.options.writer.filterOptions(t))},n}(r)}).call(this)},function(t,e,n){(function(){var e,r,o,c,l,d,f,h,m={}.hasOwnProperty;h=n(217).isObject,f=n(195),e=n(148),r=n(407),c=n(408),o=n(409),l=n(410),d=n(402),t.exports=function(t){function n(t,r,o){var c,i,l,d,f,m;if(n.__super__.constructor.call(this,t),this.type=e.DocType,t.children)for(i=0,l=(d=t.children).length;i-1))throw new TypeError("Unknown encoding: "+t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(x.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),x.prototype._write=function(t,e,n){n(new Error("_write() is not implemented"))},x.prototype._writev=null,x.prototype.end=function(t,e,n){var o=this._writableState;"function"==typeof t?(n=t,t=null,e=null):"function"==typeof e&&(n=e,e=null),null!=t&&this.write(t,e),o.corked&&(o.corked=1,this.uncork()),o.ending||o.finished||function(t,e,n){e.ending=!0,j(t,e),n&&(e.finished?r.nextTick(n):t.once("finish",n));e.ended=!0,t.writable=!1}(this,o,n)},Object.defineProperty(x.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),x.prototype.destroy=w.destroy,x.prototype._undestroy=w.undestroy,x.prototype._destroy=function(t,e){this.end(),e(t)}}).call(this,n(39))},,,,,function(t,e,n){var r=n(167),o=n(335),c="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?c.call(t,""):Object(t)}:Object},function(t,e,n){var r=n(149),o=n(203),c=r.document,l=o(c)&&o(c.createElement);t.exports=function(t){return l?c.createElement(t):{}}},function(t,e,n){t.exports=n(869)},function(t,e,n){var r=n(204),o=n(240),c=n(338),l=n(871),d=c("IE_PROTO"),f=Object.prototype;t.exports=l?Object.getPrototypeOf:function(t){return t=o(t),r(t,d)?t[d]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?f:null}},function(t,e,n){var r=n(256),o=n(427);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.8.0",mode:r?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(t,e,n){var r=n(149),o=n(870),c=r["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=c},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++n+r).toString(36)}},function(t,e,n){var r,o=n(211),c=n(873),l=n(431),d=n(339),html=n(579),f=n(423),h=n(338),m=h("IE_PROTO"),v=function(){},y=function(content){return"