PageSourceSearch

https://www.volkswagenstiftung.de/sites/default/files/js/js_tsn8c-…YVd5I7bsrqMxGhWeyyf-OuynOVhObA88i26OL-yDQtg

js volkswagenstiftung.de collected 2026-10-01 10:24:05 UTC 565,419 bytes, 44 lines download raw bytes

1/* @license MIT https://raw.githubusercontent.com/jquery/jquery/3.7.1/LICENSE.txt */
vendor: 22,881 bytes, lines 2-3
2/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */
3!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}
vendor: 1,967 bytes, line 3
3return 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]||
vendor: 9,546 bytes, line 3
3ce.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])||
vendor: 8,814 bytes, line 3
3(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);
vendor: 14,182 bytes, line 3
3n.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;
vendor: 4,590 bytes, line 3
3return 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)
vendor: 13,972 bytes, line 3
3);!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]);
vendor: 9,033 bytes, line 3
3if(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 
vendor: 3,521 bytes, lines 3-7
3M(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});
4;
5/* @license GPL-2.0-or-later https://git.drupalcode.org/project/once/-/raw/v1.0.1/LICENSE.md */
6/*! @drupal/once - v1.0.1 - 2021-06-12 */
7var 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=[];
7r(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}();
8
9;
10/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */
11(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);})();;
12window.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.startsWith('https:'))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.startsWith(`${baseUrl}/`);};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);;
13if(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);;
vendor: 6,889 bytes, lines 14-24
14/* @license MIT https://raw.githubusercontent.com/focus-trap/tabbable/v6.3.0/LICENSE */
15/*!
16* tabbable 6.3.0
17* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
18*/
19!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):(t="undefined"!=typeof globalThis?globalThis:t||self,function(){var n=t.tabbable,o=t.tabbable={};e(o),o.noConflict=function(){return t.tabbable=n,o}}())}(this,(function(t){"use strict";var e=["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])"],n=e.join(","),o="undefined"==typeof Element,r=o?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,i=!o&&Element.prototype.getRootNode?function(t){var e;return null==t||null===(e=t.getRootNode)||void 0===e?void 0:e.call(t)}:function(t){return null==t?void 0:t.ownerDocument},a=function(t,e){var n;void 0===e&&(e=!0);var o=null==t||null===(n=t.getAttribute)||void 0===n?void 0:n.call(t,"inert");return""===o||"true"===o||e&&t&&a(t.parentNode)},l=function(t,e,o){if(a(t))return[];var i=Array.prototype.slice.apply(t.querySelectorAll(n));return e&&r.call(t,n)&&i.unshift(t),i=i.filter(o)},u=function(t,e,o){for(var i=[],l=Array.from(t);l.length;){var c=l.shift();if(!a(c,!1))if("SLOT"===c.tagName){var d=c.assignedElements(),f=d.length?d:c.children,s=u(f,!0,o);o.flatten?i.push.apply(i,s):i.push({scopeParent:c,candidates:s})}else{r.call(c,n)&&o.filter(c)&&(e||!t.includes(c))&&i.push(c);var p=c.shadowRoot||"function"==typeof o.getShadowRoot&&o.getShadowRoot(c),h=!a(p,!1)&&(!o.shadowRootFilter||o.shadowRootFilter(c));if(p&&h){var v=u(!0===p?c.children:p.children,!0,o);o.flatten?i.push.apply(i,v):i.push({scopeParent:c,candidates:v})}else l.unshift.apply(l,c.children)}}return i},c=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},d=function(t){if(!t)throw new Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||function(t){var e,n=null==t||null===(e=t.getAttribute)||void 0===e?void 0:e.call(t,"contenteditable");return""===n||"true"===n}(t))&&!c(t)?0:t.tabIndex},f=function(t,e){return t.tabIndex===e.tabIndex?t.documentOrder-e.documentOrder:t.tabIndex-e.tabIndex},s=function(t){return"INPUT"===t.tagName},p=function(t){return function(t){return s(t)&&"radio"===t.type}(t)&&!function(t){if(!t.name)return!0;var e,n=t.form||i(t),o=function(t){return n.querySelectorAll('input[type="radio"][name="'+t+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)e=o(window.CSS.escape(t.name));else try{e=o(t.name)}catch(t){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",t.message),!1}var r=function(t,e){for(var n=0;n<t.length;n++)if(t[n].checked&&t[n].form===e)return t[n]}(e,t.form);return!r||r===t}(t)},h=function(t){var e=t.getBoundingClientRect(),n=e.width,o=e.height;return 0===n&&0===o},v=function(t,e){var n=e.displayCheck,o=e.getShadowRoot;if("full-native"===n&&"checkVisibility"in t)return!t.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});if("hidden"===getComputedStyle(t).visibility)return!0;var a=r.call(t,"details>summary:first-of-type")?t.parentElement:t;if(r.call(a,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"full-native"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return h(t)}else{if("function"==typeof o){for(var l=t;t;){var u=t.parentElement,c=i(t);if(u&&!u.shadowRoot&&!0===o(u))return h(t);t=t.assignedSlot?t.assignedSlot:u||c===t.ownerDocument?u:c.host}t=l}if(function(t){var e,n,o,r,a=t&&i(t),l=null===(e=a)||void 0===e?void 0:e.host,u=!1;if(a&&a!==t)for(u=!!(null!==(n=l)&&void 0!==n&&null!==(o=n.ownerDocument)&&void 0!==o&&o.contains(l)||null!=t&&null!==(r=t.ownerDocument)&&void 0!==r&&r.contains(t));!u&&l;){var c,d,f;u=!(null===(d=l=null===(c=a=i(l))||void 0===c?void 0:c.host)||void 0===d||null===(f=d.ownerDocument)||void 0===f||!f.contains(l))}return u}(t))return!t.getClientRects().length;if("legacy-full"!==n)return!0}return!1},b=function(t,e){return!(e.disabled||a(e)||function(t){return s(t)&&"hidden"===t.type}(e)||v(e,t)||function(t){return"DETAILS"===t.tagName&&Array.prototype.slice.apply(t.children).some((function(t){return"SUMMARY"===t.tagName}))}(e)||function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var e=t.parentElement;e;){if("FIELDSET"===e.tagName&&e.disabled){for(var n=0;n<e.children.length;n++){var o=e.children.item(n);if("LEGEND"===o.tagName)return!!r.call(e,"fieldset[disabled] *")||!o.contains(t)}return!0}e=e.parentElement}return!1}(e))},y=function(t,e){return!(p(e)||d(e)<0||!b(t,e))},m=function(t){var e=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(e)||e>=0)},g=function(t){var e=[],n=[];return t.forEach((function(t,o){var r=!!t.scopeParent,i=r?t.scopeParent:t,a=function(t,e){var n=d(t);return n<0&&e&&!c(t)?0:n}(i,r),l=r?g(t.candidates):i;0===a?r?e.push.apply(e,l):e.push(i):n.push({documentOrder:o,tabIndex:a,item:t,isScope:r,content:l})})),n.sort(f).reduce((function(t,e){return e.isScope?t.push.apply(t,e.content):t.push(e.content),t}),[]).concat(e)},w=e.concat("iframe").join(",");t.focusable=function(t,e){return(e=e||{}).getShadowRoot?u([t],e.includeContainer,{filter:b.bind(null,e),flatten:!0,getShadowRoot:e.getShadowRoot}):l(t,e.includeContainer,b.bind(null,e))},t.getTabIndex=d,t.isFocusable=function(t,e){if(e=e||{},!t)throw new Error("No node provided");return!1!==r.call(t,w)&&b(e,t)},t.isTabbable=function(t,e){if(e=e||{},!t)throw new Error("No node provided");return!1!==r.call(t,n)&&y(e,t)},t.tabbable=function(t,e){var n;return n=(e=e||{}).getShadowRoot?u([t],e.includeContainer,{filter:y.bind(null,e),flatten:!1,getShadowRoot:e.getShadowRoot,shadowRootFilter:m}):l(t,e.includeContainer,y.bind(null,e)),g(n)}}));
20
21;
22/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */
23Drupal.debounce=function(func,wait,immediate){let timeout;let result;return function(...args){const context=this;const later=function(){timeout=null;if(!immediate)result=func.apply(context,args);};const callNow=immediate&&!timeout;clearTimeout(timeout);timeout=setTimeout(later,wait);if(callNow)result=func.apply(context,args);return result;};};;
24(function($,Drupal,once){Drupal.behaviors.betterExposedFiltersAutoSubmit={attach:function(context,settings){let selectors='';if(drupalSettings.better_exposed_filters&&drupalSettings.better_exposed_filters.auto_submit_sort_only
24)selectors='form[data-bef-auto-submit-sort-only] .form-item-sort-order';else selectors='form[data-bef-auto-submit-full-form], [data-bef-auto-submit-full-form] form, [data-bef-auto-submit]';$(selectors,context).addBack(selectors).find('input:text:not(.hasDatepicker), textarea, select, input:radio, input:checkbox').each(function(){const $el=$(this);const $tagName=$el[0].tagName;if($tagName==='SELECT')setFocus($el);else if(['radio','checkbox'].includes($el.attr('type')))setFocus($el);else setFocus($el);});function setFocus($el){const observer=new IntersectionObserver((entries)=>{entries.forEach((entry)=>{if(entry.isIntersecting){const lastTriggeredSelector=settings.bef_autosubmit_triggered_selector;const lastCursorPosition=settings.bef_autosubmit_cursor_position;const currentSelector=$el.attr('data-drupal-selector');if(lastTriggeredSelector&&currentSelector){const lastTriggeredBase=lastTriggeredSelector.replace(/-[a-z0-9]{11}$/,'');const currentBase=currentSelector.replace(/-[a-z0-9]{11}$/,'');if(currentBase===lastTriggeredBase||currentSelector.startsWith(lastTriggeredBase+'-')){$el.focus();if($el.is(':text, textarea')&&typeof lastCursorPosition==='number')try{$el[0].setSelectionRange(lastCursorPosition,lastCursorPosition);}catch(e){}}}observer.disconnect();}});});observer.observe($el.get(0));}$(selectors,context).addBack(selectors).each(function(i,e){const $e=$(e);let $needsAutoSubmit=$e;let autoSubmitDelay=500;if(e.hasAttribute('data-bef-auto-submit-delay'))autoSubmitDelay=$e.data('bef-auto-submit-delay');else{if(!e.hasAttribute('data-bef-auto-submit-full-form')){const $container=$e.closest('[data-bef-auto-submit-full-form]');if($container.length&&$container.get(0).hasAttribute('data-bef-auto-submit-delay')){$needsAutoSubmit=$container;autoSubmitDelay=$container.data('bef-auto-submit-delay');}}}autoSubmitDelay=autoSubmitDelay||500;let dateInputChangeDebounce=Drupal.debounce(triggerSubmit,autoSubmitDelay,false);$(once('bef-auto-submit',$needsAutoSubmit)).on('change',function(e){return e.target.type==='date'?dateInputChangeDebounce(e):triggerSubmit(e);}).on('keyup',Drupal.debounce(triggerSubmit,autoSubmitDelay,false));});function triggerSubmit(e){const ignoredKeyCodes=[16,17,18,20,33,34,35,36,37,38,39,40,9,13,27,32];const $target=$(e.target);const $form=e.target.form?$(e.target.form):$target.closest('form');const $submit=$form.find('[data-bef-auto-submit-click]').first();const mediaQuery=$target.closest('form').data('bef-auto-submit-media-query');if(mediaQuery&&!matchMedia(mediaQuery).matches)return true;if($target.is('[data-bef-auto-submit-exclude], :submit, .select2-search__field, .chosen-search-input'))return true;let textfieldMinimumLength=$target.closest('form').data('bef-auto-submit-minimum-length')||1;let inputTextLength=$target.val().length;let textfieldHasMinimumLength=($target.is(':text:not(.hasDatepicker), textarea')&&inputTextLength>=textfieldMinimumLength)||$target.is('[type="checkbox"], [type="radio"]');if((textfieldHasMinimumLength||inputTextLength===0)&&$.inArray(e.keyCode,ignoredKeyCodes)===-1&&!e.altKey&&!e.ctrlKey&&!e.shiftKey)$submit.click();else{if(e.type==='change'){let target=$target.is(':text:not(.hasDatepicker), textarea');if(target&&textfieldHasMinimumLength)$submit.click();else{if(!target)$submit.click();}}}settings.bef_autosubmit_triggered_selector=$target.attr('data-drupal-selector');if($target.is(':text, textarea'))try{settings.bef_autosubmit_cursor_position=$target[0].selectionStart;}catch(e){settings.bef_autosubmit_cursor_position=$target.val().length;}}}};}(jQuery,Drupal,once));;
25(function($,Drupal,once){Drupal.behaviors.betterExposedFilters={attach:function(context){$('.bef-tree input[type=checkbox], .bef-checkboxes input[type=checkbox]').change(function(){_bef_highlight(this,context);}).filter(':checked').closest('.form-item',context).addClass('highlight');}};function _bef_highlight(elem,context){$elem=$(elem,context);$elem.attr('checked')?$elem.closest('.form-item',context).addClass('highlight'):$elem.closest('.form-item',context).removeClass('highlight');}Drupal.behaviors.autosubmitExcludeTextfield={attach:function(context,settings){if(!settings.better_exposed_filters?.autosubmit_exclude_textfield)return;$(once('autosubmit-exclude-textfield','.bef-exposed-form',context)).each(function(){$(this).find('*[type="text"]').attr('data-bef-auto-submit-exclude','');});}};Drupal.behaviors.befSingleCheckboxFix={attach:function(context,settings){once('befSingleCheckboxFix','form.views-exposed-form',context).forEach((form)=>{const $form=$(form);const $checkboxes=$form.find('input[type="checkbox"].single-checkbox');$form.on('submit',function(){$checkboxes.each(function(){const $checkbox=$(this);const name=$checkbox.attr('name');$form.find('input[type="hidden"][name="'+name+'"]').remove();if(!$checkbox.is(':checked'))$('<input>').attr({type:'hidden',name,value:0}).appendTo($form);});});});}};})(jQuery,Drupal,once);;
26(function(once){Drupal.behaviors.better_exposed_filters_select_as_links={attach:function(context){once('bef-links-use-ajax','.bef-links.bef-links-use-ajax',context).forEach(function(element){const links_name=element.getAttribute('data-name');const links_multiple=element.getAttribute('data-multiple');const form=element.closest('form');element.querySelectorAll('a').forEach((el)=>el.addEventListener('click',(event)=>{event.preventDefault();const target=event.currentTarget;const link_name=links_multiple?target.name:links_name;const link_value=target.name.substring(links_multiple?links_name.length-1:links_name.length).replace(/^\[|\]$/g,'');const filter=form.querySelector('input[name="'+link_name+'"]');const filters=form.querySelectorAll('input[name^="'+links_name+'"]');
26if(target.classList.contains('bef-link--selected')){target.classList.remove('bef-link--selected');if(!links_multiple||link_value==='All')filters.forEach((el)=>el.remove());else filter.remove();}else{if(!links_multiple||link_value==='All')element.querySelectorAll('.bef-link--selected').forEach((el)=>el.classList.remove('bef-link--selected'));target.classList.add('bef-link--selected');if(!filter){const newFilter=document.createElement("input");newFilter.type="hidden";newFilter.name=link_name;newFilter.value=link_value;element.appendChild(newFilter);}else filter.value=link_value;}form.querySelector('.form-submit:not([data-drupal-selector*=edit-reset])').click();}));});}};})(once);;
27/* @license GPL-2.0-or-later https://raw.githubusercontent.com/jquery-form/form/master/LICENSE */
28(function(factory){if(typeof define==='function'&&define.amd)define(['jquery'],factory);else if(typeof module==='object'&&module.exports)module.exports=function(root,jQuery){if(typeof jQuery==='undefined')if(typeof window!=='undefined')jQuery=require('jquery');else jQuery=require('jquery')(root);factory(jQuery);return jQuery;};else factory(jQuery);}(function($){'use strict';var rCRLF=/\r?\n/g;var feature={};feature.fileapi=$('<input type="file">').get(0).files!==undefined;feature.formdata=(typeof window.FormData!=='undefined');var hasProp=!!$.fn.prop;$.fn.attr2=function(){if(!hasProp)return this.attr.apply(this,arguments);var val=this.prop.apply(this,arguments);if((val&&val.jquery)||typeof val==='string')return val;return this.attr.apply(this,arguments);};$.fn.ajaxSubmit=function(options,data,dataType,onSuccess){if(!this.length){log('ajaxSubmit: skipping submit process - no element selected');return this;}var method,action,url,isMsie,iframeSrc,$form=this;if(typeof options==='function')options={success:options};else if(typeof options==='string'||(options===false&&arguments.length>0)){options={'url':options,'data':data,'dataType':dataType};if(typeof onSuccess==='function')options.success=onSuccess;}else{if(typeof options==='undefined')options={};}method=options.method||options.type||this.attr2('method');action=options.url||this.attr2('action');url=(typeof action==='string')?action.trim():'';url=url||window.location.href||'';if(url)url=(url.match(/^([^#]+)/)||[])[1];isMsie=/(MSIE|Trident)/.test(navigator.userAgent||'');iframeSrc=(isMsie&&/^https/i.test(window.location.href||''))?'javascript:false':'about:blank';options=$.extend(true,{url,success:$.ajaxSettings.success,type:method||$.ajaxSettings.type,iframeSrc},options);var veto={};this.trigger('form-pre-serialize',[this,options,veto]);if(veto.veto){log('ajaxSubmit: submit vetoed via form-pre-serialize trigger');return this;}if(options.beforeSerialize&&options.beforeSerialize(this,options)===false){log('ajaxSubmit: submit aborted via beforeSerialize callback');return this;}var traditional=options.traditional;if(typeof traditional==='undefined')traditional=$.ajaxSettings.traditional;var elements=[];var qx,a=this.formToArray(options.semantic,elements,options.filtering);if(options.data){var optionsData=typeof (options.data)==="function"?options.data(a):options.data;options.extraData=optionsData;qx=$.param(optionsData,traditional);}if(options.beforeSubmit&&options.beforeSubmit(a,this,options)===false){log('ajaxSubmit: submit aborted via beforeSubmit callback');return this;}this.trigger('form-submit-validate',[a,this,options,veto]);if(veto.veto){log('ajaxSubmit: submit vetoed via form-submit-validate trigger');return this;}var q=$.param(a,traditional);if(qx)q=(q?(q+'&'+qx):qx);if(options.type.toUpperCase()==='GET'){options.url+=(options.url.indexOf('?')>=0?'&':'?')+q;options.data=null;}else options.data=q;var callbacks=[];if(options.resetForm)callbacks.push(function(){$form.resetForm();});if(options.clearForm)callbacks.push(function(){$form.clearForm(options.includeHidden);});if(!options.dataType&&options.target){var oldSuccess=options.success||function(){};callbacks.push(function(data,textStatus,jqXHR){var successArguments=arguments,fn=options.replaceTarget?'replaceWith':'html';$(options.target)[fn](data).each(function(){oldSuccess.apply(this,successArguments);});});}else{if(options.success)if(Array.isArray(options.success))callbacks=callbacks.concat(options.success);else callbacks.push(options.success);}options.success=function(data,status,xhr){var context=options.context||this;for(var i=0,max=callbacks.length;i<max;i++)callbacks[i].apply(context,[data,status,xhr||$form,$form]);};if(options.error){var oldError=options.error;options.error=function(xhr,status,error){var context=options.context||this;oldError.apply(context,[xhr,status,error,$form]);};}if(options.complete){var oldComplete=options.complete;options.complete=function(xhr,status){var context=options.context||this;oldComplete.apply(context,[xhr,status,$form]);};}var fileInputs=$('input[type=file]:enabled',this).filter(function(){return $(this).val()!=='';});var hasFileInputs=fileInputs.length>0;var mp='multipart/form-data';var multipart=($form.attr('enctype')===mp||$form.attr('encoding')===mp);var fileAPI=feature.fileapi&&feature.formdata;log('fileAPI :'+fileAPI);var shouldUseFrame=(hasFileInputs||multipart)&&!fileAPI;var jqxhr;if(options.iframe!==false&&(options.iframe||shouldUseFrame))if(options.closeKeepAlive)$.get(options.closeKeepAlive,function(){jqxhr=fileUploadIframe(a);});else jqxhr=fileUploadIframe(a);else if((hasFileInputs||multipart)&&fileAPI)jqxhr=fileUploadXhr(a);else jqxhr=$.ajax(options);$form.removeData('jqxhr').data('jqxhr',jqxhr);for(var k=0;k<elements.length;k++)elements[k]=null;this.trigger('form-submit-notify',[this,options]);return this;function deepSerialize(extraData){var serialized=$.param(extraData,options.traditional).split('&');var len=serialized.length;var result=[];var i,part;for(i=0;i<len;i++){serialized[i]=serialized[i].replace(/\+/g,' ');part=serialized[i].split('=');result.push([decodeURIComponent(part[0]),decodeURIComponent(part[1])]);}return result;}function fileUploadXhr(a){var formdata=new FormData();for(var i=0;i<a.length;i++)formdata.append(a[i].name,a[i].value);if(options.extraData){var serializedData=deepSerialize(options.extraData);for(i=0;i<serializedData.length;i++)if(serializedData[i])formdata.append(serializedData[i][0],serializedData[i][1]);}options.data=null;var s=$.extend(true,{},$.ajaxSettings,options,{contentType:false,processData:false,cache:false,type:method||'POST'});if(options.uploadProgress)s.xhr=function(){var xhr=$.ajaxSettings.xhr();if(xhr.upload)xhr.upload.addEventListener('progress',function(event){var percent=0;var position=event.loaded||event.position;var total=event.total;if(event.lengthComputable)percent=Math.ceil(position/total*100);options.uploadProgress(event,position,total,percent);},false);return xhr;};s.data=null;var beforeSend=s.beforeSend;s.beforeSend=function(xhr,o){if(options.formData)o.data=options.formData;else o.data=formdata;
28if(beforeSend)beforeSend.call(this,xhr,o);};return $.ajax(s);}function fileUploadIframe(a){var form=$form[0],el,i,s,g,id,$io,io,xhr,sub,n,timedOut,timeoutHandle;var deferred=$.Deferred();deferred.abort=function(status){xhr.abort(status);};if(a)for(i=0;i<elements.length;i++){el=$(elements[i]);if(hasProp)el.prop('disabled',false);else el.removeAttr('disabled');}s=$.extend(true,{},$.ajaxSettings,options);s.context=s.context||s;id='jqFormIO'+new Date().getTime();var ownerDocument=form.ownerDocument;var $body=$form.closest('body');if(s.iframeTarget){$io=$(s.iframeTarget,ownerDocument);n=$io.attr2('name');if(!n)$io.attr2('name',id);else id=n;}else{$io=$('<iframe name="'+id+'" src="'+s.iframeSrc+'" />',ownerDocument);$io.css({position:'absolute',top:'-1000px',left:'-1000px'});}io=$io[0];xhr={aborted:0,responseText:null,responseXML:null,status:0,statusText:'n/a',getAllResponseHeaders:function(){},getResponseHeader:function(){},setRequestHeader:function(){},abort:function(status){var e=(status==='timeout'?'timeout':'aborted');log('aborting upload... '+e);this.aborted=1;try{if(io.contentWindow.document.execCommand)io.contentWindow.document.execCommand('Stop');}catch(ignore){}$io.attr('src',s.iframeSrc);xhr.error=e;if(s.error)s.error.call(s.context,xhr,e,status);if(g)$.event.trigger('ajaxError',[xhr,s,e]);if(s.complete)s.complete.call(s.context,xhr,e);}};g=s.global;if(g&&$.active++===0)$.event.trigger('ajaxStart');if(g)$.event.trigger('ajaxSend',[xhr,s]);if(s.beforeSend&&s.beforeSend.call(s.context,xhr,s)===false){if(s.global)$.active--;deferred.reject();return deferred;}if(xhr.aborted){deferred.reject();return deferred;}sub=form.clk;if(sub){n=sub.name;if(n&&!sub.disabled){s.extraData=s.extraData||{};s.extraData[n]=sub.value;if(sub.type==='image'){s.extraData[n+'.x']=form.clk_x;s.extraData[n+'.y']=form.clk_y;}}}var CLIENT_TIMEOUT_ABORT=1;var SERVER_ABORT=2;function getDoc(frame){var doc=null;try{if(frame.contentWindow)doc=frame.contentWindow.document;}catch(err){log('cannot get iframe.contentWindow document: '+err);}if(doc)return doc;try{doc=frame.contentDocument?frame.contentDocument:frame.document;}catch(err){log('cannot get iframe.contentDocument: '+err);doc=frame.document;}return doc;}var csrf_token=$('meta[name=csrf-token]').attr('content');var csrf_param=$('meta[name=csrf-param]').attr('content');if(csrf_param&&csrf_token){s.extraData=s.extraData||{};s.extraData[csrf_param]=csrf_token;}function doSubmit(){var t=$form.attr2('target'),a=$form.attr2('action'),mp='multipart/form-data',et=$form.attr('enctype')||$form.attr('encoding')||mp;form.setAttribute('target',id);if(!method||/post/i.test(method))form.setAttribute('method','POST');if(a!==s.url)form.setAttribute('action',s.url);if(!s.skipEncodingOverride&&(!method||/post/i.test(method)))$form.attr({encoding:'multipart/form-data',enctype:'multipart/form-data'});if(s.timeout)timeoutHandle=setTimeout(function(){timedOut=true;cb(CLIENT_TIMEOUT_ABORT);},s.timeout);function checkState(){try{var state=getDoc(io).readyState;log('state = '+state);if(state&&state.toLowerCase()==='uninitialized')setTimeout(checkState,50);}catch(e){log('Server abort: ',e,' (',e.name,')');cb(SERVER_ABORT);if(timeoutHandle)clearTimeout(timeoutHandle);timeoutHandle=undefined;}}var extraInputs=[];try{if(s.extraData)for(var n in s.extraData)if(s.extraData.hasOwnProperty(n))if($.isPlainObject(s.extraData[n])&&s.extraData[n].hasOwnProperty('name')&&s.extraData[n].hasOwnProperty('value'))extraInputs.push($('<input type="hidden" name="'+s.extraData[n].name+'">',ownerDocument).val(s.extraData[n].value).appendTo(form)[0]);else extraInputs.push($('<input type="hidden" name="'+n+'">',ownerDocument).val(s.extraData[n]).appendTo(form)[0]);if(!s.iframeTarget)$io.appendTo($body);if(io.attachEvent)io.attachEvent('onload',cb);else io.addEventListener('load',cb,false);setTimeout(checkState,15);try{form.submit();}catch(err){var submitFn=document.createElement('form').submit;submitFn.apply(form);}}finally{form.setAttribute('action',a);form.setAttribute('enctype',et);if(t)form.setAttribute('target',t);else $form.removeAttr('target');$(extraInputs).remove();}}if(s.forceSync)doSubmit();else setTimeout(doSubmit,10);var data,doc,domCheckCount=50,callbackProcessed;function cb(e){if(xhr.aborted||callbackProcessed)return;doc=getDoc(io);if(!doc){log('cannot access response document');e=SERVER_ABORT;}if(e===CLIENT_TIMEOUT_ABORT&&xhr){xhr.abort('timeout');deferred.reject(xhr,'timeout');return;}if(e===SERVER_ABORT&&xhr){xhr.abort('server abort');deferred.reject(xhr,'error','server abort');return;}if(!doc||doc.location.href===s.iframeSrc)if(!timedOut)return;if(io.detachEvent)io.detachEvent('onload',cb);else io.removeEventListener('load',cb,false);var status='success',errMsg;
28try{if(timedOut)throw 'timeout';var isXml=s.dataType==='xml'||doc.XMLDocument||$.isXMLDoc(doc);log('isXml='+isXml);if(!isXml&&window.opera&&(doc.body===null||!doc.body.innerHTML))if(--domCheckCount){log('requeing onLoad callback, DOM not available');setTimeout(cb,250);return;}var docRoot=doc.body?doc.body:doc.documentElement;xhr.responseText=docRoot?docRoot.innerHTML:null;xhr.responseXML=doc.XMLDocument?doc.XMLDocument:doc;if(isXml)s.dataType='xml';xhr.getResponseHeader=function(header){var headers={'content-type':s.dataType};return headers[header.toLowerCase()];};if(docRoot){xhr.status=Number(docRoot.getAttribute('status'))||xhr.status;xhr.statusText=docRoot.getAttribute('statusText')||xhr.statusText;}var dt=(s.dataType||'').toLowerCase();var scr=/(json|script|text)/.test(dt);if(scr||s.textarea){var ta=doc.getElementsByTagName('textarea')[0];if(ta){xhr.responseText=ta.value;xhr.status=Number(ta.getAttribute('status'))||xhr.status;xhr.statusText=ta.getAttribute('statusText')||xhr.statusText;}else{if(scr){var pre=doc.getElementsByTagName('pre')[0];var b=doc.getElementsByTagName('body')[0];if(pre)xhr.responseText=pre.textContent?pre.textContent:pre.innerText;else{if(b)xhr.responseText=b.textContent?b.textContent:b.innerText;}}}}else{if(dt==='xml'&&!xhr.responseXML&&xhr.responseText)xhr.responseXML=toXml(xhr.responseText);}try{data=httpData(xhr,dt,s);}catch(err){status='parsererror';xhr.error=errMsg=(err||status);}}catch(err){log('error caught: ',err);status='error';xhr.error=errMsg=(err||status);}if(xhr.aborted){log('upload aborted');status=null;}if(xhr.status)status=((xhr.status>=200&&xhr.status<300)||xhr.status===304)?'success':'error';if(status==='success'){if(s.success)s.success.call(s.context,data,'success',xhr);deferred.resolve(xhr.responseText,'success',xhr);if(g)$.event.trigger('ajaxSuccess',[xhr,s]);}else{if(status){if(typeof errMsg==='undefined')errMsg=xhr.statusText;if(s.error)s.error.call(s.context,xhr,status,errMsg);deferred.reject(xhr,'error',errMsg);if(g)$.event.trigger('ajaxError',[xhr,s,errMsg]);}}if(g)$.event.trigger('ajaxComplete',[xhr,s]);if(g&&!--$.active)$.event.trigger('ajaxStop');if(s.complete)s.complete.call(s.context,xhr,status);callbackProcessed=true;if(s.timeout)clearTimeout(timeoutHandle);setTimeout(function(){if(!s.iframeTarget)$io.remove();else $io.attr('src',s.iframeSrc);xhr.responseXML=null;},100);}var toXml=$.parseXML||function(s,doc){if(window.ActiveXObject){doc=new ActiveXObject('Microsoft.XMLDOM');doc.async='false';doc.loadXML(s);}else doc=(new DOMParser()).parseFromString(s,'text/xml');return (doc&&doc.documentElement&&doc.documentElement.nodeName!=='parsererror')?doc:null;};var parseJSON=$.parseJSON||function(s){return window['eval']('('+s+')');};var httpData=function(xhr,type,s){var ct=xhr.getResponseHeader('content-type')||'',xml=((type==='xml'||!type)&&ct.indexOf('xml')>=0),data=xml?xhr.responseXML:xhr.responseText;if(xml&&data.documentElement.nodeName==='parsererror')if($.error)$.error('parsererror');if(s&&s.dataFilter)data=s.dataFilter(data,type);if(typeof data==='string')if((type==='json'||!type)&&ct.indexOf('json')>=0)data=parseJSON(data);else{if((type==='script'||!type)&&ct.indexOf('javascript')>=0)$.globalEval(data);}return data;};return deferred;}};$.fn.ajaxForm=function(options,data,dataType,onSuccess){if(typeof options==='string'||(options===false&&arguments.length>0)){options={'url':options,'data':data,'dataType':dataType};if(typeof onSuccess==='function')options.success=onSuccess;}options=options||{};options.delegation=options.delegation&&typeof $.fn.on==='function';if(!options.delegation&&this.length===0){var o={s:this.selector,c:this.context};if(!$.isReady&&o.s){log('DOM not ready, queuing ajaxForm');$(function(){$(o.s,o.c).ajaxForm(options);});return this;}log('terminating; zero elements found by selector'+($.isReady?'':' (DOM not ready)'));return this;}if(options.delegation){$(document).off('submit.form-plugin',this.selector,doAjaxSubmit).off('click.form-plugin',this.selector,captureSubmittingElement).on('submit.form-plugin',this.selector,options,doAjaxSubmit).on('click.form-plugin',this.selector,options,captureSubmittingElement);return this;}if(options.beforeFormUnbind)options.beforeFormUnbind(this,options);return this.ajaxFormUnbind().on('submit.form-plugin',options,doAjaxSubmit).on('click.form-plugin',options,captureSubmittingElement);};function doAjaxSubmit(e){var options=e.data;if(!e.isDefaultPrevented()){e.preventDefault();$(e.target).closest('form').ajaxSubmit(options);}}function captureSubmittingElement(e){var target=e.target;var $el=$(target);if(!$el.is('[type=submit],[type=image]')){var t=$el.closest('[type=submit]');if(t.length===0)return;target=t[0];}var form=target.form;form.clk=target;if(target.type==='image')if(typeof e.offsetX!=='undefined'){form.clk_x=e.offsetX;form.clk_y=e.offsetY;}else if(typeof $.fn.offset==='function'){var offset=$el.offset();form.clk_x=e.pageX-offset.left;form.clk_y=e.pageY-offset.top;}else{form.clk_x=e.pageX-target.offsetLeft;form.clk_y=e.pageY-target.offsetTop;}setTimeout(function(){form.clk=form.clk_x=form.clk_y=null;},100);}$.fn.ajaxFormUnbind=function(){return this.off('submit.form-plugin click.form-plugin');};$.fn.formToArray=function(semantic,elements,filtering){var a=[];if(this.length===0)return a;var form=this[0];var formId=this.attr('id');var els=(semantic||typeof form.elements==='undefined')?form.getElementsByTagName('*'):form.elements;var els2;if(els)els=$.makeArray(els);if(formId&&(semantic||/(Edge|Trident)\//.test(navigator.userAgent))){els2=$(':input[form="'+formId+'"]').get();if(els2.length)els=(els||[]).concat(els2);}if(!els||!els.length)return a;
28if(typeof (filtering)==="function")els=$.map(els,filtering);var i,j,n,v,el,max,jmax;for(i=0,max=els.length;i<max;i++){el=els[i];n=el.name;if(!n||el.disabled)continue;if(semantic&&form.clk&&el.type==='image'){if(form.clk===el){a.push({name:n,value:$(el).val(),type:el.type});a.push({name:n+'.x',value:form.clk_x},{name:n+'.y',value:form.clk_y});}continue;}v=$.fieldValue(el,true);if(v&&v.constructor===Array){if(elements)elements.push(el);for(j=0,jmax=v.length;j<jmax;j++)a.push({name:n,value:v[j]});}else if(feature.fileapi&&el.type==='file'){if(elements)elements.push(el);var files=el.files;if(files.length)for(j=0;j<files.length;j++)a.push({name:n,value:files[j],type:el.type});else a.push({name:n,value:'',type:el.type});}else{if(v!==null&&typeof v!=='undefined'){if(elements)elements.push(el);a.push({name:n,value:v,type:el.type,required:el.required});}}}if(!semantic&&form.clk){var $input=$(form.clk),input=$input[0];n=input.name;if(n&&!input.disabled&&input.type==='image'){a.push({name:n,value:$input.val()});a.push({name:n+'.x',value:form.clk_x},{name:n+'.y',value:form.clk_y});}}return a;};$.fn.formSerialize=function(semantic){return $.param(this.formToArray(semantic));};$.fn.fieldSerialize=function(successful){var a=[];this.each(function(){var n=this.name;if(!n)return;var v=$.fieldValue(this,successful);if(v&&v.constructor===Array)for(var i=0,max=v.length;i<max;i++)a.push({name:n,value:v[i]});else{if(v!==null&&typeof v!=='undefined')a.push({name:this.name,value:v});}});return $.param(a);};$.fn.fieldValue=function(successful){for(var val=[],i=0,max=this.length;i<max;i++){var el=this[i];var v=$.fieldValue(el,successful);if(v===null||typeof v==='undefined'||(v.constructor===Array&&!v.length))continue;if(Array.isArray(v))val=val.concat(v);else val.push(v);}return val;};$.fieldValue=function(el,successful){var n=el.name,t=el.type,tag=el.tagName.toLowerCase();if(typeof successful==='undefined')successful=true;if(successful&&(!n||el.disabled||t==='reset'||t==='button'||(t==='checkbox'||t==='radio')&&!el.checked||(t==='submit'||t==='image')&&el.form&&el.form.clk!==el||tag==='select'&&el.selectedIndex===-1))return null;if(tag==='select'){var index=el.selectedIndex;if(index<0)return null;var a=[],ops=el.options;var one=(t==='select-one');var max=(one?index+1:ops.length);for(var i=(one?index:0);i<max;i++){var op=ops[i];if(op.selected&&!op.disabled){var v=op.value;if(!v)v=(op.attributes&&op.attributes.value&&!(op.attributes.value.specified))?op.text:op.value;if(one)return v;a.push(v);}}return a;}return $(el).val().replace(rCRLF,'\r\n');};$.fn.clearForm=function(includeHidden){return this.each(function(){$('input,select,textarea',this).clearFields(includeHidden);});};$.fn.clearFields=$.fn.clearInputs=function(includeHidden){var re=/^(?:color|date|datetime|email|month|number|password|range|search|tel|text|time|url|week)$/i;return this.each(function(){var t=this.type,tag=this.tagName.toLowerCase();if(re.test(t)||tag==='textarea')this.value='';else if(t==='checkbox'||t==='radio')this.checked=false;else if(tag==='select')this.selectedIndex=-1;else if(t==='file')if(/MSIE/.test(navigator.userAgent))$(this).replaceWith($(this).clone(true));else $(this).val('');else{if(includeHidden)if((includeHidden===true&&/hidden/.test(t))||(typeof includeHidden==='string'&&$(this).is(includeHidden)))this.value='';}});};$.fn.resetForm=function(){return this.each(function(){var el=$(this);var tag=this.tagName.toLowerCase();switch(tag){case 'input':this.checked=this.defaultChecked;case 'textarea':this.value=this.defaultValue;return true;case 'option':case 'optgroup':var select=el.parents('select');if(select.length&&select[0].multiple)if(tag==='option')this.selected=this.defaultSelected;else el.find('option').resetForm();else select.resetForm();return true;case 'select':el.find('option').each(function(i){this.selected=this.defaultSelected;if(this.defaultSelected&&!el[0].multiple){el[0].selectedIndex=i;return false;}});return true;case 'label':var forEl=$(el.attr('for'));var list=el.find('input,select,textarea');if(forEl[0])list.unshift(forEl[0]);list.resetForm();return true;case 'form':if(typeof this.reset==='function'||(typeof this.reset==='object'&&!this.reset.nodeType))this.reset();return true;default:el.find('form,input,label,select,textarea').resetForm();return true;}}
28);};$.fn.enable=function(b){if(typeof b==='undefined')b=true;return this.each(function(){this.disabled=!b;});};$.fn.selected=function(select){if(typeof select==='undefined')select=true;return this.each(function(){var t=this.type;if(t==='checkbox'||t==='radio')this.checked=select;else{if(this.tagName.toLowerCase()==='option'){var $sel=$(this).parent('select');if(select&&$sel[0]&&$sel[0].type==='select-one')$sel.find('option').selected(false);this.selected=select;}}});};$.fn.ajaxSubmit.debug=false;function log(){if(!$.fn.ajaxSubmit.debug)return;var msg='[jquery.form] '+Array.prototype.join.call(arguments,'');if(window.console&&window.console.log)window.console.log(msg);else{if(window.opera&&window.opera.postError)window.opera.postError(msg);}}}));;
29/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */
30(function($,Drupal){Drupal.theme.progressBar=function(id){const escapedId=Drupal.checkPlain(id);return (`<div id="${escapedId}" class="progress" aria-live="polite">`+'<div class="progress__label">&nbsp;</div>'+'<div class="progress__track"><div class="progress__bar"></div></div>'+'<div class="progress__percentage"></div>'+'<div class="progress__description">&nbsp;</div>'+'</div>');};Drupal.ProgressBar=function(id,updateCallback,method,errorCallback){this.id=id;this.method=method||'GET';this.updateCallback=updateCallback;this.errorCallback=errorCallback;this.element=$(Drupal.theme('progressBar',id));};$.extend(Drupal.ProgressBar.prototype,{setProgress(percentage,message,label){if(percentage>=0&&percentage<=100){$(this.element).find('div.progress__bar').each(function(){this.style.width=`${percentage}%`;});$(this.element).find('div.progress__percentage').html(`${percentage}%`);}$('div.progress__description',this.element).html(message);$('div.progress__label',this.element).html(label);if(this.updateCallback)this.updateCallback(percentage,message,this);},startMonitoring(uri,delay){this.delay=delay;this.uri=uri;this.sendPing();},stopMonitoring(){clearTimeout(this.timer);this.uri=null;},sendPing(){if(this.timer)clearTimeout(this.timer);if(this.uri){const pb=this;let uri=this.uri;if(!uri.includes('?'))uri+='?';else uri+='&';uri+='_format=json';$.ajax({type:this.method,url:uri,data:'',dataType:'json',success(progress){if(progress.status===0){pb.displayError(progress.data);return;}pb.setProgress(progress.percentage,progress.message,progress.label);pb.timer=setTimeout(()=>{pb.sendPing();},pb.delay);},error(xmlhttp){const e=new Drupal.AjaxError(xmlhttp,pb.uri);pb.displayError(`<pre>${e.message}</pre>`);}});}},displayError(string){const error=$('<div class="messages messages--error"></div>').html(string);$(this.element).before(error).hide();if(this.errorCallback)this.errorCallback(this);}});})(jQuery,Drupal);;
31/* @license MIT https://raw.githubusercontent.com/muicss/loadjs/4.3.0/LICENSE.txt */
32loadjs=function(){var h=function(){},o={},c={},f={};function u(e,n){if(e){var t=f[e];if(c[e]=n,t)for(;t.length;)t[0](e,n),t.splice(0,1)}}function l(e,n){e.call&&(e={success:e}),n.length?(e.error||h)(n):(e.success||h)(e)}function p(t,r,i,s){var o,e,u,n=document,c=i.async,f=(i.numRetries||0)+1,l=i.before||h,a=t.replace(/[\?|#].*$/,""),d=t.replace(/^(css|img|module|nomodule)!/,"");if(s=s||0,/(^css!|\.css$)/.test(a))(u=n.createElement("link")).rel="stylesheet",u.href=d,(o="hideFocus"in u)&&u.relList&&(o=0,u.rel="preload",u.as="style");else if(/(^img!|\.(png|gif|jpg|svg|webp)$)/.test(a))(u=n.createElement("img")).src=d;else if((u=n.createElement("script")).src=d,u.async=void 0===c||c,e="noModule"in u,/^module!/.test(a)){if(!e)return r(t,"l");u.type="module"}else if(/^nomodule!/.test(a)&&e)return r(t,"l");!(u.onload=u.onerror=u.onbeforeload=function(e){var n=e.type[0];if(o)try{u.sheet.cssText.length||(n="e")}catch(e){18!=e.code&&(n="e")}if("e"==n){if((s+=1)<f)return p(t,r,i,s)}else if("preload"==u.rel&&"style"==u.as)return u.rel="stylesheet";r(t,n,e.defaultPrevented)})!==l(t,u)&&n.head.appendChild(u)}function t(e,n,t){var r,i;if(n&&n.trim&&(r=n),i=(r?t:n)||{},r){if(r in o)throw"LoadJS";o[r]=!0}function s(n,t){!function(e,r,n){var t,i,s=(e=e.push?e:[e]).length,o=s,u=[];for(t=function(e,n,t){if("e"==n&&u.push(e),"b"==n){if(!t)return;u.push(e)}--s||r(u)},i=0;i<o;i++)p(e[i],t,n)}(e,function(e){l(i,e),n&&l({success:n,error:t},e),u(r,e)},i)}if(i.returnPromise)return new Promise(s);s()}return t.ready=function(e,n){return function(e,t){e=e.push?e:[e];var n,r,i,s=[],o=e.length,u=o;
32for(n=function(e,n){n.length&&s.push(e),--u||t(s)};o--;)r=e[o],(i=c[r])?n(r,i):(f[r]=f[r]||[]).push(n)}(e,function(e){l(n,e)}),t},t.done=function(e){u(e,[])},t.reset=function(){o={},c={},f={}},t.isDefined=function(e){return e in o},t}();;
33/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */
34(function(Drupal,debounce){let liveElement;const announcements=[];Drupal.behaviors.drupalAnnounce={attach(context){if(!liveElement){liveElement=document.createElement('div');liveElement.id='drupal-live-announce';liveElement.className='visually-hidden';liveElement.setAttribute('aria-live','polite');liveElement.setAttribute('aria-busy','false');document.body.appendChild(liveElement);}}};function announce(){const text=[];let priority='polite';let announcement;const il=announcements.length;for(let i=0;i<il;i++){announcement=announcements.pop();text.unshift(announcement.text);if(announcement.priority==='assertive')priority='assertive';}if(text.length){liveElement.innerHTML='';liveElement.setAttribute('aria-busy','true');liveElement.setAttribute('aria-live',priority);liveElement.innerHTML=text.join('\n');liveElement.setAttribute('aria-busy','false');}}Drupal.announce=function(text,priority){announcements.push({text,priority});return debounce(announce,200)();};})(Drupal,Drupal.debounce);;
35((Drupal)=>{Drupal.Message=class{constructor(messageWrapper=null){if(!messageWrapper)this.messageWrapper=Drupal.Message.defaultWrapper();else this.messageWrapper=messageWrapper;}static defaultWrapper(){let wrapper=document.querySelector('[data-drupal-messages]')||document.querySelector('[data-drupal-messages-fallback]');if(!wrapper){wrapper=document.createElement('div');document.body.appendChild(wrapper);}if(wrapper.hasAttribute('data-drupal-messages-fallback')){wrapper.removeAttribute('data-drupal-messages-fallback');wrapper.classList.remove('hidden');}wrapper.setAttribute('data-drupal-messages','');return wrapper.innerHTML===''?Drupal.Message.messageInternalWrapper(wrapper):wrapper.firstElementChild;}static getMessageTypeLabels(){return {status:Drupal.t('Status message'),error:Drupal.t('Error message'),warning:Drupal.t('Warning message')};}add(message,options={}){if(!options.hasOwnProperty('type'))options.type='status';if(typeof message!=='string')throw new Error('Message must be a string.');Drupal.Message.announce(message,options);options.id=options.id?String(options.id):`${options.type}-${Math.random().toFixed(15).replace('0.','')}`;if(!Drupal.Message.getMessageTypeLabels().hasOwnProperty(options.type)){const {type}=options;throw new Error(`The message type, ${type}, is not present in Drupal.Message.getMessageTypeLabels().`);}this.messageWrapper.appendChild(Drupal.theme('message',{text:message},options));return options.id;}select(id){return this.messageWrapper.querySelector(`[data-drupal-message-id^="${id}"]`);}remove(id){return this.messageWrapper.removeChild(this.select(id));}clear(){Array.prototype.forEach.call(this.messageWrapper.querySelectorAll('[data-drupal-message-id]'),(message)=>{this.messageWrapper.removeChild(message);});}static announce(message,options){if(!options.priority&&(options.type==='warning'||options.type==='error'))options.priority='assertive';if(options.announce!=='')Drupal.announce(options.announce||message,options.priority);}static messageInternalWrapper(messageWrapper){const innerWrapper=document.createElement('div');innerWrapper.setAttribute('class','messages__wrapper');messageWrapper.insertAdjacentElement('afterbegin',innerWrapper);return innerWrapper;}};Drupal.theme.message=({text},{type,id})=>{const messagesTypes=Drupal.Message.getMessageTypeLabels();const messageWrapper=document.createElement('div');messageWrapper.setAttribute('class',`messages messages--${type}`);messageWrapper.setAttribute('role',type==='error'||type==='warning'?'alert':'status');messageWrapper.setAttribute('data-drupal-message-id',id);messageWrapper.setAttribute('data-drupal-message-type',type);messageWrapper.setAttribute('aria-label',messagesTypes[type]);messageWrapper.innerHTML=`${text}`;return messageWrapper;};})(Drupal);;
36(function($,window,Drupal,drupalSettings,loadjs,{isFocusable,tabbable}){Drupal.behaviors.AJAX={attach(context,settings){function loadAjaxBehavior(base){const elementSettings=settings.ajax[base];if(typeof elementSettings.selector==='undefined')elementSettings.selector=`#${base}`;
36once('drupal-ajax',$(elementSettings.selector)).forEach((el)=>{elementSettings.element=el;elementSettings.base=base;Drupal.ajax(elementSettings);});}Object.keys(settings.ajax||{}).forEach(loadAjaxBehavior);Drupal.ajax.bindAjaxLinks(document.body);once('ajax','.use-ajax-submit').forEach((el)=>{const elementSettings={};elementSettings.url=$(el.form).attr('action');elementSettings.setClick=true;elementSettings.event='click';elementSettings.progress={type:'throbber'};elementSettings.base=el.id;elementSettings.element=el;Drupal.ajax(elementSettings);});},detach(context,settings,trigger){if(trigger==='unload')Drupal.ajax.expired().forEach((instance)=>{Drupal.ajax.instances[instance.instanceIndex]=null;});}};Drupal.AjaxError=function(xmlhttp,uri,customMessage){let statusCode;let statusText;let responseText;if(xmlhttp.status)statusCode=`\n${Drupal.t('An AJAX HTTP error occurred.')}\n${Drupal.t('HTTP Result Code: !status',{'!status':xmlhttp.status})}`;else statusCode=`\n${Drupal.t('An AJAX HTTP request terminated abnormally.')}`;statusCode+=`\n${Drupal.t('Debugging information follows.')}`;const pathText=`\n${Drupal.t('Path: !uri',{'!uri':uri})}`;statusText='';try{statusText=`\n${Drupal.t('StatusText: !statusText',{'!statusText':xmlhttp.statusText.trim()})}`;}catch(e){}responseText='';try{responseText=`\n${Drupal.t('ResponseText: !responseText',{'!responseText':xmlhttp.responseText.trim()})}`;}catch(e){}responseText=responseText.replace(/<("[^"]*"|'[^']*'|[^'">])*>/gi,'');responseText=responseText.replace(/[\n]+\s+/g,'\n');const readyStateText=xmlhttp.status===0?`\n${Drupal.t('ReadyState: !readyState',{'!readyState':xmlhttp.readyState})}`:'';customMessage=customMessage?`\n${Drupal.t('CustomMessage: !customMessage',{'!customMessage':customMessage})}`:'';this.message=statusCode+pathText+statusText+customMessage+responseText+readyStateText;this.name='AjaxError';if(!Drupal.AjaxError.messages)Drupal.AjaxError.messages=new Drupal.Message();Drupal.AjaxError.messages.add(Drupal.t("Oops, something went wrong. Check your browser's developer console for more details."),{type:'error'});};Drupal.AjaxError.prototype=new Error();Drupal.AjaxError.prototype.constructor=Drupal.AjaxError;Drupal.ajax=function(settings){if(arguments.length!==1)throw new Error('Drupal.ajax() function must be called with one configuration object only');const base=settings.base||false;const element=settings.element||false;delete settings.base;delete settings.element;if(!settings.progress&&!element)settings.progress=false;const ajax=new Drupal.Ajax(base,element,settings);ajax.instanceIndex=Drupal.ajax.instances.length;Drupal.ajax.instances.push(ajax);return ajax;};Drupal.ajax.instances=[];Drupal.ajax.expired=function(){return Drupal.ajax.instances.filter((instance)=>instance&&instance.element!==false&&!document.body.contains(instance.element));};Drupal.ajax.bindAjaxLinks=(element)=>{once('ajax','.use-ajax',element).forEach((ajaxLink)=>{const $linkElement=$(ajaxLink);const elementSettings={progress:{type:'throbber'},dialogType:$linkElement.data('dialog-type'),dialog:$linkElement.data('dialog-options'),dialogRenderer:$linkElement.data('dialog-renderer'),base:$linkElement.attr('id'),element:ajaxLink};const href=$linkElement.attr('href');if(href){elementSettings.url=href;elementSettings.event='click';}const httpMethod=$linkElement.data('ajax-http-method');if(httpMethod)elementSettings.httpMethod=httpMethod;Drupal.ajax(elementSettings);});};Drupal.Ajax=function(base,element,elementSettings){const defaults={httpMethod:'POST',event:element?'mousedown':null,keypress:true,selector:base?`#${base}`:null,effect:'none',speed:'none',method:'replaceWith',progress:{type:'throbber',message:Drupal.t('Processing...')},submit:{js:true}};$.extend(this,defaults,elementSettings);this.commands=new Drupal.AjaxCommands();this.instanceIndex=false;if(this.wrapper)this.wrapper=`#${this.wrapper}`;this.element=element;this.preCommandsFocusedElementSelector=null;this.elementSettings=elementSettings;if(this.element&&this.element.form)this.$form=$(this.element.form);if(!this.url){const $element=$(this.element);if(this.element.tagName==='A')this.url=$element.attr('href');else{if(this.element&&element.form)this.url=this.$form.attr('action');}}const originalUrl=this.url;this.url=this.url.replace(/\/nojs(\/|$|\?|#)/,'/ajax$1');if(drupalSettings.ajaxTrustedUrl[originalUrl])drupalSettings.ajaxTrustedUrl[this.url]=true;const ajax=this;ajax.options={url:ajax.url,data:ajax.submit,isInProgress(){return ajax.ajaxing;},beforeSerialize(elementSettings,options){return ajax.beforeSerialize(elementSettings,options);},beforeSubmit(formValues,elementSettings,options){ajax.ajaxing=true;ajax.preCommandsFocusedElementSelector=null;return ajax.beforeSubmit(formValues,elementSettings,options);},beforeSend(xmlhttprequest,options){ajax.ajaxing=true;return ajax.beforeSend(xmlhttprequest,options);},success(response,status,xmlhttprequest){ajax.preCommandsFocusedElementSelector=document.activeElement.getAttribute('data-drupal-selector');if(typeof response==='string')response=$.parseJSON(response);if(response!==null&&!drupalSettings.ajaxTrustedUrl[ajax.url])if(xmlhttprequest.getResponseHeader('X-Drupal-Ajax-Token')!=='1'){const customMessage=Drupal.t('The response failed verification so will not be processed.');return ajax.error(xmlhttprequest,ajax.url,customMessage);}return (Promise.resolve(ajax.success(response,status)).then(()=>{ajax.ajaxing=false;
36$(document).trigger('ajaxSuccess',[xmlhttprequest,this]);$(document).trigger('ajaxComplete',[xmlhttprequest,this]);if(--$.active===0)$(document).trigger('ajaxStop');}));},error(xmlhttprequest,status,error){ajax.ajaxing=false;},complete(xmlhttprequest,status){if(status==='error'||status==='parsererror')return ajax.error(xmlhttprequest,ajax.url);},dataType:'json',jsonp:false,method:ajax.httpMethod};if(elementSettings.dialog)ajax.options.data.dialogOptions=elementSettings.dialog;if(!ajax.options.url.includes('?'))ajax.options.url+='?';else ajax.options.url+='&';let wrapper=`drupal_${elementSettings.dialogType||'ajax'}`;if(elementSettings.dialogRenderer)wrapper+=`.${elementSettings.dialogRenderer}`;ajax.options.url+=`${Drupal.ajax.WRAPPER_FORMAT}=${wrapper}`;$(ajax.element).on(elementSettings.event,function(event){if(!drupalSettings.ajaxTrustedUrl[ajax.url]&&!Drupal.url.isLocal(ajax.url))throw new Error(Drupal.t('The callback URL is not local and not trusted: !url',{'!url':ajax.url}));return ajax.eventResponse(this,event);});if(elementSettings.keypress)$(ajax.element).on('keypress',function(event){return ajax.keypressResponse(this,event);});if(elementSettings.prevent)$(ajax.element).on(elementSettings.prevent,false);};Drupal.ajax.WRAPPER_FORMAT='_wrapper_format';Drupal.Ajax.AJAX_REQUEST_PARAMETER='_drupal_ajax';Drupal.Ajax.prototype.execute=function(){if(this.ajaxing)return;try{this.beforeSerialize(this.element,this.options);return $.ajax(this.options);}catch(e){this.ajaxing=false;window.alert(`An error occurred while attempting to process ${this.options.url}: ${e.message}`);return $.Deferred().reject();}};Drupal.Ajax.prototype.keypressResponse=function(element,event){const ajax=this;if(event.which===13||(event.which===32&&element.type!=='text'&&element.type!=='textarea'&&element.type!=='tel'&&element.type!=='number')){event.preventDefault();event.stopPropagation();$(element).trigger(ajax.elementSettings.event);}};Drupal.Ajax.prototype.eventResponse=function(element,event){event.preventDefault();event.stopPropagation();const ajax=this;if(ajax.ajaxing)return;try{if(ajax.$form){if(ajax.setClick)element.form.clk=element;ajax.$form.ajaxSubmit(ajax.options);}else{ajax.beforeSerialize(ajax.element,ajax.options);$.ajax(ajax.options);}}catch(e){ajax.ajaxing=false;window.alert(`An error occurred while attempting to process ${ajax.options.url}: ${e.message}`);}};Drupal.Ajax.prototype.beforeSerialize=function(element,options){if(this.$form&&document.body.contains(this.$form.get(0))){const settings=this.settings||drupalSettings;Drupal.detachBehaviors(this.$form.get(0),settings,'serialize');}options.data[Drupal.Ajax.AJAX_REQUEST_PARAMETER]=1;const pageState=drupalSettings.ajaxPageState;options.data['ajax_page_state[theme]']=pageState.theme;options.data['ajax_page_state[theme_token]']=pageState.theme_token;options.data['ajax_page_state[libraries]']=pageState.libraries;};Drupal.Ajax.prototype.beforeSubmit=function(formValues,element,options){};Drupal.Ajax.prototype.beforeSend=function(xmlhttprequest,options){if(this.$form){options.extraData=options.extraData||{};options.extraData.ajax_iframe_upload='1';const v=$.fieldValue(this.element);if(v!==null)options.extraData[this.element.name]=v;}$(this.element).prop('disabled',true);if(!this.progress||!this.progress.type)return;const progressIndicatorMethod=`setProgressIndicator${this.progress.type.slice(0,1).toUpperCase()}${this.progress.type.slice(1).toLowerCase()}`;if(progressIndicatorMethod in this&&typeof this[progressIndicatorMethod]==='function')this[progressIndicatorMethod].call(this);};Drupal.theme.ajaxProgressThrobber=(message)=>{const messageMarkup=typeof message==='string'?Drupal.theme('ajaxProgressMessage',message):'';const throbber='<div class="throbber">&nbsp;</div>';return `<div class="ajax-progress ajax-progress-throbber">${throbber}${messageMarkup}</div>`;};Drupal.theme.ajaxProgressIndicatorFullscreen=()=>'<div class="ajax-progress ajax-progress-fullscreen">&nbsp;</div>';Drupal.theme.ajaxProgressMessage=(message)=>`<div class="message">${message}</div>`;Drupal.theme.ajaxProgressBar=($element)=>$('<div class="ajax-progress ajax-progress-bar"></div>').append($element);Drupal.Ajax.prototype.setProgressIndicatorBar=function(){const progressBar=new Drupal.ProgressBar(`ajax-progress-${this.element.i
36d}`,$.noop,this.progress.method,$.noop);if(this.progress.message)progressBar.setProgress(-1,this.progress.message);if(this.progress.url)progressBar.startMonitoring(this.progress.url,this.progress.interval||1500);this.progress.element=$(Drupal.theme('ajaxProgressBar',progressBar.element));this.progress.object=progressBar;$(this.element).after(this.progress.element);};Drupal.Ajax.prototype.setProgressIndicatorThrobber=function(){this.progress.element=$(Drupal.theme('ajaxProgressThrobber',this.progress.message));if($(this.element).closest('[data-drupal-ajax-container]').length)$(this.element).closest('[data-drupal-ajax-container]').after(this.progress.element);else $(this.element).after(this.progress.element);};Drupal.Ajax.prototype.setProgressIndicatorFullscreen=function(){this.progress.element=$(Drupal.theme('ajaxProgressIndicatorFullscreen'));$('body').append(this.progress.element);};Drupal.Ajax.prototype.commandExecutionQueue=function(response,status){const ajaxCommands=this.commands;return Object.keys(response||{}).reduce((executionQueue,key)=>executionQueue.then(()=>{const {command}=response[key];if(command&&ajaxCommands[command])return ajaxCommands[command](this,response[key],status);}),Promise.resolve());};Drupal.Ajax.prototype.success=function(response,status){if(this.progress.element)$(this.progress.element).remove();if(this.progress.object)this.progress.object.stopMonitoring();$(this.element).prop('disabled',false);const elementParents=$(this.element).parents('[data-drupal-selector]').addBack().toArray();const focusChanged=Object.keys(response||{}).some((key)=>{const {command,method}=response[key];return (command==='focusFirst'||command==='openDialog'||(command==='invoke'&&method==='focus'));});return (this.commandExecutionQueue(response,status).then(()=>{if(!focusChanged){let target=false;if(this.element){if($(this.element).data('refocus-blur')&&this.preCommandsFocusedElementSelector)target=document.querySelector(`[data-drupal-selector="${this.preCommandsFocusedElementSelector}"]`);if(!target&&!$(this.element).data('disable-refocus')){for(let n=elementParents.length-1;!target&&n>=0;n--)target=document.querySelector(`[data-drupal-selector="${elementParents[n].getAttribute('data-drupal-selector')}"]`);}}if(target)$(target).trigger('focus');}if(this.$form&&document.body.contains(this.$form.get(0))){const settings=this.settings||drupalSettings;Drupal.attachBehaviors(this.$form.get(0),settings);}this.settings=null;}).catch((error)=>console.error(Drupal.t('An error occurred during the execution of the Ajax response: !error',{'!error':error}))));};Drupal.Ajax.prototype.getEffect=function(response){const type=response.effect||this.effect;const speed=response.speed||this.speed;const effect={};if(type==='none'){effect.showEffect='show';effect.hideEffect='hide';effect.showSpeed='';}else if(type==='fade'){effect.showEffect='fadeIn';effect.hideEffect='fadeOut';effect.showSpeed=speed;}else{effect.showEffect=`${type}Toggle`;effect.hideEffect=`${type}Toggle`;effect.showSpeed=speed;}return effect;};Drupal.Ajax.prototype.error=function(xmlhttprequest,uri,customMessage){if(this.progress.element)$(this.progress.element).remove();if(this.progress.object)this.progress.object.stopMonitoring();$(this.wrapper).show();$(this.element).prop('disabled',false);if(this.$form&&document.body.contains(this.$form.get(0))){const settings=this.settings||drupalSettings;Drupal.attachBehaviors(this.$form.get(0),settings);}throw new Drupal.AjaxError(xmlhttprequest,uri,customMessage);};Drupal.theme.ajaxWrapperNewContent=($newContent,ajax,response)=>(response.effect||ajax.effect)!=='none'&&$newContent.filter((i)=>!(($newContent[i].nodeName==='#comment'||($newContent[i].nodeName==='#text'&&/^(\s|\n|\r)*$/.test($newContent[i].textContent))))).length>1?Drupal.theme('ajaxWrapperMultipleRootElements',$newContent):$newContent;Drupal.theme.ajaxWrapperMultipleRootElements=($elements)=>$('<div></div>').append($elements);Drupal.AjaxCommands=function(){};Drupal.AjaxCommands.prototype={insert(ajax,response){const $wrapper=response.selector?$(response.selector):$(ajax.wrapper);const method=response.method||ajax.method;const effect=ajax.getEffect(response);const settings=response.settings||ajax.settings||drupalSettings;const parseHTML=(htmlString)=>{const fragment=document.createDocumentFragment();const template=fragment.appendChild(document.createElement('template'));template.innerHTML=htmlString;return template.content.childNodes;};let $newContent=$(parseHTML(response.data));
36$newContent=Drupal.theme('ajaxWrapperNewContent',$newContent,ajax,response);switch(method){case 'html':case 'replaceWith':case 'replaceAll':case 'empty':case 'remove':Drupal.detachBehaviors($wrapper.get(0),settings);break;default:break;}$wrapper[method]($newContent);if(effect.showEffect!=='show')$newContent.hide();const $ajaxNewContent=$newContent.find('.ajax-new-content');if($ajaxNewContent.length){$ajaxNewContent.hide();$newContent.show();$ajaxNewContent[effect.showEffect](effect.showSpeed);}else{if(effect.showEffect!=='show')$newContent[effect.showEffect](effect.showSpeed);}$newContent.each((index,element)=>{if(element.nodeType===Node.ELEMENT_NODE&&document.documentElement.contains(element))Drupal.attachBehaviors(element,settings);});},remove(ajax,response,status){const settings=response.settings||ajax.settings||drupalSettings;$(response.selector).each(function(){Drupal.detachBehaviors(this,settings);}).remove();},changed(ajax,response,status){const $element=$(response.selector);if(!$element.hasClass('ajax-changed')){$element.addClass('ajax-changed');if(response.asterisk)$element.find(response.asterisk).append(` <abbr class="ajax-changed" title="${Drupal.t('Changed')}">*</abbr> `);}},alert(ajax,response,status){window.alert(response.text);},announce(ajax,response){if(response.priority)Drupal.announce(response.text,response.priority);else Drupal.announce(response.text);},redirect(ajax,response,status){window.location=response.url;},css(ajax,response,status){$(response.selector).css(response.argument);},settings(ajax,response,status){const ajaxSettings=drupalSettings.ajax;if(ajaxSettings)Drupal.ajax.expired().forEach((instance)=>{if(instance.selector){const selector=instance.selector.replace('#','');if(selector in ajaxSettings)delete ajaxSettings[selector];}});if(response.merge)$.extend(true,drupalSettings,response.settings);else ajax.settings=response.settings;},data(ajax,response,status){$(response.selector).data(response.name,response.value);},focusFirst(ajax,response,status){let focusChanged=false;const container=document.querySelector(response.selector);if(container){const tabbableElements=tabbable(container);if(tabbableElements.length){tabbableElements[0].focus();focusChanged=true;}else{if(isFocusable(container)){container.focus();focusChanged=true;}}}if(ajax.hasOwnProperty('element')&&!focusChanged)ajax.element.focus();},invoke(ajax,response,status){const $element=$(response.selector);$element[response.method](...response.args);},restripe(ajax,response,status){$(response.selector).find('> tbody > tr:visible, > tr:visible').removeClass('odd even').filter(':even').addClass('odd').end().filter(':odd').addClass('even');},update_build_id(ajax,response,status){document.querySelectorAll(`input[name="form_build_id"][value="${response.old}"]`).forEach((item)=>{item.value=response.new;});},add_css(ajax,response,status){if(typeof response.data==='string'){Drupal.deprecationError({message:'Passing a string to the Drupal.ajax.add_css() method is deprecated in 10.1.0 and is removed from drupal:11.0.0. See https://www.drupal.org/node/3154948.'});$('head').prepend(response.data);return;}const allUniqueBundleIds=response.data.map(function(style){const uniqueBundleId=style.href;if(!loadjs.isDefined(uniqueBundleId))loadjs(`css!${style.href}`,uniqueBundleId,{before(path,styleEl){Object.keys(style).forEach((attributeKey)=>{styleEl.setAttribute(attributeKey,style[attributeKey]);});}});return uniqueBundleId;});return new Promise((resolve,reject)=>{loadjs.ready(allUniqueBundleIds,{success(){resolve();},error(depsNotFound){const message=Drupal.t(`The following files could not be loaded: @dependencies`,{'@dependencies':depsNotFound.join(', ')});reject(message);}});});},message(ajax,response){const messages=new Drupal.Message(document.querySelector(response.messageWrapperQuerySelector));if(response.clearPrevious)messages.clear();messages.add(response.message,response.messageOptions);},add_js(ajax,response,status){const parentEl=document.querySelector(response.selector||'body');const settings=ajax.settings||drupalSettings;const allUniqueBundleIds=response.data.map((script)=>{const uniqueBundleId=script.src;
36if(!loadjs.isDefined(uniqueBundleId))loadjs(script.src,uniqueBundleId,{async:false,before(path,scriptEl){Object.keys(script).forEach((attributeKey)=>{scriptEl.setAttribute(attributeKey,script[attributeKey]);});parentEl.appendChild(scriptEl);return false;}});return uniqueBundleId;});return new Promise((resolve,reject)=>{loadjs.ready(allUniqueBundleIds,{success(){Drupal.attachBehaviors(parentEl,settings);resolve();},error(depsNotFound){const message=Drupal.t(`The following files could not be loaded: @dependencies`,{'@dependencies':depsNotFound.join(', ')});reject(message);}});});},scrollTop(ajax,response){document.querySelector(response.selector)?.scrollIntoView();}};const stopEvent=(xhr,settings)=>{return (xhr.getResponseHeader('X-Drupal-Ajax-Token')==='1'&&settings.isInProgress&&settings.isInProgress());};$.extend(true,$.event.special,{ajaxSuccess:{trigger(event,xhr,settings){if(stopEvent(xhr,settings))return false;}},ajaxComplete:{trigger(event,xhr,settings){if(stopEvent(xhr,settings)){$.active++;return false;}}}});})(jQuery,window,Drupal,drupalSettings,loadjs,window.tabbable);;
37(function(Drupal){Drupal.theme.ajaxProgressBar=function($element){return $element.addClass('ajax-progress ajax-progress-bar');};})(Drupal);;
38(function($,Drupal,drupalSettings){Drupal.Views={};Drupal.Views.parseQueryString=function(query){const args={};if(query.includes('?'))query=query.substring(query.indexOf('?')+1);let pair;const pairs=query.split('&');for(let i=0;i<pairs.length;i++){pair=pairs[i].split('=');if(pair[0]!=='q')if(pair[1])args[decodeURIComponent(pair[0].replace(/\+/g,' '))]=decodeURIComponent(pair[1].replace(/\+/g,' '));else args[decodeURIComponent(pair[0].replace(/\+/g,' '))]='';}return args;};Drupal.Views.parseViewArgs=function(href,viewPath){const returnObj={};const path=Drupal.Views.getPath(href);const viewHref=Drupal.url(viewPath).substring(drupalSettings.path.baseUrl.length);if(viewHref&&path.startsWith(`${viewHref}/`)){returnObj.view_args=decodeURIComponent(path.substring(viewHref.length+1,path.length));returnObj.view_path=path;}return returnObj;};Drupal.Views.pathPortion=function(href){const protocol=window.location.protocol;if(href.startsWith(protocol))href=href.substring(href.indexOf('/',protocol.length+2));return href;};Drupal.Views.getPath=function(href){href=Drupal.Views.pathPortion(href);href=href.substring(drupalSettings.path.baseUrl.length,href.length);if(href.startsWith('?q='))href=href.substring(3,href.length);const chars=['#','?','&'];for(let i=0;i<chars.length;i++)if(href.includes(chars[i]))href=href.substring(0,href.indexOf(chars[i]));return href;};})(jQuery,Drupal,drupalSettings);;
39(function($,Drupal,drupalSettings){Drupal.behaviors.ViewsAjaxView={};Drupal.behaviors.ViewsAjaxView.attach=function(context,settings){if(settings&&settings.views&&settings.views.ajaxViews){const {views:{ajaxViews}}=settings;Object.keys(ajaxViews||{}).forEach((i)=>{Drupal.views.instances[i]=new Drupal.views.ajaxView(ajaxViews[i]);});}};Drupal.behaviors.ViewsAjaxView.detach=(context,settings,trigger)=>{if(trigger==='unload')if(settings&&settings.views&&settings.views.ajaxViews){const {views:{ajaxViews}}=settings;Object.keys(ajaxViews||{}).forEach((i)=>{const selector=`.js-view-dom-id-${ajaxViews[i].view_dom_id}`;if($(selector,context).length){delete Drupal.views.instances[i];delete settings.views.ajaxViews[i];}});}};Drupal.views={};Drupal.views.instances={};Drupal.views.ajaxView=function(settings){const selector=`.js-view-dom-id-${settings.view_dom_id}`;this.$view=$(selector);let ajaxPath=drupalSettings.views.ajax_path;if(ajaxPath.constructor.toString().includes('Array'))ajaxPath=ajaxPath[0];let queryString=window.location.search||'';if(queryString!==''){queryString=queryString.slice(1).replace(/q=[^&]+&?|page=[^&]+&?|&?render=[^&]+/,'');if(queryString!=='')queryString=(/\?/.test(ajaxPath)?'&':'?')+queryString;}this.element_settings={url:ajaxPath+queryString,submit:settings,httpMethod:'GET',setClick:true,event:'click',selector,progress:{type:'fullscreen'}};this.settings=settings;this.$exposed_form=$(`form#views-exposed-form-${settings.view_name.replace(/_/g,'-')}-${settings.view_display_id.replace(/_/g,'-')}`);once('exposed-form',this.$exposed_form).forEach(this.attachExposedFormAjax.bind(this));
39once('ajax-pager',this.$view.filter(this.filterNestedViews.bind(this))).forEach(this.attachPagerAjax.bind(this));const selfSettings=$.extend({},this.element_settings,{event:'RefreshView',base:this.selector,httpMethod:'GET',element:this.$view.get(0)});this.refreshViewAjax=Drupal.ajax(selfSettings);};Drupal.views.ajaxView.prototype.attachExposedFormAjax=function(){const that=this;this.exposedFormAjax=[];$('input[type=submit], button[type=submit], input[type=image]',this.$exposed_form).not('[data-drupal-selector=edit-reset]').each(function(index){const selfSettings=$.extend({},that.element_settings,{base:$(this).attr('id'),element:this});that.exposedFormAjax[index]=Drupal.ajax(selfSettings);});};Drupal.views.ajaxView.prototype.filterNestedViews=function(){return !this.$view.parents('.view').length;};Drupal.views.ajaxView.prototype.attachPagerAjax=function(){this.$view.find('.js-pager__items a, th.views-field a, .attachment .views-summary a').each(this.attachPagerLinkAjax.bind(this));};Drupal.views.ajaxView.prototype.attachPagerLinkAjax=function(id,link){const $link=$(link);const viewData={};const href=$link.attr('href');$.extend(viewData,this.settings,Drupal.Views.parseQueryString(href),Drupal.Views.parseViewArgs(href,this.settings.view_base_path));const selfSettings=$.extend({},this.element_settings,{submit:viewData,base:false,element:link,httpMethod:'GET'});this.pagerAjax=Drupal.ajax(selfSettings);};Drupal.AjaxCommands.prototype.viewsScrollTop=function(ajax,response){Drupal.AjaxCommands.prototype.scrollTop(ajax,response);};})(jQuery,Drupal,drupalSettings);;
40(function($,Drupal,drupalSettings){var original={path:window.location.protocol+"//"+window.location.hostname+(window.location.port?':'+window.location.port:'')+window.location.pathname,query:window.location.search||''};window.onpageshow=function(event){if(event.persisted)window.location.reload();};Drupal.ViewsAjaxHistory=Drupal.ViewsAjaxHistory||{};Drupal.ViewsAjaxHistory.beforeSubmit=Drupal.Ajax.prototype.beforeSubmit;Drupal.ViewsAjaxHistory.beforeSerialize=Drupal.Ajax.prototype.beforeSerialize;Drupal.ViewsAjaxHistory.beforeSend=Drupal.Ajax.prototype.beforeSend;Drupal.behaviors.viewsAjaxHistory={attach:function(context,drupalSettings){if(once('views-ajax-history-first-page-load','body').length)drupalSettings.viewsAjaxHistory.onloadPageItem=drupalSettings.viewsAjaxHistory.renderPageItem;}};var parseQueryString=function(query){var args={};var pos=query.indexOf('?');if(pos!=-1)query=query.substring(pos+1);var pairs=query.split('&');var pair,key,value;for(var i in pairs)if(typeof (pairs[i])=='string'){pair=pairs[i].split('=');if(pair[0]!='q'&&pair[1]){key=decodeURIComponent(pair[0].replace(/\+/g,' '));value=decodeURIComponent(pair[1].replace(/\+/g,' '));if(/\[\]$/.test(key))if(!(key in args))args[key]=[value];else{if(!$.inArray(value,args[key])!==-1)args[key].push(value);}else args[key]=value;}}return args;};var cleanURL=function(url,viewArgs){var args=('reset' in viewArgs)?{}:parseQueryString(url);var query=[];if(/\?/.test(drupalSettings.views.ajax_path))query.push('q='+Drupal.Views.getPath(url));$.each(args,function(name,value){if(name in viewArgs)value=viewArgs[name];if(Array.isArray(value))$.merge(query,$.map($.unique(value),function(sub){return name+'='+encodeURIComponent(sub);}));else query.push(name+'='+encodeURIComponent(value));});url=window.location.href.split('?');return url[0]+(query.length?'?'+query.join('&'):'');};var cleanStateForHistory=function(state){var stateWithNoFunctions={};for(var key in state)if(typeof state[key]!=="function")stateWithNoFunctions[key]=state[key];return stateWithNoFunctions;};var parseQuery=function(queryString){var query={};$.map(queryString.split('&'),function(val){var s=val.split('=');query[s[0]]=s[1];});return query;};var addState=function(options,url){var historyOptions=$.extend({},options);drupalSettings.viewsAjaxHistory.lastViewDomID=options.data.view_dom_id;$(window).unbind('popstate',loadView);history.pushState(cleanStateForHistory(historyOptions),document.title,cleanURL(url,options.data));$(window).bind('popstate',loadView);};var loadView=function(){var options;if(history.state===null){var viewsAjaxSettingsKey='views_dom_id:'+drupalSettings.viewsAjaxHistory.lastViewDomID;if(drupalSettings.views.ajaxViews.hasOwnProperty(viewsAjaxSettingsKey)){var viewsAjaxSettings=drupalSettings.views.ajaxViews[viewsAjaxSettingsKey];var initialExposedInput=drupalSettings.viewsAjaxHistory.initialExposedInput[viewsAjaxSettingsKey];$.extend(viewsAjaxSettings,initialExposedInput);viewsAjaxSettings.page=drupalSettings.viewsAjaxHistory.onloadPageItem;options={data:viewsAjaxSettings,url:drupalSettings.views.ajax_path};}}else options=history.state;var settings=$.extend({submit:options.data,setClick:true,event:'click',selector:'.view-dom-id-'+options.data.view_dom_id,progress:{type:'throbber'},httpMethod:'GET'},options);var viewsAjaxSubmit=Drupal.ajax(settings);viewsAjaxSubmit.execute();};var hasFacets=function(viewName){var hasFacets=false;
40if(drupalSettings.facets_views_ajax)$.each(drupalSettings.facets_views_ajax,function(facetId,facetSettings){if(facetSettings.view_id===viewName)hasFacets=true;});return hasFacets;};Drupal.Ajax.prototype.beforeSerialize=function(element,options){if(options.data.view_name&&element&&$(element).is('a')){let params=new URLSearchParams($(element).attr('href'));if(!$.isEmptyObject(drupalSettings.viewsAjaxHistory.excludeArgs)){var keysToRemove=[];$.each(drupalSettings.viewsAjaxHistory.excludeArgs,function(index,pathToExclude){params.forEach(function(value,key,parent){if(key.startsWith(pathToExclude))keysToRemove.push(key);});});keysToRemove.forEach(function(key){params.delete(key);});}addState(options,'?'+params.toString());}Drupal.ViewsAjaxHistory.beforeSerialize.apply(this,arguments);};Drupal.Ajax.prototype.beforeSubmit=function(form_values,element,options){if(options&&options.data&&options.data.view_name){var url=original.path+'?'+new URLSearchParams(new FormData(element.get(0))).toString();var currentQuery=parseQueryString(window.location.href);var ajaxUrl=options.url.split('?')[0];var ajaxQuery=parseQueryString(options.url);if($.inArray("page",Object.keys(currentQuery))!==-1){delete currentQuery.page;delete ajaxQuery.page;}$.each(form_values,function(){if(/\[\]$/.test(this.name)){if(!options.data[this.name])options.data[this.name]=[];options.data[this.name].push(this.value);}else options.data[this.name]=this.value;});element.find('[name]').each(function(){if(currentQuery[this.name]){delete currentQuery[this.name];delete ajaxQuery[this.name];}});element.find('input[type="checkbox"]').each(function(key,value){if(!form_values[this.name]){if(currentQuery[this.name])delete currentQuery[this.name];else{if(options.data[this.name])delete options.data[this.name];}if(ajaxQuery[this.name])delete ajaxQuery[this.name];}});let removeMultiValueQueryKeys=function(multiValueParamToRemove,queryParams){Object.getOwnPropertyNames(queryParams).forEach(function(queryKey){let queryKeyWithoutBracket=queryKey.replace(/\[\d+]$/,'');if(multiValueParamToRemove===queryKeyWithoutBracket)delete queryParams[queryKey];});return queryParams;};element.find('select[multiple]').each(function(key,value){if($(value).val().length===0){delete options.data[this.name];delete currentQuery[this.name];delete ajaxQuery[this.name];}let nameWithoutBracket=this.name.replace(/\[]$/,'');currentQuery=removeMultiValueQueryKeys(nameWithoutBracket,currentQuery);ajaxQuery=removeMultiValueQueryKeys(nameWithoutBracket,ajaxQuery);});url+=(/\?/.test(url)?'&':'?')+$.param(currentQuery);options.url=ajaxUrl+'?'+$.param(ajaxQuery);addState(options,url);}Drupal.ViewsAjaxHistory.beforeSubmit.apply(this,arguments);};Drupal.Ajax.prototype.beforeSend=function(xmlhttprequest,options){var data=(typeof options.data==='string')?parseQuery(options.data):{};if(data.view_name&&options.type!=='GET')if(hasFacets(data.view_name)===true){var currentQuery=parseQueryString(window.location.href);options.url=drupalSettings.views.ajax_path+'?'+$.param(currentQuery)+'&'+Drupal.ajax.WRAPPER_FORMAT+'=drupal_ajax';}else{var delimiter=drupalSettings.views.ajax_path.indexOf('?')===-1?'?':'&';options.url=drupalSettings.views.ajax_path+delimiter+Drupal.ajax.WRAPPER_FORMAT+'=drupal_ajax';}Drupal.ViewsAjaxHistory.beforeSend.apply(this,arguments);};})(jQuery,Drupal,drupalSettings);;
41!function(){"use strict";var e={282:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.clearChoices=t.activateChoices=t.filterChoices=t.addChoice=void 0;var n=i(883);t.addChoice=function(e){var t=e.value,i=e.label,r=e.id,s=e.groupId,o=e.disabled,a=e.elementId,c=e.customProperties,l=e.placeholder,h=e.keyCode;return {type:n.ACTION_TYPES.ADD_CHOICE,value:t,label:i,id:r,groupId:s,disabled:o,elementId:a,customProperties:c,placeholder:l,keyCode:h};},t.filterChoices=function(e){return {type:n.ACTION_TYPES.FILTER_CHOICES,results:e};},t.activateChoices=function(e){return void 0===e&&(e=!0),{type:n.ACTION_TYPES.ACTIVATE_CHOICES,active:e};},t.clearChoices=function(){return {type:n.ACTION_TYPES.CLEAR_CHOICES};};}
41,783:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.addGroup=void 0;var n=i(883);t.addGroup=function(e){var t=e.value,i=e.id,r=e.active,s=e.disabled;return {type:n.ACTION_TYPES.ADD_GROUP,value:t,id:i,active:r,disabled:s};};},464:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.highlightItem=t.removeItem=t.addItem=void 0;var n=i(883);t.addItem=function(e){var t=e.value,i=e.label,r=e.id,s=e.choiceId,o=e.groupId,a=e.customProperties,c=e.placeholder,l=e.keyCode;return {type:n.ACTION_TYPES.ADD_ITEM,value:t,label:i,id:r,choiceId:s,groupId:o,customProperties:a,placeholder:c,keyCode:l};},t.removeItem=function(e,t){return {type:n.ACTION_TYPES.REMOVE_ITEM,id:e,choiceId:t};},t.highlightItem=function(e,t){return {type:n.ACTION_TYPES.HIGHLIGHT_ITEM,id:e,highlighted:t};};},137:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.setIsLoading=t.resetTo=t.clearAll=void 0;var n=i(883);t.clearAll=function(){return {type:n.ACTION_TYPES.CLEAR_ALL};},t.resetTo=function(e){return {type:n.ACTION_TYPES.RESET_TO,state:e};},t.setIsLoading=function(e){return {type:n.ACTION_TYPES.SET_IS_LOADING,isLoading:e};};},373:function(e,t,i){var n=this&&this.__spreadArray||function(e,t,i){if(i||2===arguments.length)for(var n,r=0,s=t.length;r<s;r++)!n&&r in t||(n||(n=Array.prototype.slice.call(t,0,r)),n[r]=t[r]);return e.concat(n||Array.prototype.slice.call(t));},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e};};Object.defineProperty(t,"__esModule",{value:!0});var s=r(i(996)),o=r(i(221)),a=i(282),c=i(783),l=i(464),h=i(137),u=i(520),d=i(883),p=i(789),f=i(799),m=i(655),v=r(i(744)),g=r(i(686)),_="-ms-scroll-limit" in document.documentElement.style&&"-ms-ime-align" in document.documentElement.style,y={},E=function(){function e(t,i){void 0===t&&(t="[data-choice]"),void 0===i&&(i={});var r=this;void 0===i.allowHTML&&console.warn("Deprecation warning: allowHTML will default to false in a future release. To render HTML in Choices, you will need to set it to true. Setting allowHTML will suppress this message."),this.config=s.default.all([p.DEFAULT_CONFIG,e.defaults.options,i],{arrayMerge:function(e,t){return n([],t,!0);}});var o=(0,f.diff)(this.config,p.DEFAULT_CONFIG);o.length&&console.warn("Unknown config option(s) passed",o.join(", "));var a="string"==typeof t?document.querySelector(t):t;if(!(a instanceof HTMLInputElement||a instanceof HTMLSelectElement))throw TypeError("Expected one of the following types text|select-one|select-multiple");if(this._isTextElement=a.type===d.TEXT_TYPE,this._isSelectOneElement=a.type===d.SELECT_ONE_TYPE,this._isSelectMultipleElement=a.type===d.SELECT_MULTIPLE_TYPE,this._isSelectElement=this._isSelectOneElement||this._isSelectMultipleElement,this.config.searchEnabled=this._isSelectMultipleElement||this.config.searchEnabled,["auto","always"].includes("".concat(this.config.renderSelectedChoices))||(this.config.renderSelectedChoices="auto"),i.addItemFilter&&"function"!=typeof i.addItemFilter){var c=i.addItemFilter instanceof RegExp?i.addItemFilter:new RegExp(i.addItemFilter);this.config.addItemFilter=c.test.bind(c);}if(this._isTextElement?this.passedElement=new u.WrappedInput({element:a,classNames:this.config.classNames,delimiter:this.config.delimiter}):this.passedElement=new u.WrappedSelect({element:a,classNames:this.config.classNames,template:function(e){return r._templates.option(e);}}),this.initialised=!1,this._store=new v.default(),this._initialState=m.defaultState,this._currentState=m.defaultState,this._prevState=m.defaultState,this._currentValue="",this._canSearch=!!this.config.searchEnabled,this._isScrollingOnIe=!1,this._highlightPosition=0,this._wasTap=!0,this._placeholderValue=this._generatePlaceholderValue(),this._baseId=(0,f.generateId)(this.passedElement.element,"choices-"),this._direction=this.passedElement.dir,!this._direction){var l=window.getComputedStyle(this.passedElement.element).direction;l!==window.getComputedStyle(document.documentElement).direction&&(this._direction=l);}if(this._idNames={itemChoice:"item-choice"},this._isSelectElement&&(this._presetGroups=this.passedElement.optionGroups,this._presetOptions=this.passedElement.options),this._presetChoices=this.config.choices,this._presetItems=this.config.items,this.passedElement.value&&this._isTextElement){var h=this.passedElement.value.split(this.config.delimiter);this._presetItems=this._presetItems.concat(h);}if(this.passedElement.options&&this.passedElement.options.forEach((function(e){r._presetChoices.push({value:e.value,label:e.innerHTML,selected:!!e.selected,disabled:e.disabled||e.parentNode.disabled,placeholder:""===e.value||e.hasAttribute("placeholder"),customProperties:(0,f.parseCustomProperties)(e.dataset.customProperties)});})),this._render=this._render.bind(this),this._onFocus=this._onFocus.bind(this),this._onBlur=this._onBlur.bind(this),this._onKeyUp=this._onKeyUp.bind(this),this._onKeyDown=this._onKeyDown.bind(this),this._onClick=this._onClick.bind(this),this._onTouchMove=this._onTouchMove.bind(this),this._onTouchEnd=this._onTouchEnd.bind(this),this._onMouseDown=this._onMouseDown.bind(this),this._onMouseOver=this._onMouseOver.bind(this),this._onFormReset=this._onFormReset.bind(this),this._onSelectKey=this._onSelectKey.bind(this),this._onEnterKey=this._onEnterKey.bind(this),this._onEscapeKey=this._onEscapeKey.bind(this),this._onDirectionKey=this._onDirectionKey.bind(this),this._onDeleteKey=this._onDeleteKey.bind(this),this.passedElement.isActive)return this.config.silent||console.warn("Trying to initialise Choices on element already initialised",{element:t}),void (this.initialised=!0);this.init();}return Object.defineProperty(e,"defaults",{get:function(){return Object.preventExtensions({get options(){return y;},get templates(){return g.default;}});}
41,enumerable:!1,configurable:!0}),e.prototype.init=function(){if(!this.initialised){this._createTemplates(),this._createElements(),this._createStructure(),this._store.subscribe(this._render),this._render(),this._addEventListeners(),(!this.config.addItems||this.passedElement.element.hasAttribute("disabled"))&&this.disable(),this.initialised=!0;var e=this.config.callbackOnInit;e&&"function"==typeof e&&e.call(this);}},e.prototype.destroy=function(){this.initialised&&(this._removeEventListeners(),this.passedElement.reveal(),this.containerOuter.unwrap(this.passedElement.element),this.clearStore(),this._isSelectElement&&(this.passedElement.options=this._presetOptions),this._templates=g.default,this.initialised=!1);},e.prototype.enable=function(){return this.passedElement.isDisabled&&this.passedElement.enable(),this.containerOuter.isDisabled&&(this._addEventListeners(),this.input.enable(),this.containerOuter.enable()),this;},e.prototype.disable=function(){return this.passedElement.isDisabled||this.passedElement.disable(),this.containerOuter.isDisabled||(this._removeEventListeners(),this.input.disable(),this.containerOuter.disable()),this;},e.prototype.highlightItem=function(e,t){if(void 0===t&&(t=!0),!e||!e.id)return this;var i=e.id,n=e.groupId,r=void 0===n?-1:n,s=e.value,o=void 0===s?"":s,a=e.label,c=void 0===a?"":a,h=r>=0?this._store.getGroupById(r):null;return this._store.dispatch((0,l.highlightItem)(i,!0)),t&&this.passedElement.triggerEvent(d.EVENTS.highlightItem,{id:i,value:o,label:c,groupValue:h&&h.value?h.value:null}),this;},e.prototype.unhighlightItem=function(e){if(!e||!e.id)return this;var t=e.id,i=e.groupId,n=void 0===i?-1:i,r=e.value,s=void 0===r?"":r,o=e.label,a=void 0===o?"":o,c=n>=0?this._store.getGroupById(n):null;return this._store.dispatch((0,l.highlightItem)(t,!1)),this.passedElement.triggerEvent(d.EVENTS.highlightItem,{id:t,value:s,label:a,groupValue:c&&c.value?c.value:null}),this;},e.prototype.highlightAll=function(){var e=this;return this._store.items.forEach((function(t){return e.highlightItem(t);})),this;},e.prototype.unhighlightAll=function(){var e=this;return this._store.items.forEach((function(t){return e.unhighlightItem(t);})),this;},e.prototype.removeActiveItemsByValue=function(e){var t=this;return this._store.activeItems.filter((function(t){return t.value===e;})).forEach((function(e){return t._removeItem(e);})),this;},e.prototype.removeActiveItems=function(e){var t=this;return this._store.activeItems.filter((function(t){return t.id!==e;})).forEach((function(e){return t._removeItem(e);})),this;},e.prototype.removeHighlightedItems=function(e){var t=this;return void 0===e&&(e=!1),this._store.highlightedActiveItems.forEach((function(i){t._removeItem(i),e&&t._triggerChange(i.value);})),this;},e.prototype.showDropdown=function(e){var t=this;return this.dropdown.isActive||requestAnimationFrame((function(){t.dropdown.show(),t.containerOuter.open(t.dropdown.distanceFromTopWindow),!e&&t._canSearch&&t.input.focus(),t.passedElement.triggerEvent(d.EVENTS.showDropdown,{});})),this;},e.prototype.hideDropdown=function(e){var t=this;return this.dropdown.isActive?(requestAnimationFrame((function(){t.dropdown.hide(),t.containerOuter.close(),!e&&t._canSearch&&(t.input.removeActiveDescendant(),t.input.blur()),t.passedElement.triggerEvent(d.EVENTS.hideDropdown,{});})),this):this;},e.prototype.getValue=function(e){void 0===e&&(e=!1);var t=this._store.activeItems.reduce((function(t,i){var n=e?i.value:i;return t.push(n),t;}),[]);return this._isSelectOneElement?t[0]:t;},e.prototype.setValue=function(e){var t=this;return this.initialised?(e.forEach((function(e){return t._setChoiceOrItem(e);})),this):this;},e.prototype.setChoiceByValue=function(e){var t=this;return !this.initialised||this._isTextElement||(Array.isArray(e)?e:[e]).forEach((function(e){return t._findAndSelectChoiceByValue(e);})),this;},e.prototype.setChoices=function(e,t,i,n){var r=this;if(void 0===e&&(e=[]),void 0===t&&(t="value"),void 0===i&&(i="label"),void 0===n&&(n=!1),!this.initialised)throw new ReferenceError("setChoices was called on a non-initialized instance of Choices");if(!this._isSelectElement)throw new TypeError("setChoices can't be used with INPUT based Choices");if("string"!=typeof t||!t)throw new TypeError("value parameter must be a name of 'value' field in passed objects");if(n&&this.clearChoices(),"function"==typeof e){var s=e(this);if("function"==typeof Promise&&s instanceof Promise)return new Promise((function(e){return requestAnimationFrame(e);})).then((function(){return r._handleLoadingState(!0);})).then((function(){return s;})).then((function(e){return r.setChoices(e,t,i,n);})).catch((function(e){r.config.silent||console.error(e);})).then((function(){return r._handleLoadingState(!1);})).then((function(){return r;}));if(!Array.isArray(s))throw new TypeError(".setChoices first argument function must return either array of choices or Promise, got: ".concat(typeof s));return this.setChoices(s,t,i,!1);}if(!Array.isArray(e))throw new TypeError(".setChoices must be called either with array of choices with a function resulting into Promise of array of choices");return this.containerOuter.removeLoadingState(),this._startLoading(),e.forEach((function(e){if(e.choices)r._addGroup({id:e.id?parseInt("".concat(e.id),10):null,group:e,valueKey:t,labelKey:i});else{var n=e;r._addChoice({value:n[t],label:n[i],isSelected:!!n.selected,isDisabled:!!n.disabled,placeholder:!!n.placeholder,customProperties:n.customProperties});}})),this._stopLoading(),this;},e.prototype.clearChoices=function(){return this._store.dispatch((0,a.clearChoices)()),this;},e.prototype.clearStore=function(){return this._store.dispatch((0,h.clearAll)()),this;},e.prototype.clearInput=function(){var e=!this._isSelectOneElement;return this.input.clear(e),!this._isTextElement&&this._canSearch&&(this._isSearching=!1,this._store.dispatch((0,a.activateChoices)(!0))),this;},e.prototype._render=function(){if(!this._store.isLoading()){this._currentState=this._store.state;var e=this._currentState.choices!==this._prevState.choices||this._currentState.groups!==this._prevState.groups||this._currentState.items!==this._prevState.items,t=this._isSelectElement,i=this._currentState.items!==this._prevState.items;e&&(t&&this._renderChoices(),i&&this._renderItems(),this._prevState=this._currentState);}},e.prototype._renderChoices=function(){var e=this,t=this._store,i=t.activeGroups,n=t.activeChoices,r=document.createDocumentFragment();if(this.choiceList.clear(),this.config.resetScrollPosition&&requestAnimationFrame((function(){return e.choiceList.scrollToTop();})),i.length>=1&&!this._isSearching){var s=n.filter((function(e){return !0===e.placeholder&&-1===e.groupId;}));s.length>=1&&(r=this._createChoicesFragment(s,r)),r=this._createGroupsFragment(i,n,r);}else n.length>=1&&(r=this._createChoicesFragment(n,r));if(r.childNodes&&r.childNodes.length>0){var o=this._store.activeItems,a=this._canAddItem(o,this.input.value);if(a.response)this.choiceList.append(r),this._highlightChoice();else{var c=this._getTemplate("notice",a.notice);this.choiceList.append(c);}}else{var l=void 0;c=void 0,this._isSearching?(c="function"==typeof this.config.noResultsText?this.config.noResultsText():this.config.noResultsText,l=this._getTemplate("notice",c,"no-results")):(c="function"==typeof this.config.noChoicesText?this.config.noChoicesText():this.config.noChoicesText,l=this._getTemplate("notice",c,"no-choices")),this.choiceList.append(l);}},e.prototype._renderItems=function(){var e=this._store.activeItems||[];this.itemList.clear();var t=this._createItemsFragment(e);t.childNodes&&this.itemList.append(t);},e.prototype._createGroupsFragment=function(e,t,i){var n=this;return void 0===i&&(i=document.createDocumentFragment()),this.config.shouldSort&&e.sort(this.config.sorter),e.forEach((function(e){var r=function(e){return t.filter((function(t){return n._isSelectOneElement?t.groupId===e.id:t.groupId===e.id&&("always"===n.config.render
vendor: 14,205 bytes, line 41
41SelectedChoices||!t.selected);}));}(e);if(r.length>=1){var s=n._getTemplate("choiceGroup",e);i.appendChild(s),n._createChoicesFragment(r,i,!0);}})),i;},e.prototype._createChoicesFragment=function(e,t,i){var r=this;void 0===t&&(t=document.createDocumentFragment()),void 0===i&&(i=!1);var s=this.config,o=s.renderSelectedChoices,a=s.searchResultLimit,c=s.renderChoiceLimit,l=this._isSearching?f.sortByScore:this.config.sorter,h=function(e){if("auto"!==o||r._isSelectOneElement||!e.selected){var i=r._getTemplate("choice",e,r.config.itemSelectText);t.appendChild(i);}},u=e;"auto"!==o||this._isSelectOneElement||(u=e.filter((function(e){return !e.selected;})));var d=u.reduce((function(e,t){return t.placeholder?e.placeholderChoices.push(t):e.normalChoices.push(t),e;}),{placeholderChoices:[],normalChoices:[]}),p=d.placeholderChoices,m=d.normalChoices;(this.config.shouldSort||this._isSearching)&&m.sort(l);var v=u.length,g=this._isSelectOneElement?n(n([],p,!0),m,!0):m;this._isSearching?v=a:c&&c>0&&!i&&(v=c);for(var _=0;_<v;_+=1)g[_]&&h(g[_]);return t;},e.prototype._createItemsFragment=function(e,t){var i=this;void 0===t&&(t=document.createDocumentFragment());var n=this.config,r=n.shouldSortItems,s=n.sorter,o=n.removeItemButton;return r&&!this._isSelectOneElement&&e.sort(s),this._isTextElement?this.passedElement.value=e.map((function(e){return e.value;})).join(this.config.delimiter):this.passedElement.options=e,e.forEach((function(e){var n=i._getTemplate("item",e,o);t.appendChild(n);})),t;},e.prototype._triggerChange=function(e){null!=e&&this.passedElement.triggerEvent(d.EVENTS.change,{value:e});},e.prototype._selectPlaceholderChoice=function(e){this._addItem({value:e.value,label:e.label,choiceId:e.id,groupId:e.groupId,placeholder:e.placeholder}),this._triggerChange(e.value);},e.prototype._handleButtonAction=function(e,t){if(e&&t&&this.config.removeItems&&this.config.removeItemButton){var i=t.parentNode&&t.parentNode.dataset.id,n=i&&e.find((function(e){return e.id===parseInt(i,10);}));n&&(this._removeItem(n),this._triggerChange(n.value),this._isSelectOneElement&&this._store.placeholderChoice&&this._selectPlaceholderChoice(this._store.placeholderChoice));}},e.prototype._handleItemAction=function(e,t,i){var n=this;if(void 0===i&&(i=!1),e&&t&&this.config.removeItems&&!this._isSelectOneElement){var r=t.dataset.id;e.forEach((function(e){e.id!==parseInt("".concat(r),10)||e.highlighted?!i&&e.highlighted&&n.unhighlightItem(e):n.highlightItem(e);})),this.input.focus();}},e.prototype._handleChoiceAction=function(e,t){if(e&&t){var i=t.dataset.id,n=i&&this._store.getChoiceById(i);if(n){var r=e[0]&&e[0].keyCode?e[0].keyCode:void 0,s=this.dropdown.isActive;n.keyCode=r,this.passedElement.triggerEvent(d.EVENTS.choice,{choice:n}),n.selected||n.disabled||this._canAddItem(e,n.value).response&&(this._addItem({value:n.value,label:n.label,choiceId:n.id,groupId:n.groupId,customProperties:n.customProperties,placeholder:n.placeholder,keyCode:n.keyCode}),this._triggerChange(n.value)),this.clearInput(),s&&this._isSelectOneElement&&(this.hideDropdown(!0),this.containerOuter.focus());}}},e.prototype._handleBackspace=function(e){if(this.config.removeItems&&e){var t=e[e.length-1],i=e.some((function(e){return e.highlighted;}));this.config.editItems&&!i&&t?(this.input.value=t.value,this.input.setWidth(),this._removeItem(t),this._triggerChange(t.value)):(i||this.highlightItem(t,!1),this.removeHighlightedItems(!0));}},e.prototype._startLoading=function(){this._store.dispatch((0,h.setIsLoading)(!0));},e.prototype._stopLoading=function(){this._store.dispatch((0,h.setIsLoading)(!1));},e.prototype._handleLoadingState=function(e){void 0===e&&(e=!0);var t=this.itemList.getChild(".".concat(this.config.classNames.placeholder));e?(this.disable(),this.containerOuter.addLoadingState(),this._isSelectOneElement?t?t.innerHTML=this.config.loadingText:(t=this._getTemplate("placeholder",this.config.loadingText))&&this.itemList.append(t):this.input.placeholder=this.config.loadingText):(this.enable(),this.containerOuter.removeLoadingState(),this._isSelectOneElement?t&&(t.innerHTML=this._placeholderValue||""):this.input.placeholder=this._placeholderValue||"");},e.prototype._handleSearch=function(e){if(this.input.isFocussed){var t=this._store.choices,i=this.config,n=i.searchFloor,r=i.searchChoices,s=t.some((function(e){return !e.active;}));if(null!=e&&e.length>=n){var o=r?this._searchChoices(e):0;this.passedElement.triggerEvent(d.EVENTS.search,{value:e,resultCount:o});}else s&&(this._isSearching=!1,this._store.dispatch((0,a.activateChoices)(!0)));}},e.prototype._canAddItem=function(e,t){var i=!0,n="function"==typeof this.config.addItemText?this.config.addItemText(t):this.config.addItemText;if(!this._isSelectOneElement){var r=(0,f.existsInArray)(e,t);this.config.maxItemCount>0&&this.config.maxItemCount<=e.length&&(i=!1,n="function"==typeof this.config.maxItemText?this.config.maxItemText(this.config.maxItemCount):this.config.maxItemText),!this.config.duplicateItemsAllowed&&r&&i&&(i=!1,n="function"==typeof this.config.uniqueItemText?this.config.uniqueItemText(t):this.config.uniqueItemText),this._isTextElement&&this.config.addItems&&i&&"function"==typeof this.config.addItemFilter&&!this.config.addItemFilter(t)&&(i=!1,n="function"==typeof this.config.customAddItemText?this.config.customAddItemText(t):this.config.customAddItemText);}return {response:i,notice:n};},e.prototype._searchChoices=function(e){var t="string"==typeof e?e.trim():e,i="string"==typeof this._currentValue?this._currentValue.trim():this._currentValue;if(t.length<1&&t==="".concat(i," "))return 0;var r=this._store.searchableChoices,s=t,c=Object.assign(this.config.fuseOptions,{keys:n([],this.config.searchFields,!0),includeMatches:!0}),l=new o.default(r,c).search(s);return this._currentValue=t,this._highlightPosition=0,this._isSearching=!0,this._store.dispatch((0,a.filterChoices)(l)),l.length;},e.prototype._addEventListeners=function(){var e=document.documentElement;e.addEventListener("touchend",this._onTouchEnd,!0),this.containerOuter.element.addEventListener("keydown",this._onKeyDown,!0),this.containerOuter.element.addEventListener("mousedown",this._onMouseDown,!0),e.addEventListener("click",this._onClick,{passive:!0}),e.addEventListener("touchmove",this._onTouchMove,{passive:!0}),this.dropdown.element.addEventListener("mouseover",this._onMouseOver,{passive:!0}),this._isSelectOneElement&&(this.containerOuter.element.addEventListener("focus",this._onFocus,{passive:!0}),this.containerOuter.element.addEventListener("blur",this._onBlur,{passive:!0})),this.input.element.addEventListener("keyup",this._onKeyUp,{passive:!0}),this.input.element.addEventListener("focus",this._onFocus,{passive:!0}),this.input.element.addEventListener("blur",this._onBlur,{passive:!0}),this.input.element.form&&this.input.element.form.addEventListener("reset",this._onFormReset,{passive:!0}),this.input.addEventListeners();},e.prototype._removeEventListeners=function(){var e=document.documentElement;e.removeEventListener("touchend",this._onTouchEnd,!0),this.containerOuter.element.removeEventListener("keydown",this._onKeyDown,!0),this.containerOuter.element.removeEventListener("mousedown",this._onMouseDown,!0),e.removeEventListener("click",this._onClick),e.removeEventListener("touchmove",this._onTouchMove),this.dropdown.element.removeEventListener("mouseover",this._onMouseOver),this._isSelectOneElement&&(this.containerOuter.element.removeEventListener("focus",this._onFocus),this.containerOuter.element.removeEventListener("blur",this._onBlur)),this.input.element.removeEventListener("keyup",this._onKeyUp),this.input.element.removeEventListener("focus",this._onFocus),this.input.element.removeEventListener("blur",this._onBlur),this.input.element.form&&this.input.element.form.removeEventListener("reset",this._onFormReset),this.input.removeEventListeners();},e.prototype._onKeyDown=function(e){var t=e.keyCode,i=this._store.activeItems,n=this.input.isFocussed,r=this.dropdown.isActive,s=this.itemList.hasChildren(),o=String.fromCharCode(t),a=/[^\x00-\x1F]/.test(o),c=d.KEY_CODES.BACK_KEY,l=d.KEY_CODES.DELETE_KEY,h=d.KEY_CODES.ENTER_KEY,u=d.KEY_CODES.A_KEY,p=d.KEY_CODES.ESC_KEY,f=d.KEY_CODES.UP_KEY,m=d.KEY_CODES.DOWN_KEY,v=d.KEY_CODES.PAGE_UP_KEY,g=d.KEY_CODES.PAGE_DOWN_KEY;switch(this._isTextElement||r||!a||(this.showDropdown(),this.input.isFocussed||(this.input.value+=e.key.toLowerCase())),t){case u:return this._onSelectKey(e,s);case h:return this._onEnterKey(e,i,r);case p:return this._onEscapeKey(r);case f:case v:case m:case g:return this._onDirectionKey(e,r);case l:case c:return this._onDeleteKey(e,i,n);}},e.prototype._onKeyUp=function(e){var t=e.target,i=e.keyCode,n=this.input.value,r=this._store.activeItems,s=this._canAddItem(r,n),o=d.KEY_CODES.BACK_KEY,c=d.KEY_CODES.DELETE_KEY;if(this._isTextElement)if(s.notice&&n){var l=this._getTemplate("notice",s.notice);this.dropdown.element.innerHTML=l.outerHTML,this.showDropdown(!0);}else this.hideDropdown(!0);else{var h=(i===o||i===c)&&t&&!t.value,u=!this._isTextElement&&this._isSearching,p=this._canSearch&&s.response;h&&u?(this._isSearching=!1,this._store.dispatch((0,a.activateChoices)(!0))):p&&this._handleSearch(this.input.rawValue);}this._canSearch=this.config.searchEnabled;},e.prototype._onSelectKey=function(e,t){var i=e.ctrlKey,n=e.metaKey;(i||n)&&t&&(this._canSearch=!1,this.config.removeItems&&!this.input.value&&this.input.element===document.activeElement&&this.highlightAll());},e.prototype._onEnterKey=function(e,t,i){var n=e.target,r=d.KEY_CODES.ENTER_KEY,s=n&&n.hasAttribute("data-button");if(this._isTextElement&&n&&n.value){var o=this.input.value;this._canAddItem(t,o).response&&(this.hideDropdown(!0),this._addItem({value:o}),this._triggerChange(o),this.clearInput());}if(s&&(this._handleButtonAction(t,n),e.preventDefault()),i){var a=this.dropdown.getChild(".".concat(this.config.classNames.highlightedState));a&&(t[0]&&(t[0].keyCode=r),this._handleChoiceAction(t,a)),e.preventDefault();}else this._isSelectOneElement&&(this.showDropdown(),e.preventDefault());},e.prototype._onEscapeKey=function(e){e&&(this.hideDropdown(!0),this.containerOuter.focus());},e.prototype._onDirectionKey=function(e,t){var i=e.keyCode,n=e.metaKey,r=d.KEY_CODES.DOWN_KEY,s=d.KEY_CODES.PAGE_UP_KEY,o=d.KEY_CODES.PAGE_DOWN_KEY;if(t||this._isSelectOneElement){this.showDropdown(),this._canSearch=!1;var a=i===r||i===o?1:-1,c="[data-choice-selectable]",l=void 0;if(n||i===o||i===s)l=a>0?this.dropdown.element.querySelector("".concat(c,":last-of-type")):this.dropdown.element.querySelector(c);else{var h=this.dropdown.element.querySelector(".".concat(this.config.classNames.highlightedState));l=h?(0,f.getAdjacentEl)(h,c,a):this.dropdown.element.querySelector(c);}l&&((0,f.isScrolledIntoView)(l,this.choiceList.element,a)||this.choiceList.scrollToChildElement(l,a),this._highlightChoice(l)),e.preventDefault();}},e.prototype._onDeleteKey=function(e,t,i){var n=e.target;this._isSelectOneElement||n.value||!i||(this._handleBackspace(t),e.preventDefault());},e.prototype._onTouchMove=function(){this._wasTap&&(this._wasTap=!1);},e.prototype._onTouchEnd=function(e){var t=(e||e.touches[0]).target;this._wasTap&&this.containerOuter.element.contains(t)&&((t===this.containerOuter.element||t===this.containerInner.element)&&(this._isTextElement?this.input.focus():this._isSelectMultipleElement&&this.showDropdown()),e.stopPropagation()),this._wasTap=!0;},e.prototype._onMouseDown=function(e){var t=e.target;if(t instanceof HTMLElement){if(_&&this.choiceList.element.contains(t)){var i=this.choiceList.element.firstElementChild,n="ltr"===this._direction?e.offsetX>=i.offsetWidth:e.offsetX<i.offsetLeft;this._isScrollingOnIe=n;}if(t!==this.input.element){var r=t.closest("[data-button],[data-item],[data-choice]");if(r instanceof HTMLElement){var s=e.shiftKey,o=this._store.activeItems,a=r.dataset;"button" in a?this._handleButtonAction(o,r):"item" in a?this._handleItemAction(o,r,s):"choice" in a&&this._handleChoiceAction(o,r);}e.preventDefault();}}},e.prototype._onMouseOver=function(e){var t=e.target;t instanceof HTMLElement&&"choice" in t.dataset&&this._highlightChoice(t);},e.prototype._onClick=function(e){var t=e.target;this.containerOuter.element.contains(t)?this.dropdown.isActive||this.containerOuter.isDisabled?this._isSelectOneElement&&t!==this.input.element&&!this.dropdown.element.contains(t)&&this.hideDropdown():this._isTextElement?document.activeElement!==this.input.element&&this.input.focus():(this.showDropdown(),this.containerOuter.focus()):(this._store.highlightedActiveItems.length>0&&this.unhighlightAll(),this.containerOuter.removeFocusState(),this.hideDropdown(!0));},e.prototype._onFocus=function(e){var t,i=this,n=e.target;n&&this.containerOuter.element.contains(n)&&((t={})[d.TEXT_TYPE]=function(){n===i.input.element&&i.containerOuter.addFocusState();},t[d.SELECT_ONE_TYPE]=function(){i.containerOuter.addFocusState(),n===i.input.element&&i.showDropdown(!0);},t[d.SELECT_MULTIPLE_TYPE]=function(){n===i.input.element&&(i.showDropdown(!0),i.containerOuter.addFocusState());},t)[this.passedElement.element.type]();},e.prototype._onBlur=function(e){var t,i=this,n=e.target;if(n&&this.containerOuter.element.contains(n)&&!this._isScrollingOnIe){var r=this._store.activeItems.some((function(e){return e.highlighted;}));((t={})[d.TEXT_TYPE]=function(){n===i.input.element&&(i.containerOuter.removeFocusState(),r&&i.unhighlightAll(),i.hideDropdown(!0));},t[d.SELECT_ONE_TYPE]=function(){i.containerOuter.removeFocusState(),(n===i.input.element||n===i.containerOuter.element&&!i._canSearch)&&i.hideDropdown(!0);},t[d.SELECT_MULTIPLE_TYPE]=function(){n===i.input.element&&(i.containerOuter.removeFocusState(),i.hideDropdown(!0),r&&i.unhighlightAll());},t)[this.passedElement.element.type]();}else this._isScrollingOnIe=!1,this.input.element.focus();},e.prototype._onFormReset=function(){this._store.dispatch((0,h.resetTo)(this._initialState));},e.prototype._highlightChoice=function(e){var t=this;void 0===e&&(e=null);var i=Array.from(this.dropdown.element.querySelectorAll("[data-choice-selectable]"));if(i.length){var n=e;Array.from(this.dropdown.element.querySelectorAll(".".concat(this.config.classNames.highlightedState))).forEac
vendor: 7,727 bytes, line 41
41h((function(e){e.classList.remove(t.config.classNames.highlightedState),e.setAttribute("aria-selected","false");})),n?this._highlightPosition=i.indexOf(n):(n=i.length>this._highlightPosition?i[this._highlightPosition]:i[i.length-1])||(n=i[0]),n.classList.add(this.config.classNames.highlightedState),n.setAttribute("aria-selected","true"),this.passedElement.triggerEvent(d.EVENTS.highlightChoice,{el:n}),this.dropdown.isActive&&(this.input.setActiveDescendant(n.id),this.containerOuter.setActiveDescendant(n.id));}},e.prototype._addItem=function(e){var t=e.value,i=e.label,n=void 0===i?null:i,r=e.choiceId,s=void 0===r?-1:r,o=e.groupId,a=void 0===o?-1:o,c=e.customProperties,h=void 0===c?{}:c,u=e.placeholder,p=void 0!==u&&u,f=e.keyCode,m=void 0===f?-1:f,v="string"==typeof t?t.trim():t,g=this._store.items,_=n||v,y=s||-1,E=a>=0?this._store.getGroupById(a):null,b=g?g.length+1:1;this.config.prependValue&&(v=this.config.prependValue+v.toString()),this.config.appendValue&&(v+=this.config.appendValue.toString()),this._store.dispatch((0,l.addItem)({value:v,label:_,id:b,choiceId:y,groupId:a,customProperties:h,placeholder:p,keyCode:m})),this._isSelectOneElement&&this.removeActiveItems(b),this.passedElement.triggerEvent(d.EVENTS.addItem,{id:b,value:v,label:_,customProperties:h,groupValue:E&&E.value?E.value:null,keyCode:m});},e.prototype._removeItem=function(e){var t=e.id,i=e.value,n=e.label,r=e.customProperties,s=e.choiceId,o=e.groupId,a=o&&o>=0?this._store.getGroupById(o):null;t&&s&&(this._store.dispatch((0,l.removeItem)(t,s)),this.passedElement.triggerEvent(d.EVENTS.removeItem,{id:t,value:i,label:n,customProperties:r,groupValue:a&&a.value?a.value:null}));},e.prototype._addChoice=function(e){var t=e.value,i=e.label,n=void 0===i?null:i,r=e.isSelected,s=void 0!==r&&r,o=e.isDisabled,c=void 0!==o&&o,l=e.groupId,h=void 0===l?-1:l,u=e.customProperties,d=void 0===u?{}:u,p=e.placeholder,f=void 0!==p&&p,m=e.keyCode,v=void 0===m?-1:m;if(null!=t){var g=this._store.choices,_=n||t,y=g?g.length+1:1,E="".concat(this._baseId,"-").concat(this._idNames.itemChoice,"-").concat(y);this._store.dispatch((0,a.addChoice)({id:y,groupId:h,elementId:E,value:t,label:_,disabled:c,customProperties:d,placeholder:f,keyCode:v})),s&&this._addItem({value:t,label:_,choiceId:y,customProperties:d,placeholder:f,keyCode:v});}},e.prototype._addGroup=function(e){var t=this,i=e.group,n=e.id,r=e.valueKey,s=void 0===r?"value":r,o=e.labelKey,a=void 0===o?"label":o,l=(0,f.isType)("Object",i)?i.choices:Array.from(i.getElementsByTagName("OPTION")),h=n||Math.floor((new Date()).valueOf()*Math.random()),u=!!i.disabled&&i.disabled;l?(this._store.dispatch((0,c.addGroup)({value:i.label,id:h,active:!0,disabled:u})),l.forEach((function(e){var i=e.disabled||e.parentNode&&e.parentNode.disabled;t._addChoice({value:e[s],label:(0,f.isType)("Object",e)?e[a]:e.innerHTML,isSelected:e.selected,isDisabled:i,groupId:h,customProperties:e.customProperties,placeholder:e.placeholder});}))):this._store.dispatch((0,c.addGroup)({value:i.label,id:i.id,active:!1,disabled:i.disabled}));},e.prototype._getTemplate=function(e){for(var t,i=[],r=1;r<arguments.length;r++)i[r-1]=arguments[r];return (t=this._templates[e]).call.apply(t,n([this,this.config],i,!1));},e.prototype._createTemplates=function(){var e=this.config.callbackOnCreateTemplates,t={};e&&"function"==typeof e&&(t=e.call(this,f.strToEl)),this._templates=(0,s.default)(g.default,t);},e.prototype._createElements=function(){this.containerOuter=new u.Container({element:this._getTemplate("containerOuter",this._direction,this._isSelectElement,this._isSelectOneElement,this.config.searchEnabled,this.passedElement.element.type,this.config.labelId),classNames:this.config.classNames,type:this.passedElement.element.type,position:this.config.position}),this.containerInner=new u.Container({element:this._getTemplate("containerInner"),classNames:this.config.classNames,type:this.passedElement.element.type,position:this.config.position}),this.input=new u.Input({element:this._getTemplate("input",this._placeholderValue),classNames:this.config.classNames,type:this.passedElement.element.type,preventPaste:!this.config.paste}),this.choiceList=new u.List({element:this._getTemplate("choiceList",this._isSelectOneElement)}),this.itemList=new u.List({element:this._getTemplate("itemList",this._isSelectOneElement)}),this.dropdown=new u.Dropdown({element:this._getTemplate("dropdown"),classNames:this.config.classNames,type:this.passedElement.element.type});},e.prototype._createStructure=function(){this.passedElement.conceal(),this.containerInner.wrap(this.passedElement.element),this.containerOuter.wrap(this.containerInner.element),this._isSelectOneElement?this.input.placeholder=this.config.searchPlaceholderValue||"":this._placeholderValue&&(this.input.placeholder=this._placeholderValue,this.input.setWidth()),this.containerOuter.element.appendChild(this.containerInner.element),this.containerOuter.element.appendChild(this.dropdown.element),this.containerInner.element.appendChild(this.itemList.element),this._isTextElement||this.dropdown.element.appendChild(this.choiceList.element),this._isSelectOneElement?this.config.searchEnabled&&this.dropdown.element.insertBefore(this.input.element,this.dropdown.element.firstChild):this.containerInner.element.appendChild(this.input.element),this._isSelectElement&&(this._highlightPosition=0,this._isSearching=!1,this._startLoading(),this._presetGroups.length?this._addPredefinedGroups(this._presetGroups):this._addPredefinedChoices(this._presetChoices),this._stopLoading()),this._isTextElement&&this._addPredefinedItems(this._presetItems);},e.prototype._addPredefinedGroups=function(e){var t=this,i=this.passedElement.placeholderOption;i&&i.parentNode&&"SELECT"===i.parentNode.tagName&&this._addChoice({value:i.value,label:i.innerHTML,isSelected:i.selected,isDisabled:i.disabled,placeholder:!0}),e.forEach((function(e){return t._addGroup({group:e,id:e.id||null});}));},e.prototype._addPredefinedChoices=function(e){var t=this;this.config.shouldSort&&e.sort(this.config.sorter);var i=e.some((function(e){return e.selected;})),n=e.findIndex((function(e){return void 0===e.disabled||!e.disabled;}));e.forEach((function(e,r){var s=e.value,o=void 0===s?"":s,a=e.label,c=e.customProperties,l=e.placeholder;if(t._isSelectElement)if(e.choices)t._addGroup({group:e,id:e.id||null});else{var h=!(!t._isSelectOneElement||i||r!==n)||e.selected,u=e.disabled;t._addChoice({value:o,label:a,isSelected:!!h,isDisabled:!!u,placeholder:!!l,customProperties:c});}else t._addChoice({value:o,label:a,isSelected:!!e.selected,isDisabled:!!e.disabled,placeholder:!!e.placeholder,customProperties:c});}));},e.prototype._addPredefinedItems=function(e){var t=this;e.forEach((function(e){"object"==typeof e&&e.value&&t._addItem({value:e.value,label:e.label,choiceId:e.id,customProperties:e.customProperties,placeholder:e.placeholder}),"string"==typeof e&&t._addItem({value:e});}));},e.prototype._setChoiceOrItem=function(e){var t=this;({object:function(){e.value&&(t._isTextElement?t._addItem({value:e.value,label:e.label,choiceId:e.id,customProperties:e.customProperties,placeholder:e.placeholder}):t._addChoice({value:e.value,label:e.label,isSelected:!0,isDisabled:!1,customProperties:e.customProperties,placeholder:e.placeholder}));},string:function(){t._isTextElement?t._addItem({value:e}):t._addChoice({value:e,label:e,isSelected:!0,isDisabled:!1});}})[(0,f.getType)(e).toLowerCase()]();},e.prototype._findAndSelectChoiceByValue=function(e){var t=this,i=this._store.choices.find((function(i){return t.config.valueComparer(i.value,e);}));i&&!i.selected&&this._addItem({value:i.value,label:i.label,choiceId:i.id,groupId:i.groupId,customProperties:i.customProperties,placeholder:i.placeholder,ke
41yCode:i.keyCode});},e.prototype._generatePlaceholderValue=function(){if(this._isSelectElement&&this.passedElement.placeholderOption){var e=this.passedElement.placeholderOption;return e?e.text:null;}var t=this.config,i=t.placeholder,n=t.placeholderValue,r=this.passedElement.element.dataset;if(i){if(n)return n;if(r.placeholder)return r.placeholder;}return null;},e;}();t.default=E;},613:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0});var n=i(799),r=i(883),s=function(){function e(e){var t=e.element,i=e.type,n=e.classNames,r=e.position;this.element=t,this.classNames=n,this.type=i,this.position=r,this.isOpen=!1,this.isFlipped=!1,this.isFocussed=!1,this.isDisabled=!1,this.isLoading=!1,this._onFocus=this._onFocus.bind(this),this._onBlur=this._onBlur.bind(this);}return e.prototype.addEventListeners=function(){this.element.addEventListener("focus",this._onFocus),this.element.addEventListener("blur",this._onBlur);},e.prototype.removeEventListeners=function(){this.element.removeEventListener("focus",this._onFocus),this.element.removeEventListener("blur",this._onBlur);},e.prototype.shouldFlip=function(e){if("number"!=typeof e)return !1;var t=!1;return "auto"===this.position?t=!window.matchMedia("(min-height: ".concat(e+1,"px)")).matches:"top"===this.position&&(t=!0),t;},e.prototype.setActiveDescendant=function(e){this.element.setAttribute("aria-activedescendant",e);},e.prototype.removeActiveDescendant=function(){this.element.removeAttribute("aria-activedescendant");},e.prototype.open=function(e){this.element.classList.add(this.classNames.openState),this.element.setAttribute("aria-expanded","true"),this.isOpen=!0,this.shouldFlip(e)&&(this.element.classList.add(this.classNames.flippedState),this.isFlipped=!0);},e.prototype.close=function(){this.element.classList.remove(this.classNames.openState),this.element.setAttribute("aria-expanded","false"),this.removeActiveDescendant(),this.isOpen=!1,this.isFlipped&&(this.element.classList.remove(this.classNames.flippedState),this.isFlipped=!1);},e.prototype.focus=function(){this.isFocussed||this.element.focus();},e.prototype.addFocusState=function(){this.element.classList.add(this.classNames.focusState);},e.prototype.removeFocusState=function(){this.element.classList.remove(this.classNames.focusState);},e.prototype.enable=function(){this.element.classList.remove(this.classNames.disabledState),this.element.removeAttribute("aria-disabled"),this.type===r.SELECT_ONE_TYPE&&this.element.setAttribute("tabindex","0"),this.isDisabled=!1;},e.prototype.disable=function(){this.element.classList.add(this.classNames.disabledState),this.element.setAttribute("aria-disabled","true"),this.type===r.SELECT_ONE_TYPE&&this.element.setAttribute("tabindex","-1"),this.isDisabled=!0;},e.prototype.wrap=function(e){(0,n.wrap)(e,this.element);},e.prototype.unwrap=function(e){this.element.parentNode&&(this.element.parentNode.insertBefore(e,this.element),this.element.parentNode.removeChild(this.element));},e.prototype.addLoadingState=function(){this.element.classList.add(this.classNames.loadingState),this.element.setAttribute("aria-busy","true"),this.isLoading=!0;},e.prototype.removeLoadingState=function(){this.element.classList.remove(this.classNames.loadingState),this.element.removeAttribute("aria-busy"),this.isLoading=!1;},e.prototype._onFocus=function(){this.isFocussed=!0;},e.prototype._onBlur=function(){this.isFocussed=!1;},e;}();t.default=s;},217:function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e){var t=e.element,i=e.type,n=e.classNames;this.element=t,this.classNames=n,this.type=i,this.isActive=!1;}return Object.defineProperty(e.prototype,"distanceFromTopWindow",{get:function(){return this.element.getBoundingClientRect().bottom;},enumerable:!1,configurable:!0}),e.prototype.getChild=function(e){return this.element.querySelector(e);},e.prototype.show=function(){return this.element.classList.add(this.classNames.activeState),this.element.setAttribute("aria-expanded","true"),this.isActive=!0,this;},e.prototype.hide=function(){return this.element.classList.remove(this.classNames.activeState),this.element.setAttribute("aria-expanded","fal
41se"),this.isActive=!1,this;},e;}();t.default=i;},520:function(e,t,i){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e};};Object.defineProperty(t,"__esModule",{value:!0}),t.WrappedSelect=t.WrappedInput=t.List=t.Input=t.Container=t.Dropdown=void 0;var r=n(i(217));t.Dropdown=r.default;var s=n(i(613));t.Container=s.default;var o=n(i(11));t.Input=o.default;var a=n(i(624));t.List=a.default;var c=n(i(541));t.WrappedInput=c.default;var l=n(i(982));t.WrappedSelect=l.default;},11:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0});var n=i(799),r=i(883),s=function(){function e(e){var t=e.element,i=e.type,n=e.classNames,r=e.preventPaste;this.element=t,this.type=i,this.classNames=n,this.preventPaste=r,this.isFocussed=this.element.isEqualNode(document.activeElement),this.isDisabled=t.disabled,this._onPaste=this._onPaste.bind(this),this._onInput=this._onInput.bind(this),this._onFocus=this._onFocus.bind(this),this._onBlur=this._onBlur.bind(this);}return Object.defineProperty(e.prototype,"placeholder",{set:function(e){this.element.placeholder=e;},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return (0,n.sanitise)(this.element.value);},set:function(e){this.element.value=e;},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"rawValue",{get:function(){return this.element.value;},enumerable:!1,configurable:!0}),e.prototype.addEventListeners=function(){this.element.addEventListener("paste",this._onPaste),this.element.addEventListener("input",this._onInput,{passive:!0}),this.element.addEventListener("focus",this._onFocus,{passive:!0}),this.element.addEventListener("blur",this._onBlur,{passive:!0});},e.prototype.removeEventListeners=function(){this.element.removeEventListener("input",this._onInput),this.element.removeEventListener("paste",this._onPaste),this.element.removeEventListener("focus",this._onFocus),this.element.removeEventListener("blur",this._onBlur);},e.prototype.enable=function(){this.element.removeAttribute("disabled"),this.isDisabled=!1;},e.prototype.disable=function(){this.element.setAttribute("disabled",""),this.isDisabled=!0;},e.prototype.focus=function(){this.isFocussed||this.element.focus();},e.prototype.blur=function(){this.isFocussed&&this.element.blur();},e.prototype.clear=function(e){return void 0===e&&(e=!0),this.element.value&&(this.element.value=""),e&&this.setWidth(),this;},e.prototype.setWidth=function(){var e=this.element,t=e.style,i=e.value,n=e.placeholder;t.minWidth="".concat(n.length+1,"ch"),t.width="".concat(i.length+1,"ch");},e.prototype.setActiveDescendant=function(e){this.element.setAttribute("aria-activedescendant",e);},e.prototype.removeActiveDescendant=function(){this.element.removeAttribute("aria-activedescendant");},e.prototype._onInput=function(){this.type!==r.SELECT_ONE_TYPE&&this.setWidth();},e.prototype._onPaste=function(e){this.preventPaste&&e.preventDefault();},e.prototype._onFocus=function(){this.isFocussed=!0;},e.prototype._onBlur=function(){this.isFocussed=!1;},e;}();t.default=s;},624:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0});var n=i(883),r=function(){function e(e){var t=e.element;this.element=t,this.scrollPos=this.element.scrollTop,this.height=this.element.offsetHeight;}return e.prototype.clear=function(){this.element.innerHTML="";},e.prototype.append=function(e){this.element.appendChild(e);},e.prototype.getChild=function(e){return this.element.querySelector(e);},e.prototype.hasChildren=function(){return this.element.hasChildNodes();},e.prototype.scrollToTop=function(){this.element.scrollTop=0;},e.prototype.scrollToChildElement=function(e,t){var i=this;if(e){var n=this.element.offsetHeight,r=this.element.scrollTop+n,s=e.offsetHeight,o=e.offsetTop+s,a=t>0?this.element.scrollTop+o-r:e.offsetTop;requestAnimationFrame((function(){i._animateScroll(a,t);}));}},e.prototype._scrollDown=function(e,t,i){var n=(i-e)/t,r=n>1?n:1;this.element.scrollTop=e+r;},e.prototype._scrollUp=function(e,t,i){var n=(e-i)/t,r=n>1?n:1;this.element.scrollTop=e-r;},e.prototype._animateScroll=function(e,t){var i=this,r=n.SCROLLING_SPEED,s=this.element.scrollTop,o=!1;t>0?(this._scrollDown(s,r,e),s<e&&(o=!0)):(this._scrollUp(s,r,e),s>e&&(o=!0)),o&&requestAnimationFrame((function(){i._animateScroll(e,t);}));},e;}();t.default=r;}
41,730:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0});var n=i(799),r=function(){function e(e){var t=e.element,i=e.classNames;if(this.element=t,this.classNames=i,!(t instanceof HTMLInputElement||t instanceof HTMLSelectElement))throw new TypeError("Invalid element passed");this.isDisabled=!1;}return Object.defineProperty(e.prototype,"isActive",{get:function(){return "active"===this.element.dataset.choice;},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"dir",{get:function(){return this.element.dir;},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this.element.value;},set:function(e){this.element.value=e;},enumerable:!1,configurable:!0}),e.prototype.conceal=function(){this.element.classList.add(this.classNames.input),this.element.hidden=!0,this.element.tabIndex=-1;var e=this.element.getAttribute("style");e&&this.element.setAttribute("data-choice-orig-style",e),this.element.setAttribute("data-choice","active");},e.prototype.reveal=function(){this.element.classList.remove(this.classNames.input),this.element.hidden=!1,this.element.removeAttribute("tabindex");var e=this.element.getAttribute("data-choice-orig-style");e?(this.element.removeAttribute("data-choice-orig-style"),this.element.setAttribute("style",e)):this.element.removeAttribute("style"),this.element.removeAttribute("data-choice"),this.element.value=this.element.value;},e.prototype.enable=function(){this.element.removeAttribute("disabled"),this.element.disabled=!1,this.isDisabled=!1;},e.prototype.disable=function(){this.element.setAttribute("disabled",""),this.element.disabled=!0,this.isDisabled=!0;},e.prototype.triggerEvent=function(e,t){(0,n.dispatchEvent)(this.element,e,t);},e;}();t.default=r;},541:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.
41setPrototypeOf||{__proto__:[]} instanceof Array&&function(e,t){e.__proto__=t;}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);},n(e,t);},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e;}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i());}),s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e};};Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){function t(t){var i=t.element,n=t.classNames,r=t.delimiter,s=e.call(this,{element:i,classNames:n})||this;return s.delimiter=r,s;}return r(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this.element.value;},set:function(e){this.element.setAttribute("value",e),this.element.value=e;},enumerable:!1,configurable:!0}),t;}(s(i(730)).default);t.default=o;},982:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]} instanceof Array&&function(e,t){e.__proto__=t;}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);},n(e,t);},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e;}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i());}),s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e};};Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){function t(t){var i=t.element,n=t.classNames,r=t.template,s=e.call(this,{element:i,classNames:n})||this;return s.template=r,s;}return r(t,e),Object.defineProperty(t.prototype,"placeholderOption",{get:function(){return this.element.querySelector('option[value=""]')||this.element.querySelector("option[placeholder]");},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"optionGroups",{get:function(){return Array.from(this.element.getElementsByTagName("OPTGROUP"));},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"options",{get:function(){return Array.from(this.element.options);},set:function(e){var t=this,i=document.createDocumentFragment();e.forEach((function(e){return n=e,r=t.template(n),void i.appendChild(r);var n,r;})),this.appendDocFragment(i);},enumerable:!1,configurable:!0}),t.prototype.appendDocFragment=function(e){this.element.innerHTML="",this.element.appendChild(e);},t;}(s(i(730)).default);t.default=o;},883:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.SCROLLING_SPEED=t.SELECT_MULTIPLE_TYPE=t.SELECT_ONE_TYPE=t.TEXT_TYPE=t.KEY_CODES=t.ACTION_TYPES=t.EVENTS=void 0,t.EVENTS={showDropdown:"showDropdown",hideDropdown:"hideDropdown",change:"change",choice:"choice",search:"search",addItem:"addItem",removeItem:"removeItem",highlightItem:"highlightItem",highlightChoice:"highlightChoice",unhighlightItem:"unhighlightItem"},t.ACTION_TYPES={ADD_CHOICE:"ADD_CHOICE",FILTER_CHOICES:"FILTER_CHOICES",ACTIVATE_CHOICES:"ACTIVATE_CHOICES",CLEAR_CHOICES:"CLEAR_CHOICES",ADD_GROUP:"ADD_GROUP",ADD_ITEM:"ADD_ITEM",REMOVE_ITEM:"REMOVE_ITEM",HIGHLIGHT_ITEM:"HIGHLIGHT_ITEM",CLEAR_ALL:"CLEAR_ALL",RESET_TO:"RESET_TO",SET_IS_LOADING:"SET_IS_LOADING"},t.KEY_CODES={BACK_KEY:46,DELETE_KEY:8,ENTER_KEY:13,A_KEY:65,ESC_KEY:27,UP_KEY:38,DOWN_KEY:40,PAGE_UP_KEY:33,PAGE_DOWN_KEY:34},t.TEXT_TYPE="text",t.SELECT_ONE_TYPE="select-one",t.SELECT_MULTIPLE_TYPE="select-multiple",t.SCROLLING_SPEED=4;},789:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_CONFIG=t.DEFAULT_CLASSNAMES=void 0;var n=i(799);t.DEFAULT_CLASSNAMES={containerOuter:"choices",containerInner:"choices__inner",input:"choices__input",inputCloned:"choices__input--cloned",list:"choices__list",listItems:"choices__list--multiple",listSingle:"choices__list--single",listDropdown:"choices__list--dropdown",item:"choices__item",itemSelectable:"choices__item--selectable",itemDisabled:"choices__item--disabled",itemChoice:"choices__item--choice",placeholder:"choices__placeholder",group:"choices__group",groupHeading:"choices__heading",button:"choices__button",activeState:"is-active",focusState:"is-focused",openState:"is-open",disabledState:"is-disabled",highlightedState:"is-highlighted",selectedState:"is-selected",flippedState:"is-flipped",loadingState:"is-loading",noResults:"has-no-results",noChoices:"has-no-choices"},t.DEFAULT_CONFIG={items:[],choices:[],silent:!1,renderChoiceLimit:-1,maxItemCount:-1,addItems:!0,addItemFilter:null,removeItems:!0,removeItemButton:!1,editItems:!1,allowHTML:!0,duplicateItemsAllowed:!0,delimiter:",",paste:!0,searchEnabled:!0,searchChoices:!0,searchFloor:1,searchResultLimit:4,searchFields:["label","value"],position:"auto",resetScrollPosition:!0,shouldSort:!0,shouldSortItems:!1,sorter:n.sortByAlpha,placeholder:!0,placeholderValue:null,searchPlaceholderValue:null,prepe
41ndValue:null,appendValue:null,renderSelectedChoices:"auto",loadingText:"Loading...",noResultsText:"No results found",noChoicesText:"No choices to choose from",itemSelectText:"Press to select",uniqueItemText:"Only unique values can be added",customAddItemText:"Only values matching specific conditions can be added",addItemText:function(e){return 'Press Enter to add <b>"'.concat((0,n.sanitise)(e),'"</b>');},maxItemText:function(e){return "Only ".concat(e," values can be added");},valueComparer:function(e,t){return e===t;},fuseOptions:{includeScore:!0},labelId:"",callbackOnInit:null,callbackOnCreateTemplates:null,classNames:t.DEFAULT_CLASSNAMES};},18:function(e,t){Object.defineProperty(t,"__esModule",{value:!0});},978:function(e,t){Object.defineProperty(t,"__esModule",{value:!0});},948:function(e,t){Object.defineProperty(t,"__esModule",{value:!0});},359:function(e,t){Object.defineProperty(t,"__esModule",{value:!0});},285:function(e,t){Object.defineProperty(t,"__esModule",{value:!0});},533:function(e,t){Object.defineProperty(t,"__esModule",{value:!0});},187:function(e,t,i){var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var r=Object.getOwnPropertyDescriptor(t,i);
41r&&!("get" in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[i];}}),Object.defineProperty(e,n,r);}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i];}),r=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||n(t,e,i);};Object.defineProperty(t,"__esModule",{value:!0}),r(i(18),t),r(i(978),t),r(i(948),t),r(i(359),t),r(i(285),t),r(i(533),t),r(i(287),t),r(i(132),t),r(i(837),t),r(i(598),t),r(i(369),t),r(i(37),t),r(i(47),t),r(i(923),t),r(i(876),t);},287:function(e,t){Object.defineProperty(t,"__esModule",{value:!0});},132:function(e,t){Object.defineProperty(t,"__esModule",{value:!0});},837:function(e,t){Object.defineProperty(t,"__esModule",{value:!0});},598:function(e,t){Object.defineProperty(t,"__esModule",{value:!0});},37:function(e,t){Object.defineProperty(t,"__esModule",{value:!0});},369:function(e,t){Object.defineProperty(t,"__esModule",{value:!0});},47:function(e,t){Object.defineProperty(t,"__esModule",{value:!0});},923:function(e,t){Object.defineProperty(t,"__esModule",{value:!0});},876:function(e,t){Object.defineProperty(t,"__esModule",{value:!0});},799:function(e,t){var i;Object.defineProperty(t,"__esModule",{value:!0}),t.parseCustomProperties=t.diff=t.cloneObject=t.existsInArray=t.dispatchEvent=t.sortByScore=t.sortByAlpha=t.strToEl=t.sanitise=t.isScrolledIntoView=t.getAdjacentEl=t.wrap=t.isType=t.getType=t.generateId=t.generateChars=t.getRandomNumber=void 0,t.getRandomNumber=function(e,t){return Math.floor(Math.random()*(t-e)+e);},t.generateChars=function(e){return Array.from({length:e},(function(){return (0,t.getRandomNumber)(0,36).toString(36);})).join("");},t.generateId=function(e,i){var n=e.id||e.name&&"".concat(e.name,"-").concat((0,t.generateChars)(2))||(0,t.generateChars)(4);return n=n.replace(/(:|\.|\[|\]|,)/g,""),"".concat(i,"-").concat(n);},t.getType=function(e){return Object.prototype.toString.call(e).slice(8,-1);},t.isType=function(e,i){return null!=i&&(0,t.getType)(i)===e;},t.wrap=function(e,t){return void 0===t&&(t=document.createElement("div")),e.parentNode&&(e.nextSibling?e.parentNode.insertBefore(t,e.nextSibling):e.parentNode.appendChild(t)),t.appendChild(e);},t.getAdjacentEl=function(e,t,i){void 0===i&&(i=1);for(var n="".concat(i>0?"next":"previous","ElementSibling"),r=e[n];r;){if(r.matches(t))return r;r=r[n];}return r;},t.isScrolledIntoView=function(e,t,i){return void 0===i&&(i=1),!!e&&(i>0?t.scrollTop+t.offsetHeight>=e.offsetTop+e.offsetHeight:e.offsetTop>=t.scrollTop);},t.sanitise=function(e){return "string"!=typeof e?e:e.replace(/&/g,"&amp;").replace(/>/g,"&gt;").replace(/</g,"&lt;").replace(/"/g,"&quot;");},t.strToEl=(i=document.createElement("div"),function(e){var t=e.trim();i.innerHTML=t;for(var n=i.children[0];i.firstChild;)i.removeChild(i.firstChild);return n;}),t.sortByAlpha=function(e,t){var i=e.value,n=e.label,r=void 0===n?i:n,s=t.value,o=t.label,a=void 0===o?s:o;return r.localeCompare(a,[],{sensitivity:"base",ignorePunctuation:!0,numeric:!0});},t.sortByScore=function(e,t){var i=e.score,n=void 0===i?0:i,r=t.score;return n-(void 0===r?0:r);},t.dispatchEvent=function(e,t,i){void 0===i&&(i=null);var n=new CustomEvent(t,{detail:i,bubbles:!0,cancelable:!0});return e.dispatchEvent(n);},t.existsInArray=function(e,t,i){return void 0===i&&(i="value"),e.some((function(e){return "string"==typeof t?e[i]===t.trim():e[i]===t;}));},t.cloneObject=function(e){return JSON.parse(JSON.stringify(e));},t.diff=function(e,t){var i=Object.keys(e).sort(),n=Object.keys(t).sort();return i.filter((function(e){return n.indexOf(e)<0;}));},t.parseCustomProperties=function(e){if(void 0!==e)try{return JSON.parse(e);}catch(t){return e;}return {};};},273:function(e,t){var i=this&&this.__spreadArray||function(e,t,i){if(i||2===arguments.length)for(var n,r=0,s=t.length;r<s;r++)!n&&r in t||(n||(n=Array.prototype.slice.call(t,0,r)),n[r]=t[r]);return e.concat(n||Array.prototype.slice.call(t));};Object.defineProperty(t,"__esModule",{value:!0}),t.defaultState=void 0,t.defaultState=[],t.default=function(e,n){switch(void 0===e&&(e=t.defaultState),void 0===n&&(n={}),n.type){case "ADD_CHOICE":var r=n,s={id:r.id,elementId:r.elementId,groupId:r.groupId,value:r.value,label:r.label||r.value,disabled:r.disabled||!1,selected:!1,active:!0,score:9999,customProperties:r.customProperties,placeholder:r.placeholder||!1};return i(i([],e,!0),[s],!1);case "ADD_ITEM":var o=n;return o.choiceId>-1?e.map((function(e){var t=e;return t.id===parseInt("".concat(o.choiceId),10)&&(t.selected=!0),t;})):e;case "REMOVE_ITEM":var a=n;return a.choiceId&&a.choiceId>-1?e.map((function(e){var t=e;return t.id===parseInt("".concat(a.choiceId),10)&&(t.selected=!1),t;})):e;case "FILTER_CHOICES":var c=n;return e.map((function(e){var t=e;return t.active=c.results.some((function(e){var i=e.item,n=e.score;return i.id===t.id&&(t.score=n,!0);})),t;}));case "ACTIVATE_CHOICES":var l=n;return e.map((function(e){var t=e;return t.active=l.active,t;}));case "CLEAR_CHOICES":return t.defaultState;default:return e;}};},871:function(e,t){var i=this&&this.__spreadArray||function(e,t,i){if(i||2===arguments.length)for(var n,r=0,s=t.length;r<s;r++)!n&&r in t||(n||(n=Array.prototype.slice.call(t,0,r)),n[r]=t[r]);return e.concat(n||Array.prototype.slice.call(t));};
41Object.defineProperty(t,"__esModule",{value:!0}),t.defaultState=void 0,t.defaultState=[],t.default=function(e,n){switch(void 0===e&&(e=t.defaultState),void 0===n&&(n={}),n.type){case "ADD_GROUP":var r=n;return i(i([],e,!0),[{id:r.id,value:r.value,active:r.active,disabled:r.disabled}],!1);case "CLEAR_CHOICES":return [];default:return e;}};},655:function(e,t,i){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e};};Object.defineProperty(t,"__esModule",{value:!0}),t.defaultState=void 0;var r=i(791),s=n(i(52)),o=n(i(871)),a=n(i(273)),c=n(i(502)),l=i(799);t.defaultState={groups:[],items:[],choices:[],loading:!1};var h=(0,r.combineReducers)({items:s.default,groups:o.default,choices:a.default,loading:c.default});t.default=function(e,i){var n=e;if("CLEAR_ALL"===i.type)n=t.defaultState;else{if("RESET_TO"===i.type)return (0,l.cloneObject)(i.state);}return h(n,i);};},52:function(e,t){var i=this&&this.__spreadArray||function(e,t,i){if(i||2===arguments.length)for(var n,r=0,s=t.length;r<s;r++)!n&&r in t||(n||(n=Array.prototype.slice.call(t,0,r)),n[r]=t[r]);return e.concat(n||Array.prototype.slice.call(t));};Object.defineProperty(t,"__esModule",{value:!0}),t.defaultState=void 0,t.defaultState=[],t.default=function(e,n){switch(void 0===e&&(e=t.defaultState),void 0===n&&(n={}
41),n.type){case "ADD_ITEM":var r=n;return i(i([],e,!0),[{id:r.id,choiceId:r.choiceId,groupId:r.groupId,value:r.value,label:r.label,active:!0,highlighted:!1,customProperties:r.customProperties,placeholder:r.placeholder||!1,keyCode:null}],!1).map((function(e){var t=e;return t.highlighted=!1,t;}));case "REMOVE_ITEM":return e.map((function(e){var t=e;return t.id===n.id&&(t.active=!1),t;}));case "HIGHLIGHT_ITEM":var s=n;return e.map((function(e){var t=e;return t.id===s.id&&(t.highlighted=s.highlighted),t;}));default:return e;}};},502:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.defaultState=void 0,t.defaultState=!1,t.default=function(e,i){return void 0===e&&(e=t.defaultState),void 0===i&&(i={}),"SET_IS_LOADING"===i.type?i.isLoading:e;};},744:function(e,t,i){var n=this&&this.__spreadArray||function(e,t,i){if(i||2===arguments.length)for(var n,r=0,s=t.length;r<s;r++)!n&&r in t||(n||(n=Array.prototype.slice.call(t,0,r)),n[r]=t[r]);return e.concat(n||Array.prototype.slice.call(t));},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e};};Object.defineProperty(t,"__esModule",{value:!0});var s=i(791),o=r(i(655)),a=function(){function e(){this._store=(0,s.createStore)(o.default,window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__());}return e.prototype.subscribe=function(e){this._store.subscribe(e);},e.prototype.dispatch=function(e){this._store.dispatch(e);},Object.defineProperty(e.prototype,"state",{get:function(){return this._store.getState();},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"items",{get:function(){return this.state.items;},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"activeItems",{get:function(){return this.items.filter((function(e){return !0===e.active;}));},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"highlightedActiveItems",{get:function(){return this.items.filter((function(e){return e.active&&e.highlighted;}));},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"choices",{get:function(){return this.state.choices;},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"activeChoices",{get:function(){return this.choices.filter((function(e){return !0===e.active;}));},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"selectableChoices",{get:function(){return this.choices.filter((function(e){return !0!==e.disabled;}));},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"searchableChoices",{get:function(){return this.selectableChoices.filter((function(e){return !0!==e.placeholder;}));},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"placeholderChoice",{get:function(){return n([],this.choices,!0).reverse().find((function(e){return !0===e.placeholder;}));},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"groups",{get:function(){return this.state.groups;},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"activeGroups",{get:function(){var e=this.groups,t=this.choices;return e.filter((function(e){var i=!0===e.active&&!1===e.disabled,n=t.some((function(e){return !0===e.active&&!1===e.disabled;}));return i&&n;}),[]);},enumerable:!1,configurable:!0}),e.prototype.isLoading=function(){return this.state.loading;},e.prototype.getChoiceById=function(e){return this.activeChoices.find((function(t){return t.id===parseInt(e,10);}));},e.prototype.getGroupById=function(e){return this.groups.find((function(t){return t.id===e;}));},e;}();t.default=a;},686:function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var i={containerOuter:function(e,t,i,n,r,s,o){var a=e.classNames.containerOuter,c=Object.assign(document.createElement("div"),{className:a});return c.dataset.type=s,t&&(c.dir=t),n&&(c.tabIndex=0),i&&(c.setAttribute("role",r?"combobox":"listbox"),r&&c.setAttribute("aria-autocomplete","list")),c.setAttribute("aria-haspopup","true"),c.setAttribute("aria-expanded","false"),o&&c.setAttribute("aria-labelledby",o),c;},containerInner:function(e){var t=e.classNames.containerInner;return Object.assign(document.createElement("div"),{className:t});},itemList:function(e,t){var i=e.classNames,n=i.list,r=i.listSingle,s=i.listItems;return Object.assign(document.createElement("div"),{className:"".concat(n," ").concat(t?r:s)});},placeholder:function(e,t){var i,n=e.allowHTML,r=e.classNames.placeholder;return Object.assign(document.createElement("div"),((i={className:r})[n?"innerHTML":"innerText"]=t,i));},item:function(e,t,i){var n,r,s=e.allowHTML,o=e.classNames,a=o.item,c=o.button,l=o.highlightedState,h=o.itemSelectable,u=o.placeholder,d=t.id,p=t.value,f=t.label,m=t.customProperties,v=t.active,g=t.disabled,_=t.highlighted,y=t.placeholder,E=Object.assign(document.createElement("div"),((n={className:a})[s?"innerHTML":"innerText"]=f,n));if(Object.assign(E.dataset,{item:"",id:d,value:p,customProperties:m}),v&&E.setAttribute("aria-selected","true"),g&&E.setAttribute("aria-disabled","true"),y&&E.classList.add(u),E.classList.add(_?l:h),i){g&&E.classList.remove(h),E.dataset.deletable="";var b="Remove item",S=Object.assign(document.createElement("button"),((r={type:"button",className:c})[s?"innerHTML":"innerText"]=b,r));S.setAttribute("aria-label","".concat(b,": '").concat(p,"'")),S.dataset.button="",E.appendChild(S);}return E;},choiceList:function(e,t){var i=e.classNames.list,n=Object.assign(document.createElement("div"),{className:i});return t||n.setAttribute("aria-multiselectable","true"),n.setAttribute("role","listbox"),n;},choiceGroup:function(e,t){var i,n=e.allowHTML,r=e.classNames,s=r.group,o=r.groupHeading,a=r.itemDisabled,c=t.id,l=t.value,h=t.disabled,u=Object.assign(document.createElement("div"),{className:"".concat(s," ").concat(h?a:"")});return u.setAttribute("role","group"),Object.assign(u.dataset,{group:"",id:c,value:l}),h&&u.setAttribute("aria-disabled","true"),u.appendChild(Object.assign(document.createElement("div"),((i={className:o})[n?"innerHTML":"innerText"]=l,i))),u;},choice:function(e,t,i){var n,r=e.allowHTML,s=e.classNames,o=s.item,a=s.itemChoice,c=s.itemSelectable,l=s.selectedState,h=s.itemDisabled,u=s.placeholder,d=t.id,p=t.value,f=t.label,m=t.groupId,v=t.elementId,g=t.disabled,_=t.selected,y=t.placeholder,E=Object.assign(document.createElement("div"),((n={id:v})[r?"innerHTML":"innerText"]=f,n.className="".concat(o," ").concat(a),n));return _&&E.classList.add(l),y&&E.classList.add(u),E.setAttribute("role",m&&m>0?"treeitem":"option"),Object.assign(E.dataset,{choice:"",id:d,value:p,selectText:i}),g?(E.classList.add(h),E.dataset.choiceDisabled="",E.setAttribute("aria-disabled","true")):(E.classList.add(c),E.dataset.choiceSelectable=""),E;},input:function(e,t){var i=e.classNames,n=i.input,r=i.inputCloned,s=Object.assign(document.createElement("input"),{type:"search",name:"search_terms",className:"".concat(n," ").concat(r),autocomplete:"off",autocapitalize:"off",spellcheck:!1});return s.setAttribute("role","textbox"),s.setAttribute("aria-autocomplete","list"),s.setAttribute("aria-label",t),s;},dropdown:function(e){var t=e.classNames,i=t.list,n=t.listDropdown,r=document.createElement("div");
41return r.classList.add(i,n),r.setAttribute("aria-expanded","false"),r;},notice:function(e,t,i){var n,r=e.allowHTML,s=e.classNames,o=s.item,a=s.itemChoice,c=s.noResults,l=s.noChoices;void 0===i&&(i="");var h=[o,a];return "no-choices"===i?h.push(l):"no-results"===i&&h.push(c),Object.assign(document.createElement("div"),((n={})[r?"innerHTML":"innerText"]=t,n.className=h.join(" "),n));},option:function(e){var t=e.label,i=e.value,n=e.customProperties,r=e.active,s=e.disabled,o=new Option(t,i,!1,r);return n&&(o.dataset.customProperties="".concat(n)),o.disabled=!!s,o;}};t.default=i;},996:function(e){var t=function(e){return function(e){return !!e&&"object"==typeof e;}(e)&&!function(e){var t=Object.prototype.toString.call(e);return "[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===i;}(e);}(e);},i="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function n(e,t){return !1!==t.clone&&t.isMergeableObject(e)?a((i=e,Array.isArray(i)?[]:{}),e,t):e;var i;}function r(e,t,i){return e.concat(t).map((function(e){return n(e,i);}));}function s(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t);})):[];}(e));}function o(e,t){try{return t in e;}catch(e){return !1;}}function a(e,i,c){(c=c||{}).arrayMerge=c.arrayMerge||r,c.isMergeableObject=c.isMergeableObject||t,c.cloneUnlessOtherwiseSpecified=n;var l=Array.isArray(i);return l===Array.isArray(e)?l?c.arrayMerge(e,i,c):function(e,t,i){var r={};return i.isMergeableObject(e)&&s(e).forEach((function(t){r[t]=n(e[t],i);})),s(t).forEach((function(s){(function(e,t){return o(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t));})(e,s)||(o(e,s)&&i.isMergeableObject(t[s])?r[s]=function(e,t){if(!t.customMerge)return a;var i=t.customMerge(e);return "function"==typeof i?i:a;}(s,i)(e[s],t[s],i):r[s]=n(t[s],i));})),r;}(e,i,c):n(i,c);}a.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,i){return a(e,i,t);}),{});};var c=a;e.exports=c;},221:function(e,t,i){function n(e){return Array.isArray?Array.isArray(e):"[object Array]"===l(e);}function r(e){return "string"==typeof e;}function s(e){return "number"==typeof e;}function o(e){return "object"==typeof e;}function a(e){return null!=e;}function c(e){return !e.trim().length;}function l(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e);}i.r(t),i.d(t,{default:function(){return R;}});const h=Object.prototype.hasOwnProperty;class u{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach(((e)=>{let i=d(e);t+=i.weight,this._keys.push(i),this._keyMap[i.id]=i,t+=i.weight;})),this._keys.forEach(((e)=>{e.weight/=t;}));}get(e){return this._keyMap[e];}keys(){return this._keys;}toJSON(){return JSON.stringify(this._keys);}}function d(e){let t=null,i=null,s=null,o=1,a=null;if(r(e)||n(e))s=e,t=p(e),i=f(e);else{if(!h.call(e,"name"))throw new Error("Missing name property in key");const n=e.name;if(s=n,h.call(e,"weight")&&(o=e.weight,o<=0))throw new Error(((e)=>`Property 'weight' in key '${e}' must be a positive integer`)(n));t=p(n),i=f(n),a=e.getFn;}return {path:t,id:i,weight:o,src:s,getFn:a};}function p(e){return n(e)?e:e.split(".");}function f(e){return n(e)?e.join("."):e;}var m={isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1,includeMatches:!1,findAllMatches:!1,minMatchCharLength:1,location:0,threshold:.6,distance:100,useExtendedSearch:!1,getFn:function(e,t){let i=[],c=!1;const h=(e,t,u)=>{if(a(e))if(t[u]){const d=e[t[u]];if(!a(d))return;if(u===t.length-1&&(r(d)||s(d)||function(e){return !0===e||!1===e||function(e){return o(e)&&null!==e;}(e)&&"[object Boolean]"==l(e);}(d)))i.push(function(e){return null==e?"":function(e){if("string"==typeof e)return e;let t=e+"";return "0"==t&&1/e==-1/0?"-0":t;}(e);}(d));else if(n(d)){c=!0;for(let e=0,i=d.length;e<i;e+=1)h(d[e],t,u+1);}else t.length&&h(d,t,u+1);}else i.push(e);};return h(e,r(t)?t.split("."):t,0),c?i:i[0];},ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1};const v=/[^ ]+/g;class g{constructor({getFn:e=m.getFn,fieldNormWeight:t=m.fieldNormWeight}={}){this.norm=function(e=1,t=3){const i=new Map(),n=Math.pow(10,t);return {get(t){const r=t.match(v).length;if(i.has(r))return i.get(r);const s=1/Math.pow(r,.5*e),o=parseFloat(Math.round(s*n)/n);return i.set(r,o),o;},clear(){i.clear();}};}(t,3),this.getFn=e,this.isCreated=!1,this.setIndexRecords();}setSources(e=[]){this.docs=e;}setIndexRecords(e=[]){this.records=e;}setKeys(e=[]){this.keys=e,this._keysMap={},e.forEach(((e,t)=>{this._keysMap[e.id]=t;}));}create(){!this.isCreated&&this.docs.length&&(this.isCreated=!0,r(this.docs[0])?this.docs.forEach(((e,t)=>{this._addString(e,t);})):this.docs.forEach(((e,t)=>{this._addObject(e,t);})),this.norm.clear());}add(e){const t=this.size();r(e)?this._addString(e,t):this._addObject(e,t);}removeAt(e){this.records.splice(e,1);for(let t=e,i=this.size();t<i;t+=1)this.records[t].i-=1;}getValueForItemAtKeyId(e,t){return e[this._keysMap[t]];}size(){return this.records.length;}_addString(e,t){if(!a(e)||c(e))return;let i={v:e,i:t,n:this.norm.get(e)};this.records.push(i);}_addObject(e,t){let i={i:t,$:{}};this.keys.forEach(((t,s)=>{let o=t.getFn?t.getFn(e):this.getFn(e,t.path);if(a(o))if(n(o)){let e=[];const t=[{nestedArrIndex:-1,value:o}];for(;t.length;){const {nestedArrIndex:i,value:s}=t.pop();if(a(s))if(r(s)&&!c(s)){let t={v:s,i,n:this.norm.get(s)};e.push(t);}
41else n(s)&&s.forEach(((e,i)=>{t.push({nestedArrIndex:i,value:e});}));}i.$[s]=e;}else{if(r(o)&&!c(o)){let e={v:o,n:this.norm.get(o)};i.$[s]=e;}}})),this.records.push(i);}toJSON(){return {keys:this.keys,records:this.records};}}function _(e,t,{getFn:i=m.getFn,fieldNormWeight:n=m.fieldNormWeight}={}){const r=new g({getFn:i,fieldNormWeight:n});return r.setKeys(e.map(d)),r.setSources(t),r.create(),r;}function y(e,{errors:t=0,currentLocation:i=0,expectedLocation:n=0,distance:r=m.distance,ignoreLocation:s=m.ignoreLocation}={}){const o=t/e.length;if(s)return o;const a=Math.abs(n-i);return r?o+a/r:a?1:o;}const E=32;function b(e){let t={};for(let i=0,n=e.length;i<n;i+=1){const r=e.charAt(i);t[r]=(t[r]||0)|1<<n-i-1;}return t;}class S{constructor(e,{location:t=m.location,threshold:i=m.threshold,distance:n=m.distance,includeMatches:r=m.includeMatches,findAllMatches:s=m.findAllMatches,minMatchCharLength:o=m.minMatchCharLength,isCaseSensitive:a=m.isCaseSensitive,ignoreLocation:c=m.ignoreLocation}={}){if(this.options={location:t,threshold:i,distance:n,includeMatches:r,findAllMatches:s,minMatchCharLength:o,isCaseSensitive:a,ignoreLocation:c},this.pattern=a?e:e.toLowerCase(),this.chunks=[],!this.pattern.length)return;const l=(e,t)=>{this.chunks.push({pattern:e,alphabet:b(e),startIndex:t});},h=this.pattern.length;if(h>E){let e=0;const t=h%E,i=h-t;for(;e<i;)l(this.pattern.substr(e,E),e),e+=E;if(t){const e=h-E;l(this.pattern.substr(e),e);}}else l(this.pattern,0);}searchIn(e){const {isCaseSensitive:t,includeMatches:i}=this.options;if(t||(e=e.toLowerCase()),this.pattern===e){let t={isMatch:!0,score:0};return i&&(t.indices=[[0,e.length-1]]),t;}const {location:n,distance:r,threshold:s,findAllMatches:o,minMatchCharLength:a,ignoreLocation:c}=this.options;let l=[],h=0,u=!1;this.chunks.forEach((({pattern:t,alphabet:d,startIndex:p})=>{const {isMatch:f,score:v,indices:g}=function(e,t,i,{location:n=m.location,distance:r=m.distance,threshold:s=m.threshold,findAllMatches:o=m.findAllMatches,minMatchCharLength:a=m.minMatchCharLength,includeMatches:c=m.includeMatches,ignoreLocation:l=m.ignoreLocation}={}){if(t.length>E)throw new Error("Pattern length exceeds max of 32.");const h=t.length,u=e.length,d=Math.max(0,Math.min(n,u));let p=s,f=d;const v=a>1||c,g=v?Array(u):[];let _;for(;(_=e.indexOf(t,f))>-1;){let e=y(t,{currentLocation:_,expectedLocation:d,distance:r,ignoreLocation:l});if(p=Math.min(e,p),f=_+h,v){let e=0;for(;e<h;)g[_+e]=1,e+=1;}}f=-1;let b=[],S=1,O=h+u;const I=1<<h-1;for(let n=0;n<h;n+=1){let s=0,a=O;for(;s<a;)y(t,{errors:n,currentLocation:d+a,expectedLocation:d,distance:r,ignoreLocation:l})<=p?s=a:O=a,a=Math.floor((O-s)/2+s);O=a;let c=Math.max(1,d-a+1),m=o?u:Math.min(d+a,u)+h,_=Array(m+2);_[m+1]=(1<<n)-1;for(let s=m;s>=c;s-=1){let o=s-1,a=i[e.charAt(o)];if(v&&(g[o]=+!!a),_[s]=(_[s+1]<<1|1)&a,n&&(_[s]|=(b[s+1]|b[s])<<1|1|b[s+1]),_[s]&I&&(S=y(t,{errors:n,currentLocation:o,expectedLocation:d,distance:r,ignoreLocation:l}),S<=p)){if(p=S,f=o,f<=d)break;c=Math.max(1,2*d-f);}}if(y(t,{errors:n+1,currentLocation:d,expectedLocation:d,distance:r,ignoreLocation:l})>p)break;b=_;}const C={isMatch:f>=0,score:Math.max(.001,S)};if(v){const e=function(e=[],t=m.minMatchCharLength){let i=[],n=-1,r=-1,s=0;for(let o=e.length;s<o;s+=1){let o=e[s];o&&-1===n?n=s:o||-1===n||(r=s-1,r-n+1>=t&&i.push([n,r]),n=-1);}return e[s-1]&&s-n>=t&&i.push([n,s-1]),i;}(g,a);e.length?c&&(C.indices=e):C.isMatch=!1;}return C;}(e,t,d,{location:n+p,distance:r,threshold:s,findAllMatches:o,minMatchCharLength:a,includeMatches:i,ignoreLocation:c});f&&(u=!0),h+=v,f&&g&&(l=[...l,...g]);}));let d={isMatch:u,score:u?h/this.chunks.length:1};return u&&i&&(d.indices=l),d;}}class O{constructor(e){this.pattern=e;}static isMultiMatch(e){return I(e,this.multiRegex);}static isSingleMatch(e){return I(e,this.singleRegex);}search(){}}function I(e,t){const i=e.match(t);return i?i[1]:null;}class C extends O{constructor(e,{location:t=m.location,threshold:i=m.threshold,distance:n=m.distance,includeMatches:r=m.includeMatches,findAllMatches:s=m.findAllMatches,minMatchCharLength:o=m.minMatchCharLength,isCaseSensitive:a=m.isCaseSensitive,ignoreLocation:c=m.ignoreLocation}={}){super(e),this._bitapSearch=new S(e,{location:t,threshold:i,distance:n,includeMatches:r,findAllMatches:s,minMatchCharLength:o,isCaseSensitive:a,ignoreLocation:c});}static get type(){return "fuzzy";}static get multiRegex(){return /^"(.*)"$/;}static get singleRegex(){return /^(.*)$/;}search(e){return this._bitapSearch.searchIn(e);}}class T extends O{constructor(e){super(e);}static get type(){return "include";}static get multiRegex(){return /^'"(.*)"$/;}static get singleRegex(){return /^'(.*)$/;}search(e){let t,i=0;const n=[],r=this.pattern.length;for(;(t=e.indexOf(this.pattern,i))>-1;)i=t+r,n.push([t,i-1]);const s=!!n.length;return {isMatch:s,score:s?0:1,indices:n};}}const L=[class extends O{constructor(e){super(e);}static get type(){return "exact";}static get multiRegex(){return /^="(.*)"$/;}static get singleRegex(){return /^=(.*)$/;}search(e){const t=e===this.pattern;return {isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]};}},T,class extends O{constructor(e){super(e);}static get type(){return "prefix-exact";}static get multiRegex(){return /^\^"(.*)"$/;}static get singleRegex(){return /^\^(.*)$/;}search(e){const t=e.startsWith(this.pattern);return {isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]};}},class extends O{constructor(e){super(e);}static get type(){return "inverse-prefix-exact";}static get multiRegex(){return /^!\^"(.*)"$/;}static get singleRegex(){return /^!\^(.*)$/;}search(e){const t=!e.startsWith(this.pattern);return {isMatch:t,score:t?0:1,indices:[0,e.length-1]};}},class extends O{constructor(e){super(e);}static get type(){return "inverse-suffix-exact";}static get multiRegex(){return /^!"(.*)"\$$/;}static get singleRegex(){return /^!(.*)\$$/;}search(e){const t=!e.endsWith(this.pattern);return {isMatch:t,score:t?0:1,indices:[0,e.length-1]};}},class extends O{constructor(e){super(e);}static get type(){return "suffix-exact";}static get multiRegex(){return /^"(.*)"\$$/;}static get singleRegex(){return /^(.*)\$$/;}search(e){const t=e.endsWith(this.pattern);return {isMatch:t,score:t?0:1,indices:[e.length-this.pattern.length,e.length-1]};}},class extends O{constructor(e){super(e);}static get type(){return "inverse-exact";}static get multiRegex(){return /^!"(.*)"$/;}static get singleRegex(){return /^!(.*)$/;}search(e){const t=-1===e.indexOf(this.pattern);return {isMatch:t,score:t?0:1,indices:[0,e.length-1]};}},C],w=L.length,A=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,M=new Set([C.type,T.type]);const P=[];function x(e,t){for(let i=0,n=P.length;i<n;i+=1){let n=P[i];if(n.condition(e,t))return new n(e,t);}return new S(e,t);}const N="$and",D=(e)=>!(!e.$and&&!e.$or),j=(e)=>({[N]:Object.keys(e).map(((t)=>({[t]:e[t]})))});function F(e,t,{auto:i=!0}={}){const s=(e)=>{let a=Object.keys(e);const c=((e)=>!!e.$path)(e);if(!c&&a.length>1&&!D(e))return s(j(e));if(((e)=>!n(e)&&o(e)&&!D(e))(e)){const n=c?e.$path:a[0],s=c?e.$val:e[n];if(!r(s))throw new Error(((e)=>`Invalid value for key ${e}`)(n));const o={keyId:f(n),pattern:s};return i&&(o.searcher=x(s,t)),o;}let l={children:[],operator:a[0]};return a.forEach(((t)=>{const i=e[t];
41n(i)&&i.forEach(((e)=>{l.children.push(s(e));}));})),l;};return D(e)||(e=j(e)),s(e);}function k(e,t){const i=e.matches;t.matches=[],a(i)&&i.forEach(((e)=>{if(!a(e.indices)||!e.indices.length)return;const {indices:i,value:n}=e;let r={indices:i,value:n};e.key&&(r.key=e.key.src),e.idx>-1&&(r.refIndex=e.idx),t.matches.push(r);}));}function K(e,t){t.score=e.score;}class R{constructor(e,t={},i){this.options={...m,...t},this.options.useExtendedSearch,this._keyStore=new u(this.options.keys),this.setCollection(e,i);}setCollection(e,t){if(this._docs=e,t&&!(t instanceof g))throw new Error("Incorrect 'index' type");this._myIndex=t||_(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight});}add(e){a(e)&&(this._docs.push(e),this._myIndex.add(e));}remove(e=(()=>!1)){const t=[];for(let i=0,n=this._docs.length;i<n;i+=1){const r=this._docs[i];e(r,i)&&(this.removeAt(i),i-=1,n-=1,t.push(r));}return t;}removeAt(e){this._docs.splice(e,1),this._myIndex.removeAt(e);}getIndex(){return this._myIndex;}search(e,{limit:t=-1}={}){const {includeMatches:i,includeScore:n,shouldSort:o,sortFn:a,ignoreFieldNorm:c}=this.options;let l=r(e)?r(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return function(e,{ignoreFieldNorm:t=m.ignoreFieldNorm}){e.forEach(((e)=>{let i=1;e.matches.forEach((({key:e,norm:n,score:r})=>{const s=e?e.weight:null;i*=Math.pow(0===r&&s?Number.EPSILON:r,(s||1)*(t?1:n));})),e.score=i;}));}(l,{ignoreFieldNorm:c}),o&&l.sort(a),s(t)&&t>-1&&(l=l.slice(0,t)),function(e,t,{includeMatches:i=m.includeMatches,includeScore:n=m.includeScore}={}){const r=[];return i&&r.push(k),n&&r.push(K),e.map(((e)=>{const {idx:i}=e,n={item:t[i],refIndex:i};return r.length&&r.forEach(((t)=>{t(e,n);})),n;}));}(l,this._docs,{includeMatches:i,includeScore:n});}_searchStringList(e){const t=x(e,this.options),{records:i}=this._myIndex,n=[];return i.forEach((({v:e,i,n:r})=>{if(!a(e))return;const {isMatch:s,score:o,indices:c}=t.searchIn(e);s&&n.push({item:e,idx:i,matches:[{score:o,value:e,norm:r,indices:c}]});})),n;}_searchLogical(e){const t=F(e,this.options),i=(e,t,n)=>{if(!e.children){const {keyId:i,searcher:r}=e,s=this._findMatches({key:this._keyStore.get(i),value:this._myIndex.getValueForItemAtKeyId(t,i),searcher:r});return s&&s.length?[{idx:n,item:t,matches:s}]:[];}const r=[];for(let s=0,o=e.children.length;s<o;s+=1){const o=e.children[s],a=i(o,t,n);if(a.length)r.push(...a);else{if(e.operator===N)return [];}}return r;},n=this._myIndex.records,r={},s=[];return n.forEach((({$:e,i:n})=>{if(a(e)){let o=i(t,e,n);o.length&&(r[n]||(r[n]={idx:n,item:e,matches:[]},s.push(r[n])),o.forEach((({matches:e})=>{r[n].matches.push(...e);})));}})),s;}_searchObjectList(e){const t=x(e,this.options),{keys:i,records:n}=this._myIndex,r=[];return n.forEach((({$:e,i:n})=>{if(!a(e))return;let s=[];i.forEach(((i,n)=>{s.push(...this._findMatches({key:i,value:e[n],searcher:t}));})),s.length&&r.push({idx:n,item:e,matches:s});})),r;}_findMatches({key:e,value:t,searcher:i}){if(!a(t))return [];let r=[];if(n(t))t.forEach((({v:t,i:n,n:s})=>{if(!a(t))return;const {isMatch:o,score:c,indices:l}=i.searchIn(t);o&&r.push({score:c,key:e,value:t,idx:n,norm:s,indices:l});}));else{const {v:n,n:s}=t,{isMatch:o,score:a,indices:c}=i.searchIn(n);o&&r.push({score:a,key:e,value:n,norm:s,indices:c});}return r;}}R.version="6.6.2",R.createIndex=_,R.parseIndex=function(e,{getFn:t=m.getFn,fieldNormWeight:i=m.fieldNormWeight}={}){const {keys:n,records:r}=e,s=new g({getFn:t,fieldNormWeight:i});return s.setKeys(n),s.setIndexRecords(r),s;},R.config=m,R.parseQuery=F,function(...e){P.push(...e);}(class{constructor(e,{isCaseSensitive:t=m.isCaseSensitive,includeMatches:i=m.includeMatches,minMatchCharLength:n=m.minMatchCharLength,ignoreLocation:r=m.ignoreLocation,findAllMatches:s=m.findAllMatches,location:o=m.location,threshold:a=m.threshold,distance:c=m.distance}={}){this.query=null,this.options={isCaseSensitive:t,includeMatches:i,minMatchCharLength:n,findAllMatches:s,ignoreLocation:r,location:o,threshold:a,distance:c},this.pattern=t?e:e.toLowerCase(),this.query=function(e,t={}){return e.split("|").map(((e)=>{let i=e.trim().split(A).filter(((e)=>e&&!!e.trim())),n=[];for(let e=0,r=i.length;e<r;e+=1){const r=i[e];let s=!1,o=-1;for(;!s&&++o<w;){const e=L[o];let i=e.isMultiMatch(r);i&&(n.push(new e(i,t)),s=!0);}if(!s)for(o=-1;++o<w;){const e=L[o];let i=e.isSingleMatch(r);if(i){n.push(new e(i,t));break;}}}return n;}));}(this.pattern,this.options);}static condition(e,t){return t.useExtendedSearch;}searchIn(e){const t=this.query;if(!t)return {isMatch:!1,score:1};const {includeMatches:i,isCaseSensitive:n}=this.options;e=n?e:e.toLowerCase();let r=0,s=[],o=0;for(let n=0,a=t.length;n<a;n+=1){const a=t[n];s.length=0,r=0;for(let t=0,n=a.length;t<n;t+=1){const n=a[t],{isMatch:c,indices:l,score:h}=n.search(e);if(!c){o=0,r=0,s.length=0;break;}if(r+=1,o+=h,i){const e=n.constructor.type;M.has(e)?s=[...s,...l]:s.push(l);}}
41if(r){let e={isMatch:!0,score:o/r};return i&&(e.indices=s),e;}}return {isMatch:!1,score:1};}});},791:function(e,t,i){function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e;}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e;},n(e);}function r(e,t,i){return (t=function(e){var t=function(e,t){if("object"!==n(e)||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var r=i.call(e,t);if("object"!==n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.");}return String(e);}(e,"string");return "symbol"===n(t)?t:String(t);}(t)) in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e;}function s(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable;}))),i.push.apply(i,n);}return i;}function o(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?s(Object(i),!0).forEach((function(t){r(e,t,i[t]);})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):s(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t));}));}return e;}function a(e){return "Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. ";}i.r(t),i.d(t,{__DO_NOT_USE__ActionTypes:function(){return h;},applyMiddleware:function(){return _;},bindActionCreators:function(){return v;},combineReducers:function(){return f;},compose:function(){return g;},createStore:function(){return d;},legacy_createStore:function(){return p;}});var c="function"==typeof Symbol&&Symbol.observable||"@@observable",l=function(){return Math.random().toString(36).substring(7).split("").join(".");},h={INIT:"@@redux/INIT"+l(),REPLACE:"@@redux/REPLACE"+l(),PROBE_UNKNOWN_ACTION:function(){return "@@redux/PROBE_UNKNOWN_ACTION"+l();}};function u(e){if("object"!=typeof e||null===e)return !1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t;}function d(e,t,i){var n;if("function"==typeof t&&"function"==typeof i||"function"==typeof i&&"function"==typeof arguments[3])throw new Error(a(0));if("function"==typeof t&&void 0===i&&(i=t,t=void 0),void 0!==i){if("function"!=typeof i)throw new Error(a(1));return i(d)(e,t);}if("function"!=typeof e)throw new Error(a(2));var r=e,s=t,o=[],l=o,p=!1;function f(){l===o&&(l=o.slice());}function m(){if(p)throw new Error(a(3));return s;}function v(e){if("function"!=typeof e)throw new Error(a(4));if(p)throw new Error(a(5));var t=!0;return f(),l.push(e),function(){if(t){if(p)throw new Error(a(6));t=!1,f();var i=l.indexOf(e);l.splice(i,1),o=null;}};}function g(e){if(!u(e))throw new Error(a(7));if(void 0===e.type)throw new Error(a(8));if(p)throw new Error(a(9));try{p=!0,s=r(s,e);}finally{p=!1;}for(var t=o=l,i=0;i<t.length;i++)(0,t[i])();return e;}function _(e){if("function"!=typeof e)throw new Error(a(10));r=e,g({type:h.REPLACE});}function y(){var e,t=v;return (e={subscribe:function(e){if("object"!=typeof e||null===e)throw new Error(a(11));function i(){e.next&&e.next(m());}return i(),{unsubscribe:t(i)};}})[c]=function(){return this;},e;}return g({type:h.INIT}),(n={dispatch:g,subscribe:v,getState:m,replaceReducer:_})[c]=y,n;}var p=d;function f(e){for(var t=Object.keys(e),i={},n=0;n<t.length;n++){var r=t[n];"function"==typeof e[r]&&(i[r]=e[r]);}var s,o=Object.keys(i);try{!function(e){Object.keys(e).forEach((function(t){var i=e[t];if(void 0===i(void 0,{type:h.INIT}))throw new Error(a(12));if(void 0===i(void 0,{type:h.PROBE_UNKNOWN_ACTION()}))throw new Error(a(13));}));}(i);}catch(e){s=e;}return function(e,t){if(void 0===e&&(e={}),s)throw s;for(var n=!1,r={},c=0;c<o.length;c++){var l=o[c],h=i[l],u=e[l],d=h(u,t);if(void 0===d)throw t&&t.type,new Error(a(14));r[l]=d,n=n||d!==u;}return (n=n||o.length!==Object.keys(e).length)?r:e;};}function m(e,t){return function(){return t(e.apply(this,arguments));};}function v(e,t){if("function"==typeof e)return m(e,t);if("object"!=typeof e||null===e)throw new Error(a(16));var i={};for(var n in e){var r=e[n];"function"==typeof r&&(i[n]=m(r,t));}return i;}function g(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return 0===t.length?function(e){return e;}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments));};}));}function _(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return function(e){return function(){var i=e.apply(void 0,arguments),n=function(){throw new Error(a(15));},r={getState:i.getState,dispatch:function(){return n.apply(void 0,arguments);}},s=t.map((function(e){return e(r);}));return n=g.apply(void 0,s)(i.dispatch),o(o({},i),{},{dispatch:n});};};}}},t={};function i(n){var r=t[n];
41if(void 0!==r)return r.exports;var s=t[n]={exports:{}};return e[n].call(s.exports,s,s.exports,i),s.exports;}i.n=function(e){var t=e&&e.__esModule?function(){return e.default;}:function(){return e;};return i.d(t,{a:t}),t;},i.d=function(e,t){for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]});},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t);},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0});};var n,r,s={};n=i(373),r=i.n(n),i(187),i(883),i(789),i(686),s.default=r(),window.Choices=s.default;}();;
42!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports;}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r});},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0});},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t];}.bind(null,o));return r;},n.n=function(e){var t=e&&e.__esModule?function(){return e.default;}:function(){return e;};return n.d(t,"a",t),t;},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t);},n.p="/javascripts/",n(n.s=106);}({106:function(e,t,n){"use strict";n.r(t);var r=n(18);const o=new XMLHttpRequest();o.open("GET",r.b,!0),o.onreadystatechange=()=>{if(4===o.readyState){const e=document.createElement("div"),t=()=>document.body.appendChild(e);e.setAttribute("style","height: 0; width: 0; position: absolute; visibility: hidden; display: none"),e.innerHTML=o.responseText,"complete"===document.readyState?t():(document.addEventListener("DOMContentLoaded",()=>t(),!1),window.addEventListener("load",()=>t(),!1));}},o.send();},18:function(e,t,n){"use strict";n.d(t,"b",function(){return r;}),n.d(t,"a",function(){return o;}),n.d(t,"c",function(){return i;});const r=window.vwstiftung.ICON_SPRITE_URL||"/media/icons/icons.svg",o=(document.documentElement.lang,{s:"0px",m:"480px",l:"768px",xl:"1024px",xxl:"1440px"}),i={s:"(min-width: 0px)",m:"(min-width: 480px)",l:"(min-width: 768px)",xl:"(min-width: 1024px)"};}});;
43!function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports;}n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i});},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0});},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e];}.bind(null,r));return i;},n.n=function(t){var e=t&&t.__esModule?function(){return t.default;}:function(){return t;};return n.d(e,"a",e),e;},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e);},n.p="/javascripts/",n(n.s=193);}([function(t,e,n){(function(e){var n="object",i=function(t){return t&&t.Math==Math&&t;};t.exports=i(typeof globalThis==n&&globalThis)||i(typeof window==n&&window)||i(typeof self==n&&self)||i(typeof e==n&&e)||Function("return this")();}).call(this,n(74));},function(t,e,n){var i=n(0),r=n(31).f,o=n(13),s=n(16),a=n(44),c=n(78),l=n(51);t.exports=function(t,e){var n,u,h,d,f,p=t.target,m=t.global,v=t.stat;if(n=m?i:v?i[p]||a(p,{}):(i[p]||{}).prototype)for(u in e){if(d=e[u],h=t.noTargetGet?(f=r(n,u))&&f.value:n[u],!l(m?u:p+(v?".":"#")+u,t.forced)&&void 0!==h){if(typeof d==typeof h)continue;c(d,h);}(t.sham||h&&h.sham)&&o(d,"sham",!0),s(n,u,d,t);}};},function(t,e,n){var i=n(180),r=n(181),o="undefined"==typeof window?n(183):window,s=o.document,a=o.Text;function c(){var t=[];function e(){var e=[].slice.call(arguments),n=null;function o(e){var c,h,d;if(null==e);else if("string"==typeof e)n?n.appendChild(c=s.createTextNode(e)):(d=i(e,/([\.#]?[^\s#.]+)/),/^\.|#/.test(d[1])&&(n=s.createElement("div")),u(d,function(t){var e=t.substring(1,t.length);t&&(n?"."===t[0]?r(n).add(e):"#"===t[0]&&n.setAttribute("id",e):n=s.createElement(t));}));else if("number"==typeof e||"boolean"==typeof e||e instanceof Date||e instanceof RegExp)n.appendChild(c=s.createTextNode(e.toString()));else if(h=e,"[object Array]"==Object.prototype.toString.call(h))u(e,o);else if(l(e))n.appendChild(c=e);else if(e instanceof a)n.appendChild(c=e);else if("object"==typeof e)for(var f in e)if("function"==typeof e[f])/^on\w+/.test(f)?function(e,i){n.addEventListener?(n.addEventListener(e.substring(2),i[e],!1),t.push(function(){n.removeEventListener(e.substring(2),i[e],!1);})):(n.attachEvent(e,i[e]),t.push(function(){n.detachEvent(e,i[e]);}));}(f,e):(n[f]=e[f](),t.push(e[f](function(t){n[f]=t;}
43)));else if("style"===f)if("string"==typeof e[f])n.style.cssText=e[f];else for(var p in e[f])!function(i,r){if("function"==typeof r)n.style.setProperty(i,r()),t.push(r(function(t){n.style.setProperty(i,t);}));else var o=e[f][i].match(/(.*)\W+!important\W*$/);o?n.style.setProperty(i,o[1],"important"):n.style.setProperty(i,e[f][i]);}(p,e[f][p]);else if("attrs"===f)for(var m in e[f])n.setAttribute(m,e[f][m]);else "data-"===f.substr(0,5)?n.setAttribute(f,e[f]):n[f]=e[f];else{if("function"==typeof e){m=e();n.appendChild(c=l(m)?m:s.createTextNode(m)),t.push(e(function(t){l(t)&&c.parentElement?(c.parentElement.replaceChild(t,c),c=t):c.textContent=t;}));}}return c;}for(;e.length;)o(e.shift());return n;}return e.cleanup=function(){for(var e=0;e<t.length;e++)t[e]();t.length=0;},e;}function l(t){return t&&t.nodeName&&t.nodeType;}function u(t,e){if(t.forEach)return t.forEach(e);for(var n=0;n<t.length;n++)e(t[n],n);}(t.exports=c()).context=c;},function(t,e,n){var i=n(0),r=n(34),o=n(46),s=n(116),a=i.Symbol,c=r("wks");t.exports=function(t){return c[t]||(c[t]=s&&a[t]||(s?a:o)("Symbol."+t));};},function(t,e){t.exports=function(t){try{return !!t();}catch(t){return !0;}};},function(t,e,n){var i=n(8);t.exports=function(t){if(!i(t))throw TypeError(String(t)+" is not an object");return t;};},function(t,e,n){var i=n(15),r=Math.min;t.exports=function(t){return t>0?r(i(t),9007199254740991):0;};},function(t,e,n){var i=n(4);t.exports=!i(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7;}}).a;});},function(t,e){t.exports=function(t){return "object"==typeof t?null!==t:"function"==typeof t;};},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e);};},function(t,e,n){var i=n(7),r=n(76),o=n(5),s=n(33),a=Object.defineProperty;e.f=i?a:function(t,e,n){if(o(t),e=s(e,!0),o(n),r)try{return a(t,e,n);}catch(t){}if("get" in n||"set" in n)throw TypeError("Accessors not supported");return "value" in n&&(t[e]=n.value),t;};},function(t,e,n){"use strict";n.d(e,"b",function(){return i;}),n.d(e,"a",function(){return r;}),n.d(e,"c",function(){return o;});const i=window.vwstiftung.ICON_SPRITE_URL||"/media/icons/icons.svg",r=(document.documentElement.lang,{s:"0px",m:"480px",l:"768px",xl:"1024px",xxl:"1440px"}),o={s:"(min-width: 0px)",m:"(min-width: 480px)",l:"(min-width: 768px)",xl:"(min-width: 1024px)"};},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t;};},function(t,e,n){var i=n(7),r=n(10),o=n(23);t.exports=i?function(t,e,n){return r.f(t,e,o(1,n));}:function(t,e,n){return t[e]=n,t;};},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1);};},function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:n)(t);};},function(t,e,n){var i=n(0),r=n(34),o=n(13),s=n(9),a=n(44),c=n(77),l=n(19),u=l.get,h=l.enforce,d=String(c).split("toString");r("inspectSource",function(t){return c.call(t);}),(t.exports=function(t,e,n,r){var c=!!r&&!!r.unsafe,l=!!r&&!!r.enumerable,u=!!r&&!!r.noTargetGet;"function"==typeof n&&("string"!=typeof e||s(n,"name")||o(n,"name",e),h(n).source=d.join("string"==typeof e?e:"")),t!==i?(c?!u&&t[e]&&(l=!0):delete t[e],l?t[e]=n:o(t,e,n)):l?t[e]=n:a(e,n);})(Function.prototype,"toString",function(){return "function"==typeof this&&u(this).source||c.call(this);});},function(t,e,n){var i=n(12);t.exports=function(t){return Object(i(t));};},function(t,e,n){"use strict";var i=n(1),r=n(0),o=n(7),s=n(71),a=n(21),c=n(88),l=n(29),u=n(23),h=n(13),d=n(6),f=n(89),p=n(154),m=n(33),v=n(9),g=n(58),y=n(8),b=n(56),E=n(36),_=n(35).f,w=n(99),S=n(155).forEach,O=n(61),L=n(10),x=n(31),T=n(19),C=T.get,A=T.set,I=L.f,P=x.f,j=Math.round,k=r.RangeError,M=c.ArrayBuffer,D=c.DataView,$=a.NATIVE_ARRAY_BUFFER_VIEWS,N=a.TYPED_ARRAY_TAG,R=a.TypedArray,B=a.TypedArrayPrototype,F=a.aTypedArrayConstructor,q=a.isTypedArray,H=function(t,e){for(var n=0,i=e.length,r=new (F(t))(i);i>n;)r[n]=e[n++];return r;},U=function(t,e){I(t,e,{get:function(){return C(this)[e];}});},W=function(t){var e;return t instanceof M||"ArrayBuffer"==(e=g(t))||"SharedArrayBuffer"==e;},z=function(t,e){return q(t)&&"symbol"!=typeof e&&e in t&&String(+e)==String(e);},Y=function(t,e){return z(t,e=m(e,!0))?u(2,t[e]):P(t,e);},V=function(t,e,n){return !(z(t,e=m(e,!0))&&y(n)&&v(n,"value"))||v(n,"get")||v(n,"set")||n.configurable||v(n,"writable")&&!n.writable||v(n,"enumerable")&&!n.enumerable?I(t,e,n):(t[e]=n.value,t);};o?($||(x.f=Y,L.f=V,U(B,"buffer"),U(B,"byteOffset"),U(B,"byteLength"),U(B,"length")),i({target:"Object",stat:!0,forced:!$},{getOwnPropertyDescriptor:Y,defineProperty:V}),t.exports=function(t,e,n,o){var a=t+(o?"Clamped":"")+"Array",c="get"+t,u="set"+t,m=r[a],v=m,g=v&&v.prototype,L={},x=function(t,n){I(t,n,{get:function(){return function(t,n){var i=C(t);return i.view[c](n*e+i.byteOffset,!0);}(this,n);},set:function(t){return function(t,n,i){var r=C(t);o&&(i=(i=j(i))<0?0:i>255?255:255&i),r.view[u](n*e+r.byteOffset,i,!0);}(this,n,t);},enumerable:!0});};$?s&&(v=n(function(t,n,i,r){return l(t,v,a),y(n)?W(n)?void 0!==r?new m(n,p(i,e),r):void 0!==i?new m
43(n,p(i,e)):new m(n):q(n)?H(v,n):w.call(v,n):new m(f(n));}),E&&E(v,R),S(_(m),function(t){t in v||h(v,t,m[t]);}),v.prototype=g):(v=n(function(t,n,i,r){l(t,v,a);var o,s,c,u=0,h=0;if(y(n)){if(!W(n))return q(n)?H(v,n):w.call(v,n);o=n,h=p(i,e);var m=n.byteLength;if(void 0===r){if(m%e)throw k("Wrong length");if((s=m-h)<0)throw k("Wrong length");}else{if((s=d(r)*e)+h>m)throw k("Wrong length");}c=s/e;}else c=f(n),o=new M(s=c*e);for(A(t,{buffer:o,byteOffset:h,byteLength:s,length:c,view:new D(o)});u<c;)x(t,u++);}),E&&E(v,R),g=v.prototype=b(B)),g.constructor!==v&&h(g,"constructor",v),N&&h(g,N,a),L[a]=v,i({global:!0,forced:v!=m,sham:!$},L),"BYTES_PER_ELEMENT" in v||h(v,"BYTES_PER_ELEMENT",e),"BYTES_PER_ELEMENT" in g||h(g,"BYTES_PER_ELEMENT",e),O(a);}):t.exports=function(){};},function(t,e,n){var i,r,o,s=n(111),a=n(0),c=n(8),l=n(13),u=n(9),h=n(45),d=n(47),f=a.WeakMap;if(s){var p=new f(),m=p.get,v=p.has,g=p.set;i=function(t,e){return g.call(p,t,e),e;},r=function(t){return m.call(p,t)||{};},o=function(t){return v.call(p,t);};}else{var y=h("state");d[y]=!0,i=function(t,e){return l(t,y,e),e;},r=function(t){return u(t,y)?t[y]:{};},o=function(t){return u(t,y);};}t.exports={set:i,get:r,has:o,enforce:function(t){return o(t)?r(t):i(t,{});},getterFor:function(t){return function(e){var n;if(!c(e)||(n=r(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n;};}};},function(t,e,n){var i=n(27);t.exports=function(t,e,n){if(i(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e);};case 1:return function(n){return t.call(e,n);};case 2:return function(n,i){return t.call(e,n,i);};case 3:return function(n,i,r){return t.call(e,n,i,r);};}return function(){return t.apply(e,arguments);};};},function(t,e,n){"use strict";var i,r=n(7),o=n(0),s=n(8),a=n(9),c=n(58),l=n(13),u=n(16),h=n(10).f,d=n(57),f=n(36),p=n(3),m=n(46),v=o.DataView,g=v&&v.prototype,y=o.Int8Array,b=y&&y.prototype,E=o.Uint8ClampedArray,_=E&&E.prototype,w=y&&d(y),S=b&&d(b),O=Object.prototype,L=O.isPrototypeOf,x=p("toStringTag"),T=m("TYPED_ARRAY_TAG"),C=!(!o.ArrayBuffer||!v),A=C&&!!f,I=!1,P={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},j=function(t){return s(t)&&a(P,c(t));};for(i in P)o[i]||(A=!1);if((!A||"function"!=typeof w||w===Function.prototype)&&(w=function(){throw TypeError("Incorrect invocation");},A))for(i in P)o[i]&&f(o[i],w);if((!A||!S||S===O)&&(S=w.prototype,A))for(i in P)o[i]&&f(o[i].prototype,S);if(A&&d(_)!==S&&f(_,S),r&&!a(S,x))for(i in I=!0,h(S,x,{get:function(){return s(this)?this[T]:void 0;}}),P)o[i]&&l(o[i],T,i);C&&f&&d(g)!==O&&f(g,O),t.exports={NATIVE_ARRAY_BUFFER:C,NATIVE_ARRAY_BUFFER_VIEWS:A,TYPED_ARRAY_TAG:I&&T,aTypedArray:function(t){if(j(t))return t;throw TypeError("Target is not a typed array");},aTypedArrayConstructor:function(t){if(f){if(L.call(w,t))return t;}else{for(var e in P)if(a(P,i)){var n=o[e];if(n&&(t===n||L.call(n,t)))return t;}}throw TypeError("Target is not a typed array constructor");},exportProto:function(t,e,n){if(r){if(n)for(var i in P){var s=o[i];s&&a(s.prototype,t)&&delete s.prototype[t];}S[t]&&!n||u(S,t,n?e:A&&b[t]||e);}},exportStatic:function(t,e,n){var i,s;if(r){if(f){if(n)for(i in P)(s=o[i])&&a(s,t)&&delete s[t];if(w[t]&&!n)return;try{return u(w,t,n?e:A&&y[t]||e);}catch(t){}}for(i in P)!(s=o[i])||s[t]&&!n||u(s,t,e);}},isView:function(t){var e=c(t);return "DataView"===e||a(P,e);},isTypedArray:j,TypedArray:w,TypedArrayPrototype:S};},function(t,e,n){var i=n(10).f,r=n(9),o=n(3)("toStringTag");t.exports=function(t,e,n){t&&!r(t=n?t:t.prototype,o)&&i(t,o,{configurable:!0,value:e});};},function(t,e){t.exports=function(t,e){return {enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e};};},function(t,e){t.exports=!1;},function(t,e,n){var i=n(48),r=n(0),o=function(t){return "function"==typeof t?t:void 0;};t.exports=function(t,e){return arguments.length<2?o(i[t])||o(r[t]):i[t]&&i[t][e]||r[t]&&r[t][e];};},function(t,e,n){var i=n(48),r=n(9),o=n(115),s=n(10).f;t.exports=function(t){var e=i.Symbol||(i.Symbol={});r(e,t)||s(e,t,{value:o.f(t)});};},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t;};},function(t,e){t.exports={};},function(t,e){t.exports=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t;};},function(t,e,n){var i=n(58),r=n(28),o=n(3)("iterator");t.exports=function(t){if(null!=t)return t[o]||t["@@iterator"]||r[i(t)];};},function(t,e,n){var i=n(7),r=n(75),o=n(23),s=n(32),a=n(33),c=n(9),l=n(76),u=Object.getOwnPropertyDescriptor;e.f=i?u:function(t,e){if(t=s(t),e=a(e,!0),l)try{return u(t,e);}catch(t){}if(c(t,e))return o(!r.f.call(t,e),t[e]);};},function(t,e,n){var i=n(42),r=n(12);t.exports=function(t){return i(r(t));};},function(t,e,n){var i=n(8);t.exports=function(t,e){if(!i(t))return t;var n,r;if(e&&"function"==typeof (n=t.toString)&&!i(r=n.call(t)))return r;if("function"==typeof (n=t.valueOf)&&!i(r=n.call(t)))return r;if(!e&&"function"==typeof (n=t.toString)&&!i(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value");};},function(t,e,n){var i=n(0),r=n(44),o=n(24),s=i["__core-js_shared__"]||r("__core-js_shared__",{});(t.exports=function(t,e){return s[t]||(s[t]=void 0!==e?e:{});})("versions",[]).push({version:"3.1.3",mode:o?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"});},function(t,e,n){var i=n(79),r=n(50).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return i(t,r);};},function(t,e,n){var i=n(5),r=n(124);
43t.exports=Object.setPrototypeOf||("__proto__" in {}?function(){var t,e=!1,n={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),e=n instanceof Array;}catch(t){}return function(n,o){return i(n),r(o),e?t.call(n,o):n.__proto__=o,n;};}():void 0);},function(t,e,n){var i=n(5),r=n(27),o=n(3)("species");t.exports=function(t,e){var n,s=i(t).constructor;return void 0===s||null==(n=i(s)[o])?e:r(n);};},function(t,e,n){"use strict";var i=n(5);t.exports=function(){var t=i(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e;};},function(t,e,n){"use strict";var i=n(13),r=n(16),o=n(4),s=n(3),a=n(66),c=s("species"),l=!o(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t;},"7"!=="".replace(t,"$<a>");}),u=!o(function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments);};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1];});t.exports=function(t,e,n,h){var d=s(t),f=!o(function(){var e={};return e[d]=function(){return 7;},7!=""[t](e);}),p=f&&!o(function(){var e=!1,n=/a/;return n.exec=function(){return e=!0,null;},"split"===t&&(n.constructor={},n.constructor[c]=function(){return n;}),n[d](""),!e;});if(!f||!p||"replace"===t&&!l||"split"===t&&!u){var m=/./[d],v=n(d,""[t],function(t,e,n,i,r){return e.exec===a?f&&!r?{done:!0,value:m.call(e,n,i)}:{done:!0,value:t.call(n,e,i)}:{done:!1};}),g=v[0],y=v[1];r(String.prototype,t,g),r(RegExp.prototype,d,2==e?function(t,e){return y.call(t,this,e);}:function(t){return y.call(t,this);}),h&&i(RegExp.prototype[d],"sham",!0);}};},function(t,e,n){var i=n(14),r=n(66);t.exports=function(t,e){var n=t.exec;if("function"==typeof n){var o=n.call(t,e);if("object"!=typeof o)throw TypeError("RegExp exec method returned something other than an Object or null");return o;}if("RegExp"!==i(t))throw TypeError("RegExp#exec called on incompatible receiver");return r.call(t,e);};},function(t,e,n){var i;!function(){"use strict";var n={}.hasOwnProperty;function r(){for(var t=[],e=0;e<arguments.length;e++){var i=arguments[e];if(i){var o=typeof i;if("string"===o||"number"===o)t.push(i);else if(Array.isArray(i)){if(i.length){var s=r.apply(null,i);s&&t.push(s);}}else{if("object"===o){if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]")){t.push(i.toString());continue;}for(var a in i)n.call(i,a)&&i[a]&&t.push(a);}}}}return t.join(" ");}t.exports?(r.default=r,t.exports=r):void 0===(i=function(){return r;}.apply(e,[]))||(t.exports=i);}();},function(t,e,n){var i=n(4),r=n(14),o="".split;t.exports=i(function(){return !Object("z").propertyIsEnumerable(0);})?function(t){return "String"==r(t)?o.call(t,""):Object(t);}:Object;},function(t,e,n){var i=n(0),r=n(8),o=i.document,s=r(o)&&r(o.createElement);t.exports=function(t){return s?o.createElement(t):{};};},function(t,e,n){var i=n(0),r=n(13);t.exports=function(t,e){try{r(i,t,e);}catch(n){i[t]=e;}return e;};},function(t,e,n){var i=n(34),r=n(46),o=i("keys");t.exports=function(t){return o[t]||(o[t]=r(t));};},function(t,e){var n=0,i=Math.random();t.exports=function(t){return "Symbol("+String(void 0===t?"":t)+")_"+(++n+i).toString(36);};},function(t,e){t.exports={};},function(t,e,n){t.exports=n(0);},function(t,e,n){var i=n(15),r=Math.max,o=Math.min;t.exports=function(t,e){var n=i(t);return n<0?r(n+e,0):o(n,e);};},function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"];},function(t,e,n){var i=n(4),r=/#|\.prototype\./,o=function(t,e){var n=a[s(t)];return n==l||n!=c&&("function"==typeof e?i(e):!!e);},s=o.normalize=function(t){return String(t).replace(r,".").toLowerCase();},a=o.data={},c=o.NATIVE="N",l=o.POLYFILL="P";t.exports=o;},function(t,e,n){var i=n(14);t.exports=Array.isArray||function(t){return "Array"==i(t);};},function(t,e,n){var i=n(8),r=n(52),o=n(3)("species");t.exports=function(t,e){var n;return r(t)&&("function"!=typeof (n=t.constructor)||n!==Array&&!r(n.prototype)?i(n)&&null===(n=n[o])&&(n=void 0):n=void 0),new (void 0===n?Array:n)(0===e?0:e);};},function(t,e,n){"use strict";var i=n(32),r=n(55),o=n(28),s=n(19),a=n(85),c=s.set,l=s.getterFor("Array Iterator");t.exports=a(Array,"Array",function(t,e){c(this,{type:"Array Iterator",target:i(t),index:0,kind:e});},function(){var t=l(this),e=t.target,n=t.kind,i=t.index++;return !e||i>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:i,done:!1}:"values"==n?{value:e[i],done:!1}:{value:[i,e[i]],done:!1};},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries");},function(t,e,n){var i=n(3),r=n(56),o=n(13),s=i("unscopables"),a=Array.prototype;null==a[s]&&o(a,s,r(null)),t.exports=function(t){a[s][t]=!0;};},function(t,e,n){var i=n(5),r=n(82),o=n(50),s=n(47),a=n(84),c=n(43),l=n(45)("IE_PROTO"),u=function(){},h=function(){var t,e=c("iframe"),n=o.length;for(e.style.display="none",a.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),h=t.F;n--;)delete h.prototype[o[n]];return h();};t.exports=Object.create||function(t,e){var n;return null!==t?(u.prototype=i(t),n=new u(),u.prototype=null,n[l]=t):n=h(),void 0===e?n:r(n,e);},s[l]=!0;},function(t,e,n){var i=n(9),r=n(17),o=n(45),s=n(123),a=o("IE_PROTO"),c=Object.prototype;
43t.exports=s?Object.getPrototypeOf:function(t){return t=r(t),i(t,a)?t[a]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?c:null;};},function(t,e,n){var i=n(14),r=n(3)("toStringTag"),o="Arguments"==i(function(){return arguments;}());t.exports=function(t){var e,n,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof (n=function(t,e){try{return t[e];}catch(t){}}(e=Object(t),r))?n:o?i(e):"Object"==(s=i(e))&&"function"==typeof e.callee?"Arguments":s;};},function(t,e,n){var i=n(16);t.exports=function(t,e,n){for(var r in e)i(t,r,e[r],n);return t;};},function(t,e,n){var i=n(3),r=n(28),o=i("iterator"),s=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||s[o]===t);};},function(t,e,n){"use strict";var i=n(25),r=n(10),o=n(3),s=n(7),a=o("species");t.exports=function(t){var e=i(t),n=r.f;s&&e&&!e[a]&&n(e,a,{configurable:!0,get:function(){return this;}});};},function(t,e,n){var i,r,o,s=n(0),a=n(4),c=n(14),l=n(20),u=n(84),h=n(43),d=s.location,f=s.setImmediate,p=s.clearImmediate,m=s.process,v=s.MessageChannel,g=s.Dispatch,y=0,b={},E=function(t){if(b.hasOwnProperty(t)){var e=b[t];delete b[t],e();}},_=function(t){return function(){E(t);};},w=function(t){E(t.data);},S=function(t){s.postMessage(t+"",d.protocol+"//"+d.host);};f&&p||(f=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return b[++y]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e);},i(y),y;},p=function(t){delete b[t];},"process"==c(m)?i=function(t){m.nextTick(_(t));}:g&&g.now?i=function(t){g.now(_(t));}:v?(o=(r=new v()).port2,r.port1.onmessage=w,i=l(o.postMessage,o,1)):!s.addEventListener||"function"!=typeof postMessage||s.importScripts||a(S)?i="onreadystatechange" in h("script")?function(t){u.appendChild(h("script")).onreadystatechange=function(){u.removeChild(this),E(t);};}:function(t){setTimeout(_(t),0);}:(i=S,s.addEventListener("message",w,!1))),t.exports={set:f,clear:p};},function(t,e,n){var i=n(8),r=n(14),o=n(3)("match");t.exports=function(t){var e;return i(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==r(t));};},function(t,e,n){var i=n(63);t.exports=function(t){if(i(t))throw TypeError("The method doesn't accept regular expressions");return t;};},function(t,e,n){var i=n(3)("match");t.exports=function(t){var e=/./;try{"/./"[t](e);}catch(n){try{return e[i]=!1,"/./"[t](e);}catch(t){}}return !1;};},function(t,e,n){"use strict";var i,r,o=n(38),s=RegExp.prototype.exec,a=String.prototype.replace,c=s,l=(i=/a/,r=/b*/g,s.call(i,"a"),s.call(r,"a"),0!==i.lastIndex||0!==r.lastIndex),u=void 0!==/()??/.exec("")[1];(l||u)&&(c=function(t){var e,n,i,r,c=this;return u&&(n=new RegExp("^"+c.source+"$(?!\\s)",o.call(c))),l&&(e=c.lastIndex),i=s.call(c,t),l&&i&&(c.lastIndex=c.global?i.index+i[0].length:e),u&&i&&i.length>1&&a.call(i[0],n,function(){for(r=1;r<arguments.length-2;r++)void 0===arguments[r]&&(i[r]=void 0);}),i;}),t.exports=c;},function(t,e,n){"use strict";var i=n(68).charAt;t.exports=function(t,e,n){return e+(n?i(t,e).length:1);};},function(t,e,n){var i=n(15),r=n(12),o=function(t){return function(e,n){var o,s,a=String(r(e)),c=i(n),l=a.length;return c<0||c>=l?t?"":void 0:(o=a.charCodeAt(c))<55296||o>56319||c+1===l||(s=a.charCodeAt(c+1))<56320||s>57343?t?a.charAt(c):o:t?a.slice(c,c+2):s-56320+(o-55296<<10)+65536;};};t.exports={codeAt:o(!1),charAt:o(!0)};},function(t,e,n){var i=n(12),r="["+n(98)+"]",o=RegExp("^"+r+r+"*"),s=RegExp(r+r+"*$"),a=function(t){return function(e){var n=String(i(e));return 1&t&&(n=n.replace(o,"")),2&t&&(n=n.replace(s,"")),n;};};t.exports={start:a(1),end:a(2),trim:a(3)};},function(t,e,n){var i=n(4),r=n(98);t.exports=function(t){return i(function(){return !!r[t]()||"â€‹Â…á Ž"!="â€‹Â…á Ž"[t]()||r[t].name!==t;});};},function(t,e,n){var i=n(0),r=n(4),o=n(93),s=n(21).NATIVE_ARRAY_BUFFER_VIEWS,a=i.ArrayBuffer,c=i.Int8Array;t.exports=!s||!r(function(){c(1);})||!r(function(){new c(-1);})||!o(function(t){new c(),new c(null),new c(1.5),new c(t);},!0)||r(function(){return 1!==new c(new a(2),1,void 0).length;});},function(t,e,n){var i,r;window,void 0===(r="function"==typeof (i=function(){"use strict";function t(t){var e=parseFloat(t),n=-1==t.indexOf("%")&&!isNaN(e);return n&&e;}var e="undefined"==typeof console?function(){}:function(t){console.error(t);},n=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],i=n.length;function r(t){var n=getComputedStyle(t);return n||e("Style returned "+n+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),n;}var o,s=!1;function a(e){if(function(){if(!s){s=!0;var e=document.createElement("div");e.style.width="200px",e.style.padding="1px 2px 3px 4px",e.style.borderStyle="solid",e.style.borderWidth="1px 2px 3px 4px",e.style.boxSizing="border-box";var n=document.body||document.documentElement;n.appendChild(e);var i=r(e);o=200==Math.round(t(i.width)),a.isBoxSizeOuter=o,n.removeChild(e);}}(),"string"==typeof e&&(e=document.querySelector(e)),e&&"object"==typeof e&&e.nodeType){var c=r(e);
43if("none"==c.display)return function(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0;e<i;e++){var r=n[e];t[r]=0;}return t;}();var l={};l.width=e.offsetWidth,l.height=e.offsetHeight;for(var u=l.isBorderBox="border-box"==c.boxSizing,h=0;h<i;h++){var d=n[h],f=c[d],p=parseFloat(f);l[d]=isNaN(p)?0:p;}var m=l.paddingLeft+l.paddingRight,v=l.paddingTop+l.paddingBottom,g=l.marginLeft+l.marginRight,y=l.marginTop+l.marginBottom,b=l.borderLeftWidth+l.borderRightWidth,E=l.borderTopWidth+l.borderBottomWidth,_=u&&o,w=t(c.width);!1!==w&&(l.width=w+(_?0:m+b));var S=t(c.height);return !1!==S&&(l.height=S+(_?0:v+E)),l.innerWidth=l.width-(m+b),l.innerHeight=l.height-(v+E),l.outerWidth=l.width+g,l.outerHeight=l.height+y,l;}}return a;})?i.call(e,n,e,t):i)||(t.exports=r);},function(t,e,n){var i;i=function(){return function(){var t={686:function(t,e,n){"use strict";n.d(e,{default:function(){return w;}});var i=n(279),r=n.n(i),o=n(370),s=n.n(o),a=n(817),c=n.n(a);function l(t){try{return document.execCommand(t);}catch(t){return !1;}}var u=function(t){var e=c()(t);return l("cut"),e;};var h=function(t,e){var n=function(t){var e="rtl"===document.documentElement.getAttribute("dir"),n=document.createElement("textarea");n.style.fontSize="12pt",n.style.border="0",n.style.padding="0",n.style.margin="0",n.style.position="absolute",n.style[e?"right":"left"]="-9999px";var i=window.pageYOffset||document.documentElement.scrollTop;return n.style.top="".concat(i,"px"),n.setAttribute("readonly",""),n.value=t,n;}(t);e.container.appendChild(n);var i=c()(n);return l("copy"),n.remove(),i;},d=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{container:document.body},n="";return "string"==typeof t?n=h(t,e):t instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(null==t?void 0:t.type)?n=h(t.value,e):(n=c()(t),l("copy")),n;};function f(t){return (f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t;}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t;})(t);}var p=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.action,n=void 0===e?"copy":e,i=t.container,r=t.target,o=t.text;if("copy"!==n&&"cut"!==n)throw new Error('Invalid "action" value, use either "copy" or "cut"');if(void 0!==r){if(!r||"object"!==f(r)||1!==r.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===n&&r.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===n&&(r.hasAttribute("readonly")||r.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');}return o?d(o,{container:i}):r?"cut"===n?u(r):d(r,{container:i}):void 0;};function m(t){return (m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t;}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t;})(t);}function v(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value" in i&&(i.writable=!0),Object.defineProperty(t,i.key,i);}}function g(t,e){return (g=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t;})(t,e);}function y(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return !1;if(Reflect.construct.sham)return !1;if("function"==typeof Proxy)return !0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0;}catch(t){return !1;}}();return function(){var n,i=E(t);if(e){var r=E(this).constructor;n=Reflect.construct(i,arguments,r);}else n=i.apply(this,arguments);return b(this,n);};}function b(t,e){return !e||"object"!==m(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t;}(t):e;}function E(t){return (E=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t);})(t);}function _(t,e){var n="data-clipboard-".concat(t);if(e.hasAttribute(n))return e.getAttribute(n);}var w=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&g(t,e);}(a,r());var e,n,i,o=y(a);function a(t,e){var n;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function");}(this,a),(n=o.call(this)).resolveOptions(e),n.listenClick(t),n;}return e=a,i=[{key:"copy",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{container:document.body};return d(t,e);}},{key:"cut",value:function(t){return u(t);}},{key:"isSupported",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],e="string"==typeof t?[t]:t,n=!!document.queryCommandSupported;return e.forEach(function(t){n=n&&!!document.queryCommandSupported(t);}),n;}}],(n=[{key:"resolveOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof t.action?t.action:this.defaultAction,this.target="function"==typeof t.target?t.target:this.defaultTarget,this.text="function"==typeof t.text?t.text:this.defaultText,this.container="object"===m(t.container)?t.container:document.body;}},{key:"listenClick",value:function(t){var e=this;this.listener=s()(t,"click",function(t){return e.onClick(t);});}},{key:"onClick",value:function(t){var e=t.delegateTarget||t.currentTarget,n=this.action(e)||"copy",i=p({action:n,container:this.container,target:this.target(e),text:this.text(e)});
43this.emit(i?"success":"error",{action:n,text:i,trigger:e,clearSelection:function(){e&&e.focus(),window.getSelection().removeAllRanges();}});}},{key:"defaultAction",value:function(t){return _("action",t);}},{key:"defaultTarget",value:function(t){var e=_("target",t);if(e)return document.querySelector(e);}},{key:"defaultText",value:function(t){return _("text",t);}},{key:"destroy",value:function(){this.listener.destroy();}}])&&v(e.prototype,n),i&&v(e,i),a;}();},828:function(t){var e=9;if("undefined"!=typeof Element&&!Element.prototype.matches){var n=Element.prototype;n.matches=n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector;}t.exports=function(t,n){for(;t&&t.nodeType!==e;){if("function"==typeof t.matches&&t.matches(n))return t;t=t.parentNode;}};},438:function(t,e,n){var i=n(828);function r(t,e,n,r,o){var s=function(t,e,n,r){return function(n){n.delegateTarget=i(n.target,e),n.delegateTarget&&r.call(t,n);};}.apply(this,arguments);return t.addEventListener(n,s,o),{destroy:function(){t.removeEventListener(n,s,o);}};}t.exports=function(t,e,n,i,o){return "function"==typeof t.addEventListener?r.apply(null,arguments):"function"==typeof n?r.bind(null,document).apply(null,arguments):("string"==typeof t&&(t=document.querySelectorAll(t)),Array.prototype.map.call(t,function(t){return r(t,e,n,i,o);}));};},879:function(t,e){e.node=function(t){return void 0!==t&&t instanceof HTMLElement&&1===t.nodeType;},e.nodeList=function(t){var n=Object.prototype.toString.call(t);return void 0!==t&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length" in t&&(0===t.length||e.node(t[0]));},e.string=function(t){return "string"==typeof t||t instanceof String;},e.fn=function(t){return "[object Function]"===Object.prototype.toString.call(t);};},370:function(t,e,n){var i=n(879),r=n(438);t.exports=function(t,e,n){if(!t&&!e&&!n)throw new Error("Missing required arguments");if(!i.string(e))throw new TypeError("Second argument must be a String");if(!i.fn(n))throw new TypeError("Third argument must be a Function");if(i.node(t))return function(t,e,n){return t.addEventListener(e,n),{destroy:function(){t.removeEventListener(e,n);}};}(t,e,n);if(i.nodeList(t))return function(t,e,n){return Array.prototype.forEach.call(t,function(t){t.addEventListener(e,n);}),{destroy:function(){Array.prototype.forEach.call(t,function(t){t.removeEventListener(e,n);});}};}(t,e,n);if(i.string(t))return function(t,e,n){return r(document.body,t,e,n);}(t,e,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList");};},817:function(t){t.exports=function(t){var e;if("SELECT"===t.nodeName)t.focus(),e=t.value;else if("INPUT"===t.nodeName||"TEXTAREA"===t.nodeName){var n=t.hasAttribute("readonly");n||t.setAttribute("readonly",""),t.select(),t.setSelectionRange(0,t.value.length),n||t.removeAttribute("readonly"),e=t.value;}
43else{t.hasAttribute("contenteditable")&&t.focus();var i=window.getSelection(),r=document.createRange();r.selectNodeContents(t),i.removeAllRanges(),i.addRange(r),e=i.toString();}return e;};},279:function(t){function e(){}e.prototype={on:function(t,e,n){var i=this.e||(this.e={});return (i[t]||(i[t]=[])).push({fn:e,ctx:n}),this;},once:function(t,e,n){var i=this;function r(){i.off(t,r),e.apply(n,arguments);}return r._=e,this.on(t,r,n);},emit:function(t){for(var e=[].slice.call(arguments,1),n=((this.e||(this.e={}))[t]||[]).slice(),i=0,r=n.length;i<r;i++)n[i].fn.apply(n[i].ctx,e);return this;},off:function(t,e){var n=this.e||(this.e={}),i=n[t],r=[];if(i&&e)for(var o=0,s=i.length;o<s;o++)i[o].fn!==e&&i[o].fn._!==e&&r.push(i[o]);return r.length?n[t]=r:delete n[t],this;}},t.exports=e,t.exports.TinyEmitter=e;}},e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={exports:{}};return t[i](r,r.exports,n),r.exports;}return n.n=function(t){var e=t&&t.__esModule?function(){return t.default;}:function(){return t;};return n.d(e,{a:e}),e;},n.d=function(t,e){for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]});},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e);},n(686);}().default;},t.exports=i();},function(t,e){var n;n=function(){return this;}();try{n=n||new Function("return this")();}catch(t){"object"==typeof window&&(n=window);}t.exports=n;},function(t,e,n){"use strict";var i={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!i.call({1:2},1);e.f=o?function(t){var e=r(this,t);return !!e&&e.enumerable;}:i;},function(t,e,n){var i=n(7),r=n(4),o=n(43);t.exports=!i&&!r(function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7;}}).a;});},function(t,e,n){var i=n(34);t.exports=i("native-function-to-string",Function.toString);},function(t,e,n){var i=n(9),r=n(112),o=n(31),s=n(10);t.exports=function(t,e){for(var n=r(e),a=s.f,c=o.f,l=0;l<n.length;l++){var u=n[l];i(t,u)||a(t,u,c(e,u));}};},function(t,e,n){var i=n(9),r=n(32),o=n(113).indexOf,s=n(47);t.exports=function(t,e){var n,a=r(t),c=0,l=[];for(n in a)!i(s,n)&&i(a,n)&&l.push(n);for(;e.length>c;)i(a,n=e[c++])&&(~o(l,n)||l.push(n));return l;};},function(t,e){e.f=Object.getOwnPropertySymbols;},function(t,e,n){"use strict";var i=n(52),r=n(6),o=n(20),s=function(t,e,n,a,c,l,u,h){for(var d,f=c,p=0,m=!!u&&o(u,h,3);p<a;){if(p in n){if(d=m?m(n[p],p,e):n[p],l>0&&i(d))f=s(t,e,d,r(d.length),f,l-1)-1;else{if(f>=9007199254740991)throw TypeError("Exceed the acceptable array length");t[f]=d;}f++;}p++;}return f;};t.exports=s;},function(t,e,n){var i=n(7),r=n(10),o=n(5),s=n(83);t.exports=i?Object.defineProperties:function(t,e){o(t);for(var n,i=s(e),a=i.length,c=0;a>c;)r.f(t,n=i[c++],e[n]);return t;};},function(t,e,n){var i=n(79),r=n(50);t.exports=Object.keys||function(t){return i(t,r);};},function(t,e,n){var i=n(25);t.exports=i("document","documentElement");},function(t,e,n){"use strict";var i=n(1),r=n(86),o=n(57),s=n(36),a=n(22),c=n(13),l=n(16),u=n(3),h=n(24),d=n(28),f=n(87),p=f.IteratorPrototype,m=f.BUGGY_SAFARI_ITERATORS,v=u("iterator"),g=function(){return this;};t.exports=function(t,e,n,u,f,y,b){r(n,e,u);var E,_,w,S=function(t){if(t===f&&C)return C;if(!m&&t in x)return x[t];switch(t){case "keys":case "values":case "entries":return function(){return new n(this,t);};}return function(){return new n(this);};},O=e+" Iterator",L=!1,x=t.prototype,T=x[v]||x["@@iterator"]||f&&x[f],C=!m&&T||S(f),A="Array"==e&&x.entries||T;if(A&&(E=o(A.call(new t())),p!==Object.prototype&&E.next&&(h||o(E)===p||(s?s(E,p):"function"!=typeof E[v]&&c(E,v,g)),a(E,O,!0,!0),h&&(d[O]=g))),"values"==f&&T&&"values"!==T.name&&(L=!0,C=function(){return T.call(this);}),h&&!b||x[v]===C||c(x,v,C),d[e]=C,f)if(_={values:S("values"),keys:y?C:S("keys"),entries:S("entries")},b)for(w in _)!m&&!L&&w in x||l(x,w,_[w]);else i({target:e,proto:!0,forced:m||L},_);return _;};},function(t,e,n){"use strict";var i=n(87).IteratorPrototype,r=n(56),o=n(23),s=n(22),a=n(28),c=function(){return this;};t.exports=function(t,e,n){var l=e+" Iterator";return t.prototype=r(i,{next:o(1,n)}),s(t,l,!1,!0),a[l]=c,t;};},function(t,e,n){"use strict";var i,r,o,s=n(57),a=n(13),c=n(9),l=n(3),u=n(24),h=l("iterator"),d=!1;[].keys&&("next" in (o=[].keys())?(r=s(s(o)))!==Object.prototype&&(i=r):d=!0),null==i&&(i={}),u||c(i,h)||a(i,h,function(){return this;}),t.exports={IteratorPrototype:i,BUGGY_SAFARI_ITERATORS:d};},function(t,e,n){"use strict";var i=n(0),r=n(7),o=n(21).NATIVE_ARRAY_BUFFER,s=n(13),a=n(59),c=n(4),l=n(29),u=n(15),h=n(6),d=n(89),f=n(35).f,p=n(10).f,m=n(129),v=n(22),g=n(19),y=g.get,b=g.set,E=i.ArrayBuffer,_=E,w=i.DataView,S=i.Math,O=i.RangeError,L=S.abs,x=S.pow,T=S.floor,C=S.log,A=S.LN2,I=function(t,e,n){var i,r,o,s=new Array(n),a=8*n-e-1,c=(1<<a)-1,l=c>>1,u=23===e?x(2,-24)-x(2,-77):0,h=t<0||0===t&&1/t<0?1:0,d=0;for((t=L(t))!=t||t===1/0?(r=t!=t?1:0,i=c):(i=T(C(t)/A),t*(o=x(2,-i))<1&&(i--,o*=2),(t+=i+l>=1?u/o:u*x(2,1-l))*o>=2&&(i++,o/=2),i+l>=c?(r=0,i=c):i+l>=1?(r=(t*o-1)*x(2,e),i+=l):(r=t*x(2,l-1)*x(2,e),i=0));e>=8;s[d++]=255&r,r/=256,e-=8);for(i=i<<e|r,a+=e;a>0;s[d++]=255&i,i/=256,a-=8);return s[--d]|=128*h,s;},P=function(t,e){var n,i=t.length,r=8*i-e-1,o=(1<<r)-1,s=o>>1,a=r-7,c=i-1,l=t[c--],u=127&l;for(l>>=7;a>0;u=256*u+t[c],c--,a-=8);for(n=u&(1<<-a)-1,u>>=-a,a+=e;a>0;n=256*n+t[c],c--,a-=8);if(0===u)u=1-s;else{if(u===o)return n?NaN:l?-1/0:1/0;n+=x(2,e),u-=s;}return (l?-1:1)*n*x(2,u-e);},j=function(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0];},k=function(t){return [255&t];},M=function(t){return [255&t,t>>8&255];},D=function(t){return [255&t,t>>8&255,t>>16&255,t>>24&255];},$=function(t){return I(t,23,4);},N=function(t){return I(t,52,8);},R=function(t,e){p(t.prototype,e,{get:function(){return y(this)[e];}});},B=function(t,e,n,i){var r=d(+n),o=y(t);if(r+e>o.byteLength)throw O("Wrong index");var s=y(o.buffer).bytes,a=r+o.byteOffset,c=s.slice(a,a+e);return i?c:c.reverse();},F=function(t,e,n,i,r,o){var s=d(+n),a=y(t);if(s+e>a.byteLength)throw O("Wrong index");for(var c=y(a.buffer).bytes,l=s+a.byteOffset,u=i(+r),h=0;h<e;h++)c[l+h]=u[o?h:e-h-1];};if(o){if(!c(function(){E(1);})||!c(function(){new E(-1);})||c(function(){return new E(),new E(1.5),new E(NaN),"ArrayBuffer"!=E.name;})){for(var q,H=(_=function(t){return l(this,_),new E(d(t));}).prototype=E.prototype,U=f(E),W=0;U.length>W;)(q=U[W++]) in _||s(_,q,E[q]);H.constructor=_;}var z=new w(new _(2)),Y=w.prototype.setInt8;z.setInt8(0,2147483648),z.setInt8(1,2147483649),!z.getInt8(0)&&z.getInt8(1)||a(w.prototype,{setInt8:function(t,e){Y.call(this,t,e<<24>>24);},setUint8:function(t,e){Y.call(this,t,e<<24>>24);}},{unsafe:!0});}else _=function(t){l(this,_,"ArrayBuffer");var e=d(t);b(this,{bytes:m.call(new Array(e),0),byteLength:e}),r||(this.byteLength=e);},w=function(t,e,n){l(this,w,"DataView"),l(t,_,"DataView");var i=y(t).byteLength,o=u(e);if(o<0||o>i)throw O("Wrong offset");if(o+(n=void 0===n?i-o:h(n))>i)throw O("Wrong length");b(this,{buffer:t,byteLength:n,byteOffset:o}),r||(this.buffer=t,this.byteLength=n,this.byteOffset=o);},r&&(R(_,"byteLength"),R(w,"buffer"),R(w,"byteLength"),R(w,"byteOffset")),a(w.prototype,{getInt8:function(t){return B(this,1,t)[0]<<24>>24;},getUint8:function(t){return B(this,1,t)[0];},getInt16:function(t){var e=B(this,2,t,arguments.length>1?arguments[1]:void 0);return (e[1]<<8|e[0])<<16>>16;},getUint16:function(t){var e=B(this,2,t,arguments.length>1?arguments[1]:void 0);return e[1]<<8|e[0];},getInt32:function(t){return j(B(this,4,t,arguments.length>1?arguments[1]:void 0));},getUint32:function(t){return j(B(this,4,t,arguments.length>1?arguments[1]:void 0))>>>0;},getFloat32:function(t){return P(B(this,4,t,arguments.length>1?arguments[1]:void 0),23);},getFloat64:function(t){return P(B(this,8,t,arguments.length>1?arguments[1]:void 0),52);},setInt8:function(t,e){F(this,1,t,k,e);},setUint8:function(t,e){F(this,1,t,k,e);},setInt16:function(t,e){F(this,2,t,M,e,arguments.length>2?arguments[2]:void 0);},setUint16:function(t,e){F(this,2,t,M,e,arguments.length>2?arguments[2]:void 0);},setInt32:function(t,e){F(this,4,t,D,e,arguments.length>2?arguments[2]:void 0);},setUint32:function(t,e){F(this,4,t,D,e,arguments.length>2?arguments[2]:void 0);},setFloat32:function(t,e){F(this,4,t,$,e,arguments.length>2?arguments[2]:void 0);},setFloat64:function(t,e){F(this,8,t,N,e,arguments.length>2?arguments[2]:void 0);}});v(_,"ArrayBuffer"),v(w,"DataView"),e.ArrayBuffer=_,e.DataView=w;},function(t,e,n){var i=n(15),r=n(6);t.exports=function(t){if(void 0===t)return 0;var e=i(t),n=r(e);
43if(e!==n)throw RangeError("Wrong length or index");return n;};},function(t,e,n){var i=n(5),r=n(60),o=n(6),s=n(20),a=n(30),c=n(91),l=function(t,e){this.stopped=t,this.result=e;};(t.exports=function(t,e,n,u,h){var d,f,p,m,v,g,y=s(e,n,u?2:1);if(h)d=t;else{if("function"!=typeof (f=a(t)))throw TypeError("Target is not iterable");if(r(f)){for(p=0,m=o(t.length);m>p;p++)if((v=u?y(i(g=t[p])[0],g[1]):y(t[p]))&&v instanceof l)return v;return new l(!1);}d=f.call(t);}for(;!(g=d.next()).done;)if((v=c(d,y,g.value,u))&&v instanceof l)return v;return new l(!1);}).stop=function(t){return new l(!0,t);};},function(t,e,n){var i=n(5);t.exports=function(t,e,n,r){try{return r?e(i(n)[0],n[1]):e(n);}catch(e){var o=t.return;throw void 0!==o&&i(o.call(t)),e;}};},function(t,e,n){"use strict";var i=n(33),r=n(10),o=n(23);t.exports=function(t,e,n){var s=i(e);s in t?r.f(t,s,o(0,n)):t[s]=n;};},function(t,e,n){var i=n(3)("iterator"),r=!1;try{var o=0,s={next:function(){return {done:!!o++};},return:function(){r=!0;}};s[i]=function(){return this;},Array.from(s,function(){throw 2;});}catch(t){}t.exports=function(t,e){if(!e&&!r)return !1;var n=!1;try{var o={};o[i]=function(){return {next:function(){return {done:n=!0};}};},t(o);}catch(t){}return n;};},function(t,e,n){var i,r,o,s,a,c,l,u=n(0),h=n(31).f,d=n(14),f=n(62).set,p=n(95),m=u.MutationObserver||u.WebKitMutationObserver,v=u.process,g=u.Promise,y="process"==d(v),b=h(u,"queueMicrotask"),E=b&&b.value;E||(i=function(){var t,e;for(y&&(t=v.domain)&&t.exit();r;){e=r.fn,r=r.next;try{e();}catch(t){throw r?s():o=void 0,t;}}o=void 0,t&&t.enter();},y?s=function(){v.nextTick(i);}:m&&!/(iphone|ipod|ipad).*applewebkit/i.test(p)?(a=!0,c=document.createTextNode(""),new m(i).observe(c,{characterData:!0}),s=function(){c.data=a=!a;}):g&&g.resolve?(l=g.resolve(void 0),s=function(){l.then(i);}):s=function(){f.call(u,i);}),t.exports=E||function(t){var e={fn:t,next:void 0};o&&(o.next=e),r||(r=e,s()),o=e;};},function(t,e,n){var i=n(25);t.exports=i("navigator","userAgent")||"";},function(t,e,n){var i=n(5),r=n(8),o=n(97);t.exports=function(t,e){if(i(t),r(e)&&e.constructor===t)return e;var n=o.f(t);return (0,n.resolve)(e),n.promise;};},function(t,e,n){"use strict";var i=n(27),r=function(t){var e,n;this.promise=new t(function(t,i){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=i;}),this.resolve=i(e),this.reject=i(n);};t.exports.f=function(t){return new r(t);};},function(t,e){t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff";},function(t,e,n){var i=n(17),r=n(6),o=n(30),s=n(60),a=n(20),c=n(21).aTypedArrayConstructor;t.exports=function(t){var e,n,l,u,h,d=i(t),f=arguments.length,p=f>1?arguments[1]:void 0,m=void 0!==p,v=o(d);if(null!=v&&!s(v))for(h=v.call(d),d=[];!(u=h.next()).done;)d.push(u.value);for(m&&f>2&&(p=a(p,arguments[2],2)),n=r(d.length),l=new (c(this))(n),e=0;n>e;e++)l[e]=m?p(d[e],e):d[e];return l;};},function(t,e,n){var i=n(4),r=n(3),o=n(24),s=r("iterator");t.exports=!i(function(){var t=new URL("b?e=1","http://a"),e=t.searchParams;return t.pathname="c%20d",o&&!t.toJSON||!e.sort||"http://a/c%20d?e=1"!==t.href||"1"!==e.get("e")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[s]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash;});},function(t,e,n){"use strict";n(54);var i=n(1),r=n(100),o=n(16),s=n(59),a=n(22),c=n(86),l=n(19),u=n(29),h=n(9),d=n(20),f=n(5),p=n(8),m=n(176),v=n(30),g=n(3)("iterator"),y=l.set,b=l.getterFor("URLSearchParams"),E=l.getterFor("URLSearchParamsIterator"),_=/\+/g,w=Array(4),S=function(t){return w[t-1]||(w[t-1]=RegExp("((?:%[\\da-f]{2}){"+t+"})","gi"));},O=function(t){try{return decodeURIComponent(t);}catch(e){return t;}},L=function(t){var e=t.replace(_," "),n=4;try{return decodeURIComponent(e);}catch(t){for(;n;)e=e.replace(S(n--),O);return e;}},x=/[!'()~]|%20/g,T={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},C=function(t){return T[t];},A=function(t){return encodeURIComponent(t).replace(x,C);},I=function(t,e){if(e)for(var n,i,r=e.split("&"),o=0;o<r.length;)(n=r[o++]).length&&(i=n.split("="),t.push({key:L(i.shift()),value:L(i.join("="))}));},P=function(t){this.entries.length=0,I(this.entries,t);},j=function(t,e){if(t<e)throw TypeError("Not enough arguments");},k=c(function(t,e){y(this,{type:"URLSearchParamsIterator",iterator:m(b(t).entries),kind:e});},"Iterator",function(){var t=E(this),e=t.kind,n=t.iterator.next(),i=n.value;return n.done||(n.value="keys"===e?i.key:"values"===e?i.value:[i.key,i.value]),n;}),M=function(){u(this,M,"URLSearchParams");var t,e,n,i,r,o,s,a=arguments.length>0?arguments[0]:void 0,c=this,l=[];
43if(y(c,{type:"URLSearchParams",entries:l,updateURL:function(){},updateSearchParams:P}),void 0!==a)if(p(a))if("function"==typeof (t=v(a)))for(e=t.call(a);!(n=e.next()).done;){if((r=(i=m(f(n.value))).next()).done||(o=i.next()).done||!i.next().done)throw TypeError("Expected sequence with length 2");l.push({key:r.value+"",value:o.value+""});}else for(s in a)h(a,s)&&l.push({key:s,value:a[s]+""});else I(l,"string"==typeof a?"?"===a.charAt(0)?a.slice(1):a:a+"");},D=M.prototype;s(D,{append:function(t,e){j(arguments.length,2);var n=b(this);n.entries.push({key:t+"",value:e+""}),n.updateURL();},delete:function(t){j(arguments.length,1);for(var e=b(this),n=e.entries,i=t+"",r=0;r<n.length;)n[r].key===i?n.splice(r,1):r++;e.updateURL();},get:function(t){j(arguments.length,1);for(var e=b(this).entries,n=t+"",i=0;i<e.length;i++)if(e[i].key===n)return e[i].value;return null;},getAll:function(t){j(arguments.length,1);for(var e=b(this).entries,n=t+"",i=[],r=0;r<e.length;r++)e[r].key===n&&i.push(e[r].value);return i;},has:function(t){j(arguments.length,1);for(var e=b(this).entries,n=t+"",i=0;i<e.length;)if(e[i++].key===n)return !0;return !1;},set:function(t,e){j(arguments.length,1);for(var n,i=b(this),r=i.entries,o=!1,s=t+"",a=e+"",c=0;c<r.length;c++)(n=r[c]).key===s&&(o?r.splice(c--,1):(o=!0,n.value=a));o||r.push({key:s,value:a}),i.updateURL();},sort:function(){var t,e,n,i=b(this),r=i.entries,o=r.slice();for(r.length=0,n=0;n<o.length;n++){for(t=o[n],e=0;e<n;e++)if(r[e].key>t.key){r.splice(e,0,t);break;}e===n&&r.push(t);}i.updateURL();},forEach:function(t){for(var e,n=b(this).entries,i=d(t,arguments.length>1?arguments[1]:void 0,3),r=0;r<n.length;)i((e=n[r++]).value,e.key,this);},keys:function(){return new k(this,"keys");},values:function(){return new k(this,"values");},entries:function(){return new k(this,"entries");}},{enumerable:!0}),o(D,g,D.entries),o(D,"toString",function(){for(var t,e=b(this).entries,n=[],i=0;i<e.length;)t=e[i++],n.push(A(t.key)+"="+A(t.value));return n.join("&");},{enumerable:!0}),a(M,"URLSearchParams"),i({global:!0,forced:!r},{URLSearchParams:M}),t.exports={URLSearchParams:M,getState:b};},function(t,e,n){var i,r;"undefined"!=typeof window&&window,void 0===(r="function"==typeof (i=function(){"use strict";function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var n=this._events=this._events||{},i=n[t]=n[t]||[];return -1==i.indexOf(e)&&i.push(e),this;}},e.once=function(t,e){if(t&&e){this.on(t,e);var n=this._onceEvents=this._onceEvents||{};return (n[t]=n[t]||{})[e]=!0,this;}},e.off=function(t,e){var n=this._events&&this._events[t];if(n&&n.length){var i=n.indexOf(e);return -1!=i&&n.splice(i,1),this;}},e.emitEvent=function(t,e){var n=this._events&&this._events[t];if(n&&n.length){n=n.slice(0),e=e||[];for(var i=this._onceEvents&&this._onceEvents[t],r=0;r<n.length;r++){var o=n[r];i&&i[o]&&(this.off(t,o),delete i[o]),o.apply(this,e);}return this;}},e.allOff=function(){delete this._events,delete this._onceEvents;},t;})?i.call(e,n,e,t):i)||(t.exports=r);},function(t,e,n){var i;window,i=function(){return function(){"use strict";var t={282:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.clearChoices=e.activateChoices=e.filterChoices=e.addChoice=void 0;var i=n(883);e.addChoice=function(t){var e=t.value,n=t.label,r=t.id,o=t.groupId,s=t.disabled,a=t.elementId,c=t.customProperties,l=t.placeholder,u=t.keyCode;return {type:i.ACTION_TYPES.ADD_CHOICE,value:e,label:n,id:r,groupId:o,disabled:s,elementId:a,customProperties:c,placeholder:l,keyCode:u};};e.filterChoices=function(t){return {type:i.ACTION_TYPES.FILTER_CHOICES,results:t};};e.activateChoices=function(t){return void 0===t&&(t=!0),{type:i.ACTION_TYPES.ACTIVATE_CHOICES,active:t};};e.clearChoices=function(){return {type:i.ACTION_TYPES.CLEAR_CHOICES};};},783:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.addGroup=void 0;var i=n(883);e.addGroup=function(t){var e=t.value,n=t.id,r=t.active,o=t.disabled;return {type:i.ACTION_TYPES.ADD_GROUP,value:e,id:n,active:r,disabled:o};};},464:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.highlightItem=e.removeItem=e.addItem=void 0;var i=n(883);e.addItem=function(t){var e=t.value,n=t.label,r=t.id,o=t.choiceId,s=t.groupId,a=t.customProperties,c=t.placeholder,l=t.keyCode;return {type:i.ACTION_TYPES.ADD_ITEM,value:e,label:n,id:r,choiceId:o,groupId:s,customProperties:a,placeholder:c,keyCode:l};};e.removeItem=function(t,e){return {type:i.ACTION_TYPES.REMOVE_ITEM,id:t,choiceId:e};};e.highlightItem=function(t,e){return {type:i.ACTION_TYPES.HIGHLIGHT_ITEM,id:t,highlighted:e};};}
43,137:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.setIsLoading=e.resetTo=e.clearAll=void 0;var i=n(883);e.clearAll=function(){return {type:i.ACTION_TYPES.CLEAR_ALL};};e.resetTo=function(t){return {type:i.ACTION_TYPES.RESET_TO,state:t};};e.setIsLoading=function(t){return {type:i.ACTION_TYPES.SET_IS_LOADING,isLoading:t};};},373:function(t,e,n){var i=this&&this.__spreadArray||function(t,e,n){if(n||2===arguments.length)for(var i,r=0,o=e.length;r<o;r++)!i&&r in e||(i||(i=Array.prototype.slice.call(e,0,r)),i[r]=e[r]);return t.concat(i||Array.prototype.slice.call(e));},r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t};};Object.defineProperty(e,"__esModule",{value:!0});var o=r(n(996)),s=r(n(221)),a=n(282),c=n(783),l=n(464),u=n(137),h=n(520),d=n(883),f=n(789),p=n(799),m=n(655),v=r(n(744)),g=r(n(686)),y="-ms-scroll-limit" in document.documentElement.style&&"-ms-ime-align" in document.documentElement.style,b={},E=function(){function t(e,n){var r=this;void 0===e&&(e="[data-choice]"),void 0===n&&(n={}),void 0===n.allowHTML&&console.warn("Deprecation warning: allowHTML will default to false in a future release. To render HTML in Choices, you will need to set it to true. Setting allowHTML will suppress this message."),this.config=o.default.all([f.DEFAULT_CONFIG,t.defaults.options,n],{arrayMerge:function(t,e){return i([],e,!0);}});var s=(0,p.diff)(this.config,f.DEFAULT_CONFIG);s.length&&console.warn("Unknown config option(s) passed",s.join(", "));var a="string"==typeof e?document.querySelector(e):e;if(!(a instanceof HTMLInputElement||a instanceof HTMLSelectElement))throw TypeError("Expected one of the following types text|select-one|select-multiple");if(this._isTextElement=a.type===d.TEXT_TYPE,this._isSelectOneElement=a.type===d.SELECT_ONE_TYPE,this._isSelectMultipleElement=a.type===d.SELECT_MULTIPLE_TYPE,this._isSelectElement=this._isSelectOneElement||this._isSelectMultipleElement,this.config.searchEnabled=this._isSelectMultipleElement||this.config.searchEnabled,["auto","always"].includes("".concat(this.config.renderSelectedChoices))||(this.config.renderSelectedChoices="auto"),n.addItemFilter&&"function"!=typeof n.addItemFilter){var c=n.addItemFilter instanceof RegExp?n.addItemFilter:new RegExp(n.addItemFilter);this.config.addItemFilter=c.test.bind(c);}if(this._isTextElement?this.passedElement=new h.WrappedInput({element:a,classNames:this.config.classNames,delimiter:this.config.delimiter}):this.passedElement=new h.WrappedSelect({element:a,classNames:this.config.classNames,template:function(t){return r._templates.option(t);}}),this.initialised=!1,this._store=new v.default(),this._initialState=m.defaultState,this._currentState=m.defaultState,this._prevState=m.defaultState,this._currentValue="",this._canSearch=!!this.config.searchEnabled,this._isScrollingOnIe=!1,this._highlightPosition=0,this._wasTap=!0,this._placeholderValue=this._generatePlaceholderValue(),this._baseId=(0,p.generateId)(this.passedElement.element,"choices-"),this._direction=this.passedElement.dir,!this._direction){var l=window.getComputedStyle(this.passedElement.element).direction;l!==window.getComputedStyle(document.documentElement).direction&&(this._direction=l);}if(this._idNames={itemChoice:"item-choice"},this._isSelectElement&&(this._presetGroups=this.passedElement.optionGroups,this._presetOptions=this.passedElement.options),this._presetChoices=this.config.choices,this._presetItems=this.config.items,this.passedElement.value&&this._isTextElement){var u=this.passedElement.value.split(this.config.delimiter);this._presetItems=this._presetItems.concat(u);}if(this.passedElement.options&&this.passedElement.options.forEach(function(t){r._presetChoices.push({value:t.value,label:t.innerHTML,selected:!!t.selected,disabled:t.disabled||t.parentNode.disabled,placeholder:""===t.value||t.hasAttribute("placeholder"),customProperties:t.dataset["custom-properties"]});}),this._render=this._render.bind(this),this._onFocus=this._onFocus.bind(this),this._onBlur=this._onBlur.bind(this),this._onKeyUp=this._onKeyUp.bind(this),this._onKeyDown=this._onKeyDown.bind(this),this._onClick=this._onClick.bind(this),this._onTouchMove=this._onTouchMove.bind(this),this._onTouchEnd=this._onTouchEnd.bind(this),this._onMouseDown=this._onMouseDown.bind(this),this._onMouseOver=this._onMouseOver.bind(this),this._onFormReset=this._onFormReset.bind(this),this._onSelectKey=this._onSelectKey.bind(this),this._onEnterKey=this._onEnterKey.bind(this),this._onEscapeKey=this._onEscapeKey.bind(this),this._onDirectionKey=this._onDirectionKey.bind(this),this._onDeleteKey=this._onDeleteKey.bind(this),this.passedElement.isActive)return this.config.silent||console.warn("Trying to initialise Choices on element already initialised",{element:e}),void (this.initialised=!0);this.init();}return Object.defineProperty(t,"defaults",{get:function(){return Object.preventExtensions({get options(){return b;},get templates(){return g.default;}});}
43,enumerable:!1,configurable:!0}),t.prototype.init=function(){if(!this.initialised){this._createTemplates(),this._createElements(),this._createStructure(),this._store.subscribe(this._render),this._render(),this._addEventListeners(),(!this.config.addItems||this.passedElement.element.hasAttribute("disabled"))&&this.disable(),this.initialised=!0;var t=this.config.callbackOnInit;t&&"function"==typeof t&&t.call(this);}},t.prototype.destroy=function(){this.initialised&&(this._removeEventListeners(),this.passedElement.reveal(),this.containerOuter.unwrap(this.passedElement.element),this.clearStore(),this._isSelectElement&&(this.passedElement.options=this._presetOptions),this._templates=g.default,this.initialised=!1);},t.prototype.enable=function(){return this.passedElement.isDisabled&&this.passedElement.enable(),this.containerOuter.isDisabled&&(this._addEventListeners(),this.input.enable(),this.containerOuter.enable()),this;},t.prototype.disable=function(){return this.passedElement.isDisabled||this.passedElement.disable(),this.containerOuter.isDisabled||(this._removeEventListeners(),this.input.disable(),this.containerOuter.disable()),this;},t.prototype.highlightItem=function(t,e){if(void 0===e&&(e=!0),!t||!t.id)return this;var n=t.id,i=t.groupId,r=void 0===i?-1:i,o=t.value,s=void 0===o?"":o,a=t.label,c=void 0===a?"":a,u=r>=0?this._store.getGroupById(r):null;return this._store.dispatch((0,l.highlightItem)(n,!0)),e&&this.passedElement.triggerEvent(d.EVENTS.highlightItem,{id:n,value:s,label:c,groupValue:u&&u.value?u.value:null}),this;},t.prototype.unhighlightItem=function(t){if(!t||!t.id)return this;var e=t.id,n=t.groupId,i=void 0===n?-1:n,r=t.value,o=void 0===r?"":r,s=t.label,a=void 0===s?"":s,c=i>=0?this._store.getGroupById(i):null;return this._store.dispatch((0,l.highlightItem)(e,!1)),this.passedElement.triggerEvent(d.EVENTS.highlightItem,{id:e,value:o,label:a,groupValue:c&&c.value?c.value:null}),this;},t.prototype.highlightAll=function(){var t=this;return this._store.items.forEach(function(e){return t.highlightItem(e);}),this;},t.prototype.unhighlightAll=function(){var t=this;return this._store.items.forEach(function(e){return t.unhighlightItem(e);}),this;},t.prototype.removeActiveItemsByValue=function(t){var e=this;return this._store.activeItems.filter(function(e){return e.value===t;}
43).forEach(function(t){return e._removeItem(t);}),this;},t.prototype.removeActiveItems=function(t){var e=this;return this._store.activeItems.filter(function(e){return e.id!==t;}).forEach(function(t){return e._removeItem(t);}),this;},t.prototype.removeHighlightedItems=function(t){var e=this;return void 0===t&&(t=!1),this._store.highlightedActiveItems.forEach(function(n){e._removeItem(n),t&&e._triggerChange(n.value);}),this;},t.prototype.showDropdown=function(t){var e=this;return this.dropdown.isActive?this:(requestAnimationFrame(function(){e.dropdown.show(),e.containerOuter.open(e.dropdown.distanceFromTopWindow),!t&&e._canSearch&&e.input.focus(),e.passedElement.triggerEvent(d.EVENTS.showDropdown,{});}),this);},t.prototype.hideDropdown=function(t){var e=this;return this.dropdown.isActive?(requestAnimationFrame(function(){e.dropdown.hide(),e.containerOuter.close(),!t&&e._canSearch&&(e.input.removeActiveDescendant(),e.input.blur()),e.passedElement.triggerEvent(d.EVENTS.hideDropdown,{});}),this):this;},t.prototype.getValue=function(t){void 0===t&&(t=!1);var e=this._store.activeItems.reduce(function(e,n){var i=t?n.value:n;return e.push(i),e;},[]);return this._isSelectOneElement?e[0]:e;},t.prototype.setValue=function(t){var e=this;return this.initialised?(t.forEach(function(t){return e._setChoiceOrItem(t);}),this):this;},t.prototype.setChoiceByValue=function(t){var e=this;return !this.initialised||this._isTextElement?this:((Array.isArray(t)?t:[t]).forEach(function(t){return e._findAndSelectChoiceByValue(t);}),this);},t.prototype.setChoices=function(t,e,n,i){var r=this;if(void 0===t&&(t=[]),void 0===e&&(e="value"),void 0===n&&(n="label"),void 0===i&&(i=!1),!this.initialised)throw new ReferenceError("setChoices was called on a non-initialized instance of Choices");if(!this._isSelectElement)throw new TypeError("setChoices can't be used with INPUT based Choices");if("string"!=typeof e||!e)throw new TypeError("value parameter must be a name of 'value' field in passed objects");if(i&&this.clearChoices(),"function"==typeof t){var o=t(this);if("function"==typeof Promise&&o instanceof Promise)return new Promise(function(t){return requestAnimationFrame(t);}).then(function(){return r._handleLoadingState(!0);}).then(function(){return o;}).then(function(t){return r.setChoices(t,e,n,i);}).catch(function(t){r.config.silent||console.error(t);}).then(function(){return r._handleLoadingState(!1);}).then(function(){return r;});if(!Array.isArray(o))throw new TypeError(".setChoices first argument function must return either array of choices or Promise, got: ".concat(typeof o));return this.setChoices(o,e,n,!1);}if(!Array.isArray(t))throw new TypeError(".setChoices must be called either with array of choices with a function resulting into Promise of array of choices");return this.containerOuter.removeLoadingState(),this._startLoading(),t.forEach(function(t){if(t.choices)r._addGroup({id:t.id?parseInt("".concat(t.id),10):null,group:t,valueKey:e,labelKey:n});else{var i=t;r._addChoice({value:i[e],label:i[n],isSelected:!!i.selected,isDisabled:!!i.disabled,placeholder:!!i.placeholder,customProperties:i.customProperties});}}),this._stopLoading(),this;},t.prototype.clearChoices=function(){return this._store.dispatch((0,a.clearChoices)()),this;},t.prototype.clearStore=function(){return this._store.dispatch((0,u.clearAll)()),this;},t.prototype.clearInput=function(){var t=!this._isSelectOneElement;return this.input.clear(t),!this._isTextElement&&this._canSearch&&(this._isSearching=!1,this._store.dispatch((0,a.activateChoices)(!0))),this;},t.prototype._render=function(){if(!this._store.isLoading()){this._currentState=this._store.state;var t=this._currentState.choices!==this._prevState.choices||this._currentState.groups!==this._prevState.groups||this._currentState.items!==this._prevState.items,e=this._isSelectElement,n=this._currentState.items!==this._prevState.items;t&&(e&&this._renderChoices(),n&&this._renderItems(),this._prevState=this._currentState);}},t.prototype._renderChoices=function(){var t=this,e=this._store,n=e.activeGroups,i=e.activeChoices,r=document.createDocumentFragment();if(this.choiceList.clear(),this.config.resetScrollPosition&&requestAnimationFrame(function(){return t.choiceList.scrollToTop();}),n.length>=1&&!this._isSearching){var o=i.filter(function(t){return !0===t.placeholder&&-1===t.groupId;});o.length>=1&&(r=this._createChoicesFragment(o,r)),r=this._createGroupsFragment(n,i,r);}else i.length>=1&&(r=this._createChoicesFragment(i,r));if(r.childNodes&&r.childNodes.length>0){var s=this._store.activeItems,a=this._canAddItem(s,this.input.value);if(a.response)this.choiceList.append(r),this._highlightChoice();else{var c=this._getTemplate("notice",a.notice);this.choiceList.append(c);}}else{var l=void 0;c=void 0;this._isSearching?(c="function"==typeof this.config.noResultsText?this.config.noResultsText():this.config.noResultsText,l=this._getTemplate("notice",c,"no-results")):(c="function"==typeof this.config.noChoicesText?this.config.noChoicesText():this.config.noChoicesText,l=this._getTemplate("notice",c,"no-choices")),this.choiceList.append(l);}},t.prototype._renderItems=function(){var t=this._store.activeItems||[];this.itemList.clear();var e=this._createItemsFragment(t);e.childNodes&&this.itemList.append(e);},t.prototype._createGroupsFragment=function(t,e,n){var i=this;void 0===n&&(n=document.createDocumentFragment());return this.config.shouldSort&&t.sort(this.config.sorter),t.forEach(function(t){var r=function(t){return e.filter(function(e){return i._isSelectOneElement?e.groupId===t.id:e.groupId===t.id&&("always"===i.config.render
43SelectedChoices||!e.selected);});}(t);if(r.length>=1){var o=i._getTemplate("choiceGroup",t);n.appendChild(o),i._createChoicesFragment(r,n,!0);}}),n;},t.prototype._createChoicesFragment=function(t,e,n){var r=this;void 0===e&&(e=document.createDocumentFragment()),void 0===n&&(n=!1);var o=this.config,s=o.renderSelectedChoices,a=o.searchResultLimit,c=o.renderChoiceLimit,l=this._isSearching?p.sortByScore:this.config.sorter,u=function(t){if("auto"!==s||(r._isSelectOneElement||!t.selected)){var n=r._getTemplate("choice",t,r.config.itemSelectText);e.appendChild(n);}},h=t;"auto"!==s||this._isSelectOneElement||(h=t.filter(function(t){return !t.selected;}));var d=h.reduce(function(t,e){return e.placeholder?t.placeholderChoices.push(e):t.normalChoices.push(e),t;},{placeholderChoices:[],normalChoices:[]}),f=d.placeholderChoices,m=d.normalChoices;(this.config.shouldSort||this._isSearching)&&m.sort(l);var v=h.length,g=this._isSelectOneElement?i(i([],f,!0),m,!0):m;this._isSearching?v=a:c&&c>0&&!n&&(v=c);for(var y=0;y<v;y+=1)g[y]&&u(g[y]);return e;},t.prototype._createItemsFragment=function(t,e){var n=this;void 0===e&&(e=document.createDocumentFragment());var i=this.config,r=i.shouldSortItems,o=i.sorter,s=i.removeItemButton;r&&!this._isSelectOneElement&&t.sort(o),this._isTextElement?this.passedElement.value=t.map(function(t){return t.value;}).join(this.config.delimiter):this.passedElement.options=t;return t.forEach(function(t){var i=n._getTemplate("item",t,s);e.appendChild(i);}),e;},t.prototype._triggerChange=function(t){null!=t&&this.passedElement.triggerEvent(d.EVENTS.change,{value:t});},t.prototype._selectPlaceholderChoice=function(t){this._addItem({value:t.value,label:t.label,choiceId:t.id,groupId:t.groupId,placeholder:t.placeholder}),this._triggerChange(t.value);},t.prototype._handleButtonAction=function(t,e){if(t&&e&&this.config.removeItems&&this.config.removeItemButton){var n=e.parentNode&&e.parentNode.dataset.id,i=n&&t.find(function(t){return t.id===parseInt(n,10);});i&&(this._removeItem(i),this._triggerChange(i.value),this._isSelectOneElement&&this._store.placeholderChoice&&this._selectPlaceholderChoice(this._store.placeholderChoice));}},t.prototype._handleItemAction=function(t,e,n){var i=this;if(void 0===n&&(n=!1),t&&e&&this.config.removeItems&&!this._isSelectOneElement){var r=e.dataset.id;t.forEach(function(t){t.id!==parseInt("".concat(r),10)||t.highlighted?!n&&t.highlighted&&i.unhighlightItem(t):i.highlightItem(t);}),this.input.focus();}},t.prototype._handleChoiceAction=function(t,e){if(t&&e){var n=e.dataset.id,i=n&&this._store.getChoiceById(n);if(i){var r=t[0]&&t[0].keyCode?t[0].keyCode:void 0,o=this.dropdown.isActive;if(i.keyCode=r,this.passedElement.triggerEvent(d.EVENTS.choice,{choice:i}),!i.selected&&!i.disabled)this._canAddItem(t,i.value).response&&(this._addItem({value:i.value,label:i.label,choiceId:i.id,groupId:i.groupId,customProperties:i.customProperties,placeholder:i.placeholder,keyCode:i.keyCode}),this._triggerChange(i.value));this.clearInput(),o&&this._isSelectOneElement&&(this.hideDropdown(!0),this.containerOuter.focus());}}},t.prototype._handleBackspace=function(t){if(this.config.removeItems&&t){var e=t[t.length-1],n=t.some(function(t){return t.highlighted;});this.config.editItems&&!n&&e?(this.input.value=e.value,this.input.setWidth(),this._removeItem(e),this._triggerChange(e.value)):(n||this.highlightItem(e,!1),this.removeHighlightedItems(!0));}},t.prototype._startLoading=function(){this._store.dispatch((0,u.setIsLoading)(!0));},t.prototype._stopLoading=function(){this._store.dispatch((0,u.setIsLoading)(!1));},t.prototype._handleLoadingState=function(t){void 0===t&&(t=!0);var e=this.itemList.getChild(".".concat(this.config.classNames.placeholder));t?(this.disable(),this.containerOuter.addLoadingState(),this._isSelectOneElement?e?e.innerHTML=this.config.loadingText:(e=this._getTemplate("placeholder",this.config.loadingText))&&this.itemList.append(e):this.input.placeholder=this.config.loadingText):(this.enable(),this.containerOuter.removeLoadingState(),this._isSelectOneElement?e&&(e.innerHTML=this._placeholderValue||""):this.input.placeholder=this._placeholderValue||"");},t.prototype._handleSearch=function(t){if(this.input.isFocussed){var e=this._store.choices,n=this.config,i=n.searchFloor,r=n.searchChoices,o=e.some(function(t){return !t.active;});if(null!=t&&t.length>=i){var s=r?this._searchChoices(t):0;this.passedElement.triggerEvent(d.EVENTS.search,{value:t,resultCount:s});}else o&&(this._isSearching=!1,this._store.dispatch((0,a.activateChoices)(!0)));}},t.prototype._canAddItem=function(t,e){var n=!0,i="function"==typeof this.config.addItemText?this.config.addItemText(e):this.config.addItemText;if(!this._isSelectOneElement){var r=(0,p.existsInArray)(t,e);this.config.maxItemCount>0&&this.config.maxItemCount<=t.length&&(n=!1,i="function"==typeof this.config.maxItemText?this.config.maxItemText(this.config.maxItemCount):this.config.maxItemText),!this.config.duplicateItemsAllowed&&r&&n&&(n=!1,i="function"==typeof this.config.uniqueItemText?this.config.uniqueItemText(e):this.config.uniqueItemText),this._isTextElement&&this.config.addItems&&n&&"function"==typeof this.config.addItemFilter&&!this.config.addItemFilter(e)&&(n=!1,i="function"==typeof this.config.customAddItemText?this.config.customAddItemText(e):this.config.customAddItemText);}return {response:n,notice:i};},t.prototype._searchChoices=function(t){var e="string"==typeof t?t.trim():t,n="string"==typeof this._currentValue?this._currentValue.trim():this._currentValue;if(e.length<1&&e==="".concat(n," "))return 0;var r=this._store.searchableChoices,o=e,c=Object.assign(this.config.fuseOptions,{keys:i([],this.config.searchFields,!0),includeMatches:!0}),l=new s.default(r,c).search(o);return this._currentValue=e,this._highlightPosition=0,this._isSearching=!0,this._store.dispatch((0,a.filterChoices)(l)),l.length;},t.prototype._addEventListeners=function(){var t=document.documentElement;t.addEventListener("touchend",this._onTouchEnd,!0),this.containerOuter.element.addEventListener("keydown",this._onKeyDown,!0),this.containerOuter.element.addEventListener("mousedown",this._onMouseDown,!0),t.addEventListener("click",this._onClick,{passive:!0}),t.addEventListener("touchmove",this._onTouchMove,{passive:!0}),this.dropdown.element.addEventListener("mouseover",this._onMouseOver,{passive:!0}),this._isSelectOneElement&&(this.containerOuter.element.addEventListener("focus",this._onFocus,{passive:!0}),this.containerOuter.element.addEventListener("blur",this._onBlur,{passive:!0})),this.input.element.addEventListener("keyup",this._onKeyUp,{passive:!0}),this.input.element.addEventListener("focus",this._onFocus,{passive:!0}),this.input.element.addEventListener("blur",this._onBlur,{passive:!0}),this.input.element.form&&this.input.element.form.addEventListener("reset",this._onFormReset,{passive:!0}),this.input.addEventListeners();},t.prototype._removeEventListeners=function(){var t=document.documentElement;t.removeEventListener("touchend",this._onTouchEnd,!0),this.containerOuter.element.removeEventListener("keydown",this._onKeyDown,!0),this.containerOuter.element.removeEventListener("mousedown",this._onMouseDown,!0),t.removeEventListener("click",this._onClick),t.removeEventListener("touchmove",this._onTouchMove),this.dropdown.element.removeEventListener("mouseover",this._onMouseOver),this._isSelectOneElement&&(this.containerOuter.element.removeEventListener("focus",this._onFocus),this.containerOuter.element.removeEventListener("blur",this._onBlur)),this.input.element.removeEventListener("keyup",this._onKeyUp),this.input.element.removeEventListener("focus",this._onFocus),this.input.element.removeEventListener("blur",this._onBlur),this.input.element.form&&this.input.element.form.removeEventListener("reset",this._onFormReset),this.input.removeEventListeners();},t.prototype._onKeyDown=function(t){var e=t.keyCode,n=this._store.activeItems,i=this.input.isFocussed,r=this.dropdown.isActive,o=this.itemList.hasChildren(),s=String.fromCharCode(e),a=/[a-zA-Z0-9-_ ]/.test(s),c=d.KEY_CODES.BACK_KEY,l=d.KEY_CODES.DELETE_KEY,u=d.KEY_CODES.ENTER_KEY,h=d.KEY_CODES.A_KEY,f=d.KEY_CODES.ESC_KEY,p=d.KEY_CODES.UP_KEY,m=d.KEY_CODES.DOWN_KEY,v=d.KEY_CODES.PAGE_UP_KEY,g=d.KEY_CODES.PAGE_DOWN_KEY;switch(this._isTextElement||r||!a||(this.showDropdown(),this.input.isFocussed||(this.input.value+=s.toLowerCase())),e){case h:return this._onSelectKey(t,o);case u:return this._onEnterKey(t,n,r);case f:return this._onEscapeKey(r);case p:case v:case m:case g:return this._onDirectionKey(t,r);case l:case c:return this._onDeleteKey(t,n,i);}},t.prototype._onKeyUp=function(t){var e=t.target,n=t.keyCode,i=this.input.value,r=this._store.activeItems,o=this._canAddItem(r,i),s=d.KEY_CODES.BACK_KEY,c=d.KEY_CODES.DELETE_KEY;if(this._isTextElement)if(o.notice&&i){var l=this._getTemplate("notice",o.notice);this.dropdown.element.innerHTML=l.outerHTML,this.showDropdown(!0);}else this.hideDropdown(!0);else{var u=(n===s||n===c)&&e&&!e.value,h=!this._isTextElement&&this._isSearching,f=this._canSearch&&o.response;u&&h?(this._isSearching=!1,this._store.dispatch((0,a.activateChoices)(!0))):f&&this._handleSearch(this.input.rawValue);}this._canSearch=this.config.searchEnabled;},t.prototype._onSelectKey=function(t,e){var n=t.ctrlKey,i=t.metaKey;(n||i)&&e&&(this._canSearch=!1,this.config.removeItems&&!this.input.value&&this.input.element===document.activeElement&&this.highlightAll());},t.prototype._onEnterKey=function(t,e,n){var i=t.target,r=d.KEY_CODES.ENTER_KEY,o=i&&i.hasAttribute("data-button");if(this._isTextElement&&i&&i.value){var s=this.input.value;this._canAddItem(e,s).response&&(this.hideDropdown(!0),this._addItem({value:s}),this._triggerChange(s),this.clearInput());}if(o&&(this._handleButtonAction(e,i),t.preventDefault()),n){var a=this.dropdown.getChild(".".concat(this.config.classNames.highlightedState));a&&(e[0]&&(e[0].keyCode=r),this._handleChoiceAction(e,a)),t.preventDefault();}else this._isSelectOneElement&&(this.showDropdown(),t.preventDefault());},t.prototype._onEscapeKey=function(t){t&&(this.hideDropdown(!0),this.containerOuter.focus());},t.prototype._onDirectionKey=function(t,e){var n=t.keyCode,i=t.metaKey,r=d.KEY_CODES.DOWN_KEY,o=d.KEY_CODES.PAGE_UP_KEY,s=d.KEY_CODES.PAGE_DOWN_KEY;if(e||this._isSelectOneElement){this.showDropdown(),this._canSearch=!1;var a=n===r||n===s?1:-1,c=void 0;if(i||n===s||n===o)c=a>0?this.dropdown.element.querySelector("".concat("[data-choice-selectable]",":last-of-type")):this.dropdown.element.querySelector("[data-choice-selectable]");else{var l=this.dropdown.element.querySelector(".".concat(this.config.classNames.highlightedState));c=l?(0,p.getAdjacentEl)(l,"[data-choice-selectable]",a):this.dropdown.element.querySelector("[data-choice-selectable]");}c&&((0,p.isScrolledIntoView)(c,this.choiceList.element,a)||this.choiceList.scrollToChildElement(c,a),this._highlightChoice(c)),t.preventDefault();}},t.prototype._onDeleteKey=function(t,e,n){var i=t.target;this._isSelectOneElement||i.value||!n||(this._handleBackspace(e),t.preventDefault());},t.prototype._onTouchMove=function(){this._wasTap&&(this._wasTap=!1);},t.prototype._onTouchEnd=function(t){var e=(t||t.touches[0]).target;this._wasTap&&this.containerOuter.element.contains(e)&&((e===this.containerOuter.element||e===this.containerInner.element)&&(this._isTextElement?this.input.focus():this._isSelectMultipleElement&&this.showDropdown()),t.stopPropagation());this._wasTap=!0;},t.prototype._onMouseDown=function(t){var e=t.target;if(e instanceof HTMLElement){if(y&&this.choiceList.element.contains(e)){var n=this.choiceList.element.firstElementChild,i="ltr"===this._direction?t.offsetX>=n.offsetWidth:t.offsetX<n.offsetLeft;this._isScrollingOnIe=i;}if(e!==this.input.element){var r=e.closest("[data-button],[data-item],[data-choice]");if(r instanceof HTMLElement){var o=t.shiftKey,s=this._store.activeItems,a=r.dataset;"button" in a?this._handleButtonAction(s,r):"item" in a?this._handleItemAction(s,r,o):"choice" in a&&this._handleChoiceAction(s,r);}t.preventDefault();}}},t.prototype._onMouseOver=function(t){var e=t.target;e instanceof HTMLElement&&"choice" in e.dataset&&this._highlightChoice(e);},t.prototype._onClick=function(t){var e=t.target;this.containerOuter.element.contains(e)?this.dropdown.isActive||this.containerOuter.isDisabled?this._isSelectOneElement&&e!==this.input.element&&!this.dropdown.element.contains(e)&&this.hideDropdown():this._isTextElement?document.activeElement!==this.input.element&&this.input.focus():(this.showDropdown(),this.containerOuter.focus()):(this._store.highlightedActiveItems.length>0&&this.unhighlightAll(),this.containerOuter.removeFocusState(),this.hideDropdown(!0));},t.prototype._onFocus=function(t){var e,n=this,i=t.target;i&&this.containerOuter.element.contains(i)&&((e={})[d.TEXT_TYPE]=function(){i===n.input.element&&n.containerOuter.addFocusState();},e[d.SELECT_ONE_TYPE]=function(){n.containerOuter.addFocusState(),i===n.input.element&&n.showDropdown(!0);},e[d.SELECT_MULTIPLE_TYPE]=function(){i===n.input.element&&(n.showDropdown(!0),n.containerOuter.addFocusState());},e)[this.passedElement.element.type]();},t.prototype._onBlur=function(t){var e,n=this,i=t.target;if(i&&this.containerOuter.element.contains(i)&&!this._isScrollingOnIe){var r=this._store.activeItems.some(function(t){return t.highlighted;});((e={})[d.TEXT_TYPE]=function(){i===n.input.element&&(n.containerOuter.removeFocusState(),r&&n.unhighlightAll(),n.hideDropdown(!0));},e[d.SELECT_ONE_TYPE]=function(){n.containerOuter.removeFocusState(),(i===n.input.element||i===n.containerOuter.element&&!n._canSearch)&&n.hideDropdown(!0);},e[d.SELECT_MULTIPLE_TYPE]=function(){i===n.input.element&&(n.containerOuter.removeFocusState(),n.hideDropdown(!0),r&&n.unhighlightAll());},e)[this.passedElement.element.type]();}else this._isScrollingOnIe=!1,this.input.element.focus();},t.prototype._onFormReset=function(){this._store.dispatch((0,u.resetTo)(this._initialState));},t.prototype._highlightChoice=function(t){var e=this;void 0===t&&(t=null);var n=Array.from(this.dropdown.element.querySelectorAll("[data-choice-selectable]"));if(n.length){var i=t;Array.from(this.dropdown.element.querySelectorAll(".".concat(this.config.classNames.highlightedState))).forEac
43h(function(t){t.classList.remove(e.config.classNames.highlightedState),t.setAttribute("aria-selected","false");}),i?this._highlightPosition=n.indexOf(i):(i=n.length>this._highlightPosition?n[this._highlightPosition]:n[n.length-1])||(i=n[0]),i.classList.add(this.config.classNames.highlightedState),i.setAttribute("aria-selected","true"),this.passedElement.triggerEvent(d.EVENTS.highlightChoice,{el:i}),this.dropdown.isActive&&(this.input.setActiveDescendant(i.id),this.containerOuter.setActiveDescendant(i.id));}},t.prototype._addItem=function(t){var e=t.value,n=t.label,i=void 0===n?null:n,r=t.choiceId,o=void 0===r?-1:r,s=t.groupId,a=void 0===s?-1:s,c=t.customProperties,u=void 0===c?{}:c,h=t.placeholder,f=void 0!==h&&h,p=t.keyCode,m=void 0===p?-1:p,v="string"==typeof e?e.trim():e,g=this._store.items,y=i||v,b=o||-1,E=a>=0?this._store.getGroupById(a):null,_=g?g.length+1:1;this.config.prependValue&&(v=this.config.prependValue+v.toString()),this.config.appendValue&&(v+=this.config.appendValue.toString()),this._store.dispatch((0,l.addItem)({value:v,label:y,id:_,choiceId:b,groupId:a,customProperties:u,placeholder:f,keyCode:m})),this._isSelectOneElement&&this.removeActiveItems(_),this.passedElement.triggerEvent(d.EVENTS.addItem,{id:_,value:v,label:y,customProperties:u,groupValue:E&&E.value?E.value:null,keyCode:m});},t.prototype._removeItem=function(t){var e=t.id,n=t.value,i=t.label,r=t.customProperties,o=t.choiceId,s=t.groupId,a=s&&s>=0?this._store.getGroupById(s):null;e&&o&&(this._store.dispatch((0,l.removeItem)(e,o)),this.passedElement.triggerEvent(d.EVENTS.removeItem,{id:e,value:n,label:i,customProperties:r,groupValue:a&&a.value?a.value:null}));},t.prototype._addChoice=function(t){var e=t.value,n=t.label,i=void 0===n?null:n,r=t.isSelected,o=void 0!==r&&r,s=t.isDisabled,c=void 0!==s&&s,l=t.groupId,u=void 0===l?-1:l,h=t.customProperties,d=void 0===h?{}:h,f=t.placeholder,p=void 0!==f&&f,m=t.keyCode,v=void 0===m?-1:m;if(null!=e){var g=this._store.choices,y=i||e,b=g?g.length+1:1,E="".concat(this._baseId,"-").concat(this._idNames.itemChoice,"-").concat(b);this._store.dispatch((0,a.addChoice)({id:b,groupId:u,elementId:E,value:e,label:y,disabled:c,customProperties:d,placeholder:p,keyCode:v})),o&&this._addItem({value:e,label:y,choiceId:b,customProperties:d,placeholder:p,keyCode:v});}},t.prototype._addGroup=function(t){var e=this,n=t.group,i=t.id,r=t.valueKey,o=void 0===r?"value":r,s=t.labelKey,a=void 0===s?"label":s,l=(0,p.isType)("Object",n)?n.choices:Array.from(n.getElementsByTagName("OPTION")),u=i||Math.floor((new Date()).valueOf()*Math.random()),h=!!n.disabled&&n.disabled;if(l){this._store.dispatch((0,c.addGroup)({value:n.label,id:u,active:!0,disabled:h}));l.forEach(function(t){var n=t.disabled||t.parentNode&&t.parentNode.disabled;e._addChoice({value:t[o],label:(0,p.isType)("Object",t)?t[a]:t.innerHTML,isSelected:t.selected,isDisabled:n,groupId:u,customProperties:t.customProperties,placeholder:t.placeholder});});}else this._store.dispatch((0,c.addGroup)({value:n.label,id:n.id,active:!1,disabled:n.disabled}));},t.prototype._getTemplate=function(t){for(var e,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];return (e=this._templates[t]).call.apply(e,i([this,this.config],n,!1));},t.prototype._createTemplates=function(){var t=this.config.callbackOnCreateTemplates,e={};t&&"function"==typeof t&&(e=t.call(this,p.strToEl)),this._templates=(0,o.default)(g.default,e);},t.prototype._createElements=function(){this.containerOuter=new h.Container({element:this._getTemplate("containerOuter",this._direction,this._isSelectElement,this._isSelectOneElement,this.config.searchEnabled,this.passedElement.element.type,this.config.labelId),classNames:this.config.classNames,type:this.passedElement.element.type,position:this.config.position}),this.containerInner=new h.Container({element:this._getTemplate("containerInner"),classNames:this.config.classNames,type:this.passedElement.element.type,position:this.config.position}),this.input=new h.Input({element:this._getTemplate("input",this._placeholderValue),classNames:this.config.classNames,type:this.passedElement.element.type,preventPaste:!this.config.paste}),this.choiceList=new h.List({element:this._getTemplate("choiceList",this._isSelectOneElement)}),this.itemList=new h.List({element:this._getTemplate("itemList",this._isSelectOneElement)}),this.dropdown=new h.Dropdown({element:this._getTemplate("dropdown"),classNames:this.config.classNames,type:this.passedElement.element.type});},t.prototype._createStructure=function(){this.passedElement.conceal(),this.containerInner.wrap(this.passedElement.element),this.containerOuter.wrap(this.containerInner.element),this._isSelectOneElement?this.input.placeholder=this.config.searchPlaceholderValue||"":this._placeholderValue&&(this.input.placeholder=this._placeholderValue,this.input.setWidth()),this.containerOuter.element.appendChild(this.containerInner.element),this.containerOuter.element.appendChild(this.dropdown.element),this.containerInner.element.appendChild(this.itemList.element),this._isTextElement||this.dropdown.element.appendChild(this.choiceList.element),this._isSelectOneElement?this.config.searchEnabled&&this.dropdown.element.insertBefore(this.input.element,this.dropdown.element.firstChild):this.containerInner.element.appendChild(this.input.element),this._isSelectElement&&(this._highlightPosition=0,this._isSearching=!1,this._startLoading(),this._presetGroups.length?this._addPredefinedGroups(this._presetGroups):this._addPredefinedChoices(this._presetChoices),this._stopLoading()),this._isTextElement&&this._addPredefinedItems(this._presetItems);},t.prototype._addPredefinedGroups=function(t){var e=this,n=this.passedElement.placeholderOption;n&&n.parentNode&&"SELECT"===n.parentNode.tagName&&this._addChoice({value:n.value,label:n.innerHTML,isSelected:n.selected,isDisabled:n.disabled,placeholder:!0}
43),t.forEach(function(t){return e._addGroup({group:t,id:t.id||null});});},t.prototype._addPredefinedChoices=function(t){var e=this;this.config.shouldSort&&t.sort(this.config.sorter);var n=t.some(function(t){return t.selected;}),i=t.findIndex(function(t){return void 0===t.disabled||!t.disabled;});t.forEach(function(t,r){var o=t.value,s=void 0===o?"":o,a=t.label,c=t.customProperties,l=t.placeholder;if(e._isSelectElement)if(t.choices)e._addGroup({group:t,id:t.id||null});else{var u=!!(e._isSelectOneElement&&!n&&r===i)||t.selected,h=t.disabled;e._addChoice({value:s,label:a,isSelected:!!u,isDisabled:!!h,placeholder:!!l,customProperties:c});}else e._addChoice({value:s,label:a,isSelected:!!t.selected,isDisabled:!!t.disabled,placeholder:!!t.placeholder,customProperties:c});});},t.prototype._addPredefinedItems=function(t){var e=this;t.forEach(function(t){"object"==typeof t&&t.value&&e._addItem({value:t.value,label:t.label,choiceId:t.id,customProperties:t.customProperties,placeholder:t.placeholder}),"string"==typeof t&&e._addItem({value:t});});},t.prototype._setChoiceOrItem=function(t){var e=this;({object:function(){t.value&&(e._isTextElement?e._addItem({value:t.value,label:t.label,choiceId:t.id,customProperties:t.customProperties,placeholder:t.placeholder}):e._addChoice({value:t.value,label:t.label,isSelected:!0,isDisabled:!1,customProperties:t.customProperties,placeholder:t.placeholder}));},string:function(){e._isTextElement?e._addItem({value:t}):e._addChoice({value:t,label:t,isSelected:!0,isDisabled:!1});}})[(0,p.getType)(t).toLowerCase()]();},t.prototype._findAndSelectChoiceByValue=function(t){var e=this,n=this._store.choices.find(function(n){return e.config.valueComparer(n.value,t);});n&&!n.selected&&this._addItem({value:n.value,label:n.label,choiceId:n.id,groupId:n.groupId,customProperties:n.customProperties,placeholder:n.placeholder,keyCode:n.keyCode});},t.prototype._generatePlaceholderValue=function(){if(this._isSelectElement&&this.passedElement.placeholderOption){var t=this.passedElement.placeholderOption;return t?t.text:null;}var e=this.config,n=e.placeholder,i=e.placeholderValue,r=this.passedElement.element.dataset;if(n){if(i)return i;if(r.placeholder)return r.placeholder;}return null;},t;}();e.default=E;},613:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(799),r=n(883),o=function(){function t(t){var e=t.element,n=t.type,i=t.classNames,r=t.position;this.element=e,this.classNames=i,this.type=n,this.position=r,this.isOpen=!1,this.isFlipped=!1,this.isFocussed=!1,this.isDisabled=!1,this.isLoading=!1,this._onFocus=this._onFocus.bind(this),this._onBlur=this._onBlur.bind(this);}return t.prototype.addEventListeners=function(){this.element.addEventListener("focus",this._onFocus),this.element.addEventListener("blur",this._onBlur);},t.prototype.removeEventListeners=function(){this.element.removeEventListener("focus",this._onFocus),this.element.removeEventListener("blur",this._onBlur);},t.prototype.shouldFlip=function(t){if("number"!=typeof t)return !1;var e=!1;return "auto"===this.position?e=!window.matchMedia("(min-height: ".concat(t+1,"px)")).matches:"top"===this.position&&(e=!0),e;},t.prototype.setActiveDescendant=function(t){this.element.setAttribute("aria-activedescendant",t);},t.prototype.removeActiveDescendant=function(){this.element.removeAttribute("aria-activedescendant");},t.prototype.open=function(t){this.element.classList.add(this.classNames.openState),this.element.setAttribute("aria-expanded","true"),this.isOpen=!0,this.shouldFlip(t)&&(this.element.classList.add(this.classNames.flippedState),this.isFlipped=!0);},t.prototype.close=function(){this.element.classList.remove(this.classNames.openState),this.element.setAttribute("aria-expanded","false"),this.removeActiveDescendant(),this.isOpen=!1,this.isFlipped&&(this.element.classList.remove(this.classNames.flippedState),this.isFlipped=!1);},t.prototype.focus=function(){this.isFocussed||this.element.focus();},t.prototype.addFocusState=function(){this.element.classList.add(this.classNames.focusState);},t.prototype.removeFocusState=function(){this.element.classList.remove(this.classNames.focusState);},t.prototype.enable=function(){this.element.classList.remove(this.classNames.disabledState),this.element.removeAttribute("aria-disabled"),this.type===r.SELECT_ONE_TYPE&&this.element.setAttribute("tabindex","0"),this.isDisabled=!1;},t.prototype.disable=function(){this.element.classList.add(this.classNames.disabledState),this.element.setAttribute("aria-disabled","true"),this.type===r.SELECT_ONE_TYPE&&this.element.setAttribute("tabindex","-1"),this.isDisabled=!0;},t.prototype.wrap=function(t){(0,i.wrap)(t,this.element);},t.prototype.unwrap=function(t){this.element.parentNode&&(this.element.parentNode.insertBefore(t,this.element),this.element.parentNode.removeChild(this.element));},t.prototype.addLoadingState=function(){this.element.classList.add(this.classNames.loadingState),this.element.setAttribute("aria-busy","true"),this.isLoading=!0;},t.prototype.removeLoadingState=function(){this.element.classList.remove(this.classNames.loadingState),this.element.removeAttribute("aria-busy"),this.isLoading=!1;},t.prototype._onFocus=function(){this.isFocussed=!0;},t.prototype._onBlur=function(){this.isFocussed=!1;},t;}();e.default=o;}
43,217:function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t){var e=t.element,n=t.type,i=t.classNames;this.element=e,this.classNames=i,this.type=n,this.isActive=!1;}return Object.defineProperty(t.prototype,"distanceFromTopWindow",{get:function(){return this.element.getBoundingClientRect().bottom;},enumerable:!1,configurable:!0}),t.prototype.getChild=function(t){return this.element.querySelector(t);},t.prototype.show=function(){return this.element.classList.add(this.classNames.activeState),this.element.setAttribute("aria-expanded","true"),this.isActive=!0,this;},t.prototype.hide=function(){return this.element.classList.remove(this.classNames.activeState),this.element.setAttribute("aria-expanded","false"),this.isActive=!1,this;},t;}();e.default=n;},520:function(t,e,n){var i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t};};Object.defineProperty(e,"__esModule",{value:!0}),e.WrappedSelect=e.WrappedInput=e.List=e.Input=e.Container=e.Dropdown=void 0;var r=i(n(217));e.Dropdown=r.default;var o=i(n(613));e.Container=o.default;var s=i(n(11));e.Input=s.default;var a=i(n(624));e.List=a.default;var c=i(n(541));e.WrappedInput=c.default;var l=i(n(982));e.WrappedSelect=l.default;},11:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(799),r=n(883),o=function(){function t(t){var e=t.element,n=t.type,i=t.classNames,r=t.preventPaste;this.element=e,this.type=n,this.classNames=i,this.preventPaste=r,this.isFocussed=this.element.isEqualNode(document.activeElement),this.isDisabled=e.disabled,this._onPaste=this._onPaste.bind(this),this._onInput=this._onInput.bind(this),this._onFocus=this._onFocus.bind(this),this._onBlur=this._onBlur.bind(this);}return Object.defineProperty(t.prototype,"placeholder",{set:function(t){this.element.placeholder=t;},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return (0,i.sanitise)(this.element.value);},set:function(t){this.element.value=t;},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rawValue",{get:function(){return this.element.value;},enumerable:!1,configurable:!0}),t.prototype.addEventListeners=function(){this.element.addEventListener("paste",this._onPaste),this.element.addEventListener("input",this._onInput,{passive:!0}),this.element.addEventListener("focus",this._onFocus,{passive:!0}),this.element.addEventListener("blur",this._onBlur,{passive:!0});},t.prototype.removeEventListeners=function(){this.element.removeEventListener("input",this._onInput),this.element.removeEventListener("paste",this._onPaste),this.element.removeEventListener("focus",this._onFocus),this.element.removeEventListener("blur",this._onBlur);},t.prototype.enable=function(){this.element.removeAttribute("disabled"),this.isDisabled=!1;},t.prototype.disable=function(){this.element.setAttribute("disabled",""),this.isDisabled=!0;},t.prototype.focus=function(){this.isFocussed||this.element.focus();},t.prototype.blur=function(){this.isFocussed&&this.element.blur();},t.prototype.clear=function(t){return void 0===t&&(t=!0),this.element.value&&(this.element.value=""),t&&this.setWidth(),this;},t.prototype.setWidth=function(){var t=this.element,e=t.style,n=t.value,i=t.placeholder;e.minWidth="".concat(i.length+1,"ch"),e.width="".concat(n.length+1,"ch");},t.prototype.setActiveDescendant=function(t){this.element.setAttribute("aria-activedescendant",t);},t.prototype.removeActiveDescendant=function(){this.element.removeAttribute("aria-activedescendant");},t.prototype._onInput=function(){this.type!==r.SELECT_ONE_TYPE&&this.setWidth();},t.prototype._onPaste=function(t){this.preventPaste&&t.preventDefault();},t.prototype._onFocus=function(){this.isFocussed=!0;},t.prototype._onBlur=function(){this.isFocussed=!1;},t;}();e.default=o;},624:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(883),r=function(){function t(t){var e=t.element;this.element=e,this.scrollPos=this.element.scrollTop,this.height=this.element.offsetHeight;}return t.prototype.clear=function(){this.element.innerHTML="";},t.prototype.append=function(t){this.element.appendChild(t);},t.prototype.getChild=function(t){return this.element.querySelector(t);},t.prototype.hasChildren=function(){return this.element.hasChildNodes();},t.prototype.scrollToTop=function(){this.element.scrollTop=0;},t.prototype.scrollToChildElement=function(t,e){var n=this;if(t){var i=this.element.offsetHeight,r=this.element.scrollTop+i,o=t.offsetHeight,s=t.offsetTop+o,a=e>0?this.element.scrollTop+s-r:t.offsetTop;requestAnimationFrame(function(){n._animateScroll(a,e);});}},t.prototype._scrollDown=function(t,e,n){var i=(n-t)/e,r=i>1?i:1;this.element.scrollTop=t+r;},t.prototype._scrollUp=function(t,e,n){var i=(t-n)/e,r=i>1?i:1;this.element.scrollTop=t-r;},t.prototype._animateScroll=function(t,e){var n=this,r=i.SCROLLING_SPEED,o=this.element.scrollTop,s=!1;e>0?(this._scrollDown(o,r,t),o<t&&(s=!0)):(this._scrollUp(o,r,t),o>t&&(s=!0)),s&&requestAnimationFrame(function(){n._animateScroll(t,e);});},t;}();e.default=r;}
43,730:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var i=n(799),r=function(){function t(t){var e=t.element,n=t.classNames;if(this.element=e,this.classNames=n,!(e instanceof HTMLInputElement||e instanceof HTMLSelectElement))throw new TypeError("Invalid element passed");this.isDisabled=!1;}return Object.defineProperty(t.prototype,"isActive",{get:function(){return "active"===this.element.dataset.choice;},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dir",{get:function(){return this.element.dir;},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this.element.value;},set:function(t){this.element.value=t;},enumerable:!1,configurable:!0}),t.prototype.conceal=function(){this.element.classList.add(this.classNames.input),this.element.hidden=!0,this.element.tabIndex=-1;var t=this.element.getAttribute("style");t&&this.element.setAttribute("data-choice-orig-style",t),this.element.setAttribute("data-choice","active");},t.prototype.reveal=function(){this.element.classList.remove(this.classNames.input),this.element.hidden=!1,this.element.removeAttribute("tabindex");var t=this.element.getAttribute("data-choice-orig-style");t?(this.element.removeAttribute("data-choice-orig-style"),this.element.setAttribute("style",t)):this.element.removeAttribute("style"),this.element.removeAttribute("data-choice"),this.element.value=this.element.value;},t.prototype.enable=function(){this.element.removeAttribute("disabled"),this.element.disabled=!1,this.isDisabled=!1;},t.prototype.disable=function(){this.element.setAttribute("disabled",""),this.element.disabled=!0,this.isDisabled=!0;},t.prototype.triggerEvent=function(t,e){(0,i.dispatchEvent)(this.element,t,e);},t;}();e.default=r;},541:function(t,e,n){var i,r=this&&this.__extends||(i=function(t,e){return (i=Object.setPrototypeOf||{__proto__:[]} instanceof Array&&function(t,e){t.__proto__=e;}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);})(t,e);},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t;}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n());}),o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t};};Object.defineProperty(e,"__esModule",{value:!0});var s=function(t){function e(e){var n=e.element,i=e.classNames,r=e.delimiter,o=t.call(this,{element:n,classNames:i})||this;return o.delimiter=r,o;}return r(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this.element.value;},set:function(t){this.element.setAttribute("value",t),this.element.value=t;},enumerable:!1,configurable:!0}),e;}(o(n(730)).default);e.default=s;},982:function(t,e,n){var i,r=this&&this.__extends||(i=function(t,e){return (i=Object.setPrototypeOf||{__proto__:[]} instanceof Array&&function(t,e){t.__proto__=e;}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);})(t,e);},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t;}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n());}),o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t};};Object.defineProperty(e,"__esModule",{value:!0});var s=function(t){function e(e){var n=e.element,i=e.classNames,r=e.template,o=t.call(this,{element:n,classNames:i})||this;return o.template=r,o;}return r(e,t),Object.defineProperty(e.prototype,"placeholderOption",{get:function(){return this.element.querySelector('option[value=""]')||this.element.querySelector("option[placeholder]");},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"optionGroups",{get:function(){return Array.from(this.element.getElementsByTagName("OPTGROUP"));},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"options",{get:function(){return Array.from(this.element.options);},set:function(t){var e=this,n=document.createDocumentFragment();t.forEach(function(t){return i=t,r=e.template(i),void n.appendChild(r);var i,r;}),this.appendDocFragment(n);}
43,enumerable:!1,configurable:!0}),e.prototype.appendDocFragment=function(t){this.element.innerHTML="",this.element.appendChild(t);},e;}(o(n(730)).default);e.default=s;},883:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.SCROLLING_SPEED=e.SELECT_MULTIPLE_TYPE=e.SELECT_ONE_TYPE=e.TEXT_TYPE=e.KEY_CODES=e.ACTION_TYPES=e.EVENTS=void 0,e.EVENTS={showDropdown:"showDropdown",hideDropdown:"hideDropdown",change:"change",choice:"choice",search:"search",addItem:"addItem",removeItem:"removeItem",highlightItem:"highlightItem",highlightChoice:"highlightChoice",unhighlightItem:"unhighlightItem"},e.ACTION_TYPES={ADD_CHOICE:"ADD_CHOICE",FILTER_CHOICES:"FILTER_CHOICES",ACTIVATE_CHOICES:"ACTIVATE_CHOICES",CLEAR_CHOICES:"CLEAR_CHOICES",ADD_GROUP:"ADD_GROUP",ADD_ITEM:"ADD_ITEM",REMOVE_ITEM:"REMOVE_ITEM",HIGHLIGHT_ITEM:"HIGHLIGHT_ITEM",CLEAR_ALL:"CLEAR_ALL",RESET_TO:"RESET_TO",SET_IS_LOADING:"SET_IS_LOADING"},e.KEY_CODES={BACK_KEY:46,DELETE_KEY:8,ENTER_KEY:13,A_KEY:65,ESC_KEY:27,UP_KEY:38,DOWN_KEY:40,PAGE_UP_KEY:33,PAGE_DOWN_KEY:34},e.TEXT_TYPE="text",e.SELECT_ONE_TYPE="select-one",e.SELECT_MULTIPLE_TYPE="select-multiple",e.SCROLLING_SPEED=4;},789:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_CONFIG=e.DEFAULT_CLASSNAMES=void 0;var i=n(799);e.DEFAULT_CLASSNAMES={containerOuter:"choices",containerInner:"choices__inner",input:"choices__input",inputCloned:"choices__input--cloned",list:"choices__list",listItems:"choices__list--multiple",listSingle:"choices__list--single",listDropdown:"choices__list--dropdown",item:"choices__item",itemSelectable:"choices__item--selectable",itemDisabled:"choices__item--disabled",itemChoice:"choices__item--choice",placeholder:"choices__placeholder",group:"choices__group",groupHeading:"choices__heading",button:"choices__button",activeState:"is-active",focusState:"is-focused",openState:"is-open",disabledState:"is-disabled",highlightedState:"is-highlighted",selectedState:"is-selected",flippedState:"is-flipped",loadingState:"is-loading",noResults:"has-no-results",noChoices:"has-no-choices"},e.DEFAULT_CONFIG={items:[],choices:[],silent:!1,renderChoiceLimit:-1,maxItemCount:-1,addItems:!0,addItemFilter:null,removeItems:!0,removeItemButton:!1,editItems:!1,allowHTML:!0,duplicateItemsAllowed:!0,delimiter:",",paste:!0,searchEnabled:!0,searchChoices:!0,searchFloor:1,searchResultLimit:4,searchFields:["label","value"],position:"auto",resetScrollPosition:!0,shouldSort:!0,shouldSortItems:!1,sorter:i.sortByAlpha,placeholder:!0,placeholderValue:null,searchPlaceholderValue:null,prependValue:null,appendValue:null,renderSelectedChoices:"auto",loadingText:"Loading...",noResultsText:"No results found",noChoicesText:"No choices to choose from",itemSelectText:"Press to select",uniqueItemText:"Only unique values can be added",customAddItemText:"Only values matching specific conditions can be added",addItemText:function(t){return 'Press Enter to add <b>"'.concat((0,i.sanitise)(t),'"</b>');},maxItemText:function(t){return "Only ".concat(t," values can be added");},valueComparer:function(t,e){return t===e;},fuseOptions:{includeScore:!0},labelId:"",callbackOnInit:null,callbackOnCreateTemplates:null,classNames:e.DEFAULT_CLASSNAMES};},18:function(t,e){Object.defineProperty(e,"__esModule",{value:!0});},978:function(t,e){Object.defineProperty(e,"__esModule",{value:!0});},948:function(t,e){Object.defineProperty(e,"__esModule",{value:!0});},359:function(t,e){Object.defineProperty(e,"__esModule",{value:!0});},285:function(t,e){Object.defineProperty(e,"__esModule",{value:!0});},533:function(t,e){Object.defineProperty(e,"__esModule",{value:!0});},187:function(t,e,n){var i=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n];}});}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n];}),r=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||i(e,t,n);};Object.defineProperty(e,"__esModule",{value:!0}),r(n(18),e),r(n(978),e),r(n(948),e),r(n(359),e),r(n(285),e),r(n(533),e),r(n(287),e),r(n(132),e),r(n(837),e),r(n(598),e),r(n(369),e),r(n(37),e),r(n(47),e),r(n(923),e),r(n(876),e);}
43,287:function(t,e){Object.defineProperty(e,"__esModule",{value:!0});},132:function(t,e){Object.defineProperty(e,"__esModule",{value:!0});},837:function(t,e){Object.defineProperty(e,"__esModule",{value:!0});},598:function(t,e){Object.defineProperty(e,"__esModule",{value:!0});},37:function(t,e){Object.defineProperty(e,"__esModule",{value:!0});},369:function(t,e){Object.defineProperty(e,"__esModule",{value:!0});},47:function(t,e){Object.defineProperty(e,"__esModule",{value:!0});},923:function(t,e){Object.defineProperty(e,"__esModule",{value:!0});},876:function(t,e){Object.defineProperty(e,"__esModule",{value:!0});},799:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.diff=e.cloneObject=e.existsInArray=e.dispatchEvent=e.sortByScore=e.sortByAlpha=e.strToEl=e.sanitise=e.isScrolledIntoView=e.getAdjacentEl=e.wrap=e.isType=e.getType=e.generateId=e.generateChars=e.getRandomNumber=void 0;e.getRandomNumber=function(t,e){return Math.floor(Math.random()*(e-t)+t);};e.generateChars=function(t){return Array.from({length:t},function(){return (0,e.getRandomNumber)(0,36).toString(36);}).join("");};e.generateId=function(t,n){var i=t.id||t.name&&"".concat(t.name,"-").concat((0,e.generateChars)(2))||(0,e.generateChars)(4);return i=i.replace(/(:|\.|\[|\]|,)/g,""),i="".concat(n,"-").concat(i);};e.getType=function(t){return Object.prototype.toString.call(t).slice(8,-1);};e.isType=function(t,n){return null!=n&&(0,e.getType)(n)===t;};e.wrap=function(t,e){return void 0===e&&(e=document.createElement("div")),t.parentNode&&(t.nextSibling?t.parentNode.insertBefore(e,t.nextSibling):t.parentNode.appendChild(e)),e.appendChild(t);};e.getAdjacentEl=function(t,e,n){void 0===n&&(n=1);for(var i="".concat(n>0?"next":"previous","ElementSibling"),r=t[i];r;){if(r.matches(e))return r;r=r[i];}return r;};e.isScrolledIntoView=function(t,e,n){return void 0===n&&(n=1),!!t&&(n>0?e.scrollTop+e.offsetHeight>=t.offsetTop+t.offsetHeight:t.offsetTop>=e.scrollTop);};var n;e.sanitise=function(t){return "string"!=typeof t?t:t.replace(/&/g,"&amp;").replace(/>/g,"&gt;").replace(/</g,"&lt;").replace(/"/g,"&quot;");},e.strToEl=(n=document.createElement("div"),function(t){var e=t.trim();n.innerHTML=e;for(var i=n.children[0];n.firstChild;)n.removeChild(n.firstChild);return i;});e.sortByAlpha=function(t,e){var n=t.value,i=t.label,r=void 0===i?n:i,o=e.value,s=e.label,a=void 0===s?o:s;return r.localeCompare(a,[],{sensitivity:"base",ignorePunctuation:!0,numeric:!0});};e.sortByScore=function(t,e){var n=t.score,i=void 0===n?0:n,r=e.score;return i-(void 0===r?0:r);};e.dispatchEvent=function(t,e,n){void 0===n&&(n=null);var i=new CustomEvent(e,{detail:n,bubbles:!0,cancelable:!0});return t.dispatchEvent(i);};e.existsInArray=function(t,e,n){return void 0===n&&(n="value"),t.some(function(t){return "string"==typeof e?t[n]===e.trim():t[n]===e;});};e.cloneObject=function(t){return JSON.parse(JSON.stringify(t));};e.diff=function(t,e){var n=Object.keys(t).sort(),i=Object.keys(e).sort();return n.filter(function(t){return i.indexOf(t)<0;});};},273:function(t,e){var n=this&&this.__spreadArray||function(t,e,n){if(n||2===arguments.length)for(var i,r=0,o=e.length;r<o;r++)!i&&r in e||(i||(i=Array.prototype.slice.call(e,0,r)),i[r]=e[r]);return t.concat(i||Array.prototype.slice.call(e));};Object.defineProperty(e,"__esModule",{value:!0}),e.defaultState=void 0,e.defaultState=[],e.default=function(t,i){switch(void 0===t&&(t=e.defaultState),void 0===i&&(i={}),i.type){case "ADD_CHOICE":var r=i,o={id:r.id,elementId:r.elementId,groupId:r.groupId,value:r.value,label:r.label||r.value,disabled:r.disabled||!1,selected:!1,active:!0,score:9999,customProperties:r.customProperties,placeholder:r.placeholder||!1};return n(n([],t,!0),[o],!1);case "ADD_ITEM":var s=i;return s.choiceId>-1?t.map(function(t){var e=t;return e.id===parseInt("".concat(s.choiceId),10)&&(e.selected=!0),e;}):t;case "REMOVE_ITEM":var a=i;return a.choiceId&&a.choiceId>-1?t.map(function(t){var e=t;return e.id===parseInt("".concat(a.choiceId),10)&&(e.selected=!1),e;}):t;case "FILTER_CHOICES":var c=i;return t.map(function(t){var e=t;return e.active=c.results.some(function(t){var n=t.item,i=t.score;return n.id===e.id&&(e.score=i,!0);}),e;});case "ACTIVATE_CHOICES":var l=i;return t.map(function(t){var e=t;return e.active=l.active,e;});case "CLEAR_CHOICES":return e.defaultState;default:return t;}};},871:function(t,e){var n=this&&this.__spreadArray||function(t,e,n){if(n||2===arguments.length)for(var i,r=0,o=e.length;r<o;r++)!i&&r in e||(i||(i=Array.prototype.slice.call(e,0,r)),i[r]=e[r]);return t.concat(i||Array.prototype.slice.call(e));};
43Object.defineProperty(e,"__esModule",{value:!0}),e.defaultState=void 0,e.defaultState=[],e.default=function(t,i){switch(void 0===t&&(t=e.defaultState),void 0===i&&(i={}),i.type){case "ADD_GROUP":var r=i;return n(n([],t,!0),[{id:r.id,value:r.value,active:r.active,disabled:r.disabled}],!1);case "CLEAR_CHOICES":return [];default:return t;}};},655:function(t,e,n){var i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t};};Object.defineProperty(e,"__esModule",{value:!0}),e.defaultState=void 0;var r=n(857),o=i(n(52)),s=i(n(871)),a=i(n(273)),c=i(n(502)),l=n(799);e.defaultState={groups:[],items:[],choices:[],loading:!1};var u=(0,r.combineReducers)({items:o.default,groups:s.default,choices:a.default,loading:c.default});e.default=function(t,n){var i=t;if("CLEAR_ALL"===n.type)i=e.defaultState;else{if("RESET_TO"===n.type)return (0,l.cloneObject)(n.state);}return u(i,n);};},52:function(t,e){var n=this&&this.__spreadArray||function(t,e,n){if(n||2===arguments.length)for(var i,r=0,o=e.length;r<o;r++)!i&&r in e||(i||(i=Array.prototype.slice.call(e,0,r)),i[r]=e[r]);return t.concat(i||Array.prototype.slice.call(e));};Object.defineProperty(e,"__esModule",{value:!0}),e.defaultState=void 0,e.defaultState=[],e.default=function(t,i){switch(void 0===t&&(t=e.defaultState),void 0===i&&(i={}
43),i.type){case "ADD_ITEM":var r=i;return n(n([],t,!0),[{id:r.id,choiceId:r.choiceId,groupId:r.groupId,value:r.value,label:r.label,active:!0,highlighted:!1,customProperties:r.customProperties,placeholder:r.placeholder||!1,keyCode:null}],!1).map(function(t){var e=t;return e.highlighted=!1,e;});case "REMOVE_ITEM":return t.map(function(t){var e=t;return e.id===i.id&&(e.active=!1),e;});case "HIGHLIGHT_ITEM":var o=i;return t.map(function(t){var e=t;return e.id===o.id&&(e.highlighted=o.highlighted),e;});default:return t;}};},502:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.defaultState=void 0,e.defaultState=!1;e.default=function(t,n){switch(void 0===t&&(t=e.defaultState),void 0===n&&(n={}),n.type){case "SET_IS_LOADING":return n.isLoading;default:return t;}};},744:function(t,e,n){var i=this&&this.__spreadArray||function(t,e,n){if(n||2===arguments.length)for(var i,r=0,o=e.length;r<o;r++)!i&&r in e||(i||(i=Array.prototype.slice.call(e,0,r)),i[r]=e[r]);return t.concat(i||Array.prototype.slice.call(e));},r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t};};Object.defineProperty(e,"__esModule",{value:!0});var o=n(857),s=r(n(655)),a=function(){function t(){this._store=(0,o.createStore)(s.default,window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__());}return t.prototype.subscribe=function(t){this._store.subscribe(t);},t.prototype.dispatch=function(t){this._store.dispatch(t);},Object.defineProperty(t.prototype,"state",{get:function(){return this._store.getState();},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"items",{get:function(){return this.state.items;},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"activeItems",{get:function(){return this.items.filter(function(t){return !0===t.active;});},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"highlightedActiveItems",{get:function(){return this.items.filter(function(t){return t.active&&t.highlighted;});},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"choices",{get:function(){return this.state.choices;},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"activeChoices",{get:function(){return this.choices.filter(function(t){return !0===t.active;});},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selectableChoices",{get:function(){return this.choices.filter(function(t){return !0!==t.disabled;});},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"searchableChoices",{get:function(){return this.selectableChoices.filter(function(t){return !0!==t.placeholder;});},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"placeholderChoice",{get:function(){return i([],this.choices,!0).reverse().find(function(t){return !0===t.placeholder;});},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"groups",{get:function(){return this.state.groups;},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"activeGroups",{get:function(){var t=this.groups,e=this.choices;return t.filter(function(t){var n=!0===t.active&&!1===t.disabled,i=e.some(function(t){return !0===t.active&&!1===t.disabled;});return n&&i;},[]);},enumerable:!1,configurable:!0}),t.prototype.isLoading=function(){return this.state.loading;},t.prototype.getChoiceById=function(t){return this.activeChoices.find(function(e){return e.id===parseInt(t,10);});},t.prototype.getGroupById=function(t){return this.groups.find(function(e){return e.id===t;});},t;}();e.default=a;},686:function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var n={containerOuter:function(t,e,n,i,r,o,s){var a=t.classNames.containerOuter,c=Object.assign(document.createElement("div"),{className:a});return c.dataset.type=o,e&&(c.dir=e),i&&(c.tabIndex=0),n&&(c.setAttribute("role",r?"combobox":"listbox"),r&&c.setAttribute("aria-autocomplete","list")),c.setAttribute("aria-haspopup","true"),c.setAttribute("aria-expanded","false"),s&&c.setAttribute("aria-labeledby",s),c;},containerInner:function(t){var e=t.classNames.containerInner;return Object.assign(document.createElement("div"),{className:e});},itemList:function(t,e){var n=t.classNames,i=n.list,r=n.listSingle,o=n.listItems;return Object.assign(document.createElement("div"),{className:"".concat(i," ").concat(e?r:o)});},placeholder:function(t,e){var n,i=t.allowHTML,r=t.classNames.placeholder;return Object.assign(document.createElement("div"),((n={className:r}
43)[i?"innerHTML":"innerText"]=e,n));},item:function(t,e,n){var i,r,o=t.allowHTML,s=t.classNames,a=s.item,c=s.button,l=s.highlightedState,u=s.itemSelectable,h=s.placeholder,d=e.id,f=e.value,p=e.label,m=e.customProperties,v=e.active,g=e.disabled,y=e.highlighted,b=e.placeholder,E=Object.assign(document.createElement("div"),((i={className:a})[o?"innerHTML":"innerText"]=p,i));if(Object.assign(E.dataset,{item:"",id:d,value:f,customProperties:m}),v&&E.setAttribute("aria-selected","true"),g&&E.setAttribute("aria-disabled","true"),b&&E.classList.add(h),E.classList.add(y?l:u),n){g&&E.classList.remove(u),E.dataset.deletable="";var _=Object.assign(document.createElement("button"),((r={type:"button",className:c})[o?"innerHTML":"innerText"]="Remove item",r));_.setAttribute("aria-label","".concat("Remove item",": '").concat(f,"'")),_.dataset.button="",E.appendChild(_);}return E;},choiceList:function(t,e){var n=t.classNames.list,i=Object.assign(document.createElement("div"),{className:n});return e||i.setAttribute("aria-multiselectable","true"),i.setAttribute("role","listbox"),i;},choiceGroup:function(t,e){var n,i=t.allowHTML,r=t.classNames,o=r.group,s=r.groupHeading,a=r.itemDisabled,c=e.id,l=e.value,u=e.disabled,h=Object.assign(document.createElement("div"),{className:"".concat(o," ").concat(u?a:"")});return h.setAttribute("role","group"),Object.assign(h.dataset,{group:"",id:c,value:l}),u&&h.setAttribute("aria-disabled","true"),h.appendChild(Object.assign(document.createElement("div"),((n={className:s})[i?"innerHTML":"innerText"]=l,n))),h;},choice:function(t,e,n){var i,r=t.allowHTML,o=t.classNames,s=o.item,a=o.itemChoice,c=o.itemSelectable,l=o.selectedState,u=o.itemDisabled,h=o.placeholder,d=e.id,f=e.value,p=e.label,m=e.groupId,v=e.elementId,g=e.disabled,y=e.selected,b=e.placeholder,E=Object.assign(document.createElement("div"),((i={id:v})[r?"innerHTML":"innerText"]=p,i.className="".concat(s," ").concat(a),i));return y&&E.classList.add(l),b&&E.classList.add(h),E.setAttribute("role",m&&m>0?"treeitem":"option"),Object.assign(E.dataset,{choice:"",id:d,value:f,selectText:n}),g?(E.classList.add(u),E.dataset.choiceDisabled="",E.setAttribute("aria-disabled","true")):(E.classList.add(c),E.dataset.choiceSelectable=""),E;},input:function(t,e){var n=t.classNames,i=n.input,r=n.inputCloned,o=Object.assign(document.createElement("input"),{type:"search",name:"search_terms",className:"".concat(i," ").concat(r),autocomplete:"off",autocapitalize:"off",spellcheck:!1});return o.setAttribute("role","textbox"),o.setAttribute("aria-autocomplete","list"),o.setAttribute("aria-label",e),o;},dropdown:function(t){var e=t.classNames,n=e.list,i=e.listDropdown,r=document.createElement("div");return r.classList.add(n,i),r.setAttribute("aria-expanded","false"),r;},notice:function(t,e,n){var i,r=t.allowHTML,o=t.classNames,s=o.item,a=o.itemChoice,c=o.noResults,l=o.noChoices;void 0===n&&(n="");var u=[s,a];return "no-choices"===n?u.push(l):"no-results"===n&&u.push(c),Object.assign(document.createElement("div"),((i={})[r?"innerHTML":"innerText"]=e,i.className=u.join(" "),i));},option:function(t){var e=t.label,n=t.value,i=t.customProperties,r=t.active,o=t.disabled,s=new Option(e,n,!1,r);return i&&(s.dataset.customProperties="".concat(i)),s.disabled=!!o,s;}};e.default=n;},996:function(t){var e=function(t){return function(t){return !!t&&"object"==typeof t;}(t)&&!function(t){var e=Object.prototype.toString.call(t);return "[object RegExp]"===e||"[object Date]"===e||function(t){return t.$$typeof===n;}(t);}(t);};var n="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function i(t,e){return !1!==e.clone&&e.isMergeableObject(t)?c((n=t,Array.isArray(n)?[]:{}),t,e):t;var n;}function r(t,e,n){return t.concat(e).map(function(t){return i(t,n);});}function o(t){return Object.keys(t).concat(function(t){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e);}):[];}(t));}function s(t,e){try{return e in t;}catch(t){return !1;}}function a(t,e,n){var r={};return n.isMergeableObject(t)&&o(t).forEach(function(e){r[e]=i(t[e],n);}),o(e).forEach(function(o){(function(t,e){return s(t,e)&&!(Object.hasOwnProperty.call(t,e)&&Object.propertyIsEnumerable.call(t,e));})(t,o)||(s(t,o)&&n.isMergeableObject(e[o])?r[o]=function(t,e){if(!e.customMerge)return c;var n=e.customMerge(t);return "function"==typeof n?n:c;}(o,n)(t[o],e[o],n):r[o]=i(e[o],n));}),r;}function c(t,n,o){(o=o||{}).arrayMerge=o.arrayMerge||r,o.isMergeableObject=o.isMergeableObject||e,o.cloneUnlessOtherwiseSpecified=i;var s=Array.isArray(n);return s===Array.isArray(t)?s?o.arrayMerge(t,n,o):a(t,n,o):i(n,o);}c.all=function(t,e){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(t,n){return c(t,n,e);},{});};var l=c;t.exports=l;},221:function(t,e,n){function i(t){return Array.isArray?Array.isArray(t):"[object Array]"===d(t);}n.r(e),n.d(e,{default:function(){return J;}});const r=1/0;function o(t){return null==t?"":function(t){if("string"==typeof t)return t;let e=t+"";return "0"==e&&1/t==-r?"-0":e;}(t);}function s(t){return "string"==typeof t;}function a(t){return "number"==typeof t;}function c(t){return !0===t||!1===t||function(t){return l(t)&&null!==t;}(t)&&"[object Boolean]"==d(t);}function l(t){return "object"==typeof t;}function u(t){return null!=t;}function h(t){return !t.trim().length;}
43function d(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t);}const f="Incorrect 'index' type",p=(t)=>`Invalid value for key ${t}`,m=(t)=>`Pattern length exceeds max of ${t}.`,v=(t)=>`Missing ${t} property in key`,g=(t)=>`Property 'weight' in key '${t}' must be a positive integer`,y=Object.prototype.hasOwnProperty;class b{constructor(t){this._keys=[],this._keyMap={};let e=0;t.forEach((t)=>{let n=E(t);e+=n.weight,this._keys.push(n),this._keyMap[n.id]=n,e+=n.weight;}),this._keys.forEach((t)=>{t.weight/=e;});}get(t){return this._keyMap[t];}keys(){return this._keys;}toJSON(){return JSON.stringify(this._keys);}}function E(t){let e=null,n=null,r=null,o=1;if(s(t)||i(t))r=t,e=_(t),n=w(t);else{if(!y.call(t,"name"))throw new Error(v("name"));const i=t.name;if(r=i,y.call(t,"weight")&&(o=t.weight)<=0)throw new Error(g(i));e=_(i),n=w(i);}return {path:e,id:n,weight:o,src:r};}function _(t){return i(t)?t:t.split(".");}function w(t){return i(t)?t.join("."):t;}var S={isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(t,e)=>t.score===e.score?t.idx<e.idx?-1:1:t.score<e.score?-1:1,includeMatches:!1,findAllMatches:!1,minMatchCharLength:1,location:0,threshold:.6,distance:100,...{useExtendedSearch:!1,getFn:function(t,e){let n=[],r=!1;const l=(t,e,h)=>{if(u(t))if(e[h]){const d=t[e[h]];if(!u(d))return;if(h===e.length-1&&(s(d)||a(d)||c(d)))n.push(o(d));else if(i(d)){r=!0;for(let t=0,n=d.length;t<n;t+=1)l(d[t],e,h+1);}else e.length&&l(d,e,h+1);}else n.push(t);};return l(t,s(e)?e.split("."):e,0),r?n:n[0];},ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1}};const O=/[^ ]+/g;class L{constructor({getFn:t=S.getFn,fieldNormWeight:e=S.fieldNormWeight}={}){this.norm=function(t=1,e=3){const n=new Map(),i=Math.pow(10,e);return {get(e){const r=e.match(O).length;if(n.has(r))return n.get(r);const o=1/Math.pow(r,.5*t),s=parseFloat(Math.round(o*i)/i);return n.set(r,s),s;},clear(){n.clear();}};}(e,3),this.getFn=t,this.isCreated=!1,this.setIndexRecords();}setSources(t=[]){this.docs=t;}setIndexRecords(t=[]){this.records=t;}setKeys(t=[]){this.keys=t,this._keysMap={},t.forEach((t,e)=>{this._keysMap[t.id]=e;});}create(){!this.isCreated&&this.docs.length&&(this.isCreated=!0,s(this.docs[0])?this.docs.forEach((t,e)=>{this._addString(t,e);}):this.docs.forEach((t,e)=>{this._addObject(t,e);}),this.norm.clear());}add(t){const e=this.size();s(t)?this._addString(t,e):this._addObject(t,e);}removeAt(t){this.records.splice(t,1);for(let e=t,n=this.size();e<n;e+=1)this.records[e].i-=1;}getValueForItemAtKeyId(t,e){return t[this._keysMap[e]];}size(){return this.records.length;}_addString(t,e){if(!u(t)||h(t))return;let n={v:t,i:e,n:this.norm.get(t)};this.records.push(n);}_addObject(t,e){let n={i:e,$:{}};this.keys.forEach((e,r)=>{let o=this.getFn(t,e.path);if(u(o))if(i(o)){let t=[];const e=[{nestedArrIndex:-1,value:o}];for(;e.length;){const {nestedArrIndex:n,value:r}=e.pop();if(u(r))if(s(r)&&!h(r)){let e={v:r,i:n,n:this.norm.get(r)};t.push(e);}else i(r)&&r.forEach((t,n)=>{e.push({nestedArrIndex:n,value:t});});}n.$[r]=t;}else{if(!h(o)){let t={v:o,n:this.norm.get(o)};n.$[r]=t;}}}),this.records.push(n);}toJSON(){return {keys:this.keys,records:this.records};}}
43function x(t,e,{getFn:n=S.getFn,fieldNormWeight:i=S.fieldNormWeight}={}){const r=new L({getFn:n,fieldNormWeight:i});return r.setKeys(t.map(E)),r.setSources(e),r.create(),r;}function T(t,{errors:e=0,currentLocation:n=0,expectedLocation:i=0,distance:r=S.distance,ignoreLocation:o=S.ignoreLocation}={}){const s=e/t.length;if(o)return s;const a=Math.abs(i-n);return r?s+a/r:a?1:s;}const C=32;function A(t,e,n,{location:i=S.location,distance:r=S.distance,threshold:o=S.threshold,findAllMatches:s=S.findAllMatches,minMatchCharLength:a=S.minMatchCharLength,includeMatches:c=S.includeMatches,ignoreLocation:l=S.ignoreLocation}={}){if(e.length>C)throw new Error(m(C));const u=e.length,h=t.length,d=Math.max(0,Math.min(i,h));let f=o,p=d;const v=a>1||c,g=v?Array(h):[];let y;for(;(y=t.indexOf(e,p))>-1;){let t=T(e,{currentLocation:y,expectedLocation:d,distance:r,ignoreLocation:l});if(f=Math.min(t,f),p=y+u,v){let t=0;for(;t<u;)g[y+t]=1,t+=1;}}p=-1;let b=[],E=1,_=u+h;const w=1<<u-1;for(let i=0;i<u;i+=1){let o=0,a=_;for(;o<a;)T(e,{errors:i,currentLocation:d+a,expectedLocation:d,distance:r,ignoreLocation:l})<=f?o=a:_=a,a=Math.floor((_-o)/2+o);_=a;let c=Math.max(1,d-a+1),m=s?h:Math.min(d+a,h)+u,y=Array(m+2);y[m+1]=(1<<i)-1;for(let o=m;o>=c;o-=1){let s=o-1,a=n[t.charAt(s)];if(v&&(g[s]=+!!a),y[o]=(y[o+1]<<1|1)&a,i&&(y[o]|=(b[o+1]|b[o])<<1|1|b[o+1]),y[o]&w&&(E=T(e,{errors:i,currentLocation:s,expectedLocation:d,distance:r,ignoreLocation:l}))<=f){if(f=E,(p=s)<=d)break;c=Math.max(1,2*d-p);}}if(T(e,{errors:i+1,currentLocation:d,expectedLocation:d,distance:r,ignoreLocation:l})>f)break;b=y;}const O={isMatch:p>=0,score:Math.max(.001,E)};if(v){const t=function(t=[],e=S.minMatchCharLength){let n=[],i=-1,r=-1,o=0;for(let s=t.length;o<s;o+=1){let s=t[o];s&&-1===i?i=o:s||-1===i||((r=o-1)-i+1>=e&&n.push([i,r]),i=-1);}return t[o-1]&&o-i>=e&&n.push([i,o-1]),n;}(g,a);t.length?c&&(O.indices=t):O.isMatch=!1;}return O;}function I(t){let e={};for(let n=0,i=t.length;n<i;n+=1){const r=t.charAt(n);e[r]=(e[r]||0)|1<<i-n-1;}return e;}class P{constructor(t,{location:e=S.location,threshold:n=S.threshold,distance:i=S.distance,includeMatches:r=S.includeMatches,findAllMatches:o=S.findAllMatches,minMatchCharLength:s=S.minMatchCharLength,isCaseSensitive:a=S.isCaseSensitive,ignoreLocation:c=S.ignoreLocation}={}){if(this.options={location:e,threshold:n,distance:i,includeMatches:r,findAllMatches:o,minMatchCharLength:s,isCaseSensitive:a,ignoreLocation:c},this.pattern=a?t:t.toLowerCase(),this.chunks=[],!this.pattern.length)return;const l=(t,e)=>{this.chunks.push({pattern:t,alphabet:I(t),startIndex:e});},u=this.pattern.length;if(u>C){let t=0;const e=u%C,n=u-e;for(;t<n;)l(this.pattern.substr(t,C),t),t+=C;if(e){const t=u-C;l(this.pattern.substr(t),t);}}else l(this.pattern,0);}searchIn(t){const {isCaseSensitive:e,includeMatches:n}=this.options;if(e||(t=t.toLowerCase()),this.pattern===t){let e={isMatch:!0,score:0};return n&&(e.indices=[[0,t.length-1]]),e;}const {location:i,distance:r,threshold:o,findAllMatches:s,minMatchCharLength:a,ignoreLocation:c}=this.options;let l=[],u=0,h=!1;this.chunks.forEach(({pattern:e,alphabet:d,startIndex:f})=>{const {isMatch:p,score:m,indices:v}=A(t,e,d,{location:i+f,distance:r,threshold:o,findAllMatches:s,minMatchCharLength:a,includeMatches:n,ignoreLocation:c});p&&(h=!0),u+=m,p&&v&&(l=[...l,...v]);});let d={isMatch:h,score:h?u/this.chunks.length:1};return h&&n&&(d.indices=l),d;}}class j{constructor(t){this.pattern=t;}static isMultiMatch(t){return k(t,this.multiRegex);}static isSingleMatch(t){return k(t,this.singleRegex);}search(){}}function k(t,e){const n=t.match(e);return n?n[1]:null;}class M extends j{constructor(t,{location:e=S.location,threshold:n=S.threshold,distance:i=S.distance,includeMatches:r=S.includeMatches,findAllMatches:o=S.findAllMatches,minMatchCharLength:s=S.minMatchCharLength,isCaseSensitive:a=S.isCaseSensitive,ignoreLocation:c=S.ignoreLocation}={}){super(t),this._bitapSearch=new P(t,{location:e,threshold:n,distance:i,includeMatches:r,findAllMatches:o,minMatchCharLength:s,isCaseSensitive:a,ignoreLocation:c});}static get type(){return "fuzzy";}static get multiRegex(){return /^"(.*)"$/;}static get singleRegex(){return /^(.*)$/;}search(t){return this._bitapSearch.searchIn(t);}}class D extends j{constructor(t){super(t);}static get type(){return "include";}static get multiRegex(){return /^'"(.*)"$/;}static get singleRegex(){return /^'(.*)$/;}search(t){let e,n=0;const i=[],r=this.pattern.length;for(;(e=t.indexOf(this.pattern,n))>-1;)n=e+r,i.push([e,n-1]);const o=!!i.length;return {isMatch:o,score:o?0:1,indices:i};}}
43const $=[class extends j{constructor(t){super(t);}static get type(){return "exact";}static get multiRegex(){return /^="(.*)"$/;}static get singleRegex(){return /^=(.*)$/;}search(t){const e=t===this.pattern;return {isMatch:e,score:e?0:1,indices:[0,this.pattern.length-1]};}},D,class extends j{constructor(t){super(t);}static get type(){return "prefix-exact";}static get multiRegex(){return /^\^"(.*)"$/;}static get singleRegex(){return /^\^(.*)$/;}search(t){const e=t.startsWith(this.pattern);return {isMatch:e,score:e?0:1,indices:[0,this.pattern.length-1]};}},class extends j{constructor(t){super(t);}static get type(){return "inverse-prefix-exact";}static get multiRegex(){return /^!\^"(.*)"$/;}static get singleRegex(){return /^!\^(.*)$/;}search(t){const e=!t.startsWith(this.pattern);return {isMatch:e,score:e?0:1,indices:[0,t.length-1]};}},class extends j{constructor(t){super(t);}static get type(){return "inverse-suffix-exact";}static get multiRegex(){return /^!"(.*)"\$$/;}static get singleRegex(){return /^!(.*)\$$/;}search(t){const e=!t.endsWith(this.pattern);return {isMatch:e,score:e?0:1,indices:[0,t.length-1]};}},class extends j{constructor(t){super(t);}static get type(){return "suffix-exact";}static get multiRegex(){return /^"(.*)"\$$/;}static get singleRegex(){return /^(.*)\$$/;}search(t){const e=t.endsWith(this.pattern);return {isMatch:e,score:e?0:1,indices:[t.length-this.pattern.length,t.length-1]};}},class extends j{constructor(t){super(t);}static get type(){return "inverse-exact";}static get multiRegex(){return /^!"(.*)"$/;}static get singleRegex(){return /^!(.*)$/;}search(t){const e=-1===t.indexOf(this.pattern);return {isMatch:e,score:e?0:1,indices:[0,t.length-1]};}},M],N=$.length,R=/ +(?=([^\"]*\"[^\"]*\")*[^\"]*$)/,B="|";const F=new Set([M.type,D.type]);class q{constructor(t,{isCaseSensitive:e=S.isCaseSensitive,includeMatches:n=S.includeMatches,minMatchCharLength:i=S.minMatchCharLength,ignoreLocation:r=S.ignoreLocation,findAllMatches:o=S.findAllMatches,location:s=S.location,threshold:a=S.threshold,distance:c=S.distance}={}){this.query=null,this.options={isCaseSensitive:e,includeMatches:n,minMatchCharLength:i,findAllMatches:o,ignoreLocation:r,location:s,threshold:a,distance:c},this.pattern=e?t:t.toLowerCase(),this.query=function(t,e={}){return t.split(B).map((t)=>{let n=t.trim().split(R).filter((t)=>t&&!!t.trim()),i=[];for(let t=0,r=n.length;t<r;t+=1){const r=n[t];let o=!1,s=-1;for(;!o&&++s<N;){const t=$[s];let n=t.isMultiMatch(r);n&&(i.push(new t(n,e)),o=!0);}if(!o)for(s=-1;++s<N;){const t=$[s];let n=t.isSingleMatch(r);if(n){i.push(new t(n,e));break;}}}return i;});}(this.pattern,this.options);}static condition(t,e){return e.useExtendedSearch;}searchIn(t){const e=this.query;if(!e)return {isMatch:!1,score:1};const {includeMatches:n,isCaseSensitive:i}=this.options;t=i?t:t.toLowerCase();let r=0,o=[],s=0;for(let i=0,a=e.length;i<a;i+=1){const a=e[i];o.length=0,r=0;for(let e=0,i=a.length;e<i;e+=1){const i=a[e],{isMatch:c,indices:l,score:u}=i.search(t);if(!c){s=0,r=0,o.length=0;break;}if(r+=1,s+=u,n){const t=i.constructor.type;F.has(t)?o=[...o,...l]:o.push(l);}}if(r){let t={isMatch:!0,score:s/r};return n&&(t.indices=o),t;}}return {isMatch:!1,score:1};}}const H=[];function U(t,e){for(let n=0,i=H.length;n<i;n+=1){let i=H[n];if(i.condition(t,e))return new i(t,e);}return new P(t,e);}const W={AND:"$and",OR:"$or"},z={PATH:"$path",PATTERN:"$val"},Y=(t)=>!(!t[W.AND]&&!t[W.OR]),V=(t)=>!!t[z.PATH],K=(t)=>!i(t)&&l(t)&&!Y(t),G=(t)=>({[W.AND]:Object.keys(t).map((e)=>({[e]:t[e]}))});function X(t,e,{auto:n=!0}={}){const r=(t)=>{let o=Object.keys(t);const a=V(t);if(!a&&o.length>1&&!Y(t))return r(G(t));if(K(t)){const i=a?t[z.PATH]:o[0],r=a?t[z.PATTERN]:t[i];if(!s(r))throw new Error(p(i));const c={keyId:w(i),pattern:r};return n&&(c.searcher=U(r,e)),c;}let c={children:[],operator:o[0]};return o.forEach((e)=>{const n=t[e];i(n)&&n.forEach((t)=>
43{c.children.push(r(t));});}),c;};return Y(t)||(t=G(t)),r(t);}function Q(t,e){const n=t.matches;e.matches=[],u(n)&&n.forEach((t)=>{if(!u(t.indices)||!t.indices.length)return;const {indices:n,value:i}=t;let r={indices:n,value:i};t.key&&(r.key=t.key.src),t.idx>-1&&(r.refIndex=t.idx),e.matches.push(r);});}function Z(t,e){e.score=t.score;}class J{constructor(t,e={},n){this.options={...S,...e},this.options.useExtendedSearch,this._keyStore=new b(this.options.keys),this.setCollection(t,n);}setCollection(t,e){if(this._docs=t,e&&!(e instanceof L))throw new Error(f);this._myIndex=e||x(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight});}add(t){u(t)&&(this._docs.push(t),this._myIndex.add(t));}remove(t=(()=>!1)){const e=[];for(let n=0,i=this._docs.length;n<i;n+=1){const r=this._docs[n];t(r,n)&&(this.removeAt(n),n-=1,i-=1,e.push(r));}return e;}removeAt(t){this._docs.splice(t,1),this._myIndex.removeAt(t);}getIndex(){return this._myIndex;}search(t,{limit:e=-1}={}){const {includeMatches:n,includeScore:i,shouldSort:r,sortFn:o,ignoreFieldNorm:c}=this.options;let l=s(t)?s(this._docs[0])?this._searchStringList(t):this._searchObjectList(t):this._searchLogical(t);return function(t,{ignoreFieldNorm:e=S.ignoreFieldNorm}){t.forEach((t)=>{let n=1;t.matches.forEach(({key:t,norm:i,score:r})=>{const o=t?t.weight:null;n*=Math.pow(0===r&&o?Number.EPSILON:r,(o||1)*(e?1:i));}),t.score=n;});}(l,{ignoreFieldNorm:c}),r&&l.sort(o),a(e)&&e>-1&&(l=l.slice(0,e)),function(t,e,{includeMatches:n=S.includeMatches,includeScore:i=S.includeScore}={}){const r=[];return n&&r.push(Q),i&&r.push(Z),t.map((t)=>{const {idx:n}=t,i={item:e[n],refIndex:n};return r.length&&r.forEach((e)=>{e(t,i);}),i;});}(l,this._docs,{includeMatches:n,includeScore:i});}_searchStringList(t){const e=U(t,this.options),{records:n}=this._myIndex,i=[];return n.forEach(({v:t,i:n,n:r})=>{if(!u(t))return;const {isMatch:o,score:s,indices:a}=e.searchIn(t);o&&i.push({item:t,idx:n,matches:[{score:s,value:t,norm:r,indices:a}]});}),i;}_searchLogical(t){const e=X(t,this.options),n=(t,e,i)=>{if(!t.children){const {keyId:n,searcher:r}=t,o=this._findMatches({key:this._keyStore.get(n),value:this._myIndex.getValueForItemAtKeyId(e,n),searcher:r});return o&&o.length?[{idx:i,item:e,matches:o}]:[];}const r=[];for(let o=0,s=t.children.length;o<s;o+=1){const s=t.children[o],a=n(s,e,i);if(a.length)r.push(...a);else{if(t.operator===W.AND)return [];}}return r;},i=this._myIndex.records,r={},o=[];return i.forEach(({$:t,i})=>{if(u(t)){let s=n(e,t,i);s.length&&(r[i]||(r[i]={idx:i,item:t,matches:[]},o.push(r[i])),s.forEach(({matches:t})=>{r[i].matches.push(...t);}));}}),o;}_searchObjectList(t){const e=U(t,this.options),{keys:n,records:i}=this._myIndex,r=[];return i.forEach(({$:t,i})=>{if(!u(t))return;let o=[];n.forEach((n,i)=>{o.push(...this._findMatches({key:n,value:t[i],searcher:e}));}),o.length&&r.push({idx:i,item:t,matches:o});}),r;}_findMatches({key:t,value:e,searcher:n}){if(!u(e))return [];let r=[];if(i(e))e.forEach(({v:e,i,n:o})=>{if(!u(e))return;const {isMatch:s,score:a,indices:c}=n.searchIn(e);s&&r.push({score:a,key:t,value:e,idx:i,norm:o,indices:c});});else{const {v:i,n:o}=e,{isMatch:s,score:a,indices:c}=n.searchIn(i);s&&r.push({score:a,key:t,value:i,norm:o,indices:c});}return r;}}J.version="6.5.3",J.createIndex=x,J.parseIndex=function(t,{getFn:e=S.getFn,fieldNormWeight:n=S.fieldNormWeight}={}){const {keys:i,records:r}=t,o=new L({getFn:e,fieldNormWeight:n});return o.setKeys(i),o.setIndexRecords(r),o;},J.config=S,J.parseQuery=X,function(...t){H.push(...t);}(q);},857:function(t,e,n){function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t;}function r(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable;})),n.push.apply(n,i);}return n;}function o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?r(Object(n),!0).forEach(function(e){i(t,e,n[e]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEac
43h(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e));});}return t;}function s(t){return "Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. ";}n.r(e),n.d(e,{__DO_NOT_USE__ActionTypes:function(){return l;},applyMiddleware:function(){return v;},bindActionCreators:function(){return p;},combineReducers:function(){return d;},compose:function(){return m;},createStore:function(){return h;}});var a="function"==typeof Symbol&&Symbol.observable||"@@observable",c=function(){return Math.random().toString(36).substring(7).split("").join(".");},l={INIT:"@@redux/INIT"+c(),REPLACE:"@@redux/REPLACE"+c(),PROBE_UNKNOWN_ACTION:function(){return "@@redux/PROBE_UNKNOWN_ACTION"+c();}};function u(t){if("object"!=typeof t||null===t)return !1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e;}function h(t,e,n){var i;if("function"==typeof e&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(s(0));if("function"==typeof e&&void 0===n&&(n=e,e=void 0),void 0!==n){if("function"!=typeof n)throw new Error(s(1));return n(h)(t,e);}if("function"!=typeof t)throw new Error(s(2));var r=t,o=e,c=[],d=c,f=!1;function p(){d===c&&(d=c.slice());}function m(){if(f)throw new Error(s(3));return o;}function v(t){if("function"!=typeof t)throw new Error(s(4));if(f)throw new Error(s(5));var e=!0;return p(),d.push(t),function(){if(e){if(f)throw new Error(s(6));e=!1,p();var n=d.indexOf(t);d.splice(n,1),c=null;}};}function g(t){if(!u(t))throw new Error(s(7));if(void 0===t.type)throw new Error(s(8));if(f)throw new Error(s(9));try{f=!0,o=r(o,t);}finally{f=!1;}for(var e=c=d,n=0;n<e.length;n++)(0,e[n])();return t;}return g({type:l.INIT}),(i={dispatch:g,subscribe:v,getState:m,replaceReducer:function(t){if("function"!=typeof t)throw new Error(s(10));r=t,g({type:l.REPLACE});}})[a]=function(){var t,e=v;return (t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(s(11));function n(){t.next&&t.next(m());}return n(),{unsubscribe:e(n)};}})[a]=function(){return this;},t;},i;}function d(t){for(var e=Object.keys(t),n={},i=0;i<e.length;i++){var r=e[i];0,"function"==typeof t[r]&&(n[r]=t[r]);}var o,a=Object.keys(n);try{!function(t){Object.keys(t).forEach(function(e){var n=t[e];if(void 0===n(void 0,{type:l.INIT}))throw new Error(s(12));if(void 0===n(void 0,{type:l.PROBE_UNKNOWN_ACTION()}))throw new Error(s(13));});}(n);}catch(t){o=t;}return function(t,e){if(void 0===t&&(t={}),o)throw o;for(var i=!1,r={},c=0;c<a.length;c++){var l=a[c],u=n[l],h=t[l],d=u(h,e);if(void 0===d){e&&e.type;throw new Error(s(14));}r[l]=d,i=i||d!==h;}return (i=i||a.length!==Object.keys(t).length)?r:t;};}function f(t,e){return function(){return e(t.apply(this,arguments));};}function p(t,e){if("function"==typeof t)return f(t,e);if("object"!=typeof t||null===t)throw new Error(s(16));var n={};for(var i in t){var r=t[i];"function"==typeof r&&(n[i]=f(r,e));}return n;}function m(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return 0===e.length?function(t){return t;}:1===e.length?e[0]:e.reduce(function(t,e){return function(){return t(e.apply(void 0,arguments));};});}function v(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t){return function(){var n=t.apply(void 0,arguments),i=function(){throw new Error(s(15));},r={getState:n.getState,dispatch:function(){return i.apply(void 0,arguments);}},a=e.map(function(t){return t(r);});return i=m.apply(void 0,a)(n.dispatch),o(o({},n),{},{dispatch:i});};};}}},e={};function n(i){var r=e[i];if(void 0!==r)return r.exports;var o=e[i]={exports:{}};return t[i].call(o.exports,o,o.exports,n),o.exports;}n.n=function(t){var e=t&&t.__esModule?function(){return t.default;}:function(){return t;};return n.d(e,{a:e}),e;},n.d=function(t,e){for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]});},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e);},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}
43),Object.defineProperty(t,"__esModule",{value:!0});};var i={};return function(){var t=n(373),e=n.n(t);n(187),n(883),n(789),n(686);i.default=e();}(),i=i.default;}();},t.exports=i();},function(t,e,n){t.exports=function(){"use strict";function t(){return "undefined"!=typeof window;}function e(t){return t===Object(t)?t:{down:t,up:t};}function n(t,i){i=i||{},Object.assign(this,n.options,i),this.classes=Object.assign({},n.options.classes,i.classes),this.elem=t,this.tolerance=e(this.tolerance),this.offset=e(this.offset),this.initialised=!1,this.frozen=!1;}return n.prototype={constructor:n,init:function(){return n.cutsTheMustard&&!this.initialised&&(this.addClass("initial"),this.initialised=!0,setTimeout(function(t){t.scrollTracker=function(t,e,n){var i,r=function(){var t=!1;try{var e={get passive(){t=!0;}};window.addEventListener("test",e,e),window.removeEventListener("test",e,e);}catch(e){t=!1;}return t;}(),o=!1,s=function(t){return (o=t)&&o.document&&function(t){return 9===t.nodeType;}(o.document)?(n=(e=t).document,i=n.body,r=n.documentElement,{scrollHeight:function(){return Math.max(i.scrollHeight,r.scrollHeight,i.offsetHeight,r.offsetHeight,i.clientHeight,r.clientHeight);},height:function(){return e.innerHeight||r.clientHeight||i.clientHeight;},scrollY:function(){return void 0!==e.pageYOffset?e.pageYOffset:(r||i.parentNode||i).scrollTop;}}):function(t){return {scrollHeight:function(){return Math.max(t.scrollHeight,t.offsetHeight,t.clientHeight);},height:function(){return Math.max(t.offsetHeight,t.clientHeight);},scrollY:function(){return t.scrollTop;}};}(t);var e,n,i,r,o;}(t),a=s.scrollY(),c={};function l(){var t=Math.round(s.scrollY()),i=s.height(),r=s.scrollHeight();c.scrollY=t,c.lastScrollY=a,c.direction=t>a?"down":"up",c.distance=Math.abs(t-a),c.isOutOfBounds=t<0||t+i>r,c.top=t<=e.offset[c.direction],c.bottom=t+i>=r,c.toleranceExceeded=c.distance>e.tolerance[c.direction],n(c),a=t,o=!1;}function u(){o||(o=!0,i=requestAnimationFrame(l));}var h=!!r&&{passive:!0,capture:!1};return t.addEventListener("scroll",u,h),l(),{destroy:function(){cancelAnimationFrame(i),t.removeEventListener("scroll",u,h);}};}(t.scroller,{offset:t.offset,tolerance:t.tolerance},t.update.bind(t));},100,this)),this;},destroy:function(){this.initialised=!1,Object.keys(this.classes).forEach(this.removeClass,this),this.scrollTracker.destroy();},unpin:function(){!this.hasClass("pinned")&&this.hasClass("unpinned")||(this.addClass("unpinned"),this.removeClass("pinned"),this.onUnpin&&this.onUnpin.call(this));},pin:function(){this.hasClass("unpinned")&&(this.addClass("pinned"),this.removeClass("unpinned"),this.onPin&&this.onPin.call(this));},freeze:function(){this.frozen=!0,this.addClass("frozen");},unfreeze:function(){this.frozen=!1,this.removeClass("frozen");},top:function(){this.hasClass("top")||(this.addClass("top"),this.removeClass("notTop"),this.onTop&&this.onTop.call(this));},notTop:function(){this.hasClass("notTop")||(this.addClass("notTop"),this.removeClass("top"),this.onNotTop&&this.onNotTop.call(this));},bottom:function(){this.hasClass("bottom")||(this.addClass("bottom"),this.removeClass("notBottom"),this.onBottom&&this.onBottom.call(this));},notBottom:function(){this.hasClass("notBottom")||(this.addClass("notBottom"),this.removeClass("bottom"),this.onNotBottom&&this.onNotBottom.call(this));},shouldUnpin:function(t){return "down"===t.direction&&!t.top&&t.toleranceExceeded;},shouldPin:function(t){return "up"===t.direction&&t.toleranceExceeded||t.top;},addClass:function(t){this.elem.classList.add.apply(this.elem.classList,this.classes[t].split(" "));},removeClass:function(t){this.elem.classList.remove.apply(this.elem.classList,this.classes[t].split(" "));},hasClass:function(t){return this.classes[t].split(" ").every(function(t){return this.classList.contains(t);},this.elem);},update:function(t){t.isOutOfBounds||!0!==this.frozen&&(t.top?this.top():this.notTop(),t.bottom?this.bottom():this.notBottom(),this.shouldUnpin(t)?this.unpin():this.shouldPin(t)&&this.pin());}},n.options={tolerance:{up:0,down:0},offset:0,scroller:t()?window:null,classes:{frozen:"headroom--frozen",pinned:"headroom--pinned",unpinned:"headroom--unpinned",top:"headroom--top",notTop:"headroom--not-top",bottom:"headroom--bottom",notBottom:"headroom--not-bottom",initial:"headroom"}},n.cutsTheMustard=!!(t()&&function(){}.bind&&"classList" in document.documentElement&&Object.assign&&Object.keys&&requestAnimationFrame),n;}();},function(t,e,n){var i,r,o;window,r=[n(185),n(72)],void 0===(o="function"==typeof (i=function(t,e){"use strict";var n=t.create("masonry");n.compatOptions.fitWidth="isFitWidth";var i=n.prototype;
43return i._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(var t=0;t<this.cols;t++)this.colYs.push(0);this.maxY=0,this.horizontalColIndex=0;},i.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var t=this.items[0],n=t&&t.element;this.columnWidth=n&&e(n).outerWidth||this.containerWidth;}var i=this.columnWidth+=this.gutter,r=this.containerWidth+this.gutter,o=r/i,s=i-r%i;o=Math[s&&s<1?"round":"floor"](o),this.cols=Math.max(o,1);},i.getContainerWidth=function(){var t=this._getOption("fitWidth")?this.element.parentNode:this.element,n=e(t);this.containerWidth=n&&n.innerWidth;},i._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth%this.columnWidth,n=Math[e&&e<1?"round":"ceil"](t.size.outerWidth/this.columnWidth);n=Math.min(n,this.cols);for(var i=this[this.options.horizontalOrder?"_getHorizontalColPosition":"_getTopColPosition"](n,t),r={x:this.columnWidth*i.col,y:i.y},o=i.y+t.size.outerHeight,s=n+i.col,a=i.col;a<s;a++)this.colYs[a]=o;return r;},i._getTopColPosition=function(t){var e=this._getTopColGroup(t),n=Math.min.apply(Math,e);return {col:e.indexOf(n),y:n};},i._getTopColGroup=function(t){if(t<2)return this.colYs;for(var e=[],n=this.cols+1-t,i=0;i<n;i++)e[i]=this._getColGroupY(i,t);return e;},i._getColGroupY=function(t,e){if(e<2)return this.colYs[t];var n=this.colYs.slice(t,t+e);return Math.max.apply(Math,n);},i._getHorizontalColPosition=function(t,e){var n=this.horizontalColIndex%this.cols;n=t>1&&n+t>this.cols?0:n;var i=e.size.outerWidth&&e.size.outerHeight;return this.horizontalColIndex=i?n+t:this.horizontalColIndex,{col:n,y:this._getColGroupY(n,t)};},i._manageStamp=function(t){var n=e(t),i=this._getElementOffset(t),r=this._getOption("originLeft")?i.left:i.right,o=r+n.outerWidth,s=Math.floor(r/this.columnWidth);s=Math.max(0,s);var a=Math.floor(o/this.columnWidth);a-=o%this.columnWidth?0:1,a=Math.min(this.cols-1,a);for(var c=(this._getOption("originTop")?i.top:i.bottom)+n.outerHeight,l=s;l<=a;l++)this.colYs[l]=Math.max(c,this.colYs[l]);},i._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this._getOption("fitWidth")&&(t.width=this._getContainerFitWidth()),t;},i._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return (this.cols-t)*this.columnWidth-this.gutter;},i.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!=this.containerWidth;},n;})?i.apply(e,r):i)||(t.exports=o);},,,,,function(t,e,n){"use strict";var i=n(1),r=n(7),o=n(0),s=n(9),a=n(8),c=n(10).f,l=n(78),u=o.Symbol;if(r&&"function"==typeof u&&(!("description" in u.prototype)||void 0!==u().description)){var h={},d=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof d?new u(t):void 0===t?u():u(t);return ""===t&&(h[e]=!0),e;};l(d,u);var f=d.prototype=u.prototype;f.constructor=d;var p=f.toString,m="Symbol(test)"==String(u("test")),v=/^Symbol\((.*)\)[^)]+$/;c(f,"description",{configurable:!0,get:function(){var t=a(this)?this.valueOf():this,e=p.call(t);if(s(h,t))return "";var n=m?e.slice(7,-1):e.replace(v,"$1");return ""===n?void 0:n;}}),i({global:!0,forced:!0},{Symbol:d});}},function(t,e,n){var i=n(0),r=n(77),o=i.WeakMap;t.exports="function"==typeof o&&/native code/.test(r.call(o));},function(t,e,n){var i=n(25),r=n(35),o=n(80),s=n(5);t.exports=i("Reflect","ownKeys")||function(t){var e=r.f(s(t)),n=o.f;return n?e.concat(n(t)):e;};},function(t,e,n){var i=n(32),r=n(6),o=n(49),s=function(t){return function(e,n,s){var a,c=i(e),l=r(c.length),u=o(s,l);if(t&&n!=n){for(;l>u;)if((a=c[u++])!=a)return !0;}else{for(;l>u;u++)if((t||u in c)&&c[u]===n)return t||u||0;}return !t&&-1;};};t.exports={includes:s(!0),indexOf:s(!1)};},function(t,e,n){n(26)("asyncIterator");},function(t,e,n){e.f=n(3);},function(t,e,n){var i=n(4);t.exports=!!Object.getOwnPropertySymbols&&!i(function(){return !String(Symbol());});},function(t,e,n){n(26)("match");},function(t,e,n){n(26)("replace");},function(t,e,n){n(26)("search");},function(t,e,n){n(26)("split");},function(t,e,n){"use strict";var i=n(1),r=n(81),o=n(17),s=n(6),a=n(15),c=n(53);i({target:"Array",proto:!0},{flat:function(){var t=arguments.length?arguments[0]:void 0,e=o(this),n=s(e.length),i=c(e,0);return i.length=r(i,e,e,n,0,void 0===t?1:a(t)),i;}});},function(t,e,n){"use strict";var i=n(1),r=n(81),o=n(17),s=n(6),a=n(27),c=n(53);i({target:"Array",proto:!0},{flatMap:function(t){var e,n=o(this),i=s(n.length);return a(t),(e=c(n,0)).length=r(e,n,n,i,0,1,t,arguments.length>1?arguments[1]:void 0),e;}});},function(t,e,n){var i=n(4);t.exports=!i(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t())!==t.prototype;});},function(t,e,n){var i=n(8);t.exports=function(t){if(!i(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t;};},function(t,e,n){"use strict";var i=n(1),r=n(52),o=[].reverse,s=[1,2];i({target:"Array",proto:!0,forced:String(s)===String(s.reverse())},{reverse:function(){return r(this)&&(this.length=this.length),o.call(this);}});},function(t,e,n){n(55)("flat");},function(t,e,n){n(55)("flatMap");},function(t,e,n){"use strict";var i=n(1),r=n(4),o=n(88),s=n(5),a=n(49),c=n(6),l=n(37),u=o.ArrayBuffer,h=o.DataView,d=u.prototype.slice;i({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:r(function(){return !ne
43w u(2).slice(1,void 0).byteLength;})},{slice:function(t,e){if(void 0!==d&&void 0===e)return d.call(s(this),t);for(var n=s(this).byteLength,i=a(t,n),r=a(void 0===e?n:e,n),o=new (l(this,u))(c(r-i)),f=new h(this),p=new h(o),m=0;i<r;)p.setUint8(m++,f.getUint8(i++));return o;}});},function(t,e,n){"use strict";var i=n(17),r=n(49),o=n(6);t.exports=function(t){for(var e=i(this),n=o(e.length),s=arguments.length,a=r(s>1?arguments[1]:void 0,n),c=s>2?arguments[2]:void 0,l=void 0===c?n:r(c,n);l>a;)e[a++]=t;return e;};},function(t,e,n){"use strict";var i=n(1),r=n(15),o=n(131),s=n(132),a=n(4),c=1..toFixed,l=Math.floor,u=function(t,e,n){return 0===e?n:e%2==1?u(t,e-1,n*t):u(t*t,e/2,n);};i({target:"Number",proto:!0,forced:c&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!a(function(){c.call({});})},{toFixed:function(t){var e,n,i,a,c=o(this),h=r(t),d=[0,0,0,0,0,0],f="",p="0",m=function(t,e){for(var n=-1,i=e;++n<6;)i+=t*d[n],d[n]=i%1e7,i=l(i/1e7);},v=function(t){for(var e=6,n=0;--e>=0;)n+=d[e],d[e]=l(n/t),n=n%t*1e7;},g=function(){for(var t=6,e="";--t>=0;)if(""!==e||0===t||0!==d[t]){var n=String(d[t]);e=""===e?n:e+s.call("0",7-n.length)+n;}return e;};if(h<0||h>20)throw RangeError("Incorrect fraction digits");if(c!=c)return "NaN";if(c<=-1e21||c>=1e21)return String(c);if(c<0&&(f="-",c=-c),c>1e-21)if(n=(e=function(t){for(var e=0,n=t;n>=4096;)e+=12,n/=4096;for(;n>=2;)e+=1,n/=2;return e;}(c*u(2,69,1))-69)<0?c*u(2,-e,1):c/u(2,e,1),n*=4503599627370496,(e=52-e)>0){for(m(0,n),i=h;i>=7;)m(1e7,0),i-=7;for(m(u(10,i,1),0),i=e-1;i>=23;)v(1<<23),i-=23;v(1<<i),m(1,1),v(2),p=g();}else m(0,n),m(1<<-e,0),p=g()+s.call("0",h);return p=h>0?f+((a=p.length)<=h?"0."+s.call("0",h-a)+p:p.slice(0,a-h)+"."+p.slice(a-h)):f+p;}});},function(t,e,n){var i=n(14);t.exports=function(t){if("number"!=typeof t&&"Number"!=i(t))throw TypeError("Incorrect invocation");return +t;};},function(t,e,n){"use strict";var i=n(15),r=n(12);t.exports="".repeat||function(t){var e=String(r(this)),n="",o=i(t);if(o<0||o==1/0)throw RangeError("Wrong number of repetitions");for(;o>0;(o>>>=1)&&(e+=e))1&o&&(n+=e);return n;};},function(t,e,n){var i=n(1),r=n(90),o=n(92);i({target:"Object",stat:!0},{fromEntries:function(t){var e={};return r(t,function(t,n){o(e,t,n);},void 0,!0),e;}});},function(t,e,n){"use strict";var i,r,o,s=n(1),a=n(24),c=n(0),l=n(48),u=n(59),h=n(22),d=n(61),f=n(8),p=n(27),m=n(29),v=n(14),g=n(90),y=n(93),b=n(37),E=n(62).set,_=n(94),w=n(96),S=n(135),O=n(97),L=n(136),x=n(95),T=n(19),C=n(51),A=n(3)("species"),I="Promise",P=T.get,j=T.set,k=T.getterFor(I),M=c.Promise,D=c.TypeError,$=c.document,N=c.process,R=c.fetch,B=N&&N.versions,F=B&&B.v8||"",q=O.f,H=q,U="process"==v(N),W=!!($&&$.createEvent&&c.dispatchEvent),z=C(I,function(){var t=M.resolve(1),e=function(){},n=(t.constructor={})[A]=function(t){t(e,e);};return !((U||"function"==typeof PromiseRejectionEvent)&&(!a||t.finally)&&t.then(e) instanceof n&&0!==F.indexOf("6.6")&&-1===x.indexOf("Chrome/66"));}),Y=z||!y(function(t){M.all(t).catch(function(){});}),V=function(t){var e;return !(!f(t)||"function"!=typeof (e=t.then))&&e;},K=function(t,e,n){if(!e.notified){e.notified=!0;var i=e.reactions;_(function(){for(var r=e.value,o=1==e.state,s=0;i.length>s;){var a,c,l,u=i[s++],h=o?u.ok:u.fail,d=u.resolve,f=u.reject,p=u.domain;try{h?(o||(2===e.rejection&&Z(t,e),e.rejection=1),!0===h?a=r:(p&&p.enter(),a=h(r),p&&(p.exit(),l=!0)),a===u.promise?f(D("Promise-chain cycle")):(c=V(a))?c.call(a,d,f):d(a)):f(r);}catch(t){p&&!l&&p.exit(),f(t);}}e.reactions=[],e.notified=!1,n&&!e.rejection&&X(t,e);});}},G=function(t,e,n){var i,r;W?((i=$.createEvent("Event")).promise=e,i.reason=n,i.initEvent(t,!1,!0),c.dispatchEvent(i)):i={promise:e,reason:n},(r=c["on"+t])?r(i):"unhandledrejection"===t&&S("Unhandled promise rejection",n);},X=function(t,e){E.call(c,function(){var n,i=e.value;if(Q(e)&&(n=L(function(){U?N.emit("unhandledRejection",i,t):G("unhandledrejection",t,i);}),e.rejection=U||Q(e)?2:1,n.error))throw n.value;});},Q=function(t){return 1!==t.rejection&&!t.parent;},Z=function(t,e){E.call(c,function(){U?N.emit("rejectionHandled",t):G("rejectionhandled",t,e.value);});},J=function(t,e,n,i){return function(r){t(e,n,r,i);};},tt=function(t,e,n,i){e.done||(e.done=!0,i&&(e=i),e.value=n,e.state=2,K(t,e,!0));},et=function(t,e,n,i){if(!e.done){e.done=!0,i&&(e=i);
43try{if(t===n)throw D("Promise can't be resolved itself");var r=V(n);r?_(function(){var i={done:!1};try{r.call(n,J(et,t,i,e),J(tt,t,i,e));}catch(n){tt(t,i,n,e);}}):(e.value=n,e.state=1,K(t,e,!1));}catch(n){tt(t,{done:!1},n,e);}}};z&&(M=function(t){m(this,M,I),p(t),i.call(this);var e=P(this);try{t(J(et,this,e),J(tt,this,e));}catch(t){tt(this,e,t);}},(i=function(t){j(this,{type:I,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0});}).prototype=u(M.prototype,{then:function(t,e){var n=k(this),i=q(b(this,M));return i.ok="function"!=typeof t||t,i.fail="function"==typeof e&&e,i.domain=U?N.domain:void 0,n.parent=!0,n.reactions.push(i),0!=n.state&&K(this,n,!1),i.promise;},catch:function(t){return this.then(void 0,t);}}),r=function(){var t=new i(),e=P(t);this.promise=t,this.resolve=J(et,t,e),this.reject=J(tt,t,e);},O.f=q=function(t){return t===M||t===o?new r(t):H(t);},a||"function"!=typeof R||s({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return w(M,R.apply(c,arguments));}})),s({global:!0,wrap:!0,forced:z},{Promise:M}),h(M,I,!1,!0),d(I),o=l.Promise,s({target:I,stat:!0,forced:z},{reject:function(t){var e=q(this);return e.reject.call(void 0,t),e.promise;}}),s({target:I,stat:!0,forced:a||z},{resolve:function(t){return w(a&&this===o?M:this,t);}}),s({target:I,stat:!0,forced:Y},{all:function(t){var e=this,n=q(e),i=n.resolve,r=n.reject,o=L(function(){var n=p(e.resolve),o=[],s=0,a=1;g(t,function(t){var c=s++,l=!1;o.push(void 0),a++,n.call(e,t).then(function(t){l||(l=!0,o[c]=t,--a||i(o));},r);}),--a||i(o);});return o.error&&r(o.value),n.promise;},race:function(t){var e=this,n=q(e),i=n.reject,r=L(function(){var r=p(e.resolve);g(t,function(t){r.call(e,t).then(n.resolve,i);});});return r.error&&i(r.value),n.promise;}});},function(t,e,n){var i=n(0);t.exports=function(t,e){var n=i.console;n&&n.error&&(1===arguments.length?n.error(t):n.error(t,e));};},function(t,e){t.exports=function(t){try{return {error:!1,value:t()};}catch(t){return {error:!0,value:t};}};},function(t,e,n){"use strict";var i=n(1),r=n(25),o=n(37),s=n(96);i({target:"Promise",proto:!0,real:!0},{finally:function(t){var e=o(this,r("Promise")),n="function"==typeof t;return this.then(n?function(n){return s(e,t()).then(function(){return n;});}:t,n?function(n){return s(e,t()).then(function(){throw n;});}:t);}});},function(t,e,n){var i=n(7),r=n(0),o=n(51),s=n(139),a=n(10).f,c=n(35).f,l=n(63),u=n(38),h=n(16),d=n(4),f=n(61),p=n(3)("match"),m=r.RegExp,v=m.prototype,g=/a/g,y=/a/g,b=new m(g)!==g;if(i&&o("RegExp",!b||d(function(){return y[p]=!1,m(g)!=g||m(y)==y||"/a/i"!=m(g,"i");}))){for(var E=function(t,e){var n=this instanceof E,i=l(t),r=void 0===e;return !n&&i&&t.constructor===E&&r?t:s(b?new m(i&&!r?t.source:t,e):m((i=t instanceof E)?t.source:t,i&&r?u.call(t):e),n?this:v,E);},_=function(t){t in E||a(E,t,{configurable:!0,get:function(){return m[t];},set:function(e){m[t]=e;}});},w=c(m),S=0;w.length>S;)_(w[S++]);v.constructor=E,E.prototype=v,h(r,"RegExp",E);}f("RegExp");},function(t,e,n){var i=n(8),r=n(36);t.exports=function(t,e,n){var o,s;return r&&"function"==typeof (o=e.constructor)&&o!==n&&i(s=o.prototype)&&s!==n.prototype&&r(t,s),t;};},function(t,e,n){var i=n(7),r=n(10),o=n(38);i&&"g"!=/./g.flags&&r.f(RegExp.prototype,"flags",{configurable:!0,get:o});},function(t,e,n){"use strict";var i=n(16),r=n(5),o=n(4),s=n(38),a=RegExp.prototype,c=a.toString,l=o(function(){return "/a/b"!=c.call({source:"a",flags:"b"});}),u="toString"!=c.name;(l||u)&&i(RegExp.prototype,"toString",function(){var t=r(this),e=String(t.source),n=t.flags;return "/"+e+"/"+String(void 0===n&&t instanceof RegExp&&!("flags" in a)?s.call(t):n);},{unsafe:!0});},function(t,e,n){"use strict";var i=n(1),r=n(6),o=n(64),s=n(12),a=n(65),c="".endsWith,l=Math.min;i({target:"String",proto:!0,forced:!a("endsWith")},{endsWith:function(t){var e=String(s(this));o(t);var n=arguments.length>1?arguments[1]:void 0,i=r(e.length),a=void 0===n?i:l(r(n),i),u=String(t);return c?c.call(e,u,a):e.slice(a-u.length,a)===u;}});},function(t,e,n){"use strict";var i=n(1),r=n(64),o=n(12);i({target:"String",proto:!0,forced:!n(65)("includes")},{includes:function(t){return !!~String(o(this)).indexOf(r(t),arguments.length>1?arguments[1]:void 0);}});},function(t,e,n){"use strict";var i=n(39),r=n(5),o=n(6),s=n(12),a=n(67),c=n(40);i("match",1,function(t,e,n){return [function(e){var n=s(this),i=null==e?void 0:e[t];return void 0!==i?i.call(e,n):new RegExp(e)[t](String(n));},function(t){var i=n(e,t,this);if(i.done)return i.value;var s=r(t),l=String(this);if(!s.global)return c(s,l);var u=s.unicode;s.lastIndex=0;for(var h,d=[],f=0;
43null!==(h=c(s,l));){var p=String(h[0]);d[f]=p,""===p&&(s.lastIndex=a(l,o(s.lastIndex),u)),f++;}return 0===f?null:d;}];});},function(t,e,n){"use strict";var i=n(39),r=n(5),o=n(17),s=n(6),a=n(15),c=n(12),l=n(67),u=n(40),h=Math.max,d=Math.min,f=Math.floor,p=/\$([$&'`]|\d\d?|<[^>]*>)/g,m=/\$([$&'`]|\d\d?)/g;i("replace",2,function(t,e,n){return [function(n,i){var r=c(this),o=null==n?void 0:n[t];return void 0!==o?o.call(n,r,i):e.call(String(r),n,i);},function(t,o){var c=n(e,t,this,o);if(c.done)return c.value;var f=r(t),p=String(this),m="function"==typeof o;m||(o=String(o));var v=f.global;if(v){var g=f.unicode;f.lastIndex=0;}for(var y=[];;){var b=u(f,p);if(null===b)break;if(y.push(b),!v)break;""===String(b[0])&&(f.lastIndex=l(p,s(f.lastIndex),g));}for(var E,_="",w=0,S=0;S<y.length;S++){b=y[S];for(var O=String(b[0]),L=h(d(a(b.index),p.length),0),x=[],T=1;T<b.length;T++)x.push(void 0===(E=b[T])?E:String(E));var C=b.groups;if(m){var A=[O].concat(x,L,p);void 0!==C&&A.push(C);var I=String(o.apply(void 0,A));}else I=i(O,p,L,x,C,o);L>=w&&(_+=p.slice(w,L)+I,w=L+O.length);}return _+p.slice(w);}];function i(t,n,i,r,s,a){var c=i+t.length,l=r.length,u=m;return void 0!==s&&(s=o(s),u=p),e.call(a,u,function(e,o){var a;switch(o.charAt(0)){case "$":return "$";case "&":return t;case "`":return n.slice(0,i);case "'":return n.slice(c);case "<":a=s[o.slice(1,-1)];break;default:var u=+o;if(0===u)return e;if(u>l){var h=f(u/10);return 0===h?e:h<=l?void 0===r[h-1]?o.charAt(1):r[h-1]+o.charAt(1):e;}a=r[u-1];}return void 0===a?"":a;});}});},function(t,e,n){"use strict";var i=n(39),r=n(5),o=n(12),s=n(147),a=n(40);i("search",1,function(t,e,n){return [function(e){var n=o(this),i=null==e?void 0:e[t];return void 0!==i?i.call(e,n):new RegExp(e)[t](String(n));},function(t){var i=n(e,t,this);if(i.done)return i.value;var o=r(t),c=String(this),l=o.lastIndex;s(l,0)||(o.lastIndex=0);var u=a(o,c);return s(o.lastIndex,l)||(o.lastIndex=l),null===u?-1:u.index;}];});},function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e;};},function(t,e,n){"use strict";var i=n(39),r=n(63),o=n(5),s=n(12),a=n(37),c=n(67),l=n(6),u=n(40),h=n(66),d=n(4),f=[].push,p=Math.min,m=!d(function(){return !RegExp(4294967295,"y");});i("split",2,function(t,e,n){var i;return i="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var i=String(s(this)),o=void 0===n?4294967295:n>>>0;if(0===o)return [];if(void 0===t)return [i];if(!r(t))return e.call(i,t,o);for(var a,c,l,u=[],d=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),p=0,m=new RegExp(t.source,d+"g");(a=h.call(m,i))&&!((c=m.lastIndex)>p&&(u.push(i.slice(p,a.index)),a.length>1&&a.index<i.length&&f.apply(u,a.slice(1)),l=a[0].length,p=c,u.length>=o));)m.lastIndex===a.index&&m.lastIndex++;return p===i.length?!l&&m.test("")||u.push(""):u.push(i.slice(p)),u.length>o?u.slice(0,o):u;}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:e.call(this,t,n);}:e,[function(e,n){var r=s(this),o=null==e?void 0:e[t];return void 0!==o?o.call(e,r,n):i.call(String(r),e,n);},function(t,r){var s=n(i,t,this,r,i!==e);if(s.done)return s.value;var h=o(t),d=String(this),f=a(h,RegExp),v=h.unicode,g=(h.ignoreCase?"i":"")+(h.multiline?"m":"")+(h.unicode?"u":"")+(m?"y":"g"),y=new f(m?h:"^(?:"+h.source+")",g),b=void 0===r?4294967295:r>>>0;if(0===b)return [];if(0===d.length)return null===u(y,d)?[d]:[];for(var E=0,_=0,w=[];_<d.length;){y.lastIndex=m?_:0;var S,O=u(y,m?d:d.slice(_));if(null===O||(S=p(l(y.lastIndex+(m?0:_)),d.length))===E)_=c(d,_,v);else{if(w.push(d.slice(E,_)),w.length===b)return w;for(var L=1;L<=O.length-1;L++)if(w.push(O[L]),w.length===b)return w;_=E=S;}}return w.push(d.slice(E)),w;}];},!m);},function(t,e,n){"use strict";var i=n(1),r=n(6),o=n(64),s=n(12),a=n(65),c="".startsWith,l=Math.min;i({target:"String",proto:!0,forced:!a("startsWith")},{startsWith:function(t){var e=String(s(this));o(t);var n=r(l(arguments.length>1?arguments[1]:void 0,e.length)),i=String(t);return c?c.call(e,i,n):e.slice(n,n+i.length)===i;}});},function(t,e,n){"use strict";var i=n(1),r=n(69).trim;i({target:"String",proto:!0,forced:n(70)("trim")},{trim:function(){return r(this);}});},function(t,e,n){"use strict";var i=n(1),r=n(69).end,o=n(70)("trimEnd"),s=o?function(){return r(this);}:"".trimEnd;i({target:"String",proto:!0,forced:o},{trimEnd:s,trimRight:s});},function(t,e,n){"use strict";var i=n(1),r=n(69).start,o=n(70)("trimStart"),s=o?function(){return r(this);}:"".trimStart;i({target:"String",proto:!0,forced:o},{trimStart:s,trimLeft:s});},function(t,e,n){n(18)("Float32",4,function(t){return function(e,n,i){return t(this,e,n,i);};});},function(t,e,n){var i=n(15);t.exports=function(t,e){var n=i(t);if(n<0||n%e)throw RangeError("Wrong offset");return n;};},function(t,e,n){var i=n(20),r=n(42),o=n(17),s=n(6),a=n(53),c=[].push,l=function(t){var e=1==t,n=2==t,l=3==t,u=4==t,h=6==t,d=5==t||h;return function(f,p,m,v){for(var g,y,b=o(f),E=r(b),_=i(p,m,3),w=s(E.length),S=0,O=v||a,L=e?O(f,w):n?O(f,0):void 0;w>S;
43S++)if((d||S in E)&&(y=_(g=E[S],S,b),t))if(e)L[S]=y;else if(y)switch(t){case 3:return !0;case 5:return g;case 6:return S;case 2:c.call(L,g);}else{if(u)return !1;}return h?-1:l||u?u:L;};};t.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6)};},function(t,e,n){n(18)("Float64",8,function(t){return function(e,n,i){return t(this,e,n,i);};});},function(t,e,n){n(18)("Int8",1,function(t){return function(e,n,i){return t(this,e,n,i);};});},function(t,e,n){n(18)("Int16",2,function(t){return function(e,n,i){return t(this,e,n,i);};});},function(t,e,n){n(18)("Int32",4,function(t){return function(e,n,i){return t(this,e,n,i);};});},function(t,e,n){n(18)("Uint8",1,function(t){return function(e,n,i){return t(this,e,n,i);};});},function(t,e,n){n(18)("Uint8",1,function(t){return function(e,n,i){return t(this,e,n,i);};},!0);},function(t,e,n){n(18)("Uint16",2,function(t){return function(e,n,i){return t(this,e,n,i);};});},function(t,e,n){n(18)("Uint32",4,function(t){return function(e,n,i){return t(this,e,n,i);};});},function(t,e,n){"use strict";var i=n(71),r=n(21),o=n(99);r.exportStatic("from",o,i);},function(t,e,n){"use strict";var i=n(21),r=n(71),o=i.aTypedArrayConstructor;i.exportStatic("of",function(){for(var t=0,e=arguments.length,n=new (o(this))(e);e>t;)n[t]=arguments[t++];return n;},r);},function(t,e,n){"use strict";var i=n(0),r=n(21),o=n(4),s=i.Int8Array,a=r.aTypedArray,c=[].toLocaleString,l=[].slice,u=!!s&&o(function(){c.call(new s(1));}),h=o(function(){return [1,2].toLocaleString()!=new s([1,2]).toLocaleString();})||!o(function(){s.prototype.toLocaleString.call([1,2]);});r.exportProto("toLocaleString",function(){return c.apply(u?l.call(a(this)):a(this),arguments);},h);},function(t,e,n){var i=n(0),r=n(168),o=n(54),s=n(13),a=n(3),c=a("iterator"),l=a("toStringTag"),u=o.values;for(var h in r){var d=i[h],f=d&&d.prototype;if(f){if(f[c]!==u)try{s(f,c,u);}catch(t){f[c]=u;}if(f[l]||s(f,l,h),r[h])for(var p in o)if(f[p]!==o[p])try{s(f,p,o[p]);}catch(t){f[p]=o[p];}}}},function(t,e){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0};},function(t,e,n){var i=n(0),r=n(62),o=!i.setImmediate||!i.clearImmediate;n(1)({global:!0,bind:!0,enumerable:!0,forced:o},{setImmediate:r.set,clearImmediate:r.clear});},function(t,e,n){var i=n(1),r=n(0),o=n(94),s=n(14),a=r.process,c="process"==s(a);i({global:!0,enumerable:!0,noTargetGet:!0},{queueMicrotask:function(t){var e=c&&a.domain;o(e?e.bind(t):t);}});},function(t,e,n){"use strict";n(172);var i,r=n(1),o=n(7),s=n(100),a=n(0),c=n(82),l=n(16),u=n(29),h=n(9),d=n(173),f=n(174),p=n(68).codeAt,m=n(175),v=n(22),g=n(101),y=n(19),b=a.URL,E=g.URLSearchParams,_=g.getState,w=y.set,S=y.getterFor("URL"),O=Math.floor,L=Math.pow,x=/[A-Za-z]/,T=/[\d+\-.A-Za-z]/,C=/\d/,A=/^(0x|0X)/,I=/^[0-7]+$/,P=/^\d+$/,j=/^[\dA-Fa-f]+$/,k=/[\u0000\u0009\u000A\u000D #%/:?@[\\]]/,M=/[\u0000\u0009\u000A\u000D #/:?@[\\]]/,D=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,$=/[\u0009\u000A\u000D]/g,N=function(t,e){var n,i,r;if("["==e.charAt(0)){if("]"!=e.charAt(e.length-1))return "Invalid host";if(!(n=B(e.slice(1,-1))))return "Invalid host";t.host=n;}else if(V(t)){if(e=m(e),k.test(e))return "Invalid host";if(null===(n=R(e)))return "Invalid host";t.host=n;}else{if(M.test(e))return "Invalid host";for(n="",i=f(e),r=0;r<i.length;r++)n+=z(i[r],q);t.host=n;}},R=function(t){var e,n,i,r,o,s,a,c=t.split(".");if(c.length&&""==c[c.length-1]&&c.pop(),(e=c.length)>4)return t;for(n=[],i=0;i<e;i++){if(""==(r=c[i]))return t;if(o=10,r.length>1&&"0"==r.charAt(0)&&(o=A.test(r)?16:8,r=r.slice(8==o?1:2)),""===r)s=0;else{if(!(10==o?P:8==o?I:j).test(r))return t;s=parseInt(r,o);}n.push(s);}for(i=0;i<e;i++)if(s=n[i],i==e-1){if(s>=L(256,5-e))return null;}else{if(s>255)return null;}for(a=n.pop(),i=0;i<n.length;i++)a+=n[i]*L(256,3-i);return a;},B=function(t){var e,n,i,r,o,s,a,c=[0,0,0,0,0,0,0,0],l=0,u=null,h=0,d=function(){return t.charAt(h);};if(":"==d()){if(":"!=t.charAt(1))return;h+=2,u=++l;}for(;d();){if(8==l)return;if(":"!=d()){for(e=n=0;n<4&&j.test(d());)e=16*e+parseInt(d(),16),h++,n++;if("."==d()){if(0==n)return;if(h-=n,l>6)return;for(i=0;d();){if(r=null,i>0){if(!("."==d()&&i<4))return;h++;}if(!C.test(d()))return;for(;C.test(d());){if(o=parseInt(d(),10),null===r)r=o;else{if(0==r)return;r=10*r+o;}if(r>255)return;h++;}c[l]=256*c[l]+r,2!=++i&&4!=i||l++;}if(4!=i)return;break;}if(":"==d()){if(h++,!d())return;}else{if(d())return;}c[l++]=e;}else{if(null!==u)return;h++,u=++l;}}if(null!==u)for(s=l-u,l=7;0!=l&&s>0;)a=c[l],c[l--]=c[u+s-1],c[u+--s]=a;else{if(8!=l)return;}return c;},F=function(t){var e,n,i,r;if("number"==typeof t){for(e=[],n=0;n<4;n++)e.unshift(t%256),t=O(t/256);return e.join(".");}if("object"==typeof t){for(e="",i=function(t){for(var e=null,n=1,i=null,r=0,o=0;o<8;o++)0!==t[o]?(r>n&&(e=i,n=r),i=null,r=0):(null===i&&(i=o),++r);return r>n&&(e=i,n=r),e;}(t),n=0;n<8;n++)r&&0===t[n]||(r&&(r=!1),i===n?(e+=n?":":"::",r=!0):(e+=t[n].toString(16),n<7&&(e+=":")));return "["+e+"]";}return t;},q={},H=d({},q,{" ":1,'"':1,"<":1,">":1,"`":1}),U=d({},H,{"#":1,"?":1,"{":1,"}":1}),W=d({},U,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),z=function(t,e){var n=p(t,0);return n>32&&n<127&&!h(e,t)?t:encodeURIComponent(t);},Y={ftp:21,file:null,gopher:70,http:80,https:443,ws:80,wss:443},V=function(t){return h(Y,t.scheme);},K=function(t){return ""!=t.username||""!=t.password;},G=function(t){return !t.host||t.cannotBeABaseURL||"file"==t.scheme;},X=function(t,e){var n;return 2==t.length&&x.test(t.charAt(0))&&(":"==(n=t.charAt(1))||!e&&"|"==n);},Q=function(t){var e;return t.length>1&&X(t.slice(0,2))&&(2==t.length||"/"===(e=t.charAt(2))||"\\"===e||"?"===e||"#"===e);},Z=function(t){var e=t.path,n=e.length;!n||"file"==t.scheme&&1==n&&X(e[0],!0)||e.pop();},J=function(t){return "."===t||"%2e"===t.toLowerCase();}
43,tt={},et={},nt={},it={},rt={},ot={},st={},at={},ct={},lt={},ut={},ht={},dt={},ft={},pt={},mt={},vt={},gt={},yt={},bt={},Et={},_t=function(t,e,n,r){var o,s,a,c,l,u=n||tt,d=0,p="",m=!1,v=!1,g=!1;for(n||(t.scheme="",t.username="",t.password="",t.host=null,t.port=null,t.path=[],t.query=null,t.fragment=null,t.cannotBeABaseURL=!1,e=e.replace(D,"")),e=e.replace($,""),o=f(e);d<=o.length;){switch(s=o[d],u){case tt:if(!s||!x.test(s)){if(n)return "Invalid scheme";u=nt;continue;}p+=s.toLowerCase(),u=et;break;case et:if(s&&(T.test(s)||"+"==s||"-"==s||"."==s))p+=s.toLowerCase();else{if(":"!=s){if(n)return "Invalid scheme";p="",u=nt,d=0;continue;}if(n&&(V(t)!=h(Y,p)||"file"==p&&(K(t)||null!==t.port)||"file"==t.scheme&&!t.host))return;if(t.scheme=p,n)return void (V(t)&&Y[t.scheme]==t.port&&(t.port=null));p="","file"==t.scheme?u=ft:V(t)&&r&&r.scheme==t.scheme?u=it:V(t)?u=at:"/"==o[d+1]?(u=rt,d++):(t.cannotBeABaseURL=!0,t.path.push(""),u=yt);}break;case nt:if(!r||r.cannotBeABaseURL&&"#"!=s)return "Invalid scheme";if(r.cannotBeABaseURL&&"#"==s){t.scheme=r.scheme,t.path=r.path.slice(),t.query=r.query,t.fragment="",t.cannotBeABaseURL=!0,u=Et;break;}u="file"==r.scheme?ft:ot;continue;case it:if("/"!=s||"/"!=o[d+1]){u=ot;continue;}u=ct,d++;break;case rt:if("/"==s){u=lt;break;}u=gt;continue;case ot:if(t.scheme=r.scheme,s==i)t.username=r.username,t.password=r.password,t.host=r.host,t.port=r.port,t.path=r.path.slice(),t.query=r.query;else if("/"==s||"\\"==s&&V(t))u=st;else if("?"==s)t.username=r.username,t.password=r.password,t.host=r.host,t.port=r.port,t.path=r.path.slice(),t.query="",u=bt;else{if("#"!=s){t.username=r.username,t.password=r.password,t.host=r.host,t.port=r.port,t.path=r.path.slice(),t.path.pop(),u=gt;continue;}t.username=r.username,t.password=r.password,t.host=r.host,t.port=r.port,t.path=r.path.slice(),t.query=r.query,t.fragment="",u=Et;}break;case st:if(!V(t)||"/"!=s&&"\\"!=s){if("/"!=s){t.username=r.username,t.password=r.password,t.host=r.host,t.port=r.port,u=gt;continue;}u=lt;}else u=ct;break;case at:if(u=ct,"/"!=s||"/"!=p.charAt(d+1))continue;d++;break;case ct:if("/"!=s&&"\\"!=s){u=lt;continue;}break;case lt:if("@"==s){m&&(p="%40"+p),m=!0,a=f(p);for(var y=0;y<a.length;y++){var b=a[y];if(":"!=b||g){var E=z(b,W);g?t.password+=E:t.username+=E;}else g=!0;}p="";}else if(s==i||"/"==s||"?"==s||"#"==s||"\\"==s&&V(t)){if(m&&""==p)return "Invalid authority";d-=f(p).length+1,p="",u=ut;}else p+=s;break;case ut:case ht:if(n&&"file"==t.scheme){u=mt;continue;}if(":"!=s||v){if(s==i||"/"==s||"?"==s||"#"==s||"\\"==s&&V(t)){if(V(t)&&""==p)return "Invalid host";if(n&&""==p&&(K(t)||null!==t.port))return;if(c=N(t,p))return c;if(p="",u=vt,n)return;continue;}"["==s?v=!0:"]"==s&&(v=!1),p+=s;}else{if(""==p)return "Invalid host";if(c=N(t,p))return c;if(p="",u=dt,n==ht)return;}break;case dt:if(!C.test(s)){if(s==i||"/"==s||"?"==s||"#"==s||"\\"==s&&V(t)||n){if(""!=p){var _=parseInt(p,10);if(_>65535)return "Invalid port";t.port=V(t)&&_===Y[t.scheme]?null:_,p="";}if(n)return;u=vt;continue;}return "Invalid port";}p+=s;break;case ft:if(t.scheme="file","/"==s||"\\"==s)u=pt;else{if(!r||"file"!=r.scheme){u=gt;continue;}if(s==i)t.host=r.host,t.path=r.path.slice(),t.query=r.query;else if("?"==s)t.host=r.host,t.path=r.path.slice(),t.query="",u=bt;else{if("#"!=s){Q(o.slice(d).join(""))||(t.host=r.host,t.path=r.path.slice(),Z(t)),u=gt;continue;}t.host=r.host,t.path=r.path.slice(),t.query=r.query,t.fragment="",u=Et;}}break;case pt:if("/"==s||"\\"==s){u=mt;break;}r&&"file"==r.scheme&&!Q(o.slice(d).join(""))&&(X(r.path[0],!0)?t.path.push(r.path[0]):t.host=r.host),u=gt;continue;case mt:if(s==i||"/"==s||"\\"==s||"?"==s||"#"==s){if(!n&&X(p))u=gt;else if(""==p){if(t.host="",n)return;u=vt;}else{if(c=N(t,p))return c;if("localhost"==t.host&&(t.host=""),n)return;p="",u=vt;}continue;}p+=s;break;case vt:if(V(t)){if(u=gt,"/"!=s&&"\\"!=s)continue;}else if(n||"?"!=s)if(n||"#"!=s){if(s!=i&&(u=gt,"/"!=s))continue;}else t.fragment="",u=Et;else t.query="",u=bt;break;case gt:if(s==i||"/"==s||"\\"==s&&V(t)||!n&&("?"==s||"#"==s)){if(".."===(l=(l=p).toLowerCase())||"%2e."===l||".%2e"===l||"%2e%2e"===l?(Z(t),"/"==s||"\\"==s&&V(t)||t.path.push("")):J(p)?"/"==s||"\\"==s&&V(t)||t.path.push(""):("file"==t.scheme&&!t.path.length&&X(
43p)&&(t.host&&(t.host=""),p=p.charAt(0)+":"),t.path.push(p)),p="","file"==t.scheme&&(s==i||"?"==s||"#"==s))for(;t.path.length>1&&""===t.path[0];)t.path.shift();"?"==s?(t.query="",u=bt):"#"==s&&(t.fragment="",u=Et);}else p+=z(s,U);break;case yt:"?"==s?(t.query="",u=bt):"#"==s?(t.fragment="",u=Et):s!=i&&(t.path[0]+=z(s,q));break;case bt:n||"#"!=s?s!=i&&("'"==s&&V(t)?t.query+="%27":t.query+="#"==s?"%23":z(s,q)):(t.fragment="",u=Et);break;case Et:s!=i&&(t.fragment+=z(s,H));}d++;}},wt=function(t){var e,n,i=u(this,wt,"URL"),r=arguments.length>1?arguments[1]:void 0,s=String(t),a=w(i,{type:"URL"});if(void 0!==r)if(r instanceof wt)e=S(r);else{if(n=_t(e={},String(r)))throw TypeError(n);}if(n=_t(a,s,null,e))throw TypeError(n);var c=a.searchParams=new E(),l=_(c);l.updateSearchParams(a.query),l.updateURL=function(){a.query=String(c)||null;},o||(i.href=Ot.call(i),i.origin=Lt.call(i),i.protocol=xt.call(i),i.username=Tt.call(i),i.password=Ct.call(i),i.host=At.call(i),i.hostname=It.call(i),i.port=Pt.call(i),i.pathname=jt.call(i),i.search=kt.call(i),i.searchParams=Mt.call(i),i.hash=Dt.call(i));},St=wt.prototype,Ot=function(){var t=S(this),e=t.scheme,n=t.username,i=t.password,r=t.host,o=t.port,s=t.path,a=t.query,c=t.fragment,l=e+":";return null!==r?(l+="//",K(t)&&(l+=n+(i?":"+i:"")+"@"),l+=F(r),null!==o&&(l+=":"+o)):"file"==e&&(l+="//"),l+=t.cannotBeABaseURL?s[0]:s.length?"/"+s.join("/"):"",null!==a&&(l+="?"+a),null!==c&&(l+="#"+c),l;},Lt=function(){var t=S(this),e=t.scheme,n=t.port;if("blob"==e)try{return new URL(e.path[0]).origin;}catch(t){return "null";}return "file"!=e&&V(t)?e+"://"+F(t.host)+(null!==n?":"+n:""):"null";},xt=function(){return S(this).scheme+":";},Tt=function(){return S(this).username;},Ct=function(){return S(this).password;},At=function(){var t=S(this),e=t.host,n=t.port;return null===e?"":null===n?F(e):F(e)+":"+n;},It=function(){var t=S(this).host;return null===t?"":F(t);},Pt=function(){var t=S(this).port;return null===t?"":String(t);},jt=function(){var t=S(this),e=t.path;return t.cannotBeABaseURL?e[0]:e.length?"/"+e.join("/"):"";},kt=function(){var t=S(this).query;return t?"?"+t:"";},Mt=function(){return S(this).searchParams;},Dt=function(){var t=S(this).fragment;return t?"#"+t:"";},$t=function(t,e){return {get:t,set:e,configurable:!0,enumerable:!0};};if(o&&c(St,{href:$t(Ot,function(t){var e=S(this),n=String(t),i=_t(e,n);if(i)throw TypeError(i);_(e.searchParams).updateSearchParams(e.query);}),origin:$t(Lt),protocol:$t(xt,function(t){var e=S(this);_t(e,String(t)+":",tt);}),username:$t(Tt,function(t){var e=S(this),n=f(String(t));if(!G(e)){e.username="";for(var i=0;i<n.length;i++)e.username+=z(n[i],W);}}),password:$t(Ct,function(t){var e=S(this),n=f(String(t));if(!G(e)){e.password="";for(var i=0;i<n.length;i++)e.password+=z(n[i],W);}}),host:$t(At,function(t){var e=S(this);e.cannotBeABaseURL||_t(e,String(t),ut);}),hostname:$t(It,function(t){var e=S(this);e.cannotBeABaseURL||_t(e,String(t),ht);}),port:$t(Pt,function(t){var e=S(this);G(e)||(""==(t=String(t))?e.port=null:_t(e,t,dt));}),pathname:$t(jt,function(t){var e=S(this);e.cannotBeABaseURL||(e.path=[],_t(e,t+"",vt));}),search:$t(kt,function(t){var e=S(this);""==(t=String(t))?e.query=null:("?"==t.charAt(0)&&(t=t.slice(1)),e.query="",_t(e,t,bt)),_(e.searchParams).updateSearchParams(e.query);}),searchParams:$t(Mt),hash:$t(Dt,function(t){var e=S(this);""!=(t=String(t))?("#"==t.charAt(0)&&(t=t.slice(1)),e.fragment="",_t(e,t,Et)):e.fragment=null;})}),l(St,"toJSON",function(){return Ot.call(this);},{enumerable:!0}),l(St,"toString",function(){return Ot.call(this);},{enumerable:!0}),b){var Nt=b.createObjectURL,Rt=b.revokeObjectURL;Nt&&l(wt,"createObjectURL",function(t){return Nt.apply(b,arguments);}),Rt&&l(wt,"revokeObjectURL",function(t){return Rt.apply(b,arguments);});}v(wt,"URL"),r({global:!0,forced:!s,sham:!o},{URL:wt});},function(t,e,n){"use strict";var i=n(68).charAt,r=n(19),o=n(85),s=r.set,a=r.getterFor("String Iterator");o(String,"String",function(t){s(this,{type:"String Iterator",string:String(t),index:0});},function(){var t,e=a(this),n=e.string,r=e.index;return r>=n.length?{value:void 0,done:!0}:(t=i(n,r),e.index+=t.length,{value:t,done:!1});});},function(t,e,n){"use strict";var i=n(7),r=n(4),o=n(83),s=n(80),a=n(75),c=n(17),l=n(42),u=Object.assign;t.exports=!u||r(function(){var t={},e={},n=Symbol();return t[n]=7,"abcdefghijklmnopqrst".split("").forEach(function(t){e[t]=t;}),7!=u({},t)[n]||"abcdefghijklmnopqrst"!=o(u({},e)).join("");})?function(t,e){for(var n=c(t),r=arguments.length,u=1,h=s.f,d=a.f;r>u;)for(var f,p=l(arguments[u++]),m=h?o(p).concat(h(p)):o(p),v=m.length,g=0;v>g;)f=m[g++],i&&!d.call(p,f)||(n[f]=p[f]);return n;}:u;},function(t,e,n){"use strict";var i=n(20),r=n(17),o=n(91),s=n(60),a=n(6),c=n(92),l=n(30);t.exports=function(t){var e,n,u,h,d=r(t),f="function"==typeof this?this:Array,p=arguments.length,m=p>1?arguments[1]:void 0,v=void 0!==m,g=0,y=l(d);if(v&&(m=i(m,p>2?arguments[2]:void 0,2)),null==y||f==Array&&s(y))for(n=new f(e=a(d.length));e>g;g++)c(n,g,v?m(d[g],g):d[g]);else for(h=y.call(d),n=new f();!(u=h.next()).done;g++)c(n,g,v?o(h,m,[u.value,g],!0):u.value);return n.length=g,n;};},function(t,e,n){"use strict";
43var i=/[^\0-\u007E]/,r=/[.\u3002\uFF0E\uFF61]/g,o="Overflow: input needs wider integers to process",s=Math.floor,a=String.fromCharCode,c=function(t){return t+22+75*(t<26);},l=function(t,e,n){var i=0;for(t=n?s(t/700):t>>1,t+=s(t/e);t>455;i+=36)t=s(t/35);return s(i+36*t/(t+38));},u=function(t){var e,n,i=[],r=(t=function(t){for(var e=[],n=0,i=t.length;n<i;){var r=t.charCodeAt(n++);if(r>=55296&&r<=56319&&n<i){var o=t.charCodeAt(n++);56320==(64512&o)?e.push(((1023&r)<<10)+(1023&o)+65536):(e.push(r),n--);}else e.push(r);}return e;}(t)).length,u=128,h=0,d=72;for(e=0;e<t.length;e++)(n=t[e])<128&&i.push(a(n));var f=i.length,p=f;for(f&&i.push("-");p<r;){var m=2147483647;for(e=0;e<t.length;e++)(n=t[e])>=u&&n<m&&(m=n);var v=p+1;if(m-u>s((2147483647-h)/v))throw RangeError(o);for(h+=(m-u)*v,u=m,e=0;e<t.length;e++){if((n=t[e])<u&&++h>2147483647)throw RangeError(o);if(n==u){for(var g=h,y=36;;y+=36){var b=y<=d?1:y>=d+26?26:y-d;if(g<b)break;var E=g-b,_=36-b;i.push(a(c(b+E%_))),g=s(E/_);}i.push(a(c(g))),d=l(h,v,p==f),h=0,++p;}}++h,++u;}return i.join("");};t.exports=function(t){var e,n,o=[],s=t.toLowerCase().replace(r,".").split(".");for(e=0;e<s.length;e++)n=s[e],o.push(i.test(n)?"xn--"+u(n):n);return o.join(".");};},function(t,e,n){var i=n(5),r=n(30);t.exports=function(t){var e=r(t);if("function"!=typeof e)throw TypeError(String(t)+" is not iterable");return i(e.call(t));};},function(t,e,n){"use strict";n(1)({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return URL.prototype.toString.call(this);}});},function(t,e,n){(function(t){!function(t){var e=function(){try{return !!Symbol.iterator;}catch(t){return !1;}}(),n=function(t){var n={next:function(){var e=t.shift();return {done:void 0===e,value:e};}};return e&&(n[Symbol.iterator]=function(){return n;}),n;},i=function(t){return encodeURIComponent(t).replace(/%20/g,"+");},r=function(t){return decodeURIComponent(String(t).replace(/\+/g," "));};(function(){try{var e=t.URLSearchParams;return "a=1"===new e("?a=1").toString()&&"function"==typeof e.prototype.set;}catch(t){return !1;}})()||function(){var r=function(t){Object.defineProperty(this,"_entries",{writable:!0,value:{}});var e=typeof t;if("undefined"===e);else if("string"===e)""!==t&&this._fromString(t);else if(t instanceof r){var n=this;t.forEach(function(t,e){n.append(e,t);});}else{if(null===t||"object"!==e)throw new TypeError("Unsupported input's type for URLSearchParams");if("[object Array]"===Object.prototype.toString.call(t))for(var i=0;i<t.length;i++){var o=t[i];if("[object Array]"!==Object.prototype.toString.call(o)&&2===o.length)throw new TypeError("Expected [string, any] as entry at index "+i+" of URLSearchParams's input");this.append(o[0],o[1]);}else for(var s in t)t.hasOwnProperty(s)&&this.append(s,t[s]);}},o=r.prototype;o.append=function(t,e){t in this._entries?this._entries[t].push(String(e)):this._entries[t]=[String(e)];},o.delete=function(t){delete this._entries[t];},o.get=function(t){return t in this._entries?this._entries[t][0]:null;},o.getAll=function(t){return t in this._entries?this._entries[t].slice(0):[];},o.has=function(t){return t in this._entries;},o.set=function(t,e){this._entries[t]=[String(e)];},o.forEach=function(t,e){var n;for(var i in this._entries)if(this._entries.hasOwnProperty(i)){n=this._entries[i];for(var r=0;r<n.length;r++)t.call(e,n[r],i,this);}},o.keys=function(){var t=[];return this.forEach(function(e,n){t.push(n);}),n(t);},o.values=function(){var t=[];return this.forEach(function(e){t.push(e);}),n(t);},o.entries=function(){var t=[];return this.forEach(function(e,n){t.push([n,e]);}),n(t);},e&&(o[Symbol.iterator]=o.entries),o.toString=function(){var t=[];return this.forEach(function(e,n){t.push(i(n)+"="+i(e));}),t.join("&");},t.URLSearchParams=r;}();var o=t.URLSearchParams.prototype;"function"!=typeof o.sort&&(o.sort=function(){var t=this,e=[];this.forEach(function(n,i){e.push([i,n]),t._entries||t.delete(i);}),e.sort(function(t,e){return t[0]<e[0]?-1:t[0]>e[0]?1:0;}),t._entries&&(t._entries={});for(var n=0;n<e.length;n++)this.append(e[n][0],e[n][1]);}),"function"!=typeof o._fromString&&Object.defineProperty(o,"_fromString",{enumerable:!1,
43configurable:!1,writable:!1,value:function(t){if(this._entries)this._entries={};else{var e=[];this.forEach(function(t,n){e.push(n);});for(var n=0;n<e.length;n++)this.delete(e[n]);}var i,o=(t=t.replace(/^\?/,"")).split("&");for(n=0;n<o.length;n++)i=o[n].split("="),this.append(r(i[0]),i.length>1?r(i[1]):"");}});}(void 0!==t?t:"undefined"!=typeof window?window:"undefined"!=typeof self?self:this),function(t){if(function(){try{var e=new t.URL("b","http://a");return e.pathname="c%20d","http://a/c%20d"===e.href&&e.searchParams;}catch(t){return !1;}}()||function(){var e=t.URL,n=function(e,n){"string"!=typeof e&&(e=String(e));var i,r=document;if(n&&(void 0===t.location||n!==t.location.href)){(i=(r=document.implementation.createHTMLDocument("")).createElement("base")).href=n,r.head.appendChild(i);try{if(0!==i.href.indexOf(n))throw new Error(i.href);}catch(t){throw new Error("URL unable to set base "+n+" due to "+t);}}var o=r.createElement("a");if(o.href=e,i&&(r.body.appendChild(o),o.href=o.href),":"===o.protocol||!/:/.test(o.href))throw new TypeError("Invalid URL");Object.defineProperty(this,"_anchorElement",{value:o});var s=new t.URLSearchParams(this.search),a=!0,c=!0,l=this;["append","delete","set"].forEach(function(t){var e=s[t];s[t]=function(){e.apply(s,arguments),a&&(c=!1,l.search=s.toString(),c=!0);};}),Object.defineProperty(this,"searchParams",{value:s,enumerable:!0});var u=void 0;Object.defineProperty(this,"_updateSearchParams",{enumerable:!1,configurable:!1,writable:!1,value:function(){this.search!==u&&(u=this.search,c&&(a=!1,this.searchParams._fromString(this.search),a=!0));}});},i=n.prototype;["hash","host","hostname","port","protocol"].forEach(function(t){!function(t){Object.defineProperty(i,t,{get:function(){return this._anchorElement[t];},set:function(e){this._anchorElement[t]=e;},enumerable:!0});}(t);}),Object.defineProperty(i,"search",{get:function(){return this._anchorElement.search;},set:function(t){this._anchorElement.search=t,this._updateSearchParams();},enumerable:!0}),Object.defineProperties(i,{toString:{get:function(){var t=this;return function(){return t.href;};}},href:{get:function(){return this._anchorElement.href.replace(/\?$/,"");},set:function(t){this._anchorElement.href=t,this._updateSearchParams();},enumerable:!0},pathname:{get:function(){return this._anchorElement.pathname.replace(/(^\/?)/,"/");},set:function(t){this._anchorElement.pathname=t;},enumerable:!0},origin:{get:function(){var t={"http:":80,"https:":443,"ftp:":21}[this._anchorElement.protocol],e=this._anchorElement.port!=t&&""!==this._anchorElement.port;return this._anchorElement.protocol+"//"+this._anchorElement.hostname+(e?":"+this._anchorElement.port:"");},enumerable:!0},password:{get:function(){return "";},set:function(t){},enumerable:!0},username:{get:function(){return "";},set:function(t){},enumerable:!0}}),n.createObjectURL=function(t){return e.createObjectURL.apply(e,arguments);},n.revokeObjectURL=function(t){return e.revokeObjectURL.apply(e,arguments);},t.URL=n;}(),void 0!==t.location&&!("origin" in t.location)){var e=function(){return t.location.protocol+"//"+t.location.hostname+(t.location.port?":"+t.location.port:"");};try{Object.defineProperty(t.location,"origin",{get:e,enumerable:!0});}catch(n){setInterval(function(){t.location.origin=e();},100);}}}(void 0!==t?t:"undefined"!=typeof window?window:"undefined"!=typeof self?self:this);}).call(this,n(74));},function(t,e,n){!function(){"use strict";"undefined"!=typeof document&&function(t){var e;function n(){e||(e=!0,t());}["interactive","complete"].indexOf(document.readyState)>=0?t():(e=!1,document.addEventListener("DOMContentLoaded",n,!1),window.addEventListener("load",n,!1));}(function(){var t=!0,e=!1,n=null,i={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function r(t){return !!(t&&t!==document&&"HTML"!==t.nodeName&&"BODY"!==t.nodeName&&"classList" in t&&"contains" in t.classList);}function o(t){t.classList.contains("focus-visible")||(t.classList.add("focus-visible"),t.setAttribute("data-focus-visible-added",""));}function s(e){t=!1;}function a(){document.addEventListener("mousemove",c),document.addEventListener("mousedown",c),document.addEventListener("mouseup",c),document.addEventListener("pointermove",c),document.addEventListener("pointerdown",c),document.addEventListener("pointerup",c),document.addEventListener("touchmove",c),document.addEventListener("touchstart",c),document.addEventListener("touchend",c);}function c(e){"html"!==e.target.nodeName.toLowerCase()&&(t=!1,document.removeEventListener("mousemove",c),document.removeEventListener("mousedown",c),document.removeEventListener("mouseup",c),document.removeEventListener("pointermove",c),document.removeEventListener("pointerdown",c),document.removeEventListener("pointerup",c),document.removeEventListener("touchmove",c),document.removeEventListener("touchstart",c),document.removeEventListener("touchend",c));}document.addEventListener("keydown",function(e){r(document.activeElement)&&o(document.activeElement),t=!0;},!0),document.addEventListener("mousedown",s,!0),document.addEventListener("pointerdown",s,!0),document.addEventListener("touchstart",s,!0),document.addEventListener("focus",function(e){var n,s,a;r(e.target)&&((t||(n=e.target,s=n.type,"INPUT"==(a=n.tagName)&&i[s]&&!n.readOnly||"TEXTAREA"==a&&!n.readOnly||n.isContentEditable))&&o(e.target));},!0),document.addEventListener("blur",function(t){var i;r(t.target)&&((t.target.classList.contains("focus-visible")||t.target.hasAttribute("data-focus-visible-added"))&&(e=!0,window.clearTimeout(n),n=window.setTimeout(function(){e=!1,window.clearTimeout(n);},100),(i=t.target).hasAttribute("data-focus-visible-added")&&(i.classList.remove("focus-visible"),i.removeAttribute("data-focus-visible-added"))));},!0),document.addEventListener("visibilitychange",function(n){"hidden"==document.visibilityState&&(e&&(t=!0),a());},!0),a(),document.body.classList.add("js-focus-visible");});}();},function(t,e){var n,i,r;t.exports=(i=String.prototype.split,r=/()??/.exec("")[1]===n,function(t,e,o){
43if("[object RegExp]"!==Object.prototype.toString.call(e))return i.call(t,e,o);var s,a,c,l,u=[],h=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.extended?"x":"")+(e.sticky?"y":""),d=0;for(e=new RegExp(e.source,h+"g"),t+="",r||(s=new RegExp("^"+e.source+"$(?!\\s)",h)),o=o===n?-1>>>0:o>>>0;(a=e.exec(t))&&!((c=a.index+a[0].length)>d&&(u.push(t.slice(d,a.index)),!r&&a.length>1&&a[0].replace(s,function(){for(var t=1;t<arguments.length-2;t++)arguments[t]===n&&(a[t]=n);}),a.length>1&&a.index<t.length&&Array.prototype.push.apply(u,a.slice(1)),l=a[0].length,d=c,u.length>=o));)e.lastIndex===a.index&&e.lastIndex++;return d===t.length?!l&&e.test("")||u.push(""):u.push(t.slice(d)),u.length>o?u.slice(0,o):u;});},function(t,e,n){var i=n(182);function r(t){return !!t;}t.exports=function(t){var e=t.classList;if(e)return e;var n={add:o,remove:s,contains:a,toggle:function(t){return a(t)?(s(t),!1):(o(t),!0);},toString:function(){return t.className;},length:0,item:function(t){return c()[t]||null;}};return n;function o(t){var e=c();i(e,t)>-1||(e.push(t),l(e));}function s(t){var e=c(),n=i(e,t);-1!==n&&(e.splice(n,1),l(e));}function a(t){return i(c(),t)>-1;}function c(){var e=t.className;return function(t,e){for(var n=[],i=0;i<t.length;i++)e(t[i])&&n.push(t[i]);return n;}(e.split(" "),r);}function l(e){var i=e.length;t.className=e.join(" "),n.length=i;for(var r=0;r<e.length;r++)n[r]=e[r];delete e[i];}};},function(t,e){var n=[].indexOf;t.exports=function(t,e){if(n)return t.indexOf(e);for(var i=0;i<t.length;++i)if(t[i]===e)return i;return -1;};},function(t,e){},function(t,e){function n(){const t=window.location.hash.substring(1);if(t){const e=document.getElementById(t);e&&"details"===e.tagName.toLowerCase()&&(e.open=!0);}}n(),window.addEventListener("hashchange",n);},function(t,e,n){var i,r;!function(o,s){"use strict";i=[n(102),n(72),n(186),n(188)],void 0===(r=function(t,e,n,i){return function(t,e,n,i,r){var o=t.console,s=t.jQuery,a=function(){},c=0,l={};function u(t,e){var n=i.getQueryElement(t);if(n){this.element=n,s&&(this.$element=s(this.element)),this.options=i.extend({},this.constructor.defaults),this.option(e);var r=++c;this.element.outlayerGUID=r,l[r]=this,this._create();var a=this._getOption("initLayout");a&&this.layout();}else o&&o.error("Bad element for "+this.constructor.namespace+": "+(n||t));}u.namespace="outlayer",u.Item=r,u.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}};var h=u.prototype;function d(t){function e(){t.apply(this,arguments);}return e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e;}i.extend(h,e.prototype),h.option=function(t){i.extend(this.options,t);},h._getOption=function(t){var e=this.constructor.compatOptions[t];return e&&void 0!==this.options[e]?this.options[e]:this.options[t];},u.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},h._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),i.extend(this.element.style,this.options.containerStyle);var t=this._getOption("resize");t&&this.bindResize();},h.reloadItems=function(){this.items=this._itemize(this.element.children);},h._itemize=function(t){for(var e=this._filterFindItemElements(t),n=this.constructor.Item,i=[],r=0;r<e.length;r++){var o=e[r],s=new n(o,this);i.push(s);}return i;},h._filterFindItemElements=function(t){return i.filterFindElements(t,this.options.itemSelector);},h.getItemElements=function(){return this.items.map(function(t){return t.element;});},h.layout=function(){this._resetLayout(),this._manageStamps();var t=this._getOption("layoutInstant"),e=void 0!==t?t:!this._isLayoutInited;this.layoutItems(this.items,e),this._isLayoutInited=!0;},h._init=h.layout,h._resetLayout=function(){this.getSize();},h.getSize=function(){this.size=n(this.element);},h._getMeasurement=function(t,e){var i,r=this.options[t];r?("string"==typeof r?i=this.element.querySelector(r):r instanceof HTMLElement&&(i=r),this[t]=i?n(i)[e]:r):this[t]=0;},h.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout();},h._getItemsForLayout=function(t){return t.filter(function(t){return !t.isIgnored;});},h._layoutItems=function(t,e){if(this._emitCompleteOnItems("layout",t),t&&t.length){var n=[];t.forEach(function(t){var i=this._getItemLayoutPosition(t);
43i.item=t,i.isInstant=e||t.isLayoutInstant,n.push(i);},this),this._processLayoutQueue(n);}},h._getItemLayoutPosition=function(){return {x:0,y:0};},h._processLayoutQueue=function(t){this.updateStagger(),t.forEach(function(t,e){this._positionItem(t.item,t.x,t.y,t.isInstant,e);},this);},h.updateStagger=function(){var t=this.options.stagger;if(null!=t)return this.stagger=function(t){if("number"==typeof t)return t;var e=t.match(/(^\d*\.?\d*)(\w*)/),n=e&&e[1],i=e&&e[2];if(!n.length)return 0;n=parseFloat(n);var r=f[i]||1;return n*r;}(t),this.stagger;this.stagger=0;},h._positionItem=function(t,e,n,i,r){i?t.goTo(e,n):(t.stagger(r*this.stagger),t.moveTo(e,n));},h._postLayout=function(){this.resizeContainer();},h.resizeContainer=function(){var t=this._getOption("resizeContainer");if(t){var e=this._getContainerSize();e&&(this._setContainerMeasure(e.width,!0),this._setContainerMeasure(e.height,!1));}},h._getContainerSize=a,h._setContainerMeasure=function(t,e){if(void 0!==t){var n=this.size;n.isBorderBox&&(t+=e?n.paddingLeft+n.paddingRight+n.borderLeftWidth+n.borderRightWidth:n.paddingBottom+n.paddingTop+n.borderTopWidth+n.borderBottomWidth),t=Math.max(t,0),this.element.style[e?"width":"height"]=t+"px";}},h._emitCompleteOnItems=function(t,e){var n=this;function i(){n.dispatchEvent(t+"Complete",null,[e]);}var r=e.length;if(e&&r){var o=0;e.forEach(function(e){e.once(t,s);});}else i();function s(){++o==r&&i();}},h.dispatchEvent=function(t,e,n){var i=e?[e].concat(n):n;if(this.emitEvent(t,i),s)if(this.$element=this.$element||s(this.element),e){var r=s.Event(e);r.type=t,this.$element.trigger(r,n);}else this.$element.trigger(t,n);},h.ignore=function(t){var e=this.getItem(t);e&&(e.isIgnored=!0);},h.unignore=function(t){var e=this.getItem(t);e&&delete e.isIgnored;},h.stamp=function(t){(t=this._find(t))&&(this.stamps=this.stamps.concat(t),t.forEach(this.ignore,this));},h.unstamp=function(t){(t=this._find(t))&&t.forEach(function(t){i.removeFrom(this.stamps,t),this.unignore(t);},this);},h._find=function(t){if(t)return "string"==typeof t&&(t=this.element.querySelectorAll(t)),t=i.makeArray(t);},h._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this));},h._getBoundingRect=function(){var t=this.element.getBoundingClientRect(),e=this.size;this._boundingRect={left:t.left+e.paddingLeft+e.borderLeftWidth,top:t.top+e.paddingTop+e.borderTopWidth,right:t.right-(e.paddingRight+e.borderRightWidth),bottom:t.bottom-(e.paddingBottom+e.borderBottomWidth)};},h._manageStamp=a,h._getElementOffset=function(t){var e=t.getBoundingClientRect(),i=this._boundingRect,r=n(t),o={left:e.left-i.left-r.marginLeft,top:e.top-i.top-r.marginTop,right:i.right-e.right-r.marginRight,bottom:i.bottom-e.bottom-r.marginBottom};return o;},h.handleEvent=i.handleEvent,h.bindResize=function(){t.addEventListener("resize",this),this.isResizeBound=!0;},h.unbindResize=function(){t.removeEventListener("resize",this),this.isResizeBound=!1;},h.onresize=function(){this.resize();},i.debounceMethod(u,"onresize",100),h.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout();},h.needsResizeLayout=function(){var t=n(this.element),e=this.size&&t;return e&&t.innerWidth!==this.size.innerWidth;},h.addItems=function(t){var e=this._itemize(t);return e.length&&(this.items=this.items.concat(e)),e;},h.appended=function(t){var e=this.addItems(t);e.length&&(this.layoutItems(e,!0),this.reveal(e));},h.prepended=function(t){var e=this._itemize(t);if(e.length){var n=this.items.slice(0);this.items=e.concat(n),this._resetLayout(),this._manageStamps(),this.layoutItems(e,!0),this.reveal(e),this.layoutItems(n);}},h.reveal=function(t){if(this._emitCompleteOnItems("reveal",t),t&&t.length){var e=this.updateStagger();t.forEach(function(t,n){t.stagger(n*e),t.reveal();});}},h.hide=function(t){if(this._emitCompleteOnItems("hide",t),t&&t.length){var e=this.updateStagger();t.forEach(function(t,n){t.stagger(n*e),t.hide();});}},h.revealItemElements=function(t){var e=this.getItems(t);this.reveal(e);},h.hideItemElements=function(t){var e=this.getItems(t);this.hide(e);},h.getItem=function(t){for(var e=0;e<this.items.length;e++){var n=this.items[e];if(n.element==t)return n;}},h.getItems=function(t){t=i.makeArray(t);var e=[];return t.forEach(function(t){var n=this.getItem(t);n&&e.push(n);},this),e;},h.remove=function(t){var e=this.getItems(t);this._emitCompleteOnItems("remove",e),e&&e.length&&e.forEach(function(t){t.remove(),i.removeFrom(this.items,t);},this);},h.destroy=function(){var t=this.element.style;
43t.height="",t.position="",t.width="",this.items.forEach(function(t){t.destroy();}),this.unbindResize();var e=this.element.outlayerGUID;delete l[e],delete this.element.outlayerGUID,s&&s.removeData(this.element,this.constructor.namespace);},u.data=function(t){var e=(t=i.getQueryElement(t))&&t.outlayerGUID;return e&&l[e];},u.create=function(t,e){var n=d(u);return n.defaults=i.extend({},u.defaults),i.extend(n.defaults,e),n.compatOptions=i.extend({},u.compatOptions),n.namespace=t,n.data=u.data,n.Item=d(r),i.htmlInit(n,t),s&&s.bridget&&s.bridget(t,n),n;};var f={ms:1,s:1e3};return u.Item=r,u;}(o,t,e,n,i);}.apply(e,i))||(t.exports=r);}(window);},function(t,e,n){var i,r;!function(o,s){i=[n(187)],void 0===(r=function(t){return function(t,e){"use strict";var n={extend:function(t,e){for(var n in e)t[n]=e[n];return t;},modulo:function(t,e){return (t%e+e)%e;}},i=Array.prototype.slice;n.makeArray=function(t){if(Array.isArray(t))return t;if(null==t)return [];var e="object"==typeof t&&"number"==typeof t.length;return e?i.call(t):[t];},n.removeFrom=function(t,e){var n=t.indexOf(e);-1!=n&&t.splice(n,1);},n.getParent=function(t,n){for(;t.parentNode&&t!=document.body;)if(t=t.parentNode,e(t,n))return t;},n.getQueryElement=function(t){return "string"==typeof t?document.querySelector(t):t;},n.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t);},n.filterFindElements=function(t,i){t=n.makeArray(t);var r=[];return t.forEach(function(t){if(t instanceof HTMLElement)if(i){e(t,i)&&r.push(t);for(var n=t.querySelectorAll(i),o=0;o<n.length;o++)r.push(n[o]);}else r.push(t);}),r;},n.debounceMethod=function(t,e,n){n=n||100;var i=t.prototype[e],r=e+"Timeout";t.prototype[e]=function(){var t=this[r];clearTimeout(t);var e=arguments,o=this;this[r]=setTimeout(function(){i.apply(o,e),delete o[r];},n);};},n.docReady=function(t){var e=document.readyState;"complete"==e||"interactive"==e?setTimeout(t):document.addEventListener("DOMContentLoaded",t);},n.toDashed=function(t){return t.replace(/(.)([A-Z])/g,function(t,e,n){return e+"-"+n;}).toLowerCase();};var r=t.console;return n.htmlInit=function(e,i){n.docReady(function(){var o=n.toDashed(i),s="data-"+o,a=document.querySelectorAll("["+s+"]"),c=document.querySelectorAll(".js-"+o),l=n.makeArray(a).concat(n.makeArray(c)),u=s+"-options",h=t.jQuery;l.forEach(function(t){var n,o=t.getAttribute(s)||t.getAttribute(u);try{n=o&&JSON.parse(o);}catch(e){return void (r&&r.error("Error parsing "+s+" on "+t.className+": "+e));}var a=new e(t,n);h&&h.data(t,i,a);});});},n;}(o,t);}.apply(e,i))||(t.exports=r);}(window);},function(t,e,n){var i,r;!function(o,s){"use strict";void 0===(r="function"==typeof (i=s)?i.call(e,n,e,t):i)||(t.exports=r);}(window,function(){"use strict";var t=function(){var t=window.Element.prototype;if(t.matches)return "matches";if(t.matchesSelector)return "matchesSelector";for(var e=["webkit","moz","ms","o"],n=0;n<e.length;n++){var i=e[n]+"MatchesSelector";if(t[i])return i;}}();return function(e,n){return e[t](n);};});},function(t,e,n){var i,r,o;window,r=[n(102),n(72)],void 0===(o="function"==typeof (i=function(t,e){"use strict";var n=document.documentElement.style,i="string"==typeof n.transition?"transition":"WebkitTransition",r="string"==typeof n.transform?"transform":"WebkitTransform",o={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[i],s={transform:r,transition:i,transitionDuration:i+"Duration",transitionProperty:i+"Property",transitionDelay:i+"Delay"};function a(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create());}var c=a.prototype=Object.create(t.prototype);c.constructor=a,c._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"});},c.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t);},c.getSize=function(){this.size=e(this.element);},c.css=function(t){var e=this.element.style;for(var n in t){var i=s[n]||n;e[i]=t[n];}},c.getPosition=function(){var t=getComputedStyle(this.element),e=this.layout._getOption("originLeft"),n=this.layout._getOption("originTop"),i=t[e?"left":"right"],r=t[n?"top":"bottom"],o=parseFloat(i),s=parseFloat(r),a=this.layout.size;-1!=i.indexOf("%")&&(o=o/100*a.width),-1!=r.indexOf("%")&&(s=s/100*a.height),o=isNaN(o)?0:o,s=isNaN(s)?0:s,o-=e?a.paddingLeft:a.paddingRight,s-=n?a.paddingTop:a.paddingBottom,this.position.x=o,this.position.y=s;},c.layoutPosition=function(){var t=this.layout.size,e={},n=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop"),r=n?"paddingLeft":"paddingRight",o=n?"left":"right",s=n?"right":"left",a=this.position.x+t[r];e[o]=this.getXValue(a),e[s]="";var c=i?"paddingTop":"paddingBottom",l=i?"top":"bottom",u=i?"bottom":"top",h=this.position.y+t[c];e[l]=this.getYValue(h),e[u]="",this.css(e),this.emitEvent("layout",[this]);},c.getXValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!e?t/this.layout.size.width*100+"%":t+"px";},c.getYValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&e?t/this.layout.size.height*100+"%":t+"px";},c._transitionTo=function(t,e){this.getPosition();var n=this.position.x,i=this.position.y,r=t==this.position.x&&e==this.position.y;if(this.setPosition(t,e),!r||this.isTransitioning){var o=t-n,s=e-i,a={};a.transform=this.getTranslate(o,s),this.transition({to:a,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0});}else this.layoutPosition();},c.getTranslate=function(t,e){var n=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop");return "translate3d("+(t=n?t:-t)+"px, "+(e=i?e:-e)+"px, 0)";},c.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition();},c.moveTo=c._transitionTo,c.setPosition=function(t,e){this.position.x=parseFloat(t),this.position.y=parseFloat(e);},c._nonTransition=function(t){for(var e in this.css(t.to),t.isCleaning&&this._removeStyles(t.to),t.onTransitionEnd)t.onTransitionEnd[e].call(this);},c.transition=function(t){if(parseFloat(this.layout.options.transitionDuration)){var e=this._transn;for(var n in t.onTransitionEnd)e.onEnd[n]=t.onTransitionEnd[n];for(n in t.to)e.ingProperties[n]=!0,t.isCleaning&&(e.clean[n]=!0);t.from&&(this.css(t.from),this.element.offsetHeight),this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0;}else this._nonTransition(t);};var l="opacity,"+r.replace(/([A-Z])/g,function(t){return "-"+t.toLowerCase();});c.enableTransition=function(){if(!this.isTransitioning){var t=this.layout.options.transitionDuration;t="number"==typeof t?t+"ms":t,this.css({transitionProperty:l,transitionDuration:t,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(o,this,!1);}},c.onwebkitTransitionEnd=function(t){this.ontransitionend(t);},c.onotransitionend=function(t){this.ontransitionend(t);};var u={"-webkit-transform":"transform"};c.ontransitionend=function(t){if(t.target===this.element){var e=this._transn,n=u[t.propertyName]||t.propertyName;if(delete e.ingProperties[n],function(t){for(var e in t)return !1;return !0;}(e.ingProperties)&&this.disableTransition(),n in e.clean&&(this.element.style[t.propertyName]="",delete e.clean[n]),n in e.onEnd){var i=e.onEnd[n];i.call(this),delete e.onEnd[n];}this.emitEvent("transitionEnd",[this]);}},c.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(o,this,!1),this.isTransitioning=!1;},c._removeStyles=function(t){var e={};for(var n in t)e[n]="";this.css(e);};var h={transitionProperty:"",transitionDuration:"",transitionDelay:""};return c.removeTransitionStyles=function(){this.css(h);},c.stagger=function(t){t=isNaN(t)?0:t,this.staggerDelay=t+"ms";},c.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this]);},c.remove=function(){i&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",function(){this.removeElem();}),this.hide()):this.removeElem();},c.reveal=function(){delete this.isHidden,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("visibleStyle")]=this.onRevealTransitionEnd,this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0,onTransitionEnd:e});},c.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal");},c.getHideRevealTransitionEndProperty=function(t){var e=this.layout.options[t];if(e.opacity)return "opacity";for(var n in e)return n;},c.hide=function(){this.isHidden=!0,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("hiddenStyle")]=this.onHideTransitionEnd,this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:e});},c.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"));},c.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""});},a;})?i.apply(e,r):i)||(t.exports=o);},function(t,e){const n=()=>{const t=document.querySelector(".popup");if(!t)return void setTimeout(n,500);const e='button, [href], input, select, textarea, [tabindex]:not
43([tabindex="-1"])',i=t.querySelector(".popup__close"),r=t.querySelector(".popup__overlay"),o=t.querySelector("form.js-newsletter"),s=t.querySelector(".js-popup-close");let a,c=!1;function l(){c&&(t.classList.remove("is-visible"),t.classList.remove("is-thankyou"),document.documentElement.style.overflow="",document.body.style.overflow="",document.removeEventListener("keydown",u),c=!1);}function u(n){if("Escape"===n.key&&l(),"Tab"===n.key){const i=t.querySelectorAll(e),r=i[0],o=i[i.length-1];t.contains(document.activeElement)?n.shiftKey&&document.activeElement===r?(o&&o.focus(),n.preventDefault()):n.shiftKey||document.activeElement!==o||(r&&r.focus(),n.preventDefault()):(r&&r.focus(),n.preventDefault());}}function h(){const t=window.pageYOffset||document.documentElement.scrollTop,e=document.documentElement.scrollHeight-document.documentElement.clientHeight;e<=0||t/e*100>=50&&(d(),a&&clearTimeout(a));}function d(){c||(c=!0,t.classList.add("is-visible"),sessionStorage.setItem("popupShown","true"),document.documentElement.style.overflow="hidden",document.body.style.overflow="hidden",setTimeout(()=>{const n=t.querySelector(e);n&&n.focus();},150),document.addEventListener("keydown",u),window.removeEventListener("scroll",h));}sessionStorage.getItem("popupShown")||(window.addEventListener("scroll",h),a=setTimeout(d,2e4),o&&o.addEventListener("submit",(e)=>{e.preventDefault(),t.classList.add("is-thankyou"),setTimeout(()=>{const e=t.querySelector(".js-popup-close");e&&e.focus();},150);}),i&&i.addEventListener("click",l),s&&s.addEventListener("click",l),r&&r.addEventListener("click",l));};"loading"===document.readyState?document.addEventListener("DOMContentLoaded",n):n();},,,,function(t,e,n){"use strict";n.r(e);n(110),n(114),n(117),n(118),n(119),n(120),n(121),n(122),n(54),n(125),n(126),n(127),n(128),n(130),n(133),n(134),n(137),n(138),n(140),n(141),n(142),n(143),n(144),n(145),n(146),n(148),n(149),n(150),n(151),n(152),n(153),n(156),n(157),n(158),n(159),n(160),n(161),n(162),n(163),n(164),n(165),n(166),n(167),n(169),n(170),n(171),n(177),n(101);var i,r="loading" in HTMLImageElement.prototype,o="loading" in HTMLIFrameElement.prototype,s="onscroll" in window;function a(t){var e,n,i=[];"picture"===t.parentNode.tagName.toLowerCase()&&((n=(e=t.parentNode).querySelector("source[data-lazy-remove]"))&&e.removeChild(n),i=Array.prototype.slice.call(t.parentNode.querySelectorAll("source"))),i.push(t),i.forEach(function(t){t.hasAttribute("data-lazy-srcset")&&(t.setAttribute("srcset",t.getAttribute("data-lazy-srcset")),t.removeAttribute("data-lazy-srcset"));}),t.setAttribute("src",t.getAttribute("data-lazy-src")),t.removeAttribute("data-lazy-src");}function c(t){var e=document.createElement("div");for(e.innerHTML=function(t){var e=t.textContent||t.innerHTML,n="data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 "+((e.match(/width=['"](\d+)['"]/)||!1)[1]||1)+" "+((e.match(/height=['"](\d+)['"]/)||!1)[1]||1)+"%27%3E%3C/svg%3E";return (/<img/gim.test(e)&&!r||/<iframe/gim.test(e)&&!o)&&s&&(e=void 0===i?e.replace(/(?:\r\n|\r|\n|\t| )src=/g,' lazyload="1" src='):(e=e.replace("<source",'<source srcset="'+n+'" data-lazy-remove="true"></source>\n<source')).replace(/(?:\r\n|\r|\n|\t| )srcset=/g," data-lazy-srcset=").replace(/(?:\r\n|\r|\n|\t| )src=/g,' src="'+n+'" data-lazy-src=')),e;}(t);e.firstChild;){var n=e.firstChild;if(s&&void 0!==i&&n.tagName&&(("img"===n.tagName.toLowerCase()||"picture"===n.tagName.toLowerCase())&&!r||"iframe"===n.tagName.toLowerCase()&&!o)){var a="picture"===n.tagName.toLowerCase()?e.querySelector("img"):n;i.observe(a);}t.parentNode.insertBefore(n,t);}t.parentNode.removeChild(t);}window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=Array.prototype.forEach),"IntersectionObserver" in window&&(i=new IntersectionObserver(function(t,e){t.forEach(function(t){if(0!==t.intersectionRatio){var n=t.target;e.unobserve(n),a(n);}});},{rootMargin:"0px 0px 256px 0px",threshold:.01}));var l=function(){document.querySelectorAll("noscript.loading-lazy").forEach(function(t){return c(t);}),void 0!==window.matchMedia&&window.matchMedia("print").addListener(function(t){t.matches&&document.querySelectorAll('img[loading="lazy"][data-lazy-src],iframe[loading="lazy"][data-lazy-src]').forEach(function(t){a(t);});});};/comp|inter/.test(document.readyState)?l():"addEventListener" in document?document.addEventListener("DOMContentLoaded",function(){l();}):document.attachEvent("onreadystatechange",function(){"complete"===document.readyState&&l();});n(178),n(179);(function(t,e){const n=Object(e).className,i=Object(e).attr||"focus-within",r=Object(e).force,o=[];try{if(t.querySelector(":focus-within"),!r)return a;}catch(t){}function s(){let e;for(;e=o.pop();)i&&e.removeAttribute(i),n&&e.classList.remove(n);let r=t.activeElement;if(!/^(#document|HTML|BODY)$/.test(Object(r).nodeName))for(;r&&1===r.nodeType;)i&&r.setAttribute(i,""),n&&r.classList.add(n),o.push(r),r=r.parentNode;}function a(){t.addEventListener("focus",s,!0),t.addEventListener("blur",s,!0);}(function e(){/m/.test(t.readyState)?(t.removeEventListener("readystatechange",e),a()):t.addEventListener("readystatechange",e);})();})(document,{attr:!1,className:"focus-within"});var u=!1;
43if("undefined"!=typeof window){var h={get passive(){u=!0;}};window.addEventListener("testPassive",null,h),window.removeEventListener("testPassive",null,h);}var d="undefined"!=typeof window&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1),f=[],p=!1,m=-1,v=void 0,g=void 0,y=void 0,b=function(t){return f.some(function(e){return !(!e.options.allowTouchMove||!e.options.allowTouchMove(t));});},E=function(t){var e=t||window.event;return !!b(e.target)||(e.touches.length>1||(e.preventDefault&&e.preventDefault(),!1));},_=function(){void 0!==y&&(document.body.style.paddingRight=y,y=void 0),void 0!==v&&(document.body.style.overflow=v,v=void 0);},w=function(){if(void 0!==g){var t=-parseInt(document.body.style.top,10),e=-parseInt(document.body.style.left,10);document.body.style.position=g.position,document.body.style.top=g.top,document.body.style.left=g.left,window.scrollTo(e,t),g=void 0;}},S=function(t,e){if(t){if(!f.some(function(e){return e.targetElement===t;})){var n={targetElement:t,options:e||{}};f=[].concat(function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n;}return Array.from(t);}(f),[n]),d?window.requestAnimationFrame(function(){if(void 0===g){g={position:document.body.style.position,top:document.body.style.top,left:document.body.style.left};var t=window,e=t.scrollY,n=t.scrollX,i=t.innerHeight;document.body.style.position="fixed",document.body.style.top=-e,document.body.style.left=-n,setTimeout(function(){return window.requestAnimationFrame(function(){var t=i-window.innerHeight;t&&e>=i&&(document.body.style.top=-(e+t));});},300);}}):function(t){if(void 0===y){var e=!!t&&!0===t.reserveScrollBarGap,n=window.innerWidth-document.documentElement.clientWidth;if(e&&n>0){var i=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right"),10);y=document.body.style.paddingRight,document.body.style.paddingRight=i+n+"px";}}void 0===v&&(v=document.body.style.overflow,document.body.style.overflow="hidden");}(e),d&&(t.ontouchstart=function(t){1===t.targetTouches.length&&(m=t.targetTouches[0].clientY);},t.ontouchmove=function(e){1===e.targetTouches.length&&function(t,e){var n=t.targetTouches[0].clientY-m;!b(t.target)&&(e&&0===e.scrollTop&&n>0?E(t):function(t){return !!t&&t.scrollHeight-t.scrollTop<=t.clientHeight;}(e)&&n<0?E(t):t.stopPropagation());}(e,t);},p||(document.addEventListener("touchmove",E,u?{passive:!1}:void 0),p=!0));}}else console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");},O=function(t){t?(f=f.filter(function(e){return e.targetElement!==t;}),d&&(t.ontouchstart=null,t.ontouchmove=null,p&&0===f.length&&(document.removeEventListener("touchmove",E,u?{passive:!1}:void 0),p=!1)),d?w():_()):console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.");},L=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],x=L.join(","),T="undefined"==typeof Element?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,C=function(t,e,n){var i=Array.prototype.slice.apply(t.querySelectorAll(x));return e&&T.call(t,x)&&i.unshift(t),i=i.filter(n);},A=function(t){var e=parseInt(t.getAttribute("tabindex"),10);return isNaN(e)?function(t){return "true"===t.contentEditable;}(t)?0:"AUDIO"!==t.nodeName&&"VIDEO"!==t.nodeName&&"DETAILS"!==t.nodeName||null!==t.getAttribute("tabindex")?t.tabIndex:0:e;},I=function(t,e){return t.tabIndex===e.tabIndex?t.documentOrder-e.documentOrder:t.tabIndex-e.tabIndex;},P=function(t){return "INPUT"===t.tagName;},j=function(t){return function(t){return P(t)&&"radio"===t.type;}(t)&&!function(t){if(!t.name)return !0;var e,n=t.form||t.ownerDocument,i=function(t){return n.querySelectorAll('input[type="radio"][name="'+t+'"]');};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)e=i(window.CSS.escape(t.name));else try{e=i(t.name);}catch(t){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",t.message),!1;}var r=function(t,e){for(var n=0;n<t.length;n++)if(t[n].checked&&t[n].form===e)return t[n];}(e,t.form);return !r||r===t;}(t);},k=function(t,e){return !(e.disabled||function(t){return P(t)&&"hidden"===t.type;}(e)||function(t,e){if("hidden"===getComputedStyle(t).visibility)return !0;var n=T.call(t,"details>summary:first-of-type")?t.parentElement:t;if(T.call(n,"details:not([open]) *"))return !0;if(e&&"full"!==e){if("non-zero-area"===e){var i=t.getBoundingClientRect(),r=i.width,o=i.height;return 0===r&&0===o;}}else for(;t;){if("none"===getComputedStyle(t).display)return !0;t=t.parentElement;}return !1;}(e,t.displayCheck)||function(t){return "DETAILS"===t.tagName&&Array.prototype.slice.apply(t.children).some(function(t){return "SUMMARY"===t.tagName;});}(e)||function(t){if(P(t)||"SELECT"===t.tagName||"TEXTAREA"===t.tagName||"BUTTON"===t.tagName)for(var e=t.parentElement;e;){if("FIELDSET"===e.tagName&&e.disabled){for(var n=0;n<e.children.length;n++){var i=e.children.item(n);if("LEGEND"===i.tagName)return !i.contains(t);}return !0;}e=e.parentElement;}return !1;}(e));},M=function(t,e){return !(!k(t,e)||j(e)||A(e)<0);},D=function(t,e){if(e=e||{},!t)throw new Error("No node provided");return !1!==T.call(t,x)&&M(e,t);},$=L.concat("iframe").join(","),N=function(t,e){if(e=e||{},!t)throw new Error("No node provided");return !1!==T.call(t,$)&&k(e,t);};function R(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable;})),n.push.apply(n,i);}return n;}function B(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t;}var F,q=(F=[],{activateTrap:function(t){if(F.length>0){var e=F[F.length-1];e!==t&&e.pause();}var n=F.indexOf(t);-1===n?F.push(t):(F.splice(n,1),F.push(t));},deactivateTrap:function(t){var e=F.indexOf(t);-1!==e&&F.splice(e,1),F.length>0&&F[F.length-1].unpause();}}),H=function(t){return setTimeout(t,0);},U=function(t,e){var n=-1;return t.every(function(t,i){return !e(t)||(n=i,!1);}),n;},W=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];return "function"==typeof t?t.apply(void 0,n):t;},z=function(t){return t.target.shadowRoot&&"function"==typeof t.composedPath?t.composedPath()[0]:t.target;},Y=function(t,e){var n,i=(null==e?void 0:e.document)||document,r=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
43e%2?R(Object(n),!0).forEach(function(e){B(t,e,n[e]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):R(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e));});}return t;}({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0},e),o={containers:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0},s=function(t,e,n){return t&&void 0!==t[e]?t[e]:r[n||e];},a=function(t){return !(!t||!o.containers.some(function(e){return e.contains(t);}));},c=function(t){var e=r[t];if("function"==typeof e){for(var n=arguments.length,o=new Array(n>1?n-1:0),s=1;s<n;s++)o[s-1]=arguments[s];e=e.apply(void 0,o);}if(!e){if(void 0===e||!1===e)return e;throw new Error("`".concat(t,"` was specified but was not a node, or did not return a node"));}var a=e;if("string"==typeof e&&!(a=i.querySelector(e)))throw new Error("`".concat(t,"` as selector refers to no known node"));return a;},l=function(){var t=c("initialFocus");if(!1===t)return !1;if(void 0===t)if(a(i.activeElement))t=i.activeElement;else{var e=o.tabbableGroups[0];t=e&&e.firstTabbableNode||c("fallbackFocus");}if(!t)throw new Error("Your focus-trap needs to have at least one focusable element");return t;},u=function(){if(o.tabbableGroups=o.containers.map(function(t){var e,n,i,r=(n=[],i=[],C(t,(e=e||{}).includeContainer,M.bind(null,e)).forEach(function(t,e){var r=A(t);0===r?n.push(t):i.push({documentOrder:e,tabIndex:r,node:t});}),i.sort(I).map(function(t){return t.node;}).concat(n)),o=function(t,e){return C(t,(e=e||{}).includeContainer,k.bind(null,e));}(t);if(r.length>0)return {container:t,firstTabbableNode:r[0],lastTabbableNode:r[r.length-1],nextTabbableNode:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=o.findIndex(function(e){return e===t;});return e?o.slice(n+1).find(function(t){return D(t);}):o.slice(0,n).reverse().find(function(t){return D(t);});}};}).filter(function(t){return !!t;}),o.tabbableGroups.length<=0&&!c("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");},h=function t(e){!1!==e&&e!==i.activeElement&&(e&&e.focus?(e.focus({preventScroll:!!r.preventScroll}),o.mostRecentlyFocusedNode=e,function(t){return t.tagName&&"input"===t.tagName.toLowerCase()&&"function"==typeof t.select;}(e)&&e.select()):t(l()));},d=function(t){var e=c("setReturnFocus",t);return e||!1!==e&&t;},f=function(t){var e=z(t);a(e)||(W(r.clickOutsideDeactivates,t)?n.deactivate({returnFocus:r.returnFocusOnDeactivate&&!N(e)}):W(r.allowOutsideClick,t)||t.preventDefault());},p=function(t){var e=z(t),n=a(e);n||e instanceof Document?n&&(o.mostRecentlyFocusedNode=e):(t.stopImmediatePropagation(),h(o.mostRecentlyFocusedNode||l()));}
43,m=function(t){if(function(t){return "Escape"===t.key||"Esc"===t.key||27===t.keyCode;}(t)&&!1!==W(r.escapeDeactivates,t))return t.preventDefault(),void n.deactivate();(function(t){return "Tab"===t.key||9===t.keyCode;})(t)&&function(t){var e=z(t);u();var n=null;if(o.tabbableGroups.length>0){var i=U(o.tabbableGroups,function(t){return t.container.contains(e);}),r=i>=0?o.tabbableGroups[i]:void 0;if(i<0)n=t.shiftKey?o.tabbableGroups[o.tabbableGroups.length-1].lastTabbableNode:o.tabbableGroups[0].firstTabbableNode;else if(t.shiftKey){var s=U(o.tabbableGroups,function(t){var n=t.firstTabbableNode;return e===n;});if(s<0&&(r.container===e||N(e)&&!D(e)&&!r.nextTabbableNode(e,!1))&&(s=i),s>=0){var a=0===s?o.tabbableGroups.length-1:s-1;n=o.tabbableGroups[a].lastTabbableNode;}}else{var l=U(o.tabbableGroups,function(t){var n=t.lastTabbableNode;return e===n;});if(l<0&&(r.container===e||N(e)&&!D(e)&&!r.nextTabbableNode(e))&&(l=i),l>=0){var d=l===o.tabbableGroups.length-1?0:l+1;n=o.tabbableGroups[d].firstTabbableNode;}}}else n=c("fallbackFocus");n&&(t.preventDefault(),h(n));}(t);},v=function(t){if(!W(r.clickOutsideDeactivates,t)){var e=z(t);a(e)||W(r.allowOutsideClick,t)||(t.preventDefault(),t.stopImmediatePropagation());}},g=function(){if(o.active)return q.activateTrap(n),o.delayInitialFocusTimer=r.delayInitialFocus?H(function(){h(l());}):h(l()),i.addEventListener("focusin",p,!0),i.addEventListener("mousedown",f,{capture:!0,passive:!1}),i.addEventListener("touchstart",f,{capture:!0,passive:!1}),i.addEventListener("click",v,{capture:!0,passive:!1}),i.addEventListener("keydown",m,{capture:!0,passive:!1}),n;},y=function(){if(o.active)return i.removeEventListener("focusin",p,!0),i.removeEventListener("mousedown",f,!0),i.removeEventListener("touchstart",f,!0),i.removeEventListener("click",v,!0),i.removeEventListener("keydown",m,!0),n;};return (n={activate:function(t){if(o.active)return this;var e=s(t,"onActivate"),n=s(t,"onPostActivate"),r=s(t,"checkCanFocusTrap");r||u(),o.active=!0,o.paused=!1,o.nodeFocusedBeforeActivation=i.activeElement,e&&e();var a=function(){r&&u(),g(),n&&n();};return r?(r(o.containers.concat()).then(a,a),this):(a(),this);},deactivate:function(t){if(!o.active)return this;clearTimeout(o.delayInitialFocusTimer),o.delayInitialFocusTimer=void 0,y(),o.active=!1,o.paused=!1,q.deactivateTrap(n);var e=s(t,"onDeactivate"),i=s(t,"onPostDeactivate"),r=s(t,"checkCanReturnFocus");e&&e();var a=s(t,"returnFocus","returnFocusOnDeactivate"),c=function(){H(function(){a&&h(d(o.nodeFocusedBeforeActivation)),i&&i();});};return a&&r?(r(d(o.nodeFocusedBeforeActivation)).then(c,c),this):(c(),this);},pause:function(){return o.paused||!o.active?this:(o.paused=!0,y(),this);},unpause:function(){return o.paused&&o.active?(o.paused=!1,u(),g(),this):this;},updateContainerElements:function(t){var e=[].concat(t).filter(Boolean);return o.containers=e.map(function(t){return "string"==typeof t?i.querySelector(t):t;}),o.active&&u(),this;}}).updateContainerElements(t),n;},V=n(2),K=n.n(V);function G(){return Math.random().toString(16).slice(-4);}function X({icon:t,title:e,desc:n,classes:i=[],id:r,paths:o,viewBox:s="0 0 200 200"}){const a=[],c="http://www.w3.org/2000/svg",l=r||G();i.push("icon","icon--".concat(t));const u=document.createElementNS(c,"svg");if(u.setAttributeNS(null,"viewBox",s),u.setAttributeNS(null,"class",i.join(" ")),u.setAttributeNS(null,"id","icon-".concat(l)),e){u.setAttributeNS(null,"role",e&&"img"),a.push("title-".concat(l));const t=document.createElementNS(c,"title");t.setAttributeNS(null,"id","title-".concat(l)),t.appendChild(document.createTextNode(e)),u.appendChild(t);}if(n){a.push("desc-".concat(l));const t=document.createElementNS(c,"desc");t.setAttributeNS(null,"id","desc-".concat(l)),t.appendChild(document.createTextNode(n)),u.appendChild(t);}if(a.length>0?u.setAttributeNS(null,"aria-labelledby",a.join(" ")):u.setAttributeNS(null,"aria-hidden","true"),o)Array.isArray(o)&&o.forEach((t)=>{const e=document.createElementNS(c,"path");e.setAttributeNS("","d",t),u.appendChild(e);});else{const e=document.createElementNS(c,"use");e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href","#icon-".concat(t)),u.appendChild(e),u.appendChild(document.createComment(" "));}return u;}function Q(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable;})),n.push.apply(n,i);}return n;}function Z(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t;}class J{constructor(t,e={}){this.$el=t,this.id=e.id||"slider".concat(G()),this.options=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
43e%2?Q(n,!0).forEach(function(e){Z(t,e,n[e]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Q(n).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e));});}return t;}({loop:this.$el.dataset.loop||!0,buttons:this.$el.dataset.buttons||!0,dots:this.$el.dataset.dots||!0,autoplay:Boolean(this.$el.dataset.autoplay)||!1,autoplayDelay:Number(this.$el.dataset.autoplayDelay)||1e3,tabbableSlides:!0,controlText:this.$el.dataset.controlText||"Go to slide",sliderFrame:"slider__items",sliderItem:"slider__item",iconPrev:"caret-left",iconNext:"caret-right"},e),this.$sliderFrame=this.$el.querySelector(".".concat(this.options.sliderFrame)),this.$sliderItems=this.$el.querySelectorAll(".".concat(this.options.sliderItem)),this.slideCount=this.$sliderItems.length,this.$sliderFrame?this.$sliderItems.length>0?this.initSlider():console.error("There are no items .".concat(this.options.sliderItem,"!")):console.error(".".concat(this.options.sliderFrame," does not exist."));}initClasses(){this.classes={slider:"slider",sliderFrame:"slider__items",sliderItem:"slider__item",sliderButtonFrame:"slider__buttons",sliderButton:"slider__button",sliderDotFrame:"slider__dots",sliderDot:"slider__dot"},this.$el.classList.add(this.classes.slider),this.$sliderFrame.classList.add(this.classes.sliderFrame),this.$sliderItems.forEach((t,e)=>{t.classList.add(this.classes.sliderItem),t.setAttribute("id","".concat(this.id,"-slide").concat(e));});}initSlider(){this.initClasses(),this.$sliderItems.forEach((t,e)=>{this.options.tabbableSlides&&t.setAttribute("tabindex",0),!0===this.options.buttons&&this.$sliderItems.length>1&&this.initButtons(t,e);}),!0===this.options.dots&&this.$sliderItems.length>1&&this.initDots(),this.options.autoplay&&(this.$sliderFrame.addEventListener("mousedown",this.disableAutoplay.bind(this)),this.$sliderFrame.addEventListener("touchstart",this.disableAutoplay.bind(this)),window.addEventListener("mouseup",this.enableAutoplay.bind(this)),window.addEventListener("touchend",this.enableAutoplay.bind(this)),this.enableAutoplay(this.options.autoplayDelay));}createButton(t,e){const n=(t)=>({prev:t.previousElementSibling?t.previousElementSibling.id:this.$sliderFrame.querySelector(".".concat(this.options.sliderItem,":last-child")).id,next:t.nextElementSibling?t.nextElementSibling.id:this.$sliderFrame.querySelector(".".concat(this.options.sliderItem,":first-child")).id}),i=["icon-button",this.classes.sliderButton,"".concat(this.classes.sliderButton,"--").concat(e)],r=Array.from(this.$sliderItems).indexOf(t);let o=0;return "prev"===e?o=0===r?this.slideCount-1:r-1:"next"===e&&(o=r===this.slideCount-1?0:r+1),K()("a.".concat(i.join(".")),{href:"#".concat("prev"===e?n(t).prev:n(t).next),title:"".concat(this.options.controlText," ").concat(((t,e)=>t-Math.floor(t/e)*e)("prev"===e?r+1:r-1,this.$sliderItems.length)+1),attrs:{"aria-hidden":this.options.tabbableSlides&&!0,"data-slideTo":o,tabindex:this.options.tabbableSlides?-1:0}},[X({icon:"prev"===e?this.options.iconPrev:this.options.iconNext,classes:["".concat(this.classes.sliderButton,"-icon")]})]);}initButtons(t,e){this.$buttonFrame=K()("div.".concat(this.classes.sliderButtonFrame));const n=this.createButton(t,"prev"),i=this.createButton(t,"next");n.addEventListener("click",(t)=>{const e=t.target.closest(".slider__button");this.scrollToSlide(e.getAttribute("data-slideto")),t.preventDefault();}),i.addEventListener("click",(t)=>{const e=t.target.closest(".slider__button");this.scrollToSlide(e.getAttribute("data-slideto")),t.preventDefault();}),(!0===this.options.loop||e>0)&&this.$buttonFrame.append(n),(!0===this.options.loop||e+1<this.$sliderItems.length)&&this.$buttonFrame.append(i),t.append(this.$buttonFrame);}initDots(){this.$sliderDotList=K()("ul.".concat(this.classes.sliderDotFrame,"-list")),this.$sliderItems.forEach((t,e)=>{const n=K()("li.".concat(this.classes.sliderDotFrame,"-item"),K()("a.".concat(this.classes.sliderDot),{attrs:{href:"#".concat(t.id),"aria-current":0===e&&"true","data-slideTo":e}},K()("span.u-hidden-visually","".concat(this.options.controlText," ").concat(e+1))));n.addEventListener("click",(t)=>{const e=t.target.closest(".slider__dot");
43this.scrollToSlide(e.getAttribute("data-slideto")),t.preventDefault();}),this.$sliderDotList.append(n);}),this.$sliderFrame.addEventListener("scroll",()=>{const t=Math.round(this.$sliderFrame.scrollLeft/this.$sliderFrame.clientWidth);this.switchDot(this.$sliderDotList.childNodes[t].lastElementChild);},{passive:!0}),this.$sliderDotFrame=K()("nav.".concat(this.classes.sliderDotFrame),this.$sliderDotList),this.$el.append(this.$sliderDotFrame);}switchDot(t){this.$sliderDotList.querySelectorAll(".".concat(this.classes.sliderDot)).forEach((e)=>{e.removeAttribute("aria-current"),e===t&&e.setAttribute("aria-current","true");});}scrollToSlide(t){const e=this.$sliderItems.length*this.$sliderFrame.clientWidth,n=(e+this.$sliderFrame.clientWidth*t)%e;return this.$sliderFrame.scrollLeft=n,n;}enableAutoplay(){this.autoplayTimer||(this.autoplayTimer=setInterval(()=>{const t=Math.floor(this.$sliderItems.length*this.$sliderFrame.scrollLeft/this.$sliderFrame.scrollWidth);this.scrollToSlide(t+1);},this.options.autoplayDelay));}disableAutoplay(){this.autoplayTimer&&(clearInterval(this.autoplayTimer),this.autoplayTimer=null);}}function tt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable;})),n.push.apply(n,i);}return n;}function et(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t;}class nt{constructor(t,e={}){this.$trigger=t,this.$content=this.$trigger.getAttribute("aria-controls"),this.classes=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?tt(n,!0).forEach(function(e){et(t,e,n[e]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):tt(n).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e));});}return t;}({dialogTemplate:"dialog-template",dialog:"dialog",content:"dialog__content",closeButton:"dialog__button--close",slider:"dialog-content__slider",sliderFrame:"dialog-content__slider-items",sliderItem:"dialog-content__slider-item"},e),this.initDialog();}initDialog(){const t=document.querySelector(".".concat(this.classes.dialogTemplate));this.$dialogElement=t&&t.content?document.importNode(t.content,!0).querySelector(".".concat(this.classes.dialog)):document.querySelector(".".concat(this.classes.dialog)),this.$dialogElement.querySelector(".".concat(this.classes.closeButton)).addEventListener("click",()=>this.closeDialog()),this.$dialogContent=this.$dialogElement.querySelector(".".concat(this.classes.content)),this.focusTrap=Y(this.$dialogElement,{escapeDeactivates:!1,clickOutsideDeactivates:!0}),this.$trigger.addEventListener("click",()=>{this.openDialog(this.$content);}),this.closeOnEscape=(t)=>{"Escape"===t.key&&this.closeDialog();};}loadTarget(t=!1){const e=t?document.querySelector("#".concat(t)):console.warn("Missing target content template"),n=!!e&&document.importNode(e,!0);n&&(this.$dialogContent.innerHTML="",n.removeAttribute("hidden"),this.$dialogContent.appendChild(n)),this.$dialogContent.querySelector(".".concat(this.classes.slider))&&(this.slider=new J(this.$dialogContent,{id:"".concat(t,"-slider"),sliderFrame:this.classes.sliderFrame,sliderItem:this.classes.sliderItem}));}openDialog(t){this.loadTarget(t),document.body.appendChild(this.$dialogElement),document.addEventListener("keyup",this.closeOnEscape),S(this.$dialogElement),this.focusTrap.activate(),this.$trigger.dataset.slide&&(location.hash=this.$trigger.dataset.slide);}closeDialog(){document.body.removeChild(this.$dialogElement),document.removeEventListener("keyup",this.closeOnEscape),O(this.$dialogElement),this.focusTrap.deactivate(),this.$dialogContent.innerHTML="",this.$trigger.dataset.slide&&(location.hash="");}}document.querySelectorAll(".js-dialog-trigger").forEach((t)=>new nt(t));class it{constructor(){const t=window.MutationObserver||window.WebKitMutationObserver;this.watch=(e,n)=>{if(t){const i=new t(n);return i.observe(e,{childList:!0,subtree:!0}),i;}return e.addEventListener("DOMNodeInserted",n,!1),e.addEventListener("DOMNodeRemoved",n,!1),null;};}}const rt={classes:{element:"js-overlay-link",initializedModifier:"overlay-link--initialized",hoverModifier:"active-overlay"},cursorStyle:"pointer"};function ot(){const {element:t,initializedModifier:e}=rt.classes;document.querySelectorAll(".".concat(t,":not(.").concat(e,")")).forEac
43h((t)=>{const e=t.closest(".".concat(t.dataset.overlayTarget));let n,i;e&&(e.addEventListener("mouseover",()=>{e.classList.add(rt.classes.hoverModifier),e.style.cursor=rt.cursorStyle;}),e.addEventListener("mouseout",()=>{e.classList.remove(rt.classes.hoverModifier),e.removeAttribute("style");}),e.addEventListener("mousedown",(t)=>{n=t.clientX,i=t.clientY;}),e.addEventListener("mouseup",(e)=>{if(2===e.button)return;const r=Math.hypot(e.clientX-n,e.clientY-i),o=String(window.getSelection()).length>0;r<10&&!o&&t.click();}),t.addEventListener("click",(e)=>{e.target!==t&&e.preventDefault();}),t.classList.add(rt.classes.initializedModifier));});}function st(t){return t.includes("?")?t.split("?")[0]:t.includes("/")?t.split("/")[0]:t.includes("&")?t.split("&")[0]:t;}function at(t){var e=t;e=(e=e.replace(/#t=.*$/,"")).replace(/^https?:\/\//,"");var n=/youtube:\/\/|youtu\.be\/|y2u\.be\//g;if(n.test(e))return st(e.split(n)[1]);var i=/\/shorts\//g;if(i.test(e))return st(e.split(i)[1]);var r=/\/v\/|\/vi\//g;if(r.test(e))return st(e.split(r)[1]);var o=/v=|vi=/g;if(o.test(e))return st(e.split(o)[1].split("&")[0]);var s=/\/an_webp\//g;if(s.test(e))return st(e.split(s)[1]);var a=/\/e\//g;if(a.test(e))return st(e.split(a)[1]);var c=/\/embed\//g;if(c.test(e))return st(e.split(c)[1]);if(!/\/user\/([a-zA-Z\d]*)$/g.test(e)){if(/\/user\/(?!.*videos)/g.test(e))return st(e.split("/").pop());var l=/\/attribution_link\?.*v%3D([^%&]*)(%26|&|$)/;return l.test(e)?st(e.match(l)[1]):void 0;}}function ct(t,e){return function(t){if(Array.isArray(t))return t;}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==n)return;var i,r,o=[],s=!0,a=!1;try{for(n=n.call(t);!(s=(i=n.next()).done)&&(o.push(i.value),!e||o.length!==e);s=!0);}catch(t){a=!0,r=t;}finally{try{s||null==n.return||n.return();}finally{if(a)throw r;}}return o;}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return lt(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return lt(t,e);}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}();}function lt(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i;}function ut(t){var e,n,i=t;if(i.includes("#")){var r=i.split("#");i=ct(r,1)[0];}if(i.includes("?")&&!i.includes("clip_id=")){var o=i.split("?");i=ct(o,1)[0];}var s=/https?:\/\/vimeo\.com\/event\/(\d+)$/.exec(i);if(s&&s[1])return s[1];var a=/https?:\/\/vimeo\.com\/(\d+)/.exec(i);if(a&&a[1])return a[1];var c=["https?://player.vimeo.com/video/[0-9]+$","https?://vimeo.com/channels","groups","album"].join("|");if(new RegExp(c,"gim").test(i))(n=i.split("/"))&&n.length>0&&(e=n.pop());else{if(/clip_id=/gim.test(i))if((n=i.split("clip_id="))&&n.length>0)e=ct(n[1].split("&"),1)[0];}return e;}function ht(t){var e=/https:\/\/vine\.co\/v\/([a-zA-Z\d]*)\/?/.exec(t);if(e&&e.length>1)return e[1];}function dt(t){var e;if(t.includes("embed"))return e=/embed\/(\w{8})/,t.match(e)[1];e=/\/v\/(\w{8})/;var n=t.match(e);return n&&n.length>0?n[1]:void 0;}function ft(t){var e=(t.includes("embed")?/https:\/\/web\.microsoftstream\.com\/embed\/video\/([a-zA-Z\d-]*)\/?/:/https:\/\/web\.microsoftstream\.com\/video\/([a-zA-Z\d-]*)\/?/).exec(t);if(e&&e.length>1)return e[1];}function pt(t){var e=/tiktok\.com(.*)\/video\/(\d+)/gm.exec(t);if(e&&e.length>2)return e[2];}function mt(t){var e=/dailymotion\.com(.*)(video)\/([a-zA-Z\d]+)/gm.exec(t);if(e)return e[3];var n=/dai\.ly\/([a-zA-Z\d]+)/gm.exec(t);if(n&&n.length>1)return n[1];var i=/dailymotion\.com(.*)video=([a-zA-Z\d]+)/gm.exec(t);return i&&i.length>2?i[2]:void 0;}(new it()).watch(document,()=>{ot();}),ot();var vt=function(t){if("string"!=typeof t)throw new TypeError("get-video-id expects a string");var e=t;/<iframe/gi.test(e)&&(e=function(t){if("string"!=typeof t)throw new TypeError("getSrc expected a string");var e=/src="(.*?)"/gm.exec(t);if(e&&e.length>=2)return e[1];}(e)),e=(e=(e=e.trim()).replace("-nocookie","")).replace("/www.","/");
43var n={id:null,service:null};if(/\/\/google/.test(e)){var i=e.match(/url=([^&]+)&/);i&&(e=decodeURIComponent(i[1]));}return /youtube|youtu\.be|y2u\.be|i.ytimg\./.test(e)?n={id:at(e),service:"youtube"}:/vimeo/.test(e)?n={id:ut(e),service:"vimeo"}:/vine/.test(e)?n={id:ht(e),service:"vine"}:/videopress/.test(e)?n={id:dt(e),service:"videopress"}:/microsoftstream/.test(e)?n={id:ft(e),service:"microsoftstream"}:/tiktok\.com/.test(e)?n={id:pt(e),service:"tiktok"}:/(dailymotion\.com|dai\.ly)/.test(e)&&(n={id:mt(e),service:"dailymotion"}),n;};var gt=(t)=>{const e=t.getAttribute("data-url"),{id:n,service:i}=vt(e);let r=null;n&&"youtube"===i?r=K()("iframe.video__iframe.cmplazyload",{src:"about:blank","data-cmp-src":"https://www.youtube-nocookie.com/embed/".concat(n,"?rel=0&autoplay=0"),"data-cmp-vendor":"s30","data-cmp-purpose":"c56",allow:"fullscreen; accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"}):n&&"vimeo"===i&&(r=K()("iframe.video__iframe.cmplazyload",{"data-cmp-src":"https://player.vimeo.com/video/".concat(n),"data-cmp-vendor":"s77","data-cmp-purpose":"c56",src:"about:blank",allow:"autoplay; fullscreen; picture-in-picture"})),r&&t.appendChild(r);};function yt(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window;}return t;}function bt(t){return t instanceof yt(t).Element||t instanceof Element;}function Et(t){return t instanceof yt(t).HTMLElement||t instanceof HTMLElement;}function _t(t){return "undefined"!=typeof ShadowRoot&&(t instanceof yt(t).ShadowRoot||t instanceof ShadowRoot);}document.querySelectorAll(".video__player[data-url]").forEach((t)=>{const e=t.querySelector(".video__poster"),n=e.querySelector(".video__poster-button");n&&n.addEventListener("click",()=>{gt(t),t.removeChild(e);});});var wt=Math.max,St=Math.min,Ot=Math.round;function Lt(t,e){void 0===e&&(e=!1);var n=t.getBoundingClientRect(),i=1,r=1;if(Et(t)&&e){var o=t.offsetHeight,s=t.offsetWidth;s>0&&(i=Ot(n.width)/s||1),o>0&&(r=Ot(n.height)/o||1);}return {width:n.width/i,height:n.height/r,top:n.top/r,right:n.right/i,bottom:n.bottom/r,left:n.left/i,x:n.left/i,y:n.top/r};}function xt(t){var e=yt(t);return {scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset};}function Tt(t){return t?(t.nodeName||"").toLowerCase():null;}function Ct(t){return ((bt(t)?t.ownerDocument:t.document)||window.document).documentElement;}function At(t){return Lt(Ct(t)).left+xt(t).scrollLeft;}function It(t){return yt(t).getComputedStyle(t);}function Pt(t){var e=It(t),n=e.overflow,i=e.overflowX,r=e.overflowY;return /auto|scroll|overlay|hidden/.test(n+r+i);}function jt(t,e,n){void 0===n&&(n=!1);var i,r,o=Et(e),s=Et(e)&&function(t){var e=t.getBoundingClientRect(),n=Ot(e.width)/t.offsetWidth||1,i=Ot(e.height)/t.offsetHeight||1;return 1!==n||1!==i;}(e),a=Ct(e),c=Lt(t,s),l={scrollLeft:0,scrollTop:0},u={x:0,y:0};return (o||!o&&!n)&&(("body"!==Tt(e)||Pt(a))&&(l=(i=e)!==yt(i)&&Et(i)?{scrollLeft:(r=i).scrollLeft,scrollTop:r.scrollTop}:xt(i)),Et(e)?((u=Lt(e,!0)).x+=e.clientLeft,u.y+=e.clientTop):a&&(u.x=At(a))),{x:c.left+l.scrollLeft-u.x,y:c.top+l.scrollTop-u.y,width:c.width,height:c.height};}function kt(t){var e=Lt(t),n=t.offsetWidth,i=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-i)<=1&&(i=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:i};}function Mt(t){return "html"===Tt(t)?t:t.assignedSlot||t.parentNode||(_t(t)?t.host:null)||Ct(t);}function Dt(t,e){var n;void 0===e&&(e=[]);var i=function t(e){return ["html","body","#document"].indexOf(Tt(e))>=0?e.ownerDocument.body:Et(e)&&Pt(e)?e:t(Mt(e));}(t),r=i===(null==(n=t.ownerDocument)?void 0:n.body),o=yt(i),s=r?[o].concat(o.visualViewport||[],Pt(i)?i:[]):i,a=e.concat(s);return r?a:a.concat(Dt(Mt(s)));}function $t(t){return ["table","td","th"].indexOf(Tt(t))>=0;}function Nt(t){return Et(t)&&"fixed"!==It(t).position?t.offsetParent:null;}function Rt(t){for(var e=yt(t),n=Nt(t);n&&$t(n)&&"static"===It(n).position;)n=Nt(n);return n&&("html"===Tt(n)||"body"===Tt(n)&&"static"===It(n).position)?e:n||function(t){var e=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&Et(t)&&"fixed"===It(t).position)return null;var n=Mt(t);for(_t(n)&&(n=n.host);Et(n)&&["html","body"].indexOf(Tt(n))<0;){var i=It(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||e&&"filter"===i.willChange||e&&i.filter&&"none"!==i.filter)return n;n=n.parentNode;}return null;}(t)||e;}var Bt="top",Ft="bottom",qt="right",Ht="left",Ut="auto",Wt=[Bt,Ft,qt,Ht],zt="start",Yt="end",Vt="clippingParents",Kt="viewport",Gt="popper",Xt="reference",Qt=Wt.reduce(function(t,e){return t.concat([e+"-"+zt,e+"-"+Yt]);},[]),Zt=[].concat(Wt,[Ut]).reduce(function(t,e){return t.concat([e,e+"-"+zt,e+"-"+Yt]);},[]),Jt=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function te(t){var e=new Map(),n=new Set(),i=[];return t.forEach(function(t){e.set(t.name,t);}),t.forEach(function(t){n.has(t.name)||function t(r){n.add(r.name),[].concat(r.requires||[],r.requiresIfExists||[]).forEac
43h(function(i){if(!n.has(i)){var r=e.get(i);r&&t(r);}}),i.push(r);}(t);}),i;}var ee={placement:"bottom",modifiers:[],strategy:"absolute"};function ne(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return !e.some(function(t){return !(t&&"function"==typeof t.getBoundingClientRect);});}function ie(t){void 0===t&&(t={});var e=t,n=e.defaultModifiers,i=void 0===n?[]:n,r=e.defaultOptions,o=void 0===r?ee:r;return function(t,e,n){void 0===n&&(n=o);var r,s,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},ee,o),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},c=[],l=!1,u={state:a,setOptions:function(n){var r="function"==typeof n?n(a.options):n;h(),a.options=Object.assign({},o,a.options,r),a.scrollParents={reference:bt(t)?Dt(t):t.contextElement?Dt(t.contextElement):[],popper:Dt(e)};var s=function(t){var e=te(t);return Jt.reduce(function(t,n){return t.concat(e.filter(function(t){return t.phase===n;}));},[]);}(function(t){var e=t.reduce(function(t,e){var n=t[e.name];return t[e.name]=n?Object.assign({},n,e,{options:Object.assign({},n.options,e.options),data:Object.assign({},n.data,e.data)}):e,t;},{});return Object.keys(e).map(function(t){return e[t];});}([].concat(i,a.options.modifiers)));return a.orderedModifiers=s.filter(function(t){return t.enabled;}),a.orderedModifiers.forEach(function(t){var e=t.name,n=t.options,i=void 0===n?{}:n,r=t.effect;if("function"==typeof r){var o=r({state:a,name:e,instance:u,options:i});c.push(o||function(){});}}),u.update();},forceUpdate:function(){if(!l){var t=a.elements,e=t.reference,n=t.popper;if(ne(e,n)){a.rects={reference:jt(e,Rt(n),"fixed"===a.options.strategy),popper:kt(n)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach(function(t){return a.modifiersData[t.name]=Object.assign({},t.data);});for(var i=0;i<a.orderedModifiers.length;i++)if(!0!==a.reset){var r=a.orderedModifiers[i],o=r.fn,s=r.options,c=void 0===s?{}:s,h=r.name;"function"==typeof o&&(a=o({state:a,options:c,name:h,instance:u})||a);}else a.reset=!1,i=-1;}}},update:(r=function(){return new Promise(function(t){u.forceUpdate(),t(a);});},function(){return s||(s=new Promise(function(t){Promise.resolve().then(function(){s=void 0,t(r());});})),s;}),destroy:function(){h(),l=!0;}};if(!ne(t,e))return u;function h(){c.forEach(function(t){return t();}),c=[];}return u.setOptions(n).then(function(t){!l&&n.onFirstUpdate&&n.onFirstUpdate(t);}),u;};}var re={passive:!0};function oe(t){return t.split("-")[0];}function se(t){return t.split("-")[1];}function ae(t){return ["top","bottom"].indexOf(t)>=0?"x":"y";}function ce(t){var e,n=t.reference,i=t.element,r=t.placement,o=r?oe(r):null,s=r?se(r):null,a=n.x+n.width/2-i.width/2,c=n.y+n.height/2-i.height/2;switch(o){case Bt:e={x:a,y:n.y-i.height};break;case Ft:e={x:a,y:n.y+n.height};break;case qt:e={x:n.x+n.width,y:c};break;case Ht:e={x:n.x-i.width,y:c};break;default:e={x:n.x,y:n.y};}var l=o?ae(o):null;if(null!=l){var u="y"===l?"height":"width";switch(s){case zt:e[l]=e[l]-(n[u]/2-i[u]/2);break;case Yt:e[l]=e[l]+(n[u]/2-i[u]/2);}}return e;}var le={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ue(t){var e,n=t.popper,i=t.popperRect,r=t.placement,o=t.variation,s=t.offsets,a=t.position,c=t.gpuAcceleration,l=t.adaptive,u=t.roundOffsets,h=t.isFixed,d=s.x,f=void 0===d?0:d,p=s.y,m=void 0===p?0:p,v="function"==typeof u?u({x:f,y:m}):{x:f,y:m};f=v.x,m=v.y;var g=s.hasOwnProperty("x"),y=s.hasOwnProperty("y"),b=Ht,E=Bt,_=window;if(l){var w=Rt(n),S="clientHeight",O="clientWidth";if(w===yt(n)&&"static"!==It(w=Ct(n)).position&&"absolute"===a&&(S="scrollHeight",O="scrollWidth"),w=w,r===Bt||(r===Ht||r===qt)&&o===Yt)E=Ft,m-=(h&&w===_&&_.visualViewport?_.visualViewport.height:w[S])-i.height,m*=c?1:-1;if(r===Ht||(r===Bt||r===Ft)&&o===Yt)b=qt,f-=(h&&w===_&&_.visualViewport?_.visualViewport.width:w[O])-i.width,f*=c?1:-1;}var L,x=Object.assign({position:a},l&&le),T=!0===u?function(t){var e=t.x,n=t.y,i=window.devicePixelRatio||1;return {x:Ot(e*i)/i||0,y:Ot(n*i)/i||0};}({x:f,y:m}):{x:f,y:m};return f=T.x,m=T.y,c?Object.assign({},x,((L={})[E]=y?"0":"",L[b]=g?"0":"",L.transform=(_.devicePixelRatio||1)<=1?"translate("+f+"px, "+m+"px)":"translate3d("+f+"px, "+m+"px, 0)",L)):Object.assign({},x,((e={})[E]=y?m+"px":"",e[b]=g?f+"px":"",e.transform="",e));}
43var he={left:"right",right:"left",bottom:"top",top:"bottom"};function de(t){return t.replace(/left|right|bottom|top/g,function(t){return he[t];});}var fe={start:"end",end:"start"};function pe(t){return t.replace(/start|end/g,function(t){return fe[t];});}function me(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return !0;if(n&&_t(n)){var i=e;do{if(i&&t.isSameNode(i))return !0;i=i.parentNode||i.host;}while(i);}return !1;}function ve(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height});}function ge(t,e){return e===Kt?ve(function(t){var e=yt(t),n=Ct(t),i=e.visualViewport,r=n.clientWidth,o=n.clientHeight,s=0,a=0;return i&&(r=i.width,o=i.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(s=i.offsetLeft,a=i.offsetTop)),{width:r,height:o,x:s+At(t),y:a};}(t)):bt(e)?function(t){var e=Lt(t);return e.top=e.top+t.clientTop,e.left=e.left+t.clientLeft,e.bottom=e.top+t.clientHeight,e.right=e.left+t.clientWidth,e.width=t.clientWidth,e.height=t.clientHeight,e.x=e.left,e.y=e.top,e;}(e):ve(function(t){var e,n=Ct(t),i=xt(t),r=null==(e=t.ownerDocument)?void 0:e.body,o=wt(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),s=wt(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),a=-i.scrollLeft+At(t),c=-i.scrollTop;return "rtl"===It(r||n).direction&&(a+=wt(n.clientWidth,r?r.clientWidth:0)-o),{width:o,height:s,x:a,y:c};}(Ct(t)));}function ye(t,e,n){var i="clippingParents"===e?function(t){var e=Dt(Mt(t)),n=["absolute","fixed"].indexOf(It(t).position)>=0&&Et(t)?Rt(t):t;return bt(n)?e.filter(function(t){return bt(t)&&me(t,n)&&"body"!==Tt(t);}):[];}(t):[].concat(e),r=[].concat(i,[n]),o=r[0],s=r.reduce(function(e,n){var i=ge(t,n);return e.top=wt(i.top,e.top),e.right=St(i.right,e.right),e.bottom=St(i.bottom,e.bottom),e.left=wt(i.left,e.left),e;},ge(t,o));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s;}function be(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t);}function Ee(t,e){return e.reduce(function(e,n){return e[n]=t,e;},{});}function _e(t,e){void 0===e&&(e={});var n=e,i=n.placement,r=void 0===i?t.placement:i,o=n.boundary,s=void 0===o?Vt:o,a=n.rootBoundary,c=void 0===a?Kt:a,l=n.elementContext,u=void 0===l?Gt:l,h=n.altBoundary,d=void 0!==h&&h,f=n.padding,p=void 0===f?0:f,m=be("number"!=typeof p?p:Ee(p,Wt)),v=u===Gt?Xt:Gt,g=t.rects.popper,y=t.elements[d?v:u],b=ye(bt(y)?y:y.contextElement||Ct(t.elements.popper),s,c),E=Lt(t.elements.reference),_=ce({reference:E,element:g,strategy:"absolute",placement:r}),w=ve(Object.assign({},g,_)),S=u===Gt?w:E,O={top:b.top-S.top+m.top,bottom:S.bottom-b.bottom+m.bottom,left:b.left-S.left+m.left,right:S.right-b.right+m.right},L=t.modifiersData.offset;if(u===Gt&&L){var x=L[r];Object.keys(O).forEach(function(t){var e=[qt,Ft].indexOf(t)>=0?1:-1,n=[Bt,Ft].indexOf(t)>=0?"y":"x";O[t]+=x[n]*e;});}return O;}function we(t,e,n){return wt(t,St(e,n));}var Se=function(t,e){return be("number"!=typeof (t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:Ee(t,Wt));};function Oe(t,e,n){return void 0===n&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x};}function Le(t){return [Bt,qt,Ft,Ht].some(function(e){return t[e]>=0;});}var xe=ie({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,n=t.instance,i=t.options,r=i.scroll,o=void 0===r||r,s=i.resize,a=void 0===s||s,c=yt(e.elements.popper),l=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&l.forEach(function(t){t.addEventListener("scroll",n.update,re);}),a&&c.addEventListener("resize",n.update,re),function(){o&&l.forEach(function(t){t.removeEventListener("scroll",n.update,re);}),a&&c.removeEventListener("resize",n.update,re);};},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,n=t.name;e.modifiersData[n]=ce({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement});},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,n=t.options,i=n.gpuAcceleration,r=void 0===i||i,o=n.adaptive,s=void 0===o||o,a=n.roundOffsets,c=void 0===a||a,l={placement:oe(e.placement),variation:se(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:r,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,ue(Object.assign({},l,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:s,roundOffsets:c})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,ue(Object.assign({},l,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement});},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;
43Object.keys(e.elements).forEach(function(t){var n=e.styles[t]||{},i=e.attributes[t]||{},r=e.elements[t];Et(r)&&Tt(r)&&(Object.assign(r.style,n),Object.keys(i).forEach(function(t){var e=i[t];!1===e?r.removeAttribute(t):r.setAttribute(t,!0===e?"":e);}));});},effect:function(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach(function(t){var i=e.elements[t],r=e.attributes[t]||{},o=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:n[t]).reduce(function(t,e){return t[e]="",t;},{});Et(i)&&Tt(i)&&(Object.assign(i.style,o),Object.keys(r).forEach(function(t){i.removeAttribute(t);}));});};},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,n=t.options,i=t.name,r=n.offset,o=void 0===r?[0,0]:r,s=Zt.reduce(function(t,n){return t[n]=function(t,e,n){var i=oe(t),r=[Ht,Bt].indexOf(i)>=0?-1:1,o="function"==typeof n?n(Object.assign({},e,{placement:t})):n,s=o[0],a=o[1];return s=s||0,a=(a||0)*r,[Ht,qt].indexOf(i)>=0?{x:a,y:s}:{x:s,y:a};}(n,e.rects,o),t;},{}),a=s[e.placement],c=a.x,l=a.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=c,e.modifiersData.popperOffsets.y+=l),e.modifiersData[i]=s;}},{name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,i=t.name;if(!e.modifiersData[i]._skip){for(var r=n.mainAxis,o=void 0===r||r,s=n.altAxis,a=void 0===s||s,c=n.fallbackPlacements,l=n.padding,u=n.boundary,h=n.rootBoundary,d=n.altBoundary,f=n.flipVariations,p=void 0===f||f,m=n.allowedAutoPlacements,v=e.options.placement,g=oe(v),y=c||(g!==v&&p?function(t){if(oe(t)===Ut)return [];var e=de(t);return [pe(t),e,pe(e)];}(v):[de(v)]),b=[v].concat(y).reduce(function(t,n){return t.concat(oe(n)===Ut?function(t,e){void 0===e&&(e={});var n=e,i=n.placement,r=n.boundary,o=n.rootBoundary,s=n.padding,a=n.flipVariations,c=n.allowedAutoPlacements,l=void 0===c?Zt:c,u=se(i),h=u?a?Qt:Qt.filter(function(t){return se(t)===u;}):Wt,d=h.filter(function(t){return l.indexOf(t)>=0;});0===d.length&&(d=h);var f=d.reduce(function(e,n){return e[n]=_e(t,{placement:n,boundary:r,rootBoundary:o,padding:s})[oe(n)],e;},{});return Object.keys(f).sort(function(t,e){return f[t]-f[e];});}(e,{placement:n,boundary:u,rootBoundary:h,padding:l,flipVariations:p,allowedAutoPlacements:m}):n);},[]),E=e.rects.reference,_=e.rects.popper,w=new Map(),S=!0,O=b[0],L=0;L<b.length;L++){var x=b[L],T=oe(x),C=se(x)===zt,A=[Bt,Ft].indexOf(T)>=0,I=A?"width":"height",P=_e(e,{placement:x,boundary:u,rootBoundary:h,altBoundary:d,padding:l}),j=A?C?qt:Ht:C?Ft:Bt;E[I]>_[I]&&(j=de(j));var k=de(j),M=[];if(o&&M.push(P[T]<=0),a&&M.push(P[j]<=0,P[k]<=0),M.every(function(t){return t;})){O=x,S=!1;break;}w.set(x,M);}if(S)for(var D=function(t){var e=b.find(function(e){var n=w.get(e);if(n)return n.slice(0,t).every(function(t){return t;});});if(e)return O=e,"break";},$=p?3:1;$>0&&"break"!==D($);$--);e.placement!==O&&(e.modifiersData[i]._skip=!0,e.placement=O,e.reset=!0);}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,i=t.name,r=n.mainAxis,o=void 0===r||r,s=n.altAxis,a=void 0!==s&&s,c=n.boundary,l=n.rootBoundary,u=n.altBoundary,h=n.padding,d=n.tether,f=void 0===d||d,p=n.tetherOffset,m=void 0===p?0:p,v=_e(e,{boundary:c,rootBoundary:l,padding:h,altBoundary:u}),g=oe(e.placement),y=se(e.placement),b=!y,E=ae(g),_="x"===E?"y":"x",w=e.modifiersData.popperOffsets,S=e.rects.reference,O=e.rects.popper,L="function"==typeof m?m(Object.assign({},e.rects,{placement:e.placement})):m,x="number"==typeof L?{mainAxis:L,altAxis:L}:Object.assign({mainAxis:0,altAxis:0},L),T=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,C={x:0,y:0};if(w){if(o){var A,I="y"===E?Bt:Ht,P="y"===E?Ft:qt,j="y"===E?"height":"width",k=w[E],M=k+v[I],D=k-v[P],$=f?-O[j]/2:0,N=y===zt?S[j]:O[j],R=y===zt?-O[j]:-S[j],B=e.elements.arrow,F=f&&B?kt(B
43):{width:0,height:0},q=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},H=q[I],U=q[P],W=we(0,S[j],F[j]),z=b?S[j]/2-$-W-H-x.mainAxis:N-W-H-x.mainAxis,Y=b?-S[j]/2+$+W+U+x.mainAxis:R+W+U+x.mainAxis,V=e.elements.arrow&&Rt(e.elements.arrow),K=V?"y"===E?V.clientTop||0:V.clientLeft||0:0,G=null!=(A=null==T?void 0:T[E])?A:0,X=k+Y-G,Q=we(f?St(M,k+z-G-K):M,k,f?wt(D,X):D);w[E]=Q,C[E]=Q-k;}if(a){var Z,J="x"===E?Bt:Ht,tt="x"===E?Ft:qt,et=w[_],nt="y"===_?"height":"width",it=et+v[J],rt=et-v[tt],ot=-1!==[Bt,Ht].indexOf(g),st=null!=(Z=null==T?void 0:T[_])?Z:0,at=ot?it:et-S[nt]-O[nt]-st+x.altAxis,ct=ot?et+S[nt]+O[nt]-st-x.altAxis:rt,lt=f&&ot?function(t,e,n){var i=we(t,e,n);return i>n?n:i;}(at,et,ct):we(f?at:it,et,f?ct:rt);w[_]=lt,C[_]=lt-et;}e.modifiersData[i]=C;}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,n=t.state,i=t.name,r=t.options,o=n.elements.arrow,s=n.modifiersData.popperOffsets,a=oe(n.placement),c=ae(a),l=[Ht,qt].indexOf(a)>=0?"height":"width";if(o&&s){var u=Se(r.padding,n),h=kt(o),d="y"===c?Bt:Ht,f="y"===c?Ft:qt,p=n.rects.reference[l]+n.rects.reference[c]-s[c]-n.rects.popper[l],m=s[c]-n.rects.reference[c],v=Rt(o),g=v?"y"===c?v.clientHeight||0:v.clientWidth||0:0,y=p/2-m/2,b=u[d],E=g-h[l]-u[f],_=g/2-h[l]/2+y,w=we(b,_,E),S=c;n.modifiersData[i]=((e={})[S]=w,e.centerOffset=w-_,e);}},effect:function(t){var e=t.state,n=t.options.element,i=void 0===n?"[data-popper-arrow]":n;null!=i&&("string"!=typeof i||(i=e.elements.popper.querySelector(i)))&&me(e.elements.popper,i)&&(e.elements.arrow=i);},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,n=t.name,i=e.rects.reference,r=e.rects.popper,o=e.modifiersData.preventOverflow,s=_e(e,{elementContext:"reference"}),a=_e(e,{altBoundary:!0}),c=Oe(s,i),l=Oe(a,r,o),u=Le(c),h=Le(l);e.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:l,isReferenceHidden:u,hasPopperEscaped:h},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":h});}}]});function Te(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable;})),n.push.apply(n,i);}return n;}function Ce(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t;}class Ae{constructor(t,e,n){this.$el=t,this.$tooltip=e,this.popper=null,this.config=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Te(n,!0).forEach(function(e){Ce(t,e,n[e]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Te(n).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e));});}return t;}({closeButtonClass:"button.tooltip__close",openOnHover:!0,closeOnFocusOut:!0,placement:this.$el.dataset.placement||"left",orientations:["right","right-start","bottom","left","left-start","top"]},n),this.$close=e.querySelector(this.config.closeButtonClass),this.config.openOnHover&&(this.onMouseenterBinded=this.onMouseenter.bind(this),this.onMouseleaveBinded=this.onMouseleave.bind(this)),this.onClickBinded=this.onClick.bind(this),this.onOutsideClickBinded=this.onOutsideClick.bind(this),this.onTooltipFocusoutBinded=this.onTooltipFocusout.bind(this),this.onCloseClickBinded=this.onCloseClick.bind(this),this.onKeydownBinded=this.onKeydown.bind(this),this.$el.addEventListener("mouseenter",this.onMouseenterBinded),this.$tooltip.addEventListener("mouseenter",this.onMouseenterBinded),this.$el.addEventListener("click",this.onClickBinded),this.$close.addEventListener("click",this.onCloseClickBinded);}create(){this.popper=xe(this.$el,this.$tooltip,{placement:this.config.placement,modifiers:[{name:"flip",options:{fallbackPlacements:this.config.orientations}},{name:"arrow",options:{element:this.$tooltip.querySelector(".tooltip__arrow")}},{name:"offset",options:{offset:[0,10]}}]});}onMouseenter(){this.$el.addEventListener("mouseleave",this.onMouseleaveBinded),this.$tooltip.addEventListener("mouseleave",this.onMouseleaveBinded),this.show();}onMouseleave(){this.$el.removeEventListener("mouseleave",this.onMouseleaveBinded),this.$tooltip.removeEventListener("mouseleave",this.onMouseleaveBinded),this.hide();}onClick(t){t.preventDefault(),this.config.openOnHover&&(this.$el.removeEventListener("mouseleave",this.onMouseleaveBinded),this.$el.removeEventListener("mouseenter",this.onMouseenterBinded)),this.$close.hidden=!1,this.show(),document.addEventListener("click",this.onOutsideClickBinded),this.config.closeOnFocusOut&&this.$tooltip.addEventListener("focusout",this.onTooltipFocusoutBinded),this.config.onClick&&this.config.onClick();}onOutsideClick(t){const e=t.target;this.isInside(e)||this.hideAfterClick();}onTooltipFocusout(t){const e=t.relatedTarget;this.isInside(e)||this.hideAfterClick();}onCloseClick(){this.hideAfterClick(),this.$el.focus();}onKeydown(t){27===t.keyCode&&(t.preventDefault(),this.hide());}show(){this.$tooltip.setAttribute("aria-hidden","false"),this.create(),document.body.addEventListener("keydown",this.onKeydownBinded);}hide(){this.$tooltip.setAttribute("aria-hidden","true"),this.$el.focus(),this.destroy(),document.body.removeEventListener("keydown",this.onKeydownBinded);}destroy(){this.popper&&(this.popper.destroy(),this.popper=null);}hideAfterClick(){this.hide(),this.$close.hidden=!0,document.removeEventListener("click",this.onOutsideClickBinded),this.$tooltip.removeEventListener("focusout",this.onTooltipFocusoutBinded),this.config.openOnHover&&this.$el.addEventListener("mouseenter",this.onMouseenterBinded);}isInside(t){return this.$tooltip.contains(t)||this.$tooltip===t||this.$el.contains(t)||this.$el===t;}}function Ie(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable;})),n.push.apply(n,i);}return n;}function Pe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t;}document.querySelectorAll(".js-tooltip").forEach((t)=>{const e=t.getAttribute("title"),n=t.getAttribute("aria-describedby");let i=!1,r=!1;if(e){t.removeAttribute("title");const n="tooltip-".concat(G());t.hasAttribute("aria-label")||t.setAttribute("aria-label","Begriffserklärung anzeigen"),r=K()("p.tooltip__text",{attrs:{tabindex:"0"}},e);const o=K()(".tooltip__arrow"),s=K()("button.tooltip__close",{type:"button",title:"Schließen",hidden:!0},X({icon:"close"}));i=K()(".tooltip__popup#".concat(n),{attrs:{"aria-hidden":"true",role:"tooltip"}},r,o,s),t.parentNode.insertBefore(i,t.nextSibling);}else{if(!n)return !1;i=document.getElementById(n),r=i.querySelector(".tooltip__text");}return new Ae(t,i,{onClick:()=>{r.focus();}});});
43class je{constructor(t,e={}){this.$el=t,this.id=t.getAttribute("id"),this.config=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ie(n,!0).forEach(function(e){Pe(t,e,n[e]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ie(n).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e));});}return t;}({baseClass:"copyright",panelClass:"copyright__panel",closeButtonClass:"copyright__panel-close",openButtonClass:"copyright__panel-open",mustOpen:!1,openOnHoverTimeout:500},e),this.init();}init(){this.$open=this.$el.querySelector(".".concat(this.config.openButtonClass)),this.$close=this.$el.querySelector(".".concat(this.config.closeButtonClass)),this.$panel=this.$el.querySelector(".".concat(this.config.panelClass)),this.panelOpenBinded=this.panelOpen.bind(this),this.panelCloseBinded=this.panelClose.bind(this),this.outsideClickBinded=this.outsideClick.bind(this),this.keyDownBinded=this.keyDown.bind(this),this.$open.addEventListener("click",this.panelOpenBinded),this.$open.addEventListener("mouseenter",this.mouseEnter.bind(this)),this.$open.addEventListener("mouseleave",this.mouseLeave.bind(this)),this.$close.addEventListener("click",this.panelCloseBinded),window.addEventListener("click",this.outsideClickBinded),window.addEventListener("keydown",this.keyDownBinded);}panelOpen(){this.$open.setAttribute("aria-expanded","true"),this.$panel.classList.add("".concat(this.config.panelClass,"--open")),this.$close.setAttribute("aria-expanded","true");}panelClose(){this.$open.setAttribute("aria-expanded","false"),this.$panel.classList.remove("".concat(this.config.panelClass,"--open")),this.$close.setAttribute("aria-expanded","false");}mouseEnter(){this.config.mustOpen=!0,setTimeout(()=>{this.config.mustOpen&&this.panelOpen();},this.config.openOnHoverTimeout);}mouseLeave(){this.config.mustOpen=!1;}outsideClick(t){t.target.closest("#".concat(this.id))||this.panelClose();}keyDown(t){"Escape"===t.key&&this.panelCloseBinded();}}document.querySelectorAll(".js-copyright").forEach((t)=>new je(t));var ke=n(41),Me=n.n(ke),De=n(103),$e=n.n(De);function Ne(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable;})),n.push.apply(n,i);}return n;}function Re(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t;}function Be(t={}){document.querySelectorAll(".".concat("js-select-choices",":not(.").concat("select-choices--initialized",")")).forEach((e)=>{const n=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ne(n,!0).forEach(function(e){Re(t,e,n[e]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ne(n).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e));});}return t;}({allowHTML:!0,itemSelectText:"",searchPlaceholderValue:"Suchen",searchResultLimit:10,searchEnabled:e.dataset.searchEnabled||!1,shouldSort:!1},t),i=new $e.a(e,n),r=e.closest("form");r&&r.addEventListener("reset",()=>{i.setChoices(i.config.choices);}),e.classList.add("select-choices--initialized");const o=()=>{document.querySelectorAll(".choices__list--dropdown .choices__item").forEach((t)=>{t.textContent.startsWith("–")||t.textContent.startsWith("-")?t.classList.remove("option--bold"):t.classList.add("option--bold");});};setTimeout(o,0),e.addEventListener("showDropdown",o),e.addEventListener("search",o);});}(new it()).watch(document.body,()=>Be()),Be();var Fe=n(73),qe=n.n(Fe);function He(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable;})),n.push.apply(n,i);}return n;}function Ue(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t;}class We{constructor(t,e={}){this.$el=t,this.options=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
43e%2?He(n,!0).forEach(function(e){Ue(t,e,n[e]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):He(n).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e));});}return t;}({},We.DefaultOptions,{},e),this.init();}init(t="bottom"){this.$el&&(this.$button=this.$el.querySelector(".".concat(this.options.shareButtonClass)),this.$shareList=this.$el.querySelector(".".concat(this.options.shareListClass))),this.$shareList&&(this.$shareListClose=this.$shareList.querySelector(".".concat(this.options.shareCloseClass)),this.$button.addEventListener("click",()=>this.showShareList()),document.querySelectorAll(".js-copy").forEach((t)=>{const e=t.getAttribute("data-clipboard-text");if(qe.a.isSupported()){const n=new qe.a(t,{container:t.closest(".".concat(this.options.shareListClass)),text:()=>e});n.on("success",()=>{const e=t.querySelector(".".concat(this.options.shareListTextClass));e.innerHTML=t.getAttribute("data-copied-message"),setTimeout(()=>{e.innerHTML=t.getAttribute("data-copy-message");},3e3);}),n.on("error",()=>{n.destroy();});}else t.setAttribute("style","display: none;");})),this.$shareListClose&&this.$shareListClose.addEventListener("click",()=>this.closeShareList()),this.popper=xe(this.$button,this.$shareList,{placement:t,modifiers:[{name:"offset",options:{offset:[12,12]}},{name:"arrow",options:{element:this.$shareList.querySelector(".".concat(this.options.shareListArrowClass))}}]}),document.addEventListener("click",(t)=>this.onOutsideClick(t)),document.addEventListener("keyup",(t)=>{"Escape"===t.key&&this.closeShareList();}),this.$el.classList.add(this.options.initializedModifier),this.closeShareList();}showShareList(){this.popper.update(),this.$el.appendChild(this.$shareList);}closeShareList(){this.$el.contains(this.$shareList)&&this.$el.removeChild(this.$shareList);}onOutsideClick(t){const e=t.target;this.$shareList.contains(e)||this.$shareList===e||this.$el.contains(e)||this.$el===e||this.closeShareList();}static initializeAll(t=".share:not(.share--initialized)"){document.querySelectorAll(t).forEach((t)=>new We(t));}}function ze(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable;})),n.push.apply(n,i);}return n;}function Ye(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ze(n,!0).forEach(function(e){Ve(t,e,n[e]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ze(n).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e));});}return t;}function Ve(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t;}function Ke(t=0){const e=Math.floor(t)%60,n=Math.floor(t/60)%60;return "".concat(n.toString().padStart(2,"0"),":").concat(e.toString().padStart(2,"0"));}Ue(We,"DefaultOptions",{elementClass:"share",shareListClass:"share__list",shareButtonClass:"share__button",shareCloseClass:"share__list-close",shareListArrowClass:"share__list-arrow",shareListTextClass:"cta-link__text",initializedModifier:"share--initialized"}),We.initializeAll(".".concat(We.DefaultOptions.elementClass,":not(").concat(We.DefaultOptions.initializedModifier,")"));class Ge{constructor(t,e={}){this.$element=t,this.options=Ye({classes:{input:"audio-slider__input",sliderbar:"audio-slider__slider-bar"},enableInput:!1,mouseStart:0,changeCallback:null},e),this.init();}init(){this.$input=this.$element.querySelector(".".concat(this.options.classes.input)),this.$input.addEventListener("change",this.inputChanged.bind(this)),this.$sliderbar=this.$element.querySelector(".".concat(this.options.classes.sliderbar)),this.$sliderbar.addEventListener("mousedown",this.onmousedown.bind(this)),this.$sliderbar.addEventListener("touchstart",this.onmousedown.bind(this)),this.$sliderbar.addEventListener("click",this.onmousemove.bind(this)),window.addEventListener("mousemove",this.onmousemove.bind(this)),window.addEventListener("touchmove",this.onmousemove.bind(this)),window.addEventListener("mouseup",this.onmouseup.bind(this)),window.addEventListener("touchend",this.onmouseup.bind(this)),this.setValue(this.$input.value);}updateSliderbar(){this.$sliderbar.style.setProperty("--slider-position","".concat(this.$input.value,"%"));}inputChanged(){this.updateSliderbar(),this.options.changeCallback&&this.options.changeCallback();}onmousedown(){this.options.enableInput=!0,this.options.mouseStart=this.$sliderbar.getBoundingClientRect().left;}onmousemove(t){if(this.options.enableInput){const {mouseStart:e}=this.options,{clientWidth:n}=this.$sliderbar,{clientX:i}=t.touches&&t.touches[0]||t,r=(i-e)/n,o=Math.max(0,Math.min(r,1));this.setValue(100*o),this.options.changeCallback&&this.options.changeCallback();}}onmouseup(){this.options.enableInput=!1;}getValue(){return this.$input.value;}setValue(t){this.$input.value=t,this.updateSliderbar();}enable(){this.$input.disabled=!1,this.$element.classList.remove("audio-slider--disabled");}disable(){this.$input.disabled=!0,this.$element.classList.add("audio-slider--disabled");}isDisabled(){return this.$input.disabled;}}class Xe{constructor(t,e={}){this.$element=t,this.options=Ye({classes:{player:"audio__player",playpause:"audio__control--playpause",songslider:"audio__slider--songtrack",volumeslider:"audio__slider--volume",currentTimeText:"audio__time--current",durationTimeText:"audio__time--duration",mutebutton:"audio__control--mute"},intialized:!1},e),this.init();}init(){this.$player=this.$element.querySelector(".".concat(this.options.classes.player)),this.$playbutton=this.$element.querySelector(".".concat(this.options.classes.playpause)),this.$mutebutton=this.$element.querySelector(".".concat(this.options.classes.mutebutton)),this.$songslider=this.$element.querySelector(".".concat(this.options.classes.songslider)),this.$volumeslider=this.$element.querySelector(".".concat(this.options.classes.volumeslider)),this.$currentTimeText=this.$element.querySelector(".".concat(this.options.classes.currentTimeText)),this.$durationText=this.$element.querySelector(".".concat(this.options.classes.durationTimeText)),this.$playbutton&&(this.$playbuttonIcon=this.$playbutton.querySelector(".icon")),this.$mutebutton&&(this.$mutebuttonIcon=this.$mutebutton.querySelector(".icon")),this.initListeners();}initListeners(){this.options.intialized||(this.$playbutton&&this.$playbutton.addEventListener("click",this.playpauseClick.bind(this)),this.$mutebutton&&this.$mutebutton.addEventListener("click",this.mutebuttonClick.bind(this)),this.$player.addEventListener("timeupdate",this.timeupdate.bind(this)),this.$player.addEventListener("play",this.onplay.bind(this)),this.$player.addEventListener("pause",this.onpause.bind(this)),this.$songslider&&(this.songslider=new Ge(this.$songslider,{changeCallback:this.songpositionChange.bind(this)})),this.$volumeslider&&(this.volumeslider=new Ge(this.$volumeslider,{changeCallback:this.volumeChange.bind(this)}))),window.addEventListener("load",()=>{this.$durationText.innerHTML=Ke(this.$player.duration),this.options.intialized=!0,this.timeupdate();});}play(){this.$player.play();}pause(){this.$player.pause();}setVolume(t){this.$player.volume=t/100;}getVolume(){const {volume:t}=this.$player;return 100*t;}setSongPosition(t=0){const {duration:e}=this.$player;this.$player.currentTime=t*e/100;}getSongPosition(){const {currentTime:t,duration:e}=this.$player;return 100*t/e;}playpauseClick(){this.$player.paused?this.play():this.pause();}mutebuttonClick(){const t=this.$mutebuttonIcon.querySelector("use");this.$player.muted?(this.$player.muted=!1,this.volumeslider.enable(),this.$mutebuttonIcon.classList.remove("icon--muted"),this.$mutebuttonIcon.classList.add("icon--volume"),t.setAttribute("xlink:href","#icon-volume")):(this.$player.muted=!0,this.volumeslider.disable(),this.$mutebuttonIcon.classList.remove("icon--volume"),this.$mutebuttonIcon.classList.add("icon--mute"),t.setAttribute("xlink:href","#icon-mute"));}songpositionChange(){this.setSongPosition(this.songslider.getValue());}volumeChange(){this.setVolume(this.volumeslider.getValue());}timeupdate(){this.songslider&&(this.songslider.setValue(this.getSongPosition()),this.$currentTimeText.innerHTML=Ke(this.$player.currentTime));}onplay(){const t=this.$playbuttonIcon.querySelector("use");this.$element.classList.add("audio--playing"),this.$playbuttonIcon.classList.remove("icon--play"),this.$playbuttonIcon.classList.add("icon--pause"),t.setAttribute("xlink:href","#icon-pause");}onpause(){const t=this.$playbuttonIcon.querySelector("use");this.$element.classList.remove("audio--playing"),this.$playbuttonIcon.classList.remove("icon--pause"),this.$playbuttonIcon.classList.add("icon--play"),t.setAttribute("xlink:href","#icon-play");}}document.querySelectorAll(".js-audio").forEach((t)=>new Xe(t));n(184);var Qe=n(11);function Ze(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable;})),n.push.apply(n,i);}return n;}function Je(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t;}class tn{constructor(t,e={}){this.options=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
43e%2?Ze(n,!0).forEach(function(e){Je(t,e,n[e]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ze(n).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e));});}return t;}({openClass:"teaser-speaker--open",toggleButtonClass:"teaser-speaker__toggle-button"},e),this.teaserSpeaker=t,this.mql=window.matchMedia("(min-width: ".concat(Qe.a.l,")")),this.$topWrapper=t.querySelector(".teaser-speaker__top-wrapper"),this.bindedClick=this.toggle.bind(this),this.bindedMql=this.onMediaQueryChange.bind(this),this.mql.addEventListener("change",this.bindedMql),this.mql.matches?this.deInit():this.init();}init(){this.teaserSpeaker.classList.remove("".concat(this.options.openClass)),this.createToggleButton();}deInit(){this.teaserSpeaker.classList.remove("".concat(this.options.openClass));const t=this.teaserSpeaker.querySelector(".".concat(this.options.toggleButtonClass));t&&t.remove();}createToggleButton(t="open"){const e=function({tag:t,type:e,title:n=!1,icon:i,link:r,disabled:o=!1,classes:s=!1}){let a;const c=Me()("icon-button",s&&s);return a=r?{className:c,href:r}:{className:c,type:e||"button",disabled:o},K()("".concat((r?"a":t)||"button"),a,X({title:n,icon:i,classes:["icon-button__icon"]}));}({icon:t,title:"zurück nach oben",classes:"".concat(this.options.toggleButtonClass)});e.addEventListener("click",this.bindedClick),this.$topWrapper.append(e);}toggle(){this.teaserSpeaker.querySelector(".".concat(this.options.toggleButtonClass)).remove(),this.teaserSpeaker.classList.toggle("".concat(this.options.openClass)),this.teaserSpeaker.classList.contains("".concat(this.options.openClass))?this.createToggleButton("minus"):this.createToggleButton("open");}onMediaQueryChange(){this.mql.matches?this.deInit():this.init();}}document.querySelectorAll(".js-teaser-speaker").forEach((t)=>new tn(t)),document.addEventListener("DOMContentLoaded",()=>{document.querySelectorAll(".js-slideshow").forEach((t)=>new J(t,{sliderFrame:"slideshow__slider-items",sliderItem:"slideshow__slider-item",iconPrev:"arrow-left",iconNext:"arrow-right"}));});class en{constructor(t){this.$toggle=t,this.$panel=this.$toggle.parentNode,this.$toggleTarget=document.getElementById("".concat(this.$toggle.getAttribute("aria-controls"))),this.openModifierClass="navigation__search--open",this.openModifierPanelClass="navigation__item--search-open",this.init();}init(){const t=this.toggleButtonClick.bind(this);this.$toggle.addEventListener("click",t),this.bindedOutsideClick=this.outsideClick.bind(this),this.onKeydownBinded=this.onKeydown.bind(this),this.focusTrap=Y(this.$panel,{escapeDeactivates:!1,clickOutsideDeactivates:!0}),this.close();}onKeydown(t){27===t.keyCode&&(t.preventDefault(),this.close());}outsideClick(t){t.target.closest(".navigation__search")||t.target.closest(".navigation__search-toggle")||this.close();}toggleButtonClick(){"true"===this.$toggle.getAttribute("aria-expanded")?this.close():this.open();}close(){this.$toggle.setAttribute("aria-expanded","false"),this.$toggleTarget.classList.remove(this.openModifierClass),this.$panel.classList.remove(this.openModifierPanelClass),document.body.removeEventListener("click",this.bindedOutsideClick),document.body.removeEventListener("keydown",this.onKeydownBinded),this.focusTrap&&this.focusTrap.deactivate(),O(this.$panel);}open(){const t=this.$toggleTarget.querySelector('input[type="search"]');this.$toggle.setAttribute("aria-expanded","true"),this.$toggleTarget.classList.add(this.openModifierClass),this.$panel.classList.add(this.openModifierPanelClass),document.body.addEventListener("click",this.bindedOutsideClick),document.body.addEventListener("keydown",this.onKeydownBinded),t.focus(),this.focusTrap.activate(),S(this.$panel);}}function nn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t;}class rn{constructor(t){nn(this,"enter",(t)=>{const e=t.currentTarget.querySelector(".".concat(this.options.mainLinkClass));if(clearTimeout(this.timer),e){const t=e.getAttribute("aria-controls"),n=document.getElementById(t);n&&(this.$header.classList.add("".concat(this.options.headerNavOpenClass)),this.timer=setTimeout(()=>{this.closeSubMenus(),n.classList.add(this.options.submenuOpenClass),e.classList.add(this.options.mainLinkActiveClass);},this.options.mainLinkHoverTimeout));}}),nn(this,"leave",(t)=>{clearTimeout(this.timer),t.currentTarget.querySelector(".".concat(this.options.mainLinkClass)).classList.remove(this.options.mainLinkActiveClass),this.$header.classList.remove("".concat(this.options.headerNavOpenClass)),this.timer=setTimeout(()=>{this.$el.querySelectorAll(".".concat(this.options.submenuOpenClass)).forEac
43h((t)=>{t.classList.remove(this.options.submenuOpenClass);});},this.options.mainLinkHoverTimeout);}),nn(this,"focus",(t)=>{const e=t.currentTarget;if(this.$el.querySelectorAll(".".concat(this.options.submenuOpenClass)).forEach((t)=>{t.classList.remove(this.options.submenuOpenClass);}),e){const t=e.closest(".".concat(this.options.mainItemClass)).querySelector(".".concat(this.options.submenuClass));t&&t.classList.add(this.options.submenuOpenClass);}}),this.$el=t,this.$mainLinks=this.$el.querySelectorAll(".navigation__link--main[aria-controls]"),this.$header=document.querySelector(".header"),this.timer=null,this.options={headerNavOpenClass:"header--nav-open",submenuClass:"navigation__level",submenuOpenClass:"navigation__level--open",mainItemClass:"navigation__item--main",mainLinkClass:"navigation__link--main",mainLinkActiveClass:"navigation__link--main-active",mainLinkHoverTimeout:250};}init(){this.$mainLinks.forEach((t)=>{t.parentNode.addEventListener("mouseenter",this.enter),t.parentNode.addEventListener("mouseleave",this.leave),t.addEventListener("focus",this.focus);}),this.$el.addEventListener("mouseleave",this.leave);}deInit(){this.$header.classList.remove("".concat(this.options.headerNavOpenClass)),this.$mainLinks.forEach((t)=>{t.parentNode.removeEventListener("mouseenter",this.enter),t.parentNode.removeEventListener("mouseleave",this.leave),t.removeEventListener("focus",this.focus);});}closeSubMenus(){const t=Array.from(this.$el.querySelectorAll(".".concat(this.options.submenuOpenClass))),e=t.map((t)=>t.previousElementSibling);t.forEach((t)=>t.classList.remove(this.options.submenuOpenClass)),e.forEach((t)=>t.classList.remove(this.options.mainLinkActiveClass));}}function on(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t;}class sn{constructor(t){on(this,"open",(t)=>{const e=t.currentTarget;if(e){const t=e.getAttribute("aria-controls"),n=document.getElementById(t);if(n){const t=n.querySelector(".".concat(this.options.backLinkClass));n.classList.add(this.options.submenuOpenClass),this.timer=setTimeout(()=>{t.focus();},100);}}}),on(this,"back",(t)=>{const e=t.currentTarget;if(e){const t=e.closest(".".concat(this.options.mainItemClass)).querySelector(".".concat(this.options.expanderButtonClass));this.close(),this.timer=setTimeout(()=>{t.focus();},100);}}),on(this,"close",()=>{this.$el.querySelectorAll(".".concat(this.options.submenuOpenClass)).forEach((t)=>{t.classList.remove(this.options.submenuOpenClass);});}),this.$el=t,this.$expanderButtons=this.$el.querySelectorAll(".navigation__item-expander"),this.$backButtons=this.$el.querySelectorAll(".navigation__link--back"),this.options={submenuClass:"navigation__level",submenuOpenClass:"navigation__level--open",mainItemClass:"navigation__item--main",expanderButtonClass:"navigation__item-expander",backLinkClass:"navigation__link--back"};}init(){this.$expanderButtons.forEach((t)=>{t.addEventListener("click",this.open),t.addEventListener("focusin",this.close);}),this.$backButtons.forEach((t)=>{t.addEventListener("click",this.back);});}deInit(){this.$expanderButtons.forEach((t)=>{t.removeEventListener("click",this.open),t.removeEventListener("focusin",this.close);}),this.$backButtons.forEach((t)=>{t.removeEventListener("click",this.back);});}}function an(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable;})),n.push.apply(n,i);}return n;}function cn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t;}class ln{constructor(t,e={}){this.options=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?an(n,!0).forEach(function(e){cn(t,e,n[e]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):an(n).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e));});}return t;}({close:"navigation__close",mainBlock:"navigation__items",panelClass:"navigation__item--level"},e),this.$toggleButton=t,this.$panel=document.getElementById(this.$toggleButton.getAttribute("aria-controls")),this.$closeButton=this.$panel.querySelector(".".concat(this.options.close)),this.$navigationMainBlock=this.$panel.querySelector(".".concat(this.options.mainBlock)),this.mql=window.matchMedia("(min-width: ".concat(Qe.a.xl,")")),this.bindedClick=this.toggle.bind(this),this.bindedPanelClick=this.panelClick.bind(this),this.bindedClose=this.closePanel.bind(this),this.onKeydownBinded=this.onKeydown.bind(this),this.$toggleButton.addEventListener("click",this.bindedClick),this.$closeButton.addEventListener("click",this.bindedClose);}init(){let t=this.$panel;this.mql.matches&&(t=this.$panel.querySelector(".".concat(this.options.panelClass))),this.focusTrap=Y(t,{escapeDeactivates:!1,clickOutsideDeactivates:!0,returnFocusOnDeactivate:!1});}desktopCloseButton(){if(this.$navigationMainBlock){const t=this.$closeButton;this.$navigationMainBlock.parentNode.insertBefore(t,this.$navigationMainBlock);}}toggle(t){t.preventDefault(),"true"!==this.$toggleButton.getAttribute("aria-expanded")?this.openPanel
43():this.closePanel();}onKeydown(t){27===t.keyCode&&(t.preventDefault(),this.closePanel());}panelClick(t){t.target.closest(".navigation")||this.closePanel();}closePanel(){this.$toggleButton.setAttribute("aria-expanded","false"),this.$panel.classList.remove("header__navigation--open"),document.body.removeEventListener("keydown",this.onKeydownBinded),this.$panel.removeEventListener("click",this.bindedPanelClick),this.$closeButton.removeEventListener("click",this.bindedClose),this.focusTrap&&this.focusTrap.deactivate(),O(this.$panel);}openPanel(){this.$toggleButton.setAttribute("aria-expanded","true"),this.$panel.classList.add("header__navigation--open"),document.body.addEventListener("keydown",this.onKeydownBinded),this.$panel.addEventListener("click",this.bindedPanelClick),this.$closeButton.addEventListener("click",this.bindedClose),S(this.$panel),this.focusTrap.activate();}}const un=window.matchMedia("(min-width: ".concat(Qe.a.xl,")")),hn=document.getElementById("navigation-toggle-button"),dn=document.getElementById("navigation");if(hn){const t=new ln(hn),e=()=>{t.init();};un.addEventListener("change",e),e(un);}if(dn){dn.classList.add("js-navigation-initialized");const t=new sn(dn),e=new rn(dn),n=(n)=>
43{n.matches?(t.deInit(),e.init()):(t.init(),e.deInit());};un.addListener(n),n(un);}const fn=document.getElementById("navigationSearchToggle");if(fn)new en(fn);var pn=n(104),mn=n.n(pn);const vn=document.querySelector("header"),gn=new mn.a(vn,{offset:100,tolerance:{up:20,down:10},classes:{initial:"header--animated",pinned:"header--slide-down",unpinned:"header--slide-up",top:"header--top",notTop:"header--not-top"},onPin:()=>{document.body.classList.add("headroom-header-pinned");},onUnpin:()=>{document.body.classList.remove("headroom-header-pinned");}});document.querySelectorAll(".header").forEach(()=>{gn.init();});const yn={sliderFrame:"profile-slider__slider-items",sliderItem:"profile-slider__slider-item"};document.addEventListener("DOMContentLoaded",()=>{document.querySelectorAll(".js-profile-slider").forEach((t)=>{const e=new J(t,yn);function n(n){t.querySelectorAll(".profile-slider__list-link").forEach((t)=>{const e=t.getAttribute("data-uid");parseInt(e,10)===n?t.setAttribute("aria-current","true"):t.setAttribute("aria-current","false");});const {event:i}=window,r=i.target.getAttribute("data-uid");"false"===i.target.getAttribute("aria-current")&&(e.disableAutoplay(),i.target.setAttribute("aria-current","true"),e.scrollToSlide(r));}function i(e){const {target:n}=e,{uid:i}=n.dataset;if(i){const e=t.querySelectorAll(".".concat(yn.sliderItem))[i].querySelector("[href]");e&&e.click();}}e.$sliderItems.length<2?t.querySelector(".profile-slider__navbar").style.display="none":(t.querySelectorAll(".profile-slider__list-link").forEach((t,e)=>{t.addEventListener("click",n),t.addEventListener("dblclick",i),0===e&&t.setAttribute("aria-current","true");}),e.$sliderFrame.addEventListener("scroll",()=>{n(Math.round(e.$sliderFrame.scrollLeft/e.$sliderFrame.clientWidth));},{passive:!0}));});});class bn{constructor(t){this.$el=t,this.$buttonText=this.$el.querySelector(".stage-detail__video-control-text");const e=this.togglePlay.bind(this);this.$el.addEventListener("click",e);}togglePlay(){const t=this.$el.parentNode.querySelector(".stage-detail__video .video__player");t.paused?(t.play(),this.$el.classList.remove("stage-detail__video-control--active"),this.$buttonText.innerHTML="Video pausieren"):(t.pause(),this.$el.classList.add("stage-detail__video-control--active"),this.$buttonText.innerHTML="Video abspielen");}}function En(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable;})),n.push.apply(n,i);}return n;}function _n(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t;}document.querySelectorAll(".stage-detail__video-control").forEach((t)=>{new bn(t);});class wn{constructor(t,e){_n(this,"$el",void 0),_n(this,"classes",void 0),_n(this,"visibleFilterBreakPoint",void 0),_n(this,"filterButtonOpenText",void 0),_n(this,"filterButtonCloseText",void 0),this.$el=t,this.classes=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?En(n,!0).forEach(function(e){_n(t,e,n[e]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):En(n).forEac
43h(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e));});}return t;}({},wn.DefaultClasses,{},e),this.visibleFilterBreakPoint=Qe.c.l,this.init().then(()=>{this.$el.classList.add(this.classes.initializedModifier);});}async init(){const {$el:t,classes:e}=this;this.$filterForm=t.querySelector(".".concat(e.filterForm));const n=this.$filterForm.id;if(this.$filterButton=document.querySelector("[aria-controls=".concat(n,"]")),this.$filterButton){this.filterButtonOpenText=this.$filterButton.dataset.textOpen||"Show filter",this.filterButtonCloseText=this.$filterButton.dataset.textClose||"Hide filter",this.$filterButtonText=this.$filterButton.querySelector(".".concat(e.filterButtonText)),this.$filterButton.addEventListener("click",()=>{"false"===this.$filterButton.getAttribute("aria-expanded")?this.showFilter():this.hideFilter();});const t=window.matchMedia(this.visibleFilterBreakPoint);t.addEventListener("change",(t)=>{t.matches?this.showFilter():this.hideFilter();}),t.matches&&this.showFilter();}}showFilter(){this.$filterForm.classList.add("".concat(this.classes.filterOpenModifier)),this.$filterButton.setAttribute("aria-expanded","true"),this.$filterButtonText.innerHTML=this.filterButtonCloseText;}hideFilter(){this.$filterForm.classList.remove("".concat(this.classes.filterOpenModifier)),this.$filterButton.setAttribute("aria-expanded","false"),this.$filterButtonText.innerHTML=this.filterButtonOpenText;}static InitializeDefaults(){const {element:t,initializedModifier:e}=wn.DefaultClasses;document.querySelectorAll(".".concat(t,":not(.").concat(e,")")).forEach((t)=>{new wn(t),t.classList.add(wn.DefaultClasses.initializedModifier);});}}_n(wn,"DefaultClasses",{element:"js-filter",initializedModifier:"filter--initialized",filterButton:"filter__button",filterButtonText:"filter__button-text",filterForm:"filter__form",filterOpenModifier:"filter__form--open"}),(new it()).watch(document.body,()=>{wn.InitializeDefaults();}),wn.InitializeDefaults();var Sn=n(105),On=n.n(Sn);function Ln(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable;})),n.push.apply(n,i);}return n;}function xn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t;}class Tn{constructor(t,e={}){this.options=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ln(n,!0).forEach(function(e){xn(t,e,n[e]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ln(n).forEac
43h(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e));});}return t;}({},e),this.$speakerGroup=t,this.$itemsContainer=this.$speakerGroup.querySelector(".speaker-group__items"),this.mql=window.matchMedia("(min-width: ".concat(Qe.a.l,")")),this.bindedMql=this.onMediaQueryChange.bind(this),this.mql.addEventListener("change",this.bindedMql),this.mql.matches?this.init():this.deInit();}init(){const t=this.$speakerGroup.querySelector(".speaker-group__items");this.masonryLayout=new On.a(t,{itemSelector:".speaker-group__item",gutter:0}),t.querySelectorAll("img").forEach((t)=>{t.complete?this.masonryLayout.layout():t.addEventListener("load",()=>{this.masonryLayout.layout();});});}deInit(){this.masonryLayout&&this.masonryLayout.destroy();}onMediaQueryChange(){this.mql.matches?this.init():this.deInit();}}document.querySelectorAll(".js-speaker-group").forEach((t)=>new Tn(t));n(189);}]);;
44(function($){if(jQuery(".list-search-filter__search-options").length)jQuery(document).on("click",".list-search-filter__search-options .list-search-filter__option",function(){let currentSelection=jQuery(this).val();jQuery(".list-search-filter__search-options .form-select").val(currentSelection).change();});if(jQuery(".list-search-filter__search-options").length){let currentSelection=jQuery(".list-search-filter__search-options .form-select").val();jQuery(".list-search-filter__search-options .list-search-filter__option[value='"+currentSelection+"']").prop('checked',true);}jQuery(document).on('submit',".newsletter-abo__form",function(e){jQuery(".newsletter-abo__selection-warning").fadeOut("fast");let newsletterChecked=false;jQuery.each(jQuery(".newsletter-abo__options-wrapper input.checkbox__input"),function(){if(jQuery(this).is(":checked"))newsletterChecked=true;});if(!newsletterChecked){e.preventDefault();jQuery(".newsletter-abo__selection-warning").fadeIn("fast");return false;}else return true;});if(typeof (Drupal)!="undefined"){var veranstaltungsverteilerHeroMoved=false;Drupal.behaviors.Events={attach:function(context,settings){if(jQuery(".view-veranstaltungsverteiler").length&&jQuery(".veranstaltungsverteiler-hero").length){let groupHeaderCount=0;let viewsRowCount=0;var pageUrl=jQuery(".content__block--event-list .pagination a.pagination__link--current").attr("href");var currentPage=getQueryVariable("page",pageUrl);}}};Drupal.behaviors.SearchForm={attach:function(context,settings){if(jQuery(".form-search__form").length){jQuery(".form-search__form .form-item-keys").removeClass("form-item");jQuery(".form-search__form #edit-actions").removeClass("form-actions");jQuery(".form-search__form .form-item-keys").addClass("form-group form-search__form-group");jQuery(".form-search__form .form-search").addClass("input");jQuery(".form-search__form .edit-submit").addClass("button button--primary form-search__submit");jQuery(".form-search__form .form-search.input").attr("placeholder",Drupal.t("Insert search query"));const searchSubmitInput=document.querySelector('input[data-drupal-selector="edit-submit-website-suche"]');if(searchSubmitInput){const searchSubmitButton=document.createElement("button");searchSubmitButton.type="submit";searchSubmitButton.innerHTML='<span class="button__text">'+searchSubmitInput.value+'</span>';for(const attr of searchSubmitInput.attributes)searchSubmitButton.setAttribute(attr.name,attr.value);searchSubmitInput.replaceWith(searchSubmitButton);}if(jQuery("input.search-radio-datasource--all").length){if(jQuery('input[data-drupal-selector="edit-datasource-all"]').is(":checked"))jQuery("input.search-radio-datasource--all").prop("checked",true);jQuery(document).on("click","input.search-radio-datasource--all",function(){jQuery('input[data-drupal-selector="edit-datasource-all"]').prop("checked",true);});}if(jQuery("input.search-radio-datasource--media").length){if(jQuery('input[data-drupal-selector="edit-datasource-entitymedia"]').is(":checked"))jQuery("input.search-radio-datasource--media").prop("checked",true);jQuery(document).on("click","input.search-radio-datasource--media",function(){jQuery('input[data-drupal-selector="edit-datasource-entitymedia"]').prop("checked",true);});}}}};Drupal.behaviors.Foerderungen={attach:function(context,settings){if(jQuery('.view-foerderangebote').length){jQuery(document).on("click",".view-foerderangebote .form-radios input.form-radio",function(){jQuery(".view-foerderangebote form.filter__form .form-actions input.filter__submit").trigger("click");});if(!window.__foerderungenScrollDone){var foerderFilterParams=["fachgebiet","art_der_foerderung","sort_by","sort_order","page"];var foerderQuery=window.location.search.substring(1);var foerderHasFilter=foerderFilterParams.some(function(p){return typeof getQueryVariable(p,foerderQuery)!=="undefined";});if(foerderHasFilter){window.__foerderungenScrollDone=true;var scrollToFoerderFilter=function(){var target=document.getElementById("foerderungen_liste")||document.querySelector(".view-foerderangebote");if(!target)return;var header=document.querySelector("header.header");var headerOffset=header?header.getBoundingClientRect().height:0;var top=target.getBoundingClientRect().top+window.pageYOffset-headerOffset-20;
44window.scrollTo({top,left:0,behavior:"instant"});};if(document.readyState==="complete")scrollToFoerderFilter();else window.addEventListener("load",scrollToFoerderFilter,{once:true});}}const submitInput=document.querySelector('input[data-button-name="foerderangebote-submit-button"]');if(submitInput){const submitButton=document.createElement("button");submitButton.type="submit";submitButton.innerHTML='<span class="button__text">'+submitInput.value+'</span>';for(const attr of submitInput.attributes)submitButton.setAttribute(attr.name,attr.value);submitInput.replaceWith(submitButton);if(typeof Drupal.views!=="undefined"&&Drupal.views.instances)Object.keys(Drupal.views.instances).forEach(function(viewKey){var viewInstance=Drupal.views.instances[viewKey];if(viewInstance&&viewInstance.settings&&viewInstance.settings.view_name==="foerderangebote"&&viewInstance.settings.view_display_id==="block_1"&&typeof viewInstance.attachExposedFormAjax==="function")viewInstance.attachExposedFormAjax();});}if(jQuery(".view-header").length){let totalText=jQuery(".view-header").text();jQuery(".total-count").html(totalText);}document.querySelectorAll('.js-select-choices').forEach(($el)=>{let element=jQuery($el);if(element.data('choice')!=='active'){const choicesOptions={allowHTML:true,itemSelectText:'',searchPlaceholderValue:Drupal.t("Search"),searchResultLimit:10,searchEnabled:$el.dataset.searchEnabled||false,shouldSort:true};const choices=new Choices($el,choicesOptions);choices.init();}});}}};Drupal.behaviors.newsRoom={attach:function(context,settings){if(jQuery(".view-newsroom").length){var pageUrl=jQuery(".content__block--newsroom-list .pagination a.pagination__link--current").attr("href");var currentPage=getQueryVariable("page",pageUrl);if(typeof (currentPage)!="undefined"&&currentPage!=""&&parseInt(currentPage)>0)jQuery(".content__block--newsroom-head").hide();}}};Drupal.behaviors.exposedFilterTypAutosubmit={attach:function(context,settings){if(jQuery(".view-newsroom").length){var filterButtonTyp=jQuery('.views-exposed-form #edit-typ a.bef-link',context);filterButtonTyp.once('exposedFilterTypAutosubmit').click(function(){jQuery(".content__block--newsroom-head").fadeOut("fast");});}}};Drupal.behaviors.exposedFilterThemaAutosubmit={attach:function(context,settings){if(jQuery(".view-newsroom").length){var filterButtonThema=jQuery('.views-exposed-form #edit-thema a.bef-link',context);filterButtonThema.once('exposedFilterThemaAutosubmit').click(function(){jQuery(".content__block--newsroom-head").fadeOut("fast");});}}};Drupal.behaviors.exposedFilterMitarbeiterPressemitteilungen={attach:function(context,settings){if(jQuery(".view-mitarbeiter").length||jQuery(".view-pressemitteilungen").length)document.querySelectorAll('.js-select-choices').forEach(($el)=>{let element=jQuery($el);const choices=null;if(element.data('choice')!=='active'){const choicesOptions={allowHTML:true,itemSelectText:'',searchPlaceholderValue:Drupal.t("Search"),searchResultLimit:10,searchEnabled:$el.dataset.searchEnabled||false,shouldSort:false};choices=new Choices($el,choicesOptions);choices.init();}applyBold();});}};}})(jQuery);const applyBold=()=>{document.querySelectorAll('.choices__list--dropdown .choices__item').forEach((item)=>{if(!item.textContent.startsWith('–')&&!item.textContent.startsWith('-'))item.classList.add('option--bold');else item.classList.remove('option--bold');});};function getQueryVariable(variable,urlString){var query=urlString;if(typeof (query)!="undefined"){var vars=query.split('&');for(var i=0;i<vars.length;i++){var pair=vars[i].split('=');if(decodeURIComponent(pair[0])==variable)return decodeURIComponent(pair[1]);}}}function encryptRot13(str){let mapArray=[];let elements="abcdefghijklmnopqrstuvwxyz";let output="";for(let i=0;i<elements.length;i++){let x=elements.charAt(i);let y=elements.charAt((i+13)%26);mapArray[x]=y;mapArray[x.toUpperCase()]=y.toUpperCase();}for(let i=0;i<str.length;i++){let c=str.charAt(i);output+=(c>='A'&&c<='Z'||c>='a'&&c<='z'?mapArray[c]:c);}return output;}function decryptRot13(str){str="mailto:"+encryptRot13(str);document.location.href=str;};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.