New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@engie-group/fluid-design-system

Package Overview
Dependencies
Maintainers
3
Versions
99
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@engie-group/fluid-design-system - npm Package Compare versions

Comparing version

to
4.3.0

10

CHANGELOG.md

@@ -7,2 +7,11 @@ # Changelog

## 📦 v4.3.0 - 2021-02-02
### 🚀 Added
* auto-init.js handles component destroy on removal
* Possible to add placeholder attribute with input label floating
* Components unit test available from tests folder
### 🐛 Fixed
* auto-init.js init all components including tooltips and bug
* Placeholder input focus color changed to `--nj-color-text-body`
## 📦 v4.2.2 - 2020-12-04

@@ -16,2 +25,3 @@ ### 🚀 Changed

* Dropdown arrow visibility
* auto-init.js destroys components on remove

@@ -18,0 +28,0 @@ ## 📦 v4.2.0 - 2020.11.10

5

lib-esm/auto-init.d.ts

@@ -5,7 +5,10 @@ /**

* - add root id to the top container (id="root")
* - import in your code or via script tag lib/fluid-design-system.js then lib/auto-init.js
* - import inside your code or via script tag lib/fluid-design-system.js then lib/auto-init.js
* - do not use custom tag (otherwise you must use custom elements )
* - no need to import webcomponentsjs and custom elements adapters
*
* For fluid developers:
* do not forget to add New JS component names inside componentNames array. Follow NEW_COMPONENT code tag
*/
declare const autoInit: void;
export default autoInit;

100

lib-esm/auto-init.js

@@ -5,25 +5,95 @@ /**

* - add root id to the top container (id="root")
* - import in your code or via script tag lib/fluid-design-system.js then lib/auto-init.js
* - import inside your code or via script tag lib/fluid-design-system.js then lib/auto-init.js
* - do not use custom tag (otherwise you must use custom elements )
* - no need to import webcomponentsjs and custom elements adapters
*
* For fluid developers:
* do not forget to add New JS component names inside componentNames array. Follow NEW_COMPONENT code tag
*/
const componentNames = [
'Alert',
'Checkbox',
'Collapse',
'Dropdown',
'Fab',
'Form',
'Header',
'Modal',
'Navbar',
'Radio',
'Select',
'Sidebar',
'Slider',
'Tab',
'Tag',
'Tooltip'
];
// NEW_COMPONENT add library name here
const autoInit = (function () {
if (typeof window !== 'undefined') {
const NJ = window.NJ;
function init() {
if (window.NJ)
window.NJ.AutoInit();
else {
const len = componentNames.length;
let i = 0;
for (; i < len; i++) {
if (window[componentNames[i]]) {
window[componentNames[i]].init();
}
}
}
}
function initTooltip(element) {
if (element && element.getAttribute && element.getAttribute('data-toggle') === 'tooltip') {
const Tooltip = window.Tooltip || window.NJ.Tooltip;
// eslint-disable-next-line @typescript-eslint/ban-ts-ignore
// @ts-ignore
// eslint-disable-next-line no-new
if (Tooltip)
new Tooltip(element);
return true;
}
return false;
}
document.addEventListener('DOMContentLoaded', function () {
if (window.NJ) {
NJ.AutoInit();
const targetNode = document.getElementById('root');
if (targetNode) {
const config = { attributes: false, childList: true, subtree: true };
const callback = (mutationsList) => {
for (let i = 0, len = mutationsList.length; i < len; i++) {
if (mutationsList[i].type === 'childList' && mutationsList[i].addedNodes.length) {
NJ.AutoInit();
init();
const tooltips = document.querySelectorAll('[data-toggle="tooltip"]');
for (let i = 0; i < tooltips.length; i++) {
initTooltip(tooltips[i]);
}
const targetNode = document.getElementById('root');
if (targetNode) {
const config = { attributes: false, childList: true, subtree: true };
const callback = (mutationsList) => {
for (let i = 0, len = mutationsList.length; i < len; i++) {
if (mutationsList[i].type === 'childList' && mutationsList[i].addedNodes.length) {
let isNeededInit = false;
for (let j = 0; j < mutationsList[i].addedNodes.length; j++) {
const element = mutationsList[i].addedNodes[j];
const parent = element.parentNode;
const grandParent = parent.parentNode;
if (!element.key && !parent.key && !grandParent.key) {
const htmlElement = mutationsList[i].addedNodes[j];
const isTooltip = initTooltip(htmlElement);
if (!isTooltip)
isNeededInit = true;
}
}
if (isNeededInit)
init();
}
};
const observer = new MutationObserver(callback);
observer.observe(targetNode, config);
}
if (mutationsList[i].type === 'childList' && mutationsList[i].removedNodes.length) {
for (let j = 0; j < mutationsList[i].removedNodes.length; j++) {
const element = mutationsList[i].removedNodes[j];
if (element.key) {
if (element.key)
window.NJStore[element.key.id].dispose();
}
}
}
}
};
const observer = new MutationObserver(callback);
observer.observe(targetNode, config);
}

@@ -30,0 +100,0 @@ });

@@ -15,2 +15,3 @@ /**

super(Alert, element);
Data.setData(element, Alert.DATA_KEY, this);
this.setListeners();

@@ -17,0 +18,0 @@ }

@@ -12,2 +12,3 @@ /**

protected static readonly SELECTOR: {
root: string;
default: string;

@@ -14,0 +15,0 @@ formGroup: string;

@@ -15,2 +15,5 @@ /**

Data.setData(element, Checkbox.DATA_KEY, this);
const parent = element.parentNode;
const grandParent = parent.parentNode;
Data.setData(grandParent, Checkbox.DATA_KEY, this);
}

@@ -34,2 +37,3 @@ dispose() {

Checkbox.SELECTOR = {
root: `.${Checkbox.NAME}`,
default: `.${Checkbox.NAME} > label > input[type=checkbox]`,

@@ -36,0 +40,0 @@ formGroup: AbstractFormBaseSelection.SELECTOR.formGroup,

@@ -34,3 +34,3 @@ /**

}
Data.setData(element, Collapse.DATA_KEY, this);
// Data.setData(element, Collapse.DATA_KEY, this);
if (this.options.toggle) {

@@ -37,0 +37,0 @@ this.toggle();

@@ -11,3 +11,3 @@ /**

protected static readonly DATA_KEY: string;
protected static readonly SELECTOR: {
static readonly SELECTOR: {
default: string;

@@ -14,0 +14,0 @@ input: string;

@@ -94,4 +94,6 @@ /**

dispose() {
this.element.querySelector(Autocomplete.SELECTOR.list).removeEventListener('click', this.onSelectListItem);
this.element.querySelector(Autocomplete.SELECTOR.input).removeEventListener('input', this.onInputChange);
if (this.element && this.element.querySelector(Autocomplete.SELECTOR.list))
this.element.querySelector(Autocomplete.SELECTOR.list).removeEventListener('click', this.onSelectListItem);
if (this.element && this.element.querySelector(Autocomplete.SELECTOR.input))
this.element.querySelector(Autocomplete.SELECTOR.input).removeEventListener('input', this.onInputChange);
Data.removeData(this.element, Autocomplete.DATA_KEY);

@@ -98,0 +100,0 @@ this.element = null;

@@ -7,3 +7,6 @@ export default class Form {

static Autocomplete: object;
static init(optionsPassword?: {}, optionsSearch?: {}, optionsText?: {}, optionsTextarea?: {}): void;
protected static readonly SELECTOR: {
default: string;
};
static init(optionsPassword?: {}, optionsSearch?: {}, optionsText?: {}, optionsTextarea?: {}): Form[];
}

@@ -10,0 +13,0 @@ export declare class FormWC {

@@ -8,7 +8,8 @@ import Autocomplete, { AutocompleteWC } from './autocomplete';

static init(optionsPassword = {}, optionsSearch = {}, optionsText = {}, optionsTextarea = {}) {
PasswordInput.init(optionsPassword);
SearchInput.init(optionsSearch);
TextInput.init(optionsText);
TextareaInput.init(optionsTextarea);
Autocomplete.init();
const passwordInput = PasswordInput.init(optionsPassword);
const searchInput = SearchInput.init(optionsSearch);
const textInput = TextInput.init(optionsText);
const textareaInput = TextareaInput.init(optionsTextarea);
const autocomplete = Autocomplete.init();
return [passwordInput, searchInput, textInput, textareaInput, autocomplete];
}

@@ -21,2 +22,5 @@ }

Form.Autocomplete = Autocomplete;
Form.SELECTOR = {
default: `${TextInput.SELECTOR.default}, ${SearchInput.SELECTOR.default}, ${TextareaInput.SELECTOR.default}, ${Autocomplete.SELECTOR.default}`
};
export class FormWC {

@@ -23,0 +27,0 @@ static init() {

@@ -11,3 +11,3 @@ /**

protected static readonly DATA_KEY: string;
protected static readonly SELECTOR: {
static readonly SELECTOR: {
default: string;

@@ -14,0 +14,0 @@ };

@@ -11,3 +11,3 @@ /**

protected static readonly DATA_KEY: string;
protected static readonly SELECTOR: {
static readonly SELECTOR: {
default: string;

@@ -14,0 +14,0 @@ };

@@ -11,3 +11,3 @@ /**

protected static readonly DATA_KEY: string;
protected static readonly SELECTOR: {
static readonly SELECTOR: {
default: string;

@@ -14,0 +14,0 @@ formGroup: string;

@@ -11,3 +11,3 @@ /**

protected static readonly DATA_KEY: string;
protected static readonly SELECTOR: {
static readonly SELECTOR: {
default: string;

@@ -14,0 +14,0 @@ formGroup: string;

@@ -12,3 +12,3 @@ /**

private static readonly CLASS_NAME;
protected static readonly SELECTOR: {
static readonly SELECTOR: {
default: string;

@@ -15,0 +15,0 @@ };

@@ -17,2 +17,6 @@ /**

super(Radio, element, Manipulator.extend(true, Radio.DEFAULT_OPTIONS, options), properties);
Data.setData(element, Radio.DATA_KEY, this);
const parent = element.parentNode;
const grandParent = parent.parentNode;
Data.setData(grandParent, Radio.DATA_KEY, this);
}

@@ -19,0 +23,0 @@ dispose() {

@@ -16,2 +16,3 @@ /**

this.addIsFilled();
Data.setData(element, Select.DATA_KEY, this);
}

@@ -18,0 +19,0 @@ dispose() {

@@ -88,3 +88,2 @@ /**

EventHandler.off(this.element, 'input change keyup');
EventHandler.off(this.element, 'input change keyup');
EventHandler.off(document, 'resize');

@@ -91,0 +90,0 @@ Data.removeData(this.element, Slider.DATA_KEY);

@@ -19,2 +19,5 @@ /**

};
protected static readonly SELECTOR: {
default: string;
};
private readonly tabs;

@@ -21,0 +24,0 @@ currentIndex: number;

@@ -89,3 +89,3 @@ /**

static init(options = {}) {
return super.init(this, options, Tab.CLASS_NAME.component);
return super.init(this, options, Tab.SELECTOR.default);
}

@@ -103,2 +103,5 @@ }

};
Tab.SELECTOR = {
default: `.${Tab.NAME}`
};
export class TabWC extends WebComponentFactory {

@@ -105,0 +108,0 @@ constructor() {

@@ -33,2 +33,3 @@ import { Placement } from 'popper.js';

arrow: string;
tooltip: string;
};

@@ -35,0 +36,0 @@ private static readonly TRIGGER;

@@ -508,3 +508,4 @@ /**

inner: `.${Tooltip.CLASS_NAME.inner}`,
arrow: `.${Tooltip.CLASS_NAME.arrow}`
arrow: `.${Tooltip.CLASS_NAME.arrow}`,
tooltip: `.${Core.KEY_PREFIX}-tooltip`
};

@@ -511,0 +512,0 @@ Tooltip.TRIGGER = {

@@ -29,2 +29,3 @@ import '@webcomponents/webcomponentsjs/custom-elements-es5-adapter';

export default class NJ {
// NEW_COMPONENT add component here
/**

@@ -63,2 +64,3 @@ * Initialize the components listed in the AUTOINIT_COMPONENTS variable

];
// NEW_COMPONENT add component here
// Makes components API available

@@ -82,2 +84,3 @@ NJ.Alert = Alert;

export class NJWC {
// NEW_COMPONENT add webcomponent here
static AutoInit() {

@@ -111,2 +114,3 @@ try {

];
// NEW_COMPONENT add webcomponent here
NJWC.AlertWC = AlertWC;

@@ -113,0 +117,0 @@ NJWC.CheckboxWC = CheckboxWC;

@@ -67,3 +67,4 @@ import Alert, { AlertWC } from './components/alert';

NJ: any;
Tooltip: Tooltip;
}
}

@@ -21,2 +21,3 @@ import Alert, { AlertWC } from './components/alert';

export default class NJ {
// NEW_COMPONENT add component name here
/**

@@ -55,2 +56,3 @@ * Initialize the components listed in the AUTOINIT_COMPONENTS variable

];
// NEW_COMPONENT add component name here
// Makes components API available

@@ -74,2 +76,3 @@ NJ.Alert = Alert;

export class NJWC {
// NEW_COMPONENT add webcomponent here
static AutoInit() {

@@ -103,2 +106,3 @@ try {

];
// NEW_COMPONENT add webcomponent here
NJWC.AlertWC = AlertWC;

@@ -105,0 +109,0 @@ NJWC.CheckboxWC = CheckboxWC;

@@ -1,12 +0,12 @@

/**
* --------------------------------------------------------------------------
* Fork from Bootstrap (v4-without-jquery): dom/data.js
* --------------------------------------------------------------------------
*/
import AbstractComponent from './abstract-component';
declare const Data: {
setData(instance: any, key: string, data: AbstractComponent): void;
getData(instance: any, key: string): AbstractComponent;
getData(element: any, key: any): AbstractComponent;
removeData(instance: any, key: string): void;
};
export default Data;
declare global {
interface Window {
NJStore: any;
}
}

@@ -1,9 +0,4 @@

/**
* --------------------------------------------------------------------------
* Fork from Bootstrap (v4-without-jquery): dom/data.js
* --------------------------------------------------------------------------
*/
window.NJStore = window.NJStore || [];
const mapData = (() => {
const storeData = {};
let id = 1;
const storeData = window.NJStore;
return {

@@ -14,5 +9,4 @@ set(element, key, data) {

key,
id
id: storeData.length
};
id++;
}

@@ -22,9 +16,7 @@ storeData[element.key.id] = data;

get(element, key) {
if (!element || typeof element.key === 'undefined') {
return null;
if (element.key && !key.id)
key = element.key;
if (key && key.id) {
return storeData[key.id];
}
const keyProperties = element.key;
if (keyProperties.key === key) {
return storeData[keyProperties.id];
}
return null;

@@ -48,4 +40,4 @@ },

},
getData(instance, key) {
return mapData.get(instance, key);
getData(element, key) {
return mapData.get(element, key);
},

@@ -52,0 +44,0 @@ removeData(instance, key) {

@@ -5,7 +5,10 @@ /**

* - add root id to the top container (id="root")
* - import in your code or via script tag lib/fluid-design-system.js then lib/auto-init.js
* - import inside your code or via script tag lib/fluid-design-system.js then lib/auto-init.js
* - do not use custom tag (otherwise you must use custom elements )
* - no need to import webcomponentsjs and custom elements adapters
*
* For fluid developers:
* do not forget to add New JS component names inside componentNames array. Follow NEW_COMPONENT code tag
*/
declare const autoInit: void;
export default autoInit;

@@ -1,2 +0,1 @@

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("NJ_autoInit",[],t):"object"==typeof exports?exports.NJ_autoInit=t():e.NJ_autoInit=t()}(window,(function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";n.r(t);const o=function(){if("undefined"!=typeof window){const e=window.NJ;document.addEventListener("DOMContentLoaded",(function(){if(window.NJ){e.AutoInit();const t=document.getElementById("root");if(t){const n={attributes:!1,childList:!0,subtree:!0};new MutationObserver(t=>{for(let n=0,o=t.length;n<o;n++)"childList"===t[n].type&&t[n].addedNodes.length&&e.AutoInit()}).observe(t,n)}}}))}}();t.default=o}]).default}));
//# sourceMappingURL=auto-init.js.map
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("NJ_autoInit",[],t):"object"==typeof exports?exports.NJ_autoInit=t():e.NJ_autoInit=t()}(window,(function(){return function(e){var t={};function o(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,o),r.l=!0,r.exports}return o.m=e,o.c=t,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)o.d(n,r,function(t){return e[t]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=0)}([function(e,t,o){"use strict";o.r(t);var n=["Alert","Checkbox","Collapse","Dropdown","Fab","Form","Header","Modal","Navbar","Radio","Select","Sidebar","Slider","Tab","Tag","Tooltip"],r=function(){if("undefined"!=typeof window){function e(){if(window.NJ)window.NJ.AutoInit();else for(var e=n.length,t=0;t<e;t++)window[n[t]]&&window[n[t]].init()}function t(e){if(e&&e.getAttribute&&"tooltip"===e.getAttribute("data-toggle")){var t=window.Tooltip||window.NJ.Tooltip;return t&&new t(e),!0}return!1}document.addEventListener("DOMContentLoaded",(function(){e();for(var o=document.querySelectorAll('[data-toggle="tooltip"]'),n=0;n<o.length;n++)t(o[n]);var r=document.getElementById("root");if(r){new MutationObserver((function(o){for(var n=0,r=o.length;n<r;n++){if("childList"===o[n].type&&o[n].addedNodes.length){for(var i=!1,d=0;d<o[n].addedNodes.length;d++){var u=o[n].addedNodes[d],a=u.parentNode,f=a.parentNode;if(!u.key&&!a.key&&!f.key)t(o[n].addedNodes[d])||(i=!0)}i&&e()}if("childList"===o[n].type&&o[n].removedNodes.length)for(var l=0;l<o[n].removedNodes.length;l++){var c=o[n].removedNodes[l];c.key&&c.key&&window.NJStore[c.key.id].dispose()}}})).observe(r,{attributes:!1,childList:!0,subtree:!0})}}))}}();t.default=r}]).default}));

@@ -1,1 +0,1 @@

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("Alert",[],t):"object"==typeof exports?exports.Alert=t():e.Alert=t()}(window,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=1)}([function(e,t){var n,r;r={},function(e,t){function n(){this._delay=0,this._endDelay=0,this._fill="none",this._iterationStart=0,this._iterations=1,this._duration=0,this._playbackRate=1,this._direction="normal",this._easing="linear",this._easingFunction=d}function r(){return e.isDeprecated("Invalid timing inputs","2016-03-02","TypeError exceptions will be thrown instead.",!0)}function i(t,r,i){var o=new n;return r&&(o.fill="both",o.duration="auto"),"number"!=typeof t||isNaN(t)?void 0!==t&&Object.getOwnPropertyNames(t).forEach((function(n){if("auto"!=t[n]){if(("number"==typeof o[n]||"duration"==n)&&("number"!=typeof t[n]||isNaN(t[n])))return;if("fill"==n&&-1==c.indexOf(t[n]))return;if("direction"==n&&-1==f.indexOf(t[n]))return;if("playbackRate"==n&&1!==t[n]&&e.isDeprecated("AnimationEffectTiming.playbackRate","2014-11-28","Use Animation.playbackRate instead."))return;o[n]=t[n]}})):o.duration=t,o}function o(e,t,n,r){return e<0||e>1||n<0||n>1?d:function(i){function o(e,t,n){return 3*e*(1-n)*(1-n)*n+3*t*(1-n)*n*n+n*n*n}if(i<=0){var a=0;return e>0?a=t/e:!t&&n>0&&(a=r/n),a*i}if(i>=1){var s=0;return n<1?s=(r-1)/(n-1):1==n&&e<1&&(s=(t-1)/(e-1)),1+s*(i-1)}for(var u=0,l=1;u<l;){var c=(u+l)/2,f=o(e,n,c);if(Math.abs(i-f)<1e-5)return o(t,r,c);f<i?u=c:l=c}return o(t,r,c)}}function a(e,t){return function(n){if(n>=1)return 1;var r=1/e;return(n+=t*r)-n%r}}function s(e){v||(v=document.createElement("div").style),v.animationTimingFunction="",v.animationTimingFunction=e;var t=v.animationTimingFunction;if(""==t&&r())throw new TypeError(e+" is not a valid value for easing");return t}function u(e){if("linear"==e)return d;var t=_.exec(e);if(t)return o.apply(this,t.slice(1).map(Number));var n=b.exec(e);if(n)return a(Number(n[1]),m);var r=T.exec(e);return r?a(Number(r[1]),{start:h,middle:p,end:m}[r[2]]):g[e]||d}function l(e,t,n){if(null==t)return E;var r=n.delay+e+n.endDelay;return t<Math.min(n.delay,r)?x:t>=Math.min(n.delay+e,r)?w:k}var c="backwards|forwards|both|none".split("|"),f="reverse|alternate|alternate-reverse".split("|"),d=function(e){return e};n.prototype={_setMember:function(t,n){this["_"+t]=n,this._effect&&(this._effect._timingInput[t]=n,this._effect._timing=e.normalizeTimingInput(this._effect._timingInput),this._effect.activeDuration=e.calculateActiveDuration(this._effect._timing),this._effect._animation&&this._effect._animation._rebuildUnderlyingAnimation())},get playbackRate(){return this._playbackRate},set delay(e){this._setMember("delay",e)},get delay(){return this._delay},set endDelay(e){this._setMember("endDelay",e)},get endDelay(){return this._endDelay},set fill(e){this._setMember("fill",e)},get fill(){return this._fill},set iterationStart(e){if((isNaN(e)||e<0)&&r())throw new TypeError("iterationStart must be a non-negative number, received: "+e);this._setMember("iterationStart",e)},get iterationStart(){return this._iterationStart},set duration(e){if("auto"!=e&&(isNaN(e)||e<0)&&r())throw new TypeError("duration must be non-negative or auto, received: "+e);this._setMember("duration",e)},get duration(){return this._duration},set direction(e){this._setMember("direction",e)},get direction(){return this._direction},set easing(e){this._easingFunction=u(s(e)),this._setMember("easing",e)},get easing(){return this._easing},set iterations(e){if((isNaN(e)||e<0)&&r())throw new TypeError("iterations must be non-negative, received: "+e);this._setMember("iterations",e)},get iterations(){return this._iterations}};var h=1,p=.5,m=0,g={ease:o(.25,.1,.25,1),"ease-in":o(.42,0,1,1),"ease-out":o(0,0,.58,1),"ease-in-out":o(.42,0,.58,1),"step-start":a(1,h),"step-middle":a(1,p),"step-end":a(1,m)},v=null,y="\\s*(-?\\d+\\.?\\d*|-?\\.\\d+)\\s*",_=new RegExp("cubic-bezier\\("+y+","+y+","+y+","+y+"\\)"),b=/steps\(\s*(\d+)\s*\)/,T=/steps\(\s*(\d+)\s*,\s*(start|middle|end)\s*\)/,E=0,x=1,w=2,k=3;e.cloneTimingInput=function(e){if("number"==typeof e)return e;var t={};for(var n in e)t[n]=e[n];return t},e.makeTiming=i,e.numericTimingToObject=function(e){return"number"==typeof e&&(e=isNaN(e)?{duration:0}:{duration:e}),e},e.normalizeTimingInput=function(t,n){return i(t=e.numericTimingToObject(t),n)},e.calculateActiveDuration=function(e){return Math.abs(function(e){return 0===e.duration||0===e.iterations?0:e.duration*e.iterations}(e)/e.playbackRate)},e.calculateIterationProgress=function(e,t,n){var r=l(e,t,n),i=function(e,t,n,r,i){switch(r){case x:return"backwards"==t||"both"==t?0:null;case k:return n-i;case w:return"forwards"==t||"both"==t?e:null;case E:return null}}(e,n.fill,t,r,n.delay);if(null===i)return null;var o=function(e,t,n,r,i){var o=i;return 0===e?t!==x&&(o+=n):o+=r/e,o}(n.duration,r,n.iterations,i,n.iterationStart),a=function(e,t,n,r,i,o){var a=e===1/0?t%1:e%1;return 0!==a||n!==w||0===r||0===i&&0!==o||(a=1),a}(o,n.iterationStart,r,n.iterations,i,n.duration),s=function(e,t,n,r){return e===w&&t===1/0?1/0:1===n?Math.floor(r)-1:Math.floor(r)}(r,n.iterations,a,o),u=function(e,t,n){var r=e;if("normal"!==e&&"reverse"!==e){var i=t;"alternate-reverse"===e&&(i+=1),r="normal",i!==1/0&&i%2!=0&&(r="reverse")}return"normal"===r?n:1-n}(n.direction,s,a);return n._easingFunction(u)},e.calculatePhase=l,e.normalizeEasing=s,e.parseEasingFunction=u}(n={}),function(e,t){function n(e,t){return e in u&&u[e][t]||t}function r(e,t,r){if(!function(e){return"display"===e||0===e.lastIndexOf("animation",0)||0===e.lastIndexOf("transition",0)}(e)){var i=o[e];if(i)for(var s in a.style[e]=t,i){var u=i[s],l=a.style[u];r[u]=n(u,l)}else r[e]=n(e,t)}}function i(e){var t=[];for(var n in e)if(!(n in["easing","offset","composite"])){var r=e[n];Array.isArray(r)||(r=[r]);for(var i,o=r.length,a=0;a<o;a++)(i={}).offset="offset"in e?e.offset:1==o?1:a/(o-1),"easing"in e&&(i.easing=e.easing),"composite"in e&&(i.composite=e.composite),i[n]=r[a],t.push(i)}return t.sort((function(e,t){return e.offset-t.offset})),t}var o={background:["backgroundImage","backgroundPosition","backgroundSize","backgroundRepeat","backgroundAttachment","backgroundOrigin","backgroundClip","backgroundColor"],border:["borderTopColor","borderTopStyle","borderTopWidth","borderRightColor","borderRightStyle","borderRightWidth","borderBottomColor","borderBottomStyle","borderBottomWidth","borderLeftColor","borderLeftStyle","borderLeftWidth"],borderBottom:["borderBottomWidth","borderBottomStyle","borderBottomColor"],borderColor:["borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"],borderLeft:["borderLeftWidth","borderLeftStyle","borderLeftColor"],borderRadius:["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],borderRight:["borderRightWidth","borderRightStyle","borderRightColor"],borderTop:["borderTopWidth","borderTopStyle","borderTopColor"],borderWidth:["borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth"],flex:["flexGrow","flexShrink","flexBasis"],font:["fontFamily","fontSize","fontStyle","fontVariant","fontWeight","lineHeight"],margin:["marginTop","marginRight","marginBottom","marginLeft"],outline:["outlineColor","outlineStyle","outlineWidth"],padding:["paddingTop","paddingRight","paddingBottom","paddingLeft"]},a=document.createElementNS("http://www.w3.org/1999/xhtml","div"),s={thin:"1px",medium:"3px",thick:"5px"},u={borderBottomWidth:s,borderLeftWidth:s,borderRightWidth:s,borderTopWidth:s,fontSize:{"xx-small":"60%","x-small":"75%",small:"89%",medium:"100%",large:"120%","x-large":"150%","xx-large":"200%"},fontWeight:{normal:"400",bold:"700"},outlineWidth:s,textShadow:{none:"0px 0px 0px transparent"},boxShadow:{none:"0px 0px 0px 0px transparent"}};e.convertToArrayForm=i,e.normalizeKeyframes=function(t){if(null==t)return[];window.Symbol&&Symbol.iterator&&Array.prototype.from&&t[Symbol.iterator]&&(t=Array.from(t)),Array.isArray(t)||(t=i(t));for(var n=t.map((function(t){var n={};for(var i in t){var o=t[i];if("offset"==i){if(null!=o){if(o=Number(o),!isFinite(o))throw new TypeError("Keyframe offsets must be numbers.");if(o<0||o>1)throw new TypeError("Keyframe offsets must be between 0 and 1.")}}else if("composite"==i){if("add"==o||"accumulate"==o)throw{type:DOMException.NOT_SUPPORTED_ERR,name:"NotSupportedError",message:"add compositing is not supported"};if("replace"!=o)throw new TypeError("Invalid composite mode "+o+".")}else o="easing"==i?e.normalizeEasing(o):""+o;r(i,o,n)}return null==n.offset&&(n.offset=null),null==n.easing&&(n.easing="linear"),n})),o=!0,a=-1/0,s=0;s<n.length;s++){var u=n[s].offset;if(null!=u){if(u<a)throw new TypeError("Keyframes are not loosely sorted by offset. Sort or specify offsets.");a=u}else o=!1}return n=n.filter((function(e){return e.offset>=0&&e.offset<=1})),o||function(){var e=n.length;null==n[e-1].offset&&(n[e-1].offset=1),e>1&&null==n[0].offset&&(n[0].offset=0);for(var t=0,r=n[0].offset,i=1;i<e;i++){var o=n[i].offset;if(null!=o){for(var a=1;a<i-t;a++)n[t+a].offset=r+(o-r)*a/(i-t);t=i,r=o}}}(),n}}(n),function(e){var t={};e.isDeprecated=function(e,n,r,i){var o=i?"are":"is",a=new Date,s=new Date(n);return s.setMonth(s.getMonth()+3),!(a<s&&(e in t||console.warn("Web Animations: "+e+" "+o+" deprecated and will stop working on "+s.toDateString()+". "+r),t[e]=!0,1))},e.deprecated=function(t,n,r,i){var o=i?"are":"is";if(e.isDeprecated(t,n,r,i))throw new Error(t+" "+o+" no longer supported. "+r)}}(n),function(){if(document.documentElement.animate){var e=document.documentElement.animate([],0),t=!0;if(e&&(t=!1,"play|currentTime|pause|reverse|playbackRate|cancel|finish|startTime|playState".split("|").forEach((function(n){void 0===e[n]&&(t=!0)}))),!t)return}!function(e,t,n){t.convertEffectInput=function(n){var r=function(e){for(var t={},n=0;n<e.length;n++)for(var r in e[n])if("offset"!=r&&"easing"!=r&&"composite"!=r){var i={offset:e[n].offset,easing:e[n].easing,value:e[n][r]};t[r]=t[r]||[],t[r].push(i)}for(var o in t){var a=t[o];if(0!=a[0].offset||1!=a[a.length-1].offset)throw{type:DOMException.NOT_SUPPORTED_ERR,name:"NotSupportedError",message:"Partial keyframes are not supported"}}return t}(e.normalizeKeyframes(n)),i=function(n){var r=[];for(var i in n)for(var o=n[i],a=0;a<o.length-1;a++){var s=a,u=a+1,l=o[s].offset,c=o[u].offset,f=l,d=c;0==a&&(f=-1/0,0==c&&(u=s)),a==o.length-2&&(d=1/0,1==l&&(s=u)),r.push({applyFrom:f,applyTo:d,startOffset:o[s].offset,endOffset:o[u].offset,easingFunction:e.parseEasingFunction(o[s].easing),property:i,interpolation:t.propertyInterpolation(i,o[s].value,o[u].value)})}return r.sort((function(e,t){return e.startOffset-t.startOffset})),r}(r);return function(e,n){if(null!=n)i.filter((function(e){return n>=e.applyFrom&&n<e.applyTo})).forEach((function(r){var i=n-r.startOffset,o=r.endOffset-r.startOffset,a=0==o?0:r.easingFunction(i/o);t.apply(e,r.property,r.interpolation(a))}));else for(var o in r)"offset"!=o&&"easing"!=o&&"composite"!=o&&t.clear(e,o)}}}(n,r),function(e,t,n){function r(e){return e.replace(/-(.)/g,(function(e,t){return t.toUpperCase()}))}function i(e,t,n){o[n]=o[n]||[],o[n].push([e,t])}var o={};t.addPropertiesHandler=function(e,t,n){for(var o=0;o<n.length;o++)i(e,t,r(n[o]))};var a={backgroundColor:"transparent",backgroundPosition:"0% 0%",borderBottomColor:"currentColor",borderBottomLeftRadius:"0px",borderBottomRightRadius:"0px",borderBottomWidth:"3px",borderLeftColor:"currentColor",borderLeftWidth:"3px",borderRightColor:"currentColor",borderRightWidth:"3px",borderSpacing:"2px",borderTopColor:"currentColor",borderTopLeftRadius:"0px",borderTopRightRadius:"0px",borderTopWidth:"3px",bottom:"auto",clip:"rect(0px, 0px, 0px, 0px)",color:"black",fontSize:"100%",fontWeight:"400",height:"auto",left:"auto",letterSpacing:"normal",lineHeight:"120%",marginBottom:"0px",marginLeft:"0px",marginRight:"0px",marginTop:"0px",maxHeight:"none",maxWidth:"none",minHeight:"0px",minWidth:"0px",opacity:"1.0",outlineColor:"invert",outlineOffset:"0px",outlineWidth:"3px",paddingBottom:"0px",paddingLeft:"0px",paddingRight:"0px",paddingTop:"0px",right:"auto",strokeDasharray:"none",strokeDashoffset:"0px",textIndent:"0px",textShadow:"0px 0px 0px transparent",top:"auto",transform:"",verticalAlign:"0px",visibility:"visible",width:"auto",wordSpacing:"normal",zIndex:"auto"};t.propertyInterpolation=function(n,i,s){var u=n;/-/.test(n)&&!e.isDeprecated("Hyphenated property names","2016-03-22","Use camelCase instead.",!0)&&(u=r(n)),"initial"!=i&&"initial"!=s||("initial"==i&&(i=a[u]),"initial"==s&&(s=a[u]));for(var l=i==s?[]:o[u],c=0;l&&c<l.length;c++){var f=l[c][0](i),d=l[c][0](s);if(void 0!==f&&void 0!==d){var h=l[c][1](f,d);if(h){var p=t.Interpolation.apply(null,h);return function(e){return 0==e?i:1==e?s:p(e)}}}}return t.Interpolation(!1,!0,(function(e){return e?s:i}))}}(n,r),function(e,t,n){t.KeyframeEffect=function(n,r,i,o){var a,s=function(t){var n=e.calculateActiveDuration(t),r=function(r){return e.calculateIterationProgress(n,r,t)};return r._totalDuration=t.delay+n+t.endDelay,r}(e.normalizeTimingInput(i)),u=t.convertEffectInput(r),l=function(){u(n,a)};return l._update=function(e){return null!==(a=s(e))},l._clear=function(){u(n,null)},l._hasSameTarget=function(e){return n===e},l._target=n,l._totalDuration=s._totalDuration,l._id=o,l}}(n,r),function(e,t){function n(e,t,n){n.enumerable=!0,n.configurable=!0,Object.defineProperty(e,t,n)}function r(e){this._element=e,this._surrogateStyle=document.createElementNS("http://www.w3.org/1999/xhtml","div").style,this._style=e.style,this._length=0,this._isAnimatedProperty={},this._updateSvgTransformAttr=function(e,t){return!(!t.namespaceURI||-1==t.namespaceURI.indexOf("/svg"))&&(o in e||(e[o]=/Trident|MSIE|IEMobile|Edge|Android 4/i.test(e.navigator.userAgent)),e[o])}(window,e),this._savedTransformAttr=null;for(var t=0;t<this._style.length;t++){var n=this._style[t];this._surrogateStyle[n]=this._style[n]}this._updateIndices()}function i(e){if(!e._webAnimationsPatchedStyle){var t=new r(e);try{n(e,"style",{get:function(){return t}})}catch(t){e.style._set=function(t,n){e.style[t]=n},e.style._clear=function(t){e.style[t]=""}}e._webAnimationsPatchedStyle=e.style}}var o="_webAnimationsUpdateSvgTransformAttr",a={cssText:1,length:1,parentRule:1},s={getPropertyCSSValue:1,getPropertyPriority:1,getPropertyValue:1,item:1,removeProperty:1,setProperty:1},u={removeProperty:1,setProperty:1};for(var l in r.prototype={get cssText(){return this._surrogateStyle.cssText},set cssText(e){for(var t={},n=0;n<this._surrogateStyle.length;n++)t[this._surrogateStyle[n]]=!0;for(this._surrogateStyle.cssText=e,this._updateIndices(),n=0;n<this._surrogateStyle.length;n++)t[this._surrogateStyle[n]]=!0;for(var r in t)this._isAnimatedProperty[r]||this._style.setProperty(r,this._surrogateStyle.getPropertyValue(r))},get length(){return this._surrogateStyle.length},get parentRule(){return this._style.parentRule},_updateIndices:function(){for(;this._length<this._surrogateStyle.length;)Object.defineProperty(this,this._length,{configurable:!0,enumerable:!1,get:function(e){return function(){return this._surrogateStyle[e]}}(this._length)}),this._length++;for(;this._length>this._surrogateStyle.length;)this._length--,Object.defineProperty(this,this._length,{configurable:!0,enumerable:!1,value:void 0})},_set:function(t,n){this._style[t]=n,this._isAnimatedProperty[t]=!0,this._updateSvgTransformAttr&&"transform"==e.unprefixedPropertyName(t)&&(null==this._savedTransformAttr&&(this._savedTransformAttr=this._element.getAttribute("transform")),this._element.setAttribute("transform",e.transformToSvgMatrix(n)))},_clear:function(t){this._style[t]=this._surrogateStyle[t],this._updateSvgTransformAttr&&"transform"==e.unprefixedPropertyName(t)&&(this._savedTransformAttr?this._element.setAttribute("transform",this._savedTransformAttr):this._element.removeAttribute("transform"),this._savedTransformAttr=null),delete this._isAnimatedProperty[t]}},s)r.prototype[l]=function(e,t){return function(){var n=this._surrogateStyle[e].apply(this._surrogateStyle,arguments);return t&&(this._isAnimatedProperty[arguments[0]]||this._style[e].apply(this._style,arguments),this._updateIndices()),n}}(l,l in u);for(var c in document.documentElement.style)c in a||c in s||function(e){n(r.prototype,e,{get:function(){return this._surrogateStyle[e]},set:function(t){this._surrogateStyle[e]=t,this._updateIndices(),this._isAnimatedProperty[e]||(this._style[e]=t)}})}(c);e.apply=function(t,n,r){i(t),t.style._set(e.propertyName(n),r)},e.clear=function(t,n){t._webAnimationsPatchedStyle&&t.style._clear(e.propertyName(n))}}(r),function(e){window.Element.prototype.animate=function(t,n){var r="";return n&&n.id&&(r=n.id),e.timeline._play(e.KeyframeEffect(this,t,n,r))}}(r),function(e,t){e.Interpolation=function(e,t,n){return function(r){return n(function e(t,n,r){if("number"==typeof t&&"number"==typeof n)return t*(1-r)+n*r;if("boolean"==typeof t&&"boolean"==typeof n)return r<.5?t:n;if(t.length==n.length){for(var i=[],o=0;o<t.length;o++)i.push(e(t[o],n[o],r));return i}throw"Mismatched interpolation arguments "+t+":"+n}(e,t,r))}}}(r),function(e,t){var n=function(){function e(e,t){for(var n=[[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0]],r=0;r<4;r++)for(var i=0;i<4;i++)for(var o=0;o<4;o++)n[r][i]+=t[r][o]*e[o][i];return n}return function(t,n,r,i,o){for(var a=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]],s=0;s<4;s++)a[s][3]=o[s];for(s=0;s<3;s++)for(var u=0;u<3;u++)a[3][s]+=t[u]*a[u][s];var l=i[0],c=i[1],f=i[2],d=i[3],h=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]];h[0][0]=1-2*(c*c+f*f),h[0][1]=2*(l*c-f*d),h[0][2]=2*(l*f+c*d),h[1][0]=2*(l*c+f*d),h[1][1]=1-2*(l*l+f*f),h[1][2]=2*(c*f-l*d),h[2][0]=2*(l*f-c*d),h[2][1]=2*(c*f+l*d),h[2][2]=1-2*(l*l+c*c),a=e(a,h);var p=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]];for(r[2]&&(p[2][1]=r[2],a=e(a,p)),r[1]&&(p[2][1]=0,p[2][0]=r[0],a=e(a,p)),r[0]&&(p[2][0]=0,p[1][0]=r[0],a=e(a,p)),s=0;s<3;s++)for(u=0;u<3;u++)a[s][u]*=n[s];return function(e){return 0==e[0][2]&&0==e[0][3]&&0==e[1][2]&&0==e[1][3]&&0==e[2][0]&&0==e[2][1]&&1==e[2][2]&&0==e[2][3]&&0==e[3][2]&&1==e[3][3]}(a)?[a[0][0],a[0][1],a[1][0],a[1][1],a[3][0],a[3][1]]:a[0].concat(a[1],a[2],a[3])}}();e.composeMatrix=n,e.quat=function(t,n,r){var i=e.dot(t,n),o=[];if(1===(i=function(e,t,n){return Math.max(Math.min(e,n),t)}(i,-1,1)))o=t;else for(var a=Math.acos(i),s=1*Math.sin(r*a)/Math.sqrt(1-i*i),u=0;u<4;u++)o.push(t[u]*(Math.cos(r*a)-i*s)+n[u]*s);return o}}(r),function(e,t,n){e.sequenceNumber=0;var r=function(e,t,n){this.target=e,this.currentTime=t,this.timelineTime=n,this.type="finish",this.bubbles=!1,this.cancelable=!1,this.currentTarget=e,this.defaultPrevented=!1,this.eventPhase=Event.AT_TARGET,this.timeStamp=Date.now()};t.Animation=function(t){this.id="",t&&t._id&&(this.id=t._id),this._sequenceNumber=e.sequenceNumber++,this._currentTime=0,this._startTime=null,this._paused=!1,this._playbackRate=1,this._inTimeline=!0,this._finishedFlag=!0,this.onfinish=null,this._finishHandlers=[],this._effect=t,this._inEffect=this._effect._update(0),this._idle=!0,this._currentTimePending=!1},t.Animation.prototype={_ensureAlive:function(){this.playbackRate<0&&0===this.currentTime?this._inEffect=this._effect._update(-1):this._inEffect=this._effect._update(this.currentTime),this._inTimeline||!this._inEffect&&this._finishedFlag||(this._inTimeline=!0,t.timeline._animations.push(this))},_tickCurrentTime:function(e,t){e!=this._currentTime&&(this._currentTime=e,this._isFinished&&!t&&(this._currentTime=this._playbackRate>0?this._totalDuration:0),this._ensureAlive())},get currentTime(){return this._idle||this._currentTimePending?null:this._currentTime},set currentTime(e){e=+e,isNaN(e)||(t.restart(),this._paused||null==this._startTime||(this._startTime=this._timeline.currentTime-e/this._playbackRate),this._currentTimePending=!1,this._currentTime!=e&&(this._idle&&(this._idle=!1,this._paused=!0),this._tickCurrentTime(e,!0),t.applyDirtiedAnimation(this)))},get startTime(){return this._startTime},set startTime(e){e=+e,isNaN(e)||this._paused||this._idle||(this._startTime=e,this._tickCurrentTime((this._timeline.currentTime-this._startTime)*this.playbackRate),t.applyDirtiedAnimation(this))},get playbackRate(){return this._playbackRate},set playbackRate(e){if(e!=this._playbackRate){var n=this.currentTime;this._playbackRate=e,this._startTime=null,"paused"!=this.playState&&"idle"!=this.playState&&(this._finishedFlag=!1,this._idle=!1,this._ensureAlive(),t.applyDirtiedAnimation(this)),null!=n&&(this.currentTime=n)}},get _isFinished(){return!this._idle&&(this._playbackRate>0&&this._currentTime>=this._totalDuration||this._playbackRate<0&&this._currentTime<=0)},get _totalDuration(){return this._effect._totalDuration},get playState(){return this._idle?"idle":null==this._startTime&&!this._paused&&0!=this.playbackRate||this._currentTimePending?"pending":this._paused?"paused":this._isFinished?"finished":"running"},_rewind:function(){if(this._playbackRate>=0)this._currentTime=0;else{if(!(this._totalDuration<1/0))throw new DOMException("Unable to rewind negative playback rate animation with infinite duration","InvalidStateError");this._currentTime=this._totalDuration}},play:function(){this._paused=!1,(this._isFinished||this._idle)&&(this._rewind(),this._startTime=null),this._finishedFlag=!1,this._idle=!1,this._ensureAlive(),t.applyDirtiedAnimation(this)},pause:function(){this._isFinished||this._paused||this._idle?this._idle&&(this._rewind(),this._idle=!1):this._currentTimePending=!0,this._startTime=null,this._paused=!0},finish:function(){this._idle||(this.currentTime=this._playbackRate>0?this._totalDuration:0,this._startTime=this._totalDuration-this.currentTime,this._currentTimePending=!1,t.applyDirtiedAnimation(this))},cancel:function(){this._inEffect&&(this._inEffect=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._startTime=null,this._effect._update(null),t.applyDirtiedAnimation(this))},reverse:function(){this.playbackRate*=-1,this.play()},addEventListener:function(e,t){"function"==typeof t&&"finish"==e&&this._finishHandlers.push(t)},removeEventListener:function(e,t){if("finish"==e){var n=this._finishHandlers.indexOf(t);n>=0&&this._finishHandlers.splice(n,1)}},_fireEvents:function(e){if(this._isFinished){if(!this._finishedFlag){var t=new r(this,this._currentTime,e),n=this._finishHandlers.concat(this.onfinish?[this.onfinish]:[]);setTimeout((function(){n.forEach((function(e){e.call(t.target,t)}))}),0),this._finishedFlag=!0}}else this._finishedFlag=!1},_tick:function(e,t){this._idle||this._paused||(null==this._startTime?t&&(this.startTime=e-this._currentTime/this.playbackRate):this._isFinished||this._tickCurrentTime((e-this._startTime)*this.playbackRate)),t&&(this._currentTimePending=!1,this._fireEvents(e))},get _needsTick(){return this.playState in{pending:1,running:1}||!this._finishedFlag},_targetAnimations:function(){var e=this._effect._target;return e._activeAnimations||(e._activeAnimations=[]),e._activeAnimations},_markTarget:function(){var e=this._targetAnimations();-1===e.indexOf(this)&&e.push(this)},_unmarkTarget:function(){var e=this._targetAnimations(),t=e.indexOf(this);-1!==t&&e.splice(t,1)}}}(n,r),function(e,t,n){function r(e){var t=l;l=[],e<m.currentTime&&(e=m.currentTime),m._animations.sort(i),m._animations=s(e,!0,m._animations)[0],t.forEach((function(t){t[1](e)})),a()}function i(e,t){return e._sequenceNumber-t._sequenceNumber}function o(){this._animations=[],this.currentTime=window.performance&&performance.now?performance.now():0}function a(){h.forEach((function(e){e()})),h.length=0}function s(e,n,r){p=!0,d=!1,t.timeline.currentTime=e,f=!1;var i=[],o=[],a=[],s=[];return r.forEach((function(t){t._tick(e,n),t._inEffect?(o.push(t._effect),t._markTarget()):(i.push(t._effect),t._unmarkTarget()),t._needsTick&&(f=!0);var r=t._inEffect||t._needsTick;t._inTimeline=r,r?a.push(t):s.push(t)})),h.push.apply(h,i),h.push.apply(h,o),f&&requestAnimationFrame((function(){})),p=!1,[a,s]}var u=window.requestAnimationFrame,l=[],c=0;window.requestAnimationFrame=function(e){var t=c++;return 0==l.length&&u(r),l.push([t,e]),t},window.cancelAnimationFrame=function(e){l.forEach((function(t){t[0]==e&&(t[1]=function(){})}))},o.prototype={_play:function(n){n._timing=e.normalizeTimingInput(n.timing);var r=new t.Animation(n);return r._idle=!1,r._timeline=this,this._animations.push(r),t.restart(),t.applyDirtiedAnimation(r),r}};var f=!1,d=!1;t.restart=function(){return f||(f=!0,requestAnimationFrame((function(){})),d=!0),d},t.applyDirtiedAnimation=function(e){if(!p){e._markTarget();var n=e._targetAnimations();n.sort(i),s(t.timeline.currentTime,!1,n.slice())[1].forEach((function(e){var t=m._animations.indexOf(e);-1!==t&&m._animations.splice(t,1)})),a()}};var h=[],p=!1,m=new o;t.timeline=m}(n,r),function(e,t){function n(e,t){for(var n=0,r=0;r<e.length;r++)n+=e[r]*t[r];return n}function r(e,t){return[e[0]*t[0]+e[4]*t[1]+e[8]*t[2]+e[12]*t[3],e[1]*t[0]+e[5]*t[1]+e[9]*t[2]+e[13]*t[3],e[2]*t[0]+e[6]*t[1]+e[10]*t[2]+e[14]*t[3],e[3]*t[0]+e[7]*t[1]+e[11]*t[2]+e[15]*t[3],e[0]*t[4]+e[4]*t[5]+e[8]*t[6]+e[12]*t[7],e[1]*t[4]+e[5]*t[5]+e[9]*t[6]+e[13]*t[7],e[2]*t[4]+e[6]*t[5]+e[10]*t[6]+e[14]*t[7],e[3]*t[4]+e[7]*t[5]+e[11]*t[6]+e[15]*t[7],e[0]*t[8]+e[4]*t[9]+e[8]*t[10]+e[12]*t[11],e[1]*t[8]+e[5]*t[9]+e[9]*t[10]+e[13]*t[11],e[2]*t[8]+e[6]*t[9]+e[10]*t[10]+e[14]*t[11],e[3]*t[8]+e[7]*t[9]+e[11]*t[10]+e[15]*t[11],e[0]*t[12]+e[4]*t[13]+e[8]*t[14]+e[12]*t[15],e[1]*t[12]+e[5]*t[13]+e[9]*t[14]+e[13]*t[15],e[2]*t[12]+e[6]*t[13]+e[10]*t[14]+e[14]*t[15],e[3]*t[12]+e[7]*t[13]+e[11]*t[14]+e[15]*t[15]]}function i(e){var t=e.rad||0;return((e.deg||0)/360+(e.grad||0)/400+(e.turn||0))*(2*Math.PI)+t}function o(e){switch(e.t){case"rotatex":var t=i(e.d[0]);return[1,0,0,0,0,Math.cos(t),Math.sin(t),0,0,-Math.sin(t),Math.cos(t),0,0,0,0,1];case"rotatey":return t=i(e.d[0]),[Math.cos(t),0,-Math.sin(t),0,0,1,0,0,Math.sin(t),0,Math.cos(t),0,0,0,0,1];case"rotate":case"rotatez":return t=i(e.d[0]),[Math.cos(t),Math.sin(t),0,0,-Math.sin(t),Math.cos(t),0,0,0,0,1,0,0,0,0,1];case"rotate3d":var n=e.d[0],r=e.d[1],o=e.d[2],a=(t=i(e.d[3]),n*n+r*r+o*o);if(0===a)n=1,r=0,o=0;else if(1!==a){var s=Math.sqrt(a);n/=s,r/=s,o/=s}var u=Math.sin(t/2),l=u*Math.cos(t/2),c=u*u;return[1-2*(r*r+o*o)*c,2*(n*r*c+o*l),2*(n*o*c-r*l),0,2*(n*r*c-o*l),1-2*(n*n+o*o)*c,2*(r*o*c+n*l),0,2*(n*o*c+r*l),2*(r*o*c-n*l),1-2*(n*n+r*r)*c,0,0,0,0,1];case"scale":return[e.d[0],0,0,0,0,e.d[1],0,0,0,0,1,0,0,0,0,1];case"scalex":return[e.d[0],0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];case"scaley":return[1,0,0,0,0,e.d[0],0,0,0,0,1,0,0,0,0,1];case"scalez":return[1,0,0,0,0,1,0,0,0,0,e.d[0],0,0,0,0,1];case"scale3d":return[e.d[0],0,0,0,0,e.d[1],0,0,0,0,e.d[2],0,0,0,0,1];case"skew":var f=i(e.d[0]),d=i(e.d[1]);return[1,Math.tan(d),0,0,Math.tan(f),1,0,0,0,0,1,0,0,0,0,1];case"skewx":return t=i(e.d[0]),[1,0,0,0,Math.tan(t),1,0,0,0,0,1,0,0,0,0,1];case"skewy":return t=i(e.d[0]),[1,Math.tan(t),0,0,0,1,0,0,0,0,1,0,0,0,0,1];case"translate":return[1,0,0,0,0,1,0,0,0,0,1,0,n=e.d[0].px||0,r=e.d[1].px||0,0,1];case"translatex":return[1,0,0,0,0,1,0,0,0,0,1,0,n=e.d[0].px||0,0,0,1];case"translatey":return[1,0,0,0,0,1,0,0,0,0,1,0,0,r=e.d[0].px||0,0,1];case"translatez":return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,o=e.d[0].px||0,1];case"translate3d":return[1,0,0,0,0,1,0,0,0,0,1,0,n=e.d[0].px||0,r=e.d[1].px||0,o=e.d[2].px||0,1];case"perspective":return[1,0,0,0,0,1,0,0,0,0,1,e.d[0].px?-1/e.d[0].px:0,0,0,0,1];case"matrix":return[e.d[0],e.d[1],0,0,e.d[2],e.d[3],0,0,0,0,1,0,e.d[4],e.d[5],0,1];case"matrix3d":return e.d}}function a(e){return 0===e.length?[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]:e.map(o).reduce(r)}var s=function(){function e(e){return e[0][0]*e[1][1]*e[2][2]+e[1][0]*e[2][1]*e[0][2]+e[2][0]*e[0][1]*e[1][2]-e[0][2]*e[1][1]*e[2][0]-e[1][2]*e[2][1]*e[0][0]-e[2][2]*e[0][1]*e[1][0]}function t(e){var t=r(e);return[e[0]/t,e[1]/t,e[2]/t]}function r(e){return Math.sqrt(e[0]*e[0]+e[1]*e[1]+e[2]*e[2])}function i(e,t,n,r){return[n*e[0]+r*t[0],n*e[1]+r*t[1],n*e[2]+r*t[2]]}return function(o){var a=[o.slice(0,4),o.slice(4,8),o.slice(8,12),o.slice(12,16)];if(1!==a[3][3])return null;for(var s=[],u=0;u<4;u++)s.push(a[u].slice());for(u=0;u<3;u++)s[u][3]=0;if(0===e(s))return null;var l,c=[];a[0][3]||a[1][3]||a[2][3]?(c.push(a[0][3]),c.push(a[1][3]),c.push(a[2][3]),c.push(a[3][3]),l=function(e,t){for(var n=[],r=0;r<4;r++){for(var i=0,o=0;o<4;o++)i+=e[o]*t[o][r];n.push(i)}return n}(c,function(e){return[[e[0][0],e[1][0],e[2][0],e[3][0]],[e[0][1],e[1][1],e[2][1],e[3][1]],[e[0][2],e[1][2],e[2][2],e[3][2]],[e[0][3],e[1][3],e[2][3],e[3][3]]]}(function(t){for(var n=1/e(t),r=t[0][0],i=t[0][1],o=t[0][2],a=t[1][0],s=t[1][1],u=t[1][2],l=t[2][0],c=t[2][1],f=t[2][2],d=[[(s*f-u*c)*n,(o*c-i*f)*n,(i*u-o*s)*n,0],[(u*l-a*f)*n,(r*f-o*l)*n,(o*a-r*u)*n,0],[(a*c-s*l)*n,(l*i-r*c)*n,(r*s-i*a)*n,0]],h=[],p=0;p<3;p++){for(var m=0,g=0;g<3;g++)m+=t[3][g]*d[g][p];h.push(m)}return h.push(1),d.push(h),d}(s)))):l=[0,0,0,1];var f=a[3].slice(0,3),d=[];d.push(a[0].slice(0,3));var h=[];h.push(r(d[0])),d[0]=t(d[0]);var p=[];d.push(a[1].slice(0,3)),p.push(n(d[0],d[1])),d[1]=i(d[1],d[0],1,-p[0]),h.push(r(d[1])),d[1]=t(d[1]),p[0]/=h[1],d.push(a[2].slice(0,3)),p.push(n(d[0],d[2])),d[2]=i(d[2],d[0],1,-p[1]),p.push(n(d[1],d[2])),d[2]=i(d[2],d[1],1,-p[2]),h.push(r(d[2])),d[2]=t(d[2]),p[1]/=h[2],p[2]/=h[2];var m=function(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]}(d[1],d[2]);if(n(d[0],m)<0)for(u=0;u<3;u++)h[u]*=-1,d[u][0]*=-1,d[u][1]*=-1,d[u][2]*=-1;var g,v,y=d[0][0]+d[1][1]+d[2][2]+1;return y>1e-4?(g=.5/Math.sqrt(y),v=[(d[2][1]-d[1][2])*g,(d[0][2]-d[2][0])*g,(d[1][0]-d[0][1])*g,.25/g]):d[0][0]>d[1][1]&&d[0][0]>d[2][2]?v=[.25*(g=2*Math.sqrt(1+d[0][0]-d[1][1]-d[2][2])),(d[0][1]+d[1][0])/g,(d[0][2]+d[2][0])/g,(d[2][1]-d[1][2])/g]:d[1][1]>d[2][2]?(g=2*Math.sqrt(1+d[1][1]-d[0][0]-d[2][2]),v=[(d[0][1]+d[1][0])/g,.25*g,(d[1][2]+d[2][1])/g,(d[0][2]-d[2][0])/g]):(g=2*Math.sqrt(1+d[2][2]-d[0][0]-d[1][1]),v=[(d[0][2]+d[2][0])/g,(d[1][2]+d[2][1])/g,.25*g,(d[1][0]-d[0][1])/g]),[f,h,p,v,l]}}();e.dot=n,e.makeMatrixDecomposition=function(e){return[s(a(e))]},e.transformListToMatrix=a}(r),function(e){function t(e,t){var n=e.exec(t);if(n)return[n=e.ignoreCase?n[0].toLowerCase():n[0],t.substr(n.length)]}function n(e,t){var n=e(t=t.replace(/^\s*/,""));if(n)return[n[0],n[1].replace(/^\s*/,"")]}function r(e,t,n,r,i){for(var o=[],a=[],s=[],u=function(e,t){for(var n=e,r=t;n&&r;)n>r?n%=r:r%=n;return e*t/(n+r)}(r.length,i.length),l=0;l<u;l++){var c=t(r[l%r.length],i[l%i.length]);if(!c)return;o.push(c[0]),a.push(c[1]),s.push(c[2])}return[o,a,function(t){var r=t.map((function(e,t){return s[t](e)})).join(n);return e?e(r):r}]}e.consumeToken=t,e.consumeTrimmed=n,e.consumeRepeated=function(e,r,i){e=n.bind(null,e);for(var o=[];;){var a=e(i);if(!a)return[o,i];if(o.push(a[0]),!(a=t(r,i=a[1]))||""==a[1])return[o,i];i=a[1]}},e.consumeParenthesised=function(e,t){for(var n=0,r=0;r<t.length&&(!/\s|,/.test(t[r])||0!=n);r++)if("("==t[r])n++;else if(")"==t[r]&&(0==--n&&r++,n<=0))break;var i=e(t.substr(0,r));return null==i?void 0:[i,t.substr(r)]},e.ignore=function(e){return function(t){var n=e(t);return n&&(n[0]=void 0),n}},e.optional=function(e,t){return function(n){return e(n)||[t,n]}},e.consumeList=function(t,n){for(var r=[],i=0;i<t.length;i++){var o=e.consumeTrimmed(t[i],n);if(!o||""==o[0])return;void 0!==o[0]&&r.push(o[0]),n=o[1]}if(""==n)return r},e.mergeNestedRepeated=r.bind(null,null),e.mergeWrappedNestedRepeated=r,e.mergeList=function(e,t,n){for(var r=[],i=[],o=[],a=0,s=0;s<n.length;s++)if("function"==typeof n[s]){var u=n[s](e[a],t[a++]);r.push(u[0]),i.push(u[1]),o.push(u[2])}else!function(e){r.push(!1),i.push(!1),o.push((function(){return n[e]}))}(s);return[r,i,function(e){for(var t="",n=0;n<e.length;n++)t+=o[n](e[n]);return t}]}}(r),function(e){function t(t){var n={inset:!1,lengths:[],color:null},r=e.consumeRepeated((function(t){var r=e.consumeToken(/^inset/i,t);return r?(n.inset=!0,r):(r=e.consumeLengthOrPercent(t))?(n.lengths.push(r[0]),r):(r=e.consumeColor(t))?(n.color=r[0],r):void 0}),/^/,t);if(r&&r[0].length)return[n,r[1]]}var n=function(t,n,r,i){function o(e){return{inset:e,color:[0,0,0,0],lengths:[{px:0},{px:0},{px:0},{px:0}]}}for(var a=[],s=[],u=0;u<r.length||u<i.length;u++){var l=r[u]||o(i[u].inset),c=i[u]||o(r[u].inset);a.push(l),s.push(c)}return e.mergeNestedRepeated(t,n,a,s)}.bind(null,(function(t,n){for(;t.lengths.length<Math.max(t.lengths.length,n.lengths.length);)t.lengths.push({px:0});for(;n.lengths.length<Math.max(t.lengths.length,n.lengths.length);)n.lengths.push({px:0});if(t.inset==n.inset&&!!t.color==!!n.color){for(var r,i=[],o=[[],0],a=[[],0],s=0;s<t.lengths.length;s++){var u=e.mergeDimensions(t.lengths[s],n.lengths[s],2==s);o[0].push(u[0]),a[0].push(u[1]),i.push(u[2])}if(t.color&&n.color){var l=e.mergeColors(t.color,n.color);o[1]=l[0],a[1]=l[1],r=l[2]}return[o,a,function(e){for(var n=t.inset?"inset ":" ",o=0;o<i.length;o++)n+=i[o](e[0][o])+" ";return r&&(n+=r(e[1])),n}]}}),", ");e.addPropertiesHandler((function(n){var r=e.consumeRepeated(t,/^,/,n);if(r&&""==r[1])return r[0]}),n,["box-shadow","text-shadow"])}(r),function(e,t){function n(e){return e.toFixed(3).replace(/0+$/,"").replace(/\.$/,"")}function r(e,t,n){return Math.min(t,Math.max(e,n))}function i(e){if(/^\s*[-+]?(\d*\.)?\d+\s*$/.test(e))return Number(e)}function o(e,t){return function(i,o){return[i,o,function(i){return n(r(e,t,i))}]}}function a(e){var t=e.trim().split(/\s*[\s,]\s*/);if(0!==t.length){for(var n=[],r=0;r<t.length;r++){var o=i(t[r]);if(void 0===o)return;n.push(o)}return n}}e.clamp=r,e.addPropertiesHandler(a,(function(e,t){if(e.length==t.length)return[e,t,function(e){return e.map(n).join(" ")}]}),["stroke-dasharray"]),e.addPropertiesHandler(i,o(0,1/0),["border-image-width","line-height"]),e.addPropertiesHandler(i,o(0,1),["opacity","shape-image-threshold"]),e.addPropertiesHandler(i,(function(e,t){if(0!=e)return o(0,1/0)(e,t)}),["flex-grow","flex-shrink"]),e.addPropertiesHandler(i,(function(e,t){return[e,t,function(e){return Math.round(r(1,1/0,e))}]}),["orphans","widows"]),e.addPropertiesHandler(i,(function(e,t){return[e,t,Math.round]}),["z-index"]),e.parseNumber=i,e.parseNumberList=a,e.mergeNumbers=function(e,t){return[e,t,n]},e.numberToString=n}(r),function(e,t){e.addPropertiesHandler(String,(function(e,t){if("visible"==e||"visible"==t)return[0,1,function(n){return n<=0?e:n>=1?t:"visible"}]}),["visibility"])}(r),function(e,t){function n(e){e=e.trim(),o.fillStyle="#000",o.fillStyle=e;var t=o.fillStyle;if(o.fillStyle="#fff",o.fillStyle=e,t==o.fillStyle){o.fillRect(0,0,1,1);var n=o.getImageData(0,0,1,1).data;o.clearRect(0,0,1,1);var r=n[3]/255;return[n[0]*r,n[1]*r,n[2]*r,r]}}function r(t,n){return[t,n,function(t){function n(e){return Math.max(0,Math.min(255,e))}if(t[3])for(var r=0;r<3;r++)t[r]=Math.round(n(t[r]/t[3]));return t[3]=e.numberToString(e.clamp(0,1,t[3])),"rgba("+t.join(",")+")"}]}var i=document.createElementNS("http://www.w3.org/1999/xhtml","canvas");i.width=i.height=1;var o=i.getContext("2d");e.addPropertiesHandler(n,r,["background-color","border-bottom-color","border-left-color","border-right-color","border-top-color","color","fill","flood-color","lighting-color","outline-color","stop-color","stroke","text-decoration-color"]),e.consumeColor=e.consumeParenthesised.bind(null,n),e.mergeColors=r}(r),function(e,t){function n(e){function t(){var t=a.exec(e);o=t?t[0]:void 0}function n(){if("("!==o)return function(){var e=Number(o);return t(),e}();t();var e=i();return")"!==o?NaN:(t(),e)}function r(){for(var e=n();"*"===o||"/"===o;){var r=o;t();var i=n();"*"===r?e*=i:e/=i}return e}function i(){for(var e=r();"+"===o||"-"===o;){var n=o;t();var i=r();"+"===n?e+=i:e-=i}return e}var o,a=/([\+\-\w\.]+|[\(\)\*\/])/g;return t(),i()}function r(e,t){if("0"==(t=t.trim().toLowerCase())&&"px".search(e)>=0)return{px:0};if(/^[^(]*$|^calc/.test(t)){t=t.replace(/calc\(/g,"(");var r={};t=t.replace(e,(function(e){return r[e]=null,"U"+e}));for(var i="U("+e.source+")",o=t.replace(/[-+]?(\d*\.)?\d+([Ee][-+]?\d+)?/g,"N").replace(new RegExp("N"+i,"g"),"D").replace(/\s[+-]\s/g,"O").replace(/\s/g,""),a=[/N\*(D)/g,/(N|D)[*\/]N/g,/(N|D)O\1/g,/\((N|D)\)/g],s=0;s<a.length;)a[s].test(o)?(o=o.replace(a[s],"$1"),s=0):s++;if("D"==o){for(var u in r){var l=n(t.replace(new RegExp("U"+u,"g"),"").replace(new RegExp(i,"g"),"*0"));if(!isFinite(l))return;r[u]=l}return r}}}function i(e,t){return o(e,t,!0)}function o(t,n,r){var i,o=[];for(i in t)o.push(i);for(i in n)o.indexOf(i)<0&&o.push(i);return t=o.map((function(e){return t[e]||0})),n=o.map((function(e){return n[e]||0})),[t,n,function(t){var n=t.map((function(n,i){return 1==t.length&&r&&(n=Math.max(n,0)),e.numberToString(n)+o[i]})).join(" + ");return t.length>1?"calc("+n+")":n}]}var a="px|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc",s=r.bind(null,new RegExp(a,"g")),u=r.bind(null,new RegExp(a+"|%","g")),l=r.bind(null,/deg|rad|grad|turn/g);e.parseLength=s,e.parseLengthOrPercent=u,e.consumeLengthOrPercent=e.consumeParenthesised.bind(null,u),e.parseAngle=l,e.mergeDimensions=o;var c=e.consumeParenthesised.bind(null,s),f=e.consumeRepeated.bind(void 0,c,/^/),d=e.consumeRepeated.bind(void 0,f,/^,/);e.consumeSizePairList=d;var h=e.mergeNestedRepeated.bind(void 0,i," "),p=e.mergeNestedRepeated.bind(void 0,h,",");e.mergeNonNegativeSizePair=h,e.addPropertiesHandler((function(e){var t=d(e);if(t&&""==t[1])return t[0]}),p,["background-size"]),e.addPropertiesHandler(u,i,["border-bottom-width","border-image-width","border-left-width","border-right-width","border-top-width","flex-basis","font-size","height","line-height","max-height","max-width","outline-width","width"]),e.addPropertiesHandler(u,o,["border-bottom-left-radius","border-bottom-right-radius","border-top-left-radius","border-top-right-radius","bottom","left","letter-spacing","margin-bottom","margin-left","margin-right","margin-top","min-height","min-width","outline-offset","padding-bottom","padding-left","padding-right","padding-top","perspective","right","shape-margin","stroke-dashoffset","text-indent","top","vertical-align","word-spacing"])}(r),function(e,t){function n(t){return e.consumeLengthOrPercent(t)||e.consumeToken(/^auto/,t)}function r(t){var r=e.consumeList([e.ignore(e.consumeToken.bind(null,/^rect/)),e.ignore(e.consumeToken.bind(null,/^\(/)),e.consumeRepeated.bind(null,n,/^,/),e.ignore(e.consumeToken.bind(null,/^\)/))],t);if(r&&4==r[0].length)return r[0]}var i=e.mergeWrappedNestedRepeated.bind(null,(function(e){return"rect("+e+")"}),(function(t,n){return"auto"==t||"auto"==n?[!0,!1,function(r){var i=r?t:n;if("auto"==i)return"auto";var o=e.mergeDimensions(i,i);return o[2](o[0])}]:e.mergeDimensions(t,n)}),", ");e.parseBox=r,e.mergeBoxes=i,e.addPropertiesHandler(r,i,["clip"])}(r),function(e,t){function n(e){return function(t){var n=0;return e.map((function(e){return e===l?t[n++]:e}))}}function r(e){return e}function i(t){if("none"==(t=t.toLowerCase().trim()))return[];for(var n,r=/\s*(\w+)\(([^)]*)\)/g,i=[],o=0;n=r.exec(t);){if(n.index!=o)return;o=n.index+n[0].length;var a=n[1],s=d[a];if(!s)return;var u=n[2].split(","),l=s[0];if(l.length<u.length)return;for(var h=[],p=0;p<l.length;p++){var m,g=u[p],v=l[p];if(void 0===(m=g?{A:function(t){return"0"==t.trim()?f:e.parseAngle(t)},N:e.parseNumber,T:e.parseLengthOrPercent,L:e.parseLength}[v.toUpperCase()](g):{a:f,n:h[0],t:c}[v]))return;h.push(m)}if(i.push({t:a,d:h}),r.lastIndex==t.length)return i}}function o(e){return e.toFixed(6).replace(".000000","")}function a(t,n){if(t.decompositionPair!==n){t.decompositionPair=n;var r=e.makeMatrixDecomposition(t)}if(n.decompositionPair!==t){n.decompositionPair=t;var i=e.makeMatrixDecomposition(n)}return null==r[0]||null==i[0]?[[!1],[!0],function(e){return e?n[0].d:t[0].d}]:(r[0].push(0),i[0].push(1),[r,i,function(t){var n=e.quat(r[0][3],i[0][3],t[5]);return e.composeMatrix(t[0],t[1],t[2],n,t[4]).map(o).join(",")}])}function s(e){return e.replace(/[xy]/,"")}function u(e){return e.replace(/(x|y|z|3d)?$/,"3d")}var l=null,c={px:0},f={deg:0},d={matrix:["NNNNNN",[l,l,0,0,l,l,0,0,0,0,1,0,l,l,0,1],r],matrix3d:["NNNNNNNNNNNNNNNN",r],rotate:["A"],rotatex:["A"],rotatey:["A"],rotatez:["A"],rotate3d:["NNNA"],perspective:["L"],scale:["Nn",n([l,l,1]),r],scalex:["N",n([l,1,1]),n([l,1])],scaley:["N",n([1,l,1]),n([1,l])],scalez:["N",n([1,1,l])],scale3d:["NNN",r],skew:["Aa",null,r],skewx:["A",null,n([l,f])],skewy:["A",null,n([f,l])],translate:["Tt",n([l,l,c]),r],translatex:["T",n([l,c,c]),n([l,c])],translatey:["T",n([c,l,c]),n([c,l])],translatez:["L",n([c,c,l])],translate3d:["TTL",r]};e.addPropertiesHandler(i,(function(t,n){var r=e.makeMatrixDecomposition&&!0,i=!1;if(!t.length||!n.length){t.length||(i=!0,t=n,n=[]);for(var o=0;o<t.length;o++){var l=t[o].t,c=t[o].d,f="scale"==l.substr(0,5)?1:0;n.push({t:l,d:c.map((function(e){if("number"==typeof e)return f;var t={};for(var n in e)t[n]=f;return t}))})}}var h=function(e,t){return"perspective"==e&&"perspective"==t||("matrix"==e||"matrix3d"==e)&&("matrix"==t||"matrix3d"==t)},p=[],m=[],g=[];if(t.length!=n.length){if(!r)return;p=[(x=a(t,n))[0]],m=[x[1]],g=[["matrix",[x[2]]]]}else for(o=0;o<t.length;o++){var v=t[o].t,y=n[o].t,_=t[o].d,b=n[o].d,T=d[v],E=d[y];if(h(v,y)){if(!r)return;var x=a([t[o]],[n[o]]);p.push(x[0]),m.push(x[1]),g.push(["matrix",[x[2]]])}else{if(v==y)l=v;else if(T[2]&&E[2]&&s(v)==s(y))l=s(v),_=T[2](_),b=E[2](b);else{if(!T[1]||!E[1]||u(v)!=u(y)){if(!r)return;p=[(x=a(t,n))[0]],m=[x[1]],g=[["matrix",[x[2]]]];break}l=u(v),_=T[1](_),b=E[1](b)}for(var w=[],k=[],N=[],S=0;S<_.length;S++)x=("number"==typeof _[S]?e.mergeNumbers:e.mergeDimensions)(_[S],b[S]),w[S]=x[0],k[S]=x[1],N.push(x[2]);p.push(w),m.push(k),g.push([l,N])}}if(i){var A=p;p=m,m=A}return[p,m,function(e){return e.map((function(e,t){var n=e.map((function(e,n){return g[t][1][n](e)})).join(",");return"matrix"==g[t][0]&&16==n.split(",").length&&(g[t][0]="matrix3d"),g[t][0]+"("+n+")"})).join(" ")}]}),["transform"]),e.transformToSvgMatrix=function(t){var n=e.transformListToMatrix(i(t));return"matrix("+o(n[0])+" "+o(n[1])+" "+o(n[4])+" "+o(n[5])+" "+o(n[12])+" "+o(n[13])+")"}}(r),function(e){function t(t){return t=100*Math.round(t/100),400===(t=e.clamp(100,900,t))?"normal":700===t?"bold":String(t)}e.addPropertiesHandler((function(e){var t=Number(e);if(!(isNaN(t)||t<100||t>900||t%100!=0))return t}),(function(e,n){return[e,n,t]}),["font-weight"])}(r),function(e){function t(e){var t={};for(var n in e)t[n]=-e[n];return t}function n(t){return e.consumeToken(/^(left|center|right|top|bottom)\b/i,t)||e.consumeLengthOrPercent(t)}function r(t,r){var i=e.consumeRepeated(n,/^/,r);if(i&&""==i[1]){var a=i[0];if(a[0]=a[0]||"center",a[1]=a[1]||"center",3==t&&(a[2]=a[2]||{px:0}),a.length==t){if(/top|bottom/.test(a[0])||/left|right/.test(a[1])){var s=a[0];a[0]=a[1],a[1]=s}if(/left|right|center|Object/.test(a[0])&&/top|bottom|center|Object/.test(a[1]))return a.map((function(e){return"object"==typeof e?e:o[e]}))}}}function i(r){var i=e.consumeRepeated(n,/^/,r);if(i){for(var a=i[0],s=[{"%":50},{"%":50}],u=0,l=!1,c=0;c<a.length;c++){var f=a[c];"string"==typeof f?(l=/bottom|right/.test(f),s[u={left:0,right:0,center:u,top:1,bottom:1}[f]]=o[f],"center"==f&&u++):(l&&((f=t(f))["%"]=(f["%"]||0)+100),s[u]=f,u++,l=!1)}return[s,i[1]]}}var o={left:{"%":0},center:{"%":50},right:{"%":100},top:{"%":0},bottom:{"%":100}},a=e.mergeNestedRepeated.bind(null,e.mergeDimensions," ");e.addPropertiesHandler(r.bind(null,3),a,["transform-origin"]),e.addPropertiesHandler(r.bind(null,2),a,["perspective-origin"]),e.consumePosition=i,e.mergeOffsetList=a;var s=e.mergeNestedRepeated.bind(null,a,", ");e.addPropertiesHandler((function(t){var n=e.consumeRepeated(i,/^,/,t);if(n&&""==n[1])return n[0]}),s,["background-position","object-position"])}(r),function(e){var t=e.consumeParenthesised.bind(null,e.parseLengthOrPercent),n=e.consumeRepeated.bind(void 0,t,/^/),r=e.mergeNestedRepeated.bind(void 0,e.mergeDimensions," "),i=e.mergeNestedRepeated.bind(void 0,r,",");e.addPropertiesHandler((function(r){var i=e.consumeToken(/^circle/,r);if(i&&i[0])return["circle"].concat(e.consumeList([e.ignore(e.consumeToken.bind(void 0,/^\(/)),t,e.ignore(e.consumeToken.bind(void 0,/^at/)),e.consumePosition,e.ignore(e.consumeToken.bind(void 0,/^\)/))],i[1]));var o=e.consumeToken(/^ellipse/,r);if(o&&o[0])return["ellipse"].concat(e.consumeList([e.ignore(e.consumeToken.bind(void 0,/^\(/)),n,e.ignore(e.consumeToken.bind(void 0,/^at/)),e.consumePosition,e.ignore(e.consumeToken.bind(void 0,/^\)/))],o[1]));var a=e.consumeToken(/^polygon/,r);return a&&a[0]?["polygon"].concat(e.consumeList([e.ignore(e.consumeToken.bind(void 0,/^\(/)),e.optional(e.consumeToken.bind(void 0,/^nonzero\s*,|^evenodd\s*,/),"nonzero,"),e.consumeSizePairList,e.ignore(e.consumeToken.bind(void 0,/^\)/))],a[1])):void 0}),(function(t,n){if(t[0]===n[0])return"circle"==t[0]?e.mergeList(t.slice(1),n.slice(1),["circle(",e.mergeDimensions," at ",e.mergeOffsetList,")"]):"ellipse"==t[0]?e.mergeList(t.slice(1),n.slice(1),["ellipse(",e.mergeNonNegativeSizePair," at ",e.mergeOffsetList,")"]):"polygon"==t[0]&&t[1]==n[1]?e.mergeList(t.slice(2),n.slice(2),["polygon(",t[1],i,")"]):void 0}),["shape-outside"])}(r),function(e,t){function n(e,t){t.concat([e]).forEach((function(t){t in document.documentElement.style&&(r[e]=t),i[t]=e}))}var r={},i={};n("transform",["webkitTransform","msTransform"]),n("transformOrigin",["webkitTransformOrigin"]),n("perspective",["webkitPerspective"]),n("perspectiveOrigin",["webkitPerspectiveOrigin"]),e.propertyName=function(e){return r[e]||e},e.unprefixedPropertyName=function(e){return i[e]||e}}(r)}(),function(){if(void 0===document.createElement("div").animate([]).oncancel){if(window.performance&&performance.now)var e=function(){return performance.now()};else e=function(){return Date.now()};var t=function(e,t,n){this.target=e,this.currentTime=t,this.timelineTime=n,this.type="cancel",this.bubbles=!1,this.cancelable=!1,this.currentTarget=e,this.defaultPrevented=!1,this.eventPhase=Event.AT_TARGET,this.timeStamp=Date.now()},n=window.Element.prototype.animate;window.Element.prototype.animate=function(r,i){var o=n.call(this,r,i);o._cancelHandlers=[],o.oncancel=null;var a=o.cancel;o.cancel=function(){a.call(this);var n=new t(this,null,e()),r=this._cancelHandlers.concat(this.oncancel?[this.oncancel]:[]);setTimeout((function(){r.forEach((function(e){e.call(n.target,n)}))}),0)};var s=o.addEventListener;o.addEventListener=function(e,t){"function"==typeof t&&"cancel"==e?this._cancelHandlers.push(t):s.call(this,e,t)};var u=o.removeEventListener;return o.removeEventListener=function(e,t){if("cancel"==e){var n=this._cancelHandlers.indexOf(t);n>=0&&this._cancelHandlers.splice(n,1)}else u.call(this,e,t)},o}}}(),function(e){var t=document.documentElement,n=null,r=!1;try{var i="0"==getComputedStyle(t).getPropertyValue("opacity")?"1":"0";(n=t.animate({opacity:[i,i]},{duration:1})).currentTime=0,r=getComputedStyle(t).getPropertyValue("opacity")==i}catch(e){}finally{n&&n.cancel()}if(!r){var o=window.Element.prototype.animate;window.Element.prototype.animate=function(t,n){return window.Symbol&&Symbol.iterator&&Array.prototype.from&&t[Symbol.iterator]&&(t=Array.from(t)),Array.isArray(t)||null===t||(t=e.convertToArrayForm(t)),o.call(this,t,n)}}}(n)},function(e,t,n){"use strict";n.r(t);var r,i,o,a;n(0);!function(e){e.KEY_PREFIX="nj",e.DATA_API_KEY=".data-api"}(r||(r={})),function(e){e.mouseenter="mouseover",e.mouseleave="mouseout"}(i||(i={})),function(e){e.click="click",e.close="close",e.closed="closed",e.hide="hide",e.hidden="hidden",e.input="input",e.keydown="keydown",e.keyup="keyup",e.onchange="onchange",e.show="show",e.shown="shown",e.inserted="inserted",e.focusin="focusin",e.focusout="focusout",e.mouseenter="mouseenter",e.mouseleave="mouseleave",e.mouseup="mouseup",e.mousedown="mousedown"}(o||(o={})),function(e){e.click="click",e.dblclick="dblclick",e.mouseup="mouseup",e.mousedown="mousedown",e.contextmenu="contextmenu",e.mousewheel="mousewheel",e.DOMMouseScroll="DOMMouseScroll",e.mouseover="mouseover",e.mouseout="mouseout",e.mousemove="mousemove",e.selectstart="selectstart",e.selectend="selectend",e.keydown="keydown",e.keypress="keypress",e.keyup="keyup",e.orientationchange="orientationchange",e.touchstart="touchstart",e.touchmove="touchmove",e.touchend="touchend",e.touchcancel="touchcancel",e.pointerdown="pointerdown",e.pointermove="pointermove",e.pointerup="pointerup",e.pointerleave="pointerleave",e.pointercancel="pointercancel",e.gesturestart="gesturestart",e.gesturechange="gesturechange",e.gestureend="gestureend",e.focus="focus",e.blur="blur",e.change="change",e.reset="reset",e.select="select",e.submit="submit",e.focusin="focusin",e.focusout="focusout",e.load="load",e.unload="unload",e.beforeunload="beforeunload",e.resize="resize",e.move="move",e.DOMContentLoaded="DOMContentLoaded",e.readystatechange="readystatechange",e.error="error",e.abort="abort",e.scroll="scroll"}(a||(a={}));const s=(()=>{const e={};let t=1;return{set(n,r,i){void 0===n.key&&(n.key={key:r,id:t},t++),e[n.key.id]=i},get(t,n){if(!t||void 0===t.key)return null;const r=t.key;return r.key===n?e[r.id]:null},delete(t,n){if(void 0===t.key)return;const r=t.key;r.key===n&&(delete e[r.id],delete t.key)}}})();var u={setData(e,t,n){s.set(e,t,n)},getData:(e,t)=>s.get(e,t),removeData(e,t){s.delete(e,t)}};class l{static getUidEvent(e,t){return t&&"".concat(t,"::").concat(l.uidEvent++)||e.uidEvent||l.uidEvent++}static getEvent(e){const t=l.getUidEvent(e);return e.uidEvent=t,l.EVENTREGISTRY[t]=l.EVENTREGISTRY[t]||{}}static fixEvent(e,t){null===e.which&&l.KEYEVENT_REGEX.test(e.type)&&(e.which=null!==e.charCode?e.charCode:e.keyCode),e.delegateTarget=t}static njHandler(e,t){const n=r=>(l.fixEvent(r,e),n.oneOff&&l.off(e,r.type,t),t.apply(e,[r]));return n}static njDelegationHandler(e,t,n){const r=i=>{const o=e.querySelectorAll(t);for(let t=i.target;t&&t!==this;t=t.parentNode)for(let a=o.length;a>=0;a--)if(o[a]===t)return l.fixEvent(i,t),r.oneOff&&l.off(e,i.type,n),n.apply(t,[i]);return null};return r}static findHandler(e,t,n=null){for(const r in e){if(!Object.prototype.hasOwnProperty.call(e,r))continue;const i=e[r];if(i.originalHandler===t&&i.delegationSelector===n)return e[r]}return null}static normalizeParams(e,t,n){const r="string"==typeof t,o=r?n:t;let s=e.replace(l.STRIPNAME_REGEX,"");const u=i[s];u&&(s=u);return"string"==typeof a[s]||(s=e),[r,o,s]}static addHandler(e,t,n,r,i){if("string"!=typeof t||null==e)return;n||(n=r,r=null);const o=l.getEvent(e);for(const a of t.split(" ")){const[t,s,u]=l.normalizeParams(a,n,r),c=o[u]||(o[u]={}),f=l.findHandler(c,s,t?n:null);if(f)return void(f.oneOff=f.oneOff&&i);const d=l.getUidEvent(s,a.replace(l.NAMESPACE_REGEX,"")),h=t?l.njDelegationHandler(e,n,r):l.njHandler(e,n);h.delegationSelector=t?n:null,h.originalHandler=s,h.oneOff=i,h.uidEvent=d,c[d]=h,e.addEventListener(u,h,t)}}static removeHandler(e,t,n,r,i){const o=l.findHandler(t[n],r,i);null!==o&&(e.removeEventListener(n,o,Boolean(i)),delete t[n][o.uidEvent])}static removeNamespacedHandlers(e,t,n,r){const i=t[n]||{};for(const o in i)if(Object.prototype.hasOwnProperty.call(i,o)&&o.indexOf(r)>-1){const r=i[o];l.removeHandler(e,t,n,r.originalHandler,r.delegationSelector)}}static on(e,t,n,r){l.addHandler(e,t,n,r,!1)}static one(e,t,n,r){l.addHandler(e,t,n,r,!0)}static off(e,t,n,r){if("string"!=typeof t||null==e)return;const[i,o,a]=l.normalizeParams(t,n,r),s=a!==t,u=l.getEvent(e);if(void 0!==o){if(!u||!u[a])return;return void l.removeHandler(e,u,a,o,i?n:null)}if("."===t.charAt(0))for(const n in u)Object.prototype.hasOwnProperty.call(u,n)&&l.removeNamespacedHandlers(e,u,n,t.substr(1));const c=u[a]||{};for(const n in c){if(!Object.prototype.hasOwnProperty.call(c,n))continue;const r=n.replace(l.STRIPUID_REGEX,"");if(!s||t.indexOf(r)>-1){const t=c[n];l.removeHandler(e,u,a,t.originalHandler,t.delegationSelector)}}}static trigger(e,t,n){if("string"!=typeof t||null==e)return null;const r=t.replace(l.STRIPNAME_REGEX,""),i="string"==typeof a[r];let o=null;return i?(o=document.createEvent("HTMLEvents"),o.initEvent(r,true,!0)):o=new window.CustomEvent(t,{bubbles:true,cancelable:!0}),void 0!==n&&Object.keys(n).forEach(e=>{Object.defineProperty(o,e,{get:()=>n[e]})}),e.dispatchEvent(o),o}}l.NAMESPACE_REGEX=/[^.]*(?=\..*)\.|.*/,l.STRIPNAME_REGEX=/\..*/,l.KEYEVENT_REGEX=/^key/,l.STRIPUID_REGEX=/::\d+$/,l.EVENTREGISTRY={},l.uidEvent=1;class c extends HTMLElement{constructor(...e){super(),this.components=e,this.instances=[],this.parentNodes=[]}connectedCallback(){this.setup()}disconnectedCallback(){this.instances.forEach(e=>{e.dispose()}),this.instances=null}setup(){let e=this;for(;e.parentNode;)e=e.parentNode,this.parentNodes.push(e);[this,...this.parentNodes].some(e=>e.nextSibling)||"loading"!==document.readyState?this.childrenAvailableCallback():(this.mutationObserver=new MutationObserver(()=>{([this,...this.parentNodes].some(e=>e.nextSibling)||"loading"!==document.readyState)&&(this.childrenAvailableCallback(),this.mutationObserver.disconnect())}),this.mutationObserver.observe(this,{childList:!0}))}childrenAvailableCallback(){this.components.forEach(e=>{const t=this.querySelector(e.SELECTOR.default);if(!t)throw new Error("Default selector of ".concat(e.name," not found: ").concat(e.SELECTOR.default));this.instances.push(new e(t))})}static init(e){if(!e.TAG_NAME)throw new Error("TAG_NAME property of ".concat(e.name," class doesn't exists"));customElements.define(e.TAG_NAME,e)}}n.d(t,"default",(function(){return f})),n.d(t,"AlertWC",(function(){return d}));class f extends class{constructor(e,t,n={}){!t||t instanceof Element||console.error(Error("".concat(t," is not an HTML Element"))),this.options=n,this.element=t}static init(e,t={},n){const r=[],i=document.querySelectorAll(n);for(let n=0;n<i.length;n++){const o=i[n];if(!o.key||o.key!==e.DATA_KEY){const a=new e(i[n],t);o.key||u.setData(i[n],e.DATA_KEY,a),r.push(a)}}return r}}{constructor(e){super(f,e),this.setListeners()}close(){l.trigger(this.element,f.EVENT.close),this.element.animate&&(this.element.animate(f.KEY_FRAMES,{duration:250,delay:100,easing:"ease-out"}).onfinish=()=>{this.destroyElement()})}dispose(){const e=this.element.querySelector(f.SELECTOR.dismiss);l.off(e,f.EVENT.click),u.removeData(this.element,f.DATA_KEY),this.element=null}destroyElement(){this.element.parentNode&&this.element.parentNode.removeChild(this.element),l.trigger(this.element,f.EVENT.closed)}setListeners(){const e=this.element.querySelector(f.SELECTOR.dismiss);l.on(e,f.EVENT.click,()=>{this.close()})}static init(e={}){return super.init(this,e,f.SELECTOR.default)}static getInstance(e){return u.getData(e,f.DATA_KEY)}}f.NAME="".concat(r.KEY_PREFIX,"-alert"),f.DATA_KEY="".concat(r.KEY_PREFIX,".alert"),f.EVENT_KEY=".".concat(f.DATA_KEY),f.SELECTOR={default:".".concat(f.NAME),dismiss:".".concat(f.NAME,"__close")},f.KEY_FRAMES=[{transform:"translateY(0)",opacity:1},{transform:"translateY(-16px)",opacity:0}],f.EVENT={click:"".concat(o.click).concat(f.EVENT_KEY),close:"".concat(o.close).concat(f.EVENT_KEY),closed:"".concat(o.closed).concat(f.EVENT_KEY)};class d extends c{constructor(){super(f)}static init(){c.init(d)}}d.TAG_NAME=f.NAME}]).default}));
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("Alert",[],t):"object"==typeof exports?exports.Alert=t():e.Alert=t()}(window,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=1)}([function(e,t){var n,r;r={},function(e,t){function n(){this._delay=0,this._endDelay=0,this._fill="none",this._iterationStart=0,this._iterations=1,this._duration=0,this._playbackRate=1,this._direction="normal",this._easing="linear",this._easingFunction=d}function r(){return e.isDeprecated("Invalid timing inputs","2016-03-02","TypeError exceptions will be thrown instead.",!0)}function i(t,r,i){var o=new n;return r&&(o.fill="both",o.duration="auto"),"number"!=typeof t||isNaN(t)?void 0!==t&&Object.getOwnPropertyNames(t).forEach((function(n){if("auto"!=t[n]){if(("number"==typeof o[n]||"duration"==n)&&("number"!=typeof t[n]||isNaN(t[n])))return;if("fill"==n&&-1==c.indexOf(t[n]))return;if("direction"==n&&-1==f.indexOf(t[n]))return;if("playbackRate"==n&&1!==t[n]&&e.isDeprecated("AnimationEffectTiming.playbackRate","2014-11-28","Use Animation.playbackRate instead."))return;o[n]=t[n]}})):o.duration=t,o}function o(e,t,n,r){return e<0||e>1||n<0||n>1?d:function(i){function o(e,t,n){return 3*e*(1-n)*(1-n)*n+3*t*(1-n)*n*n+n*n*n}if(i<=0){var a=0;return e>0?a=t/e:!t&&n>0&&(a=r/n),a*i}if(i>=1){var s=0;return n<1?s=(r-1)/(n-1):1==n&&e<1&&(s=(t-1)/(e-1)),1+s*(i-1)}for(var u=0,l=1;u<l;){var c=(u+l)/2,f=o(e,n,c);if(Math.abs(i-f)<1e-5)return o(t,r,c);f<i?u=c:l=c}return o(t,r,c)}}function a(e,t){return function(n){if(n>=1)return 1;var r=1/e;return(n+=t*r)-n%r}}function s(e){v||(v=document.createElement("div").style),v.animationTimingFunction="",v.animationTimingFunction=e;var t=v.animationTimingFunction;if(""==t&&r())throw new TypeError(e+" is not a valid value for easing");return t}function u(e){if("linear"==e)return d;var t=y.exec(e);if(t)return o.apply(this,t.slice(1).map(Number));var n=b.exec(e);if(n)return a(Number(n[1]),m);var r=T.exec(e);return r?a(Number(r[1]),{start:h,middle:p,end:m}[r[2]]):g[e]||d}function l(e,t,n){if(null==t)return E;var r=n.delay+e+n.endDelay;return t<Math.min(n.delay,r)?x:t>=Math.min(n.delay+e,r)?w:N}var c="backwards|forwards|both|none".split("|"),f="reverse|alternate|alternate-reverse".split("|"),d=function(e){return e};n.prototype={_setMember:function(t,n){this["_"+t]=n,this._effect&&(this._effect._timingInput[t]=n,this._effect._timing=e.normalizeTimingInput(this._effect._timingInput),this._effect.activeDuration=e.calculateActiveDuration(this._effect._timing),this._effect._animation&&this._effect._animation._rebuildUnderlyingAnimation())},get playbackRate(){return this._playbackRate},set delay(e){this._setMember("delay",e)},get delay(){return this._delay},set endDelay(e){this._setMember("endDelay",e)},get endDelay(){return this._endDelay},set fill(e){this._setMember("fill",e)},get fill(){return this._fill},set iterationStart(e){if((isNaN(e)||e<0)&&r())throw new TypeError("iterationStart must be a non-negative number, received: "+e);this._setMember("iterationStart",e)},get iterationStart(){return this._iterationStart},set duration(e){if("auto"!=e&&(isNaN(e)||e<0)&&r())throw new TypeError("duration must be non-negative or auto, received: "+e);this._setMember("duration",e)},get duration(){return this._duration},set direction(e){this._setMember("direction",e)},get direction(){return this._direction},set easing(e){this._easingFunction=u(s(e)),this._setMember("easing",e)},get easing(){return this._easing},set iterations(e){if((isNaN(e)||e<0)&&r())throw new TypeError("iterations must be non-negative, received: "+e);this._setMember("iterations",e)},get iterations(){return this._iterations}};var h=1,p=.5,m=0,g={ease:o(.25,.1,.25,1),"ease-in":o(.42,0,1,1),"ease-out":o(0,0,.58,1),"ease-in-out":o(.42,0,.58,1),"step-start":a(1,h),"step-middle":a(1,p),"step-end":a(1,m)},v=null,_="\\s*(-?\\d+\\.?\\d*|-?\\.\\d+)\\s*",y=new RegExp("cubic-bezier\\("+_+","+_+","+_+","+_+"\\)"),b=/steps\(\s*(\d+)\s*\)/,T=/steps\(\s*(\d+)\s*,\s*(start|middle|end)\s*\)/,E=0,x=1,w=2,N=3;e.cloneTimingInput=function(e){if("number"==typeof e)return e;var t={};for(var n in e)t[n]=e[n];return t},e.makeTiming=i,e.numericTimingToObject=function(e){return"number"==typeof e&&(e=isNaN(e)?{duration:0}:{duration:e}),e},e.normalizeTimingInput=function(t,n){return i(t=e.numericTimingToObject(t),n)},e.calculateActiveDuration=function(e){return Math.abs(function(e){return 0===e.duration||0===e.iterations?0:e.duration*e.iterations}(e)/e.playbackRate)},e.calculateIterationProgress=function(e,t,n){var r=l(e,t,n),i=function(e,t,n,r,i){switch(r){case x:return"backwards"==t||"both"==t?0:null;case N:return n-i;case w:return"forwards"==t||"both"==t?e:null;case E:return null}}(e,n.fill,t,r,n.delay);if(null===i)return null;var o=function(e,t,n,r,i){var o=i;return 0===e?t!==x&&(o+=n):o+=r/e,o}(n.duration,r,n.iterations,i,n.iterationStart),a=function(e,t,n,r,i,o){var a=e===1/0?t%1:e%1;return 0!==a||n!==w||0===r||0===i&&0!==o||(a=1),a}(o,n.iterationStart,r,n.iterations,i,n.duration),s=function(e,t,n,r){return e===w&&t===1/0?1/0:1===n?Math.floor(r)-1:Math.floor(r)}(r,n.iterations,a,o),u=function(e,t,n){var r=e;if("normal"!==e&&"reverse"!==e){var i=t;"alternate-reverse"===e&&(i+=1),r="normal",i!==1/0&&i%2!=0&&(r="reverse")}return"normal"===r?n:1-n}(n.direction,s,a);return n._easingFunction(u)},e.calculatePhase=l,e.normalizeEasing=s,e.parseEasingFunction=u}(n={}),function(e,t){function n(e,t){return e in u&&u[e][t]||t}function r(e,t,r){if(!function(e){return"display"===e||0===e.lastIndexOf("animation",0)||0===e.lastIndexOf("transition",0)}(e)){var i=o[e];if(i)for(var s in a.style[e]=t,i){var u=i[s],l=a.style[u];r[u]=n(u,l)}else r[e]=n(e,t)}}function i(e){var t=[];for(var n in e)if(!(n in["easing","offset","composite"])){var r=e[n];Array.isArray(r)||(r=[r]);for(var i,o=r.length,a=0;a<o;a++)(i={}).offset="offset"in e?e.offset:1==o?1:a/(o-1),"easing"in e&&(i.easing=e.easing),"composite"in e&&(i.composite=e.composite),i[n]=r[a],t.push(i)}return t.sort((function(e,t){return e.offset-t.offset})),t}var o={background:["backgroundImage","backgroundPosition","backgroundSize","backgroundRepeat","backgroundAttachment","backgroundOrigin","backgroundClip","backgroundColor"],border:["borderTopColor","borderTopStyle","borderTopWidth","borderRightColor","borderRightStyle","borderRightWidth","borderBottomColor","borderBottomStyle","borderBottomWidth","borderLeftColor","borderLeftStyle","borderLeftWidth"],borderBottom:["borderBottomWidth","borderBottomStyle","borderBottomColor"],borderColor:["borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"],borderLeft:["borderLeftWidth","borderLeftStyle","borderLeftColor"],borderRadius:["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],borderRight:["borderRightWidth","borderRightStyle","borderRightColor"],borderTop:["borderTopWidth","borderTopStyle","borderTopColor"],borderWidth:["borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth"],flex:["flexGrow","flexShrink","flexBasis"],font:["fontFamily","fontSize","fontStyle","fontVariant","fontWeight","lineHeight"],margin:["marginTop","marginRight","marginBottom","marginLeft"],outline:["outlineColor","outlineStyle","outlineWidth"],padding:["paddingTop","paddingRight","paddingBottom","paddingLeft"]},a=document.createElementNS("http://www.w3.org/1999/xhtml","div"),s={thin:"1px",medium:"3px",thick:"5px"},u={borderBottomWidth:s,borderLeftWidth:s,borderRightWidth:s,borderTopWidth:s,fontSize:{"xx-small":"60%","x-small":"75%",small:"89%",medium:"100%",large:"120%","x-large":"150%","xx-large":"200%"},fontWeight:{normal:"400",bold:"700"},outlineWidth:s,textShadow:{none:"0px 0px 0px transparent"},boxShadow:{none:"0px 0px 0px 0px transparent"}};e.convertToArrayForm=i,e.normalizeKeyframes=function(t){if(null==t)return[];window.Symbol&&Symbol.iterator&&Array.prototype.from&&t[Symbol.iterator]&&(t=Array.from(t)),Array.isArray(t)||(t=i(t));for(var n=t.map((function(t){var n={};for(var i in t){var o=t[i];if("offset"==i){if(null!=o){if(o=Number(o),!isFinite(o))throw new TypeError("Keyframe offsets must be numbers.");if(o<0||o>1)throw new TypeError("Keyframe offsets must be between 0 and 1.")}}else if("composite"==i){if("add"==o||"accumulate"==o)throw{type:DOMException.NOT_SUPPORTED_ERR,name:"NotSupportedError",message:"add compositing is not supported"};if("replace"!=o)throw new TypeError("Invalid composite mode "+o+".")}else o="easing"==i?e.normalizeEasing(o):""+o;r(i,o,n)}return null==n.offset&&(n.offset=null),null==n.easing&&(n.easing="linear"),n})),o=!0,a=-1/0,s=0;s<n.length;s++){var u=n[s].offset;if(null!=u){if(u<a)throw new TypeError("Keyframes are not loosely sorted by offset. Sort or specify offsets.");a=u}else o=!1}return n=n.filter((function(e){return e.offset>=0&&e.offset<=1})),o||function(){var e=n.length;null==n[e-1].offset&&(n[e-1].offset=1),e>1&&null==n[0].offset&&(n[0].offset=0);for(var t=0,r=n[0].offset,i=1;i<e;i++){var o=n[i].offset;if(null!=o){for(var a=1;a<i-t;a++)n[t+a].offset=r+(o-r)*a/(i-t);t=i,r=o}}}(),n}}(n),function(e){var t={};e.isDeprecated=function(e,n,r,i){var o=i?"are":"is",a=new Date,s=new Date(n);return s.setMonth(s.getMonth()+3),!(a<s&&(e in t||console.warn("Web Animations: "+e+" "+o+" deprecated and will stop working on "+s.toDateString()+". "+r),t[e]=!0,1))},e.deprecated=function(t,n,r,i){var o=i?"are":"is";if(e.isDeprecated(t,n,r,i))throw new Error(t+" "+o+" no longer supported. "+r)}}(n),function(){if(document.documentElement.animate){var e=document.documentElement.animate([],0),t=!0;if(e&&(t=!1,"play|currentTime|pause|reverse|playbackRate|cancel|finish|startTime|playState".split("|").forEach((function(n){void 0===e[n]&&(t=!0)}))),!t)return}!function(e,t,n){t.convertEffectInput=function(n){var r=function(e){for(var t={},n=0;n<e.length;n++)for(var r in e[n])if("offset"!=r&&"easing"!=r&&"composite"!=r){var i={offset:e[n].offset,easing:e[n].easing,value:e[n][r]};t[r]=t[r]||[],t[r].push(i)}for(var o in t){var a=t[o];if(0!=a[0].offset||1!=a[a.length-1].offset)throw{type:DOMException.NOT_SUPPORTED_ERR,name:"NotSupportedError",message:"Partial keyframes are not supported"}}return t}(e.normalizeKeyframes(n)),i=function(n){var r=[];for(var i in n)for(var o=n[i],a=0;a<o.length-1;a++){var s=a,u=a+1,l=o[s].offset,c=o[u].offset,f=l,d=c;0==a&&(f=-1/0,0==c&&(u=s)),a==o.length-2&&(d=1/0,1==l&&(s=u)),r.push({applyFrom:f,applyTo:d,startOffset:o[s].offset,endOffset:o[u].offset,easingFunction:e.parseEasingFunction(o[s].easing),property:i,interpolation:t.propertyInterpolation(i,o[s].value,o[u].value)})}return r.sort((function(e,t){return e.startOffset-t.startOffset})),r}(r);return function(e,n){if(null!=n)i.filter((function(e){return n>=e.applyFrom&&n<e.applyTo})).forEach((function(r){var i=n-r.startOffset,o=r.endOffset-r.startOffset,a=0==o?0:r.easingFunction(i/o);t.apply(e,r.property,r.interpolation(a))}));else for(var o in r)"offset"!=o&&"easing"!=o&&"composite"!=o&&t.clear(e,o)}}}(n,r),function(e,t,n){function r(e){return e.replace(/-(.)/g,(function(e,t){return t.toUpperCase()}))}function i(e,t,n){o[n]=o[n]||[],o[n].push([e,t])}var o={};t.addPropertiesHandler=function(e,t,n){for(var o=0;o<n.length;o++)i(e,t,r(n[o]))};var a={backgroundColor:"transparent",backgroundPosition:"0% 0%",borderBottomColor:"currentColor",borderBottomLeftRadius:"0px",borderBottomRightRadius:"0px",borderBottomWidth:"3px",borderLeftColor:"currentColor",borderLeftWidth:"3px",borderRightColor:"currentColor",borderRightWidth:"3px",borderSpacing:"2px",borderTopColor:"currentColor",borderTopLeftRadius:"0px",borderTopRightRadius:"0px",borderTopWidth:"3px",bottom:"auto",clip:"rect(0px, 0px, 0px, 0px)",color:"black",fontSize:"100%",fontWeight:"400",height:"auto",left:"auto",letterSpacing:"normal",lineHeight:"120%",marginBottom:"0px",marginLeft:"0px",marginRight:"0px",marginTop:"0px",maxHeight:"none",maxWidth:"none",minHeight:"0px",minWidth:"0px",opacity:"1.0",outlineColor:"invert",outlineOffset:"0px",outlineWidth:"3px",paddingBottom:"0px",paddingLeft:"0px",paddingRight:"0px",paddingTop:"0px",right:"auto",strokeDasharray:"none",strokeDashoffset:"0px",textIndent:"0px",textShadow:"0px 0px 0px transparent",top:"auto",transform:"",verticalAlign:"0px",visibility:"visible",width:"auto",wordSpacing:"normal",zIndex:"auto"};t.propertyInterpolation=function(n,i,s){var u=n;/-/.test(n)&&!e.isDeprecated("Hyphenated property names","2016-03-22","Use camelCase instead.",!0)&&(u=r(n)),"initial"!=i&&"initial"!=s||("initial"==i&&(i=a[u]),"initial"==s&&(s=a[u]));for(var l=i==s?[]:o[u],c=0;l&&c<l.length;c++){var f=l[c][0](i),d=l[c][0](s);if(void 0!==f&&void 0!==d){var h=l[c][1](f,d);if(h){var p=t.Interpolation.apply(null,h);return function(e){return 0==e?i:1==e?s:p(e)}}}}return t.Interpolation(!1,!0,(function(e){return e?s:i}))}}(n,r),function(e,t,n){t.KeyframeEffect=function(n,r,i,o){var a,s=function(t){var n=e.calculateActiveDuration(t),r=function(r){return e.calculateIterationProgress(n,r,t)};return r._totalDuration=t.delay+n+t.endDelay,r}(e.normalizeTimingInput(i)),u=t.convertEffectInput(r),l=function(){u(n,a)};return l._update=function(e){return null!==(a=s(e))},l._clear=function(){u(n,null)},l._hasSameTarget=function(e){return n===e},l._target=n,l._totalDuration=s._totalDuration,l._id=o,l}}(n,r),function(e,t){function n(e,t,n){n.enumerable=!0,n.configurable=!0,Object.defineProperty(e,t,n)}function r(e){this._element=e,this._surrogateStyle=document.createElementNS("http://www.w3.org/1999/xhtml","div").style,this._style=e.style,this._length=0,this._isAnimatedProperty={},this._updateSvgTransformAttr=function(e,t){return!(!t.namespaceURI||-1==t.namespaceURI.indexOf("/svg"))&&(o in e||(e[o]=/Trident|MSIE|IEMobile|Edge|Android 4/i.test(e.navigator.userAgent)),e[o])}(window,e),this._savedTransformAttr=null;for(var t=0;t<this._style.length;t++){var n=this._style[t];this._surrogateStyle[n]=this._style[n]}this._updateIndices()}function i(e){if(!e._webAnimationsPatchedStyle){var t=new r(e);try{n(e,"style",{get:function(){return t}})}catch(t){e.style._set=function(t,n){e.style[t]=n},e.style._clear=function(t){e.style[t]=""}}e._webAnimationsPatchedStyle=e.style}}var o="_webAnimationsUpdateSvgTransformAttr",a={cssText:1,length:1,parentRule:1},s={getPropertyCSSValue:1,getPropertyPriority:1,getPropertyValue:1,item:1,removeProperty:1,setProperty:1},u={removeProperty:1,setProperty:1};for(var l in r.prototype={get cssText(){return this._surrogateStyle.cssText},set cssText(e){for(var t={},n=0;n<this._surrogateStyle.length;n++)t[this._surrogateStyle[n]]=!0;for(this._surrogateStyle.cssText=e,this._updateIndices(),n=0;n<this._surrogateStyle.length;n++)t[this._surrogateStyle[n]]=!0;for(var r in t)this._isAnimatedProperty[r]||this._style.setProperty(r,this._surrogateStyle.getPropertyValue(r))},get length(){return this._surrogateStyle.length},get parentRule(){return this._style.parentRule},_updateIndices:function(){for(;this._length<this._surrogateStyle.length;)Object.defineProperty(this,this._length,{configurable:!0,enumerable:!1,get:function(e){return function(){return this._surrogateStyle[e]}}(this._length)}),this._length++;for(;this._length>this._surrogateStyle.length;)this._length--,Object.defineProperty(this,this._length,{configurable:!0,enumerable:!1,value:void 0})},_set:function(t,n){this._style[t]=n,this._isAnimatedProperty[t]=!0,this._updateSvgTransformAttr&&"transform"==e.unprefixedPropertyName(t)&&(null==this._savedTransformAttr&&(this._savedTransformAttr=this._element.getAttribute("transform")),this._element.setAttribute("transform",e.transformToSvgMatrix(n)))},_clear:function(t){this._style[t]=this._surrogateStyle[t],this._updateSvgTransformAttr&&"transform"==e.unprefixedPropertyName(t)&&(this._savedTransformAttr?this._element.setAttribute("transform",this._savedTransformAttr):this._element.removeAttribute("transform"),this._savedTransformAttr=null),delete this._isAnimatedProperty[t]}},s)r.prototype[l]=function(e,t){return function(){var n=this._surrogateStyle[e].apply(this._surrogateStyle,arguments);return t&&(this._isAnimatedProperty[arguments[0]]||this._style[e].apply(this._style,arguments),this._updateIndices()),n}}(l,l in u);for(var c in document.documentElement.style)c in a||c in s||function(e){n(r.prototype,e,{get:function(){return this._surrogateStyle[e]},set:function(t){this._surrogateStyle[e]=t,this._updateIndices(),this._isAnimatedProperty[e]||(this._style[e]=t)}})}(c);e.apply=function(t,n,r){i(t),t.style._set(e.propertyName(n),r)},e.clear=function(t,n){t._webAnimationsPatchedStyle&&t.style._clear(e.propertyName(n))}}(r),function(e){window.Element.prototype.animate=function(t,n){var r="";return n&&n.id&&(r=n.id),e.timeline._play(e.KeyframeEffect(this,t,n,r))}}(r),function(e,t){e.Interpolation=function(e,t,n){return function(r){return n(function e(t,n,r){if("number"==typeof t&&"number"==typeof n)return t*(1-r)+n*r;if("boolean"==typeof t&&"boolean"==typeof n)return r<.5?t:n;if(t.length==n.length){for(var i=[],o=0;o<t.length;o++)i.push(e(t[o],n[o],r));return i}throw"Mismatched interpolation arguments "+t+":"+n}(e,t,r))}}}(r),function(e,t){var n=function(){function e(e,t){for(var n=[[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0]],r=0;r<4;r++)for(var i=0;i<4;i++)for(var o=0;o<4;o++)n[r][i]+=t[r][o]*e[o][i];return n}return function(t,n,r,i,o){for(var a=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]],s=0;s<4;s++)a[s][3]=o[s];for(s=0;s<3;s++)for(var u=0;u<3;u++)a[3][s]+=t[u]*a[u][s];var l=i[0],c=i[1],f=i[2],d=i[3],h=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]];h[0][0]=1-2*(c*c+f*f),h[0][1]=2*(l*c-f*d),h[0][2]=2*(l*f+c*d),h[1][0]=2*(l*c+f*d),h[1][1]=1-2*(l*l+f*f),h[1][2]=2*(c*f-l*d),h[2][0]=2*(l*f-c*d),h[2][1]=2*(c*f+l*d),h[2][2]=1-2*(l*l+c*c),a=e(a,h);var p=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]];for(r[2]&&(p[2][1]=r[2],a=e(a,p)),r[1]&&(p[2][1]=0,p[2][0]=r[0],a=e(a,p)),r[0]&&(p[2][0]=0,p[1][0]=r[0],a=e(a,p)),s=0;s<3;s++)for(u=0;u<3;u++)a[s][u]*=n[s];return function(e){return 0==e[0][2]&&0==e[0][3]&&0==e[1][2]&&0==e[1][3]&&0==e[2][0]&&0==e[2][1]&&1==e[2][2]&&0==e[2][3]&&0==e[3][2]&&1==e[3][3]}(a)?[a[0][0],a[0][1],a[1][0],a[1][1],a[3][0],a[3][1]]:a[0].concat(a[1],a[2],a[3])}}();e.composeMatrix=n,e.quat=function(t,n,r){var i=e.dot(t,n),o=[];if(1===(i=function(e,t,n){return Math.max(Math.min(e,n),t)}(i,-1,1)))o=t;else for(var a=Math.acos(i),s=1*Math.sin(r*a)/Math.sqrt(1-i*i),u=0;u<4;u++)o.push(t[u]*(Math.cos(r*a)-i*s)+n[u]*s);return o}}(r),function(e,t,n){e.sequenceNumber=0;var r=function(e,t,n){this.target=e,this.currentTime=t,this.timelineTime=n,this.type="finish",this.bubbles=!1,this.cancelable=!1,this.currentTarget=e,this.defaultPrevented=!1,this.eventPhase=Event.AT_TARGET,this.timeStamp=Date.now()};t.Animation=function(t){this.id="",t&&t._id&&(this.id=t._id),this._sequenceNumber=e.sequenceNumber++,this._currentTime=0,this._startTime=null,this._paused=!1,this._playbackRate=1,this._inTimeline=!0,this._finishedFlag=!0,this.onfinish=null,this._finishHandlers=[],this._effect=t,this._inEffect=this._effect._update(0),this._idle=!0,this._currentTimePending=!1},t.Animation.prototype={_ensureAlive:function(){this.playbackRate<0&&0===this.currentTime?this._inEffect=this._effect._update(-1):this._inEffect=this._effect._update(this.currentTime),this._inTimeline||!this._inEffect&&this._finishedFlag||(this._inTimeline=!0,t.timeline._animations.push(this))},_tickCurrentTime:function(e,t){e!=this._currentTime&&(this._currentTime=e,this._isFinished&&!t&&(this._currentTime=this._playbackRate>0?this._totalDuration:0),this._ensureAlive())},get currentTime(){return this._idle||this._currentTimePending?null:this._currentTime},set currentTime(e){e=+e,isNaN(e)||(t.restart(),this._paused||null==this._startTime||(this._startTime=this._timeline.currentTime-e/this._playbackRate),this._currentTimePending=!1,this._currentTime!=e&&(this._idle&&(this._idle=!1,this._paused=!0),this._tickCurrentTime(e,!0),t.applyDirtiedAnimation(this)))},get startTime(){return this._startTime},set startTime(e){e=+e,isNaN(e)||this._paused||this._idle||(this._startTime=e,this._tickCurrentTime((this._timeline.currentTime-this._startTime)*this.playbackRate),t.applyDirtiedAnimation(this))},get playbackRate(){return this._playbackRate},set playbackRate(e){if(e!=this._playbackRate){var n=this.currentTime;this._playbackRate=e,this._startTime=null,"paused"!=this.playState&&"idle"!=this.playState&&(this._finishedFlag=!1,this._idle=!1,this._ensureAlive(),t.applyDirtiedAnimation(this)),null!=n&&(this.currentTime=n)}},get _isFinished(){return!this._idle&&(this._playbackRate>0&&this._currentTime>=this._totalDuration||this._playbackRate<0&&this._currentTime<=0)},get _totalDuration(){return this._effect._totalDuration},get playState(){return this._idle?"idle":null==this._startTime&&!this._paused&&0!=this.playbackRate||this._currentTimePending?"pending":this._paused?"paused":this._isFinished?"finished":"running"},_rewind:function(){if(this._playbackRate>=0)this._currentTime=0;else{if(!(this._totalDuration<1/0))throw new DOMException("Unable to rewind negative playback rate animation with infinite duration","InvalidStateError");this._currentTime=this._totalDuration}},play:function(){this._paused=!1,(this._isFinished||this._idle)&&(this._rewind(),this._startTime=null),this._finishedFlag=!1,this._idle=!1,this._ensureAlive(),t.applyDirtiedAnimation(this)},pause:function(){this._isFinished||this._paused||this._idle?this._idle&&(this._rewind(),this._idle=!1):this._currentTimePending=!0,this._startTime=null,this._paused=!0},finish:function(){this._idle||(this.currentTime=this._playbackRate>0?this._totalDuration:0,this._startTime=this._totalDuration-this.currentTime,this._currentTimePending=!1,t.applyDirtiedAnimation(this))},cancel:function(){this._inEffect&&(this._inEffect=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._startTime=null,this._effect._update(null),t.applyDirtiedAnimation(this))},reverse:function(){this.playbackRate*=-1,this.play()},addEventListener:function(e,t){"function"==typeof t&&"finish"==e&&this._finishHandlers.push(t)},removeEventListener:function(e,t){if("finish"==e){var n=this._finishHandlers.indexOf(t);n>=0&&this._finishHandlers.splice(n,1)}},_fireEvents:function(e){if(this._isFinished){if(!this._finishedFlag){var t=new r(this,this._currentTime,e),n=this._finishHandlers.concat(this.onfinish?[this.onfinish]:[]);setTimeout((function(){n.forEach((function(e){e.call(t.target,t)}))}),0),this._finishedFlag=!0}}else this._finishedFlag=!1},_tick:function(e,t){this._idle||this._paused||(null==this._startTime?t&&(this.startTime=e-this._currentTime/this.playbackRate):this._isFinished||this._tickCurrentTime((e-this._startTime)*this.playbackRate)),t&&(this._currentTimePending=!1,this._fireEvents(e))},get _needsTick(){return this.playState in{pending:1,running:1}||!this._finishedFlag},_targetAnimations:function(){var e=this._effect._target;return e._activeAnimations||(e._activeAnimations=[]),e._activeAnimations},_markTarget:function(){var e=this._targetAnimations();-1===e.indexOf(this)&&e.push(this)},_unmarkTarget:function(){var e=this._targetAnimations(),t=e.indexOf(this);-1!==t&&e.splice(t,1)}}}(n,r),function(e,t,n){function r(e){var t=l;l=[],e<m.currentTime&&(e=m.currentTime),m._animations.sort(i),m._animations=s(e,!0,m._animations)[0],t.forEach((function(t){t[1](e)})),a()}function i(e,t){return e._sequenceNumber-t._sequenceNumber}function o(){this._animations=[],this.currentTime=window.performance&&performance.now?performance.now():0}function a(){h.forEach((function(e){e()})),h.length=0}function s(e,n,r){p=!0,d=!1,t.timeline.currentTime=e,f=!1;var i=[],o=[],a=[],s=[];return r.forEach((function(t){t._tick(e,n),t._inEffect?(o.push(t._effect),t._markTarget()):(i.push(t._effect),t._unmarkTarget()),t._needsTick&&(f=!0);var r=t._inEffect||t._needsTick;t._inTimeline=r,r?a.push(t):s.push(t)})),h.push.apply(h,i),h.push.apply(h,o),f&&requestAnimationFrame((function(){})),p=!1,[a,s]}var u=window.requestAnimationFrame,l=[],c=0;window.requestAnimationFrame=function(e){var t=c++;return 0==l.length&&u(r),l.push([t,e]),t},window.cancelAnimationFrame=function(e){l.forEach((function(t){t[0]==e&&(t[1]=function(){})}))},o.prototype={_play:function(n){n._timing=e.normalizeTimingInput(n.timing);var r=new t.Animation(n);return r._idle=!1,r._timeline=this,this._animations.push(r),t.restart(),t.applyDirtiedAnimation(r),r}};var f=!1,d=!1;t.restart=function(){return f||(f=!0,requestAnimationFrame((function(){})),d=!0),d},t.applyDirtiedAnimation=function(e){if(!p){e._markTarget();var n=e._targetAnimations();n.sort(i),s(t.timeline.currentTime,!1,n.slice())[1].forEach((function(e){var t=m._animations.indexOf(e);-1!==t&&m._animations.splice(t,1)})),a()}};var h=[],p=!1,m=new o;t.timeline=m}(n,r),function(e,t){function n(e,t){for(var n=0,r=0;r<e.length;r++)n+=e[r]*t[r];return n}function r(e,t){return[e[0]*t[0]+e[4]*t[1]+e[8]*t[2]+e[12]*t[3],e[1]*t[0]+e[5]*t[1]+e[9]*t[2]+e[13]*t[3],e[2]*t[0]+e[6]*t[1]+e[10]*t[2]+e[14]*t[3],e[3]*t[0]+e[7]*t[1]+e[11]*t[2]+e[15]*t[3],e[0]*t[4]+e[4]*t[5]+e[8]*t[6]+e[12]*t[7],e[1]*t[4]+e[5]*t[5]+e[9]*t[6]+e[13]*t[7],e[2]*t[4]+e[6]*t[5]+e[10]*t[6]+e[14]*t[7],e[3]*t[4]+e[7]*t[5]+e[11]*t[6]+e[15]*t[7],e[0]*t[8]+e[4]*t[9]+e[8]*t[10]+e[12]*t[11],e[1]*t[8]+e[5]*t[9]+e[9]*t[10]+e[13]*t[11],e[2]*t[8]+e[6]*t[9]+e[10]*t[10]+e[14]*t[11],e[3]*t[8]+e[7]*t[9]+e[11]*t[10]+e[15]*t[11],e[0]*t[12]+e[4]*t[13]+e[8]*t[14]+e[12]*t[15],e[1]*t[12]+e[5]*t[13]+e[9]*t[14]+e[13]*t[15],e[2]*t[12]+e[6]*t[13]+e[10]*t[14]+e[14]*t[15],e[3]*t[12]+e[7]*t[13]+e[11]*t[14]+e[15]*t[15]]}function i(e){var t=e.rad||0;return((e.deg||0)/360+(e.grad||0)/400+(e.turn||0))*(2*Math.PI)+t}function o(e){switch(e.t){case"rotatex":var t=i(e.d[0]);return[1,0,0,0,0,Math.cos(t),Math.sin(t),0,0,-Math.sin(t),Math.cos(t),0,0,0,0,1];case"rotatey":return t=i(e.d[0]),[Math.cos(t),0,-Math.sin(t),0,0,1,0,0,Math.sin(t),0,Math.cos(t),0,0,0,0,1];case"rotate":case"rotatez":return t=i(e.d[0]),[Math.cos(t),Math.sin(t),0,0,-Math.sin(t),Math.cos(t),0,0,0,0,1,0,0,0,0,1];case"rotate3d":var n=e.d[0],r=e.d[1],o=e.d[2],a=(t=i(e.d[3]),n*n+r*r+o*o);if(0===a)n=1,r=0,o=0;else if(1!==a){var s=Math.sqrt(a);n/=s,r/=s,o/=s}var u=Math.sin(t/2),l=u*Math.cos(t/2),c=u*u;return[1-2*(r*r+o*o)*c,2*(n*r*c+o*l),2*(n*o*c-r*l),0,2*(n*r*c-o*l),1-2*(n*n+o*o)*c,2*(r*o*c+n*l),0,2*(n*o*c+r*l),2*(r*o*c-n*l),1-2*(n*n+r*r)*c,0,0,0,0,1];case"scale":return[e.d[0],0,0,0,0,e.d[1],0,0,0,0,1,0,0,0,0,1];case"scalex":return[e.d[0],0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];case"scaley":return[1,0,0,0,0,e.d[0],0,0,0,0,1,0,0,0,0,1];case"scalez":return[1,0,0,0,0,1,0,0,0,0,e.d[0],0,0,0,0,1];case"scale3d":return[e.d[0],0,0,0,0,e.d[1],0,0,0,0,e.d[2],0,0,0,0,1];case"skew":var f=i(e.d[0]),d=i(e.d[1]);return[1,Math.tan(d),0,0,Math.tan(f),1,0,0,0,0,1,0,0,0,0,1];case"skewx":return t=i(e.d[0]),[1,0,0,0,Math.tan(t),1,0,0,0,0,1,0,0,0,0,1];case"skewy":return t=i(e.d[0]),[1,Math.tan(t),0,0,0,1,0,0,0,0,1,0,0,0,0,1];case"translate":return[1,0,0,0,0,1,0,0,0,0,1,0,n=e.d[0].px||0,r=e.d[1].px||0,0,1];case"translatex":return[1,0,0,0,0,1,0,0,0,0,1,0,n=e.d[0].px||0,0,0,1];case"translatey":return[1,0,0,0,0,1,0,0,0,0,1,0,0,r=e.d[0].px||0,0,1];case"translatez":return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,o=e.d[0].px||0,1];case"translate3d":return[1,0,0,0,0,1,0,0,0,0,1,0,n=e.d[0].px||0,r=e.d[1].px||0,o=e.d[2].px||0,1];case"perspective":return[1,0,0,0,0,1,0,0,0,0,1,e.d[0].px?-1/e.d[0].px:0,0,0,0,1];case"matrix":return[e.d[0],e.d[1],0,0,e.d[2],e.d[3],0,0,0,0,1,0,e.d[4],e.d[5],0,1];case"matrix3d":return e.d}}function a(e){return 0===e.length?[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]:e.map(o).reduce(r)}var s=function(){function e(e){return e[0][0]*e[1][1]*e[2][2]+e[1][0]*e[2][1]*e[0][2]+e[2][0]*e[0][1]*e[1][2]-e[0][2]*e[1][1]*e[2][0]-e[1][2]*e[2][1]*e[0][0]-e[2][2]*e[0][1]*e[1][0]}function t(e){var t=r(e);return[e[0]/t,e[1]/t,e[2]/t]}function r(e){return Math.sqrt(e[0]*e[0]+e[1]*e[1]+e[2]*e[2])}function i(e,t,n,r){return[n*e[0]+r*t[0],n*e[1]+r*t[1],n*e[2]+r*t[2]]}return function(o){var a=[o.slice(0,4),o.slice(4,8),o.slice(8,12),o.slice(12,16)];if(1!==a[3][3])return null;for(var s=[],u=0;u<4;u++)s.push(a[u].slice());for(u=0;u<3;u++)s[u][3]=0;if(0===e(s))return null;var l,c=[];a[0][3]||a[1][3]||a[2][3]?(c.push(a[0][3]),c.push(a[1][3]),c.push(a[2][3]),c.push(a[3][3]),l=function(e,t){for(var n=[],r=0;r<4;r++){for(var i=0,o=0;o<4;o++)i+=e[o]*t[o][r];n.push(i)}return n}(c,function(e){return[[e[0][0],e[1][0],e[2][0],e[3][0]],[e[0][1],e[1][1],e[2][1],e[3][1]],[e[0][2],e[1][2],e[2][2],e[3][2]],[e[0][3],e[1][3],e[2][3],e[3][3]]]}(function(t){for(var n=1/e(t),r=t[0][0],i=t[0][1],o=t[0][2],a=t[1][0],s=t[1][1],u=t[1][2],l=t[2][0],c=t[2][1],f=t[2][2],d=[[(s*f-u*c)*n,(o*c-i*f)*n,(i*u-o*s)*n,0],[(u*l-a*f)*n,(r*f-o*l)*n,(o*a-r*u)*n,0],[(a*c-s*l)*n,(l*i-r*c)*n,(r*s-i*a)*n,0]],h=[],p=0;p<3;p++){for(var m=0,g=0;g<3;g++)m+=t[3][g]*d[g][p];h.push(m)}return h.push(1),d.push(h),d}(s)))):l=[0,0,0,1];var f=a[3].slice(0,3),d=[];d.push(a[0].slice(0,3));var h=[];h.push(r(d[0])),d[0]=t(d[0]);var p=[];d.push(a[1].slice(0,3)),p.push(n(d[0],d[1])),d[1]=i(d[1],d[0],1,-p[0]),h.push(r(d[1])),d[1]=t(d[1]),p[0]/=h[1],d.push(a[2].slice(0,3)),p.push(n(d[0],d[2])),d[2]=i(d[2],d[0],1,-p[1]),p.push(n(d[1],d[2])),d[2]=i(d[2],d[1],1,-p[2]),h.push(r(d[2])),d[2]=t(d[2]),p[1]/=h[2],p[2]/=h[2];var m=function(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]}(d[1],d[2]);if(n(d[0],m)<0)for(u=0;u<3;u++)h[u]*=-1,d[u][0]*=-1,d[u][1]*=-1,d[u][2]*=-1;var g,v,_=d[0][0]+d[1][1]+d[2][2]+1;return _>1e-4?(g=.5/Math.sqrt(_),v=[(d[2][1]-d[1][2])*g,(d[0][2]-d[2][0])*g,(d[1][0]-d[0][1])*g,.25/g]):d[0][0]>d[1][1]&&d[0][0]>d[2][2]?v=[.25*(g=2*Math.sqrt(1+d[0][0]-d[1][1]-d[2][2])),(d[0][1]+d[1][0])/g,(d[0][2]+d[2][0])/g,(d[2][1]-d[1][2])/g]:d[1][1]>d[2][2]?(g=2*Math.sqrt(1+d[1][1]-d[0][0]-d[2][2]),v=[(d[0][1]+d[1][0])/g,.25*g,(d[1][2]+d[2][1])/g,(d[0][2]-d[2][0])/g]):(g=2*Math.sqrt(1+d[2][2]-d[0][0]-d[1][1]),v=[(d[0][2]+d[2][0])/g,(d[1][2]+d[2][1])/g,.25*g,(d[1][0]-d[0][1])/g]),[f,h,p,v,l]}}();e.dot=n,e.makeMatrixDecomposition=function(e){return[s(a(e))]},e.transformListToMatrix=a}(r),function(e){function t(e,t){var n=e.exec(t);if(n)return[n=e.ignoreCase?n[0].toLowerCase():n[0],t.substr(n.length)]}function n(e,t){var n=e(t=t.replace(/^\s*/,""));if(n)return[n[0],n[1].replace(/^\s*/,"")]}function r(e,t,n,r,i){for(var o=[],a=[],s=[],u=function(e,t){for(var n=e,r=t;n&&r;)n>r?n%=r:r%=n;return e*t/(n+r)}(r.length,i.length),l=0;l<u;l++){var c=t(r[l%r.length],i[l%i.length]);if(!c)return;o.push(c[0]),a.push(c[1]),s.push(c[2])}return[o,a,function(t){var r=t.map((function(e,t){return s[t](e)})).join(n);return e?e(r):r}]}e.consumeToken=t,e.consumeTrimmed=n,e.consumeRepeated=function(e,r,i){e=n.bind(null,e);for(var o=[];;){var a=e(i);if(!a)return[o,i];if(o.push(a[0]),!(a=t(r,i=a[1]))||""==a[1])return[o,i];i=a[1]}},e.consumeParenthesised=function(e,t){for(var n=0,r=0;r<t.length&&(!/\s|,/.test(t[r])||0!=n);r++)if("("==t[r])n++;else if(")"==t[r]&&(0==--n&&r++,n<=0))break;var i=e(t.substr(0,r));return null==i?void 0:[i,t.substr(r)]},e.ignore=function(e){return function(t){var n=e(t);return n&&(n[0]=void 0),n}},e.optional=function(e,t){return function(n){return e(n)||[t,n]}},e.consumeList=function(t,n){for(var r=[],i=0;i<t.length;i++){var o=e.consumeTrimmed(t[i],n);if(!o||""==o[0])return;void 0!==o[0]&&r.push(o[0]),n=o[1]}if(""==n)return r},e.mergeNestedRepeated=r.bind(null,null),e.mergeWrappedNestedRepeated=r,e.mergeList=function(e,t,n){for(var r=[],i=[],o=[],a=0,s=0;s<n.length;s++)if("function"==typeof n[s]){var u=n[s](e[a],t[a++]);r.push(u[0]),i.push(u[1]),o.push(u[2])}else!function(e){r.push(!1),i.push(!1),o.push((function(){return n[e]}))}(s);return[r,i,function(e){for(var t="",n=0;n<e.length;n++)t+=o[n](e[n]);return t}]}}(r),function(e){function t(t){var n={inset:!1,lengths:[],color:null},r=e.consumeRepeated((function(t){var r=e.consumeToken(/^inset/i,t);return r?(n.inset=!0,r):(r=e.consumeLengthOrPercent(t))?(n.lengths.push(r[0]),r):(r=e.consumeColor(t))?(n.color=r[0],r):void 0}),/^/,t);if(r&&r[0].length)return[n,r[1]]}var n=function(t,n,r,i){function o(e){return{inset:e,color:[0,0,0,0],lengths:[{px:0},{px:0},{px:0},{px:0}]}}for(var a=[],s=[],u=0;u<r.length||u<i.length;u++){var l=r[u]||o(i[u].inset),c=i[u]||o(r[u].inset);a.push(l),s.push(c)}return e.mergeNestedRepeated(t,n,a,s)}.bind(null,(function(t,n){for(;t.lengths.length<Math.max(t.lengths.length,n.lengths.length);)t.lengths.push({px:0});for(;n.lengths.length<Math.max(t.lengths.length,n.lengths.length);)n.lengths.push({px:0});if(t.inset==n.inset&&!!t.color==!!n.color){for(var r,i=[],o=[[],0],a=[[],0],s=0;s<t.lengths.length;s++){var u=e.mergeDimensions(t.lengths[s],n.lengths[s],2==s);o[0].push(u[0]),a[0].push(u[1]),i.push(u[2])}if(t.color&&n.color){var l=e.mergeColors(t.color,n.color);o[1]=l[0],a[1]=l[1],r=l[2]}return[o,a,function(e){for(var n=t.inset?"inset ":" ",o=0;o<i.length;o++)n+=i[o](e[0][o])+" ";return r&&(n+=r(e[1])),n}]}}),", ");e.addPropertiesHandler((function(n){var r=e.consumeRepeated(t,/^,/,n);if(r&&""==r[1])return r[0]}),n,["box-shadow","text-shadow"])}(r),function(e,t){function n(e){return e.toFixed(3).replace(/0+$/,"").replace(/\.$/,"")}function r(e,t,n){return Math.min(t,Math.max(e,n))}function i(e){if(/^\s*[-+]?(\d*\.)?\d+\s*$/.test(e))return Number(e)}function o(e,t){return function(i,o){return[i,o,function(i){return n(r(e,t,i))}]}}function a(e){var t=e.trim().split(/\s*[\s,]\s*/);if(0!==t.length){for(var n=[],r=0;r<t.length;r++){var o=i(t[r]);if(void 0===o)return;n.push(o)}return n}}e.clamp=r,e.addPropertiesHandler(a,(function(e,t){if(e.length==t.length)return[e,t,function(e){return e.map(n).join(" ")}]}),["stroke-dasharray"]),e.addPropertiesHandler(i,o(0,1/0),["border-image-width","line-height"]),e.addPropertiesHandler(i,o(0,1),["opacity","shape-image-threshold"]),e.addPropertiesHandler(i,(function(e,t){if(0!=e)return o(0,1/0)(e,t)}),["flex-grow","flex-shrink"]),e.addPropertiesHandler(i,(function(e,t){return[e,t,function(e){return Math.round(r(1,1/0,e))}]}),["orphans","widows"]),e.addPropertiesHandler(i,(function(e,t){return[e,t,Math.round]}),["z-index"]),e.parseNumber=i,e.parseNumberList=a,e.mergeNumbers=function(e,t){return[e,t,n]},e.numberToString=n}(r),function(e,t){e.addPropertiesHandler(String,(function(e,t){if("visible"==e||"visible"==t)return[0,1,function(n){return n<=0?e:n>=1?t:"visible"}]}),["visibility"])}(r),function(e,t){function n(e){e=e.trim(),o.fillStyle="#000",o.fillStyle=e;var t=o.fillStyle;if(o.fillStyle="#fff",o.fillStyle=e,t==o.fillStyle){o.fillRect(0,0,1,1);var n=o.getImageData(0,0,1,1).data;o.clearRect(0,0,1,1);var r=n[3]/255;return[n[0]*r,n[1]*r,n[2]*r,r]}}function r(t,n){return[t,n,function(t){function n(e){return Math.max(0,Math.min(255,e))}if(t[3])for(var r=0;r<3;r++)t[r]=Math.round(n(t[r]/t[3]));return t[3]=e.numberToString(e.clamp(0,1,t[3])),"rgba("+t.join(",")+")"}]}var i=document.createElementNS("http://www.w3.org/1999/xhtml","canvas");i.width=i.height=1;var o=i.getContext("2d");e.addPropertiesHandler(n,r,["background-color","border-bottom-color","border-left-color","border-right-color","border-top-color","color","fill","flood-color","lighting-color","outline-color","stop-color","stroke","text-decoration-color"]),e.consumeColor=e.consumeParenthesised.bind(null,n),e.mergeColors=r}(r),function(e,t){function n(e){function t(){var t=a.exec(e);o=t?t[0]:void 0}function n(){if("("!==o)return function(){var e=Number(o);return t(),e}();t();var e=i();return")"!==o?NaN:(t(),e)}function r(){for(var e=n();"*"===o||"/"===o;){var r=o;t();var i=n();"*"===r?e*=i:e/=i}return e}function i(){for(var e=r();"+"===o||"-"===o;){var n=o;t();var i=r();"+"===n?e+=i:e-=i}return e}var o,a=/([\+\-\w\.]+|[\(\)\*\/])/g;return t(),i()}function r(e,t){if("0"==(t=t.trim().toLowerCase())&&"px".search(e)>=0)return{px:0};if(/^[^(]*$|^calc/.test(t)){t=t.replace(/calc\(/g,"(");var r={};t=t.replace(e,(function(e){return r[e]=null,"U"+e}));for(var i="U("+e.source+")",o=t.replace(/[-+]?(\d*\.)?\d+([Ee][-+]?\d+)?/g,"N").replace(new RegExp("N"+i,"g"),"D").replace(/\s[+-]\s/g,"O").replace(/\s/g,""),a=[/N\*(D)/g,/(N|D)[*\/]N/g,/(N|D)O\1/g,/\((N|D)\)/g],s=0;s<a.length;)a[s].test(o)?(o=o.replace(a[s],"$1"),s=0):s++;if("D"==o){for(var u in r){var l=n(t.replace(new RegExp("U"+u,"g"),"").replace(new RegExp(i,"g"),"*0"));if(!isFinite(l))return;r[u]=l}return r}}}function i(e,t){return o(e,t,!0)}function o(t,n,r){var i,o=[];for(i in t)o.push(i);for(i in n)o.indexOf(i)<0&&o.push(i);return t=o.map((function(e){return t[e]||0})),n=o.map((function(e){return n[e]||0})),[t,n,function(t){var n=t.map((function(n,i){return 1==t.length&&r&&(n=Math.max(n,0)),e.numberToString(n)+o[i]})).join(" + ");return t.length>1?"calc("+n+")":n}]}var a="px|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc",s=r.bind(null,new RegExp(a,"g")),u=r.bind(null,new RegExp(a+"|%","g")),l=r.bind(null,/deg|rad|grad|turn/g);e.parseLength=s,e.parseLengthOrPercent=u,e.consumeLengthOrPercent=e.consumeParenthesised.bind(null,u),e.parseAngle=l,e.mergeDimensions=o;var c=e.consumeParenthesised.bind(null,s),f=e.consumeRepeated.bind(void 0,c,/^/),d=e.consumeRepeated.bind(void 0,f,/^,/);e.consumeSizePairList=d;var h=e.mergeNestedRepeated.bind(void 0,i," "),p=e.mergeNestedRepeated.bind(void 0,h,",");e.mergeNonNegativeSizePair=h,e.addPropertiesHandler((function(e){var t=d(e);if(t&&""==t[1])return t[0]}),p,["background-size"]),e.addPropertiesHandler(u,i,["border-bottom-width","border-image-width","border-left-width","border-right-width","border-top-width","flex-basis","font-size","height","line-height","max-height","max-width","outline-width","width"]),e.addPropertiesHandler(u,o,["border-bottom-left-radius","border-bottom-right-radius","border-top-left-radius","border-top-right-radius","bottom","left","letter-spacing","margin-bottom","margin-left","margin-right","margin-top","min-height","min-width","outline-offset","padding-bottom","padding-left","padding-right","padding-top","perspective","right","shape-margin","stroke-dashoffset","text-indent","top","vertical-align","word-spacing"])}(r),function(e,t){function n(t){return e.consumeLengthOrPercent(t)||e.consumeToken(/^auto/,t)}function r(t){var r=e.consumeList([e.ignore(e.consumeToken.bind(null,/^rect/)),e.ignore(e.consumeToken.bind(null,/^\(/)),e.consumeRepeated.bind(null,n,/^,/),e.ignore(e.consumeToken.bind(null,/^\)/))],t);if(r&&4==r[0].length)return r[0]}var i=e.mergeWrappedNestedRepeated.bind(null,(function(e){return"rect("+e+")"}),(function(t,n){return"auto"==t||"auto"==n?[!0,!1,function(r){var i=r?t:n;if("auto"==i)return"auto";var o=e.mergeDimensions(i,i);return o[2](o[0])}]:e.mergeDimensions(t,n)}),", ");e.parseBox=r,e.mergeBoxes=i,e.addPropertiesHandler(r,i,["clip"])}(r),function(e,t){function n(e){return function(t){var n=0;return e.map((function(e){return e===l?t[n++]:e}))}}function r(e){return e}function i(t){if("none"==(t=t.toLowerCase().trim()))return[];for(var n,r=/\s*(\w+)\(([^)]*)\)/g,i=[],o=0;n=r.exec(t);){if(n.index!=o)return;o=n.index+n[0].length;var a=n[1],s=d[a];if(!s)return;var u=n[2].split(","),l=s[0];if(l.length<u.length)return;for(var h=[],p=0;p<l.length;p++){var m,g=u[p],v=l[p];if(void 0===(m=g?{A:function(t){return"0"==t.trim()?f:e.parseAngle(t)},N:e.parseNumber,T:e.parseLengthOrPercent,L:e.parseLength}[v.toUpperCase()](g):{a:f,n:h[0],t:c}[v]))return;h.push(m)}if(i.push({t:a,d:h}),r.lastIndex==t.length)return i}}function o(e){return e.toFixed(6).replace(".000000","")}function a(t,n){if(t.decompositionPair!==n){t.decompositionPair=n;var r=e.makeMatrixDecomposition(t)}if(n.decompositionPair!==t){n.decompositionPair=t;var i=e.makeMatrixDecomposition(n)}return null==r[0]||null==i[0]?[[!1],[!0],function(e){return e?n[0].d:t[0].d}]:(r[0].push(0),i[0].push(1),[r,i,function(t){var n=e.quat(r[0][3],i[0][3],t[5]);return e.composeMatrix(t[0],t[1],t[2],n,t[4]).map(o).join(",")}])}function s(e){return e.replace(/[xy]/,"")}function u(e){return e.replace(/(x|y|z|3d)?$/,"3d")}var l=null,c={px:0},f={deg:0},d={matrix:["NNNNNN",[l,l,0,0,l,l,0,0,0,0,1,0,l,l,0,1],r],matrix3d:["NNNNNNNNNNNNNNNN",r],rotate:["A"],rotatex:["A"],rotatey:["A"],rotatez:["A"],rotate3d:["NNNA"],perspective:["L"],scale:["Nn",n([l,l,1]),r],scalex:["N",n([l,1,1]),n([l,1])],scaley:["N",n([1,l,1]),n([1,l])],scalez:["N",n([1,1,l])],scale3d:["NNN",r],skew:["Aa",null,r],skewx:["A",null,n([l,f])],skewy:["A",null,n([f,l])],translate:["Tt",n([l,l,c]),r],translatex:["T",n([l,c,c]),n([l,c])],translatey:["T",n([c,l,c]),n([c,l])],translatez:["L",n([c,c,l])],translate3d:["TTL",r]};e.addPropertiesHandler(i,(function(t,n){var r=e.makeMatrixDecomposition&&!0,i=!1;if(!t.length||!n.length){t.length||(i=!0,t=n,n=[]);for(var o=0;o<t.length;o++){var l=t[o].t,c=t[o].d,f="scale"==l.substr(0,5)?1:0;n.push({t:l,d:c.map((function(e){if("number"==typeof e)return f;var t={};for(var n in e)t[n]=f;return t}))})}}var h=function(e,t){return"perspective"==e&&"perspective"==t||("matrix"==e||"matrix3d"==e)&&("matrix"==t||"matrix3d"==t)},p=[],m=[],g=[];if(t.length!=n.length){if(!r)return;p=[(x=a(t,n))[0]],m=[x[1]],g=[["matrix",[x[2]]]]}else for(o=0;o<t.length;o++){var v=t[o].t,_=n[o].t,y=t[o].d,b=n[o].d,T=d[v],E=d[_];if(h(v,_)){if(!r)return;var x=a([t[o]],[n[o]]);p.push(x[0]),m.push(x[1]),g.push(["matrix",[x[2]]])}else{if(v==_)l=v;else if(T[2]&&E[2]&&s(v)==s(_))l=s(v),y=T[2](y),b=E[2](b);else{if(!T[1]||!E[1]||u(v)!=u(_)){if(!r)return;p=[(x=a(t,n))[0]],m=[x[1]],g=[["matrix",[x[2]]]];break}l=u(v),y=T[1](y),b=E[1](b)}for(var w=[],N=[],k=[],S=0;S<y.length;S++)x=("number"==typeof y[S]?e.mergeNumbers:e.mergeDimensions)(y[S],b[S]),w[S]=x[0],N[S]=x[1],k.push(x[2]);p.push(w),m.push(N),g.push([l,k])}}if(i){var A=p;p=m,m=A}return[p,m,function(e){return e.map((function(e,t){var n=e.map((function(e,n){return g[t][1][n](e)})).join(",");return"matrix"==g[t][0]&&16==n.split(",").length&&(g[t][0]="matrix3d"),g[t][0]+"("+n+")"})).join(" ")}]}),["transform"]),e.transformToSvgMatrix=function(t){var n=e.transformListToMatrix(i(t));return"matrix("+o(n[0])+" "+o(n[1])+" "+o(n[4])+" "+o(n[5])+" "+o(n[12])+" "+o(n[13])+")"}}(r),function(e){function t(t){return t=100*Math.round(t/100),400===(t=e.clamp(100,900,t))?"normal":700===t?"bold":String(t)}e.addPropertiesHandler((function(e){var t=Number(e);if(!(isNaN(t)||t<100||t>900||t%100!=0))return t}),(function(e,n){return[e,n,t]}),["font-weight"])}(r),function(e){function t(e){var t={};for(var n in e)t[n]=-e[n];return t}function n(t){return e.consumeToken(/^(left|center|right|top|bottom)\b/i,t)||e.consumeLengthOrPercent(t)}function r(t,r){var i=e.consumeRepeated(n,/^/,r);if(i&&""==i[1]){var a=i[0];if(a[0]=a[0]||"center",a[1]=a[1]||"center",3==t&&(a[2]=a[2]||{px:0}),a.length==t){if(/top|bottom/.test(a[0])||/left|right/.test(a[1])){var s=a[0];a[0]=a[1],a[1]=s}if(/left|right|center|Object/.test(a[0])&&/top|bottom|center|Object/.test(a[1]))return a.map((function(e){return"object"==typeof e?e:o[e]}))}}}function i(r){var i=e.consumeRepeated(n,/^/,r);if(i){for(var a=i[0],s=[{"%":50},{"%":50}],u=0,l=!1,c=0;c<a.length;c++){var f=a[c];"string"==typeof f?(l=/bottom|right/.test(f),s[u={left:0,right:0,center:u,top:1,bottom:1}[f]]=o[f],"center"==f&&u++):(l&&((f=t(f))["%"]=(f["%"]||0)+100),s[u]=f,u++,l=!1)}return[s,i[1]]}}var o={left:{"%":0},center:{"%":50},right:{"%":100},top:{"%":0},bottom:{"%":100}},a=e.mergeNestedRepeated.bind(null,e.mergeDimensions," ");e.addPropertiesHandler(r.bind(null,3),a,["transform-origin"]),e.addPropertiesHandler(r.bind(null,2),a,["perspective-origin"]),e.consumePosition=i,e.mergeOffsetList=a;var s=e.mergeNestedRepeated.bind(null,a,", ");e.addPropertiesHandler((function(t){var n=e.consumeRepeated(i,/^,/,t);if(n&&""==n[1])return n[0]}),s,["background-position","object-position"])}(r),function(e){var t=e.consumeParenthesised.bind(null,e.parseLengthOrPercent),n=e.consumeRepeated.bind(void 0,t,/^/),r=e.mergeNestedRepeated.bind(void 0,e.mergeDimensions," "),i=e.mergeNestedRepeated.bind(void 0,r,",");e.addPropertiesHandler((function(r){var i=e.consumeToken(/^circle/,r);if(i&&i[0])return["circle"].concat(e.consumeList([e.ignore(e.consumeToken.bind(void 0,/^\(/)),t,e.ignore(e.consumeToken.bind(void 0,/^at/)),e.consumePosition,e.ignore(e.consumeToken.bind(void 0,/^\)/))],i[1]));var o=e.consumeToken(/^ellipse/,r);if(o&&o[0])return["ellipse"].concat(e.consumeList([e.ignore(e.consumeToken.bind(void 0,/^\(/)),n,e.ignore(e.consumeToken.bind(void 0,/^at/)),e.consumePosition,e.ignore(e.consumeToken.bind(void 0,/^\)/))],o[1]));var a=e.consumeToken(/^polygon/,r);return a&&a[0]?["polygon"].concat(e.consumeList([e.ignore(e.consumeToken.bind(void 0,/^\(/)),e.optional(e.consumeToken.bind(void 0,/^nonzero\s*,|^evenodd\s*,/),"nonzero,"),e.consumeSizePairList,e.ignore(e.consumeToken.bind(void 0,/^\)/))],a[1])):void 0}),(function(t,n){if(t[0]===n[0])return"circle"==t[0]?e.mergeList(t.slice(1),n.slice(1),["circle(",e.mergeDimensions," at ",e.mergeOffsetList,")"]):"ellipse"==t[0]?e.mergeList(t.slice(1),n.slice(1),["ellipse(",e.mergeNonNegativeSizePair," at ",e.mergeOffsetList,")"]):"polygon"==t[0]&&t[1]==n[1]?e.mergeList(t.slice(2),n.slice(2),["polygon(",t[1],i,")"]):void 0}),["shape-outside"])}(r),function(e,t){function n(e,t){t.concat([e]).forEach((function(t){t in document.documentElement.style&&(r[e]=t),i[t]=e}))}var r={},i={};n("transform",["webkitTransform","msTransform"]),n("transformOrigin",["webkitTransformOrigin"]),n("perspective",["webkitPerspective"]),n("perspectiveOrigin",["webkitPerspectiveOrigin"]),e.propertyName=function(e){return r[e]||e},e.unprefixedPropertyName=function(e){return i[e]||e}}(r)}(),function(){if(void 0===document.createElement("div").animate([]).oncancel){if(window.performance&&performance.now)var e=function(){return performance.now()};else e=function(){return Date.now()};var t=function(e,t,n){this.target=e,this.currentTime=t,this.timelineTime=n,this.type="cancel",this.bubbles=!1,this.cancelable=!1,this.currentTarget=e,this.defaultPrevented=!1,this.eventPhase=Event.AT_TARGET,this.timeStamp=Date.now()},n=window.Element.prototype.animate;window.Element.prototype.animate=function(r,i){var o=n.call(this,r,i);o._cancelHandlers=[],o.oncancel=null;var a=o.cancel;o.cancel=function(){a.call(this);var n=new t(this,null,e()),r=this._cancelHandlers.concat(this.oncancel?[this.oncancel]:[]);setTimeout((function(){r.forEach((function(e){e.call(n.target,n)}))}),0)};var s=o.addEventListener;o.addEventListener=function(e,t){"function"==typeof t&&"cancel"==e?this._cancelHandlers.push(t):s.call(this,e,t)};var u=o.removeEventListener;return o.removeEventListener=function(e,t){if("cancel"==e){var n=this._cancelHandlers.indexOf(t);n>=0&&this._cancelHandlers.splice(n,1)}else u.call(this,e,t)},o}}}(),function(e){var t=document.documentElement,n=null,r=!1;try{var i="0"==getComputedStyle(t).getPropertyValue("opacity")?"1":"0";(n=t.animate({opacity:[i,i]},{duration:1})).currentTime=0,r=getComputedStyle(t).getPropertyValue("opacity")==i}catch(e){}finally{n&&n.cancel()}if(!r){var o=window.Element.prototype.animate;window.Element.prototype.animate=function(t,n){return window.Symbol&&Symbol.iterator&&Array.prototype.from&&t[Symbol.iterator]&&(t=Array.from(t)),Array.isArray(t)||null===t||(t=e.convertToArrayForm(t)),o.call(this,t,n)}}}(n)},function(e,t,n){"use strict";n.r(t);var r,i,o,a;n(0);!function(e){e.KEY_PREFIX="nj",e.DATA_API_KEY=".data-api"}(r||(r={})),function(e){e.mouseenter="mouseover",e.mouseleave="mouseout"}(i||(i={})),function(e){e.click="click",e.close="close",e.closed="closed",e.hide="hide",e.hidden="hidden",e.input="input",e.keydown="keydown",e.keyup="keyup",e.onchange="onchange",e.show="show",e.shown="shown",e.inserted="inserted",e.focusin="focusin",e.focusout="focusout",e.mouseenter="mouseenter",e.mouseleave="mouseleave",e.mouseup="mouseup",e.mousedown="mousedown"}(o||(o={})),function(e){e.click="click",e.dblclick="dblclick",e.mouseup="mouseup",e.mousedown="mousedown",e.contextmenu="contextmenu",e.mousewheel="mousewheel",e.DOMMouseScroll="DOMMouseScroll",e.mouseover="mouseover",e.mouseout="mouseout",e.mousemove="mousemove",e.selectstart="selectstart",e.selectend="selectend",e.keydown="keydown",e.keypress="keypress",e.keyup="keyup",e.orientationchange="orientationchange",e.touchstart="touchstart",e.touchmove="touchmove",e.touchend="touchend",e.touchcancel="touchcancel",e.pointerdown="pointerdown",e.pointermove="pointermove",e.pointerup="pointerup",e.pointerleave="pointerleave",e.pointercancel="pointercancel",e.gesturestart="gesturestart",e.gesturechange="gesturechange",e.gestureend="gestureend",e.focus="focus",e.blur="blur",e.change="change",e.reset="reset",e.select="select",e.submit="submit",e.focusin="focusin",e.focusout="focusout",e.load="load",e.unload="unload",e.beforeunload="beforeunload",e.resize="resize",e.move="move",e.DOMContentLoaded="DOMContentLoaded",e.readystatechange="readystatechange",e.error="error",e.abort="abort",e.scroll="scroll"}(a||(a={})),window.NJStore=window.NJStore||[];const s=(()=>{const e=window.NJStore;return{set(t,n,r){void 0===t.key&&(t.key={key:n,id:e.length}),e[t.key.id]=r},get:(t,n)=>(t.key&&!n.id&&(n=t.key),n&&n.id?e[n.id]:null),delete(t,n){if(void 0===t.key)return;const r=t.key;r.key===n&&(delete e[r.id],delete t.key)}}})();var u={setData(e,t,n){s.set(e,t,n)},getData:(e,t)=>s.get(e,t),removeData(e,t){s.delete(e,t)}};class l{static getUidEvent(e,t){return t&&"".concat(t,"::").concat(l.uidEvent++)||e.uidEvent||l.uidEvent++}static getEvent(e){const t=l.getUidEvent(e);return e.uidEvent=t,l.EVENTREGISTRY[t]=l.EVENTREGISTRY[t]||{}}static fixEvent(e,t){null===e.which&&l.KEYEVENT_REGEX.test(e.type)&&(e.which=null!==e.charCode?e.charCode:e.keyCode),e.delegateTarget=t}static njHandler(e,t){const n=r=>(l.fixEvent(r,e),n.oneOff&&l.off(e,r.type,t),t.apply(e,[r]));return n}static njDelegationHandler(e,t,n){const r=i=>{const o=e.querySelectorAll(t);for(let t=i.target;t&&t!==this;t=t.parentNode)for(let a=o.length;a>=0;a--)if(o[a]===t)return l.fixEvent(i,t),r.oneOff&&l.off(e,i.type,n),n.apply(t,[i]);return null};return r}static findHandler(e,t,n=null){for(const r in e){if(!Object.prototype.hasOwnProperty.call(e,r))continue;const i=e[r];if(i.originalHandler===t&&i.delegationSelector===n)return e[r]}return null}static normalizeParams(e,t,n){const r="string"==typeof t,o=r?n:t;let s=e.replace(l.STRIPNAME_REGEX,"");const u=i[s];u&&(s=u);return"string"==typeof a[s]||(s=e),[r,o,s]}static addHandler(e,t,n,r,i){if("string"!=typeof t||null==e)return;n||(n=r,r=null);const o=l.getEvent(e);for(const a of t.split(" ")){const[t,s,u]=l.normalizeParams(a,n,r),c=o[u]||(o[u]={}),f=l.findHandler(c,s,t?n:null);if(f)return void(f.oneOff=f.oneOff&&i);const d=l.getUidEvent(s,a.replace(l.NAMESPACE_REGEX,"")),h=t?l.njDelegationHandler(e,n,r):l.njHandler(e,n);h.delegationSelector=t?n:null,h.originalHandler=s,h.oneOff=i,h.uidEvent=d,c[d]=h,e.addEventListener(u,h,t)}}static removeHandler(e,t,n,r,i){const o=l.findHandler(t[n],r,i);null!==o&&(e.removeEventListener(n,o,Boolean(i)),delete t[n][o.uidEvent])}static removeNamespacedHandlers(e,t,n,r){const i=t[n]||{};for(const o in i)if(Object.prototype.hasOwnProperty.call(i,o)&&o.indexOf(r)>-1){const r=i[o];l.removeHandler(e,t,n,r.originalHandler,r.delegationSelector)}}static on(e,t,n,r){l.addHandler(e,t,n,r,!1)}static one(e,t,n,r){l.addHandler(e,t,n,r,!0)}static off(e,t,n,r){if("string"!=typeof t||null==e)return;const[i,o,a]=l.normalizeParams(t,n,r),s=a!==t,u=l.getEvent(e);if(void 0!==o){if(!u||!u[a])return;return void l.removeHandler(e,u,a,o,i?n:null)}if("."===t.charAt(0))for(const n in u)Object.prototype.hasOwnProperty.call(u,n)&&l.removeNamespacedHandlers(e,u,n,t.substr(1));const c=u[a]||{};for(const n in c){if(!Object.prototype.hasOwnProperty.call(c,n))continue;const r=n.replace(l.STRIPUID_REGEX,"");if(!s||t.indexOf(r)>-1){const t=c[n];l.removeHandler(e,u,a,t.originalHandler,t.delegationSelector)}}}static trigger(e,t,n){if("string"!=typeof t||null==e)return null;const r=t.replace(l.STRIPNAME_REGEX,""),i="string"==typeof a[r];let o=null;return i?(o=document.createEvent("HTMLEvents"),o.initEvent(r,true,!0)):o=new window.CustomEvent(t,{bubbles:true,cancelable:!0}),void 0!==n&&Object.keys(n).forEach(e=>{Object.defineProperty(o,e,{get:()=>n[e]})}),e.dispatchEvent(o),o}}l.NAMESPACE_REGEX=/[^.]*(?=\..*)\.|.*/,l.STRIPNAME_REGEX=/\..*/,l.KEYEVENT_REGEX=/^key/,l.STRIPUID_REGEX=/::\d+$/,l.EVENTREGISTRY={},l.uidEvent=1;class c extends HTMLElement{constructor(...e){super(),this.components=e,this.instances=[],this.parentNodes=[]}connectedCallback(){this.setup()}disconnectedCallback(){this.instances.forEach(e=>{e.dispose()}),this.instances=null}setup(){let e=this;for(;e.parentNode;)e=e.parentNode,this.parentNodes.push(e);[this,...this.parentNodes].some(e=>e.nextSibling)||"loading"!==document.readyState?this.childrenAvailableCallback():(this.mutationObserver=new MutationObserver(()=>{([this,...this.parentNodes].some(e=>e.nextSibling)||"loading"!==document.readyState)&&(this.childrenAvailableCallback(),this.mutationObserver.disconnect())}),this.mutationObserver.observe(this,{childList:!0}))}childrenAvailableCallback(){this.components.forEach(e=>{const t=this.querySelector(e.SELECTOR.default);if(!t)throw new Error("Default selector of ".concat(e.name," not found: ").concat(e.SELECTOR.default));this.instances.push(new e(t))})}static init(e){if(!e.TAG_NAME)throw new Error("TAG_NAME property of ".concat(e.name," class doesn't exists"));customElements.define(e.TAG_NAME,e)}}n.d(t,"default",(function(){return f})),n.d(t,"AlertWC",(function(){return d}));class f extends class{constructor(e,t,n={}){!t||t instanceof Element||console.error(Error("".concat(t," is not an HTML Element"))),this.options=n,this.element=t}static init(e,t={},n){const r=[],i=document.querySelectorAll(n);for(let n=0;n<i.length;n++){const o=i[n];if(!o.key||o.key!==e.DATA_KEY){const a=new e(i[n],t);o.key||u.setData(i[n],e.DATA_KEY,a),r.push(a)}}return r}}{constructor(e){super(f,e),u.setData(e,f.DATA_KEY,this),this.setListeners()}close(){l.trigger(this.element,f.EVENT.close),this.element.animate&&(this.element.animate(f.KEY_FRAMES,{duration:250,delay:100,easing:"ease-out"}).onfinish=()=>{this.destroyElement()})}dispose(){const e=this.element.querySelector(f.SELECTOR.dismiss);l.off(e,f.EVENT.click),u.removeData(this.element,f.DATA_KEY),this.element=null}destroyElement(){this.element.parentNode&&this.element.parentNode.removeChild(this.element),l.trigger(this.element,f.EVENT.closed)}setListeners(){const e=this.element.querySelector(f.SELECTOR.dismiss);l.on(e,f.EVENT.click,()=>{this.close()})}static init(e={}){return super.init(this,e,f.SELECTOR.default)}static getInstance(e){return u.getData(e,f.DATA_KEY)}}f.NAME="".concat(r.KEY_PREFIX,"-alert"),f.DATA_KEY="".concat(r.KEY_PREFIX,".alert"),f.EVENT_KEY=".".concat(f.DATA_KEY),f.SELECTOR={default:".".concat(f.NAME),dismiss:".".concat(f.NAME,"__close")},f.KEY_FRAMES=[{transform:"translateY(0)",opacity:1},{transform:"translateY(-16px)",opacity:0}],f.EVENT={click:"".concat(o.click).concat(f.EVENT_KEY),close:"".concat(o.close).concat(f.EVENT_KEY),closed:"".concat(o.closed).concat(f.EVENT_KEY)};class d extends c{constructor(){super(f)}static init(){c.init(d)}}d.TAG_NAME=f.NAME}]).default}));

@@ -12,2 +12,3 @@ /**

protected static readonly SELECTOR: {
root: string;
default: string;

@@ -14,0 +15,0 @@ formGroup: string;

@@ -1,1 +0,1 @@

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("Checkbox",[],t):"object"==typeof exports?exports.Checkbox=t():e.Checkbox=t()}(window,(function(){return function(e){var t={};function o(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,o),r.l=!0,r.exports}return o.m=e,o.c=t,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)o.d(n,r,function(t){return e[t]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=0)}([function(e,t,o){"use strict";o.r(t);const n=(()=>{const e={};let t=1;return{set(o,n,r){void 0===o.key&&(o.key={key:n,id:t},t++),e[o.key.id]=r},get(t,o){if(!t||void 0===t.key)return null;const n=t.key;return n.key===o?e[n.id]:null},delete(t,o){if(void 0===t.key)return;const n=t.key;n.key===o&&(delete e[n.id],delete t.key)}}})();var r={setData(e,t,o){n.set(e,t,o)},getData:(e,t)=>n.get(e,t),removeData(e,t){n.delete(e,t)}};var s,l,i,a,c={describe:e=>void 0===e?"undefined":0===e.length?"(no matching elements)":"".concat(e.outerHTML.split(">")[0],">"),assert(e,t,o){if(t)throw void 0!==e&&(e.style.border="1px solid red"),console.error(o,e),o},isChar:e=>void 0===e.which||"number"==typeof e.which&&e.which>0&&(!e.ctrlKey&&!e.metaKey&&!e.altKey&&8!==e.which&&9!==e.which&&13!==e.which&&16!==e.which&&17!==e.which&&20!==e.which&&27!==e.which)};class u extends class{constructor(e,t,o={}){!t||t instanceof Element||console.error(Error("".concat(t," is not an HTML Element"))),this.options=o,this.element=t}static init(e,t={},o){const n=[],s=document.querySelectorAll(o);for(let o=0;o<s.length;o++){const l=s[o];if(!l.key||l.key!==e.DATA_KEY){const i=new e(s[o],t);l.key||r.setData(s[o],e.DATA_KEY,i),n.push(i)}}return n}}{constructor(e,t,o={},n={}){super(e,t,o);for(const e in n)!{}.hasOwnProperty.call(n,e)?console.error("".concat(e," does not exist in properties")):this[e]=n[e]}addFormGroupFocus(){!0==!this.element.disabled&&this.njFormGroup.classList.add(u.CLASS_NAME.isFocused)}removeFormGroupFocus(){this.njFormGroup.classList.remove(u.CLASS_NAME.isFocused)}addIsFilled(){this.njFormGroup.classList.add(u.CLASS_NAME.isFilled)}removeIsFilled(){this.njFormGroup.classList.remove(u.CLASS_NAME.isFilled)}findFormGroup(e=!0){const t=this.element.closest(u.SELECTOR.formGroup);return null===t&&e&&console.error("Failed to find ".concat(u.SELECTOR.formGroup," for ").concat(c.describe(this.element))),t}}u.CLASS_NAME={njFormGroup:"nj-form-group",isFilled:"is-filled",isFocused:"is-focused"},u.SELECTOR={formGroup:".".concat(u.CLASS_NAME.njFormGroup)},function(e){e.KEY_PREFIX="nj",e.DATA_API_KEY=".data-api"}(s||(s={})),function(e){e.mouseenter="mouseover",e.mouseleave="mouseout"}(l||(l={})),function(e){e.click="click",e.close="close",e.closed="closed",e.hide="hide",e.hidden="hidden",e.input="input",e.keydown="keydown",e.keyup="keyup",e.onchange="onchange",e.show="show",e.shown="shown",e.inserted="inserted",e.focusin="focusin",e.focusout="focusout",e.mouseenter="mouseenter",e.mouseleave="mouseleave",e.mouseup="mouseup",e.mousedown="mousedown"}(i||(i={})),function(e){e.click="click",e.dblclick="dblclick",e.mouseup="mouseup",e.mousedown="mousedown",e.contextmenu="contextmenu",e.mousewheel="mousewheel",e.DOMMouseScroll="DOMMouseScroll",e.mouseover="mouseover",e.mouseout="mouseout",e.mousemove="mousemove",e.selectstart="selectstart",e.selectend="selectend",e.keydown="keydown",e.keypress="keypress",e.keyup="keyup",e.orientationchange="orientationchange",e.touchstart="touchstart",e.touchmove="touchmove",e.touchend="touchend",e.touchcancel="touchcancel",e.pointerdown="pointerdown",e.pointermove="pointermove",e.pointerup="pointerup",e.pointerleave="pointerleave",e.pointercancel="pointercancel",e.gesturestart="gesturestart",e.gesturechange="gesturechange",e.gestureend="gestureend",e.focus="focus",e.blur="blur",e.change="change",e.reset="reset",e.select="select",e.submit="submit",e.focusin="focusin",e.focusout="focusout",e.load="load",e.unload="unload",e.beforeunload="beforeunload",e.resize="resize",e.move="move",e.DOMContentLoaded="DOMContentLoaded",e.readystatechange="readystatechange",e.error="error",e.abort="abort",e.scroll="scroll"}(a||(a={}));class d{static getUidEvent(e,t){return t&&"".concat(t,"::").concat(d.uidEvent++)||e.uidEvent||d.uidEvent++}static getEvent(e){const t=d.getUidEvent(e);return e.uidEvent=t,d.EVENTREGISTRY[t]=d.EVENTREGISTRY[t]||{}}static fixEvent(e,t){null===e.which&&d.KEYEVENT_REGEX.test(e.type)&&(e.which=null!==e.charCode?e.charCode:e.keyCode),e.delegateTarget=t}static njHandler(e,t){const o=n=>(d.fixEvent(n,e),o.oneOff&&d.off(e,n.type,t),t.apply(e,[n]));return o}static njDelegationHandler(e,t,o){const n=r=>{const s=e.querySelectorAll(t);for(let t=r.target;t&&t!==this;t=t.parentNode)for(let l=s.length;l>=0;l--)if(s[l]===t)return d.fixEvent(r,t),n.oneOff&&d.off(e,r.type,o),o.apply(t,[r]);return null};return n}static findHandler(e,t,o=null){for(const n in e){if(!Object.prototype.hasOwnProperty.call(e,n))continue;const r=e[n];if(r.originalHandler===t&&r.delegationSelector===o)return e[n]}return null}static normalizeParams(e,t,o){const n="string"==typeof t,r=n?o:t;let s=e.replace(d.STRIPNAME_REGEX,"");const i=l[s];i&&(s=i);return"string"==typeof a[s]||(s=e),[n,r,s]}static addHandler(e,t,o,n,r){if("string"!=typeof t||null==e)return;o||(o=n,n=null);const s=d.getEvent(e);for(const l of t.split(" ")){const[t,i,a]=d.normalizeParams(l,o,n),c=s[a]||(s[a]={}),u=d.findHandler(c,i,t?o:null);if(u)return void(u.oneOff=u.oneOff&&r);const h=d.getUidEvent(i,l.replace(d.NAMESPACE_REGEX,"")),p=t?d.njDelegationHandler(e,o,n):d.njHandler(e,o);p.delegationSelector=t?o:null,p.originalHandler=i,p.oneOff=r,p.uidEvent=h,c[h]=p,e.addEventListener(a,p,t)}}static removeHandler(e,t,o,n,r){const s=d.findHandler(t[o],n,r);null!==s&&(e.removeEventListener(o,s,Boolean(r)),delete t[o][s.uidEvent])}static removeNamespacedHandlers(e,t,o,n){const r=t[o]||{};for(const s in r)if(Object.prototype.hasOwnProperty.call(r,s)&&s.indexOf(n)>-1){const n=r[s];d.removeHandler(e,t,o,n.originalHandler,n.delegationSelector)}}static on(e,t,o,n){d.addHandler(e,t,o,n,!1)}static one(e,t,o,n){d.addHandler(e,t,o,n,!0)}static off(e,t,o,n){if("string"!=typeof t||null==e)return;const[r,s,l]=d.normalizeParams(t,o,n),i=l!==t,a=d.getEvent(e);if(void 0!==s){if(!a||!a[l])return;return void d.removeHandler(e,a,l,s,r?o:null)}if("."===t.charAt(0))for(const o in a)Object.prototype.hasOwnProperty.call(a,o)&&d.removeNamespacedHandlers(e,a,o,t.substr(1));const c=a[l]||{};for(const o in c){if(!Object.prototype.hasOwnProperty.call(c,o))continue;const n=o.replace(d.STRIPUID_REGEX,"");if(!i||t.indexOf(n)>-1){const t=c[o];d.removeHandler(e,a,l,t.originalHandler,t.delegationSelector)}}}static trigger(e,t,o){if("string"!=typeof t||null==e)return null;const n=t.replace(d.STRIPNAME_REGEX,""),r="string"==typeof a[n];let s=null;return r?(s=document.createEvent("HTMLEvents"),s.initEvent(n,true,!0)):s=new window.CustomEvent(t,{bubbles:true,cancelable:!0}),void 0!==o&&Object.keys(o).forEach(e=>{Object.defineProperty(s,e,{get:()=>o[e]})}),e.dispatchEvent(s),s}}d.NAMESPACE_REGEX=/[^.]*(?=\..*)\.|.*/,d.STRIPNAME_REGEX=/\..*/,d.KEYEVENT_REGEX=/^key/,d.STRIPUID_REGEX=/::\d+$/,d.EVENTREGISTRY={},d.uidEvent=1;const h={getDataAttributes(e){if(null==e)return{};let t={};if(Object.getOwnPropertyDescriptor(HTMLElement.prototype,"dataset"))t=Object.assign({},e.dataset);else for(let o=0;o<e.attributes.length;o++){const n=e.attributes[o];if(-1!==n.nodeName.indexOf("data-")){const e=n.nodeName.substring("data-".length).replace(/-./g,e=>e.charAt(1).toUpperCase());t[e]=n.nodeValue}}return Object.keys(t).forEach(e=>{var o;t[e]="true"===(o=t[e])||"false"!==o&&("null"===o?null:o===Number(o).toString()?Number(o):""===o?null:o)}),t},toggleClass(e,t){null!=e&&(e.classList.contains(t)?e.classList.remove(t):e.classList.add(t))},mergeExtended(e,t,o){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(o&&"[object Object]"===Object.prototype.toString.call(t[n])?e[n]=h.extend(e[n],t[n]):e[n]=t[n]);return e},extend(...e){let t={},o=!1,n=0;for("[object Boolean]"===Object.prototype.toString.call(e[0])&&(o=e[0],n++);n<e.length;n++)t=h.mergeExtended(t,e[n],o);return t},createHtmlNode:e=>(new DOMParser).parseFromString(e,"text/html").body.firstChild};var p=h;class m extends u{constructor(e,t,o={},n={}){super(e,t,p.extend(!0,m.DEFAULT_OPTIONS,o),n),this.njFormGroup=this.resolveNJFormGroup(),this.njFormGroup&&(this.resolveNJLabel(),this.resolveNJFormGroupSizing(),this.addFocusListener(),this.addChangeListener(),this.isEmpty()?this.removeIsFilled():this.addIsFilled())}addFocusListener(){d.on(this.element,"focus",()=>{this.addFormGroupFocus()}),d.on(this.element,"blur",()=>{this.removeFormGroupFocus()})}addChangeListener(){d.on(this.element,"keydown paste",e=>{c.isChar(e)&&this.addIsFilled()}),d.on(this.element,"keyup change",()=>{if(this.isEmpty()?this.removeIsFilled():this.addIsFilled(),this.options.validate){void 0===this.element[0].checkValidity||this.element[0].checkValidity()?this.removeHasDanger():this.addHasDanger()}})}addHasDanger(){this.njFormGroup.classList.add(m.CLASS_NAME.hasDanger)}removeHasDanger(){this.njFormGroup.classList.remove(m.CLASS_NAME.hasDanger)}isEmpty(){return null===this.element.value||void 0===this.element.value||""===this.element.value}resolveNJFormGroup(){return this.findFormGroup(this.options.njFormGroup.required)}outerElement(){return this.element}resolveNJLabel(){let e=this.njFormGroup.querySelectorAll(m.INPUT_SELECTOR.njLabelWildcard);0===e.length&&(e=this.findLabel(this.options.label.required),null!==e&&e.length>1&&e.forEach(e=>{e.classList.add(this.options.label.className)}))}findLabel(e=!0){let t,o=null,n=0,r=!1;do{t=this.options.label.selectors[n];try{o=this.njFormGroup.querySelectorAll(t)}catch(e){o=null}r=null!==o&&o.length>0,n++}while(!r&&n<this.options.label.selectors.length);return!r&&e&&console.error("Failed to find ".concat(m.INPUT_SELECTOR.njLabelWildcard," within nj-form-group for ").concat(c.describe(this.element))),o}resolveNJFormGroupSizing(){if(this.options.convertInputSizeVariations)for(const e in m.FORM_CONTROL_SIZE_MARKERS)this.element.classList.contains(e)&&this.njFormGroup.classList.add(m.FORM_CONTROL_SIZE_MARKERS[e])}}m.CLASS_NAME={njFormGroup:"nj-form-group",njLabel:"nj-label",njLabelStatic:"nj-label-static",njLabelPlaceholder:"nj-label-placeholder",njLabelFloating:"nj-label-floating",hasDanger:"has-danger",isFilled:"is-filled",isFocused:"is-focused",inputGroup:"input-group"},m.INPUT_SELECTOR={njFormGroup:".".concat(m.CLASS_NAME.njFormGroup),njLabelWildcard:"label[class^='".concat(m.CLASS_NAME.njLabel,"'], label[class*=' ").concat(m.CLASS_NAME.njLabel,"']")},m.DEFAULT_OPTIONS={validate:!1,njFormGroup:{template:"span",templateClass:"".concat(m.CLASS_NAME.njFormGroup)},label:{required:!1,selectors:[".form-control-label",":scope > label"],className:m.CLASS_NAME.njLabelStatic},requiredClasses:[],convertInputSizeVariations:!0},m.FORM_CONTROL_SIZE_MARKERS={"form-control-lg":"nj-form-group-lg","form-control-sm":"nj-form-group-sm"};class f extends m{constructor(e,t,o={},n={}){super(e,t,p.extend(!0,f.DEFAULT_OPTIONS,o),n),this.decorateMarkup()}decorateMarkup(){const e=p.createHtmlNode(this.options.template);this.element.parentNode.appendChild(e)}outerElement(){return this.element.parentElement.closest(this.outerClass)}rejectWithoutRequiredStructure(){c.assert(this.element,"label"===this.element.parentElement.tagName.toLowerCase(),"".concat(this.constructor.name,"'s ").concat(c.describe(this.element)," parent element should be <label>.")),c.assert(this.element,!this.outerElement().classList.contains(this.outerClass),"".concat(this.constructor.name,"'s ").concat(c.describe(this.element)," outer element should have class ").concat(this.outerClass,"."))}addFocusListener(){const e=this.element.closest(f.SELECTOR.label);d.on(e,"mouseenter",()=>{this.addFormGroupFocus()}),d.on(e,"mouseleave",()=>{this.removeFormGroupFocus()})}addChangeListener(){d.on(this.element,"change",()=>{this.element.blur()})}}f.SELECTOR={formGroup:m.SELECTOR.formGroup,label:"label"},f.DEFAULT_OPTIONS={label:{required:!1}};class E extends HTMLElement{constructor(...e){super(),this.components=e,this.instances=[],this.parentNodes=[]}connectedCallback(){this.setup()}disconnectedCallback(){this.instances.forEach(e=>{e.dispose()}),this.instances=null}setup(){let e=this;for(;e.parentNode;)e=e.parentNode,this.parentNodes.push(e);[this,...this.parentNodes].some(e=>e.nextSibling)||"loading"!==document.readyState?this.childrenAvailableCallback():(this.mutationObserver=new MutationObserver(()=>{([this,...this.parentNodes].some(e=>e.nextSibling)||"loading"!==document.readyState)&&(this.childrenAvailableCallback(),this.mutationObserver.disconnect())}),this.mutationObserver.observe(this,{childList:!0}))}childrenAvailableCallback(){this.components.forEach(e=>{const t=this.querySelector(e.SELECTOR.default);if(!t)throw new Error("Default selector of ".concat(e.name," not found: ").concat(e.SELECTOR.default));this.instances.push(new e(t))})}static init(e){if(!e.TAG_NAME)throw new Error("TAG_NAME property of ".concat(e.name," class doesn't exists"));customElements.define(e.TAG_NAME,e)}}o.d(t,"default",(function(){return b})),o.d(t,"CheckboxWC",(function(){return g}));class b extends f{constructor(e,t={},o={}){super(b,e,p.extend(!0,b.DEFAULT_OPTIONS,t),o),r.setData(e,b.DATA_KEY,this)}dispose(){r.removeData(this.element,b.DATA_KEY),this.element=null}static init(e={}){return super.init(this,e,b.SELECTOR.default)}static getInstance(e){return r.getData(e,b.DATA_KEY)}static matches(e){return"checkbox"===e.getAttribute("type")}}b.NAME="".concat(s.KEY_PREFIX,"-checkbox"),b.DATA_KEY="".concat(s.KEY_PREFIX,".checkbox"),b.SELECTOR={default:".".concat(b.NAME," > label > input[type=checkbox]"),formGroup:f.SELECTOR.formGroup,label:f.SELECTOR.label},b.DEFAULT_OPTIONS={template:'<span class="'.concat(b.NAME,'__decorator"><span class="').concat(b.NAME,'__check"></span></span>'),njFormGroup:{required:!1}};class g extends E{constructor(){super(b)}static init(){E.init(g)}}g.TAG_NAME=b.NAME}]).default}));
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("Checkbox",[],t):"object"==typeof exports?exports.Checkbox=t():e.Checkbox=t()}(window,(function(){return function(e){var t={};function o(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,o),r.l=!0,r.exports}return o.m=e,o.c=t,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)o.d(n,r,function(t){return e[t]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=0)}([function(e,t,o){"use strict";o.r(t),window.NJStore=window.NJStore||[];const n=(()=>{const e=window.NJStore;return{set(t,o,n){void 0===t.key&&(t.key={key:o,id:e.length}),e[t.key.id]=n},get:(t,o)=>(t.key&&!o.id&&(o=t.key),o&&o.id?e[o.id]:null),delete(t,o){if(void 0===t.key)return;const n=t.key;n.key===o&&(delete e[n.id],delete t.key)}}})();var r={setData(e,t,o){n.set(e,t,o)},getData:(e,t)=>n.get(e,t),removeData(e,t){n.delete(e,t)}};var s,l,i,a,c={describe:e=>void 0===e?"undefined":0===e.length?"(no matching elements)":"".concat(e.outerHTML.split(">")[0],">"),assert(e,t,o){if(t)throw void 0!==e&&(e.style.border="1px solid red"),console.error(o,e),o},isChar:e=>void 0===e.which||"number"==typeof e.which&&e.which>0&&(!e.ctrlKey&&!e.metaKey&&!e.altKey&&8!==e.which&&9!==e.which&&13!==e.which&&16!==e.which&&17!==e.which&&20!==e.which&&27!==e.which)};class u extends class{constructor(e,t,o={}){!t||t instanceof Element||console.error(Error("".concat(t," is not an HTML Element"))),this.options=o,this.element=t}static init(e,t={},o){const n=[],s=document.querySelectorAll(o);for(let o=0;o<s.length;o++){const l=s[o];if(!l.key||l.key!==e.DATA_KEY){const i=new e(s[o],t);l.key||r.setData(s[o],e.DATA_KEY,i),n.push(i)}}return n}}{constructor(e,t,o={},n={}){super(e,t,o);for(const e in n)!{}.hasOwnProperty.call(n,e)?console.error("".concat(e," does not exist in properties")):this[e]=n[e]}addFormGroupFocus(){!0==!this.element.disabled&&this.njFormGroup.classList.add(u.CLASS_NAME.isFocused)}removeFormGroupFocus(){this.njFormGroup.classList.remove(u.CLASS_NAME.isFocused)}addIsFilled(){this.njFormGroup.classList.add(u.CLASS_NAME.isFilled)}removeIsFilled(){this.njFormGroup.classList.remove(u.CLASS_NAME.isFilled)}findFormGroup(e=!0){const t=this.element.closest(u.SELECTOR.formGroup);return null===t&&e&&console.error("Failed to find ".concat(u.SELECTOR.formGroup," for ").concat(c.describe(this.element))),t}}u.CLASS_NAME={njFormGroup:"nj-form-group",isFilled:"is-filled",isFocused:"is-focused"},u.SELECTOR={formGroup:".".concat(u.CLASS_NAME.njFormGroup)},function(e){e.KEY_PREFIX="nj",e.DATA_API_KEY=".data-api"}(s||(s={})),function(e){e.mouseenter="mouseover",e.mouseleave="mouseout"}(l||(l={})),function(e){e.click="click",e.close="close",e.closed="closed",e.hide="hide",e.hidden="hidden",e.input="input",e.keydown="keydown",e.keyup="keyup",e.onchange="onchange",e.show="show",e.shown="shown",e.inserted="inserted",e.focusin="focusin",e.focusout="focusout",e.mouseenter="mouseenter",e.mouseleave="mouseleave",e.mouseup="mouseup",e.mousedown="mousedown"}(i||(i={})),function(e){e.click="click",e.dblclick="dblclick",e.mouseup="mouseup",e.mousedown="mousedown",e.contextmenu="contextmenu",e.mousewheel="mousewheel",e.DOMMouseScroll="DOMMouseScroll",e.mouseover="mouseover",e.mouseout="mouseout",e.mousemove="mousemove",e.selectstart="selectstart",e.selectend="selectend",e.keydown="keydown",e.keypress="keypress",e.keyup="keyup",e.orientationchange="orientationchange",e.touchstart="touchstart",e.touchmove="touchmove",e.touchend="touchend",e.touchcancel="touchcancel",e.pointerdown="pointerdown",e.pointermove="pointermove",e.pointerup="pointerup",e.pointerleave="pointerleave",e.pointercancel="pointercancel",e.gesturestart="gesturestart",e.gesturechange="gesturechange",e.gestureend="gestureend",e.focus="focus",e.blur="blur",e.change="change",e.reset="reset",e.select="select",e.submit="submit",e.focusin="focusin",e.focusout="focusout",e.load="load",e.unload="unload",e.beforeunload="beforeunload",e.resize="resize",e.move="move",e.DOMContentLoaded="DOMContentLoaded",e.readystatechange="readystatechange",e.error="error",e.abort="abort",e.scroll="scroll"}(a||(a={}));class d{static getUidEvent(e,t){return t&&"".concat(t,"::").concat(d.uidEvent++)||e.uidEvent||d.uidEvent++}static getEvent(e){const t=d.getUidEvent(e);return e.uidEvent=t,d.EVENTREGISTRY[t]=d.EVENTREGISTRY[t]||{}}static fixEvent(e,t){null===e.which&&d.KEYEVENT_REGEX.test(e.type)&&(e.which=null!==e.charCode?e.charCode:e.keyCode),e.delegateTarget=t}static njHandler(e,t){const o=n=>(d.fixEvent(n,e),o.oneOff&&d.off(e,n.type,t),t.apply(e,[n]));return o}static njDelegationHandler(e,t,o){const n=r=>{const s=e.querySelectorAll(t);for(let t=r.target;t&&t!==this;t=t.parentNode)for(let l=s.length;l>=0;l--)if(s[l]===t)return d.fixEvent(r,t),n.oneOff&&d.off(e,r.type,o),o.apply(t,[r]);return null};return n}static findHandler(e,t,o=null){for(const n in e){if(!Object.prototype.hasOwnProperty.call(e,n))continue;const r=e[n];if(r.originalHandler===t&&r.delegationSelector===o)return e[n]}return null}static normalizeParams(e,t,o){const n="string"==typeof t,r=n?o:t;let s=e.replace(d.STRIPNAME_REGEX,"");const i=l[s];i&&(s=i);return"string"==typeof a[s]||(s=e),[n,r,s]}static addHandler(e,t,o,n,r){if("string"!=typeof t||null==e)return;o||(o=n,n=null);const s=d.getEvent(e);for(const l of t.split(" ")){const[t,i,a]=d.normalizeParams(l,o,n),c=s[a]||(s[a]={}),u=d.findHandler(c,i,t?o:null);if(u)return void(u.oneOff=u.oneOff&&r);const h=d.getUidEvent(i,l.replace(d.NAMESPACE_REGEX,"")),p=t?d.njDelegationHandler(e,o,n):d.njHandler(e,o);p.delegationSelector=t?o:null,p.originalHandler=i,p.oneOff=r,p.uidEvent=h,c[h]=p,e.addEventListener(a,p,t)}}static removeHandler(e,t,o,n,r){const s=d.findHandler(t[o],n,r);null!==s&&(e.removeEventListener(o,s,Boolean(r)),delete t[o][s.uidEvent])}static removeNamespacedHandlers(e,t,o,n){const r=t[o]||{};for(const s in r)if(Object.prototype.hasOwnProperty.call(r,s)&&s.indexOf(n)>-1){const n=r[s];d.removeHandler(e,t,o,n.originalHandler,n.delegationSelector)}}static on(e,t,o,n){d.addHandler(e,t,o,n,!1)}static one(e,t,o,n){d.addHandler(e,t,o,n,!0)}static off(e,t,o,n){if("string"!=typeof t||null==e)return;const[r,s,l]=d.normalizeParams(t,o,n),i=l!==t,a=d.getEvent(e);if(void 0!==s){if(!a||!a[l])return;return void d.removeHandler(e,a,l,s,r?o:null)}if("."===t.charAt(0))for(const o in a)Object.prototype.hasOwnProperty.call(a,o)&&d.removeNamespacedHandlers(e,a,o,t.substr(1));const c=a[l]||{};for(const o in c){if(!Object.prototype.hasOwnProperty.call(c,o))continue;const n=o.replace(d.STRIPUID_REGEX,"");if(!i||t.indexOf(n)>-1){const t=c[o];d.removeHandler(e,a,l,t.originalHandler,t.delegationSelector)}}}static trigger(e,t,o){if("string"!=typeof t||null==e)return null;const n=t.replace(d.STRIPNAME_REGEX,""),r="string"==typeof a[n];let s=null;return r?(s=document.createEvent("HTMLEvents"),s.initEvent(n,true,!0)):s=new window.CustomEvent(t,{bubbles:true,cancelable:!0}),void 0!==o&&Object.keys(o).forEach(e=>{Object.defineProperty(s,e,{get:()=>o[e]})}),e.dispatchEvent(s),s}}d.NAMESPACE_REGEX=/[^.]*(?=\..*)\.|.*/,d.STRIPNAME_REGEX=/\..*/,d.KEYEVENT_REGEX=/^key/,d.STRIPUID_REGEX=/::\d+$/,d.EVENTREGISTRY={},d.uidEvent=1;const h={getDataAttributes(e){if(null==e)return{};let t={};if(Object.getOwnPropertyDescriptor(HTMLElement.prototype,"dataset"))t=Object.assign({},e.dataset);else for(let o=0;o<e.attributes.length;o++){const n=e.attributes[o];if(-1!==n.nodeName.indexOf("data-")){const e=n.nodeName.substring("data-".length).replace(/-./g,e=>e.charAt(1).toUpperCase());t[e]=n.nodeValue}}return Object.keys(t).forEach(e=>{var o;t[e]="true"===(o=t[e])||"false"!==o&&("null"===o?null:o===Number(o).toString()?Number(o):""===o?null:o)}),t},toggleClass(e,t){null!=e&&(e.classList.contains(t)?e.classList.remove(t):e.classList.add(t))},mergeExtended(e,t,o){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(o&&"[object Object]"===Object.prototype.toString.call(t[n])?e[n]=h.extend(e[n],t[n]):e[n]=t[n]);return e},extend(...e){let t={},o=!1,n=0;for("[object Boolean]"===Object.prototype.toString.call(e[0])&&(o=e[0],n++);n<e.length;n++)t=h.mergeExtended(t,e[n],o);return t},createHtmlNode:e=>(new DOMParser).parseFromString(e,"text/html").body.firstChild};var p=h;class m extends u{constructor(e,t,o={},n={}){super(e,t,p.extend(!0,m.DEFAULT_OPTIONS,o),n),this.njFormGroup=this.resolveNJFormGroup(),this.njFormGroup&&(this.resolveNJLabel(),this.resolveNJFormGroupSizing(),this.addFocusListener(),this.addChangeListener(),this.isEmpty()?this.removeIsFilled():this.addIsFilled())}addFocusListener(){d.on(this.element,"focus",()=>{this.addFormGroupFocus()}),d.on(this.element,"blur",()=>{this.removeFormGroupFocus()})}addChangeListener(){d.on(this.element,"keydown paste",e=>{c.isChar(e)&&this.addIsFilled()}),d.on(this.element,"keyup change",()=>{if(this.isEmpty()?this.removeIsFilled():this.addIsFilled(),this.options.validate){void 0===this.element[0].checkValidity||this.element[0].checkValidity()?this.removeHasDanger():this.addHasDanger()}})}addHasDanger(){this.njFormGroup.classList.add(m.CLASS_NAME.hasDanger)}removeHasDanger(){this.njFormGroup.classList.remove(m.CLASS_NAME.hasDanger)}isEmpty(){return null===this.element.value||void 0===this.element.value||""===this.element.value}resolveNJFormGroup(){return this.findFormGroup(this.options.njFormGroup.required)}outerElement(){return this.element}resolveNJLabel(){let e=this.njFormGroup.querySelectorAll(m.INPUT_SELECTOR.njLabelWildcard);0===e.length&&(e=this.findLabel(this.options.label.required),null!==e&&e.length>1&&e.forEach(e=>{e.classList.add(this.options.label.className)}))}findLabel(e=!0){let t,o=null,n=0,r=!1;do{t=this.options.label.selectors[n];try{o=this.njFormGroup.querySelectorAll(t)}catch(e){o=null}r=null!==o&&o.length>0,n++}while(!r&&n<this.options.label.selectors.length);return!r&&e&&console.error("Failed to find ".concat(m.INPUT_SELECTOR.njLabelWildcard," within nj-form-group for ").concat(c.describe(this.element))),o}resolveNJFormGroupSizing(){if(this.options.convertInputSizeVariations)for(const e in m.FORM_CONTROL_SIZE_MARKERS)this.element.classList.contains(e)&&this.njFormGroup.classList.add(m.FORM_CONTROL_SIZE_MARKERS[e])}}m.CLASS_NAME={njFormGroup:"nj-form-group",njLabel:"nj-label",njLabelStatic:"nj-label-static",njLabelPlaceholder:"nj-label-placeholder",njLabelFloating:"nj-label-floating",hasDanger:"has-danger",isFilled:"is-filled",isFocused:"is-focused",inputGroup:"input-group"},m.INPUT_SELECTOR={njFormGroup:".".concat(m.CLASS_NAME.njFormGroup),njLabelWildcard:"label[class^='".concat(m.CLASS_NAME.njLabel,"'], label[class*=' ").concat(m.CLASS_NAME.njLabel,"']")},m.DEFAULT_OPTIONS={validate:!1,njFormGroup:{template:"span",templateClass:"".concat(m.CLASS_NAME.njFormGroup)},label:{required:!1,selectors:[".form-control-label",":scope > label"],className:m.CLASS_NAME.njLabelStatic},requiredClasses:[],convertInputSizeVariations:!0},m.FORM_CONTROL_SIZE_MARKERS={"form-control-lg":"nj-form-group-lg","form-control-sm":"nj-form-group-sm"};class f extends m{constructor(e,t,o={},n={}){super(e,t,p.extend(!0,f.DEFAULT_OPTIONS,o),n),this.decorateMarkup()}decorateMarkup(){const e=p.createHtmlNode(this.options.template);this.element.parentNode.appendChild(e)}outerElement(){return this.element.parentElement.closest(this.outerClass)}rejectWithoutRequiredStructure(){c.assert(this.element,"label"===this.element.parentElement.tagName.toLowerCase(),"".concat(this.constructor.name,"'s ").concat(c.describe(this.element)," parent element should be <label>.")),c.assert(this.element,!this.outerElement().classList.contains(this.outerClass),"".concat(this.constructor.name,"'s ").concat(c.describe(this.element)," outer element should have class ").concat(this.outerClass,"."))}addFocusListener(){const e=this.element.closest(f.SELECTOR.label);d.on(e,"mouseenter",()=>{this.addFormGroupFocus()}),d.on(e,"mouseleave",()=>{this.removeFormGroupFocus()})}addChangeListener(){d.on(this.element,"change",()=>{this.element.blur()})}}f.SELECTOR={formGroup:m.SELECTOR.formGroup,label:"label"},f.DEFAULT_OPTIONS={label:{required:!1}};class E extends HTMLElement{constructor(...e){super(),this.components=e,this.instances=[],this.parentNodes=[]}connectedCallback(){this.setup()}disconnectedCallback(){this.instances.forEach(e=>{e.dispose()}),this.instances=null}setup(){let e=this;for(;e.parentNode;)e=e.parentNode,this.parentNodes.push(e);[this,...this.parentNodes].some(e=>e.nextSibling)||"loading"!==document.readyState?this.childrenAvailableCallback():(this.mutationObserver=new MutationObserver(()=>{([this,...this.parentNodes].some(e=>e.nextSibling)||"loading"!==document.readyState)&&(this.childrenAvailableCallback(),this.mutationObserver.disconnect())}),this.mutationObserver.observe(this,{childList:!0}))}childrenAvailableCallback(){this.components.forEach(e=>{const t=this.querySelector(e.SELECTOR.default);if(!t)throw new Error("Default selector of ".concat(e.name," not found: ").concat(e.SELECTOR.default));this.instances.push(new e(t))})}static init(e){if(!e.TAG_NAME)throw new Error("TAG_NAME property of ".concat(e.name," class doesn't exists"));customElements.define(e.TAG_NAME,e)}}o.d(t,"default",(function(){return b})),o.d(t,"CheckboxWC",(function(){return g}));class b extends f{constructor(e,t={},o={}){super(b,e,p.extend(!0,b.DEFAULT_OPTIONS,t),o),r.setData(e,b.DATA_KEY,this);const n=e.parentNode.parentNode;r.setData(n,b.DATA_KEY,this)}dispose(){r.removeData(this.element,b.DATA_KEY),this.element=null}static init(e={}){return super.init(this,e,b.SELECTOR.default)}static getInstance(e){return r.getData(e,b.DATA_KEY)}static matches(e){return"checkbox"===e.getAttribute("type")}}b.NAME="".concat(s.KEY_PREFIX,"-checkbox"),b.DATA_KEY="".concat(s.KEY_PREFIX,".checkbox"),b.SELECTOR={root:".".concat(b.NAME),default:".".concat(b.NAME," > label > input[type=checkbox]"),formGroup:f.SELECTOR.formGroup,label:f.SELECTOR.label},b.DEFAULT_OPTIONS={template:'<span class="'.concat(b.NAME,'__decorator"><span class="').concat(b.NAME,'__check"></span></span>'),njFormGroup:{required:!1}};class g extends E{constructor(){super(b)}static init(){E.init(g)}}g.TAG_NAME=b.NAME}]).default}));

@@ -1,1 +0,1 @@

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("Collapse",[],t):"object"==typeof exports?exports.Collapse=t():e.Collapse=t()}(window,(function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var s=t[o]={i:o,l:!1,exports:{}};return e[o].call(s.exports,s,s.exports,n),s.l=!0,s.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var s in e)n.d(o,s,function(t){return e[t]}.bind(null,s));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";var o,s,r,i;n.r(t),function(e){e.KEY_PREFIX="nj",e.DATA_API_KEY=".data-api"}(o||(o={})),function(e){e.mouseenter="mouseover",e.mouseleave="mouseout"}(s||(s={})),function(e){e.click="click",e.close="close",e.closed="closed",e.hide="hide",e.hidden="hidden",e.input="input",e.keydown="keydown",e.keyup="keyup",e.onchange="onchange",e.show="show",e.shown="shown",e.inserted="inserted",e.focusin="focusin",e.focusout="focusout",e.mouseenter="mouseenter",e.mouseleave="mouseleave",e.mouseup="mouseup",e.mousedown="mousedown"}(r||(r={})),function(e){e.click="click",e.dblclick="dblclick",e.mouseup="mouseup",e.mousedown="mousedown",e.contextmenu="contextmenu",e.mousewheel="mousewheel",e.DOMMouseScroll="DOMMouseScroll",e.mouseover="mouseover",e.mouseout="mouseout",e.mousemove="mousemove",e.selectstart="selectstart",e.selectend="selectend",e.keydown="keydown",e.keypress="keypress",e.keyup="keyup",e.orientationchange="orientationchange",e.touchstart="touchstart",e.touchmove="touchmove",e.touchend="touchend",e.touchcancel="touchcancel",e.pointerdown="pointerdown",e.pointermove="pointermove",e.pointerup="pointerup",e.pointerleave="pointerleave",e.pointercancel="pointercancel",e.gesturestart="gesturestart",e.gesturechange="gesturechange",e.gestureend="gestureend",e.focus="focus",e.blur="blur",e.change="change",e.reset="reset",e.select="select",e.submit="submit",e.focusin="focusin",e.focusout="focusout",e.load="load",e.unload="unload",e.beforeunload="beforeunload",e.resize="resize",e.move="move",e.DOMContentLoaded="DOMContentLoaded",e.readystatechange="readystatechange",e.error="error",e.abort="abort",e.scroll="scroll"}(i||(i={}));const a=(()=>{const e={};let t=1;return{set(n,o,s){void 0===n.key&&(n.key={key:o,id:t},t++),e[n.key.id]=s},get(t,n){if(!t||void 0===t.key)return null;const o=t.key;return o.key===n?e[o.id]:null},delete(t,n){if(void 0===t.key)return;const o=t.key;o.key===n&&(delete e[o.id],delete t.key)}}})();var l={setData(e,t,n){a.set(e,t,n)},getData:(e,t)=>a.get(e,t),removeData(e,t){a.delete(e,t)}};class c{static getUidEvent(e,t){return t&&"".concat(t,"::").concat(c.uidEvent++)||e.uidEvent||c.uidEvent++}static getEvent(e){const t=c.getUidEvent(e);return e.uidEvent=t,c.EVENTREGISTRY[t]=c.EVENTREGISTRY[t]||{}}static fixEvent(e,t){null===e.which&&c.KEYEVENT_REGEX.test(e.type)&&(e.which=null!==e.charCode?e.charCode:e.keyCode),e.delegateTarget=t}static njHandler(e,t){const n=o=>(c.fixEvent(o,e),n.oneOff&&c.off(e,o.type,t),t.apply(e,[o]));return n}static njDelegationHandler(e,t,n){const o=s=>{const r=e.querySelectorAll(t);for(let t=s.target;t&&t!==this;t=t.parentNode)for(let i=r.length;i>=0;i--)if(r[i]===t)return c.fixEvent(s,t),o.oneOff&&c.off(e,s.type,n),n.apply(t,[s]);return null};return o}static findHandler(e,t,n=null){for(const o in e){if(!Object.prototype.hasOwnProperty.call(e,o))continue;const s=e[o];if(s.originalHandler===t&&s.delegationSelector===n)return e[o]}return null}static normalizeParams(e,t,n){const o="string"==typeof t,r=o?n:t;let a=e.replace(c.STRIPNAME_REGEX,"");const l=s[a];l&&(a=l);return"string"==typeof i[a]||(a=e),[o,r,a]}static addHandler(e,t,n,o,s){if("string"!=typeof t||null==e)return;n||(n=o,o=null);const r=c.getEvent(e);for(const i of t.split(" ")){const[t,a,l]=c.normalizeParams(i,n,o),u=r[l]||(r[l]={}),d=c.findHandler(u,a,t?n:null);if(d)return void(d.oneOff=d.oneOff&&s);const h=c.getUidEvent(a,i.replace(c.NAMESPACE_REGEX,"")),p=t?c.njDelegationHandler(e,n,o):c.njHandler(e,n);p.delegationSelector=t?n:null,p.originalHandler=a,p.oneOff=s,p.uidEvent=h,u[h]=p,e.addEventListener(l,p,t)}}static removeHandler(e,t,n,o,s){const r=c.findHandler(t[n],o,s);null!==r&&(e.removeEventListener(n,r,Boolean(s)),delete t[n][r.uidEvent])}static removeNamespacedHandlers(e,t,n,o){const s=t[n]||{};for(const r in s)if(Object.prototype.hasOwnProperty.call(s,r)&&r.indexOf(o)>-1){const o=s[r];c.removeHandler(e,t,n,o.originalHandler,o.delegationSelector)}}static on(e,t,n,o){c.addHandler(e,t,n,o,!1)}static one(e,t,n,o){c.addHandler(e,t,n,o,!0)}static off(e,t,n,o){if("string"!=typeof t||null==e)return;const[s,r,i]=c.normalizeParams(t,n,o),a=i!==t,l=c.getEvent(e);if(void 0!==r){if(!l||!l[i])return;return void c.removeHandler(e,l,i,r,s?n:null)}if("."===t.charAt(0))for(const n in l)Object.prototype.hasOwnProperty.call(l,n)&&c.removeNamespacedHandlers(e,l,n,t.substr(1));const u=l[i]||{};for(const n in u){if(!Object.prototype.hasOwnProperty.call(u,n))continue;const o=n.replace(c.STRIPUID_REGEX,"");if(!a||t.indexOf(o)>-1){const t=u[n];c.removeHandler(e,l,i,t.originalHandler,t.delegationSelector)}}}static trigger(e,t,n){if("string"!=typeof t||null==e)return null;const o=t.replace(c.STRIPNAME_REGEX,""),s="string"==typeof i[o];let r=null;return s?(r=document.createEvent("HTMLEvents"),r.initEvent(o,true,!0)):r=new window.CustomEvent(t,{bubbles:true,cancelable:!0}),void 0!==n&&Object.keys(n).forEach(e=>{Object.defineProperty(r,e,{get:()=>n[e]})}),e.dispatchEvent(r),r}}c.NAMESPACE_REGEX=/[^.]*(?=\..*)\.|.*/,c.STRIPNAME_REGEX=/\..*/,c.KEYEVENT_REGEX=/^key/,c.STRIPUID_REGEX=/::\d+$/,c.EVENTREGISTRY={},c.uidEvent=1;const u={getDataAttributes(e){if(null==e)return{};let t={};if(Object.getOwnPropertyDescriptor(HTMLElement.prototype,"dataset"))t=Object.assign({},e.dataset);else for(let n=0;n<e.attributes.length;n++){const o=e.attributes[n];if(-1!==o.nodeName.indexOf("data-")){const e=o.nodeName.substring("data-".length).replace(/-./g,e=>e.charAt(1).toUpperCase());t[e]=o.nodeValue}}return Object.keys(t).forEach(e=>{var n;t[e]="true"===(n=t[e])||"false"!==n&&("null"===n?null:n===Number(n).toString()?Number(n):""===n?null:n)}),t},toggleClass(e,t){null!=e&&(e.classList.contains(t)?e.classList.remove(t):e.classList.add(t))},mergeExtended(e,t,n){for(const o in t)Object.prototype.hasOwnProperty.call(t,o)&&(n&&"[object Object]"===Object.prototype.toString.call(t[o])?e[o]=u.extend(e[o],t[o]):e[o]=t[o]);return e},extend(...e){let t={},n=!1,o=0;for("[object Boolean]"===Object.prototype.toString.call(e[0])&&(n=e[0],o++);o<e.length;o++)t=u.mergeExtended(t,e[o],n);return t},createHtmlNode:e=>(new DOMParser).parseFromString(e,"text/html").body.firstChild};var d=u;const h={TRANSITION_END:"transitionend",getUID(e){do{e+=~~(1e6*Math.random())}while(document.getElementById(e));return e},getSelectorFromElement(e){let t=e.getAttribute("data-target");if(!t||"#"===t){const n=e.getAttribute("href");t=n&&"#"!==n?n.trim():""}try{return document.querySelector(t)?t:null}catch(e){return null}},getTransitionDurationFromElement(e){if(!e)return 0;let t=window.getComputedStyle(e).transitionDuration,n=window.getComputedStyle(e).transitionDelay;const o=parseFloat(t),s=parseFloat(n);return o||s?(t=t.split(",")[0],n=n.split(",")[0],1e3*(parseFloat(t)+parseFloat(n))):0},reflow:e=>e.offsetHeight,triggerTransitionEnd(e){const t=new CustomEvent(h.TRANSITION_END,{});e.dispatchEvent(t)},isElement:e=>(e[0]||e).nodeType,emulateTransitionEnd(e,t){let n=!1;const o=t+5;e.addEventListener(h.TRANSITION_END,(function t(){n=!0,e.removeEventListener(h.TRANSITION_END,t)})),setTimeout(()=>{n||h.triggerTransitionEnd(e)},o)},typeCheckConfig(e,t,n){for(const s in n)if(Object.prototype.hasOwnProperty.call(n,s)){const r=n[s],i=t[s],a=i&&h.isElement(i)?"element":(o=i,{}.toString.call(o).match(/\s([a-z]+)/i)[1].toLowerCase());if(!new RegExp(r).test(a))throw new Error("".concat(e.toUpperCase(),": ")+'Option "'.concat(s,'" provided type "').concat(a,'" ')+'but expected type "'.concat(r,'".'))}var o},makeArray:e=>null==e?[]:[].slice.call(e),findShadowRoot(e){if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?h.findShadowRoot(e.parentElement):null},throttle(e,t,n,o,s){let r,i,a,l=null,c=0;const u=()=>{c=Date.now(),l=null,a=e.apply(i,r)};return()=>{const d=Date.now();c||n||(c=d);const h=t-(d-c);return i=s||this,r=arguments,h<=0?(clearTimeout(l),l=null,c=d,a=e.apply(i,r)):!l&&o&&(l=setTimeout(u,h)),a}}};var p=h;class E extends HTMLElement{constructor(...e){super(),this.components=e,this.instances=[],this.parentNodes=[]}connectedCallback(){this.setup()}disconnectedCallback(){this.instances.forEach(e=>{e.dispose()}),this.instances=null}setup(){let e=this;for(;e.parentNode;)e=e.parentNode,this.parentNodes.push(e);[this,...this.parentNodes].some(e=>e.nextSibling)||"loading"!==document.readyState?this.childrenAvailableCallback():(this.mutationObserver=new MutationObserver(()=>{([this,...this.parentNodes].some(e=>e.nextSibling)||"loading"!==document.readyState)&&(this.childrenAvailableCallback(),this.mutationObserver.disconnect())}),this.mutationObserver.observe(this,{childList:!0}))}childrenAvailableCallback(){this.components.forEach(e=>{const t=this.querySelector(e.SELECTOR.default);if(!t)throw new Error("Default selector of ".concat(e.name," not found: ").concat(e.SELECTOR.default));this.instances.push(new e(t))})}static init(e){if(!e.TAG_NAME)throw new Error("TAG_NAME property of ".concat(e.name," class doesn't exists"));customElements.define(e.TAG_NAME,e)}}n.d(t,"default",(function(){return g})),n.d(t,"CollapseWC",(function(){return m}));class g extends class{constructor(e,t,n={}){!t||t instanceof Element||console.error(Error("".concat(t," is not an HTML Element"))),this.options=n,this.element=t}static init(e,t={},n){const o=[],s=document.querySelectorAll(n);for(let n=0;n<s.length;n++){const r=s[n];if(!r.key||r.key!==e.DATA_KEY){const i=new e(s[n],t);r.key||l.setData(s[n],e.DATA_KEY,i),o.push(i)}}return o}}{constructor(e,t={}){super(g,e,g.getOptions(t)),this.element=e,this.isTransitioning=!1,this.triggerArray=p.makeArray(document.querySelectorAll("".concat(g.SELECTOR.dataToggle,'[href="#').concat(e.id,'"],')+"".concat(g.SELECTOR.dataToggle,'[data-target="#').concat(e.id,'"]')));const n=p.makeArray(document.querySelectorAll(g.SELECTOR.dataToggle));for(let t=0,o=n.length;t<o;t++){const o=n[t],s=p.getSelectorFromElement(o),r=p.makeArray(document.querySelectorAll(s)).filter(t=>t===e);null!==s&&r.length&&(this.selector=s,this.triggerArray.push(o))}this.parent=this.options.parent?this.getParent():null,this.options.parent||this.addAriaAndCollapsedClass(this.element,this.triggerArray),l.setData(e,g.DATA_KEY,this),this.options.toggle&&this.toggle(),l.setData(e,g.DATA_KEY,this),this.registerEvents()}toggle(){this.element.classList.contains(g.CLASS_NAME.show)?this.hide():this.show()}show(){if(this.isTransitioning||this.element.classList.contains(g.CLASS_NAME.show))return;let e,t;this.parent&&(e=p.makeArray(this.parent.querySelectorAll(g.SELECTOR.actives)).filter(e=>"string"==typeof this.options.parent?e.getAttribute("data-parent")===this.options.parent:e.classList.contains(g.CLASS_NAME.collapse)),0===e.length&&(e=null));const n=document.querySelector(this.selector);if(e){const o=e.filter(e=>n!==e);if(t=o[0]?l.getData(o[0],g.DATA_KEY):null,t&&t.isTransitioning)return}if(c.trigger(this.element,g.EVENT.show).defaultPrevented)return;e&&e.forEach(e=>{n!==e&&g.collapseInterface(e,"hide"),t||l.setData(e,g.DATA_KEY,null)});const o=this.getDimension();this.element.classList.remove(g.CLASS_NAME.collapse),this.element.classList.add(g.CLASS_NAME.collapsing),this.element.style[o]=0,this.triggerArray.length&&this.triggerArray.forEach(e=>{e.classList.remove(g.CLASS_NAME.collapsed),e.setAttribute("aria-expanded","true")}),this.setTransitioning(!0);const s=o[0].toUpperCase()+o.slice(1),r="scroll".concat(s),i=p.getTransitionDurationFromElement(this.element);c.one(this.element,p.TRANSITION_END,()=>{this.element.classList.remove(g.CLASS_NAME.collapsing),this.element.classList.add(g.CLASS_NAME.collapse),this.element.classList.add(g.CLASS_NAME.show),this.element.style[o]="",this.setTransitioning(!1),c.trigger(this.element,g.EVENT.shown)}),p.emulateTransitionEnd(this.element,i),this.element.style[o]="".concat(this.element[r],"px")}hide(){if(this.isTransitioning||!this.element.classList.contains(g.CLASS_NAME.show))return;if(c.trigger(this.element,g.EVENT.hide).defaultPrevented)return;const e=this.getDimension();this.element.style[e]="".concat(this.element.getBoundingClientRect()[e],"px"),p.reflow(this.element),this.element.classList.add(g.CLASS_NAME.collapsing),this.element.classList.remove(g.CLASS_NAME.collapse),this.element.classList.remove(g.CLASS_NAME.show);const t=this.triggerArray.length;if(t>0)for(let e=0;e<t;e++){const t=this.triggerArray[e],n=p.getSelectorFromElement(t);if(null!==n){document.querySelector(n).classList.contains(g.CLASS_NAME.show)||(t.classList.add(g.CLASS_NAME.collapsed),t.setAttribute("aria-expanded","false"))}}this.setTransitioning(!0);this.element.style[e]="";const n=p.getTransitionDurationFromElement(this.element);c.one(this.element,p.TRANSITION_END,()=>{this.setTransitioning(!1),this.element.classList.remove(g.CLASS_NAME.collapsing),this.element.classList.add(g.CLASS_NAME.collapse),c.trigger(this.element,g.EVENT.hidden)}),p.emulateTransitionEnd(this.element,n)}setTransitioning(e){this.isTransitioning=e}dispose(){l.removeData(this.element,g.DATA_KEY),this.options=null,this.parent=null,this.element=null,this.triggerArray=null,this.isTransitioning=null}getDimension(){return this.element.classList.contains(g.DIMENSION.width)?g.DIMENSION.width:g.DIMENSION.height}getParent(){let e;p.isElement(this.options.parent)?e=this.options.parent:this.options.parent&&(e=document.querySelector(this.options.parent));const t='[data-toggle="collapse"][data-parent="'.concat(this.options.parent,'"]');return p.makeArray(e.querySelectorAll(t)).forEach(e=>{this.addAriaAndCollapsedClass(g.getTargetFromElement(e),[e])}),e}addAriaAndCollapsedClass(e,t){if(e){const n=e.classList.contains(g.CLASS_NAME.show);t.length&&t.forEach(e=>{n?e.classList.remove(g.CLASS_NAME.collapsed):e.classList.add(g.CLASS_NAME.collapsed),e.setAttribute("aria-expanded",n)})}}static getOptions(e){return(e=Object.assign(Object.assign({},g.DEFAULT_OPTIONS),e)).toggle=Boolean(e.toggle),p.typeCheckConfig(g.NAME,e,g.DEFAULT_TYPE),e}static getTargetFromElement(e){const t=p.getSelectorFromElement(e);return t?document.querySelector(t):null}static collapseInterface(e,t){let n=l.getData(e,g.DATA_KEY);const o=Object.assign(Object.assign(Object.assign({},g.DEFAULT_OPTIONS),d.getDataAttributes(e)),"object"==typeof t&&t?t:{});if(!n&&o.toggle&&/show|hide/.test(t)&&(o.toggle=!1),n||(n=new g(e,o)),"string"==typeof t){if(void 0===n[t])throw new Error('No method named "'.concat(t,'"'));n[t]()}}static getInstance(e){return l.getData(e,g.DATA_KEY)}static init(e={}){return super.init(this,e,g.SELECTOR.default)}registerEvents(){c.on(document,g.EVENT.clickDataApi,g.SELECTOR.dataToggle,(function(e){"A"===e.target.tagName&&e.preventDefault();const t=d.getDataAttributes(this),n=p.getSelectorFromElement(this);p.makeArray(document.querySelectorAll(n)).forEach(e=>{const n=g.getInstance(e);let o;n?(null===n.parent&&"string"==typeof t.parent&&(n.options.parent=t.parent,n.parent=n.getParent()),o="toggle"):o=t,g.collapseInterface(e,o)})}))}}g.NAME="".concat(o.KEY_PREFIX,"-collapse"),g.DATA_KEY="".concat(o.KEY_PREFIX,".collapse"),g.EVENT_KEY=".".concat(g.DATA_KEY),g.DATA_API_KEY=o.KEY_PREFIX,g.CLASS_NAME={show:"show",collapse:"".concat(o.KEY_PREFIX,"-collapse"),collapsing:"".concat(o.KEY_PREFIX,"-collapsing"),collapsed:"".concat(o.KEY_PREFIX,"-collapsed")},g.EVENT={show:"".concat(r.show).concat(g.EVENT_KEY),shown:"".concat(r.shown).concat(g.EVENT_KEY),hide:"".concat(r.hide).concat(g.EVENT_KEY),hidden:"".concat(r.hidden).concat(g.EVENT_KEY),clickDataApi:"".concat(r.click).concat(g.EVENT_KEY).concat(g.DATA_API_KEY)},g.DEFAULT_OPTIONS={toggle:!1,parent:""},g.DEFAULT_TYPE={toggle:"boolean",parent:"(string|element)"},g.DIMENSION={width:"width",height:"height"},g.SELECTOR={default:".".concat(g.CLASS_NAME.collapse),actives:".".concat(g.CLASS_NAME.show,", .").concat(g.CLASS_NAME.collapsing),dataToggle:'[data-toggle="collapse"]'};class m extends E{constructor(){super(g)}static init(){E.init(m)}}m.TAG_NAME=g.NAME}]).default}));
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("Collapse",[],t):"object"==typeof exports?exports.Collapse=t():e.Collapse=t()}(window,(function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var s=t[o]={i:o,l:!1,exports:{}};return e[o].call(s.exports,s,s.exports,n),s.l=!0,s.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var s in e)n.d(o,s,function(t){return e[t]}.bind(null,s));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";var o,s,r,i;n.r(t),function(e){e.KEY_PREFIX="nj",e.DATA_API_KEY=".data-api"}(o||(o={})),function(e){e.mouseenter="mouseover",e.mouseleave="mouseout"}(s||(s={})),function(e){e.click="click",e.close="close",e.closed="closed",e.hide="hide",e.hidden="hidden",e.input="input",e.keydown="keydown",e.keyup="keyup",e.onchange="onchange",e.show="show",e.shown="shown",e.inserted="inserted",e.focusin="focusin",e.focusout="focusout",e.mouseenter="mouseenter",e.mouseleave="mouseleave",e.mouseup="mouseup",e.mousedown="mousedown"}(r||(r={})),function(e){e.click="click",e.dblclick="dblclick",e.mouseup="mouseup",e.mousedown="mousedown",e.contextmenu="contextmenu",e.mousewheel="mousewheel",e.DOMMouseScroll="DOMMouseScroll",e.mouseover="mouseover",e.mouseout="mouseout",e.mousemove="mousemove",e.selectstart="selectstart",e.selectend="selectend",e.keydown="keydown",e.keypress="keypress",e.keyup="keyup",e.orientationchange="orientationchange",e.touchstart="touchstart",e.touchmove="touchmove",e.touchend="touchend",e.touchcancel="touchcancel",e.pointerdown="pointerdown",e.pointermove="pointermove",e.pointerup="pointerup",e.pointerleave="pointerleave",e.pointercancel="pointercancel",e.gesturestart="gesturestart",e.gesturechange="gesturechange",e.gestureend="gestureend",e.focus="focus",e.blur="blur",e.change="change",e.reset="reset",e.select="select",e.submit="submit",e.focusin="focusin",e.focusout="focusout",e.load="load",e.unload="unload",e.beforeunload="beforeunload",e.resize="resize",e.move="move",e.DOMContentLoaded="DOMContentLoaded",e.readystatechange="readystatechange",e.error="error",e.abort="abort",e.scroll="scroll"}(i||(i={})),window.NJStore=window.NJStore||[];const a=(()=>{const e=window.NJStore;return{set(t,n,o){void 0===t.key&&(t.key={key:n,id:e.length}),e[t.key.id]=o},get:(t,n)=>(t.key&&!n.id&&(n=t.key),n&&n.id?e[n.id]:null),delete(t,n){if(void 0===t.key)return;const o=t.key;o.key===n&&(delete e[o.id],delete t.key)}}})();var l={setData(e,t,n){a.set(e,t,n)},getData:(e,t)=>a.get(e,t),removeData(e,t){a.delete(e,t)}};class c{static getUidEvent(e,t){return t&&"".concat(t,"::").concat(c.uidEvent++)||e.uidEvent||c.uidEvent++}static getEvent(e){const t=c.getUidEvent(e);return e.uidEvent=t,c.EVENTREGISTRY[t]=c.EVENTREGISTRY[t]||{}}static fixEvent(e,t){null===e.which&&c.KEYEVENT_REGEX.test(e.type)&&(e.which=null!==e.charCode?e.charCode:e.keyCode),e.delegateTarget=t}static njHandler(e,t){const n=o=>(c.fixEvent(o,e),n.oneOff&&c.off(e,o.type,t),t.apply(e,[o]));return n}static njDelegationHandler(e,t,n){const o=s=>{const r=e.querySelectorAll(t);for(let t=s.target;t&&t!==this;t=t.parentNode)for(let i=r.length;i>=0;i--)if(r[i]===t)return c.fixEvent(s,t),o.oneOff&&c.off(e,s.type,n),n.apply(t,[s]);return null};return o}static findHandler(e,t,n=null){for(const o in e){if(!Object.prototype.hasOwnProperty.call(e,o))continue;const s=e[o];if(s.originalHandler===t&&s.delegationSelector===n)return e[o]}return null}static normalizeParams(e,t,n){const o="string"==typeof t,r=o?n:t;let a=e.replace(c.STRIPNAME_REGEX,"");const l=s[a];l&&(a=l);return"string"==typeof i[a]||(a=e),[o,r,a]}static addHandler(e,t,n,o,s){if("string"!=typeof t||null==e)return;n||(n=o,o=null);const r=c.getEvent(e);for(const i of t.split(" ")){const[t,a,l]=c.normalizeParams(i,n,o),u=r[l]||(r[l]={}),d=c.findHandler(u,a,t?n:null);if(d)return void(d.oneOff=d.oneOff&&s);const h=c.getUidEvent(a,i.replace(c.NAMESPACE_REGEX,"")),p=t?c.njDelegationHandler(e,n,o):c.njHandler(e,n);p.delegationSelector=t?n:null,p.originalHandler=a,p.oneOff=s,p.uidEvent=h,u[h]=p,e.addEventListener(l,p,t)}}static removeHandler(e,t,n,o,s){const r=c.findHandler(t[n],o,s);null!==r&&(e.removeEventListener(n,r,Boolean(s)),delete t[n][r.uidEvent])}static removeNamespacedHandlers(e,t,n,o){const s=t[n]||{};for(const r in s)if(Object.prototype.hasOwnProperty.call(s,r)&&r.indexOf(o)>-1){const o=s[r];c.removeHandler(e,t,n,o.originalHandler,o.delegationSelector)}}static on(e,t,n,o){c.addHandler(e,t,n,o,!1)}static one(e,t,n,o){c.addHandler(e,t,n,o,!0)}static off(e,t,n,o){if("string"!=typeof t||null==e)return;const[s,r,i]=c.normalizeParams(t,n,o),a=i!==t,l=c.getEvent(e);if(void 0!==r){if(!l||!l[i])return;return void c.removeHandler(e,l,i,r,s?n:null)}if("."===t.charAt(0))for(const n in l)Object.prototype.hasOwnProperty.call(l,n)&&c.removeNamespacedHandlers(e,l,n,t.substr(1));const u=l[i]||{};for(const n in u){if(!Object.prototype.hasOwnProperty.call(u,n))continue;const o=n.replace(c.STRIPUID_REGEX,"");if(!a||t.indexOf(o)>-1){const t=u[n];c.removeHandler(e,l,i,t.originalHandler,t.delegationSelector)}}}static trigger(e,t,n){if("string"!=typeof t||null==e)return null;const o=t.replace(c.STRIPNAME_REGEX,""),s="string"==typeof i[o];let r=null;return s?(r=document.createEvent("HTMLEvents"),r.initEvent(o,true,!0)):r=new window.CustomEvent(t,{bubbles:true,cancelable:!0}),void 0!==n&&Object.keys(n).forEach(e=>{Object.defineProperty(r,e,{get:()=>n[e]})}),e.dispatchEvent(r),r}}c.NAMESPACE_REGEX=/[^.]*(?=\..*)\.|.*/,c.STRIPNAME_REGEX=/\..*/,c.KEYEVENT_REGEX=/^key/,c.STRIPUID_REGEX=/::\d+$/,c.EVENTREGISTRY={},c.uidEvent=1;const u={getDataAttributes(e){if(null==e)return{};let t={};if(Object.getOwnPropertyDescriptor(HTMLElement.prototype,"dataset"))t=Object.assign({},e.dataset);else for(let n=0;n<e.attributes.length;n++){const o=e.attributes[n];if(-1!==o.nodeName.indexOf("data-")){const e=o.nodeName.substring("data-".length).replace(/-./g,e=>e.charAt(1).toUpperCase());t[e]=o.nodeValue}}return Object.keys(t).forEach(e=>{var n;t[e]="true"===(n=t[e])||"false"!==n&&("null"===n?null:n===Number(n).toString()?Number(n):""===n?null:n)}),t},toggleClass(e,t){null!=e&&(e.classList.contains(t)?e.classList.remove(t):e.classList.add(t))},mergeExtended(e,t,n){for(const o in t)Object.prototype.hasOwnProperty.call(t,o)&&(n&&"[object Object]"===Object.prototype.toString.call(t[o])?e[o]=u.extend(e[o],t[o]):e[o]=t[o]);return e},extend(...e){let t={},n=!1,o=0;for("[object Boolean]"===Object.prototype.toString.call(e[0])&&(n=e[0],o++);o<e.length;o++)t=u.mergeExtended(t,e[o],n);return t},createHtmlNode:e=>(new DOMParser).parseFromString(e,"text/html").body.firstChild};var d=u;const h={TRANSITION_END:"transitionend",getUID(e){do{e+=~~(1e6*Math.random())}while(document.getElementById(e));return e},getSelectorFromElement(e){let t=e.getAttribute("data-target");if(!t||"#"===t){const n=e.getAttribute("href");t=n&&"#"!==n?n.trim():""}try{return document.querySelector(t)?t:null}catch(e){return null}},getTransitionDurationFromElement(e){if(!e)return 0;let t=window.getComputedStyle(e).transitionDuration,n=window.getComputedStyle(e).transitionDelay;const o=parseFloat(t),s=parseFloat(n);return o||s?(t=t.split(",")[0],n=n.split(",")[0],1e3*(parseFloat(t)+parseFloat(n))):0},reflow:e=>e.offsetHeight,triggerTransitionEnd(e){const t=new CustomEvent(h.TRANSITION_END,{});e.dispatchEvent(t)},isElement:e=>(e[0]||e).nodeType,emulateTransitionEnd(e,t){let n=!1;const o=t+5;e.addEventListener(h.TRANSITION_END,(function t(){n=!0,e.removeEventListener(h.TRANSITION_END,t)})),setTimeout(()=>{n||h.triggerTransitionEnd(e)},o)},typeCheckConfig(e,t,n){for(const s in n)if(Object.prototype.hasOwnProperty.call(n,s)){const r=n[s],i=t[s],a=i&&h.isElement(i)?"element":(o=i,{}.toString.call(o).match(/\s([a-z]+)/i)[1].toLowerCase());if(!new RegExp(r).test(a))throw new Error("".concat(e.toUpperCase(),": ")+'Option "'.concat(s,'" provided type "').concat(a,'" ')+'but expected type "'.concat(r,'".'))}var o},makeArray:e=>null==e?[]:[].slice.call(e),findShadowRoot(e){if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?h.findShadowRoot(e.parentElement):null},throttle(e,t,n,o,s){let r,i,a,l=null,c=0;const u=()=>{c=Date.now(),l=null,a=e.apply(i,r)};return()=>{const d=Date.now();c||n||(c=d);const h=t-(d-c);return i=s||this,r=arguments,h<=0?(clearTimeout(l),l=null,c=d,a=e.apply(i,r)):!l&&o&&(l=setTimeout(u,h)),a}}};var p=h;class E extends HTMLElement{constructor(...e){super(),this.components=e,this.instances=[],this.parentNodes=[]}connectedCallback(){this.setup()}disconnectedCallback(){this.instances.forEach(e=>{e.dispose()}),this.instances=null}setup(){let e=this;for(;e.parentNode;)e=e.parentNode,this.parentNodes.push(e);[this,...this.parentNodes].some(e=>e.nextSibling)||"loading"!==document.readyState?this.childrenAvailableCallback():(this.mutationObserver=new MutationObserver(()=>{([this,...this.parentNodes].some(e=>e.nextSibling)||"loading"!==document.readyState)&&(this.childrenAvailableCallback(),this.mutationObserver.disconnect())}),this.mutationObserver.observe(this,{childList:!0}))}childrenAvailableCallback(){this.components.forEach(e=>{const t=this.querySelector(e.SELECTOR.default);if(!t)throw new Error("Default selector of ".concat(e.name," not found: ").concat(e.SELECTOR.default));this.instances.push(new e(t))})}static init(e){if(!e.TAG_NAME)throw new Error("TAG_NAME property of ".concat(e.name," class doesn't exists"));customElements.define(e.TAG_NAME,e)}}n.d(t,"default",(function(){return g})),n.d(t,"CollapseWC",(function(){return m}));class g extends class{constructor(e,t,n={}){!t||t instanceof Element||console.error(Error("".concat(t," is not an HTML Element"))),this.options=n,this.element=t}static init(e,t={},n){const o=[],s=document.querySelectorAll(n);for(let n=0;n<s.length;n++){const r=s[n];if(!r.key||r.key!==e.DATA_KEY){const i=new e(s[n],t);r.key||l.setData(s[n],e.DATA_KEY,i),o.push(i)}}return o}}{constructor(e,t={}){super(g,e,g.getOptions(t)),this.element=e,this.isTransitioning=!1,this.triggerArray=p.makeArray(document.querySelectorAll("".concat(g.SELECTOR.dataToggle,'[href="#').concat(e.id,'"],')+"".concat(g.SELECTOR.dataToggle,'[data-target="#').concat(e.id,'"]')));const n=p.makeArray(document.querySelectorAll(g.SELECTOR.dataToggle));for(let t=0,o=n.length;t<o;t++){const o=n[t],s=p.getSelectorFromElement(o),r=p.makeArray(document.querySelectorAll(s)).filter(t=>t===e);null!==s&&r.length&&(this.selector=s,this.triggerArray.push(o))}this.parent=this.options.parent?this.getParent():null,this.options.parent||this.addAriaAndCollapsedClass(this.element,this.triggerArray),this.options.toggle&&this.toggle(),l.setData(e,g.DATA_KEY,this),this.registerEvents()}toggle(){this.element.classList.contains(g.CLASS_NAME.show)?this.hide():this.show()}show(){if(this.isTransitioning||this.element.classList.contains(g.CLASS_NAME.show))return;let e,t;this.parent&&(e=p.makeArray(this.parent.querySelectorAll(g.SELECTOR.actives)).filter(e=>"string"==typeof this.options.parent?e.getAttribute("data-parent")===this.options.parent:e.classList.contains(g.CLASS_NAME.collapse)),0===e.length&&(e=null));const n=document.querySelector(this.selector);if(e){const o=e.filter(e=>n!==e);if(t=o[0]?l.getData(o[0],g.DATA_KEY):null,t&&t.isTransitioning)return}if(c.trigger(this.element,g.EVENT.show).defaultPrevented)return;e&&e.forEach(e=>{n!==e&&g.collapseInterface(e,"hide"),t||l.setData(e,g.DATA_KEY,null)});const o=this.getDimension();this.element.classList.remove(g.CLASS_NAME.collapse),this.element.classList.add(g.CLASS_NAME.collapsing),this.element.style[o]=0,this.triggerArray.length&&this.triggerArray.forEach(e=>{e.classList.remove(g.CLASS_NAME.collapsed),e.setAttribute("aria-expanded","true")}),this.setTransitioning(!0);const s=o[0].toUpperCase()+o.slice(1),r="scroll".concat(s),i=p.getTransitionDurationFromElement(this.element);c.one(this.element,p.TRANSITION_END,()=>{this.element.classList.remove(g.CLASS_NAME.collapsing),this.element.classList.add(g.CLASS_NAME.collapse),this.element.classList.add(g.CLASS_NAME.show),this.element.style[o]="",this.setTransitioning(!1),c.trigger(this.element,g.EVENT.shown)}),p.emulateTransitionEnd(this.element,i),this.element.style[o]="".concat(this.element[r],"px")}hide(){if(this.isTransitioning||!this.element.classList.contains(g.CLASS_NAME.show))return;if(c.trigger(this.element,g.EVENT.hide).defaultPrevented)return;const e=this.getDimension();this.element.style[e]="".concat(this.element.getBoundingClientRect()[e],"px"),p.reflow(this.element),this.element.classList.add(g.CLASS_NAME.collapsing),this.element.classList.remove(g.CLASS_NAME.collapse),this.element.classList.remove(g.CLASS_NAME.show);const t=this.triggerArray.length;if(t>0)for(let e=0;e<t;e++){const t=this.triggerArray[e],n=p.getSelectorFromElement(t);if(null!==n){document.querySelector(n).classList.contains(g.CLASS_NAME.show)||(t.classList.add(g.CLASS_NAME.collapsed),t.setAttribute("aria-expanded","false"))}}this.setTransitioning(!0);this.element.style[e]="";const n=p.getTransitionDurationFromElement(this.element);c.one(this.element,p.TRANSITION_END,()=>{this.setTransitioning(!1),this.element.classList.remove(g.CLASS_NAME.collapsing),this.element.classList.add(g.CLASS_NAME.collapse),c.trigger(this.element,g.EVENT.hidden)}),p.emulateTransitionEnd(this.element,n)}setTransitioning(e){this.isTransitioning=e}dispose(){l.removeData(this.element,g.DATA_KEY),this.options=null,this.parent=null,this.element=null,this.triggerArray=null,this.isTransitioning=null}getDimension(){return this.element.classList.contains(g.DIMENSION.width)?g.DIMENSION.width:g.DIMENSION.height}getParent(){let e;p.isElement(this.options.parent)?e=this.options.parent:this.options.parent&&(e=document.querySelector(this.options.parent));const t='[data-toggle="collapse"][data-parent="'.concat(this.options.parent,'"]');return p.makeArray(e.querySelectorAll(t)).forEach(e=>{this.addAriaAndCollapsedClass(g.getTargetFromElement(e),[e])}),e}addAriaAndCollapsedClass(e,t){if(e){const n=e.classList.contains(g.CLASS_NAME.show);t.length&&t.forEach(e=>{n?e.classList.remove(g.CLASS_NAME.collapsed):e.classList.add(g.CLASS_NAME.collapsed),e.setAttribute("aria-expanded",n)})}}static getOptions(e){return(e=Object.assign(Object.assign({},g.DEFAULT_OPTIONS),e)).toggle=Boolean(e.toggle),p.typeCheckConfig(g.NAME,e,g.DEFAULT_TYPE),e}static getTargetFromElement(e){const t=p.getSelectorFromElement(e);return t?document.querySelector(t):null}static collapseInterface(e,t){let n=l.getData(e,g.DATA_KEY);const o=Object.assign(Object.assign(Object.assign({},g.DEFAULT_OPTIONS),d.getDataAttributes(e)),"object"==typeof t&&t?t:{});if(!n&&o.toggle&&/show|hide/.test(t)&&(o.toggle=!1),n||(n=new g(e,o)),"string"==typeof t){if(void 0===n[t])throw new Error('No method named "'.concat(t,'"'));n[t]()}}static getInstance(e){return l.getData(e,g.DATA_KEY)}static init(e={}){return super.init(this,e,g.SELECTOR.default)}registerEvents(){c.on(document,g.EVENT.clickDataApi,g.SELECTOR.dataToggle,(function(e){"A"===e.target.tagName&&e.preventDefault();const t=d.getDataAttributes(this),n=p.getSelectorFromElement(this);p.makeArray(document.querySelectorAll(n)).forEach(e=>{const n=g.getInstance(e);let o;n?(null===n.parent&&"string"==typeof t.parent&&(n.options.parent=t.parent,n.parent=n.getParent()),o="toggle"):o=t,g.collapseInterface(e,o)})}))}}g.NAME="".concat(o.KEY_PREFIX,"-collapse"),g.DATA_KEY="".concat(o.KEY_PREFIX,".collapse"),g.EVENT_KEY=".".concat(g.DATA_KEY),g.DATA_API_KEY=o.KEY_PREFIX,g.CLASS_NAME={show:"show",collapse:"".concat(o.KEY_PREFIX,"-collapse"),collapsing:"".concat(o.KEY_PREFIX,"-collapsing"),collapsed:"".concat(o.KEY_PREFIX,"-collapsed")},g.EVENT={show:"".concat(r.show).concat(g.EVENT_KEY),shown:"".concat(r.shown).concat(g.EVENT_KEY),hide:"".concat(r.hide).concat(g.EVENT_KEY),hidden:"".concat(r.hidden).concat(g.EVENT_KEY),clickDataApi:"".concat(r.click).concat(g.EVENT_KEY).concat(g.DATA_API_KEY)},g.DEFAULT_OPTIONS={toggle:!1,parent:""},g.DEFAULT_TYPE={toggle:"boolean",parent:"(string|element)"},g.DIMENSION={width:"width",height:"height"},g.SELECTOR={default:".".concat(g.CLASS_NAME.collapse),actives:".".concat(g.CLASS_NAME.show,", .").concat(g.CLASS_NAME.collapsing),dataToggle:'[data-toggle="collapse"]'};class m extends E{constructor(){super(g)}static init(){E.init(m)}}m.TAG_NAME=g.NAME}]).default}));

@@ -1,1 +0,1 @@

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("Dropdown",[],t):"object"==typeof exports?exports.Dropdown=t():e.Dropdown=t()}(window,(function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var s=t[o]={i:o,l:!1,exports:{}};return e[o].call(s.exports,s,s.exports,n),s.l=!0,s.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var s in e)n.d(o,s,function(t){return e[t]}.bind(null,s));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";var o,s,r,a;n.r(t),function(e){e.KEY_PREFIX="nj",e.DATA_API_KEY=".data-api"}(o||(o={})),function(e){e.mouseenter="mouseover",e.mouseleave="mouseout"}(s||(s={})),function(e){e.click="click",e.close="close",e.closed="closed",e.hide="hide",e.hidden="hidden",e.input="input",e.keydown="keydown",e.keyup="keyup",e.onchange="onchange",e.show="show",e.shown="shown",e.inserted="inserted",e.focusin="focusin",e.focusout="focusout",e.mouseenter="mouseenter",e.mouseleave="mouseleave",e.mouseup="mouseup",e.mousedown="mousedown"}(r||(r={})),function(e){e.click="click",e.dblclick="dblclick",e.mouseup="mouseup",e.mousedown="mousedown",e.contextmenu="contextmenu",e.mousewheel="mousewheel",e.DOMMouseScroll="DOMMouseScroll",e.mouseover="mouseover",e.mouseout="mouseout",e.mousemove="mousemove",e.selectstart="selectstart",e.selectend="selectend",e.keydown="keydown",e.keypress="keypress",e.keyup="keyup",e.orientationchange="orientationchange",e.touchstart="touchstart",e.touchmove="touchmove",e.touchend="touchend",e.touchcancel="touchcancel",e.pointerdown="pointerdown",e.pointermove="pointermove",e.pointerup="pointerup",e.pointerleave="pointerleave",e.pointercancel="pointercancel",e.gesturestart="gesturestart",e.gesturechange="gesturechange",e.gestureend="gestureend",e.focus="focus",e.blur="blur",e.change="change",e.reset="reset",e.select="select",e.submit="submit",e.focusin="focusin",e.focusout="focusout",e.load="load",e.unload="unload",e.beforeunload="beforeunload",e.resize="resize",e.move="move",e.DOMContentLoaded="DOMContentLoaded",e.readystatechange="readystatechange",e.error="error",e.abort="abort",e.scroll="scroll"}(a||(a={}));const i=(()=>{const e={};let t=1;return{set(n,o,s){void 0===n.key&&(n.key={key:o,id:t},t++),e[n.key.id]=s},get(t,n){if(!t||void 0===t.key)return null;const o=t.key;return o.key===n?e[o.id]:null},delete(t,n){if(void 0===t.key)return;const o=t.key;o.key===n&&(delete e[o.id],delete t.key)}}})();var l={setData(e,t,n){i.set(e,t,n)},getData:(e,t)=>i.get(e,t),removeData(e,t){i.delete(e,t)}};class c{constructor(e,t,n={}){!t||t instanceof Element||console.error(Error("".concat(t," is not an HTML Element"))),this.options=n,this.element=t}static init(e,t={},n){const o=[],s=document.querySelectorAll(n);for(let n=0;n<s.length;n++){const r=s[n];if(!r.key||r.key!==e.DATA_KEY){const a=new e(s[n],t);r.key||l.setData(s[n],e.DATA_KEY,a),o.push(a)}}return o}}class u{static getUidEvent(e,t){return t&&"".concat(t,"::").concat(u.uidEvent++)||e.uidEvent||u.uidEvent++}static getEvent(e){const t=u.getUidEvent(e);return e.uidEvent=t,u.EVENTREGISTRY[t]=u.EVENTREGISTRY[t]||{}}static fixEvent(e,t){null===e.which&&u.KEYEVENT_REGEX.test(e.type)&&(e.which=null!==e.charCode?e.charCode:e.keyCode),e.delegateTarget=t}static njHandler(e,t){const n=o=>(u.fixEvent(o,e),n.oneOff&&u.off(e,o.type,t),t.apply(e,[o]));return n}static njDelegationHandler(e,t,n){const o=s=>{const r=e.querySelectorAll(t);for(let t=s.target;t&&t!==this;t=t.parentNode)for(let a=r.length;a>=0;a--)if(r[a]===t)return u.fixEvent(s,t),o.oneOff&&u.off(e,s.type,n),n.apply(t,[s]);return null};return o}static findHandler(e,t,n=null){for(const o in e){if(!Object.prototype.hasOwnProperty.call(e,o))continue;const s=e[o];if(s.originalHandler===t&&s.delegationSelector===n)return e[o]}return null}static normalizeParams(e,t,n){const o="string"==typeof t,r=o?n:t;let i=e.replace(u.STRIPNAME_REGEX,"");const l=s[i];l&&(i=l);return"string"==typeof a[i]||(i=e),[o,r,i]}static addHandler(e,t,n,o,s){if("string"!=typeof t||null==e)return;n||(n=o,o=null);const r=u.getEvent(e);for(const a of t.split(" ")){const[t,i,l]=u.normalizeParams(a,n,o),c=r[l]||(r[l]={}),d=u.findHandler(c,i,t?n:null);if(d)return void(d.oneOff=d.oneOff&&s);const E=u.getUidEvent(i,a.replace(u.NAMESPACE_REGEX,"")),h=t?u.njDelegationHandler(e,n,o):u.njHandler(e,n);h.delegationSelector=t?n:null,h.originalHandler=i,h.oneOff=s,h.uidEvent=E,c[E]=h,e.addEventListener(l,h,t)}}static removeHandler(e,t,n,o,s){const r=u.findHandler(t[n],o,s);null!==r&&(e.removeEventListener(n,r,Boolean(s)),delete t[n][r.uidEvent])}static removeNamespacedHandlers(e,t,n,o){const s=t[n]||{};for(const r in s)if(Object.prototype.hasOwnProperty.call(s,r)&&r.indexOf(o)>-1){const o=s[r];u.removeHandler(e,t,n,o.originalHandler,o.delegationSelector)}}static on(e,t,n,o){u.addHandler(e,t,n,o,!1)}static one(e,t,n,o){u.addHandler(e,t,n,o,!0)}static off(e,t,n,o){if("string"!=typeof t||null==e)return;const[s,r,a]=u.normalizeParams(t,n,o),i=a!==t,l=u.getEvent(e);if(void 0!==r){if(!l||!l[a])return;return void u.removeHandler(e,l,a,r,s?n:null)}if("."===t.charAt(0))for(const n in l)Object.prototype.hasOwnProperty.call(l,n)&&u.removeNamespacedHandlers(e,l,n,t.substr(1));const c=l[a]||{};for(const n in c){if(!Object.prototype.hasOwnProperty.call(c,n))continue;const o=n.replace(u.STRIPUID_REGEX,"");if(!i||t.indexOf(o)>-1){const t=c[n];u.removeHandler(e,l,a,t.originalHandler,t.delegationSelector)}}}static trigger(e,t,n){if("string"!=typeof t||null==e)return null;const o=t.replace(u.STRIPNAME_REGEX,""),s="string"==typeof a[o];let r=null;return s?(r=document.createEvent("HTMLEvents"),r.initEvent(o,true,!0)):r=new window.CustomEvent(t,{bubbles:true,cancelable:!0}),void 0!==n&&Object.keys(n).forEach(e=>{Object.defineProperty(r,e,{get:()=>n[e]})}),e.dispatchEvent(r),r}}u.NAMESPACE_REGEX=/[^.]*(?=\..*)\.|.*/,u.STRIPNAME_REGEX=/\..*/,u.KEYEVENT_REGEX=/^key/,u.STRIPUID_REGEX=/::\d+$/,u.EVENTREGISTRY={},u.uidEvent=1;const d={getDataAttributes(e){if(null==e)return{};let t={};if(Object.getOwnPropertyDescriptor(HTMLElement.prototype,"dataset"))t=Object.assign({},e.dataset);else for(let n=0;n<e.attributes.length;n++){const o=e.attributes[n];if(-1!==o.nodeName.indexOf("data-")){const e=o.nodeName.substring("data-".length).replace(/-./g,e=>e.charAt(1).toUpperCase());t[e]=o.nodeValue}}return Object.keys(t).forEach(e=>{var n;t[e]="true"===(n=t[e])||"false"!==n&&("null"===n?null:n===Number(n).toString()?Number(n):""===n?null:n)}),t},toggleClass(e,t){null!=e&&(e.classList.contains(t)?e.classList.remove(t):e.classList.add(t))},mergeExtended(e,t,n){for(const o in t)Object.prototype.hasOwnProperty.call(t,o)&&(n&&"[object Object]"===Object.prototype.toString.call(t[o])?e[o]=d.extend(e[o],t[o]):e[o]=t[o]);return e},extend(...e){let t={},n=!1,o=0;for("[object Boolean]"===Object.prototype.toString.call(e[0])&&(n=e[0],o++);o<e.length;o++)t=d.mergeExtended(t,e[o],n);return t},createHtmlNode:e=>(new DOMParser).parseFromString(e,"text/html").body.firstChild};var E=d;const h={TRANSITION_END:"transitionend",getUID(e){do{e+=~~(1e6*Math.random())}while(document.getElementById(e));return e},getSelectorFromElement(e){let t=e.getAttribute("data-target");if(!t||"#"===t){const n=e.getAttribute("href");t=n&&"#"!==n?n.trim():""}try{return document.querySelector(t)?t:null}catch(e){return null}},getTransitionDurationFromElement(e){if(!e)return 0;let t=window.getComputedStyle(e).transitionDuration,n=window.getComputedStyle(e).transitionDelay;const o=parseFloat(t),s=parseFloat(n);return o||s?(t=t.split(",")[0],n=n.split(",")[0],1e3*(parseFloat(t)+parseFloat(n))):0},reflow:e=>e.offsetHeight,triggerTransitionEnd(e){const t=new CustomEvent(h.TRANSITION_END,{});e.dispatchEvent(t)},isElement:e=>(e[0]||e).nodeType,emulateTransitionEnd(e,t){let n=!1;const o=t+5;e.addEventListener(h.TRANSITION_END,(function t(){n=!0,e.removeEventListener(h.TRANSITION_END,t)})),setTimeout(()=>{n||h.triggerTransitionEnd(e)},o)},typeCheckConfig(e,t,n){for(const s in n)if(Object.prototype.hasOwnProperty.call(n,s)){const r=n[s],a=t[s],i=a&&h.isElement(a)?"element":(o=a,{}.toString.call(o).match(/\s([a-z]+)/i)[1].toLowerCase());if(!new RegExp(r).test(i))throw new Error("".concat(e.toUpperCase(),": ")+'Option "'.concat(s,'" provided type "').concat(i,'" ')+'but expected type "'.concat(r,'".'))}var o},makeArray:e=>null==e?[]:[].slice.call(e),findShadowRoot(e){if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?h.findShadowRoot(e.parentElement):null},throttle(e,t,n,o,s){let r,a,i,l=null,c=0;const u=()=>{c=Date.now(),l=null,i=e.apply(a,r)};return()=>{const d=Date.now();c||n||(c=d);const E=t-(d-c);return a=s||this,r=arguments,E<=0?(clearTimeout(l),l=null,c=d,i=e.apply(a,r)):!l&&o&&(l=setTimeout(u,E)),i}}};var p=h;class g extends HTMLElement{constructor(...e){super(),this.components=e,this.instances=[],this.parentNodes=[]}connectedCallback(){this.setup()}disconnectedCallback(){this.instances.forEach(e=>{e.dispose()}),this.instances=null}setup(){let e=this;for(;e.parentNode;)e=e.parentNode,this.parentNodes.push(e);[this,...this.parentNodes].some(e=>e.nextSibling)||"loading"!==document.readyState?this.childrenAvailableCallback():(this.mutationObserver=new MutationObserver(()=>{([this,...this.parentNodes].some(e=>e.nextSibling)||"loading"!==document.readyState)&&(this.childrenAvailableCallback(),this.mutationObserver.disconnect())}),this.mutationObserver.observe(this,{childList:!0}))}childrenAvailableCallback(){this.components.forEach(e=>{const t=this.querySelector(e.SELECTOR.default);if(!t)throw new Error("Default selector of ".concat(e.name," not found: ").concat(e.SELECTOR.default));this.instances.push(new e(t))})}static init(e){if(!e.TAG_NAME)throw new Error("TAG_NAME property of ".concat(e.name," class doesn't exists"));customElements.define(e.TAG_NAME,e)}}class m extends c{constructor(e,t={}){super(m,e,m.getOptions(t)),this.element=e,this.isTransitioning=!1,this.triggerArray=p.makeArray(document.querySelectorAll("".concat(m.SELECTOR.dataToggle,'[href="#').concat(e.id,'"],')+"".concat(m.SELECTOR.dataToggle,'[data-target="#').concat(e.id,'"]')));const n=p.makeArray(document.querySelectorAll(m.SELECTOR.dataToggle));for(let t=0,o=n.length;t<o;t++){const o=n[t],s=p.getSelectorFromElement(o),r=p.makeArray(document.querySelectorAll(s)).filter(t=>t===e);null!==s&&r.length&&(this.selector=s,this.triggerArray.push(o))}this.parent=this.options.parent?this.getParent():null,this.options.parent||this.addAriaAndCollapsedClass(this.element,this.triggerArray),l.setData(e,m.DATA_KEY,this),this.options.toggle&&this.toggle(),l.setData(e,m.DATA_KEY,this),this.registerEvents()}toggle(){this.element.classList.contains(m.CLASS_NAME.show)?this.hide():this.show()}show(){if(this.isTransitioning||this.element.classList.contains(m.CLASS_NAME.show))return;let e,t;this.parent&&(e=p.makeArray(this.parent.querySelectorAll(m.SELECTOR.actives)).filter(e=>"string"==typeof this.options.parent?e.getAttribute("data-parent")===this.options.parent:e.classList.contains(m.CLASS_NAME.collapse)),0===e.length&&(e=null));const n=document.querySelector(this.selector);if(e){const o=e.filter(e=>n!==e);if(t=o[0]?l.getData(o[0],m.DATA_KEY):null,t&&t.isTransitioning)return}if(u.trigger(this.element,m.EVENT.show).defaultPrevented)return;e&&e.forEach(e=>{n!==e&&m.collapseInterface(e,"hide"),t||l.setData(e,m.DATA_KEY,null)});const o=this.getDimension();this.element.classList.remove(m.CLASS_NAME.collapse),this.element.classList.add(m.CLASS_NAME.collapsing),this.element.style[o]=0,this.triggerArray.length&&this.triggerArray.forEach(e=>{e.classList.remove(m.CLASS_NAME.collapsed),e.setAttribute("aria-expanded","true")}),this.setTransitioning(!0);const s=o[0].toUpperCase()+o.slice(1),r="scroll".concat(s),a=p.getTransitionDurationFromElement(this.element);u.one(this.element,p.TRANSITION_END,()=>{this.element.classList.remove(m.CLASS_NAME.collapsing),this.element.classList.add(m.CLASS_NAME.collapse),this.element.classList.add(m.CLASS_NAME.show),this.element.style[o]="",this.setTransitioning(!1),u.trigger(this.element,m.EVENT.shown)}),p.emulateTransitionEnd(this.element,a),this.element.style[o]="".concat(this.element[r],"px")}hide(){if(this.isTransitioning||!this.element.classList.contains(m.CLASS_NAME.show))return;if(u.trigger(this.element,m.EVENT.hide).defaultPrevented)return;const e=this.getDimension();this.element.style[e]="".concat(this.element.getBoundingClientRect()[e],"px"),p.reflow(this.element),this.element.classList.add(m.CLASS_NAME.collapsing),this.element.classList.remove(m.CLASS_NAME.collapse),this.element.classList.remove(m.CLASS_NAME.show);const t=this.triggerArray.length;if(t>0)for(let e=0;e<t;e++){const t=this.triggerArray[e],n=p.getSelectorFromElement(t);if(null!==n){document.querySelector(n).classList.contains(m.CLASS_NAME.show)||(t.classList.add(m.CLASS_NAME.collapsed),t.setAttribute("aria-expanded","false"))}}this.setTransitioning(!0);this.element.style[e]="";const n=p.getTransitionDurationFromElement(this.element);u.one(this.element,p.TRANSITION_END,()=>{this.setTransitioning(!1),this.element.classList.remove(m.CLASS_NAME.collapsing),this.element.classList.add(m.CLASS_NAME.collapse),u.trigger(this.element,m.EVENT.hidden)}),p.emulateTransitionEnd(this.element,n)}setTransitioning(e){this.isTransitioning=e}dispose(){l.removeData(this.element,m.DATA_KEY),this.options=null,this.parent=null,this.element=null,this.triggerArray=null,this.isTransitioning=null}getDimension(){return this.element.classList.contains(m.DIMENSION.width)?m.DIMENSION.width:m.DIMENSION.height}getParent(){let e;p.isElement(this.options.parent)?e=this.options.parent:this.options.parent&&(e=document.querySelector(this.options.parent));const t='[data-toggle="collapse"][data-parent="'.concat(this.options.parent,'"]');return p.makeArray(e.querySelectorAll(t)).forEach(e=>{this.addAriaAndCollapsedClass(m.getTargetFromElement(e),[e])}),e}addAriaAndCollapsedClass(e,t){if(e){const n=e.classList.contains(m.CLASS_NAME.show);t.length&&t.forEach(e=>{n?e.classList.remove(m.CLASS_NAME.collapsed):e.classList.add(m.CLASS_NAME.collapsed),e.setAttribute("aria-expanded",n)})}}static getOptions(e){return(e=Object.assign(Object.assign({},m.DEFAULT_OPTIONS),e)).toggle=Boolean(e.toggle),p.typeCheckConfig(m.NAME,e,m.DEFAULT_TYPE),e}static getTargetFromElement(e){const t=p.getSelectorFromElement(e);return t?document.querySelector(t):null}static collapseInterface(e,t){let n=l.getData(e,m.DATA_KEY);const o=Object.assign(Object.assign(Object.assign({},m.DEFAULT_OPTIONS),E.getDataAttributes(e)),"object"==typeof t&&t?t:{});if(!n&&o.toggle&&/show|hide/.test(t)&&(o.toggle=!1),n||(n=new m(e,o)),"string"==typeof t){if(void 0===n[t])throw new Error('No method named "'.concat(t,'"'));n[t]()}}static getInstance(e){return l.getData(e,m.DATA_KEY)}static init(e={}){return super.init(this,e,m.SELECTOR.default)}registerEvents(){u.on(document,m.EVENT.clickDataApi,m.SELECTOR.dataToggle,(function(e){"A"===e.target.tagName&&e.preventDefault();const t=E.getDataAttributes(this),n=p.getSelectorFromElement(this);p.makeArray(document.querySelectorAll(n)).forEach(e=>{const n=m.getInstance(e);let o;n?(null===n.parent&&"string"==typeof t.parent&&(n.options.parent=t.parent,n.parent=n.getParent()),o="toggle"):o=t,m.collapseInterface(e,o)})}))}}m.NAME="".concat(o.KEY_PREFIX,"-collapse"),m.DATA_KEY="".concat(o.KEY_PREFIX,".collapse"),m.EVENT_KEY=".".concat(m.DATA_KEY),m.DATA_API_KEY=o.KEY_PREFIX,m.CLASS_NAME={show:"show",collapse:"".concat(o.KEY_PREFIX,"-collapse"),collapsing:"".concat(o.KEY_PREFIX,"-collapsing"),collapsed:"".concat(o.KEY_PREFIX,"-collapsed")},m.EVENT={show:"".concat(r.show).concat(m.EVENT_KEY),shown:"".concat(r.shown).concat(m.EVENT_KEY),hide:"".concat(r.hide).concat(m.EVENT_KEY),hidden:"".concat(r.hidden).concat(m.EVENT_KEY),clickDataApi:"".concat(r.click).concat(m.EVENT_KEY).concat(m.DATA_API_KEY)},m.DEFAULT_OPTIONS={toggle:!1,parent:""},m.DEFAULT_TYPE={toggle:"boolean",parent:"(string|element)"},m.DIMENSION={width:"width",height:"height"},m.SELECTOR={default:".".concat(m.CLASS_NAME.collapse),actives:".".concat(m.CLASS_NAME.show,", .").concat(m.CLASS_NAME.collapsing),dataToggle:'[data-toggle="collapse"]'};class f extends g{constructor(){super(m)}static init(){g.init(f)}}f.TAG_NAME=m.NAME,n.d(t,"default",(function(){return A})),n.d(t,"DropdownWC",(function(){return T}));class A extends c{constructor(e){super(A,e),l.setData(e,A.DATA_KEY,this),this.addBlurEvent(),this.addTouchEvent(),this.registerEvents()}closeMenu(){this.element.classList.contains(A.CLASS_NAME.shownCollapse)&&this.element.click()}dispose(){l.removeData(this.element,A.DATA_KEY),this.element=null}static handleCollapseShow(e){e.target.closest(A.SELECTOR.default).classList.add(A.CLASS_NAME.shownCollapse)}static handleCollapseHide(e){e.target.closest(A.SELECTOR.default).classList.remove(A.CLASS_NAME.shownCollapse)}static getInstance(e){return l.getData(e,A.DATA_KEY)}static init(e={}){return super.init(this,e,A.SELECTOR.default)}addTouchEvent(){u.on(this.element,A.EVENT.keydownDismiss,e=>{e.which===A.ESCAPE_KEYCODE&&(e.preventDefault(),this.closeMenu())})}addBlurEvent(){u.on(this.element,"blur",()=>{this.closeMenu()})}registerEvents(){u.on(document,m.EVENT.show,A.SELECTOR.default,e=>{A.handleCollapseShow(e)}),u.on(document,m.EVENT.hidden,A.SELECTOR.default,e=>{A.handleCollapseHide(e)}),u.on(document,A.EVENT.clickDataApi,A.SELECTOR.options,e=>{const t=e.target.closest("[".concat(A.ATTRIBUTE.value,"]")),n=e.target.closest(A.SELECTOR.default),o=t.querySelector("[".concat(A.ATTRIBUTE.content,"]")),s=n.querySelector(A.SELECTOR.input),r=t.getAttribute(A.ATTRIBUTE.value),a=o?o.textContent:t.textContent;s.value=r,n.setAttribute(A.ATTRIBUTE.selectedContent,a),this.value=r,u.trigger(this.element,A.EVENT.onchange)})}}A.NAME="".concat(o.KEY_PREFIX,"-dropdown"),A.DATA_KEY="".concat(o.KEY_PREFIX,".dropdown"),A.EVENT_KEY=".".concat(A.DATA_KEY),A.DATA_API_KEY=o.KEY_PREFIX,A.ESCAPE_KEYCODE=27,A.ATTRIBUTE={content:"data-content",selectedContent:"data-selected-content",value:"data-value"},A.CLASS_NAME={isFilled:"".concat(A.NAME,"__label--is-filled"),shownCollapse:"".concat(A.NAME,"--shown-collapse")},A.SELECTOR={default:".".concat(A.NAME),input:"input",label:".".concat(A.NAME,"__label"),options:".".concat(A.NAME," [").concat(A.ATTRIBUTE.value,"]")},A.EVENT={clickDataApi:"".concat(r.mousedown).concat(A.EVENT_KEY).concat(A.DATA_API_KEY),keydownDismiss:"".concat(r.keydown,".dismiss").concat(A.EVENT_KEY),onchange:"".concat(r.onchange).concat(A.EVENT_KEY)};class T extends g{constructor(){super(A)}static init(){g.init(T)}}T.TAG_NAME=A.NAME}]).default}));
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("Dropdown",[],t):"object"==typeof exports?exports.Dropdown=t():e.Dropdown=t()}(window,(function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var s=t[o]={i:o,l:!1,exports:{}};return e[o].call(s.exports,s,s.exports,n),s.l=!0,s.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var s in e)n.d(o,s,function(t){return e[t]}.bind(null,s));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";var o,s,r,a;n.r(t),function(e){e.KEY_PREFIX="nj",e.DATA_API_KEY=".data-api"}(o||(o={})),function(e){e.mouseenter="mouseover",e.mouseleave="mouseout"}(s||(s={})),function(e){e.click="click",e.close="close",e.closed="closed",e.hide="hide",e.hidden="hidden",e.input="input",e.keydown="keydown",e.keyup="keyup",e.onchange="onchange",e.show="show",e.shown="shown",e.inserted="inserted",e.focusin="focusin",e.focusout="focusout",e.mouseenter="mouseenter",e.mouseleave="mouseleave",e.mouseup="mouseup",e.mousedown="mousedown"}(r||(r={})),function(e){e.click="click",e.dblclick="dblclick",e.mouseup="mouseup",e.mousedown="mousedown",e.contextmenu="contextmenu",e.mousewheel="mousewheel",e.DOMMouseScroll="DOMMouseScroll",e.mouseover="mouseover",e.mouseout="mouseout",e.mousemove="mousemove",e.selectstart="selectstart",e.selectend="selectend",e.keydown="keydown",e.keypress="keypress",e.keyup="keyup",e.orientationchange="orientationchange",e.touchstart="touchstart",e.touchmove="touchmove",e.touchend="touchend",e.touchcancel="touchcancel",e.pointerdown="pointerdown",e.pointermove="pointermove",e.pointerup="pointerup",e.pointerleave="pointerleave",e.pointercancel="pointercancel",e.gesturestart="gesturestart",e.gesturechange="gesturechange",e.gestureend="gestureend",e.focus="focus",e.blur="blur",e.change="change",e.reset="reset",e.select="select",e.submit="submit",e.focusin="focusin",e.focusout="focusout",e.load="load",e.unload="unload",e.beforeunload="beforeunload",e.resize="resize",e.move="move",e.DOMContentLoaded="DOMContentLoaded",e.readystatechange="readystatechange",e.error="error",e.abort="abort",e.scroll="scroll"}(a||(a={})),window.NJStore=window.NJStore||[];const i=(()=>{const e=window.NJStore;return{set(t,n,o){void 0===t.key&&(t.key={key:n,id:e.length}),e[t.key.id]=o},get:(t,n)=>(t.key&&!n.id&&(n=t.key),n&&n.id?e[n.id]:null),delete(t,n){if(void 0===t.key)return;const o=t.key;o.key===n&&(delete e[o.id],delete t.key)}}})();var l={setData(e,t,n){i.set(e,t,n)},getData:(e,t)=>i.get(e,t),removeData(e,t){i.delete(e,t)}};class c{constructor(e,t,n={}){!t||t instanceof Element||console.error(Error("".concat(t," is not an HTML Element"))),this.options=n,this.element=t}static init(e,t={},n){const o=[],s=document.querySelectorAll(n);for(let n=0;n<s.length;n++){const r=s[n];if(!r.key||r.key!==e.DATA_KEY){const a=new e(s[n],t);r.key||l.setData(s[n],e.DATA_KEY,a),o.push(a)}}return o}}class d{static getUidEvent(e,t){return t&&"".concat(t,"::").concat(d.uidEvent++)||e.uidEvent||d.uidEvent++}static getEvent(e){const t=d.getUidEvent(e);return e.uidEvent=t,d.EVENTREGISTRY[t]=d.EVENTREGISTRY[t]||{}}static fixEvent(e,t){null===e.which&&d.KEYEVENT_REGEX.test(e.type)&&(e.which=null!==e.charCode?e.charCode:e.keyCode),e.delegateTarget=t}static njHandler(e,t){const n=o=>(d.fixEvent(o,e),n.oneOff&&d.off(e,o.type,t),t.apply(e,[o]));return n}static njDelegationHandler(e,t,n){const o=s=>{const r=e.querySelectorAll(t);for(let t=s.target;t&&t!==this;t=t.parentNode)for(let a=r.length;a>=0;a--)if(r[a]===t)return d.fixEvent(s,t),o.oneOff&&d.off(e,s.type,n),n.apply(t,[s]);return null};return o}static findHandler(e,t,n=null){for(const o in e){if(!Object.prototype.hasOwnProperty.call(e,o))continue;const s=e[o];if(s.originalHandler===t&&s.delegationSelector===n)return e[o]}return null}static normalizeParams(e,t,n){const o="string"==typeof t,r=o?n:t;let i=e.replace(d.STRIPNAME_REGEX,"");const l=s[i];l&&(i=l);return"string"==typeof a[i]||(i=e),[o,r,i]}static addHandler(e,t,n,o,s){if("string"!=typeof t||null==e)return;n||(n=o,o=null);const r=d.getEvent(e);for(const a of t.split(" ")){const[t,i,l]=d.normalizeParams(a,n,o),c=r[l]||(r[l]={}),u=d.findHandler(c,i,t?n:null);if(u)return void(u.oneOff=u.oneOff&&s);const E=d.getUidEvent(i,a.replace(d.NAMESPACE_REGEX,"")),h=t?d.njDelegationHandler(e,n,o):d.njHandler(e,n);h.delegationSelector=t?n:null,h.originalHandler=i,h.oneOff=s,h.uidEvent=E,c[E]=h,e.addEventListener(l,h,t)}}static removeHandler(e,t,n,o,s){const r=d.findHandler(t[n],o,s);null!==r&&(e.removeEventListener(n,r,Boolean(s)),delete t[n][r.uidEvent])}static removeNamespacedHandlers(e,t,n,o){const s=t[n]||{};for(const r in s)if(Object.prototype.hasOwnProperty.call(s,r)&&r.indexOf(o)>-1){const o=s[r];d.removeHandler(e,t,n,o.originalHandler,o.delegationSelector)}}static on(e,t,n,o){d.addHandler(e,t,n,o,!1)}static one(e,t,n,o){d.addHandler(e,t,n,o,!0)}static off(e,t,n,o){if("string"!=typeof t||null==e)return;const[s,r,a]=d.normalizeParams(t,n,o),i=a!==t,l=d.getEvent(e);if(void 0!==r){if(!l||!l[a])return;return void d.removeHandler(e,l,a,r,s?n:null)}if("."===t.charAt(0))for(const n in l)Object.prototype.hasOwnProperty.call(l,n)&&d.removeNamespacedHandlers(e,l,n,t.substr(1));const c=l[a]||{};for(const n in c){if(!Object.prototype.hasOwnProperty.call(c,n))continue;const o=n.replace(d.STRIPUID_REGEX,"");if(!i||t.indexOf(o)>-1){const t=c[n];d.removeHandler(e,l,a,t.originalHandler,t.delegationSelector)}}}static trigger(e,t,n){if("string"!=typeof t||null==e)return null;const o=t.replace(d.STRIPNAME_REGEX,""),s="string"==typeof a[o];let r=null;return s?(r=document.createEvent("HTMLEvents"),r.initEvent(o,true,!0)):r=new window.CustomEvent(t,{bubbles:true,cancelable:!0}),void 0!==n&&Object.keys(n).forEach(e=>{Object.defineProperty(r,e,{get:()=>n[e]})}),e.dispatchEvent(r),r}}d.NAMESPACE_REGEX=/[^.]*(?=\..*)\.|.*/,d.STRIPNAME_REGEX=/\..*/,d.KEYEVENT_REGEX=/^key/,d.STRIPUID_REGEX=/::\d+$/,d.EVENTREGISTRY={},d.uidEvent=1;const u={getDataAttributes(e){if(null==e)return{};let t={};if(Object.getOwnPropertyDescriptor(HTMLElement.prototype,"dataset"))t=Object.assign({},e.dataset);else for(let n=0;n<e.attributes.length;n++){const o=e.attributes[n];if(-1!==o.nodeName.indexOf("data-")){const e=o.nodeName.substring("data-".length).replace(/-./g,e=>e.charAt(1).toUpperCase());t[e]=o.nodeValue}}return Object.keys(t).forEach(e=>{var n;t[e]="true"===(n=t[e])||"false"!==n&&("null"===n?null:n===Number(n).toString()?Number(n):""===n?null:n)}),t},toggleClass(e,t){null!=e&&(e.classList.contains(t)?e.classList.remove(t):e.classList.add(t))},mergeExtended(e,t,n){for(const o in t)Object.prototype.hasOwnProperty.call(t,o)&&(n&&"[object Object]"===Object.prototype.toString.call(t[o])?e[o]=u.extend(e[o],t[o]):e[o]=t[o]);return e},extend(...e){let t={},n=!1,o=0;for("[object Boolean]"===Object.prototype.toString.call(e[0])&&(n=e[0],o++);o<e.length;o++)t=u.mergeExtended(t,e[o],n);return t},createHtmlNode:e=>(new DOMParser).parseFromString(e,"text/html").body.firstChild};var E=u;const h={TRANSITION_END:"transitionend",getUID(e){do{e+=~~(1e6*Math.random())}while(document.getElementById(e));return e},getSelectorFromElement(e){let t=e.getAttribute("data-target");if(!t||"#"===t){const n=e.getAttribute("href");t=n&&"#"!==n?n.trim():""}try{return document.querySelector(t)?t:null}catch(e){return null}},getTransitionDurationFromElement(e){if(!e)return 0;let t=window.getComputedStyle(e).transitionDuration,n=window.getComputedStyle(e).transitionDelay;const o=parseFloat(t),s=parseFloat(n);return o||s?(t=t.split(",")[0],n=n.split(",")[0],1e3*(parseFloat(t)+parseFloat(n))):0},reflow:e=>e.offsetHeight,triggerTransitionEnd(e){const t=new CustomEvent(h.TRANSITION_END,{});e.dispatchEvent(t)},isElement:e=>(e[0]||e).nodeType,emulateTransitionEnd(e,t){let n=!1;const o=t+5;e.addEventListener(h.TRANSITION_END,(function t(){n=!0,e.removeEventListener(h.TRANSITION_END,t)})),setTimeout(()=>{n||h.triggerTransitionEnd(e)},o)},typeCheckConfig(e,t,n){for(const s in n)if(Object.prototype.hasOwnProperty.call(n,s)){const r=n[s],a=t[s],i=a&&h.isElement(a)?"element":(o=a,{}.toString.call(o).match(/\s([a-z]+)/i)[1].toLowerCase());if(!new RegExp(r).test(i))throw new Error("".concat(e.toUpperCase(),": ")+'Option "'.concat(s,'" provided type "').concat(i,'" ')+'but expected type "'.concat(r,'".'))}var o},makeArray:e=>null==e?[]:[].slice.call(e),findShadowRoot(e){if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?h.findShadowRoot(e.parentElement):null},throttle(e,t,n,o,s){let r,a,i,l=null,c=0;const d=()=>{c=Date.now(),l=null,i=e.apply(a,r)};return()=>{const u=Date.now();c||n||(c=u);const E=t-(u-c);return a=s||this,r=arguments,E<=0?(clearTimeout(l),l=null,c=u,i=e.apply(a,r)):!l&&o&&(l=setTimeout(d,E)),i}}};var p=h;class g extends HTMLElement{constructor(...e){super(),this.components=e,this.instances=[],this.parentNodes=[]}connectedCallback(){this.setup()}disconnectedCallback(){this.instances.forEach(e=>{e.dispose()}),this.instances=null}setup(){let e=this;for(;e.parentNode;)e=e.parentNode,this.parentNodes.push(e);[this,...this.parentNodes].some(e=>e.nextSibling)||"loading"!==document.readyState?this.childrenAvailableCallback():(this.mutationObserver=new MutationObserver(()=>{([this,...this.parentNodes].some(e=>e.nextSibling)||"loading"!==document.readyState)&&(this.childrenAvailableCallback(),this.mutationObserver.disconnect())}),this.mutationObserver.observe(this,{childList:!0}))}childrenAvailableCallback(){this.components.forEach(e=>{const t=this.querySelector(e.SELECTOR.default);if(!t)throw new Error("Default selector of ".concat(e.name," not found: ").concat(e.SELECTOR.default));this.instances.push(new e(t))})}static init(e){if(!e.TAG_NAME)throw new Error("TAG_NAME property of ".concat(e.name," class doesn't exists"));customElements.define(e.TAG_NAME,e)}}class m extends c{constructor(e,t={}){super(m,e,m.getOptions(t)),this.element=e,this.isTransitioning=!1,this.triggerArray=p.makeArray(document.querySelectorAll("".concat(m.SELECTOR.dataToggle,'[href="#').concat(e.id,'"],')+"".concat(m.SELECTOR.dataToggle,'[data-target="#').concat(e.id,'"]')));const n=p.makeArray(document.querySelectorAll(m.SELECTOR.dataToggle));for(let t=0,o=n.length;t<o;t++){const o=n[t],s=p.getSelectorFromElement(o),r=p.makeArray(document.querySelectorAll(s)).filter(t=>t===e);null!==s&&r.length&&(this.selector=s,this.triggerArray.push(o))}this.parent=this.options.parent?this.getParent():null,this.options.parent||this.addAriaAndCollapsedClass(this.element,this.triggerArray),this.options.toggle&&this.toggle(),l.setData(e,m.DATA_KEY,this),this.registerEvents()}toggle(){this.element.classList.contains(m.CLASS_NAME.show)?this.hide():this.show()}show(){if(this.isTransitioning||this.element.classList.contains(m.CLASS_NAME.show))return;let e,t;this.parent&&(e=p.makeArray(this.parent.querySelectorAll(m.SELECTOR.actives)).filter(e=>"string"==typeof this.options.parent?e.getAttribute("data-parent")===this.options.parent:e.classList.contains(m.CLASS_NAME.collapse)),0===e.length&&(e=null));const n=document.querySelector(this.selector);if(e){const o=e.filter(e=>n!==e);if(t=o[0]?l.getData(o[0],m.DATA_KEY):null,t&&t.isTransitioning)return}if(d.trigger(this.element,m.EVENT.show).defaultPrevented)return;e&&e.forEach(e=>{n!==e&&m.collapseInterface(e,"hide"),t||l.setData(e,m.DATA_KEY,null)});const o=this.getDimension();this.element.classList.remove(m.CLASS_NAME.collapse),this.element.classList.add(m.CLASS_NAME.collapsing),this.element.style[o]=0,this.triggerArray.length&&this.triggerArray.forEach(e=>{e.classList.remove(m.CLASS_NAME.collapsed),e.setAttribute("aria-expanded","true")}),this.setTransitioning(!0);const s=o[0].toUpperCase()+o.slice(1),r="scroll".concat(s),a=p.getTransitionDurationFromElement(this.element);d.one(this.element,p.TRANSITION_END,()=>{this.element.classList.remove(m.CLASS_NAME.collapsing),this.element.classList.add(m.CLASS_NAME.collapse),this.element.classList.add(m.CLASS_NAME.show),this.element.style[o]="",this.setTransitioning(!1),d.trigger(this.element,m.EVENT.shown)}),p.emulateTransitionEnd(this.element,a),this.element.style[o]="".concat(this.element[r],"px")}hide(){if(this.isTransitioning||!this.element.classList.contains(m.CLASS_NAME.show))return;if(d.trigger(this.element,m.EVENT.hide).defaultPrevented)return;const e=this.getDimension();this.element.style[e]="".concat(this.element.getBoundingClientRect()[e],"px"),p.reflow(this.element),this.element.classList.add(m.CLASS_NAME.collapsing),this.element.classList.remove(m.CLASS_NAME.collapse),this.element.classList.remove(m.CLASS_NAME.show);const t=this.triggerArray.length;if(t>0)for(let e=0;e<t;e++){const t=this.triggerArray[e],n=p.getSelectorFromElement(t);if(null!==n){document.querySelector(n).classList.contains(m.CLASS_NAME.show)||(t.classList.add(m.CLASS_NAME.collapsed),t.setAttribute("aria-expanded","false"))}}this.setTransitioning(!0);this.element.style[e]="";const n=p.getTransitionDurationFromElement(this.element);d.one(this.element,p.TRANSITION_END,()=>{this.setTransitioning(!1),this.element.classList.remove(m.CLASS_NAME.collapsing),this.element.classList.add(m.CLASS_NAME.collapse),d.trigger(this.element,m.EVENT.hidden)}),p.emulateTransitionEnd(this.element,n)}setTransitioning(e){this.isTransitioning=e}dispose(){l.removeData(this.element,m.DATA_KEY),this.options=null,this.parent=null,this.element=null,this.triggerArray=null,this.isTransitioning=null}getDimension(){return this.element.classList.contains(m.DIMENSION.width)?m.DIMENSION.width:m.DIMENSION.height}getParent(){let e;p.isElement(this.options.parent)?e=this.options.parent:this.options.parent&&(e=document.querySelector(this.options.parent));const t='[data-toggle="collapse"][data-parent="'.concat(this.options.parent,'"]');return p.makeArray(e.querySelectorAll(t)).forEach(e=>{this.addAriaAndCollapsedClass(m.getTargetFromElement(e),[e])}),e}addAriaAndCollapsedClass(e,t){if(e){const n=e.classList.contains(m.CLASS_NAME.show);t.length&&t.forEach(e=>{n?e.classList.remove(m.CLASS_NAME.collapsed):e.classList.add(m.CLASS_NAME.collapsed),e.setAttribute("aria-expanded",n)})}}static getOptions(e){return(e=Object.assign(Object.assign({},m.DEFAULT_OPTIONS),e)).toggle=Boolean(e.toggle),p.typeCheckConfig(m.NAME,e,m.DEFAULT_TYPE),e}static getTargetFromElement(e){const t=p.getSelectorFromElement(e);return t?document.querySelector(t):null}static collapseInterface(e,t){let n=l.getData(e,m.DATA_KEY);const o=Object.assign(Object.assign(Object.assign({},m.DEFAULT_OPTIONS),E.getDataAttributes(e)),"object"==typeof t&&t?t:{});if(!n&&o.toggle&&/show|hide/.test(t)&&(o.toggle=!1),n||(n=new m(e,o)),"string"==typeof t){if(void 0===n[t])throw new Error('No method named "'.concat(t,'"'));n[t]()}}static getInstance(e){return l.getData(e,m.DATA_KEY)}static init(e={}){return super.init(this,e,m.SELECTOR.default)}registerEvents(){d.on(document,m.EVENT.clickDataApi,m.SELECTOR.dataToggle,(function(e){"A"===e.target.tagName&&e.preventDefault();const t=E.getDataAttributes(this),n=p.getSelectorFromElement(this);p.makeArray(document.querySelectorAll(n)).forEach(e=>{const n=m.getInstance(e);let o;n?(null===n.parent&&"string"==typeof t.parent&&(n.options.parent=t.parent,n.parent=n.getParent()),o="toggle"):o=t,m.collapseInterface(e,o)})}))}}m.NAME="".concat(o.KEY_PREFIX,"-collapse"),m.DATA_KEY="".concat(o.KEY_PREFIX,".collapse"),m.EVENT_KEY=".".concat(m.DATA_KEY),m.DATA_API_KEY=o.KEY_PREFIX,m.CLASS_NAME={show:"show",collapse:"".concat(o.KEY_PREFIX,"-collapse"),collapsing:"".concat(o.KEY_PREFIX,"-collapsing"),collapsed:"".concat(o.KEY_PREFIX,"-collapsed")},m.EVENT={show:"".concat(r.show).concat(m.EVENT_KEY),shown:"".concat(r.shown).concat(m.EVENT_KEY),hide:"".concat(r.hide).concat(m.EVENT_KEY),hidden:"".concat(r.hidden).concat(m.EVENT_KEY),clickDataApi:"".concat(r.click).concat(m.EVENT_KEY).concat(m.DATA_API_KEY)},m.DEFAULT_OPTIONS={toggle:!1,parent:""},m.DEFAULT_TYPE={toggle:"boolean",parent:"(string|element)"},m.DIMENSION={width:"width",height:"height"},m.SELECTOR={default:".".concat(m.CLASS_NAME.collapse),actives:".".concat(m.CLASS_NAME.show,", .").concat(m.CLASS_NAME.collapsing),dataToggle:'[data-toggle="collapse"]'};class f extends g{constructor(){super(m)}static init(){g.init(f)}}f.TAG_NAME=m.NAME,n.d(t,"default",(function(){return A})),n.d(t,"DropdownWC",(function(){return T}));class A extends c{constructor(e){super(A,e),l.setData(e,A.DATA_KEY,this),this.addBlurEvent(),this.addTouchEvent(),this.registerEvents()}closeMenu(){this.element.classList.contains(A.CLASS_NAME.shownCollapse)&&this.element.click()}dispose(){l.removeData(this.element,A.DATA_KEY),this.element=null}static handleCollapseShow(e){e.target.closest(A.SELECTOR.default).classList.add(A.CLASS_NAME.shownCollapse)}static handleCollapseHide(e){e.target.closest(A.SELECTOR.default).classList.remove(A.CLASS_NAME.shownCollapse)}static getInstance(e){return l.getData(e,A.DATA_KEY)}static init(e={}){return super.init(this,e,A.SELECTOR.default)}addTouchEvent(){d.on(this.element,A.EVENT.keydownDismiss,e=>{e.which===A.ESCAPE_KEYCODE&&(e.preventDefault(),this.closeMenu())})}addBlurEvent(){d.on(this.element,"blur",()=>{this.closeMenu()})}registerEvents(){d.on(document,m.EVENT.show,A.SELECTOR.default,e=>{A.handleCollapseShow(e)}),d.on(document,m.EVENT.hidden,A.SELECTOR.default,e=>{A.handleCollapseHide(e)}),d.on(document,A.EVENT.clickDataApi,A.SELECTOR.options,e=>{const t=e.target.closest("[".concat(A.ATTRIBUTE.value,"]")),n=e.target.closest(A.SELECTOR.default),o=t.querySelector("[".concat(A.ATTRIBUTE.content,"]")),s=n.querySelector(A.SELECTOR.input),r=t.getAttribute(A.ATTRIBUTE.value),a=o?o.textContent:t.textContent;s.value=r,n.setAttribute(A.ATTRIBUTE.selectedContent,a),this.value=r,d.trigger(this.element,A.EVENT.onchange)})}}A.NAME="".concat(o.KEY_PREFIX,"-dropdown"),A.DATA_KEY="".concat(o.KEY_PREFIX,".dropdown"),A.EVENT_KEY=".".concat(A.DATA_KEY),A.DATA_API_KEY=o.KEY_PREFIX,A.ESCAPE_KEYCODE=27,A.ATTRIBUTE={content:"data-content",selectedContent:"data-selected-content",value:"data-value"},A.CLASS_NAME={isFilled:"".concat(A.NAME,"__label--is-filled"),shownCollapse:"".concat(A.NAME,"--shown-collapse")},A.SELECTOR={default:".".concat(A.NAME),input:"input",label:".".concat(A.NAME,"__label"),options:".".concat(A.NAME," [").concat(A.ATTRIBUTE.value,"]")},A.EVENT={clickDataApi:"".concat(r.mousedown).concat(A.EVENT_KEY).concat(A.DATA_API_KEY),keydownDismiss:"".concat(r.keydown,".dismiss").concat(A.EVENT_KEY),onchange:"".concat(r.onchange).concat(A.EVENT_KEY)};class T extends g{constructor(){super(A)}static init(){g.init(T)}}T.TAG_NAME=A.NAME}]).default}));

@@ -1,1 +0,1 @@

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("Fab",[],t):"object"==typeof exports?exports.Fab=t():e.Fab=t()}(window,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=1)}([function(e,t){var n,r;r={},function(e,t){function n(){this._delay=0,this._endDelay=0,this._fill="none",this._iterationStart=0,this._iterations=1,this._duration=0,this._playbackRate=1,this._direction="normal",this._easing="linear",this._easingFunction=d}function r(){return e.isDeprecated("Invalid timing inputs","2016-03-02","TypeError exceptions will be thrown instead.",!0)}function i(t,r,i){var o=new n;return r&&(o.fill="both",o.duration="auto"),"number"!=typeof t||isNaN(t)?void 0!==t&&Object.getOwnPropertyNames(t).forEach((function(n){if("auto"!=t[n]){if(("number"==typeof o[n]||"duration"==n)&&("number"!=typeof t[n]||isNaN(t[n])))return;if("fill"==n&&-1==c.indexOf(t[n]))return;if("direction"==n&&-1==f.indexOf(t[n]))return;if("playbackRate"==n&&1!==t[n]&&e.isDeprecated("AnimationEffectTiming.playbackRate","2014-11-28","Use Animation.playbackRate instead."))return;o[n]=t[n]}})):o.duration=t,o}function o(e,t,n,r){return e<0||e>1||n<0||n>1?d:function(i){function o(e,t,n){return 3*e*(1-n)*(1-n)*n+3*t*(1-n)*n*n+n*n*n}if(i<=0){var a=0;return e>0?a=t/e:!t&&n>0&&(a=r/n),a*i}if(i>=1){var s=0;return n<1?s=(r-1)/(n-1):1==n&&e<1&&(s=(t-1)/(e-1)),1+s*(i-1)}for(var u=0,l=1;u<l;){var c=(u+l)/2,f=o(e,n,c);if(Math.abs(i-f)<1e-5)return o(t,r,c);f<i?u=c:l=c}return o(t,r,c)}}function a(e,t){return function(n){if(n>=1)return 1;var r=1/e;return(n+=t*r)-n%r}}function s(e){v||(v=document.createElement("div").style),v.animationTimingFunction="",v.animationTimingFunction=e;var t=v.animationTimingFunction;if(""==t&&r())throw new TypeError(e+" is not a valid value for easing");return t}function u(e){if("linear"==e)return d;var t=_.exec(e);if(t)return o.apply(this,t.slice(1).map(Number));var n=y.exec(e);if(n)return a(Number(n[1]),m);var r=T.exec(e);return r?a(Number(r[1]),{start:h,middle:p,end:m}[r[2]]):g[e]||d}function l(e,t,n){if(null==t)return E;var r=n.delay+e+n.endDelay;return t<Math.min(n.delay,r)?x:t>=Math.min(n.delay+e,r)?w:S}var c="backwards|forwards|both|none".split("|"),f="reverse|alternate|alternate-reverse".split("|"),d=function(e){return e};n.prototype={_setMember:function(t,n){this["_"+t]=n,this._effect&&(this._effect._timingInput[t]=n,this._effect._timing=e.normalizeTimingInput(this._effect._timingInput),this._effect.activeDuration=e.calculateActiveDuration(this._effect._timing),this._effect._animation&&this._effect._animation._rebuildUnderlyingAnimation())},get playbackRate(){return this._playbackRate},set delay(e){this._setMember("delay",e)},get delay(){return this._delay},set endDelay(e){this._setMember("endDelay",e)},get endDelay(){return this._endDelay},set fill(e){this._setMember("fill",e)},get fill(){return this._fill},set iterationStart(e){if((isNaN(e)||e<0)&&r())throw new TypeError("iterationStart must be a non-negative number, received: "+e);this._setMember("iterationStart",e)},get iterationStart(){return this._iterationStart},set duration(e){if("auto"!=e&&(isNaN(e)||e<0)&&r())throw new TypeError("duration must be non-negative or auto, received: "+e);this._setMember("duration",e)},get duration(){return this._duration},set direction(e){this._setMember("direction",e)},get direction(){return this._direction},set easing(e){this._easingFunction=u(s(e)),this._setMember("easing",e)},get easing(){return this._easing},set iterations(e){if((isNaN(e)||e<0)&&r())throw new TypeError("iterations must be non-negative, received: "+e);this._setMember("iterations",e)},get iterations(){return this._iterations}};var h=1,p=.5,m=0,g={ease:o(.25,.1,.25,1),"ease-in":o(.42,0,1,1),"ease-out":o(0,0,.58,1),"ease-in-out":o(.42,0,.58,1),"step-start":a(1,h),"step-middle":a(1,p),"step-end":a(1,m)},v=null,b="\\s*(-?\\d+\\.?\\d*|-?\\.\\d+)\\s*",_=new RegExp("cubic-bezier\\("+b+","+b+","+b+","+b+"\\)"),y=/steps\(\s*(\d+)\s*\)/,T=/steps\(\s*(\d+)\s*,\s*(start|middle|end)\s*\)/,E=0,x=1,w=2,S=3;e.cloneTimingInput=function(e){if("number"==typeof e)return e;var t={};for(var n in e)t[n]=e[n];return t},e.makeTiming=i,e.numericTimingToObject=function(e){return"number"==typeof e&&(e=isNaN(e)?{duration:0}:{duration:e}),e},e.normalizeTimingInput=function(t,n){return i(t=e.numericTimingToObject(t),n)},e.calculateActiveDuration=function(e){return Math.abs(function(e){return 0===e.duration||0===e.iterations?0:e.duration*e.iterations}(e)/e.playbackRate)},e.calculateIterationProgress=function(e,t,n){var r=l(e,t,n),i=function(e,t,n,r,i){switch(r){case x:return"backwards"==t||"both"==t?0:null;case S:return n-i;case w:return"forwards"==t||"both"==t?e:null;case E:return null}}(e,n.fill,t,r,n.delay);if(null===i)return null;var o=function(e,t,n,r,i){var o=i;return 0===e?t!==x&&(o+=n):o+=r/e,o}(n.duration,r,n.iterations,i,n.iterationStart),a=function(e,t,n,r,i,o){var a=e===1/0?t%1:e%1;return 0!==a||n!==w||0===r||0===i&&0!==o||(a=1),a}(o,n.iterationStart,r,n.iterations,i,n.duration),s=function(e,t,n,r){return e===w&&t===1/0?1/0:1===n?Math.floor(r)-1:Math.floor(r)}(r,n.iterations,a,o),u=function(e,t,n){var r=e;if("normal"!==e&&"reverse"!==e){var i=t;"alternate-reverse"===e&&(i+=1),r="normal",i!==1/0&&i%2!=0&&(r="reverse")}return"normal"===r?n:1-n}(n.direction,s,a);return n._easingFunction(u)},e.calculatePhase=l,e.normalizeEasing=s,e.parseEasingFunction=u}(n={}),function(e,t){function n(e,t){return e in u&&u[e][t]||t}function r(e,t,r){if(!function(e){return"display"===e||0===e.lastIndexOf("animation",0)||0===e.lastIndexOf("transition",0)}(e)){var i=o[e];if(i)for(var s in a.style[e]=t,i){var u=i[s],l=a.style[u];r[u]=n(u,l)}else r[e]=n(e,t)}}function i(e){var t=[];for(var n in e)if(!(n in["easing","offset","composite"])){var r=e[n];Array.isArray(r)||(r=[r]);for(var i,o=r.length,a=0;a<o;a++)(i={}).offset="offset"in e?e.offset:1==o?1:a/(o-1),"easing"in e&&(i.easing=e.easing),"composite"in e&&(i.composite=e.composite),i[n]=r[a],t.push(i)}return t.sort((function(e,t){return e.offset-t.offset})),t}var o={background:["backgroundImage","backgroundPosition","backgroundSize","backgroundRepeat","backgroundAttachment","backgroundOrigin","backgroundClip","backgroundColor"],border:["borderTopColor","borderTopStyle","borderTopWidth","borderRightColor","borderRightStyle","borderRightWidth","borderBottomColor","borderBottomStyle","borderBottomWidth","borderLeftColor","borderLeftStyle","borderLeftWidth"],borderBottom:["borderBottomWidth","borderBottomStyle","borderBottomColor"],borderColor:["borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"],borderLeft:["borderLeftWidth","borderLeftStyle","borderLeftColor"],borderRadius:["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],borderRight:["borderRightWidth","borderRightStyle","borderRightColor"],borderTop:["borderTopWidth","borderTopStyle","borderTopColor"],borderWidth:["borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth"],flex:["flexGrow","flexShrink","flexBasis"],font:["fontFamily","fontSize","fontStyle","fontVariant","fontWeight","lineHeight"],margin:["marginTop","marginRight","marginBottom","marginLeft"],outline:["outlineColor","outlineStyle","outlineWidth"],padding:["paddingTop","paddingRight","paddingBottom","paddingLeft"]},a=document.createElementNS("http://www.w3.org/1999/xhtml","div"),s={thin:"1px",medium:"3px",thick:"5px"},u={borderBottomWidth:s,borderLeftWidth:s,borderRightWidth:s,borderTopWidth:s,fontSize:{"xx-small":"60%","x-small":"75%",small:"89%",medium:"100%",large:"120%","x-large":"150%","xx-large":"200%"},fontWeight:{normal:"400",bold:"700"},outlineWidth:s,textShadow:{none:"0px 0px 0px transparent"},boxShadow:{none:"0px 0px 0px 0px transparent"}};e.convertToArrayForm=i,e.normalizeKeyframes=function(t){if(null==t)return[];window.Symbol&&Symbol.iterator&&Array.prototype.from&&t[Symbol.iterator]&&(t=Array.from(t)),Array.isArray(t)||(t=i(t));for(var n=t.map((function(t){var n={};for(var i in t){var o=t[i];if("offset"==i){if(null!=o){if(o=Number(o),!isFinite(o))throw new TypeError("Keyframe offsets must be numbers.");if(o<0||o>1)throw new TypeError("Keyframe offsets must be between 0 and 1.")}}else if("composite"==i){if("add"==o||"accumulate"==o)throw{type:DOMException.NOT_SUPPORTED_ERR,name:"NotSupportedError",message:"add compositing is not supported"};if("replace"!=o)throw new TypeError("Invalid composite mode "+o+".")}else o="easing"==i?e.normalizeEasing(o):""+o;r(i,o,n)}return null==n.offset&&(n.offset=null),null==n.easing&&(n.easing="linear"),n})),o=!0,a=-1/0,s=0;s<n.length;s++){var u=n[s].offset;if(null!=u){if(u<a)throw new TypeError("Keyframes are not loosely sorted by offset. Sort or specify offsets.");a=u}else o=!1}return n=n.filter((function(e){return e.offset>=0&&e.offset<=1})),o||function(){var e=n.length;null==n[e-1].offset&&(n[e-1].offset=1),e>1&&null==n[0].offset&&(n[0].offset=0);for(var t=0,r=n[0].offset,i=1;i<e;i++){var o=n[i].offset;if(null!=o){for(var a=1;a<i-t;a++)n[t+a].offset=r+(o-r)*a/(i-t);t=i,r=o}}}(),n}}(n),function(e){var t={};e.isDeprecated=function(e,n,r,i){var o=i?"are":"is",a=new Date,s=new Date(n);return s.setMonth(s.getMonth()+3),!(a<s&&(e in t||console.warn("Web Animations: "+e+" "+o+" deprecated and will stop working on "+s.toDateString()+". "+r),t[e]=!0,1))},e.deprecated=function(t,n,r,i){var o=i?"are":"is";if(e.isDeprecated(t,n,r,i))throw new Error(t+" "+o+" no longer supported. "+r)}}(n),function(){if(document.documentElement.animate){var e=document.documentElement.animate([],0),t=!0;if(e&&(t=!1,"play|currentTime|pause|reverse|playbackRate|cancel|finish|startTime|playState".split("|").forEach((function(n){void 0===e[n]&&(t=!0)}))),!t)return}!function(e,t,n){t.convertEffectInput=function(n){var r=function(e){for(var t={},n=0;n<e.length;n++)for(var r in e[n])if("offset"!=r&&"easing"!=r&&"composite"!=r){var i={offset:e[n].offset,easing:e[n].easing,value:e[n][r]};t[r]=t[r]||[],t[r].push(i)}for(var o in t){var a=t[o];if(0!=a[0].offset||1!=a[a.length-1].offset)throw{type:DOMException.NOT_SUPPORTED_ERR,name:"NotSupportedError",message:"Partial keyframes are not supported"}}return t}(e.normalizeKeyframes(n)),i=function(n){var r=[];for(var i in n)for(var o=n[i],a=0;a<o.length-1;a++){var s=a,u=a+1,l=o[s].offset,c=o[u].offset,f=l,d=c;0==a&&(f=-1/0,0==c&&(u=s)),a==o.length-2&&(d=1/0,1==l&&(s=u)),r.push({applyFrom:f,applyTo:d,startOffset:o[s].offset,endOffset:o[u].offset,easingFunction:e.parseEasingFunction(o[s].easing),property:i,interpolation:t.propertyInterpolation(i,o[s].value,o[u].value)})}return r.sort((function(e,t){return e.startOffset-t.startOffset})),r}(r);return function(e,n){if(null!=n)i.filter((function(e){return n>=e.applyFrom&&n<e.applyTo})).forEach((function(r){var i=n-r.startOffset,o=r.endOffset-r.startOffset,a=0==o?0:r.easingFunction(i/o);t.apply(e,r.property,r.interpolation(a))}));else for(var o in r)"offset"!=o&&"easing"!=o&&"composite"!=o&&t.clear(e,o)}}}(n,r),function(e,t,n){function r(e){return e.replace(/-(.)/g,(function(e,t){return t.toUpperCase()}))}function i(e,t,n){o[n]=o[n]||[],o[n].push([e,t])}var o={};t.addPropertiesHandler=function(e,t,n){for(var o=0;o<n.length;o++)i(e,t,r(n[o]))};var a={backgroundColor:"transparent",backgroundPosition:"0% 0%",borderBottomColor:"currentColor",borderBottomLeftRadius:"0px",borderBottomRightRadius:"0px",borderBottomWidth:"3px",borderLeftColor:"currentColor",borderLeftWidth:"3px",borderRightColor:"currentColor",borderRightWidth:"3px",borderSpacing:"2px",borderTopColor:"currentColor",borderTopLeftRadius:"0px",borderTopRightRadius:"0px",borderTopWidth:"3px",bottom:"auto",clip:"rect(0px, 0px, 0px, 0px)",color:"black",fontSize:"100%",fontWeight:"400",height:"auto",left:"auto",letterSpacing:"normal",lineHeight:"120%",marginBottom:"0px",marginLeft:"0px",marginRight:"0px",marginTop:"0px",maxHeight:"none",maxWidth:"none",minHeight:"0px",minWidth:"0px",opacity:"1.0",outlineColor:"invert",outlineOffset:"0px",outlineWidth:"3px",paddingBottom:"0px",paddingLeft:"0px",paddingRight:"0px",paddingTop:"0px",right:"auto",strokeDasharray:"none",strokeDashoffset:"0px",textIndent:"0px",textShadow:"0px 0px 0px transparent",top:"auto",transform:"",verticalAlign:"0px",visibility:"visible",width:"auto",wordSpacing:"normal",zIndex:"auto"};t.propertyInterpolation=function(n,i,s){var u=n;/-/.test(n)&&!e.isDeprecated("Hyphenated property names","2016-03-22","Use camelCase instead.",!0)&&(u=r(n)),"initial"!=i&&"initial"!=s||("initial"==i&&(i=a[u]),"initial"==s&&(s=a[u]));for(var l=i==s?[]:o[u],c=0;l&&c<l.length;c++){var f=l[c][0](i),d=l[c][0](s);if(void 0!==f&&void 0!==d){var h=l[c][1](f,d);if(h){var p=t.Interpolation.apply(null,h);return function(e){return 0==e?i:1==e?s:p(e)}}}}return t.Interpolation(!1,!0,(function(e){return e?s:i}))}}(n,r),function(e,t,n){t.KeyframeEffect=function(n,r,i,o){var a,s=function(t){var n=e.calculateActiveDuration(t),r=function(r){return e.calculateIterationProgress(n,r,t)};return r._totalDuration=t.delay+n+t.endDelay,r}(e.normalizeTimingInput(i)),u=t.convertEffectInput(r),l=function(){u(n,a)};return l._update=function(e){return null!==(a=s(e))},l._clear=function(){u(n,null)},l._hasSameTarget=function(e){return n===e},l._target=n,l._totalDuration=s._totalDuration,l._id=o,l}}(n,r),function(e,t){function n(e,t,n){n.enumerable=!0,n.configurable=!0,Object.defineProperty(e,t,n)}function r(e){this._element=e,this._surrogateStyle=document.createElementNS("http://www.w3.org/1999/xhtml","div").style,this._style=e.style,this._length=0,this._isAnimatedProperty={},this._updateSvgTransformAttr=function(e,t){return!(!t.namespaceURI||-1==t.namespaceURI.indexOf("/svg"))&&(o in e||(e[o]=/Trident|MSIE|IEMobile|Edge|Android 4/i.test(e.navigator.userAgent)),e[o])}(window,e),this._savedTransformAttr=null;for(var t=0;t<this._style.length;t++){var n=this._style[t];this._surrogateStyle[n]=this._style[n]}this._updateIndices()}function i(e){if(!e._webAnimationsPatchedStyle){var t=new r(e);try{n(e,"style",{get:function(){return t}})}catch(t){e.style._set=function(t,n){e.style[t]=n},e.style._clear=function(t){e.style[t]=""}}e._webAnimationsPatchedStyle=e.style}}var o="_webAnimationsUpdateSvgTransformAttr",a={cssText:1,length:1,parentRule:1},s={getPropertyCSSValue:1,getPropertyPriority:1,getPropertyValue:1,item:1,removeProperty:1,setProperty:1},u={removeProperty:1,setProperty:1};for(var l in r.prototype={get cssText(){return this._surrogateStyle.cssText},set cssText(e){for(var t={},n=0;n<this._surrogateStyle.length;n++)t[this._surrogateStyle[n]]=!0;for(this._surrogateStyle.cssText=e,this._updateIndices(),n=0;n<this._surrogateStyle.length;n++)t[this._surrogateStyle[n]]=!0;for(var r in t)this._isAnimatedProperty[r]||this._style.setProperty(r,this._surrogateStyle.getPropertyValue(r))},get length(){return this._surrogateStyle.length},get parentRule(){return this._style.parentRule},_updateIndices:function(){for(;this._length<this._surrogateStyle.length;)Object.defineProperty(this,this._length,{configurable:!0,enumerable:!1,get:function(e){return function(){return this._surrogateStyle[e]}}(this._length)}),this._length++;for(;this._length>this._surrogateStyle.length;)this._length--,Object.defineProperty(this,this._length,{configurable:!0,enumerable:!1,value:void 0})},_set:function(t,n){this._style[t]=n,this._isAnimatedProperty[t]=!0,this._updateSvgTransformAttr&&"transform"==e.unprefixedPropertyName(t)&&(null==this._savedTransformAttr&&(this._savedTransformAttr=this._element.getAttribute("transform")),this._element.setAttribute("transform",e.transformToSvgMatrix(n)))},_clear:function(t){this._style[t]=this._surrogateStyle[t],this._updateSvgTransformAttr&&"transform"==e.unprefixedPropertyName(t)&&(this._savedTransformAttr?this._element.setAttribute("transform",this._savedTransformAttr):this._element.removeAttribute("transform"),this._savedTransformAttr=null),delete this._isAnimatedProperty[t]}},s)r.prototype[l]=function(e,t){return function(){var n=this._surrogateStyle[e].apply(this._surrogateStyle,arguments);return t&&(this._isAnimatedProperty[arguments[0]]||this._style[e].apply(this._style,arguments),this._updateIndices()),n}}(l,l in u);for(var c in document.documentElement.style)c in a||c in s||function(e){n(r.prototype,e,{get:function(){return this._surrogateStyle[e]},set:function(t){this._surrogateStyle[e]=t,this._updateIndices(),this._isAnimatedProperty[e]||(this._style[e]=t)}})}(c);e.apply=function(t,n,r){i(t),t.style._set(e.propertyName(n),r)},e.clear=function(t,n){t._webAnimationsPatchedStyle&&t.style._clear(e.propertyName(n))}}(r),function(e){window.Element.prototype.animate=function(t,n){var r="";return n&&n.id&&(r=n.id),e.timeline._play(e.KeyframeEffect(this,t,n,r))}}(r),function(e,t){e.Interpolation=function(e,t,n){return function(r){return n(function e(t,n,r){if("number"==typeof t&&"number"==typeof n)return t*(1-r)+n*r;if("boolean"==typeof t&&"boolean"==typeof n)return r<.5?t:n;if(t.length==n.length){for(var i=[],o=0;o<t.length;o++)i.push(e(t[o],n[o],r));return i}throw"Mismatched interpolation arguments "+t+":"+n}(e,t,r))}}}(r),function(e,t){var n=function(){function e(e,t){for(var n=[[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0]],r=0;r<4;r++)for(var i=0;i<4;i++)for(var o=0;o<4;o++)n[r][i]+=t[r][o]*e[o][i];return n}return function(t,n,r,i,o){for(var a=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]],s=0;s<4;s++)a[s][3]=o[s];for(s=0;s<3;s++)for(var u=0;u<3;u++)a[3][s]+=t[u]*a[u][s];var l=i[0],c=i[1],f=i[2],d=i[3],h=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]];h[0][0]=1-2*(c*c+f*f),h[0][1]=2*(l*c-f*d),h[0][2]=2*(l*f+c*d),h[1][0]=2*(l*c+f*d),h[1][1]=1-2*(l*l+f*f),h[1][2]=2*(c*f-l*d),h[2][0]=2*(l*f-c*d),h[2][1]=2*(c*f+l*d),h[2][2]=1-2*(l*l+c*c),a=e(a,h);var p=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]];for(r[2]&&(p[2][1]=r[2],a=e(a,p)),r[1]&&(p[2][1]=0,p[2][0]=r[0],a=e(a,p)),r[0]&&(p[2][0]=0,p[1][0]=r[0],a=e(a,p)),s=0;s<3;s++)for(u=0;u<3;u++)a[s][u]*=n[s];return function(e){return 0==e[0][2]&&0==e[0][3]&&0==e[1][2]&&0==e[1][3]&&0==e[2][0]&&0==e[2][1]&&1==e[2][2]&&0==e[2][3]&&0==e[3][2]&&1==e[3][3]}(a)?[a[0][0],a[0][1],a[1][0],a[1][1],a[3][0],a[3][1]]:a[0].concat(a[1],a[2],a[3])}}();e.composeMatrix=n,e.quat=function(t,n,r){var i=e.dot(t,n),o=[];if(1===(i=function(e,t,n){return Math.max(Math.min(e,n),t)}(i,-1,1)))o=t;else for(var a=Math.acos(i),s=1*Math.sin(r*a)/Math.sqrt(1-i*i),u=0;u<4;u++)o.push(t[u]*(Math.cos(r*a)-i*s)+n[u]*s);return o}}(r),function(e,t,n){e.sequenceNumber=0;var r=function(e,t,n){this.target=e,this.currentTime=t,this.timelineTime=n,this.type="finish",this.bubbles=!1,this.cancelable=!1,this.currentTarget=e,this.defaultPrevented=!1,this.eventPhase=Event.AT_TARGET,this.timeStamp=Date.now()};t.Animation=function(t){this.id="",t&&t._id&&(this.id=t._id),this._sequenceNumber=e.sequenceNumber++,this._currentTime=0,this._startTime=null,this._paused=!1,this._playbackRate=1,this._inTimeline=!0,this._finishedFlag=!0,this.onfinish=null,this._finishHandlers=[],this._effect=t,this._inEffect=this._effect._update(0),this._idle=!0,this._currentTimePending=!1},t.Animation.prototype={_ensureAlive:function(){this.playbackRate<0&&0===this.currentTime?this._inEffect=this._effect._update(-1):this._inEffect=this._effect._update(this.currentTime),this._inTimeline||!this._inEffect&&this._finishedFlag||(this._inTimeline=!0,t.timeline._animations.push(this))},_tickCurrentTime:function(e,t){e!=this._currentTime&&(this._currentTime=e,this._isFinished&&!t&&(this._currentTime=this._playbackRate>0?this._totalDuration:0),this._ensureAlive())},get currentTime(){return this._idle||this._currentTimePending?null:this._currentTime},set currentTime(e){e=+e,isNaN(e)||(t.restart(),this._paused||null==this._startTime||(this._startTime=this._timeline.currentTime-e/this._playbackRate),this._currentTimePending=!1,this._currentTime!=e&&(this._idle&&(this._idle=!1,this._paused=!0),this._tickCurrentTime(e,!0),t.applyDirtiedAnimation(this)))},get startTime(){return this._startTime},set startTime(e){e=+e,isNaN(e)||this._paused||this._idle||(this._startTime=e,this._tickCurrentTime((this._timeline.currentTime-this._startTime)*this.playbackRate),t.applyDirtiedAnimation(this))},get playbackRate(){return this._playbackRate},set playbackRate(e){if(e!=this._playbackRate){var n=this.currentTime;this._playbackRate=e,this._startTime=null,"paused"!=this.playState&&"idle"!=this.playState&&(this._finishedFlag=!1,this._idle=!1,this._ensureAlive(),t.applyDirtiedAnimation(this)),null!=n&&(this.currentTime=n)}},get _isFinished(){return!this._idle&&(this._playbackRate>0&&this._currentTime>=this._totalDuration||this._playbackRate<0&&this._currentTime<=0)},get _totalDuration(){return this._effect._totalDuration},get playState(){return this._idle?"idle":null==this._startTime&&!this._paused&&0!=this.playbackRate||this._currentTimePending?"pending":this._paused?"paused":this._isFinished?"finished":"running"},_rewind:function(){if(this._playbackRate>=0)this._currentTime=0;else{if(!(this._totalDuration<1/0))throw new DOMException("Unable to rewind negative playback rate animation with infinite duration","InvalidStateError");this._currentTime=this._totalDuration}},play:function(){this._paused=!1,(this._isFinished||this._idle)&&(this._rewind(),this._startTime=null),this._finishedFlag=!1,this._idle=!1,this._ensureAlive(),t.applyDirtiedAnimation(this)},pause:function(){this._isFinished||this._paused||this._idle?this._idle&&(this._rewind(),this._idle=!1):this._currentTimePending=!0,this._startTime=null,this._paused=!0},finish:function(){this._idle||(this.currentTime=this._playbackRate>0?this._totalDuration:0,this._startTime=this._totalDuration-this.currentTime,this._currentTimePending=!1,t.applyDirtiedAnimation(this))},cancel:function(){this._inEffect&&(this._inEffect=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._startTime=null,this._effect._update(null),t.applyDirtiedAnimation(this))},reverse:function(){this.playbackRate*=-1,this.play()},addEventListener:function(e,t){"function"==typeof t&&"finish"==e&&this._finishHandlers.push(t)},removeEventListener:function(e,t){if("finish"==e){var n=this._finishHandlers.indexOf(t);n>=0&&this._finishHandlers.splice(n,1)}},_fireEvents:function(e){if(this._isFinished){if(!this._finishedFlag){var t=new r(this,this._currentTime,e),n=this._finishHandlers.concat(this.onfinish?[this.onfinish]:[]);setTimeout((function(){n.forEach((function(e){e.call(t.target,t)}))}),0),this._finishedFlag=!0}}else this._finishedFlag=!1},_tick:function(e,t){this._idle||this._paused||(null==this._startTime?t&&(this.startTime=e-this._currentTime/this.playbackRate):this._isFinished||this._tickCurrentTime((e-this._startTime)*this.playbackRate)),t&&(this._currentTimePending=!1,this._fireEvents(e))},get _needsTick(){return this.playState in{pending:1,running:1}||!this._finishedFlag},_targetAnimations:function(){var e=this._effect._target;return e._activeAnimations||(e._activeAnimations=[]),e._activeAnimations},_markTarget:function(){var e=this._targetAnimations();-1===e.indexOf(this)&&e.push(this)},_unmarkTarget:function(){var e=this._targetAnimations(),t=e.indexOf(this);-1!==t&&e.splice(t,1)}}}(n,r),function(e,t,n){function r(e){var t=l;l=[],e<m.currentTime&&(e=m.currentTime),m._animations.sort(i),m._animations=s(e,!0,m._animations)[0],t.forEach((function(t){t[1](e)})),a()}function i(e,t){return e._sequenceNumber-t._sequenceNumber}function o(){this._animations=[],this.currentTime=window.performance&&performance.now?performance.now():0}function a(){h.forEach((function(e){e()})),h.length=0}function s(e,n,r){p=!0,d=!1,t.timeline.currentTime=e,f=!1;var i=[],o=[],a=[],s=[];return r.forEach((function(t){t._tick(e,n),t._inEffect?(o.push(t._effect),t._markTarget()):(i.push(t._effect),t._unmarkTarget()),t._needsTick&&(f=!0);var r=t._inEffect||t._needsTick;t._inTimeline=r,r?a.push(t):s.push(t)})),h.push.apply(h,i),h.push.apply(h,o),f&&requestAnimationFrame((function(){})),p=!1,[a,s]}var u=window.requestAnimationFrame,l=[],c=0;window.requestAnimationFrame=function(e){var t=c++;return 0==l.length&&u(r),l.push([t,e]),t},window.cancelAnimationFrame=function(e){l.forEach((function(t){t[0]==e&&(t[1]=function(){})}))},o.prototype={_play:function(n){n._timing=e.normalizeTimingInput(n.timing);var r=new t.Animation(n);return r._idle=!1,r._timeline=this,this._animations.push(r),t.restart(),t.applyDirtiedAnimation(r),r}};var f=!1,d=!1;t.restart=function(){return f||(f=!0,requestAnimationFrame((function(){})),d=!0),d},t.applyDirtiedAnimation=function(e){if(!p){e._markTarget();var n=e._targetAnimations();n.sort(i),s(t.timeline.currentTime,!1,n.slice())[1].forEach((function(e){var t=m._animations.indexOf(e);-1!==t&&m._animations.splice(t,1)})),a()}};var h=[],p=!1,m=new o;t.timeline=m}(n,r),function(e,t){function n(e,t){for(var n=0,r=0;r<e.length;r++)n+=e[r]*t[r];return n}function r(e,t){return[e[0]*t[0]+e[4]*t[1]+e[8]*t[2]+e[12]*t[3],e[1]*t[0]+e[5]*t[1]+e[9]*t[2]+e[13]*t[3],e[2]*t[0]+e[6]*t[1]+e[10]*t[2]+e[14]*t[3],e[3]*t[0]+e[7]*t[1]+e[11]*t[2]+e[15]*t[3],e[0]*t[4]+e[4]*t[5]+e[8]*t[6]+e[12]*t[7],e[1]*t[4]+e[5]*t[5]+e[9]*t[6]+e[13]*t[7],e[2]*t[4]+e[6]*t[5]+e[10]*t[6]+e[14]*t[7],e[3]*t[4]+e[7]*t[5]+e[11]*t[6]+e[15]*t[7],e[0]*t[8]+e[4]*t[9]+e[8]*t[10]+e[12]*t[11],e[1]*t[8]+e[5]*t[9]+e[9]*t[10]+e[13]*t[11],e[2]*t[8]+e[6]*t[9]+e[10]*t[10]+e[14]*t[11],e[3]*t[8]+e[7]*t[9]+e[11]*t[10]+e[15]*t[11],e[0]*t[12]+e[4]*t[13]+e[8]*t[14]+e[12]*t[15],e[1]*t[12]+e[5]*t[13]+e[9]*t[14]+e[13]*t[15],e[2]*t[12]+e[6]*t[13]+e[10]*t[14]+e[14]*t[15],e[3]*t[12]+e[7]*t[13]+e[11]*t[14]+e[15]*t[15]]}function i(e){var t=e.rad||0;return((e.deg||0)/360+(e.grad||0)/400+(e.turn||0))*(2*Math.PI)+t}function o(e){switch(e.t){case"rotatex":var t=i(e.d[0]);return[1,0,0,0,0,Math.cos(t),Math.sin(t),0,0,-Math.sin(t),Math.cos(t),0,0,0,0,1];case"rotatey":return t=i(e.d[0]),[Math.cos(t),0,-Math.sin(t),0,0,1,0,0,Math.sin(t),0,Math.cos(t),0,0,0,0,1];case"rotate":case"rotatez":return t=i(e.d[0]),[Math.cos(t),Math.sin(t),0,0,-Math.sin(t),Math.cos(t),0,0,0,0,1,0,0,0,0,1];case"rotate3d":var n=e.d[0],r=e.d[1],o=e.d[2],a=(t=i(e.d[3]),n*n+r*r+o*o);if(0===a)n=1,r=0,o=0;else if(1!==a){var s=Math.sqrt(a);n/=s,r/=s,o/=s}var u=Math.sin(t/2),l=u*Math.cos(t/2),c=u*u;return[1-2*(r*r+o*o)*c,2*(n*r*c+o*l),2*(n*o*c-r*l),0,2*(n*r*c-o*l),1-2*(n*n+o*o)*c,2*(r*o*c+n*l),0,2*(n*o*c+r*l),2*(r*o*c-n*l),1-2*(n*n+r*r)*c,0,0,0,0,1];case"scale":return[e.d[0],0,0,0,0,e.d[1],0,0,0,0,1,0,0,0,0,1];case"scalex":return[e.d[0],0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];case"scaley":return[1,0,0,0,0,e.d[0],0,0,0,0,1,0,0,0,0,1];case"scalez":return[1,0,0,0,0,1,0,0,0,0,e.d[0],0,0,0,0,1];case"scale3d":return[e.d[0],0,0,0,0,e.d[1],0,0,0,0,e.d[2],0,0,0,0,1];case"skew":var f=i(e.d[0]),d=i(e.d[1]);return[1,Math.tan(d),0,0,Math.tan(f),1,0,0,0,0,1,0,0,0,0,1];case"skewx":return t=i(e.d[0]),[1,0,0,0,Math.tan(t),1,0,0,0,0,1,0,0,0,0,1];case"skewy":return t=i(e.d[0]),[1,Math.tan(t),0,0,0,1,0,0,0,0,1,0,0,0,0,1];case"translate":return[1,0,0,0,0,1,0,0,0,0,1,0,n=e.d[0].px||0,r=e.d[1].px||0,0,1];case"translatex":return[1,0,0,0,0,1,0,0,0,0,1,0,n=e.d[0].px||0,0,0,1];case"translatey":return[1,0,0,0,0,1,0,0,0,0,1,0,0,r=e.d[0].px||0,0,1];case"translatez":return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,o=e.d[0].px||0,1];case"translate3d":return[1,0,0,0,0,1,0,0,0,0,1,0,n=e.d[0].px||0,r=e.d[1].px||0,o=e.d[2].px||0,1];case"perspective":return[1,0,0,0,0,1,0,0,0,0,1,e.d[0].px?-1/e.d[0].px:0,0,0,0,1];case"matrix":return[e.d[0],e.d[1],0,0,e.d[2],e.d[3],0,0,0,0,1,0,e.d[4],e.d[5],0,1];case"matrix3d":return e.d}}function a(e){return 0===e.length?[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]:e.map(o).reduce(r)}var s=function(){function e(e){return e[0][0]*e[1][1]*e[2][2]+e[1][0]*e[2][1]*e[0][2]+e[2][0]*e[0][1]*e[1][2]-e[0][2]*e[1][1]*e[2][0]-e[1][2]*e[2][1]*e[0][0]-e[2][2]*e[0][1]*e[1][0]}function t(e){var t=r(e);return[e[0]/t,e[1]/t,e[2]/t]}function r(e){return Math.sqrt(e[0]*e[0]+e[1]*e[1]+e[2]*e[2])}function i(e,t,n,r){return[n*e[0]+r*t[0],n*e[1]+r*t[1],n*e[2]+r*t[2]]}return function(o){var a=[o.slice(0,4),o.slice(4,8),o.slice(8,12),o.slice(12,16)];if(1!==a[3][3])return null;for(var s=[],u=0;u<4;u++)s.push(a[u].slice());for(u=0;u<3;u++)s[u][3]=0;if(0===e(s))return null;var l,c=[];a[0][3]||a[1][3]||a[2][3]?(c.push(a[0][3]),c.push(a[1][3]),c.push(a[2][3]),c.push(a[3][3]),l=function(e,t){for(var n=[],r=0;r<4;r++){for(var i=0,o=0;o<4;o++)i+=e[o]*t[o][r];n.push(i)}return n}(c,function(e){return[[e[0][0],e[1][0],e[2][0],e[3][0]],[e[0][1],e[1][1],e[2][1],e[3][1]],[e[0][2],e[1][2],e[2][2],e[3][2]],[e[0][3],e[1][3],e[2][3],e[3][3]]]}(function(t){for(var n=1/e(t),r=t[0][0],i=t[0][1],o=t[0][2],a=t[1][0],s=t[1][1],u=t[1][2],l=t[2][0],c=t[2][1],f=t[2][2],d=[[(s*f-u*c)*n,(o*c-i*f)*n,(i*u-o*s)*n,0],[(u*l-a*f)*n,(r*f-o*l)*n,(o*a-r*u)*n,0],[(a*c-s*l)*n,(l*i-r*c)*n,(r*s-i*a)*n,0]],h=[],p=0;p<3;p++){for(var m=0,g=0;g<3;g++)m+=t[3][g]*d[g][p];h.push(m)}return h.push(1),d.push(h),d}(s)))):l=[0,0,0,1];var f=a[3].slice(0,3),d=[];d.push(a[0].slice(0,3));var h=[];h.push(r(d[0])),d[0]=t(d[0]);var p=[];d.push(a[1].slice(0,3)),p.push(n(d[0],d[1])),d[1]=i(d[1],d[0],1,-p[0]),h.push(r(d[1])),d[1]=t(d[1]),p[0]/=h[1],d.push(a[2].slice(0,3)),p.push(n(d[0],d[2])),d[2]=i(d[2],d[0],1,-p[1]),p.push(n(d[1],d[2])),d[2]=i(d[2],d[1],1,-p[2]),h.push(r(d[2])),d[2]=t(d[2]),p[1]/=h[2],p[2]/=h[2];var m=function(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]}(d[1],d[2]);if(n(d[0],m)<0)for(u=0;u<3;u++)h[u]*=-1,d[u][0]*=-1,d[u][1]*=-1,d[u][2]*=-1;var g,v,b=d[0][0]+d[1][1]+d[2][2]+1;return b>1e-4?(g=.5/Math.sqrt(b),v=[(d[2][1]-d[1][2])*g,(d[0][2]-d[2][0])*g,(d[1][0]-d[0][1])*g,.25/g]):d[0][0]>d[1][1]&&d[0][0]>d[2][2]?v=[.25*(g=2*Math.sqrt(1+d[0][0]-d[1][1]-d[2][2])),(d[0][1]+d[1][0])/g,(d[0][2]+d[2][0])/g,(d[2][1]-d[1][2])/g]:d[1][1]>d[2][2]?(g=2*Math.sqrt(1+d[1][1]-d[0][0]-d[2][2]),v=[(d[0][1]+d[1][0])/g,.25*g,(d[1][2]+d[2][1])/g,(d[0][2]-d[2][0])/g]):(g=2*Math.sqrt(1+d[2][2]-d[0][0]-d[1][1]),v=[(d[0][2]+d[2][0])/g,(d[1][2]+d[2][1])/g,.25*g,(d[1][0]-d[0][1])/g]),[f,h,p,v,l]}}();e.dot=n,e.makeMatrixDecomposition=function(e){return[s(a(e))]},e.transformListToMatrix=a}(r),function(e){function t(e,t){var n=e.exec(t);if(n)return[n=e.ignoreCase?n[0].toLowerCase():n[0],t.substr(n.length)]}function n(e,t){var n=e(t=t.replace(/^\s*/,""));if(n)return[n[0],n[1].replace(/^\s*/,"")]}function r(e,t,n,r,i){for(var o=[],a=[],s=[],u=function(e,t){for(var n=e,r=t;n&&r;)n>r?n%=r:r%=n;return e*t/(n+r)}(r.length,i.length),l=0;l<u;l++){var c=t(r[l%r.length],i[l%i.length]);if(!c)return;o.push(c[0]),a.push(c[1]),s.push(c[2])}return[o,a,function(t){var r=t.map((function(e,t){return s[t](e)})).join(n);return e?e(r):r}]}e.consumeToken=t,e.consumeTrimmed=n,e.consumeRepeated=function(e,r,i){e=n.bind(null,e);for(var o=[];;){var a=e(i);if(!a)return[o,i];if(o.push(a[0]),!(a=t(r,i=a[1]))||""==a[1])return[o,i];i=a[1]}},e.consumeParenthesised=function(e,t){for(var n=0,r=0;r<t.length&&(!/\s|,/.test(t[r])||0!=n);r++)if("("==t[r])n++;else if(")"==t[r]&&(0==--n&&r++,n<=0))break;var i=e(t.substr(0,r));return null==i?void 0:[i,t.substr(r)]},e.ignore=function(e){return function(t){var n=e(t);return n&&(n[0]=void 0),n}},e.optional=function(e,t){return function(n){return e(n)||[t,n]}},e.consumeList=function(t,n){for(var r=[],i=0;i<t.length;i++){var o=e.consumeTrimmed(t[i],n);if(!o||""==o[0])return;void 0!==o[0]&&r.push(o[0]),n=o[1]}if(""==n)return r},e.mergeNestedRepeated=r.bind(null,null),e.mergeWrappedNestedRepeated=r,e.mergeList=function(e,t,n){for(var r=[],i=[],o=[],a=0,s=0;s<n.length;s++)if("function"==typeof n[s]){var u=n[s](e[a],t[a++]);r.push(u[0]),i.push(u[1]),o.push(u[2])}else!function(e){r.push(!1),i.push(!1),o.push((function(){return n[e]}))}(s);return[r,i,function(e){for(var t="",n=0;n<e.length;n++)t+=o[n](e[n]);return t}]}}(r),function(e){function t(t){var n={inset:!1,lengths:[],color:null},r=e.consumeRepeated((function(t){var r=e.consumeToken(/^inset/i,t);return r?(n.inset=!0,r):(r=e.consumeLengthOrPercent(t))?(n.lengths.push(r[0]),r):(r=e.consumeColor(t))?(n.color=r[0],r):void 0}),/^/,t);if(r&&r[0].length)return[n,r[1]]}var n=function(t,n,r,i){function o(e){return{inset:e,color:[0,0,0,0],lengths:[{px:0},{px:0},{px:0},{px:0}]}}for(var a=[],s=[],u=0;u<r.length||u<i.length;u++){var l=r[u]||o(i[u].inset),c=i[u]||o(r[u].inset);a.push(l),s.push(c)}return e.mergeNestedRepeated(t,n,a,s)}.bind(null,(function(t,n){for(;t.lengths.length<Math.max(t.lengths.length,n.lengths.length);)t.lengths.push({px:0});for(;n.lengths.length<Math.max(t.lengths.length,n.lengths.length);)n.lengths.push({px:0});if(t.inset==n.inset&&!!t.color==!!n.color){for(var r,i=[],o=[[],0],a=[[],0],s=0;s<t.lengths.length;s++){var u=e.mergeDimensions(t.lengths[s],n.lengths[s],2==s);o[0].push(u[0]),a[0].push(u[1]),i.push(u[2])}if(t.color&&n.color){var l=e.mergeColors(t.color,n.color);o[1]=l[0],a[1]=l[1],r=l[2]}return[o,a,function(e){for(var n=t.inset?"inset ":" ",o=0;o<i.length;o++)n+=i[o](e[0][o])+" ";return r&&(n+=r(e[1])),n}]}}),", ");e.addPropertiesHandler((function(n){var r=e.consumeRepeated(t,/^,/,n);if(r&&""==r[1])return r[0]}),n,["box-shadow","text-shadow"])}(r),function(e,t){function n(e){return e.toFixed(3).replace(/0+$/,"").replace(/\.$/,"")}function r(e,t,n){return Math.min(t,Math.max(e,n))}function i(e){if(/^\s*[-+]?(\d*\.)?\d+\s*$/.test(e))return Number(e)}function o(e,t){return function(i,o){return[i,o,function(i){return n(r(e,t,i))}]}}function a(e){var t=e.trim().split(/\s*[\s,]\s*/);if(0!==t.length){for(var n=[],r=0;r<t.length;r++){var o=i(t[r]);if(void 0===o)return;n.push(o)}return n}}e.clamp=r,e.addPropertiesHandler(a,(function(e,t){if(e.length==t.length)return[e,t,function(e){return e.map(n).join(" ")}]}),["stroke-dasharray"]),e.addPropertiesHandler(i,o(0,1/0),["border-image-width","line-height"]),e.addPropertiesHandler(i,o(0,1),["opacity","shape-image-threshold"]),e.addPropertiesHandler(i,(function(e,t){if(0!=e)return o(0,1/0)(e,t)}),["flex-grow","flex-shrink"]),e.addPropertiesHandler(i,(function(e,t){return[e,t,function(e){return Math.round(r(1,1/0,e))}]}),["orphans","widows"]),e.addPropertiesHandler(i,(function(e,t){return[e,t,Math.round]}),["z-index"]),e.parseNumber=i,e.parseNumberList=a,e.mergeNumbers=function(e,t){return[e,t,n]},e.numberToString=n}(r),function(e,t){e.addPropertiesHandler(String,(function(e,t){if("visible"==e||"visible"==t)return[0,1,function(n){return n<=0?e:n>=1?t:"visible"}]}),["visibility"])}(r),function(e,t){function n(e){e=e.trim(),o.fillStyle="#000",o.fillStyle=e;var t=o.fillStyle;if(o.fillStyle="#fff",o.fillStyle=e,t==o.fillStyle){o.fillRect(0,0,1,1);var n=o.getImageData(0,0,1,1).data;o.clearRect(0,0,1,1);var r=n[3]/255;return[n[0]*r,n[1]*r,n[2]*r,r]}}function r(t,n){return[t,n,function(t){function n(e){return Math.max(0,Math.min(255,e))}if(t[3])for(var r=0;r<3;r++)t[r]=Math.round(n(t[r]/t[3]));return t[3]=e.numberToString(e.clamp(0,1,t[3])),"rgba("+t.join(",")+")"}]}var i=document.createElementNS("http://www.w3.org/1999/xhtml","canvas");i.width=i.height=1;var o=i.getContext("2d");e.addPropertiesHandler(n,r,["background-color","border-bottom-color","border-left-color","border-right-color","border-top-color","color","fill","flood-color","lighting-color","outline-color","stop-color","stroke","text-decoration-color"]),e.consumeColor=e.consumeParenthesised.bind(null,n),e.mergeColors=r}(r),function(e,t){function n(e){function t(){var t=a.exec(e);o=t?t[0]:void 0}function n(){if("("!==o)return function(){var e=Number(o);return t(),e}();t();var e=i();return")"!==o?NaN:(t(),e)}function r(){for(var e=n();"*"===o||"/"===o;){var r=o;t();var i=n();"*"===r?e*=i:e/=i}return e}function i(){for(var e=r();"+"===o||"-"===o;){var n=o;t();var i=r();"+"===n?e+=i:e-=i}return e}var o,a=/([\+\-\w\.]+|[\(\)\*\/])/g;return t(),i()}function r(e,t){if("0"==(t=t.trim().toLowerCase())&&"px".search(e)>=0)return{px:0};if(/^[^(]*$|^calc/.test(t)){t=t.replace(/calc\(/g,"(");var r={};t=t.replace(e,(function(e){return r[e]=null,"U"+e}));for(var i="U("+e.source+")",o=t.replace(/[-+]?(\d*\.)?\d+([Ee][-+]?\d+)?/g,"N").replace(new RegExp("N"+i,"g"),"D").replace(/\s[+-]\s/g,"O").replace(/\s/g,""),a=[/N\*(D)/g,/(N|D)[*\/]N/g,/(N|D)O\1/g,/\((N|D)\)/g],s=0;s<a.length;)a[s].test(o)?(o=o.replace(a[s],"$1"),s=0):s++;if("D"==o){for(var u in r){var l=n(t.replace(new RegExp("U"+u,"g"),"").replace(new RegExp(i,"g"),"*0"));if(!isFinite(l))return;r[u]=l}return r}}}function i(e,t){return o(e,t,!0)}function o(t,n,r){var i,o=[];for(i in t)o.push(i);for(i in n)o.indexOf(i)<0&&o.push(i);return t=o.map((function(e){return t[e]||0})),n=o.map((function(e){return n[e]||0})),[t,n,function(t){var n=t.map((function(n,i){return 1==t.length&&r&&(n=Math.max(n,0)),e.numberToString(n)+o[i]})).join(" + ");return t.length>1?"calc("+n+")":n}]}var a="px|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc",s=r.bind(null,new RegExp(a,"g")),u=r.bind(null,new RegExp(a+"|%","g")),l=r.bind(null,/deg|rad|grad|turn/g);e.parseLength=s,e.parseLengthOrPercent=u,e.consumeLengthOrPercent=e.consumeParenthesised.bind(null,u),e.parseAngle=l,e.mergeDimensions=o;var c=e.consumeParenthesised.bind(null,s),f=e.consumeRepeated.bind(void 0,c,/^/),d=e.consumeRepeated.bind(void 0,f,/^,/);e.consumeSizePairList=d;var h=e.mergeNestedRepeated.bind(void 0,i," "),p=e.mergeNestedRepeated.bind(void 0,h,",");e.mergeNonNegativeSizePair=h,e.addPropertiesHandler((function(e){var t=d(e);if(t&&""==t[1])return t[0]}),p,["background-size"]),e.addPropertiesHandler(u,i,["border-bottom-width","border-image-width","border-left-width","border-right-width","border-top-width","flex-basis","font-size","height","line-height","max-height","max-width","outline-width","width"]),e.addPropertiesHandler(u,o,["border-bottom-left-radius","border-bottom-right-radius","border-top-left-radius","border-top-right-radius","bottom","left","letter-spacing","margin-bottom","margin-left","margin-right","margin-top","min-height","min-width","outline-offset","padding-bottom","padding-left","padding-right","padding-top","perspective","right","shape-margin","stroke-dashoffset","text-indent","top","vertical-align","word-spacing"])}(r),function(e,t){function n(t){return e.consumeLengthOrPercent(t)||e.consumeToken(/^auto/,t)}function r(t){var r=e.consumeList([e.ignore(e.consumeToken.bind(null,/^rect/)),e.ignore(e.consumeToken.bind(null,/^\(/)),e.consumeRepeated.bind(null,n,/^,/),e.ignore(e.consumeToken.bind(null,/^\)/))],t);if(r&&4==r[0].length)return r[0]}var i=e.mergeWrappedNestedRepeated.bind(null,(function(e){return"rect("+e+")"}),(function(t,n){return"auto"==t||"auto"==n?[!0,!1,function(r){var i=r?t:n;if("auto"==i)return"auto";var o=e.mergeDimensions(i,i);return o[2](o[0])}]:e.mergeDimensions(t,n)}),", ");e.parseBox=r,e.mergeBoxes=i,e.addPropertiesHandler(r,i,["clip"])}(r),function(e,t){function n(e){return function(t){var n=0;return e.map((function(e){return e===l?t[n++]:e}))}}function r(e){return e}function i(t){if("none"==(t=t.toLowerCase().trim()))return[];for(var n,r=/\s*(\w+)\(([^)]*)\)/g,i=[],o=0;n=r.exec(t);){if(n.index!=o)return;o=n.index+n[0].length;var a=n[1],s=d[a];if(!s)return;var u=n[2].split(","),l=s[0];if(l.length<u.length)return;for(var h=[],p=0;p<l.length;p++){var m,g=u[p],v=l[p];if(void 0===(m=g?{A:function(t){return"0"==t.trim()?f:e.parseAngle(t)},N:e.parseNumber,T:e.parseLengthOrPercent,L:e.parseLength}[v.toUpperCase()](g):{a:f,n:h[0],t:c}[v]))return;h.push(m)}if(i.push({t:a,d:h}),r.lastIndex==t.length)return i}}function o(e){return e.toFixed(6).replace(".000000","")}function a(t,n){if(t.decompositionPair!==n){t.decompositionPair=n;var r=e.makeMatrixDecomposition(t)}if(n.decompositionPair!==t){n.decompositionPair=t;var i=e.makeMatrixDecomposition(n)}return null==r[0]||null==i[0]?[[!1],[!0],function(e){return e?n[0].d:t[0].d}]:(r[0].push(0),i[0].push(1),[r,i,function(t){var n=e.quat(r[0][3],i[0][3],t[5]);return e.composeMatrix(t[0],t[1],t[2],n,t[4]).map(o).join(",")}])}function s(e){return e.replace(/[xy]/,"")}function u(e){return e.replace(/(x|y|z|3d)?$/,"3d")}var l=null,c={px:0},f={deg:0},d={matrix:["NNNNNN",[l,l,0,0,l,l,0,0,0,0,1,0,l,l,0,1],r],matrix3d:["NNNNNNNNNNNNNNNN",r],rotate:["A"],rotatex:["A"],rotatey:["A"],rotatez:["A"],rotate3d:["NNNA"],perspective:["L"],scale:["Nn",n([l,l,1]),r],scalex:["N",n([l,1,1]),n([l,1])],scaley:["N",n([1,l,1]),n([1,l])],scalez:["N",n([1,1,l])],scale3d:["NNN",r],skew:["Aa",null,r],skewx:["A",null,n([l,f])],skewy:["A",null,n([f,l])],translate:["Tt",n([l,l,c]),r],translatex:["T",n([l,c,c]),n([l,c])],translatey:["T",n([c,l,c]),n([c,l])],translatez:["L",n([c,c,l])],translate3d:["TTL",r]};e.addPropertiesHandler(i,(function(t,n){var r=e.makeMatrixDecomposition&&!0,i=!1;if(!t.length||!n.length){t.length||(i=!0,t=n,n=[]);for(var o=0;o<t.length;o++){var l=t[o].t,c=t[o].d,f="scale"==l.substr(0,5)?1:0;n.push({t:l,d:c.map((function(e){if("number"==typeof e)return f;var t={};for(var n in e)t[n]=f;return t}))})}}var h=function(e,t){return"perspective"==e&&"perspective"==t||("matrix"==e||"matrix3d"==e)&&("matrix"==t||"matrix3d"==t)},p=[],m=[],g=[];if(t.length!=n.length){if(!r)return;p=[(x=a(t,n))[0]],m=[x[1]],g=[["matrix",[x[2]]]]}else for(o=0;o<t.length;o++){var v=t[o].t,b=n[o].t,_=t[o].d,y=n[o].d,T=d[v],E=d[b];if(h(v,b)){if(!r)return;var x=a([t[o]],[n[o]]);p.push(x[0]),m.push(x[1]),g.push(["matrix",[x[2]]])}else{if(v==b)l=v;else if(T[2]&&E[2]&&s(v)==s(b))l=s(v),_=T[2](_),y=E[2](y);else{if(!T[1]||!E[1]||u(v)!=u(b)){if(!r)return;p=[(x=a(t,n))[0]],m=[x[1]],g=[["matrix",[x[2]]]];break}l=u(v),_=T[1](_),y=E[1](y)}for(var w=[],S=[],N=[],k=0;k<_.length;k++)x=("number"==typeof _[k]?e.mergeNumbers:e.mergeDimensions)(_[k],y[k]),w[k]=x[0],S[k]=x[1],N.push(x[2]);p.push(w),m.push(S),g.push([l,N])}}if(i){var A=p;p=m,m=A}return[p,m,function(e){return e.map((function(e,t){var n=e.map((function(e,n){return g[t][1][n](e)})).join(",");return"matrix"==g[t][0]&&16==n.split(",").length&&(g[t][0]="matrix3d"),g[t][0]+"("+n+")"})).join(" ")}]}),["transform"]),e.transformToSvgMatrix=function(t){var n=e.transformListToMatrix(i(t));return"matrix("+o(n[0])+" "+o(n[1])+" "+o(n[4])+" "+o(n[5])+" "+o(n[12])+" "+o(n[13])+")"}}(r),function(e){function t(t){return t=100*Math.round(t/100),400===(t=e.clamp(100,900,t))?"normal":700===t?"bold":String(t)}e.addPropertiesHandler((function(e){var t=Number(e);if(!(isNaN(t)||t<100||t>900||t%100!=0))return t}),(function(e,n){return[e,n,t]}),["font-weight"])}(r),function(e){function t(e){var t={};for(var n in e)t[n]=-e[n];return t}function n(t){return e.consumeToken(/^(left|center|right|top|bottom)\b/i,t)||e.consumeLengthOrPercent(t)}function r(t,r){var i=e.consumeRepeated(n,/^/,r);if(i&&""==i[1]){var a=i[0];if(a[0]=a[0]||"center",a[1]=a[1]||"center",3==t&&(a[2]=a[2]||{px:0}),a.length==t){if(/top|bottom/.test(a[0])||/left|right/.test(a[1])){var s=a[0];a[0]=a[1],a[1]=s}if(/left|right|center|Object/.test(a[0])&&/top|bottom|center|Object/.test(a[1]))return a.map((function(e){return"object"==typeof e?e:o[e]}))}}}function i(r){var i=e.consumeRepeated(n,/^/,r);if(i){for(var a=i[0],s=[{"%":50},{"%":50}],u=0,l=!1,c=0;c<a.length;c++){var f=a[c];"string"==typeof f?(l=/bottom|right/.test(f),s[u={left:0,right:0,center:u,top:1,bottom:1}[f]]=o[f],"center"==f&&u++):(l&&((f=t(f))["%"]=(f["%"]||0)+100),s[u]=f,u++,l=!1)}return[s,i[1]]}}var o={left:{"%":0},center:{"%":50},right:{"%":100},top:{"%":0},bottom:{"%":100}},a=e.mergeNestedRepeated.bind(null,e.mergeDimensions," ");e.addPropertiesHandler(r.bind(null,3),a,["transform-origin"]),e.addPropertiesHandler(r.bind(null,2),a,["perspective-origin"]),e.consumePosition=i,e.mergeOffsetList=a;var s=e.mergeNestedRepeated.bind(null,a,", ");e.addPropertiesHandler((function(t){var n=e.consumeRepeated(i,/^,/,t);if(n&&""==n[1])return n[0]}),s,["background-position","object-position"])}(r),function(e){var t=e.consumeParenthesised.bind(null,e.parseLengthOrPercent),n=e.consumeRepeated.bind(void 0,t,/^/),r=e.mergeNestedRepeated.bind(void 0,e.mergeDimensions," "),i=e.mergeNestedRepeated.bind(void 0,r,",");e.addPropertiesHandler((function(r){var i=e.consumeToken(/^circle/,r);if(i&&i[0])return["circle"].concat(e.consumeList([e.ignore(e.consumeToken.bind(void 0,/^\(/)),t,e.ignore(e.consumeToken.bind(void 0,/^at/)),e.consumePosition,e.ignore(e.consumeToken.bind(void 0,/^\)/))],i[1]));var o=e.consumeToken(/^ellipse/,r);if(o&&o[0])return["ellipse"].concat(e.consumeList([e.ignore(e.consumeToken.bind(void 0,/^\(/)),n,e.ignore(e.consumeToken.bind(void 0,/^at/)),e.consumePosition,e.ignore(e.consumeToken.bind(void 0,/^\)/))],o[1]));var a=e.consumeToken(/^polygon/,r);return a&&a[0]?["polygon"].concat(e.consumeList([e.ignore(e.consumeToken.bind(void 0,/^\(/)),e.optional(e.consumeToken.bind(void 0,/^nonzero\s*,|^evenodd\s*,/),"nonzero,"),e.consumeSizePairList,e.ignore(e.consumeToken.bind(void 0,/^\)/))],a[1])):void 0}),(function(t,n){if(t[0]===n[0])return"circle"==t[0]?e.mergeList(t.slice(1),n.slice(1),["circle(",e.mergeDimensions," at ",e.mergeOffsetList,")"]):"ellipse"==t[0]?e.mergeList(t.slice(1),n.slice(1),["ellipse(",e.mergeNonNegativeSizePair," at ",e.mergeOffsetList,")"]):"polygon"==t[0]&&t[1]==n[1]?e.mergeList(t.slice(2),n.slice(2),["polygon(",t[1],i,")"]):void 0}),["shape-outside"])}(r),function(e,t){function n(e,t){t.concat([e]).forEach((function(t){t in document.documentElement.style&&(r[e]=t),i[t]=e}))}var r={},i={};n("transform",["webkitTransform","msTransform"]),n("transformOrigin",["webkitTransformOrigin"]),n("perspective",["webkitPerspective"]),n("perspectiveOrigin",["webkitPerspectiveOrigin"]),e.propertyName=function(e){return r[e]||e},e.unprefixedPropertyName=function(e){return i[e]||e}}(r)}(),function(){if(void 0===document.createElement("div").animate([]).oncancel){if(window.performance&&performance.now)var e=function(){return performance.now()};else e=function(){return Date.now()};var t=function(e,t,n){this.target=e,this.currentTime=t,this.timelineTime=n,this.type="cancel",this.bubbles=!1,this.cancelable=!1,this.currentTarget=e,this.defaultPrevented=!1,this.eventPhase=Event.AT_TARGET,this.timeStamp=Date.now()},n=window.Element.prototype.animate;window.Element.prototype.animate=function(r,i){var o=n.call(this,r,i);o._cancelHandlers=[],o.oncancel=null;var a=o.cancel;o.cancel=function(){a.call(this);var n=new t(this,null,e()),r=this._cancelHandlers.concat(this.oncancel?[this.oncancel]:[]);setTimeout((function(){r.forEach((function(e){e.call(n.target,n)}))}),0)};var s=o.addEventListener;o.addEventListener=function(e,t){"function"==typeof t&&"cancel"==e?this._cancelHandlers.push(t):s.call(this,e,t)};var u=o.removeEventListener;return o.removeEventListener=function(e,t){if("cancel"==e){var n=this._cancelHandlers.indexOf(t);n>=0&&this._cancelHandlers.splice(n,1)}else u.call(this,e,t)},o}}}(),function(e){var t=document.documentElement,n=null,r=!1;try{var i="0"==getComputedStyle(t).getPropertyValue("opacity")?"1":"0";(n=t.animate({opacity:[i,i]},{duration:1})).currentTime=0,r=getComputedStyle(t).getPropertyValue("opacity")==i}catch(e){}finally{n&&n.cancel()}if(!r){var o=window.Element.prototype.animate;window.Element.prototype.animate=function(t,n){return window.Symbol&&Symbol.iterator&&Array.prototype.from&&t[Symbol.iterator]&&(t=Array.from(t)),Array.isArray(t)||null===t||(t=e.convertToArrayForm(t)),o.call(this,t,n)}}}(n)},function(e,t,n){"use strict";n.r(t);var r,i,o,a;n(0);!function(e){e.KEY_PREFIX="nj",e.DATA_API_KEY=".data-api"}(r||(r={})),function(e){e.mouseenter="mouseover",e.mouseleave="mouseout"}(i||(i={})),function(e){e.click="click",e.close="close",e.closed="closed",e.hide="hide",e.hidden="hidden",e.input="input",e.keydown="keydown",e.keyup="keyup",e.onchange="onchange",e.show="show",e.shown="shown",e.inserted="inserted",e.focusin="focusin",e.focusout="focusout",e.mouseenter="mouseenter",e.mouseleave="mouseleave",e.mouseup="mouseup",e.mousedown="mousedown"}(o||(o={})),function(e){e.click="click",e.dblclick="dblclick",e.mouseup="mouseup",e.mousedown="mousedown",e.contextmenu="contextmenu",e.mousewheel="mousewheel",e.DOMMouseScroll="DOMMouseScroll",e.mouseover="mouseover",e.mouseout="mouseout",e.mousemove="mousemove",e.selectstart="selectstart",e.selectend="selectend",e.keydown="keydown",e.keypress="keypress",e.keyup="keyup",e.orientationchange="orientationchange",e.touchstart="touchstart",e.touchmove="touchmove",e.touchend="touchend",e.touchcancel="touchcancel",e.pointerdown="pointerdown",e.pointermove="pointermove",e.pointerup="pointerup",e.pointerleave="pointerleave",e.pointercancel="pointercancel",e.gesturestart="gesturestart",e.gesturechange="gesturechange",e.gestureend="gestureend",e.focus="focus",e.blur="blur",e.change="change",e.reset="reset",e.select="select",e.submit="submit",e.focusin="focusin",e.focusout="focusout",e.load="load",e.unload="unload",e.beforeunload="beforeunload",e.resize="resize",e.move="move",e.DOMContentLoaded="DOMContentLoaded",e.readystatechange="readystatechange",e.error="error",e.abort="abort",e.scroll="scroll"}(a||(a={}));const s=(()=>{const e={};let t=1;return{set(n,r,i){void 0===n.key&&(n.key={key:r,id:t},t++),e[n.key.id]=i},get(t,n){if(!t||void 0===t.key)return null;const r=t.key;return r.key===n?e[r.id]:null},delete(t,n){if(void 0===t.key)return;const r=t.key;r.key===n&&(delete e[r.id],delete t.key)}}})();var u={setData(e,t,n){s.set(e,t,n)},getData:(e,t)=>s.get(e,t),removeData(e,t){s.delete(e,t)}};class l{static getUidEvent(e,t){return t&&"".concat(t,"::").concat(l.uidEvent++)||e.uidEvent||l.uidEvent++}static getEvent(e){const t=l.getUidEvent(e);return e.uidEvent=t,l.EVENTREGISTRY[t]=l.EVENTREGISTRY[t]||{}}static fixEvent(e,t){null===e.which&&l.KEYEVENT_REGEX.test(e.type)&&(e.which=null!==e.charCode?e.charCode:e.keyCode),e.delegateTarget=t}static njHandler(e,t){const n=r=>(l.fixEvent(r,e),n.oneOff&&l.off(e,r.type,t),t.apply(e,[r]));return n}static njDelegationHandler(e,t,n){const r=i=>{const o=e.querySelectorAll(t);for(let t=i.target;t&&t!==this;t=t.parentNode)for(let a=o.length;a>=0;a--)if(o[a]===t)return l.fixEvent(i,t),r.oneOff&&l.off(e,i.type,n),n.apply(t,[i]);return null};return r}static findHandler(e,t,n=null){for(const r in e){if(!Object.prototype.hasOwnProperty.call(e,r))continue;const i=e[r];if(i.originalHandler===t&&i.delegationSelector===n)return e[r]}return null}static normalizeParams(e,t,n){const r="string"==typeof t,o=r?n:t;let s=e.replace(l.STRIPNAME_REGEX,"");const u=i[s];u&&(s=u);return"string"==typeof a[s]||(s=e),[r,o,s]}static addHandler(e,t,n,r,i){if("string"!=typeof t||null==e)return;n||(n=r,r=null);const o=l.getEvent(e);for(const a of t.split(" ")){const[t,s,u]=l.normalizeParams(a,n,r),c=o[u]||(o[u]={}),f=l.findHandler(c,s,t?n:null);if(f)return void(f.oneOff=f.oneOff&&i);const d=l.getUidEvent(s,a.replace(l.NAMESPACE_REGEX,"")),h=t?l.njDelegationHandler(e,n,r):l.njHandler(e,n);h.delegationSelector=t?n:null,h.originalHandler=s,h.oneOff=i,h.uidEvent=d,c[d]=h,e.addEventListener(u,h,t)}}static removeHandler(e,t,n,r,i){const o=l.findHandler(t[n],r,i);null!==o&&(e.removeEventListener(n,o,Boolean(i)),delete t[n][o.uidEvent])}static removeNamespacedHandlers(e,t,n,r){const i=t[n]||{};for(const o in i)if(Object.prototype.hasOwnProperty.call(i,o)&&o.indexOf(r)>-1){const r=i[o];l.removeHandler(e,t,n,r.originalHandler,r.delegationSelector)}}static on(e,t,n,r){l.addHandler(e,t,n,r,!1)}static one(e,t,n,r){l.addHandler(e,t,n,r,!0)}static off(e,t,n,r){if("string"!=typeof t||null==e)return;const[i,o,a]=l.normalizeParams(t,n,r),s=a!==t,u=l.getEvent(e);if(void 0!==o){if(!u||!u[a])return;return void l.removeHandler(e,u,a,o,i?n:null)}if("."===t.charAt(0))for(const n in u)Object.prototype.hasOwnProperty.call(u,n)&&l.removeNamespacedHandlers(e,u,n,t.substr(1));const c=u[a]||{};for(const n in c){if(!Object.prototype.hasOwnProperty.call(c,n))continue;const r=n.replace(l.STRIPUID_REGEX,"");if(!s||t.indexOf(r)>-1){const t=c[n];l.removeHandler(e,u,a,t.originalHandler,t.delegationSelector)}}}static trigger(e,t,n){if("string"!=typeof t||null==e)return null;const r=t.replace(l.STRIPNAME_REGEX,""),i="string"==typeof a[r];let o=null;return i?(o=document.createEvent("HTMLEvents"),o.initEvent(r,true,!0)):o=new window.CustomEvent(t,{bubbles:true,cancelable:!0}),void 0!==n&&Object.keys(n).forEach(e=>{Object.defineProperty(o,e,{get:()=>n[e]})}),e.dispatchEvent(o),o}}l.NAMESPACE_REGEX=/[^.]*(?=\..*)\.|.*/,l.STRIPNAME_REGEX=/\..*/,l.KEYEVENT_REGEX=/^key/,l.STRIPUID_REGEX=/::\d+$/,l.EVENTREGISTRY={},l.uidEvent=1;const c={getDataAttributes(e){if(null==e)return{};let t={};if(Object.getOwnPropertyDescriptor(HTMLElement.prototype,"dataset"))t=Object.assign({},e.dataset);else for(let n=0;n<e.attributes.length;n++){const r=e.attributes[n];if(-1!==r.nodeName.indexOf("data-")){const e=r.nodeName.substring("data-".length).replace(/-./g,e=>e.charAt(1).toUpperCase());t[e]=r.nodeValue}}return Object.keys(t).forEach(e=>{var n;t[e]="true"===(n=t[e])||"false"!==n&&("null"===n?null:n===Number(n).toString()?Number(n):""===n?null:n)}),t},toggleClass(e,t){null!=e&&(e.classList.contains(t)?e.classList.remove(t):e.classList.add(t))},mergeExtended(e,t,n){for(const r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n&&"[object Object]"===Object.prototype.toString.call(t[r])?e[r]=c.extend(e[r],t[r]):e[r]=t[r]);return e},extend(...e){let t={},n=!1,r=0;for("[object Boolean]"===Object.prototype.toString.call(e[0])&&(n=e[0],r++);r<e.length;r++)t=c.mergeExtended(t,e[r],n);return t},createHtmlNode:e=>(new DOMParser).parseFromString(e,"text/html").body.firstChild};var f=c;class d extends HTMLElement{constructor(...e){super(),this.components=e,this.instances=[],this.parentNodes=[]}connectedCallback(){this.setup()}disconnectedCallback(){this.instances.forEach(e=>{e.dispose()}),this.instances=null}setup(){let e=this;for(;e.parentNode;)e=e.parentNode,this.parentNodes.push(e);[this,...this.parentNodes].some(e=>e.nextSibling)||"loading"!==document.readyState?this.childrenAvailableCallback():(this.mutationObserver=new MutationObserver(()=>{([this,...this.parentNodes].some(e=>e.nextSibling)||"loading"!==document.readyState)&&(this.childrenAvailableCallback(),this.mutationObserver.disconnect())}),this.mutationObserver.observe(this,{childList:!0}))}childrenAvailableCallback(){this.components.forEach(e=>{const t=this.querySelector(e.SELECTOR.default);if(!t)throw new Error("Default selector of ".concat(e.name," not found: ").concat(e.SELECTOR.default));this.instances.push(new e(t))})}static init(e){if(!e.TAG_NAME)throw new Error("TAG_NAME property of ".concat(e.name," class doesn't exists"));customElements.define(e.TAG_NAME,e)}}n.d(t,"default",(function(){return h})),n.d(t,"FabWC",(function(){return p}));class h extends class{constructor(e,t,n={}){!t||t instanceof Element||console.error(Error("".concat(t," is not an HTML Element"))),this.options=n,this.element=t}static init(e,t={},n){const r=[],i=document.querySelectorAll(n);for(let n=0;n<i.length;n++){const o=i[n];if(!o.key||o.key!==e.DATA_KEY){const a=new e(i[n],t);o.key||u.setData(i[n],e.DATA_KEY,a),r.push(a)}}return r}}{constructor(e,t){super(h,e),this.buttons=this.element.querySelectorAll(h.SELECTOR.button),this.items=this.element.querySelectorAll(h.SELECTOR.item),this.setOptions(t),this.element=e,this.setListeners(),u.setData(e,h.DATA_KEY,this)}open(){let e;const t=this.options.menuPosition,n=h.DURATION_PER_ITEM*this.items.length,r=this.buttons[0];f.toggleClass(r,h.OPEN_CLASS);const i=r.classList.contains(h.OPEN_CLASS),o="top"===t||"bottom"===t?"translateY":"translateX",a="top"===t||"left"===t?"-":"";for(e=0;e<this.items.length;e++){const t=(e+1)*h.ITEMS_HEIGHT+1,r=[{transform:"".concat(o,"(0)"),opacity:0},{transform:"".concat(o,"(").concat(a).concat(t,"rem)"),opacity:1}],s=i?r:r.reverse(),u=n-h.DURATION_PER_ITEM*e,l=h.STAGGER_DELAY*e;this.items[e].animate(s,{duration:u,delay:l,fill:"forwards"})}}setListeners(){const e=h.EVENT.click;l.on(this.element,e,this.options.selector,()=>this.open())}setOptions(e){const t=this.element.getAttribute("data-placement");this.options={menuPosition:t},this.options=f.extend(this.options,e),["top","right","bottom","left"].indexOf(this.options.menuPosition)<0&&(this.options.menuPosition="top")}getOptions(){return this.options}dispose(){u.removeData(this.element,h.DATA_KEY),this.element=null}static getInstance(e){return u.getData(e,h.DATA_KEY)}static init(e={}){return super.init(this,e,h.SELECTOR.default)}}h.NAME="".concat(r.KEY_PREFIX,"-fab-menu"),h.DATA_KEY="".concat(r.KEY_PREFIX,".fab"),h.EVENT_KEY=".".concat(h.DATA_KEY),h.SELECTOR={default:".".concat(h.NAME),button:".".concat(r.KEY_PREFIX,"-fab"),item:".".concat(r.KEY_PREFIX,"-fab__item")},h.EVENT={click:"".concat(o.click).concat(h.EVENT_KEY),mouseenter:"".concat(o.mouseenter).concat(h.EVENT_KEY),mouseleave:"".concat(o.mouseleave).concat(h.EVENT_KEY)},h.DURATION_PER_ITEM=35,h.ITEMS_HEIGHT=3.8,h.OPEN_CLASS="active",h.STAGGER_DELAY=70;class p extends d{constructor(){super(h)}static init(){d.init(p)}}p.TAG_NAME=h.NAME}]).default}));
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("Fab",[],t):"object"==typeof exports?exports.Fab=t():e.Fab=t()}(window,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=1)}([function(e,t){var n,r;r={},function(e,t){function n(){this._delay=0,this._endDelay=0,this._fill="none",this._iterationStart=0,this._iterations=1,this._duration=0,this._playbackRate=1,this._direction="normal",this._easing="linear",this._easingFunction=d}function r(){return e.isDeprecated("Invalid timing inputs","2016-03-02","TypeError exceptions will be thrown instead.",!0)}function i(t,r,i){var o=new n;return r&&(o.fill="both",o.duration="auto"),"number"!=typeof t||isNaN(t)?void 0!==t&&Object.getOwnPropertyNames(t).forEach((function(n){if("auto"!=t[n]){if(("number"==typeof o[n]||"duration"==n)&&("number"!=typeof t[n]||isNaN(t[n])))return;if("fill"==n&&-1==l.indexOf(t[n]))return;if("direction"==n&&-1==f.indexOf(t[n]))return;if("playbackRate"==n&&1!==t[n]&&e.isDeprecated("AnimationEffectTiming.playbackRate","2014-11-28","Use Animation.playbackRate instead."))return;o[n]=t[n]}})):o.duration=t,o}function o(e,t,n,r){return e<0||e>1||n<0||n>1?d:function(i){function o(e,t,n){return 3*e*(1-n)*(1-n)*n+3*t*(1-n)*n*n+n*n*n}if(i<=0){var a=0;return e>0?a=t/e:!t&&n>0&&(a=r/n),a*i}if(i>=1){var s=0;return n<1?s=(r-1)/(n-1):1==n&&e<1&&(s=(t-1)/(e-1)),1+s*(i-1)}for(var u=0,c=1;u<c;){var l=(u+c)/2,f=o(e,n,l);if(Math.abs(i-f)<1e-5)return o(t,r,l);f<i?u=l:c=l}return o(t,r,l)}}function a(e,t){return function(n){if(n>=1)return 1;var r=1/e;return(n+=t*r)-n%r}}function s(e){v||(v=document.createElement("div").style),v.animationTimingFunction="",v.animationTimingFunction=e;var t=v.animationTimingFunction;if(""==t&&r())throw new TypeError(e+" is not a valid value for easing");return t}function u(e){if("linear"==e)return d;var t=_.exec(e);if(t)return o.apply(this,t.slice(1).map(Number));var n=y.exec(e);if(n)return a(Number(n[1]),m);var r=T.exec(e);return r?a(Number(r[1]),{start:h,middle:p,end:m}[r[2]]):g[e]||d}function c(e,t,n){if(null==t)return E;var r=n.delay+e+n.endDelay;return t<Math.min(n.delay,r)?x:t>=Math.min(n.delay+e,r)?w:S}var l="backwards|forwards|both|none".split("|"),f="reverse|alternate|alternate-reverse".split("|"),d=function(e){return e};n.prototype={_setMember:function(t,n){this["_"+t]=n,this._effect&&(this._effect._timingInput[t]=n,this._effect._timing=e.normalizeTimingInput(this._effect._timingInput),this._effect.activeDuration=e.calculateActiveDuration(this._effect._timing),this._effect._animation&&this._effect._animation._rebuildUnderlyingAnimation())},get playbackRate(){return this._playbackRate},set delay(e){this._setMember("delay",e)},get delay(){return this._delay},set endDelay(e){this._setMember("endDelay",e)},get endDelay(){return this._endDelay},set fill(e){this._setMember("fill",e)},get fill(){return this._fill},set iterationStart(e){if((isNaN(e)||e<0)&&r())throw new TypeError("iterationStart must be a non-negative number, received: "+e);this._setMember("iterationStart",e)},get iterationStart(){return this._iterationStart},set duration(e){if("auto"!=e&&(isNaN(e)||e<0)&&r())throw new TypeError("duration must be non-negative or auto, received: "+e);this._setMember("duration",e)},get duration(){return this._duration},set direction(e){this._setMember("direction",e)},get direction(){return this._direction},set easing(e){this._easingFunction=u(s(e)),this._setMember("easing",e)},get easing(){return this._easing},set iterations(e){if((isNaN(e)||e<0)&&r())throw new TypeError("iterations must be non-negative, received: "+e);this._setMember("iterations",e)},get iterations(){return this._iterations}};var h=1,p=.5,m=0,g={ease:o(.25,.1,.25,1),"ease-in":o(.42,0,1,1),"ease-out":o(0,0,.58,1),"ease-in-out":o(.42,0,.58,1),"step-start":a(1,h),"step-middle":a(1,p),"step-end":a(1,m)},v=null,b="\\s*(-?\\d+\\.?\\d*|-?\\.\\d+)\\s*",_=new RegExp("cubic-bezier\\("+b+","+b+","+b+","+b+"\\)"),y=/steps\(\s*(\d+)\s*\)/,T=/steps\(\s*(\d+)\s*,\s*(start|middle|end)\s*\)/,E=0,x=1,w=2,S=3;e.cloneTimingInput=function(e){if("number"==typeof e)return e;var t={};for(var n in e)t[n]=e[n];return t},e.makeTiming=i,e.numericTimingToObject=function(e){return"number"==typeof e&&(e=isNaN(e)?{duration:0}:{duration:e}),e},e.normalizeTimingInput=function(t,n){return i(t=e.numericTimingToObject(t),n)},e.calculateActiveDuration=function(e){return Math.abs(function(e){return 0===e.duration||0===e.iterations?0:e.duration*e.iterations}(e)/e.playbackRate)},e.calculateIterationProgress=function(e,t,n){var r=c(e,t,n),i=function(e,t,n,r,i){switch(r){case x:return"backwards"==t||"both"==t?0:null;case S:return n-i;case w:return"forwards"==t||"both"==t?e:null;case E:return null}}(e,n.fill,t,r,n.delay);if(null===i)return null;var o=function(e,t,n,r,i){var o=i;return 0===e?t!==x&&(o+=n):o+=r/e,o}(n.duration,r,n.iterations,i,n.iterationStart),a=function(e,t,n,r,i,o){var a=e===1/0?t%1:e%1;return 0!==a||n!==w||0===r||0===i&&0!==o||(a=1),a}(o,n.iterationStart,r,n.iterations,i,n.duration),s=function(e,t,n,r){return e===w&&t===1/0?1/0:1===n?Math.floor(r)-1:Math.floor(r)}(r,n.iterations,a,o),u=function(e,t,n){var r=e;if("normal"!==e&&"reverse"!==e){var i=t;"alternate-reverse"===e&&(i+=1),r="normal",i!==1/0&&i%2!=0&&(r="reverse")}return"normal"===r?n:1-n}(n.direction,s,a);return n._easingFunction(u)},e.calculatePhase=c,e.normalizeEasing=s,e.parseEasingFunction=u}(n={}),function(e,t){function n(e,t){return e in u&&u[e][t]||t}function r(e,t,r){if(!function(e){return"display"===e||0===e.lastIndexOf("animation",0)||0===e.lastIndexOf("transition",0)}(e)){var i=o[e];if(i)for(var s in a.style[e]=t,i){var u=i[s],c=a.style[u];r[u]=n(u,c)}else r[e]=n(e,t)}}function i(e){var t=[];for(var n in e)if(!(n in["easing","offset","composite"])){var r=e[n];Array.isArray(r)||(r=[r]);for(var i,o=r.length,a=0;a<o;a++)(i={}).offset="offset"in e?e.offset:1==o?1:a/(o-1),"easing"in e&&(i.easing=e.easing),"composite"in e&&(i.composite=e.composite),i[n]=r[a],t.push(i)}return t.sort((function(e,t){return e.offset-t.offset})),t}var o={background:["backgroundImage","backgroundPosition","backgroundSize","backgroundRepeat","backgroundAttachment","backgroundOrigin","backgroundClip","backgroundColor"],border:["borderTopColor","borderTopStyle","borderTopWidth","borderRightColor","borderRightStyle","borderRightWidth","borderBottomColor","borderBottomStyle","borderBottomWidth","borderLeftColor","borderLeftStyle","borderLeftWidth"],borderBottom:["borderBottomWidth","borderBottomStyle","borderBottomColor"],borderColor:["borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"],borderLeft:["borderLeftWidth","borderLeftStyle","borderLeftColor"],borderRadius:["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],borderRight:["borderRightWidth","borderRightStyle","borderRightColor"],borderTop:["borderTopWidth","borderTopStyle","borderTopColor"],borderWidth:["borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth"],flex:["flexGrow","flexShrink","flexBasis"],font:["fontFamily","fontSize","fontStyle","fontVariant","fontWeight","lineHeight"],margin:["marginTop","marginRight","marginBottom","marginLeft"],outline:["outlineColor","outlineStyle","outlineWidth"],padding:["paddingTop","paddingRight","paddingBottom","paddingLeft"]},a=document.createElementNS("http://www.w3.org/1999/xhtml","div"),s={thin:"1px",medium:"3px",thick:"5px"},u={borderBottomWidth:s,borderLeftWidth:s,borderRightWidth:s,borderTopWidth:s,fontSize:{"xx-small":"60%","x-small":"75%",small:"89%",medium:"100%",large:"120%","x-large":"150%","xx-large":"200%"},fontWeight:{normal:"400",bold:"700"},outlineWidth:s,textShadow:{none:"0px 0px 0px transparent"},boxShadow:{none:"0px 0px 0px 0px transparent"}};e.convertToArrayForm=i,e.normalizeKeyframes=function(t){if(null==t)return[];window.Symbol&&Symbol.iterator&&Array.prototype.from&&t[Symbol.iterator]&&(t=Array.from(t)),Array.isArray(t)||(t=i(t));for(var n=t.map((function(t){var n={};for(var i in t){var o=t[i];if("offset"==i){if(null!=o){if(o=Number(o),!isFinite(o))throw new TypeError("Keyframe offsets must be numbers.");if(o<0||o>1)throw new TypeError("Keyframe offsets must be between 0 and 1.")}}else if("composite"==i){if("add"==o||"accumulate"==o)throw{type:DOMException.NOT_SUPPORTED_ERR,name:"NotSupportedError",message:"add compositing is not supported"};if("replace"!=o)throw new TypeError("Invalid composite mode "+o+".")}else o="easing"==i?e.normalizeEasing(o):""+o;r(i,o,n)}return null==n.offset&&(n.offset=null),null==n.easing&&(n.easing="linear"),n})),o=!0,a=-1/0,s=0;s<n.length;s++){var u=n[s].offset;if(null!=u){if(u<a)throw new TypeError("Keyframes are not loosely sorted by offset. Sort or specify offsets.");a=u}else o=!1}return n=n.filter((function(e){return e.offset>=0&&e.offset<=1})),o||function(){var e=n.length;null==n[e-1].offset&&(n[e-1].offset=1),e>1&&null==n[0].offset&&(n[0].offset=0);for(var t=0,r=n[0].offset,i=1;i<e;i++){var o=n[i].offset;if(null!=o){for(var a=1;a<i-t;a++)n[t+a].offset=r+(o-r)*a/(i-t);t=i,r=o}}}(),n}}(n),function(e){var t={};e.isDeprecated=function(e,n,r,i){var o=i?"are":"is",a=new Date,s=new Date(n);return s.setMonth(s.getMonth()+3),!(a<s&&(e in t||console.warn("Web Animations: "+e+" "+o+" deprecated and will stop working on "+s.toDateString()+". "+r),t[e]=!0,1))},e.deprecated=function(t,n,r,i){var o=i?"are":"is";if(e.isDeprecated(t,n,r,i))throw new Error(t+" "+o+" no longer supported. "+r)}}(n),function(){if(document.documentElement.animate){var e=document.documentElement.animate([],0),t=!0;if(e&&(t=!1,"play|currentTime|pause|reverse|playbackRate|cancel|finish|startTime|playState".split("|").forEach((function(n){void 0===e[n]&&(t=!0)}))),!t)return}!function(e,t,n){t.convertEffectInput=function(n){var r=function(e){for(var t={},n=0;n<e.length;n++)for(var r in e[n])if("offset"!=r&&"easing"!=r&&"composite"!=r){var i={offset:e[n].offset,easing:e[n].easing,value:e[n][r]};t[r]=t[r]||[],t[r].push(i)}for(var o in t){var a=t[o];if(0!=a[0].offset||1!=a[a.length-1].offset)throw{type:DOMException.NOT_SUPPORTED_ERR,name:"NotSupportedError",message:"Partial keyframes are not supported"}}return t}(e.normalizeKeyframes(n)),i=function(n){var r=[];for(var i in n)for(var o=n[i],a=0;a<o.length-1;a++){var s=a,u=a+1,c=o[s].offset,l=o[u].offset,f=c,d=l;0==a&&(f=-1/0,0==l&&(u=s)),a==o.length-2&&(d=1/0,1==c&&(s=u)),r.push({applyFrom:f,applyTo:d,startOffset:o[s].offset,endOffset:o[u].offset,easingFunction:e.parseEasingFunction(o[s].easing),property:i,interpolation:t.propertyInterpolation(i,o[s].value,o[u].value)})}return r.sort((function(e,t){return e.startOffset-t.startOffset})),r}(r);return function(e,n){if(null!=n)i.filter((function(e){return n>=e.applyFrom&&n<e.applyTo})).forEach((function(r){var i=n-r.startOffset,o=r.endOffset-r.startOffset,a=0==o?0:r.easingFunction(i/o);t.apply(e,r.property,r.interpolation(a))}));else for(var o in r)"offset"!=o&&"easing"!=o&&"composite"!=o&&t.clear(e,o)}}}(n,r),function(e,t,n){function r(e){return e.replace(/-(.)/g,(function(e,t){return t.toUpperCase()}))}function i(e,t,n){o[n]=o[n]||[],o[n].push([e,t])}var o={};t.addPropertiesHandler=function(e,t,n){for(var o=0;o<n.length;o++)i(e,t,r(n[o]))};var a={backgroundColor:"transparent",backgroundPosition:"0% 0%",borderBottomColor:"currentColor",borderBottomLeftRadius:"0px",borderBottomRightRadius:"0px",borderBottomWidth:"3px",borderLeftColor:"currentColor",borderLeftWidth:"3px",borderRightColor:"currentColor",borderRightWidth:"3px",borderSpacing:"2px",borderTopColor:"currentColor",borderTopLeftRadius:"0px",borderTopRightRadius:"0px",borderTopWidth:"3px",bottom:"auto",clip:"rect(0px, 0px, 0px, 0px)",color:"black",fontSize:"100%",fontWeight:"400",height:"auto",left:"auto",letterSpacing:"normal",lineHeight:"120%",marginBottom:"0px",marginLeft:"0px",marginRight:"0px",marginTop:"0px",maxHeight:"none",maxWidth:"none",minHeight:"0px",minWidth:"0px",opacity:"1.0",outlineColor:"invert",outlineOffset:"0px",outlineWidth:"3px",paddingBottom:"0px",paddingLeft:"0px",paddingRight:"0px",paddingTop:"0px",right:"auto",strokeDasharray:"none",strokeDashoffset:"0px",textIndent:"0px",textShadow:"0px 0px 0px transparent",top:"auto",transform:"",verticalAlign:"0px",visibility:"visible",width:"auto",wordSpacing:"normal",zIndex:"auto"};t.propertyInterpolation=function(n,i,s){var u=n;/-/.test(n)&&!e.isDeprecated("Hyphenated property names","2016-03-22","Use camelCase instead.",!0)&&(u=r(n)),"initial"!=i&&"initial"!=s||("initial"==i&&(i=a[u]),"initial"==s&&(s=a[u]));for(var c=i==s?[]:o[u],l=0;c&&l<c.length;l++){var f=c[l][0](i),d=c[l][0](s);if(void 0!==f&&void 0!==d){var h=c[l][1](f,d);if(h){var p=t.Interpolation.apply(null,h);return function(e){return 0==e?i:1==e?s:p(e)}}}}return t.Interpolation(!1,!0,(function(e){return e?s:i}))}}(n,r),function(e,t,n){t.KeyframeEffect=function(n,r,i,o){var a,s=function(t){var n=e.calculateActiveDuration(t),r=function(r){return e.calculateIterationProgress(n,r,t)};return r._totalDuration=t.delay+n+t.endDelay,r}(e.normalizeTimingInput(i)),u=t.convertEffectInput(r),c=function(){u(n,a)};return c._update=function(e){return null!==(a=s(e))},c._clear=function(){u(n,null)},c._hasSameTarget=function(e){return n===e},c._target=n,c._totalDuration=s._totalDuration,c._id=o,c}}(n,r),function(e,t){function n(e,t,n){n.enumerable=!0,n.configurable=!0,Object.defineProperty(e,t,n)}function r(e){this._element=e,this._surrogateStyle=document.createElementNS("http://www.w3.org/1999/xhtml","div").style,this._style=e.style,this._length=0,this._isAnimatedProperty={},this._updateSvgTransformAttr=function(e,t){return!(!t.namespaceURI||-1==t.namespaceURI.indexOf("/svg"))&&(o in e||(e[o]=/Trident|MSIE|IEMobile|Edge|Android 4/i.test(e.navigator.userAgent)),e[o])}(window,e),this._savedTransformAttr=null;for(var t=0;t<this._style.length;t++){var n=this._style[t];this._surrogateStyle[n]=this._style[n]}this._updateIndices()}function i(e){if(!e._webAnimationsPatchedStyle){var t=new r(e);try{n(e,"style",{get:function(){return t}})}catch(t){e.style._set=function(t,n){e.style[t]=n},e.style._clear=function(t){e.style[t]=""}}e._webAnimationsPatchedStyle=e.style}}var o="_webAnimationsUpdateSvgTransformAttr",a={cssText:1,length:1,parentRule:1},s={getPropertyCSSValue:1,getPropertyPriority:1,getPropertyValue:1,item:1,removeProperty:1,setProperty:1},u={removeProperty:1,setProperty:1};for(var c in r.prototype={get cssText(){return this._surrogateStyle.cssText},set cssText(e){for(var t={},n=0;n<this._surrogateStyle.length;n++)t[this._surrogateStyle[n]]=!0;for(this._surrogateStyle.cssText=e,this._updateIndices(),n=0;n<this._surrogateStyle.length;n++)t[this._surrogateStyle[n]]=!0;for(var r in t)this._isAnimatedProperty[r]||this._style.setProperty(r,this._surrogateStyle.getPropertyValue(r))},get length(){return this._surrogateStyle.length},get parentRule(){return this._style.parentRule},_updateIndices:function(){for(;this._length<this._surrogateStyle.length;)Object.defineProperty(this,this._length,{configurable:!0,enumerable:!1,get:function(e){return function(){return this._surrogateStyle[e]}}(this._length)}),this._length++;for(;this._length>this._surrogateStyle.length;)this._length--,Object.defineProperty(this,this._length,{configurable:!0,enumerable:!1,value:void 0})},_set:function(t,n){this._style[t]=n,this._isAnimatedProperty[t]=!0,this._updateSvgTransformAttr&&"transform"==e.unprefixedPropertyName(t)&&(null==this._savedTransformAttr&&(this._savedTransformAttr=this._element.getAttribute("transform")),this._element.setAttribute("transform",e.transformToSvgMatrix(n)))},_clear:function(t){this._style[t]=this._surrogateStyle[t],this._updateSvgTransformAttr&&"transform"==e.unprefixedPropertyName(t)&&(this._savedTransformAttr?this._element.setAttribute("transform",this._savedTransformAttr):this._element.removeAttribute("transform"),this._savedTransformAttr=null),delete this._isAnimatedProperty[t]}},s)r.prototype[c]=function(e,t){return function(){var n=this._surrogateStyle[e].apply(this._surrogateStyle,arguments);return t&&(this._isAnimatedProperty[arguments[0]]||this._style[e].apply(this._style,arguments),this._updateIndices()),n}}(c,c in u);for(var l in document.documentElement.style)l in a||l in s||function(e){n(r.prototype,e,{get:function(){return this._surrogateStyle[e]},set:function(t){this._surrogateStyle[e]=t,this._updateIndices(),this._isAnimatedProperty[e]||(this._style[e]=t)}})}(l);e.apply=function(t,n,r){i(t),t.style._set(e.propertyName(n),r)},e.clear=function(t,n){t._webAnimationsPatchedStyle&&t.style._clear(e.propertyName(n))}}(r),function(e){window.Element.prototype.animate=function(t,n){var r="";return n&&n.id&&(r=n.id),e.timeline._play(e.KeyframeEffect(this,t,n,r))}}(r),function(e,t){e.Interpolation=function(e,t,n){return function(r){return n(function e(t,n,r){if("number"==typeof t&&"number"==typeof n)return t*(1-r)+n*r;if("boolean"==typeof t&&"boolean"==typeof n)return r<.5?t:n;if(t.length==n.length){for(var i=[],o=0;o<t.length;o++)i.push(e(t[o],n[o],r));return i}throw"Mismatched interpolation arguments "+t+":"+n}(e,t,r))}}}(r),function(e,t){var n=function(){function e(e,t){for(var n=[[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0]],r=0;r<4;r++)for(var i=0;i<4;i++)for(var o=0;o<4;o++)n[r][i]+=t[r][o]*e[o][i];return n}return function(t,n,r,i,o){for(var a=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]],s=0;s<4;s++)a[s][3]=o[s];for(s=0;s<3;s++)for(var u=0;u<3;u++)a[3][s]+=t[u]*a[u][s];var c=i[0],l=i[1],f=i[2],d=i[3],h=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]];h[0][0]=1-2*(l*l+f*f),h[0][1]=2*(c*l-f*d),h[0][2]=2*(c*f+l*d),h[1][0]=2*(c*l+f*d),h[1][1]=1-2*(c*c+f*f),h[1][2]=2*(l*f-c*d),h[2][0]=2*(c*f-l*d),h[2][1]=2*(l*f+c*d),h[2][2]=1-2*(c*c+l*l),a=e(a,h);var p=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]];for(r[2]&&(p[2][1]=r[2],a=e(a,p)),r[1]&&(p[2][1]=0,p[2][0]=r[0],a=e(a,p)),r[0]&&(p[2][0]=0,p[1][0]=r[0],a=e(a,p)),s=0;s<3;s++)for(u=0;u<3;u++)a[s][u]*=n[s];return function(e){return 0==e[0][2]&&0==e[0][3]&&0==e[1][2]&&0==e[1][3]&&0==e[2][0]&&0==e[2][1]&&1==e[2][2]&&0==e[2][3]&&0==e[3][2]&&1==e[3][3]}(a)?[a[0][0],a[0][1],a[1][0],a[1][1],a[3][0],a[3][1]]:a[0].concat(a[1],a[2],a[3])}}();e.composeMatrix=n,e.quat=function(t,n,r){var i=e.dot(t,n),o=[];if(1===(i=function(e,t,n){return Math.max(Math.min(e,n),t)}(i,-1,1)))o=t;else for(var a=Math.acos(i),s=1*Math.sin(r*a)/Math.sqrt(1-i*i),u=0;u<4;u++)o.push(t[u]*(Math.cos(r*a)-i*s)+n[u]*s);return o}}(r),function(e,t,n){e.sequenceNumber=0;var r=function(e,t,n){this.target=e,this.currentTime=t,this.timelineTime=n,this.type="finish",this.bubbles=!1,this.cancelable=!1,this.currentTarget=e,this.defaultPrevented=!1,this.eventPhase=Event.AT_TARGET,this.timeStamp=Date.now()};t.Animation=function(t){this.id="",t&&t._id&&(this.id=t._id),this._sequenceNumber=e.sequenceNumber++,this._currentTime=0,this._startTime=null,this._paused=!1,this._playbackRate=1,this._inTimeline=!0,this._finishedFlag=!0,this.onfinish=null,this._finishHandlers=[],this._effect=t,this._inEffect=this._effect._update(0),this._idle=!0,this._currentTimePending=!1},t.Animation.prototype={_ensureAlive:function(){this.playbackRate<0&&0===this.currentTime?this._inEffect=this._effect._update(-1):this._inEffect=this._effect._update(this.currentTime),this._inTimeline||!this._inEffect&&this._finishedFlag||(this._inTimeline=!0,t.timeline._animations.push(this))},_tickCurrentTime:function(e,t){e!=this._currentTime&&(this._currentTime=e,this._isFinished&&!t&&(this._currentTime=this._playbackRate>0?this._totalDuration:0),this._ensureAlive())},get currentTime(){return this._idle||this._currentTimePending?null:this._currentTime},set currentTime(e){e=+e,isNaN(e)||(t.restart(),this._paused||null==this._startTime||(this._startTime=this._timeline.currentTime-e/this._playbackRate),this._currentTimePending=!1,this._currentTime!=e&&(this._idle&&(this._idle=!1,this._paused=!0),this._tickCurrentTime(e,!0),t.applyDirtiedAnimation(this)))},get startTime(){return this._startTime},set startTime(e){e=+e,isNaN(e)||this._paused||this._idle||(this._startTime=e,this._tickCurrentTime((this._timeline.currentTime-this._startTime)*this.playbackRate),t.applyDirtiedAnimation(this))},get playbackRate(){return this._playbackRate},set playbackRate(e){if(e!=this._playbackRate){var n=this.currentTime;this._playbackRate=e,this._startTime=null,"paused"!=this.playState&&"idle"!=this.playState&&(this._finishedFlag=!1,this._idle=!1,this._ensureAlive(),t.applyDirtiedAnimation(this)),null!=n&&(this.currentTime=n)}},get _isFinished(){return!this._idle&&(this._playbackRate>0&&this._currentTime>=this._totalDuration||this._playbackRate<0&&this._currentTime<=0)},get _totalDuration(){return this._effect._totalDuration},get playState(){return this._idle?"idle":null==this._startTime&&!this._paused&&0!=this.playbackRate||this._currentTimePending?"pending":this._paused?"paused":this._isFinished?"finished":"running"},_rewind:function(){if(this._playbackRate>=0)this._currentTime=0;else{if(!(this._totalDuration<1/0))throw new DOMException("Unable to rewind negative playback rate animation with infinite duration","InvalidStateError");this._currentTime=this._totalDuration}},play:function(){this._paused=!1,(this._isFinished||this._idle)&&(this._rewind(),this._startTime=null),this._finishedFlag=!1,this._idle=!1,this._ensureAlive(),t.applyDirtiedAnimation(this)},pause:function(){this._isFinished||this._paused||this._idle?this._idle&&(this._rewind(),this._idle=!1):this._currentTimePending=!0,this._startTime=null,this._paused=!0},finish:function(){this._idle||(this.currentTime=this._playbackRate>0?this._totalDuration:0,this._startTime=this._totalDuration-this.currentTime,this._currentTimePending=!1,t.applyDirtiedAnimation(this))},cancel:function(){this._inEffect&&(this._inEffect=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._startTime=null,this._effect._update(null),t.applyDirtiedAnimation(this))},reverse:function(){this.playbackRate*=-1,this.play()},addEventListener:function(e,t){"function"==typeof t&&"finish"==e&&this._finishHandlers.push(t)},removeEventListener:function(e,t){if("finish"==e){var n=this._finishHandlers.indexOf(t);n>=0&&this._finishHandlers.splice(n,1)}},_fireEvents:function(e){if(this._isFinished){if(!this._finishedFlag){var t=new r(this,this._currentTime,e),n=this._finishHandlers.concat(this.onfinish?[this.onfinish]:[]);setTimeout((function(){n.forEach((function(e){e.call(t.target,t)}))}),0),this._finishedFlag=!0}}else this._finishedFlag=!1},_tick:function(e,t){this._idle||this._paused||(null==this._startTime?t&&(this.startTime=e-this._currentTime/this.playbackRate):this._isFinished||this._tickCurrentTime((e-this._startTime)*this.playbackRate)),t&&(this._currentTimePending=!1,this._fireEvents(e))},get _needsTick(){return this.playState in{pending:1,running:1}||!this._finishedFlag},_targetAnimations:function(){var e=this._effect._target;return e._activeAnimations||(e._activeAnimations=[]),e._activeAnimations},_markTarget:function(){var e=this._targetAnimations();-1===e.indexOf(this)&&e.push(this)},_unmarkTarget:function(){var e=this._targetAnimations(),t=e.indexOf(this);-1!==t&&e.splice(t,1)}}}(n,r),function(e,t,n){function r(e){var t=c;c=[],e<m.currentTime&&(e=m.currentTime),m._animations.sort(i),m._animations=s(e,!0,m._animations)[0],t.forEach((function(t){t[1](e)})),a()}function i(e,t){return e._sequenceNumber-t._sequenceNumber}function o(){this._animations=[],this.currentTime=window.performance&&performance.now?performance.now():0}function a(){h.forEach((function(e){e()})),h.length=0}function s(e,n,r){p=!0,d=!1,t.timeline.currentTime=e,f=!1;var i=[],o=[],a=[],s=[];return r.forEach((function(t){t._tick(e,n),t._inEffect?(o.push(t._effect),t._markTarget()):(i.push(t._effect),t._unmarkTarget()),t._needsTick&&(f=!0);var r=t._inEffect||t._needsTick;t._inTimeline=r,r?a.push(t):s.push(t)})),h.push.apply(h,i),h.push.apply(h,o),f&&requestAnimationFrame((function(){})),p=!1,[a,s]}var u=window.requestAnimationFrame,c=[],l=0;window.requestAnimationFrame=function(e){var t=l++;return 0==c.length&&u(r),c.push([t,e]),t},window.cancelAnimationFrame=function(e){c.forEach((function(t){t[0]==e&&(t[1]=function(){})}))},o.prototype={_play:function(n){n._timing=e.normalizeTimingInput(n.timing);var r=new t.Animation(n);return r._idle=!1,r._timeline=this,this._animations.push(r),t.restart(),t.applyDirtiedAnimation(r),r}};var f=!1,d=!1;t.restart=function(){return f||(f=!0,requestAnimationFrame((function(){})),d=!0),d},t.applyDirtiedAnimation=function(e){if(!p){e._markTarget();var n=e._targetAnimations();n.sort(i),s(t.timeline.currentTime,!1,n.slice())[1].forEach((function(e){var t=m._animations.indexOf(e);-1!==t&&m._animations.splice(t,1)})),a()}};var h=[],p=!1,m=new o;t.timeline=m}(n,r),function(e,t){function n(e,t){for(var n=0,r=0;r<e.length;r++)n+=e[r]*t[r];return n}function r(e,t){return[e[0]*t[0]+e[4]*t[1]+e[8]*t[2]+e[12]*t[3],e[1]*t[0]+e[5]*t[1]+e[9]*t[2]+e[13]*t[3],e[2]*t[0]+e[6]*t[1]+e[10]*t[2]+e[14]*t[3],e[3]*t[0]+e[7]*t[1]+e[11]*t[2]+e[15]*t[3],e[0]*t[4]+e[4]*t[5]+e[8]*t[6]+e[12]*t[7],e[1]*t[4]+e[5]*t[5]+e[9]*t[6]+e[13]*t[7],e[2]*t[4]+e[6]*t[5]+e[10]*t[6]+e[14]*t[7],e[3]*t[4]+e[7]*t[5]+e[11]*t[6]+e[15]*t[7],e[0]*t[8]+e[4]*t[9]+e[8]*t[10]+e[12]*t[11],e[1]*t[8]+e[5]*t[9]+e[9]*t[10]+e[13]*t[11],e[2]*t[8]+e[6]*t[9]+e[10]*t[10]+e[14]*t[11],e[3]*t[8]+e[7]*t[9]+e[11]*t[10]+e[15]*t[11],e[0]*t[12]+e[4]*t[13]+e[8]*t[14]+e[12]*t[15],e[1]*t[12]+e[5]*t[13]+e[9]*t[14]+e[13]*t[15],e[2]*t[12]+e[6]*t[13]+e[10]*t[14]+e[14]*t[15],e[3]*t[12]+e[7]*t[13]+e[11]*t[14]+e[15]*t[15]]}function i(e){var t=e.rad||0;return((e.deg||0)/360+(e.grad||0)/400+(e.turn||0))*(2*Math.PI)+t}function o(e){switch(e.t){case"rotatex":var t=i(e.d[0]);return[1,0,0,0,0,Math.cos(t),Math.sin(t),0,0,-Math.sin(t),Math.cos(t),0,0,0,0,1];case"rotatey":return t=i(e.d[0]),[Math.cos(t),0,-Math.sin(t),0,0,1,0,0,Math.sin(t),0,Math.cos(t),0,0,0,0,1];case"rotate":case"rotatez":return t=i(e.d[0]),[Math.cos(t),Math.sin(t),0,0,-Math.sin(t),Math.cos(t),0,0,0,0,1,0,0,0,0,1];case"rotate3d":var n=e.d[0],r=e.d[1],o=e.d[2],a=(t=i(e.d[3]),n*n+r*r+o*o);if(0===a)n=1,r=0,o=0;else if(1!==a){var s=Math.sqrt(a);n/=s,r/=s,o/=s}var u=Math.sin(t/2),c=u*Math.cos(t/2),l=u*u;return[1-2*(r*r+o*o)*l,2*(n*r*l+o*c),2*(n*o*l-r*c),0,2*(n*r*l-o*c),1-2*(n*n+o*o)*l,2*(r*o*l+n*c),0,2*(n*o*l+r*c),2*(r*o*l-n*c),1-2*(n*n+r*r)*l,0,0,0,0,1];case"scale":return[e.d[0],0,0,0,0,e.d[1],0,0,0,0,1,0,0,0,0,1];case"scalex":return[e.d[0],0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];case"scaley":return[1,0,0,0,0,e.d[0],0,0,0,0,1,0,0,0,0,1];case"scalez":return[1,0,0,0,0,1,0,0,0,0,e.d[0],0,0,0,0,1];case"scale3d":return[e.d[0],0,0,0,0,e.d[1],0,0,0,0,e.d[2],0,0,0,0,1];case"skew":var f=i(e.d[0]),d=i(e.d[1]);return[1,Math.tan(d),0,0,Math.tan(f),1,0,0,0,0,1,0,0,0,0,1];case"skewx":return t=i(e.d[0]),[1,0,0,0,Math.tan(t),1,0,0,0,0,1,0,0,0,0,1];case"skewy":return t=i(e.d[0]),[1,Math.tan(t),0,0,0,1,0,0,0,0,1,0,0,0,0,1];case"translate":return[1,0,0,0,0,1,0,0,0,0,1,0,n=e.d[0].px||0,r=e.d[1].px||0,0,1];case"translatex":return[1,0,0,0,0,1,0,0,0,0,1,0,n=e.d[0].px||0,0,0,1];case"translatey":return[1,0,0,0,0,1,0,0,0,0,1,0,0,r=e.d[0].px||0,0,1];case"translatez":return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,o=e.d[0].px||0,1];case"translate3d":return[1,0,0,0,0,1,0,0,0,0,1,0,n=e.d[0].px||0,r=e.d[1].px||0,o=e.d[2].px||0,1];case"perspective":return[1,0,0,0,0,1,0,0,0,0,1,e.d[0].px?-1/e.d[0].px:0,0,0,0,1];case"matrix":return[e.d[0],e.d[1],0,0,e.d[2],e.d[3],0,0,0,0,1,0,e.d[4],e.d[5],0,1];case"matrix3d":return e.d}}function a(e){return 0===e.length?[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]:e.map(o).reduce(r)}var s=function(){function e(e){return e[0][0]*e[1][1]*e[2][2]+e[1][0]*e[2][1]*e[0][2]+e[2][0]*e[0][1]*e[1][2]-e[0][2]*e[1][1]*e[2][0]-e[1][2]*e[2][1]*e[0][0]-e[2][2]*e[0][1]*e[1][0]}function t(e){var t=r(e);return[e[0]/t,e[1]/t,e[2]/t]}function r(e){return Math.sqrt(e[0]*e[0]+e[1]*e[1]+e[2]*e[2])}function i(e,t,n,r){return[n*e[0]+r*t[0],n*e[1]+r*t[1],n*e[2]+r*t[2]]}return function(o){var a=[o.slice(0,4),o.slice(4,8),o.slice(8,12),o.slice(12,16)];if(1!==a[3][3])return null;for(var s=[],u=0;u<4;u++)s.push(a[u].slice());for(u=0;u<3;u++)s[u][3]=0;if(0===e(s))return null;var c,l=[];a[0][3]||a[1][3]||a[2][3]?(l.push(a[0][3]),l.push(a[1][3]),l.push(a[2][3]),l.push(a[3][3]),c=function(e,t){for(var n=[],r=0;r<4;r++){for(var i=0,o=0;o<4;o++)i+=e[o]*t[o][r];n.push(i)}return n}(l,function(e){return[[e[0][0],e[1][0],e[2][0],e[3][0]],[e[0][1],e[1][1],e[2][1],e[3][1]],[e[0][2],e[1][2],e[2][2],e[3][2]],[e[0][3],e[1][3],e[2][3],e[3][3]]]}(function(t){for(var n=1/e(t),r=t[0][0],i=t[0][1],o=t[0][2],a=t[1][0],s=t[1][1],u=t[1][2],c=t[2][0],l=t[2][1],f=t[2][2],d=[[(s*f-u*l)*n,(o*l-i*f)*n,(i*u-o*s)*n,0],[(u*c-a*f)*n,(r*f-o*c)*n,(o*a-r*u)*n,0],[(a*l-s*c)*n,(c*i-r*l)*n,(r*s-i*a)*n,0]],h=[],p=0;p<3;p++){for(var m=0,g=0;g<3;g++)m+=t[3][g]*d[g][p];h.push(m)}return h.push(1),d.push(h),d}(s)))):c=[0,0,0,1];var f=a[3].slice(0,3),d=[];d.push(a[0].slice(0,3));var h=[];h.push(r(d[0])),d[0]=t(d[0]);var p=[];d.push(a[1].slice(0,3)),p.push(n(d[0],d[1])),d[1]=i(d[1],d[0],1,-p[0]),h.push(r(d[1])),d[1]=t(d[1]),p[0]/=h[1],d.push(a[2].slice(0,3)),p.push(n(d[0],d[2])),d[2]=i(d[2],d[0],1,-p[1]),p.push(n(d[1],d[2])),d[2]=i(d[2],d[1],1,-p[2]),h.push(r(d[2])),d[2]=t(d[2]),p[1]/=h[2],p[2]/=h[2];var m=function(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]}(d[1],d[2]);if(n(d[0],m)<0)for(u=0;u<3;u++)h[u]*=-1,d[u][0]*=-1,d[u][1]*=-1,d[u][2]*=-1;var g,v,b=d[0][0]+d[1][1]+d[2][2]+1;return b>1e-4?(g=.5/Math.sqrt(b),v=[(d[2][1]-d[1][2])*g,(d[0][2]-d[2][0])*g,(d[1][0]-d[0][1])*g,.25/g]):d[0][0]>d[1][1]&&d[0][0]>d[2][2]?v=[.25*(g=2*Math.sqrt(1+d[0][0]-d[1][1]-d[2][2])),(d[0][1]+d[1][0])/g,(d[0][2]+d[2][0])/g,(d[2][1]-d[1][2])/g]:d[1][1]>d[2][2]?(g=2*Math.sqrt(1+d[1][1]-d[0][0]-d[2][2]),v=[(d[0][1]+d[1][0])/g,.25*g,(d[1][2]+d[2][1])/g,(d[0][2]-d[2][0])/g]):(g=2*Math.sqrt(1+d[2][2]-d[0][0]-d[1][1]),v=[(d[0][2]+d[2][0])/g,(d[1][2]+d[2][1])/g,.25*g,(d[1][0]-d[0][1])/g]),[f,h,p,v,c]}}();e.dot=n,e.makeMatrixDecomposition=function(e){return[s(a(e))]},e.transformListToMatrix=a}(r),function(e){function t(e,t){var n=e.exec(t);if(n)return[n=e.ignoreCase?n[0].toLowerCase():n[0],t.substr(n.length)]}function n(e,t){var n=e(t=t.replace(/^\s*/,""));if(n)return[n[0],n[1].replace(/^\s*/,"")]}function r(e,t,n,r,i){for(var o=[],a=[],s=[],u=function(e,t){for(var n=e,r=t;n&&r;)n>r?n%=r:r%=n;return e*t/(n+r)}(r.length,i.length),c=0;c<u;c++){var l=t(r[c%r.length],i[c%i.length]);if(!l)return;o.push(l[0]),a.push(l[1]),s.push(l[2])}return[o,a,function(t){var r=t.map((function(e,t){return s[t](e)})).join(n);return e?e(r):r}]}e.consumeToken=t,e.consumeTrimmed=n,e.consumeRepeated=function(e,r,i){e=n.bind(null,e);for(var o=[];;){var a=e(i);if(!a)return[o,i];if(o.push(a[0]),!(a=t(r,i=a[1]))||""==a[1])return[o,i];i=a[1]}},e.consumeParenthesised=function(e,t){for(var n=0,r=0;r<t.length&&(!/\s|,/.test(t[r])||0!=n);r++)if("("==t[r])n++;else if(")"==t[r]&&(0==--n&&r++,n<=0))break;var i=e(t.substr(0,r));return null==i?void 0:[i,t.substr(r)]},e.ignore=function(e){return function(t){var n=e(t);return n&&(n[0]=void 0),n}},e.optional=function(e,t){return function(n){return e(n)||[t,n]}},e.consumeList=function(t,n){for(var r=[],i=0;i<t.length;i++){var o=e.consumeTrimmed(t[i],n);if(!o||""==o[0])return;void 0!==o[0]&&r.push(o[0]),n=o[1]}if(""==n)return r},e.mergeNestedRepeated=r.bind(null,null),e.mergeWrappedNestedRepeated=r,e.mergeList=function(e,t,n){for(var r=[],i=[],o=[],a=0,s=0;s<n.length;s++)if("function"==typeof n[s]){var u=n[s](e[a],t[a++]);r.push(u[0]),i.push(u[1]),o.push(u[2])}else!function(e){r.push(!1),i.push(!1),o.push((function(){return n[e]}))}(s);return[r,i,function(e){for(var t="",n=0;n<e.length;n++)t+=o[n](e[n]);return t}]}}(r),function(e){function t(t){var n={inset:!1,lengths:[],color:null},r=e.consumeRepeated((function(t){var r=e.consumeToken(/^inset/i,t);return r?(n.inset=!0,r):(r=e.consumeLengthOrPercent(t))?(n.lengths.push(r[0]),r):(r=e.consumeColor(t))?(n.color=r[0],r):void 0}),/^/,t);if(r&&r[0].length)return[n,r[1]]}var n=function(t,n,r,i){function o(e){return{inset:e,color:[0,0,0,0],lengths:[{px:0},{px:0},{px:0},{px:0}]}}for(var a=[],s=[],u=0;u<r.length||u<i.length;u++){var c=r[u]||o(i[u].inset),l=i[u]||o(r[u].inset);a.push(c),s.push(l)}return e.mergeNestedRepeated(t,n,a,s)}.bind(null,(function(t,n){for(;t.lengths.length<Math.max(t.lengths.length,n.lengths.length);)t.lengths.push({px:0});for(;n.lengths.length<Math.max(t.lengths.length,n.lengths.length);)n.lengths.push({px:0});if(t.inset==n.inset&&!!t.color==!!n.color){for(var r,i=[],o=[[],0],a=[[],0],s=0;s<t.lengths.length;s++){var u=e.mergeDimensions(t.lengths[s],n.lengths[s],2==s);o[0].push(u[0]),a[0].push(u[1]),i.push(u[2])}if(t.color&&n.color){var c=e.mergeColors(t.color,n.color);o[1]=c[0],a[1]=c[1],r=c[2]}return[o,a,function(e){for(var n=t.inset?"inset ":" ",o=0;o<i.length;o++)n+=i[o](e[0][o])+" ";return r&&(n+=r(e[1])),n}]}}),", ");e.addPropertiesHandler((function(n){var r=e.consumeRepeated(t,/^,/,n);if(r&&""==r[1])return r[0]}),n,["box-shadow","text-shadow"])}(r),function(e,t){function n(e){return e.toFixed(3).replace(/0+$/,"").replace(/\.$/,"")}function r(e,t,n){return Math.min(t,Math.max(e,n))}function i(e){if(/^\s*[-+]?(\d*\.)?\d+\s*$/.test(e))return Number(e)}function o(e,t){return function(i,o){return[i,o,function(i){return n(r(e,t,i))}]}}function a(e){var t=e.trim().split(/\s*[\s,]\s*/);if(0!==t.length){for(var n=[],r=0;r<t.length;r++){var o=i(t[r]);if(void 0===o)return;n.push(o)}return n}}e.clamp=r,e.addPropertiesHandler(a,(function(e,t){if(e.length==t.length)return[e,t,function(e){return e.map(n).join(" ")}]}),["stroke-dasharray"]),e.addPropertiesHandler(i,o(0,1/0),["border-image-width","line-height"]),e.addPropertiesHandler(i,o(0,1),["opacity","shape-image-threshold"]),e.addPropertiesHandler(i,(function(e,t){if(0!=e)return o(0,1/0)(e,t)}),["flex-grow","flex-shrink"]),e.addPropertiesHandler(i,(function(e,t){return[e,t,function(e){return Math.round(r(1,1/0,e))}]}),["orphans","widows"]),e.addPropertiesHandler(i,(function(e,t){return[e,t,Math.round]}),["z-index"]),e.parseNumber=i,e.parseNumberList=a,e.mergeNumbers=function(e,t){return[e,t,n]},e.numberToString=n}(r),function(e,t){e.addPropertiesHandler(String,(function(e,t){if("visible"==e||"visible"==t)return[0,1,function(n){return n<=0?e:n>=1?t:"visible"}]}),["visibility"])}(r),function(e,t){function n(e){e=e.trim(),o.fillStyle="#000",o.fillStyle=e;var t=o.fillStyle;if(o.fillStyle="#fff",o.fillStyle=e,t==o.fillStyle){o.fillRect(0,0,1,1);var n=o.getImageData(0,0,1,1).data;o.clearRect(0,0,1,1);var r=n[3]/255;return[n[0]*r,n[1]*r,n[2]*r,r]}}function r(t,n){return[t,n,function(t){function n(e){return Math.max(0,Math.min(255,e))}if(t[3])for(var r=0;r<3;r++)t[r]=Math.round(n(t[r]/t[3]));return t[3]=e.numberToString(e.clamp(0,1,t[3])),"rgba("+t.join(",")+")"}]}var i=document.createElementNS("http://www.w3.org/1999/xhtml","canvas");i.width=i.height=1;var o=i.getContext("2d");e.addPropertiesHandler(n,r,["background-color","border-bottom-color","border-left-color","border-right-color","border-top-color","color","fill","flood-color","lighting-color","outline-color","stop-color","stroke","text-decoration-color"]),e.consumeColor=e.consumeParenthesised.bind(null,n),e.mergeColors=r}(r),function(e,t){function n(e){function t(){var t=a.exec(e);o=t?t[0]:void 0}function n(){if("("!==o)return function(){var e=Number(o);return t(),e}();t();var e=i();return")"!==o?NaN:(t(),e)}function r(){for(var e=n();"*"===o||"/"===o;){var r=o;t();var i=n();"*"===r?e*=i:e/=i}return e}function i(){for(var e=r();"+"===o||"-"===o;){var n=o;t();var i=r();"+"===n?e+=i:e-=i}return e}var o,a=/([\+\-\w\.]+|[\(\)\*\/])/g;return t(),i()}function r(e,t){if("0"==(t=t.trim().toLowerCase())&&"px".search(e)>=0)return{px:0};if(/^[^(]*$|^calc/.test(t)){t=t.replace(/calc\(/g,"(");var r={};t=t.replace(e,(function(e){return r[e]=null,"U"+e}));for(var i="U("+e.source+")",o=t.replace(/[-+]?(\d*\.)?\d+([Ee][-+]?\d+)?/g,"N").replace(new RegExp("N"+i,"g"),"D").replace(/\s[+-]\s/g,"O").replace(/\s/g,""),a=[/N\*(D)/g,/(N|D)[*\/]N/g,/(N|D)O\1/g,/\((N|D)\)/g],s=0;s<a.length;)a[s].test(o)?(o=o.replace(a[s],"$1"),s=0):s++;if("D"==o){for(var u in r){var c=n(t.replace(new RegExp("U"+u,"g"),"").replace(new RegExp(i,"g"),"*0"));if(!isFinite(c))return;r[u]=c}return r}}}function i(e,t){return o(e,t,!0)}function o(t,n,r){var i,o=[];for(i in t)o.push(i);for(i in n)o.indexOf(i)<0&&o.push(i);return t=o.map((function(e){return t[e]||0})),n=o.map((function(e){return n[e]||0})),[t,n,function(t){var n=t.map((function(n,i){return 1==t.length&&r&&(n=Math.max(n,0)),e.numberToString(n)+o[i]})).join(" + ");return t.length>1?"calc("+n+")":n}]}var a="px|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc",s=r.bind(null,new RegExp(a,"g")),u=r.bind(null,new RegExp(a+"|%","g")),c=r.bind(null,/deg|rad|grad|turn/g);e.parseLength=s,e.parseLengthOrPercent=u,e.consumeLengthOrPercent=e.consumeParenthesised.bind(null,u),e.parseAngle=c,e.mergeDimensions=o;var l=e.consumeParenthesised.bind(null,s),f=e.consumeRepeated.bind(void 0,l,/^/),d=e.consumeRepeated.bind(void 0,f,/^,/);e.consumeSizePairList=d;var h=e.mergeNestedRepeated.bind(void 0,i," "),p=e.mergeNestedRepeated.bind(void 0,h,",");e.mergeNonNegativeSizePair=h,e.addPropertiesHandler((function(e){var t=d(e);if(t&&""==t[1])return t[0]}),p,["background-size"]),e.addPropertiesHandler(u,i,["border-bottom-width","border-image-width","border-left-width","border-right-width","border-top-width","flex-basis","font-size","height","line-height","max-height","max-width","outline-width","width"]),e.addPropertiesHandler(u,o,["border-bottom-left-radius","border-bottom-right-radius","border-top-left-radius","border-top-right-radius","bottom","left","letter-spacing","margin-bottom","margin-left","margin-right","margin-top","min-height","min-width","outline-offset","padding-bottom","padding-left","padding-right","padding-top","perspective","right","shape-margin","stroke-dashoffset","text-indent","top","vertical-align","word-spacing"])}(r),function(e,t){function n(t){return e.consumeLengthOrPercent(t)||e.consumeToken(/^auto/,t)}function r(t){var r=e.consumeList([e.ignore(e.consumeToken.bind(null,/^rect/)),e.ignore(e.consumeToken.bind(null,/^\(/)),e.consumeRepeated.bind(null,n,/^,/),e.ignore(e.consumeToken.bind(null,/^\)/))],t);if(r&&4==r[0].length)return r[0]}var i=e.mergeWrappedNestedRepeated.bind(null,(function(e){return"rect("+e+")"}),(function(t,n){return"auto"==t||"auto"==n?[!0,!1,function(r){var i=r?t:n;if("auto"==i)return"auto";var o=e.mergeDimensions(i,i);return o[2](o[0])}]:e.mergeDimensions(t,n)}),", ");e.parseBox=r,e.mergeBoxes=i,e.addPropertiesHandler(r,i,["clip"])}(r),function(e,t){function n(e){return function(t){var n=0;return e.map((function(e){return e===c?t[n++]:e}))}}function r(e){return e}function i(t){if("none"==(t=t.toLowerCase().trim()))return[];for(var n,r=/\s*(\w+)\(([^)]*)\)/g,i=[],o=0;n=r.exec(t);){if(n.index!=o)return;o=n.index+n[0].length;var a=n[1],s=d[a];if(!s)return;var u=n[2].split(","),c=s[0];if(c.length<u.length)return;for(var h=[],p=0;p<c.length;p++){var m,g=u[p],v=c[p];if(void 0===(m=g?{A:function(t){return"0"==t.trim()?f:e.parseAngle(t)},N:e.parseNumber,T:e.parseLengthOrPercent,L:e.parseLength}[v.toUpperCase()](g):{a:f,n:h[0],t:l}[v]))return;h.push(m)}if(i.push({t:a,d:h}),r.lastIndex==t.length)return i}}function o(e){return e.toFixed(6).replace(".000000","")}function a(t,n){if(t.decompositionPair!==n){t.decompositionPair=n;var r=e.makeMatrixDecomposition(t)}if(n.decompositionPair!==t){n.decompositionPair=t;var i=e.makeMatrixDecomposition(n)}return null==r[0]||null==i[0]?[[!1],[!0],function(e){return e?n[0].d:t[0].d}]:(r[0].push(0),i[0].push(1),[r,i,function(t){var n=e.quat(r[0][3],i[0][3],t[5]);return e.composeMatrix(t[0],t[1],t[2],n,t[4]).map(o).join(",")}])}function s(e){return e.replace(/[xy]/,"")}function u(e){return e.replace(/(x|y|z|3d)?$/,"3d")}var c=null,l={px:0},f={deg:0},d={matrix:["NNNNNN",[c,c,0,0,c,c,0,0,0,0,1,0,c,c,0,1],r],matrix3d:["NNNNNNNNNNNNNNNN",r],rotate:["A"],rotatex:["A"],rotatey:["A"],rotatez:["A"],rotate3d:["NNNA"],perspective:["L"],scale:["Nn",n([c,c,1]),r],scalex:["N",n([c,1,1]),n([c,1])],scaley:["N",n([1,c,1]),n([1,c])],scalez:["N",n([1,1,c])],scale3d:["NNN",r],skew:["Aa",null,r],skewx:["A",null,n([c,f])],skewy:["A",null,n([f,c])],translate:["Tt",n([c,c,l]),r],translatex:["T",n([c,l,l]),n([c,l])],translatey:["T",n([l,c,l]),n([l,c])],translatez:["L",n([l,l,c])],translate3d:["TTL",r]};e.addPropertiesHandler(i,(function(t,n){var r=e.makeMatrixDecomposition&&!0,i=!1;if(!t.length||!n.length){t.length||(i=!0,t=n,n=[]);for(var o=0;o<t.length;o++){var c=t[o].t,l=t[o].d,f="scale"==c.substr(0,5)?1:0;n.push({t:c,d:l.map((function(e){if("number"==typeof e)return f;var t={};for(var n in e)t[n]=f;return t}))})}}var h=function(e,t){return"perspective"==e&&"perspective"==t||("matrix"==e||"matrix3d"==e)&&("matrix"==t||"matrix3d"==t)},p=[],m=[],g=[];if(t.length!=n.length){if(!r)return;p=[(x=a(t,n))[0]],m=[x[1]],g=[["matrix",[x[2]]]]}else for(o=0;o<t.length;o++){var v=t[o].t,b=n[o].t,_=t[o].d,y=n[o].d,T=d[v],E=d[b];if(h(v,b)){if(!r)return;var x=a([t[o]],[n[o]]);p.push(x[0]),m.push(x[1]),g.push(["matrix",[x[2]]])}else{if(v==b)c=v;else if(T[2]&&E[2]&&s(v)==s(b))c=s(v),_=T[2](_),y=E[2](y);else{if(!T[1]||!E[1]||u(v)!=u(b)){if(!r)return;p=[(x=a(t,n))[0]],m=[x[1]],g=[["matrix",[x[2]]]];break}c=u(v),_=T[1](_),y=E[1](y)}for(var w=[],S=[],N=[],k=0;k<_.length;k++)x=("number"==typeof _[k]?e.mergeNumbers:e.mergeDimensions)(_[k],y[k]),w[k]=x[0],S[k]=x[1],N.push(x[2]);p.push(w),m.push(S),g.push([c,N])}}if(i){var A=p;p=m,m=A}return[p,m,function(e){return e.map((function(e,t){var n=e.map((function(e,n){return g[t][1][n](e)})).join(",");return"matrix"==g[t][0]&&16==n.split(",").length&&(g[t][0]="matrix3d"),g[t][0]+"("+n+")"})).join(" ")}]}),["transform"]),e.transformToSvgMatrix=function(t){var n=e.transformListToMatrix(i(t));return"matrix("+o(n[0])+" "+o(n[1])+" "+o(n[4])+" "+o(n[5])+" "+o(n[12])+" "+o(n[13])+")"}}(r),function(e){function t(t){return t=100*Math.round(t/100),400===(t=e.clamp(100,900,t))?"normal":700===t?"bold":String(t)}e.addPropertiesHandler((function(e){var t=Number(e);if(!(isNaN(t)||t<100||t>900||t%100!=0))return t}),(function(e,n){return[e,n,t]}),["font-weight"])}(r),function(e){function t(e){var t={};for(var n in e)t[n]=-e[n];return t}function n(t){return e.consumeToken(/^(left|center|right|top|bottom)\b/i,t)||e.consumeLengthOrPercent(t)}function r(t,r){var i=e.consumeRepeated(n,/^/,r);if(i&&""==i[1]){var a=i[0];if(a[0]=a[0]||"center",a[1]=a[1]||"center",3==t&&(a[2]=a[2]||{px:0}),a.length==t){if(/top|bottom/.test(a[0])||/left|right/.test(a[1])){var s=a[0];a[0]=a[1],a[1]=s}if(/left|right|center|Object/.test(a[0])&&/top|bottom|center|Object/.test(a[1]))return a.map((function(e){return"object"==typeof e?e:o[e]}))}}}function i(r){var i=e.consumeRepeated(n,/^/,r);if(i){for(var a=i[0],s=[{"%":50},{"%":50}],u=0,c=!1,l=0;l<a.length;l++){var f=a[l];"string"==typeof f?(c=/bottom|right/.test(f),s[u={left:0,right:0,center:u,top:1,bottom:1}[f]]=o[f],"center"==f&&u++):(c&&((f=t(f))["%"]=(f["%"]||0)+100),s[u]=f,u++,c=!1)}return[s,i[1]]}}var o={left:{"%":0},center:{"%":50},right:{"%":100},top:{"%":0},bottom:{"%":100}},a=e.mergeNestedRepeated.bind(null,e.mergeDimensions," ");e.addPropertiesHandler(r.bind(null,3),a,["transform-origin"]),e.addPropertiesHandler(r.bind(null,2),a,["perspective-origin"]),e.consumePosition=i,e.mergeOffsetList=a;var s=e.mergeNestedRepeated.bind(null,a,", ");e.addPropertiesHandler((function(t){var n=e.consumeRepeated(i,/^,/,t);if(n&&""==n[1])return n[0]}),s,["background-position","object-position"])}(r),function(e){var t=e.consumeParenthesised.bind(null,e.parseLengthOrPercent),n=e.consumeRepeated.bind(void 0,t,/^/),r=e.mergeNestedRepeated.bind(void 0,e.mergeDimensions," "),i=e.mergeNestedRepeated.bind(void 0,r,",");e.addPropertiesHandler((function(r){var i=e.consumeToken(/^circle/,r);if(i&&i[0])return["circle"].concat(e.consumeList([e.ignore(e.consumeToken.bind(void 0,/^\(/)),t,e.ignore(e.consumeToken.bind(void 0,/^at/)),e.consumePosition,e.ignore(e.consumeToken.bind(void 0,/^\)/))],i[1]));var o=e.consumeToken(/^ellipse/,r);if(o&&o[0])return["ellipse"].concat(e.consumeList([e.ignore(e.consumeToken.bind(void 0,/^\(/)),n,e.ignore(e.consumeToken.bind(void 0,/^at/)),e.consumePosition,e.ignore(e.consumeToken.bind(void 0,/^\)/))],o[1]));var a=e.consumeToken(/^polygon/,r);return a&&a[0]?["polygon"].concat(e.consumeList([e.ignore(e.consumeToken.bind(void 0,/^\(/)),e.optional(e.consumeToken.bind(void 0,/^nonzero\s*,|^evenodd\s*,/),"nonzero,"),e.consumeSizePairList,e.ignore(e.consumeToken.bind(void 0,/^\)/))],a[1])):void 0}),(function(t,n){if(t[0]===n[0])return"circle"==t[0]?e.mergeList(t.slice(1),n.slice(1),["circle(",e.mergeDimensions," at ",e.mergeOffsetList,")"]):"ellipse"==t[0]?e.mergeList(t.slice(1),n.slice(1),["ellipse(",e.mergeNonNegativeSizePair," at ",e.mergeOffsetList,")"]):"polygon"==t[0]&&t[1]==n[1]?e.mergeList(t.slice(2),n.slice(2),["polygon(",t[1],i,")"]):void 0}),["shape-outside"])}(r),function(e,t){function n(e,t){t.concat([e]).forEach((function(t){t in document.documentElement.style&&(r[e]=t),i[t]=e}))}var r={},i={};n("transform",["webkitTransform","msTransform"]),n("transformOrigin",["webkitTransformOrigin"]),n("perspective",["webkitPerspective"]),n("perspectiveOrigin",["webkitPerspectiveOrigin"]),e.propertyName=function(e){return r[e]||e},e.unprefixedPropertyName=function(e){return i[e]||e}}(r)}(),function(){if(void 0===document.createElement("div").animate([]).oncancel){if(window.performance&&performance.now)var e=function(){return performance.now()};else e=function(){return Date.now()};var t=function(e,t,n){this.target=e,this.currentTime=t,this.timelineTime=n,this.type="cancel",this.bubbles=!1,this.cancelable=!1,this.currentTarget=e,this.defaultPrevented=!1,this.eventPhase=Event.AT_TARGET,this.timeStamp=Date.now()},n=window.Element.prototype.animate;window.Element.prototype.animate=function(r,i){var o=n.call(this,r,i);o._cancelHandlers=[],o.oncancel=null;var a=o.cancel;o.cancel=function(){a.call(this);var n=new t(this,null,e()),r=this._cancelHandlers.concat(this.oncancel?[this.oncancel]:[]);setTimeout((function(){r.forEach((function(e){e.call(n.target,n)}))}),0)};var s=o.addEventListener;o.addEventListener=function(e,t){"function"==typeof t&&"cancel"==e?this._cancelHandlers.push(t):s.call(this,e,t)};var u=o.removeEventListener;return o.removeEventListener=function(e,t){if("cancel"==e){var n=this._cancelHandlers.indexOf(t);n>=0&&this._cancelHandlers.splice(n,1)}else u.call(this,e,t)},o}}}(),function(e){var t=document.documentElement,n=null,r=!1;try{var i="0"==getComputedStyle(t).getPropertyValue("opacity")?"1":"0";(n=t.animate({opacity:[i,i]},{duration:1})).currentTime=0,r=getComputedStyle(t).getPropertyValue("opacity")==i}catch(e){}finally{n&&n.cancel()}if(!r){var o=window.Element.prototype.animate;window.Element.prototype.animate=function(t,n){return window.Symbol&&Symbol.iterator&&Array.prototype.from&&t[Symbol.iterator]&&(t=Array.from(t)),Array.isArray(t)||null===t||(t=e.convertToArrayForm(t)),o.call(this,t,n)}}}(n)},function(e,t,n){"use strict";n.r(t);var r,i,o,a;n(0);!function(e){e.KEY_PREFIX="nj",e.DATA_API_KEY=".data-api"}(r||(r={})),function(e){e.mouseenter="mouseover",e.mouseleave="mouseout"}(i||(i={})),function(e){e.click="click",e.close="close",e.closed="closed",e.hide="hide",e.hidden="hidden",e.input="input",e.keydown="keydown",e.keyup="keyup",e.onchange="onchange",e.show="show",e.shown="shown",e.inserted="inserted",e.focusin="focusin",e.focusout="focusout",e.mouseenter="mouseenter",e.mouseleave="mouseleave",e.mouseup="mouseup",e.mousedown="mousedown"}(o||(o={})),function(e){e.click="click",e.dblclick="dblclick",e.mouseup="mouseup",e.mousedown="mousedown",e.contextmenu="contextmenu",e.mousewheel="mousewheel",e.DOMMouseScroll="DOMMouseScroll",e.mouseover="mouseover",e.mouseout="mouseout",e.mousemove="mousemove",e.selectstart="selectstart",e.selectend="selectend",e.keydown="keydown",e.keypress="keypress",e.keyup="keyup",e.orientationchange="orientationchange",e.touchstart="touchstart",e.touchmove="touchmove",e.touchend="touchend",e.touchcancel="touchcancel",e.pointerdown="pointerdown",e.pointermove="pointermove",e.pointerup="pointerup",e.pointerleave="pointerleave",e.pointercancel="pointercancel",e.gesturestart="gesturestart",e.gesturechange="gesturechange",e.gestureend="gestureend",e.focus="focus",e.blur="blur",e.change="change",e.reset="reset",e.select="select",e.submit="submit",e.focusin="focusin",e.focusout="focusout",e.load="load",e.unload="unload",e.beforeunload="beforeunload",e.resize="resize",e.move="move",e.DOMContentLoaded="DOMContentLoaded",e.readystatechange="readystatechange",e.error="error",e.abort="abort",e.scroll="scroll"}(a||(a={})),window.NJStore=window.NJStore||[];const s=(()=>{const e=window.NJStore;return{set(t,n,r){void 0===t.key&&(t.key={key:n,id:e.length}),e[t.key.id]=r},get:(t,n)=>(t.key&&!n.id&&(n=t.key),n&&n.id?e[n.id]:null),delete(t,n){if(void 0===t.key)return;const r=t.key;r.key===n&&(delete e[r.id],delete t.key)}}})();var u={setData(e,t,n){s.set(e,t,n)},getData:(e,t)=>s.get(e,t),removeData(e,t){s.delete(e,t)}};class c{static getUidEvent(e,t){return t&&"".concat(t,"::").concat(c.uidEvent++)||e.uidEvent||c.uidEvent++}static getEvent(e){const t=c.getUidEvent(e);return e.uidEvent=t,c.EVENTREGISTRY[t]=c.EVENTREGISTRY[t]||{}}static fixEvent(e,t){null===e.which&&c.KEYEVENT_REGEX.test(e.type)&&(e.which=null!==e.charCode?e.charCode:e.keyCode),e.delegateTarget=t}static njHandler(e,t){const n=r=>(c.fixEvent(r,e),n.oneOff&&c.off(e,r.type,t),t.apply(e,[r]));return n}static njDelegationHandler(e,t,n){const r=i=>{const o=e.querySelectorAll(t);for(let t=i.target;t&&t!==this;t=t.parentNode)for(let a=o.length;a>=0;a--)if(o[a]===t)return c.fixEvent(i,t),r.oneOff&&c.off(e,i.type,n),n.apply(t,[i]);return null};return r}static findHandler(e,t,n=null){for(const r in e){if(!Object.prototype.hasOwnProperty.call(e,r))continue;const i=e[r];if(i.originalHandler===t&&i.delegationSelector===n)return e[r]}return null}static normalizeParams(e,t,n){const r="string"==typeof t,o=r?n:t;let s=e.replace(c.STRIPNAME_REGEX,"");const u=i[s];u&&(s=u);return"string"==typeof a[s]||(s=e),[r,o,s]}static addHandler(e,t,n,r,i){if("string"!=typeof t||null==e)return;n||(n=r,r=null);const o=c.getEvent(e);for(const a of t.split(" ")){const[t,s,u]=c.normalizeParams(a,n,r),l=o[u]||(o[u]={}),f=c.findHandler(l,s,t?n:null);if(f)return void(f.oneOff=f.oneOff&&i);const d=c.getUidEvent(s,a.replace(c.NAMESPACE_REGEX,"")),h=t?c.njDelegationHandler(e,n,r):c.njHandler(e,n);h.delegationSelector=t?n:null,h.originalHandler=s,h.oneOff=i,h.uidEvent=d,l[d]=h,e.addEventListener(u,h,t)}}static removeHandler(e,t,n,r,i){const o=c.findHandler(t[n],r,i);null!==o&&(e.removeEventListener(n,o,Boolean(i)),delete t[n][o.uidEvent])}static removeNamespacedHandlers(e,t,n,r){const i=t[n]||{};for(const o in i)if(Object.prototype.hasOwnProperty.call(i,o)&&o.indexOf(r)>-1){const r=i[o];c.removeHandler(e,t,n,r.originalHandler,r.delegationSelector)}}static on(e,t,n,r){c.addHandler(e,t,n,r,!1)}static one(e,t,n,r){c.addHandler(e,t,n,r,!0)}static off(e,t,n,r){if("string"!=typeof t||null==e)return;const[i,o,a]=c.normalizeParams(t,n,r),s=a!==t,u=c.getEvent(e);if(void 0!==o){if(!u||!u[a])return;return void c.removeHandler(e,u,a,o,i?n:null)}if("."===t.charAt(0))for(const n in u)Object.prototype.hasOwnProperty.call(u,n)&&c.removeNamespacedHandlers(e,u,n,t.substr(1));const l=u[a]||{};for(const n in l){if(!Object.prototype.hasOwnProperty.call(l,n))continue;const r=n.replace(c.STRIPUID_REGEX,"");if(!s||t.indexOf(r)>-1){const t=l[n];c.removeHandler(e,u,a,t.originalHandler,t.delegationSelector)}}}static trigger(e,t,n){if("string"!=typeof t||null==e)return null;const r=t.replace(c.STRIPNAME_REGEX,""),i="string"==typeof a[r];let o=null;return i?(o=document.createEvent("HTMLEvents"),o.initEvent(r,true,!0)):o=new window.CustomEvent(t,{bubbles:true,cancelable:!0}),void 0!==n&&Object.keys(n).forEach(e=>{Object.defineProperty(o,e,{get:()=>n[e]})}),e.dispatchEvent(o),o}}c.NAMESPACE_REGEX=/[^.]*(?=\..*)\.|.*/,c.STRIPNAME_REGEX=/\..*/,c.KEYEVENT_REGEX=/^key/,c.STRIPUID_REGEX=/::\d+$/,c.EVENTREGISTRY={},c.uidEvent=1;const l={getDataAttributes(e){if(null==e)return{};let t={};if(Object.getOwnPropertyDescriptor(HTMLElement.prototype,"dataset"))t=Object.assign({},e.dataset);else for(let n=0;n<e.attributes.length;n++){const r=e.attributes[n];if(-1!==r.nodeName.indexOf("data-")){const e=r.nodeName.substring("data-".length).replace(/-./g,e=>e.charAt(1).toUpperCase());t[e]=r.nodeValue}}return Object.keys(t).forEach(e=>{var n;t[e]="true"===(n=t[e])||"false"!==n&&("null"===n?null:n===Number(n).toString()?Number(n):""===n?null:n)}),t},toggleClass(e,t){null!=e&&(e.classList.contains(t)?e.classList.remove(t):e.classList.add(t))},mergeExtended(e,t,n){for(const r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n&&"[object Object]"===Object.prototype.toString.call(t[r])?e[r]=l.extend(e[r],t[r]):e[r]=t[r]);return e},extend(...e){let t={},n=!1,r=0;for("[object Boolean]"===Object.prototype.toString.call(e[0])&&(n=e[0],r++);r<e.length;r++)t=l.mergeExtended(t,e[r],n);return t},createHtmlNode:e=>(new DOMParser).parseFromString(e,"text/html").body.firstChild};var f=l;class d extends HTMLElement{constructor(...e){super(),this.components=e,this.instances=[],this.parentNodes=[]}connectedCallback(){this.setup()}disconnectedCallback(){this.instances.forEach(e=>{e.dispose()}),this.instances=null}setup(){let e=this;for(;e.parentNode;)e=e.parentNode,this.parentNodes.push(e);[this,...this.parentNodes].some(e=>e.nextSibling)||"loading"!==document.readyState?this.childrenAvailableCallback():(this.mutationObserver=new MutationObserver(()=>{([this,...this.parentNodes].some(e=>e.nextSibling)||"loading"!==document.readyState)&&(this.childrenAvailableCallback(),this.mutationObserver.disconnect())}),this.mutationObserver.observe(this,{childList:!0}))}childrenAvailableCallback(){this.components.forEach(e=>{const t=this.querySelector(e.SELECTOR.default);if(!t)throw new Error("Default selector of ".concat(e.name," not found: ").concat(e.SELECTOR.default));this.instances.push(new e(t))})}static init(e){if(!e.TAG_NAME)throw new Error("TAG_NAME property of ".concat(e.name," class doesn't exists"));customElements.define(e.TAG_NAME,e)}}n.d(t,"default",(function(){return h})),n.d(t,"FabWC",(function(){return p}));class h extends class{constructor(e,t,n={}){!t||t instanceof Element||console.error(Error("".concat(t," is not an HTML Element"))),this.options=n,this.element=t}static init(e,t={},n){const r=[],i=document.querySelectorAll(n);for(let n=0;n<i.length;n++){const o=i[n];if(!o.key||o.key!==e.DATA_KEY){const a=new e(i[n],t);o.key||u.setData(i[n],e.DATA_KEY,a),r.push(a)}}return r}}{constructor(e,t){super(h,e),this.buttons=this.element.querySelectorAll(h.SELECTOR.button),this.items=this.element.querySelectorAll(h.SELECTOR.item),this.setOptions(t),this.element=e,this.setListeners(),u.setData(e,h.DATA_KEY,this)}open(){let e;const t=this.options.menuPosition,n=h.DURATION_PER_ITEM*this.items.length,r=this.buttons[0];f.toggleClass(r,h.OPEN_CLASS);const i=r.classList.contains(h.OPEN_CLASS),o="top"===t||"bottom"===t?"translateY":"translateX",a="top"===t||"left"===t?"-":"";for(e=0;e<this.items.length;e++){const t=(e+1)*h.ITEMS_HEIGHT+1,r=[{transform:"".concat(o,"(0)"),opacity:0},{transform:"".concat(o,"(").concat(a).concat(t,"rem)"),opacity:1}],s=i?r:r.reverse(),u=n-h.DURATION_PER_ITEM*e,c=h.STAGGER_DELAY*e;this.items[e].animate(s,{duration:u,delay:c,fill:"forwards"})}}setListeners(){const e=h.EVENT.click;c.on(this.element,e,this.options.selector,()=>this.open())}setOptions(e){const t=this.element.getAttribute("data-placement");this.options={menuPosition:t},this.options=f.extend(this.options,e),["top","right","bottom","left"].indexOf(this.options.menuPosition)<0&&(this.options.menuPosition="top")}getOptions(){return this.options}dispose(){u.removeData(this.element,h.DATA_KEY),this.element=null}static getInstance(e){return u.getData(e,h.DATA_KEY)}static init(e={}){return super.init(this,e,h.SELECTOR.default)}}h.NAME="".concat(r.KEY_PREFIX,"-fab-menu"),h.DATA_KEY="".concat(r.KEY_PREFIX,".fab"),h.EVENT_KEY=".".concat(h.DATA_KEY),h.SELECTOR={default:".".concat(h.NAME),button:".".concat(r.KEY_PREFIX,"-fab"),item:".".concat(r.KEY_PREFIX,"-fab__item")},h.EVENT={click:"".concat(o.click).concat(h.EVENT_KEY),mouseenter:"".concat(o.mouseenter).concat(h.EVENT_KEY),mouseleave:"".concat(o.mouseleave).concat(h.EVENT_KEY)},h.DURATION_PER_ITEM=35,h.ITEMS_HEIGHT=3.8,h.OPEN_CLASS="active",h.STAGGER_DELAY=70;class p extends d{constructor(){super(h)}static init(){d.init(p)}}p.TAG_NAME=h.NAME}]).default}));

@@ -11,3 +11,3 @@ /**

protected static readonly DATA_KEY: string;
protected static readonly SELECTOR: {
static readonly SELECTOR: {
default: string;

@@ -14,0 +14,0 @@ input: string;

@@ -7,3 +7,6 @@ export default class Form {

static Autocomplete: object;
static init(optionsPassword?: {}, optionsSearch?: {}, optionsText?: {}, optionsTextarea?: {}): void;
protected static readonly SELECTOR: {
default: string;
};
static init(optionsPassword?: {}, optionsSearch?: {}, optionsText?: {}, optionsTextarea?: {}): Form[];
}

@@ -10,0 +13,0 @@ export declare class FormWC {

@@ -1,1 +0,1 @@

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("Form",[],t):"object"==typeof exports?exports.Form=t():e.Form=t()}(window,(function(){return function(e){var t={};function n(s){if(t[s])return t[s].exports;var o=t[s]={i:s,l:!1,exports:{}};return e[s].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,s){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:s})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var s=Object.create(null);if(n.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(s,o,function(t){return e[t]}.bind(null,o));return s},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";n.r(t);const s=(()=>{const e={};let t=1;return{set(n,s,o){void 0===n.key&&(n.key={key:s,id:t},t++),e[n.key.id]=o},get(t,n){if(!t||void 0===t.key)return null;const s=t.key;return s.key===n?e[s.id]:null},delete(t,n){if(void 0===t.key)return;const s=t.key;s.key===n&&(delete e[s.id],delete t.key)}}})();var o,r,i,a,l={setData(e,t,n){s.set(e,t,n)},getData:(e,t)=>s.get(e,t),removeData(e,t){s.delete(e,t)}};class c{constructor(e,t,n={}){!t||t instanceof Element||console.error(Error("".concat(t," is not an HTML Element"))),this.options=n,this.element=t}static init(e,t={},n){const s=[],o=document.querySelectorAll(n);for(let n=0;n<o.length;n++){const r=o[n];if(!r.key||r.key!==e.DATA_KEY){const i=new e(o[n],t);r.key||l.setData(o[n],e.DATA_KEY,i),s.push(i)}}return s}}!function(e){e.KEY_PREFIX="nj",e.DATA_API_KEY=".data-api"}(o||(o={})),function(e){e.mouseenter="mouseover",e.mouseleave="mouseout"}(r||(r={})),function(e){e.click="click",e.close="close",e.closed="closed",e.hide="hide",e.hidden="hidden",e.input="input",e.keydown="keydown",e.keyup="keyup",e.onchange="onchange",e.show="show",e.shown="shown",e.inserted="inserted",e.focusin="focusin",e.focusout="focusout",e.mouseenter="mouseenter",e.mouseleave="mouseleave",e.mouseup="mouseup",e.mousedown="mousedown"}(i||(i={})),function(e){e.click="click",e.dblclick="dblclick",e.mouseup="mouseup",e.mousedown="mousedown",e.contextmenu="contextmenu",e.mousewheel="mousewheel",e.DOMMouseScroll="DOMMouseScroll",e.mouseover="mouseover",e.mouseout="mouseout",e.mousemove="mousemove",e.selectstart="selectstart",e.selectend="selectend",e.keydown="keydown",e.keypress="keypress",e.keyup="keyup",e.orientationchange="orientationchange",e.touchstart="touchstart",e.touchmove="touchmove",e.touchend="touchend",e.touchcancel="touchcancel",e.pointerdown="pointerdown",e.pointermove="pointermove",e.pointerup="pointerup",e.pointerleave="pointerleave",e.pointercancel="pointercancel",e.gesturestart="gesturestart",e.gesturechange="gesturechange",e.gestureend="gestureend",e.focus="focus",e.blur="blur",e.change="change",e.reset="reset",e.select="select",e.submit="submit",e.focusin="focusin",e.focusout="focusout",e.load="load",e.unload="unload",e.beforeunload="beforeunload",e.resize="resize",e.move="move",e.DOMContentLoaded="DOMContentLoaded",e.readystatechange="readystatechange",e.error="error",e.abort="abort",e.scroll="scroll"}(a||(a={}));class u extends HTMLElement{constructor(...e){super(),this.components=e,this.instances=[],this.parentNodes=[]}connectedCallback(){this.setup()}disconnectedCallback(){this.instances.forEach(e=>{e.dispose()}),this.instances=null}setup(){let e=this;for(;e.parentNode;)e=e.parentNode,this.parentNodes.push(e);[this,...this.parentNodes].some(e=>e.nextSibling)||"loading"!==document.readyState?this.childrenAvailableCallback():(this.mutationObserver=new MutationObserver(()=>{([this,...this.parentNodes].some(e=>e.nextSibling)||"loading"!==document.readyState)&&(this.childrenAvailableCallback(),this.mutationObserver.disconnect())}),this.mutationObserver.observe(this,{childList:!0}))}childrenAvailableCallback(){this.components.forEach(e=>{const t=this.querySelector(e.SELECTOR.default);if(!t)throw new Error("Default selector of ".concat(e.name," not found: ").concat(e.SELECTOR.default));this.instances.push(new e(t))})}static init(e){if(!e.TAG_NAME)throw new Error("TAG_NAME property of ".concat(e.name," class doesn't exists"));customElements.define(e.TAG_NAME,e)}}class d extends c{constructor(e,t={}){if(super(d,e),this.options={autocomplete:!0,limit:!1},this.onInputChange=()=>{this.list=this.dataList},this.onKeyDown=e=>{const t=this.element.querySelector(d.SELECTOR.list),n=this.element.querySelectorAll("".concat(d.SELECTOR.listGroup,"> *")),s=parseInt(t.dataset.index,10),o=this.element.querySelector(d.SELECTOR.input),r=()=>{t.style.display="block",o.setAttribute("aria-expanded","true")},i=()=>{delete t.dataset.index,t.style.setProperty("display",""),o.setAttribute("aria-expanded","false")};switch(e.key){case"ArrowUp":e.preventDefault(),r(),t.dataset.index&&(t.dataset.index=(s-1<0?n.length-1:s-1).toString(),n[t.dataset.index].focus());break;case"ArrowDown":e.preventDefault(),r(),t.dataset.index?t.dataset.index=(s<n.length-1?s+1:0).toString():t.dataset.index="0",n[t.dataset.index].focus();break;case"Escape":i(),o.focus();break;case"Enter":i()}},this.onSelectListItem=e=>{const{name:t,value:n}=e.target.dataset,s=this.element.querySelector(d.SELECTOR.input);t&&(s.value=t),n&&(this.root.dataset.value=n,s.dataset.value=n),this.onUserSelectItem({name:t,value:n})},e.querySelector(d.SELECTOR.listGroup)){const t=e.querySelector("".concat(d.SELECTOR.listGroup)).innerHTML;this.listFragment=document.createRange().createContextualFragment(t),this.root=e.parentElement.dataset.list||e.parentElement.dataset.options?e.parentElement:e,this.root.dataset.list&&(this.dataList=JSON.parse(this.root.dataset.list),this.list=this.dataList),this.root.dataset.options&&(this.options=Object.assign(Object.assign({},this.options),JSON.parse(this.root.dataset.options))),this.root[d.NAME.replace(/-/g,"_")]=this,e.querySelector(d.SELECTOR.list).addEventListener("click",this.onSelectListItem)}e.querySelector(d.SELECTOR.input).addEventListener("input",this.onInputChange),e.addEventListener("keydown",this.onKeyDown),l.setData(e,d.DATA_KEY,this)}static init(e={}){return super.init(this,e,d.SELECTOR.default)}dispose(){this.element.querySelector(d.SELECTOR.list).removeEventListener("click",this.onSelectListItem),this.element.querySelector(d.SELECTOR.input).removeEventListener("input",this.onInputChange),l.removeData(this.element,d.DATA_KEY),this.element=null}set data(e){this.dataList=e}get data(){return this.dataList}get list(){return this.currentList}set list(e){const t=this.element.querySelector(d.SELECTOR.input).value;if(e.length){const n=document.createDocumentFragment();this.currentList=[],e.forEach(({name:e,value:s})=>{if((!this.options.autocomplete||d.compareText(e,t))&&(!this.options.limit||n.children.length<this.options.limit)){const t=this.listFragment.firstElementChild;t.setAttribute("data-value",s),t.setAttribute("data-name",e),t.textContent=e,n.appendChild(this.listFragment.cloneNode(!0)),this.currentList.push({name:e,value:s})}}),this.element.querySelector("".concat(d.SELECTOR.listGroup)).textContent="",this.element.querySelector(d.SELECTOR.listGroup).appendChild(n)}}static compareText(e,t){e=e.normalize("NFD").replace(/[\u0300-\u036f]/g,""),t=(t=t.normalize("NFD").replace(/[\u0300-\u036f]/g,"")).replace(/\(|\)|\\/gi,"");const n=new RegExp(t,"gi");return-1!==e.search(n)}onUserSelectItem({name:e,value:t}){}static getInstance(e){return l.getData(e,d.DATA_KEY)}}d.NAME="".concat(o.KEY_PREFIX,"-form-autocomplete"),d.DATA_KEY="".concat(o.KEY_PREFIX,".autocomplete"),d.SELECTOR={default:".".concat(d.NAME),input:"input",list:".".concat(d.NAME,"__list"),listGroup:".".concat(d.NAME,"__list > :first-child")};class p extends u{constructor(){super(d)}static init(){u.init(p)}}p.TAG_NAME=d.NAME;class E{static getUidEvent(e,t){return t&&"".concat(t,"::").concat(E.uidEvent++)||e.uidEvent||E.uidEvent++}static getEvent(e){const t=E.getUidEvent(e);return e.uidEvent=t,E.EVENTREGISTRY[t]=E.EVENTREGISTRY[t]||{}}static fixEvent(e,t){null===e.which&&E.KEYEVENT_REGEX.test(e.type)&&(e.which=null!==e.charCode?e.charCode:e.keyCode),e.delegateTarget=t}static njHandler(e,t){const n=s=>(E.fixEvent(s,e),n.oneOff&&E.off(e,s.type,t),t.apply(e,[s]));return n}static njDelegationHandler(e,t,n){const s=o=>{const r=e.querySelectorAll(t);for(let t=o.target;t&&t!==this;t=t.parentNode)for(let i=r.length;i>=0;i--)if(r[i]===t)return E.fixEvent(o,t),s.oneOff&&E.off(e,o.type,n),n.apply(t,[o]);return null};return s}static findHandler(e,t,n=null){for(const s in e){if(!Object.prototype.hasOwnProperty.call(e,s))continue;const o=e[s];if(o.originalHandler===t&&o.delegationSelector===n)return e[s]}return null}static normalizeParams(e,t,n){const s="string"==typeof t,o=s?n:t;let i=e.replace(E.STRIPNAME_REGEX,"");const l=r[i];l&&(i=l);return"string"==typeof a[i]||(i=e),[s,o,i]}static addHandler(e,t,n,s,o){if("string"!=typeof t||null==e)return;n||(n=s,s=null);const r=E.getEvent(e);for(const i of t.split(" ")){const[t,a,l]=E.normalizeParams(i,n,s),c=r[l]||(r[l]={}),u=E.findHandler(c,a,t?n:null);if(u)return void(u.oneOff=u.oneOff&&o);const d=E.getUidEvent(a,i.replace(E.NAMESPACE_REGEX,"")),p=t?E.njDelegationHandler(e,n,s):E.njHandler(e,n);p.delegationSelector=t?n:null,p.originalHandler=a,p.oneOff=o,p.uidEvent=d,c[d]=p,e.addEventListener(l,p,t)}}static removeHandler(e,t,n,s,o){const r=E.findHandler(t[n],s,o);null!==r&&(e.removeEventListener(n,r,Boolean(o)),delete t[n][r.uidEvent])}static removeNamespacedHandlers(e,t,n,s){const o=t[n]||{};for(const r in o)if(Object.prototype.hasOwnProperty.call(o,r)&&r.indexOf(s)>-1){const s=o[r];E.removeHandler(e,t,n,s.originalHandler,s.delegationSelector)}}static on(e,t,n,s){E.addHandler(e,t,n,s,!1)}static one(e,t,n,s){E.addHandler(e,t,n,s,!0)}static off(e,t,n,s){if("string"!=typeof t||null==e)return;const[o,r,i]=E.normalizeParams(t,n,s),a=i!==t,l=E.getEvent(e);if(void 0!==r){if(!l||!l[i])return;return void E.removeHandler(e,l,i,r,o?n:null)}if("."===t.charAt(0))for(const n in l)Object.prototype.hasOwnProperty.call(l,n)&&E.removeNamespacedHandlers(e,l,n,t.substr(1));const c=l[i]||{};for(const n in c){if(!Object.prototype.hasOwnProperty.call(c,n))continue;const s=n.replace(E.STRIPUID_REGEX,"");if(!a||t.indexOf(s)>-1){const t=c[n];E.removeHandler(e,l,i,t.originalHandler,t.delegationSelector)}}}static trigger(e,t,n){if("string"!=typeof t||null==e)return null;const s=t.replace(E.STRIPNAME_REGEX,""),o="string"==typeof a[s];let r=null;return o?(r=document.createEvent("HTMLEvents"),r.initEvent(s,true,!0)):r=new window.CustomEvent(t,{bubbles:true,cancelable:!0}),void 0!==n&&Object.keys(n).forEach(e=>{Object.defineProperty(r,e,{get:()=>n[e]})}),e.dispatchEvent(r),r}}E.NAMESPACE_REGEX=/[^.]*(?=\..*)\.|.*/,E.STRIPNAME_REGEX=/\..*/,E.KEYEVENT_REGEX=/^key/,E.STRIPUID_REGEX=/::\d+$/,E.EVENTREGISTRY={},E.uidEvent=1;const h={getDataAttributes(e){if(null==e)return{};let t={};if(Object.getOwnPropertyDescriptor(HTMLElement.prototype,"dataset"))t=Object.assign({},e.dataset);else for(let n=0;n<e.attributes.length;n++){const s=e.attributes[n];if(-1!==s.nodeName.indexOf("data-")){const e=s.nodeName.substring("data-".length).replace(/-./g,e=>e.charAt(1).toUpperCase());t[e]=s.nodeValue}}return Object.keys(t).forEach(e=>{var n;t[e]="true"===(n=t[e])||"false"!==n&&("null"===n?null:n===Number(n).toString()?Number(n):""===n?null:n)}),t},toggleClass(e,t){null!=e&&(e.classList.contains(t)?e.classList.remove(t):e.classList.add(t))},mergeExtended(e,t,n){for(const s in t)Object.prototype.hasOwnProperty.call(t,s)&&(n&&"[object Object]"===Object.prototype.toString.call(t[s])?e[s]=h.extend(e[s],t[s]):e[s]=t[s]);return e},extend(...e){let t={},n=!1,s=0;for("[object Boolean]"===Object.prototype.toString.call(e[0])&&(n=e[0],s++);s<e.length;s++)t=h.mergeExtended(t,e[s],n);return t},createHtmlNode:e=>(new DOMParser).parseFromString(e,"text/html").body.firstChild};var m=h;class f extends c{constructor(e,t={}){super(f,e,m.extend(!0,f.DEFAULT_OPTIONS,t)),this.setListeners(),l.setData(e,f.DATA_KEY,this)}static init(e={}){return super.init(this,e,f.SELECTOR.default)}static getInstance(e){return l.getData(e,f.DATA_KEY)}dispose(){l.removeData(this.element,f.DATA_KEY),this.element=null}setListeners(){const e=this.element.getElementsByClassName(f.INPUT_CLASS)[0],t=this.element.getElementsByClassName(f.REVEAL_BUTTON_CLASS)[0];E.on(t,"click",()=>{this.element.classList.add("is-visible"),e.type="text"});const n=this.element.getElementsByClassName(f.HIDE_BUTTON_CLASS)[0];E.on(n,"click",()=>{this.element.classList.remove("is-visible"),e.type="password"})}}f.NAME="".concat(o.KEY_PREFIX,"-form-input-password"),f.DATA_KEY="".concat(o.KEY_PREFIX,".password-input"),f.SELECTOR={default:".".concat(f.NAME)},f.INPUT_CLASS="".concat(o.KEY_PREFIX,"-form-control"),f.REVEAL_BUTTON_CLASS="".concat(o.KEY_PREFIX,"-form-control__password-off"),f.HIDE_BUTTON_CLASS="".concat(o.KEY_PREFIX,"-form-control__password-on"),f.DEFAULT_OPTIONS={selector:f.SELECTOR};class S extends u{constructor(){super(f)}static init(){u.init(S)}}S.TAG_NAME=f.NAME;class A extends c{constructor(e,t={}){super(A,e,m.extend(!0,A.DEFAULT_OPTIONS,t)),this.setListeners(),l.setData(e,A.DATA_KEY,this)}static init(e={}){return super.init(this,e,A.SELECTOR.default)}dispose(){l.removeData(this.element,A.DATA_KEY),this.element=null}static getInstance(e){return l.getData(e,A.DATA_KEY)}setListeners(){const e=this.element.getElementsByClassName(A.INPUT_CLASS)[0],t=this.element.getElementsByClassName(A.RESET_CLASS)[0];E.on(t,"click",()=>{e.value=null,this.element.classList.remove("is-filled")})}}A.NAME="".concat(o.KEY_PREFIX,"-form-input-search"),A.DATA_KEY="".concat(o.KEY_PREFIX,".search-input"),A.SELECTOR={default:".".concat(A.NAME)},A.INPUT_CLASS="".concat(o.KEY_PREFIX,"-form-control"),A.RESET_CLASS="".concat(o.KEY_PREFIX,"-form-control__reset"),A.DEFAULT_OPTIONS={selector:A.SELECTOR};class g extends u{constructor(){super(A)}static init(){u.init(g)}}g.TAG_NAME=A.NAME;var L={describe:e=>void 0===e?"undefined":0===e.length?"(no matching elements)":"".concat(e.outerHTML.split(">")[0],">"),assert(e,t,n){if(t)throw void 0!==e&&(e.style.border="1px solid red"),console.error(n,e),n},isChar:e=>void 0===e.which||"number"==typeof e.which&&e.which>0&&(!e.ctrlKey&&!e.metaKey&&!e.altKey&&8!==e.which&&9!==e.which&&13!==e.which&&16!==e.which&&17!==e.which&&20!==e.which&&27!==e.which)};class T extends c{constructor(e,t,n={},s={}){super(e,t,n);for(const e in s)!{}.hasOwnProperty.call(s,e)?console.error("".concat(e," does not exist in properties")):this[e]=s[e]}addFormGroupFocus(){!0==!this.element.disabled&&this.njFormGroup.classList.add(T.CLASS_NAME.isFocused)}removeFormGroupFocus(){this.njFormGroup.classList.remove(T.CLASS_NAME.isFocused)}addIsFilled(){this.njFormGroup.classList.add(T.CLASS_NAME.isFilled)}removeIsFilled(){this.njFormGroup.classList.remove(T.CLASS_NAME.isFilled)}findFormGroup(e=!0){const t=this.element.closest(T.SELECTOR.formGroup);return null===t&&e&&console.error("Failed to find ".concat(T.SELECTOR.formGroup," for ").concat(L.describe(this.element))),t}}T.CLASS_NAME={njFormGroup:"nj-form-group",isFilled:"is-filled",isFocused:"is-focused"},T.SELECTOR={formGroup:".".concat(T.CLASS_NAME.njFormGroup)};class v extends T{constructor(e,t,n={},s={}){super(e,t,m.extend(!0,v.DEFAULT_OPTIONS,n),s),this.njFormGroup=this.resolveNJFormGroup(),this.njFormGroup&&(this.resolveNJLabel(),this.resolveNJFormGroupSizing(),this.addFocusListener(),this.addChangeListener(),this.isEmpty()?this.removeIsFilled():this.addIsFilled())}addFocusListener(){E.on(this.element,"focus",()=>{this.addFormGroupFocus()}),E.on(this.element,"blur",()=>{this.removeFormGroupFocus()})}addChangeListener(){E.on(this.element,"keydown paste",e=>{L.isChar(e)&&this.addIsFilled()}),E.on(this.element,"keyup change",()=>{if(this.isEmpty()?this.removeIsFilled():this.addIsFilled(),this.options.validate){void 0===this.element[0].checkValidity||this.element[0].checkValidity()?this.removeHasDanger():this.addHasDanger()}})}addHasDanger(){this.njFormGroup.classList.add(v.CLASS_NAME.hasDanger)}removeHasDanger(){this.njFormGroup.classList.remove(v.CLASS_NAME.hasDanger)}isEmpty(){return null===this.element.value||void 0===this.element.value||""===this.element.value}resolveNJFormGroup(){return this.findFormGroup(this.options.njFormGroup.required)}outerElement(){return this.element}resolveNJLabel(){let e=this.njFormGroup.querySelectorAll(v.INPUT_SELECTOR.njLabelWildcard);0===e.length&&(e=this.findLabel(this.options.label.required),null!==e&&e.length>1&&e.forEach(e=>{e.classList.add(this.options.label.className)}))}findLabel(e=!0){let t,n=null,s=0,o=!1;do{t=this.options.label.selectors[s];try{n=this.njFormGroup.querySelectorAll(t)}catch(e){n=null}o=null!==n&&n.length>0,s++}while(!o&&s<this.options.label.selectors.length);return!o&&e&&console.error("Failed to find ".concat(v.INPUT_SELECTOR.njLabelWildcard," within nj-form-group for ").concat(L.describe(this.element))),n}resolveNJFormGroupSizing(){if(this.options.convertInputSizeVariations)for(const e in v.FORM_CONTROL_SIZE_MARKERS)this.element.classList.contains(e)&&this.njFormGroup.classList.add(v.FORM_CONTROL_SIZE_MARKERS[e])}}v.CLASS_NAME={njFormGroup:"nj-form-group",njLabel:"nj-label",njLabelStatic:"nj-label-static",njLabelPlaceholder:"nj-label-placeholder",njLabelFloating:"nj-label-floating",hasDanger:"has-danger",isFilled:"is-filled",isFocused:"is-focused",inputGroup:"input-group"},v.INPUT_SELECTOR={njFormGroup:".".concat(v.CLASS_NAME.njFormGroup),njLabelWildcard:"label[class^='".concat(v.CLASS_NAME.njLabel,"'], label[class*=' ").concat(v.CLASS_NAME.njLabel,"']")},v.DEFAULT_OPTIONS={validate:!1,njFormGroup:{template:"span",templateClass:"".concat(v.CLASS_NAME.njFormGroup)},label:{required:!1,selectors:[".form-control-label",":scope > label"],className:v.CLASS_NAME.njLabelStatic},requiredClasses:[],convertInputSizeVariations:!0},v.FORM_CONTROL_SIZE_MARKERS={"form-control-lg":"nj-form-group-lg","form-control-sm":"nj-form-group-sm"};class y extends v{constructor(e,t,n={}){super(e,t,m.extend(!0,y.DEFAULT_OPTIONS,n),{})}}y.DEFAULT_OPTIONS={requiredClasses:["nj-form-control"]};class _ extends y{constructor(e,t={}){super(_,e,m.extend(!0,_.DEFAULT_OPTIONS,t)),l.setData(e,_.DATA_KEY,this)}dispose(){l.removeData(this.element,_.DATA_KEY),this.element=null}static init(e={}){return super.init(this,e,_.SELECTOR.default)}static getInstance(e){return l.getData(e,_.DATA_KEY)}static matches(e){return"text"===e.getAttribute("type")}}_.NAME="".concat(o.KEY_PREFIX,"-form-input-text"),_.DATA_KEY="".concat(o.KEY_PREFIX,".text"),_.SELECTOR={default:"input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=file]):not([type=button]):not([type=submit]):not([type=reset])",formGroup:y.SELECTOR.formGroup},_.DEFAULT_OPTIONS={njFormGroup:{required:!1}};class b extends u{constructor(){super(_)}static init(){u.init(b)}}b.TAG_NAME=_.NAME;class O extends y{constructor(e,t={}){super(O,e,m.extend(!0,{},t)),l.setData(e,O.DATA_KEY,this)}dispose(){l.removeData(this.element,O.DATA_KEY),this.element=null}static init(e={}){return super.init(this,e,O.SELECTOR.default)}static getInstance(e){return l.getData(e,O.DATA_KEY)}static matches(e){return"TEXTAREA"===e.tagName}}O.NAME="".concat(o.KEY_PREFIX,"-form-input-textarea"),O.DATA_KEY="".concat(o.KEY_PREFIX,".textarea"),O.SELECTOR={default:"textarea",formGroup:y.SELECTOR.formGroup};class N extends u{constructor(){super(O)}static init(){u.init(N)}}N.TAG_NAME=O.NAME,n.d(t,"default",(function(){return C})),n.d(t,"FormWC",(function(){return F}));class C{static init(e={},t={},n={},s={}){f.init(e),A.init(t),_.init(n),O.init(s),d.init()}}C.TextInput=_,C.SearchInput=A,C.PasswordInput=f,C.TextareaInput=O,C.Autocomplete=d;class F{static init(){S.init(),g.init(),b.init(),N.init(),p.init()}}}]).default}));
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("Form",[],t):"object"==typeof exports?exports.Form=t():e.Form=t()}(window,(function(){return function(e){var t={};function n(s){if(t[s])return t[s].exports;var o=t[s]={i:s,l:!1,exports:{}};return e[s].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,s){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:s})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var s=Object.create(null);if(n.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(s,o,function(t){return e[t]}.bind(null,o));return s},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";n.r(t),window.NJStore=window.NJStore||[];const s=(()=>{const e=window.NJStore;return{set(t,n,s){void 0===t.key&&(t.key={key:n,id:e.length}),e[t.key.id]=s},get:(t,n)=>(t.key&&!n.id&&(n=t.key),n&&n.id?e[n.id]:null),delete(t,n){if(void 0===t.key)return;const s=t.key;s.key===n&&(delete e[s.id],delete t.key)}}})();var o,r,i,a,l={setData(e,t,n){s.set(e,t,n)},getData:(e,t)=>s.get(e,t),removeData(e,t){s.delete(e,t)}};class c{constructor(e,t,n={}){!t||t instanceof Element||console.error(Error("".concat(t," is not an HTML Element"))),this.options=n,this.element=t}static init(e,t={},n){const s=[],o=document.querySelectorAll(n);for(let n=0;n<o.length;n++){const r=o[n];if(!r.key||r.key!==e.DATA_KEY){const i=new e(o[n],t);r.key||l.setData(o[n],e.DATA_KEY,i),s.push(i)}}return s}}!function(e){e.KEY_PREFIX="nj",e.DATA_API_KEY=".data-api"}(o||(o={})),function(e){e.mouseenter="mouseover",e.mouseleave="mouseout"}(r||(r={})),function(e){e.click="click",e.close="close",e.closed="closed",e.hide="hide",e.hidden="hidden",e.input="input",e.keydown="keydown",e.keyup="keyup",e.onchange="onchange",e.show="show",e.shown="shown",e.inserted="inserted",e.focusin="focusin",e.focusout="focusout",e.mouseenter="mouseenter",e.mouseleave="mouseleave",e.mouseup="mouseup",e.mousedown="mousedown"}(i||(i={})),function(e){e.click="click",e.dblclick="dblclick",e.mouseup="mouseup",e.mousedown="mousedown",e.contextmenu="contextmenu",e.mousewheel="mousewheel",e.DOMMouseScroll="DOMMouseScroll",e.mouseover="mouseover",e.mouseout="mouseout",e.mousemove="mousemove",e.selectstart="selectstart",e.selectend="selectend",e.keydown="keydown",e.keypress="keypress",e.keyup="keyup",e.orientationchange="orientationchange",e.touchstart="touchstart",e.touchmove="touchmove",e.touchend="touchend",e.touchcancel="touchcancel",e.pointerdown="pointerdown",e.pointermove="pointermove",e.pointerup="pointerup",e.pointerleave="pointerleave",e.pointercancel="pointercancel",e.gesturestart="gesturestart",e.gesturechange="gesturechange",e.gestureend="gestureend",e.focus="focus",e.blur="blur",e.change="change",e.reset="reset",e.select="select",e.submit="submit",e.focusin="focusin",e.focusout="focusout",e.load="load",e.unload="unload",e.beforeunload="beforeunload",e.resize="resize",e.move="move",e.DOMContentLoaded="DOMContentLoaded",e.readystatechange="readystatechange",e.error="error",e.abort="abort",e.scroll="scroll"}(a||(a={}));class u extends HTMLElement{constructor(...e){super(),this.components=e,this.instances=[],this.parentNodes=[]}connectedCallback(){this.setup()}disconnectedCallback(){this.instances.forEach(e=>{e.dispose()}),this.instances=null}setup(){let e=this;for(;e.parentNode;)e=e.parentNode,this.parentNodes.push(e);[this,...this.parentNodes].some(e=>e.nextSibling)||"loading"!==document.readyState?this.childrenAvailableCallback():(this.mutationObserver=new MutationObserver(()=>{([this,...this.parentNodes].some(e=>e.nextSibling)||"loading"!==document.readyState)&&(this.childrenAvailableCallback(),this.mutationObserver.disconnect())}),this.mutationObserver.observe(this,{childList:!0}))}childrenAvailableCallback(){this.components.forEach(e=>{const t=this.querySelector(e.SELECTOR.default);if(!t)throw new Error("Default selector of ".concat(e.name," not found: ").concat(e.SELECTOR.default));this.instances.push(new e(t))})}static init(e){if(!e.TAG_NAME)throw new Error("TAG_NAME property of ".concat(e.name," class doesn't exists"));customElements.define(e.TAG_NAME,e)}}class d extends c{constructor(e,t={}){if(super(d,e),this.options={autocomplete:!0,limit:!1},this.onInputChange=()=>{this.list=this.dataList},this.onKeyDown=e=>{const t=this.element.querySelector(d.SELECTOR.list),n=this.element.querySelectorAll("".concat(d.SELECTOR.listGroup,"> *")),s=parseInt(t.dataset.index,10),o=this.element.querySelector(d.SELECTOR.input),r=()=>{t.style.display="block",o.setAttribute("aria-expanded","true")},i=()=>{delete t.dataset.index,t.style.setProperty("display",""),o.setAttribute("aria-expanded","false")};switch(e.key){case"ArrowUp":e.preventDefault(),r(),t.dataset.index&&(t.dataset.index=(s-1<0?n.length-1:s-1).toString(),n[t.dataset.index].focus());break;case"ArrowDown":e.preventDefault(),r(),t.dataset.index?t.dataset.index=(s<n.length-1?s+1:0).toString():t.dataset.index="0",n[t.dataset.index].focus();break;case"Escape":i(),o.focus();break;case"Enter":i()}},this.onSelectListItem=e=>{const{name:t,value:n}=e.target.dataset,s=this.element.querySelector(d.SELECTOR.input);t&&(s.value=t),n&&(this.root.dataset.value=n,s.dataset.value=n),this.onUserSelectItem({name:t,value:n})},e.querySelector(d.SELECTOR.listGroup)){const t=e.querySelector("".concat(d.SELECTOR.listGroup)).innerHTML;this.listFragment=document.createRange().createContextualFragment(t),this.root=e.parentElement.dataset.list||e.parentElement.dataset.options?e.parentElement:e,this.root.dataset.list&&(this.dataList=JSON.parse(this.root.dataset.list),this.list=this.dataList),this.root.dataset.options&&(this.options=Object.assign(Object.assign({},this.options),JSON.parse(this.root.dataset.options))),this.root[d.NAME.replace(/-/g,"_")]=this,e.querySelector(d.SELECTOR.list).addEventListener("click",this.onSelectListItem)}e.querySelector(d.SELECTOR.input).addEventListener("input",this.onInputChange),e.addEventListener("keydown",this.onKeyDown),l.setData(e,d.DATA_KEY,this)}static init(e={}){return super.init(this,e,d.SELECTOR.default)}dispose(){this.element&&this.element.querySelector(d.SELECTOR.list)&&this.element.querySelector(d.SELECTOR.list).removeEventListener("click",this.onSelectListItem),this.element&&this.element.querySelector(d.SELECTOR.input)&&this.element.querySelector(d.SELECTOR.input).removeEventListener("input",this.onInputChange),l.removeData(this.element,d.DATA_KEY),this.element=null}set data(e){this.dataList=e}get data(){return this.dataList}get list(){return this.currentList}set list(e){const t=this.element.querySelector(d.SELECTOR.input).value;if(e.length){const n=document.createDocumentFragment();this.currentList=[],e.forEach(({name:e,value:s})=>{if((!this.options.autocomplete||d.compareText(e,t))&&(!this.options.limit||n.children.length<this.options.limit)){const t=this.listFragment.firstElementChild;t.setAttribute("data-value",s),t.setAttribute("data-name",e),t.textContent=e,n.appendChild(this.listFragment.cloneNode(!0)),this.currentList.push({name:e,value:s})}}),this.element.querySelector("".concat(d.SELECTOR.listGroup)).textContent="",this.element.querySelector(d.SELECTOR.listGroup).appendChild(n)}}static compareText(e,t){e=e.normalize("NFD").replace(/[\u0300-\u036f]/g,""),t=(t=t.normalize("NFD").replace(/[\u0300-\u036f]/g,"")).replace(/\(|\)|\\/gi,"");const n=new RegExp(t,"gi");return-1!==e.search(n)}onUserSelectItem({name:e,value:t}){}static getInstance(e){return l.getData(e,d.DATA_KEY)}}d.NAME="".concat(o.KEY_PREFIX,"-form-autocomplete"),d.DATA_KEY="".concat(o.KEY_PREFIX,".autocomplete"),d.SELECTOR={default:".".concat(d.NAME),input:"input",list:".".concat(d.NAME,"__list"),listGroup:".".concat(d.NAME,"__list > :first-child")};class E extends u{constructor(){super(d)}static init(){u.init(E)}}E.TAG_NAME=d.NAME;class p{static getUidEvent(e,t){return t&&"".concat(t,"::").concat(p.uidEvent++)||e.uidEvent||p.uidEvent++}static getEvent(e){const t=p.getUidEvent(e);return e.uidEvent=t,p.EVENTREGISTRY[t]=p.EVENTREGISTRY[t]||{}}static fixEvent(e,t){null===e.which&&p.KEYEVENT_REGEX.test(e.type)&&(e.which=null!==e.charCode?e.charCode:e.keyCode),e.delegateTarget=t}static njHandler(e,t){const n=s=>(p.fixEvent(s,e),n.oneOff&&p.off(e,s.type,t),t.apply(e,[s]));return n}static njDelegationHandler(e,t,n){const s=o=>{const r=e.querySelectorAll(t);for(let t=o.target;t&&t!==this;t=t.parentNode)for(let i=r.length;i>=0;i--)if(r[i]===t)return p.fixEvent(o,t),s.oneOff&&p.off(e,o.type,n),n.apply(t,[o]);return null};return s}static findHandler(e,t,n=null){for(const s in e){if(!Object.prototype.hasOwnProperty.call(e,s))continue;const o=e[s];if(o.originalHandler===t&&o.delegationSelector===n)return e[s]}return null}static normalizeParams(e,t,n){const s="string"==typeof t,o=s?n:t;let i=e.replace(p.STRIPNAME_REGEX,"");const l=r[i];l&&(i=l);return"string"==typeof a[i]||(i=e),[s,o,i]}static addHandler(e,t,n,s,o){if("string"!=typeof t||null==e)return;n||(n=s,s=null);const r=p.getEvent(e);for(const i of t.split(" ")){const[t,a,l]=p.normalizeParams(i,n,s),c=r[l]||(r[l]={}),u=p.findHandler(c,a,t?n:null);if(u)return void(u.oneOff=u.oneOff&&o);const d=p.getUidEvent(a,i.replace(p.NAMESPACE_REGEX,"")),E=t?p.njDelegationHandler(e,n,s):p.njHandler(e,n);E.delegationSelector=t?n:null,E.originalHandler=a,E.oneOff=o,E.uidEvent=d,c[d]=E,e.addEventListener(l,E,t)}}static removeHandler(e,t,n,s,o){const r=p.findHandler(t[n],s,o);null!==r&&(e.removeEventListener(n,r,Boolean(o)),delete t[n][r.uidEvent])}static removeNamespacedHandlers(e,t,n,s){const o=t[n]||{};for(const r in o)if(Object.prototype.hasOwnProperty.call(o,r)&&r.indexOf(s)>-1){const s=o[r];p.removeHandler(e,t,n,s.originalHandler,s.delegationSelector)}}static on(e,t,n,s){p.addHandler(e,t,n,s,!1)}static one(e,t,n,s){p.addHandler(e,t,n,s,!0)}static off(e,t,n,s){if("string"!=typeof t||null==e)return;const[o,r,i]=p.normalizeParams(t,n,s),a=i!==t,l=p.getEvent(e);if(void 0!==r){if(!l||!l[i])return;return void p.removeHandler(e,l,i,r,o?n:null)}if("."===t.charAt(0))for(const n in l)Object.prototype.hasOwnProperty.call(l,n)&&p.removeNamespacedHandlers(e,l,n,t.substr(1));const c=l[i]||{};for(const n in c){if(!Object.prototype.hasOwnProperty.call(c,n))continue;const s=n.replace(p.STRIPUID_REGEX,"");if(!a||t.indexOf(s)>-1){const t=c[n];p.removeHandler(e,l,i,t.originalHandler,t.delegationSelector)}}}static trigger(e,t,n){if("string"!=typeof t||null==e)return null;const s=t.replace(p.STRIPNAME_REGEX,""),o="string"==typeof a[s];let r=null;return o?(r=document.createEvent("HTMLEvents"),r.initEvent(s,true,!0)):r=new window.CustomEvent(t,{bubbles:true,cancelable:!0}),void 0!==n&&Object.keys(n).forEach(e=>{Object.defineProperty(r,e,{get:()=>n[e]})}),e.dispatchEvent(r),r}}p.NAMESPACE_REGEX=/[^.]*(?=\..*)\.|.*/,p.STRIPNAME_REGEX=/\..*/,p.KEYEVENT_REGEX=/^key/,p.STRIPUID_REGEX=/::\d+$/,p.EVENTREGISTRY={},p.uidEvent=1;const h={getDataAttributes(e){if(null==e)return{};let t={};if(Object.getOwnPropertyDescriptor(HTMLElement.prototype,"dataset"))t=Object.assign({},e.dataset);else for(let n=0;n<e.attributes.length;n++){const s=e.attributes[n];if(-1!==s.nodeName.indexOf("data-")){const e=s.nodeName.substring("data-".length).replace(/-./g,e=>e.charAt(1).toUpperCase());t[e]=s.nodeValue}}return Object.keys(t).forEach(e=>{var n;t[e]="true"===(n=t[e])||"false"!==n&&("null"===n?null:n===Number(n).toString()?Number(n):""===n?null:n)}),t},toggleClass(e,t){null!=e&&(e.classList.contains(t)?e.classList.remove(t):e.classList.add(t))},mergeExtended(e,t,n){for(const s in t)Object.prototype.hasOwnProperty.call(t,s)&&(n&&"[object Object]"===Object.prototype.toString.call(t[s])?e[s]=h.extend(e[s],t[s]):e[s]=t[s]);return e},extend(...e){let t={},n=!1,s=0;for("[object Boolean]"===Object.prototype.toString.call(e[0])&&(n=e[0],s++);s<e.length;s++)t=h.mergeExtended(t,e[s],n);return t},createHtmlNode:e=>(new DOMParser).parseFromString(e,"text/html").body.firstChild};var m=h;class f extends c{constructor(e,t={}){super(f,e,m.extend(!0,f.DEFAULT_OPTIONS,t)),this.setListeners(),l.setData(e,f.DATA_KEY,this)}static init(e={}){return super.init(this,e,f.SELECTOR.default)}static getInstance(e){return l.getData(e,f.DATA_KEY)}dispose(){l.removeData(this.element,f.DATA_KEY),this.element=null}setListeners(){const e=this.element.getElementsByClassName(f.INPUT_CLASS)[0],t=this.element.getElementsByClassName(f.REVEAL_BUTTON_CLASS)[0];p.on(t,"click",()=>{this.element.classList.add("is-visible"),e.type="text"});const n=this.element.getElementsByClassName(f.HIDE_BUTTON_CLASS)[0];p.on(n,"click",()=>{this.element.classList.remove("is-visible"),e.type="password"})}}f.NAME="".concat(o.KEY_PREFIX,"-form-input-password"),f.DATA_KEY="".concat(o.KEY_PREFIX,".password-input"),f.SELECTOR={default:".".concat(f.NAME)},f.INPUT_CLASS="".concat(o.KEY_PREFIX,"-form-control"),f.REVEAL_BUTTON_CLASS="".concat(o.KEY_PREFIX,"-form-control__password-off"),f.HIDE_BUTTON_CLASS="".concat(o.KEY_PREFIX,"-form-control__password-on"),f.DEFAULT_OPTIONS={selector:f.SELECTOR};class S extends u{constructor(){super(f)}static init(){u.init(S)}}S.TAG_NAME=f.NAME;class A extends c{constructor(e,t={}){super(A,e,m.extend(!0,A.DEFAULT_OPTIONS,t)),this.setListeners(),l.setData(e,A.DATA_KEY,this)}static init(e={}){return super.init(this,e,A.SELECTOR.default)}dispose(){l.removeData(this.element,A.DATA_KEY),this.element=null}static getInstance(e){return l.getData(e,A.DATA_KEY)}setListeners(){const e=this.element.getElementsByClassName(A.INPUT_CLASS)[0],t=this.element.getElementsByClassName(A.RESET_CLASS)[0];p.on(t,"click",()=>{e.value=null,this.element.classList.remove("is-filled")})}}A.NAME="".concat(o.KEY_PREFIX,"-form-input-search"),A.DATA_KEY="".concat(o.KEY_PREFIX,".search-input"),A.SELECTOR={default:".".concat(A.NAME)},A.INPUT_CLASS="".concat(o.KEY_PREFIX,"-form-control"),A.RESET_CLASS="".concat(o.KEY_PREFIX,"-form-control__reset"),A.DEFAULT_OPTIONS={selector:A.SELECTOR};class g extends u{constructor(){super(A)}static init(){u.init(g)}}g.TAG_NAME=A.NAME;var L={describe:e=>void 0===e?"undefined":0===e.length?"(no matching elements)":"".concat(e.outerHTML.split(">")[0],">"),assert(e,t,n){if(t)throw void 0!==e&&(e.style.border="1px solid red"),console.error(n,e),n},isChar:e=>void 0===e.which||"number"==typeof e.which&&e.which>0&&(!e.ctrlKey&&!e.metaKey&&!e.altKey&&8!==e.which&&9!==e.which&&13!==e.which&&16!==e.which&&17!==e.which&&20!==e.which&&27!==e.which)};class T extends c{constructor(e,t,n={},s={}){super(e,t,n);for(const e in s)!{}.hasOwnProperty.call(s,e)?console.error("".concat(e," does not exist in properties")):this[e]=s[e]}addFormGroupFocus(){!0==!this.element.disabled&&this.njFormGroup.classList.add(T.CLASS_NAME.isFocused)}removeFormGroupFocus(){this.njFormGroup.classList.remove(T.CLASS_NAME.isFocused)}addIsFilled(){this.njFormGroup.classList.add(T.CLASS_NAME.isFilled)}removeIsFilled(){this.njFormGroup.classList.remove(T.CLASS_NAME.isFilled)}findFormGroup(e=!0){const t=this.element.closest(T.SELECTOR.formGroup);return null===t&&e&&console.error("Failed to find ".concat(T.SELECTOR.formGroup," for ").concat(L.describe(this.element))),t}}T.CLASS_NAME={njFormGroup:"nj-form-group",isFilled:"is-filled",isFocused:"is-focused"},T.SELECTOR={formGroup:".".concat(T.CLASS_NAME.njFormGroup)};class y extends T{constructor(e,t,n={},s={}){super(e,t,m.extend(!0,y.DEFAULT_OPTIONS,n),s),this.njFormGroup=this.resolveNJFormGroup(),this.njFormGroup&&(this.resolveNJLabel(),this.resolveNJFormGroupSizing(),this.addFocusListener(),this.addChangeListener(),this.isEmpty()?this.removeIsFilled():this.addIsFilled())}addFocusListener(){p.on(this.element,"focus",()=>{this.addFormGroupFocus()}),p.on(this.element,"blur",()=>{this.removeFormGroupFocus()})}addChangeListener(){p.on(this.element,"keydown paste",e=>{L.isChar(e)&&this.addIsFilled()}),p.on(this.element,"keyup change",()=>{if(this.isEmpty()?this.removeIsFilled():this.addIsFilled(),this.options.validate){void 0===this.element[0].checkValidity||this.element[0].checkValidity()?this.removeHasDanger():this.addHasDanger()}})}addHasDanger(){this.njFormGroup.classList.add(y.CLASS_NAME.hasDanger)}removeHasDanger(){this.njFormGroup.classList.remove(y.CLASS_NAME.hasDanger)}isEmpty(){return null===this.element.value||void 0===this.element.value||""===this.element.value}resolveNJFormGroup(){return this.findFormGroup(this.options.njFormGroup.required)}outerElement(){return this.element}resolveNJLabel(){let e=this.njFormGroup.querySelectorAll(y.INPUT_SELECTOR.njLabelWildcard);0===e.length&&(e=this.findLabel(this.options.label.required),null!==e&&e.length>1&&e.forEach(e=>{e.classList.add(this.options.label.className)}))}findLabel(e=!0){let t,n=null,s=0,o=!1;do{t=this.options.label.selectors[s];try{n=this.njFormGroup.querySelectorAll(t)}catch(e){n=null}o=null!==n&&n.length>0,s++}while(!o&&s<this.options.label.selectors.length);return!o&&e&&console.error("Failed to find ".concat(y.INPUT_SELECTOR.njLabelWildcard," within nj-form-group for ").concat(L.describe(this.element))),n}resolveNJFormGroupSizing(){if(this.options.convertInputSizeVariations)for(const e in y.FORM_CONTROL_SIZE_MARKERS)this.element.classList.contains(e)&&this.njFormGroup.classList.add(y.FORM_CONTROL_SIZE_MARKERS[e])}}y.CLASS_NAME={njFormGroup:"nj-form-group",njLabel:"nj-label",njLabelStatic:"nj-label-static",njLabelPlaceholder:"nj-label-placeholder",njLabelFloating:"nj-label-floating",hasDanger:"has-danger",isFilled:"is-filled",isFocused:"is-focused",inputGroup:"input-group"},y.INPUT_SELECTOR={njFormGroup:".".concat(y.CLASS_NAME.njFormGroup),njLabelWildcard:"label[class^='".concat(y.CLASS_NAME.njLabel,"'], label[class*=' ").concat(y.CLASS_NAME.njLabel,"']")},y.DEFAULT_OPTIONS={validate:!1,njFormGroup:{template:"span",templateClass:"".concat(y.CLASS_NAME.njFormGroup)},label:{required:!1,selectors:[".form-control-label",":scope > label"],className:y.CLASS_NAME.njLabelStatic},requiredClasses:[],convertInputSizeVariations:!0},y.FORM_CONTROL_SIZE_MARKERS={"form-control-lg":"nj-form-group-lg","form-control-sm":"nj-form-group-sm"};class v extends y{constructor(e,t,n={}){super(e,t,m.extend(!0,v.DEFAULT_OPTIONS,n),{})}}v.DEFAULT_OPTIONS={requiredClasses:["nj-form-control"]};class _ extends v{constructor(e,t={}){super(_,e,m.extend(!0,_.DEFAULT_OPTIONS,t)),l.setData(e,_.DATA_KEY,this)}dispose(){l.removeData(this.element,_.DATA_KEY),this.element=null}static init(e={}){return super.init(this,e,_.SELECTOR.default)}static getInstance(e){return l.getData(e,_.DATA_KEY)}static matches(e){return"text"===e.getAttribute("type")}}_.NAME="".concat(o.KEY_PREFIX,"-form-input-text"),_.DATA_KEY="".concat(o.KEY_PREFIX,".text"),_.SELECTOR={default:"input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=file]):not([type=button]):not([type=submit]):not([type=reset])",formGroup:v.SELECTOR.formGroup},_.DEFAULT_OPTIONS={njFormGroup:{required:!1}};class O extends u{constructor(){super(_)}static init(){u.init(O)}}O.TAG_NAME=_.NAME;class b extends v{constructor(e,t={}){super(b,e,m.extend(!0,{},t)),l.setData(e,b.DATA_KEY,this)}dispose(){l.removeData(this.element,b.DATA_KEY),this.element=null}static init(e={}){return super.init(this,e,b.SELECTOR.default)}static getInstance(e){return l.getData(e,b.DATA_KEY)}static matches(e){return"TEXTAREA"===e.tagName}}b.NAME="".concat(o.KEY_PREFIX,"-form-input-textarea"),b.DATA_KEY="".concat(o.KEY_PREFIX,".textarea"),b.SELECTOR={default:"textarea",formGroup:v.SELECTOR.formGroup};class N extends u{constructor(){super(b)}static init(){u.init(N)}}N.TAG_NAME=b.NAME,n.d(t,"default",(function(){return C})),n.d(t,"FormWC",(function(){return R}));class C{static init(e={},t={},n={},s={}){return[f.init(e),A.init(t),_.init(n),b.init(s),d.init()]}}C.TextInput=_,C.SearchInput=A,C.PasswordInput=f,C.TextareaInput=b,C.Autocomplete=d,C.SELECTOR={default:"".concat(_.SELECTOR.default,", ").concat(A.SELECTOR.default,", ").concat(b.SELECTOR.default,", ").concat(d.SELECTOR.default)};class R{static init(){S.init(),g.init(),O.init(),N.init(),E.init()}}}]).default}));

@@ -11,3 +11,3 @@ /**

protected static readonly DATA_KEY: string;
protected static readonly SELECTOR: {
static readonly SELECTOR: {
default: string;

@@ -14,0 +14,0 @@ };

@@ -11,3 +11,3 @@ /**

protected static readonly DATA_KEY: string;
protected static readonly SELECTOR: {
static readonly SELECTOR: {
default: string;

@@ -14,0 +14,0 @@ };

@@ -11,3 +11,3 @@ /**

protected static readonly DATA_KEY: string;
protected static readonly SELECTOR: {
static readonly SELECTOR: {
default: string;

@@ -14,0 +14,0 @@ formGroup: string;

@@ -11,3 +11,3 @@ /**

protected static readonly DATA_KEY: string;
protected static readonly SELECTOR: {
static readonly SELECTOR: {
default: string;

@@ -14,0 +14,0 @@ formGroup: string;

@@ -1,1 +0,1 @@

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("Header",[],t):"object"==typeof exports?exports.Header=t():e.Header=t()}(window,(function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";n.r(t);const o=(()=>{const e={};let t=1;return{set(n,o,r){void 0===n.key&&(n.key={key:o,id:t},t++),e[n.key.id]=r},get(t,n){if(!t||void 0===t.key)return null;const o=t.key;return o.key===n?e[o.id]:null},delete(t,n){if(void 0===t.key)return;const o=t.key;o.key===n&&(delete e[o.id],delete t.key)}}})();var r,s,i,c,a={setData(e,t,n){o.set(e,t,n)},getData:(e,t)=>o.get(e,t),removeData(e,t){o.delete(e,t)}};!function(e){e.KEY_PREFIX="nj",e.DATA_API_KEY=".data-api"}(r||(r={})),function(e){e.mouseenter="mouseover",e.mouseleave="mouseout"}(s||(s={})),function(e){e.click="click",e.close="close",e.closed="closed",e.hide="hide",e.hidden="hidden",e.input="input",e.keydown="keydown",e.keyup="keyup",e.onchange="onchange",e.show="show",e.shown="shown",e.inserted="inserted",e.focusin="focusin",e.focusout="focusout",e.mouseenter="mouseenter",e.mouseleave="mouseleave",e.mouseup="mouseup",e.mousedown="mousedown"}(i||(i={})),function(e){e.click="click",e.dblclick="dblclick",e.mouseup="mouseup",e.mousedown="mousedown",e.contextmenu="contextmenu",e.mousewheel="mousewheel",e.DOMMouseScroll="DOMMouseScroll",e.mouseover="mouseover",e.mouseout="mouseout",e.mousemove="mousemove",e.selectstart="selectstart",e.selectend="selectend",e.keydown="keydown",e.keypress="keypress",e.keyup="keyup",e.orientationchange="orientationchange",e.touchstart="touchstart",e.touchmove="touchmove",e.touchend="touchend",e.touchcancel="touchcancel",e.pointerdown="pointerdown",e.pointermove="pointermove",e.pointerup="pointerup",e.pointerleave="pointerleave",e.pointercancel="pointercancel",e.gesturestart="gesturestart",e.gesturechange="gesturechange",e.gestureend="gestureend",e.focus="focus",e.blur="blur",e.change="change",e.reset="reset",e.select="select",e.submit="submit",e.focusin="focusin",e.focusout="focusout",e.load="load",e.unload="unload",e.beforeunload="beforeunload",e.resize="resize",e.move="move",e.DOMContentLoaded="DOMContentLoaded",e.readystatechange="readystatechange",e.error="error",e.abort="abort",e.scroll="scroll"}(c||(c={}));const l={TRANSITION_END:"transitionend",getUID(e){do{e+=~~(1e6*Math.random())}while(document.getElementById(e));return e},getSelectorFromElement(e){let t=e.getAttribute("data-target");if(!t||"#"===t){const n=e.getAttribute("href");t=n&&"#"!==n?n.trim():""}try{return document.querySelector(t)?t:null}catch(e){return null}},getTransitionDurationFromElement(e){if(!e)return 0;let t=window.getComputedStyle(e).transitionDuration,n=window.getComputedStyle(e).transitionDelay;const o=parseFloat(t),r=parseFloat(n);return o||r?(t=t.split(",")[0],n=n.split(",")[0],1e3*(parseFloat(t)+parseFloat(n))):0},reflow:e=>e.offsetHeight,triggerTransitionEnd(e){const t=new CustomEvent(l.TRANSITION_END,{});e.dispatchEvent(t)},isElement:e=>(e[0]||e).nodeType,emulateTransitionEnd(e,t){let n=!1;const o=t+5;e.addEventListener(l.TRANSITION_END,(function t(){n=!0,e.removeEventListener(l.TRANSITION_END,t)})),setTimeout(()=>{n||l.triggerTransitionEnd(e)},o)},typeCheckConfig(e,t,n){for(const r in n)if(Object.prototype.hasOwnProperty.call(n,r)){const s=n[r],i=t[r],c=i&&l.isElement(i)?"element":(o=i,{}.toString.call(o).match(/\s([a-z]+)/i)[1].toLowerCase());if(!new RegExp(s).test(c))throw new Error("".concat(e.toUpperCase(),": ")+'Option "'.concat(r,'" provided type "').concat(c,'" ')+'but expected type "'.concat(s,'".'))}var o},makeArray:e=>null==e?[]:[].slice.call(e),findShadowRoot(e){if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?l.findShadowRoot(e.parentElement):null},throttle(e,t,n,o,r){let s,i,c,a=null,l=0;const u=()=>{l=Date.now(),a=null,c=e.apply(i,s)};return()=>{const d=Date.now();l||n||(l=d);const h=t-(d-l);return i=r||this,s=arguments,h<=0?(clearTimeout(a),a=null,l=d,c=e.apply(i,s)):!a&&o&&(a=setTimeout(u,h)),c}}};var u=l;class d extends HTMLElement{constructor(...e){super(),this.components=e,this.instances=[],this.parentNodes=[]}connectedCallback(){this.setup()}disconnectedCallback(){this.instances.forEach(e=>{e.dispose()}),this.instances=null}setup(){let e=this;for(;e.parentNode;)e=e.parentNode,this.parentNodes.push(e);[this,...this.parentNodes].some(e=>e.nextSibling)||"loading"!==document.readyState?this.childrenAvailableCallback():(this.mutationObserver=new MutationObserver(()=>{([this,...this.parentNodes].some(e=>e.nextSibling)||"loading"!==document.readyState)&&(this.childrenAvailableCallback(),this.mutationObserver.disconnect())}),this.mutationObserver.observe(this,{childList:!0}))}childrenAvailableCallback(){this.components.forEach(e=>{const t=this.querySelector(e.SELECTOR.default);if(!t)throw new Error("Default selector of ".concat(e.name," not found: ").concat(e.SELECTOR.default));this.instances.push(new e(t))})}static init(e){if(!e.TAG_NAME)throw new Error("TAG_NAME property of ".concat(e.name," class doesn't exists"));customElements.define(e.TAG_NAME,e)}}n.d(t,"default",(function(){return h})),n.d(t,"HeaderWC",(function(){return m}));class h extends class{constructor(e,t,n={}){!t||t instanceof Element||console.error(Error("".concat(t," is not an HTML Element"))),this.options=n,this.element=t}static init(e,t={},n){const o=[],r=document.querySelectorAll(n);for(let n=0;n<r.length;n++){const s=r[n];if(!s.key||s.key!==e.DATA_KEY){const i=new e(r[n],t);s.key||a.setData(r[n],e.DATA_KEY,i),o.push(i)}}return o}}{constructor(e){super(h,e),this.onScroll=u.throttle(()=>{window.scrollY/window.innerHeight>this.minimizeWindowHeightThreshold?this.minimize():this.maximize()},100,!0,!0,this),this.focusSearchInput=()=>{this.element.querySelector(".".concat(h.CLASS_NAME.search," input")).focus()},this.minimizeThreshold=.2,this.menuBurger=e.querySelector(".".concat(h.CLASS_NAME.menuBurger)),this.openSearch=e.querySelector(".".concat(h.CLASS_NAME.openSearch)),e.classList.contains(h.CLASS_NAME.minimizeOnScroll)&&"undefined"!=typeof window&&window.addEventListener("scroll",this.onScroll),this.menuBurger&&(this.menuBurger.addEventListener("click",this.togglePanelShow.bind(this)),e.querySelectorAll(".".concat(h.CLASS_NAME.panel)).forEach((e,t)=>{t>0&&e.previousElementSibling.addEventListener("click",this.togglePanelShow.bind(this))}),e.querySelectorAll(".".concat(h.CLASS_NAME.backPanel)).forEach(e=>{e.addEventListener("click",this.closeCurrentPanel.bind(this))})),this.openSearch&&this.openSearch.addEventListener("click",this.focusSearchInput)}dispose(){a.removeData(this.element,h.DATA_KEY),this.element.classList.contains(h.CLASS_NAME.minimize)&&"undefined"!=typeof window&&window.removeEventListener("scroll",this.onScroll),this.element=null}static getInstance(e){return a.getData(e,h.DATA_KEY)}static init(e={}){return super.init(this,e,h.SELECTOR.default)}get minimizeThreshold(){return this.minimizeWindowHeightThreshold}set minimizeThreshold(e){this.minimizeWindowHeightThreshold=e}minimize(){this.element.classList.contains(h.CLASS_NAME.minimize)||this.element.classList.add(h.CLASS_NAME.minimize)}maximize(){this.element.classList.contains(h.CLASS_NAME.minimize)&&this.element.classList.remove(h.CLASS_NAME.minimize)}togglePanelShow(e){if(e.stopImmediatePropagation(),e.preventDefault(),e.stopPropagation(),"none"!==window.getComputedStyle(this.menuBurger).display){const t=e.currentTarget.parentElement,n=e.currentTarget.classList.contains(h.CLASS_NAME.menuBurger),o=t.querySelector(".".concat(h.CLASS_NAME.panel)),r=o.classList.contains(h.CLASS_NAME.panelShow);r&&n?this.closePanels():!r&&n&&(this.resetPanels(),e.currentTarget.classList.add(h.CLASS_NAME.closeBurger)),r?o.classList.remove(h.CLASS_NAME.panelShow):r||o.classList.add(h.CLASS_NAME.panelShow)}}closePanels(){const e=this.element.querySelector(".".concat(h.CLASS_NAME.panel));this.menuBurger.classList.remove(h.CLASS_NAME.closeBurger);const t=()=>{e.removeEventListener("transitionend",t),this.resetPanels()};e.addEventListener("transitionend",t),e.classList.remove(h.CLASS_NAME.panelShow)}closeCurrentPanel(e){e.currentTarget.closest(".".concat(h.CLASS_NAME.panel)).classList.remove(h.CLASS_NAME.panelShow)}resetPanels(){this.element.querySelectorAll(".".concat(h.CLASS_NAME.panel)).forEach(e=>{e.classList.remove(h.CLASS_NAME.panelShow)}),this.menuBurger.classList.remove(h.CLASS_NAME.closeBurger)}}h.NAME="".concat(r.KEY_PREFIX,"-header"),h.DATA_KEY="".concat(r.KEY_PREFIX,".header"),h.SELECTOR={default:".".concat(h.NAME)},h.CLASS_NAME={minimize:"".concat(h.NAME,"--sm"),minimizeOnScroll:"".concat(h.NAME,"--scroll-sm"),panel:"".concat(h.NAME,"__nav--panel"),panelShow:"".concat(h.NAME,"__nav--show"),backPanel:"".concat(h.NAME,"__menu-return"),menuBurger:"".concat(h.NAME,"__nav-burger"),closeBurger:"".concat(h.NAME,"__nav-burger--close"),openSearch:"".concat(h.NAME,"__search-icon"),search:"".concat(h.NAME,"__search")};class m extends d{constructor(){super(h)}static init(){d.init(m)}}m.TAG_NAME=h.NAME}]).default}));
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("Header",[],t):"object"==typeof exports?exports.Header=t():e.Header=t()}(window,(function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";n.r(t),window.NJStore=window.NJStore||[];const o=(()=>{const e=window.NJStore;return{set(t,n,o){void 0===t.key&&(t.key={key:n,id:e.length}),e[t.key.id]=o},get:(t,n)=>(t.key&&!n.id&&(n=t.key),n&&n.id?e[n.id]:null),delete(t,n){if(void 0===t.key)return;const o=t.key;o.key===n&&(delete e[o.id],delete t.key)}}})();var r,s,i,c,a={setData(e,t,n){o.set(e,t,n)},getData:(e,t)=>o.get(e,t),removeData(e,t){o.delete(e,t)}};!function(e){e.KEY_PREFIX="nj",e.DATA_API_KEY=".data-api"}(r||(r={})),function(e){e.mouseenter="mouseover",e.mouseleave="mouseout"}(s||(s={})),function(e){e.click="click",e.close="close",e.closed="closed",e.hide="hide",e.hidden="hidden",e.input="input",e.keydown="keydown",e.keyup="keyup",e.onchange="onchange",e.show="show",e.shown="shown",e.inserted="inserted",e.focusin="focusin",e.focusout="focusout",e.mouseenter="mouseenter",e.mouseleave="mouseleave",e.mouseup="mouseup",e.mousedown="mousedown"}(i||(i={})),function(e){e.click="click",e.dblclick="dblclick",e.mouseup="mouseup",e.mousedown="mousedown",e.contextmenu="contextmenu",e.mousewheel="mousewheel",e.DOMMouseScroll="DOMMouseScroll",e.mouseover="mouseover",e.mouseout="mouseout",e.mousemove="mousemove",e.selectstart="selectstart",e.selectend="selectend",e.keydown="keydown",e.keypress="keypress",e.keyup="keyup",e.orientationchange="orientationchange",e.touchstart="touchstart",e.touchmove="touchmove",e.touchend="touchend",e.touchcancel="touchcancel",e.pointerdown="pointerdown",e.pointermove="pointermove",e.pointerup="pointerup",e.pointerleave="pointerleave",e.pointercancel="pointercancel",e.gesturestart="gesturestart",e.gesturechange="gesturechange",e.gestureend="gestureend",e.focus="focus",e.blur="blur",e.change="change",e.reset="reset",e.select="select",e.submit="submit",e.focusin="focusin",e.focusout="focusout",e.load="load",e.unload="unload",e.beforeunload="beforeunload",e.resize="resize",e.move="move",e.DOMContentLoaded="DOMContentLoaded",e.readystatechange="readystatechange",e.error="error",e.abort="abort",e.scroll="scroll"}(c||(c={}));const l={TRANSITION_END:"transitionend",getUID(e){do{e+=~~(1e6*Math.random())}while(document.getElementById(e));return e},getSelectorFromElement(e){let t=e.getAttribute("data-target");if(!t||"#"===t){const n=e.getAttribute("href");t=n&&"#"!==n?n.trim():""}try{return document.querySelector(t)?t:null}catch(e){return null}},getTransitionDurationFromElement(e){if(!e)return 0;let t=window.getComputedStyle(e).transitionDuration,n=window.getComputedStyle(e).transitionDelay;const o=parseFloat(t),r=parseFloat(n);return o||r?(t=t.split(",")[0],n=n.split(",")[0],1e3*(parseFloat(t)+parseFloat(n))):0},reflow:e=>e.offsetHeight,triggerTransitionEnd(e){const t=new CustomEvent(l.TRANSITION_END,{});e.dispatchEvent(t)},isElement:e=>(e[0]||e).nodeType,emulateTransitionEnd(e,t){let n=!1;const o=t+5;e.addEventListener(l.TRANSITION_END,(function t(){n=!0,e.removeEventListener(l.TRANSITION_END,t)})),setTimeout(()=>{n||l.triggerTransitionEnd(e)},o)},typeCheckConfig(e,t,n){for(const r in n)if(Object.prototype.hasOwnProperty.call(n,r)){const s=n[r],i=t[r],c=i&&l.isElement(i)?"element":(o=i,{}.toString.call(o).match(/\s([a-z]+)/i)[1].toLowerCase());if(!new RegExp(s).test(c))throw new Error("".concat(e.toUpperCase(),": ")+'Option "'.concat(r,'" provided type "').concat(c,'" ')+'but expected type "'.concat(s,'".'))}var o},makeArray:e=>null==e?[]:[].slice.call(e),findShadowRoot(e){if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?l.findShadowRoot(e.parentElement):null},throttle(e,t,n,o,r){let s,i,c,a=null,l=0;const u=()=>{l=Date.now(),a=null,c=e.apply(i,s)};return()=>{const d=Date.now();l||n||(l=d);const h=t-(d-l);return i=r||this,s=arguments,h<=0?(clearTimeout(a),a=null,l=d,c=e.apply(i,s)):!a&&o&&(a=setTimeout(u,h)),c}}};var u=l;class d extends HTMLElement{constructor(...e){super(),this.components=e,this.instances=[],this.parentNodes=[]}connectedCallback(){this.setup()}disconnectedCallback(){this.instances.forEach(e=>{e.dispose()}),this.instances=null}setup(){let e=this;for(;e.parentNode;)e=e.parentNode,this.parentNodes.push(e);[this,...this.parentNodes].some(e=>e.nextSibling)||"loading"!==document.readyState?this.childrenAvailableCallback():(this.mutationObserver=new MutationObserver(()=>{([this,...this.parentNodes].some(e=>e.nextSibling)||"loading"!==document.readyState)&&(this.childrenAvailableCallback(),this.mutationObserver.disconnect())}),this.mutationObserver.observe(this,{childList:!0}))}childrenAvailableCallback(){this.components.forEach(e=>{const t=this.querySelector(e.SELECTOR.default);if(!t)throw new Error("Default selector of ".concat(e.name," not found: ").concat(e.SELECTOR.default));this.instances.push(new e(t))})}static init(e){if(!e.TAG_NAME)throw new Error("TAG_NAME property of ".concat(e.name," class doesn't exists"));customElements.define(e.TAG_NAME,e)}}n.d(t,"default",(function(){return h})),n.d(t,"HeaderWC",(function(){return m}));class h extends class{constructor(e,t,n={}){!t||t instanceof Element||console.error(Error("".concat(t," is not an HTML Element"))),this.options=n,this.element=t}static init(e,t={},n){const o=[],r=document.querySelectorAll(n);for(let n=0;n<r.length;n++){const s=r[n];if(!s.key||s.key!==e.DATA_KEY){const i=new e(r[n],t);s.key||a.setData(r[n],e.DATA_KEY,i),o.push(i)}}return o}}{constructor(e){super(h,e),this.onScroll=u.throttle(()=>{window.scrollY/window.innerHeight>this.minimizeWindowHeightThreshold?this.minimize():this.maximize()},100,!0,!0,this),this.focusSearchInput=()=>{this.element.querySelector(".".concat(h.CLASS_NAME.search," input")).focus()},this.minimizeThreshold=.2,this.menuBurger=e.querySelector(".".concat(h.CLASS_NAME.menuBurger)),this.openSearch=e.querySelector(".".concat(h.CLASS_NAME.openSearch)),e.classList.contains(h.CLASS_NAME.minimizeOnScroll)&&"undefined"!=typeof window&&window.addEventListener("scroll",this.onScroll),this.menuBurger&&(this.menuBurger.addEventListener("click",this.togglePanelShow.bind(this)),e.querySelectorAll(".".concat(h.CLASS_NAME.panel)).forEach((e,t)=>{t>0&&e.previousElementSibling.addEventListener("click",this.togglePanelShow.bind(this))}),e.querySelectorAll(".".concat(h.CLASS_NAME.backPanel)).forEach(e=>{e.addEventListener("click",this.closeCurrentPanel.bind(this))})),this.openSearch&&this.openSearch.addEventListener("click",this.focusSearchInput)}dispose(){a.removeData(this.element,h.DATA_KEY),this.element.classList.contains(h.CLASS_NAME.minimize)&&"undefined"!=typeof window&&window.removeEventListener("scroll",this.onScroll),this.element=null}static getInstance(e){return a.getData(e,h.DATA_KEY)}static init(e={}){return super.init(this,e,h.SELECTOR.default)}get minimizeThreshold(){return this.minimizeWindowHeightThreshold}set minimizeThreshold(e){this.minimizeWindowHeightThreshold=e}minimize(){this.element.classList.contains(h.CLASS_NAME.minimize)||this.element.classList.add(h.CLASS_NAME.minimize)}maximize(){this.element.classList.contains(h.CLASS_NAME.minimize)&&this.element.classList.remove(h.CLASS_NAME.minimize)}togglePanelShow(e){if(e.stopImmediatePropagation(),e.preventDefault(),e.stopPropagation(),"none"!==window.getComputedStyle(this.menuBurger).display){const t=e.currentTarget.parentElement,n=e.currentTarget.classList.contains(h.CLASS_NAME.menuBurger),o=t.querySelector(".".concat(h.CLASS_NAME.panel)),r=o.classList.contains(h.CLASS_NAME.panelShow);r&&n?this.closePanels():!r&&n&&(this.resetPanels(),e.currentTarget.classList.add(h.CLASS_NAME.closeBurger)),r?o.classList.remove(h.CLASS_NAME.panelShow):r||o.classList.add(h.CLASS_NAME.panelShow)}}closePanels(){const e=this.element.querySelector(".".concat(h.CLASS_NAME.panel));this.menuBurger.classList.remove(h.CLASS_NAME.closeBurger);const t=()=>{e.removeEventListener("transitionend",t),this.resetPanels()};e.addEventListener("transitionend",t),e.classList.remove(h.CLASS_NAME.panelShow)}closeCurrentPanel(e){e.currentTarget.closest(".".concat(h.CLASS_NAME.panel)).classList.remove(h.CLASS_NAME.panelShow)}resetPanels(){this.element.querySelectorAll(".".concat(h.CLASS_NAME.panel)).forEach(e=>{e.classList.remove(h.CLASS_NAME.panelShow)}),this.menuBurger.classList.remove(h.CLASS_NAME.closeBurger)}}h.NAME="".concat(r.KEY_PREFIX,"-header"),h.DATA_KEY="".concat(r.KEY_PREFIX,".header"),h.SELECTOR={default:".".concat(h.NAME)},h.CLASS_NAME={minimize:"".concat(h.NAME,"--sm"),minimizeOnScroll:"".concat(h.NAME,"--scroll-sm"),panel:"".concat(h.NAME,"__nav--panel"),panelShow:"".concat(h.NAME,"__nav--show"),backPanel:"".concat(h.NAME,"__menu-return"),menuBurger:"".concat(h.NAME,"__nav-burger"),closeBurger:"".concat(h.NAME,"__nav-burger--close"),openSearch:"".concat(h.NAME,"__search-icon"),search:"".concat(h.NAME,"__search")};class m extends d{constructor(){super(h)}static init(){d.init(m)}}m.TAG_NAME=h.NAME}]).default}));

@@ -1,1 +0,1 @@

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("Modal",[],t):"object"==typeof exports?exports.Modal=t():e.Modal=t()}(window,(function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var s=t[o]={i:o,l:!1,exports:{}};return e[o].call(s.exports,s,s.exports,n),s.l=!0,s.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var s in e)n.d(o,s,function(t){return e[t]}.bind(null,s));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";var o,s,i,r;n.r(t),function(e){e.KEY_PREFIX="nj",e.DATA_API_KEY=".data-api"}(o||(o={})),function(e){e.mouseenter="mouseover",e.mouseleave="mouseout"}(s||(s={})),function(e){e.click="click",e.close="close",e.closed="closed",e.hide="hide",e.hidden="hidden",e.input="input",e.keydown="keydown",e.keyup="keyup",e.onchange="onchange",e.show="show",e.shown="shown",e.inserted="inserted",e.focusin="focusin",e.focusout="focusout",e.mouseenter="mouseenter",e.mouseleave="mouseleave",e.mouseup="mouseup",e.mousedown="mousedown"}(i||(i={})),function(e){e.click="click",e.dblclick="dblclick",e.mouseup="mouseup",e.mousedown="mousedown",e.contextmenu="contextmenu",e.mousewheel="mousewheel",e.DOMMouseScroll="DOMMouseScroll",e.mouseover="mouseover",e.mouseout="mouseout",e.mousemove="mousemove",e.selectstart="selectstart",e.selectend="selectend",e.keydown="keydown",e.keypress="keypress",e.keyup="keyup",e.orientationchange="orientationchange",e.touchstart="touchstart",e.touchmove="touchmove",e.touchend="touchend",e.touchcancel="touchcancel",e.pointerdown="pointerdown",e.pointermove="pointermove",e.pointerup="pointerup",e.pointerleave="pointerleave",e.pointercancel="pointercancel",e.gesturestart="gesturestart",e.gesturechange="gesturechange",e.gestureend="gestureend",e.focus="focus",e.blur="blur",e.change="change",e.reset="reset",e.select="select",e.submit="submit",e.focusin="focusin",e.focusout="focusout",e.load="load",e.unload="unload",e.beforeunload="beforeunload",e.resize="resize",e.move="move",e.DOMContentLoaded="DOMContentLoaded",e.readystatechange="readystatechange",e.error="error",e.abort="abort",e.scroll="scroll"}(r||(r={}));const a=(()=>{const e={};let t=1;return{set(n,o,s){void 0===n.key&&(n.key={key:o,id:t},t++),e[n.key.id]=s},get(t,n){if(!t||void 0===t.key)return null;const o=t.key;return o.key===n?e[o.id]:null},delete(t,n){if(void 0===t.key)return;const o=t.key;o.key===n&&(delete e[o.id],delete t.key)}}})();var c={setData(e,t,n){a.set(e,t,n)},getData:(e,t)=>a.get(e,t),removeData(e,t){a.delete(e,t)}};class l{static getUidEvent(e,t){return t&&"".concat(t,"::").concat(l.uidEvent++)||e.uidEvent||l.uidEvent++}static getEvent(e){const t=l.getUidEvent(e);return e.uidEvent=t,l.EVENTREGISTRY[t]=l.EVENTREGISTRY[t]||{}}static fixEvent(e,t){null===e.which&&l.KEYEVENT_REGEX.test(e.type)&&(e.which=null!==e.charCode?e.charCode:e.keyCode),e.delegateTarget=t}static njHandler(e,t){const n=o=>(l.fixEvent(o,e),n.oneOff&&l.off(e,o.type,t),t.apply(e,[o]));return n}static njDelegationHandler(e,t,n){const o=s=>{const i=e.querySelectorAll(t);for(let t=s.target;t&&t!==this;t=t.parentNode)for(let r=i.length;r>=0;r--)if(i[r]===t)return l.fixEvent(s,t),o.oneOff&&l.off(e,s.type,n),n.apply(t,[s]);return null};return o}static findHandler(e,t,n=null){for(const o in e){if(!Object.prototype.hasOwnProperty.call(e,o))continue;const s=e[o];if(s.originalHandler===t&&s.delegationSelector===n)return e[o]}return null}static normalizeParams(e,t,n){const o="string"==typeof t,i=o?n:t;let a=e.replace(l.STRIPNAME_REGEX,"");const c=s[a];c&&(a=c);return"string"==typeof r[a]||(a=e),[o,i,a]}static addHandler(e,t,n,o,s){if("string"!=typeof t||null==e)return;n||(n=o,o=null);const i=l.getEvent(e);for(const r of t.split(" ")){const[t,a,c]=l.normalizeParams(r,n,o),d=i[c]||(i[c]={}),u=l.findHandler(d,a,t?n:null);if(u)return void(u.oneOff=u.oneOff&&s);const E=l.getUidEvent(a,r.replace(l.NAMESPACE_REGEX,"")),h=t?l.njDelegationHandler(e,n,o):l.njHandler(e,n);h.delegationSelector=t?n:null,h.originalHandler=a,h.oneOff=s,h.uidEvent=E,d[E]=h,e.addEventListener(c,h,t)}}static removeHandler(e,t,n,o,s){const i=l.findHandler(t[n],o,s);null!==i&&(e.removeEventListener(n,i,Boolean(s)),delete t[n][i.uidEvent])}static removeNamespacedHandlers(e,t,n,o){const s=t[n]||{};for(const i in s)if(Object.prototype.hasOwnProperty.call(s,i)&&i.indexOf(o)>-1){const o=s[i];l.removeHandler(e,t,n,o.originalHandler,o.delegationSelector)}}static on(e,t,n,o){l.addHandler(e,t,n,o,!1)}static one(e,t,n,o){l.addHandler(e,t,n,o,!0)}static off(e,t,n,o){if("string"!=typeof t||null==e)return;const[s,i,r]=l.normalizeParams(t,n,o),a=r!==t,c=l.getEvent(e);if(void 0!==i){if(!c||!c[r])return;return void l.removeHandler(e,c,r,i,s?n:null)}if("."===t.charAt(0))for(const n in c)Object.prototype.hasOwnProperty.call(c,n)&&l.removeNamespacedHandlers(e,c,n,t.substr(1));const d=c[r]||{};for(const n in d){if(!Object.prototype.hasOwnProperty.call(d,n))continue;const o=n.replace(l.STRIPUID_REGEX,"");if(!a||t.indexOf(o)>-1){const t=d[n];l.removeHandler(e,c,r,t.originalHandler,t.delegationSelector)}}}static trigger(e,t,n){if("string"!=typeof t||null==e)return null;const o=t.replace(l.STRIPNAME_REGEX,""),s="string"==typeof r[o];let i=null;return s?(i=document.createEvent("HTMLEvents"),i.initEvent(o,true,!0)):i=new window.CustomEvent(t,{bubbles:true,cancelable:!0}),void 0!==n&&Object.keys(n).forEach(e=>{Object.defineProperty(i,e,{get:()=>n[e]})}),e.dispatchEvent(i),i}}l.NAMESPACE_REGEX=/[^.]*(?=\..*)\.|.*/,l.STRIPNAME_REGEX=/\..*/,l.KEYEVENT_REGEX=/^key/,l.STRIPUID_REGEX=/::\d+$/,l.EVENTREGISTRY={},l.uidEvent=1;const d={TRANSITION_END:"transitionend",getUID(e){do{e+=~~(1e6*Math.random())}while(document.getElementById(e));return e},getSelectorFromElement(e){let t=e.getAttribute("data-target");if(!t||"#"===t){const n=e.getAttribute("href");t=n&&"#"!==n?n.trim():""}try{return document.querySelector(t)?t:null}catch(e){return null}},getTransitionDurationFromElement(e){if(!e)return 0;let t=window.getComputedStyle(e).transitionDuration,n=window.getComputedStyle(e).transitionDelay;const o=parseFloat(t),s=parseFloat(n);return o||s?(t=t.split(",")[0],n=n.split(",")[0],1e3*(parseFloat(t)+parseFloat(n))):0},reflow:e=>e.offsetHeight,triggerTransitionEnd(e){const t=new CustomEvent(d.TRANSITION_END,{});e.dispatchEvent(t)},isElement:e=>(e[0]||e).nodeType,emulateTransitionEnd(e,t){let n=!1;const o=t+5;e.addEventListener(d.TRANSITION_END,(function t(){n=!0,e.removeEventListener(d.TRANSITION_END,t)})),setTimeout(()=>{n||d.triggerTransitionEnd(e)},o)},typeCheckConfig(e,t,n){for(const s in n)if(Object.prototype.hasOwnProperty.call(n,s)){const i=n[s],r=t[s],a=r&&d.isElement(r)?"element":(o=r,{}.toString.call(o).match(/\s([a-z]+)/i)[1].toLowerCase());if(!new RegExp(i).test(a))throw new Error("".concat(e.toUpperCase(),": ")+'Option "'.concat(s,'" provided type "').concat(a,'" ')+'but expected type "'.concat(i,'".'))}var o},makeArray:e=>null==e?[]:[].slice.call(e),findShadowRoot(e){if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?d.findShadowRoot(e.parentElement):null},throttle(e,t,n,o,s){let i,r,a,c=null,l=0;const d=()=>{l=Date.now(),c=null,a=e.apply(r,i)};return()=>{const u=Date.now();l||n||(l=u);const E=t-(u-l);return r=s||this,i=arguments,E<=0?(clearTimeout(c),c=null,l=u,a=e.apply(r,i)):!c&&o&&(c=setTimeout(d,E)),a}}};var u=d;class E extends HTMLElement{constructor(...e){super(),this.components=e,this.instances=[],this.parentNodes=[]}connectedCallback(){this.setup()}disconnectedCallback(){this.instances.forEach(e=>{e.dispose()}),this.instances=null}setup(){let e=this;for(;e.parentNode;)e=e.parentNode,this.parentNodes.push(e);[this,...this.parentNodes].some(e=>e.nextSibling)||"loading"!==document.readyState?this.childrenAvailableCallback():(this.mutationObserver=new MutationObserver(()=>{([this,...this.parentNodes].some(e=>e.nextSibling)||"loading"!==document.readyState)&&(this.childrenAvailableCallback(),this.mutationObserver.disconnect())}),this.mutationObserver.observe(this,{childList:!0}))}childrenAvailableCallback(){this.components.forEach(e=>{const t=this.querySelector(e.SELECTOR.default);if(!t)throw new Error("Default selector of ".concat(e.name," not found: ").concat(e.SELECTOR.default));this.instances.push(new e(t))})}static init(e){if(!e.TAG_NAME)throw new Error("TAG_NAME property of ".concat(e.name," class doesn't exists"));customElements.define(e.TAG_NAME,e)}}n.d(t,"default",(function(){return h})),n.d(t,"ModalWC",(function(){return m}));class h extends class{constructor(e,t,n={}){!t||t instanceof Element||console.error(Error("".concat(t," is not an HTML Element"))),this.options=n,this.element=t}static init(e,t={},n){const o=[],s=document.querySelectorAll(n);for(let n=0;n<s.length;n++){const i=s[n];if(!i.key||i.key!==e.DATA_KEY){const r=new e(s[n],t);i.key||c.setData(s[n],e.DATA_KEY,r),o.push(r)}}return o}}{constructor(e){super(h,e),this.backdrop=null,this.dialog=null,this.ignoreBackdropClick=null,this.isShown=!1,this.isTransitioning=!1,this.dialog=this.element.querySelector(h.SELECTOR.dialog),c.setData(e,h.DATA_KEY,this),this.registerEvents()}static init(e={}){return super.init(this,e,h.SELECTOR.default)}static getInstance(e){return c.getData(e,h.DATA_KEY)}enforceFocus(){l.off(document,h.EVENT.focusin),l.on(document,h.EVENT.focusin,e=>{document===e.target||this.element===e.target||this.element.contains(e.target)||this.element.focus()})}hideModal(){this.element.style.display="none",this.element.setAttribute("aria-hidden",""),this.element.removeAttribute("aria-modal"),this.isTransitioning=!1,this.showBackdrop()}removeBackdrop(){this.backdrop&&(this.backdrop.parentNode.removeChild(this.backdrop),this.backdrop=null)}setEscapeEvent(){this.isShown?l.on(this.element,h.EVENT.keydownDismiss,e=>{e.which===h.ESCAPE_KEYCODE&&(e.preventDefault(),this.hide())}):l.off(this.element,h.EVENT.keydownDismiss)}showBackdrop(e){const t=this.element.classList.contains(h.CLASSNAME.fade)?h.CLASSNAME.fade:"";if(this.isShown){if(this.backdrop=document.createElement("div"),this.backdrop.className=h.CLASSNAME.backdrop,t&&this.backdrop.classList.add(t),document.body.appendChild(this.backdrop),l.on(this.element,h.EVENT.clickDismiss,e=>{this.ignoreBackdropClick?this.ignoreBackdropClick=!1:e.target===e.currentTarget&&this.hide()}),t&&u.reflow(this.backdrop),this.backdrop.classList.add(h.CLASSNAME.show),!e)return;if(!t)return void e();const n=u.getTransitionDurationFromElement(this.backdrop);l.one(this.backdrop,u.TRANSITION_END,e),u.emulateTransitionEnd(this.backdrop,n)}else if(!this.isShown&&this.backdrop){this.backdrop.classList.remove(h.CLASSNAME.show);const t=()=>{this.removeBackdrop(),e&&e()};if(this.element.classList.contains(h.CLASSNAME.fade)){const e=u.getTransitionDurationFromElement(this.backdrop);l.one(this.backdrop,u.TRANSITION_END,t),u.emulateTransitionEnd(this.backdrop,e)}else t()}else e&&e()}showElement(){const e=this.element.classList.contains(h.CLASSNAME.fade);this.element.parentNode&&this.element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this.element),this.element.style.display="block",this.element.removeAttribute("aria-hidden"),this.element.setAttribute("aria-modal",""),this.element.scrollTop=0,e&&u.reflow(this.element),this.element.classList.add(h.CLASSNAME.show),this.enforceFocus();const t=()=>{this.element.focus(),this.isTransitioning=!1};if(e){const e=u.getTransitionDurationFromElement(this.dialog);l.one(this.dialog,u.TRANSITION_END,t),u.emulateTransitionEnd(this.dialog,e)}else t()}dispose(){c.removeData(this.element,h.DATA_KEY),l.off(document,h.EVENT.focusin),this.element=null,this.dialog=null,this.backdrop=null,this.isShown=null,this.ignoreBackdropClick=null,this.isTransitioning=null}hide(e){if(e&&e.preventDefault(),!this.isShown||this.isTransitioning)return;this.isShown=!1;const t=this.element.classList.contains(h.CLASSNAME.fade);if(t&&(this.isTransitioning=!0),this.setEscapeEvent(),l.off(document,h.EVENT.focusin),this.element.classList.remove(h.CLASSNAME.show),l.off(this.element,h.EVENT.clickDismiss),l.off(this.dialog,h.EVENT.mousedownDismiss),t){const e=u.getTransitionDurationFromElement(this.element);l.one(this.element,u.TRANSITION_END,()=>this.hideModal()),u.emulateTransitionEnd(this.element,e)}else this.hideModal()}show(){this.isShown||this.isTransitioning||(this.element.classList.contains(h.CLASSNAME.fade)&&(this.isTransitioning=!0),this.isShown=!0,this.setEscapeEvent(),l.on(this.element,h.EVENT.clickDismiss,h.SELECTOR.dataDismiss,e=>this.hide(e)),l.on(this.dialog,h.EVENT.mousedownDismiss,()=>{l.one(this.element,h.EVENT.mouseupDismiss,e=>{e.target.isEqualNode(this.element)&&(this.ignoreBackdropClick=!0)})}),this.showBackdrop(()=>this.showElement()))}toggle(){this.isShown?this.hide():this.show()}registerEvents(){l.on(document,h.EVENT.clickDataApi,h.SELECTOR.dataToggle,e=>{let t;const n=e.currentTarget,o=u.getSelectorFromElement(e.target);o&&(t=document.querySelector(o)),"A"!==n.tagName&&"AREA"!==n.tagName||e.preventDefault();const s=h.getInstance(t);s&&s.toggle()})}}h.NAME="".concat(o.KEY_PREFIX,"-modal"),h.DATA_KEY="".concat(o.KEY_PREFIX,".modal"),h.EVENT_KEY=".".concat(h.DATA_KEY),h.DATA_API_KEY=o.KEY_PREFIX,h.ESCAPE_KEYCODE=27,h.CLASSNAME={backdrop:"".concat(o.KEY_PREFIX,"-modal__backdrop"),fade:"fade",show:"show"},h.SELECTOR={default:".".concat(h.NAME),dataDismiss:'[data-dismiss="modal"]',dataToggle:'[data-toggle="modal"]',modalBody:".".concat(o.KEY_PREFIX,"-modal__body"),dialog:".".concat(o.KEY_PREFIX,"-modal__dialog")},h.EVENT={show:"".concat(i.show).concat(h.EVENT_KEY),shown:"".concat(i.shown).concat(h.EVENT_KEY),focusin:"".concat(i.focusin).concat(h.EVENT_KEY),hide:"".concat(i.hide).concat(h.EVENT_KEY),hidden:"".concat(i.hidden).concat(h.EVENT_KEY),keydownDismiss:"".concat(i.keydown,".dismiss").concat(h.EVENT_KEY),clickDismiss:"".concat(i.click,".dismiss").concat(h.EVENT_KEY),clickDataApi:"".concat(i.click).concat(h.EVENT_KEY).concat(h.DATA_API_KEY),mouseupDismiss:"".concat(i.mouseup,".dismiss").concat(h.EVENT_KEY),mousedownDismiss:"".concat(i.mousedown,".dismiss").concat(h.EVENT_KEY)};class m extends E{constructor(){super(h)}static init(){E.init(m)}}m.TAG_NAME=h.NAME}]).default}));
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("Modal",[],t):"object"==typeof exports?exports.Modal=t():e.Modal=t()}(window,(function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var s=t[o]={i:o,l:!1,exports:{}};return e[o].call(s.exports,s,s.exports,n),s.l=!0,s.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var s in e)n.d(o,s,function(t){return e[t]}.bind(null,s));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";var o,s,i,r;n.r(t),function(e){e.KEY_PREFIX="nj",e.DATA_API_KEY=".data-api"}(o||(o={})),function(e){e.mouseenter="mouseover",e.mouseleave="mouseout"}(s||(s={})),function(e){e.click="click",e.close="close",e.closed="closed",e.hide="hide",e.hidden="hidden",e.input="input",e.keydown="keydown",e.keyup="keyup",e.onchange="onchange",e.show="show",e.shown="shown",e.inserted="inserted",e.focusin="focusin",e.focusout="focusout",e.mouseenter="mouseenter",e.mouseleave="mouseleave",e.mouseup="mouseup",e.mousedown="mousedown"}(i||(i={})),function(e){e.click="click",e.dblclick="dblclick",e.mouseup="mouseup",e.mousedown="mousedown",e.contextmenu="contextmenu",e.mousewheel="mousewheel",e.DOMMouseScroll="DOMMouseScroll",e.mouseover="mouseover",e.mouseout="mouseout",e.mousemove="mousemove",e.selectstart="selectstart",e.selectend="selectend",e.keydown="keydown",e.keypress="keypress",e.keyup="keyup",e.orientationchange="orientationchange",e.touchstart="touchstart",e.touchmove="touchmove",e.touchend="touchend",e.touchcancel="touchcancel",e.pointerdown="pointerdown",e.pointermove="pointermove",e.pointerup="pointerup",e.pointerleave="pointerleave",e.pointercancel="pointercancel",e.gesturestart="gesturestart",e.gesturechange="gesturechange",e.gestureend="gestureend",e.focus="focus",e.blur="blur",e.change="change",e.reset="reset",e.select="select",e.submit="submit",e.focusin="focusin",e.focusout="focusout",e.load="load",e.unload="unload",e.beforeunload="beforeunload",e.resize="resize",e.move="move",e.DOMContentLoaded="DOMContentLoaded",e.readystatechange="readystatechange",e.error="error",e.abort="abort",e.scroll="scroll"}(r||(r={})),window.NJStore=window.NJStore||[];const a=(()=>{const e=window.NJStore;return{set(t,n,o){void 0===t.key&&(t.key={key:n,id:e.length}),e[t.key.id]=o},get:(t,n)=>(t.key&&!n.id&&(n=t.key),n&&n.id?e[n.id]:null),delete(t,n){if(void 0===t.key)return;const o=t.key;o.key===n&&(delete e[o.id],delete t.key)}}})();var c={setData(e,t,n){a.set(e,t,n)},getData:(e,t)=>a.get(e,t),removeData(e,t){a.delete(e,t)}};class l{static getUidEvent(e,t){return t&&"".concat(t,"::").concat(l.uidEvent++)||e.uidEvent||l.uidEvent++}static getEvent(e){const t=l.getUidEvent(e);return e.uidEvent=t,l.EVENTREGISTRY[t]=l.EVENTREGISTRY[t]||{}}static fixEvent(e,t){null===e.which&&l.KEYEVENT_REGEX.test(e.type)&&(e.which=null!==e.charCode?e.charCode:e.keyCode),e.delegateTarget=t}static njHandler(e,t){const n=o=>(l.fixEvent(o,e),n.oneOff&&l.off(e,o.type,t),t.apply(e,[o]));return n}static njDelegationHandler(e,t,n){const o=s=>{const i=e.querySelectorAll(t);for(let t=s.target;t&&t!==this;t=t.parentNode)for(let r=i.length;r>=0;r--)if(i[r]===t)return l.fixEvent(s,t),o.oneOff&&l.off(e,s.type,n),n.apply(t,[s]);return null};return o}static findHandler(e,t,n=null){for(const o in e){if(!Object.prototype.hasOwnProperty.call(e,o))continue;const s=e[o];if(s.originalHandler===t&&s.delegationSelector===n)return e[o]}return null}static normalizeParams(e,t,n){const o="string"==typeof t,i=o?n:t;let a=e.replace(l.STRIPNAME_REGEX,"");const c=s[a];c&&(a=c);return"string"==typeof r[a]||(a=e),[o,i,a]}static addHandler(e,t,n,o,s){if("string"!=typeof t||null==e)return;n||(n=o,o=null);const i=l.getEvent(e);for(const r of t.split(" ")){const[t,a,c]=l.normalizeParams(r,n,o),d=i[c]||(i[c]={}),u=l.findHandler(d,a,t?n:null);if(u)return void(u.oneOff=u.oneOff&&s);const E=l.getUidEvent(a,r.replace(l.NAMESPACE_REGEX,"")),h=t?l.njDelegationHandler(e,n,o):l.njHandler(e,n);h.delegationSelector=t?n:null,h.originalHandler=a,h.oneOff=s,h.uidEvent=E,d[E]=h,e.addEventListener(c,h,t)}}static removeHandler(e,t,n,o,s){const i=l.findHandler(t[n],o,s);null!==i&&(e.removeEventListener(n,i,Boolean(s)),delete t[n][i.uidEvent])}static removeNamespacedHandlers(e,t,n,o){const s=t[n]||{};for(const i in s)if(Object.prototype.hasOwnProperty.call(s,i)&&i.indexOf(o)>-1){const o=s[i];l.removeHandler(e,t,n,o.originalHandler,o.delegationSelector)}}static on(e,t,n,o){l.addHandler(e,t,n,o,!1)}static one(e,t,n,o){l.addHandler(e,t,n,o,!0)}static off(e,t,n,o){if("string"!=typeof t||null==e)return;const[s,i,r]=l.normalizeParams(t,n,o),a=r!==t,c=l.getEvent(e);if(void 0!==i){if(!c||!c[r])return;return void l.removeHandler(e,c,r,i,s?n:null)}if("."===t.charAt(0))for(const n in c)Object.prototype.hasOwnProperty.call(c,n)&&l.removeNamespacedHandlers(e,c,n,t.substr(1));const d=c[r]||{};for(const n in d){if(!Object.prototype.hasOwnProperty.call(d,n))continue;const o=n.replace(l.STRIPUID_REGEX,"");if(!a||t.indexOf(o)>-1){const t=d[n];l.removeHandler(e,c,r,t.originalHandler,t.delegationSelector)}}}static trigger(e,t,n){if("string"!=typeof t||null==e)return null;const o=t.replace(l.STRIPNAME_REGEX,""),s="string"==typeof r[o];let i=null;return s?(i=document.createEvent("HTMLEvents"),i.initEvent(o,true,!0)):i=new window.CustomEvent(t,{bubbles:true,cancelable:!0}),void 0!==n&&Object.keys(n).forEach(e=>{Object.defineProperty(i,e,{get:()=>n[e]})}),e.dispatchEvent(i),i}}l.NAMESPACE_REGEX=/[^.]*(?=\..*)\.|.*/,l.STRIPNAME_REGEX=/\..*/,l.KEYEVENT_REGEX=/^key/,l.STRIPUID_REGEX=/::\d+$/,l.EVENTREGISTRY={},l.uidEvent=1;const d={TRANSITION_END:"transitionend",getUID(e){do{e+=~~(1e6*Math.random())}while(document.getElementById(e));return e},getSelectorFromElement(e){let t=e.getAttribute("data-target");if(!t||"#"===t){const n=e.getAttribute("href");t=n&&"#"!==n?n.trim():""}try{return document.querySelector(t)?t:null}catch(e){return null}},getTransitionDurationFromElement(e){if(!e)return 0;let t=window.getComputedStyle(e).transitionDuration,n=window.getComputedStyle(e).transitionDelay;const o=parseFloat(t),s=parseFloat(n);return o||s?(t=t.split(",")[0],n=n.split(",")[0],1e3*(parseFloat(t)+parseFloat(n))):0},reflow:e=>e.offsetHeight,triggerTransitionEnd(e){const t=new CustomEvent(d.TRANSITION_END,{});e.dispatchEvent(t)},isElement:e=>(e[0]||e).nodeType,emulateTransitionEnd(e,t){let n=!1;const o=t+5;e.addEventListener(d.TRANSITION_END,(function t(){n=!0,e.removeEventListener(d.TRANSITION_END,t)})),setTimeout(()=>{n||d.triggerTransitionEnd(e)},o)},typeCheckConfig(e,t,n){for(const s in n)if(Object.prototype.hasOwnProperty.call(n,s)){const i=n[s],r=t[s],a=r&&d.isElement(r)?"element":(o=r,{}.toString.call(o).match(/\s([a-z]+)/i)[1].toLowerCase());if(!new RegExp(i).test(a))throw new Error("".concat(e.toUpperCase(),": ")+'Option "'.concat(s,'" provided type "').concat(a,'" ')+'but expected type "'.concat(i,'".'))}var o},makeArray:e=>null==e?[]:[].slice.call(e),findShadowRoot(e){if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?d.findShadowRoot(e.parentElement):null},throttle(e,t,n,o,s){let i,r,a,c=null,l=0;const d=()=>{l=Date.now(),c=null,a=e.apply(r,i)};return()=>{const u=Date.now();l||n||(l=u);const E=t-(u-l);return r=s||this,i=arguments,E<=0?(clearTimeout(c),c=null,l=u,a=e.apply(r,i)):!c&&o&&(c=setTimeout(d,E)),a}}};var u=d;class E extends HTMLElement{constructor(...e){super(),this.components=e,this.instances=[],this.parentNodes=[]}connectedCallback(){this.setup()}disconnectedCallback(){this.instances.forEach(e=>{e.dispose()}),this.instances=null}setup(){let e=this;for(;e.parentNode;)e=e.parentNode,this.parentNodes.push(e);[this,...this.parentNodes].some(e=>e.nextSibling)||"loading"!==document.readyState?this.childrenAvailableCallback():(this.mutationObserver=new MutationObserver(()=>{([this,...this.parentNodes].some(e=>e.nextSibling)||"loading"!==document.readyState)&&(this.childrenAvailableCallback(),this.mutationObserver.disconnect())}),this.mutationObserver.observe(this,{childList:!0}))}childrenAvailableCallback(){this.components.forEach(e=>{const t=this.querySelector(e.SELECTOR.default);if(!t)throw new Error("Default selector of ".concat(e.name," not found: ").concat(e.SELECTOR.default));this.instances.push(new e(t))})}static init(e){if(!e.TAG_NAME)throw new Error("TAG_NAME property of ".concat(e.name," class doesn't exists"));customElements.define(e.TAG_NAME,e)}}n.d(t,"default",(function(){return h})),n.d(t,"ModalWC",(function(){return m}));class h extends class{constructor(e,t,n={}){!t||t instanceof Element||console.error(Error("".concat(t," is not an HTML Element"))),this.options=n,this.element=t}static init(e,t={},n){const o=[],s=document.querySelectorAll(n);for(let n=0;n<s.length;n++){const i=s[n];if(!i.key||i.key!==e.DATA_KEY){const r=new e(s[n],t);i.key||c.setData(s[n],e.DATA_KEY,r),o.push(r)}}return o}}{constructor(e){super(h,e),this.backdrop=null,this.dialog=null,this.ignoreBackdropClick=null,this.isShown=!1,this.isTransitioning=!1,this.dialog=this.element.querySelector(h.SELECTOR.dialog),c.setData(e,h.DATA_KEY,this),this.registerEvents()}static init(e={}){return super.init(this,e,h.SELECTOR.default)}static getInstance(e){return c.getData(e,h.DATA_KEY)}enforceFocus(){l.off(document,h.EVENT.focusin),l.on(document,h.EVENT.focusin,e=>{document===e.target||this.element===e.target||this.element.contains(e.target)||this.element.focus()})}hideModal(){this.element.style.display="none",this.element.setAttribute("aria-hidden",""),this.element.removeAttribute("aria-modal"),this.isTransitioning=!1,this.showBackdrop()}removeBackdrop(){this.backdrop&&(this.backdrop.parentNode.removeChild(this.backdrop),this.backdrop=null)}setEscapeEvent(){this.isShown?l.on(this.element,h.EVENT.keydownDismiss,e=>{e.which===h.ESCAPE_KEYCODE&&(e.preventDefault(),this.hide())}):l.off(this.element,h.EVENT.keydownDismiss)}showBackdrop(e){const t=this.element.classList.contains(h.CLASSNAME.fade)?h.CLASSNAME.fade:"";if(this.isShown){if(this.backdrop=document.createElement("div"),this.backdrop.className=h.CLASSNAME.backdrop,t&&this.backdrop.classList.add(t),document.body.appendChild(this.backdrop),l.on(this.element,h.EVENT.clickDismiss,e=>{this.ignoreBackdropClick?this.ignoreBackdropClick=!1:e.target===e.currentTarget&&this.hide()}),t&&u.reflow(this.backdrop),this.backdrop.classList.add(h.CLASSNAME.show),!e)return;if(!t)return void e();const n=u.getTransitionDurationFromElement(this.backdrop);l.one(this.backdrop,u.TRANSITION_END,e),u.emulateTransitionEnd(this.backdrop,n)}else if(!this.isShown&&this.backdrop){this.backdrop.classList.remove(h.CLASSNAME.show);const t=()=>{this.removeBackdrop(),e&&e()};if(this.element.classList.contains(h.CLASSNAME.fade)){const e=u.getTransitionDurationFromElement(this.backdrop);l.one(this.backdrop,u.TRANSITION_END,t),u.emulateTransitionEnd(this.backdrop,e)}else t()}else e&&e()}showElement(){const e=this.element.classList.contains(h.CLASSNAME.fade);this.element.parentNode&&this.element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this.element),this.element.style.display="block",this.element.removeAttribute("aria-hidden"),this.element.setAttribute("aria-modal",""),this.element.scrollTop=0,e&&u.reflow(this.element),this.element.classList.add(h.CLASSNAME.show),this.enforceFocus();const t=()=>{this.element.focus(),this.isTransitioning=!1};if(e){const e=u.getTransitionDurationFromElement(this.dialog);l.one(this.dialog,u.TRANSITION_END,t),u.emulateTransitionEnd(this.dialog,e)}else t()}dispose(){c.removeData(this.element,h.DATA_KEY),l.off(document,h.EVENT.focusin),this.element=null,this.dialog=null,this.backdrop=null,this.isShown=null,this.ignoreBackdropClick=null,this.isTransitioning=null}hide(e){if(e&&e.preventDefault(),!this.isShown||this.isTransitioning)return;this.isShown=!1;const t=this.element.classList.contains(h.CLASSNAME.fade);if(t&&(this.isTransitioning=!0),this.setEscapeEvent(),l.off(document,h.EVENT.focusin),this.element.classList.remove(h.CLASSNAME.show),l.off(this.element,h.EVENT.clickDismiss),l.off(this.dialog,h.EVENT.mousedownDismiss),t){const e=u.getTransitionDurationFromElement(this.element);l.one(this.element,u.TRANSITION_END,()=>this.hideModal()),u.emulateTransitionEnd(this.element,e)}else this.hideModal()}show(){this.isShown||this.isTransitioning||(this.element.classList.contains(h.CLASSNAME.fade)&&(this.isTransitioning=!0),this.isShown=!0,this.setEscapeEvent(),l.on(this.element,h.EVENT.clickDismiss,h.SELECTOR.dataDismiss,e=>this.hide(e)),l.on(this.dialog,h.EVENT.mousedownDismiss,()=>{l.one(this.element,h.EVENT.mouseupDismiss,e=>{e.target.isEqualNode(this.element)&&(this.ignoreBackdropClick=!0)})}),this.showBackdrop(()=>this.showElement()))}toggle(){this.isShown?this.hide():this.show()}registerEvents(){l.on(document,h.EVENT.clickDataApi,h.SELECTOR.dataToggle,e=>{let t;const n=e.currentTarget,o=u.getSelectorFromElement(e.target);o&&(t=document.querySelector(o)),"A"!==n.tagName&&"AREA"!==n.tagName||e.preventDefault();const s=h.getInstance(t);s&&s.toggle()})}}h.NAME="".concat(o.KEY_PREFIX,"-modal"),h.DATA_KEY="".concat(o.KEY_PREFIX,".modal"),h.EVENT_KEY=".".concat(h.DATA_KEY),h.DATA_API_KEY=o.KEY_PREFIX,h.ESCAPE_KEYCODE=27,h.CLASSNAME={backdrop:"".concat(o.KEY_PREFIX,"-modal__backdrop"),fade:"fade",show:"show"},h.SELECTOR={default:".".concat(h.NAME),dataDismiss:'[data-dismiss="modal"]',dataToggle:'[data-toggle="modal"]',modalBody:".".concat(o.KEY_PREFIX,"-modal__body"),dialog:".".concat(o.KEY_PREFIX,"-modal__dialog")},h.EVENT={show:"".concat(i.show).concat(h.EVENT_KEY),shown:"".concat(i.shown).concat(h.EVENT_KEY),focusin:"".concat(i.focusin).concat(h.EVENT_KEY),hide:"".concat(i.hide).concat(h.EVENT_KEY),hidden:"".concat(i.hidden).concat(h.EVENT_KEY),keydownDismiss:"".concat(i.keydown,".dismiss").concat(h.EVENT_KEY),clickDismiss:"".concat(i.click,".dismiss").concat(h.EVENT_KEY),clickDataApi:"".concat(i.click).concat(h.EVENT_KEY).concat(h.DATA_API_KEY),mouseupDismiss:"".concat(i.mouseup,".dismiss").concat(h.EVENT_KEY),mousedownDismiss:"".concat(i.mousedown,".dismiss").concat(h.EVENT_KEY)};class m extends E{constructor(){super(h)}static init(){E.init(m)}}m.TAG_NAME=h.NAME}]).default}));

@@ -12,3 +12,3 @@ /**

private static readonly CLASS_NAME;
protected static readonly SELECTOR: {
static readonly SELECTOR: {
default: string;

@@ -15,0 +15,0 @@ };

@@ -1,1 +0,1 @@

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("Navbar",[],t):"object"==typeof exports?exports.Navbar=t():e.Navbar=t()}(window,(function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var s=t[o]={i:o,l:!1,exports:{}};return e[o].call(s.exports,s,s.exports,n),s.l=!0,s.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var s in e)n.d(o,s,function(t){return e[t]}.bind(null,s));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";n.r(t);const o=(()=>{const e={};let t=1;return{set(n,o,s){void 0===n.key&&(n.key={key:o,id:t},t++),e[n.key.id]=s},get(t,n){if(!t||void 0===t.key)return null;const o=t.key;return o.key===n?e[o.id]:null},delete(t,n){if(void 0===t.key)return;const o=t.key;o.key===n&&(delete e[o.id],delete t.key)}}})();var s,r,i,a,l={setData(e,t,n){o.set(e,t,n)},getData:(e,t)=>o.get(e,t),removeData(e,t){o.delete(e,t)}};class c{constructor(e,t,n={}){!t||t instanceof Element||console.error(Error("".concat(t," is not an HTML Element"))),this.options=n,this.element=t}static init(e,t={},n){const o=[],s=document.querySelectorAll(n);for(let n=0;n<s.length;n++){const r=s[n];if(!r.key||r.key!==e.DATA_KEY){const i=new e(s[n],t);r.key||l.setData(s[n],e.DATA_KEY,i),o.push(i)}}return o}}!function(e){e.KEY_PREFIX="nj",e.DATA_API_KEY=".data-api"}(s||(s={})),function(e){e.mouseenter="mouseover",e.mouseleave="mouseout"}(r||(r={})),function(e){e.click="click",e.close="close",e.closed="closed",e.hide="hide",e.hidden="hidden",e.input="input",e.keydown="keydown",e.keyup="keyup",e.onchange="onchange",e.show="show",e.shown="shown",e.inserted="inserted",e.focusin="focusin",e.focusout="focusout",e.mouseenter="mouseenter",e.mouseleave="mouseleave",e.mouseup="mouseup",e.mousedown="mousedown"}(i||(i={})),function(e){e.click="click",e.dblclick="dblclick",e.mouseup="mouseup",e.mousedown="mousedown",e.contextmenu="contextmenu",e.mousewheel="mousewheel",e.DOMMouseScroll="DOMMouseScroll",e.mouseover="mouseover",e.mouseout="mouseout",e.mousemove="mousemove",e.selectstart="selectstart",e.selectend="selectend",e.keydown="keydown",e.keypress="keypress",e.keyup="keyup",e.orientationchange="orientationchange",e.touchstart="touchstart",e.touchmove="touchmove",e.touchend="touchend",e.touchcancel="touchcancel",e.pointerdown="pointerdown",e.pointermove="pointermove",e.pointerup="pointerup",e.pointerleave="pointerleave",e.pointercancel="pointercancel",e.gesturestart="gesturestart",e.gesturechange="gesturechange",e.gestureend="gestureend",e.focus="focus",e.blur="blur",e.change="change",e.reset="reset",e.select="select",e.submit="submit",e.focusin="focusin",e.focusout="focusout",e.load="load",e.unload="unload",e.beforeunload="beforeunload",e.resize="resize",e.move="move",e.DOMContentLoaded="DOMContentLoaded",e.readystatechange="readystatechange",e.error="error",e.abort="abort",e.scroll="scroll"}(a||(a={}));class d{static getUidEvent(e,t){return t&&"".concat(t,"::").concat(d.uidEvent++)||e.uidEvent||d.uidEvent++}static getEvent(e){const t=d.getUidEvent(e);return e.uidEvent=t,d.EVENTREGISTRY[t]=d.EVENTREGISTRY[t]||{}}static fixEvent(e,t){null===e.which&&d.KEYEVENT_REGEX.test(e.type)&&(e.which=null!==e.charCode?e.charCode:e.keyCode),e.delegateTarget=t}static njHandler(e,t){const n=o=>(d.fixEvent(o,e),n.oneOff&&d.off(e,o.type,t),t.apply(e,[o]));return n}static njDelegationHandler(e,t,n){const o=s=>{const r=e.querySelectorAll(t);for(let t=s.target;t&&t!==this;t=t.parentNode)for(let i=r.length;i>=0;i--)if(r[i]===t)return d.fixEvent(s,t),o.oneOff&&d.off(e,s.type,n),n.apply(t,[s]);return null};return o}static findHandler(e,t,n=null){for(const o in e){if(!Object.prototype.hasOwnProperty.call(e,o))continue;const s=e[o];if(s.originalHandler===t&&s.delegationSelector===n)return e[o]}return null}static normalizeParams(e,t,n){const o="string"==typeof t,s=o?n:t;let i=e.replace(d.STRIPNAME_REGEX,"");const l=r[i];l&&(i=l);return"string"==typeof a[i]||(i=e),[o,s,i]}static addHandler(e,t,n,o,s){if("string"!=typeof t||null==e)return;n||(n=o,o=null);const r=d.getEvent(e);for(const i of t.split(" ")){const[t,a,l]=d.normalizeParams(i,n,o),c=r[l]||(r[l]={}),u=d.findHandler(c,a,t?n:null);if(u)return void(u.oneOff=u.oneOff&&s);const h=d.getUidEvent(a,i.replace(d.NAMESPACE_REGEX,"")),E=t?d.njDelegationHandler(e,n,o):d.njHandler(e,n);E.delegationSelector=t?n:null,E.originalHandler=a,E.oneOff=s,E.uidEvent=h,c[h]=E,e.addEventListener(l,E,t)}}static removeHandler(e,t,n,o,s){const r=d.findHandler(t[n],o,s);null!==r&&(e.removeEventListener(n,r,Boolean(s)),delete t[n][r.uidEvent])}static removeNamespacedHandlers(e,t,n,o){const s=t[n]||{};for(const r in s)if(Object.prototype.hasOwnProperty.call(s,r)&&r.indexOf(o)>-1){const o=s[r];d.removeHandler(e,t,n,o.originalHandler,o.delegationSelector)}}static on(e,t,n,o){d.addHandler(e,t,n,o,!1)}static one(e,t,n,o){d.addHandler(e,t,n,o,!0)}static off(e,t,n,o){if("string"!=typeof t||null==e)return;const[s,r,i]=d.normalizeParams(t,n,o),a=i!==t,l=d.getEvent(e);if(void 0!==r){if(!l||!l[i])return;return void d.removeHandler(e,l,i,r,s?n:null)}if("."===t.charAt(0))for(const n in l)Object.prototype.hasOwnProperty.call(l,n)&&d.removeNamespacedHandlers(e,l,n,t.substr(1));const c=l[i]||{};for(const n in c){if(!Object.prototype.hasOwnProperty.call(c,n))continue;const o=n.replace(d.STRIPUID_REGEX,"");if(!a||t.indexOf(o)>-1){const t=c[n];d.removeHandler(e,l,i,t.originalHandler,t.delegationSelector)}}}static trigger(e,t,n){if("string"!=typeof t||null==e)return null;const o=t.replace(d.STRIPNAME_REGEX,""),s="string"==typeof a[o];let r=null;return s?(r=document.createEvent("HTMLEvents"),r.initEvent(o,true,!0)):r=new window.CustomEvent(t,{bubbles:true,cancelable:!0}),void 0!==n&&Object.keys(n).forEach(e=>{Object.defineProperty(r,e,{get:()=>n[e]})}),e.dispatchEvent(r),r}}d.NAMESPACE_REGEX=/[^.]*(?=\..*)\.|.*/,d.STRIPNAME_REGEX=/\..*/,d.KEYEVENT_REGEX=/^key/,d.STRIPUID_REGEX=/::\d+$/,d.EVENTREGISTRY={},d.uidEvent=1;const u={getDataAttributes(e){if(null==e)return{};let t={};if(Object.getOwnPropertyDescriptor(HTMLElement.prototype,"dataset"))t=Object.assign({},e.dataset);else for(let n=0;n<e.attributes.length;n++){const o=e.attributes[n];if(-1!==o.nodeName.indexOf("data-")){const e=o.nodeName.substring("data-".length).replace(/-./g,e=>e.charAt(1).toUpperCase());t[e]=o.nodeValue}}return Object.keys(t).forEach(e=>{var n;t[e]="true"===(n=t[e])||"false"!==n&&("null"===n?null:n===Number(n).toString()?Number(n):""===n?null:n)}),t},toggleClass(e,t){null!=e&&(e.classList.contains(t)?e.classList.remove(t):e.classList.add(t))},mergeExtended(e,t,n){for(const o in t)Object.prototype.hasOwnProperty.call(t,o)&&(n&&"[object Object]"===Object.prototype.toString.call(t[o])?e[o]=u.extend(e[o],t[o]):e[o]=t[o]);return e},extend(...e){let t={},n=!1,o=0;for("[object Boolean]"===Object.prototype.toString.call(e[0])&&(n=e[0],o++);o<e.length;o++)t=u.mergeExtended(t,e[o],n);return t},createHtmlNode:e=>(new DOMParser).parseFromString(e,"text/html").body.firstChild};var h=u;const E={TRANSITION_END:"transitionend",getUID(e){do{e+=~~(1e6*Math.random())}while(document.getElementById(e));return e},getSelectorFromElement(e){let t=e.getAttribute("data-target");if(!t||"#"===t){const n=e.getAttribute("href");t=n&&"#"!==n?n.trim():""}try{return document.querySelector(t)?t:null}catch(e){return null}},getTransitionDurationFromElement(e){if(!e)return 0;let t=window.getComputedStyle(e).transitionDuration,n=window.getComputedStyle(e).transitionDelay;const o=parseFloat(t),s=parseFloat(n);return o||s?(t=t.split(",")[0],n=n.split(",")[0],1e3*(parseFloat(t)+parseFloat(n))):0},reflow:e=>e.offsetHeight,triggerTransitionEnd(e){const t=new CustomEvent(E.TRANSITION_END,{});e.dispatchEvent(t)},isElement:e=>(e[0]||e).nodeType,emulateTransitionEnd(e,t){let n=!1;const o=t+5;e.addEventListener(E.TRANSITION_END,(function t(){n=!0,e.removeEventListener(E.TRANSITION_END,t)})),setTimeout(()=>{n||E.triggerTransitionEnd(e)},o)},typeCheckConfig(e,t,n){for(const s in n)if(Object.prototype.hasOwnProperty.call(n,s)){const r=n[s],i=t[s],a=i&&E.isElement(i)?"element":(o=i,{}.toString.call(o).match(/\s([a-z]+)/i)[1].toLowerCase());if(!new RegExp(r).test(a))throw new Error("".concat(e.toUpperCase(),": ")+'Option "'.concat(s,'" provided type "').concat(a,'" ')+'but expected type "'.concat(r,'".'))}var o},makeArray:e=>null==e?[]:[].slice.call(e),findShadowRoot(e){if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?E.findShadowRoot(e.parentElement):null},throttle(e,t,n,o,s){let r,i,a,l=null,c=0;const d=()=>{c=Date.now(),l=null,a=e.apply(i,r)};return()=>{const u=Date.now();c||n||(c=u);const h=t-(u-c);return i=s||this,r=arguments,h<=0?(clearTimeout(l),l=null,c=u,a=e.apply(i,r)):!l&&o&&(l=setTimeout(d,h)),a}}};var p=E;class m extends HTMLElement{constructor(...e){super(),this.components=e,this.instances=[],this.parentNodes=[]}connectedCallback(){this.setup()}disconnectedCallback(){this.instances.forEach(e=>{e.dispose()}),this.instances=null}setup(){let e=this;for(;e.parentNode;)e=e.parentNode,this.parentNodes.push(e);[this,...this.parentNodes].some(e=>e.nextSibling)||"loading"!==document.readyState?this.childrenAvailableCallback():(this.mutationObserver=new MutationObserver(()=>{([this,...this.parentNodes].some(e=>e.nextSibling)||"loading"!==document.readyState)&&(this.childrenAvailableCallback(),this.mutationObserver.disconnect())}),this.mutationObserver.observe(this,{childList:!0}))}childrenAvailableCallback(){this.components.forEach(e=>{const t=this.querySelector(e.SELECTOR.default);if(!t)throw new Error("Default selector of ".concat(e.name," not found: ").concat(e.SELECTOR.default));this.instances.push(new e(t))})}static init(e){if(!e.TAG_NAME)throw new Error("TAG_NAME property of ".concat(e.name," class doesn't exists"));customElements.define(e.TAG_NAME,e)}}class g extends c{constructor(e,t={}){super(g,e,g.getOptions(t)),this.element=e,this.isTransitioning=!1,this.triggerArray=p.makeArray(document.querySelectorAll("".concat(g.SELECTOR.dataToggle,'[href="#').concat(e.id,'"],')+"".concat(g.SELECTOR.dataToggle,'[data-target="#').concat(e.id,'"]')));const n=p.makeArray(document.querySelectorAll(g.SELECTOR.dataToggle));for(let t=0,o=n.length;t<o;t++){const o=n[t],s=p.getSelectorFromElement(o),r=p.makeArray(document.querySelectorAll(s)).filter(t=>t===e);null!==s&&r.length&&(this.selector=s,this.triggerArray.push(o))}this.parent=this.options.parent?this.getParent():null,this.options.parent||this.addAriaAndCollapsedClass(this.element,this.triggerArray),l.setData(e,g.DATA_KEY,this),this.options.toggle&&this.toggle(),l.setData(e,g.DATA_KEY,this),this.registerEvents()}toggle(){this.element.classList.contains(g.CLASS_NAME.show)?this.hide():this.show()}show(){if(this.isTransitioning||this.element.classList.contains(g.CLASS_NAME.show))return;let e,t;this.parent&&(e=p.makeArray(this.parent.querySelectorAll(g.SELECTOR.actives)).filter(e=>"string"==typeof this.options.parent?e.getAttribute("data-parent")===this.options.parent:e.classList.contains(g.CLASS_NAME.collapse)),0===e.length&&(e=null));const n=document.querySelector(this.selector);if(e){const o=e.filter(e=>n!==e);if(t=o[0]?l.getData(o[0],g.DATA_KEY):null,t&&t.isTransitioning)return}if(d.trigger(this.element,g.EVENT.show).defaultPrevented)return;e&&e.forEach(e=>{n!==e&&g.collapseInterface(e,"hide"),t||l.setData(e,g.DATA_KEY,null)});const o=this.getDimension();this.element.classList.remove(g.CLASS_NAME.collapse),this.element.classList.add(g.CLASS_NAME.collapsing),this.element.style[o]=0,this.triggerArray.length&&this.triggerArray.forEach(e=>{e.classList.remove(g.CLASS_NAME.collapsed),e.setAttribute("aria-expanded","true")}),this.setTransitioning(!0);const s=o[0].toUpperCase()+o.slice(1),r="scroll".concat(s),i=p.getTransitionDurationFromElement(this.element);d.one(this.element,p.TRANSITION_END,()=>{this.element.classList.remove(g.CLASS_NAME.collapsing),this.element.classList.add(g.CLASS_NAME.collapse),this.element.classList.add(g.CLASS_NAME.show),this.element.style[o]="",this.setTransitioning(!1),d.trigger(this.element,g.EVENT.shown)}),p.emulateTransitionEnd(this.element,i),this.element.style[o]="".concat(this.element[r],"px")}hide(){if(this.isTransitioning||!this.element.classList.contains(g.CLASS_NAME.show))return;if(d.trigger(this.element,g.EVENT.hide).defaultPrevented)return;const e=this.getDimension();this.element.style[e]="".concat(this.element.getBoundingClientRect()[e],"px"),p.reflow(this.element),this.element.classList.add(g.CLASS_NAME.collapsing),this.element.classList.remove(g.CLASS_NAME.collapse),this.element.classList.remove(g.CLASS_NAME.show);const t=this.triggerArray.length;if(t>0)for(let e=0;e<t;e++){const t=this.triggerArray[e],n=p.getSelectorFromElement(t);if(null!==n){document.querySelector(n).classList.contains(g.CLASS_NAME.show)||(t.classList.add(g.CLASS_NAME.collapsed),t.setAttribute("aria-expanded","false"))}}this.setTransitioning(!0);this.element.style[e]="";const n=p.getTransitionDurationFromElement(this.element);d.one(this.element,p.TRANSITION_END,()=>{this.setTransitioning(!1),this.element.classList.remove(g.CLASS_NAME.collapsing),this.element.classList.add(g.CLASS_NAME.collapse),d.trigger(this.element,g.EVENT.hidden)}),p.emulateTransitionEnd(this.element,n)}setTransitioning(e){this.isTransitioning=e}dispose(){l.removeData(this.element,g.DATA_KEY),this.options=null,this.parent=null,this.element=null,this.triggerArray=null,this.isTransitioning=null}getDimension(){return this.element.classList.contains(g.DIMENSION.width)?g.DIMENSION.width:g.DIMENSION.height}getParent(){let e;p.isElement(this.options.parent)?e=this.options.parent:this.options.parent&&(e=document.querySelector(this.options.parent));const t='[data-toggle="collapse"][data-parent="'.concat(this.options.parent,'"]');return p.makeArray(e.querySelectorAll(t)).forEach(e=>{this.addAriaAndCollapsedClass(g.getTargetFromElement(e),[e])}),e}addAriaAndCollapsedClass(e,t){if(e){const n=e.classList.contains(g.CLASS_NAME.show);t.length&&t.forEach(e=>{n?e.classList.remove(g.CLASS_NAME.collapsed):e.classList.add(g.CLASS_NAME.collapsed),e.setAttribute("aria-expanded",n)})}}static getOptions(e){return(e=Object.assign(Object.assign({},g.DEFAULT_OPTIONS),e)).toggle=Boolean(e.toggle),p.typeCheckConfig(g.NAME,e,g.DEFAULT_TYPE),e}static getTargetFromElement(e){const t=p.getSelectorFromElement(e);return t?document.querySelector(t):null}static collapseInterface(e,t){let n=l.getData(e,g.DATA_KEY);const o=Object.assign(Object.assign(Object.assign({},g.DEFAULT_OPTIONS),h.getDataAttributes(e)),"object"==typeof t&&t?t:{});if(!n&&o.toggle&&/show|hide/.test(t)&&(o.toggle=!1),n||(n=new g(e,o)),"string"==typeof t){if(void 0===n[t])throw new Error('No method named "'.concat(t,'"'));n[t]()}}static getInstance(e){return l.getData(e,g.DATA_KEY)}static init(e={}){return super.init(this,e,g.SELECTOR.default)}registerEvents(){d.on(document,g.EVENT.clickDataApi,g.SELECTOR.dataToggle,(function(e){"A"===e.target.tagName&&e.preventDefault();const t=h.getDataAttributes(this),n=p.getSelectorFromElement(this);p.makeArray(document.querySelectorAll(n)).forEach(e=>{const n=g.getInstance(e);let o;n?(null===n.parent&&"string"==typeof t.parent&&(n.options.parent=t.parent,n.parent=n.getParent()),o="toggle"):o=t,g.collapseInterface(e,o)})}))}}g.NAME="".concat(s.KEY_PREFIX,"-collapse"),g.DATA_KEY="".concat(s.KEY_PREFIX,".collapse"),g.EVENT_KEY=".".concat(g.DATA_KEY),g.DATA_API_KEY=s.KEY_PREFIX,g.CLASS_NAME={show:"show",collapse:"".concat(s.KEY_PREFIX,"-collapse"),collapsing:"".concat(s.KEY_PREFIX,"-collapsing"),collapsed:"".concat(s.KEY_PREFIX,"-collapsed")},g.EVENT={show:"".concat(i.show).concat(g.EVENT_KEY),shown:"".concat(i.shown).concat(g.EVENT_KEY),hide:"".concat(i.hide).concat(g.EVENT_KEY),hidden:"".concat(i.hidden).concat(g.EVENT_KEY),clickDataApi:"".concat(i.click).concat(g.EVENT_KEY).concat(g.DATA_API_KEY)},g.DEFAULT_OPTIONS={toggle:!1,parent:""},g.DEFAULT_TYPE={toggle:"boolean",parent:"(string|element)"},g.DIMENSION={width:"width",height:"height"},g.SELECTOR={default:".".concat(g.CLASS_NAME.collapse),actives:".".concat(g.CLASS_NAME.show,", .").concat(g.CLASS_NAME.collapsing),dataToggle:'[data-toggle="collapse"]'};class f extends m{constructor(){super(g)}static init(){m.init(f)}}f.TAG_NAME=g.NAME;var A={describe:e=>void 0===e?"undefined":0===e.length?"(no matching elements)":"".concat(e.outerHTML.split(">")[0],">"),assert(e,t,n){if(t)throw void 0!==e&&(e.style.border="1px solid red"),console.error(n,e),n},isChar:e=>void 0===e.which||"number"==typeof e.which&&e.which>0&&(!e.ctrlKey&&!e.metaKey&&!e.altKey&&8!==e.which&&9!==e.which&&13!==e.which&&16!==e.which&&17!==e.which&&20!==e.which&&27!==e.which)};class S extends c{constructor(e,t,n={},o={}){super(e,t,n);for(const e in o)!{}.hasOwnProperty.call(o,e)?console.error("".concat(e," does not exist in properties")):this[e]=o[e]}addFormGroupFocus(){!0==!this.element.disabled&&this.njFormGroup.classList.add(S.CLASS_NAME.isFocused)}removeFormGroupFocus(){this.njFormGroup.classList.remove(S.CLASS_NAME.isFocused)}addIsFilled(){this.njFormGroup.classList.add(S.CLASS_NAME.isFilled)}removeIsFilled(){this.njFormGroup.classList.remove(S.CLASS_NAME.isFilled)}findFormGroup(e=!0){const t=this.element.closest(S.SELECTOR.formGroup);return null===t&&e&&console.error("Failed to find ".concat(S.SELECTOR.formGroup," for ").concat(A.describe(this.element))),t}}S.CLASS_NAME={njFormGroup:"nj-form-group",isFilled:"is-filled",isFocused:"is-focused"},S.SELECTOR={formGroup:".".concat(S.CLASS_NAME.njFormGroup)};class y extends S{constructor(e,t={}){super(y,e,h.extend(!0,y.DEFAULT_OPTIONS,t)),this.triggerElement=this.element.parentElement.querySelector('[data-toggle="collapse"]['.concat(y.SELECTOR.target,'="#').concat(this.element.id,'"]'))||this.element.parentElement.querySelector('[data-toggle="collapse"][href="#'.concat(this.element.id,'"]'));const n=this.element.querySelector('[data-dismiss="#'.concat(this.element.id,'"]'));n&&n.addEventListener("click",this.dismissHandler.bind(this)),A.assert(e,!this.triggerElement,"Cannot find collapse trigger for ".concat(A.describe(e))),A.assert(e,!this.element.classList.contains(g.CLASS_NAME.collapse),"".concat(A.describe(e)," is expected to have the '").concat(g.CLASS_NAME.collapse,"' class. It is being targeted by ").concat(A.describe(e))),this.input=this.element.querySelector(y.SELECTOR.anyInput),this.input&&(d.on(this.element,"".concat(i.shown,".").concat(g.DATA_KEY),()=>{this.input.focus()}),d.on(this.input,"blur",e=>{this.dismissHandler(e)}))}getElement(){return this.element}dispose(){l.removeData(this.element,y.DATA_KEY),this.element=null}static init(e={}){return super.init(this,e,y.SELECTOR.default)}static getInstance(e){const t=l.getData(e,y.DATA_KEY);return t||g.getInstance(e)}dismissHandler(e){e.preventDefault(),(e.target.closest('[data-dismiss="#'.concat(this.element.id,'"]'))||e.target.closest('[href="#'.concat(this.element.id,'"]')))&&d.trigger(this.triggerElement,i.click)}}y.NAME="collapseSearchBar",y.DATA_KEY="".concat(s.KEY_PREFIX,".").concat(y.NAME),y.SELECTOR={default:".".concat(s.KEY_PREFIX,"-navbar__search"),formGroup:S.SELECTOR.formGroup,anyInput:"input, select, textarea",target:"data-target"},y.DEFAULT_OPTIONS={njFormGroup:{required:!1}},n.d(t,"default",(function(){return T})),n.d(t,"NavbarWC",(function(){return N}));class T extends c{constructor(e){super(T,e),this.collapseSearchBarInstances=y.init(),this.registerEvents()}dispose(){this.collapseSearchBarInstances.length>0&&this.collapseSearchBarInstances.forEach(e=>{e.getElement()===this.element.querySelector(y.SELECTOR.default)&&e.dispose()}),l.removeData(this.element,T.DATA_KEY),this.element=null}handleCollapseShow(){this.element.classList.add(T.CLASS_NAME.shownCollapse)}handleCollapseHide(){this.element.classList.remove(T.CLASS_NAME.shownCollapse)}static getInstance(e){return l.getData(e,T.DATA_KEY)}static init(e={}){return super.init(this,e,T.SELECTOR.default)}registerEvents(){d.on(this.element,g.EVENT.show,()=>{this.handleCollapseShow()}),d.on(this.element,g.EVENT.hidden,()=>{this.handleCollapseHide()})}}T.NAME="".concat(s.KEY_PREFIX,"-navbar"),T.DATA_KEY="".concat(s.KEY_PREFIX,".navbar"),T.CLASS_NAME={shownCollapse:"".concat(T.NAME,"--shown-collapse")},T.SELECTOR={default:".".concat(T.NAME)};class N extends m{constructor(){super(T,g)}static init(){m.init(N)}}N.TAG_NAME=T.NAME}]).default}));
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("Navbar",[],t):"object"==typeof exports?exports.Navbar=t():e.Navbar=t()}(window,(function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var s=t[o]={i:o,l:!1,exports:{}};return e[o].call(s.exports,s,s.exports,n),s.l=!0,s.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var s in e)n.d(o,s,function(t){return e[t]}.bind(null,s));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";n.r(t),window.NJStore=window.NJStore||[];const o=(()=>{const e=window.NJStore;return{set(t,n,o){void 0===t.key&&(t.key={key:n,id:e.length}),e[t.key.id]=o},get:(t,n)=>(t.key&&!n.id&&(n=t.key),n&&n.id?e[n.id]:null),delete(t,n){if(void 0===t.key)return;const o=t.key;o.key===n&&(delete e[o.id],delete t.key)}}})();var s,r,i,a,l={setData(e,t,n){o.set(e,t,n)},getData:(e,t)=>o.get(e,t),removeData(e,t){o.delete(e,t)}};class c{constructor(e,t,n={}){!t||t instanceof Element||console.error(Error("".concat(t," is not an HTML Element"))),this.options=n,this.element=t}static init(e,t={},n){const o=[],s=document.querySelectorAll(n);for(let n=0;n<s.length;n++){const r=s[n];if(!r.key||r.key!==e.DATA_KEY){const i=new e(s[n],t);r.key||l.setData(s[n],e.DATA_KEY,i),o.push(i)}}return o}}!function(e){e.KEY_PREFIX="nj",e.DATA_API_KEY=".data-api"}(s||(s={})),function(e){e.mouseenter="mouseover",e.mouseleave="mouseout"}(r||(r={})),function(e){e.click="click",e.close="close",e.closed="closed",e.hide="hide",e.hidden="hidden",e.input="input",e.keydown="keydown",e.keyup="keyup",e.onchange="onchange",e.show="show",e.shown="shown",e.inserted="inserted",e.focusin="focusin",e.focusout="focusout",e.mouseenter="mouseenter",e.mouseleave="mouseleave",e.mouseup="mouseup",e.mousedown="mousedown"}(i||(i={})),function(e){e.click="click",e.dblclick="dblclick",e.mouseup="mouseup",e.mousedown="mousedown",e.contextmenu="contextmenu",e.mousewheel="mousewheel",e.DOMMouseScroll="DOMMouseScroll",e.mouseover="mouseover",e.mouseout="mouseout",e.mousemove="mousemove",e.selectstart="selectstart",e.selectend="selectend",e.keydown="keydown",e.keypress="keypress",e.keyup="keyup",e.orientationchange="orientationchange",e.touchstart="touchstart",e.touchmove="touchmove",e.touchend="touchend",e.touchcancel="touchcancel",e.pointerdown="pointerdown",e.pointermove="pointermove",e.pointerup="pointerup",e.pointerleave="pointerleave",e.pointercancel="pointercancel",e.gesturestart="gesturestart",e.gesturechange="gesturechange",e.gestureend="gestureend",e.focus="focus",e.blur="blur",e.change="change",e.reset="reset",e.select="select",e.submit="submit",e.focusin="focusin",e.focusout="focusout",e.load="load",e.unload="unload",e.beforeunload="beforeunload",e.resize="resize",e.move="move",e.DOMContentLoaded="DOMContentLoaded",e.readystatechange="readystatechange",e.error="error",e.abort="abort",e.scroll="scroll"}(a||(a={}));class d{static getUidEvent(e,t){return t&&"".concat(t,"::").concat(d.uidEvent++)||e.uidEvent||d.uidEvent++}static getEvent(e){const t=d.getUidEvent(e);return e.uidEvent=t,d.EVENTREGISTRY[t]=d.EVENTREGISTRY[t]||{}}static fixEvent(e,t){null===e.which&&d.KEYEVENT_REGEX.test(e.type)&&(e.which=null!==e.charCode?e.charCode:e.keyCode),e.delegateTarget=t}static njHandler(e,t){const n=o=>(d.fixEvent(o,e),n.oneOff&&d.off(e,o.type,t),t.apply(e,[o]));return n}static njDelegationHandler(e,t,n){const o=s=>{const r=e.querySelectorAll(t);for(let t=s.target;t&&t!==this;t=t.parentNode)for(let i=r.length;i>=0;i--)if(r[i]===t)return d.fixEvent(s,t),o.oneOff&&d.off(e,s.type,n),n.apply(t,[s]);return null};return o}static findHandler(e,t,n=null){for(const o in e){if(!Object.prototype.hasOwnProperty.call(e,o))continue;const s=e[o];if(s.originalHandler===t&&s.delegationSelector===n)return e[o]}return null}static normalizeParams(e,t,n){const o="string"==typeof t,s=o?n:t;let i=e.replace(d.STRIPNAME_REGEX,"");const l=r[i];l&&(i=l);return"string"==typeof a[i]||(i=e),[o,s,i]}static addHandler(e,t,n,o,s){if("string"!=typeof t||null==e)return;n||(n=o,o=null);const r=d.getEvent(e);for(const i of t.split(" ")){const[t,a,l]=d.normalizeParams(i,n,o),c=r[l]||(r[l]={}),u=d.findHandler(c,a,t?n:null);if(u)return void(u.oneOff=u.oneOff&&s);const h=d.getUidEvent(a,i.replace(d.NAMESPACE_REGEX,"")),E=t?d.njDelegationHandler(e,n,o):d.njHandler(e,n);E.delegationSelector=t?n:null,E.originalHandler=a,E.oneOff=s,E.uidEvent=h,c[h]=E,e.addEventListener(l,E,t)}}static removeHandler(e,t,n,o,s){const r=d.findHandler(t[n],o,s);null!==r&&(e.removeEventListener(n,r,Boolean(s)),delete t[n][r.uidEvent])}static removeNamespacedHandlers(e,t,n,o){const s=t[n]||{};for(const r in s)if(Object.prototype.hasOwnProperty.call(s,r)&&r.indexOf(o)>-1){const o=s[r];d.removeHandler(e,t,n,o.originalHandler,o.delegationSelector)}}static on(e,t,n,o){d.addHandler(e,t,n,o,!1)}static one(e,t,n,o){d.addHandler(e,t,n,o,!0)}static off(e,t,n,o){if("string"!=typeof t||null==e)return;const[s,r,i]=d.normalizeParams(t,n,o),a=i!==t,l=d.getEvent(e);if(void 0!==r){if(!l||!l[i])return;return void d.removeHandler(e,l,i,r,s?n:null)}if("."===t.charAt(0))for(const n in l)Object.prototype.hasOwnProperty.call(l,n)&&d.removeNamespacedHandlers(e,l,n,t.substr(1));const c=l[i]||{};for(const n in c){if(!Object.prototype.hasOwnProperty.call(c,n))continue;const o=n.replace(d.STRIPUID_REGEX,"");if(!a||t.indexOf(o)>-1){const t=c[n];d.removeHandler(e,l,i,t.originalHandler,t.delegationSelector)}}}static trigger(e,t,n){if("string"!=typeof t||null==e)return null;const o=t.replace(d.STRIPNAME_REGEX,""),s="string"==typeof a[o];let r=null;return s?(r=document.createEvent("HTMLEvents"),r.initEvent(o,true,!0)):r=new window.CustomEvent(t,{bubbles:true,cancelable:!0}),void 0!==n&&Object.keys(n).forEach(e=>{Object.defineProperty(r,e,{get:()=>n[e]})}),e.dispatchEvent(r),r}}d.NAMESPACE_REGEX=/[^.]*(?=\..*)\.|.*/,d.STRIPNAME_REGEX=/\..*/,d.KEYEVENT_REGEX=/^key/,d.STRIPUID_REGEX=/::\d+$/,d.EVENTREGISTRY={},d.uidEvent=1;const u={getDataAttributes(e){if(null==e)return{};let t={};if(Object.getOwnPropertyDescriptor(HTMLElement.prototype,"dataset"))t=Object.assign({},e.dataset);else for(let n=0;n<e.attributes.length;n++){const o=e.attributes[n];if(-1!==o.nodeName.indexOf("data-")){const e=o.nodeName.substring("data-".length).replace(/-./g,e=>e.charAt(1).toUpperCase());t[e]=o.nodeValue}}return Object.keys(t).forEach(e=>{var n;t[e]="true"===(n=t[e])||"false"!==n&&("null"===n?null:n===Number(n).toString()?Number(n):""===n?null:n)}),t},toggleClass(e,t){null!=e&&(e.classList.contains(t)?e.classList.remove(t):e.classList.add(t))},mergeExtended(e,t,n){for(const o in t)Object.prototype.hasOwnProperty.call(t,o)&&(n&&"[object Object]"===Object.prototype.toString.call(t[o])?e[o]=u.extend(e[o],t[o]):e[o]=t[o]);return e},extend(...e){let t={},n=!1,o=0;for("[object Boolean]"===Object.prototype.toString.call(e[0])&&(n=e[0],o++);o<e.length;o++)t=u.mergeExtended(t,e[o],n);return t},createHtmlNode:e=>(new DOMParser).parseFromString(e,"text/html").body.firstChild};var h=u;const E={TRANSITION_END:"transitionend",getUID(e){do{e+=~~(1e6*Math.random())}while(document.getElementById(e));return e},getSelectorFromElement(e){let t=e.getAttribute("data-target");if(!t||"#"===t){const n=e.getAttribute("href");t=n&&"#"!==n?n.trim():""}try{return document.querySelector(t)?t:null}catch(e){return null}},getTransitionDurationFromElement(e){if(!e)return 0;let t=window.getComputedStyle(e).transitionDuration,n=window.getComputedStyle(e).transitionDelay;const o=parseFloat(t),s=parseFloat(n);return o||s?(t=t.split(",")[0],n=n.split(",")[0],1e3*(parseFloat(t)+parseFloat(n))):0},reflow:e=>e.offsetHeight,triggerTransitionEnd(e){const t=new CustomEvent(E.TRANSITION_END,{});e.dispatchEvent(t)},isElement:e=>(e[0]||e).nodeType,emulateTransitionEnd(e,t){let n=!1;const o=t+5;e.addEventListener(E.TRANSITION_END,(function t(){n=!0,e.removeEventListener(E.TRANSITION_END,t)})),setTimeout(()=>{n||E.triggerTransitionEnd(e)},o)},typeCheckConfig(e,t,n){for(const s in n)if(Object.prototype.hasOwnProperty.call(n,s)){const r=n[s],i=t[s],a=i&&E.isElement(i)?"element":(o=i,{}.toString.call(o).match(/\s([a-z]+)/i)[1].toLowerCase());if(!new RegExp(r).test(a))throw new Error("".concat(e.toUpperCase(),": ")+'Option "'.concat(s,'" provided type "').concat(a,'" ')+'but expected type "'.concat(r,'".'))}var o},makeArray:e=>null==e?[]:[].slice.call(e),findShadowRoot(e){if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?E.findShadowRoot(e.parentElement):null},throttle(e,t,n,o,s){let r,i,a,l=null,c=0;const d=()=>{c=Date.now(),l=null,a=e.apply(i,r)};return()=>{const u=Date.now();c||n||(c=u);const h=t-(u-c);return i=s||this,r=arguments,h<=0?(clearTimeout(l),l=null,c=u,a=e.apply(i,r)):!l&&o&&(l=setTimeout(d,h)),a}}};var p=E;class m extends HTMLElement{constructor(...e){super(),this.components=e,this.instances=[],this.parentNodes=[]}connectedCallback(){this.setup()}disconnectedCallback(){this.instances.forEach(e=>{e.dispose()}),this.instances=null}setup(){let e=this;for(;e.parentNode;)e=e.parentNode,this.parentNodes.push(e);[this,...this.parentNodes].some(e=>e.nextSibling)||"loading"!==document.readyState?this.childrenAvailableCallback():(this.mutationObserver=new MutationObserver(()=>{([this,...this.parentNodes].some(e=>e.nextSibling)||"loading"!==document.readyState)&&(this.childrenAvailableCallback(),this.mutationObserver.disconnect())}),this.mutationObserver.observe(this,{childList:!0}))}childrenAvailableCallback(){this.components.forEach(e=>{const t=this.querySelector(e.SELECTOR.default);if(!t)throw new Error("Default selector of ".concat(e.name," not found: ").concat(e.SELECTOR.default));this.instances.push(new e(t))})}static init(e){if(!e.TAG_NAME)throw new Error("TAG_NAME property of ".concat(e.name," class doesn't exists"));customElements.define(e.TAG_NAME,e)}}class g extends c{constructor(e,t={}){super(g,e,g.getOptions(t)),this.element=e,this.isTransitioning=!1,this.triggerArray=p.makeArray(document.querySelectorAll("".concat(g.SELECTOR.dataToggle,'[href="#').concat(e.id,'"],')+"".concat(g.SELECTOR.dataToggle,'[data-target="#').concat(e.id,'"]')));const n=p.makeArray(document.querySelectorAll(g.SELECTOR.dataToggle));for(let t=0,o=n.length;t<o;t++){const o=n[t],s=p.getSelectorFromElement(o),r=p.makeArray(document.querySelectorAll(s)).filter(t=>t===e);null!==s&&r.length&&(this.selector=s,this.triggerArray.push(o))}this.parent=this.options.parent?this.getParent():null,this.options.parent||this.addAriaAndCollapsedClass(this.element,this.triggerArray),this.options.toggle&&this.toggle(),l.setData(e,g.DATA_KEY,this),this.registerEvents()}toggle(){this.element.classList.contains(g.CLASS_NAME.show)?this.hide():this.show()}show(){if(this.isTransitioning||this.element.classList.contains(g.CLASS_NAME.show))return;let e,t;this.parent&&(e=p.makeArray(this.parent.querySelectorAll(g.SELECTOR.actives)).filter(e=>"string"==typeof this.options.parent?e.getAttribute("data-parent")===this.options.parent:e.classList.contains(g.CLASS_NAME.collapse)),0===e.length&&(e=null));const n=document.querySelector(this.selector);if(e){const o=e.filter(e=>n!==e);if(t=o[0]?l.getData(o[0],g.DATA_KEY):null,t&&t.isTransitioning)return}if(d.trigger(this.element,g.EVENT.show).defaultPrevented)return;e&&e.forEach(e=>{n!==e&&g.collapseInterface(e,"hide"),t||l.setData(e,g.DATA_KEY,null)});const o=this.getDimension();this.element.classList.remove(g.CLASS_NAME.collapse),this.element.classList.add(g.CLASS_NAME.collapsing),this.element.style[o]=0,this.triggerArray.length&&this.triggerArray.forEach(e=>{e.classList.remove(g.CLASS_NAME.collapsed),e.setAttribute("aria-expanded","true")}),this.setTransitioning(!0);const s=o[0].toUpperCase()+o.slice(1),r="scroll".concat(s),i=p.getTransitionDurationFromElement(this.element);d.one(this.element,p.TRANSITION_END,()=>{this.element.classList.remove(g.CLASS_NAME.collapsing),this.element.classList.add(g.CLASS_NAME.collapse),this.element.classList.add(g.CLASS_NAME.show),this.element.style[o]="",this.setTransitioning(!1),d.trigger(this.element,g.EVENT.shown)}),p.emulateTransitionEnd(this.element,i),this.element.style[o]="".concat(this.element[r],"px")}hide(){if(this.isTransitioning||!this.element.classList.contains(g.CLASS_NAME.show))return;if(d.trigger(this.element,g.EVENT.hide).defaultPrevented)return;const e=this.getDimension();this.element.style[e]="".concat(this.element.getBoundingClientRect()[e],"px"),p.reflow(this.element),this.element.classList.add(g.CLASS_NAME.collapsing),this.element.classList.remove(g.CLASS_NAME.collapse),this.element.classList.remove(g.CLASS_NAME.show);const t=this.triggerArray.length;if(t>0)for(let e=0;e<t;e++){const t=this.triggerArray[e],n=p.getSelectorFromElement(t);if(null!==n){document.querySelector(n).classList.contains(g.CLASS_NAME.show)||(t.classList.add(g.CLASS_NAME.collapsed),t.setAttribute("aria-expanded","false"))}}this.setTransitioning(!0);this.element.style[e]="";const n=p.getTransitionDurationFromElement(this.element);d.one(this.element,p.TRANSITION_END,()=>{this.setTransitioning(!1),this.element.classList.remove(g.CLASS_NAME.collapsing),this.element.classList.add(g.CLASS_NAME.collapse),d.trigger(this.element,g.EVENT.hidden)}),p.emulateTransitionEnd(this.element,n)}setTransitioning(e){this.isTransitioning=e}dispose(){l.removeData(this.element,g.DATA_KEY),this.options=null,this.parent=null,this.element=null,this.triggerArray=null,this.isTransitioning=null}getDimension(){return this.element.classList.contains(g.DIMENSION.width)?g.DIMENSION.width:g.DIMENSION.height}getParent(){let e;p.isElement(this.options.parent)?e=this.options.parent:this.options.parent&&(e=document.querySelector(this.options.parent));const t='[data-toggle="collapse"][data-parent="'.concat(this.options.parent,'"]');return p.makeArray(e.querySelectorAll(t)).forEach(e=>{this.addAriaAndCollapsedClass(g.getTargetFromElement(e),[e])}),e}addAriaAndCollapsedClass(e,t){if(e){const n=e.classList.contains(g.CLASS_NAME.show);t.length&&t.forEach(e=>{n?e.classList.remove(g.CLASS_NAME.collapsed):e.classList.add(g.CLASS_NAME.collapsed),e.setAttribute("aria-expanded",n)})}}static getOptions(e){return(e=Object.assign(Object.assign({},g.DEFAULT_OPTIONS),e)).toggle=Boolean(e.toggle),p.typeCheckConfig(g.NAME,e,g.DEFAULT_TYPE),e}static getTargetFromElement(e){const t=p.getSelectorFromElement(e);return t?document.querySelector(t):null}static collapseInterface(e,t){let n=l.getData(e,g.DATA_KEY);const o=Object.assign(Object.assign(Object.assign({},g.DEFAULT_OPTIONS),h.getDataAttributes(e)),"object"==typeof t&&t?t:{});if(!n&&o.toggle&&/show|hide/.test(t)&&(o.toggle=!1),n||(n=new g(e,o)),"string"==typeof t){if(void 0===n[t])throw new Error('No method named "'.concat(t,'"'));n[t]()}}static getInstance(e){return l.getData(e,g.DATA_KEY)}static init(e={}){return super.init(this,e,g.SELECTOR.default)}registerEvents(){d.on(document,g.EVENT.clickDataApi,g.SELECTOR.dataToggle,(function(e){"A"===e.target.tagName&&e.preventDefault();const t=h.getDataAttributes(this),n=p.getSelectorFromElement(this);p.makeArray(document.querySelectorAll(n)).forEach(e=>{const n=g.getInstance(e);let o;n?(null===n.parent&&"string"==typeof t.parent&&(n.options.parent=t.parent,n.parent=n.getParent()),o="toggle"):o=t,g.collapseInterface(e,o)})}))}}g.NAME="".concat(s.KEY_PREFIX,"-collapse"),g.DATA_KEY="".concat(s.KEY_PREFIX,".collapse"),g.EVENT_KEY=".".concat(g.DATA_KEY),g.DATA_API_KEY=s.KEY_PREFIX,g.CLASS_NAME={show:"show",collapse:"".concat(s.KEY_PREFIX,"-collapse"),collapsing:"".concat(s.KEY_PREFIX,"-collapsing"),collapsed:"".concat(s.KEY_PREFIX,"-collapsed")},g.EVENT={show:"".concat(i.show).concat(g.EVENT_KEY),shown:"".concat(i.shown).concat(g.EVENT_KEY),hide:"".concat(i.hide).concat(g.EVENT_KEY),hidden:"".concat(i.hidden).concat(g.EVENT_KEY),clickDataApi:"".concat(i.click).concat(g.EVENT_KEY).concat(g.DATA_API_KEY)},g.DEFAULT_OPTIONS={toggle:!1,parent:""},g.DEFAULT_TYPE={toggle:"boolean",parent:"(string|element)"},g.DIMENSION={width:"width",height:"height"},g.SELECTOR={default:".".concat(g.CLASS_NAME.collapse),actives:".".concat(g.CLASS_NAME.show,", .").concat(g.CLASS_NAME.collapsing),dataToggle:'[data-toggle="collapse"]'};class f extends m{constructor(){super(g)}static init(){m.init(f)}}f.TAG_NAME=g.NAME;var A={describe:e=>void 0===e?"undefined":0===e.length?"(no matching elements)":"".concat(e.outerHTML.split(">")[0],">"),assert(e,t,n){if(t)throw void 0!==e&&(e.style.border="1px solid red"),console.error(n,e),n},isChar:e=>void 0===e.which||"number"==typeof e.which&&e.which>0&&(!e.ctrlKey&&!e.metaKey&&!e.altKey&&8!==e.which&&9!==e.which&&13!==e.which&&16!==e.which&&17!==e.which&&20!==e.which&&27!==e.which)};class S extends c{constructor(e,t,n={},o={}){super(e,t,n);for(const e in o)!{}.hasOwnProperty.call(o,e)?console.error("".concat(e," does not exist in properties")):this[e]=o[e]}addFormGroupFocus(){!0==!this.element.disabled&&this.njFormGroup.classList.add(S.CLASS_NAME.isFocused)}removeFormGroupFocus(){this.njFormGroup.classList.remove(S.CLASS_NAME.isFocused)}addIsFilled(){this.njFormGroup.classList.add(S.CLASS_NAME.isFilled)}removeIsFilled(){this.njFormGroup.classList.remove(S.CLASS_NAME.isFilled)}findFormGroup(e=!0){const t=this.element.closest(S.SELECTOR.formGroup);return null===t&&e&&console.error("Failed to find ".concat(S.SELECTOR.formGroup," for ").concat(A.describe(this.element))),t}}S.CLASS_NAME={njFormGroup:"nj-form-group",isFilled:"is-filled",isFocused:"is-focused"},S.SELECTOR={formGroup:".".concat(S.CLASS_NAME.njFormGroup)};class y extends S{constructor(e,t={}){super(y,e,h.extend(!0,y.DEFAULT_OPTIONS,t)),this.triggerElement=this.element.parentElement.querySelector('[data-toggle="collapse"]['.concat(y.SELECTOR.target,'="#').concat(this.element.id,'"]'))||this.element.parentElement.querySelector('[data-toggle="collapse"][href="#'.concat(this.element.id,'"]'));const n=this.element.querySelector('[data-dismiss="#'.concat(this.element.id,'"]'));n&&n.addEventListener("click",this.dismissHandler.bind(this)),A.assert(e,!this.triggerElement,"Cannot find collapse trigger for ".concat(A.describe(e))),A.assert(e,!this.element.classList.contains(g.CLASS_NAME.collapse),"".concat(A.describe(e)," is expected to have the '").concat(g.CLASS_NAME.collapse,"' class. It is being targeted by ").concat(A.describe(e))),this.input=this.element.querySelector(y.SELECTOR.anyInput),this.input&&(d.on(this.element,"".concat(i.shown,".").concat(g.DATA_KEY),()=>{this.input.focus()}),d.on(this.input,"blur",e=>{this.dismissHandler(e)}))}getElement(){return this.element}dispose(){l.removeData(this.element,y.DATA_KEY),this.element=null}static init(e={}){return super.init(this,e,y.SELECTOR.default)}static getInstance(e){const t=l.getData(e,y.DATA_KEY);return t||g.getInstance(e)}dismissHandler(e){e.preventDefault(),(e.target.closest('[data-dismiss="#'.concat(this.element.id,'"]'))||e.target.closest('[href="#'.concat(this.element.id,'"]')))&&d.trigger(this.triggerElement,i.click)}}y.NAME="collapseSearchBar",y.DATA_KEY="".concat(s.KEY_PREFIX,".").concat(y.NAME),y.SELECTOR={default:".".concat(s.KEY_PREFIX,"-navbar__search"),formGroup:S.SELECTOR.formGroup,anyInput:"input, select, textarea",target:"data-target"},y.DEFAULT_OPTIONS={njFormGroup:{required:!1}},n.d(t,"default",(function(){return T})),n.d(t,"NavbarWC",(function(){return N}));class T extends c{constructor(e){super(T,e),this.collapseSearchBarInstances=y.init(),this.registerEvents()}dispose(){this.collapseSearchBarInstances.length>0&&this.collapseSearchBarInstances.forEach(e=>{e.getElement()===this.element.querySelector(y.SELECTOR.default)&&e.dispose()}),l.removeData(this.element,T.DATA_KEY),this.element=null}handleCollapseShow(){this.element.classList.add(T.CLASS_NAME.shownCollapse)}handleCollapseHide(){this.element.classList.remove(T.CLASS_NAME.shownCollapse)}static getInstance(e){return l.getData(e,T.DATA_KEY)}static init(e={}){return super.init(this,e,T.SELECTOR.default)}registerEvents(){d.on(this.element,g.EVENT.show,()=>{this.handleCollapseShow()}),d.on(this.element,g.EVENT.hidden,()=>{this.handleCollapseHide()})}}T.NAME="".concat(s.KEY_PREFIX,"-navbar"),T.DATA_KEY="".concat(s.KEY_PREFIX,".navbar"),T.CLASS_NAME={shownCollapse:"".concat(T.NAME,"--shown-collapse")},T.SELECTOR={default:".".concat(T.NAME)};class N extends m{constructor(){super(T,g)}static init(){m.init(N)}}N.TAG_NAME=T.NAME}]).default}));

@@ -1,1 +0,1 @@

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("Radio",[],t):"object"==typeof exports?exports.Radio=t():e.Radio=t()}(window,(function(){return function(e){var t={};function o(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,o),r.l=!0,r.exports}return o.m=e,o.c=t,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)o.d(n,r,function(t){return e[t]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=0)}([function(e,t,o){"use strict";o.r(t);const n=(()=>{const e={};let t=1;return{set(o,n,r){void 0===o.key&&(o.key={key:n,id:t},t++),e[o.key.id]=r},get(t,o){if(!t||void 0===t.key)return null;const n=t.key;return n.key===o?e[n.id]:null},delete(t,o){if(void 0===t.key)return;const n=t.key;n.key===o&&(delete e[n.id],delete t.key)}}})();var r={setData(e,t,o){n.set(e,t,o)},getData:(e,t)=>n.get(e,t),removeData(e,t){n.delete(e,t)}};var s,i,l,a,c={describe:e=>void 0===e?"undefined":0===e.length?"(no matching elements)":"".concat(e.outerHTML.split(">")[0],">"),assert(e,t,o){if(t)throw void 0!==e&&(e.style.border="1px solid red"),console.error(o,e),o},isChar:e=>void 0===e.which||"number"==typeof e.which&&e.which>0&&(!e.ctrlKey&&!e.metaKey&&!e.altKey&&8!==e.which&&9!==e.which&&13!==e.which&&16!==e.which&&17!==e.which&&20!==e.which&&27!==e.which)};class u extends class{constructor(e,t,o={}){!t||t instanceof Element||console.error(Error("".concat(t," is not an HTML Element"))),this.options=o,this.element=t}static init(e,t={},o){const n=[],s=document.querySelectorAll(o);for(let o=0;o<s.length;o++){const i=s[o];if(!i.key||i.key!==e.DATA_KEY){const l=new e(s[o],t);i.key||r.setData(s[o],e.DATA_KEY,l),n.push(l)}}return n}}{constructor(e,t,o={},n={}){super(e,t,o);for(const e in n)!{}.hasOwnProperty.call(n,e)?console.error("".concat(e," does not exist in properties")):this[e]=n[e]}addFormGroupFocus(){!0==!this.element.disabled&&this.njFormGroup.classList.add(u.CLASS_NAME.isFocused)}removeFormGroupFocus(){this.njFormGroup.classList.remove(u.CLASS_NAME.isFocused)}addIsFilled(){this.njFormGroup.classList.add(u.CLASS_NAME.isFilled)}removeIsFilled(){this.njFormGroup.classList.remove(u.CLASS_NAME.isFilled)}findFormGroup(e=!0){const t=this.element.closest(u.SELECTOR.formGroup);return null===t&&e&&console.error("Failed to find ".concat(u.SELECTOR.formGroup," for ").concat(c.describe(this.element))),t}}u.CLASS_NAME={njFormGroup:"nj-form-group",isFilled:"is-filled",isFocused:"is-focused"},u.SELECTOR={formGroup:".".concat(u.CLASS_NAME.njFormGroup)},function(e){e.KEY_PREFIX="nj",e.DATA_API_KEY=".data-api"}(s||(s={})),function(e){e.mouseenter="mouseover",e.mouseleave="mouseout"}(i||(i={})),function(e){e.click="click",e.close="close",e.closed="closed",e.hide="hide",e.hidden="hidden",e.input="input",e.keydown="keydown",e.keyup="keyup",e.onchange="onchange",e.show="show",e.shown="shown",e.inserted="inserted",e.focusin="focusin",e.focusout="focusout",e.mouseenter="mouseenter",e.mouseleave="mouseleave",e.mouseup="mouseup",e.mousedown="mousedown"}(l||(l={})),function(e){e.click="click",e.dblclick="dblclick",e.mouseup="mouseup",e.mousedown="mousedown",e.contextmenu="contextmenu",e.mousewheel="mousewheel",e.DOMMouseScroll="DOMMouseScroll",e.mouseover="mouseover",e.mouseout="mouseout",e.mousemove="mousemove",e.selectstart="selectstart",e.selectend="selectend",e.keydown="keydown",e.keypress="keypress",e.keyup="keyup",e.orientationchange="orientationchange",e.touchstart="touchstart",e.touchmove="touchmove",e.touchend="touchend",e.touchcancel="touchcancel",e.pointerdown="pointerdown",e.pointermove="pointermove",e.pointerup="pointerup",e.pointerleave="pointerleave",e.pointercancel="pointercancel",e.gesturestart="gesturestart",e.gesturechange="gesturechange",e.gestureend="gestureend",e.focus="focus",e.blur="blur",e.change="change",e.reset="reset",e.select="select",e.submit="submit",e.focusin="focusin",e.focusout="focusout",e.load="load",e.unload="unload",e.beforeunload="beforeunload",e.resize="resize",e.move="move",e.DOMContentLoaded="DOMContentLoaded",e.readystatechange="readystatechange",e.error="error",e.abort="abort",e.scroll="scroll"}(a||(a={}));class d{static getUidEvent(e,t){return t&&"".concat(t,"::").concat(d.uidEvent++)||e.uidEvent||d.uidEvent++}static getEvent(e){const t=d.getUidEvent(e);return e.uidEvent=t,d.EVENTREGISTRY[t]=d.EVENTREGISTRY[t]||{}}static fixEvent(e,t){null===e.which&&d.KEYEVENT_REGEX.test(e.type)&&(e.which=null!==e.charCode?e.charCode:e.keyCode),e.delegateTarget=t}static njHandler(e,t){const o=n=>(d.fixEvent(n,e),o.oneOff&&d.off(e,n.type,t),t.apply(e,[n]));return o}static njDelegationHandler(e,t,o){const n=r=>{const s=e.querySelectorAll(t);for(let t=r.target;t&&t!==this;t=t.parentNode)for(let i=s.length;i>=0;i--)if(s[i]===t)return d.fixEvent(r,t),n.oneOff&&d.off(e,r.type,o),o.apply(t,[r]);return null};return n}static findHandler(e,t,o=null){for(const n in e){if(!Object.prototype.hasOwnProperty.call(e,n))continue;const r=e[n];if(r.originalHandler===t&&r.delegationSelector===o)return e[n]}return null}static normalizeParams(e,t,o){const n="string"==typeof t,r=n?o:t;let s=e.replace(d.STRIPNAME_REGEX,"");const l=i[s];l&&(s=l);return"string"==typeof a[s]||(s=e),[n,r,s]}static addHandler(e,t,o,n,r){if("string"!=typeof t||null==e)return;o||(o=n,n=null);const s=d.getEvent(e);for(const i of t.split(" ")){const[t,l,a]=d.normalizeParams(i,o,n),c=s[a]||(s[a]={}),u=d.findHandler(c,l,t?o:null);if(u)return void(u.oneOff=u.oneOff&&r);const h=d.getUidEvent(l,i.replace(d.NAMESPACE_REGEX,"")),p=t?d.njDelegationHandler(e,o,n):d.njHandler(e,o);p.delegationSelector=t?o:null,p.originalHandler=l,p.oneOff=r,p.uidEvent=h,c[h]=p,e.addEventListener(a,p,t)}}static removeHandler(e,t,o,n,r){const s=d.findHandler(t[o],n,r);null!==s&&(e.removeEventListener(o,s,Boolean(r)),delete t[o][s.uidEvent])}static removeNamespacedHandlers(e,t,o,n){const r=t[o]||{};for(const s in r)if(Object.prototype.hasOwnProperty.call(r,s)&&s.indexOf(n)>-1){const n=r[s];d.removeHandler(e,t,o,n.originalHandler,n.delegationSelector)}}static on(e,t,o,n){d.addHandler(e,t,o,n,!1)}static one(e,t,o,n){d.addHandler(e,t,o,n,!0)}static off(e,t,o,n){if("string"!=typeof t||null==e)return;const[r,s,i]=d.normalizeParams(t,o,n),l=i!==t,a=d.getEvent(e);if(void 0!==s){if(!a||!a[i])return;return void d.removeHandler(e,a,i,s,r?o:null)}if("."===t.charAt(0))for(const o in a)Object.prototype.hasOwnProperty.call(a,o)&&d.removeNamespacedHandlers(e,a,o,t.substr(1));const c=a[i]||{};for(const o in c){if(!Object.prototype.hasOwnProperty.call(c,o))continue;const n=o.replace(d.STRIPUID_REGEX,"");if(!l||t.indexOf(n)>-1){const t=c[o];d.removeHandler(e,a,i,t.originalHandler,t.delegationSelector)}}}static trigger(e,t,o){if("string"!=typeof t||null==e)return null;const n=t.replace(d.STRIPNAME_REGEX,""),r="string"==typeof a[n];let s=null;return r?(s=document.createEvent("HTMLEvents"),s.initEvent(n,true,!0)):s=new window.CustomEvent(t,{bubbles:true,cancelable:!0}),void 0!==o&&Object.keys(o).forEach(e=>{Object.defineProperty(s,e,{get:()=>o[e]})}),e.dispatchEvent(s),s}}d.NAMESPACE_REGEX=/[^.]*(?=\..*)\.|.*/,d.STRIPNAME_REGEX=/\..*/,d.KEYEVENT_REGEX=/^key/,d.STRIPUID_REGEX=/::\d+$/,d.EVENTREGISTRY={},d.uidEvent=1;const h={getDataAttributes(e){if(null==e)return{};let t={};if(Object.getOwnPropertyDescriptor(HTMLElement.prototype,"dataset"))t=Object.assign({},e.dataset);else for(let o=0;o<e.attributes.length;o++){const n=e.attributes[o];if(-1!==n.nodeName.indexOf("data-")){const e=n.nodeName.substring("data-".length).replace(/-./g,e=>e.charAt(1).toUpperCase());t[e]=n.nodeValue}}return Object.keys(t).forEach(e=>{var o;t[e]="true"===(o=t[e])||"false"!==o&&("null"===o?null:o===Number(o).toString()?Number(o):""===o?null:o)}),t},toggleClass(e,t){null!=e&&(e.classList.contains(t)?e.classList.remove(t):e.classList.add(t))},mergeExtended(e,t,o){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(o&&"[object Object]"===Object.prototype.toString.call(t[n])?e[n]=h.extend(e[n],t[n]):e[n]=t[n]);return e},extend(...e){let t={},o=!1,n=0;for("[object Boolean]"===Object.prototype.toString.call(e[0])&&(o=e[0],n++);n<e.length;n++)t=h.mergeExtended(t,e[n],o);return t},createHtmlNode:e=>(new DOMParser).parseFromString(e,"text/html").body.firstChild};var p=h;class m extends u{constructor(e,t,o={},n={}){super(e,t,p.extend(!0,m.DEFAULT_OPTIONS,o),n),this.njFormGroup=this.resolveNJFormGroup(),this.njFormGroup&&(this.resolveNJLabel(),this.resolveNJFormGroupSizing(),this.addFocusListener(),this.addChangeListener(),this.isEmpty()?this.removeIsFilled():this.addIsFilled())}addFocusListener(){d.on(this.element,"focus",()=>{this.addFormGroupFocus()}),d.on(this.element,"blur",()=>{this.removeFormGroupFocus()})}addChangeListener(){d.on(this.element,"keydown paste",e=>{c.isChar(e)&&this.addIsFilled()}),d.on(this.element,"keyup change",()=>{if(this.isEmpty()?this.removeIsFilled():this.addIsFilled(),this.options.validate){void 0===this.element[0].checkValidity||this.element[0].checkValidity()?this.removeHasDanger():this.addHasDanger()}})}addHasDanger(){this.njFormGroup.classList.add(m.CLASS_NAME.hasDanger)}removeHasDanger(){this.njFormGroup.classList.remove(m.CLASS_NAME.hasDanger)}isEmpty(){return null===this.element.value||void 0===this.element.value||""===this.element.value}resolveNJFormGroup(){return this.findFormGroup(this.options.njFormGroup.required)}outerElement(){return this.element}resolveNJLabel(){let e=this.njFormGroup.querySelectorAll(m.INPUT_SELECTOR.njLabelWildcard);0===e.length&&(e=this.findLabel(this.options.label.required),null!==e&&e.length>1&&e.forEach(e=>{e.classList.add(this.options.label.className)}))}findLabel(e=!0){let t,o=null,n=0,r=!1;do{t=this.options.label.selectors[n];try{o=this.njFormGroup.querySelectorAll(t)}catch(e){o=null}r=null!==o&&o.length>0,n++}while(!r&&n<this.options.label.selectors.length);return!r&&e&&console.error("Failed to find ".concat(m.INPUT_SELECTOR.njLabelWildcard," within nj-form-group for ").concat(c.describe(this.element))),o}resolveNJFormGroupSizing(){if(this.options.convertInputSizeVariations)for(const e in m.FORM_CONTROL_SIZE_MARKERS)this.element.classList.contains(e)&&this.njFormGroup.classList.add(m.FORM_CONTROL_SIZE_MARKERS[e])}}m.CLASS_NAME={njFormGroup:"nj-form-group",njLabel:"nj-label",njLabelStatic:"nj-label-static",njLabelPlaceholder:"nj-label-placeholder",njLabelFloating:"nj-label-floating",hasDanger:"has-danger",isFilled:"is-filled",isFocused:"is-focused",inputGroup:"input-group"},m.INPUT_SELECTOR={njFormGroup:".".concat(m.CLASS_NAME.njFormGroup),njLabelWildcard:"label[class^='".concat(m.CLASS_NAME.njLabel,"'], label[class*=' ").concat(m.CLASS_NAME.njLabel,"']")},m.DEFAULT_OPTIONS={validate:!1,njFormGroup:{template:"span",templateClass:"".concat(m.CLASS_NAME.njFormGroup)},label:{required:!1,selectors:[".form-control-label",":scope > label"],className:m.CLASS_NAME.njLabelStatic},requiredClasses:[],convertInputSizeVariations:!0},m.FORM_CONTROL_SIZE_MARKERS={"form-control-lg":"nj-form-group-lg","form-control-sm":"nj-form-group-sm"};class f extends m{constructor(e,t,o={},n={}){super(e,t,p.extend(!0,f.DEFAULT_OPTIONS,o),n),this.decorateMarkup()}decorateMarkup(){const e=p.createHtmlNode(this.options.template);this.element.parentNode.appendChild(e)}outerElement(){return this.element.parentElement.closest(this.outerClass)}rejectWithoutRequiredStructure(){c.assert(this.element,"label"===this.element.parentElement.tagName.toLowerCase(),"".concat(this.constructor.name,"'s ").concat(c.describe(this.element)," parent element should be <label>.")),c.assert(this.element,!this.outerElement().classList.contains(this.outerClass),"".concat(this.constructor.name,"'s ").concat(c.describe(this.element)," outer element should have class ").concat(this.outerClass,"."))}addFocusListener(){const e=this.element.closest(f.SELECTOR.label);d.on(e,"mouseenter",()=>{this.addFormGroupFocus()}),d.on(e,"mouseleave",()=>{this.removeFormGroupFocus()})}addChangeListener(){d.on(this.element,"change",()=>{this.element.blur()})}}f.SELECTOR={formGroup:m.SELECTOR.formGroup,label:"label"},f.DEFAULT_OPTIONS={label:{required:!1}};class E extends HTMLElement{constructor(...e){super(),this.components=e,this.instances=[],this.parentNodes=[]}connectedCallback(){this.setup()}disconnectedCallback(){this.instances.forEach(e=>{e.dispose()}),this.instances=null}setup(){let e=this;for(;e.parentNode;)e=e.parentNode,this.parentNodes.push(e);[this,...this.parentNodes].some(e=>e.nextSibling)||"loading"!==document.readyState?this.childrenAvailableCallback():(this.mutationObserver=new MutationObserver(()=>{([this,...this.parentNodes].some(e=>e.nextSibling)||"loading"!==document.readyState)&&(this.childrenAvailableCallback(),this.mutationObserver.disconnect())}),this.mutationObserver.observe(this,{childList:!0}))}childrenAvailableCallback(){this.components.forEach(e=>{const t=this.querySelector(e.SELECTOR.default);if(!t)throw new Error("Default selector of ".concat(e.name," not found: ").concat(e.SELECTOR.default));this.instances.push(new e(t))})}static init(e){if(!e.TAG_NAME)throw new Error("TAG_NAME property of ".concat(e.name," class doesn't exists"));customElements.define(e.TAG_NAME,e)}}o.d(t,"default",(function(){return b})),o.d(t,"RadioWC",(function(){return g}));class b extends f{constructor(e,t={},o={inputType:"radio",outerClass:"".concat(s.KEY_PREFIX,"-radio")}){super(b,e,p.extend(!0,b.DEFAULT_OPTIONS,t),o)}dispose(){r.removeData(this.element,b.DATA_KEY),this.element=null}matches(){return"radio"===this.element.getAttribute("type")}static getInstance(e){return r.getData(e,b.DATA_KEY)}static init(e={}){return super.init(this,e,b.SELECTOR.default)}}b.NAME="".concat(s.KEY_PREFIX,"-radio"),b.DATA_KEY="".concat(s.KEY_PREFIX,".radio"),b.SELECTOR={default:".".concat(b.NAME," > label > input[type=radio]"),formGroup:f.SELECTOR.formGroup,label:f.SELECTOR.label},b.DEFAULT_OPTIONS={template:'<span class="'.concat(s.KEY_PREFIX,'-radio__decorator"></span>'),njFormGroup:{required:!1}};class g extends E{constructor(){super(b)}static init(){E.init(g)}}g.TAG_NAME=b.NAME}]).default}));
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("Radio",[],t):"object"==typeof exports?exports.Radio=t():e.Radio=t()}(window,(function(){return function(e){var t={};function o(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,o),r.l=!0,r.exports}return o.m=e,o.c=t,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)o.d(n,r,function(t){return e[t]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=0)}([function(e,t,o){"use strict";o.r(t),window.NJStore=window.NJStore||[];const n=(()=>{const e=window.NJStore;return{set(t,o,n){void 0===t.key&&(t.key={key:o,id:e.length}),e[t.key.id]=n},get:(t,o)=>(t.key&&!o.id&&(o=t.key),o&&o.id?e[o.id]:null),delete(t,o){if(void 0===t.key)return;const n=t.key;n.key===o&&(delete e[n.id],delete t.key)}}})();var r={setData(e,t,o){n.set(e,t,o)},getData:(e,t)=>n.get(e,t),removeData(e,t){n.delete(e,t)}};var s,i,l,a,c={describe:e=>void 0===e?"undefined":0===e.length?"(no matching elements)":"".concat(e.outerHTML.split(">")[0],">"),assert(e,t,o){if(t)throw void 0!==e&&(e.style.border="1px solid red"),console.error(o,e),o},isChar:e=>void 0===e.which||"number"==typeof e.which&&e.which>0&&(!e.ctrlKey&&!e.metaKey&&!e.altKey&&8!==e.which&&9!==e.which&&13!==e.which&&16!==e.which&&17!==e.which&&20!==e.which&&27!==e.which)};class u extends class{constructor(e,t,o={}){!t||t instanceof Element||console.error(Error("".concat(t," is not an HTML Element"))),this.options=o,this.element=t}static init(e,t={},o){const n=[],s=document.querySelectorAll(o);for(let o=0;o<s.length;o++){const i=s[o];if(!i.key||i.key!==e.DATA_KEY){const l=new e(s[o],t);i.key||r.setData(s[o],e.DATA_KEY,l),n.push(l)}}return n}}{constructor(e,t,o={},n={}){super(e,t,o);for(const e in n)!{}.hasOwnProperty.call(n,e)?console.error("".concat(e," does not exist in properties")):this[e]=n[e]}addFormGroupFocus(){!0==!this.element.disabled&&this.njFormGroup.classList.add(u.CLASS_NAME.isFocused)}removeFormGroupFocus(){this.njFormGroup.classList.remove(u.CLASS_NAME.isFocused)}addIsFilled(){this.njFormGroup.classList.add(u.CLASS_NAME.isFilled)}removeIsFilled(){this.njFormGroup.classList.remove(u.CLASS_NAME.isFilled)}findFormGroup(e=!0){const t=this.element.closest(u.SELECTOR.formGroup);return null===t&&e&&console.error("Failed to find ".concat(u.SELECTOR.formGroup," for ").concat(c.describe(this.element))),t}}u.CLASS_NAME={njFormGroup:"nj-form-group",isFilled:"is-filled",isFocused:"is-focused"},u.SELECTOR={formGroup:".".concat(u.CLASS_NAME.njFormGroup)},function(e){e.KEY_PREFIX="nj",e.DATA_API_KEY=".data-api"}(s||(s={})),function(e){e.mouseenter="mouseover",e.mouseleave="mouseout"}(i||(i={})),function(e){e.click="click",e.close="close",e.closed="closed",e.hide="hide",e.hidden="hidden",e.input="input",e.keydown="keydown",e.keyup="keyup",e.onchange="onchange",e.show="show",e.shown="shown",e.inserted="inserted",e.focusin="focusin",e.focusout="focusout",e.mouseenter="mouseenter",e.mouseleave="mouseleave",e.mouseup="mouseup",e.mousedown="mousedown"}(l||(l={})),function(e){e.click="click",e.dblclick="dblclick",e.mouseup="mouseup",e.mousedown="mousedown",e.contextmenu="contextmenu",e.mousewheel="mousewheel",e.DOMMouseScroll="DOMMouseScroll",e.mouseover="mouseover",e.mouseout="mouseout",e.mousemove="mousemove",e.selectstart="selectstart",e.selectend="selectend",e.keydown="keydown",e.keypress="keypress",e.keyup="keyup",e.orientationchange="orientationchange",e.touchstart="touchstart",e.touchmove="touchmove",e.touchend="touchend",e.touchcancel="touchcancel",e.pointerdown="pointerdown",e.pointermove="pointermove",e.pointerup="pointerup",e.pointerleave="pointerleave",e.pointercancel="pointercancel",e.gesturestart="gesturestart",e.gesturechange="gesturechange",e.gestureend="gestureend",e.focus="focus",e.blur="blur",e.change="change",e.reset="reset",e.select="select",e.submit="submit",e.focusin="focusin",e.focusout="focusout",e.load="load",e.unload="unload",e.beforeunload="beforeunload",e.resize="resize",e.move="move",e.DOMContentLoaded="DOMContentLoaded",e.readystatechange="readystatechange",e.error="error",e.abort="abort",e.scroll="scroll"}(a||(a={}));class d{static getUidEvent(e,t){return t&&"".concat(t,"::").concat(d.uidEvent++)||e.uidEvent||d.uidEvent++}static getEvent(e){const t=d.getUidEvent(e);return e.uidEvent=t,d.EVENTREGISTRY[t]=d.EVENTREGISTRY[t]||{}}static fixEvent(e,t){null===e.which&&d.KEYEVENT_REGEX.test(e.type)&&(e.which=null!==e.charCode?e.charCode:e.keyCode),e.delegateTarget=t}static njHandler(e,t){const o=n=>(d.fixEvent(n,e),o.oneOff&&d.off(e,n.type,t),t.apply(e,[n]));return o}static njDelegationHandler(e,t,o){const n=r=>{const s=e.querySelectorAll(t);for(let t=r.target;t&&t!==this;t=t.parentNode)for(let i=s.length;i>=0;i--)if(s[i]===t)return d.fixEvent(r,t),n.oneOff&&d.off(e,r.type,o),o.apply(t,[r]);return null};return n}static findHandler(e,t,o=null){for(const n in e){if(!Object.prototype.hasOwnProperty.call(e,n))continue;const r=e[n];if(r.originalHandler===t&&r.delegationSelector===o)return e[n]}return null}static normalizeParams(e,t,o){const n="string"==typeof t,r=n?o:t;let s=e.replace(d.STRIPNAME_REGEX,"");const l=i[s];l&&(s=l);return"string"==typeof a[s]||(s=e),[n,r,s]}static addHandler(e,t,o,n,r){if("string"!=typeof t||null==e)return;o||(o=n,n=null);const s=d.getEvent(e);for(const i of t.split(" ")){const[t,l,a]=d.normalizeParams(i,o,n),c=s[a]||(s[a]={}),u=d.findHandler(c,l,t?o:null);if(u)return void(u.oneOff=u.oneOff&&r);const h=d.getUidEvent(l,i.replace(d.NAMESPACE_REGEX,"")),p=t?d.njDelegationHandler(e,o,n):d.njHandler(e,o);p.delegationSelector=t?o:null,p.originalHandler=l,p.oneOff=r,p.uidEvent=h,c[h]=p,e.addEventListener(a,p,t)}}static removeHandler(e,t,o,n,r){const s=d.findHandler(t[o],n,r);null!==s&&(e.removeEventListener(o,s,Boolean(r)),delete t[o][s.uidEvent])}static removeNamespacedHandlers(e,t,o,n){const r=t[o]||{};for(const s in r)if(Object.prototype.hasOwnProperty.call(r,s)&&s.indexOf(n)>-1){const n=r[s];d.removeHandler(e,t,o,n.originalHandler,n.delegationSelector)}}static on(e,t,o,n){d.addHandler(e,t,o,n,!1)}static one(e,t,o,n){d.addHandler(e,t,o,n,!0)}static off(e,t,o,n){if("string"!=typeof t||null==e)return;const[r,s,i]=d.normalizeParams(t,o,n),l=i!==t,a=d.getEvent(e);if(void 0!==s){if(!a||!a[i])return;return void d.removeHandler(e,a,i,s,r?o:null)}if("."===t.charAt(0))for(const o in a)Object.prototype.hasOwnProperty.call(a,o)&&d.removeNamespacedHandlers(e,a,o,t.substr(1));const c=a[i]||{};for(const o in c){if(!Object.prototype.hasOwnProperty.call(c,o))continue;const n=o.replace(d.STRIPUID_REGEX,"");if(!l||t.indexOf(n)>-1){const t=c[o];d.removeHandler(e,a,i,t.originalHandler,t.delegationSelector)}}}static trigger(e,t,o){if("string"!=typeof t||null==e)return null;const n=t.replace(d.STRIPNAME_REGEX,""),r="string"==typeof a[n];let s=null;return r?(s=document.createEvent("HTMLEvents"),s.initEvent(n,true,!0)):s=new window.CustomEvent(t,{bubbles:true,cancelable:!0}),void 0!==o&&Object.keys(o).forEach(e=>{Object.defineProperty(s,e,{get:()=>o[e]})}),e.dispatchEvent(s),s}}d.NAMESPACE_REGEX=/[^.]*(?=\..*)\.|.*/,d.STRIPNAME_REGEX=/\..*/,d.KEYEVENT_REGEX=/^key/,d.STRIPUID_REGEX=/::\d+$/,d.EVENTREGISTRY={},d.uidEvent=1;const h={getDataAttributes(e){if(null==e)return{};let t={};if(Object.getOwnPropertyDescriptor(HTMLElement.prototype,"dataset"))t=Object.assign({},e.dataset);else for(let o=0;o<e.attributes.length;o++){const n=e.attributes[o];if(-1!==n.nodeName.indexOf("data-")){const e=n.nodeName.substring("data-".length).replace(/-./g,e=>e.charAt(1).toUpperCase());t[e]=n.nodeValue}}return Object.keys(t).forEach(e=>{var o;t[e]="true"===(o=t[e])||"false"!==o&&("null"===o?null:o===Number(o).toString()?Number(o):""===o?null:o)}),t},toggleClass(e,t){null!=e&&(e.classList.contains(t)?e.classList.remove(t):e.classList.add(t))},mergeExtended(e,t,o){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(o&&"[object Object]"===Object.prototype.toString.call(t[n])?e[n]=h.extend(e[n],t[n]):e[n]=t[n]);return e},extend(...e){let t={},o=!1,n=0;for("[object Boolean]"===Object.prototype.toString.call(e[0])&&(o=e[0],n++);n<e.length;n++)t=h.mergeExtended(t,e[n],o);return t},createHtmlNode:e=>(new DOMParser).parseFromString(e,"text/html").body.firstChild};var p=h;class m extends u{constructor(e,t,o={},n={}){super(e,t,p.extend(!0,m.DEFAULT_OPTIONS,o),n),this.njFormGroup=this.resolveNJFormGroup(),this.njFormGroup&&(this.resolveNJLabel(),this.resolveNJFormGroupSizing(),this.addFocusListener(),this.addChangeListener(),this.isEmpty()?this.removeIsFilled():this.addIsFilled())}addFocusListener(){d.on(this.element,"focus",()=>{this.addFormGroupFocus()}),d.on(this.element,"blur",()=>{this.removeFormGroupFocus()})}addChangeListener(){d.on(this.element,"keydown paste",e=>{c.isChar(e)&&this.addIsFilled()}),d.on(this.element,"keyup change",()=>{if(this.isEmpty()?this.removeIsFilled():this.addIsFilled(),this.options.validate){void 0===this.element[0].checkValidity||this.element[0].checkValidity()?this.removeHasDanger():this.addHasDanger()}})}addHasDanger(){this.njFormGroup.classList.add(m.CLASS_NAME.hasDanger)}removeHasDanger(){this.njFormGroup.classList.remove(m.CLASS_NAME.hasDanger)}isEmpty(){return null===this.element.value||void 0===this.element.value||""===this.element.value}resolveNJFormGroup(){return this.findFormGroup(this.options.njFormGroup.required)}outerElement(){return this.element}resolveNJLabel(){let e=this.njFormGroup.querySelectorAll(m.INPUT_SELECTOR.njLabelWildcard);0===e.length&&(e=this.findLabel(this.options.label.required),null!==e&&e.length>1&&e.forEach(e=>{e.classList.add(this.options.label.className)}))}findLabel(e=!0){let t,o=null,n=0,r=!1;do{t=this.options.label.selectors[n];try{o=this.njFormGroup.querySelectorAll(t)}catch(e){o=null}r=null!==o&&o.length>0,n++}while(!r&&n<this.options.label.selectors.length);return!r&&e&&console.error("Failed to find ".concat(m.INPUT_SELECTOR.njLabelWildcard," within nj-form-group for ").concat(c.describe(this.element))),o}resolveNJFormGroupSizing(){if(this.options.convertInputSizeVariations)for(const e in m.FORM_CONTROL_SIZE_MARKERS)this.element.classList.contains(e)&&this.njFormGroup.classList.add(m.FORM_CONTROL_SIZE_MARKERS[e])}}m.CLASS_NAME={njFormGroup:"nj-form-group",njLabel:"nj-label",njLabelStatic:"nj-label-static",njLabelPlaceholder:"nj-label-placeholder",njLabelFloating:"nj-label-floating",hasDanger:"has-danger",isFilled:"is-filled",isFocused:"is-focused",inputGroup:"input-group"},m.INPUT_SELECTOR={njFormGroup:".".concat(m.CLASS_NAME.njFormGroup),njLabelWildcard:"label[class^='".concat(m.CLASS_NAME.njLabel,"'], label[class*=' ").concat(m.CLASS_NAME.njLabel,"']")},m.DEFAULT_OPTIONS={validate:!1,njFormGroup:{template:"span",templateClass:"".concat(m.CLASS_NAME.njFormGroup)},label:{required:!1,selectors:[".form-control-label",":scope > label"],className:m.CLASS_NAME.njLabelStatic},requiredClasses:[],convertInputSizeVariations:!0},m.FORM_CONTROL_SIZE_MARKERS={"form-control-lg":"nj-form-group-lg","form-control-sm":"nj-form-group-sm"};class f extends m{constructor(e,t,o={},n={}){super(e,t,p.extend(!0,f.DEFAULT_OPTIONS,o),n),this.decorateMarkup()}decorateMarkup(){const e=p.createHtmlNode(this.options.template);this.element.parentNode.appendChild(e)}outerElement(){return this.element.parentElement.closest(this.outerClass)}rejectWithoutRequiredStructure(){c.assert(this.element,"label"===this.element.parentElement.tagName.toLowerCase(),"".concat(this.constructor.name,"'s ").concat(c.describe(this.element)," parent element should be <label>.")),c.assert(this.element,!this.outerElement().classList.contains(this.outerClass),"".concat(this.constructor.name,"'s ").concat(c.describe(this.element)," outer element should have class ").concat(this.outerClass,"."))}addFocusListener(){const e=this.element.closest(f.SELECTOR.label);d.on(e,"mouseenter",()=>{this.addFormGroupFocus()}),d.on(e,"mouseleave",()=>{this.removeFormGroupFocus()})}addChangeListener(){d.on(this.element,"change",()=>{this.element.blur()})}}f.SELECTOR={formGroup:m.SELECTOR.formGroup,label:"label"},f.DEFAULT_OPTIONS={label:{required:!1}};class E extends HTMLElement{constructor(...e){super(),this.components=e,this.instances=[],this.parentNodes=[]}connectedCallback(){this.setup()}disconnectedCallback(){this.instances.forEach(e=>{e.dispose()}),this.instances=null}setup(){let e=this;for(;e.parentNode;)e=e.parentNode,this.parentNodes.push(e);[this,...this.parentNodes].some(e=>e.nextSibling)||"loading"!==document.readyState?this.childrenAvailableCallback():(this.mutationObserver=new MutationObserver(()=>{([this,...this.parentNodes].some(e=>e.nextSibling)||"loading"!==document.readyState)&&(this.childrenAvailableCallback(),this.mutationObserver.disconnect())}),this.mutationObserver.observe(this,{childList:!0}))}childrenAvailableCallback(){this.components.forEach(e=>{const t=this.querySelector(e.SELECTOR.default);if(!t)throw new Error("Default selector of ".concat(e.name," not found: ").concat(e.SELECTOR.default));this.instances.push(new e(t))})}static init(e){if(!e.TAG_NAME)throw new Error("TAG_NAME property of ".concat(e.name," class doesn't exists"));customElements.define(e.TAG_NAME,e)}}o.d(t,"default",(function(){return b})),o.d(t,"RadioWC",(function(){return g}));class b extends f{constructor(e,t={},o={inputType:"radio",outerClass:"".concat(s.KEY_PREFIX,"-radio")}){super(b,e,p.extend(!0,b.DEFAULT_OPTIONS,t),o),r.setData(e,b.DATA_KEY,this);const n=e.parentNode.parentNode;r.setData(n,b.DATA_KEY,this)}dispose(){r.removeData(this.element,b.DATA_KEY),this.element=null}matches(){return"radio"===this.element.getAttribute("type")}static getInstance(e){return r.getData(e,b.DATA_KEY)}static init(e={}){return super.init(this,e,b.SELECTOR.default)}}b.NAME="".concat(s.KEY_PREFIX,"-radio"),b.DATA_KEY="".concat(s.KEY_PREFIX,".radio"),b.SELECTOR={default:".".concat(b.NAME," > label > input[type=radio]"),formGroup:f.SELECTOR.formGroup,label:f.SELECTOR.label},b.DEFAULT_OPTIONS={template:'<span class="'.concat(s.KEY_PREFIX,'-radio__decorator"></span>'),njFormGroup:{required:!1}};class g extends E{constructor(){super(b)}static init(){E.init(g)}}g.TAG_NAME=b.NAME}]).default}));

@@ -1,1 +0,1 @@

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("Select",[],t):"object"==typeof exports?exports.Select=t():e.Select=t()}(window,(function(){return function(e){var t={};function o(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,o),r.l=!0,r.exports}return o.m=e,o.c=t,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)o.d(n,r,function(t){return e[t]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=0)}([function(e,t,o){"use strict";o.r(t);const n=(()=>{const e={};let t=1;return{set(o,n,r){void 0===o.key&&(o.key={key:n,id:t},t++),e[o.key.id]=r},get(t,o){if(!t||void 0===t.key)return null;const n=t.key;return n.key===o?e[n.id]:null},delete(t,o){if(void 0===t.key)return;const n=t.key;n.key===o&&(delete e[n.id],delete t.key)}}})();var r={setData(e,t,o){n.set(e,t,o)},getData:(e,t)=>n.get(e,t),removeData(e,t){n.delete(e,t)}};var s,l,i,a,c={describe:e=>void 0===e?"undefined":0===e.length?"(no matching elements)":"".concat(e.outerHTML.split(">")[0],">"),assert(e,t,o){if(t)throw void 0!==e&&(e.style.border="1px solid red"),console.error(o,e),o},isChar:e=>void 0===e.which||"number"==typeof e.which&&e.which>0&&(!e.ctrlKey&&!e.metaKey&&!e.altKey&&8!==e.which&&9!==e.which&&13!==e.which&&16!==e.which&&17!==e.which&&20!==e.which&&27!==e.which)};class u extends class{constructor(e,t,o={}){!t||t instanceof Element||console.error(Error("".concat(t," is not an HTML Element"))),this.options=o,this.element=t}static init(e,t={},o){const n=[],s=document.querySelectorAll(o);for(let o=0;o<s.length;o++){const l=s[o];if(!l.key||l.key!==e.DATA_KEY){const i=new e(s[o],t);l.key||r.setData(s[o],e.DATA_KEY,i),n.push(i)}}return n}}{constructor(e,t,o={},n={}){super(e,t,o);for(const e in n)!{}.hasOwnProperty.call(n,e)?console.error("".concat(e," does not exist in properties")):this[e]=n[e]}addFormGroupFocus(){!0==!this.element.disabled&&this.njFormGroup.classList.add(u.CLASS_NAME.isFocused)}removeFormGroupFocus(){this.njFormGroup.classList.remove(u.CLASS_NAME.isFocused)}addIsFilled(){this.njFormGroup.classList.add(u.CLASS_NAME.isFilled)}removeIsFilled(){this.njFormGroup.classList.remove(u.CLASS_NAME.isFilled)}findFormGroup(e=!0){const t=this.element.closest(u.SELECTOR.formGroup);return null===t&&e&&console.error("Failed to find ".concat(u.SELECTOR.formGroup," for ").concat(c.describe(this.element))),t}}u.CLASS_NAME={njFormGroup:"nj-form-group",isFilled:"is-filled",isFocused:"is-focused"},u.SELECTOR={formGroup:".".concat(u.CLASS_NAME.njFormGroup)},function(e){e.KEY_PREFIX="nj",e.DATA_API_KEY=".data-api"}(s||(s={})),function(e){e.mouseenter="mouseover",e.mouseleave="mouseout"}(l||(l={})),function(e){e.click="click",e.close="close",e.closed="closed",e.hide="hide",e.hidden="hidden",e.input="input",e.keydown="keydown",e.keyup="keyup",e.onchange="onchange",e.show="show",e.shown="shown",e.inserted="inserted",e.focusin="focusin",e.focusout="focusout",e.mouseenter="mouseenter",e.mouseleave="mouseleave",e.mouseup="mouseup",e.mousedown="mousedown"}(i||(i={})),function(e){e.click="click",e.dblclick="dblclick",e.mouseup="mouseup",e.mousedown="mousedown",e.contextmenu="contextmenu",e.mousewheel="mousewheel",e.DOMMouseScroll="DOMMouseScroll",e.mouseover="mouseover",e.mouseout="mouseout",e.mousemove="mousemove",e.selectstart="selectstart",e.selectend="selectend",e.keydown="keydown",e.keypress="keypress",e.keyup="keyup",e.orientationchange="orientationchange",e.touchstart="touchstart",e.touchmove="touchmove",e.touchend="touchend",e.touchcancel="touchcancel",e.pointerdown="pointerdown",e.pointermove="pointermove",e.pointerup="pointerup",e.pointerleave="pointerleave",e.pointercancel="pointercancel",e.gesturestart="gesturestart",e.gesturechange="gesturechange",e.gestureend="gestureend",e.focus="focus",e.blur="blur",e.change="change",e.reset="reset",e.select="select",e.submit="submit",e.focusin="focusin",e.focusout="focusout",e.load="load",e.unload="unload",e.beforeunload="beforeunload",e.resize="resize",e.move="move",e.DOMContentLoaded="DOMContentLoaded",e.readystatechange="readystatechange",e.error="error",e.abort="abort",e.scroll="scroll"}(a||(a={}));class d{static getUidEvent(e,t){return t&&"".concat(t,"::").concat(d.uidEvent++)||e.uidEvent||d.uidEvent++}static getEvent(e){const t=d.getUidEvent(e);return e.uidEvent=t,d.EVENTREGISTRY[t]=d.EVENTREGISTRY[t]||{}}static fixEvent(e,t){null===e.which&&d.KEYEVENT_REGEX.test(e.type)&&(e.which=null!==e.charCode?e.charCode:e.keyCode),e.delegateTarget=t}static njHandler(e,t){const o=n=>(d.fixEvent(n,e),o.oneOff&&d.off(e,n.type,t),t.apply(e,[n]));return o}static njDelegationHandler(e,t,o){const n=r=>{const s=e.querySelectorAll(t);for(let t=r.target;t&&t!==this;t=t.parentNode)for(let l=s.length;l>=0;l--)if(s[l]===t)return d.fixEvent(r,t),n.oneOff&&d.off(e,r.type,o),o.apply(t,[r]);return null};return n}static findHandler(e,t,o=null){for(const n in e){if(!Object.prototype.hasOwnProperty.call(e,n))continue;const r=e[n];if(r.originalHandler===t&&r.delegationSelector===o)return e[n]}return null}static normalizeParams(e,t,o){const n="string"==typeof t,r=n?o:t;let s=e.replace(d.STRIPNAME_REGEX,"");const i=l[s];i&&(s=i);return"string"==typeof a[s]||(s=e),[n,r,s]}static addHandler(e,t,o,n,r){if("string"!=typeof t||null==e)return;o||(o=n,n=null);const s=d.getEvent(e);for(const l of t.split(" ")){const[t,i,a]=d.normalizeParams(l,o,n),c=s[a]||(s[a]={}),u=d.findHandler(c,i,t?o:null);if(u)return void(u.oneOff=u.oneOff&&r);const p=d.getUidEvent(i,l.replace(d.NAMESPACE_REGEX,"")),h=t?d.njDelegationHandler(e,o,n):d.njHandler(e,o);h.delegationSelector=t?o:null,h.originalHandler=i,h.oneOff=r,h.uidEvent=p,c[p]=h,e.addEventListener(a,h,t)}}static removeHandler(e,t,o,n,r){const s=d.findHandler(t[o],n,r);null!==s&&(e.removeEventListener(o,s,Boolean(r)),delete t[o][s.uidEvent])}static removeNamespacedHandlers(e,t,o,n){const r=t[o]||{};for(const s in r)if(Object.prototype.hasOwnProperty.call(r,s)&&s.indexOf(n)>-1){const n=r[s];d.removeHandler(e,t,o,n.originalHandler,n.delegationSelector)}}static on(e,t,o,n){d.addHandler(e,t,o,n,!1)}static one(e,t,o,n){d.addHandler(e,t,o,n,!0)}static off(e,t,o,n){if("string"!=typeof t||null==e)return;const[r,s,l]=d.normalizeParams(t,o,n),i=l!==t,a=d.getEvent(e);if(void 0!==s){if(!a||!a[l])return;return void d.removeHandler(e,a,l,s,r?o:null)}if("."===t.charAt(0))for(const o in a)Object.prototype.hasOwnProperty.call(a,o)&&d.removeNamespacedHandlers(e,a,o,t.substr(1));const c=a[l]||{};for(const o in c){if(!Object.prototype.hasOwnProperty.call(c,o))continue;const n=o.replace(d.STRIPUID_REGEX,"");if(!i||t.indexOf(n)>-1){const t=c[o];d.removeHandler(e,a,l,t.originalHandler,t.delegationSelector)}}}static trigger(e,t,o){if("string"!=typeof t||null==e)return null;const n=t.replace(d.STRIPNAME_REGEX,""),r="string"==typeof a[n];let s=null;return r?(s=document.createEvent("HTMLEvents"),s.initEvent(n,true,!0)):s=new window.CustomEvent(t,{bubbles:true,cancelable:!0}),void 0!==o&&Object.keys(o).forEach(e=>{Object.defineProperty(s,e,{get:()=>o[e]})}),e.dispatchEvent(s),s}}d.NAMESPACE_REGEX=/[^.]*(?=\..*)\.|.*/,d.STRIPNAME_REGEX=/\..*/,d.KEYEVENT_REGEX=/^key/,d.STRIPUID_REGEX=/::\d+$/,d.EVENTREGISTRY={},d.uidEvent=1;const p={getDataAttributes(e){if(null==e)return{};let t={};if(Object.getOwnPropertyDescriptor(HTMLElement.prototype,"dataset"))t=Object.assign({},e.dataset);else for(let o=0;o<e.attributes.length;o++){const n=e.attributes[o];if(-1!==n.nodeName.indexOf("data-")){const e=n.nodeName.substring("data-".length).replace(/-./g,e=>e.charAt(1).toUpperCase());t[e]=n.nodeValue}}return Object.keys(t).forEach(e=>{var o;t[e]="true"===(o=t[e])||"false"!==o&&("null"===o?null:o===Number(o).toString()?Number(o):""===o?null:o)}),t},toggleClass(e,t){null!=e&&(e.classList.contains(t)?e.classList.remove(t):e.classList.add(t))},mergeExtended(e,t,o){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(o&&"[object Object]"===Object.prototype.toString.call(t[n])?e[n]=p.extend(e[n],t[n]):e[n]=t[n]);return e},extend(...e){let t={},o=!1,n=0;for("[object Boolean]"===Object.prototype.toString.call(e[0])&&(o=e[0],n++);n<e.length;n++)t=p.mergeExtended(t,e[n],o);return t},createHtmlNode:e=>(new DOMParser).parseFromString(e,"text/html").body.firstChild};var h=p;class m extends u{constructor(e,t,o={},n={}){super(e,t,h.extend(!0,m.DEFAULT_OPTIONS,o),n),this.njFormGroup=this.resolveNJFormGroup(),this.njFormGroup&&(this.resolveNJLabel(),this.resolveNJFormGroupSizing(),this.addFocusListener(),this.addChangeListener(),this.isEmpty()?this.removeIsFilled():this.addIsFilled())}addFocusListener(){d.on(this.element,"focus",()=>{this.addFormGroupFocus()}),d.on(this.element,"blur",()=>{this.removeFormGroupFocus()})}addChangeListener(){d.on(this.element,"keydown paste",e=>{c.isChar(e)&&this.addIsFilled()}),d.on(this.element,"keyup change",()=>{if(this.isEmpty()?this.removeIsFilled():this.addIsFilled(),this.options.validate){void 0===this.element[0].checkValidity||this.element[0].checkValidity()?this.removeHasDanger():this.addHasDanger()}})}addHasDanger(){this.njFormGroup.classList.add(m.CLASS_NAME.hasDanger)}removeHasDanger(){this.njFormGroup.classList.remove(m.CLASS_NAME.hasDanger)}isEmpty(){return null===this.element.value||void 0===this.element.value||""===this.element.value}resolveNJFormGroup(){return this.findFormGroup(this.options.njFormGroup.required)}outerElement(){return this.element}resolveNJLabel(){let e=this.njFormGroup.querySelectorAll(m.INPUT_SELECTOR.njLabelWildcard);0===e.length&&(e=this.findLabel(this.options.label.required),null!==e&&e.length>1&&e.forEach(e=>{e.classList.add(this.options.label.className)}))}findLabel(e=!0){let t,o=null,n=0,r=!1;do{t=this.options.label.selectors[n];try{o=this.njFormGroup.querySelectorAll(t)}catch(e){o=null}r=null!==o&&o.length>0,n++}while(!r&&n<this.options.label.selectors.length);return!r&&e&&console.error("Failed to find ".concat(m.INPUT_SELECTOR.njLabelWildcard," within nj-form-group for ").concat(c.describe(this.element))),o}resolveNJFormGroupSizing(){if(this.options.convertInputSizeVariations)for(const e in m.FORM_CONTROL_SIZE_MARKERS)this.element.classList.contains(e)&&this.njFormGroup.classList.add(m.FORM_CONTROL_SIZE_MARKERS[e])}}m.CLASS_NAME={njFormGroup:"nj-form-group",njLabel:"nj-label",njLabelStatic:"nj-label-static",njLabelPlaceholder:"nj-label-placeholder",njLabelFloating:"nj-label-floating",hasDanger:"has-danger",isFilled:"is-filled",isFocused:"is-focused",inputGroup:"input-group"},m.INPUT_SELECTOR={njFormGroup:".".concat(m.CLASS_NAME.njFormGroup),njLabelWildcard:"label[class^='".concat(m.CLASS_NAME.njLabel,"'], label[class*=' ").concat(m.CLASS_NAME.njLabel,"']")},m.DEFAULT_OPTIONS={validate:!1,njFormGroup:{template:"span",templateClass:"".concat(m.CLASS_NAME.njFormGroup)},label:{required:!1,selectors:[".form-control-label",":scope > label"],className:m.CLASS_NAME.njLabelStatic},requiredClasses:[],convertInputSizeVariations:!0},m.FORM_CONTROL_SIZE_MARKERS={"form-control-lg":"nj-form-group-lg","form-control-sm":"nj-form-group-sm"};class f extends HTMLElement{constructor(...e){super(),this.components=e,this.instances=[],this.parentNodes=[]}connectedCallback(){this.setup()}disconnectedCallback(){this.instances.forEach(e=>{e.dispose()}),this.instances=null}setup(){let e=this;for(;e.parentNode;)e=e.parentNode,this.parentNodes.push(e);[this,...this.parentNodes].some(e=>e.nextSibling)||"loading"!==document.readyState?this.childrenAvailableCallback():(this.mutationObserver=new MutationObserver(()=>{([this,...this.parentNodes].some(e=>e.nextSibling)||"loading"!==document.readyState)&&(this.childrenAvailableCallback(),this.mutationObserver.disconnect())}),this.mutationObserver.observe(this,{childList:!0}))}childrenAvailableCallback(){this.components.forEach(e=>{const t=this.querySelector(e.SELECTOR.default);if(!t)throw new Error("Default selector of ".concat(e.name," not found: ").concat(e.SELECTOR.default));this.instances.push(new e(t))})}static init(e){if(!e.TAG_NAME)throw new Error("TAG_NAME property of ".concat(e.name," class doesn't exists"));customElements.define(e.TAG_NAME,e)}}o.d(t,"default",(function(){return E})),o.d(t,"SelectWC",(function(){return g}));class E extends m{constructor(e,t={}){super(E,e,h.extend(!0,E.DEFAULT_OPTIONS,t)),this.addIsFilled()}dispose(){r.removeData(this.element,E.DATA_KEY),this.element=null}static init(e={}){return super.init(this,e,E.SELECTOR.default)}static getInstance(e){return r.getData(e,E.DATA_KEY)}static matches(e){return"SELECT"===e.tagName}}E.NAME="".concat(s.KEY_PREFIX,"-select"),E.DATA_KEY="".concat(s.KEY_PREFIX,".select"),E.SELECTOR={default:"select",formGroup:m.SELECTOR.formGroup},E.DEFAULT_OPTIONS={requiredClasses:["form-control||custom-select"]};class g extends f{constructor(){super(E)}static init(){f.init(g)}}g.TAG_NAME=E.NAME}]).default}));
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("Select",[],t):"object"==typeof exports?exports.Select=t():e.Select=t()}(window,(function(){return function(e){var t={};function o(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,o),r.l=!0,r.exports}return o.m=e,o.c=t,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)o.d(n,r,function(t){return e[t]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=0)}([function(e,t,o){"use strict";o.r(t),window.NJStore=window.NJStore||[];const n=(()=>{const e=window.NJStore;return{set(t,o,n){void 0===t.key&&(t.key={key:o,id:e.length}),e[t.key.id]=n},get:(t,o)=>(t.key&&!o.id&&(o=t.key),o&&o.id?e[o.id]:null),delete(t,o){if(void 0===t.key)return;const n=t.key;n.key===o&&(delete e[n.id],delete t.key)}}})();var r={setData(e,t,o){n.set(e,t,o)},getData:(e,t)=>n.get(e,t),removeData(e,t){n.delete(e,t)}};var s,i,l,a,c={describe:e=>void 0===e?"undefined":0===e.length?"(no matching elements)":"".concat(e.outerHTML.split(">")[0],">"),assert(e,t,o){if(t)throw void 0!==e&&(e.style.border="1px solid red"),console.error(o,e),o},isChar:e=>void 0===e.which||"number"==typeof e.which&&e.which>0&&(!e.ctrlKey&&!e.metaKey&&!e.altKey&&8!==e.which&&9!==e.which&&13!==e.which&&16!==e.which&&17!==e.which&&20!==e.which&&27!==e.which)};class u extends class{constructor(e,t,o={}){!t||t instanceof Element||console.error(Error("".concat(t," is not an HTML Element"))),this.options=o,this.element=t}static init(e,t={},o){const n=[],s=document.querySelectorAll(o);for(let o=0;o<s.length;o++){const i=s[o];if(!i.key||i.key!==e.DATA_KEY){const l=new e(s[o],t);i.key||r.setData(s[o],e.DATA_KEY,l),n.push(l)}}return n}}{constructor(e,t,o={},n={}){super(e,t,o);for(const e in n)!{}.hasOwnProperty.call(n,e)?console.error("".concat(e," does not exist in properties")):this[e]=n[e]}addFormGroupFocus(){!0==!this.element.disabled&&this.njFormGroup.classList.add(u.CLASS_NAME.isFocused)}removeFormGroupFocus(){this.njFormGroup.classList.remove(u.CLASS_NAME.isFocused)}addIsFilled(){this.njFormGroup.classList.add(u.CLASS_NAME.isFilled)}removeIsFilled(){this.njFormGroup.classList.remove(u.CLASS_NAME.isFilled)}findFormGroup(e=!0){const t=this.element.closest(u.SELECTOR.formGroup);return null===t&&e&&console.error("Failed to find ".concat(u.SELECTOR.formGroup," for ").concat(c.describe(this.element))),t}}u.CLASS_NAME={njFormGroup:"nj-form-group",isFilled:"is-filled",isFocused:"is-focused"},u.SELECTOR={formGroup:".".concat(u.CLASS_NAME.njFormGroup)},function(e){e.KEY_PREFIX="nj",e.DATA_API_KEY=".data-api"}(s||(s={})),function(e){e.mouseenter="mouseover",e.mouseleave="mouseout"}(i||(i={})),function(e){e.click="click",e.close="close",e.closed="closed",e.hide="hide",e.hidden="hidden",e.input="input",e.keydown="keydown",e.keyup="keyup",e.onchange="onchange",e.show="show",e.shown="shown",e.inserted="inserted",e.focusin="focusin",e.focusout="focusout",e.mouseenter="mouseenter",e.mouseleave="mouseleave",e.mouseup="mouseup",e.mousedown="mousedown"}(l||(l={})),function(e){e.click="click",e.dblclick="dblclick",e.mouseup="mouseup",e.mousedown="mousedown",e.contextmenu="contextmenu",e.mousewheel="mousewheel",e.DOMMouseScroll="DOMMouseScroll",e.mouseover="mouseover",e.mouseout="mouseout",e.mousemove="mousemove",e.selectstart="selectstart",e.selectend="selectend",e.keydown="keydown",e.keypress="keypress",e.keyup="keyup",e.orientationchange="orientationchange",e.touchstart="touchstart",e.touchmove="touchmove",e.touchend="touchend",e.touchcancel="touchcancel",e.pointerdown="pointerdown",e.pointermove="pointermove",e.pointerup="pointerup",e.pointerleave="pointerleave",e.pointercancel="pointercancel",e.gesturestart="gesturestart",e.gesturechange="gesturechange",e.gestureend="gestureend",e.focus="focus",e.blur="blur",e.change="change",e.reset="reset",e.select="select",e.submit="submit",e.focusin="focusin",e.focusout="focusout",e.load="load",e.unload="unload",e.beforeunload="beforeunload",e.resize="resize",e.move="move",e.DOMContentLoaded="DOMContentLoaded",e.readystatechange="readystatechange",e.error="error",e.abort="abort",e.scroll="scroll"}(a||(a={}));class d{static getUidEvent(e,t){return t&&"".concat(t,"::").concat(d.uidEvent++)||e.uidEvent||d.uidEvent++}static getEvent(e){const t=d.getUidEvent(e);return e.uidEvent=t,d.EVENTREGISTRY[t]=d.EVENTREGISTRY[t]||{}}static fixEvent(e,t){null===e.which&&d.KEYEVENT_REGEX.test(e.type)&&(e.which=null!==e.charCode?e.charCode:e.keyCode),e.delegateTarget=t}static njHandler(e,t){const o=n=>(d.fixEvent(n,e),o.oneOff&&d.off(e,n.type,t),t.apply(e,[n]));return o}static njDelegationHandler(e,t,o){const n=r=>{const s=e.querySelectorAll(t);for(let t=r.target;t&&t!==this;t=t.parentNode)for(let i=s.length;i>=0;i--)if(s[i]===t)return d.fixEvent(r,t),n.oneOff&&d.off(e,r.type,o),o.apply(t,[r]);return null};return n}static findHandler(e,t,o=null){for(const n in e){if(!Object.prototype.hasOwnProperty.call(e,n))continue;const r=e[n];if(r.originalHandler===t&&r.delegationSelector===o)return e[n]}return null}static normalizeParams(e,t,o){const n="string"==typeof t,r=n?o:t;let s=e.replace(d.STRIPNAME_REGEX,"");const l=i[s];l&&(s=l);return"string"==typeof a[s]||(s=e),[n,r,s]}static addHandler(e,t,o,n,r){if("string"!=typeof t||null==e)return;o||(o=n,n=null);const s=d.getEvent(e);for(const i of t.split(" ")){const[t,l,a]=d.normalizeParams(i,o,n),c=s[a]||(s[a]={}),u=d.findHandler(c,l,t?o:null);if(u)return void(u.oneOff=u.oneOff&&r);const h=d.getUidEvent(l,i.replace(d.NAMESPACE_REGEX,"")),p=t?d.njDelegationHandler(e,o,n):d.njHandler(e,o);p.delegationSelector=t?o:null,p.originalHandler=l,p.oneOff=r,p.uidEvent=h,c[h]=p,e.addEventListener(a,p,t)}}static removeHandler(e,t,o,n,r){const s=d.findHandler(t[o],n,r);null!==s&&(e.removeEventListener(o,s,Boolean(r)),delete t[o][s.uidEvent])}static removeNamespacedHandlers(e,t,o,n){const r=t[o]||{};for(const s in r)if(Object.prototype.hasOwnProperty.call(r,s)&&s.indexOf(n)>-1){const n=r[s];d.removeHandler(e,t,o,n.originalHandler,n.delegationSelector)}}static on(e,t,o,n){d.addHandler(e,t,o,n,!1)}static one(e,t,o,n){d.addHandler(e,t,o,n,!0)}static off(e,t,o,n){if("string"!=typeof t||null==e)return;const[r,s,i]=d.normalizeParams(t,o,n),l=i!==t,a=d.getEvent(e);if(void 0!==s){if(!a||!a[i])return;return void d.removeHandler(e,a,i,s,r?o:null)}if("."===t.charAt(0))for(const o in a)Object.prototype.hasOwnProperty.call(a,o)&&d.removeNamespacedHandlers(e,a,o,t.substr(1));const c=a[i]||{};for(const o in c){if(!Object.prototype.hasOwnProperty.call(c,o))continue;const n=o.replace(d.STRIPUID_REGEX,"");if(!l||t.indexOf(n)>-1){const t=c[o];d.removeHandler(e,a,i,t.originalHandler,t.delegationSelector)}}}static trigger(e,t,o){if("string"!=typeof t||null==e)return null;const n=t.replace(d.STRIPNAME_REGEX,""),r="string"==typeof a[n];let s=null;return r?(s=document.createEvent("HTMLEvents"),s.initEvent(n,true,!0)):s=new window.CustomEvent(t,{bubbles:true,cancelable:!0}),void 0!==o&&Object.keys(o).forEach(e=>{Object.defineProperty(s,e,{get:()=>o[e]})}),e.dispatchEvent(s),s}}d.NAMESPACE_REGEX=/[^.]*(?=\..*)\.|.*/,d.STRIPNAME_REGEX=/\..*/,d.KEYEVENT_REGEX=/^key/,d.STRIPUID_REGEX=/::\d+$/,d.EVENTREGISTRY={},d.uidEvent=1;const h={getDataAttributes(e){if(null==e)return{};let t={};if(Object.getOwnPropertyDescriptor(HTMLElement.prototype,"dataset"))t=Object.assign({},e.dataset);else for(let o=0;o<e.attributes.length;o++){const n=e.attributes[o];if(-1!==n.nodeName.indexOf("data-")){const e=n.nodeName.substring("data-".length).replace(/-./g,e=>e.charAt(1).toUpperCase());t[e]=n.nodeValue}}return Object.keys(t).forEach(e=>{var o;t[e]="true"===(o=t[e])||"false"!==o&&("null"===o?null:o===Number(o).toString()?Number(o):""===o?null:o)}),t},toggleClass(e,t){null!=e&&(e.classList.contains(t)?e.classList.remove(t):e.classList.add(t))},mergeExtended(e,t,o){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(o&&"[object Object]"===Object.prototype.toString.call(t[n])?e[n]=h.extend(e[n],t[n]):e[n]=t[n]);return e},extend(...e){let t={},o=!1,n=0;for("[object Boolean]"===Object.prototype.toString.call(e[0])&&(o=e[0],n++);n<e.length;n++)t=h.mergeExtended(t,e[n],o);return t},createHtmlNode:e=>(new DOMParser).parseFromString(e,"text/html").body.firstChild};var p=h;class m extends u{constructor(e,t,o={},n={}){super(e,t,p.extend(!0,m.DEFAULT_OPTIONS,o),n),this.njFormGroup=this.resolveNJFormGroup(),this.njFormGroup&&(this.resolveNJLabel(),this.resolveNJFormGroupSizing(),this.addFocusListener(),this.addChangeListener(),this.isEmpty()?this.removeIsFilled():this.addIsFilled())}addFocusListener(){d.on(this.element,"focus",()=>{this.addFormGroupFocus()}),d.on(this.element,"blur",()=>{this.removeFormGroupFocus()})}addChangeListener(){d.on(this.element,"keydown paste",e=>{c.isChar(e)&&this.addIsFilled()}),d.on(this.element,"keyup change",()=>{if(this.isEmpty()?this.removeIsFilled():this.addIsFilled(),this.options.validate){void 0===this.element[0].checkValidity||this.element[0].checkValidity()?this.removeHasDanger():this.addHasDanger()}})}addHasDanger(){this.njFormGroup.classList.add(m.CLASS_NAME.hasDanger)}removeHasDanger(){this.njFormGroup.classList.remove(m.CLASS_NAME.hasDanger)}isEmpty(){return null===this.element.value||void 0===this.element.value||""===this.element.value}resolveNJFormGroup(){return this.findFormGroup(this.options.njFormGroup.required)}outerElement(){return this.element}resolveNJLabel(){let e=this.njFormGroup.querySelectorAll(m.INPUT_SELECTOR.njLabelWildcard);0===e.length&&(e=this.findLabel(this.options.label.required),null!==e&&e.length>1&&e.forEach(e=>{e.classList.add(this.options.label.className)}))}findLabel(e=!0){let t,o=null,n=0,r=!1;do{t=this.options.label.selectors[n];try{o=this.njFormGroup.querySelectorAll(t)}catch(e){o=null}r=null!==o&&o.length>0,n++}while(!r&&n<this.options.label.selectors.length);return!r&&e&&console.error("Failed to find ".concat(m.INPUT_SELECTOR.njLabelWildcard," within nj-form-group for ").concat(c.describe(this.element))),o}resolveNJFormGroupSizing(){if(this.options.convertInputSizeVariations)for(const e in m.FORM_CONTROL_SIZE_MARKERS)this.element.classList.contains(e)&&this.njFormGroup.classList.add(m.FORM_CONTROL_SIZE_MARKERS[e])}}m.CLASS_NAME={njFormGroup:"nj-form-group",njLabel:"nj-label",njLabelStatic:"nj-label-static",njLabelPlaceholder:"nj-label-placeholder",njLabelFloating:"nj-label-floating",hasDanger:"has-danger",isFilled:"is-filled",isFocused:"is-focused",inputGroup:"input-group"},m.INPUT_SELECTOR={njFormGroup:".".concat(m.CLASS_NAME.njFormGroup),njLabelWildcard:"label[class^='".concat(m.CLASS_NAME.njLabel,"'], label[class*=' ").concat(m.CLASS_NAME.njLabel,"']")},m.DEFAULT_OPTIONS={validate:!1,njFormGroup:{template:"span",templateClass:"".concat(m.CLASS_NAME.njFormGroup)},label:{required:!1,selectors:[".form-control-label",":scope > label"],className:m.CLASS_NAME.njLabelStatic},requiredClasses:[],convertInputSizeVariations:!0},m.FORM_CONTROL_SIZE_MARKERS={"form-control-lg":"nj-form-group-lg","form-control-sm":"nj-form-group-sm"};class f extends HTMLElement{constructor(...e){super(),this.components=e,this.instances=[],this.parentNodes=[]}connectedCallback(){this.setup()}disconnectedCallback(){this.instances.forEach(e=>{e.dispose()}),this.instances=null}setup(){let e=this;for(;e.parentNode;)e=e.parentNode,this.parentNodes.push(e);[this,...this.parentNodes].some(e=>e.nextSibling)||"loading"!==document.readyState?this.childrenAvailableCallback():(this.mutationObserver=new MutationObserver(()=>{([this,...this.parentNodes].some(e=>e.nextSibling)||"loading"!==document.readyState)&&(this.childrenAvailableCallback(),this.mutationObserver.disconnect())}),this.mutationObserver.observe(this,{childList:!0}))}childrenAvailableCallback(){this.components.forEach(e=>{const t=this.querySelector(e.SELECTOR.default);if(!t)throw new Error("Default selector of ".concat(e.name," not found: ").concat(e.SELECTOR.default));this.instances.push(new e(t))})}static init(e){if(!e.TAG_NAME)throw new Error("TAG_NAME property of ".concat(e.name," class doesn't exists"));customElements.define(e.TAG_NAME,e)}}o.d(t,"default",(function(){return E})),o.d(t,"SelectWC",(function(){return g}));class E extends m{constructor(e,t={}){super(E,e,p.extend(!0,E.DEFAULT_OPTIONS,t)),this.addIsFilled(),r.setData(e,E.DATA_KEY,this)}dispose(){r.removeData(this.element,E.DATA_KEY),this.element=null}static init(e={}){return super.init(this,e,E.SELECTOR.default)}static getInstance(e){return r.getData(e,E.DATA_KEY)}static matches(e){return"SELECT"===e.tagName}}E.NAME="".concat(s.KEY_PREFIX,"-select"),E.DATA_KEY="".concat(s.KEY_PREFIX,".select"),E.SELECTOR={default:"select",formGroup:m.SELECTOR.formGroup},E.DEFAULT_OPTIONS={requiredClasses:["form-control||custom-select"]};class g extends f{constructor(){super(E)}static init(){f.init(g)}}g.TAG_NAME=E.NAME}]).default}));

@@ -1,1 +0,1 @@

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("Sidebar",[],t):"object"==typeof exports?exports.Sidebar=t():e.Sidebar=t()}(window,(function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";var o,r,s,i;n.r(t),function(e){e.KEY_PREFIX="nj",e.DATA_API_KEY=".data-api"}(o||(o={})),function(e){e.mouseenter="mouseover",e.mouseleave="mouseout"}(r||(r={})),function(e){e.click="click",e.close="close",e.closed="closed",e.hide="hide",e.hidden="hidden",e.input="input",e.keydown="keydown",e.keyup="keyup",e.onchange="onchange",e.show="show",e.shown="shown",e.inserted="inserted",e.focusin="focusin",e.focusout="focusout",e.mouseenter="mouseenter",e.mouseleave="mouseleave",e.mouseup="mouseup",e.mousedown="mousedown"}(s||(s={})),function(e){e.click="click",e.dblclick="dblclick",e.mouseup="mouseup",e.mousedown="mousedown",e.contextmenu="contextmenu",e.mousewheel="mousewheel",e.DOMMouseScroll="DOMMouseScroll",e.mouseover="mouseover",e.mouseout="mouseout",e.mousemove="mousemove",e.selectstart="selectstart",e.selectend="selectend",e.keydown="keydown",e.keypress="keypress",e.keyup="keyup",e.orientationchange="orientationchange",e.touchstart="touchstart",e.touchmove="touchmove",e.touchend="touchend",e.touchcancel="touchcancel",e.pointerdown="pointerdown",e.pointermove="pointermove",e.pointerup="pointerup",e.pointerleave="pointerleave",e.pointercancel="pointercancel",e.gesturestart="gesturestart",e.gesturechange="gesturechange",e.gestureend="gestureend",e.focus="focus",e.blur="blur",e.change="change",e.reset="reset",e.select="select",e.submit="submit",e.focusin="focusin",e.focusout="focusout",e.load="load",e.unload="unload",e.beforeunload="beforeunload",e.resize="resize",e.move="move",e.DOMContentLoaded="DOMContentLoaded",e.readystatechange="readystatechange",e.error="error",e.abort="abort",e.scroll="scroll"}(i||(i={}));const a=(()=>{const e={};let t=1;return{set(n,o,r){void 0===n.key&&(n.key={key:o,id:t},t++),e[n.key.id]=r},get(t,n){if(!t||void 0===t.key)return null;const o=t.key;return o.key===n?e[o.id]:null},delete(t,n){if(void 0===t.key)return;const o=t.key;o.key===n&&(delete e[o.id],delete t.key)}}})();var l={setData(e,t,n){a.set(e,t,n)},getData:(e,t)=>a.get(e,t),removeData(e,t){a.delete(e,t)}};class c{static getUidEvent(e,t){return t&&"".concat(t,"::").concat(c.uidEvent++)||e.uidEvent||c.uidEvent++}static getEvent(e){const t=c.getUidEvent(e);return e.uidEvent=t,c.EVENTREGISTRY[t]=c.EVENTREGISTRY[t]||{}}static fixEvent(e,t){null===e.which&&c.KEYEVENT_REGEX.test(e.type)&&(e.which=null!==e.charCode?e.charCode:e.keyCode),e.delegateTarget=t}static njHandler(e,t){const n=o=>(c.fixEvent(o,e),n.oneOff&&c.off(e,o.type,t),t.apply(e,[o]));return n}static njDelegationHandler(e,t,n){const o=r=>{const s=e.querySelectorAll(t);for(let t=r.target;t&&t!==this;t=t.parentNode)for(let i=s.length;i>=0;i--)if(s[i]===t)return c.fixEvent(r,t),o.oneOff&&c.off(e,r.type,n),n.apply(t,[r]);return null};return o}static findHandler(e,t,n=null){for(const o in e){if(!Object.prototype.hasOwnProperty.call(e,o))continue;const r=e[o];if(r.originalHandler===t&&r.delegationSelector===n)return e[o]}return null}static normalizeParams(e,t,n){const o="string"==typeof t,s=o?n:t;let a=e.replace(c.STRIPNAME_REGEX,"");const l=r[a];l&&(a=l);return"string"==typeof i[a]||(a=e),[o,s,a]}static addHandler(e,t,n,o,r){if("string"!=typeof t||null==e)return;n||(n=o,o=null);const s=c.getEvent(e);for(const i of t.split(" ")){const[t,a,l]=c.normalizeParams(i,n,o),d=s[l]||(s[l]={}),u=c.findHandler(d,a,t?n:null);if(u)return void(u.oneOff=u.oneOff&&r);const E=c.getUidEvent(a,i.replace(c.NAMESPACE_REGEX,"")),f=t?c.njDelegationHandler(e,n,o):c.njHandler(e,n);f.delegationSelector=t?n:null,f.originalHandler=a,f.oneOff=r,f.uidEvent=E,d[E]=f,e.addEventListener(l,f,t)}}static removeHandler(e,t,n,o,r){const s=c.findHandler(t[n],o,r);null!==s&&(e.removeEventListener(n,s,Boolean(r)),delete t[n][s.uidEvent])}static removeNamespacedHandlers(e,t,n,o){const r=t[n]||{};for(const s in r)if(Object.prototype.hasOwnProperty.call(r,s)&&s.indexOf(o)>-1){const o=r[s];c.removeHandler(e,t,n,o.originalHandler,o.delegationSelector)}}static on(e,t,n,o){c.addHandler(e,t,n,o,!1)}static one(e,t,n,o){c.addHandler(e,t,n,o,!0)}static off(e,t,n,o){if("string"!=typeof t||null==e)return;const[r,s,i]=c.normalizeParams(t,n,o),a=i!==t,l=c.getEvent(e);if(void 0!==s){if(!l||!l[i])return;return void c.removeHandler(e,l,i,s,r?n:null)}if("."===t.charAt(0))for(const n in l)Object.prototype.hasOwnProperty.call(l,n)&&c.removeNamespacedHandlers(e,l,n,t.substr(1));const d=l[i]||{};for(const n in d){if(!Object.prototype.hasOwnProperty.call(d,n))continue;const o=n.replace(c.STRIPUID_REGEX,"");if(!a||t.indexOf(o)>-1){const t=d[n];c.removeHandler(e,l,i,t.originalHandler,t.delegationSelector)}}}static trigger(e,t,n){if("string"!=typeof t||null==e)return null;const o=t.replace(c.STRIPNAME_REGEX,""),r="string"==typeof i[o];let s=null;return r?(s=document.createEvent("HTMLEvents"),s.initEvent(o,true,!0)):s=new window.CustomEvent(t,{bubbles:true,cancelable:!0}),void 0!==n&&Object.keys(n).forEach(e=>{Object.defineProperty(s,e,{get:()=>n[e]})}),e.dispatchEvent(s),s}}c.NAMESPACE_REGEX=/[^.]*(?=\..*)\.|.*/,c.STRIPNAME_REGEX=/\..*/,c.KEYEVENT_REGEX=/^key/,c.STRIPUID_REGEX=/::\d+$/,c.EVENTREGISTRY={},c.uidEvent=1;const d={getDataAttributes(e){if(null==e)return{};let t={};if(Object.getOwnPropertyDescriptor(HTMLElement.prototype,"dataset"))t=Object.assign({},e.dataset);else for(let n=0;n<e.attributes.length;n++){const o=e.attributes[n];if(-1!==o.nodeName.indexOf("data-")){const e=o.nodeName.substring("data-".length).replace(/-./g,e=>e.charAt(1).toUpperCase());t[e]=o.nodeValue}}return Object.keys(t).forEach(e=>{var n;t[e]="true"===(n=t[e])||"false"!==n&&("null"===n?null:n===Number(n).toString()?Number(n):""===n?null:n)}),t},toggleClass(e,t){null!=e&&(e.classList.contains(t)?e.classList.remove(t):e.classList.add(t))},mergeExtended(e,t,n){for(const o in t)Object.prototype.hasOwnProperty.call(t,o)&&(n&&"[object Object]"===Object.prototype.toString.call(t[o])?e[o]=d.extend(e[o],t[o]):e[o]=t[o]);return e},extend(...e){let t={},n=!1,o=0;for("[object Boolean]"===Object.prototype.toString.call(e[0])&&(n=e[0],o++);o<e.length;o++)t=d.mergeExtended(t,e[o],n);return t},createHtmlNode:e=>(new DOMParser).parseFromString(e,"text/html").body.firstChild};var u=d;const E={TRANSITION_END:"transitionend",getUID(e){do{e+=~~(1e6*Math.random())}while(document.getElementById(e));return e},getSelectorFromElement(e){let t=e.getAttribute("data-target");if(!t||"#"===t){const n=e.getAttribute("href");t=n&&"#"!==n?n.trim():""}try{return document.querySelector(t)?t:null}catch(e){return null}},getTransitionDurationFromElement(e){if(!e)return 0;let t=window.getComputedStyle(e).transitionDuration,n=window.getComputedStyle(e).transitionDelay;const o=parseFloat(t),r=parseFloat(n);return o||r?(t=t.split(",")[0],n=n.split(",")[0],1e3*(parseFloat(t)+parseFloat(n))):0},reflow:e=>e.offsetHeight,triggerTransitionEnd(e){const t=new CustomEvent(E.TRANSITION_END,{});e.dispatchEvent(t)},isElement:e=>(e[0]||e).nodeType,emulateTransitionEnd(e,t){let n=!1;const o=t+5;e.addEventListener(E.TRANSITION_END,(function t(){n=!0,e.removeEventListener(E.TRANSITION_END,t)})),setTimeout(()=>{n||E.triggerTransitionEnd(e)},o)},typeCheckConfig(e,t,n){for(const r in n)if(Object.prototype.hasOwnProperty.call(n,r)){const s=n[r],i=t[r],a=i&&E.isElement(i)?"element":(o=i,{}.toString.call(o).match(/\s([a-z]+)/i)[1].toLowerCase());if(!new RegExp(s).test(a))throw new Error("".concat(e.toUpperCase(),": ")+'Option "'.concat(r,'" provided type "').concat(a,'" ')+'but expected type "'.concat(s,'".'))}var o},makeArray:e=>null==e?[]:[].slice.call(e),findShadowRoot(e){if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?E.findShadowRoot(e.parentElement):null},throttle(e,t,n,o,r){let s,i,a,l=null,c=0;const d=()=>{c=Date.now(),l=null,a=e.apply(i,s)};return()=>{const u=Date.now();c||n||(c=u);const E=t-(u-c);return i=r||this,s=arguments,E<=0?(clearTimeout(l),l=null,c=u,a=e.apply(i,s)):!l&&o&&(l=setTimeout(d,E)),a}}};var f=E;class g extends HTMLElement{constructor(...e){super(),this.components=e,this.instances=[],this.parentNodes=[]}connectedCallback(){this.setup()}disconnectedCallback(){this.instances.forEach(e=>{e.dispose()}),this.instances=null}setup(){let e=this;for(;e.parentNode;)e=e.parentNode,this.parentNodes.push(e);[this,...this.parentNodes].some(e=>e.nextSibling)||"loading"!==document.readyState?this.childrenAvailableCallback():(this.mutationObserver=new MutationObserver(()=>{([this,...this.parentNodes].some(e=>e.nextSibling)||"loading"!==document.readyState)&&(this.childrenAvailableCallback(),this.mutationObserver.disconnect())}),this.mutationObserver.observe(this,{childList:!0}))}childrenAvailableCallback(){this.components.forEach(e=>{const t=this.querySelector(e.SELECTOR.default);if(!t)throw new Error("Default selector of ".concat(e.name," not found: ").concat(e.SELECTOR.default));this.instances.push(new e(t))})}static init(e){if(!e.TAG_NAME)throw new Error("TAG_NAME property of ".concat(e.name," class doesn't exists"));customElements.define(e.TAG_NAME,e)}}n.d(t,"default",(function(){return m})),n.d(t,"SidebarWC",(function(){return h}));class m extends class{constructor(e,t,n={}){!t||t instanceof Element||console.error(Error("".concat(t," is not an HTML Element"))),this.options=n,this.element=t}static init(e,t={},n){const o=[],r=document.querySelectorAll(n);for(let n=0;n<r.length;n++){const s=r[n];if(!s.key||s.key!==e.DATA_KEY){const i=new e(r[n],t);s.key||l.setData(r[n],e.DATA_KEY,i),o.push(i)}}return o}}{constructor(e,t={}){super(m,e,m.getOptions(t)),this.element=e,this.isTransitioning=!1,this.triggerArray=f.makeArray(document.querySelectorAll("".concat(m.SELECTOR.dataToggle,'[href="#').concat(e.id,'"],')+"".concat(m.SELECTOR.dataToggle,'[data-target="#').concat(e.id,'"]')));const n=f.makeArray(document.querySelectorAll(m.SELECTOR.dataToggle));for(let t=0,o=n.length;t<o;t++){const o=n[t],r=f.getSelectorFromElement(o),s=f.makeArray(document.querySelectorAll(r)).filter(t=>t===e);null!==r&&s.length&&(this.selector=r,this.triggerArray.push(o))}l.setData(e,m.DATA_KEY,this),this.options.toggle&&this.toggle(),l.setData(e,m.DATA_KEY,this),this.registerEvents()}toggle(){this.element.classList.contains(m.CLASS_NAME.folded)?this.close():this.open()}open(){if(this.isTransitioning||this.element.classList.contains(m.CLASS_NAME.folded))return;document.querySelector(this.selector);if(c.trigger(this.element,m.EVENT.show).defaultPrevented)return;this.element.classList.remove(m.CLASS_NAME.folded),this.element.classList.add(m.CLASS_NAME.folding),this.triggerArray.length&&this.triggerArray.forEach(e=>{e.classList.remove(m.CLASS_NAME.folded),e.setAttribute("aria-folded","true")}),this.setTransitioning(!0);const e=f.getTransitionDurationFromElement(this.element);c.one(this.element,f.TRANSITION_END,()=>{this.element.classList.remove(m.CLASS_NAME.folding),this.element.classList.add(m.CLASS_NAME.folded),this.element.parentElement&&this.element.parentElement.tagName.toLowerCase()===m.NAME&&this.element.parentElement.setAttribute("folded",""),this.setTransitioning(!1),c.trigger(this.element,m.EVENT.shown)}),f.emulateTransitionEnd(this.element,e)}close(){if(this.isTransitioning||!this.element.classList.contains(m.CLASS_NAME.folded))return;if(c.trigger(this.element,m.EVENT.hide).defaultPrevented)return;f.reflow(this.element),this.element.classList.add(m.CLASS_NAME.folding),this.element.classList.remove(m.CLASS_NAME.folded);const e=this.triggerArray.length;if(e>0)for(let t=0;t<e;t++){const e=this.triggerArray[t],n=f.getSelectorFromElement(e);if(null!==n){document.querySelector(n).classList.contains(m.CLASS_NAME.folded)||(e.classList.remove(m.CLASS_NAME.folded),e.setAttribute("aria-folded","false"))}}this.setTransitioning(!0);const t=f.getTransitionDurationFromElement(this.element);c.one(this.element,f.TRANSITION_END,()=>{this.element.parentElement&&this.element.parentElement.tagName.toLowerCase()===m.NAME&&this.element.parentElement.removeAttribute("folded"),this.setTransitioning(!1),this.element.classList.remove(m.CLASS_NAME.folding),c.trigger(this.element,m.EVENT.hidden)}),f.emulateTransitionEnd(this.element,t)}setTransitioning(e){this.isTransitioning=e}dispose(){l.removeData(this.element,m.DATA_KEY),this.options=null,this.element=null,this.triggerArray=null,this.isTransitioning=null}addAriaAndExpandedClass(e,t){if(e){const n=e.classList.contains(m.CLASS_NAME.folded);t.length&&t.forEach(e=>{n?e.classList.remove(m.CLASS_NAME.folded):e.classList.add(m.CLASS_NAME.folded),e.setAttribute("aria-folded",n)})}}static getOptions(e){return(e=Object.assign(Object.assign({},m.DEFAULT_OPTIONS),e)).toggle=Boolean(e.toggle),f.typeCheckConfig(m.NAME,e,m.DEFAULT_TYPE),e}static getTargetFromElement(e){const t=f.getSelectorFromElement(e);return t?document.querySelector(t):null}static expandInterface(e,t){let n=l.getData(e,m.DATA_KEY);const o=Object.assign(Object.assign(Object.assign({},m.DEFAULT_OPTIONS),u.getDataAttributes(e)),"object"==typeof t&&t?t:{});if(!n&&o.toggle&&/show|hide/.test(t)&&(o.toggle=!1),n||(n=new m(e,o)),"string"==typeof t){if(void 0===n[t])throw new Error('No method named "'.concat(t,'"'));n[t]()}}static getInstance(e){return l.getData(e,m.DATA_KEY)}static init(e={}){return super.init(this,e,m.SELECTOR.default)}registerEvents(){c.on(document,m.EVENT.clickDataApi,m.SELECTOR.dataToggle,(function(e){"A"===e.target.tagName&&e.preventDefault();const t=u.getDataAttributes(this),n=f.getSelectorFromElement(this);f.makeArray(document.querySelectorAll(n)).forEach(e=>{const n=m.getInstance(e)?"toggle":t;m.expandInterface(e,n)})}))}}m.NAME="".concat(o.KEY_PREFIX,"-sidebar"),m.DATA_KEY="".concat(o.KEY_PREFIX,".sidebar"),m.EVENT_KEY=".".concat(m.DATA_KEY),m.DATA_API_KEY=o.KEY_PREFIX,m.CLASS_NAME={folding:"".concat(o.KEY_PREFIX,"-sidebar--folding"),folded:"".concat(o.KEY_PREFIX,"-sidebar--folded")},m.EVENT={show:"".concat(s.show).concat(m.EVENT_KEY),shown:"".concat(s.shown).concat(m.EVENT_KEY),hide:"".concat(s.hide).concat(m.EVENT_KEY),hidden:"".concat(s.hidden).concat(m.EVENT_KEY),clickDataApi:"".concat(s.click).concat(m.EVENT_KEY).concat(m.DATA_API_KEY)},m.DEFAULT_OPTIONS={folded:!1},m.DEFAULT_TYPE={folded:"boolean"},m.SELECTOR={default:".".concat(m.NAME),actives:".".concat(m.CLASS_NAME.folding,", .").concat(m.NAME),dataToggle:'[data-toggle="sidebar"]'};class h extends g{constructor(){super(m)}static init(){g.init(h)}}h.TAG_NAME=m.NAME}]).default}));
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("Sidebar",[],t):"object"==typeof exports?exports.Sidebar=t():e.Sidebar=t()}(window,(function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";var o,r,s,i;n.r(t),function(e){e.KEY_PREFIX="nj",e.DATA_API_KEY=".data-api"}(o||(o={})),function(e){e.mouseenter="mouseover",e.mouseleave="mouseout"}(r||(r={})),function(e){e.click="click",e.close="close",e.closed="closed",e.hide="hide",e.hidden="hidden",e.input="input",e.keydown="keydown",e.keyup="keyup",e.onchange="onchange",e.show="show",e.shown="shown",e.inserted="inserted",e.focusin="focusin",e.focusout="focusout",e.mouseenter="mouseenter",e.mouseleave="mouseleave",e.mouseup="mouseup",e.mousedown="mousedown"}(s||(s={})),function(e){e.click="click",e.dblclick="dblclick",e.mouseup="mouseup",e.mousedown="mousedown",e.contextmenu="contextmenu",e.mousewheel="mousewheel",e.DOMMouseScroll="DOMMouseScroll",e.mouseover="mouseover",e.mouseout="mouseout",e.mousemove="mousemove",e.selectstart="selectstart",e.selectend="selectend",e.keydown="keydown",e.keypress="keypress",e.keyup="keyup",e.orientationchange="orientationchange",e.touchstart="touchstart",e.touchmove="touchmove",e.touchend="touchend",e.touchcancel="touchcancel",e.pointerdown="pointerdown",e.pointermove="pointermove",e.pointerup="pointerup",e.pointerleave="pointerleave",e.pointercancel="pointercancel",e.gesturestart="gesturestart",e.gesturechange="gesturechange",e.gestureend="gestureend",e.focus="focus",e.blur="blur",e.change="change",e.reset="reset",e.select="select",e.submit="submit",e.focusin="focusin",e.focusout="focusout",e.load="load",e.unload="unload",e.beforeunload="beforeunload",e.resize="resize",e.move="move",e.DOMContentLoaded="DOMContentLoaded",e.readystatechange="readystatechange",e.error="error",e.abort="abort",e.scroll="scroll"}(i||(i={})),window.NJStore=window.NJStore||[];const a=(()=>{const e=window.NJStore;return{set(t,n,o){void 0===t.key&&(t.key={key:n,id:e.length}),e[t.key.id]=o},get:(t,n)=>(t.key&&!n.id&&(n=t.key),n&&n.id?e[n.id]:null),delete(t,n){if(void 0===t.key)return;const o=t.key;o.key===n&&(delete e[o.id],delete t.key)}}})();var l={setData(e,t,n){a.set(e,t,n)},getData:(e,t)=>a.get(e,t),removeData(e,t){a.delete(e,t)}};class c{static getUidEvent(e,t){return t&&"".concat(t,"::").concat(c.uidEvent++)||e.uidEvent||c.uidEvent++}static getEvent(e){const t=c.getUidEvent(e);return e.uidEvent=t,c.EVENTREGISTRY[t]=c.EVENTREGISTRY[t]||{}}static fixEvent(e,t){null===e.which&&c.KEYEVENT_REGEX.test(e.type)&&(e.which=null!==e.charCode?e.charCode:e.keyCode),e.delegateTarget=t}static njHandler(e,t){const n=o=>(c.fixEvent(o,e),n.oneOff&&c.off(e,o.type,t),t.apply(e,[o]));return n}static njDelegationHandler(e,t,n){const o=r=>{const s=e.querySelectorAll(t);for(let t=r.target;t&&t!==this;t=t.parentNode)for(let i=s.length;i>=0;i--)if(s[i]===t)return c.fixEvent(r,t),o.oneOff&&c.off(e,r.type,n),n.apply(t,[r]);return null};return o}static findHandler(e,t,n=null){for(const o in e){if(!Object.prototype.hasOwnProperty.call(e,o))continue;const r=e[o];if(r.originalHandler===t&&r.delegationSelector===n)return e[o]}return null}static normalizeParams(e,t,n){const o="string"==typeof t,s=o?n:t;let a=e.replace(c.STRIPNAME_REGEX,"");const l=r[a];l&&(a=l);return"string"==typeof i[a]||(a=e),[o,s,a]}static addHandler(e,t,n,o,r){if("string"!=typeof t||null==e)return;n||(n=o,o=null);const s=c.getEvent(e);for(const i of t.split(" ")){const[t,a,l]=c.normalizeParams(i,n,o),d=s[l]||(s[l]={}),u=c.findHandler(d,a,t?n:null);if(u)return void(u.oneOff=u.oneOff&&r);const E=c.getUidEvent(a,i.replace(c.NAMESPACE_REGEX,"")),f=t?c.njDelegationHandler(e,n,o):c.njHandler(e,n);f.delegationSelector=t?n:null,f.originalHandler=a,f.oneOff=r,f.uidEvent=E,d[E]=f,e.addEventListener(l,f,t)}}static removeHandler(e,t,n,o,r){const s=c.findHandler(t[n],o,r);null!==s&&(e.removeEventListener(n,s,Boolean(r)),delete t[n][s.uidEvent])}static removeNamespacedHandlers(e,t,n,o){const r=t[n]||{};for(const s in r)if(Object.prototype.hasOwnProperty.call(r,s)&&s.indexOf(o)>-1){const o=r[s];c.removeHandler(e,t,n,o.originalHandler,o.delegationSelector)}}static on(e,t,n,o){c.addHandler(e,t,n,o,!1)}static one(e,t,n,o){c.addHandler(e,t,n,o,!0)}static off(e,t,n,o){if("string"!=typeof t||null==e)return;const[r,s,i]=c.normalizeParams(t,n,o),a=i!==t,l=c.getEvent(e);if(void 0!==s){if(!l||!l[i])return;return void c.removeHandler(e,l,i,s,r?n:null)}if("."===t.charAt(0))for(const n in l)Object.prototype.hasOwnProperty.call(l,n)&&c.removeNamespacedHandlers(e,l,n,t.substr(1));const d=l[i]||{};for(const n in d){if(!Object.prototype.hasOwnProperty.call(d,n))continue;const o=n.replace(c.STRIPUID_REGEX,"");if(!a||t.indexOf(o)>-1){const t=d[n];c.removeHandler(e,l,i,t.originalHandler,t.delegationSelector)}}}static trigger(e,t,n){if("string"!=typeof t||null==e)return null;const o=t.replace(c.STRIPNAME_REGEX,""),r="string"==typeof i[o];let s=null;return r?(s=document.createEvent("HTMLEvents"),s.initEvent(o,true,!0)):s=new window.CustomEvent(t,{bubbles:true,cancelable:!0}),void 0!==n&&Object.keys(n).forEach(e=>{Object.defineProperty(s,e,{get:()=>n[e]})}),e.dispatchEvent(s),s}}c.NAMESPACE_REGEX=/[^.]*(?=\..*)\.|.*/,c.STRIPNAME_REGEX=/\..*/,c.KEYEVENT_REGEX=/^key/,c.STRIPUID_REGEX=/::\d+$/,c.EVENTREGISTRY={},c.uidEvent=1;const d={getDataAttributes(e){if(null==e)return{};let t={};if(Object.getOwnPropertyDescriptor(HTMLElement.prototype,"dataset"))t=Object.assign({},e.dataset);else for(let n=0;n<e.attributes.length;n++){const o=e.attributes[n];if(-1!==o.nodeName.indexOf("data-")){const e=o.nodeName.substring("data-".length).replace(/-./g,e=>e.charAt(1).toUpperCase());t[e]=o.nodeValue}}return Object.keys(t).forEach(e=>{var n;t[e]="true"===(n=t[e])||"false"!==n&&("null"===n?null:n===Number(n).toString()?Number(n):""===n?null:n)}),t},toggleClass(e,t){null!=e&&(e.classList.contains(t)?e.classList.remove(t):e.classList.add(t))},mergeExtended(e,t,n){for(const o in t)Object.prototype.hasOwnProperty.call(t,o)&&(n&&"[object Object]"===Object.prototype.toString.call(t[o])?e[o]=d.extend(e[o],t[o]):e[o]=t[o]);return e},extend(...e){let t={},n=!1,o=0;for("[object Boolean]"===Object.prototype.toString.call(e[0])&&(n=e[0],o++);o<e.length;o++)t=d.mergeExtended(t,e[o],n);return t},createHtmlNode:e=>(new DOMParser).parseFromString(e,"text/html").body.firstChild};var u=d;const E={TRANSITION_END:"transitionend",getUID(e){do{e+=~~(1e6*Math.random())}while(document.getElementById(e));return e},getSelectorFromElement(e){let t=e.getAttribute("data-target");if(!t||"#"===t){const n=e.getAttribute("href");t=n&&"#"!==n?n.trim():""}try{return document.querySelector(t)?t:null}catch(e){return null}},getTransitionDurationFromElement(e){if(!e)return 0;let t=window.getComputedStyle(e).transitionDuration,n=window.getComputedStyle(e).transitionDelay;const o=parseFloat(t),r=parseFloat(n);return o||r?(t=t.split(",")[0],n=n.split(",")[0],1e3*(parseFloat(t)+parseFloat(n))):0},reflow:e=>e.offsetHeight,triggerTransitionEnd(e){const t=new CustomEvent(E.TRANSITION_END,{});e.dispatchEvent(t)},isElement:e=>(e[0]||e).nodeType,emulateTransitionEnd(e,t){let n=!1;const o=t+5;e.addEventListener(E.TRANSITION_END,(function t(){n=!0,e.removeEventListener(E.TRANSITION_END,t)})),setTimeout(()=>{n||E.triggerTransitionEnd(e)},o)},typeCheckConfig(e,t,n){for(const r in n)if(Object.prototype.hasOwnProperty.call(n,r)){const s=n[r],i=t[r],a=i&&E.isElement(i)?"element":(o=i,{}.toString.call(o).match(/\s([a-z]+)/i)[1].toLowerCase());if(!new RegExp(s).test(a))throw new Error("".concat(e.toUpperCase(),": ")+'Option "'.concat(r,'" provided type "').concat(a,'" ')+'but expected type "'.concat(s,'".'))}var o},makeArray:e=>null==e?[]:[].slice.call(e),findShadowRoot(e){if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?E.findShadowRoot(e.parentElement):null},throttle(e,t,n,o,r){let s,i,a,l=null,c=0;const d=()=>{c=Date.now(),l=null,a=e.apply(i,s)};return()=>{const u=Date.now();c||n||(c=u);const E=t-(u-c);return i=r||this,s=arguments,E<=0?(clearTimeout(l),l=null,c=u,a=e.apply(i,s)):!l&&o&&(l=setTimeout(d,E)),a}}};var f=E;class g extends HTMLElement{constructor(...e){super(),this.components=e,this.instances=[],this.parentNodes=[]}connectedCallback(){this.setup()}disconnectedCallback(){this.instances.forEach(e=>{e.dispose()}),this.instances=null}setup(){let e=this;for(;e.parentNode;)e=e.parentNode,this.parentNodes.push(e);[this,...this.parentNodes].some(e=>e.nextSibling)||"loading"!==document.readyState?this.childrenAvailableCallback():(this.mutationObserver=new MutationObserver(()=>{([this,...this.parentNodes].some(e=>e.nextSibling)||"loading"!==document.readyState)&&(this.childrenAvailableCallback(),this.mutationObserver.disconnect())}),this.mutationObserver.observe(this,{childList:!0}))}childrenAvailableCallback(){this.components.forEach(e=>{const t=this.querySelector(e.SELECTOR.default);if(!t)throw new Error("Default selector of ".concat(e.name," not found: ").concat(e.SELECTOR.default));this.instances.push(new e(t))})}static init(e){if(!e.TAG_NAME)throw new Error("TAG_NAME property of ".concat(e.name," class doesn't exists"));customElements.define(e.TAG_NAME,e)}}n.d(t,"default",(function(){return m})),n.d(t,"SidebarWC",(function(){return h}));class m extends class{constructor(e,t,n={}){!t||t instanceof Element||console.error(Error("".concat(t," is not an HTML Element"))),this.options=n,this.element=t}static init(e,t={},n){const o=[],r=document.querySelectorAll(n);for(let n=0;n<r.length;n++){const s=r[n];if(!s.key||s.key!==e.DATA_KEY){const i=new e(r[n],t);s.key||l.setData(r[n],e.DATA_KEY,i),o.push(i)}}return o}}{constructor(e,t={}){super(m,e,m.getOptions(t)),this.element=e,this.isTransitioning=!1,this.triggerArray=f.makeArray(document.querySelectorAll("".concat(m.SELECTOR.dataToggle,'[href="#').concat(e.id,'"],')+"".concat(m.SELECTOR.dataToggle,'[data-target="#').concat(e.id,'"]')));const n=f.makeArray(document.querySelectorAll(m.SELECTOR.dataToggle));for(let t=0,o=n.length;t<o;t++){const o=n[t],r=f.getSelectorFromElement(o),s=f.makeArray(document.querySelectorAll(r)).filter(t=>t===e);null!==r&&s.length&&(this.selector=r,this.triggerArray.push(o))}l.setData(e,m.DATA_KEY,this),this.options.toggle&&this.toggle(),l.setData(e,m.DATA_KEY,this),this.registerEvents()}toggle(){this.element.classList.contains(m.CLASS_NAME.folded)?this.close():this.open()}open(){if(this.isTransitioning||this.element.classList.contains(m.CLASS_NAME.folded))return;document.querySelector(this.selector);if(c.trigger(this.element,m.EVENT.show).defaultPrevented)return;this.element.classList.remove(m.CLASS_NAME.folded),this.element.classList.add(m.CLASS_NAME.folding),this.triggerArray.length&&this.triggerArray.forEach(e=>{e.classList.remove(m.CLASS_NAME.folded),e.setAttribute("aria-folded","true")}),this.setTransitioning(!0);const e=f.getTransitionDurationFromElement(this.element);c.one(this.element,f.TRANSITION_END,()=>{this.element.classList.remove(m.CLASS_NAME.folding),this.element.classList.add(m.CLASS_NAME.folded),this.element.parentElement&&this.element.parentElement.tagName.toLowerCase()===m.NAME&&this.element.parentElement.setAttribute("folded",""),this.setTransitioning(!1),c.trigger(this.element,m.EVENT.shown)}),f.emulateTransitionEnd(this.element,e)}close(){if(this.isTransitioning||!this.element.classList.contains(m.CLASS_NAME.folded))return;if(c.trigger(this.element,m.EVENT.hide).defaultPrevented)return;f.reflow(this.element),this.element.classList.add(m.CLASS_NAME.folding),this.element.classList.remove(m.CLASS_NAME.folded);const e=this.triggerArray.length;if(e>0)for(let t=0;t<e;t++){const e=this.triggerArray[t],n=f.getSelectorFromElement(e);if(null!==n){document.querySelector(n).classList.contains(m.CLASS_NAME.folded)||(e.classList.remove(m.CLASS_NAME.folded),e.setAttribute("aria-folded","false"))}}this.setTransitioning(!0);const t=f.getTransitionDurationFromElement(this.element);c.one(this.element,f.TRANSITION_END,()=>{this.element.parentElement&&this.element.parentElement.tagName.toLowerCase()===m.NAME&&this.element.parentElement.removeAttribute("folded"),this.setTransitioning(!1),this.element.classList.remove(m.CLASS_NAME.folding),c.trigger(this.element,m.EVENT.hidden)}),f.emulateTransitionEnd(this.element,t)}setTransitioning(e){this.isTransitioning=e}dispose(){l.removeData(this.element,m.DATA_KEY),this.options=null,this.element=null,this.triggerArray=null,this.isTransitioning=null}addAriaAndExpandedClass(e,t){if(e){const n=e.classList.contains(m.CLASS_NAME.folded);t.length&&t.forEach(e=>{n?e.classList.remove(m.CLASS_NAME.folded):e.classList.add(m.CLASS_NAME.folded),e.setAttribute("aria-folded",n)})}}static getOptions(e){return(e=Object.assign(Object.assign({},m.DEFAULT_OPTIONS),e)).toggle=Boolean(e.toggle),f.typeCheckConfig(m.NAME,e,m.DEFAULT_TYPE),e}static getTargetFromElement(e){const t=f.getSelectorFromElement(e);return t?document.querySelector(t):null}static expandInterface(e,t){let n=l.getData(e,m.DATA_KEY);const o=Object.assign(Object.assign(Object.assign({},m.DEFAULT_OPTIONS),u.getDataAttributes(e)),"object"==typeof t&&t?t:{});if(!n&&o.toggle&&/show|hide/.test(t)&&(o.toggle=!1),n||(n=new m(e,o)),"string"==typeof t){if(void 0===n[t])throw new Error('No method named "'.concat(t,'"'));n[t]()}}static getInstance(e){return l.getData(e,m.DATA_KEY)}static init(e={}){return super.init(this,e,m.SELECTOR.default)}registerEvents(){c.on(document,m.EVENT.clickDataApi,m.SELECTOR.dataToggle,(function(e){"A"===e.target.tagName&&e.preventDefault();const t=u.getDataAttributes(this),n=f.getSelectorFromElement(this);f.makeArray(document.querySelectorAll(n)).forEach(e=>{const n=m.getInstance(e)?"toggle":t;m.expandInterface(e,n)})}))}}m.NAME="".concat(o.KEY_PREFIX,"-sidebar"),m.DATA_KEY="".concat(o.KEY_PREFIX,".sidebar"),m.EVENT_KEY=".".concat(m.DATA_KEY),m.DATA_API_KEY=o.KEY_PREFIX,m.CLASS_NAME={folding:"".concat(o.KEY_PREFIX,"-sidebar--folding"),folded:"".concat(o.KEY_PREFIX,"-sidebar--folded")},m.EVENT={show:"".concat(s.show).concat(m.EVENT_KEY),shown:"".concat(s.shown).concat(m.EVENT_KEY),hide:"".concat(s.hide).concat(m.EVENT_KEY),hidden:"".concat(s.hidden).concat(m.EVENT_KEY),clickDataApi:"".concat(s.click).concat(m.EVENT_KEY).concat(m.DATA_API_KEY)},m.DEFAULT_OPTIONS={folded:!1},m.DEFAULT_TYPE={folded:"boolean"},m.SELECTOR={default:".".concat(m.NAME),actives:".".concat(m.CLASS_NAME.folding,", .").concat(m.NAME),dataToggle:'[data-toggle="sidebar"]'};class h extends g{constructor(){super(m)}static init(){g.init(h)}}h.TAG_NAME=m.NAME}]).default}));
/*! For license information please see index.js.LICENSE.txt */
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("Slider",[],e):"object"==typeof exports?exports.Slider=e():t.Slider=e()}(window,(function(){return function(t){var e={};function n(o){if(e[o])return e[o].exports;var i=e[o]={i:o,l:!1,exports:{}};return t[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(o,i,function(e){return t[e]}.bind(null,i));return o},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=2)}([function(t,e,n){"use strict";(function(t){var n="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,o=function(){for(var t=["Edge","Trident","Firefox"],e=0;e<t.length;e+=1)if(n&&navigator.userAgent.indexOf(t[e])>=0)return 1;return 0}();var i=n&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then((function(){e=!1,t()})))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout((function(){e=!1,t()}),o))}};function r(t){return t&&"[object Function]"==={}.toString.call(t)}function s(t,e){if(1!==t.nodeType)return[];var n=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?n[e]:n}function a(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function l(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=s(t),n=e.overflow,o=e.overflowX,i=e.overflowY;return/(auto|scroll|overlay)/.test(n+i+o)?t:l(a(t))}function c(t){return t&&t.referenceNode?t.referenceNode:t}var u=n&&!(!window.MSInputMethodContext||!document.documentMode),p=n&&/MSIE 10/.test(navigator.userAgent);function d(t){return 11===t?u:10===t?p:u||p}function f(t){if(!t)return document.documentElement;for(var e=d(10)?document.body:null,n=t.offsetParent||null;n===e&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;var o=n&&n.nodeName;return o&&"BODY"!==o&&"HTML"!==o?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===s(n,"position")?f(n):n:t?t.ownerDocument.documentElement:document.documentElement}function h(t){return null!==t.parentNode?h(t.parentNode):t}function m(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,o=n?t:e,i=n?e:t,r=document.createRange();r.setStart(o,0),r.setEnd(i,0);var s,a,l=r.commonAncestorContainer;if(t!==l&&e!==l||o.contains(i))return"BODY"===(a=(s=l).nodeName)||"HTML"!==a&&f(s.firstElementChild)!==s?f(l):l;var c=h(t);return c.host?m(c.host,e):m(t,h(e).host)}function g(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===e?"scrollTop":"scrollLeft",o=t.nodeName;if("BODY"===o||"HTML"===o){var i=t.ownerDocument.documentElement,r=t.ownerDocument.scrollingElement||i;return r[n]}return t[n]}function E(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=g(e,"top"),i=g(e,"left"),r=n?-1:1;return t.top+=o*r,t.bottom+=o*r,t.left+=i*r,t.right+=i*r,t}function v(t,e){var n="x"===e?"Left":"Top",o="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"],10)+parseFloat(t["border"+o+"Width"],10)}function b(t,e,n,o){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],d(10)?parseInt(n["offset"+t])+parseInt(o["margin"+("Height"===t?"Top":"Left")])+parseInt(o["margin"+("Height"===t?"Bottom":"Right")]):0)}function T(t){var e=t.body,n=t.documentElement,o=d(10)&&getComputedStyle(n);return{height:b("Height",e,n,o),width:b("Width",e,n,o)}}var y=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},w=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),A=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},S=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t};function N(t){return S({},t,{right:t.left+t.width,bottom:t.top+t.height})}function O(t){var e={};try{if(d(10)){e=t.getBoundingClientRect();var n=g(t,"top"),o=g(t,"left");e.top+=n,e.left+=o,e.bottom+=n,e.right+=o}else e=t.getBoundingClientRect()}catch(t){}var i={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},r="HTML"===t.nodeName?T(t.ownerDocument):{},a=r.width||t.clientWidth||i.width,l=r.height||t.clientHeight||i.height,c=t.offsetWidth-a,u=t.offsetHeight-l;if(c||u){var p=s(t);c-=v(p,"x"),u-=v(p,"y"),i.width-=c,i.height-=u}return N(i)}function _(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=d(10),i="HTML"===e.nodeName,r=O(t),a=O(e),c=l(t),u=s(e),p=parseFloat(u.borderTopWidth,10),f=parseFloat(u.borderLeftWidth,10);n&&i&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var h=N({top:r.top-a.top-p,left:r.left-a.left-f,width:r.width,height:r.height});if(h.marginTop=0,h.marginLeft=0,!o&&i){var m=parseFloat(u.marginTop,10),g=parseFloat(u.marginLeft,10);h.top-=p-m,h.bottom-=p-m,h.left-=f-g,h.right-=f-g,h.marginTop=m,h.marginLeft=g}return(o&&!n?e.contains(c):e===c&&"BODY"!==c.nodeName)&&(h=E(h,e)),h}function L(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.ownerDocument.documentElement,o=_(t,n),i=Math.max(n.clientWidth,window.innerWidth||0),r=Math.max(n.clientHeight,window.innerHeight||0),s=e?0:g(n),a=e?0:g(n,"left"),l={top:s-o.top+o.marginTop,left:a-o.left+o.marginLeft,width:i,height:r};return N(l)}function C(t){var e=t.nodeName;if("BODY"===e||"HTML"===e)return!1;if("fixed"===s(t,"position"))return!0;var n=a(t);return!!n&&C(n)}function D(t){if(!t||!t.parentElement||d())return document.documentElement;for(var e=t.parentElement;e&&"none"===s(e,"transform");)e=e.parentElement;return e||document.documentElement}function x(t,e,n,o){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],r={top:0,left:0},s=i?D(t):m(t,c(e));if("viewport"===o)r=L(s,i);else{var u=void 0;"scrollParent"===o?"BODY"===(u=l(a(e))).nodeName&&(u=t.ownerDocument.documentElement):u="window"===o?t.ownerDocument.documentElement:o;var p=_(u,s,i);if("HTML"!==u.nodeName||C(s))r=p;else{var d=T(t.ownerDocument),f=d.height,h=d.width;r.top+=p.top-p.marginTop,r.bottom=f+p.top,r.left+=p.left-p.marginLeft,r.right=h+p.left}}var g="number"==typeof(n=n||0);return r.left+=g?n:n.left||0,r.top+=g?n:n.top||0,r.right-=g?n:n.right||0,r.bottom-=g?n:n.bottom||0,r}function R(t){return t.width*t.height}function M(t,e,n,o,i){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var s=x(n,o,r,i),a={top:{width:s.width,height:e.top-s.top},right:{width:s.right-e.right,height:s.height},bottom:{width:s.width,height:s.bottom-e.bottom},left:{width:e.left-s.left,height:s.height}},l=Object.keys(a).map((function(t){return S({key:t},a[t],{area:R(a[t])})})).sort((function(t,e){return e.area-t.area})),c=l.filter((function(t){var e=t.width,o=t.height;return e>=n.clientWidth&&o>=n.clientHeight})),u=c.length>0?c[0].key:l[0].key,p=t.split("-")[1];return u+(p?"-"+p:"")}function P(t,e,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=o?D(e):m(e,c(n));return _(n,i,o)}function k(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),o=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+o,height:t.offsetHeight+n}}function I(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,(function(t){return e[t]}))}function H(t,e,n){n=n.split("-")[0];var o=k(t),i={width:o.width,height:o.height},r=-1!==["right","left"].indexOf(n),s=r?"top":"left",a=r?"left":"top",l=r?"height":"width",c=r?"width":"height";return i[s]=e[s]+e[l]/2-o[l]/2,i[a]=n===a?e[a]-o[c]:e[I(a)],i}function F(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function Y(t,e,n){return(void 0===n?t:t.slice(0,function(t,e,n){if(Array.prototype.findIndex)return t.findIndex((function(t){return t[e]===n}));var o=F(t,(function(t){return t[e]===n}));return t.indexOf(o)}(t,"name",n))).forEach((function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=t.function||t.fn;t.enabled&&r(n)&&(e.offsets.popper=N(e.offsets.popper),e.offsets.reference=N(e.offsets.reference),e=n(e,t))})),e}function j(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=P(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=M(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=H(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=Y(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function V(t,e){return t.some((function(t){var n=t.name;return t.enabled&&n===e}))}function G(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),o=0;o<e.length;o++){var i=e[o],r=i?""+i+n:t;if(void 0!==document.body.style[r])return r}return null}function K(){return this.state.isDestroyed=!0,V(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[G("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function U(t){var e=t.ownerDocument;return e?e.defaultView:window}function W(t,e,n,o){n.updateBound=o,U(t).addEventListener("resize",n.updateBound,{passive:!0});var i=l(t);return function t(e,n,o,i){var r="BODY"===e.nodeName,s=r?e.ownerDocument.defaultView:e;s.addEventListener(n,o,{passive:!0}),r||t(l(s.parentNode),n,o,i),i.push(s)}(i,"scroll",n.updateBound,n.scrollParents),n.scrollElement=i,n.eventsEnabled=!0,n}function B(){this.state.eventsEnabled||(this.state=W(this.reference,this.options,this.state,this.scheduleUpdate))}function X(){var t,e;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(t=this.reference,e=this.state,U(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach((function(t){t.removeEventListener("scroll",e.updateBound)})),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e))}function q(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function z(t,e){Object.keys(e).forEach((function(n){var o="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&q(e[n])&&(o="px"),t.style[n]=e[n]+o}))}var J=n&&/Firefox/i.test(navigator.userAgent);function $(t,e,n){var o=F(t,(function(t){return t.name===e})),i=!!o&&t.some((function(t){return t.name===n&&t.enabled&&t.order<o.order}));if(!i){var r="`"+e+"`",s="`"+n+"`";console.warn(s+" modifier is required by "+r+" modifier in order to work, be sure to include it before "+r+"!")}return i}var Q=["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"],Z=Q.slice(3);function tt(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=Z.indexOf(t),o=Z.slice(n+1).concat(Z.slice(0,n));return e?o.reverse():o}var et="flip",nt="clockwise",ot="counterclockwise";function it(t,e,n,o){var i=[0,0],r=-1!==["right","left"].indexOf(o),s=t.split(/(\+|\-)/).map((function(t){return t.trim()})),a=s.indexOf(F(s,(function(t){return-1!==t.search(/,|\s/)})));s[a]&&-1===s[a].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==a?[s.slice(0,a).concat([s[a].split(l)[0]]),[s[a].split(l)[1]].concat(s.slice(a+1))]:[s];return(c=c.map((function(t,o){var i=(1===o?!r:r)?"height":"width",s=!1;return t.reduce((function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,s=!0,t):s?(t[t.length-1]+=e,s=!1,t):t.concat(e)}),[]).map((function(t){return function(t,e,n,o){var i=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),r=+i[1],s=i[2];if(!r)return t;if(0===s.indexOf("%")){var a=void 0;switch(s){case"%p":a=n;break;case"%":case"%r":default:a=o}return N(a)[e]/100*r}if("vh"===s||"vw"===s)return("vh"===s?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*r;return r}(t,i,e,n)}))}))).forEach((function(t,e){t.forEach((function(n,o){q(n)&&(i[e]+=n*("-"===t[o-1]?-1:1))}))})),i}var rt={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,n=e.split("-")[0],o=e.split("-")[1];if(o){var i=t.offsets,r=i.reference,s=i.popper,a=-1!==["bottom","top"].indexOf(n),l=a?"left":"top",c=a?"width":"height",u={start:A({},l,r[l]),end:A({},l,r[l]+r[c]-s[c])};t.offsets.popper=S({},s,u[o])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var n=e.offset,o=t.placement,i=t.offsets,r=i.popper,s=i.reference,a=o.split("-")[0],l=void 0;return l=q(+n)?[+n,0]:it(n,r,s,a),"left"===a?(r.top+=l[0],r.left-=l[1]):"right"===a?(r.top+=l[0],r.left+=l[1]):"top"===a?(r.left+=l[0],r.top-=l[1]):"bottom"===a&&(r.left+=l[0],r.top+=l[1]),t.popper=r,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var n=e.boundariesElement||f(t.instance.popper);t.instance.reference===n&&(n=f(n));var o=G("transform"),i=t.instance.popper.style,r=i.top,s=i.left,a=i[o];i.top="",i.left="",i[o]="";var l=x(t.instance.popper,t.instance.reference,e.padding,n,t.positionFixed);i.top=r,i.left=s,i[o]=a,e.boundaries=l;var c=e.priority,u=t.offsets.popper,p={primary:function(t){var n=u[t];return u[t]<l[t]&&!e.escapeWithReference&&(n=Math.max(u[t],l[t])),A({},t,n)},secondary:function(t){var n="right"===t?"left":"top",o=u[n];return u[t]>l[t]&&!e.escapeWithReference&&(o=Math.min(u[n],l[t]-("right"===t?u.width:u.height))),A({},n,o)}};return c.forEach((function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";u=S({},u,p[e](t))})),t.offsets.popper=u,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,n=e.popper,o=e.reference,i=t.placement.split("-")[0],r=Math.floor,s=-1!==["top","bottom"].indexOf(i),a=s?"right":"bottom",l=s?"left":"top",c=s?"width":"height";return n[a]<r(o[l])&&(t.offsets.popper[l]=r(o[l])-n[c]),n[l]>r(o[a])&&(t.offsets.popper[l]=r(o[a])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var n;if(!$(t.instance.modifiers,"arrow","keepTogether"))return t;var o=e.element;if("string"==typeof o){if(!(o=t.instance.popper.querySelector(o)))return t}else if(!t.instance.popper.contains(o))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var i=t.placement.split("-")[0],r=t.offsets,a=r.popper,l=r.reference,c=-1!==["left","right"].indexOf(i),u=c?"height":"width",p=c?"Top":"Left",d=p.toLowerCase(),f=c?"left":"top",h=c?"bottom":"right",m=k(o)[u];l[h]-m<a[d]&&(t.offsets.popper[d]-=a[d]-(l[h]-m)),l[d]+m>a[h]&&(t.offsets.popper[d]+=l[d]+m-a[h]),t.offsets.popper=N(t.offsets.popper);var g=l[d]+l[u]/2-m/2,E=s(t.instance.popper),v=parseFloat(E["margin"+p],10),b=parseFloat(E["border"+p+"Width"],10),T=g-t.offsets.popper[d]-v-b;return T=Math.max(Math.min(a[u]-m,T),0),t.arrowElement=o,t.offsets.arrow=(A(n={},d,Math.round(T)),A(n,f,""),n),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(V(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var n=x(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),o=t.placement.split("-")[0],i=I(o),r=t.placement.split("-")[1]||"",s=[];switch(e.behavior){case et:s=[o,i];break;case nt:s=tt(o);break;case ot:s=tt(o,!0);break;default:s=e.behavior}return s.forEach((function(a,l){if(o!==a||s.length===l+1)return t;o=t.placement.split("-")[0],i=I(o);var c=t.offsets.popper,u=t.offsets.reference,p=Math.floor,d="left"===o&&p(c.right)>p(u.left)||"right"===o&&p(c.left)<p(u.right)||"top"===o&&p(c.bottom)>p(u.top)||"bottom"===o&&p(c.top)<p(u.bottom),f=p(c.left)<p(n.left),h=p(c.right)>p(n.right),m=p(c.top)<p(n.top),g=p(c.bottom)>p(n.bottom),E="left"===o&&f||"right"===o&&h||"top"===o&&m||"bottom"===o&&g,v=-1!==["top","bottom"].indexOf(o),b=!!e.flipVariations&&(v&&"start"===r&&f||v&&"end"===r&&h||!v&&"start"===r&&m||!v&&"end"===r&&g),T=!!e.flipVariationsByContent&&(v&&"start"===r&&h||v&&"end"===r&&f||!v&&"start"===r&&g||!v&&"end"===r&&m),y=b||T;(d||E||y)&&(t.flipped=!0,(d||E)&&(o=s[l+1]),y&&(r=function(t){return"end"===t?"start":"start"===t?"end":t}(r)),t.placement=o+(r?"-"+r:""),t.offsets.popper=S({},t.offsets.popper,H(t.instance.popper,t.offsets.reference,t.placement)),t=Y(t.instance.modifiers,t,"flip"))})),t},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,n=e.split("-")[0],o=t.offsets,i=o.popper,r=o.reference,s=-1!==["left","right"].indexOf(n),a=-1===["top","left"].indexOf(n);return i[s?"left":"top"]=r[n]-(a?i[s?"width":"height"]:0),t.placement=I(e),t.offsets.popper=N(i),t}},hide:{order:800,enabled:!0,fn:function(t){if(!$(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=F(t.instance.modifiers,(function(t){return"preventOverflow"===t.name})).boundaries;if(e.bottom<n.top||e.left>n.right||e.top>n.bottom||e.right<n.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var n=e.x,o=e.y,i=t.offsets.popper,r=F(t.instance.modifiers,(function(t){return"applyStyle"===t.name})).gpuAcceleration;void 0!==r&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var s=void 0!==r?r:e.gpuAcceleration,a=f(t.instance.popper),l=O(a),c={position:i.position},u=function(t,e){var n=t.offsets,o=n.popper,i=n.reference,r=Math.round,s=Math.floor,a=function(t){return t},l=r(i.width),c=r(o.width),u=-1!==["left","right"].indexOf(t.placement),p=-1!==t.placement.indexOf("-"),d=e?u||p||l%2==c%2?r:s:a,f=e?r:a;return{left:d(l%2==1&&c%2==1&&!p&&e?o.left-1:o.left),top:f(o.top),bottom:f(o.bottom),right:d(o.right)}}(t,window.devicePixelRatio<2||!J),p="bottom"===n?"top":"bottom",d="right"===o?"left":"right",h=G("transform"),m=void 0,g=void 0;if(g="bottom"===p?"HTML"===a.nodeName?-a.clientHeight+u.bottom:-l.height+u.bottom:u.top,m="right"===d?"HTML"===a.nodeName?-a.clientWidth+u.right:-l.width+u.right:u.left,s&&h)c[h]="translate3d("+m+"px, "+g+"px, 0)",c[p]=0,c[d]=0,c.willChange="transform";else{var E="bottom"===p?-1:1,v="right"===d?-1:1;c[p]=g*E,c[d]=m*v,c.willChange=p+", "+d}var b={"x-placement":t.placement};return t.attributes=S({},b,t.attributes),t.styles=S({},c,t.styles),t.arrowStyles=S({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){var e,n;return z(t.instance.popper,t.styles),e=t.instance.popper,n=t.attributes,Object.keys(n).forEach((function(t){!1!==n[t]?e.setAttribute(t,n[t]):e.removeAttribute(t)})),t.arrowElement&&Object.keys(t.arrowStyles).length&&z(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,n,o,i){var r=P(i,e,t,n.positionFixed),s=M(n.placement,r,e,t,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return e.setAttribute("x-placement",s),z(e,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},st=function(){function t(e,n){var o=this,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};y(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(o.update)},this.update=i(this.update.bind(this)),this.options=S({},t.Defaults,s),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(S({},t.Defaults.modifiers,s.modifiers)).forEach((function(e){o.options.modifiers[e]=S({},t.Defaults.modifiers[e]||{},s.modifiers?s.modifiers[e]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(t){return S({name:t},o.options.modifiers[t])})).sort((function(t,e){return t.order-e.order})),this.modifiers.forEach((function(t){t.enabled&&r(t.onLoad)&&t.onLoad(o.reference,o.popper,o.options,t,o.state)})),this.update();var a=this.options.eventsEnabled;a&&this.enableEventListeners(),this.state.eventsEnabled=a}return w(t,[{key:"update",value:function(){return j.call(this)}},{key:"destroy",value:function(){return K.call(this)}},{key:"enableEventListeners",value:function(){return B.call(this)}},{key:"disableEventListeners",value:function(){return X.call(this)}}]),t}();st.Utils=("undefined"!=typeof window?window:t).PopperUtils,st.placements=Q,st.Defaults=rt,e.a=st}).call(this,n(1))},function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";n.r(e);const o=(()=>{const t={};let e=1;return{set(n,o,i){void 0===n.key&&(n.key={key:o,id:e},e++),t[n.key.id]=i},get(e,n){if(!e||void 0===e.key)return null;const o=e.key;return o.key===n?t[o.id]:null},delete(e,n){if(void 0===e.key)return;const o=e.key;o.key===n&&(delete t[o.id],delete e.key)}}})();var i,r,s,a,l={setData(t,e,n){o.set(t,e,n)},getData:(t,e)=>o.get(t,e),removeData(t,e){o.delete(t,e)}};class c{constructor(t,e,n={}){!e||e instanceof Element||console.error(Error("".concat(e," is not an HTML Element"))),this.options=n,this.element=e}static init(t,e={},n){const o=[],i=document.querySelectorAll(n);for(let n=0;n<i.length;n++){const r=i[n];if(!r.key||r.key!==t.DATA_KEY){const s=new t(i[n],e);r.key||l.setData(i[n],t.DATA_KEY,s),o.push(s)}}return o}}!function(t){t.KEY_PREFIX="nj",t.DATA_API_KEY=".data-api"}(i||(i={})),function(t){t.mouseenter="mouseover",t.mouseleave="mouseout"}(r||(r={})),function(t){t.click="click",t.close="close",t.closed="closed",t.hide="hide",t.hidden="hidden",t.input="input",t.keydown="keydown",t.keyup="keyup",t.onchange="onchange",t.show="show",t.shown="shown",t.inserted="inserted",t.focusin="focusin",t.focusout="focusout",t.mouseenter="mouseenter",t.mouseleave="mouseleave",t.mouseup="mouseup",t.mousedown="mousedown"}(s||(s={})),function(t){t.click="click",t.dblclick="dblclick",t.mouseup="mouseup",t.mousedown="mousedown",t.contextmenu="contextmenu",t.mousewheel="mousewheel",t.DOMMouseScroll="DOMMouseScroll",t.mouseover="mouseover",t.mouseout="mouseout",t.mousemove="mousemove",t.selectstart="selectstart",t.selectend="selectend",t.keydown="keydown",t.keypress="keypress",t.keyup="keyup",t.orientationchange="orientationchange",t.touchstart="touchstart",t.touchmove="touchmove",t.touchend="touchend",t.touchcancel="touchcancel",t.pointerdown="pointerdown",t.pointermove="pointermove",t.pointerup="pointerup",t.pointerleave="pointerleave",t.pointercancel="pointercancel",t.gesturestart="gesturestart",t.gesturechange="gesturechange",t.gestureend="gestureend",t.focus="focus",t.blur="blur",t.change="change",t.reset="reset",t.select="select",t.submit="submit",t.focusin="focusin",t.focusout="focusout",t.load="load",t.unload="unload",t.beforeunload="beforeunload",t.resize="resize",t.move="move",t.DOMContentLoaded="DOMContentLoaded",t.readystatechange="readystatechange",t.error="error",t.abort="abort",t.scroll="scroll"}(a||(a={}));class u{static getUidEvent(t,e){return e&&"".concat(e,"::").concat(u.uidEvent++)||t.uidEvent||u.uidEvent++}static getEvent(t){const e=u.getUidEvent(t);return t.uidEvent=e,u.EVENTREGISTRY[e]=u.EVENTREGISTRY[e]||{}}static fixEvent(t,e){null===t.which&&u.KEYEVENT_REGEX.test(t.type)&&(t.which=null!==t.charCode?t.charCode:t.keyCode),t.delegateTarget=e}static njHandler(t,e){const n=o=>(u.fixEvent(o,t),n.oneOff&&u.off(t,o.type,e),e.apply(t,[o]));return n}static njDelegationHandler(t,e,n){const o=i=>{const r=t.querySelectorAll(e);for(let e=i.target;e&&e!==this;e=e.parentNode)for(let s=r.length;s>=0;s--)if(r[s]===e)return u.fixEvent(i,e),o.oneOff&&u.off(t,i.type,n),n.apply(e,[i]);return null};return o}static findHandler(t,e,n=null){for(const o in t){if(!Object.prototype.hasOwnProperty.call(t,o))continue;const i=t[o];if(i.originalHandler===e&&i.delegationSelector===n)return t[o]}return null}static normalizeParams(t,e,n){const o="string"==typeof e,i=o?n:e;let s=t.replace(u.STRIPNAME_REGEX,"");const l=r[s];l&&(s=l);return"string"==typeof a[s]||(s=t),[o,i,s]}static addHandler(t,e,n,o,i){if("string"!=typeof e||null==t)return;n||(n=o,o=null);const r=u.getEvent(t);for(const s of e.split(" ")){const[e,a,l]=u.normalizeParams(s,n,o),c=r[l]||(r[l]={}),p=u.findHandler(c,a,e?n:null);if(p)return void(p.oneOff=p.oneOff&&i);const d=u.getUidEvent(a,s.replace(u.NAMESPACE_REGEX,"")),f=e?u.njDelegationHandler(t,n,o):u.njHandler(t,n);f.delegationSelector=e?n:null,f.originalHandler=a,f.oneOff=i,f.uidEvent=d,c[d]=f,t.addEventListener(l,f,e)}}static removeHandler(t,e,n,o,i){const r=u.findHandler(e[n],o,i);null!==r&&(t.removeEventListener(n,r,Boolean(i)),delete e[n][r.uidEvent])}static removeNamespacedHandlers(t,e,n,o){const i=e[n]||{};for(const r in i)if(Object.prototype.hasOwnProperty.call(i,r)&&r.indexOf(o)>-1){const o=i[r];u.removeHandler(t,e,n,o.originalHandler,o.delegationSelector)}}static on(t,e,n,o){u.addHandler(t,e,n,o,!1)}static one(t,e,n,o){u.addHandler(t,e,n,o,!0)}static off(t,e,n,o){if("string"!=typeof e||null==t)return;const[i,r,s]=u.normalizeParams(e,n,o),a=s!==e,l=u.getEvent(t);if(void 0!==r){if(!l||!l[s])return;return void u.removeHandler(t,l,s,r,i?n:null)}if("."===e.charAt(0))for(const n in l)Object.prototype.hasOwnProperty.call(l,n)&&u.removeNamespacedHandlers(t,l,n,e.substr(1));const c=l[s]||{};for(const n in c){if(!Object.prototype.hasOwnProperty.call(c,n))continue;const o=n.replace(u.STRIPUID_REGEX,"");if(!a||e.indexOf(o)>-1){const e=c[n];u.removeHandler(t,l,s,e.originalHandler,e.delegationSelector)}}}static trigger(t,e,n){if("string"!=typeof e||null==t)return null;const o=e.replace(u.STRIPNAME_REGEX,""),i="string"==typeof a[o];let r=null;return i?(r=document.createEvent("HTMLEvents"),r.initEvent(o,true,!0)):r=new window.CustomEvent(e,{bubbles:true,cancelable:!0}),void 0!==n&&Object.keys(n).forEach(t=>{Object.defineProperty(r,t,{get:()=>n[t]})}),t.dispatchEvent(r),r}}u.NAMESPACE_REGEX=/[^.]*(?=\..*)\.|.*/,u.STRIPNAME_REGEX=/\..*/,u.KEYEVENT_REGEX=/^key/,u.STRIPUID_REGEX=/::\d+$/,u.EVENTREGISTRY={},u.uidEvent=1;const p={getDataAttributes(t){if(null==t)return{};let e={};if(Object.getOwnPropertyDescriptor(HTMLElement.prototype,"dataset"))e=Object.assign({},t.dataset);else for(let n=0;n<t.attributes.length;n++){const o=t.attributes[n];if(-1!==o.nodeName.indexOf("data-")){const t=o.nodeName.substring("data-".length).replace(/-./g,t=>t.charAt(1).toUpperCase());e[t]=o.nodeValue}}return Object.keys(e).forEach(t=>{var n;e[t]="true"===(n=e[t])||"false"!==n&&("null"===n?null:n===Number(n).toString()?Number(n):""===n?null:n)}),e},toggleClass(t,e){null!=t&&(t.classList.contains(e)?t.classList.remove(e):t.classList.add(e))},mergeExtended(t,e,n){for(const o in e)Object.prototype.hasOwnProperty.call(e,o)&&(n&&"[object Object]"===Object.prototype.toString.call(e[o])?t[o]=p.extend(t[o],e[o]):t[o]=e[o]);return t},extend(...t){let e={},n=!1,o=0;for("[object Boolean]"===Object.prototype.toString.call(t[0])&&(n=t[0],o++);o<t.length;o++)e=p.mergeExtended(e,t[o],n);return e},createHtmlNode:t=>(new DOMParser).parseFromString(t,"text/html").body.firstChild};var d=p,f=n(0);const h={TRANSITION_END:"transitionend",getUID(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},getSelectorFromElement(t){let e=t.getAttribute("data-target");if(!e||"#"===e){const n=t.getAttribute("href");e=n&&"#"!==n?n.trim():""}try{return document.querySelector(e)?e:null}catch(t){return null}},getTransitionDurationFromElement(t){if(!t)return 0;let e=window.getComputedStyle(t).transitionDuration,n=window.getComputedStyle(t).transitionDelay;const o=parseFloat(e),i=parseFloat(n);return o||i?(e=e.split(",")[0],n=n.split(",")[0],1e3*(parseFloat(e)+parseFloat(n))):0},reflow:t=>t.offsetHeight,triggerTransitionEnd(t){const e=new CustomEvent(h.TRANSITION_END,{});t.dispatchEvent(e)},isElement:t=>(t[0]||t).nodeType,emulateTransitionEnd(t,e){let n=!1;const o=e+5;t.addEventListener(h.TRANSITION_END,(function e(){n=!0,t.removeEventListener(h.TRANSITION_END,e)})),setTimeout(()=>{n||h.triggerTransitionEnd(t)},o)},typeCheckConfig(t,e,n){for(const i in n)if(Object.prototype.hasOwnProperty.call(n,i)){const r=n[i],s=e[i],a=s&&h.isElement(s)?"element":(o=s,{}.toString.call(o).match(/\s([a-z]+)/i)[1].toLowerCase());if(!new RegExp(r).test(a))throw new Error("".concat(t.toUpperCase(),": ")+'Option "'.concat(i,'" provided type "').concat(a,'" ')+'but expected type "'.concat(r,'".'))}var o},makeArray:t=>null==t?[]:[].slice.call(t),findShadowRoot(t){if(!document.documentElement.attachShadow)return null;if("function"==typeof t.getRootNode){const e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?h.findShadowRoot(t.parentElement):null},throttle(t,e,n,o,i){let r,s,a,l=null,c=0;const u=()=>{c=Date.now(),l=null,a=t.apply(s,r)};return()=>{const p=Date.now();c||n||(c=p);const d=e-(p-c);return s=i||this,r=arguments,d<=0?(clearTimeout(l),l=null,c=p,a=t.apply(s,r)):!l&&o&&(l=setTimeout(u,d)),a}}};var m=h;class g extends HTMLElement{constructor(...t){super(),this.components=t,this.instances=[],this.parentNodes=[]}connectedCallback(){this.setup()}disconnectedCallback(){this.instances.forEach(t=>{t.dispose()}),this.instances=null}setup(){let t=this;for(;t.parentNode;)t=t.parentNode,this.parentNodes.push(t);[this,...this.parentNodes].some(t=>t.nextSibling)||"loading"!==document.readyState?this.childrenAvailableCallback():(this.mutationObserver=new MutationObserver(()=>{([this,...this.parentNodes].some(t=>t.nextSibling)||"loading"!==document.readyState)&&(this.childrenAvailableCallback(),this.mutationObserver.disconnect())}),this.mutationObserver.observe(this,{childList:!0}))}childrenAvailableCallback(){this.components.forEach(t=>{const e=this.querySelector(t.SELECTOR.default);if(!e)throw new Error("Default selector of ".concat(t.name," not found: ").concat(t.SELECTOR.default));this.instances.push(new t(e))})}static init(t){if(!t.TAG_NAME)throw new Error("TAG_NAME property of ".concat(t.name," class doesn't exists"));customElements.define(t.TAG_NAME,t)}}class E extends c{constructor(t,e={}){super(E,t,E.getOptions(t,e)),this.isEnabled=!0,this.timeout=0,this.hoverState="",this.activeTrigger={},this.popper=null,this.tip=null,this.setListeners(),l.setData(t,E.DATA_KEY,this)}enable(){this.isEnabled=!0}disable(){this.isEnabled=!1}toggleEnabled(){this.isEnabled=!this.isEnabled}toggle(t){if(this.isEnabled)if(t){const e=E.DATA_KEY;let n=E.getInstance(t.delegateTarget);n||(n=new E(t.delegateTarget,this.getDelegateConfig()),l.setData(t.delegateTarget,e,n)),n.activeTrigger.click=!n.activeTrigger.click,n.isWithActiveTrigger()?n.enter(null,n):n.leave(null,n)}else{if(this.getTipElement().classList.contains(E.CLASS_NAME.show))return void this.leave(null,this);this.enter(null,this)}}dispose(){clearTimeout(this.timeout),l.removeData(this.element,E.DATA_KEY),u.off(this.element,E.EVENT_KEY),u.off(this.element.closest(".modal"),"hide.".concat(i.KEY_PREFIX,".modal")),this.tip&&this.tip.parentNode&&this.tip.parentNode.removeChild(this.tip),this.isEnabled=null,this.timeout=null,this.hoverState=null,this.activeTrigger=null,null!==this.popper&&this.popper.destroy(),this.popper=null,this.element=null,this.options=null,this.tip=null}show(){if("none"===this.element.style.display)throw new Error("Please use show on visible elements");if(this.isWithContent()&&this.isEnabled){const t=u.trigger(this.element,E.EVENT.show),e=m.findShadowRoot(this.element),n=null!==e?e.contains(this.element):this.element.ownerDocument.documentElement.contains(this.element);if(t.defaultPrevented||!n)return;const o=this.getTipElement(),i=m.getUID(E.NAME);o.setAttribute("id",i),this.element.setAttribute("aria-describedby",i),this.setContent(),this.options.animation&&o.classList.add(E.CLASS_NAME.fade);const r="function"==typeof this.options.placement?this.options.placement.call(this,o,this.element):this.options.placement,s=E.getAttachment(r);this.addAttachmentClass(s),this.options.arrow||this.getTipElement().classList.add(E.CLASS_NAME.withoutArrow);const a=this.getContainer();l.setData(o,E.DATA_KEY,this),this.element.ownerDocument.documentElement.contains(this.tip)||a.appendChild(o),u.trigger(this.element,E.EVENT.inserted),this.popper=new f.a(this.element,o,{placement:s,modifiers:{offset:{offset:this.options.offset},flip:{behavior:this.options.fallbackPlacement},arrow:{element:E.SELECTOR.arrow},preventOverflow:{boundariesElement:this.options.boundary}},onCreate:t=>{t.originalPlacement!==t.placement&&this.handlePopperPlacementChange(t)},onUpdate:t=>this.handlePopperPlacementChange(t)}),o.classList.add(E.CLASS_NAME.show),"ontouchstart"in document.documentElement&&m.makeArray(document.body.children).forEach(t=>{u.on(t,"mouseover")});const c=()=>{this.options.animation&&this.fixTransition();const t=this.hoverState;this.hoverState=null,u.trigger(this.element,E.EVENT.shown),t===E.HOVER_STATE.out&&this.leave(null,this)};if(this.tip.classList.contains(E.CLASS_NAME.fade)){const t=m.getTransitionDurationFromElement(this.tip);u.one(this.tip,m.TRANSITION_END,c),m.emulateTransitionEnd(this.tip,t)}else c()}}hide(t){const e=this.getTipElement(),n=()=>{this.element&&(this.hoverState!==E.HOVER_STATE.show&&e.parentNode&&e.parentNode.removeChild(e),this.cleanTipClass(),this.element.removeAttribute("aria-describedby"),u.trigger(this.element,E.EVENT.hidden),null!==this.popper&&this.popper.destroy(),t&&t())};if(!u.trigger(this.element,E.EVENT.hide).defaultPrevented){if(e.classList.remove(E.CLASS_NAME.show),"ontouchstart"in document.documentElement&&m.makeArray(document.body.children).forEach(t=>u.off(t,"mouseover")),this.activeTrigger[E.TRIGGER.click]=!1,this.activeTrigger[E.TRIGGER.focus]=!1,this.activeTrigger[E.TRIGGER.hover]=!1,this.tip.classList.contains(E.CLASS_NAME.fade)){const t=m.getTransitionDurationFromElement(e);u.one(e,m.TRANSITION_END,n),m.emulateTransitionEnd(e,t)}else n();this.hoverState=""}}update(){null!==this.popper&&this.popper.scheduleUpdate()}isWithContent(){return Boolean(this.getTitle())}addAttachmentClass(t){this.getTipElement().classList.add("".concat(E.CLASS_NAME.default,"--").concat(t))}getTipElement(){if(this.tip)return this.tip;const t=document.createElement("div");return t.innerHTML=this.options.template,this.tip=t.children[0],this.tip}setContent(){const t=this.getTipElement();this.setElementContent(t.querySelector(E.SELECTOR.inner),this.getTitle()),t.classList.remove(E.CLASS_NAME.fade),t.classList.remove(E.CLASS_NAME.show)}setElementContent(t,e){if(null===t)return;const n=this.options.html;"object"==typeof e&&e.nodeType?n?e.parentNode!==t&&(t.innerHTML="",t.appendChild(e)):t.innerText=e.textContent:t[n?"innerHTML":"innerText"]=e}getTitle(){let t=this.element.getAttribute("data-original-title");return t||(t="function"==typeof this.options.title?this.options.title.call(this.element):this.options.title),t}getContainer(){return!1===this.options.container?document.body:m.isElement(this.options.container)?this.options.container:document.querySelector(this.options.container)}setListeners(){this.options.trigger.split(" ").forEach(t=>{if("click"===t)u.on(this.element,E.EVENT.click,this.options.selector,t=>this.toggle(t));else if(t!==E.TRIGGER.manual){const e=t===E.TRIGGER.hover?E.EVENT.mouseenter:E.EVENT.focusin,n=t===E.TRIGGER.hover?E.EVENT.mouseleave:E.EVENT.focusout;u.on(this.element,e,this.options.selector,t=>this.enter(t)),u.on(this.element,n,this.options.selector,t=>this.leave(t))}}),u.on(this.element.closest(".modal"),"hide.".concat(i.KEY_PREFIX,".modal"),()=>{this.element&&this.hide()}),this.options.selector?this.options=Object.assign(Object.assign({},this.options),{trigger:"manual",selector:""}):this.fixTitle()}fixTitle(){const t=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==t)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))}enter(t,e){const n=E.DATA_KEY;if((e=e||l.getData(t.delegateTarget,n))||(e=new E(t.delegateTarget,this.getDelegateConfig()),l.setData(t.delegateTarget,n,e)),t){const n="focusin"===t.type?E.TRIGGER.focus:E.TRIGGER.hover;e.activeTrigger[n]=!0}e.getTipElement().classList.contains(E.CLASS_NAME.show)||e.hoverState===E.HOVER_STATE.show?e.hoverState=E.HOVER_STATE.show:(clearTimeout(e.timeout),e.hoverState=E.HOVER_STATE.show,e.options.delay&&e.options.delay.show?e.timeout=setTimeout(()=>{e._hoverState===E.HOVER_STATE.show&&e.show()},e.options.delay.show):e.show())}leave(t,e){const n=E.DATA_KEY;if((e=e||l.getData(t.delegateTarget,n))||(e=new E(t.delegateTarget,this.getDelegateConfig()),l.setData(t.delegateTarget,n,e)),t){const n="focusout"===t.type?E.TRIGGER.focus:E.TRIGGER.hover;e.activeTrigger[n]=!1}e.isWithActiveTrigger()||(clearTimeout(e.timeout),e.hoverState=E.HOVER_STATE.out,e.options.delay&&e.options.delay.hide?e.timeout=setTimeout(()=>{e.hoverState===E.HOVER_STATE.out&&e.hide()},e.options.delay.hide):e.hide())}isWithActiveTrigger(){for(const t in this.activeTrigger)if(this.activeTrigger[t])return!0;return!1}static getOptions(t,e){return"number"==typeof(e=Object.assign(Object.assign(Object.assign({},E.DEFAULT_OPTIONS),d.getDataAttributes(t)),"object"==typeof e&&e?e:{})).delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),m.typeCheckConfig(E.NAME,e,E.DEFAULT_TYPE),e}getDelegateConfig(){const t={};if(this.options)for(const e in this.options)E.DEFAULT_OPTIONS[e]!==this.options[e]&&(t[e]=this.options[e]);return t}cleanTipClass(){const t=this.getTipElement(),e=t.getAttribute("class").match(E.NJCLS_PREFIX_REGEX);null!==e&&e.length&&e.map(t=>t.trim()).forEach(e=>t.classList.remove(e))}handlePopperPlacementChange(t){const e=t.instance;this.tip=e.popper,this.cleanTipClass(),this.addAttachmentClass(E.getAttachment(t.placement))}fixTransition(){const t=this.getTipElement(),e=this.options.animation;null===t.getAttribute("x-placement")&&(t.classList.remove(E.CLASS_NAME.fade),this.options.animation=!1,this.hide(),this.show(),this.options.animation=e)}static getAttachment(t){return E.ATTACHMENT_MAP[t.toUpperCase()]}static getInstance(t){return l.getData(t,E.DATA_KEY)}static init(){return[]}}E.NAME="".concat(i.KEY_PREFIX,"-tooltip"),E.DATA_KEY="".concat(i.KEY_PREFIX,".tooltip"),E.EVENT_KEY=".".concat(E.DATA_KEY),E.CLASS_NAME={default:"".concat(i.KEY_PREFIX,"-tooltip"),inner:"".concat(i.KEY_PREFIX,"-tooltip__inner"),arrow:"".concat(i.KEY_PREFIX,"-tooltip__arrow"),withoutArrow:"".concat(i.KEY_PREFIX,"-tooltip--without-arrow"),fade:"fade",show:"show"},E.NJCLS_PREFIX_REGEX=new RegExp("(^|\\s)".concat(E.CLASS_NAME.default,"\\S+"),"g"),E.DEFAULT_TYPE={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)",arrow:"boolean"},E.ATTACHMENT_MAP={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},E.DEFAULT_OPTIONS={animation:!0,template:'<div class="'.concat(E.CLASS_NAME.default,'" role="tooltip">')+'<div class="'.concat(E.CLASS_NAME.arrow,'"></div>')+'<div class="'.concat(E.CLASS_NAME.inner,'"></div></div>'),trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",arrow:!0},E.HOVER_STATE={show:"show",out:"out"},E.EVENT={hide:"".concat(s.hide).concat(E.EVENT_KEY),hidden:"".concat(s.hidden).concat(E.EVENT_KEY),show:"".concat(s.show).concat(E.EVENT_KEY),shown:"".concat(s.shown).concat(E.EVENT_KEY),inserted:"".concat(s.inserted).concat(E.EVENT_KEY),click:"".concat(s.click).concat(E.EVENT_KEY),focusin:"".concat(s.focusin).concat(E.EVENT_KEY),focusout:"".concat(s.focusout).concat(E.EVENT_KEY),mouseenter:"".concat(s.mouseenter).concat(E.EVENT_KEY),mouseleave:"".concat(s.mouseleave).concat(E.EVENT_KEY)},E.SELECTOR={default:'[data-toggle="tooltip"]',inner:".".concat(E.CLASS_NAME.inner),arrow:".".concat(E.CLASS_NAME.arrow)},E.TRIGGER={hover:"hover",focus:"focus",click:"click",manual:"manual"};class v extends g{constructor(){super(E)}static init(){g.init(v)}}v.TAG_NAME=E.NAME,n.d(e,"default",(function(){return b})),n.d(e,"SliderWC",(function(){return T}));class b extends c{constructor(t,e={}){super(b,t,b.getOptions(t,e)),this.dataId=Number(String(Math.random()).slice(2))+Date.now(),this.input=this.element.querySelector(b.SELECTOR.input),this.element.setAttribute("data-id",this.dataId.toString()),this.refreshProgressValue(),this.setListeners(),this.options.tooltip&&(this.addTooltip(),this.setTooltipListeners()),l.setData(t,b.DATA_KEY,this)}addTooltip(){this.tooltip=d.createHtmlNode(E.DEFAULT_OPTIONS.template),this.tooltip.classList.add("".concat(i.KEY_PREFIX,"-tooltip--top")),this.tooltip.classList.add("show"),this.element.insertBefore(this.tooltip,this.element.querySelector(b.SELECTOR.label)),this.refreshTooltipValue()}setListeners(){u.on(this.element,"input change keyup",()=>{this.refreshProgressValue()})}setTooltipListeners(){u.on(this.element,"input change keyup",()=>{this.refreshTooltipValue()});let t=!1;u.on(document,"resize",()=>{t||(this.refreshTooltipValue(),t=!0,setTimeout(()=>{t=!1},100))})}refreshProgressValue(){const t=document.querySelector("[data-id='".concat(this.dataId,"']"));if(t){const e=parseFloat(this.input.max)||b.PERCENT_CONV,n=parseFloat(this.input.min)||0,o=parseFloat(this.input.value),i=Math.floor(b.PERCENT_CONV*(o-n)/(e-n));t.style.setProperty("--slider-track-position","".concat(i,"% 100%"))}}refreshTooltipValue(){this.tooltip.querySelector(E.SELECTOR.inner).innerHTML=this.input.value,this.replaceTooltip()}replaceTooltip(){const t=""===this.input.min?0:parseFloat(this.input.min),e=""===this.input.max?100:parseFloat(this.input.max),n=(parseFloat(this.input.value)-t)/(e-t);this.tooltip.style.left="".concat(n*(this.input.offsetWidth-b.THUMB_WIDTH)-this.tooltip.offsetWidth/2+b.THUMB_WIDTH/2,"px")}static getOptions(t,e={}){return e=Object.assign(Object.assign(Object.assign({},b.DEFAULT_OPTIONS),d.getDataAttributes(t)),"object"==typeof e&&e?e:{}),m.typeCheckConfig(b.NAME,e,b.DEFAULT_TYPE),e}dispose(){u.off(this.element,"input change keyup"),u.off(this.element,"input change keyup"),u.off(document,"resize"),l.removeData(this.element,b.DATA_KEY),this.element=null}static getInstance(t){return l.getData(t,b.DATA_KEY)}static init(t={}){return super.init(this,t,b.SELECTOR.default)}}b.NAME="".concat(i.KEY_PREFIX,"-slider"),b.DATA_KEY="".concat(i.KEY_PREFIX,".slider"),b.CLASS_NAME="".concat(i.KEY_PREFIX,"-slider"),b.SELECTOR={default:".".concat(b.CLASS_NAME),input:"input",label:"label"},b.THUMB_WIDTH=16,b.DEFAULT_TYPE={tooltip:"boolean"},b.DEFAULT_OPTIONS={tooltip:!1},b.PERCENT_CONV=100,b.PSEUDO_ELEMS=["webkit-slider-runnable","moz-range","ms"];class T extends g{constructor(){super(b)}static init(){g.init(T)}}T.TAG_NAME=b.NAME}]).default}));
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("Slider",[],e):"object"==typeof exports?exports.Slider=e():t.Slider=e()}(window,(function(){return function(t){var e={};function n(o){if(e[o])return e[o].exports;var i=e[o]={i:o,l:!1,exports:{}};return t[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(o,i,function(e){return t[e]}.bind(null,i));return o},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=2)}([function(t,e,n){"use strict";(function(t){var n="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,o=function(){for(var t=["Edge","Trident","Firefox"],e=0;e<t.length;e+=1)if(n&&navigator.userAgent.indexOf(t[e])>=0)return 1;return 0}();var i=n&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then((function(){e=!1,t()})))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout((function(){e=!1,t()}),o))}};function r(t){return t&&"[object Function]"==={}.toString.call(t)}function s(t,e){if(1!==t.nodeType)return[];var n=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?n[e]:n}function a(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function l(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=s(t),n=e.overflow,o=e.overflowX,i=e.overflowY;return/(auto|scroll|overlay)/.test(n+i+o)?t:l(a(t))}function c(t){return t&&t.referenceNode?t.referenceNode:t}var u=n&&!(!window.MSInputMethodContext||!document.documentMode),p=n&&/MSIE 10/.test(navigator.userAgent);function d(t){return 11===t?u:10===t?p:u||p}function f(t){if(!t)return document.documentElement;for(var e=d(10)?document.body:null,n=t.offsetParent||null;n===e&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;var o=n&&n.nodeName;return o&&"BODY"!==o&&"HTML"!==o?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===s(n,"position")?f(n):n:t?t.ownerDocument.documentElement:document.documentElement}function h(t){return null!==t.parentNode?h(t.parentNode):t}function m(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,o=n?t:e,i=n?e:t,r=document.createRange();r.setStart(o,0),r.setEnd(i,0);var s,a,l=r.commonAncestorContainer;if(t!==l&&e!==l||o.contains(i))return"BODY"===(a=(s=l).nodeName)||"HTML"!==a&&f(s.firstElementChild)!==s?f(l):l;var c=h(t);return c.host?m(c.host,e):m(t,h(e).host)}function g(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===e?"scrollTop":"scrollLeft",o=t.nodeName;if("BODY"===o||"HTML"===o){var i=t.ownerDocument.documentElement,r=t.ownerDocument.scrollingElement||i;return r[n]}return t[n]}function E(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=g(e,"top"),i=g(e,"left"),r=n?-1:1;return t.top+=o*r,t.bottom+=o*r,t.left+=i*r,t.right+=i*r,t}function v(t,e){var n="x"===e?"Left":"Top",o="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"],10)+parseFloat(t["border"+o+"Width"],10)}function b(t,e,n,o){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],d(10)?parseInt(n["offset"+t])+parseInt(o["margin"+("Height"===t?"Top":"Left")])+parseInt(o["margin"+("Height"===t?"Bottom":"Right")]):0)}function T(t){var e=t.body,n=t.documentElement,o=d(10)&&getComputedStyle(n);return{height:b("Height",e,n,o),width:b("Width",e,n,o)}}var w=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},y=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),A=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},S=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t};function N(t){return S({},t,{right:t.left+t.width,bottom:t.top+t.height})}function O(t){var e={};try{if(d(10)){e=t.getBoundingClientRect();var n=g(t,"top"),o=g(t,"left");e.top+=n,e.left+=o,e.bottom+=n,e.right+=o}else e=t.getBoundingClientRect()}catch(t){}var i={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},r="HTML"===t.nodeName?T(t.ownerDocument):{},a=r.width||t.clientWidth||i.width,l=r.height||t.clientHeight||i.height,c=t.offsetWidth-a,u=t.offsetHeight-l;if(c||u){var p=s(t);c-=v(p,"x"),u-=v(p,"y"),i.width-=c,i.height-=u}return N(i)}function _(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=d(10),i="HTML"===e.nodeName,r=O(t),a=O(e),c=l(t),u=s(e),p=parseFloat(u.borderTopWidth,10),f=parseFloat(u.borderLeftWidth,10);n&&i&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var h=N({top:r.top-a.top-p,left:r.left-a.left-f,width:r.width,height:r.height});if(h.marginTop=0,h.marginLeft=0,!o&&i){var m=parseFloat(u.marginTop,10),g=parseFloat(u.marginLeft,10);h.top-=p-m,h.bottom-=p-m,h.left-=f-g,h.right-=f-g,h.marginTop=m,h.marginLeft=g}return(o&&!n?e.contains(c):e===c&&"BODY"!==c.nodeName)&&(h=E(h,e)),h}function L(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.ownerDocument.documentElement,o=_(t,n),i=Math.max(n.clientWidth,window.innerWidth||0),r=Math.max(n.clientHeight,window.innerHeight||0),s=e?0:g(n),a=e?0:g(n,"left"),l={top:s-o.top+o.marginTop,left:a-o.left+o.marginLeft,width:i,height:r};return N(l)}function C(t){var e=t.nodeName;if("BODY"===e||"HTML"===e)return!1;if("fixed"===s(t,"position"))return!0;var n=a(t);return!!n&&C(n)}function D(t){if(!t||!t.parentElement||d())return document.documentElement;for(var e=t.parentElement;e&&"none"===s(e,"transform");)e=e.parentElement;return e||document.documentElement}function x(t,e,n,o){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],r={top:0,left:0},s=i?D(t):m(t,c(e));if("viewport"===o)r=L(s,i);else{var u=void 0;"scrollParent"===o?"BODY"===(u=l(a(e))).nodeName&&(u=t.ownerDocument.documentElement):u="window"===o?t.ownerDocument.documentElement:o;var p=_(u,s,i);if("HTML"!==u.nodeName||C(s))r=p;else{var d=T(t.ownerDocument),f=d.height,h=d.width;r.top+=p.top-p.marginTop,r.bottom=f+p.top,r.left+=p.left-p.marginLeft,r.right=h+p.left}}var g="number"==typeof(n=n||0);return r.left+=g?n:n.left||0,r.top+=g?n:n.top||0,r.right-=g?n:n.right||0,r.bottom-=g?n:n.bottom||0,r}function R(t){return t.width*t.height}function M(t,e,n,o,i){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var s=x(n,o,r,i),a={top:{width:s.width,height:e.top-s.top},right:{width:s.right-e.right,height:s.height},bottom:{width:s.width,height:s.bottom-e.bottom},left:{width:e.left-s.left,height:s.height}},l=Object.keys(a).map((function(t){return S({key:t},a[t],{area:R(a[t])})})).sort((function(t,e){return e.area-t.area})),c=l.filter((function(t){var e=t.width,o=t.height;return e>=n.clientWidth&&o>=n.clientHeight})),u=c.length>0?c[0].key:l[0].key,p=t.split("-")[1];return u+(p?"-"+p:"")}function P(t,e,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=o?D(e):m(e,c(n));return _(n,i,o)}function k(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),o=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+o,height:t.offsetHeight+n}}function I(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,(function(t){return e[t]}))}function H(t,e,n){n=n.split("-")[0];var o=k(t),i={width:o.width,height:o.height},r=-1!==["right","left"].indexOf(n),s=r?"top":"left",a=r?"left":"top",l=r?"height":"width",c=r?"width":"height";return i[s]=e[s]+e[l]/2-o[l]/2,i[a]=n===a?e[a]-o[c]:e[I(a)],i}function F(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function Y(t,e,n){return(void 0===n?t:t.slice(0,function(t,e,n){if(Array.prototype.findIndex)return t.findIndex((function(t){return t[e]===n}));var o=F(t,(function(t){return t[e]===n}));return t.indexOf(o)}(t,"name",n))).forEach((function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=t.function||t.fn;t.enabled&&r(n)&&(e.offsets.popper=N(e.offsets.popper),e.offsets.reference=N(e.offsets.reference),e=n(e,t))})),e}function j(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=P(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=M(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=H(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=Y(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function V(t,e){return t.some((function(t){var n=t.name;return t.enabled&&n===e}))}function G(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),o=0;o<e.length;o++){var i=e[o],r=i?""+i+n:t;if(void 0!==document.body.style[r])return r}return null}function K(){return this.state.isDestroyed=!0,V(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[G("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function U(t){var e=t.ownerDocument;return e?e.defaultView:window}function W(t,e,n,o){n.updateBound=o,U(t).addEventListener("resize",n.updateBound,{passive:!0});var i=l(t);return function t(e,n,o,i){var r="BODY"===e.nodeName,s=r?e.ownerDocument.defaultView:e;s.addEventListener(n,o,{passive:!0}),r||t(l(s.parentNode),n,o,i),i.push(s)}(i,"scroll",n.updateBound,n.scrollParents),n.scrollElement=i,n.eventsEnabled=!0,n}function B(){this.state.eventsEnabled||(this.state=W(this.reference,this.options,this.state,this.scheduleUpdate))}function X(){var t,e;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(t=this.reference,e=this.state,U(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach((function(t){t.removeEventListener("scroll",e.updateBound)})),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e))}function q(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function z(t,e){Object.keys(e).forEach((function(n){var o="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&q(e[n])&&(o="px"),t.style[n]=e[n]+o}))}var J=n&&/Firefox/i.test(navigator.userAgent);function $(t,e,n){var o=F(t,(function(t){return t.name===e})),i=!!o&&t.some((function(t){return t.name===n&&t.enabled&&t.order<o.order}));if(!i){var r="`"+e+"`",s="`"+n+"`";console.warn(s+" modifier is required by "+r+" modifier in order to work, be sure to include it before "+r+"!")}return i}var Q=["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"],Z=Q.slice(3);function tt(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=Z.indexOf(t),o=Z.slice(n+1).concat(Z.slice(0,n));return e?o.reverse():o}var et="flip",nt="clockwise",ot="counterclockwise";function it(t,e,n,o){var i=[0,0],r=-1!==["right","left"].indexOf(o),s=t.split(/(\+|\-)/).map((function(t){return t.trim()})),a=s.indexOf(F(s,(function(t){return-1!==t.search(/,|\s/)})));s[a]&&-1===s[a].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==a?[s.slice(0,a).concat([s[a].split(l)[0]]),[s[a].split(l)[1]].concat(s.slice(a+1))]:[s];return(c=c.map((function(t,o){var i=(1===o?!r:r)?"height":"width",s=!1;return t.reduce((function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,s=!0,t):s?(t[t.length-1]+=e,s=!1,t):t.concat(e)}),[]).map((function(t){return function(t,e,n,o){var i=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),r=+i[1],s=i[2];if(!r)return t;if(0===s.indexOf("%")){var a=void 0;switch(s){case"%p":a=n;break;case"%":case"%r":default:a=o}return N(a)[e]/100*r}if("vh"===s||"vw"===s)return("vh"===s?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*r;return r}(t,i,e,n)}))}))).forEach((function(t,e){t.forEach((function(n,o){q(n)&&(i[e]+=n*("-"===t[o-1]?-1:1))}))})),i}var rt={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,n=e.split("-")[0],o=e.split("-")[1];if(o){var i=t.offsets,r=i.reference,s=i.popper,a=-1!==["bottom","top"].indexOf(n),l=a?"left":"top",c=a?"width":"height",u={start:A({},l,r[l]),end:A({},l,r[l]+r[c]-s[c])};t.offsets.popper=S({},s,u[o])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var n=e.offset,o=t.placement,i=t.offsets,r=i.popper,s=i.reference,a=o.split("-")[0],l=void 0;return l=q(+n)?[+n,0]:it(n,r,s,a),"left"===a?(r.top+=l[0],r.left-=l[1]):"right"===a?(r.top+=l[0],r.left+=l[1]):"top"===a?(r.left+=l[0],r.top-=l[1]):"bottom"===a&&(r.left+=l[0],r.top+=l[1]),t.popper=r,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var n=e.boundariesElement||f(t.instance.popper);t.instance.reference===n&&(n=f(n));var o=G("transform"),i=t.instance.popper.style,r=i.top,s=i.left,a=i[o];i.top="",i.left="",i[o]="";var l=x(t.instance.popper,t.instance.reference,e.padding,n,t.positionFixed);i.top=r,i.left=s,i[o]=a,e.boundaries=l;var c=e.priority,u=t.offsets.popper,p={primary:function(t){var n=u[t];return u[t]<l[t]&&!e.escapeWithReference&&(n=Math.max(u[t],l[t])),A({},t,n)},secondary:function(t){var n="right"===t?"left":"top",o=u[n];return u[t]>l[t]&&!e.escapeWithReference&&(o=Math.min(u[n],l[t]-("right"===t?u.width:u.height))),A({},n,o)}};return c.forEach((function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";u=S({},u,p[e](t))})),t.offsets.popper=u,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,n=e.popper,o=e.reference,i=t.placement.split("-")[0],r=Math.floor,s=-1!==["top","bottom"].indexOf(i),a=s?"right":"bottom",l=s?"left":"top",c=s?"width":"height";return n[a]<r(o[l])&&(t.offsets.popper[l]=r(o[l])-n[c]),n[l]>r(o[a])&&(t.offsets.popper[l]=r(o[a])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var n;if(!$(t.instance.modifiers,"arrow","keepTogether"))return t;var o=e.element;if("string"==typeof o){if(!(o=t.instance.popper.querySelector(o)))return t}else if(!t.instance.popper.contains(o))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var i=t.placement.split("-")[0],r=t.offsets,a=r.popper,l=r.reference,c=-1!==["left","right"].indexOf(i),u=c?"height":"width",p=c?"Top":"Left",d=p.toLowerCase(),f=c?"left":"top",h=c?"bottom":"right",m=k(o)[u];l[h]-m<a[d]&&(t.offsets.popper[d]-=a[d]-(l[h]-m)),l[d]+m>a[h]&&(t.offsets.popper[d]+=l[d]+m-a[h]),t.offsets.popper=N(t.offsets.popper);var g=l[d]+l[u]/2-m/2,E=s(t.instance.popper),v=parseFloat(E["margin"+p],10),b=parseFloat(E["border"+p+"Width"],10),T=g-t.offsets.popper[d]-v-b;return T=Math.max(Math.min(a[u]-m,T),0),t.arrowElement=o,t.offsets.arrow=(A(n={},d,Math.round(T)),A(n,f,""),n),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(V(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var n=x(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),o=t.placement.split("-")[0],i=I(o),r=t.placement.split("-")[1]||"",s=[];switch(e.behavior){case et:s=[o,i];break;case nt:s=tt(o);break;case ot:s=tt(o,!0);break;default:s=e.behavior}return s.forEach((function(a,l){if(o!==a||s.length===l+1)return t;o=t.placement.split("-")[0],i=I(o);var c=t.offsets.popper,u=t.offsets.reference,p=Math.floor,d="left"===o&&p(c.right)>p(u.left)||"right"===o&&p(c.left)<p(u.right)||"top"===o&&p(c.bottom)>p(u.top)||"bottom"===o&&p(c.top)<p(u.bottom),f=p(c.left)<p(n.left),h=p(c.right)>p(n.right),m=p(c.top)<p(n.top),g=p(c.bottom)>p(n.bottom),E="left"===o&&f||"right"===o&&h||"top"===o&&m||"bottom"===o&&g,v=-1!==["top","bottom"].indexOf(o),b=!!e.flipVariations&&(v&&"start"===r&&f||v&&"end"===r&&h||!v&&"start"===r&&m||!v&&"end"===r&&g),T=!!e.flipVariationsByContent&&(v&&"start"===r&&h||v&&"end"===r&&f||!v&&"start"===r&&g||!v&&"end"===r&&m),w=b||T;(d||E||w)&&(t.flipped=!0,(d||E)&&(o=s[l+1]),w&&(r=function(t){return"end"===t?"start":"start"===t?"end":t}(r)),t.placement=o+(r?"-"+r:""),t.offsets.popper=S({},t.offsets.popper,H(t.instance.popper,t.offsets.reference,t.placement)),t=Y(t.instance.modifiers,t,"flip"))})),t},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,n=e.split("-")[0],o=t.offsets,i=o.popper,r=o.reference,s=-1!==["left","right"].indexOf(n),a=-1===["top","left"].indexOf(n);return i[s?"left":"top"]=r[n]-(a?i[s?"width":"height"]:0),t.placement=I(e),t.offsets.popper=N(i),t}},hide:{order:800,enabled:!0,fn:function(t){if(!$(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=F(t.instance.modifiers,(function(t){return"preventOverflow"===t.name})).boundaries;if(e.bottom<n.top||e.left>n.right||e.top>n.bottom||e.right<n.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var n=e.x,o=e.y,i=t.offsets.popper,r=F(t.instance.modifiers,(function(t){return"applyStyle"===t.name})).gpuAcceleration;void 0!==r&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var s=void 0!==r?r:e.gpuAcceleration,a=f(t.instance.popper),l=O(a),c={position:i.position},u=function(t,e){var n=t.offsets,o=n.popper,i=n.reference,r=Math.round,s=Math.floor,a=function(t){return t},l=r(i.width),c=r(o.width),u=-1!==["left","right"].indexOf(t.placement),p=-1!==t.placement.indexOf("-"),d=e?u||p||l%2==c%2?r:s:a,f=e?r:a;return{left:d(l%2==1&&c%2==1&&!p&&e?o.left-1:o.left),top:f(o.top),bottom:f(o.bottom),right:d(o.right)}}(t,window.devicePixelRatio<2||!J),p="bottom"===n?"top":"bottom",d="right"===o?"left":"right",h=G("transform"),m=void 0,g=void 0;if(g="bottom"===p?"HTML"===a.nodeName?-a.clientHeight+u.bottom:-l.height+u.bottom:u.top,m="right"===d?"HTML"===a.nodeName?-a.clientWidth+u.right:-l.width+u.right:u.left,s&&h)c[h]="translate3d("+m+"px, "+g+"px, 0)",c[p]=0,c[d]=0,c.willChange="transform";else{var E="bottom"===p?-1:1,v="right"===d?-1:1;c[p]=g*E,c[d]=m*v,c.willChange=p+", "+d}var b={"x-placement":t.placement};return t.attributes=S({},b,t.attributes),t.styles=S({},c,t.styles),t.arrowStyles=S({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){var e,n;return z(t.instance.popper,t.styles),e=t.instance.popper,n=t.attributes,Object.keys(n).forEach((function(t){!1!==n[t]?e.setAttribute(t,n[t]):e.removeAttribute(t)})),t.arrowElement&&Object.keys(t.arrowStyles).length&&z(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,n,o,i){var r=P(i,e,t,n.positionFixed),s=M(n.placement,r,e,t,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return e.setAttribute("x-placement",s),z(e,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},st=function(){function t(e,n){var o=this,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};w(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(o.update)},this.update=i(this.update.bind(this)),this.options=S({},t.Defaults,s),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(S({},t.Defaults.modifiers,s.modifiers)).forEach((function(e){o.options.modifiers[e]=S({},t.Defaults.modifiers[e]||{},s.modifiers?s.modifiers[e]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(t){return S({name:t},o.options.modifiers[t])})).sort((function(t,e){return t.order-e.order})),this.modifiers.forEach((function(t){t.enabled&&r(t.onLoad)&&t.onLoad(o.reference,o.popper,o.options,t,o.state)})),this.update();var a=this.options.eventsEnabled;a&&this.enableEventListeners(),this.state.eventsEnabled=a}return y(t,[{key:"update",value:function(){return j.call(this)}},{key:"destroy",value:function(){return K.call(this)}},{key:"enableEventListeners",value:function(){return B.call(this)}},{key:"disableEventListeners",value:function(){return X.call(this)}}]),t}();st.Utils=("undefined"!=typeof window?window:t).PopperUtils,st.placements=Q,st.Defaults=rt,e.a=st}).call(this,n(1))},function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";n.r(e),window.NJStore=window.NJStore||[];const o=(()=>{const t=window.NJStore;return{set(e,n,o){void 0===e.key&&(e.key={key:n,id:t.length}),t[e.key.id]=o},get:(e,n)=>(e.key&&!n.id&&(n=e.key),n&&n.id?t[n.id]:null),delete(e,n){if(void 0===e.key)return;const o=e.key;o.key===n&&(delete t[o.id],delete e.key)}}})();var i,r,s,a,l={setData(t,e,n){o.set(t,e,n)},getData:(t,e)=>o.get(t,e),removeData(t,e){o.delete(t,e)}};class c{constructor(t,e,n={}){!e||e instanceof Element||console.error(Error("".concat(e," is not an HTML Element"))),this.options=n,this.element=e}static init(t,e={},n){const o=[],i=document.querySelectorAll(n);for(let n=0;n<i.length;n++){const r=i[n];if(!r.key||r.key!==t.DATA_KEY){const s=new t(i[n],e);r.key||l.setData(i[n],t.DATA_KEY,s),o.push(s)}}return o}}!function(t){t.KEY_PREFIX="nj",t.DATA_API_KEY=".data-api"}(i||(i={})),function(t){t.mouseenter="mouseover",t.mouseleave="mouseout"}(r||(r={})),function(t){t.click="click",t.close="close",t.closed="closed",t.hide="hide",t.hidden="hidden",t.input="input",t.keydown="keydown",t.keyup="keyup",t.onchange="onchange",t.show="show",t.shown="shown",t.inserted="inserted",t.focusin="focusin",t.focusout="focusout",t.mouseenter="mouseenter",t.mouseleave="mouseleave",t.mouseup="mouseup",t.mousedown="mousedown"}(s||(s={})),function(t){t.click="click",t.dblclick="dblclick",t.mouseup="mouseup",t.mousedown="mousedown",t.contextmenu="contextmenu",t.mousewheel="mousewheel",t.DOMMouseScroll="DOMMouseScroll",t.mouseover="mouseover",t.mouseout="mouseout",t.mousemove="mousemove",t.selectstart="selectstart",t.selectend="selectend",t.keydown="keydown",t.keypress="keypress",t.keyup="keyup",t.orientationchange="orientationchange",t.touchstart="touchstart",t.touchmove="touchmove",t.touchend="touchend",t.touchcancel="touchcancel",t.pointerdown="pointerdown",t.pointermove="pointermove",t.pointerup="pointerup",t.pointerleave="pointerleave",t.pointercancel="pointercancel",t.gesturestart="gesturestart",t.gesturechange="gesturechange",t.gestureend="gestureend",t.focus="focus",t.blur="blur",t.change="change",t.reset="reset",t.select="select",t.submit="submit",t.focusin="focusin",t.focusout="focusout",t.load="load",t.unload="unload",t.beforeunload="beforeunload",t.resize="resize",t.move="move",t.DOMContentLoaded="DOMContentLoaded",t.readystatechange="readystatechange",t.error="error",t.abort="abort",t.scroll="scroll"}(a||(a={}));class u{static getUidEvent(t,e){return e&&"".concat(e,"::").concat(u.uidEvent++)||t.uidEvent||u.uidEvent++}static getEvent(t){const e=u.getUidEvent(t);return t.uidEvent=e,u.EVENTREGISTRY[e]=u.EVENTREGISTRY[e]||{}}static fixEvent(t,e){null===t.which&&u.KEYEVENT_REGEX.test(t.type)&&(t.which=null!==t.charCode?t.charCode:t.keyCode),t.delegateTarget=e}static njHandler(t,e){const n=o=>(u.fixEvent(o,t),n.oneOff&&u.off(t,o.type,e),e.apply(t,[o]));return n}static njDelegationHandler(t,e,n){const o=i=>{const r=t.querySelectorAll(e);for(let e=i.target;e&&e!==this;e=e.parentNode)for(let s=r.length;s>=0;s--)if(r[s]===e)return u.fixEvent(i,e),o.oneOff&&u.off(t,i.type,n),n.apply(e,[i]);return null};return o}static findHandler(t,e,n=null){for(const o in t){if(!Object.prototype.hasOwnProperty.call(t,o))continue;const i=t[o];if(i.originalHandler===e&&i.delegationSelector===n)return t[o]}return null}static normalizeParams(t,e,n){const o="string"==typeof e,i=o?n:e;let s=t.replace(u.STRIPNAME_REGEX,"");const l=r[s];l&&(s=l);return"string"==typeof a[s]||(s=t),[o,i,s]}static addHandler(t,e,n,o,i){if("string"!=typeof e||null==t)return;n||(n=o,o=null);const r=u.getEvent(t);for(const s of e.split(" ")){const[e,a,l]=u.normalizeParams(s,n,o),c=r[l]||(r[l]={}),p=u.findHandler(c,a,e?n:null);if(p)return void(p.oneOff=p.oneOff&&i);const d=u.getUidEvent(a,s.replace(u.NAMESPACE_REGEX,"")),f=e?u.njDelegationHandler(t,n,o):u.njHandler(t,n);f.delegationSelector=e?n:null,f.originalHandler=a,f.oneOff=i,f.uidEvent=d,c[d]=f,t.addEventListener(l,f,e)}}static removeHandler(t,e,n,o,i){const r=u.findHandler(e[n],o,i);null!==r&&(t.removeEventListener(n,r,Boolean(i)),delete e[n][r.uidEvent])}static removeNamespacedHandlers(t,e,n,o){const i=e[n]||{};for(const r in i)if(Object.prototype.hasOwnProperty.call(i,r)&&r.indexOf(o)>-1){const o=i[r];u.removeHandler(t,e,n,o.originalHandler,o.delegationSelector)}}static on(t,e,n,o){u.addHandler(t,e,n,o,!1)}static one(t,e,n,o){u.addHandler(t,e,n,o,!0)}static off(t,e,n,o){if("string"!=typeof e||null==t)return;const[i,r,s]=u.normalizeParams(e,n,o),a=s!==e,l=u.getEvent(t);if(void 0!==r){if(!l||!l[s])return;return void u.removeHandler(t,l,s,r,i?n:null)}if("."===e.charAt(0))for(const n in l)Object.prototype.hasOwnProperty.call(l,n)&&u.removeNamespacedHandlers(t,l,n,e.substr(1));const c=l[s]||{};for(const n in c){if(!Object.prototype.hasOwnProperty.call(c,n))continue;const o=n.replace(u.STRIPUID_REGEX,"");if(!a||e.indexOf(o)>-1){const e=c[n];u.removeHandler(t,l,s,e.originalHandler,e.delegationSelector)}}}static trigger(t,e,n){if("string"!=typeof e||null==t)return null;const o=e.replace(u.STRIPNAME_REGEX,""),i="string"==typeof a[o];let r=null;return i?(r=document.createEvent("HTMLEvents"),r.initEvent(o,true,!0)):r=new window.CustomEvent(e,{bubbles:true,cancelable:!0}),void 0!==n&&Object.keys(n).forEach(t=>{Object.defineProperty(r,t,{get:()=>n[t]})}),t.dispatchEvent(r),r}}u.NAMESPACE_REGEX=/[^.]*(?=\..*)\.|.*/,u.STRIPNAME_REGEX=/\..*/,u.KEYEVENT_REGEX=/^key/,u.STRIPUID_REGEX=/::\d+$/,u.EVENTREGISTRY={},u.uidEvent=1;const p={getDataAttributes(t){if(null==t)return{};let e={};if(Object.getOwnPropertyDescriptor(HTMLElement.prototype,"dataset"))e=Object.assign({},t.dataset);else for(let n=0;n<t.attributes.length;n++){const o=t.attributes[n];if(-1!==o.nodeName.indexOf("data-")){const t=o.nodeName.substring("data-".length).replace(/-./g,t=>t.charAt(1).toUpperCase());e[t]=o.nodeValue}}return Object.keys(e).forEach(t=>{var n;e[t]="true"===(n=e[t])||"false"!==n&&("null"===n?null:n===Number(n).toString()?Number(n):""===n?null:n)}),e},toggleClass(t,e){null!=t&&(t.classList.contains(e)?t.classList.remove(e):t.classList.add(e))},mergeExtended(t,e,n){for(const o in e)Object.prototype.hasOwnProperty.call(e,o)&&(n&&"[object Object]"===Object.prototype.toString.call(e[o])?t[o]=p.extend(t[o],e[o]):t[o]=e[o]);return t},extend(...t){let e={},n=!1,o=0;for("[object Boolean]"===Object.prototype.toString.call(t[0])&&(n=t[0],o++);o<t.length;o++)e=p.mergeExtended(e,t[o],n);return e},createHtmlNode:t=>(new DOMParser).parseFromString(t,"text/html").body.firstChild};var d=p,f=n(0);const h={TRANSITION_END:"transitionend",getUID(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},getSelectorFromElement(t){let e=t.getAttribute("data-target");if(!e||"#"===e){const n=t.getAttribute("href");e=n&&"#"!==n?n.trim():""}try{return document.querySelector(e)?e:null}catch(t){return null}},getTransitionDurationFromElement(t){if(!t)return 0;let e=window.getComputedStyle(t).transitionDuration,n=window.getComputedStyle(t).transitionDelay;const o=parseFloat(e),i=parseFloat(n);return o||i?(e=e.split(",")[0],n=n.split(",")[0],1e3*(parseFloat(e)+parseFloat(n))):0},reflow:t=>t.offsetHeight,triggerTransitionEnd(t){const e=new CustomEvent(h.TRANSITION_END,{});t.dispatchEvent(e)},isElement:t=>(t[0]||t).nodeType,emulateTransitionEnd(t,e){let n=!1;const o=e+5;t.addEventListener(h.TRANSITION_END,(function e(){n=!0,t.removeEventListener(h.TRANSITION_END,e)})),setTimeout(()=>{n||h.triggerTransitionEnd(t)},o)},typeCheckConfig(t,e,n){for(const i in n)if(Object.prototype.hasOwnProperty.call(n,i)){const r=n[i],s=e[i],a=s&&h.isElement(s)?"element":(o=s,{}.toString.call(o).match(/\s([a-z]+)/i)[1].toLowerCase());if(!new RegExp(r).test(a))throw new Error("".concat(t.toUpperCase(),": ")+'Option "'.concat(i,'" provided type "').concat(a,'" ')+'but expected type "'.concat(r,'".'))}var o},makeArray:t=>null==t?[]:[].slice.call(t),findShadowRoot(t){if(!document.documentElement.attachShadow)return null;if("function"==typeof t.getRootNode){const e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?h.findShadowRoot(t.parentElement):null},throttle(t,e,n,o,i){let r,s,a,l=null,c=0;const u=()=>{c=Date.now(),l=null,a=t.apply(s,r)};return()=>{const p=Date.now();c||n||(c=p);const d=e-(p-c);return s=i||this,r=arguments,d<=0?(clearTimeout(l),l=null,c=p,a=t.apply(s,r)):!l&&o&&(l=setTimeout(u,d)),a}}};var m=h;class g extends HTMLElement{constructor(...t){super(),this.components=t,this.instances=[],this.parentNodes=[]}connectedCallback(){this.setup()}disconnectedCallback(){this.instances.forEach(t=>{t.dispose()}),this.instances=null}setup(){let t=this;for(;t.parentNode;)t=t.parentNode,this.parentNodes.push(t);[this,...this.parentNodes].some(t=>t.nextSibling)||"loading"!==document.readyState?this.childrenAvailableCallback():(this.mutationObserver=new MutationObserver(()=>{([this,...this.parentNodes].some(t=>t.nextSibling)||"loading"!==document.readyState)&&(this.childrenAvailableCallback(),this.mutationObserver.disconnect())}),this.mutationObserver.observe(this,{childList:!0}))}childrenAvailableCallback(){this.components.forEach(t=>{const e=this.querySelector(t.SELECTOR.default);if(!e)throw new Error("Default selector of ".concat(t.name," not found: ").concat(t.SELECTOR.default));this.instances.push(new t(e))})}static init(t){if(!t.TAG_NAME)throw new Error("TAG_NAME property of ".concat(t.name," class doesn't exists"));customElements.define(t.TAG_NAME,t)}}class E extends c{constructor(t,e={}){super(E,t,E.getOptions(t,e)),this.isEnabled=!0,this.timeout=0,this.hoverState="",this.activeTrigger={},this.popper=null,this.tip=null,this.setListeners(),l.setData(t,E.DATA_KEY,this)}enable(){this.isEnabled=!0}disable(){this.isEnabled=!1}toggleEnabled(){this.isEnabled=!this.isEnabled}toggle(t){if(this.isEnabled)if(t){const e=E.DATA_KEY;let n=E.getInstance(t.delegateTarget);n||(n=new E(t.delegateTarget,this.getDelegateConfig()),l.setData(t.delegateTarget,e,n)),n.activeTrigger.click=!n.activeTrigger.click,n.isWithActiveTrigger()?n.enter(null,n):n.leave(null,n)}else{if(this.getTipElement().classList.contains(E.CLASS_NAME.show))return void this.leave(null,this);this.enter(null,this)}}dispose(){clearTimeout(this.timeout),l.removeData(this.element,E.DATA_KEY),u.off(this.element,E.EVENT_KEY),u.off(this.element.closest(".modal"),"hide.".concat(i.KEY_PREFIX,".modal")),this.tip&&this.tip.parentNode&&this.tip.parentNode.removeChild(this.tip),this.isEnabled=null,this.timeout=null,this.hoverState=null,this.activeTrigger=null,null!==this.popper&&this.popper.destroy(),this.popper=null,this.element=null,this.options=null,this.tip=null}show(){if("none"===this.element.style.display)throw new Error("Please use show on visible elements");if(this.isWithContent()&&this.isEnabled){const t=u.trigger(this.element,E.EVENT.show),e=m.findShadowRoot(this.element),n=null!==e?e.contains(this.element):this.element.ownerDocument.documentElement.contains(this.element);if(t.defaultPrevented||!n)return;const o=this.getTipElement(),i=m.getUID(E.NAME);o.setAttribute("id",i),this.element.setAttribute("aria-describedby",i),this.setContent(),this.options.animation&&o.classList.add(E.CLASS_NAME.fade);const r="function"==typeof this.options.placement?this.options.placement.call(this,o,this.element):this.options.placement,s=E.getAttachment(r);this.addAttachmentClass(s),this.options.arrow||this.getTipElement().classList.add(E.CLASS_NAME.withoutArrow);const a=this.getContainer();l.setData(o,E.DATA_KEY,this),this.element.ownerDocument.documentElement.contains(this.tip)||a.appendChild(o),u.trigger(this.element,E.EVENT.inserted),this.popper=new f.a(this.element,o,{placement:s,modifiers:{offset:{offset:this.options.offset},flip:{behavior:this.options.fallbackPlacement},arrow:{element:E.SELECTOR.arrow},preventOverflow:{boundariesElement:this.options.boundary}},onCreate:t=>{t.originalPlacement!==t.placement&&this.handlePopperPlacementChange(t)},onUpdate:t=>this.handlePopperPlacementChange(t)}),o.classList.add(E.CLASS_NAME.show),"ontouchstart"in document.documentElement&&m.makeArray(document.body.children).forEach(t=>{u.on(t,"mouseover")});const c=()=>{this.options.animation&&this.fixTransition();const t=this.hoverState;this.hoverState=null,u.trigger(this.element,E.EVENT.shown),t===E.HOVER_STATE.out&&this.leave(null,this)};if(this.tip.classList.contains(E.CLASS_NAME.fade)){const t=m.getTransitionDurationFromElement(this.tip);u.one(this.tip,m.TRANSITION_END,c),m.emulateTransitionEnd(this.tip,t)}else c()}}hide(t){const e=this.getTipElement(),n=()=>{this.element&&(this.hoverState!==E.HOVER_STATE.show&&e.parentNode&&e.parentNode.removeChild(e),this.cleanTipClass(),this.element.removeAttribute("aria-describedby"),u.trigger(this.element,E.EVENT.hidden),null!==this.popper&&this.popper.destroy(),t&&t())};if(!u.trigger(this.element,E.EVENT.hide).defaultPrevented){if(e.classList.remove(E.CLASS_NAME.show),"ontouchstart"in document.documentElement&&m.makeArray(document.body.children).forEach(t=>u.off(t,"mouseover")),this.activeTrigger[E.TRIGGER.click]=!1,this.activeTrigger[E.TRIGGER.focus]=!1,this.activeTrigger[E.TRIGGER.hover]=!1,this.tip.classList.contains(E.CLASS_NAME.fade)){const t=m.getTransitionDurationFromElement(e);u.one(e,m.TRANSITION_END,n),m.emulateTransitionEnd(e,t)}else n();this.hoverState=""}}update(){null!==this.popper&&this.popper.scheduleUpdate()}isWithContent(){return Boolean(this.getTitle())}addAttachmentClass(t){this.getTipElement().classList.add("".concat(E.CLASS_NAME.default,"--").concat(t))}getTipElement(){if(this.tip)return this.tip;const t=document.createElement("div");return t.innerHTML=this.options.template,this.tip=t.children[0],this.tip}setContent(){const t=this.getTipElement();this.setElementContent(t.querySelector(E.SELECTOR.inner),this.getTitle()),t.classList.remove(E.CLASS_NAME.fade),t.classList.remove(E.CLASS_NAME.show)}setElementContent(t,e){if(null===t)return;const n=this.options.html;"object"==typeof e&&e.nodeType?n?e.parentNode!==t&&(t.innerHTML="",t.appendChild(e)):t.innerText=e.textContent:t[n?"innerHTML":"innerText"]=e}getTitle(){let t=this.element.getAttribute("data-original-title");return t||(t="function"==typeof this.options.title?this.options.title.call(this.element):this.options.title),t}getContainer(){return!1===this.options.container?document.body:m.isElement(this.options.container)?this.options.container:document.querySelector(this.options.container)}setListeners(){this.options.trigger.split(" ").forEach(t=>{if("click"===t)u.on(this.element,E.EVENT.click,this.options.selector,t=>this.toggle(t));else if(t!==E.TRIGGER.manual){const e=t===E.TRIGGER.hover?E.EVENT.mouseenter:E.EVENT.focusin,n=t===E.TRIGGER.hover?E.EVENT.mouseleave:E.EVENT.focusout;u.on(this.element,e,this.options.selector,t=>this.enter(t)),u.on(this.element,n,this.options.selector,t=>this.leave(t))}}),u.on(this.element.closest(".modal"),"hide.".concat(i.KEY_PREFIX,".modal"),()=>{this.element&&this.hide()}),this.options.selector?this.options=Object.assign(Object.assign({},this.options),{trigger:"manual",selector:""}):this.fixTitle()}fixTitle(){const t=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==t)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))}enter(t,e){const n=E.DATA_KEY;if((e=e||l.getData(t.delegateTarget,n))||(e=new E(t.delegateTarget,this.getDelegateConfig()),l.setData(t.delegateTarget,n,e)),t){const n="focusin"===t.type?E.TRIGGER.focus:E.TRIGGER.hover;e.activeTrigger[n]=!0}e.getTipElement().classList.contains(E.CLASS_NAME.show)||e.hoverState===E.HOVER_STATE.show?e.hoverState=E.HOVER_STATE.show:(clearTimeout(e.timeout),e.hoverState=E.HOVER_STATE.show,e.options.delay&&e.options.delay.show?e.timeout=setTimeout(()=>{e._hoverState===E.HOVER_STATE.show&&e.show()},e.options.delay.show):e.show())}leave(t,e){const n=E.DATA_KEY;if((e=e||l.getData(t.delegateTarget,n))||(e=new E(t.delegateTarget,this.getDelegateConfig()),l.setData(t.delegateTarget,n,e)),t){const n="focusout"===t.type?E.TRIGGER.focus:E.TRIGGER.hover;e.activeTrigger[n]=!1}e.isWithActiveTrigger()||(clearTimeout(e.timeout),e.hoverState=E.HOVER_STATE.out,e.options.delay&&e.options.delay.hide?e.timeout=setTimeout(()=>{e.hoverState===E.HOVER_STATE.out&&e.hide()},e.options.delay.hide):e.hide())}isWithActiveTrigger(){for(const t in this.activeTrigger)if(this.activeTrigger[t])return!0;return!1}static getOptions(t,e){return"number"==typeof(e=Object.assign(Object.assign(Object.assign({},E.DEFAULT_OPTIONS),d.getDataAttributes(t)),"object"==typeof e&&e?e:{})).delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),m.typeCheckConfig(E.NAME,e,E.DEFAULT_TYPE),e}getDelegateConfig(){const t={};if(this.options)for(const e in this.options)E.DEFAULT_OPTIONS[e]!==this.options[e]&&(t[e]=this.options[e]);return t}cleanTipClass(){const t=this.getTipElement(),e=t.getAttribute("class").match(E.NJCLS_PREFIX_REGEX);null!==e&&e.length&&e.map(t=>t.trim()).forEach(e=>t.classList.remove(e))}handlePopperPlacementChange(t){const e=t.instance;this.tip=e.popper,this.cleanTipClass(),this.addAttachmentClass(E.getAttachment(t.placement))}fixTransition(){const t=this.getTipElement(),e=this.options.animation;null===t.getAttribute("x-placement")&&(t.classList.remove(E.CLASS_NAME.fade),this.options.animation=!1,this.hide(),this.show(),this.options.animation=e)}static getAttachment(t){return E.ATTACHMENT_MAP[t.toUpperCase()]}static getInstance(t){return l.getData(t,E.DATA_KEY)}static init(){return[]}}E.NAME="".concat(i.KEY_PREFIX,"-tooltip"),E.DATA_KEY="".concat(i.KEY_PREFIX,".tooltip"),E.EVENT_KEY=".".concat(E.DATA_KEY),E.CLASS_NAME={default:"".concat(i.KEY_PREFIX,"-tooltip"),inner:"".concat(i.KEY_PREFIX,"-tooltip__inner"),arrow:"".concat(i.KEY_PREFIX,"-tooltip__arrow"),withoutArrow:"".concat(i.KEY_PREFIX,"-tooltip--without-arrow"),fade:"fade",show:"show"},E.NJCLS_PREFIX_REGEX=new RegExp("(^|\\s)".concat(E.CLASS_NAME.default,"\\S+"),"g"),E.DEFAULT_TYPE={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)",arrow:"boolean"},E.ATTACHMENT_MAP={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},E.DEFAULT_OPTIONS={animation:!0,template:'<div class="'.concat(E.CLASS_NAME.default,'" role="tooltip">')+'<div class="'.concat(E.CLASS_NAME.arrow,'"></div>')+'<div class="'.concat(E.CLASS_NAME.inner,'"></div></div>'),trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",arrow:!0},E.HOVER_STATE={show:"show",out:"out"},E.EVENT={hide:"".concat(s.hide).concat(E.EVENT_KEY),hidden:"".concat(s.hidden).concat(E.EVENT_KEY),show:"".concat(s.show).concat(E.EVENT_KEY),shown:"".concat(s.shown).concat(E.EVENT_KEY),inserted:"".concat(s.inserted).concat(E.EVENT_KEY),click:"".concat(s.click).concat(E.EVENT_KEY),focusin:"".concat(s.focusin).concat(E.EVENT_KEY),focusout:"".concat(s.focusout).concat(E.EVENT_KEY),mouseenter:"".concat(s.mouseenter).concat(E.EVENT_KEY),mouseleave:"".concat(s.mouseleave).concat(E.EVENT_KEY)},E.SELECTOR={default:'[data-toggle="tooltip"]',inner:".".concat(E.CLASS_NAME.inner),arrow:".".concat(E.CLASS_NAME.arrow),tooltip:".".concat(i.KEY_PREFIX,"-tooltip")},E.TRIGGER={hover:"hover",focus:"focus",click:"click",manual:"manual"};class v extends g{constructor(){super(E)}static init(){g.init(v)}}v.TAG_NAME=E.NAME,n.d(e,"default",(function(){return b})),n.d(e,"SliderWC",(function(){return T}));class b extends c{constructor(t,e={}){super(b,t,b.getOptions(t,e)),this.dataId=Number(String(Math.random()).slice(2))+Date.now(),this.input=this.element.querySelector(b.SELECTOR.input),this.element.setAttribute("data-id",this.dataId.toString()),this.refreshProgressValue(),this.setListeners(),this.options.tooltip&&(this.addTooltip(),this.setTooltipListeners()),l.setData(t,b.DATA_KEY,this)}addTooltip(){this.tooltip=d.createHtmlNode(E.DEFAULT_OPTIONS.template),this.tooltip.classList.add("".concat(i.KEY_PREFIX,"-tooltip--top")),this.tooltip.classList.add("show"),this.element.insertBefore(this.tooltip,this.element.querySelector(b.SELECTOR.label)),this.refreshTooltipValue()}setListeners(){u.on(this.element,"input change keyup",()=>{this.refreshProgressValue()})}setTooltipListeners(){u.on(this.element,"input change keyup",()=>{this.refreshTooltipValue()});let t=!1;u.on(document,"resize",()=>{t||(this.refreshTooltipValue(),t=!0,setTimeout(()=>{t=!1},100))})}refreshProgressValue(){const t=document.querySelector("[data-id='".concat(this.dataId,"']"));if(t){const e=parseFloat(this.input.max)||b.PERCENT_CONV,n=parseFloat(this.input.min)||0,o=parseFloat(this.input.value),i=Math.floor(b.PERCENT_CONV*(o-n)/(e-n));t.style.setProperty("--slider-track-position","".concat(i,"% 100%"))}}refreshTooltipValue(){this.tooltip.querySelector(E.SELECTOR.inner).innerHTML=this.input.value,this.replaceTooltip()}replaceTooltip(){const t=""===this.input.min?0:parseFloat(this.input.min),e=""===this.input.max?100:parseFloat(this.input.max),n=(parseFloat(this.input.value)-t)/(e-t);this.tooltip.style.left="".concat(n*(this.input.offsetWidth-b.THUMB_WIDTH)-this.tooltip.offsetWidth/2+b.THUMB_WIDTH/2,"px")}static getOptions(t,e={}){return e=Object.assign(Object.assign(Object.assign({},b.DEFAULT_OPTIONS),d.getDataAttributes(t)),"object"==typeof e&&e?e:{}),m.typeCheckConfig(b.NAME,e,b.DEFAULT_TYPE),e}dispose(){u.off(this.element,"input change keyup"),u.off(document,"resize"),l.removeData(this.element,b.DATA_KEY),this.element=null}static getInstance(t){return l.getData(t,b.DATA_KEY)}static init(t={}){return super.init(this,t,b.SELECTOR.default)}}b.NAME="".concat(i.KEY_PREFIX,"-slider"),b.DATA_KEY="".concat(i.KEY_PREFIX,".slider"),b.CLASS_NAME="".concat(i.KEY_PREFIX,"-slider"),b.SELECTOR={default:".".concat(b.CLASS_NAME),input:"input",label:"label"},b.THUMB_WIDTH=16,b.DEFAULT_TYPE={tooltip:"boolean"},b.DEFAULT_OPTIONS={tooltip:!1},b.PERCENT_CONV=100,b.PSEUDO_ELEMS=["webkit-slider-runnable","moz-range","ms"];class T extends g{constructor(){super(b)}static init(){g.init(T)}}T.TAG_NAME=b.NAME}]).default}));

@@ -19,2 +19,5 @@ /**

};
protected static readonly SELECTOR: {
default: string;
};
private readonly tabs;

@@ -21,0 +24,0 @@ currentIndex: number;

@@ -1,1 +0,1 @@

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("Tab",[],t):"object"==typeof exports?exports.Tab=t():e.Tab=t()}(window,(function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var s=t[o]={i:o,l:!1,exports:{}};return e[o].call(s.exports,s,s.exports,n),s.l=!0,s.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var s in e)n.d(o,s,function(t){return e[t]}.bind(null,s));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";n.r(t);const o=(()=>{const e={};let t=1;return{set(n,o,s){void 0===n.key&&(n.key={key:o,id:t},t++),e[n.key.id]=s},get(t,n){if(!t||void 0===t.key)return null;const o=t.key;return o.key===n?e[o.id]:null},delete(t,n){if(void 0===t.key)return;const o=t.key;o.key===n&&(delete e[o.id],delete t.key)}}})();var s,r,c,i,u={setData(e,t,n){o.set(e,t,n)},getData:(e,t)=>o.get(e,t),removeData(e,t){o.delete(e,t)}};!function(e){e.KEY_PREFIX="nj",e.DATA_API_KEY=".data-api"}(s||(s={})),function(e){e.mouseenter="mouseover",e.mouseleave="mouseout"}(r||(r={})),function(e){e.click="click",e.close="close",e.closed="closed",e.hide="hide",e.hidden="hidden",e.input="input",e.keydown="keydown",e.keyup="keyup",e.onchange="onchange",e.show="show",e.shown="shown",e.inserted="inserted",e.focusin="focusin",e.focusout="focusout",e.mouseenter="mouseenter",e.mouseleave="mouseleave",e.mouseup="mouseup",e.mousedown="mousedown"}(c||(c={})),function(e){e.click="click",e.dblclick="dblclick",e.mouseup="mouseup",e.mousedown="mousedown",e.contextmenu="contextmenu",e.mousewheel="mousewheel",e.DOMMouseScroll="DOMMouseScroll",e.mouseover="mouseover",e.mouseout="mouseout",e.mousemove="mousemove",e.selectstart="selectstart",e.selectend="selectend",e.keydown="keydown",e.keypress="keypress",e.keyup="keyup",e.orientationchange="orientationchange",e.touchstart="touchstart",e.touchmove="touchmove",e.touchend="touchend",e.touchcancel="touchcancel",e.pointerdown="pointerdown",e.pointermove="pointermove",e.pointerup="pointerup",e.pointerleave="pointerleave",e.pointercancel="pointercancel",e.gesturestart="gesturestart",e.gesturechange="gesturechange",e.gestureend="gestureend",e.focus="focus",e.blur="blur",e.change="change",e.reset="reset",e.select="select",e.submit="submit",e.focusin="focusin",e.focusout="focusout",e.load="load",e.unload="unload",e.beforeunload="beforeunload",e.resize="resize",e.move="move",e.DOMContentLoaded="DOMContentLoaded",e.readystatechange="readystatechange",e.error="error",e.abort="abort",e.scroll="scroll"}(i||(i={}));class a extends HTMLElement{constructor(...e){super(),this.components=e,this.instances=[],this.parentNodes=[]}connectedCallback(){this.setup()}disconnectedCallback(){this.instances.forEach(e=>{e.dispose()}),this.instances=null}setup(){let e=this;for(;e.parentNode;)e=e.parentNode,this.parentNodes.push(e);[this,...this.parentNodes].some(e=>e.nextSibling)||"loading"!==document.readyState?this.childrenAvailableCallback():(this.mutationObserver=new MutationObserver(()=>{([this,...this.parentNodes].some(e=>e.nextSibling)||"loading"!==document.readyState)&&(this.childrenAvailableCallback(),this.mutationObserver.disconnect())}),this.mutationObserver.observe(this,{childList:!0}))}childrenAvailableCallback(){this.components.forEach(e=>{const t=this.querySelector(e.SELECTOR.default);if(!t)throw new Error("Default selector of ".concat(e.name," not found: ").concat(e.SELECTOR.default));this.instances.push(new e(t))})}static init(e){if(!e.TAG_NAME)throw new Error("TAG_NAME property of ".concat(e.name," class doesn't exists"));customElements.define(e.TAG_NAME,e)}}n.d(t,"default",(function(){return l})),n.d(t,"TabWC",(function(){return d})),n.d(t,"useTabAccessibility",(function(){return h}));class l extends class{constructor(e,t,n={}){!t||t instanceof Element||console.error(Error("".concat(t," is not an HTML Element"))),this.options=n,this.element=t}static init(e,t={},n){const o=[],s=document.querySelectorAll(n);for(let n=0;n<s.length;n++){const r=s[n];if(!r.key||r.key!==e.DATA_KEY){const c=new e(s[n],t);r.key||u.setData(s[n],e.DATA_KEY,c),o.push(c)}}return o}}{constructor(e,t={}){super(l,e),this.currentIndex=null,this.currentFocusIndex=null,this.show=e=>{const t=e.currentTarget;if(!t.getAttribute("disabled")){this.tabs.forEach((e,n)=>{e===t&&(this.currentIndex=n),e.classList.remove(l.CLASS_NAME.itemActive),e.setAttribute("tabindex","-1"),e.setAttribute("aria-selected","false"),this.element.querySelectorAll(l.CLASS_NAME.tabContent)[n].classList.remove(l.CLASS_NAME.contentActive)}),t.classList.add(l.CLASS_NAME.itemActive),t.setAttribute("tabindex","0"),t.setAttribute("aria-selected","true");this.element.querySelectorAll(l.CLASS_NAME.tabContent).length>this.currentIndex&&this.element.querySelectorAll(l.CLASS_NAME.tabContent)[this.currentIndex].classList.add(l.CLASS_NAME.contentActive)}},this.onKeyDown=e=>{const t=null!==this.currentFocusIndex?this.currentFocusIndex:this.currentIndex;let n=0;switch(e.key){case"ArrowRight":e.preventDefault(),n=this.tabs.length>t+1?t+1:0,this.currentFocusIndex=n,this.tabs[n].focus();break;case"ArrowLeft":e.preventDefault(),n=t-1>=0?t-1:this.tabs.length-1,this.currentFocusIndex=n,this.tabs[n].focus()}},this.focus=e=>{e.currentTarget.classList.add(l.CLASS_NAME.focusActive)},this.blur=e=>{e.currentTarget.classList.remove(l.CLASS_NAME.focusActive)},this.element=e,u.setData(e,l.DATA_KEY,this),this.tabs=e.querySelectorAll(l.CLASS_NAME.tabItem),this.tabs.forEach((e,t)=>{e.addEventListener("click",this.show),e.classList.contains(l.CLASS_NAME.itemActive)&&(this.currentIndex=t),e.addEventListener("focus",this.focus),e.addEventListener("blur",this.blur)}),e.addEventListener("keydown",this.onKeyDown)}dispose(){this.tabs.forEach(e=>{e.removeEventListener("click",this.show),e.removeEventListener("focus",this.focus),e.removeEventListener("blur",this.blur)}),this.element.removeEventListener("keydown",this.onKeyDown),u.removeData(this.element,l.DATA_KEY)}static getInstance(e){return u.getData(e,l.DATA_KEY)}static init(e={}){return super.init(this,e,l.CLASS_NAME.component)}}l.NAME="".concat(s.KEY_PREFIX,"-tab"),l.DATA_KEY="".concat(s.KEY_PREFIX,".tab"),l.CLASS_NAME={component:".".concat(l.NAME),tabItem:".".concat(l.NAME,"__item"),focusActive:"".concat(l.NAME,"__item--focus"),tabContent:".".concat(l.NAME,"__content"),itemActive:"".concat(l.NAME,"__item--active"),contentActive:"".concat(l.NAME,"__content--active")};class d extends a{constructor(){super(l)}static init(){a.init(d)}}d.TAG_NAME=l.NAME;const h=(()=>{const e="".concat(s.KEY_PREFIX,"--use-tab");document.addEventListener("keydown",t=>{"Tab"!==t.key&&"ArrowLeft"!==t.key&&"ArrowRight"!==t.key||document.body.classList.add(e)})})()}]).default}));
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("Tab",[],t):"object"==typeof exports?exports.Tab=t():e.Tab=t()}(window,(function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var s=t[o]={i:o,l:!1,exports:{}};return e[o].call(s.exports,s,s.exports,n),s.l=!0,s.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var s in e)n.d(o,s,function(t){return e[t]}.bind(null,s));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";n.r(t),window.NJStore=window.NJStore||[];const o=(()=>{const e=window.NJStore;return{set(t,n,o){void 0===t.key&&(t.key={key:n,id:e.length}),e[t.key.id]=o},get:(t,n)=>(t.key&&!n.id&&(n=t.key),n&&n.id?e[n.id]:null),delete(t,n){if(void 0===t.key)return;const o=t.key;o.key===n&&(delete e[o.id],delete t.key)}}})();var s,r,c,i,u={setData(e,t,n){o.set(e,t,n)},getData:(e,t)=>o.get(e,t),removeData(e,t){o.delete(e,t)}};!function(e){e.KEY_PREFIX="nj",e.DATA_API_KEY=".data-api"}(s||(s={})),function(e){e.mouseenter="mouseover",e.mouseleave="mouseout"}(r||(r={})),function(e){e.click="click",e.close="close",e.closed="closed",e.hide="hide",e.hidden="hidden",e.input="input",e.keydown="keydown",e.keyup="keyup",e.onchange="onchange",e.show="show",e.shown="shown",e.inserted="inserted",e.focusin="focusin",e.focusout="focusout",e.mouseenter="mouseenter",e.mouseleave="mouseleave",e.mouseup="mouseup",e.mousedown="mousedown"}(c||(c={})),function(e){e.click="click",e.dblclick="dblclick",e.mouseup="mouseup",e.mousedown="mousedown",e.contextmenu="contextmenu",e.mousewheel="mousewheel",e.DOMMouseScroll="DOMMouseScroll",e.mouseover="mouseover",e.mouseout="mouseout",e.mousemove="mousemove",e.selectstart="selectstart",e.selectend="selectend",e.keydown="keydown",e.keypress="keypress",e.keyup="keyup",e.orientationchange="orientationchange",e.touchstart="touchstart",e.touchmove="touchmove",e.touchend="touchend",e.touchcancel="touchcancel",e.pointerdown="pointerdown",e.pointermove="pointermove",e.pointerup="pointerup",e.pointerleave="pointerleave",e.pointercancel="pointercancel",e.gesturestart="gesturestart",e.gesturechange="gesturechange",e.gestureend="gestureend",e.focus="focus",e.blur="blur",e.change="change",e.reset="reset",e.select="select",e.submit="submit",e.focusin="focusin",e.focusout="focusout",e.load="load",e.unload="unload",e.beforeunload="beforeunload",e.resize="resize",e.move="move",e.DOMContentLoaded="DOMContentLoaded",e.readystatechange="readystatechange",e.error="error",e.abort="abort",e.scroll="scroll"}(i||(i={}));class a extends HTMLElement{constructor(...e){super(),this.components=e,this.instances=[],this.parentNodes=[]}connectedCallback(){this.setup()}disconnectedCallback(){this.instances.forEach(e=>{e.dispose()}),this.instances=null}setup(){let e=this;for(;e.parentNode;)e=e.parentNode,this.parentNodes.push(e);[this,...this.parentNodes].some(e=>e.nextSibling)||"loading"!==document.readyState?this.childrenAvailableCallback():(this.mutationObserver=new MutationObserver(()=>{([this,...this.parentNodes].some(e=>e.nextSibling)||"loading"!==document.readyState)&&(this.childrenAvailableCallback(),this.mutationObserver.disconnect())}),this.mutationObserver.observe(this,{childList:!0}))}childrenAvailableCallback(){this.components.forEach(e=>{const t=this.querySelector(e.SELECTOR.default);if(!t)throw new Error("Default selector of ".concat(e.name," not found: ").concat(e.SELECTOR.default));this.instances.push(new e(t))})}static init(e){if(!e.TAG_NAME)throw new Error("TAG_NAME property of ".concat(e.name," class doesn't exists"));customElements.define(e.TAG_NAME,e)}}n.d(t,"default",(function(){return l})),n.d(t,"TabWC",(function(){return d})),n.d(t,"useTabAccessibility",(function(){return h}));class l extends class{constructor(e,t,n={}){!t||t instanceof Element||console.error(Error("".concat(t," is not an HTML Element"))),this.options=n,this.element=t}static init(e,t={},n){const o=[],s=document.querySelectorAll(n);for(let n=0;n<s.length;n++){const r=s[n];if(!r.key||r.key!==e.DATA_KEY){const c=new e(s[n],t);r.key||u.setData(s[n],e.DATA_KEY,c),o.push(c)}}return o}}{constructor(e,t={}){super(l,e),this.currentIndex=null,this.currentFocusIndex=null,this.show=e=>{const t=e.currentTarget;if(!t.getAttribute("disabled")){this.tabs.forEach((e,n)=>{e===t&&(this.currentIndex=n),e.classList.remove(l.CLASS_NAME.itemActive),e.setAttribute("tabindex","-1"),e.setAttribute("aria-selected","false"),this.element.querySelectorAll(l.CLASS_NAME.tabContent)[n].classList.remove(l.CLASS_NAME.contentActive)}),t.classList.add(l.CLASS_NAME.itemActive),t.setAttribute("tabindex","0"),t.setAttribute("aria-selected","true");this.element.querySelectorAll(l.CLASS_NAME.tabContent).length>this.currentIndex&&this.element.querySelectorAll(l.CLASS_NAME.tabContent)[this.currentIndex].classList.add(l.CLASS_NAME.contentActive)}},this.onKeyDown=e=>{const t=null!==this.currentFocusIndex?this.currentFocusIndex:this.currentIndex;let n=0;switch(e.key){case"ArrowRight":e.preventDefault(),n=this.tabs.length>t+1?t+1:0,this.currentFocusIndex=n,this.tabs[n].focus();break;case"ArrowLeft":e.preventDefault(),n=t-1>=0?t-1:this.tabs.length-1,this.currentFocusIndex=n,this.tabs[n].focus()}},this.focus=e=>{e.currentTarget.classList.add(l.CLASS_NAME.focusActive)},this.blur=e=>{e.currentTarget.classList.remove(l.CLASS_NAME.focusActive)},this.element=e,u.setData(e,l.DATA_KEY,this),this.tabs=e.querySelectorAll(l.CLASS_NAME.tabItem),this.tabs.forEach((e,t)=>{e.addEventListener("click",this.show),e.classList.contains(l.CLASS_NAME.itemActive)&&(this.currentIndex=t),e.addEventListener("focus",this.focus),e.addEventListener("blur",this.blur)}),e.addEventListener("keydown",this.onKeyDown)}dispose(){this.tabs.forEach(e=>{e.removeEventListener("click",this.show),e.removeEventListener("focus",this.focus),e.removeEventListener("blur",this.blur)}),this.element.removeEventListener("keydown",this.onKeyDown),u.removeData(this.element,l.DATA_KEY)}static getInstance(e){return u.getData(e,l.DATA_KEY)}static init(e={}){return super.init(this,e,l.SELECTOR.default)}}l.NAME="".concat(s.KEY_PREFIX,"-tab"),l.DATA_KEY="".concat(s.KEY_PREFIX,".tab"),l.CLASS_NAME={component:".".concat(l.NAME),tabItem:".".concat(l.NAME,"__item"),focusActive:"".concat(l.NAME,"__item--focus"),tabContent:".".concat(l.NAME,"__content"),itemActive:"".concat(l.NAME,"__item--active"),contentActive:"".concat(l.NAME,"__content--active")},l.SELECTOR={default:".".concat(l.NAME)};class d extends a{constructor(){super(l)}static init(){a.init(d)}}d.TAG_NAME=l.NAME;const h=(()=>{const e="".concat(s.KEY_PREFIX,"--use-tab");document.addEventListener("keydown",t=>{"Tab"!==t.key&&"ArrowLeft"!==t.key&&"ArrowRight"!==t.key||document.body.classList.add(e)})})()}]).default}));

@@ -1,1 +0,1 @@

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("Tag",[],t):"object"==typeof exports?exports.Tag=t():e.Tag=t()}(window,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=1)}([function(e,t){var n,r;r={},function(e,t){function n(){this._delay=0,this._endDelay=0,this._fill="none",this._iterationStart=0,this._iterations=1,this._duration=0,this._playbackRate=1,this._direction="normal",this._easing="linear",this._easingFunction=d}function r(){return e.isDeprecated("Invalid timing inputs","2016-03-02","TypeError exceptions will be thrown instead.",!0)}function i(t,r,i){var o=new n;return r&&(o.fill="both",o.duration="auto"),"number"!=typeof t||isNaN(t)?void 0!==t&&Object.getOwnPropertyNames(t).forEach((function(n){if("auto"!=t[n]){if(("number"==typeof o[n]||"duration"==n)&&("number"!=typeof t[n]||isNaN(t[n])))return;if("fill"==n&&-1==c.indexOf(t[n]))return;if("direction"==n&&-1==f.indexOf(t[n]))return;if("playbackRate"==n&&1!==t[n]&&e.isDeprecated("AnimationEffectTiming.playbackRate","2014-11-28","Use Animation.playbackRate instead."))return;o[n]=t[n]}})):o.duration=t,o}function o(e,t,n,r){return e<0||e>1||n<0||n>1?d:function(i){function o(e,t,n){return 3*e*(1-n)*(1-n)*n+3*t*(1-n)*n*n+n*n*n}if(i<=0){var a=0;return e>0?a=t/e:!t&&n>0&&(a=r/n),a*i}if(i>=1){var s=0;return n<1?s=(r-1)/(n-1):1==n&&e<1&&(s=(t-1)/(e-1)),1+s*(i-1)}for(var u=0,l=1;u<l;){var c=(u+l)/2,f=o(e,n,c);if(Math.abs(i-f)<1e-5)return o(t,r,c);f<i?u=c:l=c}return o(t,r,c)}}function a(e,t){return function(n){if(n>=1)return 1;var r=1/e;return(n+=t*r)-n%r}}function s(e){v||(v=document.createElement("div").style),v.animationTimingFunction="",v.animationTimingFunction=e;var t=v.animationTimingFunction;if(""==t&&r())throw new TypeError(e+" is not a valid value for easing");return t}function u(e){if("linear"==e)return d;var t=y.exec(e);if(t)return o.apply(this,t.slice(1).map(Number));var n=_.exec(e);if(n)return a(Number(n[1]),m);var r=T.exec(e);return r?a(Number(r[1]),{start:h,middle:p,end:m}[r[2]]):g[e]||d}function l(e,t,n){if(null==t)return x;var r=n.delay+e+n.endDelay;return t<Math.min(n.delay,r)?E:t>=Math.min(n.delay+e,r)?w:k}var c="backwards|forwards|both|none".split("|"),f="reverse|alternate|alternate-reverse".split("|"),d=function(e){return e};n.prototype={_setMember:function(t,n){this["_"+t]=n,this._effect&&(this._effect._timingInput[t]=n,this._effect._timing=e.normalizeTimingInput(this._effect._timingInput),this._effect.activeDuration=e.calculateActiveDuration(this._effect._timing),this._effect._animation&&this._effect._animation._rebuildUnderlyingAnimation())},get playbackRate(){return this._playbackRate},set delay(e){this._setMember("delay",e)},get delay(){return this._delay},set endDelay(e){this._setMember("endDelay",e)},get endDelay(){return this._endDelay},set fill(e){this._setMember("fill",e)},get fill(){return this._fill},set iterationStart(e){if((isNaN(e)||e<0)&&r())throw new TypeError("iterationStart must be a non-negative number, received: "+e);this._setMember("iterationStart",e)},get iterationStart(){return this._iterationStart},set duration(e){if("auto"!=e&&(isNaN(e)||e<0)&&r())throw new TypeError("duration must be non-negative or auto, received: "+e);this._setMember("duration",e)},get duration(){return this._duration},set direction(e){this._setMember("direction",e)},get direction(){return this._direction},set easing(e){this._easingFunction=u(s(e)),this._setMember("easing",e)},get easing(){return this._easing},set iterations(e){if((isNaN(e)||e<0)&&r())throw new TypeError("iterations must be non-negative, received: "+e);this._setMember("iterations",e)},get iterations(){return this._iterations}};var h=1,p=.5,m=0,g={ease:o(.25,.1,.25,1),"ease-in":o(.42,0,1,1),"ease-out":o(0,0,.58,1),"ease-in-out":o(.42,0,.58,1),"step-start":a(1,h),"step-middle":a(1,p),"step-end":a(1,m)},v=null,b="\\s*(-?\\d+\\.?\\d*|-?\\.\\d+)\\s*",y=new RegExp("cubic-bezier\\("+b+","+b+","+b+","+b+"\\)"),_=/steps\(\s*(\d+)\s*\)/,T=/steps\(\s*(\d+)\s*,\s*(start|middle|end)\s*\)/,x=0,E=1,w=2,k=3;e.cloneTimingInput=function(e){if("number"==typeof e)return e;var t={};for(var n in e)t[n]=e[n];return t},e.makeTiming=i,e.numericTimingToObject=function(e){return"number"==typeof e&&(e=isNaN(e)?{duration:0}:{duration:e}),e},e.normalizeTimingInput=function(t,n){return i(t=e.numericTimingToObject(t),n)},e.calculateActiveDuration=function(e){return Math.abs(function(e){return 0===e.duration||0===e.iterations?0:e.duration*e.iterations}(e)/e.playbackRate)},e.calculateIterationProgress=function(e,t,n){var r=l(e,t,n),i=function(e,t,n,r,i){switch(r){case E:return"backwards"==t||"both"==t?0:null;case k:return n-i;case w:return"forwards"==t||"both"==t?e:null;case x:return null}}(e,n.fill,t,r,n.delay);if(null===i)return null;var o=function(e,t,n,r,i){var o=i;return 0===e?t!==E&&(o+=n):o+=r/e,o}(n.duration,r,n.iterations,i,n.iterationStart),a=function(e,t,n,r,i,o){var a=e===1/0?t%1:e%1;return 0!==a||n!==w||0===r||0===i&&0!==o||(a=1),a}(o,n.iterationStart,r,n.iterations,i,n.duration),s=function(e,t,n,r){return e===w&&t===1/0?1/0:1===n?Math.floor(r)-1:Math.floor(r)}(r,n.iterations,a,o),u=function(e,t,n){var r=e;if("normal"!==e&&"reverse"!==e){var i=t;"alternate-reverse"===e&&(i+=1),r="normal",i!==1/0&&i%2!=0&&(r="reverse")}return"normal"===r?n:1-n}(n.direction,s,a);return n._easingFunction(u)},e.calculatePhase=l,e.normalizeEasing=s,e.parseEasingFunction=u}(n={}),function(e,t){function n(e,t){return e in u&&u[e][t]||t}function r(e,t,r){if(!function(e){return"display"===e||0===e.lastIndexOf("animation",0)||0===e.lastIndexOf("transition",0)}(e)){var i=o[e];if(i)for(var s in a.style[e]=t,i){var u=i[s],l=a.style[u];r[u]=n(u,l)}else r[e]=n(e,t)}}function i(e){var t=[];for(var n in e)if(!(n in["easing","offset","composite"])){var r=e[n];Array.isArray(r)||(r=[r]);for(var i,o=r.length,a=0;a<o;a++)(i={}).offset="offset"in e?e.offset:1==o?1:a/(o-1),"easing"in e&&(i.easing=e.easing),"composite"in e&&(i.composite=e.composite),i[n]=r[a],t.push(i)}return t.sort((function(e,t){return e.offset-t.offset})),t}var o={background:["backgroundImage","backgroundPosition","backgroundSize","backgroundRepeat","backgroundAttachment","backgroundOrigin","backgroundClip","backgroundColor"],border:["borderTopColor","borderTopStyle","borderTopWidth","borderRightColor","borderRightStyle","borderRightWidth","borderBottomColor","borderBottomStyle","borderBottomWidth","borderLeftColor","borderLeftStyle","borderLeftWidth"],borderBottom:["borderBottomWidth","borderBottomStyle","borderBottomColor"],borderColor:["borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"],borderLeft:["borderLeftWidth","borderLeftStyle","borderLeftColor"],borderRadius:["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],borderRight:["borderRightWidth","borderRightStyle","borderRightColor"],borderTop:["borderTopWidth","borderTopStyle","borderTopColor"],borderWidth:["borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth"],flex:["flexGrow","flexShrink","flexBasis"],font:["fontFamily","fontSize","fontStyle","fontVariant","fontWeight","lineHeight"],margin:["marginTop","marginRight","marginBottom","marginLeft"],outline:["outlineColor","outlineStyle","outlineWidth"],padding:["paddingTop","paddingRight","paddingBottom","paddingLeft"]},a=document.createElementNS("http://www.w3.org/1999/xhtml","div"),s={thin:"1px",medium:"3px",thick:"5px"},u={borderBottomWidth:s,borderLeftWidth:s,borderRightWidth:s,borderTopWidth:s,fontSize:{"xx-small":"60%","x-small":"75%",small:"89%",medium:"100%",large:"120%","x-large":"150%","xx-large":"200%"},fontWeight:{normal:"400",bold:"700"},outlineWidth:s,textShadow:{none:"0px 0px 0px transparent"},boxShadow:{none:"0px 0px 0px 0px transparent"}};e.convertToArrayForm=i,e.normalizeKeyframes=function(t){if(null==t)return[];window.Symbol&&Symbol.iterator&&Array.prototype.from&&t[Symbol.iterator]&&(t=Array.from(t)),Array.isArray(t)||(t=i(t));for(var n=t.map((function(t){var n={};for(var i in t){var o=t[i];if("offset"==i){if(null!=o){if(o=Number(o),!isFinite(o))throw new TypeError("Keyframe offsets must be numbers.");if(o<0||o>1)throw new TypeError("Keyframe offsets must be between 0 and 1.")}}else if("composite"==i){if("add"==o||"accumulate"==o)throw{type:DOMException.NOT_SUPPORTED_ERR,name:"NotSupportedError",message:"add compositing is not supported"};if("replace"!=o)throw new TypeError("Invalid composite mode "+o+".")}else o="easing"==i?e.normalizeEasing(o):""+o;r(i,o,n)}return null==n.offset&&(n.offset=null),null==n.easing&&(n.easing="linear"),n})),o=!0,a=-1/0,s=0;s<n.length;s++){var u=n[s].offset;if(null!=u){if(u<a)throw new TypeError("Keyframes are not loosely sorted by offset. Sort or specify offsets.");a=u}else o=!1}return n=n.filter((function(e){return e.offset>=0&&e.offset<=1})),o||function(){var e=n.length;null==n[e-1].offset&&(n[e-1].offset=1),e>1&&null==n[0].offset&&(n[0].offset=0);for(var t=0,r=n[0].offset,i=1;i<e;i++){var o=n[i].offset;if(null!=o){for(var a=1;a<i-t;a++)n[t+a].offset=r+(o-r)*a/(i-t);t=i,r=o}}}(),n}}(n),function(e){var t={};e.isDeprecated=function(e,n,r,i){var o=i?"are":"is",a=new Date,s=new Date(n);return s.setMonth(s.getMonth()+3),!(a<s&&(e in t||console.warn("Web Animations: "+e+" "+o+" deprecated and will stop working on "+s.toDateString()+". "+r),t[e]=!0,1))},e.deprecated=function(t,n,r,i){var o=i?"are":"is";if(e.isDeprecated(t,n,r,i))throw new Error(t+" "+o+" no longer supported. "+r)}}(n),function(){if(document.documentElement.animate){var e=document.documentElement.animate([],0),t=!0;if(e&&(t=!1,"play|currentTime|pause|reverse|playbackRate|cancel|finish|startTime|playState".split("|").forEach((function(n){void 0===e[n]&&(t=!0)}))),!t)return}!function(e,t,n){t.convertEffectInput=function(n){var r=function(e){for(var t={},n=0;n<e.length;n++)for(var r in e[n])if("offset"!=r&&"easing"!=r&&"composite"!=r){var i={offset:e[n].offset,easing:e[n].easing,value:e[n][r]};t[r]=t[r]||[],t[r].push(i)}for(var o in t){var a=t[o];if(0!=a[0].offset||1!=a[a.length-1].offset)throw{type:DOMException.NOT_SUPPORTED_ERR,name:"NotSupportedError",message:"Partial keyframes are not supported"}}return t}(e.normalizeKeyframes(n)),i=function(n){var r=[];for(var i in n)for(var o=n[i],a=0;a<o.length-1;a++){var s=a,u=a+1,l=o[s].offset,c=o[u].offset,f=l,d=c;0==a&&(f=-1/0,0==c&&(u=s)),a==o.length-2&&(d=1/0,1==l&&(s=u)),r.push({applyFrom:f,applyTo:d,startOffset:o[s].offset,endOffset:o[u].offset,easingFunction:e.parseEasingFunction(o[s].easing),property:i,interpolation:t.propertyInterpolation(i,o[s].value,o[u].value)})}return r.sort((function(e,t){return e.startOffset-t.startOffset})),r}(r);return function(e,n){if(null!=n)i.filter((function(e){return n>=e.applyFrom&&n<e.applyTo})).forEach((function(r){var i=n-r.startOffset,o=r.endOffset-r.startOffset,a=0==o?0:r.easingFunction(i/o);t.apply(e,r.property,r.interpolation(a))}));else for(var o in r)"offset"!=o&&"easing"!=o&&"composite"!=o&&t.clear(e,o)}}}(n,r),function(e,t,n){function r(e){return e.replace(/-(.)/g,(function(e,t){return t.toUpperCase()}))}function i(e,t,n){o[n]=o[n]||[],o[n].push([e,t])}var o={};t.addPropertiesHandler=function(e,t,n){for(var o=0;o<n.length;o++)i(e,t,r(n[o]))};var a={backgroundColor:"transparent",backgroundPosition:"0% 0%",borderBottomColor:"currentColor",borderBottomLeftRadius:"0px",borderBottomRightRadius:"0px",borderBottomWidth:"3px",borderLeftColor:"currentColor",borderLeftWidth:"3px",borderRightColor:"currentColor",borderRightWidth:"3px",borderSpacing:"2px",borderTopColor:"currentColor",borderTopLeftRadius:"0px",borderTopRightRadius:"0px",borderTopWidth:"3px",bottom:"auto",clip:"rect(0px, 0px, 0px, 0px)",color:"black",fontSize:"100%",fontWeight:"400",height:"auto",left:"auto",letterSpacing:"normal",lineHeight:"120%",marginBottom:"0px",marginLeft:"0px",marginRight:"0px",marginTop:"0px",maxHeight:"none",maxWidth:"none",minHeight:"0px",minWidth:"0px",opacity:"1.0",outlineColor:"invert",outlineOffset:"0px",outlineWidth:"3px",paddingBottom:"0px",paddingLeft:"0px",paddingRight:"0px",paddingTop:"0px",right:"auto",strokeDasharray:"none",strokeDashoffset:"0px",textIndent:"0px",textShadow:"0px 0px 0px transparent",top:"auto",transform:"",verticalAlign:"0px",visibility:"visible",width:"auto",wordSpacing:"normal",zIndex:"auto"};t.propertyInterpolation=function(n,i,s){var u=n;/-/.test(n)&&!e.isDeprecated("Hyphenated property names","2016-03-22","Use camelCase instead.",!0)&&(u=r(n)),"initial"!=i&&"initial"!=s||("initial"==i&&(i=a[u]),"initial"==s&&(s=a[u]));for(var l=i==s?[]:o[u],c=0;l&&c<l.length;c++){var f=l[c][0](i),d=l[c][0](s);if(void 0!==f&&void 0!==d){var h=l[c][1](f,d);if(h){var p=t.Interpolation.apply(null,h);return function(e){return 0==e?i:1==e?s:p(e)}}}}return t.Interpolation(!1,!0,(function(e){return e?s:i}))}}(n,r),function(e,t,n){t.KeyframeEffect=function(n,r,i,o){var a,s=function(t){var n=e.calculateActiveDuration(t),r=function(r){return e.calculateIterationProgress(n,r,t)};return r._totalDuration=t.delay+n+t.endDelay,r}(e.normalizeTimingInput(i)),u=t.convertEffectInput(r),l=function(){u(n,a)};return l._update=function(e){return null!==(a=s(e))},l._clear=function(){u(n,null)},l._hasSameTarget=function(e){return n===e},l._target=n,l._totalDuration=s._totalDuration,l._id=o,l}}(n,r),function(e,t){function n(e,t,n){n.enumerable=!0,n.configurable=!0,Object.defineProperty(e,t,n)}function r(e){this._element=e,this._surrogateStyle=document.createElementNS("http://www.w3.org/1999/xhtml","div").style,this._style=e.style,this._length=0,this._isAnimatedProperty={},this._updateSvgTransformAttr=function(e,t){return!(!t.namespaceURI||-1==t.namespaceURI.indexOf("/svg"))&&(o in e||(e[o]=/Trident|MSIE|IEMobile|Edge|Android 4/i.test(e.navigator.userAgent)),e[o])}(window,e),this._savedTransformAttr=null;for(var t=0;t<this._style.length;t++){var n=this._style[t];this._surrogateStyle[n]=this._style[n]}this._updateIndices()}function i(e){if(!e._webAnimationsPatchedStyle){var t=new r(e);try{n(e,"style",{get:function(){return t}})}catch(t){e.style._set=function(t,n){e.style[t]=n},e.style._clear=function(t){e.style[t]=""}}e._webAnimationsPatchedStyle=e.style}}var o="_webAnimationsUpdateSvgTransformAttr",a={cssText:1,length:1,parentRule:1},s={getPropertyCSSValue:1,getPropertyPriority:1,getPropertyValue:1,item:1,removeProperty:1,setProperty:1},u={removeProperty:1,setProperty:1};for(var l in r.prototype={get cssText(){return this._surrogateStyle.cssText},set cssText(e){for(var t={},n=0;n<this._surrogateStyle.length;n++)t[this._surrogateStyle[n]]=!0;for(this._surrogateStyle.cssText=e,this._updateIndices(),n=0;n<this._surrogateStyle.length;n++)t[this._surrogateStyle[n]]=!0;for(var r in t)this._isAnimatedProperty[r]||this._style.setProperty(r,this._surrogateStyle.getPropertyValue(r))},get length(){return this._surrogateStyle.length},get parentRule(){return this._style.parentRule},_updateIndices:function(){for(;this._length<this._surrogateStyle.length;)Object.defineProperty(this,this._length,{configurable:!0,enumerable:!1,get:function(e){return function(){return this._surrogateStyle[e]}}(this._length)}),this._length++;for(;this._length>this._surrogateStyle.length;)this._length--,Object.defineProperty(this,this._length,{configurable:!0,enumerable:!1,value:void 0})},_set:function(t,n){this._style[t]=n,this._isAnimatedProperty[t]=!0,this._updateSvgTransformAttr&&"transform"==e.unprefixedPropertyName(t)&&(null==this._savedTransformAttr&&(this._savedTransformAttr=this._element.getAttribute("transform")),this._element.setAttribute("transform",e.transformToSvgMatrix(n)))},_clear:function(t){this._style[t]=this._surrogateStyle[t],this._updateSvgTransformAttr&&"transform"==e.unprefixedPropertyName(t)&&(this._savedTransformAttr?this._element.setAttribute("transform",this._savedTransformAttr):this._element.removeAttribute("transform"),this._savedTransformAttr=null),delete this._isAnimatedProperty[t]}},s)r.prototype[l]=function(e,t){return function(){var n=this._surrogateStyle[e].apply(this._surrogateStyle,arguments);return t&&(this._isAnimatedProperty[arguments[0]]||this._style[e].apply(this._style,arguments),this._updateIndices()),n}}(l,l in u);for(var c in document.documentElement.style)c in a||c in s||function(e){n(r.prototype,e,{get:function(){return this._surrogateStyle[e]},set:function(t){this._surrogateStyle[e]=t,this._updateIndices(),this._isAnimatedProperty[e]||(this._style[e]=t)}})}(c);e.apply=function(t,n,r){i(t),t.style._set(e.propertyName(n),r)},e.clear=function(t,n){t._webAnimationsPatchedStyle&&t.style._clear(e.propertyName(n))}}(r),function(e){window.Element.prototype.animate=function(t,n){var r="";return n&&n.id&&(r=n.id),e.timeline._play(e.KeyframeEffect(this,t,n,r))}}(r),function(e,t){e.Interpolation=function(e,t,n){return function(r){return n(function e(t,n,r){if("number"==typeof t&&"number"==typeof n)return t*(1-r)+n*r;if("boolean"==typeof t&&"boolean"==typeof n)return r<.5?t:n;if(t.length==n.length){for(var i=[],o=0;o<t.length;o++)i.push(e(t[o],n[o],r));return i}throw"Mismatched interpolation arguments "+t+":"+n}(e,t,r))}}}(r),function(e,t){var n=function(){function e(e,t){for(var n=[[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0]],r=0;r<4;r++)for(var i=0;i<4;i++)for(var o=0;o<4;o++)n[r][i]+=t[r][o]*e[o][i];return n}return function(t,n,r,i,o){for(var a=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]],s=0;s<4;s++)a[s][3]=o[s];for(s=0;s<3;s++)for(var u=0;u<3;u++)a[3][s]+=t[u]*a[u][s];var l=i[0],c=i[1],f=i[2],d=i[3],h=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]];h[0][0]=1-2*(c*c+f*f),h[0][1]=2*(l*c-f*d),h[0][2]=2*(l*f+c*d),h[1][0]=2*(l*c+f*d),h[1][1]=1-2*(l*l+f*f),h[1][2]=2*(c*f-l*d),h[2][0]=2*(l*f-c*d),h[2][1]=2*(c*f+l*d),h[2][2]=1-2*(l*l+c*c),a=e(a,h);var p=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]];for(r[2]&&(p[2][1]=r[2],a=e(a,p)),r[1]&&(p[2][1]=0,p[2][0]=r[0],a=e(a,p)),r[0]&&(p[2][0]=0,p[1][0]=r[0],a=e(a,p)),s=0;s<3;s++)for(u=0;u<3;u++)a[s][u]*=n[s];return function(e){return 0==e[0][2]&&0==e[0][3]&&0==e[1][2]&&0==e[1][3]&&0==e[2][0]&&0==e[2][1]&&1==e[2][2]&&0==e[2][3]&&0==e[3][2]&&1==e[3][3]}(a)?[a[0][0],a[0][1],a[1][0],a[1][1],a[3][0],a[3][1]]:a[0].concat(a[1],a[2],a[3])}}();e.composeMatrix=n,e.quat=function(t,n,r){var i=e.dot(t,n),o=[];if(1===(i=function(e,t,n){return Math.max(Math.min(e,n),t)}(i,-1,1)))o=t;else for(var a=Math.acos(i),s=1*Math.sin(r*a)/Math.sqrt(1-i*i),u=0;u<4;u++)o.push(t[u]*(Math.cos(r*a)-i*s)+n[u]*s);return o}}(r),function(e,t,n){e.sequenceNumber=0;var r=function(e,t,n){this.target=e,this.currentTime=t,this.timelineTime=n,this.type="finish",this.bubbles=!1,this.cancelable=!1,this.currentTarget=e,this.defaultPrevented=!1,this.eventPhase=Event.AT_TARGET,this.timeStamp=Date.now()};t.Animation=function(t){this.id="",t&&t._id&&(this.id=t._id),this._sequenceNumber=e.sequenceNumber++,this._currentTime=0,this._startTime=null,this._paused=!1,this._playbackRate=1,this._inTimeline=!0,this._finishedFlag=!0,this.onfinish=null,this._finishHandlers=[],this._effect=t,this._inEffect=this._effect._update(0),this._idle=!0,this._currentTimePending=!1},t.Animation.prototype={_ensureAlive:function(){this.playbackRate<0&&0===this.currentTime?this._inEffect=this._effect._update(-1):this._inEffect=this._effect._update(this.currentTime),this._inTimeline||!this._inEffect&&this._finishedFlag||(this._inTimeline=!0,t.timeline._animations.push(this))},_tickCurrentTime:function(e,t){e!=this._currentTime&&(this._currentTime=e,this._isFinished&&!t&&(this._currentTime=this._playbackRate>0?this._totalDuration:0),this._ensureAlive())},get currentTime(){return this._idle||this._currentTimePending?null:this._currentTime},set currentTime(e){e=+e,isNaN(e)||(t.restart(),this._paused||null==this._startTime||(this._startTime=this._timeline.currentTime-e/this._playbackRate),this._currentTimePending=!1,this._currentTime!=e&&(this._idle&&(this._idle=!1,this._paused=!0),this._tickCurrentTime(e,!0),t.applyDirtiedAnimation(this)))},get startTime(){return this._startTime},set startTime(e){e=+e,isNaN(e)||this._paused||this._idle||(this._startTime=e,this._tickCurrentTime((this._timeline.currentTime-this._startTime)*this.playbackRate),t.applyDirtiedAnimation(this))},get playbackRate(){return this._playbackRate},set playbackRate(e){if(e!=this._playbackRate){var n=this.currentTime;this._playbackRate=e,this._startTime=null,"paused"!=this.playState&&"idle"!=this.playState&&(this._finishedFlag=!1,this._idle=!1,this._ensureAlive(),t.applyDirtiedAnimation(this)),null!=n&&(this.currentTime=n)}},get _isFinished(){return!this._idle&&(this._playbackRate>0&&this._currentTime>=this._totalDuration||this._playbackRate<0&&this._currentTime<=0)},get _totalDuration(){return this._effect._totalDuration},get playState(){return this._idle?"idle":null==this._startTime&&!this._paused&&0!=this.playbackRate||this._currentTimePending?"pending":this._paused?"paused":this._isFinished?"finished":"running"},_rewind:function(){if(this._playbackRate>=0)this._currentTime=0;else{if(!(this._totalDuration<1/0))throw new DOMException("Unable to rewind negative playback rate animation with infinite duration","InvalidStateError");this._currentTime=this._totalDuration}},play:function(){this._paused=!1,(this._isFinished||this._idle)&&(this._rewind(),this._startTime=null),this._finishedFlag=!1,this._idle=!1,this._ensureAlive(),t.applyDirtiedAnimation(this)},pause:function(){this._isFinished||this._paused||this._idle?this._idle&&(this._rewind(),this._idle=!1):this._currentTimePending=!0,this._startTime=null,this._paused=!0},finish:function(){this._idle||(this.currentTime=this._playbackRate>0?this._totalDuration:0,this._startTime=this._totalDuration-this.currentTime,this._currentTimePending=!1,t.applyDirtiedAnimation(this))},cancel:function(){this._inEffect&&(this._inEffect=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._startTime=null,this._effect._update(null),t.applyDirtiedAnimation(this))},reverse:function(){this.playbackRate*=-1,this.play()},addEventListener:function(e,t){"function"==typeof t&&"finish"==e&&this._finishHandlers.push(t)},removeEventListener:function(e,t){if("finish"==e){var n=this._finishHandlers.indexOf(t);n>=0&&this._finishHandlers.splice(n,1)}},_fireEvents:function(e){if(this._isFinished){if(!this._finishedFlag){var t=new r(this,this._currentTime,e),n=this._finishHandlers.concat(this.onfinish?[this.onfinish]:[]);setTimeout((function(){n.forEach((function(e){e.call(t.target,t)}))}),0),this._finishedFlag=!0}}else this._finishedFlag=!1},_tick:function(e,t){this._idle||this._paused||(null==this._startTime?t&&(this.startTime=e-this._currentTime/this.playbackRate):this._isFinished||this._tickCurrentTime((e-this._startTime)*this.playbackRate)),t&&(this._currentTimePending=!1,this._fireEvents(e))},get _needsTick(){return this.playState in{pending:1,running:1}||!this._finishedFlag},_targetAnimations:function(){var e=this._effect._target;return e._activeAnimations||(e._activeAnimations=[]),e._activeAnimations},_markTarget:function(){var e=this._targetAnimations();-1===e.indexOf(this)&&e.push(this)},_unmarkTarget:function(){var e=this._targetAnimations(),t=e.indexOf(this);-1!==t&&e.splice(t,1)}}}(n,r),function(e,t,n){function r(e){var t=l;l=[],e<m.currentTime&&(e=m.currentTime),m._animations.sort(i),m._animations=s(e,!0,m._animations)[0],t.forEach((function(t){t[1](e)})),a()}function i(e,t){return e._sequenceNumber-t._sequenceNumber}function o(){this._animations=[],this.currentTime=window.performance&&performance.now?performance.now():0}function a(){h.forEach((function(e){e()})),h.length=0}function s(e,n,r){p=!0,d=!1,t.timeline.currentTime=e,f=!1;var i=[],o=[],a=[],s=[];return r.forEach((function(t){t._tick(e,n),t._inEffect?(o.push(t._effect),t._markTarget()):(i.push(t._effect),t._unmarkTarget()),t._needsTick&&(f=!0);var r=t._inEffect||t._needsTick;t._inTimeline=r,r?a.push(t):s.push(t)})),h.push.apply(h,i),h.push.apply(h,o),f&&requestAnimationFrame((function(){})),p=!1,[a,s]}var u=window.requestAnimationFrame,l=[],c=0;window.requestAnimationFrame=function(e){var t=c++;return 0==l.length&&u(r),l.push([t,e]),t},window.cancelAnimationFrame=function(e){l.forEach((function(t){t[0]==e&&(t[1]=function(){})}))},o.prototype={_play:function(n){n._timing=e.normalizeTimingInput(n.timing);var r=new t.Animation(n);return r._idle=!1,r._timeline=this,this._animations.push(r),t.restart(),t.applyDirtiedAnimation(r),r}};var f=!1,d=!1;t.restart=function(){return f||(f=!0,requestAnimationFrame((function(){})),d=!0),d},t.applyDirtiedAnimation=function(e){if(!p){e._markTarget();var n=e._targetAnimations();n.sort(i),s(t.timeline.currentTime,!1,n.slice())[1].forEach((function(e){var t=m._animations.indexOf(e);-1!==t&&m._animations.splice(t,1)})),a()}};var h=[],p=!1,m=new o;t.timeline=m}(n,r),function(e,t){function n(e,t){for(var n=0,r=0;r<e.length;r++)n+=e[r]*t[r];return n}function r(e,t){return[e[0]*t[0]+e[4]*t[1]+e[8]*t[2]+e[12]*t[3],e[1]*t[0]+e[5]*t[1]+e[9]*t[2]+e[13]*t[3],e[2]*t[0]+e[6]*t[1]+e[10]*t[2]+e[14]*t[3],e[3]*t[0]+e[7]*t[1]+e[11]*t[2]+e[15]*t[3],e[0]*t[4]+e[4]*t[5]+e[8]*t[6]+e[12]*t[7],e[1]*t[4]+e[5]*t[5]+e[9]*t[6]+e[13]*t[7],e[2]*t[4]+e[6]*t[5]+e[10]*t[6]+e[14]*t[7],e[3]*t[4]+e[7]*t[5]+e[11]*t[6]+e[15]*t[7],e[0]*t[8]+e[4]*t[9]+e[8]*t[10]+e[12]*t[11],e[1]*t[8]+e[5]*t[9]+e[9]*t[10]+e[13]*t[11],e[2]*t[8]+e[6]*t[9]+e[10]*t[10]+e[14]*t[11],e[3]*t[8]+e[7]*t[9]+e[11]*t[10]+e[15]*t[11],e[0]*t[12]+e[4]*t[13]+e[8]*t[14]+e[12]*t[15],e[1]*t[12]+e[5]*t[13]+e[9]*t[14]+e[13]*t[15],e[2]*t[12]+e[6]*t[13]+e[10]*t[14]+e[14]*t[15],e[3]*t[12]+e[7]*t[13]+e[11]*t[14]+e[15]*t[15]]}function i(e){var t=e.rad||0;return((e.deg||0)/360+(e.grad||0)/400+(e.turn||0))*(2*Math.PI)+t}function o(e){switch(e.t){case"rotatex":var t=i(e.d[0]);return[1,0,0,0,0,Math.cos(t),Math.sin(t),0,0,-Math.sin(t),Math.cos(t),0,0,0,0,1];case"rotatey":return t=i(e.d[0]),[Math.cos(t),0,-Math.sin(t),0,0,1,0,0,Math.sin(t),0,Math.cos(t),0,0,0,0,1];case"rotate":case"rotatez":return t=i(e.d[0]),[Math.cos(t),Math.sin(t),0,0,-Math.sin(t),Math.cos(t),0,0,0,0,1,0,0,0,0,1];case"rotate3d":var n=e.d[0],r=e.d[1],o=e.d[2],a=(t=i(e.d[3]),n*n+r*r+o*o);if(0===a)n=1,r=0,o=0;else if(1!==a){var s=Math.sqrt(a);n/=s,r/=s,o/=s}var u=Math.sin(t/2),l=u*Math.cos(t/2),c=u*u;return[1-2*(r*r+o*o)*c,2*(n*r*c+o*l),2*(n*o*c-r*l),0,2*(n*r*c-o*l),1-2*(n*n+o*o)*c,2*(r*o*c+n*l),0,2*(n*o*c+r*l),2*(r*o*c-n*l),1-2*(n*n+r*r)*c,0,0,0,0,1];case"scale":return[e.d[0],0,0,0,0,e.d[1],0,0,0,0,1,0,0,0,0,1];case"scalex":return[e.d[0],0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];case"scaley":return[1,0,0,0,0,e.d[0],0,0,0,0,1,0,0,0,0,1];case"scalez":return[1,0,0,0,0,1,0,0,0,0,e.d[0],0,0,0,0,1];case"scale3d":return[e.d[0],0,0,0,0,e.d[1],0,0,0,0,e.d[2],0,0,0,0,1];case"skew":var f=i(e.d[0]),d=i(e.d[1]);return[1,Math.tan(d),0,0,Math.tan(f),1,0,0,0,0,1,0,0,0,0,1];case"skewx":return t=i(e.d[0]),[1,0,0,0,Math.tan(t),1,0,0,0,0,1,0,0,0,0,1];case"skewy":return t=i(e.d[0]),[1,Math.tan(t),0,0,0,1,0,0,0,0,1,0,0,0,0,1];case"translate":return[1,0,0,0,0,1,0,0,0,0,1,0,n=e.d[0].px||0,r=e.d[1].px||0,0,1];case"translatex":return[1,0,0,0,0,1,0,0,0,0,1,0,n=e.d[0].px||0,0,0,1];case"translatey":return[1,0,0,0,0,1,0,0,0,0,1,0,0,r=e.d[0].px||0,0,1];case"translatez":return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,o=e.d[0].px||0,1];case"translate3d":return[1,0,0,0,0,1,0,0,0,0,1,0,n=e.d[0].px||0,r=e.d[1].px||0,o=e.d[2].px||0,1];case"perspective":return[1,0,0,0,0,1,0,0,0,0,1,e.d[0].px?-1/e.d[0].px:0,0,0,0,1];case"matrix":return[e.d[0],e.d[1],0,0,e.d[2],e.d[3],0,0,0,0,1,0,e.d[4],e.d[5],0,1];case"matrix3d":return e.d}}function a(e){return 0===e.length?[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]:e.map(o).reduce(r)}var s=function(){function e(e){return e[0][0]*e[1][1]*e[2][2]+e[1][0]*e[2][1]*e[0][2]+e[2][0]*e[0][1]*e[1][2]-e[0][2]*e[1][1]*e[2][0]-e[1][2]*e[2][1]*e[0][0]-e[2][2]*e[0][1]*e[1][0]}function t(e){var t=r(e);return[e[0]/t,e[1]/t,e[2]/t]}function r(e){return Math.sqrt(e[0]*e[0]+e[1]*e[1]+e[2]*e[2])}function i(e,t,n,r){return[n*e[0]+r*t[0],n*e[1]+r*t[1],n*e[2]+r*t[2]]}return function(o){var a=[o.slice(0,4),o.slice(4,8),o.slice(8,12),o.slice(12,16)];if(1!==a[3][3])return null;for(var s=[],u=0;u<4;u++)s.push(a[u].slice());for(u=0;u<3;u++)s[u][3]=0;if(0===e(s))return null;var l,c=[];a[0][3]||a[1][3]||a[2][3]?(c.push(a[0][3]),c.push(a[1][3]),c.push(a[2][3]),c.push(a[3][3]),l=function(e,t){for(var n=[],r=0;r<4;r++){for(var i=0,o=0;o<4;o++)i+=e[o]*t[o][r];n.push(i)}return n}(c,function(e){return[[e[0][0],e[1][0],e[2][0],e[3][0]],[e[0][1],e[1][1],e[2][1],e[3][1]],[e[0][2],e[1][2],e[2][2],e[3][2]],[e[0][3],e[1][3],e[2][3],e[3][3]]]}(function(t){for(var n=1/e(t),r=t[0][0],i=t[0][1],o=t[0][2],a=t[1][0],s=t[1][1],u=t[1][2],l=t[2][0],c=t[2][1],f=t[2][2],d=[[(s*f-u*c)*n,(o*c-i*f)*n,(i*u-o*s)*n,0],[(u*l-a*f)*n,(r*f-o*l)*n,(o*a-r*u)*n,0],[(a*c-s*l)*n,(l*i-r*c)*n,(r*s-i*a)*n,0]],h=[],p=0;p<3;p++){for(var m=0,g=0;g<3;g++)m+=t[3][g]*d[g][p];h.push(m)}return h.push(1),d.push(h),d}(s)))):l=[0,0,0,1];var f=a[3].slice(0,3),d=[];d.push(a[0].slice(0,3));var h=[];h.push(r(d[0])),d[0]=t(d[0]);var p=[];d.push(a[1].slice(0,3)),p.push(n(d[0],d[1])),d[1]=i(d[1],d[0],1,-p[0]),h.push(r(d[1])),d[1]=t(d[1]),p[0]/=h[1],d.push(a[2].slice(0,3)),p.push(n(d[0],d[2])),d[2]=i(d[2],d[0],1,-p[1]),p.push(n(d[1],d[2])),d[2]=i(d[2],d[1],1,-p[2]),h.push(r(d[2])),d[2]=t(d[2]),p[1]/=h[2],p[2]/=h[2];var m=function(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]}(d[1],d[2]);if(n(d[0],m)<0)for(u=0;u<3;u++)h[u]*=-1,d[u][0]*=-1,d[u][1]*=-1,d[u][2]*=-1;var g,v,b=d[0][0]+d[1][1]+d[2][2]+1;return b>1e-4?(g=.5/Math.sqrt(b),v=[(d[2][1]-d[1][2])*g,(d[0][2]-d[2][0])*g,(d[1][0]-d[0][1])*g,.25/g]):d[0][0]>d[1][1]&&d[0][0]>d[2][2]?v=[.25*(g=2*Math.sqrt(1+d[0][0]-d[1][1]-d[2][2])),(d[0][1]+d[1][0])/g,(d[0][2]+d[2][0])/g,(d[2][1]-d[1][2])/g]:d[1][1]>d[2][2]?(g=2*Math.sqrt(1+d[1][1]-d[0][0]-d[2][2]),v=[(d[0][1]+d[1][0])/g,.25*g,(d[1][2]+d[2][1])/g,(d[0][2]-d[2][0])/g]):(g=2*Math.sqrt(1+d[2][2]-d[0][0]-d[1][1]),v=[(d[0][2]+d[2][0])/g,(d[1][2]+d[2][1])/g,.25*g,(d[1][0]-d[0][1])/g]),[f,h,p,v,l]}}();e.dot=n,e.makeMatrixDecomposition=function(e){return[s(a(e))]},e.transformListToMatrix=a}(r),function(e){function t(e,t){var n=e.exec(t);if(n)return[n=e.ignoreCase?n[0].toLowerCase():n[0],t.substr(n.length)]}function n(e,t){var n=e(t=t.replace(/^\s*/,""));if(n)return[n[0],n[1].replace(/^\s*/,"")]}function r(e,t,n,r,i){for(var o=[],a=[],s=[],u=function(e,t){for(var n=e,r=t;n&&r;)n>r?n%=r:r%=n;return e*t/(n+r)}(r.length,i.length),l=0;l<u;l++){var c=t(r[l%r.length],i[l%i.length]);if(!c)return;o.push(c[0]),a.push(c[1]),s.push(c[2])}return[o,a,function(t){var r=t.map((function(e,t){return s[t](e)})).join(n);return e?e(r):r}]}e.consumeToken=t,e.consumeTrimmed=n,e.consumeRepeated=function(e,r,i){e=n.bind(null,e);for(var o=[];;){var a=e(i);if(!a)return[o,i];if(o.push(a[0]),!(a=t(r,i=a[1]))||""==a[1])return[o,i];i=a[1]}},e.consumeParenthesised=function(e,t){for(var n=0,r=0;r<t.length&&(!/\s|,/.test(t[r])||0!=n);r++)if("("==t[r])n++;else if(")"==t[r]&&(0==--n&&r++,n<=0))break;var i=e(t.substr(0,r));return null==i?void 0:[i,t.substr(r)]},e.ignore=function(e){return function(t){var n=e(t);return n&&(n[0]=void 0),n}},e.optional=function(e,t){return function(n){return e(n)||[t,n]}},e.consumeList=function(t,n){for(var r=[],i=0;i<t.length;i++){var o=e.consumeTrimmed(t[i],n);if(!o||""==o[0])return;void 0!==o[0]&&r.push(o[0]),n=o[1]}if(""==n)return r},e.mergeNestedRepeated=r.bind(null,null),e.mergeWrappedNestedRepeated=r,e.mergeList=function(e,t,n){for(var r=[],i=[],o=[],a=0,s=0;s<n.length;s++)if("function"==typeof n[s]){var u=n[s](e[a],t[a++]);r.push(u[0]),i.push(u[1]),o.push(u[2])}else!function(e){r.push(!1),i.push(!1),o.push((function(){return n[e]}))}(s);return[r,i,function(e){for(var t="",n=0;n<e.length;n++)t+=o[n](e[n]);return t}]}}(r),function(e){function t(t){var n={inset:!1,lengths:[],color:null},r=e.consumeRepeated((function(t){var r=e.consumeToken(/^inset/i,t);return r?(n.inset=!0,r):(r=e.consumeLengthOrPercent(t))?(n.lengths.push(r[0]),r):(r=e.consumeColor(t))?(n.color=r[0],r):void 0}),/^/,t);if(r&&r[0].length)return[n,r[1]]}var n=function(t,n,r,i){function o(e){return{inset:e,color:[0,0,0,0],lengths:[{px:0},{px:0},{px:0},{px:0}]}}for(var a=[],s=[],u=0;u<r.length||u<i.length;u++){var l=r[u]||o(i[u].inset),c=i[u]||o(r[u].inset);a.push(l),s.push(c)}return e.mergeNestedRepeated(t,n,a,s)}.bind(null,(function(t,n){for(;t.lengths.length<Math.max(t.lengths.length,n.lengths.length);)t.lengths.push({px:0});for(;n.lengths.length<Math.max(t.lengths.length,n.lengths.length);)n.lengths.push({px:0});if(t.inset==n.inset&&!!t.color==!!n.color){for(var r,i=[],o=[[],0],a=[[],0],s=0;s<t.lengths.length;s++){var u=e.mergeDimensions(t.lengths[s],n.lengths[s],2==s);o[0].push(u[0]),a[0].push(u[1]),i.push(u[2])}if(t.color&&n.color){var l=e.mergeColors(t.color,n.color);o[1]=l[0],a[1]=l[1],r=l[2]}return[o,a,function(e){for(var n=t.inset?"inset ":" ",o=0;o<i.length;o++)n+=i[o](e[0][o])+" ";return r&&(n+=r(e[1])),n}]}}),", ");e.addPropertiesHandler((function(n){var r=e.consumeRepeated(t,/^,/,n);if(r&&""==r[1])return r[0]}),n,["box-shadow","text-shadow"])}(r),function(e,t){function n(e){return e.toFixed(3).replace(/0+$/,"").replace(/\.$/,"")}function r(e,t,n){return Math.min(t,Math.max(e,n))}function i(e){if(/^\s*[-+]?(\d*\.)?\d+\s*$/.test(e))return Number(e)}function o(e,t){return function(i,o){return[i,o,function(i){return n(r(e,t,i))}]}}function a(e){var t=e.trim().split(/\s*[\s,]\s*/);if(0!==t.length){for(var n=[],r=0;r<t.length;r++){var o=i(t[r]);if(void 0===o)return;n.push(o)}return n}}e.clamp=r,e.addPropertiesHandler(a,(function(e,t){if(e.length==t.length)return[e,t,function(e){return e.map(n).join(" ")}]}),["stroke-dasharray"]),e.addPropertiesHandler(i,o(0,1/0),["border-image-width","line-height"]),e.addPropertiesHandler(i,o(0,1),["opacity","shape-image-threshold"]),e.addPropertiesHandler(i,(function(e,t){if(0!=e)return o(0,1/0)(e,t)}),["flex-grow","flex-shrink"]),e.addPropertiesHandler(i,(function(e,t){return[e,t,function(e){return Math.round(r(1,1/0,e))}]}),["orphans","widows"]),e.addPropertiesHandler(i,(function(e,t){return[e,t,Math.round]}),["z-index"]),e.parseNumber=i,e.parseNumberList=a,e.mergeNumbers=function(e,t){return[e,t,n]},e.numberToString=n}(r),function(e,t){e.addPropertiesHandler(String,(function(e,t){if("visible"==e||"visible"==t)return[0,1,function(n){return n<=0?e:n>=1?t:"visible"}]}),["visibility"])}(r),function(e,t){function n(e){e=e.trim(),o.fillStyle="#000",o.fillStyle=e;var t=o.fillStyle;if(o.fillStyle="#fff",o.fillStyle=e,t==o.fillStyle){o.fillRect(0,0,1,1);var n=o.getImageData(0,0,1,1).data;o.clearRect(0,0,1,1);var r=n[3]/255;return[n[0]*r,n[1]*r,n[2]*r,r]}}function r(t,n){return[t,n,function(t){function n(e){return Math.max(0,Math.min(255,e))}if(t[3])for(var r=0;r<3;r++)t[r]=Math.round(n(t[r]/t[3]));return t[3]=e.numberToString(e.clamp(0,1,t[3])),"rgba("+t.join(",")+")"}]}var i=document.createElementNS("http://www.w3.org/1999/xhtml","canvas");i.width=i.height=1;var o=i.getContext("2d");e.addPropertiesHandler(n,r,["background-color","border-bottom-color","border-left-color","border-right-color","border-top-color","color","fill","flood-color","lighting-color","outline-color","stop-color","stroke","text-decoration-color"]),e.consumeColor=e.consumeParenthesised.bind(null,n),e.mergeColors=r}(r),function(e,t){function n(e){function t(){var t=a.exec(e);o=t?t[0]:void 0}function n(){if("("!==o)return function(){var e=Number(o);return t(),e}();t();var e=i();return")"!==o?NaN:(t(),e)}function r(){for(var e=n();"*"===o||"/"===o;){var r=o;t();var i=n();"*"===r?e*=i:e/=i}return e}function i(){for(var e=r();"+"===o||"-"===o;){var n=o;t();var i=r();"+"===n?e+=i:e-=i}return e}var o,a=/([\+\-\w\.]+|[\(\)\*\/])/g;return t(),i()}function r(e,t){if("0"==(t=t.trim().toLowerCase())&&"px".search(e)>=0)return{px:0};if(/^[^(]*$|^calc/.test(t)){t=t.replace(/calc\(/g,"(");var r={};t=t.replace(e,(function(e){return r[e]=null,"U"+e}));for(var i="U("+e.source+")",o=t.replace(/[-+]?(\d*\.)?\d+([Ee][-+]?\d+)?/g,"N").replace(new RegExp("N"+i,"g"),"D").replace(/\s[+-]\s/g,"O").replace(/\s/g,""),a=[/N\*(D)/g,/(N|D)[*\/]N/g,/(N|D)O\1/g,/\((N|D)\)/g],s=0;s<a.length;)a[s].test(o)?(o=o.replace(a[s],"$1"),s=0):s++;if("D"==o){for(var u in r){var l=n(t.replace(new RegExp("U"+u,"g"),"").replace(new RegExp(i,"g"),"*0"));if(!isFinite(l))return;r[u]=l}return r}}}function i(e,t){return o(e,t,!0)}function o(t,n,r){var i,o=[];for(i in t)o.push(i);for(i in n)o.indexOf(i)<0&&o.push(i);return t=o.map((function(e){return t[e]||0})),n=o.map((function(e){return n[e]||0})),[t,n,function(t){var n=t.map((function(n,i){return 1==t.length&&r&&(n=Math.max(n,0)),e.numberToString(n)+o[i]})).join(" + ");return t.length>1?"calc("+n+")":n}]}var a="px|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc",s=r.bind(null,new RegExp(a,"g")),u=r.bind(null,new RegExp(a+"|%","g")),l=r.bind(null,/deg|rad|grad|turn/g);e.parseLength=s,e.parseLengthOrPercent=u,e.consumeLengthOrPercent=e.consumeParenthesised.bind(null,u),e.parseAngle=l,e.mergeDimensions=o;var c=e.consumeParenthesised.bind(null,s),f=e.consumeRepeated.bind(void 0,c,/^/),d=e.consumeRepeated.bind(void 0,f,/^,/);e.consumeSizePairList=d;var h=e.mergeNestedRepeated.bind(void 0,i," "),p=e.mergeNestedRepeated.bind(void 0,h,",");e.mergeNonNegativeSizePair=h,e.addPropertiesHandler((function(e){var t=d(e);if(t&&""==t[1])return t[0]}),p,["background-size"]),e.addPropertiesHandler(u,i,["border-bottom-width","border-image-width","border-left-width","border-right-width","border-top-width","flex-basis","font-size","height","line-height","max-height","max-width","outline-width","width"]),e.addPropertiesHandler(u,o,["border-bottom-left-radius","border-bottom-right-radius","border-top-left-radius","border-top-right-radius","bottom","left","letter-spacing","margin-bottom","margin-left","margin-right","margin-top","min-height","min-width","outline-offset","padding-bottom","padding-left","padding-right","padding-top","perspective","right","shape-margin","stroke-dashoffset","text-indent","top","vertical-align","word-spacing"])}(r),function(e,t){function n(t){return e.consumeLengthOrPercent(t)||e.consumeToken(/^auto/,t)}function r(t){var r=e.consumeList([e.ignore(e.consumeToken.bind(null,/^rect/)),e.ignore(e.consumeToken.bind(null,/^\(/)),e.consumeRepeated.bind(null,n,/^,/),e.ignore(e.consumeToken.bind(null,/^\)/))],t);if(r&&4==r[0].length)return r[0]}var i=e.mergeWrappedNestedRepeated.bind(null,(function(e){return"rect("+e+")"}),(function(t,n){return"auto"==t||"auto"==n?[!0,!1,function(r){var i=r?t:n;if("auto"==i)return"auto";var o=e.mergeDimensions(i,i);return o[2](o[0])}]:e.mergeDimensions(t,n)}),", ");e.parseBox=r,e.mergeBoxes=i,e.addPropertiesHandler(r,i,["clip"])}(r),function(e,t){function n(e){return function(t){var n=0;return e.map((function(e){return e===l?t[n++]:e}))}}function r(e){return e}function i(t){if("none"==(t=t.toLowerCase().trim()))return[];for(var n,r=/\s*(\w+)\(([^)]*)\)/g,i=[],o=0;n=r.exec(t);){if(n.index!=o)return;o=n.index+n[0].length;var a=n[1],s=d[a];if(!s)return;var u=n[2].split(","),l=s[0];if(l.length<u.length)return;for(var h=[],p=0;p<l.length;p++){var m,g=u[p],v=l[p];if(void 0===(m=g?{A:function(t){return"0"==t.trim()?f:e.parseAngle(t)},N:e.parseNumber,T:e.parseLengthOrPercent,L:e.parseLength}[v.toUpperCase()](g):{a:f,n:h[0],t:c}[v]))return;h.push(m)}if(i.push({t:a,d:h}),r.lastIndex==t.length)return i}}function o(e){return e.toFixed(6).replace(".000000","")}function a(t,n){if(t.decompositionPair!==n){t.decompositionPair=n;var r=e.makeMatrixDecomposition(t)}if(n.decompositionPair!==t){n.decompositionPair=t;var i=e.makeMatrixDecomposition(n)}return null==r[0]||null==i[0]?[[!1],[!0],function(e){return e?n[0].d:t[0].d}]:(r[0].push(0),i[0].push(1),[r,i,function(t){var n=e.quat(r[0][3],i[0][3],t[5]);return e.composeMatrix(t[0],t[1],t[2],n,t[4]).map(o).join(",")}])}function s(e){return e.replace(/[xy]/,"")}function u(e){return e.replace(/(x|y|z|3d)?$/,"3d")}var l=null,c={px:0},f={deg:0},d={matrix:["NNNNNN",[l,l,0,0,l,l,0,0,0,0,1,0,l,l,0,1],r],matrix3d:["NNNNNNNNNNNNNNNN",r],rotate:["A"],rotatex:["A"],rotatey:["A"],rotatez:["A"],rotate3d:["NNNA"],perspective:["L"],scale:["Nn",n([l,l,1]),r],scalex:["N",n([l,1,1]),n([l,1])],scaley:["N",n([1,l,1]),n([1,l])],scalez:["N",n([1,1,l])],scale3d:["NNN",r],skew:["Aa",null,r],skewx:["A",null,n([l,f])],skewy:["A",null,n([f,l])],translate:["Tt",n([l,l,c]),r],translatex:["T",n([l,c,c]),n([l,c])],translatey:["T",n([c,l,c]),n([c,l])],translatez:["L",n([c,c,l])],translate3d:["TTL",r]};e.addPropertiesHandler(i,(function(t,n){var r=e.makeMatrixDecomposition&&!0,i=!1;if(!t.length||!n.length){t.length||(i=!0,t=n,n=[]);for(var o=0;o<t.length;o++){var l=t[o].t,c=t[o].d,f="scale"==l.substr(0,5)?1:0;n.push({t:l,d:c.map((function(e){if("number"==typeof e)return f;var t={};for(var n in e)t[n]=f;return t}))})}}var h=function(e,t){return"perspective"==e&&"perspective"==t||("matrix"==e||"matrix3d"==e)&&("matrix"==t||"matrix3d"==t)},p=[],m=[],g=[];if(t.length!=n.length){if(!r)return;p=[(E=a(t,n))[0]],m=[E[1]],g=[["matrix",[E[2]]]]}else for(o=0;o<t.length;o++){var v=t[o].t,b=n[o].t,y=t[o].d,_=n[o].d,T=d[v],x=d[b];if(h(v,b)){if(!r)return;var E=a([t[o]],[n[o]]);p.push(E[0]),m.push(E[1]),g.push(["matrix",[E[2]]])}else{if(v==b)l=v;else if(T[2]&&x[2]&&s(v)==s(b))l=s(v),y=T[2](y),_=x[2](_);else{if(!T[1]||!x[1]||u(v)!=u(b)){if(!r)return;p=[(E=a(t,n))[0]],m=[E[1]],g=[["matrix",[E[2]]]];break}l=u(v),y=T[1](y),_=x[1](_)}for(var w=[],k=[],S=[],N=0;N<y.length;N++)E=("number"==typeof y[N]?e.mergeNumbers:e.mergeDimensions)(y[N],_[N]),w[N]=E[0],k[N]=E[1],S.push(E[2]);p.push(w),m.push(k),g.push([l,S])}}if(i){var A=p;p=m,m=A}return[p,m,function(e){return e.map((function(e,t){var n=e.map((function(e,n){return g[t][1][n](e)})).join(",");return"matrix"==g[t][0]&&16==n.split(",").length&&(g[t][0]="matrix3d"),g[t][0]+"("+n+")"})).join(" ")}]}),["transform"]),e.transformToSvgMatrix=function(t){var n=e.transformListToMatrix(i(t));return"matrix("+o(n[0])+" "+o(n[1])+" "+o(n[4])+" "+o(n[5])+" "+o(n[12])+" "+o(n[13])+")"}}(r),function(e){function t(t){return t=100*Math.round(t/100),400===(t=e.clamp(100,900,t))?"normal":700===t?"bold":String(t)}e.addPropertiesHandler((function(e){var t=Number(e);if(!(isNaN(t)||t<100||t>900||t%100!=0))return t}),(function(e,n){return[e,n,t]}),["font-weight"])}(r),function(e){function t(e){var t={};for(var n in e)t[n]=-e[n];return t}function n(t){return e.consumeToken(/^(left|center|right|top|bottom)\b/i,t)||e.consumeLengthOrPercent(t)}function r(t,r){var i=e.consumeRepeated(n,/^/,r);if(i&&""==i[1]){var a=i[0];if(a[0]=a[0]||"center",a[1]=a[1]||"center",3==t&&(a[2]=a[2]||{px:0}),a.length==t){if(/top|bottom/.test(a[0])||/left|right/.test(a[1])){var s=a[0];a[0]=a[1],a[1]=s}if(/left|right|center|Object/.test(a[0])&&/top|bottom|center|Object/.test(a[1]))return a.map((function(e){return"object"==typeof e?e:o[e]}))}}}function i(r){var i=e.consumeRepeated(n,/^/,r);if(i){for(var a=i[0],s=[{"%":50},{"%":50}],u=0,l=!1,c=0;c<a.length;c++){var f=a[c];"string"==typeof f?(l=/bottom|right/.test(f),s[u={left:0,right:0,center:u,top:1,bottom:1}[f]]=o[f],"center"==f&&u++):(l&&((f=t(f))["%"]=(f["%"]||0)+100),s[u]=f,u++,l=!1)}return[s,i[1]]}}var o={left:{"%":0},center:{"%":50},right:{"%":100},top:{"%":0},bottom:{"%":100}},a=e.mergeNestedRepeated.bind(null,e.mergeDimensions," ");e.addPropertiesHandler(r.bind(null,3),a,["transform-origin"]),e.addPropertiesHandler(r.bind(null,2),a,["perspective-origin"]),e.consumePosition=i,e.mergeOffsetList=a;var s=e.mergeNestedRepeated.bind(null,a,", ");e.addPropertiesHandler((function(t){var n=e.consumeRepeated(i,/^,/,t);if(n&&""==n[1])return n[0]}),s,["background-position","object-position"])}(r),function(e){var t=e.consumeParenthesised.bind(null,e.parseLengthOrPercent),n=e.consumeRepeated.bind(void 0,t,/^/),r=e.mergeNestedRepeated.bind(void 0,e.mergeDimensions," "),i=e.mergeNestedRepeated.bind(void 0,r,",");e.addPropertiesHandler((function(r){var i=e.consumeToken(/^circle/,r);if(i&&i[0])return["circle"].concat(e.consumeList([e.ignore(e.consumeToken.bind(void 0,/^\(/)),t,e.ignore(e.consumeToken.bind(void 0,/^at/)),e.consumePosition,e.ignore(e.consumeToken.bind(void 0,/^\)/))],i[1]));var o=e.consumeToken(/^ellipse/,r);if(o&&o[0])return["ellipse"].concat(e.consumeList([e.ignore(e.consumeToken.bind(void 0,/^\(/)),n,e.ignore(e.consumeToken.bind(void 0,/^at/)),e.consumePosition,e.ignore(e.consumeToken.bind(void 0,/^\)/))],o[1]));var a=e.consumeToken(/^polygon/,r);return a&&a[0]?["polygon"].concat(e.consumeList([e.ignore(e.consumeToken.bind(void 0,/^\(/)),e.optional(e.consumeToken.bind(void 0,/^nonzero\s*,|^evenodd\s*,/),"nonzero,"),e.consumeSizePairList,e.ignore(e.consumeToken.bind(void 0,/^\)/))],a[1])):void 0}),(function(t,n){if(t[0]===n[0])return"circle"==t[0]?e.mergeList(t.slice(1),n.slice(1),["circle(",e.mergeDimensions," at ",e.mergeOffsetList,")"]):"ellipse"==t[0]?e.mergeList(t.slice(1),n.slice(1),["ellipse(",e.mergeNonNegativeSizePair," at ",e.mergeOffsetList,")"]):"polygon"==t[0]&&t[1]==n[1]?e.mergeList(t.slice(2),n.slice(2),["polygon(",t[1],i,")"]):void 0}),["shape-outside"])}(r),function(e,t){function n(e,t){t.concat([e]).forEach((function(t){t in document.documentElement.style&&(r[e]=t),i[t]=e}))}var r={},i={};n("transform",["webkitTransform","msTransform"]),n("transformOrigin",["webkitTransformOrigin"]),n("perspective",["webkitPerspective"]),n("perspectiveOrigin",["webkitPerspectiveOrigin"]),e.propertyName=function(e){return r[e]||e},e.unprefixedPropertyName=function(e){return i[e]||e}}(r)}(),function(){if(void 0===document.createElement("div").animate([]).oncancel){if(window.performance&&performance.now)var e=function(){return performance.now()};else e=function(){return Date.now()};var t=function(e,t,n){this.target=e,this.currentTime=t,this.timelineTime=n,this.type="cancel",this.bubbles=!1,this.cancelable=!1,this.currentTarget=e,this.defaultPrevented=!1,this.eventPhase=Event.AT_TARGET,this.timeStamp=Date.now()},n=window.Element.prototype.animate;window.Element.prototype.animate=function(r,i){var o=n.call(this,r,i);o._cancelHandlers=[],o.oncancel=null;var a=o.cancel;o.cancel=function(){a.call(this);var n=new t(this,null,e()),r=this._cancelHandlers.concat(this.oncancel?[this.oncancel]:[]);setTimeout((function(){r.forEach((function(e){e.call(n.target,n)}))}),0)};var s=o.addEventListener;o.addEventListener=function(e,t){"function"==typeof t&&"cancel"==e?this._cancelHandlers.push(t):s.call(this,e,t)};var u=o.removeEventListener;return o.removeEventListener=function(e,t){if("cancel"==e){var n=this._cancelHandlers.indexOf(t);n>=0&&this._cancelHandlers.splice(n,1)}else u.call(this,e,t)},o}}}(),function(e){var t=document.documentElement,n=null,r=!1;try{var i="0"==getComputedStyle(t).getPropertyValue("opacity")?"1":"0";(n=t.animate({opacity:[i,i]},{duration:1})).currentTime=0,r=getComputedStyle(t).getPropertyValue("opacity")==i}catch(e){}finally{n&&n.cancel()}if(!r){var o=window.Element.prototype.animate;window.Element.prototype.animate=function(t,n){return window.Symbol&&Symbol.iterator&&Array.prototype.from&&t[Symbol.iterator]&&(t=Array.from(t)),Array.isArray(t)||null===t||(t=e.convertToArrayForm(t)),o.call(this,t,n)}}}(n)},function(e,t,n){"use strict";n.r(t);n(0);const r=(()=>{const e={};let t=1;return{set(n,r,i){void 0===n.key&&(n.key={key:r,id:t},t++),e[n.key.id]=i},get(t,n){if(!t||void 0===t.key)return null;const r=t.key;return r.key===n?e[r.id]:null},delete(t,n){if(void 0===t.key)return;const r=t.key;r.key===n&&(delete e[r.id],delete t.key)}}})();var i,o,a,s,u={setData(e,t,n){r.set(e,t,n)},getData:(e,t)=>r.get(e,t),removeData(e,t){r.delete(e,t)}};!function(e){e.KEY_PREFIX="nj",e.DATA_API_KEY=".data-api"}(i||(i={})),function(e){e.mouseenter="mouseover",e.mouseleave="mouseout"}(o||(o={})),function(e){e.click="click",e.close="close",e.closed="closed",e.hide="hide",e.hidden="hidden",e.input="input",e.keydown="keydown",e.keyup="keyup",e.onchange="onchange",e.show="show",e.shown="shown",e.inserted="inserted",e.focusin="focusin",e.focusout="focusout",e.mouseenter="mouseenter",e.mouseleave="mouseleave",e.mouseup="mouseup",e.mousedown="mousedown"}(a||(a={})),function(e){e.click="click",e.dblclick="dblclick",e.mouseup="mouseup",e.mousedown="mousedown",e.contextmenu="contextmenu",e.mousewheel="mousewheel",e.DOMMouseScroll="DOMMouseScroll",e.mouseover="mouseover",e.mouseout="mouseout",e.mousemove="mousemove",e.selectstart="selectstart",e.selectend="selectend",e.keydown="keydown",e.keypress="keypress",e.keyup="keyup",e.orientationchange="orientationchange",e.touchstart="touchstart",e.touchmove="touchmove",e.touchend="touchend",e.touchcancel="touchcancel",e.pointerdown="pointerdown",e.pointermove="pointermove",e.pointerup="pointerup",e.pointerleave="pointerleave",e.pointercancel="pointercancel",e.gesturestart="gesturestart",e.gesturechange="gesturechange",e.gestureend="gestureend",e.focus="focus",e.blur="blur",e.change="change",e.reset="reset",e.select="select",e.submit="submit",e.focusin="focusin",e.focusout="focusout",e.load="load",e.unload="unload",e.beforeunload="beforeunload",e.resize="resize",e.move="move",e.DOMContentLoaded="DOMContentLoaded",e.readystatechange="readystatechange",e.error="error",e.abort="abort",e.scroll="scroll"}(s||(s={}));class l{static getUidEvent(e,t){return t&&"".concat(t,"::").concat(l.uidEvent++)||e.uidEvent||l.uidEvent++}static getEvent(e){const t=l.getUidEvent(e);return e.uidEvent=t,l.EVENTREGISTRY[t]=l.EVENTREGISTRY[t]||{}}static fixEvent(e,t){null===e.which&&l.KEYEVENT_REGEX.test(e.type)&&(e.which=null!==e.charCode?e.charCode:e.keyCode),e.delegateTarget=t}static njHandler(e,t){const n=r=>(l.fixEvent(r,e),n.oneOff&&l.off(e,r.type,t),t.apply(e,[r]));return n}static njDelegationHandler(e,t,n){const r=i=>{const o=e.querySelectorAll(t);for(let t=i.target;t&&t!==this;t=t.parentNode)for(let a=o.length;a>=0;a--)if(o[a]===t)return l.fixEvent(i,t),r.oneOff&&l.off(e,i.type,n),n.apply(t,[i]);return null};return r}static findHandler(e,t,n=null){for(const r in e){if(!Object.prototype.hasOwnProperty.call(e,r))continue;const i=e[r];if(i.originalHandler===t&&i.delegationSelector===n)return e[r]}return null}static normalizeParams(e,t,n){const r="string"==typeof t,i=r?n:t;let a=e.replace(l.STRIPNAME_REGEX,"");const u=o[a];u&&(a=u);return"string"==typeof s[a]||(a=e),[r,i,a]}static addHandler(e,t,n,r,i){if("string"!=typeof t||null==e)return;n||(n=r,r=null);const o=l.getEvent(e);for(const a of t.split(" ")){const[t,s,u]=l.normalizeParams(a,n,r),c=o[u]||(o[u]={}),f=l.findHandler(c,s,t?n:null);if(f)return void(f.oneOff=f.oneOff&&i);const d=l.getUidEvent(s,a.replace(l.NAMESPACE_REGEX,"")),h=t?l.njDelegationHandler(e,n,r):l.njHandler(e,n);h.delegationSelector=t?n:null,h.originalHandler=s,h.oneOff=i,h.uidEvent=d,c[d]=h,e.addEventListener(u,h,t)}}static removeHandler(e,t,n,r,i){const o=l.findHandler(t[n],r,i);null!==o&&(e.removeEventListener(n,o,Boolean(i)),delete t[n][o.uidEvent])}static removeNamespacedHandlers(e,t,n,r){const i=t[n]||{};for(const o in i)if(Object.prototype.hasOwnProperty.call(i,o)&&o.indexOf(r)>-1){const r=i[o];l.removeHandler(e,t,n,r.originalHandler,r.delegationSelector)}}static on(e,t,n,r){l.addHandler(e,t,n,r,!1)}static one(e,t,n,r){l.addHandler(e,t,n,r,!0)}static off(e,t,n,r){if("string"!=typeof t||null==e)return;const[i,o,a]=l.normalizeParams(t,n,r),s=a!==t,u=l.getEvent(e);if(void 0!==o){if(!u||!u[a])return;return void l.removeHandler(e,u,a,o,i?n:null)}if("."===t.charAt(0))for(const n in u)Object.prototype.hasOwnProperty.call(u,n)&&l.removeNamespacedHandlers(e,u,n,t.substr(1));const c=u[a]||{};for(const n in c){if(!Object.prototype.hasOwnProperty.call(c,n))continue;const r=n.replace(l.STRIPUID_REGEX,"");if(!s||t.indexOf(r)>-1){const t=c[n];l.removeHandler(e,u,a,t.originalHandler,t.delegationSelector)}}}static trigger(e,t,n){if("string"!=typeof t||null==e)return null;const r=t.replace(l.STRIPNAME_REGEX,""),i="string"==typeof s[r];let o=null;return i?(o=document.createEvent("HTMLEvents"),o.initEvent(r,true,!0)):o=new window.CustomEvent(t,{bubbles:true,cancelable:!0}),void 0!==n&&Object.keys(n).forEach(e=>{Object.defineProperty(o,e,{get:()=>n[e]})}),e.dispatchEvent(o),o}}l.NAMESPACE_REGEX=/[^.]*(?=\..*)\.|.*/,l.STRIPNAME_REGEX=/\..*/,l.KEYEVENT_REGEX=/^key/,l.STRIPUID_REGEX=/::\d+$/,l.EVENTREGISTRY={},l.uidEvent=1;const c={getDataAttributes(e){if(null==e)return{};let t={};if(Object.getOwnPropertyDescriptor(HTMLElement.prototype,"dataset"))t=Object.assign({},e.dataset);else for(let n=0;n<e.attributes.length;n++){const r=e.attributes[n];if(-1!==r.nodeName.indexOf("data-")){const e=r.nodeName.substring("data-".length).replace(/-./g,e=>e.charAt(1).toUpperCase());t[e]=r.nodeValue}}return Object.keys(t).forEach(e=>{var n;t[e]="true"===(n=t[e])||"false"!==n&&("null"===n?null:n===Number(n).toString()?Number(n):""===n?null:n)}),t},toggleClass(e,t){null!=e&&(e.classList.contains(t)?e.classList.remove(t):e.classList.add(t))},mergeExtended(e,t,n){for(const r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n&&"[object Object]"===Object.prototype.toString.call(t[r])?e[r]=c.extend(e[r],t[r]):e[r]=t[r]);return e},extend(...e){let t={},n=!1,r=0;for("[object Boolean]"===Object.prototype.toString.call(e[0])&&(n=e[0],r++);r<e.length;r++)t=c.mergeExtended(t,e[r],n);return t},createHtmlNode:e=>(new DOMParser).parseFromString(e,"text/html").body.firstChild};var f=c;class d extends HTMLElement{constructor(...e){super(),this.components=e,this.instances=[],this.parentNodes=[]}connectedCallback(){this.setup()}disconnectedCallback(){this.instances.forEach(e=>{e.dispose()}),this.instances=null}setup(){let e=this;for(;e.parentNode;)e=e.parentNode,this.parentNodes.push(e);[this,...this.parentNodes].some(e=>e.nextSibling)||"loading"!==document.readyState?this.childrenAvailableCallback():(this.mutationObserver=new MutationObserver(()=>{([this,...this.parentNodes].some(e=>e.nextSibling)||"loading"!==document.readyState)&&(this.childrenAvailableCallback(),this.mutationObserver.disconnect())}),this.mutationObserver.observe(this,{childList:!0}))}childrenAvailableCallback(){this.components.forEach(e=>{const t=this.querySelector(e.SELECTOR.default);if(!t)throw new Error("Default selector of ".concat(e.name," not found: ").concat(e.SELECTOR.default));this.instances.push(new e(t))})}static init(e){if(!e.TAG_NAME)throw new Error("TAG_NAME property of ".concat(e.name," class doesn't exists"));customElements.define(e.TAG_NAME,e)}}n.d(t,"default",(function(){return h})),n.d(t,"TagWC",(function(){return p}));class h extends class{constructor(e,t,n={}){!t||t instanceof Element||console.error(Error("".concat(t," is not an HTML Element"))),this.options=n,this.element=t}static init(e,t={},n){const r=[],i=document.querySelectorAll(n);for(let n=0;n<i.length;n++){const o=i[n];if(!o.key||o.key!==e.DATA_KEY){const a=new e(i[n],t);o.key||u.setData(i[n],e.DATA_KEY,a),r.push(a)}}return r}}{constructor(e,t={}){super(h,e,f.extend(!0,{},t)),l.on(e,a.click,this.handleClick.bind(this))}close(){this.element.animate(h.KEYFRAMES,{duration:200,delay:70,easing:"ease-out"}).onfinish=()=>{this.destroyElement()}}destroyElement(){this.element.parentNode&&this.element.parentNode.removeChild(this.element)}dispose(){u.removeData(this.element,h.DATA_KEY),this.element=null}handleClick(e){e.target.closest(".".concat(i.KEY_PREFIX,"-tag__icon"))&&this.close()}static init(e={}){return super.init(this,e,h.SELECTOR.default)}static getInstance(e){return u.getData(e,h.DATA_KEY)}static getRootElement(e){return e.closest(h.SELECTOR.default)}}h.NAME="".concat(i.KEY_PREFIX,"-tag"),h.DATA_KEY="".concat(i.KEY_PREFIX,".tag"),h.KEYFRAMES=[{opacity:1},{opacity:0}],h.SELECTOR={default:".".concat(h.NAME,":not(.disabled)")};class p extends d{constructor(){super(h)}static init(){d.init(p)}}p.TAG_NAME=h.NAME}]).default}));
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("Tag",[],t):"object"==typeof exports?exports.Tag=t():e.Tag=t()}(window,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=1)}([function(e,t){var n,r;r={},function(e,t){function n(){this._delay=0,this._endDelay=0,this._fill="none",this._iterationStart=0,this._iterations=1,this._duration=0,this._playbackRate=1,this._direction="normal",this._easing="linear",this._easingFunction=d}function r(){return e.isDeprecated("Invalid timing inputs","2016-03-02","TypeError exceptions will be thrown instead.",!0)}function i(t,r,i){var o=new n;return r&&(o.fill="both",o.duration="auto"),"number"!=typeof t||isNaN(t)?void 0!==t&&Object.getOwnPropertyNames(t).forEach((function(n){if("auto"!=t[n]){if(("number"==typeof o[n]||"duration"==n)&&("number"!=typeof t[n]||isNaN(t[n])))return;if("fill"==n&&-1==c.indexOf(t[n]))return;if("direction"==n&&-1==f.indexOf(t[n]))return;if("playbackRate"==n&&1!==t[n]&&e.isDeprecated("AnimationEffectTiming.playbackRate","2014-11-28","Use Animation.playbackRate instead."))return;o[n]=t[n]}})):o.duration=t,o}function o(e,t,n,r){return e<0||e>1||n<0||n>1?d:function(i){function o(e,t,n){return 3*e*(1-n)*(1-n)*n+3*t*(1-n)*n*n+n*n*n}if(i<=0){var a=0;return e>0?a=t/e:!t&&n>0&&(a=r/n),a*i}if(i>=1){var s=0;return n<1?s=(r-1)/(n-1):1==n&&e<1&&(s=(t-1)/(e-1)),1+s*(i-1)}for(var u=0,l=1;u<l;){var c=(u+l)/2,f=o(e,n,c);if(Math.abs(i-f)<1e-5)return o(t,r,c);f<i?u=c:l=c}return o(t,r,c)}}function a(e,t){return function(n){if(n>=1)return 1;var r=1/e;return(n+=t*r)-n%r}}function s(e){v||(v=document.createElement("div").style),v.animationTimingFunction="",v.animationTimingFunction=e;var t=v.animationTimingFunction;if(""==t&&r())throw new TypeError(e+" is not a valid value for easing");return t}function u(e){if("linear"==e)return d;var t=y.exec(e);if(t)return o.apply(this,t.slice(1).map(Number));var n=_.exec(e);if(n)return a(Number(n[1]),m);var r=T.exec(e);return r?a(Number(r[1]),{start:h,middle:p,end:m}[r[2]]):g[e]||d}function l(e,t,n){if(null==t)return x;var r=n.delay+e+n.endDelay;return t<Math.min(n.delay,r)?E:t>=Math.min(n.delay+e,r)?w:k}var c="backwards|forwards|both|none".split("|"),f="reverse|alternate|alternate-reverse".split("|"),d=function(e){return e};n.prototype={_setMember:function(t,n){this["_"+t]=n,this._effect&&(this._effect._timingInput[t]=n,this._effect._timing=e.normalizeTimingInput(this._effect._timingInput),this._effect.activeDuration=e.calculateActiveDuration(this._effect._timing),this._effect._animation&&this._effect._animation._rebuildUnderlyingAnimation())},get playbackRate(){return this._playbackRate},set delay(e){this._setMember("delay",e)},get delay(){return this._delay},set endDelay(e){this._setMember("endDelay",e)},get endDelay(){return this._endDelay},set fill(e){this._setMember("fill",e)},get fill(){return this._fill},set iterationStart(e){if((isNaN(e)||e<0)&&r())throw new TypeError("iterationStart must be a non-negative number, received: "+e);this._setMember("iterationStart",e)},get iterationStart(){return this._iterationStart},set duration(e){if("auto"!=e&&(isNaN(e)||e<0)&&r())throw new TypeError("duration must be non-negative or auto, received: "+e);this._setMember("duration",e)},get duration(){return this._duration},set direction(e){this._setMember("direction",e)},get direction(){return this._direction},set easing(e){this._easingFunction=u(s(e)),this._setMember("easing",e)},get easing(){return this._easing},set iterations(e){if((isNaN(e)||e<0)&&r())throw new TypeError("iterations must be non-negative, received: "+e);this._setMember("iterations",e)},get iterations(){return this._iterations}};var h=1,p=.5,m=0,g={ease:o(.25,.1,.25,1),"ease-in":o(.42,0,1,1),"ease-out":o(0,0,.58,1),"ease-in-out":o(.42,0,.58,1),"step-start":a(1,h),"step-middle":a(1,p),"step-end":a(1,m)},v=null,b="\\s*(-?\\d+\\.?\\d*|-?\\.\\d+)\\s*",y=new RegExp("cubic-bezier\\("+b+","+b+","+b+","+b+"\\)"),_=/steps\(\s*(\d+)\s*\)/,T=/steps\(\s*(\d+)\s*,\s*(start|middle|end)\s*\)/,x=0,E=1,w=2,k=3;e.cloneTimingInput=function(e){if("number"==typeof e)return e;var t={};for(var n in e)t[n]=e[n];return t},e.makeTiming=i,e.numericTimingToObject=function(e){return"number"==typeof e&&(e=isNaN(e)?{duration:0}:{duration:e}),e},e.normalizeTimingInput=function(t,n){return i(t=e.numericTimingToObject(t),n)},e.calculateActiveDuration=function(e){return Math.abs(function(e){return 0===e.duration||0===e.iterations?0:e.duration*e.iterations}(e)/e.playbackRate)},e.calculateIterationProgress=function(e,t,n){var r=l(e,t,n),i=function(e,t,n,r,i){switch(r){case E:return"backwards"==t||"both"==t?0:null;case k:return n-i;case w:return"forwards"==t||"both"==t?e:null;case x:return null}}(e,n.fill,t,r,n.delay);if(null===i)return null;var o=function(e,t,n,r,i){var o=i;return 0===e?t!==E&&(o+=n):o+=r/e,o}(n.duration,r,n.iterations,i,n.iterationStart),a=function(e,t,n,r,i,o){var a=e===1/0?t%1:e%1;return 0!==a||n!==w||0===r||0===i&&0!==o||(a=1),a}(o,n.iterationStart,r,n.iterations,i,n.duration),s=function(e,t,n,r){return e===w&&t===1/0?1/0:1===n?Math.floor(r)-1:Math.floor(r)}(r,n.iterations,a,o),u=function(e,t,n){var r=e;if("normal"!==e&&"reverse"!==e){var i=t;"alternate-reverse"===e&&(i+=1),r="normal",i!==1/0&&i%2!=0&&(r="reverse")}return"normal"===r?n:1-n}(n.direction,s,a);return n._easingFunction(u)},e.calculatePhase=l,e.normalizeEasing=s,e.parseEasingFunction=u}(n={}),function(e,t){function n(e,t){return e in u&&u[e][t]||t}function r(e,t,r){if(!function(e){return"display"===e||0===e.lastIndexOf("animation",0)||0===e.lastIndexOf("transition",0)}(e)){var i=o[e];if(i)for(var s in a.style[e]=t,i){var u=i[s],l=a.style[u];r[u]=n(u,l)}else r[e]=n(e,t)}}function i(e){var t=[];for(var n in e)if(!(n in["easing","offset","composite"])){var r=e[n];Array.isArray(r)||(r=[r]);for(var i,o=r.length,a=0;a<o;a++)(i={}).offset="offset"in e?e.offset:1==o?1:a/(o-1),"easing"in e&&(i.easing=e.easing),"composite"in e&&(i.composite=e.composite),i[n]=r[a],t.push(i)}return t.sort((function(e,t){return e.offset-t.offset})),t}var o={background:["backgroundImage","backgroundPosition","backgroundSize","backgroundRepeat","backgroundAttachment","backgroundOrigin","backgroundClip","backgroundColor"],border:["borderTopColor","borderTopStyle","borderTopWidth","borderRightColor","borderRightStyle","borderRightWidth","borderBottomColor","borderBottomStyle","borderBottomWidth","borderLeftColor","borderLeftStyle","borderLeftWidth"],borderBottom:["borderBottomWidth","borderBottomStyle","borderBottomColor"],borderColor:["borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"],borderLeft:["borderLeftWidth","borderLeftStyle","borderLeftColor"],borderRadius:["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],borderRight:["borderRightWidth","borderRightStyle","borderRightColor"],borderTop:["borderTopWidth","borderTopStyle","borderTopColor"],borderWidth:["borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth"],flex:["flexGrow","flexShrink","flexBasis"],font:["fontFamily","fontSize","fontStyle","fontVariant","fontWeight","lineHeight"],margin:["marginTop","marginRight","marginBottom","marginLeft"],outline:["outlineColor","outlineStyle","outlineWidth"],padding:["paddingTop","paddingRight","paddingBottom","paddingLeft"]},a=document.createElementNS("http://www.w3.org/1999/xhtml","div"),s={thin:"1px",medium:"3px",thick:"5px"},u={borderBottomWidth:s,borderLeftWidth:s,borderRightWidth:s,borderTopWidth:s,fontSize:{"xx-small":"60%","x-small":"75%",small:"89%",medium:"100%",large:"120%","x-large":"150%","xx-large":"200%"},fontWeight:{normal:"400",bold:"700"},outlineWidth:s,textShadow:{none:"0px 0px 0px transparent"},boxShadow:{none:"0px 0px 0px 0px transparent"}};e.convertToArrayForm=i,e.normalizeKeyframes=function(t){if(null==t)return[];window.Symbol&&Symbol.iterator&&Array.prototype.from&&t[Symbol.iterator]&&(t=Array.from(t)),Array.isArray(t)||(t=i(t));for(var n=t.map((function(t){var n={};for(var i in t){var o=t[i];if("offset"==i){if(null!=o){if(o=Number(o),!isFinite(o))throw new TypeError("Keyframe offsets must be numbers.");if(o<0||o>1)throw new TypeError("Keyframe offsets must be between 0 and 1.")}}else if("composite"==i){if("add"==o||"accumulate"==o)throw{type:DOMException.NOT_SUPPORTED_ERR,name:"NotSupportedError",message:"add compositing is not supported"};if("replace"!=o)throw new TypeError("Invalid composite mode "+o+".")}else o="easing"==i?e.normalizeEasing(o):""+o;r(i,o,n)}return null==n.offset&&(n.offset=null),null==n.easing&&(n.easing="linear"),n})),o=!0,a=-1/0,s=0;s<n.length;s++){var u=n[s].offset;if(null!=u){if(u<a)throw new TypeError("Keyframes are not loosely sorted by offset. Sort or specify offsets.");a=u}else o=!1}return n=n.filter((function(e){return e.offset>=0&&e.offset<=1})),o||function(){var e=n.length;null==n[e-1].offset&&(n[e-1].offset=1),e>1&&null==n[0].offset&&(n[0].offset=0);for(var t=0,r=n[0].offset,i=1;i<e;i++){var o=n[i].offset;if(null!=o){for(var a=1;a<i-t;a++)n[t+a].offset=r+(o-r)*a/(i-t);t=i,r=o}}}(),n}}(n),function(e){var t={};e.isDeprecated=function(e,n,r,i){var o=i?"are":"is",a=new Date,s=new Date(n);return s.setMonth(s.getMonth()+3),!(a<s&&(e in t||console.warn("Web Animations: "+e+" "+o+" deprecated and will stop working on "+s.toDateString()+". "+r),t[e]=!0,1))},e.deprecated=function(t,n,r,i){var o=i?"are":"is";if(e.isDeprecated(t,n,r,i))throw new Error(t+" "+o+" no longer supported. "+r)}}(n),function(){if(document.documentElement.animate){var e=document.documentElement.animate([],0),t=!0;if(e&&(t=!1,"play|currentTime|pause|reverse|playbackRate|cancel|finish|startTime|playState".split("|").forEach((function(n){void 0===e[n]&&(t=!0)}))),!t)return}!function(e,t,n){t.convertEffectInput=function(n){var r=function(e){for(var t={},n=0;n<e.length;n++)for(var r in e[n])if("offset"!=r&&"easing"!=r&&"composite"!=r){var i={offset:e[n].offset,easing:e[n].easing,value:e[n][r]};t[r]=t[r]||[],t[r].push(i)}for(var o in t){var a=t[o];if(0!=a[0].offset||1!=a[a.length-1].offset)throw{type:DOMException.NOT_SUPPORTED_ERR,name:"NotSupportedError",message:"Partial keyframes are not supported"}}return t}(e.normalizeKeyframes(n)),i=function(n){var r=[];for(var i in n)for(var o=n[i],a=0;a<o.length-1;a++){var s=a,u=a+1,l=o[s].offset,c=o[u].offset,f=l,d=c;0==a&&(f=-1/0,0==c&&(u=s)),a==o.length-2&&(d=1/0,1==l&&(s=u)),r.push({applyFrom:f,applyTo:d,startOffset:o[s].offset,endOffset:o[u].offset,easingFunction:e.parseEasingFunction(o[s].easing),property:i,interpolation:t.propertyInterpolation(i,o[s].value,o[u].value)})}return r.sort((function(e,t){return e.startOffset-t.startOffset})),r}(r);return function(e,n){if(null!=n)i.filter((function(e){return n>=e.applyFrom&&n<e.applyTo})).forEach((function(r){var i=n-r.startOffset,o=r.endOffset-r.startOffset,a=0==o?0:r.easingFunction(i/o);t.apply(e,r.property,r.interpolation(a))}));else for(var o in r)"offset"!=o&&"easing"!=o&&"composite"!=o&&t.clear(e,o)}}}(n,r),function(e,t,n){function r(e){return e.replace(/-(.)/g,(function(e,t){return t.toUpperCase()}))}function i(e,t,n){o[n]=o[n]||[],o[n].push([e,t])}var o={};t.addPropertiesHandler=function(e,t,n){for(var o=0;o<n.length;o++)i(e,t,r(n[o]))};var a={backgroundColor:"transparent",backgroundPosition:"0% 0%",borderBottomColor:"currentColor",borderBottomLeftRadius:"0px",borderBottomRightRadius:"0px",borderBottomWidth:"3px",borderLeftColor:"currentColor",borderLeftWidth:"3px",borderRightColor:"currentColor",borderRightWidth:"3px",borderSpacing:"2px",borderTopColor:"currentColor",borderTopLeftRadius:"0px",borderTopRightRadius:"0px",borderTopWidth:"3px",bottom:"auto",clip:"rect(0px, 0px, 0px, 0px)",color:"black",fontSize:"100%",fontWeight:"400",height:"auto",left:"auto",letterSpacing:"normal",lineHeight:"120%",marginBottom:"0px",marginLeft:"0px",marginRight:"0px",marginTop:"0px",maxHeight:"none",maxWidth:"none",minHeight:"0px",minWidth:"0px",opacity:"1.0",outlineColor:"invert",outlineOffset:"0px",outlineWidth:"3px",paddingBottom:"0px",paddingLeft:"0px",paddingRight:"0px",paddingTop:"0px",right:"auto",strokeDasharray:"none",strokeDashoffset:"0px",textIndent:"0px",textShadow:"0px 0px 0px transparent",top:"auto",transform:"",verticalAlign:"0px",visibility:"visible",width:"auto",wordSpacing:"normal",zIndex:"auto"};t.propertyInterpolation=function(n,i,s){var u=n;/-/.test(n)&&!e.isDeprecated("Hyphenated property names","2016-03-22","Use camelCase instead.",!0)&&(u=r(n)),"initial"!=i&&"initial"!=s||("initial"==i&&(i=a[u]),"initial"==s&&(s=a[u]));for(var l=i==s?[]:o[u],c=0;l&&c<l.length;c++){var f=l[c][0](i),d=l[c][0](s);if(void 0!==f&&void 0!==d){var h=l[c][1](f,d);if(h){var p=t.Interpolation.apply(null,h);return function(e){return 0==e?i:1==e?s:p(e)}}}}return t.Interpolation(!1,!0,(function(e){return e?s:i}))}}(n,r),function(e,t,n){t.KeyframeEffect=function(n,r,i,o){var a,s=function(t){var n=e.calculateActiveDuration(t),r=function(r){return e.calculateIterationProgress(n,r,t)};return r._totalDuration=t.delay+n+t.endDelay,r}(e.normalizeTimingInput(i)),u=t.convertEffectInput(r),l=function(){u(n,a)};return l._update=function(e){return null!==(a=s(e))},l._clear=function(){u(n,null)},l._hasSameTarget=function(e){return n===e},l._target=n,l._totalDuration=s._totalDuration,l._id=o,l}}(n,r),function(e,t){function n(e,t,n){n.enumerable=!0,n.configurable=!0,Object.defineProperty(e,t,n)}function r(e){this._element=e,this._surrogateStyle=document.createElementNS("http://www.w3.org/1999/xhtml","div").style,this._style=e.style,this._length=0,this._isAnimatedProperty={},this._updateSvgTransformAttr=function(e,t){return!(!t.namespaceURI||-1==t.namespaceURI.indexOf("/svg"))&&(o in e||(e[o]=/Trident|MSIE|IEMobile|Edge|Android 4/i.test(e.navigator.userAgent)),e[o])}(window,e),this._savedTransformAttr=null;for(var t=0;t<this._style.length;t++){var n=this._style[t];this._surrogateStyle[n]=this._style[n]}this._updateIndices()}function i(e){if(!e._webAnimationsPatchedStyle){var t=new r(e);try{n(e,"style",{get:function(){return t}})}catch(t){e.style._set=function(t,n){e.style[t]=n},e.style._clear=function(t){e.style[t]=""}}e._webAnimationsPatchedStyle=e.style}}var o="_webAnimationsUpdateSvgTransformAttr",a={cssText:1,length:1,parentRule:1},s={getPropertyCSSValue:1,getPropertyPriority:1,getPropertyValue:1,item:1,removeProperty:1,setProperty:1},u={removeProperty:1,setProperty:1};for(var l in r.prototype={get cssText(){return this._surrogateStyle.cssText},set cssText(e){for(var t={},n=0;n<this._surrogateStyle.length;n++)t[this._surrogateStyle[n]]=!0;for(this._surrogateStyle.cssText=e,this._updateIndices(),n=0;n<this._surrogateStyle.length;n++)t[this._surrogateStyle[n]]=!0;for(var r in t)this._isAnimatedProperty[r]||this._style.setProperty(r,this._surrogateStyle.getPropertyValue(r))},get length(){return this._surrogateStyle.length},get parentRule(){return this._style.parentRule},_updateIndices:function(){for(;this._length<this._surrogateStyle.length;)Object.defineProperty(this,this._length,{configurable:!0,enumerable:!1,get:function(e){return function(){return this._surrogateStyle[e]}}(this._length)}),this._length++;for(;this._length>this._surrogateStyle.length;)this._length--,Object.defineProperty(this,this._length,{configurable:!0,enumerable:!1,value:void 0})},_set:function(t,n){this._style[t]=n,this._isAnimatedProperty[t]=!0,this._updateSvgTransformAttr&&"transform"==e.unprefixedPropertyName(t)&&(null==this._savedTransformAttr&&(this._savedTransformAttr=this._element.getAttribute("transform")),this._element.setAttribute("transform",e.transformToSvgMatrix(n)))},_clear:function(t){this._style[t]=this._surrogateStyle[t],this._updateSvgTransformAttr&&"transform"==e.unprefixedPropertyName(t)&&(this._savedTransformAttr?this._element.setAttribute("transform",this._savedTransformAttr):this._element.removeAttribute("transform"),this._savedTransformAttr=null),delete this._isAnimatedProperty[t]}},s)r.prototype[l]=function(e,t){return function(){var n=this._surrogateStyle[e].apply(this._surrogateStyle,arguments);return t&&(this._isAnimatedProperty[arguments[0]]||this._style[e].apply(this._style,arguments),this._updateIndices()),n}}(l,l in u);for(var c in document.documentElement.style)c in a||c in s||function(e){n(r.prototype,e,{get:function(){return this._surrogateStyle[e]},set:function(t){this._surrogateStyle[e]=t,this._updateIndices(),this._isAnimatedProperty[e]||(this._style[e]=t)}})}(c);e.apply=function(t,n,r){i(t),t.style._set(e.propertyName(n),r)},e.clear=function(t,n){t._webAnimationsPatchedStyle&&t.style._clear(e.propertyName(n))}}(r),function(e){window.Element.prototype.animate=function(t,n){var r="";return n&&n.id&&(r=n.id),e.timeline._play(e.KeyframeEffect(this,t,n,r))}}(r),function(e,t){e.Interpolation=function(e,t,n){return function(r){return n(function e(t,n,r){if("number"==typeof t&&"number"==typeof n)return t*(1-r)+n*r;if("boolean"==typeof t&&"boolean"==typeof n)return r<.5?t:n;if(t.length==n.length){for(var i=[],o=0;o<t.length;o++)i.push(e(t[o],n[o],r));return i}throw"Mismatched interpolation arguments "+t+":"+n}(e,t,r))}}}(r),function(e,t){var n=function(){function e(e,t){for(var n=[[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0]],r=0;r<4;r++)for(var i=0;i<4;i++)for(var o=0;o<4;o++)n[r][i]+=t[r][o]*e[o][i];return n}return function(t,n,r,i,o){for(var a=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]],s=0;s<4;s++)a[s][3]=o[s];for(s=0;s<3;s++)for(var u=0;u<3;u++)a[3][s]+=t[u]*a[u][s];var l=i[0],c=i[1],f=i[2],d=i[3],h=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]];h[0][0]=1-2*(c*c+f*f),h[0][1]=2*(l*c-f*d),h[0][2]=2*(l*f+c*d),h[1][0]=2*(l*c+f*d),h[1][1]=1-2*(l*l+f*f),h[1][2]=2*(c*f-l*d),h[2][0]=2*(l*f-c*d),h[2][1]=2*(c*f+l*d),h[2][2]=1-2*(l*l+c*c),a=e(a,h);var p=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]];for(r[2]&&(p[2][1]=r[2],a=e(a,p)),r[1]&&(p[2][1]=0,p[2][0]=r[0],a=e(a,p)),r[0]&&(p[2][0]=0,p[1][0]=r[0],a=e(a,p)),s=0;s<3;s++)for(u=0;u<3;u++)a[s][u]*=n[s];return function(e){return 0==e[0][2]&&0==e[0][3]&&0==e[1][2]&&0==e[1][3]&&0==e[2][0]&&0==e[2][1]&&1==e[2][2]&&0==e[2][3]&&0==e[3][2]&&1==e[3][3]}(a)?[a[0][0],a[0][1],a[1][0],a[1][1],a[3][0],a[3][1]]:a[0].concat(a[1],a[2],a[3])}}();e.composeMatrix=n,e.quat=function(t,n,r){var i=e.dot(t,n),o=[];if(1===(i=function(e,t,n){return Math.max(Math.min(e,n),t)}(i,-1,1)))o=t;else for(var a=Math.acos(i),s=1*Math.sin(r*a)/Math.sqrt(1-i*i),u=0;u<4;u++)o.push(t[u]*(Math.cos(r*a)-i*s)+n[u]*s);return o}}(r),function(e,t,n){e.sequenceNumber=0;var r=function(e,t,n){this.target=e,this.currentTime=t,this.timelineTime=n,this.type="finish",this.bubbles=!1,this.cancelable=!1,this.currentTarget=e,this.defaultPrevented=!1,this.eventPhase=Event.AT_TARGET,this.timeStamp=Date.now()};t.Animation=function(t){this.id="",t&&t._id&&(this.id=t._id),this._sequenceNumber=e.sequenceNumber++,this._currentTime=0,this._startTime=null,this._paused=!1,this._playbackRate=1,this._inTimeline=!0,this._finishedFlag=!0,this.onfinish=null,this._finishHandlers=[],this._effect=t,this._inEffect=this._effect._update(0),this._idle=!0,this._currentTimePending=!1},t.Animation.prototype={_ensureAlive:function(){this.playbackRate<0&&0===this.currentTime?this._inEffect=this._effect._update(-1):this._inEffect=this._effect._update(this.currentTime),this._inTimeline||!this._inEffect&&this._finishedFlag||(this._inTimeline=!0,t.timeline._animations.push(this))},_tickCurrentTime:function(e,t){e!=this._currentTime&&(this._currentTime=e,this._isFinished&&!t&&(this._currentTime=this._playbackRate>0?this._totalDuration:0),this._ensureAlive())},get currentTime(){return this._idle||this._currentTimePending?null:this._currentTime},set currentTime(e){e=+e,isNaN(e)||(t.restart(),this._paused||null==this._startTime||(this._startTime=this._timeline.currentTime-e/this._playbackRate),this._currentTimePending=!1,this._currentTime!=e&&(this._idle&&(this._idle=!1,this._paused=!0),this._tickCurrentTime(e,!0),t.applyDirtiedAnimation(this)))},get startTime(){return this._startTime},set startTime(e){e=+e,isNaN(e)||this._paused||this._idle||(this._startTime=e,this._tickCurrentTime((this._timeline.currentTime-this._startTime)*this.playbackRate),t.applyDirtiedAnimation(this))},get playbackRate(){return this._playbackRate},set playbackRate(e){if(e!=this._playbackRate){var n=this.currentTime;this._playbackRate=e,this._startTime=null,"paused"!=this.playState&&"idle"!=this.playState&&(this._finishedFlag=!1,this._idle=!1,this._ensureAlive(),t.applyDirtiedAnimation(this)),null!=n&&(this.currentTime=n)}},get _isFinished(){return!this._idle&&(this._playbackRate>0&&this._currentTime>=this._totalDuration||this._playbackRate<0&&this._currentTime<=0)},get _totalDuration(){return this._effect._totalDuration},get playState(){return this._idle?"idle":null==this._startTime&&!this._paused&&0!=this.playbackRate||this._currentTimePending?"pending":this._paused?"paused":this._isFinished?"finished":"running"},_rewind:function(){if(this._playbackRate>=0)this._currentTime=0;else{if(!(this._totalDuration<1/0))throw new DOMException("Unable to rewind negative playback rate animation with infinite duration","InvalidStateError");this._currentTime=this._totalDuration}},play:function(){this._paused=!1,(this._isFinished||this._idle)&&(this._rewind(),this._startTime=null),this._finishedFlag=!1,this._idle=!1,this._ensureAlive(),t.applyDirtiedAnimation(this)},pause:function(){this._isFinished||this._paused||this._idle?this._idle&&(this._rewind(),this._idle=!1):this._currentTimePending=!0,this._startTime=null,this._paused=!0},finish:function(){this._idle||(this.currentTime=this._playbackRate>0?this._totalDuration:0,this._startTime=this._totalDuration-this.currentTime,this._currentTimePending=!1,t.applyDirtiedAnimation(this))},cancel:function(){this._inEffect&&(this._inEffect=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._startTime=null,this._effect._update(null),t.applyDirtiedAnimation(this))},reverse:function(){this.playbackRate*=-1,this.play()},addEventListener:function(e,t){"function"==typeof t&&"finish"==e&&this._finishHandlers.push(t)},removeEventListener:function(e,t){if("finish"==e){var n=this._finishHandlers.indexOf(t);n>=0&&this._finishHandlers.splice(n,1)}},_fireEvents:function(e){if(this._isFinished){if(!this._finishedFlag){var t=new r(this,this._currentTime,e),n=this._finishHandlers.concat(this.onfinish?[this.onfinish]:[]);setTimeout((function(){n.forEach((function(e){e.call(t.target,t)}))}),0),this._finishedFlag=!0}}else this._finishedFlag=!1},_tick:function(e,t){this._idle||this._paused||(null==this._startTime?t&&(this.startTime=e-this._currentTime/this.playbackRate):this._isFinished||this._tickCurrentTime((e-this._startTime)*this.playbackRate)),t&&(this._currentTimePending=!1,this._fireEvents(e))},get _needsTick(){return this.playState in{pending:1,running:1}||!this._finishedFlag},_targetAnimations:function(){var e=this._effect._target;return e._activeAnimations||(e._activeAnimations=[]),e._activeAnimations},_markTarget:function(){var e=this._targetAnimations();-1===e.indexOf(this)&&e.push(this)},_unmarkTarget:function(){var e=this._targetAnimations(),t=e.indexOf(this);-1!==t&&e.splice(t,1)}}}(n,r),function(e,t,n){function r(e){var t=l;l=[],e<m.currentTime&&(e=m.currentTime),m._animations.sort(i),m._animations=s(e,!0,m._animations)[0],t.forEach((function(t){t[1](e)})),a()}function i(e,t){return e._sequenceNumber-t._sequenceNumber}function o(){this._animations=[],this.currentTime=window.performance&&performance.now?performance.now():0}function a(){h.forEach((function(e){e()})),h.length=0}function s(e,n,r){p=!0,d=!1,t.timeline.currentTime=e,f=!1;var i=[],o=[],a=[],s=[];return r.forEach((function(t){t._tick(e,n),t._inEffect?(o.push(t._effect),t._markTarget()):(i.push(t._effect),t._unmarkTarget()),t._needsTick&&(f=!0);var r=t._inEffect||t._needsTick;t._inTimeline=r,r?a.push(t):s.push(t)})),h.push.apply(h,i),h.push.apply(h,o),f&&requestAnimationFrame((function(){})),p=!1,[a,s]}var u=window.requestAnimationFrame,l=[],c=0;window.requestAnimationFrame=function(e){var t=c++;return 0==l.length&&u(r),l.push([t,e]),t},window.cancelAnimationFrame=function(e){l.forEach((function(t){t[0]==e&&(t[1]=function(){})}))},o.prototype={_play:function(n){n._timing=e.normalizeTimingInput(n.timing);var r=new t.Animation(n);return r._idle=!1,r._timeline=this,this._animations.push(r),t.restart(),t.applyDirtiedAnimation(r),r}};var f=!1,d=!1;t.restart=function(){return f||(f=!0,requestAnimationFrame((function(){})),d=!0),d},t.applyDirtiedAnimation=function(e){if(!p){e._markTarget();var n=e._targetAnimations();n.sort(i),s(t.timeline.currentTime,!1,n.slice())[1].forEach((function(e){var t=m._animations.indexOf(e);-1!==t&&m._animations.splice(t,1)})),a()}};var h=[],p=!1,m=new o;t.timeline=m}(n,r),function(e,t){function n(e,t){for(var n=0,r=0;r<e.length;r++)n+=e[r]*t[r];return n}function r(e,t){return[e[0]*t[0]+e[4]*t[1]+e[8]*t[2]+e[12]*t[3],e[1]*t[0]+e[5]*t[1]+e[9]*t[2]+e[13]*t[3],e[2]*t[0]+e[6]*t[1]+e[10]*t[2]+e[14]*t[3],e[3]*t[0]+e[7]*t[1]+e[11]*t[2]+e[15]*t[3],e[0]*t[4]+e[4]*t[5]+e[8]*t[6]+e[12]*t[7],e[1]*t[4]+e[5]*t[5]+e[9]*t[6]+e[13]*t[7],e[2]*t[4]+e[6]*t[5]+e[10]*t[6]+e[14]*t[7],e[3]*t[4]+e[7]*t[5]+e[11]*t[6]+e[15]*t[7],e[0]*t[8]+e[4]*t[9]+e[8]*t[10]+e[12]*t[11],e[1]*t[8]+e[5]*t[9]+e[9]*t[10]+e[13]*t[11],e[2]*t[8]+e[6]*t[9]+e[10]*t[10]+e[14]*t[11],e[3]*t[8]+e[7]*t[9]+e[11]*t[10]+e[15]*t[11],e[0]*t[12]+e[4]*t[13]+e[8]*t[14]+e[12]*t[15],e[1]*t[12]+e[5]*t[13]+e[9]*t[14]+e[13]*t[15],e[2]*t[12]+e[6]*t[13]+e[10]*t[14]+e[14]*t[15],e[3]*t[12]+e[7]*t[13]+e[11]*t[14]+e[15]*t[15]]}function i(e){var t=e.rad||0;return((e.deg||0)/360+(e.grad||0)/400+(e.turn||0))*(2*Math.PI)+t}function o(e){switch(e.t){case"rotatex":var t=i(e.d[0]);return[1,0,0,0,0,Math.cos(t),Math.sin(t),0,0,-Math.sin(t),Math.cos(t),0,0,0,0,1];case"rotatey":return t=i(e.d[0]),[Math.cos(t),0,-Math.sin(t),0,0,1,0,0,Math.sin(t),0,Math.cos(t),0,0,0,0,1];case"rotate":case"rotatez":return t=i(e.d[0]),[Math.cos(t),Math.sin(t),0,0,-Math.sin(t),Math.cos(t),0,0,0,0,1,0,0,0,0,1];case"rotate3d":var n=e.d[0],r=e.d[1],o=e.d[2],a=(t=i(e.d[3]),n*n+r*r+o*o);if(0===a)n=1,r=0,o=0;else if(1!==a){var s=Math.sqrt(a);n/=s,r/=s,o/=s}var u=Math.sin(t/2),l=u*Math.cos(t/2),c=u*u;return[1-2*(r*r+o*o)*c,2*(n*r*c+o*l),2*(n*o*c-r*l),0,2*(n*r*c-o*l),1-2*(n*n+o*o)*c,2*(r*o*c+n*l),0,2*(n*o*c+r*l),2*(r*o*c-n*l),1-2*(n*n+r*r)*c,0,0,0,0,1];case"scale":return[e.d[0],0,0,0,0,e.d[1],0,0,0,0,1,0,0,0,0,1];case"scalex":return[e.d[0],0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];case"scaley":return[1,0,0,0,0,e.d[0],0,0,0,0,1,0,0,0,0,1];case"scalez":return[1,0,0,0,0,1,0,0,0,0,e.d[0],0,0,0,0,1];case"scale3d":return[e.d[0],0,0,0,0,e.d[1],0,0,0,0,e.d[2],0,0,0,0,1];case"skew":var f=i(e.d[0]),d=i(e.d[1]);return[1,Math.tan(d),0,0,Math.tan(f),1,0,0,0,0,1,0,0,0,0,1];case"skewx":return t=i(e.d[0]),[1,0,0,0,Math.tan(t),1,0,0,0,0,1,0,0,0,0,1];case"skewy":return t=i(e.d[0]),[1,Math.tan(t),0,0,0,1,0,0,0,0,1,0,0,0,0,1];case"translate":return[1,0,0,0,0,1,0,0,0,0,1,0,n=e.d[0].px||0,r=e.d[1].px||0,0,1];case"translatex":return[1,0,0,0,0,1,0,0,0,0,1,0,n=e.d[0].px||0,0,0,1];case"translatey":return[1,0,0,0,0,1,0,0,0,0,1,0,0,r=e.d[0].px||0,0,1];case"translatez":return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,o=e.d[0].px||0,1];case"translate3d":return[1,0,0,0,0,1,0,0,0,0,1,0,n=e.d[0].px||0,r=e.d[1].px||0,o=e.d[2].px||0,1];case"perspective":return[1,0,0,0,0,1,0,0,0,0,1,e.d[0].px?-1/e.d[0].px:0,0,0,0,1];case"matrix":return[e.d[0],e.d[1],0,0,e.d[2],e.d[3],0,0,0,0,1,0,e.d[4],e.d[5],0,1];case"matrix3d":return e.d}}function a(e){return 0===e.length?[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]:e.map(o).reduce(r)}var s=function(){function e(e){return e[0][0]*e[1][1]*e[2][2]+e[1][0]*e[2][1]*e[0][2]+e[2][0]*e[0][1]*e[1][2]-e[0][2]*e[1][1]*e[2][0]-e[1][2]*e[2][1]*e[0][0]-e[2][2]*e[0][1]*e[1][0]}function t(e){var t=r(e);return[e[0]/t,e[1]/t,e[2]/t]}function r(e){return Math.sqrt(e[0]*e[0]+e[1]*e[1]+e[2]*e[2])}function i(e,t,n,r){return[n*e[0]+r*t[0],n*e[1]+r*t[1],n*e[2]+r*t[2]]}return function(o){var a=[o.slice(0,4),o.slice(4,8),o.slice(8,12),o.slice(12,16)];if(1!==a[3][3])return null;for(var s=[],u=0;u<4;u++)s.push(a[u].slice());for(u=0;u<3;u++)s[u][3]=0;if(0===e(s))return null;var l,c=[];a[0][3]||a[1][3]||a[2][3]?(c.push(a[0][3]),c.push(a[1][3]),c.push(a[2][3]),c.push(a[3][3]),l=function(e,t){for(var n=[],r=0;r<4;r++){for(var i=0,o=0;o<4;o++)i+=e[o]*t[o][r];n.push(i)}return n}(c,function(e){return[[e[0][0],e[1][0],e[2][0],e[3][0]],[e[0][1],e[1][1],e[2][1],e[3][1]],[e[0][2],e[1][2],e[2][2],e[3][2]],[e[0][3],e[1][3],e[2][3],e[3][3]]]}(function(t){for(var n=1/e(t),r=t[0][0],i=t[0][1],o=t[0][2],a=t[1][0],s=t[1][1],u=t[1][2],l=t[2][0],c=t[2][1],f=t[2][2],d=[[(s*f-u*c)*n,(o*c-i*f)*n,(i*u-o*s)*n,0],[(u*l-a*f)*n,(r*f-o*l)*n,(o*a-r*u)*n,0],[(a*c-s*l)*n,(l*i-r*c)*n,(r*s-i*a)*n,0]],h=[],p=0;p<3;p++){for(var m=0,g=0;g<3;g++)m+=t[3][g]*d[g][p];h.push(m)}return h.push(1),d.push(h),d}(s)))):l=[0,0,0,1];var f=a[3].slice(0,3),d=[];d.push(a[0].slice(0,3));var h=[];h.push(r(d[0])),d[0]=t(d[0]);var p=[];d.push(a[1].slice(0,3)),p.push(n(d[0],d[1])),d[1]=i(d[1],d[0],1,-p[0]),h.push(r(d[1])),d[1]=t(d[1]),p[0]/=h[1],d.push(a[2].slice(0,3)),p.push(n(d[0],d[2])),d[2]=i(d[2],d[0],1,-p[1]),p.push(n(d[1],d[2])),d[2]=i(d[2],d[1],1,-p[2]),h.push(r(d[2])),d[2]=t(d[2]),p[1]/=h[2],p[2]/=h[2];var m=function(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]}(d[1],d[2]);if(n(d[0],m)<0)for(u=0;u<3;u++)h[u]*=-1,d[u][0]*=-1,d[u][1]*=-1,d[u][2]*=-1;var g,v,b=d[0][0]+d[1][1]+d[2][2]+1;return b>1e-4?(g=.5/Math.sqrt(b),v=[(d[2][1]-d[1][2])*g,(d[0][2]-d[2][0])*g,(d[1][0]-d[0][1])*g,.25/g]):d[0][0]>d[1][1]&&d[0][0]>d[2][2]?v=[.25*(g=2*Math.sqrt(1+d[0][0]-d[1][1]-d[2][2])),(d[0][1]+d[1][0])/g,(d[0][2]+d[2][0])/g,(d[2][1]-d[1][2])/g]:d[1][1]>d[2][2]?(g=2*Math.sqrt(1+d[1][1]-d[0][0]-d[2][2]),v=[(d[0][1]+d[1][0])/g,.25*g,(d[1][2]+d[2][1])/g,(d[0][2]-d[2][0])/g]):(g=2*Math.sqrt(1+d[2][2]-d[0][0]-d[1][1]),v=[(d[0][2]+d[2][0])/g,(d[1][2]+d[2][1])/g,.25*g,(d[1][0]-d[0][1])/g]),[f,h,p,v,l]}}();e.dot=n,e.makeMatrixDecomposition=function(e){return[s(a(e))]},e.transformListToMatrix=a}(r),function(e){function t(e,t){var n=e.exec(t);if(n)return[n=e.ignoreCase?n[0].toLowerCase():n[0],t.substr(n.length)]}function n(e,t){var n=e(t=t.replace(/^\s*/,""));if(n)return[n[0],n[1].replace(/^\s*/,"")]}function r(e,t,n,r,i){for(var o=[],a=[],s=[],u=function(e,t){for(var n=e,r=t;n&&r;)n>r?n%=r:r%=n;return e*t/(n+r)}(r.length,i.length),l=0;l<u;l++){var c=t(r[l%r.length],i[l%i.length]);if(!c)return;o.push(c[0]),a.push(c[1]),s.push(c[2])}return[o,a,function(t){var r=t.map((function(e,t){return s[t](e)})).join(n);return e?e(r):r}]}e.consumeToken=t,e.consumeTrimmed=n,e.consumeRepeated=function(e,r,i){e=n.bind(null,e);for(var o=[];;){var a=e(i);if(!a)return[o,i];if(o.push(a[0]),!(a=t(r,i=a[1]))||""==a[1])return[o,i];i=a[1]}},e.consumeParenthesised=function(e,t){for(var n=0,r=0;r<t.length&&(!/\s|,/.test(t[r])||0!=n);r++)if("("==t[r])n++;else if(")"==t[r]&&(0==--n&&r++,n<=0))break;var i=e(t.substr(0,r));return null==i?void 0:[i,t.substr(r)]},e.ignore=function(e){return function(t){var n=e(t);return n&&(n[0]=void 0),n}},e.optional=function(e,t){return function(n){return e(n)||[t,n]}},e.consumeList=function(t,n){for(var r=[],i=0;i<t.length;i++){var o=e.consumeTrimmed(t[i],n);if(!o||""==o[0])return;void 0!==o[0]&&r.push(o[0]),n=o[1]}if(""==n)return r},e.mergeNestedRepeated=r.bind(null,null),e.mergeWrappedNestedRepeated=r,e.mergeList=function(e,t,n){for(var r=[],i=[],o=[],a=0,s=0;s<n.length;s++)if("function"==typeof n[s]){var u=n[s](e[a],t[a++]);r.push(u[0]),i.push(u[1]),o.push(u[2])}else!function(e){r.push(!1),i.push(!1),o.push((function(){return n[e]}))}(s);return[r,i,function(e){for(var t="",n=0;n<e.length;n++)t+=o[n](e[n]);return t}]}}(r),function(e){function t(t){var n={inset:!1,lengths:[],color:null},r=e.consumeRepeated((function(t){var r=e.consumeToken(/^inset/i,t);return r?(n.inset=!0,r):(r=e.consumeLengthOrPercent(t))?(n.lengths.push(r[0]),r):(r=e.consumeColor(t))?(n.color=r[0],r):void 0}),/^/,t);if(r&&r[0].length)return[n,r[1]]}var n=function(t,n,r,i){function o(e){return{inset:e,color:[0,0,0,0],lengths:[{px:0},{px:0},{px:0},{px:0}]}}for(var a=[],s=[],u=0;u<r.length||u<i.length;u++){var l=r[u]||o(i[u].inset),c=i[u]||o(r[u].inset);a.push(l),s.push(c)}return e.mergeNestedRepeated(t,n,a,s)}.bind(null,(function(t,n){for(;t.lengths.length<Math.max(t.lengths.length,n.lengths.length);)t.lengths.push({px:0});for(;n.lengths.length<Math.max(t.lengths.length,n.lengths.length);)n.lengths.push({px:0});if(t.inset==n.inset&&!!t.color==!!n.color){for(var r,i=[],o=[[],0],a=[[],0],s=0;s<t.lengths.length;s++){var u=e.mergeDimensions(t.lengths[s],n.lengths[s],2==s);o[0].push(u[0]),a[0].push(u[1]),i.push(u[2])}if(t.color&&n.color){var l=e.mergeColors(t.color,n.color);o[1]=l[0],a[1]=l[1],r=l[2]}return[o,a,function(e){for(var n=t.inset?"inset ":" ",o=0;o<i.length;o++)n+=i[o](e[0][o])+" ";return r&&(n+=r(e[1])),n}]}}),", ");e.addPropertiesHandler((function(n){var r=e.consumeRepeated(t,/^,/,n);if(r&&""==r[1])return r[0]}),n,["box-shadow","text-shadow"])}(r),function(e,t){function n(e){return e.toFixed(3).replace(/0+$/,"").replace(/\.$/,"")}function r(e,t,n){return Math.min(t,Math.max(e,n))}function i(e){if(/^\s*[-+]?(\d*\.)?\d+\s*$/.test(e))return Number(e)}function o(e,t){return function(i,o){return[i,o,function(i){return n(r(e,t,i))}]}}function a(e){var t=e.trim().split(/\s*[\s,]\s*/);if(0!==t.length){for(var n=[],r=0;r<t.length;r++){var o=i(t[r]);if(void 0===o)return;n.push(o)}return n}}e.clamp=r,e.addPropertiesHandler(a,(function(e,t){if(e.length==t.length)return[e,t,function(e){return e.map(n).join(" ")}]}),["stroke-dasharray"]),e.addPropertiesHandler(i,o(0,1/0),["border-image-width","line-height"]),e.addPropertiesHandler(i,o(0,1),["opacity","shape-image-threshold"]),e.addPropertiesHandler(i,(function(e,t){if(0!=e)return o(0,1/0)(e,t)}),["flex-grow","flex-shrink"]),e.addPropertiesHandler(i,(function(e,t){return[e,t,function(e){return Math.round(r(1,1/0,e))}]}),["orphans","widows"]),e.addPropertiesHandler(i,(function(e,t){return[e,t,Math.round]}),["z-index"]),e.parseNumber=i,e.parseNumberList=a,e.mergeNumbers=function(e,t){return[e,t,n]},e.numberToString=n}(r),function(e,t){e.addPropertiesHandler(String,(function(e,t){if("visible"==e||"visible"==t)return[0,1,function(n){return n<=0?e:n>=1?t:"visible"}]}),["visibility"])}(r),function(e,t){function n(e){e=e.trim(),o.fillStyle="#000",o.fillStyle=e;var t=o.fillStyle;if(o.fillStyle="#fff",o.fillStyle=e,t==o.fillStyle){o.fillRect(0,0,1,1);var n=o.getImageData(0,0,1,1).data;o.clearRect(0,0,1,1);var r=n[3]/255;return[n[0]*r,n[1]*r,n[2]*r,r]}}function r(t,n){return[t,n,function(t){function n(e){return Math.max(0,Math.min(255,e))}if(t[3])for(var r=0;r<3;r++)t[r]=Math.round(n(t[r]/t[3]));return t[3]=e.numberToString(e.clamp(0,1,t[3])),"rgba("+t.join(",")+")"}]}var i=document.createElementNS("http://www.w3.org/1999/xhtml","canvas");i.width=i.height=1;var o=i.getContext("2d");e.addPropertiesHandler(n,r,["background-color","border-bottom-color","border-left-color","border-right-color","border-top-color","color","fill","flood-color","lighting-color","outline-color","stop-color","stroke","text-decoration-color"]),e.consumeColor=e.consumeParenthesised.bind(null,n),e.mergeColors=r}(r),function(e,t){function n(e){function t(){var t=a.exec(e);o=t?t[0]:void 0}function n(){if("("!==o)return function(){var e=Number(o);return t(),e}();t();var e=i();return")"!==o?NaN:(t(),e)}function r(){for(var e=n();"*"===o||"/"===o;){var r=o;t();var i=n();"*"===r?e*=i:e/=i}return e}function i(){for(var e=r();"+"===o||"-"===o;){var n=o;t();var i=r();"+"===n?e+=i:e-=i}return e}var o,a=/([\+\-\w\.]+|[\(\)\*\/])/g;return t(),i()}function r(e,t){if("0"==(t=t.trim().toLowerCase())&&"px".search(e)>=0)return{px:0};if(/^[^(]*$|^calc/.test(t)){t=t.replace(/calc\(/g,"(");var r={};t=t.replace(e,(function(e){return r[e]=null,"U"+e}));for(var i="U("+e.source+")",o=t.replace(/[-+]?(\d*\.)?\d+([Ee][-+]?\d+)?/g,"N").replace(new RegExp("N"+i,"g"),"D").replace(/\s[+-]\s/g,"O").replace(/\s/g,""),a=[/N\*(D)/g,/(N|D)[*\/]N/g,/(N|D)O\1/g,/\((N|D)\)/g],s=0;s<a.length;)a[s].test(o)?(o=o.replace(a[s],"$1"),s=0):s++;if("D"==o){for(var u in r){var l=n(t.replace(new RegExp("U"+u,"g"),"").replace(new RegExp(i,"g"),"*0"));if(!isFinite(l))return;r[u]=l}return r}}}function i(e,t){return o(e,t,!0)}function o(t,n,r){var i,o=[];for(i in t)o.push(i);for(i in n)o.indexOf(i)<0&&o.push(i);return t=o.map((function(e){return t[e]||0})),n=o.map((function(e){return n[e]||0})),[t,n,function(t){var n=t.map((function(n,i){return 1==t.length&&r&&(n=Math.max(n,0)),e.numberToString(n)+o[i]})).join(" + ");return t.length>1?"calc("+n+")":n}]}var a="px|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc",s=r.bind(null,new RegExp(a,"g")),u=r.bind(null,new RegExp(a+"|%","g")),l=r.bind(null,/deg|rad|grad|turn/g);e.parseLength=s,e.parseLengthOrPercent=u,e.consumeLengthOrPercent=e.consumeParenthesised.bind(null,u),e.parseAngle=l,e.mergeDimensions=o;var c=e.consumeParenthesised.bind(null,s),f=e.consumeRepeated.bind(void 0,c,/^/),d=e.consumeRepeated.bind(void 0,f,/^,/);e.consumeSizePairList=d;var h=e.mergeNestedRepeated.bind(void 0,i," "),p=e.mergeNestedRepeated.bind(void 0,h,",");e.mergeNonNegativeSizePair=h,e.addPropertiesHandler((function(e){var t=d(e);if(t&&""==t[1])return t[0]}),p,["background-size"]),e.addPropertiesHandler(u,i,["border-bottom-width","border-image-width","border-left-width","border-right-width","border-top-width","flex-basis","font-size","height","line-height","max-height","max-width","outline-width","width"]),e.addPropertiesHandler(u,o,["border-bottom-left-radius","border-bottom-right-radius","border-top-left-radius","border-top-right-radius","bottom","left","letter-spacing","margin-bottom","margin-left","margin-right","margin-top","min-height","min-width","outline-offset","padding-bottom","padding-left","padding-right","padding-top","perspective","right","shape-margin","stroke-dashoffset","text-indent","top","vertical-align","word-spacing"])}(r),function(e,t){function n(t){return e.consumeLengthOrPercent(t)||e.consumeToken(/^auto/,t)}function r(t){var r=e.consumeList([e.ignore(e.consumeToken.bind(null,/^rect/)),e.ignore(e.consumeToken.bind(null,/^\(/)),e.consumeRepeated.bind(null,n,/^,/),e.ignore(e.consumeToken.bind(null,/^\)/))],t);if(r&&4==r[0].length)return r[0]}var i=e.mergeWrappedNestedRepeated.bind(null,(function(e){return"rect("+e+")"}),(function(t,n){return"auto"==t||"auto"==n?[!0,!1,function(r){var i=r?t:n;if("auto"==i)return"auto";var o=e.mergeDimensions(i,i);return o[2](o[0])}]:e.mergeDimensions(t,n)}),", ");e.parseBox=r,e.mergeBoxes=i,e.addPropertiesHandler(r,i,["clip"])}(r),function(e,t){function n(e){return function(t){var n=0;return e.map((function(e){return e===l?t[n++]:e}))}}function r(e){return e}function i(t){if("none"==(t=t.toLowerCase().trim()))return[];for(var n,r=/\s*(\w+)\(([^)]*)\)/g,i=[],o=0;n=r.exec(t);){if(n.index!=o)return;o=n.index+n[0].length;var a=n[1],s=d[a];if(!s)return;var u=n[2].split(","),l=s[0];if(l.length<u.length)return;for(var h=[],p=0;p<l.length;p++){var m,g=u[p],v=l[p];if(void 0===(m=g?{A:function(t){return"0"==t.trim()?f:e.parseAngle(t)},N:e.parseNumber,T:e.parseLengthOrPercent,L:e.parseLength}[v.toUpperCase()](g):{a:f,n:h[0],t:c}[v]))return;h.push(m)}if(i.push({t:a,d:h}),r.lastIndex==t.length)return i}}function o(e){return e.toFixed(6).replace(".000000","")}function a(t,n){if(t.decompositionPair!==n){t.decompositionPair=n;var r=e.makeMatrixDecomposition(t)}if(n.decompositionPair!==t){n.decompositionPair=t;var i=e.makeMatrixDecomposition(n)}return null==r[0]||null==i[0]?[[!1],[!0],function(e){return e?n[0].d:t[0].d}]:(r[0].push(0),i[0].push(1),[r,i,function(t){var n=e.quat(r[0][3],i[0][3],t[5]);return e.composeMatrix(t[0],t[1],t[2],n,t[4]).map(o).join(",")}])}function s(e){return e.replace(/[xy]/,"")}function u(e){return e.replace(/(x|y|z|3d)?$/,"3d")}var l=null,c={px:0},f={deg:0},d={matrix:["NNNNNN",[l,l,0,0,l,l,0,0,0,0,1,0,l,l,0,1],r],matrix3d:["NNNNNNNNNNNNNNNN",r],rotate:["A"],rotatex:["A"],rotatey:["A"],rotatez:["A"],rotate3d:["NNNA"],perspective:["L"],scale:["Nn",n([l,l,1]),r],scalex:["N",n([l,1,1]),n([l,1])],scaley:["N",n([1,l,1]),n([1,l])],scalez:["N",n([1,1,l])],scale3d:["NNN",r],skew:["Aa",null,r],skewx:["A",null,n([l,f])],skewy:["A",null,n([f,l])],translate:["Tt",n([l,l,c]),r],translatex:["T",n([l,c,c]),n([l,c])],translatey:["T",n([c,l,c]),n([c,l])],translatez:["L",n([c,c,l])],translate3d:["TTL",r]};e.addPropertiesHandler(i,(function(t,n){var r=e.makeMatrixDecomposition&&!0,i=!1;if(!t.length||!n.length){t.length||(i=!0,t=n,n=[]);for(var o=0;o<t.length;o++){var l=t[o].t,c=t[o].d,f="scale"==l.substr(0,5)?1:0;n.push({t:l,d:c.map((function(e){if("number"==typeof e)return f;var t={};for(var n in e)t[n]=f;return t}))})}}var h=function(e,t){return"perspective"==e&&"perspective"==t||("matrix"==e||"matrix3d"==e)&&("matrix"==t||"matrix3d"==t)},p=[],m=[],g=[];if(t.length!=n.length){if(!r)return;p=[(E=a(t,n))[0]],m=[E[1]],g=[["matrix",[E[2]]]]}else for(o=0;o<t.length;o++){var v=t[o].t,b=n[o].t,y=t[o].d,_=n[o].d,T=d[v],x=d[b];if(h(v,b)){if(!r)return;var E=a([t[o]],[n[o]]);p.push(E[0]),m.push(E[1]),g.push(["matrix",[E[2]]])}else{if(v==b)l=v;else if(T[2]&&x[2]&&s(v)==s(b))l=s(v),y=T[2](y),_=x[2](_);else{if(!T[1]||!x[1]||u(v)!=u(b)){if(!r)return;p=[(E=a(t,n))[0]],m=[E[1]],g=[["matrix",[E[2]]]];break}l=u(v),y=T[1](y),_=x[1](_)}for(var w=[],k=[],S=[],N=0;N<y.length;N++)E=("number"==typeof y[N]?e.mergeNumbers:e.mergeDimensions)(y[N],_[N]),w[N]=E[0],k[N]=E[1],S.push(E[2]);p.push(w),m.push(k),g.push([l,S])}}if(i){var A=p;p=m,m=A}return[p,m,function(e){return e.map((function(e,t){var n=e.map((function(e,n){return g[t][1][n](e)})).join(",");return"matrix"==g[t][0]&&16==n.split(",").length&&(g[t][0]="matrix3d"),g[t][0]+"("+n+")"})).join(" ")}]}),["transform"]),e.transformToSvgMatrix=function(t){var n=e.transformListToMatrix(i(t));return"matrix("+o(n[0])+" "+o(n[1])+" "+o(n[4])+" "+o(n[5])+" "+o(n[12])+" "+o(n[13])+")"}}(r),function(e){function t(t){return t=100*Math.round(t/100),400===(t=e.clamp(100,900,t))?"normal":700===t?"bold":String(t)}e.addPropertiesHandler((function(e){var t=Number(e);if(!(isNaN(t)||t<100||t>900||t%100!=0))return t}),(function(e,n){return[e,n,t]}),["font-weight"])}(r),function(e){function t(e){var t={};for(var n in e)t[n]=-e[n];return t}function n(t){return e.consumeToken(/^(left|center|right|top|bottom)\b/i,t)||e.consumeLengthOrPercent(t)}function r(t,r){var i=e.consumeRepeated(n,/^/,r);if(i&&""==i[1]){var a=i[0];if(a[0]=a[0]||"center",a[1]=a[1]||"center",3==t&&(a[2]=a[2]||{px:0}),a.length==t){if(/top|bottom/.test(a[0])||/left|right/.test(a[1])){var s=a[0];a[0]=a[1],a[1]=s}if(/left|right|center|Object/.test(a[0])&&/top|bottom|center|Object/.test(a[1]))return a.map((function(e){return"object"==typeof e?e:o[e]}))}}}function i(r){var i=e.consumeRepeated(n,/^/,r);if(i){for(var a=i[0],s=[{"%":50},{"%":50}],u=0,l=!1,c=0;c<a.length;c++){var f=a[c];"string"==typeof f?(l=/bottom|right/.test(f),s[u={left:0,right:0,center:u,top:1,bottom:1}[f]]=o[f],"center"==f&&u++):(l&&((f=t(f))["%"]=(f["%"]||0)+100),s[u]=f,u++,l=!1)}return[s,i[1]]}}var o={left:{"%":0},center:{"%":50},right:{"%":100},top:{"%":0},bottom:{"%":100}},a=e.mergeNestedRepeated.bind(null,e.mergeDimensions," ");e.addPropertiesHandler(r.bind(null,3),a,["transform-origin"]),e.addPropertiesHandler(r.bind(null,2),a,["perspective-origin"]),e.consumePosition=i,e.mergeOffsetList=a;var s=e.mergeNestedRepeated.bind(null,a,", ");e.addPropertiesHandler((function(t){var n=e.consumeRepeated(i,/^,/,t);if(n&&""==n[1])return n[0]}),s,["background-position","object-position"])}(r),function(e){var t=e.consumeParenthesised.bind(null,e.parseLengthOrPercent),n=e.consumeRepeated.bind(void 0,t,/^/),r=e.mergeNestedRepeated.bind(void 0,e.mergeDimensions," "),i=e.mergeNestedRepeated.bind(void 0,r,",");e.addPropertiesHandler((function(r){var i=e.consumeToken(/^circle/,r);if(i&&i[0])return["circle"].concat(e.consumeList([e.ignore(e.consumeToken.bind(void 0,/^\(/)),t,e.ignore(e.consumeToken.bind(void 0,/^at/)),e.consumePosition,e.ignore(e.consumeToken.bind(void 0,/^\)/))],i[1]));var o=e.consumeToken(/^ellipse/,r);if(o&&o[0])return["ellipse"].concat(e.consumeList([e.ignore(e.consumeToken.bind(void 0,/^\(/)),n,e.ignore(e.consumeToken.bind(void 0,/^at/)),e.consumePosition,e.ignore(e.consumeToken.bind(void 0,/^\)/))],o[1]));var a=e.consumeToken(/^polygon/,r);return a&&a[0]?["polygon"].concat(e.consumeList([e.ignore(e.consumeToken.bind(void 0,/^\(/)),e.optional(e.consumeToken.bind(void 0,/^nonzero\s*,|^evenodd\s*,/),"nonzero,"),e.consumeSizePairList,e.ignore(e.consumeToken.bind(void 0,/^\)/))],a[1])):void 0}),(function(t,n){if(t[0]===n[0])return"circle"==t[0]?e.mergeList(t.slice(1),n.slice(1),["circle(",e.mergeDimensions," at ",e.mergeOffsetList,")"]):"ellipse"==t[0]?e.mergeList(t.slice(1),n.slice(1),["ellipse(",e.mergeNonNegativeSizePair," at ",e.mergeOffsetList,")"]):"polygon"==t[0]&&t[1]==n[1]?e.mergeList(t.slice(2),n.slice(2),["polygon(",t[1],i,")"]):void 0}),["shape-outside"])}(r),function(e,t){function n(e,t){t.concat([e]).forEach((function(t){t in document.documentElement.style&&(r[e]=t),i[t]=e}))}var r={},i={};n("transform",["webkitTransform","msTransform"]),n("transformOrigin",["webkitTransformOrigin"]),n("perspective",["webkitPerspective"]),n("perspectiveOrigin",["webkitPerspectiveOrigin"]),e.propertyName=function(e){return r[e]||e},e.unprefixedPropertyName=function(e){return i[e]||e}}(r)}(),function(){if(void 0===document.createElement("div").animate([]).oncancel){if(window.performance&&performance.now)var e=function(){return performance.now()};else e=function(){return Date.now()};var t=function(e,t,n){this.target=e,this.currentTime=t,this.timelineTime=n,this.type="cancel",this.bubbles=!1,this.cancelable=!1,this.currentTarget=e,this.defaultPrevented=!1,this.eventPhase=Event.AT_TARGET,this.timeStamp=Date.now()},n=window.Element.prototype.animate;window.Element.prototype.animate=function(r,i){var o=n.call(this,r,i);o._cancelHandlers=[],o.oncancel=null;var a=o.cancel;o.cancel=function(){a.call(this);var n=new t(this,null,e()),r=this._cancelHandlers.concat(this.oncancel?[this.oncancel]:[]);setTimeout((function(){r.forEach((function(e){e.call(n.target,n)}))}),0)};var s=o.addEventListener;o.addEventListener=function(e,t){"function"==typeof t&&"cancel"==e?this._cancelHandlers.push(t):s.call(this,e,t)};var u=o.removeEventListener;return o.removeEventListener=function(e,t){if("cancel"==e){var n=this._cancelHandlers.indexOf(t);n>=0&&this._cancelHandlers.splice(n,1)}else u.call(this,e,t)},o}}}(),function(e){var t=document.documentElement,n=null,r=!1;try{var i="0"==getComputedStyle(t).getPropertyValue("opacity")?"1":"0";(n=t.animate({opacity:[i,i]},{duration:1})).currentTime=0,r=getComputedStyle(t).getPropertyValue("opacity")==i}catch(e){}finally{n&&n.cancel()}if(!r){var o=window.Element.prototype.animate;window.Element.prototype.animate=function(t,n){return window.Symbol&&Symbol.iterator&&Array.prototype.from&&t[Symbol.iterator]&&(t=Array.from(t)),Array.isArray(t)||null===t||(t=e.convertToArrayForm(t)),o.call(this,t,n)}}}(n)},function(e,t,n){"use strict";n.r(t);n(0);window.NJStore=window.NJStore||[];const r=(()=>{const e=window.NJStore;return{set(t,n,r){void 0===t.key&&(t.key={key:n,id:e.length}),e[t.key.id]=r},get:(t,n)=>(t.key&&!n.id&&(n=t.key),n&&n.id?e[n.id]:null),delete(t,n){if(void 0===t.key)return;const r=t.key;r.key===n&&(delete e[r.id],delete t.key)}}})();var i,o,a,s,u={setData(e,t,n){r.set(e,t,n)},getData:(e,t)=>r.get(e,t),removeData(e,t){r.delete(e,t)}};!function(e){e.KEY_PREFIX="nj",e.DATA_API_KEY=".data-api"}(i||(i={})),function(e){e.mouseenter="mouseover",e.mouseleave="mouseout"}(o||(o={})),function(e){e.click="click",e.close="close",e.closed="closed",e.hide="hide",e.hidden="hidden",e.input="input",e.keydown="keydown",e.keyup="keyup",e.onchange="onchange",e.show="show",e.shown="shown",e.inserted="inserted",e.focusin="focusin",e.focusout="focusout",e.mouseenter="mouseenter",e.mouseleave="mouseleave",e.mouseup="mouseup",e.mousedown="mousedown"}(a||(a={})),function(e){e.click="click",e.dblclick="dblclick",e.mouseup="mouseup",e.mousedown="mousedown",e.contextmenu="contextmenu",e.mousewheel="mousewheel",e.DOMMouseScroll="DOMMouseScroll",e.mouseover="mouseover",e.mouseout="mouseout",e.mousemove="mousemove",e.selectstart="selectstart",e.selectend="selectend",e.keydown="keydown",e.keypress="keypress",e.keyup="keyup",e.orientationchange="orientationchange",e.touchstart="touchstart",e.touchmove="touchmove",e.touchend="touchend",e.touchcancel="touchcancel",e.pointerdown="pointerdown",e.pointermove="pointermove",e.pointerup="pointerup",e.pointerleave="pointerleave",e.pointercancel="pointercancel",e.gesturestart="gesturestart",e.gesturechange="gesturechange",e.gestureend="gestureend",e.focus="focus",e.blur="blur",e.change="change",e.reset="reset",e.select="select",e.submit="submit",e.focusin="focusin",e.focusout="focusout",e.load="load",e.unload="unload",e.beforeunload="beforeunload",e.resize="resize",e.move="move",e.DOMContentLoaded="DOMContentLoaded",e.readystatechange="readystatechange",e.error="error",e.abort="abort",e.scroll="scroll"}(s||(s={}));class l{static getUidEvent(e,t){return t&&"".concat(t,"::").concat(l.uidEvent++)||e.uidEvent||l.uidEvent++}static getEvent(e){const t=l.getUidEvent(e);return e.uidEvent=t,l.EVENTREGISTRY[t]=l.EVENTREGISTRY[t]||{}}static fixEvent(e,t){null===e.which&&l.KEYEVENT_REGEX.test(e.type)&&(e.which=null!==e.charCode?e.charCode:e.keyCode),e.delegateTarget=t}static njHandler(e,t){const n=r=>(l.fixEvent(r,e),n.oneOff&&l.off(e,r.type,t),t.apply(e,[r]));return n}static njDelegationHandler(e,t,n){const r=i=>{const o=e.querySelectorAll(t);for(let t=i.target;t&&t!==this;t=t.parentNode)for(let a=o.length;a>=0;a--)if(o[a]===t)return l.fixEvent(i,t),r.oneOff&&l.off(e,i.type,n),n.apply(t,[i]);return null};return r}static findHandler(e,t,n=null){for(const r in e){if(!Object.prototype.hasOwnProperty.call(e,r))continue;const i=e[r];if(i.originalHandler===t&&i.delegationSelector===n)return e[r]}return null}static normalizeParams(e,t,n){const r="string"==typeof t,i=r?n:t;let a=e.replace(l.STRIPNAME_REGEX,"");const u=o[a];u&&(a=u);return"string"==typeof s[a]||(a=e),[r,i,a]}static addHandler(e,t,n,r,i){if("string"!=typeof t||null==e)return;n||(n=r,r=null);const o=l.getEvent(e);for(const a of t.split(" ")){const[t,s,u]=l.normalizeParams(a,n,r),c=o[u]||(o[u]={}),f=l.findHandler(c,s,t?n:null);if(f)return void(f.oneOff=f.oneOff&&i);const d=l.getUidEvent(s,a.replace(l.NAMESPACE_REGEX,"")),h=t?l.njDelegationHandler(e,n,r):l.njHandler(e,n);h.delegationSelector=t?n:null,h.originalHandler=s,h.oneOff=i,h.uidEvent=d,c[d]=h,e.addEventListener(u,h,t)}}static removeHandler(e,t,n,r,i){const o=l.findHandler(t[n],r,i);null!==o&&(e.removeEventListener(n,o,Boolean(i)),delete t[n][o.uidEvent])}static removeNamespacedHandlers(e,t,n,r){const i=t[n]||{};for(const o in i)if(Object.prototype.hasOwnProperty.call(i,o)&&o.indexOf(r)>-1){const r=i[o];l.removeHandler(e,t,n,r.originalHandler,r.delegationSelector)}}static on(e,t,n,r){l.addHandler(e,t,n,r,!1)}static one(e,t,n,r){l.addHandler(e,t,n,r,!0)}static off(e,t,n,r){if("string"!=typeof t||null==e)return;const[i,o,a]=l.normalizeParams(t,n,r),s=a!==t,u=l.getEvent(e);if(void 0!==o){if(!u||!u[a])return;return void l.removeHandler(e,u,a,o,i?n:null)}if("."===t.charAt(0))for(const n in u)Object.prototype.hasOwnProperty.call(u,n)&&l.removeNamespacedHandlers(e,u,n,t.substr(1));const c=u[a]||{};for(const n in c){if(!Object.prototype.hasOwnProperty.call(c,n))continue;const r=n.replace(l.STRIPUID_REGEX,"");if(!s||t.indexOf(r)>-1){const t=c[n];l.removeHandler(e,u,a,t.originalHandler,t.delegationSelector)}}}static trigger(e,t,n){if("string"!=typeof t||null==e)return null;const r=t.replace(l.STRIPNAME_REGEX,""),i="string"==typeof s[r];let o=null;return i?(o=document.createEvent("HTMLEvents"),o.initEvent(r,true,!0)):o=new window.CustomEvent(t,{bubbles:true,cancelable:!0}),void 0!==n&&Object.keys(n).forEach(e=>{Object.defineProperty(o,e,{get:()=>n[e]})}),e.dispatchEvent(o),o}}l.NAMESPACE_REGEX=/[^.]*(?=\..*)\.|.*/,l.STRIPNAME_REGEX=/\..*/,l.KEYEVENT_REGEX=/^key/,l.STRIPUID_REGEX=/::\d+$/,l.EVENTREGISTRY={},l.uidEvent=1;const c={getDataAttributes(e){if(null==e)return{};let t={};if(Object.getOwnPropertyDescriptor(HTMLElement.prototype,"dataset"))t=Object.assign({},e.dataset);else for(let n=0;n<e.attributes.length;n++){const r=e.attributes[n];if(-1!==r.nodeName.indexOf("data-")){const e=r.nodeName.substring("data-".length).replace(/-./g,e=>e.charAt(1).toUpperCase());t[e]=r.nodeValue}}return Object.keys(t).forEach(e=>{var n;t[e]="true"===(n=t[e])||"false"!==n&&("null"===n?null:n===Number(n).toString()?Number(n):""===n?null:n)}),t},toggleClass(e,t){null!=e&&(e.classList.contains(t)?e.classList.remove(t):e.classList.add(t))},mergeExtended(e,t,n){for(const r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n&&"[object Object]"===Object.prototype.toString.call(t[r])?e[r]=c.extend(e[r],t[r]):e[r]=t[r]);return e},extend(...e){let t={},n=!1,r=0;for("[object Boolean]"===Object.prototype.toString.call(e[0])&&(n=e[0],r++);r<e.length;r++)t=c.mergeExtended(t,e[r],n);return t},createHtmlNode:e=>(new DOMParser).parseFromString(e,"text/html").body.firstChild};var f=c;class d extends HTMLElement{constructor(...e){super(),this.components=e,this.instances=[],this.parentNodes=[]}connectedCallback(){this.setup()}disconnectedCallback(){this.instances.forEach(e=>{e.dispose()}),this.instances=null}setup(){let e=this;for(;e.parentNode;)e=e.parentNode,this.parentNodes.push(e);[this,...this.parentNodes].some(e=>e.nextSibling)||"loading"!==document.readyState?this.childrenAvailableCallback():(this.mutationObserver=new MutationObserver(()=>{([this,...this.parentNodes].some(e=>e.nextSibling)||"loading"!==document.readyState)&&(this.childrenAvailableCallback(),this.mutationObserver.disconnect())}),this.mutationObserver.observe(this,{childList:!0}))}childrenAvailableCallback(){this.components.forEach(e=>{const t=this.querySelector(e.SELECTOR.default);if(!t)throw new Error("Default selector of ".concat(e.name," not found: ").concat(e.SELECTOR.default));this.instances.push(new e(t))})}static init(e){if(!e.TAG_NAME)throw new Error("TAG_NAME property of ".concat(e.name," class doesn't exists"));customElements.define(e.TAG_NAME,e)}}n.d(t,"default",(function(){return h})),n.d(t,"TagWC",(function(){return p}));class h extends class{constructor(e,t,n={}){!t||t instanceof Element||console.error(Error("".concat(t," is not an HTML Element"))),this.options=n,this.element=t}static init(e,t={},n){const r=[],i=document.querySelectorAll(n);for(let n=0;n<i.length;n++){const o=i[n];if(!o.key||o.key!==e.DATA_KEY){const a=new e(i[n],t);o.key||u.setData(i[n],e.DATA_KEY,a),r.push(a)}}return r}}{constructor(e,t={}){super(h,e,f.extend(!0,{},t)),l.on(e,a.click,this.handleClick.bind(this))}close(){this.element.animate(h.KEYFRAMES,{duration:200,delay:70,easing:"ease-out"}).onfinish=()=>{this.destroyElement()}}destroyElement(){this.element.parentNode&&this.element.parentNode.removeChild(this.element)}dispose(){u.removeData(this.element,h.DATA_KEY),this.element=null}handleClick(e){e.target.closest(".".concat(i.KEY_PREFIX,"-tag__icon"))&&this.close()}static init(e={}){return super.init(this,e,h.SELECTOR.default)}static getInstance(e){return u.getData(e,h.DATA_KEY)}static getRootElement(e){return e.closest(h.SELECTOR.default)}}h.NAME="".concat(i.KEY_PREFIX,"-tag"),h.DATA_KEY="".concat(i.KEY_PREFIX,".tag"),h.KEYFRAMES=[{opacity:1},{opacity:0}],h.SELECTOR={default:".".concat(h.NAME,":not(.disabled)")};class p extends d{constructor(){super(h)}static init(){d.init(p)}}p.TAG_NAME=h.NAME}]).default}));

@@ -33,2 +33,3 @@ import { Placement } from 'popper.js';

arrow: string;
tooltip: string;
};

@@ -35,0 +36,0 @@ private static readonly TRIGGER;

/*! For license information please see index.js.LICENSE.txt */
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("Tooltip",[],t):"object"==typeof exports?exports.Tooltip=t():e.Tooltip=t()}(window,(function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var i=t[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(o,i,function(t){return e[t]}.bind(null,i));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=2)}([function(e,t,n){"use strict";(function(e){var n="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,o=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(n&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}();var i=n&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),o))}};function r(e){return e&&"[object Function]"==={}.toString.call(e)}function s(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function a(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function l(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=s(e),n=t.overflow,o=t.overflowX,i=t.overflowY;return/(auto|scroll|overlay)/.test(n+i+o)?e:l(a(e))}function c(e){return e&&e.referenceNode?e.referenceNode:e}var u=n&&!(!window.MSInputMethodContext||!document.documentMode),p=n&&/MSIE 10/.test(navigator.userAgent);function f(e){return 11===e?u:10===e?p:u||p}function d(e){if(!e)return document.documentElement;for(var t=f(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var o=n&&n.nodeName;return o&&"BODY"!==o&&"HTML"!==o?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===s(n,"position")?d(n):n:e?e.ownerDocument.documentElement:document.documentElement}function h(e){return null!==e.parentNode?h(e.parentNode):e}function m(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,o=n?e:t,i=n?t:e,r=document.createRange();r.setStart(o,0),r.setEnd(i,0);var s,a,l=r.commonAncestorContainer;if(e!==l&&t!==l||o.contains(i))return"BODY"===(a=(s=l).nodeName)||"HTML"!==a&&d(s.firstElementChild)!==s?d(l):l;var c=h(e);return c.host?m(c.host,t):m(e,h(t).host)}function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===t?"scrollTop":"scrollLeft",o=e.nodeName;if("BODY"===o||"HTML"===o){var i=e.ownerDocument.documentElement,r=e.ownerDocument.scrollingElement||i;return r[n]}return e[n]}function E(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=g(t,"top"),i=g(t,"left"),r=n?-1:1;return e.top+=o*r,e.bottom+=o*r,e.left+=i*r,e.right+=i*r,e}function v(e,t){var n="x"===t?"Left":"Top",o="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"],10)+parseFloat(e["border"+o+"Width"],10)}function b(e,t,n,o){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],f(10)?parseInt(n["offset"+e])+parseInt(o["margin"+("Height"===e?"Top":"Left")])+parseInt(o["margin"+("Height"===e?"Bottom":"Right")]):0)}function w(e){var t=e.body,n=e.documentElement,o=f(10)&&getComputedStyle(n);return{height:b("Height",t,n,o),width:b("Width",t,n,o)}}var T=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},y=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),A=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},S=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e};function N(e){return S({},e,{right:e.left+e.width,bottom:e.top+e.height})}function O(e){var t={};try{if(f(10)){t=e.getBoundingClientRect();var n=g(e,"top"),o=g(e,"left");t.top+=n,t.left+=o,t.bottom+=n,t.right+=o}else t=e.getBoundingClientRect()}catch(e){}var i={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},r="HTML"===e.nodeName?w(e.ownerDocument):{},a=r.width||e.clientWidth||i.width,l=r.height||e.clientHeight||i.height,c=e.offsetWidth-a,u=e.offsetHeight-l;if(c||u){var p=s(e);c-=v(p,"x"),u-=v(p,"y"),i.width-=c,i.height-=u}return N(i)}function C(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=f(10),i="HTML"===t.nodeName,r=O(e),a=O(t),c=l(e),u=s(t),p=parseFloat(u.borderTopWidth,10),d=parseFloat(u.borderLeftWidth,10);n&&i&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var h=N({top:r.top-a.top-p,left:r.left-a.left-d,width:r.width,height:r.height});if(h.marginTop=0,h.marginLeft=0,!o&&i){var m=parseFloat(u.marginTop,10),g=parseFloat(u.marginLeft,10);h.top-=p-m,h.bottom-=p-m,h.left-=d-g,h.right-=d-g,h.marginTop=m,h.marginLeft=g}return(o&&!n?t.contains(c):t===c&&"BODY"!==c.nodeName)&&(h=E(h,t)),h}function _(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,o=C(e,n),i=Math.max(n.clientWidth,window.innerWidth||0),r=Math.max(n.clientHeight,window.innerHeight||0),s=t?0:g(n),a=t?0:g(n,"left"),l={top:s-o.top+o.marginTop,left:a-o.left+o.marginLeft,width:i,height:r};return N(l)}function x(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===s(e,"position"))return!0;var n=a(e);return!!n&&x(n)}function L(e){if(!e||!e.parentElement||f())return document.documentElement;for(var t=e.parentElement;t&&"none"===s(t,"transform");)t=t.parentElement;return t||document.documentElement}function D(e,t,n,o){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],r={top:0,left:0},s=i?L(e):m(e,c(t));if("viewport"===o)r=_(s,i);else{var u=void 0;"scrollParent"===o?"BODY"===(u=l(a(t))).nodeName&&(u=e.ownerDocument.documentElement):u="window"===o?e.ownerDocument.documentElement:o;var p=C(u,s,i);if("HTML"!==u.nodeName||x(s))r=p;else{var f=w(e.ownerDocument),d=f.height,h=f.width;r.top+=p.top-p.marginTop,r.bottom=d+p.top,r.left+=p.left-p.marginLeft,r.right=h+p.left}}var g="number"==typeof(n=n||0);return r.left+=g?n:n.left||0,r.top+=g?n:n.top||0,r.right-=g?n:n.right||0,r.bottom-=g?n:n.bottom||0,r}function R(e){return e.width*e.height}function M(e,t,n,o,i){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var s=D(n,o,r,i),a={top:{width:s.width,height:t.top-s.top},right:{width:s.right-t.right,height:s.height},bottom:{width:s.width,height:s.bottom-t.bottom},left:{width:t.left-s.left,height:s.height}},l=Object.keys(a).map((function(e){return S({key:e},a[e],{area:R(a[e])})})).sort((function(e,t){return t.area-e.area})),c=l.filter((function(e){var t=e.width,o=e.height;return t>=n.clientWidth&&o>=n.clientHeight})),u=c.length>0?c[0].key:l[0].key,p=e.split("-")[1];return u+(p?"-"+p:"")}function k(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=o?L(t):m(t,c(n));return C(n,i,o)}function P(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),o=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+o,height:e.offsetHeight+n}}function I(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 H(e,t,n){n=n.split("-")[0];var o=P(e),i={width:o.width,height:o.height},r=-1!==["right","left"].indexOf(n),s=r?"top":"left",a=r?"left":"top",l=r?"height":"width",c=r?"width":"height";return i[s]=t[s]+t[l]/2-o[l]/2,i[a]=n===a?t[a]-o[c]:t[I(a)],i}function F(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function j(e,t,n){return(void 0===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex((function(e){return e[t]===n}));var o=F(e,(function(e){return e[t]===n}));return e.indexOf(o)}(e,"name",n))).forEach((function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&r(n)&&(t.offsets.popper=N(t.offsets.popper),t.offsets.reference=N(t.offsets.reference),t=n(t,e))})),t}function Y(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=k(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=H(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=j(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function V(e,t){return e.some((function(e){var n=e.name;return e.enabled&&n===t}))}function G(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),o=0;o<t.length;o++){var i=t[o],r=i?""+i+n:e;if(void 0!==document.body.style[r])return r}return null}function K(){return this.state.isDestroyed=!0,V(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[G("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function B(e){var t=e.ownerDocument;return t?t.defaultView:window}function U(e,t,n,o){n.updateBound=o,B(e).addEventListener("resize",n.updateBound,{passive:!0});var i=l(e);return function e(t,n,o,i){var r="BODY"===t.nodeName,s=r?t.ownerDocument.defaultView:t;s.addEventListener(n,o,{passive:!0}),r||e(l(s.parentNode),n,o,i),i.push(s)}(i,"scroll",n.updateBound,n.scrollParents),n.scrollElement=i,n.eventsEnabled=!0,n}function W(){this.state.eventsEnabled||(this.state=U(this.reference,this.options,this.state,this.scheduleUpdate))}function X(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,B(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 q(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function z(e,t){Object.keys(t).forEach((function(n){var o="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&q(t[n])&&(o="px"),e.style[n]=t[n]+o}))}var J=n&&/Firefox/i.test(navigator.userAgent);function $(e,t,n){var o=F(e,(function(e){return e.name===t})),i=!!o&&e.some((function(e){return e.name===n&&e.enabled&&e.order<o.order}));if(!i){var r="`"+t+"`",s="`"+n+"`";console.warn(s+" modifier is required by "+r+" modifier in order to work, be sure to include it before "+r+"!")}return i}var Q=["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"],Z=Q.slice(3);function ee(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=Z.indexOf(e),o=Z.slice(n+1).concat(Z.slice(0,n));return t?o.reverse():o}var te="flip",ne="clockwise",oe="counterclockwise";function ie(e,t,n,o){var i=[0,0],r=-1!==["right","left"].indexOf(o),s=e.split(/(\+|\-)/).map((function(e){return e.trim()})),a=s.indexOf(F(s,(function(e){return-1!==e.search(/,|\s/)})));s[a]&&-1===s[a].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==a?[s.slice(0,a).concat([s[a].split(l)[0]]),[s[a].split(l)[1]].concat(s.slice(a+1))]:[s];return(c=c.map((function(e,o){var i=(1===o?!r:r)?"height":"width",s=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,s=!0,e):s?(e[e.length-1]+=t,s=!1,e):e.concat(t)}),[]).map((function(e){return function(e,t,n,o){var i=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),r=+i[1],s=i[2];if(!r)return e;if(0===s.indexOf("%")){var a=void 0;switch(s){case"%p":a=n;break;case"%":case"%r":default:a=o}return N(a)[t]/100*r}if("vh"===s||"vw"===s)return("vh"===s?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*r;return r}(e,i,t,n)}))}))).forEach((function(e,t){e.forEach((function(n,o){q(n)&&(i[t]+=n*("-"===e[o-1]?-1:1))}))})),i}var re={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],o=t.split("-")[1];if(o){var i=e.offsets,r=i.reference,s=i.popper,a=-1!==["bottom","top"].indexOf(n),l=a?"left":"top",c=a?"width":"height",u={start:A({},l,r[l]),end:A({},l,r[l]+r[c]-s[c])};e.offsets.popper=S({},s,u[o])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,o=e.placement,i=e.offsets,r=i.popper,s=i.reference,a=o.split("-")[0],l=void 0;return l=q(+n)?[+n,0]:ie(n,r,s,a),"left"===a?(r.top+=l[0],r.left-=l[1]):"right"===a?(r.top+=l[0],r.left+=l[1]):"top"===a?(r.left+=l[0],r.top-=l[1]):"bottom"===a&&(r.left+=l[0],r.top+=l[1]),e.popper=r,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||d(e.instance.popper);e.instance.reference===n&&(n=d(n));var o=G("transform"),i=e.instance.popper.style,r=i.top,s=i.left,a=i[o];i.top="",i.left="",i[o]="";var l=D(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);i.top=r,i.left=s,i[o]=a,t.boundaries=l;var c=t.priority,u=e.offsets.popper,p={primary:function(e){var n=u[e];return u[e]<l[e]&&!t.escapeWithReference&&(n=Math.max(u[e],l[e])),A({},e,n)},secondary:function(e){var n="right"===e?"left":"top",o=u[n];return u[e]>l[e]&&!t.escapeWithReference&&(o=Math.min(u[n],l[e]-("right"===e?u.width:u.height))),A({},n,o)}};return c.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";u=S({},u,p[t](e))})),e.offsets.popper=u,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,o=t.reference,i=e.placement.split("-")[0],r=Math.floor,s=-1!==["top","bottom"].indexOf(i),a=s?"right":"bottom",l=s?"left":"top",c=s?"width":"height";return n[a]<r(o[l])&&(e.offsets.popper[l]=r(o[l])-n[c]),n[l]>r(o[a])&&(e.offsets.popper[l]=r(o[a])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!$(e.instance.modifiers,"arrow","keepTogether"))return e;var o=t.element;if("string"==typeof o){if(!(o=e.instance.popper.querySelector(o)))return e}else if(!e.instance.popper.contains(o))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var i=e.placement.split("-")[0],r=e.offsets,a=r.popper,l=r.reference,c=-1!==["left","right"].indexOf(i),u=c?"height":"width",p=c?"Top":"Left",f=p.toLowerCase(),d=c?"left":"top",h=c?"bottom":"right",m=P(o)[u];l[h]-m<a[f]&&(e.offsets.popper[f]-=a[f]-(l[h]-m)),l[f]+m>a[h]&&(e.offsets.popper[f]+=l[f]+m-a[h]),e.offsets.popper=N(e.offsets.popper);var g=l[f]+l[u]/2-m/2,E=s(e.instance.popper),v=parseFloat(E["margin"+p],10),b=parseFloat(E["border"+p+"Width"],10),w=g-e.offsets.popper[f]-v-b;return w=Math.max(Math.min(a[u]-m,w),0),e.arrowElement=o,e.offsets.arrow=(A(n={},f,Math.round(w)),A(n,d,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(V(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=D(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),o=e.placement.split("-")[0],i=I(o),r=e.placement.split("-")[1]||"",s=[];switch(t.behavior){case te:s=[o,i];break;case ne:s=ee(o);break;case oe:s=ee(o,!0);break;default:s=t.behavior}return s.forEach((function(a,l){if(o!==a||s.length===l+1)return e;o=e.placement.split("-")[0],i=I(o);var c=e.offsets.popper,u=e.offsets.reference,p=Math.floor,f="left"===o&&p(c.right)>p(u.left)||"right"===o&&p(c.left)<p(u.right)||"top"===o&&p(c.bottom)>p(u.top)||"bottom"===o&&p(c.top)<p(u.bottom),d=p(c.left)<p(n.left),h=p(c.right)>p(n.right),m=p(c.top)<p(n.top),g=p(c.bottom)>p(n.bottom),E="left"===o&&d||"right"===o&&h||"top"===o&&m||"bottom"===o&&g,v=-1!==["top","bottom"].indexOf(o),b=!!t.flipVariations&&(v&&"start"===r&&d||v&&"end"===r&&h||!v&&"start"===r&&m||!v&&"end"===r&&g),w=!!t.flipVariationsByContent&&(v&&"start"===r&&h||v&&"end"===r&&d||!v&&"start"===r&&g||!v&&"end"===r&&m),T=b||w;(f||E||T)&&(e.flipped=!0,(f||E)&&(o=s[l+1]),T&&(r=function(e){return"end"===e?"start":"start"===e?"end":e}(r)),e.placement=o+(r?"-"+r:""),e.offsets.popper=S({},e.offsets.popper,H(e.instance.popper,e.offsets.reference,e.placement)),e=j(e.instance.modifiers,e,"flip"))})),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],o=e.offsets,i=o.popper,r=o.reference,s=-1!==["left","right"].indexOf(n),a=-1===["top","left"].indexOf(n);return i[s?"left":"top"]=r[n]-(a?i[s?"width":"height"]:0),e.placement=I(t),e.offsets.popper=N(i),e}},hide:{order:800,enabled:!0,fn:function(e){if(!$(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=F(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.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}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var n=t.x,o=t.y,i=e.offsets.popper,r=F(e.instance.modifiers,(function(e){return"applyStyle"===e.name})).gpuAcceleration;void 0!==r&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var s=void 0!==r?r:t.gpuAcceleration,a=d(e.instance.popper),l=O(a),c={position:i.position},u=function(e,t){var n=e.offsets,o=n.popper,i=n.reference,r=Math.round,s=Math.floor,a=function(e){return e},l=r(i.width),c=r(o.width),u=-1!==["left","right"].indexOf(e.placement),p=-1!==e.placement.indexOf("-"),f=t?u||p||l%2==c%2?r:s:a,d=t?r:a;return{left:f(l%2==1&&c%2==1&&!p&&t?o.left-1:o.left),top:d(o.top),bottom:d(o.bottom),right:f(o.right)}}(e,window.devicePixelRatio<2||!J),p="bottom"===n?"top":"bottom",f="right"===o?"left":"right",h=G("transform"),m=void 0,g=void 0;if(g="bottom"===p?"HTML"===a.nodeName?-a.clientHeight+u.bottom:-l.height+u.bottom:u.top,m="right"===f?"HTML"===a.nodeName?-a.clientWidth+u.right:-l.width+u.right:u.left,s&&h)c[h]="translate3d("+m+"px, "+g+"px, 0)",c[p]=0,c[f]=0,c.willChange="transform";else{var E="bottom"===p?-1:1,v="right"===f?-1:1;c[p]=g*E,c[f]=m*v,c.willChange=p+", "+f}var b={"x-placement":e.placement};return e.attributes=S({},b,e.attributes),e.styles=S({},c,e.styles),e.arrowStyles=S({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,n;return z(e.instance.popper,e.styles),t=e.instance.popper,n=e.attributes,Object.keys(n).forEach((function(e){!1!==n[e]?t.setAttribute(e,n[e]):t.removeAttribute(e)})),e.arrowElement&&Object.keys(e.arrowStyles).length&&z(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,o,i){var r=k(i,t,e,n.positionFixed),s=M(n.placement,r,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",s),z(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},se=function(){function e(t,n){var o=this,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};T(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(o.update)},this.update=i(this.update.bind(this)),this.options=S({},e.Defaults,s),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(S({},e.Defaults.modifiers,s.modifiers)).forEach((function(t){o.options.modifiers[t]=S({},e.Defaults.modifiers[t]||{},s.modifiers?s.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return S({name:e},o.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&r(e.onLoad)&&e.onLoad(o.reference,o.popper,o.options,e,o.state)})),this.update();var a=this.options.eventsEnabled;a&&this.enableEventListeners(),this.state.eventsEnabled=a}return y(e,[{key:"update",value:function(){return Y.call(this)}},{key:"destroy",value:function(){return K.call(this)}},{key:"enableEventListeners",value:function(){return W.call(this)}},{key:"disableEventListeners",value:function(){return X.call(this)}}]),e}();se.Utils=("undefined"!=typeof window?window:e).PopperUtils,se.placements=Q,se.Defaults=re,t.a=se}).call(this,n(1))},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";var o,i,r,s;n.r(t),function(e){e.KEY_PREFIX="nj",e.DATA_API_KEY=".data-api"}(o||(o={})),function(e){e.mouseenter="mouseover",e.mouseleave="mouseout"}(i||(i={})),function(e){e.click="click",e.close="close",e.closed="closed",e.hide="hide",e.hidden="hidden",e.input="input",e.keydown="keydown",e.keyup="keyup",e.onchange="onchange",e.show="show",e.shown="shown",e.inserted="inserted",e.focusin="focusin",e.focusout="focusout",e.mouseenter="mouseenter",e.mouseleave="mouseleave",e.mouseup="mouseup",e.mousedown="mousedown"}(r||(r={})),function(e){e.click="click",e.dblclick="dblclick",e.mouseup="mouseup",e.mousedown="mousedown",e.contextmenu="contextmenu",e.mousewheel="mousewheel",e.DOMMouseScroll="DOMMouseScroll",e.mouseover="mouseover",e.mouseout="mouseout",e.mousemove="mousemove",e.selectstart="selectstart",e.selectend="selectend",e.keydown="keydown",e.keypress="keypress",e.keyup="keyup",e.orientationchange="orientationchange",e.touchstart="touchstart",e.touchmove="touchmove",e.touchend="touchend",e.touchcancel="touchcancel",e.pointerdown="pointerdown",e.pointermove="pointermove",e.pointerup="pointerup",e.pointerleave="pointerleave",e.pointercancel="pointercancel",e.gesturestart="gesturestart",e.gesturechange="gesturechange",e.gestureend="gestureend",e.focus="focus",e.blur="blur",e.change="change",e.reset="reset",e.select="select",e.submit="submit",e.focusin="focusin",e.focusout="focusout",e.load="load",e.unload="unload",e.beforeunload="beforeunload",e.resize="resize",e.move="move",e.DOMContentLoaded="DOMContentLoaded",e.readystatechange="readystatechange",e.error="error",e.abort="abort",e.scroll="scroll"}(s||(s={}));var a=n(0);const l=(()=>{const e={};let t=1;return{set(n,o,i){void 0===n.key&&(n.key={key:o,id:t},t++),e[n.key.id]=i},get(t,n){if(!t||void 0===t.key)return null;const o=t.key;return o.key===n?e[o.id]:null},delete(t,n){if(void 0===t.key)return;const o=t.key;o.key===n&&(delete e[o.id],delete t.key)}}})();var c={setData(e,t,n){l.set(e,t,n)},getData:(e,t)=>l.get(e,t),removeData(e,t){l.delete(e,t)}};class u{static getUidEvent(e,t){return t&&"".concat(t,"::").concat(u.uidEvent++)||e.uidEvent||u.uidEvent++}static getEvent(e){const t=u.getUidEvent(e);return e.uidEvent=t,u.EVENTREGISTRY[t]=u.EVENTREGISTRY[t]||{}}static fixEvent(e,t){null===e.which&&u.KEYEVENT_REGEX.test(e.type)&&(e.which=null!==e.charCode?e.charCode:e.keyCode),e.delegateTarget=t}static njHandler(e,t){const n=o=>(u.fixEvent(o,e),n.oneOff&&u.off(e,o.type,t),t.apply(e,[o]));return n}static njDelegationHandler(e,t,n){const o=i=>{const r=e.querySelectorAll(t);for(let t=i.target;t&&t!==this;t=t.parentNode)for(let s=r.length;s>=0;s--)if(r[s]===t)return u.fixEvent(i,t),o.oneOff&&u.off(e,i.type,n),n.apply(t,[i]);return null};return o}static findHandler(e,t,n=null){for(const o in e){if(!Object.prototype.hasOwnProperty.call(e,o))continue;const i=e[o];if(i.originalHandler===t&&i.delegationSelector===n)return e[o]}return null}static normalizeParams(e,t,n){const o="string"==typeof t,r=o?n:t;let a=e.replace(u.STRIPNAME_REGEX,"");const l=i[a];l&&(a=l);return"string"==typeof s[a]||(a=e),[o,r,a]}static addHandler(e,t,n,o,i){if("string"!=typeof t||null==e)return;n||(n=o,o=null);const r=u.getEvent(e);for(const s of t.split(" ")){const[t,a,l]=u.normalizeParams(s,n,o),c=r[l]||(r[l]={}),p=u.findHandler(c,a,t?n:null);if(p)return void(p.oneOff=p.oneOff&&i);const f=u.getUidEvent(a,s.replace(u.NAMESPACE_REGEX,"")),d=t?u.njDelegationHandler(e,n,o):u.njHandler(e,n);d.delegationSelector=t?n:null,d.originalHandler=a,d.oneOff=i,d.uidEvent=f,c[f]=d,e.addEventListener(l,d,t)}}static removeHandler(e,t,n,o,i){const r=u.findHandler(t[n],o,i);null!==r&&(e.removeEventListener(n,r,Boolean(i)),delete t[n][r.uidEvent])}static removeNamespacedHandlers(e,t,n,o){const i=t[n]||{};for(const r in i)if(Object.prototype.hasOwnProperty.call(i,r)&&r.indexOf(o)>-1){const o=i[r];u.removeHandler(e,t,n,o.originalHandler,o.delegationSelector)}}static on(e,t,n,o){u.addHandler(e,t,n,o,!1)}static one(e,t,n,o){u.addHandler(e,t,n,o,!0)}static off(e,t,n,o){if("string"!=typeof t||null==e)return;const[i,r,s]=u.normalizeParams(t,n,o),a=s!==t,l=u.getEvent(e);if(void 0!==r){if(!l||!l[s])return;return void u.removeHandler(e,l,s,r,i?n:null)}if("."===t.charAt(0))for(const n in l)Object.prototype.hasOwnProperty.call(l,n)&&u.removeNamespacedHandlers(e,l,n,t.substr(1));const c=l[s]||{};for(const n in c){if(!Object.prototype.hasOwnProperty.call(c,n))continue;const o=n.replace(u.STRIPUID_REGEX,"");if(!a||t.indexOf(o)>-1){const t=c[n];u.removeHandler(e,l,s,t.originalHandler,t.delegationSelector)}}}static trigger(e,t,n){if("string"!=typeof t||null==e)return null;const o=t.replace(u.STRIPNAME_REGEX,""),i="string"==typeof s[o];let r=null;return i?(r=document.createEvent("HTMLEvents"),r.initEvent(o,true,!0)):r=new window.CustomEvent(t,{bubbles:true,cancelable:!0}),void 0!==n&&Object.keys(n).forEach(e=>{Object.defineProperty(r,e,{get:()=>n[e]})}),e.dispatchEvent(r),r}}u.NAMESPACE_REGEX=/[^.]*(?=\..*)\.|.*/,u.STRIPNAME_REGEX=/\..*/,u.KEYEVENT_REGEX=/^key/,u.STRIPUID_REGEX=/::\d+$/,u.EVENTREGISTRY={},u.uidEvent=1;const p={getDataAttributes(e){if(null==e)return{};let t={};if(Object.getOwnPropertyDescriptor(HTMLElement.prototype,"dataset"))t=Object.assign({},e.dataset);else for(let n=0;n<e.attributes.length;n++){const o=e.attributes[n];if(-1!==o.nodeName.indexOf("data-")){const e=o.nodeName.substring("data-".length).replace(/-./g,e=>e.charAt(1).toUpperCase());t[e]=o.nodeValue}}return Object.keys(t).forEach(e=>{var n;t[e]="true"===(n=t[e])||"false"!==n&&("null"===n?null:n===Number(n).toString()?Number(n):""===n?null:n)}),t},toggleClass(e,t){null!=e&&(e.classList.contains(t)?e.classList.remove(t):e.classList.add(t))},mergeExtended(e,t,n){for(const o in t)Object.prototype.hasOwnProperty.call(t,o)&&(n&&"[object Object]"===Object.prototype.toString.call(t[o])?e[o]=p.extend(e[o],t[o]):e[o]=t[o]);return e},extend(...e){let t={},n=!1,o=0;for("[object Boolean]"===Object.prototype.toString.call(e[0])&&(n=e[0],o++);o<e.length;o++)t=p.mergeExtended(t,e[o],n);return t},createHtmlNode:e=>(new DOMParser).parseFromString(e,"text/html").body.firstChild};var f=p;const d={TRANSITION_END:"transitionend",getUID(e){do{e+=~~(1e6*Math.random())}while(document.getElementById(e));return e},getSelectorFromElement(e){let t=e.getAttribute("data-target");if(!t||"#"===t){const n=e.getAttribute("href");t=n&&"#"!==n?n.trim():""}try{return document.querySelector(t)?t:null}catch(e){return null}},getTransitionDurationFromElement(e){if(!e)return 0;let t=window.getComputedStyle(e).transitionDuration,n=window.getComputedStyle(e).transitionDelay;const o=parseFloat(t),i=parseFloat(n);return o||i?(t=t.split(",")[0],n=n.split(",")[0],1e3*(parseFloat(t)+parseFloat(n))):0},reflow:e=>e.offsetHeight,triggerTransitionEnd(e){const t=new CustomEvent(d.TRANSITION_END,{});e.dispatchEvent(t)},isElement:e=>(e[0]||e).nodeType,emulateTransitionEnd(e,t){let n=!1;const o=t+5;e.addEventListener(d.TRANSITION_END,(function t(){n=!0,e.removeEventListener(d.TRANSITION_END,t)})),setTimeout(()=>{n||d.triggerTransitionEnd(e)},o)},typeCheckConfig(e,t,n){for(const i in n)if(Object.prototype.hasOwnProperty.call(n,i)){const r=n[i],s=t[i],a=s&&d.isElement(s)?"element":(o=s,{}.toString.call(o).match(/\s([a-z]+)/i)[1].toLowerCase());if(!new RegExp(r).test(a))throw new Error("".concat(e.toUpperCase(),": ")+'Option "'.concat(i,'" provided type "').concat(a,'" ')+'but expected type "'.concat(r,'".'))}var o},makeArray:e=>null==e?[]:[].slice.call(e),findShadowRoot(e){if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?d.findShadowRoot(e.parentElement):null},throttle(e,t,n,o,i){let r,s,a,l=null,c=0;const u=()=>{c=Date.now(),l=null,a=e.apply(s,r)};return()=>{const p=Date.now();c||n||(c=p);const f=t-(p-c);return s=i||this,r=arguments,f<=0?(clearTimeout(l),l=null,c=p,a=e.apply(s,r)):!l&&o&&(l=setTimeout(u,f)),a}}};var h=d;class m extends HTMLElement{constructor(...e){super(),this.components=e,this.instances=[],this.parentNodes=[]}connectedCallback(){this.setup()}disconnectedCallback(){this.instances.forEach(e=>{e.dispose()}),this.instances=null}setup(){let e=this;for(;e.parentNode;)e=e.parentNode,this.parentNodes.push(e);[this,...this.parentNodes].some(e=>e.nextSibling)||"loading"!==document.readyState?this.childrenAvailableCallback():(this.mutationObserver=new MutationObserver(()=>{([this,...this.parentNodes].some(e=>e.nextSibling)||"loading"!==document.readyState)&&(this.childrenAvailableCallback(),this.mutationObserver.disconnect())}),this.mutationObserver.observe(this,{childList:!0}))}childrenAvailableCallback(){this.components.forEach(e=>{const t=this.querySelector(e.SELECTOR.default);if(!t)throw new Error("Default selector of ".concat(e.name," not found: ").concat(e.SELECTOR.default));this.instances.push(new e(t))})}static init(e){if(!e.TAG_NAME)throw new Error("TAG_NAME property of ".concat(e.name," class doesn't exists"));customElements.define(e.TAG_NAME,e)}}n.d(t,"default",(function(){return g})),n.d(t,"TooltipWC",(function(){return E}));class g extends class{constructor(e,t,n={}){!t||t instanceof Element||console.error(Error("".concat(t," is not an HTML Element"))),this.options=n,this.element=t}static init(e,t={},n){const o=[],i=document.querySelectorAll(n);for(let n=0;n<i.length;n++){const r=i[n];if(!r.key||r.key!==e.DATA_KEY){const s=new e(i[n],t);r.key||c.setData(i[n],e.DATA_KEY,s),o.push(s)}}return o}}{constructor(e,t={}){super(g,e,g.getOptions(e,t)),this.isEnabled=!0,this.timeout=0,this.hoverState="",this.activeTrigger={},this.popper=null,this.tip=null,this.setListeners(),c.setData(e,g.DATA_KEY,this)}enable(){this.isEnabled=!0}disable(){this.isEnabled=!1}toggleEnabled(){this.isEnabled=!this.isEnabled}toggle(e){if(this.isEnabled)if(e){const t=g.DATA_KEY;let n=g.getInstance(e.delegateTarget);n||(n=new g(e.delegateTarget,this.getDelegateConfig()),c.setData(e.delegateTarget,t,n)),n.activeTrigger.click=!n.activeTrigger.click,n.isWithActiveTrigger()?n.enter(null,n):n.leave(null,n)}else{if(this.getTipElement().classList.contains(g.CLASS_NAME.show))return void this.leave(null,this);this.enter(null,this)}}dispose(){clearTimeout(this.timeout),c.removeData(this.element,g.DATA_KEY),u.off(this.element,g.EVENT_KEY),u.off(this.element.closest(".modal"),"hide.".concat(o.KEY_PREFIX,".modal")),this.tip&&this.tip.parentNode&&this.tip.parentNode.removeChild(this.tip),this.isEnabled=null,this.timeout=null,this.hoverState=null,this.activeTrigger=null,null!==this.popper&&this.popper.destroy(),this.popper=null,this.element=null,this.options=null,this.tip=null}show(){if("none"===this.element.style.display)throw new Error("Please use show on visible elements");if(this.isWithContent()&&this.isEnabled){const e=u.trigger(this.element,g.EVENT.show),t=h.findShadowRoot(this.element),n=null!==t?t.contains(this.element):this.element.ownerDocument.documentElement.contains(this.element);if(e.defaultPrevented||!n)return;const o=this.getTipElement(),i=h.getUID(g.NAME);o.setAttribute("id",i),this.element.setAttribute("aria-describedby",i),this.setContent(),this.options.animation&&o.classList.add(g.CLASS_NAME.fade);const r="function"==typeof this.options.placement?this.options.placement.call(this,o,this.element):this.options.placement,s=g.getAttachment(r);this.addAttachmentClass(s),this.options.arrow||this.getTipElement().classList.add(g.CLASS_NAME.withoutArrow);const l=this.getContainer();c.setData(o,g.DATA_KEY,this),this.element.ownerDocument.documentElement.contains(this.tip)||l.appendChild(o),u.trigger(this.element,g.EVENT.inserted),this.popper=new a.a(this.element,o,{placement:s,modifiers:{offset:{offset:this.options.offset},flip:{behavior:this.options.fallbackPlacement},arrow:{element:g.SELECTOR.arrow},preventOverflow:{boundariesElement:this.options.boundary}},onCreate:e=>{e.originalPlacement!==e.placement&&this.handlePopperPlacementChange(e)},onUpdate:e=>this.handlePopperPlacementChange(e)}),o.classList.add(g.CLASS_NAME.show),"ontouchstart"in document.documentElement&&h.makeArray(document.body.children).forEach(e=>{u.on(e,"mouseover")});const p=()=>{this.options.animation&&this.fixTransition();const e=this.hoverState;this.hoverState=null,u.trigger(this.element,g.EVENT.shown),e===g.HOVER_STATE.out&&this.leave(null,this)};if(this.tip.classList.contains(g.CLASS_NAME.fade)){const e=h.getTransitionDurationFromElement(this.tip);u.one(this.tip,h.TRANSITION_END,p),h.emulateTransitionEnd(this.tip,e)}else p()}}hide(e){const t=this.getTipElement(),n=()=>{this.element&&(this.hoverState!==g.HOVER_STATE.show&&t.parentNode&&t.parentNode.removeChild(t),this.cleanTipClass(),this.element.removeAttribute("aria-describedby"),u.trigger(this.element,g.EVENT.hidden),null!==this.popper&&this.popper.destroy(),e&&e())};if(!u.trigger(this.element,g.EVENT.hide).defaultPrevented){if(t.classList.remove(g.CLASS_NAME.show),"ontouchstart"in document.documentElement&&h.makeArray(document.body.children).forEach(e=>u.off(e,"mouseover")),this.activeTrigger[g.TRIGGER.click]=!1,this.activeTrigger[g.TRIGGER.focus]=!1,this.activeTrigger[g.TRIGGER.hover]=!1,this.tip.classList.contains(g.CLASS_NAME.fade)){const e=h.getTransitionDurationFromElement(t);u.one(t,h.TRANSITION_END,n),h.emulateTransitionEnd(t,e)}else n();this.hoverState=""}}update(){null!==this.popper&&this.popper.scheduleUpdate()}isWithContent(){return Boolean(this.getTitle())}addAttachmentClass(e){this.getTipElement().classList.add("".concat(g.CLASS_NAME.default,"--").concat(e))}getTipElement(){if(this.tip)return this.tip;const e=document.createElement("div");return e.innerHTML=this.options.template,this.tip=e.children[0],this.tip}setContent(){const e=this.getTipElement();this.setElementContent(e.querySelector(g.SELECTOR.inner),this.getTitle()),e.classList.remove(g.CLASS_NAME.fade),e.classList.remove(g.CLASS_NAME.show)}setElementContent(e,t){if(null===e)return;const n=this.options.html;"object"==typeof t&&t.nodeType?n?t.parentNode!==e&&(e.innerHTML="",e.appendChild(t)):e.innerText=t.textContent:e[n?"innerHTML":"innerText"]=t}getTitle(){let e=this.element.getAttribute("data-original-title");return e||(e="function"==typeof this.options.title?this.options.title.call(this.element):this.options.title),e}getContainer(){return!1===this.options.container?document.body:h.isElement(this.options.container)?this.options.container:document.querySelector(this.options.container)}setListeners(){this.options.trigger.split(" ").forEach(e=>{if("click"===e)u.on(this.element,g.EVENT.click,this.options.selector,e=>this.toggle(e));else if(e!==g.TRIGGER.manual){const t=e===g.TRIGGER.hover?g.EVENT.mouseenter:g.EVENT.focusin,n=e===g.TRIGGER.hover?g.EVENT.mouseleave:g.EVENT.focusout;u.on(this.element,t,this.options.selector,e=>this.enter(e)),u.on(this.element,n,this.options.selector,e=>this.leave(e))}}),u.on(this.element.closest(".modal"),"hide.".concat(o.KEY_PREFIX,".modal"),()=>{this.element&&this.hide()}),this.options.selector?this.options=Object.assign(Object.assign({},this.options),{trigger:"manual",selector:""}):this.fixTitle()}fixTitle(){const e=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==e)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))}enter(e,t){const n=g.DATA_KEY;if((t=t||c.getData(e.delegateTarget,n))||(t=new g(e.delegateTarget,this.getDelegateConfig()),c.setData(e.delegateTarget,n,t)),e){const n="focusin"===e.type?g.TRIGGER.focus:g.TRIGGER.hover;t.activeTrigger[n]=!0}t.getTipElement().classList.contains(g.CLASS_NAME.show)||t.hoverState===g.HOVER_STATE.show?t.hoverState=g.HOVER_STATE.show:(clearTimeout(t.timeout),t.hoverState=g.HOVER_STATE.show,t.options.delay&&t.options.delay.show?t.timeout=setTimeout(()=>{t._hoverState===g.HOVER_STATE.show&&t.show()},t.options.delay.show):t.show())}leave(e,t){const n=g.DATA_KEY;if((t=t||c.getData(e.delegateTarget,n))||(t=new g(e.delegateTarget,this.getDelegateConfig()),c.setData(e.delegateTarget,n,t)),e){const n="focusout"===e.type?g.TRIGGER.focus:g.TRIGGER.hover;t.activeTrigger[n]=!1}t.isWithActiveTrigger()||(clearTimeout(t.timeout),t.hoverState=g.HOVER_STATE.out,t.options.delay&&t.options.delay.hide?t.timeout=setTimeout(()=>{t.hoverState===g.HOVER_STATE.out&&t.hide()},t.options.delay.hide):t.hide())}isWithActiveTrigger(){for(const e in this.activeTrigger)if(this.activeTrigger[e])return!0;return!1}static getOptions(e,t){return"number"==typeof(t=Object.assign(Object.assign(Object.assign({},g.DEFAULT_OPTIONS),f.getDataAttributes(e)),"object"==typeof t&&t?t:{})).delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),h.typeCheckConfig(g.NAME,t,g.DEFAULT_TYPE),t}getDelegateConfig(){const e={};if(this.options)for(const t in this.options)g.DEFAULT_OPTIONS[t]!==this.options[t]&&(e[t]=this.options[t]);return e}cleanTipClass(){const e=this.getTipElement(),t=e.getAttribute("class").match(g.NJCLS_PREFIX_REGEX);null!==t&&t.length&&t.map(e=>e.trim()).forEach(t=>e.classList.remove(t))}handlePopperPlacementChange(e){const t=e.instance;this.tip=t.popper,this.cleanTipClass(),this.addAttachmentClass(g.getAttachment(e.placement))}fixTransition(){const e=this.getTipElement(),t=this.options.animation;null===e.getAttribute("x-placement")&&(e.classList.remove(g.CLASS_NAME.fade),this.options.animation=!1,this.hide(),this.show(),this.options.animation=t)}static getAttachment(e){return g.ATTACHMENT_MAP[e.toUpperCase()]}static getInstance(e){return c.getData(e,g.DATA_KEY)}static init(){return[]}}g.NAME="".concat(o.KEY_PREFIX,"-tooltip"),g.DATA_KEY="".concat(o.KEY_PREFIX,".tooltip"),g.EVENT_KEY=".".concat(g.DATA_KEY),g.CLASS_NAME={default:"".concat(o.KEY_PREFIX,"-tooltip"),inner:"".concat(o.KEY_PREFIX,"-tooltip__inner"),arrow:"".concat(o.KEY_PREFIX,"-tooltip__arrow"),withoutArrow:"".concat(o.KEY_PREFIX,"-tooltip--without-arrow"),fade:"fade",show:"show"},g.NJCLS_PREFIX_REGEX=new RegExp("(^|\\s)".concat(g.CLASS_NAME.default,"\\S+"),"g"),g.DEFAULT_TYPE={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)",arrow:"boolean"},g.ATTACHMENT_MAP={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},g.DEFAULT_OPTIONS={animation:!0,template:'<div class="'.concat(g.CLASS_NAME.default,'" role="tooltip">')+'<div class="'.concat(g.CLASS_NAME.arrow,'"></div>')+'<div class="'.concat(g.CLASS_NAME.inner,'"></div></div>'),trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",arrow:!0},g.HOVER_STATE={show:"show",out:"out"},g.EVENT={hide:"".concat(r.hide).concat(g.EVENT_KEY),hidden:"".concat(r.hidden).concat(g.EVENT_KEY),show:"".concat(r.show).concat(g.EVENT_KEY),shown:"".concat(r.shown).concat(g.EVENT_KEY),inserted:"".concat(r.inserted).concat(g.EVENT_KEY),click:"".concat(r.click).concat(g.EVENT_KEY),focusin:"".concat(r.focusin).concat(g.EVENT_KEY),focusout:"".concat(r.focusout).concat(g.EVENT_KEY),mouseenter:"".concat(r.mouseenter).concat(g.EVENT_KEY),mouseleave:"".concat(r.mouseleave).concat(g.EVENT_KEY)},g.SELECTOR={default:'[data-toggle="tooltip"]',inner:".".concat(g.CLASS_NAME.inner),arrow:".".concat(g.CLASS_NAME.arrow)},g.TRIGGER={hover:"hover",focus:"focus",click:"click",manual:"manual"};class E extends m{constructor(){super(g)}static init(){m.init(E)}}E.TAG_NAME=g.NAME}]).default}));
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("Tooltip",[],t):"object"==typeof exports?exports.Tooltip=t():e.Tooltip=t()}(window,(function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var i=t[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(o,i,function(t){return e[t]}.bind(null,i));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=2)}([function(e,t,n){"use strict";(function(e){var n="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,o=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(n&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}();var i=n&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),o))}};function r(e){return e&&"[object Function]"==={}.toString.call(e)}function s(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function a(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function l(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=s(e),n=t.overflow,o=t.overflowX,i=t.overflowY;return/(auto|scroll|overlay)/.test(n+i+o)?e:l(a(e))}function c(e){return e&&e.referenceNode?e.referenceNode:e}var u=n&&!(!window.MSInputMethodContext||!document.documentMode),p=n&&/MSIE 10/.test(navigator.userAgent);function d(e){return 11===e?u:10===e?p:u||p}function f(e){if(!e)return document.documentElement;for(var t=d(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var o=n&&n.nodeName;return o&&"BODY"!==o&&"HTML"!==o?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===s(n,"position")?f(n):n:e?e.ownerDocument.documentElement:document.documentElement}function h(e){return null!==e.parentNode?h(e.parentNode):e}function m(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,o=n?e:t,i=n?t:e,r=document.createRange();r.setStart(o,0),r.setEnd(i,0);var s,a,l=r.commonAncestorContainer;if(e!==l&&t!==l||o.contains(i))return"BODY"===(a=(s=l).nodeName)||"HTML"!==a&&f(s.firstElementChild)!==s?f(l):l;var c=h(e);return c.host?m(c.host,t):m(e,h(t).host)}function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===t?"scrollTop":"scrollLeft",o=e.nodeName;if("BODY"===o||"HTML"===o){var i=e.ownerDocument.documentElement,r=e.ownerDocument.scrollingElement||i;return r[n]}return e[n]}function E(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=g(t,"top"),i=g(t,"left"),r=n?-1:1;return e.top+=o*r,e.bottom+=o*r,e.left+=i*r,e.right+=i*r,e}function v(e,t){var n="x"===t?"Left":"Top",o="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"],10)+parseFloat(e["border"+o+"Width"],10)}function b(e,t,n,o){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],d(10)?parseInt(n["offset"+e])+parseInt(o["margin"+("Height"===e?"Top":"Left")])+parseInt(o["margin"+("Height"===e?"Bottom":"Right")]):0)}function w(e){var t=e.body,n=e.documentElement,o=d(10)&&getComputedStyle(n);return{height:b("Height",t,n,o),width:b("Width",t,n,o)}}var T=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},y=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),A=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},S=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e};function N(e){return S({},e,{right:e.left+e.width,bottom:e.top+e.height})}function O(e){var t={};try{if(d(10)){t=e.getBoundingClientRect();var n=g(e,"top"),o=g(e,"left");t.top+=n,t.left+=o,t.bottom+=n,t.right+=o}else t=e.getBoundingClientRect()}catch(e){}var i={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},r="HTML"===e.nodeName?w(e.ownerDocument):{},a=r.width||e.clientWidth||i.width,l=r.height||e.clientHeight||i.height,c=e.offsetWidth-a,u=e.offsetHeight-l;if(c||u){var p=s(e);c-=v(p,"x"),u-=v(p,"y"),i.width-=c,i.height-=u}return N(i)}function _(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=d(10),i="HTML"===t.nodeName,r=O(e),a=O(t),c=l(e),u=s(t),p=parseFloat(u.borderTopWidth,10),f=parseFloat(u.borderLeftWidth,10);n&&i&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var h=N({top:r.top-a.top-p,left:r.left-a.left-f,width:r.width,height:r.height});if(h.marginTop=0,h.marginLeft=0,!o&&i){var m=parseFloat(u.marginTop,10),g=parseFloat(u.marginLeft,10);h.top-=p-m,h.bottom-=p-m,h.left-=f-g,h.right-=f-g,h.marginTop=m,h.marginLeft=g}return(o&&!n?t.contains(c):t===c&&"BODY"!==c.nodeName)&&(h=E(h,t)),h}function C(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,o=_(e,n),i=Math.max(n.clientWidth,window.innerWidth||0),r=Math.max(n.clientHeight,window.innerHeight||0),s=t?0:g(n),a=t?0:g(n,"left"),l={top:s-o.top+o.marginTop,left:a-o.left+o.marginLeft,width:i,height:r};return N(l)}function x(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===s(e,"position"))return!0;var n=a(e);return!!n&&x(n)}function L(e){if(!e||!e.parentElement||d())return document.documentElement;for(var t=e.parentElement;t&&"none"===s(t,"transform");)t=t.parentElement;return t||document.documentElement}function D(e,t,n,o){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],r={top:0,left:0},s=i?L(e):m(e,c(t));if("viewport"===o)r=C(s,i);else{var u=void 0;"scrollParent"===o?"BODY"===(u=l(a(t))).nodeName&&(u=e.ownerDocument.documentElement):u="window"===o?e.ownerDocument.documentElement:o;var p=_(u,s,i);if("HTML"!==u.nodeName||x(s))r=p;else{var d=w(e.ownerDocument),f=d.height,h=d.width;r.top+=p.top-p.marginTop,r.bottom=f+p.top,r.left+=p.left-p.marginLeft,r.right=h+p.left}}var g="number"==typeof(n=n||0);return r.left+=g?n:n.left||0,r.top+=g?n:n.top||0,r.right-=g?n:n.right||0,r.bottom-=g?n:n.bottom||0,r}function R(e){return e.width*e.height}function M(e,t,n,o,i){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var s=D(n,o,r,i),a={top:{width:s.width,height:t.top-s.top},right:{width:s.right-t.right,height:s.height},bottom:{width:s.width,height:s.bottom-t.bottom},left:{width:t.left-s.left,height:s.height}},l=Object.keys(a).map((function(e){return S({key:e},a[e],{area:R(a[e])})})).sort((function(e,t){return t.area-e.area})),c=l.filter((function(e){var t=e.width,o=e.height;return t>=n.clientWidth&&o>=n.clientHeight})),u=c.length>0?c[0].key:l[0].key,p=e.split("-")[1];return u+(p?"-"+p:"")}function k(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=o?L(t):m(t,c(n));return _(n,i,o)}function P(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),o=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+o,height:e.offsetHeight+n}}function I(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 H(e,t,n){n=n.split("-")[0];var o=P(e),i={width:o.width,height:o.height},r=-1!==["right","left"].indexOf(n),s=r?"top":"left",a=r?"left":"top",l=r?"height":"width",c=r?"width":"height";return i[s]=t[s]+t[l]/2-o[l]/2,i[a]=n===a?t[a]-o[c]:t[I(a)],i}function F(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function j(e,t,n){return(void 0===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex((function(e){return e[t]===n}));var o=F(e,(function(e){return e[t]===n}));return e.indexOf(o)}(e,"name",n))).forEach((function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&r(n)&&(t.offsets.popper=N(t.offsets.popper),t.offsets.reference=N(t.offsets.reference),t=n(t,e))})),t}function Y(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=k(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=H(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=j(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function V(e,t){return e.some((function(e){var n=e.name;return e.enabled&&n===t}))}function G(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),o=0;o<t.length;o++){var i=t[o],r=i?""+i+n:e;if(void 0!==document.body.style[r])return r}return null}function K(){return this.state.isDestroyed=!0,V(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[G("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function B(e){var t=e.ownerDocument;return t?t.defaultView:window}function U(e,t,n,o){n.updateBound=o,B(e).addEventListener("resize",n.updateBound,{passive:!0});var i=l(e);return function e(t,n,o,i){var r="BODY"===t.nodeName,s=r?t.ownerDocument.defaultView:t;s.addEventListener(n,o,{passive:!0}),r||e(l(s.parentNode),n,o,i),i.push(s)}(i,"scroll",n.updateBound,n.scrollParents),n.scrollElement=i,n.eventsEnabled=!0,n}function W(){this.state.eventsEnabled||(this.state=U(this.reference,this.options,this.state,this.scheduleUpdate))}function X(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,B(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 q(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function z(e,t){Object.keys(t).forEach((function(n){var o="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&q(t[n])&&(o="px"),e.style[n]=t[n]+o}))}var J=n&&/Firefox/i.test(navigator.userAgent);function $(e,t,n){var o=F(e,(function(e){return e.name===t})),i=!!o&&e.some((function(e){return e.name===n&&e.enabled&&e.order<o.order}));if(!i){var r="`"+t+"`",s="`"+n+"`";console.warn(s+" modifier is required by "+r+" modifier in order to work, be sure to include it before "+r+"!")}return i}var Q=["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"],Z=Q.slice(3);function ee(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=Z.indexOf(e),o=Z.slice(n+1).concat(Z.slice(0,n));return t?o.reverse():o}var te="flip",ne="clockwise",oe="counterclockwise";function ie(e,t,n,o){var i=[0,0],r=-1!==["right","left"].indexOf(o),s=e.split(/(\+|\-)/).map((function(e){return e.trim()})),a=s.indexOf(F(s,(function(e){return-1!==e.search(/,|\s/)})));s[a]&&-1===s[a].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==a?[s.slice(0,a).concat([s[a].split(l)[0]]),[s[a].split(l)[1]].concat(s.slice(a+1))]:[s];return(c=c.map((function(e,o){var i=(1===o?!r:r)?"height":"width",s=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,s=!0,e):s?(e[e.length-1]+=t,s=!1,e):e.concat(t)}),[]).map((function(e){return function(e,t,n,o){var i=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),r=+i[1],s=i[2];if(!r)return e;if(0===s.indexOf("%")){var a=void 0;switch(s){case"%p":a=n;break;case"%":case"%r":default:a=o}return N(a)[t]/100*r}if("vh"===s||"vw"===s)return("vh"===s?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*r;return r}(e,i,t,n)}))}))).forEach((function(e,t){e.forEach((function(n,o){q(n)&&(i[t]+=n*("-"===e[o-1]?-1:1))}))})),i}var re={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],o=t.split("-")[1];if(o){var i=e.offsets,r=i.reference,s=i.popper,a=-1!==["bottom","top"].indexOf(n),l=a?"left":"top",c=a?"width":"height",u={start:A({},l,r[l]),end:A({},l,r[l]+r[c]-s[c])};e.offsets.popper=S({},s,u[o])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,o=e.placement,i=e.offsets,r=i.popper,s=i.reference,a=o.split("-")[0],l=void 0;return l=q(+n)?[+n,0]:ie(n,r,s,a),"left"===a?(r.top+=l[0],r.left-=l[1]):"right"===a?(r.top+=l[0],r.left+=l[1]):"top"===a?(r.left+=l[0],r.top-=l[1]):"bottom"===a&&(r.left+=l[0],r.top+=l[1]),e.popper=r,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||f(e.instance.popper);e.instance.reference===n&&(n=f(n));var o=G("transform"),i=e.instance.popper.style,r=i.top,s=i.left,a=i[o];i.top="",i.left="",i[o]="";var l=D(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);i.top=r,i.left=s,i[o]=a,t.boundaries=l;var c=t.priority,u=e.offsets.popper,p={primary:function(e){var n=u[e];return u[e]<l[e]&&!t.escapeWithReference&&(n=Math.max(u[e],l[e])),A({},e,n)},secondary:function(e){var n="right"===e?"left":"top",o=u[n];return u[e]>l[e]&&!t.escapeWithReference&&(o=Math.min(u[n],l[e]-("right"===e?u.width:u.height))),A({},n,o)}};return c.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";u=S({},u,p[t](e))})),e.offsets.popper=u,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,o=t.reference,i=e.placement.split("-")[0],r=Math.floor,s=-1!==["top","bottom"].indexOf(i),a=s?"right":"bottom",l=s?"left":"top",c=s?"width":"height";return n[a]<r(o[l])&&(e.offsets.popper[l]=r(o[l])-n[c]),n[l]>r(o[a])&&(e.offsets.popper[l]=r(o[a])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!$(e.instance.modifiers,"arrow","keepTogether"))return e;var o=t.element;if("string"==typeof o){if(!(o=e.instance.popper.querySelector(o)))return e}else if(!e.instance.popper.contains(o))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var i=e.placement.split("-")[0],r=e.offsets,a=r.popper,l=r.reference,c=-1!==["left","right"].indexOf(i),u=c?"height":"width",p=c?"Top":"Left",d=p.toLowerCase(),f=c?"left":"top",h=c?"bottom":"right",m=P(o)[u];l[h]-m<a[d]&&(e.offsets.popper[d]-=a[d]-(l[h]-m)),l[d]+m>a[h]&&(e.offsets.popper[d]+=l[d]+m-a[h]),e.offsets.popper=N(e.offsets.popper);var g=l[d]+l[u]/2-m/2,E=s(e.instance.popper),v=parseFloat(E["margin"+p],10),b=parseFloat(E["border"+p+"Width"],10),w=g-e.offsets.popper[d]-v-b;return w=Math.max(Math.min(a[u]-m,w),0),e.arrowElement=o,e.offsets.arrow=(A(n={},d,Math.round(w)),A(n,f,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(V(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=D(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),o=e.placement.split("-")[0],i=I(o),r=e.placement.split("-")[1]||"",s=[];switch(t.behavior){case te:s=[o,i];break;case ne:s=ee(o);break;case oe:s=ee(o,!0);break;default:s=t.behavior}return s.forEach((function(a,l){if(o!==a||s.length===l+1)return e;o=e.placement.split("-")[0],i=I(o);var c=e.offsets.popper,u=e.offsets.reference,p=Math.floor,d="left"===o&&p(c.right)>p(u.left)||"right"===o&&p(c.left)<p(u.right)||"top"===o&&p(c.bottom)>p(u.top)||"bottom"===o&&p(c.top)<p(u.bottom),f=p(c.left)<p(n.left),h=p(c.right)>p(n.right),m=p(c.top)<p(n.top),g=p(c.bottom)>p(n.bottom),E="left"===o&&f||"right"===o&&h||"top"===o&&m||"bottom"===o&&g,v=-1!==["top","bottom"].indexOf(o),b=!!t.flipVariations&&(v&&"start"===r&&f||v&&"end"===r&&h||!v&&"start"===r&&m||!v&&"end"===r&&g),w=!!t.flipVariationsByContent&&(v&&"start"===r&&h||v&&"end"===r&&f||!v&&"start"===r&&g||!v&&"end"===r&&m),T=b||w;(d||E||T)&&(e.flipped=!0,(d||E)&&(o=s[l+1]),T&&(r=function(e){return"end"===e?"start":"start"===e?"end":e}(r)),e.placement=o+(r?"-"+r:""),e.offsets.popper=S({},e.offsets.popper,H(e.instance.popper,e.offsets.reference,e.placement)),e=j(e.instance.modifiers,e,"flip"))})),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],o=e.offsets,i=o.popper,r=o.reference,s=-1!==["left","right"].indexOf(n),a=-1===["top","left"].indexOf(n);return i[s?"left":"top"]=r[n]-(a?i[s?"width":"height"]:0),e.placement=I(t),e.offsets.popper=N(i),e}},hide:{order:800,enabled:!0,fn:function(e){if(!$(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=F(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.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}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var n=t.x,o=t.y,i=e.offsets.popper,r=F(e.instance.modifiers,(function(e){return"applyStyle"===e.name})).gpuAcceleration;void 0!==r&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var s=void 0!==r?r:t.gpuAcceleration,a=f(e.instance.popper),l=O(a),c={position:i.position},u=function(e,t){var n=e.offsets,o=n.popper,i=n.reference,r=Math.round,s=Math.floor,a=function(e){return e},l=r(i.width),c=r(o.width),u=-1!==["left","right"].indexOf(e.placement),p=-1!==e.placement.indexOf("-"),d=t?u||p||l%2==c%2?r:s:a,f=t?r:a;return{left:d(l%2==1&&c%2==1&&!p&&t?o.left-1:o.left),top:f(o.top),bottom:f(o.bottom),right:d(o.right)}}(e,window.devicePixelRatio<2||!J),p="bottom"===n?"top":"bottom",d="right"===o?"left":"right",h=G("transform"),m=void 0,g=void 0;if(g="bottom"===p?"HTML"===a.nodeName?-a.clientHeight+u.bottom:-l.height+u.bottom:u.top,m="right"===d?"HTML"===a.nodeName?-a.clientWidth+u.right:-l.width+u.right:u.left,s&&h)c[h]="translate3d("+m+"px, "+g+"px, 0)",c[p]=0,c[d]=0,c.willChange="transform";else{var E="bottom"===p?-1:1,v="right"===d?-1:1;c[p]=g*E,c[d]=m*v,c.willChange=p+", "+d}var b={"x-placement":e.placement};return e.attributes=S({},b,e.attributes),e.styles=S({},c,e.styles),e.arrowStyles=S({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,n;return z(e.instance.popper,e.styles),t=e.instance.popper,n=e.attributes,Object.keys(n).forEach((function(e){!1!==n[e]?t.setAttribute(e,n[e]):t.removeAttribute(e)})),e.arrowElement&&Object.keys(e.arrowStyles).length&&z(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,o,i){var r=k(i,t,e,n.positionFixed),s=M(n.placement,r,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",s),z(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},se=function(){function e(t,n){var o=this,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};T(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(o.update)},this.update=i(this.update.bind(this)),this.options=S({},e.Defaults,s),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(S({},e.Defaults.modifiers,s.modifiers)).forEach((function(t){o.options.modifiers[t]=S({},e.Defaults.modifiers[t]||{},s.modifiers?s.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return S({name:e},o.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&r(e.onLoad)&&e.onLoad(o.reference,o.popper,o.options,e,o.state)})),this.update();var a=this.options.eventsEnabled;a&&this.enableEventListeners(),this.state.eventsEnabled=a}return y(e,[{key:"update",value:function(){return Y.call(this)}},{key:"destroy",value:function(){return K.call(this)}},{key:"enableEventListeners",value:function(){return W.call(this)}},{key:"disableEventListeners",value:function(){return X.call(this)}}]),e}();se.Utils=("undefined"!=typeof window?window:e).PopperUtils,se.placements=Q,se.Defaults=re,t.a=se}).call(this,n(1))},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";var o,i,r,s;n.r(t),function(e){e.KEY_PREFIX="nj",e.DATA_API_KEY=".data-api"}(o||(o={})),function(e){e.mouseenter="mouseover",e.mouseleave="mouseout"}(i||(i={})),function(e){e.click="click",e.close="close",e.closed="closed",e.hide="hide",e.hidden="hidden",e.input="input",e.keydown="keydown",e.keyup="keyup",e.onchange="onchange",e.show="show",e.shown="shown",e.inserted="inserted",e.focusin="focusin",e.focusout="focusout",e.mouseenter="mouseenter",e.mouseleave="mouseleave",e.mouseup="mouseup",e.mousedown="mousedown"}(r||(r={})),function(e){e.click="click",e.dblclick="dblclick",e.mouseup="mouseup",e.mousedown="mousedown",e.contextmenu="contextmenu",e.mousewheel="mousewheel",e.DOMMouseScroll="DOMMouseScroll",e.mouseover="mouseover",e.mouseout="mouseout",e.mousemove="mousemove",e.selectstart="selectstart",e.selectend="selectend",e.keydown="keydown",e.keypress="keypress",e.keyup="keyup",e.orientationchange="orientationchange",e.touchstart="touchstart",e.touchmove="touchmove",e.touchend="touchend",e.touchcancel="touchcancel",e.pointerdown="pointerdown",e.pointermove="pointermove",e.pointerup="pointerup",e.pointerleave="pointerleave",e.pointercancel="pointercancel",e.gesturestart="gesturestart",e.gesturechange="gesturechange",e.gestureend="gestureend",e.focus="focus",e.blur="blur",e.change="change",e.reset="reset",e.select="select",e.submit="submit",e.focusin="focusin",e.focusout="focusout",e.load="load",e.unload="unload",e.beforeunload="beforeunload",e.resize="resize",e.move="move",e.DOMContentLoaded="DOMContentLoaded",e.readystatechange="readystatechange",e.error="error",e.abort="abort",e.scroll="scroll"}(s||(s={}));var a=n(0);window.NJStore=window.NJStore||[];const l=(()=>{const e=window.NJStore;return{set(t,n,o){void 0===t.key&&(t.key={key:n,id:e.length}),e[t.key.id]=o},get:(t,n)=>(t.key&&!n.id&&(n=t.key),n&&n.id?e[n.id]:null),delete(t,n){if(void 0===t.key)return;const o=t.key;o.key===n&&(delete e[o.id],delete t.key)}}})();var c={setData(e,t,n){l.set(e,t,n)},getData:(e,t)=>l.get(e,t),removeData(e,t){l.delete(e,t)}};class u{static getUidEvent(e,t){return t&&"".concat(t,"::").concat(u.uidEvent++)||e.uidEvent||u.uidEvent++}static getEvent(e){const t=u.getUidEvent(e);return e.uidEvent=t,u.EVENTREGISTRY[t]=u.EVENTREGISTRY[t]||{}}static fixEvent(e,t){null===e.which&&u.KEYEVENT_REGEX.test(e.type)&&(e.which=null!==e.charCode?e.charCode:e.keyCode),e.delegateTarget=t}static njHandler(e,t){const n=o=>(u.fixEvent(o,e),n.oneOff&&u.off(e,o.type,t),t.apply(e,[o]));return n}static njDelegationHandler(e,t,n){const o=i=>{const r=e.querySelectorAll(t);for(let t=i.target;t&&t!==this;t=t.parentNode)for(let s=r.length;s>=0;s--)if(r[s]===t)return u.fixEvent(i,t),o.oneOff&&u.off(e,i.type,n),n.apply(t,[i]);return null};return o}static findHandler(e,t,n=null){for(const o in e){if(!Object.prototype.hasOwnProperty.call(e,o))continue;const i=e[o];if(i.originalHandler===t&&i.delegationSelector===n)return e[o]}return null}static normalizeParams(e,t,n){const o="string"==typeof t,r=o?n:t;let a=e.replace(u.STRIPNAME_REGEX,"");const l=i[a];l&&(a=l);return"string"==typeof s[a]||(a=e),[o,r,a]}static addHandler(e,t,n,o,i){if("string"!=typeof t||null==e)return;n||(n=o,o=null);const r=u.getEvent(e);for(const s of t.split(" ")){const[t,a,l]=u.normalizeParams(s,n,o),c=r[l]||(r[l]={}),p=u.findHandler(c,a,t?n:null);if(p)return void(p.oneOff=p.oneOff&&i);const d=u.getUidEvent(a,s.replace(u.NAMESPACE_REGEX,"")),f=t?u.njDelegationHandler(e,n,o):u.njHandler(e,n);f.delegationSelector=t?n:null,f.originalHandler=a,f.oneOff=i,f.uidEvent=d,c[d]=f,e.addEventListener(l,f,t)}}static removeHandler(e,t,n,o,i){const r=u.findHandler(t[n],o,i);null!==r&&(e.removeEventListener(n,r,Boolean(i)),delete t[n][r.uidEvent])}static removeNamespacedHandlers(e,t,n,o){const i=t[n]||{};for(const r in i)if(Object.prototype.hasOwnProperty.call(i,r)&&r.indexOf(o)>-1){const o=i[r];u.removeHandler(e,t,n,o.originalHandler,o.delegationSelector)}}static on(e,t,n,o){u.addHandler(e,t,n,o,!1)}static one(e,t,n,o){u.addHandler(e,t,n,o,!0)}static off(e,t,n,o){if("string"!=typeof t||null==e)return;const[i,r,s]=u.normalizeParams(t,n,o),a=s!==t,l=u.getEvent(e);if(void 0!==r){if(!l||!l[s])return;return void u.removeHandler(e,l,s,r,i?n:null)}if("."===t.charAt(0))for(const n in l)Object.prototype.hasOwnProperty.call(l,n)&&u.removeNamespacedHandlers(e,l,n,t.substr(1));const c=l[s]||{};for(const n in c){if(!Object.prototype.hasOwnProperty.call(c,n))continue;const o=n.replace(u.STRIPUID_REGEX,"");if(!a||t.indexOf(o)>-1){const t=c[n];u.removeHandler(e,l,s,t.originalHandler,t.delegationSelector)}}}static trigger(e,t,n){if("string"!=typeof t||null==e)return null;const o=t.replace(u.STRIPNAME_REGEX,""),i="string"==typeof s[o];let r=null;return i?(r=document.createEvent("HTMLEvents"),r.initEvent(o,true,!0)):r=new window.CustomEvent(t,{bubbles:true,cancelable:!0}),void 0!==n&&Object.keys(n).forEach(e=>{Object.defineProperty(r,e,{get:()=>n[e]})}),e.dispatchEvent(r),r}}u.NAMESPACE_REGEX=/[^.]*(?=\..*)\.|.*/,u.STRIPNAME_REGEX=/\..*/,u.KEYEVENT_REGEX=/^key/,u.STRIPUID_REGEX=/::\d+$/,u.EVENTREGISTRY={},u.uidEvent=1;const p={getDataAttributes(e){if(null==e)return{};let t={};if(Object.getOwnPropertyDescriptor(HTMLElement.prototype,"dataset"))t=Object.assign({},e.dataset);else for(let n=0;n<e.attributes.length;n++){const o=e.attributes[n];if(-1!==o.nodeName.indexOf("data-")){const e=o.nodeName.substring("data-".length).replace(/-./g,e=>e.charAt(1).toUpperCase());t[e]=o.nodeValue}}return Object.keys(t).forEach(e=>{var n;t[e]="true"===(n=t[e])||"false"!==n&&("null"===n?null:n===Number(n).toString()?Number(n):""===n?null:n)}),t},toggleClass(e,t){null!=e&&(e.classList.contains(t)?e.classList.remove(t):e.classList.add(t))},mergeExtended(e,t,n){for(const o in t)Object.prototype.hasOwnProperty.call(t,o)&&(n&&"[object Object]"===Object.prototype.toString.call(t[o])?e[o]=p.extend(e[o],t[o]):e[o]=t[o]);return e},extend(...e){let t={},n=!1,o=0;for("[object Boolean]"===Object.prototype.toString.call(e[0])&&(n=e[0],o++);o<e.length;o++)t=p.mergeExtended(t,e[o],n);return t},createHtmlNode:e=>(new DOMParser).parseFromString(e,"text/html").body.firstChild};var d=p;const f={TRANSITION_END:"transitionend",getUID(e){do{e+=~~(1e6*Math.random())}while(document.getElementById(e));return e},getSelectorFromElement(e){let t=e.getAttribute("data-target");if(!t||"#"===t){const n=e.getAttribute("href");t=n&&"#"!==n?n.trim():""}try{return document.querySelector(t)?t:null}catch(e){return null}},getTransitionDurationFromElement(e){if(!e)return 0;let t=window.getComputedStyle(e).transitionDuration,n=window.getComputedStyle(e).transitionDelay;const o=parseFloat(t),i=parseFloat(n);return o||i?(t=t.split(",")[0],n=n.split(",")[0],1e3*(parseFloat(t)+parseFloat(n))):0},reflow:e=>e.offsetHeight,triggerTransitionEnd(e){const t=new CustomEvent(f.TRANSITION_END,{});e.dispatchEvent(t)},isElement:e=>(e[0]||e).nodeType,emulateTransitionEnd(e,t){let n=!1;const o=t+5;e.addEventListener(f.TRANSITION_END,(function t(){n=!0,e.removeEventListener(f.TRANSITION_END,t)})),setTimeout(()=>{n||f.triggerTransitionEnd(e)},o)},typeCheckConfig(e,t,n){for(const i in n)if(Object.prototype.hasOwnProperty.call(n,i)){const r=n[i],s=t[i],a=s&&f.isElement(s)?"element":(o=s,{}.toString.call(o).match(/\s([a-z]+)/i)[1].toLowerCase());if(!new RegExp(r).test(a))throw new Error("".concat(e.toUpperCase(),": ")+'Option "'.concat(i,'" provided type "').concat(a,'" ')+'but expected type "'.concat(r,'".'))}var o},makeArray:e=>null==e?[]:[].slice.call(e),findShadowRoot(e){if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?f.findShadowRoot(e.parentElement):null},throttle(e,t,n,o,i){let r,s,a,l=null,c=0;const u=()=>{c=Date.now(),l=null,a=e.apply(s,r)};return()=>{const p=Date.now();c||n||(c=p);const d=t-(p-c);return s=i||this,r=arguments,d<=0?(clearTimeout(l),l=null,c=p,a=e.apply(s,r)):!l&&o&&(l=setTimeout(u,d)),a}}};var h=f;class m extends HTMLElement{constructor(...e){super(),this.components=e,this.instances=[],this.parentNodes=[]}connectedCallback(){this.setup()}disconnectedCallback(){this.instances.forEach(e=>{e.dispose()}),this.instances=null}setup(){let e=this;for(;e.parentNode;)e=e.parentNode,this.parentNodes.push(e);[this,...this.parentNodes].some(e=>e.nextSibling)||"loading"!==document.readyState?this.childrenAvailableCallback():(this.mutationObserver=new MutationObserver(()=>{([this,...this.parentNodes].some(e=>e.nextSibling)||"loading"!==document.readyState)&&(this.childrenAvailableCallback(),this.mutationObserver.disconnect())}),this.mutationObserver.observe(this,{childList:!0}))}childrenAvailableCallback(){this.components.forEach(e=>{const t=this.querySelector(e.SELECTOR.default);if(!t)throw new Error("Default selector of ".concat(e.name," not found: ").concat(e.SELECTOR.default));this.instances.push(new e(t))})}static init(e){if(!e.TAG_NAME)throw new Error("TAG_NAME property of ".concat(e.name," class doesn't exists"));customElements.define(e.TAG_NAME,e)}}n.d(t,"default",(function(){return g})),n.d(t,"TooltipWC",(function(){return E}));class g extends class{constructor(e,t,n={}){!t||t instanceof Element||console.error(Error("".concat(t," is not an HTML Element"))),this.options=n,this.element=t}static init(e,t={},n){const o=[],i=document.querySelectorAll(n);for(let n=0;n<i.length;n++){const r=i[n];if(!r.key||r.key!==e.DATA_KEY){const s=new e(i[n],t);r.key||c.setData(i[n],e.DATA_KEY,s),o.push(s)}}return o}}{constructor(e,t={}){super(g,e,g.getOptions(e,t)),this.isEnabled=!0,this.timeout=0,this.hoverState="",this.activeTrigger={},this.popper=null,this.tip=null,this.setListeners(),c.setData(e,g.DATA_KEY,this)}enable(){this.isEnabled=!0}disable(){this.isEnabled=!1}toggleEnabled(){this.isEnabled=!this.isEnabled}toggle(e){if(this.isEnabled)if(e){const t=g.DATA_KEY;let n=g.getInstance(e.delegateTarget);n||(n=new g(e.delegateTarget,this.getDelegateConfig()),c.setData(e.delegateTarget,t,n)),n.activeTrigger.click=!n.activeTrigger.click,n.isWithActiveTrigger()?n.enter(null,n):n.leave(null,n)}else{if(this.getTipElement().classList.contains(g.CLASS_NAME.show))return void this.leave(null,this);this.enter(null,this)}}dispose(){clearTimeout(this.timeout),c.removeData(this.element,g.DATA_KEY),u.off(this.element,g.EVENT_KEY),u.off(this.element.closest(".modal"),"hide.".concat(o.KEY_PREFIX,".modal")),this.tip&&this.tip.parentNode&&this.tip.parentNode.removeChild(this.tip),this.isEnabled=null,this.timeout=null,this.hoverState=null,this.activeTrigger=null,null!==this.popper&&this.popper.destroy(),this.popper=null,this.element=null,this.options=null,this.tip=null}show(){if("none"===this.element.style.display)throw new Error("Please use show on visible elements");if(this.isWithContent()&&this.isEnabled){const e=u.trigger(this.element,g.EVENT.show),t=h.findShadowRoot(this.element),n=null!==t?t.contains(this.element):this.element.ownerDocument.documentElement.contains(this.element);if(e.defaultPrevented||!n)return;const o=this.getTipElement(),i=h.getUID(g.NAME);o.setAttribute("id",i),this.element.setAttribute("aria-describedby",i),this.setContent(),this.options.animation&&o.classList.add(g.CLASS_NAME.fade);const r="function"==typeof this.options.placement?this.options.placement.call(this,o,this.element):this.options.placement,s=g.getAttachment(r);this.addAttachmentClass(s),this.options.arrow||this.getTipElement().classList.add(g.CLASS_NAME.withoutArrow);const l=this.getContainer();c.setData(o,g.DATA_KEY,this),this.element.ownerDocument.documentElement.contains(this.tip)||l.appendChild(o),u.trigger(this.element,g.EVENT.inserted),this.popper=new a.a(this.element,o,{placement:s,modifiers:{offset:{offset:this.options.offset},flip:{behavior:this.options.fallbackPlacement},arrow:{element:g.SELECTOR.arrow},preventOverflow:{boundariesElement:this.options.boundary}},onCreate:e=>{e.originalPlacement!==e.placement&&this.handlePopperPlacementChange(e)},onUpdate:e=>this.handlePopperPlacementChange(e)}),o.classList.add(g.CLASS_NAME.show),"ontouchstart"in document.documentElement&&h.makeArray(document.body.children).forEach(e=>{u.on(e,"mouseover")});const p=()=>{this.options.animation&&this.fixTransition();const e=this.hoverState;this.hoverState=null,u.trigger(this.element,g.EVENT.shown),e===g.HOVER_STATE.out&&this.leave(null,this)};if(this.tip.classList.contains(g.CLASS_NAME.fade)){const e=h.getTransitionDurationFromElement(this.tip);u.one(this.tip,h.TRANSITION_END,p),h.emulateTransitionEnd(this.tip,e)}else p()}}hide(e){const t=this.getTipElement(),n=()=>{this.element&&(this.hoverState!==g.HOVER_STATE.show&&t.parentNode&&t.parentNode.removeChild(t),this.cleanTipClass(),this.element.removeAttribute("aria-describedby"),u.trigger(this.element,g.EVENT.hidden),null!==this.popper&&this.popper.destroy(),e&&e())};if(!u.trigger(this.element,g.EVENT.hide).defaultPrevented){if(t.classList.remove(g.CLASS_NAME.show),"ontouchstart"in document.documentElement&&h.makeArray(document.body.children).forEach(e=>u.off(e,"mouseover")),this.activeTrigger[g.TRIGGER.click]=!1,this.activeTrigger[g.TRIGGER.focus]=!1,this.activeTrigger[g.TRIGGER.hover]=!1,this.tip.classList.contains(g.CLASS_NAME.fade)){const e=h.getTransitionDurationFromElement(t);u.one(t,h.TRANSITION_END,n),h.emulateTransitionEnd(t,e)}else n();this.hoverState=""}}update(){null!==this.popper&&this.popper.scheduleUpdate()}isWithContent(){return Boolean(this.getTitle())}addAttachmentClass(e){this.getTipElement().classList.add("".concat(g.CLASS_NAME.default,"--").concat(e))}getTipElement(){if(this.tip)return this.tip;const e=document.createElement("div");return e.innerHTML=this.options.template,this.tip=e.children[0],this.tip}setContent(){const e=this.getTipElement();this.setElementContent(e.querySelector(g.SELECTOR.inner),this.getTitle()),e.classList.remove(g.CLASS_NAME.fade),e.classList.remove(g.CLASS_NAME.show)}setElementContent(e,t){if(null===e)return;const n=this.options.html;"object"==typeof t&&t.nodeType?n?t.parentNode!==e&&(e.innerHTML="",e.appendChild(t)):e.innerText=t.textContent:e[n?"innerHTML":"innerText"]=t}getTitle(){let e=this.element.getAttribute("data-original-title");return e||(e="function"==typeof this.options.title?this.options.title.call(this.element):this.options.title),e}getContainer(){return!1===this.options.container?document.body:h.isElement(this.options.container)?this.options.container:document.querySelector(this.options.container)}setListeners(){this.options.trigger.split(" ").forEach(e=>{if("click"===e)u.on(this.element,g.EVENT.click,this.options.selector,e=>this.toggle(e));else if(e!==g.TRIGGER.manual){const t=e===g.TRIGGER.hover?g.EVENT.mouseenter:g.EVENT.focusin,n=e===g.TRIGGER.hover?g.EVENT.mouseleave:g.EVENT.focusout;u.on(this.element,t,this.options.selector,e=>this.enter(e)),u.on(this.element,n,this.options.selector,e=>this.leave(e))}}),u.on(this.element.closest(".modal"),"hide.".concat(o.KEY_PREFIX,".modal"),()=>{this.element&&this.hide()}),this.options.selector?this.options=Object.assign(Object.assign({},this.options),{trigger:"manual",selector:""}):this.fixTitle()}fixTitle(){const e=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==e)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))}enter(e,t){const n=g.DATA_KEY;if((t=t||c.getData(e.delegateTarget,n))||(t=new g(e.delegateTarget,this.getDelegateConfig()),c.setData(e.delegateTarget,n,t)),e){const n="focusin"===e.type?g.TRIGGER.focus:g.TRIGGER.hover;t.activeTrigger[n]=!0}t.getTipElement().classList.contains(g.CLASS_NAME.show)||t.hoverState===g.HOVER_STATE.show?t.hoverState=g.HOVER_STATE.show:(clearTimeout(t.timeout),t.hoverState=g.HOVER_STATE.show,t.options.delay&&t.options.delay.show?t.timeout=setTimeout(()=>{t._hoverState===g.HOVER_STATE.show&&t.show()},t.options.delay.show):t.show())}leave(e,t){const n=g.DATA_KEY;if((t=t||c.getData(e.delegateTarget,n))||(t=new g(e.delegateTarget,this.getDelegateConfig()),c.setData(e.delegateTarget,n,t)),e){const n="focusout"===e.type?g.TRIGGER.focus:g.TRIGGER.hover;t.activeTrigger[n]=!1}t.isWithActiveTrigger()||(clearTimeout(t.timeout),t.hoverState=g.HOVER_STATE.out,t.options.delay&&t.options.delay.hide?t.timeout=setTimeout(()=>{t.hoverState===g.HOVER_STATE.out&&t.hide()},t.options.delay.hide):t.hide())}isWithActiveTrigger(){for(const e in this.activeTrigger)if(this.activeTrigger[e])return!0;return!1}static getOptions(e,t){return"number"==typeof(t=Object.assign(Object.assign(Object.assign({},g.DEFAULT_OPTIONS),d.getDataAttributes(e)),"object"==typeof t&&t?t:{})).delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),h.typeCheckConfig(g.NAME,t,g.DEFAULT_TYPE),t}getDelegateConfig(){const e={};if(this.options)for(const t in this.options)g.DEFAULT_OPTIONS[t]!==this.options[t]&&(e[t]=this.options[t]);return e}cleanTipClass(){const e=this.getTipElement(),t=e.getAttribute("class").match(g.NJCLS_PREFIX_REGEX);null!==t&&t.length&&t.map(e=>e.trim()).forEach(t=>e.classList.remove(t))}handlePopperPlacementChange(e){const t=e.instance;this.tip=t.popper,this.cleanTipClass(),this.addAttachmentClass(g.getAttachment(e.placement))}fixTransition(){const e=this.getTipElement(),t=this.options.animation;null===e.getAttribute("x-placement")&&(e.classList.remove(g.CLASS_NAME.fade),this.options.animation=!1,this.hide(),this.show(),this.options.animation=t)}static getAttachment(e){return g.ATTACHMENT_MAP[e.toUpperCase()]}static getInstance(e){return c.getData(e,g.DATA_KEY)}static init(){return[]}}g.NAME="".concat(o.KEY_PREFIX,"-tooltip"),g.DATA_KEY="".concat(o.KEY_PREFIX,".tooltip"),g.EVENT_KEY=".".concat(g.DATA_KEY),g.CLASS_NAME={default:"".concat(o.KEY_PREFIX,"-tooltip"),inner:"".concat(o.KEY_PREFIX,"-tooltip__inner"),arrow:"".concat(o.KEY_PREFIX,"-tooltip__arrow"),withoutArrow:"".concat(o.KEY_PREFIX,"-tooltip--without-arrow"),fade:"fade",show:"show"},g.NJCLS_PREFIX_REGEX=new RegExp("(^|\\s)".concat(g.CLASS_NAME.default,"\\S+"),"g"),g.DEFAULT_TYPE={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)",arrow:"boolean"},g.ATTACHMENT_MAP={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},g.DEFAULT_OPTIONS={animation:!0,template:'<div class="'.concat(g.CLASS_NAME.default,'" role="tooltip">')+'<div class="'.concat(g.CLASS_NAME.arrow,'"></div>')+'<div class="'.concat(g.CLASS_NAME.inner,'"></div></div>'),trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",arrow:!0},g.HOVER_STATE={show:"show",out:"out"},g.EVENT={hide:"".concat(r.hide).concat(g.EVENT_KEY),hidden:"".concat(r.hidden).concat(g.EVENT_KEY),show:"".concat(r.show).concat(g.EVENT_KEY),shown:"".concat(r.shown).concat(g.EVENT_KEY),inserted:"".concat(r.inserted).concat(g.EVENT_KEY),click:"".concat(r.click).concat(g.EVENT_KEY),focusin:"".concat(r.focusin).concat(g.EVENT_KEY),focusout:"".concat(r.focusout).concat(g.EVENT_KEY),mouseenter:"".concat(r.mouseenter).concat(g.EVENT_KEY),mouseleave:"".concat(r.mouseleave).concat(g.EVENT_KEY)},g.SELECTOR={default:'[data-toggle="tooltip"]',inner:".".concat(g.CLASS_NAME.inner),arrow:".".concat(g.CLASS_NAME.arrow),tooltip:".".concat(o.KEY_PREFIX,"-tooltip")},g.TRIGGER={hover:"hover",focus:"focus",click:"click",manual:"manual"};class E extends m{constructor(){super(g)}static init(){m.init(E)}}E.TAG_NAME=g.NAME}]).default}));

@@ -67,3 +67,4 @@ import Alert, { AlertWC } from './components/alert';

NJ: any;
Tooltip: Tooltip;
}
}

@@ -1,12 +0,12 @@

/**
* --------------------------------------------------------------------------
* Fork from Bootstrap (v4-without-jquery): dom/data.js
* --------------------------------------------------------------------------
*/
import AbstractComponent from './abstract-component';
declare const Data: {
setData(instance: any, key: string, data: AbstractComponent): void;
getData(instance: any, key: string): AbstractComponent;
getData(element: any, key: any): AbstractComponent;
removeData(instance: any, key: string): void;
};
export default Data;
declare global {
interface Window {
NJStore: any;
}
}
{
"name": "@engie-group/fluid-design-system",
"version": "4.2.2",
"version": "4.3.0",
"description": "The Fluid Design System is ENGIE’s open-source library to create, build and deliver ENGIE digital services in a more efficient way.",

@@ -60,9 +60,11 @@ "keywords": [

"postinstall": "node bin/engage.js",
"test": "echo \"Error: no test specified\" && exit 1",
"test": "run-s prepare test:check",
"test:check": "jest --config jest.config.js",
"test:update": "jest --updateSnapshot",
"browserinfo": "node browserRequirement.js",
"dev": "webpack --watch"
"dev": "run-p \"build:scripts:umd -- --watch\" \"build:scripts:sc -- --watch\" \"build:scripts:obs -- --watch\" "
},
"prettier": "./.prettierrc.js",
"dependencies": {
"@engie-group/fluid-design-tokens": "^1.0.1"
"@engie-group/fluid-design-tokens": "^1.0.2"
},

@@ -100,3 +102,5 @@ "devDependencies": {

"gulp-sourcemaps": "^2.6.5",
"node-sass": "^4.13.0",
"jest": "^26.4.2",
"jest-canvas-mock": "^2.3.0",
"node-sass": "^4.14.0",
"npm-run-all": "^4.1.5",

@@ -121,3 +125,3 @@ "path": "^0.12.7",

},
"gitHead": "997072d5305bb15ca9a31217f6071bba5ef76b92"
"gitHead": "24f3b0a4bcce4643a41f146219f6c02b771195b2"
}

@@ -5,28 +5,96 @@ /**

* - add root id to the top container (id="root")
* - import in your code or via script tag lib/fluid-design-system.js then lib/auto-init.js
* - import inside your code or via script tag lib/fluid-design-system.js then lib/auto-init.js
* - do not use custom tag (otherwise you must use custom elements )
* - no need to import webcomponentsjs and custom elements adapters
*
* For fluid developers:
* do not forget to add New JS component names inside componentNames array. Follow NEW_COMPONENT code tag
*/
const componentNames: Array<string> = [
'Alert',
'Checkbox',
'Collapse',
'Dropdown',
'Fab',
'Form',
'Header',
'Modal',
'Navbar',
'Radio',
'Select',
'Sidebar',
'Slider',
'Tab',
'Tag',
'Tooltip'
];
// NEW_COMPONENT add library name here
const autoInit = (function(): void {
if (typeof window !== 'undefined') {
const NJ = window.NJ;
function init(): void {
if (window.NJ) window.NJ.AutoInit();
else {
const len = componentNames.length;
let i = 0;
for (; i < len; i++) {
if (window[componentNames[i]]) {
window[componentNames[i]].init();
}
}
}
}
function initTooltip(element): boolean {
if (element && element.getAttribute && element.getAttribute('data-toggle') === 'tooltip') {
const Tooltip = window.Tooltip || window.NJ.Tooltip;
// eslint-disable-next-line @typescript-eslint/ban-ts-ignore
// @ts-ignore
// eslint-disable-next-line no-new
if (Tooltip) new Tooltip(element);
return true;
}
return false;
}
document.addEventListener('DOMContentLoaded', function() {
if (window.NJ) {
NJ.AutoInit();
const targetNode: Node = document.getElementById('root') as Node;
if (targetNode) {
const config = { attributes: false, childList: true, subtree: true };
const callback: MutationCallback = (mutationsList): void => {
for (let i = 0, len = mutationsList.length; i < len; i++) {
if (mutationsList[i].type === 'childList' && mutationsList[i].addedNodes.length) {
NJ.AutoInit();
init();
const tooltips = document.querySelectorAll('[data-toggle="tooltip"]');
for (let i = 0; i < tooltips.length; i++) {
initTooltip(tooltips[i]);
}
const targetNode: Node = document.getElementById('root') as Node;
if (targetNode) {
const config = { attributes: false, childList: true, subtree: true };
const callback: MutationCallback = (mutationsList): void => {
for (let i = 0, len = mutationsList.length; i < len; i++) {
if (mutationsList[i].type === 'childList' && mutationsList[i].addedNodes.length) {
let isNeededInit = false;
for (let j = 0; j < mutationsList[i].addedNodes.length; j++) {
const element: AbstractNode = mutationsList[i].addedNodes[j] as AbstractNode;
const parent: AbstractNode = element.parentNode as AbstractNode;
const grandParent: AbstractNode = parent.parentNode as AbstractNode;
if (!element.key && !parent.key && !grandParent.key) {
const htmlElement = mutationsList[i].addedNodes[j] as HTMLElement;
const isTooltip = initTooltip(htmlElement);
if (!isTooltip) isNeededInit = true;
}
}
if (isNeededInit) init();
}
};
if (mutationsList[i].type === 'childList' && mutationsList[i].removedNodes.length) {
for (let j = 0; j < mutationsList[i].removedNodes.length; j++) {
const element: AbstractNode = mutationsList[i].removedNodes[j] as AbstractNode;
if (element.key) {
if (element.key) window.NJStore[element.key.id].dispose();
}
}
}
}
};
const observer: MutationObserver = new MutationObserver(callback);
observer.observe(targetNode, config);
}
const observer: MutationObserver = new MutationObserver(callback);
observer.observe(targetNode, config);
}

@@ -38,1 +106,5 @@ });

export default autoInit;
interface AbstractNode extends Node, ParentNode {
key: { id: string; key: string };
}

@@ -42,3 +42,3 @@ /**

super(Alert, element);
Data.setData(element, Alert.DATA_KEY, this);
this.setListeners();

@@ -45,0 +45,0 @@ }

@@ -17,2 +17,3 @@ /**

protected static readonly SELECTOR = {
root: `.${Checkbox.NAME}`,
default: `.${Checkbox.NAME} > label > input[type=checkbox]`,

@@ -32,4 +33,6 @@ formGroup: AbstractFormBaseSelection.SELECTOR.formGroup,

super(Checkbox, element, Manipulator.extend(true, Checkbox.DEFAULT_OPTIONS, options), properties);
Data.setData(element, Checkbox.DATA_KEY, this);
const parent: AbstractNode = element.parentNode as AbstractNode;
const grandParent: AbstractNode = parent.parentNode as AbstractNode;
Data.setData(grandParent, Checkbox.DATA_KEY, this);
}

@@ -66,1 +69,5 @@

}
interface AbstractNode extends Node, ParentNode {
key: { id: string; key: string };
}

@@ -96,3 +96,3 @@ /**

Data.setData(element, Collapse.DATA_KEY, this);
// Data.setData(element, Collapse.DATA_KEY, this);

@@ -99,0 +99,0 @@ if (this.options.toggle) {

@@ -14,3 +14,3 @@ /**

protected static readonly DATA_KEY = `${Core.KEY_PREFIX}.autocomplete`;
protected static readonly SELECTOR = {
static readonly SELECTOR = {
default: `.${Autocomplete.NAME}`,

@@ -57,4 +57,6 @@ input: `input`,

public dispose(): void {
this.element.querySelector(Autocomplete.SELECTOR.list).removeEventListener('click', this.onSelectListItem);
this.element.querySelector(Autocomplete.SELECTOR.input).removeEventListener('input', this.onInputChange);
if (this.element && this.element.querySelector(Autocomplete.SELECTOR.list))
this.element.querySelector(Autocomplete.SELECTOR.list).removeEventListener('click', this.onSelectListItem);
if (this.element && this.element.querySelector(Autocomplete.SELECTOR.input))
this.element.querySelector(Autocomplete.SELECTOR.input).removeEventListener('input', this.onInputChange);
Data.removeData(this.element, Autocomplete.DATA_KEY);

@@ -61,0 +63,0 @@ this.element = null;

@@ -14,8 +14,14 @@ import Autocomplete, { AutocompleteWC } from './autocomplete';

static init(optionsPassword = {}, optionsSearch = {}, optionsText = {}, optionsTextarea = {}): void {
PasswordInput.init(optionsPassword);
SearchInput.init(optionsSearch);
TextInput.init(optionsText);
TextareaInput.init(optionsTextarea);
Autocomplete.init();
protected static readonly SELECTOR = {
default: `${TextInput.SELECTOR.default}, ${SearchInput.SELECTOR.default}, ${TextareaInput.SELECTOR.default}, ${Autocomplete.SELECTOR.default}`
};
static init(optionsPassword = {}, optionsSearch = {}, optionsText = {}, optionsTextarea = {}): Form[] {
const passwordInput = PasswordInput.init(optionsPassword);
const searchInput = SearchInput.init(optionsSearch);
const textInput = TextInput.init(optionsText);
const textareaInput = TextareaInput.init(optionsTextarea);
const autocomplete = Autocomplete.init();
return [passwordInput, searchInput, textInput, textareaInput, autocomplete];
}

@@ -22,0 +28,0 @@ }

@@ -16,3 +16,3 @@ /**

protected static readonly DATA_KEY = `${Core.KEY_PREFIX}.password-input`;
protected static readonly SELECTOR = {
static readonly SELECTOR = {
default: `.${PasswordInput.NAME}`

@@ -19,0 +19,0 @@ };

@@ -16,3 +16,3 @@ /**

protected static readonly DATA_KEY = `${Core.KEY_PREFIX}.search-input`;
protected static readonly SELECTOR = {
static readonly SELECTOR = {
default: `.${SearchInput.NAME}`

@@ -19,0 +19,0 @@ };

@@ -16,3 +16,3 @@ /**

protected static readonly SELECTOR = {
static readonly SELECTOR = {
default:

@@ -19,0 +19,0 @@ 'input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=file]):not([type=button]):not([type=submit]):not([type=reset])',

@@ -16,3 +16,3 @@ /**

protected static readonly SELECTOR = {
static readonly SELECTOR = {
default: 'textarea',

@@ -19,0 +19,0 @@ formGroup: AbstractFormControl.SELECTOR.formGroup

@@ -22,3 +22,3 @@ /**

protected static readonly SELECTOR = {
static readonly SELECTOR = {
default: `.${Navbar.NAME}`

@@ -25,0 +25,0 @@ };

@@ -38,2 +38,6 @@ /**

super(Radio, element, Manipulator.extend(true, Radio.DEFAULT_OPTIONS, options), properties);
Data.setData(element, Radio.DATA_KEY, this);
const parent: AbstractNode = element.parentNode as AbstractNode;
const grandParent: AbstractNode = parent.parentNode as AbstractNode;
Data.setData(grandParent, Radio.DATA_KEY, this);
}

@@ -70,1 +74,5 @@

}
interface AbstractNode extends Node, ParentNode {
key: { id: string; key: string };
}

@@ -30,2 +30,3 @@ /**

this.addIsFilled();
Data.setData(element, Select.DATA_KEY, this);
}

@@ -32,0 +33,0 @@

@@ -139,3 +139,2 @@ /**

EventHandler.off(this.element, 'input change keyup');
EventHandler.off(this.element, 'input change keyup');
EventHandler.off(document, 'resize');

@@ -142,0 +141,0 @@ Data.removeData(this.element, Slider.DATA_KEY);

@@ -23,2 +23,7 @@ /**

};
protected static readonly SELECTOR = {
default: `.${Tab.NAME}`
};
private readonly tabs: NodeListOf<HTMLElement>;

@@ -115,3 +120,3 @@ public currentIndex: number = null;

static init(options = {}): Tab[] {
return super.init(this, options, Tab.CLASS_NAME.component) as Tab[];
return super.init(this, options, Tab.SELECTOR.default) as Tab[];
}

@@ -118,0 +123,0 @@ }

@@ -95,3 +95,4 @@ /**

inner: `.${Tooltip.CLASS_NAME.inner}`,
arrow: `.${Tooltip.CLASS_NAME.arrow}`
arrow: `.${Tooltip.CLASS_NAME.arrow}`,
tooltip: `.${Core.KEY_PREFIX}-tooltip`
};

@@ -98,0 +99,0 @@

@@ -52,2 +52,3 @@ import '@webcomponents/webcomponentsjs/custom-elements-es5-adapter';

];
// NEW_COMPONENT add component here

@@ -71,2 +72,3 @@ // Makes components API available

static readonly Tooltip = Tooltip;
// NEW_COMPONENT add component here

@@ -107,2 +109,3 @@ /**

];
// NEW_COMPONENT add webcomponent here

@@ -125,2 +128,3 @@ static readonly AlertWC = AlertWC;

static readonly TooltipWC = TooltipWC;
// NEW_COMPONENT add webcomponent here

@@ -127,0 +131,0 @@ static AutoInit(): void {

@@ -41,2 +41,3 @@ import Alert, { AlertWC } from './components/alert';

];
// NEW_COMPONENT add component name here

@@ -60,2 +61,3 @@ // Makes components API available

static readonly Tooltip = Tooltip;
// NEW_COMPONENT add component name here

@@ -96,2 +98,3 @@ /**

];
// NEW_COMPONENT add webcomponent here

@@ -114,2 +117,3 @@ static readonly AlertWC = AlertWC;

static readonly TooltipWC = TooltipWC;
// NEW_COMPONENT add webcomponent here

@@ -129,2 +133,3 @@ static AutoInit(): void {

NJ: any;
Tooltip: Tooltip;
}

@@ -131,0 +136,0 @@ }

@@ -1,12 +0,6 @@

/**
* --------------------------------------------------------------------------
* Fork from Bootstrap (v4-without-jquery): dom/data.js
* --------------------------------------------------------------------------
*/
import AbstractComponent from './abstract-component';
window.NJStore = window.NJStore || [];
const mapData = ((): { set: Function; get: Function; delete: Function } => {
const storeData = {};
let id = 1;
const storeData = window.NJStore;
return {

@@ -17,5 +11,4 @@ set(element, key: string, data: AbstractComponent): void {

key,
id
id: storeData.length
};
id++;
}

@@ -25,10 +18,7 @@

},
get(element, key: string): AbstractComponent {
if (!element || typeof element.key === 'undefined') {
return null;
}
get(element, key: any): AbstractComponent {
if (element.key && !key.id) key = element.key;
const keyProperties = element.key;
if (keyProperties.key === key) {
return storeData[keyProperties.id];
if (key && key.id) {
return storeData[key.id];
}

@@ -56,4 +46,4 @@

},
getData(instance, key: string): AbstractComponent {
return mapData.get(instance, key);
getData(element, key: any): AbstractComponent {
return mapData.get(element, key);
},

@@ -66,1 +56,7 @@ removeData(instance, key: string): void {

export default Data;
declare global {
interface Window {
NJStore: any;
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet