/* @license MIT https://raw.githubusercontent.com/jquery/jquery/3.7.1/LICENSE.txt */ /*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */ !function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(ie,e){"use strict";var oe=[],r=Object.getPrototypeOf,ae=oe.slice,g=oe.flat?function(e){return oe.flat.call(e)}:function(e){return oe.concat.apply([],e)},s=oe.push,se=oe.indexOf,n={},i=n.toString,ue=n.hasOwnProperty,o=ue.toString,a=o.call(Object),le={},v=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},y=function(e){return null!=e&&e===e.window},C=ie.document,u={type:!0,src:!0,nonce:!0,noModule:!0};function m(e,t,n){var r,i,o=(n=n||C).createElement("script");if(o.text=e,t)for(r in u)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[i.call(e)]||"object":typeof e}var t="3.7.1",l=/HTML$/i,ce=function(e,t){return new ce.fn.init(e,t)};function c(e){var t=!!e&&"length"in e&&e.length,n=x(e);return!v(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+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="",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":{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:\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)[^>]*|#([\w-]+))$/;(ce.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||k,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:S.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof ce?t[0]:t,ce.merge(this,ce.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:C,!0)),w.test(r[1])&&ce.isPlainObject(t))for(r in t)v(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=C.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(ce):ce.makeArray(e,this)}).prototype=ce.fn,k=ce(C);var E=/^(?:parents|prev(?:Until|All))/,j={children:!0,contents:!0,next:!0,prev:!0};function A(e,t){while((e=e[t])&&1!==e.nodeType);return e}ce.fn.extend({has:function(e){var t=ce(e,this),n=t.length;return this.filter(function(){for(var e=0;e\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="",le.noCloneChecked=!!xe.cloneNode(!0).lastChild.defaultValue,xe.innerHTML="",le.option=!!xe.lastChild;var ke={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_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",""]);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\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").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="
",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").append(ce.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},ce.expr.pseudos.animated=function(t){return ce.grep(ce.timers,function(e){return t===e.elem}).length},ce.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=ce.css(e,"position"),c=ce(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=ce.css(e,"top"),u=ce.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),v(t)&&(t=t.call(e,n,ce.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},ce.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){ce.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===ce.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===ce.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=ce(e).offset()).top+=ce.css(e,"borderTopWidth",!0),i.left+=ce.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-ce.css(r,"marginTop",!0),left:t.left-i.left-ce.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===ce.css(e,"position"))e=e.offsetParent;return e||J})}}),ce.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;ce.fn[t]=function(e){return M(this,function(e,t,n){var r;if(y(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),ce.each(["top","left"],function(e,n){ce.cssHooks[n]=Ye(le.pixelPosition,function(e,t){if(t)return t=Ge(e,n),_e.test(t)?ce(e).position()[n]+"px":t})}),ce.each({Height:"height",Width:"width"},function(a,s){ce.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){ce.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return M(this,function(e,t,n){var r;return y(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?ce.css(e,t,i):ce.style(e,t,n,i)},s,n?e:void 0,n)}})}),ce.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){ce.fn[t]=function(e){return this.on(t,e)}}),ce.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),ce.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){ce.fn[n]=function(e,t){return 0{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,'&').replace(//g,'>').replace(/"/g,'"').replace(/'/g,''');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{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 `${Drupal.checkPlain(str)}`;};Drupal.elementIsVisible=function(elem){return !!(elem.offsetWidth||elem.offsetHeight||elem.getClientRects().length);};Drupal.elementIsHidden=function(elem){return !Drupal.elementIsVisible(elem);};})(Drupal,window.drupalSettings,window.drupalTranslations,window.console,window.Proxy,window.Reflect);; if(window.jQuery)jQuery.noConflict();document.documentElement.className+=' js';(function(Drupal,drupalSettings){const domReady=(callback)=>{const listener=()=>{callback();document.removeEventListener('DOMContentLoaded',listener);};if(document.readyState!=='loading')setTimeout(callback,0);else document.addEventListener('DOMContentLoaded',listener);};domReady(()=>{Drupal.attachBehaviors(document,drupalSettings);});})(Drupal,window.drupalSettings);; Drupal.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;};};; /* @license MIT https://raw.githubusercontent.com/focus-trap/tabbable/v6.3.0/LICENSE */ /*! * tabbable 6.3.0 * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE */ !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;nsummary: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=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)}})); ; /* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */ (function($,Drupal){Drupal.theme.progressBar=function(id){const escapedId=Drupal.checkPlain(id);return (`
`+'
 
'+'
'+'
'+'
 
'+'
');};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(`
${e.message}
`);}});}},displayError(string){const error=$('
').html(string);$(this.element).before(error).hide();if(this.errorCallback)this.errorCallback(this);}});})(jQuery,Drupal);; /* @license MIT https://raw.githubusercontent.com/muicss/loadjs/4.3.0/LICENSE.txt */ loadjs=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){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);; (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}`;once('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;$(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='
 
';return `
${throbber}${messageMarkup}
`;};Drupal.theme.ajaxProgressIndicatorFullscreen=()=>'
 
';Drupal.theme.ajaxProgressMessage=(message)=>`
${message}
`;Drupal.theme.ajaxProgressBar=($element)=>$('
').append($element);Drupal.Ajax.prototype.setProgressIndicatorBar=function(){const progressBar=new Drupal.ProgressBar(`ajax-progress-${this.element.id}`,$.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)=>$('
').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));$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(` * `);}},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;if(!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);; (function($,window,Drupal,drupalSettings){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;let callable=this.progress.type;if(this.progress.type==='throbber'&&drupalSettings.ajaxLoader.alwaysFullscreen)callable='fullscreen';const progressIndicatorMethod=`setProgressIndicator${callable.slice(0,1).toUpperCase()}${callable.slice(1).toLowerCase()}`;if(progressIndicatorMethod in this&&typeof this[progressIndicatorMethod]==='function')this[progressIndicatorMethod].call(this);};Drupal.Ajax.prototype.setProgressIndicatorThrobber=function(){if(!this.progressIsSet()){this.progress.element=$(`
${drupalSettings.ajaxLoader.markup}
`);if(this.progress.message&&!drupalSettings.ajaxLoader.hideAjaxMessage)this.progress.element.find('.ajax-loader').after(`
${this.progress.message}
`);$(this.element).after(this.progress.element);}};Drupal.Ajax.prototype.setProgressIndicatorFullscreen=function(){if(!this.progressIsSet()){this.progress.element=$(`
${drupalSettings.ajaxLoader.markup}
`);$(drupalSettings.ajaxLoader.throbberPosition).after(this.progress.element);}};Drupal.Ajax.prototype.progressIsSet=function(){return (this.progress.type!=='throbber'&&this.progress.hasOwnProperty('element')&&this.progress.element.hasOwnProperty('length')&&this.progress.element.length>0);};})(jQuery,this,Drupal,drupalSettings);; !function(s){var t={init:function(){this.classes=[],this.agent=navigator.userAgent.toLowerCase(),this.checkBrowser(),this.checkPlatform(),this.isMobile(this.classes)?this.classes.push("mobile"):this.classes.push("desktop");},checkBrowser:function(){var s=Array(),t="",i="",a="",e=this.agent.match(/(?:\b(ms)?ie\s+|\btrident\/7\.0;.*\s+rv:)(\d+)/);e&&(this.classes.push("ie"),void 0!==e[2]&&this.classes.push("ie"+e[2])),this.agent.match(/opera/)&&(this.classes.push("opera"),(t=this.stristr(this.agent,"version").split("/"))[1]&&(i=t[1].split(" "),this.classes.push("opera"+this.clearVersion(i[0])))),this.agent.match(/chrome/)?(this.classes.push("chrome"),i=(t=this.stristr(this.agent,"chrome").split("/"))[1].split(" "),this.classes.push("chrome"+this.clearVersion(i[0]))):this.agent.match(/crios/)?(this.classes.push("chrome"),(t=this.stristr(this.agent,"crios").split("/"))[1]&&(i=t[1].split(" "),this.classes.push("chrome"+this.clearVersion(i[0])))):this.agent.match(/safari/)&&(this.classes.push("safari"),(t=this.stristr(this.agent,"version").split("/"))[1]&&(i=t[1].split(" "),this.classes.push("safari"+this.clearVersion(i[0])))),this.agent.match(/netscape/)&&(this.classes.push("netscape"),((s=this.agent.match(/navigator\/([^ ]*)/))||(s=this.agent.match(/netscape6?\/([^ ]*)/)))&&this.classes.push("netscape"+this.clearVersion(s[1]))),this.agent.match(/firefox/)&&(this.classes.push("ff"),(s=this.agent.match(/firefox[\/ \(]([^ ;\)]+)/))&&this.classes.push("ff"+this.clearVersion(s[1]))),this.agent.match(/konqueror/)&&(this.classes.push("konqueror"),i=(t=this.stristr(this.agent,"konqueror").split(" "))[0].split("/"),this.classes.push("konqueror"+this.clearVersion(i[1]))),this.agent.match(/dillo/)&&this.classes.push("dillo"),this.agent.match(/chimera/)&&this.classes.push("chimera"),this.agent.match(/beonex/)&&this.classes.push("beonex"),this.agent.match(/aweb/)&&this.classes.push("aweb"),this.agent.match(/amaya/)&&this.classes.push("amaya"),this.agent.match(/icab/)&&this.classes.push("icab"),this.agent.match(/lynx/)&&this.classes.push("lynx"),this.agent.match(/galeon/)&&this.classes.push("galeon"),this.agent.match(/opera mini/)&&(this.classes.push("operamini"),(a=this.stristr(this.agent,"opera mini")).match("///")?(i=(t=a.split("/"))[1].split(" "),this.classes.push("operamini"+this.clearVersion(i[0]))):(i=this.stristr(a,"opera mini").split(" "),this.classes.push("operamini"+this.clearVersion(i[1]))));},checkPlatform:function(){this.agent.match(/windows/)&&this.classes.push("win"),this.agent.match(/ipad/)&&this.classes.push("ipad"),this.agent.match(/ipod/)&&this.classes.push("ipod"),this.agent.match(/iphone/)&&this.classes.push("iphone"),this.agent.match(/mac/)&&this.classes.push("mac"),this.agent.match(/android/)&&this.classes.push("android"),this.agent.match(/linux/)&&this.classes.push("linux"),this.agent.match(/nokia/)&&this.classes.push("nokia"),this.agent.match(/blackberry/)&&this.classes.push("blackberry"),this.agent.match(/freebsd/)&&this.classes.push("freebsd"),this.agent.match(/openbsd/)&&this.classes.push("openbsd"),this.agent.match(/netbsd/)&&this.classes.push("netbsd");},isMobile:function(t){var i=!1;if(s.each(["ipad","ipod","iphone","android","blackberry","operamini"],(function(a,e){if(-1!=s.inArray(e,t))return i=!0,!1;})),i||this.agent.match(/(up.browser|up.link|mmp|symbian|smartphone|midp|wap|vodafone|o2|pocket|kindle|mobile|pda|psp|treo)/))return !0;},clearVersion:function(s){var t=((s=s.replace("/[^0-9,.,a-z,A-Z-]/",""))+"").indexOf(".");return s.substr(0,t);},stristr:function(s,t,i){var a;return -1!=(a=(s+="").toLowerCase().indexOf((t+"").toLowerCase()))&&(i?s.substr(0,a):s.slice(a));}};t.init(),s("body").addClass(t.classes.join(" "));}(jQuery);; (function($){Drupal.behaviors.accordion_accessibility={attach(context,settings){if(context!==document)return;if($("body.accordion-accessibility-active").length){$("body").removeClass("accordion-accessibility-active");return;}$("body").addClass("accordion-accessibility-active");function isCallAjax(){if(context&&context.toString().substring(0,21)==="[object HTMLDocument]")return false;return true;}if(!isCallAjax()&&$(".accordion-button").length)$(window).on("click keydown",function(e){if(e.type==="click"||e.key==="Enter"){const target=$(e.target);if(target.hasClass("accordion-button")){const accordion_btn_ariaExpanded=target.closest(".accordion-wrapper").attr("aria-expanded");target.focus();if(accordion_btn_ariaExpanded!==undefined){target.attr("aria-expanded",accordion_btn_ariaExpanded);target.focus();}}}});}};})(jQuery,Drupal);; (function($,Drupal){Drupal.behaviors.fixPersonSearchFocus={attach:function(context,settings){var $input=$('#views-exposed-form-find-indexed-persons-page-2 input[type="text"]',context);if($input.length){var caretPos=null;$input.on('keyup click',function(){caretPos=this.selectionStart;});$(document).ajaxComplete(function(){var $newInput=$('#views-exposed-form-find-indexed-persons-page-2 input[type="text"]');if($newInput.length){$newInput.focus();try{var len=$newInput.val().length;if(caretPos===null||caretPos>=len)$newInput[0].setSelectionRange(len,len);else $newInput[0].setSelectionRange(caretPos,caretPos);}catch(e){}}});}}};})(jQuery,Drupal);; (()=>{var e={1088(e){var t;t=function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={exports:{},id:n,loaded:!1};return e[n].call(i.exports,i,i.exports,r),i.loaded=!0,i.exports;}return r.m=e,r.c=t,r.p="",r(0);}([function(e,t){"use strict";e.exports=function(){if("undefined"==typeof document||"undefined"==typeof window)return {ask:function(){return "initial";},element:function(){return null;},ignoreKeys:function(){},specificKeys:function(){},registerOnChange:function(){},unRegisterOnChange:function(){}};var e=document.documentElement,t=null,r="initial",n=r,i=Date.now(),s=!1,o=["button","input","select","textarea"],a=[],l=[16,17,18,91,93],c=[],u={keydown:"keyboard",keyup:"keyboard",mousedown:"mouse",mousemove:"mouse",MSPointerDown:"pointer",MSPointerMove:"pointer",pointerdown:"pointer",pointermove:"pointer",touchstart:"touch",touchend:"touch"},d=!1,f={x:null,y:null},p={2:"touch",3:"touch",4:"mouse"},h=!1;try{var v=Object.defineProperty({},"passive",{get:function(){h=!0;}});window.addEventListener("test",null,v);}catch(e){}var g,m=function(){if(s=!("false"===e.getAttribute("data-whatpersist")||"false"===document.body.getAttribute("data-whatpersist")))try{window.sessionStorage.getItem("what-input")&&(r=window.sessionStorage.getItem("what-input")),window.sessionStorage.getItem("what-intent")&&(n=window.sessionStorage.getItem("what-intent"));}catch(e){}b("input"),b("intent");},y=function(e){var t=e.which,i=u[e.type];"pointer"===i&&(i=E(e));var s=!c.length&&-1===l.indexOf(t),a=c.length&&-1!==c.indexOf(t),d="keyboard"===i&&t&&(s||a)||"mouse"===i||"touch"===i;if(C(i)&&(d=!1),d&&r!==i&&(k("input",r=i),b("input")),d&&n!==i){var f=document.activeElement;f&&f.nodeName&&(-1===o.indexOf(f.nodeName.toLowerCase())||"button"===f.nodeName.toLowerCase()&&!O(f,"form"))&&(k("intent",n=i),b("intent"));}},b=function(t){e.setAttribute("data-what"+t,"input"===t?r:n),L(t);},w=function(e){var t=u[e.type];"pointer"===t&&(t=E(e)),A(e),(!d&&!C(t)||d&&"wheel"===e.type||"mousewheel"===e.type||"DOMMouseScroll"===e.type)&&n!==t&&(k("intent",n=t),b("intent"));},S=function(r){r.target.nodeName?(t=r.target.nodeName.toLowerCase(),e.setAttribute("data-whatelement",t),r.target.classList&&r.target.classList.length&&e.setAttribute("data-whatclasses",r.target.classList.toString().replace(" ",","))):x();},x=function(){t=null,e.removeAttribute("data-whatelement"),e.removeAttribute("data-whatclasses");},k=function(e,t){if(s)try{window.sessionStorage.setItem("what-"+e,t);}catch(e){}},E=function(e){return "number"==typeof e.pointerType?p[e.pointerType]:"pen"===e.pointerType?"touch":e.pointerType;},C=function(e){var t=Date.now(),n="mouse"===e&&"touch"===r&&t-i<200;return i=t,n;},T=function(){return "onwheel" in document.createElement("div")?"wheel":void 0!==document.onmousewheel?"mousewheel":"DOMMouseScroll";},L=function(e){for(var t=0,i=a.length;t1?arguments[1]:void 0);};},7916(e,t,r){"use strict";var n=r(6080),i=r(9565),s=r(8981),o=r(6319),a=r(4209),l=r(3517),c=r(6198),u=r(4659),d=r(4527),f=r(81),p=r(851),h=Array;e.exports=function(e){var t=s(e),r=l(this),v=arguments.length,g=v>1?arguments[1]:void 0,m=void 0!==g;m&&(g=n(g,v>2?arguments[2]:void 0));var y,b,w,S,x,k,E=p(t),C=0;if(!E||this===h&&a(E))for(y=c(t),b=r?new this(y):h(y);y>C;C++)k=m?g(t[C],C):t[C],u(b,C,k);else for(b=r?new this():[],x=(S=f(t,E)).next;!(w=i(x,S)).done;C++)k=m?o(S,g,[w.value,C],!0):w.value,u(b,C,k);return d(b,C),b;};},9617(e,t,r){"use strict";var n=r(5397),i=r(5610),s=r(6198),o=function(e){return function(t,r,o){var a=n(t),l=s(a);if(0===l)return !e&&-1;var c,u=i(o,l);if(e&&r!=r){for(;l>u;)if((c=a[u++])!=c)return !0;}else{for(;l>u;u++)if((e||u in a)&&a[u]===r)return e||u||0;}return !e&&-1;};};e.exports={includes:o(!0),indexOf:o(!1)};},9213(e,t,r){"use strict";var n=r(6080),i=r(7055),s=r(8981),o=r(6198),a=r(1469),l=r(4659),c=function(e){var t=1===e,r=2===e,c=3===e,u=4===e,d=6===e,f=7===e,p=5===e||d;return function(h,v,g){for(var m,y,b=s(h),w=i(b),S=o(w),x=n(v,g),k=0,E=0,C=t?a(h,S):r||f?a(h,0):void 0;S>k;k++)if((p||k in w)&&(y=x(m=w[k],k,b),e))if(t)l(C,k,y);else if(y)switch(e){case 3:return !0;case 5:return m;case 6:return k;case 2:l(C,E++,m);}else switch(e){case 4:return !1;case 7:l(C,E++,m);}return d?-1:c||u?u:C;};};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterReject:c(7)};},597(e,t,r){"use strict";var n=r(9039),i=r(8227),s=r(9519),o=i("species");e.exports=function(e){return s>=51||!n(function(){var t=[];return (t.constructor={})[o]=function(){return {foo:1};},1!==t[e](Boolean).foo;});};},4598(e,t,r){"use strict";var n=r(9039);e.exports=function(e,t){var r=[][e];return !!r&&n(function(){r.call(null,t||function(){return 1;},1);});};},4527(e,t,r){"use strict";var n=r(3724),i=r(4376),s=TypeError,o=Object.getOwnPropertyDescriptor,a=n&&!function(){if(void 0!==this)return !0;try{Object.defineProperty([],"length",{writable:!1}).length=1;}catch(e){return e instanceof TypeError;}}();e.exports=a?function(e,t){if(i(e)&&!o(e,"length").writable)throw new s("Cannot set read only .length");return e.length=t;}:function(e,t){return e.length=t;};},7680(e,t,r){"use strict";var n=r(9504);e.exports=n([].slice);},4488(e,t,r){"use strict";var n=r(7680),i=Math.floor,s=function(e,t){var r=e.length;if(r<8)for(var o,a,l=1;l0;)e[a]=e[--a];a!==l++&&(e[a]=o);}else for(var c=i(r/2),u=s(n(e,0,c),t),d=s(n(e,c),t),f=u.length,p=d.length,h=0,v=0;h1?arguments[1]:void 0);t=t?t.next:r.first;)for(n(t.value,t.key,this);t&&t.removed;)t=t.previous;},has:function(e){return !!b(this,e);}}),s(f,r?{get:function(e){var t=b(this,e);return t&&t.value;},set:function(e,t){return y(this,0===e?0:e,t);}}:{add:function(e){return y(this,e=0===e?0:e,e);}}),p&&i(f,"size",{configurable:!0,get:function(){return v(this).size;}}),d;},setStrong:function(e,t,r){var n=t+" Iterator",i=m(t),s=m(n);u(e,t,function(e,t){g(this,{type:n,target:e,state:i(e),kind:t,last:null});},function(){for(var e=s(this),t=e.kind,r=e.last;r&&r.removed;)r=r.previous;return e.target&&(e.last=r=r?r.next:e.state.first)?d("keys"===t?r.key:"values"===t?r.value:[r.key,r.value],!1):(e.target=null,d(void 0,!0));},r?"entries":"values",!r,!0),f(t);}};},6468(e,t,r){"use strict";var n=r(6518),i=r(4576),s=r(9504),o=r(2796),a=r(6840),l=r(3451),c=r(2652),u=r(679),d=r(4901),f=r(4117),p=r(34),h=r(9039),v=r(4428),g=r(687),m=r(3167);e.exports=function(e,t,r){var y=-1!==e.indexOf("Map"),b=-1!==e.indexOf("Weak"),w=y?"set":"add",S=i[e],x=S&&S.prototype,k=S,E={},C=function(e){var t=s(x[e]);a(x,e,"add"===e?function(e){return t(this,0===e?0:e),this;}:"delete"===e?function(e){return !(b&&!p(e))&&t(this,0===e?0:e);}:"get"===e?function(e){return b&&!p(e)?void 0:t(this,0===e?0:e);}:"has"===e?function(e){return !(b&&!p(e))&&t(this,0===e?0:e);}:function(e,r){return t(this,0===e?0:e,r),this;});};if(o(e,!d(S)||!(b||x.forEach&&!h(function(){(new S()).entries().next();}))))k=r.getConstructor(t,e,y,w),l.enable();else{if(o(e,!0)){var T=new k(),L=T[w](b?{}:-0,1)!==T,A=h(function(){T.has(1);}),O=v(function(e){new S(e);}),P=!b&&h(function(){for(var e=new S(),t=5;t--;)e[w](t,t);return !e.has(-0);});O||((k=t(function(e,t){u(e,x);var r=m(new S(),e,k);return f(t)||c(t,r[w],{that:r,AS_ENTRIES:y}),r;})).prototype=x,x.constructor=k),(A||P)&&(C("delete"),C("has"),y&&C("get")),(P||L)&&C(w),b&&x.clear&&delete x.clear;}}return E[e]=k,n({global:!0,constructor:!0,forced:k!==S},E),g(k,e),b||r.setStrong(k,e,y),k;};},7740(e,t,r){"use strict";var n=r(9297),i=r(5031),s=r(7347),o=r(4913);e.exports=function(e,t,r){for(var a=i(t),l=o.f,c=s.f,u=0;u9007199254740991)throw t("Maximum allowed index exceeded");return e;};},7400(e){"use strict";e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0};},9296(e,t,r){"use strict";var n=r(4055)("span").classList,i=n&&n.constructor&&n.constructor.prototype;e.exports=i===Object.prototype?void 0:i;},8727(e){"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"];},2839(e,t,r){"use strict";var n=r(4576).navigator,i=n&&n.userAgent;e.exports=i?String(i):"";},9519(e,t,r){"use strict";var n,i,s=r(4576),o=r(2839),a=s.process,l=s.Deno,c=a&&a.versions||l&&l.version,u=c&&c.v8;u&&(i=(n=u.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!i&&o&&(!(n=o.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/))&&(i=+n[1]),e.exports=i;},4215(e,t,r){"use strict";var n=r(4576),i=r(2839),s=r(2195),o=function(e){return i.slice(0,e.length)===e;};e.exports=o("Bun/")?"BUN":o("Cloudflare-Workers")?"CLOUDFLARE":o("Deno/")?"DENO":o("Node.js/")?"NODE":n.Bun&&"string"==typeof Bun.version?"BUN":n.Deno&&"object"==typeof Deno.version?"DENO":"process"===s(n.process)?"NODE":n.window&&n.document?"BROWSER":"REST";},6518(e,t,r){"use strict";var n=r(4576),i=r(7347).f,s=r(6699),o=r(6840),a=r(9433),l=r(7740),c=r(2796);e.exports=function(e,t){var r,u,d,f,p,h=e.target,v=e.global,g=e.stat;if(r=v?n:g?n[h]||a(h,{}):n[h]&&n[h].prototype)for(u in t){if(f=t[u],d=e.dontCallGetSet?(p=i(r,u))&&p.value:r[u],!c(v?u:h+(g?".":"#")+u,e.forced)&&void 0!==d){if(typeof f==typeof d)continue;l(f,d);}(e.sham||d&&d.sham)&&s(f,"sham",!0),o(r,u,f,e);}};},9039(e){"use strict";e.exports=function(e){try{return !!e();}catch(e){return !0;}};},9228(e,t,r){"use strict";r(7495);var n=r(9565),i=r(6840),s=r(7323),o=r(9039),a=r(8227),l=r(6699),c=a("species"),u=RegExp.prototype;e.exports=function(e,t,r,d){var f=a(e),p=!o(function(){var t={};return t[f]=function(){return 7;},7!==""[e](t);}),h=p&&!o(function(){var t=!1,r=/a/;if("split"===e){var n={};n[c]=function(){return r;},(r={constructor:n,flags:""})[f]=/./[f];}return r.exec=function(){return t=!0,null;},r[f](""),!t;});if(!p||!h||r){var v=/./[f],g=t(f,""[e],function(e,t,r,i,o){var a=t.exec;return a===s||a===u.exec?p&&!o?{done:!0,value:n(v,t,r,i)}:{done:!0,value:n(e,r,t,i)}:{done:!1};});i(String.prototype,e,g[0]),i(u,f,g[1]);}d&&l(u[f],"sham",!0);};},2744(e,t,r){"use strict";var n=r(9039);e.exports=!n(function(){return Object.isExtensible(Object.preventExtensions({}));});},8745(e,t,r){"use strict";var n=r(616),i=Function.prototype,s=i.apply,o=i.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?o.bind(s):function(){return o.apply(s,arguments);});},6080(e,t,r){"use strict";var n=r(7476),i=r(9306),s=r(616),o=n(n.bind);e.exports=function(e,t){return i(e),void 0===t?e:s?o(e,t):function(){return e.apply(t,arguments);};};},616(e,t,r){"use strict";var n=r(9039);e.exports=!n(function(){var e=function(){}.bind();return "function"!=typeof e||e.hasOwnProperty("prototype");});},566(e,t,r){"use strict";var n=r(9504),i=r(9306),s=r(34),o=r(9297),a=r(7680),l=r(616),c=Function,u=n([].concat),d=n([].join),f={};e.exports=l?c.bind:function(e){var t=i(this),r=t.prototype,n=a(arguments,1),l=function(){var r=u(n,a(arguments));return this instanceof l?function(e,t,r){if(!o(f,t)){for(var n=[],i=0;i]*>)/g,u=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,r,n,d,f){var p=r+e.length,h=n.length,v=u;return void 0!==d&&(d=i(d),v=c),a(f,v,function(i,a){var c;switch(o(a,0)){case "$":return "$";case "&":return e;case "`":return l(t,0,r);case "'":return l(t,p);case "<":c=d[l(a,1,-1)];break;default:var u=+a;if(0===u)return i;if(u>h){var f=s(u/10);return 0===f?i:f<=h?void 0===n[f-1]?o(a,1):n[f-1]+o(a,1):i;}c=n[u-1];}return void 0===c?"":c;});};},4576(e,t,r){"use strict";var n=function(e){return e&&e.Math===Math&&e;};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||n("object"==typeof this&&this)||function(){return this;}()||Function("return this")();},9297(e,t,r){"use strict";var n=r(9504),i=r(8981),s=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return s(i(e),t);};},421(e){"use strict";e.exports={};},397(e,t,r){"use strict";var n=r(7751);e.exports=n("document","documentElement");},5917(e,t,r){"use strict";var n=r(3724),i=r(9039),s=r(4055);e.exports=!n&&!i(function(){return 7!==Object.defineProperty(s("div"),"a",{get:function(){return 7;}}).a;});},7055(e,t,r){"use strict";var n=r(9504),i=r(9039),s=r(2195),o=Object,a=n("".split);e.exports=i(function(){return !o("z").propertyIsEnumerable(0);})?function(e){return "String"===s(e)?a(e,""):o(e);}:o;},3167(e,t,r){"use strict";var n=r(4901),i=r(34),s=r(2967);e.exports=function(e,t,r){var o,a;return s&&n(o=t.constructor)&&o!==r&&i(a=o.prototype)&&a!==r.prototype&&s(e,a),e;};},3706(e,t,r){"use strict";var n=r(9504),i=r(4901),s=r(7629),o=n(Function.toString);i(s.inspectSource)||(s.inspectSource=function(e){return o(e);}),e.exports=s.inspectSource;},3451(e,t,r){"use strict";var n=r(6518),i=r(9504),s=r(421),o=r(34),a=r(9297),l=r(4913).f,c=r(8480),u=r(298),d=r(4124),f=r(3392),p=r(2744),h=!1,v=f("meta"),g=0,m=function(e){l(e,v,{value:{objectID:"O"+g++,weakData:{}}});},y=e.exports={enable:function(){y.enable=function(){},h=!0;var e=c.f,t=i([].splice),r={};r[v]=1,e(r).length&&(c.f=function(r){for(var n=e(r),i=0,s=n.length;iy;y++)if((w=P(e[y]))&&c(v,w))return w;return new h(!1);}g=u(e,m);}for(S=C?e.next:g.next;!(x=i(S,g)).done;){try{w=P(x.value);}catch(e){f(g,"throw",e);}if("object"==typeof w&&w&&c(v,w))return w;}return new h(!1);};},9539(e,t,r){"use strict";var n=r(9565),i=r(8551),s=r(5966);e.exports=function(e,t,r){var o,a;i(e);try{if(!(o=s(e,"return"))){if("throw"===t)throw r;return r;}o=n(o,e);}catch(e){a=!0,o=e;}if("throw"===t)throw r;if(a)throw o;return i(o),r;};},3994(e,t,r){"use strict";var n=r(7657).IteratorPrototype,i=r(2360),s=r(6980),o=r(687),a=r(6269),l=function(){return this;};e.exports=function(e,t,r,c){var u=t+" Iterator";return e.prototype=i(n,{next:s(+!c,r)}),o(e,u,!1,!0),a[u]=l,e;};},8707(e,t,r){"use strict";var n=r(6518),i=r(9565),s=r(6395),o=r(350),a=r(4901),l=r(3994),c=r(2787),u=r(2967),d=r(687),f=r(6699),p=r(6840),h=r(8227),v=r(6269),g=r(7657),m=o.PROPER,y=o.CONFIGURABLE,b=g.IteratorPrototype,w=g.BUGGY_SAFARI_ITERATORS,S=h("iterator"),x="keys",k="values",E="entries",C=function(){return this;};e.exports=function(e,t,r,o,h,g,T){l(r,t,o);var L,A,O,P=function(e){if(e===h&&j)return j;if(!w&&e&&e in $)return $[e];switch(e){case x:case k:case E:return function(){return new r(this,e);};}return function(){return new r(this);};},M=t+" Iterator",I=!1,$=e.prototype,D=$[S]||$["@@iterator"]||h&&$[h],j=!w&&D||P(h),N="Array"===t&&$.entries||D;if(N&&(L=c(N.call(new e())))!==Object.prototype&&L.next&&(s||c(L)===b||(u?u(L,b):a(L[S])||p(L,S,C)),d(L,M,!0,!0),s&&(v[M]=C)),m&&h===k&&D&&D.name!==k&&(!s&&y?f($,"name",k):(I=!0,j=function(){return i(D,this);})),h)if(A={values:P(k),keys:g?j:P(x),entries:P(E)},T)for(O in A)(w||I||!(O in $))&&p($,O,A[O]);else n({target:t,proto:!0,forced:w||I},A);return s&&!T||$[S]===j||p($,S,j,{name:h}),v[t]=j,A;};},7657(e,t,r){"use strict";var n,i,s,o=r(9039),a=r(4901),l=r(34),c=r(2360),u=r(2787),d=r(6840),f=r(8227),p=r(6395),h=f("iterator"),v=!1;[].keys&&("next" in (s=[].keys())?(i=u(u(s)))!==Object.prototype&&(n=i):v=!0),!l(n)||o(function(){var e={};return n[h].call(e)!==e;})?n={}:p&&(n=c(n)),a(n[h])||d(n,h,function(){return this;}),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:v};},6269(e){"use strict";e.exports={};},6198(e,t,r){"use strict";var n=r(8014);e.exports=function(e){return n(e.length);};},283(e,t,r){"use strict";var n=r(9504),i=r(9039),s=r(4901),o=r(9297),a=r(3724),l=r(350).CONFIGURABLE,c=r(3706),u=r(1181),d=u.enforce,f=u.get,p=String,h=Object.defineProperty,v=n("".slice),g=n("".replace),m=n([].join),y=a&&!i(function(){return 8!==h(function(){},"length",{value:8}).length;}),b=String(String).split("String"),w=e.exports=function(e,t,r){"Symbol("===v(p(t),0,7)&&(t="["+g(p(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!o(e,"name")||l&&e.name!==t)&&(a?h(e,"name",{value:t,configurable:!0}):e.name=t),y&&r&&o(r,"arity")&&e.length!==r.arity&&h(e,"length",{value:r.arity});try{r&&o(r,"constructor")&&r.constructor?a&&h(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0);}catch(e){}var n=d(e);return o(n,"source")||(n.source=m(b,"string"==typeof t?t:"")),e;};Function.prototype.toString=w(function(){return s(this)&&f(this).source||c(this);},"toString");},741(e){"use strict";var t=Math.ceil,r=Math.floor;e.exports=Math.trunc||function(e){var n=+e;return (n>0?r:t)(n);};},7819(e,t,r){"use strict";var n=r(9039);e.exports=!n(function(){var e="9007199254740993",t=JSON.rawJSON(e);return !JSON.isRawJSON(t)||JSON.stringify(t)!==e;});},2892(e,t,r){"use strict";var n=r(788),i=TypeError;e.exports=function(e){if(n(e))throw new i("The method doesn't accept regular expressions");return e;};},2703(e,t,r){"use strict";var n=r(4576),i=r(9039),s=r(9504),o=r(655),a=r(3802).trim,l=r(7452),c=n.parseInt,u=n.Symbol,d=u&&u.iterator,f=/^[+-]?0x/i,p=s(f.exec),h=8!==c(l+"08")||22!==c(l+"0x16")||d&&!i(function(){c(Object(d));});e.exports=h?function(e,t){var r=a(o(e));return c(r,t>>>0||(p(f,r)?16:10));}:c;},4213(e,t,r){"use strict";var n=r(3724),i=r(9504),s=r(9565),o=r(9039),a=r(1072),l=r(3717),c=r(8773),u=r(8981),d=r(7055),f=Object.assign,p=Object.defineProperty,h=i([].concat);e.exports=!f||o(function(){if(n&&1!==f({b:1},f(p({},"a",{enumerable:!0,get:function(){p(this,"b",{value:3,enumerable:!1});}}),{b:2})).b)return !0;var e={},t={},r=Symbol("assign detection"),i="abcdefghijklmnopqrst";return e[r]=7,i.split("").forEach(function(e){t[e]=e;}),7!==f({},e)[r]||a(f({},t)).join("")!==i;})?function(e,t){for(var r=u(e),i=arguments.length,o=1,f=l.f,p=c.f;i>o;)for(var v,g=d(arguments[o++]),m=f?h(a(g),f(g)):a(g),y=m.length,b=0;y>b;)v=m[b++],n&&!s(p,g,v)||(r[v]=g[v]);return r;}:f;},2360(e,t,r){"use strict";var n,i=r(8551),s=r(6801),o=r(8727),a=r(421),l=r(397),c=r(4055),u=r(6119),d="prototype",f="script",p=u("IE_PROTO"),h=function(){},v=function(e){return "<"+f+">"+e+"";},g=function(e){e.write(v("")),e.close();var t=e.parentWindow.Object;return e=null,t;},m=function(){try{n=new ActiveXObject("htmlfile");}catch(e){}var e,t,r;m="undefined"!=typeof document?document.domain&&n?g(n):(t=c("iframe"),r="java"+f+":",t.style.display="none",l.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(v("document.F=Object")),e.close(),e.F):g(n);for(var i=o.length;i--;)delete m[d][o[i]];return m();};a[p]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(h[d]=i(e),r=new h(),h[d]=null,r[p]=e):r=m(),void 0===t?r:s.f(r,t);};},6801(e,t,r){"use strict";var n=r(3724),i=r(8686),s=r(4913),o=r(8551),a=r(5397),l=r(1072);t.f=n&&!i?Object.defineProperties:function(e,t){o(e);for(var r,n=a(t),i=l(t),c=i.length,u=0;c>u;)s.f(e,r=i[u++],n[r]);return e;};},4913(e,t,r){"use strict";var n=r(3724),i=r(5917),s=r(8686),o=r(8551),a=r(6969),l=TypeError,c=Object.defineProperty,u=Object.getOwnPropertyDescriptor,d="enumerable",f="configurable",p="writable";t.f=n?s?function(e,t,r){if(o(e),t=a(t),o(r),"function"==typeof e&&"prototype"===t&&"value" in r&&p in r&&!r[p]){var n=u(e,t);n&&n[p]&&(e[t]=r.value,r={configurable:f in r?r[f]:n[f],enumerable:d in r?r[d]:n[d],writable:!1});}return c(e,t,r);}:c:function(e,t,r){if(o(e),t=a(t),o(r),i)try{return c(e,t,r);}catch(e){}if("get" in r||"set" in r)throw new l("Accessors not supported");return "value" in r&&(e[t]=r.value),e;};},7347(e,t,r){"use strict";var n=r(3724),i=r(9565),s=r(8773),o=r(6980),a=r(5397),l=r(6969),c=r(9297),u=r(5917),d=Object.getOwnPropertyDescriptor;t.f=n?d:function(e,t){if(e=a(e),t=l(t),u)try{return d(e,t);}catch(e){}if(c(e,t))return o(!i(s.f,e,t),e[t]);};},298(e,t,r){"use strict";var n=r(2195),i=r(5397),s=r(8480).f,o=r(7680),a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"Window"===n(e)?function(e){try{return s(e);}catch(e){return o(a);}}(e):s(i(e));};},8480(e,t,r){"use strict";var n=r(1828),i=r(8727).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,i);};},3717(e,t){"use strict";t.f=Object.getOwnPropertySymbols;},2787(e,t,r){"use strict";var n=r(9297),i=r(4901),s=r(8981),o=r(6119),a=r(2211),l=o("IE_PROTO"),c=Object,u=c.prototype;e.exports=a?c.getPrototypeOf:function(e){var t=s(e);if(n(t,l))return t[l];var r=t.constructor;return i(r)&&t instanceof r?r.prototype:t instanceof c?u:null;};},4124(e,t,r){"use strict";var n=r(9039),i=r(34),s=r(2195),o=r(5652),a=Object.isExtensible,l=n(function(){a(1);});e.exports=l||o?function(e){return !!i(e)&&(!o||"ArrayBuffer"!==s(e))&&(!a||a(e));}:a;},1625(e,t,r){"use strict";var n=r(9504);e.exports=n({}.isPrototypeOf);},1828(e,t,r){"use strict";var n=r(9504),i=r(9297),s=r(5397),o=r(9617).indexOf,a=r(421),l=n([].push);e.exports=function(e,t){var r,n=s(e),c=0,u=[];for(r in n)!i(a,r)&&i(n,r)&&l(u,r);for(;t.length>c;)i(n,r=t[c++])&&(~o(u,r)||l(u,r));return u;};},1072(e,t,r){"use strict";var n=r(1828),i=r(8727);e.exports=Object.keys||function(e){return n(e,i);};},8773(e,t){"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,i=n&&!r.call({1:2},1);t.f=i?function(e){var t=n(this,e);return !!t&&t.enumerable;}:r;},2967(e,t,r){"use strict";var n=r(6706),i=r(34),s=r(7750),o=r(3506);e.exports=Object.setPrototypeOf||("__proto__" in {}?function(){var e,t=!1,r={};try{(e=n(Object.prototype,"__proto__","set"))(r,[]),t=r instanceof Array;}catch(e){}return function(r,n){return s(r),o(n),i(r)?(t?e(r,n):r.__proto__=n,r):r;};}():void 0);},3179(e,t,r){"use strict";var n=r(2140),i=r(6955);e.exports=n?{}.toString:function(){return "[object "+i(this)+"]";};},4270(e,t,r){"use strict";var n=r(9565),i=r(4901),s=r(34),o=TypeError;e.exports=function(e,t){var r,a;if("string"===t&&i(r=e.toString)&&!s(a=n(r,e)))return a;if(i(r=e.valueOf)&&!s(a=n(r,e)))return a;if("string"!==t&&i(r=e.toString)&&!s(a=n(r,e)))return a;throw new o("Can't convert object to primitive value");};},5031(e,t,r){"use strict";var n=r(7751),i=r(9504),s=r(8480),o=r(3717),a=r(8551),l=i([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=s.f(a(e)),r=o.f;return r?l(t,r(e)):t;};},8235(e,t,r){"use strict";var n=r(9504),i=r(9297),s=SyntaxError,o=parseInt,a=String.fromCharCode,l=n("".charAt),c=n("".slice),u=n(/./.exec),d={'\\"':'"',"\\\\":"\\","\\/":"/","\\b":"\b","\\f":"\f","\\n":"\n","\\r":"\r","\\t":"\t"},f=/^[\da-f]{4}$/i,p=/^[\u0000-\u001F]$/;e.exports=function(e,t){for(var r=!0,n="";t0&&(!p.multiline||p.multiline&&"\n"!==y(C,p.lastIndex-1))&&(P="(?: "+P+")",I=" "+I,M++),r=new RegExp("^(?:"+P+")",O)),E&&(r=new RegExp("^"+P+"$(?!\\s)",O)),x&&(n=p.lastIndex),i=s(g,A?r:p,I),A?i?(i.input=S(i.input,M),i[0]=S(i[0],M),i.index=p.lastIndex,p.lastIndex+=i[0].length):p.lastIndex=0:x&&i&&(p.lastIndex=p.global?i.index+i[0].length:n),E&&i&&i.length>1&&s(v,i[0],r,function(){for(o=1;ob)","g");return "b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$c");});},7750(e,t,r){"use strict";var n=r(4117),i=TypeError;e.exports=function(e){if(n(e))throw new i("Can't call method on "+e);return e;};},3389(e,t,r){"use strict";var n=r(4576),i=r(3724),s=Object.getOwnPropertyDescriptor;e.exports=function(e){if(!i)return n[e];var t=s(n,e);return t&&t.value;};},3470(e){"use strict";e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t;};},9472(e,t,r){"use strict";var n,i=r(4576),s=r(8745),o=r(4901),a=r(4215),l=r(2839),c=r(7680),u=r(2812),d=i.Function,f=/MSIE .\./.test(l)||"BUN"===a&&((n=i.Bun.version.split(".")).length<3||"0"===n[0]&&(n[1]<3||"3"===n[1]&&"0"===n[2]));e.exports=function(e,t){var r=t?2:1;return f?function(n,i){var a=u(arguments.length,1)>r,l=o(n)?n:d(n),f=a?c(arguments,r):[],p=a?function(){s(l,this,f);}:l;return t?e(p,i):e(p);}:e;};},7633(e,t,r){"use strict";var n=r(7751),i=r(2106),s=r(8227),o=r(3724),a=s("species");e.exports=function(e){var t=n(e);o&&t&&!t[a]&&i(t,a,{configurable:!0,get:function(){return this;}});};},687(e,t,r){"use strict";var n=r(4913).f,i=r(9297),s=r(8227)("toStringTag");e.exports=function(e,t,r){e&&!r&&(e=e.prototype),e&&!i(e,s)&&n(e,s,{configurable:!0,value:t});};},6119(e,t,r){"use strict";var n=r(5745),i=r(3392),s=n("keys");e.exports=function(e){return s[e]||(s[e]=i(e));};},7629(e,t,r){"use strict";var n=r(6395),i=r(4576),s=r(9433),o="__core-js_shared__",a=e.exports=i[o]||s(o,{});(a.versions||(a.versions=[])).push({version:"3.48.0",mode:n?"pure":"global",copyright:"© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.48.0/LICENSE",source:"https://github.com/zloirock/core-js"});},5745(e,t,r){"use strict";var n=r(7629);e.exports=function(e,t){return n[e]||(n[e]=t||{});};},8183(e,t,r){"use strict";var n=r(9504),i=r(1291),s=r(655),o=r(7750),a=n("".charAt),l=n("".charCodeAt),c=n("".slice),u=function(e){return function(t,r){var n,u,d=s(o(t)),f=i(r),p=d.length;return f<0||f>=p?e?"":void 0:(n=l(d,f))<55296||n>56319||f+1===p||(u=l(d,f+1))<56320||u>57343?e?a(d,f):n:e?c(d,f,f+2):u-56320+(n-55296<<10)+65536;};};e.exports={codeAt:u(!1),charAt:u(!0)};},6098(e,t,r){"use strict";var n=r(9504),i=2147483647,s=/[^\0-\u007E]/,o=/[.\u3002\uFF0E\uFF61]/g,a="Overflow: input needs wider integers to process",l=RangeError,c=n(o.exec),u=Math.floor,d=String.fromCharCode,f=n("".charCodeAt),p=n([].join),h=n([].push),v=n("".replace),g=n("".split),m=n("".toLowerCase),y=function(e){return e+22+75*(e<26);},b=function(e,t,r){var n=0;for(e=r?u(e/700):e>>1,e+=u(e/t);e>455;)e=u(e/35),n+=36;return u(n+36*e/(e+38));},w=function(e){var t=[];e=function(e){for(var t=[],r=0,n=e.length;r=55296&&i<=56319&&r=o&&nu((i-c)/S))throw new l(a);for(c+=(w-o)*S,o=w,r=0;ri)throw new l(a);if(n===o){for(var x=c,k=36;;){var E=k<=v?1:k>=v+26?26:k-v;if(x0?i(t,9007199254740991):0;};},8981(e,t,r){"use strict";var n=r(7750),i=Object;e.exports=function(e){return i(n(e));};},2777(e,t,r){"use strict";var n=r(9565),i=r(34),s=r(757),o=r(5966),a=r(4270),l=r(8227),c=TypeError,u=l("toPrimitive");e.exports=function(e,t){if(!i(e)||s(e))return e;var r,l=o(e,u);if(l){if(void 0===t&&(t="default"),r=n(l,e,t),!i(r)||s(r))return r;throw new c("Can't convert object to primitive value");}return void 0===t&&(t="number"),a(e,t);};},6969(e,t,r){"use strict";var n=r(2777),i=r(757);e.exports=function(e){var t=n(e,"string");return i(t)?t:t+"";};},2140(e,t,r){"use strict";var n={};n[r(8227)("toStringTag")]="z",e.exports="[object z]"===String(n);},655(e,t,r){"use strict";var n=r(6955),i=String;e.exports=function(e){if("Symbol"===n(e))throw new TypeError("Cannot convert a Symbol value to a string");return i(e);};},6823(e){"use strict";var t=String;e.exports=function(e){try{return t(e);}catch(e){return "Object";}};},3392(e,t,r){"use strict";var n=r(9504),i=0,s=Math.random(),o=n(1.1.toString);e.exports=function(e){return "Symbol("+(void 0===e?"":e)+")_"+o(++i+s,36);};},7416(e,t,r){"use strict";var n=r(9039),i=r(8227),s=r(3724),o=r(6395),a=i("iterator");e.exports=!n(function(){var e=new URL("b?a=1&b=2&c=3","https://a"),t=e.searchParams,r=new URLSearchParams("a=1&a=2&b=3"),n="";return e.pathname="c%20d",t.forEach(function(e,r){t.delete("b"),n+=r+e;}),r.delete("a",2),r.delete("b",void 0),o&&(!e.toJSON||!r.has("a",1)||r.has("a",2)||!r.has("a",void 0)||r.has("b"))||!t.size&&(o||!s)||!t.sort||"https://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("https://тест").host||"#%D0%B1"!==new URL("https://a#б").hash||"a1c3"!==n||"x"!==new URL("https://x",void 0).host;});},7040(e,t,r){"use strict";var n=r(4495);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator;},8686(e,t,r){"use strict";var n=r(3724),i=r(9039);e.exports=n&&i(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype;});},2812(e){"use strict";var t=TypeError;e.exports=function(e,r){if(e=51||!i(function(){var e=[];return e[g]=!1,e.concat()[0]!==e;}),y=function(e){if(!o(e))return !1;var t=e[g];return void 0!==t?!!t:s(e);};n({target:"Array",proto:!0,arity:1,forced:!m||!p("concat")},{concat:function(e){var t,r,n,i,s,o=a(this),p=f(o,0),h=0;for(t=-1,n=arguments.length;t1?arguments[1]:void 0);}}),o("includes");},5276(e,t,r){"use strict";var n=r(6518),i=r(7476),s=r(9617).indexOf,o=r(4598),a=i([].indexOf),l=!!a&&1/a([1],1,-0)<0;n({target:"Array",proto:!0,forced:l||!o("indexOf")},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return l?a(this,e,t)||0:s(this,e,t);}});},4346(e,t,r){"use strict";r(6518)({target:"Array",stat:!0},{isArray:r(4376)});},3792(e,t,r){"use strict";var n=r(5397),i=r(6469),s=r(6269),o=r(1181),a=r(4913).f,l=r(8707),c=r(2529),u=r(6395),d=r(3724),f="Array Iterator",p=o.set,h=o.getterFor(f);e.exports=l(Array,"Array",function(e,t){p(this,{type:f,target:n(e),index:0,kind:t});},function(){var e=h(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=null,c(void 0,!0);switch(e.kind){case "keys":return c(r,!1);case "values":return c(t[r],!1);}return c([r,t[r]],!1);},"values");var v=s.Arguments=s.Array;if(i("keys"),i("values"),i("entries"),!u&&d&&"values"!==v.name)try{a(v,"name",{value:"values"});}catch(e){}},8598(e,t,r){"use strict";var n=r(6518),i=r(9504),s=r(7055),o=r(5397),a=r(4598),l=i([].join);n({target:"Array",proto:!0,forced:s!==Object||!a("join",",")},{join:function(e){return l(o(this),void 0===e?",":e);}});},4782(e,t,r){"use strict";var n=r(6518),i=r(4376),s=r(3517),o=r(34),a=r(5610),l=r(6198),c=r(5397),u=r(4659),d=r(4527),f=r(8227),p=r(597),h=r(7680),v=p("slice"),g=f("species"),m=Array,y=Math.max;n({target:"Array",proto:!0,forced:!v},{slice:function(e,t){var r,n,f,p=c(this),v=l(p),b=a(e,v),w=a(void 0===t?v:t,v);if(i(p)&&(r=p.constructor,(s(r)&&(r===m||i(r.prototype))||o(r)&&null===(r=r[g]))&&(r=void 0),r===m||void 0===r))return h(p,b,w);for(n=new (void 0===r?m:r)(y(w-b,0)),f=0;bw-n+r;g--)f(b,g-1);}else{if(r>n)for(g=w-n;g>S;g--)y=g+r-1,(m=g+n-1) in b?b[y]=b[m]:f(b,y);}for(g=0;g2)if(c=w(c),43===(t=L(c,0))||45===t){if(88===(r=L(c,2))||120===r)return NaN;}else{if(48===t){switch(L(c,1)){case 66:case 98:n=2,i=49;break;case 79:case 111:n=8,i=55;break;default:return +c;}for(o=(s=T(c,2)).length,a=0;ai)return NaN;return parseInt(s,n);}}return +c;}(t);}(e));return f(E,t=this)&&v(function(){b(t);})?d(Object(r),this,O):r;};O.prototype=E,A&&!i&&(E.constructor=O),n({global:!0,constructor:!0,wrap:!0,forced:A},{Number:O});var P=function(e,t){for(var r,n=s?g(t):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),i=0;n.length>i;i++)u(t,r=n[i])&&!u(e,r)&&y(e,r,m(t,r));};i&&k&&P(a[S],k),(A||i)&&P(a[S],x);},4185(e,t,r){"use strict";var n=r(6518),i=r(3724),s=r(4913).f;n({target:"Object",stat:!0,forced:Object.defineProperty!==s,sham:!i},{defineProperty:s});},9773(e,t,r){"use strict";var n=r(6518),i=r(4495),s=r(9039),o=r(3717),a=r(8981);n({target:"Object",stat:!0,forced:!i||s(function(){o.f(1);})},{getOwnPropertySymbols:function(e){var t=o.f;return t?t(a(e)):[];}});},9432(e,t,r){"use strict";var n=r(6518),i=r(8981),s=r(1072);n({target:"Object",stat:!0,forced:r(9039)(function(){s(1);})},{keys:function(e){return s(i(e));}});},6099(e,t,r){"use strict";var n=r(2140),i=r(6840),s=r(3179);n||i(Object.prototype,"toString",s,{unsafe:!0});},8940(e,t,r){"use strict";var n=r(6518),i=r(2703);n({global:!0,forced:parseInt!==i},{parseInt:i});},4864(e,t,r){"use strict";var n=r(3724),i=r(4576),s=r(9504),o=r(2796),a=r(3167),l=r(6699),c=r(2360),u=r(8480).f,d=r(1625),f=r(788),p=r(655),h=r(1034),v=r(8429),g=r(1056),m=r(6840),y=r(9039),b=r(9297),w=r(1181).enforce,S=r(7633),x=r(8227),k=r(3635),E=r(8814),C=x("match"),T=i.RegExp,L=T.prototype,A=i.SyntaxError,O=s(L.exec),P=s("".charAt),M=s("".replace),I=s("".indexOf),$=s("".slice),D=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,j=/a/g,N=/a/g,R=new T(j)!==j,z=v.MISSED_STICKY,B=v.UNSUPPORTED_Y;if(o("RegExp",n&&(!R||z||k||E||y(function(){return N[C]=!1,T(j)!==j||T(N)===N||"/a/i"!==String(T(j,"i"));})))){for(var q=function(e,t){var r,n,i,s,o,u,v=d(L,this),g=f(e),m=void 0===t,y=[],S=e;if(!v&&g&&m&&e.constructor===q)return e;if((g||d(L,e))&&(e=e.source,m&&(t=h(S))),e=void 0===e?"":p(e),t=void 0===t?"":p(t),S=e,k&&"dotAll" in j&&(n=!!t&&I(t,"s")>-1)&&(t=M(t,/s/g,"")),r=t,z&&"sticky" in j&&(i=!!t&&I(t,"y")>-1)&&B&&(t=M(t,/y/g,"")),E&&(s=function(e){for(var t,r=e.length,n=0,i="",s=[],o=c(null),a=!1,l=!1,u=0,d="";n"===t&&l:if(""===d||b(o,d))throw new A("Invalid capture group name");o[d]=!0,s[s.length]=[d,u],l=!1,d="";continue;}}l?d+=t:i+=t;}return [i,s];}(e),e=s[0],y=s[1]),o=a(T(e,t),v?this:L,q),(n||i||y.length)&&(u=w(o),n&&(u.dotAll=!0,u.raw=q(function(e){for(var t,r=e.length,n=0,i="",s=!1;n_;)g(q,T,F[_++]);L.constructor=q,q.prototype=L,m(i,"RegExp",q,{constructor:!0});}S("RegExp");},7495(e,t,r){"use strict";var n=r(6518),i=r(7323);n({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i});},8781(e,t,r){"use strict";var n=r(350).PROPER,i=r(6840),s=r(8551),o=r(655),a=r(9039),l=r(1034),c="toString",u=RegExp.prototype,d=u[c],f=a(function(){return "/a/b"!==d.call({source:"a",flags:"b"});}),p=n&&d.name!==c;(f||p)&&i(u,c,function(){var e=s(this);return "/"+o(e.source)+"/"+o(l(e));},{unsafe:!0});},7337(e,t,r){"use strict";var n=r(6518),i=r(9504),s=r(5610),o=RangeError,a=String.fromCharCode,l=String.fromCodePoint,c=i([].join);n({target:"String",stat:!0,arity:1,forced:!!l&&1!==l.length},{fromCodePoint:function(e){for(var t,r=[],n=arguments.length,i=0;n>i;){if(t=+arguments[i++],s(t,1114111)!==t)throw new o(t+" is not a valid code point");r[i]=t<65536?a(t):a(55296+((t-=65536)>>10),t%1024+56320);}return c(r,"");}});},1699(e,t,r){"use strict";var n=r(6518),i=r(9504),s=r(2892),o=r(7750),a=r(655),l=r(1436),c=i("".indexOf);n({target:"String",proto:!0,forced:!l("includes")},{includes:function(e){return !!~c(a(o(this)),a(s(e)),arguments.length>1?arguments[1]:void 0);}});},7764(e,t,r){"use strict";var n=r(8183).charAt,i=r(655),s=r(1181),o=r(8707),a=r(2529),l="String Iterator",c=s.set,u=s.getterFor(l);o(String,"String",function(e){c(this,{type:l,string:i(e),index:0});},function(){var e,t=u(this),r=t.string,i=t.index;return i>=r.length?a(void 0,!0):(e=n(r,i),t.index+=e.length,a(e,!1));});},5440(e,t,r){"use strict";var n=r(8745),i=r(9565),s=r(9504),o=r(9228),a=r(9039),l=r(8551),c=r(4901),u=r(34),d=r(1291),f=r(8014),p=r(655),h=r(7750),v=r(7829),g=r(5966),m=r(2478),y=r(1034),b=r(6682),w=r(8227)("replace"),S=Math.max,x=Math.min,k=s([].concat),E=s([].push),C=s("".indexOf),T=s("".slice),L=function(e){return void 0===e?e:String(e);},A="$0"==="a".replace(/./,"$0"),O=!!/./[w]&&""===/./[w]("a","$0");o("replace",function(e,t,r){var s=O?"$":"$0";return [function(e,r){var n=h(this),s=u(e)?g(e,w):void 0;return s?i(s,e,n,r):i(t,p(n),e,r);},function(e,i){var o=l(this),a=p(e);if("string"==typeof i&&-1===C(i,s)&&-1===C(i,"$<")){var u=r(t,o,a,i);if(u.done)return u.value;}var h=c(i);h||(i=p(i));var g,w=p(y(o)),A=-1!==C(w,"g");A&&(g=-1!==C(w,"u"),o.lastIndex=0);for(var O,P=[];null!==(O=b(o,a))&&(E(P,O),A);)""===p(O[0])&&(o.lastIndex=v(a,f(o.lastIndex),g));for(var M="",I=0,$=0;$=I&&(M+=T(a,I,N)+D,I=N+j.length);}return M+T(a,I);}];},!!a(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e;},"7"!=="".replace(e,"$");})||!A||O);},5746(e,t,r){"use strict";var n=r(9565),i=r(9228),s=r(8551),o=r(34),a=r(7750),l=r(3470),c=r(655),u=r(5966),d=r(6682);i("search",function(e,t,r){return [function(t){var r=a(this),i=o(t)?u(t,e):void 0;return i?n(i,t,r):new RegExp(t)[e](c(r));},function(e){var n=s(this),i=c(e),o=r(t,n,i);if(o.done)return o.value;var a=n.lastIndex;l(a,0)||(n.lastIndex=0);var u=d(n,i);return l(n.lastIndex,a)||(n.lastIndex=a),null===u?-1:u.index;}];});},1392(e,t,r){"use strict";var n,i=r(6518),s=r(7476),o=r(7347).f,a=r(8014),l=r(655),c=r(2892),u=r(7750),d=r(1436),f=r(6395),p=s("".slice),h=Math.min,v=d("startsWith");i({target:"String",proto:!0,forced:!(!f&&!v&&(n=o(String.prototype,"startsWith"),n&&!n.writable)||v)},{startsWith:function(e){var t=l(u(this));c(e);var r=a(h(arguments.length>1?arguments[1]:void 0,t.length)),n=l(e);return p(t,r,r+n.length)===n;}});},2762(e,t,r){"use strict";var n=r(6518),i=r(3802).trim;n({target:"String",proto:!0,forced:r(706)("trim")},{trim:function(){return i(this);}});},6761(e,t,r){"use strict";var n=r(6518),i=r(4576),s=r(9565),o=r(9504),a=r(6395),l=r(3724),c=r(4495),u=r(9039),d=r(9297),f=r(1625),p=r(8551),h=r(5397),v=r(6969),g=r(655),m=r(6980),y=r(2360),b=r(1072),w=r(8480),S=r(298),x=r(3717),k=r(7347),E=r(4913),C=r(6801),T=r(8773),L=r(6840),A=r(2106),O=r(5745),P=r(6119),M=r(421),I=r(3392),$=r(8227),D=r(1951),j=r(511),N=r(8242),R=r(687),z=r(1181),B=r(9213).forEach,q=P("hidden"),F="Symbol",_="prototype",H=z.set,G=z.getterFor(F),U=Object[_],V=i.Symbol,W=V&&V[_],Y=i.RangeError,X=i.TypeError,K=i.QObject,J=k.f,Q=E.f,Z=S.f,ee=T.f,te=o([].push),re=O("symbols"),ne=O("op-symbols"),ie=O("wks"),se=!K||!K[_]||!K[_].findChild,oe=function(e,t,r){var n=J(U,t);n&&delete U[t],Q(e,t,r),n&&e!==U&&Q(U,t,n);},ae=l&&u(function(){return 7!==y(Q({},"a",{get:function(){return Q(this,"a",{value:7}).a;}})).a;})?oe:Q,le=function(e,t){var r=re[e]=y(W);return H(r,{type:F,tag:e,description:t}),l||(r.description=t),r;},ce=function(e,t,r){e===U&&ce(ne,t,r),p(e);var n=v(t);return p(r),d(re,n)?(r.enumerable?(d(e,q)&&e[q][n]&&(e[q][n]=!1),r=y(r,{enumerable:m(0,!1)})):(d(e,q)||Q(e,q,m(1,y(null))),e[q][n]=!0),ae(e,n,r)):Q(e,n,r);},ue=function(e,t){p(e);var r=h(t),n=b(r).concat(he(r));return B(n,function(t){l&&!s(de,r,t)||ce(e,t,r[t]);}),e;},de=function(e){var t=v(e),r=s(ee,this,t);return !(this===U&&d(re,t)&&!d(ne,t))&&(!(r||!d(this,t)||!d(re,t)||d(this,q)&&this[q][t])||r);},fe=function(e,t){var r=h(e),n=v(t);if(r!==U||!d(re,n)||d(ne,n)){var i=J(r,n);return !i||!d(re,n)||d(r,q)&&r[q][n]||(i.enumerable=!0),i;}},pe=function(e){var t=Z(h(e)),r=[];return B(t,function(e){d(re,e)||d(M,e)||te(r,e);}),r;},he=function(e){var t=e===U,r=Z(t?ne:h(e)),n=[];return B(r,function(e){!d(re,e)||t&&!d(U,e)||te(n,re[e]);}),n;};c||(V=function(){if(f(W,this))throw new X("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?g(arguments[0]):void 0,t=I(e),r=function(e){var n=void 0===this?i:this;n===U&&s(r,ne,e),d(n,q)&&d(n[q],t)&&(n[q][t]=!1);var o=m(1,e);try{ae(n,t,o);}catch(e){if(!(e instanceof Y))throw e;oe(n,t,o);}};return l&&se&&ae(U,t,{configurable:!0,set:r}),le(t,e);},L(W=V[_],"toString",function(){return G(this).tag;}),L(V,"withoutSetter",function(e){return le(I(e),e);}),T.f=de,E.f=ce,C.f=ue,k.f=fe,w.f=S.f=pe,x.f=he,D.f=function(e){return le($(e),e);},l&&(A(W,"description",{configurable:!0,get:function(){return G(this).description;}}),a||L(U,"propertyIsEnumerable",de,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!c,sham:!c},{Symbol:V}),B(b(ie),function(e){j(e);}),n({target:F,stat:!0,forced:!c},{useSetter:function(){se=!0;},useSimple:function(){se=!1;}}),n({target:"Object",stat:!0,forced:!c,sham:!l},{create:function(e,t){return void 0===t?y(e):ue(y(e),t);},defineProperty:ce,defineProperties:ue,getOwnPropertyDescriptor:fe}),n({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:pe}),N(),R(V,F),M[q]=!0;},9463(e,t,r){"use strict";var n=r(6518),i=r(3724),s=r(4576),o=r(9504),a=r(9297),l=r(4901),c=r(1625),u=r(655),d=r(2106),f=r(7740),p=s.Symbol,h=p&&p.prototype;if(i&&l(p)&&(!("description" in h)||void 0!==p().description)){var v={},g=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:u(arguments[0]),t=c(h,this)?new p(e):void 0===e?p():p(e);return ""===e&&(v[t]=!0),t;};f(g,p),g.prototype=h,h.constructor=g;var m="Symbol(description detection)"===String(p("description detection")),y=o(h.valueOf),b=o(h.toString),w=/^Symbol\((.*)\)[^)]+$/,S=o("".replace),x=o("".slice);d(h,"description",{configurable:!0,get:function(){var e=y(this);if(a(v,e))return "";var t=b(e),r=m?x(t,7,-1):S(t,w,"$1");return ""===r?void 0:r;}}),n({global:!0,constructor:!0,forced:!0},{Symbol:g});}},1510(e,t,r){"use strict";var n=r(6518),i=r(7751),s=r(9297),o=r(655),a=r(5745),l=r(1296),c=a("string-to-symbol-registry"),u=a("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!l},{for:function(e){var t=o(e);if(s(c,t))return c[t];var r=i("Symbol")(t);return c[t]=r,u[r]=t,r;}});},2259(e,t,r){"use strict";r(511)("iterator");},2675(e,t,r){"use strict";r(6761),r(1510),r(7812),r(3110),r(9773);},7812(e,t,r){"use strict";var n=r(6518),i=r(9297),s=r(757),o=r(6823),a=r(5745),l=r(1296),c=a("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!l},{keyFor:function(e){if(!s(e))throw new TypeError(o(e)+" is not a symbol");if(i(c,e))return c[e];}});},5700(e,t,r){"use strict";var n=r(511),i=r(8242);n("toPrimitive"),i();},3500(e,t,r){"use strict";var n=r(4576),i=r(7400),s=r(9296),o=r(235),a=r(6699),l=function(e){if(e&&e.forEach!==o)try{a(e,"forEach",o);}catch(t){e.forEach=o;}};for(var c in i)i[c]&&l(n[c]&&n[c].prototype);l(s);},2953(e,t,r){"use strict";var n=r(4576),i=r(7400),s=r(9296),o=r(3792),a=r(6699),l=r(687),c=r(8227)("iterator"),u=o.values,d=function(e,t){if(e){if(e[c]!==u)try{a(e,c,u);}catch(t){e[c]=u;}if(l(e,t,!0),i[t])for(var r in o)if(e[r]!==o[r])try{a(e,r,o[r]);}catch(t){e[r]=o[r];}}};for(var f in i)d(n[f]&&n[f].prototype,f);d(s,"DOMTokenList");},5575(e,t,r){"use strict";var n=r(6518),i=r(4576),s=r(9472)(i.setInterval,!0);n({global:!0,bind:!0,forced:i.setInterval!==s},{setInterval:s});},4599(e,t,r){"use strict";var n=r(6518),i=r(4576),s=r(9472)(i.setTimeout,!0);n({global:!0,bind:!0,forced:i.setTimeout!==s},{setTimeout:s});},6031(e,t,r){"use strict";r(5575),r(4599);},8406(e,t,r){"use strict";r(3792),r(7337);var n=r(6518),i=r(4576),s=r(3389),o=r(7751),a=r(9565),l=r(9504),c=r(3724),u=r(7416),d=r(6840),f=r(2106),p=r(6279),h=r(687),v=r(3994),g=r(1181),m=r(679),y=r(4901),b=r(9297),w=r(6080),S=r(6955),x=r(8551),k=r(34),E=r(655),C=r(2360),T=r(6980),L=r(81),A=r(851),O=r(2529),P=r(2812),M=r(8227),I=r(4488),$=M("iterator"),D="URLSearchParams",j=D+"Iterator",N=g.set,R=g.getterFor(D),z=g.getterFor(j),B=s("fetch"),q=s("Request"),F=s("Headers"),_=q&&q.prototype,H=F&&F.prototype,G=i.TypeError,U=i.encodeURIComponent,V=String.fromCharCode,W=o("String","fromCodePoint"),Y=parseInt,X=l("".charAt),K=l([].join),J=l([].push),Q=l("".replace),Z=l([].shift),ee=l([].splice),te=l("".split),re=l("".slice),ne=l(/./.exec),ie=/\+/g,se=/^[0-9a-f]+$/i,oe=function(e,t){var r=re(e,t,t+2);return ne(se,r)?Y(r,16):NaN;},ae=function(e){for(var t=0,r=128;r>0&&0!==(e&r);r>>=1)t++;return t;},le=function(e){var t=null;switch(e.length){case 1:t=e[0];break;case 2:t=(31&e[0])<<6|63&e[1];break;case 3:t=(15&e[0])<<12|(63&e[1])<<6|63&e[2];break;case 4:t=(7&e[0])<<18|(63&e[1])<<12|(63&e[2])<<6|63&e[3];}return t>1114111?null:t;},ce=function(e){for(var t=(e=Q(e,ie," ")).length,r="",n=0;nt){r+="%",n++;continue;}var s=oe(e,n+1);if(s!=s){r+=i,n++;continue;}n+=2;var o=ae(s);if(0===o)i=V(s);else{if(1===o||o>4){r+="�",n++;continue;}for(var a=[s],l=1;lt||"%"!==X(e,n));){var c=oe(e,n+1);if(c!=c){n+=3;break;}if(c>191||c<128)break;J(a,c),n+=2,l++;}if(a.length!==o){r+="�";continue;}var u=le(a);null===u?r+="�":i=W(u);}}r+=i,n++;}return r;},ue=/[!'()~]|%20/g,de={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},fe=function(e){return de[e];},pe=function(e){return Q(U(e),ue,fe);},he=v(function(e,t){N(this,{type:j,target:R(e).entries,index:0,kind:t});},D,function(){var e=z(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=null,O(void 0,!0);var n=t[r];switch(e.kind){case "keys":return O(n.key,!1);case "values":return O(n.value,!1);}return O([n.key,n.value],!1);},!0),ve=function(e){this.entries=[],this.url=null,void 0!==e&&(k(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===X(e,0)?re(e,1):e:E(e)));};ve.prototype={type:D,bindURL:function(e){this.url=e,this.update();},parseObject:function(e){var t,r,n,i,s,o,l,c=this.entries,u=A(e);if(u)for(r=(t=L(e,u)).next;!(n=a(r,t)).done;){if(s=(i=L(x(n.value))).next,(o=a(s,i)).done||(l=a(s,i)).done||!a(s,i).done)throw new G("Expected sequence with length 2");J(c,{key:E(o.value),value:E(l.value)});}else for(var d in e)b(e,d)&&J(c,{key:d,value:E(e[d])});},parseQuery:function(e){if(e)for(var t,r,n=this.entries,i=te(e,"&"),s=0;s0?arguments[0]:void 0));c||(this.size=e.entries.length);},me=ge.prototype;if(p(me,{append:function(e,t){var r=R(this);P(arguments.length,2),J(r.entries,{key:E(e),value:E(t)}),c||this.size++,r.updateURL();},delete:function(e){for(var t=R(this),r=P(arguments.length,1),n=t.entries,i=E(e),s=r<2?void 0:arguments[1],o=void 0===s?s:E(s),a=0;at.key?1:-1;}),e.updateURL();},forEach:function(e){for(var t,r=R(this).entries,n=w(e,arguments.length>1?arguments[1]:void 0),i=0;i1?we(arguments[1]):{});}}),y(q)){var Se=function(e){return m(this,_),new q(e,arguments.length>1?we(arguments[1]):{});};_.constructor=Se,Se.prototype=_,n({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:Se});}}e.exports={URLSearchParams:ge,getState:R};},8408(e,t,r){"use strict";r(8406);},5806(e,t,r){"use strict";r(7764);var n,i=r(6518),s=r(3724),o=r(7416),a=r(4576),l=r(6080),c=r(9504),u=r(6840),d=r(2106),f=r(679),p=r(9297),h=r(4213),v=r(7916),g=r(7680),m=r(8183).codeAt,y=r(6098),b=r(655),w=r(687),S=r(2812),x=r(8406),k=r(1181),E=k.set,C=k.getterFor("URL"),T=x.URLSearchParams,L=x.getState,A=a.URL,O=a.TypeError,P=a.parseInt,M=Math.floor,I=Math.pow,$=c("".charAt),D=c(/./.exec),j=c([].join),N=c(1.1.toString),R=c([].pop),z=c([].push),B=c("".replace),q=c([].shift),F=c("".split),_=c("".slice),H=c("".toLowerCase),G=c([].unshift),U="Invalid scheme",V="Invalid host",W="Invalid port",Y=/[a-z]/i,X=/[\d+-.a-z]/i,K=/\d/,J=/^0x/i,Q=/^[0-7]+$/,Z=/^\d+$/,ee=/^[\da-f]+$/i,te=/[\0\t\n\r #%/:<>?@[\\\]^|]/,re=/[\0\t\n\r #/:<>?@[\\\]^|]/,ne=/^[\u0000-\u0020]+/,ie=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,se=/[\t\n\r]/g,oe=function(e){var t,r,n,i;if("number"==typeof e){for(t=[],r=0;r<4;r++)G(t,e%256),e=M(e/256);return j(t,".");}if("object"==typeof e){for(t="",n=function(e){for(var t=null,r=1,n=null,i=0,s=0;s<8;s++)0!==e[s]?(i>r&&(t=n,r=i),n=null,i=0):(null===n&&(n=s),++i);return i>r?n:t;}(e),r=0;r<8;r++)i&&0===e[r]||(i&&(i=!1),n===r?(t+=r?":":"::",i=!0):(t+=N(e[r],16),r<7&&(t+=":")));return "["+t+"]";}return e;},ae={},le=h({},ae,{" ":1,'"':1,"<":1,">":1,"`":1}),ce=h({},le,{"#":1,"?":1,"{":1,"}":1}),ue=h({},ce,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),de=function(e,t){var r=m(e,0);return r>32&&r<127&&!p(t,e)?e:encodeURIComponent(e);},fe={ftp:21,file:null,http:80,https:443,ws:80,wss:443},pe=function(e,t){var r;return 2===e.length&&D(Y,$(e,0))&&(":"===(r=$(e,1))||!t&&"|"===r);},he=function(e){var t;return e.length>1&&pe(_(e,0,2))&&(2===e.length||"/"===(t=$(e,2))||"\\"===t||"?"===t||"#"===t);},ve=function(e){return "."===e||"%2e"===H(e);},ge=function(e){return ".."===(e=H(e))||"%2e."===e||".%2e"===e||"%2e%2e"===e;},me={},ye={},be={},we={},Se={},xe={},ke={},Ee={},Ce={},Te={},Le={},Ae={},Oe={},Pe={},Me={},Ie={},$e={},De={},je={},Ne={},Re={},ze=function(e,t,r){var n,i,s,o=b(e);if(t){if(i=this.parse(o))throw new O(i);this.searchParams=null;}else{if(void 0!==r&&(n=new ze(r,!0)),i=this.parse(o,null,n))throw new O(i);(s=L(new T())).bindURL(this),this.searchParams=s;}};ze.prototype={type:"URL",parse:function(e,t,r){var i,s,o,a,l=this,c=t||me,u=0,d="",f=!1,h=!1,m=!1;for(e=b(e),t||(l.scheme="",l.username="",l.password="",l.host=null,l.port=null,l.path=[],l.query=null,l.fragment=null,l.cannotBeABaseURL=!1,e=B(e,ne,""),e=B(e,ie,"$1")),e=B(e,se,""),i=v(e);u<=i.length;){switch(s=i[u],c){case me:if(!s||!D(Y,s)){if(t)return U;c=be;continue;}d+=H(s),c=ye;break;case ye:if(s&&(D(X,s)||"+"===s||"-"===s||"."===s))d+=H(s);else{if(":"!==s){if(t)return U;d="",c=be,u=0;continue;}if(t&&(l.isSpecial()!==p(fe,d)||"file"===d&&(l.includesCredentials()||null!==l.port)||"file"===l.scheme&&!l.host))return;if(l.scheme=d,t)return void (l.isSpecial()&&fe[l.scheme]===l.port&&(l.port=null));d="","file"===l.scheme?c=Pe:l.isSpecial()&&r&&r.scheme===l.scheme?c=we:l.isSpecial()?c=Ee:"/"===i[u+1]?(c=Se,u++):(l.cannotBeABaseURL=!0,z(l.path,""),c=je);}break;case be:if(!r||r.cannotBeABaseURL&&"#"!==s)return U;if(r.cannotBeABaseURL&&"#"===s){l.scheme=r.scheme,l.path=g(r.path),l.query=r.query,l.fragment="",l.cannotBeABaseURL=!0,c=Re;break;}c="file"===r.scheme?Pe:xe;continue;case we:if("/"!==s||"/"!==i[u+1]){c=xe;continue;}c=Ce,u++;break;case Se:if("/"===s){c=Te;break;}c=De;continue;case xe:if(l.scheme=r.scheme,s===n)l.username=r.username,l.password=r.password,l.host=r.host,l.port=r.port,l.path=g(r.path),l.query=r.query;else if("/"===s||"\\"===s&&l.isSpecial())c=ke;else if("?"===s)l.username=r.username,l.password=r.password,l.host=r.host,l.port=r.port,l.path=g(r.path),l.query="",c=Ne;else{if("#"!==s){l.username=r.username,l.password=r.password,l.host=r.host,l.port=r.port,l.path=g(r.path),l.path.length--,c=De;continue;}l.username=r.username,l.password=r.password,l.host=r.host,l.port=r.port,l.path=g(r.path),l.query=r.query,l.fragment="",c=Re;}break;case ke:if(!l.isSpecial()||"/"!==s&&"\\"!==s){if("/"!==s){l.username=r.username,l.password=r.password,l.host=r.host,l.port=r.port,c=De;continue;}c=Te;}else c=Ce;break;case Ee:if(c=Ce,"/"!==s||"/"!==$(d,u+1))continue;u++;break;case Ce:if("/"!==s&&"\\"!==s){c=Te;continue;}break;case Te:if("@"===s){f&&(d="%40"+d),f=!0,o=v(d);for(var y=0;y65535)return W;l.port=l.isSpecial()&&x===fe[l.scheme]?null:x,d="";}if(t)return;c=$e;continue;}return W;}d+=s;break;case Pe:if(l.scheme="file","/"===s||"\\"===s)c=Me;else{if(!r||"file"!==r.scheme){c=De;continue;}switch(s){case n:l.host=r.host,l.path=g(r.path),l.query=r.query;break;case "?":l.host=r.host,l.path=g(r.path),l.query="",c=Ne;break;case "#":l.host=r.host,l.path=g(r.path),l.query=r.query,l.fragment="",c=Re;break;default:he(j(g(i,u),""))||(l.host=r.host,l.path=g(r.path),l.shortenPath()),c=De;continue;}}break;case Me:if("/"===s||"\\"===s){c=Ie;break;}r&&"file"===r.scheme&&!he(j(g(i,u),""))&&(pe(r.path[0],!0)?z(l.path,r.path[0]):l.host=r.host),c=De;continue;case Ie:if(s===n||"/"===s||"\\"===s||"?"===s||"#"===s){if(!t&&pe(d))c=De;else if(""===d){if(l.host="",t)return;c=$e;}else{if(a=l.parseHost(d))return a;if("localhost"===l.host&&(l.host=""),t)return;d="",c=$e;}continue;}d+=s;break;case $e:if(l.isSpecial()){if(c=De,"/"!==s&&"\\"!==s)continue;}else if(t||"?"!==s)if(t||"#"!==s){if(s!==n&&(c=De,"/"!==s))continue;}else l.fragment="",c=Re;else l.query="",c=Ne;break;case De:if(s===n||"/"===s||"\\"===s&&l.isSpecial()||!t&&("?"===s||"#"===s)){if(ge(d)?(l.shortenPath(),"/"===s||"\\"===s&&l.isSpecial()||z(l.path,"")):ve(d)?"/"===s||"\\"===s&&l.isSpecial()||z(l.path,""):("file"===l.scheme&&!l.path.length&&pe(d)&&(l.host&&(l.host=""),d=$(d,0)+":"),z(l.path,d)),d="","file"===l.scheme&&(s===n||"?"===s||"#"===s))for(;l.path.length>1&&""===l.path[0];)q(l.path);"?"===s?(l.query="",c=Ne):"#"===s&&(l.fragment="",c=Re);}else d+=de(s,ce);break;case je:"?"===s?(l.query="",c=Ne):"#"===s?(l.fragment="",c=Re):s!==n&&(l.path[0]+=de(s,ae));break;case Ne:t||"#"!==s?s!==n&&("'"===s&&l.isSpecial()?l.query+="%27":l.query+="#"===s?"%23":de(s,ae)):(l.fragment="",c=Re);break;case Re:s!==n&&(l.fragment+=de(s,le));}u++;}},parseHost:function(e){var t,r,n;if("["===$(e,0)){if("]"!==$(e,e.length-1))return V;if(t=function(e){var t,r,n,i,s,o,a,l=[0,0,0,0,0,0,0,0],c=0,u=null,d=0,f=function(){return $(e,d);};if(":"===f()){if(":"!==$(e,1))return;d+=2,u=++c;}for(;f();){if(8===c)return;if(":"!==f()){for(t=r=0;r<4&&D(ee,f());)t=16*t+P(f(),16),d++,r++;if("."===f()){if(0===r)return;if(d-=r,c>6)return;for(n=0;f();){if(i=null,n>0){if(!("."===f()&&n<4))return;d++;}if(!D(K,f()))return;for(;D(K,f());){if(s=P(f(),10),null===i)i=s;else{if(0===i)return;i=10*i+s;}if(i>255)return;d++;}l[c]=256*l[c]+i,2!==++n&&4!==n||c++;}if(4!==n)return;break;}if(":"===f()){if(d++,!f())return;}else{if(f())return;}l[c++]=t;}else{if(null!==u)return;d++,u=++c;}}if(null!==u)for(o=c-u,c=7;0!==c&&o>0;)a=l[c],l[c--]=l[u+o-1],l[u+--o]=a;else{if(8!==c)return;}return l;}(_(e,1,-1)),!t)return V;this.host=t;}else if(this.isSpecial()){if(e=y(e),D(te,e))return V;if(t=function(e){var t,r,n,i,s,o,a,l=F(e,".");if(l.length&&""===l[l.length-1]&&l.length--,(t=l.length)>4)return e;for(r=[],n=0;n1&&"0"===$(i,0)&&(s=D(J,i)?16:8,i=_(i,8===s?1:2)),""===i)o=0;else{if(!D(10===s?Z:8===s?Q:ee,i))return e;o=P(i,s);}z(r,o);}for(n=0;n=I(256,5-t))return null;}else{if(o>255)return null;}for(a=R(r),n=0;n1?arguments[1]:void 0,n=E(t,new ze(e,!1,r));s||(t.href=n.serialize(),t.origin=n.getOrigin(),t.protocol=n.getProtocol(),t.username=n.getUsername(),t.password=n.getPassword(),t.host=n.getHost(),t.hostname=n.getHostname(),t.port=n.getPort(),t.pathname=n.getPathname(),t.search=n.getSearch(),t.searchParams=n.getSearchParams(),t.hash=n.getHash());},qe=Be.prototype,Fe=function(e,t){return {get:function(){return C(this)[e]();},set:t&&function(e){return C(this)[t](e);},configurable:!0,enumerable:!0};};if(s&&(d(qe,"href",Fe("serialize","setHref")),d(qe,"origin",Fe("getOrigin")),d(qe,"protocol",Fe("getProtocol","setProtocol")),d(qe,"username",Fe("getUsername","setUsername")),d(qe,"password",Fe("getPassword","setPassword")),d(qe,"host",Fe("getHost","setHost")),d(qe,"hostname",Fe("getHostname","setHostname")),d(qe,"port",Fe("getPort","setPort")),d(qe,"pathname",Fe("getPathname","setPathname")),d(qe,"search",Fe("getSearch","setSearch")),d(qe,"searchParams",Fe("getSearchParams")),d(qe,"hash",Fe("getHash","setHash"))),u(qe,"toJSON",function(){return C(this).serialize();},{enumerable:!0}),u(qe,"toString",function(){return C(this).serialize();},{enumerable:!0}),A){var _e=A.createObjectURL,He=A.revokeObjectURL;_e&&u(Be,"createObjectURL",l(_e,A)),He&&u(Be,"revokeObjectURL",l(He,A));}w(Be,"URL"),i({global:!0,constructor:!0,forced:!o,sham:!s},{URL:Be});},3296(e,t,r){"use strict";r(5806);},7208(e,t,r){"use strict";var n=r(6518),i=r(9565);n({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return i(URL.prototype.toString,this);}});}},t={};function r(n){var i=t[n];if(void 0!==i)return i.exports;var s=t[n]={exports:{}};return e[n].call(s.exports,s,s.exports,r),s.exports;}r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")();}catch(e){if("object"==typeof window)return window;}}(),(()=>{"use strict";r(1088),r(1629),r(3792),r(8598),r(6033),r(6099),r(4864),r(7495),r(8781),r(7764),r(5440),r(3500),r(2953);var e=function(e,t){void 0===e.initializationState&&(e.initializationState=new Map()),e.initializationState.set(t,!0);},t=function(e,t){return void 0===e.initializationState||!e.initializationState.has(t)||!1===e.initializationState.get(t);},n=function(e,t){e.classList?e.classList.add(t):e.className+=" "+t;},i=function(e,t){e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp("(^|\\b)"+t.split(" ").join("|")+"(\\b|$)","gi")," ");},s=function(e,t){return e.classList?e.classList.contains(t):new RegExp("(^| )"+t+"( |$)","gi").test(e.className);},o=function(e,t){return e.getAttribute(t);},a=function(e,t){return e.removeAttribute(t);},l=function(e,t,r){e.setAttribute(t,r);},c=function(e){return e.nextElementSibling;},u=function(e){return e.previousElementSibling;},d=function(e){return e.parentNode;};function f(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return p(e,t);var r={}.toString.call(e).slice(8,-1);return "Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?p(e,t):void 0;}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return {s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]};},e:function(e){throw e;},f:i};}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}var s,o=!0,a=!1;return {s:function(){r=r.call(e);},n:function(){var e=r.next();return o=e.done,e;},e:function(e){a=!0,s=e;},f:function(){try{o||null==r.return||r.return();}finally{if(a)throw s;}}};}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r=e.length?{done:!0}:{done:!1,value:e[n++]};},e:function(e){throw e;},f:i};}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}var s,o=!0,a=!1;return {s:function(){r=r.call(e);},n:function(){var e=r.next();return o=e.done,e;},e:function(e){a=!0,s=e;},f:function(){try{o||null==r.return||r.return();}finally{if(a)throw s;}}};}function x(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r0&&!f.includes(r)?n(d,"hidden"):(i(d,"hidden"),s[p]||(s[p]=0),s[p]+=1,c+=1);}}catch(e){u.e(e);}finally{u.f();}var h,v=S(E);try{for(v.s();!(h=v.n()).done;){var g=h.value,m=g.getAttribute("data-filter-type-p"),y=g.getAttribute("data-filter-type-s"),b=m;1===c&&(b=y);var w="".concat(c," ").concat(b);g.textContent=w;}}catch(e){v.e(e);}finally{v.f();}var x,L=S(C);try{for(L.s();!(x=L.n()).done;){var O=x.value,P="#".concat(o(O,"data-filter-jump"));s[O.dataset.filterJump]?(i(O,"text-dove"),l(O,"href",P)):(n(O,"text-dove"),a(O,"href"));}}catch(e){L.e(e);}finally{L.f();}0===c?i(T,"hidden"):n(T,"hidden"),function(){var e;"function"==typeof Event?e=new Event("changeFilter"):(e=document.createEvent("Event")).initEvent("changeFilter",!0,!0),document.dispatchEvent(e);}();}function P(){O(this.value);}function M(r){t(r,L)&&(r.addEventListener("keyup",P),e(r,L));}function I(e){return I="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;},I(e);}function $(e){return function(e){if(Array.isArray(e))return j(e);}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e);}(e)||D(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}();}function D(e,t){if(e){if("string"==typeof e)return j(e,t);var r={}.toString.call(e).slice(8,-1);return "Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?j(e,t):void 0;}}function j(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);ra&&(l=n-r+1)<0&&(l=0),!(l<0)){var c=this.el.list.children[l];this.el.list.scrollTo(c.offsetLeft,c.offsetTop);}}}},{key:"updateActive",value:function(e){var t=this.getActiveElement(),r=(null===t?0:$(this.el.list.children).indexOf(t))+e;r=r<0?0:r>=this.state.totalItems?this.state.totalItems-1:r;var s=this.el.list.children[r];t&&i(t,this.css.activeItem),n(s,this.css.activeItem),l(this.el.face,"aria-activedescendant",s.id),this.scrollToActive();}},{key:"updateSelected",value:function(e){var t=this.getSelectedElement(),r=e;e||(r=this.getActiveElement(),i(r,this.css.activeItem)),t&&l(t,"aria-selected","false"),l(r,"aria-selected","true"),this.updateValue(),this.collapseDropDown();}},{key:"updateValue",value:function(){var e=this.el.list.querySelector("[aria-selected=true]"),t=o(e,"data-option-value");this.el.faceText.textContent=e.textContent,l(this.el.face,"data-combo-value",t);}},{key:"watchClickOutside",value:function(e){!this.el.wrapper.contains(e.target)&&this.collapseDropDown();}},{key:"initCustomOpenEvent",value:function(){var e=this,t=this.el.face;t.addEventListener("click",function(r){"false"===o(t,"aria-expanded")?e.expandDropDown(!1):e.collapseDropDown();}),t.addEventListener("keydown",function(r){if("false"===o(t,"aria-expanded"))"Enter"!==r.key&&" "!==r.key||(r.preventDefault(),e.expandDropDown(!0));else switch(r.preventDefault(),r.key){case "ArrowDown":e.updateActive(1);break;case "ArrowUp":e.updateActive(-1);break;case "Escape":e.collapseDropDown();break;case "Enter":case " ":e.updateSelected();}}),this.el.list.childNodes.forEach(function(t){t.addEventListener("click",function(r){e.updateSelected(t);});});}},{key:"initDefaultSelectedItem",value:function(){var e=o(this.el.face,"data-combo-default");if(!e){var t=o(this.el.face,"data-combo-persist");if(!t)return;e=new URLSearchParams(window.location.search).get(t);}var r=this.el.list.querySelector("[data-option-value='".concat(e,"']"));r&&this.updateSelected(r);}}]);}();function q(e,t,r){var n=(r||{}).atBegin;return function(e,t,r){var n,i=r||{},s=i.noTrailing,o=void 0!==s&&s,a=i.noLeading,l=void 0!==a&&a,c=i.debounceMode,u=void 0===c?void 0:c,d=!1,f=0;function p(){n&&clearTimeout(n);}function h(){for(var r=arguments.length,i=new Array(r),s=0;se?l?(f=Date.now(),o||(n=setTimeout(u?v:h,e))):h():!0!==o&&(n=setTimeout(u?v:h,void 0===u?e-c:e)));}return h.cancel=function(e){var t=(e||{}).upcomingOnly,r=void 0!==t&&t;p(),d=!r;},h;}(e,t,{debounceMode:!1!==(void 0!==n&&n)});}function F(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);re.length)&&(t=e.length);for(var r=0,n=Array(t);r=e.length?{done:!0}:{done:!1,value:e[n++]};},e:function(e){throw e;},f:i};}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}var s,o=!0,a=!1;return {s:function(){r=r.call(e);},n:function(){var e=r.next();return o=e.done,e;},e:function(e){a=!0,s=e;},f:function(){try{o||null==r.return||r.return();}finally{if(a)throw s;}}};}function Y(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{void 0===e[r]?e[r]=t[r]:oe(t[r])&&oe(e[r])&&Object.keys(t[r]).length>0&&ae(e[r],t[r]);});}const le={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function ce(){const e="undefined"!=typeof document?document:{};return ae(e,le),e;}const ue={document:le,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this;},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:(e)=>"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e);}};function de(){const e="undefined"!=typeof window?window:{};return ae(e,ue),e;}class fe extends Array{constructor(e){"number"==typeof e?super(e):(super(...e||[]),function(e){const t=e.__proto__;Object.defineProperty(e,"__proto__",{get:()=>t,set(e){t.__proto__=e;}});}(this));}}function pe(e=[]){const t=[];return e.forEach((e)=>{Array.isArray(e)?t.push(...pe(e)):t.push(e);}),t;}function he(e,t){return Array.prototype.filter.call(e,t);}function ve(e,t){const r=de(),n=ce();let i=[];if(!t&&e instanceof fe)return e;if(!e)return new fe(i);if("string"==typeof e){const r=e.trim();if(r.indexOf("<")>=0&&r.indexOf(">")>=0){let e="div";0===r.indexOf("e.split(" ")));return this.forEach((e)=>{e.classList.add(...t);}),this;},removeClass:function(...e){const t=pe(e.map((e)=>e.split(" ")));return this.forEach((e)=>{e.classList.remove(...t);}),this;},hasClass:function(...e){const t=pe(e.map((e)=>e.split(" ")));return he(this,(e)=>t.filter((t)=>e.classList.contains(t)).length>0).length>0;},toggleClass:function(...e){const t=pe(e.map((e)=>e.split(" ")));this.forEach((e)=>{t.forEach((t)=>{e.classList.toggle(t);});});},attr:function(e,t){if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(let r=0;r=0;e-=1){const r=o[e];n&&r.listener===n||n&&r.listener&&r.listener.dom7proxy&&r.listener.dom7proxy===n?(s.removeEventListener(t,r.proxyListener,i),o.splice(e,1)):n||(s.removeEventListener(t,r.proxyListener,i),o.splice(e,1));}}}}return this;},trigger:function(...e){const t=de(),r=e[0].split(" "),n=e[1];for(let i=0;it>0),i.dispatchEvent(r),i.dom7EventData=[],delete i.dom7EventData;}}}return this;},transitionEnd:function(e){const t=this;return e&&t.on("transitionend",function r(n){n.target===this&&(e.call(this,n),t.off("transitionend",r));}),this;},outerWidth:function(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetWidth+parseFloat(e.getPropertyValue("margin-right"))+parseFloat(e.getPropertyValue("margin-left"));}return this[0].offsetWidth;}return null;},outerHeight:function(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetHeight+parseFloat(e.getPropertyValue("margin-top"))+parseFloat(e.getPropertyValue("margin-bottom"));}return this[0].offsetHeight;}return null;},styles:function(){const e=de();return this[0]?e.getComputedStyle(this[0],null):{};},offset:function(){if(this.length>0){const e=de(),t=ce(),r=this[0],n=r.getBoundingClientRect(),i=t.body,s=r.clientTop||i.clientTop||0,o=r.clientLeft||i.clientLeft||0,a=r===e?e.scrollY:r.scrollTop,l=r===e?e.scrollX:r.scrollLeft;return {top:n.top+a-s,left:n.left+l-o};}return null;},css:function(e,t){const r=de();let n;if(1===arguments.length){if("string"!=typeof e){for(n=0;n{e.apply(t,[t,r]);}),this):this;},html:function(e){if(void 0===e)return this[0]?this[0].innerHTML:null;for(let t=0;tt-1)return ve([]);if(e<0){const r=t+e;return ve(r<0?[]:[this[r]]);}return ve([this[e]]);},append:function(...e){let t;const r=ce();for(let n=0;n=0;n-=1)this[r].insertBefore(i.childNodes[n],this[r].childNodes[0]);}else if(e instanceof fe)for(n=0;n0?e?this[0].nextElementSibling&&ve(this[0].nextElementSibling).is(e)?ve([this[0].nextElementSibling]):ve([]):this[0].nextElementSibling?ve([this[0].nextElementSibling]):ve([]):ve([]);},nextAll:function(e){const t=[];let r=this[0];if(!r)return ve([]);for(;r.nextElementSibling;){const n=r.nextElementSibling;e?ve(n).is(e)&&t.push(n):t.push(n),r=n;}return ve(t);},prev:function(e){if(this.length>0){const t=this[0];return e?t.previousElementSibling&&ve(t.previousElementSibling).is(e)?ve([t.previousElementSibling]):ve([]):t.previousElementSibling?ve([t.previousElementSibling]):ve([]);}return ve([]);},prevAll:function(e){const t=[];let r=this[0];if(!r)return ve([]);for(;r.previousElementSibling;){const n=r.previousElementSibling;e?ve(n).is(e)&&t.push(n):t.push(n),r=n;}return ve(t);},parent:function(e){const t=[];for(let r=0;r{Object.defineProperty(ve.fn,e,{value:ye[e],writable:!0});});const be=ve;function we(e,t=0){return setTimeout(e,t);}function Se(){return Date.now();}function xe(e){return "object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1);}function ke(e){return "undefined"!=typeof window&&void 0!==window.HTMLElement?e instanceof HTMLElement:e&&(1===e.nodeType||11===e.nodeType);}function Ee(...e){const t=Object(e[0]),r=["__proto__","constructor","prototype"];for(let n=1;nr.indexOf(e)<0);for(let r=0,n=e.length;ri?"next":"prev",c=(e,t)=>"next"===l&&e>=t||"prev"===l&&e<=t,u=()=>{s=(new Date()).getTime(),null===o&&(o=s);const l=Math.max(Math.min((s-o)/a,1),0),d=.5-Math.cos(l*Math.PI)/2;let f=i+d*(t-i);if(c(f,t)&&(f=t),e.wrapperEl.scrollTo({[r]:f}),c(f,t))return e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[r]:f});}),void n.cancelAnimationFrame(e.cssModeFrameID);e.cssModeFrameID=n.requestAnimationFrame(u);};u();}let Le,Ae,Oe;function Pe(){return Le||(Le=function(){const e=de(),t=ce();return {smoothScroll:t.documentElement&&"scrollBehavior" in t.documentElement.style,touch:!!("ontouchstart" in e||e.DocumentTouch&&t instanceof e.DocumentTouch),passiveListener:function(){let t=!1;try{const r=Object.defineProperty({},"passive",{get(){t=!0;}});e.addEventListener("testPassiveListener",null,r);}catch(e){}return t;}(),gestures:"ongesturestart" in e};}()),Le;}const Me={updateSize:function(){const e=this;let t,r;const n=e.$el;t=void 0!==e.params.width&&null!==e.params.width?e.params.width:n[0].clientWidth,r=void 0!==e.params.height&&null!==e.params.height?e.params.height:n[0].clientHeight,0===t&&e.isHorizontal()||0===r&&e.isVertical()||(t=t-parseInt(n.css("padding-left")||0,10)-parseInt(n.css("padding-right")||0,10),r=r-parseInt(n.css("padding-top")||0,10)-parseInt(n.css("padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(r)&&(r=0),Object.assign(e,{width:t,height:r,size:e.isHorizontal()?t:r}));},updateSlides:function(){const e=this;function t(t){return e.isHorizontal()?t:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[t];}function r(e,r){return parseFloat(e.getPropertyValue(t(r))||0);}const n=e.params,{$wrapperEl:i,size:s,rtlTranslate:o,wrongRTL:a}=e,l=e.virtual&&n.virtual.enabled,c=l?e.virtual.slides.length:e.slides.length,u=i.children(`.${e.params.slideClass}`),d=l?e.virtual.slides.length:u.length;let f=[];const p=[],h=[];let v=n.slidesOffsetBefore;"function"==typeof v&&(v=n.slidesOffsetBefore.call(e));let g=n.slidesOffsetAfter;"function"==typeof g&&(g=n.slidesOffsetAfter.call(e));const m=e.snapGrid.length,y=e.slidesGrid.length;let b=n.spaceBetween,w=-v,S=0,x=0;if(void 0===s)return;"string"==typeof b&&b.indexOf("%")>=0&&(b=parseFloat(b.replace("%",""))/100*s),e.virtualSize=-b,o?u.css({marginLeft:"",marginBottom:"",marginTop:""}):u.css({marginRight:"",marginBottom:"",marginTop:""}),n.centeredSlides&&n.cssMode&&(Ce(e.wrapperEl,"--swiper-centered-offset-before",""),Ce(e.wrapperEl,"--swiper-centered-offset-after",""));const k=n.grid&&n.grid.rows>1&&e.grid;let E;k&&e.grid.initSlides(d);const C="auto"===n.slidesPerView&&n.breakpoints&&Object.keys(n.breakpoints).filter((e)=>void 0!==n.breakpoints[e].slidesPerView).length>0;for(let i=0;i1&&f.push(e.virtualSize-s);}if(0===f.length&&(f=[0]),0!==n.spaceBetween){const r=e.isHorizontal()&&o?"marginLeft":t("marginRight");u.filter((e,t)=>!n.cssMode||t!==u.length-1).css({[r]:`${b}px`});}if(n.centeredSlides&&n.centeredSlidesBounds){let e=0;h.forEach((t)=>{e+=t+(n.spaceBetween?n.spaceBetween:0);}),e-=n.spaceBetween;const t=e-s;f=f.map((e)=>e<0?-v:e>t?t+g:e);}if(n.centerInsufficientSlides){let e=0;if(h.forEach((t)=>{e+=t+(n.spaceBetween?n.spaceBetween:0);}),e-=n.spaceBetween,e{f[r]=e-t;}),p.forEach((e,r)=>{p[r]=e+t;});}}if(Object.assign(e,{slides:u,snapGrid:f,slidesGrid:p,slidesSizesGrid:h}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){Ce(e.wrapperEl,"--swiper-centered-offset-before",-f[0]+"px"),Ce(e.wrapperEl,"--swiper-centered-offset-after",e.size/2-h[h.length-1]/2+"px");const t=-e.snapGrid[0],r=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map((e)=>e+t),e.slidesGrid=e.slidesGrid.map((e)=>e+r);}if(d!==c&&e.emit("slidesLengthChange"),f.length!==m&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),p.length!==y&&e.emit("slidesGridLengthChange"),n.watchSlidesProgress&&e.updateSlidesOffset(),!(l||n.cssMode||"slide"!==n.effect&&"fade"!==n.effect)){const t=`${n.containerModifierClass}backface-hidden`,r=e.$el.hasClass(t);d<=n.maxBackfaceHiddenSlides?r||e.$el.addClass(t):r&&e.$el.removeClass(t);}},updateAutoHeight:function(e){const t=this,r=[],n=t.virtual&&t.params.virtual.enabled;let i,s=0;"number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const o=(e)=>n?t.slides.filter((t)=>parseInt(t.getAttribute("data-swiper-slide-index"),10)===e)[0]:t.slides.eq(e)[0];if("auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||be([])).each((e)=>{r.push(e);});else for(i=0;it.slides.length&&!n)break;r.push(o(e));}else r.push(o(t.activeIndex));for(i=0;is?e:s;}(s||0===s)&&t.$wrapperEl.css("height",`${s}px`);},updateSlidesOffset:function(){const e=this,t=e.slides;for(let r=0;r=0&&d1&&f<=t.size||d<=0&&f>=t.size)&&(t.visibleSlides.push(a),t.visibleSlidesIndexes.push(e),n.eq(e).addClass(r.slideVisibleClass)),a.progress=i?-c:c,a.originalProgress=i?-u:u;}t.visibleSlides=be(t.visibleSlides);},updateProgress:function(e){const t=this;if(void 0===e){const r=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*r||0;}const r=t.params,n=t.maxTranslate()-t.minTranslate();let {progress:i,isBeginning:s,isEnd:o}=t;const a=s,l=o;0===n?(i=0,s=!0,o=!0):(i=(e-t.minTranslate())/n,s=i<=0,o=i>=1),Object.assign(t,{progress:i,isBeginning:s,isEnd:o}),(r.watchSlidesProgress||r.centeredSlides&&r.autoHeight)&&t.updateSlidesProgress(e),s&&!a&&t.emit("reachBeginning toEdge"),o&&!l&&t.emit("reachEnd toEdge"),(a&&!s||l&&!o)&&t.emit("fromEdge"),t.emit("progress",i);},updateSlidesClasses:function(){const e=this,{slides:t,params:r,$wrapperEl:n,activeIndex:i,realIndex:s}=e,o=e.virtual&&r.virtual.enabled;let a;t.removeClass(`${r.slideActiveClass} ${r.slideNextClass} ${r.slidePrevClass} ${r.slideDuplicateActiveClass} ${r.slideDuplicateNextClass} ${r.slideDuplicatePrevClass}`),a=o?e.$wrapperEl.find(`.${r.slideClass}[data-swiper-slide-index="${i}"]`):t.eq(i),a.addClass(r.slideActiveClass),r.loop&&(a.hasClass(r.slideDuplicateClass)?n.children(`.${r.slideClass}:not(.${r.slideDuplicateClass})[data-swiper-slide-index="${s}"]`).addClass(r.slideDuplicateActiveClass):n.children(`.${r.slideClass}.${r.slideDuplicateClass}[data-swiper-slide-index="${s}"]`).addClass(r.slideDuplicateActiveClass));let l=a.nextAll(`.${r.slideClass}`).eq(0).addClass(r.slideNextClass);r.loop&&0===l.length&&(l=t.eq(0),l.addClass(r.slideNextClass));let c=a.prevAll(`.${r.slideClass}`).eq(0).addClass(r.slidePrevClass);r.loop&&0===c.length&&(c=t.eq(-1),c.addClass(r.slidePrevClass)),r.loop&&(l.hasClass(r.slideDuplicateClass)?n.children(`.${r.slideClass}:not(.${r.slideDuplicateClass})[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`).addClass(r.slideDuplicateNextClass):n.children(`.${r.slideClass}.${r.slideDuplicateClass}[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`).addClass(r.slideDuplicateNextClass),c.hasClass(r.slideDuplicateClass)?n.children(`.${r.slideClass}:not(.${r.slideDuplicateClass})[data-swiper-slide-index="${c.attr("data-swiper-slide-index")}"]`).addClass(r.slideDuplicatePrevClass):n.children(`.${r.slideClass}.${r.slideDuplicateClass}[data-swiper-slide-index="${c.attr("data-swiper-slide-index")}"]`).addClass(r.slideDuplicatePrevClass)),e.emitSlidesClasses();},updateActiveIndex:function(e){const t=this,r=t.rtlTranslate?t.translate:-t.translate,{slidesGrid:n,snapGrid:i,params:s,activeIndex:o,realIndex:a,snapIndex:l}=t;let c,u=e;if(void 0===u){for(let e=0;e=n[e]&&r=n[e]&&r=n[e]&&(u=e);s.normalizeSlideIndex&&(u<0||void 0===u)&&(u=0);}if(i.indexOf(r)>=0)c=i.indexOf(r);else{const e=Math.min(s.slidesPerGroupSkip,u);c=e+Math.floor((u-e)/s.slidesPerGroup);}if(c>=i.length&&(c=i.length-1),u===o)return void (c!==l&&(t.snapIndex=c,t.emit("snapIndexChange")));const d=parseInt(t.slides.eq(u).attr("data-swiper-slide-index")||u,10);Object.assign(t,{snapIndex:c,realIndex:d,previousIndex:o,activeIndex:u}),t.emit("activeIndexChange"),t.emit("snapIndexChange"),a!==d&&t.emit("realIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&t.emit("slideChange");},updateClickedSlide:function(e){const t=this,r=t.params,n=be(e).closest(`.${r.slideClass}`)[0];let i,s=!1;if(n){for(let e=0;e6&&(i=i.split(", ").map((e)=>e.replace(",",".")).join(", ")),s=new r.WebKitCSSMatrix("none"===i?"":i)):(s=o.MozTransform||o.OTransform||o.MsTransform||o.msTransform||o.transform||o.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=s.toString().split(",")),"x"===t&&(i=r.WebKitCSSMatrix?s.m41:16===n.length?parseFloat(n[12]):parseFloat(n[4])),"y"===t&&(i=r.WebKitCSSMatrix?s.m42:16===n.length?parseFloat(n[13]):parseFloat(n[5])),i||0;}(i[0],e);return r&&(s=-s),s||0;},setTranslate:function(e,t){const r=this,{rtlTranslate:n,params:i,$wrapperEl:s,wrapperEl:o,progress:a}=r;let l,c=0,u=0;r.isHorizontal()?c=n?-e:e:u=e,i.roundLengths&&(c=Math.floor(c),u=Math.floor(u)),i.cssMode?o[r.isHorizontal()?"scrollLeft":"scrollTop"]=r.isHorizontal()?-c:-u:i.virtualTranslate||s.transform(`translate3d(${c}px, ${u}px, 0px)`),r.previousTranslate=r.translate,r.translate=r.isHorizontal()?c:u;const d=r.maxTranslate()-r.minTranslate();l=0===d?0:(e-r.minTranslate())/d,l!==a&&r.updateProgress(e),r.emit("setTranslate",r.translate,t);},minTranslate:function(){return -this.snapGrid[0];},maxTranslate:function(){return -this.snapGrid[this.snapGrid.length-1];},translateTo:function(e=0,t=this.params.speed,r=!0,n=!0,i){const s=this,{params:o,wrapperEl:a}=s;if(s.animating&&o.preventInteractionOnTransition)return !1;const l=s.minTranslate(),c=s.maxTranslate();let u;if(u=n&&e>l?l:n&&es?"next":i=l.length&&(g=l.length-1);const m=-l[g];if(a.normalizeSlideIndex){for(let e=0;e=r&&t=r&&t=r&&(o=e);}}if(s.initialized&&o!==d){if(!s.allowSlideNext&&ms.translate&&m>s.maxTranslate()&&(d||0)!==o)return !1;}let y;if(o!==(u||0)&&r&&s.emit("beforeSlideChangeStart"),s.updateProgress(m),y=o>d?"next":o{s.wrapperEl.style.scrollSnapType="",s._swiperImmediateVirtual=!1;});}else{if(!s.support.smoothScroll)return Te({swiper:s,targetPosition:r,side:e?"left":"top"}),!0;p.scrollTo({[e?"left":"top"]:r,behavior:"smooth"});}return !0;}return s.setTransition(t),s.setTranslate(m),s.updateActiveIndex(o),s.updateSlidesClasses(),s.emit("beforeTransitionStart",t,n),s.transitionStart(r,y),0===t?s.transitionEnd(r,y):s.animating||(s.animating=!0,s.onSlideToWrapperTransitionEnd||(s.onSlideToWrapperTransitionEnd=function(e){s&&!s.destroyed&&e.target===this&&(s.$wrapperEl[0].removeEventListener("transitionend",s.onSlideToWrapperTransitionEnd),s.$wrapperEl[0].removeEventListener("webkitTransitionEnd",s.onSlideToWrapperTransitionEnd),s.onSlideToWrapperTransitionEnd=null,delete s.onSlideToWrapperTransitionEnd,s.transitionEnd(r,y));}),s.$wrapperEl[0].addEventListener("transitionend",s.onSlideToWrapperTransitionEnd),s.$wrapperEl[0].addEventListener("webkitTransitionEnd",s.onSlideToWrapperTransitionEnd)),!0;},slideToLoop:function(e=0,t=this.params.speed,r=!0,n){if("string"==typeof e){const t=parseInt(e,10);if(!isFinite(t))throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${e}] given.`);e=t;}const i=this;let s=e;return i.params.loop&&(s+=i.loopedSlides),i.slideTo(s,t,r,n);},slideNext:function(e=this.params.speed,t=!0,r){const n=this,{animating:i,enabled:s,params:o}=n;if(!s)return n;let a=o.slidesPerGroup;"auto"===o.slidesPerView&&1===o.slidesPerGroup&&o.slidesPerGroupAuto&&(a=Math.max(n.slidesPerViewDynamic("current",!0),1));const l=n.activeIndexu(e));let p=o[f.indexOf(d)-1];if(void 0===p&&i.cssMode){let e;o.forEach((t,r)=>{d>=t&&(e=r);}),void 0!==e&&(p=o[e>0?e-1:e]);}let h=0;if(void 0!==p&&(h=a.indexOf(p),h<0&&(h=n.activeIndex-1),"auto"===i.slidesPerView&&1===i.slidesPerGroup&&i.slidesPerGroupAuto&&(h=h-n.slidesPerViewDynamic("previous",!0)+1,h=Math.max(h,0))),i.rewind&&n.isBeginning){const i=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(i,e,t,r);}return n.slideTo(h,e,t,r);},slideReset:function(e=this.params.speed,t=!0,r){return this.slideTo(this.activeIndex,e,t,r);},slideToClosest:function(e=this.params.speed,t=!0,r,n=.5){const i=this;let s=i.activeIndex;const o=Math.min(i.params.slidesPerGroupSkip,s),a=o+Math.floor((s-o)/i.params.slidesPerGroup),l=i.rtlTranslate?i.translate:-i.translate;if(l>=i.snapGrid[a]){const e=i.snapGrid[a];l-e>(i.snapGrid[a+1]-e)*n&&(s+=i.params.slidesPerGroup);}else{const e=i.snapGrid[a-1];l-e<=(i.snapGrid[a]-e)*n&&(s-=i.params.slidesPerGroup);}return s=Math.max(s,0),s=Math.min(s,i.slidesGrid.length-1),i.slideTo(s,e,t,r);},slideToClickedSlide:function(){const e=this,{params:t,$wrapperEl:r}=e,n="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let i,s=e.clickedIndex;if(t.loop){if(e.animating)return;i=parseInt(be(e.clickedSlide).attr("data-swiper-slide-index"),10),t.centeredSlides?se.slides.length-e.loopedSlides+n/2?(e.loopFix(),s=r.children(`.${t.slideClass}[data-swiper-slide-index="${i}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),we(()=>{e.slideTo(s);})):e.slideTo(s):s>e.slides.length-n?(e.loopFix(),s=r.children(`.${t.slideClass}[data-swiper-slide-index="${i}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),we(()=>{e.slideTo(s);})):e.slideTo(s);}else e.slideTo(s);}},je={loopCreate:function(){const e=this,t=ce(),{params:r,$wrapperEl:n}=e,i=n.children().length>0?be(n.children()[0].parentNode):n;i.children(`.${r.slideClass}.${r.slideDuplicateClass}`).remove();let s=i.children(`.${r.slideClass}`);if(r.loopFillGroupWithBlank){const e=r.slidesPerGroup-s.length%r.slidesPerGroup;if(e!==r.slidesPerGroup){for(let n=0;ns.length&&e.params.loopedSlidesLimit&&(e.loopedSlides=s.length);const o=[],a=[];s.each((e,t)=>{be(e).attr("data-swiper-slide-index",t);});for(let t=0;t=0;e-=1)i.prepend(be(o[e].cloneNode(!0)).addClass(r.slideDuplicateClass));},loopFix:function(){const e=this;e.emit("beforeLoopFix");const {activeIndex:t,slides:r,loopedSlides:n,allowSlidePrev:i,allowSlideNext:s,snapGrid:o,rtlTranslate:a}=e;let l;e.allowSlidePrev=!0,e.allowSlideNext=!0;const c=-o[t]-e.getTranslate();t=r.length-n&&(l=-r.length+t+n,l+=n,e.slideTo(l,0,!1,!0)&&0!==c&&e.setTranslate((a?-e.translate:e.translate)-c)),e.allowSlidePrev=i,e.allowSlideNext=s,e.emit("loopFix");},loopDestroy:function(){const {$wrapperEl:e,params:t,slides:r}=this;e.children(`.${t.slideClass}.${t.slideDuplicateClass},.${t.slideClass}.${t.slideBlankClass}`).remove(),r.removeAttr("data-swiper-slide-index");}};function Ne(e){const t=this,r=ce(),n=de(),i=t.touchEventsData,{params:s,touches:o,enabled:a}=t;if(!a)return;if(t.animating&&s.preventInteractionOnTransition)return;!t.animating&&s.cssMode&&s.loop&&t.loopFix();let l=e;l.originalEvent&&(l=l.originalEvent);let c=be(l.target);if("wrapper"===s.touchEventsTarget&&!c.closest(t.wrapperEl).length)return;if(i.isTouchEvent="touchstart"===l.type,!i.isTouchEvent&&"which" in l&&3===l.which)return;if(!i.isTouchEvent&&"button" in l&&l.button>0)return;if(i.isTouched&&i.isMoved)return;const u=!!s.noSwipingClass&&""!==s.noSwipingClass,d=e.composedPath?e.composedPath():e.path;u&&l.target&&l.target.shadowRoot&&d&&(c=be(d[0]));const f=s.noSwipingSelector?s.noSwipingSelector:`.${s.noSwipingClass}`,p=!(!l.target||!l.target.shadowRoot);if(s.noSwiping&&(p?function(e,t=this){return function t(r){if(!r||r===ce()||r===de())return null;r.assignedSlot&&(r=r.assignedSlot);const n=r.closest(e);return n||r.getRootNode?n||t(r.getRootNode().host):null;}(t);}(f,c[0]):c.closest(f)[0]))return void (t.allowClick=!0);if(s.swipeHandler&&!c.closest(s.swipeHandler)[0])return;o.currentX="touchstart"===l.type?l.targetTouches[0].pageX:l.pageX,o.currentY="touchstart"===l.type?l.targetTouches[0].pageY:l.pageY;const h=o.currentX,v=o.currentY,g=s.edgeSwipeDetection||s.iOSEdgeSwipeDetection,m=s.edgeSwipeThreshold||s.iOSEdgeSwipeThreshold;if(g&&(h<=m||h>=n.innerWidth-m)){if("prevent"!==g)return;e.preventDefault();}if(Object.assign(i,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),o.startX=h,o.startY=v,i.touchStartTime=Se(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,s.threshold>0&&(i.allowThresholdMove=!1),"touchstart"!==l.type){let e=!0;c.is(i.focusableElements)&&(e=!1,"SELECT"===c[0].nodeName&&(i.isTouched=!1)),r.activeElement&&be(r.activeElement).is(i.focusableElements)&&r.activeElement!==c[0]&&r.activeElement.blur();const n=e&&t.allowTouchMove&&s.touchStartPreventDefault;!s.touchStartForcePreventDefault&&!n||c[0].isContentEditable||l.preventDefault();}t.params.freeMode&&t.params.freeMode.enabled&&t.freeMode&&t.animating&&!s.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",l);}function Re(e){const t=ce(),r=this,n=r.touchEventsData,{params:i,touches:s,rtlTranslate:o,enabled:a}=r;if(!a)return;let l=e;if(l.originalEvent&&(l=l.originalEvent),!n.isTouched)return void (n.startMoving&&n.isScrolling&&r.emit("touchMoveOpposite",l));if(n.isTouchEvent&&"touchmove"!==l.type)return;const c="touchmove"===l.type&&l.targetTouches&&(l.targetTouches[0]||l.changedTouches[0]),u="touchmove"===l.type?c.pageX:l.pageX,d="touchmove"===l.type?c.pageY:l.pageY;if(l.preventedByNestedSwiper)return s.startX=u,void (s.startY=d);if(!r.allowTouchMove)return be(l.target).is(n.focusableElements)||(r.allowClick=!1),void (n.isTouched&&(Object.assign(s,{startX:u,startY:d,currentX:u,currentY:d}),n.touchStartTime=Se()));if(n.isTouchEvent&&i.touchReleaseOnEdges&&!i.loop)if(r.isVertical()){if(ds.startY&&r.translate>=r.minTranslate())return n.isTouched=!1,void (n.isMoved=!1);}else{if(us.startX&&r.translate>=r.minTranslate())return;}if(n.isTouchEvent&&t.activeElement&&l.target===t.activeElement&&be(l.target).is(n.focusableElements))return n.isMoved=!0,void (r.allowClick=!1);if(n.allowTouchCallbacks&&r.emit("touchMove",l),l.targetTouches&&l.targetTouches.length>1)return;s.currentX=u,s.currentY=d;const f=s.currentX-s.startX,p=s.currentY-s.startY;if(r.params.threshold&&Math.sqrt(f**2+p**2)=25&&(e=180*Math.atan2(Math.abs(p),Math.abs(f))/Math.PI,n.isScrolling=r.isHorizontal()?e>i.touchAngle:90-e>i.touchAngle);}if(n.isScrolling&&r.emit("touchMoveOpposite",l),void 0===n.startMoving&&(s.currentX===s.startX&&s.currentY===s.startY||(n.startMoving=!0)),n.isScrolling)return void (n.isTouched=!1);if(!n.startMoving)return;r.allowClick=!1,!i.cssMode&&l.cancelable&&l.preventDefault(),i.touchMoveStopPropagation&&!i.nested&&l.stopPropagation(),n.isMoved||(i.loop&&!i.cssMode&&r.loopFix(),n.startTranslate=r.getTranslate(),r.setTransition(0),r.animating&&r.$wrapperEl.trigger("webkitTransitionEnd transitionend"),n.allowMomentumBounce=!1,!i.grabCursor||!0!==r.allowSlideNext&&!0!==r.allowSlidePrev||r.setGrabCursor(!0),r.emit("sliderFirstMove",l)),r.emit("sliderMove",l),n.isMoved=!0;let h=r.isHorizontal()?f:p;s.diff=h,h*=i.touchRatio,o&&(h=-h),r.swipeDirection=h>0?"prev":"next",n.currentTranslate=h+n.startTranslate;let v=!0,g=i.resistanceRatio;if(i.touchReleaseOnEdges&&(g=0),h>0&&n.currentTranslate>r.minTranslate()?(v=!1,i.resistance&&(n.currentTranslate=r.minTranslate()-1+(-r.minTranslate()+n.startTranslate+h)**g)):h<0&&n.currentTranslaten.startTranslate&&(n.currentTranslate=n.startTranslate),r.allowSlidePrev||r.allowSlideNext||(n.currentTranslate=n.startTranslate),i.threshold>0){if(!(Math.abs(h)>i.threshold||n.allowThresholdMove))return void (n.currentTranslate=n.startTranslate);if(!n.allowThresholdMove)return n.allowThresholdMove=!0,s.startX=s.currentX,s.startY=s.currentY,n.currentTranslate=n.startTranslate,void (s.diff=r.isHorizontal()?s.currentX-s.startX:s.currentY-s.startY);}i.followFinger&&!i.cssMode&&((i.freeMode&&i.freeMode.enabled&&r.freeMode||i.watchSlidesProgress)&&(r.updateActiveIndex(),r.updateSlidesClasses()),r.params.freeMode&&i.freeMode.enabled&&r.freeMode&&r.freeMode.onTouchMove(),r.updateProgress(n.currentTranslate),r.setTranslate(n.currentTranslate));}function ze(e){const t=this,r=t.touchEventsData,{params:n,touches:i,rtlTranslate:s,slidesGrid:o,enabled:a}=t;if(!a)return;let l=e;if(l.originalEvent&&(l=l.originalEvent),r.allowTouchCallbacks&&t.emit("touchEnd",l),r.allowTouchCallbacks=!1,!r.isTouched)return r.isMoved&&n.grabCursor&&t.setGrabCursor(!1),r.isMoved=!1,void (r.startMoving=!1);n.grabCursor&&r.isMoved&&r.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const c=Se(),u=c-r.touchStartTime;if(t.allowClick){const e=l.path||l.composedPath&&l.composedPath();t.updateClickedSlide(e&&e[0]||l.target),t.emit("tap click",l),u<300&&c-r.lastClickTime<300&&t.emit("doubleTap doubleClick",l);}if(r.lastClickTime=Se(),we(()=>{t.destroyed||(t.allowClick=!0);}),!r.isTouched||!r.isMoved||!t.swipeDirection||0===i.diff||r.currentTranslate===r.startTranslate)return r.isTouched=!1,r.isMoved=!1,void (r.startMoving=!1);let d;if(r.isTouched=!1,r.isMoved=!1,r.startMoving=!1,d=n.followFinger?s?t.translate:-t.translate:-r.currentTranslate,n.cssMode)return;if(t.params.freeMode&&n.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:d});let f=0,p=t.slidesSizesGrid[0];for(let e=0;e=o[e]&&d=o[e]&&(f=e,p=o[o.length-1]-o[o.length-2]);}let h=null,v=null;n.rewind&&(t.isBeginning?v=t.params.virtual&&t.params.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(h=0));const g=(d-o[f])/p,m=fn.longSwipesMs){if(!n.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(g>=n.longSwipesRatio?t.slideTo(n.rewind&&t.isEnd?h:f+m):t.slideTo(f)),"prev"===t.swipeDirection&&(g>1-n.longSwipesRatio?t.slideTo(f+m):null!==v&&g<0&&Math.abs(g)>n.longSwipesRatio?t.slideTo(v):t.slideTo(f));}else{if(!n.shortSwipes)return void t.slideTo(t.activeIndex);!t.navigation||l.target!==t.navigation.nextEl&&l.target!==t.navigation.prevEl?("next"===t.swipeDirection&&t.slideTo(null!==h?h:f+m),"prev"===t.swipeDirection&&t.slideTo(null!==v?v:f)):l.target===t.navigation.nextEl?t.slideTo(f+m):t.slideTo(f);}}function Be(){const e=this,{params:t,el:r}=e;if(r&&0===r.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const {allowSlideNext:n,allowSlidePrev:i,snapGrid:s}=e;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses(),("auto"===t.slidesPerView||t.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.run(),e.allowSlidePrev=i,e.allowSlideNext=n,e.params.watchOverflow&&s!==e.snapGrid&&e.checkOverflow();}function qe(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())));}function Fe(){const e=this,{wrapperEl:t,rtlTranslate:r,enabled:n}=e;if(!n)return;let i;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const s=e.maxTranslate()-e.minTranslate();i=0===s?0:(e.translate-e.minTranslate())/s,i!==e.progress&&e.updateProgress(r?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1);}let _e=!1;function He(){}const Ge=(e,t)=>{const r=ce(),{params:n,touchEvents:i,el:s,wrapperEl:o,device:a,support:l}=e,c=!!n.nested,u="on"===t?"addEventListener":"removeEventListener",d=t;if(l.touch){const t=!("touchstart"!==i.start||!l.passiveListener||!n.passiveListeners)&&{passive:!0,capture:!1};s[u](i.start,e.onTouchStart,t),s[u](i.move,e.onTouchMove,l.passiveListener?{passive:!1,capture:c}:c),s[u](i.end,e.onTouchEnd,t),i.cancel&&s[u](i.cancel,e.onTouchEnd,t);}else s[u](i.start,e.onTouchStart,!1),r[u](i.move,e.onTouchMove,c),r[u](i.end,e.onTouchEnd,!1);(n.preventClicks||n.preventClicksPropagation)&&s[u]("click",e.onClick,!0),n.cssMode&&o[u]("scroll",e.onScroll),n.updateOnWindowResize?e[d](a.ios||a.android?"resize orientationchange observerUpdate":"resize observerUpdate",Be,!0):e[d]("observerUpdate",Be,!0);},Ue={attachEvents:function(){const e=this,t=ce(),{params:r,support:n}=e;e.onTouchStart=Ne.bind(e),e.onTouchMove=Re.bind(e),e.onTouchEnd=ze.bind(e),r.cssMode&&(e.onScroll=Fe.bind(e)),e.onClick=qe.bind(e),n.touch&&!_e&&(t.addEventListener("touchstart",He),_e=!0),Ge(e,"on");},detachEvents:function(){Ge(this,"off");}},Ve=(e,t)=>e.grid&&t.grid&&t.grid.rows>1,We={setBreakpoint:function(){const e=this,{activeIndex:t,initialized:r,loopedSlides:n=0,params:i,$el:s}=e,o=i.breakpoints;if(!o||o&&0===Object.keys(o).length)return;const a=e.getBreakpoint(o,e.params.breakpointsBase,e.el);if(!a||e.currentBreakpoint===a)return;const l=(a in o?o[a]:void 0)||e.originalParams,c=Ve(e,i),u=Ve(e,l),d=i.enabled;c&&!u?(s.removeClass(`${i.containerModifierClass}grid ${i.containerModifierClass}grid-column`),e.emitContainerClasses()):!c&&u&&(s.addClass(`${i.containerModifierClass}grid`),(l.grid.fill&&"column"===l.grid.fill||!l.grid.fill&&"column"===i.grid.fill)&&s.addClass(`${i.containerModifierClass}grid-column`),e.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach((t)=>{const r=i[t]&&i[t].enabled,n=l[t]&&l[t].enabled;r&&!n&&e[t].disable(),!r&&n&&e[t].enable();});const f=l.direction&&l.direction!==i.direction,p=i.loop&&(l.slidesPerView!==i.slidesPerView||f);f&&r&&e.changeDirection(),Ee(e.params,l);const h=e.params.enabled;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),d&&!h?e.disable():!d&&h&&e.enable(),e.currentBreakpoint=a,e.emit("_beforeBreakpoint",l),p&&r&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-n+e.loopedSlides,0,!1)),e.emit("breakpoint",l);},getBreakpoint:function(e,t="window",r){if(!e||"container"===t&&!r)return;let n=!1;const i=de(),s="window"===t?i.innerHeight:r.clientHeight,o=Object.keys(e).map((e)=>{if("string"==typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return {value:s*t,point:e};}return {value:e,point:e};});o.sort((e,t)=>parseInt(e.value,10)-parseInt(t.value,10));for(let e=0;e{"object"==typeof e?Object.keys(e).forEach((n)=>{e[n]&&r.push(t+n);}):"string"==typeof e&&r.push(t+e);}),r;}(["initialized",r.direction,{"pointer-events":!o.touch},{"free-mode":e.params.freeMode&&r.freeMode.enabled},{autoheight:r.autoHeight},{rtl:n},{grid:r.grid&&r.grid.rows>1},{"grid-column":r.grid&&r.grid.rows>1&&"column"===r.grid.fill},{android:s.android},{ios:s.ios},{"css-mode":r.cssMode},{centered:r.cssMode&&r.centeredSlides},{"watch-progress":r.watchSlidesProgress}],r.containerModifierClass);t.push(...a),i.addClass([...t].join(" ")),e.emitContainerClasses();},removeClasses:function(){const {$el:e,classNames:t}=this;e.removeClass(t.join(" ")),this.emitContainerClasses();}},Xe={loadImage:function(e,t,r,n,i,s){const o=de();let a;function l(){s&&s();}be(e).parent("picture")[0]||e.complete&&i?l():t?(a=new o.Image(),a.onload=l,a.onerror=l,n&&(a.sizes=n),r&&(a.srcset=r),t&&(a.src=t)):l();},preloadImages:function(){const e=this;function t(){null!=e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")));}e.imagesToLoad=e.$el.find("img");for(let r=0;r=0&&!0===e[n]&&(e[n]={auto:!0}),n in e&&"enabled" in i?(!0===e[n]&&(e[n]={enabled:!0}),"object"!=typeof e[n]||"enabled" in e[n]||(e[n].enabled=!0),e[n]||(e[n]={enabled:!1}),Ee(t,r)):Ee(t,r)):Ee(t,r);};}const Qe={eventsEmitter:{on(e,t,r){const n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!=typeof t)return n;const i=r?"unshift":"push";return e.split(" ").forEach((e)=>{n.eventsListeners[e]||(n.eventsListeners[e]=[]),n.eventsListeners[e][i](t);}),n;},once(e,t,r){const n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!=typeof t)return n;function i(...r){n.off(e,i),i.__emitterProxy&&delete i.__emitterProxy,t.apply(n,r);}return i.__emitterProxy=t,n.on(e,i,r);},onAny(e,t){const r=this;if(!r.eventsListeners||r.destroyed)return r;if("function"!=typeof e)return r;const n=t?"unshift":"push";return r.eventsAnyListeners.indexOf(e)<0&&r.eventsAnyListeners[n](e),r;},offAny(e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsAnyListeners)return t;const r=t.eventsAnyListeners.indexOf(e);return r>=0&&t.eventsAnyListeners.splice(r,1),t;},off(e,t){const r=this;return !r.eventsListeners||r.destroyed?r:r.eventsListeners?(e.split(" ").forEach((e)=>{void 0===t?r.eventsListeners[e]=[]:r.eventsListeners[e]&&r.eventsListeners[e].forEach((n,i)=>{(n===t||n.__emitterProxy&&n.__emitterProxy===t)&&r.eventsListeners[e].splice(i,1);});}),r):r;},emit(...e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsListeners)return t;let r,n,i;return "string"==typeof e[0]||Array.isArray(e[0])?(r=e[0],n=e.slice(1,e.length),i=t):(r=e[0].events,n=e[0].data,i=e[0].context||t),n.unshift(i),(Array.isArray(r)?r:r.split(" ")).forEach((e)=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach((t)=>{t.apply(i,[e,...n]);}),t.eventsListeners&&t.eventsListeners[e]&&t.eventsListeners[e].forEach((e)=>{e.apply(i,n);});}),t;}},update:Me,translate:Ie,transition:{setTransition:function(e,t){const r=this;r.params.cssMode||r.$wrapperEl.transition(e),r.emit("setTransition",e,t);},transitionStart:function(e=!0,t){const r=this,{params:n}=r;n.cssMode||(n.autoHeight&&r.updateAutoHeight(),$e({swiper:r,runCallbacks:e,direction:t,step:"Start"}));},transitionEnd:function(e=!0,t){const r=this,{params:n}=r;r.animating=!1,n.cssMode||(r.setTransition(0),$e({swiper:r,runCallbacks:e,direction:t,step:"End"}));}},slide:De,loop:je,grabCursor:{setGrabCursor:function(e){const t=this;if(t.support.touch||!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const r="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;r.style.cursor="move",r.style.cursor=e?"grabbing":"grab";},unsetGrabCursor:function(){const e=this;e.support.touch||e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="");}},events:Ue,breakpoints:We,checkOverflow:{checkOverflow:function(){const e=this,{isLocked:t,params:r}=e,{slidesOffsetBefore:n}=r;if(n){const t=e.slides.length-1,r=e.slidesGrid[t]+e.slidesSizesGrid[t]+2*n;e.isLocked=e.size>r;}else e.isLocked=1===e.snapGrid.length;!0===r.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===r.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock");}},classes:Ye,images:Xe},Ze={};class et{constructor(...e){let t,r;if(1===e.length&&e[0].constructor&&"Object"===Object.prototype.toString.call(e[0]).slice(8,-1)?r=e[0]:[t,r]=e,r||(r={}),r=Ee({},r),t&&!r.el&&(r.el=t),r.el&&be(r.el).length>1){const e=[];return be(r.el).each((t)=>{const n=Ee({},r,{el:t});e.push(new et(n));}),e;}const n=this;n.__swiper__=!0,n.support=Pe(),n.device=function(e={}){return Ae||(Ae=function({userAgent:e}={}){const t=Pe(),r=de(),n=r.navigator.platform,i=e||r.navigator.userAgent,s={ios:!1,android:!1},o=r.screen.width,a=r.screen.height,l=i.match(/(Android);?[\s\/]+([\d.]+)?/);let c=i.match(/(iPad).*OS\s([\d_]+)/);const u=i.match(/(iPod)(.*OS\s([\d_]+))?/),d=!c&&i.match(/(iPhone\sOS|iOS)\s([\d_]+)/),f="Win32"===n;let p="MacIntel"===n;return !c&&p&&t.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${o}x${a}`)>=0&&(c=i.match(/(Version)\/([\d.]+)/),c||(c=[0,1,"13_0_0"]),p=!1),l&&!f&&(s.os="android",s.android=!0),(c||d||u)&&(s.os="ios",s.ios=!0),s;}(e)),Ae;}({userAgent:r.userAgent}),n.browser=(Oe||(Oe=function(){const e=de();return {isSafari:function(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0;}(),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)};}()),Oe),n.eventsListeners={},n.eventsAnyListeners=[],n.modules=[...n.__modules__],r.modules&&Array.isArray(r.modules)&&n.modules.push(...r.modules);const i={};n.modules.forEach((e)=>{e({swiper:n,extendParams:Je(r,i),on:n.on.bind(n),once:n.once.bind(n),off:n.off.bind(n),emit:n.emit.bind(n)});});const s=Ee({},Ke,i);return n.params=Ee({},s,Ze,r),n.originalParams=Ee({},n.params),n.passedParams=Ee({},r),n.params&&n.params.on&&Object.keys(n.params.on).forEach((e)=>{n.on(e,n.params.on[e]);}),n.params&&n.params.onAny&&n.onAny(n.params.onAny),n.$=be,Object.assign(n,{enabled:n.params.enabled,el:t,classNames:[],slides:be(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===n.params.direction,isVertical:()=>"vertical"===n.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:n.params.allowSlideNext,allowSlidePrev:n.params.allowSlidePrev,touchEvents:function(){const e=["touchstart","touchmove","touchend","touchcancel"],t=["pointerdown","pointermove","pointerup"];return n.touchEventsTouch={start:e[0],move:e[1],end:e[2],cancel:e[3]},n.touchEventsDesktop={start:t[0],move:t[1],end:t[2]},n.support.touch||!n.params.simulateTouch?n.touchEventsTouch:n.touchEventsDesktop;}(),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:n.params.focusableElements,lastClickTime:Se(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:n.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),n.emit("_swiper"),n.params.init&&n.init(),n;}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"));}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"));}setProgress(e,t){const r=this;e=Math.min(Math.max(e,0),1);const n=r.minTranslate(),i=(r.maxTranslate()-n)*e+n;r.translateTo(i,void 0===t?0:t),r.updateActiveIndex(),r.updateSlidesClasses();}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter((t)=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass));e.emit("_containerClasses",t.join(" "));}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter((e)=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass)).join(" ");}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.each((r)=>{const n=e.getSlideClasses(r);t.push({slideEl:r,classNames:n}),e.emit("_slideClass",r,n);}),e.emit("_slideClasses",t);}slidesPerViewDynamic(e="current",t=!1){const {params:r,slides:n,slidesGrid:i,slidesSizesGrid:s,size:o,activeIndex:a}=this;let l=1;if(r.centeredSlides){let e,t=n[a].swiperSlideSize;for(let r=a+1;ro&&(e=!0));for(let r=a-1;r>=0;r-=1)n[r]&&!e&&(t+=n[r].swiperSlideSize,l+=1,t>o&&(e=!0));}else if("current"===e){for(let e=a+1;e=0;e-=1)i[a]-i[e]1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),i||n()),r.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update");}changeDirection(e,t=!0){const r=this,n=r.params.direction;return e||(e="horizontal"===n?"vertical":"horizontal"),e===n||"horizontal"!==e&&"vertical"!==e||(r.$el.removeClass(`${r.params.containerModifierClass}${n}`).addClass(`${r.params.containerModifierClass}${e}`),r.emitContainerClasses(),r.params.direction=e,r.slides.each((t)=>{"vertical"===e?t.style.width="":t.style.height="";}),r.emit("changeDirection"),t&&r.update()),r;}changeLanguageDirection(e){const t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.$el.addClass(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.$el.removeClass(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update());}mount(e){const t=this;if(t.mounted)return !0;const r=be(e||t.params.el);if(!(e=r[0]))return !1;e.swiper=t;const n=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let i=(()=>{if(e&&e.shadowRoot&&e.shadowRoot.querySelector){const t=be(e.shadowRoot.querySelector(n()));return t.children=(e)=>r.children(e),t;}return r.children?r.children(n()):be(r).children(n());})();if(0===i.length&&t.params.createElements){const e=ce().createElement("div");i=be(e),e.className=t.params.wrapperClass,r.append(e),r.children(`.${t.params.slideClass}`).each((e)=>{i.append(e);});}return Object.assign(t,{$el:r,el:e,$wrapperEl:i,wrapperEl:i[0],mounted:!0,rtl:"rtl"===e.dir.toLowerCase()||"rtl"===r.css("direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===e.dir.toLowerCase()||"rtl"===r.css("direction")),wrongRTL:"-webkit-box"===i.css("display")}),!0;}init(e){const t=this;return t.initialized||!1===t.mount(e)||(t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.params.loop&&t.loopCreate(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.preloadImages&&t.preloadImages(),t.params.loop?t.slideTo(t.params.initialSlide+t.loopedSlides,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.attachEvents(),t.initialized=!0,t.emit("init"),t.emit("afterInit")),t;}destroy(e=!0,t=!0){const r=this,{params:n,$el:i,$wrapperEl:s,slides:o}=r;return void 0===r.params||r.destroyed||(r.emit("beforeDestroy"),r.initialized=!1,r.detachEvents(),n.loop&&r.loopDestroy(),t&&(r.removeClasses(),i.removeAttr("style"),s.removeAttr("style"),o&&o.length&&o.removeClass([n.slideVisibleClass,n.slideActiveClass,n.slideNextClass,n.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),r.emit("destroy"),Object.keys(r.eventsListeners).forEach((e)=>{r.off(e);}),!1!==e&&(r.$el[0].swiper=null,function(e){const t=e;Object.keys(t).forEach((e)=>{try{t[e]=null;}catch(e){}try{delete t[e];}catch(e){}});}(r)),r.destroyed=!0),null;}static extendDefaults(e){Ee(Ze,e);}static get extendedDefaults(){return Ze;}static get defaults(){return Ke;}static installModule(e){et.prototype.__modules__||(et.prototype.__modules__=[]);const t=et.prototype.__modules__;"function"==typeof e&&t.indexOf(e)<0&&t.push(e);}static use(e){return Array.isArray(e)?(e.forEach((e)=>et.installModule(e)),et):(et.installModule(e),et);}}Object.keys(Qe).forEach((e)=>{Object.keys(Qe[e]).forEach((t)=>{et.prototype[t]=Qe[e][t];});}),et.use([function({swiper:e,on:t,emit:r}){const n=de();let i=null,s=null;const o=()=>{e&&!e.destroyed&&e.initialized&&(r("beforeResize"),r("resize"));},a=()=>{e&&!e.destroyed&&e.initialized&&r("orientationchange");};t("init",()=>{e.params.resizeObserver&&void 0!==n.ResizeObserver?e&&!e.destroyed&&e.initialized&&(i=new ResizeObserver((t)=>{s=n.requestAnimationFrame(()=>{const {width:r,height:n}=e;let i=r,s=n;t.forEach(({contentBoxSize:t,contentRect:r,target:n})=>{n&&n!==e.el||(i=r?r.width:(t[0]||t).inlineSize,s=r?r.height:(t[0]||t).blockSize);}),i===r&&s===n||o();});}),i.observe(e.el)):(n.addEventListener("resize",o),n.addEventListener("orientationchange",a));}),t("destroy",()=>{s&&n.cancelAnimationFrame(s),i&&i.unobserve&&e.el&&(i.unobserve(e.el),i=null),n.removeEventListener("resize",o),n.removeEventListener("orientationchange",a);});},function({swiper:e,extendParams:t,on:r,emit:n}){const i=[],s=de(),o=(e,t={})=>{const r=new (s.MutationObserver||s.WebkitMutationObserver)((e)=>{if(1===e.length)return void n("observerUpdate",e[0]);const t=function(){n("observerUpdate",e[0]);};s.requestAnimationFrame?s.requestAnimationFrame(t):s.setTimeout(t,0);});r.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),i.push(r);};t({observer:!1,observeParents:!1,observeSlideChildren:!1}),r("init",()=>{if(e.params.observer){if(e.params.observeParents){const t=e.$el.parents();for(let e=0;e{i.forEach((e)=>{e.disconnect();}),i.splice(0,i.length);});}]);const tt=et;function rt({swiper:e,extendParams:t,on:r,emit:n}){const i=ce(),s=de();function o(t){if(!e.enabled)return;const {rtlTranslate:r}=e;let o=t;o.originalEvent&&(o=o.originalEvent);const a=o.keyCode||o.charCode,l=e.params.keyboard.pageUpDown,c=l&&33===a,u=l&&34===a,d=37===a,f=39===a,p=38===a,h=40===a;if(!e.allowSlideNext&&(e.isHorizontal()&&f||e.isVertical()&&h||u))return !1;if(!e.allowSlidePrev&&(e.isHorizontal()&&d||e.isVertical()&&p||c))return !1;if(!(o.shiftKey||o.altKey||o.ctrlKey||o.metaKey||i.activeElement&&i.activeElement.nodeName&&("input"===i.activeElement.nodeName.toLowerCase()||"textarea"===i.activeElement.nodeName.toLowerCase()))){if(e.params.keyboard.onlyInViewport&&(c||u||d||f||p||h)){let t=!1;if(e.$el.parents(`.${e.params.slideClass}`).length>0&&0===e.$el.parents(`.${e.params.slideActiveClass}`).length)return;const n=e.$el,i=n[0].clientWidth,o=n[0].clientHeight,a=s.innerWidth,l=s.innerHeight,c=e.$el.offset();r&&(c.left-=e.$el[0].scrollLeft);const u=[[c.left,c.top],[c.left+i,c.top],[c.left,c.top+o],[c.left+i,c.top+o]];for(let e=0;e=0&&r[0]<=a&&r[1]>=0&&r[1]<=l){if(0===r[0]&&0===r[1])continue;t=!0;}}if(!t)return;}e.isHorizontal()?((c||u||d||f)&&(o.preventDefault?o.preventDefault():o.returnValue=!1),((u||f)&&!r||(c||d)&&r)&&e.slideNext(),((c||d)&&!r||(u||f)&&r)&&e.slidePrev()):((c||u||p||h)&&(o.preventDefault?o.preventDefault():o.returnValue=!1),(u||h)&&e.slideNext(),(c||p)&&e.slidePrev()),n("keyPress",a);}}function a(){e.keyboard.enabled||(be(i).on("keydown",o),e.keyboard.enabled=!0);}function l(){e.keyboard.enabled&&(be(i).off("keydown",o),e.keyboard.enabled=!1);}e.keyboard={enabled:!1},t({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}}),r("init",()=>{e.params.keyboard.enabled&&a();}),r("destroy",()=>{e.keyboard.enabled&&l();}),Object.assign(e.keyboard,{enable:a,disable:l});}function nt({swiper:e,extendParams:t,on:r,emit:n}){const i=de();let s;t({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null}}),e.mousewheel={enabled:!1};let o,a=Se();const l=[];function c(){e.enabled&&(e.mouseEntered=!0);}function u(){e.enabled&&(e.mouseEntered=!1);}function d(t){return !(e.params.mousewheel.thresholdDelta&&t.delta=6&&Se()-a<60)&&(t.direction<0?e.isEnd&&!e.params.loop||e.animating||(e.slideNext(),n("scroll",t.raw)):e.isBeginning&&!e.params.loop||e.animating||(e.slidePrev(),n("scroll",t.raw)),a=(new i.Date()).getTime(),1));}function f(t){let r=t,i=!0;if(!e.enabled)return;const a=e.params.mousewheel;e.params.cssMode&&r.preventDefault();let c=e.$el;if("container"!==e.params.mousewheel.eventsTarget&&(c=be(e.params.mousewheel.eventsTarget)),!e.mouseEntered&&!c[0].contains(r.target)&&!a.releaseOnEdges)return !0;r.originalEvent&&(r=r.originalEvent);let u=0;const f=e.rtlTranslate?-1:1,p=function(e){let t=0,r=0,n=0,i=0;return "detail" in e&&(r=e.detail),"wheelDelta" in e&&(r=-e.wheelDelta/120),"wheelDeltaY" in e&&(r=-e.wheelDeltaY/120),"wheelDeltaX" in e&&(t=-e.wheelDeltaX/120),"axis" in e&&e.axis===e.HORIZONTAL_AXIS&&(t=r,r=0),n=10*t,i=10*r,"deltaY" in e&&(i=e.deltaY),"deltaX" in e&&(n=e.deltaX),e.shiftKey&&!n&&(n=i,i=0),(n||i)&&e.deltaMode&&(1===e.deltaMode?(n*=40,i*=40):(n*=800,i*=800)),n&&!t&&(t=n<1?-1:1),i&&!r&&(r=i<1?-1:1),{spinX:t,spinY:r,pixelX:n,pixelY:i};}(r);if(a.forceToAxis)if(e.isHorizontal()){if(!(Math.abs(p.pixelX)>Math.abs(p.pixelY)))return !0;u=-p.pixelX*f;}else{if(!(Math.abs(p.pixelY)>Math.abs(p.pixelX)))return !0;u=-p.pixelY;}else u=Math.abs(p.pixelX)>Math.abs(p.pixelY)?-p.pixelX*f:-p.pixelY;if(0===u)return !0;a.invert&&(u=-u);let h=e.getTranslate()+u*a.sensitivity;if(h>=e.minTranslate()&&(h=e.minTranslate()),h<=e.maxTranslate()&&(h=e.maxTranslate()),i=!!e.params.loop||!(h===e.minTranslate()||h===e.maxTranslate()),i&&e.params.nested&&r.stopPropagation(),e.params.freeMode&&e.params.freeMode.enabled){const t={time:Se(),delta:Math.abs(u),direction:Math.sign(u)},i=o&&t.time=e.minTranslate()&&(c=e.minTranslate()),c<=e.maxTranslate()&&(c=e.maxTranslate()),e.setTransition(0),e.setTranslate(c),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!d&&e.isBeginning||!f&&e.isEnd)&&e.updateSlidesClasses(),e.params.freeMode.sticky){clearTimeout(s),s=void 0,l.length>=15&&l.shift();const r=l.length?l[l.length-1]:void 0,n=l[0];if(l.push(t),r&&(t.delta>r.delta||t.direction!==r.direction))l.splice(0);else{if(l.length>=15&&t.time-n.time<500&&n.delta-t.delta>=1&&t.delta<=6){const r=u>0?.8:.2;o=t,l.splice(0),s=we(()=>{e.slideToClosest(e.params.speed,!0,void 0,r);},0);}}s||(s=we(()=>{o=t,l.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5);},500));}if(i||n("scroll",r),e.params.autoplay&&e.params.autoplayDisableOnInteraction&&e.autoplay.stop(),c===e.minTranslate()||c===e.maxTranslate())return !0;}}else{const r={time:Se(),delta:Math.abs(u),direction:Math.sign(u),raw:t};l.length>=2&&l.shift();const n=l.length?l[l.length-1]:void 0;if(l.push(r),n?(r.direction!==n.direction||r.delta>n.delta||r.time>n.time+150)&&d(r):d(r),function(t){const r=e.params.mousewheel;if(t.direction<0){if(e.isEnd&&!e.params.loop&&r.releaseOnEdges)return !0;}else{if(e.isBeginning&&!e.params.loop&&r.releaseOnEdges)return !0;}return !1;}(r))return !0;}return r.preventDefault?r.preventDefault():r.returnValue=!1,!1;}function p(t){let r=e.$el;"container"!==e.params.mousewheel.eventsTarget&&(r=be(e.params.mousewheel.eventsTarget)),r[t]("mouseenter",c),r[t]("mouseleave",u),r[t]("wheel",f);}function h(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",f),!0):!e.mousewheel.enabled&&(p("on"),e.mousewheel.enabled=!0,!0);}function v(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,f),!0):!!e.mousewheel.enabled&&(p("off"),e.mousewheel.enabled=!1,!0);}r("init",()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&v(),e.params.mousewheel.enabled&&h();}),r("destroy",()=>{e.params.cssMode&&h(),e.mousewheel.enabled&&v();}),Object.assign(e.mousewheel,{enable:h,disable:v});}function it(e,t,r,n){const i=ce();return e.params.createElements&&Object.keys(n).forEach((s)=>{if(!r[s]&&!0===r.auto){let o=e.$el.children(`.${n[s]}`)[0];o||(o=i.createElement("div"),o.className=n[s],e.$el.append(o)),r[s]=o,t[s]=o;}}),r;}function st({swiper:e,extendParams:t,on:r,emit:n}){function i(t){let r;return t&&(r=be(t),e.params.uniqueNavElements&&"string"==typeof t&&r.length>1&&1===e.$el.find(t).length&&(r=e.$el.find(t))),r;}function s(t,r){const n=e.params.navigation;t&&t.length>0&&(t[r?"addClass":"removeClass"](n.disabledClass),t[0]&&"BUTTON"===t[0].tagName&&(t[0].disabled=r),e.params.watchOverflow&&e.enabled&&t[e.isLocked?"addClass":"removeClass"](n.lockClass));}function o(){if(e.params.loop)return;const {$nextEl:t,$prevEl:r}=e.navigation;s(r,e.isBeginning&&!e.params.rewind),s(t,e.isEnd&&!e.params.rewind);}function a(t){t.preventDefault(),(!e.isBeginning||e.params.loop||e.params.rewind)&&(e.slidePrev(),n("navigationPrev"));}function l(t){t.preventDefault(),(!e.isEnd||e.params.loop||e.params.rewind)&&(e.slideNext(),n("navigationNext"));}function c(){const t=e.params.navigation;if(e.params.navigation=it(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!t.nextEl&&!t.prevEl)return;const r=i(t.nextEl),n=i(t.prevEl);r&&r.length>0&&r.on("click",l),n&&n.length>0&&n.on("click",a),Object.assign(e.navigation,{$nextEl:r,nextEl:r&&r[0],$prevEl:n,prevEl:n&&n[0]}),e.enabled||(r&&r.addClass(t.lockClass),n&&n.addClass(t.lockClass));}function u(){const {$nextEl:t,$prevEl:r}=e.navigation;t&&t.length&&(t.off("click",l),t.removeClass(e.params.navigation.disabledClass)),r&&r.length&&(r.off("click",a),r.removeClass(e.params.navigation.disabledClass));}t({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,$nextEl:null,prevEl:null,$prevEl:null},r("init",()=>{!1===e.params.navigation.enabled?d():(c(),o());}),r("toEdge fromEdge lock unlock",()=>{o();}),r("destroy",()=>{u();}),r("enable disable",()=>{const {$nextEl:t,$prevEl:r}=e.navigation;t&&t[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass),r&&r[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass);}),r("click",(t,r)=>{const {$nextEl:i,$prevEl:s}=e.navigation,o=r.target;if(e.params.navigation.hideOnClick&&!be(o).is(s)&&!be(o).is(i)){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===o||e.pagination.el.contains(o)))return;let t;i?t=i.hasClass(e.params.navigation.hiddenClass):s&&(t=s.hasClass(e.params.navigation.hiddenClass)),n(!0===t?"navigationShow":"navigationHide"),i&&i.toggleClass(e.params.navigation.hiddenClass),s&&s.toggleClass(e.params.navigation.hiddenClass);}});const d=()=>{e.$el.addClass(e.params.navigation.navigationDisabledClass),u();};Object.assign(e.navigation,{enable:()=>{e.$el.removeClass(e.params.navigation.navigationDisabledClass),c(),o();},disable:d,update:o,init:c,destroy:u});}function ot(e=""){return `.${e.trim().replace(/([\.:!\/])/g,"\\$1").replace(/ /g,".")}`;}function at({swiper:e,extendParams:t,on:r,emit:n}){const i="swiper-pagination";let s;t({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:(e)=>e,formatFractionTotal:(e)=>e,bulletClass:`${i}-bullet`,bulletActiveClass:`${i}-bullet-active`,modifierClass:`${i}-`,currentClass:`${i}-current`,totalClass:`${i}-total`,hiddenClass:`${i}-hidden`,progressbarFillClass:`${i}-progressbar-fill`,progressbarOppositeClass:`${i}-progressbar-opposite`,clickableClass:`${i}-clickable`,lockClass:`${i}-lock`,horizontalClass:`${i}-horizontal`,verticalClass:`${i}-vertical`,paginationDisabledClass:`${i}-disabled`}}),e.pagination={el:null,$el:null,bullets:[]};let o=0;function a(){return !e.params.pagination.el||!e.pagination.el||!e.pagination.$el||0===e.pagination.$el.length;}function l(t,r){const {bulletActiveClass:n}=e.params.pagination;t[r]().addClass(`${n}-${r}`)[r]().addClass(`${n}-${r}-${r}`);}function c(){const t=e.rtl,r=e.params.pagination;if(a())return;const i=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,c=e.pagination.$el;let u;const d=e.params.loop?Math.ceil((i-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(u=Math.ceil((e.activeIndex-e.loopedSlides)/e.params.slidesPerGroup),u>i-1-2*e.loopedSlides&&(u-=i-2*e.loopedSlides),u>d-1&&(u-=d),u<0&&"bullets"!==e.params.paginationType&&(u=d+u)):u=void 0!==e.snapIndex?e.snapIndex:e.activeIndex||0,"bullets"===r.type&&e.pagination.bullets&&e.pagination.bullets.length>0){const n=e.pagination.bullets;let i,a,d;if(r.dynamicBullets&&(s=n.eq(0)[e.isHorizontal()?"outerWidth":"outerHeight"](!0),c.css(e.isHorizontal()?"width":"height",s*(r.dynamicMainBullets+4)+"px"),r.dynamicMainBullets>1&&void 0!==e.previousIndex&&(o+=u-(e.previousIndex-e.loopedSlides||0),o>r.dynamicMainBullets-1?o=r.dynamicMainBullets-1:o<0&&(o=0)),i=Math.max(u-o,0),a=i+(Math.min(n.length,r.dynamicMainBullets)-1),d=(a+i)/2),n.removeClass(["","-next","-next-next","-prev","-prev-prev","-main"].map((e)=>`${r.bulletActiveClass}${e}`).join(" ")),c.length>1)n.each((e)=>{const t=be(e),n=t.index();n===u&&t.addClass(r.bulletActiveClass),r.dynamicBullets&&(n>=i&&n<=a&&t.addClass(`${r.bulletActiveClass}-main`),n===i&&l(t,"prev"),n===a&&l(t,"next"));});else{const t=n.eq(u),s=t.index();if(t.addClass(r.bulletActiveClass),r.dynamicBullets){const t=n.eq(i),o=n.eq(a);for(let e=i;e<=a;e+=1)n.eq(e).addClass(`${r.bulletActiveClass}-main`);if(e.params.loop)if(s>=n.length){for(let e=r.dynamicMainBullets;e>=0;e-=1)n.eq(n.length-e).addClass(`${r.bulletActiveClass}-main`);n.eq(n.length-r.dynamicMainBullets-1).addClass(`${r.bulletActiveClass}-prev`);}else l(t,"prev"),l(o,"next");else l(t,"prev"),l(o,"next");}}if(r.dynamicBullets){const i=Math.min(n.length,r.dynamicMainBullets+4),o=(s*i-s)/2-d*s,a=t?"right":"left";n.css(e.isHorizontal()?a:"top",`${o}px`);}}if("fraction"===r.type&&(c.find(ot(r.currentClass)).text(r.formatFractionCurrent(u+1)),c.find(ot(r.totalClass)).text(r.formatFractionTotal(d))),"progressbar"===r.type){let t;t=r.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";const n=(u+1)/d;let i=1,s=1;"horizontal"===t?i=n:s=n,c.find(ot(r.progressbarFillClass)).transform(`translate3d(0,0,0) scaleX(${i}) scaleY(${s})`).transition(e.params.speed);}"custom"===r.type&&r.renderCustom?(c.html(r.renderCustom(e,u+1,d)),n("paginationRender",c[0])):n("paginationUpdate",c[0]),e.params.watchOverflow&&e.enabled&&c[e.isLocked?"addClass":"removeClass"](r.lockClass);}function u(){const t=e.params.pagination;if(a())return;const r=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,i=e.pagination.$el;let s="";if("bullets"===t.type){let n=e.params.loop?Math.ceil((r-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&!e.params.loop&&n>r&&(n=r);for(let r=0;r`;i.html(s),e.pagination.bullets=i.find(ot(t.bulletClass));}"fraction"===t.type&&(s=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):` / `,i.html(s)),"progressbar"===t.type&&(s=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):``,i.html(s)),"custom"!==t.type&&n("paginationRender",e.pagination.$el[0]);}function d(){e.params.pagination=it(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const t=e.params.pagination;if(!t.el)return;let r=be(t.el);0!==r.length&&(e.params.uniqueNavElements&&"string"==typeof t.el&&r.length>1&&(r=e.$el.find(t.el),r.length>1&&(r=r.filter((t)=>be(t).parents(".swiper")[0]===e.el))),"bullets"===t.type&&t.clickable&&r.addClass(t.clickableClass),r.addClass(t.modifierClass+t.type),r.addClass(e.isHorizontal()?t.horizontalClass:t.verticalClass),"bullets"===t.type&&t.dynamicBullets&&(r.addClass(`${t.modifierClass}${t.type}-dynamic`),o=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&r.addClass(t.progressbarOppositeClass),t.clickable&&r.on("click",ot(t.bulletClass),function(t){t.preventDefault();let r=be(this).index()*e.params.slidesPerGroup;e.params.loop&&(r+=e.loopedSlides),e.slideTo(r);}),Object.assign(e.pagination,{$el:r,el:r[0]}),e.enabled||r.addClass(t.lockClass));}function f(){const t=e.params.pagination;if(a())return;const r=e.pagination.$el;r.removeClass(t.hiddenClass),r.removeClass(t.modifierClass+t.type),r.removeClass(e.isHorizontal()?t.horizontalClass:t.verticalClass),e.pagination.bullets&&e.pagination.bullets.removeClass&&e.pagination.bullets.removeClass(t.bulletActiveClass),t.clickable&&r.off("click",ot(t.bulletClass));}r("init",()=>{!1===e.params.pagination.enabled?p():(d(),u(),c());}),r("activeIndexChange",()=>{(e.params.loop||void 0===e.snapIndex)&&c();}),r("snapIndexChange",()=>{e.params.loop||c();}),r("slidesLengthChange",()=>{e.params.loop&&(u(),c());}),r("snapGridLengthChange",()=>{e.params.loop||(u(),c());}),r("destroy",()=>{f();}),r("enable disable",()=>{const {$el:t}=e.pagination;t&&t[e.enabled?"removeClass":"addClass"](e.params.pagination.lockClass);}),r("lock unlock",()=>{c();}),r("click",(t,r)=>{const i=r.target,{$el:s}=e.pagination;if(e.params.pagination.el&&e.params.pagination.hideOnClick&&s&&s.length>0&&!be(i).hasClass(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&i===e.navigation.nextEl||e.navigation.prevEl&&i===e.navigation.prevEl))return;const t=s.hasClass(e.params.pagination.hiddenClass);n(!0===t?"paginationShow":"paginationHide"),s.toggleClass(e.params.pagination.hiddenClass);}});const p=()=>{e.$el.addClass(e.params.pagination.paginationDisabledClass),e.pagination.$el&&e.pagination.$el.addClass(e.params.pagination.paginationDisabledClass),f();};Object.assign(e.pagination,{enable:()=>{e.$el.removeClass(e.params.pagination.paginationDisabledClass),e.pagination.$el&&e.pagination.$el.removeClass(e.params.pagination.paginationDisabledClass),d(),u(),c();},disable:p,render:u,update:c,init:d,destroy:f});}function lt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);re.length)&&(t=e.length);for(var r=0,n=Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&this.registerTriggers.apply(this,ft(i)),this.onClick=this.onClick.bind(this),this.onKeydown=this.onKeydown.bind(this);}var t;return (t=[{key:"registerTriggers",value:function(){for(var e=this,t=arguments.length,r=new Array(t),n=0;n0&&void 0!==arguments[0]?arguments[0]:null;this.activeElement=document.activeElement,this.modal.setAttribute("aria-hidden","false"),this.modal.classList.add(this.config.openClass),this.scrollBehaviour("disable"),this.addEventListeners(),this.config.awaitOpenAnimation?this.modal.addEventListener("animationend",function t(){e.modal.removeEventListener("animationend",t,!1),e.setFocusToFirstNode();},!1):this.setFocusToFirstNode(),this.config.onShow(this.modal,this.activeElement,t);}},{key:"closeModal",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.modal;if(this.modal.setAttribute("aria-hidden","true"),this.removeEventListeners(),this.scrollBehaviour("enable"),this.activeElement&&this.activeElement.focus&&this.activeElement.focus(),this.config.onClose(this.modal,this.activeElement,e),this.config.awaitCloseAnimation){var r=this.config.openClass;this.modal.addEventListener("animationend",function e(){t.classList.remove(r),t.removeEventListener("animationend",e,!1);},!1);}else t.classList.remove(this.config.openClass);}},{key:"closeModalById",value:function(e){this.modal=document.getElementById(e),this.modal&&this.closeModal();}},{key:"scrollBehaviour",value:function(e){if(this.config.disableScroll){var t=document.querySelector("body");switch(e){case "enable":Object.assign(t.style,{overflow:""});break;case "disable":Object.assign(t.style,{overflow:"hidden"});}}}},{key:"addEventListeners",value:function(){this.modal.addEventListener("touchstart",this.onClick),this.modal.addEventListener("click",this.onClick),document.addEventListener("keydown",this.onKeydown);}},{key:"removeEventListeners",value:function(){this.modal.removeEventListener("touchstart",this.onClick),this.modal.removeEventListener("click",this.onClick),document.removeEventListener("keydown",this.onKeydown);}},{key:"onClick",value:function(e){(e.target.hasAttribute(this.config.closeTrigger)||e.target.parentNode.hasAttribute(this.config.closeTrigger))&&(e.preventDefault(),e.stopPropagation(),this.closeModal(e));}},{key:"onKeydown",value:function(e){27===e.keyCode&&this.closeModal(e),9===e.keyCode&&this.retainFocus(e);}},{key:"getFocusableNodes",value:function(){var e=this.modal.querySelectorAll(ht);return Array.apply(void 0,ft(e));}},{key:"setFocusToFirstNode",value:function(){var e=this;if(!this.config.disableFocus){var t=this.getFocusableNodes();if(0!==t.length){var r=t.filter(function(t){return !t.hasAttribute(e.config.closeTrigger);});r.length>0&&r[0].focus(),0===r.length&&t[0].focus();}}}},{key:"retainFocus",value:function(e){var t=this.getFocusableNodes();if(0!==t.length)if(t=t.filter(function(e){return null!==e.offsetParent;}),this.modal.contains(document.activeElement)){var r=t.indexOf(document.activeElement);e.shiftKey&&0===r&&(t[t.length-1].focus(),e.preventDefault()),!e.shiftKey&&t.length>0&&r===t.length-1&&(t[0].focus(),e.preventDefault());}else t[0].focus();}}])&&function(e,t){for(var r=0;r')),!1;},yt=function(e,t){if(function(e){e.length<=0&&(console.warn("MicroModal: ❗Please specify at least one %c'micromodal-trigger'","background-color: #f8f9fa;color: #50596c;font-weight: bold;","data attribute."),console.warn("%cExample:","background-color: #f8f9fa;color: #50596c;font-weight: bold;",''));}(e),!t)return !0;for(var r in t)mt(r);return !0;},{init:function(e){var t=Object.assign({},{openTrigger:"data-micromodal-trigger"},e),r=ft(document.querySelectorAll("[".concat(t.openTrigger,"]"))),n=function(e,t){var r=[];return e.forEach(function(e){var n=e.attributes[t].value;void 0===r[n]&&(r[n]=[]),r[n].push(e);}),r;}(r,t.openTrigger);if(!0!==t.debugMode||!1!==yt(r,n))for(var i in n){var s=n[i];t.targetModal=i,t.triggers=ft(s),gt=new vt(t);}},show:function(e,t){var r=t||{};r.targetModal=e,!0===r.debugMode&&!1===mt(e)||(gt&>.removeEventListeners(),(gt=new vt(r)).showModal());},close:function(e){e?gt.closeModalById(e):gt.closeModal();}});"undefined"!=typeof window&&(window.MicroModal=bt);const wt=bt;function St(e){return St="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;},St(e);}function xt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function");}(this,e),this.active=!1,this.viewportHeight=window.innerHeight,this.activationThreshold=4*this.viewportHeight,this.display=!1,this.movedForGecko=!1,this.pageHeight=document.body.clientHeight,this.scrollTop=window.pageYOffset,this.options={showClass:r.showClass||"button__scroll-up--display",tuckawayClass:r.tuckawayClass||"btn-top--tuckaway",geckoClass:r.geckoClass||"btn-top--above"};var n=function(e,t){return function(e){if(Array.isArray(e))return e;}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,s,o,a=[],l=!0,c=!1;try{if(s=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1;}else for(;!(l=(n=s.call(r)).done)&&(a.push(n.value),a.length!==t);l=!0);}catch(e){c=!0,i=e;}finally{try{if(!l&&null!=r.return&&(o=r.return(),Object(o)!==o))return;}finally{if(c)throw i;}}return a;}}(e,t)||function(e,t){if(e){if("string"==typeof e)return xt(e,t);var r={}.toString.call(e).slice(8,-1);return "Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?xt(e,t):void 0;}}(e,t)||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.");}();}(document.querySelectorAll(t),1);this.element=n[0],this.element&&(this.moveForGecko(),this.update(),this.initResizeEvents());}return function(e,t,r){return t&&kt(e.prototype,t),r&&kt(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;}(e,[{key:"update",value:function(){this.pageHeight=document.body.clientHeight,this.pageHeight>this.activationThreshold&&!1===this.active?this.activate():this.pageHeight .UnreadMessages"),t=document.querySelectorAll(".GeckoChatWidget > .ChatContainer.active");return !(e.length>0||t.length>0);}},{key:"doesGeckoChatExist",value:function(){return document.querySelectorAll(".GeckoChatWidget").length>0;}}]);}();function Tt(e){return Tt="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;},Tt(e);}function Lt(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return At(e,t);var r={}.toString.call(e).slice(8,-1);return "Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?At(e,t):void 0;}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return {s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]};},e:function(e){throw e;},f:i};}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}var s,o=!0,a=!1;return {s:function(){r=r.call(e);},n:function(){var e=r.next();return o=e.done,e;},e:function(e){a=!0,s=e;},f:function(){try{o||null==r.return||r.return();}finally{if(a)throw s;}}};}function At(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function");}(this,e),this.selector=r,this.elements=[],this.vp=this.getViewportSize(),this.body=document.querySelector("body"),this.firstRender=!1,this.scrollTop=this.getScrollTopPosition(),this.connectWith=document.querySelector("#contact-control"),this.howToController=document.querySelector("#personal_details_howto_controller"),this.options={wrap:n.wrap||!1,marginTop:n.marginTop||0,marginBottom:n.marginBottom||0,stickyFor:n.stickyFor||0,stickyClass:n.stickyClass||null,stickyContainer:n.stickyContainer||"body"},window.addEventListener("load",function(){t.scrollTop=t.getScrollTopPosition();}),window.addEventListener("scroll",function(){t.scrollTop=t.getScrollTopPosition();}),this.howToController&&this.run();},[{key:"run",value:function(){var e=this,t=setInterval(function(){if("interactive"!==document.readyState||!1!==e.firstRender)"complete"===document.readyState&&(clearInterval(t),e.update());else{e.firstRender=!0;var r,n=Lt(document.querySelectorAll(e.selector));try{for(n.s();!(r=n.n()).done;){var i=r.value;e.renderElement(i);}}catch(e){n.e(e);}finally{n.f();}}},10);}},{key:"renderElement",value:function(e){var t=this,r=e.getAttribute("data-margin-top")||"0",n=e.getAttribute("data-margin-bottom")||"0",i=e.getAttribute("data-sticky-for")||"0";e.sticky={active:!1,marginTop:parseInt(r,10)||this.options.marginTop,marginBottom:parseInt(n,10)||this.options.marginBottom,rect:this.getRectangle(e),stickyFor:parseInt(i,10)||this.options.stickyFor,stickyClass:e.getAttribute("data-sticky-class")||this.options.stickyClass,stickyContainer:this.options.stickyContainer,wrap:!!e.hasAttribute("data-sticky-wrap")||this.options.wrap},e.sticky.container=this.getStickyContainer(e),e.sticky.container.rect=this.getRectangle(e.sticky.container),"img"===e.tagName.toLowerCase()&&(e.onload=function(){return e.sticky.rect===t.getRectangle(e);}),e.sticky.wrap&&this.wrapElement(e),this.activate(e);}},{key:"wrapElement",value:function(e){e.insertAdjacentHTML("beforebegin",""),e.previousSibling.appendChild(e);}},{key:"activate",value:function(e){e.sticky.rect.top+e.sticky.rect.height=e.sticky.container.rect.top+e.sticky.container.rect.height||e.sticky.stickyFor>=this.vp.width&&e.sticky.active)&&(e.sticky.active=!1),this.setPosition(e);}},{key:"initScrollEvents",value:function(e){var t=this;e.sticky.scrollListener=function(){return t.onScrollEvents(e);},window.addEventListener("scroll",e.sticky.scrollListener);}},{key:"destroyScrollEvents",value:function(e){window.removeEventListener("scroll",e.sticky.scrollListener);}},{key:"onScrollEvents",value:function(e){e.sticky.active&&this.setPosition(e);}},{key:"initClickEvents",value:function(e){var t=this;e.sticky.clickListener=function(){return t.onClickEvents(e);},this.connectWith.addEventListener("click",e.sticky.clickListener),this.howToController.addEventListener("click",e.sticky.clickListener);}},{key:"destroyClickEvents",value:function(e){this.connectWith.removeEventListener("click",e.sticky.clickListener),this.howToController.removeEventListener("click",e.sticky.clickListener);}},{key:"onClickEvents",value:function(e){this.vp=this.getViewportSize(),e.sticky.rect=this.getRectangle(e),e.sticky.container.rect=this.getRectangle(e.sticky.container),e.sticky.rect.top+e.sticky.rect.height=e.sticky.container.rect.top+e.sticky.container.rect.height||e.sticky.stickyFor>=this.vp.width&&e.sticky.active)&&(e.sticky.active=!1),this.setPosition(e);}},{key:"setPosition",value:function(e){this.css(e,{position:"",width:"",top:"",left:""}),this.vp.heighte.sticky.rect.top+e.sticky.rect.height+e.sticky.marginBottom?(this.css(e,{position:"fixed",width:"".concat(e.sticky.rect.width,"px"),left:"".concat(e.sticky.rect.left,"px")}),this.scrollTop+window.innerHeight-e.sticky.marginBottom>e.sticky.container.rect.top+e.sticky.container.offsetHeight?(e.sticky.stickyClass&&e.classList.remove(e.sticky.stickyClass),this.css(e,{top:e.sticky.container.rect.top+e.sticky.container.offsetHeight-(this.scrollTop+e.sticky.rect.height)+"px"})):(e.sticky.stickyClass&&e.classList.add(e.sticky.stickyClass),this.css(e,{top:window.innerHeight-e.sticky.marginBottom-e.sticky.rect.height+"px"}))):(e.sticky.stickyClass&&e.classList.remove(e.sticky.stickyClass),this.css(e,{position:"",width:"",top:"",left:""}),e.sticky.wrap&&this.css(e.parentNode,{display:"",width:"",height:""})):0===e.sticky.rect.top&&e.sticky.container===this.body?this.css(e,{position:"fixed",top:e.sticky.rect.top+"px",left:e.sticky.rect.left+"px",width:e.sticky.rect.width+"px"}):this.scrollTop>e.sticky.rect.top-e.sticky.marginTop?(this.css(e,{position:"fixed",width:e.sticky.rect.width+"px",left:e.sticky.rect.left+"px"}),this.scrollTop+e.sticky.rect.height+e.sticky.marginTop>e.sticky.container.rect.top+e.sticky.container.offsetHeight?(e.sticky.stickyClass&&e.classList.remove(e.sticky.stickyClass),this.css(e,{top:e.sticky.container.rect.top+e.sticky.container.offsetHeight-(this.scrollTop+e.sticky.rect.height)+"px"})):(e.sticky.stickyClass&&e.classList.add(e.sticky.stickyClass),this.css(e,{top:e.sticky.marginTop+"px"}))):(e.sticky.stickyClass&&e.classList.remove(e.sticky.stickyClass),this.css(e,{position:"",width:"",top:"",left:""}),e.sticky.wrap&&this.css(e.parentNode,{display:"",width:"",height:""})));}},{key:"update",value:function(){var e,t=Lt(document.querySelectorAll(this.selector));try{for(t.s();!(e=t.n()).done;){var r=e.value;null===r.getAttribute("data-sticky-rendered")?(r.setAttribute("data-sticky-rendered",""),this.elements.push(r),this.renderElement(r)):(r.sticky.rect=this.getRectangle(r),r.sticky.container.rect=this.getRectangle(r.sticky.container),this.activate(r),this.setPosition(r));}}catch(e){t.e(e);}finally{t.f();}}},{key:"destroy",value:function(){var e,t=Lt(this.elements);try{for(t.s();!(e=t.n()).done;){var r=e.value;this.destroyResizeEvents(r),this.destroyScrollEvents(r),this.destroyClickEvents(r),delete r.sticky;}}catch(e){t.e(e);}finally{t.f();}}},{key:"getStickyContainer",value:function(e){for(var t=e.parentNode;!t.hasAttribute("data-sticky-container")&&!t.parentNode.querySelector(e.sticky.stickyContainer)&&t!==this.body;)t=t.parentNode;return t;}},{key:"getRectangle",value:function(e){this.css(e,{position:"",width:"",top:"",left:""});var t=Math.max(e.offsetWidth,e.clientWidth,e.scrollWidth),r=Math.max(e.offsetHeight,e.clientHeight,e.scrollHeight),n=0,i=0;do n+=e.offsetTop||0,i+=e.offsetLeft||0,e=e.offsetParent;while(e);return {top:n,left:i,width:t,height:r};}},{key:"getViewportSize",value:function(){return {width:Math.max(document.documentElement.clientWidth,window.innerWidth||0),height:Math.max(document.documentElement.clientHeight,window.innerHeight||0)};}},{key:"css",value:function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e.style[r]=t[r]);}},{key:"getScrollTopPosition",value:function(){return (window.pageYOffset||document.body.scrollTop)-(document.body.clientTop||0)||0;}}]);}();function Dt(){var r;!function(){var e,t=f(document.querySelectorAll("[data-accordion]"));try{for(t.s();!(e=t.n()).done;)b(e.value);}catch(e){t.e(e);}finally{t.f();}var r,n=f(document.querySelectorAll("[data-accordion-collapser]"));try{for(n.s();!(r=n.n()).done;)y(r.value);}catch(e){n.e(e);}finally{n.f();}}(),function(){var e=document.querySelectorAll("[data-filter-input]");if(0!==e.length){k=Array.from(document.querySelectorAll("[data-filter-card]")),E=Array.from(document.querySelectorAll("[data-filter-counter]")),C=Array.from(document.querySelectorAll("[data-filter-jump]")),T=document.querySelector("[data-filter-failure]");var t,r=S(e);try{for(r.s();!(t=r.n()).done;)M(t.value);}catch(e){r.e(e);}finally{r.f();}O(""),function(){var e=window.location.search,t=new URLSearchParams(e),r=t.get("sort_keyword");if(t.has("sort_keyword")){var n=null;(n=document.querySelector("#filterList")).value=r,n.dispatchEvent(new KeyboardEvent("keyup",{key:"Shift"})),window.history.replaceState(null,null,window.location.pathname);}}();}}(),function(){var e,t=W(document.querySelectorAll("[data-tab-container]"));try{for(t.s();!(e=t.n()).done;){var r=e.value;re.push(new se(r));}}catch(e){t.e(e);}finally{t.f();}}(),function(){var e,t=W(re);try{for(t.s();!(e=t.n()).done;){var r=e.value;r.activePageId||r.activateDefaultPage();}}catch(e){t.e(e);}finally{t.f();}}(),function(){var r,n=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return G(e,t);var r={}.toString.call(e).slice(8,-1);return "Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?G(e,t):void 0;}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return {s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]};},e:function(e){throw e;},f:i};}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}var s,o=!0,a=!1;return {s:function(){r=r.call(e);},n:function(){var e=r.next();return o=e.done,e;},e:function(e){a=!0,s=e;},f:function(){try{o||null==r.return||r.return();}finally{if(a)throw s;}}};}(document.querySelectorAll(".table-responsive"));try{for(n.s();!(r=n.n()).done;){var i=r.value.querySelector("table");t(i,U)&&(V(i),H(i,{position:"above"}),e(i,U));}}catch(e){n.e(e);}finally{n.f();}}(),function(){var e,t=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return F(e,t);var r={}.toString.call(e).slice(8,-1);return "Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?F(e,t):void 0;}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return {s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]};},e:function(e){throw e;},f:i};}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}var s,o=!0,a=!1;return {s:function(){r=r.call(e);},n:function(){var e=r.next();return o=e.done,e;},e:function(e){a=!0,s=e;},f:function(){try{o||null==r.return||r.return();}finally{if(a)throw s;}}};}(document.querySelectorAll("[data-scrollbar-h]"));try{for(t.s();!(e=t.n()).done;)H(e.value);}catch(e){t.e(e);}finally{t.f();}}(),function(){var r,n=function(e){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=D(e))){t&&(e=t);var r=0,n=function(){};return {s:n,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]};},e:function(e){throw e;},f:n};}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}var i,s=!0,o=!1;return {s:function(){t=t.call(e);},n:function(){var e=t.next();return s=e.done,e;},e:function(e){o=!0,i=e;},f:function(){try{s||null==t.return||t.return();}finally{if(o)throw i;}}};}(document.querySelectorAll(".acc-combo-wrapper"));try{for(n.s();!(r=n.n()).done;){var i=r.value;t(i,z)&&(new B(i),e(i,z));}}catch(e){n.e(e);}finally{n.f();}}(),document.querySelectorAll("#pathway-area-combo-list div").forEach(function(e){var t=e.getAttribute("data-option-value");t&&e.addEventListener("click",function(){var r=e.textContent;document.querySelector("#modules > h3").textContent="Your modules for "+r,document.querySelectorAll("#modules > h3, #modules > div").forEach(function(e){e.classList.remove("hidden");}),document.querySelectorAll("#modules-status-message").forEach(function(e){e.classList.add("hidden");});var n=document.querySelectorAll("#modules section div[data-modulepathways]");n.forEach(function(e){e.classList.add("hidden");}),n.forEach(function(e){var r=e.getAttribute("data-modulepathways");(""==r||r.indexOf(t)>-1)&&e.classList.remove("hidden");});});}),(r=document.querySelectorAll(".hero-banner")).length>0&&r.forEach(function(e){var t=e.querySelector(".primary-heading"),r=e.querySelector(".left-panel__content");function n(){var n,i;n=r.clientHeight-52>0?r.clientHeight-52:r.clientHeight,i="".concat(n,"px"),e.style.setProperty("--decorative-height",i),function(){if(t){var r="".concat(t.clientHeight,"px");e.style.setProperty("--decorative-heading-height",r);}}();}n(),window.addEventListener("resize",function(){n();});}),new Ct("[data-back-top]"),new $t("[data-sticky]"),window.addEventListener("load",function(){var e,t,r,n,i;(e=document.querySelectorAll(".hero-banner")).length>0&&e.forEach(function(e){var t=e.querySelectorAll(".open-overlay"),r=e.querySelectorAll(".video-overlay"),n=e.querySelectorAll(".close-overlay"),i=e.querySelector(".left-panel"),s=e.querySelector(".right-panel"),o=i.querySelectorAll('a, button, [tabindex]:not([tabindex="-1"])'),a=e.querySelectorAll(".video-overlay .youtube-container");if(t&&r&&i&&s&&a&&a.length>0){for(var l={leftPanel:i,rightPanel:s,innerCTAs:o,disableKeyboard:function(){for(var e=0;e1&&void 0!==arguments[1])||arguments[1];(!(arguments.length>0&&void 0!==arguments[0])||arguments[0])&&this.leftPanel.setAttribute("aria-hidden","true"),e&&this.rightPanel.setAttribute("aria-hidden","true");},enablePanels:function(){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];(!(arguments.length>0&&void 0!==arguments[0])||arguments[0])&&this.leftPanel.setAttribute("aria-hidden","false"),e&&this.rightPanel.setAttribute("aria-hidden","false");},enableCloseButton:function(e){e.setAttribute("tabindex","0");},disableCloseButton:function(e){e.setAttribute("tabindex","-1"),e.blur();},openOverlay:function(e){e.classList.add("active"),e.setAttribute("aria-hidden","false");},closeOverlay:function(e){e.classList.remove("active"),e.setAttribute("aria-hidden","true");}},c=function(e){var i=t[e],s=(a[e],r[e]),o=n[e];i.addEventListener("click",function(t){l.openOverlay(s),l.enableCloseButton(o),window.innerWidth>=1024&&l.disableKeyboard(),1==e&&l.disablePanels();});},u=0;u0&&t.forEach(function(e){var t="true"===o(e,"data-carousel-loop"),r=o(e,"data-carousel-direction");new tt(e,{direction:r,loop:t,slidesPerView:1,mousewheel:!0,keyboard:{enabled:!0,onlyInViewport:!0},pagination:{el:".swiper-pagination",clickable:!0},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"}});}),r=document.querySelectorAll(".modal-container"),n=document.querySelectorAll(".modal-carousel"),i={direction:"horizontal",loop:!1,slidesPerView:1,mousewheel:!0,keyboard:{enabled:!0,onlyInViewport:!0},pagination:{el:".swiper-pagination",clickable:!0},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"}},r.length>0&&n.length>0&&n.forEach(function(e){var t=new tt(e,i);wt.init({onShow:function(e){return t.update();},openTrigger:"data-modal-open",closeTrigger:"data-modal-close"});}),function(){var e=document.querySelectorAll(".compare-room-wrapper"),t=document.querySelector(".room-comparison-block"),r={toggleEnableText:function(e){var t=e.querySelector(".enable"),r=e.querySelector(".disable"),n=e.querySelector(".max-limit");t.classList.remove("hidden"),r.classList.add("hidden"),n.classList.add("hidden");},toggleDisableText:function(e){var t=e.querySelector(".enable"),r=e.querySelector(".disable"),n=e.querySelector(".max-limit");t.classList.add("hidden"),r.classList.remove("hidden"),n.classList.add("hidden");},enableMaxLimitText:function(e){var t=e.querySelector(".enable"),r=e.querySelector(".disable"),n=e.querySelector(".max-limit");t.classList.add("hidden"),r.classList.add("hidden"),n.classList.remove("hidden");},disableMaxLimitText:function(e){var t=e.querySelector(".enable"),r=e.querySelector(".disable"),n=e.querySelector(".max-limit");t.classList.remove("hidden"),r.classList.add("hidden"),n.classList.add("hidden");},getRoomID:function(e){return e.startsWith("compare")?e.replace("compare-",""):null;},loopCheckboxes:function(e,t){for(var n=0;n1)return "/student-life/accommodation/rooms?q="+this.roomsList.join("+");},updateButton:function(){if(this.counter>0){if(this.helpText.classList.remove("hidden"),this.button.classList.add("hidden"),this.counter>1){this.helpText.classList.add("hidden"),this.button.classList.remove("hidden"),this.buttonText.innerText=this.counter;var e=this.buildHref();this.button.href=e;}}else this.button.classList.add("hidden"),this.buttonText.innerText=this.counter;5===this.counter?this.fullText.classList.remove("hidden"):this.fullText.classList.add("hidden");},updateBlock:function(){this.counter>0?(this.wrapper.classList.add("active"),this.wrapper.classList.add("secondary"),l(this.wrapper,"aria-hidden","false"),this.counter>1&&this.wrapper.classList.remove("secondary")):(this.wrapper.classList.remove("active"),this.wrapper.classList.remove("secondary"),l(this.wrapper,"aria-hidden","true"),a(this.wrapper,"role"));},alreadyExists:function(e){return this.roomsList.includes(e);},addToList:function(e){this.alreadyExists(e)||(this.roomsList.push(e),this.updateCounter(),this.updateButton(),this.updateBlock(),i.writeCookie(),i.readCookie());},removeFromList:function(e){if(this.roomsList.includes(e)){var t=this.roomsList.indexOf(e);t>-1&&(this.roomsList.splice(t,1),this.updateCounter(),this.updateButton(),this.updateBlock(),i.writeCookie(),i.readCookie());}}},i={has_cookie:!1,cookie_name:"room_comparison",cookie:{},compareLimit:5,setCookie:function(e,t){var r=new Date();r.setTime(r.getTime()+864e5);var n="; expires="+r.toUTCString();document.cookie=e+"="+(t||"")+n+"; path=/";},getCookie:function(e){for(var t=e+"=",r=document.cookie.split(";"),n=0;n=this.compareLimit;}};if(t&&e&&e.length>0){var s=t.querySelector(".compare-rooms"),c=t.querySelector(".compare-number"),u=t.querySelector(".help-text"),d=t.querySelector(".full-text");n.wrapper=t,n.button=s,n.buttonText=c,n.helpText=u,n.fullText=d,i.readCookie(),n.updateButton(),n.updateBlock();for(var f=function(){var t=e[p],s=t.querySelector('input[type="checkbox"]'),a=t.querySelector("label"),l=o(s,"id"),c=r.getRoomID(l);n.alreadyExists(c)&&(s.checked=!0,r.toggleDisableText(a)),i.checkCompareLimit()&&!s.checked&&(s.disabled=!0,r.enableMaxLimitText(a)),s.addEventListener("change",function(t){s.checked?(r.toggleDisableText(a),n.addToList(c),i.checkForCookie(),i.checkCompareLimit()&&r.loopCheckboxes(e,!1)):(r.toggleEnableText(a),n.removeFromList(c),i.checkCompareLimit()||r.loopCheckboxes(e,!0));});},p=0;p=e.length?{done:!0}:{done:!1,value:e[n++]};},e:function(e){throw e;},f:i};}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}var s,o=!0,a=!1;return {s:function(){r=r.call(e);},n:function(){var e=r.next();return o=e.done,e;},e:function(e){a=!0,s=e;},f:function(){try{o||null==r.return||r.return();}finally{if(a)throw s;}}};}(document.querySelectorAll(".facet-wrapper"));try{var i=function(){var n=r.value;if(!t(n,dt))return 1;n.classList.remove("active"),n.addEventListener("click",function(e){n.classList.toggle("active");var t=n.firstElementChild;if(t&&"BUTTON"===t.tagName&&t.hasAttribute("aria-expanded")){var r=n.classList.contains("active");t.setAttribute("aria-expanded",r);}}),n.querySelectorAll(".facet-empty").length>0&&(n.classList.add("hidden"),n.classList.remove("active")),e(n,dt);};for(n.s();!(r=n.n()).done;)i();}catch(e){n.e(e);}finally{n.f();}}(),function(){var r,n=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return lt(e,t);var r={}.toString.call(e).slice(8,-1);return "Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?lt(e,t):void 0;}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return {s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]};},e:function(e){throw e;},f:i};}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}var s,o=!0,a=!1;return {s:function(){r=r.call(e);},n:function(){var e=r.next();return o=e.done,e;},e:function(e){a=!0,s=e;},f:function(){try{o||null==r.return||r.return();}finally{if(a)throw s;}}};}(document.querySelectorAll(".card"));try{var i=function(){var n=r.value;if(!t(n,ct))return 1;var i,s=n.querySelector(".card-link")?n.querySelector(".card-link"):n.querySelector("a");try{s.classList.contains("fixlink");}catch(e){}s&&(n.addEventListener("mousedown",function(e){i=+new Date();}),n.addEventListener("mouseup",function(e){e.target.hasAttribute("theme-select-id")||+new Date()-i<200&&s!==e.target&&0===e.button&&!cardLink_open_tab&&s.click();}));var o=document.querySelectorAll("a.btn.btn-primary");o.length&&o.forEach(function(e){var t=e.textContent;0===e.children.length&&(e.innerHTML="".concat(t,''));}),e(n,ct);};for(n.s();!(r=n.n()).done;)i();}catch(e){n.e(e);}finally{n.f();}}();}Mt=Dt,((It=document).attachEvent?"complete"===It.readyState:"loading"!==It.readyState)?Mt():It.addEventListener("DOMContentLoaded",Mt),window.compose=Dt;})();})();; let g_souTabIdx=0;(function($,Drupal,once){Drupal.behaviors.SOU={attach(context,settings){const tabButtons=once("tabs-action",".tabs__nav button",context);function onTabButtonClicked(e){const tabButton=e.target;const tabPage=document.querySelector(tabButton.getAttribute("data-target"));const parentSection=tabButton.closest("section");if(!parentSection.id)parentSection.id="tab--section-"+g_souTabIdx++;parentSection.querySelector(`#${parentSection.id} > .tabs__nav .active`).classList.remove("active");parentSection.querySelector(`#${parentSection.id} > .tabs__body > .tabs__content.active`).classList.remove("active");tabButton.classList.add("active");tabPage.classList.add("active");}tabButtons.forEach((button)=>button.addEventListener("click",onTabButtonClicked));const tabBodyAction=once("tabs-content-action",".tabs__content-action",context);function onTabContentMoreButtonClicked(e){const moreButton=e.target;const parentTabBody=moreButton.closest(".tabs__content");const tabMoreContent=parentTabBody.querySelector(".tabs__content-more");const buttonText=parentTabBody.querySelector(".tabs__content-btn");const button=parentTabBody.querySelector(".tabs__content-action");if(tabMoreContent.classList.contains("active")){tabMoreContent.classList.remove("active");button.classList.remove("active");buttonText.innerHTML="Show more";}else{tabMoreContent.classList.add("active");button.classList.add("active");buttonText.innerHTML="Show less";}}tabBodyAction.forEach((button)=>button.addEventListener("click",onTabContentMoreButtonClicked));window.addEventListener("load",function(){let yOffset=0;const stickyNav=document.querySelector(".sticky--nav");const stickyTop=document.querySelector(".sticky--nav");const stickyLabel=$(once("stickyNavActive",".sticky--label",context));if(stickyNav!==null){const stickyNavLinks=document.querySelectorAll(".sticky--menu ul li a");if(stickyTop!==null)yOffset+=stickyTop.offsetHeight;window.addEventListener("scroll",(event)=>{const fromTop=window.pageYOffset;if(stickyNavLinks.length)stickyNavLinks.forEach((link)=>{if(link.hash.length){const target=document.querySelector(link.hash);const targetDiv=target.getBoundingClientRect();if(targetDiv!==null){const y=targetDiv.top+window.pageYOffset-yOffset;const yPosition=Math.floor(y);if(yPosition<=fromTop&&yPosition+target.offsetHeight>fromTop)link.classList.add("active");else link.classList.remove("active");}}});});stickyLabel.on("click",function stickyNavActive(e){if(stickyNav.classList.contains("active"))stickyNav.classList.remove("active");else stickyNav.classList.add("active");e.stopPropagation();});$(document).on("click",function(e){if($(e.target).is(stickyNav)===false)stickyNav.classList.remove("active");});}});$(once("sou-subnav",".sub-nav--toggle",context)).each(function(){const subnavBtn=this;const subnavContainer=subnavBtn.closest(".sidebar");if(!subnavContainer)return;subnavBtn.addEventListener("click",function(){subnavContainer.classList.toggle("active-menu");subnavBtn.classList.toggle("active");});});once("sou-toggle","#button--toggle",context).forEach((toggleBtn)=>{const extraContent=document.getElementById("content--extra");if(!extraContent)return;toggleBtn.addEventListener("click",()=>{extraContent.classList.toggle("show");toggleBtn.classList.toggle("show");toggleBtn.textContent=extraContent.classList.contains("show")?"Show less research highlights":"Show more research highlights";});});once("rhs-theme-url-sync","body",context).forEach(function(){document.addEventListener("change",function(e){if(e.target.name!=="field_rhs_tax_theme_target_id")return;const url=new URL(window.location.href);const value=e.target.value;if(!value||value==="All")url.searchParams.delete("theme");else{const label=document.querySelector('label[for="'+e.target.id+'"]');if(label){const slug=label.textContent.trim().toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-|-$/g,"");url.searchParams.set("theme",slug);}}history.pushState({},"",url.toString());});});once("person-contact",".person__contact",context).forEach(function(contact){const button=contact.querySelector("button");if(!button)return;button.setAttribute("aria-expanded","false");button.addEventListener("click",function(){const isOpen=contact.classList.contains("is-open");contact.classList.toggle("is-open");button.setAttribute("aria-expanded",String(!isOpen));});});once("feedback-banner","#site-feedback-banner",context).forEach(function(banner){const tempKey="feedback_banner_temp";const permanentKey="feedback_banner_permanent";const now=new Date().getTime();if(localStorage.getItem(permanentKey)==="true")return;const tempExpiry=localStorage.getItem(tempKey);if(tempExpiry&&now",{class:"gallery-modal-close","aria-label":Drupal.t("Close gallery"),html:''});$dialog.find(".ui-dialog-titlebar").append($closeBtn);$closeBtn.on("click",function(){$dialog.find(".ui-dialog-content").dialog("close");});});}};})(jQuery,Drupal);; (function($,Drupal,once){'use strict';Drupal.behaviors.moveClickedMenuItem={attach:function(context){const menu=document.getElementById('main-secondary-nav');const isMobileView=window.innerWidth<1025;if(!menu||!isMobileView||menu.hasAttribute('data-processed'))return;menu.setAttribute('data-processed','true');const savedHref=localStorage.getItem('menuTopHref');if(savedHref){const linkToMove=Array.from(menu.querySelectorAll('li > a')).find((a)=>a.getAttribute('href')===savedHref);if(linkToMove){const li=linkToMove.closest('li');if(li&&li.parentElement===menu&&li.id!=='menu-more-link-wrapper'){menu.insertBefore(li,menu.firstChild);li.scrollIntoView({behavior:'smooth',inline:'start',block:'nearest'});}}}menu.querySelectorAll('li > a').forEach((link)=>{link.addEventListener('click',function(){const li=link.closest('li');if(li&&li.parentElement===menu&&li.id!=='menu-more-link-wrapper')localStorage.setItem('menuTopHref',link.getAttribute('href'));});});}};Drupal.behaviors.responsiveMoreMenu={attach(context){const $nav=$('#main-secondary-nav',context);if(!$nav.length||context!==document)return;const CONFIG={breakpoint:768,maxMenuHeight:60,maxWidthPercent:0.72};const SELECTORS={nav:'#main-secondary-nav',navContainer:'.container.secondary-nav-container',navBlock:'#block-mainnavigation-menu',moreButton:'#menu-more-link-wrapper',dropdownItems:'#menu-more-links li',topLevelItems:'#main-secondary-nav > li.menu-item.top-level:not(.more-link)',activeItems:'#main-secondary-nav li.menu-item--active-trail:not(.menu-item-hidden)'};let resizeTimer;function moveActiveTrailFirst(){const $activeItem=$nav.children('li.menu-item--active-trail').first();if($activeItem.length&&!$activeItem.is(':first-child'))$activeItem.prependTo($nav);}function calculateMenuOverflow(){const viewportWidth=window.innerWidth;const $topLevelItems=$(SELECTORS.topLevelItems);const $dropdownItems=$(SELECTORS.dropdownItems);const $moreButton=$(SELECTORS.moreButton);if(viewportWidth<=CONFIG.breakpoint){$topLevelItems.show().removeClass('menu-item-hidden');$dropdownItems.show().removeClass('menu-item-hidden');$moreButton.hide();return;}$topLevelItems.show().removeClass('menu-item-hidden');$dropdownItems.hide().addClass('menu-item-hidden');$moreButton.hide();const navWidth=$nav[0].getBoundingClientRect().width;let usedWidth=0;const hiddenItems=[];$topLevelItems.each(function(){const itemWidth=this.getBoundingClientRect().width;usedWidth+=itemWidth;if(usedWidth>navWidth*CONFIG.maxWidthPercent&&!$(this).hasClass('menu-item--active-trail')){$(this).hide().addClass('menu-item-hidden');hiddenItems.push($(this));}});if(hiddenItems.length){$moreButton.show();hiddenItems.forEach(($item)=>{const href=$item.find('a').attr('href');$dropdownItems.filter((_,li)=>$(li).find('a').attr('href')===href).show().removeClass('menu-item-hidden');});}}function handleResize(){clearTimeout(resizeTimer);resizeTimer=setTimeout(calculateMenuOverflow,250);}moveActiveTrailFirst();calculateMenuOverflow();$(window).on('resize.moreMenu load.moreMenu',handleResize);}};Drupal.behaviors.moreLinkNativeToggle={attach(context){const wrapper=document.getElementById('menu-more-link-wrapper');const button=document.getElementById('menu-more-link');if(!wrapper||!button)return;once('more-menu-toggle',wrapper).forEach(()=>{const setState=(open)=>{wrapper.setAttribute('aria-expanded',String(open));button.setAttribute('aria-expanded',String(open));};button.addEventListener('click',(e)=>{e.preventDefault();e.stopImmediatePropagation();const open=wrapper.getAttribute('aria-expanded')!=='true';setState(open);},true);document.addEventListener('click',(e)=>{if(!wrapper.contains(e.target))setState(false);});});}};Drupal.behaviors.menu_accessibility={attach(context){if(context!==document)return;$("#menu-more-link-wrapper").addClass("group-open");$("#menu-more-links-wrapper li:not(.menu-item-hidden)").first().find("a").focus();const $wind=$(window);let li_before_more=false;let li_first_more=false;let mega_last_child_focus=false;let mega_first_child_focus=false;let lev_2_col_index=0;const sec_menu_li_wrapper="#menu-more-link-wrapper";function isCallAjax(){return !(context&&context.toString().substring(0,21)==="[object HTMLDocument]");}$.fn.Check2ndryNavExists=function(){return ($wind.width()>767&&$("#main-content .container.secondary-nav-container").length&&!$("body.hide-sec-nav").length);};$.fn.Handle_Skip_To_Main_Content=function(){if($wind.width()>1023&&($("#block-mainnavigation").length||$("#block-subnavmenublock-menu").length)&&$('a[href="#main-content"]').length){if(!$("#post-navigation").length){const new_skip_elem='
';$("#block-mainnavigation").after(new_skip_elem);$("#block-subnavmenublock-menu").after(new_skip_elem);}$('a[href="#main-content"]').attr("href","#post-navigation");}};if(!isCallAjax())$.fn.Handle_Skip_To_Main_Content();}};})(jQuery,Drupal,once);; ((Drupal,drupalSettings)=>{const replacementsSelector=`script[data-big-pipe-replacement-for-placeholder-with-id]`;const ajaxObject=Drupal.ajax({url:'',base:false,element:false,progress:false});function mapTextContentToAjaxResponse(content){if(content==='')return false;try{return JSON.parse(content);}catch(e){return false;}}function processReplacement(replacement){const id=replacement.dataset.bigPipeReplacementForPlaceholderWithId;const content=replacement.textContent.trim();if(typeof drupalSettings.bigPipePlaceholderIds[id]==='undefined')return;const response=mapTextContentToAjaxResponse(content);if(response===false)return;delete drupalSettings.bigPipePlaceholderIds[id];ajaxObject.success(response,'success');}function checkMutation(node){return Boolean(node.nodeType===Node.ELEMENT_NODE&&node.nodeName==='SCRIPT'&&node.dataset&&node.dataset.bigPipeReplacementForPlaceholderWithId&&typeof drupalSettings.bigPipePlaceholderIds[node.dataset.bigPipeReplacementForPlaceholderWithId]!=='undefined');}function checkMutationAndProcess(node){if(checkMutation(node))processReplacement(node);else{if(node.parentNode!==null&&checkMutation(node.parentNode))processReplacement(node.parentNode);}}function processMutations(mutations){mutations.forEach(({addedNodes,type,target})=>{addedNodes.forEach(checkMutationAndProcess);if(type==='characterData'&&checkMutation(target.parentNode)&&drupalSettings.bigPipePlaceholderIds[target.parentNode.dataset.bigPipeReplacementForPlaceholderWithId]===true)processReplacement(target.parentNode);});}const observer=new MutationObserver(processMutations);Drupal.attachBehaviors(document);document.querySelectorAll(replacementsSelector).forEach(processReplacement);observer.observe(document.body,{childList:true,subtree:true,characterData:true});window.addEventListener('DOMContentLoaded',()=>{const mutations=observer.takeRecords();observer.disconnect();if(mutations.length)processMutations(mutations);Drupal.ajax.instances[ajaxObject.instanceIndex]=null;});})(Drupal,drupalSettings);; (function($){Drupal.behaviors.new_site_nav={attach(context,settings){if(context!==document)return;const $wind=$(window);$.fn.Make_MM_Menu=function(){const mmenuId="#off-canvas";const offCanvas=document.querySelector(mmenuId);if(offCanvas&&!offCanvas.hasOwnProperty("mmApi")&&typeof Mmenu!=="undefined"){const menuSettings=drupalSettings.responsive_menu;const {position}=menuSettings;const {theme}=menuSettings;const {pagedim}=menuSettings;const options={extensions:[theme,"fx-menu-slide",position==="left"?"position-left":"position-right"],keyboardNavigation:{enable:true,enhance:true},drag:{open:menuSettings.drag}};if(pagedim!=="none")options.extensions.push(pagedim);const config={classNames:{selected:"menu-item--active-trail"}};if(typeof menuSettings.custom!=="undefined"){if(typeof menuSettings.custom.options!=="undefined")Object.assign(options,drupalSettings.responsive_menu.custom.options);if(typeof drupalSettings.responsive_menu.custom.config!=="undefined")Object.assign(config,drupalSettings.responsive_menu.custom.config);}options.extensions.push("multiline");const mmenu=new window.Mmenu(mmenuId,options,config);const mmenuApi=mmenu.API;const viewports=document.getElementsByName("viewport");if(viewports.length!==0&&menuSettings.modifyViewport){const viewportMeta=viewports[0];const defaultViewport=viewports[0].content;const staticViewport="width=device-width, initial-scale=1.0, minimum-scale=1.0";mmenuApi.bind("open:start",function(){viewportMeta.setAttribute("content",staticViewport);});mmenuApi.bind("close:start",function(){viewportMeta.setAttribute("content",defaultViewport);});}const panel_1=document.querySelector("#mm-1");const listview_1=panel_1.querySelector(".mm-listview");const listitem_1=document.createElement("li");listitem_1.classList.add("mm-listitem");listitem_1.innerHTML='Home';listview_1.prepend(listitem_1);$(".mm-panels .mm-btn_next").each(function(){const this_text_elem=$(this).parent().find(".mm-listitem__text");const this_text_elem_text=this_text_elem.text();const this_text_elem_url=this_text_elem.attr("href");const this_id=$(this).attr("href");const this_info_label=$(this).closest(".mm-panel").find(".info-label").text();const header_info=document.createElement("li");header_info.classList.add("mm-listitem");header_info.innerHTML=`${this_text_elem_text}`;$(this_id).find(".mm-listview").prepend(header_info);const back_link_elem=$(this_id).find(".mm-navbar_sticky");back_link_elem.find(".mm-navbar__title").text(`Back to ${this_info_label}`);back_link_elem.addClass("mm-back-link-wrapper");back_link_elem.find(".mm-navbar__title").addClass("mm-back-link");});}};$.fn.Merge_Cols=function($__this,$_index_val){let $_counter=0;const $_first_elem=$__this.find(`.level-2-cell[data-col-index='${$_index_val}']`).first();const $_other_elems=$__this.find(`.level-2-cell[data-col-index='${$_index_val}']:not(:first)`);$__this.find(`.level-2-cell[data-col-index='${$_index_val}']`).each(function(){if($_counter!==0)$_first_elem.append($(this).html());$_counter++;});$_other_elems.remove();};$.fn.Fix_Desktop_Cols=function(){$(".new-site-nav-desktop-wrapper").each(function(){const $_this=$(this);$.fn.Merge_Cols($_this,0);$.fn.Merge_Cols($_this,1);$.fn.Merge_Cols($_this,2);});};$.fn.hideAllMenuItems=function(){$(".new-site-nav-desktop-wrapper").addClass("hidden");$(".new-site-nav-desktop-wrapper").removeClass("active");$("#horizontal-menu li.menu-item a").removeClass("desktop-menu-hover");$("#horizontal-menu li.menu-item .menu-arrow-wrapper .menu-arrow").removeClass("active");$("#horizontal-menu li.menu-item").removeClass("lvl-1-active");$("#desktop-menu-overlay").hide();$.fn.HandleMegaMenuAriaClose();};$.fn.ShowMenuItem=function(_index){if($("nav #horizontal-menu.menu-loaded").length>0){$(`#horizontal-menu li.menu-item:nth-child(${parseInt(parseInt(_index,10)+1,10)})`).addClass("lvl-1-active");$(`#horizontal-menu li.menu-item:nth-child(${parseInt(parseInt(_index,10)+1,10)}) a`).addClass("desktop-menu-hover");$(`.new-site-nav-desktop-wrapper[data-menu-index='${_index}']`).removeClass("hidden");$(`.new-site-nav-desktop-wrapper[data-menu-index='${_index}']`).addClass("active");$(`#horizontal-menu li.menu-item:nth-child(${parseInt(parseInt(_index,10)+1,10)}) .menu-arrow-wrapper .menu-arrow`).addClass("active");}$("#desktop-menu-overlay").show();$.fn.HandleMegaMenuAriaOpen(_index);};$.fn.DisableLevel1Links=function(_index){$("#horizontal-menu").children("li").each(function(index,value){if($(value).hasClass('menu-item--expanded'))$(this).find("a").off("click").removeAttr("href");});};$.fn.DeOrphanMenuArrows=function(){$(".new-site-nav-desktop-wrapper .menu-end-arrow").each(function(){let a_text=$.trim($(this).parent().text());if(a_text.length>0){const arrow_chars=a_text.substr(a_text.length-2);a_text=$.trim(a_text.slice(0,-2));const lastword=$.trim(a_text.split(/[\s-]+/).pop());if(a_text.length!==lastword.length){const new_arrow_text=lastword+arrow_chars;const new_row_text=a_text.slice(0,-lastword.length);const new_row_inner_html=`${new_row_text}${new_arrow_text}`;$(this).parent().html(new_row_inner_html);}}});};$.fn.Check2ndryNavExists=function(){if($wind.width()>1009&&$("#main-content .container.secondary-nav-container").length&&!$("body.hide-sec-nav").length)$("body").addClass("secondry-nav");else $("body").removeClass("secondry-nav");};$.fn.CheckCalloutExists=function(){if($wind.width()>1009&&$("#main-content article section.call-out-banner").length&&!$("#main-content .container.secondary-nav-container.block").length)$("body").addClass("callout-exists");};$.fn.CheckVerticalSpacing=function(){$.fn.Check2ndryNavExists();$.fn.CheckCalloutExists();};$.fn.MakeInitialChecks=function(){if($("#main-content #block-mainnavigation #block-mainnavigation-menu").length)$("body").addClass("lvl2-menu");$.fn.CheckVerticalSpacing();};$.fn.HandleMegaMenuAriaClose=function(){if($wind.width()>1009)$("#horizontal-menu.horizontal-menu li a").each(function(){$(this).attr("aria-expanded","false");});};$.fn.HandleMegaMenuAriaOpen=function(_index){if($wind.width()>1009)$(`#horizontal-menu li.menu-item:nth-child(${parseInt(parseInt(_index,10)+1,10)}) a`).attr("aria-expanded","true");};$.fn.MakeInitialChecks();$.fn.DisableLevel1Links();$.fn.Make_MM_Menu();$.fn.Fix_Desktop_Cols();$.fn.DeOrphanMenuArrows();$.fn.HandleMegaMenuAriaClose();$.fn.showhidemegamenu=function(){const li_index=$(this).index();if($(".menu-item--expanded")){$("nav #horizontal-menu").addClass("menu-loaded");if($(".new-site-nav-desktop-wrapper.active"))if($(`.new-site-nav-desktop-wrapper[data-menu-index='${li_index}'].active`).length&&$(".new-site-nav-desktop-wrapper").is(":visible"))$.fn.hideAllMenuItems();else{$.fn.hideAllMenuItems();if($(this).hasClass('menu-item--expanded'))$.fn.ShowMenuItem(li_index);}else $.fn.hideAllMenuItems();}};let x=$("#horizontal-menu").children("li");x.on("click",$.fn.showhidemegamenu);$("#horizontal-menu li").on("mouseover",function(e){$(this).find(".menu-arrow-wrapper .menu-arrow").addClass("is-hover");});$("#horizontal-menu li").on("mouseout",function(e){$("#horizontal-menu li .menu-arrow-wrapper .menu-arrow").removeClass("is-hover");});$wind.resize(function(){$.fn.CheckVerticalSpacing();if($wind.width()<1009&&$(".new-site-nav-desktop-wrapper.active").length)$.fn.hideAllMenuItems();else{if($("#off-canvas.mm-menu_opened").length){$("#off-canvas").removeClass("mm-menu_opened");$("#off-canvas").addClass("mm-menu_keyboardfocus");}}});}};})(jQuery,Drupal);; (function($,Drupal,drupalSettings){"use strict";document.addEventListener('DOMContentLoaded',function(){const visibleItemsCount=5;function toggleVisibility(list,showMoreLink){const items=list.querySelectorAll('li');const hiddenItems=list.querySelectorAll('li.hide');if(hiddenItems.length>0){showMoreLink.textContent='See less';showMoreLink.classList.add('show-less');hiddenItems.forEach((item)=>item.classList.remove('hide'));}else{showMoreLink.textContent='See more';showMoreLink.classList.remove('show-less');items.forEach((item,index)=>{if(index>=visibleItemsCount)item.classList.add('hide');});}}function initializeList(list,showMoreLink){const items=list.querySelectorAll('li');if(items.length<=visibleItemsCount)showMoreLink.style.display='none';else{items.forEach((item,index)=>{if(index>=visibleItemsCount)item.classList.add('hide');});showMoreLink.textContent='See more';showMoreLink.classList.remove('show-less');}}const listContainers=document.querySelectorAll('.list-container');listContainers.forEach((container)=>{const list=container.querySelector('ul');const showMoreLink=container.querySelector('.showMore');initializeList(list,showMoreLink);showMoreLink.addEventListener('click',function(){toggleVisibility(list,showMoreLink);});});});})(jQuery,Drupal,drupalSettings);; ((Drupal,drupalSettings)=>{Drupal.extlink=Drupal.extlink||{};Drupal.extlink.attach=(context,drupalSettings)=>{if(typeof drupalSettings.data==='undefined'||!drupalSettings.data.hasOwnProperty('extlink'))return;let extIconPlacement='append';if(drupalSettings.data.extlink.extIconPlacement&&drupalSettings.data.extlink.extIconPlacement!=='0')extIconPlacement=drupalSettings.data.extlink.extIconPlacement;const pattern=/^(([^:]+?\.)*)([^.:]+)((\.[a-z0-9]{1,253})*)(:[0-9]{1,5})?$/;const host=window.location.host.replace(pattern,'$2$3$6');const subdomain=window.location.host.replace(host,'');let subdomains;if(drupalSettings.data.extlink.extSubdomains)subdomains='([^/]*\\.)?';else if(subdomain==='www.'||subdomain==='')subdomains='(www\\.)?';else subdomains=subdomain.replace('.','\\.');let allowedDomains=false;if(drupalSettings.data.extlink.allowedDomains){allowedDomains=[];for(let i=0;i{try{let url='';if(typeof el.href==='string')url=el.href.toLowerCase();else{if(typeof el.href==='object')url=el.href.baseVal;}const isExtCssIncluded=extCssInclude&&(el.matches(extCssInclude)||el.closest(extCssInclude));if(url.indexOf('http')===0&&((!internalLink.test(url)&&!(extExclude&&extExclude.test(url)))||(extInclude&&extInclude.test(url))||isExtCssIncluded)&&!(extCssExclude&&el.matches(extCssExclude))&&!(extCssExclude&&el.closest(extCssExclude))&&!(extCssExplicit&&!el.closest(extCssExplicit))){let match=false;if(!isExtCssIncluded&&allowedDomains){for(let i=0;i{if(!(drupalSettings.data.extlink.extTargetNoOverride&&link.matches('a[target]')))externalLinks[i].setAttribute('target','_blank');});externalLinks.forEach((link,i)=>{const val=link.getAttribute('rel');if(val===null||typeof val==='undefined'){externalLinks[i].setAttribute('rel','noopener');return;}if(val.indexOf('noopener')>-1)if(val.indexOf('noopener')===-1)externalLinks[i].setAttribute('rel',`${val} noopener`);else{}else externalLinks[i].setAttribute('rel',`${val} noopener`);});}if(drupalSettings.data.extlink.extNofollow)externalLinks.forEach((link,i)=>{const val=link.getAttribute('rel');if(val===null||typeof val==='undefined'){externalLinks[i].setAttribute('rel','nofollow');return;}let target='nofollow';if(drupalSettings.data.extlink.extFollowNoOverride)target='follow';if(val.indexOf(target)===-1)externalLinks[i].setAttribute('rel',`${val} nofollow`);});if(drupalSettings.data.extlink.extTitleNoOverride===false)externalLinks.forEach((link,i)=>{const oldTitle=link.getAttribute('title');let newTitle='';if(drupalSettings.data.extlink.extTargetAppendNewWindowDisplay)newTitle=drupalSettings.data.extlink.extTargetAppendNewWindowLabel;if(oldTitle!==null){if(Drupal.extlink.hasNewWindowText(oldTitle))return;newTitle=Drupal.extlink.combineLabels(oldTitle,newTitle);}if(newTitle)externalLinks[i].setAttribute('title',newTitle);});if(drupalSettings.data.extlink.extNoreferrer)externalLinks.forEach((link,i)=>{if(drupalSettings.data.extlink.extExcludeNoreferrer&&extExcludeNoreferrer.test(link.getAttribute('href')))return;const val=link.getAttribute('rel');if(val===null||typeof val==='undefined'){externalLinks[i].setAttribute('rel','noreferrer');return;}externalLinks[i].setAttribute('rel',`${val} noreferrer`);});Drupal.extlink=Drupal.extlink||{};Drupal.extlink.popupClickHandler=Drupal.extlink.popupClickHandler||(()=>{if(drupalSettings.data.extlink.extAlert)return confirm(drupalSettings.data.extlink.extAlertText);});const _that=this;Drupal.extlink.handleClick=function(event){const shouldNavigate=Drupal.extlink.popupClickHandler.call(_that,event);if(typeof shouldNavigate!=='undefined'&&!shouldNavigate)event.preventDefault();};externalLinks.forEach((val,i)=>{externalLinks[i].removeEventListener('click',Drupal.extlink.handleClick);externalLinks[i].addEventListener('click',Drupal.extlink.handleClick);});};Drupal.extlink.hasNewWindowText=function(label){return label.toLowerCase().indexOf(Drupal.t('new window'))!==-1;};Drupal.extlink.combineLabels=function(labelA,labelB){labelA=labelA||'';labelB=labelB||'';if(!labelA.trim())return labelB;if(!labelB.trim())return labelA;const labelANoParens=labelA.trim().replace('(','').replace(')','');const labelBNoParens=labelB.trim().replace('(','').replace(')','');if(labelA===labelANoParens){if(labelB===labelBNoParens)return `${labelA}, ${labelB}`;return `${labelA} ${labelB}`;}if(labelB===labelBNoParens)return `${labelB} ${labelA}`;return `(${labelANoParens}, ${labelBNoParens})`;};Drupal.extlink.applyClassAndSpan=(links,className,iconPlacement)=>{let linksToProcess;if(drupalSettings.data.extlink.extImgClass)linksToProcess=links;else linksToProcess=links.filter((link)=>{return link.querySelector('img, svg')===null;});for(let i=0;i0){const lastText=lastTextNode.textContent;const lastWordRegex=new RegExp(/\S+\s*$/,'g');const lastWord=lastText.match(lastWordRegex);if(lastWord!==null){const breakPreventer=document.createElement('span');breakPreventer.classList.add('extlink-nobreak');breakPreventer.textContent=lastWord[0];if(trailingWhitespace){trailingWhitespace.textContent='';breakPreventer.append(trailingWhitespace.textContent);}lastTextNode.textContent=lastText.substring(0,lastText.length-lastWord[0].length);lastTextNode.parentNode.append(breakPreventer);link=breakPreventer;}}}let iconElement;if(drupalSettings.data.extlink.extUseFontAwesome){iconElement=document.createElement('span');iconElement.setAttribute('class',`fa-${className} extlink`);if(className===drupalSettings.data.extlink.mailtoClass){if(drupalSettings.data.extlink.mailtoLabel)link.ariaLabel=drupalSettings.data.extlink.mailtoLabel;iconElement.innerHTML=Drupal.theme('extlink_fa_mailto',drupalSettings,iconPlacement);}else if(className===drupalSettings.data.extlink.extClass){if(drupalSettings.data.extlink.extLabel)link.ariaLabel=drupalSettings.data.extlink.extLabel;iconElement.innerHTML=Drupal.theme('extlink_fa_extlink',drupalSettings,iconPlacement);}else{if(className===drupalSettings.data.extlink.telClass){if(drupalSettings.data.extlink.telLabel)link.ariaLabel=drupalSettings.data.extlink.telLabel;iconElement.innerHTML=Drupal.theme('extlink_fa_tel',drupalSettings,iconPlacement);}}}else{iconElement=document.createElementNS('http://www.w3.org/2000/svg','svg');iconElement.setAttribute('focusable','false');iconElement.setAttribute('width','1em');iconElement.setAttribute('height','1em');iconElement.classList.add(className);iconElement.setAttribute('data-extlink-placement',iconPlacement);if(className===drupalSettings.data.extlink.mailtoClass)iconElement=Drupal.theme('extlink_mailto',iconElement,drupalSettings);else if(className===drupalSettings.data.extlink.extClass)iconElement=Drupal.theme('extlink_extlink',iconElement,drupalSettings);else{if(className===drupalSettings.data.extlink.telClass)iconElement=Drupal.theme('extlink_tel',iconElement,drupalSettings);}}iconElement.setAttribute('role','img');iconElement.setAttribute('aria-hidden',drupalSettings.data.extlink.extHideIcons);link[iconPlacement](iconElement);}}};Drupal.theme.extlink_fa_mailto=function(drupalSettings,iconPlacement){return ``;};Drupal.theme.extlink_fa_extlink=function(drupalSettings,iconPlacement){return ``;};Drupal.theme.extlink_fa_tel=function(drupalSettings,iconPlacement){return ``;};Drupal.theme.extlink_mailto=function(iconElement,drupalSettings){iconElement.setAttribute('aria-label',drupalSettings.data.extlink.mailtoLabel);iconElement.setAttribute('viewBox','0 10 70 20');iconElement.innerHTML=`${drupalSettings.data.extlink.mailtoLabel}`;return iconElement;};Drupal.theme.extlink_extlink=function(iconElement,drupalSettings){iconElement.setAttribute('aria-label',drupalSettings.data.extlink.extLabel);iconElement.setAttribute('viewBox','0 0 80 40');iconElement.innerHTML=`${drupalSettings.data.extlink.extLabel}`;return iconElement;};Drupal.theme.extlink_tel=function(iconElement,drupalSettings){iconElement.setAttribute('aria-label',drupalSettings.data.extlink.telLabel);iconElement.setAttribute('viewBox','0 0 181.352 181.352');iconElement.innerHTML=`${drupalSettings.data.extlink.telLabel}`;return iconElement;};Drupal.behaviors.extlink=Drupal.behaviors.extlink||{};Drupal.behaviors.extlink.attach=(context,drupalSettings)=>{if(typeof extlinkAttach==='function')extlinkAttach(context);else Drupal.extlink.attach(context,drupalSettings);};})(Drupal,drupalSettings);; (function(Drupal){Drupal.AjaxCommands.prototype.gtagEvent=function(ajax,response){gtag('event',response.event_name,response.data);};})(Drupal);; ((Drupal)=>{Drupal.behaviors.lazy={attach(context,settings){const utils={extend(obj,src){Object.keys(src).forEach((key)=>{obj[key]=src[key];});return obj;},once(selector){return (context||document).querySelector(selector);},loadScript(url){if(document.querySelectorAll(`script[src="${url}"]`).length===0){const script=document.createElement('script');const scripts=document.getElementsByTagName('script')[0];script.src=url;script.async=true;scripts.parentNode.insertBefore(script,scripts);}}};if(utils.once('body',context)){const lazysizes=settings.lazy.lazysizes||{};if(!settings.lazy.preferNative){window.lazySizesConfig=window.lazySizesConfig||{};window.lazySizesConfig=utils.extend(window.lazySizesConfig,lazysizes);if(!Object.entries)Object.entries=(obj)=>{const ownProps=Object.keys(obj);let i=ownProps.length;const resArray=new Array(i);while(i--)resArray[i]=[ownProps[i],obj[ownProps[i]]];return resArray;};const min=settings.lazy.minified?'.min':'';Object.entries(lazysizes.plugins).forEach((path)=>{utils.loadScript(`${settings.lazy.libraryPath}/plugins/${path[1]}${min}.js`);});utils.loadScript(`${settings.lazy.libraryPath}/lazysizes${min}.js`);}}}};})(Drupal);; if(window.NodeList&&!NodeList.prototype.forEach)NodeList.prototype.forEach=function(callback,thisArg){thisArg=thisArg||window;for(var i=0;i=0&&matches.item(i)!==this){}return i>-1;};if(!Element.prototype.matches)Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector;if(!Element.prototype.closest)Element.prototype.closest=function(s){var el=this;do{if(el.matches(s))return el;el=el.parentElement||el.parentNode;}while(el!==null&&el.nodeType===1);return null;};(function(arr){arr.forEach(function(item){if(item.hasOwnProperty('prepend'))return;Object.defineProperty(item,'prepend',{configurable:true,enumerable:true,writable:true,value:function prepend(){var argArr=Array.prototype.slice.call(arguments),docFrag=document.createDocumentFragment();argArr.forEach(function(argItem){var isNode=argItem instanceof Node;docFrag.appendChild(isNode?argItem:document.createTextNode(String(argItem)));});this.insertBefore(docFrag,this.firstChild);}});});})([Element.prototype,Document.prototype,DocumentFragment.prototype]);(function(arr){arr.forEach(function(item){if(item.hasOwnProperty('append'))return;Object.defineProperty(item,'append',{configurable:true,enumerable:true,writable:true,value:function append(){var argArr=Array.prototype.slice.call(arguments),docFrag=document.createDocumentFragment();argArr.forEach(function(argItem){var isNode=argItem instanceof Node;docFrag.appendChild(isNode?argItem:document.createTextNode(String(argItem)));});this.appendChild(docFrag);}});});})([Element.prototype,Document.prototype,DocumentFragment.prototype]);(function(arr){arr.forEach(function(item){if(item.hasOwnProperty('before'))return;Object.defineProperty(item,'before',{configurable:true,enumerable:true,writable:true,value:function before(){var argArr=Array.prototype.slice.call(arguments),docFrag=document.createDocumentFragment();argArr.forEach(function(argItem){var isNode=argItem instanceof Node;docFrag.appendChild(isNode?argItem:document.createTextNode(String(argItem)));});this.parentNode.insertBefore(docFrag,this);}});});})([Element.prototype,CharacterData.prototype,DocumentType.prototype]);(function(arr){arr.forEach(function(item){if(item.hasOwnProperty('remove'))return;Object.defineProperty(item,'remove',{configurable:true,enumerable:true,writable:true,value:function remove(){if(this.parentNode!==null)this.parentNode.removeChild(this);}});});})([Element.prototype,CharacterData.prototype,DocumentType.prototype]);; !function(e){var t={};function n(i){if(t[i])return t[i].exports;var s=t[i]={i,l:!1,exports:{}};return e[i].call(s.exports,s,s.exports,n),s.l=!0,s.exports;}n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i});},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 i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var s in e)n.d(i,s,function(t){return e[t];}.bind(null,s));return i;},n.n=function(e){var t=e&&e.__esModule?function(){return e.default;}:function(){return e;};return n.d(t,"a",t),t;},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t);},n.p="",n(n.s=0);}([function(e,t,n){"use strict";n.r(t);var i={hooks:{},extensions:[],wrappers:[],navbar:{add:!0,sticky:!0,title:"Menu",titleLink:"parent"},onClick:{close:null,preventDefault:null,setSelected:!0},slidingSubmenus:!0},s={classNames:{inset:"Inset",nolistview:"NoListview",nopanel:"NoPanel",panel:"Panel",selected:"Selected",vertical:"Vertical"},language:null,openingInterval:25,panelNodetype:["ul","ol","div"],transitionDuration:400};function a(e,t){for(var n in "object"!=o(e)&&(e={}),"object"!=o(t)&&(t={}),t)t.hasOwnProperty(n)&&(void 0===e[n]?e[n]=t[n]:"object"==o(e[n])&&a(e[n],t[n]));return e;}function o(e){return {}.toString.call(e).match(/\s([a-zA-Z]+)/)[1].toLowerCase();}function r(e,t,n){if("function"==typeof t){var i=t.call(e);if(void 0!==i)return i;}return null!==t&&"function"!=typeof t&&void 0!==t||void 0===n?t:n;}function c(e,t,n){var i=!1,s=function(n){void 0!==n&&n.target!==e||(i||(e.removeEventListener("transitionend",s),e.removeEventListener("webkitTransitionEnd",s),t.call(e)),i=!0);};e.addEventListener("transitionend",s),e.addEventListener("webkitTransitionEnd",s),setTimeout(s,1.1*n);}function m(){return "mm-"+l++;}var l=0;function d(e){return "mm-"==e.slice(0,3)?e.slice(3):e;}var p={};function u(e,t){void 0===p[t]&&(p[t]={}),a(p[t],e);}var f={Menu:"منو"},h={Menu:"Menü"},v={Menu:"Меню"};function b(e){var t=e.split("."),n=document.createElement(t.shift());return t.forEach((function(e){n.classList.add(e);})),n;}function g(e,t){return Array.prototype.slice.call(e.querySelectorAll(t));}function _(e,t){var n=Array.prototype.slice.call(e.children);return t?n.filter((function(e){return e.matches(t);})):n;}function y(e,t){for(var n=[],i=e.parentElement;i;)n.push(i),i=i.parentElement;return t?n.filter((function(e){return e.matches(t);})):n;}function L(e){return e.filter((function(e){return !e.matches(".mm-hidden");}));}function w(e){var t=[];return L(e).forEach((function(e){t.push.apply(t,_(e,"a.mm-listitem__text"));})),t.filter((function(e){return !e.matches(".mm-btn_next");}));}function E(e,t,n){e.matches("."+t)&&(e.classList.remove(t),e.classList.add(n));}var x={};function P(e,t,n){"number"==typeof e&&(e="(min-width: "+e+"px)"),x[e]=x[e]||[],x[e].push({yes:t,no:n});}function k(e,t){for(var n=t.matches?"yes":"no",i=0;i-1&&t.append(n);})),this.node.menu.append(t),this.node.pnls=t,this.node.menu.classList.add("mm-menu"),this.trigger("initMenu:after");},e.prototype._initPanels=function(){var e=this;this.trigger("initPanels:before"),this.clck.push((function(t,n){if(n.inMenu){var i=t.getAttribute("href");if(i&&i.length>1&&"#"==i.slice(0,1))try{var s=g(e.node.menu,i)[0];if(s&&s.matches(".mm-panel"))return t.parentElement.matches(".mm-listitem_vertical")?e.togglePanel(s):e.openPanel(s),!0;}catch(e){}}})),_(this.node.pnls).forEach((function(t){e.initPanel(t);})),this.trigger("initPanels:after");},e.prototype.initPanel=function(e){var t=this,n=this.conf.panelNodetype.join(", ");if(e.matches(n)&&(e.matches(".mm-panel")||(e=this._initPanel(e)),e)){var i=[];i.push.apply(i,_(e,"."+this.conf.classNames.panel)),_(e,".mm-listview").forEach((function(e){_(e,".mm-listitem").forEach((function(e){i.push.apply(i,_(e,n));}));})),i.forEach((function(e){t.initPanel(e);}));}},e.prototype._initPanel=function(e){var t=this;if(this.trigger("initPanel:before",[e]),E(e,this.conf.classNames.panel,"mm-panel"),E(e,this.conf.classNames.nopanel,"mm-nopanel"),E(e,this.conf.classNames.inset,"mm-listview_inset"),e.matches(".mm-listview_inset")&&e.classList.add("mm-nopanel"),e.matches(".mm-nopanel"))return null;var n=e.id||m(),i=e.matches("."+this.conf.classNames.vertical)||!this.opts.slidingSubmenus;if(e.classList.remove(this.conf.classNames.vertical),e.matches("ul, ol")){e.removeAttribute("id");var s=b("div");e.before(s),s.append(e),e=s;}e.id=n,e.classList.add("mm-panel"),e.classList.add("mm-hidden");var a=[e.parentElement].filter((function(e){return e.matches("li");}))[0];if(i?a&&a.classList.add("mm-listitem_vertical"):this.node.pnls.append(e),a&&(a.mmChild=e,e.mmParent=a,a&&a.matches(".mm-listitem")&&!_(a,".mm-btn").length)){var o=_(a,".mm-listitem__text")[0];if(o){var r=b("a.mm-btn.mm-btn_next.mm-listitem__btn");r.setAttribute("href","#"+e.id),o.matches("span")?(r.classList.add("mm-listitem__text"),r.innerHTML=o.innerHTML,a.insertBefore(r,o.nextElementSibling),o.remove()):a.insertBefore(r,_(a,".mm-panel")[0]);}}return this._initNavbar(e),_(e,"ul, ol").forEach((function(e){t.initListview(e);})),this.trigger("initPanel:after",[e]),e;},e.prototype._initNavbar=function(e){if(this.trigger("initNavbar:before",[e]),!_(e,".mm-navbar").length){var t=null,n=null;if(e.getAttribute("data-mm-parent")?n=g(this.node.pnls,e.getAttribute("data-mm-parent"))[0]:(t=e.mmParent)&&(n=t.closest(".mm-panel")),!t||!t.matches(".mm-listitem_vertical")){var i=b("div.mm-navbar");if(this.opts.navbar.add?this.opts.navbar.sticky&&i.classList.add("mm-navbar_sticky"):i.classList.add("mm-hidden"),n){var s=b("a.mm-btn.mm-btn_prev.mm-navbar__btn");s.setAttribute("href","#"+n.id),i.append(s);}var a=null;t?a=_(t,".mm-listitem__text")[0]:n&&(a=g(n,'a[href="#'+e.id+'"]')[0]);var o=b("a.mm-navbar__title"),r=b("span");switch(o.append(r),r.innerHTML=e.getAttribute("data-mm-title")||(a?a.textContent:"")||this.i18n(this.opts.navbar.title)||this.i18n("Menu"),this.opts.navbar.titleLink){case "anchor":a&&o.setAttribute("href",a.getAttribute("href"));break;case "parent":n&&o.setAttribute("href","#"+n.id);}i.append(o),e.prepend(i),this.trigger("initNavbar:after",[e]);}}},e.prototype.initListview=function(e){var t=this;this.trigger("initListview:before",[e]),E(e,this.conf.classNames.nolistview,"mm-nolistview"),e.matches(".mm-nolistview")||(e.classList.add("mm-listview"),_(e).forEach((function(e){e.classList.add("mm-listitem"),E(e,t.conf.classNames.selected,"mm-listitem_selected"),_(e,"a, span").forEach((function(e){e.matches(".mm-btn")||e.classList.add("mm-listitem__text");}));}))),this.trigger("initListview:after",[e]);},e.prototype._initOpened=function(){this.trigger("initOpened:before");var e=this.node.pnls.querySelectorAll(".mm-listitem_selected"),t=null;e.forEach((function(e){t=e,e.classList.remove("mm-listitem_selected");})),t&&t.classList.add("mm-listitem_selected");var n=t?t.closest(".mm-panel"):_(this.node.pnls,".mm-panel")[0];this.openPanel(n,!1),this.trigger("initOpened:after");},e.prototype._initAnchors=function(){var e=this;this.trigger("initAnchors:before"),document.addEventListener("click",(function(t){var n=t.target.closest("a[href]");if(n){for(var i={inMenu:n.closest(".mm-menu")===e.node.menu,inListview:n.matches(".mm-listitem > a"),toExternal:n.matches('[rel="external"]')||n.matches('[target="_blank"]')},s={close:null,setSelected:null,preventDefault:"#"==n.getAttribute("href").slice(0,1)},c=0;c1){var i=b("div");n[0].before(i),n.forEach((function(e){i.append(e);})),n=[i];}e=n[0];}e.classList.add("mm-page"),e.classList.add("mm-slideout"),e.id=e.id||m(),S.node.page=e,this.trigger("setPage:after",[e]);};var H=function(){var e=this;N(document.body,"keydown.tabguard"),C(document.body,"keydown.tabguard",(function(t){9==t.keyCode&&e.node.wrpr.matches(".mm-wrapper_opened")&&t.preventDefault();}));},j=function(){var e=this;this.trigger("initBlocker:before");var t=this.opts.offCanvas,n=this.conf.offCanvas;if(t.blockUI){if(!S.node.blck){var i=b("div.mm-wrapper__blocker.mm-slideout");i.innerHTML="",document.querySelector(n.menu.insertSelector).append(i),S.node.blck=i;}var s=function(t){t.preventDefault(),t.stopPropagation(),e.node.wrpr.matches(".mm-wrapper_modal")||e.close();};S.node.blck.addEventListener("mousedown",s),S.node.blck.addEventListener("touchstart",s),S.node.blck.addEventListener("touchmove",s),this.trigger("initBlocker:after");}},D={aria:!0,text:!0};var I={text:{closeMenu:"Close menu",closeSubmenu:"Close submenu",openSubmenu:"Open submenu",toggleSubmenu:"Toggle submenu"}},O={"Close menu":"بستن منو","Close submenu":"بستن زیرمنو","Open submenu":"بازکردن زیرمنو","Toggle submenu":"سوییچ زیرمنو"},q={"Close menu":"Menü schließen","Close submenu":"Untermenü schließen","Open submenu":"Untermenü öffnen","Toggle submenu":"Untermenü wechseln"},B={"Close menu":"Закрыть меню","Close submenu":"Закрыть подменю","Open submenu":"Открыть подменю","Toggle submenu":"Переключить подменю"};u({"Close menu":"Menu sluiten","Close submenu":"Submenu sluiten","Open submenu":"Submenu openen","Toggle submenu":"Submenu wisselen"},"nl"),u(O,"fa"),u(q,"de"),u(B,"ru"),S.options.screenReader=D,S.configs.screenReader=I;var z;z=function(e,t,n){e[t]=n,n?e.setAttribute(t,n.toString()):e.removeAttribute(t);},S.sr_aria=function(e,t,n){z(e,"aria-"+t,n);},S.sr_role=function(e,t){z(e,"role",t);},S.sr_text=function(e){return ''+e+"";};var R={fix:!0};var U="ontouchstart" in window||!!navigator.msMaxTouchPoints||!1;S.options.scrollBugFix=R;var W={height:"default"};S.options.autoHeight=W;var Y={close:!1,open:!1};S.options.backButton=Y;var F={add:!1,visible:{min:1,max:3}};S.options.columns=F;var X={add:!1,addTo:"panels",count:!1};S.options.counters=X,S.configs.classNames.counters={counter:"Counter"};var V={add:!1,addTo:"panels"};S.options.dividers=V,S.configs.classNames.divider="Divider";var Z={open:!1,node:null};var G="ontouchstart" in window||!!navigator.msMaxTouchPoints||!1,K={top:0,right:0,bottom:0,left:0},Q={start:15,swipe:15},J={x:["Right","Left"],y:["Down","Up"]},$=0,ee=1,te=2,ne=function(e,t){return "string"==typeof e&&"%"==e.slice(-1)&&(e=t*((e=parseInt(e.slice(0,-1),10))/100)),e;},ie=function(){function e(e,t,n){this.surface=e,this.area=a(t,K),this.treshold=a(n,Q),this.surface.mmHasDragEvents||(this.surface.addEventListener(G?"touchstart":"mousedown",this.start.bind(this)),this.surface.addEventListener(G?"touchend":"mouseup",this.stop.bind(this)),this.surface.addEventListener(G?"touchleave":"mouseleave",this.stop.bind(this)),this.surface.addEventListener(G?"touchmove":"mousemove",this.move.bind(this))),this.surface.mmHasDragEvents=!0;}return e.prototype.start=function(e){this.currentPosition={x:e.touches?e.touches[0].pageX:e.pageX||0,y:e.touches?e.touches[0].pageY:e.pageY||0};var t=this.surface.clientWidth,n=this.surface.clientHeight,i=ne(this.area.top,n);if(!("number"==typeof i&&this.currentPosition.ys))){var a=ne(this.area.bottom,n);if(!("number"==typeof a&&(a=n-a,this.currentPosition.y>a))){var o=ne(this.area.left,t);"number"==typeof o&&this.currentPosition.xthis.treshold.swipe){var i=this._swipeDirection();n.direction=i,this._dispatchEvents("swipe*",n);}}this.state=$;},e.prototype.move=function(e){switch(this.state){case ee:case te:var t={x:e.changedTouches?e.touches[0].pageX:e.pageX||0,y:e.changedTouches?e.touches[0].pageY:e.pageY||0};this.movement={x:t.x-this.currentPosition.x,y:t.y-this.currentPosition.y},this.distance={x:t.x-this.startPosition.x,y:t.y-this.startPosition.y},this.currentPosition={x:t.x,y:t.y},this.axis=Math.abs(this.distance.x)>Math.abs(this.distance.y)?"x":"y";var n=this._dragDirection(),i=this._eventDetail(n);this.state==ee&&Math.abs(this.distance[this.axis])>this.treshold.start&&(this._dispatchEvents("drag*Start",i),this.state=te),this.state==te&&this._dispatchEvents("drag*Move",i);}},e.prototype._eventDetail=function(e){var t=this.distance.x,n=this.distance.y;return "x"==this.axis&&(t-=t>0?this.treshold.start:0-this.treshold.start),"y"==this.axis&&(n-=n>0?this.treshold.start:0-this.treshold.start),{axis:this.axis,direction:e,movementX:this.movement.x,movementY:this.movement.y,distanceX:t,distanceY:n};},e.prototype._dispatchEvents=function(e,t){var n=new CustomEvent(e.replace("*",""),{detail:t});this.surface.dispatchEvent(n);var i=new CustomEvent(e.replace("*",this.axis.toUpperCase()),{detail:t});this.surface.dispatchEvent(i);var s=new CustomEvent(e.replace("*",t.direction),{detail:t});this.surface.dispatchEvent(s);},e.prototype._dragDirection=function(){return J[this.axis][this.distance[this.axis]>0?0:1];},e.prototype._swipeDirection=function(){return J[this.axis][this.movement[this.axis]>0?0:1];},e;}(),se=null,ae=null,oe=0,re=function(e){var t=this,n={},i=!1,s=function(){var e=Object.keys(t.opts.extensions);e.length?(P(e.join(", "),(function(){}),(function(){n=ce(n,[],t.node.menu);})),e.forEach((function(e){P(e,(function(){n=ce(n,t.opts.extensions[e],t.node.menu);}),(function(){}));}))):n=ce(n,[],t.node.menu);};ae&&(N(ae,"dragStart"),N(ae,"dragMove"),N(ae,"dragEnd")),se=new ie(ae=e),s(),s=function(){},ae&&(C(ae,"dragStart",(function(e){e.detail.direction==n.direction&&(i=!0,t.node.wrpr.classList.add("mm-wrapper_dragging"),t._openSetup(),t.trigger("open:start"),oe=t.node.menu["x"==n.axis?"clientWidth":"clientHeight"]);})),C(ae,"dragMove",(function(e){if(e.detail.axis==n.axis&&i){var t=e.detail["distance"+n.axis.toUpperCase()];switch(n.position){case "right":case "bottom":t=Math.min(Math.max(t,-oe),0);break;default:t=Math.max(Math.min(t,oe),0);}if("front"==n.zposition)switch(n.position){case "right":case "bottom":t+=oe;break;default:t-=oe;}n.slideOutNodes.forEach((function(e){e.style.transform="translate"+n.axis.toUpperCase()+"("+t+"px)";}));}})),C(ae,"dragEnd",(function(e){if(e.detail.axis==n.axis&&i){i=!1,t.node.wrpr.classList.remove("mm-wrapper_dragging"),n.slideOutNodes.forEach((function(e){e.style.transform="";}));var s=Math.abs(e.detail["distance"+n.axis.toUpperCase()])>=.75*oe;if(!s){var a=e.detail["movement"+n.axis.toUpperCase()];switch(n.position){case "right":case "bottom":s=a<=0;break;default:s=a>=0;}}s?t._openStart():t.close();}})));},ce=function(e,t,n){switch(e.position="left",e.zposition="back",["right","top","bottom"].forEach((function(n){t.indexOf("position-"+n)>-1&&(e.position=n);})),["front","top","bottom"].forEach((function(n){t.indexOf("position-"+n)>-1&&(e.zposition="front");})),se.area={top:"bottom"==e.position?"75%":0,right:"left"==e.position?"75%":0,bottom:"top"==e.position?"75%":0,left:"right"==e.position?"75%":0},e.position){case "top":case "bottom":e.axis="y";break;default:e.axis="x";}switch(e.position){case "top":e.direction="Down";break;case "right":e.direction="Left";break;case "bottom":e.direction="Up";break;default:e.direction="Right";}switch(e.zposition){case "front":e.slideOutNodes=[n];break;default:e.slideOutNodes=g(document.body,".mm-slideout");}return e;};S.options.drag=Z;var me={drop:!1,fitViewport:!0,event:"click",position:{},tip:!0};var le={offset:{button:{x:-5,y:5},viewport:{x:20,y:20}},height:{max:880},width:{max:440}};S.options.dropdown=me,S.configs.dropdown=le;var de={insertMethod:"append",insertSelector:"body"};S.configs.fixedElements=de,S.configs.classNames.fixedElements={fixed:"Fixed"};var pe={use:!1,top:[],bottom:[],position:"left",type:"default"};S.options.iconbar=pe;var ue={add:!1,blockPanel:!0,hideDivider:!1,hideNavbar:!0,visible:3};S.options.iconPanels=ue;var fe={enable:!1,enhance:!1};S.options.keyboardNavigation=fe;var he=function(e){var t=this;N(document.body,"keydown.tabguard"),N(document.body,"focusin.tabguard"),C(document.body,"focusin.tabguard",(function(e){if(t.node.wrpr.matches(".mm-wrapper_opened")){var n=e.target;if(n.matches(".mm-tabend")){var i=void 0;n.parentElement.matches(".mm-menu")&&S.node.blck&&(i=S.node.blck),n.parentElement.matches(".mm-wrapper__blocker")&&(i=g(document.body,".mm-menu_offcanvas.mm-menu_opened")[0]),i||(i=n.parentElement),i&&_(i,".mm-tabstart")[0].focus();}}})),N(document.body,"keydown.navigate"),C(document.body,"keydown.navigate",(function(t){var n=t.target,i=n.closest(".mm-menu");if(i){i.mmApi;if(!n.matches("input, textarea"))switch(t.keyCode){case 13:(n.matches(".mm-toggle")||n.matches(".mm-check"))&&n.dispatchEvent(new Event("click"));break;case 32:case 37:case 38:case 39:case 40:t.preventDefault();}if(e)if(n.matches("input"))switch(t.keyCode){case 27:n.value="";}else{var s=i.mmApi;switch(t.keyCode){case 8:var a=g(i,".mm-panel_opened")[0].mmParent;a&&s.openPanel(a.closest(".mm-panel"));break;case 27:i.matches(".mm-menu_offcanvas")&&s.close();}}}}));},ve={load:!1};S.options.lazySubmenus=ve;var be=[];var ge={breadcrumbs:{separator:"/",removeFirst:!1}};function _e(){var e=this,t=this.opts.navbars;if(void 0!==t){t instanceof Array||(t=[t]);var n={};t.length&&(t.forEach((function(t){if(!(t=function(e){return "boolean"==typeof e&&e&&(e={}),"object"!=typeof e&&(e={}),void 0===e.content&&(e.content=["prev","title"]),e.content instanceof Array||(e.content=[e.content]),void 0===e.use&&(e.use=!0),"boolean"==typeof e.use&&e.use&&(e.use=!0),e;}(t)).use)return !1;var i=b("div.mm-navbar"),s=t.position;"bottom"!==s&&(s="top"),n[s]||(n[s]=b("div.mm-navbars_"+s)),n[s].append(i);for(var a=0,o=t.content.length;a"+r+"":''+r+"");}a=!1;}s=s.mmParent;}t.conf.navbars.breadcrumbs.removeFirst&&n.shift(),i.innerHTML=n.join(''+t.conf.navbars.breadcrumbs.separator+""),_(e,".mm-navbar")[0].append(i);}})),this.bind("openPanel:start",(function(e){var t=e.querySelector(".mm-navbar__breadcrumbs");n.innerHTML=t?t.innerHTML:"";})),this.bind("initNavbar:after:sr-aria",(function(e){g(e,".mm-breadcrumbs a").forEach((function(e){S.sr_aria(e,"owns",e.getAttribute("href").slice(1));}));}));},close:function(e){var t=this,n=b("a.mm-btn.mm-btn_close.mm-navbar__btn");e.append(n),this.bind("setPage:after",(function(e){n.setAttribute("href","#"+e.id);})),this.bind("setPage:after:sr-text",(function(){n.innerHTML=S.sr_text(t.i18n(t.conf.screenReader.text.closeMenu));}));},prev:function(e){var t,n,i,s=this,a=b("a.mm-btn.mm-btn_prev.mm-navbar__btn");e.append(a),this.bind("initNavbar:after",(function(e){_(e,".mm-navbar")[0].classList.add("mm-hidden");})),this.bind("openPanel:start",(function(e){e.parentElement.matches(".mm-listitem_vertical")||((t=e.querySelector("."+s.conf.classNames.navbars.panelPrev))||(t=e.querySelector(".mm-navbar__btn.mm-btn_prev")),n=t?t.getAttribute("href"):"",i=t?t.innerHTML:"",n?a.setAttribute("href",n):a.removeAttribute("href"),a.classList[n||i?"remove":"add"]("mm-hidden"),a.innerHTML=i);})),this.bind("initNavbar:after:sr-aria",(function(e){S.sr_aria(e.querySelector(".mm-navbar"),"hidden",!0);})),this.bind("openPanel:start:sr-aria",(function(e){S.sr_aria(a,"hidden",a.matches(".mm-hidden")),S.sr_aria(a,"owns",(a.getAttribute("href")||"").slice(1));}));},searchfield:function(e){"object"!=o(this.opts.searchfield)&&(this.opts.searchfield={});var t=b("div.mm-navbar__searchfield");e.append(t),this.opts.searchfield.add=!0,this.opts.searchfield.addTo=[t];},title:function(e){var t,n,i,s,a=this,o=b("a.mm-navbar__title"),r=b("span");o.append(r),e.append(o),this.bind("openPanel:start",(function(e){e.parentElement.matches(".mm-listitem_vertical")||((i=e.querySelector("."+a.conf.classNames.navbars.panelTitle))||(i=e.querySelector(".mm-navbar__title span")),(t=i&&i.closest("a")?i.closest("a").getAttribute("href"):"")?o.setAttribute("href",t):o.removeAttribute("href"),n=i?i.innerHTML:"",r.innerHTML=n);})),this.bind("openPanel:start:sr-aria",(function(e){if(a.opts.screenReader.text){if(!s)_(a.node.menu,".mm-navbars_top, .mm-navbars_bottom").forEach((function(e){var t=e.querySelector(".mm-btn_prev");t&&(s=t);}));if(s){var t=!0;"parent"==a.opts.navbar.titleLink&&(t=!s.matches(".mm-hidden")),S.sr_aria(o,"hidden",t);}}}));}},_e.navbarTypes={tabs:function(e){var t=this;e.classList.add("mm-navbar_tabs"),e.parentElement.classList.add("mm-navbars_has-tabs");var n=_(e,"a");e.addEventListener("click",(function(e){var n=e.target;if(n.matches("a"))if(n.matches(".mm-navbar__tab_selected"))e.stopImmediatePropagation();else try{t.openPanel(t.node.menu.querySelector(n.getAttribute("href")),!1),e.stopImmediatePropagation();}catch(e){}})),this.bind("openPanel:start",(function e(t){n.forEach((function(e){e.classList.remove("mm-navbar__tab_selected");}));var i=n.filter((function(e){return e.matches('[href="#'+t.id+'"]');}))[0];if(i)i.classList.add("mm-navbar__tab_selected");else{var s=t.mmParent;s&&e.call(this,s.closest(".mm-panel"));}}));}};var ye={scroll:!1,update:!1};var Le={scrollOffset:0,updateOffset:50};S.options.pageScroll=ye,S.configs.pageScroll=Le;var we={add:!1,addTo:"panels",cancel:!1,noResults:"No results found.",placeholder:"Search",panel:{add:!1,dividers:!0,fx:"none",id:null,splash:null,title:"Search"},search:!0,showTextItems:!1,showSubPanels:!0};var Ee={clear:!1,form:!1,input:!1,submit:!1},xe={Search:"جستجو","No results found.":"نتیجه‌ای یافت نشد.",cancel:"انصراف"},Pe={Search:"Suche","No results found.":"Keine Ergebnisse gefunden.",cancel:"beenden"},ke={Search:"Найти","No results found.":"Ничего не найдено.",cancel:"отменить"},Se=function(){for(var e=0,t=0,n=arguments.length;t-1&&(i.matches(".mm-listitem__btn")?s.showSubPanels&&(a=!0):(i.matches("a")||s.showTextItems)&&(a=!0)),a||e.classList.add("mm-hidden");}));var p=l.filter((function(e){return !e.matches(".mm-hidden");})).length;if(s.panel.add){var u=[];c.forEach((function(e){var t=L(g(e,".mm-listitem"));if((t=t.filter((function(e){return !e.matches(".mm-hidden");}))).length){if(s.panel.dividers){var n=b("li.mm-divider"),i=g(e,".mm-navbar__title")[0];i&&(n.innerHTML=i.innerHTML,u.push(n));}t.forEach((function(e){u.push(e.cloneNode(!0));}));}})),u.forEach((function(e){e.querySelectorAll(".mm-toggle, .mm-check").forEach((function(e){e.remove();}));})),(n=_(r,".mm-listview")[0]).append.apply(n,u),this.openPanel(r);}else s.showSubPanels&&c.forEach((function(e){L(g(e,".mm-listitem")).forEach((function(e){var t=e.mmChild;t&&g(t,".mm-listitem").forEach((function(e){e.classList.remove("mm-hidden");}));}));})),Se(c).reverse().forEach((function(t,n){var s=t.mmParent;s&&(L(g(t,".mm-listitem")).length?(s.matches(".mm-hidden")&&s.classList.remove("mm-hidden"),s.classList.add("mm-listitem_onlysubitems")):e.closest(".mm-panel")||((t.matches(".mm-panel_opened")||t.matches(".mm-panel_opened-parent"))&&setTimeout((function(){i.openPanel(s.closest(".mm-panel"));}),(n+1)*(1.5*i.conf.openingInterval)),s.classList.add("mm-listitem_nosubitems")));})),c.forEach((function(e){L(g(e,".mm-listitem")).forEach((function(e){y(e,".mm-listitem_vertical").forEach((function(e){e.matches(".mm-hidden")&&(e.classList.remove("mm-hidden"),e.classList.add("mm-listitem_onlysubitems"));}));}));})),c.forEach((function(e){L(g(e,".mm-listitem")).forEach((function(e){var t=function(e,t){for(var n=[],i=e.previousElementSibling;i;)t&&!i.matches(t)||n.push(i),i=i.previousElementSibling;return n;}(e,".mm-divider")[0];t&&t.classList.remove("mm-hidden");}));}));o.forEach((function(e){return e.classList.remove("mm-hidden");})),m.forEach((function(e){g(e,".mm-panel__noresultsmsg").forEach((function(e){return e.classList[p?"add":"remove"]("mm-hidden");}));})),s.panel.add&&(s.panel.splash&&g(r,".mm-panel__content").forEach((function(e){return e.classList.add("mm-hidden");})),l.forEach((function(e){return e.classList.remove("mm-hidden");})),d.forEach((function(e){return e.classList.remove("mm-hidden");})));}else{if(l.forEach((function(e){return e.classList.remove("mm-hidden");})),d.forEach((function(e){return e.classList.remove("mm-hidden");})),o.forEach((function(e){return e.classList.add("mm-hidden");})),m.forEach((function(e){g(e,".mm-panel__noresultsmsg").forEach((function(e){return e.classList.add("mm-hidden");}));})),s.panel.add)if(s.panel.splash)g(r,".mm-panel__content").forEach((function(e){return e.classList.remove("mm-hidden");}));else{if(!e.closest(".mm-panel_search")){var f=_(this.node.pnls,".mm-panel_opened-parent");this.openPanel(f.slice(-1)[0]);}}}this.trigger("updateListview");};var Ne={add:!1,addTo:"panels"};S.options.sectionIndexer=Ne;var He={current:!0,hover:!1,parent:!1};S.options.setSelected=He;var je={collapsed:{use:!1,blockMenu:!0,hideDivider:!1,hideNavbar:!0},expanded:{use:!1,initial:"open"}};S.options.sidebar=je;S.configs.classNames.toggles={toggle:"Toggle",check:"Check"};S.addons={offcanvas:function(){var e=this;if(this.opts.offCanvas){var t=function(e){return "object"!=typeof e&&(e={}),e;}(this.opts.offCanvas);this.opts.offCanvas=a(t,S.options.offCanvas);var n=this.conf.offCanvas;this._api.push("open","close","setPage"),this.vars.opened=!1,this.bind("initMenu:before",(function(){n.clone&&(e.node.menu=e.node.menu.cloneNode(!0),e.node.menu.id&&(e.node.menu.id="mm-"+e.node.menu.id),g(e.node.menu,"[id]").forEach((function(e){e.id="mm-"+e.id;}))),e.node.wrpr=document.body,document.querySelector(n.menu.insertSelector)[n.menu.insertMethod](e.node.menu);})),this.bind("initMenu:after",(function(){j.call(e),e.setPage(S.node.page),H.call(e),e.node.menu.classList.add("mm-menu_offcanvas");var t=window.location.hash;if(t){var n=d(e.node.menu.id);n&&n==t.slice(1)&&setTimeout((function(){e.open();}),1e3);}})),this.bind("setPage:after",(function(e){S.node.blck&&_(S.node.blck,"a").forEach((function(t){t.setAttribute("href","#"+e.id);}));})),this.bind("open:start:sr-aria",(function(){S.sr_aria(e.node.menu,"hidden",!1);})),this.bind("close:finish:sr-aria",(function(){S.sr_aria(e.node.menu,"hidden",!0);})),this.bind("initMenu:after:sr-aria",(function(){S.sr_aria(e.node.menu,"hidden",!0);})),this.bind("initBlocker:after:sr-text",(function(){_(S.node.blck,"a").forEach((function(t){t.innerHTML=S.sr_text(e.i18n(e.conf.screenReader.text.closeMenu));}));})),this.clck.push((function(t,n){var i=d(e.node.menu.id);if(i&&t.matches('[href="#'+i+'"]')){if(n.inMenu)return e.open(),!0;var s=t.closest(".mm-menu");if(s){var a=s.mmApi;if(a&&a.close)return a.close(),c(s,(function(){e.open();}),e.conf.transitionDuration),!0;}return e.open(),!0;}if((i=S.node.page.id)&&t.matches('[href="#'+i+'"]'))return e.close(),!0;}));}},screenReader:function(){var e=this,t=function(e){return "boolean"==typeof e&&(e={aria:e,text:e}),"object"!=typeof e&&(e={}),e;}(this.opts.screenReader);this.opts.screenReader=a(t,S.options.screenReader);var n=this.conf.screenReader;t.aria&&(this.bind("initAddons:after",(function(){e.bind("initMenu:after",(function(){this.trigger("initMenu:after:sr-aria",[].slice.call(arguments));})),e.bind("initNavbar:after",(function(){this.trigger("initNavbar:after:sr-aria",[].slice.call(arguments));})),e.bind("openPanel:start",(function(){this.trigger("openPanel:start:sr-aria",[].slice.call(arguments));})),e.bind("close:start",(function(){this.trigger("close:start:sr-aria",[].slice.call(arguments));})),e.bind("close:finish",(function(){this.trigger("close:finish:sr-aria",[].slice.call(arguments));})),e.bind("open:start",(function(){this.trigger("open:start:sr-aria",[].slice.call(arguments));})),e.bind("initOpened:after",(function(){this.trigger("initOpened:after:sr-aria",[].slice.call(arguments));}));})),this.bind("updateListview",(function(){e.node.pnls.querySelectorAll(".mm-listitem").forEach((function(e){S.sr_aria(e,"hidden",e.matches(".mm-hidden"));}));})),this.bind("openPanel:start",(function(t){var n=g(e.node.pnls,".mm-panel").filter((function(e){return e!==t;})).filter((function(e){return !e.parentElement.matches(".mm-panel");})),i=[t];g(t,".mm-listitem_vertical .mm-listitem_opened").forEach((function(e){i.push.apply(i,_(e,".mm-panel"));})),n.forEach((function(e){S.sr_aria(e,"hidden",!0);})),i.forEach((function(e){S.sr_aria(e,"hidden",!1);}));})),this.bind("closePanel",(function(e){S.sr_aria(e,"hidden",!0);})),this.bind("initNavbar:after",(function(e){var t=_(e,".mm-navbar")[0],n=t.matches(".mm-hidden");S.sr_aria(t,"hidden",n);})),t.text&&"parent"==this.opts.navbar.titleLink&&this.bind("initNavbar:after",(function(e){var t=_(e,".mm-navbar")[0],n=!!t.querySelector(".mm-btn_prev");S.sr_aria(g(t,".mm-navbar__title")[0],"hidden",n);}))),t.text&&(this.bind("initAddons:after",(function(){e.bind("setPage:after",(function(){this.trigger("setPage:after:sr-text",[].slice.call(arguments));})),e.bind("initBlocker:after",(function(){this.trigger("initBlocker:after:sr-text",[].slice.call(arguments));}));})),this.bind("initNavbar:after",(function(t){var i=_(t,".mm-navbar")[0];if(i){var s=_(i,".mm-btn_prev")[0];s&&(s.innerHTML=S.sr_text(e.i18n(n.text.closeSubmenu)));}})),this.bind("initListview:after",(function(t){var i=t.closest(".mm-panel").mmParent;if(i){var s=_(i,".mm-btn_next")[0];if(s){var a=e.i18n(n.text[s.parentElement.matches(".mm-listitem_vertical")?"toggleSubmenu":"openSubmenu"]);s.innerHTML+=S.sr_text(a);}}})));},scrollBugFix:function(){var e=this;if(U&&this.opts.offCanvas&&this.opts.offCanvas.blockUI){var t=function(e){return "boolean"==typeof e&&(e={fix:e}),"object"!=typeof e&&(e={}),e;}(this.opts.scrollBugFix);if(this.opts.scrollBugFix=a(t,S.options.scrollBugFix),t.fix){var n,i,s=(n=this.node.menu,i="",n.addEventListener("touchmove",(function(e){i="",e.movementY>0?i="down":e.movementY<0&&(i="up");})),{get:function(){return i;}});this.node.menu.addEventListener("scroll",o,{passive:!1}),this.node.menu.addEventListener("touchmove",(function(e){var t=e.target.closest(".mm-panel, .mm-iconbar__top, .mm-iconbar__bottom");t&&t.closest(".mm-listitem_vertical")&&(t=y(t,".mm-panel").pop()),t?(t.scrollHeight===t.offsetHeight||0==t.scrollTop&&"down"==s.get()||t.scrollHeight==t.scrollTop+t.offsetHeight&&"up"==s.get())&&o(e):o(e);}),{passive:!1}),this.bind("open:start",(function(){var t=_(e.node.pnls,".mm-panel_opened")[0];t&&(t.scrollTop=0);})),window.addEventListener("orientationchange",(function(t){var n=_(e.node.pnls,".mm-panel_opened")[0];n&&(n.scrollTop=0,n.style["-webkit-overflow-scrolling"]="auto",n.style["-webkit-overflow-scrolling"]="touch");}));}}function o(e){e.preventDefault(),e.stopPropagation();}},autoHeight:function(){var e=this,t=function(e){return "boolean"==typeof e&&e&&(e={height:"auto"}),"string"==typeof e&&(e={height:e}),"object"!=typeof e&&(e={}),e;}(this.opts.autoHeight);if(this.opts.autoHeight=a(t,S.options.autoHeight),"auto"==t.height||"highest"==t.height){var n,i=(n=function(e){return e.parentElement.matches(".mm-listitem_vertical")&&(e=y(e,".mm-panel").filter((function(e){return !e.parentElement.matches(".mm-listitem_vertical");}))[0]),e;},function(){if(!e.opts.offCanvas||e.vars.opened){var i,s,a=0,o=e.node.menu.offsetHeight-e.node.pnls.offsetHeight;e.node.menu.classList.add("mm-menu_autoheight-measuring"),"auto"==t.height?((s=_(e.node.pnls,".mm-panel_opened")[0])&&(s=n(s)),s||(s=_(e.node.pnls,".mm-panel")[0]),a=s.scrollHeight):"highest"==t.height&&(i=0,_(e.node.pnls,".mm-panel").forEach((function(e){e=n(e),i=Math.max(i,e.scrollHeight);})),a=i),e.node.menu.style.height=a+o+"px",e.node.menu.classList.remove("mm-menu_autoheight-measuring");}});this.bind("initMenu:after",(function(){e.node.menu.classList.add("mm-menu_autoheight");})),this.opts.offCanvas&&this.bind("open:start",i),"highest"==t.height&&this.bind("initPanels:after",i),"auto"==t.height&&(this.bind("updateListview",i),this.bind("openPanel:start",i));}},backButton:function(){var e=this;if(this.opts.offCanvas){var t=function(e){return "boolean"==typeof e&&(e={close:e}),"object"!=typeof e&&(e={}),e;}(this.opts.backButton);this.opts.backButton=a(t,S.options.backButton);var n="#"+this.node.menu.id;if(t.close){var i=[],s=function(){i=[n],_(e.node.pnls,".mm-panel_opened, .mm-panel_opened-parent").forEach((function(e){i.push("#"+e.id);}));};this.bind("open:finish",(function(){history.pushState(null,document.title,n);})),this.bind("open:finish",s),this.bind("openPanel:finish",s),this.bind("close:finish",(function(){i=[],history.back(),history.pushState(null,document.title,location.pathname+location.search);})),window.addEventListener("popstate",(function(t){if(e.vars.opened&&i.length){var s=(i=i.slice(0,-1))[i.length-1];s==n?e.close():(e.openPanel(e.node.menu.querySelector(s)),history.pushState(null,document.title,n));}}));}t.open&&window.addEventListener("popstate",(function(t){e.vars.opened||location.hash!=n||e.open();}));}},columns:function(){var e=this,t=function(e){return "boolean"==typeof e&&(e={add:e}),"number"==typeof e&&(e={add:!0,visible:e}),"object"!=typeof e&&(e={}),"number"==typeof e.visible&&(e.visible={min:e.visible,max:e.visible}),e;}(this.opts.columns);if(this.opts.columns=a(t,S.options.columns),t.add){t.visible.min=Math.max(1,Math.min(6,t.visible.min)),t.visible.max=Math.max(t.visible.min,Math.min(6,t.visible.max));for(var n=[],i=[],s=["mm-panel_opened","mm-panel_opened-parent","mm-panel_highest"],o=0;o<=t.visible.max;o++)n.push("mm-menu_columns-"+o),i.push("mm-panel_columns-"+o);s.push.apply(s,i),this.bind("openPanel:before",(function(t){var n;if(t&&(n=t.mmParent),n&&!n.classList.contains("mm-listitem_vertical")&&(n=n.closest(".mm-panel"))){var i=n.className;if(i.length&&(i=i.split("mm-panel_columns-")[1]))for(var a=parseInt(i.split(" ")[0],10)+1;a>0;){if(!(t=_(e.node.pnls,".mm-panel_columns-"+a)[0])){a=-1;break;}a++,t.classList.add("mm-hidden"),s.forEach((function(e){t.classList.remove(e);}));}}})),this.bind("openPanel:start",(function(s){if(s){var a=s.mmParent;if(a&&a.classList.contains("mm-listitem_vertical"))return;}var o=_(e.node.pnls,".mm-panel_opened-parent").length;s.matches(".mm-panel_opened-parent")||o++,o=Math.min(t.visible.max,Math.max(t.visible.min,o)),n.forEach((function(t){e.node.menu.classList.remove(t);})),e.node.menu.classList.add("mm-menu_columns-"+o);var r=[];_(e.node.pnls,".mm-panel").forEach((function(e){i.forEach((function(t){e.classList.remove(t);})),e.matches(".mm-panel_opened-parent")&&r.push(e);})),r.push(s),r.slice(-t.visible.max).forEach((function(e,t){e.classList.add("mm-panel_columns-"+t);}));}));}},counters:function(){var e=this,t=function(e){return "boolean"==typeof e&&(e={add:e,addTo:"panels",count:e}),"object"!=typeof e&&(e={}),"panels"==e.addTo&&(e.addTo=".mm-listview"),e;}(this.opts.counters);if(this.opts.counters=a(t,S.options.counters),this.bind("initListview:after",(function(t){var n=e.conf.classNames.counters.counter;g(t,"."+n).forEach((function(e){E(e,n,"mm-counter");}));})),t.add&&this.bind("initListview:after",(function(e){if(e.matches(t.addTo)){var n=e.closest(".mm-panel").mmParent;if(n&&!g(n,".mm-counter").length){var i=_(n,".mm-btn")[0];i&&i.prepend(b("span.mm-counter"));}}})),t.count){var n=function(t){(t?[t.closest(".mm-panel")]:_(e.node.pnls,".mm-panel")).forEach((function(e){var t=e.mmParent;if(t){var n=g(t,".mm-counter")[0];if(n){var i=[];_(e,".mm-listview").forEach((function(e){i.push.apply(i,_(e));})),n.innerHTML=L(i).length.toString();}}}));};this.bind("initListview:after",n),this.bind("updateListview",n);}},dividers:function(){var e=this,t=function(e){return "boolean"==typeof e&&(e={add:e}),"object"!=typeof e&&(e={}),"panels"==e.addTo&&(e.addTo=".mm-listview"),e;}(this.opts.dividers);this.opts.dividers=a(t,S.options.dividers),this.bind("initListview:after",(function(t){_(t).forEach((function(t){E(t,e.conf.classNames.divider,"mm-divider"),t.matches(".mm-divider")&&t.classList.remove("mm-listitem");}));})),t.add&&this.bind("initListview:after",(function(e){if(e.matches(t.addTo)){g(e,".mm-divider").forEach((function(e){e.remove();}));var n="";L(_(e)).forEach((function(t){var i=_(t,".mm-listitem__text")[0].textContent.trim().toLowerCase()[0];if(i.length&&i!=n){n=i;var s=b("li.mm-divider");s.textContent=i,e.insertBefore(s,t);}}));}}));},drag:function(){var e=this;if(this.opts.offCanvas){var t=function(e){return "boolean"==typeof e&&(e={open:e}),"object"!=typeof e&&(e={}),e;}(this.opts.drag);this.opts.drag=a(t,S.options.drag),t.open&&this.bind("setPage:after",(function(n){re.call(e,t.node||n);}));}},dropdown:function(){var e=this;if(this.opts.offCanvas){var t=function(e){return "boolean"==typeof e&&e&&(e={drop:e}),"object"!=typeof e&&(e={}),"string"==typeof e.position&&(e.position={of:e.position}),e;}(this.opts.dropdown);this.opts.dropdown=a(t,S.options.dropdown);var n=this.conf.dropdown;if(t.drop){var i;this.bind("initMenu:after",(function(){if(e.node.menu.classList.add("mm-menu_dropdown"),"string"!=typeof t.position.of){var n=d(e.node.menu.id);n&&(t.position.of='[href="#'+n+'"]');}if("string"==typeof t.position.of){i=g(document.body,t.position.of)[0];var s=t.event.split(" ");1==s.length&&(s[1]=s[0]),"hover"==s[0]&&i.addEventListener("mouseenter",(function(){e.open();}),{passive:!0}),"hover"==s[1]&&e.node.menu.addEventListener("mouseleave",(function(){e.close();}),{passive:!0});}})),this.bind("open:start",(function(){e.node.menu.mmStyle=e.node.menu.getAttribute("style"),e.node.wrpr.classList.add("mm-wrapper_dropdown");})),this.bind("close:finish",(function(){e.node.menu.setAttribute("style",e.node.menu.mmStyle),e.node.wrpr.classList.remove("mm-wrapper_dropdown");}));var s=function(e,s){var a,o,r,c=s[0],m=s[1],l="x"==e?"offsetWidth":"offsetHeight",d="x"==e?"left":"top",p="x"==e?"right":"bottom",u="x"==e?"width":"height",f="x"==e?"innerWidth":"innerHeight",h="x"==e?"maxWidth":"maxHeight",v=null,b=(a=d,i.getBoundingClientRect()[a]+document.body["left"===a?"scrollLeft":"scrollTop"]),g=b+i[l],_=window[f],y=n.offset.button[e]+n.offset.viewport[e];if(t.position[e])switch(t.position[e]){case "left":case "bottom":v="after";break;case "right":case "top":v="before";}return null===v&&(v=b+(g-b)/2<_/2?"after":"before"),"after"==v?(r=_-((o="x"==e?b:g)+y),c[d]=o+n.offset.button[e]+"px",c[p]="auto",t.tip&&m.push("mm-menu_tip-"+("x"==e?"left":"top"))):(r=(o="x"==e?g:b)-y,c[p]="calc( 100% - "+(o-n.offset.button[e])+"px )",c[d]="auto",t.tip&&m.push("mm-menu_tip-"+("x"==e?"right":"bottom"))),t.fitViewport&&(c[h]=Math.min(n[u].max,r)+"px"),[c,m];};this.bind("open:start",o),window.addEventListener("resize",(function(t){o.call(e);}),{passive:!0}),this.opts.offCanvas.blockUI||window.addEventListener("scroll",(function(t){o.call(e);}),{passive:!0});}}function o(){var e=this;if(this.vars.opened){this.node.menu.setAttribute("style",this.node.menu.mmStyle);var n=[{},[]];for(var i in n=s.call(this,"y",n),(n=s.call(this,"x",n))[0])this.node.menu.style[i]=n[0][i];if(t.tip)["mm-menu_tip-left","mm-menu_tip-right","mm-menu_tip-top","mm-menu_tip-bottom"].forEach((function(t){e.node.menu.classList.remove(t);})),n[1].forEach((function(t){e.node.menu.classList.add(t);}));}}},fixedElements:function(){var e=this;if(this.opts.offCanvas){var t,n,i=this.conf.fixedElements;this.bind("setPage:after",(function(s){t=e.conf.classNames.fixedElements.fixed,n=g(document,i.insertSelector)[0],g(s,"."+t).forEach((function(e){E(e,t,"mm-slideout"),n[i.insertMethod](e);}));}));}},iconbar:function(){var e,t=this,n=function(e){return "array"==o(e)&&(e={use:!0,top:e}),"object"!=o(e)&&(e={}),void 0===e.use&&(e.use=!0),"boolean"==typeof e.use&&e.use&&(e.use=!0),e;}(this.opts.iconbar);if((this.opts.iconbar=a(n,S.options.iconbar),n.use)&&(["top","bottom"].forEach((function(t,i){var s=n[t];"array"!=o(s)&&(s=[s]);for(var a=b("div.mm-iconbar__"+t),r=0,c=s.length;r";}));var n=b("div.mm-sectionindexer");n.innerHTML=t,e.node.pnls.prepend(n),e.node.indx=n,e.node.indx.addEventListener("click",(function(e){e.target.matches("a")&&e.preventDefault();}));var i=function(t){if(t.target.matches("a")){var n=t.target.textContent,i=_(e.node.pnls,".mm-panel_opened")[0],s=-1,a=i.scrollTop;i.scrollTop=0,g(i,".mm-divider").filter((function(e){return !e.matches(".mm-hidden");})).forEach((function(e){s<0&&n==e.textContent.trim().slice(0,1).toLowerCase()&&(s=e.offsetTop);})),i.scrollTop=s>-1?s:a;}};U?(e.node.indx.addEventListener("touchstart",i),e.node.indx.addEventListener("touchmove",i)):e.node.indx.addEventListener("mouseover",i);}e.bind("openPanel:start",(function(t){var n=g(t,".mm-divider").filter((function(e){return !e.matches(".mm-hidden");})).length;e.node.indx.classList[n?"add":"remove"]("mm-sectionindexer_active");}));}));},setSelected:function(){var e=this,t=function(e){return "boolean"==typeof e&&(e={hover:e,parent:e}),"object"!=typeof e&&(e={}),e;}(this.opts.setSelected);if(this.opts.setSelected=a(t,S.options.setSelected),"detect"==t.current){var n=function(t){t=t.split("?")[0].split("#")[0];var i=e.node.menu.querySelector('a[href="'+t+'"], a[href="'+t+'/"]');if(i)e.setSelected(i.parentElement);else{var s=t.split("/").slice(0,-1);s.length&&n(s.join("/"));}};this.bind("initMenu:after",(function(){n.call(e,window.location.href);}));}else t.current||this.bind("initListview:after",(function(e){_(e,".mm-listitem_selected").forEach((function(e){e.classList.remove("mm-listitem_selected");}));}));t.hover&&this.bind("initMenu:after",(function(){e.node.menu.classList.add("mm-menu_selected-hover");})),t.parent&&(this.bind("openPanel:finish",(function(t){g(e.node.pnls,".mm-listitem_selected-parent").forEach((function(e){e.classList.remove("mm-listitem_selected-parent");}));for(var n=t.mmParent;n;)n.matches(".mm-listitem_vertical")||n.classList.add("mm-listitem_selected-parent"),n=(n=n.closest(".mm-panel")).mmParent;})),this.bind("initMenu:after",(function(){e.node.menu.classList.add("mm-menu_selected-parent");})));},sidebar:function(){var e=this;if(this.opts.offCanvas){var t=function(e){return ("string"==typeof e||"boolean"==typeof e&&e||"number"==typeof e)&&(e={expanded:e}),"object"!=typeof e&&(e={}),"boolean"==typeof e.collapsed&&e.collapsed&&(e.collapsed={use:!0}),"string"!=typeof e.collapsed&&"number"!=typeof e.collapsed||(e.collapsed={use:e.collapsed}),"object"!=typeof e.collapsed&&(e.collapsed={}),"boolean"==typeof e.expanded&&e.expanded&&(e.expanded={use:!0}),"string"!=typeof e.expanded&&"number"!=typeof e.expanded||(e.expanded={use:e.expanded}),"object"!=typeof e.expanded&&(e.expanded={}),e;}(this.opts.sidebar);if(this.opts.sidebar=a(t,S.options.sidebar),t.collapsed.use){this.bind("initMenu:after",(function(){if(e.node.menu.classList.add("mm-menu_sidebar-collapsed"),t.collapsed.blockMenu&&e.opts.offCanvas&&!_(e.node.menu,".mm-menu__blocker")[0]){var n=b("a.mm-menu__blocker");n.setAttribute("href","#"+e.node.menu.id),e.node.menu.prepend(n);}t.collapsed.hideNavbar&&e.node.menu.classList.add("mm-menu_hidenavbar"),t.collapsed.hideDivider&&e.node.menu.classList.add("mm-menu_hidedivider");}));var n=function(){e.node.wrpr.classList.add("mm-wrapper_sidebar-collapsed");},i=function(){e.node.wrpr.classList.remove("mm-wrapper_sidebar-collapsed");};"boolean"==typeof t.collapsed.use?this.bind("initMenu:after",n):P(t.collapsed.use,n,i);}if(t.expanded.use){this.bind("initMenu:after",(function(){e.node.menu.classList.add("mm-menu_sidebar-expanded");}));n=function(){e.node.wrpr.classList.add("mm-wrapper_sidebar-expanded"),e.node.wrpr.matches(".mm-wrapper_sidebar-closed")||e.open();},i=function(){e.node.wrpr.classList.remove("mm-wrapper_sidebar-expanded"),e.close();};"boolean"==typeof t.expanded.use?this.bind("initMenu:after",n):P(t.expanded.use,n,i),this.bind("close:start",(function(){e.node.wrpr.matches(".mm-wrapper_sidebar-expanded")&&(e.node.wrpr.classList.add("mm-wrapper_sidebar-closed"),"remember"==t.expanded.initial&&window.localStorage.setItem("mmenuExpandedState","closed"));})),this.bind("open:start",(function(){e.node.wrpr.matches(".mm-wrapper_sidebar-expanded")&&(e.node.wrpr.classList.remove("mm-wrapper_sidebar-closed"),"remember"==t.expanded.initial&&window.localStorage.setItem("mmenuExpandedState","open"));}));var s=t.expanded.initial;if("remember"==t.expanded.initial){var o=window.localStorage.getItem("mmenuExpandedState");switch(o){case "open":case "closed":s=o;}}"closed"==s&&this.bind("initMenu:after",(function(){e.node.wrpr.classList.add("mm-wrapper_sidebar-closed");})),this.clck.push((function(n,i){if(i.inMenu&&i.inListview&&e.node.wrpr.matches(".mm-wrapper_sidebar-expanded"))return {close:"closed"==t.expanded.initial};}));}}},toggles:function(){var e=this;this.bind("initPanel:after",(function(t){g(t,"input").forEach((function(t){E(t,e.conf.classNames.toggles.toggle,"mm-toggle"),E(t,e.conf.classNames.toggles.check,"mm-check");}));}));}},S.wrappers={angular:function(){this.opts.onClick={close:!0,preventDefault:!1,setSelected:!0};},bootstrap:function(){var e=this;if(this.node.menu.matches(".navbar-collapse")){this.conf.offCanvas&&(this.conf.offCanvas.clone=!1);var t=b("nav"),n=b("div");t.append(n),_(this.node.menu).forEach((function(t){switch(!0){case t.matches(".navbar-nav"):n.append(function(e){var t=b("ul");return g(e,".nav-item").forEach((function(e){var n=b("li");if(e.matches(".active")&&n.classList.add("Selected"),!e.matches(".nav-link")){var i=_(e,".dropdown-menu")[0];i&&n.append(o(i)),e=_(e,".nav-link")[0];}n.prepend(a(e)),t.append(n);})),t;}(t));break;case t.matches(".dropdown-menu"):n.append(o(t));break;case t.matches(".form-inline"):e.conf.searchfield.form={action:t.getAttribute("action")||null,method:t.getAttribute("method")||null},e.conf.searchfield.input={name:t.querySelector("input").getAttribute("name")||null},e.conf.searchfield.clear=!1,e.conf.searchfield.submit=!0;break;default:n.append(t.cloneNode(!0));}})),this.bind("initMenu:before",(function(){document.body.prepend(t),e.node.menu=t;}));var i=this.node.menu.parentElement;if(i){var s=i.querySelector(".navbar-toggler");s&&(s.removeAttribute("data-target"),s.removeAttribute("aria-controls"),s.outerHTML=s.outerHTML,(s=i.querySelector(".navbar-toggler")).addEventListener("click",(function(t){t.preventDefault(),t.stopImmediatePropagation(),e[e.vars.opened?"close":"open"]();})));}}function a(e){for(var t=b(e.matches("a")?"a":"span"),n=["href","title","target"],i=0;i-1,this.superfish("hide"),this.parents("."+b.hoverClass).length||(b.onIdle.call(k(this)),b.$path.length&&a.proxy(m,b.$path)());},o=function(){var b=a(this),c=l(b);d?a.proxy(n,b,c)():(clearTimeout(c.sfTimer),c.sfTimer=setTimeout(a.proxy(n,b,c),c.delay));},p=function(b){var c=a(this),d=l(c),e=c.siblings(b.data.popUpSelector);return d.onHandleTouch.call(e)===!1?this:void (e.length>0&&e.is(":hidden")&&(c.one("click.superfish",!1),"MSPointerDown"===b.type||"pointerdown"===b.type?c.trigger("focus"):a.proxy(m,c.parent("li"))()));},q=function(b,c){var g="li:has("+c.popUpSelector+")";a.fn.hoverIntent&&!c.disableHI?b.hoverIntent(m,o,g):b.on("mouseenter.superfish",g,m).on("mouseleave.superfish",g,o);var h="MSPointerDown.superfish";f&&(h="pointerdown.superfish"),d||(h+=" touchend.superfish"),e&&(h+=" mousedown.superfish"),b.on("focusin.superfish","li",m).on("focusout.superfish","li",o).on(h,"a",c,p);};return {hide:function(b){if(this.length){var c=this,d=l(c);if(!d)return this;var e=d.retainPath===!0?d.$path:"",f=c.find("li."+d.hoverClass).add(this).not(e).removeClass(d.hoverClass).children(d.popUpSelector),g=d.speedOut;if(b&&(f.show(),g=0),d.retainPath=!1,d.onBeforeHide.call(f)===!1)return this;f.stop(!0,!0).animate(d.animationOut,g,function(){var b=a(this);d.onHide.call(b);});}return this;},show:function(){var a=l(this);if(!a)return this;var b=this.addClass(a.hoverClass),c=b.children(a.popUpSelector);return a.onBeforeShow.call(c)===!1?this:(c.stop(!0,!0).animate(a.animation,a.speed,function(){a.onShow.call(c);}),this);},destroy:function(){return this.each(function(){var b,d=a(this),e=d.data("sfOptions");return !!e&&(b=d.find(e.popUpSelector).parent("li"),clearTimeout(e.sfTimer),g(d,e),i(b),j(d),d.off(".superfish").off(".hoverIntent"),b.children(e.popUpSelector).attr("style",function(a,b){if("undefined"!=typeof b)return b.replace(/display[^;]+;?/g,"");}),e.$path.removeClass(e.hoverClass+" "+c.bcClass).addClass(e.pathClass),d.find("."+e.hoverClass).removeClass(e.hoverClass),e.onDestroy.call(d),void d.removeData("sfOptions"));});},init:function(b){return this.each(function(){var d=a(this);if(d.data("sfOptions"))return !1;var e=a.extend({},a.fn.superfish.defaults,b),f=d.find(e.popUpSelector).parent("li");e.$path=h(d,e),d.data("sfOptions",e),g(d,e,!0),i(f,!0),j(d),q(d,e),f.not("."+c.bcClass).superfish("hide",!0),e.onInit.call(this);});}};}();a.fn.superfish=function(b,d){return c[b]?c[b].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof b&&b?a.error("Method "+b+" does not exist on jQuery.fn.superfish"):c.init.apply(this,arguments);},a.fn.superfish.defaults={popUpSelector:"ul,.sf-mega",hoverClass:"sfHover",pathClass:"overrideThisToUse",pathLevels:1,delay:800,animation:{opacity:"show"},animationOut:{opacity:"hide"},speed:"normal",speedOut:"fast",cssArrows:!0,disableHI:!1,onInit:a.noop,onBeforeShow:a.noop,onShow:a.noop,onBeforeHide:a.noop,onHide:a.noop,onIdle:a.noop,onDestroy:a.noop,onHandleTouch:a.noop};}(jQuery,window);; (function($,once){'use strict';Drupal.behaviors.responsive_menu_optional={attach:function(context,settings){$(once('responsive-menu-optional','body',context)).each(function(){if($.fn.superfish&&drupalSettings.responsive_menu.superfish.active){var superfishDelay=drupalSettings.responsive_menu.superfish.delay,superfishSpeed=drupalSettings.responsive_menu.superfish.speed,superfishSpeedOut=drupalSettings.responsive_menu.superfish.speedOut;$('#horizontal-menu').superfish({delay:parseInt(superfishDelay,10),speed:parseInt(superfishSpeed,10),speedOut:parseInt(superfishSpeedOut,10)}).addClass('sf-menu');}});}};})(jQuery,once);; (function($){$.fn.hoverIntent=function(handlerIn,handlerOut,selector){var cfg={interval:100,sensitivity:7,timeout:0};if(typeof handlerIn==="object")cfg=$.extend(cfg,handlerIn);else if($.isFunction(handlerOut))cfg=$.extend(cfg,{over:handlerIn,out:handlerOut,selector});else cfg=$.extend(cfg,{over:handlerIn,out:handlerIn,selector:handlerOut});var cX,cY,pX,pY;var track=function(ev){cX=ev.pageX;cY=ev.pageY;};var compare=function(ev,ob){ob.hoverIntent_t=clearTimeout(ob.hoverIntent_t);if((Math.abs(pX-cX)+Math.abs(pY-cY))