var _____WB$wombat$assign$function_____=function(name){return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name))||self[name];};if(!self.__WB_pmw){self.__WB_pmw=function(obj){this.__WB_source=obj;return this;}}{
let window = _____WB$wombat$assign$function_____("window");
let self = _____WB$wombat$assign$function_____("self");
let document = _____WB$wombat$assign$function_____("document");
let location = _____WB$wombat$assign$function_____("location");
let top = _____WB$wombat$assign$function_____("top");
let parent = _____WB$wombat$assign$function_____("parent");
let frames = _____WB$wombat$assign$function_____("frames");
let opens = _____WB$wombat$assign$function_____("opens");
/*! For license information please see main.js.LICENSE.txt */
!function(){var t={358:function(t){t.exports=function(){"use strict";const t={HIDE:"hide.onoffcanvas",SHOW:"show.onoffcanvas"},n="is-open",e='[data-toggle="onoffcanvas"]',i={createDrawer:!0,hideByEsc:!0};function r(t){const n=[];return t.forEach((t=>{const e=function(t){let n=t.getAttribute("data-target");n&&"#"!==n||(n=t.getAttribute("href")||"");try{return document.querySelectorAll(n).length>0?n:null}catch(t){throw new Error("Target Not Found!")}}(t);n.push(e)})),n}class o{constructor(t,n){this.element=function(t){return Boolean(t.classList)}(t)?t:document.querySelector(t),this.config=Object.assign(Object.assign({},i),n),this.triggerElements=Array.from(document.querySelectorAll(`${e}[href="#${this.element.id}"],\n      ${e}[data-target="#${this.element.id}"]`)),this.addAriaExpanded(this.triggerElements),this.triggerElements.forEach((t=>{t.addEventListener("click",(t=>{const n=t.target;n&&"A"===n.tagName&&t.preventDefault(),this.toggle()}))})),this.drawer=document.createElement("div"),this.drawer.classList.add("onoffcanvas-drawer")}static attachTo(t,n){return new o(t,n)}static autoinit(t=i){const n=r([...document.querySelectorAll(`${e}`)]);[...new Set(n)].forEach((n=>{o.attachTo(n,t)}))}on(t,n){return this.listen(t,n),this}toggle(){this.element.classList.contains(n)?this.hide():this.show()}show(){this.element.classList.contains(n)||(this.element.classList.add(n),this.addAriaExpanded(this.triggerElements),this.emit(t.SHOW,this.element),this.config.createDrawer&&(document.documentElement.appendChild(this.drawer),this.drawer.classList.add("is-open"),this.drawer.addEventListener("click",this.hide.bind(this))),this.config.hideByEsc&&window.addEventListener("keydown",(t=>{"Escape"===t.key&&this.hide()})))}hide(){this.element.classList.contains(n)&&(this.config.createDrawer&&(this.drawer.classList.remove("is-open"),this.drawer.removeEventListener("click",this.hide.bind(this)),document.documentElement.removeChild(this.drawer)),this.element.classList.remove(n),this.addAriaExpanded(this.triggerElements),this.emit(t.HIDE,this.element))}listen(t,n){return this.element.addEventListener(t,n,!1),this}emit(t,n,e=!1){const i=new CustomEvent(t,{detail:n,bubbles:e});return this.element.dispatchEvent(i),this}addAriaExpanded(t){const e=this.element.classList.contains(n);t.forEach((t=>{t.setAttribute("aria-expanded",e.toString())}))}}return o}()}},n={};function e(i){var r=n[i];if(void 0!==r)return r.exports;var o=n[i]={exports:{}};return t[i].call(o.exports,o,o.exports,e),o.exports}e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,{a:n}),n},e.d=function(t,n){for(var i in n)e.o(n,i)&&!e.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:n[i]})},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},function(){"use strict";var t=e(358),n=e.n(t);function i(t,n){for(var e=0;e<n.length;e++){var i=n[e];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var r="(prefers-reduced-motion: reduce)",o=4,u=5,s={CREATED:1,MOUNTED:2,IDLE:3,MOVING:o,SCROLLING:u,DRAGGING:6,DESTROYED:7};function a(t){t.length=0}function c(t,n,e){return Array.prototype.slice.call(t,n,e)}function l(t){return t.bind.apply(t,[null].concat(c(arguments,1)))}var d=setTimeout,f=function(){};function v(t){return requestAnimationFrame(t)}function h(t,n){return typeof n===t}function p(t){return!w(t)&&h("object",t)}var g=Array.isArray,m=l(h,"function"),y=l(h,"string"),b=l(h,"undefined");function w(t){return null===t}function E(t){try{return t instanceof(t.ownerDocument.defaultView||window).HTMLElement}catch(t){return!1}}function S(t){return g(t)?t:[t]}function L(t,n){S(t).forEach(n)}function x(t,n){return t.indexOf(n)>-1}function k(t,n){return t.push.apply(t,S(n)),t}function A(t,n,e){t&&L(n,(function(n){n&&t.classList[e?"add":"remove"](n)}))}function C(t,n){A(t,y(n)?n.split(" "):n,!0)}function P(t,n){L(n,t.appendChild.bind(t))}function D(t,n){L(t,(function(t){var e=(n||t).parentNode;e&&e.insertBefore(t,n)}))}function _(t,n){return E(t)&&(t.msMatchesSelector||t.matches).call(t,n)}function M(t,n){var e=t?c(t.children):[];return n?e.filter((function(t){return _(t,n)})):e}function O(t,n){return n?M(t,n)[0]:t.firstElementChild}var T=Object.keys;function z(t,n,e){return t&&(e?T(t).reverse():T(t)).forEach((function(e){"__proto__"!==e&&n(t[e],e)})),t}function N(t){return c(arguments,1).forEach((function(n){z(n,(function(e,i){t[i]=n[i]}))})),t}function I(t){return c(arguments,1).forEach((function(n){z(n,(function(n,e){g(n)?t[e]=n.slice():p(n)?t[e]=I({},p(t[e])?t[e]:{},n):t[e]=n}))})),t}function q(t,n){L(n||T(t),(function(n){delete t[n]}))}function j(t,n){L(t,(function(t){L(n,(function(n){t&&t.removeAttribute(n)}))}))}function F(t,n,e){p(n)?z(n,(function(n,e){F(t,e,n)})):L(t,(function(t){w(e)||""===e?j(t,n):t.setAttribute(n,String(e))}))}function R(t,n,e){var i=document.createElement(t);return n&&(y(n)?C(i,n):F(i,n)),e&&P(e,i),i}function W(t,n,e){if(b(e))return getComputedStyle(t)[n];w(e)||(t.style[n]=""+e)}function B(t,n){W(t,"display",n)}function H(t){t.setActive&&t.setActive()||t.focus({preventScroll:!0})}function X(t,n){return t.getAttribute(n)}function G(t,n){return t&&t.classList.contains(n)}function U(t){return t.getBoundingClientRect()}function Y(t){L(t,(function(t){t&&t.parentNode&&t.parentNode.removeChild(t)}))}function $(t){return O((new DOMParser).parseFromString(t,"text/html").body)}function K(t,n){t.preventDefault(),n&&(t.stopPropagation(),t.stopImmediatePropagation())}function J(t,n){return t&&t.querySelector(n)}function V(t,n){return n?c(t.querySelectorAll(n)):[]}function Q(t,n){A(t,n,!1)}function Z(t){return t.timeStamp}function tt(t){return y(t)?t:t?t+"px":""}var nt="splide",et="data-"+nt;function it(t,n){if(!t)throw new Error("["+nt+"] "+(n||""))}var rt=Math.min,ot=Math.max,ut=Math.floor,st=Math.ceil,at=Math.abs;function ct(t,n,e){return at(t-n)<e}function lt(t,n,e,i){var r=rt(n,e),o=ot(n,e);return i?r<t&&t<o:r<=t&&t<=o}function dt(t,n,e){var i=rt(n,e),r=ot(n,e);return rt(ot(i,t),r)}function ft(t){return+(t>0)-+(t<0)}function vt(t,n){return L(n,(function(n){t=t.replace("%s",""+n)})),t}function ht(t){return t<10?"0"+t:""+t}var pt={};function gt(t){return""+t+ht(pt[t]=(pt[t]||0)+1)}function mt(){var t=[];function n(t,n,e){L(t,(function(t){t&&L(n,(function(n){n.split(" ").forEach((function(n){var i=n.split(".");e(t,i[0],i[1])}))}))}))}return{bind:function(e,i,r,o){n(e,i,(function(n,e,i){var u="addEventListener"in n,s=u?n.removeEventListener.bind(n,e,r,o):n.removeListener.bind(n,r);u?n.addEventListener(e,r,o):n.addListener(r),t.push([n,e,i,r,s])}))},unbind:function(e,i,r){n(e,i,(function(n,e,i){t=t.filter((function(t){return!!(t[0]!==n||t[1]!==e||t[2]!==i||r&&t[3]!==r)||(t[4](),!1)}))}))},dispatch:function(t,n,e){var i,r=!0;return"function"==typeof CustomEvent?i=new CustomEvent(n,{bubbles:r,detail:e}):(i=document.createEvent("CustomEvent")).initCustomEvent(n,r,!1,e),t.dispatchEvent(i),i},destroy:function(){t.forEach((function(t){t[4]()})),a(t)}}}var yt="mounted",bt="ready",wt="move",Et="moved",St="click",Lt="active",xt="inactive",kt="visible",At="hidden",Ct="refresh",Pt="updated",Dt="resize",_t="resized",Mt="scroll",Ot="scrolled",Tt="destroy",zt="arrows:mounted",Nt="navigation:mounted",It="autoplay:play",qt="autoplay:pause",jt="lazyload:loaded",Ft="sk",Rt="sh",Wt="ei";function Bt(t){var n=t?t.event.bus:document.createDocumentFragment(),e=mt();return t&&t.event.on(Tt,e.destroy),N(e,{bus:n,on:function(t,i){e.bind(n,S(t).join(" "),(function(t){i.apply(i,g(t.detail)?t.detail:[])}))},off:l(e.unbind,n),emit:function(t){e.dispatch(n,t,c(arguments,1))}})}function Ht(t,n,e,i){var r,o,u=Date.now,s=0,a=!0,c=0;function l(){if(!a){if(s=t?rt((u()-r)/t,1):1,e&&e(s),s>=1&&(n(),r=u(),i&&++c>=i))return d();o=v(l)}}function d(){a=!0}function f(){o&&cancelAnimationFrame(o),s=0,o=0,a=!0}return{start:function(n){n||f(),r=u()-(n?s*t:0),a=!1,o=v(l)},rewind:function(){r=u(),s=0,e&&e(s)},pause:d,cancel:f,set:function(n){t=n},isPaused:function(){return a}}}var Xt="Arrow",Gt=Xt+"Left",Ut=Xt+"Right",Yt=Xt+"Up",$t=Xt+"Down",Kt="ttb",Jt={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:[Yt,Ut],ArrowRight:[$t,Gt]};function Vt(t,n,e){return{resolve:function(t,n,i){var r="rtl"!==(i=i||e.direction)||n?i===Kt?0:-1:1;return Jt[t]&&Jt[t][r]||t.replace(/width|left|right/i,(function(t,n){var e=Jt[t.toLowerCase()][r]||t;return n>0?e.charAt(0).toUpperCase()+e.slice(1):e}))},orient:function(t){return t*("rtl"===e.direction?1:-1)}}}var Qt="role",Zt="tabindex",tn="aria-",nn=tn+"controls",en=tn+"current",rn=tn+"selected",on=tn+"label",un=tn+"labelledby",sn=tn+"hidden",an=tn+"orientation",cn=tn+"roledescription",ln=tn+"live",dn=tn+"busy",fn=tn+"atomic",vn=[Qt,Zt,"disabled",nn,en,on,un,sn,an,cn],hn=nt+"__",pn="is-",gn=nt,mn=hn+"track",yn=hn+"list",bn=hn+"slide",wn=bn+"--clone",En=bn+"__container",Sn=hn+"arrows",Ln=hn+"arrow",xn=Ln+"--prev",kn=Ln+"--next",An=hn+"pagination",Cn=An+"__page",Pn=hn+"progress"+"__bar",Dn=hn+"toggle",_n=hn+"sr",Mn=pn+"initialized",On=pn+"active",Tn=pn+"prev",zn=pn+"next",Nn=pn+"visible",In=pn+"loading",qn=pn+"focus-in",jn=pn+"overflow",Fn=[On,Nn,Tn,zn,In,qn,jn],Rn={slide:bn,clone:wn,arrows:Sn,arrow:Ln,prev:xn,next:kn,pagination:An,page:Cn,spinner:hn+"spinner"};var Wn="touchstart mousedown",Bn="touchmove mousemove",Hn="touchend touchcancel mouseup click";var Xn="slide",Gn="loop",Un="fade";function Yn(t,n,e,i){var r,s=Bt(t),a=s.on,c=s.emit,d=s.bind,f=t.Components,v=t.root,h=t.options,p=h.isNavigation,g=h.updateOnMove,m=h.i18n,y=h.pagination,b=h.slideFocus,w=f.Direction.resolve,E=X(i,"style"),S=X(i,on),L=e>-1,x=O(i,"."+En);function k(){var r=t.splides.map((function(t){var e=t.splide.Components.Slides.getAt(n);return e?e.slide.id:""})).join(" ");F(i,on,vt(m.slideX,(L?e:n)+1)),F(i,nn,r),F(i,Qt,b?"button":""),b&&j(i,cn)}function C(){r||P()}function P(){if(!r){var e=t.index;(s=D())!==G(i,On)&&(A(i,On,s),F(i,en,p&&s||""),c(s?Lt:xt,_)),function(){var n=function(){if(t.is(Un))return D();var n=U(f.Elements.track),e=U(i),r=w("left",!0),o=w("right",!0);return ut(n[r])<=st(e[r])&&ut(e[o])<=st(n[o])}(),e=!n&&(!D()||L);t.state.is([o,u])||F(i,sn,e||"");F(V(i,h.focusableNodes||""),Zt,e?-1:""),b&&F(i,Zt,e?-1:0);n!==G(i,Nn)&&(A(i,Nn,n),c(n?kt:At,_));if(!n&&document.activeElement===i){var r=f.Slides.getAt(t.index);r&&H(r.slide)}}(),A(i,Tn,n===e-1),A(i,zn,n===e+1)}var s}function D(){var i=t.index;return i===n||h.cloneStatus&&i===e}var _={index:n,slideIndex:e,slide:i,container:x,isClone:L,mount:function(){L||(i.id=v.id+"-slide"+ht(n+1),F(i,Qt,y?"tabpanel":"group"),F(i,cn,m.slide),F(i,on,S||vt(m.slideLabel,[n+1,t.length]))),d(i,"click",l(c,St,_)),d(i,"keydown",l(c,Ft,_)),a([Et,Rt,Ot],P),a(Nt,k),g&&a(wt,C)},destroy:function(){r=!0,s.destroy(),Q(i,Fn),j(i,vn),F(i,"style",E),F(i,on,S||"")},update:P,style:function(t,n,e){W(e&&x||i,t,n)},isWithin:function(e,i){var r=at(e-n);return L||!h.rewind&&!t.is(Gn)||(r=rt(r,t.length-r)),r<=i}};return _}var $n="http://www.w3.org/2000/svg",Kn="m15.5 0.932-4.3 4.38 14.5 14.6-14.5 14.5 4.3 4.4 14.6-14.6 4.4-4.3-4.4-4.4-14.6-14.6z";var Jn=et+"-interval";var Vn={passive:!1,capture:!0};var Qn={Spacebar:" ",Right:Ut,Left:Gt,Up:Yt,Down:$t};function Zn(t){return t=y(t)?t:t.key,Qn[t]||t}var te="keydown";var ne=et+"-lazy",ee=ne+"-srcset",ie="["+ne+"], ["+ee+"]";var re=[" ","Enter"];var oe=Object.freeze({__proto__:null,Media:function(t,n,e){var i=t.state,o=e.breakpoints||{},u=e.reducedMotion||{},s=mt(),a=[];function c(t){t&&s.destroy()}function l(t,n){var e=matchMedia(n);s.bind(e,"change",d),a.push([t,e])}function d(){var n=i.is(7),r=e.direction,o=a.reduce((function(t,n){return I(t,n[1].matches?n[0]:{})}),{});q(e),f(o),e.destroy?t.destroy("completely"===e.destroy):n?(c(!0),t.mount()):r!==e.direction&&t.refresh()}function f(n,r,o){I(e,n),r&&I(Object.getPrototypeOf(e),n),!o&&i.is(1)||t.emit(Pt,e)}return{setup:function(){var t="min"===e.mediaQuery;T(o).sort((function(n,e){return t?+n-+e:+e-+n})).forEach((function(n){l(o[n],"("+(t?"min":"max")+"-width:"+n+"px)")})),l(u,r),d()},destroy:c,reduce:function(t){matchMedia(r).matches&&(t?I(e,u):q(e,T(u)))},set:f}},Direction:Vt,Elements:function(t,n,e){var i,r,o,u=Bt(t),s=u.on,c=u.bind,l=t.root,d=e.i18n,f={},v=[],h=[],p=[];function g(){i=w("."+mn),r=O(i,"."+yn),it(i&&r,"A track/list element is missing."),k(v,M(r,"."+bn+":not(."+wn+")")),z({arrows:Sn,pagination:An,prev:xn,next:kn,bar:Pn,toggle:Dn},(function(t,n){f[n]=w("."+t)})),N(f,{root:l,track:i,list:r,slides:v}),function(){var t=l.id||gt(nt),n=e.role;l.id=t,i.id=i.id||t+"-track",r.id=r.id||t+"-list",!X(l,Qt)&&"SECTION"!==l.tagName&&n&&F(l,Qt,n);F(l,cn,d.carousel),F(r,Qt,"presentation")}(),b()}function y(t){var n=vn.concat("style");a(v),Q(l,h),Q(i,p),j([i,r],n),j(l,t?n:["style",cn])}function b(){Q(l,h),Q(i,p),h=E(gn),p=E(mn),C(l,h),C(i,p),F(l,on,e.label),F(l,un,e.labelledby)}function w(t){var n=J(l,t);return n&&function(t,n){if(m(t.closest))return t.closest(n);for(var e=t;e&&1===e.nodeType&&!_(e,n);)e=e.parentElement;return e}(n,"."+gn)===l?n:void 0}function E(t){return[t+"--"+e.type,t+"--"+e.direction,e.drag&&t+"--draggable",e.isNavigation&&t+"--nav",t===gn&&On]}return N(f,{setup:g,mount:function(){s(Ct,y),s(Ct,g),s(Pt,b),c(document,Wn+" keydown",(function(t){o="keydown"===t.type}),{capture:!0}),c(l,"focusin",(function(){A(l,qn,!!o)}))},destroy:y})},Slides:function(t,n,e){var i=Bt(t),r=i.on,o=i.emit,u=i.bind,s=n.Elements,c=s.slides,d=s.list,f=[];function v(){c.forEach((function(t,n){p(t,n,-1)}))}function h(){b((function(t){t.destroy()})),a(f)}function p(n,e,i){var r=Yn(t,e,i,n);r.mount(),f.push(r),f.sort((function(t,n){return t.index-n.index}))}function g(t){return t?w((function(t){return!t.isClone})):f}function b(t,n){g(n).forEach(t)}function w(t){return f.filter(m(t)?t:function(n){return y(t)?_(n.slide,t):x(S(t),n.index)})}return{mount:function(){v(),r(Ct,h),r(Ct,v)},destroy:h,update:function(){b((function(t){t.update()}))},register:p,get:g,getIn:function(t){var i=n.Controller,r=i.toIndex(t),o=i.hasFocus()?1:e.perPage;return w((function(t){return lt(t.index,r,r+o-1)}))},getAt:function(t){return w(t)[0]},add:function(t,n){L(t,(function(t){if(y(t)&&(t=$(t)),E(t)){var i=c[n];i?D(t,i):P(d,t),C(t,e.classes.slide),r=t,s=l(o,Dt),a=V(r,"img"),(f=a.length)?a.forEach((function(t){u(t,"load error",(function(){--f||s()}))})):s()}var r,s,a,f})),o(Ct)},remove:function(t){Y(w(t).map((function(t){return t.slide}))),o(Ct)},forEach:b,filter:w,style:function(t,n,e){b((function(i){i.style(t,n,e)}))},getLength:function(t){return t?c.length:f.length},isEnough:function(){return f.length>e.perPage}}},Layout:function(t,n,e){var i,r,o,u=Bt(t),s=u.on,a=u.bind,c=u.emit,d=n.Slides,f=n.Direction.resolve,v=n.Elements,h=v.root,g=v.track,m=v.list,y=d.getAt,b=d.style;function w(){i=e.direction===Kt,W(h,"maxWidth",tt(e.width)),W(g,f("paddingLeft"),S(!1)),W(g,f("paddingRight"),S(!0)),E(!0)}function E(t){var n=U(h);(t||r.width!==n.width||r.height!==n.height)&&(W(g,"height",function(){var t="";i&&(it(t=L(),"height or heightRatio is missing."),t="calc("+t+" - "+S(!1)+" - "+S(!0)+")");return t}()),b(f("marginRight"),tt(e.gap)),b("width",e.autoWidth?null:tt(e.fixedWidth)||(i?"":x())),b("height",tt(e.fixedHeight)||(i?e.autoHeight?null:x():L()),!0),r=n,c(_t),o!==(o=M())&&(A(h,jn,o),c("overflow",o)))}function S(t){var n=e.padding,i=f(t?"right":"left");return n&&tt(n[i]||(p(n)?0:n))||"0px"}function L(){return tt(e.height||U(m).width*e.heightRatio)}function x(){var t=tt(e.gap);return"calc((100%"+(t&&" + "+t)+")/"+(e.perPage||1)+(t&&" - "+t)+")"}function k(){return U(m)[f("width")]}function C(t,n){var e=y(t||0);return e?U(e.slide)[f("width")]+(n?0:_()):0}function P(t,n){var e=y(t);if(e){var i=U(e.slide)[f("right")],r=U(m)[f("left")];return at(i-r)+(n?0:_())}return 0}function D(n){return P(t.length-1)-P(0)+C(0,n)}function _(){var t=y(0);return t&&parseFloat(W(t.slide,f("marginRight")))||0}function M(){return t.is(Un)||D(!0)>k()}return{mount:function(){var t,n,e;w(),a(window,"resize load",(t=l(c,Dt),e=Ht(n||0,t,null,1),function(){e.isPaused()&&e.start()})),s([Pt,Ct],w),s(Dt,E)},resize:E,listSize:k,slideSize:C,sliderSize:D,totalSize:P,getPadding:function(t){return parseFloat(W(g,f("padding"+(t?"Right":"Left"))))||0},isOverflow:M}},Clones:function(t,n,e){var i,r=Bt(t),o=r.on,u=n.Elements,s=n.Slides,c=n.Direction.resolve,l=[];function d(){o(Ct,f),o([Pt,Dt],h),(i=p())&&(!function(n){var i=s.get().slice(),r=i.length;if(r){for(;i.length<n;)k(i,i);k(i.slice(-n),i.slice(0,n)).forEach((function(o,a){var c=a<n,d=function(n,i){var r=n.cloneNode(!0);return C(r,e.classes.clone),r.id=t.root.id+"-clone"+ht(i+1),r}(o.slide,a);c?D(d,i[0].slide):P(u.list,d),k(l,d),s.register(d,a-n+(c?0:r),o.index)}))}}(i),n.Layout.resize(!0))}function f(){v(),d()}function v(){Y(l),a(l),r.destroy()}function h(){var t=p();i!==t&&(i<t||!t)&&r.emit(Ct)}function p(){var i=e.clones;if(t.is(Gn)){if(b(i)){var r=e[c("fixedWidth")]&&n.Layout.slideSize(0);i=r&&st(U(u.track)[c("width")]/r)||e[c("autoWidth")]&&t.length||2*e.perPage}}else i=0;return i}return{mount:d,destroy:v}},Move:function(t,n,e){var i,r=Bt(t),u=r.on,s=r.emit,a=t.state.set,c=n.Layout,l=c.slideSize,d=c.getPadding,f=c.totalSize,v=c.listSize,h=c.sliderSize,p=n.Direction,g=p.resolve,m=p.orient,y=n.Elements,w=y.list,E=y.track;function S(){n.Controller.isBusy()||(n.Scroll.cancel(),L(t.index),n.Slides.update())}function L(t){x(P(t,!0))}function x(e,i){if(!t.is(Un)){var r=i?e:function(e){if(t.is(Gn)){var i=C(e),r=i>n.Controller.getEnd();(i<0||r)&&(e=k(e,r))}return e}(e);W(w,"transform","translate"+g("X")+"("+r+"px)"),e!==r&&s(Rt)}}function k(t,n){var e=t-_(n),i=h();return t-=m(i*(st(at(e)/i)||1))*(n?1:-1)}function A(){x(D(),!0),i.cancel()}function C(t){for(var e=n.Slides.get(),i=0,r=1/0,o=0;o<e.length;o++){var u=e[o].index,s=at(P(u,!0)-t);if(!(s<=r))break;r=s,i=u}return i}function P(n,i){var r=m(f(n-1)-function(t){var n=e.focus;return"center"===n?(v()-l(t,!0))/2:+n*l(t)||0}(n));return i?function(n){e.trimSpace&&t.is(Xn)&&(n=dt(n,0,m(h(!0)-v())));return n}(r):r}function D(){var t=g("left");return U(w)[t]-U(E)[t]+m(d(!1))}function _(t){return P(t?n.Controller.getEnd():0,!!e.trimSpace)}return{mount:function(){i=n.Transition,u([yt,_t,Pt,Ct],S)},move:function(t,n,e,r){var u,c;t!==n&&(u=t>e,c=m(k(D(),u)),u?c>=0:c<=w[g("scrollWidth")]-U(E)[g("width")])&&(A(),x(k(D(),t>e),!0)),a(o),s(wt,n,e,t),i.start(n,(function(){a(3),s(Et,n,e,t),r&&r()}))},jump:L,translate:x,shift:k,cancel:A,toIndex:C,toPosition:P,getPosition:D,getLimit:_,exceededLimit:function(t,n){n=b(n)?D():n;var e=!0!==t&&m(n)<m(_(!1)),i=!1!==t&&m(n)>m(_(!0));return e||i},reposition:S}},Controller:function(t,n,e){var i,r,s,a,c=Bt(t),d=c.on,f=c.emit,v=n.Move,h=v.getPosition,p=v.getLimit,g=v.toPosition,m=n.Slides,w=m.isEnough,E=m.getLength,S=e.omitEnd,L=t.is(Gn),x=t.is(Xn),k=l(M,!1),A=l(M,!0),C=e.start||0,P=C;function D(){r=E(!0),s=e.perMove,a=e.perPage,i=z();var t=dt(C,0,S?i:r-1);t!==C&&(C=t,v.reposition())}function _(){i!==z()&&f(Wt)}function M(t,n){var e=s||(j()?1:a),r=O(C+e*(t?-1:1),C,!(s||j()));return-1===r&&x&&!ct(h(),p(!t),1)?t?0:i:n?r:T(r)}function O(n,o,u){if(w()||j()){var c=function(n){if(x&&"move"===e.trimSpace&&n!==C)for(var i=h();i===g(n,!0)&&lt(n,0,t.length-1,!e.rewind);)n<C?--n:++n;return n}(n);c!==n&&(o=n,n=c,u=!1),n<0||n>i?n=s||!lt(0,n,o,!0)&&!lt(i,o,n,!0)?L?u?n<0?-(r%a||a):r:n:e.rewind?n<0?i:0:-1:N(I(n)):u&&n!==o&&(n=N(I(o)+(n<o?-1:1)))}else n=-1;return n}function T(t){return L?(t+r)%r||0:t}function z(){for(var t=r-(j()||L&&s?1:a);S&&t-- >0;)if(g(r-1,!0)!==g(t,!0)){t++;break}return dt(t,0,r-1)}function N(t){return dt(j()?t:a*t,0,i)}function I(t){return j()?rt(t,i):ut((t>=i?r-1:t)/a)}function q(t){t!==C&&(P=C,C=t)}function j(){return!b(e.focus)||e.isNavigation}function F(){return t.state.is([o,u])&&!!e.waitForTransition}return{mount:function(){D(),d([Pt,Ct,Wt],D),d(_t,_)},go:function(t,n,e){if(!F()){var r=function(t){var n=C;if(y(t)){var e=t.match(/([+\-<>])(\d+)?/)||[],r=e[1],o=e[2];"+"===r||"-"===r?n=O(C+ +(""+r+(+o||1)),C):">"===r?n=o?N(+o):k(!0):"<"===r&&(n=A(!0))}else n=L?t:dt(t,0,i);return n}(t),o=T(r);o>-1&&(n||o!==C)&&(q(o),v.move(r,o,P,e))}},scroll:function(t,e,r,o){n.Scroll.scroll(t,e,r,(function(){var t=T(v.toIndex(h()));q(S?rt(t,i):t),o&&o()}))},getNext:k,getPrev:A,getAdjacent:M,getEnd:z,setIndex:q,getIndex:function(t){return t?P:C},toIndex:N,toPage:I,toDest:function(t){var n=v.toIndex(t);return x?dt(n,0,i):n},hasFocus:j,isBusy:F}},Arrows:function(t,n,e){var i,r,o=Bt(t),u=o.on,s=o.bind,a=o.emit,c=e.classes,d=e.i18n,f=n.Elements,v=n.Controller,h=f.arrows,p=f.track,g=h,m=f.prev,y=f.next,b={};function w(){!function(){var t=e.arrows;!t||m&&y||(g=h||R("div",c.arrows),m=x(!0),y=x(!1),i=!0,P(g,[m,y]),!h&&D(g,p));m&&y&&(N(b,{prev:m,next:y}),B(g,t?"":"none"),C(g,r=Sn+"--"+e.direction),t&&(u([yt,Et,Ct,Ot,Wt],k),s(y,"click",l(L,">")),s(m,"click",l(L,"<")),k(),F([m,y],nn,p.id),a(zt,m,y)))}(),u(Pt,E)}function E(){S(),w()}function S(){o.destroy(),Q(g,r),i?(Y(h?[m,y]:g),m=y=null):j([m,y],vn)}function L(t){v.go(t,!0)}function x(t){return $('<button class="'+c.arrow+" "+(t?c.prev:c.next)+'" type="button"><svg xmlns="'+$n+'" viewBox="0 0 '+"40 "+'40" width="'+'40" height="'+'40" focusable="false"><path d="'+(e.arrowPath||Kn)+'" />')}function k(){if(m&&y){var n=t.index,e=v.getPrev(),i=v.getNext(),r=e>-1&&n<e?d.last:d.prev,o=i>-1&&n>i?d.first:d.next;m.disabled=e<0,y.disabled=i<0,F(m,on,r),F(y,on,o),a("arrows:updated",m,y,e,i)}}return{arrows:b,mount:w,destroy:S,update:k}},Autoplay:function(t,n,e){var i,r,o=Bt(t),u=o.on,s=o.bind,a=o.emit,c=Ht(e.interval,t.go.bind(t,">"),(function(t){var n=d.bar;n&&W(n,"width",100*t+"%"),a("autoplay:playing",t)})),l=c.isPaused,d=n.Elements,f=n.Elements,v=f.root,h=f.toggle,p=e.autoplay,g="pause"===p;function m(){l()&&n.Slides.isEnough()&&(c.start(!e.resetProgress),r=i=g=!1,w(),a(It))}function y(t){void 0===t&&(t=!0),g=!!t,w(),l()||(c.pause(),a(qt))}function b(){g||(i||r?y(!1):m())}function w(){h&&(A(h,On,!g),F(h,on,e.i18n[g?"play":"pause"]))}function E(t){var i=n.Slides.getAt(t);c.set(i&&+X(i.slide,Jn)||e.interval)}return{mount:function(){p&&(!function(){e.pauseOnHover&&s(v,"mouseenter mouseleave",(function(t){i="mouseenter"===t.type,b()}));e.pauseOnFocus&&s(v,"focusin focusout",(function(t){r="focusin"===t.type,b()}));h&&s(h,"click",(function(){g?m():y(!0)}));u([wt,Mt,Ct],c.rewind),u(wt,E)}(),h&&F(h,nn,d.track.id),g||m(),w())},destroy:c.cancel,play:m,pause:y,isPaused:l}},Cover:function(t,n,e){var i=Bt(t).on;function r(t){n.Slides.forEach((function(n){var e=O(n.container||n.slide,"img");e&&e.src&&o(t,e,n)}))}function o(t,n,e){e.style("background",t?'center/cover no-repeat url("'+n.src+'")':"",!0),B(n,t?"none":"")}return{mount:function(){e.cover&&(i(jt,l(o,!0)),i([yt,Pt,Ct],l(r,!0)))},destroy:l(r,!1)}},Scroll:function(t,n,e){var i,r,o=Bt(t),s=o.on,a=o.emit,c=t.state.set,d=n.Move,f=d.getPosition,v=d.getLimit,h=d.exceededLimit,p=d.translate,g=t.is(Xn),m=1;function y(t,e,o,s,v){var p=f();if(E(),o&&(!g||!h())){var y=n.Layout.sliderSize(),S=ft(t)*y*ut(at(t)/y)||0;t=d.toPosition(n.Controller.toDest(t%y))+S}var L=ct(p,t,1);m=1,e=L?0:e||ot(at(t-p)/1.5,800),r=s,i=Ht(e,b,l(w,p,t,v),1),c(u),a(Mt),i.start()}function b(){c(3),r&&r(),a(Ot)}function w(t,n,i,o){var u,s,a=f(),c=(t+(n-t)*(u=o,(s=e.easingFunc)?s(u):1-Math.pow(1-u,4))-a)*m;p(a+c),g&&!i&&h()&&(m*=.6,at(c)<10&&y(v(h(!0)),600,!1,r,!0))}function E(){i&&i.cancel()}function S(){i&&!i.isPaused()&&(E(),b())}return{mount:function(){s(wt,E),s([Pt,Ct],S)},destroy:E,scroll:y,cancel:S}},Drag:function(t,n,e){var i,r,s,a,c,l,d,v,h=Bt(t),g=h.on,m=h.emit,y=h.bind,b=h.unbind,w=t.state,E=n.Move,S=n.Scroll,L=n.Controller,x=n.Elements.track,k=n.Media.reduce,A=n.Direction,C=A.resolve,P=A.orient,D=E.getPosition,M=E.exceededLimit,O=!1;function T(){var t=e.drag;X(!t),a="free"===t}function z(t){if(l=!1,!d){var n=H(t);i=t.target,r=e.noDrag,_(i,"."+Cn+", ."+Ln)||r&&_(i,r)||!n&&t.button||(L.isBusy()?K(t,!0):(v=n?x:window,c=w.is([o,u]),s=null,y(v,Bn,N,Vn),y(v,Hn,I,Vn),E.cancel(),S.cancel(),j(t)))}var i,r}function N(n){if(w.is(6)||(w.set(6),m("drag")),n.cancelable)if(c){E.translate(i+F(n)/(O&&t.is(Xn)?5:1));var r=R(n)>200,o=O!==(O=M());(r||o)&&j(n),l=!0,m("dragging"),K(n)}else(function(t){return at(F(t))>at(F(t,!0))})(n)&&(c=function(t){var n=e.dragMinThreshold,i=p(n),r=i&&n.mouse||0,o=(i?n.touch:+n)||10;return at(F(t))>(H(t)?o:r)}(n),K(n))}function I(i){w.is(6)&&(w.set(3),m("dragged")),c&&(!function(i){var r=function(n){if(t.is(Gn)||!O){var e=R(n);if(e&&e<200)return F(n)/e}return 0}(i),o=function(t){return D()+ft(t)*rt(at(t)*(e.flickPower||600),a?1/0:n.Layout.listSize()*(e.flickMaxPages||1))}(r),u=e.rewind&&e.rewindByDrag;k(!1),a?L.scroll(o,0,e.snap):t.is(Un)?L.go(P(ft(r))<0?u?"<":"-":u?">":"+"):t.is(Xn)&&O&&u?L.go(M(!0)?">":"<"):L.go(L.toDest(o),!0);k(!0)}(i),K(i)),b(v,Bn,N),b(v,Hn,I),c=!1}function q(t){!d&&l&&K(t,!0)}function j(t){s=r,r=t,i=D()}function F(t,n){return B(t,n)-B(W(t),n)}function R(t){return Z(t)-Z(W(t))}function W(t){return r===t&&s||r}function B(t,n){return(H(t)?t.changedTouches[0]:t)["page"+C(n?"Y":"X")]}function H(t){return"undefined"!=typeof TouchEvent&&t instanceof TouchEvent}function X(t){d=t}return{mount:function(){y(x,Bn,f,Vn),y(x,Hn,f,Vn),y(x,Wn,z,Vn),y(x,"click",q,{capture:!0}),y(x,"dragstart",K),g([yt,Pt],T)},disable:X,isDragging:function(){return c}}},Keyboard:function(t,n,e){var i,r,o=Bt(t),u=o.on,s=o.bind,a=o.unbind,c=t.root,l=n.Direction.resolve;function f(){var t=e.keyboard;t&&(i="global"===t?window:c,s(i,te,p))}function v(){a(i,te)}function h(){var t=r;r=!0,d((function(){r=t}))}function p(n){if(!r){var e=Zn(n);e===l(Gt)?t.go("<"):e===l(Ut)&&t.go(">")}}return{mount:function(){f(),u(Pt,v),u(Pt,f),u(wt,h)},destroy:v,disable:function(t){r=t}}},LazyLoad:function(t,n,e){var i=Bt(t),r=i.on,o=i.off,u=i.bind,s=i.emit,c="sequential"===e.lazyLoad,d=[Et,Ot],f=[];function v(){a(f),n.Slides.forEach((function(t){V(t.slide,ie).forEach((function(n){var i=X(n,ne),r=X(n,ee);if(i!==n.src||r!==n.srcset){var o=e.classes.spinner,u=n.parentElement,s=O(u,"."+o)||R("span",o,u);f.push([n,t,s]),n.src||B(n,"none")}}))})),c?m():(o(d),r(d,h),h())}function h(){(f=f.filter((function(n){var i=e.perPage*((e.preloadPages||1)+1)-1;return!n[1].isWithin(t.index,i)||p(n)}))).length||o(d)}function p(t){var n=t[0];C(t[1].slide,In),u(n,"load error",l(g,t)),F(n,"src",X(n,ne)),F(n,"srcset",X(n,ee)),j(n,ne),j(n,ee)}function g(t,n){var e=t[0],i=t[1];Q(i.slide,In),"error"!==n.type&&(Y(t[2]),B(e,""),s(jt,e,i),s(Dt)),c&&m()}function m(){f.length&&p(f.shift())}return{mount:function(){e.lazyLoad&&(v(),r(Ct,v))},destroy:l(a,f),check:h}},Pagination:function(t,n,e){var i,r,o=Bt(t),u=o.on,s=o.emit,d=o.bind,f=n.Slides,v=n.Elements,h=n.Controller,p=h.hasFocus,g=h.getIndex,m=h.go,y=n.Direction.resolve,b=v.pagination,w=[];function E(){i&&(Y(b?c(i.children):i),Q(i,r),a(w),i=null),o.destroy()}function S(t){m(">"+t,!0)}function L(t,n){var e=w.length,i=Zn(n),r=x(),o=-1;i===y(Ut,!1,r)?o=++t%e:i===y(Gt,!1,r)?o=(--t+e)%e:"Home"===i?o=0:"End"===i&&(o=e-1);var u=w[o];u&&(H(u.button),m(">"+o),K(n,!0))}function x(){return e.paginationDirection||e.direction}function k(t){return w[h.toPage(t)]}function A(){var t=k(g(!0)),n=k(g());if(t){var e=t.button;Q(e,On),j(e,rn),F(e,Zt,-1)}if(n){var r=n.button;C(r,On),F(r,rn,!0),F(r,Zt,"")}s("pagination:updated",{list:i,items:w},t,n)}return{items:w,mount:function n(){E(),u([Pt,Ct,Wt],n);var o=e.pagination;b&&B(b,o?"":"none"),o&&(u([wt,Mt,Ot],A),function(){var n=t.length,o=e.classes,u=e.i18n,s=e.perPage,a=p()?h.getEnd()+1:st(n/s);C(i=b||R("ul",o.pagination,v.track.parentElement),r=An+"--"+x()),F(i,Qt,"tablist"),F(i,on,u.select),F(i,an,x()===Kt?"vertical":"");for(var c=0;c<a;c++){var g=R("li",null,i),m=R("button",{class:o.page,type:"button"},g),y=f.getIn(c).map((function(t){return t.slide.id})),E=!p()&&s>1?u.pageX:u.slideX;d(m,"click",l(S,c)),e.paginationKeyboard&&d(m,"keydown",l(L,c)),F(g,Qt,"presentation"),F(m,Qt,"tab"),F(m,nn,y.join(" ")),F(m,on,vt(E,c+1)),F(m,Zt,-1),w.push({li:g,button:m,page:c})}}(),A(),s("pagination:mounted",{list:i,items:w},k(t.index)))},destroy:E,getAt:k,update:A}},Sync:function(t,n,e){var i=e.isNavigation,r=e.slideFocus,o=[];function u(){var n,e;t.splides.forEach((function(n){n.isParent||(c(t,n.splide),c(n.splide,t))})),i&&(n=Bt(t),(e=n.on)(St,f),e(Ft,v),e([yt,Pt],d),o.push(n),n.emit(Nt,t.splides))}function s(){o.forEach((function(t){t.destroy()})),a(o)}function c(t,n){var e=Bt(t);e.on(wt,(function(t,e,i){n.go(n.is(Gn)?i:t)})),o.push(e)}function d(){F(n.Elements.list,an,e.direction===Kt?"vertical":"")}function f(n){t.go(n.index)}function v(t,n){x(re,Zn(n))&&(f(t),K(n))}return{setup:l(n.Media.set,{slideFocus:b(r)?i:r},!0),mount:u,destroy:s,remount:function(){s(),u()}}},Wheel:function(t,n,e){var i=Bt(t).bind,r=0;function u(i){if(i.cancelable){var u=i.deltaY,s=u<0,a=Z(i),c=e.wheelMinThreshold||0,l=e.wheelSleep||0;at(u)>c&&a-r>l&&(t.go(s?"<":">"),r=a),function(i){return!e.releaseWheel||t.state.is(o)||-1!==n.Controller.getAdjacent(i)}(s)&&K(i)}}return{mount:function(){e.wheel&&i(n.Elements.track,"wheel",u,Vn)}}},Live:function(t,n,e){var i=Bt(t).on,r=n.Elements.track,o=e.live&&!e.isNavigation,u=R("span",_n),s=Ht(90,l(a,!1));function a(t){F(r,dn,t),t?(P(r,u),s.start()):(Y(u),s.cancel())}function c(t){o&&F(r,ln,t?"off":"polite")}return{mount:function(){o&&(c(!n.Autoplay.isPaused()),F(r,fn,!0),u.textContent="…",i(It,l(c,!0)),i(qt,l(c,!1)),i([Et,Ot],l(a,!0)))},disable:c,destroy:function(){j(r,[ln,fn,dn]),Y(u)}}}}),ue={type:"slide",role:"region",speed:400,perPage:1,cloneStatus:!0,arrows:!0,pagination:!0,paginationKeyboard:!0,interval:5e3,pauseOnHover:!0,pauseOnFocus:!0,resetProgress:!0,easing:"cubic-bezier(0.25, 1, 0.5, 1)",drag:!0,direction:"ltr",trimSpace:!0,focusableNodes:"a, button, textarea, input, select, iframe",live:!0,classes:Rn,i18n:{prev:"Previous slide",next:"Next slide",first:"Go to first slide",last:"Go to last slide",slideX:"Go to slide %s",pageX:"Go to page %s",play:"Start autoplay",pause:"Pause autoplay",carousel:"carousel",slide:"slide",select:"Select a slide to show",slideLabel:"%s of %s"},reducedMotion:{speed:0,rewindSpeed:0,autoplay:"pause"}};function se(t,n,e){var i=n.Slides;function r(){i.forEach((function(t){t.style("transform","translateX(-"+100*t.index+"%)")}))}return{mount:function(){Bt(t).on([yt,Ct],r)},start:function(t,n){i.style("transition","opacity "+e.speed+"ms "+e.easing),d(n)},cancel:f}}function ae(t,n,e){var i,r=n.Move,o=n.Controller,u=n.Scroll,s=n.Elements.list,a=l(W,s,"transition");function c(){a(""),u.cancel()}return{mount:function(){Bt(t).bind(s,"transitionend",(function(t){t.target===s&&i&&(c(),i())}))},start:function(n,s){var c=r.toPosition(n,!0),l=r.getPosition(),d=function(n){var i=e.rewindSpeed;if(t.is(Xn)&&i){var r=o.getIndex(!0),u=o.getEnd();if(0===r&&n>=u||r>=u&&0===n)return i}return e.speed}(n);at(c-l)>=1&&d>=1?e.useScroll?u.scroll(c,d,!1,s):(a("transform "+d+"ms "+e.easing),r.translate(c,!0),i=s):(r.jump(n),s())},cancel:c}}var ce=function(){function t(n,e){var i;this.event=Bt(),this.Components={},this.state=(i=1,{set:function(t){i=t},is:function(t){return x(S(t),i)}}),this.splides=[],this._o={},this._E={};var r=y(n)?J(document,n):n;it(r,r+" is invalid."),this.root=r,e=I({label:X(r,on)||"",labelledby:X(r,un)||""},ue,t.defaults,e||{});try{I(e,JSON.parse(X(r,et)))}catch(t){it(!1,"Invalid JSON")}this._o=Object.create(I({},e))}var n,e,r,o=t.prototype;return o.mount=function(t,n){var e=this,i=this.state,r=this.Components;return it(i.is([1,7]),"Already mounted!"),i.set(1),this._C=r,this._T=n||this._T||(this.is(Un)?se:ae),this._E=t||this._E,z(N({},oe,this._E,{Transition:this._T}),(function(t,n){var i=t(e,r,e._o);r[n]=i,i.setup&&i.setup()})),z(r,(function(t){t.mount&&t.mount()})),this.emit(yt),C(this.root,Mn),i.set(3),this.emit(bt),this},o.sync=function(t){return this.splides.push({splide:t}),t.splides.push({splide:this,isParent:!0}),this.state.is(3)&&(this._C.Sync.remount(),t.Components.Sync.remount()),this},o.go=function(t){return this._C.Controller.go(t),this},o.on=function(t,n){return this.event.on(t,n),this},o.off=function(t){return this.event.off(t),this},o.emit=function(t){var n;return(n=this.event).emit.apply(n,[t].concat(c(arguments,1))),this},o.add=function(t,n){return this._C.Slides.add(t,n),this},o.remove=function(t){return this._C.Slides.remove(t),this},o.is=function(t){return this._o.type===t},o.refresh=function(){return this.emit(Ct),this},o.destroy=function(t){void 0===t&&(t=!0);var n=this.event,e=this.state;return e.is(1)?Bt(this).on(bt,this.destroy.bind(this,t)):(z(this._C,(function(n){n.destroy&&n.destroy(t)}),!0),n.emit(Tt),n.destroy(),t&&a(this.splides),e.set(7)),this},n=t,(e=[{key:"options",get:function(){return this._o},set:function(t){this._C.Media.set(t,!0,!0)}},{key:"length",get:function(){return this._C.Slides.getLength(!0)}},{key:"index",get:function(){return this._C.Controller.getIndex()}}])&&i(n.prototype,e),r&&i(n,r),Object.defineProperty(n,"prototype",{writable:!1}),t}(),le=ce;le.defaults={},le.STATES=s;n().autoinit();var de,fe;document.addEventListener("DOMContentLoaded",(function(){setTimeout((function(){var t;null!==(t=document.querySelectorAll("[data-idtslide]"))&&t.forEach((function(t){if(t){var n=t.getAttribute("data-idtslide"),e=n?".idtslider-"+n:void 0,i=n?".idtsliderthumb-"+n:void 0,r=t.getAttribute("data-idtslidethumb");if(null!=e){var o=new le(e),u="";"haschild"===r&&null!=i&&(u=new le(i)),"haschild"===r&&null!=i&&o.sync(u),o.mount(),"haschild"===r&&null!=i&&u.mount()}}}))}),150)}),!1),function(){var t,n=document.querySelectorAll(".gmrclick-container"),e=function(){if(n[t].querySelectorAll(".gmrbtnclick").length>0){var e=n[t].querySelector(".gmrbtnclick");e.addEventListener("click",(function(t){t.stopPropagation(),t.preventDefault();var n=this.parentNode,i=n.querySelector(".gmr-dropdown");i.classList.toggle("active"),i.classList.contains("active")?e.classList.add("toggled-on"):e.classList.remove("toggled-on");var r=n.querySelector("#dropdown-container");document.addEventListener("click",(function(t){r===t.target||r.contains(t.target)||i.classList.contains("active")&&(i.classList.remove("active"),n.classList.remove("toggled-on"))}))}))}};for(t=0;t<n.length;t++)e()}(),null!==(de=document.querySelectorAll(".gmrbtnclose"))&&de.forEach((function(t){t.addEventListener("click",(function(n){n.stopPropagation(),n.preventDefault(),t.closest("div.gmrclose-element")&&(t.closest("div.gmrclose-element").style.display="none")}))})),null!==(fe=document.querySelectorAll("[data-modal]"))&&fe.forEach((function(t){t.addEventListener("click",(function(n){n.stopPropagation(),n.preventDefault();var e=document.getElementById(t.dataset.modal);e.style.display="block",e.querySelectorAll(".close-modal").forEach((function(t){t.addEventListener("click",(function(t){t.preventDefault(),e.style.display="none"}))}))}))}));window.addEventListener("DOMContentLoaded",(function(){setTimeout((function(){!function(){var t=document.querySelector(".gmr-top-date");if(null!==t){var n=Date.now();if(null!==t){var e=t.getAttribute("data-lang")||"en-US";if(null!==n){var i=new Intl.DateTimeFormat(e,{weekday:"long",day:"numeric",month:"long",year:"numeric"}).format(n);null!==i&&(t.innerHTML=i)}}}}()}),150)}));window.addEventListener("DOMContentLoaded",(function(){setTimeout((function(){window.addEventListener("scroll",(function(){var t=document.querySelector(".site");document.body.scrollTop>5||document.documentElement.scrollTop>5?null!==t&&t.classList.add("sticky-menu"):null!==t&&t.classList.remove("sticky-menu");var n=document.querySelector(".gmr-ontop");document.body.scrollTop>85||document.documentElement.scrollTop>85?null!==n&&(n.style.display="block",document.querySelector(".gmr-ontop").addEventListener("click",(function(t){t.preventDefault(),window.scroll({top:0,left:0,behavior:"smooth"})}))):null!==n&&(n.style.display="none")}))}),100)}))}()}();
}