Files
wyczarujprezent.pl/modules/ps_accounts/views/js/settingsOnBoarding.js
2024-10-28 22:14:22 +01:00

48 lines
528 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["settingsOnBoarding"],{"0ff7":function(e,t,r){"use strict";r.r(t);var n,o,i=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"onboarding pt-5"},[r("section",{staticClass:"onboarding-header"},[r("ConfigInformation",{attrs:{app:e.app}})],1),r("section",{staticClass:"onboarding-content"},[r("PsAccounts",{attrs:{"force-show-plans":!0}})],1)])},a=[],s=(r("b64b"),r("5530")),c=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("aside",{staticClass:"config-information"},[e._m(0),r("div",{staticClass:"description"},[r("h2",{staticClass:"text"},[e._v(e._s(e.$t("configure.incentivePanel.howTo")))])])])},l=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"titleWrapper"},[n("img",{staticClass:"logo",attrs:{src:r("4f57")}}),n("h1",{staticClass:"title"},[e._v(" PrestaShop "),n("span",{staticClass:"font-normal",staticStyle:{color:"#6b868f"}},[e._v("Account")])])])}],u={name:"ConfigInformation",props:["app","configurationPage"],methods:{startSetup:function(){window.open(this.configurationPage)}}},d=u,f=(r("2596"),r("2877")),p=Object(f["a"])(d,c,l,!1,null,"cd07c63a",null),h=p.exports,b=r("cebc"),m=null===(n=window)||void 0===n||null===(o=n.psaccountsVue)||void 0===o?void 0:o.PsAccounts;m||(m=r("a85d").PsAccounts);var g={components:{ConfigInformation:h,PsAccounts:m},methods:Object(s["a"])({},Object(b["c"])({getListProperty:"getListProperty"})),data:function(){return{loading:!0,unwatch:""}},created:function(){var e=this;this.googleLinked&&(this.loading=!0,this.getListProperty()),this.unwatch=this.$store.watch((function(e,t){return{googleLinked:e.settings.googleLinked,countProperty:e.settings.countProperty,listProperty:e.settings.state.listPropertySuccess}}),(function(t){t.googleLinked&&Object.keys(t.listProperty).length<t.countProperty&&e.getListProperty(),Object.keys(t.listProperty).length>=t.countProperty&&(e.loading=!1)}),{immediate:!0})},beforeDestroy:function(){this.unwatch()},computed:{app:function(){return this.$store.state.app.app},connectedAccount:function(){return this.$store.state.settings.connectedAccount}}},v=g,y=(r("7ce7"),Object(f["a"])(v,i,a,!1,null,"34fbe53d",null));t["default"]=y.exports},2596:function(e,t,r){"use strict";r("bccb")},"4f57":function(e,t,r){e.exports=r.p+"img/prestashop-logo-2.png"},"7ce7":function(e,t,r){"use strict";r("c950")},a85d:function(e,t,r){e.exports=function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s="fb15")}({"00ee":function(e,t,r){var n=r("b622"),o=n("toStringTag"),i={};i[o]="z",e.exports="[object z]"===String(i)},"0366":function(e,t,r){var n=r("1c0b");e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 0:return function(){return e.call(t)};case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,o){return e.call(t,r,n,o)}}return function(){return e.apply(t,arguments)}}},"057f":function(e,t,r){var n=r("fc6a"),o=r("241c").f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return o(e)}catch(t){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?s(e):o(n(e))}},"06cf":function(e,t,r){var n=r("83ab"),o=r("d1e7"),i=r("5c6c"),a=r("fc6a"),s=r("c04e"),c=r("5135"),l=r("0cfb"),u=Object.getOwnPropertyDescriptor;t.f=n?u:function(e,t){if(e=a(e),t=s(t,!0),l)try{return u(e,t)}catch(r){}if(c(e,t))return i(!o.f.call(e,t),e[t])}},"0cb2":function(e,t,r){var n=r("7b0b"),o=Math.floor,i="".replace,a=/\$([$&'`]|\d\d?|<[^>]*>)/g,s=/\$([$&'`]|\d\d?)/g;e.exports=function(e,t,r,c,l,u){var d=r+e.length,f=c.length,p=s;return void 0!==l&&(l=n(l),p=a),i.call(u,p,(function(n,i){var a;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,r);case"'":return t.slice(d);case"<":a=l[i.slice(1,-1)];break;default:var s=+i;if(0===s)return n;if(s>f){var u=o(s/10);return 0===u?n:u<=f?void 0===c[u-1]?i.charAt(1):c[u-1]+i.charAt(1):n}a=c[s-1]}return void 0===a?"":a}))}},"0cfb":function(e,t,r){var n=r("83ab"),o=r("d039"),i=r("cc12");e.exports=!n&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},"100a":function(e,t,r){var n=r("24fb");t=n(!1),t.push([e.i,".accounts-modal[data-v-31ad07e2]{background-color:rgba(0,0,0,.5)}.accounts-modal .close[data-v-31ad07e2]{margin-top:-42px!important}.accounts-modal .crossdomain-container[data-v-31ad07e2]{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%}.accounts-modal .crossdomain-container .crossdomain[data-v-31ad07e2]{width:80%;height:80%;background:#fff;box-shadow:0 4px 40px rgba(0,0,0,.1);overflow:hidden;border-radius:6px}.accounts-modal .crossdomain-container .crossdomain>div[data-v-31ad07e2]{height:100%}.fade-enter-active[data-v-31ad07e2],.fade-leave-active[data-v-31ad07e2]{transition:opacity .25s}.fade-enter[data-v-31ad07e2],.fade-leave-to[data-v-31ad07e2]{opacity:0}",""]),e.exports=t},1276:function(e,t,r){"use strict";var n=r("d784"),o=r("44e7"),i=r("825a"),a=r("1d80"),s=r("4840"),c=r("8aa5"),l=r("50c4"),u=r("14c3"),d=r("9263"),f=r("d039"),p=[].push,h=Math.min,b=4294967295,m=!f((function(){return!RegExp(b,"y")}));n("split",2,(function(e,t,r){var n;return n="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,r){var n=String(a(this)),i=void 0===r?b:r>>>0;if(0===i)return[];if(void 0===e)return[n];if(!o(e))return t.call(n,e,i);var s,c,l,u=[],f=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),h=0,m=new RegExp(e.source,f+"g");while(s=d.call(m,n)){if(c=m.lastIndex,c>h&&(u.push(n.slice(h,s.index)),s.length>1&&s.index<n.length&&p.apply(u,s.slice(1)),l=s[0].length,h=c,u.length>=i))break;m.lastIndex===s.index&&m.lastIndex++}return h===n.length?!l&&m.test("")||u.push(""):u.push(n.slice(h)),u.length>i?u.slice(0,i):u}:"0".split(void 0,0).length?function(e,r){return void 0===e&&0===r?[]:t.call(this,e,r)}:t,[function(t,r){var o=a(this),i=void 0==t?void 0:t[e];return void 0!==i?i.call(t,o,r):n.call(String(o),t,r)},function(e,o){var a=r(n,e,this,o,n!==t);if(a.done)return a.value;var d=i(e),f=String(this),p=s(d,RegExp),g=d.unicode,v=(d.ignoreCase?"i":"")+(d.multiline?"m":"")+(d.unicode?"u":"")+(m?"y":"g"),y=new p(m?d:"^(?:"+d.source+")",v),w=void 0===o?b:o>>>0;if(0===w)return[];if(0===f.length)return null===u(y,f)?[f]:[];var x=0,_=0,k=[];while(_<f.length){y.lastIndex=m?_:0;var E,O=u(y,m?f:f.slice(_));if(null===O||(E=h(l(y.lastIndex+(m?0:_)),f.length))===x)_=c(f,_,g);else{if(k.push(f.slice(x,_)),k.length===w)return k;for(var A=1;A<=O.length-1;A++)if(k.push(O[A]),k.length===w)return k;_=x=E}}return k.push(f.slice(x)),k}]}),!m)},"14c3":function(e,t,r){var n=r("c6b6"),o=r("9263");e.exports=function(e,t){var r=e.exec;if("function"===typeof r){var i=r.call(e,t);if("object"!==typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==n(e))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(e,t)}},"159b":function(e,t,r){var n=r("da84"),o=r("fdbc"),i=r("17c2"),a=r("9112");for(var s in o){var c=n[s],l=c&&c.prototype;if(l&&l.forEach!==i)try{a(l,"forEach",i)}catch(u){l.forEach=i}}},"17c2":function(e,t,r){"use strict";var n=r("b727").forEach,o=r("a640"),i=r("ae40"),a=o("forEach"),s=i("forEach");e.exports=a&&s?[].forEach:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}},"19aa":function(e,t){e.exports=function(e,t,r){if(!(e instanceof t))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return e}},"1be4":function(e,t,r){var n=r("d066");e.exports=n("document","documentElement")},"1c0b":function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},"1c7e":function(e,t,r){var n=r("b622"),o=n("iterator"),i=!1;try{var a=0,s={next:function(){return{done:!!a++}},return:function(){i=!0}};s[o]=function(){return this},Array.from(s,(function(){throw 2}))}catch(c){}e.exports=function(e,t){if(!t&&!i)return!1;var r=!1;try{var n={};n[o]=function(){return{next:function(){return{done:r=!0}}}},e(n)}catch(c){}return r}},"1cdc":function(e,t,r){var n=r("342f");e.exports=/(iphone|ipod|ipad).*applewebkit/i.test(n)},"1d80":function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},"1dde":function(e,t,r){var n=r("d039"),o=r("b622"),i=r("2d00"),a=o("species");e.exports=function(e){return i>=51||!n((function(){var t=[],r=t.constructor={};return r[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},"1fb5":function(e,t,r){"use strict";t.byteLength=u,t.toByteArray=f,t.fromByteArray=b;for(var n=[],o=[],i="undefined"!==typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,c=a.length;s<c;++s)n[s]=a[s],o[a.charCodeAt(s)]=s;function l(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var n=r===t?0:4-r%4;return[r,n]}function u(e){var t=l(e),r=t[0],n=t[1];return 3*(r+n)/4-n}function d(e,t,r){return 3*(t+r)/4-r}function f(e){var t,r,n=l(e),a=n[0],s=n[1],c=new i(d(e,a,s)),u=0,f=s>0?a-4:a;for(r=0;r<f;r+=4)t=o[e.charCodeAt(r)]<<18|o[e.charCodeAt(r+1)]<<12|o[e.charCodeAt(r+2)]<<6|o[e.charCodeAt(r+3)],c[u++]=t>>16&255,c[u++]=t>>8&255,c[u++]=255&t;return 2===s&&(t=o[e.charCodeAt(r)]<<2|o[e.charCodeAt(r+1)]>>4,c[u++]=255&t),1===s&&(t=o[e.charCodeAt(r)]<<10|o[e.charCodeAt(r+1)]<<4|o[e.charCodeAt(r+2)]>>2,c[u++]=t>>8&255,c[u++]=255&t),c}function p(e){return n[e>>18&63]+n[e>>12&63]+n[e>>6&63]+n[63&e]}function h(e,t,r){for(var n,o=[],i=t;i<r;i+=3)n=(e[i]<<16&16711680)+(e[i+1]<<8&65280)+(255&e[i+2]),o.push(p(n));return o.join("")}function b(e){for(var t,r=e.length,o=r%3,i=[],a=16383,s=0,c=r-o;s<c;s+=a)i.push(h(e,s,s+a>c?c:s+a));return 1===o?(t=e[r-1],i.push(n[t>>2]+n[t<<4&63]+"==")):2===o&&(t=(e[r-2]<<8)+e[r-1],i.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"=")),i.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},2266:function(e,t,r){var n=r("825a"),o=r("e95a"),i=r("50c4"),a=r("0366"),s=r("35a1"),c=r("2a62"),l=function(e,t){this.stopped=e,this.result=t};e.exports=function(e,t,r){var u,d,f,p,h,b,m,g=r&&r.that,v=!(!r||!r.AS_ENTRIES),y=!(!r||!r.IS_ITERATOR),w=!(!r||!r.INTERRUPTED),x=a(t,g,1+v+w),_=function(e){return u&&c(u),new l(!0,e)},k=function(e){return v?(n(e),w?x(e[0],e[1],_):x(e[0],e[1])):w?x(e,_):x(e)};if(y)u=e;else{if(d=s(e),"function"!=typeof d)throw TypeError("Target is not iterable");if(o(d)){for(f=0,p=i(e.length);p>f;f++)if(h=k(e[f]),h&&h instanceof l)return h;return new l(!1)}u=d.call(e)}b=u.next;while(!(m=b.call(u)).done){try{h=k(m.value)}catch(E){throw c(u),E}if("object"==typeof h&&h&&h instanceof l)return h}return new l(!1)}},"23cb":function(e,t,r){var n=r("a691"),o=Math.max,i=Math.min;e.exports=function(e,t){var r=n(e);return r<0?o(r+t,0):i(r,t)}},"23e7":function(e,t,r){var n=r("da84"),o=r("06cf").f,i=r("9112"),a=r("6eeb"),s=r("ce4e"),c=r("e893"),l=r("94ca");e.exports=function(e,t){var r,u,d,f,p,h,b=e.target,m=e.global,g=e.stat;if(u=m?n:g?n[b]||s(b,{}):(n[b]||{}).prototype,u)for(d in t){if(p=t[d],e.noTargetGet?(h=o(u,d),f=h&&h.value):f=u[d],r=l(m?d:b+(g?".":"#")+d,e.forced),!r&&void 0!==f){if(typeof p===typeof f)continue;c(p,f)}(e.sham||f&&f.sham)&&i(p,"sham",!0),a(u,d,p,e)}}},"241c":function(e,t,r){var n=r("ca84"),o=r("7839"),i=o.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,i)}},"24fb":function(e,t,r){"use strict";function n(e,t){var r=e[1]||"",n=e[3];if(!n)return r;if(t&&"function"===typeof btoa){var i=o(n),a=n.sources.map((function(e){return"/*# sourceURL=".concat(n.sourceRoot||"").concat(e," */")}));return[r].concat(a).concat([i]).join("\n")}return[r].join("\n")}function o(e){var t=btoa(unescape(encodeURIComponent(JSON.stringify(e)))),r="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(t);return"/*# ".concat(r," */")}e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r=n(t,e);return t[2]?"@media ".concat(t[2]," {").concat(r,"}"):r})).join("")},t.i=function(e,r,n){"string"===typeof e&&(e=[[null,e,""]]);var o={};if(n)for(var i=0;i<this.length;i++){var a=this[i][0];null!=a&&(o[a]=!0)}for(var s=0;s<e.length;s++){var c=[].concat(e[s]);n&&o[c[0]]||(r&&(c[2]?c[2]="".concat(r," and ").concat(c[2]):c[2]=r),t.push(c))}},t}},"25f0":function(e,t,r){"use strict";var n=r("6eeb"),o=r("825a"),i=r("d039"),a=r("ad6d"),s="toString",c=RegExp.prototype,l=c[s],u=i((function(){return"/a/b"!=l.call({source:"a",flags:"b"})})),d=l.name!=s;(u||d)&&n(RegExp.prototype,s,(function(){var e=o(this),t=String(e.source),r=e.flags,n=String(void 0===r&&e instanceof RegExp&&!("flags"in c)?a.call(e):r);return"/"+t+"/"+n}),{unsafe:!0})},2626:function(e,t,r){"use strict";var n=r("d066"),o=r("9bf2"),i=r("b622"),a=r("83ab"),s=i("species");e.exports=function(e){var t=n(e),r=o.f;a&&t&&!t[s]&&r(t,s,{configurable:!0,get:function(){return this}})}},"29ed":function(e){e.exports=JSON.parse('{"psaccounts":{"accountManager":{"errorInstallEnable":"Une erreur est survenue, merci de réessayer."},"alertAccountNotInstalled":{"title":"Installez le module PrestaShop Account","message":"Le module PrestaShop Account est nécessaire pour continuer la configuration de ce module.","installButton":"Installer","loading":"Installation du module PrestaShop Account en cours..."},"alertAccountNotEnabled":{"title":"Activez le module PrestaShop Account","message":"Le module PrestaShop account est nécessaire pour continuer la configuration de ce module.","enableButton":"Activer","loading":"Activation du module PrestaShop Account en cours..."},"multiShopSelector":{"title":"Mode multi-boutiques activé","subtitle":"Pour ce service, vous devez configurer vos boutiques une par une, mais vous pourrez utiliser le même compte.","selectStore":"Merci de sélectionner une première boutique à partir de la liste ci-dessous","tips":"Une fois la première boutique configurée, vous pouvez poursuivre avec les autres en les sélectionnant une par une dans le sélecteur de boutiques du menu horizontal.","configure":"Configurer","group":""},"account":{"title":"Associez votre boutique à un compte PrestaShop","authorize":"Vous ne pouvez associer votre boutique qu\'à un seul compte. Choisissez le bien !","authorized":"Votre boutique est associée au compte PrestaShop : ","connectButton":"Associer","reonboardButton":"Réassocier","disconnectButton":"Utiliser un autre compte","moduleUpdateInformation":"<strong>Nouvelle mise à jour :</strong> vous pouvez gérer vos boutiques associées.<br /> Merci de vous réassocier en utilisant <strong>la même adresse mail</strong> pour profiter de cette mise à jour.<br /> D\'autres mises à jour de modules peuvent être disponibles dans Gestionnaire de modules onglet Mises à jour.","emailNotVerified":"Un email de confirmation a été envoyé. Vérifiez votre boîte de réception et cliquez sur le lien pour activer votre compte.","sendEmail":"Renvoyer","needToBeAdmin":"Pour continuer, vous devez être administrateur de la boutique","pleaseContact":"Merci de contacter","manageAccountTooltip":"Gérer mon compte"},"alertEventBusNotInstalled":{"title":"Installez le module Prestashop Event Bus","message":"Le module Prestashop Event Bus est nécessaire pour continuer la configuration de ce module.","loading":"Installation du module Prestashop Event Bus en cours..."}}}')},"2a62":function(e,t,r){var n=r("825a");e.exports=function(e){var t=e["return"];if(void 0!==t)return n(t.call(e)).value}},"2c9d":function(e,t,r){var n=r("100a");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var o=r("499e").default;o("c79d6a3a",n,!0,{sourceMap:!1,shadowMode:!1})},"2cf4":function(e,t,r){var n,o,i,a=r("da84"),s=r("d039"),c=r("0366"),l=r("1be4"),u=r("cc12"),d=r("1cdc"),f=r("605d"),p=a.location,h=a.setImmediate,b=a.clearImmediate,m=a.process,g=a.MessageChannel,v=a.Dispatch,y=0,w={},x="onreadystatechange",_=function(e){if(w.hasOwnProperty(e)){var t=w[e];delete w[e],t()}},k=function(e){return function(){_(e)}},E=function(e){_(e.data)},O=function(e){a.postMessage(e+"",p.protocol+"//"+p.host)};h&&b||(h=function(e){var t=[],r=1;while(arguments.length>r)t.push(arguments[r++]);return w[++y]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},n(y),y},b=function(e){delete w[e]},f?n=function(e){m.nextTick(k(e))}:v&&v.now?n=function(e){v.now(k(e))}:g&&!d?(o=new g,i=o.port2,o.port1.onmessage=E,n=c(i.postMessage,i,1)):a.addEventListener&&"function"==typeof postMessage&&!a.importScripts&&p&&"file:"!==p.protocol&&!s(O)?(n=O,a.addEventListener("message",E,!1)):n=x in u("script")?function(e){l.appendChild(u("script"))[x]=function(){l.removeChild(this),_(e)}}:function(e){setTimeout(k(e),0)}),e.exports={set:h,clear:b}},"2d00":function(e,t,r){var n,o,i=r("da84"),a=r("342f"),s=i.process,c=s&&s.versions,l=c&&c.v8;l?(n=l.split("."),o=n[0]+n[1]):a&&(n=a.match(/Edge\/(\d+)/),(!n||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/),n&&(o=n[1]))),e.exports=o&&+o},"2dd8":function(e,t,r){var n=r("67cd");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var o=r("499e").default;o("2da0f70c",n,!0,{sourceMap:!1,shadowMode:!1})},"32e6":function(e,t){function r(e,t){for(var r in t)e.setAttribute(r,t[r])}function n(e,t){e.onload=function(){this.onerror=this.onload=null,t(null,e)},e.onerror=function(){this.onerror=this.onload=null,t(new Error("Failed to load "+this.src),e)}}function o(e,t){e.onreadystatechange=function(){"complete"!=this.readyState&&"loaded"!=this.readyState||(this.onreadystatechange=null,t(null,e))}}e.exports=function(e,t,i){var a=document.head||document.getElementsByTagName("head")[0],s=document.createElement("script");"function"===typeof t&&(i=t,t={}),t=t||{},i=i||function(){},s.type=t.type||"text/javascript",s.charset=t.charset||"utf8",s.async=!("async"in t)||!!t.async,s.src=e,t.attrs&&r(s,t.attrs),t.text&&(s.text=""+t.text);var c="onload"in s?n:o;c(s,i),s.onload||n(s,i),a.appendChild(s)}},3410:function(e,t,r){var n=r("23e7"),o=r("d039"),i=r("7b0b"),a=r("e163"),s=r("e177"),c=o((function(){a(1)}));n({target:"Object",stat:!0,forced:c,sham:!s},{getPrototypeOf:function(e){return a(i(e))}})},"342f":function(e,t,r){var n=r("d066");e.exports=n("navigator","userAgent")||""},"35a1":function(e,t,r){var n=r("f5df"),o=r("3f8c"),i=r("b622"),a=i("iterator");e.exports=function(e){if(void 0!=e)return e[a]||e["@@iterator"]||o[n(e)]}},"37e8":function(e,t,r){var n=r("83ab"),o=r("9bf2"),i=r("825a"),a=r("df75");e.exports=n?Object.defineProperties:function(e,t){i(e);var r,n=a(t),s=n.length,c=0;while(s>c)o.f(e,r=n[c++],t[r]);return e}},3963:function(e,t,r){var n=r("ce1c");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var o=r("499e").default;o("db2776aa",n,!0,{sourceMap:!1,shadowMode:!1})},"3bbe":function(e,t,r){var n=r("861d");e.exports=function(e){if(!n(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},"3c4e":function(e,t,r){"use strict";var n=function(e){return o(e)&&!i(e)};function o(e){return!!e&&"object"===typeof e}function i(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||c(e)}var a="function"===typeof Symbol&&Symbol.for,s=a?Symbol.for("react.element"):60103;function c(e){return e.$$typeof===s}function l(e){return Array.isArray(e)?[]:{}}function u(e,t){return!1!==t.clone&&t.isMergeableObject(e)?v(l(e),e,t):e}function d(e,t,r){return e.concat(t).map((function(e){return u(e,r)}))}function f(e,t){if(!t.customMerge)return v;var r=t.customMerge(e);return"function"===typeof r?r:v}function p(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}function h(e){return Object.keys(e).concat(p(e))}function b(e,t){try{return t in e}catch(r){return!1}}function m(e,t){return b(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function g(e,t,r){var n={};return r.isMergeableObject(e)&&h(e).forEach((function(t){n[t]=u(e[t],r)})),h(t).forEach((function(o){m(e,o)||(b(e,o)&&r.isMergeableObject(t[o])?n[o]=f(o,r)(e[o],t[o],r):n[o]=u(t[o],r))})),n}function v(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||d,r.isMergeableObject=r.isMergeableObject||n,r.cloneUnlessOtherwiseSpecified=u;var o=Array.isArray(t),i=Array.isArray(e),a=o===i;return a?o?r.arrayMerge(e,t,r):g(e,t,r):u(t,r)}v.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,r){return v(e,r,t)}),{})};var y=v;e.exports=y},"3ca3":function(e,t,r){"use strict";var n=r("6547").charAt,o=r("69f3"),i=r("7dd0"),a="String Iterator",s=o.set,c=o.getterFor(a);i(String,"String",(function(e){s(this,{type:a,string:String(e),index:0})}),(function(){var e,t=c(this),r=t.string,o=t.index;return o>=r.length?{value:void 0,done:!0}:(e=n(r,o),t.index+=e.length,{value:e,done:!1})}))},"3f8c":function(e,t){e.exports={}},4147:function(e,t,r){"use strict";(function(e){var r=e.contextPsAccounts;t["a"]=r}).call(this,r("c8ba"))},4160:function(e,t,r){"use strict";var n=r("23e7"),o=r("17c2");n({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},"428f":function(e,t,r){var n=r("da84");e.exports=n},4362:function(e,t,r){t.nextTick=function(e){var t=Array.prototype.slice.call(arguments);t.shift(),setTimeout((function(){e.apply(null,t)}),0)},t.platform=t.arch=t.execPath=t.title="browser",t.pid=1,t.browser=!0,t.env={},t.argv=[],t.binding=function(e){throw new Error("No such module. (Possibly not yet loaded)")},function(){var e,n="/";t.cwd=function(){return n},t.chdir=function(t){e||(e=r("df7c")),n=e.resolve(t,n)}}(),t.exit=t.kill=t.umask=t.dlopen=t.uptime=t.memoryUsage=t.uvCounters=function(){},t.features={}},"44ad":function(e,t,r){var n=r("d039"),o=r("c6b6"),i="".split;e.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?i.call(e,""):Object(e)}:Object},"44d2":function(e,t,r){var n=r("b622"),o=r("7c73"),i=r("9bf2"),a=n("unscopables"),s=Array.prototype;void 0==s[a]&&i.f(s,a,{configurable:!0,value:o(null)}),e.exports=function(e){s[a][e]=!0}},"44de":function(e,t,r){var n=r("da84");e.exports=function(e,t){var r=n.console;r&&r.error&&(1===arguments.length?r.error(e):r.error(e,t))}},"44e7":function(e,t,r){var n=r("861d"),o=r("c6b6"),i=r("b622"),a=i("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[a])?!!t:"RegExp"==o(e))}},4840:function(e,t,r){var n=r("825a"),o=r("1c0b"),i=r("b622"),a=i("species");e.exports=function(e,t){var r,i=n(e).constructor;return void 0===i||void 0==(r=n(i)[a])?t:o(r)}},4930:function(e,t,r){var n=r("d039");e.exports=!!Object.getOwnPropertySymbols&&!n((function(){return!String(Symbol())}))},"499e":function(e,t,r){"use strict";function n(e,t){for(var r=[],n={},o=0;o<t.length;o++){var i=t[o],a=i[0],s=i[1],c=i[2],l=i[3],u={id:e+":"+o,css:s,media:c,sourceMap:l};n[a]?n[a].parts.push(u):r.push(n[a]={id:a,parts:[u]})}return r}r.r(t),r.d(t,"default",(function(){return h}));var o="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!o)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var i={},a=o&&(document.head||document.getElementsByTagName("head")[0]),s=null,c=0,l=!1,u=function(){},d=null,f="data-vue-ssr-id",p="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function h(e,t,r,o){l=r,d=o||{};var a=n(e,t);return b(a),function(t){for(var r=[],o=0;o<a.length;o++){var s=a[o],c=i[s.id];c.refs--,r.push(c)}t?(a=n(e,t),b(a)):a=[];for(o=0;o<r.length;o++){c=r[o];if(0===c.refs){for(var l=0;l<c.parts.length;l++)c.parts[l]();delete i[c.id]}}}}function b(e){for(var t=0;t<e.length;t++){var r=e[t],n=i[r.id];if(n){n.refs++;for(var o=0;o<n.parts.length;o++)n.parts[o](r.parts[o]);for(;o<r.parts.length;o++)n.parts.push(g(r.parts[o]));n.parts.length>r.parts.length&&(n.parts.length=r.parts.length)}else{var a=[];for(o=0;o<r.parts.length;o++)a.push(g(r.parts[o]));i[r.id]={id:r.id,refs:1,parts:a}}}}function m(){var e=document.createElement("style");return e.type="text/css",a.appendChild(e),e}function g(e){var t,r,n=document.querySelector("style["+f+'~="'+e.id+'"]');if(n){if(l)return u;n.parentNode.removeChild(n)}if(p){var o=c++;n=s||(s=m()),t=y.bind(null,n,o,!1),r=y.bind(null,n,o,!0)}else n=m(),t=w.bind(null,n),r=function(){n.parentNode.removeChild(n)};return t(e),function(n){if(n){if(n.css===e.css&&n.media===e.media&&n.sourceMap===e.sourceMap)return;t(e=n)}else r()}}var v=function(){var e=[];return function(t,r){return e[t]=r,e.filter(Boolean).join("\n")}}();function y(e,t,r,n){var o=r?"":n.css;if(e.styleSheet)e.styleSheet.cssText=v(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function w(e,t){var r=t.css,n=t.media,o=t.sourceMap;if(n&&e.setAttribute("media",n),d.ssrId&&e.setAttribute(f,t.id),o&&(r+="\n/*# sourceURL="+o.sources[0]+" */",r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),e.styleSheet)e.styleSheet.cssText=r;else{while(e.firstChild)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}},"4d64":function(e,t,r){var n=r("fc6a"),o=r("50c4"),i=r("23cb"),a=function(e){return function(t,r,a){var s,c=n(t),l=o(c.length),u=i(a,l);if(e&&r!=r){while(l>u)if(s=c[u++],s!=s)return!0}else for(;l>u;u++)if((e||u in c)&&c[u]===r)return e||u||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},"4de4":function(e,t,r){"use strict";var n=r("23e7"),o=r("b727").filter,i=r("1dde"),a=r("ae40"),s=i("filter"),c=a("filter");n({target:"Array",proto:!0,forced:!s||!c},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},"50c4":function(e,t,r){var n=r("a691"),o=Math.min;e.exports=function(e){return e>0?o(n(e),9007199254740991):0}},5135:function(e,t){var r={}.hasOwnProperty;e.exports=function(e,t){return r.call(e,t)}},5319:function(e,t,r){"use strict";var n=r("d784"),o=r("825a"),i=r("50c4"),a=r("a691"),s=r("1d80"),c=r("8aa5"),l=r("0cb2"),u=r("14c3"),d=Math.max,f=Math.min,p=function(e){return void 0===e?e:String(e)};n("replace",2,(function(e,t,r,n){var h=n.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,b=n.REPLACE_KEEPS_$0,m=h?"$":"$0";return[function(r,n){var o=s(this),i=void 0==r?void 0:r[e];return void 0!==i?i.call(r,o,n):t.call(String(o),r,n)},function(e,n){if(!h&&b||"string"===typeof n&&-1===n.indexOf(m)){var s=r(t,e,this,n);if(s.done)return s.value}var g=o(e),v=String(this),y="function"===typeof n;y||(n=String(n));var w=g.global;if(w){var x=g.unicode;g.lastIndex=0}var _=[];while(1){var k=u(g,v);if(null===k)break;if(_.push(k),!w)break;var E=String(k[0]);""===E&&(g.lastIndex=c(v,i(g.lastIndex),x))}for(var O="",A=0,S=0;S<_.length;S++){k=_[S];for(var j=String(k[0]),P=d(f(a(k.index),v.length),0),C=[],T=1;T<k.length;T++)C.push(p(k[T]));var R=k.groups;if(y){var I=[j].concat(C,P,v);void 0!==R&&I.push(R);var $=String(n.apply(void 0,I))}else $=l(j,v,P,C,R,n);P>=A&&(O+=v.slice(A,P)+$,A=P+j.length)}return O+v.slice(A)}]}))},5360:function(e,t,r){var n=r("9163");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var o=r("499e").default;o("1547fa5c",n,!0,{sourceMap:!1,shadowMode:!1})},5692:function(e,t,r){var n=r("c430"),o=r("c6cd");(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.8.3",mode:n?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},"56ef":function(e,t,r){var n=r("d066"),o=r("241c"),i=r("7418"),a=r("825a");e.exports=n("Reflect","ownKeys")||function(e){var t=o.f(a(e)),r=i.f;return r?t.concat(r(e)):t}},"5c6c":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"605d":function(e,t,r){var n=r("c6b6"),o=r("da84");e.exports="process"==n(o.process)},6547:function(e,t,r){var n=r("a691"),o=r("1d80"),i=function(e){return function(t,r){var i,a,s=String(o(t)),c=n(r),l=s.length;return c<0||c>=l?e?"":void 0:(i=s.charCodeAt(c),i<55296||i>56319||c+1===l||(a=s.charCodeAt(c+1))<56320||a>57343?e?s.charAt(c):i:e?s.slice(c,c+2):a-56320+(i-55296<<10)+65536)}};e.exports={codeAt:i(!1),charAt:i(!0)}},"65f0":function(e,t,r){var n=r("861d"),o=r("e8b5"),i=r("b622"),a=i("species");e.exports=function(e,t){var r;return o(e)&&(r=e.constructor,"function"!=typeof r||r!==Array&&!o(r.prototype)?n(r)&&(r=r[a],null===r&&(r=void 0)):r=void 0),new(void 0===r?Array:r)(0===t?0:t)}},"67cd":function(e,t,r){var n=r("24fb");t=n(!1),t.push([e.i,"@charset \"UTF-8\";\n/*!\n * BootstrapVue Custom CSS (https://bootstrap-vue.org)\n */.bv-no-focus-ring:focus{outline:none}@media (max-width:575.98px){.bv-d-xs-down-none{display:none!important}}@media (max-width:767.98px){.bv-d-sm-down-none{display:none!important}}@media (max-width:991.98px){.bv-d-md-down-none{display:none!important}}@media (max-width:1199.98px){.bv-d-lg-down-none{display:none!important}}.bv-d-xl-down-none{display:none!important}.form-control.focus{color:#495057;background-color:#fff;border-color:#80bdff;outline:0;box-shadow:0 0 0 .2rem rgba(0,123,255,.25)}.form-control.focus.is-valid{border-color:#28a745;box-shadow:0 0 0 .2rem rgba(40,167,69,.25)}.form-control.focus.is-invalid{border-color:#dc3545;box-shadow:0 0 0 .2rem rgba(220,53,69,.25)}.b-avatar{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;flex-shrink:0;width:2.5rem;height:2.5rem;font-size:inherit;font-weight:400;line-height:1;max-width:100%;max-height:auto;text-align:center;overflow:visible;position:relative;transition:color .15s ease-in-out,background-color .15s ease-in-out,box-shadow .15s ease-in-out}.b-avatar:focus{outline:0}.b-avatar.btn,.b-avatar[href]{padding:0;border:0}.b-avatar.btn .b-avatar-img img,.b-avatar[href] .b-avatar-img img{transition:transform .15s ease-in-out}.b-avatar.btn:not(:disabled):not(.disabled),.b-avatar[href]:not(:disabled):not(.disabled){cursor:pointer}.b-avatar.btn:not(:disabled):not(.disabled):hover .b-avatar-img img,.b-avatar[href]:not(:disabled):not(.disabled):hover .b-avatar-img img{transform:scale(1.15)}.b-avatar.disabled,.b-avatar:disabled,.b-avatar[disabled]{opacity:.65;pointer-events:none}.b-avatar .b-avatar-custom,.b-avatar .b-avatar-img,.b-avatar .b-avatar-text{border-radius:inherit;width:100%;height:100%;overflow:hidden;display:flex;justify-content:center;align-items:center;-webkit-mask-image:radial-gradient(#fff,#000);mask-image:radial-gradient(#fff,#000)}.b-avatar .b-avatar-text{text-transform:uppercase;white-space:nowrap}.b-avatar[href]{text-decoration:none}.b-avatar>.b-icon{width:60%;height:auto;max-width:100%}.b-avatar .b-avatar-img img{width:100%;height:100%;max-height:auto;border-radius:inherit;-o-object-fit:cover;object-fit:cover}.b-avatar .b-avatar-badge{position:absolute;min-height:1.5em;min-width:1.5em;padding:.25em;line-height:1;border-radius:10em;font-size:70%;font-weight:700;z-index:1}.b-avatar-sm{width:1.5rem;height:1.5rem}.b-avatar-sm .b-avatar-text{font-size:.6rem}.b-avatar-sm .b-avatar-badge{font-size:.42rem}.b-avatar-lg{width:3.5rem;height:3.5rem}.b-avatar-lg .b-avatar-text{font-size:1.4rem}.b-avatar-lg .b-avatar-badge{font-size:.98rem}.b-avatar-group .b-avatar-group-inner{display:flex;flex-wrap:wrap}.b-avatar-group .b-avatar{border:1px solid #dee2e6}.b-avatar-group .btn.b-avatar:hover:not(.disabled):not(disabled),.b-avatar-group a.b-avatar:hover:not(.disabled):not(disabled){z-index:1}.b-calendar{display:inline-flex}.b-calendar .b-calendar-inner{min-width:250px}.b-calendar .b-calendar-header,.b-calendar .b-calendar-nav{margin-bottom:.25rem}.b-calendar .b-calendar-nav .btn{padding:.25rem}.b-calendar output{padding:.25rem;font-size:80%}.b-calendar output.readonly{background-color:#e9ecef;opacity:1}.b-calendar .b-calendar-footer{margin-top:.5rem}.b-calendar .b-calendar-grid{padding:0;margin:0;overflow:hidden}.b-calendar .b-calendar-grid .row{flex-wrap:nowrap}.b-calendar .b-calendar-grid-caption{padding:.25rem}.b-calendar .b-calendar-grid-body .col[data-date] .btn{width:32px;height:32px;font-size:14px;line-height:1;margin:3px auto;padding:9px 0}.b-calendar .btn.disabled,.b-calendar .btn:disabled,.b-calendar .btn[aria-disabled=true]{cursor:default;pointer-events:none}.card-img-left{border-top-left-radius:calc(.25rem - 1px);border-bottom-left-radius:calc(.25rem - 1px)}.card-img-right{border-top-right-radius:calc(.25rem - 1px);border-bottom-right-radius:calc(.25rem - 1px)}.dropdown.dropleft .dropdown-toggle.dropdown-toggle-no-caret:before,.dropdown:not(.dropleft) .dropdown-toggle.dropdown-toggle-no-caret:after{display:none!important}.dropdown .dropdown-menu:focus{outline:none}.b-dropdown-form{display:inline-block;padding:.25rem 1.5rem;width:100%;clear:both;font-weight:400}.b-dropdown-form:focus{outline:1px dotted!important;outline:5px auto -webkit-focus-ring-color!important}.b-dropdown-form.disabled,.b-dropdown-form:disabled{outline:0!important;color:#6c757d;pointer-events:none}.b-dropdown-text{display:inline-block;padding:.25rem 1.5rem;margin-bottom:0;width:100%;clear:both;font-weight:lighter}.custom-checkbox.b-custom-control-lg,.input-group-lg .custom-checkbox{font-size:1.25rem;line-height:1.5;padding-left:1.875rem}.custom-checkbox.b-custom-control-lg .custom-control-label:before,.input-group-lg .custom-checkbox .custom-control-label:before{top:.3125rem;left:-1.875rem;width:1.25rem;height:1.25rem;border-radius:.3rem}.custom-checkbox.b-custom-control-lg .custom-control-label:after,.input-group-lg .custom-checkbox .custom-control-label:after{top:.3125rem;left:-1.875rem;width:1.25rem;height:1.25rem;background-size:50% 50%}.custom-checkbox.b-custom-control-sm,.input-group-sm .custom-checkbox{font-size:.875rem;line-height:1.5;padding-left:1.3125rem}.custom-checkbox.b-custom-control-sm .custom-control-label:before,.input-group-sm .custom-checkbox .custom-control-label:before{top:.21875rem;left:-1.3125rem;width:.875rem;height:.875rem;border-radius:.2rem}.custom-checkbox.b-custom-control-sm .custom-control-label:after,.input-group-sm .custom-checkbox .custom-control-label:after{top:.21875rem;left:-1.3125rem;width:.875rem;height:.875rem;background-size:50% 50%}.custom-switch.b-custom-control-lg,.input-group-lg .custom-switch{padding-left:2.8125rem}.custom-switch.b-custom-control-lg .custom-control-label,.input-group-lg .custom-switch .custom-control-label{font-size:1.25rem;line-height:1.5}.custom-switch.b-custom-control-lg .custom-control-label:before,.input-group-lg .custom-switch .custom-control-label:before{top:.3125rem;height:1.25rem;left:-2.8125rem;width:2.1875rem;border-radius:.625rem}.custom-switch.b-custom-control-lg .custom-control-label:after,.input-group-lg .custom-switch .custom-control-label:after{top:calc(.3125rem + 2px);left:calc(-2.8125rem + 2px);width:calc(1.25rem - 4px);height:calc(1.25rem - 4px);border-radius:.625rem;background-size:50% 50%}.custom-switch.b-custom-control-lg .custom-control-input:checked~.custom-control-label:after,.input-group-lg .custom-switch .custom-control-input:checked~.custom-control-label:after{transform:translateX(.9375rem)}.custom-switch.b-custom-control-sm,.input-group-sm .custom-switch{padding-left:1.96875rem}.custom-switch.b-custom-control-sm .custom-control-label,.input-group-sm .custom-switch .custom-control-label{font-size:.875rem;line-height:1.5}.custom-switch.b-custom-control-sm .custom-control-label:before,.input-group-sm .custom-switch .custom-control-label:before{top:.21875rem;left:-1.96875rem;width:1.53125rem;height:.875rem;border-radius:.4375rem}.custom-switch.b-custom-control-sm .custom-control-label:after,.input-group-sm .custom-switch .custom-control-label:after{top:calc(.21875rem + 2px);left:calc(-1.96875rem + 2px);width:calc(.875rem - 4px);height:calc(.875rem - 4px);border-radius:.4375rem;background-size:50% 50%}.custom-switch.b-custom-control-sm .custom-control-input:checked~.custom-control-label:after,.input-group-sm .custom-switch .custom-control-input:checked~.custom-control-label:after{transform:translateX(.65625rem)}.input-group>.input-group-append:last-child>.btn-group:not(:last-child):not(.dropdown-toggle)>.btn,.input-group>.input-group-append:not(:last-child)>.btn-group>.btn,.input-group>.input-group-prepend>.btn-group>.btn{border-top-right-radius:0;border-bottom-right-radius:0}.input-group>.input-group-append>.btn-group>.btn,.input-group>.input-group-prepend:first-child>.btn-group:not(:first-child)>.btn,.input-group>.input-group-prepend:not(:first-child)>.btn-group>.btn{border-top-left-radius:0;border-bottom-left-radius:0}.b-form-btn-label-control.form-control{display:flex;align-items:stretch;height:auto;padding:0;background-image:none}.input-group .b-form-btn-label-control.form-control{padding:0}.b-form-btn-label-control.form-control[dir=rtl],[dir=rtl] .b-form-btn-label-control.form-control{flex-direction:row-reverse}.b-form-btn-label-control.form-control[dir=rtl]>label,[dir=rtl] .b-form-btn-label-control.form-control>label{text-align:right}.b-form-btn-label-control.form-control>.btn{line-height:1;font-size:inherit;box-shadow:none!important;border:0}.b-form-btn-label-control.form-control>.btn:disabled{pointer-events:none}.b-form-btn-label-control.form-control.is-valid>.btn{color:#28a745}.b-form-btn-label-control.form-control.is-invalid>.btn{color:#dc3545}.b-form-btn-label-control.form-control>.dropdown-menu{padding:.5rem}.b-form-btn-label-control.form-control>.form-control{height:auto;min-height:calc(1.5em + .75rem);padding-left:.25rem;margin:0;border:0;outline:0;background:transparent;word-break:break-word;font-size:inherit;white-space:normal;cursor:pointer}.b-form-btn-label-control.form-control>.form-control.form-control-sm{min-height:calc(1.5em + .5rem)}.b-form-btn-label-control.form-control>.form-control.form-control-lg{min-height:calc(1.5em + 1rem)}.input-group.input-group-sm .b-form-btn-label-control.form-control>.form-control{min-height:calc(1.5em + .5rem);padding-top:.25rem;padding-bottom:.25rem}.input-group.input-group-lg .b-form-btn-label-control.form-control>.form-control{min-height:calc(1.5em + 1rem);padding-top:.5rem;padding-bottom:.5rem}.b-form-btn-label-control.form-control[aria-disabled=true],.b-form-btn-label-control.form-control[aria-readonly=true]{background-color:#e9ecef;opacity:1}.b-form-btn-label-control.form-control[aria-disabled=true]{pointer-events:none}.b-form-btn-label-control.form-control[aria-disabled=true]>label{cursor:default}.b-form-btn-label-control.btn-group>.dropdown-menu{padding:.5rem}.custom-file-label{white-space:nowrap;overflow-x:hidden}.b-custom-control-lg.custom-file,.b-custom-control-lg .custom-file-input,.b-custom-control-lg .custom-file-label,.input-group-lg.custom-file,.input-group-lg .custom-file-input,.input-group-lg .custom-file-label{font-size:1.25rem;height:calc(1.5em + 1rem + 2px)}.b-custom-control-lg .custom-file-label,.b-custom-control-lg .custom-file-label:after,.input-group-lg .custom-file-label,.input-group-lg .custom-file-label:after{padding:.5rem 1rem;line-height:1.5}.b-custom-control-lg .custom-file-label,.input-group-lg .custom-file-label{border-radius:.3rem}.b-custom-control-lg .custom-file-label:after,.input-group-lg .custom-file-label:after{font-size:inherit;height:calc(1.5em + 1rem);border-radius:0 .3rem .3rem 0}.b-custom-control-sm.custom-file,.b-custom-control-sm .custom-file-input,.b-custom-control-sm .custom-file-label,.input-group-sm.custom-file,.input-group-sm .custom-file-input,.input-group-sm .custom-file-label{font-size:.875rem;height:calc(1.5em + .5rem + 2px)}.b-custom-control-sm .custom-file-label,.b-custom-control-sm .custom-file-label:after,.input-group-sm .custom-file-label,.input-group-sm .custom-file-label:after{padding:.25rem .5rem;line-height:1.5}.b-custom-control-sm .custom-file-label,.input-group-sm .custom-file-label{border-radius:.2rem}.b-custom-control-sm .custom-file-label:after,.input-group-sm .custom-file-label:after{font-size:inherit;height:calc(1.5em + .5rem);border-radius:0 .2rem .2rem 0}.form-control.is-invalid,.form-control.is-valid,.was-validated .form-control:invalid,.was-validated .form-control:valid{background-position:right calc(.375em + .1875rem) center}input[type=color].form-control{height:calc(1.5em + .75rem + 2px);padding:.125rem .25rem}.input-group-sm input[type=color].form-control,input[type=color].form-control.form-control-sm{height:calc(1.5em + .5rem + 2px);padding:.125rem .25rem}.input-group-lg input[type=color].form-control,input[type=color].form-control.form-control-lg{height:calc(1.5em + 1rem + 2px);padding:.125rem .25rem}input[type=color].form-control:disabled{background-color:#adb5bd;opacity:.65}.input-group>.custom-range{position:relative;flex:1 1 auto;width:1%;margin-bottom:0}.input-group>.custom-file+.custom-range,.input-group>.custom-range+.custom-file,.input-group>.custom-range+.custom-range,.input-group>.custom-range+.custom-select,.input-group>.custom-range+.form-control,.input-group>.custom-range+.form-control-plaintext,.input-group>.custom-select+.custom-range,.input-group>.form-control+.custom-range,.input-group>.form-control-plaintext+.custom-range{margin-left:-1px}.input-group>.custom-range:focus{z-index:3}.input-group>.custom-range:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.input-group>.custom-range:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.input-group>.custom-range{padding:0 .75rem;background-color:#fff;background-clip:padding-box;border:1px solid #ced4da;height:calc(1.5em + .75rem + 2px);border-radius:.25rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.input-group>.custom-range{transition:none}}.input-group>.custom-range:focus{color:#495057;background-color:#fff;border-color:#80bdff;outline:0;box-shadow:0 0 0 .2rem rgba(0,123,255,.25)}.input-group>.custom-range:disabled,.input-group>.custom-range[readonly]{background-color:#e9ecef}.input-group-lg>.custom-range{height:calc(1.5em + 1rem + 2px);padding:0 1rem;border-radius:.3rem}.input-group-sm>.custom-range{height:calc(1.5em + .5rem + 2px);padding:0 .5rem;border-radius:.2rem}.input-group .custom-range.is-valid,.was-validated .input-group .custom-range:valid{border-color:#28a745}.input-group .custom-range.is-valid:focus,.was-validated .input-group .custom-range:valid:focus{border-color:#28a745;box-shadow:0 0 0 .2rem rgba(40,167,69,.25)}.custom-range.is-valid:focus::-webkit-slider-thumb,.was-validated .custom-range:valid:focus::-webkit-slider-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .2rem #9be7ac}.custom-range.is-valid:focus::-moz-range-thumb,.was-validated .custom-range:valid:focus::-moz-range-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .2rem #9be7ac}.custom-range.is-valid:focus::-ms-thumb,.was-validated .custom-range:valid:focus::-ms-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .2rem #9be7ac}.custom-range.is-valid::-webkit-slider-thumb,.was-validated .custom-range:valid::-webkit-slider-thumb{background-color:#28a745;background-image:none}.custom-range.is-valid::-webkit-slider-thumb:active,.was-validated .custom-range:valid::-webkit-slider-thumb:active{background-color:#9be7ac;background-image:none}.custom-range.is-valid::-webkit-slider-runnable-track,.was-validated .custom-range:valid::-webkit-slider-runnable-track{background-color:rgba(40,167,69,.35)}.custom-range.is-valid::-moz-range-thumb,.was-validated .custom-range:valid::-moz-range-thumb{background-color:#28a745;background-image:none}.custom-range.is-valid::-moz-range-thumb:active,.was-validated .custom-range:valid::-moz-range-thumb:active{background-color:#9be7ac;background-image:none}.custom-range.is-valid::-moz-range-track,.was-validated .custom-range:valid::-moz-range-track{background:rgba(40,167,69,.35)}.custom-range.is-valid~.valid-feedback,.custom-range.is-valid~.valid-tooltip,.was-validated .custom-range:valid~.valid-feedback,.was-validated .custom-range:valid~.valid-tooltip{display:block}.custom-range.is-valid::-ms-thumb,.was-validated .custom-range:valid::-ms-thumb{background-color:#28a745;background-image:none}.custom-range.is-valid::-ms-thumb:active,.was-validated .custom-range:valid::-ms-thumb:active{background-color:#9be7ac;background-image:none}.custom-range.is-valid::-ms-track-lower,.custom-range.is-valid::-ms-track-upper,.was-validated .custom-range:valid::-ms-track-lower,.was-validated .custom-range:valid::-ms-track-upper{background:rgba(40,167,69,.35)}.input-group .custom-range.is-invalid,.was-validated .input-group .custom-range:invalid{border-color:#dc3545}.input-group .custom-range.is-invalid:focus,.was-validated .input-group .custom-range:invalid:focus{border-color:#dc3545;box-shadow:0 0 0 .2rem rgba(220,53,69,.25)}.custom-range.is-invalid:focus::-webkit-slider-thumb,.was-validated .custom-range:invalid:focus::-webkit-slider-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .2rem #f6cdd1}.custom-range.is-invalid:focus::-moz-range-thumb,.was-validated .custom-range:invalid:focus::-moz-range-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .2rem #f6cdd1}.custom-range.is-invalid:focus::-ms-thumb,.was-validated .custom-range:invalid:focus::-ms-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .2rem #f6cdd1}.custom-range.is-invalid::-webkit-slider-thumb,.was-validated .custom-range:invalid::-webkit-slider-thumb{background-color:#dc3545;background-image:none}.custom-range.is-invalid::-webkit-slider-thumb:active,.was-validated .custom-range:invalid::-webkit-slider-thumb:active{background-color:#f6cdd1;background-image:none}.custom-range.is-invalid::-webkit-slider-runnable-track,.was-validated .custom-range:invalid::-webkit-slider-runnable-track{background-color:rgba(220,53,69,.35)}.custom-range.is-invalid::-moz-range-thumb,.was-validated .custom-range:invalid::-moz-range-thumb{background-color:#dc3545;background-image:none}.custom-range.is-invalid::-moz-range-thumb:active,.was-validated .custom-range:invalid::-moz-range-thumb:active{background-color:#f6cdd1;background-image:none}.custom-range.is-invalid::-moz-range-track,.was-validated .custom-range:invalid::-moz-range-track{background:rgba(220,53,69,.35)}.custom-range.is-invalid~.invalid-feedback,.custom-range.is-invalid~.invalid-tooltip,.was-validated .custom-range:invalid~.invalid-feedback,.was-validated .custom-range:invalid~.invalid-tooltip{display:block}.custom-range.is-invalid::-ms-thumb,.was-validated .custom-range:invalid::-ms-thumb{background-color:#dc3545;background-image:none}.custom-range.is-invalid::-ms-thumb:active,.was-validated .custom-range:invalid::-ms-thumb:active{background-color:#f6cdd1;background-image:none}.custom-range.is-invalid::-ms-track-lower,.custom-range.is-invalid::-ms-track-upper,.was-validated .custom-range:invalid::-ms-track-lower,.was-validated .custom-range:invalid::-ms-track-upper{background:rgba(220,53,69,.35)}.custom-radio.b-custom-control-lg,.input-group-lg .custom-radio{font-size:1.25rem;line-height:1.5;padding-left:1.875rem}.custom-radio.b-custom-control-lg .custom-control-label:before,.input-group-lg .custom-radio .custom-control-label:before{top:.3125rem;left:-1.875rem;width:1.25rem;height:1.25rem;border-radius:50%}.custom-radio.b-custom-control-lg .custom-control-label:after,.input-group-lg .custom-radio .custom-control-label:after{top:.3125rem;left:-1.875rem;width:1.25rem;height:1.25rem;background:no-repeat 50%/50% 50%}.custom-radio.b-custom-control-sm,.input-group-sm .custom-radio{font-size:.875rem;line-height:1.5;padding-left:1.3125rem}.custom-radio.b-custom-control-sm .custom-control-label:before,.input-group-sm .custom-radio .custom-control-label:before{top:.21875rem;left:-1.3125rem;width:.875rem;height:.875rem;border-radius:50%}.custom-radio.b-custom-control-sm .custom-control-label:after,.input-group-sm .custom-radio .custom-control-label:after{top:.21875rem;left:-1.3125rem;width:.875rem;height:.875rem;background:no-repeat 50%/50% 50%}.b-rating{text-align:center}.b-rating.d-inline-flex{width:auto}.b-rating .b-rating-star,.b-rating .b-rating-value{padding:0 .25em}.b-rating .b-rating-value{min-width:2.5em}.b-rating .b-rating-star{display:inline-flex;justify-content:center;outline:0}.b-rating .b-rating-star .b-rating-icon{display:inline-flex;transition:all .15s ease-in-out}.b-rating.disabled,.b-rating:disabled{background-color:#e9ecef;color:#6c757d}.b-rating:not(.disabled):not(.readonly) .b-rating-star{cursor:pointer}.b-rating:not(.disabled):not(.readonly) .b-rating-star:hover .b-rating-icon,.b-rating:not(.disabled):not(.readonly):focus:not(:hover) .b-rating-star.focused .b-rating-icon{transform:scale(1.5)}.b-rating[dir=rtl] .b-rating-star-half{transform:scaleX(-1)}.b-form-spinbutton{text-align:center;overflow:hidden;background-image:none;padding:0}.b-form-spinbutton[dir=rtl]:not(.flex-column),[dir=rtl] .b-form-spinbutton:not(.flex-column){flex-direction:row-reverse}.b-form-spinbutton output{font-size:inherit;outline:0;border:0;background-color:transparent;width:auto;margin:0;padding:0 .25rem}.b-form-spinbutton output>bdi,.b-form-spinbutton output>div{display:block;min-width:2.25em;height:1.5em}.b-form-spinbutton.flex-column{height:auto;width:auto}.b-form-spinbutton.flex-column output{margin:0 .25rem;padding:.25rem 0}.b-form-spinbutton:not(.d-inline-flex):not(.flex-column){output-width:100%}.b-form-spinbutton.d-inline-flex:not(.flex-column){width:auto}.b-form-spinbutton .btn{line-height:1;box-shadow:none!important}.b-form-spinbutton .btn:disabled{pointer-events:none}.b-form-spinbutton .btn:hover:not(:disabled)>div>.b-icon{transform:scale(1.25)}.b-form-spinbutton.disabled,.b-form-spinbutton.readonly{background-color:#e9ecef}.b-form-spinbutton.disabled{pointer-events:none}.b-form-tags .b-form-tags-list{margin-top:-.25rem}.b-form-tags .b-form-tags-list .b-form-tag,.b-form-tags .b-form-tags-list .b-from-tags-field{margin-top:.25rem}.b-form-tags.focus{color:#495057;background-color:#fff;border-color:#80bdff;outline:0;box-shadow:0 0 0 .2rem rgba(0,123,255,.25)}.b-form-tags.focus.is-valid{border-color:#28a745;box-shadow:0 0 0 .2rem rgba(40,167,69,.25)}.b-form-tags.focus.is-invalid{border-color:#dc3545;box-shadow:0 0 0 .2rem rgba(220,53,69,.25)}.b-form-tags.disabled{background-color:#e9ecef}.b-form-tag{font-size:75%;font-weight:400;line-height:1.5;margin-right:.25rem}.b-form-tag.disabled{opacity:.75}.b-form-tag>button.b-form-tag-remove{color:inherit;font-size:125%;line-height:1;float:none;margin-left:.25rem}.form-control-lg .b-form-tag,.form-control-sm .b-form-tag{line-height:1.5}.media-aside{display:flex;margin-right:1rem}.media-aside-right{margin-right:0;margin-left:1rem}.modal-backdrop{opacity:.5}.b-pagination-pills .page-item .page-link{border-radius:50rem!important;margin-left:.25rem;line-height:1}.b-pagination-pills .page-item:first-child .page-link{margin-left:0}.popover.b-popover{display:block;opacity:1;outline:0}.popover.b-popover.fade:not(.show){opacity:0}.popover.b-popover.show{opacity:1}.b-popover-primary.popover{background-color:#cce5ff;border-color:#b8daff}.b-popover-primary.bs-popover-auto[x-placement^=top]>.arrow:before,.b-popover-primary.bs-popover-top>.arrow:before{border-top-color:#b8daff}.b-popover-primary.bs-popover-auto[x-placement^=top]>.arrow:after,.b-popover-primary.bs-popover-top>.arrow:after{border-top-color:#cce5ff}.b-popover-primary.bs-popover-auto[x-placement^=right]>.arrow:before,.b-popover-primary.bs-popover-right>.arrow:before{border-right-color:#b8daff}.b-popover-primary.bs-popover-auto[x-placement^=right]>.arrow:after,.b-popover-primary.bs-popover-right>.arrow:after{border-right-color:#cce5ff}.b-popover-primary.bs-popover-auto[x-placement^=bottom]>.arrow:before,.b-popover-primary.bs-popover-bottom>.arrow:before{border-bottom-color:#b8daff}.b-popover-primary.bs-popover-auto[x-placement^=bottom] .popover-header:before,.b-popover-primary.bs-popover-auto[x-placement^=bottom]>.arrow:after,.b-popover-primary.bs-popover-bottom .popover-header:before,.b-popover-primary.bs-popover-bottom>.arrow:after{border-bottom-color:#bdddff}.b-popover-primary.bs-popover-auto[x-placement^=left]>.arrow:before,.b-popover-primary.bs-popover-left>.arrow:before{border-left-color:#b8daff}.b-popover-primary.bs-popover-auto[x-placement^=left]>.arrow:after,.b-popover-primary.bs-popover-left>.arrow:after{border-left-color:#cce5ff}.b-popover-primary .popover-header{color:#212529;background-color:#bdddff;border-bottom-color:#a3d0ff}.b-popover-primary .popover-body{color:#004085}.b-popover-secondary.popover{background-color:#e2e3e5;border-color:#d6d8db}.b-popover-secondary.bs-popover-auto[x-placement^=top]>.arrow:before,.b-popover-secondary.bs-popover-top>.arrow:before{border-top-color:#d6d8db}.b-popover-secondary.bs-popover-auto[x-placement^=top]>.arrow:after,.b-popover-secondary.bs-popover-top>.arrow:after{border-top-color:#e2e3e5}.b-popover-secondary.bs-popover-auto[x-placement^=right]>.arrow:before,.b-popover-secondary.bs-popover-right>.arrow:before{border-right-color:#d6d8db}.b-popover-secondary.bs-popover-auto[x-placement^=right]>.arrow:after,.b-popover-secondary.bs-popover-right>.arrow:after{border-right-color:#e2e3e5}.b-popover-secondary.bs-popover-auto[x-placement^=bottom]>.arrow:before,.b-popover-secondary.bs-popover-bottom>.arrow:before{border-bottom-color:#d6d8db}.b-popover-secondary.bs-popover-auto[x-placement^=bottom] .popover-header:before,.b-popover-secondary.bs-popover-auto[x-placement^=bottom]>.arrow:after,.b-popover-secondary.bs-popover-bottom .popover-header:before,.b-popover-secondary.bs-popover-bottom>.arrow:after{border-bottom-color:#dadbde}.b-popover-secondary.bs-popover-auto[x-placement^=left]>.arrow:before,.b-popover-secondary.bs-popover-left>.arrow:before{border-left-color:#d6d8db}.b-popover-secondary.bs-popover-auto[x-placement^=left]>.arrow:after,.b-popover-secondary.bs-popover-left>.arrow:after{border-left-color:#e2e3e5}.b-popover-secondary .popover-header{color:#212529;background-color:#dadbde;border-bottom-color:#ccced2}.b-popover-secondary .popover-body{color:#383d41}.b-popover-success.popover{background-color:#d4edda;border-color:#c3e6cb}.b-popover-success.bs-popover-auto[x-placement^=top]>.arrow:before,.b-popover-success.bs-popover-top>.arrow:before{border-top-color:#c3e6cb}.b-popover-success.bs-popover-auto[x-placement^=top]>.arrow:after,.b-popover-success.bs-popover-top>.arrow:after{border-top-color:#d4edda}.b-popover-success.bs-popover-auto[x-placement^=right]>.arrow:before,.b-popover-success.bs-popover-right>.arrow:before{border-right-color:#c3e6cb}.b-popover-success.bs-popover-auto[x-placement^=right]>.arrow:after,.b-popover-success.bs-popover-right>.arrow:after{border-right-color:#d4edda}.b-popover-success.bs-popover-auto[x-placement^=bottom]>.arrow:before,.b-popover-success.bs-popover-bottom>.arrow:before{border-bottom-color:#c3e6cb}.b-popover-success.bs-popover-auto[x-placement^=bottom] .popover-header:before,.b-popover-success.bs-popover-auto[x-placement^=bottom]>.arrow:after,.b-popover-success.bs-popover-bottom .popover-header:before,.b-popover-success.bs-popover-bottom>.arrow:after{border-bottom-color:#c9e8d1}.b-popover-success.bs-popover-auto[x-placement^=left]>.arrow:before,.b-popover-success.bs-popover-left>.arrow:before{border-left-color:#c3e6cb}.b-popover-success.bs-popover-auto[x-placement^=left]>.arrow:after,.b-popover-success.bs-popover-left>.arrow:after{border-left-color:#d4edda}.b-popover-success .popover-header{color:#212529;background-color:#c9e8d1;border-bottom-color:#b7e1c1}.b-popover-success .popover-body{color:#155724}.b-popover-info.popover{background-color:#d1ecf1;border-color:#bee5eb}.b-popover-info.bs-popover-auto[x-placement^=top]>.arrow:before,.b-popover-info.bs-popover-top>.arrow:before{border-top-color:#bee5eb}.b-popover-info.bs-popover-auto[x-placement^=top]>.arrow:after,.b-popover-info.bs-popover-top>.arrow:after{border-top-color:#d1ecf1}.b-popover-info.bs-popover-auto[x-placement^=right]>.arrow:before,.b-popover-info.bs-popover-right>.arrow:before{border-right-color:#bee5eb}.b-popover-info.bs-popover-auto[x-placement^=right]>.arrow:after,.b-popover-info.bs-popover-right>.arrow:after{border-right-color:#d1ecf1}.b-popover-info.bs-popover-auto[x-placement^=bottom]>.arrow:before,.b-popover-info.bs-popover-bottom>.arrow:before{border-bottom-color:#bee5eb}.b-popover-info.bs-popover-auto[x-placement^=bottom] .popover-header:before,.b-popover-info.bs-popover-auto[x-placement^=bottom]>.arrow:after,.b-popover-info.bs-popover-bottom .popover-header:before,.b-popover-info.bs-popover-bottom>.arrow:after{border-bottom-color:#c5e7ed}.b-popover-info.bs-popover-auto[x-placement^=left]>.arrow:before,.b-popover-info.bs-popover-left>.arrow:before{border-left-color:#bee5eb}.b-popover-info.bs-popover-auto[x-placement^=left]>.arrow:after,.b-popover-info.bs-popover-left>.arrow:after{border-left-color:#d1ecf1}.b-popover-info .popover-header{color:#212529;background-color:#c5e7ed;border-bottom-color:#b2dfe7}.b-popover-info .popover-body{color:#0c5460}.b-popover-warning.popover{background-color:#fff3cd;border-color:#ffeeba}.b-popover-warning.bs-popover-auto[x-placement^=top]>.arrow:before,.b-popover-warning.bs-popover-top>.arrow:before{border-top-color:#ffeeba}.b-popover-warning.bs-popover-auto[x-placement^=top]>.arrow:after,.b-popover-warning.bs-popover-top>.arrow:after{border-top-color:#fff3cd}.b-popover-warning.bs-popover-auto[x-placement^=right]>.arrow:before,.b-popover-warning.bs-popover-right>.arrow:before{border-right-color:#ffeeba}.b-popover-warning.bs-popover-auto[x-placement^=right]>.arrow:after,.b-popover-warning.bs-popover-right>.arrow:after{border-right-color:#fff3cd}.b-popover-warning.bs-popover-auto[x-placement^=bottom]>.arrow:before,.b-popover-warning.bs-popover-bottom>.arrow:before{border-bottom-color:#ffeeba}.b-popover-warning.bs-popover-auto[x-placement^=bottom] .popover-header:before,.b-popover-warning.bs-popover-auto[x-placement^=bottom]>.arrow:after,.b-popover-warning.bs-popover-bottom .popover-header:before,.b-popover-warning.bs-popover-bottom>.arrow:after{border-bottom-color:#ffefbe}.b-popover-warning.bs-popover-auto[x-placement^=left]>.arrow:before,.b-popover-warning.bs-popover-left>.arrow:before{border-left-color:#ffeeba}.b-popover-warning.bs-popover-auto[x-placement^=left]>.arrow:after,.b-popover-warning.bs-popover-left>.arrow:after{border-left-color:#fff3cd}.b-popover-warning .popover-header{color:#212529;background-color:#ffefbe;border-bottom-color:#ffe9a4}.b-popover-warning .popover-body{color:#856404}.b-popover-danger.popover{background-color:#f8d7da;border-color:#f5c6cb}.b-popover-danger.bs-popover-auto[x-placement^=top]>.arrow:before,.b-popover-danger.bs-popover-top>.arrow:before{border-top-color:#f5c6cb}.b-popover-danger.bs-popover-auto[x-placement^=top]>.arrow:after,.b-popover-danger.bs-popover-top>.arrow:after{border-top-color:#f8d7da}.b-popover-danger.bs-popover-auto[x-placement^=right]>.arrow:before,.b-popover-danger.bs-popover-right>.arrow:before{border-right-color:#f5c6cb}.b-popover-danger.bs-popover-auto[x-placement^=right]>.arrow:after,.b-popover-danger.bs-popover-right>.arrow:after{border-right-color:#f8d7da}.b-popover-danger.bs-popover-auto[x-placement^=bottom]>.arrow:before,.b-popover-danger.bs-popover-bottom>.arrow:before{border-bottom-color:#f5c6cb}.b-popover-danger.bs-popover-auto[x-placement^=bottom] .popover-header:before,.b-popover-danger.bs-popover-auto[x-placement^=bottom]>.arrow:after,.b-popover-danger.bs-popover-bottom .popover-header:before,.b-popover-danger.bs-popover-bottom>.arrow:after{border-bottom-color:#f6cace}.b-popover-danger.bs-popover-auto[x-placement^=left]>.arrow:before,.b-popover-danger.bs-popover-left>.arrow:before{border-left-color:#f5c6cb}.b-popover-danger.bs-popover-auto[x-placement^=left]>.arrow:after,.b-popover-danger.bs-popover-left>.arrow:after{border-left-color:#f8d7da}.b-popover-danger .popover-header{color:#212529;background-color:#f6cace;border-bottom-color:#f2b4ba}.b-popover-danger .popover-body{color:#721c24}.b-popover-light.popover{background-color:#fefefe;border-color:#fdfdfe}.b-popover-light.bs-popover-auto[x-placement^=top]>.arrow:before,.b-popover-light.bs-popover-top>.arrow:before{border-top-color:#fdfdfe}.b-popover-light.bs-popover-auto[x-placement^=top]>.arrow:after,.b-popover-light.bs-popover-top>.arrow:after{border-top-color:#fefefe}.b-popover-light.bs-popover-auto[x-placement^=right]>.arrow:before,.b-popover-light.bs-popover-right>.arrow:before{border-right-color:#fdfdfe}.b-popover-light.bs-popover-auto[x-placement^=right]>.arrow:after,.b-popover-light.bs-popover-right>.arrow:after{border-right-color:#fefefe}.b-popover-light.bs-popover-auto[x-placement^=bottom]>.arrow:before,.b-popover-light.bs-popover-bottom>.arrow:before{border-bottom-color:#fdfdfe}.b-popover-light.bs-popover-auto[x-placement^=bottom] .popover-header:before,.b-popover-light.bs-popover-auto[x-placement^=bottom]>.arrow:after,.b-popover-light.bs-popover-bottom .popover-header:before,.b-popover-light.bs-popover-bottom>.arrow:after{border-bottom-color:#f6f6f6}.b-popover-light.bs-popover-auto[x-placement^=left]>.arrow:before,.b-popover-light.bs-popover-left>.arrow:before{border-left-color:#fdfdfe}.b-popover-light.bs-popover-auto[x-placement^=left]>.arrow:after,.b-popover-light.bs-popover-left>.arrow:after{border-left-color:#fefefe}.b-popover-light .popover-header{color:#212529;background-color:#f6f6f6;border-bottom-color:#eaeaea}.b-popover-light .popover-body{color:#818182}.b-popover-dark.popover{background-color:#d6d8d9;border-color:#c6c8ca}.b-popover-dark.bs-popover-auto[x-placement^=top]>.arrow:before,.b-popover-dark.bs-popover-top>.arrow:before{border-top-color:#c6c8ca}.b-popover-dark.bs-popover-auto[x-placement^=top]>.arrow:after,.b-popover-dark.bs-popover-top>.arrow:after{border-top-color:#d6d8d9}.b-popover-dark.bs-popover-auto[x-placement^=right]>.arrow:before,.b-popover-dark.bs-popover-right>.arrow:before{border-right-color:#c6c8ca}.b-popover-dark.bs-popover-auto[x-placement^=right]>.arrow:after,.b-popover-dark.bs-popover-right>.arrow:after{border-right-color:#d6d8d9}.b-popover-dark.bs-popover-auto[x-placement^=bottom]>.arrow:before,.b-popover-dark.bs-popover-bottom>.arrow:before{border-bottom-color:#c6c8ca}.b-popover-dark.bs-popover-auto[x-placement^=bottom] .popover-header:before,.b-popover-dark.bs-popover-auto[x-placement^=bottom]>.arrow:after,.b-popover-dark.bs-popover-bottom .popover-header:before,.b-popover-dark.bs-popover-bottom>.arrow:after{border-bottom-color:#ced0d2}.b-popover-dark.bs-popover-auto[x-placement^=left]>.arrow:before,.b-popover-dark.bs-popover-left>.arrow:before{border-left-color:#c6c8ca}.b-popover-dark.bs-popover-auto[x-placement^=left]>.arrow:after,.b-popover-dark.bs-popover-left>.arrow:after{border-left-color:#d6d8d9}.b-popover-dark .popover-header{color:#212529;background-color:#ced0d2;border-bottom-color:#c1c4c5}.b-popover-dark .popover-body{color:#1b1e21}.b-sidebar-outer{position:fixed;top:0;left:0;right:0;height:0;overflow:visible;z-index:1035}.b-sidebar-backdrop{left:0;z-index:-1;width:100vw;opacity:.6}.b-sidebar,.b-sidebar-backdrop{position:fixed;top:0;height:100vh}.b-sidebar{display:flex;flex-direction:column;width:320px;max-width:100%;max-height:100%;margin:0;outline:0;transform:translateX(0)}.b-sidebar.slide{transition:transform .3s ease-in-out}@media (prefers-reduced-motion:reduce){.b-sidebar.slide{transition:none}}.b-sidebar:not(.b-sidebar-right){left:0;right:auto}.b-sidebar:not(.b-sidebar-right).slide:not(.show){transform:translateX(-100%)}.b-sidebar:not(.b-sidebar-right)>.b-sidebar-header .close{margin-left:auto}.b-sidebar.b-sidebar-right{left:auto;right:0}.b-sidebar.b-sidebar-right.slide:not(.show){transform:translateX(100%)}.b-sidebar.b-sidebar-right>.b-sidebar-header .close{margin-right:auto}.b-sidebar>.b-sidebar-header{font-size:1.5rem;padding:.5rem 1rem;display:flex;flex-direction:row;flex-grow:0;align-items:center}[dir=rtl] .b-sidebar>.b-sidebar-header{flex-direction:row-reverse}.b-sidebar>.b-sidebar-header .close{float:none;font-size:1.5rem}.b-sidebar>.b-sidebar-body{flex-grow:1;height:100%;overflow-y:auto}.b-sidebar>.b-sidebar-footer{flex-grow:0}.b-skeleton-wrapper{cursor:wait}.b-skeleton{position:relative;overflow:hidden;background-color:rgba(0,0,0,.12);cursor:wait;-webkit-mask-image:radial-gradient(#fff,#000);mask-image:radial-gradient(#fff,#000)}.b-skeleton:before{content:\" \"}.b-skeleton-text{height:1rem;margin-bottom:.25rem;border-radius:.25rem}.b-skeleton-button{width:75px;padding:.375rem .75rem;font-size:1rem;line-height:1.5;border-radius:.25rem}.b-skeleton-avatar{width:2.5em;height:2.5em;border-radius:50%}.b-skeleton-input{height:calc(1.5em + .75rem + 2px);padding:.375rem .75rem;line-height:1.5;border:1px solid #ced4da;border-radius:.25rem}.b-skeleton-icon-wrapper svg{color:rgba(0,0,0,.12)}.b-skeleton-img{height:100%;width:100%}.b-skeleton-animate-wave:after{content:\"\";position:absolute;top:0;right:0;bottom:0;left:0;z-index:0;background:linear-gradient(90deg,transparent,hsla(0,0%,100%,.4),transparent);-webkit-animation:b-skeleton-animate-wave 1.75s linear infinite;animation:b-skeleton-animate-wave 1.75s linear infinite}@media (prefers-reduced-motion:reduce){.b-skeleton-animate-wave:after{background:none;-webkit-animation:none;animation:none}}@-webkit-keyframes b-skeleton-animate-wave{0%{transform:translateX(-100%)}to{transform:translateX(100%)}}@keyframes b-skeleton-animate-wave{0%{transform:translateX(-100%)}to{transform:translateX(100%)}}.b-skeleton-animate-fade{-webkit-animation:b-skeleton-animate-fade .875s ease-in-out infinite alternate;animation:b-skeleton-animate-fade .875s ease-in-out infinite alternate}@media (prefers-reduced-motion:reduce){.b-skeleton-animate-fade{-webkit-animation:none;animation:none}}@-webkit-keyframes b-skeleton-animate-fade{0%{opacity:1}to{opacity:.4}}@keyframes b-skeleton-animate-fade{0%{opacity:1}to{opacity:.4}}.b-skeleton-animate-throb{-webkit-animation:b-skeleton-animate-throb .875s ease-in infinite alternate;animation:b-skeleton-animate-throb .875s ease-in infinite alternate}@media (prefers-reduced-motion:reduce){.b-skeleton-animate-throb{-webkit-animation:none;animation:none}}@-webkit-keyframes b-skeleton-animate-throb{0%{transform:scale(1)}to{transform:scale(.975)}}@keyframes b-skeleton-animate-throb{0%{transform:scale(1)}to{transform:scale(.975)}}.table.b-table.b-table-fixed{table-layout:fixed}.table.b-table.b-table-no-border-collapse{border-collapse:separate;border-spacing:0}.table.b-table[aria-busy=true]{opacity:.55}.table.b-table>tbody>tr.b-table-details>td{border-top:none!important}.table.b-table>caption{caption-side:bottom}.table.b-table.b-table-caption-top>caption{caption-side:top!important}.table.b-table>tbody>.table-active,.table.b-table>tbody>.table-active>td,.table.b-table>tbody>.table-active>th{background-color:rgba(0,0,0,.075)}.table.b-table.table-hover>tbody>tr.table-active:hover td,.table.b-table.table-hover>tbody>tr.table-active:hover th{color:#212529;background-image:linear-gradient(rgba(0,0,0,.075),rgba(0,0,0,.075));background-repeat:no-repeat}.table.b-table>tbody>.bg-active,.table.b-table>tbody>.bg-active>td,.table.b-table>tbody>.bg-active>th{background-color:hsla(0,0%,100%,.075)!important}.table.b-table.table-hover.table-dark>tbody>tr.bg-active:hover td,.table.b-table.table-hover.table-dark>tbody>tr.bg-active:hover th{color:#fff;background-image:linear-gradient(hsla(0,0%,100%,.075),hsla(0,0%,100%,.075));background-repeat:no-repeat}.b-table-sticky-header,.table-responsive,[class*=table-responsive-]{margin-bottom:1rem}.b-table-sticky-header>.table,.table-responsive>.table,[class*=table-responsive-]>.table{margin-bottom:0}.b-table-sticky-header{overflow-y:auto;max-height:300px}@media print{.b-table-sticky-header{overflow-y:visible!important;max-height:none!important}}@supports (position:sticky){.b-table-sticky-header>.table.b-table>thead>tr>th{position:sticky;top:0;z-index:2}.b-table-sticky-header>.table.b-table>tbody>tr>.b-table-sticky-column,.b-table-sticky-header>.table.b-table>tfoot>tr>.b-table-sticky-column,.b-table-sticky-header>.table.b-table>thead>tr>.b-table-sticky-column,.table-responsive>.table.b-table>tbody>tr>.b-table-sticky-column,.table-responsive>.table.b-table>tfoot>tr>.b-table-sticky-column,.table-responsive>.table.b-table>thead>tr>.b-table-sticky-column,[class*=table-responsive-]>.table.b-table>tbody>tr>.b-table-sticky-column,[class*=table-responsive-]>.table.b-table>tfoot>tr>.b-table-sticky-column,[class*=table-responsive-]>.table.b-table>thead>tr>.b-table-sticky-column{position:sticky;left:0}.b-table-sticky-header>.table.b-table>thead>tr>.b-table-sticky-column,.table-responsive>.table.b-table>thead>tr>.b-table-sticky-column,[class*=table-responsive-]>.table.b-table>thead>tr>.b-table-sticky-column{z-index:5}.b-table-sticky-header>.table.b-table>tbody>tr>.b-table-sticky-column,.b-table-sticky-header>.table.b-table>tfoot>tr>.b-table-sticky-column,.table-responsive>.table.b-table>tbody>tr>.b-table-sticky-column,.table-responsive>.table.b-table>tfoot>tr>.b-table-sticky-column,[class*=table-responsive-]>.table.b-table>tbody>tr>.b-table-sticky-column,[class*=table-responsive-]>.table.b-table>tfoot>tr>.b-table-sticky-column{z-index:2}.table.b-table>tbody>tr>.table-b-table-default,.table.b-table>tfoot>tr>.table-b-table-default,.table.b-table>thead>tr>.table-b-table-default{color:#212529;background-color:#fff}.table.b-table.table-dark>tbody>tr>.bg-b-table-default,.table.b-table.table-dark>tfoot>tr>.bg-b-table-default,.table.b-table.table-dark>thead>tr>.bg-b-table-default{color:#fff;background-color:#343a40}.table.b-table.table-striped>tbody>tr:nth-of-type(odd)>.table-b-table-default{background-image:linear-gradient(rgba(0,0,0,.05),rgba(0,0,0,.05));background-repeat:no-repeat}.table.b-table.table-striped.table-dark>tbody>tr:nth-of-type(odd)>.bg-b-table-default{background-image:linear-gradient(hsla(0,0%,100%,.05),hsla(0,0%,100%,.05));background-repeat:no-repeat}.table.b-table.table-hover>tbody>tr:hover>.table-b-table-default{color:#212529;background-image:linear-gradient(rgba(0,0,0,.075),rgba(0,0,0,.075));background-repeat:no-repeat}.table.b-table.table-hover.table-dark>tbody>tr:hover>.bg-b-table-default{color:#fff;background-image:linear-gradient(hsla(0,0%,100%,.075),hsla(0,0%,100%,.075));background-repeat:no-repeat}}.table.b-table>tfoot>tr>[aria-sort],.table.b-table>thead>tr>[aria-sort]{cursor:pointer;background-image:none;background-repeat:no-repeat;background-size:.65em 1em}.table.b-table>tfoot>tr>[aria-sort]:not(.b-table-sort-icon-left),.table.b-table>thead>tr>[aria-sort]:not(.b-table-sort-icon-left){background-position:right .375rem center;padding-right:calc(.75rem + .65em)}.table.b-table>tfoot>tr>[aria-sort].b-table-sort-icon-left,.table.b-table>thead>tr>[aria-sort].b-table-sort-icon-left{background-position:left .375rem center;padding-left:calc(.75rem + .65em)}.table.b-table>tfoot>tr>[aria-sort=none],.table.b-table>thead>tr>[aria-sort=none]{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='101' height='101' preserveAspectRatio='none'%3E%3Cpath opacity='.3' d='M51 1l25 23 24 22H1l25-22zm0 100l25-23 24-22H1l25 22z'/%3E%3C/svg%3E\")}.table.b-table>tfoot>tr>[aria-sort=ascending],.table.b-table>thead>tr>[aria-sort=ascending]{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='101' height='101' preserveAspectRatio='none'%3E%3Cpath d='M51 1l25 23 24 22H1l25-22z'/%3E%3Cpath opacity='.3' d='M51 101l25-23 24-22H1l25 22z'/%3E%3C/svg%3E\")}.table.b-table>tfoot>tr>[aria-sort=descending],.table.b-table>thead>tr>[aria-sort=descending]{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='101' height='101' preserveAspectRatio='none'%3E%3Cpath opacity='.3' d='M51 1l25 23 24 22H1l25-22z'/%3E%3Cpath d='M51 101l25-23 24-22H1l25 22z'/%3E%3C/svg%3E\")}.table.b-table.table-dark>tfoot>tr>[aria-sort=none],.table.b-table.table-dark>thead>tr>[aria-sort=none],.table.b-table>.thead-dark>tr>[aria-sort=none]{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='101' height='101' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' opacity='.3' d='M51 1l25 23 24 22H1l25-22zm0 100l25-23 24-22H1l25 22z'/%3E%3C/svg%3E\")}.table.b-table.table-dark>tfoot>tr>[aria-sort=ascending],.table.b-table.table-dark>thead>tr>[aria-sort=ascending],.table.b-table>.thead-dark>tr>[aria-sort=ascending]{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='101' height='101' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' d='M51 1l25 23 24 22H1l25-22z'/%3E%3Cpath fill='%23fff' opacity='.3' d='M51 101l25-23 24-22H1l25 22z'/%3E%3C/svg%3E\")}.table.b-table.table-dark>tfoot>tr>[aria-sort=descending],.table.b-table.table-dark>thead>tr>[aria-sort=descending],.table.b-table>.thead-dark>tr>[aria-sort=descending]{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='101' height='101' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' opacity='.3' d='M51 1l25 23 24 22H1l25-22z'/%3E%3Cpath fill='%23fff' d='M51 101l25-23 24-22H1l25 22z'/%3E%3C/svg%3E\")}.table.b-table>tfoot>tr>.table-dark[aria-sort=none],.table.b-table>thead>tr>.table-dark[aria-sort=none]{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='101' height='101' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' opacity='.3' d='M51 1l25 23 24 22H1l25-22zm0 100l25-23 24-22H1l25 22z'/%3E%3C/svg%3E\")}.table.b-table>tfoot>tr>.table-dark[aria-sort=ascending],.table.b-table>thead>tr>.table-dark[aria-sort=ascending]{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='101' height='101' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' d='M51 1l25 23 24 22H1l25-22z'/%3E%3Cpath fill='%23fff' opacity='.3' d='M51 101l25-23 24-22H1l25 22z'/%3E%3C/svg%3E\")}.table.b-table>tfoot>tr>.table-dark[aria-sort=descending],.table.b-table>thead>tr>.table-dark[aria-sort=descending]{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='101' height='101' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' opacity='.3' d='M51 1l25 23 24 22H1l25-22z'/%3E%3Cpath fill='%23fff' d='M51 101l25-23 24-22H1l25 22z'/%3E%3C/svg%3E\")}.table.b-table.table-sm>tfoot>tr>[aria-sort]:not(.b-table-sort-icon-left),.table.b-table.table-sm>thead>tr>[aria-sort]:not(.b-table-sort-icon-left){background-position:right .15rem center;padding-right:calc(.3rem + .65em)}.table.b-table.table-sm>tfoot>tr>[aria-sort].b-table-sort-icon-left,.table.b-table.table-sm>thead>tr>[aria-sort].b-table-sort-icon-left{background-position:left .15rem center;padding-left:calc(.3rem + .65em)}.table.b-table.b-table-selectable:not(.b-table-selectable-no-click)>tbody>tr{cursor:pointer}.table.b-table.b-table-selectable:not(.b-table-selectable-no-click).b-table-selecting.b-table-select-range>tbody>tr{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}@media (max-width:575.98px){.table.b-table.b-table-stacked-sm{display:block;width:100%}.table.b-table.b-table-stacked-sm>caption,.table.b-table.b-table-stacked-sm>tbody,.table.b-table.b-table-stacked-sm>tbody>tr,.table.b-table.b-table-stacked-sm>tbody>tr>td,.table.b-table.b-table-stacked-sm>tbody>tr>th{display:block}.table.b-table.b-table-stacked-sm>tfoot,.table.b-table.b-table-stacked-sm>tfoot>tr.b-table-bottom-row,.table.b-table.b-table-stacked-sm>tfoot>tr.b-table-top-row,.table.b-table.b-table-stacked-sm>thead,.table.b-table.b-table-stacked-sm>thead>tr.b-table-bottom-row,.table.b-table.b-table-stacked-sm>thead>tr.b-table-top-row{display:none}.table.b-table.b-table-stacked-sm>caption{caption-side:top!important}.table.b-table.b-table-stacked-sm>tbody>tr>[data-label]:before{content:attr(data-label);width:40%;float:left;text-align:right;overflow-wrap:break-word;font-weight:700;font-style:normal;padding:0 .5rem 0 0;margin:0}.table.b-table.b-table-stacked-sm>tbody>tr>[data-label]:after{display:block;clear:both;content:\"\"}.table.b-table.b-table-stacked-sm>tbody>tr>[data-label]>div{display:inline-block;width:60%;padding:0 0 0 .5rem;margin:0}.table.b-table.b-table-stacked-sm>tbody>tr.bottom-row,.table.b-table.b-table-stacked-sm>tbody>tr.top-row{display:none}.table.b-table.b-table-stacked-sm>tbody>tr>:first-child,.table.b-table.b-table-stacked-sm>tbody>tr>[rowspan]+td,.table.b-table.b-table-stacked-sm>tbody>tr>[rowspan]+th{border-top-width:3px}}@media (max-width:767.98px){.table.b-table.b-table-stacked-md{display:block;width:100%}.table.b-table.b-table-stacked-md>caption,.table.b-table.b-table-stacked-md>tbody,.table.b-table.b-table-stacked-md>tbody>tr,.table.b-table.b-table-stacked-md>tbody>tr>td,.table.b-table.b-table-stacked-md>tbody>tr>th{display:block}.table.b-table.b-table-stacked-md>tfoot,.table.b-table.b-table-stacked-md>tfoot>tr.b-table-bottom-row,.table.b-table.b-table-stacked-md>tfoot>tr.b-table-top-row,.table.b-table.b-table-stacked-md>thead,.table.b-table.b-table-stacked-md>thead>tr.b-table-bottom-row,.table.b-table.b-table-stacked-md>thead>tr.b-table-top-row{display:none}.table.b-table.b-table-stacked-md>caption{caption-side:top!important}.table.b-table.b-table-stacked-md>tbody>tr>[data-label]:before{content:attr(data-label);width:40%;float:left;text-align:right;overflow-wrap:break-word;font-weight:700;font-style:normal;padding:0 .5rem 0 0;margin:0}.table.b-table.b-table-stacked-md>tbody>tr>[data-label]:after{display:block;clear:both;content:\"\"}.table.b-table.b-table-stacked-md>tbody>tr>[data-label]>div{display:inline-block;width:60%;padding:0 0 0 .5rem;margin:0}.table.b-table.b-table-stacked-md>tbody>tr.bottom-row,.table.b-table.b-table-stacked-md>tbody>tr.top-row{display:none}.table.b-table.b-table-stacked-md>tbody>tr>:first-child,.table.b-table.b-table-stacked-md>tbody>tr>[rowspan]+td,.table.b-table.b-table-stacked-md>tbody>tr>[rowspan]+th{border-top-width:3px}}@media (max-width:991.98px){.table.b-table.b-table-stacked-lg{display:block;width:100%}.table.b-table.b-table-stacked-lg>caption,.table.b-table.b-table-stacked-lg>tbody,.table.b-table.b-table-stacked-lg>tbody>tr,.table.b-table.b-table-stacked-lg>tbody>tr>td,.table.b-table.b-table-stacked-lg>tbody>tr>th{display:block}.table.b-table.b-table-stacked-lg>tfoot,.table.b-table.b-table-stacked-lg>tfoot>tr.b-table-bottom-row,.table.b-table.b-table-stacked-lg>tfoot>tr.b-table-top-row,.table.b-table.b-table-stacked-lg>thead,.table.b-table.b-table-stacked-lg>thead>tr.b-table-bottom-row,.table.b-table.b-table-stacked-lg>thead>tr.b-table-top-row{display:none}.table.b-table.b-table-stacked-lg>caption{caption-side:top!important}.table.b-table.b-table-stacked-lg>tbody>tr>[data-label]:before{content:attr(data-label);width:40%;float:left;text-align:right;overflow-wrap:break-word;font-weight:700;font-style:normal;padding:0 .5rem 0 0;margin:0}.table.b-table.b-table-stacked-lg>tbody>tr>[data-label]:after{display:block;clear:both;content:\"\"}.table.b-table.b-table-stacked-lg>tbody>tr>[data-label]>div{display:inline-block;width:60%;padding:0 0 0 .5rem;margin:0}.table.b-table.b-table-stacked-lg>tbody>tr.bottom-row,.table.b-table.b-table-stacked-lg>tbody>tr.top-row{display:none}.table.b-table.b-table-stacked-lg>tbody>tr>:first-child,.table.b-table.b-table-stacked-lg>tbody>tr>[rowspan]+td,.table.b-table.b-table-stacked-lg>tbody>tr>[rowspan]+th{border-top-width:3px}}@media (max-width:1199.98px){.table.b-table.b-table-stacked-xl{display:block;width:100%}.table.b-table.b-table-stacked-xl>caption,.table.b-table.b-table-stacked-xl>tbody,.table.b-table.b-table-stacked-xl>tbody>tr,.table.b-table.b-table-stacked-xl>tbody>tr>td,.table.b-table.b-table-stacked-xl>tbody>tr>th{display:block}.table.b-table.b-table-stacked-xl>tfoot,.table.b-table.b-table-stacked-xl>tfoot>tr.b-table-bottom-row,.table.b-table.b-table-stacked-xl>tfoot>tr.b-table-top-row,.table.b-table.b-table-stacked-xl>thead,.table.b-table.b-table-stacked-xl>thead>tr.b-table-bottom-row,.table.b-table.b-table-stacked-xl>thead>tr.b-table-top-row{display:none}.table.b-table.b-table-stacked-xl>caption{caption-side:top!important}.table.b-table.b-table-stacked-xl>tbody>tr>[data-label]:before{content:attr(data-label);width:40%;float:left;text-align:right;overflow-wrap:break-word;font-weight:700;font-style:normal;padding:0 .5rem 0 0;margin:0}.table.b-table.b-table-stacked-xl>tbody>tr>[data-label]:after{display:block;clear:both;content:\"\"}.table.b-table.b-table-stacked-xl>tbody>tr>[data-label]>div{display:inline-block;width:60%;padding:0 0 0 .5rem;margin:0}.table.b-table.b-table-stacked-xl>tbody>tr.bottom-row,.table.b-table.b-table-stacked-xl>tbody>tr.top-row{display:none}.table.b-table.b-table-stacked-xl>tbody>tr>:first-child,.table.b-table.b-table-stacked-xl>tbody>tr>[rowspan]+td,.table.b-table.b-table-stacked-xl>tbody>tr>[rowspan]+th{border-top-width:3px}}.table.b-table.b-table-stacked{display:block;width:100%}.table.b-table.b-table-stacked>caption,.table.b-table.b-table-stacked>tbody,.table.b-table.b-table-stacked>tbody>tr,.table.b-table.b-table-stacked>tbody>tr>td,.table.b-table.b-table-stacked>tbody>tr>th{display:block}.table.b-table.b-table-stacked>tfoot,.table.b-table.b-table-stacked>tfoot>tr.b-table-bottom-row,.table.b-table.b-table-stacked>tfoot>tr.b-table-top-row,.table.b-table.b-table-stacked>thead,.table.b-table.b-table-stacked>thead>tr.b-table-bottom-row,.table.b-table.b-table-stacked>thead>tr.b-table-top-row{display:none}.table.b-table.b-table-stacked>caption{caption-side:top!important}.table.b-table.b-table-stacked>tbody>tr>[data-label]:before{content:attr(data-label);width:40%;float:left;text-align:right;overflow-wrap:break-word;font-weight:700;font-style:normal;padding:0 .5rem 0 0;margin:0}.table.b-table.b-table-stacked>tbody>tr>[data-label]:after{display:block;clear:both;content:\"\"}.table.b-table.b-table-stacked>tbody>tr>[data-label]>div{display:inline-block;width:60%;padding:0 0 0 .5rem;margin:0}.table.b-table.b-table-stacked>tbody>tr.bottom-row,.table.b-table.b-table-stacked>tbody>tr.top-row{display:none}.table.b-table.b-table-stacked>tbody>tr>:first-child,.table.b-table.b-table-stacked>tbody>tr>[rowspan]+td,.table.b-table.b-table-stacked>tbody>tr>[rowspan]+th{border-top-width:3px}.b-time{min-width:150px}.b-time[aria-disabled=true] output,.b-time[aria-readonly=true] output,.b-time output.disabled{background-color:#e9ecef;opacity:1}.b-time[aria-disabled=true] output{pointer-events:none}[dir=rtl] .b-time>.d-flex:not(.flex-column){flex-direction:row-reverse}.b-time .b-time-header{margin-bottom:.5rem}.b-time .b-time-header output{padding:.25rem;font-size:80%}.b-time .b-time-footer{margin-top:.5rem}.b-time .b-time-ampm{margin-left:.5rem}.b-toast{display:block;position:relative;max-width:350px;-webkit-backface-visibility:hidden;backface-visibility:hidden;background-clip:padding-box;z-index:1;border-radius:.25rem}.b-toast .toast{background-color:hsla(0,0%,100%,.85)}.b-toast:not(:last-child){margin-bottom:.75rem}.b-toast.b-toast-solid .toast{background-color:#fff}.b-toast .toast{opacity:1}.b-toast .toast.fade:not(.show){opacity:0}.b-toast .toast .toast-body{display:block}.b-toast-primary .toast{background-color:rgba(230,242,255,.85);border-color:rgba(184,218,255,.85);color:#004085}.b-toast-primary .toast .toast-header{color:#004085;background-color:rgba(204,229,255,.85);border-bottom-color:rgba(184,218,255,.85)}.b-toast-primary.b-toast-solid .toast{background-color:#e6f2ff}.b-toast-secondary .toast{background-color:rgba(239,240,241,.85);border-color:rgba(214,216,219,.85);color:#383d41}.b-toast-secondary .toast .toast-header{color:#383d41;background-color:rgba(226,227,229,.85);border-bottom-color:rgba(214,216,219,.85)}.b-toast-secondary.b-toast-solid .toast{background-color:#eff0f1}.b-toast-success .toast{background-color:rgba(230,245,233,.85);border-color:rgba(195,230,203,.85);color:#155724}.b-toast-success .toast .toast-header{color:#155724;background-color:rgba(212,237,218,.85);border-bottom-color:rgba(195,230,203,.85)}.b-toast-success.b-toast-solid .toast{background-color:#e6f5e9}.b-toast-info .toast{background-color:rgba(229,244,247,.85);border-color:rgba(190,229,235,.85);color:#0c5460}.b-toast-info .toast .toast-header{color:#0c5460;background-color:rgba(209,236,241,.85);border-bottom-color:rgba(190,229,235,.85)}.b-toast-info.b-toast-solid .toast{background-color:#e5f4f7}.b-toast-warning .toast{background-color:rgba(255,249,231,.85);border-color:rgba(255,238,186,.85);color:#856404}.b-toast-warning .toast .toast-header{color:#856404;background-color:rgba(255,243,205,.85);border-bottom-color:rgba(255,238,186,.85)}.b-toast-warning.b-toast-solid .toast{background-color:#fff9e7}.b-toast-danger .toast{background-color:rgba(252,237,238,.85);border-color:rgba(245,198,203,.85);color:#721c24}.b-toast-danger .toast .toast-header{color:#721c24;background-color:rgba(248,215,218,.85);border-bottom-color:rgba(245,198,203,.85)}.b-toast-danger.b-toast-solid .toast{background-color:#fcedee}.b-toast-light .toast{background-color:hsla(0,0%,100%,.85);border-color:rgba(253,253,254,.85);color:#818182}.b-toast-light .toast .toast-header{color:#818182;background-color:hsla(0,0%,99.6%,.85);border-bottom-color:rgba(253,253,254,.85)}.b-toast-light.b-toast-solid .toast{background-color:#fff}.b-toast-dark .toast{background-color:rgba(227,229,229,.85);border-color:rgba(198,200,202,.85);color:#1b1e21}.b-toast-dark .toast .toast-header{color:#1b1e21;background-color:rgba(214,216,217,.85);border-bottom-color:rgba(198,200,202,.85)}.b-toast-dark.b-toast-solid .toast{background-color:#e3e5e5}.b-toaster{z-index:1100}.b-toaster .b-toaster-slot{position:relative;display:block}.b-toaster .b-toaster-slot:empty{display:none!important}.b-toaster.b-toaster-bottom-center,.b-toaster.b-toaster-bottom-full,.b-toaster.b-toaster-bottom-left,.b-toaster.b-toaster-bottom-right,.b-toaster.b-toaster-top-center,.b-toaster.b-toaster-top-full,.b-toaster.b-toaster-top-left,.b-toaster.b-toaster-top-right{position:fixed;left:.5rem;right:.5rem;margin:0;padding:0;height:0;overflow:visible}.b-toaster.b-toaster-bottom-center .b-toaster-slot,.b-toaster.b-toaster-bottom-full .b-toaster-slot,.b-toaster.b-toaster-bottom-left .b-toaster-slot,.b-toaster.b-toaster-bottom-right .b-toaster-slot,.b-toaster.b-toaster-top-center .b-toaster-slot,.b-toaster.b-toaster-top-full .b-toaster-slot,.b-toaster.b-toaster-top-left .b-toaster-slot,.b-toaster.b-toaster-top-right .b-toaster-slot{position:absolute;max-width:350px;width:100%;left:0;right:0;padding:0;margin:0}.b-toaster.b-toaster-bottom-full .b-toaster-slot,.b-toaster.b-toaster-bottom-full .b-toaster-slot .b-toast,.b-toaster.b-toaster-bottom-full .b-toaster-slot .toast,.b-toaster.b-toaster-top-full .b-toaster-slot,.b-toaster.b-toaster-top-full .b-toaster-slot .b-toast,.b-toaster.b-toaster-top-full .b-toaster-slot .toast{width:100%;max-width:100%}.b-toaster.b-toaster-top-center,.b-toaster.b-toaster-top-full,.b-toaster.b-toaster-top-left,.b-toaster.b-toaster-top-right{top:0}.b-toaster.b-toaster-top-center .b-toaster-slot,.b-toaster.b-toaster-top-full .b-toaster-slot,.b-toaster.b-toaster-top-left .b-toaster-slot,.b-toaster.b-toaster-top-right .b-toaster-slot{top:.5rem}.b-toaster.b-toaster-bottom-center,.b-toaster.b-toaster-bottom-full,.b-toaster.b-toaster-bottom-left,.b-toaster.b-toaster-bottom-right{bottom:0}.b-toaster.b-toaster-bottom-center .b-toaster-slot,.b-toaster.b-toaster-bottom-full .b-toaster-slot,.b-toaster.b-toaster-bottom-left .b-toaster-slot,.b-toaster.b-toaster-bottom-right .b-toaster-slot{bottom:.5rem}.b-toaster.b-toaster-bottom-center .b-toaster-slot,.b-toaster.b-toaster-bottom-right .b-toaster-slot,.b-toaster.b-toaster-top-center .b-toaster-slot,.b-toaster.b-toaster-top-right .b-toaster-slot{margin-left:auto}.b-toaster.b-toaster-bottom-center .b-toaster-slot,.b-toaster.b-toaster-bottom-left .b-toaster-slot,.b-toaster.b-toaster-top-center .b-toaster-slot,.b-toaster.b-toaster-top-left .b-toaster-slot{margin-right:auto}.b-toaster.b-toaster-bottom-left .b-toast.b-toaster-enter-active,.b-toaster.b-toaster-bottom-left .b-toast.b-toaster-leave-active,.b-toaster.b-toaster-bottom-left .b-toast.b-toaster-move,.b-toaster.b-toaster-bottom-right .b-toast.b-toaster-enter-active,.b-toaster.b-toaster-bottom-right .b-toast.b-toaster-leave-active,.b-toaster.b-toaster-bottom-right .b-toast.b-toaster-move,.b-toaster.b-toaster-top-left .b-toast.b-toaster-enter-active,.b-toaster.b-toaster-top-left .b-toast.b-toaster-leave-active,.b-toaster.b-toaster-top-left .b-toast.b-toaster-move,.b-toaster.b-toaster-top-right .b-toast.b-toaster-enter-active,.b-toaster.b-toaster-top-right .b-toast.b-toaster-leave-active,.b-toaster.b-toaster-top-right .b-toast.b-toaster-move{transition:transform .175s}.b-toaster.b-toaster-bottom-left .b-toast.b-toaster-enter-active .toast.fade,.b-toaster.b-toaster-bottom-left .b-toast.b-toaster-enter-to .toast.fade,.b-toaster.b-toaster-bottom-right .b-toast.b-toaster-enter-active .toast.fade,.b-toaster.b-toaster-bottom-right .b-toast.b-toaster-enter-to .toast.fade,.b-toaster.b-toaster-top-left .b-toast.b-toaster-enter-active .toast.fade,.b-toaster.b-toaster-top-left .b-toast.b-toaster-enter-to .toast.fade,.b-toaster.b-toaster-top-right .b-toast.b-toaster-enter-active .toast.fade,.b-toaster.b-toaster-top-right .b-toast.b-toaster-enter-to .toast.fade{transition-delay:.175s}.b-toaster.b-toaster-bottom-left .b-toast.b-toaster-leave-active,.b-toaster.b-toaster-bottom-right .b-toast.b-toaster-leave-active,.b-toaster.b-toaster-top-left .b-toast.b-toaster-leave-active,.b-toaster.b-toaster-top-right .b-toast.b-toaster-leave-active{position:absolute;transition-delay:.175s}.b-toaster.b-toaster-bottom-left .b-toast.b-toaster-leave-active .toast.fade,.b-toaster.b-toaster-bottom-right .b-toast.b-toaster-leave-active .toast.fade,.b-toaster.b-toaster-top-left .b-toast.b-toaster-leave-active .toast.fade,.b-toaster.b-toaster-top-right .b-toast.b-toaster-leave-active .toast.fade{transition-delay:0s}.tooltip.b-tooltip{display:block;opacity:.9;outline:0}.tooltip.b-tooltip.fade:not(.show){opacity:0}.tooltip.b-tooltip.show{opacity:.9}.tooltip.b-tooltip.noninteractive{pointer-events:none}.tooltip.b-tooltip .arrow{margin:0 .25rem}.tooltip.b-tooltip.b-tooltip-danger.bs-tooltip-auto[x-placement^=left] .arrow,.tooltip.b-tooltip.b-tooltip-danger.bs-tooltip-auto[x-placement^=right] .arrow,.tooltip.b-tooltip.b-tooltip-dark.bs-tooltip-auto[x-placement^=left] .arrow,.tooltip.b-tooltip.b-tooltip-dark.bs-tooltip-auto[x-placement^=right] .arrow,.tooltip.b-tooltip.b-tooltip-info.bs-tooltip-auto[x-placement^=left] .arrow,.tooltip.b-tooltip.b-tooltip-info.bs-tooltip-auto[x-placement^=right] .arrow,.tooltip.b-tooltip.b-tooltip-light.bs-tooltip-auto[x-placement^=left] .arrow,.tooltip.b-tooltip.b-tooltip-light.bs-tooltip-auto[x-placement^=right] .arrow,.tooltip.b-tooltip.b-tooltip-primary.bs-tooltip-auto[x-placement^=left] .arrow,.tooltip.b-tooltip.b-tooltip-primary.bs-tooltip-auto[x-placement^=right] .arrow,.tooltip.b-tooltip.b-tooltip-secondary.bs-tooltip-auto[x-placement^=left] .arrow,.tooltip.b-tooltip.b-tooltip-secondary.bs-tooltip-auto[x-placement^=right] .arrow,.tooltip.b-tooltip.b-tooltip-success.bs-tooltip-auto[x-placement^=left] .arrow,.tooltip.b-tooltip.b-tooltip-success.bs-tooltip-auto[x-placement^=right] .arrow,.tooltip.b-tooltip.b-tooltip-warning.bs-tooltip-auto[x-placement^=left] .arrow,.tooltip.b-tooltip.b-tooltip-warning.bs-tooltip-auto[x-placement^=right] .arrow,.tooltip.b-tooltip.bs-tooltip-left .arrow,.tooltip.b-tooltip.bs-tooltip-right .arrow{margin:.25rem 0}.tooltip.b-tooltip-primary.bs-tooltip-auto[x-placement^=top] .arrow:before,.tooltip.b-tooltip-primary.bs-tooltip-top .arrow:before{border-top-color:#007bff}.tooltip.b-tooltip-primary.bs-tooltip-auto[x-placement^=right] .arrow:before,.tooltip.b-tooltip-primary.bs-tooltip-right .arrow:before{border-right-color:#007bff}.tooltip.b-tooltip-primary.bs-tooltip-auto[x-placement^=bottom] .arrow:before,.tooltip.b-tooltip-primary.bs-tooltip-bottom .arrow:before{border-bottom-color:#007bff}.tooltip.b-tooltip-primary.bs-tooltip-auto[x-placement^=left] .arrow:before,.tooltip.b-tooltip-primary.bs-tooltip-left .arrow:before{border-left-color:#007bff}.tooltip.b-tooltip-primary .tooltip-inner{color:#fff;background-color:#007bff}.tooltip.b-tooltip-secondary.bs-tooltip-auto[x-placement^=top] .arrow:before,.tooltip.b-tooltip-secondary.bs-tooltip-top .arrow:before{border-top-color:#6c757d}.tooltip.b-tooltip-secondary.bs-tooltip-auto[x-placement^=right] .arrow:before,.tooltip.b-tooltip-secondary.bs-tooltip-right .arrow:before{border-right-color:#6c757d}.tooltip.b-tooltip-secondary.bs-tooltip-auto[x-placement^=bottom] .arrow:before,.tooltip.b-tooltip-secondary.bs-tooltip-bottom .arrow:before{border-bottom-color:#6c757d}.tooltip.b-tooltip-secondary.bs-tooltip-auto[x-placement^=left] .arrow:before,.tooltip.b-tooltip-secondary.bs-tooltip-left .arrow:before{border-left-color:#6c757d}.tooltip.b-tooltip-secondary .tooltip-inner{color:#fff;background-color:#6c757d}.tooltip.b-tooltip-success.bs-tooltip-auto[x-placement^=top] .arrow:before,.tooltip.b-tooltip-success.bs-tooltip-top .arrow:before{border-top-color:#28a745}.tooltip.b-tooltip-success.bs-tooltip-auto[x-placement^=right] .arrow:before,.tooltip.b-tooltip-success.bs-tooltip-right .arrow:before{border-right-color:#28a745}.tooltip.b-tooltip-success.bs-tooltip-auto[x-placement^=bottom] .arrow:before,.tooltip.b-tooltip-success.bs-tooltip-bottom .arrow:before{border-bottom-color:#28a745}.tooltip.b-tooltip-success.bs-tooltip-auto[x-placement^=left] .arrow:before,.tooltip.b-tooltip-success.bs-tooltip-left .arrow:before{border-left-color:#28a745}.tooltip.b-tooltip-success .tooltip-inner{color:#fff;background-color:#28a745}.tooltip.b-tooltip-info.bs-tooltip-auto[x-placement^=top] .arrow:before,.tooltip.b-tooltip-info.bs-tooltip-top .arrow:before{border-top-color:#17a2b8}.tooltip.b-tooltip-info.bs-tooltip-auto[x-placement^=right] .arrow:before,.tooltip.b-tooltip-info.bs-tooltip-right .arrow:before{border-right-color:#17a2b8}.tooltip.b-tooltip-info.bs-tooltip-auto[x-placement^=bottom] .arrow:before,.tooltip.b-tooltip-info.bs-tooltip-bottom .arrow:before{border-bottom-color:#17a2b8}.tooltip.b-tooltip-info.bs-tooltip-auto[x-placement^=left] .arrow:before,.tooltip.b-tooltip-info.bs-tooltip-left .arrow:before{border-left-color:#17a2b8}.tooltip.b-tooltip-info .tooltip-inner{color:#fff;background-color:#17a2b8}.tooltip.b-tooltip-warning.bs-tooltip-auto[x-placement^=top] .arrow:before,.tooltip.b-tooltip-warning.bs-tooltip-top .arrow:before{border-top-color:#ffc107}.tooltip.b-tooltip-warning.bs-tooltip-auto[x-placement^=right] .arrow:before,.tooltip.b-tooltip-warning.bs-tooltip-right .arrow:before{border-right-color:#ffc107}.tooltip.b-tooltip-warning.bs-tooltip-auto[x-placement^=bottom] .arrow:before,.tooltip.b-tooltip-warning.bs-tooltip-bottom .arrow:before{border-bottom-color:#ffc107}.tooltip.b-tooltip-warning.bs-tooltip-auto[x-placement^=left] .arrow:before,.tooltip.b-tooltip-warning.bs-tooltip-left .arrow:before{border-left-color:#ffc107}.tooltip.b-tooltip-warning .tooltip-inner{color:#212529;background-color:#ffc107}.tooltip.b-tooltip-danger.bs-tooltip-auto[x-placement^=top] .arrow:before,.tooltip.b-tooltip-danger.bs-tooltip-top .arrow:before{border-top-color:#dc3545}.tooltip.b-tooltip-danger.bs-tooltip-auto[x-placement^=right] .arrow:before,.tooltip.b-tooltip-danger.bs-tooltip-right .arrow:before{border-right-color:#dc3545}.tooltip.b-tooltip-danger.bs-tooltip-auto[x-placement^=bottom] .arrow:before,.tooltip.b-tooltip-danger.bs-tooltip-bottom .arrow:before{border-bottom-color:#dc3545}.tooltip.b-tooltip-danger.bs-tooltip-auto[x-placement^=left] .arrow:before,.tooltip.b-tooltip-danger.bs-tooltip-left .arrow:before{border-left-color:#dc3545}.tooltip.b-tooltip-danger .tooltip-inner{color:#fff;background-color:#dc3545}.tooltip.b-tooltip-light.bs-tooltip-auto[x-placement^=top] .arrow:before,.tooltip.b-tooltip-light.bs-tooltip-top .arrow:before{border-top-color:#f8f9fa}.tooltip.b-tooltip-light.bs-tooltip-auto[x-placement^=right] .arrow:before,.tooltip.b-tooltip-light.bs-tooltip-right .arrow:before{border-right-color:#f8f9fa}.tooltip.b-tooltip-light.bs-tooltip-auto[x-placement^=bottom] .arrow:before,.tooltip.b-tooltip-light.bs-tooltip-bottom .arrow:before{border-bottom-color:#f8f9fa}.tooltip.b-tooltip-light.bs-tooltip-auto[x-placement^=left] .arrow:before,.tooltip.b-tooltip-light.bs-tooltip-left .arrow:before{border-left-color:#f8f9fa}.tooltip.b-tooltip-light .tooltip-inner{color:#212529;background-color:#f8f9fa}.tooltip.b-tooltip-dark.bs-tooltip-auto[x-placement^=top] .arrow:before,.tooltip.b-tooltip-dark.bs-tooltip-top .arrow:before{border-top-color:#343a40}.tooltip.b-tooltip-dark.bs-tooltip-auto[x-placement^=right] .arrow:before,.tooltip.b-tooltip-dark.bs-tooltip-right .arrow:before{border-right-color:#343a40}.tooltip.b-tooltip-dark.bs-tooltip-auto[x-placement^=bottom] .arrow:before,.tooltip.b-tooltip-dark.bs-tooltip-bottom .arrow:before{border-bottom-color:#343a40}.tooltip.b-tooltip-dark.bs-tooltip-auto[x-placement^=left] .arrow:before,.tooltip.b-tooltip-dark.bs-tooltip-left .arrow:before{border-left-color:#343a40}.tooltip.b-tooltip-dark .tooltip-inner{color:#fff;background-color:#343a40}.b-icon.bi{display:inline-block;overflow:visible;vertical-align:-.15em}.b-icon.b-icon-animation-cylon,.b-icon.b-iconstack .b-icon-animation-cylon>g{transform-origin:center;-webkit-animation:b-icon-animation-cylon .75s ease-in-out infinite alternate;animation:b-icon-animation-cylon .75s ease-in-out infinite alternate}@media (prefers-reduced-motion:reduce){.b-icon.b-icon-animation-cylon,.b-icon.b-iconstack .b-icon-animation-cylon>g{-webkit-animation:none;animation:none}}.b-icon.b-icon-animation-cylon-vertical,.b-icon.b-iconstack .b-icon-animation-cylon-vertical>g{transform-origin:center;-webkit-animation:b-icon-animation-cylon-vertical .75s ease-in-out infinite alternate;animation:b-icon-animation-cylon-vertical .75s ease-in-out infinite alternate}@media (prefers-reduced-motion:reduce){.b-icon.b-icon-animation-cylon-vertical,.b-icon.b-iconstack .b-icon-animation-cylon-vertical>g{-webkit-animation:none;animation:none}}.b-icon.b-icon-animation-fade,.b-icon.b-iconstack .b-icon-animation-fade>g{transform-origin:center;-webkit-animation:b-icon-animation-fade .75s ease-in-out infinite alternate;animation:b-icon-animation-fade .75s ease-in-out infinite alternate}@media (prefers-reduced-motion:reduce){.b-icon.b-icon-animation-fade,.b-icon.b-iconstack .b-icon-animation-fade>g{-webkit-animation:none;animation:none}}.b-icon.b-icon-animation-spin,.b-icon.b-iconstack .b-icon-animation-spin>g{transform-origin:center;-webkit-animation:b-icon-animation-spin 2s linear infinite normal;animation:b-icon-animation-spin 2s linear infinite normal}@media (prefers-reduced-motion:reduce){.b-icon.b-icon-animation-spin,.b-icon.b-iconstack .b-icon-animation-spin>g{-webkit-animation:none;animation:none}}.b-icon.b-icon-animation-spin-reverse,.b-icon.b-iconstack .b-icon-animation-spin-reverse>g{transform-origin:center;animation:b-icon-animation-spin 2s linear infinite reverse}@media (prefers-reduced-motion:reduce){.b-icon.b-icon-animation-spin-reverse,.b-icon.b-iconstack .b-icon-animation-spin-reverse>g{-webkit-animation:none;animation:none}}.b-icon.b-icon-animation-spin-pulse,.b-icon.b-iconstack .b-icon-animation-spin-pulse>g{transform-origin:center;-webkit-animation:b-icon-animation-spin 1s steps(8) infinite normal;animation:b-icon-animation-spin 1s steps(8) infinite normal}@media (prefers-reduced-motion:reduce){.b-icon.b-icon-animation-spin-pulse,.b-icon.b-iconstack .b-icon-animation-spin-pulse>g{-webkit-animation:none;animation:none}}.b-icon.b-icon-animation-spin-reverse-pulse,.b-icon.b-iconstack .b-icon-animation-spin-reverse-pulse>g{transform-origin:center;animation:b-icon-animation-spin 1s steps(8) infinite reverse}@media (prefers-reduced-motion:reduce){.b-icon.b-icon-animation-spin-reverse-pulse,.b-icon.b-iconstack .b-icon-animation-spin-reverse-pulse>g{-webkit-animation:none;animation:none}}.b-icon.b-icon-animation-throb,.b-icon.b-iconstack .b-icon-animation-throb>g{transform-origin:center;-webkit-animation:b-icon-animation-throb .75s ease-in-out infinite alternate;animation:b-icon-animation-throb .75s ease-in-out infinite alternate}@media (prefers-reduced-motion:reduce){.b-icon.b-icon-animation-throb,.b-icon.b-iconstack .b-icon-animation-throb>g{-webkit-animation:none;animation:none}}@-webkit-keyframes b-icon-animation-cylon{0%{transform:translateX(-25%)}to{transform:translateX(25%)}}@keyframes b-icon-animation-cylon{0%{transform:translateX(-25%)}to{transform:translateX(25%)}}@-webkit-keyframes b-icon-animation-cylon-vertical{0%{transform:translateY(25%)}to{transform:translateY(-25%)}}@keyframes b-icon-animation-cylon-vertical{0%{transform:translateY(25%)}to{transform:translateY(-25%)}}@-webkit-keyframes b-icon-animation-fade{0%{opacity:.1}to{opacity:1}}@keyframes b-icon-animation-fade{0%{opacity:.1}to{opacity:1}}@-webkit-keyframes b-icon-animation-spin{0%{transform:rotate(0deg)}to{transform:rotate(359deg)}}@keyframes b-icon-animation-spin{0%{transform:rotate(0deg)}to{transform:rotate(359deg)}}@-webkit-keyframes b-icon-animation-throb{0%{opacity:.5;transform:scale(.5)}to{opacity:1;transform:scale(1)}}@keyframes b-icon-animation-throb{0%{opacity:.5;transform:scale(.5)}to{opacity:1;transform:scale(1)}}.btn .b-icon.bi,.dropdown-item .b-icon.bi,.dropdown-toggle .b-icon.bi,.input-group-text .b-icon.bi,.nav-link .b-icon.bi{font-size:125%;vertical-align:text-bottom}",""]),e.exports=t},"69f3":function(e,t,r){var n,o,i,a=r("7f9a"),s=r("da84"),c=r("861d"),l=r("9112"),u=r("5135"),d=r("c6cd"),f=r("f772"),p=r("d012"),h=s.WeakMap,b=function(e){return i(e)?o(e):n(e,{})},m=function(e){return function(t){var r;if(!c(t)||(r=o(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return r}};if(a){var g=d.state||(d.state=new h),v=g.get,y=g.has,w=g.set;n=function(e,t){return t.facade=e,w.call(g,e,t),t},o=function(e){return v.call(g,e)||{}},i=function(e){return y.call(g,e)}}else{var x=f("state");p[x]=!0,n=function(e,t){return t.facade=e,l(e,x,t),t},o=function(e){return u(e,x)?e[x]:{}},i=function(e){return u(e,x)}}e.exports={set:n,get:o,has:i,enforce:b,getterFor:m}},"6d7d":function(e){e.exports=JSON.parse('{"psaccounts":{"accountManager":{"errorInstallEnable":"Ocorreu um erro, por favor tente novamente."},"alertAccountNotInstalled":{"title":"Ativar o módulo PrestaShop Account","message":"O módulo PrestaShop Account é necessário para continuar a configuração deste módulo.","installButton":"Instalar","loading":"Instalação do módulo PrestaShop Account em curso..."},"alertAccountNotEnabled":{"title":"Ativar o módulo PrestaShop Account","message":"O módulo PrestaShop Account é necessário para continuar a configuração deste módulo.","enableButton":"Ativar","loading":"Ativação do módulo PrestaShop Account em curso..."},"multiShopSelector":{"title":"Modo multi-loja ativado","subtitle":"Para este serviço, é necessário configurar as suas lojas uma a uma, mas pode usar a mesma conta.","selectStore":"Selecione uma primeira loja da lista abaixo","tips":"Uma vez configurada a primeira loja, pode continuar com as outras selecionando-as uma a uma no seletor de lojas do menu horizontal.","configure":"Configurar","group":""},"account":{"title":"Associe a sua loja a uma conta PrestaShop","authorize":"Apenas pode associar a sua loja a uma conta. Escolha bem!","authorized":"A sua loja está associada à conta PrestaShop:","connectButton":"Associada","reonboardButton":"Reassociate","disconnectButton":"Usar outra conta","moduleUpdateInformation":"<strong>Nova actualização:</strong> pode gerir as suas lojas associadas.<br /> Por favor, volte a participar usando o <strong>mesmo endereço de correio electrónico</strong> para tirar partido desta actualização.<br /> Outras actualizações de módulos podem estar disponíveis em Module Manager, separador Updates.","emailNotVerified":"Um e-mail de confirmação foi enviado. Confira a sua caixa de entrada e clique no link para ativar a sua conta.","sendEmail":"Reenviar","needToBeAdmin":"Para continuar, deverá ser um administrador da loja.","pleaseContact":"Por favor entre em contacto","manageAccountTooltip":"Manage account"},"alertEventBusNotInstalled":{"title":"Ativar o módulo Prestashop Event Bus","message":"O módulo Prestashop Event Bus é necessário para continuar a configuração deste módulo.","loading":"Instalação do módulo Prestashop Event Bus em curso..."}}}')},"6eeb":function(e,t,r){var n=r("da84"),o=r("9112"),i=r("5135"),a=r("ce4e"),s=r("8925"),c=r("69f3"),l=c.get,u=c.enforce,d=String(String).split("String");(e.exports=function(e,t,r,s){var c,l=!!s&&!!s.unsafe,f=!!s&&!!s.enumerable,p=!!s&&!!s.noTargetGet;"function"==typeof r&&("string"!=typeof t||i(r,"name")||o(r,"name",t),c=u(r),c.source||(c.source=d.join("string"==typeof t?t:""))),e!==n?(l?!p&&e[t]&&(f=!0):delete e[t],f?e[t]=r:o(e,t,r)):f?e[t]=r:a(t,r)})(Function.prototype,"toString",(function(){return"function"==typeof this&&l(this).source||s(this)}))},"724e":function(e,t,r){!function(t,r){e.exports=r()}(window,(function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=11)}([function(e,t,r){"use strict";const n=r(12);e.exports=function(e,...t){if(!e){if(1===t.length&&t[0]instanceof Error)throw t[0];throw new n(t)}}},function(e,t,r){"use strict";const n=r(0),o=r(12),i=r(29);let a,s;const c={isoDate:/^(?:[-+]\d{2})?(?:\d{4}(?!\d{2}\b))(?:(-?)(?:(?:0[1-9]|1[0-2])(?:\1(?:[12]\d|0[1-9]|3[01]))?|W(?:[0-4]\d|5[0-2])(?:-?[1-7])?|(?:00[1-9]|0[1-9]\d|[12]\d{2}|3(?:[0-5]\d|6[1-6])))(?![T]$|[T][\d]+Z$)(?:[T\s](?:(?:(?:[01]\d|2[0-3])(?:(:?)[0-5]\d)?|24\:?00)(?:[.,]\d+(?!:))?)(?:\2[0-5]\d(?:[.,]\d+)?)?(?:[Z]|(?:[+-])(?:[01]\d|2[0-3])(?::?[0-5]\d)?)?)?)?$/};t.version=i.version,t.defaults={abortEarly:!0,allowUnknown:!1,cache:!0,context:null,convert:!0,dateFormat:"iso",errors:{escapeHtml:!1,label:"path",language:null,render:!0,stack:!1,wrap:{label:'"',array:"[]"}},externals:!0,messages:{},nonEnumerables:!1,noDefaults:!1,presence:"optional",skipFunctions:!1,stripUnknown:!1,warnings:!1},t.symbols={any:Symbol.for("@hapi/joi/schema"),arraySingle:Symbol("arraySingle"),deepDefault:Symbol("deepDefault"),literal:Symbol("literal"),override:Symbol("override"),prefs:Symbol("prefs"),ref:Symbol("ref"),values:Symbol("values"),template:Symbol("template")},t.assertOptions=function(e,t,r="Options"){n(e&&"object"==typeof e&&!Array.isArray(e),"Options must be of type object");const o=Object.keys(e).filter(e=>!t.includes(e));n(0===o.length,"".concat(r," contain unknown keys: ").concat(o))},t.checkPreferences=function(e){s=s||r(16);const t=s.preferences.validate(e);if(t.error)throw new o([t.error.details[0].message])},t.compare=function(e,t,r){switch(r){case"=":return e===t;case">":return e>t;case"<":return e<t;case">=":return e>=t;case"<=":return e<=t}},t.default=function(e,t){return void 0===e?t:e},t.isIsoDate=function(e){return c.isoDate.test(e)},t.isNumber=function(e){return"number"==typeof e&&!isNaN(e)},t.isResolvable=function(e){return!!e&&(e[t.symbols.ref]||e[t.symbols.template])},t.isSchema=function(e,r={}){const o=e&&e[t.symbols.any];return!!o&&(n(r.legacy||o.version===t.version,"Cannot mix different versions of joi schemas"),!0)},t.isValues=function(e){return e[t.symbols.values]},t.limit=function(e){return Number.isSafeInteger(e)&&e>=0},t.preferences=function(e,n){a=a||r(9),e=e||{},n=n||{};const o=Object.assign({},e,n);return n.errors&&e.errors&&(o.errors=Object.assign({},e.errors,n.errors),o.errors.wrap=Object.assign({},e.errors.wrap,n.errors.wrap)),n.messages&&(o.messages=a.compile(n.messages,e.messages)),delete o[t.symbols.prefs],o},t.tryWithPath=function(e,t,r={}){try{return e()}catch(e){throw void 0!==e.path?e.path=t+"."+e.path:e.path=t,r.append&&(e.message="".concat(e.message," (").concat(e.path,")")),e}},t.validateArg=function(e,r,{assert:n,message:o}){if(t.isSchema(n)){const t=n.validate(e);if(!t.error)return;return t.error.message}if(!n(e))return r?"".concat(r," ").concat(o):o},t.verifyFlat=function(e,t){for(const r of e)n(!Array.isArray(r),"Method no longer accepts array arguments:",t)}},function(e,t,r){"use strict";const n=r(6),o=r(13),i=r(14),a={needsProtoHack:new Set([o.set,o.map,o.weakSet,o.weakMap])};e.exports=a.clone=function(e,t={},r=null){if("object"!=typeof e||null===e)return e;let n=a.clone,s=r;if(t.shallow){if(!0!==t.shallow)return a.cloneWithShallow(e,t);n=e=>e}else if(s){const t=s.get(e);if(t)return t}else s=new Map;const c=o.getInternalProto(e);if(c===o.buffer)return!1;if(c===o.date)return new Date(e.getTime());if(c===o.regex)return new RegExp(e);const l=a.base(e,c,t);if(l===e)return e;if(s&&s.set(e,l),c===o.set)for(const o of e)l.add(n(o,t,s));else if(c===o.map)for(const[o,i]of e)l.set(o,n(i,t,s));const u=i.keys(e,t);for(const i of u){if("__proto__"===i)continue;if(c===o.array&&"length"===i){l.length=e.length;continue}const r=Object.getOwnPropertyDescriptor(e,i);r?r.get||r.set?Object.defineProperty(l,i,r):r.enumerable?l[i]=n(e[i],t,s):Object.defineProperty(l,i,{enumerable:!1,writable:!0,configurable:!0,value:n(e[i],t,s)}):Object.defineProperty(l,i,{enumerable:!0,writable:!0,configurable:!0,value:n(e[i],t,s)})}return l},a.cloneWithShallow=function(e,t){const r=t.shallow;(t=Object.assign({},t)).shallow=!1;const o=new Map;for(const i of r){const t=n(e,i);"object"!=typeof t&&"function"!=typeof t||o.set(t,t)}return a.clone(e,t,o)},a.base=function(e,t,r){if(!1===r.prototype)return a.needsProtoHack.has(t)?new t.constructor:t===o.array?[]:{};const n=Object.getPrototypeOf(e);if(n&&n.isImmutable)return e;if(t===o.array){const e=[];return n!==t&&Object.setPrototypeOf(e,n),e}if(a.needsProtoHack.has(t)){const e=new n.constructor;return n!==t&&Object.setPrototypeOf(e,n),e}return Object.create(n)}},function(e,t,r){"use strict";const n=r(0),o=r(34),i=r(1),a=r(9);e.exports=o.extend({type:"any",flags:{only:{default:!1}},terms:{alterations:{init:null},examples:{init:null},externals:{init:null},metas:{init:[]},notes:{init:[]},shared:{init:null},tags:{init:[]},whens:{init:null}},rules:{custom:{method(e,t){return n("function"==typeof e,"Method must be a function"),n(void 0===t||t&&"string"==typeof t,"Description must be a non-empty string"),this.$_addRule({name:"custom",args:{method:e,description:t}})},validate(e,t,{method:r}){try{return r(e,t)}catch(e){return t.error("any.custom",{error:e})}},args:["method","description"],multi:!0},messages:{method(e){return this.prefs({messages:e})}},shared:{method(e){n(i.isSchema(e)&&e._flags.id,"Schema must be a schema with an id");const t=this.clone();return t.$_terms.shared=t.$_terms.shared||[],t.$_terms.shared.push(e),t.$_mutateRegister(e),t}},warning:{method(e,t){return n(e&&"string"==typeof e,"Invalid warning code"),this.$_addRule({name:"warning",args:{code:e,local:t},warn:!0})},validate:(e,t,{code:r,local:n})=>t.error(r,n),args:["code","local"],multi:!0}},modifiers:{keep(e,t=!0){e.keep=t},message(e,t){e.message=a.compile(t)},warn(e,t=!0){e.warn=t}},manifest:{build(e,t){for(const r in t){const n=t[r];if(["examples","externals","metas","notes","tags"].includes(r))for(const t of n)e=e[r.slice(0,-1)](t);else if("alterations"!==r)if("whens"!==r){if("shared"===r)for(const t of n)e=e.shared(t)}else for(const t of n){const{ref:r,is:n,not:o,then:i,otherwise:a,concat:s}=t;e=s?e.concat(s):r?e.when(r,{is:n,not:o,then:i,otherwise:a,switch:t.switch,break:t.break}):e.when(n,{then:i,otherwise:a,break:t.break})}else{const t={};for(const{target:e,adjuster:r}of n)t[e]=r;e=e.alter(t)}}return e}},messages:{"any.custom":"{{#label}} failed custom validation because {{#error.message}}","any.default":"{{#label}} threw an error when running default method","any.failover":"{{#label}} threw an error when running failover method","any.invalid":"{{#label}} contains an invalid value","any.only":'{{#label}} must be {if(#valids.length == 1, "", "one of ")}{{#valids}}',"any.ref":'{{#label}} {{#arg}} references "{{#ref}}" which {{#reason}}',"any.required":"{{#label}} is required","any.unknown":"{{#label}} is not allowed"}})},function(e,t,r){"use strict";const n=r(32),o=r(1),i=r(7);t.Report=class{constructor(e,r,n,o,i,a,s){if(this.code=e,this.flags=o,this.messages=i,this.path=a.path,this.prefs=s,this.state=a,this.value=r,this.message=null,this.template=null,this.local=n||{},this.local.label=t.label(this.flags,this.state,this.prefs,this.messages),void 0===this.value||this.local.hasOwnProperty("value")||(this.local.value=this.value),this.path.length){const e=this.path[this.path.length-1];"object"!=typeof e&&(this.local.key=e)}}_setTemplate(e){if(this.template=e,!this.flags.label&&0===this.path.length){const e=this._template(this.template,"root");e&&(this.local.label=e)}}toString(){if(this.message)return this.message;const e=this.code;if(!this.prefs.errors.render)return this.code;const t=this._template(this.template)||this._template(this.prefs.messages)||this._template(this.messages);return void 0===t?'Error code "'.concat(e,'" is not defined, your custom type is missing the correct messages definition'):(this.message=t.render(this.value,this.state,this.prefs,this.local,{errors:this.prefs.errors,messages:[this.prefs.messages,this.messages]}),this.prefs.errors.label||(this.message=this.message.replace(/^"" /,"").trim()),this.message)}_template(e,r){return t.template(this.value,e,r||this.code,this.state,this.prefs)}},t.path=function(e){let t="";for(const r of e)"object"!=typeof r&&("string"==typeof r?(t&&(t+="."),t+=r):t+="[".concat(r,"]"));return t},t.template=function(e,t,r,n,a){if(!t)return;if(i.isTemplate(t))return"root"!==r?t:null;let s=a.errors.language;return o.isResolvable(s)&&(s=s.resolve(e,n,a)),s&&t[s]&&void 0!==t[s][r]?t[s][r]:t[r]},t.label=function(e,r,n,o){if(e.label)return e.label;if(!n.errors.label)return"";let i=r.path;"key"===n.errors.label&&r.path.length>1&&(i=r.path.slice(-1));const a=t.path(i);return a||t.template(null,n.messages,"root",r,n)||o&&t.template(null,o,"root",r,n)||"value"},t.process=function(e,r,n){if(!e)return null;const{override:o,message:i,details:a}=t.details(e);if(o)return o;if(n.errors.stack)return new t.ValidationError(i,a,r);const s=Error.stackTraceLimit;Error.stackTraceLimit=0;const c=new t.ValidationError(i,a,r);return Error.stackTraceLimit=s,c},t.details=function(e,t={}){let r=[];const n=[];for(const o of e){if(o instanceof Error){if(!1!==t.override)return{override:o};const e=o.toString();r.push(e),n.push({message:e,type:"override",context:{error:o}});continue}const e=o.toString();r.push(e),n.push({message:e,path:o.path.filter(e=>"object"!=typeof e),type:o.code,context:o.local})}return r.length>1&&(r=[...new Set(r)]),{message:r.join(". "),details:n}},t.ValidationError=class extends Error{constructor(e,t,r){super(e),this._original=r,this.details=t}static isError(e){return e instanceof t.ValidationError}},t.ValidationError.prototype.isJoi=!0,t.ValidationError.prototype.name="ValidationError",t.ValidationError.prototype.annotate=n.error},function(e,t,r){"use strict";const n=r(0),o=r(2),i=r(6),a=r(1);let s;const c={symbol:Symbol("ref"),defaults:{adjust:null,in:!1,iterables:null,map:null,separator:".",type:"value"}};t.create=function(e,t={}){n("string"==typeof e,"Invalid reference key:",e),a.assertOptions(t,["adjust","ancestor","in","iterables","map","prefix","separator"]),n(!t.prefix||"object"==typeof t.prefix,"options.prefix must be of type object");const r=Object.assign({},c.defaults,t);delete r.prefix;const o=r.separator,i=c.context(e,o,t.prefix);if(r.type=i.type,e=i.key,"value"===r.type)if(i.root&&(n(!o||e[0]!==o,"Cannot specify relative path with root prefix"),r.ancestor="root",e||(e=null)),o&&o===e)e=null,r.ancestor=0;else if(void 0!==r.ancestor)n(!o||!e||e[0]!==o,"Cannot combine prefix with ancestor option");else{const[t,n]=c.ancestor(e,o);n&&""===(e=e.slice(n))&&(e=null),r.ancestor=t}return r.path=o?null===e?[]:e.split(o):[e],new c.Ref(r)},t.in=function(e,r={}){return t.create(e,Object.assign({},r,{in:!0}))},t.isRef=function(e){return!!e&&!!e[a.symbols.ref]},c.Ref=class{constructor(e){n("object"==typeof e,"Invalid reference construction"),a.assertOptions(e,["adjust","ancestor","in","iterables","map","path","separator","type","depth","key","root","display"]),n([!1,void 0].includes(e.separator)||"string"==typeof e.separator&&1===e.separator.length,"Invalid separator"),n(!e.adjust||"function"==typeof e.adjust,"options.adjust must be a function"),n(!e.map||Array.isArray(e.map),"options.map must be an array"),n(!e.map||!e.adjust,"Cannot set both map and adjust options"),Object.assign(this,c.defaults,e),n("value"===this.type||void 0===this.ancestor,"Non-value references cannot reference ancestors"),Array.isArray(this.map)&&(this.map=new Map(this.map)),this.depth=this.path.length,this.key=this.path.length?this.path.join(this.separator):null,this.root=this.path[0],this.updateDisplay()}resolve(e,t,r,o,i={}){return n(!this.in||i.in,"Invalid in() reference usage"),"global"===this.type?this._resolve(r.context,t,i):"local"===this.type?this._resolve(o,t,i):this.ancestor?"root"===this.ancestor?this._resolve(t.ancestors[t.ancestors.length-1],t,i):(n(this.ancestor<=t.ancestors.length,"Invalid reference exceeds the schema root:",this.display),this._resolve(t.ancestors[this.ancestor-1],t,i)):this._resolve(e,t,i)}_resolve(e,t,r){let n;if("value"===this.type&&t.mainstay.shadow&&!1!==r.shadow&&(n=t.mainstay.shadow.get(this.absolute(t))),void 0===n&&(n=i(e,this.path,{iterables:this.iterables,functions:!0})),this.adjust&&(n=this.adjust(n)),this.map){const e=this.map.get(n);void 0!==e&&(n=e)}return t.mainstay&&t.mainstay.tracer.resolve(t,this,n),n}toString(){return this.display}absolute(e){return[...e.path.slice(0,-this.ancestor),...this.path]}clone(){return new c.Ref(this)}describe(){const e={path:this.path};"value"!==this.type&&(e.type=this.type),"."!==this.separator&&(e.separator=this.separator),"value"===this.type&&1!==this.ancestor&&(e.ancestor=this.ancestor),this.map&&(e.map=[...this.map]);for(const t of["adjust","iterables"])null!==this[t]&&(e[t]=this[t]);return!1!==this.in&&(e.in=!0),{ref:e}}updateDisplay(){const e=null!==this.key?this.key:"";if("value"!==this.type)return void(this.display="ref:".concat(this.type,":").concat(e));if(!this.separator)return void(this.display="ref:".concat(e));if(!this.ancestor)return void(this.display="ref:".concat(this.separator).concat(e));if("root"===this.ancestor)return void(this.display="ref:root:".concat(e));if(1===this.ancestor)return void(this.display="ref:".concat(e||".."));const t=new Array(this.ancestor+1).fill(this.separator).join("");this.display="ref:".concat(t).concat(e||"")}},c.Ref.prototype[a.symbols.ref]=!0,t.build=function(e){return"value"===(e=Object.assign({},c.defaults,e)).type&&void 0===e.ancestor&&(e.ancestor=1),new c.Ref(e)},c.context=function(e,t,r={}){if(e=e.trim(),r){const n=void 0===r.global?"$":r.global;if(n!==t&&e.startsWith(n))return{key:e.slice(n.length),type:"global"};const o=void 0===r.local?"#":r.local;if(o!==t&&e.startsWith(o))return{key:e.slice(o.length),type:"local"};const i=void 0===r.root?"/":r.root;if(i!==t&&e.startsWith(i))return{key:e.slice(i.length),type:"value",root:!0}}return{key:e,type:"value"}},c.ancestor=function(e,t){if(!t)return[1,0];if(e[0]!==t)return[1,0];if(e[1]!==t)return[0,1];let r=2;for(;e[r]===t;)++r;return[r-1,r]},t.toSibling=0,t.toParent=1,t.Manager=class{constructor(){this.refs=[]}register(e,n){if(e)if(n=void 0===n?t.toParent:n,Array.isArray(e))for(const t of e)this.register(t,n);else if(a.isSchema(e))for(const t of e._refs.refs)t.ancestor-n>=0&&this.refs.push({ancestor:t.ancestor-n,root:t.root});else t.isRef(e)&&"value"===e.type&&e.ancestor-n>=0&&this.refs.push({ancestor:e.ancestor-n,root:e.root}),s=s||r(7),s.isTemplate(e)&&this.register(e.refs(),n)}get length(){return this.refs.length}clone(){const e=new t.Manager;return e.refs=o(this.refs),e}reset(){this.refs=[]}roots(){return this.refs.filter(e=>!e.ancestor).map(e=>e.root)}}},function(e,t,r){"use strict";const n=r(0),o={};e.exports=function(e,t,r){if(!1===t||null==t)return e;"string"==typeof(r=r||{})&&(r={separator:r});const i=Array.isArray(t);n(!i||!r.separator,"Separator option no valid for array-based chain");const a=i?t:t.split(r.separator||".");let s=e;for(let c=0;c<a.length;++c){let e=a[c];const i=r.iterables&&o.iterables(s);if(Array.isArray(s)||"set"===i){const t=Number(e);Number.isInteger(t)&&(e=t<0?s.length+t:t)}if(!s||"function"==typeof s&&!1===r.functions||!i&&void 0===s[e]){n(!r.strict||c+1===a.length,"Missing segment",e,"in reach path ",t),n("object"==typeof s||!0===r.functions||"function"!=typeof s,"Invalid segment",e,"in reach path ",t),s=r.default;break}s=i?"set"===i?[...s][e]:s.get(e):s[e]}return s},o.iterables=function(e){return e instanceof Set?"set":e instanceof Map?"map":void 0}},function(e,t,r){"use strict";const n=r(0),o=r(2),i=r(30),a=r(31),s=r(1),c=r(4),l=r(5),u={symbol:Symbol("template"),opens:new Array(1e3).join("\0"),closes:new Array(1e3).join(""),dateFormat:{date:Date.prototype.toDateString,iso:Date.prototype.toISOString,string:Date.prototype.toString,time:Date.prototype.toTimeString,utc:Date.prototype.toUTCString}};e.exports=u.Template=class{constructor(e,t){n("string"==typeof e,"Template source must be a string"),n(!e.includes("\0")&&!e.includes(""),"Template source cannot contain reserved control characters"),this.source=e,this.rendered=e,this._template=null,this._settings=o(t),this._parse()}_parse(){if(!this.source.includes("{"))return;const e=u.encode(this.source),t=u.split(e);let r=!1;const n=[],o=t.shift();o&&n.push(o);for(const i of t){const e="{"!==i[0],t=e?"}":"}}",o=i.indexOf(t);if(-1===o||"{"===i[1]){n.push("{".concat(u.decode(i)));continue}const a=i.slice(e?0:1,o),s=this._ref(u.decode(a),e);n.push(s),"string"!=typeof s&&(r=!0);const c=i.slice(o+t.length);c&&n.push(u.decode(c))}r?this._template=n:this.rendered=n.join("")}static date(e,t){return u.dateFormat[t.dateFormat].call(e)}describe(e={}){if(!this._settings&&e.compact)return this.source;const t={template:this.source};return this._settings&&(t.options=this._settings),t}static build(e){return new u.Template(e.template,e.options)}isDynamic(){return!!this._template}static isTemplate(e){return!!e&&!!e[s.symbols.template]}refs(){if(!this._template)return;const e=[];for(const t of this._template)"string"!=typeof t&&e.push(...t.refs);return e}resolve(e,t,r,n){return this._template&&1===this._template.length?this._part(this._template[0],e,t,r,n,{}):this.render(e,t,r,n)}_part(e,...t){return e.ref?e.ref.resolve(...t):e.formula.evaluate(t)}render(e,t,r,n,o={}){if(!this.isDynamic())return this.rendered;const a=[];for(const s of this._template)if("string"==typeof s)a.push(s);else{const c=this._part(s,e,t,r,n,o),l=u.stringify(c,r,o.errors);if(void 0!==l){const e=s.raw||!1===(o.errors&&o.errors.escapeHtml)?l:i(l),t=s.ref&&"local"===s.ref.type&&"label"===s.ref.key&&r.errors.wrap.label;a.push(u.wrap(e,t))}}return a.join("")}_ref(e,t){const r=[],n=e=>{const t=l.create(e,this._settings);return r.push(t),e=>t.resolve(...e)};try{var o=new a.Parser(e,{reference:n,functions:u.functions,constants:u.constants})}catch(t){throw t.message='Invalid template variable "'.concat(e,'" fails due to: ').concat(t.message),t}return o.single?"reference"===o.single.type?{ref:r[0],raw:t,refs:r}:u.stringify(o.single.value):{formula:o,raw:t,refs:r}}toString(){return this.source}},u.Template.prototype[s.symbols.template]=!0,u.Template.prototype.isImmutable=!0,u.encode=function(e){return e.replace(/\\(\{+)/g,(e,t)=>u.opens.slice(0,t.length)).replace(/\\(\}+)/g,(e,t)=>u.closes.slice(0,t.length))},u.decode=function(e){return e.replace(/\u0000/g,"{").replace(/\u0001/g,"}")},u.split=function(e){const t=[];let r="";for(let n=0;n<e.length;++n){const o=e[n];if("{"===o){let o="";for(;n+1<e.length&&"{"===e[n+1];)o+="{",++n;t.push(r),r=o}else r+=o}return t.push(r),t},u.wrap=function(e,t){return t?1===t.length?"".concat(t).concat(e).concat(t):"".concat(t[0]).concat(e).concat(t[1]):e},u.stringify=function(e,t,r){const n=typeof e;if(null===e)return"null";if("string"===n)return e;if("number"===n||"function"===n||"symbol"===n)return e.toString();if("object"!==n)return JSON.stringify(e);if(e instanceof Date)return u.Template.date(e,t);if(e instanceof Map){const t=[];for(const[r,n]of e.entries())t.push("".concat(r.toString()," -> ").concat(n.toString()));e=t}if(!Array.isArray(e))return e.toString();let o="";for(const i of e)o=o+(o.length?", ":"")+u.stringify(i,t,r);return u.wrap(o,t.errors.wrap.array)},u.constants={true:!0,false:!1,null:null,second:1e3,minute:6e4,hour:36e5,day:864e5},u.functions={if:(e,t,r)=>e?t:r,msg(e){const[t,r,n,o,i]=this,a=i.messages;if(!a)return"";const s=c.template(t,a[0],e,r,n)||c.template(t,a[1],e,r,n);return s?s.render(t,r,n,o,i):""},number:e=>"number"==typeof e?e:"string"==typeof e?parseFloat(e):"boolean"==typeof e?e?1:0:e instanceof Date?e.getTime():null}},function(e,t,r){"use strict";const n=r(0),o=r(1),i=r(5),a={};t.schema=function(e,t,r={}){o.assertOptions(r,["appendPath","override"]);try{return a.schema(e,t,r)}catch(e){throw r.appendPath&&void 0!==e.path&&(e.message="".concat(e.message," (").concat(e.path,")")),e}},a.schema=function(e,t,r){n(void 0!==t,"Invalid undefined schema"),Array.isArray(t)&&(n(t.length,"Invalid empty array schema"),1===t.length&&(t=t[0]));const i=(t,...n)=>!1!==r.override?t.valid(e.override,...n):t.valid(...n);if(a.simple(t))return i(e,t);if("function"==typeof t)return e.custom(t);if(n("object"==typeof t,"Invalid schema content:",typeof t),o.isResolvable(t))return i(e,t);if(o.isSchema(t))return t;if(Array.isArray(t)){for(const r of t)if(!a.simple(r))return e.alternatives().try(...t);return i(e,...t)}return t instanceof RegExp?e.string().regex(t):t instanceof Date?i(e.date(),t):(n(Object.getPrototypeOf(t)===Object.getPrototypeOf({}),"Schema can only contain plain objects"),e.object().keys(t))},t.ref=function(e,t){return i.isRef(e)?e:i.create(e,t)},t.compile=function(e,r,i={}){o.assertOptions(i,["legacy"]);const s=r&&r[o.symbols.any];if(s)return n(i.legacy||s.version===o.version,"Cannot mix different versions of joi schemas:",s.version,o.version),r;if("object"!=typeof r||!i.legacy)return t.schema(e,r,{appendPath:!0});const c=a.walk(r);return c?c.compile(c.root,r):t.schema(e,r,{appendPath:!0})},a.walk=function(e){if("object"!=typeof e)return null;if(Array.isArray(e)){for(const t of e){const e=a.walk(t);if(e)return e}return null}const t=e[o.symbols.any];if(t)return{root:e[t.root],compile:t.compile};n(Object.getPrototypeOf(e)===Object.getPrototypeOf({}),"Schema can only contain plain objects");for(const r in e){const t=a.walk(e[r]);if(t)return t}return null},a.simple=function(e){return null===e||["boolean","string","number"].includes(typeof e)},t.when=function(e,r,s){if(void 0===s&&(n(r&&"object"==typeof r,"Missing options"),s=r,r=i.create(".")),Array.isArray(s)&&(s={switch:s}),o.assertOptions(s,["is","not","then","otherwise","switch","break"]),o.isSchema(r))return n(void 0===s.is,'"is" can not be used with a schema condition'),n(void 0===s.not,'"not" can not be used with a schema condition'),n(void 0===s.switch,'"switch" can not be used with a schema condition'),a.condition(e,{is:r,then:s.then,otherwise:s.otherwise,break:s.break});if(n(i.isRef(r)||"string"==typeof r,"Invalid condition:",r),n(void 0===s.not||void 0===s.is,'Cannot combine "is" with "not"'),void 0===s.switch){let c=s;void 0!==s.not&&(c={is:s.not,then:s.otherwise,otherwise:s.then,break:s.break});let l=void 0!==c.is?e.$_compile(c.is):e.$_root.invalid(null,!1,0,"").required();return n(void 0!==c.then||void 0!==c.otherwise,'options must have at least one of "then", "otherwise", or "switch"'),n(void 0===c.break||void 0===c.then||void 0===c.otherwise,"Cannot specify then, otherwise, and break all together"),void 0===s.is||i.isRef(s.is)||o.isSchema(s.is)||(l=l.required()),a.condition(e,{ref:t.ref(r),is:l,then:c.then,otherwise:c.otherwise,break:c.break})}n(Array.isArray(s.switch),'"switch" must be an array'),n(void 0===s.is,'Cannot combine "switch" with "is"'),n(void 0===s.not,'Cannot combine "switch" with "not"'),n(void 0===s.then,'Cannot combine "switch" with "then"');const c={ref:t.ref(r),switch:[],break:s.break};for(let t=0;t<s.switch.length;++t){const r=s.switch[t],a=t===s.switch.length-1;o.assertOptions(r,a?["is","then","otherwise"]:["is","then"]),n(void 0!==r.is,'Switch statement missing "is"'),n(void 0!==r.then,'Switch statement missing "then"');const l={is:e.$_compile(r.is),then:e.$_compile(r.then)};if(i.isRef(r.is)||o.isSchema(r.is)||(l.is=l.is.required()),a){n(void 0===s.otherwise||void 0===r.otherwise,'Cannot specify "otherwise" inside and outside a "switch"');const t=void 0!==s.otherwise?s.otherwise:r.otherwise;void 0!==t&&(n(void 0===c.break,"Cannot specify both otherwise and break"),l.otherwise=e.$_compile(t))}c.switch.push(l)}return c},a.condition=function(e,t){for(const r of["then","otherwise"])void 0===t[r]?delete t[r]:t[r]=e.$_compile(t[r]);return t}},function(e,t,r){"use strict";const n=r(0),o=r(2),i=r(7);t.compile=function(e,t){if("string"==typeof e)return n(!t,"Cannot set single message string"),new i(e);if(i.isTemplate(e))return n(!t,"Cannot set single message template"),e;n("object"==typeof e&&!Array.isArray(e),"Invalid message options"),t=t?o(t):{};for(let r in e){const o=e[r];if("root"===r||i.isTemplate(o)){t[r]=o;continue}if("string"==typeof o){t[r]=new i(o);continue}n("object"==typeof o&&!Array.isArray(o),"Invalid message for",r);const a=r;for(r in t[a]=t[a]||{},o){const e=o[r];"root"===r||i.isTemplate(e)?t[a][r]=e:(n("string"==typeof e,"Invalid message for",r,"in",a),t[a][r]=new i(e))}}return t},t.decompile=function(e){const t={};for(let r in e){const n=e[r];if("root"===r){t[r]=n;continue}if(i.isTemplate(n)){t[r]=n.describe({compact:!0});continue}const o=r;for(r in t[o]={},n){const e=n[r];t[o][r]="root"!==r?e.describe({compact:!0}):e}}return t},t.merge=function(e,r){if(!e)return t.compile(r);if(!r)return e;if("string"==typeof r)return new i(r);if(i.isTemplate(r))return r;const a=o(e);for(let t in r){const e=r[t];if("root"===t||i.isTemplate(e)){a[t]=e;continue}if("string"==typeof e){a[t]=new i(e);continue}n("object"==typeof e&&!Array.isArray(e),"Invalid message for",t);const o=t;for(t in a[o]=a[o]||{},e){const r=e[t];"root"===t||i.isTemplate(r)?a[o][t]=r:(n("string"==typeof r,"Invalid message for",t,"in",o),a[o][t]=new i(r))}}return a}},function(e,t,r){"use strict";const n=r(13),o={mismatched:null};e.exports=function(e,t,r){return r=Object.assign({prototype:!0},r),!!o.isDeepEqual(e,t,r,[])},o.isDeepEqual=function(e,t,r,i){if(e===t)return 0!==e||1/e==1/t;const a=typeof e;if(a!==typeof t)return!1;if(null===e||null===t)return!1;if("function"===a){if(!r.deepFunction||e.toString()!==t.toString())return!1}else if("object"!==a)return e!=e&&t!=t;const s=o.getSharedType(e,t,!!r.prototype);switch(s){case n.buffer:return!1;case n.promise:return e===t;case n.regex:return e.toString()===t.toString();case o.mismatched:return!1}for(let n=i.length-1;n>=0;--n)if(i[n].isSame(e,t))return!0;i.push(new o.SeenEntry(e,t));try{return!!o.isDeepEqualObj(s,e,t,r,i)}finally{i.pop()}},o.getSharedType=function(e,t,r){if(r)return Object.getPrototypeOf(e)!==Object.getPrototypeOf(t)?o.mismatched:n.getInternalProto(e);const i=n.getInternalProto(e);return i!==n.getInternalProto(t)?o.mismatched:i},o.valueOf=function(e){const t=e.valueOf;if(void 0===t)return e;try{return t.call(e)}catch(e){return e}},o.hasOwnEnumerableProperty=function(e,t){return Object.prototype.propertyIsEnumerable.call(e,t)},o.isSetSimpleEqual=function(e,t){for(const r of e)if(!t.has(r))return!1;return!0},o.isDeepEqualObj=function(e,t,r,i,a){const{isDeepEqual:s,valueOf:c,hasOwnEnumerableProperty:l}=o,{keys:u,getOwnPropertySymbols:d}=Object;if(e===n.array){if(!i.part){if(t.length!==r.length)return!1;for(let e=0;e<t.length;++e)if(!s(t[e],r[e],i,a))return!1;return!0}for(const e of t)for(const t of r)if(s(e,t,i,a))return!0}else if(e===n.set){if(t.size!==r.size)return!1;if(!o.isSetSimpleEqual(t,r)){const e=new Set(r);for(const r of t){if(e.delete(r))continue;let t=!1;for(const n of e)if(s(r,n,i,a)){e.delete(n),t=!0;break}if(!t)return!1}}}else if(e===n.map){if(t.size!==r.size)return!1;for(const[e,n]of t){if(void 0===n&&!r.has(e))return!1;if(!s(n,r.get(e),i,a))return!1}}else if(e===n.error&&(t.name!==r.name||t.message!==r.message))return!1;const f=c(t),p=c(r);if((t!==f||r!==p)&&!s(f,p,i,a))return!1;const h=u(t);if(!i.part&&h.length!==u(r).length&&!i.skip)return!1;let b=0;for(const n of h)if(i.skip&&i.skip.includes(n))void 0===r[n]&&++b;else{if(!l(r,n))return!1;if(!s(t[n],r[n],i,a))return!1}if(!i.part&&h.length-b!==u(r).length)return!1;if(!1!==i.symbols){const e=d(t),n=new Set(d(r));for(const o of e){if(!i.skip||!i.skip.includes(o))if(l(t,o)){if(!l(r,o))return!1;if(!s(t[o],r[o],i,a))return!1}else if(l(r,o))return!1;n.delete(o)}for(const t of n)if(l(r,t))return!1}return!0},o.SeenEntry=class{constructor(e,t){this.obj=e,this.ref=t}isSame(e,t){return this.obj===e&&this.ref===t}}},function(e,t,r){"use strict";const n=r(0),o=r(2),i=r(15),a=r(1),s=r(8),c=r(4),l=r(17),u=r(18),d=r(5),f=r(7),p=r(19);let h;const b={types:{alternatives:r(33),any:r(3),array:r(39),boolean:r(40),date:r(41),function:r(42),link:r(45),number:r(46),object:r(47),string:r(48),symbol:r(52)},aliases:{alt:"alternatives",bool:"boolean",func:"function"},root:function(){const e={_types:new Set(Object.keys(b.types))};for(const t of e._types)e[t]=function(...e){return n(!e.length||["alternatives","link","object"].includes(t),"The",t,"type does not allow arguments"),b.generate(this,b.types[t],e)};for(const t of["allow","custom","disallow","equal","exist","forbidden","invalid","not","only","optional","options","prefs","preferences","required","strip","valid","when"])e[t]=function(...e){return this.any()[t](...e)};Object.assign(e,b.methods);for(const t in b.aliases){const r=b.aliases[t];e[t]=e[r]}return e.x=e.expression,p.setup&&p.setup(e),e}};b.methods={ValidationError:c.ValidationError,version:a.version,cache:i.provider,assert(e,t,...r){b.assert(e,t,!0,r)},attempt:(e,t,...r)=>b.assert(e,t,!1,r),build(e){return n("function"==typeof u.build,"Manifest functionality disabled"),u.build(this,e)},checkPreferences(e){a.checkPreferences(e)},compile(e,t){return s.compile(this,e,t)},defaults(e){n("function"==typeof e,"modifier must be a function");const t=Object.assign({},this);for(const r of t._types){const o=e(t[r]());n(a.isSchema(o),"modifier must return a valid schema object"),t[r]=function(...e){return b.generate(this,o,e)}}return t},expression:(...e)=>new f(...e),extend(...e){a.verifyFlat(e,"extend"),h=h||r(16),n(e.length,"You need to provide at least one extension"),this.assert(e,h.extensions);const t=Object.assign({},this);t._types=new Set(t._types);for(let r of e){"function"==typeof r&&(r=r(t)),this.assert(r,h.extension);const e=b.expandExtension(r,t);for(const r of e){n(void 0===t[r.type]||t._types.has(r.type),"Cannot override name",r.type);const e=r.base||this.any(),o=l.type(e,r);t._types.add(r.type),t[r.type]=function(...e){return b.generate(this,o,e)}}}return t},isError:c.ValidationError.isError,isExpression:f.isTemplate,isRef:d.isRef,isSchema:a.isSchema,in:(...e)=>d.in(...e),override:a.symbols.override,ref:(...e)=>d.create(...e),types(){const e={};for(const t of this._types)e[t]=this[t]();for(const t in b.aliases)e[t]=this[t]();return e}},b.assert=function(e,t,r,n){const i=n[0]instanceof Error||"string"==typeof n[0]?n[0]:null,s=i?n[1]:n[0],l=t.validate(e,a.preferences({errors:{stack:!0}},s||{}));let u=l.error;if(!u)return l.value;if(i instanceof Error)throw i;const d=r&&"function"==typeof u.annotate?u.annotate():u.message;throw u instanceof c.ValidationError==0&&(u=o(u)),u.message=i?"".concat(i," ").concat(d):d,u},b.generate=function(e,t,r){return n(e,"Must be invoked on a Joi instance."),t.$_root=e,t._definition.args&&r.length?t._definition.args(t,...r):t},b.expandExtension=function(e,t){if("string"==typeof e.type)return[e];const r=[];for(const n of t._types)if(e.type.test(n)){const o=Object.assign({},e);o.type=n,o.base=t[n](),r.push(o)}return r},e.exports=b.root()},function(e,t,r){"use strict";const n=r(28);e.exports=class extends Error{constructor(e){super(e.filter(e=>""!==e).map(e=>"string"==typeof e?e:e instanceof Error?e.message:n(e)).join(" ")||"Unknown error"),"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,t.assert)}}},function(e,t,r){"use strict";const n={};t=e.exports={array:Array.prototype,buffer:!1,date:Date.prototype,error:Error.prototype,generic:Object.prototype,map:Map.prototype,promise:Promise.prototype,regex:RegExp.prototype,set:Set.prototype,weakMap:WeakMap.prototype,weakSet:WeakSet.prototype},n.typeMap=new Map([["[object Error]",t.error],["[object Map]",t.map],["[object Promise]",t.promise],["[object Set]",t.set],["[object WeakMap]",t.weakMap],["[object WeakSet]",t.weakSet]]),t.getInternalProto=function(e){if(Array.isArray(e))return t.array;if(e instanceof Date)return t.date;if(e instanceof RegExp)return t.regex;if(e instanceof Error)return t.error;const r=Object.prototype.toString.call(e);return n.typeMap.get(r)||t.generic}},function(e,t,r){"use strict";t.keys=function(e,t={}){return!1!==t.symbols?Reflect.ownKeys(e):Object.getOwnPropertyNames(e)}},function(e,t,r){"use strict";const n=r(0),o=r(2),i=r(1),a={max:1e3,supported:new Set(["undefined","boolean","number","string"])};t.provider={provision:e=>new a.Cache(e)},a.Cache=class{constructor(e={}){i.assertOptions(e,["max"]),n(void 0===e.max||e.max&&e.max>0&&isFinite(e.max),"Invalid max cache size"),this._max=e.max||a.max,this._map=new Map,this._list=new a.List}get length(){return this._map.size}set(e,t){if(null!==e&&!a.supported.has(typeof e))return;let r=this._map.get(e);if(r)return r.value=t,void this._list.first(r);r=this._list.unshift({key:e,value:t}),this._map.set(e,r),this._compact()}get(e){const t=this._map.get(e);if(t)return this._list.first(t),o(t.value)}_compact(){if(this._map.size>this._max){const e=this._list.pop();this._map.delete(e.key)}}},a.List=class{constructor(){this.tail=null,this.head=null}unshift(e){return e.next=null,e.prev=this.head,this.head&&(this.head.next=e),this.head=e,this.tail||(this.tail=e),e}first(e){e!==this.head&&(this._remove(e),this.unshift(e))}pop(){return this._remove(this.tail)}_remove(e){const{next:t,prev:r}=e;return t.prev=r,r&&(r.next=t),e===this.tail&&(this.tail=t),e.prev=null,e.next=null,e}}},function(e,t,r){"use strict";const n=r(11),o={};o.wrap=n.string().min(1).max(2).allow(!1),t.preferences=n.object({allowUnknown:n.boolean(),abortEarly:n.boolean(),cache:n.boolean(),context:n.object(),convert:n.boolean(),dateFormat:n.valid("date","iso","string","time","utc"),debug:n.boolean(),errors:{escapeHtml:n.boolean(),label:n.valid("path","key",!1),language:[n.string(),n.object().ref()],render:n.boolean(),stack:n.boolean(),wrap:{label:o.wrap,array:o.wrap}},externals:n.boolean(),messages:n.object(),noDefaults:n.boolean(),nonEnumerables:n.boolean(),presence:n.valid("required","optional","forbidden"),skipFunctions:n.boolean(),stripUnknown:n.object({arrays:n.boolean(),objects:n.boolean()}).or("arrays","objects").allow(!0,!1),warnings:n.boolean()}).strict(),o.nameRx=/^[a-zA-Z0-9]\w*$/,o.rule=n.object({alias:n.array().items(n.string().pattern(o.nameRx)).single(),args:n.array().items(n.string(),n.object({name:n.string().pattern(o.nameRx).required(),ref:n.boolean(),assert:n.alternatives([n.function(),n.object().schema()]).conditional("ref",{is:!0,then:n.required()}),normalize:n.function(),message:n.string().when("assert",{is:n.function(),then:n.required()})})),convert:n.boolean(),manifest:n.boolean(),method:n.function().allow(!1),multi:n.boolean(),validate:n.function()}),t.extension=n.object({type:n.alternatives([n.string(),n.object().regex()]).required(),args:n.function(),base:n.object().schema().when("type",{is:n.object().regex(),then:n.forbidden()}),coerce:[n.function().maxArity(3),n.object({method:n.function().maxArity(3).required(),from:n.array().items(n.string()).single()})],flags:n.object().pattern(o.nameRx,n.object({setter:n.string(),default:n.any()})),manifest:{build:n.function().arity(2)},messages:[n.object(),n.string()],modifiers:n.object().pattern(o.nameRx,n.function().minArity(1).maxArity(2)),overrides:n.object().pattern(o.nameRx,n.function()),prepare:n.function().maxArity(3),rebuild:n.function().arity(1),rules:n.object().pattern(o.nameRx,o.rule),terms:n.object().pattern(o.nameRx,n.object({init:n.array().allow(null).required(),manifest:n.object().pattern(/.+/,[n.valid("schema","single"),n.object({mapped:n.object({from:n.string().required(),to:n.string().required()}).required()})])})),validate:n.function().maxArity(3)}).strict(),t.extensions=n.array().items(n.object(),n.function().arity(1)).strict(),o.desc={buffer:n.object({buffer:n.string()}),func:n.object({function:n.function().required(),options:{literal:!0}}),override:n.object({override:!0}),ref:n.object({ref:n.object({type:n.valid("value","global","local"),path:n.array().required(),separator:n.string().length(1).allow(!1),ancestor:n.number().min(0).integer().allow("root"),map:n.array().items(n.array().length(2)).min(1),adjust:n.function(),iterables:n.boolean(),in:n.boolean()}).required()}),regex:n.object({regex:n.string().min(3)}),special:n.object({special:n.valid("deep").required()}),template:n.object({template:n.string().required(),options:n.object()}),value:n.object({value:n.alternatives([n.object(),n.array()]).required()})},o.desc.entity=n.alternatives([n.array().items(n.link("...")),n.boolean(),n.function(),n.number(),n.string(),o.desc.buffer,o.desc.func,o.desc.ref,o.desc.regex,o.desc.special,o.desc.template,o.desc.value,n.link("/")]),o.desc.values=n.array().items(null,n.boolean(),n.function(),n.number().allow(1/0,-1/0),n.string().allow(""),n.symbol(),o.desc.buffer,o.desc.func,o.desc.override,o.desc.ref,o.desc.regex,o.desc.template,o.desc.value),o.desc.messages=n.object().pattern(/.+/,[n.string(),o.desc.template,n.object().pattern(/.+/,[n.string(),o.desc.template])]),t.description=n.object({type:n.string().required(),flags:n.object({cast:n.string(),default:n.any(),description:n.string(),empty:n.link("/"),failover:o.desc.entity,id:n.string(),label:n.string(),only:!0,presence:["optional","required","forbidden"],result:["raw","strip"],strip:n.boolean(),unit:n.string()}).unknown(),preferences:{allowUnknown:n.boolean(),abortEarly:n.boolean(),cache:n.boolean(),convert:n.boolean(),dateFormat:["date","iso","string","time","utc"],errors:{escapeHtml:n.boolean(),label:["path","key"],language:[n.string(),o.desc.ref],wrap:{label:o.wrap,array:o.wrap}},externals:n.boolean(),messages:o.desc.messages,noDefaults:n.boolean(),nonEnumerables:n.boolean(),presence:["required","optional","forbidden"],skipFunctions:n.boolean(),stripUnknown:n.object({arrays:n.boolean(),objects:n.boolean()}).or("arrays","objects").allow(!0,!1),warnings:n.boolean()},allow:o.desc.values,invalid:o.desc.values,rules:n.array().min(1).items({name:n.string().required(),args:n.object().min(1),keep:n.boolean(),message:[n.string(),o.desc.messages],warn:n.boolean()}),keys:n.object().pattern(/.*/,n.link("/")),link:o.desc.ref}).pattern(/^[a-z]\w*$/,n.any())},function(e,t,r){"use strict";const n=r(0),o=r(2),i=r(1),a=r(9),s={};t.type=function(e,t){const r=Object.getPrototypeOf(e),c=o(r),l=e._assign(Object.create(c)),u=Object.assign({},t);delete u.base,c._definition=u;const d=r._definition||{};u.messages=a.merge(d.messages,u.messages),u.properties=Object.assign({},d.properties,u.properties),l.type=u.type,u.flags=Object.assign({},d.flags,u.flags);const f=Object.assign({},d.terms);if(u.terms)for(const o in u.terms){const e=u.terms[o];n(void 0===l.$_terms[o],"Invalid term override for",u.type,o),l.$_terms[o]=e.init,f[o]=e}u.terms=f,u.args||(u.args=d.args),u.prepare=s.prepare(u.prepare,d.prepare),u.coerce&&("function"==typeof u.coerce&&(u.coerce={method:u.coerce}),u.coerce.from&&!Array.isArray(u.coerce.from)&&(u.coerce={method:u.coerce.method,from:[].concat(u.coerce.from)})),u.coerce=s.coerce(u.coerce,d.coerce),u.validate=s.validate(u.validate,d.validate);const p=Object.assign({},d.rules);if(u.rules)for(const o in u.rules){const e=u.rules[o];n("object"==typeof e,"Invalid rule definition for",u.type,o);let t=e.method;if(void 0===t&&(t=function(){return this.$_addRule(o)}),t&&(n(!c[o],"Rule conflict in",u.type,o),c[o]=t),n(!p[o],"Rule conflict in",u.type,o),p[o]=e,e.alias){const t=[].concat(e.alias);for(const r of t)c[r]=e.method}e.args&&(e.argsByName=new Map,e.args=e.args.map(t=>("string"==typeof t&&(t={name:t}),n(!e.argsByName.has(t.name),"Duplicated argument name",t.name),i.isSchema(t.assert)&&(t.assert=t.assert.strict().label(t.name)),e.argsByName.set(t.name,t),t)))}u.rules=p;const h=Object.assign({},d.modifiers);if(u.modifiers)for(const o in u.modifiers){n(!c[o],"Rule conflict in",u.type,o);const e=u.modifiers[o];n("function"==typeof e,"Invalid modifier definition for",u.type,o);const t=function(e){return this.rule({[o]:e})};c[o]=t,h[o]=e}if(u.modifiers=h,u.overrides){c._super=r,l.$_super={};for(const e in u.overrides)n(r[e],"Cannot override missing",e),l.$_super[e]=r[e].bind(l);Object.assign(c,u.overrides)}u.cast=Object.assign({},d.cast,u.cast);const b=Object.assign({},d.manifest,u.manifest);return b.build=s.build(u.manifest&&u.manifest.build,d.manifest&&d.manifest.build),u.manifest=b,u.rebuild=s.rebuild(u.rebuild,d.rebuild),l},s.build=function(e,t){return e&&t?function(r,n){return t(e(r,n),n)}:e||t},s.coerce=function(e,t){return e&&t?{from:e.from&&t.from?[...new Set([...e.from,...t.from])]:null,method(r,n){let o;if((!t.from||t.from.includes(typeof r))&&(o=t.method(r,n),o)){if(o.errors||void 0===o.value)return o;r=o.value}if(!e.from||e.from.includes(typeof r)){const t=e.method(r,n);if(t)return t}return o}}:e||t},s.prepare=function(e,t){return e&&t?function(r,n){const o=e(r,n);if(o){if(o.errors||void 0===o.value)return o;r=o.value}return t(r,n)||o}:e||t},s.rebuild=function(e,t){return e&&t?function(r){t(r),e(r)}:e||t},s.validate=function(e,t){return e&&t?function(r,n){const o=t(r,n);if(o){if(o.errors&&(!Array.isArray(o.errors)||o.errors.length))return o;r=o.value}return e(r,n)||o}:e||t}},function(e,t){},function(e,t){},function(e,t,r){"use strict";const n=r(0),o=r(2),i=r(14),a={};e.exports=a.merge=function(e,t,r){if(n(e&&"object"==typeof e,"Invalid target value: must be an object"),n(null==t||"object"==typeof t,"Invalid source value: must be null, undefined, or an object"),!t)return e;if(r=Object.assign({nullOverride:!0,mergeArrays:!0},r),Array.isArray(t)){n(Array.isArray(e),"Cannot merge array onto an object"),r.mergeArrays||(e.length=0);for(let n=0;n<t.length;++n)e.push(o(t[n],{symbols:r.symbols}));return e}const s=i.keys(t,r);for(let n=0;n<s.length;++n){const i=s[n];if("__proto__"===i||!Object.prototype.propertyIsEnumerable.call(t,i))continue;const c=t[i];if(c&&"object"==typeof c){if(e[i]===c)continue;!e[i]||"object"!=typeof e[i]||Array.isArray(e[i])!==Array.isArray(c)||c instanceof Date||c instanceof RegExp?e[i]=o(c,{symbols:r.symbols}):a.merge(e[i],c,r)}else(null!=c||r.nullOverride)&&(e[i]=c)}return e}},function(e,t,r){"use strict";const n=r(0),o=r(10),i=r(1),a={};e.exports=a.Values=class{constructor(e,t){this._values=new Set(e),this._refs=new Set(t),this._lowercase=a.lowercases(e),this._override=!1}get length(){return this._values.size+this._refs.size}add(e,t){i.isResolvable(e)?this._refs.has(e)||(this._refs.add(e),t&&t.register(e)):this.has(e,null,null,!1)||(this._values.add(e),"string"==typeof e&&this._lowercase.set(e.toLowerCase(),e))}static merge(e,t,r){if(e=e||new a.Values,t){if(t._override)return t.clone();for(const r of[...t._values,...t._refs])e.add(r)}if(r)for(const n of[...r._values,...r._refs])e.remove(n);return e.length?e:null}remove(e){i.isResolvable(e)?this._refs.delete(e):(this._values.delete(e),"string"==typeof e&&this._lowercase.delete(e.toLowerCase()))}has(e,t,r,n){return!!this.get(e,t,r,n)}get(e,t,r,n){if(!this.length)return!1;if(this._values.has(e))return{value:e};if("string"==typeof e&&e&&n){const t=this._lowercase.get(e.toLowerCase());if(t)return{value:t}}if(!this._refs.size&&"object"!=typeof e)return!1;if("object"==typeof e)for(const i of this._values)if(o(i,e))return{value:i};if(t)for(const i of this._refs){const a=i.resolve(e,t,r,null,{in:!0});if(void 0===a)continue;const s=i.in&&"object"==typeof a?Array.isArray(a)?a:Object.keys(a):[a];for(const t of s)if(typeof t==typeof e)if(n&&e&&"string"==typeof e){if(t.toLowerCase()===e.toLowerCase())return{value:t,ref:i}}else if(o(t,e))return{value:t,ref:i}}return!1}override(){this._override=!0}values(e){if(e&&e.display){const e=[];for(const t of[...this._values,...this._refs])void 0!==t&&e.push(t);return e}return Array.from([...this._values,...this._refs])}clone(){const e=new a.Values(this._values,this._refs);return e._override=this._override,e}concat(e){n(!e._override,"Cannot concat override set of values");const t=new a.Values([...this._values,...e._values],[...this._refs,...e._refs]);return t._override=this._override,t}describe(){const e=[];this._override&&e.push({override:!0});for(const t of this._values.values())e.push(t&&"object"==typeof t?{value:t}:t);for(const t of this._refs.values())e.push(t.describe());return e}},a.Values.prototype[i.symbols.values]=!0,a.Values.prototype.slice=a.Values.prototype.clone,a.lowercases=function(e){const t=new Map;if(e)for(const r of e)"string"==typeof r&&t.set(r.toLowerCase(),r);return t}},function(e,t,r){"use strict";const n=r(43),o=r(0),i=r(2),a=r(44),s=r(3),c=r(1),l=r(8),u=r(4),d=r(5),f=r(7),p={renameDefaults:{alias:!1,multiple:!1,override:!1}};e.exports=s.extend({type:"_keys",properties:{typeof:"object"},flags:{unknown:{default:!1}},terms:{dependencies:{init:null},keys:{init:null,manifest:{mapped:{from:"schema",to:"key"}}},patterns:{init:null},renames:{init:null}},args:(e,t)=>e.keys(t),validate(e,{schema:t,error:r,state:n,prefs:o}){if(!e||typeof e!==t.$_property("typeof")||Array.isArray(e))return{value:e,errors:r("object.base",{type:t.$_property("typeof")})};if(!(t.$_terms.renames||t.$_terms.dependencies||t.$_terms.keys||t.$_terms.patterns||t.$_terms.externals))return;e=p.clone(e,o);const i=[];if(t.$_terms.renames&&!p.rename(t,e,n,o,i))return{value:e,errors:i};if(!t.$_terms.keys&&!t.$_terms.patterns&&!t.$_terms.dependencies)return{value:e,errors:i};const a=new Set(Object.keys(e));if(t.$_terms.keys){const r=[e,...n.ancestors];for(const s of t.$_terms.keys){const t=s.key,c=e[t];a.delete(t);const l=n.localize([...n.path,t],r,s),u=s.schema.$_validate(c,l,o);if(u.errors){if(o.abortEarly)return{value:e,errors:u.errors};i.push(...u.errors)}else"strip"===s.schema._flags.result||void 0===u.value&&void 0!==c?delete e[t]:void 0!==u.value&&(e[t]=u.value)}}if(a.size||t._flags._hasPatternMatch){const r=p.unknown(t,e,a,i,n,o);if(r)return r}if(t.$_terms.dependencies)for(const s of t.$_terms.dependencies){if(s.key&&void 0===s.key.resolve(e,n,o,null,{shadow:!1}))continue;const r=p.dependencies[s.rel](t,s,e,n,o);if(r){const a=t.$_createError(r.code,e,r.context,n,o);if(o.abortEarly)return{value:e,errors:a};i.push(a)}}return{value:e,errors:i}},rules:{and:{method(...e){return c.verifyFlat(e,"and"),p.dependency(this,"and",null,e)}},append:{method(e){return null==e||0===Object.keys(e).length?this:this.keys(e)}},assert:{method(e,t,r){f.isTemplate(e)||(e=l.ref(e)),o(void 0===r||"string"==typeof r,"Message must be a string"),t=this.$_compile(t,{appendPath:!0});const n=this.$_addRule({name:"assert",args:{subject:e,schema:t,message:r}});return n.$_mutateRegister(e),n.$_mutateRegister(t),n},validate(e,{error:t,prefs:r,state:n},{subject:o,schema:i,message:a}){const s=o.resolve(e,n,r),c=d.isRef(o)?o.absolute(n):[];return i.$_match(s,n.localize(c,[e,...n.ancestors],i),r)?e:t("object.assert",{subject:o,message:a})},args:["subject","schema","message"],multi:!0},instance:{method(e,t){return o("function"==typeof e,"constructor must be a function"),t=t||e.name,this.$_addRule({name:"instance",args:{constructor:e,name:t}})},validate:(e,t,{constructor:r,name:n})=>e instanceof r?e:t.error("object.instance",{type:n,value:e}),args:["constructor","name"]},keys:{method(e){o(void 0===e||"object"==typeof e,"Object schema must be a valid object"),o(!c.isSchema(e),"Object schema cannot be a joi schema");const t=this.clone();if(e)if(Object.keys(e).length){t.$_terms.keys=t.$_terms.keys?t.$_terms.keys.filter(t=>!e.hasOwnProperty(t.key)):new p.Keys;for(const r in e)c.tryWithPath(()=>t.$_terms.keys.push({key:r,schema:this.$_compile(e[r])}),r)}else t.$_terms.keys=new p.Keys;else t.$_terms.keys=null;return t.$_mutateRebuild()}},length:{method(e){return this.$_addRule({name:"length",args:{limit:e},operator:"="})},validate:(e,t,{limit:r},{name:n,operator:o,args:i})=>c.compare(Object.keys(e).length,r,o)?e:t.error("object."+n,{limit:i.limit,value:e}),args:[{name:"limit",ref:!0,assert:c.limit,message:"must be a positive integer"}]},max:{method(e){return this.$_addRule({name:"max",method:"length",args:{limit:e},operator:"<="})}},min:{method(e){return this.$_addRule({name:"min",method:"length",args:{limit:e},operator:">="})}},nand:{method(...e){return c.verifyFlat(e,"nand"),p.dependency(this,"nand",null,e)}},or:{method(...e){return c.verifyFlat(e,"or"),p.dependency(this,"or",null,e)}},oxor:{method(...e){return p.dependency(this,"oxor",null,e)}},pattern:{method(e,t,r={}){const n=e instanceof RegExp;n||(e=this.$_compile(e,{appendPath:!0})),o(void 0!==t,"Invalid rule"),c.assertOptions(r,["fallthrough","matches"]),n&&o(!e.flags.includes("g")&&!e.flags.includes("y"),"pattern should not use global or sticky mode"),t=this.$_compile(t,{appendPath:!0});const i=this.clone();i.$_terms.patterns=i.$_terms.patterns||[];const a={[n?"regex":"schema"]:e,rule:t};return r.matches&&(a.matches=this.$_compile(r.matches),"array"!==a.matches.type&&(a.matches=a.matches.$_root.array().items(a.matches)),i.$_mutateRegister(a.matches),i.$_setFlag("_hasPatternMatch",!0,{clone:!1})),r.fallthrough&&(a.fallthrough=!0),i.$_terms.patterns.push(a),i.$_mutateRegister(t),i}},ref:{method(){return this.$_addRule("ref")},validate:(e,t)=>d.isRef(e)?e:t.error("object.refType",{value:e})},regex:{method(){return this.$_addRule("regex")},validate:(e,t)=>e instanceof RegExp?e:t.error("object.regex",{value:e})},rename:{method(e,t,r={}){o("string"==typeof e||e instanceof RegExp,"Rename missing the from argument"),o("string"==typeof t||t instanceof f,"Invalid rename to argument"),o(t!==e,"Cannot rename key to same name:",e),c.assertOptions(r,["alias","ignoreUndefined","override","multiple"]);const i=this.clone();i.$_terms.renames=i.$_terms.renames||[];for(const n of i.$_terms.renames)o(n.from!==e,"Cannot rename the same key multiple times");return t instanceof f&&i.$_mutateRegister(t),i.$_terms.renames.push({from:e,to:t,options:n(p.renameDefaults,r)}),i}},schema:{method(e="any"){return this.$_addRule({name:"schema",args:{type:e}})},validate:(e,t,{type:r})=>!c.isSchema(e)||"any"!==r&&e.type!==r?t.error("object.schema",{type:r}):e},unknown:{method(e){return this.$_setFlag("unknown",!1!==e)}},with:{method(e,t,r={}){return p.dependency(this,"with",e,t,r)}},without:{method(e,t,r={}){return p.dependency(this,"without",e,t,r)}},xor:{method(...e){return c.verifyFlat(e,"xor"),p.dependency(this,"xor",null,e)}}},overrides:{default(e,t){return void 0===e&&(e=c.symbols.deepDefault),this.$_super.default(e,t)}},rebuild(e){if(e.$_terms.keys){const t=new a.Sorter;for(const r of e.$_terms.keys)c.tryWithPath(()=>t.add(r,{after:r.schema.$_rootReferences(),group:r.key}),r.key);e.$_terms.keys=new p.Keys(...t.nodes)}},manifest:{build(e,t){if(t.keys&&(e=e.keys(t.keys)),t.dependencies)for(const{rel:r,key:n=null,peers:o,options:i}of t.dependencies)e=p.dependency(e,r,n,o,i);if(t.patterns)for(const{regex:r,schema:n,rule:o,fallthrough:i,matches:a}of t.patterns)e=e.pattern(r||n,o,{fallthrough:i,matches:a});if(t.renames)for(const{from:r,to:n,options:o}of t.renames)e=e.rename(r,n,o);return e}},messages:{"object.and":"{{#label}} contains {{#presentWithLabels}} without its required peers {{#missingWithLabels}}","object.assert":'{{#label}} is invalid because {if(#subject.key, `"` + #subject.key + `" failed to ` + (#message || "pass the assertion test"), #message || "the assertion failed")}',"object.base":"{{#label}} must be of type {{#type}}","object.instance":'{{#label}} must be an instance of "{{#type}}"',"object.length":'{{#label}} must have {{#limit}} key{if(#limit == 1, "", "s")}',"object.max":'{{#label}} must have less than or equal to {{#limit}} key{if(#limit == 1, "", "s")}',"object.min":'{{#label}} must have at least {{#limit}} key{if(#limit == 1, "", "s")}',"object.missing":"{{#label}} must contain at least one of {{#peersWithLabels}}","object.nand":'"{{#mainWithLabel}}" must not exist simultaneously with {{#peersWithLabels}}',"object.oxor":"{{#label}} contains a conflict between optional exclusive peers {{#peersWithLabels}}","object.pattern.match":"{{#label}} keys failed to match pattern requirements","object.refType":"{{#label}} must be a Joi reference","object.regex":"{{#label}} must be a RegExp object","object.rename.multiple":'{{#label}} cannot rename "{{#from}}" because multiple renames are disabled and another key was already renamed to "{{#to}}"',"object.rename.override":'{{#label}} cannot rename "{{#from}}" because override is disabled and target "{{#to}}" exists',"object.schema":"{{#label}} must be a Joi schema of {{#type}} type","object.unknown":"{{#label}} is not allowed","object.with":'"{{#mainWithLabel}}" missing required peer "{{#peerWithLabel}}"',"object.without":'"{{#mainWithLabel}}" conflict with forbidden peer "{{#peerWithLabel}}"',"object.xor":"{{#label}} contains a conflict between exclusive peers {{#peersWithLabels}}"}}),p.clone=function(e,t){if("object"==typeof e){if(t.nonEnumerables)return i(e,{shallow:!0});const r=Object.create(Object.getPrototypeOf(e));return Object.assign(r,e),r}const r=function(...t){return e.apply(this,t)};return r.prototype=i(e.prototype),Object.defineProperty(r,"name",{value:e.name,writable:!1}),Object.defineProperty(r,"length",{value:e.length,writable:!1}),Object.assign(r,e),r},p.dependency=function(e,t,r,n,i){o(null===r||"string"==typeof r,t,"key must be a strings"),i||(i=n.length>1&&"object"==typeof n[n.length-1]?n.pop():{}),c.assertOptions(i,["separator"]),n=[].concat(n);const a=c.default(i.separator,"."),s=[];for(const c of n)o("string"==typeof c,t,"peers must be a string or a reference"),s.push(l.ref(c,{separator:a,ancestor:0,prefix:!1}));null!==r&&(r=l.ref(r,{separator:a,ancestor:0,prefix:!1}));const u=e.clone();return u.$_terms.dependencies=u.$_terms.dependencies||[],u.$_terms.dependencies.push(new p.Dependency(t,r,s,n)),u},p.dependencies={and(e,t,r,n,o){const i=[],a=[],s=t.peers.length;for(const c of t.peers)void 0===c.resolve(r,n,o,null,{shadow:!1})?i.push(c.key):a.push(c.key);if(i.length!==s&&a.length!==s)return{code:"object.and",context:{present:a,presentWithLabels:p.keysToLabels(e,a),missing:i,missingWithLabels:p.keysToLabels(e,i)}}},nand(e,t,r,n,o){const i=[];for(const c of t.peers)void 0!==c.resolve(r,n,o,null,{shadow:!1})&&i.push(c.key);if(i.length!==t.peers.length)return;const a=t.paths[0],s=t.paths.slice(1);return{code:"object.nand",context:{main:a,mainWithLabel:p.keysToLabels(e,a),peers:s,peersWithLabels:p.keysToLabels(e,s)}}},or(e,t,r,n,o){for(const i of t.peers)if(void 0!==i.resolve(r,n,o,null,{shadow:!1}))return;return{code:"object.missing",context:{peers:t.paths,peersWithLabels:p.keysToLabels(e,t.paths)}}},oxor(e,t,r,n,o){const i=[];for(const s of t.peers)void 0!==s.resolve(r,n,o,null,{shadow:!1})&&i.push(s.key);if(!i.length||1===i.length)return;const a={peers:t.paths,peersWithLabels:p.keysToLabels(e,t.paths)};return a.present=i,a.presentWithLabels=p.keysToLabels(e,i),{code:"object.oxor",context:a}},with(e,t,r,n,o){for(const i of t.peers)if(void 0===i.resolve(r,n,o,null,{shadow:!1}))return{code:"object.with",context:{main:t.key.key,mainWithLabel:p.keysToLabels(e,t.key.key),peer:i.key,peerWithLabel:p.keysToLabels(e,i.key)}}},without(e,t,r,n,o){for(const i of t.peers)if(void 0!==i.resolve(r,n,o,null,{shadow:!1}))return{code:"object.without",context:{main:t.key.key,mainWithLabel:p.keysToLabels(e,t.key.key),peer:i.key,peerWithLabel:p.keysToLabels(e,i.key)}}},xor(e,t,r,n,o){const i=[];for(const s of t.peers)void 0!==s.resolve(r,n,o,null,{shadow:!1})&&i.push(s.key);if(1===i.length)return;const a={peers:t.paths,peersWithLabels:p.keysToLabels(e,t.paths)};return 0===i.length?{code:"object.missing",context:a}:(a.present=i,a.presentWithLabels=p.keysToLabels(e,i),{code:"object.xor",context:a})}},p.keysToLabels=function(e,t){return Array.isArray(t)?t.map(t=>e.$_mapLabels(t)):e.$_mapLabels(t)},p.rename=function(e,t,r,n,o){const i={};for(const a of e.$_terms.renames){const s=[],c="string"!=typeof a.from;if(c)for(const e in t){if(void 0===t[e]&&a.options.ignoreUndefined)continue;if(e===a.to)continue;const r=a.from.exec(e);r&&s.push({from:e,to:a.to,match:r})}else!Object.prototype.hasOwnProperty.call(t,a.from)||void 0===t[a.from]&&a.options.ignoreUndefined||s.push(a);for(const l of s){const s=l.from;let u=l.to;if(u instanceof f&&(u=u.render(t,r,n,l.match)),s!==u){if(!a.options.multiple&&i[u]&&(o.push(e.$_createError("object.rename.multiple",t,{from:s,to:u,pattern:c},r,n)),n.abortEarly))return!1;if(Object.prototype.hasOwnProperty.call(t,u)&&!a.options.override&&!i[u]&&(o.push(e.$_createError("object.rename.override",t,{from:s,to:u,pattern:c},r,n)),n.abortEarly))return!1;void 0===t[s]?delete t[u]:t[u]=t[s],i[u]=!0,a.options.alias||delete t[s]}}}return!0},p.unknown=function(e,t,r,n,o,i){if(e.$_terms.patterns){let a=!1;const s=e.$_terms.patterns.map(e=>{if(e.matches)return a=!0,[]}),c=[t,...o.ancestors];for(const l of r){const a=t[l],u=[...o.path,l];for(let d=0;d<e.$_terms.patterns.length;++d){const f=e.$_terms.patterns[d];if(f.regex){const e=f.regex.test(l);if(o.mainstay.tracer.debug(o,"rule","pattern.".concat(d),e?"pass":"error"),!e)continue}else if(!f.schema.$_match(l,o.nest(f.schema,"pattern.".concat(d)),i))continue;r.delete(l);const p=o.localize(u,c,{schema:f.rule,key:l}),h=f.rule.$_validate(a,p,i);if(h.errors){if(i.abortEarly)return{value:t,errors:h.errors};n.push(...h.errors)}if(f.matches&&s[d].push(l),t[l]=h.value,!f.fallthrough)break}}if(a)for(let r=0;r<s.length;++r){const a=s[r];if(!a)continue;const l=e.$_terms.patterns[r].matches,d=o.localize(o.path,c,l),f=l.$_validate(a,d,i);if(f.errors){const r=u.details(f.errors,{override:!1});r.matches=a;const s=e.$_createError("object.pattern.match",t,r,o,i);if(i.abortEarly)return{value:t,errors:s};n.push(s)}}}if(r.size&&(e.$_terms.keys||e.$_terms.patterns)){if(i.stripUnknown&&!e._flags.unknown||i.skipFunctions){const e=!!i.stripUnknown&&(!0===i.stripUnknown||!!i.stripUnknown.objects);for(const n of r)e?(delete t[n],r.delete(n)):"function"==typeof t[n]&&r.delete(n)}if(!c.default(e._flags.unknown,i.allowUnknown))for(const a of r){const r=o.localize([...o.path,a],[]),s=e.$_createError("object.unknown",t[a],{child:a},r,i,{flags:!1});if(i.abortEarly)return{value:t,errors:s};n.push(s)}}},p.Dependency=class{constructor(e,t,r,n){this.rel=e,this.key=t,this.peers=r,this.paths=n}describe(){const e={rel:this.rel,peers:this.paths};return null!==this.key&&(e.key=this.key.key),"."!==this.peers[0].separator&&(e.options={separator:this.peers[0].separator}),e}},p.Keys=class extends Array{concat(e){const t=this.slice(),r=new Map;for(let n=0;n<t.length;++n)r.set(t[n].key,n);for(const n of e){const e=n.key,o=r.get(e);void 0!==o?t[o]={key:e,schema:t[o].schema.concat(n.schema)}:t.push(n)}return t}}},function(e,t,r){"use strict";const n=r(24),o=r(25),i={minDomainSegments:2,nonAsciiRx:/[^\x00-\x7f]/,domainControlRx:/[\x00-\x20@\:\/]/,tldSegmentRx:/^[a-zA-Z](?:[a-zA-Z0-9\-]*[a-zA-Z0-9])?$/,domainSegmentRx:/^[a-zA-Z0-9](?:[a-zA-Z0-9\-]*[a-zA-Z0-9])?$/,URL:n.URL||URL};t.analyze=function(e,t={}){if("string"!=typeof e)throw new Error("Invalid input: domain must be a string");if(!e)return o.code("DOMAIN_NON_EMPTY_STRING");if(e.length>256)return o.code("DOMAIN_TOO_LONG");if(i.nonAsciiRx.test(e)){if(!1===t.allowUnicode)return o.code("DOMAIN_INVALID_UNICODE_CHARS");e=e.normalize("NFC")}if(i.domainControlRx.test(e))return o.code("DOMAIN_INVALID_CHARS");e=i.punycode(e);const r=t.minDomainSegments||i.minDomainSegments,n=e.split(".");if(n.length<r)return o.code("DOMAIN_SEGMENTS_COUNT");const a=t.tlds;if(a){const e=n[n.length-1].toLowerCase();if(a.deny&&a.deny.has(e)||a.allow&&!a.allow.has(e))return o.code("DOMAIN_FORBIDDEN_TLDS")}for(let s=0;s<n.length;++s){const e=n[s];if(!e.length)return o.code("DOMAIN_EMPTY_SEGMENT");if(e.length>63)return o.code("DOMAIN_LONG_SEGMENT");if(s<n.length-1){if(!i.domainSegmentRx.test(e))return o.code("DOMAIN_INVALID_CHARS")}else if(!i.tldSegmentRx.test(e))return o.code("DOMAIN_INVALID_TLDS_CHARS")}return null},t.isValid=function(e,r){return!t.analyze(e,r)},i.punycode=function(e){try{return new i.URL("http://".concat(e)).host}catch(t){return e}}},function(e,t){},function(e,t,r){"use strict";t.codes={EMPTY_STRING:"Address must be a non-empty string",FORBIDDEN_UNICODE:"Address contains forbidden Unicode characters",MULTIPLE_AT_CHAR:"Address cannot contain more than one @ character",MISSING_AT_CHAR:"Address must contain one @ character",EMPTY_LOCAL:"Address local part cannot be empty",ADDRESS_TOO_LONG:"Address too long",LOCAL_TOO_LONG:"Address local part too long",EMPTY_LOCAL_SEGMENT:"Address local part contains empty dot-separated segment",INVALID_LOCAL_CHARS:"Address local part contains invalid character",DOMAIN_NON_EMPTY_STRING:"Domain must be a non-empty string",DOMAIN_TOO_LONG:"Domain too long",DOMAIN_INVALID_UNICODE_CHARS:"Domain contains forbidden Unicode characters",DOMAIN_INVALID_CHARS:"Domain contains invalid character",DOMAIN_INVALID_TLDS_CHARS:"Domain contains invalid tld character",DOMAIN_SEGMENTS_COUNT:"Domain lacks the minimum required number of segments",DOMAIN_FORBIDDEN_TLDS:"Domain uses forbidden TLD",DOMAIN_EMPTY_SEGMENT:"Domain contains empty dot-separated segment",DOMAIN_LONG_SEGMENT:"Domain contains dot-separated segment that is too long"},t.code=function(e){return{code:e,error:t.codes[e]}}},function(e,t,r){"use strict";const n=r(0),o=r(27),i={generate:function(){const e={},t="!\\$&'\\(\\)\\*\\+,;=",r="\\w-\\.~%\\dA-Fa-f"+t+":@",n="["+r+"]",o="(?:0{0,2}\\d|0?[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])";e.ipv4address="(?:"+o+"\\.){3}"+o;const i="[\\dA-Fa-f]{1,4}",a="(?:"+i+":"+i+"|"+e.ipv4address+")",s="(?:"+i+":){6}"+a,c="::(?:"+i+":){5}"+a,l="(?:"+i+")?::(?:"+i+":){4}"+a,u="(?:(?:"+i+":){0,1}"+i+")?::(?:"+i+":){3}"+a,d="(?:(?:"+i+":){0,2}"+i+")?::(?:"+i+":){2}"+a,f="(?:(?:"+i+":){0,3}"+i+")?::"+i+":"+a,p="(?:(?:"+i+":){0,4}"+i+")?::"+a;e.ipv4Cidr="(?:\\d|[1-2]\\d|3[0-2])",e.ipv6Cidr="(?:0{0,2}\\d|0?[1-9]\\d|1[01]\\d|12[0-8])",e.ipv6address="(?:"+s+"|"+c+"|"+l+"|"+u+"|"+d+"|"+f+"|"+p+"|(?:(?:[\\dA-Fa-f]{1,4}:){0,5}[\\dA-Fa-f]{1,4})?::[\\dA-Fa-f]{1,4}|(?:(?:[\\dA-Fa-f]{1,4}:){0,6}[\\dA-Fa-f]{1,4})?::)",e.ipvFuture="v[\\dA-Fa-f]+\\.[\\w-\\.~"+t+":]+",e.scheme="[a-zA-Z][a-zA-Z\\d+-\\.]*",e.schemeRegex=new RegExp(e.scheme);const h="[\\w-\\.~%\\dA-Fa-f"+t+":]*",b="(?:\\[(?:"+e.ipv6address+"|"+e.ipvFuture+")\\]|"+e.ipv4address+"|[\\w-\\.~%\\dA-Fa-f!\\$&'\\(\\)\\*\\+,;=]{1,255})",m="(?:"+h+"@)?"+b+"(?::\\d*)?",g="(?:"+h+"@)?("+b+")(?::\\d*)?",v=n+"*",y=n+"+",w="(?:\\/"+v+")*",x="\\/(?:"+y+w+")?",_=y+w,k="[\\w-\\.~%\\dA-Fa-f!\\$&'\\(\\)\\*\\+,;=@]+"+w;return e.hierPart="(?:(?:\\/\\/"+m+w+")|"+x+"|"+_+"|(?:\\/\\/\\/[\\w-\\.~%\\dA-Fa-f!\\$&'\\(\\)\\*\\+,;=:@]*(?:\\/[\\w-\\.~%\\dA-Fa-f!\\$&'\\(\\)\\*\\+,;=:@]*)*))",e.hierPartCapture="(?:(?:\\/\\/"+g+w+")|"+x+"|"+_+")",e.relativeRef="(?:(?:\\/\\/"+m+w+")|"+x+"|"+k+"|)",e.relativeRefCapture="(?:(?:\\/\\/"+g+w+")|"+x+"|"+k+"|)",e.query="["+r+"\\/\\?]*(?=#|$)",e.queryWithSquareBrackets="["+r+"\\[\\]\\/\\?]*(?=#|$)",e.fragment="["+r+"\\/\\?]*",e}};i.rfc3986=i.generate(),t.ip={v4Cidr:i.rfc3986.ipv4Cidr,v6Cidr:i.rfc3986.ipv6Cidr,ipv4:i.rfc3986.ipv4address,ipv6:i.rfc3986.ipv6address,ipvfuture:i.rfc3986.ipvFuture},i.createRegex=function(e){const t=i.rfc3986,r="(?:\\?"+(e.allowQuerySquareBrackets?t.queryWithSquareBrackets:t.query)+")?(?:#"+t.fragment+")?",a=e.domain?t.relativeRefCapture:t.relativeRef;if(e.relativeOnly)return i.wrap(a+r);let s="";if(e.scheme){n(e.scheme instanceof RegExp||"string"==typeof e.scheme||Array.isArray(e.scheme),"scheme must be a RegExp, String, or Array");const r=[].concat(e.scheme);n(r.length>=1,"scheme must have at least 1 scheme specified");const i=[];for(let e=0;e<r.length;++e){const a=r[e];n(a instanceof RegExp||"string"==typeof a,"scheme at position "+e+" must be a RegExp or String"),a instanceof RegExp?i.push(a.source.toString()):(n(t.schemeRegex.test(a),"scheme at position "+e+" must be a valid scheme"),i.push(o(a)))}s=i.join("|")}const c="(?:"+(s?"(?:"+s+")":t.scheme)+":"+(e.domain?t.hierPartCapture:t.hierPart)+")",l=e.allowRelative?"(?:"+c+"|"+a+")":c;return i.wrap(l+r,s)},i.wrap=function(e,t){return{raw:e="(?=.)(?!https?:/$)".concat(e),regex:new RegExp("^".concat(e,"$")),scheme:t}},i.uriRegex=i.createRegex({}),t.regex=function(e={}){return e.scheme||e.allowRelative||e.relativeOnly||e.allowQuerySquareBrackets||e.domain?i.createRegex(e):i.uriRegex}},function(e,t,r){"use strict";e.exports=function(e){return e.replace(/[\^\$\.\*\+\-\?\=\!\:\|\\\/\(\)\[\]\{\}\,]/g,"\\$&")}},function(e,t,r){"use strict";e.exports=function(...e){try{return JSON.stringify.apply(null,e)}catch(e){return"[Cannot display object: "+e.message+"]"}}},function(e){e.exports=JSON.parse('{"version":"17.1.1"}')},function(e,t,r){"use strict";const n={};e.exports=function(e){if(!e)return"";let t="";for(let r=0;r<e.length;++r){const o=e.charCodeAt(r);n.isSafe(o)?t+=e[r]:t+=n.escapeHtmlChar(o)}return t},n.escapeHtmlChar=function(e){const t=n.namedHtml[e];if(void 0!==t)return t;if(e>=256)return"&#"+e+";";const r=e.toString(16).padStart(2,"0");return"&#x".concat(r,";")},n.isSafe=function(e){return void 0!==n.safeCharCodes[e]},n.namedHtml={38:"&amp;",60:"&lt;",62:"&gt;",34:"&quot;",160:"&nbsp;",162:"&cent;",163:"&pound;",164:"&curren;",169:"&copy;",174:"&reg;"},n.safeCharCodes=function(){const e={};for(let t=32;t<123;++t)(t>=97||t>=65&&t<=90||t>=48&&t<=57||32===t||46===t||44===t||45===t||58===t||95===t)&&(e[t]=null);return e}()},function(e,t,r){"use strict";const n={operators:["!","^","*","/","%","+","-","<","<=",">",">=","==","!=","&&","||","??"],operatorCharacters:["!","^","*","/","%","+","-","<","=",">","&","|","?"],operatorsOrder:[["^"],["*","/","%"],["+","-"],["<","<=",">",">="],["==","!="],["&&"],["||","??"]],operatorsPrefix:["!","n"],literals:{'"':'"',"`":"`","'":"'","[":"]"},numberRx:/^(?:[0-9]*\.?[0-9]*){1}$/,tokenRx:/^[\w\$\#\.\@\:\{\}]+$/,symbol:Symbol("formula"),settings:Symbol("settings")};t.Parser=class{constructor(e,t={}){if(!t[n.settings]&&t.constants)for(const r in t.constants){const e=t.constants[r];if(null!==e&&!["boolean","number","string"].includes(typeof e))throw new Error("Formula constant ".concat(r," contains invalid ").concat(typeof e," value type"))}this.settings=t[n.settings]?t:Object.assign({[n.settings]:!0,constants:{},functions:{}},t),this.single=null,this._parts=null,this._parse(e)}_parse(e){let r=[],o="",i=0,a=!1;const s=e=>{if(i)throw new Error("Formula missing closing parenthesis");const s=r.length?r[r.length-1]:null;if(a||o||e){if(s&&"reference"===s.type&&")"===e)return s.type="function",s.value=this._subFormula(o,s.value),void(o="");if(")"===e){const e=new t.Parser(o,this.settings);r.push({type:"segment",value:e})}else if(a){if("]"===a)return r.push({type:"reference",value:o}),void(o="");r.push({type:"literal",value:o})}else if(n.operatorCharacters.includes(o))s&&"operator"===s.type&&n.operators.includes(s.value+o)?s.value+=o:r.push({type:"operator",value:o});else if(o.match(n.numberRx))r.push({type:"constant",value:parseFloat(o)});else if(void 0!==this.settings.constants[o])r.push({type:"constant",value:this.settings.constants[o]});else{if(!o.match(n.tokenRx))throw new Error("Formula contains invalid token: ".concat(o));r.push({type:"reference",value:o})}o=""}};for(const t of e)a?t===a?(s(),a=!1):o+=t:i?"("===t?(o+=t,++i):")"===t?(--i,i?o+=t:s(t)):o+=t:t in n.literals?a=n.literals[t]:"("===t?(s(),++i):n.operatorCharacters.includes(t)?(s(),o=t,s()):" "!==t?o+=t:s();s(),r=r.map((e,t)=>"operator"!==e.type||"-"!==e.value||t&&"operator"!==r[t-1].type?e:{type:"operator",value:"n"});let c=!1;for(const t of r){if("operator"===t.type){if(n.operatorsPrefix.includes(t.value))continue;if(!c)throw new Error("Formula contains an operator in invalid position");if(!n.operators.includes(t.value))throw new Error("Formula contains an unknown operator ".concat(t.value))}else if(c)throw new Error("Formula missing expected operator");c=!c}if(!c)throw new Error("Formula contains invalid trailing operator");1===r.length&&["reference","literal","constant"].includes(r[0].type)&&(this.single={type:"reference"===r[0].type?"reference":"value",value:r[0].value}),this._parts=r.map(e=>{if("operator"===e.type)return n.operatorsPrefix.includes(e.value)?e:e.value;if("reference"!==e.type)return e.value;if(this.settings.tokenRx&&!this.settings.tokenRx.test(e.value))throw new Error("Formula contains invalid reference ".concat(e.value));return this.settings.reference?this.settings.reference(e.value):n.reference(e.value)})}_subFormula(e,r){const o=this.settings.functions[r];if("function"!=typeof o)throw new Error("Formula contains unknown function ".concat(r));let i=[];if(e){let t="",o=0,a=!1;const s=()=>{if(!t)throw new Error("Formula contains function ".concat(r," with invalid arguments ").concat(e));i.push(t),t=""};for(let r=0;r<e.length;++r){const i=e[r];a?(t+=i,i===a&&(a=!1)):i in n.literals&&!o?(t+=i,a=n.literals[i]):","!==i||o?(t+=i,"("===i?++o:")"===i&&--o):s()}s()}return i=i.map(e=>new t.Parser(e,this.settings)),function(e){const t=[];for(const r of i)t.push(r.evaluate(e));return o.call(e,...t)}}evaluate(e){const t=this._parts.slice();for(let r=t.length-2;r>=0;--r){const o=t[r];if(o&&"operator"===o.type){const i=t[r+1];t.splice(r+1,1);const a=n.evaluate(i,e);t[r]=n.single(o.value,a)}}return n.operatorsOrder.forEach(r=>{for(let o=1;o<t.length-1;)if(r.includes(t[o])){const r=t[o],i=n.evaluate(t[o-1],e),a=n.evaluate(t[o+1],e);t.splice(o,2);const s=n.calculate(r,i,a);t[o-1]=0===s?0:s}else o+=2}),n.evaluate(t[0],e)}},t.Parser.prototype[n.symbol]=!0,n.reference=function(e){return function(t){return t&&void 0!==t[e]?t[e]:null}},n.evaluate=function(e,t){return null===e?null:"function"==typeof e?e(t):e[n.symbol]?e.evaluate(t):e},n.single=function(e,t){if("!"===e)return!t;const r=-t;return 0===r?0:r},n.calculate=function(e,t,r){if("??"===e)return n.exists(t)?t:r;if("string"==typeof t||"string"==typeof r){if("+"===e)return(t=n.exists(t)?t:"")+(n.exists(r)?r:"")}else switch(e){case"^":return Math.pow(t,r);case"*":return t*r;case"/":return t/r;case"%":return t%r;case"+":return t+r;case"-":return t-r}switch(e){case"<":return t<r;case"<=":return t<=r;case">":return t>r;case">=":return t>=r;case"==":return t===r;case"!=":return t!==r;case"&&":return t&&r;case"||":return t||r}return null},n.exists=function(e){return null!=e}},function(e,t){},function(e,t,r){"use strict";const n=r(0),o=r(3),i=r(1),a=r(8),s=r(4),c=r(5),l={};e.exports=o.extend({type:"alternatives",flags:{match:{default:"any"}},terms:{matches:{init:[],register:c.toSibling}},args:(e,...t)=>1===t.length&&Array.isArray(t[0])?e.try(...t[0]):e.try(...t),validate(e,t){const{schema:r,error:n,state:o,prefs:i}=t;if(r._flags.match){let t,a=0;for(let n=0;n<r.$_terms.matches.length;++n){const s=r.$_terms.matches[n],c=o.nest(s.schema,"match.".concat(n));c.snapshot();const l=s.schema.$_validate(e,c,i);l.errors?c.restore():(++a,t=l.value)}return a?"one"===r._flags.match?1===a?{value:t}:{errors:n("alternatives.one")}:a===r.$_terms.matches.length?{value:e}:{errors:n("alternatives.all")}:{errors:n("alternatives.any")}}const a=[];for(let s=0;s<r.$_terms.matches.length;++s){const t=r.$_terms.matches[s];if(t.schema){const r=o.nest(t.schema,"match.".concat(s));r.snapshot();const n=t.schema.$_validate(e,r,i);if(!n.errors)return n;r.restore(),a.push({schema:t.schema,reports:n.errors});continue}const n=t.ref?t.ref.resolve(e,o,i):e,c=t.is?[t]:t.switch;for(let r=0;r<c.length;++r){const a=c[r],{is:l,then:u,otherwise:d}=a,f="match.".concat(s).concat(t.switch?"."+r:"");if(l.$_match(n,o.nest(l,"".concat(f,".is")),i)){if(u)return u.$_validate(e,o.nest(u,"".concat(f,".then")),i)}else if(d)return d.$_validate(e,o.nest(d,"".concat(f,".otherwise")),i)}}return l.errors(a,t)},rules:{conditional:{method(e,t){n(!this._flags._endedSwitch,"Unreachable condition"),n(!this._flags.match,"Cannot combine match mode",this._flags.match,"with conditional rule"),n(void 0===t.break,"Cannot use break option with alternatives conditional");const r=this.clone(),o=a.when(r,e,t),i=o.is?[o]:o.switch;for(const n of i)if(n.then&&n.otherwise){r.$_setFlag("_endedSwitch",!0,{clone:!1});break}return r.$_terms.matches.push(o),r.$_mutateRebuild()}},match:{method(e){if(n(["any","one","all"].includes(e),"Invalid alternatives match mode",e),"any"!==e)for(const t of this.$_terms.matches)n(t.schema,"Cannot combine match mode",e,"with conditional rules");return this.$_setFlag("match",e)}},try:{method(...e){n(e.length,"Missing alternative schemas"),i.verifyFlat(e,"try"),n(!this._flags._endedSwitch,"Unreachable condition");const t=this.clone();for(const r of e)t.$_terms.matches.push({schema:t.$_compile(r)});return t.$_mutateRebuild()}}},overrides:{label(e){return this.$_super.label(e).$_modify({each:(t,r)=>"is"!==r.path[0]?t.label(e):void 0,ref:!1})}},rebuild(e){e.$_modify({each:t=>{i.isSchema(t)&&"array"===t.type&&e.$_setFlag("_arrayItems",!0,{clone:!1})}})},manifest:{build(e,t){if(t.matches)for(const r of t.matches){const{schema:t,ref:n,is:o,not:i,then:a,otherwise:s}=r;e=t?e.try(t):n?e.conditional(n,{is:o,then:a,not:i,otherwise:s,switch:r.switch}):e.conditional(o,{then:a,otherwise:s})}return e}},messages:{"alternatives.all":"{{#label}} does not match all of the required types","alternatives.any":"{{#label}} does not match any of the allowed types","alternatives.match":"{{#label}} does not match any of the allowed types","alternatives.one":"{{#label}} matches more than one allowed type","alternatives.types":"{{#label}} must be one of {{#types}}"}}),l.errors=function(e,{error:t,state:r}){if(!e.length)return{errors:t("alternatives.any")};if(1===e.length)return{errors:e[0].reports};const n=new Set,o=[];for(const{reports:i,schema:a}of e){if(i.length>1)return l.unmatched(e,t);const c=i[0];if(c instanceof s.Report==0)return l.unmatched(e,t);if(c.state.path.length!==r.path.length){o.push({type:a.type,report:c});continue}if("any.only"===c.code){for(const e of c.local.valids)n.add(e);continue}const[u,d]=c.code.split(".");"base"===d?n.add(u):o.push({type:a.type,report:c})}return o.length?1===o.length?{errors:o[0].report}:l.unmatched(e,t):{errors:t("alternatives.types",{types:[...n]})}},l.unmatched=function(e,t){const r=[];for(const n of e)r.push(...n.reports);return{errors:t("alternatives.match",s.details(r,{override:!1}))}}},function(e,t,r){"use strict";const n=r(0),o=r(2),i=r(10),a=r(20),s=r(15),c=r(1),l=r(8),u=r(4),d=r(17),f=r(18),p=r(9),h=r(35),b=r(5),m=r(19),g=r(36),v=r(21),y={Base:class{constructor(e){this.type=e,this.$_root=null,this._definition={},this._ids=new h.Ids,this._preferences=null,this._refs=new b.Manager,this._cache=null,this._valids=null,this._invalids=null,this._flags={},this._rules=[],this._singleRules=new Map,this.$_terms={},this.$_temp={ruleset:null,whens:{}}}describe(){return n("function"==typeof f.describe,"Manifest functionality disabled"),f.describe(this)}allow(...e){return c.verifyFlat(e,"allow"),this._values(e,"_valids")}alter(e){n(e&&"object"==typeof e&&!Array.isArray(e),"Invalid targets argument"),n(!this._inRuleset(),"Cannot set alterations inside a ruleset");const t=this.clone();t.$_terms.alterations=t.$_terms.alterations||[];for(const r in e){const o=e[r];n("function"==typeof o,"Alteration adjuster for",r,"must be a function"),t.$_terms.alterations.push({target:r,adjuster:o})}return t.$_temp.ruleset=!1,t}cast(e){return n(!1===e||"string"==typeof e,"Invalid to value"),n(!1===e||this._definition.cast[e],"Type",this.type,"does not support casting to",e),this.$_setFlag("cast",!1===e?void 0:e)}default(e,t){return this._default("default",e,t)}description(e){return n(e&&"string"==typeof e,"Description must be a non-empty string"),this.$_setFlag("description",e)}empty(e){const t=this.clone();return void 0!==e&&(e=t.$_compile(e,{override:!1})),t.$_setFlag("empty",e,{clone:!1})}error(e){return n(e,"Missing error"),n(e instanceof Error||"function"==typeof e,"Must provide a valid Error object or a function"),this.$_setFlag("error",e)}example(e,t={}){return n(void 0!==e,"Missing example"),c.assertOptions(t,["override"]),this._inner("examples",e,{single:!0,override:t.override})}external(e,t){return"object"==typeof e&&(n(!t,"Cannot combine options with description"),t=e.description,e=e.method),n("function"==typeof e,"Method must be a function"),n(void 0===t||t&&"string"==typeof t,"Description must be a non-empty string"),this._inner("externals",{method:e,description:t},{single:!0})}failover(e,t){return this._default("failover",e,t)}forbidden(){return this.presence("forbidden")}id(e){return e?(n("string"==typeof e,"id must be a non-empty string"),n(/^[^\.]+$/.test(e),"id cannot contain period character"),this.$_setFlag("id",e)):this.$_setFlag("id",void 0)}invalid(...e){return this._values(e,"_invalids")}label(e){return n(e&&"string"==typeof e,"Label name must be a non-empty string"),this.$_setFlag("label",e)}meta(e){return n(void 0!==e,"Meta cannot be undefined"),this._inner("metas",e,{single:!0})}note(...e){n(e.length,"Missing notes");for(const t of e)n(t&&"string"==typeof t,"Notes must be non-empty strings");return this._inner("notes",e)}only(e=!0){return n("boolean"==typeof e,"Invalid mode:",e),this.$_setFlag("only",e)}optional(){return this.presence("optional")}prefs(e){n(e,"Missing preferences"),n(void 0===e.context,"Cannot override context"),n(void 0===e.externals,"Cannot override externals"),n(void 0===e.warnings,"Cannot override warnings"),n(void 0===e.debug,"Cannot override debug"),c.checkPreferences(e);const t=this.clone();return t._preferences=c.preferences(t._preferences,e),t}presence(e){return n(["optional","required","forbidden"].includes(e),"Unknown presence mode",e),this.$_setFlag("presence",e)}raw(e=!0){return this.$_setFlag("result",e?"raw":void 0)}result(e){return n(["raw","strip"].includes(e),"Unknown result mode",e),this.$_setFlag("result",e)}required(){return this.presence("required")}strict(e){const t=this.clone(),r=void 0!==e&&!e;return t._preferences=c.preferences(t._preferences,{convert:r}),t}strip(e=!0){return this.$_setFlag("result",e?"strip":void 0)}tag(...e){n(e.length,"Missing tags");for(const t of e)n(t&&"string"==typeof t,"Tags must be non-empty strings");return this._inner("tags",e)}unit(e){return n(e&&"string"==typeof e,"Unit name must be a non-empty string"),this.$_setFlag("unit",e)}valid(...e){c.verifyFlat(e,"valid");const t=this.allow(...e);return t.$_setFlag("only",!!t._valids,{clone:!1}),t}when(e,t){const r=this.clone();r.$_terms.whens||(r.$_terms.whens=[]);const o=l.when(r,e,t);if(!["any","link"].includes(r.type)){const e=o.is?[o]:o.switch;for(const t of e)n(!t.then||"any"===t.then.type||t.then.type===r.type,"Cannot combine",r.type,"with",t.then&&t.then.type),n(!t.otherwise||"any"===t.otherwise.type||t.otherwise.type===r.type,"Cannot combine",r.type,"with",t.otherwise&&t.otherwise.type)}return r.$_terms.whens.push(o),r.$_mutateRebuild()}cache(e){n(!this._inRuleset(),"Cannot set caching inside a ruleset"),n(!this._cache,"Cannot override schema cache");const t=this.clone();return t._cache=e||s.provider.provision(),t.$_temp.ruleset=!1,t}clone(){const e=Object.create(Object.getPrototypeOf(this));return this._assign(e)}concat(e){n(c.isSchema(e),"Invalid schema object"),n("any"===this.type||"any"===e.type||e.type===this.type,"Cannot merge type",this.type,"with another type:",e.type),n(!this._inRuleset(),"Cannot concatenate onto a schema with open ruleset"),n(!e._inRuleset(),"Cannot concatenate a schema with open ruleset");let t=this.clone();if("any"===this.type&&"any"!==e.type){const r=e.clone();for(const e of Object.keys(t))"type"!==e&&(r[e]=t[e]);t=r}t._ids.concat(e._ids),t._refs.register(e,b.toSibling),t._preferences=t._preferences?c.preferences(t._preferences,e._preferences):e._preferences,t._valids=v.merge(t._valids,e._valids,e._invalids),t._invalids=v.merge(t._invalids,e._invalids,e._valids);for(const r of e._singleRules.keys())t._singleRules.has(r)&&(t._rules=t._rules.filter(e=>e.keep||e.name!==r),t._singleRules.delete(r));for(const r of e._rules)e._definition.rules[r.method].multi||t._singleRules.set(r.name,r),t._rules.push(r);if(t._flags.empty&&e._flags.empty){t._flags.empty=t._flags.empty.concat(e._flags.empty);const r=Object.assign({},e._flags);delete r.empty,a(t._flags,r)}else if(e._flags.empty){t._flags.empty=e._flags.empty;const r=Object.assign({},e._flags);delete r.empty,a(t._flags,r)}else a(t._flags,e._flags);for(const r in e.$_terms){const n=e.$_terms[r];n?t.$_terms[r]?t.$_terms[r]=t.$_terms[r].concat(n):t.$_terms[r]=n.slice():t.$_terms[r]||(t.$_terms[r]=n)}return this.$_root._tracer&&this.$_root._tracer._combine(t,[this,e]),t.$_mutateRebuild()}extend(e){return n(!e.base,"Cannot extend type with another base"),d.type(this,e)}extract(e){return e=Array.isArray(e)?e:e.split("."),this._ids.reach(e)}fork(e,t){n(!this._inRuleset(),"Cannot fork inside a ruleset");let r=this;for(let n of[].concat(e))n=Array.isArray(n)?n:n.split("."),r=r._ids.fork(n,t,r);return r.$_temp.ruleset=!1,r}rule(e){const t=this._definition;c.assertOptions(e,Object.keys(t.modifiers)),n(!1!==this.$_temp.ruleset,"Cannot apply rules to empty ruleset or the last rule added does not support rule properties");const r=null===this.$_temp.ruleset?this._rules.length-1:this.$_temp.ruleset;n(r>=0&&r<this._rules.length,"Cannot apply rules to empty ruleset");const i=this.clone();for(let a=r;a<i._rules.length;++a){const r=i._rules[a],s=o(r);for(const o in e)t.modifiers[o](s,e[o]),n(s.name===r.name,"Cannot change rule name");i._rules[a]=s,i._singleRules.get(s.name)===r&&i._singleRules.set(s.name,s)}return i.$_temp.ruleset=!1,i.$_mutateRebuild()}get ruleset(){n(!this._inRuleset(),"Cannot start a new ruleset without closing the previous one");const e=this.clone();return e.$_temp.ruleset=e._rules.length,e}get $(){return this.ruleset}tailor(e){e=[].concat(e),n(!this._inRuleset(),"Cannot tailor inside a ruleset");let t=this;if(this.$_terms.alterations)for(const{target:r,adjuster:o}of this.$_terms.alterations)e.includes(r)&&(t=o(t),n(c.isSchema(t),"Alteration adjuster for",r,"failed to return a schema object"));return t=t.$_modify({each:t=>t.tailor(e),ref:!1}),t.$_temp.ruleset=!1,t.$_mutateRebuild()}tracer(){return m.location?m.location(this):this}validate(e,t){return g.entry(e,this,t)}validateAsync(e,t){return g.entryAsync(e,this,t)}$_addRule(e){"string"==typeof e&&(e={name:e}),n(e&&"object"==typeof e,"Invalid options"),n(e.name&&"string"==typeof e.name,"Invalid rule name");for(const a in e)n("_"!==a[0],"Cannot set private rule properties");const t=Object.assign({},e);t._resolve=[],t.method=t.method||t.name;const r=this._definition.rules[t.method],o=t.args;n(r,"Unknown rule",t.method);const i=this.clone();if(o){n(1===Object.keys(o).length||Object.keys(o).length===this._definition.rules[t.name].args.length,"Invalid rule definition for",this.type,t.name);for(const e in o){let a=o[e];if(void 0!==a){if(r.argsByName){const s=r.argsByName.get(e);if(s.ref&&c.isResolvable(a))t._resolve.push(e),i.$_mutateRegister(a);else if(s.normalize&&(a=s.normalize(a),o[e]=a),s.assert){const t=c.validateArg(a,e,s);n(!t,t,"or reference")}}o[e]=a}else delete o[e]}}return r.multi||(i._ruleRemove(t.name,{clone:!1}),i._singleRules.set(t.name,t)),!1===i.$_temp.ruleset&&(i.$_temp.ruleset=null),r.priority?i._rules.unshift(t):i._rules.push(t),i}$_compile(e,t){return l.schema(this.$_root,e,t)}$_createError(e,t,r,n,o,i={}){const a=!1!==i.flags?this._flags:{},s=i.messages?p.merge(this._definition.messages,i.messages):this._definition.messages;return new u.Report(e,t,r,a,s,n,o)}$_getFlag(e){return this._flags[e]}$_getRule(e){return this._singleRules.get(e)}$_mapLabels(e){return e=Array.isArray(e)?e:e.split("."),this._ids.labels(e)}$_match(e,t,r,n){(r=Object.assign({},r)).abortEarly=!0,r._externals=!1,t.snapshot();const o=!g.validate(e,this,t,r,n).errors;return t.restore(),o}$_modify(e){return c.assertOptions(e,["each","once","ref","schema"]),h.schema(this,e)||this}$_mutateRebuild(){return n(!this._inRuleset(),"Cannot add this rule inside a ruleset"),this._refs.reset(),this._ids.reset(),this.$_modify({each:(e,{source:t,name:r,path:n,key:o})=>{const i=this._definition[t][r]&&this._definition[t][r].register;!1!==i&&this.$_mutateRegister(e,{family:i,key:o})}}),this._definition.rebuild&&this._definition.rebuild(this),this.$_temp.ruleset=!1,this}$_mutateRegister(e,{family:t,key:r}={}){this._refs.register(e,t),this._ids.register(e,{key:r})}$_property(e){return this._definition.properties[e]}$_reach(e){return this._ids.reach(e)}$_rootReferences(){return this._refs.roots()}$_setFlag(e,t,r={}){n("_"===e[0]||!this._inRuleset(),"Cannot set flag inside a ruleset");const o=this._definition.flags[e]||{};if(i(t,o.default)&&(t=void 0),i(t,this._flags[e]))return this;const a=!1!==r.clone?this.clone():this;return void 0!==t?(a._flags[e]=t,a.$_mutateRegister(t)):delete a._flags[e],"_"!==e[0]&&(a.$_temp.ruleset=!1),a}$_validate(e,t,r){return g.validate(e,this,t,r)}_assign(e){e.type=this.type,e.$_root=this.$_root,e.$_temp=Object.assign({},this.$_temp),e.$_temp.whens={},e._ids=this._ids.clone(),e._preferences=this._preferences,e._valids=this._valids&&this._valids.clone(),e._invalids=this._invalids&&this._invalids.clone(),e._rules=this._rules.slice(),e._singleRules=o(this._singleRules,{shallow:!0}),e._refs=this._refs.clone(),e._flags=Object.assign({},this._flags),e._cache=null,e.$_terms={};for(const t in this.$_terms)e.$_terms[t]=this.$_terms[t]?this.$_terms[t].slice():null;e.$_super={};for(const t in this.$_super)e.$_super[t]=this._super[t].bind(e);return e}_default(e,t,r={}){return c.assertOptions(r,"literal"),n(void 0!==t,"Missing",e,"value"),n("function"==typeof t||!r.literal,"Only function value supports literal option"),"function"==typeof t&&r.literal&&(t={[c.symbols.literal]:!0,literal:t}),this.$_setFlag(e,t)}_generate(e,t,r){if(!this.$_terms.whens)return{schema:this};const n=[],o=[];for(let s=0;s<this.$_terms.whens.length;++s){const i=this.$_terms.whens[s];if(i.concat){n.push(i.concat),o.push("".concat(s,".concat"));continue}const a=i.ref?i.ref.resolve(e,t,r):e,c=i.is?[i]:i.switch,l=o.length;for(let u=0;u<c.length;++u){const{is:l,then:d,otherwise:f}=c[u],p="".concat(s).concat(i.switch?"."+u:"");if(l.$_match(a,t.nest(l,"".concat(p,".is")),r)){if(d){const i=t.localize([...t.path,"".concat(p,".then")],t.ancestors,t.schemas),{schema:a,id:s}=d._generate(e,i,r);n.push(a),o.push("".concat(p,".then").concat(s?"(".concat(s,")"):""));break}}else if(f){const i=t.localize([...t.path,"".concat(p,".otherwise")],t.ancestors,t.schemas),{schema:a,id:s}=f._generate(e,i,r);n.push(a),o.push("".concat(p,".otherwise").concat(s?"(".concat(s,")"):""));break}}if(i.break&&o.length>l)break}const i=o.join(", ");if(t.mainstay.tracer.debug(t,"rule","when",i),!i)return{schema:this};if(!t.mainstay.tracer.active&&this.$_temp.whens[i])return{schema:this.$_temp.whens[i],id:i};let a=this;this._definition.generate&&(a=this._definition.generate(this,e,t,r));for(const s of n)a=a.concat(s);return this.$_root._tracer&&this.$_root._tracer._combine(a,[this,...n]),this.$_temp.whens[i]=a,{schema:a,id:i}}_inner(e,t,r={}){n(!this._inRuleset(),"Cannot set ".concat(e," inside a ruleset"));const o=this.clone();return o.$_terms[e]&&!r.override||(o.$_terms[e]=[]),r.single?o.$_terms[e].push(t):o.$_terms[e].push(...t),o.$_temp.ruleset=!1,o}_inRuleset(){return null!==this.$_temp.ruleset&&!1!==this.$_temp.ruleset}_ruleRemove(e,t={}){if(!this._singleRules.has(e))return this;const r=!1!==t.clone?this.clone():this;r._singleRules.delete(e);const n=[];for(let o=0;o<r._rules.length;++o){const t=r._rules[o];t.name!==e||t.keep?n.push(t):r._inRuleset()&&o<r.$_temp.ruleset&&--r.$_temp.ruleset}return r._rules=n,r}_values(e,t){c.verifyFlat(e,t.slice(1,-1));const r=this.clone(),o=e[0]===c.symbols.override;if(o&&(e=e.slice(1)),!r[t]&&e.length?r[t]=new v:o&&(r[t]=e.length?new v:null,r.$_mutateRebuild()),!r[t])return r;o&&r[t].override();for(const i of e){n(void 0!==i,"Cannot call allow/valid/invalid with undefined"),n(i!==c.symbols.override,"Override must be the first value");const e="_invalids"===t?"_valids":"_invalids";r[e]&&(r[e].remove(i),r[e].length||(n("_valids"===t||!r._flags.only,"Setting invalid value",i,"leaves schema rejecting all values due to previous valid rule"),r[e]=null)),r[t].add(i,r._refs)}return r}}};y.Base.prototype[c.symbols.any]={version:c.version,compile:l.compile,root:"$_root"},y.Base.prototype.isImmutable=!0,y.Base.prototype.deny=y.Base.prototype.invalid,y.Base.prototype.disallow=y.Base.prototype.invalid,y.Base.prototype.equal=y.Base.prototype.valid,y.Base.prototype.exist=y.Base.prototype.required,y.Base.prototype.not=y.Base.prototype.invalid,y.Base.prototype.options=y.Base.prototype.prefs,y.Base.prototype.preferences=y.Base.prototype.prefs,e.exports=new y.Base},function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const i=r(0),a=r(1),s=r(5),c={};t.Ids=c.Ids=class{constructor(){this._byId=new Map,this._byKey=new Map,this._schemaChain=!1}clone(){const e=new c.Ids;return e._byId=new Map(this._byId),e._byKey=new Map(this._byKey),e._schemaChain=this._schemaChain,e}concat(e){e._schemaChain&&(this._schemaChain=!0);for(const[t,r]of e._byId.entries())i(!this._byKey.has(t),"Schema id conflicts with existing key:",t),this._byId.set(t,r);for(const[t,r]of e._byKey.entries())i(!this._byId.has(t),"Schema key conflicts with existing id:",t),this._byKey.set(t,r)}fork(e,t,r){const n=this._collect(e);n.push({schema:r});const o=n.shift();let s={id:o.id,schema:t(o.schema)};i(a.isSchema(s.schema),"adjuster function failed to return a joi schema type");for(const i of n)s={id:i.id,schema:c.fork(i.schema,s.id,s.schema)};return s.schema}labels(e,t=[]){const r=e[0],n=this._get(r);if(!n)return[...t,...e].join(".");const o=e.slice(1);return t=[...t,n.schema._flags.label||r],o.length?n.schema._ids.labels(o,t):t.join(".")}reach(e,t=[]){const r=e[0],n=this._get(r);i(n,"Schema does not contain path",[...t,...e].join("."));const o=e.slice(1);return o.length?n.schema._ids.reach(o,[...t,r]):n.schema}register(e,{key:t}={}){if(!e||!a.isSchema(e))return;(e.$_property("schemaChain")||e._ids._schemaChain)&&(this._schemaChain=!0);const r=e._flags.id;if(r){const t=this._byId.get(r);i(!t||t.schema===e,"Cannot add different schemas with the same id:",r),i(!this._byKey.has(r),"Schema id conflicts with existing key:",r),this._byId.set(r,{schema:e,id:r})}t&&(i(!this._byKey.has(t),"Schema already contains key:",t),i(!this._byId.has(t),"Schema key conflicts with existing id:",t),this._byKey.set(t,{schema:e,id:t}))}reset(){this._byId=new Map,this._byKey=new Map,this._schemaChain=!1}_collect(e,t=[],r=[]){const n=e[0],o=this._get(n);i(o,"Schema does not contain path",[...t,...e].join(".")),r=[o,...r];const a=e.slice(1);return a.length?o.schema._ids._collect(a,[...t,n],r):r}_get(e){return this._byId.get(e)||this._byKey.get(e)}},c.fork=function(e,r,n){const o=t.schema(e,{each:(e,{key:t})=>{if(r===(e._flags.id||t))return n},ref:!1});return o?o.$_mutateRebuild():e},t.schema=function(e,t){let r;for(const n in e._flags){if("_"===n[0])continue;const o=c.scan(e._flags[n],{source:"flags",name:n},t);void 0!==o&&(r=r||e.clone(),r._flags[n]=o)}for(let n=0;n<e._rules.length;++n){const o=e._rules[n],i=c.scan(o.args,{source:"rules",name:o.name},t);if(void 0!==i){r=r||e.clone();const t=Object.assign({},o);t.args=i,r._rules[n]=t,r._singleRules.get(o.name)===o&&r._singleRules.set(o.name,t)}}for(const n in e.$_terms){if("_"===n[0])continue;const o=c.scan(e.$_terms[n],{source:"terms",name:n},t);void 0!==o&&(r=r||e.clone(),r.$_terms[n]=o)}return r},c.scan=function(e,t,r,i,l){const u=i||[];if(null===e||"object"!=typeof e)return;let d;if(Array.isArray(e)){for(let n=0;n<e.length;++n){const o="terms"===t.source&&"keys"===t.name&&e[n].key,i=c.scan(e[n],t,r,[n,...u],o);void 0!==i&&(d=d||e.slice(),d[n]=i)}return d}if(!1!==r.schema&&a.isSchema(e)||!1!==r.ref&&s.isRef(e)){const i=r.each(e,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach((function(t){o(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},t,{path:u,key:l}));if(i===e)return;return i}for(const n in e){if("_"===n[0])continue;const o=c.scan(e[n],t,r,[n,...u],l);void 0!==o&&(d=d||Object.assign({},e),d[n]=o)}return d}},function(e,t,r){"use strict";const n=r(0),o=r(2),i=r(37),a=r(6),s=r(1),c=r(4),l=r(38),u={result:Symbol("result")};t.entry=function(e,t,r){let o=s.defaults;r&&(n(void 0===r.warnings,"Cannot override warnings preference in synchronous validation"),o=s.preferences(s.defaults,r));const i=u.entry(e,t,o);n(!i.mainstay.externals.length,"Schema with external rules must use validateAsync()");const a={value:i.value};return i.error&&(a.error=i.error),i.mainstay.warnings.length&&(a.warning=c.details(i.mainstay.warnings)),i.mainstay.debug&&(a.debug=i.mainstay.debug),a},t.entryAsync=async function(e,t,r){let n=s.defaults;r&&(n=s.preferences(s.defaults,r));const o=u.entry(e,t,n),i=o.mainstay;if(o.error)throw i.debug&&(o.error.debug=i.debug),o.error;if(i.externals.length){let t=o.value;for(const{method:r,path:n,label:o}of i.externals){let i,s,c=t;n.length&&(i=n[n.length-1],s=a(t,n.slice(0,-1)),c=s[i]);try{const e=await r(c);if(void 0===e||e===c)continue;s?s[i]=e:t=e}catch(e){throw e.message+=" (".concat(o,")"),e}}o.value=t}if(!n.warnings&&!n.debug)return o.value;const l={value:o.value};return i.warnings.length&&(l.warning=c.details(i.warnings)),i.debug&&(l.debug=i.debug),l},u.entry=function(e,r,n){const{tracer:o,cleanup:i}=u.tracer(r,n),a={externals:[],warnings:[],tracer:o,debug:n.debug?[]:null,links:r._ids._schemaChain?new Map:null},s=r._ids._schemaChain?[{schema:r}]:null,d=new l([],[],{mainstay:a,schemas:s}),f=t.validate(e,r,d,n);i&&r.$_root.untrace();const p=c.process(f.errors,e,n);return{value:f.value,error:p,mainstay:a}},u.tracer=function(e,t){return e.$_root._tracer?{tracer:e.$_root._tracer._register(e)}:t.debug?(n(e.$_root.trace,"Debug mode not supported"),{tracer:e.$_root.trace()._register(e),cleanup:!0}):{tracer:u.ignore}},t.validate=function(e,t,r,n,o={}){if(t.$_terms.whens&&(t=t._generate(e,r,n).schema),t._preferences&&(n=u.prefs(t,n)),t._cache&&n.cache){const n=t._cache.get(e);if(r.mainstay.tracer.debug(r,"validate","cached",!!n),n)return n}const i=(o,i,a)=>t.$_createError(o,e,i,a||r,n),a={original:e,prefs:n,schema:t,state:r,error:i,warn:(e,t,n)=>r.mainstay.warnings.push(i(e,t,n)),message:(o,i)=>t.$_createError("custom",e,i,r,n,{messages:o})};r.mainstay.tracer.entry(t,r);const c=t._definition;if(c.prepare&&void 0!==e&&n.convert){const t=c.prepare(e,a);if(t){if(r.mainstay.tracer.value(r,"prepare",e,t.value),t.errors)return u.finalize(t.value,[].concat(t.errors),a);e=t.value}}if(c.coerce&&void 0!==e&&n.convert&&(!c.coerce.from||c.coerce.from.includes(typeof e))){const t=c.coerce.method(e,a);if(t){if(r.mainstay.tracer.value(r,"coerced",e,t.value),t.errors)return u.finalize(t.value,[].concat(t.errors),a);e=t.value}}const l=t._flags.empty;l&&l.$_match(u.trim(e,t),r.nest(l),s.defaults)&&(r.mainstay.tracer.value(r,"empty",e,void 0),e=void 0);const d=o.presence||t._flags.presence||(t._flags._endedSwitch?"ignore":n.presence);if(void 0===e){if("forbidden"===d)return u.finalize(e,null,a);if("required"===d)return u.finalize(e,[t.$_createError("any.required",e,null,r,n)],a);if("optional"===d){if(t._flags.default!==s.symbols.deepDefault)return u.finalize(e,null,a);r.mainstay.tracer.value(r,"default",e,{}),e={}}}else if("forbidden"===d)return u.finalize(e,[t.$_createError("any.unknown",e,null,r,n)],a);const f=[];if(t._valids){const o=t._valids.get(e,r,n,t._flags.insensitive);if(o)return n.convert&&(r.mainstay.tracer.value(r,"valids",e,o.value),e=o.value),r.mainstay.tracer.filter(t,r,"valid",o),u.finalize(e,null,a);if(t._flags.only){const o=t.$_createError("any.only",e,{valids:t._valids.values({display:!0})},r,n);if(n.abortEarly)return u.finalize(e,[o],a);f.push(o)}}if(t._invalids){const o=t._invalids.get(e,r,n,t._flags.insensitive);if(o){r.mainstay.tracer.filter(t,r,"invalid",o);const i=t.$_createError("any.invalid",e,{invalids:t._invalids.values({display:!0})},r,n);if(n.abortEarly)return u.finalize(e,[i],a);f.push(i)}}if(c.validate){const t=c.validate(e,a);if(t&&(r.mainstay.tracer.value(r,"base",e,t.value),e=t.value,t.errors)){if(!Array.isArray(t.errors))return f.push(t.errors),u.finalize(e,f,a);if(t.errors.length)return f.push(...t.errors),u.finalize(e,f,a)}}return t._rules.length?u.rules(e,f,a):u.finalize(e,f,a)},u.rules=function(e,t,r){const{schema:n,state:o,prefs:i}=r;for(const a of n._rules){const c=n._definition.rules[a.method];if(c.convert&&i.convert){o.mainstay.tracer.log(n,o,"rule",a.name,"full");continue}let l,d=a.args;if(a._resolve.length){d=Object.assign({},d);for(const t of a._resolve){const r=c.argsByName.get(t),a=d[t].resolve(e,o,i),u=r.normalize?r.normalize(a):a,f=s.validateArg(u,null,r);if(f){l=n.$_createError("any.ref",a,{arg:t,ref:d[t],reason:f},o,i);break}d[t]=u}}l=l||c.validate(e,r,d,a);const f=u.rule(l,a);if(f.errors){if(o.mainstay.tracer.log(n,o,"rule",a.name,"error"),a.warn){o.mainstay.warnings.push(...f.errors);continue}if(i.abortEarly)return u.finalize(e,f.errors,r);t.push(...f.errors)}else o.mainstay.tracer.log(n,o,"rule",a.name,"pass"),o.mainstay.tracer.value(o,"rule",e,f.value,a.name),e=f.value}return u.finalize(e,t,r)},u.rule=function(e,t){return e instanceof c.Report?(u.error(e,t),{errors:[e],value:null}):Array.isArray(e)&&(e[0]instanceof c.Report||e[0]instanceof Error)?(e.forEach(e=>u.error(e,t)),{errors:e,value:null}):{errors:null,value:e}},u.error=function(e,t){return t.message&&e._setTemplate(t.message),e},u.finalize=function(e,t,r){t=t||[];const{schema:o,state:i,prefs:a}=r;if(t.length){const n=u.default("failover",void 0,t,r);void 0!==n&&(i.mainstay.tracer.value(i,"failover",e,n),e=n,t=[])}if(t.length&&o._flags.error)if("function"==typeof o._flags.error){t=o._flags.error(t),Array.isArray(t)||(t=[t]);for(const e of t)n(e instanceof Error||e instanceof c.Report,"error() must return an Error object")}else t=[o._flags.error];if(void 0===e){const n=u.default("default",e,t,r);i.mainstay.tracer.value(i,"default",e,n),e=n}if(o._flags.cast&&void 0!==e){const t=o._definition.cast[o._flags.cast];if(t.from(e)){const n=t.to(e,r);i.mainstay.tracer.value(i,"cast",e,n,o._flags.cast),e=n}}if(o.$_terms.externals&&a.externals&&!1!==a._externals)for(const{method:n}of o.$_terms.externals)i.mainstay.externals.push({method:n,path:i.path,label:c.label(o._flags,i,a)});const s={value:e,errors:t.length?t:null};return o._flags.result&&(s.value="strip"===o._flags.result?void 0:r.original,i.mainstay.tracer.value(i,o._flags.result,e,s.value),i.shadow(e,o._flags.result)),o._cache&&!1!==a.cache&&!o._refs.length&&o._cache.set(r.original,s),s},u.prefs=function(e,t){const r=t===s.defaults;return r&&e._preferences[s.symbols.prefs]?e._preferences[s.symbols.prefs]:(t=s.preferences(t,e._preferences),r&&(e._preferences[s.symbols.prefs]=t),t)},u.default=function(e,t,r,n){const{schema:i,state:a,prefs:c}=n,l=i._flags[e];if(c.noDefaults||void 0===l)return t;if(a.mainstay.tracer.log(i,a,"rule",e,"full"),!l)return l;if("function"==typeof l){const s=l.length?[o(a.ancestors[0]),n]:[];try{return l(...s)}catch(t){return void r.push(i.$_createError("any.".concat(e),null,{error:t},a,c))}}return"object"!=typeof l?l:l[s.symbols.literal]?l.literal:s.isResolvable(l)?l.resolve(t,a,c):o(l)},u.trim=function(e,t){if("string"!=typeof e)return e;const r=t.$_getRule("trim");return r&&r.args.enabled?e.trim():e},u.ignore={active:!1,debug:i,entry:i,filter:i,log:i,resolve:i,value:i}},function(e,t,r){"use strict";e.exports=function(){}},function(e,t,r){"use strict";const n=r(2),o=r(6),i=r(1),a={value:Symbol("value")};e.exports=a.State=class{constructor(e,t,r){this.path=e,this.ancestors=t,this.mainstay=r.mainstay,this.schemas=r.schemas,this.debug=null}localize(e,t=null,r=null){const n=new a.State(e,t,this);return r&&n.schemas&&(n.schemas=[a.schemas(r),...n.schemas]),n}nest(e,t){const r=new a.State(this.path,this.ancestors,this);return r.schemas=r.schemas&&[a.schemas(e),...r.schemas],r.debug=t,r}shadow(e,t){this.mainstay.shadow=this.mainstay.shadow||new a.Shadow,this.mainstay.shadow.set(this.path,e,t)}snapshot(){this.mainstay.shadow&&(this._snapshot=n(this.mainstay.shadow.node(this.path)))}restore(){this.mainstay.shadow&&(this.mainstay.shadow.override(this.path,this._snapshot),this._snapshot=void 0)}},a.schemas=function(e){return i.isSchema(e)?{schema:e}:e},a.Shadow=class{constructor(){this._values=null}set(e,t,r){if(!e.length)return;if("strip"===r&&"number"==typeof e[e.length-1])return;this._values=this._values||new Map;let n=this._values;for(let o=0;o<e.length;++o){const t=e[o];let r=n.get(t);r||(r=new Map,n.set(t,r)),n=r}n[a.value]=t}get(e){const t=this.node(e);if(t)return t[a.value]}node(e){if(this._values)return o(this._values,e,{iterables:!0})}override(e,t){if(!this._values)return;const r=e.slice(0,-1),n=e[e.length-1],i=o(this._values,r,{iterables:!0});t?i.set(n,t):i&&i.delete(n)}}},function(e,t,r){"use strict";const n=r(0),o=r(10),i=r(6),a=r(3),s=r(1),c=r(8),l={};e.exports=a.extend({type:"array",flags:{single:{default:!1},sparse:{default:!1}},terms:{items:{init:[],manifest:"schema"},ordered:{init:[],manifest:"schema"},_exclusions:{init:[]},_inclusions:{init:[]},_requireds:{init:[]}},coerce:{from:"object",method(e,{schema:t,state:r,prefs:n}){if(!Array.isArray(e))return;const o=t.$_getRule("sort");return o?l.sort(t,e,o.args.options,r,n):void 0}},validate(e,{schema:t,error:r}){if(!Array.isArray(e)){if(t._flags.single){const t=[e];return t[s.symbols.arraySingle]=!0,{value:t}}return{errors:r("array.base")}}if(t.$_getRule("items")||t.$_terms.externals)return{value:e.slice()}},rules:{has:{method(e){e=this.$_compile(e,{appendPath:!0});const t=this.$_addRule({name:"has",args:{schema:e}});return t.$_mutateRegister(e),t},validate(e,{state:t,prefs:r,error:n},{schema:o}){const i=[e,...t.ancestors];for(let s=0;s<e.length;++s){const n=t.localize([...t.path,s],i,o);if(o.$_match(e[s],n,r))return e}const a=o._flags.label;return a?n("array.hasKnown",{patternLabel:a}):n("array.hasUnknown",null)},multi:!0},items:{method(...e){s.verifyFlat(e,"items");const t=this.$_addRule("items");for(let r=0;r<e.length;++r){const n=s.tryWithPath(()=>this.$_compile(e[r]),r,{append:!0});t.$_terms.items.push(n)}return t.$_mutateRebuild()},validate(e,{schema:t,error:r,state:n,prefs:o}){const i=t.$_terms._requireds.slice(),a=t.$_terms.ordered.slice(),c=[...t.$_terms._inclusions,...i],u=!e[s.symbols.arraySingle];delete e[s.symbols.arraySingle];const d=[];let f=e.length;for(let s=0;s<f;++s){const p=e[s];let h=!1,b=!1;const m=u?s:new Number(s),g=[...n.path,m];if(!t._flags.sparse&&void 0===p){if(d.push(r("array.sparse",{key:m,path:g,pos:s,value:void 0},n.localize(g))),o.abortEarly)return d;a.shift();continue}const v=[e,...n.ancestors];for(const e of t.$_terms._exclusions)if(e.$_match(p,n.localize(g,v,e),o,{presence:"ignore"})){if(d.push(r("array.excludes",{pos:s,value:p},n.localize(g))),o.abortEarly)return d;h=!0,a.shift();break}if(h)continue;if(t.$_terms.ordered.length){if(a.length){const i=a.shift(),c=i.$_validate(p,n.localize(g,v,i),o);if(c.errors){if(d.push(...c.errors),o.abortEarly)return d}else if("strip"===i._flags.result)l.fastSplice(e,s),--s,--f;else{if(!t._flags.sparse&&void 0===c.value){if(d.push(r("array.sparse",{key:m,path:g,pos:s,value:void 0},n.localize(g))),o.abortEarly)return d;continue}e[s]=c.value}continue}if(!t.$_terms.items.length){if(d.push(r("array.orderedLength",{pos:s,limit:t.$_terms.ordered.length})),o.abortEarly)return d;break}}const y=[];let w=i.length;for(let a=0;a<w;++a){const c=n.localize(g,v,i[a]);c.snapshot();const u=i[a].$_validate(p,c,o);if(y[a]=u,!u.errors){if(e[s]=u.value,b=!0,l.fastSplice(i,a),--a,--w,!t._flags.sparse&&void 0===u.value&&(d.push(r("array.sparse",{key:m,path:g,pos:s,value:void 0},n.localize(g))),o.abortEarly))return d;break}c.restore()}if(b)continue;const x=o.stripUnknown&&!!o.stripUnknown.arrays||!1;w=c.length;for(const a of c){let c;const u=i.indexOf(a);if(-1!==u)c=y[u];else{const i=n.localize(g,v,a);if(i.snapshot(),c=a.$_validate(p,i,o),!c.errors){"strip"===a._flags.result?(l.fastSplice(e,s),--s,--f):t._flags.sparse||void 0!==c.value?e[s]=c.value:(d.push(r("array.sparse",{key:m,path:g,pos:s,value:void 0},n.localize(g))),h=!0),b=!0;break}i.restore()}if(1===w){if(x){l.fastSplice(e,s),--s,--f,b=!0;break}if(d.push(...c.errors),o.abortEarly)return d;h=!0;break}}if(!h&&t.$_terms._inclusions.length&&!b){if(x){l.fastSplice(e,s),--s,--f;continue}if(d.push(r("array.includes",{pos:s,value:p},n.localize(g))),o.abortEarly)return d}}return i.length&&l.fillMissedErrors(t,d,i,e,n,o),a.length&&l.fillOrderedErrors(t,d,a,e,n,o),d.length?d:e},priority:!0,manifest:!1},length:{method(e){return this.$_addRule({name:"length",args:{limit:e},operator:"="})},validate:(e,t,{limit:r},{name:n,operator:o,args:i})=>s.compare(e.length,r,o)?e:t.error("array."+n,{limit:i.limit,value:e}),args:[{name:"limit",ref:!0,assert:s.limit,message:"must be a positive integer"}]},max:{method(e){return this.$_addRule({name:"max",method:"length",args:{limit:e},operator:"<="})}},min:{method(e){return this.$_addRule({name:"min",method:"length",args:{limit:e},operator:">="})}},ordered:{method(...e){s.verifyFlat(e,"ordered");const t=this.$_addRule("items");for(let r=0;r<e.length;++r){const n=s.tryWithPath(()=>this.$_compile(e[r]),r,{append:!0});l.validateSingle(n,t),t.$_mutateRegister(n),t.$_terms.ordered.push(n)}return t.$_mutateRebuild()}},single:{method(e){const t=void 0===e||!!e;return n(!t||!this._flags._arrayItems,"Cannot specify single rule when array has array items"),this.$_setFlag("single",t)}},sort:{method(e={}){s.assertOptions(e,["by","order"]);const t={order:e.order||"ascending"};return e.by&&(t.by=c.ref(e.by,{ancestor:0}),n(!t.by.ancestor,"Cannot sort by ancestor")),this.$_addRule({name:"sort",args:{options:t}})},validate(e,{error:t,state:r,prefs:n,schema:o},{options:i}){const{value:a,errors:s}=l.sort(o,e,i,r,n);if(s)return s;for(let c=0;c<e.length;++c)if(e[c]!==a[c])return t("array.sort",{order:i.order,by:i.by?i.by.key:"value"});return e},convert:!0},sparse:{method(e){const t=void 0===e||!!e;return this._flags.sparse===t?this:(t?this.clone():this.$_addRule("items")).$_setFlag("sparse",t,{clone:!1})}},unique:{method(e,t={}){n(!e||"function"==typeof e||"string"==typeof e,"comparator must be a function or a string"),s.assertOptions(t,["ignoreUndefined","separator"]);const r={name:"unique",args:{options:t,comparator:e}};if(e)if("string"==typeof e){const n=s.default(t.separator,".");r.path=n?e.split(n):[e]}else r.comparator=e;return this.$_addRule(r)},validate(e,{state:t,error:r,schema:a},{comparator:s,options:c},{comparator:l,path:u}){const d={string:Object.create(null),number:Object.create(null),undefined:Object.create(null),boolean:Object.create(null),object:new Map,function:new Map,custom:new Map},f=l||o,p=c.ignoreUndefined;for(let o=0;o<e.length;++o){const a=u?i(e[o],u):e[o],c=l?d.custom:d[typeof a];if(n(c,"Failed to find unique map container for type",typeof a),c instanceof Map){const n=c.entries();let i;for(;!(i=n.next()).done;)if(f(i.value[0],a)){const n=t.localize([...t.path,o],[e,...t.ancestors]),a={pos:o,value:e[o],dupePos:i.value[1],dupeValue:e[i.value[1]]};return u&&(a.path=s),r("array.unique",a,n)}c.set(a,o)}else{if((!p||void 0!==a)&&void 0!==c[a]){const n={pos:o,value:e[o],dupePos:c[a],dupeValue:e[c[a]]};return u&&(n.path=s),r("array.unique",n,t.localize([...t.path,o],[e,...t.ancestors]))}c[a]=o}}return e},args:["comparator","options"],multi:!0}},cast:{set:{from:Array.isArray,to:(e,t)=>new Set(e)}},rebuild(e){e.$_terms._inclusions=[],e.$_terms._exclusions=[],e.$_terms._requireds=[];for(const t of e.$_terms.items)l.validateSingle(t,e),"required"===t._flags.presence?e.$_terms._requireds.push(t):"forbidden"===t._flags.presence?e.$_terms._exclusions.push(t):e.$_terms._inclusions.push(t);for(const t of e.$_terms.ordered)l.validateSingle(t,e)},manifest:{build:(e,t)=>(t.items&&(e=e.items(...t.items)),t.ordered&&(e=e.ordered(...t.ordered)),e)},messages:{"array.base":"{{#label}} must be an array","array.excludes":"{{#label}} contains an excluded value","array.hasKnown":'{{#label}} does not contain at least one required match for type "{#patternLabel}"',"array.hasUnknown":"{{#label}} does not contain at least one required match","array.includes":"{{#label}} does not match any of the allowed types","array.includesRequiredBoth":"{{#label}} does not contain {{#knownMisses}} and {{#unknownMisses}} other required value(s)","array.includesRequiredKnowns":"{{#label}} does not contain {{#knownMisses}}","array.includesRequiredUnknowns":"{{#label}} does not contain {{#unknownMisses}} required value(s)","array.length":"{{#label}} must contain {{#limit}} items","array.max":"{{#label}} must contain less than or equal to {{#limit}} items","array.min":"{{#label}} must contain at least {{#limit}} items","array.orderedLength":"{{#label}} must contain at most {{#limit}} items","array.sort":"{{#label}} must be sorted in {#order} order by {{#by}}","array.sort.mismatching":"{{#label}} cannot be sorted due to mismatching types","array.sort.unsupported":"{{#label}} cannot be sorted due to unsupported type {#type}","array.sparse":"{{#label}} must not be a sparse array item","array.unique":"{{#label}} contains a duplicate value"}}),l.fillMissedErrors=function(e,t,r,n,o,i){const a=[];let s=0;for(const c of r){const e=c._flags.label;e?a.push(e):++s}a.length?s?t.push(e.$_createError("array.includesRequiredBoth",n,{knownMisses:a,unknownMisses:s},o,i)):t.push(e.$_createError("array.includesRequiredKnowns",n,{knownMisses:a},o,i)):t.push(e.$_createError("array.includesRequiredUnknowns",n,{unknownMisses:s},o,i))},l.fillOrderedErrors=function(e,t,r,n,o,i){const a=[];for(const s of r)"required"===s._flags.presence&&a.push(s);a.length&&l.fillMissedErrors(e,t,a,n,o,i)},l.fastSplice=function(e,t){let r=t;for(;r<e.length;)e[r++]=e[r];--e.length},l.validateSingle=function(e,t){("array"===e.type||e._flags._arrayItems)&&(n(!t._flags.single,"Cannot specify array item with single rule enabled"),t.$_setFlag("_arrayItems",!0,{clone:!1}))},l.sort=function(e,t,r,n,o){const i="ascending"===r.order?1:-1,a=-1*i,s=i,c=(c,u)=>{let d=l.compare(c,u,a,s);if(null!==d)return d;if(r.by&&(c=r.by.resolve(c,n,o),u=r.by.resolve(u,n,o)),d=l.compare(c,u,a,s),null!==d)return d;const f=typeof c;if(f!==typeof u)throw e.$_createError("array.sort.mismatching",t,null,n,o);if("number"!==f&&"string"!==f)throw e.$_createError("array.sort.unsupported",t,{type:f},n,o);return"number"===f?(c-u)*i:c<u?a:s};try{return{value:t.slice().sort(c)}}catch(e){return{errors:e}}},l.compare=function(e,t,r,n){return e===t?0:void 0===e?1:void 0===t?-1:null===e?n:null===t?r:null}},function(e,t,r){"use strict";const n=r(0),o=r(3),i=r(1),a=r(21),s={isBool:function(e){return"boolean"==typeof e}};e.exports=o.extend({type:"boolean",flags:{sensitive:{default:!1}},terms:{falsy:{init:null,manifest:"values"},truthy:{init:null,manifest:"values"}},coerce(e,{schema:t}){if("boolean"!=typeof e){if("string"==typeof e){const r=t._flags.sensitive?e:e.toLowerCase();e="true"===r||"false"!==r&&e}return"boolean"!=typeof e&&(e=t.$_terms.truthy&&t.$_terms.truthy.has(e,null,null,!t._flags.sensitive)||(!t.$_terms.falsy||!t.$_terms.falsy.has(e,null,null,!t._flags.sensitive))&&e),{value:e}}},validate(e,{error:t}){if("boolean"!=typeof e)return{value:e,errors:t("boolean.base")}},rules:{truthy:{method(...e){i.verifyFlat(e,"truthy");const t=this.clone();t.$_terms.truthy=t.$_terms.truthy||new a;for(let r=0;r<e.length;++r){const o=e[r];n(void 0!==o,"Cannot call truthy with undefined"),t.$_terms.truthy.add(o)}return t}},falsy:{method(...e){i.verifyFlat(e,"falsy");const t=this.clone();t.$_terms.falsy=t.$_terms.falsy||new a;for(let r=0;r<e.length;++r){const o=e[r];n(void 0!==o,"Cannot call falsy with undefined"),t.$_terms.falsy.add(o)}return t}},sensitive:{method(e=!0){return this.$_setFlag("sensitive",e)}}},cast:{number:{from:s.isBool,to:(e,t)=>e?1:0},string:{from:s.isBool,to:(e,t)=>e?"true":"false"}},manifest:{build:(e,t)=>(t.truthy&&(e=e.truthy(...t.truthy)),t.falsy&&(e=e.falsy(...t.falsy)),e)},messages:{"boolean.base":"{{#label}} must be a boolean"}})},function(e,t,r){"use strict";const n=r(0),o=r(3),i=r(1),a=r(7),s={isDate:function(e){return e instanceof Date}};e.exports=o.extend({type:"date",coerce:{from:["number","string"],method:(e,{schema:t})=>({value:s.parse(e,t._flags.format)||e})},validate(e,{schema:t,error:r,prefs:n}){if(e instanceof Date&&!isNaN(e.getTime()))return;const o=t._flags.format;return n.convert&&o&&"string"==typeof e?{value:e,errors:r("date.format",{format:o})}:{value:e,errors:r("date.base")}},rules:{compare:{method:!1,validate(e,t,{date:r},{name:n,operator:o,args:a}){const s="now"===r?Date.now():r.getTime();return i.compare(e.getTime(),s,o)?e:t.error("date."+n,{limit:a.date,value:e})},args:[{name:"date",ref:!0,normalize:e=>"now"===e?e:s.parse(e),assert:e=>null!==e,message:"must have a valid date format"}]},format:{method(e){return n(["iso","javascript","unix"].includes(e),"Unknown date format",e),this.$_setFlag("format",e)}},greater:{method(e){return this.$_addRule({name:"greater",method:"compare",args:{date:e},operator:">"})}},iso:{method(){return this.format("iso")}},less:{method(e){return this.$_addRule({name:"less",method:"compare",args:{date:e},operator:"<"})}},max:{method(e){return this.$_addRule({name:"max",method:"compare",args:{date:e},operator:"<="})}},min:{method(e){return this.$_addRule({name:"min",method:"compare",args:{date:e},operator:">="})}},timestamp:{method(e="javascript"){return n(["javascript","unix"].includes(e),'"type" must be one of "javascript, unix"'),this.format(e)}}},cast:{number:{from:s.isDate,to:(e,t)=>e.getTime()},string:{from:s.isDate,to:(e,{prefs:t})=>a.date(e,t)}},messages:{"date.base":"{{#label}} must be a valid date","date.format":'{{#label}} must be in {msg("date.format." + #format) || #format} format',"date.greater":'{{#label}} must be greater than "{{#limit}}"',"date.less":'{{#label}} must be less than "{{#limit}}"',"date.max":'{{#label}} must be less than or equal to "{{#limit}}"',"date.min":'{{#label}} must be larger than or equal to "{{#limit}}"',"date.format.iso":"ISO 8601 date","date.format.javascript":"timestamp or number of milliseconds","date.format.unix":"timestamp or number of seconds"}}),s.parse=function(e,t){if(e instanceof Date)return e;if("string"!=typeof e&&(isNaN(e)||!isFinite(e)))return null;if(/^\s*$/.test(e))return null;if("iso"===t)return i.isIsoDate(e)?s.date(e.toString()):null;const r=e;if("string"==typeof e&&/^[+-]?\d+(\.\d+)?$/.test(e)&&(e=parseFloat(e)),t){if("javascript"===t)return s.date(1*e);if("unix"===t)return s.date(1e3*e);if("string"==typeof r)return null}return s.date(e)},s.date=function(e){const t=new Date(e);return isNaN(t.getTime())?null:t}},function(e,t,r){"use strict";const n=r(0),o=r(22);e.exports=o.extend({type:"function",properties:{typeof:"function"},rules:{arity:{method(e){return n(Number.isSafeInteger(e)&&e>=0,"n must be a positive integer"),this.$_addRule({name:"arity",args:{n:e}})},validate:(e,t,{n:r})=>e.length===r?e:t.error("function.arity",{n:r})},class:{method(){return this.$_addRule("class")},validate:(e,t)=>/^\s*class\s/.test(e.toString())?e:t.error("function.class",{value:e})},minArity:{method(e){return n(Number.isSafeInteger(e)&&e>0,"n must be a strict positive integer"),this.$_addRule({name:"minArity",args:{n:e}})},validate:(e,t,{n:r})=>e.length>=r?e:t.error("function.minArity",{n:r})},maxArity:{method(e){return n(Number.isSafeInteger(e)&&e>=0,"n must be a positive integer"),this.$_addRule({name:"maxArity",args:{n:e}})},validate:(e,t,{n:r})=>e.length<=r?e:t.error("function.maxArity",{n:r})}},messages:{"function.arity":"{{#label}} must have an arity of {{#n}}","function.class":"{{#label}} must be a class","function.maxArity":"{{#label}} must have an arity lesser or equal to {{#n}}","function.minArity":"{{#label}} must have an arity greater or equal to {{#n}}"}})},function(e,t,r){"use strict";const n=r(0),o=r(2),i=r(20),a=r(6),s={};e.exports=function(e,t,r={}){if(n(e&&"object"==typeof e,"Invalid defaults value: must be an object"),n(!t||!0===t||"object"==typeof t,"Invalid source value: must be true, falsy or an object"),n("object"==typeof r,"Invalid options: must be an object"),!t)return null;if(r.shallow)return s.applyToDefaultsWithShallow(e,t,r);const a=o(e);if(!0===t)return a;const c=void 0!==r.nullOverride&&r.nullOverride;return i(a,t,{nullOverride:c,mergeArrays:!1})},s.applyToDefaultsWithShallow=function(e,t,r){const c=r.shallow;n(Array.isArray(c),"Invalid keys");const l=new Map,u=!0===t?null:new Set;for(let n of c){n=Array.isArray(n)?n:n.split(".");const r=a(e,n);r&&"object"==typeof r?l.set(r,u&&a(t,n)||r):u&&u.add(n)}const d=o(e,{},l);if(!u)return d;for(const n of u)s.reachCopy(d,t,n);return i(d,t,{mergeArrays:!1,nullOverride:!1})},s.reachCopy=function(e,t,r){for(const i of r){if(!(i in t))return;t=t[i]}const n=t;let o=e;for(let i=0;i<r.length-1;++i){const e=r[i];"object"!=typeof o[e]&&(o[e]={}),o=o[e]}o[r[r.length-1]]=n}},function(e,t,r){"use strict";const n=r(0),o={};t.Sorter=class{constructor(){this._items=[],this.nodes=[]}add(e,t){const r=[].concat((t=t||{}).before||[]),o=[].concat(t.after||[]),i=t.group||"?",a=t.sort||0;n(!r.includes(i),"Item cannot come before itself: ".concat(i)),n(!r.includes("?"),"Item cannot come before unassociated items"),n(!o.includes(i),"Item cannot come after itself: ".concat(i)),n(!o.includes("?"),"Item cannot come after unassociated items"),Array.isArray(e)||(e=[e]);for(const n of e){const e={seq:this._items.length,sort:a,before:r,after:o,group:i,node:n};this._items.push(e)}const s=this._sort();return n(s,"item","?"!==i?"added into group ".concat(i):"","created a dependencies error"),this.nodes}merge(e){Array.isArray(e)||(e=[e]);for(const r of e)if(r)for(const e of r._items)this._items.push(Object.assign({},e));this._items.sort(o.mergeSort);for(let r=0;r<this._items.length;++r)this._items[r].seq=r;const t=this._sort();return n(t,"merge created a dependencies error"),this.nodes}_sort(){const e={},t=Object.create(null),r=Object.create(null);for(const s of this._items){const n=s.seq,o=s.group;r[o]=r[o]||[],r[o].push(n),e[n]=s.before;for(const e of s.after)t[e]=t[e]||[],t[e].push(n)}for(const s in e){const t=[];for(const n in e[s]){const o=e[s][n];r[o]=r[o]||[],t.push(...r[o])}e[s]=t}for(const s in t)if(r[s])for(const n of r[s])e[n].push(...t[s]);const n={};for(const s in e){const t=e[s];for(const e of t)n[e]=n[e]||[],n[e].push(s)}const o={},i=[];for(let s=0;s<this._items.length;++s){let e=s;if(n[s]){e=null;for(let t=0;t<this._items.length;++t){if(!0===o[t])continue;n[t]||(n[t]=[]);const r=n[t].length;let i=0;for(let e=0;e<r;++e)o[n[t][e]]&&++i;if(i===r){e=t;break}}}null!==e&&(o[e]=!0,i.push(e))}if(i.length!==this._items.length)return!1;const a={};for(const s of this._items)a[s.seq]=s;this._items=[],this.nodes=[];for(const s of i){const e=a[s];this.nodes.push(e.node),this._items.push(e)}return!0}},o.mergeSort=(e,t)=>e.sort===t.sort?0:e.sort<t.sort?-1:1},function(e,t,r){"use strict";const n=r(0),o=r(3),i=r(1),a=r(8),s=r(4),c={};e.exports=o.extend({type:"link",properties:{schemaChain:!0},terms:{link:{init:null,manifest:"single",register:!1}},args:(e,t)=>e.ref(t),validate(e,{schema:t,state:r,prefs:o}){n(t.$_terms.link,"Uninitialized link schema");const i=c.generate(t,e,r,o),a=t.$_terms.link[0].ref;return i.$_validate(e,r.nest(i,"link:".concat(a.display,":").concat(i.type)),o)},generate:(e,t,r,n)=>c.generate(e,t,r,n),rules:{ref:{method(e){n(!this.$_terms.link,"Cannot reinitialize schema"),e=a.ref(e),n("value"===e.type||"local"===e.type,"Invalid reference type:",e.type),n("local"===e.type||"root"===e.ancestor||e.ancestor>0,"Link cannot reference itself");const t=this.clone();return t.$_terms.link=[{ref:e}],t}},relative:{method(e=!0){return this.$_setFlag("relative",e)}}},overrides:{concat(e){n(this.$_terms.link,"Uninitialized link schema"),n(i.isSchema(e),"Invalid schema object"),n("link"!==e.type,"Cannot merge type link with another link");const t=this.clone();return t.$_terms.whens||(t.$_terms.whens=[]),t.$_terms.whens.push({concat:e}),t.$_mutateRebuild()}},manifest:{build:(e,t)=>(n(t.link,"Invalid link description missing link"),e.ref(t.link))}}),c.generate=function(e,t,r,n){let o=r.mainstay.links.get(e);if(o)return o._generate(t,r,n).schema;const i=e.$_terms.link[0].ref,{perspective:a,path:s}=c.perspective(i,r);c.assert(a,"which is outside of schema boundaries",i,e,r,n);try{o=s.length?a.$_reach(s):a}catch(t){c.assert(!1,"to non-existing schema",i,e,r,n)}return c.assert("link"!==o.type,"which is another link",i,e,r,n),e._flags.relative||r.mainstay.links.set(e,o),o._generate(t,r,n).schema},c.perspective=function(e,t){if("local"===e.type){for(const{schema:r,key:n}of t.schemas){if((r._flags.id||n)===e.path[0])return{perspective:r,path:e.path.slice(1)};if(r.$_terms.shared)for(const t of r.$_terms.shared)if(t._flags.id===e.path[0])return{perspective:t,path:e.path.slice(1)}}return{perspective:null,path:null}}return"root"===e.ancestor?{perspective:t.schemas[t.schemas.length-1].schema,path:e.path}:{perspective:t.schemas[e.ancestor]&&t.schemas[e.ancestor].schema,path:e.path}},c.assert=function(e,t,r,o,i,a){e||n(!1,'"'.concat(s.label(o._flags,i,a),'" contains link reference "').concat(r.display,'" ').concat(t))}},function(e,t,r){"use strict";const n=r(0),o=r(3),i=r(1),a={numberRx:/^\s*[+-]?(?:(?:\d+(?:\.\d*)?)|(?:\.\d+))(?:e([+-]?\d+))?\s*$/i,precisionRx:/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/};e.exports=o.extend({type:"number",flags:{unsafe:{default:!1}},coerce:{from:"string",method(e,{schema:t,error:r}){const n=e.match(a.numberRx);if(!n)return;e=e.trim();const o={value:parseFloat(e)};if(0===o.value&&(o.value=0),!t._flags.unsafe)if(e.match(/e/i)){if(a.normalizeExponent("".concat(o.value/Math.pow(10,n[1]),"e").concat(n[1]))!==a.normalizeExponent(e))return o.errors=r("number.unsafe"),o}else{const t=o.value.toString();if(t.match(/e/i))return o;if(t!==a.normalizeDecimal(e))return o.errors=r("number.unsafe"),o}return o}},validate(e,{schema:t,error:r,prefs:n}){if(e===1/0||e===-1/0)return{value:e,errors:r("number.infinity")};if(!i.isNumber(e))return{value:e,errors:r("number.base")};const o={value:e};if(n.convert){const e=t.$_getRule("precision");if(e){const t=Math.pow(10,e.args.limit);o.value=Math.round(o.value*t)/t}}return 0===o.value&&(o.value=0),!t._flags.unsafe&&(e>Number.MAX_SAFE_INTEGER||e<Number.MIN_SAFE_INTEGER)&&(o.errors=r("number.unsafe")),o},rules:{compare:{method:!1,validate:(e,t,{limit:r},{name:n,operator:o,args:a})=>i.compare(e,r,o)?e:t.error("number."+n,{limit:a.limit,value:e}),args:[{name:"limit",ref:!0,assert:i.isNumber,message:"must be a number"}]},greater:{method(e){return this.$_addRule({name:"greater",method:"compare",args:{limit:e},operator:">"})}},integer:{method(){return this.$_addRule("integer")},validate:(e,t)=>Math.trunc(e)-e==0?e:t.error("number.integer")},less:{method(e){return this.$_addRule({name:"less",method:"compare",args:{limit:e},operator:"<"})}},max:{method(e){return this.$_addRule({name:"max",method:"compare",args:{limit:e},operator:"<="})}},min:{method(e){return this.$_addRule({name:"min",method:"compare",args:{limit:e},operator:">="})}},multiple:{method(e){return this.$_addRule({name:"multiple",args:{base:e}})},validate:(e,t,{base:r},n)=>e%r==0?e:t.error("number.multiple",{multiple:n.args.base,value:e}),args:[{name:"base",ref:!0,assert:e=>"number"==typeof e&&isFinite(e)&&e>0,message:"must be a positive number"}],multi:!0},negative:{method(){return this.sign("negative")}},port:{method(){return this.$_addRule("port")},validate:(e,t)=>Number.isSafeInteger(e)&&e>=0&&e<=65535?e:t.error("number.port")},positive:{method(){return this.sign("positive")}},precision:{method(e){return n(Number.isSafeInteger(e),"limit must be an integer"),this.$_addRule({name:"precision",args:{limit:e}})},validate(e,t,{limit:r}){const n=e.toString().match(a.precisionRx);return Math.max((n[1]?n[1].length:0)-(n[2]?parseInt(n[2],10):0),0)<=r?e:t.error("number.precision",{limit:r,value:e})},convert:!0},sign:{method(e){return n(["negative","positive"].includes(e),"Invalid sign",e),this.$_addRule({name:"sign",args:{sign:e}})},validate:(e,t,{sign:r})=>"negative"===r&&e<0||"positive"===r&&e>0?e:t.error("number.".concat(r))},unsafe:{method(e=!0){return n("boolean"==typeof e,"enabled must be a boolean"),this.$_setFlag("unsafe",e)}}},cast:{string:{from:e=>"number"==typeof e,to:(e,t)=>e.toString()}},messages:{"number.base":"{{#label}} must be a number","number.greater":"{{#label}} must be greater than {{#limit}}","number.infinity":"{{#label}} cannot be infinity","number.integer":"{{#label}} must be an integer","number.less":"{{#label}} must be less than {{#limit}}","number.max":"{{#label}} must be less than or equal to {{#limit}}","number.min":"{{#label}} must be larger than or equal to {{#limit}}","number.multiple":"{{#label}} must be a multiple of {{#multiple}}","number.negative":"{{#label}} must be a negative number","number.port":"{{#label}} must be a valid port","number.positive":"{{#label}} must be a positive number","number.precision":"{{#label}} must have no more than {{#limit}} decimal places","number.unsafe":"{{#label}} must be a safe number"}}),a.normalizeExponent=function(e){return e.replace(/E/,"e").replace(/\.(\d*[1-9])?0+e/,".$1e").replace(/\.e/,"e").replace(/e\+/,"e").replace(/^\+/,"").replace(/^(-?)0+([1-9])/,"$1$2")},a.normalizeDecimal=function(e){return(e=e.replace(/^\+/,"").replace(/\.0+$/,"").replace(/^(-?)\.([^\.]*)$/,"$10.$2").replace(/^(-?)0+([1-9])/,"$1$2")).includes(".")&&e.endsWith("0")&&(e=e.replace(/0+$/,"")),"-0"===e?"0":e}},function(e,t,r){"use strict";const n=r(22);e.exports=n.extend({type:"object",cast:{map:{from:e=>e&&"object"==typeof e,to:(e,t)=>new Map(Object.entries(e))}}})},function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach((function(t){i(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=r(0),s=r(23),c=r(49),l=r(50),u=r(27),d=r(51),f=r(26),p=r(3),h=r(1),b={tlds:d instanceof Set&&{tlds:{allow:d,deny:null}},base64Regex:{true:{true:/^(?:[\w\-]{2}[\w\-]{2})*(?:[\w\-]{2}==|[\w\-]{3}=)?$/,false:/^(?:[A-Za-z0-9+\/]{2}[A-Za-z0-9+\/]{2})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/},false:{true:/^(?:[\w\-]{2}[\w\-]{2})*(?:[\w\-]{2}(==)?|[\w\-]{3}=?)?$/,false:/^(?:[A-Za-z0-9+\/]{2}[A-Za-z0-9+\/]{2})*(?:[A-Za-z0-9+\/]{2}(==)?|[A-Za-z0-9+\/]{3}=?)?$/}},dataUriRegex:/^data:[\w+.-]+\/[\w+.-]+;((charset=[\w-]+|base64),)?(.*)$/,hexRegex:/^[a-f0-9]+$/i,ipRegex:l.regex().regex,isoDurationRegex:/^P(?!$)(\d+Y)?(\d+M)?(\d+W)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?$/,guidBrackets:{"{":"}","[":"]","(":")","":""},guidVersions:{uuidv1:"1",uuidv2:"2",uuidv3:"3",uuidv4:"4",uuidv5:"5"},cidrPresences:["required","optional","forbidden"],normalizationForms:["NFC","NFD","NFKC","NFKD"]};e.exports=p.extend({type:"string",flags:{insensitive:{default:!1},truncate:{default:!1}},terms:{replacements:{init:null}},coerce:{from:"string",method(e,{schema:t,state:r,prefs:n}){const o=t.$_getRule("normalize");o&&(e=e.normalize(o.args.form));const i=t.$_getRule("case");i&&(e="upper"===i.args.direction?e.toLocaleUpperCase():e.toLocaleLowerCase());const a=t.$_getRule("trim");if(a&&a.args.enabled&&(e=e.trim()),t.$_terms.replacements)for(const c of t.$_terms.replacements)e=e.replace(c.pattern,c.replacement);const s=t.$_getRule("hex");if(s&&s.args.options.byteAligned&&e.length%2!=0&&(e="0".concat(e)),t.$_getRule("isoDate")){const t=b.isoDate(e);t&&(e=t)}if(t._flags.truncate){const o=t.$_getRule("max");if(o){let i=o.args.limit;if(h.isResolvable(i)&&(i=i.resolve(e,r,n),!h.limit(i)))return{value:e,errors:t.$_createError("any.ref",i,{ref:o.args.limit,arg:"limit",reason:"must be a positive integer"},r,n)};e=e.slice(0,i)}}return{value:e}}},validate:(e,{error:t})=>"string"!=typeof e?{value:e,errors:t("string.base")}:""===e?{value:e,errors:t("string.empty")}:void 0,rules:{alphanum:{method(){return this.$_addRule("alphanum")},validate:(e,t)=>/^[a-zA-Z0-9]+$/.test(e)?e:t.error("string.alphanum")},base64:{method(e={}){return h.assertOptions(e,["paddingRequired","urlSafe"]),e=o({urlSafe:!1,paddingRequired:!0},e),a("boolean"==typeof e.paddingRequired,"paddingRequired must be boolean"),a("boolean"==typeof e.urlSafe,"urlSafe must be boolean"),this.$_addRule({name:"base64",args:{options:e}})},validate:(e,t,{options:r})=>b.base64Regex[r.paddingRequired][r.urlSafe].test(e)?e:t.error("string.base64")},case:{method(e){return a(["lower","upper"].includes(e),"Invalid case:",e),this.$_addRule({name:"case",args:{direction:e}})},validate:(e,t,{direction:r})=>"lower"===r&&e===e.toLocaleLowerCase()||"upper"===r&&e===e.toLocaleUpperCase()?e:t.error("string.".concat(r,"case")),convert:!0},creditCard:{method(){return this.$_addRule("creditCard")},validate(e,t){let r=e.length,n=0,o=1;for(;r--;){const t=e.charAt(r)*o;n+=t-9*(t>9),o^=3}return n>0&&n%10==0?e:t.error("string.creditCard")}},dataUri:{method(e={}){return h.assertOptions(e,["paddingRequired"]),e=o({paddingRequired:!0},e),a("boolean"==typeof e.paddingRequired,"paddingRequired must be boolean"),this.$_addRule({name:"dataUri",args:{options:e}})},validate(e,t,{options:r}){const n=e.match(b.dataUriRegex);if(n){if(!n[2])return e;if("base64"!==n[2])return e;if(b.base64Regex[r.paddingRequired].false.test(n[3]))return e}return t.error("string.dataUri")}},domain:{method(e){e&&h.assertOptions(e,["allowUnicode","minDomainSegments","tlds"]);const t=b.addressOptions(e);return this.$_addRule({name:"domain",args:{options:e},address:t})},validate:(e,t,r,{address:n})=>s.isValid(e,n)?e:t.error("string.domain")},email:{method(e={}){h.assertOptions(e,["allowUnicode","ignoreLength","minDomainSegments","multiple","separator","tlds"]),a(void 0===e.multiple||"boolean"==typeof e.multiple,"multiple option must be an boolean");const t=b.addressOptions(e),r=new RegExp("\\s*[".concat(e.separator?u(e.separator):",","]\\s*"));return this.$_addRule({name:"email",args:{options:e},regex:r,address:t})},validate(e,t,{options:r},{regex:n,address:o}){const i=r.multiple?e.split(n):[e],a=[];for(const s of i)c.isValid(s,o)||a.push(s);return a.length?t.error("string.email",{value:e,invalids:a}):e}},guid:{alias:"uuid",method(e={}){h.assertOptions(e,["version"]);let t="";if(e.version){const r=[].concat(e.version);a(r.length>=1,"version must have at least 1 valid version specified");const n=new Set;for(let e=0;e<r.length;++e){const o=r[e];a("string"==typeof o,"version at position "+e+" must be a string");const i=b.guidVersions[o.toLowerCase()];a(i,"version at position "+e+" must be one of "+Object.keys(b.guidVersions).join(", ")),a(!n.has(i),"version at position "+e+" must not be a duplicate"),t+=i,n.add(i)}}const r=new RegExp("^([\\[{\\(]?)[0-9A-F]{8}([:-]?)[0-9A-F]{4}\\2?[".concat(t||"0-9A-F","][0-9A-F]{3}\\2?[").concat(t?"89AB":"0-9A-F","][0-9A-F]{3}\\2?[0-9A-F]{12}([\\]}\\)]?)$"),"i");return this.$_addRule({name:"guid",args:{options:e},regex:r})},validate(e,t,r,{regex:n}){const o=n.exec(e);return o?b.guidBrackets[o[1]]!==o[o.length-1]?t.error("string.guid"):e:t.error("string.guid")}},hex:{method(e={}){return h.assertOptions(e,["byteAligned"]),e=o({byteAligned:!1},e),a("boolean"==typeof e.byteAligned,"byteAligned must be boolean"),this.$_addRule({name:"hex",args:{options:e}})},validate:(e,t,{options:r})=>b.hexRegex.test(e)?r.byteAligned&&e.length%2!=0?t.error("string.hexAlign"):e:t.error("string.hex")},hostname:{method(){return this.$_addRule("hostname")},validate:(e,t)=>s.isValid(e,{minDomainSegments:1})||b.ipRegex.test(e)?e:t.error("string.hostname")},insensitive:{method(){return this.$_setFlag("insensitive",!0)}},ip:{method(e={}){h.assertOptions(e,["cidr","version"]);const{cidr:t,versions:r,regex:n}=l.regex(e),o=e.version?r:void 0;return this.$_addRule({name:"ip",args:{options:{cidr:t,version:o}},regex:n})},validate:(e,t,{options:r},{regex:n})=>n.test(e)?e:r.version?t.error("string.ipVersion",{value:e,cidr:r.cidr,version:r.version}):t.error("string.ip",{value:e,cidr:r.cidr})},isoDate:{method(){return this.$_addRule("isoDate")},validate:(e,{error:t})=>b.isoDate(e)?e:t("string.isoDate")},isoDuration:{method(){return this.$_addRule("isoDuration")},validate:(e,t)=>b.isoDurationRegex.test(e)?e:t.error("string.isoDuration")},length:{method(e,t){return b.length(this,"length",e,"=",t)},validate(e,t,{limit:r,encoding:n},{name:o,operator:i,args:a}){const s=!n&&e.length;return h.compare(s,r,i)?e:t.error("string."+o,{limit:a.limit,value:e,encoding:n})},args:[{name:"limit",ref:!0,assert:h.limit,message:"must be a positive integer"},"encoding"]},lowercase:{method(){return this.case("lower")}},max:{method(e,t){return b.length(this,"max",e,"<=",t)},args:["limit","encoding"]},min:{method(e,t){return b.length(this,"min",e,">=",t)},args:["limit","encoding"]},normalize:{method(e="NFC"){return a(b.normalizationForms.includes(e),"normalization form must be one of "+b.normalizationForms.join(", ")),this.$_addRule({name:"normalize",args:{form:e}})},validate:(e,{error:t},{form:r})=>e===e.normalize(r)?e:t("string.normalize",{value:e,form:r}),convert:!0},pattern:{alias:"regex",method(e,t={}){a(e instanceof RegExp,"regex must be a RegExp"),a(!e.flags.includes("g")&&!e.flags.includes("y"),"regex should not use global or sticky mode"),"string"==typeof t&&(t={name:t}),h.assertOptions(t,["invert","name"]);const r=["string.pattern",t.invert?".invert":"",t.name?".name":".base"].join("");return this.$_addRule({name:"pattern",args:{regex:e,options:t},errorCode:r})},validate:(e,t,{regex:r,options:n},{errorCode:o})=>r.test(e)^n.invert?e:t.error(o,{name:n.name,regex:r,value:e}),args:["regex","options"],multi:!0},replace:{method(e,t){"string"==typeof e&&(e=new RegExp(u(e),"g")),a(e instanceof RegExp,"pattern must be a RegExp"),a("string"==typeof t,"replacement must be a String");const r=this.clone();return r.$_terms.replacements||(r.$_terms.replacements=[]),r.$_terms.replacements.push({pattern:e,replacement:t}),r}},token:{method(){return this.$_addRule("token")},validate:(e,t)=>/^\w+$/.test(e)?e:t.error("string.token")},trim:{method(e=!0){return a("boolean"==typeof e,"enabled must be a boolean"),this.$_addRule({name:"trim",args:{enabled:e}})},validate:(e,t,{enabled:r})=>r&&e!==e.trim()?t.error("string.trim"):e,convert:!0},truncate:{method(e=!0){return a("boolean"==typeof e,"enabled must be a boolean"),this.$_setFlag("truncate",e)}},uppercase:{method(){return this.case("upper")}},uri:{method(e={}){h.assertOptions(e,["allowRelative","allowQuerySquareBrackets","domain","relativeOnly","scheme"]),e.domain&&h.assertOptions(e.domain,["allowUnicode","minDomainSegments","tlds"]);const{regex:t,scheme:r}=f.regex(e),n=e.domain?b.addressOptions(e.domain):null;return this.$_addRule({name:"uri",args:{options:e},regex:t,domain:n,scheme:r})},validate(e,t,{options:r},{regex:n,domain:o,scheme:i}){if(["http:/","https:/"].includes(e))return t.error("string.uri");const a=n.exec(e);if(a){if(o){const e=a[1]||a[2];if(!s.isValid(e,o))return t.error("string.domain",{value:e})}return e}return r.relativeOnly?t.error("string.uriRelativeOnly"):r.scheme?t.error("string.uriCustomScheme",{scheme:i,value:e}):t.error("string.uri")}}},manifest:{build(e,t){if(t.replacements)for(const{pattern:r,replacement:n}of t.replacements)e=e.replace(r,n);return e}},messages:{"string.alphanum":"{{#label}} must only contain alpha-numeric characters","string.base":"{{#label}} must be a string","string.base64":"{{#label}} must be a valid base64 string","string.creditCard":"{{#label}} must be a credit card","string.dataUri":"{{#label}} must be a valid dataUri string","string.domain":"{{#label}} must contain a valid domain name","string.email":"{{#label}} must be a valid email","string.empty":"{{#label}} is not allowed to be empty","string.guid":"{{#label}} must be a valid GUID","string.hex":"{{#label}} must only contain hexadecimal characters","string.hexAlign":"{{#label}} hex decoded representation must be byte aligned","string.hostname":"{{#label}} must be a valid hostname","string.ip":"{{#label}} must be a valid ip address with a {{#cidr}} CIDR","string.ipVersion":"{{#label}} must be a valid ip address of one of the following versions {{#version}} with a {{#cidr}} CIDR","string.isoDate":"{{#label}} must be in iso format","string.isoDuration":"{{#label}} must be a valid ISO 8601 duration","string.length":"{{#label}} length must be {{#limit}} characters long","string.lowercase":"{{#label}} must only contain lowercase characters","string.max":"{{#label}} length must be less than or equal to {{#limit}} characters long","string.min":"{{#label}} length must be at least {{#limit}} characters long","string.normalize":"{{#label}} must be unicode normalized in the {{#form}} form","string.token":"{{#label}} must only contain alpha-numeric and underscore characters","string.pattern.base":'{{#label}} with value "{[.]}" fails to match the required pattern: {{#regex}}',"string.pattern.name":'{{#label}} with value "{[.]}" fails to match the {{#name}} pattern',"string.pattern.invert.base":'{{#label}} with value "{[.]}" matches the inverted pattern: {{#regex}}',"string.pattern.invert.name":'{{#label}} with value "{[.]}" matches the inverted {{#name}} pattern',"string.trim":"{{#label}} must not have leading or trailing whitespace","string.uri":"{{#label}} must be a valid uri","string.uriCustomScheme":"{{#label}} must be a valid uri with a scheme matching the {{#scheme}} pattern","string.uriRelativeOnly":"{{#label}} must be a valid relative uri","string.uppercase":"{{#label}} must only contain uppercase characters"}}),b.addressOptions=function(e){if(!e)return e;if(a(void 0===e.minDomainSegments||Number.isSafeInteger(e.minDomainSegments)&&e.minDomainSegments>0,"minDomainSegments must be a positive integer"),!1===e.tlds)return e;if(!0===e.tlds||void 0===e.tlds)return a(b.tlds,"Built-in TLD list disabled"),Object.assign({},e,b.tlds);a("object"==typeof e.tlds,"tlds must be true, false, or an object");const t=e.tlds.deny;if(t)return Array.isArray(t)&&(e=Object.assign({},e,{tlds:{deny:new Set(t)}})),a(e.tlds.deny instanceof Set,"tlds.deny must be an array, Set, or boolean"),a(!e.tlds.allow,"Cannot specify both tlds.allow and tlds.deny lists"),e;const r=e.tlds.allow;return r?!0===r?(a(b.tlds,"Built-in TLD list disabled"),Object.assign({},e,b.tlds)):(Array.isArray(r)&&(e=Object.assign({},e,{tlds:{allow:new Set(r)}})),a(e.tlds.allow instanceof Set,"tlds.allow must be an array, Set, or boolean"),e):e},b.isoDate=function(e){if(!h.isIsoDate(e))return null;const t=new Date(e);return isNaN(t.getTime())?null:t.toISOString()},b.length=function(e,t,r,n,o){return a(!o||!1,"Invalid encoding:",o),e.$_addRule({name:t,method:"length",args:{limit:r,encoding:o},operator:n})}},function(e,t,r){"use strict";const n=r(24),o=r(23),i=r(25),a={nonAsciiRx:/[^\x00-\x7f]/,encoder:new(n.TextEncoder||TextEncoder)};t.analyze=function(e,t){return a.email(e,t)},t.isValid=function(e,t){return!a.email(e,t)},a.email=function(e,t={}){if("string"!=typeof e)throw new Error("Invalid input: email must be a string");if(!e)return i.code("EMPTY_STRING");const r=!a.nonAsciiRx.test(e);if(!r){if(!1===t.allowUnicode)return i.code("FORBIDDEN_UNICODE");e=e.normalize("NFC")}const n=e.split("@");if(2!==n.length)return n.length>2?i.code("MULTIPLE_AT_CHAR"):i.code("MISSING_AT_CHAR");const[s,c]=n;if(!s)return i.code("EMPTY_LOCAL");if(!t.ignoreLength){if(e.length>254)return i.code("ADDRESS_TOO_LONG");if(a.encoder.encode(s).length>64)return i.code("LOCAL_TOO_LONG")}return a.local(s,r)||o.analyze(c,t)},a.local=function(e,t){const r=e.split(".");for(const n of r){if(!n.length)return i.code("EMPTY_LOCAL_SEGMENT");if(t){if(!a.atextRx.test(n))return i.code("INVALID_LOCAL_CHARS")}else for(const e of n){if(a.atextRx.test(e))continue;const t=a.binary(e);if(!a.atomRx.test(t))return i.code("INVALID_LOCAL_CHARS")}}},a.binary=function(e){return Array.from(a.encoder.encode(e)).map(e=>String.fromCharCode(e)).join("")},a.atextRx=/^[\w!#\$%&'\*\+\-/=\?\^`\{\|\}~]+$/,a.atomRx=new RegExp(["(?:[\\xc2-\\xdf][\\x80-\\xbf])","(?:\\xe0[\\xa0-\\xbf][\\x80-\\xbf])|(?:[\\xe1-\\xec][\\x80-\\xbf]{2})|(?:\\xed[\\x80-\\x9f][\\x80-\\xbf])|(?:[\\xee-\\xef][\\x80-\\xbf]{2})","(?:\\xf0[\\x90-\\xbf][\\x80-\\xbf]{2})|(?:[\\xf1-\\xf3][\\x80-\\xbf]{3})|(?:\\xf4[\\x80-\\x8f][\\x80-\\xbf]{2})"].join("|"))},function(e,t,r){"use strict";const n=r(0),o=r(26);t.regex=function(e={}){n(void 0===e.cidr||"string"==typeof e.cidr,"options.cidr must be a string");const t=e.cidr?e.cidr.toLowerCase():"optional";n(["required","optional","forbidden"].includes(t),"options.cidr must be one of required, optional, forbidden"),n(void 0===e.version||"string"==typeof e.version||Array.isArray(e.version),"options.version must be a string or an array of string");let r=e.version||["ipv4","ipv6","ipvfuture"];Array.isArray(r)||(r=[r]),n(r.length>=1,"options.version must have at least 1 version specified");for(let o=0;o<r.length;++o)n("string"==typeof r[o],"options.version must only contain strings"),r[o]=r[o].toLowerCase(),n(["ipv4","ipv6","ipvfuture"].includes(r[o]),"options.version contains unknown version "+r[o]+" - must be one of ipv4, ipv6, ipvfuture");r=Array.from(new Set(r));const i=r.map(e=>{if("forbidden"===t)return o.ip[e];const r="\\/".concat("ipv4"===e?o.ip.v4Cidr:o.ip.v6Cidr);return"required"===t?"".concat(o.ip[e]).concat(r):"".concat(o.ip[e],"(?:").concat(r,")?")}),a="(?:".concat(i.join("|"),")"),s=new RegExp("^".concat(a,"$"));return{cidr:t,versions:r,regex:s,raw:a}}},function(e,t){},function(e,t,r){"use strict";const n=r(0),o=r(3),i={};i.Map=class extends Map{slice(){return new i.Map(this)}},e.exports=o.extend({type:"symbol",terms:{map:{init:new i.Map}},coerce:{method(e,{schema:t,error:r}){const n=t.$_terms.map.get(e);return n&&(e=n),t._flags.only&&"symbol"!=typeof e?{value:e,errors:r("symbol.map",{map:t.$_terms.map})}:{value:e}}},validate(e,{error:t}){if("symbol"!=typeof e)return{value:e,errors:t("symbol.base")}},rules:{map:{method(e){e&&!e[Symbol.iterator]&&"object"==typeof e&&(e=Object.entries(e)),n(e&&e[Symbol.iterator],"Iterable must be an iterable or object");const t=this.clone(),r=[];for(const o of e){n(o&&o[Symbol.iterator],"Entry must be an iterable");const[e,i]=o;n("object"!=typeof e&&"function"!=typeof e&&"symbol"!=typeof e,"Key must not be of type object, function, or Symbol"),n("symbol"==typeof i,"Value must be a Symbol"),t.$_terms.map.set(e,i),r.push(i)}return t.valid(...r)}}},manifest:{build:(e,t)=>(t.map&&(e=e.map(t.map)),e)},messages:{"symbol.base":"{{#label}} must be a symbol","symbol.map":"{{#label}} must be one of {{#map}}"}})}])}))},7418:function(e,t){t.f=Object.getOwnPropertySymbols},"746f":function(e,t,r){var n=r("428f"),o=r("5135"),i=r("e538"),a=r("9bf2").f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});o(t,e)||a(t,e,{value:i.f(e)})}},7839:function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(e,t,r){var n=r("1d80");e.exports=function(e){return Object(n(e))}},"7c73":function(e,t,r){var n,o=r("825a"),i=r("37e8"),a=r("7839"),s=r("d012"),c=r("1be4"),l=r("cc12"),u=r("f772"),d=">",f="<",p="prototype",h="script",b=u("IE_PROTO"),m=function(){},g=function(e){return f+h+d+e+f+"/"+h+d},v=function(e){e.write(g("")),e.close();var t=e.parentWindow.Object;return e=null,t},y=function(){var e,t=l("iframe"),r="java"+h+":";return t.style.display="none",c.appendChild(t),t.src=String(r),e=t.contentWindow.document,e.open(),e.write(g("document.F=Object")),e.close(),e.F},w=function(){try{n=document.domain&&new ActiveXObject("htmlfile")}catch(t){}w=n?v(n):y();var e=a.length;while(e--)delete w[p][a[e]];return w()};s[b]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(m[p]=o(e),r=new m,m[p]=null,r[b]=e):r=w(),void 0===t?r:i(r,t)}},"7dd0":function(e,t,r){"use strict";var n=r("23e7"),o=r("9ed3"),i=r("e163"),a=r("d2bb"),s=r("d44e"),c=r("9112"),l=r("6eeb"),u=r("b622"),d=r("c430"),f=r("3f8c"),p=r("ae93"),h=p.IteratorPrototype,b=p.BUGGY_SAFARI_ITERATORS,m=u("iterator"),g="keys",v="values",y="entries",w=function(){return this};e.exports=function(e,t,r,u,p,x,_){o(r,t,u);var k,E,O,A=function(e){if(e===p&&T)return T;if(!b&&e in P)return P[e];switch(e){case g:return function(){return new r(this,e)};case v:return function(){return new r(this,e)};case y:return function(){return new r(this,e)}}return function(){return new r(this)}},S=t+" Iterator",j=!1,P=e.prototype,C=P[m]||P["@@iterator"]||p&&P[p],T=!b&&C||A(p),R="Array"==t&&P.entries||C;if(R&&(k=i(R.call(new e)),h!==Object.prototype&&k.next&&(d||i(k)===h||(a?a(k,h):"function"!=typeof k[m]&&c(k,m,w)),s(k,S,!0,!0),d&&(f[S]=w))),p==v&&C&&C.name!==v&&(j=!0,T=function(){return C.call(this)}),d&&!_||P[m]===T||c(P,m,T),f[t]=T,p)if(E={values:A(v),keys:x?T:A(g),entries:A(y)},_)for(O in E)(b||j||!(O in P))&&l(P,O,E[O]);else n({target:t,proto:!0,forced:b||j},E);return E}},"7f9a":function(e,t,r){var n=r("da84"),o=r("8925"),i=n.WeakMap;e.exports="function"===typeof i&&/native code/.test(o(i))},"825a":function(e,t,r){var n=r("861d");e.exports=function(e){if(!n(e))throw TypeError(String(e)+" is not an object");return e}},"83ab":function(e,t,r){var n=r("d039");e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8418:function(e,t,r){"use strict";var n=r("c04e"),o=r("9bf2"),i=r("5c6c");e.exports=function(e,t,r){var a=n(t);a in e?o.f(e,a,i(0,r)):e[a]=r}},"861d":function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},8875:function(e,t,r){var n,o,i;(function(r,a){o=[],n=a,i="function"===typeof n?n.apply(t,o):n,void 0===i||(e.exports=i)})("undefined"!==typeof self&&self,(function(){function e(){var t=Object.getOwnPropertyDescriptor(document,"currentScript");if(!t&&"currentScript"in document&&document.currentScript)return document.currentScript;if(t&&t.get!==e&&document.currentScript)return document.currentScript;try{throw new Error}catch(p){var r,n,o,i=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,a=/@([^@]*):(\d+):(\d+)\s*$/gi,s=i.exec(p.stack)||a.exec(p.stack),c=s&&s[1]||!1,l=s&&s[2]||!1,u=document.location.href.replace(document.location.hash,""),d=document.getElementsByTagName("script");c===u&&(r=document.documentElement.outerHTML,n=new RegExp("(?:[^\\n]+?\\n){0,"+(l-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),o=r.replace(n,"$1").trim());for(var f=0;f<d.length;f++){if("interactive"===d[f].readyState)return d[f];if(d[f].src===c)return d[f];if(c===u&&d[f].innerHTML&&d[f].innerHTML.trim()===o)return d[f]}return null}}return e}))},8925:function(e,t,r){var n=r("c6cd"),o=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(e){return o.call(e)}),e.exports=n.inspectSource},"8aa5":function(e,t,r){"use strict";var n=r("6547").charAt;e.exports=function(e,t,r){return t+(r?n(e,t).length:1)}},"8bbf":function(e,t){e.exports=r("a026")},"90e3":function(e,t){var r=0,n=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++r+n).toString(36)}},9112:function(e,t,r){var n=r("83ab"),o=r("9bf2"),i=r("5c6c");e.exports=n?function(e,t,r){return o.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},9152:function(e,t){
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
t.read=function(e,t,r,n,o){var i,a,s=8*o-n-1,c=(1<<s)-1,l=c>>1,u=-7,d=r?o-1:0,f=r?-1:1,p=e[t+d];for(d+=f,i=p&(1<<-u)-1,p>>=-u,u+=s;u>0;i=256*i+e[t+d],d+=f,u-=8);for(a=i&(1<<-u)-1,i>>=-u,u+=n;u>0;a=256*a+e[t+d],d+=f,u-=8);if(0===i)i=1-l;else{if(i===c)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,n),i-=l}return(p?-1:1)*a*Math.pow(2,i-n)},t.write=function(e,t,r,n,o,i){var a,s,c,l=8*i-o-1,u=(1<<l)-1,d=u>>1,f=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:i-1,h=n?1:-1,b=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-a))<1&&(a--,c*=2),t+=a+d>=1?f/c:f*Math.pow(2,1-d),t*c>=2&&(a++,c/=2),a+d>=u?(s=0,a=u):a+d>=1?(s=(t*c-1)*Math.pow(2,o),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,o),a=0));o>=8;e[r+p]=255&s,p+=h,s/=256,o-=8);for(a=a<<o|s,l+=o;l>0;e[r+p]=255&a,p+=h,a/=256,l-=8);e[r+p-h]|=128*b}},9163:function(e,t,r){var n=r("24fb");t=n(!1),t.push([e.i,".icon-check[data-v-f3cc50d8]{width:auto}",""]),e.exports=t},9263:function(e,t,r){"use strict";var n=r("ad6d"),o=r("9f7f"),i=RegExp.prototype.exec,a=String.prototype.replace,s=i,c=function(){var e=/a/,t=/b*/g;return i.call(e,"a"),i.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),l=o.UNSUPPORTED_Y||o.BROKEN_CARET,u=void 0!==/()??/.exec("")[1],d=c||u||l;d&&(s=function(e){var t,r,o,s,d=this,f=l&&d.sticky,p=n.call(d),h=d.source,b=0,m=e;return f&&(p=p.replace("y",""),-1===p.indexOf("g")&&(p+="g"),m=String(e).slice(d.lastIndex),d.lastIndex>0&&(!d.multiline||d.multiline&&"\n"!==e[d.lastIndex-1])&&(h="(?: "+h+")",m=" "+m,b++),r=new RegExp("^(?:"+h+")",p)),u&&(r=new RegExp("^"+h+"$(?!\\s)",p)),c&&(t=d.lastIndex),o=i.call(f?r:d,m),f?o?(o.input=o.input.slice(b),o[0]=o[0].slice(b),o.index=d.lastIndex,d.lastIndex+=o[0].length):d.lastIndex=0:c&&o&&(d.lastIndex=d.global?o.index+o[0].length:t),u&&o&&o.length>1&&a.call(o[0],r,(function(){for(s=1;s<arguments.length-2;s++)void 0===arguments[s]&&(o[s]=void 0)})),o}),e.exports=s},"938d":function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return o}));var n=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n="undefined"!==typeof e&&e?Object({NODE_ENV:"production",BASE_URL:"/"})||!1:{};return t?n[t]||r:n},o=function(){return n("BOOTSTRAP_VUE_NO_WARN")||"production"===n("NODE_ENV")}}).call(this,r("4362"))},"94ca":function(e,t,r){var n=r("d039"),o=/#|\.prototype\./,i=function(e,t){var r=s[a(e)];return r==l||r!=c&&("function"==typeof t?n(t):!!t)},a=i.normalize=function(e){return String(e).replace(o,".").toLowerCase()},s=i.data={},c=i.NATIVE="N",l=i.POLYFILL="P";e.exports=i},"990d":function(e,t,r){"use strict";r("2c9d")},"99af":function(e,t,r){"use strict";var n=r("23e7"),o=r("d039"),i=r("e8b5"),a=r("861d"),s=r("7b0b"),c=r("50c4"),l=r("8418"),u=r("65f0"),d=r("1dde"),f=r("b622"),p=r("2d00"),h=f("isConcatSpreadable"),b=9007199254740991,m="Maximum allowed index exceeded",g=p>=51||!o((function(){var e=[];return e[h]=!1,e.concat()[0]!==e})),v=d("concat"),y=function(e){if(!a(e))return!1;var t=e[h];return void 0!==t?!!t:i(e)},w=!g||!v;n({target:"Array",proto:!0,forced:w},{concat:function(e){var t,r,n,o,i,a=s(this),d=u(a,0),f=0;for(t=-1,n=arguments.length;t<n;t++)if(i=-1===t?a:arguments[t],y(i)){if(o=c(i.length),f+o>b)throw TypeError(m);for(r=0;r<o;r++,f++)r in i&&l(d,f,i[r])}else{if(f>=b)throw TypeError(m);l(d,f++,i)}return d.length=f,d}})},"9bf2":function(e,t,r){var n=r("83ab"),o=r("0cfb"),i=r("825a"),a=r("c04e"),s=Object.defineProperty;t.f=n?s:function(e,t,r){if(i(e),t=a(t,!0),i(r),o)try{return s(e,t,r)}catch(n){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},"9c28":function(e){e.exports=JSON.parse('{"psaccounts":{"accountManager":{"errorInstallEnable":"Er is een fout opgetreden. Probeer het nog eens."},"alertAccountNotInstalled":{"title":"Installeer de module PrestaShop Account","message":"De module PrestaShop account is nodig om de configuratie van deze module voort te zetten.","installButton":"Installeer","loading":"Installatie van de module PrestaShop Account aan de gang..."},"alertAccountNotEnabled":{"title":"Activeer de module PrestaShop Account","message":"De module PrestaShop account is nodig om de configuratie van deze module voort te zetten.","enableButton":"Activeren","loading":"Activering van de module PrestaShop Account aan de gang..."},"multiShopSelector":{"title":"Multi-shop modus geactiveerd","subtitle":"Voor deze dienst moet u uw winkels één voor één configureren, maar u kunt wel hetzelfde account gebruiken.","selectStore":"Selecteer alstublieft een eerste winkel uit onderstaande lijst","tips":"Zodra de eerste winkel is geconfigureerd, kunt u verder gaan met de andere winkels door ze één voor één te selecteren in de winkelselector van het horizontale menu.","configure":"Configureren","group":""},"account":{"title":"Koppel uw winkel aan een PrestaShop account","authorize":"U kunt uw winkel maar aan één account koppelen. Kies het goed!","authorized":"Uw winkel is gekoppeld aan het PrestaShop account:","connectButton":"Koppelen","reonboardButton":"Opnieuw verbinden","disconnectButton":"Een ander account gebruiken","moduleUpdateInformation":"<strong>Nieuwe update:</strong> u kunt uw geassocieerde winkels beheren.<br /> Gelieve u opnieuw aan te melden <strong>met hetzelfde e-mailadres</strong> om van deze update te kunnen profiteren.<br /> Andere module-updates kunnen beschikbaar zijn in Module Manager, tabblad Updates.","emailNotVerified":"Er werd een bevestigingsmail verstuurd. Controleer uw inbox en klik op de link om uw account te activeren.","sendEmail":"Doorsturen","needToBeAdmin":"Om verder te gaan, moet u een administrator van de winkel zijn.","pleaseContact":"Neem alstublieft contact op met","manageAccountTooltip":"Manage account"},"alertEventBusNotInstalled":{"title":"Installeer de module Prestashop Event Bus","message":"De module Prestashop Event Bus is nodig om de configuratie van deze module voort te zetten.","loading":"Installatie van de module Prestashop Event Bus aan de gang..."}}}')},"9ed3":function(e,t,r){"use strict";var n=r("ae93").IteratorPrototype,o=r("7c73"),i=r("5c6c"),a=r("d44e"),s=r("3f8c"),c=function(){return this};e.exports=function(e,t,r){var l=t+" Iterator";return e.prototype=o(n,{next:i(1,r)}),a(e,l,!1,!0),s[l]=c,e}},"9f07":function(e){e.exports=JSON.parse('{"psaccounts":{"accountManager":{"errorInstallEnable":"Ha ocurrido un error. Inténtalo de nuevo."},"alertAccountNotInstalled":{"title":"Instala el módulo PrestaShop Account","message":"El módulo PrestaShop Account es necesario para continuar con la configuración de este módulo.","installButton":"Instalar","loading":"Instalación del módulo PrestaShop Account en curso..."},"alertAccountNotEnabled":{"title":"Activa el módulo PrestaShop Account","message":"El módulo PrestaShop Account es necesario para continuar con la configuración de este módulo.","enableButton":"Activar","loading":"Activación del módulo PrestaShop Account en curso..."},"multiShopSelector":{"title":"Modo multitienda activado","subtitle":"Para este servicio, necesitas configurar tus tiendas una por una, pero podrás usar la misma cuenta.","selectStore":"Selecciona una tienda de la siguiente lista","tips":"Una vez configurada la primera tienda, puedes continuar con las demás seleccionándolas una a una en el selector de tiendas del menú horizontal.","configure":"Configurar","group":""},"account":{"title":"Vincula tu tienda a una cuenta PrestaShop","authorize":"Solo puedes vincular tu tienda a una cuenta. ¡Elígela bien!","authorized":"Su tienda está vinculada a la cuenta PrestaShop:","connectButton":"Vincular","reonboardButton":"Reasociar","disconnectButton":"Usar otra cuenta","moduleUpdateInformation":"<strong>Nueva actualización:</strong> puede gestionar sus tiendas asociadas.<br /> Por favor, vuelva a asociarse utilizando <strong>la misma dirección de correo electrónico</strong> para beneficiarse de esta actualización.<br /> Otras actualizaciones del módulo pueden estar disponibles en la pestaña Actualizaciones del gestor de módulos.","emailNotVerified":"Se ha enviado un correo electrónico de confirmación. Comprueba tu bandeja de entrada y haz clic en el enlace para activar tu cuenta.","sendEmail":"Reenviar","needToBeAdmin":"Para continuar, debes ser administrador de la tienda","pleaseContact":"Ponte en contacto con nosotros","manageAccountTooltip":"Manage account"},"alertEventBusNotInstalled":{"title":"Instala el módulo Prestashop Event Bus","message":"El módulo Prestashop Event Bus es necesario para continuar con la configuración de este módulo.","loading":"Instalación del módulo Prestashop Event Bus en curso..."}}}')},"9f7f":function(e,t,r){"use strict";var n=r("d039");function o(e,t){return RegExp(e,t)}t.UNSUPPORTED_Y=n((function(){var e=o("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=n((function(){var e=o("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},a4b4:function(e,t,r){var n=r("342f");e.exports=/web0s(?!.*chrome)/i.test(n)},a4d3:function(e,t,r){"use strict";var n=r("23e7"),o=r("da84"),i=r("d066"),a=r("c430"),s=r("83ab"),c=r("4930"),l=r("fdbf"),u=r("d039"),d=r("5135"),f=r("e8b5"),p=r("861d"),h=r("825a"),b=r("7b0b"),m=r("fc6a"),g=r("c04e"),v=r("5c6c"),y=r("7c73"),w=r("df75"),x=r("241c"),_=r("057f"),k=r("7418"),E=r("06cf"),O=r("9bf2"),A=r("d1e7"),S=r("9112"),j=r("6eeb"),P=r("5692"),C=r("f772"),T=r("d012"),R=r("90e3"),I=r("b622"),$=r("e538"),D=r("746f"),z=r("d44e"),M=r("69f3"),B=r("b727").forEach,L=C("hidden"),N="Symbol",U="prototype",F=I("toPrimitive"),W=M.set,q=M.getterFor(N),V=Object[U],H=o.Symbol,Y=i("JSON","stringify"),G=E.f,J=O.f,Z=_.f,K=A.f,X=P("symbols"),Q=P("op-symbols"),ee=P("string-to-symbol-registry"),te=P("symbol-to-string-registry"),re=P("wks"),ne=o.QObject,oe=!ne||!ne[U]||!ne[U].findChild,ie=s&&u((function(){return 7!=y(J({},"a",{get:function(){return J(this,"a",{value:7}).a}})).a}))?function(e,t,r){var n=G(V,t);n&&delete V[t],J(e,t,r),n&&e!==V&&J(V,t,n)}:J,ae=function(e,t){var r=X[e]=y(H[U]);return W(r,{type:N,tag:e,description:t}),s||(r.description=t),r},se=l?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof H},ce=function(e,t,r){e===V&&ce(Q,t,r),h(e);var n=g(t,!0);return h(r),d(X,n)?(r.enumerable?(d(e,L)&&e[L][n]&&(e[L][n]=!1),r=y(r,{enumerable:v(0,!1)})):(d(e,L)||J(e,L,v(1,{})),e[L][n]=!0),ie(e,n,r)):J(e,n,r)},le=function(e,t){h(e);var r=m(t),n=w(r).concat(he(r));return B(n,(function(t){s&&!de.call(r,t)||ce(e,t,r[t])})),e},ue=function(e,t){return void 0===t?y(e):le(y(e),t)},de=function(e){var t=g(e,!0),r=K.call(this,t);return!(this===V&&d(X,t)&&!d(Q,t))&&(!(r||!d(this,t)||!d(X,t)||d(this,L)&&this[L][t])||r)},fe=function(e,t){var r=m(e),n=g(t,!0);if(r!==V||!d(X,n)||d(Q,n)){var o=G(r,n);return!o||!d(X,n)||d(r,L)&&r[L][n]||(o.enumerable=!0),o}},pe=function(e){var t=Z(m(e)),r=[];return B(t,(function(e){d(X,e)||d(T,e)||r.push(e)})),r},he=function(e){var t=e===V,r=Z(t?Q:m(e)),n=[];return B(r,(function(e){!d(X,e)||t&&!d(V,e)||n.push(X[e])})),n};if(c||(H=function(){if(this instanceof H)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=R(e),r=function(e){this===V&&r.call(Q,e),d(this,L)&&d(this[L],t)&&(this[L][t]=!1),ie(this,t,v(1,e))};return s&&oe&&ie(V,t,{configurable:!0,set:r}),ae(t,e)},j(H[U],"toString",(function(){return q(this).tag})),j(H,"withoutSetter",(function(e){return ae(R(e),e)})),A.f=de,O.f=ce,E.f=fe,x.f=_.f=pe,k.f=he,$.f=function(e){return ae(I(e),e)},s&&(J(H[U],"description",{configurable:!0,get:function(){return q(this).description}}),a||j(V,"propertyIsEnumerable",de,{unsafe:!0}))),n({global:!0,wrap:!0,forced:!c,sham:!c},{Symbol:H}),B(w(re),(function(e){D(e)})),n({target:N,stat:!0,forced:!c},{for:function(e){var t=String(e);if(d(ee,t))return ee[t];var r=H(t);return ee[t]=r,te[r]=t,r},keyFor:function(e){if(!se(e))throw TypeError(e+" is not a symbol");if(d(te,e))return te[e]},useSetter:function(){oe=!0},useSimple:function(){oe=!1}}),n({target:"Object",stat:!0,forced:!c,sham:!s},{create:ue,defineProperty:ce,defineProperties:le,getOwnPropertyDescriptor:fe}),n({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:pe,getOwnPropertySymbols:he}),n({target:"Object",stat:!0,forced:u((function(){k.f(1)}))},{getOwnPropertySymbols:function(e){return k.f(b(e))}}),Y){var be=!c||u((function(){var e=H();return"[null]"!=Y([e])||"{}"!=Y({a:e})||"{}"!=Y(Object(e))}));n({target:"JSON",stat:!0,forced:be},{stringify:function(e,t,r){var n,o=[e],i=1;while(arguments.length>i)o.push(arguments[i++]);if(n=t,(p(t)||void 0!==e)&&!se(e))return f(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!se(t))return t}),o[1]=t,Y.apply(null,o)}})}H[U][F]||S(H[U],F,H[U].valueOf),z(H,N),T[L]=!0},a640:function(e,t,r){"use strict";var n=r("d039");e.exports=function(e,t){var r=[][e];return!!r&&n((function(){r.call(null,t||function(){throw 1},1)}))}},a691:function(e,t){var r=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:r)(e)}},ac1f:function(e,t,r){"use strict";var n=r("23e7"),o=r("9263");n({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},ad6d:function(e,t,r){"use strict";var n=r("825a");e.exports=function(){var e=n(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},ae40:function(e,t,r){var n=r("83ab"),o=r("d039"),i=r("5135"),a=Object.defineProperty,s={},c=function(e){throw e};e.exports=function(e,t){if(i(s,e))return s[e];t||(t={});var r=[][e],l=!!i(t,"ACCESSORS")&&t.ACCESSORS,u=i(t,0)?t[0]:c,d=i(t,1)?t[1]:void 0;return s[e]=!!r&&!o((function(){if(l&&!n)return!0;var e={length:-1};l?a(e,1,{enumerable:!0,get:c}):e[1]=1,r.call(e,u,d)}))}},ae93:function(e,t,r){"use strict";var n,o,i,a=r("d039"),s=r("e163"),c=r("9112"),l=r("5135"),u=r("b622"),d=r("c430"),f=u("iterator"),p=!1,h=function(){return this};[].keys&&(i=[].keys(),"next"in i?(o=s(s(i)),o!==Object.prototype&&(n=o)):p=!0);var b=void 0==n||a((function(){var e={};return n[f].call(e)!==e}));b&&(n={}),d&&!b||l(n,f)||c(n,f,h),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:p}},b041:function(e,t,r){"use strict";var n=r("00ee"),o=r("f5df");e.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},b575:function(e,t,r){var n,o,i,a,s,c,l,u,d=r("da84"),f=r("06cf").f,p=r("2cf4").set,h=r("1cdc"),b=r("a4b4"),m=r("605d"),g=d.MutationObserver||d.WebKitMutationObserver,v=d.document,y=d.process,w=d.Promise,x=f(d,"queueMicrotask"),_=x&&x.value;_||(n=function(){var e,t;m&&(e=y.domain)&&e.exit();while(o){t=o.fn,o=o.next;try{t()}catch(r){throw o?a():i=void 0,r}}i=void 0,e&&e.enter()},h||m||b||!g||!v?w&&w.resolve?(l=w.resolve(void 0),u=l.then,a=function(){u.call(l,n)}):a=m?function(){y.nextTick(n)}:function(){p.call(d,n)}:(s=!0,c=v.createTextNode(""),new g(n).observe(c,{characterData:!0}),a=function(){c.data=s=!s})),e.exports=_||function(e){var t={fn:e,next:void 0};i&&(i.next=t),o||(o=t,a()),i=t}},b592:function(e,t,r){
/*!
* @prestashopcorp/segment-vue v1.2.10
* (c) 2021 undefined
* Released under the MIT License.
*/
(function(t,n){e.exports=n(r("32e6"))})(0,(function(e){"use strict";function t(t,r){if(t.id&&t.id.length){var n=window.analytics=window.analytics||[];if(!n.initialize){n.invoked=!0,n.methods=["trackSubmit","trackClick","trackLink","trackForm","pageview","identify","reset","group","track","ready","alias","debug","page","once","off","on"],n.factory=function(e){return function(){var r=Array.prototype.slice.call(arguments);if(!0!==t.debug)return r.unshift(e),n.push(r),n;window.console&&console.log&&console.log("[Segment Analytics Debug]: "+e+" method called with "+r.length+" args")}},n.SNIPPET_VERSION="4.13.1";var o=!0,i=!1,a=void 0;try{for(var s,c=n.methods[Symbol.iterator]();!(o=(s=c.next()).done);o=!0){var l=s.value;n[l]=n.factory(l)}}catch(d){i=!0,a=d}finally{try{!o&&c.return&&c.return()}finally{if(i)throw a}}if(!1===t.debug){var u="https://cdn.segment.com/analytics.js/v1/"+t.id+"/analytics.min.js";e(u,(function(e,t){if(e)console.warn("Ops! Is not possible to load Segment Analytics script");else var n=setInterval((function(){window.analytics&&(clearInterval(n),r&&"function"===typeof r&&r())}),10)}))}else r&&"function"===typeof r&&r();return window.analytics}}else console.warn("Please enter a Segment.io tracking ID")}function r(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Object.assign({debug:!1,pageCategory:""},r);t(n,(function(){}));void 0!==n.router&&n.router.afterEach((function(e,t){e.meta.exclude||window.analytics.page(n.pageCategory,e.name||"",{path:e.fullPath,referrer:t.fullPath})})),window.analytics&&(Object.defineProperty(e,"$segment",{get:function(){return window.analytics}}),Object.defineProperty(e.prototype,"$segment",{get:function(){return window.analytics}}))}e=e&&e.hasOwnProperty("default")?e["default"]:e;var n={install:r};return n}))},b622:function(e,t,r){var n=r("da84"),o=r("5692"),i=r("5135"),a=r("90e3"),s=r("4930"),c=r("fdbf"),l=o("wks"),u=n.Symbol,d=c?u:u&&u.withoutSetter||a;e.exports=function(e){return i(l,e)||(s&&i(u,e)?l[e]=u[e]:l[e]=d("Symbol."+e)),l[e]}},b639:function(e,t,r){"use strict";(function(e){
/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <http://feross.org>
* @license MIT
*/
var n=r("1fb5"),o=r("9152"),i=r("e3db");function a(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"===typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(t){return!1}}function s(){return l.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function c(e,t){if(s()<t)throw new RangeError("Invalid typed array length");return l.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t),e.__proto__=l.prototype):(null===e&&(e=new l(t)),e.length=t),e}function l(e,t,r){if(!l.TYPED_ARRAY_SUPPORT&&!(this instanceof l))return new l(e,t,r);if("number"===typeof e){if("string"===typeof t)throw new Error("If encoding is specified then the first argument must be a string");return p(this,e)}return u(this,e,t,r)}function u(e,t,r,n){if("number"===typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!==typeof ArrayBuffer&&t instanceof ArrayBuffer?m(e,t,r,n):"string"===typeof t?h(e,t,r):g(e,t)}function d(e){if("number"!==typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function f(e,t,r,n){return d(t),t<=0?c(e,t):void 0!==r?"string"===typeof n?c(e,t).fill(r,n):c(e,t).fill(r):c(e,t)}function p(e,t){if(d(t),e=c(e,t<0?0:0|v(t)),!l.TYPED_ARRAY_SUPPORT)for(var r=0;r<t;++r)e[r]=0;return e}function h(e,t,r){if("string"===typeof r&&""!==r||(r="utf8"),!l.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|w(t,r);e=c(e,n);var o=e.write(t,r);return o!==n&&(e=e.slice(0,o)),e}function b(e,t){var r=t.length<0?0:0|v(t.length);e=c(e,r);for(var n=0;n<r;n+=1)e[n]=255&t[n];return e}function m(e,t,r,n){if(t.byteLength,r<0||t.byteLength<r)throw new RangeError("'offset' is out of bounds");if(t.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");return t=void 0===r&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,r):new Uint8Array(t,r,n),l.TYPED_ARRAY_SUPPORT?(e=t,e.__proto__=l.prototype):e=b(e,t),e}function g(e,t){if(l.isBuffer(t)){var r=0|v(t.length);return e=c(e,r),0===e.length?e:(t.copy(e,0,0,r),e)}if(t){if("undefined"!==typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!==typeof t.length||te(t.length)?c(e,0):b(e,t);if("Buffer"===t.type&&i(t.data))return b(e,t.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function v(e){if(e>=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|e}function y(e){return+e!=e&&(e=0),l.alloc(+e)}function w(e,t){if(l.isBuffer(e))return e.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!==typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return Z(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return Q(e).length;default:if(n)return Z(e).length;t=(""+t).toLowerCase(),n=!0}}function x(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if(r>>>=0,t>>>=0,r<=t)return"";e||(e="utf8");while(1)switch(e){case"hex":return M(this,t,r);case"utf8":case"utf-8":return R(this,t,r);case"ascii":return D(this,t,r);case"latin1":case"binary":return z(this,t,r);case"base64":return T(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return B(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function _(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function k(e,t,r,n,o){if(0===e.length)return-1;if("string"===typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(o)return-1;r=e.length-1}else if(r<0){if(!o)return-1;r=0}if("string"===typeof t&&(t=l.from(t,n)),l.isBuffer(t))return 0===t.length?-1:E(e,t,r,n,o);if("number"===typeof t)return t&=255,l.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):E(e,[t],r,n,o);throw new TypeError("val must be string, number or Buffer")}function E(e,t,r,n,o){var i,a=1,s=e.length,c=t.length;if(void 0!==n&&(n=String(n).toLowerCase(),"ucs2"===n||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;a=2,s/=2,c/=2,r/=2}function l(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){var u=-1;for(i=r;i<s;i++)if(l(e,i)===l(t,-1===u?0:i-u)){if(-1===u&&(u=i),i-u+1===c)return u*a}else-1!==u&&(i-=i-u),u=-1}else for(r+c>s&&(r=s-c),i=r;i>=0;i--){for(var d=!0,f=0;f<c;f++)if(l(e,i+f)!==l(t,f)){d=!1;break}if(d)return i}return-1}function O(e,t,r,n){r=Number(r)||0;var o=e.length-r;n?(n=Number(n),n>o&&(n=o)):n=o;var i=t.length;if(i%2!==0)throw new TypeError("Invalid hex string");n>i/2&&(n=i/2);for(var a=0;a<n;++a){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))return a;e[r+a]=s}return a}function A(e,t,r,n){return ee(Z(t,e.length-r),e,r,n)}function S(e,t,r,n){return ee(K(t),e,r,n)}function j(e,t,r,n){return S(e,t,r,n)}function P(e,t,r,n){return ee(Q(t),e,r,n)}function C(e,t,r,n){return ee(X(t,e.length-r),e,r,n)}function T(e,t,r){return 0===t&&r===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,r))}function R(e,t,r){r=Math.min(e.length,r);var n=[],o=t;while(o<r){var i,a,s,c,l=e[o],u=null,d=l>239?4:l>223?3:l>191?2:1;if(o+d<=r)switch(d){case 1:l<128&&(u=l);break;case 2:i=e[o+1],128===(192&i)&&(c=(31&l)<<6|63&i,c>127&&(u=c));break;case 3:i=e[o+1],a=e[o+2],128===(192&i)&&128===(192&a)&&(c=(15&l)<<12|(63&i)<<6|63&a,c>2047&&(c<55296||c>57343)&&(u=c));break;case 4:i=e[o+1],a=e[o+2],s=e[o+3],128===(192&i)&&128===(192&a)&&128===(192&s)&&(c=(15&l)<<18|(63&i)<<12|(63&a)<<6|63&s,c>65535&&c<1114112&&(u=c))}null===u?(u=65533,d=1):u>65535&&(u-=65536,n.push(u>>>10&1023|55296),u=56320|1023&u),n.push(u),o+=d}return $(n)}t.Buffer=l,t.SlowBuffer=y,t.INSPECT_MAX_BYTES=50,l.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:a(),t.kMaxLength=s(),l.poolSize=8192,l._augment=function(e){return e.__proto__=l.prototype,e},l.from=function(e,t,r){return u(null,e,t,r)},l.TYPED_ARRAY_SUPPORT&&(l.prototype.__proto__=Uint8Array.prototype,l.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.species&&l[Symbol.species]===l&&Object.defineProperty(l,Symbol.species,{value:null,configurable:!0})),l.alloc=function(e,t,r){return f(null,e,t,r)},l.allocUnsafe=function(e){return p(null,e)},l.allocUnsafeSlow=function(e){return p(null,e)},l.isBuffer=function(e){return!(null==e||!e._isBuffer)},l.compare=function(e,t){if(!l.isBuffer(e)||!l.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,n=t.length,o=0,i=Math.min(r,n);o<i;++o)if(e[o]!==t[o]){r=e[o],n=t[o];break}return r<n?-1:n<r?1:0},l.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(e,t){if(!i(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return l.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=l.allocUnsafe(t),o=0;for(r=0;r<e.length;++r){var a=e[r];if(!l.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(n,o),o+=a.length}return n},l.byteLength=w,l.prototype._isBuffer=!0,l.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)_(this,t,t+1);return this},l.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)_(this,t,t+3),_(this,t+1,t+2);return this},l.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)_(this,t,t+7),_(this,t+1,t+6),_(this,t+2,t+5),_(this,t+3,t+4);return this},l.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?R(this,0,e):x.apply(this,arguments)},l.prototype.equals=function(e){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===l.compare(this,e)},l.prototype.inspect=function(){var e="",r=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(e+=" ... ")),"<Buffer "+e+">"},l.prototype.compare=function(e,t,r,n,o){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),t<0||r>e.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&t>=r)return 0;if(n>=o)return-1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,o>>>=0,this===e)return 0;for(var i=o-n,a=r-t,s=Math.min(i,a),c=this.slice(n,o),u=e.slice(t,r),d=0;d<s;++d)if(c[d]!==u[d]){i=c[d],a=u[d];break}return i<a?-1:a<i?1:0},l.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},l.prototype.indexOf=function(e,t,r){return k(this,e,t,r,!0)},l.prototype.lastIndexOf=function(e,t,r){return k(this,e,t,r,!1)},l.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"===typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var o=this.length-t;if((void 0===r||r>o)&&(r=o),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var i=!1;;)switch(n){case"hex":return O(this,e,t,r);case"utf8":case"utf-8":return A(this,e,t,r);case"ascii":return S(this,e,t,r);case"latin1":case"binary":return j(this,e,t,r);case"base64":return P(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,e,t,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var I=4096;function $(e){var t=e.length;if(t<=I)return String.fromCharCode.apply(String,e);var r="",n=0;while(n<t)r+=String.fromCharCode.apply(String,e.slice(n,n+=I));return r}function D(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(127&e[o]);return n}function z(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(e[o]);return n}function M(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var o="",i=t;i<r;++i)o+=J(e[i]);return o}function B(e,t,r){for(var n=e.slice(t,r),o="",i=0;i<n.length;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}function L(e,t,r){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function N(e,t,r,n,o,i){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<i)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function U(e,t,r,n){t<0&&(t=65535+t+1);for(var o=0,i=Math.min(e.length-r,2);o<i;++o)e[r+o]=(t&255<<8*(n?o:1-o))>>>8*(n?o:1-o)}function F(e,t,r,n){t<0&&(t=4294967295+t+1);for(var o=0,i=Math.min(e.length-r,4);o<i;++o)e[r+o]=t>>>8*(n?o:3-o)&255}function W(e,t,r,n,o,i){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function q(e,t,r,n,i){return i||W(e,t,r,4,34028234663852886e22,-34028234663852886e22),o.write(e,t,r,n,23,4),r+4}function V(e,t,r,n,i){return i||W(e,t,r,8,17976931348623157e292,-17976931348623157e292),o.write(e,t,r,n,52,8),r+8}l.prototype.slice=function(e,t){var r,n=this.length;if(e=~~e,t=void 0===t?n:~~t,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),t<e&&(t=e),l.TYPED_ARRAY_SUPPORT)r=this.subarray(e,t),r.__proto__=l.prototype;else{var o=t-e;r=new l(o,void 0);for(var i=0;i<o;++i)r[i]=this[i+e]}return r},l.prototype.readUIntLE=function(e,t,r){e|=0,t|=0,r||L(e,t,this.length);var n=this[e],o=1,i=0;while(++i<t&&(o*=256))n+=this[e+i]*o;return n},l.prototype.readUIntBE=function(e,t,r){e|=0,t|=0,r||L(e,t,this.length);var n=this[e+--t],o=1;while(t>0&&(o*=256))n+=this[e+--t]*o;return n},l.prototype.readUInt8=function(e,t){return t||L(e,1,this.length),this[e]},l.prototype.readUInt16LE=function(e,t){return t||L(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUInt16BE=function(e,t){return t||L(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUInt32LE=function(e,t){return t||L(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUInt32BE=function(e,t){return t||L(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||L(e,t,this.length);var n=this[e],o=1,i=0;while(++i<t&&(o*=256))n+=this[e+i]*o;return o*=128,n>=o&&(n-=Math.pow(2,8*t)),n},l.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||L(e,t,this.length);var n=t,o=1,i=this[e+--n];while(n>0&&(o*=256))i+=this[e+--n]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*t)),i},l.prototype.readInt8=function(e,t){return t||L(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},l.prototype.readInt16LE=function(e,t){t||L(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},l.prototype.readInt16BE=function(e,t){t||L(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},l.prototype.readInt32LE=function(e,t){return t||L(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return t||L(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readFloatLE=function(e,t){return t||L(e,4,this.length),o.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return t||L(e,4,this.length),o.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return t||L(e,8,this.length),o.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return t||L(e,8,this.length),o.read(this,e,!1,52,8)},l.prototype.writeUIntLE=function(e,t,r,n){if(e=+e,t|=0,r|=0,!n){var o=Math.pow(2,8*r)-1;N(this,e,t,r,o,0)}var i=1,a=0;this[t]=255&e;while(++a<r&&(i*=256))this[t+a]=e/i&255;return t+r},l.prototype.writeUIntBE=function(e,t,r,n){if(e=+e,t|=0,r|=0,!n){var o=Math.pow(2,8*r)-1;N(this,e,t,r,o,0)}var i=r-1,a=1;this[t+i]=255&e;while(--i>=0&&(a*=256))this[t+i]=e/a&255;return t+r},l.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||N(this,e,t,1,255,0),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},l.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||N(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):U(this,e,t,!0),t+2},l.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||N(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):U(this,e,t,!1),t+2},l.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||N(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):F(this,e,t,!0),t+4},l.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||N(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):F(this,e,t,!1),t+4},l.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var o=Math.pow(2,8*r-1);N(this,e,t,r,o-1,-o)}var i=0,a=1,s=0;this[t]=255&e;while(++i<r&&(a*=256))e<0&&0===s&&0!==this[t+i-1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+r},l.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var o=Math.pow(2,8*r-1);N(this,e,t,r,o-1,-o)}var i=r-1,a=1,s=0;this[t+i]=255&e;while(--i>=0&&(a*=256))e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+r},l.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||N(this,e,t,1,127,-128),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||N(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):U(this,e,t,!0),t+2},l.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||N(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):U(this,e,t,!1),t+2},l.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||N(this,e,t,4,2147483647,-2147483648),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):F(this,e,t,!0),t+4},l.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||N(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):F(this,e,t,!1),t+4},l.prototype.writeFloatLE=function(e,t,r){return q(this,e,t,!0,r)},l.prototype.writeFloatBE=function(e,t,r){return q(this,e,t,!1,r)},l.prototype.writeDoubleLE=function(e,t,r){return V(this,e,t,!0,r)},l.prototype.writeDoubleBE=function(e,t,r){return V(this,e,t,!1,r)},l.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var o,i=n-r;if(this===e&&r<t&&t<n)for(o=i-1;o>=0;--o)e[o+t]=this[o+r];else if(i<1e3||!l.TYPED_ARRAY_SUPPORT)for(o=0;o<i;++o)e[o+t]=this[o+r];else Uint8Array.prototype.set.call(e,this.subarray(r,r+i),t);return i},l.prototype.fill=function(e,t,r,n){if("string"===typeof e){if("string"===typeof t?(n=t,t=0,r=this.length):"string"===typeof r&&(n=r,r=this.length),1===e.length){var o=e.charCodeAt(0);o<256&&(e=o)}if(void 0!==n&&"string"!==typeof n)throw new TypeError("encoding must be a string");if("string"===typeof n&&!l.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"===typeof e&&(e&=255);if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var i;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"===typeof e)for(i=t;i<r;++i)this[i]=e;else{var a=l.isBuffer(e)?e:Z(new l(e,n).toString()),s=a.length;for(i=0;i<r-t;++i)this[i+t]=a[i%s]}return this};var H=/[^+\/0-9A-Za-z-_]/g;function Y(e){if(e=G(e).replace(H,""),e.length<2)return"";while(e.length%4!==0)e+="=";return e}function G(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function J(e){return e<16?"0"+e.toString(16):e.toString(16)}function Z(e,t){var r;t=t||1/0;for(var n=e.length,o=null,i=[],a=0;a<n;++a){if(r=e.charCodeAt(a),r>55295&&r<57344){if(!o){if(r>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function K(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}function X(e,t){for(var r,n,o,i=[],a=0;a<e.length;++a){if((t-=2)<0)break;r=e.charCodeAt(a),n=r>>8,o=r%256,i.push(o),i.push(n)}return i}function Q(e){return n.toByteArray(Y(e))}function ee(e,t,r,n){for(var o=0;o<n;++o){if(o+r>=t.length||o>=e.length)break;t[o+r]=e[o]}return o}function te(e){return e!==e}}).call(this,r("c8ba"))},b64b:function(e,t,r){var n=r("23e7"),o=r("7b0b"),i=r("df75"),a=r("d039"),s=a((function(){i(1)}));n({target:"Object",stat:!0,forced:s},{keys:function(e){return i(o(e))}})},b727:function(e,t,r){var n=r("0366"),o=r("44ad"),i=r("7b0b"),a=r("50c4"),s=r("65f0"),c=[].push,l=function(e){var t=1==e,r=2==e,l=3==e,u=4==e,d=6==e,f=7==e,p=5==e||d;return function(h,b,m,g){for(var v,y,w=i(h),x=o(w),_=n(b,m,3),k=a(x.length),E=0,O=g||s,A=t?O(h,k):r||f?O(h,0):void 0;k>E;E++)if((p||E in x)&&(v=x[E],y=_(v,E,w),e))if(t)A[E]=y;else if(y)switch(e){case 3:return!0;case 5:return v;case 6:return E;case 2:c.call(A,v)}else switch(e){case 4:return!1;case 7:c.call(A,v)}return d?-1:l||u?u:A}};e.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterOut:l(7)}},b997:function(e,t,r){(function(t){!function(t,r){e.exports=r()}("undefined"!=typeof self&&self,(function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return{}.hasOwnProperty.call(e,t)},r.p="",r(r.s=0)}([function(e,r,n){"use strict";function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function a(e){try{if(!e)return!1;if("undefined"!=typeof Promise&&e instanceof Promise)return!0;if("undefined"!=typeof window&&"function"==typeof window.Window&&e instanceof window.Window)return!1;if("undefined"!=typeof window&&"function"==typeof window.constructor&&e instanceof window.constructor)return!1;var t={}.toString;if(t){var r=t.call(e);if("[object Window]"===r||"[object global]"===r||"[object DOMWindow]"===r)return!1}if("function"==typeof e.then)return!0}catch(n){return!1}return!1}n.r(r),n.d(r,"PopupOpenError",(function(){return Ne})),n.d(r,"create",(function(){return Dr})),n.d(r,"destroy",(function(){return Br})),n.d(r,"destroyComponents",(function(){return zr})),n.d(r,"destroyAll",(function(){return Mr})),n.d(r,"PROP_TYPE",(function(){return fr})),n.d(r,"PROP_SERIALIZATION",(function(){return pr})),n.d(r,"CONTEXT",(function(){return hr})),n.d(r,"EVENT",(function(){return br}));var s,c=[],l=[],u=0;function d(){if(!u&&s){var e=s;s=null,e.resolve()}}function f(){u+=1}function p(){u-=1,d()}var h=function(){function e(e){var t=this;if(this.resolved=void 0,this.rejected=void 0,this.errorHandled=void 0,this.value=void 0,this.error=void 0,this.handlers=void 0,this.dispatching=void 0,this.stack=void 0,this.resolved=!1,this.rejected=!1,this.errorHandled=!1,this.handlers=[],e){var r,n,o=!1,i=!1,a=!1;f();try{e((function(e){a?t.resolve(e):(o=!0,r=e)}),(function(e){a?t.reject(e):(i=!0,n=e)}))}catch(s){return p(),void this.reject(s)}p(),a=!0,o?this.resolve(r):i&&this.reject(n)}}var t=e.prototype;return t.resolve=function(e){if(this.resolved||this.rejected)return this;if(a(e))throw new Error("Can not resolve promise with another promise");return this.resolved=!0,this.value=e,this.dispatch(),this},t.reject=function(e){var t=this;if(this.resolved||this.rejected)return this;if(a(e))throw new Error("Can not reject promise with another promise");if(!e){var r=e&&"function"==typeof e.toString?e.toString():{}.toString.call(e);e=new Error("Expected reject to be called with Error, got "+r)}return this.rejected=!0,this.error=e,this.errorHandled||setTimeout((function(){t.errorHandled||function(e,t){if(-1===c.indexOf(e)){c.push(e),setTimeout((function(){throw e}),1);for(var r=0;r<l.length;r++)l[r](e,t)}}(e,t)}),1),this.dispatch(),this},t.asyncReject=function(e){return this.errorHandled=!0,this.reject(e),this},t.dispatch=function(){var t=this.resolved,r=this.rejected,n=this.handlers;if(!this.dispatching&&(t||r)){this.dispatching=!0,f();for(var o=function(e,t){return e.then((function(e){t.resolve(e)}),(function(e){t.reject(e)}))},i=0;i<n.length;i++){var s=n[i],c=s.onSuccess,l=s.onError,u=s.promise,d=void 0;if(t)try{d=c?c(this.value):this.value}catch(h){u.reject(h);continue}else if(r){if(!l){u.reject(this.error);continue}try{d=l(this.error)}catch(h){u.reject(h);continue}}d instanceof e&&(d.resolved||d.rejected)?(d.resolved?u.resolve(d.value):u.reject(d.error),d.errorHandled=!0):a(d)?d instanceof e&&(d.resolved||d.rejected)?d.resolved?u.resolve(d.value):u.reject(d.error):o(d,u):u.resolve(d)}n.length=0,this.dispatching=!1,p()}},t.then=function(t,r){if(t&&"function"!=typeof t&&!t.call)throw new Error("Promise.then expected a function for success handler");if(r&&"function"!=typeof r&&!r.call)throw new Error("Promise.then expected a function for error handler");var n=new e;return this.handlers.push({promise:n,onSuccess:t,onError:r}),this.errorHandled=!0,this.dispatch(),n},t.catch=function(e){return this.then(void 0,e)},t.finally=function(t){if(t&&"function"!=typeof t&&!t.call)throw new Error("Promise.finally expected a function");return this.then((function(r){return e.try(t).then((function(){return r}))}),(function(r){return e.try(t).then((function(){throw r}))}))},t.timeout=function(e,t){var r=this;if(this.resolved||this.rejected)return this;var n=setTimeout((function(){r.resolved||r.rejected||r.reject(t||new Error("Promise timed out after "+e+"ms"))}),e);return this.then((function(e){return clearTimeout(n),e}))},t.toPromise=function(){if("undefined"==typeof Promise)throw new TypeError("Could not find Promise");return Promise.resolve(this)},e.resolve=function(t){return t instanceof e?t:a(t)?new e((function(e,r){return t.then(e,r)})):(new e).resolve(t)},e.reject=function(t){return(new e).reject(t)},e.asyncReject=function(t){return(new e).asyncReject(t)},e.all=function(t){var r=new e,n=t.length,o=[];if(!n)return r.resolve(o),r;for(var i=function(e,t,i){return t.then((function(t){o[e]=t,0==(n-=1)&&r.resolve(o)}),(function(e){i.reject(e)}))},s=0;s<t.length;s++){var c=t[s];if(c instanceof e){if(c.resolved){o[s]=c.value,n-=1;continue}}else if(!a(c)){o[s]=c,n-=1;continue}i(s,e.resolve(c),r)}return 0===n&&r.resolve(o),r},e.hash=function(t){var r={},n=[],o=function(e){if(t.hasOwnProperty(e)){var o=t[e];a(o)?n.push(o.then((function(t){r[e]=t}))):r[e]=o}};for(var i in t)o(i);return e.all(n).then((function(){return r}))},e.map=function(t,r){return e.all(t.map(r))},e.onPossiblyUnhandledException=function(e){return function(e){return l.push(e),{cancel:function(){l.splice(l.indexOf(e),1)}}}(e)},e.try=function(t,r,n){if(t&&"function"!=typeof t&&!t.call)throw new Error("Promise.try expected a function");var o;f();try{o=t.apply(r,n||[])}catch(i){return p(),e.reject(i)}return p(),e.resolve(o)},e.delay=function(t){return new e((function(e){setTimeout(e,t)}))},e.isPromise=function(t){return!!(t&&t instanceof e)||a(t)},e.flush=function(){return function(e){var t=s=s||new e;return d(),t}(e)},e}();function b(e){return"[object RegExp]"==={}.toString.call(e)}var m={IFRAME:"iframe",POPUP:"popup"},g="Call was rejected by callee.\r\n";function v(e){return void 0===e&&(e=window),"about:"===e.location.protocol}function y(e){if(void 0===e&&(e=window),e)try{if(e.parent&&e.parent!==e)return e.parent}catch(t){}}function w(e){if(void 0===e&&(e=window),e&&!y(e))try{return e.opener}catch(t){}}function x(e){try{return!0}catch(t){}return!1}function _(e){void 0===e&&(e=window);var t=e.location;if(!t)throw new Error("Can not read window location");var r=t.protocol;if(!r)throw new Error("Can not read window protocol");if("file:"===r)return"file://";if("about:"===r){var n=y(e);return n&&x()?_(n):"about://"}var o=t.host;if(!o)throw new Error("Can not read window host");return r+"//"+o}function k(e){void 0===e&&(e=window);var t=_(e);return t&&e.mockDomain&&0===e.mockDomain.indexOf("mock:")?e.mockDomain:t}function E(e){if(!function(e){try{if(e===window)return!0}catch(r){}try{var t=Object.getOwnPropertyDescriptor(e,"location");if(t&&!1===t.enumerable)return!1}catch(r){}try{if(v(e)&&x())return!0}catch(r){}try{if(_(e)===_(window))return!0}catch(r){}return!1}(e))return!1;try{if(e===window)return!0;if(v(e)&&x())return!0;if(k(window)===k(e))return!0}catch(t){}return!1}function O(e){if(!E(e))throw new Error("Expected window to be same domain");return e}function A(e,t){if(!e||!t)return!1;var r=y(t);return r?r===e:-1!==function(e){var t=[];try{for(;e.parent!==e;)t.push(e.parent),e=e.parent}catch(r){}return t}(t).indexOf(e)}function S(e){var t,r,n=[];try{t=e.frames}catch(c){t=e}try{r=t.length}catch(c){}if(0===r)return n;if(r){for(var o=0;o<r;o++){var i=void 0;try{i=t[o]}catch(c){continue}n.push(i)}return n}for(var a=0;a<100;a++){var s=void 0;try{s=t[a]}catch(c){return n}if(!s)return n;n.push(s)}return n}function j(e){for(var t=[],r=0,n=S(e);r<n.length;r++){var o=n[r];t.push(o);for(var i=0,a=j(o);i<a.length;i++)t.push(a[i])}return t}function P(e){void 0===e&&(e=window);try{if(e.top)return e.top}catch(o){}if(y(e)===e)return e;try{if(A(window,e)&&window.top)return window.top}catch(o){}try{if(A(e,window)&&window.top)return window.top}catch(o){}for(var t=0,r=j(e);t<r.length;t++){var n=r[t];try{if(n.top)return n.top}catch(o){}if(y(n)===n)return n}}function C(e){var t=P(e);if(!t)throw new Error("Can not determine top window");var r=[].concat(j(t),[t]);return-1===r.indexOf(e)&&(r=[].concat(r,[e],j(e))),r}var T=[],R=[];function I(e,t){void 0===t&&(t=!0);try{if(e===window)return!1}catch(o){return!0}try{if(!e)return!0}catch(o){return!0}try{if(e.closed)return!0}catch(o){return!o||o.message!==g}if(t&&E(e))try{if(e.mockclosed)return!0}catch(o){}try{if(!e.parent||!e.top)return!0}catch(o){}var r=function(e,t){for(var r=0;r<e.length;r++)try{if(e[r]===t)return r}catch(o){}return-1}(T,e);if(-1!==r){var n=R[r];if(n&&function(e){if(!e.contentWindow)return!0;if(!e.parentNode)return!0;var t=e.ownerDocument;if(t&&t.documentElement&&!t.documentElement.contains(e)){for(var r=e;r.parentNode&&r.parentNode!==r;)r=r.parentNode;if(!r.host||!t.documentElement.contains(r.host))return!0}return!1}(n))return!0}return!1}function $(e){return(e=e||window).navigator.mockUserAgent||e.navigator.userAgent}function D(e,t){for(var r=S(e),n=0;n<r.length;n++){var o=r[n];try{if(E(o)&&o.name===t&&-1!==r.indexOf(o))return o}catch(i){}}try{if(-1!==r.indexOf(e.frames[t]))return e.frames[t]}catch(i){}try{if(-1!==r.indexOf(e[t]))return e[t]}catch(i){}}function z(e,t){return e===w(t)}function M(e){return void 0===e&&(e=window),w(e=e||window)||y(e)||void 0}function B(e,t){for(var r=0;r<e.length;r++)for(var n=e[r],o=0;o<t.length;o++)if(n===t[o])return!0;return!1}function L(e){void 0===e&&(e=window);for(var t=0,r=e;r;)(r=y(r))&&(t+=1);return t}function N(e,t){var r=P(e)||e,n=P(t)||t;try{if(r&&n)return r===n}catch(c){}var o=C(e),i=C(t);if(B(o,i))return!0;var a=w(r),s=w(n);return a&&B(C(a),i)||s&&B(C(s),o),!1}function U(e,t){if("string"==typeof e){if("string"==typeof t)return"*"===e||t===e;if(b(t))return!1;if(Array.isArray(t))return!1}return b(e)?b(t)?e.toString()===t.toString():!Array.isArray(t)&&Boolean(t.match(e)):!!Array.isArray(e)&&(Array.isArray(t)?JSON.stringify(e)===JSON.stringify(t):!b(t)&&e.some((function(e){return U(e,t)})))}function F(e){return e.match(/^(https?|mock|file):\/\//)?e.split("/").slice(0,3).join("/"):k()}function W(e,t,r,n){var o;return void 0===r&&(r=1e3),void 0===n&&(n=1/0),function i(){if(I(e))return o&&clearTimeout(o),t();n<=0?clearTimeout(o):(n-=r,o=setTimeout(i,r))}(),{cancel:function(){o&&clearTimeout(o)}}}function q(e){try{if(e===window)return!0}catch(t){if(t&&t.message===g)return!0}try{if("[object Window]"==={}.toString.call(e))return!0}catch(t){if(t&&t.message===g)return!0}try{if(window.Window&&e instanceof window.Window)return!0}catch(t){if(t&&t.message===g)return!0}try{if(e&&e.self===e)return!0}catch(t){if(t&&t.message===g)return!0}try{if(e&&e.parent===e)return!0}catch(t){if(t&&t.message===g)return!0}try{if(e&&e.top===e)return!0}catch(t){if(t&&t.message===g)return!0}try{if(e&&"__unlikely_value__"===e.__cross_domain_utils_window_check__)return!1}catch(t){return!0}try{if("postMessage"in e&&"self"in e&&"location"in e)return!0}catch(t){}return!1}function V(e){if(t=F(e),0!==t.indexOf("mock:"))return e;var t;throw new Error("Mock urls not supported out of test mode")}function H(e){try{e.close()}catch(t){}}function Y(e,t){for(var r=0;r<e.length;r++)try{if(e[r]===t)return r}catch(n){}return-1}var G,J=function(){function e(){if(this.name=void 0,this.weakmap=void 0,this.keys=void 0,this.values=void 0,this.name="__weakmap_"+(1e9*Math.random()>>>0)+"__",function(){if("undefined"==typeof WeakMap)return!1;if(void 0===Object.freeze)return!1;try{var e=new WeakMap,t={};return Object.freeze(t),e.set(t,"__testvalue__"),"__testvalue__"===e.get(t)}catch(r){return!1}}())try{this.weakmap=new WeakMap}catch(e){}this.keys=[],this.values=[]}var t=e.prototype;return t._cleanupClosedWindows=function(){for(var e=this.weakmap,t=this.keys,r=0;r<t.length;r++){var n=t[r];if(q(n)&&I(n)){if(e)try{e.delete(n)}catch(o){}t.splice(r,1),this.values.splice(r,1),r-=1}}},t.isSafeToReadWrite=function(e){return!q(e)},t.set=function(e,t){if(!e)throw new Error("WeakMap expected key");var r=this.weakmap;if(r)try{r.set(e,t)}catch(c){delete this.weakmap}if(this.isSafeToReadWrite(e))try{var n=this.name,o=e[n];return void(o&&o[0]===e?o[1]=t:Object.defineProperty(e,n,{value:[e,t],writable:!0}))}catch(c){}this._cleanupClosedWindows();var i=this.keys,a=this.values,s=Y(i,e);-1===s?(i.push(e),a.push(t)):a[s]=t},t.get=function(e){if(!e)throw new Error("WeakMap expected key");var t=this.weakmap;if(t)try{if(t.has(e))return t.get(e)}catch(o){delete this.weakmap}if(this.isSafeToReadWrite(e))try{var r=e[this.name];return r&&r[0]===e?r[1]:void 0}catch(o){}this._cleanupClosedWindows();var n=Y(this.keys,e);if(-1!==n)return this.values[n]},t.delete=function(e){if(!e)throw new Error("WeakMap expected key");var t=this.weakmap;if(t)try{t.delete(e)}catch(i){delete this.weakmap}if(this.isSafeToReadWrite(e))try{var r=e[this.name];r&&r[0]===e&&(r[0]=r[1]=void 0)}catch(i){}this._cleanupClosedWindows();var n=this.keys,o=Y(n,e);-1!==o&&(n.splice(o,1),this.values.splice(o,1))},t.has=function(e){if(!e)throw new Error("WeakMap expected key");var t=this.weakmap;if(t)try{if(t.has(e))return!0}catch(n){delete this.weakmap}if(this.isSafeToReadWrite(e))try{var r=e[this.name];return!(!r||r[0]!==e)}catch(n){}return this._cleanupClosedWindows(),-1!==Y(this.keys,e)},t.getOrSet=function(e,t){if(this.has(e))return this.get(e);var r=t();return this.set(e,r),r},e}();function Z(e){return(Z=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function K(e,t){return(K=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function X(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function Q(e,t,r){return(Q=X()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var o=new(Function.bind.apply(e,n));return r&&K(o,r.prototype),o}).apply(null,arguments)}function ee(e){var t="function"==typeof Map?new Map:void 0;return(ee=function(e){if(null===e||(r=e,-1===Function.toString.call(r).indexOf("[native code]")))return e;var r;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return Q(e,arguments,Z(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),K(n,e)})(e)}function te(e){return e.name||e.__name__||e.displayName||"anonymous"}function re(e,t){try{delete e.name,e.name=t}catch(r){}return e.__name__=e.displayName=t,e}function ne(e){if("function"==typeof btoa)return btoa(encodeURIComponent(e).replace(/%([0-9A-F]{2})/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})));if("undefined"!=typeof t)return t.from(e,"utf8").toString("base64");throw new Error("Can not find window.btoa or Buffer")}function oe(){var e="0123456789abcdef";return"xxxxxxxxxx".replace(/./g,(function(){return e.charAt(Math.floor(Math.random()*e.length))}))+"_"+ne((new Date).toISOString().slice(11,19).replace("T",".")).replace(/[^a-zA-Z0-9]/g,"").toLowerCase()}function ie(e){try{return JSON.stringify([].slice.call(e),(function(e,t){return"function"==typeof t?"memoize["+function(e){if(G=G||new J,null==e||"object"!=typeof e&&"function"!=typeof e)throw new Error("Invalid object");var t=G.get(e);return t||(t=typeof e+":"+oe(),G.set(e,t)),t}(t)+"]":t}))}catch(t){throw new Error("Arguments not serializable -- can not be used to memoize")}}function ae(){return{}}var se=0,ce=0;function le(e,t){void 0===t&&(t={});var r,n,o=t.thisNamespace,i=void 0!==o&&o,a=t.time,s=se;se+=1;var c=function(){for(var t=arguments.length,o=new Array(t),c=0;c<t;c++)o[c]=arguments[c];var l;s<ce&&(r=null,n=null,s=se,se+=1),l=i?(n=n||new J).getOrSet(this,ae):r=r||{};var u=ie(o),d=l[u];if(d&&a&&Date.now()-d.time<a&&(delete l[u],d=null),d)return d.value;var f=Date.now(),p=e.apply(this,arguments);return l[u]={time:f,value:p},p};return c.reset=function(){r=null,n=null},re(c,(t.name||te(e))+"::memoized")}function ue(e){var t={};function r(){for(var r=arguments,n=this,o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];var s=ie(i);return t.hasOwnProperty(s)||(t[s]=h.try((function(){return e.apply(n,r)})).finally((function(){delete t[s]}))),t[s]}return r.reset=function(){t={}},re(r,te(e)+"::promiseMemoized")}function de(e,t,r){void 0===r&&(r=[]);var n=e.__inline_memoize_cache__=e.__inline_memoize_cache__||{},o=ie(r);return n.hasOwnProperty(o)?n[o]:n[o]=t.apply(void 0,r)}function fe(){}function pe(e){var t=!1;return re((function(){if(!t)return t=!0,e.apply(this,arguments)}),te(e)+"::once")}function he(e,t){if(void 0===t&&(t=1),t>=3)return"stringifyError stack overflow";try{if(!e)return"<unknown error: "+{}.toString.call(e)+">";if("string"==typeof e)return e;if(e instanceof Error){var r=e&&e.stack,n=e&&e.message;if(r&&n)return-1!==r.indexOf(n)?r:n+"\n"+r;if(r)return r;if(n)return n}return e&&e.toString&&"function"==typeof e.toString?e.toString():{}.toString.call(e)}catch(o){return"Error while stringifying error: "+he(o,t+1)}}function be(e){return"string"==typeof e?e:e&&e.toString&&"function"==typeof e.toString?e.toString():{}.toString.call(e)}function me(e,t){if(!t)return e;if(Object.assign)return Object.assign(e,t);for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);return e}function ge(e){return e}function ve(e,t){var r;return function n(){r=setTimeout((function(){e(),n()}),t)}(),{cancel:function(){clearTimeout(r)}}}function ye(e,t,r){if(Array.isArray(e)){if("number"!=typeof t)throw new TypeError("Array key must be number")}else if("object"==typeof e&&null!==e&&"string"!=typeof t)throw new TypeError("Object key must be string");Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){delete e[t];var n=r();return e[t]=n,n},set:function(r){delete e[t],e[t]=r}})}function we(e){return[].slice.call(e)}function xe(e){return"object"==typeof(t=e)&&null!==t&&"[object Object]"==={}.toString.call(e);var t}function _e(e){if(!xe(e))return!1;var t=e.constructor;if("function"!=typeof t)return!1;var r=t.prototype;return!!xe(r)&&!!r.hasOwnProperty("isPrototypeOf")}function ke(e,t,r){if(void 0===r&&(r=""),Array.isArray(e)){for(var n=e.length,o=[],i=function(n){ye(o,n,(function(){var o=r?r+"."+n:""+n,i=t(e[n],n,o);return(_e(i)||Array.isArray(i))&&(i=ke(i,t,o)),i}))},a=0;a<n;a++)i(a);return o}if(_e(e)){var s={},c=function(n){if(!e.hasOwnProperty(n))return"continue";ye(s,n,(function(){var o=r?r+"."+n:""+n,i=t(e[n],n,o);return(_e(i)||Array.isArray(i))&&(i=ke(i,t,o)),i}))};for(var l in e)c(l);return s}throw new Error("Pass an object or array")}function Ee(e){return null!=e}function Oe(e){return"[object RegExp]"==={}.toString.call(e)}function Ae(e,t,r){if(e.hasOwnProperty(t))return e[t];var n=r();return e[t]=n,n}function Se(e){var t,r=[],n=!1;return{set:function(t,r){return n||(e[t]=r,this.register((function(){delete e[t]}))),r},register:function(e){n?e(t):r.push(pe((function(){return e(t)})))},all:function(e){t=e;var o=[];for(n=!0;r.length;){var i=r.shift();o.push(i())}return h.all(o).then(fe)}}}function je(e,t){if(null==t)throw new Error("Expected "+e+" to be present");return t}le.clear=function(){ce=se},le((function(e){if(Object.values)return Object.values(e);var t=[];for(var r in e)e.hasOwnProperty(r)&&t.push(e[r]);return t}));var Pe=function(e){function t(t){var r;return(r=e.call(this,t)||this).name=r.constructor.name,"function"==typeof Error.captureStackTrace?Error.captureStackTrace(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(r),r.constructor):r.stack=new Error(t).stack,r}return o(t,e),t}(ee(Error));function Ce(){return Boolean(document.body)&&"complete"===document.readyState}function Te(){return Boolean(document.body)&&"interactive"===document.readyState}function Re(e){return e.replace(/\?/g,"%3F").replace(/&/g,"%26").replace(/#/g,"%23").replace(/\+/g,"%2B")}function Ie(e){return de(Ie,(function(){var t={};if(!e)return t;if(-1===e.indexOf("="))return t;for(var r=0,n=e.split("&");r<n.length;r++){var o=n[r];(o=o.split("="))[0]&&o[1]&&(t[decodeURIComponent(o[0])]=decodeURIComponent(o[1]))}return t}),[e])}function $e(e,t){return void 0===t&&(t={}),t&&Object.keys(t).length?function(e){return void 0===e&&(e={}),Object.keys(e).filter((function(t){return"string"==typeof e[t]})).map((function(t){return Re(t)+"="+Re(e[t])})).join("&")}(i({},Ie(e),t)):e}function De(e,t){e.appendChild(t)}function ze(e){return e instanceof window.Element||null!==e&&"object"==typeof e&&1===e.nodeType&&"object"==typeof e.style&&"object"==typeof e.ownerDocument}function Me(e,t){return void 0===t&&(t=document),ze(e)?e:"string"==typeof e?t.querySelector(e):void 0}function Be(e){return new h((function(t,r){var n=be(e),o=Me(e);if(o)return t(o);if(Ce())return r(new Error("Document is ready and element "+n+" does not exist"));var i=setInterval((function(){return(o=Me(e))?(clearInterval(i),t(o)):Ce()?(clearInterval(i),r(new Error("Document is ready and element "+n+" does not exist"))):void 0}),10)}))}le((function(){return new h((function(e){if(Ce()||Te())return e();var t=setInterval((function(){if(Ce()||Te())return clearInterval(t),e()}),10)}))}));var Le,Ne=function(e){function t(){return e.apply(this,arguments)||this}return o(t,e),t}(Pe);function Ue(e){if((Le=Le||new J).has(e)){var t=Le.get(e);if(t)return t}var r=new h((function(t,r){e.addEventListener("load",(function(){!function(e){if(function(){for(var e=0;e<T.length;e++){var t=!1;try{t=T[e].closed}catch(r){}t&&(R.splice(e,1),T.splice(e,1))}}(),e&&e.contentWindow)try{T.push(e.contentWindow),R.push(e)}catch(t){}}(e),t(e)})),e.addEventListener("error",(function(n){e.contentWindow?t(e):r(n)}))}));return Le.set(e,r),r}function Fe(e){return Ue(e).then((function(e){if(!e.contentWindow)throw new Error("Could not find window in iframe");return e.contentWindow}))}function We(e,t){void 0===e&&(e={});var r=e.style||{},n=function(e,t,r){void 0===e&&(e="div"),void 0===t&&(t={}),e=e.toLowerCase();var n=document.createElement(e);if(t.style&&me(n.style,t.style),t.class&&(n.className=t.class.join(" ")),t.id&&n.setAttribute("id",t.id),t.attributes)for(var o=0,i=Object.keys(t.attributes);o<i.length;o++){var a=i[o];n.setAttribute(a,t.attributes[a])}if(t.styleSheet&&function(e,t,r){void 0===r&&(r=window.document),e.styleSheet?e.styleSheet.cssText=t:e.appendChild(r.createTextNode(t))}(n,t.styleSheet),t.html){if("iframe"===e)throw new Error("Iframe html can not be written unless container provided and iframe in DOM");n.innerHTML=t.html}return n}("iframe",{attributes:i({allowTransparency:"true"},e.attributes||{}),style:i({backgroundColor:"transparent",border:"none"},r),html:e.html,class:e.class}),o=window.navigator.userAgent.match(/MSIE|Edge/i);return n.hasAttribute("id")||n.setAttribute("id",oe()),Ue(n),t&&function(e,t){void 0===t&&(t=document);var r=Me(e,t);if(r)return r;throw new Error("Can not find element: "+be(e))}(t).appendChild(n),(e.url||o)&&n.setAttribute("src",e.url||"about:blank"),n}function qe(e,t,r){return e.addEventListener(t,r),{cancel:function(){e.removeEventListener(t,r)}}}function Ve(e){e.style.setProperty("display","")}function He(e){e.style.setProperty("display","none","important")}function Ye(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function Ge(e){return!(e&&e.parentNode&&e.ownerDocument&&e.ownerDocument.documentElement&&e.ownerDocument.documentElement.contains(e))}function Je(e,t,r){var n=void 0===r?{}:r,o=n.width,i=void 0===o||o,a=n.height,s=void 0===a||a,c=n.interval,l=void 0===c?100:c,u=n.win,d=void 0===u?window:u,f=e.offsetWidth,p=e.offsetHeight,h=!1;t({width:f,height:p});var b,m,g=function(){if(!h&&function(e){return Boolean(e.offsetWidth||e.offsetHeight||e.getClientRects().length)}(e)){var r=e.offsetWidth,n=e.offsetHeight;(i&&r!==f||s&&n!==p)&&t({width:r,height:n}),f=r,p=n}};return d.addEventListener("resize",g),void 0!==d.ResizeObserver?((b=new d.ResizeObserver(g)).observe(e),m=ve(g,10*l)):void 0!==d.MutationObserver?((b=new d.MutationObserver(g)).observe(e,{attributes:!0,childList:!0,subtree:!0,characterData:!1}),m=ve(g,10*l)):m=ve(g,l),{cancel:function(){h=!0,b.disconnect(),window.removeEventListener("resize",g),m.cancel()}}}function Ze(e){for(;e.parentNode;)e=e.parentNode;return"[object ShadowRoot]"===e.toString()}var Ke="undefined"!=typeof document?document.currentScript:null,Xe=le((function(){if(Ke)return Ke;if(Ke=function(){try{var e=function(){try{throw new Error("_")}catch(e){return e.stack||""}}(),t=/.*at [^(]*\((.*):(.+):(.+)\)$/gi.exec(e),r=t&&t[1];if(!r)return;for(var n=0,o=[].slice.call(document.getElementsByTagName("script")).reverse();n<o.length;n++){var i=o[n];if(i.src&&i.src===r)return i}}catch(a){}}())return Ke;throw new Error("Can not determine current script")})),Qe=oe();function et(e){return"string"==typeof e&&/^[0-9]+%$/.test(e)}function tt(e){if("number"==typeof e)return e;var t=e.match(/^([0-9]+)(px|%)$/);if(!t)throw new Error("Could not match css value from "+e);return parseInt(t[1],10)}function rt(e){return tt(e)+"px"}function nt(e){return"number"==typeof e?rt(e):et(e)?e:rt(e)}function ot(e,t){if("number"==typeof e)return e;if(et(e))return parseInt(t*tt(e)/100,10);if("string"==typeof(r=e)&&/^[0-9]+px$/.test(r))return tt(e);var r;throw new Error("Can not normalize dimension: "+e)}function it(e){void 0===e&&(e=window);var t="__post_robot_10_0_42__";return e!==window?e[t]:e[t]=e[t]||{}}le((function(){var e;try{e=Xe()}catch(r){return Qe}var t=e.getAttribute("data-uid");return t&&"string"==typeof t||(t=e.getAttribute("data-uid-auto"))&&"string"==typeof t||(t=oe(),e.setAttribute("data-uid-auto",t)),t}));var at=function(){return{}};function st(e,t){return void 0===e&&(e="store"),void 0===t&&(t=at),Ae(it(),e,(function(){var e=t();return{has:function(t){return e.hasOwnProperty(t)},get:function(t,r){return e.hasOwnProperty(t)?e[t]:r},set:function(t,r){return e[t]=r,r},del:function(t){delete e[t]},getOrSet:function(t,r){return Ae(e,t,r)},reset:function(){e=t()},keys:function(){return Object.keys(e)}}}))}var ct,lt=function(){};function ut(){var e=it();return e.WINDOW_WILDCARD=e.WINDOW_WILDCARD||new lt,e.WINDOW_WILDCARD}function dt(e,t){return void 0===e&&(e="store"),void 0===t&&(t=at),st("windowStore").getOrSet(e,(function(){var r=new J,n=function(e){return r.getOrSet(e,t)};return{has:function(t){return n(t).hasOwnProperty(e)},get:function(t,r){var o=n(t);return o.hasOwnProperty(e)?o[e]:r},set:function(t,r){return n(t)[e]=r,r},del:function(t){delete n(t)[e]},getOrSet:function(t,r){return Ae(n(t),e,r)}}}))}function ft(){return st("instance").getOrSet("instanceID",oe)}function pt(e,t){var r=t.domain,n=dt("helloPromises"),o=n.get(e);o&&o.resolve({domain:r});var i=h.resolve({domain:r});return n.set(e,i),i}function ht(e,t){return(0,t.send)(e,"postrobot_hello",{instanceID:ft()},{domain:"*",timeout:-1}).then((function(t){var r=t.origin,n=t.data.instanceID;return pt(e,{domain:r}),{win:e,domain:r,instanceID:n}}))}function bt(e,t){var r=t.send;return dt("windowInstanceIDPromises").getOrSet(e,(function(){return ht(e,{send:r}).then((function(e){return e.instanceID}))}))}function mt(e,t,r){void 0===t&&(t=5e3),void 0===r&&(r="Window");var n=function(e){return dt("helloPromises").getOrSet(e,(function(){return new h}))}(e);return-1!==t&&(n=n.timeout(t,new Error(r+" did not load after "+t+"ms"))),n}function gt(e){dt("knownWindows").set(e,!0)}function vt(e){return"object"==typeof e&&null!==e&&"string"==typeof e.__type__}function yt(e){return void 0===e?"undefined":null===e?"null":Array.isArray(e)?"array":"function"==typeof e?"function":"object"==typeof e?e instanceof Error?"error":"function"==typeof e.then?"promise":"[object RegExp]"==={}.toString.call(e)?"regex":"[object Date]"==={}.toString.call(e)?"date":"object":"string"==typeof e?"string":"number"==typeof e?"number":"boolean"==typeof e?"boolean":void 0}function wt(e,t){return{__type__:e,__val__:t}}var xt,_t=((ct={}).function=function(){},ct.error=function(e){return wt("error",{message:e.message,stack:e.stack,code:e.code,data:e.data})},ct.promise=function(){},ct.regex=function(e){return wt("regex",e.source)},ct.date=function(e){return wt("date",e.toJSON())},ct.array=function(e){return e},ct.object=function(e){return e},ct.string=function(e){return e},ct.number=function(e){return e},ct.boolean=function(e){return e},ct.null=function(e){return e},ct),kt={},Et=((xt={}).function=function(){throw new Error("Function serialization is not implemented; nothing to deserialize")},xt.error=function(e){var t=e.stack,r=e.code,n=e.data,o=new Error(e.message);return o.code=r,n&&(o.data=n),o.stack=t+"\n\n"+o.stack,o},xt.promise=function(){throw new Error("Promise serialization is not implemented; nothing to deserialize")},xt.regex=function(e){return new RegExp(e)},xt.date=function(e){return new Date(e)},xt.array=function(e){return e},xt.object=function(e){return e},xt.string=function(e){return e},xt.number=function(e){return e},xt.boolean=function(e){return e},xt.null=function(e){return e},xt),Ot={};function At(){return!!$(window).match(/MSIE|trident|edge\/12|edge\/13/i)}function St(e){return!N(window,e)}function jt(e,t){if(e){if(k()!==F(e))return!0}else if(t&&!E(t))return!0;return!1}function Pt(e){var t=e.win,r=e.domain;return!(!At()||r&&!jt(r,t)||t&&!St(t))}function Ct(e){return"__postrobot_bridge___"+(e=e||F(e)).replace(/[^a-zA-Z0-9]+/g,"_")}function Tt(){return Boolean(window.name&&window.name===Ct(k()))}var Rt=new h((function(e){if(window.document&&window.document.body)return e(window.document.body);var t=setInterval((function(){if(window.document&&window.document.body)return clearInterval(t),e(window.document.body)}),10)}));function It(e){dt("remoteWindowPromises").getOrSet(e,(function(){return new h}))}function $t(e){var t=dt("remoteWindowPromises").get(e);if(!t)throw new Error("Remote window promise not found");return t}function Dt(e,t,r){$t(e).resolve((function(n,o,i){if(n!==e)throw new Error("Remote window does not match window");if(!U(o,t))throw new Error("Remote domain "+o+" does not match domain "+t);r.fireAndForget(i)}))}function zt(e,t){$t(e).reject(t).catch(fe)}function Mt(e){for(var t=e.win,r=e.name,n=e.domain,o=st("popupWindowsByName"),i=dt("popupWindowsByWin"),a=0,s=o.keys();a<s.length;a++){var c=s[a],l=o.get(c);l&&!I(l.win)||o.del(c)}if(I(t))return{win:t,name:r,domain:n};var u=i.getOrSet(t,(function(){return r?o.getOrSet(r,(function(){return{win:t,name:r}})):{win:t}}));if(u.win&&u.win!==t)throw new Error("Different window already linked for window: "+(r||"undefined"));return r&&(u.name=r,o.set(r,u)),n&&(u.domain=n,It(t)),i.set(t,u),u}function Bt(e){var t,r=e.on,n=e.send,o=e.receiveMessage;t=window.open,window.open=function(e,r,n,o){var i=t.call(this,V(e),r,n,o);return i?(Mt({win:i,name:r,domain:e?F(e):null}),i):i},function(e){var t=e.on,r=e.send,n=e.receiveMessage,o=st("popupWindowsByName");t("postrobot_open_tunnel",(function(e){var i=e.source,a=e.origin,s=e.data,c=st("bridges").get(a);if(!c)throw new Error("Can not find bridge promise for domain "+a);return c.then((function(e){if(i!==e)throw new Error("Message source does not matched registered bridge for domain "+a);if(!s.name)throw new Error("Register window expected to be passed window name");if(!s.sendMessage)throw new Error("Register window expected to be passed sendMessage method");if(!o.has(s.name))throw new Error("Window with name "+s.name+" does not exist, or was not opened by this window");var c=function(){return o.get(s.name)};if(!c().domain)throw new Error("We do not have a registered domain for window "+s.name);if(c().domain!==a)throw new Error("Message origin "+a+" does not matched registered window origin "+(c().domain||"unknown"));return Dt(c().win,a,s.sendMessage),{sendMessage:function(e){if(window&&!window.closed&&c()){var o=c().domain;if(o)try{n({data:e,origin:o,source:c().win},{on:t,send:r})}catch(i){h.reject(i)}}}}}))}))}({on:r,send:n,receiveMessage:o}),function(e){var t=e.send;it(window).openTunnelToParent=function(e){var r=e.name,n=e.source,o=e.canary,i=e.sendMessage,a=st("tunnelWindows"),s=y(window);if(!s)throw new Error("No parent window found to open tunnel to");var c=function(e){var t=e.name,r=e.source,n=e.canary,o=e.sendMessage;!function(){for(var e=st("tunnelWindows"),t=0,r=e.keys();t<r.length;t++){var n=r[t];I(e[n].source)&&e.del(n)}}();var i=oe();return st("tunnelWindows").set(i,{name:t,source:r,canary:n,sendMessage:o}),i}({name:r,source:n,canary:o,sendMessage:i});return t(s,"postrobot_open_tunnel",{name:r,sendMessage:function(){var e=a.get(c);if(e&&e.source&&!I(e.source)){try{e.canary()}catch(t){return}e.sendMessage.apply(this,arguments)}}},{domain:"*"})}}({send:n}),function(e){var t=e.on,r=e.send,n=e.receiveMessage;h.try((function(){var e,o=w(window);if(o&&Pt({win:o}))return It(o),(e=o,dt("remoteBridgeAwaiters").getOrSet(e,(function(){return h.try((function(){var t=D(e,Ct(k()));if(t)return E(t)&&it(O(t))?t:new h((function(e){var r,n;r=setInterval((function(){if(t&&E(t)&&it(O(t)))return clearInterval(r),clearTimeout(n),e(t)}),100),n=setTimeout((function(){return clearInterval(r),e()}),2e3)}))}))}))).then((function(e){return e?window.name?it(O(e)).openTunnelToParent({name:window.name,source:window,canary:function(){},sendMessage:function(e){try{window}catch(o){return}if(window&&!window.closed)try{n({data:e,origin:this.origin,source:this.source},{on:t,send:r})}catch(o){h.reject(o)}}}).then((function(e){var t=e.source,r=e.origin,n=e.data;if(t!==o)throw new Error("Source does not match opener");Dt(t,r,n.sendMessage)})).catch((function(e){throw zt(o,e),e})):zt(o,new Error("Can not register with opener: window does not have a name")):zt(o,new Error("Can not register with opener: no bridge found in opener"))}))}))}({on:r,send:n,receiveMessage:o})}function Lt(){for(var e=st("idToProxyWindow"),t=0,r=e.keys();t<r.length;t++){var n=r[t];e.get(n).shouldClean()&&e.del(n)}}function Nt(e,t){var r=t.send,n=t.id,o=void 0===n?oe():n,i=e.then((function(e){if(E(e))return O(e).name})),a=e.then((function(e){if(I(e))throw new Error("Window is closed, can not determine type");return w(e)?m.POPUP:m.IFRAME}));return i.catch(fe),a.catch(fe),{id:o,getType:function(){return a},getInstanceID:ue((function(){return e.then((function(e){return bt(e,{send:r})}))})),close:function(){return e.then(H)},getName:function(){return e.then((function(e){if(!I(e))return E(e)?O(e).name:i}))},focus:function(){return e.then((function(e){e.focus()}))},isClosed:function(){return e.then((function(e){return I(e)}))},setLocation:function(t){return e.then((function(e){var r=window.location.protocol+"//"+window.location.host;if(0===t.indexOf("/"))t=""+r+t;else if(!t.match(/^https?:\/\//)&&0!==t.indexOf(r))throw new Error("Expected url to be http or https url, or absolute path, got "+JSON.stringify(t));if(E(e))try{if(e.location&&"function"==typeof e.location.replace)return void e.location.replace(t)}catch(n){}e.location=t}))},setName:function(t){return e.then((function(e){Mt({win:e,name:t});var r=E(e),n=function(e){if(E(e))return O(e).frameElement;for(var t=0,r=document.querySelectorAll("iframe");t<r.length;t++){var n=r[t];if(n&&n.contentWindow&&n.contentWindow===e)return n}}(e);if(!r)throw new Error("Can not set name for cross-domain window: "+t);O(e).name=t,n&&n.setAttribute("name",t),i=h.resolve(t)}))}}}var Ut=function(){function e(e){var t=e.send,r=e.win,n=e.serializedWindow;this.id=void 0,this.isProxyWindow=!0,this.serializedWindow=void 0,this.actualWindow=void 0,this.actualWindowPromise=void 0,this.send=void 0,this.name=void 0,this.actualWindowPromise=new h,this.serializedWindow=n||Nt(this.actualWindowPromise,{send:t}),st("idToProxyWindow").set(this.getID(),this),r&&this.setWindow(r,{send:t})}var t=e.prototype;return t.getID=function(){return this.serializedWindow.id},t.getType=function(){return this.serializedWindow.getType()},t.isPopup=function(){return this.getType().then((function(e){return e===m.POPUP}))},t.setLocation=function(e){var t=this;return this.serializedWindow.setLocation(e).then((function(){return t}))},t.getName=function(){return this.serializedWindow.getName()},t.setName=function(e){var t=this;return this.serializedWindow.setName(e).then((function(){return t}))},t.close=function(){var e=this;return this.serializedWindow.close().then((function(){return e}))},t.focus=function(){var e=this,t=this.isPopup(),r=this.getName(),n=h.hash({isPopup:t,name:r}).then((function(e){var t=e.name;e.isPopup&&t&&window.open("",t)})),o=this.serializedWindow.focus();return h.all([n,o]).then((function(){return e}))},t.isClosed=function(){return this.serializedWindow.isClosed()},t.getWindow=function(){return this.actualWindow},t.setWindow=function(e,t){var r=t.send;this.actualWindow=e,this.actualWindowPromise.resolve(this.actualWindow),this.serializedWindow=Nt(this.actualWindowPromise,{send:r,id:this.getID()}),dt("winToProxyWindow").set(e,this)},t.awaitWindow=function(){return this.actualWindowPromise},t.matchWindow=function(e,t){var r=this,n=t.send;return h.try((function(){return r.actualWindow?e===r.actualWindow:h.hash({proxyInstanceID:r.getInstanceID(),knownWindowInstanceID:bt(e,{send:n})}).then((function(t){var o=t.proxyInstanceID===t.knownWindowInstanceID;return o&&r.setWindow(e,{send:n}),o}))}))},t.unwrap=function(){return this.actualWindow||this},t.getInstanceID=function(){return this.serializedWindow.getInstanceID()},t.shouldClean=function(){return Boolean(this.actualWindow&&I(this.actualWindow))},t.serialize=function(){return this.serializedWindow},e.unwrap=function(t){return e.isProxyWindow(t)?t.unwrap():t},e.serialize=function(t,r){var n=r.send;return Lt(),e.toProxyWindow(t,{send:n}).serialize()},e.deserialize=function(t,r){var n=r.send;return Lt(),st("idToProxyWindow").get(t.id)||new e({serializedWindow:t,send:n})},e.isProxyWindow=function(e){return Boolean(e&&!q(e)&&e.isProxyWindow)},e.toProxyWindow=function(t,r){var n=r.send;if(Lt(),e.isProxyWindow(t))return t;var o=t;return dt("winToProxyWindow").get(o)||new e({win:o,send:n})},e}();function Ft(e,t,r,n,o){var i=dt("methodStore"),a=st("proxyWindowMethods");Ut.isProxyWindow(n)?a.set(e,{val:t,name:r,domain:o,source:n}):(a.del(e),i.getOrSet(n,(function(){return{}}))[e]={domain:o,name:r,val:t,source:n})}function Wt(e,t){var r=dt("methodStore"),n=st("proxyWindowMethods");return r.getOrSet(e,(function(){return{}}))[t]||n.get(t)}function qt(e,t,r,n,o){var i,a,s;a=(i={on:o.on,send:o.send}).on,s=i.send,st("builtinListeners").getOrSet("functionCalls",(function(){return a("postrobot_method",{domain:"*"},(function(e){var t=e.source,r=e.origin,n=e.data,o=n.id,i=n.name,a=Wt(t,o);if(!a)throw new Error("Could not find method '"+i+"' with id: "+n.id+" in "+k(window));var c=a.source,l=a.domain,u=a.val;return h.try((function(){if(!U(l,r))throw new Error("Method '"+n.name+"' domain "+JSON.stringify(Oe(a.domain)?a.domain.source:a.domain)+" does not match origin "+r+" in "+k(window));if(Ut.isProxyWindow(c))return c.matchWindow(t,{send:s}).then((function(e){if(!e)throw new Error("Method call '"+n.name+"' failed - proxy window does not match source in "+k(window))}))})).then((function(){return u.apply({source:t,origin:r},n.args)}),(function(e){return h.try((function(){if(u.onError)return u.onError(e)})).then((function(){throw e.stack&&(e.stack="Remote call to "+i+"("+function(e){return void 0===e&&(e=[]),we(e).map((function(e){return"string"==typeof e?"'"+e+"'":void 0===e?"undefined":null===e?"null":"boolean"==typeof e?e.toString():Array.isArray(e)?"[ ... ]":"object"==typeof e?"{ ... }":"function"==typeof e?"() => { ... }":"<"+typeof e+">"})).join(", ")}(n.args)+") failed\n\n"+e.stack),e}))})).then((function(e){return{result:e,id:o,name:i}}))}))}));var c=r.__id__||oe();e=Ut.unwrap(e);var l=r.__name__||r.name||n;return"string"==typeof l&&"function"==typeof l.indexOf&&0===l.indexOf("anonymous::")&&(l=l.replace("anonymous::",n+"::")),Ut.isProxyWindow(e)?(Ft(c,r,l,e,t),e.awaitWindow().then((function(e){Ft(c,r,l,e,t)}))):Ft(c,r,l,e,t),wt("cross_domain_function",{id:c,name:l})}function Vt(e,t,r,n){var o,i=n.on,a=n.send;return function(e,t){void 0===t&&(t=kt);var r=JSON.stringify(e,(function(e){var r=this[e];if(vt(this))return r;var n=yt(r);if(!n)return r;var o=t[n]||_t[n];return o?o(r,e):r}));return void 0===r?"undefined":r}(r,((o={}).promise=function(r,n){return function(e,t,r,n,o){return wt("cross_domain_zalgo_promise",{then:qt(e,t,(function(e,t){return r.then(e,t)}),n,{on:o.on,send:o.send})})}(e,t,r,n,{on:i,send:a})},o.function=function(r,n){return qt(e,t,r,n,{on:i,send:a})},o.object=function(e){return q(e)||Ut.isProxyWindow(e)?wt("cross_domain_window",Ut.serialize(e,{send:a})):e},o))}function Ht(e,t,r,n){var o,i=n.send;return function(e,t){if(void 0===t&&(t=Ot),"undefined"!==e)return JSON.parse(e,(function(e,r){if(vt(this))return r;var n,o;if(vt(r)?(n=r.__type__,o=r.__val__):(n=yt(r),o=r),!n)return o;var i=t[n]||Et[n];return i?i(o,e):o}))}(r,((o={}).cross_domain_zalgo_promise=function(e){return function(e,t,r){return new h(r.then)}(0,0,e)},o.cross_domain_function=function(r){return function(e,t,r,n){var o=r.id,i=r.name,a=n.send,s=function(r){function n(){var s=arguments;return Ut.toProxyWindow(e,{send:a}).awaitWindow().then((function(e){var c=Wt(e,o);if(c&&c.val!==n)return c.val.apply({source:window,origin:k()},s);var l=[].slice.call(s);return r.fireAndForget?a(e,"postrobot_method",{id:o,name:i,args:l},{domain:t,fireAndForget:!0}):a(e,"postrobot_method",{id:o,name:i,args:l},{domain:t,fireAndForget:!1}).then((function(e){return e.data.result}))})).catch((function(e){throw e}))}return void 0===r&&(r={}),n.__name__=i,n.__origin__=t,n.__source__=e,n.__id__=o,n.origin=t,n},c=s();return c.fireAndForget=s({fireAndForget:!0}),c}(e,t,r,{send:i})},o.cross_domain_window=function(e){return Ut.deserialize(e,{send:i})},o))}var Yt={};function Gt(e,t,r,n){var o=n.on,i=n.send;return h.try((function(){var n=dt().getOrSet(e,(function(){return{}}));return n.buffer=n.buffer||[],n.buffer.push(r),n.flush=n.flush||h.flush().then((function(){if(I(e))throw new Error("Window is closed");var r,a=Vt(e,t,((r={}).__post_robot_10_0_42__=n.buffer||[],r),{on:o,send:i});delete n.buffer;for(var s=Object.keys(Yt),c=[],l=0;l<s.length;l++){var u=s[l];try{Yt[u](e,a,t)}catch(d){c.push(d)}}if(c.length===s.length)throw new Error("All post-robot messaging strategies failed:\n\n"+c.map((function(e,t){return t+". "+he(e)})).join("\n\n"))})),n.flush.then((function(){delete n.flush}))})).then(fe)}function Jt(e){return st("responseListeners").get(e)}function Zt(e){st("responseListeners").del(e)}function Kt(e){return st("erroredResponseListeners").has(e)}function Xt(e){var t=e.name,r=e.win,n=e.domain,o=dt("requestListeners");if("*"===r&&(r=null),"*"===n&&(n=null),!t)throw new Error("Name required to get request listener");for(var i=0,a=[r,ut()];i<a.length;i++){var s=a[i];if(s){var c=o.get(s);if(c){var l=c[t];if(l){if(n&&"string"==typeof n){if(l[n])return l[n];if(l.__domain_regex__)for(var u=0,d=l.__domain_regex__;u<d.length;u++){var f=d[u],p=f.listener;if(U(f.regex,n))return p}}if(l["*"])return l["*"]}}}}}function Qt(e,t,r,n){var o=n.on,i=n.send,a=Xt({name:r.name,win:e,domain:t}),s="postrobot_method"===r.name&&r.data&&"string"==typeof r.data.name?r.data.name+"()":r.name;function c(n,a,c){return h.flush().then((function(){if(!r.fireAndForget&&!I(e))try{return Gt(e,t,{id:oe(),origin:k(window),type:"postrobot_message_response",hash:r.hash,name:r.name,ack:n,data:a,error:c},{on:o,send:i})}catch(l){throw new Error("Send response message failed for "+s+" in "+k()+"\n\n"+he(l))}}))}return h.all([h.flush().then((function(){if(!r.fireAndForget&&!I(e))try{return Gt(e,t,{id:oe(),origin:k(window),type:"postrobot_message_ack",hash:r.hash,name:r.name},{on:o,send:i})}catch(n){throw new Error("Send ack message failed for "+s+" in "+k()+"\n\n"+he(n))}})),h.try((function(){if(!a)throw new Error("No handler found for post message: "+r.name+" from "+t+" in "+window.location.protocol+"//"+window.location.host+window.location.pathname);if(!U(a.domain,t))throw new Error("Request origin "+t+" does not match domain "+a.domain.toString());return a.handler({source:e,origin:t,data:r.data})})).then((function(e){return c("success",e)}),(function(e){return c("error",null,e)}))]).then(fe).catch((function(e){if(a&&a.handleError)return a.handleError(e);throw e}))}function er(e,t,r){if(!Kt(r.hash)){var n=Jt(r.hash);if(!n)throw new Error("No handler found for post message ack for message: "+r.name+" from "+t+" in "+window.location.protocol+"//"+window.location.host+window.location.pathname);try{if(!U(n.domain,t))throw new Error("Ack origin "+t+" does not match domain "+n.domain.toString());if(e!==n.win)throw new Error("Ack source does not match registered window")}catch(o){n.promise.reject(o)}n.ack=!0}}function tr(e,t,r){if(!Kt(r.hash)){var n,o=Jt(r.hash);if(!o)throw new Error("No handler found for post message response for message: "+r.name+" from "+t+" in "+window.location.protocol+"//"+window.location.host+window.location.pathname);if(!U(o.domain,t))throw new Error("Response origin "+t+" does not match domain "+(n=o.domain,Array.isArray(n)?"("+n.join(" | ")+")":b(n)?"RegExp("+n.toString():n.toString()));if(e!==o.win)throw new Error("Response source does not match registered window");Zt(r.hash),"error"===r.ack?o.promise.reject(r.error):"success"===r.ack&&o.promise.resolve({source:e,origin:t,data:r.data})}}function rr(e,t){var r=t.on,n=t.send,o=st("receivedMessages");try{if(!window||window.closed||!e.source)return}catch(u){return}var i=e.source,a=e.origin,s=function(e,t,r,n){var o,i=n.on,a=n.send;try{o=Ht(t,r,e,{on:i,send:a})}catch(u){return}if(o&&"object"==typeof o&&null!==o){var s=o.__post_robot_10_0_42__;if(Array.isArray(s))return s}}(e.data,i,a,{on:r,send:n});if(s){gt(i);for(var c=0;c<s.length;c++){var l=s[c];if(o.has(l.id))return;if(o.set(l.id,!0),I(i)&&!l.fireAndForget)return;0===l.origin.indexOf("file:")&&(a="file://");try{"postrobot_message_request"===l.type?Qt(i,a,l,{on:r,send:n}):"postrobot_message_response"===l.type?tr(i,a,l):"postrobot_message_ack"===l.type&&er(i,a,l)}catch(u){setTimeout((function(){throw u}),0)}}}}function nr(e,t,r){if(!e)throw new Error("Expected name");if("function"==typeof(t=t||{})&&(r=t,t={}),!r)throw new Error("Expected handler");(t=t||{}).name=e,t.handler=r||t.handler;var n=t.window,o=t.domain,i=function e(t,r){var n=t.name,o=t.win,i=t.domain,a=dt("requestListeners");if(!n||"string"!=typeof n)throw new Error("Name required to add request listener");if(Array.isArray(o)){for(var s=[],c=0,l=o;c<l.length;c++)s.push(e({name:n,domain:i,win:l[c]},r));return{cancel:function(){for(var e=0;e<s.length;e++)s[e].cancel()}}}if(Array.isArray(i)){for(var u=[],d=0,f=i;d<f.length;d++)u.push(e({name:n,win:o,domain:f[d]},r));return{cancel:function(){for(var e=0;e<u.length;e++)u[e].cancel()}}}var p=Xt({name:n,win:o,domain:i});if(o&&"*"!==o||(o=ut()),i=i||"*",p)throw o&&i?new Error("Request listener already exists for "+n+" on domain "+i.toString()+" for "+(o===ut()?"wildcard":"specified")+" window"):o?new Error("Request listener already exists for "+n+" for "+(o===ut()?"wildcard":"specified")+" window"):i?new Error("Request listener already exists for "+n+" on domain "+i.toString()):new Error("Request listener already exists for "+n);var h,b,m=a.getOrSet(o,(function(){return{}})),g=Ae(m,n,(function(){return{}})),v=i.toString();return Oe(i)?(h=Ae(g,"__domain_regex__",(function(){return[]}))).push(b={regex:i,listener:r}):g[v]=r,{cancel:function(){delete g[v],b&&(h.splice(h.indexOf(b,1)),h.length||delete g.__domain_regex__),Object.keys(g).length||delete m[n],o&&!Object.keys(m).length&&a.del(o)}}}({name:e,win:n,domain:o},{handler:t.handler,handleError:t.errorHandler||function(e){throw e},window:n,domain:o||"*",name:e});return{cancel:function(){i.cancel()}}}Yt.postrobot_post_message=function(e,t,r){0===r.indexOf("file:")&&(r="*"),e.postMessage(t,r)},Yt.postrobot_bridge=function(e,t,r){if(!At()&&!Tt())throw new Error("Bridge not needed for browser");if(E(e))throw new Error("Post message through bridge disabled between same domain windows");if(!1!==N(window,e))throw new Error("Can only use bridge to communicate between two different windows, not between frames");!function(e,t,r){var n=z(window,e),o=z(e,window);if(!n&&!o)throw new Error("Can only send messages to and from parent and popup windows");$t(e).then((function(n){return n(e,t,r)}))}(e,r,t)},Yt.postrobot_global=function(e,t){if(!$(window).match(/MSIE|rv:11|trident|edge\/12|edge\/13/i))throw new Error("Global messaging not needed for browser");if(!E(e))throw new Error("Post message through global disabled between different domain windows");if(!1!==N(window,e))throw new Error("Can only use global to communicate between two different windows, not between frames");var r=it(e);if(!r)throw new Error("Can not find postRobot global on foreign window");r.receiveMessage({source:window,origin:k(),data:t})};var or,ir=function e(t,r,n,o){var i=(o=o||{}).domain||"*",a=o.timeout||-1,s=o.timeout||5e3,c=o.fireAndForget||!1;return h.try((function(){if(function(e,t,r){if(!e)throw new Error("Expected name");if(r&&"string"!=typeof r&&!Array.isArray(r)&&!Oe(r))throw new TypeError("Can not send "+e+". Expected domain "+JSON.stringify(r)+" to be a string, array, or regex");if(I(t))throw new Error("Can not send "+e+". Target window is closed")}(r,t,i),function(e,t){var r=M(t);if(r)return r===e;if(t===e)return!1;if(P(t)===t)return!1;for(var n=0,o=S(e);n<o.length;n++)if(o[n]===t)return!0;return!1}(window,t))return mt(t,s)})).then((function(r){return function(e,t,r,n){var o=n.send;return h.try((function(){return"string"==typeof t?t:h.try((function(){return r||ht(e,{send:o}).then((function(e){return e.domain}))})).then((function(e){if(!U(t,t))throw new Error("Domain "+be(t)+" does not match "+be(t));return e}))}))}(t,i,(void 0===r?{}:r).domain,{send:e})})).then((function(o){var i=o,s="postrobot_method"===r&&n&&"string"==typeof n.name?n.name+"()":r,l=new h,u=r+"_"+oe();if(!c){var d={name:r,win:t,domain:i,promise:l};!function(e,t){st("responseListeners").set(e,t)}(u,d);var f=dt("requestPromises").getOrSet(t,(function(){return[]}));f.push(l),l.catch((function(){!function(e){st("erroredResponseListeners").set(e,!0)}(u),Zt(u)}));var p=function(e){return dt("knownWindows").get(e,!1)}(t)?1e4:2e3,b=a,m=p,g=b,v=ve((function(){return I(t)?l.reject(new Error("Window closed for "+r+" before "+(d.ack?"response":"ack"))):d.cancelled?l.reject(new Error("Response listener was cancelled for "+r)):(m=Math.max(m-500,0),-1!==g&&(g=Math.max(g-500,0)),d.ack||0!==m?0===g?l.reject(new Error("No response for postMessage "+s+" in "+k()+" in "+b+"ms")):void 0:l.reject(new Error("No ack for postMessage "+s+" in "+k()+" in "+p+"ms")))}),500);l.finally((function(){v.cancel(),f.splice(f.indexOf(l,1))})).catch(fe)}return Gt(t,i,{id:oe(),origin:k(window),type:"postrobot_message_request",hash:u,name:r,data:n,fireAndForget:c},{on:nr,send:e}).then((function(){return c?l.resolve():l}),(function(e){throw new Error("Send request message failed for "+s+" in "+k()+"\n\n"+he(e))}))}))};function ar(e,t,r){return Vt(e,t,r,{on:nr,send:ir})}function sr(e,t,r){return Ht(e,t,r,{on:nr,send:ir})}function cr(e){return Ut.toProxyWindow(e,{send:ir})}function lr(e){for(var t=0,r=dt("requestPromises").get(e,[]);t<r.length;t++)r[t].reject(new Error("Window "+(I(e)?"closed":"cleaned up")+" before response")).catch(fe)}function ur(e){if(void 0===e&&(e=window),!E(e))throw new Error("Can not get global for window on different domain");return e.__zoid_9_0_63__||(e.__zoid_9_0_63__={}),e.__zoid_9_0_63__}function dr(e){return{get:function(){var t=this;return h.try((function(){if(t.source&&t.source!==window)throw new Error("Can not call get on proxy object from a remote window");return e}))}}}or={setupBridge:Bt,openBridge:function(e,t){var r=st("bridges"),n=st("bridgeFrames");return t=t||F(e),r.getOrSet(t,(function(){return h.try((function(){if(k()===t)throw new Error("Can not open bridge on the same domain as current domain: "+t);var r=Ct(t);if(D(window,r))throw new Error("Frame with name "+r+" already exists on page");var o=function(e,t){var r=document.createElement("iframe");return r.setAttribute("name",e),r.setAttribute("id",e),r.setAttribute("style","display: none; margin: 0; padding: 0; border: 0px none; overflow: hidden;"),r.setAttribute("frameborder","0"),r.setAttribute("border","0"),r.setAttribute("scrolling","no"),r.setAttribute("allowTransparency","true"),r.setAttribute("tabindex","-1"),r.setAttribute("hidden","true"),r.setAttribute("title",""),r.setAttribute("role","presentation"),r.src=t,r}(r,e);return n.set(t,o),Rt.then((function(t){t.appendChild(o);var r=o.contentWindow;return new h((function(e,t){o.addEventListener("load",e),o.addEventListener("error",t)})).then((function(){return mt(r,5e3,"Bridge "+e)})).then((function(){return r}))}))}))}))},linkWindow:Mt,linkUrl:function(e,t){Mt({win:e,domain:F(t)})},isBridge:Tt,needsBridge:Pt,needsBridgeForBrowser:At,hasBridge:function(e,t){return st("bridges").has(t||F(e))},needsBridgeForWin:St,needsBridgeForDomain:jt,destroyBridges:function(){for(var e=st("bridges"),t=st("bridgeFrames"),r=0,n=t.keys();r<n.length;r++){var o=t.get(n[r]);o&&o.parentNode&&o.parentNode.removeChild(o)}t.reset(),e.reset()}};var fr={STRING:"string",OBJECT:"object",FUNCTION:"function",BOOLEAN:"boolean",NUMBER:"number",ARRAY:"array"},pr={JSON:"json",DOTIFY:"dotify",BASE64:"base64"},hr=m,br={RENDER:"zoid-render",RENDERED:"zoid-rendered",DISPLAY:"zoid-display",ERROR:"zoid-error",CLOSE:"zoid-close",DESTROY:"zoid-destroy",PROPS:"zoid-props",RESIZE:"zoid-resize",FOCUS:"zoid-focus"};function mr(e,t,r,n,o){if(!e.hasOwnProperty(r))return n;var i=e[r];return"function"==typeof i.childDecorate?i.childDecorate({value:n,uid:o.uid,close:o.close,focus:o.focus,onError:o.onError,onProps:o.onProps,resize:o.resize,getParent:o.getParent,getParentDomain:o.getParentDomain,show:o.show,hide:o.hide}):n}function gr(e){return de(gr,(function(){if(!e)throw new Error("No window name");var r=e.split("__"),n=r[1],o=r[2],i=r[3];if("zoid"!==n)throw new Error("Window not rendered by zoid - got "+n);if(!o)throw new Error("Expected component name");if(!i)throw new Error("Expected encoded payload");try{return JSON.parse(function(e){if("function"==typeof atob)return decodeURIComponent([].map.call(atob(e),(function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)})).join(""));if("undefined"!=typeof t)return t.from(e,"base64").toString("utf8");throw new Error("Can not find window.atob or Buffer")}(i))}catch(a){throw new Error("Can not decode window name payload: "+i+": "+he(a))}}),[e])}function vr(){try{return gr(window.name)}catch(e){}}function yr(){return h.try((function(){window.focus()}))}function wr(){return h.try((function(){window.close()}))}function xr(e,t,r){return h.try((function(){return"function"==typeof e.queryParam?e.queryParam({value:r}):"string"==typeof e.queryParam?e.queryParam:t}))}function _r(e,t,r){return h.try((function(){return"function"==typeof e.queryValue&&Ee(r)?e.queryValue({value:r}):r}))}function kr(e,t,r){void 0===t&&(t={}),void 0===r&&(r=window);var n,o,a,s,c,l=e.propsDef,u=e.containerTemplate,d=e.prerenderTemplate,f=e.tag,p=e.name,b=e.attributes,m=e.dimensions,g=e.autoResize,v=e.url,y=e.domain,w=new h,x=[],_=Se(),A={},S={visible:!0},j=t.event?t.event:(n={},o={},{on:function(e,t){var r=o[e]=o[e]||[];r.push(t);var n=!1;return{cancel:function(){n||(n=!0,r.splice(r.indexOf(t),1))}}},once:function(e,t){var r=this.on(e,(function(){r.cancel(),t()}));return r},trigger:function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var i=o[e],a=[];if(i)for(var s=function(e){var t=i[e];a.push(h.try((function(){return t.apply(void 0,r)})))},c=0;c<i.length;c++)s(c);return h.all(a).then(fe)},triggerOnce:function(e){if(n[e])return h.resolve();n[e]=!0;for(var t=arguments.length,r=new Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];return this.trigger.apply(this,[e].concat(r))},reset:function(){o={}}}),P=t.props?t.props:{},C=t.onError,T=t.getProxyContainer,R=t.show,$=t.hide,D=t.close,z=t.renderContainer,M=t.getProxyWindow,B=t.setProxyWin,q=t.openFrame,Y=t.openPrerenderFrame,G=t.prerender,J=t.open,Z=t.openPrerender,K=t.watchForUnload,X=t.getInternalState,Q=t.setInternalState,ee=function(e){for(var t={},r=0,n=Object.keys(P);r<n.length;r++){var o=n[r],i=l[o];i&&!1===i.sendToChild||i&&i.sameDomain&&!U(e,k(window))||(t[o]=P[o])}return h.hash(t)},te=function(){return h.try((function(){return X?X():S}))},re=function(e){return h.try((function(){return Q?Q(e):S=i({},S,e)}))},ie=function(){return M?M():h.try((function(){var e=P.window;if(e){var t=cr(e);return _.register((function(){return e.close()})),t}return new Ut({send:ir})}))},ae=function(e){return T?T(e):h.try((function(){return Be(e)})).then((function(e){return Ze(e)&&(e=function(e){var t=function(e){var t=function(e){for(;e.parentNode;)e=e.parentNode;if(Ze(e))return e}(e);if(t.host)return t.host}(e);if(!t)throw new Error("Element is not in shadow dom");if(Ze(t))throw new Error("Host element is also in shadow dom");var r="shadow-slot-"+oe(),n=document.createElement("slot");n.setAttribute("name",r),e.appendChild(n);var o=document.createElement("div");return o.setAttribute("slot",r),t.appendChild(o),o}(e)),dr(e)}))},se=function(e){return B?B(e):h.try((function(){a=e}))},ce=function(){return R?R():h.hash({setState:re({visible:!0}),showElement:s?s.get().then(Ve):null}).then(fe)},ue=function(){return $?$():h.hash({setState:re({visible:!1}),showElement:s?s.get().then(He):null}).then(fe)},de=function(){return"function"==typeof v?v({props:P}):v},ge=function(){return"function"==typeof b?b({props:P}):b},ye=function(){return y&&"string"==typeof y?y:F(de())},xe=function(){return y&&Oe(y)?y:ye()},_e=function(e,t){var r=t.windowName;return q?q(e,{windowName:r}):h.try((function(){if(e===hr.IFRAME)return dr(We({attributes:i({name:r,title:p},ge().iframe)}))}))},ke=function(e){return Y?Y(e):h.try((function(){if(e===hr.IFRAME)return dr(We({attributes:i({name:"__zoid_prerender_frame__"+p+"_"+oe()+"__",title:"prerender__"+p},ge().iframe)}))}))},Ae=function(e,t,r){return Z?Z(e,t,r):h.try((function(){if(e===hr.IFRAME){if(!r)throw new Error("Expected proxy frame to be passed");return r.get().then((function(e){return _.register((function(){return Ye(e)})),Fe(e).then((function(e){return O(e)})).then((function(e){return cr(e)}))}))}if(e===hr.POPUP)return t;throw new Error("No render context available for "+e)}))},je=function(){return h.try((function(){if(a)return h.all([j.trigger(br.FOCUS),a.focus()]).then(fe)}))},Pe=function(e,t,r,n){if(t===k(window)){var o=ur(window);return o.windows=o.windows||{},o.windows[r]=window,_.register((function(){delete o.windows[r]})),{type:"global",uid:r}}return n===hr.POPUP?{type:"opener"}:{type:"parent",distance:L(window)}},Ce=function(e){return h.try((function(){c=e,w.resolve(),_.register((function(){return e.close.fireAndForget().catch(fe)}))}))},Te=function(e){var t=e.width,r=e.height;return h.try((function(){j.trigger(br.RESIZE,{width:t,height:r})}))},Re=function(e){return h.try((function(){return j.trigger(br.DESTROY)})).catch(fe).then((function(){return _.all(e)})).then((function(){w.asyncReject(e||new Error("Component destroyed"))}))},Ie=le((function(e){return h.try((function(){if(D){if(I(D.__source__))return;return D()}return h.try((function(){return j.trigger(br.CLOSE)})).then((function(){return Re(e||new Error("Component closed"))}))}))})),ze=function(e,t){var r=t.proxyWin,n=t.proxyFrame,o=t.windowName;return J?J(e,{proxyWin:r,proxyFrame:n,windowName:o}):h.try((function(){if(e===hr.IFRAME){if(!n)throw new Error("Expected proxy frame to be passed");return n.get().then((function(e){return Fe(e).then((function(t){return _.register((function(){return Ye(e)})),_.register((function(){return lr(t)})),t}))}))}if(e===hr.POPUP){var t=m.width,r=m.height;t=ot(t,window.outerWidth),r=ot(r,window.outerWidth);var a=function(e,t){var r=(t=t||{}).width,n=t.height,o=0,a=0;r&&(window.outerWidth?a=Math.round((window.outerWidth-r)/2)+window.screenX:window.screen.width&&(a=Math.round((window.screen.width-r)/2))),n&&(window.outerHeight?o=Math.round((window.outerHeight-n)/2)+window.screenY:window.screen.height&&(o=Math.round((window.screen.height-n)/2))),r&&n&&(t=i({top:o,left:a,width:r,height:n,status:1,toolbar:0,menubar:0,resizable:1,scrollbars:1},t));var s=t.name||"";delete t.name;var c,l,u=Object.keys(t).map((function(e){if(null!=t[e])return e+"="+be(t[e])})).filter(Boolean).join(",");try{c=window.open("",s,u,!0)}catch(l){throw new Ne("Can not open popup window - "+(l.stack||l.message))}if(I(c))throw new Ne("Can not open popup window - blocked");return window.addEventListener("unload",(function(){return c.close()})),c}(0,i({name:o,width:t,height:r},ge().popup));return _.register((function(){return H(a)})),_.register((function(){return lr(a)})),a}throw new Error("No render context available for "+e)})).then((function(e){return r.setWindow(e,{send:ir}),r}))},Le=function(){return h.try((function(){var e=qe(window,"unload",pe((function(){Re(new Error("Window navigated away"))}))),t=W(r,Re,3e3);if(_.register(t.cancel),_.register(e.cancel),K)return K()}))},Ue=function(e){var t=!1;return e.isClosed().then((function(r){return r?(t=!0,Ie(new Error("Detected component window close"))):h.delay(200).then((function(){return e.isClosed()})).then((function(e){if(e)return t=!0,Ie(new Error("Detected component window close"))}))})).then((function(){return t}))},Ke=function(e){return C?C(e):h.try((function(){if(-1===x.indexOf(e))return x.push(e),w.asyncReject(e),j.trigger(br.ERROR,e)}))};Ce.onError=Ke;var Xe=function(e,t){return e({container:t.container,context:t.context,uid:t.uid,doc:t.doc,frame:t.frame,prerenderFrame:t.prerenderFrame,focus:je,close:Ie,state:A,props:P,tag:f,dimensions:m,event:j})},Qe=function(e,t){var r=t.context,n=t.uid;return G?G(e,{context:r,uid:n}):h.try((function(){if(d){var t=e.getWindow();if(t&&E(t)&&function(e){try{if(!e.location.href)return!0;if("about:blank"===e.location.href)return!0}catch(t){}return!1}(t)){var o=(t=O(t)).document,i=Xe(d,{context:r,uid:n,doc:o});if(i){if(i.ownerDocument!==o)throw new Error("Expected prerender template to have been created with document from child window");!function(e,t){var r=t.tagName.toLowerCase();if("html"!==r)throw new Error("Expected element to be html, got "+r);for(var n=e.document.documentElement,o=0,i=we(n.children);o<i.length;o++)n.removeChild(i[o]);for(var a=0,s=we(t.children);a<s.length;a++)n.appendChild(s[a])}(t,i);var a=g.width,s=void 0!==a&&a,c=g.height,l=void 0!==c&&c,u=g.element,f=void 0===u?"body":u;if((f=Me(f,o))&&(s||l)){var p=Je(f,(function(e){Te({width:s?e.width:void 0,height:l?e.height:void 0})}),{width:s,height:l,win:t});j.on(br.RENDERED,p.cancel)}}}}}))},et=function(e,t){var r=t.proxyFrame,n=t.proxyPrerenderFrame,o=t.context,i=t.uid;return z?z(e,{proxyFrame:r,proxyPrerenderFrame:n,context:o,uid:i}):h.hash({container:e.get(),frame:r?r.get():null,prerenderFrame:n?n.get():null,internalState:te()}).then((function(e){var t=e.container,r=e.internalState.visible,n=Xe(u,{context:o,uid:i,container:t,frame:e.frame,prerenderFrame:e.prerenderFrame,doc:document});if(n){r||He(n),De(t,n);var a=function(e,t){t=pe(t);var r,n,o,i=!1,a=[],s=function(){i=!0;for(var e=0;e<a.length;e++)a[e].disconnect();r&&r.cancel(),o&&o.removeEventListener("unload",c),n&&Ye(n)},c=function(){i||(t(),s())};if(Ge(e))return c(),{cancel:s};if(window.MutationObserver)for(var l=e.parentElement;l;){var u=new window.MutationObserver((function(){Ge(e)&&c()}));u.observe(l,{childList:!0}),a.push(u),l=l.parentElement}return(n=document.createElement("iframe")).setAttribute("name","__detect_close_"+oe()+"__"),n.style.display="none",Fe(n).then((function(e){(o=O(e)).addEventListener("unload",c)})),e.appendChild(n),r=ve((function(){Ge(e)&&c()}),1e3),{cancel:s}}(n,(function(){return Ie(new Error("Detected container element removed from DOM"))}));return _.register((function(){return a.cancel()})),_.register((function(){return Ye(n)})),s=dr(n)}}))},tt=function(){return{state:A,event:j,close:Ie,focus:je,resize:Te,onError:Ke,updateProps:nt,show:ce,hide:ue}},rt=function(e,t){void 0===t&&(t=!1);var r=tt();!function(e,t,r,n,o){void 0===o&&(o=!1),me(t,r=r||{});for(var i=o?[]:[].concat(Object.keys(e)),a=0,s=Object.keys(r);a<s.length;a++){var c=s[a];-1===i.indexOf(c)&&i.push(c)}for(var l=[],u=n.state,d=n.close,f=n.focus,p=n.event,h=n.onError,b=0;b<i.length;b++){var m=i[b],g=e[m],v=r[m];if(g){var y=g.alias;if(y&&(!Ee(v)&&Ee(r[y])&&(v=r[y]),l.push(y)),g.value&&(v=g.value({props:t,state:u,close:d,focus:f,event:p,onError:h})),!Ee(v)&&g.default&&(v=g.default({props:t,state:u,close:d,focus:f,event:p,onError:h})),Ee(v)&&("array"===g.type?!Array.isArray(v):typeof v!==g.type))throw new TypeError("Prop is not of type "+g.type+": "+m);t[m]=v}}for(var w=0;w<l.length;w++)delete t[l[w]];for(var x=0,_=Object.keys(t);x<_.length;x++){var k=_[x],E=e[k],O=t[k];E&&Ee(O)&&E.decorate&&(t[k]=E.decorate({value:O,props:t,state:u,close:d,focus:f,event:p,onError:h}))}for(var A=0,S=Object.keys(e);A<S.length;A++){var j=S[A];if(!1!==e[j].required&&!Ee(t[j]))throw new Error('Expected prop "'+j+'" to be defined')}}(l,P,e,r,t)},nt=function(e){return rt(e,!0),w.then((function(){var e=c,t=a;if(e&&t)return ee(xe()).then((function(r){return e.updateProps(r).catch((function(e){return Ue(t).then((function(t){if(!t)throw e}))}))}))}))};return{init:function(){!function(){j.on(br.RENDER,(function(){return P.onRender()})),j.on(br.DISPLAY,(function(){return P.onDisplay()})),j.on(br.RENDERED,(function(){return P.onRendered()})),j.on(br.CLOSE,(function(){return P.onClose()})),j.on(br.DESTROY,(function(){return P.onDestroy()})),j.on(br.RESIZE,(function(){return P.onResize()})),j.on(br.FOCUS,(function(){return P.onFocus()})),j.on(br.PROPS,(function(e){return P.onProps(e)})),j.on(br.ERROR,(function(e){return P&&P.onError?P.onError(e):w.reject(e).then((function(){setTimeout((function(){throw e}),1)}))})),_.register(j.reset)}()},render:function(t,r,n){return h.try((function(){var o="zoid-"+f+"-"+oe(),i=xe(),s=ye();!function(e,t,r){if(e!==window){if(!N(window,e))throw new Error("Can only renderTo an adjacent frame");var n=k();if(!U(t,n)&&!E(e))throw new Error("Can not render remotely to "+t.toString()+" - can only render to "+n);if(r&&"string"!=typeof r)throw new Error("Container passed to renderTo must be a string selector, got "+typeof r+" }")}}(t,i,r);var c=h.try((function(){if(t!==window)return function(e,t){for(var r={},n=0,o=Object.keys(P);n<o.length;n++){var i=o[n],a=l[i];a&&a.allowDelegate&&(r[i]=P[i])}var s=ir(t,"zoid_delegate_"+p,{overrides:{props:r,event:j,close:Ie,onError:Ke,getInternalState:te,setInternalState:re}}).then((function(e){var r=e.data.parent;return _.register((function(e){if(!I(t))return r.destroy(e)})),r.getDelegateOverrides()})).catch((function(e){throw new Error("Unable to delegate rendering. Possibly the component is not loaded in the target window.\n\n"+he(e))}));return T=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return s.then((function(e){return e.getProxyContainer.apply(e,t)}))},z=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return s.then((function(e){return e.renderContainer.apply(e,t)}))},R=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return s.then((function(e){return e.show.apply(e,t)}))},$=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return s.then((function(e){return e.hide.apply(e,t)}))},K=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return s.then((function(e){return e.watchForUnload.apply(e,t)}))},e===hr.IFRAME?(M=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return s.then((function(e){return e.getProxyWindow.apply(e,t)}))},q=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return s.then((function(e){return e.openFrame.apply(e,t)}))},Y=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return s.then((function(e){return e.openPrerenderFrame.apply(e,t)}))},G=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return s.then((function(e){return e.prerender.apply(e,t)}))},J=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return s.then((function(e){return e.open.apply(e,t)}))},Z=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return s.then((function(e){return e.openPrerender.apply(e,t)}))}):e===hr.POPUP&&(B=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return s.then((function(e){return e.setProxyWin.apply(e,t)}))}),s}(n,t)})),u=P.window,d=Le(),b=function(e,t){var r={},n=Object.keys(t);return h.all(n.map((function(n){var o=e[n];if(o)return h.resolve().then((function(){var e=t[n];if(e&&o.queryParam)return e})).then((function(e){if(null!=e)return h.all([xr(o,n,e),_r(o,0,e)]).then((function(e){var t,i=e[0],a=e[1];if("boolean"==typeof a)t=a.toString();else if("string"==typeof a)t=a.toString();else if("object"==typeof a&&null!==a){if(o.serialization===pr.JSON)t=JSON.stringify(a);else if(o.serialization===pr.BASE64)t=btoa(JSON.stringify(a));else if(o.serialization===pr.DOTIFY||!o.serialization){t=function e(t,r,n){for(var o in void 0===r&&(r=""),void 0===n&&(n={}),r=r?r+".":r,t)t.hasOwnProperty(o)&&null!=t[o]&&"function"!=typeof t[o]&&(t[o]&&Array.isArray(t[o])&&t[o].length&&t[o].every((function(e){return"object"!=typeof e}))?n[""+r+o+"[]"]=t[o].join(","):t[o]&&"object"==typeof t[o]?n=e(t[o],""+r+o,n):n[""+r+o]=t[o].toString());return n}(a,n);for(var s=0,c=Object.keys(t);s<c.length;s++){var l=c[s];r[l]=t[l]}return}}else"number"==typeof a&&(t=a.toString());r[i]=t}))}))}))).then((function(){return r}))}(l,P).then((function(e){return function(e,t){var r,n,o=t.query||{},i=t.hash||{},a=e.split("#");n=a[1];var s=(r=a[0]).split("?");r=s[0];var c=$e(s[1],o),l=$e(n,i);return c&&(r=r+"?"+c),l&&(r=r+"#"+l),r}(V(de()),{query:e})})),m=j.trigger(br.RENDER),g=ae(r),v=ie(),y=v.then((function(e){return function(e){var t=void 0===e?{}:e,r=t.proxyWin,n=t.childDomain,o=t.domain,i=(void 0===t.target&&window,t.context),a=t.uid;return function(e,t,r,n){return ee(r).then((function(o){var i=ar(e,r,o),a=t===k()?{type:"uid",uid:n}:{type:"raw",value:i};if("uid"===a.type){var s=ur(window);s.props=s.props||{},s.props[n]=i,_.register((function(){delete s.props[n]}))}return a}))}(r,n,o,a).then((function(e){return{uid:a,context:i,tag:f,version:"9_0_63",childDomain:n,parentDomain:k(window),parent:Pe(0,n,a,i),props:e,exports:ar(r,o,(t=r,{init:Ce,close:Ie,checkClose:function(){return Ue(t)},resize:Te,onError:Ke,show:ce,hide:ue}))};var t}))}({proxyWin:(r={proxyWin:e,childDomain:s,domain:i,target:t,context:n,uid:o}).proxyWin,childDomain:r.childDomain,domain:r.domain,target:r.target,context:r.context,uid:r.uid}).then((function(e){return"__zoid__"+p+"__"+ne(JSON.stringify(e))+"__"}));var r})),x=y.then((function(e){return _e(n,{windowName:e})})),O=ke(n),A=h.hash({proxyContainer:g,proxyFrame:x,proxyPrerenderFrame:O}).then((function(e){return et(e.proxyContainer,{context:n,uid:o,proxyFrame:e.proxyFrame,proxyPrerenderFrame:e.proxyPrerenderFrame})})).then((function(e){return e})),S=h.hash({windowName:y,proxyFrame:x,proxyWin:v}).then((function(e){var t=e.proxyWin;return u?t:ze(n,{windowName:e.windowName,proxyWin:t,proxyFrame:e.proxyFrame})})),C=h.hash({proxyWin:S,proxyPrerenderFrame:O}).then((function(e){return Ae(n,e.proxyWin,e.proxyPrerenderFrame)})),D=S.then((function(e){return a=e,se(e)})),L=h.hash({proxyPrerenderWin:C,state:D}).then((function(e){return Qe(e.proxyPrerenderWin,{context:n,uid:o})})),W=h.hash({proxyWin:S,windowName:y}).then((function(e){if(u)return e.proxyWin.setName(e.windowName)})),H=h.hash({proxyWin:S,builtUrl:b,windowName:W,prerender:L}).then((function(e){return e.proxyWin.setLocation(e.builtUrl)})),X=S.then((function(e){!function e(t,r){var n=!1;return _.register((function(){n=!0})),h.delay(2e3).then((function(){return t.isClosed()})).then((function(o){return o?Ie(new Error("Detected "+r+" close")):n?void 0:e(t,r)}))}(e,n)})),Q=h.hash({container:A,prerender:L}).then((function(){return j.trigger(br.DISPLAY)})),le=S.then((function(t){return function(t,r,n){return h.try((function(){return t.awaitWindow()})).then((function(t){if(or&&or.needsBridge({win:t,domain:r})&&!or.hasBridge(r,r)){var o="function"==typeof e.bridgeUrl?e.bridgeUrl({props:P}):e.bridgeUrl;if(!o)throw new Error("Bridge needed to render "+n);var i=F(o);return or.linkUrl(t,r),or.openBridge(V(o),i)}}))}(t,s,n)})),fe=H.then((function(){return h.try((function(){var e=P.timeout;if(e)return w.timeout(e,new Error("Loading component timed out after "+e+" milliseconds"))}))})),pe=w.then((function(){return j.trigger(br.RENDERED)}));return h.hash({initPromise:w,buildUrlPromise:b,onRenderPromise:m,getProxyContainerPromise:g,openFramePromise:x,openPrerenderFramePromise:O,renderContainerPromise:A,openPromise:S,openPrerenderPromise:C,setStatePromise:D,prerenderPromise:L,loadUrlPromise:H,buildWindowNamePromise:y,setWindowNamePromise:W,watchForClosePromise:X,onDisplayPromise:Q,openBridgePromise:le,runTimeoutPromise:fe,onRenderedPromise:pe,delegatePromise:c,watchForUnloadPromise:d})})).catch((function(e){return h.all([Ke(e),Re(e)]).then((function(){throw e}),(function(){throw e}))})).then(fe)},destroy:Re,setProps:rt,getHelpers:tt,getDelegateOverrides:function(){return h.try((function(){return{getProxyContainer:ae,show:ce,hide:ue,renderContainer:et,getProxyWindow:ie,watchForUnload:Le,openFrame:_e,openPrerenderFrame:ke,prerender:Qe,open:ze,openPrerender:Ae,setProxyWin:se}}))}}}var Er={register:function(e,t,r,n){var i=n.React,a=n.ReactDOM;return function(e){function t(){return e.apply(this,arguments)||this}o(t,e);var n=t.prototype;return n.render=function(){return i.createElement("div",null)},n.componentDidMount=function(){var e=a.findDOMNode(this),t=r(me({},this.props));t.render(e,hr.IFRAME),this.setState({parent:t})},n.componentDidUpdate=function(){this.state&&this.state.parent&&this.state.parent.updateProps(me({},this.props)).catch(fe)},t}(i.Component)}},Or={register:function(e,t,r,n){return n.component(e,{render:function(e){return e("div")},inheritAttrs:!1,mounted:function(){var e=this.$el;this.parent=r(i({},this.$attrs)),this.parent.render(e,hr.IFRAME)},watch:{$attrs:{handler:function(){this.parent&&this.$attrs&&this.parent.updateProps(i({},this.$attrs)).catch(fe)},deep:!0}}})}},Ar={register:function(e,t,r,n){return n.module(e,[]).directive(e.replace(/-([a-z])/g,(function(e){return e[1].toUpperCase()})),(function(){for(var e={},n=0,o=Object.keys(t);n<o.length;n++)e[o[n]]="=";return e.props="=",{scope:e,restrict:"E",controller:["$scope","$element",function(e,t){function n(){if("$apply"!==e.$root.$$phase&&"$digest"!==e.$root.$$phase)try{e.$apply()}catch(t){}}var o=function(){return ke(e.props,(function(e){return"function"==typeof e?function(){var t=e.apply(this,arguments);return n(),t}:e}))},i=r(o());i.render(t[0],hr.IFRAME),e.$watch((function(){i.updateProps(o()).catch(fe)}))}]}}))}},Sr={register:function(e,t,r,n){var o=n.NgModule,a=n.ElementRef,s=n.NgZone,c=function(e){return ke(i({},e.internalProps,e.props),(function(t){return"function"==typeof t?function(){var r=arguments,n=this;return e.zone.run((function(){return t.apply(n,r)}))}:t}))},l=(0,n.Component)({selector:e,template:"<div></div>",inputs:["props"]}).Class({constructor:[a,s,function(e,t){this._props={},this.elementRef=e,this.zone=t}],ngOnInit:function(){var e=this.elementRef.nativeElement;this.parent=r(c(this)),this.parent.render(e,hr.IFRAME)},ngDoCheck:function(){this.parent&&!function(e,t){var r={};for(var n in e)if(e.hasOwnProperty(n)&&(r[n]=!0,e[n]!==t[n]))return!1;for(var o in t)if(!r[o])return!1;return!0}(this._props,this.props)&&(this._props=i({},this.props),this.parent.updateProps(c(this)))}});return o({declarations:[l],exports:[l]}).Class({constructor:function(){}})}};function jr(e){var t=e.uid,r=e.frame,n=e.prerenderFrame,o=e.doc,i=e.props,a=e.event,s=e.dimensions,c=s.width,l=s.height;if(r&&n){var u=o.createElement("div");u.setAttribute("id",t);var d=o.createElement("style");return i.cspNonce&&d.setAttribute("nonce",i.cspNonce),d.appendChild(o.createTextNode("\n #"+t+" {\n display: inline-block;\n position: relative;\n width: "+c+";\n height: "+l+";\n }\n\n #"+t+" > iframe {\n display: inline-block;\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n transition: opacity .2s ease-in-out;\n }\n\n #"+t+" > iframe.zoid-invisible {\n opacity: 0;\n }\n\n #"+t+" > iframe.zoid-visible {\n opacity: 1;\n }\n ")),u.appendChild(r),u.appendChild(n),u.appendChild(d),n.classList.add("zoid-visible"),r.classList.add("zoid-invisible"),a.on(br.RENDERED,(function(){n.classList.remove("zoid-visible"),n.classList.add("zoid-invisible"),r.classList.remove("zoid-invisible"),r.classList.add("zoid-visible"),setTimeout((function(){Ye(n)}),1)})),a.on(br.RESIZE,(function(e){var t=e.width,r=e.height;"number"==typeof t&&(u.style.width=nt(t)),"number"==typeof r&&(u.style.height=nt(r))})),u}}function Pr(e){var t=e.doc,r=e.props,n=t.createElement("html"),o=t.createElement("body"),i=t.createElement("style"),a=t.createElement("div");return a.classList.add("spinner"),r.cspNonce&&i.setAttribute("nonce",r.cspNonce),n.appendChild(o),o.appendChild(a),o.appendChild(i),i.appendChild(t.createTextNode("\n html, body {\n width: 100%;\n height: 100%;\n }\n\n .spinner {\n position: fixed;\n max-height: 60vmin;\n max-width: 60vmin;\n height: 40px;\n width: 40px;\n top: 50%;\n left: 50%;\n box-sizing: border-box;\n border: 3px solid rgba(0, 0, 0, .2);\n border-top-color: rgba(33, 128, 192, 0.8);\n border-radius: 100%;\n animation: rotation .7s infinite linear;\n }\n\n @keyframes rotation {\n from {\n transform: translateX(-50%) translateY(-50%) rotate(0deg);\n }\n to {\n transform: translateX(-50%) translateY(-50%) rotate(359deg);\n }\n }\n ")),n}var Cr=function(){return fe},Tr=function(e){return pe(e.value)},Rr=Se(),Ir=Se();function $r(e){var t=function(e){var t=e.tag,r=e.url,n=e.domain,o=e.bridgeUrl,a=e.props,s=void 0===a?{}:a,c=e.dimensions,l=void 0===c?{}:c,u=e.autoResize,d=void 0===u?{}:u,f=e.allowedParentDomains,p=void 0===f?"*":f,h=e.attributes,b=void 0===h?{}:h,m=e.defaultContext,g=void 0===m?hr.IFRAME:m,v=e.containerTemplate,y=void 0===v?jr:v,w=e.prerenderTemplate,x=void 0===w?Pr:w,_=e.validate,k=e.eligible,O=void 0===k?function(){return{eligible:!0}}:k,A=e.logger,S=void 0===A?{info:fe}:A,j=t.replace(/-/g,"_"),P=l.width,C=void 0===P?"300px":P,T=l.height,R=void 0===T?"150px":T;if(s=i({},{window:{type:"object",sendToChild:!1,required:!1,allowDelegate:!0,validate:function(e){var t=e.value;if(!q(t)&&!Ut.isProxyWindow(t))throw new Error("Expected Window or ProxyWindow");if(q(t)){if(I(t))throw new Error("Window is closed");if(!E(t))throw new Error("Window is not same domain")}},decorate:function(e){return cr(e.value)}},timeout:{type:"number",required:!1,sendToChild:!1},close:{type:"function",required:!1,sendToChild:!1,childDecorate:function(e){return e.close}},focus:{type:"function",required:!1,sendToChild:!1,childDecorate:function(e){return e.focus}},resize:{type:"function",required:!1,sendToChild:!1,childDecorate:function(e){return e.resize}},uid:{type:"string",required:!1,sendToChild:!1,childDecorate:function(e){return e.uid}},cspNonce:{type:"string",required:!1},getParent:{type:"function",required:!1,sendToChild:!1,childDecorate:function(e){return e.getParent}},getParentDomain:{type:"function",required:!1,sendToChild:!1,childDecorate:function(e){return e.getParentDomain}},show:{type:"function",required:!1,sendToChild:!1,childDecorate:function(e){return e.show}},hide:{type:"function",required:!1,sendToChild:!1,childDecorate:function(e){return e.hide}},onDisplay:{type:"function",required:!1,sendToChild:!1,allowDelegate:!0,default:Cr,decorate:Tr},onRendered:{type:"function",required:!1,sendToChild:!1,default:Cr,decorate:Tr},onRender:{type:"function",required:!1,sendToChild:!1,default:Cr,decorate:Tr},onClose:{type:"function",required:!1,sendToChild:!1,allowDelegate:!0,default:Cr,decorate:Tr},onDestroy:{type:"function",required:!1,sendToChild:!1,allowDelegate:!0,default:Cr,decorate:Tr},onResize:{type:"function",required:!1,sendToChild:!1,allowDelegate:!0,default:Cr},onFocus:{type:"function",required:!1,sendToChild:!1,allowDelegate:!0,default:Cr},onError:{type:"function",required:!1,sendToChild:!1,childDecorate:function(e){return e.onError}},onProps:{type:"function",required:!1,sendToChild:!1,default:Cr,childDecorate:function(e){return e.onProps}}},s),!y)throw new Error("Container template required");return{name:j,tag:t,url:r,domain:n,bridgeUrl:o,propsDef:s,dimensions:{width:C,height:R},autoResize:d,allowedParentDomains:p,attributes:b,defaultContext:g,containerTemplate:y,prerenderTemplate:x,validate:_,logger:S,eligible:O}}(e),r=t.name,n=t.tag,o=t.defaultContext,a=t.propsDef,s=t.eligible,c=ur(),l={},u=[],d=function(){var e=vr();return Boolean(e&&e.tag===n&&e.childDomain===k())},f=le((function(){if(d()){if(window.xprops)throw delete c.components[n],new Error("Can not register "+r+" as child - child already registered");var e=function(e){var t,r=e.propsDef,n=e.autoResize,o=e.allowedParentDomains,i=[],a=vr();if(!a)throw new Error("No child payload found");if("9_0_63"!==a.version)throw new Error("Parent window has zoid version "+a.version+", child window has version 9_0_63");var s=a.uid,c=a.parentDomain,l=a.exports,u=a.context,d=a.props,f=function(e){var t=e.type;if("opener"===t)return je("opener",w(window));if("parent"===t&&"number"==typeof e.distance)return je("parent",function(e,t){return void 0===t&&(t=1),function(e,t){void 0===t&&(t=1);for(var r=e,n=0;n<t;n++){if(!r)return;r=y(r)}return r}(e,L(e)-t)}(window,e.distance));if("global"===t&&e.uid&&"string"==typeof e.uid){var r=e.uid,n=M(window);if(!n)throw new Error("Can not find ancestor window");for(var o=0,i=C(n);o<i.length;o++){var a=i[o];if(E(a)){var s=ur(a);if(s&&s.windows&&s.windows[r])return s.windows[r]}}}throw new Error("Unable to find "+t+" parent component window")}(a.parent),p=sr(f,c,l),b=p.show,m=p.hide,g=p.close,v=function(){return f},x=function(){return c},_=function(e){i.push(e)},O=function(e){return h.try((function(){if(p&&p.onError)return p.onError(e);throw e}))},A=function(e){return p.resize.fireAndForget({width:e.width,height:e.height})},S=function(e,n,o){void 0===o&&(o=!1);var a=function(e,t,r,n,o,i){void 0===i&&(i=!1);for(var a={},s=0,c=Object.keys(r);s<c.length;s++){var l=c[s],u=t[l];if(!u||!u.sameDomain||n===k(window)&&E(e)){var d=mr(t,0,l,r[l],o);a[l]=d,u&&u.alias&&!a[u.alias]&&(a[u.alias]=d)}}if(!i)for(var f=0,p=Object.keys(t);f<p.length;f++){var h=p[f];r.hasOwnProperty(h)||(a[h]=mr(t,0,h,void 0,o))}return a}(f,r,e,n,{show:b,hide:m,close:g,focus:yr,onError:O,resize:A,onProps:_,getParent:v,getParentDomain:x,uid:s},o);t?me(t,a):t=a;for(var c=0;c<i.length;c++)(0,i[c])(t)},j=function(e){return h.try((function(){return S(e,c,!0)}))};return{init:function(){return h.try((function(){return function(e,t){if(!U(e,t))throw new Error("Can not be rendered by domain: "+t)}(o,c),gt(f),function(){window.addEventListener("beforeunload",(function(){p.checkClose.fireAndForget()})),window.addEventListener("unload",(function(){p.checkClose.fireAndForget()})),W(f,(function(){wr()}))}(),p.init({updateProps:j,close:wr})})).then((function(){return(e=n.width,t=void 0!==e&&e,r=n.height,o=void 0!==r&&r,i=n.element,Be(void 0===i?"body":i).catch(fe).then((function(e){return{width:t,height:o,element:e}}))).then((function(e){var t=e.width,r=e.height,n=e.element;n&&(t||r)&&u!==hr.POPUP&&Je(n,(function(e){A({width:t?e.width:void 0,height:r?e.height:void 0})}),{width:t,height:r})}));var e,t,r,o,i})).catch((function(e){O(e)}))},getProps:function(){return t||(S(function(e,t,r){var n,o=r.type,i=r.uid;if("raw"===o)n=r.value;else if("uid"===o){if(!E(e))throw new Error("Parent component window is on a different domain - expected "+k()+" - can not retrieve props");var a=ur(e);n=je("props",a&&a.props[i])}if(!n)throw new Error("Could not find props");return sr(e,t,n)}(f,c,d),c),t)}}}(t);return e.init(),e}})),p=function e(n){var a,c=s({props:n=n||{}}),l=c.eligible,d=c.reason,f=n.onDestroy;n.onDestroy=function(){if(a&&l&&u.splice(u.indexOf(a),1),f)return f.apply(void 0,arguments)};var p=kr(t);p.init(),l?p.setProps(n):n.onDestroy&&n.onDestroy(),Rr.register((function(e){p.destroy(e||new Error("zoid destroyed all components"))}));var b=function(e,t,i){return h.try((function(){if(!l){var t=new Error(d||r+" component is not eligible");return p.destroy(t).then((function(){throw t}))}if(!q(e))throw new Error("Must pass window to renderTo");return function(e,t){return h.try((function(){if(e.window)return cr(e.window).getType();if(t){if(t!==hr.IFRAME&&t!==hr.POPUP)throw new Error("Unrecognized context: "+t);return t}return o}))}(n,i)})).then((function(r){return t=function(e,t){if(t){if("string"!=typeof t&&!ze(t))throw new TypeError("Expected string or element selector to be passed");return t}if(e===hr.POPUP)return"body";throw new Error("Expected element to be passed to render iframe")}(r,t),p.render(e,t,r)})).catch((function(e){return p.destroy(e).then((function(){throw e}))}))};return a=i({},p.getHelpers(),{isEligible:function(){return l},clone:function(t){var r=(void 0===t?{}:t).decorate;return e((void 0===r?ge:r)(n))},render:function(e,t){return b(window,e,t)},renderTo:function(e,t,r){return b(e,t,r)}}),l&&u.push(a),a};if(f(),function(){var e=nr("zoid_allow_delegate_"+r,(function(){return!0})),n=nr("zoid_delegate_"+r,(function(e){return{parent:kr(t,e.data.overrides,e.source)}}));Ir.register(e.cancel),Ir.register(n.cancel)}(),c.components=c.components||{},c.components[n])throw new Error("Can not register multiple components with the same tag: "+n);return c.components[n]=!0,{init:p,instances:u,driver:function(e,t){var r={react:Er,angular:Ar,vue:Or,angular2:Sr};if(!r[e])throw new Error("Could not find driver for framework: "+e);return l[e]||(l[e]=r[e].register(n,a,p,t)),l[e]},isChild:d,canRenderTo:function(e){return ir(e,"zoid_allow_delegate_"+r).then((function(e){return e.data})).catch((function(){return!1}))},registerChild:f}}function Dr(e){!function(){var e,t,r,n;it().initialized||(it().initialized=!0,t=(e={on:nr,send:ir}).on,r=e.send,(n=it()).receiveMessage=n.receiveMessage||function(e){return rr(e,{on:t,send:r})},function(e){var t=e.on,r=e.send;st().getOrSet("postMessageListener",(function(){return qe(window,"message",(function(e){!function(e,t){var r=t.on,n=t.send;h.try((function(){var t=e.source||e.sourceElement,o=e.origin||e.originalEvent&&e.originalEvent.origin,i=e.data;if("null"===o&&(o="file://"),t){if(!o)throw new Error("Post message did not have origin domain");rr({source:t,origin:o,data:i},{on:r,send:n})}}))}(e,{on:t,send:r})}))}))}({on:nr,send:ir}),Bt({on:nr,send:ir,receiveMessage:rr}),function(e){var t=e.on,r=e.send;st("builtinListeners").getOrSet("helloListener",(function(){var e=t("postrobot_hello",{domain:"*"},(function(e){return pt(e.source,{domain:e.origin}),{instanceID:ft()}})),n=M();return n&&ht(n,{send:r}).catch((function(e){})),e}))}({on:nr,send:ir}))}();var t=$r(e),r=function(e){return t.init(e)};r.driver=function(e,r){return t.driver(e,r)},r.isChild=function(){return t.isChild()},r.canRenderTo=function(e){return t.canRenderTo(e)},r.instances=t.instances;var n=t.registerChild();return n&&(window.xprops=r.xprops=n.getProps()),r}function zr(e){or&&or.destroyBridges();var t=Rr.all(e);return Rr=Se(),t}var Mr=zr;function Br(e){return Mr(),delete window.__zoid_9_0_63__,function(){var e;!function(){for(var e=st("responseListeners"),t=0,r=e.keys();t<r.length;t++){var n=r[t],o=e.get(n);o&&(o.cancelled=!0),e.del(n)}}(),(e=st().get("postMessageListener"))&&e.cancel(),delete window.__post_robot_10_0_42__}(),Ir.all(e)}}])}))}).call(this,r("b639").Buffer)},c00e:function(e){e.exports=JSON.parse('{"psaccounts":{"accountManager":{"errorInstallEnable":"Si è verificato un errore, si prega di riprovare."},"alertAccountNotInstalled":{"title":"Installa il modulo PrestaShop Account","message":"Il modulo PrestaShop account è necessario per continuare la configurazione di questo modulo.","installButton":"Installare","loading":"Installazione del modulo PrestaShop Account in corso..."},"alertAccountNotEnabled":{"title":"Attiva il modulo PrestaShop Account","message":"Il modulo PrestaShop account è necessario per continuare la configurazione di questo modulo.","enableButton":"Attiva","loading":"Attivazione del modulo PrestaShop Account in corso..."},"multiShopSelector":{"title":"Modalità multi-negozio attiva","subtitle":"Per usufruirne, dovrai configurare i tuoi negozi uno alla volta, tuttavia, potrai farlo usando lo stesso account.","selectStore":"Seleziona il primo negozio nella lista qui sotto","tips":"Una volta configurato il primo negozio, potrai continuare con gli altri, selezionandoli uno per volta tramite il selettore del menu orizzontale.","configure":"Configura","group":""},"account":{"title":"Associa il tuo negozio a un account PrestaShop","authorize":"Puoi associare il tuo negozio a un solo account. Sceglilo con cura!","authorized":"Il tuo negozio è associato all\'account PrestaShop:","connectButton":"Associa","reonboardButton":"Riassociare","disconnectButton":"Usa un altro account","moduleUpdateInformation":"<strong>Nuovo aggiornamento:</strong> da oggi, puoi gestire i tuoi negozi associati.<br /> Ti preghiamo di riassociarli, <strong>mediante lo stesso indirizzo e-mail</strong> per usufruire di questo aggiornamento.<br /> Altri aggiornamenti del modulo sono disponibili nella sezione \\"Module Manager\\", alla scheda \\"Aggiornamenti\\".","emailNotVerified":"Hai appena ricevuto un\'e-mail di conferma. Controlla la posta in arrivo e clicca sul link ricevuto per attivare il tuo account.","sendEmail":"Invia di nuovo","needToBeAdmin":"Per continuare, devi essere l\'amministratore del negozio","pleaseContact":"Si prega di contattare","manageAccountTooltip":"Manage account"},"alertEventBusNotInstalled":{"title":"Installa il modulo Prestashop Event Bus","message":"Il modulo Prestashop Event Bus è necessario per continuare la configurazione di questo modulo.","loading":"Installazione del modulo Prestashop Event Bus in corso..."}}}')},c04e:function(e,t,r){var n=r("861d");e.exports=function(e,t){if(!n(e))return e;var r,o;if(t&&"function"==typeof(r=e.toString)&&!n(o=r.call(e)))return o;if("function"==typeof(r=e.valueOf)&&!n(o=r.call(e)))return o;if(!t&&"function"==typeof(r=e.toString)&&!n(o=r.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},c28b:function(e,t,r){!function(t,r){e.exports=r()}(0,(function(){var e="undefined"!=typeof window,t="undefined"!=typeof navigator,r=e&&("ontouchstart"in window||t&&navigator.msMaxTouchPoints>0)?["touchstart"]:["click"];function n(e){var t=e.event,r=e.handler;(0,e.middleware)(t)&&r(t)}function o(e,t){var o=function(e){var t="function"==typeof e;if(!t&&"object"!=typeof e)throw new Error("v-click-outside: Binding value must be a function or an object");return{handler:t?e:e.handler,middleware:e.middleware||function(e){return e},events:e.events||r,isActive:!(!1===e.isActive),detectIframe:!(!1===e.detectIframe)}}(t.value),i=o.handler,a=o.middleware,s=o.detectIframe;if(o.isActive){if(e["__v-click-outside"]=o.events.map((function(t){return{event:t,srcTarget:document.documentElement,handler:function(t){return function(e){var t=e.el,r=e.event,o=e.handler,i=e.middleware,a=r.path||r.composedPath&&r.composedPath();(a?a.indexOf(t)<0:!t.contains(r.target))&&n({event:r,handler:o,middleware:i})}({el:e,event:t,handler:i,middleware:a})}}})),s){var c={event:"blur",srcTarget:window,handler:function(t){return function(e){var t=e.el,r=e.event,o=e.handler,i=e.middleware;setTimeout((function(){var e=document.activeElement;e&&"IFRAME"===e.tagName&&!t.contains(e)&&n({event:r,handler:o,middleware:i})}),0)}({el:e,event:t,handler:i,middleware:a})}};e["__v-click-outside"]=[].concat(e["__v-click-outside"],[c])}e["__v-click-outside"].forEach((function(t){var r=t.event,n=t.srcTarget,o=t.handler;return setTimeout((function(){e["__v-click-outside"]&&n.addEventListener(r,o,!1)}),0)}))}}function i(e){(e["__v-click-outside"]||[]).forEach((function(e){return e.srcTarget.removeEventListener(e.event,e.handler,!1)})),delete e["__v-click-outside"]}var a=e?{bind:o,update:function(e,t){var r=t.value,n=t.oldValue;JSON.stringify(r)!==JSON.stringify(n)&&(i(e),o(e,{value:r}))},unbind:i}:{};return{install:function(e){e.directive("click-outside",a)},directive:a}}))},c430:function(e,t){e.exports=!1},c6b6:function(e,t){var r={}.toString;e.exports=function(e){return r.call(e).slice(8,-1)}},c6cd:function(e,t,r){var n=r("da84"),o=r("ce4e"),i="__core-js_shared__",a=n[i]||o(i,{});e.exports=a},c774:function(e){e.exports=JSON.parse('{"psaccounts":{"accountManager":{"errorInstallEnable":"Wystąpił błąd, spróbuj ponownie."},"alertAccountNotInstalled":{"title":"Zainstaluj moduł PrestaShop Account","message":"Moduł PrestaShop konto jest konieczny w celu dalszej konfiguracji tego modułu.","installButton":"Zainstaluj","loading":"Aktywacja modułu PrestaShop Account w toku..."},"alertAccountNotEnabled":{"title":"Aktywuj moduł PrestaShop Account","message":"Moduł PrestaShop konto jest konieczny w celu dalszej konfiguracji tego modułu.","enableButton":"Aktywuj","loading":"Aktywacja modułu PrestaShop Account w toku..."},"multiShopSelector":{"title":"Włączony tryb Multi-shop","subtitle":"Choć dla tej usługi należy skonfigurować swoje sklepy jeden po drugim, będzie można korzystać z tego samego konta.","selectStore":"Wybierz pierwszy sklep z poniższej listy","tips":"Po skonfigurowaniu pierwszego sklepu można kontynuować pracę z pozostałymi, wybierając je jeden po drugim w selektorze sklepów w menu poziomym.","configure":"Konfiguruj","group":""},"account":{"title":"Połącz swój sklep z kontem PrestaShop","authorize":"Możesz powiązać swój sklep tylko z jednym kontem. Dokonaj dobrego wyboru!","authorized":"Twój sklep jest powiązany z kontem PrestaShop:","connectButton":"Połącz","reonboardButton":"Ponownie skojarz","disconnectButton":"Użyj innego konta","moduleUpdateInformation":"<strong>Nowa aktualizacja:</strong> możesz zarządzać swoimi powiązanymi sklepami.<br /> Prosimy o ponowne dołączenie przy użyciu <strong>tego samego adresu e-mail</strong> ,aby skorzystać z tej aktualizacji.<br /> Inne aktualizacje modułu mogą być dostępne w Managerze modułów, w zakładce Aktualizacje.","emailNotVerified":"Wysłano e-mail z potwierdzeniem. Sprawdź pocztę i kliknij link, aby aktywować konto.","sendEmail":"Wróć","needToBeAdmin":"Aby kontynuować, musisz być administratorem sklepu.","pleaseContact":"Prosimy o kontakt","manageAccountTooltip":"Manage account"},"alertEventBusNotInstalled":{"title":"Zainstaluj moduł Prestashop Event Bus","message":"Moduł PrestaShop konto jest konieczny w celu dalszej konfiguracji tego modułu.","loading":"Aktywacja modułu Prestashop Event Bus w toku..."}}}')},c8ba:function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(n){"object"===typeof window&&(r=window)}e.exports=r},ca84:function(e,t,r){var n=r("5135"),o=r("fc6a"),i=r("4d64").indexOf,a=r("d012");e.exports=function(e,t){var r,s=o(e),c=0,l=[];for(r in s)!n(a,r)&&n(s,r)&&l.push(r);while(t.length>c)n(s,r=t[c++])&&(~i(l,r)||l.push(r));return l}},caad:function(e,t,r){"use strict";var n=r("23e7"),o=r("4d64").includes,i=r("44d2"),a=r("ae40"),s=a("indexOf",{ACCESSORS:!0,1:0});n({target:"Array",proto:!0,forced:!s},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("includes")},cc12:function(e,t,r){var n=r("da84"),o=r("861d"),i=n.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},cdf9:function(e,t,r){var n=r("825a"),o=r("861d"),i=r("f069");e.exports=function(e,t){if(n(e),o(t)&&t.constructor===e)return t;var r=i.f(e),a=r.resolve;return a(t),r.promise}},ce1c:function(e,t,r){var n=r("24fb");t=n(!1),t.push([e.i,".flex-grow-1[data-v-74da2296]{flex-grow:1}.slot-margin[data-v-74da2296]{margin-top:1rem}.fixed-size[data-v-74da2296],.fixed-size-small[data-v-74da2296]{height:20px;width:20px;display:inline}.fixed-size-small[data-v-74da2296]{font-size:20px}.settings-btn[data-v-74da2296]{color:#6c868e}.settings-btn[data-v-74da2296]:hover{color:#25b9d7}",""]),e.exports=t},ce4e:function(e,t,r){var n=r("da84"),o=r("9112");e.exports=function(e,t){try{o(n,e,t)}catch(r){n[e]=t}return t}},d012:function(e,t){e.exports={}},d039:function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},d066:function(e,t,r){var n=r("428f"),o=r("da84"),i=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?i(n[e])||i(o[e]):n[e]&&n[e][t]||o[e]&&o[e][t]}},d1e7:function(e,t,r){"use strict";var n={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!n.call({1:2},1);t.f=i?function(e){var t=o(this,e);return!!t&&t.enumerable}:n},d28b:function(e,t,r){var n=r("746f");n("iterator")},d2bb:function(e,t,r){var n=r("825a"),o=r("3bbe");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,e.call(r,[]),t=r instanceof Array}catch(i){}return function(r,i){return n(r),o(i),t?e.call(r,i):r.__proto__=i,r}}():void 0)},d3b7:function(e,t,r){var n=r("00ee"),o=r("6eeb"),i=r("b041");n||o(Object.prototype,"toString",i,{unsafe:!0})},d44e:function(e,t,r){var n=r("9bf2").f,o=r("5135"),i=r("b622"),a=i("toStringTag");e.exports=function(e,t,r){e&&!o(e=r?e:e.prototype,a)&&n(e,a,{configurable:!0,value:t})}},d784:function(e,t,r){"use strict";r("ac1f");var n=r("6eeb"),o=r("d039"),i=r("b622"),a=r("9263"),s=r("9112"),c=i("species"),l=!o((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),u=function(){return"$0"==="a".replace(/./,"$0")}(),d=i("replace"),f=function(){return!!/./[d]&&""===/./[d]("a","$0")}(),p=!o((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var r="ab".split(e);return 2!==r.length||"a"!==r[0]||"b"!==r[1]}));e.exports=function(e,t,r,d){var h=i(e),b=!o((function(){var t={};return t[h]=function(){return 7},7!=""[e](t)})),m=b&&!o((function(){var t=!1,r=/a/;return"split"===e&&(r={},r.constructor={},r.constructor[c]=function(){return r},r.flags="",r[h]=/./[h]),r.exec=function(){return t=!0,null},r[h](""),!t}));if(!b||!m||"replace"===e&&(!l||!u||f)||"split"===e&&!p){var g=/./[h],v=r(h,""[e],(function(e,t,r,n,o){return t.exec===a?b&&!o?{done:!0,value:g.call(t,r,n)}:{done:!0,value:e.call(r,t,n)}:{done:!1}}),{REPLACE_KEEPS_$0:u,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:f}),y=v[0],w=v[1];n(String.prototype,e,y),n(RegExp.prototype,h,2==t?function(e,t){return w.call(e,this,t)}:function(e){return w.call(e,this)})}d&&s(RegExp.prototype[h],"sham",!0)}},d81d:function(e,t,r){"use strict";var n=r("23e7"),o=r("b727").map,i=r("1dde"),a=r("ae40"),s=i("map"),c=a("map");n({target:"Array",proto:!0,forced:!s||!c},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},da84:function(e,t,r){(function(t){var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t&&t)||function(){return this}()||Function("return this")()}).call(this,r("c8ba"))},dbb4:function(e,t,r){var n=r("23e7"),o=r("83ab"),i=r("56ef"),a=r("fc6a"),s=r("06cf"),c=r("8418");n({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){var t,r,n=a(e),o=s.f,l=i(n),u={},d=0;while(l.length>d)r=o(n,t=l[d++]),void 0!==r&&c(u,t,r);return u}})},ddb0:function(e,t,r){var n=r("da84"),o=r("fdbc"),i=r("e260"),a=r("9112"),s=r("b622"),c=s("iterator"),l=s("toStringTag"),u=i.values;for(var d in o){var f=n[d],p=f&&f.prototype;if(p){if(p[c]!==u)try{a(p,c,u)}catch(b){p[c]=u}if(p[l]||a(p,l,d),o[d])for(var h in i)if(p[h]!==i[h])try{a(p,h,i[h])}catch(b){p[h]=i[h]}}}},df75:function(e,t,r){var n=r("ca84"),o=r("7839");e.exports=Object.keys||function(e){return n(e,o)}},df7c:function(e,t,r){(function(e){function r(e,t){for(var r=0,n=e.length-1;n>=0;n--){var o=e[n];"."===o?e.splice(n,1):".."===o?(e.splice(n,1),r++):r&&(e.splice(n,1),r--)}if(t)for(;r--;r)e.unshift("..");return e}function n(e){"string"!==typeof e&&(e+="");var t,r=0,n=-1,o=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!o){r=t+1;break}}else-1===n&&(o=!1,n=t+1);return-1===n?"":e.slice(r,n)}function o(e,t){if(e.filter)return e.filter(t);for(var r=[],n=0;n<e.length;n++)t(e[n],n,e)&&r.push(e[n]);return r}t.resolve=function(){for(var t="",n=!1,i=arguments.length-1;i>=-1&&!n;i--){var a=i>=0?arguments[i]:e.cwd();if("string"!==typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(t=a+"/"+t,n="/"===a.charAt(0))}return t=r(o(t.split("/"),(function(e){return!!e})),!n).join("/"),(n?"/":"")+t||"."},t.normalize=function(e){var n=t.isAbsolute(e),a="/"===i(e,-1);return e=r(o(e.split("/"),(function(e){return!!e})),!n).join("/"),e||n||(e="."),e&&a&&(e+="/"),(n?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(o(e,(function(e,t){if("string"!==typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,r){function n(e){for(var t=0;t<e.length;t++)if(""!==e[t])break;for(var r=e.length-1;r>=0;r--)if(""!==e[r])break;return t>r?[]:e.slice(t,r-t+1)}e=t.resolve(e).substr(1),r=t.resolve(r).substr(1);for(var o=n(e.split("/")),i=n(r.split("/")),a=Math.min(o.length,i.length),s=a,c=0;c<a;c++)if(o[c]!==i[c]){s=c;break}var l=[];for(c=s;c<o.length;c++)l.push("..");return l=l.concat(i.slice(s)),l.join("/")},t.sep="/",t.delimiter=":",t.dirname=function(e){if("string"!==typeof e&&(e+=""),0===e.length)return".";for(var t=e.charCodeAt(0),r=47===t,n=-1,o=!0,i=e.length-1;i>=1;--i)if(t=e.charCodeAt(i),47===t){if(!o){n=i;break}}else o=!1;return-1===n?r?"/":".":r&&1===n?"/":e.slice(0,n)},t.basename=function(e,t){var r=n(e);return t&&r.substr(-1*t.length)===t&&(r=r.substr(0,r.length-t.length)),r},t.extname=function(e){"string"!==typeof e&&(e+="");for(var t=-1,r=0,n=-1,o=!0,i=0,a=e.length-1;a>=0;--a){var s=e.charCodeAt(a);if(47!==s)-1===n&&(o=!1,n=a+1),46===s?-1===t?t=a:1!==i&&(i=1):-1!==t&&(i=-1);else if(!o){r=a+1;break}}return-1===t||-1===n||0===i||1===i&&t===n-1&&t===r+1?"":e.slice(t,n)};var i="b"==="ab".substr(-1)?function(e,t,r){return e.substr(t,r)}:function(e,t,r){return t<0&&(t=e.length+t),e.substr(t,r)}}).call(this,r("4362"))},e01a:function(e,t,r){"use strict";var n=r("23e7"),o=r("83ab"),i=r("da84"),a=r("5135"),s=r("861d"),c=r("9bf2").f,l=r("e893"),u=i.Symbol;if(o&&"function"==typeof u&&(!("description"in u.prototype)||void 0!==u().description)){var d={},f=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof f?new u(e):void 0===e?u():u(e);return""===e&&(d[t]=!0),t};l(f,u);var p=f.prototype=u.prototype;p.constructor=f;var h=p.toString,b="Symbol(test)"==String(u("test")),m=/^Symbol\((.*)\)[^)]+$/;c(p,"description",{configurable:!0,get:function(){var e=s(this)?this.valueOf():this,t=h.call(e);if(a(d,e))return"";var r=b?t.slice(7,-1):t.replace(m,"$1");return""===r?void 0:r}}),n({global:!0,forced:!0},{Symbol:f})}},e0b4:function(e){e.exports=JSON.parse('{"psaccounts":{"accountManager":{"errorInstallEnable":"Something went wrong. Please try again."},"alertAccountNotInstalled":{"title":"Install the PrestaShop Account module","message":"You need the PrestaShop account module to continue setting up this module.","installButton":"Install","loading":"The PrestaShop Account module is currently being installed..."},"alertAccountNotEnabled":{"title":"Activate the PrestaShop Account module","message":"You need the PrestaShop account module to continue setting up this module.","enableButton":"Activate","loading":"The PrestaShop Account module is currently being activated..."},"multiShopSelector":{"title":"Multi-store mode activated","subtitle":"You must configure your stores one by one for this service but you will be able to use the same account.","selectStore":"Please select the first store to configure from the list below","tips":"After you are done with the first shop, you can configure the others by selecting them one by one in the shop selector, in the horizontal menu","configure":"Configure","group":"Group"},"alertEventBusNotInstalled":{"title":"Install the Prestashop Event Bus module","message":"You need the Prestashop Event Bus module to continue setting up this module.","installButton":"Install","loading":"The Prestashop Event Bus module is currently being installed..."},"alertAccountNeedsUpdate":{"title":"Update PrestaShop Accounts module","message":"A new version of PrestaShop Accounts is available, please update the module to continue using the services","installButton":"Update"},"account":{"title":"Associate your shop with a PrestaShop account","authorize":"You can only associate your shop with one account. So be sure to choose the right one!","authorized":"Your shop is associated with the PrestaShop account:","connectButton":"Associate","reonboardButton":"Re-associate","disconnectButton":"Use another account","moduleUpdateInformation":"<strong>New update:</strong> you can manage your associated shops.<br /> Please reassociate yourself using <strong>the same email address</strong> to benefit from this update.<br /> Other module updates may be available in the Updates tab of the module manager.","emailNotVerified":"A confirmation email has been sent. Check your inbox and click on the link to activate your account.","sendEmail":"Send it again","needToBeAdmin":"In order to proceed you need to be administrator of the shop","pleaseContact":"Please contact","manageAccountTooltip":"Manage account","unlinkShop":"Unlink my shop","unlinkShopModalTitle":"Are you sure you want to unlink your store from your account ?","unlinkShopModalContent":"By clicking on Yes, I confirm, you authorize your PrestaShop account to be unlink from the store.","unlinkShopAlert":"Your store has been successfully unlinked","unlinkShopError":"Error while trying to unlink shop"}}}')},e163:function(e,t,r){var n=r("5135"),o=r("7b0b"),i=r("f772"),a=r("e177"),s=i("IE_PROTO"),c=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=o(e),n(e,s)?e[s]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?c:null}},e177:function(e,t,r){var n=r("d039");e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},e260:function(e,t,r){"use strict";var n=r("fc6a"),o=r("44d2"),i=r("3f8c"),a=r("69f3"),s=r("7dd0"),c="Array Iterator",l=a.set,u=a.getterFor(c);e.exports=s(Array,"Array",(function(e,t){l(this,{type:c,target:n(e),index:0,kind:t})}),(function(){var e=u(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:t[n],done:!1}:{value:[n,t[n]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},e2cc:function(e,t,r){var n=r("6eeb");e.exports=function(e,t,r){for(var o in t)n(e,o,t[o],r);return e}},e340:function(e,t,r){"use strict";r("5360")},e3db:function(e,t){var r={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},e439:function(e,t,r){var n=r("23e7"),o=r("d039"),i=r("fc6a"),a=r("06cf").f,s=r("83ab"),c=o((function(){a(1)})),l=!s||c;n({target:"Object",stat:!0,forced:l,sham:!s},{getOwnPropertyDescriptor:function(e,t){return a(i(e),t)}})},e538:function(e,t,r){var n=r("b622");t.f=n},e667:function(e,t){e.exports=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}}},e6cf:function(e,t,r){"use strict";var n,o,i,a,s=r("23e7"),c=r("c430"),l=r("da84"),u=r("d066"),d=r("fea9"),f=r("6eeb"),p=r("e2cc"),h=r("d44e"),b=r("2626"),m=r("861d"),g=r("1c0b"),v=r("19aa"),y=r("8925"),w=r("2266"),x=r("1c7e"),_=r("4840"),k=r("2cf4").set,E=r("b575"),O=r("cdf9"),A=r("44de"),S=r("f069"),j=r("e667"),P=r("69f3"),C=r("94ca"),T=r("b622"),R=r("605d"),I=r("2d00"),$=T("species"),D="Promise",z=P.get,M=P.set,B=P.getterFor(D),L=d,N=l.TypeError,U=l.document,F=l.process,W=u("fetch"),q=S.f,V=q,H=!!(U&&U.createEvent&&l.dispatchEvent),Y="function"==typeof PromiseRejectionEvent,G="unhandledrejection",J="rejectionhandled",Z=0,K=1,X=2,Q=1,ee=2,te=C(D,(function(){var e=y(L)!==String(L);if(!e){if(66===I)return!0;if(!R&&!Y)return!0}if(c&&!L.prototype["finally"])return!0;if(I>=51&&/native code/.test(L))return!1;var t=L.resolve(1),r=function(e){e((function(){}),(function(){}))},n=t.constructor={};return n[$]=r,!(t.then((function(){}))instanceof r)})),re=te||!x((function(e){L.all(e)["catch"]((function(){}))})),ne=function(e){var t;return!(!m(e)||"function"!=typeof(t=e.then))&&t},oe=function(e,t){if(!e.notified){e.notified=!0;var r=e.reactions;E((function(){var n=e.value,o=e.state==K,i=0;while(r.length>i){var a,s,c,l=r[i++],u=o?l.ok:l.fail,d=l.resolve,f=l.reject,p=l.domain;try{u?(o||(e.rejection===ee&&ce(e),e.rejection=Q),!0===u?a=n:(p&&p.enter(),a=u(n),p&&(p.exit(),c=!0)),a===l.promise?f(N("Promise-chain cycle")):(s=ne(a))?s.call(a,d,f):d(a)):f(n)}catch(h){p&&!c&&p.exit(),f(h)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&ae(e)}))}},ie=function(e,t,r){var n,o;H?(n=U.createEvent("Event"),n.promise=t,n.reason=r,n.initEvent(e,!1,!0),l.dispatchEvent(n)):n={promise:t,reason:r},!Y&&(o=l["on"+e])?o(n):e===G&&A("Unhandled promise rejection",r)},ae=function(e){k.call(l,(function(){var t,r=e.facade,n=e.value,o=se(e);if(o&&(t=j((function(){R?F.emit("unhandledRejection",n,r):ie(G,r,n)})),e.rejection=R||se(e)?ee:Q,t.error))throw t.value}))},se=function(e){return e.rejection!==Q&&!e.parent},ce=function(e){k.call(l,(function(){var t=e.facade;R?F.emit("rejectionHandled",t):ie(J,t,e.value)}))},le=function(e,t,r){return function(n){e(t,n,r)}},ue=function(e,t,r){e.done||(e.done=!0,r&&(e=r),e.value=t,e.state=X,oe(e,!0))},de=function(e,t,r){if(!e.done){e.done=!0,r&&(e=r);try{if(e.facade===t)throw N("Promise can't be resolved itself");var n=ne(t);n?E((function(){var r={done:!1};try{n.call(t,le(de,r,e),le(ue,r,e))}catch(o){ue(r,o,e)}})):(e.value=t,e.state=K,oe(e,!1))}catch(o){ue({done:!1},o,e)}}};te&&(L=function(e){v(this,L,D),g(e),n.call(this);var t=z(this);try{e(le(de,t),le(ue,t))}catch(r){ue(t,r)}},n=function(e){M(this,{type:D,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:Z,value:void 0})},n.prototype=p(L.prototype,{then:function(e,t){var r=B(this),n=q(_(this,L));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=R?F.domain:void 0,r.parent=!0,r.reactions.push(n),r.state!=Z&&oe(r,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new n,t=z(e);this.promise=e,this.resolve=le(de,t),this.reject=le(ue,t)},S.f=q=function(e){return e===L||e===i?new o(e):V(e)},c||"function"!=typeof d||(a=d.prototype.then,f(d.prototype,"then",(function(e,t){var r=this;return new L((function(e,t){a.call(r,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof W&&s({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return O(L,W.apply(l,arguments))}}))),s({global:!0,wrap:!0,forced:te},{Promise:L}),h(L,D,!1,!0),b(D),i=u(D),s({target:D,stat:!0,forced:te},{reject:function(e){var t=q(this);return t.reject.call(void 0,e),t.promise}}),s({target:D,stat:!0,forced:c||te},{resolve:function(e){return O(c&&this===i?L:this,e)}}),s({target:D,stat:!0,forced:re},{all:function(e){var t=this,r=q(t),n=r.resolve,o=r.reject,i=j((function(){var r=g(t.resolve),i=[],a=0,s=1;w(e,(function(e){var c=a++,l=!1;i.push(void 0),s++,r.call(t,e).then((function(e){l||(l=!0,i[c]=e,--s||n(i))}),o)})),--s||n(i)}));return i.error&&o(i.value),r.promise},race:function(e){var t=this,r=q(t),n=r.reject,o=j((function(){var o=g(t.resolve);w(e,(function(e){o.call(t,e).then(r.resolve,n)}))}));return o.error&&n(o.value),r.promise}})},e893:function(e,t,r){var n=r("5135"),o=r("56ef"),i=r("06cf"),a=r("9bf2");e.exports=function(e,t){for(var r=o(t),s=a.f,c=i.f,l=0;l<r.length;l++){var u=r[l];n(e,u)||s(e,u,c(t,u))}}},e8b5:function(e,t,r){var n=r("c6b6");e.exports=Array.isArray||function(e){return"Array"==n(e)}},e95a:function(e,t,r){var n=r("b622"),o=r("3f8c"),i=n("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},ecb9:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFoAAABaCAYAAAA4qEECAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAWqADAAQAAAABAAAAWgAAAABJfIu3AAAbqUlEQVR4Ae1dB3xUVdY/b/qk94QSUoaSBAIEEJBeRFEBlVUESwQXdV3dprvrquuKrqtbcO27H6wKWFBBkJJgQTGE0EkIJZXMZNJ7m5Tp875z32Qm097Me5ME2O/33d8vvFvOOfe+/zvv3HPPvW+g4DpLu2haqFfWJpkNhgkUBRMsAKMEQAfTQAXjUPGPDqBpSovXbgqoHhBAN+YbKBCWWSgoSx+fqJxBUcbr7LaAutYD2qVUhvYZqYW0hV6Co1lE0XQqDSDxd1x4QybkvQJAHaUF1JFAoTxnzbgRLf7KGyq+awL0RxUVMbSJWmexwDrU2hk0avFQ3ZCrHIrCRwdwEW/0C6lY9sm6saNqXGmuRvmqAU1Mgras8i4E9SGg6eV486KrcYNOfVAUWiLIoWhqR0Bq0udrKMrg1D6MhWEH+hxNiy+XVWaCxfIHBHfsMN4LL9H4JtWhrd8cFSbfunLkyD5ezH4QDxvQRIN7y1SPgIV+DscV78fYrg4LBS0I+uaACYo3h1PDhwXoj8orZ5nN5n8BDdOuDlqD7wVtebmQpp58MC358OCluUsYUqC3VVaGUTrz33DGfwRt8ZDKdh/68NTgoHcJQfTrB9MSG4ayhyEDY0eZaia6aF8gwIlDOcBrIouYExA8sD41+buh6n9IgN5erPwNDTRqMoiHamDXWo7VLaRfC0xR/Altt3mw4xkU0GgqZJTO8glq8U8GO5DrlR8nyhxaJrxrQ1JS52DG6DfQxB6D1nIAl7/zBzOA/wpeiroko8TL16WMqfd3vH4B/XGxeoSJMn+LC490fzv+b+NDU6JGsG55KFVR7s/YeQO9U6WKNegsx3HxofCnQz48Rq0WuluaoKe9DYy6PvzTAwabQCyTgTQoCKSBwSAJDARZUDAEhIXzEe0XLYLdLJbAvPsVCoyl8Eu8gP7kSluIydh5FCe+qfy64Ubd3doCzVfKoEVZDi1qFei7NdwYkUoWHALRyWMhKmkscw2JjePMy4cQwa4U0sK5fN0/zkAfukJLm03KbzBCs4jPwHzR6nt7oKYwH9T5Z6GzrtoXOed2ouHJs+dB0swbUfODOPNxIUSwLwZIYMEahaKLCz2h4Qz0thLlp2iT7+Mq2BddX2cHlOV8D5VnT4LFRCKbw5MEQhHET5kGirkLIGL0mCHrBGPhPzyUmnwzgk4CVT4TJ6C3l1Q8ipq8xac0DgRGnQ6KvssG1ak8sJgH7Z5y6HGAJH7qdJi64i6QopkZkkRRL21IVWziIssn0DtKVZPRTz6NfzIuAr3R1FwogMKDe3nZXm/y/GkjE+mk5avQrMwF1EZ/RAzwoDYLKXpZZsrYIwOVnnNeezpYXx/Q2qUtQJMxwTM7t1oaI/yFWV+B8vhRbgxXgSpiTCLMvn/DoL0VNCGNAgk9JXPs2GZvwxZ4a2zVaP80WJAN2j449uG/ryuQyT23V6vhh3dfh47awW24oAcWRxtgszccSRurRn9Urk41m0wXkMbv+AXxgU9s3wrEbbtekwgd4xvWPgijJk0Z1BApkWDh+vHJuWxCWDXaYja9h0x+g9yqqoAjqDHXM8gEFJPRACc//gCUJ4+xYcSt3mT51480zbo95xHo7SXKn6CXsZhbD+5UvW2tcOLj93Elp3NvvE5rCvd/CXVFF/0eHa6UJ1aVKX/OJsAj0Lgz8kc2Bl/1Jr0O8tBcGPqGfRvO11B4taNXBWc+2wHtNVW8+JyIafg9buF5PCrhBvSOEuUKf5fYZLCnd26H7uZGp/45FwQCEAaHgkkaCF0GCzR19UJ1Qws0tGugXWsEoyQABMFhQIn8tmheh2I2GuHEjq3Q19HulY6tEW9/VF+pcr2ndrfJEBcnJ5FhtidiX3UXs/dDee4Pvsjc2oXyQOgzmqGisBAMOjyE5COJJBJITJsE4WFBYOrBg0qDSMSXFgSFgsFoAoFQCEKTDsJi4mDxE0/552dToEpMUUxYTFFOy10n472jRH2jhTb5BXJjWQlvkAUCIeiEYijOO45eJFo5jsmEEbyKwgKGOnnyFIgIDgAzmiy+SSSTQ1V1HTSftcoi/PLgYJg0Q8ZMjmPnLOArEsPzkFxVqroDGfc4MjuZDpo2Zzo2cs2TWMX5/bu5kjN0IgxxKtU1UHTyJC+QXTtRXbwAxZeK0OSEuTZ5LQslUigrvQLN1c42WdvdDeeO5kLxsaOg1XCOGbn0RbvhaAe634jf68LBqViacxiIp8E1EVAunj0Hnc1NXFm80vVpNJCfkwMUmgCuqaWrBzQs/j1ZyV4+fRouZO/jKs6JDl/OW3eW1Uc5VtpNh65URSZB3tFzEpwvz/3RUabXvBDBKMzLQ/+V/cBnWEwsxMXHw4jRoyEkLBSkaJNx8QR9Wh309PRAc309NNXWOj0oYnoKEOxpixYB3eNdE8mEW3Uuxz7OsOgYmD7nRoiJiYbaunq4UlwMjWo1lBWch/FzFwJZrvNMYr1Ftw553rHx2YE20/QaWyWfa8WJXCAuHZckkMqg9MJFN5CJXZwyZw7MvuEGUIwaAXKpRw/JqQtpaDjIaRP8eDYfco/mQfG5s8zDuHj8OGTMnYOTJPumQW2VddktFIlg3caN8Pjau9wmvr0/HIP3/2crXDmZB7P4Aw14tJLgaQea8TpQG6jtpcomNOTRTnfjo0Bsc/Zf/gT6vh4flNbmDp0J1Jcv2WnTZs6EefPnQ0bKOBDjjM8nEaAVUQPhztbObvjq8BHYt/tLDCwIIDF+JE5MFjeRQtz2OpeTC0SL//zKizAd+2ZLanQrP/xsF9x430PMDg4bHUu9URgRFJ4ZF9dL2hmgPylRphtpmveyqO7yBWb5ytKRUzWxy+d+tJqYhNQ0uGfN3ZCSEO9Ew6fQbqJh3oRENxYTxrg/yz4M5y+XgL7N3Z83oo9eln8O3nr3TZg6LtmN37GC9KFWqqCooxdGz5jl2MQpL6SEyzNTk74lxIzpMFOwBLWZd6oqOMuZp1pVCQEhobD24Q0wZ/JEznxshG1N9VAdHQ5jIpwnQBG+GQ+uWg6rlsyEj3fthpIilZOI9uZmeOrZZ3yCbGOSoXlJjQwhnxXwThbasgSZGKAZr8NCwwK+UshudGNZMSc2YWAIBOCu9YsvvTgkIBtw4tN3dUBlg7vG2gYUKJXDCxkVsHZZEoilUqaawoeQlJwMdyyaayPjdA0QUCAy6jnROhFRtB1XRqPRfqTxVejWygrOe30p6ekwf2o6CHGJPRSpvc86+bY1NmAox/OehBD3CklaFauE9JWRsPlYCPTpLfCrjZmch6A3DWy1SXS9YBJbHxhnAYirjVbwI4b2cDJU2Cq4XpuU3I42zF62HBZNmzJkIJPxdaM2k2Tq64U6DdtEPPBQk2Rt8NqSLlixdD6MjnFybxk5bP+0tLXhLMZMYyDmEBpwlYMvXgie6Ioj9YJ6lSoJr7yjNO1Vla5y3crzlt8O031MOG5MPioYs9E5EPRR1Xs2HzTl/I6GCHUwu7kEWr/lpiBkGC2N9dDTr9VSP4AmMrBb5pUTmAzWDKnkk7pbvG6RwfTFS2FKcgIfkZxoO3DR4phaG9B8eEoWg1ttXHwFUG/9CM37StzaXCvMeLy7vbERegxW20xZTCDETQK+yQJmK9A0RcXyZSb7gOTgC1tSTMmA2amMfDYSv+u7uzqBxoWPViAGo1gOJm0vNHUzrqqTTLPZHRShAEOt00JBsvkwNO+97ETvWujCaB5Zimsd4uoCP45HoPlg8BXg4XH8SJJf6u1A28WSwkaMhJtu5O9zsohzqtYYjJCbmwddnX3wxMbHYDG+Nbu/3A8V9e5vl9ngeRkeMMH6ACT/PALNB9g1ux2X+jR6LvregYcoQK3mmwQYQSc8ODXzB9qk9+zqkHjusqVLQDRU3gWaiaa2DmhGM9XRUA9V9U1w6cRxePuNtyAyKABunJQGaemTYdPTv4Xdez6HMOnAVEPrB+y4IzgB8Wh3Qc5USf7xPbQGSiBqqbsvUIyRvYwb5kA9ngEk8BIfxi+N7scXPUSK98E0E57q9JSmzlsAMSEDy2JPNN7q2nq1UFTbAEcLCmFv9iE4nJ0FF08dh0b0cCg0FwRkkgovFzHXbr0Bzp88Ab0Y2tyb9S1TZ/tHYPAMdEG3CTqD+z0SfK+Fr3wDHWfrbGz26+cfbIPJKRMgA13TAlxlkuSPRuPau1+jKUqGAWF7B1wyZpN75G1EYiIsW7IU3TirO8RFjgVXSiUVFXClvIzRWKOXmd1ktthFbsTl+8wFC6C8qAg6iQuGqeDsWXjwgXV2GhHtWRn25vfBnWFhENa/1KNwZ8f8fBZottwHAakjGH4D2mJ1xRXY+PDD0FJXC/ET0yEyLASS4uJhwJDYu/KVkRICEQ0W9lmNRYQEt55c01O/exZS40e5Vvssz8uYCsSTUNc3QGlZKRSeOYUhUGt0zZGZmCXHdCY317EIqelTYKzDIcbGCvfN4Ra9BE4evwALSMDJIQn79GB4eg8kfPcchIwIZ/ROgqvJgv436M7MTHj84Y1wsa0TWlqtPrwDu68sg68I/fEungqNx2CdgZ404wZIGc0fZNsIw+UyCFckQQb+rbvtVtDoDKBG16oMNf0ihj9r8IwIjd5FIGpib6fnT0mW3nKzTRwYzTTIW/PtZVvmP/kyMGLowDywlrE1gahZA6X3vwMZ2c+CWC6Gux9aDzu3bgEBzjePYZ68qVqHlaKd0WeGYuK1qNEkw890kNP2jun+zA22BZRjtd/5EJkEJieOYf7uuXkZ9KK3UdXUDAtvXQHPPvYofu08YEZIJ/c/+jO4adZMe3/tXQ0gd/EQGnRS2J1lBV+CUTRPSVpUBxce3woztj8Bzz/zeyABqltuvx3CA2QMuQ7DwrwTDVaghZgZWNFzEyORB9gJ43AXZGLCGHt5ODKBEjGkoVkif3PyC+Cdd96Gc7ihm4Zm57ZVd8KKhfOd5gZj3Zl+v2JgNC9/D6Dr94nj29kVS/z1Rbj0ehakP70CXnvh+QEBmNP640cLLFag8Uv/Fr4aLcDQIdFqPfqad657AHjMf04D96eQHBsNb7zyZ1ZWE06w8so9Tu3ZVWGQ8/1Rpi4oJAxGtnlXLfPmLKiaPAYSlk12kuOP6RDQwDj5AkosYffanbpxLkQlWn3PWVMznBuucamlVY0BIKsnQoZSr5XBpm2F9lElxPl++yh8WG2/2A6amgE5BOQeXC3yTgIBg6/ggXGja9HAel5GeZFKPspJmpAK0cHOE6MXlqvSRJfvsvdjtAjg5592Qk/nwO2lyphgmp2GLSPEXZXSDf8GC7p/JDX2h2bZ6D3V4+EcWh4exATtmfmXAppbBN9BWkyyAuYsXuJQc+2zbd2dEFRvNRFkNE8cEELZ5TL7wMhm7Aq1dVVor/SSkV6qgcLndjIUDbiY4pvQm6teExPDuHdWR4cC61KLh6SQEaNg6pSpPDiGn1RXPnAOY9OxYDiWc86p04wJGRDT4d0+OzFgQfhRHii/OoMazR9oZLfjatVoi+C0awe+yuTMmnCIPyvz1ae3dg2uKoOVVrPxZn4ofLEnz438jh7nhYobAUtF1+8+BZ2DvWYhc6tGiOy4MkALxZJv3Kg4VJR2DNg+DuTDSqJRof+G6b0L4bDl41y3viaMmwTTVfy02SZE2K2DxJcPAuUQBrC1ebtSAsqOKwM0mRBRQ70HaD1IbMcVXDMuX4cjaVE216RFbyCoZBtsuRgO727LcWMjb99jvVYvya2RY0VgUS2M2Ob+lrCxY5etmeOT7LaLAdpKTNvRZ2P2VD9cWq2sqYGtn37GKd7V1nAJ3i+UwZsf5ngaIsyZOBtSavzTZkeBsZ+eguDCascq1jyuuL/DB2xfwtqBpijRIVYuLw1q3Bzt7XeBvJDxbpo0TgHR0dFwy52r4VThRVZ+EqfZ+ckOeOODAW/DkViCR3MfqY5xrPI/j50l/CULiCnxlVCjnfC0A505IeEoPoFKXwJc28kjO9vU6lo9JOW7br4JHsHYxrqfrIYHn/gFqGrc48bf4YHJt9/7krW/O8bP5+1psArDBnFLN8T/81tvJGTnvCsyRP6VI5Ed6H41/49jI9e8Gvfsanv6uJLzorvntuXw1patkPf1IVgyfx4DeH5RsV3G57u+RPPiOXYRFBoGa4uZcLCdfigyYvRARAg4W8J1yceuv6VnB5owSaTUh3gxsgnwVn+qsRVInGE40qqblsDWjz8BGbqTR77aC6uWLYPlq++G3V9/Cyd+sHobnvpdmjgD5PqhGZNFIoTWyXGQP1UOxU8tAlN0sKcumTqMb2xxbXSLF+KvGOxCFbnHlZBLeVJEGMyIjeBC6heNsroWHtywAapKBjTam6C3R9wFY2v90htGrBl/K6JTEQHNIi001Chx908OIZseB1HCCNZu0TIcX5+qmOdK4KTRpFFIwd+R2C81uNzeCSo8ST9cSTFmNBzOOggLV6z02QXR/lhpKBjDBkK63pgIXY8iCpqnxEHFtEg4M5aGIyI1FKjzobaiGKj4GAj752+9gkzkC4D6m6d+3DSaEA1Gq0nI9JYxIyG2P1juqdOhqNu683PY/OeXobfL86IpZuRouL8zmulKKMKfDETgZbJAoIT4iR26BOh+MQfijXotGPBIgad9UNs4ZXgyNejJtTgTkr1w9sSmzYTDIyeq+R9Rpe/CP4/t7F0B/hQpwJHaRrg9ET+LkPBm9ybaqe3R+9bCmTNn4etdnzvV2wpGo5G8lYwimTHEacYHomd5KDYe1yuFGw6Bj6wG2fK5rk0ey7jr9QePDVjpZjoIIfklLDzB9AEbk696PS5VD1fXQ7fBj/itL+EO7ZHRUQ4l52xXWwvZoCNg+5VESaMg9I3fcQYZtTkrc4Iij60zj0ATYqmUehHfsIHIN5sElvpuXBZnqWuHbYlOuk1LSWHpHd8si4Wqk+l5+5wUmofAB26HsNefBtGYOFb5jg0IshZfnacd61zzrEDfl5zcRFOCx10Z+JSJZn+DH0wO1wR578oVED06nnVIykANt5mwX4JkWiqEvfMHkN97i0977NgpuvHP+fo9PI+ToaMQ/KWDz3BBgDOB/6n5SumlcWCKXHnb7SNFODENZcrDr14z164x6bVatwkBD77T66PSqZAeVn1ihiIeNwbk6+8AyeRx/IdGwdH1KYrFqNVezZRPoHfV1ET0dRuKyC+t8B2FWa/X5L7/XmFbtXo+8lLx+O3gyy883xMdNzqIryxv9JfLKywPP3Cfpa62zg3sMTGRsLpvDAyEd6ySyI8ut+IoNGNCizNeeCZaEhhkdVG8deTShiJ6aEqYviE1Se3S5Fb0CTTh2F6uWoDLvsP4yCRuElgqai7knz39+Uej0Q2xe/cSsbBr5VxF4LhJM0VTZt0MwaFDu7g5lJ0N27Ztg+KSUjxxisd7+5fmk/DbxZu64kAYIAJRtAxUFl1rldQUZbQ9FgHVPvnWO0vGL1jMzb3Ae+7X4HtwcbKHBQKnak5AE44dJRUPoeu23YnbUwE/KM/9zzt5zcqKha7N4+MjTqQrIueQegq/BUzCraUps5aZwyJjh9aeoPze3j4oxi9geztb9A01pdK+lmrAI9VMqmrQ5Jwra1pkLQ38GxoTd/ymXz8zHT8qsp6YGWhyyyHQzyHIr7k1sFRwBprwo71+FbXkWRZZYNT2dX77+qtKXbdmuieam2cmnggOEDNA29q1OuOpRkPk7EULF+IeZAZERITbmvy+GtHjKThfAEeP5oBMX3csOEBATJc9GUzmwoN5Ko8bniKZtPiWp5+PkIeEsZtKSrBjQ2ryertADhleQCPIFJkcUe69rrLxx1Aqv3/z75TZbEp0bSNldBVNqxeO70XX1unDwOKq9rySyrZ5FrMFv4FvvTRy1Cjp9GnTk5csWWIeN25cdFRUFJ5/8z7MTjxOUF9f333y5EmqqOhy1YULF7okEvEEoVgUGR8bkj8zNdbpweNYzFnHVBqdyezxqVICQdOCR59si04am+Z2LxT+Jzopybfy/Y8XvN+BWy/4A/j4v1H0lai24+T4gK1Z09ykPvzGa3L8FCHWVud6HRUdfH72xLgM53rK8tnXhSeUqmpKr9NNwwcpd2jPxfwCfEVRyyOAAB4ZGcnkDfjBfi+ekurGc9E1uBPT0dFBloBncA6ZaeNHPqNYIskfOWoEvXH1rEn4gJ3CbZcrW4+XVXV4s8mahT/7Za0j2DiUbwKCpKvXxMfz3hK3TQe28fm8kp9hR0Ae2lGq7MO55tHutubq7954VYqTHivIRKhiVChzBs2xA73eUFRUVOYW6WJoiBHHDrAvaMMz0OTPW8KVrIjQ2xLyiQ16/Wy1Sg3tnWknI8KCbrS1kWtibKgAgXascs2HHN3y7sglj/+qNCIhKQUf5L6AFMW9fDXZJpS3RtsY8Uao906deeWbv/0lkzabRtvqXa8BEqFKES1vCpRLUCEQPIdkNBktfVqDU52tGTXSgn14bLPROF690ctlEotELHaSRYTr9EZa3aoL7tIZJzrKcsqjR7L0yd/uzLhp0W8Wu/x8jxOdj4LfQNvkrlx5+08tQL+HZamtzvE6PjYwJ1QuWuRYdz3ltQZz3uX6Ho9vFT48M65D/nhw/6G/DnbMvE2Ha4cHD2Z/sGrVqgsW2rwHX3S3E4R4gJvRpITE+BMRUeHs62VXwSxlTVdXkU7Xw66BLHyu1QaDqaWlqWsaHjTvd/qcKfDta8VFzbqs/Ye+d27xrzRooEm3Bw4cOLdy3crp0Gv5N76RdzsOBTcSGKBDQkOjpDLZoIGW6vuURqNw0HJkMgFzOhPH574Io6jvKangp1m7D1Y73stg8k52azCCDn52sDXrQPY9+K0J/pwLNBBZalVljoCyunMSqcSjKzWYPgfDiy5jOI7ThDHk6PKS8lxi49EJ7UDX7uHsA9nLDg4hyGScQwa07aYP7ju4TyyQpDXU1b/U0d45XyoWjcK2LrFExDuWYJM5HFd0UIhNq0LTMdKg191QqVS/HiCj07L2Z20bjv6GxHS4Dmzfvn2dWLcpISHhC9SSV0UiUSKWPa7EXHmvZhm3uJpok0UdFx3+zOmCS/noaw5b94P2OriM7JN3nkmPjh3xK/Ry16GvyytG7Cpf09We09OtWeRaz6eME50Bf11qL/5q5JuPPbf1NB9ef2mvCtC2wf341RthBgOVieWfoYeSaqvncx0M0GiH1WgytooCRB9kPr65mU+/g6W9qkA7DvaHPe9OM1lMt+Gu3q2o6bNQ0zlF8PgAjSskFE2dRw0+hD/G//WGX4acoqhNOOld/XTNgHa81W92vR9BQc8yrJuO0ExEb2ASuoluPjnh8QF0Pd5QEfq/l1F7z4NEfHjDE/9odOzrWuWvC6A93Xze/g+CdabuFJOZisRvIUPMJOongJCezk6jpqdTggdVNGgGNOg+dlksgg6JXFJ2/8//6jV44amf/6/7P4bA/wLMeyTwqmrFpQAAAABJRU5ErkJggg=="},f069:function(e,t,r){"use strict";var n=r("1c0b"),o=function(e){var t,r;this.promise=new e((function(e,n){if(void 0!==t||void 0!==r)throw TypeError("Bad Promise constructor");t=e,r=n})),this.resolve=n(t),this.reject=n(r)};e.exports.f=function(e){return new o(e)}},f0bd:function(e,t,r){"use strict";(function(e){
/**!
* @fileOverview Kickass library to create and place poppers near their reference elements.
* @version 1.16.1
* @license
* Copyright (c) 2016 Federico Zivolo and contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
var r="undefined"!==typeof window&&"undefined"!==typeof document&&"undefined"!==typeof navigator,n=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(r&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}();function o(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}function i(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),n))}}var a=r&&window.Promise,s=a?o:i;function c(e){var t={};return e&&"[object Function]"===t.toString.call(e)}function l(e,t){if(1!==e.nodeType)return[];var r=e.ownerDocument.defaultView,n=r.getComputedStyle(e,null);return t?n[t]:n}function u(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function d(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=l(e),r=t.overflow,n=t.overflowX,o=t.overflowY;return/(auto|scroll|overlay)/.test(r+o+n)?e:d(u(e))}function f(e){return e&&e.referenceNode?e.referenceNode:e}var p=r&&!(!window.MSInputMethodContext||!document.documentMode),h=r&&/MSIE 10/.test(navigator.userAgent);function b(e){return 11===e?p:10===e?h:p||h}function m(e){if(!e)return document.documentElement;var t=b(10)?document.body:null,r=e.offsetParent||null;while(r===t&&e.nextElementSibling)r=(e=e.nextElementSibling).offsetParent;var n=r&&r.nodeName;return n&&"BODY"!==n&&"HTML"!==n?-1!==["TH","TD","TABLE"].indexOf(r.nodeName)&&"static"===l(r,"position")?m(r):r:e?e.ownerDocument.documentElement:document.documentElement}function g(e){var t=e.nodeName;return"BODY"!==t&&("HTML"===t||m(e.firstElementChild)===e)}function v(e){return null!==e.parentNode?v(e.parentNode):e}function y(e,t){if(!e||!e.nodeType||!t||!t.nodeType)return document.documentElement;var r=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,n=r?e:t,o=r?t:e,i=document.createRange();i.setStart(n,0),i.setEnd(o,0);var a=i.commonAncestorContainer;if(e!==a&&t!==a||n.contains(o))return g(a)?a:m(a);var s=v(e);return s.host?y(s.host,t):y(e,v(t).host)}function w(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",r="top"===t?"scrollTop":"scrollLeft",n=e.nodeName;if("BODY"===n||"HTML"===n){var o=e.ownerDocument.documentElement,i=e.ownerDocument.scrollingElement||o;return i[r]}return e[r]}function x(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=w(t,"top"),o=w(t,"left"),i=r?-1:1;return e.top+=n*i,e.bottom+=n*i,e.left+=o*i,e.right+=o*i,e}function _(e,t){var r="x"===t?"Left":"Top",n="Left"===r?"Right":"Bottom";return parseFloat(e["border"+r+"Width"])+parseFloat(e["border"+n+"Width"])}function k(e,t,r,n){return Math.max(t["offset"+e],t["scroll"+e],r["client"+e],r["offset"+e],r["scroll"+e],b(10)?parseInt(r["offset"+e])+parseInt(n["margin"+("Height"===e?"Top":"Left")])+parseInt(n["margin"+("Height"===e?"Bottom":"Right")]):0)}function E(e){var t=e.body,r=e.documentElement,n=b(10)&&getComputedStyle(r);return{height:k("Height",t,r,n),width:k("Width",t,r,n)}}var O=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},A=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),S=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},j=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};function P(e){return j({},e,{right:e.left+e.width,bottom:e.top+e.height})}function C(e){var t={};try{if(b(10)){t=e.getBoundingClientRect();var r=w(e,"top"),n=w(e,"left");t.top+=r,t.left+=n,t.bottom+=r,t.right+=n}else t=e.getBoundingClientRect()}catch(f){}var o={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},i="HTML"===e.nodeName?E(e.ownerDocument):{},a=i.width||e.clientWidth||o.width,s=i.height||e.clientHeight||o.height,c=e.offsetWidth-a,u=e.offsetHeight-s;if(c||u){var d=l(e);c-=_(d,"x"),u-=_(d,"y"),o.width-=c,o.height-=u}return P(o)}function T(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=b(10),o="HTML"===t.nodeName,i=C(e),a=C(t),s=d(e),c=l(t),u=parseFloat(c.borderTopWidth),f=parseFloat(c.borderLeftWidth);r&&o&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var p=P({top:i.top-a.top-u,left:i.left-a.left-f,width:i.width,height:i.height});if(p.marginTop=0,p.marginLeft=0,!n&&o){var h=parseFloat(c.marginTop),m=parseFloat(c.marginLeft);p.top-=u-h,p.bottom-=u-h,p.left-=f-m,p.right-=f-m,p.marginTop=h,p.marginLeft=m}return(n&&!r?t.contains(s):t===s&&"BODY"!==s.nodeName)&&(p=x(p,t)),p}function R(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=e.ownerDocument.documentElement,n=T(e,r),o=Math.max(r.clientWidth,window.innerWidth||0),i=Math.max(r.clientHeight,window.innerHeight||0),a=t?0:w(r),s=t?0:w(r,"left"),c={top:a-n.top+n.marginTop,left:s-n.left+n.marginLeft,width:o,height:i};return P(c)}function I(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===l(e,"position"))return!0;var r=u(e);return!!r&&I(r)}function $(e){if(!e||!e.parentElement||b())return document.documentElement;var t=e.parentElement;while(t&&"none"===l(t,"transform"))t=t.parentElement;return t||document.documentElement}function D(e,t,r,n){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},a=o?$(e):y(e,f(t));if("viewport"===n)i=R(a,o);else{var s=void 0;"scrollParent"===n?(s=d(u(t)),"BODY"===s.nodeName&&(s=e.ownerDocument.documentElement)):s="window"===n?e.ownerDocument.documentElement:n;var c=T(s,a,o);if("HTML"!==s.nodeName||I(a))i=c;else{var l=E(e.ownerDocument),p=l.height,h=l.width;i.top+=c.top-c.marginTop,i.bottom=p+c.top,i.left+=c.left-c.marginLeft,i.right=h+c.left}}r=r||0;var b="number"===typeof r;return i.left+=b?r:r.left||0,i.top+=b?r:r.top||0,i.right-=b?r:r.right||0,i.bottom-=b?r:r.bottom||0,i}function z(e){var t=e.width,r=e.height;return t*r}function M(e,t,r,n,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=D(r,n,i,o),s={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},c=Object.keys(s).map((function(e){return j({key:e},s[e],{area:z(s[e])})})).sort((function(e,t){return t.area-e.area})),l=c.filter((function(e){var t=e.width,n=e.height;return t>=r.clientWidth&&n>=r.clientHeight})),u=l.length>0?l[0].key:c[0].key,d=e.split("-")[1];return u+(d?"-"+d:"")}function B(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=n?$(t):y(t,f(r));return T(r,o,n)}function L(e){var t=e.ownerDocument.defaultView,r=t.getComputedStyle(e),n=parseFloat(r.marginTop||0)+parseFloat(r.marginBottom||0),o=parseFloat(r.marginLeft||0)+parseFloat(r.marginRight||0),i={width:e.offsetWidth+o,height:e.offsetHeight+n};return i}function N(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function U(e,t,r){r=r.split("-")[0];var n=L(e),o={width:n.width,height:n.height},i=-1!==["right","left"].indexOf(r),a=i?"top":"left",s=i?"left":"top",c=i?"height":"width",l=i?"width":"height";return o[a]=t[a]+t[c]/2-n[c]/2,o[s]=r===s?t[s]-n[l]:t[N(s)],o}function F(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function W(e,t,r){if(Array.prototype.findIndex)return e.findIndex((function(e){return e[t]===r}));var n=F(e,(function(e){return e[t]===r}));return e.indexOf(n)}function q(e,t,r){var n=void 0===r?e:e.slice(0,W(e,"name",r));return n.forEach((function(e){e["function"]&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var r=e["function"]||e.fn;e.enabled&&c(r)&&(t.offsets.popper=P(t.offsets.popper),t.offsets.reference=P(t.offsets.reference),t=r(t,e))})),t}function V(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=B(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=M(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=U(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=q(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function H(e,t){return e.some((function(e){var r=e.name,n=e.enabled;return n&&r===t}))}function Y(e){for(var t=[!1,"ms","Webkit","Moz","O"],r=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<t.length;n++){var o=t[n],i=o?""+o+r:e;if("undefined"!==typeof document.body.style[i])return i}return null}function G(){return this.state.isDestroyed=!0,H(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[Y("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function J(e){var t=e.ownerDocument;return t?t.defaultView:window}function Z(e,t,r,n){var o="BODY"===e.nodeName,i=o?e.ownerDocument.defaultView:e;i.addEventListener(t,r,{passive:!0}),o||Z(d(i.parentNode),t,r,n),n.push(i)}function K(e,t,r,n){r.updateBound=n,J(e).addEventListener("resize",r.updateBound,{passive:!0});var o=d(e);return Z(o,"scroll",r.updateBound,r.scrollParents),r.scrollElement=o,r.eventsEnabled=!0,r}function X(){this.state.eventsEnabled||(this.state=K(this.reference,this.options,this.state,this.scheduleUpdate))}function Q(e,t){return J(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach((function(e){e.removeEventListener("scroll",t.updateBound)})),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t}function ee(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=Q(this.reference,this.state))}function te(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function re(e,t){Object.keys(t).forEach((function(r){var n="";-1!==["width","height","top","right","bottom","left"].indexOf(r)&&te(t[r])&&(n="px"),e.style[r]=t[r]+n}))}function ne(e,t){Object.keys(t).forEach((function(r){var n=t[r];!1!==n?e.setAttribute(r,t[r]):e.removeAttribute(r)}))}function oe(e){return re(e.instance.popper,e.styles),ne(e.instance.popper,e.attributes),e.arrowElement&&Object.keys(e.arrowStyles).length&&re(e.arrowElement,e.arrowStyles),e}function ie(e,t,r,n,o){var i=B(o,t,e,r.positionFixed),a=M(r.placement,i,t,e,r.modifiers.flip.boundariesElement,r.modifiers.flip.padding);return t.setAttribute("x-placement",a),re(t,{position:r.positionFixed?"fixed":"absolute"}),r}function ae(e,t){var r=e.offsets,n=r.popper,o=r.reference,i=Math.round,a=Math.floor,s=function(e){return e},c=i(o.width),l=i(n.width),u=-1!==["left","right"].indexOf(e.placement),d=-1!==e.placement.indexOf("-"),f=c%2===l%2,p=c%2===1&&l%2===1,h=t?u||d||f?i:a:s,b=t?i:s;return{left:h(p&&!d&&t?n.left-1:n.left),top:b(n.top),bottom:b(n.bottom),right:h(n.right)}}var se=r&&/Firefox/i.test(navigator.userAgent);function ce(e,t){var r=t.x,n=t.y,o=e.offsets.popper,i=F(e.instance.modifiers,(function(e){return"applyStyle"===e.name})).gpuAcceleration;void 0!==i&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a=void 0!==i?i:t.gpuAcceleration,s=m(e.instance.popper),c=C(s),l={position:o.position},u=ae(e,window.devicePixelRatio<2||!se),d="bottom"===r?"top":"bottom",f="right"===n?"left":"right",p=Y("transform"),h=void 0,b=void 0;if(b="bottom"===d?"HTML"===s.nodeName?-s.clientHeight+u.bottom:-c.height+u.bottom:u.top,h="right"===f?"HTML"===s.nodeName?-s.clientWidth+u.right:-c.width+u.right:u.left,a&&p)l[p]="translate3d("+h+"px, "+b+"px, 0)",l[d]=0,l[f]=0,l.willChange="transform";else{var g="bottom"===d?-1:1,v="right"===f?-1:1;l[d]=b*g,l[f]=h*v,l.willChange=d+", "+f}var y={"x-placement":e.placement};return e.attributes=j({},y,e.attributes),e.styles=j({},l,e.styles),e.arrowStyles=j({},e.offsets.arrow,e.arrowStyles),e}function le(e,t,r){var n=F(e,(function(e){var r=e.name;return r===t})),o=!!n&&e.some((function(e){return e.name===r&&e.enabled&&e.order<n.order}));if(!o){var i="`"+t+"`",a="`"+r+"`";console.warn(a+" modifier is required by "+i+" modifier in order to work, be sure to include it before "+i+"!")}return o}function ue(e,t){var r;if(!le(e.instance.modifiers,"arrow","keepTogether"))return e;var n=t.element;if("string"===typeof n){if(n=e.instance.popper.querySelector(n),!n)return e}else if(!e.instance.popper.contains(n))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var o=e.placement.split("-")[0],i=e.offsets,a=i.popper,s=i.reference,c=-1!==["left","right"].indexOf(o),u=c?"height":"width",d=c?"Top":"Left",f=d.toLowerCase(),p=c?"left":"top",h=c?"bottom":"right",b=L(n)[u];s[h]-b<a[f]&&(e.offsets.popper[f]-=a[f]-(s[h]-b)),s[f]+b>a[h]&&(e.offsets.popper[f]+=s[f]+b-a[h]),e.offsets.popper=P(e.offsets.popper);var m=s[f]+s[u]/2-b/2,g=l(e.instance.popper),v=parseFloat(g["margin"+d]),y=parseFloat(g["border"+d+"Width"]),w=m-e.offsets.popper[f]-v-y;return w=Math.max(Math.min(a[u]-b,w),0),e.arrowElement=n,e.offsets.arrow=(r={},S(r,f,Math.round(w)),S(r,p,""),r),e}function de(e){return"end"===e?"start":"start"===e?"end":e}var fe=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],pe=fe.slice(3);function he(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=pe.indexOf(e),n=pe.slice(r+1).concat(pe.slice(0,r));return t?n.reverse():n}var be={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function me(e,t){if(H(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var r=D(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),n=e.placement.split("-")[0],o=N(n),i=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case be.FLIP:a=[n,o];break;case be.CLOCKWISE:a=he(n);break;case be.COUNTERCLOCKWISE:a=he(n,!0);break;default:a=t.behavior}return a.forEach((function(s,c){if(n!==s||a.length===c+1)return e;n=e.placement.split("-")[0],o=N(n);var l=e.offsets.popper,u=e.offsets.reference,d=Math.floor,f="left"===n&&d(l.right)>d(u.left)||"right"===n&&d(l.left)<d(u.right)||"top"===n&&d(l.bottom)>d(u.top)||"bottom"===n&&d(l.top)<d(u.bottom),p=d(l.left)<d(r.left),h=d(l.right)>d(r.right),b=d(l.top)<d(r.top),m=d(l.bottom)>d(r.bottom),g="left"===n&&p||"right"===n&&h||"top"===n&&b||"bottom"===n&&m,v=-1!==["top","bottom"].indexOf(n),y=!!t.flipVariations&&(v&&"start"===i&&p||v&&"end"===i&&h||!v&&"start"===i&&b||!v&&"end"===i&&m),w=!!t.flipVariationsByContent&&(v&&"start"===i&&h||v&&"end"===i&&p||!v&&"start"===i&&m||!v&&"end"===i&&b),x=y||w;(f||g||x)&&(e.flipped=!0,(f||g)&&(n=a[c+1]),x&&(i=de(i)),e.placement=n+(i?"-"+i:""),e.offsets.popper=j({},e.offsets.popper,U(e.instance.popper,e.offsets.reference,e.placement)),e=q(e.instance.modifiers,e,"flip"))})),e}function ge(e){var t=e.offsets,r=t.popper,n=t.reference,o=e.placement.split("-")[0],i=Math.floor,a=-1!==["top","bottom"].indexOf(o),s=a?"right":"bottom",c=a?"left":"top",l=a?"width":"height";return r[s]<i(n[c])&&(e.offsets.popper[c]=i(n[c])-r[l]),r[c]>i(n[s])&&(e.offsets.popper[c]=i(n[s])),e}function ve(e,t,r,n){var o=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+o[1],a=o[2];if(!i)return e;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=r;break;case"%":case"%r":default:s=n}var c=P(s);return c[t]/100*i}if("vh"===a||"vw"===a){var l=void 0;return l="vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0),l/100*i}return i}function ye(e,t,r,n){var o=[0,0],i=-1!==["right","left"].indexOf(n),a=e.split(/(\+|\-)/).map((function(e){return e.trim()})),s=a.indexOf(F(a,(function(e){return-1!==e.search(/,|\s/)})));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var c=/\s*,\s*|\s+/,l=-1!==s?[a.slice(0,s).concat([a[s].split(c)[0]]),[a[s].split(c)[1]].concat(a.slice(s+1))]:[a];return l=l.map((function(e,n){var o=(1===n?!i:i)?"height":"width",a=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)}),[]).map((function(e){return ve(e,o,t,r)}))})),l.forEach((function(e,t){e.forEach((function(r,n){te(r)&&(o[t]+=r*("-"===e[n-1]?-1:1))}))})),o}function we(e,t){var r=t.offset,n=e.placement,o=e.offsets,i=o.popper,a=o.reference,s=n.split("-")[0],c=void 0;return c=te(+r)?[+r,0]:ye(r,i,a,s),"left"===s?(i.top+=c[0],i.left-=c[1]):"right"===s?(i.top+=c[0],i.left+=c[1]):"top"===s?(i.left+=c[0],i.top-=c[1]):"bottom"===s&&(i.left+=c[0],i.top+=c[1]),e.popper=i,e}function xe(e,t){var r=t.boundariesElement||m(e.instance.popper);e.instance.reference===r&&(r=m(r));var n=Y("transform"),o=e.instance.popper.style,i=o.top,a=o.left,s=o[n];o.top="",o.left="",o[n]="";var c=D(e.instance.popper,e.instance.reference,t.padding,r,e.positionFixed);o.top=i,o.left=a,o[n]=s,t.boundaries=c;var l=t.priority,u=e.offsets.popper,d={primary:function(e){var r=u[e];return u[e]<c[e]&&!t.escapeWithReference&&(r=Math.max(u[e],c[e])),S({},e,r)},secondary:function(e){var r="right"===e?"left":"top",n=u[r];return u[e]>c[e]&&!t.escapeWithReference&&(n=Math.min(u[r],c[e]-("right"===e?u.width:u.height))),S({},r,n)}};return l.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";u=j({},u,d[t](e))})),e.offsets.popper=u,e}function _e(e){var t=e.placement,r=t.split("-")[0],n=t.split("-")[1];if(n){var o=e.offsets,i=o.reference,a=o.popper,s=-1!==["bottom","top"].indexOf(r),c=s?"left":"top",l=s?"width":"height",u={start:S({},c,i[c]),end:S({},c,i[c]+i[l]-a[l])};e.offsets.popper=j({},a,u[n])}return e}function ke(e){if(!le(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,r=F(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries;if(t.bottom<r.top||t.left>r.right||t.top>r.bottom||t.right<r.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}function Ee(e){var t=e.placement,r=t.split("-")[0],n=e.offsets,o=n.popper,i=n.reference,a=-1!==["left","right"].indexOf(r),s=-1===["top","left"].indexOf(r);return o[a?"left":"top"]=i[r]-(s?o[a?"width":"height"]:0),e.placement=N(t),e.offsets.popper=P(o),e}var Oe={shift:{order:100,enabled:!0,fn:_e},offset:{order:200,enabled:!0,fn:we,offset:0},preventOverflow:{order:300,enabled:!0,fn:xe,priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:ge},arrow:{order:500,enabled:!0,fn:ue,element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:me,behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:Ee},hide:{order:800,enabled:!0,fn:ke},computeStyle:{order:850,enabled:!0,fn:ce,gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:oe,onLoad:ie,gpuAcceleration:void 0}},Ae={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:Oe},Se=function(){function e(t,r){var n=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};O(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=s(this.update.bind(this)),this.options=j({},e.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=r&&r.jquery?r[0]:r,this.options.modifiers={},Object.keys(j({},e.Defaults.modifiers,o.modifiers)).forEach((function(t){n.options.modifiers[t]=j({},e.Defaults.modifiers[t]||{},o.modifiers?o.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return j({name:e},n.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&c(e.onLoad)&&e.onLoad(n.reference,n.popper,n.options,e,n.state)})),this.update();var i=this.options.eventsEnabled;i&&this.enableEventListeners(),this.state.eventsEnabled=i}return A(e,[{key:"update",value:function(){return V.call(this)}},{key:"destroy",value:function(){return G.call(this)}},{key:"enableEventListeners",value:function(){return X.call(this)}},{key:"disableEventListeners",value:function(){return ee.call(this)}}]),e}();Se.Utils=("undefined"!==typeof window?window:e).PopperUtils,Se.placements=fe,Se.Defaults=Ae,t["a"]=Se}).call(this,r("c8ba"))},f3f9:function(e,t,r){"use strict";r("3963")},f5df:function(e,t,r){var n=r("00ee"),o=r("c6b6"),i=r("b622"),a=i("toStringTag"),s="Arguments"==o(function(){return arguments}()),c=function(e,t){try{return e[t]}catch(r){}};e.exports=n?o:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=c(t=Object(e),a))?r:s?o(t):"Object"==(n=o(t))&&"function"==typeof t.callee?"Arguments":n}},f772:function(e,t,r){var n=r("5692"),o=r("90e3"),i=n("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},fb15:function(e,t,r){"use strict";if(r.r(t),r.d(t,"locale",(function(){return $})),r.d(t,"i18n",(function(){return D})),r.d(t,"install",(function(){return Bc})),r.d(t,"isOnboardingCompleted",(function(){return Dc})),r.d(t,"PsAccounts",(function(){return $c})),r.d(t,"Account",(function(){return _c})),r.d(t,"AccountNotInstalled",(function(){return bi})),r.d(t,"AccountNotEnabled",(function(){return ci})),r.d(t,"EventBusNotInstalled",(function(){return Mi})),"undefined"!==typeof window){var n=window.document.currentScript,o=r("8875");n=o(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:o});var i=n&&n.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);i&&(r.p=i[1])}r("4160"),r("b64b"),r("159b"),r("a4d3"),r("4de4"),r("e439"),r("dbb4");function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){a(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var l=r("8bbf"),u=r.n(l),d=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",[r("b-alert",{attrs:{show:e.hasError,variant:"danger",dismissible:""},on:{dismissed:function(t){e.hasError=!1}}},[r("p",[e._v(" "+e._s(e.t("psaccounts.accountManager.errorInstallEnable"))+" ")])]),e.validationErrors&&e.validationErrors.length?r("b-alert",{attrs:{variant:"danger",show:""}},[r("p",[e._v(" <PsAccounts> integration: Given context is invalid: "+e._s(e.validationErrors.join(";"))+" ")])]):[r("PsAccountComponentAlertDisplay",{attrs:{"validated-context":e.validatedContext},on:{hasError:function(t){e.hasError=!0}}}),e.hasBlockingAlert?e._e():[r("Account",{staticClass:"mb-2",attrs:{"validated-context":e.validatedContext}},[e.userIsConnected?e._t("account-footer"):e._e()],2),r("b-overlay",{attrs:{show:!e.userIsConnected,variant:"white","spinner-type":"null",opacity:.7,blur:"0px"}},[e._t("body")],2),e._t("customBody")]]],2)},f=[],p=(r("d81d"),function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",[e.psAccountsIsInstalled?e.psAccountsIsEnabled?e.psAccountsIsUptodate?e._e():r("AccountNotUpdated",{attrs:{"validated-context":e.validatedContext},on:{hasError:function(t){return e.$emit("hasError")}}}):r("AccountNotEnabled",{attrs:{"validated-context":e.validatedContext},on:{hasError:function(t){return e.$emit("hasError")}}}):r("AccountNotInstalled",{attrs:{"validated-context":e.validatedContext},on:{hasError:function(t){return e.$emit("hasError")}}}),void 0===e.validatedContext.dependencies||e.validatedContext.dependencies.ps_eventbus.isInstalled?e._e():r("EventBusNotInstalled",{attrs:{"validated-context":e.validatedContext},on:{hasError:function(t){return e.$emit("hasError")}}})],1)}),h=[],b=(r("3410"),r("ac1f"),r("1276"),r("fc89")),m=r("e0b4"),g=r("9f07"),v=r("29ed"),y=r("c00e"),w=r("9c28"),x=r("c774"),_=r("6d7d"),k={de:b,en:m,es:g,fr:v,it:y,nl:w,pl:x,pt:_},E=r("3c4e"),O=r.n(E);r("5319"),r("e01a"),r("d28b"),r("e260"),r("d3b7"),r("3ca3"),r("ddb0");function A(e){return A="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},A(e)}var S=/(%|)\{([0-9a-zA-Z_]+)\}/g,j=function(e){function t(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return 1===r.length&&"object"===A(r[0])&&(r=r[0]),r&&r.hasOwnProperty||(r={}),e.replace(S,(function(t,n,o,i){if("{"===e[i-1]&&"}"===e[i+t.length])return o;var a=hasOwnProperty.call(r,o)?r[o]:null;return null===a||void 0===a?"":a}))}return t},P=j(u.a),C=k.en,T=!1,R=function(){var e=Object.getPrototypeOf(this||u.a).$t;if("function"===typeof e&&u.a.locale){T||(T=!0,u.a.locale(u.a.config.lang,O()(C,u.a.locale(u.a.config.lang)||{},{clone:!0})));for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.apply(this,r)}},I=function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];var i=R.apply(this,n);if(null!==i&&void 0!==i)return i;var a=e.split(".");i=C;for(var s=0,c=a.length;s<c;s+=1){var l=a[s];if(!i)return"";i=i[l]}return P(i||"",t)},$=function(e){"string"===typeof e?(C=k[e.substr(0,2).toLowerCase()]||k.en,C!==k.en&&(C=O()(k.en,C,{clone:!0}))):C=e||C},D=function(e){R=e||R},z={methods:{t:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return I.apply(this,t)}}},M=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("b-alert",{attrs:{variant:"warning",show:""}},[r("h3",[e._v(e._s(e.t("psaccounts.alertAccountNotEnabled.title")))]),r("p",[e._v(" "+e._s(e.t("psaccounts.alertAccountNotEnabled.message"))+". ")]),r("p",{staticClass:"mt-2"},[e.isLoading?r("b-link",{attrs:{href:"#",disabled:""}},[e._v(" "+e._s(e.t("psaccounts.alertAccountNotEnabled.loading"))+" ")]):r("b-button",{attrs:{variant:"primary"},on:{click:function(t){return e.enablePsAccounts()}}},[e._v(" "+e._s(e.t("psaccounts.alertAccountNotEnabled.enableButton"))+" ")])],1)])},B=[],L=function(){return(L=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},N={kebab:/-(\w)/g,styleProp:/:(.*)/,styleList:/;(?![^(]*\))/g};function U(e,t){return t?t.toUpperCase():""}function F(e){for(var t,r={},n=0,o=e.split(N.styleList);n<o.length;n++){var i=o[n].split(N.styleProp),a=i[0],s=i[1];(a=a.trim())&&("string"==typeof s&&(s=s.trim()),r[(t=a,t.replace(N.kebab,U))]=s)}return r}function W(){for(var e,t,r={},n=arguments.length;n--;)for(var o=0,i=Object.keys(arguments[n]);o<i.length;o++)switch(e=i[o]){case"class":case"style":case"directives":if(Array.isArray(r[e])||(r[e]=[]),"style"===e){var a=void 0;a=Array.isArray(arguments[n].style)?arguments[n].style:[arguments[n].style];for(var s=0;s<a.length;s++){var c=a[s];"string"==typeof c&&(a[s]=F(c))}arguments[n].style=a}r[e]=r[e].concat(arguments[n][e]);break;case"staticClass":if(!arguments[n][e])break;void 0===r[e]&&(r[e]=""),r[e]&&(r[e]+=" "),r[e]+=arguments[n][e].trim();break;case"on":case"nativeOn":r[e]||(r[e]={});for(var l=0,u=Object.keys(arguments[n][e]||{});l<u.length;l++)t=u[l],r[e][t]?r[e][t]=[].concat(r[e][t],arguments[n][e][t]):r[e][t]=arguments[n][e][t];break;case"attrs":case"props":case"domProps":case"scopedSlots":case"staticStyle":case"hook":case"transition":r[e]||(r[e]={}),r[e]=L({},arguments[n][e],r[e]);break;case"slot":case"key":case"ref":case"tag":case"show":case"keepAlive":default:r[e]||(r[e]=arguments[n][e])}return r}var q="_uid",V="BAlert",H="BButton",Y="BButtonClose",G="BCard",J="BCardBody",Z="BCardFooter",K="BCardHeader",X="BCardImg",Q="BCardSubTitle",ee="BCardTitle",te="BIconstack",re="BIconBase",ne="BImg",oe="BLink",ie="BModal",ae="BOverlay",se="BSpinner",ce="BTooltip",le="BVPopper",ue="BVTooltip",de="BVTooltipTemplate",fe="BVTransition",pe="click",he="close",be="disable",me="disabled",ge="dismissed",ve="dismiss-count-down",ye="enable",we="enabled",xe="focusin",_e="focusout",ke="hidden",Ee="hide",Oe="input",Ae="mouseenter",Se="mouseleave",je="open",Pe="show",Ce="shown",Te="hook:beforeDestroy",Re="hook:destroyed",Ie="update:",$e="bv",De="::",ze={passive:!0,capture:!1},Me=void 0,Be=Array,Le=Boolean,Ne=(Date,Function),Ue=Number,Fe=Object,We=(RegExp,String),qe=[Be,Fe,We],Ve=[Be,We],He=[Le,Ue,We],Ye=[Le,We],Ge=[Ue,We],Je=[Ue,Fe,We],Ze=[Fe,We],Ke="default",Xe="dismiss",Qe="footer",et="header",tt="label",rt="overlay",nt="undefined"!==typeof window,ot="undefined"!==typeof document,it="undefined"!==typeof navigator,at=nt&&ot&&it,st=nt?window:{},ct=ot?document:{},lt=it?navigator:{},ut=(lt.userAgent||"").toLowerCase(),dt=(ut.indexOf("jsdom"),/msie|trident/.test(ut),function(){var e=!1;if(at)try{var t={get passive(){e=!0}};st.addEventListener("test",t,t),st.removeEventListener("test",t,t)}catch(r){e=!1}return e}());at&&("ontouchstart"in ct.documentElement||lt.maxTouchPoints),at&&Boolean(st.PointerEvent||st.MSPointerEvent),at&&"IntersectionObserver"in st&&"IntersectionObserverEntry"in st&&st.IntersectionObserverEntry.prototype;function ft(e){return ft="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ft(e)}function pt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ht(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_t(e,t)}function bt(e){var t=wt();return function(){var r,n=kt(e);if(t){var o=kt(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return mt(this,r)}}function mt(e,t){return!t||"object"!==ft(t)&&"function"!==typeof t?gt(e):t}function gt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vt(e){var t="function"===typeof Map?new Map:void 0;return vt=function(e){if(null===e||!xt(e))return e;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return yt(e,arguments,kt(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),_t(r,e)},vt(e)}function yt(e,t,r){return yt=wt()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var o=Function.bind.apply(e,n),i=new o;return r&&_t(i,r.prototype),i},yt.apply(null,arguments)}function wt(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(L){return!1}}function xt(e){return-1!==Function.toString.call(e).indexOf("[native code]")}function _t(e,t){return _t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},_t(e,t)}function kt(e){return kt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},kt(e)}var Et=nt?st.Element:function(e){ht(r,e);var t=bt(r);function r(){return pt(this,r),t.apply(this,arguments)}return r}(vt(Object)),Ot=nt?st.HTMLElement:function(e){ht(r,e);var t=bt(r);function r(){return pt(this,r),t.apply(this,arguments)}return r}(Et),At=nt?st.SVGElement:function(e){ht(r,e);var t=bt(r);function r(){return pt(this,r),t.apply(this,arguments)}return r}(Et),St=(nt&&st.File,/^(BV?)/),jt=/\B([A-Z])/g,Pt=/^[0-9]*\.?[0-9]+$/,Ct=/-(\w)/g,Tt=/%2C/g,Rt=/[!'()*]/g;function It(e){return It="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},It(e)}var $t=function(e){return It(e)},Dt=function(e){return void 0===e},zt=function(e){return null===e},Mt=function(e){return Dt(e)||zt(e)},Bt=function(e){return"function"===$t(e)},Lt=function(e){return"boolean"===$t(e)},Nt=function(e){return"string"===$t(e)},Ut=function(e){return"number"===$t(e)},Ft=function(e){return Pt.test(String(e))},Wt=function(e){return Array.isArray(e)},qt=function(e){return null!==e&&"object"===It(e)},Vt=function(e){return"[object Object]"===Object.prototype.toString.call(e)},Ht=function(e){return e instanceof Date},Yt=function(e){return e instanceof Event},Gt=function(){return Array.from.apply(Array,arguments)},Jt=function(e,t){return-1!==e.indexOf(t)},Zt=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Array.prototype.concat.apply([],t)},Kt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:NaN,r=parseInt(e,10);return isNaN(r)?t:r},Xt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:NaN,r=parseFloat(e);return isNaN(r)?t:r},Qt=function(e){return e.replace(jt,"-$1").toLowerCase()},er=function(e){return e=Qt(e).replace(Ct,(function(e,t){return t?t.toUpperCase():""})),e.charAt(0).toUpperCase()+e.slice(1)},tr=function(e){return e=Nt(e)?e.trim():String(e),e.charAt(0).toLowerCase()+e.slice(1)},rr=function(e){return e=Nt(e)?e.trim():String(e),e.charAt(0).toUpperCase()+e.slice(1)},nr=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return Mt(e)?"":Wt(e)||Vt(e)&&e.toString===Object.prototype.toString?JSON.stringify(e,null,t):String(e)},or=function(e){return nr(e).trim()},ir=Et.prototype,ar=(["button","[href]:not(.disabled)","input","select","textarea","[tabindex]","[contenteditable]"].map((function(e){return"".concat(e,":not(:disabled):not([disabled])")})).join(", "),ir.matches||ir.msMatchesSelector||ir.webkitMatchesSelector),sr=ir.closest||function(e){var t=this;do{if(mr(t,e))return t;t=t.parentElement||t.parentNode}while(!zt(t)&&t.nodeType===Node.ELEMENT_NODE);return null},cr=st.requestAnimationFrame||st.webkitRequestAnimationFrame||st.mozRequestAnimationFrame||st.msRequestAnimationFrame||st.oRequestAnimationFrame||function(e){return setTimeout(e,16)},lr=(st.MutationObserver||st.WebKitMutationObserver||st.MozMutationObserver,function(e){return!(!e||e.nodeType!==Node.ELEMENT_NODE)}),ur=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=ct.activeElement;return t&&!e.some((function(e){return e===t}))?t:null},dr=function(e,t){return nr(e).toLowerCase()===nr(t).toLowerCase()},fr=function(e){return lr(e)&&e===ur()},pr=function(e){if(!lr(e)||!e.parentNode||!vr(ct.body,e))return!1;if("none"===Sr(e,"display"))return!1;var t=jr(e);return!!(t&&t.height>0&&t.width>0)},hr=function(e){return!lr(e)||e.disabled||Ar(e,"disabled")||_r(e,"disabled")},br=function(e,t){return(lr(t)?t:ct).querySelector(e)||null},mr=function(e,t){return!!lr(e)&&ar.call(e,t)},gr=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!lr(t))return null;var n=sr.call(t,e);return r?n:n===t?null:n},vr=function(e,t){return!(!e||!Bt(e.contains))&&e.contains(t)},yr=function(e){return ct.getElementById(/^#/.test(e)?e.slice(1):e)||null},wr=function(e,t){t&&lr(e)&&e.classList&&e.classList.add(t)},xr=function(e,t){t&&lr(e)&&e.classList&&e.classList.remove(t)},_r=function(e,t){return!!(t&&lr(e)&&e.classList)&&e.classList.contains(t)},kr=function(e,t,r){t&&lr(e)&&e.setAttribute(t,r)},Er=function(e,t){t&&lr(e)&&e.removeAttribute(t)},Or=function(e,t){return t&&lr(e)?e.getAttribute(t):null},Ar=function(e,t){return t&&lr(e)?e.hasAttribute(t):null},Sr=function(e,t){return t&&lr(e)&&e.style[t]||null},jr=function(e){return lr(e)?e.getBoundingClientRect():null},Pr=function(e){var t=st.getComputedStyle;return t&&lr(e)?t(e):{}},Cr=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};try{e.focus(t)}catch(r){}return fr(e)},Tr=function(e){try{e.blur()}catch(t){}return!fr(e)};function Rr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ir(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Rr(Object(r),!0).forEach((function(t){$r(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Rr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function $r(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Dr=function(){return Object.assign.apply(Object,arguments)},zr=function(e,t){return Object.create(e,t)},Mr=function(e,t){return Object.defineProperties(e,t)},Br=function(e,t,r){return Object.defineProperty(e,t,r)},Lr=function(e){return Object.keys(e)},Nr=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},Ur=function(e){return Ir({},e)},Fr=function(e,t){return Lr(e).filter((function(e){return-1!==t.indexOf(e)})).reduce((function(t,r){return Ir(Ir({},t),{},$r({},r,e[r]))}),{})},Wr=function(e,t){return Lr(e).filter((function(e){return-1===t.indexOf(e)})).reduce((function(t,r){return Ir(Ir({},t),{},$r({},r,e[r]))}),{})},qr=function(e){return Lr(e).sort().reduce((function(t,r){return Ir(Ir({},t),{},$r({},r,e[r]))}),{})},Vr=function(){return{enumerable:!0,configurable:!1,writable:!1}};function Hr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Yr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Hr(Object(r),!0).forEach((function(t){Gr(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Hr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Gr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Jr(e){return Qr(e)||Xr(e)||Kr(e)||Zr()}function Zr(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Kr(e,t){if(e){if("string"===typeof e)return en(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?en(e,t):void 0}}function Xr(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function Qr(e){if(Array.isArray(e))return en(e)}function en(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var tn=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t;return Wt(t)?t.reduce((function(t,r){return[].concat(Jr(t),[e(r,r)])}),[]):Vt(t)?Lr(t).reduce((function(r,n){return Yr(Yr({},r),{},Gr({},n,e(t[n],t[n])))}),{}):r},rn="$bvConfig",nn=["xs","sm","md","lg","xl"],on=function(e){var t=zr(null);return function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];var i=JSON.stringify(n);return t[i]=t[i]||e.apply(null,n)}},an=u.a.prototype,sn=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,r=an[rn];return r?r.getConfigValue(e,t):tn(t)},cn=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;return t?sn("".concat(e,".").concat(t),r):sn(e,{})},ln=function(){return sn("breakpoints",nn)},un=on((function(){return ln()})),dn=function(){return tn(un())},fn=(on((function(){var e=dn();return e[0]="",e})),function(e){return e});function pn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function hn(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?pn(Object(r),!0).forEach((function(t){bn(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):pn(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function bn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var mn=function(e,t){return e+rr(t)},gn=function(e,t){return tr(t.replace(e,""))},vn=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Me,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:void 0,o=!0===r;return n=o?n:r,hn(hn(hn({},e?{type:e}:{}),o?{required:o}:Dt(t)?{}:{default:qt(t)?function(){return t}:t}),Dt(n)?{}:{validator:n})},yn=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:fn;if(Wt(e))return e.map(t);var r={};for(var n in e)Nr(e,n)&&(r[t(n)]=qt(e[n])?Ur(e[n]):e[n]);return r},wn=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:fn;return(Wt(e)?e.slice():Lr(e)).reduce((function(e,n){return e[r(n)]=t[n],e}),{})},xn=function(e,t,r){return hn(hn({},tn(e)),{},{default:function(){var n=cn(r,t,e.default);return Bt(n)?n():n}})},_n=function(e,t){return Lr(e).reduce((function(r,n){return hn(hn({},r),{},bn({},n,xn(e[n],n,t)))}),{})};xn({},"","").default.name;function kn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var En=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.type,n=void 0===r?Me:r,o=t.defaultValue,i=void 0===o?void 0:o,a=t.validator,s=void 0===a?void 0:a,c=t.event,l=void 0===c?Oe:c,d=kn({},e,vn(n,i,s)),f=u.a.extend({model:{prop:e,event:l},props:d});return{mixin:f,props:d,prop:e,event:l}},On=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e=Zt(e).filter(fn),e.some((function(e){return t[e]||r[e]}))},An=function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};e=Zt(e).filter(fn);for(var i=0;i<e.length&&!t;i++){var a=e[i];t=n[a]||o[a]}return Bt(t)?t(r):t},Sn=u.a.extend({methods:{hasNormalizedSlot:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ke,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.$scopedSlots,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.$slots;return On(e,t,r)},normalizeSlot:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ke,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.$scopedSlots,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:this.$slots,o=An(e,t,r,n);return o?Zt(o):o}}}),jn=function(e){return dt?qt(e)?e:{capture:!!e||!1}:!!(qt(e)?e.capture:e)},Pn=function(e,t,r,n){e&&e.addEventListener&&e.addEventListener(t,r,jn(n))},Cn=function(e,t,r,n){e&&e.removeEventListener&&e.removeEventListener(t,r,jn(n))},Tn=function(e){for(var t=e?Pn:Cn,r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];t.apply(void 0,n)},Rn=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.preventDefault,n=void 0===r||r,o=t.propagation,i=void 0===o||o,a=t.immediatePropagation,s=void 0!==a&&a;n&&e.preventDefault(),i&&e.stopPropagation(),s&&e.stopImmediatePropagation()},In=function(e){return Qt(e.replace(St,""))},$n=function(e,t){return[$e,In(e),t].join(De)},Dn=function(e,t){return[$e,t,In(e)].join(De)};function zn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Mn=_n({ariaLabel:vn(We,"Close"),content:vn(We,"&times;"),disabled:vn(Le,!1),textVariant:vn(We)},Y),Bn=u.a.extend({name:Y,functional:!0,props:Mn,render:function(e,t){var r=t.props,n=t.data,o=t.slots,i=t.scopedSlots,a=o(),s=i||{},c={staticClass:"close",class:zn({},"text-".concat(r.textVariant),r.textVariant),attrs:{type:"button",disabled:r.disabled,"aria-label":r.ariaLabel?String(r.ariaLabel):null},on:{click:function(e){r.disabled&&Yt(e)&&Rn(e)}}};return On(Ke,s,a)||(c.domProps={innerHTML:r.content}),e("button",W(n,c),An(Ke,{},s,a))}});function Ln(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Nn(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ln(Object(r),!0).forEach((function(t){Un(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ln(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Un(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Fn,Wn={name:"",enterClass:"",enterActiveClass:"",enterToClass:"show",leaveClass:"show",leaveActiveClass:"",leaveToClass:""},qn=Nn(Nn({},Wn),{},{enterActiveClass:"fade",leaveActiveClass:"fade"}),Vn={appear:vn(Le,!1),mode:vn(We),noFade:vn(Le,!1),transProps:vn(Fe)},Hn=u.a.extend({name:fe,functional:!0,props:Vn,render:function(e,t){var r=t.children,n=t.data,o=t.props,i=o.transProps;return Vt(i)||(i=o.noFade?Wn:qn,o.appear&&(i=Nn(Nn({},i),{},{appear:!0,appearClass:i.enterClass,appearActiveClass:i.enterActiveClass,appearToClass:i.enterToClass}))),i=Nn(Nn({mode:o.mode},i),{},{css:!0}),e("transition",W(n,{props:i}),r)}});function Yn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Gn(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Yn(Object(r),!0).forEach((function(t){Jn(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Yn(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Jn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Zn=En("show",{type:He,defaultValue:!1}),Kn=Zn.mixin,Xn=Zn.props,Qn=Zn.prop,eo=Zn.event,to=function(e){return""===e||Lt(e)?0:(e=Kt(e,0),e>0?e:0)},ro=function(e){return""===e||!0===e||!(Kt(e,0)<1)&&!!e},no=_n(qr(Gn(Gn({},Xn),{},{dismissLabel:vn(We,"Close"),dismissible:vn(Le,!1),fade:vn(Le,!1),variant:vn(We,"info")})),V),oo=u.a.extend({name:V,mixins:[Kn,Sn],props:no,data:function(){return{countDown:0,localShow:ro(this[Qn])}},watch:(Fn={},Jn(Fn,Qn,(function(e){this.countDown=to(e),this.localShow=ro(e)})),Jn(Fn,"countDown",(function(e){var t=this;this.clearCountDownInterval();var r=this[Qn];Ft(r)&&(this.$emit(ve,e),r!==e&&this.$emit(eo,e),e>0?(this.localShow=!0,this.$_countDownTimeout=setTimeout((function(){t.countDown--}),1e3)):this.$nextTick((function(){cr((function(){t.localShow=!1}))})))})),Jn(Fn,"localShow",(function(e){var t=this[Qn];e||!this.dismissible&&!Ft(t)||this.$emit(ge),Ft(t)||t===e||this.$emit(eo,e)})),Fn),created:function(){this.$_filterTimer=null;var e=this[Qn];this.countDown=to(e),this.localShow=ro(e)},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(e){var t=e();if(this.localShow){var r=this.dismissible,n=this.variant,o=e();r&&(o=e(Bn,{attrs:{"aria-label":this.dismissLabel},on:{click:this.dismiss}},[this.normalizeSlot(Xe)])),t=e("div",{staticClass:"alert",class:Jn({"alert-dismissible":r},"alert-".concat(n),n),attrs:{role:"alert","aria-live":"polite","aria-atomic":!0},key:this[q]},[o,this.normalizeSlot()])}return e(Hn,{props:{noFade:!this.fade}},[t])}}),io=13,ao=32,so="a",co=function(e){return"%"+e.charCodeAt(0).toString(16)},lo=function(e){return encodeURIComponent(nr(e)).replace(Rt,co).replace(Tt,",")},uo=(decodeURIComponent,function(e){if(!Vt(e))return"";var t=Lr(e).map((function(t){var r=e[t];return Dt(r)?"":zt(r)?lo(t):Wt(r)?r.reduce((function(e,r){return zt(r)?e.push(lo(t)):Dt(r)||e.push(lo(t)+"="+lo(r)),e}),[]).join("&"):lo(t)+"="+lo(r)})).filter((function(e){return e.length>0})).join("&");return t?"?".concat(t):""}),fo=function(e){return!(!e.href&&!e.to)},po=function(e){return!(!e||dr(e,"a"))},ho=function(e,t){var r=e.to,n=e.disabled,o=e.routerComponentName,i=!!t.$router;return!i||i&&(n||!r)?so:o||(t.$nuxt?"nuxt-link":"router-link")},bo=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.target,r=e.rel;return"_blank"===t&&zt(r)?"noopener":r||null},mo=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.href,r=e.to,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:so,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"#",i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"/";if(t)return t;if(po(n))return null;if(Nt(r))return r||i;if(Vt(r)&&(r.path||r.query||r.hash)){var a=nr(r.path),s=uo(r.query),c=nr(r.hash);return c=c&&"#"!==c.charAt(0)?"#".concat(c):c,"".concat(a).concat(s).concat(c)||i}return o},go=function(e,t){if(e.length!==t.length)return!1;for(var r=!0,n=0;r&&n<e.length;n++)r=vo(e[n],t[n]);return r},vo=function e(t,r){if(t===r)return!0;var n=Ht(t),o=Ht(r);if(n||o)return!(!n||!o)&&t.getTime()===r.getTime();if(n=Wt(t),o=Wt(r),n||o)return!(!n||!o)&&go(t,r);if(n=qt(t),o=qt(r),n||o){if(!n||!o)return!1;var i=Lr(t).length,a=Lr(r).length;if(i!==a)return!1;for(var s in t){var c=Nr(t,s),l=Nr(r,s);if(c&&!l||!c&&l||!e(t[s],r[s]))return!1}}return String(t)===String(r)};function yo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var wo=function(e){return!e||0===Lr(e).length},xo=function(e){return{handler:function(t,r){if(!vo(t,r))if(wo(t)||wo(r))this[e]=tn(t);else{for(var n in r)Nr(t,n)||this.$delete(this.$data[e],n);for(var o in t)this.$set(this.$data[e],o,t[o])}}}},_o=function(e,t){return u.a.extend({data:function(){return yo({},t,tn(this[e]))},watch:yo({},e,xo(t))})},ko=_o("$attrs","bvAttrs"),Eo=u.a.extend({methods:{listenOnRoot:function(e,t){var r=this;this.$root.$on(e,t),this.$on(Te,(function(){r.$root.$off(e,t)}))},listenOnRootOnce:function(e,t){var r=this;this.$root.$once(e,t),this.$on(Te,(function(){r.$root.$off(e,t)}))},emitOnRoot:function(e){for(var t,r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];(t=this.$root).$emit.apply(t,[e].concat(n))}}}),Oo=_o("$listeners","bvListeners");function Ao(e){return Co(e)||Po(e)||jo(e)||So()}function So(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function jo(e,t){if(e){if("string"===typeof e)return To(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?To(e,t):void 0}}function Po(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function Co(e){if(Array.isArray(e))return To(e)}function To(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Ro(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Io(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ro(Object(r),!0).forEach((function(t){$o(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ro(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function $o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Do=$n(oe,"clicked"),zo={activeClass:vn(We),append:vn(Le,!1),event:vn(Ve,pe),exact:vn(Le,!1),exactActiveClass:vn(We),replace:vn(Le,!1),routerTag:vn(We,"a"),to:vn(Ze)},Mo={noPrefetch:vn(Le,!1),prefetch:vn(Le,null)},Bo=_n(qr(Io(Io(Io({},Mo),zo),{},{active:vn(Le,!1),disabled:vn(Le,!1),href:vn(We),rel:vn(We,null),routerComponentName:vn(We),target:vn(We,"_self")})),oe),Lo=u.a.extend({name:oe,mixins:[ko,Oo,Eo,Sn],inheritAttrs:!1,props:Bo,computed:{computedTag:function(){var e=this.to,t=this.disabled,r=this.routerComponentName;return ho({to:e,disabled:t,routerComponentName:r},this)},isRouterLink:function(){return po(this.computedTag)},computedRel:function(){var e=this.target,t=this.rel;return bo({target:e,rel:t})},computedHref:function(){var e=this.to,t=this.href;return mo({to:e,href:t},this.computedTag)},computedProps:function(){var e=this.prefetch;return this.isRouterLink?Io(Io({},wn(Io(Io({},zo),Mo),this)),{},{prefetch:Lt(e)?e:void 0,tag:this.routerTag}):{}},computedAttrs:function(){var e=this.bvAttrs,t=this.computedHref,r=this.computedRel,n=this.disabled,o=this.target,i=this.routerTag,a=this.isRouterLink;return Io(Io(Io(Io({},e),t?{href:t}:{}),a&&!dr(i,"a")?{}:{rel:r,target:o}),{},{tabindex:n?"-1":Dt(e.tabindex)?null:e.tabindex,"aria-disabled":n?"true":null})},computedListeners:function(){return Io(Io({},this.bvListeners),{},{click:this.onClick})}},methods:{onClick:function(e){var t=arguments,r=Yt(e),n=this.isRouterLink,o=this.bvListeners.click;r&&this.disabled?Rn(e,{immediatePropagation:!0}):(n&&e.currentTarget.__vue__&&e.currentTarget.__vue__.$emit(pe,e),Zt(o).filter((function(e){return Bt(e)})).forEach((function(e){e.apply(void 0,Ao(t))})),this.emitOnRoot(Do,e),this.emitOnRoot("clicked::link",e)),r&&!n&&"#"===this.computedHref&&Rn(e,{propagation:!1})},focus:function(){Cr(this.$el)},blur:function(){Tr(this.$el)}},render:function(e){var t=this.active,r=this.disabled;return e(this.computedTag,$o({class:{active:t,disabled:r},attrs:this.computedAttrs,props:this.computedProps},this.isRouterLink?"nativeOn":"on",this.computedListeners),this.normalizeSlot())}});function No(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Uo(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?No(Object(r),!0).forEach((function(t){Fo(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):No(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Fo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Wo=Wr(Bo,["event","routerTag"]);delete Wo.href.default,delete Wo.to.default;var qo=_n(qr(Uo(Uo({},Wo),{},{block:vn(Le,!1),disabled:vn(Le,!1),pill:vn(Le,!1),pressed:vn(Le,null),size:vn(We),squared:vn(Le,!1),tag:vn(We,"button"),type:vn(We,"button"),variant:vn(We,"secondary")})),H),Vo=function(e){"focusin"===e.type?wr(e.target,"focus"):"focusout"===e.type&&xr(e.target,"focus")},Ho=function(e){return fo(e)||dr(e.tag,"a")},Yo=function(e){return Lt(e.pressed)},Go=function(e){return!(Ho(e)||e.tag&&!dr(e.tag,"button"))},Jo=function(e){return!Ho(e)&&!Go(e)},Zo=function(e){var t;return["btn-".concat(e.variant||"secondary"),(t={},Fo(t,"btn-".concat(e.size),e.size),Fo(t,"btn-block",e.block),Fo(t,"rounded-pill",e.pill),Fo(t,"rounded-0",e.squared&&!e.pill),Fo(t,"disabled",e.disabled),Fo(t,"active",e.pressed),t)]},Ko=function(e){return Ho(e)?wn(Wo,e):{}},Xo=function(e,t){var r=Go(e),n=Ho(e),o=Yo(e),i=Jo(e),a=n&&"#"===e.href,s=t.attrs&&t.attrs.role?t.attrs.role:null,c=t.attrs?t.attrs.tabindex:null;return(i||a)&&(c="0"),{type:r&&!n?e.type:null,disabled:r?e.disabled:null,role:i||a?"button":s,"aria-disabled":i?String(e.disabled):null,"aria-pressed":o?String(e.pressed):null,autocomplete:o?"off":null,tabindex:e.disabled&&!r?"-1":c}},Qo=u.a.extend({name:H,functional:!0,props:qo,render:function(e,t){var r=t.props,n=t.data,o=t.listeners,i=t.children,a=Yo(r),s=Ho(r),c=Jo(r),l=s&&"#"===r.href,u={keydown:function(e){if(!r.disabled&&(c||l)){var t=e.keyCode;if(t===ao||t===io&&c){var n=e.currentTarget||e.target;Rn(e,{propagation:!1}),n.click()}}},click:function(e){r.disabled&&Yt(e)?Rn(e):a&&o&&o["update:pressed"]&&Zt(o["update:pressed"]).forEach((function(e){Bt(e)&&e(!r.pressed)}))}};a&&(u.focusin=Vo,u.focusout=Vo);var d={staticClass:"btn",class:Zo(r),props:Ko(r),attrs:Xo(r,n),on:u};return e(s?Lo:r.tag,W(n,d),i)}});r("99af"),r("e6cf");function ei(e){return fetch(e.actionLink,{method:"POST"}).then((function(e){return e.json()})).then((function(t){if(!1===t[e.module].status)throw new Error("Cannot ".concat(e.action," ").concat(e.module," module."));return t}))}function ti(e){return fetch(e.actionLink,{method:"POST"})}var ri=function(e,t){return t?ei(e):ti(e)},ni=function(e,t,r){return ri({module:e,action:"enable",actionLink:t},r).then((function(){window.location.reload()}))},oi={name:"AlertAccountNotEnabled",components:{BAlert:oo,BButton:Qo,BLink:Lo},mixins:[z],props:{validatedContext:{type:Object,required:!0}},data:function(){return{isLoading:!1}},methods:{enablePsAccounts:function(){var e=this;this.isLoading=!0,this.$segment.track("[ACC] PSAccount Enable Button Clicked",{shop_bo_id:this.validatedContext.currentShop.id,ps_module_from:this.validatedContext.psxName,v4_onboarded:this.validatedContext.isOnboardedV4,multishop_numbers:this.validatedContext.shops.length||1}),ni("ps_accounts",this.validatedContext.psAccountsEnableLink,this.validatedContext.psIs17).catch((function(){e.isLoading=!1,e.$emit("hasError")}))}}},ii=oi;function ai(e,t,r,n,o,i,a,s){var c,l="function"===typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=r,l._compiled=!0),n&&(l.functional=!0),i&&(l._scopeId="data-v-"+i),a?(c=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},l._ssrRegister=c):o&&(c=s?function(){o.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:o),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(e,t){return c.call(t),u(e,t)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,c):[c]}return{exports:e,options:l}}var si=ai(ii,M,B,!1,null,null,null),ci=si.exports,li=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("b-alert",{attrs:{variant:"warning",show:""}},[r("h3",[e._v(e._s(e.t("psaccounts.alertAccountNotInstalled.title")))]),r("p",[e._v(" "+e._s(e.t("psaccounts.alertAccountNotInstalled.message"))+". ")]),r("p",{staticClass:"mt-2"},[e.isLoading?r("b-link",{attrs:{href:"#",disabled:""}},[e._v(" "+e._s(e.t("psaccounts.alertAccountNotInstalled.loading"))+" ")]):r("b-button",{attrs:{variant:"primary"},on:{click:function(t){return e.installPsAccounts()}}},[e._v(" "+e._s(e.t("psaccounts.alertAccountNotInstalled.installButton"))+" ")])],1)])},ui=[],di=function(e,t,r){return ri({module:e,action:"install",actionLink:t},r).then((function(){window.location.reload()}))},fi={name:"AlertAccountNotInstalled",mixins:[z],components:{BAlert:oo,BButton:Qo,BLink:Lo},props:{validatedContext:{type:Object,required:!0}},data:function(){return{isLoading:!1}},methods:{installPsAccounts:function(){var e=this;this.isLoading=!0,this.$segment.track("[ACC] PSAccount Install Button Clicked",{shop_bo_id:this.validatedContext.currentShop.id,ps_module_from:this.validatedContext.psxName,v4_onboarded:this.validatedContext.isOnboardedV4,multishop_numbers:this.validatedContext.shops.length||1}),di("ps_accounts",this.validatedContext.psAccountsInstallLink,this.validatedContext.psIs17).catch((function(){e.isLoading=!1,e.$emit("hasError")}))}}},pi=fi,hi=ai(pi,li,ui,!1,null,null,null),bi=hi.exports,mi=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("b-alert",{attrs:{variant:"warning",show:""}},[r("h3",[e._v(e._s(e.t("psaccounts.alertAccountNeedsUpdate.title")))]),r("p",[e._v(" "+e._s(e.t("psaccounts.alertAccountNeedsUpdate.message"))+". ")]),r("p",{staticClass:"mt-2"},[e.isLoading?r("b-link",{attrs:{href:"#",disabled:""}},[e._v(" "+e._s(e.t("psaccounts.alertAccountNotInstalled.loading"))+" ")]):r("b-button",{attrs:{variant:"primary"},on:{click:function(t){return e.updatePsAccounts()}}},[e._v(" "+e._s(e.t("psaccounts.alertAccountNeedsUpdate.installButton"))+" ")])],1)])},gi=[],vi=function(e,t,r){return ri({module:e,action:"update",actionLink:t},r).then((function(){window.location.reload()}))},yi={name:"AlertAccountNotUpdated",mixins:[z],components:{BAlert:oo,BButton:Qo,BLink:Lo},props:{validatedContext:{type:Object,required:!0}},data:function(){return{isLoading:!1}},methods:{updatePsAccounts:function(){var e=this;this.isLoading=!0,this.$segment.track("[ACC] PSAccount Install Button Clicked",{shop_bo_id:this.validatedContext.currentShop.id,ps_module_from:this.validatedContext.psxName,v4_onboarded:this.validatedContext.isOnboardedV4,multishop_numbers:this.validatedContext.shops.length||1}),vi("ps_accounts",this.validatedContext.psAccountsUpdateLink,this.validatedContext.psIs17).catch((function(){e.isLoading=!1,e.$emit("hasError")}))}}},wi=yi,xi=ai(wi,mi,gi,!1,null,null,null),_i=xi.exports,ki=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("b-overlay",{attrs:{variant:"white",show:e.isLoading,opacity:.7,blur:"0px"}},[r("b-alert",{attrs:{show:"",variant:"warning"}},[r("h3",[e._v(e._s(e.t("psaccounts.alertEventBusNotInstalled.title")))]),r("p",[e._v(" "+e._s(e.t("psaccounts.alertEventBusNotInstalled.message"))+" ")]),r("p",{staticClass:"mt-2"},[r("b-button",{attrs:{variant:"primary"},on:{click:e.installEventBus}},[e._v(" "+e._s(e.t("psaccounts.alertEventBusNotInstalled.installButton"))+" ")])],1)])],1)},Ei=[];function Oi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ai=_n({label:vn(We),role:vn(We,"status"),small:vn(Le,!1),tag:vn(We,"span"),type:vn(We,"border"),variant:vn(We)},se),Si=u.a.extend({name:se,functional:!0,props:Ai,render:function(e,t){var r,n=t.props,o=t.data,i=t.slots,a=t.scopedSlots,s=i(),c=a||{},l=An(tt,{},c,s)||n.label;return l&&(l=e("span",{staticClass:"sr-only"},l)),e(n.tag,W(o,{attrs:{role:l?n.role||"status":null,"aria-hidden":l?null:"true"},class:(r={},Oi(r,"spinner-".concat(n.type),n.type),Oi(r,"spinner-".concat(n.type,"-sm"),n.small),Oi(r,"text-".concat(n.variant),n.variant),r)}),[l||e()])}});function ji(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Pi(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ji(Object(r),!0).forEach((function(t){Ci(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ji(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ci(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ti={top:0,left:0,bottom:0,right:0},Ri=_n({bgColor:vn(We),blur:vn(We,"2px"),fixed:vn(Le,!1),noCenter:vn(Le,!1),noFade:vn(Le,!1),noWrap:vn(Le,!1),opacity:vn(Ge,.85,(function(e){var t=Xt(e,0);return t>=0&&t<=1})),overlayTag:vn(We,"div"),rounded:vn(Ye,!1),show:vn(Le,!1),spinnerSmall:vn(Le,!1),spinnerType:vn(We,"border"),spinnerVariant:vn(We),variant:vn(We,"light"),wrapTag:vn(We,"div"),zIndex:vn(Ge,10)},ae),Ii=u.a.extend({name:ae,mixins:[Sn],props:Ri,computed:{computedRounded:function(){var e=this.rounded;return!0===e||""===e?"rounded":e?"rounded-".concat(e):""},computedVariant:function(){var e=this.variant;return e&&!this.bgColor?"bg-".concat(e):""},slotScope:function(){return{spinnerType:this.spinnerType||null,spinnerVariant:this.spinnerVariant||null,spinnerSmall:this.spinnerSmall}}},methods:{defaultOverlayFn:function(e){var t=e.spinnerType,r=e.spinnerVariant,n=e.spinnerSmall;return this.$createElement(Si,{props:{type:t,variant:r,small:n}})}},render:function(e){var t=this,r=this.show,n=this.fixed,o=this.noFade,i=this.noWrap,a=this.slotScope,s=e();if(r){var c=e("div",{staticClass:"position-absolute",class:[this.computedVariant,this.computedRounded],style:Pi(Pi({},Ti),{},{opacity:this.opacity,backgroundColor:this.bgColor||null,backdropFilter:this.blur?"blur(".concat(this.blur,")"):null})}),l=e("div",{staticClass:"position-absolute",style:this.noCenter?Pi({},Ti):{top:"50%",left:"50%",transform:"translateX(-50%) translateY(-50%)"}},[this.normalizeSlot(rt,a)||this.defaultOverlayFn(a)]);s=e(this.overlayTag,{staticClass:"b-overlay",class:{"position-absolute":!i||i&&!n,"position-fixed":i&&n},style:Pi(Pi({},Ti),{},{zIndex:this.zIndex||10}),on:{click:function(e){return t.$emit(pe,e)}},key:"overlay"},[c,l])}return s=e(Hn,{props:{noFade:o,appear:!0},on:{"after-enter":function(){return t.$emit(Ce)},"after-leave":function(){return t.$emit(ke)}}},[s]),i?s:e(this.wrapTag,{staticClass:"b-overlay-wrap position-relative",attrs:{"aria-busy":r?"true":null}},i?[s]:[this.normalizeSlot(),s])}}),$i={name:"AlertEventBusNotInstalled",mixins:[z],components:{BOverlay:Ii,BAlert:oo,BButton:Qo},props:{validatedContext:{type:Object,required:!0}},data:function(){return{isLoading:!1}},methods:{installEventBus:function(){var e=this;this.isLoading=!0,this.$segment.track("[ACC] PSEventBus Install Button Clicked",{shop_bo_id:this.validatedContext.currentShop.id,ps_module_from:this.validatedContext.psxName,v4_onboarded:this.validatedContext.isOnboardedV4,multishop_numbers:this.validatedContext.shops.length||1}),di("ps_eventbus",this.validatedContext.dependencies.ps_eventbus.installLink,this.validatedContext.psIs17).catch((function(){e.isLoading=!1,e.$emit("hasError")}))}}},Di=$i,zi=ai(Di,ki,Ei,!1,null,null,null),Mi=zi.exports,Bi={name:"PsAccountComponentAlertDisplay",components:{AccountNotEnabled:ci,AccountNotInstalled:bi,AccountNotUpdated:_i,EventBusNotInstalled:Mi},mixins:[z],props:{validatedContext:{type:Object,required:!0}},computed:{psAccountsIsInstalled:function(){return this.validatedContext.psAccountsIsInstalled},psAccountsIsUptodate:function(){return this.validatedContext.psAccountsIsUptodate},psAccountsIsEnabled:function(){return this.validatedContext.psAccountsIsEnabled}}},Li=Bi,Ni=ai(Li,p,h,!1,null,null,null),Ui=Ni.exports,Fi=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",[r("b-card",{attrs:{"no-body":""},scopedSlots:e._u([{key:"header",fn:function(){return[r("AccountHeader",{attrs:{"user-is-connected":e.userIsConnected}})]},proxy:!0}])},[r("b-card-body",[r("div",{staticClass:"d-flex"},[r("AccountShopLinkMessage",{attrs:{"user-is-connected":e.userIsConnected,"validated-context":e.validatedContext}}),r("AccountLinkToUi",{attrs:{"user-is-connected":e.userIsConnected,"validated-context":e.validatedContext}})],1),e.validatedContext.isOnboardedV4?r("ModuleUpdateInformation",{staticClass:"mt-3"}):e._e(),e.userIsConnected&&e.userIsSameAsCurrentShopuser&&!e.userEmailIsValidated?r("AccountUserEmailNotValidated",{staticClass:"mt-3",attrs:{"validated-context":e.validatedContext}}):e._e(),e.validatedContext.user.isSuperAdmin?e._e():r("AccountUserNotSuperAdmin",{attrs:{"validated-context":e.validatedContext}}),e._t("default")],2)],1)],1)},Wi=[],qi=function(e,t){return e?{innerHTML:e}:t?{textContent:t}:{}},Vi=_n({bgVariant:vn(We),borderVariant:vn(We),tag:vn(We,"div"),textVariant:vn(We)},G),Hi=(u.a.extend({props:Vi}),_n({title:vn(We),titleTag:vn(We,"h4")},ee)),Yi=u.a.extend({name:ee,functional:!0,props:Hi,render:function(e,t){var r=t.props,n=t.data,o=t.children;return e(r.titleTag,W(n,{staticClass:"card-title"}),o||nr(r.title))}}),Gi=_n({subTitle:vn(We),subTitleTag:vn(We,"h6"),subTitleTextVariant:vn(We,"muted")},Q),Ji=u.a.extend({name:Q,functional:!0,props:Gi,render:function(e,t){var r=t.props,n=t.data,o=t.children;return e(r.subTitleTag,W(n,{staticClass:"card-subtitle",class:[r.subTitleTextVariant?"text-".concat(r.subTitleTextVariant):null]}),o||nr(r.subTitle))}});function Zi(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ki(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Zi(Object(r),!0).forEach((function(t){Xi(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Zi(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Xi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Qi=_n(qr(Ki(Ki(Ki(Ki({},Hi),Gi),yn(Vi,mn.bind(null,"body"))),{},{bodyClass:vn(qe),overlay:vn(Le,!1)})),J),ea=u.a.extend({name:J,functional:!0,props:Qi,render:function(e,t){var r,n=t.props,o=t.data,i=t.children,a=n.bodyBgVariant,s=n.bodyBorderVariant,c=n.bodyTextVariant,l=e();n.title&&(l=e(Yi,{props:wn(Hi,n)}));var u=e();return n.subTitle&&(u=e(Ji,{props:wn(Gi,n),class:["mb-2"]})),e(n.bodyTag,W(o,{staticClass:"card-body",class:[(r={"card-img-overlay":n.overlay},Xi(r,"bg-".concat(a),a),Xi(r,"border-".concat(s),s),Xi(r,"text-".concat(c),c),r),n.bodyClass]}),[l,u,i])}});function ta(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ra(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ta(Object(r),!0).forEach((function(t){na(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ta(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function na(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var oa=_n(qr(ra(ra({},yn(Vi,mn.bind(null,"header"))),{},{header:vn(We),headerClass:vn(qe),headerHtml:vn(We)})),K),ia=u.a.extend({name:K,functional:!0,props:oa,render:function(e,t){var r,n=t.props,o=t.data,i=t.children,a=n.headerBgVariant,s=n.headerBorderVariant,c=n.headerTextVariant;return e(n.headerTag,W(o,{staticClass:"card-header",class:[n.headerClass,(r={},na(r,"bg-".concat(a),a),na(r,"border-".concat(s),s),na(r,"text-".concat(c),c),r)],domProps:i?{}:qi(n.headerHtml,n.header)}),i)}});function aa(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function sa(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?aa(Object(r),!0).forEach((function(t){ca(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):aa(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ca(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var la=_n(qr(sa(sa({},yn(Vi,mn.bind(null,"footer"))),{},{footer:vn(We),footerClass:vn(qe),footerHtml:vn(We)})),Z),ua=u.a.extend({name:Z,functional:!0,props:la,render:function(e,t){var r,n=t.props,o=t.data,i=t.children,a=n.footerBgVariant,s=n.footerBorderVariant,c=n.footerTextVariant;return e(n.footerTag,W(o,{staticClass:"card-footer",class:[n.footerClass,(r={},ca(r,"bg-".concat(a),a),ca(r,"border-".concat(s),s),ca(r,"text-".concat(c),c),r)],domProps:i?{}:qi(n.footerHtml,n.footer)}),i)}});var da=_n({alt:vn(We),blank:vn(Le,!1),blankColor:vn(We,"transparent"),block:vn(Le,!1),center:vn(Le,!1),fluid:vn(Le,!1),fluidGrow:vn(Le,!1),height:vn(Ge),left:vn(Le,!1),right:vn(Le,!1),rounded:vn(Ye,!1),sizes:vn(Ve),src:vn(We),srcset:vn(Ve),thumbnail:vn(Le,!1),width:vn(Ge)},ne);function fa(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function pa(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?fa(Object(r),!0).forEach((function(t){ha(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):fa(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ha(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ba=_n(qr(pa(pa({},Fr(da,["src","alt","width","height","left","right"])),{},{bottom:vn(Le,!1),end:vn(Le,!1),start:vn(Le,!1),top:vn(Le,!1)})),X),ma=u.a.extend({name:X,functional:!0,props:ba,render:function(e,t){var r=t.props,n=t.data,o=r.src,i=r.alt,a=r.width,s=r.height,c="card-img";return r.top?c+="-top":r.right||r.end?c+="-right":r.bottom?c+="-bottom":(r.left||r.start)&&(c+="-left"),e("img",W(n,{class:c,attrs:{src:o,alt:i,width:a,height:s}}))}});function ga(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function va(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ga(Object(r),!0).forEach((function(t){ya(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ga(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ya(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var wa=yn(ba,mn.bind(null,"img"));wa.imgSrc.required=!1;var xa=_n(qr(va(va(va(va(va(va({},Qi),oa),la),wa),Vi),{},{align:vn(We),noBody:vn(Le,!1)})),G),_a=u.a.extend({name:G,functional:!0,props:xa,render:function(e,t){var r,n=t.props,o=t.data,i=t.slots,a=t.scopedSlots,s=n.imgSrc,c=n.imgLeft,l=n.imgRight,u=n.imgStart,d=n.imgEnd,f=n.imgBottom,p=n.header,h=n.headerHtml,b=n.footer,m=n.footerHtml,g=n.align,v=n.textVariant,y=n.bgVariant,w=n.borderVariant,x=a||{},_=i(),k={},E=e(),O=e();if(s){var A=e(ma,{props:wn(wa,n,gn.bind(null,"img"))});f?O=A:E=A}var S=e(),j=On(et,x,_);(j||p||h)&&(S=e(ia,{props:wn(oa,n),domProps:j?{}:qi(h,p)},An(et,k,x,_)));var P=An(Ke,k,x,_);n.noBody||(P=e(ea,{props:wn(Qi,n)},P),n.overlay&&s&&(P=e("div",{staticClass:"position-relative"},[E,P,O]),E=e(),O=e()));var C=e(),T=On(Qe,x,_);return(T||b||m)&&(C=e(ua,{props:wn(la,n),domProps:j?{}:qi(m,b)},An(Qe,k,x,_))),e(n.tag,W(o,{staticClass:"card",class:(r={"flex-row":c||u,"flex-row-reverse":(l||d)&&!(c||u)},ya(r,"text-".concat(g),g),ya(r,"bg-".concat(y),y),ya(r,"border-".concat(w),w),ya(r,"text-".concat(v),v),r)}),[E,S,P,C,O])}}),ka=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",[r("b-tooltip",{attrs:{target:"tooltip-target-3bd46b2a34b6628a1a73a31c91afd7ef",triggers:"hover",placement:"top"}},[e._v(" "+e._s(e.t("psaccounts.account.manageAccountTooltip"))+" ")]),e.userIsConnected?r("b-iconstack",{staticClass:"mr-2 align-bottom fixed-size icon-check",attrs:{"font-scale":"1.5",width:"20",height:"20"}},[r("b-icon-circle-fill",{attrs:{stacked:"",variant:"success"}}),r("b-icon-check",{attrs:{stacked:"",variant:"white"}})],1):e._e(),r("h3",{staticClass:"d-inline"},[e._v(" "+e._s(e.t("psaccounts.account.title"))+" ")])],1)},Ea=[],Oa=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e&&e.$options._scopeId||t},Aa=(Math.min,Math.max),Sa=(Math.abs,Math.ceil,Math.floor,Math.pow,Math.round,function(){}),ja=r("938d"),Pa=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;Object(ja["a"])()||console.warn("[BootstrapVue warn]: ".concat(t?"".concat(t," - "):"").concat(e))};function Ca(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ta(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ra(e,t,r){return t&&Ta(e.prototype,t),r&&Ta(e,r),e}var Ia=function(){function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Ca(this,e),!t)throw new TypeError("Failed to construct '".concat(this.constructor.name,"'. 1 argument required, ").concat(arguments.length," given."));Dr(this,e.Defaults,this.constructor.Defaults,r,{type:t}),Mr(this,{type:Vr(),cancelable:Vr(),nativeEvent:Vr(),target:Vr(),relatedTarget:Vr(),vueTarget:Vr(),componentId:Vr()});var n=!1;this.preventDefault=function(){this.cancelable&&(n=!0)},Br(this,"defaultPrevented",{enumerable:!0,get:function(){return n}})}return Ra(e,null,[{key:"Defaults",get:function(){return{type:"",cancelable:!0,nativeEvent:null,target:null,relatedTarget:null,vueTarget:null,componentId:null}}}]),e}();function $a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Da=u.a.extend({computed:{scopedStyleAttrs:function(){var e=Oa(this.$parent);return e?$a({},e,""):{}}}}),za=r("f0bd"),Ma={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"},Ba={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},La={arrowPadding:vn(Ge,6),boundary:vn([Ot,We],"scrollParent"),boundaryPadding:vn(Ge,5),fallbackPlacement:vn(Ve,"flip"),offset:vn(Ge,0),placement:vn(We,"top"),target:vn([Ot,At])},Na=u.a.extend({name:le,props:La,data:function(){return{noFade:!1,localShow:!0,attachment:this.getAttachment(this.placement)}},computed:{templateType:function(){return"unknown"},popperConfig:function(){var e=this,t=this.placement;return{placement:this.getAttachment(t),modifiers:{offset:{offset:this.getOffset(t)},flip:{behavior:this.fallbackPlacement},arrow:{element:".arrow"},preventOverflow:{padding:this.boundaryPadding,boundariesElement:this.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&e.popperPlacementChange(t)},onUpdate:function(t){e.popperPlacementChange(t)}}}},created:function(){var e=this;this.$_popper=null,this.localShow=!0,this.$on(Pe,(function(t){e.popperCreate(t)}));var t=function(){e.$nextTick((function(){cr((function(){e.$destroy()}))}))};this.$parent.$once(Re,t),this.$once(ke,t)},beforeMount:function(){this.attachment=this.getAttachment(this.placement)},updated:function(){this.updatePopper()},beforeDestroy:function(){this.destroyPopper()},destroyed:function(){var e=this.$el;e&&e.parentNode&&e.parentNode.removeChild(e)},methods:{hide:function(){this.localShow=!1},getAttachment:function(e){return Ma[String(e).toUpperCase()]||"auto"},getOffset:function(e){if(!this.offset){var t=this.$refs.arrow||br(".arrow",this.$el),r=Xt(Pr(t).width,0)+Xt(this.arrowPadding,0);switch(Ba[String(e).toUpperCase()]||0){case 1:return"+50%p - ".concat(r,"px");case-1:return"-50%p + ".concat(r,"px");default:return 0}}return this.offset},popperCreate:function(e){this.destroyPopper(),this.$_popper=new za["a"](this.target,e,this.popperConfig)},destroyPopper:function(){this.$_popper&&this.$_popper.destroy(),this.$_popper=null},updatePopper:function(){this.$_popper&&this.$_popper.scheduleUpdate()},popperPlacementChange:function(e){this.attachment=this.getAttachment(e.placement)},renderTemplate:function(e){return e("div")}},render:function(e){var t=this,r=this.noFade;return e(Hn,{props:{appear:!0,noFade:r},on:{beforeEnter:function(e){return t.$emit(Pe,e)},afterEnter:function(e){return t.$emit(Ce,e)},beforeLeave:function(e){return t.$emit(Ee,e)},afterLeave:function(e){return t.$emit(ke,e)}}},[this.localShow?this.renderTemplate(e):e()])}});function Ua(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Fa(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ua(Object(r),!0).forEach((function(t){Wa(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ua(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Wa(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var qa={html:vn(Le,!1),id:vn(We)},Va=u.a.extend({name:de,extends:Na,mixins:[Da],props:qa,data:function(){return{title:"",content:"",variant:null,customClass:null,interactive:!0}},computed:{templateType:function(){return"tooltip"},templateClasses:function(){var e,t=this.variant,r=this.attachment,n=this.templateType;return[(e={noninteractive:!this.interactive},Wa(e,"b-".concat(n,"-").concat(t),t),Wa(e,"bs-".concat(n,"-").concat(r),r),e),this.customClass]},templateAttributes:function(){var e=this.id;return Fa(Fa({},this.$parent.$parent.$attrs),{},{id:e,role:"tooltip",tabindex:"-1"},this.scopedStyleAttrs)},templateListeners:function(){var e=this;return{mouseenter:function(t){e.$emit(Ae,t)},mouseleave:function(t){e.$emit(Se,t)},focusin:function(t){e.$emit(xe,t)},focusout:function(t){e.$emit(_e,t)}}}},methods:{renderTemplate:function(e){var t=this.title,r=Bt(t)?t({}):t,n=this.html&&!Bt(t)?{innerHTML:t}:{};return e("div",{staticClass:"tooltip b-tooltip",class:this.templateClasses,attrs:this.templateAttributes,on:this.templateListeners},[e("div",{staticClass:"arrow",ref:"arrow"}),e("div",{staticClass:"tooltip-inner",domProps:n},[r])])}}});function Ha(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ya(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ha(Object(r),!0).forEach((function(t){Ga(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ha(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ga(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ja,Za,Ka=".modal-content",Xa=$n(ie,ke),Qa=".b-sidebar",es=[Ka,Qa].join(", "),ts="dropdown",rs=".dropdown-menu.show",ns="data-original-title",os={title:"",content:"",variant:null,customClass:null,triggers:"",placement:"auto",fallbackPlacement:"flip",target:null,container:null,noFade:!1,boundary:"scrollParent",boundaryPadding:5,offset:0,delay:0,arrowPadding:6,interactive:!0,disabled:!1,id:null,html:!1},is=u.a.extend({name:ue,mixins:[Eo],data:function(){return Ya(Ya({},os),{},{activeTrigger:{hover:!1,click:!1,focus:!1},localShow:!1})},computed:{templateType:function(){return"tooltip"},computedId:function(){return this.id||"__bv_".concat(this.templateType,"_").concat(this[q],"__")},computedDelay:function(){var e={show:0,hide:0};return Vt(this.delay)?(e.show=Aa(Kt(this.delay.show,0),0),e.hide=Aa(Kt(this.delay.hide,0),0)):(Ut(this.delay)||Nt(this.delay))&&(e.show=e.hide=Aa(Kt(this.delay,0),0)),e},computedTriggers:function(){return Zt(this.triggers).filter(fn).join(" ").trim().toLowerCase().split(/\s+/).sort()},isWithActiveTrigger:function(){for(var e in this.activeTrigger)if(this.activeTrigger[e])return!0;return!1},computedTemplateData:function(){var e=this.title,t=this.content,r=this.variant,n=this.customClass,o=this.noFade,i=this.interactive;return{title:e,content:t,variant:r,customClass:n,noFade:o,interactive:i}}},watch:{computedTriggers:function(e,t){var r=this;vo(e,t)||this.$nextTick((function(){r.unListen(),t.forEach((function(t){Jt(e,t)||r.activeTrigger[t]&&(r.activeTrigger[t]=!1)})),r.listen()}))},computedTemplateData:function(){this.handleTemplateUpdate()},title:function(e,t){e===t||e||this.hide()},disabled:function(e){e?this.disable():this.enable()}},created:function(){var e=this;this.$_tip=null,this.$_hoverTimeout=null,this.$_hoverState="",this.$_visibleInterval=null,this.$_enabled=!this.disabled,this.$_noop=Sa.bind(this),this.$parent&&this.$parent.$once(Te,(function(){e.$nextTick((function(){cr((function(){e.$destroy()}))}))})),this.$nextTick((function(){var t=e.getTarget();t&&vr(document.body,t)?(e.scopeId=Oa(e.$parent),e.listen()):Pa(Nt(e.target)?'Unable to find target element by ID "#'.concat(e.target,'" in document.'):"The provided target is no valid HTML element.",e.templateType)}))},updated:function(){this.$nextTick(this.handleTemplateUpdate)},deactivated:function(){this.forceHide()},beforeDestroy:function(){this.unListen(),this.setWhileOpenListeners(!1),this.clearHoverTimeout(),this.clearVisibilityInterval(),this.destroyTemplate(),this.$_noop=null},methods:{getTemplate:function(){return Va},updateData:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=!1;Lr(os).forEach((function(n){Dt(t[n])||e[n]===t[n]||(e[n]=t[n],"title"===n&&(r=!0))})),r&&this.localShow&&this.fixTitle()},createTemplateAndShow:function(){var e=this.getContainer(),t=this.getTemplate(),r=this.$_tip=new t({parent:this,propsData:{id:this.computedId,html:this.html,placement:this.placement,fallbackPlacement:this.fallbackPlacement,target:this.getPlacementTarget(),boundary:this.getBoundary(),offset:Kt(this.offset,0),arrowPadding:Kt(this.arrowPadding,0),boundaryPadding:Kt(this.boundaryPadding,0)}});this.handleTemplateUpdate(),r.$once(Pe,this.onTemplateShow),r.$once(Ce,this.onTemplateShown),r.$once(Ee,this.onTemplateHide),r.$once(ke,this.onTemplateHidden),r.$once(Re,this.destroyTemplate),r.$on(xe,this.handleEvent),r.$on(_e,this.handleEvent),r.$on(Ae,this.handleEvent),r.$on(Se,this.handleEvent),r.$mount(e.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(e){}this.$_tip=null,this.removeAriaDescribedby(),this.restoreTitle(),this.localShow=!1},getTemplateElement:function(){return this.$_tip?this.$_tip.$el:null},handleTemplateUpdate:function(){var e=this,t=this.$_tip;if(t){var r=["title","content","variant","customClass","noFade","interactive"];r.forEach((function(r){t[r]!==e[r]&&(t[r]=e[r])}))}},show:function(){var e=this.getTarget();if(e&&vr(document.body,e)&&pr(e)&&!this.dropdownOpen()&&(!Mt(this.title)&&""!==this.title||!Mt(this.content)&&""!==this.content)&&!this.$_tip&&!this.localShow){this.localShow=!0;var t=this.buildEvent(Pe,{cancelable:!0});this.emitEvent(t),t.defaultPrevented?this.destroyTemplate():(this.fixTitle(),this.addAriaDescribedby(),this.createTemplateAndShow())}},hide:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.getTemplateElement();if(t&&this.localShow){var r=this.buildEvent(Ee,{cancelable:!e});this.emitEvent(r),r.defaultPrevented||this.hideTemplate()}else this.restoreTitle()},forceHide:function(){var e=this.getTemplateElement();e&&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(we))},disable:function(){this.$_enabled=!1,this.emitEvent(this.buildEvent(me))},onTemplateShow:function(){this.setWhileOpenListeners(!0)},onTemplateShown:function(){var e=this.$_hoverState;this.$_hoverState="","out"===e&&this.leave(null),this.emitEvent(this.buildEvent(Ce))},onTemplateHide:function(){this.setWhileOpenListeners(!1)},onTemplateHidden:function(){this.destroyTemplate(),this.emitEvent(this.buildEvent(ke))},getTarget:function(){var e=this.target;return Nt(e)?e=yr(e.replace(/^#/,"")):Bt(e)?e=e():e&&(e=e.$el||e),lr(e)?e:null},getPlacementTarget:function(){return this.getTarget()},getTargetId:function(){var e=this.getTarget();return e&&e.id?e.id:null},getContainer:function(){var e=!!this.container&&(this.container.$el||this.container),t=document.body,r=this.getTarget();return!1===e?gr(es,r)||t:Nt(e)&&yr(e.replace(/^#/,""))||t},getBoundary:function(){return this.boundary?this.boundary.$el||this.boundary:"scrollParent"},isInModal:function(){var e=this.getTarget();return e&&gr(Ka,e)},isDropdown:function(){var e=this.getTarget();return e&&_r(e,ts)},dropdownOpen:function(){var e=this.getTarget();return this.isDropdown()&&e&&br(rs,e)},clearHoverTimeout:function(){clearTimeout(this.$_hoverTimeout),this.$_hoverTimeout=null},clearVisibilityInterval:function(){clearInterval(this.$_visibleInterval),this.$_visibleInterval=null},clearActiveTriggers:function(){for(var e in this.activeTrigger)this.activeTrigger[e]=!1},addAriaDescribedby:function(){var e=this.getTarget(),t=Or(e,"aria-describedby")||"";t=t.split(/\s+/).concat(this.computedId).join(" ").trim(),kr(e,"aria-describedby",t)},removeAriaDescribedby:function(){var e=this,t=this.getTarget(),r=Or(t,"aria-describedby")||"";r=r.split(/\s+/).filter((function(t){return t!==e.computedId})).join(" ").trim(),r?kr(t,"aria-describedby",r):Er(t,"aria-describedby")},fixTitle:function(){var e=this.getTarget();if(Ar(e,"title")){var t=Or(e,"title");kr(e,"title",""),t&&kr(e,ns,t)}},restoreTitle:function(){var e=this.getTarget();if(Ar(e,ns)){var t=Or(e,ns);Er(e,ns),t&&kr(e,"title",t)}},buildEvent:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Ia(e,Ya({cancelable:!1,target:this.getTarget(),relatedTarget:this.getTemplateElement()||null,componentId:this.computedId,vueTarget:this},t))},emitEvent:function(e){var t=e.type;this.emitOnRoot($n(this.templateType,t),e),this.$emit(t,e)},listen:function(){var e=this,t=this.getTarget();t&&(this.setRootListener(!0),this.computedTriggers.forEach((function(r){"click"===r?Pn(t,"click",e.handleEvent,ze):"focus"===r?(Pn(t,"focusin",e.handleEvent,ze),Pn(t,"focusout",e.handleEvent,ze)):"blur"===r?Pn(t,"focusout",e.handleEvent,ze):"hover"===r&&(Pn(t,"mouseenter",e.handleEvent,ze),Pn(t,"mouseleave",e.handleEvent,ze))}),this))},unListen:function(){var e=this,t=["click","focusin","focusout","mouseenter","mouseleave"],r=this.getTarget();this.setRootListener(!1),t.forEach((function(t){r&&Cn(r,t,e.handleEvent,ze)}),this)},setRootListener:function(e){var t=this.$root;if(t){var r=e?"$on":"$off",n=this.templateType;t[r](Dn(n,Ee),this.doHide),t[r](Dn(n,Pe),this.doShow),t[r](Dn(n,be),this.doDisable),t[r](Dn(n,ye),this.doEnable)}},setWhileOpenListeners:function(e){this.setModalListener(e),this.setDropdownListener(e),this.visibleCheck(e),this.setOnTouchStartListener(e)},visibleCheck:function(e){var t=this;this.clearVisibilityInterval();var r=this.getTarget(),n=this.getTemplateElement();e&&(this.$_visibleInterval=setInterval((function(){!n||!t.localShow||r.parentNode&&pr(r)||t.forceHide()}),100))},setModalListener:function(e){this.isInModal()&&this.$root[e?"$on":"$off"](Xa,this.forceHide)},setOnTouchStartListener:function(e){var t=this;"ontouchstart"in document.documentElement&&Gt(document.body.children).forEach((function(r){Tn(e,r,"mouseover",t.$_noop)}))},setDropdownListener:function(e){var t=this.getTarget();t&&this.$root&&this.isDropdown&&t.__vue__&&t.__vue__[e?"$on":"$off"](Ce,this.forceHide)},handleEvent:function(e){var t=this.getTarget();if(t&&!hr(t)&&this.$_enabled&&!this.dropdownOpen()){var r=e.type,n=this.computedTriggers;if("click"===r&&Jt(n,"click"))this.click(e);else if("mouseenter"===r&&Jt(n,"hover"))this.enter(e);else if("focusin"===r&&Jt(n,"focus"))this.enter(e);else if("focusout"===r&&(Jt(n,"focus")||Jt(n,"blur"))||"mouseleave"===r&&Jt(n,"hover")){var o=this.getTemplateElement(),i=e.target,a=e.relatedTarget;if(o&&vr(o,i)&&vr(t,a)||o&&vr(t,i)&&vr(o,a)||o&&vr(o,i)&&vr(o,a)||vr(t,i)&&vr(t,a))return;this.leave(e)}}},doHide:function(e){e&&this.getTargetId()!==e&&this.computedId!==e||this.forceHide()},doShow:function(e){e&&this.getTargetId()!==e&&this.computedId!==e||this.show()},doDisable:function(e){e&&this.getTargetId()!==e&&this.computedId!==e||this.disable()},doEnable:function(e){e&&this.getTargetId()!==e&&this.computedId!==e||this.enable()},click:function(e){this.$_enabled&&!this.dropdownOpen()&&(Cr(e.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 e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;t&&(this.activeTrigger["focusin"===t.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"===e.$_hoverState?e.show():e.localShow||e.restoreTitle()}),this.computedDelay.show)):this.show())},leave:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;t&&(this.activeTrigger["focusout"===t.type?"focus":"hover"]=!1,"focusout"===t.type&&Jt(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"===e.$_hoverState&&e.hide()}),this.computedDelay.hide):this.hide())}}});function as(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ss(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?as(Object(r),!0).forEach((function(t){cs(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):as(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function cs(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ls="disabled",us=Ie+ls,ds="show",fs=Ie+ds,ps=_n((Ja={boundary:vn([Ot,Fe,We],"scrollParent"),boundaryPadding:vn(Ge,50),container:vn([Ot,Fe,We]),customClass:vn(We),delay:vn(Je,50)},cs(Ja,ls,vn(Le,!1)),cs(Ja,"fallbackPlacement",vn(Ve,"flip")),cs(Ja,"id",vn(We)),cs(Ja,"noFade",vn(Le,!1)),cs(Ja,"noninteractive",vn(Le,!1)),cs(Ja,"offset",vn(Ge,0)),cs(Ja,"placement",vn(We,"top")),cs(Ja,ds,vn(Le,!1)),cs(Ja,"target",vn([Ot,At,Ne,Fe,We],void 0,!0)),cs(Ja,"title",vn(We)),cs(Ja,"triggers",vn(Ve,"hover focus")),cs(Ja,"variant",vn(We)),Ja),ce),hs=u.a.extend({name:ce,mixins:[Sn],inheritAttrs:!1,props:ps,data:function(){return{localShow:this[ds],localTitle:"",localContent:""}},computed:{templateData:function(){return ss({title:this.localTitle,content:this.localContent,interactive:!this.noninteractive},Fr(this.$props,["boundary","boundaryPadding","container","customClass","delay","fallbackPlacement","id","noFade","offset","placement","target","target","triggers","variant",ls]))},templateTitleContent:function(){var e=this.title,t=this.content;return{title:e,content:t}}},watch:(Za={},cs(Za,ds,(function(e,t){e!==t&&e!==this.localShow&&this.$_toolpop&&(e?this.$_toolpop.show():this.$_toolpop.forceHide())})),cs(Za,ls,(function(e){e?this.doDisable():this.doEnable()})),cs(Za,"localShow",(function(e){this.$emit(fs,e)})),cs(Za,"templateData",(function(){var e=this;this.$nextTick((function(){e.$_toolpop&&e.$_toolpop.updateData(e.templateData)}))})),cs(Za,"templateTitleContent",(function(){this.$nextTick(this.updateContent)})),Za),created:function(){this.$_toolpop=null},updated:function(){this.$nextTick(this.updateContent)},beforeDestroy:function(){this.$off(je,this.doOpen),this.$off(he,this.doClose),this.$off(be,this.doDisable),this.$off(ye,this.doEnable),this.$_toolpop&&(this.$_toolpop.$destroy(),this.$_toolpop=null)},mounted:function(){var e=this;this.$nextTick((function(){var t=e.getComponent();e.updateContent();var r=Oa(e)||Oa(e.$parent),n=e.$_toolpop=new t({parent:e,_scopeId:r||void 0});n.updateData(e.templateData),n.$on(Pe,e.onShow),n.$on(Ce,e.onShown),n.$on(Ee,e.onHide),n.$on(ke,e.onHidden),n.$on(me,e.onDisabled),n.$on(we,e.onEnabled),e[ls]&&e.doDisable(),e.$on(je,e.doOpen),e.$on(he,e.doClose),e.$on(be,e.doDisable),e.$on(ye,e.doEnable),e.localShow&&n.show()}))},methods:{getComponent:function(){return is},updateContent:function(){this.setTitle(this.normalizeSlot()||this.title)},setTitle:function(e){e=Mt(e)?"":e,this.localTitle!==e&&(this.localTitle=e)},setContent:function(e){e=Mt(e)?"":e,this.localContent!==e&&(this.localContent=e)},onShow:function(e){this.$emit(Pe,e),e&&(this.localShow=!e.defaultPrevented)},onShown:function(e){this.localShow=!0,this.$emit(Ce,e)},onHide:function(e){this.$emit(Ee,e)},onHidden:function(e){this.$emit(ke,e),this.localShow=!1},onDisabled:function(e){e&&e.type===me&&(this.$emit(us,!0),this.$emit(me,e))},onEnabled:function(e){e&&e.type===we&&(this.$emit(us,!1),this.$emit(we,e))},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(e){return e()}});function bs(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ms={viewBox:"0 0 16 16",width:"1em",height:"1em",focusable:"false",role:"img","aria-label":"icon"},gs={width:null,height:null,focusable:null,role:null,"aria-label":null},vs={animation:vn(We),content:vn(We),flipH:vn(Le,!1),flipV:vn(Le,!1),fontScale:vn(Ge,1),rotate:vn(Ge,0),scale:vn(Ge,1),shiftH:vn(Ge,0),shiftV:vn(Ge,0),stacked:vn(Le,!1),title:vn(We),variant:vn(We)},ys=u.a.extend({name:re,functional:!0,props:vs,render:function(e,t){var r,n=t.data,o=t.props,i=t.children,a=o.animation,s=o.content,c=o.flipH,l=o.flipV,u=o.stacked,d=o.title,f=o.variant,p=Aa(Xt(o.fontScale,1),0)||1,h=Aa(Xt(o.scale,1),0)||1,b=Xt(o.rotate,0),m=Xt(o.shiftH,0),g=Xt(o.shiftV,0),v=c||l||1!==h,y=v||b,w=m||g,x=!Mt(s),_=[y?"translate(8 8)":null,v?"scale(".concat((c?-1:1)*h," ").concat((l?-1:1)*h,")"):null,b?"rotate(".concat(b,")"):null,y?"translate(-8 -8)":null].filter(fn),k=e("g",{attrs:{transform:_.join(" ")||null},domProps:x?{innerHTML:s||""}:{}},i);w&&(k=e("g",{attrs:{transform:"translate(".concat(16*m/16," ").concat(-16*g/16,")")}},[k])),u&&(k=e("g",[k]));var E=d?e("title",d):null,O=[E,k].filter(fn);return e("svg",W({staticClass:"b-icon bi",class:(r={},bs(r,"text-".concat(f),f),bs(r,"b-icon-animation-".concat(a),a),r),attrs:ms,style:u?{}:{fontSize:1===p?null:"".concat(100*p,"%")}},n,u?{attrs:gs}:{},{attrs:{xmlns:u?null:"http://www.w3.org/2000/svg",fill:"currentColor"}}),O)}}),ws=_n(Wr(vs,["content","stacked"]),te),xs=u.a.extend({name:te,functional:!0,props:ws,render:function(e,t){var r=t.data,n=t.props,o=t.children;return e(ys,W(r,{staticClass:"b-iconstack",props:n}),o)}});function _s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ks(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?_s(Object(r),!0).forEach((function(t){Es(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):_s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Es(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Os=function(e,t){var r=Qt(e),n="BIcon".concat(er(e)),o="bi-".concat(r),i=r.replace(/-/g," "),a=or(t||"");return u.a.extend({name:n,functional:!0,props:Wr(vs,["content"]),render:function(e,t){var r=t.data,n=t.props;return e(ys,W({props:{title:i},attrs:{"aria-label":i}},r,{staticClass:o,props:ks(ks({},n),{},{content:a})}))}})},As=Os("Check",'<path d="M10.97 4.97a.75.75 0 0 1 1.07 1.05l-3.99 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425a.267.267 0 0 1 .02-.022z"/>'),Ss=Os("CircleFill",'<circle cx="8" cy="8" r="8"/>'),js={name:"AccountHeader",mixins:[z],components:{BTooltip:hs,BIconstack:xs,BIconCircleFill:Ss,BIconCheck:As},props:{userIsConnected:{type:Boolean,required:!0}}},Ps=js,Cs=(r("e340"),ai(Ps,ka,Ea,!1,null,"f3cc50d8",null)),Ts=Cs.exports,Rs=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"align-self-center"},[e.shopIsNotLinked||e.shopIsLinkedAndUserIsTheSame?r("b-button",{staticClass:"float-right",attrs:{disabled:!e.validatedContext.user.isSuperAdmin,variant:"primary"},on:{click:function(t){return e.openLinkShopModal()}}},[e._v(" "+e._s(e.btnText)+" ")]):e._e(),e.cdcUiDisplayed?r("link-shop-modal",{attrs:{shop:e.shopToLinkPayload,"specific-ui-url":e.specificUiUrl,"on-boarding-link":e.validatedContext.onboardingLink,"accounts-ui-url":e.validatedContext.accountsUiUrl},on:{closed:e.closeOnBoarding}}):e._e()],1)},Is=[],$s=(r("caad"),r("25f0"),function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("transition",{attrs:{name:"fade"}},[r("div",{staticClass:"modal accounts-modal d-block"},[r("div",{staticClass:"crossdomain-container",attrs:{role:"document"}},[r("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:e.closeModal,expression:"closeModal"}],staticClass:"crossdomain"},[r("link-shop-crossdomain",{attrs:{specificUiUrl:e.specificUiUrl,shop:e.shop,onBoardingFinished:e.closeModal,onLogout:e.onLogout,accountsUiUrl:e.accountsUiUrl}})],1)])])])}),Ds=[],zs=r("c28b"),Ms=r.n(zs),Bs=r("b997"),Ls=Bs["create"]({tag:"crossdomains-account-link-shop",url:function(e){var t=e.props;return"".concat(t.accountsUiUrl).concat(t.specificUiUrl,"/?cdc=true")},context:"iframe",dimensions:{height:"100%",width:"100%"},props:{shop:{type:"object",required:!1},specificUiUrl:{type:"string",required:!0},onBoardingFinished:{type:"function",required:!1},onLogout:{type:"function",required:!1},accountsUiUrl:{type:"string",required:!0}}}),Ns={name:"Modal",components:{"link-shop-crossdomain":Ls.driver("vue",u.a)},directives:{clickOutside:Ms.a.directive},props:{shop:{type:Object,required:!0},specificUiUrl:{type:String,required:!0},onBoardingLink:{type:String,required:!0},accountsUiUrl:{type:String,required:!0}},methods:{closeModal:function(){this.$emit("closed")},onLogout:function(){this.$segment.reset()}},mounted:function(){var e=this;setTimeout((function(){if(document.querySelector(".crossdomain .zoid-invisible")){var t=btoa(JSON.stringify(e.shop)),r="".concat(e.accountsUiUrl).concat(e.specificUiUrl,"?shopPayload=").concat(t);window.location.assign(r)}}),6e4)}},Us=Ns,Fs=(r("990d"),ai(Us,$s,Ds,!1,null,"31ad07e2",null)),Ws=Fs.exports,qs={reonboard:"reonboardButton",associate:"connectButton",manageAccount:"manageAccountTooltip"},Vs={name:"AccountLinkToUi",mixins:[z],components:{BButton:Qo,LinkShopModal:Ws},props:{validatedContext:{type:Object,required:!0},userIsConnected:{type:Boolean,required:!0}},computed:{action:function(){return!0===this.validatedContext.isOnboardedV4?"reonboard":this.userIsConnected?"manageAccount":"associate"},specificUiUrl:function(){return this.validatedContext.user.email&&!this.validatedContext.isOnboardedV4?"/shop":""},shopIsNotLinked:function(){return null===this.validatedContext.currentShop.employeeId},shopIsLinkedAndUserIsTheSame:function(){return parseInt(this.validatedContext.currentShop.employeeId,10)===this.validatedContext.backendUser.employeeId},btnText:function(){return this.t("psaccounts.account.".concat(qs[this.action]))},shopToLinkPayload:function(){return c(c({},this.validatedContext.currentShop),{},{employeeId:this.validatedContext.backendUser.employeeId.toString()})}},data:function(){return{cdcUiDisplayed:!1}},methods:{openLinkShopModal:function(){this.track(),this.cdcUiDisplayed=!0},closeOnBoarding:function(){this.cdcUiDisplayed=!1,window.location.reload()},track:function(){var e=["reonboard","associate"].includes(this.action)?"[ACC] Associate Button Clicked":"[ACC] Manage Account Button Clicked";this.$segment.track(e,{shop_bo_id:this.validatedContext.currentShop.id,ps_module_from:this.validatedContext.psxName,v4_onboarded:this.validatedContext.isOnboardedV4,multishop_numbers:this.validatedContext.shops.length||1})}}},Hs=Vs,Ys=ai(Hs,Rs,Is,!1,null,null,null),Gs=Ys.exports,Js=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("b-alert",{attrs:{variant:"info",show:""}},[r("div",{domProps:{innerHTML:e._s(e.t("psaccounts.account.moduleUpdateInformation"))}})])},Zs=[],Ks={name:"ModuleUpdatedInformation",mixins:[z],components:{BAlert:oo}},Xs=Ks,Qs=ai(Xs,Js,Zs,!1,null,null,null),ec=Qs.exports,tc=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("b-alert",{attrs:{variant:"warning",show:""}},[r("div",{domProps:{innerHTML:e._s(e.t("psaccounts.account.emailNotVerified"))}}),r("div",{staticClass:"d-flex justify-content-end mt-2"},[r("b-button",{attrs:{variant:"primary"},on:{click:function(t){return e.sendEmailConfirmation()}}},[e._v(" "+e._s(e.t("psaccounts.account.sendEmail"))+" ")])],1)])},rc=[],nc={name:"AccountUserEmailNotValidated",mixins:[z],components:{BAlert:oo,BButton:Qo},props:{validatedContext:{type:Object,required:!0}},methods:{sendEmailConfirmation:function(){this.$segment.track("[ACC] Link Resend Email Validation Clicked",{shop_bo_id:this.validatedContext.currentShop.id,ps_module_from:this.validatedContext.psxName,v4_onboarded:this.validatedContext.isOnboardedV4,multishop_numbers:this.validatedContext.shops.length||1}),window.open(this.validatedContext.ssoResendVerificationEmail,"_blank")}}},oc=nc,ic=ai(oc,tc,rc,!1,null,null,null),ac=ic.exports,sc=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("b-alert",{staticClass:"mt-4",attrs:{variant:"warning",show:""}},[r("p",[e._v(e._s(e.t("psaccounts.account.needToBeAdmin")))]),e.adminEmail?r("p",[e._v(" "+e._s(e.t("psaccounts.account.pleaseContact"))+" "),r("a",{attrs:{href:"mailto:"+e.validatedContext.superAdminEmail},on:{click:e.trackClick}},[e._v(" "+e._s(e.validatedContext.superAdminEmail)+" ")])]):e._e()])},cc=[],lc={name:"AccountUserNotSuperAdmin",mixins:[z],components:{BAlert:oo},props:{validatedContext:{type:Object,required:!0}},methods:{trackClick:function(){this.$segment.track("[ACC] Link Contact Admin Clicked",{shop_bo_id:this.validatedContext.currentShop.id,ps_module_from:this.validatedContext.psxName})}}},uc=lc,dc=ai(uc,sc,cc,!1,null,null,null),fc=dc.exports,pc=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"d-flex flex-grow-1"},[n("img",{staticClass:"mr-2 align-self-center",attrs:{src:r("ecb9"),width:"46"}}),n("div",{staticClass:"align-self-center"},[e.userIsConnected?[n("span",{staticClass:"align-middle"},[e._v(e._s(e.t("psaccounts.account.authorized")))]),n("br"),n("span",{staticClass:"text-muted"},[e._v(e._s(e.validatedContext.user.email))])]:n("span",{staticClass:"align-middle"},[e._v(" "+e._s(e.t("psaccounts.account.authorize"))+" ")])],2)])},hc=[],bc={name:"AccountShopLinkMessage",mixins:[z],props:{validatedContext:{type:Object,required:!0},userIsConnected:{type:Boolean,required:!0}}},mc=bc,gc=ai(mc,pc,hc,!1,null,null,null),vc=gc.exports,yc={name:"Account",mixins:[z],components:{BCard:_a,BCardBody:ea,AccountHeader:Ts,AccountLinkToUi:Gs,ModuleUpdateInformation:ec,AccountUserEmailNotValidated:ac,AccountUserNotSuperAdmin:fc,AccountShopLinkMessage:vc},props:{validatedContext:{type:Object,required:!0}},computed:{userIsConnected:function(){return null!==this.validatedContext.user.email},userIsSameAsCurrentShopuser:function(){var e=this.validatedContext.backendUser.employeeId,t=parseInt(this.validatedContext.currentShop.employeeId,10);return e===t},userEmailIsValidated:function(){return this.validatedContext.user.emailIsValidated}}},wc=yc,xc=(r("f3f9"),ai(wc,Fi,Wi,!1,null,"74da2296",null)),_c=xc.exports,kc=r("4147"),Ec=r("724e"),Oc=r.n(Ec),Ac=Oc.a.object().keys({id:Oc.a.string().required(),name:Oc.a.string().required().min(1).max(128),url:Oc.a.string().uri().required(),domain:Oc.a.string().pattern(/([a-z0-9]+(-[a-z0-9]+)*)+/i,"domain").required(),domainSsl:Oc.a.string().pattern(/([a-z0-9]+(-[a-z0-9]+)*)+/i,"domainSsl").required(),uuid:Oc.a.string().allow(null).required(),physicalUri:Oc.a.string().required()}).unknown(!0),Sc=Oc.a.object().keys({id:Oc.a.string().required(),name:Oc.a.string().required().min(1).max(128),shops:Oc.a.array().items(Ac).min(1).max(128).required()}).unknown(!0),jc=Oc.a.object().keys({uuid:Oc.a.string().allow(null).required(),email:Oc.a.string().email({tlds:!1}).allow(null).default(null),isSuperAdmin:Oc.a.boolean().required()}).unknown(!0),Pc=Oc.a.object().keys({email:Oc.a.string().email({tlds:!1}).allow(null).default(null),employeeId:Oc.a.number(),isSuperAdmin:Oc.a.boolean().required()}).unknown(!0),Cc=Oc.a.object().keys({psIs17:Oc.a.boolean().required(),psAccountsIsInstalled:Oc.a.boolean().default(!0),psAccountsIsUptodate:Oc.a.boolean().default(!0),psAccountsIsEnabled:Oc.a.boolean().default(!0),isOnboardedV4:Oc.a.boolean(),psAccountsInstallLink:Oc.a.string().uri().allow(null).default(null),psAccountsEnableLink:Oc.a.string().uri().allow(null).default(null),psAccountsUpdateLink:Oc.a.string().uri().allow(null).default(null),currentShop:Ac.optional().allow(null).default(null),shops:Oc.a.array().items(Sc).required().min(0).max(128),user:jc.optional().allow({}).default({email:null}),backendUser:Pc.optional().allow({}).default({}),onboardingLink:Oc.a.string().uri().optional().allow(null).allow("").default(null),superAdminEmail:Oc.a.string().email({tlds:!1}).allow(null).default(null),ssoResendVerificationEmail:Oc.a.string().uri().optional().allow(null).allow("").default(null),manageAccountLink:Oc.a.string().uri().optional().allow(null).allow("").default(null),accountsUiUrl:Oc.a.string().allow(null).default(null),segmentApiKey:Oc.a.string().allow(null).default(null)}).unknown(!0),Tc=(r("2dd8"),{name:"PsAccounts",components:{PsAccountComponentAlertDisplay:Ui,Account:_c,BOverlay:Ii,BAlert:oo},mixins:[z],props:{context:{type:Object,required:!1,default:function(){return kc["a"]}}},computed:{userIsConnected:function(){return null!==this.validatedContext.user.email},userIsSameAsCurrentShopuser:function(){var e=this.validatedContext.backendUser.employeeId,t=parseInt(this.validatedContext.currentShop.employeeId,10);return e===t},userEmailIsValidated:function(){return this.validatedContext.user.emailIsValidated},userLoggedHasEmailVerified:function(){return this.userIsConnected&&this.userIsSameAsCurrentShopuser&&this.userEmailIsValidated},eventbusIsInstalled:function(){return void 0===this.validatedContext.dependencies||this.validatedContext.dependencies.ps_eventbus.isInstalled},psAccountModuleState:function(){return this.validatedContext.psAccountsIsUptodate?this.validatedContext.psAccountsIsEnabled?this.validatedContext.psAccountsIsInstalled?"to_install":"installed":"to_enable":"to_update"},hasBlockingAlert:function(){return!this.validatedContext.psAccountsIsInstalled||!this.validatedContext.psAccountsIsUptodate||!this.validatedContext.psAccountsIsEnabled}},data:function(){return{validationErrors:[],validatedContext:this.context,hasError:!1}},methods:{validateContext:function(){var e=Cc.validate(this.context),t=e.value,r=e.error;this.validationErrors=[],this.validatedContext=t,r&&(this.validationErrors=r.details.map((function(e){return e.message})))},track:function(){this.trackUser(),this.trackComponent()},trackUser:function(){var e,t=[];this.userIsConnected&&this.validatedContext.user.uuid&&t.push(this.validatedContext.user.uuid),t.push({superadmin:this.validatedContext.user.isSuperAdmin,email:this.validatedContext.user.email||this.validatedContext.backendUser.email,email_verified:this.userLoggedHasEmailVerified,v4_onboarded:this.validatedContext.isOnboardedV4,shops:this.validatedContext.shops,multishop_numbers:this.validatedContext.shops.length||1}),(e=this.$segment).identify.apply(e,t)},trackComponent:function(){var e=this.validatedContext.currentShop.domain_ssl?this.validatedContext.currentShop.domain_ssl:this.validatedContext.currentShop.domain;e+=this.validatedContext.currentShop.physicalUri,this.$segment.track("[ACC] Account Component Viewed",{shop_bo_id:this.validatedContext.currentShop.id,ps_module_from:this.validatedContext.psxName,shop_associated:null!==this.validatedContext.currentShop.uuid,v4_onboarded:this.validatedContext.isOnboardedV4,ps_eventbus_installed:this.eventbusIsInstalled,ps_account_module_state:this.psAccountModuleState,shops:this.validatedContext.shops,multishop_numbers:this.validatedContext.shops.length||1,current_shop:this.validatedContext.currentShop,shop_url:e})}},created:function(){this.validateContext(),this.track()}}),Rc=Tc,Ic=ai(Rc,d,f,!1,null,null,null),$c=Ic.exports,Dc=function(){var e=kc["a"]?kc["a"].user:{};return!!(e.email&&"string"===typeof e.email&&e.email.length>0&&!0===e.isSuperAdmin)},zc=r("b592"),Mc=r.n(zc),Bc=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.locale&&$(t.locale),t.i18n&&D(t.i18n),Object.keys(Lc).forEach((function(t){e.component(t,Lc[t])}))};
/*!
* BootstrapVue Icons, generated from Bootstrap Icons 1.2.2
*
* @link https://icons.getbootstrap.com/
* @license MIT
* https://github.com/twbs/icons/blob/master/LICENSE.md
*/u.a.use(Mc.a,{id:contextPsAccounts.segmentApiKey,pageCategory:"ps_accounts-ui"});var Lc={PsAccounts:$c,Account:_c,AccountNotInstalled:bi,AccountNotEnabled:ci,EventBusNotInstalled:Mi};"undefined"!==typeof window&&window.Vue?Bc(window.Vue):Object.keys(Lc).forEach((function(e){u.a.component(e,Lc[e])}));var Nc=c({version:"0.1.4",locale:$,i18n:D,install:Bc,isOnboardingCompleted:Dc},Lc);t["default"]=Nc},fc6a:function(e,t,r){var n=r("44ad"),o=r("1d80");e.exports=function(e){return n(o(e))}},fc89:function(e){e.exports=JSON.parse('{"psaccounts":{"accountManager":{"errorInstallEnable":"Es ist ein Fehler aufgetreten. Bitte versuchen Sie es erneut."},"alertAccountNotInstalled":{"title":"Installieren Sie das Modul PrestaShop Account","message":"Das Modul PrestaShop account ist notwendig, um die Konfiguration dieses Moduls fortzusetzen.","installButton":"Installationsprogramm","loading":"Installation des Moduls PrestaShop Account in Arbeit..."},"alertAccountNotEnabled":{"title":"Aktivieren Sie das Modul PrestaShop Account","message":"Das Modul PrestaShop account ist notwendig, um die Konfiguration dieses Moduls fortzusetzen.","enableButton":"Aktivator","loading":"Aktivierung des Moduls PrestaShop Account in Arbeit..."},"multiShopSelector":{"title":"Modus Multi-Boutiquen aktiviert","subtitle":"Für diesen Dienst müssen Sie Ihre Filialen einzeln konfigurieren, können jedoch dasselbe Konto verwenden.","selectStore":"Bitte wählen Sie eine Premierenboutique zum Anspruch an der unten stehenden Liste","tips":"In der ersten konfigurierten Boutique können Sie sich bei der Auswahl der weiteren Boutiquen ebenso wie bei der Auswahl der Boutiquen mit horizontaler Menüführung an die weiteren Boutiquen wenden.","configure":"Konfigurator","group":""},"account":{"title":"Verknüpfen Sie Ihren Shop mit einem PrestaShop-Konto","authorize":"Sie können Ihren Shop nur mit einem Konto verknüpfen. Wählen Sie das richtige Konto!","authorized":"Ihr Shop ist mit dem PrestaShop-Konto verbunden:","connectButton":"Verknüpfen","reonboardButton":"Neu zuordnen","disconnectButton":"Benutze ein anderes Konto","moduleUpdateInformation":"<strong>Neues Update:</strong> Sie können Ihre zugeordneten Shops verwalten.<br /> Bitte melden Sie sich mit <strong>der gleichen E-Mail-Adresse erneut an,</strong> um von diesem Update zu profitieren.<br /> Andere Modul-Updates sind möglicherweise auf der Registerkarte \\"Updates\\" des Modul-Managers verfügbar.","emailNotVerified":"Eine Bestätigungs-E-Mail wurde gesendet. Überprüfen Sie Ihren Posteingang und klicken Sie auf den Link, um Ihr Konto zu aktivieren.","sendEmail":"Erneut senden","needToBeAdmin":"Um fortzufahren, müssen Sie Administrator des Geschäfts sein","pleaseContact":"Vielen Dank für den Kontakt","manageAccountTooltip":"Manage account"},"alertEventBusNotInstalled":{"title":"Installieren Sie das Modul Prestashop Event Bus","message":"Das Modul Prestashop Event Bus ist notwendig, um die Konfiguration dieses Moduls fortzusetzen.","loading":"Installation des Moduls Prestashop Event Bus in Arbeit..."}}}')},fdbc:function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(e,t,r){var n=r("4930");e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},fea9:function(e,t,r){var n=r("da84");e.exports=n.Promise}})},bccb:function(e,t,r){var n=r("deea");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var o=r("499e").default;o("9df637ec",n,!0,{sourceMap:!1,shadowMode:!1})},c950:function(e,t,r){var n=r("eab6");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var o=r("499e").default;o("2917208f",n,!0,{sourceMap:!1,shadowMode:!1})},deea:function(e,t,r){var n=r("24fb");t=n(!1),t.push([e.i,".config-information[data-v-cd07c63a]{display:flex!important;flex-direction:column!important;justify-content:space-around!important;padding:1rem!important;--bg-opacity:1!important;background-color:#011638!important;background-color:rgba(1,22,56,var(--bg-opacity))!important;border-radius:.25rem!important}.config-information .titleWrapper[data-v-cd07c63a]{flex:1 1 0%!important;display:flex!important;justify-content:flex-start!important;align-items:center!important}.config-information .logo[data-v-cd07c63a]{width:2.5rem!important;height:2.5rem!important;margin-right:.5rem!important}.config-information .title[data-v-cd07c63a]{margin:0!important;--text-opacity:1!important;color:#fff!important;color:rgba(255,255,255,var(--text-opacity))!important;font-size:1rem!important}.config-information .description[data-v-cd07c63a]{flex:1 1 0%!important;margin-top:1rem!important}.config-information .text[data-v-cd07c63a]{margin:0!important;font-size:.875rem!important;--text-opacity:1!important;color:#fff!important;color:rgba(255,255,255,var(--text-opacity))!important}@media (min-width:768px){.config-information[data-v-cd07c63a]{flex-direction:row!important;align-items:center!important;padding:2rem!important}.config-information .logo[data-v-cd07c63a]{margin-right:1rem!important}.config-information .title[data-v-cd07c63a]{display:flex!important;flex-direction:column!important}.config-information .description[data-v-cd07c63a]{margin-top:0!important}.config-information .text[data-v-cd07c63a]{font-size:1.5rem!important}}@media (min-width:1024px){.config-information[data-v-cd07c63a]{padding-left:3rem!important;padding-right:3rem!important;padding-top:4rem!important;padding-bottom:4rem!important}.config-information .title[data-v-cd07c63a]{display:block!important}}",""]),e.exports=t},eab6:function(e,t,r){var n=r("24fb");t=n(!1),t.push([e.i,".onboarding[data-v-34fbe53d]{max-width:72rem!important;margin-left:auto!important;margin-right:auto!important}.onboarding-header[data-v-34fbe53d]{margin-bottom:1rem!important}",""]),e.exports=t}}]);