/* @license MIT https://raw.githubusercontent.com/jquery/jquery/3.7.1/LICENSE.txt */
/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */
!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(ie,e){"use strict";var oe=[],r=Object.getPrototypeOf,ae=oe.slice,g=oe.flat?function(e){return oe.flat.call(e)}:function(e){return oe.concat.apply([],e)},s=oe.push,se=oe.indexOf,n={},i=n.toString,ue=n.hasOwnProperty,o=ue.toString,a=o.call(Object),le={},v=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},y=function(e){return null!=e&&e===e.window},C=ie.document,u={type:!0,src:!0,nonce:!0,noModule:!0};function m(e,t,n){var r,i,o=(n=n||C).createElement("script");if(o.text=e,t)for(r in u)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[i.call(e)]||"object":typeof e}var t="3.7.1",l=/HTML$/i,ce=function(e,t){return new ce.fn.init(e,t)};function c(e){var t=!!e&&"length"in e&&e.length,n=x(e);return!v(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}function fe(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}ce.fn=ce.prototype={jquery:t,constructor:ce,length:0,toArray:function(){return ae.call(this)},get:function(e){return null==e?ae.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=ce.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return ce.each(this,e)},map:function(n){return this.pushStack(ce.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(ae.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(ce.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(ce.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:s,sort:oe.sort,splice:oe.splice},ce.extend=ce.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||v(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(l&&r&&(ce.isPlainObject(r)||(i=Array.isArray(r)))?(n=a[t],o=i&&!Array.isArray(n)?[]:i||ce.isPlainObject(n)?n:{},i=!1,a[t]=ce.extend(l,o,r)):void 0!==r&&(a[t]=r));return a},ce.extend({expando:"jQuery"+(t+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==i.call(e))&&(!(t=r(e))||"function"==typeof(n=ue.call(t,"constructor")&&t.constructor)&&o.call(n)===a)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){m(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(c(e)){for(n=e.length;r<n;r++)if(!1===t.call(e[r],r,e[r]))break}else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},text:function(e){var t,n="",r=0,i=e.nodeType;if(!i)while(t=e[r++])n+=ce.text(t);return 1===i||11===i?e.textContent:9===i?e.documentElement.textContent:3===i||4===i?e.nodeValue:n},makeArray:function(e,t){var n=t||[];return null!=e&&(c(Object(e))?ce.merge(n,"string"==typeof e?[e]:e):s.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:se.call(t,e,n)},isXMLDoc:function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!l.test(t||n&&n.nodeName||"HTML")},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i<o;i++)!t(e[i],i)!==a&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,a=[];if(c(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&a.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&a.push(i);return g(a)},guid:1,support:le}),"function"==typeof Symbol&&(ce.fn[Symbol.iterator]=oe[Symbol.iterator]),ce.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){n["[object "+t+"]"]=t.toLowerCase()});var pe=oe.pop,de=oe.sort,he=oe.splice,ge="[\\x20\\t\\r\\n\\f]",ve=new RegExp("^"+ge+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ge+"+$","g");ce.contains=function(e,t){var n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(e.contains?e.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))};var f=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function p(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}ce.escapeSelector=function(e){return(e+"").replace(f,p)};var ye=C,me=s;!function(){var e,b,w,o,a,T,r,C,d,i,k=me,S=ce.expando,E=0,n=0,s=W(),c=W(),u=W(),h=W(),l=function(e,t){return e===t&&(a=!0),0},f="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",t="(?:\\\\[\\da-fA-F]{1,6}"+ge+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",p="\\["+ge+"*("+t+")(?:"+ge+"*([*^$|!~]?=)"+ge+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+t+"))|)"+ge+"*\\]",g=":("+t+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+p+")*)|.*)\\)|)",v=new RegExp(ge+"+","g"),y=new RegExp("^"+ge+"*,"+ge+"*"),m=new RegExp("^"+ge+"*([>+~]|"+ge+")"+ge+"*"),x=new RegExp(ge+"|>"),j=new RegExp(g),A=new RegExp("^"+t+"$"),D={ID:new RegExp("^#("+t+")"),CLASS:new RegExp("^\\.("+t+")"),TAG:new RegExp("^("+t+"|[*])"),ATTR:new RegExp("^"+p),PSEUDO:new RegExp("^"+g),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ge+"*(even|odd|(([+-]|)(\\d*)n|)"+ge+"*(?:([+-]|)"+ge+"*(\\d+)|))"+ge+"*\\)|)","i"),bool:new RegExp("^(?:"+f+")$","i"),needsContext:new RegExp("^"+ge+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ge+"*((?:-\\d)?\\d*)"+ge+"*\\)|)(?=[^-]|$)","i")},N=/^(?:input|select|textarea|button)$/i,q=/^h\d$/i,L=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,H=/[+~]/,O=new RegExp("\\\\[\\da-fA-F]{1,6}"+ge+"?|\\\\([^\\r\\n\\f])","g"),P=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},M=function(){V()},R=J(function(e){return!0===e.disabled&&fe(e,"fieldset")},{dir:"parentNode",next:"legend"});try{k.apply(oe=ae.call(ye.childNodes),ye.childNodes),oe[ye.childNodes.length].nodeType}catch(e){k={apply:function(e,t){me.apply(e,ae.call(t))},call:function(e){me.apply(e,ae.call(arguments,1))}}}function I(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(V(e),e=e||T,C)){if(11!==p&&(u=L.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return k.call(n,a),n}else if(f&&(a=f.getElementById(i))&&I.contains(e,a)&&a.id===i)return k.call(n,a),n}else{if(u[2])return k.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&e.getElementsByClassName)return k.apply(n,e.getElementsByClassName(i)),n}if(!(h[t+" "]||d&&d.test(t))){if(c=t,f=e,1===p&&(x.test(t)||m.test(t))){(f=H.test(t)&&U(e.parentNode)||e)==e&&le.scope||((s=e.getAttribute("id"))?s=ce.escapeSelector(s):e.setAttribute("id",s=S)),o=(l=Y(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+Q(l[o]);c=l.join(",")}try{return k.apply(n,f.querySelectorAll(c)),n}catch(e){h(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return re(t.replace(ve,"$1"),e,n,r)}function W(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function F(e){return e[S]=!0,e}function $(e){var t=T.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function B(t){return function(e){return fe(e,"input")&&e.type===t}}function _(t){return function(e){return(fe(e,"input")||fe(e,"button"))&&e.type===t}}function z(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&R(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function X(a){return F(function(o){return o=+o,F(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function U(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function V(e){var t,n=e?e.ownerDocument||e:ye;return n!=T&&9===n.nodeType&&n.documentElement&&(r=(T=n).documentElement,C=!ce.isXMLDoc(T),i=r.matches||r.webkitMatchesSelector||r.msMatchesSelector,r.msMatchesSelector&&ye!=T&&(t=T.defaultView)&&t.top!==t&&t.addEventListener("unload",M),le.getById=$(function(e){return r.appendChild(e).id=ce.expando,!T.getElementsByName||!T.getElementsByName(ce.expando).length}),le.disconnectedMatch=$(function(e){return i.call(e,"*")}),le.scope=$(function(){return T.querySelectorAll(":scope")}),le.cssHas=$(function(){try{return T.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}}),le.getById?(b.filter.ID=function(e){var t=e.replace(O,P);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(O,P);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},b.find.CLASS=function(e,t){if("undefined"!=typeof t.getElementsByClassName&&C)return t.getElementsByClassName(e)},d=[],$(function(e){var t;r.appendChild(e).innerHTML="<a id='"+S+"' href='' disabled='disabled'></a><select id='"+S+"-\r\\' disabled='disabled'><option selected=''></option></select>",e.querySelectorAll("[selected]").length||d.push("\\["+ge+"*(?:value|"+f+")"),e.querySelectorAll("[id~="+S+"-]").length||d.push("~="),e.querySelectorAll("a#"+S+"+*").length||d.push(".#.+[+~]"),e.querySelectorAll(":checked").length||d.push(":checked"),(t=T.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),r.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&d.push(":enabled",":disabled"),(t=T.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||d.push("\\["+ge+"*name"+ge+"*="+ge+"*(?:''|\"\")")}),le.cssHas||d.push(":has"),d=d.length&&new RegExp(d.join("|")),l=function(e,t){if(e===t)return a=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!le.sortDetached&&t.compareDocumentPosition(e)===n?e===T||e.ownerDocument==ye&&I.contains(ye,e)?-1:t===T||t.ownerDocument==ye&&I.contains(ye,t)?1:o?se.call(o,e)-se.call(o,t):0:4&n?-1:1)}),T}for(e in I.matches=function(e,t){return I(e,null,null,t)},I.matchesSelector=function(e,t){if(V(e),C&&!h[t+" "]&&(!d||!d.test(t)))try{var n=i.call(e,t);if(n||le.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){h(t,!0)}return 0<I(t,T,null,[e]).length},I.contains=function(e,t){return(e.ownerDocument||e)!=T&&V(e),ce.contains(e,t)},I.attr=function(e,t){(e.ownerDocument||e)!=T&&V(e);var n=b.attrHandle[t.toLowerCase()],r=n&&ue.call(b.attrHandle,t.toLowerCase())?n(e,t,!C):void 0;return void 0!==r?r:e.getAttribute(t)},I.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ce.uniqueSort=function(e){var t,n=[],r=0,i=0;if(a=!le.sortStable,o=!le.sortStable&&ae.call(e,0),de.call(e,l),a){while(t=e[i++])t===e[i]&&(r=n.push(i));while(r--)he.call(e,n[r],1)}return o=null,e},ce.fn.uniqueSort=function(){return this.pushStack(ce.uniqueSort(ae.apply(this)))},(b=ce.expr={cacheLength:50,createPseudo:F,match:D,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(O,P),e[3]=(e[3]||e[4]||e[5]||"").replace(O,P),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||I.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&I.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return D.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&j.test(n)&&(t=Y(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(O,P).toLowerCase();return"*"===e?function(){return!0}:function(e){return fe(e,t)}},CLASS:function(e){var t=s[e+" "];return t||(t=new RegExp("(^|"+ge+")"+e+"("+ge+"|$)"))&&s(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=I.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1<t.indexOf(i):"$="===r?i&&t.slice(-i.length)===i:"~="===r?-1<(" "+t.replace(v," ")+" ").indexOf(i):"|="===r&&(t===i||t.slice(0,i.length+1)===i+"-"))}},CHILD:function(d,e,t,h,g){var v="nth"!==d.slice(0,3),y="last"!==d.slice(-4),m="of-type"===e;return 1===h&&0===g?function(e){return!!e.parentNode}:function(e,t,n){var r,i,o,a,s,u=v!==y?"nextSibling":"previousSibling",l=e.parentNode,c=m&&e.nodeName.toLowerCase(),f=!n&&!m,p=!1;if(l){if(v){while(u){o=e;while(o=o[u])if(m?fe(o,c):1===o.nodeType)return!1;s=u="only"===d&&!s&&"nextSibling"}return!0}if(s=[y?l.firstChild:l.lastChild],y&&f){p=(a=(r=(i=l[S]||(l[S]={}))[d]||[])[0]===E&&r[1])&&r[2],o=a&&l.childNodes[a];while(o=++a&&o&&o[u]||(p=a=0)||s.pop())if(1===o.nodeType&&++p&&o===e){i[d]=[E,a,p];break}}else if(f&&(p=a=(r=(i=e[S]||(e[S]={}))[d]||[])[0]===E&&r[1]),!1===p)while(o=++a&&o&&o[u]||(p=a=0)||s.pop())if((m?fe(o,c):1===o.nodeType)&&++p&&(f&&((i=o[S]||(o[S]={}))[d]=[E,p]),o===e))break;return(p-=g)===h||p%h==0&&0<=p/h}}},PSEUDO:function(e,o){var t,a=b.pseudos[e]||b.setFilters[e.toLowerCase()]||I.error("unsupported pseudo: "+e);return a[S]?a(o):1<a.length?(t=[e,e,"",o],b.setFilters.hasOwnProperty(e.toLowerCase())?F(function(e,t){var n,r=a(e,o),i=r.length;while(i--)e[n=se.call(e,r[i])]=!(t[n]=r[i])}):function(e){return a(e,0,t)}):a}},pseudos:{not:F(function(e){var r=[],i=[],s=ne(e.replace(ve,"$1"));return s[S]?F(function(e,t,n,r){var i,o=s(e,null,r,[]),a=e.length;while(a--)(i=o[a])&&(e[a]=!(t[a]=i))}):function(e,t,n){return r[0]=e,s(r,null,n,i),r[0]=null,!i.pop()}}),has:F(function(t){return function(e){return 0<I(t,e).length}}),contains:F(function(t){return t=t.replace(O,P),function(e){return-1<(e.textContent||ce.text(e)).indexOf(t)}}),lang:F(function(n){return A.test(n||"")||I.error("unsupported lang: "+n),n=n.replace(O,P).toLowerCase(),function(e){var t;do{if(t=C?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===n||0===t.indexOf(n+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=ie.location&&ie.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===r},focus:function(e){return e===function(){try{return T.activeElement}catch(e){}}()&&T.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:z(!1),disabled:z(!0),checked:function(e){return fe(e,"input")&&!!e.checked||fe(e,"option")&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!b.pseudos.empty(e)},header:function(e){return q.test(e.nodeName)},input:function(e){return N.test(e.nodeName)},button:function(e){return fe(e,"input")&&"button"===e.type||fe(e,"button")},text:function(e){var t;return fe(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:X(function(){return[0]}),last:X(function(e,t){return[t-1]}),eq:X(function(e,t,n){return[n<0?n+t:n]}),even:X(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:X(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:X(function(e,t,n){var r;for(r=n<0?n+t:t<n?t:n;0<=--r;)e.push(r);return e}),gt:X(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=b.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})b.pseudos[e]=B(e);for(e in{submit:!0,reset:!0})b.pseudos[e]=_(e);function G(){}function Y(e,t){var n,r,i,o,a,s,u,l=c[e+" "];if(l)return t?0:l.slice(0);a=e,s=[],u=b.preFilter;while(a){for(o in n&&!(r=y.exec(a))||(r&&(a=a.slice(r[0].length)||a),s.push(i=[])),n=!1,(r=m.exec(a))&&(n=r.shift(),i.push({value:n,type:r[0].replace(ve," ")}),a=a.slice(n.length)),b.filter)!(r=D[o].exec(a))||u[o]&&!(r=u[o](r))||(n=r.shift(),i.push({value:n,type:o,matches:r}),a=a.slice(n.length));if(!n)break}return t?a.length:a?I.error(e):c(e,s).slice(0)}function Q(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function J(a,e,t){var s=e.dir,u=e.next,l=u||s,c=t&&"parentNode"===l,f=n++;return e.first?function(e,t,n){while(e=e[s])if(1===e.nodeType||c)return a(e,t,n);return!1}:function(e,t,n){var r,i,o=[E,f];if(n){while(e=e[s])if((1===e.nodeType||c)&&a(e,t,n))return!0}else while(e=e[s])if(1===e.nodeType||c)if(i=e[S]||(e[S]={}),u&&fe(e,u))e=e[s]||e;else{if((r=i[l])&&r[0]===E&&r[1]===f)return o[2]=r[2];if((i[l]=o)[2]=a(e,t,n))return!0}return!1}}function K(i){return 1<i.length?function(e,t,n){var r=i.length;while(r--)if(!i[r](e,t,n))return!1;return!0}:i[0]}function Z(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,l=null!=t;s<u;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),l&&t.push(s)));return a}function ee(d,h,g,v,y,e){return v&&!v[S]&&(v=ee(v)),y&&!y[S]&&(y=ee(y,e)),F(function(e,t,n,r){var i,o,a,s,u=[],l=[],c=t.length,f=e||function(e,t,n){for(var r=0,i=t.length;r<i;r++)I(e,t[r],n);return n}(h||"*",n.nodeType?[n]:n,[]),p=!d||!e&&h?f:Z(f,u,d,n,r);if(g?g(p,s=y||(e?d:c||v)?[]:t,n,r):s=p,v){i=Z(s,l),v(i,[],n,r),o=i.length;while(o--)(a=i[o])&&(s[l[o]]=!(p[l[o]]=a))}if(e){if(y||d){if(y){i=[],o=s.length;while(o--)(a=s[o])&&i.push(p[o]=a);y(null,s=[],i,r)}o=s.length;while(o--)(a=s[o])&&-1<(i=y?se.call(e,a):u[o])&&(e[i]=!(t[i]=a))}}else s=Z(s===t?s.splice(c,s.length):s),y?y(null,t,s,r):k.apply(t,s)})}function te(e){for(var i,t,n,r=e.length,o=b.relative[e[0].type],a=o||b.relative[" "],s=o?1:0,u=J(function(e){return e===i},a,!0),l=J(function(e){return-1<se.call(i,e)},a,!0),c=[function(e,t,n){var r=!o&&(n||t!=w)||((i=t).nodeType?u(e,t,n):l(e,t,n));return i=null,r}];s<r;s++)if(t=b.relative[e[s].type])c=[J(K(c),t)];else{if((t=b.filter[e[s].type].apply(null,e[s].matches))[S]){for(n=++s;n<r;n++)if(b.relative[e[n].type])break;return ee(1<s&&K(c),1<s&&Q(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(ve,"$1"),t,s<n&&te(e.slice(s,n)),n<r&&te(e=e.slice(n)),n<r&&Q(e))}c.push(t)}return K(c)}function ne(e,t){var n,v,y,m,x,r,i=[],o=[],a=u[e+" "];if(!a){t||(t=Y(e)),n=t.length;while(n--)(a=te(t[n]))[S]?i.push(a):o.push(a);(a=u(e,(v=o,m=0<(y=i).length,x=0<v.length,r=function(e,t,n,r,i){var o,a,s,u=0,l="0",c=e&&[],f=[],p=w,d=e||x&&b.find.TAG("*",i),h=E+=null==p?1:Math.random()||.1,g=d.length;for(i&&(w=t==T||t||i);l!==g&&null!=(o=d[l]);l++){if(x&&o){a=0,t||o.ownerDocument==T||(V(o),n=!C);while(s=v[a++])if(s(o,t||T,n)){k.call(r,o);break}i&&(E=h)}m&&((o=!s&&o)&&u--,e&&c.push(o))}if(u+=l,m&&l!==u){a=0;while(s=y[a++])s(c,f,t,n);if(e){if(0<u)while(l--)c[l]||f[l]||(f[l]=pe.call(r));f=Z(f)}k.apply(r,f),i&&!e&&0<f.length&&1<u+y.length&&ce.uniqueSort(r)}return i&&(E=h,w=p),c},m?F(r):r))).selector=e}return a}function re(e,t,n,r){var i,o,a,s,u,l="function"==typeof e&&e,c=!r&&Y(e=l.selector||e);if(n=n||[],1===c.length){if(2<(o=c[0]=c[0].slice(0)).length&&"ID"===(a=o[0]).type&&9===t.nodeType&&C&&b.relative[o[1].type]){if(!(t=(b.find.ID(a.matches[0].replace(O,P),t)||[])[0]))return n;l&&(t=t.parentNode),e=e.slice(o.shift().value.length)}i=D.needsContext.test(e)?0:o.length;while(i--){if(a=o[i],b.relative[s=a.type])break;if((u=b.find[s])&&(r=u(a.matches[0].replace(O,P),H.test(o[0].type)&&U(t.parentNode)||t))){if(o.splice(i,1),!(e=r.length&&Q(o)))return k.apply(n,r),n;break}}}return(l||ne(e,c))(r,t,!C,n,!t||H.test(e)&&U(t.parentNode)||t),n}G.prototype=b.filters=b.pseudos,b.setFilters=new G,le.sortStable=S.split("").sort(l).join("")===S,V(),le.sortDetached=$(function(e){return 1&e.compareDocumentPosition(T.createElement("fieldset"))}),ce.find=I,ce.expr[":"]=ce.expr.pseudos,ce.unique=ce.uniqueSort,I.compile=ne,I.select=re,I.setDocument=V,I.tokenize=Y,I.escape=ce.escapeSelector,I.getText=ce.text,I.isXML=ce.isXMLDoc,I.selectors=ce.expr,I.support=ce.support,I.uniqueSort=ce.uniqueSort}();var d=function(e,t,n){var r=[],i=void 0!==n;while((e=e[t])&&9!==e.nodeType)if(1===e.nodeType){if(i&&ce(e).is(n))break;r.push(e)}return r},h=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},b=ce.expr.match.needsContext,w=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function T(e,n,r){return v(n)?ce.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?ce.grep(e,function(e){return e===n!==r}):"string"!=typeof n?ce.grep(e,function(e){return-1<se.call(n,e)!==r}):ce.filter(n,e,r)}ce.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?ce.find.matchesSelector(r,e)?[r]:[]:ce.find.matches(e,ce.grep(t,function(e){return 1===e.nodeType}))},ce.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(ce(e).filter(function(){for(t=0;t<r;t++)if(ce.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)ce.find(e,i[t],n);return 1<r?ce.uniqueSort(n):n},filter:function(e){return this.pushStack(T(this,e||[],!1))},not:function(e){return this.pushStack(T(this,e||[],!0))},is:function(e){return!!T(this,"string"==typeof e&&b.test(e)?ce(e):e||[],!1).length}});var k,S=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(ce.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||k,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:S.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof ce?t[0]:t,ce.merge(this,ce.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:C,!0)),w.test(r[1])&&ce.isPlainObject(t))for(r in t)v(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=C.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(ce):ce.makeArray(e,this)}).prototype=ce.fn,k=ce(C);var E=/^(?:parents|prev(?:Until|All))/,j={children:!0,contents:!0,next:!0,prev:!0};function A(e,t){while((e=e[t])&&1!==e.nodeType);return e}ce.fn.extend({has:function(e){var t=ce(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(ce.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&ce(e);if(!b.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?-1<a.index(n):1===n.nodeType&&ce.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(1<o.length?ce.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?se.call(ce(e),this[0]):se.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(ce.uniqueSort(ce.merge(this.get(),ce(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),ce.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return d(e,"parentNode")},parentsUntil:function(e,t,n){return d(e,"parentNode",n)},next:function(e){return A(e,"nextSibling")},prev:function(e){return A(e,"previousSibling")},nextAll:function(e){return d(e,"nextSibling")},prevAll:function(e){return d(e,"previousSibling")},nextUntil:function(e,t,n){return d(e,"nextSibling",n)},prevUntil:function(e,t,n){return d(e,"previousSibling",n)},siblings:function(e){return h((e.parentNode||{}).firstChild,e)},children:function(e){return h(e.firstChild)},contents:function(e){return null!=e.contentDocument&&r(e.contentDocument)?e.contentDocument:(fe(e,"template")&&(e=e.content||e),ce.merge([],e.childNodes))}},function(r,i){ce.fn[r]=function(e,t){var n=ce.map(this,i,e);return"Until"!==r.slice(-5)&&(t=e),t&&"string"==typeof t&&(n=ce.filter(t,n)),1<this.length&&(j[r]||ce.uniqueSort(n),E.test(r)&&n.reverse()),this.pushStack(n)}});var D=/[^\x20\t\r\n\f]+/g;function N(e){return e}function q(e){throw e}function L(e,t,n,r){var i;try{e&&v(i=e.promise)?i.call(e).done(t).fail(n):e&&v(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}ce.Callbacks=function(r){var e,n;r="string"==typeof r?(e=r,n={},ce.each(e.match(D)||[],function(e,t){n[t]=!0}),n):ce.extend({},r);var i,t,o,a,s=[],u=[],l=-1,c=function(){for(a=a||r.once,o=i=!0;u.length;l=-1){t=u.shift();while(++l<s.length)!1===s[l].apply(t[0],t[1])&&r.stopOnFalse&&(l=s.length,t=!1)}r.memory||(t=!1),i=!1,a&&(s=t?[]:"")},f={add:function(){return s&&(t&&!i&&(l=s.length-1,u.push(t)),function n(e){ce.each(e,function(e,t){v(t)?r.unique&&f.has(t)||s.push(t):t&&t.length&&"string"!==x(t)&&n(t)})}(arguments),t&&!i&&c()),this},remove:function(){return ce.each(arguments,function(e,t){var n;while(-1<(n=ce.inArray(t,s,n)))s.splice(n,1),n<=l&&l--}),this},has:function(e){return e?-1<ce.inArray(e,s):0<s.length},empty:function(){return s&&(s=[]),this},disable:function(){return a=u=[],s=t="",this},disabled:function(){return!s},lock:function(){return a=u=[],t||i||(s=t=""),this},locked:function(){return!!a},fireWith:function(e,t){return a||(t=[e,(t=t||[]).slice?t.slice():t],u.push(t),i||c()),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return!!o}};return f},ce.extend({Deferred:function(e){var o=[["notify","progress",ce.Callbacks("memory"),ce.Callbacks("memory"),2],["resolve","done",ce.Callbacks("once memory"),ce.Callbacks("once memory"),0,"resolved"],["reject","fail",ce.Callbacks("once memory"),ce.Callbacks("once memory"),1,"rejected"]],i="pending",a={state:function(){return i},always:function(){return s.done(arguments).fail(arguments),this},"catch":function(e){return a.then(null,e)},pipe:function(){var i=arguments;return ce.Deferred(function(r){ce.each(o,function(e,t){var n=v(i[t[4]])&&i[t[4]];s[t[1]](function(){var e=n&&n.apply(this,arguments);e&&v(e.promise)?e.promise().progress(r.notify).done(r.resolve).fail(r.reject):r[t[0]+"With"](this,n?[e]:arguments)})}),i=null}).promise()},then:function(t,n,r){var u=0;function l(i,o,a,s){return function(){var n=this,r=arguments,e=function(){var e,t;if(!(i<u)){if((e=a.apply(n,r))===o.promise())throw new TypeError("Thenable self-resolution");t=e&&("object"==typeof e||"function"==typeof e)&&e.then,v(t)?s?t.call(e,l(u,o,N,s),l(u,o,q,s)):(u++,t.call(e,l(u,o,N,s),l(u,o,q,s),l(u,o,N,o.notifyWith))):(a!==N&&(n=void 0,r=[e]),(s||o.resolveWith)(n,r))}},t=s?e:function(){try{e()}catch(e){ce.Deferred.exceptionHook&&ce.Deferred.exceptionHook(e,t.error),u<=i+1&&(a!==q&&(n=void 0,r=[e]),o.rejectWith(n,r))}};i?t():(ce.Deferred.getErrorHook?t.error=ce.Deferred.getErrorHook():ce.Deferred.getStackHook&&(t.error=ce.Deferred.getStackHook()),ie.setTimeout(t))}}return ce.Deferred(function(e){o[0][3].add(l(0,e,v(r)?r:N,e.notifyWith)),o[1][3].add(l(0,e,v(t)?t:N)),o[2][3].add(l(0,e,v(n)?n:q))}).promise()},promise:function(e){return null!=e?ce.extend(e,a):a}},s={};return ce.each(o,function(e,t){var n=t[2],r=t[5];a[t[1]]=n.add,r&&n.add(function(){i=r},o[3-e][2].disable,o[3-e][3].disable,o[0][2].lock,o[0][3].lock),n.add(t[3].fire),s[t[0]]=function(){return s[t[0]+"With"](this===s?void 0:this,arguments),this},s[t[0]+"With"]=n.fireWith}),a.promise(s),e&&e.call(s,s),s},when:function(e){var n=arguments.length,t=n,r=Array(t),i=ae.call(arguments),o=ce.Deferred(),a=function(t){return function(e){r[t]=this,i[t]=1<arguments.length?ae.call(arguments):e,--n||o.resolveWith(r,i)}};if(n<=1&&(L(e,o.done(a(t)).resolve,o.reject,!n),"pending"===o.state()||v(i[t]&&i[t].then)))return o.then();while(t--)L(i[t],a(t),o.reject);return o.promise()}});var H=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;ce.Deferred.exceptionHook=function(e,t){ie.console&&ie.console.warn&&e&&H.test(e.name)&&ie.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},ce.readyException=function(e){ie.setTimeout(function(){throw e})};var O=ce.Deferred();function P(){C.removeEventListener("DOMContentLoaded",P),ie.removeEventListener("load",P),ce.ready()}ce.fn.ready=function(e){return O.then(e)["catch"](function(e){ce.readyException(e)}),this},ce.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--ce.readyWait:ce.isReady)||(ce.isReady=!0)!==e&&0<--ce.readyWait||O.resolveWith(C,[ce])}}),ce.ready.then=O.then,"complete"===C.readyState||"loading"!==C.readyState&&!C.documentElement.doScroll?ie.setTimeout(ce.ready):(C.addEventListener("DOMContentLoaded",P),ie.addEventListener("load",P));var M=function(e,t,n,r,i,o,a){var s=0,u=e.length,l=null==n;if("object"===x(n))for(s in i=!0,n)M(e,t,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,v(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(ce(e),n)})),t))for(;s<u;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:l?t.call(e):u?t(e[0],n):o},R=/^-ms-/,I=/-([a-z])/g;function W(e,t){return t.toUpperCase()}function F(e){return e.replace(R,"ms-").replace(I,W)}var $=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function B(){this.expando=ce.expando+B.uid++}B.uid=1,B.prototype={cache:function(e){var t=e[this.expando];return t||(t={},$(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[F(t)]=n;else for(r in t)i[F(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][F(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(F):(t=F(t))in r?[t]:t.match(D)||[]).length;while(n--)delete r[t[n]]}(void 0===t||ce.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!ce.isEmptyObject(t)}};var _=new B,z=new B,X=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,U=/[A-Z]/g;function V(e,t,n){var r,i;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(U,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n="true"===(i=n)||"false"!==i&&("null"===i?null:i===+i+""?+i:X.test(i)?JSON.parse(i):i)}catch(e){}z.set(e,t,n)}else n=void 0;return n}ce.extend({hasData:function(e){return z.hasData(e)||_.hasData(e)},data:function(e,t,n){return z.access(e,t,n)},removeData:function(e,t){z.remove(e,t)},_data:function(e,t,n){return _.access(e,t,n)},_removeData:function(e,t){_.remove(e,t)}}),ce.fn.extend({data:function(n,e){var t,r,i,o=this[0],a=o&&o.attributes;if(void 0===n){if(this.length&&(i=z.get(o),1===o.nodeType&&!_.get(o,"hasDataAttrs"))){t=a.length;while(t--)a[t]&&0===(r=a[t].name).indexOf("data-")&&(r=F(r.slice(5)),V(o,r,i[r]));_.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof n?this.each(function(){z.set(this,n)}):M(this,function(e){var t;if(o&&void 0===e)return void 0!==(t=z.get(o,n))?t:void 0!==(t=V(o,n))?t:void 0;this.each(function(){z.set(this,n,e)})},null,e,1<arguments.length,null,!0)},removeData:function(e){return this.each(function(){z.remove(this,e)})}}),ce.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=_.get(e,t),n&&(!r||Array.isArray(n)?r=_.access(e,t,ce.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=ce.queue(e,t),r=n.length,i=n.shift(),o=ce._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,function(){ce.dequeue(e,t)},o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return _.get(e,n)||_.access(e,n,{empty:ce.Callbacks("once memory").add(function(){_.remove(e,[t+"queue",n])})})}}),ce.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?ce.queue(this[0],t):void 0===n?this:this.each(function(){var e=ce.queue(this,t,n);ce._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&ce.dequeue(this,t)})},dequeue:function(e){return this.each(function(){ce.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=ce.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};"string"!=typeof e&&(t=e,e=void 0),e=e||"fx";while(a--)(n=_.get(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var G=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Y=new RegExp("^(?:([+-])=|)("+G+")([a-z%]*)$","i"),Q=["Top","Right","Bottom","Left"],J=C.documentElement,K=function(e){return ce.contains(e.ownerDocument,e)},Z={composed:!0};J.getRootNode&&(K=function(e){return ce.contains(e.ownerDocument,e)||e.getRootNode(Z)===e.ownerDocument});var ee=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&K(e)&&"none"===ce.css(e,"display")};function te(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return ce.css(e,t,"")},u=s(),l=n&&n[3]||(ce.cssNumber[t]?"":"px"),c=e.nodeType&&(ce.cssNumber[t]||"px"!==l&&+u)&&Y.exec(ce.css(e,t));if(c&&c[3]!==l){u/=2,l=l||c[3],c=+u||1;while(a--)ce.style(e,t,c+l),(1-o)*(1-(o=s()/u||.5))<=0&&(a=0),c/=o;c*=2,ce.style(e,t,c+l),n=n||[]}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}var ne={};function re(e,t){for(var n,r,i,o,a,s,u,l=[],c=0,f=e.length;c<f;c++)(r=e[c]).style&&(n=r.style.display,t?("none"===n&&(l[c]=_.get(r,"display")||null,l[c]||(r.style.display="")),""===r.style.display&&ee(r)&&(l[c]=(u=a=o=void 0,a=(i=r).ownerDocument,s=i.nodeName,(u=ne[s])||(o=a.body.appendChild(a.createElement(s)),u=ce.css(o,"display"),o.parentNode.removeChild(o),"none"===u&&(u="block"),ne[s]=u)))):"none"!==n&&(l[c]="none",_.set(r,"display",n)));for(c=0;c<f;c++)null!=l[c]&&(e[c].style.display=l[c]);return e}ce.fn.extend({show:function(){return re(this,!0)},hide:function(){return re(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ee(this)?ce(this).show():ce(this).hide()})}});var xe,be,we=/^(?:checkbox|radio)$/i,Te=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Ce=/^$|^module$|\/(?:java|ecma)script/i;xe=C.createDocumentFragment().appendChild(C.createElement("div")),(be=C.createElement("input")).setAttribute("type","radio"),be.setAttribute("checked","checked"),be.setAttribute("name","t"),xe.appendChild(be),le.checkClone=xe.cloneNode(!0).cloneNode(!0).lastChild.checked,xe.innerHTML="<textarea>x</textarea>",le.noCloneChecked=!!xe.cloneNode(!0).lastChild.defaultValue,xe.innerHTML="<option></option>",le.option=!!xe.lastChild;var ke={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function Se(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&fe(e,t)?ce.merge([e],n):n}function Ee(e,t){for(var n=0,r=e.length;n<r;n++)_.set(e[n],"globalEval",!t||_.get(t[n],"globalEval"))}ke.tbody=ke.tfoot=ke.colgroup=ke.caption=ke.thead,ke.th=ke.td,le.option||(ke.optgroup=ke.option=[1,"<select multiple='multiple'>","</select>"]);var je=/<|&#?\w+;/;function Ae(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d<h;d++)if((o=e[d])||0===o)if("object"===x(o))ce.merge(p,o.nodeType?[o]:o);else if(je.test(o)){a=a||f.appendChild(t.createElement("div")),s=(Te.exec(o)||["",""])[1].toLowerCase(),u=ke[s]||ke._default,a.innerHTML=u[1]+ce.htmlPrefilter(o)+u[2],c=u[0];while(c--)a=a.lastChild;ce.merge(p,a.childNodes),(a=f.firstChild).textContent=""}else p.push(t.createTextNode(o));f.textContent="",d=0;while(o=p[d++])if(r&&-1<ce.inArray(o,r))i&&i.push(o);else if(l=K(o),a=Se(f.appendChild(o),"script"),l&&Ee(a),n){c=0;while(o=a[c++])Ce.test(o.type||"")&&n.push(o)}return f}var De=/^([^.]*)(?:\.(.+)|)/;function Ne(){return!0}function qe(){return!1}function Le(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Le(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=qe;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return ce().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=ce.guid++)),e.each(function(){ce.event.add(this,t,i,r,n)})}function He(e,r,t){t?(_.set(e,r,!1),ce.event.add(e,r,{namespace:!1,handler:function(e){var t,n=_.get(this,r);if(1&e.isTrigger&&this[r]){if(n)(ce.event.special[r]||{}).delegateType&&e.stopPropagation();else if(n=ae.call(arguments),_.set(this,r,n),this[r](),t=_.get(this,r),_.set(this,r,!1),n!==t)return e.stopImmediatePropagation(),e.preventDefault(),t}else n&&(_.set(this,r,ce.event.trigger(n[0],n.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=Ne)}})):void 0===_.get(e,r)&&ce.event.add(e,r,Ne)}ce.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=_.get(t);if($(t)){n.handler&&(n=(o=n).handler,i=o.selector),i&&ce.find.matchesSelector(J,i),n.guid||(n.guid=ce.guid++),(u=v.events)||(u=v.events=Object.create(null)),(a=v.handle)||(a=v.handle=function(e){return"undefined"!=typeof ce&&ce.event.triggered!==e.type?ce.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(D)||[""]).length;while(l--)d=g=(s=De.exec(e[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=ce.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=ce.event.special[d]||{},c=ce.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&ce.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),ce.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=_.hasData(e)&&_.get(e);if(v&&(u=v.events)){l=(t=(t||"").match(D)||[""]).length;while(l--)if(d=g=(s=De.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){f=ce.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||ce.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)ce.event.remove(e,d+t[l],n,r,!0);ce.isEmptyObject(u)&&_.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=new Array(arguments.length),u=ce.event.fix(e),l=(_.get(this,"events")||Object.create(null))[u.type]||[],c=ce.event.special[u.type]||{};for(s[0]=u,t=1;t<arguments.length;t++)s[t]=arguments[t];if(u.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,u)){a=ce.event.handlers.call(this,u,l),t=0;while((i=a[t++])&&!u.isPropagationStopped()){u.currentTarget=i.elem,n=0;while((o=i.handlers[n++])&&!u.isImmediatePropagationStopped())u.rnamespace&&!1!==o.namespace&&!u.rnamespace.test(o.namespace)||(u.handleObj=o,u.data=o.data,void 0!==(r=((ce.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s))&&!1===(u.result=r)&&(u.preventDefault(),u.stopPropagation()))}return c.postDispatch&&c.postDispatch.call(this,u),u.result}},handlers:function(e,t){var n,r,i,o,a,s=[],u=t.delegateCount,l=e.target;if(u&&l.nodeType&&!("click"===e.type&&1<=e.button))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=[],a={},n=0;n<u;n++)void 0===a[i=(r=t[n]).selector+" "]&&(a[i]=r.needsContext?-1<ce(i,this).index(l):ce.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&s.push({elem:l,handlers:o})}return l=this,u<t.length&&s.push({elem:l,handlers:t.slice(u)}),s},addProp:function(t,e){Object.defineProperty(ce.Event.prototype,t,{enumerable:!0,configurable:!0,get:v(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(e){return e[ce.expando]?e:new ce.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return we.test(t.type)&&t.click&&fe(t,"input")&&He(t,"click",!0),!1},trigger:function(e){var t=this||e;return we.test(t.type)&&t.click&&fe(t,"input")&&He(t,"click"),!0},_default:function(e){var t=e.target;return we.test(t.type)&&t.click&&fe(t,"input")&&_.get(t,"click")||fe(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},ce.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},ce.Event=function(e,t){if(!(this instanceof ce.Event))return new ce.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Ne:qe,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&ce.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[ce.expando]=!0},ce.Event.prototype={constructor:ce.Event,isDefaultPrevented:qe,isPropagationStopped:qe,isImmediatePropagationStopped:qe,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Ne,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Ne,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Ne,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},ce.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,"char":!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},ce.event.addProp),ce.each({focus:"focusin",blur:"focusout"},function(r,i){function o(e){if(C.documentMode){var t=_.get(this,"handle"),n=ce.event.fix(e);n.type="focusin"===e.type?"focus":"blur",n.isSimulated=!0,t(e),n.target===n.currentTarget&&t(n)}else ce.event.simulate(i,e.target,ce.event.fix(e))}ce.event.special[r]={setup:function(){var e;if(He(this,r,!0),!C.documentMode)return!1;(e=_.get(this,i))||this.addEventListener(i,o),_.set(this,i,(e||0)+1)},trigger:function(){return He(this,r),!0},teardown:function(){var e;if(!C.documentMode)return!1;(e=_.get(this,i)-1)?_.set(this,i,e):(this.removeEventListener(i,o),_.remove(this,i))},_default:function(e){return _.get(e.target,r)},delegateType:i},ce.event.special[i]={setup:function(){var e=this.ownerDocument||this.document||this,t=C.documentMode?this:e,n=_.get(t,i);n||(C.documentMode?this.addEventListener(i,o):e.addEventListener(r,o,!0)),_.set(t,i,(n||0)+1)},teardown:function(){var e=this.ownerDocument||this.document||this,t=C.documentMode?this:e,n=_.get(t,i)-1;n?_.set(t,i,n):(C.documentMode?this.removeEventListener(i,o):e.removeEventListener(r,o,!0),_.remove(t,i))}}}),ce.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,i){ce.event.special[e]={delegateType:i,bindType:i,handle:function(e){var t,n=e.relatedTarget,r=e.handleObj;return n&&(n===this||ce.contains(this,n))||(e.type=r.origType,t=r.handler.apply(this,arguments),e.type=i),t}}}),ce.fn.extend({on:function(e,t,n,r){return Le(this,e,t,n,r)},one:function(e,t,n,r){return Le(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,ce(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=qe),this.each(function(){ce.event.remove(this,e,n,t)})}});var Oe=/<script|<style|<link/i,Pe=/checked\s*(?:[^=]|=\s*.checked.)/i,Me=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Re(e,t){return fe(e,"table")&&fe(11!==t.nodeType?t:t.firstChild,"tr")&&ce(e).children("tbody")[0]||e}function Ie(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function We(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Fe(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(_.hasData(e)&&(s=_.get(e).events))for(i in _.remove(t,"handle events"),s)for(n=0,r=s[i].length;n<r;n++)ce.event.add(t,i,s[i][n]);z.hasData(e)&&(o=z.access(e),a=ce.extend({},o),z.set(t,a))}}function $e(n,r,i,o){r=g(r);var e,t,a,s,u,l,c=0,f=n.length,p=f-1,d=r[0],h=v(d);if(h||1<f&&"string"==typeof d&&!le.checkClone&&Pe.test(d))return n.each(function(e){var t=n.eq(e);h&&(r[0]=d.call(this,e,t.html())),$e(t,r,i,o)});if(f&&(t=(e=Ae(r,n[0].ownerDocument,!1,n,o)).firstChild,1===e.childNodes.length&&(e=t),t||o)){for(s=(a=ce.map(Se(e,"script"),Ie)).length;c<f;c++)u=e,c!==p&&(u=ce.clone(u,!0,!0),s&&ce.merge(a,Se(u,"script"))),i.call(n[c],u,c);if(s)for(l=a[a.length-1].ownerDocument,ce.map(a,We),c=0;c<s;c++)u=a[c],Ce.test(u.type||"")&&!_.access(u,"globalEval")&&ce.contains(l,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?ce._evalUrl&&!u.noModule&&ce._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")},l):m(u.textContent.replace(Me,""),u,l))}return n}function Be(e,t,n){for(var r,i=t?ce.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||ce.cleanData(Se(r)),r.parentNode&&(n&&K(r)&&Ee(Se(r,"script")),r.parentNode.removeChild(r));return e}ce.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,i,o,a,s,u,l,c=e.cloneNode(!0),f=K(e);if(!(le.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||ce.isXMLDoc(e)))for(a=Se(c),r=0,i=(o=Se(e)).length;r<i;r++)s=o[r],u=a[r],void 0,"input"===(l=u.nodeName.toLowerCase())&&we.test(s.type)?u.checked=s.checked:"input"!==l&&"textarea"!==l||(u.defaultValue=s.defaultValue);if(t)if(n)for(o=o||Se(e),a=a||Se(c),r=0,i=o.length;r<i;r++)Fe(o[r],a[r]);else Fe(e,c);return 0<(a=Se(c,"script")).length&&Ee(a,!f&&Se(e,"script")),c},cleanData:function(e){for(var t,n,r,i=ce.event.special,o=0;void 0!==(n=e[o]);o++)if($(n)){if(t=n[_.expando]){if(t.events)for(r in t.events)i[r]?ce.event.remove(n,r):ce.removeEvent(n,r,t.handle);n[_.expando]=void 0}n[z.expando]&&(n[z.expando]=void 0)}}}),ce.fn.extend({detach:function(e){return Be(this,e,!0)},remove:function(e){return Be(this,e)},text:function(e){return M(this,function(e){return void 0===e?ce.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return $e(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Re(this,e).appendChild(e)})},prepend:function(){return $e(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Re(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return $e(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return $e(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(ce.cleanData(Se(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return ce.clone(this,e,t)})},html:function(e){return M(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Oe.test(e)&&!ke[(Te.exec(e)||["",""])[1].toLowerCase()]){e=ce.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(ce.cleanData(Se(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var n=[];return $e(this,arguments,function(e){var t=this.parentNode;ce.inArray(this,n)<0&&(ce.cleanData(Se(this)),t&&t.replaceChild(e,this))},n)}}),ce.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,a){ce.fn[e]=function(e){for(var t,n=[],r=ce(e),i=r.length-1,o=0;o<=i;o++)t=o===i?this:this.clone(!0),ce(r[o])[a](t),s.apply(n,t.get());return this.pushStack(n)}});var _e=new RegExp("^("+G+")(?!px)[a-z%]+$","i"),ze=/^--/,Xe=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=ie),t.getComputedStyle(e)},Ue=function(e,t,n){var r,i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];for(i in r=n.call(e),t)e.style[i]=o[i];return r},Ve=new RegExp(Q.join("|"),"i");function Ge(e,t,n){var r,i,o,a,s=ze.test(t),u=e.style;return(n=n||Xe(e))&&(a=n.getPropertyValue(t)||n[t],s&&a&&(a=a.replace(ve,"$1")||void 0),""!==a||K(e)||(a=ce.style(e,t)),!le.pixelBoxStyles()&&_e.test(a)&&Ve.test(t)&&(r=u.width,i=u.minWidth,o=u.maxWidth,u.minWidth=u.maxWidth=u.width=a,a=n.width,u.width=r,u.minWidth=i,u.maxWidth=o)),void 0!==a?a+"":a}function Ye(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(l){u.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",l.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",J.appendChild(u).appendChild(l);var e=ie.getComputedStyle(l);n="1%"!==e.top,s=12===t(e.marginLeft),l.style.right="60%",o=36===t(e.right),r=36===t(e.width),l.style.position="absolute",i=12===t(l.offsetWidth/3),J.removeChild(u),l=null}}function t(e){return Math.round(parseFloat(e))}var n,r,i,o,a,s,u=C.createElement("div"),l=C.createElement("div");l.style&&(l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",le.clearCloneStyle="content-box"===l.style.backgroundClip,ce.extend(le,{boxSizingReliable:function(){return e(),r},pixelBoxStyles:function(){return e(),o},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),s},scrollboxSize:function(){return e(),i},reliableTrDimensions:function(){var e,t,n,r;return null==a&&(e=C.createElement("table"),t=C.createElement("tr"),n=C.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="box-sizing:content-box;border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",J.appendChild(e).appendChild(t).appendChild(n),r=ie.getComputedStyle(t),a=parseInt(r.height,10)+parseInt(r.borderTopWidth,10)+parseInt(r.borderBottomWidth,10)===t.offsetHeight,J.removeChild(e)),a}}))}();var Qe=["Webkit","Moz","ms"],Je=C.createElement("div").style,Ke={};function Ze(e){var t=ce.cssProps[e]||Ke[e];return t||(e in Je?e:Ke[e]=function(e){var t=e[0].toUpperCase()+e.slice(1),n=Qe.length;while(n--)if((e=Qe[n]+t)in Je)return e}(e)||e)}var et=/^(none|table(?!-c[ea]).+)/,tt={position:"absolute",visibility:"hidden",display:"block"},nt={letterSpacing:"0",fontWeight:"400"};function rt(e,t,n){var r=Y.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function it(e,t,n,r,i,o){var a="width"===t?1:0,s=0,u=0,l=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(l+=ce.css(e,n+Q[a],!0,i)),r?("content"===n&&(u-=ce.css(e,"padding"+Q[a],!0,i)),"margin"!==n&&(u-=ce.css(e,"border"+Q[a]+"Width",!0,i))):(u+=ce.css(e,"padding"+Q[a],!0,i),"padding"!==n?u+=ce.css(e,"border"+Q[a]+"Width",!0,i):s+=ce.css(e,"border"+Q[a]+"Width",!0,i));return!r&&0<=o&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))||0),u+l}function ot(e,t,n){var r=Xe(e),i=(!le.boxSizingReliable()||n)&&"border-box"===ce.css(e,"boxSizing",!1,r),o=i,a=Ge(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(_e.test(a)){if(!n)return a;a="auto"}return(!le.boxSizingReliable()&&i||!le.reliableTrDimensions()&&fe(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===ce.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===ce.css(e,"boxSizing",!1,r),(o=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+it(e,t,n||(i?"border":"content"),o,r,a)+"px"}function at(e,t,n,r,i){return new at.prototype.init(e,t,n,r,i)}ce.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ge(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=F(t),u=ze.test(t),l=e.style;if(u||(t=Ze(s)),a=ce.cssHooks[t]||ce.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:l[t];"string"===(o=typeof n)&&(i=Y.exec(n))&&i[1]&&(n=te(e,t,i),o="number"),null!=n&&n==n&&("number"!==o||u||(n+=i&&i[3]||(ce.cssNumber[s]?"":"px")),le.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var i,o,a,s=F(t);return ze.test(t)||(t=Ze(s)),(a=ce.cssHooks[t]||ce.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=Ge(e,t,r)),"normal"===i&&t in nt&&(i=nt[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),ce.each(["height","width"],function(e,u){ce.cssHooks[u]={get:function(e,t,n){if(t)return!et.test(ce.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?ot(e,u,n):Ue(e,tt,function(){return ot(e,u,n)})},set:function(e,t,n){var r,i=Xe(e),o=!le.scrollboxSize()&&"absolute"===i.position,a=(o||n)&&"border-box"===ce.css(e,"boxSizing",!1,i),s=n?it(e,u,n,a,i):0;return a&&o&&(s-=Math.ceil(e["offset"+u[0].toUpperCase()+u.slice(1)]-parseFloat(i[u])-it(e,u,"border",!1,i)-.5)),s&&(r=Y.exec(t))&&"px"!==(r[3]||"px")&&(e.style[u]=t,t=ce.css(e,u)),rt(0,t,s)}}}),ce.cssHooks.marginLeft=Ye(le.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Ge(e,"marginLeft"))||e.getBoundingClientRect().left-Ue(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),ce.each({margin:"",padding:"",border:"Width"},function(i,o){ce.cssHooks[i+o]={expand:function(e){for(var t=0,n={},r="string"==typeof e?e.split(" "):[e];t<4;t++)n[i+Q[t]+o]=r[t]||r[t-2]||r[0];return n}},"margin"!==i&&(ce.cssHooks[i+o].set=rt)}),ce.fn.extend({css:function(e,t){return M(this,function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=Xe(e),i=t.length;a<i;a++)o[t[a]]=ce.css(e,t[a],!1,r);return o}return void 0!==n?ce.style(e,t,n):ce.css(e,t)},e,t,1<arguments.length)}}),((ce.Tween=at).prototype={constructor:at,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||ce.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(ce.cssNumber[n]?"":"px")},cur:function(){var e=at.propHooks[this.prop];return e&&e.get?e.get(this):at.propHooks._default.get(this)},run:function(e){var t,n=at.propHooks[this.prop];return this.options.duration?this.pos=t=ce.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):at.propHooks._default.set(this),this}}).init.prototype=at.prototype,(at.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=ce.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){ce.fx.step[e.prop]?ce.fx.step[e.prop](e):1!==e.elem.nodeType||!ce.cssHooks[e.prop]&&null==e.elem.style[Ze(e.prop)]?e.elem[e.prop]=e.now:ce.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=at.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},ce.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},ce.fx=at.prototype.init,ce.fx.step={};var st,ut,lt,ct,ft=/^(?:toggle|show|hide)$/,pt=/queueHooks$/;function dt(){ut&&(!1===C.hidden&&ie.requestAnimationFrame?ie.requestAnimationFrame(dt):ie.setTimeout(dt,ce.fx.interval),ce.fx.tick())}function ht(){return ie.setTimeout(function(){st=void 0}),st=Date.now()}function gt(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=Q[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function vt(e,t,n){for(var r,i=(yt.tweeners[t]||[]).concat(yt.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function yt(o,e,t){var n,a,r=0,i=yt.prefilters.length,s=ce.Deferred().always(function(){delete u.elem}),u=function(){if(a)return!1;for(var e=st||ht(),t=Math.max(0,l.startTime+l.duration-e),n=1-(t/l.duration||0),r=0,i=l.tweens.length;r<i;r++)l.tweens[r].run(n);return s.notifyWith(o,[l,n,t]),n<1&&i?t:(i||s.notifyWith(o,[l,1,0]),s.resolveWith(o,[l]),!1)},l=s.promise({elem:o,props:ce.extend({},e),opts:ce.extend(!0,{specialEasing:{},easing:ce.easing._default},t),originalProperties:e,originalOptions:t,startTime:st||ht(),duration:t.duration,tweens:[],createTween:function(e,t){var n=ce.Tween(o,l.opts,e,t,l.opts.specialEasing[e]||l.opts.easing);return l.tweens.push(n),n},stop:function(e){var t=0,n=e?l.tweens.length:0;if(a)return this;for(a=!0;t<n;t++)l.tweens[t].run(1);return e?(s.notifyWith(o,[l,1,0]),s.resolveWith(o,[l,e])):s.rejectWith(o,[l,e]),this}}),c=l.props;for(!function(e,t){var n,r,i,o,a;for(n in e)if(i=t[r=F(n)],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=ce.cssHooks[r])&&"expand"in a)for(n in o=a.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}(c,l.opts.specialEasing);r<i;r++)if(n=yt.prefilters[r].call(l,o,c,l.opts))return v(n.stop)&&(ce._queueHooks(l.elem,l.opts.queue).stop=n.stop.bind(n)),n;return ce.map(c,vt,l),v(l.opts.start)&&l.opts.start.call(o,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),ce.fx.timer(ce.extend(u,{elem:o,anim:l,queue:l.opts.queue})),l}ce.Animation=ce.extend(yt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return te(n.elem,e,Y.exec(t),n),n}]},tweener:function(e,t){v(e)?(t=e,e=["*"]):e=e.match(D);for(var n,r=0,i=e.length;r<i;r++)n=e[r],yt.tweeners[n]=yt.tweeners[n]||[],yt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,i,o,a,s,u,l,c,f="width"in t||"height"in t,p=this,d={},h=e.style,g=e.nodeType&&ee(e),v=_.get(e,"fxshow");for(r in n.queue||(null==(a=ce._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,p.always(function(){p.always(function(){a.unqueued--,ce.queue(e,"fx").length||a.empty.fire()})})),t)if(i=t[r],ft.test(i)){if(delete t[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!v||void 0===v[r])continue;g=!0}d[r]=v&&v[r]||ce.style(e,r)}if((u=!ce.isEmptyObject(t))||!ce.isEmptyObject(d))for(r in f&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(l=v&&v.display)&&(l=_.get(e,"display")),"none"===(c=ce.css(e,"display"))&&(l?c=l:(re([e],!0),l=e.style.display||l,c=ce.css(e,"display"),re([e]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===ce.css(e,"float")&&(u||(p.done(function(){h.display=l}),null==l&&(c=h.display,l="none"===c?"":c)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",p.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),u=!1,d)u||(v?"hidden"in v&&(g=v.hidden):v=_.access(e,"fxshow",{display:l}),o&&(v.hidden=!g),g&&re([e],!0),p.done(function(){for(r in g||re([e]),_.remove(e,"fxshow"),d)ce.style(e,r,d[r])})),u=vt(g?v[r]:0,r,p),r in v||(v[r]=u.start,g&&(u.end=u.start,u.start=0))}],prefilter:function(e,t){t?yt.prefilters.unshift(e):yt.prefilters.push(e)}}),ce.speed=function(e,t,n){var r=e&&"object"==typeof e?ce.extend({},e):{complete:n||!n&&t||v(e)&&e,duration:e,easing:n&&t||t&&!v(t)&&t};return ce.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in ce.fx.speeds?r.duration=ce.fx.speeds[r.duration]:r.duration=ce.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){v(r.old)&&r.old.call(this),r.queue&&ce.dequeue(this,r.queue)},r},ce.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ee).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(t,e,n,r){var i=ce.isEmptyObject(t),o=ce.speed(e,n,r),a=function(){var e=yt(this,ce.extend({},t),o);(i||_.get(this,"finish"))&&e.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(i,e,o){var a=function(e){var t=e.stop;delete e.stop,t(o)};return"string"!=typeof i&&(o=e,e=i,i=void 0),e&&this.queue(i||"fx",[]),this.each(function(){var e=!0,t=null!=i&&i+"queueHooks",n=ce.timers,r=_.get(this);if(t)r[t]&&r[t].stop&&a(r[t]);else for(t in r)r[t]&&r[t].stop&&pt.test(t)&&a(r[t]);for(t=n.length;t--;)n[t].elem!==this||null!=i&&n[t].queue!==i||(n[t].anim.stop(o),e=!1,n.splice(t,1));!e&&o||ce.dequeue(this,i)})},finish:function(a){return!1!==a&&(a=a||"fx"),this.each(function(){var e,t=_.get(this),n=t[a+"queue"],r=t[a+"queueHooks"],i=ce.timers,o=n?n.length:0;for(t.finish=!0,ce.queue(this,a,[]),r&&r.stop&&r.stop.call(this,!0),e=i.length;e--;)i[e].elem===this&&i[e].queue===a&&(i[e].anim.stop(!0),i.splice(e,1));for(e=0;e<o;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish})}}),ce.each(["toggle","show","hide"],function(e,r){var i=ce.fn[r];ce.fn[r]=function(e,t,n){return null==e||"boolean"==typeof e?i.apply(this,arguments):this.animate(gt(r,!0),e,t,n)}}),ce.each({slideDown:gt("show"),slideUp:gt("hide"),slideToggle:gt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,r){ce.fn[e]=function(e,t,n){return this.animate(r,e,t,n)}}),ce.timers=[],ce.fx.tick=function(){var e,t=0,n=ce.timers;for(st=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||ce.fx.stop(),st=void 0},ce.fx.timer=function(e){ce.timers.push(e),ce.fx.start()},ce.fx.interval=13,ce.fx.start=function(){ut||(ut=!0,dt())},ce.fx.stop=function(){ut=null},ce.fx.speeds={slow:600,fast:200,_default:400},ce.fn.delay=function(r,e){return r=ce.fx&&ce.fx.speeds[r]||r,e=e||"fx",this.queue(e,function(e,t){var n=ie.setTimeout(e,r);t.stop=function(){ie.clearTimeout(n)}})},lt=C.createElement("input"),ct=C.createElement("select").appendChild(C.createElement("option")),lt.type="checkbox",le.checkOn=""!==lt.value,le.optSelected=ct.selected,(lt=C.createElement("input")).value="t",lt.type="radio",le.radioValue="t"===lt.value;var mt,xt=ce.expr.attrHandle;ce.fn.extend({attr:function(e,t){return M(this,ce.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){ce.removeAttr(this,e)})}}),ce.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof e.getAttribute?ce.prop(e,t,n):(1===o&&ce.isXMLDoc(e)||(i=ce.attrHooks[t.toLowerCase()]||(ce.expr.match.bool.test(t)?mt:void 0)),void 0!==n?null===n?void ce.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=ce.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!le.radioValue&&"radio"===t&&fe(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(D);if(i&&1===e.nodeType)while(n=i[r++])e.removeAttribute(n)}}),mt={set:function(e,t,n){return!1===t?ce.removeAttr(e,n):e.setAttribute(n,n),n}},ce.each(ce.expr.match.bool.source.match(/\w+/g),function(e,t){var a=xt[t]||ce.find.attr;xt[t]=function(e,t,n){var r,i,o=t.toLowerCase();return n||(i=xt[o],xt[o]=r,r=null!=a(e,t,n)?o:null,xt[o]=i),r}});var bt=/^(?:input|select|textarea|button)$/i,wt=/^(?:a|area)$/i;function Tt(e){return(e.match(D)||[]).join(" ")}function Ct(e){return e.getAttribute&&e.getAttribute("class")||""}function kt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(D)||[]}ce.fn.extend({prop:function(e,t){return M(this,ce.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[ce.propFix[e]||e]})}}),ce.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&ce.isXMLDoc(e)||(t=ce.propFix[t]||t,i=ce.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=ce.find.attr(e,"tabindex");return t?parseInt(t,10):bt.test(e.nodeName)||wt.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),le.optSelected||(ce.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),ce.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){ce.propFix[this.toLowerCase()]=this}),ce.fn.extend({addClass:function(t){var e,n,r,i,o,a;return v(t)?this.each(function(e){ce(this).addClass(t.call(this,e,Ct(this)))}):(e=kt(t)).length?this.each(function(){if(r=Ct(this),n=1===this.nodeType&&" "+Tt(r)+" "){for(o=0;o<e.length;o++)i=e[o],n.indexOf(" "+i+" ")<0&&(n+=i+" ");a=Tt(n),r!==a&&this.setAttribute("class",a)}}):this},removeClass:function(t){var e,n,r,i,o,a;return v(t)?this.each(function(e){ce(this).removeClass(t.call(this,e,Ct(this)))}):arguments.length?(e=kt(t)).length?this.each(function(){if(r=Ct(this),n=1===this.nodeType&&" "+Tt(r)+" "){for(o=0;o<e.length;o++){i=e[o];while(-1<n.indexOf(" "+i+" "))n=n.replace(" "+i+" "," ")}a=Tt(n),r!==a&&this.setAttribute("class",a)}}):this:this.attr("class","")},toggleClass:function(t,n){var e,r,i,o,a=typeof t,s="string"===a||Array.isArray(t);return v(t)?this.each(function(e){ce(this).toggleClass(t.call(this,e,Ct(this),n),n)}):"boolean"==typeof n&&s?n?this.addClass(t):this.removeClass(t):(e=kt(t),this.each(function(){if(s)for(o=ce(this),i=0;i<e.length;i++)r=e[i],o.hasClass(r)?o.removeClass(r):o.addClass(r);else void 0!==t&&"boolean"!==a||((r=Ct(this))&&_.set(this,"__className__",r),this.setAttribute&&this.setAttribute("class",r||!1===t?"":_.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,r=0;t=" "+e+" ";while(n=this[r++])if(1===n.nodeType&&-1<(" "+Tt(Ct(n))+" ").indexOf(t))return!0;return!1}});var St=/\r/g;ce.fn.extend({val:function(n){var r,e,i,t=this[0];return arguments.length?(i=v(n),this.each(function(e){var t;1===this.nodeType&&(null==(t=i?n.call(this,e,ce(this).val()):n)?t="":"number"==typeof t?t+="":Array.isArray(t)&&(t=ce.map(t,function(e){return null==e?"":e+""})),(r=ce.valHooks[this.type]||ce.valHooks[this.nodeName.toLowerCase()])&&"set"in r&&void 0!==r.set(this,t,"value")||(this.value=t))})):t?(r=ce.valHooks[t.type]||ce.valHooks[t.nodeName.toLowerCase()])&&"get"in r&&void 0!==(e=r.get(t,"value"))?e:"string"==typeof(e=t.value)?e.replace(St,""):null==e?"":e:void 0}}),ce.extend({valHooks:{option:{get:function(e){var t=ce.find.attr(e,"value");return null!=t?t:Tt(ce.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?o+1:i.length;for(r=o<0?u:a?o:0;r<u;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!fe(n.parentNode,"optgroup"))){if(t=ce(n).val(),a)return t;s.push(t)}return s},set:function(e,t){var n,r,i=e.options,o=ce.makeArray(t),a=i.length;while(a--)((r=i[a]).selected=-1<ce.inArray(ce.valHooks.option.get(r),o))&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),ce.each(["radio","checkbox"],function(){ce.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<ce.inArray(ce(e).val(),t)}},le.checkOn||(ce.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Et=ie.location,jt={guid:Date.now()},At=/\?/;ce.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new ie.DOMParser).parseFromString(e,"text/xml")}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||ce.error("Invalid XML: "+(n?ce.map(n.childNodes,function(e){return e.textContent}).join("\n"):e)),t};var Dt=/^(?:focusinfocus|focusoutblur)$/,Nt=function(e){e.stopPropagation()};ce.extend(ce.event,{trigger:function(e,t,n,r){var i,o,a,s,u,l,c,f,p=[n||C],d=ue.call(e,"type")?e.type:e,h=ue.call(e,"namespace")?e.namespace.split("."):[];if(o=f=a=n=n||C,3!==n.nodeType&&8!==n.nodeType&&!Dt.test(d+ce.event.triggered)&&(-1<d.indexOf(".")&&(d=(h=d.split(".")).shift(),h.sort()),u=d.indexOf(":")<0&&"on"+d,(e=e[ce.expando]?e:new ce.Event(d,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=h.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:ce.makeArray(t,[e]),c=ce.event.special[d]||{},r||!c.trigger||!1!==c.trigger.apply(n,t))){if(!r&&!c.noBubble&&!y(n)){for(s=c.delegateType||d,Dt.test(s+d)||(o=o.parentNode);o;o=o.parentNode)p.push(o),a=o;a===(n.ownerDocument||C)&&p.push(a.defaultView||a.parentWindow||ie)}i=0;while((o=p[i++])&&!e.isPropagationStopped())f=o,e.type=1<i?s:c.bindType||d,(l=(_.get(o,"events")||Object.create(null))[e.type]&&_.get(o,"handle"))&&l.apply(o,t),(l=u&&o[u])&&l.apply&&$(o)&&(e.result=l.apply(o,t),!1===e.result&&e.preventDefault());return e.type=d,r||e.isDefaultPrevented()||c._default&&!1!==c._default.apply(p.pop(),t)||!$(n)||u&&v(n[d])&&!y(n)&&((a=n[u])&&(n[u]=null),ce.event.triggered=d,e.isPropagationStopped()&&f.addEventListener(d,Nt),n[d](),e.isPropagationStopped()&&f.removeEventListener(d,Nt),ce.event.triggered=void 0,a&&(n[u]=a)),e.result}},simulate:function(e,t,n){var r=ce.extend(new ce.Event,n,{type:e,isSimulated:!0});ce.event.trigger(r,null,t)}}),ce.fn.extend({trigger:function(e,t){return this.each(function(){ce.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return ce.event.trigger(e,t,n,!0)}});var qt=/\[\]$/,Lt=/\r?\n/g,Ht=/^(?:submit|button|image|reset|file)$/i,Ot=/^(?:input|select|textarea|keygen)/i;function Pt(n,e,r,i){var t;if(Array.isArray(e))ce.each(e,function(e,t){r||qt.test(n)?i(n,t):Pt(n+"["+("object"==typeof t&&null!=t?e:"")+"]",t,r,i)});else if(r||"object"!==x(e))i(n,e);else for(t in e)Pt(n+"["+t+"]",e[t],r,i)}ce.param=function(e,t){var n,r=[],i=function(e,t){var n=v(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!ce.isPlainObject(e))ce.each(e,function(){i(this.name,this.value)});else for(n in e)Pt(n,e[n],t,i);return r.join("&")},ce.fn.extend({serialize:function(){return ce.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=ce.prop(this,"elements");return e?ce.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!ce(this).is(":disabled")&&Ot.test(this.nodeName)&&!Ht.test(e)&&(this.checked||!we.test(e))}).map(function(e,t){var n=ce(this).val();return null==n?null:Array.isArray(n)?ce.map(n,function(e){return{name:t.name,value:e.replace(Lt,"\r\n")}}):{name:t.name,value:n.replace(Lt,"\r\n")}}).get()}});var Mt=/%20/g,Rt=/#.*$/,It=/([?&])_=[^&]*/,Wt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ft=/^(?:GET|HEAD)$/,$t=/^\/\//,Bt={},_t={},zt="*/".concat("*"),Xt=C.createElement("a");function Ut(o){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,r=0,i=e.toLowerCase().match(D)||[];if(v(t))while(n=i[r++])"+"===n[0]?(n=n.slice(1)||"*",(o[n]=o[n]||[]).unshift(t)):(o[n]=o[n]||[]).push(t)}}function Vt(t,i,o,a){var s={},u=t===_t;function l(e){var r;return s[e]=!0,ce.each(t[e]||[],function(e,t){var n=t(i,o,a);return"string"!=typeof n||u||s[n]?u?!(r=n):void 0:(i.dataTypes.unshift(n),l(n),!1)}),r}return l(i.dataTypes[0])||!s["*"]&&l("*")}function Gt(e,t){var n,r,i=ce.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&ce.extend(!0,e,r),e}Xt.href=Et.href,ce.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Et.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Et.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":zt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":ce.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Gt(Gt(e,ce.ajaxSettings),t):Gt(ce.ajaxSettings,e)},ajaxPrefilter:Ut(Bt),ajaxTransport:Ut(_t),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var c,f,p,n,d,r,h,g,i,o,v=ce.ajaxSetup({},t),y=v.context||v,m=v.context&&(y.nodeType||y.jquery)?ce(y):ce.event,x=ce.Deferred(),b=ce.Callbacks("once memory"),w=v.statusCode||{},a={},s={},u="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(h){if(!n){n={};while(t=Wt.exec(p))n[t[1].toLowerCase()+" "]=(n[t[1].toLowerCase()+" "]||[]).concat(t[2])}t=n[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return h?p:null},setRequestHeader:function(e,t){return null==h&&(e=s[e.toLowerCase()]=s[e.toLowerCase()]||e,a[e]=t),this},overrideMimeType:function(e){return null==h&&(v.mimeType=e),this},statusCode:function(e){var t;if(e)if(h)T.always(e[T.status]);else for(t in e)w[t]=[w[t],e[t]];return this},abort:function(e){var t=e||u;return c&&c.abort(t),l(0,t),this}};if(x.promise(T),v.url=((e||v.url||Et.href)+"").replace($t,Et.protocol+"//"),v.type=t.method||t.type||v.method||v.type,v.dataTypes=(v.dataType||"*").toLowerCase().match(D)||[""],null==v.crossDomain){r=C.createElement("a");try{r.href=v.url,r.href=r.href,v.crossDomain=Xt.protocol+"//"+Xt.host!=r.protocol+"//"+r.host}catch(e){v.crossDomain=!0}}if(v.data&&v.processData&&"string"!=typeof v.data&&(v.data=ce.param(v.data,v.traditional)),Vt(Bt,v,t,T),h)return T;for(i in(g=ce.event&&v.global)&&0==ce.active++&&ce.event.trigger("ajaxStart"),v.type=v.type.toUpperCase(),v.hasContent=!Ft.test(v.type),f=v.url.replace(Rt,""),v.hasContent?v.data&&v.processData&&0===(v.contentType||"").indexOf("application/x-www-form-urlencoded")&&(v.data=v.data.replace(Mt,"+")):(o=v.url.slice(f.length),v.data&&(v.processData||"string"==typeof v.data)&&(f+=(At.test(f)?"&":"?")+v.data,delete v.data),!1===v.cache&&(f=f.replace(It,"$1"),o=(At.test(f)?"&":"?")+"_="+jt.guid+++o),v.url=f+o),v.ifModified&&(ce.lastModified[f]&&T.setRequestHeader("If-Modified-Since",ce.lastModified[f]),ce.etag[f]&&T.setRequestHeader("If-None-Match",ce.etag[f])),(v.data&&v.hasContent&&!1!==v.contentType||t.contentType)&&T.setRequestHeader("Content-Type",v.contentType),T.setRequestHeader("Accept",v.dataTypes[0]&&v.accepts[v.dataTypes[0]]?v.accepts[v.dataTypes[0]]+("*"!==v.dataTypes[0]?", "+zt+"; q=0.01":""):v.accepts["*"]),v.headers)T.setRequestHeader(i,v.headers[i]);if(v.beforeSend&&(!1===v.beforeSend.call(y,T,v)||h))return T.abort();if(u="abort",b.add(v.complete),T.done(v.success),T.fail(v.error),c=Vt(_t,v,t,T)){if(T.readyState=1,g&&m.trigger("ajaxSend",[T,v]),h)return T;v.async&&0<v.timeout&&(d=ie.setTimeout(function(){T.abort("timeout")},v.timeout));try{h=!1,c.send(a,l)}catch(e){if(h)throw e;l(-1,e)}}else l(-1,"No Transport");function l(e,t,n,r){var i,o,a,s,u,l=t;h||(h=!0,d&&ie.clearTimeout(d),c=void 0,p=r||"",T.readyState=0<e?4:0,i=200<=e&&e<300||304===e,n&&(s=function(e,t,n){var r,i,o,a,s=e.contents,u=e.dataTypes;while("*"===u[0])u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}(v,T,n)),!i&&-1<ce.inArray("script",v.dataTypes)&&ce.inArray("json",v.dataTypes)<0&&(v.converters["text script"]=function(){}),s=function(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];o=c.shift();while(o)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if((s=i.split(" "))[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}(v,s,T,i),i?(v.ifModified&&((u=T.getResponseHeader("Last-Modified"))&&(ce.lastModified[f]=u),(u=T.getResponseHeader("etag"))&&(ce.etag[f]=u)),204===e||"HEAD"===v.type?l="nocontent":304===e?l="notmodified":(l=s.state,o=s.data,i=!(a=s.error))):(a=l,!e&&l||(l="error",e<0&&(e=0))),T.status=e,T.statusText=(t||l)+"",i?x.resolveWith(y,[o,l,T]):x.rejectWith(y,[T,l,a]),T.statusCode(w),w=void 0,g&&m.trigger(i?"ajaxSuccess":"ajaxError",[T,v,i?o:a]),b.fireWith(y,[T,l]),g&&(m.trigger("ajaxComplete",[T,v]),--ce.active||ce.event.trigger("ajaxStop")))}return T},getJSON:function(e,t,n){return ce.get(e,t,n,"json")},getScript:function(e,t){return ce.get(e,void 0,t,"script")}}),ce.each(["get","post"],function(e,i){ce[i]=function(e,t,n,r){return v(t)&&(r=r||n,n=t,t=void 0),ce.ajax(ce.extend({url:e,type:i,dataType:r,data:t,success:n},ce.isPlainObject(e)&&e))}}),ce.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),ce._evalUrl=function(e,t,n){return ce.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){ce.globalEval(e,t,n)}})},ce.fn.extend({wrapAll:function(e){var t;return this[0]&&(v(e)&&(e=e.call(this[0])),t=ce(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstElementChild)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(n){return v(n)?this.each(function(e){ce(this).wrapInner(n.call(this,e))}):this.each(function(){var e=ce(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=v(t);return this.each(function(e){ce(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(e){return this.parent(e).not("body").each(function(){ce(this).replaceWith(this.childNodes)}),this}}),ce.expr.pseudos.hidden=function(e){return!ce.expr.pseudos.visible(e)},ce.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},ce.ajaxSettings.xhr=function(){try{return new ie.XMLHttpRequest}catch(e){}};var Yt={0:200,1223:204},Qt=ce.ajaxSettings.xhr();le.cors=!!Qt&&"withCredentials"in Qt,le.ajax=Qt=!!Qt,ce.ajaxTransport(function(i){var o,a;if(le.cors||Qt&&!i.crossDomain)return{send:function(e,t){var n,r=i.xhr();if(r.open(i.type,i.url,i.async,i.username,i.password),i.xhrFields)for(n in i.xhrFields)r[n]=i.xhrFields[n];for(n in i.mimeType&&r.overrideMimeType&&r.overrideMimeType(i.mimeType),i.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)r.setRequestHeader(n,e[n]);o=function(e){return function(){o&&(o=a=r.onload=r.onerror=r.onabort=r.ontimeout=r.onreadystatechange=null,"abort"===e?r.abort():"error"===e?"number"!=typeof r.status?t(0,"error"):t(r.status,r.statusText):t(Yt[r.status]||r.status,r.statusText,"text"!==(r.responseType||"text")||"string"!=typeof r.responseText?{binary:r.response}:{text:r.responseText},r.getAllResponseHeaders()))}},r.onload=o(),a=r.onerror=r.ontimeout=o("error"),void 0!==r.onabort?r.onabort=a:r.onreadystatechange=function(){4===r.readyState&&ie.setTimeout(function(){o&&a()})},o=o("abort");try{r.send(i.hasContent&&i.data||null)}catch(e){if(o)throw e}},abort:function(){o&&o()}}}),ce.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),ce.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return ce.globalEval(e),e}}}),ce.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),ce.ajaxTransport("script",function(n){var r,i;if(n.crossDomain||n.scriptAttrs)return{send:function(e,t){r=ce("<script>").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),C.head.appendChild(r[0])},abort:function(){i&&i()}}});var Jt,Kt=[],Zt=/(=)\?(?=&|$)|\?\?/;ce.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Kt.pop()||ce.expando+"_"+jt.guid++;return this[e]=!0,e}}),ce.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Zt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Zt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=v(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Zt,"$1"+r):!1!==e.jsonp&&(e.url+=(At.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||ce.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=ie[r],ie[r]=function(){o=arguments},n.always(function(){void 0===i?ce(ie).removeProp(r):ie[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Kt.push(r)),o&&v(i)&&i(o[0]),o=i=void 0}),"script"}),le.createHTMLDocument=((Jt=C.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Jt.childNodes.length),ce.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(le.createHTMLDocument?((r=(t=C.implementation.createHTMLDocument("")).createElement("base")).href=C.location.href,t.head.appendChild(r)):t=C),o=!n&&[],(i=w.exec(e))?[t.createElement(i[1])]:(i=Ae([e],t,o),o&&o.length&&ce(o).remove(),ce.merge([],i.childNodes)));var r,i,o},ce.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1<s&&(r=Tt(e.slice(s)),e=e.slice(0,s)),v(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),0<a.length&&ce.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?ce("<div>").append(ce.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},ce.expr.pseudos.animated=function(t){return ce.grep(ce.timers,function(e){return t===e.elem}).length},ce.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=ce.css(e,"position"),c=ce(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=ce.css(e,"top"),u=ce.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),v(t)&&(t=t.call(e,n,ce.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},ce.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){ce.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===ce.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===ce.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=ce(e).offset()).top+=ce.css(e,"borderTopWidth",!0),i.left+=ce.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-ce.css(r,"marginTop",!0),left:t.left-i.left-ce.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===ce.css(e,"position"))e=e.offsetParent;return e||J})}}),ce.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;ce.fn[t]=function(e){return M(this,function(e,t,n){var r;if(y(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),ce.each(["top","left"],function(e,n){ce.cssHooks[n]=Ye(le.pixelPosition,function(e,t){if(t)return t=Ge(e,n),_e.test(t)?ce(e).position()[n]+"px":t})}),ce.each({Height:"height",Width:"width"},function(a,s){ce.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){ce.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return M(this,function(e,t,n){var r;return y(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?ce.css(e,t,i):ce.style(e,t,n,i)},s,n?e:void 0,n)}})}),ce.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){ce.fn[t]=function(e){return this.on(t,e)}}),ce.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),ce.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){ce.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}});var en=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;ce.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),v(e))return r=ae.call(arguments,2),(i=function(){return e.apply(t||this,r.concat(ae.call(arguments)))}).guid=e.guid=e.guid||ce.guid++,i},ce.holdReady=function(e){e?ce.readyWait++:ce.ready(!0)},ce.isArray=Array.isArray,ce.parseJSON=JSON.parse,ce.nodeName=fe,ce.isFunction=v,ce.isWindow=y,ce.camelCase=F,ce.type=x,ce.now=Date.now,ce.isNumeric=function(e){var t=ce.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},ce.trim=function(e){return null==e?"":(e+"").replace(en,"$1")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return ce});var tn=ie.jQuery,nn=ie.$;return ce.noConflict=function(e){return ie.$===ce&&(ie.$=nn),e&&ie.jQuery===ce&&(ie.jQuery=tn),ce},"undefined"==typeof e&&(ie.jQuery=ie.$=ce),ce});
;
/* @license GNU-GPL-2.0-or-later https://git.drupalcode.org/project/once/-/raw/v1.0.1/LICENSE.md */
/*! @drupal/once - v1.0.1 - 2021-06-12 */
var once=function(){"use strict";var n=/[\11\12\14\15\40]+/,e="data-once",t=document;function r(n,t,r){return n[t+"Attribute"](e,r)}function o(e){if("string"!=typeof e)throw new TypeError("once ID must be a string");if(""===e||n.test(e))throw new RangeError("once ID must not be empty or contain spaces");return'[data-once~="'+e+'"]'}function u(n){if(!(n instanceof Element))throw new TypeError("The element must be an instance of Element");return!0}function i(n,e){void 0===e&&(e=t);var r=n;if(null===n)r=[];else{if(!n)throw new TypeError("Selector must not be empty");"string"!=typeof n||e!==t&&!u(e)?n instanceof Element&&(r=[n]):r=e.querySelectorAll(n)}return Array.prototype.slice.call(r)}function c(n,e,t){return e.filter((function(e){var r=u(e)&&e.matches(n);return r&&t&&t(e),r}))}function f(e,t){var o=t.add,u=t.remove,i=[];r(e,"has")&&r(e,"get").trim().split(n).forEach((function(n){i.indexOf(n)<0&&n!==u&&i.push(n)})),o&&i.push(o);var c=i.join(" ");r(e,""===c?"remove":"set",c)}function a(n,e,t){return c(":not("+o(n)+")",i(e,t),(function(e){return f(e,{add:n})}))}return a.remove=function(n,e,t){return c(o(n),i(e,t),(function(e){return f(e,{remove:n})}))},a.filter=function(n,e,t){return c(o(n),i(e,t))},a.find=function(n,e){return i(n?o(n):"[data-once]",e)},a}();

;
/* @license GNU-GPL-2.0-or-later https://www.drupal.org/licensing/faq */
(function(){const settingsElement=document.querySelector('head > script[type="application/json"][data-drupal-selector="drupal-settings-json"], body > script[type="application/json"][data-drupal-selector="drupal-settings-json"]');window.drupalSettings={};if(settingsElement!==null)window.drupalSettings=JSON.parse(settingsElement.textContent);})();;
window.Drupal={behaviors:{},locale:{}};(function(Drupal,drupalSettings,drupalTranslations,console,Proxy,Reflect){Drupal.throwError=function(error){setTimeout(()=>{throw error;},0);};Drupal.attachBehaviors=function(context,settings){context=context||document;settings=settings||drupalSettings;const behaviors=Drupal.behaviors;Object.keys(behaviors||{}).forEach((i)=>{if(typeof behaviors[i].attach==='function')try{behaviors[i].attach(context,settings);}catch(e){Drupal.throwError(e);}});};Drupal.detachBehaviors=function(context,settings,trigger){context=context||document;settings=settings||drupalSettings;trigger=trigger||'unload';const behaviors=Drupal.behaviors;Object.keys(behaviors||{}).forEach((i)=>{if(typeof behaviors[i].detach==='function')try{behaviors[i].detach(context,settings,trigger);}catch(e){Drupal.throwError(e);}});};Drupal.checkPlain=function(str){str=str.toString().replace(/&/g,'&amp;').replace(/</g,'&lt;').replace(/>/g,'&gt;').replace(/"/g,'&quot;').replace(/'/g,'&#39;');return str;};Drupal.formatString=function(str,args){const processedArgs={};Object.keys(args||{}).forEach((key)=>{switch(key.charAt(0)){case '@':processedArgs[key]=Drupal.checkPlain(args[key]);break;case '!':processedArgs[key]=args[key];break;default:processedArgs[key]=Drupal.theme('placeholder',args[key]);break;}});return Drupal.stringReplace(str,processedArgs,null);};Drupal.stringReplace=function(str,args,keys){if(str.length===0)return str;if(!Array.isArray(keys)){keys=Object.keys(args||{});keys.sort((a,b)=>a.length-b.length);}if(keys.length===0)return str;const key=keys.pop();const fragments=str.split(key);if(keys.length){for(let i=0;i<fragments.length;i++)fragments[i]=Drupal.stringReplace(fragments[i],args,keys.slice(0));}return fragments.join(args[key]);};Drupal.t=function(str,args,options){options=options||{};options.context=options.context||'';if(typeof drupalTranslations!=='undefined'&&drupalTranslations.strings&&drupalTranslations.strings[options.context]&&drupalTranslations.strings[options.context][str])str=drupalTranslations.strings[options.context][str];if(args)str=Drupal.formatString(str,args);return str;};Drupal.url=function(path){return drupalSettings.path.baseUrl+drupalSettings.path.pathPrefix+path;};Drupal.url.toAbsolute=function(url){const urlParsingNode=document.createElement('a');try{url=decodeURIComponent(url);}catch(e){}urlParsingNode.setAttribute('href',url);return urlParsingNode.cloneNode(false).href;};Drupal.url.isLocal=function(url){let absoluteUrl=Drupal.url.toAbsolute(url);let {protocol}=window.location;if(protocol==='http:'&&absoluteUrl.indexOf('https:')===0)protocol='https:';let baseUrl=`${protocol}//${window.location.host}${drupalSettings.path.baseUrl.slice(0,-1)}`;try{absoluteUrl=decodeURIComponent(absoluteUrl);}catch(e){}try{baseUrl=decodeURIComponent(baseUrl);}catch(e){}return absoluteUrl===baseUrl||absoluteUrl.indexOf(`${baseUrl}/`)===0;};Drupal.formatPlural=function(count,singular,plural,args,options){args=args||{};args['@count']=count;const pluralDelimiter=drupalSettings.pluralDelimiter;const translations=Drupal.t(singular+pluralDelimiter+plural,args,options).split(pluralDelimiter);let index=0;if(typeof drupalTranslations!=='undefined'&&drupalTranslations.pluralFormula)index=count in drupalTranslations.pluralFormula?drupalTranslations.pluralFormula[count]:drupalTranslations.pluralFormula.default;else{if(args['@count']!==1)index=1;}return translations[index];};Drupal.encodePath=function(item){return window.encodeURIComponent(item).replace(/%2F/g,'/');};Drupal.deprecationError=({message})=>{if(drupalSettings.suppressDeprecationErrors===false&&typeof console!=='undefined'&&console.warn)console.warn(`[Deprecation] ${message}`);};Drupal.deprecatedProperty=({target,deprecatedProperty,message})=>{if(!Proxy||!Reflect)return target;return new Proxy(target,{get:(target,key,...rest)=>{if(key===deprecatedProperty)Drupal.deprecationError({message});return Reflect.get(target,key,...rest);}});};Drupal.theme=function(func,...args){if(func in Drupal.theme)return Drupal.theme[func](...args);};Drupal.theme.placeholder=function(str){return `<em class="placeholder">${Drupal.checkPlain(str)}</em>`;};Drupal.elementIsVisible=function(elem){return !!(elem.offsetWidth||elem.offsetHeight||elem.getClientRects().length);};Drupal.elementIsHidden=function(elem){return !Drupal.elementIsVisible(elem);};})(Drupal,window.drupalSettings,window.drupalTranslations,window.console,window.Proxy,window.Reflect);;
if(window.jQuery)jQuery.noConflict();document.documentElement.className+=' js';(function(Drupal,drupalSettings){const domReady=(callback)=>{const listener=()=>{callback();document.removeEventListener('DOMContentLoaded',listener);};if(document.readyState!=='loading')setTimeout(callback,0);else document.addEventListener('DOMContentLoaded',listener);};domReady(()=>{Drupal.attachBehaviors(document,drupalSettings);});})(Drupal,window.drupalSettings);;
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.moment=t()}(this,function(){"use strict";var e,i;function f(){return e.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function u(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function m(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(m(e,t))return;return 1}function r(e){return void 0===e}function h(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function a(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function d(e,t){for(var n=[],s=0;s<e.length;++s)n.push(t(e[s],s));return n}function c(e,t){for(var n in t)m(t,n)&&(e[n]=t[n]);return m(t,"toString")&&(e.toString=t.toString),m(t,"valueOf")&&(e.valueOf=t.valueOf),e}function _(e,t,n,s){return xt(e,t,n,s,!0).utc()}function y(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function g(e){if(null==e._isValid){var t=y(e),n=i.call(t.parsedDateParts,function(e){return null!=e}),s=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(s=s&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return s;e._isValid=s}return e._isValid}function w(e){var t=_(NaN);return null!=e?c(y(t),e):y(t).userInvalidated=!0,t}i=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,s=0;s<n;s++)if(s in t&&e.call(this,t[s],s,t))return!0;return!1};var p=f.momentProperties=[],t=!1;function v(e,t){var n,s,i;if(r(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),r(t._i)||(e._i=t._i),r(t._f)||(e._f=t._f),r(t._l)||(e._l=t._l),r(t._strict)||(e._strict=t._strict),r(t._tzm)||(e._tzm=t._tzm),r(t._isUTC)||(e._isUTC=t._isUTC),r(t._offset)||(e._offset=t._offset),r(t._pf)||(e._pf=y(t)),r(t._locale)||(e._locale=t._locale),0<p.length)for(n=0;n<p.length;n++)r(i=t[s=p[n]])||(e[s]=i);return e}function k(e){v(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===t&&(t=!0,f.updateOffset(this),t=!1)}function M(e){return e instanceof k||null!=e&&null!=e._isAMomentObject}function D(e){!1===f.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function n(i,r){var a=!0;return c(function(){if(null!=f.deprecationHandler&&f.deprecationHandler(null,i),a){for(var e,t,n=[],s=0;s<arguments.length;s++){if(e="","object"==typeof arguments[s]){for(t in e+="\n["+s+"] ",arguments[0])m(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[s];n.push(e)}D(i+"\nArguments: "+Array.prototype.slice.call(n).join("")+"\n"+(new Error).stack),a=!1}return r.apply(this,arguments)},r)}var s,S={};function Y(e,t){null!=f.deprecationHandler&&f.deprecationHandler(e,t),S[e]||(D(t),S[e]=!0)}function O(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function b(e,t){var n,s=c({},e);for(n in t)m(t,n)&&(u(e[n])&&u(t[n])?(s[n]={},c(s[n],e[n]),c(s[n],t[n])):null!=t[n]?s[n]=t[n]:delete s[n]);for(n in e)m(e,n)&&!m(t,n)&&u(e[n])&&(s[n]=c({},s[n]));return s}function x(e){null!=e&&this.set(e)}f.suppressDeprecationWarnings=!1,f.deprecationHandler=null,s=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)m(e,t)&&n.push(t);return n};function T(e,t,n){var s=""+Math.abs(e),i=t-s.length;return(0<=e?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+s}var N=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,P=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,R={},W={};function C(e,t,n,s){var i="string"==typeof s?function(){return this[s]()}:s;e&&(W[e]=i),t&&(W[t[0]]=function(){return T(i.apply(this,arguments),t[1],t[2])}),n&&(W[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function U(e,t){return e.isValid()?(t=H(t,e.localeData()),R[t]=R[t]||function(s){for(var e,i=s.match(N),t=0,r=i.length;t<r;t++)W[i[t]]?i[t]=W[i[t]]:i[t]=(e=i[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",n=0;n<r;n++)t+=O(i[n])?i[n].call(e,s):i[n];return t}}(t),R[t](e)):e.localeData().invalidDate()}function H(e,t){var n=5;function s(e){return t.longDateFormat(e)||e}for(P.lastIndex=0;0<=n&&P.test(e);)e=e.replace(P,s),P.lastIndex=0,--n;return e}var F={};function L(e,t){var n=e.toLowerCase();F[n]=F[n+"s"]=F[t]=e}function V(e){return"string"==typeof e?F[e]||F[e.toLowerCase()]:void 0}function G(e){var t,n,s={};for(n in e)m(e,n)&&(t=V(n))&&(s[t]=e[n]);return s}var E={};function A(e,t){E[e]=t}function j(e){return e%4==0&&e%100!=0||e%400==0}function I(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function Z(e){var t=+e,n=0;return 0!=t&&isFinite(t)&&(n=I(t)),n}function z(t,n){return function(e){return null!=e?(q(this,t,e),f.updateOffset(this,n),this):$(this,t)}}function $(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function q(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&j(e.year())&&1===e.month()&&29===e.date()?(n=Z(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),xe(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var B,J=/\d/,Q=/\d\d/,X=/\d{3}/,K=/\d{4}/,ee=/[+-]?\d{6}/,te=/\d\d?/,ne=/\d\d\d\d?/,se=/\d\d\d\d\d\d?/,ie=/\d{1,3}/,re=/\d{1,4}/,ae=/[+-]?\d{1,6}/,oe=/\d+/,ue=/[+-]?\d+/,le=/Z|[+-]\d\d:?\d\d/gi,he=/Z|[+-]\d\d(?::?\d\d)?/gi,de=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function ce(e,n,s){B[e]=O(n)?n:function(e,t){return e&&s?s:n}}function fe(e,t){return m(B,e)?B[e](t._strict,t._locale):new RegExp(me(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,s,i){return t||n||s||i})))}function me(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}B={};var _e={};function ye(e,n){var t,s=n;for("string"==typeof e&&(e=[e]),h(n)&&(s=function(e,t){t[n]=Z(e)}),t=0;t<e.length;t++)_e[e[t]]=s}function ge(e,i){ye(e,function(e,t,n,s){n._w=n._w||{},i(e,n._w,n,s)})}var we,pe=0,ve=1,ke=2,Me=3,De=4,Se=5,Ye=6,Oe=7,be=8;function xe(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,s=(t%(n=12)+n)%n;return e+=(t-s)/12,1==s?j(e)?29:28:31-s%7%2}we=Array.prototype.indexOf?Array.prototype.indexOf:function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},C("M",["MM",2],"Mo",function(){return this.month()+1}),C("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),C("MMMM",0,0,function(e){return this.localeData().months(this,e)}),L("month","M"),A("month",8),ce("M",te),ce("MM",te,Q),ce("MMM",function(e,t){return t.monthsShortRegex(e)}),ce("MMMM",function(e,t){return t.monthsRegex(e)}),ye(["M","MM"],function(e,t){t[ve]=Z(e)-1}),ye(["MMM","MMMM"],function(e,t,n,s){var i=n._locale.monthsParse(e,s,n._strict);null!=i?t[ve]=i:y(n).invalidMonth=e});var Te="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ne="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Pe=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Re=de,We=de;function Ce(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=Z(t);else if(!h(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),xe(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function Ue(e){return null!=e?(Ce(this,e),f.updateOffset(this,!0),this):$(this,"Month")}function He(){function e(e,t){return t.length-e.length}for(var t,n=[],s=[],i=[],r=0;r<12;r++)t=_([2e3,r]),n.push(this.monthsShort(t,"")),s.push(this.months(t,"")),i.push(this.months(t,"")),i.push(this.monthsShort(t,""));for(n.sort(e),s.sort(e),i.sort(e),r=0;r<12;r++)n[r]=me(n[r]),s[r]=me(s[r]);for(r=0;r<24;r++)i[r]=me(i[r]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function Fe(e){return j(e)?366:365}C("Y",0,0,function(){var e=this.year();return e<=9999?T(e,4):"+"+e}),C(0,["YY",2],0,function(){return this.year()%100}),C(0,["YYYY",4],0,"year"),C(0,["YYYYY",5],0,"year"),C(0,["YYYYYY",6,!0],0,"year"),L("year","y"),A("year",1),ce("Y",ue),ce("YY",te,Q),ce("YYYY",re,K),ce("YYYYY",ae,ee),ce("YYYYYY",ae,ee),ye(["YYYYY","YYYYYY"],pe),ye("YYYY",function(e,t){t[pe]=2===e.length?f.parseTwoDigitYear(e):Z(e)}),ye("YY",function(e,t){t[pe]=f.parseTwoDigitYear(e)}),ye("Y",function(e,t){t[pe]=parseInt(e,10)}),f.parseTwoDigitYear=function(e){return Z(e)+(68<Z(e)?1900:2e3)};var Le=z("FullYear",!0);function Ve(e){var t,n;return e<100&&0<=e?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ge(e,t,n){var s=7+t-n;return s-(7+Ve(e,0,s).getUTCDay()-t)%7-1}function Ee(e,t,n,s,i){var r,a=1+7*(t-1)+(7+n-s)%7+Ge(e,s,i),o=a<=0?Fe(r=e-1)+a:a>Fe(e)?(r=e+1,a-Fe(e)):(r=e,a);return{year:r,dayOfYear:o}}function Ae(e,t,n){var s,i,r=Ge(e.year(),t,n),a=Math.floor((e.dayOfYear()-r-1)/7)+1;return a<1?s=a+je(i=e.year()-1,t,n):a>je(e.year(),t,n)?(s=a-je(e.year(),t,n),i=e.year()+1):(i=e.year(),s=a),{week:s,year:i}}function je(e,t,n){var s=Ge(e,t,n),i=Ge(e+1,t,n);return(Fe(e)-s+i)/7}C("w",["ww",2],"wo","week"),C("W",["WW",2],"Wo","isoWeek"),L("week","w"),L("isoWeek","W"),A("week",5),A("isoWeek",5),ce("w",te),ce("ww",te,Q),ce("W",te),ce("WW",te,Q),ge(["w","ww","W","WW"],function(e,t,n,s){t[s.substr(0,1)]=Z(e)});function Ie(e,t){return e.slice(t,7).concat(e.slice(0,t))}C("d",0,"do","day"),C("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),C("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),C("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),C("e",0,0,"weekday"),C("E",0,0,"isoWeekday"),L("day","d"),L("weekday","e"),L("isoWeekday","E"),A("day",11),A("weekday",11),A("isoWeekday",11),ce("d",te),ce("e",te),ce("E",te),ce("dd",function(e,t){return t.weekdaysMinRegex(e)}),ce("ddd",function(e,t){return t.weekdaysShortRegex(e)}),ce("dddd",function(e,t){return t.weekdaysRegex(e)}),ge(["dd","ddd","dddd"],function(e,t,n,s){var i=n._locale.weekdaysParse(e,s,n._strict);null!=i?t.d=i:y(n).invalidWeekday=e}),ge(["d","e","E"],function(e,t,n,s){t[s]=Z(e)});var Ze="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ze="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),$e="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),qe=de,Be=de,Je=de;function Qe(){function e(e,t){return t.length-e.length}for(var t,n,s,i,r=[],a=[],o=[],u=[],l=0;l<7;l++)t=_([2e3,1]).day(l),n=me(this.weekdaysMin(t,"")),s=me(this.weekdaysShort(t,"")),i=me(this.weekdays(t,"")),r.push(n),a.push(s),o.push(i),u.push(n),u.push(s),u.push(i);r.sort(e),a.sort(e),o.sort(e),u.sort(e),this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Xe(){return this.hours()%12||12}function Ke(e,t){C(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function et(e,t){return t._meridiemParse}C("H",["HH",2],0,"hour"),C("h",["hh",2],0,Xe),C("k",["kk",2],0,function(){return this.hours()||24}),C("hmm",0,0,function(){return""+Xe.apply(this)+T(this.minutes(),2)}),C("hmmss",0,0,function(){return""+Xe.apply(this)+T(this.minutes(),2)+T(this.seconds(),2)}),C("Hmm",0,0,function(){return""+this.hours()+T(this.minutes(),2)}),C("Hmmss",0,0,function(){return""+this.hours()+T(this.minutes(),2)+T(this.seconds(),2)}),Ke("a",!0),Ke("A",!1),L("hour","h"),A("hour",13),ce("a",et),ce("A",et),ce("H",te),ce("h",te),ce("k",te),ce("HH",te,Q),ce("hh",te,Q),ce("kk",te,Q),ce("hmm",ne),ce("hmmss",se),ce("Hmm",ne),ce("Hmmss",se),ye(["H","HH"],Me),ye(["k","kk"],function(e,t,n){var s=Z(e);t[Me]=24===s?0:s}),ye(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ye(["h","hh"],function(e,t,n){t[Me]=Z(e),y(n).bigHour=!0}),ye("hmm",function(e,t,n){var s=e.length-2;t[Me]=Z(e.substr(0,s)),t[De]=Z(e.substr(s)),y(n).bigHour=!0}),ye("hmmss",function(e,t,n){var s=e.length-4,i=e.length-2;t[Me]=Z(e.substr(0,s)),t[De]=Z(e.substr(s,2)),t[Se]=Z(e.substr(i)),y(n).bigHour=!0}),ye("Hmm",function(e,t,n){var s=e.length-2;t[Me]=Z(e.substr(0,s)),t[De]=Z(e.substr(s))}),ye("Hmmss",function(e,t,n){var s=e.length-4,i=e.length-2;t[Me]=Z(e.substr(0,s)),t[De]=Z(e.substr(s,2)),t[Se]=Z(e.substr(i))});var tt=z("Hours",!0);var nt,st={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Te,monthsShort:Ne,week:{dow:0,doy:6},weekdays:Ze,weekdaysMin:$e,weekdaysShort:ze,meridiemParse:/[ap]\.?m?\.?/i},it={},rt={};function at(e){return e?e.toLowerCase().replace("_","-"):e}function ot(e){for(var t,n,s,i,r=0;r<e.length;){for(t=(i=at(e[r]).split("-")).length,n=(n=at(e[r+1]))?n.split("-"):null;0<t;){if(s=ut(i.slice(0,t).join("-")))return s;if(n&&n.length>=t&&function(e,t){for(var n=Math.min(e.length,t.length),s=0;s<n;s+=1)if(e[s]!==t[s])return s;return n}(i,n)>=t-1)break;t--}r++}return nt}function ut(t){var e;if(void 0===it[t]&&"undefined"!=typeof module&&module&&module.exports)try{e=nt._abbr,require("./locale/"+t),lt(e)}catch(e){it[t]=null}return it[t]}function lt(e,t){var n;return e&&((n=r(t)?dt(e):ht(e,t))?nt=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),nt._abbr}function ht(e,t){if(null===t)return delete it[e],null;var n,s=st;if(t.abbr=e,null!=it[e])Y("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),s=it[e]._config;else if(null!=t.parentLocale)if(null!=it[t.parentLocale])s=it[t.parentLocale]._config;else{if(null==(n=ut(t.parentLocale)))return rt[t.parentLocale]||(rt[t.parentLocale]=[]),rt[t.parentLocale].push({name:e,config:t}),null;s=n._config}return it[e]=new x(b(s,t)),rt[e]&&rt[e].forEach(function(e){ht(e.name,e.config)}),lt(e),it[e]}function dt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return nt;if(!o(e)){if(t=ut(e))return t;e=[e]}return ot(e)}function ct(e){var t,n=e._a;return n&&-2===y(e).overflow&&(t=n[ve]<0||11<n[ve]?ve:n[ke]<1||n[ke]>xe(n[pe],n[ve])?ke:n[Me]<0||24<n[Me]||24===n[Me]&&(0!==n[De]||0!==n[Se]||0!==n[Ye])?Me:n[De]<0||59<n[De]?De:n[Se]<0||59<n[Se]?Se:n[Ye]<0||999<n[Ye]?Ye:-1,y(e)._overflowDayOfYear&&(t<pe||ke<t)&&(t=ke),y(e)._overflowWeeks&&-1===t&&(t=Oe),y(e)._overflowWeekday&&-1===t&&(t=be),y(e).overflow=t),e}var ft=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,mt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,_t=/Z|[+-]\d\d(?::?\d\d)?/,yt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],gt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],wt=/^\/?Date\((-?\d+)/i,pt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,vt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function kt(e){var t,n,s,i,r,a,o=e._i,u=ft.exec(o)||mt.exec(o);if(u){for(y(e).iso=!0,t=0,n=yt.length;t<n;t++)if(yt[t][1].exec(u[1])){i=yt[t][0],s=!1!==yt[t][2];break}if(null==i)return void(e._isValid=!1);if(u[3]){for(t=0,n=gt.length;t<n;t++)if(gt[t][1].exec(u[3])){r=(u[2]||" ")+gt[t][0];break}if(null==r)return void(e._isValid=!1)}if(!s&&null!=r)return void(e._isValid=!1);if(u[4]){if(!_t.exec(u[4]))return void(e._isValid=!1);a="Z"}e._f=i+(r||"")+(a||""),Ot(e)}else e._isValid=!1}function Mt(e,t,n,s,i,r){var a=[function(e){var t=parseInt(e,10);{if(t<=49)return 2e3+t;if(t<=999)return 1900+t}return t}(e),Ne.indexOf(t),parseInt(n,10),parseInt(s,10),parseInt(i,10)];return r&&a.push(parseInt(r,10)),a}function Dt(e){var t,n,s,i,r=pt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(r){if(t=Mt(r[4],r[3],r[2],r[5],r[6],r[7]),n=r[1],s=t,i=e,n&&ze.indexOf(n)!==new Date(s[0],s[1],s[2]).getDay()&&(y(i).weekdayMismatch=!0,!void(i._isValid=!1)))return;e._a=t,e._tzm=function(e,t,n){if(e)return vt[e];if(t)return 0;var s=parseInt(n,10),i=s%100;return 60*((s-i)/100)+i}(r[8],r[9],r[10]),e._d=Ve.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),y(e).rfc2822=!0}else e._isValid=!1}function St(e,t,n){return null!=e?e:null!=t?t:n}function Yt(e){var t,n,s,i,r,a,o,u=[];if(!e._d){for(a=e,o=new Date(f.now()),s=a._useUTC?[o.getUTCFullYear(),o.getUTCMonth(),o.getUTCDate()]:[o.getFullYear(),o.getMonth(),o.getDate()],e._w&&null==e._a[ke]&&null==e._a[ve]&&function(e){var t,n,s,i,r,a,o,u,l;null!=(t=e._w).GG||null!=t.W||null!=t.E?(r=1,a=4,n=St(t.GG,e._a[pe],Ae(Tt(),1,4).year),s=St(t.W,1),((i=St(t.E,1))<1||7<i)&&(u=!0)):(r=e._locale._week.dow,a=e._locale._week.doy,l=Ae(Tt(),r,a),n=St(t.gg,e._a[pe],l.year),s=St(t.w,l.week),null!=t.d?((i=t.d)<0||6<i)&&(u=!0):null!=t.e?(i=t.e+r,(t.e<0||6<t.e)&&(u=!0)):i=r);s<1||s>je(n,r,a)?y(e)._overflowWeeks=!0:null!=u?y(e)._overflowWeekday=!0:(o=Ee(n,s,i,r,a),e._a[pe]=o.year,e._dayOfYear=o.dayOfYear)}(e),null!=e._dayOfYear&&(r=St(e._a[pe],s[pe]),(e._dayOfYear>Fe(r)||0===e._dayOfYear)&&(y(e)._overflowDayOfYear=!0),n=Ve(r,0,e._dayOfYear),e._a[ve]=n.getUTCMonth(),e._a[ke]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=u[t]=s[t];for(;t<7;t++)e._a[t]=u[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Me]&&0===e._a[De]&&0===e._a[Se]&&0===e._a[Ye]&&(e._nextDay=!0,e._a[Me]=0),e._d=(e._useUTC?Ve:function(e,t,n,s,i,r,a){var o;return e<100&&0<=e?(o=new Date(e+400,t,n,s,i,r,a),isFinite(o.getFullYear())&&o.setFullYear(e)):o=new Date(e,t,n,s,i,r,a),o}).apply(null,u),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Me]=24),e._w&&void 0!==e._w.d&&e._w.d!==i&&(y(e).weekdayMismatch=!0)}}function Ot(e){if(e._f!==f.ISO_8601)if(e._f!==f.RFC_2822){e._a=[],y(e).empty=!0;for(var t,n,s,i,r,a,o,u=""+e._i,l=u.length,h=0,d=H(e._f,e._locale).match(N)||[],c=0;c<d.length;c++)n=d[c],(t=(u.match(fe(n,e))||[])[0])&&(0<(s=u.substr(0,u.indexOf(t))).length&&y(e).unusedInput.push(s),u=u.slice(u.indexOf(t)+t.length),h+=t.length),W[n]?(t?y(e).empty=!1:y(e).unusedTokens.push(n),r=n,o=e,null!=(a=t)&&m(_e,r)&&_e[r](a,o._a,o,r)):e._strict&&!t&&y(e).unusedTokens.push(n);y(e).charsLeftOver=l-h,0<u.length&&y(e).unusedInput.push(u),e._a[Me]<=12&&!0===y(e).bigHour&&0<e._a[Me]&&(y(e).bigHour=void 0),y(e).parsedDateParts=e._a.slice(0),y(e).meridiem=e._meridiem,e._a[Me]=function(e,t,n){var s;if(null==n)return t;return null!=e.meridiemHour?e.meridiemHour(t,n):(null!=e.isPM&&((s=e.isPM(n))&&t<12&&(t+=12),s||12!==t||(t=0)),t)}(e._locale,e._a[Me],e._meridiem),null!==(i=y(e).era)&&(e._a[pe]=e._locale.erasConvertYear(i,e._a[pe])),Yt(e),ct(e)}else Dt(e);else kt(e)}function bt(e){var t,n,s=e._i,i=e._f;return e._locale=e._locale||dt(e._l),null===s||void 0===i&&""===s?w({nullInput:!0}):("string"==typeof s&&(e._i=s=e._locale.preparse(s)),M(s)?new k(ct(s)):(a(s)?e._d=s:o(i)?function(e){var t,n,s,i,r,a,o=!1;if(0===e._f.length)return y(e).invalidFormat=!0,e._d=new Date(NaN);for(i=0;i<e._f.length;i++)r=0,a=!1,t=v({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Ot(t),g(t)&&(a=!0),r+=y(t).charsLeftOver,r+=10*y(t).unusedTokens.length,y(t).score=r,o?r<s&&(s=r,n=t):(null==s||r<s||a)&&(s=r,n=t,a&&(o=!0));c(e,n||t)}(e):i?Ot(e):r(n=(t=e)._i)?t._d=new Date(f.now()):a(n)?t._d=new Date(n.valueOf()):"string"==typeof n?function(e){var t=wt.exec(e._i);null===t?(kt(e),!1===e._isValid&&(delete e._isValid,Dt(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:f.createFromInputFallback(e)))):e._d=new Date(+t[1])}(t):o(n)?(t._a=d(n.slice(0),function(e){return parseInt(e,10)}),Yt(t)):u(n)?function(e){var t,n;e._d||(n=void 0===(t=G(e._i)).day?t.date:t.day,e._a=d([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),Yt(e))}(t):h(n)?t._d=new Date(n):f.createFromInputFallback(t),g(e)||(e._d=null),e))}function xt(e,t,n,s,i){var r,a={};return!0!==t&&!1!==t||(s=t,t=void 0),!0!==n&&!1!==n||(s=n,n=void 0),(u(e)&&l(e)||o(e)&&0===e.length)&&(e=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=i,a._l=n,a._i=e,a._f=t,a._strict=s,(r=new k(ct(bt(a))))._nextDay&&(r.add(1,"d"),r._nextDay=void 0),r}function Tt(e,t,n,s){return xt(e,t,n,s,!1)}f.createFromInputFallback=n("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),f.ISO_8601=function(){},f.RFC_2822=function(){};var Nt=n("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Tt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:w()}),Pt=n("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Tt.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:w()});function Rt(e,t){var n,s;if(1===t.length&&o(t[0])&&(t=t[0]),!t.length)return Tt();for(n=t[0],s=1;s<t.length;++s)t[s].isValid()&&!t[s][e](n)||(n=t[s]);return n}var Wt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Ct(e){var t=G(e),n=t.year||0,s=t.quarter||0,i=t.month||0,r=t.week||t.isoWeek||0,a=t.day||0,o=t.hour||0,u=t.minute||0,l=t.second||0,h=t.millisecond||0;this._isValid=function(e){var t,n,s=!1;for(t in e)if(m(e,t)&&(-1===we.call(Wt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<Wt.length;++n)if(e[Wt[n]]){if(s)return!1;parseFloat(e[Wt[n]])!==Z(e[Wt[n]])&&(s=!0)}return!0}(t),this._milliseconds=+h+1e3*l+6e4*u+1e3*o*60*60,this._days=+a+7*r,this._months=+i+3*s+12*n,this._data={},this._locale=dt(),this._bubble()}function Ut(e){return e instanceof Ct}function Ht(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Ft(e,n){C(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+T(~~(e/60),2)+n+T(~~e%60,2)})}Ft("Z",":"),Ft("ZZ",""),ce("Z",he),ce("ZZ",he),ye(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Vt(he,e)});var Lt=/([\+\-]|\d\d)/gi;function Vt(e,t){var n,s,i=(t||"").match(e);return null===i?null:0===(s=60*(n=((i[i.length-1]||[])+"").match(Lt)||["-",0,0])[1]+Z(n[2]))?0:"+"===n[0]?s:-s}function Gt(e,t){var n,s;return t._isUTC?(n=t.clone(),s=(M(e)||a(e)?e.valueOf():Tt(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+s),f.updateOffset(n,!1),n):Tt(e).local()}function Et(e){return-Math.round(e._d.getTimezoneOffset())}function At(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}f.updateOffset=function(){};var jt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,It=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Zt(e,t){var n,s,i,r=e,a=null;return Ut(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:h(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(a=jt.exec(e))?(n="-"===a[1]?-1:1,r={y:0,d:Z(a[ke])*n,h:Z(a[Me])*n,m:Z(a[De])*n,s:Z(a[Se])*n,ms:Z(Ht(1e3*a[Ye]))*n}):(a=It.exec(e))?(n="-"===a[1]?-1:1,r={y:zt(a[2],n),M:zt(a[3],n),w:zt(a[4],n),d:zt(a[5],n),h:zt(a[6],n),m:zt(a[7],n),s:zt(a[8],n)}):null==r?r={}:"object"==typeof r&&("from"in r||"to"in r)&&(i=function(e,t){var n;if(!e.isValid()||!t.isValid())return{milliseconds:0,months:0};t=Gt(t,e),e.isBefore(t)?n=$t(e,t):((n=$t(t,e)).milliseconds=-n.milliseconds,n.months=-n.months);return n}(Tt(r.from),Tt(r.to)),(r={}).ms=i.milliseconds,r.M=i.months),s=new Ct(r),Ut(e)&&m(e,"_locale")&&(s._locale=e._locale),Ut(e)&&m(e,"_isValid")&&(s._isValid=e._isValid),s}function zt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function $t(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=t-e.clone().add(n.months,"M"),n}function qt(s,i){return function(e,t){var n;return null===t||isNaN(+t)||(Y(i,"moment()."+i+"(period, number) is deprecated. Please use moment()."+i+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=e,e=t,t=n),Bt(this,Zt(e,t),s),this}}function Bt(e,t,n,s){var i=t._milliseconds,r=Ht(t._days),a=Ht(t._months);e.isValid()&&(s=null==s||s,a&&Ce(e,$(e,"Month")+a*n),r&&q(e,"Date",$(e,"Date")+r*n),i&&e._d.setTime(e._d.valueOf()+i*n),s&&f.updateOffset(e,r||a))}Zt.fn=Ct.prototype,Zt.invalid=function(){return Zt(NaN)};var Jt=qt(1,"add"),Qt=qt(-1,"subtract");function Xt(e){return"string"==typeof e||e instanceof String}function Kt(e){return M(e)||a(e)||Xt(e)||h(e)||function(t){var e=o(t),n=!1;e&&(n=0===t.filter(function(e){return!h(e)&&Xt(t)}).length);return e&&n}(e)||function(e){var t,n,s=u(e)&&!l(e),i=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(t=0;t<r.length;t+=1)n=r[t],i=i||m(e,n);return s&&i}(e)||null==e}function en(e,t){if(e.date()<t.date())return-en(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),s=e.clone().add(n,"months"),i=t-s<0?(t-s)/(s-e.clone().add(n-1,"months")):(t-s)/(e.clone().add(1+n,"months")-s);return-(n+i)||0}function tn(e){var t;return void 0===e?this._locale._abbr:(null!=(t=dt(e))&&(this._locale=t),this)}f.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",f.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var nn=n("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function sn(){return this._locale}var rn=126227808e5;function an(e,t){return(e%t+t)%t}function on(e,t,n){return e<100&&0<=e?new Date(e+400,t,n)-rn:new Date(e,t,n).valueOf()}function un(e,t,n){return e<100&&0<=e?Date.UTC(e+400,t,n)-rn:Date.UTC(e,t,n)}function ln(e,t){return t.erasAbbrRegex(e)}function hn(){for(var e=[],t=[],n=[],s=[],i=this.eras(),r=0,a=i.length;r<a;++r)t.push(me(i[r].name)),e.push(me(i[r].abbr)),n.push(me(i[r].narrow)),s.push(me(i[r].name)),s.push(me(i[r].abbr)),s.push(me(i[r].narrow));this._erasRegex=new RegExp("^("+s.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}function dn(e,t){C(0,[e,e.length],0,t)}function cn(e,t,n,s,i){var r;return null==e?Ae(this,s,i).year:((r=je(e,s,i))<t&&(t=r),function(e,t,n,s,i){var r=Ee(e,t,n,s,i),a=Ve(r.year,0,r.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}.call(this,e,t,n,s,i))}C("N",0,0,"eraAbbr"),C("NN",0,0,"eraAbbr"),C("NNN",0,0,"eraAbbr"),C("NNNN",0,0,"eraName"),C("NNNNN",0,0,"eraNarrow"),C("y",["y",1],"yo","eraYear"),C("y",["yy",2],0,"eraYear"),C("y",["yyy",3],0,"eraYear"),C("y",["yyyy",4],0,"eraYear"),ce("N",ln),ce("NN",ln),ce("NNN",ln),ce("NNNN",function(e,t){return t.erasNameRegex(e)}),ce("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),ye(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,s){var i=n._locale.erasParse(e,s,n._strict);i?y(n).era=i:y(n).invalidEra=e}),ce("y",oe),ce("yy",oe),ce("yyy",oe),ce("yyyy",oe),ce("yo",function(e,t){return t._eraYearOrdinalRegex||oe}),ye(["y","yy","yyy","yyyy"],pe),ye(["yo"],function(e,t,n,s){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[pe]=n._locale.eraYearOrdinalParse(e,i):t[pe]=parseInt(e,10)}),C(0,["gg",2],0,function(){return this.weekYear()%100}),C(0,["GG",2],0,function(){return this.isoWeekYear()%100}),dn("gggg","weekYear"),dn("ggggg","weekYear"),dn("GGGG","isoWeekYear"),dn("GGGGG","isoWeekYear"),L("weekYear","gg"),L("isoWeekYear","GG"),A("weekYear",1),A("isoWeekYear",1),ce("G",ue),ce("g",ue),ce("GG",te,Q),ce("gg",te,Q),ce("GGGG",re,K),ce("gggg",re,K),ce("GGGGG",ae,ee),ce("ggggg",ae,ee),ge(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,s){t[s.substr(0,2)]=Z(e)}),ge(["gg","GG"],function(e,t,n,s){t[s]=f.parseTwoDigitYear(e)}),C("Q",0,"Qo","quarter"),L("quarter","Q"),A("quarter",7),ce("Q",J),ye("Q",function(e,t){t[ve]=3*(Z(e)-1)}),C("D",["DD",2],"Do","date"),L("date","D"),A("date",9),ce("D",te),ce("DD",te,Q),ce("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),ye(["D","DD"],ke),ye("Do",function(e,t){t[ke]=Z(e.match(te)[0])});var fn=z("Date",!0);C("DDD",["DDDD",3],"DDDo","dayOfYear"),L("dayOfYear","DDD"),A("dayOfYear",4),ce("DDD",ie),ce("DDDD",X),ye(["DDD","DDDD"],function(e,t,n){n._dayOfYear=Z(e)}),C("m",["mm",2],0,"minute"),L("minute","m"),A("minute",14),ce("m",te),ce("mm",te,Q),ye(["m","mm"],De);var mn=z("Minutes",!1);C("s",["ss",2],0,"second"),L("second","s"),A("second",15),ce("s",te),ce("ss",te,Q),ye(["s","ss"],Se);var _n,yn,gn=z("Seconds",!1);for(C("S",0,0,function(){return~~(this.millisecond()/100)}),C(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),C(0,["SSS",3],0,"millisecond"),C(0,["SSSS",4],0,function(){return 10*this.millisecond()}),C(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),C(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),C(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),C(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),C(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),L("millisecond","ms"),A("millisecond",16),ce("S",ie,J),ce("SS",ie,Q),ce("SSS",ie,X),_n="SSSS";_n.length<=9;_n+="S")ce(_n,oe);function wn(e,t){t[Ye]=Z(1e3*("0."+e))}for(_n="S";_n.length<=9;_n+="S")ye(_n,wn);yn=z("Milliseconds",!1),C("z",0,0,"zoneAbbr"),C("zz",0,0,"zoneName");var pn=k.prototype;function vn(e){return e}pn.add=Jt,pn.calendar=function(e,t){1===arguments.length&&(arguments[0]?Kt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=u(e)&&!l(e),n=!1,s=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i=0;i<s.length;i+=1)n=n||m(e,s[i]);return t&&n}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var n=e||Tt(),s=Gt(n,this).startOf("day"),i=f.calendarFormat(this,s)||"sameElse",r=t&&(O(t[i])?t[i].call(this,n):t[i]);return this.format(r||this.localeData().calendar(i,this,Tt(n)))},pn.clone=function(){return new k(this)},pn.diff=function(e,t,n){var s,i,r;if(!this.isValid())return NaN;if(!(s=Gt(e,this)).isValid())return NaN;switch(i=6e4*(s.utcOffset()-this.utcOffset()),t=V(t)){case"year":r=en(this,s)/12;break;case"month":r=en(this,s);break;case"quarter":r=en(this,s)/3;break;case"second":r=(this-s)/1e3;break;case"minute":r=(this-s)/6e4;break;case"hour":r=(this-s)/36e5;break;case"day":r=(this-s-i)/864e5;break;case"week":r=(this-s-i)/6048e5;break;default:r=this-s}return n?r:I(r)},pn.endOf=function(e){var t,n;if(void 0===(e=V(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?un:on,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-an(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-an(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-an(t,1e3)-1;break}return this._d.setTime(t),f.updateOffset(this,!0),this},pn.format=function(e){e=e||(this.isUtc()?f.defaultFormatUtc:f.defaultFormat);var t=U(this,e);return this.localeData().postformat(t)},pn.from=function(e,t){return this.isValid()&&(M(e)&&e.isValid()||Tt(e).isValid())?Zt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},pn.fromNow=function(e){return this.from(Tt(),e)},pn.to=function(e,t){return this.isValid()&&(M(e)&&e.isValid()||Tt(e).isValid())?Zt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},pn.toNow=function(e){return this.to(Tt(),e)},pn.get=function(e){return O(this[e=V(e)])?this[e]():this},pn.invalidAt=function(){return y(this).overflow},pn.isAfter=function(e,t){var n=M(e)?e:Tt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=V(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},pn.isBefore=function(e,t){var n=M(e)?e:Tt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=V(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},pn.isBetween=function(e,t,n,s){var i=M(e)?e:Tt(e),r=M(t)?t:Tt(t);return!!(this.isValid()&&i.isValid()&&r.isValid())&&(("("===(s=s||"()")[0]?this.isAfter(i,n):!this.isBefore(i,n))&&(")"===s[1]?this.isBefore(r,n):!this.isAfter(r,n)))},pn.isSame=function(e,t){var n,s=M(e)?e:Tt(e);return!(!this.isValid()||!s.isValid())&&("millisecond"===(t=V(t)||"millisecond")?this.valueOf()===s.valueOf():(n=s.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},pn.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},pn.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},pn.isValid=function(){return g(this)},pn.lang=nn,pn.locale=tn,pn.localeData=sn,pn.max=Pt,pn.min=Nt,pn.parsingFlags=function(){return c({},y(this))},pn.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t,n=[];for(t in e)m(e,t)&&n.push({unit:t,priority:E[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}(e=G(e)),s=0;s<n.length;s++)this[n[s].unit](e[n[s].unit]);else if(O(this[e=V(e)]))return this[e](t);return this},pn.startOf=function(e){var t,n;if(void 0===(e=V(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?un:on,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=an(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=an(t,6e4);break;case"second":t=this._d.valueOf(),t-=an(t,1e3);break}return this._d.setTime(t),f.updateOffset(this,!0),this},pn.subtract=Qt,pn.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},pn.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},pn.toDate=function(){return new Date(this.valueOf())},pn.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||9999<n.year()?U(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):O(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",U(n,"Z")):U(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},pn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,s="moment",i="";return this.isLocal()||(s=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),e="["+s+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n=i+'[")]',this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+n)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(pn[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),pn.toJSON=function(){return this.isValid()?this.toISOString():null},pn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},pn.unix=function(){return Math.floor(this.valueOf()/1e3)},pn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},pn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},pn.eraName=function(){for(var e,t=this.localeData().eras(),n=0,s=t.length;n<s;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].name;if(t[n].until<=e&&e<=t[n].since)return t[n].name}return""},pn.eraNarrow=function(){for(var e,t=this.localeData().eras(),n=0,s=t.length;n<s;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].narrow;if(t[n].until<=e&&e<=t[n].since)return t[n].narrow}return""},pn.eraAbbr=function(){for(var e,t=this.localeData().eras(),n=0,s=t.length;n<s;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].abbr;if(t[n].until<=e&&e<=t[n].since)return t[n].abbr}return""},pn.eraYear=function(){for(var e,t,n=this.localeData().eras(),s=0,i=n.length;s<i;++s)if(e=n[s].since<=n[s].until?1:-1,t=this.clone().startOf("day").valueOf(),n[s].since<=t&&t<=n[s].until||n[s].until<=t&&t<=n[s].since)return(this.year()-f(n[s].since).year())*e+n[s].offset;return this.year()},pn.year=Le,pn.isLeapYear=function(){return j(this.year())},pn.weekYear=function(e){return cn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},pn.isoWeekYear=function(e){return cn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},pn.quarter=pn.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},pn.month=Ue,pn.daysInMonth=function(){return xe(this.year(),this.month())},pn.week=pn.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},pn.isoWeek=pn.isoWeeks=function(e){var t=Ae(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},pn.weeksInYear=function(){var e=this.localeData()._week;return je(this.year(),e.dow,e.doy)},pn.weeksInWeekYear=function(){var e=this.localeData()._week;return je(this.weekYear(),e.dow,e.doy)},pn.isoWeeksInYear=function(){return je(this.year(),1,4)},pn.isoWeeksInISOWeekYear=function(){return je(this.isoWeekYear(),1,4)},pn.date=fn,pn.day=pn.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t,n,s=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(t=e,n=this.localeData(),e="string"!=typeof t?t:isNaN(t)?"number"==typeof(t=n.weekdaysParse(t))?t:null:parseInt(t,10),this.add(e-s,"d")):s},pn.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},pn.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null==e)return this.day()||7;var t,n,s=(t=e,n=this.localeData(),"string"==typeof t?n.weekdaysParse(t)%7||7:isNaN(t)?null:t);return this.day(this.day()%7?s:s-7)},pn.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},pn.hour=pn.hours=tt,pn.minute=pn.minutes=mn,pn.second=pn.seconds=gn,pn.millisecond=pn.milliseconds=yn,pn.utcOffset=function(e,t,n){var s,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?i:Et(this);if("string"==typeof e){if(null===(e=Vt(he,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(s=Et(this)),this._offset=e,this._isUTC=!0,null!=s&&this.add(s,"m"),i!==e&&(!t||this._changeInProgress?Bt(this,Zt(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,f.updateOffset(this,!0),this._changeInProgress=null)),this},pn.utc=function(e){return this.utcOffset(0,e)},pn.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Et(this),"m")),this},pn.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Vt(le,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},pn.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Tt(e).utcOffset():0,(this.utcOffset()-e)%60==0)},pn.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},pn.isLocal=function(){return!!this.isValid()&&!this._isUTC},pn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},pn.isUtc=At,pn.isUTC=At,pn.zoneAbbr=function(){return this._isUTC?"UTC":""},pn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},pn.dates=n("dates accessor is deprecated. Use date instead.",fn),pn.months=n("months accessor is deprecated. Use month instead",Ue),pn.years=n("years accessor is deprecated. Use year instead",Le),pn.zone=n("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}),pn.isDSTShifted=n("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!r(this._isDSTShifted))return this._isDSTShifted;var e,t={};return v(t,this),(t=bt(t))._a?(e=(t._isUTC?_:Tt)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,n){for(var s=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),r=0,a=0;a<s;a++)(n&&e[a]!==t[a]||!n&&Z(e[a])!==Z(t[a]))&&r++;return r+i}(t._a,e.toArray())):this._isDSTShifted=!1,this._isDSTShifted});var kn=x.prototype;function Mn(e,t,n,s){var i=dt(),r=_().set(s,t);return i[n](r,e)}function Dn(e,t,n){if(h(e)&&(t=e,e=void 0),e=e||"",null!=t)return Mn(e,t,n,"month");for(var s=[],i=0;i<12;i++)s[i]=Mn(e,i,n,"month");return s}function Sn(e,t,n,s){t=("boolean"==typeof e?h(t)&&(n=t,t=void 0):(t=e,e=!1,h(n=t)&&(n=t,t=void 0)),t||"");var i,r=dt(),a=e?r._week.dow:0,o=[];if(null!=n)return Mn(t,(n+a)%7,s,"day");for(i=0;i<7;i++)o[i]=Mn(t,(i+a)%7,s,"day");return o}kn.calendar=function(e,t,n){var s=this._calendar[e]||this._calendar.sameElse;return O(s)?s.call(t,n):s},kn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(N).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},kn.invalidDate=function(){return this._invalidDate},kn.ordinal=function(e){return this._ordinal.replace("%d",e)},kn.preparse=vn,kn.postformat=vn,kn.relativeTime=function(e,t,n,s){var i=this._relativeTime[n];return O(i)?i(e,t,n,s):i.replace(/%d/i,e)},kn.pastFuture=function(e,t){var n=this._relativeTime[0<e?"future":"past"];return O(n)?n(t):n.replace(/%s/i,t)},kn.set=function(e){var t,n;for(n in e)m(e,n)&&(O(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},kn.eras=function(e,t){for(var n,s=this._eras||dt("en")._eras,i=0,r=s.length;i<r;++i){switch(typeof s[i].since){case"string":n=f(s[i].since).startOf("day"),s[i].since=n.valueOf();break}switch(typeof s[i].until){case"undefined":s[i].until=1/0;break;case"string":n=f(s[i].until).startOf("day").valueOf(),s[i].until=n.valueOf();break}}return s},kn.erasParse=function(e,t,n){var s,i,r,a,o,u=this.eras();for(e=e.toUpperCase(),s=0,i=u.length;s<i;++s)if(r=u[s].name.toUpperCase(),a=u[s].abbr.toUpperCase(),o=u[s].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(a===e)return u[s];break;case"NNNN":if(r===e)return u[s];break;case"NNNNN":if(o===e)return u[s];break}else if(0<=[r,a,o].indexOf(e))return u[s]},kn.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?f(e.since).year():f(e.since).year()+(t-e.offset)*n},kn.erasAbbrRegex=function(e){return m(this,"_erasAbbrRegex")||hn.call(this),e?this._erasAbbrRegex:this._erasRegex},kn.erasNameRegex=function(e){return m(this,"_erasNameRegex")||hn.call(this),e?this._erasNameRegex:this._erasRegex},kn.erasNarrowRegex=function(e){return m(this,"_erasNarrowRegex")||hn.call(this),e?this._erasNarrowRegex:this._erasRegex},kn.months=function(e,t){return e?o(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Pe).test(t)?"format":"standalone"][e.month()]:o(this._months)?this._months:this._months.standalone},kn.monthsShort=function(e,t){return e?o(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Pe.test(t)?"format":"standalone"][e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},kn.monthsParse=function(e,t,n){var s,i,r;if(this._monthsParseExact)return function(e,t,n){var s,i,r,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],s=0;s<12;++s)r=_([2e3,s]),this._shortMonthsParse[s]=this.monthsShort(r,"").toLocaleLowerCase(),this._longMonthsParse[s]=this.months(r,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=we.call(this._shortMonthsParse,a))?i:null:-1!==(i=we.call(this._longMonthsParse,a))?i:null:"MMM"===t?-1!==(i=we.call(this._shortMonthsParse,a))||-1!==(i=we.call(this._longMonthsParse,a))?i:null:-1!==(i=we.call(this._longMonthsParse,a))||-1!==(i=we.call(this._shortMonthsParse,a))?i:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),s=0;s<12;s++){if(i=_([2e3,s]),n&&!this._longMonthsParse[s]&&(this._longMonthsParse[s]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[s]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[s]||(r="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[s]=new RegExp(r.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[s].test(e))return s;if(n&&"MMM"===t&&this._shortMonthsParse[s].test(e))return s;if(!n&&this._monthsParse[s].test(e))return s}},kn.monthsRegex=function(e){return this._monthsParseExact?(m(this,"_monthsRegex")||He.call(this),e?this._monthsStrictRegex:this._monthsRegex):(m(this,"_monthsRegex")||(this._monthsRegex=We),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},kn.monthsShortRegex=function(e){return this._monthsParseExact?(m(this,"_monthsRegex")||He.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(m(this,"_monthsShortRegex")||(this._monthsShortRegex=Re),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},kn.week=function(e){return Ae(e,this._week.dow,this._week.doy).week},kn.firstDayOfYear=function(){return this._week.doy},kn.firstDayOfWeek=function(){return this._week.dow},kn.weekdays=function(e,t){var n=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Ie(n,this._week.dow):e?n[e.day()]:n},kn.weekdaysMin=function(e){return!0===e?Ie(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},kn.weekdaysShort=function(e){return!0===e?Ie(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},kn.weekdaysParse=function(e,t,n){var s,i,r;if(this._weekdaysParseExact)return function(e,t,n){var s,i,r,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],s=0;s<7;++s)r=_([2e3,1]).day(s),this._minWeekdaysParse[s]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[s]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[s]=this.weekdays(r,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=we.call(this._weekdaysParse,a))?i:null:"ddd"===t?-1!==(i=we.call(this._shortWeekdaysParse,a))?i:null:-1!==(i=we.call(this._minWeekdaysParse,a))?i:null:"dddd"===t?-1!==(i=we.call(this._weekdaysParse,a))||-1!==(i=we.call(this._shortWeekdaysParse,a))||-1!==(i=we.call(this._minWeekdaysParse,a))?i:null:"ddd"===t?-1!==(i=we.call(this._shortWeekdaysParse,a))||-1!==(i=we.call(this._weekdaysParse,a))||-1!==(i=we.call(this._minWeekdaysParse,a))?i:null:-1!==(i=we.call(this._minWeekdaysParse,a))||-1!==(i=we.call(this._weekdaysParse,a))||-1!==(i=we.call(this._shortWeekdaysParse,a))?i:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),s=0;s<7;s++){if(i=_([2e3,1]).day(s),n&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[s]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[s]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[s]||(r="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[s]=new RegExp(r.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[s].test(e))return s;if(n&&"ddd"===t&&this._shortWeekdaysParse[s].test(e))return s;if(n&&"dd"===t&&this._minWeekdaysParse[s].test(e))return s;if(!n&&this._weekdaysParse[s].test(e))return s}},kn.weekdaysRegex=function(e){return this._weekdaysParseExact?(m(this,"_weekdaysRegex")||Qe.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(m(this,"_weekdaysRegex")||(this._weekdaysRegex=qe),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},kn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(m(this,"_weekdaysRegex")||Qe.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(m(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Be),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},kn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(m(this,"_weekdaysRegex")||Qe.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(m(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Je),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},kn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},kn.meridiem=function(e,t,n){return 11<e?n?"pm":"PM":n?"am":"AM"},lt("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===Z(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),f.lang=n("moment.lang is deprecated. Use moment.locale instead.",lt),f.langData=n("moment.langData is deprecated. Use moment.localeData instead.",dt);var Yn=Math.abs;function On(e,t,n,s){var i=Zt(t,n);return e._milliseconds+=s*i._milliseconds,e._days+=s*i._days,e._months+=s*i._months,e._bubble()}function bn(e){return e<0?Math.floor(e):Math.ceil(e)}function xn(e){return 4800*e/146097}function Tn(e){return 146097*e/4800}function Nn(e){return function(){return this.as(e)}}var Pn=Nn("ms"),Rn=Nn("s"),Wn=Nn("m"),Cn=Nn("h"),Un=Nn("d"),Hn=Nn("w"),Fn=Nn("M"),Ln=Nn("Q"),Vn=Nn("y");function Gn(e){return function(){return this.isValid()?this._data[e]:NaN}}var En=Gn("milliseconds"),An=Gn("seconds"),jn=Gn("minutes"),In=Gn("hours"),Zn=Gn("days"),zn=Gn("months"),$n=Gn("years");var qn=Math.round,Bn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Jn(e,t,n,s){var i=Zt(e).abs(),r=qn(i.as("s")),a=qn(i.as("m")),o=qn(i.as("h")),u=qn(i.as("d")),l=qn(i.as("M")),h=qn(i.as("w")),d=qn(i.as("y")),c=(r<=n.ss?["s",r]:r<n.s&&["ss",r])||a<=1&&["m"]||a<n.m&&["mm",a]||o<=1&&["h"]||o<n.h&&["hh",o]||u<=1&&["d"]||u<n.d&&["dd",u];return null!=n.w&&(c=c||h<=1&&["w"]||h<n.w&&["ww",h]),(c=c||l<=1&&["M"]||l<n.M&&["MM",l]||d<=1&&["y"]||["yy",d])[2]=t,c[3]=0<+e,c[4]=s,function(e,t,n,s,i){return i.relativeTime(t||1,!!n,e,s)}.apply(null,c)}var Qn=Math.abs;function Xn(e){return(0<e)-(e<0)||+e}function Kn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,s,i,r,a,o,u=Qn(this._milliseconds)/1e3,l=Qn(this._days),h=Qn(this._months),d=this.asSeconds();return d?(e=I(u/60),t=I(e/60),u%=60,e%=60,n=I(h/12),h%=12,s=u?u.toFixed(3).replace(/\.?0+$/,""):"",i=d<0?"-":"",r=Xn(this._months)!==Xn(d)?"-":"",a=Xn(this._days)!==Xn(d)?"-":"",o=Xn(this._milliseconds)!==Xn(d)?"-":"",i+"P"+(n?r+n+"Y":"")+(h?r+h+"M":"")+(l?a+l+"D":"")+(t||e||u?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(u?o+s+"S":"")):"P0D"}var es=Ct.prototype;return es.isValid=function(){return this._isValid},es.abs=function(){var e=this._data;return this._milliseconds=Yn(this._milliseconds),this._days=Yn(this._days),this._months=Yn(this._months),e.milliseconds=Yn(e.milliseconds),e.seconds=Yn(e.seconds),e.minutes=Yn(e.minutes),e.hours=Yn(e.hours),e.months=Yn(e.months),e.years=Yn(e.years),this},es.add=function(e,t){return On(this,e,t,1)},es.subtract=function(e,t){return On(this,e,t,-1)},es.as=function(e){if(!this.isValid())return NaN;var t,n,s=this._milliseconds;if("month"===(e=V(e))||"quarter"===e||"year"===e)switch(t=this._days+s/864e5,n=this._months+xn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Tn(this._months)),e){case"week":return t/7+s/6048e5;case"day":return t+s/864e5;case"hour":return 24*t+s/36e5;case"minute":return 1440*t+s/6e4;case"second":return 86400*t+s/1e3;case"millisecond":return Math.floor(864e5*t)+s;default:throw new Error("Unknown unit "+e)}},es.asMilliseconds=Pn,es.asSeconds=Rn,es.asMinutes=Wn,es.asHours=Cn,es.asDays=Un,es.asWeeks=Hn,es.asMonths=Fn,es.asQuarters=Ln,es.asYears=Vn,es.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*Z(this._months/12):NaN},es._bubble=function(){var e,t,n,s,i,r=this._milliseconds,a=this._days,o=this._months,u=this._data;return 0<=r&&0<=a&&0<=o||r<=0&&a<=0&&o<=0||(r+=864e5*bn(Tn(o)+a),o=a=0),u.milliseconds=r%1e3,e=I(r/1e3),u.seconds=e%60,t=I(e/60),u.minutes=t%60,n=I(t/60),u.hours=n%24,a+=I(n/24),o+=i=I(xn(a)),a-=bn(Tn(i)),s=I(o/12),o%=12,u.days=a,u.months=o,u.years=s,this},es.clone=function(){return Zt(this)},es.get=function(e){return e=V(e),this.isValid()?this[e+"s"]():NaN},es.milliseconds=En,es.seconds=An,es.minutes=jn,es.hours=In,es.days=Zn,es.weeks=function(){return I(this.days()/7)},es.months=zn,es.years=$n,es.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,s,i=!1,r=Bn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(i=e),"object"==typeof t&&(r=Object.assign({},Bn,t),null!=t.s&&null==t.ss&&(r.ss=t.s-1)),n=this.localeData(),s=Jn(this,!i,r,n),i&&(s=n.pastFuture(+this,s)),n.postformat(s)},es.toISOString=Kn,es.toString=Kn,es.toJSON=Kn,es.locale=tn,es.localeData=sn,es.toIsoString=n("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Kn),es.lang=nn,C("X",0,0,"unix"),C("x",0,0,"valueOf"),ce("x",ue),ce("X",/[+-]?\d+(\.\d{1,3})?/),ye("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),ye("x",function(e,t,n){n._d=new Date(Z(e))}),f.version="2.29.1",e=Tt,f.fn=pn,f.min=function(){return Rt("isBefore",[].slice.call(arguments,0))},f.max=function(){return Rt("isAfter",[].slice.call(arguments,0))},f.now=function(){return Date.now?Date.now():+new Date},f.utc=_,f.unix=function(e){return Tt(1e3*e)},f.months=function(e,t){return Dn(e,t,"months")},f.isDate=a,f.locale=lt,f.invalid=w,f.duration=Zt,f.isMoment=M,f.weekdays=function(e,t,n){return Sn(e,t,n,"weekdays")},f.parseZone=function(){return Tt.apply(null,arguments).parseZone()},f.localeData=dt,f.isDuration=Ut,f.monthsShort=function(e,t){return Dn(e,t,"monthsShort")},f.weekdaysMin=function(e,t,n){return Sn(e,t,n,"weekdaysMin")},f.defineLocale=ht,f.updateLocale=function(e,t){var n,s,i;return null!=t?(i=st,null!=it[e]&&null!=it[e].parentLocale?it[e].set(b(it[e]._config,t)):(null!=(s=ut(e))&&(i=s._config),t=b(i,t),null==s&&(t.abbr=e),(n=new x(t)).parentLocale=it[e],it[e]=n),lt(e)):null!=it[e]&&(null!=it[e].parentLocale?(it[e]=it[e].parentLocale,e===lt()&&lt(e)):null!=it[e]&&delete it[e]),it[e]},f.locales=function(){return s(it)},f.weekdaysShort=function(e,t,n){return Sn(e,t,n,"weekdaysShort")},f.normalizeUnits=V,f.relativeTimeRounding=function(e){return void 0===e?qn:"function"==typeof e&&(qn=e,!0)},f.relativeTimeThreshold=function(e,t){return void 0!==Bn[e]&&(void 0===t?Bn[e]:(Bn[e]=t,"s"===e&&(Bn.ss=t-1),!0))},f.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},f.prototype=pn,f.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},f});

var ECL=function(e){function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,s=Array(t);i<t;i++)s[i]=e[i];return s;}function d(e,t){if({}.hasOwnProperty.call(e,t))return e;throw new TypeError("attempted to use private field on non-instance");}Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(e){for(var t=this;t;){if(t.matches(e))return t;t=t.parentElement;}return null;});var R=0;function t(e){return "__private_"+R++ +"_"+e;}function B(e,t){var i,s="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(s)return (s=s.call(e)).next.bind(s);if(Array.isArray(e)||(s=function(e,t){var i;if(e)return "string"==typeof e?n(e,t):"Map"===(i="Object"===(i={}.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:i)||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?n(e,t):void 0;;}(e))||t)return s&&(e=s),i=0,function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]};};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function z(){return (z=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i,s=arguments[t];for(i in s)!{}.hasOwnProperty.call(s,i)||(e[i]=s[i]);}return e;}).apply(null,arguments);}function m(e,t){return void 0===t&&(t=document),[].slice.call(t.querySelectorAll(e));}function v(e,t){return (t=void 0===t?document:t).querySelector(e);}var F=["root"];class w{constructor(){this.events=new Map();}on(e,t){this.events.has(e)||this.events.set(e,[]),this.events.get(e).push(t);}trigger(e,t){e=this.events.get(e);e&&e.forEach((e)=>{e(t);});}getCallback(e){return this.events.get(e)||[];}}function S(e,t){if(t=t||{},e)return !1!==c.call(e,h)&&O(t,e);throw new Error("No node provided");}function A(e,t){if(t=t||{},e)return !1!==c.call(e,le)&&_(t,e);throw new Error("No node provided");}var i=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],h=i.join(","),s="undefined"==typeof Element,c=s?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,a=!s&&Element.prototype.getRootNode?function(e){var t;return null==e||null==(t=e.getRootNode)?void 0:t.call(e);}:function(e){return null==e?void 0:e.ownerDocument;},u=function e(t,i){void 0===i&&(i=!0);var s=null==t||null==(s=t.getAttribute)?void 0:s.call(t,"inert");return ""===s||"true"===s||i&&t&&e(t.parentNode);},K=function(e){var t=null==e||null==(t=e.getAttribute)?void 0:t.call(e,"contenteditable");return ""===t||"true"===t;},H=function(e,t,i){var s;return u(e)?[]:(s=Array.prototype.slice.apply(e.querySelectorAll(h)),t&&c.call(e,h)&&s.unshift(e),s.filter(i));},G=function e(t,i,s){for(var n=[],l=Array.from(t);l.length;){var a,o,r=l.shift();u(r,!1)||("SLOT"===r.tagName?(a=e((a=r.assignedElements()).length?a:r.children,!0,s),s.flatten?n.push.apply(n,a):n.push({scopeParent:r,candidates:a})):(c.call(r,h)&&s.filter(r)&&(i||!t.includes(r))&&n.push(r),a=r.shadowRoot||"function"==typeof s.getShadowRoot&&s.getShadowRoot(r),o=!u(a,!1)&&(!s.shadowRootFilter||s.shadowRootFilter(r)),a&&o?(o=e((!0===a?r:a).children,!0,s),s.flatten?n.push.apply(n,o):n.push({scopeParent:r,candidates:o})):l.unshift.apply(l,r.children)));}return n;},V=function(e){return !isNaN(parseInt(e.getAttribute("tabindex"),10));},x=function(e){if(e)return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||K(e))&&!V(e)?0:e.tabIndex;throw new Error("No node provided");},W=function(e,t){var i=x(e);return i<0&&t&&!V(e)?0:i;},U=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex;},j=function(e){return "INPUT"===e.tagName;},q=function(e){return j(e)&&"hidden"===e.type;},X=function(e){return "DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some(function(e){return "SUMMARY"===e.tagName;});},Y=function(e,t){for(var i=0;i<e.length;i++)if(e[i].checked&&e[i].form===t)return e[i];},$=function(e){if(!e.name)return !0;function t(e){return i.querySelectorAll('input[type="radio"][name="'+e+'"]');}var i=e.form||a(e);if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)s=t(window.CSS.escape(e.name));else try{s=t(e.name);}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1;}var s=Y(s,e.form);return !s||s===e;},Q=function(e){return j(e)&&"radio"===e.type;},Z=function(e){return Q(e)&&!$(e);},J=function(e){var t,i=e&&a(e),s=null==(t=i)?void 0:t.host,n=!1;if(i&&i!==e)for(n=!!(null!=(t=s)&&null!=(t=t.ownerDocument)&&t.contains(s)||null!=e&&null!=(t=e.ownerDocument)&&t.contains(e));!n&&s;)var l,n=!(null==(l=s=null==(l=i=a(s))?void 0:l.host)||null==(l=l.ownerDocument)||!l.contains(s));return n;},ee=function(e){var e=e.getBoundingClientRect(),t=e.width,e=e.height;return 0===t&&0===e;},te=function(e,t){var i=t.displayCheck,s=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return !0;t=c.call(e,"details>summary:first-of-type")?e.parentElement:e;if(c.call(t,"details:not([open]) *"))return !0;if(i&&"full"!==i&&"legacy-full"!==i){if("non-zero-area"===i)return ee(e);}else{if("function"==typeof s){for(t=e;e;){var n=e.parentElement,l=a(e);if(n&&!n.shadowRoot&&!0===s(n))return ee(e);e=e.assignedSlot||(n||l===e.ownerDocument?n:l.host);}e=t;}if(J(e))return !e.getClientRects().length;if("legacy-full"!==i)return !0;}return !1;},ie=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var i=0;i<t.children.length;i++){var s=t.children.item(i);if("LEGEND"===s.tagName)return !!c.call(t,"fieldset[disabled] *")||!s.contains(e);}return !0;}t=t.parentElement;}return !1;},_=function(e,t){return !(t.disabled||u(t)||q(t)||te(t,e)||X(t)||ie(t));},O=function(e,t){return !(Z(t)||x(t)<0||!_(e,t));},se=function(e){e=parseInt(e.getAttribute("tabindex"),10);return !!(isNaN(e)||0<=e);},ne=function a(e){var o=[],r=[];return e.forEach(function(e,t){var i=!!e.scopeParent,s=i?e.scopeParent:e,n=W(s,i),l=i?a(e.candidates):s;0===n?i?o.push.apply(o,l):o.push(s):r.push({documentOrder:t,tabIndex:n,item:e,isScope:i,content:l});}),r.sort(U).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e;},[]).concat(o);},le=i.concat("iframe").join(",");function ae(t,e){var i,s=Object.keys(t);return Object.getOwnPropertySymbols&&(i=Object.getOwnPropertySymbols(t),e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable;})),s.push.apply(s,i)),s;}function oe(s){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ae(Object(n),!0).forEach(function(e){var t,i;t=s,i=n[e=e],(e=function(e){e=function(e,t){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0===i)return ("string"===t?String:Number)(e);i=i.call(e,t||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.");}(e,"string");return "symbol"==typeof e?e:String(e);}(e)) in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i;}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(n)):ae(Object(n)).forEach(function(e){Object.defineProperty(s,e,Object.getOwnPropertyDescriptor(n,e));});}return s;}function re(e){return P(e)&&!e.shiftKey;}function he(e){return P(e)&&e.shiftKey;}function ce(e){return setTimeout(e,0);}function de(e,i){var s=-1;return e.every(function(e,t){return !i(e)||(s=t,!1);}),s;}function T(e){for(var t=arguments.length,i=new Array(1<t?t-1:0),s=1;s<t;s++)i[s-1]=arguments[s];return "function"==typeof e?e.apply(void 0,i):e;}function I(e){return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target;}function l(e,t){function l(e,t,i){return e&&void 0!==e[t]?e[t]:d[i||t];}function a(e){var t=p("setReturnFocus",e);return t||!1!==t&&e;}function n(){if(u.active)ue(c,w),u.delayInitialFocusTimer=d.delayInitialFocus?ce(function(){b(v());}):b(v()),h.addEventListener("focusin",y,!0),h.addEventListener("mousedown",i,{capture:!0,passive:!1}),h.addEventListener("touchstart",i,{capture:!0,passive:!1}),h.addEventListener("click",C,{capture:!0,passive:!1}),h.addEventListener("keydown",E,{capture:!0,passive:!1});}function o(){if(u.active)h.removeEventListener("focusin",y,!0),h.removeEventListener("mousedown",i,!0),h.removeEventListener("touchstart",i,!0),h.removeEventListener("click",C,!0),h.removeEventListener("keydown",E,!0);}function r(){k&&(k.disconnect(),u.active)&&!u.paused&&u.containers.map(function(e){k.observe(e,{subtree:!0,childList:!0});});}var h=(null==t?void 0:t.document)||document,c=(null==t?void 0:t.trapStack)||pe,d=oe({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:re,isKeyBackward:he},t),u={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},m=function(i,e){var s="function"==typeof (null==e?void 0:e.composedPath)?e.composedPath():void 0;return u.containerGroups.findIndex(function(e){var t=e.container,e=e.tabbableNodes;return t.contains(i)||(null==s?void 0:s.includes(t))||e.find(function(e){return e===i;});});},p=function(e){var t=d[e];if("function"==typeof t){for(var i=arguments.length,s=new Array(1<i?i-1:0),n=1;n<i;n++)s[n-1]=arguments[n];t=t.apply(void 0,s);}if(!(t=!0===t?void 0:t)){if(void 0===t||!1===t)return t;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"));}var l=t;if("string"!=typeof t||(l=h.querySelector(t)))return l;throw new Error("`".concat(e,"` as selector refers to no known node"));},v=function(){var e,t=p("initialFocus");if(!1===t)return !1;if(t=void 0!==t&&A(t,d.tabbableOptions)?t:0<=m(h.activeElement)?h.activeElement:(e=u.tabbableGroups[0])&&e.firstTabbableNode||p("fallbackFocus"))return t;throw new Error("Your focus-trap needs to have at least one focusable element");},g=function(){if(u.containerGroups=u.containers.map(function(e){var s=function(e,t){e=(t=t||{}).getShadowRoot?G([e],t.includeContainer,{filter:O.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:se}):H(e,t.includeContainer,O.bind(null,t));return ne(e);}(e,d.tabbableOptions),n=(t=e,(i=(i=d.tabbableOptions)||{}).getShadowRoot?G([t],i.includeContainer,{filter:_.bind(null,i),flatten:!0,getShadowRoot:i.getShadowRoot}):H(t,i.includeContainer,_.bind(null,i))),t=0<s.length?s[0]:void 0,i=0<s.length?s[s.length-1]:void 0,l=n.find(function(e){return S(e);}),a=n.slice().reverse().find(function(e){return S(e);}),o=!!s.find(function(e){return 0<x(e);});return {container:e,tabbableNodes:s,focusableNodes:n,posTabIndexesFound:o,firstTabbableNode:t,lastTabbableNode:i,firstDomTabbableNode:l,lastDomTabbableNode:a,nextTabbableNode:function(e){var t=!(1<arguments.length&&void 0!==arguments[1])||arguments[1],i=s.indexOf(e);return i<0?t?n.slice(n.indexOf(e)+1).find(function(e){return S(e);}):n.slice(0,n.indexOf(e)).reverse().find(function(e){return S(e);}):s[i+(t?1:-1)];}};}),u.tabbableGroups=u.containerGroups.filter(function(e){return 0<e.tabbableNodes.length;}),u.tabbableGroups.length<=0&&!p("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(u.containerGroups.find(function(e){return e.posTabIndexesFound;})&&1<u.containerGroups.length)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.");},s=function e(t){t=t.activeElement;if(t)return t.shadowRoot&&null!==t.shadowRoot.activeElement?e(t.shadowRoot):t;},b=function e(t){var i;!1!==t&&t!==s(document)&&(t&&t.focus?(t.focus({preventScroll:!!d.preventScroll}),u.mostRecentlyFocusedNode=t,(i=t).tagName&&"input"===i.tagName.toLowerCase()&&"function"==typeof i.select&&t.select()):e(v()));},f=function(e){var t,i,s=e.target,n=e.event,e=e.isBackward,e=void 0!==e&&e,s=s||I(n),l=(g(),null);return 0<u.tabbableGroups.length?(t=0<=(i=m(s,n))?u.containerGroups[i]:void 0,i<0?l=e?u.tabbableGroups[u.tabbableGroups.length-1].lastTabbableNode:u.tabbableGroups[0].firstTabbableNode:e?0<=(e=(e=de(u.tabbableGroups,function(e){e=e.firstTabbableNode;return s===e;}))<0&&(t.container===s||A(s,d.tabbableOptions)&&!S(s,d.tabbableOptions)&&!t.nextTabbableNode(s,!1))?i:e)?(e=0===e?u.tabbableGroups.length-1:e-1,e=u.tabbableGroups[e],l=0<=x(s)?e.lastTabbableNode:e.lastDomTabbableNode):P(n)||(l=t.nextTabbableNode(s,!1)):0<=(e=(e=de(u.tabbableGroups,function(e){e=e.lastTabbableNode;return s===e;}))<0&&(t.container===s||A(s,d.tabbableOptions)&&!S(s,d.tabbableOptions)&&!t.nextTabbableNode(s))?i:e)?(i=e===u.tabbableGroups.length-1?0:e+1,e=u.tabbableGroups[i],l=0<=x(s)?e.firstTabbableNode:e.firstDomTabbableNode):P(n)||(l=t.nextTabbableNode(s))):l=p("fallbackFocus"),l;},i=function(e){var t=I(e);0<=m(t,e)||(T(d.clickOutsideDeactivates,e)?w.deactivate({returnFocus:d.returnFocusOnDeactivate}):T(d.allowOutsideClick,e)||e.preventDefault());},y=function(e){var t,i=I(e),s=0<=m(i,e);s||i instanceof Document?s&&(u.mostRecentlyFocusedNode=i):(e.stopImmediatePropagation(),s=!0,u.mostRecentlyFocusedNode?0<x(u.mostRecentlyFocusedNode)?(i=m(u.mostRecentlyFocusedNode),0<(e=u.containerGroups[i].tabbableNodes).length&&0<=(i=e.findIndex(function(e){return e===u.mostRecentlyFocusedNode;}))&&(d.isKeyForward(u.recentNavEvent)?i+1<e.length&&(t=e[i+1],s=!1):0<=i-1&&(t=e[i-1],s=!1))):u.containerGroups.some(function(e){return e.tabbableNodes.some(function(e){return 0<x(e);});})||(s=!1):s=!1,s&&(t=f({target:u.mostRecentlyFocusedNode,isBackward:d.isKeyBackward(u.recentNavEvent)})),b(t||u.mostRecentlyFocusedNode||v())),u.recentNavEvent=void 0;},L=function(e){var t=1<arguments.length&&void 0!==arguments[1]&&arguments[1],t=(u.recentNavEvent=e,f({event:e,isBackward:t}));t&&(P(e)&&e.preventDefault(),b(t));},E=function(e){var t;"Escape"!==(null==(t=e)?void 0:t.key)&&"Esc"!==(null==t?void 0:t.key)&&27!==(null==t?void 0:t.keyCode)||!1===T(d.escapeDeactivates,e)?(d.isKeyForward(e)||d.isKeyBackward(e))&&L(e,d.isKeyBackward(e)):(e.preventDefault(),w.deactivate());},C=function(e){var t=I(e);0<=m(t,e)||T(d.clickOutsideDeactivates,e)||T(d.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation());},k="undefined"!=typeof window&&"MutationObserver" in window?new MutationObserver(function(e){e.some(function(e){return Array.from(e.removedNodes).some(function(e){return e===u.mostRecentlyFocusedNode;});})&&b(v());}):void 0,w={get active(){return u.active;},get paused(){return u.paused;},activate:function(e){var t,i,s;return u.active||(t=l(e,"onActivate"),i=l(e,"onPostActivate"),(s=l(e,"checkCanFocusTrap"))||g(),u.active=!0,u.paused=!1,u.nodeFocusedBeforeActivation=h.activeElement,null!=t&&t(),e=function(){s&&g(),n(),r(),null!=i&&i();},s?s(u.containers.concat()).then(e,e):e()),this;},deactivate:function(e){var t,i,s,n;return u.active&&(e=oe({onDeactivate:d.onDeactivate,onPostDeactivate:d.onPostDeactivate,checkCanReturnFocus:d.checkCanReturnFocus},e),clearTimeout(u.delayInitialFocusTimer),u.delayInitialFocusTimer=void 0,o(),u.active=!1,u.paused=!1,r(),me(c,w),t=l(e,"onDeactivate"),i=l(e,"onPostDeactivate"),s=l(e,"checkCanReturnFocus"),n=l(e,"returnFocus","returnFocusOnDeactivate"),null!=t&&t(),e=function(){ce(function(){n&&b(a(u.nodeFocusedBeforeActivation)),null!=i&&i();});},n&&s?s(a(u.nodeFocusedBeforeActivation)).then(e,e):e()),this;},pause:function(e){var t;return !u.paused&&u.active&&(t=l(e,"onPause"),e=l(e,"onPostPause"),u.paused=!0,null!=t&&t(),o(),r(),null!=e)&&e(),this;},unpause:function(e){var t;return u.paused&&u.active&&(t=l(e,"onUnpause"),e=l(e,"onPostUnpause"),u.paused=!1,null!=t&&t(),g(),n(),r(),null!=e)&&e(),this;},updateContainerElements:function(e){e=[].concat(e).filter(Boolean);return u.containers=e.map(function(e){return "string"==typeof e?h.querySelector(e):e;}),u.active&&g(),r(),this;}};return w.updateContainerElements(e),w;}var ue=function(e,t){0<e.length&&(i=e[e.length-1])!==t&&i.pause();var i=e.indexOf(t);-1!==i&&e.splice(i,1),e.push(t);},me=function(e,t){t=e.indexOf(t);-1!==t&&e.splice(t,1),0<e.length&&e[e.length-1].unpause();},P=function(e){return "Tab"===(null==e?void 0:e.key)||9===(null==e?void 0:e.keyCode);},pe=[];var ve="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function o(e,t){return e(t={exports:{}},t.exports),t.exports;}var ge=o(function(e){function s(e,t){for(var i=0;i<t.length;i++){var s=t[i];s.enumerable=s.enumerable||!1,s.configurable=!0,"value" in s&&(s.writable=!0),Object.defineProperty(e,s.key,s);}}function r(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);}function h(e){return parseFloat(e)||0;}function c(e){for(var t=0;e;)t+=e.offsetTop,e=e.offsetParent;return t;}function i(t){if(!(this instanceof i))throw new TypeError("Cannot call a class as a function");if(!(t instanceof HTMLElement))throw new Error("First argument must be HTMLElement");if(g.some(function(e){return e._node===t;}))throw new Error("Stickyfill is already applied to this node");this._node=t,this._stickyMode=null,this._active=!1,g.push(this),this.refresh();}function t(){var e,t,i;function s(){d.pageXOffset!=v.left?(v.top=d.pageYOffset,v.left=d.pageXOffset,f.refreshAll()):d.pageYOffset!=v.top&&(v.top=d.pageYOffset,v.left=d.pageXOffset,g.forEach(function(e){return e._recalcPosition();}));}function n(){e=setInterval(function(){g.forEach(function(e){return e._fastCheck();});},500);}o||(o=!0,s(),d.addEventListener("scroll",s),d.addEventListener("resize",f.refreshAll),d.addEventListener("orientationchange",f.refreshAll),i=t=e=void 0,"hidden" in u?(t="hidden",i="visibilitychange"):"webkitHidden" in u&&(t="webkitHidden",i="webkitvisibilitychange"),i?(u[t]||n(),u.addEventListener(i,function(){u[t]?clearInterval(e):n();})):n());}var d,u,n,l,m,a,o,p,v,g,b,f;d=window,u=document,m=!(n=function(e,t,i){return t&&s(e.prototype,t),i&&s(e,i),e;}),(a=void 0!==d)&&d.getComputedStyle&&(l=u.createElement("div"),!["","-webkit-","-moz-","-ms-"].some(function(e){try{l.style.position=e+"sticky";}catch(e){}return ""!=l.style.position;}))||(m=!0),o=!1,p="undefined"!=typeof ShadowRoot,v={top:null,left:null},g=[],n(i,[{key:"refresh",value:function(){var e,t,i,s,n,l,a,o;m||this._removed||(this._active&&this._deactivate(),e=this._node,t={position:(i=getComputedStyle(e)).position,top:i.top,display:i.display,marginTop:i.marginTop,marginBottom:i.marginBottom,marginLeft:i.marginLeft,marginRight:i.marginRight,cssFloat:i.cssFloat},isNaN(parseFloat(t.top)))||"table-cell"==t.display||"none"==t.display||(this._active=!0,o=e.style.position,"sticky"!=i.position&&"-webkit-sticky"!=i.position||(e.style.position="static"),i=e.parentNode,s=p&&i instanceof ShadowRoot?i.host:i,n=e.getBoundingClientRect(),a=s.getBoundingClientRect(),l=getComputedStyle(s),this._parent={node:s,styles:{position:s.style.position},offsetHeight:s.offsetHeight},this._offsetToWindow={left:n.left,right:u.documentElement.clientWidth-n.right},this._offsetToParent={top:n.top-a.top-h(l.borderTopWidth),left:n.left-a.left-h(l.borderLeftWidth),right:-n.right+a.right-h(l.borderRightWidth)},this._styles={position:o,top:e.style.top,bottom:e.style.bottom,left:e.style.left,right:e.style.right,width:e.style.width,marginTop:e.style.marginTop,marginLeft:e.style.marginLeft,marginRight:e.style.marginRight},o=h(t.top),this._limits={start:n.top+d.pageYOffset-o,end:a.top+d.pageYOffset+s.offsetHeight-h(l.borderBottomWidth)-e.offsetHeight-o-h(t.marginBottom)},"absolute"!=(a=l.position)&&"relative"!=a&&(s.style.position="relative"),this._recalcPosition(),(o=this._clone={}).node=u.createElement("div"),r(o.node.style,{width:n.right-n.left+"px",height:n.bottom-n.top+"px",marginTop:t.marginTop,marginBottom:t.marginBottom,marginLeft:t.marginLeft,marginRight:t.marginRight,cssFloat:t.cssFloat,padding:0,border:0,borderSpacing:0,fontSize:"1em",position:"static"}),i.insertBefore(o.node,e),o.docOffsetTop=c(o.node));}},{key:"_recalcPosition",value:function(){if(this._active&&!this._removed){var e=v.top<=this._limits.start?"start":v.top>=this._limits.end?"end":"middle";if(this._stickyMode!=e){switch(e){case "start":r(this._node.style,{position:"absolute",left:this._offsetToParent.left+"px",right:this._offsetToParent.right+"px",top:this._offsetToParent.top+"px",bottom:"auto",width:"auto",marginLeft:0,marginRight:0,marginTop:0});break;case "middle":r(this._node.style,{position:"fixed",left:this._offsetToWindow.left+"px",right:this._offsetToWindow.right+"px",top:this._styles.top,bottom:"auto",width:"auto",marginLeft:0,marginRight:0,marginTop:0});break;case "end":r(this._node.style,{position:"absolute",left:this._offsetToParent.left+"px",right:this._offsetToParent.right+"px",top:"auto",bottom:0,width:"auto",marginLeft:0,marginRight:0});}this._stickyMode=e;}}}},{key:"_fastCheck",value:function(){this._active&&!this._removed&&(1<Math.abs(c(this._clone.node)-this._clone.docOffsetTop)||1<Math.abs(this._parent.node.offsetHeight-this._parent.offsetHeight))&&this.refresh();}},{key:"_deactivate",value:function(){var t=this;this._active&&!this._removed&&(this._clone.node.parentNode.removeChild(this._clone.node),delete this._clone,r(this._node.style,this._styles),delete this._styles,g.some(function(e){return e!==t&&e._parent&&e._parent.node===t._parent.node;})||r(this._parent.node.style,this._parent.styles),delete this._parent,this._stickyMode=null,this._active=!1,delete this._offsetToWindow,delete this._offsetToParent,delete this._limits);}},{key:"remove",value:function(){var i=this;this._deactivate(),g.some(function(e,t){if(e._node===i._node)return g.splice(t,1),!0;}),this._removed=!0;}}]),f={stickies:g,Sticky:b=i,forceSticky:function(){m=!1,t(),this.refreshAll();},addOne:function(e){if(!(e instanceof HTMLElement)){if(!e.length||!e[0])return;e=e[0];}for(var t=0;t<g.length;t++)if(g[t]._node===e)return g[t];return new b(e);},add:function(i){if((i=i instanceof HTMLElement?[i]:i).length){for(var s=[],e=0;e<i.length;e++)(function(e){var t=i[e];t instanceof HTMLElement?g.some(function(e){if(e._node===t)return s.push(e),!0;})||s.push(new b(t)):s.push(void 0);})(e);return s;}},refreshAll:function(){g.forEach(function(e){return e.refresh();});},removeOne:function(t){if(!(t instanceof HTMLElement)){if(!t.length||!t[0])return;t=t[0];}g.some(function(e){if(e._node===t)return e.remove(),!0;});},remove:function(i){if((i=i instanceof HTMLElement?[i]:i).length)for(var e=0;e<i.length;e++)!function(e){var t=i[e];g.some(function(e){if(e._node===t)return e.remove(),!0;});}(e);},removeAll:function(){for(;g.length;)g[0].remove();}},m||t(),e.exports?e.exports=f:a&&(d.Stickyfill=f);}),be=o(function(e,t){function i(e,t){t=t||{bubbles:!1,cancelable:!1,detail:void 0};var i=document.createEvent("CustomEvent");return i.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),i;}var s,c,d,u,n,m,l,a,p,o,v,r,g,b;Element.prototype.closest||(Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest=function(e){var t=this;if(document.documentElement.contains(this))do if(t.matches(e))return t;while(null!==(t=t.parentElement));return null;}),"function"!=typeof window.CustomEvent&&(i.prototype=window.Event.prototype,window.CustomEvent=i),s=0?window:ve,e.exports=(c=s,d={navClass:"active",contentClass:"active",nested:!1,nestedClass:"active",offset:0,reflow:!1,events:!0},u=function(e,t,i){i.settings.events&&(e=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:i}),t.dispatchEvent(e));},n=function(e){var t=0;if(e.offsetParent)for(;e;)t+=e.offsetTop,e=e.offsetParent;return 0<=t?t:0;},m=function(e){e&&e.sort(function(e,t){return n(e.content)<n(t.content)?-1:1;});},l=function(e){return "function"==typeof e.offset?parseFloat(e.offset()):parseFloat(e.offset);},a=function(){return Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.body.clientHeight,document.documentElement.clientHeight);},p=function(e,t,i){e=e.getBoundingClientRect(),t=l(t);return i?parseInt(e.bottom,10)<(c.innerHeight||document.documentElement.clientHeight):parseInt(e.top,10)<=t;},o=function(){return c.innerHeight+c.pageYOffset>=a();},v=function(e,t){return !(!o()||!p(e.content,t,!0));},r=function e(t,i){i.nested&&t.parentNode&&(t=t.parentNode.closest("li"))&&(t.classList.remove(i.nestedClass),e(t,i));},g=function(e,t){var i;e&&(i=e.nav.closest("li"))&&(i.classList.remove(t.navClass),e.content.classList.remove(t.contentClass),r(i,t),u("gumshoeDeactivate",i,{link:e.nav,content:e.content,settings:t}));},b=function e(t,i){i.nested&&(t=t.parentNode.closest("li"))&&(t.classList.add(i.nestedClass),e(t,i));},function(e,t){function i(e){o&&c.cancelAnimationFrame(o),o=c.requestAnimationFrame(h.detect);}function s(e){o&&c.cancelAnimationFrame(o),o=c.requestAnimationFrame(function(){m(l),h.detect();});}var n,l,a,o,r,h={setup:function(){n=document.querySelectorAll(e),l=[],Array.prototype.forEach.call(n,function(e){var t=document.getElementById(decodeURIComponent(e.hash.substr(1)));t&&l.push({nav:e,content:t});}),m(l);}};h.detect=function(){var e,t,i,s=function(e,t){var i=e[e.length-1];if(v(i,t))return i;for(var s=e.length-1;0<=s;s--)if(p(e[s].content,t))return e[s];}(l,r);s?a&&s.content===a.content||(g(a,r),t=r,(e=s)&&(i=e.nav.closest("li"))&&(i.classList.add(t.navClass),e.content.classList.add(t.contentClass),b(i,t),u("gumshoeActivate",i,{link:e.nav,content:e.content,settings:t})),a=s):a&&(g(a,r),a=null);},h.destroy=function(){a&&g(a,r),c.removeEventListener("scroll",i,!1),r.reflow&&c.removeEventListener("resize",s,!1),r=o=a=n=l=null;};return r=function(){var i={};return Array.prototype.forEach.call(arguments,function(e){for(var t in e){if(!e.hasOwnProperty(t))return;i[t]=e[t];}}),i;}(d,t||{}),h.setup(),h.detect(),c.addEventListener("scroll",i,!1),r.reflow&&c.addEventListener("resize",s,!1),h;});});var s=o(function(e){function s(e){var t;return (n[e]||(t=n[e]={i:e,l:!1,exports:{}},i[e].call(t.exports,t,t.exports,s),t.l=!0,t)).exports;}var i,n;e.exports=(i=[function(e,t,i){e.exports={BROWSER_TYPES:{CHROME:"Chrome",FIREFOX:"Firefox",OPERA:"Opera",YANDEX:"Yandex",SAFARI:"Safari",INTERNET_EXPLORER:"Internet Explorer",EDGE:"Edge",CHROMIUM:"Chromium",IE:"IE",MOBILE_SAFARI:"Mobile Safari",EDGE_CHROMIUM:"Edge Chromium"},DEVICE_TYPES:{MOBILE:"mobile",TABLET:"tablet",SMART_TV:"smarttv",CONSOLE:"console",WEARABLE:"wearable",BROWSER:void 0},OS_TYPES:{IOS:"iOS",ANDROID:"Android",WINDOWS_PHONE:"Windows Phone",WINDOWS:"Windows",MAC_OS:"Mac OS"},defaultData:{isMobile:!1,isTablet:!1,isBrowser:!1,isSmartTV:!1,isConsole:!1,isWearable:!1}};},function(e,R,t){function i(){return g.name===r.WINDOWS&&"10"===g.version&&"string"==typeof b&&-1!==b.indexOf("Edg/");}function s(){return m.name===H;}function n(){return u("iPad");}var l=t(2),a=t(0),o=a.BROWSER_TYPES,r=a.OS_TYPES,a=a.DEVICE_TYPES,t=t(4),h=t.checkType,c=t.broPayload,B=t.mobilePayload,z=t.wearPayload,F=t.consolePayload,K=t.stvPayload,d=t.getNavigatorInstance,u=t.isIOS13Check,t=new l(),m=t.getBrowser(),p=t.getDevice(),v=t.getEngine(),g=t.getOS(),b=t.getUA(),l=o.CHROME,t=o.CHROMIUM,f=o.IE,y=o.INTERNET_EXPLORER,L=o.OPERA,E=o.FIREFOX,C=o.SAFARI,H=o.EDGE,k=o.YANDEX,o=o.MOBILE_SAFARI,w=a.MOBILE,S=a.TABLET,A=a.SMART_TV,x=a.BROWSER,_=a.WEARABLE,a=a.CONSOLE,O=r.ANDROID,T=r.WINDOWS_PHONE,I=r.IOS,P=r.WINDOWS,M=r.MAC_OS,A=p.type===A,a=p.type===a,_=p.type===_,G=m.name===o||n(),t=m.name===t,V=function(){switch(p.type){case w:case S:return !0;default:return !1;}}()||n(),W=p.type===w,U=p.type===S||n(),x=p.type===x,O=g.name===O,T=g.name===T,I=g.name===I||n(),l=m.name===l,E=m.name===E,C=m.name===C||m.name===o,o=m.name===L,L=m.name===y||m.name===f,y=g.version||"none",f=g.name||"none",j=m.major,q=m.version,X=m.name,Y=p.vendor||"none",$=p.model||"none",Q=v.name,Z=v.version,J=b,ee=s()||i(),k=m.name===k,te=p.type,N=(N=d())&&(/iPad|iPhone|iPod/.test(N.platform)||"MacIntel"===N.platform&&1<N.maxTouchPoints)&&!window.MSStream,ie=n(),se=u("iPhone"),ne=u("iPod"),d="string"==typeof (d=(d=d())&&d.userAgent.toLowerCase())&&/electron/.test(d),le=i(),ae=s(),P=g.name===P,M=g.name===M,D=h(p.type);e.exports={deviceDetect:function(){var e=D.isBrowser,t=D.isMobile,i=D.isTablet,s=D.isSmartTV,n=D.isConsole,l=D.isWearable;return e?c(e,m,v,g,b):s?K(s,v,g,b):n?F(n,v,g,b):t||i?B(D,p,g,b):l?z(l,v,g,b):void 0;},isSmartTV:A,isConsole:a,isWearable:_,isMobileSafari:G,isChromium:t,isMobile:V,isMobileOnly:W,isTablet:U,isBrowser:x,isAndroid:O,isWinPhone:T,isIOS:I,isChrome:l,isFirefox:E,isSafari:C,isOpera:o,isIE:L,osVersion:y,osName:f,fullBrowserVersion:j,browserVersion:q,browserName:X,mobileVendor:Y,mobileModel:$,engineName:Q,engineVersion:Z,getUA:J,isEdge:ee,isYandex:k,deviceType:te,isIOS13:N,isIPad13:ie,isIPhone13:se,isIPod13:ne,isElectron:d,isEdgeChromium:le,isLegacyEdge:ae,isWindows:P,isMacOs:M};},function(e,t,i){var n,d,s,u,l,a,o,r,h,c,m,p,v,g,b,f,y,L,E,C,k;function w(e,t){var i,s;return "object"==typeof e&&(t=e,e=d),this instanceof w?(i=e||(n&&n.navigator&&n.navigator.userAgent?n.navigator.userAgent:""),s=t?y.extend(C,t):C,this.getBrowser=function(){var e={name:d,version:d};return L.rgx.call(e,i,s.browser),e.major=y.major(e.version),e;},this.getCPU=function(){var e={architecture:d};return L.rgx.call(e,i,s.cpu),e;},this.getDevice=function(){var e={vendor:d,model:d,type:d};return L.rgx.call(e,i,s.device),e;},this.getEngine=function(){var e={name:d,version:d};return L.rgx.call(e,i,s.engine),e;},this.getOS=function(){var e={name:d,version:d};return L.rgx.call(e,i,s.os),e;},this.getResult=function(){return {ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()};},this.getUA=function(){return i;},this.setUA=function(e){return i=e,this;},this):new w(e,t).getResult();}n="object"==typeof window?window:this,u="function",l="undefined",a="model",r="type",h="vendor",m="architecture",p="console",v="mobile",g="tablet",b="smarttv",f="wearable",y={extend:function(e,t){var i,s={};for(i in e)t[i]&&t[i].length%2==0?s[i]=t[i].concat(e[i]):s[i]=e[i];return s;},has:function(e,t){return "string"==typeof e&&-1!==t.toLowerCase().indexOf(e.toLowerCase());},lowerize:function(e){return e.toLowerCase();},major:function(e){return "string"==typeof e?e.replace(/[^\d\.]/g,"").split(".")[0]:d;},trim:function(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");}},C={browser:[[/(opera\smini)\/([\w\.-]+)/i,/(opera\s[mobiletab]+).+version\/([\w\.-]+)/i,/(opera).+version\/([\w\.]+)/i,/(opera)[\/\s]+([\w\.]+)/i],[o="name",c="version"],[/(opios)[\/\s]+([\w\.]+)/i],[[o,"Opera Mini"],c],[/\s(opr)\/([\w\.]+)/i],[[o,"Opera"],c],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/\s]?([\w\.]*)/i,/(avant\s|iemobile|slim|baidu)(?:browser)?[\/\s]?([\w\.]*)/i,/(?:ms|\()(ie)\s([\w\.]+)/i,/(rekonq)\/([\w\.]*)/i,/(chromium|flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark)\/([\w\.-]+)/i],[o,c],[/(trident).+rv[:\s]([\w\.]+).+like\sgecko/i],[[o,"IE"],c],[/(edge|edgios|edgea)\/((\d+)?[\w\.]+)/i],[[o,"Edge"],c],[/(yabrowser)\/([\w\.]+)/i],[[o,"Yandex"],c],[/(puffin)\/([\w\.]+)/i],[[o,"Puffin"],c],[/((?:[\s\/])uc?\s?browser|(?:juc.+)ucweb)[\/\s]?([\w\.]+)/i],[[o,"UCBrowser"],c],[/(comodo_dragon)\/([\w\.]+)/i],[[o,/_/g," "],c],[/(micromessenger)\/([\w\.]+)/i],[[o,"WeChat"],c],[/(qqbrowserlite)\/([\w\.]+)/i],[o,c],[/(QQ)\/([\d\.]+)/i],[o,c],[/m?(qqbrowser)[\/\s]?([\w\.]+)/i],[o,c],[/(BIDUBrowser)[\/\s]?([\w\.]+)/i],[o,c],[/(2345Explorer)[\/\s]?([\w\.]+)/i],[o,c],[/(MetaSr)[\/\s]?([\w\.]+)/i],[o],[/(LBBROWSER)/i],[o],[/xiaomi\/miuibrowser\/([\w\.]+)/i],[c,[o,"MIUI Browser"]],[/;fbav\/([\w\.]+);/i],[c,[o,"Facebook"]],[/headlesschrome(?:\/([\w\.]+)|\s)/i],[c,[o,"Chrome Headless"]],[/\swv\).+(chrome)\/([\w\.]+)/i],[[o,/(.+)/,"$1 WebView"],c],[/((?:oculus|samsung)browser)\/([\w\.]+)/i],[[o,/(.+(?:g|us))(.+)/,"$1 $2"],c],[/android.+version\/([\w\.]+)\s+(?:mobile\s?safari|safari)*/i],[c,[o,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i],[o,c],[/(dolfin)\/([\w\.]+)/i],[[o,"Dolphin"],c],[/((?:android.+)crmo|crios)\/([\w\.]+)/i],[[o,"Chrome"],c],[/(coast)\/([\w\.]+)/i],[[o,"Opera Coast"],c],[/fxios\/([\w\.-]+)/i],[c,[o,"Firefox"]],[/version\/([\w\.]+).+?mobile\/\w+\s(safari)/i],[c,[o,"Mobile Safari"]],[/version\/([\w\.]+).+?(mobile\s?safari|safari)/i],[c,o],[/webkit.+?(gsa)\/([\w\.]+).+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[[o,"GSA"],c],[/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[o,[c,(L={rgx:function(e,t){for(var i,s,n,l,a,o=0;o<t.length&&!l;){for(var r=t[o],h=t[o+1],c=i=0;c<r.length&&!l;)if(l=r[c++].exec(e))for(s=0;s<h.length;s++)a=l[++i],"object"==typeof (n=h[s])&&0<n.length?2==n.length?typeof n[1]==u?this[n[0]]=n[1].call(this,a):this[n[0]]=n[1]:3==n.length?typeof n[1]!=u||n[1].exec&&n[1].test?this[n[0]]=a?a.replace(n[1],n[2]):d:this[n[0]]=a?n[1].call(this,a,n[2]):d:4==n.length&&(this[n[0]]=a?n[3].call(this,a.replace(n[1],n[2])):d):this[n]=a||d;o+=2;}},str:function(e,t){for(var i in t)if("object"==typeof t[i]&&0<t[i].length){for(var s=0;s<t[i].length;s++)if(y.has(t[i][s],e))return "?"===i?d:i;}else{if(y.has(t[i],e))return "?"===i?d:i;}return e;}}).str,(E={browser:{oldsafari:{version:{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}}},device:{amazon:{model:{"Fire Phone":["SD","KF"]}},sprint:{model:{"Evo Shift 4G":"7373KT"},vendor:{HTC:"APA",Sprint:"Sprint"}}},os:{windows:{version:{ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"}}}}).browser.oldsafari.version]],[/(konqueror)\/([\w\.]+)/i,/(webkit|khtml)\/([\w\.]+)/i],[o,c],[/(navigator|netscape)\/([\w\.-]+)/i],[[o,"Netscape"],c],[/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo\sbrowser|minimo|conkeror)[\/\s]?([\w\.\+]+)/i,/(firefox|seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([\w\.-]+)$/i,/(mozilla)\/([\w\.]+).+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir)[\/\s]?([\w\.]+)/i,/(links)\s\(([\w\.]+)/i,/(gobrowser)\/?([\w\.]*)/i,/(ice\s?browser)\/v?([\w\._]+)/i,/(mosaic)[\/\s]([\w\.]+)/i],[o,c]],cpu:[[/(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\)]/i],[[m,"amd64"]],[/(ia32(?=;))/i],[[m,y.lowerize]],[/((?:i[346]|x)86)[;\)]/i],[[m,"ia32"]],[/windows\s(ce|mobile);\sppc;/i],[[m,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i],[[m,/ower/,"",y.lowerize]],[/(sun4\w)[;\)]/i],[[m,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|arm(?:64|(?=v\d+;))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?(?=;)|pa-risc)/i],[[m,y.lowerize]]],device:[[/\((ipad|playbook);[\w\s\);-]+(rim|apple)/i],[a,h,[r,g]],[/applecoremedia\/[\w\.]+ \((ipad)/],[a,[h,"Apple"],[r,g]],[/(apple\s{0,1}tv)/i],[[a,"Apple TV"],[h,"Apple"]],[/(archos)\s(gamepad2?)/i,/(hp).+(touchpad)/i,/(hp).+(tablet)/i,/(kindle)\/([\w\.]+)/i,/\s(nook)[\w\s]+build\/(\w+)/i,/(dell)\s(strea[kpr\s\d]*[\dko])/i],[h,a,[r,g]],[/(kf[A-z]+)\sbuild\/.+silk\//i],[a,[h,"Amazon"],[r,g]],[/(sd|kf)[0349hijorstuw]+\sbuild\/.+silk\//i],[[a,L.str,E.device.amazon.model],[h,"Amazon"],[r,v]],[/\((ip[honed|\s\w*]+);.+(apple)/i],[a,h,[r,v]],[/\((ip[honed|\s\w*]+);/i],[a,[h,"Apple"],[r,v]],[/(blackberry)[\s-]?(\w+)/i,/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[\s_-]?([\w-]*)/i,/(hp)\s([\w\s]+\w)/i,/(asus)-?(\w+)/i],[h,a,[r,v]],[/\(bb10;\s(\w+)/i],[a,[h,"BlackBerry"],[r,v]],[/android.+(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus 7|padfone)/i],[a,[h,"Asus"],[r,g]],[/(sony)\s(tablet\s[ps])\sbuild\//i,/(sony)?(?:sgp.+)\sbuild\//i],[[h,"Sony"],[a,"Xperia Tablet"],[r,g]],[/android.+\s([c-g]\d{4}|so[-l]\w+)\sbuild\//i],[a,[h,"Sony"],[r,v]],[/\s(ouya)\s/i,/(nintendo)\s([wids3u]+)/i],[h,a,[r,p]],[/android.+;\s(shield)\sbuild/i],[a,[h,"Nvidia"],[r,p]],[/(playstation\s[34portablevi]+)/i],[a,[h,"Sony"],[r,p]],[/(sprint\s(\w+))/i],[[h,L.str,E.device.sprint.vendor],[a,L.str,E.device.sprint.model],[r,v]],[/(lenovo)\s?(S(?:5000|6000)+(?:[-][\w+]))/i],[h,a,[r,g]],[/(htc)[;_\s-]+([\w\s]+(?=\))|\w+)*/i,/(zte)-(\w*)/i,/(alcatel|geeksphone|lenovo|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]*)/i],[h,[a,/_/g," "],[r,v]],[/(nexus\s9)/i],[a,[h,"HTC"],[r,g]],[/d\/huawei([\w\s-]+)[;\)]/i,/(nexus\s6p)/i],[a,[h,"Huawei"],[r,v]],[/(microsoft);\s(lumia[\s\w]+)/i],[h,a,[r,v]],[/[\s\(;](xbox(?:\sone)?)[\s\);]/i],[a,[h,"Microsoft"],[r,p]],[/(kin\.[onetw]{3})/i],[[a,/\./g," "],[h,"Microsoft"],[r,v]],[/\s(milestone|droid(?:[2-4x]|\s(?:bionic|x2|pro|razr))?:?(\s4g)?)[\w\s]+build\//i,/mot[\s-]?(\w*)/i,/(XT\d{3,4}) build\//i,/(nexus\s6)/i],[a,[h,"Motorola"],[r,v]],[/android.+\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i],[a,[h,"Motorola"],[r,g]],[/hbbtv\/\d+\.\d+\.\d+\s+\([\w\s]*;\s*(\w[^;]*);([^;]*)/i],[[h,y.trim],[a,y.trim],[r,b]],[/hbbtv.+maple;(\d+)/i],[[a,/^/,"SmartTV"],[h,"Samsung"],[r,b]],[/\(dtv[\);].+(aquos)/i],[a,[h,"Sharp"],[r,b]],[/android.+((sch-i[89]0\d|shw-m380s|gt-p\d{4}|gt-n\d+|sgh-t8[56]9|nexus 10))/i,/((SM-T\w+))/i],[[h,"Samsung"],a,[r,g]],[/smart-tv.+(samsung)/i],[h,[r,b],a],[/((s[cgp]h-\w+|gt-\w+|galaxy\snexus|sm-\w[\w\d]+))/i,/(sam[sung]*)[\s-]*(\w+-?[\w-]*)/i,/sec-((sgh\w+))/i],[[h,"Samsung"],a,[r,v]],[/sie-(\w*)/i],[a,[h,"Siemens"],[r,v]],[/(maemo|nokia).*(n900|lumia\s\d+)/i,/(nokia)[\s_-]?([\w-]*)/i],[[h,"Nokia"],a,[r,v]],[/android\s3\.[\s\w;-]{10}(a\d{3})/i],[a,[h,"Acer"],[r,g]],[/android.+([vl]k\-?\d{3})\s+build/i],[a,[h,"LG"],[r,g]],[/android\s3\.[\s\w;-]{10}(lg?)-([06cv9]{3,4})/i],[[h,"LG"],a,[r,g]],[/(lg) netcast\.tv/i],[h,a,[r,b]],[/(nexus\s[45])/i,/lg[e;\s\/-]+(\w*)/i,/android.+lg(\-?[\d\w]+)\s+build/i],[a,[h,"LG"],[r,v]],[/android.+(ideatab[a-z0-9\-\s]+)/i],[a,[h,"Lenovo"],[r,g]],[/linux;.+((jolla));/i],[h,a,[r,v]],[/((pebble))app\/[\d\.]+\s/i],[h,a,[r,f]],[/android.+;\s(oppo)\s?([\w\s]+)\sbuild/i],[h,a,[r,v]],[/crkey/i],[[a,"Chromecast"],[h,"Google"]],[/android.+;\s(glass)\s\d/i],[a,[h,"Google"],[r,f]],[/android.+;\s(pixel c)\s/i],[a,[h,"Google"],[r,g]],[/android.+;\s(pixel xl|pixel)\s/i],[a,[h,"Google"],[r,v]],[/android.+;\s(\w+)\s+build\/hm\1/i,/android.+(hm[\s\-_]*note?[\s_]*(?:\d\w)?)\s+build/i,/android.+(mi[\s\-_]*(?:one|one[\s_]plus|note lte)?[\s_]*(?:\d?\w?)[\s_]*(?:plus)?)\s+build/i,/android.+(redmi[\s\-_]*(?:note)?(?:[\s_]*[\w\s]+))\s+build/i],[[a,/_/g," "],[h,"Xiaomi"],[r,v]],[/android.+(mi[\s\-_]*(?:pad)(?:[\s_]*[\w\s]+))\s+build/i],[[a,/_/g," "],[h,"Xiaomi"],[r,g]],[/android.+;\s(m[1-5]\snote)\sbuild/i],[a,[h,"Meizu"],[r,g]],[/android.+a000(1)\s+build/i,/android.+oneplus\s(a\d{4})\s+build/i],[a,[h,"OnePlus"],[r,v]],[/android.+[;\/]\s*(RCT[\d\w]+)\s+build/i],[a,[h,"RCA"],[r,g]],[/android.+[;\/\s]+(Venue[\d\s]{2,7})\s+build/i],[a,[h,"Dell"],[r,g]],[/android.+[;\/]\s*(Q[T|M][\d\w]+)\s+build/i],[a,[h,"Verizon"],[r,g]],[/android.+[;\/]\s+(Barnes[&\s]+Noble\s+|BN[RT])(V?.*)\s+build/i],[[h,"Barnes & Noble"],a,[r,g]],[/android.+[;\/]\s+(TM\d{3}.*\b)\s+build/i],[a,[h,"NuVision"],[r,g]],[/android.+;\s(k88)\sbuild/i],[a,[h,"ZTE"],[r,g]],[/android.+[;\/]\s*(gen\d{3})\s+build.*49h/i],[a,[h,"Swiss"],[r,v]],[/android.+[;\/]\s*(zur\d{3})\s+build/i],[a,[h,"Swiss"],[r,g]],[/android.+[;\/]\s*((Zeki)?TB.*\b)\s+build/i],[a,[h,"Zeki"],[r,g]],[/(android).+[;\/]\s+([YR]\d{2})\s+build/i,/android.+[;\/]\s+(Dragon[\-\s]+Touch\s+|DT)(\w{5})\sbuild/i],[[h,"Dragon Touch"],a,[r,g]],[/android.+[;\/]\s*(NS-?\w{0,9})\sbuild/i],[a,[h,"Insignia"],[r,g]],[/android.+[;\/]\s*((NX|Next)-?\w{0,9})\s+build/i],[a,[h,"NextBook"],[r,g]],[/android.+[;\/]\s*(Xtreme\_)?(V(1[045]|2[015]|30|40|60|7[05]|90))\s+build/i],[[h,"Voice"],a,[r,v]],[/android.+[;\/]\s*(LVTEL\-)?(V1[12])\s+build/i],[[h,"LvTel"],a,[r,v]],[/android.+[;\/]\s*(V(100MD|700NA|7011|917G).*\b)\s+build/i],[a,[h,"Envizen"],[r,g]],[/android.+[;\/]\s*(Le[\s\-]+Pan)[\s\-]+(\w{1,9})\s+build/i],[h,a,[r,g]],[/android.+[;\/]\s*(Trio[\s\-]*.*)\s+build/i],[a,[h,"MachSpeed"],[r,g]],[/android.+[;\/]\s*(Trinity)[\-\s]*(T\d{3})\s+build/i],[h,a,[r,g]],[/android.+[;\/]\s*TU_(1491)\s+build/i],[a,[h,"Rotor"],[r,g]],[/android.+(KS(.+))\s+build/i],[a,[h,"Amazon"],[r,g]],[/android.+(Gigaset)[\s\-]+(Q\w{1,9})\s+build/i],[h,a,[r,g]],[/\s(tablet|tab)[;\/]/i,/\s(mobile)(?:[;\/]|\ssafari)/i],[[r,y.lowerize],h,a],[/(android[\w\.\s\-]{0,9});.+build/i],[a,[h,"Generic"]]],engine:[[/windows.+\sedge\/([\w\.]+)/i],[c,[o,"EdgeHTML"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m)\/([\w\.]+)/i,/(khtml|tasman|links)[\/\s]\(?([\w\.]+)/i,/(icab)[\/\s]([23]\.[\d\.]+)/i],[o,c],[/rv\:([\w\.]{1,9}).+(gecko)/i],[c,o]],os:[[/microsoft\s(windows)\s(vista|xp)/i],[o,c],[/(windows)\snt\s6\.2;\s(arm)/i,/(windows\sphone(?:\sos)*)[\s\/]?([\d\.\s\w]*)/i,/(windows\smobile|windows)[\s\/]?([ntce\d\.\s]+\w)/i],[o,[c,L.str,E.os.windows.version]],[/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i],[[o,"Windows"],[c,L.str,E.os.windows.version]],[/\((bb)(10);/i],[[o,"BlackBerry"],c],[/(blackberry)\w*\/?([\w\.]*)/i,/(tizen)[\/\s]([\w\.]+)/i,/(android|webos|palm\sos|qnx|bada|rim\stablet\sos|meego|contiki)[\/\s-]?([\w\.]*)/i,/linux;.+(sailfish);/i],[o,c],[/(symbian\s?os|symbos|s60(?=;))[\/\s-]?([\w\.]*)/i],[[o,"Symbian"],c],[/\((series40);/i],[o],[/mozilla.+\(mobile;.+gecko.+firefox/i],[[o,"Firefox OS"],c],[/(nintendo|playstation)\s([wids34portablevu]+)/i,/(mint)[\/\s\(]?(\w*)/i,/(mageia|vectorlinux)[;\s]/i,/(joli|[kxln]?ubuntu|debian|suse|opensuse|gentoo|(?=\s)arch|slackware|fedora|mandriva|centos|pclinuxos|redhat|zenwalk|linpus)[\/\s-]?(?!chrom)([\w\.-]*)/i,/(hurd|linux)\s?([\w\.]*)/i,/(gnu)\s?([\w\.]*)/i],[o,c],[/(cros)\s[\w]+\s([\w\.]+\w)/i],[[o,"Chromium OS"],c],[/(sunos)\s?([\w\.\d]*)/i],[[o,"Solaris"],c],[/\s([frentopc-]{0,4}bsd|dragonfly)\s?([\w\.]*)/i],[o,c],[/(haiku)\s(\w+)/i],[o,c],[/cfnetwork\/.+darwin/i,/ip[honead]{2,4}(?:.*os\s([\w]+)\slike\smac|;\sopera)/i],[[c,/_/g,"."],[o,"iOS"]],[/(mac\sos\sx)\s?([\w\s\.]*)/i,/(macintosh|mac(?=_powerpc)\s)/i],[[o,"Mac OS"],[c,/_/g,"."]],[/((?:open)?solaris)[\/\s-]?([\w\.]*)/i,/(aix)\s((\d)(?=\.|\)|\s)[\w\.])*/i,/(plan\s9|minix|beos|os\/2|amigaos|morphos|risc\sos|openvms)/i,/(unix)\s?([\w\.]*)/i],[o,c]]},w.VERSION="0.7.18",w.BROWSER={NAME:o,MAJOR:"major",VERSION:c},w.CPU={ARCHITECTURE:m},w.DEVICE={MODEL:a,VENDOR:h,TYPE:r,CONSOLE:p,MOBILE:v,SMARTTV:b,TABLET:g,WEARABLE:f,EMBEDDED:"embedded"},w.ENGINE={NAME:o,VERSION:c},w.OS={NAME:o,VERSION:c},typeof t!=l?(t=typeof e!=l&&e.exports?e.exports=w:t).UAParser=w:i(3)?(E=function(){return w;}.call(t,i,t,e))!==d&&(e.exports=E):n&&(n.UAParser=w),typeof (k=n&&(n.jQuery||n.Zepto))!=l&&(s=new w(),k.ua=s.getResult(),k.ua.get=function(){return s.getUA();},k.ua.set=function(e){s.setUA(e);var t,i=s.getResult();for(t in i)k.ua[t]=i[t];});},function(t,e){!function(e){t.exports=e;}.call(e,{});},function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i,s=arguments[t];for(i in s)Object.prototype.hasOwnProperty.call(s,i)&&(e[i]=s[i]);}return e;},i=i(0),s=i.DEVICE_TYPES,l=i.defaultData,a=t.getNavigatorInstance=function(){return !("undefined"==typeof window||!window.navigator&&!navigator)&&(window.navigator||navigator);},i=t.isIOS13Check=function(e){var t=a();return t&&t.platform&&(-1!==t.platform.indexOf(e)||"MacIntel"===t.platform&&1<t.maxTouchPoints&&!window.MSStream);};e.exports={checkType:function(e){switch(e){case s.MOBILE:return {isMobile:!0};case s.TABLET:return {isTablet:!0};case s.SMART_TV:return {isSmartTV:!0};case s.CONSOLE:return {isConsole:!0};case s.WEARABLE:return {isWearable:!0};case s.BROWSER:return {isBrowser:!0};default:return l;}},broPayload:function(e,t,i,s,n){return {isBrowser:e,browserMajorVersion:t.major,browserFullVersion:t.version,browserName:t.name,engineName:i.name||!1,engineVersion:i.version,osName:s.name,osVersion:s.version,userAgent:n};},mobilePayload:function(e,t,i,s){return n({},e,{vendor:t.vendor,model:t.model,os:i.name,osVersion:i.version,ua:s});},stvPayload:function(e,t,i,s){return {isSmartTV:e,engineName:t.name,engineVersion:t.version,osName:i.name,osVersion:i.version,userAgent:s};},consolePayload:function(e,t,i,s){return {isConsole:e,engineName:t.name,engineVersion:t.version,osName:i.name,osVersion:i.version,userAgent:s};},wearPayload:function(e,t,i,s){return {isWearable:e,engineName:t.name,engineVersion:t.version,osName:i.name,osVersion:i.version,userAgent:s};},getNavigatorInstance:a,isIOS13Check:i};}],n={},s.m=i,s.c=n,s.d=function(e,t,i){s.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:i});},s.n=function(e){var t=e&&e.__esModule?function(){return e.default;}:function(){return e;};return s.d(t,"a",t),t;},s.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t);},s.p="",s(s.s=1));}),r=(i=s)&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i;var p,g=t("createSvgIcon"),b=t("createCheckbox"),f=t("createSelectIcon"),y=t("checkCheckbox"),L=t("generateRandomId"),E=t("updateSelectionsCount"),C=t("handleOptgroup"),k=t("updateCurrentValue"),M=t("moveFocus");class N{static autoInit(e,t){void 0===t&&(t={});t=new N(e,t);return t.init(),e.ECLSelect=t;}constructor(e,t){var t=void 0===t?{}:t,i=t.defaultText,i=void 0===i?"":i,s=t.searchText,s=void 0===s?"":s,n=t.selectAllText,n=void 0===n?"":n,l=t.noResultsText,l=void 0===l?"":l,a=t.selectMultipleSelector,a=void 0===a?"[data-ecl-select-multiple]":a,o=t.defaultTextAttribute,o=void 0===o?"data-ecl-select-default":o,r=t.searchTextAttribute,r=void 0===r?"data-ecl-select-search":r,h=t.selectAllTextAttribute,h=void 0===h?"data-ecl-select-all":h,c=t.noResultsTextAttribute,c=void 0===c?"data-ecl-select-no-results":c,d=t.closeLabelAttribute,d=void 0===d?"data-ecl-select-close":d,u=t.clearAllLabelAttribute,u=void 0===u?"data-ecl-select-clear-all":u,m=t.selectMultiplesSelectionCountSelector,m=void 0===m?"ecl-select-multiple-selections-counter":m,p=t.closeButtonLabel,p=void 0===p?"":p,t=t.clearAllButtonLabel,t=void 0===t?"":t;if(Object.defineProperty(this,M,{value:Ee}),Object.defineProperty(this,k,{value:Le}),Object.defineProperty(this,C,{value:ye}),Object.defineProperty(this,E,{value:fe}),this.supportedEvents=["onToggle","onSelection","onSelectAll","onReset","onSearch"],!e||e.nodeType!==Node.ELEMENT_NODE)throw new TypeError("DOM element should be given to initialize this widget.");this.element=e,this.eventManager=new w(),this.selectMultipleSelector=a,this.selectMultiplesSelectionCountSelector=m,this.defaultTextAttribute=o,this.searchTextAttribute=r,this.selectAllTextAttribute=h,this.noResultsTextAttribute=c,this.defaultText=i,this.searchText=s,this.selectAllText=n,this.noResultsText=l,this.clearAllButtonLabel=t,this.closeButtonLabel=p,this.closeLabelAttribute=d,this.clearAllLabelAttribute=u,this.input=null,this.search=null,this.checkboxes=null,this.select=null,this.selectAll=null,this.selectIcon=null,this.textDefault=null,this.textSearch=null,this.textSelectAll=null,this.textNoResults=null,this.selectMultiple=null,this.inputContainer=null,this.optionsContainer=null,this.visibleOptions=null,this.searchContainer=null,this.countSelections=null,this.form=null,this.formGroup=null,this.label=null,this.helper=null,this.invalid=null,this.selectMultipleId=null,this.multiple=v(this.selectMultipleSelector,this.element.parentNode)||!1,this.isOpen=!1,this.handleToggle=this.handleToggle.bind(this),this.handleClickOption=this.handleClickOption.bind(this),this.handleClickSelectAll=this.handleClickSelectAll.bind(this),this.handleEsc=this.handleEsc.bind(this),this.handleFocusout=this.handleFocusout.bind(this),this.handleSearch=this.handleSearch.bind(this),this.handleClickOutside=this.handleClickOutside.bind(this),this.resetForm=this.resetForm.bind(this),this.handleClickOnClearAll=this.handleClickOnClearAll.bind(this),this.handleKeyboardOnSelect=this.handleKeyboardOnSelect.bind(this),this.handleKeyboardOnSelectAll=this.handleKeyboardOnSelectAll.bind(this),this.handleKeyboardOnSearch=this.handleKeyboardOnSearch.bind(this),this.handleKeyboardOnOptions=this.handleKeyboardOnOptions.bind(this),this.handleKeyboardOnOption=this.handleKeyboardOnOption.bind(this),this.handleKeyboardOnClearAll=this.handleKeyboardOnClearAll.bind(this),this.handleKeyboardOnClose=this.handleKeyboardOnClose.bind(this),this.setCurrentValue=this.setCurrentValue.bind(this),this.update=this.update.bind(this);}init(){if(!ECL)throw new TypeError("Called init but ECL is not present");var e,t;ECL.components=ECL.components||new Map(),this.select=this.element,this.multiple?(e=Array.from(this.select.parentElement.classList),this.textDefault=this.defaultText||this.element.getAttribute(this.defaultTextAttribute),this.textSearch=this.searchText||this.element.getAttribute(this.searchTextAttribute),this.textSelectAll=this.selectAllText||this.element.getAttribute(this.selectAllTextAttribute),this.textNoResults=this.noResultsText||this.element.getAttribute(this.noResultsTextAttribute),this.closeButtonLabel=this.closeButtonLabel||this.element.getAttribute(this.closeLabelAttribute),this.clearAllButtonLabel=this.clearAllButtonLabel||this.element.getAttribute(this.clearAllLabelAttribute),this.selectMultipleId=this.element.id||"select-multiple-"+d(N,L)[L](4),this.element.id=this.selectMultipleId,this.formGroup=this.element.closest(".ecl-form-group"),this.formGroup&&(this.formGroup.setAttribute("role","application"),this.label=v(".ecl-form-label",this.formGroup),this.helper=v(".ecl-help-block",this.formGroup),this.invalid=v(".ecl-feedback-message",this.formGroup)),this.select.setAttribute("tabindex","-1"),this.selectMultiple=document.createElement("div"),this.selectMultiple.classList.add("ecl-select__multiple"),this.selectMultiple.addEventListener("focusout",this.handleFocusout),this.inputContainer=document.createElement("div"),this.inputContainer.classList.add(...e),this.selectMultiple.appendChild(this.inputContainer),this.input=document.createElement("button"),this.input.classList.add("ecl-select","ecl-select__multiple-toggle"),this.input.setAttribute("type","button"),this.input.setAttribute("aria-controls",this.selectMultipleId+"-dropdown"),this.input.setAttribute("id",this.selectMultipleId+"-toggle"),this.input.setAttribute("aria-expanded",!1),e.find((e)=>e.includes("disabled"))&&this.input.setAttribute("disabled",!0),this.label&&(this.label.setAttribute("for",this.selectMultipleId+"-toggle"),this.input.setAttribute("aria-labelledby",this.label.id)),t="",this.helper&&(t=this.helper.id),(t=this.invalid?t?t+" "+this.invalid.id:this.invalid.id:t)&&this.input.setAttribute("aria-describedby",t),this.input.addEventListener("keydown",this.handleKeyboardOnSelect),this.input.addEventListener("click",this.handleToggle),this.selectionCount=document.createElement("div"),this.selectionCount.classList.add(this.selectMultiplesSelectionCountSelector),this.selectionCountText=document.createElement("span"),this.selectionCount.appendChild(this.selectionCountText),this.inputContainer.appendChild(this.selectionCount),this.inputContainer.appendChild(this.input),this.inputContainer.appendChild(d(N,f)[f]()),this.searchContainer=document.createElement("div"),this.searchContainer.style.display="none",this.searchContainer.classList.add("ecl-select__multiple-dropdown",...e),this.searchContainer.setAttribute("id",this.selectMultipleId+"-dropdown"),this.selectMultiple.appendChild(this.searchContainer),this.search=document.createElement("input"),this.search.classList.add("ecl-text-input"),this.search.setAttribute("type","search"),this.search.setAttribute("placeholder",this.textSearch||""),this.search.addEventListener("keyup",this.handleSearch),this.search.addEventListener("search",this.handleSearch),this.searchContainer.appendChild(this.search),this.textSelectAll&&(t=Array.from(this.select.options).filter((e)=>!e.disabled).length,this.selectAll=d(N,b)[b]({id:"all-"+d(N,L)[L](4),text:this.textSelectAll+" ("+t+")",extraClass:"ecl-select__multiple-all"},this.selectMultipleId),this.selectAll.addEventListener("click",this.handleClickSelectAll),this.selectAll.addEventListener("keypress",this.handleClickSelectAll),this.selectAll.addEventListener("change",this.handleClickSelectAll),this.searchContainer.appendChild(this.selectAll)),this.search.addEventListener("keydown",this.handleKeyboardOnSearch),this.optionsContainer=document.createElement("div"),this.optionsContainer.classList.add("ecl-select__multiple-options"),this.optionsContainer.setAttribute("aria-live","polite"),this.searchContainer.appendChild(this.optionsContainer),(this.clearAllButtonLabel||this.closeButtonLabel)&&(this.dropDownToolbar=document.createElement("div"),this.dropDownToolbar.classList.add("ecl-select-multiple-toolbar"),this.closeButtonLabel&&(this.closeButton=document.createElement("button"),this.closeButton.textContent=this.closeButtonLabel,this.closeButton.classList.add("ecl-button","ecl-button--primary"),this.closeButton.addEventListener("click",this.handleEsc),this.closeButton.addEventListener("keydown",this.handleKeyboardOnClose),this.dropDownToolbar)&&(this.dropDownToolbar.appendChild(this.closeButton),this.searchContainer.appendChild(this.dropDownToolbar),this.dropDownToolbar.style.display="none"),this.clearAllButtonLabel)&&(this.clearAllButton=document.createElement("button"),this.clearAllButton.textContent=this.clearAllButtonLabel,this.clearAllButton.classList.add("ecl-button","ecl-button--secondary"),this.clearAllButton.addEventListener("click",this.handleClickOnClearAll),this.clearAllButton.addEventListener("keydown",this.handleKeyboardOnClearAll),this.dropDownToolbar.appendChild(this.clearAllButton)),this.selectAll.addEventListener("keydown",this.handleKeyboardOnSelectAll),this.optionsContainer.addEventListener("keydown",this.handleKeyboardOnOptions),this.select.options&&0<this.select.options.length?this.checkboxes=Array.from(this.select.options).map((e)=>{var t,i="",s="";return "OPTGROUP"===e.parentNode.tagName&&(v('fieldset[data-ecl-multiple-group="'+e.parentNode.getAttribute("label")+'"]',this.optionsContainer)?i=v('fieldset[data-ecl-multiple-group="'+e.parentNode.getAttribute("label")+'"]',this.optionsContainer):(i=document.createElement("fieldset"),(t=document.createElement("legend")).classList.add("ecl-select__multiple-group__title"),t.innerHTML=e.parentNode.getAttribute("label"),i.appendChild(t),i.setAttribute("data-ecl-multiple-group",e.parentNode.getAttribute("label")),i.classList.add("ecl-select__multiple-group"),this.optionsContainer.appendChild(i))),e.selected&&(d(this,E)[E](1),this.dropDownToolbar)&&(this.dropDownToolbar.style.display="flex"),(s=d(N,b)[b]({id:e.value,text:e.text,disabled:e.disabled,selected:e.selected},this.selectMultipleId)).setAttribute("data-visible",!0),s.classList.contains("ecl-checkbox--disabled")||(s.addEventListener("click",this.handleClickOption),s.addEventListener("keydown",this.handleKeyboardOnOption)),(i||this.optionsContainer).appendChild(s),s;}):this.checkboxes=[],this.visibleOptions=this.checkboxes,this.select.parentNode.parentNode.insertBefore(this.selectMultiple,this.select.parentNode.nextSibling),this.select.parentNode.classList.add("ecl-select__container--hidden"),d(this,k)[k](),this.form=this.element.closest("form"),this.form&&this.form.addEventListener("reset",this.resetForm),document.addEventListener("click",this.handleClickOutside)):(d(this,C)[C](),this.select.addEventListener("keydown",this.handleKeyboardOnSelect)),this.element.setAttribute("data-ecl-auto-initialized","true"),ECL.components.set(this.element,this);}update(e){d(this,k)[k](),d(this,E)[E](e);}setCurrentValue(e,t){if("replace"!==(t=void 0===t?"replace":t)&&"add"!==t)throw new Error('Invalid operation mode. Use "replace" or "add".');var i="string"==typeof e?[e]:e;Array.from(this.select.options).forEach((e)=>{"replace"===t&&(e.selected=!1),(i.includes(e.value)||i.includes(e.label))&&(e.selected=!0);}),this.update();}handleToggle(e){e.preventDefault(),this.input.classList.toggle("ecl-select--active"),"none"===this.searchContainer.style.display?(this.searchContainer.style.display="block",this.input.setAttribute("aria-expanded",!0),this.isOpen=!0):(this.searchContainer.style.display="none",this.input.setAttribute("aria-expanded",!1),this.isOpen=!1);e={opened:this.isOpen,e};this.trigger("onToggle",e);}on(e,t){this.eventManager.on(e,t);}trigger(e,t){this.eventManager.trigger(e,t);}destroy(){this.input.removeEventListener("keydown",this.handleKeyboardOnSelect),this.multiple&&(document.removeEventListener("click",this.handleClickOutside),this.selectMultiple.removeEventListener("focusout",this.handleFocusout),this.input.removeEventListener("click",this.handleToggle),this.search.removeEventListener("keyup",this.handleSearch),this.search.removeEventListener("keydown",this.handleKeyboardOnSearch),this.selectAll.removeEventListener("click",this.handleClickSelectAll),this.selectAll.removeEventListener("keypress",this.handleClickSelectAll),this.selectAll.removeEventListener("keydown",this.handleKeyboardOnSelectAll),this.optionsContainer.removeEventListener("keydown",this.handleKeyboardOnOptions),this.checkboxes.forEach((e)=>{e.removeEventListener("click",this.handleClickSelectAll),e.removeEventListener("click",this.handleClickOption),e.removeEventListener("keydown",this.handleKeyboardOnOption);}),this.closeButton&&(this.closeButton.removeEventListener("click",this.handleEsc),this.closeButton.removeEventListener("keydown",this.handleKeyboardOnClose)),this.clearAllButton&&(this.clearAllButton.removeEventListener("click",this.handleClickOnClearAll),this.clearAllButton.removeEventListener("keydown",this.handleKeyboardOnClearAll)),this.selectMultiple&&this.selectMultiple.remove(),this.select.parentNode.classList.remove("ecl-select__container--hidden")),this.element&&(this.element.removeAttribute("data-ecl-auto-initialized"),ECL.components.delete(this.element));}handleClickOption(e){e.preventDefault(),d(N,y)[y](e);var t=e.target.closest(".ecl-checkbox");Array.from(this.select.options).forEach((e)=>{e.text===t.getAttribute("data-select-multiple-value")&&(e.getAttribute("selected")||e.selected?(e.selected=!1,this.selectAll.querySelector("input").checked=!1):e.selected=!0);}),this.update();}handleClickSelectAll(e){var i,s;e.preventDefault(),this.selectAll.querySelector("input").disabled||(i=d(N,y)[y](e),s=Array.from(this.select.options).filter((e)=>!e.disabled),Array.from(this.searchContainer.querySelectorAll('[data-visible="true"]')).filter((e)=>!e.querySelector("input").disabled).forEach((t)=>{t.querySelector("input").checked=i;var e=s.find((e)=>e.text===t.getAttribute("data-select-multiple-value"));e&&(e.selected=!!i);}),this.update(),this.trigger("onSelectAll",{selected:s}));}handleFocusout(e){e.relatedTarget&&this.selectMultiple&&!this.selectMultiple.contains(e.relatedTarget)&&"block"===this.searchContainer.style.display?(this.searchContainer.style.display="none",this.input.classList.remove("ecl-select--active"),this.input.setAttribute("aria-expanded",!1)):!e.relatedTarget||this.selectMultiple||this.select.parentNode.contains(e.relatedTarget)||this.select.blur();}handleSearch(e){for(var t,i=this.optionsContainer.offsetHeight,s=(this.visibleOptions=[],e.target.value.toLowerCase()),n={},i=(0<i&&(this.optionsContainer.style.height=i+"px"),this.checkboxes.forEach((e)=>{var t;e.getAttribute("data-select-multiple-value").toLocaleLowerCase().includes(s)?(e.setAttribute("data-visible",!0),e.style.display="flex",(t=e.querySelector(".ecl-checkbox__label-text")).textContent=t.textContent.replace(".cls-1{fill:none}",""),s&&(t.innerHTML=t.textContent.replace(new RegExp(s+"(?!([^<]+)?<)","gi"),"<b>$&</b>")),this.visibleOptions.push(e)):(e.removeAttribute("data-visible"),e.style.display="none");}),this.visibleOptions.filter((e)=>e.querySelector("input").checked)),i=(0===this.visibleOptions.length||this.visibleOptions.length!==i.length?this.selectAll.querySelector("input").checked=!1:this.selectAll.querySelector("input").checked=!0,this.searchContainer.querySelector(".ecl-select__multiple-no-results")),l=B(this.optionsContainer.getElementsByClassName("ecl-select__multiple-group"));!(a=l()).done;){var a=a.value;a.style.display="none",[...a.children].filter((e)=>e.classList.contains("ecl-checkbox")).forEach((e)=>{e.hasAttribute("data-visible")&&(e.closest(".ecl-select__multiple-group").style.display="block");});}0!==this.visibleOptions.length||i?0<this.visibleOptions.length&&null!==i&&i.parentNode.removeChild(i):(i=document.createElement("div"),t=document.createElement("span"),i.classList.add("ecl-select__multiple-no-results"),t.innerHTML=this.textNoResults,i.appendChild(t),this.optionsContainer.appendChild(i)),0===s.length?(this.checkboxes.forEach((e)=>{e.setAttribute("data-visible",!0),e.style.display="flex";}),this.selectAll.classList.remove("ecl-checkbox--disabled"),this.selectAll.querySelector("input").disabled=!1):(this.selectAll.classList.add("ecl-checkbox--disabled"),this.selectAll.querySelector("input").disabled=!0),n=0<this.visibleOptions.length?{results:this.visibleOptions.map((e)=>{var t=null,e=v(".ecl-checkbox__label-text",e);return (t=e?e.innerHTML.replace(/<\/?b>/g,""):t)||"";}),text:e.target.value.toLowerCase()}:{results:"none",text:e.target.value.toLowerCase()},this.trigger("onSearch",n);}handleClickOutside(e){e.target&&this.selectMultiple&&!this.selectMultiple.contains(e.target)&&"block"===this.searchContainer.style.display&&(this.searchContainer.style.display="none",this.input.classList.remove("ecl-select--active"),this.input.setAttribute("aria-expanded",!1));}handleKeyboardOnSelect(e){switch(e.key){case "Escape":e.preventDefault(),this.handleEsc(e);break;case " ":case "Enter":case "ArrowDown":this.multiple&&(e.preventDefault(),this.handleToggle(e),this.search.focus());}}handleKeyboardOnSelectAll(e){switch(e.key){case "Escape":e.preventDefault(),this.handleEsc(e);break;case "ArrowDown":e.preventDefault(),(0<this.visibleOptions.length?this.visibleOptions[0].querySelector("input"):this.input).focus();break;case "ArrowUp":e.preventDefault(),this.search.focus();break;case "Tab":e.preventDefault(),(e.shiftKey?this.search:0<this.visibleOptions.length?this.visibleOptions[0].querySelector("input"):this.input).focus();}}handleKeyboardOnOptions(e){switch(e.key){case "Escape":e.preventDefault(),this.handleEsc(e);break;case "ArrowDown":e.preventDefault(),d(this,M)[M]("down",!1);break;case "ArrowUp":e.preventDefault(),d(this,M)[M]("up");break;case "Tab":e.preventDefault(),e.shiftKey?d(this,M)[M]("up"):d(this,M)[M]("down");}}handleKeyboardOnSearch(e){switch(e.key){case "Escape":e.preventDefault(),this.handleEsc(e);break;case "ArrowDown":e.preventDefault(),(this.selectAll.querySelector("input").disabled?0<this.visibleOptions.length?this.visibleOptions[0].querySelector("input"):this.input:this.selectAll.querySelector("input")).focus();break;case "ArrowUp":e.preventDefault(),this.input.focus(),this.handleToggle(e);}}handleKeyboardOnOption(e){"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),this.handleClickOption(e));}handleKeyboardOnClearAll(e){switch(e.preventDefault(),e.key){case "Enter":case " ":this.handleClickOnClearAll(e),this.trigger("onReset",e),this.input.focus();break;case "ArrowDown":this.input.focus();break;case "ArrowUp":(this.closeButton||(0<this.visibleOptions.length?this.visibleOptions[this.visibleOptions.length-1].querySelector("input"):this.search)).focus();break;case "Tab":e.shiftKey?(this.closeButton||(0<this.visibleOptions.length?this.visibleOptions[this.visibleOptions.length-1].querySelector("input"):this.search)).focus():(this.input.focus(),this.handleToggle(e));}}handleKeyboardOnClose(e){switch(e.preventDefault(),e.key){case "Enter":case " ":this.handleEsc(e),this.input.focus();break;case "ArrowUp":0<this.visibleOptions.length?this.visibleOptions[this.visibleOptions.length-1].querySelector("input").focus():(this.input.focus(),this.handleToggle(e));break;case "ArrowDown":this.clearAllButton?this.clearAllButton.focus():(this.input.focus(),this.handleToggle(e));break;case "Tab":e.shiftKey?0<this.visibleOptions.length?this.visibleOptions[this.visibleOptions.length-1].querySelector("input").focus():(this.input.focus(),this.handleToggle(e)):this.clearAllButton?this.clearAllButton.focus():(this.input.focus(),this.handleToggle(e));}}handleEsc(e){(this.multiple?(e.preventDefault(),this.searchContainer.style.display="none",this.input.setAttribute("aria-expanded",!1),this.input.blur(),this.input):this.select).classList.remove("ecl-select--active");}handleClickOnClearAll(e){e.preventDefault(),Array.from(this.select.options).forEach((e)=>{this.selectMultiple.querySelector('[data-select-multiple-value="'+e.text+'"]').querySelector(".ecl-checkbox__input").checked=!1,e.selected=!1;}),this.selectAll.querySelector(".ecl-checkbox__input").checked=!1,this.update(0),this.trigger("onReset",e);}resetForm(){this.multiple&&setTimeout(()=>{Array.from(this.select.options).forEach((e)=>{this.selectMultiple.querySelector('[data-select-multiple-value="'+e.text+'"]').querySelector(".ecl-checkbox__input").checked?e.selected=!0:e.selected=!1;}),this.update(0);},10);}}function fe(e){var t=0;0<e?this.selectionCount.querySelector("span").innerHTML+=e:t=Array.from(this.select.options).filter((e)=>e.selected).length,0<t?(this.selectionCount.querySelector("span").innerHTML=t,this.selectionCount.classList.add("ecl-select-multiple-selections-counter--visible"),this.dropDownToolbar&&(this.dropDownToolbar.style.display="flex")):(this.selectionCount.classList.remove("ecl-select-multiple-selections-counter--visible"),this.dropDownToolbar&&(this.dropDownToolbar.style.display="none")),100<=t&&this.selectionCount.classList.add("ecl-select-multiple-selections-counter--xxl");}function ye(){Array.from(this.select.options).forEach((e)=>{var t,i;"OPTGROUP"===e.parentNode.tagName&&(t=e.parentNode.getAttribute("label"),i=e.getAttribute("label")||e.textContent,t)&&i&&e.setAttribute("aria-label",i+" - "+t);});}function Le(){var e=Array.from(this.select.options).filter((e)=>e.selected).map((e)=>e.text).join(", ");this.input.innerHTML=e||this.textDefault||"",""!==e&&this.label?this.label.setAttribute("aria-label",this.label.innerText+" "+e):""===e&&this.label&&this.label.removeAttribute("aria-label"),this.trigger("onSelection",{selected:e}),this.select.dispatchEvent(new window.Event("change",{bubbles:!0}));}function Ee(e,t){void 0===t&&(t=!0);var i=document.activeElement,s=i.parentElement.parentElement.classList.contains("ecl-select__multiple-group")?Array.from(i.parentElement.parentElement.parentElement.querySelectorAll(".ecl-checkbox__input")):Array.from(i.parentElement.parentElement.querySelectorAll(".ecl-checkbox__input")),i=s.indexOf(i);"down"===e?0<(e=s.splice(i+1,s.length).filter((e)=>!e.disabled&&"none"!==e.parentElement.style.display)).length?e[0].focus():t&&(this.dropDownToolbar&&"flex"===this.dropDownToolbar.style.display?this.dropDownToolbar.firstChild:this.input).focus():(0<(e=s.splice(0,i).filter((e)=>!e.disabled&&"none"!==e.parentElement.style.display)).length?e[e.length-1]:(this.optionsContainer.scrollTop=0,this.selectAll.querySelector("input").disabled?this.search:this.selectAll.querySelector("input"))).focus();}p=N,Object.defineProperty(N,L,{value:function(e){return Math.random().toString(36).substr(2,e);}}),Object.defineProperty(N,y,{value:function(e){return (e=e.target.closest(".ecl-checkbox").querySelector("input")).checked=!e.checked,e.checked;}}),Object.defineProperty(N,f,{value:function(){var e=document.createElement("div"),t=(e.classList.add("ecl-select__icon"),document.createElement("button")),i=(t.classList.add("ecl-button","ecl-button--ghost","ecl-button--icon-only"),t.setAttribute("tabindex","-1"),document.createElement("span"));i.classList.add("ecl-button__container");(s=document.createElement("span")).classList.add("ecl-button__label"),s.textContent="Toggle dropdown",i.appendChild(s);var s=d(p,g)[g]('<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><path fill-rule="evenodd" d="m45 30.12-2.73 2.82-18.24-18.36L5.73 33 3 30.18 24.03 9z" clip-rule="evenodd"/></svg>',"ecl-icon ecl-icon--xs ecl-icon--rotate-180");return i.appendChild(s),t.appendChild(i),e.appendChild(t),e;}}),Object.defineProperty(N,b,{value:function(e,t){var i,s,n,l,a,o,r,h,c;return e&&t&&(i=e.id,s=e.text,n=e.disabled,l=e.selected,e=e.extraClass,i)&&s?(a=document.createElement("div"),o=document.createElement("input"),r=document.createElement("label"),h=document.createElement("span"),c=document.createElement("span"),e&&a.classList.add(e),l&&o.setAttribute("checked",!0),n&&(a.classList.add("ecl-checkbox--disabled"),h.classList.add("ecl-checkbox__box--disabled"),o.setAttribute("disabled",n)),a.classList.add("ecl-checkbox"),a.setAttribute("data-select-multiple-value",s),o.classList.add("ecl-checkbox__input"),o.setAttribute("type","checkbox"),o.setAttribute("id",t+"-"+i),o.setAttribute("name",t+"-"+i),a.appendChild(o),r.classList.add("ecl-checkbox__label"),r.setAttribute("for",t+"-"+i),h.classList.add("ecl-checkbox__box"),h.setAttribute("aria-hidden",!0),h.appendChild(d(p,g)[g]('<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><path fill-rule="evenodd" d="M19.53 36.69 6 23.19l2.13-2.13 11.4 11.4L39.99 12l2.13 2.13z"/></svg>',"ecl-icon ecl-icon--s ecl-checkbox__icon")),r.appendChild(h),c.classList.add("ecl-checkbox__label-text"),c.innerHTML=s,r.appendChild(c),a.appendChild(r),a):"";}}),Object.defineProperty(N,g,{value:function(e,t){var i=document.createElement("div");return i.innerHTML=e,(e=i.children[0]).removeAttribute("height"),e.removeAttribute("width"),e.setAttribute("focusable",!1),e.setAttribute("aria-hidden",!0),e.setAttribute("class",t),e;}});class D{static autoInit(e,t){t=(void 0===t?{}:t).TABLE,t=void 0===t?{}:t,t=new D(e,t);return t.init(),e.ECLTable=t;}constructor(e,t){var t=void 0===t?{}:t,i=t.sortSelector,i=void 0===i?"[data-ecl-table-sort-toggle]":i,t=t.sortLabelSelector,t=void 0===t?"data-ecl-table-sort-label":t;if(this.handleClickOnSort=(l)=>(e)=>{e.preventDefault();for(var e=l.closest("table"),i=v("tbody",e),t=l.getAttribute("aria-sort"),s=0,n=l.previousElementSibling;n;)s+=n.getAttribute("colspan")?Number(n.getAttribute("colspan")):1,n=n.previousElementSibling;e=(s,n)=>(e,t)=>{return i=(n?e:t).children[s].textContent,t=(n?t:e).children[s].textContent,""===i||""===t||Number.isNaN(+i)||Number.isNaN(+t)?i.toString().localeCompare(t):i-t;var i;},t="descending"===t?([...m("tr",i)].forEach((e,t)=>{t=v("[data-ecl-table-order='"+t+"']");i.appendChild(t);}),null):([...m("tr",i)].sort(e(s,"ascending"!==t)).forEach((e)=>i.appendChild(e)),"ascending"===t?"descending":"ascending");this.sortHeadings.forEach((e)=>{t&&e===l?e.setAttribute("aria-sort",t):e.removeAttribute("aria-sort");});},!e||e.nodeType!==Node.ELEMENT_NODE)throw new TypeError("DOM element should be given to initialize this widget.");this.element=e,this.sortSelector=i,this.sortLabelSelector=t,this.sortHeadings=null,this.handleClickOnSort=this.handleClickOnSort.bind(this);}static createSortIcon(e){var t=document.createElement("span"),t=(t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><path fill-rule="evenodd" d="m12 33 12-15 12 15z"/></svg>',t.children[0]);return t.removeAttribute("height"),t.removeAttribute("width"),t.setAttribute("focusable",!1),t.setAttribute("aria-hidden",!0),t.setAttribute("class","ecl-table__icon ecl-icon ecl-icon--xs "+e),t;}init(){if(!ECL)throw new TypeError("Called init but ECL is not present");ECL.components=ECL.components||new Map(),this.sortHeadings=m(this.sortSelector,this.element),this.sortHeadings&&this.sortHeadings.forEach((t)=>{var e=document.createElement("button");e.classList.add("ecl-table__arrow"),this.element.hasAttribute(this.sortLabelSelector)&&e.setAttribute("aria-label",this.element.getAttribute(this.sortLabelSelector)),e.appendChild(D.createSortIcon("ecl-table__icon-up")),e.appendChild(D.createSortIcon("ecl-table__icon-down")),t.appendChild(e),t.addEventListener("click",(e)=>this.handleClickOnSort(t)(e));});var e=v("tbody",this.element);[...m("tr",e)].forEach((e,t)=>{e.setAttribute("data-ecl-table-order",t);}),this.element.setAttribute("data-ecl-auto-initialized","true"),ECL.components.set(this.element,this);}destroy(){this.sortHeadings&&this.sortHeadings.forEach((t)=>{t.removeEventListener("click",(e)=>this.handleClickOnSort(t)(e));}),this.element&&(this.element.removeAttribute("data-ecl-auto-initialized"),ECL.components.delete(this.element));}}return e.Accordion=class Ce{static autoInit(e,t){return t=void 0===(t=(void 0===t?{}:t).ACCORDION)?{}:t,(t=new Ce(e,t)).init(),e.ECLAccordion=t;}constructor(e,t){var i=void 0===(i=(t=void 0===t?{}:t).toggleSelector)?"[data-ecl-accordion-toggle]":i,s=void 0===(s=t.iconSelector)?"[data-ecl-accordion-icon]":s,t=void 0===(t=t.attachClickListener)||t;if(this.supportedEvents=["onToggle"],!e||e.nodeType!==Node.ELEMENT_NODE)throw new TypeError("DOM element should be given to initialize this widget.");this.element=e,this.eventManager=new w(),this.toggleSelector=i,this.iconSelector=s,this.attachClickListener=t,this.toggles=null,this.forceClose=!1,this.target=null,this.handleClickOutside=this.handleClickOutside.bind(this),this.handleClickOnToggle=this.handleClickOnToggle.bind(this);}init(){if(!ECL)throw new TypeError("Called init but ECL is not present");ECL.components=ECL.components||new Map(),document.addEventListener("click",this.handleClickOutside),this.toggles=m(this.toggleSelector,this.element),this.attachClickListener&&this.toggles&&this.toggles.forEach((t)=>{t.addEventListener("click",(e)=>this.handleClickOnToggle(e,t));}),this.element.setAttribute("data-ecl-auto-initialized","true"),ECL.components.set(this.element,this);}on(e,t){this.eventManager.on(e,t);}trigger(e,t){this.eventManager.trigger(e,t);}destroy(){document.removeEventListener("click",this.handleClickOutside),this.attachClickListener&&this.toggles&&this.toggles.forEach((e)=>{e.replaceWith(e.cloneNode(!0));}),this.element&&(this.element.removeAttribute("data-ecl-auto-initialized"),ECL.components.delete(this.element));}handleClickOutside(e){e.target&&this.toggles&&!this.element.contains(e.target)&&this.toggles.forEach((e)=>e.classList.remove("ecl-accordion__toggle--active"));}handleClickOnToggle(e,t){var i=!1,s=v("#"+t.getAttribute("aria-controls"),this.element);if(!s)throw new TypeError("Target has to be provided for accordion (aria-controls)");var n,l=!0===this.forceClose||"true"===t.getAttribute("aria-expanded");t.setAttribute("aria-expanded",l?"false":"true"),l?s.hidden=!0:i=!(s.hidden=!1),this.trigger("onToggle",{item:s,isOpening:i}),(s=v(this.iconSelector,t))&&(i=v("use",s))&&(s=i.getAttribute("xlink:href"),n="",n=l?s.replace("minus","plus"):s.replace("plus","minus"),i.setAttribute("xlink:href",n)),this.toggles.forEach((e)=>e.classList.remove("ecl-accordion__toggle--active")),0<e.detail&&t.classList.add("ecl-accordion__toggle--active");}},e.Banner=class ke{static autoInit(e,t){return t=void 0===(t=(void 0===t?{}:t).BANNER)?{}:t,(t=new ke(e,t)).init(),e.ECLBanner=t;}constructor(e,t){var i=void 0===(i=(t=void 0===t?{}:t).bannerContainer)?"[data-ecl-banner-container]":i,s=void 0===(s=t.bannerVPadding)?"8":s,n=void 0===(n=t.bannerPicture)?"[data-ecl-banner-image]":n,l=void 0===(l=t.breakpoint)?"996":l,a=void 0===(a=t.attachResizeListener)||a,t=void 0===(t=t.maxIterations)?10:t;if(this.supportedEvents=["onCtaClick"],!e||e.nodeType!==Node.ELEMENT_NODE)throw new TypeError("DOM element should be given to initialize this widget.");this.element=e,this.eventManager=new w(),this.bannerVPadding=s,this.resizeTimer=null,this.bannerContainer=v(i,this.element),this.bannerPicture=v(n,this.element),this.bannerImage=!!this.bannerPicture&&v("img",this.bannerPicture),this.bannerCTA=!!this.bannerPicture&&v(".ecl-banner__cta",this.element),this.breakpoint=l,this.attachResizeListener=a,this.maxIterations=t,this.setBannerHeight=this.setBannerHeight.bind(this),this.checkViewport=this.checkViewport.bind(this),this.resetBannerHeight=this.resetBannerHeight.bind(this),this.handleResize=this.handleResize.bind(this),this.waitForAspectRatioToBeDefined=this.waitForAspectRatioToBeDefined.bind(this),this.setHeight=this.setHeight.bind(this);}init(){if(!ECL)throw new TypeError("Called init but ECL is not present");ECL.components=ECL.components||new Map(),this.defaultRatio=()=>this.element.classList.contains("ecl-banner--xs")?"6/1":this.element.classList.contains("ecl-banner--s")?"5/1":this.element.classList.contains("ecl-banner--l")?"3/1":"4/1",this.attachResizeListener&&window.addEventListener("resize",this.handleResize),this.bannerCTA&&this.bannerCTA.addEventListener("click",(e)=>this.handleCtaClick(e)),this.checkViewport(),this.element.setAttribute("data-ecl-auto-initialized","true"),ECL.components.set(this.element,this);}on(e,t){this.eventManager.on(e,t);}trigger(e,t){this.eventManager.trigger(e,t);}waitForAspectRatioToBeDefined(){this.attemptCounter=(this.attemptCounter||0)+1;var e=getComputedStyle(this.bannerImage).getPropertyValue("--css-aspect-ratio");(void 0===e||""===e)&&this.maxIterations>this.attemptCounter?setTimeout(()=>this.waitForAspectRatioToBeDefined(),100):this.setHeight(e);}setHeight(e){var t=this.bannerContainer.offsetHeight+2*parseInt(this.bannerVPadding,10),i=parseInt(getComputedStyle(this.element).getPropertyValue("width"),10),s=(e=e.split("/").map(Number))[0];i*e[1]/s<t?(this.bannerImage&&(this.bannerImage.style.aspectRatio="auto"),this.element.style.height=t+"px"):this.resetBannerHeight();}setBannerHeight(){this.bannerImage?this.waitForAspectRatioToBeDefined():this.setHeight(this.defaultRatio());}resetBannerHeight(){var e;this.bannerImage&&(e=getComputedStyle(this.bannerImage),this.bannerImage.style.aspectRatio=e.getPropertyValue("--css-aspect-ratio")),this.element.style.height="auto";}checkViewport(){window.innerWidth>this.breakpoint?this.setBannerHeight():this.resetBannerHeight();}handleResize(){clearTimeout(this.resizeTimer),this.resizeTimer=setTimeout(()=>{this.checkViewport();},200);}handleCtaClick(e){var t=null,i=((i=e.target.closest("a"))&&(t=i.getAttribute("href")),{item:this.bannerCTA,target:t||e.target});this.trigger("onCtaClick",i);}destroy(){this.resetBannerHeight(),this.element.removeAttribute("data-ecl-auto-initialized"),ECL.components.delete(this.element),this.attachResizeListener&&window.removeEventListener("resize",this.handleResize),this.bannerCTA&&this.bannerCTA.removeEventListener("click",this.handleCtaClick);}},e.Breadcrumb=class we{static autoInit(e,t){return t=void 0===(t=(void 0===t?{}:t).BREADCRUMB)?{}:t,(t=new we(e,t)).init(),e.ECLBreadcrumb=t;}constructor(e,t){var i=void 0===(i=(t=void 0===t?{}:t).ellipsisButtonSelector)?"[data-ecl-breadcrumb-ellipsis-button]":i,s=void 0===(s=t.ellipsisSelector)?"[data-ecl-breadcrumb-ellipsis]":s,n=void 0===(n=t.segmentSelector)?"[data-ecl-breadcrumb-item]":n,l=void 0===(l=t.expandableItemsSelector)?'[data-ecl-breadcrumb-item="expandable"]':l,a=void 0===(a=t.staticItemsSelector)?'[data-ecl-breadcrumb-item="static"]':a,o=void 0===(o=t.onPartialExpand)?null:o,r=void 0===(r=t.onFullExpand)?null:r,h=void 0===(h=t.attachClickListener)||h,t=void 0===(t=t.attachResizeListener)||t;if(!e||e.nodeType!==Node.ELEMENT_NODE)throw new TypeError("DOM element should be given to initialize this widget.");this.element=e,this.ellipsisButtonSelector=i,this.ellipsisSelector=s,this.segmentSelector=n,this.expandableItemsSelector=l,this.staticItemsSelector=a,this.onPartialExpand=o,this.onFullExpand=r,this.attachClickListener=h,this.attachResizeListener=t,this.ellipsisButton=null,this.itemsElements=null,this.staticElements=null,this.expandableElements=null,this.resizeTimer=null,this.handleClickOnEllipsis=this.handleClickOnEllipsis.bind(this),this.handleResize=this.handleResize.bind(this);}init(){if(!ECL)throw new TypeError("Called init but ECL is not present");ECL.components=ECL.components||new Map(),this.ellipsisButton=v(this.ellipsisButtonSelector,this.element),this.attachClickListener&&this.ellipsisButton&&this.ellipsisButton.addEventListener("click",this.handleClickOnEllipsis),this.itemsElements=m(this.segmentSelector,this.element),this.staticElements=m(this.staticItemsSelector,this.element),this.expandableElements=m(this.expandableItemsSelector,this.element),this.check(),this.attachResizeListener&&window.addEventListener("resize",this.handleResize),this.element.setAttribute("data-ecl-auto-initialized","true"),ECL.components.set(this.element,this);}destroy(){this.attachClickListener&&this.ellipsisButton&&this.ellipsisButton.removeEventListener("click",this.handleClickOnEllipsis),this.attachResizeListener&&window.removeEventListener("resize",this.handleResize),this.element&&(this.element.removeAttribute("data-ecl-auto-initialized"),ECL.components.delete(this.element));}handleClickOnEllipsis(){return this.handleFullExpand();}check(){var e=this.computeVisibilityMap();e&&(!0===e.expanded?this.handleFullExpand():this.handlePartialExpand(e));}hideEllipsis(){var e=v(this.ellipsisSelector,this.element);e&&e.setAttribute("aria-hidden","true");}showAllItems(){this.expandableElements.forEach((e)=>e.setAttribute("aria-hidden","false"));}handlePartialExpand(e){var i;e&&(this.element.classList.add("ecl-breadcrumb--collapsed"),i=e.isItemVisible)&&Array.isArray(i)&&(this.onPartialExpand?this.onPartialExpand(i):767<Math.floor(this.element.getBoundingClientRect().width)?((e=v(this.ellipsisSelector,this.element))&&e.setAttribute("aria-hidden","false"),this.expandableElements.forEach((e,t)=>{e.setAttribute("aria-hidden",i[t]?"false":"true");})):this.expandableElements.forEach((e)=>{e.setAttribute("aria-hidden","true");}));}handleFullExpand(){this.element.classList.remove("ecl-breadcrumb--collapsed"),this.onFullExpand?this.onFullExpand():(this.hideEllipsis(),this.showAllItems());}handleResize(){clearTimeout(this.resizeTimer),this.resizeTimer=setTimeout(()=>{this.check();},200);}computeVisibilityMap(){var t,i,s,n;return !this.expandableElements||0===this.expandableElements.length||(t=Math.floor(this.element.getBoundingClientRect().width),1.2*this.itemsElements.map((e)=>{var t=e.getBoundingClientRect().width;return 0===t&&(e.style.display="inline-flex",t=e.getBoundingClientRect().width,e.style.cssText=""),t;}).reduce((e,t)=>e+t)<=t)?{expanded:!0}:(i=v(this.ellipsisSelector,this.element).getBoundingClientRect().width+this.staticElements.reduce((e,t)=>e+t.getBoundingClientRect().width,0),t<=i?{expanded:!1,isItemVisible:[...this.expandableElements.map(()=>!1)]}:{expanded:!(n=!(s=0)),isItemVisible:[...this.expandableElements].reverse().map((e)=>!!n&&((e=(s+=e.getBoundingClientRect().width)+i<=t)||(n=!1),e)).reverse()});}},e.Carousel=class Se{static autoInit(e,t){return t=void 0===(t=(void 0===t?{}:t).CAROUSEL)?{}:t,(t=new Se(e,t)).init(),e.ECLCarousel=t;}constructor(e,t){var i=void 0===(i=(t=void 0===t?{}:t).playSelector)?".ecl-carousel__play":i,s=void 0===(s=t.pauseSelector)?".ecl-carousel__pause":s,n=void 0===(n=t.containerClass)?".ecl-carousel__container":n,l=void 0===(l=t.slidesClass)?".ecl-carousel__slides":l,a=void 0===(a=t.slideClass)?".ecl-carousel__slide":a,o=void 0===(o=t.currentSlideClass)?".ecl-carousel__current":o,r=void 0===(r=t.navigationItemsClass)?".ecl-carousel__navigation-item":r,h=void 0===(h=t.controlsClass)?".ecl-carousel__controls":h,c=void 0===(c=t.attachClickListener)||c,t=void 0===(t=t.attachResizeListener)||t;if(!e||e.nodeType!==Node.ELEMENT_NODE)throw new TypeError("DOM element should be given to initialize this widget.");this.element=e,this.playSelector=i,this.pauseSelector=s,this.containerClass=n,this.slidesClass=l,this.slideClass=a,this.currentSlideClass=o,this.navigationItemsClass=r,this.controlsClass=h,this.attachClickListener=c,this.attachResizeListener=t,this.container=null,this.slides=null,this.btnPlay=null,this.btnPause=null,this.index=1,this.total=0,this.allowShift=!0,this.activeNav=null,this.autoPlay=null,this.autoPlayInterval=null,this.hoverAutoPlay=null,this.resizeTimer=null,this.posX1=0,this.posX2=0,this.posInitial=0,this.posFinal=0,this.threshold=80,this.navigationItems=null,this.navigation=null,this.controls=null,this.direction="ltr",this.cloneFirstSLide=null,this.cloneLastSLide=null,this.executionCount=0,this.maxExecutions=5,this.handleAutoPlay=this.handleAutoPlay.bind(this),this.handleMouseOver=this.handleMouseOver.bind(this),this.handleMouseOut=this.handleMouseOut.bind(this),this.shiftSlide=this.shiftSlide.bind(this),this.checkIndex=this.checkIndex.bind(this),this.moveSlides=this.moveSlides.bind(this),this.handleResize=this.handleResize.bind(this),this.dragStart=this.dragStart.bind(this),this.dragEnd=this.dragEnd.bind(this),this.dragAction=this.dragAction.bind(this),this.handleFocus=this.handleFocus.bind(this),this.handleKeyboardOnPlay=this.handleKeyboardOnPlay.bind(this),this.handleKeyboardOnBullets=this.handleKeyboardOnBullets.bind(this),this.checkBannerHeights=this.checkBannerHeights.bind(this),this.resetBannerHeights=this.resetBannerHeights.bind(this);}init(){var e,t;if(ECL)return ECL.components=ECL.components||new Map(),this.btnPlay=v(this.playSelector,this.element),this.btnPause=v(this.pauseSelector,this.element),this.slidesContainer=v(this.slidesClass,this.element),this.container=v(this.containerClass,this.element),this.navigation=v(".ecl-carousel__navigation",this.element),this.navigationItems=m(this.navigationItemsClass,this.element),this.controls=v(this.controlsClass,this.element),this.currentSlide=v(this.currentSlideClass,this.element),this.direction=getComputedStyle(this.element).direction,this.slides=m(this.slideClass,this.element),this.total=this.slides.length,this.total<=1?(this.controls&&(this.controls.style.display="none"),this.slidesContainer&&(this.slidesContainer.style.display="block"),!1):(e=this.slides[0],t=this.slides[this.slides.length-1],this.cloneFirstSLide=e.cloneNode(!0),this.cloneLastSLide=t.cloneNode(!0),this.slidesContainer.appendChild(this.cloneFirstSLide),this.slidesContainer.insertBefore(this.cloneLastSLide,e),this.slides=m(this.slideClass,this.element),this.slides.forEach((e)=>{e.style.width=100/this.slides.length+"%";}),this.handleResize(),this.checkIndex(),this.navigationItems&&this.navigationItems.forEach((e,t)=>{e.addEventListener("click",this.shiftSlide.bind(this,t+1,!0));}),this.navigation&&this.navigation.addEventListener("keydown",this.handleKeyboardOnBullets),this.attachClickListener&&this.btnPlay&&this.btnPause&&(this.btnPlay.addEventListener("click",this.handleAutoPlay),this.btnPause.addEventListener("click",this.handleAutoPlay)),this.btnPlay&&this.btnPlay.addEventListener("keydown",this.handleKeyboardOnPlay),this.slidesContainer&&(this.slidesContainer.addEventListener("mouseover",this.handleMouseOver),this.slidesContainer.addEventListener("mouseout",this.handleMouseOut),this.slidesContainer.addEventListener("touchstart",this.dragStart),this.slidesContainer.addEventListener("touchend",this.dragEnd),this.slidesContainer.addEventListener("touchmove",this.dragAction),this.slidesContainer.addEventListener("transitionend",this.checkIndex)),this.container&&this.container.addEventListener("focus",this.handleFocus,!0),this.attachResizeListener&&window.addEventListener("resize",this.handleResize),this.element.setAttribute("data-ecl-auto-initialized","true"),ECL.components.set(this.element,this),this);throw new TypeError("Called init but ECL is not present");}destroy(){this.cloneFirstSLide&&this.cloneLastSLide&&(this.cloneFirstSLide.remove(),this.cloneLastSLide.remove()),this.btnPlay&&this.btnPlay.replaceWith(this.btnPlay.cloneNode(!0)),this.btnPause&&this.btnPause.replaceWith(this.btnPause.cloneNode(!0)),this.slidesContainer&&(this.slidesContainer.removeEventListener("mouseover",this.handleMouseOver),this.slidesContainer.removeEventListener("mouseout",this.handleMouseOut),this.slidesContainer.removeEventListener("touchstart",this.dragStart),this.slidesContainer.removeEventListener("touchend",this.dragEnd),this.slidesContainer.removeEventListener("touchmove",this.dragAction),this.slidesContainer.removeEventListener("transitionend",this.checkIndex)),this.container&&this.container.removeEventListener("focus",this.handleFocus,!0),this.navigationItems&&this.navigationItems.forEach((e)=>{e.replaceWith(e.cloneNode(!0));}),this.attachResizeListener&&window.removeEventListener("resize",this.handleResize),this.autoPlayInterval&&(clearInterval(this.autoPlayInterval),this.autoPlay=null),this.element&&(this.element.removeAttribute("data-ecl-auto-initialized"),ECL.components.delete(this.element));}checkBannerHeights(){var e,i;this.executionCount+=1,this.executionCount>this.maxExecutions?(clearInterval(this.intervalId),this.executionCount=0):(e=this.slides.map((e)=>{var e=v(".ecl-banner",e),t=parseInt(e.style.height,10);return "auto"===e.style.height?0:Number.isNaN(t)||100===t?1:t;}).filter((e)=>void 0!==e),i=Math.max(...e),(e.length===this.slides.length&&0===i||1<i)&&(clearInterval(this.intervalId),0<i)&&(this.executionCount=0,this.slides.forEach((e)=>{var t=null;(e=v(".ecl-banner",e))&&(t=v("img",e),e.style.height=i+"px"),t&&(t.style.aspectRatio="auto");})));}resetBannerHeights(){this.slides.forEach((e)=>{var e=v(".ecl-banner",e),t=null;e&&(e.style.height="",t=v("img",e))&&(t.style.aspectRatio="");});}dragStart(e){e=e||window.event,this.posInitial=this.slidesContainer.offsetLeft,"touchstart"===e.type&&(this.posX1=e.touches[0].clientX);}dragAction(e){"touchmove"===(e=e||window.event).type&&(e.preventDefault(),this.posX2=this.posX1-e.touches[0].clientX,this.posX1=e.touches[0].clientX),this.slidesContainer.style.left=this.slidesContainer.offsetLeft-this.posX2+"px";}dragEnd(){this.posFinal=this.slidesContainer.offsetLeft,this.posFinal-this.posInitial<-this.threshold?this.shiftSlide("next",!0):this.posFinal-this.posInitial>this.threshold?this.shiftSlide("prev",!0):this.slidesContainer.style.left=this.posInitial+"px";}shiftSlide(e,t){this.allowShift&&(this.index="number"==typeof e?e:"next"===e?this.index+1:this.index-1,this.moveSlides(!0)),t&&this.autoPlay&&this.handleAutoPlay(),this.allowShift=!1;}moveSlides(e){var t=this.container.offsetWidth*this.index;this.slidesContainer.style.transitionDuration=e?"0.4s":"0s","rtl"===this.direction?this.slidesContainer.style.right="-"+t+"px":this.slidesContainer.style.left="-"+t+"px";}checkIndex(){0===this.index&&(this.index=this.total),this.index===this.total+1&&(this.index=1),this.moveSlides(!1),this.currentSlide&&(this.currentSlide.textContent=this.index),this.slides&&this.slides.forEach((e,t)=>{var i=v(".ecl-link--cta",e);this.index===t?(e.removeAttribute("inert","true"),i&&i.removeAttribute("tabindex",-1)):(e.setAttribute("inert","true"),i&&i.setAttribute("tabindex",-1));}),this.navigationItems&&this.navigationItems.forEach((e,t)=>{this.index===t+1?(e.setAttribute("aria-current","true"),e.removeAttribute("tabindex",-1)):(e.removeAttribute("aria-current","true"),e.setAttribute("tabindex",-1));}),this.allowShift=!0;}handleAutoPlay(){var e;this.autoPlay?(clearInterval(this.autoPlayInterval),this.autoPlay=!1,e=document.activeElement===this.btnPause,this.btnPlay.style.display="flex",this.btnPause.style.display="none",e&&this.btnPlay.focus()):(this.autoPlayInterval=setInterval(()=>{this.shiftSlide("next");},5e3),this.autoPlay=!0,e=document.activeElement===this.btnPlay,this.btnPlay.style.display="none",this.btnPause.style.display="flex",e&&this.btnPause.focus());}handleMouseOver(){return this.hoverAutoPlay=this.autoPlay,this.hoverAutoPlay&&this.handleAutoPlay(),this;}handleMouseOut(){return this.hoverAutoPlay&&this.handleAutoPlay(),this;}handleResize(){var e=Math.max(document.documentElement.clientWidth||0,window.innerWidth||0),t=(clearInterval(this.intervalId),clearTimeout(this.resizeTimer),0);this.resizeTimer=setTimeout(()=>{998<=e?this.intervalId=setInterval(this.checkBannerHeights,100):this.resetBannerHeights();},250),t=768<=e?this.container.offsetWidth:this.container.offsetWidth+15,this.slidesContainer.style.width=t*this.slides.length+"px",this.moveSlides(!1),1140<=e&&e<=1260?this.container.classList.add("ecl-carousel-container--padded"):this.container.classList.remove("ecl-carousel-container--padded"),(e<=768&&this.autoPlay||768<e&&null===this.autoPlay)&&this.handleAutoPlay();}handleKeyboardOnPlay(e){if("Tab"!==e.key||!e.shiftKey)switch(e.key){case "Tab":case "ArrowRight":e.preventDefault(),this.activeNav=v(this.navigationItemsClass+'[aria-current="true"]'),this.activeNav&&this.activeNav.focus(),this.autoPlay&&this.handleAutoPlay();}}handleKeyboardOnBullets(e){var t=document.activeElement;switch(e.key){case "ArrowRight":t.nextSibling&&(e.preventDefault(),this.shiftSlide("next",!0),setTimeout(()=>t.nextSibling.focus(),400));break;case "ArrowLeft":t.previousSibling?(this.shiftSlide("prev",!0),setTimeout(()=>t.previousSibling.focus(),400)):this.btnPlay.focus();}}handleFocus(e){return (e=e.target)&&e.contains(document.activeElement)&&this.autoPlay&&this.handleAutoPlay(),this;}},e.CategoryFilter=class Ae{static autoInit(e,t){return t=void 0===(t=(void 0===t?{}:t).CATEGORY_FILTER)?{}:t,(t=new Ae(e,t)).init(),e.ECLCategoryFilter=t;}constructor(e,t){var i=void 0===(i=(t=void 0===t?{}:t).itemSelector)?".ecl-category-filter__item--has-children":i,t=void 0===(t=t.attachClickListener)||t;if(!e||e.nodeType!==Node.ELEMENT_NODE)throw new TypeError("DOM element should be given to initialize this widget.");this.element=e,this.itemSelector=i,this.attachClickListener=t,this.items=null,this.handleClickExpand=this.handleClickExpand.bind(this);}init(){if(!ECL)throw new TypeError("Called init but ECL is not present");ECL.components=ECL.components||new Map(),this.items=m(this.itemSelector,this.element),this.attachClickListener&&this.items&&this.items.forEach((e)=>e.addEventListener("click",this.handleClickExpand)),this.element.setAttribute("data-ecl-auto-initialized","true"),ECL.components.set(this.element,this);}destroy(){this.attachClickListener&&this.items&&this.items.forEach((e)=>{e.removeEventListener("click",this.handleClickExpand,!1);}),this.element&&(this.element.removeAttribute("data-ecl-auto-initialized"),ECL.components.delete(this.element));}handleClickExpand(e){e.preventDefault();var t=e.target.closest(".ecl-category-filter__item");this.items.forEach((e)=>{e===t?e.setAttribute("aria-current",!0):e.removeAttribute("aria-current");}),"true"===t.getAttribute("aria-expanded")?(t.setAttribute("aria-expanded","false"),t.parentElement.classList.remove("ecl-category-filter__list-item--open")):(t.setAttribute("aria-expanded","true"),t.parentElement.classList.add("ecl-category-filter__list-item--open")),t.classList.contains("ecl-category-filter__item--level-1")&&this.items.forEach((e)=>{e!==t&&(e.parentElement.classList.remove("ecl-category-filter__list-item--open"),e.setAttribute("aria-expanded","false"));});}},e.ContentBlock=class xe{static autoInit(e,t){return t=void 0===(t=(void 0===t?{}:t).CONTENT_BLOCK)?{}:t,(t=new xe(e,t)).init(),e.ECLContentBlock=t;}constructor(e,t){var i=void 0===(i=(t=void 0===t?{}:t).targetSelector)?"[data-ecl-picture-link]":i,s=void 0===(s=t.titleSelector)?"[data-ecl-title-link]":s,n=void 0===(n=t.attachClickListener)||n,l=void 0===(l=t.maxIterations)?1:l,t=void 0!==(t=t.withTitleAttr)&&t;if(!e||e.nodeType!==Node.ELEMENT_NODE)throw new TypeError("DOM element should be given to initialize this widget.");this.element=e,this.targetSelector=i,this.titleSelector=s,this.attachClickListener=n,this.maxIterations=l,this.withTitleAttr=t,this.linkTo=this.linkTo.bind(this),this.findElementInCommonAncestor=this.findElementInCommonAncestor.bind(this);}init(){if(!ECL)throw new TypeError("Called init but ECL is not present");var e;ECL.components=ECL.components||new Map(),this.picture=this.findElementInCommonAncestor(this.element,this.targetSelector,this.maxIterations),this.picture&&(this.title=v(this.titleSelector,this.element),this.linkEl=!!this.title&&v("a",this.title),this.linkEl&&(this.picture.style.cursor="pointer",(e=v("img",this.picture))&&this.withTitleAttr&&(e.title=this.constructor.convertToFullURL(this.linkEl.getAttribute("href"))),this.attachClickListener)&&this.picture.addEventListener("click",this.linkTo),this.element.setAttribute("data-ecl-auto-initialized",!0),ECL.components.set(this.element,this));}linkTo(){this.linkEl&&this.linkEl.click();}findElementInCommonAncestor(e,t,i){var s=v(t,e);return s||(e.classList.contains("ecl-card__body")&&(i+=1),e===document.documentElement||i<=0?null:this.findElementInCommonAncestor(e.parentElement,t,i-1));}static convertToFullURL(e){var t;return e.startsWith("http://")||e.startsWith("https://")?e:(t=new URL(window.location.href),new URL(e,t).href);}destroy(){this.attachClickListener&&this.picture&&this.picture.removeEventListener("click",this.linkto),this.element&&(this.element.removeAttribute("data-ecl-auto-initialized"),ECL.components.delete(this.element));}},e.Datepicker=class _e{static autoInit(e,t){return t=void 0===(t=(void 0===t?{}:t).DATEPICKER)?{}:t,(t=new _e(e,t)).init(),e.ECLDatepicker=t;}constructor(e,t){var i=void 0===(i=(t=void 0===t?{}:t).format)?"":i,s=void 0===(s=t.theme)?"ecl-datepicker-theme":s,n=void 0===(n=t.yearRange)?40:n,l=void 0!==(l=t.reposition)&&l,a=void 0===(a=t.i18n)?{previousMonth:"Previous Month",nextMonth:"Next Month",months:["January","February","March","April","May","June","July","August","September","October","November","December"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekdaysShort:["Su","Mo","Tu","We","Th","Fr","Sa"]}:a,o=void 0===(o=t.showDaysInNextAndPreviousMonths)||o,t=void 0===(t=t.enableSelectionDaysInNextAndPreviousMonths)||t;if(!e||e.nodeType!==Node.ELEMENT_NODE)throw new TypeError("DOM element should be given to initialize this widget.");this.element=e,this.picker=null,this.format=i,this.theme=s,this.yearRange=n,this.i18n=a,this.showDaysInNextAndPreviousMonths=o,this.enableSelectionDaysInNextAndPreviousMonths=t,this.reposition=l,this.direction="ltr";}init(){if(void 0===window.Pikaday)throw new TypeError("Pikaday is not available. Make sure to include Pikaday in your project if you want to use the ECL datepicker");if(!ECL)throw new TypeError("Called init but ECL is not present");ECL.components=ECL.components||new Map(),this.direction=getComputedStyle(this.element).direction;var e={field:this.element,yearRange:this.yearRange,firstDay:1,i18n:this.i18n,theme:this.theme,reposition:this.reposition,isRTL:"rtl"===this.direction,position:"rtl"===this.direction?"bottom right":"bottom left",showDaysInNextAndPreviousMonths:this.showDaysInNextAndPreviousMonths,enableSelectionDaysInNextAndPreviousMonths:this.enableSelectionDaysInNextAndPreviousMonths};return ""!==this.format?e.format=this.format:e.toString=(e)=>("0"+e.getDate()).slice(-2)+"-"+("0"+(e.getMonth()+1)).slice(-2)+"-"+e.getFullYear(),this.picker=new Pikaday(z({},e,{onOpen(){this.direction=getComputedStyle(this.el).direction;var e,t=Math.max(document.documentElement.clientWidth||0,window.innerWidth||0),i=this.el.getBoundingClientRect();"rtl"===this.direction?(e=t-i.right,this.el.style.left=t<768?e+"px":"auto"):(e=i.left,this.el.style.right=t<768?e+"px":"auto");}})),this.element.setAttribute("data-ecl-auto-initialized","true"),ECL.components.set(this.element,this),this.picker;}destroy(){this.picker&&(this.picker.destroy(),this.picker=null),this.element&&(this.element.removeAttribute("data-ecl-auto-initialized"),ECL.components.delete(this.element));}},e.DescriptionList=class Oe{static autoInit(e,t){return t=void 0===(t=(void 0===t?{}:t).DESCRIPTION_LIST)?{}:t,(t=new Oe(e,t)).init(),e.ECLDescriptionList=t;}constructor(e,t){var i=void 0===(i=(t=void 0===t?{}:t).listsSelector)?"[data-ecl-description-list-collapsible]":i,s=void 0===(s=t.visibleItemsSelector)?"data-ecl-description-list-visible-items":s,n=void 0===(n=t.moreItemLabelSelector)?"data-ecl-description-list-more-label":n,t=void 0===(t=t.attachClickListener)||t;if(!e||e.nodeType!==Node.ELEMENT_NODE)throw new TypeError("DOM element should be given to initialize this widget.");this.element=e,this.moreItemLabelSelector=n,this.listsSelector=i,this.attachClickListener=t,this.visibleItemsSelector=s,this.moreItemLabel=null,this.lists=null,this.handleClickOnMore=this.handleClickOnMore.bind(this);}init(){if(!ECL)throw new TypeError("Called init but ECL is not present");ECL.components=ECL.components||new Map(),this.moreItemLabel=this.element.getAttribute(this.moreItemLabelSelector),this.visibleItems=this.element.getAttribute(this.visibleItemsSelector),this.lists=m(this.listsSelector,this.element),this.lists[0]&&0<this.visibleItems&&this.moreItemLabel&&(this.lists.forEach((e)=>{var t,i;e.children&&e.children.length>this.visibleItems&&((t=document.createElement("li")).classList.add("ecl-description-list__see_more"),(i=document.createElement("a")).classList.add("ecl-link","ecl-link--standalone"),i.href="#",i.innerHTML=this.moreItemLabel,t.appendChild(i),e.appendChild(t),this.showHide(m(".ecl-description-list__definition-item",e)),this.attachClickListener)&&i.addEventListener("click",this.handleClickOnMore);}),this.element.setAttribute("data-ecl-auto-initialized","true"),ECL.components.set(this.element,this));}showHide(e){if(e)for(var t=Array.from(e),i=(e="ecl-description-list__definition-item")+"--hidden",s=e+"--last-visible",n=0;n<t.length;n+=1){var l=t[n];n<this.visibleItems?(l.classList.remove(i),l.classList.remove(s)):n>=this.visibleItems&&l.classList.add(i),n===this.visibleItems-1?l.classList.add(s):l.classList.remove(s);}}destroy(){var e;this.attachClickListener&&0<this.visibleItems&&(e=m(".ecl-description-list__see_more"))[0]&&e.forEach((e)=>{e.removeEventListener("click",this.handleClickOnMore);}),this.element&&(this.element.removeAttribute("data-ecl-auto-initialized"),ECL.components.delete(this.element));}handleClickOnMore(e){e.preventDefault();var t=(e=e.target.parentNode).parentNode;this.element.contains(t)&&(Array.from(t.children).forEach((e)=>{e.classList.remove("ecl-description-list__definition-item--hidden"),e.classList.remove("ecl-description-list__definition-item--last-visible");}),e.remove());}},e.Expandable=class Te{static autoInit(e,t){return t=void 0===(t=(void 0===t?{}:t).EXPANDABLE)?{}:t,(t=new Te(e,t)).init(),e.ECLExpandable=t;}constructor(e,t){var i=void 0===(i=(t=void 0===t?{}:t).toggleSelector)?"[data-ecl-expandable-toggle]":i,s=void 0===(s=t.labelSelector)?"[data-ecl-label]":s,n=void 0===(n=t.labelExpanded)?"data-ecl-label-expanded":n,l=void 0===(l=t.labelCollapsed)?"data-ecl-label-collapsed":l,t=void 0===(t=t.attachClickListener)||t;if(this.supportedEvents=["onToggle"],!e||e.nodeType!==Node.ELEMENT_NODE)throw new TypeError("DOM element should be given to initialize this widget.");this.element=e,this.eventManager=new w(),this.toggleSelector=i,this.labelSelector=s,this.labelExpanded=n,this.labelCollapsed=l,this.attachClickListener=t,this.toggle=null,this.forceClose=!1,this.target=null,this.label=null,this.handleClickOnToggle=this.handleClickOnToggle.bind(this);}init(){if(!ECL)throw new TypeError("Called init but ECL is not present");if(ECL.components=ECL.components||new Map(),this.toggle=v(this.toggleSelector,this.element),this.target=document.querySelector("#"+this.toggle.getAttribute("aria-controls")),this.label=v(this.labelSelector,this.element),!this.target)throw new TypeError("Target has to be provided for expandable (aria-controls)");this.attachClickListener&&this.toggle&&this.toggle.addEventListener("click",this.handleClickOnToggle),this.element.setAttribute("data-ecl-auto-initialized","true"),ECL.components.set(this.element,this);}on(e,t){this.eventManager.on(e,t);}trigger(e,t){this.eventManager.trigger(e,t);}destroy(){this.attachClickListener&&this.toggle&&this.toggle.removeEventListener("click",this.handleClickOnToggle),this.element&&(this.element.removeAttribute("data-ecl-auto-initialized"),ECL.components.delete(this.element));}handleClickOnToggle(e){var t=!0===this.forceClose||"true"===this.toggle.getAttribute("aria-expanded"),t=(this.toggle.setAttribute("aria-expanded",t?"false":"true"),this.target.hidden=t,this.label&&!t&&this.toggle.hasAttribute(this.labelExpanded)?this.label.innerHTML=this.toggle.getAttribute(this.labelExpanded):this.label&&t&&this.toggle.hasAttribute(this.labelCollapsed)&&(this.label.innerHTML=this.toggle.getAttribute(this.labelCollapsed)),{expanded:!t,e});return this.trigger("onToggle",t),this;}},e.FileDownload=class Ie{static autoInit(e,t){return t=void 0===(t=(void 0===t?{}:t).FILE_DOWNLOAD)?{}:t,(t=new Ie(e,t)).init(),e.ECLFileDownload=t;}constructor(e,t){var i=void 0===(i=(t=void 0===t?{}:t).translationToggleSelector)?"[data-ecl-file-translation-toggle]":i,s=void 0===(s=t.translationContainerSelector)?"[data-ecl-file-translation-container]":s,t=void 0===(t=t.attachClickListener)||t;if(!e||e.nodeType!==Node.ELEMENT_NODE)throw new TypeError("DOM element should be given to initialize this widget.");this.element=e,this.translationToggleSelector=i,this.translationContainerSelector=s,this.attachClickListener=t,this.translationToggle=null,this.translationContainer=null,this.handleClickOnToggle=this.handleClickOnToggle.bind(this);}init(){if(!ECL)throw new TypeError("Called init but ECL is not present");ECL.components=ECL.components||new Map(),this.translationToggle=v(this.translationToggleSelector,this.element),this.translationContainer=v(this.translationContainerSelector,this.element),this.attachClickListener&&this.translationToggle&&this.translationToggle.addEventListener("click",this.handleClickOnToggle),this.element.setAttribute("data-ecl-auto-initialized","true"),ECL.components.set(this.element,this);}destroy(){this.attachClickListener&&this.translationToggle&&this.translationToggle.removeEventListener("click",this.handleClickOnToggle),this.element&&(this.element.removeAttribute("data-ecl-auto-initialized"),ECL.components.delete(this.element));}handleClickOnToggle(e){return e.preventDefault(),"true"===this.translationToggle.getAttribute("aria-expanded")?this.translationToggle.setAttribute("aria-expanded","false"):this.translationToggle.setAttribute("aria-expanded","true"),this;}},e.FileUpload=class Pe{static autoInit(e,t){return t=void 0===(t=(void 0===t?{}:t).FILE_UPLOAD)?{}:t,(t=new Pe(e,t)).init(),e.ECLFileUpload=t;}constructor(e,t){var i=void 0===(i=(t=void 0===t?{}:t).groupSelector)?"[data-ecl-file-upload-group]":i,s=void 0===(s=t.buttonSelector)?"[data-ecl-file-upload-button]":s,n=void 0===(n=t.listSelector)?"[data-ecl-file-upload-list]":n,l=void 0===(l=t.labelChoose)?"data-ecl-file-upload-label-choose":l,a=void 0===(a=t.labelReplace)?"data-ecl-file-upload-label-replace":a,t=void 0===(t=t.attachChangeListener)||t;if(!e||e.nodeType!==Node.ELEMENT_NODE)throw new TypeError("DOM element should be given to initialize this widget.");this.element=e,this.groupSelector=i,this.buttonSelector=s,this.listSelector=n,this.labelChoose=l,this.labelReplace=a,this.attachChangeListener=t,this.fileUploadGroup=null,this.fileUploadInput=null,this.fileUploadButton=null,this.fileUploadList=null,this.handleChange=this.handleChange.bind(this);}init(){if(!ECL)throw new TypeError("Called init but ECL is not present");ECL.components=ECL.components||new Map(),this.fileUploadGroup=this.element.closest(this.groupSelector),this.fileUploadInput=this.element,this.fileUploadButton=v(this.buttonSelector,this.fileUploadGroup),this.fileUploadList=v(this.listSelector,this.fileUploadGroup),this.attachChangeListener&&this.fileUploadInput&&this.fileUploadInput.addEventListener("change",this.handleChange),this.element.setAttribute("data-ecl-auto-initialized","true"),ECL.components.set(this.element,this);}destroy(){this.attachChangeListener&&this.fileUploadInput&&this.fileUploadInput.removeEventListener("change",this.handleChange),this.element&&(this.element.removeAttribute("data-ecl-auto-initialized"),ECL.components.delete(this.element));}handleChange(e){var n;"files" in e.target?(n="",Array.prototype.forEach.call(e.target.files,(e)=>{i=e.size,s=1;var t,i=0===i?"0 Bytes":(t=Math.floor(Math.log(i)/Math.log(1024)),parseFloat((i/Math.pow(1024,t)).toFixed(s))+" "+["Bytes","kB","MB","GB","TB","PB","EB","ZB","YB"][t]),s=e.name.split(".").pop();n+='<li class="ecl-file-upload__item">\n      <span class="ecl-file-upload__item-name">'+e.name+'</span>\n      <span class="ecl-file-upload__item-meta">('+i+" - "+s+")</span>\n      </li>";}),this.fileUploadList.innerHTML=n,this.fileUploadButton.hasAttribute(this.labelReplace)&&(this.fileUploadButton.innerHTML=this.fileUploadButton.getAttribute(this.labelReplace))):this.fileUploadButton.hasAttribute(this.labelChoose)&&(this.fileUploadButton.innerHTML=this.fileUploadButton.getAttribute(this.labelChoose));}},e.Gallery=class Me{static autoInit(e,t){return t=void 0===(t=(void 0===t?{}:t).GALLERY)?{}:t,(t=new Me(e,t)).init(),e.ECLGallery=t;}constructor(e,t){var i=void 0===(i=(t=void 0===t?{}:t).expandableSelector)?"data-ecl-gallery-not-expandable":i,s=void 0===(s=t.galleryItemSelector)?"[data-ecl-gallery-item]":s,n=void 0===(n=t.descriptionSelector)?"[data-ecl-gallery-description]":n,l=void 0===(l=t.noOverlaySelector)?"data-ecl-gallery-no-overlay":l,a=void 0===(a=t.metaSelector)?"[data-ecl-gallery-meta]":a,o=void 0===(o=t.itemsLimitSelector)?"data-ecl-gallery-visible-items":o,r=void 0===(r=t.closeButtonSelector)?"[data-ecl-gallery-close]":r,h=void 0===(h=t.viewAllSelector)?"[data-ecl-gallery-all]":h,c=void 0===(c=t.viewAllLabelSelector)?"data-ecl-gallery-collapsed-label":c,d=void 0===(d=t.viewAllExpandedLabelSelector)?"data-ecl-gallery-expanded-label":d,u=void 0===(u=t.countSelector)?"[data-ecl-gallery-count]":u,m=void 0===(m=t.overlaySelector)?"[data-ecl-gallery-overlay]":m,p=void 0===(p=t.overlayHeaderSelector)?"[data-ecl-gallery-overlay-header]":p,v=void 0===(v=t.overlayFooterSelector)?"[data-ecl-gallery-overlay-footer]":v,g=void 0===(g=t.overlayMediaSelector)?"[data-ecl-gallery-overlay-media]":g,b=void 0===(b=t.overlayCounterCurrentSelector)?"[data-ecl-gallery-overlay-counter-current]":b,f=void 0===(f=t.overlayCounterMaxSelector)?"[data-ecl-gallery-overlay-counter-max]":f,y=void 0===(y=t.overlayDownloadSelector)?"[data-ecl-gallery-overlay-download]":y,L=void 0===(L=t.overlayShareSelector)?"[data-ecl-gallery-overlay-share]":L,E=void 0===(E=t.overlayDescriptionSelector)?"[data-ecl-gallery-overlay-description]":E,C=void 0===(C=t.overlayMetaSelector)?"[data-ecl-gallery-overlay-meta]":C,k=void 0===(k=t.overlayPreviousSelector)?"[data-ecl-gallery-overlay-previous]":k,w=void 0===(w=t.overlayNextSelector)?"[data-ecl-gallery-overlay-next]":w,S=void 0===(S=t.videoPlayerLabelSelector)?"data-ecl-gallery-player-label":S,A=void 0===(A=t.attachClickListener)||A,x=void 0===(x=t.attachKeyListener)||x,t=void 0===(t=t.attachResizeListener)||t;if(!e||e.nodeType!==Node.ELEMENT_NODE)throw new TypeError("DOM element should be given to initialize this widget.");this.element=e,this.galleryItemSelector=s,this.descriptionSelector=n,this.metaSelector=a,this.closeButtonSelector=r,this.viewAllSelector=h,this.countSelector=u,this.itemsLimitSelector=o,this.overlaySelector=m,this.noOverlaySelector=l,this.overlayHeaderSelector=p,this.overlayFooterSelector=v,this.overlayMediaSelector=g,this.overlayCounterCurrentSelector=b,this.overlayCounterMaxSelector=f,this.overlayDownloadSelector=y,this.overlayShareSelector=L,this.overlayDescriptionSelector=E,this.overlayMetaSelector=C,this.overlayPreviousSelector=k,this.overlayNextSelector=w,this.attachClickListener=A,this.attachKeyListener=x,this.attachResizeListener=t,this.viewAllLabelSelector=c,this.viewAllExpandedLabelSelector=d,this.expandableSelector=i,this.videoPlayerLabelSelector=S,this.galleryItems=null,this.meta=null,this.closeButton=null,this.viewAll=null,this.count=null,this.overlay=null,this.overlayHeader=null,this.overlayFooter=null,this.overlayMedia=null,this.overlayCounterCurrent=null,this.overlayCounterMax=null,this.overlayDownload=null,this.overlayShare=null,this.overlayDescription=null,this.overlayMeta=null,this.overlayPrevious=null,this.overlayNext=null,this.selectedItem=null,this.focusTrap=null,this.isDesktop=!1,this.resizeTimer=null,this.videoPlayerLabel=null,this.visibleItems=0,this.breakpointMd=768,this.breakpointLg=996,this.imageHeight=185,this.imageHeightBig=260,this.iframeResize=this.iframeResize.bind(this),this.handleClickOnCloseButton=this.handleClickOnCloseButton.bind(this),this.handleClickOnViewAll=this.handleClickOnViewAll.bind(this),this.handleClickOnItem=this.handleClickOnItem.bind(this),this.preventClickOnItem=this.preventClickOnItem.bind(this),this.handleKeyPressOnItem=this.handleKeyPressOnItem.bind(this),this.handleClickOnPreviousButton=this.handleClickOnPreviousButton.bind(this),this.handleClickOnNextButton=this.handleClickOnNextButton.bind(this),this.handleKeyboard=this.handleKeyboard.bind(this),this.handleResize=this.handleResize.bind(this);}init(){if(!ECL)throw new TypeError("Called init but ECL is not present");ECL.components=ECL.components||new Map(),this.expandable=!this.element.hasAttribute(this.expandableSelector),this.visibleItems=this.element.getAttribute(this.itemsLimitSelector),this.galleryItems=m(this.galleryItemSelector,this.element),this.closeButton=v(this.closeButtonSelector,this.element),this.noOverlay=this.element.hasAttribute(this.noOverlaySelector),this.expandable&&(this.viewAll=v(this.viewAllSelector,this.element),this.viewAllLabel=this.viewAll.getAttribute(this.viewAllLabelSelector)||this.viewAll.innerText,this.viewAllLabelExpanded=this.viewAll.getAttribute(this.viewAllExpandedLabelSelector)||this.viewAllLabel),this.count=v(this.countSelector,this.element),this.videoPlayerLabel=this.element.getAttribute(this.videoPlayerLabelSelector),this.attachClickListener&&this.viewAll&&this.viewAll.addEventListener("click",this.handleClickOnViewAll),this.noOverlay?this.galleryItems.forEach((e)=>{e.classList.add("ecl-gallery__item__link--frozen"),e.addEventListener("click",this.preventClickOnItem);}):(this.overlay=v(this.overlaySelector,this.element),this.overlayHeader=v(this.overlayHeaderSelector,this.overlay),this.overlayFooter=v(this.overlayFooterSelector,this.overlay),this.overlayMedia=v(this.overlayMediaSelector,this.overlay),this.overlayCounterCurrent=v(this.overlayCounterCurrentSelector,this.overlay),this.overlayCounterMax=v(this.overlayCounterMaxSelector,this.overlay),this.overlayDownload=v(this.overlayDownloadSelector,this.overlay),this.overlayShare=v(this.overlayShareSelector,this.overlay),this.overlayDescription=v(this.overlayDescriptionSelector,this.overlay),this.overlayMeta=v(this.overlayMetaSelector,this.overlay),this.overlayPrevious=v(this.overlayPreviousSelector,this.overlay),this.overlayNext=v(this.overlayNextSelector,this.overlay),this.focusTrap=l(this.overlay,{escapeDeactivates:!1,returnFocusOnDeactivate:!1}),this.isDialogSupported=!0,window.HTMLDialogElement||(this.isDialogSupported=!1),this.attachClickListener&&this.closeButton&&this.closeButton.addEventListener("click",this.handleClickOnCloseButton),this.attachClickListener&&this.galleryItems&&this.galleryItems.forEach((e)=>{this.attachClickListener&&e.addEventListener("click",this.handleClickOnItem),this.attachKeyListener&&e.addEventListener("keyup",this.handleKeyPressOnItem);}),this.attachClickListener&&this.overlayPrevious&&this.overlayPrevious.addEventListener("click",this.handleClickOnPreviousButton),this.attachClickListener&&this.overlayNext&&this.overlayNext.addEventListener("click",this.handleClickOnNextButton),!this.isDialogSupported&&this.attachKeyListener&&this.overlay&&this.overlay.addEventListener("keyup",this.handleKeyboard),this.isDialogSupported&&this.overlay&&this.overlay.addEventListener("close",this.handleClickOnCloseButton)),this.attachResizeListener&&window.addEventListener("resize",this.handleResize),this.expandable&&(this.checkScreen(),this.hideItems()),this.galleryItems.forEach((e,t)=>{e.setAttribute("data-ecl-gallery-item-id",t);}),this.count&&(this.count.innerHTML=this.galleryItems.length),this.element.setAttribute("data-ecl-auto-initialized","true"),ECL.components.set(this.element,this);}destroy(){this.attachClickListener&&this.closeButton&&this.closeButton.removeEventListener("click",this.handleClickOnCloseButton),this.attachClickListener&&this.viewAll&&this.viewAll.removeEventListener("click",this.handleClickOnViewAll),this.attachClickListener&&this.galleryItems&&this.galleryItems.forEach((e)=>{e.removeEventListener("click",this.handleClickOnItem);}),this.attachClickListener&&this.overlayPrevious&&this.overlayPrevious.removeEventListener("click",this.handleClickOnPreviousButton),this.attachClickListener&&this.overlayNext&&this.overlayNext.removeEventListener("click",this.handleClickOnNextButton),!this.isDialogSupported&&this.attachKeyListener&&this.overlay&&this.overlay.removeEventListener("keyup",this.handleKeyboard),this.isDialogSupported&&this.overlay&&this.overlay.removeEventListener("close",this.handleClickOnCloseButton),this.attachResizeListener&&window.removeEventListener("resize",this.handleResize),this.element&&(this.element.removeAttribute("data-ecl-auto-initialized"),ECL.components.delete(this.element));}checkScreen(){window.innerWidth>this.breakpointMd?this.isDesktop=!0:this.isDesktop=!1,window.innerWidth>this.breakpointLg&&(this.isLarge=!0);}iframeResize(t){var i;(t=!t&&this.overlay?v("iframe",this.overlay):t)&&(i=window.innerWidth,setTimeout(()=>{var e=this.overlay.clientHeight-this.overlayHeader.clientHeight-this.overlayFooter.clientHeight;e<i?(t.setAttribute("height",e+"px"),i<16*e/9?t.setAttribute("width",i-.05*i+"px"):t.setAttribute("width",16*e/9+"px")):(t.setAttribute("width",i+"px"),e<4*i/3?t.setAttribute("height",e-.05*e+"px"):t.setAttribute("height",4*i/3+"px"));},0));}hideItems(i){var s;void 0===i&&(i=0),this.viewAll&&!this.viewAll.expanded&&(this.isDesktop?(s=[],this.galleryItems.forEach((e,t)=>{e.parentNode.classList.remove("ecl-gallery__item--hidden"),t>=Number(this.visibleItems)+Number(i)&&(s=[...s,t]);}),s.forEach((e)=>{this.galleryItems[e].parentNode.classList.add("ecl-gallery__item--hidden");})):this.galleryItems.forEach((e,t)=>{t>2+Number(i)?e.parentNode.classList.add("ecl-gallery__item--hidden"):e.parentNode.classList.remove("ecl-gallery__item--hidden");}));}handleResize(){clearTimeout(this.resizeTimer),this.resizeTimer=setTimeout(()=>{this.checkScreen(),this.hideItems(),this.iframeResize();},200);}updateOverlay(e){var t=(this.selectedItem=e).getAttribute("data-ecl-gallery-item-embed-src"),i=v("video",e),s=null,i=(null!=t?((s=document.createElement("div")).classList.add("ecl-gallery__slider-embed"),(n=document.createElement("iframe")).setAttribute("src",t),n.setAttribute("frameBorder","0"),this.videoPlayerLabel&&n.setAttribute("title",this.videoPlayerLabel),this.overlayMedia&&(s.appendChild(n),this.overlayMedia.innerHTML="",this.overlayMedia.appendChild(s)),this.iframeResize(n)):null!=i?((s=document.createElement("video")).setAttribute("poster",i.poster),s.setAttribute("controls","controls"),s.classList.add("ecl-gallery__slider-video"),this.videoPlayerLabel&&s.setAttribute("aria-label",this.videoPlayerLabel),this.overlayMedia&&(this.overlayMedia.innerHTML="",this.overlayMedia.appendChild(s)),m("source",i).forEach((e)=>{var t=document.createElement("source");t.setAttribute("src",e.getAttribute("src")),t.setAttribute("type",e.getAttribute("type")),s.appendChild(t);}),m("track",i).forEach((e)=>{var t=document.createElement("track");t.setAttribute("src",e.getAttribute("src")),t.setAttribute("kind",e.getAttribute("kind")),t.setAttribute("srclang",e.getAttribute("srcLang")),t.setAttribute("label",e.getAttribute("label")),s.appendChild(t);}),s.load()):(n=v("img",e),(i=v("picture",e))?(n.classList.remove("ecl-gallery__image"),s=i.cloneNode(!0)):((s=document.createElement("img")).setAttribute("src",n.getAttribute("src")),s.setAttribute("alt",n.getAttribute("alt"))),s.classList.add("ecl-gallery__slider-image"),this.overlayMedia&&(this.overlayMedia.innerHTML="",this.overlayMedia.appendChild(s))),e.getAttribute("id"));this.overlayCounterCurrent.innerHTML=+e.getAttribute("data-ecl-gallery-item-id")+1,this.overlayCounterMax.innerHTML=this.galleryItems.length;null!=(n=this.selectedItem.getAttribute("data-ecl-gallery-item-share"))?(this.overlayShare.href=n,i&&this.overlayShare.setAttribute("aria-describedby",i+"-title"),this.overlayShare.hidden=!1):this.overlayShare.hidden=!0,null!==this.overlayDownload&&null===t?(this.overlayDownload.href=this.selectedItem.href,i&&this.overlayDownload.setAttribute("aria-describedby",i+"-title"),this.overlayDownload.hidden=!1):null!==this.overlayDownload&&(this.overlayDownload.hidden=!0);var n=v(this.metaSelector,e),t=(this.overlayMeta.innerHTML=n.innerHTML,v(this.descriptionSelector,e));this.overlayDescription.innerHTML=t.innerHTML;}handleKeyboard(e){"Escape"!==e.key&&"Esc"!==e.key||this.handleClickOnCloseButton();}handleClickOnCloseButton(){this.isDialogSupported?this.overlay.close():this.overlay.removeAttribute("open");var e=v("iframe",this.overlayMedia);e&&e.remove(),(e=v("video",this.overlayMedia))&&e.pause(),this.focusTrap.deactivate(),this.selectedItem.focus(),document.body.classList.remove("ecl-u-disablescroll");}handleKeyPressOnItem(e){32===e.keyCode&&this.handleClickOnItem(e);}handleClickOnViewAll(e){e.preventDefault(),this.viewAll&&(this.viewAll.expanded?(delete this.viewAll.expanded,this.checkScreen(),this.hideItems(),this.viewAll.textContent=this.viewAllLabel):(this.viewAll.expanded=!0,this.viewAll.textContent=this.viewAllLabelExpanded,0<(e=this.galleryItems.filter((e)=>e.parentNode.classList.contains("ecl-gallery__item--hidden"))).length&&(e.forEach((e)=>{e.parentNode.classList.remove("ecl-gallery__item--hidden");}),e[0].focus())));}handleClickOnItem(e){e.preventDefault(),document.body.classList.add("ecl-u-disablescroll"),this.isDialogSupported?this.overlay.showModal():this.overlay.setAttribute("open",""),this.updateOverlay(e.currentTarget),this.focusTrap.activate();}preventClickOnItem(e){e.preventDefault(),e.stopPropagation();}handleClickOnPreviousButton(){var e=+this.selectedItem.getAttribute("data-ecl-gallery-item-id")-1,t=(e<0&&(e=this.galleryItems.length-1),v("video",this.selectedItem));return t&&t.pause(),this.updateOverlay(this.galleryItems[e]),this.selectedItem=this.galleryItems[e],this;}handleClickOnNextButton(){var e=+this.selectedItem.getAttribute("data-ecl-gallery-item-id")+1,t=(e>=this.galleryItems.length&&(e=0),v("video",this.selectedItem));return t&&t.pause(),this.updateOverlay(this.galleryItems[e]),this.selectedItem=this.galleryItems[e],this;}},e.InpageNavigation=class Ne{static autoInit(e,t){return t=void 0===(t=(void 0===t?{}:t).INPAGE_NAVIGATION)?{}:t,(t=new Ne(e,t)).init(),e.ECLInpageNavigation=t;}constructor(e,t){var i=void 0===(i=(t=void 0===t?{}:t).stickySelector)?"[data-ecl-inpage-navigation]":i,s=void 0===(s=t.containerSelector)?"[data-ecl-inpage-navigation-container]":s,n=void 0===(n=t.inPageList)?"[data-ecl-inpage-navigation-list]":n,l=void 0===(l=t.spySelector)?"[data-ecl-inpage-navigation-link]":l,a=void 0===(a=t.toggleSelector)?"[data-ecl-inpage-navigation-trigger]":a,o=void 0===(o=t.linksSelector)?"[data-ecl-inpage-navigation-link]":o,r=void 0===(r=t.spyActiveContainer)?"ecl-inpage-navigation--visible":r,h=void 0===(h=t.spyOffset)?20:h,c=void 0===(c=t.spyClass)?"ecl-inpage-navigation__item--active":c,d=void 0===(d=t.spyTrigger)?"[data-ecl-inpage-navigation-trigger-current]":d,u=void 0===(u=t.attachClickListener)||u,t=void 0===(t=t.contentClass)?"inpage-navigation__heading--active":t;if(this.supportedEvents=["onToggle","onClick"],!e||e.nodeType!==Node.ELEMENT_NODE)throw new TypeError("DOM element should be given to initialize this widget.");this.element=e,this.eventManager=new w(),this.attachClickListener=u,this.stickySelector=i,this.containerSelector=s,this.toggleSelector=a,this.linksSelector=o,this.inPageList=n,this.spyActiveContainer=r,this.spySelector=l,this.spyOffset=h,this.spyClass=c,this.spyTrigger=d,this.contentClass=t,this.gumshoe=null,this.observer=null,this.stickyObserver=null,this.isExpanded=!1,this.handleClickOnToggler=this.handleClickOnToggler.bind(this),this.handleClickOnLink=this.handleClickOnLink.bind(this),this.initScrollSpy=this.initScrollSpy.bind(this),this.initObserver=this.initObserver.bind(this),this.handleEsc=this.handleEsc.bind(this),this.handleShiftTab=this.handleShiftTab.bind(this),this.activateScrollSpy=this.activateScrollSpy.bind(this),this.deactivateScrollSpy=this.deactivateScrollSpy.bind(this),this.destroySticky=this.destroySticky.bind(this),this.destroyScrollSpy=this.destroyScrollSpy.bind(this),this.destroyObserver=this.destroyObserver.bind(this);}initSticky(){this.stickyInstance=new ge.Sticky(this.element);}destroySticky(){this.stickyInstance&&this.stickyInstance.remove();}initScrollSpy(){var e,s,n,l;this.gumshoe=new be(this.spySelector,{navClass:this.spyClass,contentClass:this.contentClass,offset:this.spyOffset,reflow:!0}),document.addEventListener("gumshoeActivate",this.activateScrollSpy,!1),document.addEventListener("gumshoeDeactivate",this.deactivateScrollSpy,!1),"IntersectionObserver" in window&&(e=v(this.containerSelector))&&(n=s=0,l=!1,this.stickyObserver=new IntersectionObserver((e)=>{var t,i;e&&e[0]&&(t=(e=e[0]).boundingClientRect.y,i=e.intersectionRatio,e=e.isIntersecting,l?t<s?n<i&&e||this.element.classList.remove(this.spyActiveContainer):s<t&&e&&n<i&&this.element.classList.add(this.spyActiveContainer):l=!0,s=t,n=i);},{root:null}),this.stickyObserver.observe(e));}activateScrollSpy(e){var t=v(this.spyTrigger);this.element.classList.add(this.spyActiveContainer),t.textContent=e.detail.content.textContent;}deactivateScrollSpy(){var e=v(this.spyTrigger);this.element.classList.remove(this.spyActiveContainer),e.innerHTML="";}destroyScrollSpy(){this.stickyObserver&&this.stickyObserver.disconnect(),document.removeEventListener("gumshoeActivate",this.activateScrollSpy,!1),document.removeEventListener("gumshoeDeactivate",this.deactivateScrollSpy,!1),this.gumshoe.destroy();}initObserver(){var t;"MutationObserver" in window&&((t=this).observer=new MutationObserver((e)=>{var s=v(".ecl-col-l-9"),n=v("[data-ecl-inpage-navigation-list]");e.forEach((e)=>{e&&e.target&&e.target.classList&&!e.target.classList.contains("ecl-inpage-navigation__trigger-current")&&(0<e.addedNodes.length&&[].slice.call(e.addedNodes).forEach((t)=>{var e,i;"H2"===t.tagName&&t.id&&(e=m("h2[id]",s).findIndex((e)=>e.id===t.id),(i=n.childNodes[e-1].cloneNode(!0)).childNodes[0].textContent=t.textContent,i.childNodes[0].href="#"+t.id,n.childNodes[e-1].after(i));}),0<e.removedNodes.length&&[].slice.call(e.removedNodes).forEach((t)=>{"H2"===t.tagName&&t.id&&n.childNodes.forEach((e)=>{-1!==e.childNodes[0].href.indexOf(t.id)&&e.remove();});}),t.update());});}),this.observer.observe(document,{subtree:!0,childList:!0}));}destroyObserver(){this.observer&&this.observer.disconnect();}init(){if(!ECL)throw new TypeError("Called init but ECL is not present");ECL.components=ECL.components||new Map();var e=v(this.toggleSelector,this.element),t=m(this.linksSelector,this.element);this.initSticky(this.element),this.initScrollSpy(),this.initObserver(),this.attachClickListener&&e&&e.addEventListener("click",this.handleClickOnToggler),this.attachClickListener&&t&&(t.forEach((e)=>e.addEventListener("click",this.handleClickOnLink)),this.element.addEventListener("keydown",this.handleShiftTab),e.addEventListener("click",this.handleClickOnToggler)),document.addEventListener("keydown",this.handleEsc),this.element.setAttribute("data-ecl-auto-initialized","true"),ECL.components.set(this.element,this);}on(e,t){this.eventManager.on(e,t);}trigger(e,t){this.eventManager.trigger(e,t);}update(){this.gumshoe.setup();}handleClickOnToggler(e){var t=v(this.inPageList,this.element),i=v(this.toggleSelector,this.element);e.preventDefault(),this.isExpanded="true"===i.getAttribute("aria-expanded"),i.setAttribute("aria-expanded",this.isExpanded?"false":"true"),this.isExpanded?t.classList.remove("ecl-inpage-navigation__list--visible"):t.classList.add("ecl-inpage-navigation__list--visible"),this.trigger("onToggle",{isExpanded:this.isExpanded});}handleClickOnLink(e){var t,i=v(this.inPageList,this.element),s=v(this.toggleSelector,this.element),n=e.target.href,l=null;n&&(t=n.split("#")[1])&&(l=v("#"+t,document)),i.classList.remove("ecl-inpage-navigation__list--visible"),s.setAttribute("aria-expanded","false"),this.trigger("onClick",{target:l||n,e});}handleEsc(e){"Escape"===e.key&&this.handleClickOnLink();}handleShiftTab(e){var t;"Tab"===e.key&&e.shiftKey&&(t=m(this.linksSelector,this.element),Array.isArray(t))&&0<t.length&&e.target===t[0]&&this.handleClickOnLink();}destroy(){this.attachClickListener&&this.toggleElement&&this.toggleElement.removeEventListener("click",this.handleClickOnToggler),this.attachClickListener&&this.navLinks&&this.navLinks.forEach((e)=>e.removeEventListener("click",this.handleClickOnLink)),this.destroyScrollSpy(),this.destroySticky(),this.destroyObserver(),document.removeEventListener("keydown",this.handleEsc),this.element&&(this.element.removeEventListener("keydown",this.handleShiftTab),this.element.removeAttribute("data-ecl-auto-initialized"),ECL.components.delete(this.element));}},e.MediaContainer=class De{static autoInit(e,t){return t=void 0===(t=(void 0===t?{}:t).MEDIA_CONTAINER)?{}:t,(t=new De(e,t)).init(),e.ECLMediaContainer=t;}constructor(e,t){var i=void 0===(i=(t=void 0===t?{}:t).iframeSelector)?"iframe":i,t=void 0===(t=t.useAutomaticRatio)||t;if(!e||e.nodeType!==Node.ELEMENT_NODE)throw new TypeError("DOM element should be given to initialize this widget.");this.element=e,this.iframeSelector=i,this.useAutomaticRatio=t,this.iframe=null,this.calculateRatio=this.calculateRatio.bind(this);}init(){if(!ECL)throw new TypeError("Called init but ECL is not present");ECL.components=ECL.components||new Map();var e=v(".ecl-media-container__media",this.element);e&&!/ecl-media-container__media--ratio/.test(e.className)&&(this.iframe=v(this.iframeSelector,this.element),this.iframe)&&this.useAutomaticRatio&&this.calculateRatio(),this.element.setAttribute("data-ecl-auto-initialized","true"),ECL.components.set(this.element,this);}destroy(){this.element&&(this.element.removeAttribute("data-ecl-auto-initialized"),ECL.components.delete(this.element));}calculateRatio(){var e=this.iframe.width,t=this.iframe.height;e&&t||(e=this.iframe.offsetWidth,t=this.iframe.offsetHeight),this.iframe.style.aspectRatio=e+"/"+t;}},e.MegaMenu=class Re{static autoInit(e,t){return t=void 0===(t=(void 0===t?{}:t).MEGA_MENU)?{}:t,(t=new Re(e,t)).init(),e.ECLMegaMenu=t;}constructor(e,t){var i=void 0===(i=(t=void 0===t?{}:t).openSelector)?"[data-ecl-mega-menu-open]":i,s=void 0===(s=t.backSelector)?"[data-ecl-mega-menu-back]":s,n=void 0===(n=t.innerSelector)?"[data-ecl-mega-menu-inner]":n,l=void 0===(l=t.listSelector)?"[data-ecl-mega-menu-list]":l,a=void 0===(a=t.itemSelector)?"[data-ecl-mega-menu-item]":a,o=void 0===(o=t.linkSelector)?"[data-ecl-mega-menu-link]":o,r=void 0===(r=t.subLinkSelector)?"[data-ecl-mega-menu-sublink]":r,h=void 0===(h=t.megaSelector)?"[data-ecl-mega-menu-mega]":h,c=void 0===(c=t.containerSelector)?"[data-ecl-has-container]":c,d=void 0===(d=t.subItemSelector)?"[data-ecl-mega-menu-subitem]":d,u=void 0===(u=t.featuredAttribute)?"[data-ecl-mega-menu-featured]":u,m=void 0===(m=t.labelOpenAttribute)?"data-ecl-mega-menu-label-open":m,p=void 0===(p=t.labelCloseAttribute)?"data-ecl-mega-menu-label-close":p,v=void 0===(v=t.attachClickListener)||v,g=void 0===(g=t.attachFocusListener)||g,b=void 0===(b=t.attachKeyListener)||b,t=void 0===(t=t.attachResizeListener)||t;if(this.supportedEvents=["onOpen","onClose"],!e||e.nodeType!==Node.ELEMENT_NODE)throw new TypeError("DOM element should be given to initialize this widget.");this.element=e,this.eventManager=new w(),this.openSelector=i,this.backSelector=s,this.innerSelector=n,this.listSelector=l,this.itemSelector=a,this.linkSelector=o,this.subLinkSelector=r,this.megaSelector=h,this.subItemSelector=d,this.containerSelector=c,this.labelOpenAttribute=m,this.labelCloseAttribute=p,this.attachClickListener=v,this.attachFocusListener=g,this.attachKeyListener=b,this.attachResizeListener=t,this.featuredAttribute=u,this.direction="ltr",this.open=null,this.toggleLabel=null,this.back=null,this.backItemLevel1=null,this.backItemLevel2=null,this.inner=null,this.itemsList=null,this.items=null,this.links=null,this.isOpen=!1,this.resizeTimer=null,this.isKeyEvent=!1,this.isDesktop=!1,this.isLarge=!1,this.lastVisibleItem=null,this.currentItem=null,this.totalItemsWidth=0,this.breakpointL=996,this.openPanel={num:0,item:{}},this.handleClickOnOpen=this.handleClickOnOpen.bind(this),this.handleClickOnClose=this.handleClickOnClose.bind(this),this.handleClickOnToggle=this.handleClickOnToggle.bind(this),this.handleClickOnBack=this.handleClickOnBack.bind(this),this.handleClickGlobal=this.handleClickGlobal.bind(this),this.handleClickOnItem=this.handleClickOnItem.bind(this),this.handleClickOnSubitem=this.handleClickOnSubitem.bind(this),this.handleFocusOut=this.handleFocusOut.bind(this),this.handleKeyboard=this.handleKeyboard.bind(this),this.handleKeyboardGlobal=this.handleKeyboardGlobal.bind(this),this.handleResize=this.handleResize.bind(this),this.useDesktopDisplay=this.useDesktopDisplay.bind(this),this.closeOpenDropdown=this.closeOpenDropdown.bind(this),this.checkDropdownHeight=this.checkDropdownHeight.bind(this),this.positionMenuOverlay=this.positionMenuOverlay.bind(this),this.resetStyles=this.resetStyles.bind(this),this.handleFirstPanel=this.handleFirstPanel.bind(this),this.handleSecondPanel=this.handleSecondPanel.bind(this),this.disableScroll=this.disableScroll.bind(this),this.enableScroll=this.enableScroll.bind(this);}init(){if(!ECL)throw new TypeError("Called init but ECL is not present");ECL.components=ECL.components||new Map(),this.open=v(this.openSelector,this.element),this.toggleLabel=v(".ecl-link__label",this.open),this.back=v(this.backSelector,this.element),this.inner=v(this.innerSelector,this.element),this.itemsList=v(this.listSelector,this.element),this.btnPrevious=v(this.buttonPreviousSelector,this.element),this.btnNext=v(this.buttonNextSelector,this.element),this.items=m(this.itemSelector,this.element),this.subItems=m(this.subItemSelector,this.element),this.links=m(this.linkSelector,this.element),this.headerBanner=v(".ecl-site-header__banner",document),this.isDesktop=this.useDesktopDisplay(),this.attachClickListener&&(this.open&&this.open.addEventListener("click",this.handleClickOnToggle),this.back&&(this.back.addEventListener("click",this.handleClickOnBack),this.back.addEventListener("keyup",this.handleKeyboard)),this.attachClickListener)&&document.addEventListener("click",this.handleClickGlobal),this.links&&this.links.forEach((e)=>{this.attachFocusListener&&e.addEventListener("focusout",this.handleFocusOut),this.attachKeyListener&&e.addEventListener("keyup",this.handleKeyboard);}),this.subItems&&this.subItems.forEach((e)=>{e=v(".ecl-mega-menu__sublink",e),this.attachKeyListener&&e&&(e.addEventListener("click",this.handleClickOnSubitem),e.addEventListener("keyup",this.handleKeyboard)),this.attachFocusListener&&e&&e.addEventListener("focusout",this.handleFocusOut);});var e=m(".ecl-mega-menu__info-link   ",this.element);0<e.length&&e.forEach((e)=>{e.addEventListener("keyup",this.handleKeyboard),e.addEventListener("blur",this.handleFocusOut);}),0<(e=m(".ecl-mega-menu__see-all a",this.element)).length&&e.forEach((e)=>{e.addEventListener("keyup",this.handleKeyboard),e.addEventListener("blur",this.handleFocusOut);}),this.attachKeyListener&&document.addEventListener("keyup",this.handleKeyboardGlobal),this.attachResizeListener&&window.addEventListener("resize",this.handleResize),this.items&&this.items.forEach((e)=>{this.totalItemsWidth+=e.offsetWidth,(e.hasAttribute("data-ecl-has-children")||e.hasAttribute("data-ecl-has-container"))&&(e=v(this.linkSelector,e),this.attachClickListener)&&e&&e.addEventListener("click",this.handleClickOnItem);}),this.focusTrap=l(this.element,{onActivate:()=>this.element.classList.add("ecl-mega-menu-trap-is-active"),onDeactivate:()=>this.element.classList.remove("ecl-mega-menu-trap-is-active")}),this.handleResize(),this.element.setAttribute("data-ecl-auto-initialized","true"),ECL.components.set(this.element,this);}on(e,t){this.eventManager.on(e,t);}trigger(e,t){this.eventManager.trigger(e,t);}destroy(){this.attachClickListener&&(this.open&&this.open.removeEventListener("click",this.handleClickOnToggle),this.back&&this.back.removeEventListener("click",this.handleClickOnBack),this.attachClickListener)&&document.removeEventListener("click",this.handleClickGlobal),this.items&&this.isDesktop&&this.items.forEach((e)=>{(e.hasAttribute("data-ecl-has-children")||e.hasAttribute("data-ecl-has-container"))&&this.attachClickListener&&e.removeEventListener("click",this.handleClickOnItem);}),this.links&&this.links.forEach((e)=>{this.attachFocusListener&&e.removeEventListener("focusout",this.handleFocusOut),this.attachKeyListener&&e.removeEventListener("keyup",this.handleKeyboard);}),this.subItems&&this.subItems.forEach((e)=>{e=v(".ecl-mega-menu__sublink",e),this.attachKeyListener&&e&&e.removeEventListener("keyup",this.handleKeyboard),this.attachClickListener&&e&&e.removeEventListener("click",this.handleClickOnSubitem),this.attachFocusListener&&e&&e.removeEventListener("focusout",this.handleFocusOut);}),this.attachKeyListener&&document.removeEventListener("keyup",this.handleKeyboardGlobal),this.attachResizeListener&&window.removeEventListener("resize",this.handleResize),this.closeOpenDropdown(),this.enableScroll(),this.element&&(this.element.removeAttribute("data-ecl-auto-initialized"),ECL.components.delete(this.element));}disableScroll(){document.body.classList.add("ecl-mega-menu-prevent-scroll");}enableScroll(){document.body.classList.remove("ecl-mega-menu-prevent-scroll");}useDesktopDisplay(){return !(r.isMobileOnly||(r.isTablet?(this.element.classList.add("ecl-mega-menu--forced-mobile"),1):window.innerWidth<this.breakpointL||(this.element.classList.remove("ecl-mega-menu--forced-mobile"),0)));}resetStyles(e,t){var i,s,n=m(".ecl-mega-menu__info",this.element),l=m(".ecl-mega-menu__sublist",this.element);l&&"mobile"===e?(l.forEach((e)=>{e.style.height="";}),m(".ecl-mega-menu__item > .ecl-mega-menu__wrapper > .ecl-container > [data-ecl-mega-menu-mega]",this.element).forEach((e)=>{e.style.height="";}),(s=v(".ecl-mega-menu__item--expanded",this.element))&&s.firstChild.classList.add("ecl-mega-menu__parent-link"),2===this.openPanel.num&&((s=v(".ecl-mega-menu__subitem--expanded",this.element))&&s.firstChild.classList.add("ecl-mega-menu__parent-link"),(i=this.openPanel.item).parentNode.childNodes.forEach((e)=>{e!==i&&(e.style.display="none");}))):l&&"desktop"===e&&!t?(l.forEach((e)=>{e.childNodes.forEach((e)=>{e.style.display="";});}),n.forEach((e)=>{e.style.top="";}),s=[],(l=v(".ecl-mega-menu__subitem--expanded",this.element))&&s.push(l),(l=v(".ecl-mega-menu__item--expanded",this.element))&&s.push(l),0<s.length?s.forEach((e)=>{e.firstChild.classList.remove("ecl-mega-menu__parent-link"),this.checkDropdownHeight(e);}):(this.element.setAttribute("aria-expanded","false"),this.element.removeAttribute("data-expanded"),this.open.setAttribute("aria-expanded","false"),this.enableScroll())):"desktop"===e&&t&&n.forEach((e)=>{e.style.height="";});}handleResize(){clearTimeout(this.resizeTimer),this.resizeTimer=setTimeout(()=>{var e=window.innerWidth;void 0!==this.prevScreenWidth&&((this.prevScreenWidth<=this.breakpointL&&e>this.breakpointL||this.prevScreenWidth>this.breakpointL&&e<=this.breakpointL)&&this.resetStyles(e>this.breakpointL?"desktop":"mobile"),1140<this.prevScreenWidth)&&996<e&&this.resetStyles("desktop",!0),this.isDesktop=this.useDesktopDisplay(),this.isLarge=1140<window.innerWidth,this.prevScreenWidth=e,this.element.classList.remove("ecl-mega-menu--forced-mobile"),this.direction=getComputedStyle(this.element).direction,"rtl"===this.direction?this.element.classList.add("ecl-mega-menu--rtl"):this.element.classList.remove("ecl-mega-menu--rtl"),(e=v(".ecl-mega-menu__item--expanded",this.element))&&this.isDesktop&&this.checkDropdownHeight(e),this.positionMenuOverlay();},200);}checkDropdownHeight(u){setTimeout(()=>{var e=window.innerHeight,t=v(".ecl-mega-menu__info",u),i=v(".ecl-mega-menu__mega",u),s=0;if(this.isDesktop){var n=[],l=0,a=null,o=null,r=0,h=0;if(t&&(s=t.scrollHeight+16),t&&this.isLarge?n.push(s):t&&this.isDesktop&&(h=r=s),i){var c=i.getBoundingClientRect().top,d=v(".ecl-mega-menu__sublist",i);if(d)0<(d=d.children).length&&(Array.from(d).forEach((e)=>{r+=e.getBoundingClientRect().height;}),n.push(r));else{if(u.classList.contains("ecl-mega-menu__item--has-container")&&(d=v(".ecl-mega-menu__mega-container",u)))return void (d.firstElementChild.style.height=e-c+"px");}}(d=v(".ecl-mega-menu__subitem--expanded",u))&&(a=v(".ecl-mega-menu__mega--level-2",d))&&(0<(e=m(this.subItemSelector+" a",a)).length&&e.forEach((e)=>{h+=e.getBoundingClientRect().height;}),n.push(h),o=v(".ecl-mega-menu__featured",d))&&n.push(o.scrollHeight),c=Math.max(...n),e=this.inner.getBoundingClientRect().bottom,d=window.innerHeight-e,l=d<c?d-35:c,(n=v(".ecl-mega-menu__wrapper",u))&&(n.style.height=l+"px"),i&&this.isLarge?i.style.height=l+"px":i&&t&&this.isDesktop&&(i.style.height=l-s+"px"),t&&this.isLarge&&(t.style.height=l+"px"),a&&this.isLarge?a.style.height=l+"px":a&&this.isDesktop&&(a.style.height=l-s+"px"),o&&this.isLarge?o.style.height=l+"px":o&&this.isDesktop&&(o.style.height=l-s+"px");}},100);}positionMenuOverlay(){var s=v(".ecl-mega-menu__overlay",this.element),i=null,n=0;this.isDesktop?setTimeout(()=>{var t,e,i=v(".ecl-site-header",document);i?(i=i.getBoundingClientRect().bottom,t=v(this.itemSelector,this.element).getBoundingClientRect().height,(e=m(".ecl-mega-menu__wrapper",this.element))&&e.forEach((e)=>{e.style.top=t+"px";}),s&&(s.style.top=i+"px")):(e=this.element.getBoundingClientRect().bottom,s&&(s.style.top=e+"px"));},0):setTimeout(()=>{var t,e="";(e=0===this.openPanel.num?v(".ecl-site-header__banner",document):v(".ecl-site-header__header",document))&&(e=e.getBoundingClientRect(),t=Math.round(e.bottom),1===this.openPanel.num?i=v(".ecl-mega-menu__item--expanded a",this.element):2===this.openPanel.num&&(i=v(".ecl-mega-menu__subitem--expanded a",this.element)),i&&(e=i.getBoundingClientRect(),n=e.height),s&&(s.style.top=t+"px"),this.inner&&(this.inner.style.top=t+"px"),(e=m(".ecl-mega-menu__wrapper",this.element))?e.forEach((e)=>{e.style.top=i?n+"px":t+"px";}):2===this.openPanel.num&&i&&(e=v(".ecl-mega-menu__info",i.closest(".ecl-container")))&&(e.style.top=n-2+"px"));},0);}handleKeyboard(e){var t=e.target,i=t.classList,s=this.element.getAttribute("aria-expanded");if("Escape"===e.key||"Esc"===e.key)document.activeElement===t&&t.blur(),"false"===s&&this.closeOpenDropdown();else{if(i.contains("ecl-mega-menu__info-link")&&("ArrowUp"===e.key&&v(".ecl-mega-menu__item--expanded a",this.element).focus(),"ArrowDown"!==e.key&&"ArrowRight"!==e.key||t.parentElement.parentElement.nextSibling.firstChild.firstChild.firstChild.focus()),i.contains("ecl-mega-menu__parent-link")){if("ArrowUp"===e.key)return void v(".ecl-mega-menu__back",this.element).focus();if("ArrowDown"===e.key)return void (v(".ecl-mega-menu__info-link",e.target.nextSibling)||(this.element.classList.contains("ecl-mega-menu--two-panels")?(s=e.target.closest(".ecl-mega-menu__mega"),(n=v(".ecl-mega-menu__info--has-link",s.parentNode))?v(".ecl-mega-menu__info-link",n):s.firstElementChild.firstElementChild.firstChild):e.target.nextSibling.firstElementChild.lastElementChild.firstElementChild.firstElementChild.firstChild)).focus();}if(t.parentElement.classList.contains("ecl-mega-menu__see-all")&&("ArrowUp"===e.key&&t.parentElement.previousSibling.firstChild.focus(),"ArrowDown"===e.key)&&(n=t.parentElement.parentElement.nextSibling)&&0<(s=m(["a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[tabindex]:not([tabindex="-1"])'].join(", "),n)).length&&s[0].focus(),i.contains("ecl-mega-menu__back")&&("ArrowDown"===e.key&&(e.preventDefault(),n=v('[aria-expanded="true"]',t.parentElement.nextSibling))&&(s=v(".ecl-mega-menu__subitem--expanded",n),v(".ecl-mega-menu__parent-link",s||n).focus()),"ArrowUp"===e.key)&&this.open.focus(),i.contains("ecl-mega-menu__link")){if("ArrowLeft"===e.key||"ArrowUp"===e.key){if(e.preventDefault(),(s=t.previousSibling)&&s.classList.contains("ecl-mega-menu__link"))return void s.focus();if(s=t.parentElement.previousSibling)if(n=v(".ecl-mega-menu__link",s))return void n.focus();}if("ArrowRight"===e.key||"ArrowDown"===e.key){if(e.preventDefault(),"true"===t.parentElement.getAttribute("aria-expanded")&&"ArrowDown"===e.key&&(s=v(".ecl-mega-menu__info-link",t.parentElement)))return void s.focus();var n=t.parentElement.nextSibling;if(n&&(s=v(".ecl-mega-menu__link",n)))return void s.focus();}}if(i.contains("ecl-mega-menu__sublink")){if("ArrowDown"===e.key&&(e.preventDefault(),n=t.parentElement.nextSibling,s="",n)&&(s=!(s=v(".ecl-mega-menu__sublink",n))&&n.classList.contains("ecl-mega-menu__see-all")?n.firstElementChild:s))return void s.focus();"ArrowUp"===e.key&&(e.preventDefault(),(i=t.parentElement.previousSibling)?(n=v(".ecl-mega-menu__sublink",i))&&n.focus():(s=v(".ecl-mega-menu__info-link",t.parentElement.parentElement.parentElement.previousSibling))&&s.focus());}"ArrowRight"===e.key&&"true"===t.parentElement.getAttribute("aria-expanded")&&(e.preventDefault(),t.nextSibling.firstElementChild.firstChild.firstChild.focus());}}handleKeyboardGlobal(e){var t=this.element.getAttribute("aria-expanded");"Escape"!==e.key&&"Esc"!==e.key||"true"===t&&this.closeOpenDropdown();}handleClickOnOpen(e){var t;"true"===this.element.getAttribute("aria-expanded")?this.handleClickOnClose(e):(e.preventDefault(),this.disableScroll(),this.element.setAttribute("aria-expanded","true"),this.open.setAttribute("aria-expanded","true"),this.inner.setAttribute("aria-hidden","false"),this.isOpen=!0,t=this.element.getAttribute(this.labelCloseAttribute),this.toggleLabel&&t&&(this.toggleLabel.innerHTML=t),this.positionMenuOverlay(),this.trigger("onOpen",e));}handleClickOnClose(e){"true"===this.element.getAttribute("aria-expanded")?(this.focusTrap.deactivate(),this.closeOpenDropdown(),this.trigger("onClose",e)):this.handleClickOnOpen(e);}handleClickOnToggle(e){e.preventDefault(),this.isOpen?this.handleClickOnClose(e):this.handleClickOnOpen(e);}handleClickOnBack(){m(".ecl-mega-menu__info",this.element).forEach((e)=>{e.style.top="";});var e,t=v(".ecl-mega-menu__subitem--expanded",this.element);t?(this.element.classList.remove("ecl-mega-menu--two-panels"),this.element.classList.add("ecl-mega-menu--one-panel"),t.setAttribute("aria-expanded","false"),t.classList.remove("ecl-mega-menu__subitem--expanded","ecl-mega-menu__subitem--current"),(e=v(this.subLinkSelector,t)).setAttribute("aria-expanded","false"),e.classList.remove("ecl-mega-menu__parent-link"),(e=t.parentElement.childNodes)&&e.forEach((e)=>{e.style.display="";}),(this.backItemLevel2?this.backItemLevel2.firstElementChild:(e=v(".ecl-mega-menu__item--expanded",this.element),v(".ecl-mega-menu__parent-link",e))).focus(),this.openPanel.num=1):(this.inner.classList.remove("ecl-mega-menu__inner--expanded"),this.element.classList.remove("ecl-mega-menu--one-panel"),this.items.forEach((e)=>{e.classList.remove("ecl-mega-menu__item--expanded","ecl-mega-menu__item--current"),e.setAttribute("aria-expanded","false"),(e=v(this.linkSelector,e)).setAttribute("aria-expanded","false"),e.classList.remove("ecl-mega-menu__parent-link");}),(this.backItemLevel1||this.items[0]).firstElementChild.focus(),this.openPanel.num=0,this.positionMenuOverlay()),this.trigger("onBack",{level:t?2:1});}handleFirstPanel(i,e){switch(e){case "expand":var t;this.inner.classList.add("ecl-mega-menu__inner--expanded"),this.positionMenuOverlay(),this.checkDropdownHeight(i),this.element.setAttribute("data-expanded",!0),this.element.setAttribute("aria-expanded","true"),this.element.classList.add("ecl-mega-menu--one-panel"),this.open.setAttribute("aria-expanded","true"),this.disableScroll(),this.items.forEach((e)=>{var t;e.hasAttribute("aria-expanded")&&(t=v(this.linkSelector,e),e===i?(e.classList.add("ecl-mega-menu__item--expanded","ecl-mega-menu__item--current"),e.setAttribute("aria-expanded","true"),t.setAttribute("aria-expanded","true"),this.isDesktop||t.classList.add("ecl-mega-menu__parent-link"),this.backItemLevel1=e):(e.setAttribute("aria-expanded","false"),t.setAttribute("aria-expanded","false"),t.classList.remove("ecl-mega-menu__parent-link"),e.classList.remove("ecl-mega-menu__item--current","ecl-mega-menu__item--expanded")));}),this.openPanel={num:1,item:i},this.trigger("OnOpenPanel",{panel:1,item:i}),this.isDesktop&&(t=(t=v(".ecl-mega-menu__sublist",i))&&Array.from(t.children).find((e)=>e.hasAttribute("aria-expanded")))&&this.handleSecondPanel(t,"expand");break;case "collapse":this.closeOpenDropdown();}}handleSecondPanel(i,e){var t,s=v(".ecl-mega-menu__info",i.closest(".ecl-container"));switch(e){case "expand":this.element.classList.remove("ecl-mega-menu--one-panel"),this.element.classList.add("ecl-mega-menu--two-panels"),this.subItems.forEach((e)=>{var t=v(this.subLinkSelector,e);e===i?(e.hasAttribute("aria-expanded")&&(e.setAttribute("aria-expanded","true"),t.setAttribute("aria-expanded","true"),this.isDesktop||t.classList.add("ecl-mega-menu__parent-link"),e.classList.add("ecl-mega-menu__subitem--expanded")),e.classList.add("ecl-mega-menu__subitem--current"),this.backItemLevel2=e):(e.hasAttribute("aria-expanded")&&(e.setAttribute("aria-expanded","false"),t.setAttribute("aria-expanded","false"),t.classList.remove("ecl-mega-menu__parent-link"),e.classList.remove("ecl-mega-menu__subitem--expanded")),e.classList.remove("ecl-mega-menu__subitem--current"));}),this.openPanel={num:2,item:i},t=i.parentNode.childNodes,this.isDesktop?t.forEach((e)=>{e!==i&&(e.style.display="");}):t.forEach((e)=>{e!==i&&(e.style.display="none");}),this.positionMenuOverlay(),this.trigger("OnOpenPanel",{panel:2,item:i});break;case "collapse":this.element.classList.remove("ecl-mega-menu--two-panels"),this.openPanel={num:1},i.setAttribute("aria-expanded","false"),v(this.subLinkSelector,i).setAttribute("aria-expanded","false"),i.classList.remove("ecl-mega-menu__subitem--expanded","ecl-mega-menu__subitem--current"),s&&(s.style.top="");}}handleClickOnItem(e){var t,i=!1,s=e.target.closest("li");v(".ecl-mega-menu__parent-link",s)||((t=v(".ecl-mega-menu__mega-container-scrollable",s))&&(i=t.contains(e.target)),e.target.classList.contains("ecl-mega-menu__mega-container-scrollable"))||i||(this.trigger("onItemClick",{item:s,event:e}),(t=s.getAttribute("aria-expanded"))&&s.classList.contains("ecl-mega-menu__item")&&(e.preventDefault(),e.stopPropagation(),this.isDesktop?"true"===t?this.handleFirstPanel(s,"collapse"):(this.closeOpenDropdown(),this.handleFirstPanel(s,"expand")):this.handleFirstPanel(s,"expand")));}handleClickOnSubitem(e){var t=e.target.closest(this.subItemSelector);t&&t.hasAttribute("aria-expanded")&&(v(".ecl-mega-menu__parent-link",t)||(e.preventDefault(),e.stopPropagation(),"true"===t.getAttribute("aria-expanded")?this.handleSecondPanel(t,"collapse"):this.handleSecondPanel(t,"expand")));}closeOpenDropdown(){this.enableScroll(),this.element.setAttribute("aria-expanded","false"),this.element.removeAttribute("data-expanded"),this.element.classList.remove("ecl-mega-menu--two-panels","ecl-mega-menu--one-panel"),this.open.setAttribute("aria-expanded","false"),this.inner.classList.remove("ecl-mega-menu__inner--expanded"),m(".ecl-mega-menu__item > .ecl-mega-menu__wrapper > .ecl-container > [data-ecl-mega-menu-mega]",this.element).forEach((e)=>{e.style.height="",e.style.top="";}),this.items.forEach((e)=>{e.classList.remove("ecl-mega-menu__item--current"),e.hasAttribute("aria-expanded")&&(e.setAttribute("aria-expanded","false"),e.classList.remove("ecl-mega-menu__item--expanded"),(e=v(this.linkSelector,e)).setAttribute("aria-expanded","false"),e.classList.remove("ecl-mega-menu__parent-link"));}),this.subItems.forEach((e)=>{e.classList.remove("ecl-mega-menu__subitem--current"),e.style.display="",e.hasAttribute("aria-expanded")&&(e.classList.remove("ecl-mega-menu__subitem--expanded"),e.setAttribute("aria-expanded","false"),e.style.display="",(e=v(this.subLinkSelector,e)).setAttribute("aria-expanded","false"),e.classList.remove("ecl-mega-menu__parent-link"));});(e=m(".ecl-mega-menu__sublist"))&&e.forEach((e)=>{e.classList.remove("ecl-mega-menu__sublist--no-border");});var e=this.element.getAttribute(this.labelOpenAttribute);this.toggleLabel&&e&&(this.toggleLabel.innerHTML=e),this.openPanel={num:0,item:!1},this.focusTrap.deactivate(),this.trigger("onFocusTrapToggle",{active:!1}),this.isOpen=!1;}handleFocusOut(e){var t=e.target;"true"!==this.element.getAttribute("aria-expanded")||this.isDesktop||t.parentElement.nextSibling||(e=e.relatedTarget,this.element.contains(e))||(this.focusTrap.activate(),this.trigger("onFocusTrapToggle",{active:!0,lastFocusedEl:t.parentElement}));}handleClickGlobal(e){e.target.classList.contains("ecl-mega-menu__mega-container-scrollable")||!e.target.classList.contains("ecl-mega-menu__overlay")&&this.element.contains(e.target)||this.closeOpenDropdown();}},e.Menu=class Be{static autoInit(e,t){return t=void 0===(t=(void 0===t?{}:t).MENU)?{}:t,(t=new Be(e,t)).init(),e.ECLMenu=t;}constructor(e,t){var i=void 0===(i=(t=void 0===t?{}:t).openSelector)?"[data-ecl-menu-open]":i,s=void 0===(s=t.closeSelector)?"[data-ecl-menu-close]":s,n=void 0===(n=t.backSelector)?"[data-ecl-menu-back]":n,l=void 0===(l=t.innerSelector)?"[data-ecl-menu-inner]":l,a=void 0===(a=t.listSelector)?"[data-ecl-menu-list]":a,o=void 0===(o=t.itemSelector)?"[data-ecl-menu-item]":o,r=void 0===(r=t.linkSelector)?"[data-ecl-menu-link]":r,h=void 0===(h=t.buttonPreviousSelector)?"[data-ecl-menu-items-previous]":h,c=void 0===(c=t.buttonNextSelector)?"[data-ecl-menu-items-next]":c,d=void 0===(d=t.caretSelector)?"[data-ecl-menu-caret]":d,u=void 0===(u=t.megaSelector)?"[data-ecl-menu-mega]":u,m=void 0===(m=t.subItemSelector)?"[data-ecl-menu-subitem]":m,p=void 0===(p=t.maxLines)?2:p,v=void 0===(v=t.maxLinesAttribute)?"data-ecl-menu-max-lines":v,g=void 0===(g=t.labelOpenAttribute)?"data-ecl-menu-label-open":g,b=void 0===(b=t.labelCloseAttribute)?"data-ecl-menu-label-close":b,f=void 0===(f=t.attachClickListener)||f,y=void 0===(y=t.attachHoverListener)||y,L=void 0===(L=t.attachFocusListener)||L,E=void 0===(E=t.attachKeyListener)||E,C=void 0===(C=t.attachResizeListener)||C,k=void 0===(k=t.onCloseCallback)?null:k,t=void 0===(t=t.onOpenCallback)?null:t;if(this.supportedEvents=["onOpen","onClose"],!e||e.nodeType!==Node.ELEMENT_NODE)throw new TypeError("DOM element should be given to initialize this widget.");this.element=e,this.eventManager=new w(),this.openSelector=i,this.closeSelector=s,this.backSelector=n,this.innerSelector=l,this.listSelector=a,this.itemSelector=o,this.linkSelector=r,this.buttonPreviousSelector=h,this.buttonNextSelector=c,this.caretSelector=d,this.megaSelector=u,this.subItemSelector=m,this.maxLines=p,this.maxLinesAttribute=v,this.labelOpenAttribute=g,this.labelCloseAttribute=b,this.attachClickListener=f,this.attachHoverListener=y,this.attachFocusListener=L,this.attachKeyListener=E,this.attachResizeListener=C,this.onOpenCallback=t,this.onCloseCallback=k,this.direction="ltr",this.open=null,this.close=null,this.toggleLabel=null,this.back=null,this.backItem=null,this.inner=null,this.itemsList=null,this.items=null,this.links=null,this.btnPrevious=null,this.btnNext=null,this.isOpen=!1,this.resizeTimer=null,this.isKeyEvent=!1,this.isDesktop=!1,this.hasOverflow=!1,this.offsetLeft=0,this.lastVisibleItem=null,this.currentItem=null,this.totalItemsWidth=0,this.breakpointL=996,this.windowWidth=null,this.handleClickOnOpen=this.handleClickOnOpen.bind(this),this.handleClickOnClose=this.handleClickOnClose.bind(this),this.handleClickOnToggle=this.handleClickOnToggle.bind(this),this.handleClickOnBack=this.handleClickOnBack.bind(this),this.handleClickOnNextItems=this.handleClickOnNextItems.bind(this),this.handleClickOnPreviousItems=this.handleClickOnPreviousItems.bind(this),this.handleClickOnCaret=this.handleClickOnCaret.bind(this),this.handleClickGlobal=this.handleClickGlobal.bind(this),this.handleHoverOnItem=this.handleHoverOnItem.bind(this),this.handleHoverOffItem=this.handleHoverOffItem.bind(this),this.handleFocusIn=this.handleFocusIn.bind(this),this.handleFocusOut=this.handleFocusOut.bind(this),this.handleKeyboard=this.handleKeyboard.bind(this),this.handleKeyboardGlobal=this.handleKeyboardGlobal.bind(this),this.handleResize=this.handleResize.bind(this),this.useDesktopDisplay=this.useDesktopDisplay.bind(this),this.checkMenuOverflow=this.checkMenuOverflow.bind(this),this.checkMenuItem=this.checkMenuItem.bind(this),this.checkMegaMenu=this.checkMegaMenu.bind(this),this.closeOpenDropdown=this.closeOpenDropdown.bind(this),this.positionMenuOverlay=this.positionMenuOverlay.bind(this),this.disableScroll=this.disableScroll.bind(this),this.enableScroll=this.enableScroll.bind(this);}init(){if(!ECL)throw new TypeError("Called init but ECL is not present");ECL.components=ECL.components||new Map(),this.direction=getComputedStyle(this.element).direction,this.open=v(this.openSelector,this.element),this.close=v(this.closeSelector,this.element),this.toggleLabel=v(".ecl-link__label",this.open),this.back=v(this.backSelector,this.element),this.inner=v(this.innerSelector,this.element),this.itemsList=v(this.listSelector,this.element),this.btnPrevious=v(this.buttonPreviousSelector,this.element),this.btnNext=v(this.buttonNextSelector,this.element),this.items=m(this.itemSelector,this.element),this.subItems=m(this.subItemSelector,this.element),this.links=m(this.linkSelector,this.element),this.carets=m(this.caretSelector,this.element);var e=this.element.getAttribute(this.maxLinesAttribute);e&&(this.maxLines=e),this.isDesktop=this.useDesktopDisplay(),this.attachClickListener&&(this.open&&this.open.addEventListener("click",this.handleClickOnToggle),this.close&&this.close.addEventListener("click",this.handleClickOnClose),this.back&&this.back.addEventListener("click",this.handleClickOnBack),this.btnPrevious&&this.btnPrevious.addEventListener("click",this.handleClickOnPreviousItems),this.btnNext&&this.btnNext.addEventListener("click",this.handleClickOnNextItems),this.attachClickListener)&&document.addEventListener("click",this.handleClickGlobal),this.links&&this.links.forEach((e)=>{this.attachFocusListener&&(e.addEventListener("focusin",this.closeOpenDropdown),e.addEventListener("focusin",this.handleFocusIn),e.addEventListener("focusout",this.handleFocusOut)),this.attachKeyListener&&e.addEventListener("keyup",this.handleKeyboard);}),this.carets&&this.carets.forEach((e)=>{this.attachFocusListener&&(e.addEventListener("focusin",this.handleFocusIn),e.addEventListener("focusout",this.handleFocusOut)),this.attachKeyListener&&e.addEventListener("keyup",this.handleKeyboard),this.attachClickListener&&e.addEventListener("click",this.handleClickOnCaret);}),this.subItems&&this.subItems.forEach((e)=>{e=v(".ecl-menu__sublink",e),this.attachKeyListener&&e&&e.addEventListener("keyup",this.handleKeyboard),this.attachFocusListener&&e&&e.addEventListener("focusout",this.handleFocusOut);}),this.attachKeyListener&&document.addEventListener("keyup",this.handleKeyboardGlobal),this.attachResizeListener&&(this.windowWidth=window.innerWidth,window.addEventListener("resize",this.handleResize)),this.items&&this.items.forEach((e)=>{this.checkMenuItem(e),this.totalItemsWidth+=e.offsetWidth,e.hasAttribute("data-ecl-has-children")&&this.attachHoverListener&&(e.addEventListener("mouseover",this.handleHoverOnItem),e.addEventListener("mouseout",this.handleHoverOffItem));}),this.positionMenuOverlay(),this.checkMenuOverflow(),this.currentItem&&("false"===this.currentItem.getAttribute("data-ecl-menu-item-visible")?this.btnNext:this.btnPrevious).classList.add("ecl-menu__item--current"),this.stickyInstance=new ge.Sticky(this.element),this.focusTrap=l(this.element,{onActivate:()=>this.element.classList.add("trap-is-active"),onDeactivate:()=>this.element.classList.remove("trap-is-active")}),"rtl"===this.direction&&this.element.classList.add("ecl-menu--rtl"),setTimeout(()=>{this.element.classList.add("ecl-menu--transition");},500),this.element.setAttribute("data-ecl-auto-initialized","true"),ECL.components.set(this.element,this);}on(e,t){this.eventManager.on(e,t);}trigger(e,t){this.eventManager.trigger(e,t);}destroy(){this.stickyInstance&&this.stickyInstance.remove(),this.attachClickListener&&(this.open&&this.open.removeEventListener("click",this.handleClickOnToggle),this.close&&this.close.removeEventListener("click",this.handleClickOnClose),this.back&&this.back.removeEventListener("click",this.handleClickOnBack),this.btnPrevious&&this.btnPrevious.removeEventListener("click",this.handleClickOnPreviousItems),this.btnNext&&this.btnNext.removeEventListener("click",this.handleClickOnNextItems),this.attachClickListener)&&document.removeEventListener("click",this.handleClickGlobal),this.attachKeyListener&&this.carets&&this.carets.forEach((e)=>{e.removeEventListener("keyup",this.handleKeyboard);}),this.items&&this.isDesktop&&this.items.forEach((e)=>{e.hasAttribute("data-ecl-has-children")&&this.attachHoverListener&&(e.removeEventListener("mouseover",this.handleHoverOnItem),e.removeEventListener("mouseout",this.handleHoverOffItem));}),this.links&&this.links.forEach((e)=>{this.attachFocusListener&&(e.removeEventListener("focusin",this.closeOpenDropdown),e.removeEventListener("focusin",this.handleFocusIn),e.removeEventListener("focusout",this.handleFocusOut)),this.attachKeyListener&&e.removeEventListener("keyup",this.handleKeyboard);}),this.carets&&this.carets.forEach((e)=>{this.attachFocusListener&&(e.removeEventListener("focusin",this.handleFocusIn),e.removeEventListener("focusout",this.handleFocusOut)),this.attachKeyListener&&e.removeEventListener("keyup",this.handleKeyboard),this.attachClickListener&&e.removeEventListener("click",this.handleClickOnCaret);}),this.subItems&&this.subItems.forEach((e)=>{e=v(".ecl-menu__sublink",e),this.attachKeyListener&&e&&e.removeEventListener("keyup",this.handleKeyboard),this.attachFocusListener&&e&&e.removeEventListener("focusout",this.handleFocusOut);}),this.attachKeyListener&&document.removeEventListener("keyup",this.handleKeyboardGlobal),this.attachResizeListener&&window.removeEventListener("resize",this.handleResize),this.element&&(this.element.removeAttribute("data-ecl-auto-initialized"),ECL.components.delete(this.element));}disableScroll(){document.body.classList.add("no-scroll");}enableScroll(){document.body.classList.remove("no-scroll");}useDesktopDisplay(){return !(r.isMobileOnly||(r.isTablet?(this.element.classList.add("ecl-menu--forced-mobile"),1):window.innerWidth<this.breakpointL||(this.element.classList.remove("ecl-menu--forced-mobile"),0)));}handleResize(){window.innerWidth!==this.windowWidth&&(document.documentElement.scrollTop=0,document.body.scrollTop=0,this.element.classList.remove("ecl-menu--transition"),"rtl"===this.direction?this.element.classList.add("ecl-menu--rtl"):this.element.classList.remove("ecl-menu--rtl"),clearTimeout(this.resizeTimer),this.resizeTimer=setTimeout(()=>{this.element.classList.remove("ecl-menu--forced-mobile"),this.isDesktop=this.useDesktopDisplay(),this.isDesktop&&this.focusTrap.deactivate(),this.totalItemsWidth=0,this.items&&this.items.forEach((e)=>{this.checkMenuItem(e),this.totalItemsWidth+=e.offsetWidth;}),this.checkMenuOverflow(),this.positionMenuOverlay(),this.element.classList.add("ecl-menu--transition"),this.windowWidth=window.innerWidth;},200));}positionMenuOverlay(){var t=v(".ecl-menu__overlay",this.element);this.isDesktop?(this.enableScroll(),this.inner&&(this.inner.style.top=""),t&&(t.style.top="")):(this.isOpen&&this.disableScroll(),setTimeout(()=>{var e=v(".ecl-site-header__header",document);e&&(e=e.getBoundingClientRect(),e=Math.round(e.bottom),t&&(t.style.top=e+"px"),this.inner)&&(this.inner.style.top=e+"px");},500));}checkMenuOverflow(){this.itemsList||(this.itemsList=v(".ecl-menu__list",this.element)),this.itemsList&&this.inner&&this.btnNext&&this.btnPrevious&&this.items&&(this.hasOverflow=this.totalItemsWidth>this.inner.offsetWidth+16,this.hasOverflow&&this.isDesktop?(this.inner&&this.inner.classList.add("ecl-menu__inner--has-overflow"),this.items&&this.items.forEach((e)=>{e.removeAttribute("data-ecl-menu-item-visible");}),0===this.offsetLeft?(this.btnNext.style.display="block","rtl"===this.direction?this.items.every((e)=>e.getBoundingClientRect().left<this.itemsList.getBoundingClientRect().left?(this.lastVisibleItem=e,!1):(e.setAttribute("data-ecl-menu-item-visible",!0),!0)):this.items.every((e)=>e.getBoundingClientRect().right>this.itemsList.getBoundingClientRect().right?(this.lastVisibleItem=e,!1):(e.setAttribute("data-ecl-menu-item-visible",!0),!0))):"rtl"===this.direction?this.items.forEach((e)=>{e.getBoundingClientRect().right<=this.inner.getBoundingClientRect().right&&e.setAttribute("data-ecl-menu-item-visible",!0);}):this.items.forEach((e)=>{e.getBoundingClientRect().left>=this.inner.getBoundingClientRect().left&&e.setAttribute("data-ecl-menu-item-visible",!0);})):(this.btnPrevious&&(this.btnPrevious.style.display="none"),this.btnNext&&(this.btnNext.style.display="none"),this.itemsList&&(this.itemsList.style.left="0"),this.inner&&this.inner.classList.remove("ecl-menu__inner--has-overflow"),this.offsetLeft=0,this.totalItemsWidth=0,this.lastVisibleItem=null));}checkMenuItem(e){var t=v(this.linkSelector,e);if(e.classList.contains("ecl-menu__item--current")&&(this.currentItem=e),this.isDesktop){if(!(this.maxLines<1)){e.style.alignItems="flex-start";for(var i=t.offsetWidth,s=window.getComputedStyle(t),n=parseInt(s.lineHeight,10)*this.maxLines+parseInt(s.paddingTop,10)+parseInt(s.paddingBottom,10);t.offsetHeight>n&&(t.style.width=(i+=1)+"px",!(1e3<i)););e.style.alignItems="unset";}}else t.style.width="auto";}checkMegaMenu(e){var t=v(this.megaSelector,e);if(t&&this.inner){if((i=m(this.subItemSelector,t)).length<5)e.classList.add("ecl-menu__item--col1");else if(i.length<9)e.classList.add("ecl-menu__item--col2");else{if(!(i.length<13))return e.classList.add("ecl-menu__item--full"),void ("rtl"===this.direction?t.style.right=this.offsetLeft+"px":t.style.left=this.offsetLeft+"px");e.classList.add("ecl-menu__item--col3");}var i=t.getBoundingClientRect(),s=this.inner.getBoundingClientRect(),e=e.getBoundingClientRect(),i=i.width;s.width<e.left-s.left+i?t.classList.add("ecl-menu__mega--rtl"):t.classList.remove("ecl-menu__mega--rtl");}}handleKeyboard(e){var t=e.target,i=t.classList,s=this.element.getAttribute("aria-expanded"),n=t.closest(this.itemSelector);if("Escape"===e.key||"Esc"===e.key)document.activeElement===t&&t.blur(),"false"===s&&((l=v(".ecl-menu__button-caret",n))&&l.focus(),this.closeOpenDropdown());else{if(i.contains("ecl-menu__button-caret")&&"false"===s){if(32===e.keyCode||"Enter"===e.key)return void ("true"===n.getAttribute("aria-expanded")?this.handleHoverOffItem(e):this.handleHoverOnItem(e));if("ArrowDown"===e.key)if(e.preventDefault(),l=v(".ecl-menu__sublink:first-of-type",n))return this.handleHoverOnItem(e),void l.focus();}if(i.contains("ecl-menu__link")||i.contains("ecl-menu__button-caret")){if("ArrowLeft"===e.key||"ArrowUp"===e.key){if(e.preventDefault(),(s=t.previousSibling)&&s.classList.contains("ecl-menu__link"))return void s.focus();if(s=t.parentElement.previousSibling){var l,n=s.classList.contains("ecl-menu__item--has-children")?".ecl-menu__button-caret":".ecl-menu__link";if(l=v(n,s))return void l.focus();}}if("ArrowRight"===e.key||"ArrowDown"===e.key){if(e.preventDefault(),(n=t.nextSibling)&&n.classList.contains("ecl-menu__button-caret"))return void n.focus();(n=t.parentElement.nextSibling)&&(s=v(".ecl-menu__link",n))&&s.focus();}this.closeOpenDropdown();}i.contains("ecl-menu__sublink")&&("ArrowDown"===e.key&&(l=t.parentElement.nextSibling)&&(n=v(".ecl-menu__sublink",l))?n.focus():"ArrowUp"===e.key&&((s=t.parentElement.previousSibling)?(i=v(".ecl-menu__sublink",s))&&i.focus():(l=v(this.itemSelector+'[aria-expanded="true"] '+this.caretSelector,this.element))&&l.focus()));}}handleKeyboardGlobal(e){var t=this.element.getAttribute("aria-expanded");"Escape"!==e.key&&"Esc"!==e.key||("true"===t&&this.handleClickOnClose(),this.items.forEach((e)=>{e.setAttribute("aria-expanded","false");}),this.carets.forEach((e)=>{e.setAttribute("aria-expanded","false");}));}handleClickOnOpen(e){e.preventDefault(),this.element.setAttribute("aria-expanded","true"),this.inner.setAttribute("aria-hidden","false"),this.disableScroll(),this.isOpen=!0;var t=this.element.getAttribute(this.labelCloseAttribute);return this.toggleLabel&&t&&(this.toggleLabel.innerHTML=t),this.trigger("onOpen",e),this;}handleClickOnClose(e){this.element.setAttribute("aria-expanded","false"),this.inner.classList.remove("ecl-menu__inner--expanded"),this.inner.setAttribute("aria-hidden","true"),this.items.forEach((e)=>{e.classList.remove("ecl-menu__item--expanded"),e.setAttribute("aria-expanded","false");});var t=this.element.getAttribute(this.labelOpenAttribute);return this.toggleLabel&&t&&(this.toggleLabel.innerHTML=t),this.enableScroll(),this.focusTrap.deactivate(),this.isOpen=!1,this.trigger("onClose",e),this;}handleClickOnToggle(e){e.preventDefault(),this.isOpen?this.handleClickOnClose(e):this.handleClickOnOpen(e);}handleClickOnBack(){var e;return this.inner.classList.remove("ecl-menu__inner--expanded"),this.items.forEach((e)=>{e.classList.remove("ecl-menu__item--expanded"),e.setAttribute("aria-expanded","false");}),this.backItem&&(e=v(this.caretSelector,this.backItem))&&e.focus(),this;}handleClickOnPreviousItems(){this.itemsList&&this.btnNext&&(this.offsetLeft=0,"rtl"===this.direction?(this.itemsList.style.right="0",this.itemsList.style.left="auto"):(this.itemsList.style.left="0",this.itemsList.style.right="auto"),this.btnPrevious.style.display="none",this.btnNext.style.display="block",this.items)&&this.items.forEach((e)=>{this.checkMenuItem(e),e.toggleAttribute("data-ecl-menu-item-visible");});}handleClickOnNextItems(){this.itemsList&&this.items&&this.btnPrevious&&this.lastVisibleItem&&(this.btnPrevious.style.display="block",this.btnNext.style.display="none","rtl"===this.direction?(this.offsetLeft=this.itemsList.getBoundingClientRect().right-this.lastVisibleItem.getBoundingClientRect().right-this.btnPrevious.offsetWidth,this.itemsList.style.right="-"+this.offsetLeft+"px",this.itemsList.style.left="auto"):(this.offsetLeft=this.lastVisibleItem.getBoundingClientRect().left-this.itemsList.getBoundingClientRect().left-this.btnPrevious.offsetWidth,this.itemsList.style.left="-"+this.offsetLeft+"px",this.itemsList.style.right="auto"),this.items)&&this.items.forEach((e)=>{this.checkMenuItem(e),e.toggleAttribute("data-ecl-menu-item-visible");});}handleClickOnCaret(e){var t;"false"!==this.element.getAttribute("aria-expanded")&&(this.inner.classList.add("ecl-menu__inner--expanded"),t=e.target.closest(this.itemSelector),this.items.forEach((e)=>{e===t?(e.classList.add("ecl-menu__item--expanded"),e.setAttribute("aria-expanded","true"),this.backItem=e):(e.classList.remove("ecl-menu__item--expanded"),e.setAttribute("aria-expanded","false"));}),this.checkMegaMenu(t));}handleHoverOnItem(e){var i=e.target.closest(this.itemSelector);this.hasOverflow&&!i.hasAttribute("data-ecl-menu-item-visible")||(this.items.forEach((e)=>{var t=v(this.caretSelector,e);e===i?(e.setAttribute("aria-expanded","true"),t&&t.setAttribute("aria-expanded","true")):(e.setAttribute("aria-expanded","false"),t&&(t.setAttribute("aria-expanded","false"),t.blur()));}),this.checkMegaMenu(i));}handleHoverOffItem(e){return (e=e.target.closest(this.itemSelector)).setAttribute("aria-expanded","false"),(e=v(this.caretSelector,e))&&e.setAttribute("aria-expanded","false"),this;}closeOpenDropdown(){var e=v(this.itemSelector+"[aria-expanded='true']",this.element);e&&(e.setAttribute("aria-expanded","false"),e=v(this.caretSelector,e))&&e.setAttribute("aria-expanded","false");}handleFocusIn(e){e=e.target,this.isDesktop&&this.hasOverflow&&(e.closest("[data-ecl-menu-item]").hasAttribute("data-ecl-menu-item-visible")||(0===this.offsetLeft?this.handleClickOnNextItems():this.handleClickOnPreviousItems()));}handleFocusOut(e){var t,e=e.target;"true"!==this.element.getAttribute("aria-expanded")||e.parentElement.nextSibling||(t=v(".ecl-menu__button-caret",e.parentElement))&&e!==t||(e=document.activeElement,this.element.contains(e))||this.focusTrap.activate();}handleClickGlobal(e){!this.isOpen||this.inner.contains(e.target)||this.open.contains(e.target)||this.handleClickOnClose(e);}},e.Modal=class ze{static autoInit(e,t){return t=void 0===(t=(void 0===t?{}:t).MODAL)?{}:t,(t=new ze(e,t)).init(),e.ECLModal=t;}constructor(e,t){var i=void 0===(i=(t=void 0===t?{}:t).toggleSelector)?"":i,s=void 0===(s=t.closeSelector)?"[data-ecl-modal-close]":s,n=void 0===(n=t.scrollSelector)?"[data-ecl-modal-scroll]":n,l=void 0===(l=t.attachClickListener)||l,t=void 0===(t=t.attachKeyListener)||t;if(!e||e.nodeType!==Node.ELEMENT_NODE)throw new TypeError("DOM element should be given to initialize this widget.");this.element=e,this.toggleSelector=i,this.closeSelector=s,this.scrollSelector=n,this.attachClickListener=l,this.attachKeyListener=t,this.toggle=null,this.close=null,this.scroll=null,this.focusTrap=null,this.openModal=this.openModal.bind(this),this.closeModal=this.closeModal.bind(this),this.handleClickOnToggle=this.handleClickOnToggle.bind(this),this.handleKeyboardGlobal=this.handleKeyboardGlobal.bind(this);}init(){if(!ECL)throw new TypeError("Called init but ECL is not present");ECL.components=ECL.components||new Map(),this.attachKeyListener&&document.addEventListener("keyup",this.handleKeyboardGlobal),""===this.toggleSelector&&(this.toggleSelector="#"+this.element.getAttribute("data-ecl-modal-toggle")),this.toggle=document.querySelector(this.toggleSelector),this.toggle&&(this.toggle.setAttribute("aria-controls",this.element.id),this.toggle.getAttribute("aria-haspopup")||this.toggle.setAttribute("aria-haspopup","dialog")),this.close=m(this.closeSelector,this.element),this.scroll=v(this.scrollSelector,this.element),this.focusTrap=l(this.element),this.isDialogSupported=!0,window.HTMLDialogElement||(this.isDialogSupported=!1),this.toggle&&this.attachClickListener&&this.toggle.addEventListener("click",this.handleClickOnToggle),this.close&&this.attachClickListener&&this.close.forEach((e)=>{e.addEventListener("click",this.closeModal);}),this.element.setAttribute("data-ecl-auto-initialized","true"),ECL.components.set(this.element,this);}destroy(){this.toggle&&this.attachClickListener&&this.toggle.removeEventListener("click",this.handleClickOnToggle),this.attachKeyListener&&document.removeEventListener("keyup",this.handleKeyboardGlobal),this.close&&this.attachClickListener&&this.close.forEach((e)=>{e.removeEventListener("click",this.closeModal);}),this.element.removeAttribute("data-ecl-auto-initialized"),ECL.components.delete(this.element);}checkScroll(){this.scroll&&(this.scroll.parentNode.classList.remove("ecl-modal__body--has-scroll"),this.scroll.scrollHeight>this.scroll.clientHeight)&&this.scroll.parentNode.classList.add("ecl-modal__body--has-scroll");}handleClickOnToggle(e){e.preventDefault(),"true"===this.toggle.getAttribute("aria-expanded")?this.closeModal():this.openModal();}openModal(){this.isDialogSupported?this.element.showModal():this.element.setAttribute("open",""),this.checkScroll(),this.focusTrap.activate();}closeModal(){this.isDialogSupported?this.element.close():this.element.removeAttribute("open"),this.focusTrap.active&&this.focusTrap.deactivate();}handleKeyboardGlobal(e){"Escape"!==e.key&&"Esc"!==e.key||this.closeModal();}},e.NewsTicker=class Fe{static autoInit(e,t){return t=void 0===(t=(void 0===t?{}:t).NEWS_TICKER)?{}:t,(t=new Fe(e,t)).init(),e.ECLNewsTicker=t;}constructor(e,t){var i=void 0===(i=(t=void 0===t?{}:t).playSelector)?"[data-ecl-news-ticker-play]":i,s=void 0===(s=t.pauseSelector)?"[data-ecl-news-ticker-pause]":s,n=void 0===(n=t.prevSelector)?"[data-ecl-news-ticker-prev]":n,l=void 0===(l=t.nextSelector)?"[data-ecl-news-ticker-next]":l,a=void 0===(a=t.containerClass)?".ecl-news-ticker__container":a,o=void 0===(o=t.contentClass)?".ecl-news-ticker__content":o,r=void 0===(r=t.slidesClass)?".ecl-news-ticker__slides":r,h=void 0===(h=t.slideClass)?".ecl-news-ticker__slide":h,c=void 0===(c=t.currentSlideClass)?".ecl-news-ticker__counter--current":c,d=void 0===(d=t.controlsClass)?".ecl-news-ticker__controls":d,u=void 0===(u=t.attachClickListener)||u,t=void 0===(t=t.attachResizeListener)||t;if(!e||e.nodeType!==Node.ELEMENT_NODE)throw new TypeError("DOM element should be given to initialize this widget.");this.element=e,this.playSelector=i,this.pauseSelector=s,this.prevSelector=n,this.nextSelector=l,this.containerClass=a,this.contentClass=o,this.slidesClass=r,this.slideClass=h,this.currentSlideClass=c,this.controlsClass=d,this.attachClickListener=u,this.attachResizeListener=t,this.container=null,this.content=null,this.slides=null,this.btnPlay=null,this.btnPause=null,this.btnPrev=null,this.btnNext=null,this.index=1,this.total=0,this.allowShift=!0,this.autoPlay=null,this.autoPlayInterval=null,this.hoverAutoPlay=null,this.resizeTimer=null,this.cloneFirstSLide=null,this.cloneLastSLide=null,this.handleAutoPlay=this.handleAutoPlay.bind(this),this.handleMouseOver=this.handleMouseOver.bind(this),this.handleMouseOut=this.handleMouseOut.bind(this),this.shiftSlide=this.shiftSlide.bind(this),this.checkIndex=this.checkIndex.bind(this),this.moveSlides=this.moveSlides.bind(this),this.handleResize=this.handleResize.bind(this),this.handleFocus=this.handleFocus.bind(this);}init(){var e,t;if(ECL)return ECL.components=ECL.components||new Map(),this.btnPlay=v(this.playSelector,this.element),this.btnPause=v(this.pauseSelector,this.element),this.btnPrev=v(this.prevSelector,this.element),this.btnNext=v(this.nextSelector,this.element),this.slidesContainer=v(this.slidesClass,this.element),this.container=v(this.containerClass,this.element),this.content=v(this.contentClass,this.element),this.controls=v(this.controlsClass,this.element),this.slides=m(this.slideClass,this.element),this.total=this.slides.length,this.total<=1&&this.controls?(this.content.style.height="auto",!(this.controls.style.display="none")):(e=this.slides[0],t=this.slides[this.slides.length-1],this.cloneFirstSLide=e.cloneNode(!0),this.cloneLastSLide=t.cloneNode(!0),this.slidesContainer.appendChild(this.cloneFirstSLide),this.slidesContainer.insertBefore(this.cloneLastSLide,e),this.slides=m(this.slideClass,this.element),this.handleResize(),this.handleAutoPlay(),this.attachClickListener&&this.btnPlay&&this.btnPause&&(this.btnPlay.addEventListener("click",this.handleAutoPlay),this.btnPause.addEventListener("click",this.handleAutoPlay)),this.attachClickListener&&this.btnNext&&this.btnNext.addEventListener("click",this.shiftSlide.bind(this,1,!0)),this.attachClickListener&&this.btnPrev&&this.btnPrev.addEventListener("click",this.shiftSlide.bind(this,-1,!0)),this.slidesContainer&&(this.slidesContainer.addEventListener("transitionend",this.checkIndex),this.slidesContainer.addEventListener("mouseover",this.handleMouseOver),this.slidesContainer.addEventListener("mouseout",this.handleMouseOut)),this.container&&this.container.addEventListener("focus",this.handleFocus,!0),this.attachResizeListener&&window.addEventListener("resize",this.handleResize),this.element.setAttribute("data-ecl-auto-initialized","true"),ECL.components.set(this.element,this),this);throw new TypeError("Called init but ECL is not present");}destroy(){this.cloneFirstSLide&&this.cloneLastSLide&&(this.cloneFirstSLide.remove(),this.cloneLastSLide.remove()),this.btnPlay&&this.btnPlay.replaceWith(this.btnPlay.cloneNode(!0)),this.btnPause&&this.btnPause.replaceWith(this.btnPause.cloneNode(!0)),this.btnNext&&this.btnNext.replaceWith(this.btnNext.cloneNode(!0)),this.btnPrev&&this.btnPrev.replaceWith(this.btnPrev.cloneNode(!0)),this.slidesContainer&&(this.slidesContainer.removeEventListener("transitionend",this.checkIndex),this.slidesContainer.removeEventListener("mouseover",this.handleMouseOver),this.slidesContainer.removeEventListener("mouseout",this.handleMouseOut)),this.container&&this.container.removeEventListener("focus",this.handleFocus,!0),this.attachResizeListener&&window.removeEventListener("resize",this.handleResize),this.autoPlayInterval&&(clearInterval(this.autoPlayInterval),this.autoPlay=null),this.element&&(this.element.removeAttribute("data-ecl-auto-initialized"),ECL.components.delete(this.element));}shiftSlide(e,t){this.allowShift&&(this.index=1===e?this.index+1:this.index-1,this.moveSlides(!0)),t&&this.autoPlay&&this.handleAutoPlay(),this.allowShift=!1;}moveSlides(e){var t=this.slides[this.index].offsetTop,i=this.slides[this.index].offsetHeight;this.content.style.height=i+"px",this.slidesContainer.style.transitionDuration=e?"0.4s":"1ms",this.slidesContainer.style.transform="translate3d(0px, -"+t+"px, 0px)";}checkIndex(){0===this.index&&(this.index=this.total,this.moveSlides(!1)),this.index===this.total+1&&(this.index=1,this.moveSlides(!1)),v(this.currentSlideClass,this.element).textContent=this.index,this.slides&&this.slides.forEach((e,t)=>{var i=v(".ecl-link",e);this.index===t?(e.removeAttribute("inert","true"),i&&i.removeAttribute("tabindex",-1)):(e.setAttribute("inert","true"),i&&i.setAttribute("tabindex",-1));}),this.allowShift=!0;}handleAutoPlay(){var e;this.autoPlay?(clearInterval(this.autoPlayInterval),this.autoPlay=!1,e=document.activeElement===this.btnPause,this.btnPlay.style.display="flex",this.btnPause.style.display="none",e&&this.btnPlay.focus()):(this.autoPlayInterval=setInterval(()=>{this.shiftSlide(1);},5e3),this.autoPlay=!0,e=document.activeElement===this.btnPlay,this.btnPlay.style.display="none",this.btnPause.style.display="flex",e&&this.btnPause.focus());}handleMouseOver(){return this.hoverAutoPlay=this.autoPlay,this.hoverAutoPlay&&this.handleAutoPlay(),this;}handleMouseOut(){return this.hoverAutoPlay&&this.handleAutoPlay(),this;}handleResize(){this.moveSlides(!1);}handleFocus(e){return (e=e.target)&&e.contains(document.activeElement)&&this.autoPlay&&this.handleAutoPlay(),this;}},e.Notification=class Ke{static autoInit(e,t){return t=void 0===(t=(void 0===t?{}:t).NOTIFICATION)?{}:t,(t=new Ke(e,t)).init(),e.ECLNotification=t;}constructor(e,t){var i=void 0===(i=(t=void 0===t?{}:t).closeSelector)?"[data-ecl-notification-close]":i,t=void 0===(t=t.attachClickListener)||t;if(!e||e.nodeType!==Node.ELEMENT_NODE)throw new TypeError("DOM element should be given to initialize this widget.");this.element=e,this.closeSelector=i,this.attachClickListener=t,this.close=null,this.handleClickOnClose=this.handleClickOnClose.bind(this);}init(){if(!ECL)throw new TypeError("Called init but ECL is not present");ECL.components=ECL.components||new Map(),this.close=v(this.closeSelector,this.element),this.attachClickListener&&this.close&&this.close.addEventListener("click",this.handleClickOnClose),this.element.setAttribute("data-ecl-auto-initialized","true"),ECL.components.set(this.element,this);}destroy(){this.attachClickListener&&this.close&&this.close.removeEventListener("click",this.handleClickOnClose),this.element&&(this.element.removeAttribute("data-ecl-auto-initialized"),ECL.components.delete(this.element));}handleClickOnClose(){return this.element.parentNode&&this.element.parentNode.removeChild(this.element),this;}},e.Popover=class He{static autoInit(e,t){return t=void 0===(t=(void 0===t?{}:t).POPOVER)?{}:t,(t=new He(e,t)).init(),e.ECLPopover=t;}constructor(e,t){var i=void 0===(i=(t=void 0===t?{}:t).toggleSelector)?"[data-ecl-popover-toggle]":i,s=void 0===(s=t.closeSelector)?"[data-ecl-popover-close]":s,n=void 0===(n=t.attachClickListener)||n,t=void 0===(t=t.attachKeyListener)||t;if(!e||e.nodeType!==Node.ELEMENT_NODE)throw new TypeError("DOM element should be given to initialize this widget.");this.element=e,this.toggleSelector=i,this.closeSelector=s,this.attachClickListener=n,this.attachKeyListener=t,this.toggle=null,this.close=null,this.target=null,this.container=null,this.resizeTimer=null,this.openPopover=this.openPopover.bind(this),this.closePopover=this.closePopover.bind(this),this.positionPopover=this.positionPopover.bind(this),this.handleClickOnToggle=this.handleClickOnToggle.bind(this),this.handleKeyboardGlobal=this.handleKeyboardGlobal.bind(this),this.handleClickGlobal=this.handleClickGlobal.bind(this),this.checkPosition=this.checkPosition.bind(this),this.resetStyles=this.resetStyles.bind(this),this.POPOVER_CLASSES={TOP:"ecl-popover--top",BOTTOM:"ecl-popover--bottom",LEFT:"ecl-popover--left",RIGHT:"ecl-popover--right",PUSH_TOP:"ecl-popover--push-top",PUSH_BOTTOM:"ecl-popover--push-bottom",PUSH_LEFT:"ecl-popover--push-left",PUSH_RIGHT:"ecl-popover--push-right"};}init(){if(!ECL)throw new TypeError("Called init but ECL is not present");if(ECL.components=ECL.components||new Map(),this.toggle=v(this.toggleSelector,this.element),this.close=v(this.closeSelector,this.element),this.container=v(".ecl-popover__container",this.element),this.attachKeyListener&&document.addEventListener("keyup",this.handleKeyboardGlobal),this.attachClickListener&&(document.addEventListener("click",this.handleClickGlobal),this.close)&&this.close.addEventListener("click",this.handleClickOnToggle),this.target=document.querySelector("#"+this.toggle.getAttribute("aria-controls")),!this.target)throw new TypeError("Target has to be provided for popover (aria-controls)");window.addEventListener("resize",this.checkPosition),document.addEventListener("scroll",this.checkPosition),this.attachClickListener&&this.toggle&&this.toggle.addEventListener("click",this.handleClickOnToggle),this.element.setAttribute("data-ecl-auto-initialized","true"),ECL.components.set(this.element,this);}destroy(){this.attachClickListener&&this.toggle&&this.toggle.removeEventListener("click",this.handleClickOnToggle),this.attachClickListener&&this.close&&this.close.removeEventListener("click",this.handleClickOnToggle),window.removeEventListener("resize",this.checkPosition),document.removeEventListener("scroll",this.checkPosition),this.attachKeyListener&&document.removeEventListener("keyup",this.handleKeyboardGlobal),this.attachClickListener&&document.removeEventListener("click",this.handleClickGlobal),"true"===this.toggle.getAttribute("aria-expanded")&&this.closePopover(),this.element&&(this.element.removeAttribute("data-ecl-auto-initialized"),ECL.components.delete(this.element));}handleClickOnToggle(e){e.preventDefault(),"true"===this.toggle.getAttribute("aria-expanded")?this.closePopover():(this.openPopover(),this.positionPopover());}openPopover(){this.toggle.setAttribute("aria-expanded","true"),this.target.hidden=!1;}closePopover(){this.toggle.setAttribute("aria-expanded","false"),this.resetStyles(),this.target.hidden=!0;}resetStyles(){Object.keys(this.POPOVER_CLASSES).forEach((e)=>{Object.prototype.hasOwnProperty.call(this.POPOVER_CLASSES,e)&&this.element.classList.remove(this.POPOVER_CLASSES[e]);}),this.target.style.setProperty("--ecl-popover-position",""),this.container.style.left="",this.container.style.right="",this.container.style.top="",this.container.style.bottom="",this.container.style.transform="",this.target.firstElementChild.width="";}positionPopover(){this.resetStyles();var e=this.toggle.getBoundingClientRect(),t=window.innerHeight,i=window.innerWidth,s=e.top,n=t-e.bottom,l=e.left,e=i-e.right,a="",a=n<s&&l<s&&e<s?"top":l<n&&e<n?"bottom":e<l?"left":"right",s=(this.element.classList.add("ecl-popover--"+a),this.handlePushClass(i,t,a),this.target.firstElementChild),n=window.getComputedStyle(s),t=parseInt(n.getPropertyValue("max-width"),10),o=parseInt(n.getPropertyValue("min-width"),10),n=2*parseInt(n.getPropertyValue("padding-left"),10),r="";r="left"===a||"right"===a?.9*("left"===a?l:e):.9*(i-(this.toggle.getBoundingClientRect().right-this.toggle.getBoundingClientRect().left)/2+this.target.offsetWidth/2),s.style.width=t+n<r?t+"px":r<o+n?o+"px":r-n+"px";}handlePushClass(e,t,i){var s=this.toggle.getBoundingClientRect(),n=this.target.getBoundingClientRect();"left"===i||"right"===i?n.top<0?(this.element.classList.add(this.POPOVER_CLASSES.PUSH_TOP),this.container.style.top="-"+Math.round(s.top)+"px",this.container.style.bottom="",this.container.style.transform=""):n.bottom>t&&(this.element.classList.add(this.POPOVER_CLASSES.PUSH_BOTTOM),this.container.style.bottom="-"+Math.round(t-(s.bottom+8))+"px",this.container.style.top="",this.container.style.transform=""):(n.left<0&&(this.element.classList.add(this.POPOVER_CLASSES.PUSH_LEFT),this.container.style.left="-"+s.left+"px",this.container.style.right="auto",this.container.style.transform="none"),n.right>e&&(this.element.classList.add(this.POPOVER_CLASSES.PUSH_RIGHT),this.container.style.right="-"+(e-s.right)+"px",this.container.style.left="auto",this.container.style.transform="none")),this.handleArrowPosition(i);}handleArrowPosition(e){var t=this.toggle.getBoundingClientRect(),i=this.target.getBoundingClientRect();"left"===e||"right"===e?this.element.classList.contains(this.POPOVER_CLASSES.PUSH_BOTTOM)?this.target.style.setProperty("--ecl-popover-position",Math.round(t.top-i.top+t.height/2)+"px"):this.element.classList.contains(this.POPOVER_CLASSES.PUSH_TOP)&&this.target.style.setProperty("--ecl-popover-position",Math.round(i.top+t.top+t.height/2)+"px"):this.element.classList.contains(this.POPOVER_CLASSES.PUSH_RIGHT)?this.target.style.setProperty("--ecl-popover-position",Math.round(i.right-(t.right-t.width/2))+"px"):this.element.classList.contains(this.POPOVER_CLASSES.PUSH_LEFT)&&this.target.style.setProperty("--ecl-popover-position",Math.round(i.left+t.left+t.width/2)+"px");}checkPosition(){clearTimeout(this.resizeTimer),this.resizeTimer=setTimeout(()=>{"true"===this.toggle.getAttribute("aria-expanded")&&this.positionPopover();},200);}handleKeyboardGlobal(e){!this.target||"Escape"!==e.key&&"Esc"!==e.key||this.closePopover();}handleClickGlobal(e){!this.target||"true"!==this.toggle.getAttribute("aria-expanded")||this.target.contains(e.target)||this.toggle.contains(e.target)||this.closePopover();}},e.Range=class Ge{static autoInit(e,t){return t=void 0===(t=(void 0===t?{}:t).RANGE)?{}:t,(t=new Ge(e,t)).init(),e.ECLRange=t;}constructor(e,t){var i=void 0===(i=(t=void 0===t?{}:t).rangeInputSelector)?"[data-ecl-range-input]":i,s=void 0===(s=t.currentValueSelector)?"[data-ecl-range-value-current]":s,t=void 0===(t=t.attachChangeListener)||t;if(!e||e.nodeType!==Node.ELEMENT_NODE)throw new TypeError("DOM element should be given to initialize this widget.");this.element=e,this.rangeInputSelector=i,this.currentValueSelector=s,this.attachChangeListener=t,this.rangeInput=null,this.currentValue=null,this.handleChange=this.handleChange.bind(this);}init(){if(!ECL)throw new TypeError("Called init but ECL is not present");ECL.components=ECL.components||new Map(),this.rangeInput=v(this.rangeInputSelector,this.element),this.currentValue=v(this.currentValueSelector,this.element),this.rangeInput&&this.currentValue&&(this.currentValue.innerHTML=this.rangeInput.value,this.attachChangeListener)&&this.rangeInput.addEventListener("input",this.handleChange),this.element.setAttribute("data-ecl-auto-initialized","true"),ECL.components.set(this.element,this);}destroy(){this.attachChangeListener&&this.rangeInput&&this.currentValue&&this.rangeInput.removeEventListener("input",this.handleChange),this.element&&(this.element.removeAttribute("data-ecl-auto-initialized"),ECL.components.delete(this.element));}handleChange(){this.currentValue.innerHTML=this.rangeInput.value;}},e.Select=N,e.SiteHeader=class Ve{static autoInit(e,t){return t=void 0===(t=(void 0===t?{}:t).SITE_HEADER_CORE)?{}:t,(t=new Ve(e,t)).init(),e.ECLSiteHeader=t;}constructor(e,t){var i=void 0===(i=(t=void 0===t?{}:t).containerSelector)?"[data-ecl-site-header-top]":i,s=void 0===(s=t.languageLinkSelector)?"[data-ecl-language-selector]":s,n=void 0===(n=t.languageListOverlaySelector)?"[data-ecl-language-list-overlay]":n,l=void 0===(l=t.languageListEuSelector)?"[data-ecl-language-list-eu]":l,a=void 0===(a=t.languageListNonEuSelector)?"[data-ecl-language-list-non-eu]":a,o=void 0===(o=t.closeOverlaySelector)?"[data-ecl-language-list-close]":o,r=void 0===(r=t.searchToggleSelector)?"[data-ecl-search-toggle]":r,h=void 0===(h=t.searchFormSelector)?"[data-ecl-search-form]":h,c=void 0===(c=t.loginToggleSelector)?"[data-ecl-login-toggle]":c,d=void 0===(d=t.loginBoxSelector)?"[data-ecl-login-box]":d,u=void 0===(u=t.attachClickListener)||u,m=void 0===(m=t.attachKeyListener)||m,t=void 0===(t=t.attachResizeListener)||t;if(!e||e.nodeType!==Node.ELEMENT_NODE)throw new TypeError("DOM element should be given to initialize this widget.");this.element=e,this.containerSelector=i,this.languageLinkSelector=s,this.languageListOverlaySelector=n,this.languageListEuSelector=l,this.languageListNonEuSelector=a,this.closeOverlaySelector=o,this.searchToggleSelector=r,this.searchFormSelector=h,this.loginToggleSelector=c,this.loginBoxSelector=d,this.attachClickListener=u,this.attachKeyListener=m,this.attachResizeListener=t,this.languageMaxColumnItems=8,this.languageLink=null,this.languageListOverlay=null,this.languageListEu=null,this.languageListNonEu=null,this.close=null,this.focusTrap=null,this.searchToggle=null,this.searchForm=null,this.loginToggle=null,this.loginBox=null,this.resizeTimer=null,this.openOverlay=this.openOverlay.bind(this),this.closeOverlay=this.closeOverlay.bind(this),this.toggleOverlay=this.toggleOverlay.bind(this),this.toggleSearch=this.toggleSearch.bind(this),this.toggleLogin=this.toggleLogin.bind(this),this.setLoginArrow=this.setLoginArrow.bind(this),this.setSearchArrow=this.setSearchArrow.bind(this),this.handleKeyboardLanguage=this.handleKeyboardLanguage.bind(this),this.handleKeyboardGlobal=this.handleKeyboardGlobal.bind(this),this.handleClickGlobal=this.handleClickGlobal.bind(this),this.handleResize=this.handleResize.bind(this);}init(){if(!ECL)throw new TypeError("Called init but ECL is not present");ECL.components=ECL.components||new Map(),this.arrowSize="0.5rem",this.attachKeyListener&&document.addEventListener("keyup",this.handleKeyboardGlobal),this.attachClickListener&&document.addEventListener("click",this.handleClickGlobal),this.attachResizeListener&&window.addEventListener("resize",this.handleResize),this.container=v(this.containerSelector),this.languageLink=v(this.languageLinkSelector),this.languageListOverlay=v(this.languageListOverlaySelector),this.languageListEu=v(this.languageListEuSelector),this.languageListNonEu=v(this.languageListNonEuSelector),this.close=v(this.closeOverlaySelector),this.focusTrap=l(this.languageListOverlay,{onDeactivate:this.closeOverlay,allowOutsideClick:!0}),this.attachClickListener&&this.languageLink&&this.languageLink.addEventListener("click",this.toggleOverlay),this.attachClickListener&&this.close&&this.close.addEventListener("click",this.toggleOverlay),this.attachKeyListener&&this.languageLink&&this.languageLink.addEventListener("keydown",this.handleKeyboardLanguage),this.searchToggle=v(this.searchToggleSelector),this.searchForm=v(this.searchFormSelector),this.attachClickListener&&this.searchToggle&&this.searchToggle.addEventListener("click",this.toggleSearch),this.loginToggle=v(this.loginToggleSelector),this.loginBox=v(this.loginBoxSelector),this.attachClickListener&&this.loginToggle&&this.loginToggle.addEventListener("click",this.toggleLogin),this.element.setAttribute("data-ecl-auto-initialized","true"),ECL.components.set(this.element,this);}destroy(){this.attachClickListener&&this.languageLink&&this.languageLink.removeEventListener("click",this.toggleOverlay),this.focusTrap&&this.focusTrap.deactivate(),this.attachKeyListener&&this.languageLink&&this.languageLink.removeEventListener("keydown",this.handleKeyboardLanguage),this.attachClickListener&&this.close&&this.close.removeEventListener("click",this.toggleOverlay),this.attachClickListener&&this.searchToggle&&this.searchToggle.removeEventListener("click",this.toggleSearch),this.attachClickListener&&this.loginToggle&&this.loginToggle.removeEventListener("click",this.toggleLogin),this.attachKeyListener&&document.removeEventListener("keyup",this.handleKeyboardGlobal),this.attachClickListener&&document.removeEventListener("click",this.handleClickGlobal),this.attachResizeListener&&window.removeEventListener("resize",this.handleResize),this.element&&(this.element.removeAttribute("data-ecl-auto-initialized"),ECL.components.delete(this.element));}updateOverlay(){var e=1,t=1,i=(this.languageListEu&&(i=m(".ecl-site-header__language-item",this.languageListEu),1<(e=Math.ceil(i.length/this.languageMaxColumnItems)))&&this.languageListEu.classList.add("ecl-site-header__language-category--"+e+"-col"),this.languageListNonEu&&(i=m(".ecl-site-header__language-item",this.languageListNonEu),1<(t=Math.ceil(i.length/this.languageMaxColumnItems)))&&this.languageListNonEu.classList.add("ecl-site-header__language-category--"+t+"-col"),this.languageListEu?this.languageListEu.parentNode.classList.remove("ecl-site-header__language-content--stack"):this.languageListNonEu&&this.languageListNonEu.parentNode.classList.remove("ecl-site-header__language-content--stack"),this.languageListOverlay.getBoundingClientRect()),s=this.container.getBoundingClientRect(),e=(i.width>s.width&&(this.languageListEu?this.languageListEu.parentNode.classList.add("ecl-site-header__language-content--stack"):this.languageListNonEu&&this.languageListNonEu.parentNode.classList.add("ecl-site-header__language-content--stack"),this.languageListNonEu)&&(this.languageListNonEu.classList.remove("ecl-site-header__language-category--"+t+"-col"),this.languageListNonEu.classList.add("ecl-site-header__language-category--"+Math.max(e,t)+"-col")),this.languageListOverlay.classList.remove("ecl-site-header__language-container--push-right"),this.languageListOverlay.classList.remove("ecl-site-header__language-container--full"),this.languageListOverlay.style.removeProperty("--ecl-language-arrow-position"),this.languageListOverlay.style.removeProperty("right"),i=this.languageListOverlay.getBoundingClientRect(),window.innerWidth);i.right>e&&(t=this.languageLink.getBoundingClientRect(),this.languageListOverlay.classList.add("ecl-site-header__language-container--push-right"),this.languageListOverlay.style.setProperty("right","-"+(s.right-t.right)+"px"),e=s.right-t.right+t.width/2,this.languageListOverlay.style.setProperty("--ecl-language-arrow-position","calc("+e+"px - "+this.arrowSize+")")),0===i.left&&(s=this.languageLink.getBoundingClientRect(),this.languageListOverlay.classList.add("ecl-site-header__language-container--full"),this.languageListOverlay.style.removeProperty("right"),t=i.right-s.right+s.width/2,this.languageListOverlay.style.setProperty("--ecl-language-arrow-position","calc("+t+"px - "+this.arrowSize+")")),this.loginBox&&this.loginBox.classList.contains("ecl-site-header__login-box--active")&&this.setLoginArrow(),this.searchForm&&this.searchForm.classList.contains("ecl-site-header__search--active")&&this.setSearchArrow();}openOverlay(){this.languageListOverlay.hidden=!1,this.languageListOverlay.setAttribute("aria-modal","true"),this.languageLink.setAttribute("aria-expanded","true");}closeOverlay(){this.languageListOverlay.hidden=!0,this.languageListOverlay.removeAttribute("aria-modal"),this.languageLink.setAttribute("aria-expanded","false");}toggleOverlay(e){this.languageListOverlay&&this.focusTrap&&(e.preventDefault(),this.languageListOverlay.hasAttribute("hidden")?(this.openOverlay(),this.updateOverlay(),this.focusTrap.activate()):this.focusTrap.deactivate());}handleResize(){this.languageListOverlay&&!this.languageListOverlay.hasAttribute("hidden")&&(this.loginBox&&this.loginBox.classList.contains("ecl-site-header__login-box--active")||this.searchForm&&this.searchForm.classList.contains("ecl-site-header__search--active"))&&(clearTimeout(this.resizeTimer),this.resizeTimer=setTimeout(()=>{this.updateOverlay();},200));}handleKeyboardLanguage(e){32!==e.keyCode&&"Enter"!==e.key||this.toggleOverlay(e);}toggleSearch(e){var t;this.searchForm&&(e.preventDefault(),t="true"===this.searchToggle.getAttribute("aria-expanded"),this.loginToggle&&"true"===this.loginToggle.getAttribute("aria-expanded")&&this.toggleLogin(e),this.searchToggle.setAttribute("aria-expanded",t?"false":"true"),t?this.searchForm.classList.remove("ecl-site-header__search--active"):(this.searchForm.classList.add("ecl-site-header__search--active"),this.setSearchArrow()));}setLoginArrow(){var e;0===this.loginBox.getBoundingClientRect().x&&(e=this.loginToggle.getBoundingClientRect(),e=window.innerWidth-e.right+e.width/2,this.loginBox.style.setProperty("--ecl-login-arrow-position","calc("+e+"px - "+this.arrowSize+")"));}setSearchArrow(){var e;0===this.searchForm.getBoundingClientRect().x&&(e=this.searchToggle.getBoundingClientRect(),e=window.innerWidth-e.right+e.width/2,this.searchForm.style.setProperty("--ecl-search-arrow-position","calc("+e+"px - "+this.arrowSize+")"));}toggleLogin(e){var t;this.loginBox&&(e.preventDefault(),t="true"===this.loginToggle.getAttribute("aria-expanded"),this.searchToggle&&"true"===this.searchToggle.getAttribute("aria-expanded")&&this.toggleSearch(e),this.loginToggle.setAttribute("aria-expanded",t?"false":"true"),t?this.loginBox.classList.remove("ecl-site-header__login-box--active"):(this.loginBox.classList.add("ecl-site-header__login-box--active"),this.setLoginArrow()));}handleKeyboardGlobal(e){var t;this.languageLink&&(t=this.languageLink.getAttribute("aria-expanded"),"Escape"!==e.key&&"Esc"!==e.key||"true"===t&&this.toggleOverlay(e));}handleClickGlobal(e){var t,i,s;(this.languageLink||this.searchToggle||this.loginToggle)&&(t=this.languageLink&&this.languageLink.getAttribute("aria-expanded"),i=this.loginToggle&&"true"===this.loginToggle.getAttribute("aria-expanded"),s=this.searchToggle&&"true"===this.searchToggle.getAttribute("aria-expanded"),"true"!==t||this.languageListOverlay.contains(e.target)||this.languageLink.contains(e.target)||this.toggleOverlay(e),!i||this.loginBox.contains(e.target)||this.loginToggle.contains(e.target)||this.toggleLogin(e),!s||this.searchForm.contains(e.target)||this.searchToggle.contains(e.target)||this.toggleSearch(e));}},e.Table=D,e.Tabs=class We{static autoInit(e,t){return t=void 0===(t=(void 0===t?{}:t).TABS)?{}:t,(t=new We(e,t)).init(),e.ECLTabs=t;}constructor(e,t){var i=void 0===(i=(t=void 0===t?{}:t).containerSelector)?".ecl-tabs__container":i,s=void 0===(s=t.listSelector)?".ecl-tabs__list":s,n=void 0===(n=t.listItemsSelector)?".ecl-tabs__item:not(.ecl-tabs__item--more)":n,l=void 0===(l=t.moreItemSelector)?".ecl-tabs__item--more":l,a=void 0===(a=t.moreButtonSelector)?".ecl-tabs__toggle":a,o=void 0===(o=t.moreLabelSelector)?".ecl-tabs__toggle .ecl-button__label":o,r=void 0===(r=t.prevSelector)?".ecl-tabs__prev":r,h=void 0===(h=t.nextSelector)?".ecl-tabs__next":h,c=void 0===(c=t.attachClickListener)||c,t=void 0===(t=t.attachResizeListener)||t;if(this.supportedEvents=["onToggle"],!e||e.nodeType!==Node.ELEMENT_NODE)throw new TypeError("DOM element should be given to initialize this widget.");this.element=e,this.eventManager=new w(),this.containerSelector=i,this.listSelector=s,this.listItemsSelector=n,this.moreItemSelector=l,this.moreButtonSelector=a,this.moreLabelSelector=o,this.prevSelector=r,this.nextSelector=h,this.attachClickListener=c,this.attachResizeListener=t,this.container=null,this.list=null,this.listItems=null,this.moreItem=null,this.moreButton=null,this.moreButtonActive=!1,this.moreLabel=null,this.moreLabelValue=null,this.dropdown=null,this.dropdownList=null,this.dropdownItems=null,this.allowShift=!0,this.buttonNextSize=0,this.index=0,this.total=0,this.tabsKey=[],this.firstTab=null,this.lastTab=null,this.direction="ltr",this.isMobile=!1,this.handleClickOnToggle=this.handleClickOnToggle.bind(this),this.handleResize=this.handleResize.bind(this),this.closeMoreDropdown=this.closeMoreDropdown.bind(this),this.shiftTabs=this.shiftTabs.bind(this),this.handleKeyboardOnTabs=this.handleKeyboardOnTabs.bind(this),this.moveFocus=this.moveFocus.bind(this),this.arrowFocusToTab=this.arrowFocusToTab.bind(this),this.tabsKeyEvents=this.tabsKeyEvents.bind(this);}init(){if(!ECL)throw new TypeError("Called init but ECL is not present");ECL.components=ECL.components||new Map(),this.container=v(this.containerSelector,this.element),this.list=v(this.listSelector,this.element),this.listItems=m(this.listItemsSelector,this.element),this.moreItem=v(this.moreItemSelector,this.element),this.moreButton=v(this.moreButtonSelector,this.element),this.moreLabel=v(this.moreLabelSelector,this.element),this.moreLabelValue=this.moreLabel.innerText,this.btnPrev=v(this.prevSelector,this.element),this.btnNext=v(this.nextSelector,this.element),this.total=this.listItems.length,this.moreButton&&(this.dropdown=document.createElement("div"),this.dropdown.classList.add("ecl-tabs__dropdown"),this.dropdownList=document.createElement("div"),this.dropdownList.classList.add("ecl-tabs__dropdown-list"),this.listItems.forEach((e)=>{this.dropdownList.appendChild(e.cloneNode(!0));}),this.dropdown.appendChild(this.dropdownList),this.moreItem.appendChild(this.dropdown),this.dropdownItems=m(".ecl-tabs__dropdown .ecl-tabs__item",this.element)),this.btnNext&&(this.buttonNextSize=this.btnNext.getBoundingClientRect().width),this.handleResize(),this.attachClickListener&&this.moreButton&&this.moreButton.addEventListener("click",this.handleClickOnToggle),this.attachClickListener&&document&&this.moreButton&&document.addEventListener("click",this.closeMoreDropdown),this.attachClickListener&&this.btnNext&&this.btnNext.addEventListener("click",this.shiftTabs.bind(this,"next",!0)),this.attachClickListener&&this.btnPrev&&this.btnPrev.addEventListener("click",this.shiftTabs.bind(this,"prev",!0)),this.attachResizeListener&&window.addEventListener("resize",this.handleResize),this.element.setAttribute("data-ecl-auto-initialized","true"),ECL.components.set(this.element,this);}on(e,t){this.eventManager.on(e,t);}trigger(e,t){this.eventManager.trigger(e,t);}destroy(){this.dropdown&&this.dropdown.remove(),this.moreButton&&(this.moreLabel.textContent=this.moreLabelValue,this.moreButton.replaceWith(this.moreButton.cloneNode(!0))),this.btnNext&&this.btnNext.replaceWith(this.btnNext.cloneNode(!0)),this.btnPrev&&this.btnPrev.replaceWith(this.btnPrev.cloneNode(!0)),this.attachClickListener&&document&&this.moreButton&&document.removeEventListener("click",this.closeMoreDropdown),this.attachResizeListener&&window.removeEventListener("resize",this.handleResize),this.tabsKey&&this.tabsKey.forEach((e)=>{e.addEventListener("keydown",this.handleKeyboardOnTabs);}),this.element&&(this.element.removeAttribute("data-ecl-auto-initialized"),ECL.components.delete(this.element));}shiftTabs(e){this.index="next"===e?this.index+1:this.index-1,1<=this.index?(this.btnPrev.style.display="block",this.container.classList.add("ecl-tabs__container--left")):(this.btnPrev.style.display="none",this.container.classList.remove("ecl-tabs__container--left")),this.index>=this.total-1?(this.btnNext.style.display="none",this.container.classList.remove("ecl-tabs__container--right")):(this.btnNext.style.display="block",this.container.classList.add("ecl-tabs__container--right"));var e=0,t=(this.direction=getComputedStyle(this.element).direction,e="rtl"===this.direction?Math.ceil(this.list.offsetWidth-this.listItems[this.index].offsetLeft-this.listItems[this.index].offsetWidth):Math.ceil(this.listItems[this.index].offsetLeft),Math.ceil(this.list.getBoundingClientRect().width-this.element.getBoundingClientRect().width));t<e&&(this.btnNext.style.display="none",this.container.classList.remove("ecl-tabs__container--right"),e=t),this.list.style.transitionDuration="0.4s","rtl"===this.direction?this.list.style.transform="translate3d("+e+"px, 0px, 0px)":this.list.style.transform="translate3d(-"+e+"px, 0px, 0px)";}handleClickOnToggle(e){this.dropdown.classList.toggle("ecl-tabs__dropdown--show"),this.moreButton.setAttribute("aria-expanded",this.dropdown.classList.contains("ecl-tabs__dropdown--show")),this.trigger("onToggle",e);}set onToggle(e){this.onToggleCallback=e;}get onToggle(){return this.onToggleCallback;}handleResize(){var t,i,s,n;"none"===window.getComputedStyle(this.moreButton).display&&this.closeMoreDropdown(this),this.list.style.transform="translate3d(0px, 0px, 0px)",Math.max(document.documentElement.clientWidth||0,window.innerWidth||0)<=480?(this.isMobile=!0,this.index=1,this.list.style.transitionDuration="0.4s",this.shiftTabs(this.index),this.moreItem&&this.moreItem.classList.add("ecl-tabs__item--hidden"),this.moreButton&&this.moreButton.classList.add("ecl-tabs__toggle--hidden"),t=0,this.listItems.forEach((e)=>{e.classList.remove("ecl-tabs__item--hidden"),t+=Math.ceil(e.getBoundingClientRect().width);}),this.list.style.width=t+"px",this.btnNext.style.display="block",this.container.classList.add("ecl-tabs__container--right"),this.btnPrev.style.display="none",this.container.classList.remove("ecl-tabs__container--left")):(this.isMobile=!1,this.btnNext.style.display="none",this.container.classList.remove("ecl-tabs__container--right"),this.btnPrev.style.display="none",this.container.classList.remove("ecl-tabs__container--left"),this.list.style.width="auto",i=this.moreButton.getBoundingClientRect().width+25,s=[],n=this.list.getBoundingClientRect().width,this.moreButtonActive=!1,this.listItems.forEach((e,t)=>{e.classList.remove("ecl-tabs__item--hidden"),n>=i+e.getBoundingClientRect().width&&!s.includes(t-1)?i+=e.getBoundingClientRect().width:(e.classList.add("ecl-tabs__item--hidden"),e.childNodes[0].classList.contains("ecl-tabs__link--active")&&(this.moreButtonActive=!0),s.push(t));}),this.moreButtonActive?this.moreButton.classList.add("ecl-tabs__toggle--active"):this.moreButton.classList.remove("ecl-tabs__toggle--active"),s.length?(this.moreItem.classList.remove("ecl-tabs__item--hidden"),this.moreButton.classList.remove("ecl-tabs__toggle--hidden"),this.moreLabel.textContent=this.moreLabelValue.replace("%d",s.length),this.dropdownItems.forEach((e,t)=>{s.includes(t)?e.classList.remove("ecl-tabs__item--hidden"):e.classList.add("ecl-tabs__item--hidden");})):(this.moreItem.classList.add("ecl-tabs__item--hidden"),this.moreButton.classList.add("ecl-tabs__toggle--hidden"))),this.tabsKeyEvents();}tabsKeyEvents(){this.tabsKey=[],this.listItems.forEach((e,t,i)=>{var s,n=null;(n=e.classList.contains("ecl-tabs__item--hidden")?(s=this.dropdownItems[t],v(".ecl-tabs__link",s)):v(".ecl-tabs__link",e)).addEventListener("keydown",this.handleKeyboardOnTabs),this.tabsKey.push(n),0===t&&(this.firstTab=n),t===i.length-1&&(this.lastTab=n);});}closeMoreDropdown(e){for(var t=e.target;t;){if(t===this.moreButton)return;t=t.parentNode;}this.moreButton.setAttribute("aria-expanded",!1),this.dropdown.classList.remove("ecl-tabs__dropdown--show");}handleKeyboardOnTabs(e){var t=e.currentTarget;switch(e.key){case "ArrowLeft":case "ArrowUp":this.arrowFocusToTab(t,"prev");break;case "ArrowRight":case "ArrowDown":this.arrowFocusToTab(t,"next");break;case "Home":this.moveFocus(this.firstTab);break;case "End":this.moveFocus(this.lastTab);}}moveFocus(e){e.closest(".ecl-tabs__dropdown")?(this.moreButton.setAttribute("aria-expanded",!0),this.dropdown.classList.add("ecl-tabs__dropdown--show")):(this.moreButton.setAttribute("aria-expanded",!1),this.dropdown.classList.remove("ecl-tabs__dropdown--show")),e.focus();}arrowFocusToTab(e,t){var i=this.tabsKey.indexOf(e),i="next"===t?i+1:i-1,s="next"===t?this.firstTab:this.lastTab,n="next"===t?this.lastTab:this.firstTab;this.isMobile?e!==n&&(this.moveFocus(this.tabsKey[i]),this.shiftTabs(t)):e===n?this.moveFocus(s):this.moveFocus(this.tabsKey[i]);}},e.Timeline=class Ue{static autoInit(e,t){return t=void 0===(t=(void 0===t?{}:t).TIMELINE)?{}:t,(t=new Ue(e,t)).init(),e.ECLTimeline=t;}constructor(e,t){var i=void 0===(i=(t=void 0===t?{}:t).buttonSelector)?"[data-ecl-timeline-button]":i,s=void 0===(s=t.labelSelector)?"[data-ecl-label]":s,n=void 0===(n=t.labelExpanded)?"data-ecl-label-expanded":n,l=void 0===(l=t.labelCollapsed)?"data-ecl-label-collapsed":l,t=void 0===(t=t.attachClickListener)||t;if(!e||e.nodeType!==Node.ELEMENT_NODE)throw new TypeError("DOM element should be given to initialize this widget.");this.element=e,this.buttonSelector=i,this.labelSelector=s,this.labelExpanded=n,this.labelCollapsed=l,this.attachClickListener=t,this.button=null,this.label=null,this.handleClickOnButton=this.handleClickOnButton.bind(this);}init(){if(!ECL)throw new TypeError("Called init but ECL is not present");ECL.components=ECL.components||new Map(),this.button=v(this.buttonSelector,this.element),this.label=v(this.labelSelector,this.element),this.attachClickListener&&this.button&&this.button.addEventListener("click",this.handleClickOnButton),this.element.setAttribute("data-ecl-auto-initialized","true"),ECL.components.set(this.element,this);}destroy(){this.attachClickListener&&this.button&&this.button.removeEventListener("click",this.handleClickOnButton),this.element&&(this.element.removeAttribute("data-ecl-auto-initialized"),ECL.components.delete(this.element));}handleClickOnButton(){var e="true"===this.button.getAttribute("aria-expanded");return this.button.setAttribute("aria-expanded",e?"false":"true"),e?(this.element.removeAttribute("data-ecl-timeline-expanded"),this.button.blur(),this.button.focus()):this.element.setAttribute("data-ecl-timeline-expanded","true"),this.label&&!e&&this.button.hasAttribute(this.labelExpanded)?this.label.innerHTML=this.button.getAttribute(this.labelExpanded):this.label&&e&&this.button.hasAttribute(this.labelCollapsed)&&(this.label.innerHTML=this.button.getAttribute(this.labelCollapsed)),this;}},e.autoInit=function(e){var t,i,e=void 0===e?{}:e,s=e.root,s=void 0===s?document:s,n=function(e,t){if(null==e)return {};var i,s={};for(i in e)if({}.hasOwnProperty.call(e,i)){if(0<=t.indexOf(i))continue;s[i]=e[i];}return s;}(e,F);if(ECL)return t=m("[data-ecl-auto-init]",s),(i=()=>{t.filter((e)=>"true"!==e.getAttribute("data-ecl-auto-initialized")).forEach((e)=>{var t=e.getAttribute("data-ecl-auto-init");if(!t)throw new TypeError("(ecl-auto-init) "+t+" data-ecl-auto-init is empty");var i=ECL[t];if("function"!=typeof i)throw new TypeError("(ecl-auto-init) Could not find '"+t+"'");if("function"!=typeof i.autoInit)throw new TypeError("(ecl-auto-init) Could not find autoInit for '"+t+"'");i.autoInit(e,n);});})(),{update:()=>i(),destroy:()=>{ECL.components&&ECL.components.forEach((e,t)=>{e.destroy&&(e.destroy(),ECL.components.delete(t));});}};throw new TypeError("Called autoInit but ECL is not present");},e;}({});;
(function(ECL,Drupal){Drupal.behaviors.eclAutoInit={attach:function attach(){window.ECL.autoInit();}};})(ECL,Drupal);;
