1/*! For license information please see ni-rebrand.min.js.LICENSE.txt */ 2(()=>{var t={211:()=>{[Element.prototype,CharacterData.prototype,DocumentType.prototype].forEach((function(t){t.hasOwnProperty("after")||Object.defineProperty(t,"after",{configurable:!0,enumerable:!0,writable:!0,value:function(){var t=Array.prototype.slice.call(arguments),e=document.createDocumentFragment();t.forEach((function(t){var i=t instanceof Node;e.appendChild(i?t:document.createTextNode(String(t)))})),this.parentNode.insertBefore(e,this.nextSibling)}})})),Element.prototype.matches||(Element.prototype.matches=Element.prototype.matchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector||Element.prototype.webkitMatchesSelector||function(t){for(var e=(this.document||this.ownerDocument).querySelectorAll(t),i=e.length;--i>=0&&e.item(i)!==this;);return i>-1}),window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=Array.prototype.forEach),"undefined"==typeof NIAnalytics&&(window.NIAnalytics={captureNavigation:t=>console.log(t),captureMultimedia:t=>console.log(t),capturePerspectiveResultClick:t=>console.log(t)})},850:function(t){t.exports=function(){"use strict";const{hasOwnProperty:t,toString:e}=Object.prototype;function i(e,i){return t.call(e,i)}const n=/\B([A-Z])/g,o=Z((t=>t.replace(n,"-$1").toLowerCase())),s=/-(\w)/g,r=Z((t=>t.replace(s,l))),a=Z((t=>t.length?l(0,t.charAt(0))+t.slice(1):""));function l(t,e){return e?e.toUpperCase():""}function c(t,e){return null==t||null==t.startsWith?void 0:t.startsWith(e)}function h(t,e){return null==t||null==t.endsWith?void 0:t.endsWith(e)}function d(t,e){return null==t||null==t.includes?void 0:t.includes(e)}function u(t,e){return null==t||null==t.findIndex?void 0:t.findIndex(e)}const{isArray:p,from:f}=Array,{assign:m}=Object;function g(t){return"function"==typeof t}function v(t){return null!==t&&"object"==typeof t}function y(t){return"[object Object]"===e.call(t)}function w(t){return v(t)&&t===t.window}function b(t){return 9===$(t)}function _(t){return $(t)>=1}function x(t){return 1===$(t)}function $(t){return!w(t)&&v(t)&&t.nodeType}function k(t){return"boolean"==typeof t}function S(t){return"string"==typeof t}function E(t){return"number"==typeof t}function A(t){return E(t)||S(t)&&!isNaN(t-parseFloat(t))}function L(t){return!(p(t)?t.length:v(t)&&Object.keys(t).length)}function C(t){return void 0===t}function T(t){return k(t)?t:"true"===t||"1"===t||""===t||"false"!==t&&"0"!==t&&t}function I(t){const e=Number(t);return!isNaN(e)&&e}function O(t){return parseFloat(t)||0}function N(t){return P(t)[0]}function P(t){return t&&(_(t)?[t]:Array.from(t).filter(_))||[]}function M(t){var e;if(w(t))return t;const i=b(t=N(t))?t:null==(e=t)?void 0:e.ownerDocument;return(null==i?void 0:i.defaultView)||window}function B(t,e){return t===e||v(t)&&v(e)&&Object.keys(t).length===Object.keys(e).length&&q(t,((t,i)=>t===e[i]))}function D(t,e,i){return t.replace(new RegExp(`${e}|${i}`,"g"),(t=>t===e?i:e))}function H(t){return t[t.length-1]}function q(t,e){for(const i in t)if(!1===e(t[i],i))return!1;return!0}function z(t,e){return t.slice().sort(((t,i)=>{let{[e]:n=0}=t,{[e]:o=0}=i;return n>o?1:o>n?-1:0}))}function j(t,e){return t.reduce(((t,i)=>t+O(g(e)?e(i):i[e])),0)}function F(t,e){const i=new Set;return t.filter((t=>{let{[e]:n}=t;return!i.has(n)&&i.add(n)}))}function W(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(I(t)||0,e),i)}function V(){}function R(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return[["bottom","top"],["right","left"]].every((t=>{let[i,n]=t;return Math.min(...e.map((t=>{let{[i]:e}=t;return e})))-Math.max(...e.map((t=>{let{[n]:e}=t;return e})))>0}))}function U(t,e){return t.x<=e.right&&t.x>=e.left&&t.y<=e.bottom&&t.y>=e.top}function G(t,e,i){const n="width"===e?"height":"width";return{[n]:t[e]?Math.round(i*t[n]/t[e]):t[n],[e]:i}}function Y(t,e){t={...t};for(const i in t)t=t[i]>e[i]?G(t,i,e[i]):t;return t}const Q={ratio:G,contain:Y,cover:function(t,e){t=Y(t,e);for(const i in t)t=t[i]<e[i]?G(t,i,e[i]):t;return t}};function X(t,e){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];e=P(e);const{length:o}=e;return o?(t=A(t)?I(t):"next"===t?i+1:"previous"===t?i-1:e.indexOf(N(t)),n?W(t,0,o-1):(t%=o)<0?t+o:t):-1}function Z(t){const e=Object.create(null);return i=>e[i]||(e[i]=t(i))}class J{constructor(){this.promise=new Promise(((t,e)=>{this.reject=e,this.resolve=t}))}}function K(t,e,i){if(v(e))for(const i in e)K(t,i,e[i]);else{var n;if(C(i))return null==(n=N(t))?void 0:n.getAttribute(e);for(const n of P(t))g(i)&&(i=i.call(n,K(n,e))),null===i?et(n,e):n.setAttribute(e,i)}}function tt(t,e){return P(t).some((t=>t.hasAttribute(e)))}function et(t,e){P(t).forEach((t=>t.removeAttribute(e)))}function it(t,e){for(const i of[e,`data-${e}`])if(tt(t,i))return K(t,i)}const nt={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0};function ot(t){return P(t).some((t=>nt[t.tagName.toLowerCase()]))}function st(t){return P(t).some((t=>t.offsetWidth||t.offsetHeight||t.getClientRects().length))}const rt="input,select,textarea,button";function at(t){return P(t).some((t=>ut(t,rt)))}const lt=`${rt},a[href],[tabindex]`;function ct(t){return ut(t,lt)}function ht(t){var e;return null==(e=N(t))?void 0:e.parentElement}function dt(t,e){return P(t).filter((t=>ut(t,e)))}function ut(t,e){return P(t).some((t=>t.matches(e)))}function pt(t,e){return x(t)?t.closest(c(e,">")?e.slice(1):e):P(t).map((t=>
2pt(t,e))).filter(Boolean)}function ft(t,e){return S(e)?!!pt(t,e):N(e).contains(N(t))}function mt(t,e){const i=[];for(;t=ht(t);)(!e||ut(t,e))&&i.push(t);return i}function gt(t,e){const i=(t=N(t))?P(t.children):[];return e?dt(i,e):i}function vt(t,e){return e?P(t).indexOf(N(e)):gt(ht(t)).indexOf(t)}function yt(t,e){return bt(t,kt(t,e))}function wt(t,e){return _t(t,kt(t,e))}function bt(t,e){return N(At(t,e,"querySelector"))}function _t(t,e){return P(At(t,e,"querySelectorAll"))}const xt=/(^|[^\\],)\s*[!>+~-]/,$t=Z((t=>t.match(xt)));function kt(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document;return S(t)&&$t(t)||b(e)?e:e.ownerDocument}const St=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,Et=Z((t=>t.replace(St,"$1 *")));function At(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document,i=arguments.length>2?arguments[2]:void 0;if(!t||!S(t))return t;if(t=Et(t),$t(t)){const i=Ct(t);t="";for(let n of i){let o=e;if("!"===n[0]){const t=n.substr(1).trim().split(" ");if(o=pt(ht(e),t[0]),n=t.slice(1).join(" ").trim(),!n.length&&1===i.length)return o}if("-"===n[0]){const t=n.substr(1).trim().split(" "),i=(o||e).previousElementSibling;o=ut(i,n.substr(1))?i:null,n=t.slice(1).join(" ")}o&&(t+=`${t?",":""}${Tt(o)} ${n}`)}e=document}try{return e[i](t)}catch{return null}}const Lt=/.*?[^\\](?:,|$)/g,Ct=Z((t=>t.match(Lt).map((t=>t.replace(/,$/,"").trim()))));function Tt(t){const e=[];for(;t.parentNode;){const i=K(t,"id");if(i){e.unshift(`#${It(i)}`);break}{let{tagName:i}=t;"HTML"!==i&&(i+=`:nth-child(${vt(t)+1})`),e.unshift(i),t=t.parentNode}}return e.join(" > ")}function It(t){return S(t)?CSS.escape(t):""}function Ot(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];let[n,o,s,r,a=!1]=Dt(e);r.length>1&&(r=function(t){return e=>p(e.detail)?t(e,...e.detail):t(e)}(r)),null!=a&&a.self&&(r=function(t){return function(e){if(e.target===e.currentTarget||e.target===e.current)return t.call(null,e)}}(r)),s&&(r=function(t,e){return i=>{const n=">"===t[0]?_t(t,i.currentTarget).reverse().filter((t=>ft(i.target,t)))[0]:pt(i.target,t);n&&(i.current=n,e.call(this,i))}}(s,r));for(const t of o)for(const e of n)e.addEventListener(t,r,a);return()=>Nt(n,o,r,a)}function Nt(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];let[n,o,,s,r=!1]=Dt(e);for(const t of o)for(const e of n)e.removeEventListener(t,s,r)}function Pt(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];const[n,o,s,r,a=!1,l]=Dt(e),c=Ot(n,o,s,(t=>{const e=!l||l(t);e&&(c(),r(t,e))}),a);return c}function Mt(t,e,i){return zt(t).every((t=>t.dispatchEvent(Bt(e,!0,!0,i))))}function Bt(t){let e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3?arguments[3]:void 0;return S(t)&&(t=new CustomEvent(t,{bubbles:e,cancelable:i,detail:n})),t}function Dt(t){return t[0]=zt(t[0]),S(t[1])&&(t[1]=t[1].split(" ")),g(t[2])&&t.splice(2,0,!1),t}function Ht(t){return t&&"addEventListener"in t}function qt(t){return Ht(t)?t:N(t)}function zt(t){return p(t)?t.map(qt).filter(Boolean):S(t)?_t(t):Ht(t)?[t]:P(t)}function jt(t){return"touch"===t.pointerType||!!t.touches}function Ft(t){var e,i;const{clientX:n,clientY:o}=(null==(e=t.touches)?void 0:e[0])||(null==(i=t.changedTouches)?void 0:i[0])||t;return{x:n,y:o}}function Wt(t,e){const i={data:null,method:"GET",headers:{},xhr:new XMLHttpRequest,beforeSend:V,responseType:"",...e};return Promise.resolve().then((()=>i.beforeSend(i))).then((()=>function(t,e){return new Promise(((i,n)=>{const{xhr:o}=e;for(const t in e)if(t in o)try{o[t]=e[t]}catch{}o.open(e.method.toUpperCase(),t);for(const t in e.headers)o.setRequestHeader(t,e.headers[t]);Ot(o,"load",(()=>{0===o.status||o.status>=200&&o.status<300||304===o.status?i(o):n(m(Error(o.statusText),{xhr:o,status:o.status}))})),Ot(o,"error",(()=>n(m(Error("Network Error"),{xhr:o})))),Ot(o,"timeout",(()=>n(m(Error("Network Timeout"),{xhr:o})))),o.send(e.data)}))}(t,i)))}function Vt(t,e,i){return new Promise(((n,o)=>{const s=new Image;s.onerror=t=>{o(t)},s.onload=()=>{n(s)},i&&(s.sizes=i),e&&(s.srcset=e),s.src=t}))}const Rt={"animation-iteration-count":!0,"column-count":!0,"fill-opacity":!0,"flex-grow":!0,"flex-shrink":!0,"font-weight":!0,"line-height":!0,opacity:!0,order:!0,orphans:!0,"stroke-dasharray":!0,"stroke-dashoffset":!0,widows:!0,"z-index":!0,zoom:!0};function Ut(t,e,i){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";const o=P(t);
2for(const t of o)if(S(e)){if(e=Gt(e),C(i))return getComputedStyle(t).getPropertyValue(e);t.style.setProperty(e,A(i)&&!Rt[e]?`${i}px`:i||E(i)?i:"",n)}else{if(p(e)){const i={};for(const n of e)i[n]=Ut(t,n);return i}v(e)&&(n=i,q(e,((e,i)=>Ut(t,i,e,n))))}return o[0]}const Gt=Z((t=>function(t){if(c(t,"--"))return t;t=o(t);const{style:e}=document.documentElement;if(t in e)return t;for(const i of["webkit","moz"]){const n=`-${i}-${t}`;if(n in e)return n}}(t)));function Yt(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];te(t,i,"add")}function Qt(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];te(t,i,"remove")}function Xt(t,e){K(t,"class",(t=>(t||"").replace(new RegExp(`\\b${e}\\b\\s?`,"g"),"")))}function Zt(t){(arguments.length<=1?void 0:arguments[1])&&Qt(t,arguments.length<=1?void 0:arguments[1]),(arguments.length<=2?void 0:arguments[2])&&Yt(t,arguments.length<=2?void 0:arguments[2])}function Jt(t,e){return[e]=ee(e),!!e&&P(t).some((t=>t.classList.contains(e)))}function Kt(t,e,i){const n=ee(e);C(i)||(i=!!i);for(const e of P(t))for(const t of n)e.classList.toggle(t,i)}function te(t,e,i){e=e.reduce(((t,e)=>t.concat(ee(e))),[]);for(const n of P(t))n.classList[i](...e)}function ee(t){return String(t).split(/\s|,/).filter(Boolean)}const ie={start:function(t,e){let i=arguments.length>
22&&void 0!==arguments[2]?arguments[2]:400,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"linear";return i=Math.round(i),Promise.all(P(t).map((t=>new Promise(((o,s)=>{for(const i in e){const e=Ut(t,i);""===e&&Ut(t,i,e)}const r=setTimeout((()=>Mt(t,"transitionend")),i);Pt(t,"transitionend transitioncanceled",(e=>{let{type:i}=e;clearTimeout(r),Qt(t,"uk-transition"),Ut(t,{transitionProperty:"",transitionDuration:"",transitionTimingFunction:""}),"transitioncanceled"===i?s():o(t)}),{self:!0}),Yt(t,"uk-transition"),Ut(t,{transitionProperty:Object.keys(e).map(Gt).join(","),transitionDuration:`${i}ms`,transitionTimingFunction:n,...e})})))))},async stop(t){Mt(t,"transitionend"),await Promise.resolve()},async cancel(t){Mt(t,"transitioncanceled"),await Promise.resolve()},inProgress:t=>Jt(t,"uk-transition")},ne="uk-animation-";function oe(t,e){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,n=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0;return Promise.all(P(t).map((t=>new Promise(((s,r)=>{Mt(t,"animationcanceled");const a=setTimeout((()=>Mt(t,"animationend")),i);Pt(t,"animationend animationcanceled",(e=>{let{type:i}=e;clearTimeout(a),"animationcanceled"===i?r():s(t),Ut(t,"animationDuration",""),Xt(t,`${ne}\\S*`)}),{self:!0}),Ut(t,"animationDuration",`${i}ms`),Yt(t,e,ne+(o?"leave":"enter")),c(e,ne)&&(n&&Yt(t,`uk-transform-origin-${n}`),o&&Yt(t,`${ne}reverse`))})))))}const se=new RegExp(`${ne}(enter|leave)`),re={in:oe,out:(t,e,i,n)=>oe(t,e,i,n,!0),inProgress:t=>se.test(K(t,"class")),cancel(t){Mt(t,"animationcanceled")}};function ae(t,e){var i;return(null==t||null==(i=t.tagName)?void 0:i.toLowerCase())===e.toLowerCase()}function le(t){return(t=ke(t)).innerHTML="",t}function ce(t,e){return C(e)?ke(t).innerHTML:de(le(t),e)}const he=fe("prepend"),de=fe("append"),ue=fe("before"),pe=fe("after");function fe(t){return function(e,i){var n;const o=P(S(i)?_e(i):i);return null==(n=ke(e))||n[t](...o),xe(o)}}function me(t){P(t).forEach((t=>t.remove()))}function ge(t,e){for(e=N(ue(t,e));e.firstChild;)e=e.firstChild;return de(e,t),e}function ve(t,e){return P(P(t).map((t=>t.hasChildNodes()?ge(P(t.childNodes),e):de(t,e))))}function ye(t){P(t).map(ht).filter(((t,e,i)=>i.indexOf(t)===e)).forEach((t=>t.replaceWith(...t.childNodes)))}const we=/^\s*<(\w+|!)[^>]*>/,be=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function _e(t){const e=be.exec(t);if(e)return document.createElement(e[1]);const i=document.createElement("div");return we.test(t)?i.insertAdjacentHTML("beforeend",t.trim()):i.textContent=t,xe(i.childNodes)}function xe(t){return t.length>1?t:t[0]}function $e(t,e){if(x(t))for(e(t),t=t.firstElementChild;t;){const i=t.nextElementSibling;$e(t,e),t=i}}function ke(t,e){return Ee(t)?N(_e(t)):bt(t,e)}function Se(t,e){return Ee(t)?P(_e(t)):_t(t,e)}function Ee(t){return S(t)&&c(t.trim(),"<")}const Ae={width:["left","right"],height:["top","bottom"]};function Le(t){const e=x(t)?N(t).getBoundingClientRect():{height:Oe(t),width:Ne(t),top:0,left:0};return{height:e.height,width:e.width,top:e.top,left:e.left,bottom:e.top+e.height,right:e.left+e.width}}function Ce(t,e){const i=Le(t);if(t){const{scrollY:e,scrollX:n}=M(t),o={height:e,width:n};for(const t in Ae)for(const e of Ae[t])i[e]+=o[t]}if(!e)return i;const n=Ut(t,"position");q(Ut(t,["left","top"]),((o,s)=>Ut(t,s,e[s]-i[s]+O("absolute"===n&&"auto"===o?Te(t)[s]:o))))}function Te(t){let{top:e,left:i}=Ce(t);const{ownerDocument:{body:n,documentElement:o},offsetParent:s}=N(t);let r=s||o;for(;r&&(r===n||r===o)&&"static"===Ut(r,"position");)r=r.parentNode;if(x(r)){const t=Ce(r);e-=t.top+O(Ut(r,"borderTopWidth")),i-=t.left+O(Ut(r,"borderLeftWidth"))}return{top:e-O(Ut(t,"marginTop")),left:i-O(Ut(t,"marginLeft"))}}function Ie(t){const e=[(t=N(t)).offsetTop,t.offsetLeft];for(;t=t.offsetParent;)if(e[0]+=t.offsetTop+O(Ut(t,"borderTopWidth")),e[1]+=t.offsetLeft+O(Ut(t,"borderLeftWidth")),"fixed"===Ut(t,"position")){const i=M(t);return e[0]+=i.scrollY,e[1]+=i.scrollX,e}return e}const Oe=Pe("height"),Ne=Pe("width");function Pe(t){const e=a(t);return(i,n)=>{if(C(n)){if(w(i))return i[`inner${e}`];if(b(i)){const t=i.documentElement;return Math.max(t[`offset${e}`],t[`scroll${e}`])}return(n="auto"===(n=Ut(i=N(i),t))?i[`offset${e}`]:O(n)||0)-Me(i,t)}return Ut(i,t,n||0===n?+n+Me(i,t)+"px":"")}}function Me(t,e){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"border-box";return Ut(t,"boxSizing")===i?j(Ae[e].map(a),(e=>O(Ut(t,`padding${e}`))+O(Ut(t,`border${e}Width`)))):0}function Be(t){for(const e in Ae)for(const i in Ae[e])if(Ae[e][i]===t)return Ae[e][1-i];return t}function De(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"width",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:window,n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return S(t)?j(qe(t),(t=>{const o=je(t);return o?function(t,e){return t*O(e)/100}("vh"===o?Fe||(We||(We=ke("<div>"),Ut(We,{height:"100vh",position:"fixed"}),Ot(window,"resize",(()=>Fe=null))),de(document.body,We),Fe=We.clientHeight,me(We),Fe):"vw"===o?Ne(M(i)):n?i[`offset${a(e)}`]:Le(i)[e],t):t})):O(t)}const He=/-?\d+(?:\.\d+)?(?:v[wh]|%|px)?/g,qe=Z((t=>t.toString().replace(/\s/g,"").match(He)||[])),ze=/(?:v[hw]|%)$/,je=Z((t=>(t.match(ze)||[])[0]));let Fe,We;
2const Ve=typeof window<"u",Re=Ve&&"rtl"===document.dir,Ue=Ve&&"ontouchstart"in window,Ge=Ve&&window.PointerEvent,Ye=Ge?"pointerdown":Ue?"touchstart":"mousedown",Qe=Ge?"pointermove":Ue?"touchmove":"mousemove",Xe=Ge?"pointerup":Ue?"touchend":"mouseup",Ze=Ge?"pointerenter":Ue?"":"mouseenter",Je=Ge?"pointerleave":Ue?"":"mouseleave",Ke=Ge?"pointercancel":"touchcancel",ti={reads:[],writes:[],read(t){return this.reads.push(t),ni(),t},write(t){return this.writes.push(t),ni(),t},clear(t){si(this.reads,t),si(this.writes,t)},flush:ei};function ei(t){oi(ti.reads),oi(ti.writes.splice(0)),ti.scheduled=!1,(ti.reads.length||ti.writes.length)&&ni(t+1)}const ii=4;function ni(t){ti.scheduled||(ti.scheduled=!0,t&&t<ii?Promise.resolve().then((()=>ei(t))):requestAnimationFrame((()=>ei(1))))}function oi(t){let e;for(;e=t.shift();)try{e()}catch(t){console.error(t)}}function si(t,e){const i=t.indexOf(e);return~i&&t.splice(i,1)}function ri(){}function ai(t,e,i){const n=new IntersectionObserver(arguments.length>3&&void 0!==arguments[3]&&!arguments[3]?e:(t,i)=>{t.some((t=>t.isIntersecting))&&e(t,i)},i);for(const e of P(t))n.observe(e);return n}ri.prototype={positions:[],init(){let t;this.positions=[],this.unbind=Ot(document,"mousemove",(e=>t=Ft(e))),this.interval=setInterval((()=>{t&&(this.positions.push(t),this.positions.length>5&&this.positions.shift())}),50)},cancel(){var t;null==(t=this.unbind)||t.call(this),this.interval&&clearInterval(this.interval)},movesTo(t){if(this.positions.length<2)return!1;const e=t.getBoundingClientRect(),{left:i,right:n,top:o,bottom:s}=e,[r]=this.positions,a=H(this.positions),l=[r,a];return!U(a,e)&&[[{x:i,y:o},{x:n,y:s}],[{x:i,y:s},{x:n,y:o}]].some((t=>{const i=function(t,e){let[{x:i,y:n},{x:o,y:s}]=t,[{x:r,y:a},{x:l,y:c}]=e;const h=(c-a)*(o-i)-(l-r)*(s-n);if(0===h)return!1;const d=((l-r)*(n-a)-(c-a)*(i-r))/h;return!(d<0)&&{x:i+d*(o-i),y:n+d*(s-n)}}(l,t);return i&&U(i,e)}))}};const li=Ve&&window.ResizeObserver;function ci(t,e){return li?ui(ResizeObserver,t,e,arguments.length>2&&void 0!==arguments[2]?arguments[2]:{box:"border-box"}):(function(){if(hi)return;let t;hi=new Set;const e=()=>{if(!t){t=!0,requestAnimationFrame((()=>t=!1));for(const t of hi)t()}};Ot(window,"load resize",e),Ot(document,"loadedmetadata load",e,!0)}(),hi.add(e),{disconnect(){hi.delete(e)}})}let hi;function di(t,e,i){return ui(MutationObserver,t,e,i)}function ui(t,e,i,n){const o=new t(i);for(const t of P(e))o.observe(t,n);return o}const pi={};function fi(t,e,i){return pi.computed(g(t)?t.call(i,i):t,g(e)?e.call(i,i):e)}function mi(t,e){return t=t&&!p(t)?[t]:t,e?t?t.concat(e):p(e)?e:[e]:t}function gi(t,e){return C(e)?t:e}function vi(t,e,n){const o={};if(g(e)&&(e=e.options),e.extends&&(t=vi(t,e.extends,n)),e.mixins)for(const i of e.mixins)t=vi(t,i,n);for(const e in t)s(e);for(const n in e)i(t,n)||s(n);function s(i){o[i]=(pi[i]||gi)(t[i],e[i],n)}return o}function yi(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];try{return t?c(t,"{")?JSON.parse(t):e.length&&!d(t,":")?{[e[0]]:t}:t.split(";").reduce(((t,e)=>{const[i,n]=e.split(/:(.*)/);return i&&!C(n)&&(t[i.trim()]=n.trim()),t}),{}):{}}catch{return{}}}function wi(t){if(ki(t)&&Ai(t,{func:"playVideo",method:"play"}),$i(t))try{t.play().catch(V)}catch{}}function bi(t){ki(t)&&Ai(t,{func:"pauseVideo",method:"pause"}),$i(t)&&t.pause()}function _i(t){ki(t)&&Ai(t,{func:"mute",method:"setVolume",value:0}),$i(t)&&(t.muted=!0)}function xi(t){return $i(t)||ki(t)}function $i(t){return ae(t,"video")}function ki(t){return ae(t,"iframe")&&(Si(t)||Ei(t))}function Si(t){return!!t.src.match(/\/\/.*?youtube(-nocookie)?\.[a-z]+\/(watch\?v=[^&\s]+|embed)|youtu\.be\/.*/)}function Ei(t){return!!t.src.match(/vimeo\.com\/video\/.*/)}async function Ai(t,e){await function(t){if(t[Ci])return t[Ci];const e=Si(t),i=Ei(t),n=++Ti;let o;return t[Ci]=new Promise((s=>{e&&Pt(t,"load",(()=>{const e=()=>Li(t,{event:"listening",id:n});o=setInterval(e,100),e()})),Pt(window,"message",s,!1,(t=>{let{data:o}=t;try{return o=JSON.parse(o),o&&(e&&o.id===n&&"onReady"===o.event||i&&Number(o.player_id)===n)}catch{}})),t.src=`${t.src}${d(t.src,"?")?"&":"?"}${e?"enablejsapi=1":`api=1&player_id=${n}`}`})).then((()=>clearInterval(o)))}(t),Li(t,e)}function Li(t,e){try{t.contentWindow.postMessage(JSON.stringify({event:"command",...e}),"*")}catch{}}pi.events=pi.created=pi.beforeConnect=pi.connected=pi.beforeDisconnect=pi.disconnected=pi.destroy=m
2i,pi.args=function(t,e){return!1!==e&&mi(e||t)},pi.update=function(t,e){return z(mi(t,g(e)?{read:e}:e),"order")},pi.props=function(t,e){if(p(e)){const t={};for(const i of e)t[i]=String;e=t}return pi.methods(t,e)},pi.computed=pi.methods=function(t,e){return e?t?{...t,...e}:e:t},pi.data=function(t,e,i){return i?fi(t,e,i):e?t?function(i){return fi(t,e,i)}:e:t};const Ci="_ukPlayer";let Ti=0;function Ii(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return!!st(t)&&R(...Pi(t).map((t=>{const{top:n,left:o,bottom:s,right:r}=Mi(t);return{top:n-e,left:o-i,bottom:s+e,right:r+i}})).concat(Ce(t)))}function Oi(t){let{offset:e=0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const i=st(t)?Pi(t,/auto|scroll|hidden/):[];return i.reduce(((n,o,s)=>{const{scrollTop:r,scrollHeight:a,offsetHeight:l}=o,c=Mi(o),h=a-c.height,{height:d,top:u}=i[s-1]?Mi(i[s-1]):Ce(t);let p=Math.ceil(u-c.top-e+r);return e>0&&l<d+e?p+=e:e=0,p>h?(e-=p-h,p=h):p<0&&(e-=p,p=0),()=>function(t,e){return new Promise((i=>{const n=t.scrollTop,o=function(t){return 40*Math.pow(t,.375)}(Math.abs(e)),s=Date.now();!function r(){const a=function(t){return.5*(1-Math.cos(Math.PI*t))}(W((Date.now()-s)/o));t.scrollTop=n+e*a,1===a?i():requestAnimationFrame(r)}()}))}(o,p-r).then(n)}),(()=>Promise.resolve()))()}function Ni(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!st(t))return 0;const[n]=Pi(t,/auto|scroll/,!0),{scrollHeight:o,scrollTop:s}=n,{height:r}=Mi(n),a=o-r,l=Ie(t)[0]-Ie(n)[0],c=Math.max(0,l-r+e);return W((s-c)/(Math.min(a,l+t.offsetHeight-i)-c))}function Pi(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:/auto|scroll|hidden|clip/,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const n=Bi(t);let o=mt(t).reverse();o=o.slice(o.indexOf(n)+1);const s=u(o,(t=>"fixed"===Ut(t,"position")));return~s&&(o=o.slice(s)),[n].concat(o.filter((t=>e.test(Ut(t,"overflow"))&&(!i||t.scrollHeight>Mi(t).height)))).reverse()}function Mi(t){const e=M(t),{document:{documentElement:i}}=e;let n=t===Bi(t)?e:t;const{visualViewport:o}=e;if(w(n)&&o){let{height:t,width:e,scale:i,pageTop:n,pageLeft:s}=o;return t=Math.round(t*i),e=Math.round(e*i),{height:t,width:e,top:n,left:s,bottom:n+t,right:s+e}}let s=Ce(n);if("inline"===Ut(n,"display"))return s;for(let[t,e,o,r]of[["width","x","left","right"],["height","y","top","bottom"]])w(n)?n=i:s[o]+=O(Ut(n,`border-${o}-width`)),s[t]=s[e]=n[`client${a(t)}`],s[r]=s[t]+s[o];return s}function Bi(t){return M(t).document.scrollingElement}const Di=[["width","x","left","right"],["height","y","top","bottom"]];function Hi(t,e,i){i={attach:{element:["left","top"],target:["left","top"],...i.attach},offset:[0,0],placement:[],...i},p(e)||(e=[e,e]),Ce(t,qi(t,e,i))}function qi(t,e,i){const n=zi(t,e,i),{boundary:o,viewportOffset:s=0,placement:r}=i;let a=n;for(const[l,[c,,h,d]]of Object.entries(Di)){const u=Wi(t,e[l],s,o,l);if(Gi(n,u,l))continue;let p=0;if("flip"===r[l]){const o=i.attach.target[l];if(o===d&&n[d]<=u[d]||o===h&&n[h]>=u[h])continue;p=Yi(t,e,i,l)[h]-n[h];const r=Vi(t,e[l],s,l);if(!Gi(ji(n,p,l),r,l)){if(Gi(n,r,l))continue;if(i.recursion)return!1;const o=Qi(t,e,i);if(o&&Gi(o,r,1-l))return o;continue}}else if("shift"===r[l]){const t=Ce(e[l]),{offset:o}=i;p=W(W(n[h],u[h],u[d]-n[c]),t[h]-n[c]+o[l],t[d]-o[l])-n[h]}a=ji(a,p,l)}return a}function zi(t,e,i){let{attach:n,offset:o}={attach:{element:["left","top"],target:["left","top"],...i.attach},offset:[0,0],...i},s=Ce(t);for(const[t,[i,,r,a]]of Object.entries(Di)){const l=n.target[t]===n.element[t]?Mi(e[t]):Ce(e[t]);s=ji(s,l[r]-s[r]+Fi(n.target[t],a,l[i])-Fi(n.element[t],a,s[i])+ +o[t],t)}return s}function ji(t,e,i){const[,n,o,s]=Di[i],r={...t};return r[o]=t[n]=t[o]+e,r[s]+=e,r}function Fi(t,e,i){return"center"===t?i/2:t===e?i:0}function Wi(t,e,i,n,o){let s=Ui(...Ri(t,e).map(Mi));return i&&(s[Di[o][2]]+=i,s[Di[o][3]]-=i),n&&(s=Ui(s,Ce(p(n)?n[o]:n))),s}function Vi(t,e,i,n){const[o,s,r,l]=Di[n],[c]=Ri(t,e),h=Mi(c);return["auto","scroll"].includes(Ut(c,`overflow-${s}`))&&(h[r]-=c[`scroll${a(r)}`],h[l]=c[`scroll${a(o)}`]),h[r]+=i,h[l]-=i,h}function Ri(t,e){return Pi(e).filter((e=>ft(t,e)))}function Ui(){let t={};for(var e=arguments.length,i=new Array(e),n=0;n<e;n++)i[n]=arguments[n];for(const e of i)for(const[,,i,n]of Di)t[i]=Math.max(t[i]||0,e[i]),t[n]=Math.min(...[t[n],e[n]].filter(
2Boolean));return t}function Gi(t,e,i){const[,,n,o]=Di[i];return t[n]>=e[n]&&t[o]<=e[o]}function Yi(t,e,i,n){let{offset:o,attach:s}=i;return zi(t,e,{attach:{element:Xi(s.element,n),target:Xi(s.target,n)},offset:Ji(o,n)})}function Qi(t,e,i){return qi(t,e,{...i,attach:{element:i.attach.element.map(Zi).reverse(),target:i.attach.target.map(Zi).reverse()},offset:i.offset.reverse(),placement:i.placement.reverse(),recursion:!0})}function Xi(t,e){const i=[...t],n=Di[e].indexOf(t[e]);return~n&&(i[e]=Di[e][1-n%2+2]),i}function Zi(t){for(let e=0;e<Di.length;e++){const i=Di[e].indexOf(t);if(~i)return Di[1-e][i%2+2]}}function Ji(t,e){return(t=[...t])[e]*=-1,t}var Ki=Object.freeze({__proto__:null,ajax:Wt,getImage:Vt,Transition:ie,Animation:re,attr:K,hasAttr:tt,removeAttr:et,data:it,addClass:Yt,removeClass:Qt,removeClasses:Xt,replaceClass:Zt,hasClass:Jt,toggleClass:Kt,dimensions:Le,offset:Ce,position:Te,offsetPosition:Ie,height:Oe,width:Ne,boxModelAdjust:Me,flipPosition:Be,toPx:De,ready:function(t){"loading"===document.readyState?Pt(document,"DOMContentLoaded",t):t()},isTag:ae,empty:le,html:ce,prepend:he,append:de,before:ue,after:pe,remove:me,wrapAll:ge,wrapInner:ve,unwrap:ye,fragment:_e,apply:$e,$:ke,$$:Se,inBrowser:Ve,isRtl:Re,hasTouch:Ue,pointerDown:Ye,pointerMove:Qe,pointerUp:Xe,pointerEnter:Ze,pointerLeave:Je,pointerCancel:Ke,on:Ot,off:Nt,once:Pt,trigger:Mt,createEvent:Bt,toEventTargets:zt,isTouch:jt,getEventPos:Ft,fastdom:ti,isVoidElement:ot,isVisible:st,selInput:rt,isInput:at,selFocusable:lt,isFocusable:ct,parent:ht,filter:dt,matches:ut,closest:pt,within:ft,parents:mt,children:gt,index:vt,hasOwn:i,hyphenate:o,camelize:r,ucfirst:a,startsWith:c,endsWith:h,includes:d,findIndex:u,isArray:p,toArray:f,assign:m,isFunction:g,isObject:v,isPlainObject:y,isWindow:w,isDocument:b,isNode:_,isElement:x,isBoolean:k,isString:S,isNumber:E,isNumeric:A,isEmpty:L,isUndefined:C,toBoolean:T,toNumber:I,toFloat:O,toNode:N,toNodes:P,toWindow:M,isEqual:B,swap:D,last:H,each:q,sortBy:z,sumBy:j,uniqueBy:F,clamp:W,noop:V,intersectRect:R,pointInRect:U,Dimensions:Q,getIndex:X,memoize:Z,Deferred:J,MouseTracker:ri,observeIntersection:ai,observeResize:ci,observeMutation:di,mergeOptions:vi,parseOptions:yi,play:wi,pause:bi,mute:_i,isVideo:xi,positionAt:Hi,query:yt,queryAll:wt,find:bt,findAll:_t,escape:It,css:Ut,propName:Gt,isInView:Ii,scrollIntoView:Oi,scrolledOver:Ni,scrollParents:Pi,offsetViewport:Mi});function tn(t){const e={},{args:i=[],props:n={},el:s,id:a}=t;if(!n)return e;for(const t in n){const i=o(t);let r=it(s,i);C(r)||(r=n[t]===Boolean&&""===r||sn(n[t],r),("target"!==i||!c(r,"_"))&&(e[t]=r))}const l=yi(it(s,a),i);for(const t in l){const i=r(t);C(n[i])||(e[i]=sn(n[i],l[t]))}return e}function en(t,e,n){Object.defineProperty(t,e,{enumerable:!0,get(){const{_computed:o,$props:s,$el:r}=t;return i(o,e)||(o[e]=(n.get||n).call(t,s,r)),o[e]},set(i){const{_computed:o}=t;o[e]=n.set?n.set.call(t,i):i,C(o[e])&&delete o[e]}})}function nn(t,e,i){y(e)||(e={name:i,handler:e});let{name:n,el:o,handler:s,capture:r,passive:a,delegate:l,filter:c,self:h}=e;o=g(o)?o.call(t):o||t.$el,p(o)?o.forEach((n=>nn(t,{...e,el:n},i))):!o||c&&!c.call(t)||t._events.push(Ot(o,n,l?S(l)?l:l.call(t):null,S(s)?t[s]:s.bind(t),{passive:a,capture:r,self:h}))}function on(t,e){return t.every((t=>!t||!i(t,e)))}function sn(t,e){return t===Boolean?T(e):t===Number?I(e):"list"===t?function(t){return p(t)?t:S(t)?t.split(/,(?![^(]*\))/).map((t=>A(t)?I(t):T(t.trim()))):[t]}(e):t?t(e):e}function rn(t){let{el:e,computed:i}=t.$options;if(!i)return;for(const t in i)if(i[t].document){e=e.ownerDocument;break}const n=new MutationObserver((()=>t._callWatches()));return n.observe(e,{childList:!0,subtree:!0}),n}function an(t){const{$options:e,$props:i}=t,{id:n,attrs:s,props:a,el:l}=e;if(!a||!1===s)return;const c=p(s)?s:Object.keys(a),h=c.map((t=>o(t))).concat(n),d=new MutationObserver((o=>{const s=tn(e);o.some((t=>{let{attributeName:e}=t;const o=e.replace("data-","");return(o===n?c:[r(o),r(e)]).some((t=>!C(s[t])&&s[t]!==i[t]))}))&&t.$reset()}));return d.observe(l,{attributes:!0,attributeFilter:h.concat(h.map((t=>`data-${t}`)))}),d}const ln={};function cn(t){const e=ln[t];return e&&(y(e)?e:e.options).name}const hn=function(t){this._init(t)};hn.util=Ki,hn.data="__uikit__",hn.prefix="uk-",hn.options={},hn.version="3.15.19",function(t){const e=t.data;let i;function n(t,e){if(t)for(const i in t)t[i]._connected&&t[i]._callUpdate(e)}t.use=function(t){if(!t.installed)return t.call(null,this),t.installed=!0,this},t.mixin=function(e,i){(i=(S(i)?t.component(i):i)||this).options=vi(i.options,e)},t.extend=function(t){t=t||{};const e=this,i=function(t){this._init(t)};return(i.prototype=Object.create(e.prototype)).constructor=i,i.options=vi(e.options,t),i.super=e,i.extend=e.extend,i},t.update=function(t,i){t=t?N(t):document.body;for(const o of mt(t).reverse())n(o[e],i);$e(t,(t=>n(t[e],i)))},Object.defineProperty(t,"container",{get:()=>i||document.body,set(t){i=ke(t)}})}(hn),function(t){function e(t){for(const{read:e,write:i,events:n=[]}of this.$options.update){if(!t.has("update")&&!n.some((e=>t.has(e))))continue;let o;e&&(o=e.call(this,this._data,t),o&&y(o)&&m(this._data,o)),i&&!1!==o&&ti.write((()=>{this._connected&&i.call(this,this._data,t)}))}}function n(t){const{$options:{computed:e}}=this,n={...this._computed};this._computed={};for(const o in e){const{watch:s,immediate:r}=e[o];s&&(t&&r||i(n,o)&&!B(n[o],this[o]))&&s.call(this,this[o],n[o])}}t.prototype._callHook=function(t){var e;null==(e=this.$options[t])||e.forEach((t=>t.call(this)))},t.prototype._callConnected=function(){this._connected||(this._data={},this._computed={},this._initProps(),this._callHook("beforeConnect"),this._connected=!0,this._initEvents(),this._initOb
2servers(),this._callHook("connected"),this._callUpdate())},t.prototype._callDisconnected=function(){this._connected&&(this._callHook("beforeDisconnect"),this._disconnectObservers(),this._unbindEvents(),this._callHook("disconnected"),this._connected=!1,delete this._watch)},t.prototype._callUpdate=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"update";this._connected&&(("update"===t||"resize"===t)&&this._callWatches(),this.$options.update&&(this._updates||(this._updates=new Set,ti.read((()=>{this._connected&&e.call(this,this._updates),delete this._updates}))),this._updates.add(t.type||t)))},t.prototype._callWatches=function(){if(this._watch)return;const t=!i(this,"_watch");this._watch=ti.read((()=>{this._connected&&n.call(this,t),this._watch=null}))}}(hn),function(t){let e=0;t.prototype._init=function(t){(t=t||{}).data=function(t,e){let{data:i={}}=t,{args:n=[],props:o={}}=e;p(i)&&(i=i.slice(0,n.length).reduce(((t,e,i)=>(y(e)?m(t,e):t[n[i]]=e,t)),{}));for(const t in i)C(i[t])?delete i[t]:o[t]&&(i[t]=sn(o[t],i[t]));return i}(t,this.constructor.options),this.$options=vi(this.constructor.options,t,this),this.$el=null,this.$props={},this._uid=e++,this._initData(),this._initMethods(),this._initComputeds(),this._callHook("created"),t.el&&this.$mount(t.el)},t.prototype._initData=function(){const{data:t={}}=this.$options;for(const e in t)this.$props[e]=this[e]=t[e]},t.prototype._initMethods=function(){const{methods:t}=this.$options;if(t)for(const e in t)this[e]=t[e].bind(this)},t.prototype._initComputeds=function(){const{computed:t}=this.$options;if(this._computed={},t)for(const e in t)en(this,e,t[e])},t.prototype._initProps=function(t){let e;for(e in t=t||tn(this.$options))C(t[e])||(this.$props[e]=t[e]);const i=[this.$options.computed,this.$options.methods];for(e in this.$props)e in t&&on(i,e)&&(this[e]=this.$props[e])},t.prototype._initEvents=function(){this._events=[];for(const t of this.$options.events||[])if(i(t,"handler"))nn(this,t);else for(const e in t)nn(this,t[e],e)},t.prototype._unbindEvents=function(){this._events.forEach((t=>t())),delete this._events},t.prototype._initObservers=function(){this._observers=[an(this),rn(this)]},t.prototype.registerObserver=function(){this._observers.push(...arguments)},t.prototype._disconnectObservers=function(){this._observers.forEach((t=>null==t?void 0:t.disconnect()))}}(hn),function(t){const{data:e,prefix:i}=t;t.component=function(e,n){e=o(e);const s=i+e;if(!n)return y(ln[s])&&(ln[s]=ln[`data-${s}`]=t.extend(ln[s])),ln[s];e=r(e),t[e]=function(i,n){const o=t.component(e);return o.options.functional?new o({data:y(i)?i:[...arguments]}):i?Se(i).map(s)[0]:s();function s(i){const s=t.getComponent(i,e);if(s){if(!n)return s;s.$destroy()}return new o({el:i,data:n})}};const a=y(n)?{...n}:n.options;return a.id=s,a.name=e,null==a.install||a.install(t,a,e),t._initialized&&!a.functional&&requestAnimationFrame((()=>t[e](`[${s}],[data-${s}]`))),ln[s]=ln[`data-${s}`]=y(n)?a:n},t.getComponents=t=>(null==t?void 0:t[e])||{},t.getComponent=(e,i)=>t.getComponents(e)[i],t.connect=i=>{if(i[e])for(const t in i[e])i[e][t]._callConnected();for(const e of i.getAttributeNames()){const n=cn(e);n&&t[n](i)}},t.disconnect=t=>{for(const i in t[e])t[e][i]._callDisconnected()}}(hn),function(t){const e=t.data;t.prototype.$create=function(e,i,n){return t[e](i,n)},t.prototype.$mount=function(t){const{name:i}=this.$options;t[e]||(t[e]={}),!t[e][i]&&(t[e][i]=this,this.$el=this.$options.el=this.$options.el||t,ft(t,document)&&this._callConnected())},t.prototype.$reset=function(){this._callDisconnected(),this._callConnected()},t.prototype.$destroy=function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const{el:i,name:n}=this.$options;i&&this._callDisconnected(),this._callHook("destroy"),null!=i&&i[e]&&(delete i[e][n],L(i[e])||delete i[e],t&&me(this.$el))},t.prototype.$emit=function(t){this._callUpdate(t)},t.prototype.$update=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.$el,i=arguments.length>1?arguments[1]:void 0;t.update(e,i)},t.prototype.$getComponent=t.getComponent,Object.defineProperty(t.prototype,"$container",Object.getOwnPropertyDescriptor(t,"container"))}(hn);var dn={connected(){Yt(this.$el,this.$options.id)}},un={data:{preload:5},methods:{lazyload(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.$el,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.$el;this.registerObserver(ai(t,((t,i)=>{for(const t of P(g(e)?e():e))Se('[loading="lazy"]',t).slice(0,this.preload-1).forEac
2h((t=>et(t,"loading")));for(const e of t.filter((t=>{let{isIntersecting:e}=t;return e})).map((t=>{let{target:e}=t;return e})))i.unobserve(e)})))}}},pn={props:{cls:Boolean,animation:"list",duration:Number,velocity:Number,origin:String,transition:String},data:{cls:!1,animation:[!1],duration:200,velocity:.2,origin:!1,transition:"ease",clsEnter:"uk-togglabe-enter",clsLeave:"uk-togglabe-leave"},computed:{hasAnimation(t){let{animation:e}=t;return!!e[0]},hasTransition(t){let{animation:e}=t;return["slide","reveal"].some((t=>c(e[0],t)))}},methods:{toggleElement(t,e,i){return new Promise((n=>Promise.all(P(t).map((t=>{const n=k(e)?e:!this.isToggled(t);if(!Mt(t,"before"+(n?"show":"hide"),[this]))return Promise.reject();const o=(g(i)?i:!1!==i&&this.hasAnimation?this.hasTransition?mn:gn:fn)(t,n,this),s=n?this.clsEnter:this.clsLeave;Yt(t,s),Mt(t,n?"show":"hide",[this]);const r=()=>{Qt(t,s),Mt(t,n?"shown":"hidden",[this])};return o?o.then(r,(()=>(Qt(t,s),Promise.reject()))):r()}))).then(n,V)))},isToggled(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.$el;return[t]=P(t),!!Jt(t,this.clsEnter)||!Jt(t,this.clsLeave)&&(this.cls?Jt(t,this.cls.split(" ")[0]):st(t))},_toggle(t,e){if(!t)return;let i;e=Boolean(e),this.cls?(i=d(this.cls," ")||e!==Jt(t,this.cls),i&&Kt(t,this.cls,d(this.cls," ")?void 0:e)):(i=e===t.hidden,i&&(t.hidden=!e)),Se("[autofocus]",t).some((t=>st(t)?t.focus()||!0:t.blur())),i&&Mt(t,"toggled",[e,this])}}};function fn(t,e,i){let{_toggle:n}=i;return re.cancel(t),ie.cancel(t),n(t,e)}async function mn(t,e,i){let{animation:n,duration:o,velocity:s,transition:r,_toggle:a}=i;var l;const[c="reveal",h="top"]=(null==(l=n[0])?void 0:l.split("-"))||[],u=[["left","right"],["top","bottom"]],p=u[d(u[0],h)?0:1],f=p[1]===h,m=["width","height"][u.indexOf(p)],g=`margin-${p[0]}`,v=`margin-${h}`;let y=Le(t)[m];const w=ie.inProgress(t);await ie.cancel(t),e&&a(t,!0);const b=Object.fromEntries(["padding","border","width","height","minWidth","minHeight","overflowY","overflowX",g,v].map((e=>[e,t.style[e]]))),_=Le(t),x=O(Ut(t,g)),$=O(Ut(t,v)),k=_[m]+$;!w&&!e&&(y+=$);const[S]=ve(t,"<div>");Ut(S,{boxSizing:"border-box",height:_.height,width:_.width,...Ut(t,["overflow","padding","borderTop","borderRight","borderBottom","borderLeft","borderImage",v])}),Ut(t,{padding:0,border:0,minWidth:0,minHeight:0,[v]:0,width:_.width,height:_.height,overflow:"hidden",[m]:y});const E=y/k;o=(s*k+o)*(e?1-E:E);const A={[m]:e?k:0};f&&(Ut(t,g,k-y+x),A[g]=e?x:k+x),!f^"reveal"===c&&(Ut(S,g,-k+y),ie.start(S,{[g]:e?0:-k},o,r));try{await ie.start(t,A,o,r)}finally{Ut(t,b),ye(S.firstChild),e||a(t,!1)}}function gn(t,e,i){re.cancel(t);const{animation:n,duration:o,_toggle:s}=i;return e?(s(t,!0),re.in(t,n[0],o,i.origin)):re.out(t,n[1]||n[0],o,i.origin).then((()=>s(t,!1)))}var vn={mixins:[dn,un,pn],props:{animation:Boolean,targets:String,active:null,collapsible:Boolean,multiple:Boolean,toggle:String,content:String,offset:Number},data:{targets:"> *",active:!1,animation:!0,collapsible:!0,multiple:!1,clsOpen:"uk-open",toggle:"> .uk-accordion-title",content:"> .uk-accordion-content",offset:0},computed:{items:{get(t,e){let{targets:i}=t;return Se(i,e)},watch(t,e){if(e||Jt(t,this.clsOpen))return;const i=!1!==this.active&&t[Number(this.active)]||!this.collapsible&&t[0];i&&this.toggle(i,!1)},immediate:!0},toggles(t){let{toggle:e}=t;return this.items.map((t=>ke(e,t)))},contents:{get(t){let{content:e}=t;return this.items.map((t=>ke(e,t)))},watch(t){for(const e of t)yn(e,!Jt(this.items.find((t=>ft(e,t))),this.clsOpen))},immediate:!0}},connected(){this.lazyload()},events:[{name:"click",delegate(){return`${this.targets} ${this.$props.toggle}`},async handler(t){var e;t.preventDefault(),null==(e=this._off)||e.call(this),this._off=function(t){const[e]=Pi(t,/auto|scroll/,!0);let i;return function n(){i=requestAnimationFrame((()=>{const{top:i}=t.getBoundingClientRect();i<0&&(e.scrollTop+=i),n()}))}(),()=>requestAnimationFrame((()=>cancelAnimationFrame(i)))}(t.target),await this.toggle(vt(this.toggles,t.current)),this._off()}}],methods:{async toggle(t,e){let i=[t=this.items[X(t,this.items)]];const n=dt(this.items,`.${this.clsOpen}`);!this.multiple&&!d(n,i[0])&&(i=i.concat(n)),!(!this.collapsible&&n.length<2&&d(n,t))&&await Promise.all(i.map((t=>this.toggleElement(t,!d(n,t),((t,i)=>{if(Kt(t,this.clsOpen,i),K(ke(this.$props.toggle,t),"aria-expanded",i),!1!==e&&this.animation)return async function(t,e,
2i){let{content:n,duration:o,velocity:s,transition:r}=i;var a;n=(null==(a=t._wrapper)?void 0:a.firstElementChild)||ke(n,t),t._wrapper||(t._wrapper=ge(n,"<div>"));const l=t._wrapper;Ut(l,"overflow","hidden");const c=O(Ut(l,"height"));await ie.cancel(l),yn(n,!1);const h=j(["marginTop","marginBottom"],(t=>Ut(n,t)))+Le(n).height,d=c/h;o=(s*h+o)*(e?1-d:d),Ut(l,"height",c),await ie.start(l,{height:e?h:0},o,r),ye(n),delete t._wrapper,e||yn(n,!0)}(t,i,this);yn(ke(this.content,t),!i)})))))}}};function yn(t,e){t&&(t.hidden=e)}var wn={mixins:[dn,pn],args:"animation",props:{animation:Boolean,close:String},data:{animation:!0,selClose:".uk-alert-close",duration:150},events:{name:"click",delegate(){return this.selClose},handler(t){t.preventDefault(),this.close()}},methods:{async close(){await this.toggleElement(this.$el,!1,bn),this.$destroy(!0)}}};function bn(t,e,i){let{duration:n,transition:o,velocity:s}=i;const r=O(Ut(t,"height"));return Ut(t,"height",r),ie.start(t,{height:0,marginTop:0,marginBottom:0,paddingTop:0,paddingBottom:0,borderTop:0,borderBottom:0,opacity:0},s*r+n,o)}var _n={args:"autoplay",props:{automute:Boolean,autoplay:Boolean},data:{automute:!1,autoplay:!0},connected(){this.inView="inview"===this.autoplay,this.inView&&!tt(this.$el,"preload")&&(this.$el.preload="none"),ae(this.$el,"iframe")&&!tt(this.$el,"allow")&&(this.$el.allow="autoplay"),this.automute&&_i(this.$el),this.registerObserver(ai(this.$el,(()=>this.$emit()),{},!1))},update:{read(t){let{visible:e}=t;return!!xi(this.$el)&&{prev:e,visible:st(this.$el)&&"hidden"!==Ut(this.$el,"visibility"),inView:this.inView&&Ii(this.$el)}},write(t){let{prev:e,visible:i,inView:n}=t;!i||this.inView&&!n?bi(this.$el):(!0===this.autoplay&&!e||this.inView&&n)&&wi(this.$el)}}},xn={connected(){var t;this.registerObserver(ci((null==(t=this.$options.resizeTargets)?void 0:t.call(this))||this.$el,(()=>this.$emit("resize"))))}},$n={mixins:[xn,_n],props:{width:Number,height:Number},data:{automute:!0},events:{"load loadedmetadata"(){this.$emit("resize")}},resizeTargets(){return[this.$el,kn(this.$el)||ht(this.$el)]},update:{read(){const{ratio:t,cover:e}=Q,{$el:i,width:n,height:o}=this;let s={width:n,height:o};if(!s.width||!s.height){const e={width:i.naturalWidth||i.videoWidth||i.clientWidth,height:i.naturalHeight||i.videoHeight||i.clientHeight};s=s.width?t(e,"width",s.width):o?t(e,"height",s.height):e}const{offsetHeight:r,offsetWidth:a}=kn(i)||ht(i),l=e(s,{width:a+(a%2?1:0),height:r+(r%2?1:0)});return!(!l.width||!l.height)&&l},write(t){let{height:e,width:i}=t;Ut(this.$el,{height:e,width:i})},events:["resize"]}};function kn(t){for(;t=ht(t);)if("static"!==Ut(t,"position"))return t}var Sn={props:{container:Boolean},data:{container:!0},computed:{container(t){let{container:e}=t;return!0===e&&this.$container||e&&ke(e)}}},En={props:{pos:String,offset:null,flip:Boolean,shift:Boolean,inset:Boolean},data:{pos:"bottom-"+(Re?"right":"left"),offset:!1,flip:!0,shift:!0,inset:!1},connected(){this.pos=this.$props.pos.split("-").concat("center").slice(0,2),[this.dir,this.align]=this.pos,this.axis=d(["top","bottom"],this.dir)?"y":"x"},methods:{positionAt(t,e,i){let n=[this.getPositionOffset(t),this.getShiftOffset(t)];const o=[this.flip&&"flip",this.shift&&"shift"],s={element:[this.inset?this.dir:Be(this.dir),this.align],target:[this.dir,this.align]};if("y"===this.axis){for(const t in s)s[t].reverse();n.reverse(),o.reverse()}const[r]=Pi(t,/auto|scroll/),{scrollTop:a,scrollLeft:l}=r,c=Le(t);Ut(t,{top:-c.height,left:-c.width}),Hi(t,e,{attach:s,offset:n,boundary:i,placement:o,viewportOffset:this.getViewportOffset(t)}),r.scrollTop=a,r.scrollLeft=l},getPositionOffset(t){return De(!1===this.offset?Ut(t,"--uk-position-offset"):this.offset,"x"===this.axis?"width":"height",t)*(d(["left","top"],this.dir)?-1:1)*(this.inset?-1:1)},getShiftOffset(t){return"center"===this.align?0:De(Ut(t,"--uk-position-shift-offset"),"y"===this.axis?"width":"height",t)*(d(["left","top"],this.align)?1:-1)},getViewportOffset:t=>De(Ut(t,"--uk-position-viewport-offset"))}};const An=[];var Ln={mixins:[dn,Sn,pn],props:{selPanel:String,selClose:String,escClose:Boolean,bgClose:Boolean,stack:Boolean},data:{cls:"uk-open",escClose:!0,bgClose:!0,overlay:!0,stack:!1},computed:{panel(t,e){let{selPanel:i}=t;return ke(i,e)},transitionElement(){return this.panel},bgClose(t){let{bgClose:e}=t;return e&&this.panel}},beforeDisconnect(){d(An,this)&&this.toggleElement(this.$el,!1,!1)},events:[{name:"click",delegate(){return`${this.selClose},a[href*="#"]`},handler(t){const{current:e,defaultPrevented:i}=t,{hash:n}=e;!i&&n&&Mn(e)&&!ft(n,this.$el)&&ke(n,document.body)?this.hide():ut(e,this.selClose)&&(t.preventDefault(),this.hide())}},{name:"toggle",self:!0,handler(t){t.defaultPrevented||(t.preventDefault(),this.isToggled()===d(An,this)&&this.toggle())}},{name:"beforeshow",self:!0,handler(t){if(d(An,this))return!1;!this.stack&&An.length?(Promise.all(An.map((t=>t.hide()))).then(this.show),t.preventDefault()):An.push(this)}}
2,{name:"show",self:!0,handler(){Pt(this.$el,"hide",Ot(document,"focusin",(t=>{H(An)===this&&!ft(t.target,this.$el)&&this.$el.focus()}))),this.overlay&&(Pt(this.$el,"hidden",Tn(this.$el),{self:!0}),Pt(this.$el,"hidden",Nn(),{self:!0})),this.stack&&Ut(this.$el,"zIndex",O(Ut(this.$el,"zIndex"))+An.length),Yt(document.documentElement,this.clsPage),this.bgClose&&Pt(this.$el,"hide",Ot(document,Ye,(t=>{let{target:e}=t;H(An)!==this||this.overlay&&!ft(e,this.$el)||ft(e,this.panel)||Pt(document,`${Xe} ${Ke} scroll`,(t=>{let{defaultPrevented:i,type:n,target:o}=t;!i&&n===Xe&&e===o&&this.hide()}),!0)})),{self:!0}),this.escClose&&Pt(this.$el,"hide",Ot(document,"keydown",(t=>{27===t.keyCode&&H(An)===this&&this.hide()})),{self:!0})}},{name:"shown",self:!0,handler(){ct(this.$el)||K(this.$el,"tabindex","-1"),ke(":focus",this.$el)||this.$el.focus()}},{name:"hidden",self:!0,handler(){d(An,this)&&An.splice(An.indexOf(this),1),Ut(this.$el,"zIndex",""),An.some((t=>t.clsPage===this.clsPage))||Qt(document.documentElement,this.clsPage)}}],methods:{toggle(){return this.isToggled()?this.hide():this.show()},show(){return this.container&&ht(this.$el)!==this.container?(de(this.container,this.$el),new Promise((t=>requestAnimationFrame((()=>this.show().then(t)))))):this.toggleElement(this.$el,!0,Cn)},hide(){return this.toggleElement(this.$el,!1,Cn)}}};function Cn(t,e,i){let{transitionElement:n,_toggle:o}=i;return new Promise(((i,s)=>Pt(t,"show hide",(()=>{null==t._reject||t._reject(),t._reject=s,o(t,e);const r=Pt(n,"transitionstart",(()=>{Pt(n,"transitionend transitioncancel",i,{self:!0}),clearTimeout(a)}),{self:!0}),a=setTimeout((()=>{r(),i()}),function(t){return t?h(t,"ms")?O(t):1e3*O(t):0}(Ut(n,"transitionDuration")))})))).then((()=>delete t._reject))}function Tn(t){if(CSS.supports("overscroll-behavior","contain")){const e=[t,...Pn(t,(t=>/auto|scroll/.test(Ut(t,"overflow"))))];return Ut(e,"overscrollBehavior","contain"),()=>Ut(e,"overscrollBehavior","")}let e;const i=[Ot(t,"touchstart",(t=>{let{targetTouches:i}=t;1===i.length&&(e=i[0].clientY)}),{passive:!0}),Ot(t,"touchmove",(i=>{if(1!==i.targetTouches.length)return;let[n]=Pi(i.target,/auto|scroll/);ft(n,t)||(n=t);const o=i.targetTouches[0].clientY-e,{scrollTop:s,scrollHeight:r,clientHeight:a}=n;(a>=r||0===s&&o>0||r-s<=a&&o<0)&&i.cancelable&&i.preventDefault()}),{passive:!1})];return()=>i.forEach((t=>t()))}let In,On;function Nn(){if(In)return V;In=!0;const{scrollingElement:t}=document;return Ut(t,{overflowY:"hidden",touchAction:"none",paddingRight:Ne(window)-t.clientWidth}),()=>{In=!1,Ut(t,{overflowY:"",touchAction:"",paddingRight:""})}}function Pn(t,e){const i=[];return $e(t,(t=>{e(t)&&i.push(t)})),i}function Mn(t){return["origin","pathname","search"].every((e=>t[e]===location[e]))}var Bn={mixins:[Sn,un,En,pn],args:"pos",props:{mode:"list",toggle:Boolean,boundary:Boolean,boundaryX:Boolean,boundaryY:Boolean,target:Boolean,targetX:Boolean,targetY:Boolean,stretch:Boolean,delayShow:Number,delayHide:Number,autoUpdate:Boolean,clsDrop:String,animateOut:Boolean,bgScroll:Boolean},data:{mode:["click","hover"],toggle:"- *",boundary:!1,boundaryX:!1,boundaryY:!1,target:!1,targetX:!1,targetY:!1,stretch:!1,delayShow:0,delayHide:800,autoUpdate:!0,clsDrop:!1,animateOut:!1,bgScroll:!0,animation:["uk-animation-fade"],cls:"uk-open",container:!1},computed:{boundary(t,e){let{boundary:i,boundaryX:n,boundaryY:o}=t;return[yt(n||i,e)||window,yt(o||i,e)||window]},target(t,e){let{target:i,targetX:n,targetY:o}=t;return n=n||i||this.targetEl,o=o||i||this.targetEl,[!0===n?window:yt(n,e),!0===o?window:yt(o,e)]}},created(){this.tracker=new ri},beforeConnect(){this.clsDrop=this.$props.clsDrop||`uk-${this.$options.name}`},connected(){Yt(this.$el,this.clsDrop),this.toggle&&!this.targetEl&&(this.targetEl=this.$create("toggle",yt(this.toggle,this.$el),{target:this.$el,mode:this.mode}).$el,K(this.targetEl,"aria-haspopup",!0),this.lazyload(this.targetEl)),this._style=(t=>{let{width:e,height:i}=t;return{width:e,height:i}})(this.$el.style)},disconnected(){this.isActive()&&(this.hide(!1),On=null),Ut(this.$el,this._style)},events:[{name:"click",delegate(){return`.${this.clsDrop}-close`},handler(t){t.preventDefault(),this.hide(!1)}},{name:"click",delegate:()=>'a[href*="#"]',handler(t){let{defaultPrevented:e,current:i}=t;const{hash:n}=i;!e&&n&&Mn(i)&&!ft(n,this.$el)&&this.hide(!1)}},{name:"beforescroll",handler(){this.hide(!1)}},{name:"toggle",self:!0,handler(t,e){t.preventDefault(),this.isToggled()?this.hide(!1):this.show(null==e?void 0:e.$el,!1)}},{name:"toggleshow",self:!0,handler(t,e){t.preventDefault(),this.show(null==e?void 0:e.$el)}},{name:"togglehide",self:!0,handler(t){t.preventDefault(),ut(this.$el,":focus,:hover")||this.hide()}},{name:`${Ze} focusin`,filter(){return d(this.mode,"hover")},handler(t){jt(t)||this.clearTimers()}},{name:`${Je} focusout`,filter(){return d(this.mode,"hover")},handler(t){!jt(t)&&t.relatedTarget&&this.hide()}},{name:"toggled",self:!0,handler(t,e){e&&(this.clearTimers(),this.position())}}
2,{name:"show",self:!0,handler(){On=this,this.tracker.init();const t=()=>this.$emit(),e=[Ot(document,Ye,(t=>{let{target:e}=t;return!ft(e,this.$el)&&Pt(document,`${Xe} ${Ke} scroll`,(t=>{let{defaultPrevented:i,type:n,target:o}=t;!i&&n===Xe&&e===o&&(!this.targetEl||!ft(e,this.targetEl))&&this.hide(!1)}),!0)})),Ot(document,"keydown",(t=>{27===t.keyCode&&this.hide(!1)})),Ot(window,"resize",t),(()=>{const e=ci(Pi(this.$el).concat(this.target),t);return()=>e.disconnect()})(),...this.autoUpdate?[Ot([document,Pi(this.$el)],"scroll",t,{passive:!0})]:[],...this.bgScroll?[]:[Tn(this.$el),Nn()]];Pt(this.$el,"hide",(()=>e.forEach((t=>t()))),{self:!0})}},{name:"beforehide",self:!0,handler(){this.clearTimers()}},{name:"hide",handler(t){let{target:e}=t;this.$el===e?(On=this.isActive()?null:On,this.tracker.cancel()):On=null===On&&ft(e,this.$el)&&this.isToggled()?this:On}}],update:{write(){this.isToggled()&&!Jt(this.$el,this.clsEnter)&&this.position()}},methods:{show(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.targetEl,e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(this.isToggled()&&t&&this.targetEl&&t!==this.targetEl&&this.hide(!1,!1),this.targetEl=t,this.clearTimers(),!this.isActive()){if(On){if(e&&On.isDelaying)return void(this.showTimer=setTimeout((()=>ut(t,":hover")&&this.show()),10));let i;for(;On&&i!==On&&!ft(this.$el,On.$el);)i=On,On.hide(!1,!1)}this.container&&ht(this.$el)!==this.container&&de(this.container,this.$el),this.showTimer=setTimeout((()=>this.toggleElement(this.$el,!0)),e&&this.delayShow||0)}},hide(){let t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const i=()=>this.toggleElement(this.$el,!1,this.animateOut&&e);this.clearTimers(),this.isDelaying=function(t){const e=[];return $e(t,(t=>"static"!==Ut(t,"position")&&e.push(t))),e}(this.$el).some((t=>this.tracker.movesTo(t))),t&&this.isDelaying?this.hideTimer=setTimeout(this.hide,50):t&&this.delayHide?this.hideTimer=setTimeout(i,this.delayHide):i()},clearTimers(){clearTimeout(this.showTimer),clearTimeout(this.hideTimer),this.showTimer=null,this.hideTimer=null,this.isDelaying=!1},isActive(){return On===this},position(){Qt(this.$el,`${this.clsDrop}-stack`),Ut(this.$el,this._style),this.$el.hidden=!0;const t=this.target.map((t=>function(t,e){return Mi(Pi(e).find((e=>ft(t,e))))}(this.$el,t))),e=this.getViewportOffset(this.$el),i=[[0,["x","width","left","right"]],[1,["y","height","top","bottom"]]];for(const[n,[o,s]]of i)this.axis!==o&&d([o,!0],this.stretch)&&Ut(this.$el,{[s]:Math.min(Ce(this.boundary[n])[s],t[n][s]-2*e),[`overflow-${o}`]:"auto"});const n=t[0].width-2*e;this.$el.offsetWidth>n&&Yt(this.$el,`${this.clsDrop}-stack`),Ut(this.$el,"maxWidth",n),this.$el.hidden=!1,this.positionAt(this.$el,this.target,this.boundary);for(const[n,[o,s,r,a]]of i)if(this.axis===o&&d([o,!0],this.stretch)){const i=Math.abs(this.getPositionOffset(this.$el)),l=Ce(this.target[n]),c=Ce(this.$el);Ut(this.$el,{[s]:(l[r]>c[r]?l[r]-Math.max(Ce(this.boundary[n])[r],t[n][r]+e):Math.min(Ce(this.boundary[n])[a],t[n][a]-e)-l[a])-i,[`overflow-${o}`]:"auto"}),this.positionAt(this.$el,this.target,this.boundary)}}}};var Dn={mixins:[dn],args:"target",props:{target:Boolean},data:{target:!1},computed:{input:(t,e)=>ke(rt,e),state(){return this.input.nextElementSibling},target(t,e){let{target:i}=t;return i&&(!0===i&&ht(this.input)===e&&this.input.nextElementSibling||ke(i,e))}},update(){var t;const{target:e,input:i}=this;if(!e)return;let n;const o=at(e)?"value":"textContent",s=e[o],r=null!=(t=i.files)&&t[0]?i.files[0].name:ut(i,"select")&&(n=Se("option",i).filter((t=>t.selected))[0])?n.textContent:i.value;s!==r&&(e[o]=r)},events:[{name:"change",handler(){this.$emit()}},{name:"reset",el(){return pt(this.$el,"form")},handler(){this.$emit()}}]},Hn={mixins:[xn],props:{margin:String,firstColumn:Boolean},data:{margin:"uk-margin-small-top",firstColumn:"uk-first-column"},resizeTargets(){return[this.$el,...f(this.$el.children)]},connected(){this.registerObserver(di(this.$el,(()=>this.$reset()),{childList:!0,attributes:!0,attributeFilter:["style"]}))},update:{read(){const t=qn(this.$el.children);return{rows:t,columns:zn(t)}},write(t){let{columns:e,rows:i}=t;
2for(const t of i)for(const n of t)Kt(n,this.margin,i[0]!==t),Kt(n,this.firstColumn,e[0].includes(n))},events:["resize"]}};function qn(t){return jn(t,"top","bottom")}function zn(t){const e=[];for(const i of t){const t=jn(i,"left","right");for(let i=0;i<t.length;i++)e[i]=e[i]?e[i].concat(t[i]):t[i]}return Re?e.reverse():e}function jn(t,e,i){const n=[[]];for(const o of t){if(!st(o))continue;let t=Fn(o);for(let s=n.length-1;s>=0;s--){const r=n[s];if(!r[0]){r.push(o);break}let a;if(r[0].offsetParent===o.offsetParent?a=Fn(r[0]):(t=Fn(o,!0),a=Fn(r[0],!0)),t[e]>=a[i]-1&&t[e]!==a[e]){n.push([o]);break}if(t[i]-1>a[e]||t[e]===a[e]){r.push(o);break}if(0===s){n.unshift([o]);break}}}return n}function Fn(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],{offsetTop:i,offsetLeft:n,offsetHeight:o,offsetWidth:s}=t;return e&&([i,n]=Ie(t)),{top:i,left:n,bottom:i+o,right:n+s}}var Wn={connected(){Un(this._uid,(()=>this.$emit("scroll")))},disconnected(){Gn(this._uid)}};const Vn=new Map;let Rn;function Un(t,e){Rn=Rn||Ot(window,"scroll",(()=>Vn.forEach((t=>t()))),{passive:!0,capture:!0}),Vn.set(t,e)}function Gn(t){Vn.delete(t),Rn&&!Vn.size&&(Rn(),Rn=null)}var Yn={extends:Hn,mixins:[dn],name:"grid",props:{masonry:Boolean,parallax:Number},data:{margin:"uk-grid-margin",clsStack:"uk-grid-stack",masonry:!1,parallax:0},connected(){this.masonry&&Yt(this.$el,"uk-flex-top uk-flex-wrap-top"),this.parallax&&Un(this._uid,(()=>this.$emit("scroll")))},disconnected(){Gn(this._uid)},update:[{write(t){let{columns:e}=t;Kt(this.$el,this.clsStack,e.length<2)},events:["resize"]},{read(t){let{columns:e,rows:i}=t;if(!e.length||!this.masonry&&!this.parallax||Qn(this.$el))return t.translates=!1,!1;let n=!1;const o=gt(this.$el),s=e.map((t=>j(t,"offsetHeight"))),r=function(t,e){const[i]=t.filter((t=>Jt(t,e)));return O(i?Ut(i,"marginTop"):Ut(t[0],"paddingLeft"))}(o,this.margin)*(i.length-1),a=Math.max(...s)+r;this.masonry&&(e=e.map((t=>z(t,"offsetTop"))),n=function(t,e){const i=t.map((t=>Math.max(...t.map((t=>t.offsetHeight)))));return e.map((t=>{let e=0;return t.map(((n,o)=>e+=o?i[o-1]-t[o-1].offsetHeight:0))}))}(i,e));let l=Math.abs(this.parallax);return l&&(l=s.reduce(((t,e,i)=>Math.max(t,e+r+(i%2?l:l/8)-a)),0)),{padding:l,columns:e,translates:n,height:n?a:""}},write(t){let{height:e,padding:i}=t;Ut(this.$el,"paddingBottom",i||""),!1!==e&&Ut(this.$el,"height",e)},events:["resize"]},{read(){return(!this.parallax||!Qn(this.$el))&&{scrolled:!!this.parallax&&Ni(this.$el)*Math.abs(this.parallax)}},write(t){let{columns:e,scrolled:i,translates:n}=t;!1===i&&!n||e.forEach(((t,e)=>t.forEach(((t,o)=>Ut(t,"transform",i||n?`translateY(${(n&&-n[e][o])+(i?e%2?i:i/8:0)}px)`:"")))))},events:["scroll","resize"]}]};function Qn(t){return gt(t).some((t=>"absolute"===Ut(t,"position")))}var Xn={mixins:[xn],args:"target",props:{target:String,row:Boolean},data:{target:"> *",row:!0},computed:{elements:{get(t,e){let{target:i}=t;return Se(i,e)},watch(){this.$reset()}}},resizeTargets(){return[this.$el,...this.elements]},update:{read(){return{rows:(this.row?qn(this.elements):[this.elements]).map(Zn)}},write(t){let{rows:e}=t;for(const{heights:t,elements:i}of e)i.forEach(((e,i)=>Ut(e,"minHeight",t[i])))},events:["resize"]}};function Zn(t){if(t.length<2)return{heights:[""],elements:t};Ut(t,"minHeight","");let e=t.map(Jn);const i=Math.max(...e);return{heights:t.map(((t,n)=>e[n].toFixed(2)===i.toFixed(2)?"":i)),elements:t}}function Jn(t){let e=!1;st(t)||(e=t.style.display,Ut(t,"display","block","important"));const i=Le(t).height-Me(t,"height","content-box");return!1!==e&&Ut(t,"display",e),i}var Kn={mixins:[xn],props:{expand:Boolean,offsetTop:Boolean,offsetBottom:Boolean,minHeight:Number},data:{expand:!1,offsetTop:!1,offsetBottom:!1,minHeight:0},resizeTargets(){return[this.$el,...Pi(this.$el,/auto|scroll/)]},update:{read(t){let{minHeight:e}=t;if(!st(this.$el))return!1;let i="";const n=Me(this.$el,"height","content-box"),{body:o,scrollingElement:s}=document,[r]=Pi(this.$el,/auto|scroll/),{height:a}=Mi(r===o?s:r);if(this.expand)i=Math.max(a-(Le(r).height-Le(this.$el).height)-n,0);else{const t=s===r||o===r;if(i="calc("+(t?"100vh":`${a}px`),this.offsetTop)if(t){const t=Ie(this.$el)[0]-Ie(r)[0];i+=t>0&&t<a/2?` - ${t}px`:""}else i+=` - ${Ut(r,"paddingTop")}`;!0===this.offsetBottom?i+=` - ${Le(this.$el.nextElementSibling).height}px`:A(this.offsetBottom)?i+=` - ${this.offsetBottom}vh`:this.offsetBottom&&h(this.offsetBottom,"px")?i+=` - ${O(this.offsetBottom)}px`:S(this.offsetBottom)&&(i+=` - ${Le(yt(this.offsetBottom,this.$el)).height}px`),i+=(n?` - ${n}px`:"")+")"}return{minHeight:i,prev:e}},write(t){let{minHeight:e}=t;Ut(this.$el,{minHeight:e}),this.minHeight&&O(Ut(this.$el,"minHeight"))<this.minHeight&&Ut(this.$el,"minHeight",this.minHeight)},events:["resize"]}},to={args:"src",props:{id:Boolean,icon:String,src:String,style:String,width:Number,height:Number,ratio:Number,class:String,strokeAnimation:Boolean,attributes:"list"},data:{ratio:1,include:["style","class"],class:"",strokeAnimation:!1},beforeConnect(){this.class+=" uk-svg"},connected(){!this.icon&&d(this.src,"#")&&([this.src,this.icon]=this.src.split("#")),this.svg=this.getSvg().then((t=>{if(this._connected){const e=function(t,e){if(ot(e)||ae(e,"canvas")){e.hidden=!0;const i=e.nextElementSibling;return ro(t,i)?i:pe(e,t)}const i=e.lastElementChild;return ro(t,i)?i:de(e,t)}(t,this.$el);return this.svgEl&&e!==this.svgEl&&me(this.svgEl),this.applyAttributes(e,t),this.svgEl=e}}),V),this.strokeAnimation&&this.svg.then((t=>{this._connected&&t&&(oo(t),this.registerObserver(ai(t,((e,i)=>{oo(t),i.disconnect()}))))}
2))},disconnected(){this.svg.then((t=>{this._connected||(ot(this.$el)&&(this.$el.hidden=!1),me(t),this.svgEl=null)})),this.svg=null},methods:{async getSvg(){return ae(this.$el,"img")&&!this.$el.complete&&"lazy"===this.$el.loading?new Promise((t=>Pt(this.$el,"load",(()=>t(this.getSvg()))))):(t=await eo(this.src),(e=this.icon)&&d(t,"<symbol")&&(t=function(t,e){if(!no[t]){let e;for(no[t]={},io.lastIndex=0;e=io.exec(t);)no[t][e[3]]=`<svg xmlns="http://www.w3.org/2000/svg"${e[1]}svg>`}return no[t][e]}(t,e)||t),(null==(i=t=ke(t.substr(t.indexOf("<svg"))))?void 0:i.hasChildNodes())&&t||Promise.reject("SVG not found."));var t,e,i},applyAttributes(t,e){for(const e in this.$options.props)d(this.include,e)&&e in this&&K(t,e,this[e]);for(const e in this.attributes){const[i,n]=this.attributes[e].split(":",2);K(t,i,n)}this.id||et(t,"id");const i=["width","height"];let n=i.map((t=>this[t]));n.some((t=>t))||(n=i.map((t=>K(e,t))));const o=K(e,"viewBox");o&&!n.some((t=>t))&&(n=o.split(" ").slice(2)),n.forEach(((e,n)=>K(t,i[n],O(e)*this.ratio||null)))}}};const eo=Z((async t=>t?c(t,"data:")?decodeURIComponent(t.split(",")[1]):(await fetch(t)).text():Promise.reject()));const io=/<symbol([^]*?id=(['"])(.+?)\2[^]*?<\/)symbol>/g,no={};function oo(t){const e=so(t);e&&t.style.setProperty("--uk-animation-stroke",e)}function so(t){return Math.ceil(Math.max(0,...Se("[stroke]",t).map((t=>{try{return t.getTotalLength()}catch{return 0}}))))}function ro(t,e){return ae(t,"svg")&&ae(e,"svg")&&t.innerHTML===e.innerHTML}const ao={spinner:'<svg width="30" height="30" viewBox="0 0 30 30" xmlns="http://www.w3.org/2000/svg"><circle fill="none" stroke="#000" cx="15" cy="15" r="14"/></svg>',totop:'<svg width="18" height="10" viewBox="0 0 18 10" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="1.2" points="1 9 9 1 17 9 "/></svg>',marker:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect x="9" y="4" width="1" height="11"/><rect x="4" y="9" width="11" height="1"/></svg>',"close-icon":'<svg width="14" height="14" viewBox="0 0 14 14" xmlns="http://www.w3.org/2000/svg"><line fill="none" stroke="#000" stroke-width="1.1" x1="1" y1="1" x2="13" y2="13"/><line fill="none" stroke="#000" stroke-width="1.1" x1="13" y1="1" x2="1" y2="13"/></svg>',"close-large":'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><line fill="none" stroke="#000" stroke-width="1.4" x1="1" y1="1" x2="19" y2="19"/><line fill="none" stroke="#000" stroke-width="1.4" x1="19" y1="1" x2="1" y2="19"/></svg>',"nav-parent-icon":'<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><polyline fill="none" stroke="#000" stroke-width="1.1" points="1 3.5 6 8.5 11 3.5"/></svg>',"nav-parent-icon-large":'<svg width="14" height="14" viewBox="0 0 14 14" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="1.1" points="1 4 7 10 13 4"/></svg>',"navbar-parent-icon":'<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><polyline fill="none" stroke="#000" stroke-width="1.1" points="1 3.5 6 8.5 11 3.5"/></svg>',"navbar-toggle-icon":'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><style>.uk-navbar-toggle-animate svg>[class*=line-]{transition:.2s ease-in-out;transition-property:transform,opacity;transform-origin:center;opacity:1}.uk-navbar-toggle svg>.line-3{opacity:0}.uk-navbar-toggle-animate[aria-expanded=true] svg>.line-3{opacity:1}.uk-navbar-toggle-animate[aria-expanded=true] svg>.line-2{transform:rotate(45deg)}.uk-navbar-toggle-animate[aria-expanded=true] svg>.line-3{transform:rotate(-45deg)}.uk-navbar-toggle-animate[aria-expanded=true] svg>.line-1,.uk-navbar-toggle-animate[aria-expanded=true] svg>.line-4{opacity:0}.uk-navbar-toggle-animate[aria-expanded=true] svg>.line-1{transform:translateY(6px) scaleX(0)}.uk-navbar-toggle-animate[aria-expanded=true] svg>.line-4{transform:translateY(-6px) scaleX(0)}</style><rect class="line-1" y="3" width="20" height="2"/><rect class="line-2" y="9" width="20" height="2"/><rect class="line-3" y="9" width="20" height="2"/><rect class="line-4" y="15" width="20" height="2"/></svg>',"overlay-icon":'<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><rect x="19" y="0" width="1" height="40"/><rect x="0" y="19" width="40" height="1"/></svg>',"pagination-next":'<svg width="7" height="12" viewBox="0 0 7 12" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="1.2" points="1 1 6 6 1 11"/></svg>',"pagination-previous":'<svg width="7" height="12" viewBox="0 0 7 12" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="1.2" points="6 1 1 6 6 11"/></svg>',"search-icon":'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle fill="none" stroke="#000" stroke-width="1.1" cx="9" cy="9" r="7"/><path fill="none" stroke="#000" stroke-width="1.1" d="M14,14 L18,18 L14,14 Z"/></svg>',"search-large":'<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><circle fill="none" stroke="#000" stroke-width="1.8" cx="17.5" cy="17.5" r="16.5"/><line fill="none" stroke="#000" stroke-width="1.8" x1="38" y1="39" x2="29" y2="30"/></svg>',"search-navbar":'<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><circle fill="none" stroke="#000" stroke-width="1.1" cx="10.5" cy="10.5" r="9.5"/><line fill="none" stroke="#000" stroke-width="1.1" x1="23" y1="23" x2="17" y2="17"/></svg>',"slidenav-next":'<svg width="14" height="24" viewBox="0 0 14 24" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="1.4" points="1.225,23 12.775,12 1.225,1 "/></svg>',"slidenav-next-large":'<svg width="25" height="40" viewBox="0 0 25 40" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="2" points="4.002,38.547 22.527,20.024 4,1.5 "/></svg>',"slidenav-previous":'<svg width="14" height="24" viewBox="0 0 14 24" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="1.4" points="12.775,1 1.225,12 12.775,23 "/></svg>',"slidenav-previous-large":'<svg width="25" height="40" viewBox="0 0 25 40" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="2" points="20.527,1.5 2,20.024 20.525,38.547 "/></svg>'},lo={install:function(t){t.icon.add=(e,i)=>{const n=S(e)?{[e]:i}:e;q(n,((t,e)=>{ao[e]=t,delete go[e]})),t._initialized&&$e(document.body,(e=>q(t.getComponents(e),(t=>{t.$options.isIcon&&t.icon in n&&t.$reset()}))))}},extends:to,args:"icon",props:["icon"],data:{include:[]},isIcon:!0,beforeConnect(){Yt(this.$el,"uk-icon")},methods:{async getSvg(){const t=function(t){return ao[t]?(go[t]||(go[t]=ke((ao[function(t){return Re?D(D(t,"left","right"),"previous","next"):t}(t)]||ao[t]).trim())),go[t].cloneNode(!0)):null}(this.icon);if(!t)throw"Icon not found.";return t}}},co={args:!1,extends:lo,data:t=>({icon:o(t.constructor.options.name)}),beforeConnect(){Yt(this.$el,this.$options.id)}},ho={extends:co,beforeConnect(){const t=this.$props.icon;this.icon=pt(this.$el,".uk-nav-primary")?`${t}-large`:t}},uo={extends:co,beforeConnect(){Yt(this.$el,"uk-slidenav");const t=this.$props.icon;this.icon=Jt(this.$el,"uk-slidenav-large")?`${t}-large`:t}},po={extends:co,beforeConnect(){this.icon=Jt(this.$el,"uk-search-icon")&&mt(this.$el,".uk-search-large").length?"search-large":mt(this.$el,".uk-search-navbar").length?"search-navbar":this.$props.icon}},fo={extends:co,beforeConnect(){this.icon="close-"+(Jt(this.$el,"uk-close-large")?"large":"icon")}},mo={extends:co,methods:{async getSvg(){const t=await lo.methods.getSvg.call(this);return 1!==this.ratio&&Ut(ke("circle",t),"strokeWidth",1/this.ratio),t}}
2},go={};const vo=Ve&&"loading"in HTMLImageElement.prototype;var yo={args:"dataSrc",props:{dataSrc:String,sources:String,margin:String,target:String,loading:String},data:{dataSrc:"",sources:!1,margin:"50%",target:!1,loading:"lazy"},connected(){if("lazy"!==this.loading)return void this.load();const t=[this.$el,...wt(this.$props.target,this.$el)];vo&&xo(this.$el)&&(this.$el.loading="lazy",wo(this.$el),1===t.length)||(function(t){xo(t)&&!tt(t,"src")&&K(t,"src",'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg"></svg>')}(this.$el),this.registerObserver(ai(t,((t,e)=>{this.load(),e.disconnect()}),{rootMargin:this.margin})))},disconnected(){this._data.image&&(this._data.image.onload="")},methods:{load(){if(this._data.image)return this._data.image;const t=xo(this.$el)?this.$el:function(t,e,i){const n=new Image;return function(t,e){if((e=function(t){if(!t)return[];if(c(t,"["))try{t=JSON.parse(t)}catch{t=[]}else t=yi(t);return p(t)||(t=[t]),t.filter((t=>!L(t)))}(e)).length){const i=_e("<picture>");for(const t of e){const e=_e("<source>");K(e,t),de(i,e)}de(i,t)}}(n,i),_o(t,n),n.onload=()=>{wo(t,n.currentSrc)},K(n,"src",e),n}(this.$el,this.dataSrc,this.sources);return et(t,"loading"),wo(this.$el,t.currentSrc),this._data.image=t}}};function wo(t,e){if(xo(t)){const e=ht(t);(!function(t){return ae(t,"picture")}(e)?[t]:gt(e)).forEach((t=>_o(t,t)))}else e&&!d(t.style.backgroundImage,e)&&(Ut(t,"backgroundImage",`url(${It(e)})`),Mt(t,Bt("load",!1)))}const bo=["data-src","data-srcset","sizes"];function _o(t,e){bo.forEach((i=>{const n=it(t,i);n&&K(e,i.replace(/^(data-)+/,""),n)}))}function xo(t){return ae(t,"img")}var $o={props:{media:Boolean},data:{media:!1},connected(){const t=function(t,e){if(S(t))if(c(t,"@"))t=O(Ut(e,`--uk-breakpoint-${t.substr(1)}`));else if(isNaN(t))return t;return t&&A(t)?`(min-width: ${t}px)`:""}(this.media,this.$el);if(this.matchMedia=!0,t){this.mediaObj=window.matchMedia(t);const e=()=>{this.matchMedia=this.mediaObj.matches,Mt(this.$el,Bt("mediachange",!1,!0,[this.mediaObj]))};this.offMediaObj=Ot(this.mediaObj,"change",(()=>{e(),this.$emit("resize")})),e()}},disconnected(){var t;null==(t=this.offMediaObj)||t.call(this)}};var ko={mixins:[dn,$o,xn],props:{fill:String},data:{fill:"",clsWrapper:"uk-leader-fill",clsHide:"uk-leader-hide",attrFill:"data-fill"},computed:{fill(t){let{fill:e}=t;return e||Ut(this.$el,"--uk-leader-fill-content")}},connected(){[this.wrapper]=ve(this.$el,`<span class="${this.clsWrapper}">`)},disconnected(){ye(this.wrapper.childNodes)},update:{read(){return{width:Math.trunc(this.$el.offsetWidth/2),fill:this.fill,hide:!this.matchMedia}},write(t){let{width:e,fill:i,hide:n}=t;Kt(this.wrapper,this.clsHide,n),K(this.wrapper,this.attrFill,new Array(e).join(i))},events:["resize"]}},So={install:function(t){let{modal:e}=t;function i(t,i,n,o){i={bgClose:!1,escClose:!0,labels:e.labels,...i};const s=e.dialog(t(i),i),r=new J;let a=!1;return Ot(s.$el,"submit","form",(t=>{t.preventDefault(),r.resolve(null==o?void 0:o(s)),a=!0,s.hide()})),Ot(s.$el,"hide",(()=>!a&&n(r))),r.promise.dialog=s,r.promise}e.dialog=function(t,i){const n=e(`<div class="uk-modal"> <div class="uk-modal-dialog">${t}</div> </div>`,i);return n.show(),Ot(n.$el,"hidden",(async()=>{await Promise.resolve(),n.$destroy(!0)}),{self:!0}),n},e.alert=function(t,e){return i((e=>{let{labels:i}=e;return`<div class="uk-modal-body">${S(t)?t:ce(t)}</div> <div class="uk-modal-footer uk-text-right"> <button class="uk-button uk-button-primary uk-modal-close" autofocus>${i.ok}</button> </div>`}),e,(t=>t.resolve()))},e.confirm=function(t,e){return i((e=>{let{labels:i}=e;return`<form> <div class="uk-modal-body">${S(t)?t:ce(t)}</div> <div class="uk-modal-footer uk-text-right"> <button class="uk-button uk-button-default uk-modal-close" type="button">${i.cancel}</button> <button class="uk-button uk-button-primary" autofocus>${i.ok}</button> </div> </form>`}),e,(t=>t.reject()))},e.prompt=function(t,e,n){return i((i=>{let{labels:n}=i;return`<form class="uk-form-stacked"> <div class="uk-modal-body"> <label>${S(t)?t:ce(t)}</label> <input class="uk-input" value="${e||""}" autofocus> </div> <div class="uk-modal-footer uk-text-right"> <button class="uk-button uk-button-default uk-modal-close" type="button">${n.cancel}</button> <button class="uk-button uk-button-primary">${n.ok}</button> </div> </form>`}),n,(t=>t.resolve(null)),(t=>ke("input",t.$el).value))},e.labels={ok:"Ok",cancel:"Cancel"}},mixins:[Ln],data:{clsPage:"uk-modal-page",selPanel:".uk-modal-dialog",selClose:".uk-modal-close, .uk-modal-close-default, .uk-modal-close-outside, .uk-modal-close-full"}
2,events:[{name:"show",self:!0,handler(){Jt(this.panel,"uk-margin-auto-vertical")?Yt(this.$el,"uk-flex"):Ut(this.$el,"display","block"),Oe(this.$el)}},{name:"hidden",self:!0,handler(){Ut(this.$el,"display",""),Qt(this.$el,"uk-flex")}}]};var Eo={extends:vn,data:{targets:"> .uk-parent",toggle:"> a",content:"> ul"}},Ao={mixins:[dn,Sn],props:{dropdown:String,align:String,clsDrop:String,boundary:Boolean,dropbar:Boolean,dropbarAnchor:Boolean,duration:Number,mode:Boolean,offset:Boolean,stretch:Boolean,delayShow:Boolean,delayHide:Boolean,target:Boolean,targetX:Boolean,targetY:Boolean,animation:Boolean,animateOut:Boolean},data:{dropdown:".uk-navbar-nav > li > a, .uk-navbar-item, .uk-navbar-toggle",align:Re?"right":"left",clsDrop:"uk-navbar-dropdown",boundary:!0,dropbar:!1,dropbarAnchor:!1,duration:200,container:!1},computed:{dropbarAnchor(t,e){let{dropbarAnchor:i}=t;return yt(i,e)||e},dropbar:{get(t){let{dropbar:e}=t;return e?(e=this._dropbar||yt(e,this.$el)||ke("+ .uk-navbar-dropbar",this.$el),e||(this._dropbar=ke("<div></div>"))):null},watch(t){Yt(t,"uk-dropbar","uk-dropbar-top","uk-navbar-dropbar")},immediate:!0},dropContainer(t,e){return this.container||e},dropdowns:{get(t,e){let{clsDrop:i}=t;const n=Se(`.${i}`,e);if(this.dropContainer!==e)for(const t of Se(`.${i}`,this.dropContainer)){var o;const e=null==(o=this.getDropdown(t))?void 0:o.targetEl;!d(n,t)&&e&&ft(e,this.$el)&&n.push(t)}return n},watch(t){this.$create("drop",t.filter((t=>!this.getDropdown(t))),{...this.$props,flip:!1,shift:!0,pos:`bottom-${this.align}`,boundary:!0===this.boundary?this.$el:this.boundary})},immediate:!0},toggles:{get(t,e){let{dropdown:i}=t;return Se(i,e)},watch(){const t=Jt(this.$el,"uk-navbar-justify");for(const e of Se(".uk-navbar-nav, .uk-navbar-left, .uk-navbar-right",this.$el))Ut(e,"flexGrow",t?Se(this.dropdown,e).length:"")},immediate:!0}},disconnected(){this.dropbar&&me(this.dropbar),delete this._dropbar},events:[{name:"mouseover focusin",delegate(){return this.dropdown},handler(t){let{current:e}=t;const i=this.getActive();i&&d(i.mode,"hover")&&i.targetEl&&!ft(i.targetEl,e)&&!i.isDelaying&&i.hide(!1)}},{name:"keydown",delegate(){return this.dropdown},handler(t){const{current:e,keyCode:i}=t,n=this.getActive();i===To.DOWN&&tt(e,"aria-expanded")&&(t.preventDefault(),n&&n.targetEl===e?Co(n.$el):(e.click(),Pt(this.dropContainer,"show",(t=>{let{target:e}=t;return Co(e)})))),Lo(t,this.toggles,n)}},{name:"keydown",el(){return this.dropContainer},delegate(){return`.${this.clsDrop}`},handler(t){const{current:e,keyCode:i}=t;if(!d(this.dropdowns,e))return;const n=this.getActive(),o=Se(lt,e),s=u(o,(t=>ut(t,":focus")));var r;i===To.UP&&(t.preventDefault(),s>0&&o[s-1].focus()),i===To.DOWN&&(t.preventDefault(),s<o.length-1&&o[s+1].focus()),i===To.ESC&&(null==(r=n.targetEl)||r.focus()),Lo(t,this.toggles,n)}},{name:"mouseleave",el(){return this.dropbar},filter(){return this.dropbar},handler(){const t=this.getActive();t&&d(t.mode,"hover")&&!this.dropdowns.some((t=>ut(t,":hover")))&&t.hide()}},{name:"beforeshow",el(){return this.dropContainer},filter(){return this.dropbar},handler(t){let{target:e}=t;this.isDropbarDrop(e)&&(this.dropbar.previousElementSibling!==this.dropbarAnchor&&pe(this.dropbarAnchor,this.dropbar),Yt(e,`${this.clsDrop}-dropbar`))}},{name:"show",el(){return this.dropContainer},filter(){return this.dropbar},handler(t){let{target:e}=t;if(!this.isDropbarDrop(e))return;const i=this.getDropdown(e);this._observer=ci([i.$el,...i.target],(()=>{const t=mt(e,`.${this.clsDrop}`).concat(e).map((t=>Ce(t))),i=Math.min(...t.map((t=>{let{top:e}=t;return e}))),n=Math.max(...t.map((t=>{let{bottom:e}=t;return e}))),o=Ce(this.dropbar);Ut(this.dropbar,"top",this.dropbar.offsetTop-(o.top-i)),this.transitionTo(n-i+O(Ut(e,"marginBottom")),e)}))}},{name:"beforehide",el(){return this.dropContainer},filter(){return this.dropbar},handler(t){const e=this.getActive();ut(this.dropbar,":hover")&&e.$el===t.target&&!this.toggles.some((t=>e.targetEl!==t&&ut(t,":focus")))&&t.preventDefault()}},{name:"hide",el(){return this.dropContainer},filter(){return this.dropbar},handler(t){let{target:e}=t;var i;if(!this.isDropbarDrop(e))return;null==(i=this._observer)||i.disconnect();const n=this.getActive();(!n||n.$el===e)&&this.transitionTo(0)}}],methods:{getActive(){return d(this.dropdowns,null==On?void 0:On.$el)&&On},transitionTo(t,e){const{dropbar:i}=this,n=Oe(i);Ut(e=n<t&&e,"clipPath",`polygon(0 0,100% 0,100% ${n}px,0 ${n}px)`),Oe(i,n),ie.cancel([e,i]),Promise.all([ie.start(i,{height:t},this.duration),ie.start(e,{clipPath:`polygon(0 0,100% 0,100% ${t}px,0 ${t}px)`},this.duration)]).catch(V).then((()=>Ut(e,{clipPath:""})))},getDropdown(t){return this.$getComponent(t,"drop")||this.$getComponent(t,"dropdown")},isDropbarDrop(t){return this.getDropdown(t)&&Jt(t,this.clsDrop)}}};function Lo(t,e,i){const{current:n,keyCode:o}=t,s=i.targetEl||n,r=e.indexOf(s);o===To.LEFT&&r>0&&(null==i.hide||i.hide(!1),e[r-1].focus()),o===To.RIGHT&&r<e.length-1&&(null==i.hide||i.hide(!1),e[r+1].focus()),o===To.TAB&&(s.focus(),null==i.hide||i.hide(!1))}function Co(t){var e;ke(":focus",t)||null==(e=ke(lt,t))||e.focus()}const To={TAB:9,ESC:27,LEFT:37,UP:38,RIGHT:39,DOWN:40};var Io={props:{swiping:Boolean},data:{swiping:!0},computed:{swipeTarget:(t,e)=>e},connected(){this.swiping&&nn(this,{el:this.swipeTarget,name:Ye,passive:!0,handler(t){if(!jt(t))return;const e=Ft(t),i="tagName"in t.target?t.target:ht(t.target);
2Pt(document,`${Xe} ${Ke} scroll`,(t=>{const{x:n,y:o}=Ft(t);("scroll"!==t.type&&i&&n&&Math.abs(e.x-n)>100||o&&Math.abs(e.y-o)>100)&&setTimeout((()=>{Mt(i,"swipe"),Mt(i,`swipe${function(t,e,i,n){return Math.abs(t-i)>=Math.abs(e-n)?t-i>0?"Left":"Right":e-n>0?"Up":"Down"}(e.x,e.y,n,o)}`)}))}))}})}};var Oo={mixins:[Ln,Io],args:"mode",props:{mode:String,flip:Boolean,overlay:Boolean},data:{mode:"slide",flip:!1,overlay:!1,clsPage:"uk-offcanvas-page",clsContainer:"uk-offcanvas-container",selPanel:".uk-offcanvas-bar",clsFlip:"uk-offcanvas-flip",clsContainerAnimation:"uk-offcanvas-container-animation",clsSidebarAnimation:"uk-offcanvas-bar-animation",clsMode:"uk-offcanvas",clsOverlay:"uk-offcanvas-overlay",selClose:".uk-offcanvas-close",container:!1},computed:{clsFlip(t){let{flip:e,clsFlip:i}=t;return e?i:""},clsOverlay(t){let{overlay:e,clsOverlay:i}=t;return e?i:""},clsMode(t){let{mode:e,clsMode:i}=t;return`${i}-${e}`},clsSidebarAnimation(t){let{mode:e,clsSidebarAnimation:i}=t;return"none"===e||"reveal"===e?"":i},clsContainerAnimation(t){let{mode:e,clsContainerAnimation:i}=t;return"push"!==e&&"reveal"!==e?"":i},transitionElement(t){let{mode:e}=t;return"reveal"===e?ht(this.panel):this.panel}},update:{read(){this.isToggled()&&!st(this.$el)&&this.hide()},events:["resize"]},events:[{name:"touchmove",self:!0,passive:!1,filter(){return this.overlay},handler(t){t.cancelable&&t.preventDefault()}},{name:"show",self:!0,handler(){"reveal"===this.mode&&!Jt(ht(this.panel),this.clsMode)&&(ge(this.panel,"<div>"),Yt(ht(this.panel),this.clsMode));const{body:t,scrollingElement:e}=document;Yt(t,this.clsContainer,this.clsFlip),Ut(t,"touch-action","pan-y pinch-zoom"),Ut(this.$el,"display","block"),Ut(this.panel,"maxWidth",e.clientWidth),Yt(this.$el,this.clsOverlay),Yt(this.panel,this.clsSidebarAnimation,"reveal"===this.mode?"":this.clsMode),Oe(t),Yt(t,this.clsContainerAnimation),this.clsContainerAnimation&&(No().content+=",user-scalable=0")}},{name:"hide",self:!0,handler(){Qt(document.body,this.clsContainerAnimation),Ut(document.body,"touch-action","")}},{name:"hidden",self:!0,handler(){this.clsContainerAnimation&&function(){const t=No();t.content=t.content.replace(/,user-scalable=0$/,"")}(),"reveal"===this.mode&&ye(this.panel),Qt(this.panel,this.clsSidebarAnimation,this.clsMode),Qt(this.$el,this.clsOverlay),Ut(this.$el,"display",""),Ut(this.panel,"maxWidth",""),Qt(document.body,this.clsContainer,this.clsFlip)}},{name:"swipeLeft swipeRight",handler(t){this.isToggled()&&h(t.type,"Left")^this.flip&&this.hide()}}]};function No(){return ke('meta[name="viewport"]',document.head)||de(document.head,'<meta name="viewport">')}var Po={mixins:[dn,xn],props:{selContainer:String,selContent:String,minHeight:Number},data:{selContainer:".uk-modal",selContent:".uk-modal-dialog",minHeight:150},computed:{container(t,e){let{selContainer:i}=t;return pt(e,i)},content(t,e){let{selContent:i}=t;return pt(e,i)}},resizeTargets(){return[this.container,this.content]},update:{read(){return!!(this.content&&this.container&&st(this.$el))&&{max:Math.max(this.minHeight,Oe(this.container)-(Le(this.content).height-Oe(this.$el)))}},write(t){let{max:e}=t;Ut(this.$el,{minHeight:this.minHeight,maxHeight:e})},events:["resize"]}},Mo={mixins:[xn],props:["width","height"],resizeTargets(){return[this.$el,ht(this.$el)]},connected(){Yt(this.$el,"uk-responsive-width")},update:{read(){return!!(st(this.$el)&&this.width&&this.height)&&{width:Ne(ht(this.$el)),height:this.height}},write(t){Oe(this.$el,Q.contain({height:this.height,width:this.width},t).height)},events:["resize"]}},Bo={props:{offset:Number},data:{offset:0},connected(){var t;t=this,Do.size||Ot(document,"click",Ho),Do.add(t)},disconnected(){var t;t=this,Do.delete(t),Do.size||Nt(document,"click",Ho)},methods:{async scrollTo(t){t=t&&ke(t)||document.body,Mt(this.$el,"beforescroll",[this,t])&&(await Oi(t,{offset:this.offset}),Mt(this.$el,"scrolled",[this,t]))}}};const Do=new Set;function Ho(t){if(!t.defaultPrevented)for(const e of Do)ft(t.target,e.$el)&&qo(e.$el)&&(t.preventDefault(),e.scrollTo(zo(e.$el)))}function qo(t){return["origin","pathname","search"].every((e=>location[e]===t[e]))}function zo(t){if(qo(t))return document.getElementById(decodeURIComponent(t.hash).substring(1))}var jo={mixins:[Wn],args:"cls",props:{cls:String,target:String,hidden:Boolean,margin:String,repeat:Boolean,delay:Number},data:()=>({cls:"",target:!1,hidden:!0,margin:"-1px",repeat:!1,delay:0,inViewClass:"uk-scrollspy-inview"}),computed:{elements:{get(t,e){let{target:i}=t;return i?Se(i,e):[e]},watch(t,e){this.hidden&&Ut(dt(t,`:not(.${this.inViewClass})`),"opacity",0),B(t,e)||this.$reset()},immediate:!0}},connected(){this._data.elements=new Map,this.registerObserver(ai(this.elements,(t=>{const e=this._data.elements;for(const{target:i,isIntersecting:n}of t){e.has(i)||e.set(i,{cls:it(i,"uk-scrollspy-class")||this.cls});const t=e.get(i);!this.repeat&&t.show||(t.show=n)}this.$emit()}),{rootMargin:this.margin},!1))},disconnected(){for(const[t,e]of this._data.elements.entries())Qt(t,this.inViewClass,(null==e?void 0:e.cls)||"")},update:[{write(t){for(const[e,i]of t.elements.entries())!i.show||i.inview||i.queued?!i.show&&i.inview&&!i.queued&&this.repeat&&this.toggle(e,!1):(i.queued=!0,t.promise=(t.promise||Promise.resolve()).then((()=>new Promise((t=>setTimeout(t,this.delay))))).then((()=>{this.toggle(e,!0),setTimeout((()=>{i.queued=!1,this.$emit()}),300)})))}}],methods:{toggle(t,e){const i=this._data.elements.get(t);if(i){if(null==i.off||i.off(),Ut(t,"opacity",!e&&this.hidden?0:""),Kt(t,this.inViewClass,e),Kt(t,i.cls
2),/\buk-animation-/.test(i.cls)){const n=()=>Xt(t,"uk-animation-[\\w-]+");e?i.off=Pt(t,"animationcancel animationend",n):n()}Mt(t,e?"inview":"outview"),i.inview=e,this.$update(t)}}}},Fo={mixins:[Wn],props:{cls:String,closest:String,scroll:Boolean,overflow:Boolean,offset:Number},data:{cls:"uk-active",closest:!1,scroll:!1,overflow:!0,offset:0},computed:{links:{get:(t,e)=>Se('a[href*="#"]',e).filter((t=>t.hash&&Mn(t))),watch(t){this.scroll&&this.$create("scroll",t,{offset:this.offset||0})},immediate:!0},elements(t){let{closest:e}=t;return pt(this.links,e||"*")}},update:[{read(){const t=this.links.map(zo).filter(Boolean),{length:e}=t;if(!e||!st(this.$el))return!1;const[i]=Pi(t,/auto|scroll/,!0),{scrollTop:n,scrollHeight:o}=i,s=Mi(i);let r=!1;if(n===o-s.height)r=e-1;else{for(let e=0;e<t.length&&!(Ce(t[e]).top-s.top-this.offset>0);e++)r=+e;!1===r&&this.overflow&&(r=0)}return{active:r}},write(t){let{active:e}=t;const i=!1!==e&&!Jt(this.elements[e],this.cls);this.links.forEach((t=>t.blur()));for(let t=0;t<this.elements.length;t++)Kt(this.elements[t],this.cls,+t===e);i&&Mt(this.$el,"active",[e,this.elements[e]])},events:["scroll","resize"]}]},Wo={mixins:[dn,$o,xn,Wn],props:{position:String,top:null,bottom:null,start:null,end:null,offset:String,overflowFlip:Boolean,animation:String,clsActive:String,clsInactive:String,clsFixed:String,clsBelow:String,selTarget:String,showOnUp:Boolean,targetOffset:Number},data:{position:"top",top:!1,bottom:!1,start:!1,end:!1,offset:0,overflowFlip:!1,animation:"",clsActive:"uk-active",clsInactive:"",clsFixed:"uk-sticky-fixed",clsBelow:"uk-sticky-below",selTarget:"",showOnUp:!1,targetOffset:!1},computed:{selTarget(t,e){let{selTarget:i}=t;return i&&ke(i,e)||e}},resizeTargets:()=>document.documentElement,connected(){this.start=Ro(this.start||this.top),this.end=Ro(this.end||this.bottom),this.placeholder=ke("+ .uk-sticky-placeholder",this.$el)||ke('<div class="uk-sticky-placeholder"></div>'),this.isFixed=!1,this.setActive(!1),this.registerObserver(ci(this.$el,(()=>!this.isFixed&&this.$emit("resize"))))},disconnected(){this.isFixed&&(this.hide(),Qt(this.selTarget,this.clsInactive)),Uo(this.$el),me(this.placeholder),this.placeholder=null},events:[{name:"resize",el:()=>[window,window.visualViewport],handler(){this.$emit("resizeViewport")}},{name:"load hashchange popstate",el:()=>window,filter(){return!1!==this.targetOffset},handler(){const{scrollingElement:t}=document;!location.hash||0===t.scrollTop||setTimeout((()=>{const e=Ce(ke(location.hash)),i=Ce(this.$el);this.isFixed&&R(e,i)&&(t.scrollTop=e.top-i.height-De(this.targetOffset,"height",this.placeholder)-De(this.offset,"height",this.placeholder))}))}}],update:[{read(t,e){let{height:i,width:n,margin:o,sticky:s}=t;if(this.inactive=!this.matchMedia||!st(this.$el),this.inactive)return;const r=this.isFixed&&e.has("resize")&&!s;r&&(Ut(this.selTarget,"transition","0s"),this.hide()),this.active||(({height:i,width:n}=Ce(this.$el)),o=Ut(this.$el,"margin")),r&&(this.show(),requestAnimationFrame((()=>Ut(this.selTarget,"transition",""))));const a=De("100vh","height"),l=Oe(window),c=document.scrollingElement.scrollHeight-a;let h=this.position;this.overflowFlip&&i>a&&(h="top"===h?"bottom":"top");const d=this.isFixed?this.placeholder:this.$el;let u=De(this.offset,"height",s?this.$el:d);"bottom"===h&&(i<l||this.overflowFlip)&&(u+=l-i);const p=this.overflowFlip?0:Math.max(0,i+u-a),f=Ce(d).top,m=Ce(this.$el).height,g=(!1===this.start?f:Vo(this.start,this.$el,f))-u,v=!1===this.end?c:Math.min(c,Vo(this.end,this.$el,f+i,!0)-m-u+p);return s=c&&!this.showOnUp&&g+u===f&&v===Math.min(c,Vo("!*",this.$el,0,!0)-m-u+p),{start:g,end:v,offset:u,overflow:p,topOffset:f,height:i,elHeight:m,width:n,margin:o,top:Ie(d)[0],sticky:s}},write(t){let{height:e,width:i,margin:n,offset:o,sticky:s}=t;if((this.inactive||s||!this.isFixed)&&Uo(this.$el),this.inactive)return;s&&(e=i=n=0,Ut(this.$el,{position:"sticky",top:o}));const{placeholder:r}=this;Ut(r,{height:e,width:i,margin:n}),ft(r,document)||(r.hidden=!0),(s?ue:pe)(this.$el,r)},events:["resize","resizeViewport"]},{read(t){let{scroll:e=0,dir:i="down",overflow:n,overflowScroll:o=0,start:s,end:r}=t;const a=document.scrollingElement.scrollTop;return{dir:e<=a?"down":"up",prevDir:i,scroll:a,prevScroll:e,offsetParentTop:Ce((this.isFixed?this.placeholder:this.$el).offsetParent).top,overflowScroll:W(o+W(a,s,r)-W(e,s,r),0,n)}},write(t,e){const i=e.has("scroll"),{initTimestamp:n=0,dir:o,prevDir:s,scroll:r,prevScroll:a=0,top:l,start:c,topOffset:h,height:d}=t;if(r<0||r===a&&i||this.showOnUp&&!i&&!this.isFixed)return;const u=Date.now();if((u-n>300||o!==s)&&(t.initScroll=r,t.initTimestamp=u),!(this.showOnUp&&!this.isFixed&&Math.abs(t.initScroll-r)<=30&&Math.abs(a-r)<=10))if(this.inactive||r<c||this.showOnUp&&(r<=c||"down"===o&&i||"up"===o&&!this.isFixed&&r<=h+d)){if(!this.isFixed)return void(re.inProgress(this.$el)&&l>r&&(re.cancel(this.$el),this.hide()));this.animation&&r>h?(re.cancel(this.$el),re.out(this.$el,this.animation).then((()=>this.hide()),V)):this.hide()}else this.isFixed?this.update():this.animation&&r>h?(re.cancel(this.$el),this.show(),re.in(this.$el,this.animation).catch(V)):this.show()},events:["resize","resizeViewport","scroll"]}],methods:{show(){this.isFixed=!0,this.update(),this.placeholder.hidden=!1},hide(){const{offset:t,sticky:e}=this._data;this.setActive(!1),Qt(this.$el,this.clsFixed,this.clsBelow),e?Ut(this.$el,"top",t):Ut(this.$el,{position:"",top:"",width:"",marginTop:""}),this.placeholder.hidden=!0,this.isFixed=!1},update(){let{width:t,scroll:e=0,overflow:i,overflowScroll:n=0,start:o,end:s,offset:r,topOffset:a,height:l,elHeight:c,offsetParentTop:h,sticky:d}=this._data;const u=0!==o||e>o;if(!d){let i="fixed";e>s&&(r+=s-h,i="absolute"),Ut(this.$el,{position:i,width:t}),Ut(this.$el,"marginTop",0,"important")}i&&(r-=n),Ut(this.$el,"top",r),this.setActive(u),Kt(this.$el,this.clsBelow,e>a+(d?Math.min(l,c):l)),Yt(this.$el,this.clsFixed)}
2,setActive(t){const e=this.active;this.active=t,t?(Zt(this.selTarget,this.clsInactive,this.clsActive),e!==t&&Mt(this.$el,"active")):(Zt(this.selTarget,this.clsActive,this.clsInactive),e!==t&&Mt(this.$el,"inactive"))}}};function Vo(t,e,i,n){if(!t)return 0;if(A(t)||S(t)&&t.match(/^-?\d/))return i+De(t,"height",e,!0);{const i=!0===t?ht(e):yt(t,e);return Ce(i).bottom-(n&&i&&ft(e,i)?O(Ut(i,"paddingBottom")):0)}}function Ro(t){return"true"===t||"false"!==t&&t}function Uo(t){Ut(t,{position:"",top:"",marginTop:"",width:""})}var Go={mixins:[un,Io,pn],args:"connect",props:{connect:String,toggle:String,itemNav:String,active:Number},data:{connect:"~.uk-switcher",toggle:"> * > :first-child",itemNav:!1,active:0,cls:"uk-active",attrItem:"uk-switcher-item"},computed:{connects:{get(t,e){let{connect:i}=t;return wt(i,e)},watch(t){this.swiping&&Ut(t,"touchAction","pan-y pinch-zoom")},document:!0,immediate:!0},connectChildren:{get(){return this.connects.map((t=>gt(t))).flat()},watch(){const t=this.index();for(const e of this.connects)gt(e).forEach(((e,i)=>Kt(e,this.cls,i===t))),this.lazyload(this.$el,gt(e))},immediate:!0},toggles:{get(t,e){let{toggle:i}=t;return Se(i,e).filter((t=>!ut(t,".uk-disabled *, .uk-disabled, [disabled]")))},watch(t){const e=this.index();this.show(~e?e:t[this.active]||t[0])},immediate:!0},children(){return gt(this.$el).filter((t=>this.toggles.some((e=>ft(e,t)))))},swipeTarget(){return this.connects}},events:[{name:"click",delegate(){return this.toggle},handler(t){t.preventDefault(),this.show(t.current)}},{name:"click",el(){return this.connects.concat(this.itemNav?wt(this.itemNav,this.$el):[])},delegate(){return`[${this.attrItem}],[data-${this.attrItem}]`},handler(t){t.preventDefault(),this.show(it(t.current,this.attrItem))}},{name:"swipeRight swipeLeft",filter(){return this.swiping},el(){return this.connects},handler(t){let{type:e}=t;this.show(h(e,"Left")?"next":"previous")}}],methods:{index(){return u(this.children,(t=>Jt(t,this.cls)))},show(t){const e=this.index(),i=X(t,this.toggles,e),n=X(this.children[i],gt(this.$el));gt(this.$el).forEach(((t,e)=>{Kt(t,this.cls,n===e),K(this.toggles[e],"aria-expanded",n===e)}));const o=e>=0&&e!==i;this.connects.forEach((async t=>{let{children:e}=t;await this.toggleElement(P(e).filter((t=>Jt(t,this.cls))),!1,o),await this.toggleElement(e[n],!0,o)}))}}},Yo={mixins:[dn],extends:Go,props:{media:Boolean},data:{media:960,attrItem:"uk-tab-item"},connected(){const t=Jt(this.$el,"uk-tab-left")?"uk-tab-left":!!Jt(this.$el,"uk-tab-right")&&"uk-tab-right";t&&this.$create("toggle",this.$el,{cls:t,mode:"media",media:this.media})}};var Qo={mixins:[un,$o,pn],args:"target",props:{href:String,target:null,mode:"list",queued:Boolean},data:{href:!1,target:!1,mode:"click",queued:!0},computed:{target:{get(t,e){let{href:i,target:n}=t;return n=wt(n||i,e),n.length&&n||[e]},watch(){this.updateAria(),this.lazyload(this.$el,this.target)},document:!0,immediate:!0}},connected(){!d(this.mode,"media")&&!ct(this.$el)&&K(this.$el,"tabindex","0")},events:[{name:Ye,filter(){return d(this.mode,"hover")},handler(t){this._preventClick=null,jt(t)&&!this._showState&&(Mt(this.$el,"focus"),Pt(document,Ye,(()=>Mt(this.$el,"blur")),!0,(t=>!ft(t.target,this.$el))),d(this.mode,"click")&&(this._preventClick=!0))}},{name:`${Ze} ${Je} focus blur`,filter(){return d(this.mode,"hover")},handler(t){if(jt(t))return;const e=d([Ze,"focus"],t.type),i=K(this.$el,"aria-expanded");if(e||!(t.type===Je&&ut(this.$el,":focus")||"blur"===t.type&&ut(this.$el,":hover"))){if(this._showState&&e&&i!==this._showState)return void(e||(this._showState=null));this._showState=e?i:null,this.toggle("toggle"+(e?"show":"hide"))}}},{name:"keydown",filter(){return d(this.mode,"click")&&!ae(this.$el,"input")},handler(t){32===t.keyCode&&(t.preventDefault(),this.$el.click())}},{name:"click",filter(){return["click","hover"].some((t=>d(this.mode,t)))},handler(t){let e;(this._preventClick||pt(t.target,'a[href="#"], a[href=""]')||(e=pt(t.target,"a[href]"))&&("true"!==K(this.$el,"aria-expanded")||e.hash&&ut(this.target,e.hash)))&&t.preventDefault(),!this._preventClick&&d(this.mode,"click")&&this.toggle()}}
2,{name:"hide show",self:!0,el(){return this.target},handler(t){let{target:e,type:i}=t;this.updateAria(e===this.target[0]&&"show"===i)}},{name:"mediachange",filter(){return d(this.mode,"media")},el(){return this.target},handler(t,e){e.matches^this.isToggled(this.target)&&this.toggle()}}],methods:{async toggle(t){if(!Mt(this.target,t||"toggle",[this]))return;if(!this.queued)return this.toggleElement(this.target);const e=this.target.filter((t=>Jt(t,this.clsLeave)));if(e.length){for(const t of this.target){const i=d(e,t);this.toggleElement(t,i,i)}return}const i=this.target.filter(this.isToggled);await this.toggleElement(i,!1),await this.toggleElement(this.target.filter((t=>!d(i,t))),!0)},updateAria(t){d(this.mode,"media")||K(this.$el,"aria-expanded",k(t)?t:this.isToggled(this.target))}}};q(Object.freeze({__proto__:null,Accordion:vn,Alert:wn,Cover:$n,Drop:Bn,Dropdown:Bn,FormCustom:Dn,Grid:Yn,HeightMatch:Xn,HeightViewport:Kn,Icon:lo,Img:yo,Leader:ko,Margin:Hn,Modal:So,Nav:Eo,Navbar:Ao,Offcanvas:Oo,OverflowAuto:Po,Responsive:Mo,Scroll:Bo,Scrollspy:jo,ScrollspyNav:Fo,Sticky:Wo,Svg:to,Switcher:Go,Tab:Yo,Toggle:Qo,Video:_n,Close:fo,Spinner:mo,NavParentIcon:ho,SlidenavNext:uo,SlidenavPrevious:uo,SearchIcon:po,Marker:co,NavbarParentIcon:co,NavbarToggleIcon:co,OverlayIcon:co,PaginationNext:co,PaginationPrevious:co,Totop:co}),((t,e)=>hn.component(e,t))),function(t){const{connect:e,disconnect:i}=t;function n(t){let{addedNodes:n,removedNodes:o}=t;for(const t of n)$e(t,e);for(const t of o)$e(t,i)}function o(e){let{target:i,attributeName:n}=e;const o=cn(n);if(o){var s;if(tt(i,n))return void t[o](i);null==(s=t.getComponent(i,o))||s.$destroy()}}Ve&&window.MutationObserver&&requestAnimationFrame((function(){Mt(document,"uikit:init",t),document.body&&$e(document.body,e),new MutationObserver((t=>t.forEach(n))).observe(document,{childList:!0,subtree:!0}),new MutationObserver((t=>t.forEach(o))).observe(document,{attributes:!0,subtree:!0}),t._initialized=!0}))}(hn);const Xo=["days","hours","minutes","seconds"];var Zo={mixins:[dn],props:{date:String,clsWrapper:String},data:{date:"",clsWrapper:".uk-countdown-%unit%"},connected(){this.date=Date.parse(this.$props.date),this.start()},disconnected(){this.stop()},events:[{name:"visibilitychange",el:()=>document,handler(){document.hidden?this.stop():this.start()}}],methods:{start(){this.stop(),this.update(),this.timer=setInterval(this.update,1e3)},stop(){clearInterval(this.timer)},update(){const t=function(t){const e=t-Date.now();return{total:e,seconds:e/1e3%60,minutes:e/1e3/60%60,hours:e/1e3/60/60%24,days:e/1e3/60/60/24}}(this.date);(!this.date||t.total<=0)&&(this.stop(),t.days=t.hours=t.minutes=t.seconds=0);for(const e of Xo){const i=ke(this.clsWrapper.replace("%unit%",e),this.$el);if(!i)continue;let n=String(Math.trunc(t[e]));n=n.length<2?`0${n}`:n,i.textContent!==n&&(n=n.split(""),n.length!==i.children.length&&ce(i,n.map((()=>"<span></span>
2")).join("")),n.forEach(((t,e)=>i.children[e].textContent=t)))}}}};const Jo="uk-transition-leave",Ko="uk-transition-enter";function ts(t,e,i){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;const o=es(e,!0),s={opacity:1},r={opacity:0},a=t=>()=>o===es(e)?t():Promise.reject(),l=a((async()=>{Yt(e,Jo),await Promise.all(ns(e).map(((t,e)=>new Promise((o=>setTimeout((()=>ie.start(t,r,i/2,"ease").then(o)),e*n)))))),Qt(e,Jo)})),c=a((async()=>{const a=Oe(e);Yt(e,Ko),t(),Ut(gt(e),{opacity:0}),await new Promise((t=>requestAnimationFrame(t)));const l=gt(e),c=Oe(e);Ut(e,"alignContent","flex-start"),Oe(e,a);const h=ns(e);Ut(l,r);const d=h.map((async(t,e)=>{await function(t){return new Promise((e=>setTimeout(e,t)))}(e*n),await ie.start(t,s,i/2,"ease")}));a!==c&&d.push(ie.start(e,{height:c},i/2+h.length*n,"ease")),await Promise.all(d).then((()=>{Qt(e,Ko),o===es(e)&&(Ut(e,{height:"",alignContent:""}),Ut(l,{opacity:""}),delete e.dataset.transition)}))}));return Jt(e,Jo)?is(e).then(c):Jt(e,Ko)?is(e).then(l).then(c):l().then(c)}function es(t,e){return e&&(t.dataset.transition=1+es(t)),I(t.dataset.transition)||0}function is(t){return Promise.all(gt(t).filter(ie.inProgress).map((t=>new Promise((e=>Pt(t,"transitionend transitioncanceled",e))))))}function ns(t){return qn(gt(t)).reduce(((t,e)=>t.concat(z(e.filter((t=>Ii(t))),"offsetLeft"))),[])}async function os(t,e,i){await as();let n=gt(e);const o=n.map((t=>ss(t,!0))),s={...Ut(e,["height","padding"]),display:"block"};await Promise.all(n.concat(e).map(ie.cancel)),t(),n=n.concat(gt(e).filter((t=>!d(n,t)))),await Promise.resolve(),ti.flush();const r=K(e,"style"),a=Ut(e,["height","padding"]),[l,c]=function(t,e,i){const n=e.map(((t,e)=>!(!ht(t)||!(e in i))&&(i[e]?st(t)?rs(t):{opacity:0}:{opacity:st(t)?1:0}))),o=n.map(((n,o)=>{const s=ht(e[o])===t&&(i[o]||ss(e[o]));if(!s)return!1;if(n){if(!("opacity"in n)){const{opacity:t}=s;t%1?n.opacity=1:delete s.opacity}}else delete s.opacity;return s}));return[n,o]}(e,n,o),h=n.map((t=>({style:K(t,"style")})));n.forEach(((t,e)=>c[e]&&Ut(t,c[e]))),Ut(e,s),await as();const u=n.map(((t,n)=>ht(t)===e&&ie.start(t,l[n],i,"ease"))).concat(ie.start(e,a,i,"ease"));try{await Promise.all(u),n.forEach(((t,i)=>{K(t,h[i]),ht(t)===e&&Ut(t,"display",0===l[i].opacity?"none":"")})),K(e,"style",r)}catch{K(n,"style",""),function(t,e){for(const i in e)Ut(t,i,"")}(e,s)}}function ss(t,e){const i=Ut(t,"zIndex");return!!st(t)&&{display:"",opacity:e?Ut(t,"opacity"):"0",pointerEvents:"none",position:"absolute",zIndex:"auto"===i?vt(t):i,...rs(t)}}function rs(t){const{height:e,width:i}=Ce(t);return{height:e,width:i,transform:"",...Te(t),...Ut(t,["marginTop","marginLeft"])}}function as(){return new Promise((t=>requestAnimationFrame(t)))}var ls={props:{duration:Number,animation:Boolean},data:{duration:150,animation:"slide"},methods:{animate(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.$el;const i=this.animation;return("fade"===i?ts:"delayed-fade"===i?function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return ts(...e,40)}:i?os:()=>(t(),Promise.resolve()))(t,e,this.duration).catch(V)}}},cs={mixins:[ls],args:"target",props:{target:Boolean,selActive:Boolean},data:{target:null,selActive:!1,attrItem:"uk-filter-control",cls:"uk-active",duration:250},computed:{toggles:{get(t,e){let{attrItem:i}=t;return Se(`[${i}],[data-${i}]`,e)},watch(){if(this.updateState(),!1!==this.selActive){const t=Se(this.selActive,this.$el);this.toggles.forEach((e=>Kt(e,this.cls,d(t,e))))}},immediate:!0},children:{get(t,e){let{target:i}=t;return Se(`${i} > *`,e)},watch(t,e){e&&!function(t,e){return t.length===e.length&&t.every((t=>e.includes(t)))}(t,e)&&this.updateState()},immediate:!0}},events:[{name:"click",delegate(){return`[${this.attrItem}],[data-${this.attrItem}]`},handler(t){t.preventDefault(),this.apply(t.current)}}],methods:{apply(t){const e=this.getState(),i=ds(t,this.attrItem,this.getState());(function(t,e){return["filter","sort"].every((i=>B(t[i],e[i])))})(e,i)||this.setState(i)},getState(){return this.toggles.filter((t=>Jt(t,this.cls))).reduce(((t,e)=>ds(e,this.attrItem,t)),{filter:{"":""},sort:[]})},async setState(t){let e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];t={filter:{"":""},sort:[],...t}
2,Mt(this.$el,"beforeFilter",[this,t]),this.toggles.forEach((e=>Kt(e,this.cls,!!function(t,e,i){let{filter:n={"":""},sort:[o,s]}=i;const{filter:r="",group:a="",sort:l,order:c="asc"}=hs(t,e);return C(l)?a in n&&r===n[a]||!r&&a&&!(a in n)&&!n[""]:o===l&&s===c}(e,this.attrItem,t)))),await Promise.all(Se(this.target,this.$el).map((i=>{const n=()=>{(function(t,e,i){const n=function(t){let{filter:e}=t,i="";return q(e,(t=>i+=t||"")),i}(t);i.forEach((t=>Ut(t,"display",n&&!ut(t,n)?"none":"")));const[o,s]=t.sort;if(o){const t=function(t,e,i){return[...t].sort(((t,n)=>it(t,e).localeCompare(it(n,e),void 0,{numeric:!0})*("asc"===i||-1)))}(i,o,s);B(t,i)||de(e,t)}})(t,i,gt(i)),this.$update(this.$el)};return e?this.animate(n,i):n()}))),Mt(this.$el,"afterFilter",[this])},updateState(){ti.write((()=>this.setState(this.getState(),!1)))}}};function hs(t,e){return yi(it(t,e),["filter"])}function ds(t,e,i){const{filter:n,group:o,sort:s,order:r="asc"}=hs(t,e);return(n||C(s))&&(o?n?(delete i.filter[""],i.filter[o]=n):(delete i.filter[o],(L(i.filter)||""in i.filter)&&(i.filter={"":n||""})):i.filter={"":n||""}),C(s)||(i.sort=[s,r]),i}var us={slide:{show:t=>[{transform:fs(-100*t)},{transform:fs()}],percent:t=>ps(t),translate:(t,e)=>[{transform:fs(-100*e*t)},{transform:fs(100*e*(1-t))}]}};function ps(t){return Math.abs(Ut(t,"transform").split(",")[4]/t.offsetWidth)||0}function fs(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return t+=t?arguments.length>1&&void 0!==arguments[1]?arguments[1]:"%":"",`translate3d(${t}, 0, 0)`}function ms(t){return`scale3d(${t}, ${t}, 1)`}var gs={...us,fade:{show:()=>[{opacity:0},{opacity:1}],percent:t=>1-Ut(t,"opacity"),translate:t=>[{opacity:1-t},{opacity:t}]},scale:{show:()=>[{opacity:0,transform:ms(.8)},{opacity:1,transform:ms(1)}],percent:t=>1-Ut(t,"opacity"),translate:t=>[{opacity:1-t,transform:ms(1-.2*t)},{opacity:t,transform:ms(.8+.2*t)}]}};function vs(t,e,i){Mt(t,Bt(e,!1,!1,i))}var ys={props:{autoplay:Boolean,autoplayInterval:Number,pauseOnHover:Boolean},data:{autoplay:!1,autoplayInterval:7e3,pauseOnHover:!0},connected(){this.autoplay&&this.startAutoplay()},disconnected(){this.stopAutoplay()},update(){K(this.slides,"tabindex","-1")},events:[{name:"visibilitychange",el:()=>document,filter(){return this.autoplay},handler(){document.hidden?this.stopAutoplay():this.startAutoplay()}}],methods:{startAutoplay(){this.stopAutoplay(),this.interval=setInterval((()=>(!this.draggable||!ke(":focus",this.$el))&&(!this.pauseOnHover||!ut(this.$el,":hover"))&&!this.stack.length&&this.show("next")),this.autoplayInterval)},stopAutoplay(){this.interval&&clearInterval(this.interval)}}};const ws={passive:!1,capture:!0},bs={passive:!0,capture:!0},_s="touchmove mousemove",xs="touchend touchcancel mouseup click input scroll";var $s={mixins:[ys,{props:{draggable:Boolean},data:{draggable:!0,threshold:10},created(){for(const t of["start","move","end"]){const e=this[t];this[t]=t=>{const i=Ft(t).x*(Re?-1:1);this.prevPos=i===this.pos?this.prevPos:this.pos,this.pos=i,e(t)}}},events:[{name:"touchstart mousedown",passive:!0,delegate(){return`${this.selList} > *`},handler(t){!this.draggable||!jt(t)&&function(t){return"none"!==Ut(t,"userSelect")&&P(t.childNodes).some((t=>3===t.nodeType&&t.textContent.trim()))}(t.target)||pt(t.target,rt)||t.button>0||this.length<2||this.start(t)}},{name:"dragstart",handler(t){t.preventDefault()}},{name:_s,el(){return this.list},handler:V,...ws}],methods:{start(){this.drag=this.pos,this._transitioner?(this.percent=this._transitioner.percent(),this.drag+=this._transitioner.getDistance()*this.percent*this.dir,this._transitioner.cancel(),this._transitioner.translate(this.percent),this.dragging=!0,this.stack=[]):this.prevIndex=this.index,Ot(document,_s,this.move,ws),Ot(document,xs,this.end,bs),Ut(this.list,"userSelect","none")},move(t){const e=this.pos-this.drag;if(0===e||this.prevPos===this.pos||!this.dragging&&Math.abs(e)<this.threshold)return;Ut(this.list,"pointerEvents","none"),t.cancelable&&t.preventDefault(),this.dragging=!0,this.dir=e<0?1:-1;const{slides:i}=this;let{prevIndex:n}=this,o=Math.abs(e),s=this.getIndex(n+this.dir,n),r=this._getDistance(n,s)||i[n].offsetWidth;for(;s!==n&&o>r;)this.drag-=r*this.dir,n=s,o-=r,s=this.getIndex(n+this.dir,n),r=this._getDistance(n,s)||i[n].offsetWidth;this.percent=o/r;const a=i[n],l=i[s],c=this.index!==s,h=n===s;let u;[this.index,this.prevIndex].filter((t=>
2!d([s,n],t))).forEach((t=>{Mt(i[t],"itemhidden",[this]),h&&(u=!0,this.prevIndex=n)})),(this.index===n&&this.prevIndex!==n||u)&&Mt(i[this.index],"itemshown",[this]),c&&(this.prevIndex=n,this.index=s,!h&&Mt(a,"beforeitemhide",[this]),Mt(l,"beforeitemshow",[this])),this._transitioner=this._translate(Math.abs(this.percent),a,!h&&l),c&&(!h&&Mt(a,"itemhide",[this]),Mt(l,"itemshow",[this]))},end(){if(Nt(document,_s,this.move,ws),Nt(document,xs,this.end,bs),this.dragging)if(this.dragging=null,this.index===this.prevIndex)this.percent=1-this.percent,this.dir*=-1,this._show(!1,this.index,!0),this._transitioner=null;else{const t=(Re?this.dir*(Re?1:-1):this.dir)<0==this.prevPos>this.pos;this.index=t?this.index:this.prevIndex,t&&(this.percent=1-this.percent),this.show(this.dir>0&&!t||this.dir<0&&t?"next":"previous",!0)}Ut(this.list,{userSelect:"",pointerEvents:""}),this.drag=this.percent=null}}},{data:{selNav:!1},computed:{nav(t,e){let{selNav:i}=t;return ke(i,e)},selNavItem(t){let{attrItem:e}=t;return`[${e}],[data-${e}]`},navItems(t,e){return Se(this.selNavItem,e)}},update:{write(){this.nav&&this.length!==this.nav.children.length&&ce(this.nav,this.slides.map(((t,e)=>`<li ${this.attrItem}="${e}"><a href></a></li>`)).join("")),this.navItems.concat(this.nav).forEach((t=>t&&(t.hidden=!this.maxIndex))),this.updateNav()},events:["resize"]},events:[{name:"click",delegate(){return this.selNavItem},handler(t){t.preventDefault(),this.show(it(t.current,this.attrItem))}},{name:"itemshow",handler:"updateNav"}],methods:{updateNav(){const t=this.getValidIndex();for(const e of this.navItems){const i=it(e,this.attrItem);Kt(e,this.clsActive,I(i)===t),Kt(e,"uk-invisible",this.finite&&("previous"===i&&0===t||"next"===i&&t>=this.maxIndex))}}}},xn],props:{clsActivated:Boolean,easing:String,index:Number,finite:Boolean,velocity:Number},data:()=>({easing:"ease",finite:!1,velocity:1,index:0,prevIndex:-1,stack:[],percent:0,clsActive:"uk-active",clsActivated:!1,Transitioner:!1,transitionOptions:{}}),connected(){this.prevIndex=-1,this.index=this.getValidIndex(this.$props.index),this.stack=[]},disconnected(){Qt(this.slides,this.clsActive)},computed:{duration(t,e){let{velocity:i}=t;return ks(e.offsetWidth/i)},list(t,e){let{selList:i}=t;return ke(i,e)},maxIndex(){return this.length-1},slides:{get(){return gt(this.list)},watch(){this.$emit("resize")}},length(){return this.slides.length}},methods:{show(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(this.dragging||!this.length)return;const{stack:i}=this,n=e?0:i.length,o=()=>{i.splice(n,1),i.length&&this.show(i.shift(),!0)};var s;if(i[e?"unshift":"push"](t),!e&&i.length>1)return void(2===i.length&&(null==(s=this._transitioner)||s.forward(Math.min(this.duration,200))));const r=this.getIndex(this.index),a=Jt(this.slides,this.clsActive)&&this.slides[r],l=this.getIndex(t,this.index),c=this.slides[l];if(a===c)return void o();if(this.dir=function(t,e){return"next"===t?1:"previous"===t||t<e?-1:1}(t,r),this.prevIndex=r,this.index=l,a&&!Mt(a,"beforeitemhide",[this])||!Mt(c,"beforeitemshow",[this,a]))return this.index=this.prevIndex,void o();const h=this._show(a,c,e).then((()=>{a&&Mt(a,"itemhidden",[this]),Mt(c,"itemshown",[this]),i.shift(),this._transitioner=null,requestAnimationFrame((()=>i.length&&this.show(i.shift(),!0)))}));return a&&Mt(a,"itemhide",[this]),Mt(c,"itemshow",[this]),h},getIndex(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.index,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.index;return W(X(t,this.slides,e,this.finite),0,this.maxIndex)},getValidIndex(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.index,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.prevIndex;return this.getIndex(t,e)},_show(t,e,i){if(this._transitioner=this._getTransitioner(t,e,this.dir,{easing:i?e.offsetWidth<600?"cubic-bezier(0.25, 0.46, 0.45, 0.94)":"cubic-bezier(0.165, 0.84, 0.44, 1)":this.easing,...this.transitionOptions}),!i&&!t)return this._translate(1),Promise.resolve();const{length:n}=this.stack;return this._transitioner[n>1?"forward":"show"](n>1?Math.min(this.duration,75+75/(n-1)):this.duration,this.percent)}
2,_getDistance(t,e){return this._getTransitioner(t,t!==e&&e).getDistance()},_translate(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.prevIndex,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.index;const n=this._getTransitioner(e!==i&&e,i);return n.translate(t),n},_getTransitioner(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.prevIndex,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.index,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.dir||1,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:this.transitionOptions;return new this.Transitioner(E(t)?this.slides[t]:t,E(e)?this.slides[e]:e,i*(Re?-1:1),n)}}};function ks(t){return.5*t+300}var Ss={mixins:[$s],props:{animation:String},data:{animation:"slide",clsActivated:"uk-transition-active",Animations:us,Transitioner:function(t,e,i,n){let{animation:o,easing:s}=n;const{percent:r,translate:a,show:l=V}=o,c=l(i),h=new J;return{dir:i,show(n){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;const r=(arguments.length>2?arguments[2]:void 0)?"linear":s;return n-=Math.round(n*W(o,-1,1)),this.translate(o),vs(e,"itemin",{percent:o,duration:n,timing:r,dir:i}),vs(t,"itemout",{percent:1-o,duration:n,timing:r,dir:i}),Promise.all([ie.start(e,c[1],n,r),ie.start(t,c[0],n,r)]).then((()=>{this.reset(),h.resolve()}),V),h.promise},cancel(){ie.cancel([e,t])},reset(){for(const i in c[0])Ut([e,t],i,"")},forward(i){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.percent();return ie.cancel([e,t]),this.show(i,n,!0)},translate(n){this.reset();const o=a(n,i);Ut(e,o[1]),Ut(t,o[0]),vs(e,"itemtranslatein",{percent:n,dir:i}),vs(t,"itemtranslateout",{percent:1-n,dir:i})},percent:()=>r(t||e,e,i),getDistance:()=>null==t?void 0:t.offsetWidth}}},computed:{animation(t){let{animation:e,Animations:i}=t;return{...i[e]||i.slide,name:e}},transitionOptions(){return{animation:this.animation}}},events:{beforeitemshow(t){let{target:e}=t;Yt(e,this.clsActive)},itemshown(t){let{target:e}=t;Yt(e,this.clsActivated)},itemhidden(t){let{target:e}=t;Qt(e,this.clsActive,this.clsActivated)}}},Es={mixins:[Sn,Ln,pn,Ss],functional:!0,props:{delayControls:Number,preload:Number,videoAutoplay:Boolean,template:String},data:()=>({preload:1,videoAutoplay:!1,delayControls:3e3,items:[],cls:"uk-open",clsPage:"uk-lightbox-page",selList:".uk-lightbox-items",attrItem:"uk-lightbox-item",selClose:".uk-close-large",selCaption:".uk-lightbox-caption",pauseOnHover:!1,velocity:2,Animations:gs,template:'<div class="uk-lightbox uk-overflow-hidden"> <ul class="uk-lightbox-items"></ul> <div class="uk-lightbox-toolbar uk-position-top uk-text-right uk-transition-sli
2de-top uk-transition-opaque"> <button class="uk-lightbox-toolbar-icon uk-close-large" type="button" uk-close></button> </div> <a class="uk-lightbox-button uk-position-center-left uk-position-medium uk-transition-fade" href uk-slidenav-previous uk-lightbox-item="previous"></a> <a class="uk-lightbox-button uk-position-center-right uk-position-medium uk-transition-fade" href uk-slidenav-next uk-lightbox-item="next"></a> <div class="uk-lightbox-toolbar uk-lightbox-caption uk-position-bottom uk-text-center uk-transition-slide-bottom uk-transition-opaque"></div> </div>'}),created(){const t=ke(this.template),e=ke(this.selList,t);this.items.forEach((()=>de(e,"<li>"))),this.$mount(de(this.container,t))},computed:{caption(t,e){let{selCaption:i}=t;return ke(i,e)}},events:[{name:`${Qe} ${Ye} keydown`,handler:"showControls"},{name:"click",self:!0,delegate(){return`${this.selList} > *`},handler(t){t.defaultPrevented||this.hide()}},{name:"shown",self:!0,handler(){this.showControls()}},{name:"hide",self:!0,handler(){this.hideControls(),Qt(this.slides,this.clsActive),ie.stop(this.slides)}},{name:"hidden",self:!0,handler(){this.$destroy(!0)}},{name:"keyup",el:()=>document,handler(t){if(this.isToggled(this.$el)&&this.draggable)switch(t.keyCode){case 37:this.show("previous");break;case 39:this.show("next")}}},{name:"beforeitemshow",handler(t){this.isToggled()||(this.draggable=!1,t.preventDefault(),this.toggleElement(this.$el,!0,!1),this.animation=gs.scale,Qt(t.target,this.clsActive),this.stack.splice(1,0,this.index))}},{name:"itemshow",handler(){ce(this.caption,this.getItem().caption||"");for(let t=-this.preload;t<=this.preload;t++)this.loadItem(this.index+t)}},{name:"itemshown",handler(){this.draggable=this.$props.draggable}},{name:"itemload",async handler(t,e){const{source:i,type:n,alt:o="",poster:s,attrs:r={}}=e;if(this.setItem(e,"<span uk-spinner></span>"),!i)return;let a;const l={allowfullscreen:"",style:"max-width: 100%; box-sizing: border-box;","uk-responsive":"","uk-video":`${this.videoAutoplay}`};if("image"===n||i.match(/\.(avif|jpe?g|jfif|a?png|gif|svg|webp)($|\?)/i))try{const{width:t,height:n}=await Vt(i,r.srcset,r.size);this.setItem(e,As("img",{src:i,width:t,height:n,alt:o,...r}))}catch{this.setError(e)}else if("video"===n||i.match(/\.(mp4|webm|ogv)($|\?)/i)){const t=As("video",{src:i,poster:s,controls:"",playsinline:"","uk-video":`${this.videoAutoplay}`});Ot(t,"loadedmetadata",(()=>{K(t,{width:t.videoWidth,height:t.videoHeight,...r}),this.setItem(e,t)})),Ot(t,"error",(()=>this.setError(e)))}else if("iframe"===n||i.match(/\.(html|php)($|\?)/i))this.setItem(e,As("iframe",{src:i,allowfullscreen:"",class:"uk-lightbox-iframe",...r}));else if(a=i.match(/\/\/(?:.*?youtube(-nocookie)?\..*?[?&]v=|youtu\.be\/)([\w-]{11})[&?]?(.*)?/))this.setItem(e,As("iframe",{src:`https://www.youtube${a[1]||""}.com/embed/${a[2]}${a[3]?`?${a[3]}`:""}`,width:1920,height:1080,...l,...r}));else if(a=i.match(/\/\/.*?vimeo\.[a-z]+\/(\d+)[&?]?(.*)?/))try{const{height:t,width:n}=await(await fetch(`https://vimeo.com/api/oembed.json?maxwidth=1920&url=${encodeURI(i)}`,{credentials:"omit"})).json();this.setItem(e,As("iframe",{src:`https://player.vimeo.com/video/${a[1]}${a[2]?`?${a[2]}`:""}`,width:n,height:t,...l,...r}))}catch{this.setError(e)}}}],methods:{loadItem(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.index;const e=this.getItem(t);this.getSlide(e).childElementCount||Mt(this.$el,"itemload",[e])},getItem(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.index;return this.items[X(t,this.slides)]},setItem(t,e){Mt(this.$el,"itemloaded",[this,ce(this.getSlide(t),e)])},getSlide(t){return this.slides[this.items.indexOf(t)]},setError(t){this.setItem(t,'<span uk-icon="icon: bolt; ratio: 2"></span>')},showControls(){clearTimeout(this.controlsTimer),this.controlsTimer=setTimeout(this.hideControls,this.delayControls),Yt(this.$el,"uk-active","uk-transition-active")},hideControls(){Qt(this.$el,"uk-active","uk-transition-active")}}};function As(t,e){const i=_e(`<${t}>`);return K(i,e),i}var Ls={install:function(t,e){t.lightboxPanel||t.component("lightboxPanel",Es),m(e.props,t.component("lightboxPanel").options.props)},props:{toggle:String},data:{toggle:"a"},computed:{toggles:{get(t,e){let{toggle:i}=t;return Se(i,e)},watch(){this.hide()}}},disconnected(){this.hide()},events:[{name:"click",delegate(){return`${this.toggle}:not(.uk-disabled)`},handler(t){t.preventDefault(),this.show(t.current)}}],methods:{show(t){const e=F(this.toggles.map(Cs),"source");if(x(t)){const{source:i}=Cs(t);t=u(e,(t=>{let{source:e}=t;return i===e}))}return this.panel=this.panel||this.$create("lightboxPanel",{...this.$props,items:e}),Ot(this.panel.$el,"hidden",(()=>this.panel=null)),this.panel.show(t)},hide(){var t;return null==(t=this.panel)?void 0:t.hide()}}};function Cs(t){const e={};for(const i of["href","caption","type","poster","alt","attrs"])e["href"===i?"source":i]=it(t,i);return e.attrs=yi(e.attrs),e}var Ts={mixins:[Sn],functional:!0,args:["message","status"],data:{message:"",status:"",timeout:5e3,group:null,pos:"top-center",clsContainer:"uk-notification",clsClose:"uk-notification-close",clsMsg:"uk-notification-message"}
2,install:function(t){t.notification.closeAll=function(e,i){$e(document.body,(n=>{const o=t.getComponent(n,"notification");o&&(!e||e===o.group)&&o.close(i)}))}},computed:{marginProp(t){let{pos:e}=t;return"margin"+(c(e,"top")?"Top":"Bottom")},startProps(){return{opacity:0,[this.marginProp]:-this.$el.offsetHeight}}},created(){const t=ke(`.${this.clsContainer}-${this.pos}`,this.container)||de(this.container,`<div class="${this.clsContainer} ${this.clsContainer}-${this.pos}" style="display: block"></div>`);this.$mount(de(t,`<div class="${this.clsMsg}${this.status?` ${this.clsMsg}-${this.status}`:""}" role="alert"> <a href class="${this.clsClose}" data-uk-close></a> <div>${this.message}</div> </div>`))},async connected(){const t=O(Ut(this.$el,this.marginProp));await ie.start(Ut(this.$el,this.startProps),{opacity:1,[this.marginProp]:t}),this.timeout&&(this.timer=setTimeout(this.close,this.timeout))},events:{click(t){pt(t.target,'a[href="#"],a[href=""]')&&t.preventDefault(),this.close()},[Ze](){this.timer&&clearTimeout(this.timer)},[Je](){this.timeout&&(this.timer=setTimeout(this.close,this.timeout))}},methods:{async close(t){this.timer&&clearTimeout(this.timer),t||await ie.start(this.$el,this.startProps),(t=>{const e=ht(t);Mt(t,"close",[this]),me(t),null!=e&&e.hasChildNodes()||me(e)})(this.$el)}}};const Is={x:Ps,y:Ps,rotate:Ps,scale:Ps,color:Ms,backgroundColor:Ms,borderColor:Ms,blur:Bs,hue:Bs,fopacity:Bs,grayscale:Bs,invert:Bs,saturate:Bs,sepia:Bs,opacity:function(t,e,i){return 1===i.length&&i.unshift(Gs(e,t,"")),i=Fs(i),(e,n)=>{e[t]=Vs(i,n)}},stroke:function(t,e,i){1===i.length&&i.unshift(0);const n=Us(i),o=so(e);return(i=Fs(i.reverse(),(t=>(t=O(t),"%"===n?t*o/100:t)))).some((t=>{let[e]=t;return e}))?(Ut(e,"strokeDasharray",o),(t,e)=>{t.strokeDashoffset=Vs(i,e)}):V},bgx:Ds,bgy:Ds},{keys:Os}=Object;var Ns={mixins:[$o],props:Ys(Os(Is),"list"),data:Ys(Os(Is),void 0),computed:{props(t,e){const i={};for(const e in t)e in Is&&!C(t[e])&&(i[e]=t[e].slice());const n={};for(const t in i)n[t]=Is[t](t,e,i[t],i);return n}},events:{load(){this.$emit()}},methods:{reset(){for(const t in this.getCss(0))Ut(this.$el,t,"")},getCss(t){const e={transform:"",filter:""};for(const i in this.props)this.props[i](e,t);return e.willChange=Object.keys(e).filter((t=>""!==e[t])).join(","),e}}};function Ps(t,e,i){let n,o=Us(i)||{x:"px",y:"px",rotate:"deg"}[t]||"";return"x"===t||"y"===t?(t=`translate${a(t)}`,n=t=>O(O(t).toFixed("px"===o?0:6))):"scale"===t&&(o="",n=t=>Us([t])?De(t,"width",e,!0)/e.offsetWidth:t),1===i.length&&i.unshift("scale"===t?1:0),i=Fs(i,n),(e,n)=>{e.transform+=` ${t}(${Vs(i,n)}${o})`}}function Ms(t,e,i){return 1===i.length&&i.unshift(Gs(e,t,"")),i=Fs(i,(t=>function(t,e){return Gs(t,"color",e).split(/[(),]/g).slice(1,-1).concat(1).slice(0,4).map(O)}(e,t))),(e,n)=>{const[o,s,r]=Ws(i,n),a=o.map(((t,e)=>(t+=r*(s[e]-t),3===e?O(t):parseInt(t,10)))).join(",");e[t]=`rgba(${a})`}}function Bs(t,e,i){1===i.length&&i.unshift(0);const n=Us(i)||{blur:"px",hue:"deg"}[t]||"%";return t={fopacity:"opacity",hue:"hue-rotate"}[t]||t,i=Fs(i),(e,o)=>{const s=Vs(i,o);e.filter+=` ${t}(${s+n})`}}function Ds(t,e,i,n){1===i.length&&i.unshift(0);const o="bgy"===t?"height":"width";n[t]=Fs(i,(t=>De(t,o,e)));const s=["bgx","bgy"].filter((t=>t in n));if(2===s.length&&"bgx"===t)return V;if("cover"===Gs(e,"backgroundSize",""))return function(t,e,i,n){const o=function(t){const e=Ut(t,"backgroundImage").replace(/^none|url\(["']?(.+?)["']?\)$/,"$1");if(zs[e])return zs[e];const i=new Image;return e&&(i.src=e,!i.naturalWidth)?(i.onload=()=>{zs[e]=js(i),Mt(t,Bt("load",!1))},js(i)):zs[e]=js(i)}(e);if(!o.width)return V;const s={width:e.offsetWidth,height:e.offsetHeight},r=["bgx","bgy"].filter((t=>t in n)),a={};for(const t of r){const e=n[t].map((t=>{let[e]=t;return e})),i=Math.min(...e),o=Math.max(...e),r=e.indexOf(i)<e.indexOf(o),l=o-i;a[t]=(r?-l:0)-(r?i:o)+"px",s["bgy"===t?"height":"width"]+=l}const l=Q.cover(o,s);for(const t of r){const i="bgy"===t?"height":"width",n=l[i]-s[i];a[t]=`max(${Hs(e,t)},-${n}px) + ${a[t]}`}const c=qs(r,a,n);return(t,e)=>{c(t,e),t.backgroundSize=`${l.width}px ${l.height}px`,t.backgroundRepeat="no-repeat"}}(0,e,0,n);const r={};
2for(const t of s)r[t]=Hs(e,t);return qs(s,r,n)}function Hs(t,e){return Gs(t,`background-position-${e.substr(-1)}`,"")}function qs(t,e,i){return function(n,o){for(const s of t){const t=Vs(i[s],o);n[`background-position-${s.substr(-1)}`]=`calc(${e[s]} + ${t}px)`}}}const zs={};function js(t){return{width:t.naturalWidth,height:t.naturalHeight}}function Fs(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:O;const i=[],{length:n}=t;let o=0;for(let s=0;s<n;s++){let[r,a]=S(t[s])?t[s].trim().split(" "):[t[s]];if(r=e(r),a=a?O(a)/100:null,0===s?null===a?a=0:a&&i.push([r,0]):s===n-1&&(null===a?a=1:1!==a&&(i.push([r,a]),a=1)),i.push([r,a]),null===a)o++;else if(o){const t=i[s-o-1][1],e=(a-t)/(o+1);for(let n=o;n>0;n--)i[s-n][1]=t+e*(o-n+1);o=0}}return i}function Ws(t,e){const i=u(t.slice(1),(t=>{let[,i]=t;return e<=i}))+1;return[t[i-1][0],t[i][0],(e-t[i-1][1])/(t[i][1]-t[i-1][1])]}function Vs(t,e){const[i,n,o]=Ws(t,e);return E(i)?i+Math.abs(i-n)*o*(i<n?1:-1):+n}const Rs=/^-?\d+(\S+)?/;function Us(t,e){for(const e of t){const t=null==e.match?void 0:e.match(Rs);if(t)return t[1]}return e}function Gs(t,e,i){const n=t.style[e],o=Ut(Ut(t,e,i),e);return t.style[e]=n,o}function Ys(t,e){return t.reduce(((t,i)=>(t[i]=e,t)),{})}var Qs={mixins:[Ns,xn,Wn],props:{target:String,viewport:Number,easing:Number,start:String,end:String},data:{target:!1,viewport:1,easing:1,start:0,end:0},computed:{target(t,e){let{target:i}=t;return Xs(i&&yt(i,e)||e)},start(t){let{start:e}=t;return De(e,"height",this.target,!0)},end(t){let{end:e,viewport:i}=t;return De(e||(i=100*(1-i))&&`${i}vh+${i}%`,"height",this.target,!0)}},resizeTargets(){return[this.$el,this.target]},update:{read(t,e){let{percent:i}=t;if(e.has("scroll")||(i=!1),!st(this.$el))return!1;if(!this.matchMedia)return;const n=i;return i=function(t,e){return e>=0?Math.pow(t,e+1):1-Math.pow(1-t,1-e)}(Ni(this.target,this.start,this.end),this.easing),{percent:i,style:n!==i&&this.getCss(i)}},write(t){let{style:e}=t;this.matchMedia?e&&Ut(this.$el,e):this.reset()},events:["scroll","resize"]}};function Xs(t){return t?"offsetTop"in t?t:Xs(ht(t)):document.documentElement}var Zs={update:{write(){if(this.stack.length||this.dragging)return;const t=this.getValidIndex(this.index);~this.prevIndex&&this.index===t?this._translate(1,this.prevIndex,this.index):this.show(t)},events:["resize"]}},Js={mixins:[un],connected(){this.lazyload(this.slides,this.getAdjacentSlides)}};function Ks(t,e,i){const n=ir(t,e);return i?n-function(t,e){return Le(e).width/2-Le(t).width/2}(t,e):Math.min(n,tr(e))}function tr(t){return Math.max(0,er(t)-Le(t).width)}function er(t){return j(gt(t),(t=>Le(t).width))}function ir(t,e){return t&&(Te(t).left+(Re?Le(t).width-Le(e).width:0))*(Re?-1:1)||0}function nr(t,e){e-=1;const i=Le(t).width,n=e+i+2;return gt(t).filter((o=>{const s=ir(o,t),r=s+Math.min(Le(o).width,i);return s>=e&&r<=n}))}function or(t,e,i){Mt(t,Bt(e,!1,!1,i))}var sr={mixins:[dn,$s,Zs,Js],props:{center:Boolean,sets:Boolean},data:{center:!1,sets:!1,attrItem:"uk-slider-item",selList:".uk-slider-items",selNav:".uk-slider-nav",clsContainer:"uk-slider-container",Transitioner:function(t,e,i,n){let{center:o,easing:s,list:r}=n;const a=new J,l=t?Ks(t,r,o):Ks(e,r,o)+Le(e).width*i,c=e?Ks(e,r,o):l+Le(t).width*i*(Re?-1:1);return{dir:i,show(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;const o=(arguments.length>2?arguments[2]:void 0)?"linear":s;return e-=Math.round(e*W(n,-1,1)),this.translate(n),n=t?n:W(n,0,1),or(this.getItemIn(),"itemin",{percent:n,duration:e,timing:o,dir:i}),t&&or(this.getItemIn(!0),"itemout",{percent:1-n,duration:e,timing:o,dir:i}),ie.start(r,{transform:fs(-c*(Re?-1:1),"px")},e,o).then(a.resolve,V),a.promise},cancel(){ie.cancel(r)},reset(){Ut(r,"transform","")},forward(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.percent();return ie.cancel(r),this.show(t,e,!0)},translate(n){const o=this.getDistance()*i*(Re?-1:1);Ut(r,"transform",fs(W(o-o*n-c,-er(r),Le(r).width)*(Re?-1:1),"px"));const s=this.getActives(),a=this.getItemIn(),l=this.getItemIn(!0);n=t?W(n,-1,1):0;for(const o of gt(r)){const c=d(s,o),h=o===a,u=o===l;or(o,"itemtranslate"+(h||!u&&(c||i*(Re?-1:1)==-1^ir(o,r)>ir(t||e))?"in":"out"),{dir:i,percent:u?1-n:h?n:c?1:0})}},percent:()=>Math.abs((Ut(r,"transform").split(",")[4]*(Re?-1:1)+l)/(c-l)),getDistance:()=>Math.abs(c-l),getItemIn(){let i=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=this.getActives(),s=nr(r,Ks(e||t,r,o));if(i){const t=n;n=s,s=t}return s[u(s,(t=>!d(n,t)))]},getActives:()=>nr(r,Ks(t||e,r,o))}}},computed:{avgWidth(){return er(this.list)/this.length},finite(t){let{finite:e}=t;return e||function(t,e){const{length:i}=t;if(i<2)return!0;const{width:n}=Le(t);if(!e)return Math.ceil(er(t))<Math.trunc(n+function(t){return Math.max(0,...gt(t).map((t=>Le(t).width)))}(t));const o=gt(t),s=Math.trunc(n/2);for(const t in o){const e=o[t],i=Le(e).width,n=new Set([e]);let r=0;for(const e of[-1,1]){let a=i/2,l=0;for(;a<s;){const i=o[X(+t+e+l++*e,o)];if(n.has(i))return!0;a+=Le(i).width,n.add(i)}
2r=Math.max(r,i/2+Le(o[X(+t+e,o)]).width/2-(a-s))}if(r>j(o.filter((t=>!n.has(t))),(t=>Le(t).width)))return!0}return!1}(this.list,this.center)},maxIndex(){if(!this.finite||this.center&&!this.sets)return this.length-1;if(this.center)return H(this.sets);let t=0;const e=tr(this.list),i=u(this.slides,(i=>{if(t>=e)return!0;t+=Le(i).width}));return~i?i:this.length-1},sets(t){let{sets:e}=t;if(!e)return;let i=0;const n=[],o=Le(this.list).width;for(let t=0;t<this.length;t++){const e=Le(this.slides[t]).width;i+e>o&&(i=0),this.center?i<o/2&&i+e+Le(this.slides[+t+1]).width/2>o/2&&(n.push(+t),i=o/2-e/2):0===i&&n.push(Math.min(+t,this.maxIndex)),i+=e}return n.length?n:void 0},transitionOptions(){return{center:this.center,list:this.list}}},connected(){Kt(this.$el,this.clsContainer,!ke(`.${this.clsContainer}`,this.$el))},update:{write(){for(const t of this.navItems){const e=I(it(t,this.attrItem));!1!==e&&(t.hidden=!this.maxIndex||e>this.maxIndex||this.sets&&!d(this.sets,e))}this.length&&!this.dragging&&!this.stack.length&&(this.reorder(),this._translate(1)),this.updateActiveClasses()},events:["resize"]},events:{beforeitemshow(t){!this.dragging&&this.sets&&this.stack.length<2&&!d(this.sets,this.index)&&(this.index=this.getValidIndex());const e=Math.abs(this.index-this.prevIndex+(this.dir>0&&this.index<this.prevIndex||this.dir<0&&this.index>this.prevIndex?(this.maxIndex+1)*this.dir:0));if(!this.dragging&&e>1){for(let t=0;t<e;t++)this.stack.splice(1,0,this.dir>0?"next":"previous");return void t.preventDefault()}const i=this.dir<0||!this.slides[this.prevIndex]?this.index:this.prevIndex;this.duration=ks(this.avgWidth/this.velocity)*(Le(this.slides[i]).width/this.avgWidth),this.reorder()},itemshow(){~this.prevIndex&&Yt(this._getTransitioner().getItemIn(),this.clsActive)},itemshown(){this.updateActiveClasses()}},methods:{reorder(){if(this.finite)return void Ut(this.slides,"order","");const t=this.dir>0&&this.slides[this.prevIndex]?this.prevIndex:this.index;if(this.slides.forEach(((e,i)=>Ut(e,"order",this.dir>0&&i<t?1:this.dir<0&&i>=this.index?-1:""))),!this.center)return;const e=this.slides[t];let i=Le(this.list).width/2-Le(e).width/2,n=0;for(;i>0;){const e=this.getIndex(--n+t,t),o=this.slides[e];Ut(o,"order",e>t?-2:-1),i-=Le(o).width}},updateActiveClasses(){const t=this._getTransitioner(this.index).getActives(),e=[this.clsActive,(!this.sets||d(this.sets,O(this.index)))&&this.clsActivated||""];for(const i of this.slides)Kt(i,e,d(t,i))},getValidIndex(){let t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.index,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.prevIndex;if(e=this.getIndex(e,i),!this.sets)return e;do{if(d(this.sets,e))return e;t=e,e=this.getIndex(e+this.dir,i)}while(e!==t);return e},getAdjacentSlides(){const{width:t}=Le(this.list),e=-t,i=2*t,n=Le(this.slides[this.index]).width,o=this.center?t/2-n/2:0,s=new Set;for(const t of[-1,1]){let r=o+(t>0?n:0),a=0;do{const e=this.slides[this.getIndex(this.index+t+a++*t)];r+=Le(e).width*t,s.add(e)}while(this.length>a&&r>e&&r<i)}return Array.from(s)}}};var rr={mixins:[Ns],data:{selItem:"!li"},beforeConnect(){this.item=yt(this.selItem,this.$el)},disconnected(){this.item=null},events:[{name:"itemin itemout",self:!0,el(){return this.item},handler(t){let{type:e,detail:{percent:i,duration:n,timing:o,dir:s}}=t;ti.read((()=>{if(!this.matchMedia)return;const t=this.getCss(lr(e,s,i)),r=this.getCss(ar(e)?.5:s>0?1:0);ti.write((()=>{Ut(this.$el,t),ie.start(this.$el,r,n,o).catch(V)}))}))}},{name:"transitioncanceled transitionend",self:!0,el(){return this.item},handler(){ie.cancel(this.$el)}},{name:"itemtranslatein itemtranslateout",self:!0,el(){return this.item},handler(t){let{type:e,detail:{percent:i,dir:n}}=t;ti.read((()=>{if(!this.matchMedia)return void this.reset();const t=this.getCss(lr(e,n,i));ti.write((()=>Ut(this.$el,t)))}))}}]};function ar(t){return h(t,"in")}function lr(t,e,i){return i/=2,ar(t)^e<0?i:1-i}var cr={...us,fade:{show:()=>[{opacity:0,zIndex:0},{zIndex:-1}],percent:t=>1-Ut(t,"opacity"),translate:t=>[{opacity:1-t,zIndex:0},{zIndex:-1}]},scale:{show:()=>[{opacity:0,transform:ms(1.5),zIndex:0},{zIndex:-1}],percent:t=>1-Ut(t,"opacity"),translate:t=>[{opacity:1-t,transform:ms(1+.5*t),zIndex:0},{zIndex:-1}]},pull:{show:t=>t<0?[{transform:fs(30),zIndex:-1},{transform:fs(),zIndex:0}]:[{transform:fs(-100),zIndex:0},{transform:fs(),zIndex:-1}],percent:(t,e,i)=>i<0?1-ps(e):ps(t),translate:(t,e)=>e<0?[{transform:fs(30*t),zIndex:-1},{transform:fs(-100*(1-t)),zIndex:0}]:[{transform:fs(100*-t),zIndex:0},{transform:fs(30*(1-t)),zIndex:-1}]},push:{show:t=>t<0?[{transform:fs(100),zIndex:0},{transform:fs(),zIndex:-1}]:[{transform:fs(-30),zIndex:-1},{transform:fs(),zIndex:0}],percent:(t,e,i)=>i>0?1-ps(e):ps(t),translate:(t,e)=>e<0?[{transform:fs(100*t),zIndex:0},{transform:fs(-30*(1-t)),zIndex:-1}]:[{transform:fs(-30*t),zIndex:-1},{transform:fs(100*(1-t)),zIndex:0}]}},hr={mixins:[dn,Ss,Zs,Js],props:{ratio:String,minHeight:Number,maxHeight:Number},data:{ratio:"16:9",minHeight:!1,maxHeight:!1,selList:".uk-slideshow-items",attrItem:"uk-slideshow-item",selNav:".uk-slideshow-nav",Animations:cr},update:{read(){if(!this.list)return!1;let[t,e]=this.ratio.split(":").map(Number);return e=e*this.list.offsetWidth/t||0,this.minHeight&&(e=Math.max(this.minHeight,e)),this.maxHeight&&(e=Math.min(this.maxHeight,e)),{height:e-Me(this.list,"height","content-box")}},write(t){let{height:e}=t;e>0&&Ut(this.list,"minHeight",e)},events:["resize"]},methods:{getAdjacentSlides(){return[1,-1].map((t=>this.slides[this.getIndex(this.index+t)]))}}},dr={mixins:[dn,ls],props:{group:String,threshold:Number,clsItem:String,clsPlaceholder:String,clsDrag:String,clsDragState:String,clsBase:String,clsNoDrag:String,clsEmpty:String,clsCustom:String,handle:String},data:{group:!1,threshold:5,clsItem:"uk-sortable-item",clsPlaceholder:"u
2k-sortable-placeholder",clsDrag:"uk-sortable-drag",clsDragState:"uk-drag",clsBase:"uk-sortable",clsNoDrag:"uk-sortable-nodrag",clsEmpty:"uk-sortable-empty",clsCustom:"",handle:!1,pos:{}},created(){for(const t of["init","start","move","end"]){const e=this[t];this[t]=t=>{m(this.pos,Ft(t)),e(t)}}},events:{name:Ye,passive:!1,handler:"init"},computed:{target(){return(this.$el.tBodies||[this.$el])[0]},items(){return gt(this.target)},isEmpty:{get(){return L(this.items)},watch(t){Kt(this.target,this.clsEmpty,t)},immediate:!0},handles:{get(t,e){let{handle:i}=t;return i?Se(i,e):this.items},watch(t,e){Ut(e,{touchAction:"",userSelect:""}),Ut(t,{touchAction:Ue?"none":"",userSelect:"none"})},immediate:!0}},update:{write(t){if(!this.drag||!ht(this.placeholder))return;const{pos:{x:e,y:i},origin:{offsetTop:n,offsetLeft:o},placeholder:s}=this;Ut(this.drag,{top:i-n,left:e-o});const r=this.getSortable(document.elementFromPoint(e,i));if(!r)return;const{items:a}=r;if(a.some(ie.inProgress))return;const l=function(t,e){return t[u(t,(t=>U(e,t.getBoundingClientRect())))]}(a,{x:e,y:i});if(a.length&&(!l||l===s))return;const c=this.getSortable(s),h=function(t,e,i,n,o,s){if(!gt(t).length)return;const r=e.getBoundingClientRect();if(!s)return function(t,e){const i=1===gt(t).length;i&&de(t,e);const n=gt(t),o=n.some(((t,e)=>{const i=t.getBoundingClientRect();return n.slice(e+1).some((t=>{const e=t.getBoundingClientRect();return!pr([i.left,i.right],[e.left,e.right])}))}));return i&&me(e),o}(t,i)||o<r.top+r.height/2?e:e.nextElementSibling;const a=i.getBoundingClientRect(),l=pr([r.top,r.bottom],[a.top,a.bottom]),c=l?n:o,h=l?"width":"height",d=l?"left":"top",u=l?"right":"bottom",p=a[h]<r[h]?r[h]-a[h]:0;return a[d]<r[d]?!(p&&c<r[d]+p)&&e.nextElementSibling:!(p&&c>r[u]-p)&&e}(r.target,l,s,e,i,r===c&&t.moved!==l);!1!==h&&(h&&s===h||(r!==c?(c.remove(s),t.moved=l):delete t.moved,r.insert(s,h),this.touched.add(r)))},events:["move"]},methods:{init(t){const{target:e,button:i,defaultPrevented:n}=t,[o]=this.items.filter((t=>ft(e,t)));!o||n||i>0||at(e)||ft(e,`.${this.clsNoDrag}`)||this.handle&&!ft(e,this.handle)||(t.preventDefault(),this.touched=new Set([this]),this.placeholder=o,this.origin={target:e,index:vt(o),...this.pos},Ot(document,Qe,this.move),Ot(document,Xe,this.end),this.threshold||this.start(t))},start(t){this.drag=function(t,e){let i;if(["li","tr"].some((t=>ae(e,t)))){i=ke("<div>"),de(i,e.cloneNode(!0).children);for(const t of e.getAttributeNames())K(i,t,e.getAttribute(t))}else i=e.cloneNode(!0);return de(t,i),Ut(i,"margin","0","important"),Ut(i,{boxSizing:"border-box",width:e.offsetWidth,height:e.offsetHeight,padding:Ut(e,"padding")}),Oe(i.firstElementChild,Oe(e.firstElementChild)),i}(this.$container,this.placeholder);const{left:e,top:i}=this.placeholder.getBoundingClientRect();m(this.origin,{offsetLeft:this.pos.x-e,offsetTop:this.pos.y-i}),Yt(this.drag,this.clsDrag,this.clsCustom),Yt(this.placeholder,this.clsPlaceholder),Yt(this.items,this.clsItem),Yt(document.documentElement,this.clsDragState),Mt(this.$el,"start",[this,this.placeholder]),function(t){let e=Date.now();ur=setInterval((()=>{let{x:i,y:n}=t;n+=document.scrollingElement.scrollTop;const o=.3*(Date.now()-e);e=Date.now(),Pi(document.elementFromPoint(i,t.y),/auto|scroll/).reverse().some((t=>{let{scrollTop:e,scrollHeight:i}=t;const{top:s,bottom:r,height:a}=Mi(t);if(s<n&&s+35>n)e-=o;else{if(!(r>n&&r-35<n))return;e+=o}if(e>0&&e<i-a)return t.scrollTop=e,!0}))}),15)}(this.pos),this.move(t)},move(t){this.drag?this.$emit("move"):(Math.abs(this.pos.x-this.origin.x)>this.threshold||Math.abs(this.pos.y-this.origin.y)>this.threshold)&&this.start(t)},end(){if(Nt(document,Qe,this.move),Nt(document,Xe,this.end),!this.drag)return;clearInterval(ur);const t=this.getSortable(this.placeholder);this===t?this.origin.index!==vt(this.placeholder)&&Mt(this.$el,"moved",[this,this.placeholder]):(Mt(t.$el,"added",[t,this.placeholder]),Mt(this.$el,"removed",[this,this.placeholder])),Mt(this.$el,"stop",[this,this.placeholder]),me(this.drag),this.drag=null;for(const{clsPlaceholder:t,clsItem:e}of this.touched)for(const i of this.touched)Qt(i.items,t,e);this.touched=null,Qt(document.documentElement,this.clsDragState)},insert(t,e){Yt(this.items,this.clsItem);this.animate((()=>e?ue(e,t):de(this.target,t)))},remove(t){ft(t,this.target)&&this.animate((()=>me(t)))},getSortable(t){do{const e=this.$getComponent(t,"sortable");if(e&&(e===this||!1!==this.group&&e.group===this.group))return e}while(t=ht(t))}}};let ur;function pr(t,e){return t[1]>e[0]&&e[1]>t[0]}var fr={mixins:[Sn,pn,En],args:"title",props:{delay:Number,title:String},data:{pos:"top",title:"",delay:0,animation:["uk-animation-scale-up"],duration:100,cls:"uk-active"},beforeConnect(){var t;this.id=`uk-tooltip-${this._uid}`,this._hasTitle=tt(this.$el,"title"),K(this.$el,{title:"","aria-describedby":this.id}),ct(t=this.$el)||K(t,"tabindex","0")},disconnected(){this.hide(),K(this.$el,"title")||K(this.$el,"title",this._hasTitle?this.title:null)},methods:{show(){this.isToggled(this.tooltip||null)||!this.title||(this._unbind=Pt(document,`keydown ${Ye}`,this.hide,!1,(t=>t.type===Ye&&!ft(t.target,this.$el)||"keydown"===t.type&&27===t.keyCode)),clearTimeout(this.showTimer),this.showTimer=setTimeout(this._show,this.delay))},async hide(){ut(this.$el,"input:focus")||(clearTimeout(this.showTimer),this.isToggled(this.tooltip||null)&&(await this.toggleElement(this.tooltip,!1,!1),me(this.tooltip),this.tooltip=null,this._unbind()))},_show(){this.tooltip=de(this.container,`<div id="${this.id}" class="uk-${this.$options.name}" role="tooltip"> <div class="uk-${this.$options.name}-inner">${this.title}</div> </div>`),Ot(this.tooltip,"toggled",((t,e)=>{if(!e)return;this.positionAt(this.tooltip,this.$el);
2const[i,n]=function(t,e,i){let[n,o]=i;const s=Ce(t),r=Ce(e),a=[["left","right"],["top","bottom"]];for(const t of a){if(s[t[0]]>=r[t[1]]){n=t[1];break}if(s[t[1]]<=r[t[0]]){n=t[0];break}}const l=d(a[0],n)?a[1]:a[0];return o=s[l[0]]===r[l[0]]?l[0]:s[l[1]]===r[l[1]]?l[1]:"center",[n,o]}(this.tooltip,this.$el,this.pos);this.origin="y"===this.axis?`${Be(i)}-${n}`:`${n}-${Be(i)}`})),this.toggleElement(this.tooltip,!0)}},events:{focus:"show",blur:"hide",[`${Ze} ${Je}`](t){jt(t)||this[t.type===Ze?"show":"hide"]()},[Ye](t){jt(t)&&this.show()}}};var mr={props:{allow:String,clsDragover:String,concurrent:Number,maxSize:Number,method:String,mime:String,msgInvalidMime:String,msgInvalidName:String,msgInvalidSize:String,multiple:Boolean,name:String,params:Object,type:String,url:String},data:{allow:!1,clsDragover:"uk-dragover",concurrent:1,maxSize:0,method:"POST",mime:!1,msgInvalidMime:"Invalid File Type: %s",msgInvalidName:"Invalid File Name: %s",msgInvalidSize:"Invalid File Size: %s Kilobytes Max",multiple:!1,name:"files[]",params:{},type:"",url:"",abort:V,beforeAll:V,beforeSend:V,complete:V,completeAll:V,error:V,fail:V,load:V,loadEnd:V,loadStart:V,progress:V},events:{change(t){ut(t.target,'input[type="file"]')&&(t.preventDefault(),t.target.files&&this.upload(t.target.files),t.target.value="")},drop(t){vr(t);const e=t.dataTransfer;null!=e&&e.files&&(Qt(this.$el,this.clsDragover),this.upload(e.files))},dragenter(t){vr(t)},dragover(t){vr(t),Yt(this.$el,this.clsDragover)},dragleave(t){vr(t),Qt(this.$el,this.clsDragover)}},methods:{async upload(t){if(!(t=f(t)).length)return;Mt(this.$el,"upload",[t]);for(const e of t){if(this.maxSize&&1e3*this.maxSize<e.size)return void this.fail(this.msgInvalidSize.replace("%s",this.maxSize));if(this.allow&&!gr(this.allow,e.name))return void this.fail(this.msgInvalidName.replace("%s",this.allow));if(this.mime&&!gr(this.mime,e.type))return void this.fail(this.msgInvalidMime.replace("%s",this.mime))}this.multiple||(t=t.slice(0,1)),this.beforeAll(this,t);const e=function(t,e){const i=[];for(let n=0;n<t.length;n+=e)i.push(t.slice(n,n+e));return i}(t,this.concurrent),i=async t=>{const n=new FormData;t.forEach((t=>n.append(this.name,t)));for(const t in this.params)n.append(t,this.params[t]);try{const t=await Wt(this.url,{data:n,method:this.method,responseType:this.type,beforeSend:t=>{const{xhr:e}=t;e.upload&&Ot(e.upload,"progress",this.progress);for(const t of["loadStart","load","loadEnd","abort"])Ot(e,t.toLowerCase(),this[t]);return this.beforeSend(t)}});this.complete(t),e.length?await i(e.shift()):this.completeAll(t)}catch(t){this.error(t)}};await i(e.shift())}}};function gr(t,e){return e.match(new RegExp(`^${t.replace(/\//g,"\\/").replace(/\*\*/g,"(\\/[^\\/]+)*").replace(/\*/g,"[^\\/]+").replace(/((?!\\))\?/g,"$1.")}$`,"i"))}function vr(t){t.preventDefault(),t.stopPropagation()}return q(Object.freeze({__proto__:null,Countdown:Zo,Filter:cs,Lightbox:Ls,LightboxPanel:Es,Notification:Ts,Parallax:Qs,Slider:sr,SliderParallax:rr,Slideshow:hr,SlideshowParallax:rr,Sortable:dr,Tooltip:fr,Upload:mr}),((t,e)=>hn.component(e,t))),hn}()},631:(t,e,i)=>{"use strict";i.r(e),i.d(e,{BotInfo:()=>a,BrowserInfo:()=>o,NodeInfo:()=>s,ReactNativeInfo:()=>l,SearchBotDeviceInfo:()=>r,browserName:()=>m,detect:()=>p,detectOS:()=>v,getNodeVersion:()=>y,parseUserAgent:()=>g});var n=function(t,e,i){if(i||2===arguments.length)for(var n,o=0,s=e.length;o<s;o++)!n&&o in e||(n||(n=Array.prototype.slice.call(e,0,o)),n[o]=e[o]);return t.concat(n||Array.prototype.slice.call(e))},o=function(t,e,i){this.name=t,this.version=e,this.os=i,this.type="browser"},s=function(t){this.version=t,this.type="node",this.name="node",this.os=process.platform},r=function(t,e,i,n){this.name=t,this.version=e,this.os=i,this.bot=n,this.type="bot-device"},a=function(){this.type="bot",this.bot=!0,this.name="bot",this.version=null,this.os=null},l=function(){this.type="react-native",this.name="react-native",this.version=null,this.os=null},c=/(nuhk|curl|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask\ Jeeves\/Teoma|ia_archiver)/,h=3,d=[["aol",/AOLShield\/([0-9\._]+)/],["edge",/Edge\/([0-9\._]+)/],["edge-ios",/EdgiOS\/([0-9\._]+)/],["yandexbrowser",/YaBrowser\/([0-9\._]+)/],["kakaotalk",/KAKAOTALK\s([0-9\.]+)/],["samsung",/SamsungBrowser\/([0-9\.]+)/],["silk",/\bSilk\/([0-9._-]+)\b/],["miui",/MiuiBrowser\/([0-9\.]+)$/],["beaker",/BeakerBrowser\/([0-9\.]+)/],["edge-chromium",/EdgA?\/([0-9\.]+)/],["chromium-webview",/(?!Chrom.*OPR)wv\).*Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["chrome",/(?!Chrom.*OPR)Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["phantomjs",/PhantomJS\/([0-9\.]+)(:?\s|$)/],["crios",/CriOS\/([0-9\.]+)(:?\s|$)/],["firefox",/Firefox\/([0-9\.]+)(?:\s|$)/],["fxios",/FxiOS\/([0-9\.]+)/],["opera-mini",/Opera Mini.*Version\/([0-9\.]+)/],["opera",/Opera\/([0-9\.]+)(?:\s|$)/],["opera",/OPR\/([0-9\.]+)(:?\s|$)/],["pie",/^Microsoft Pocket Internet Explorer\/(\d+\.\d+)$/],["pie",/^Mozilla\/\d\.\d+\s\(compatible;\s(?:MSP?IE|MSInternet Explorer) (\d+\.\d+);.*Windows CE.*\)$/],["netfront",/^Mozilla\/\d\.\d+.*NetFront\/(\d.\d)/],["ie",/Trident\/7\.0.*rv\:([0-9\.]+).*\).*Gecko$/],["ie",/MSIE\s([0-9\.]+);.*Trident\/[4-7].0/],["ie",/MSIE\s(7\.0)/],["bb10",/BB10;
2\sTouch.*Version\/([0-9\.]+)/],["android",/Android\s([0-9\.]+)/],["ios",/Version\/([0-9\._]+).*Mobile.*Safari.*/],["safari",/Version\/([0-9\._]+).*Safari/],["facebook",/FB[AS]V\/([0-9\.]+)/],["instagram",/Instagram\s([0-9\.]+)/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Mobile/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Gecko\)$/],["curl",/^curl\/([0-9\.]+)$/],["searchbot",/alexa|bot|crawl(er|ing)|facebookexternalhit|feedburner|google web preview|nagios|postrank|pingdom|slurp|spider|yahoo!|yandex/]],u=[["iOS",/iP(hone|od|ad)/],["Android OS",/Android/],["BlackBerry OS",/BlackBerry|BB10/],["Windows Mobile",/IEMobile/],["Amazon OS",/Kindle/],["Windows 3.11",/Win16/],["Windows 95",/(Windows 95)|(Win95)|(Windows_95)/],["Windows 98",/(Windows 98)|(Win98)/],["Windows 2000",/(Windows NT 5.0)|(Windows 2000)/],["Windows XP",/(Windows NT 5.1)|(Windows XP)/],["Windows Server 2003",/(Windows NT 5.2)/],["Windows Vista",/(Windows NT 6.0)/],["Windows 7",/(Windows NT 6.1)/],["Windows 8",/(Windows NT 6.2)/],["Windows 8.1",/(Windows NT 6.3)/],["Windows 10",/(Windows NT 10.0)/],["Windows ME",/Windows ME/],["Windows CE",/Windows CE|WinCE|Microsoft Pocket Internet Explorer/],["Open BSD",/OpenBSD/],["Sun OS",/SunOS/],["Chrome OS",/CrOS/],["Linux",/(Linux)|(X11)/],["Mac OS",/(Mac_PowerPC)|(Macintosh)/],["QNX",/QNX/],["BeOS",/BeOS/],["OS/2",/OS\/2/]];function p(t){return t?g(t):"undefined"==typeof document&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product?new l:"undefined"!=typeof navigator?g(navigator.userAgent):y()}function f(t){return""!==t&&d.reduce((function(e,i){var n=i[0],o=i[1];if(e)return e;var s=o.exec(t);return!!s&&[n,s]}),!1)}function m(t){var e=f(t);return e?e[0]:null}function g(t){var e=f(t);if(!e)return null;var i=e[0],s=e[1];if("searchbot"===i)return new a;var l=s[1]&&s[1].split(".").join("_").split("_").slice(0,3);l?l.length<h&&(l=n(n([],l,!0),function(t){for(var e=[],i=0;i<t;i++)e.push("0");return e}(h-l.length),!0)):l=[];var d=l.join("."),u=v(t),p=c.exec(t);return p&&p[1]?new r(i,d,u,p[1]):new o(i,d,u)}function v(t){for(var e=0,i=u.length;e<i;e++){var n=u[e],o=n[0];if(n[1].exec(t))return o}return null}function y(){return"undefined"!=typeof process&&process.version?new s(process.version.slice(1)):null}}},e={};function i(n){var o=e[n];if(void 0!==o)return o.exports;var s=e[n]={exports:{}};return t[n].call(s.exports,s,s.exports,i),s.exports}i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},(()=>{"use strict";function t(t){let e;return e=null!=t,e}i(211),i(850);const e=t=>{let e=`; ${document.cookie}`.split(`; ${t}=`);if(2===e.length)return e.pop().split(";").shift()},n={startingPriceEndpoint:"https://www.ni.com/auth/pricing?locale=<locale>&<type>=<id>",commerceMetadataEndpoint:"https://api.ni.com/e/mktg/product-catalog/1/localeCommerceMetadata?locale=<locale>",addToCartEndpoint:"https://api.ni.com/e/mktg/cart-checkout/1/<locale>/cart",cartCountEndpoint:"https://api.ni.com/e/mktg/cart-checkout/1/<locale>/cart/count",cartEndpoint:"/shop/s/cart",kbMaxEndpoint:"https://nationalinstruments"+function(){const t=window.location.href;return t.indexOf("www-dev")>=0||t.indexOf("www-test")>=0||t.indexOf("netlify")>=0||t.indexOf("localhost")>=0?"-test":""}()+".kbmax.com",apiClientId:"1fcca773908c4e6da0500a60ea393e83",apiClientSecret:"9EC7AA4494614C25AE57f022Bc6f7Bac",localeDefault:"hu-HU",debugAnalytics:!1},{localeDefault:o}=n;function s(t){return(new DOMParser).parseFromString(t,"text/html").body.firstElementChild}document.documentElement;const r=(t,e)=>{t.parentNode.insertBefore(e,t.nextSibling)},a=(t,e)=>{const i=document.querySelector(t).value;return i.includes("${")?e:i};let l;const c=(t,e,i)=>{null!==document.querySelector(t)?(clearTimeout(l),i()):l=setTimeout((function(){c(t,e,i)}),e)};/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);const{detect:h}=i(631),d=".ni__horizontal-scroller",u=".ni__horizontal-scroller--scrolled-content",p="ni__horizontal-scroller--can-scroll-left",f="ni__horizontal-scroller--can-scroll-right";function m(t){const e=t.closest(d).classList;0===t.scrollLeft?e.remove(p):e.add(p),t.scrollLeft+t.clientWidth>=t.scrollWidth?e.remove(f):e.add(f)}function g(t,e){if("onscrollend"in t)t.addEventListener("scrollend",e);else{let i;t.addEventListener("scroll",(()=>{clearTimeout(i),i=setTimeout(e,100)}))}}var v={type:"slider",startAt:0,perView:1,focusAt:0,gap:10,autoplay:!1,hoverpause:!0,keyboard:!0,bound:!1,swipeThreshold:80,dragThreshold:120,perSwipe:"|",touchRatio:.5,touchAngle:45,animationDuration:400,rewind:!0,rewindDuration:800,animationTimingFunc:"cubic-bezier(.165, .840, .440, 1)",waitForTransition:!0,throttle:10,direction:"ltr",peek:0,breakpoints:{},classes:{swipeable:"glide--swipeable",dragging:"glide--dragging",direction:{ltr:"glide--ltr",rtl:"glide--rtl"},type:{slider:"glide--slider",carousel:"glide--carousel"},slide:{clone:"glide__slide--clone",active:"glide__slide--active"},arrow:{disabled:"glide__arrow--disabled"},nav:{active:"glide__bullet--active"}}};function y(t){console.error("[Glide warn]: "+t)}var w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},b=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},_=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}
2return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),x=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},$=function t(e,i,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,i);if(void 0===o){var s=Object.getPrototypeOf(e);return null===s?void 0:t(s,i,n)}if("value"in o)return o.value;var r=o.get;return void 0!==r?r.call(n):void 0};function k(t){return parseInt(t)}function S(t){return"string"==typeof t}function E(t){var e=void 0===t?"undefined":w(t);return"function"===e||"object"===e&&!!t}function A(t){return"function"==typeof t}function L(t){return void 0===t}function C(t){return t.constructor===Array}function T(t,e,i){Object.defineProperty(t,e,i)}function I(t,e){var i=x({},t,e);return e.hasOwnProperty("classes")&&(i.classes=x({},t.classes,e.classes),e.classes.hasOwnProperty("direction")&&(i.classes.direction=x({},t.classes.direction,e.classes.direction)),e.classes.hasOwnProperty("type")&&(i.classes.type=x({},t.classes.type,e.classes.type)),e.classes.hasOwnProperty("slide")&&(i.classes.slide=x({},t.classes.slide,e.classes.slide)),e.classes.hasOwnProperty("arrow")&&(i.classes.arrow=x({},t.classes.arrow,e.classes.arrow)),e.classes.hasOwnProperty("nav")&&(i.classes.nav=x({},t.classes.nav,e.classes.nav))),e.hasOwnProperty("breakpoints")&&(i.breakpoints=x({},t.breakpoints,e.breakpoints)),i}var O=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};b(this,t),this.events=e,this.hop=e.hasOwnProperty}return _(t,[{key:"on",value:function(t,e){if(C(t))for(var i=0;i<t.length;i++)this.on(t[i],e);this.hop.call(this.events,t)||(this.events[t]=[]);var n=this.events[t].push(e)-1;return{remove:function(){delete this.events[t][n]}}}},{key:"emit",value:function(t,e){if(C(t))for(var i=0;i<t.length;i++)this.emit(t[i],e);this.hop.call(this.events,t)&&this.events[t].forEach((function(t){t(e||{})}))}}]),t}(),N=function(){function t(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};b(this,t),this._c={},this._t=[],this._e=new O,this.disabled=!1,this.selector=e,this.settings=I(v,i),this.index=this.settings.startAt}return _(t,[{key:"mount",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this._e.emit("mount.before"),E(t)?this._c=function(t,e,i){var n={};for(var o in e)A(e[o])?n[o]=e[o](t,n,i):y("Extension must be a function");for(var s in n)A(n[s].mount)&&n[s].mount();return n}(this,t,this._e):y("You need to provide a object on `mount()`"),this._e.emit("mount.after"),this}},{key:"mutate",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return C(t)?this._t=t:y("You need to provide a array on `mutate()`"),this}},{key:"update",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.settings=I(this.settings,t),t.hasOwnProperty("startAt")&&(this.index=t.startAt),this._e.emit("update"),this}},{key:"go",value:function(t){return this._c.Run.make(t),this}},{key:"move",value:function(t){return this._c.Transition.disable(),this._c.Move.make(t),this}},{key:"destroy",value:function(){return this._e.emit("destroy"),this}},{key:"play",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return t&&(this.settings.autoplay=t),this._e.emit("play"),this}},{key:"pause",value:function(){return this._e.emit("pause"),this}},{key:"disable",value:function(){return this.disabled=!0,this}},{key:"enable",value:function(){return this.disabled=!1,this}},{key:"on",value:function(t,e){return this._e.on(t,e),this}},{key:"isType",value:function(t){return this.settings.type===t}},{key:"settings",get:function(){return this._o},set:function(t){E(t)?this._o=t:y("Options must be an `object` instance.")}},{key:"index",get:function(){return this._i},set:function(t){this._i=k(t)}},{key:"type",get:function(){return this.settings.type}},{key:"disabled",get:function(){return this._d},set:function(t){this._d=!!t}}]),t}();function P(){return(new Date).getTime()}function M(t,e,i){var n=void 0,o=void 0,s=void 0,r=void 0,a=0;i||(i={});var l=function(){a=!1===i.leading?0:P(),n=null,r=t.apply(o,s),n||(o=s=null)},c=function(){var c=P();a||!1!==i.leading||(a=c);var h=e-(c-a);return o=this,s=arguments,h<=0||h>e?(n&&(clearTimeout(n),n=null),a=c,r=t.apply(o,s),n||(o=s=null)):n||!1===i.trailing||(n=setTimeout(l,h)),r};return c.cancel=function(){clearTimeout(n),a=0,n=o=s=null},c}var B={ltr:["marginLeft","marginRight"],rtl:["marginRight","marginLeft"]};function D(t){if(t&&t.parentNode){for(var e=t.parentNode.firstChild,i=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&i.push(e);return i}return[]}function H(t){return!!(t&&t instanceof window.HTMLElement)}var q='[data-glide-el="track"]',z=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};b(this,t),this.listeners=e}
vendor: 8,957 bytes, line 2
2return _(t,[{key:"on",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];S(t)&&(t=[t]);for(var o=0;o<t.length;o++)this.listeners[t[o]]=i,e.addEventListener(t[o],this.listeners[t[o]],n)}},{key:"off",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];S(t)&&(t=[t]);for(var n=0;n<t.length;n++)e.removeEventListener(t[n],this.listeners[t[n]],i)}},{key:"destroy",value:function(){delete this.listeners}}]),t}(),j=["ltr","rtl"],F={">":"<","<":">","=":"="};function W(t,e){return{modify:function(t){return e.Direction.is("rtl")?-t:t}}}function V(t,e){return{modify:function(t){var i=Math.floor(t/e.Sizes.slideWidth);return t+e.Gaps.value*i}}}function R(t,e){return{modify:function(t){return t+e.Clones.grow/2}}}function U(t,e){return{modify:function(i){if(t.settings.focusAt>=0){var n=e.Peek.value;return E(n)?i-n.before:i-n}return i}}}function G(t,e){return{modify:function(i){var n=e.Gaps.value,o=e.Sizes.width,s=t.settings.focusAt,r=e.Sizes.slideWidth;return"center"===s?i-(o/2-r/2):i-r*s-n*s}}}var Y=!1;try{var Q=Object.defineProperty({},"passive",{get:function(){Y=!0}});window.addEventListener("testPassive",null,Q),window.removeEventListener("testPassive",null,Q)}catch(t){}var X=Y,Z=["touchstart","mousedown"],J=["touchmove","mousemove"],K=["touchend","touchcancel","mouseup","mouseleave"],tt=["mousedown","mousemove","mouseup","mouseleave"];function et(t){return E(t)?(e=t,Object.keys(e).sort().reduce((function(t,i){return t[i]=e[i],t[i],t}),{})):(y("Breakpoints option must be an object"),{});var e}var it={Html:function(t,e){var i={mount:function(){this.root=t.selector,this.track=this.root.querySelector(q),this.slides=Array.prototype.slice.call(this.wrapper.children).filter((function(e){return!e.classList.contains(t.settings.classes.slide.clone)}))}};return T(i,"root",{get:function(){return i._r},set:function(t){S(t)&&(t=document.querySelector(t)),H(t)?i._r=t:y("Root element must be a existing Html node")}}),T(i,"track",{get:function(){return i._t},set:function(t){H(t)?i._t=t:y("Could not find track element. Please use "+q+" attribute.")}}),T(i,"wrapper",{get:function(){return i.track.children[0]}}),i},Translate:function(t,e,i){var n={set:function(i){var n=function(t,e,i){var n=[V,R,U,G].concat(t._t,[W]);return{mutate:function(i){for(var o=0;o<n.length;o++){var s=n[o];A(s)&&A(s().modify)?i=s(t,e,undefined).modify(i):y("Transformer should be a function that returns an object with `modify()` method")}return i}}}(t,e).mutate(i);e.Html.wrapper.style.transform="translate3d("+-1*n+"px, 0px, 0px)"},remove:function(){e.Html.wrapper.style.transform=""},getStartIndex:function(){var i=e.Sizes.length,n=t.index,o=t.settings.perView;return e.Run.isOffset(">")||e.Run.isOffset("|>")?i+(n-o):(n+o)%i},getTravelDistance:function(){var i=e.Sizes.slideWidth*t.settings.perView;return e.Run.isOffset(">")||e.Run.isOffset("|>")?-1*i:i}};return i.on("move",(function(o){if(!t.isType("carousel")||!e.Run.isOffset())return n.set(o.movement);e.Transition.after((function(){i.emit("translate.jump"),n.set(e.Sizes.slideWidth*t.index)}));var s=e.Sizes.slideWidth*e.Translate.getStartIndex();return n.set(s-e.Translate.getTravelDistance())})),i.on("destroy",(function(){n.remove()})),n},Transition:function(t,e,i){var n=!1,o={compose:function(e){var i=t.settings;return n?e+" 0ms "+i.animationTimingFunc:e+" "+this.duration+"ms "+i.animationTimingFunc},set:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"transform";e.Html.wrapper.style.transition=this.compose(t)},remove:function(){e.Html.wrapper.style.transition=""},after:function(t){setTimeout((function(){t()}),this.duration)},enable:function(){n=!1,this.set()},disable:function(){n=!0,this.set()}};return T(o,"duration",{get:function(){var i=t.settings;return t.isType("slider")&&e.Run.offset?i.rewindDuration:i.animationDuration}}),i.on("move",(function(){o.set()})),i.on(["build.before","resize","translate.jump"],(function(){o.disable()})),i.on("run",(function(){o.enable()})),i.on("destroy",(function(){o.remove()})),o},Direction:function(t,e,i){var n={mount:function(){this.value=t.settings.direction},resolve:function(t){var e=t.slice(0,1);return this.is("rtl")?t.split(e).join(F[e]):t},is:function(t){return this.value===t},addClass:function(){e.Html.root.classList.add(t.settings.classes.direction[this.value])},removeClass:function(){e.Html.root.classList.remove(t.settings.classes.direction[this.value])}};return T(n,"value",{get:function(){return n._v},set:function(t){j.indexOf(t)>-1?n._v=t:y("Direction value must be `ltr` or `rtl`")}}),i.on(["destroy","update"],(function(){n.removeClass()})),i.on("update",(function(){n.mount()})),i.on(["build.before","update"],(function(){n.addClass()})),n},Peek:function(t,e,i){var n={mount:function(){this.value=t.settings.peek}};return T(n,"value",{get:function(){return n._v},set:function(t){E(t)?(t.before=k(t.before),t.after=k(t.after)):t=k(t),n._v=t}}),T(n,"reductor",{get:function(){var e=n.value,i=t.settings.perView;return E(e)?e.before/i+e.after/i:2*e/i}}),i.on(["resize","update"],(function(){n.mount()})),n},Sizes:function(t,e,i){var n={setupSlides:function(){for(var t=this.slideWidth+"px",i=e.Html.slides,n=0;n<i.length;n++)i[n].style.width=t},setupWrapper:function(){e.Html.wrapper.style.width=this.wrapperSize+"px"},remove:function(){for(var t=e.Html.slides,i=0;i<t.length;i++)t[i].style.width="";e.Html.wrapper.style.width=""}};return T(n,"length",{get:function(){return e.Html.slides.length}}),T(n,"width",{get:function(){return e.Html.root.offsetWidth}}),T(n,"wrapperSize",{get:function(){return n.slideWidth*n.length+e.Gaps.grow+e.Clones.grow}}),T(n,"slideWidth",{get:function(){return n.width/t.settings.perView-e.Peek.reductor-e.Gaps.reductor}}),i.on(["build.before","resize","update"],(function(){n.setupSlides(),n.setupWrapper()})),i.on("destroy",(function(){n.remove()})),n},Gaps:function(t,e,i){var n={apply:function(t){for(var i=0,n=t.length;i<n;i++){var o=t[i].style,s=e.Direction.value;o[B[s][0]]=0!==i?this.value/2+"px":"",i!==t.length-1?o[B[s][1]]=this.value/2+"px":o[B[s][1]]=""}},remove:function(t){for(var e=0,i=t.length;e<i;e++){var n=t[e].style;n.marginLeft="",n.marginRight=""}}};return T(n,"value",{get:function(){return k(t.settings.gap)}}),T(n,"grow",{get:function(){return n.value*e.Sizes.length}}),T(n,"reductor",{get:function(){var e=t.settings.perView;return n.value*(e-1)/e}}),i.on(["build.after","update"],M((function(){n.apply(e.Html.wrapper.children)}),30)),i.on("destroy",(function(){n.remove(e.Html.wrapper.children)})),n},Move:function(t,e,i){var n={mount:function(){this._o=0},make:function(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.offset=n,i.emit("move",{movement:this.value}),e.Transition.after((function(){i.emit("move.after",{movement:t.value})}))}};return T(n,"offset",{get:function(){return n._o},set:function(t){n._o=L(t)?0:k(t)}}),T(n,"translate",{get:function(){return e.Sizes.slideWidth*t.index}}),T(n,"value",{get:function(){var t=this.offset,i=this.translate;return e.Direction.is("rtl")?i+t:i-t}}),i.on(["build.before","run"],(function(){n.make()})),n},Clones:function(t,e,i){var n={mount:function(){this.items=[],t.isType("carousel")&&(this.items=this.collect())},collect:function(){for(var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=e.Html.slides,o=t.settings,s=o.perView,r=o.classes,a=s+ +!!t.settings.peek+Math.round(s/2),l=n.slice(0,a).reverse(),c=n.slice(-1*a),h=0;h<Math.max(1,Math.floor(s/n.length));h++){for(var d=0;d<l.length;d++){var u=l[d].cloneNode(!0);u.classList.add(r.slide.clone),i.push(u)}for(var p=0;p<c.length;p++){var f=c[p].cloneNode(!0);f.classList.add(r.slide.clone),i.unshift(f)}}return i},append:function(){for(var t=this.items,i=e.Html,n=i.wrapper,o=i.slides,s=Math.floor(t.length/2),r=t.slice(0,s).reverse(),a=t.slice(-1*s).reverse(),l=e.Sizes.slideWidth+"px",c=0;c<a.length;c++)n.appendChild(a[c]);for(var h=0;h<r.length;h++)n.insertBefore(r[h],o[0]);for(var d=0;d<t.length;d++)t[d].style.width=l},remove:function(){for(var t=this.items,i=0;i<t.length;i++)e.Html.wrapper.removeChild(t[i])}};return T(n,"grow",{get:function(){return(e.Sizes.slideWidth+e.Gaps.value)*n.items.length}}),i.on("update",(function(){n.remove(),n.mount(),n.append()})),i.on("build.before",(function(){t.isType("carousel")&&n.append()})),i.on("destroy",(function(){n.remove()})),n},Resize:function(t,e,i){var n=new z,o={mount:function(){this.bind()},bind:function(){n.on("resize",window,M((function(){i.emit("resize")}),t.settings.throttle))},unbind:function(){n.off("resize",window)}};return i.on("destroy",(function(){o.unbind(),n.destroy()})),o},Build:function(t,e,i){var n={mount:function(){i.emit("build.before"),this.typeClass(),this.activeClass(),i.emit("build.after")},typeClass:function(){e.Html.root.classList.add(t.settings.classes.type[t.settings.type])},activeClass:function(){var i=t.settings.classes,n=e.Html.slides[t.index];
2n&&(n.classList.add(i.slide.active),D(n).forEach((function(t){t.classList.remove(i.slide.active)})))},removeClasses:function(){var i=t.settings.classes,n=i.type,o=i.slide;e.Html.root.classList.remove(n[t.settings.type]),e.Html.slides.forEach((function(t){t.classList.remove(o.active)}))}};return i.on(["destroy","update"],(function(){n.removeClasses()})),i.on(["resize","update"],(function(){n.mount()})),i.on("move.after",(function(){n.activeClass()})),n},Run:function(t,e,i){var n={mount:function(){this._o=!1},make:function(n){var o=this;t.disabled||(!t.settings.waitForTransition||t.disable(),this.move=n,i.emit("run.before",this.move),this.calculate(),i.emit("run",this.move),e.Transition.after((function(){o.isStart()&&i.emit("run.start",o.move),o.isEnd()&&i.emit("run.end",o.move),o.isOffset()&&(o._o=!1,i.emit("run.offset",o.move)),i.emit("run.after",o.move),t.enable()})))},calculate:function(){var e=this.move,i=this.length,o=e.steps,s=e.direction,r=1;if("="!==s)if(">"!==s||">"!==o)if("<"!==s||"<"!==o){if("|"===s&&(r=t.settings.perView||1),">"===s||"|"===s&&">"===o){var a=function(e){var i=t.index;return t.isType("carousel")?i+e:i+(e-i%e)}(r);return a>i&&(this._o=!0),void(t.index=function(e,i){var o=n.length;return e<=o?e:t.isType("carousel")?e-(o+1):t.settings.rewind?n.isBound()&&!n.isEnd()?o:0:n.isBound()?o:Math.floor(o/i)*i}(a,r))}if("<"===s||"|"===s&&"<"===o){var l=function(e){var i=t.index;return t.isType("carousel")?i-e:(Math.ceil(i/e)-1)*e}(r);return l<0&&(this._o=!0),void(t.index=function(e,i){var o=n.length;return e>=0?e:t.isType("carousel")?e+(o+1):t.settings.rewind?n.isBound()&&n.isStart()?o:Math.floor(o/i)*i:0}(l,r))}y("Invalid direction pattern ["+s+o+"] has been used")}else t.index=0;else t.index=i;else t.index=o},isStart:function(){return t.index<=0},isEnd:function(){return t.index>=this.length},isOffset:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return t?!!this._o&&("|>"===t?"|"===this.move.direction&&">"===this.move.steps:"|<"===t?"|"===this.move.direction&&"<"===this.move.steps:this.move.direction===t):this._o},isBound:function(){return t.isType("slider")&&"center"!==t.settings.focusAt&&t.settings.bound}};return T(n,"move",{get:function(){return this._m},set:function(t){var e=t.substr(1);this._m={direction:t.substr(0,1),steps:e?k(e)?k(e):e:0}}}),T(n,"length",{get:function(){var i=t.settings,n=e.Html.slides.length;return this.isBound()?n-1-(k(i.perView)-1)+k(i.focusAt):n-1}}),T(n,"offset",{get:function(){return this._o}}),n},Swipe:function(t,e,i){var n=new z,o=0,s=0,r=0,a=!1,l=!!X&&{passive:!0},c={mount:function(){this.bindSwipeStart()},start:function(e){if(!a&&!t.disabled){this.disable();var n=this.touches(e);o=null,s=k(n.pageX),r=k(n.pageY),this.bindSwipeMove(),this.bindSwipeEnd(),i.emit("swipe.start")}},move:function(n){if(!t.disabled){var a=t.settings,l=a.touchAngle,c=a.touchRatio,h=a.classes,d=this.touches(n),u=k(d.pageX)-s,p=k(d.pageY)-r,f=Math.abs(u<<2),m=Math.abs(p<<2),g=Math.sqrt(f+m),v=Math.sqrt(m);if(!(180*(o=Math.asin(v/g))/Math.PI<l))return!1;n.stopPropagation(),e.Move.make(u*parseFloat(c)),e.Html.root.classList.add(h.dragging),i.emit("swipe.move")}},end:function(n){if(!t.disabled){var r=t.settings,a=r.perSwipe,l=r.touchAngle,c=r.classes,h=this.touches(n),d=this.threshold(n),u=h.pageX-s,p=180*o/Math.PI;this.enable(),u>d&&p<l?e.Run.make(e.Direction.resolve(a+"<")):u<-d&&p<l?e.Run.make(e.Direction.resolve(a+">")):e.Move.make(),e.Html.root.classList.remove(c.dragging),this.unbindSwipeMove(),this.unbindSwipeEnd(),i.emit("swipe.end")}},bindSwipeStart:function(){var i=this,o=t.settings,s=o.swipeThreshold,r=o.dragThreshold;s&&n.on(Z[0],e.Html.wrapper,(function(t){i.start(t)}),l),r&&n.on(Z[1],e.Html.wrapper,(function(t){i.start(t)}),l)},unbindSwipeStart:function(){n.off(Z[0],e.Html.wrapper,l),n.off(Z[1],e.Html.wrapper,l)},bindSwipeMove:function(){var i=this;n.on(J,e.Html.wrapper,M((function(t){i.move(t)}),t.settings.throttle),l)},unbindSwipeMove:function(){n.off(J,e.Html.wrapper,l)},bindSwipeEnd:function(){var t=this;n.on(K,e.Html.wrapper,(function(e){t.end(e)}))},unbindSwipeEnd:function(){n.off(K,e.Html.wrapper)},touches:function(t){return tt.indexOf(t.type)>-1?t:t.touches[0]||t.changedTouches[0]},threshold:function(e){var i=t.settings;return tt.indexOf(e.type)>-1?i.dragThreshold:i.swipeThreshold},enable:function(){return a=!1,e.Transition.enable(),this},disable:function(){return a=!0,e.Transition.disable(),this}};return i.on("build.after",(function(){e.Html.root.classList.add(t.settings.classes.swipeable)})),i.on("destroy",(function(){c.unbindSwipeStart(),c.unbindSwipeMove(),c.unbindSwipeEnd(),n.destroy()})),c}
2,Images:function(t,e,i){var n=new z,o={mount:function(){this.bind()},bind:function(){n.on("dragstart",e.Html.wrapper,this.dragstart)},unbind:function(){n.off("dragstart",e.Html.wrapper)},dragstart:function(t){t.preventDefault()}};return i.on("destroy",(function(){o.unbind(),n.destroy()})),o},Anchors:function(t,e,i){var n=new z,o=!1,s=!1,r={mount:function(){this._a=e.Html.wrapper.querySelectorAll("a"),this.bind()},bind:function(){n.on("click",e.Html.wrapper,this.click)},unbind:function(){n.off("click",e.Html.wrapper)},click:function(t){s&&(t.stopPropagation(),t.preventDefault())},detach:function(){if(s=!0,!o){for(var t=0;t<this.items.length;t++)this.items[t].draggable=!1,this.items[t].setAttribute("data-href",this.items[t].getAttribute("href")),this.items[t].removeAttribute("href");o=!0}return this},attach:function(){if(s=!1,o){for(var t=0;t<this.items.length;t++)this.items[t].draggable=!0,this.items[t].setAttribute("href",this.items[t].getAttribute("data-href"));o=!1}return this}};return T(r,"items",{get:function(){return r._a}}),i.on("swipe.move",(function(){r.detach()})),i.on("swipe.end",(function(){e.Transition.after((function(){r.attach()}))})),i.on("destroy",(function(){r.attach(),r.unbind(),n.destroy()})),r},Controls:function(t,e,i){var n=new z,o=!!X&&{passive:!0},s={mount:function(){this._n=e.Html.root.querySelectorAll('[data-glide-el="controls[nav]"]'),this._c=e.Html.root.querySelectorAll('[data-glide-el^="controls"]'),this.addBindings()}
2,setActive:function(){for(var t=0;t<this._n.length;t++)this.addClass(this._n[t].children)},removeActive:function(){for(var t=0;t<this._n.length;t++)this.removeClass(this._n[t].children)},addClass:function(e){var i=t.settings,n=e[t.index];n&&(n.classList.add(i.classes.nav.active),D(n).forEach((function(t){t.classList.remove(i.classes.nav.active)})))},removeClass:function(e){var i=e[t.index];i&&i.classList.remove(t.settings.classes.nav.active)},addBindings:function(){for(var t=0;t<this._c.length;t++)this.bind(this._c[t].children)},removeBindings:function(){for(var t=0;t<this._c.length;t++)this.unbind(this._c[t].children)},bind:function(t){for(var e=0;e<t.length;e++)n.on("click",t[e],this.click),n.on("touchstart",t[e],this.click,o)},unbind:function(t){for(var e=0;e<t.length;e++)n.off(["click","touchstart"],t[e])},click:function(t){t.preventDefault(),e.Run.make(e.Direction.resolve(t.currentTarget.getAttribute("data-glide-dir")))}};return T(s,"items",{get:function(){return s._c}}),i.on(["mount.after","move.after"],(function(){s.setActive()})),i.on("destroy",(function(){s.removeBindings(),s.removeActive(),n.destroy()})),s},Keyboard:function(t,e,i){var n=new z,o={mount:function(){t.settings.keyboard&&this.bind()},bind:function(){n.on("keyup",document,this.press)},unbind:function(){n.off("keyup",document)},press:function(t){39===t.keyCode&&e.Run.make(e.Direction.resolve(">")),37===t.keyCode&&e.Run.make(e.Direction.resolve("<"))}};return i.on(["destroy","update"],(function(){o.unbind()})),i.on("update",(function(){o.mount()})),i.on("destroy",(function(){n.destroy()})),o},Autoplay:function(t,e,i){var n=new z,o={mount:function(){this.start(),t.settings.hoverpause&&this.bind()},start:function(){var i=this;t.settings.autoplay&&L(this._i)&&(this._i=setInterval((function(){i.stop(),e.Run.make(">"),i.start()}),this.time))},stop:function(){this._i=clearInterval(this._i)},bind:function(){var t=this;n.on("mouseover",e.Html.root,(function(){t.stop()})),n.on("mouseout",e.Html.root,(function(){t.start()}))},unbind:function(){n.off(["mouseover","mouseout"],e.Html.root)}};return T(o,"time",{get:function(){return k(e.Html.slides[t.index].getAttribute("data-glide-autoplay")||t.settings.autoplay)}}),i.on(["destroy","update"],(function(){o.unbind()})),i.on(["run.before","pause","destroy","swipe.start","update"],(function(){o.stop()})),i.on(["run.after","play","swipe.end"],(function(){o.start()})),i.on("update",(function(){o.mount()})),i.on("destroy",(function(){n.destroy()})),o},Breakpoints:function(t,e,i){var n=new z,o=t.settings,s=et(o.breakpoints),r=x({},o),a={match:function(t){if(void 0!==window.matchMedia)for(var e in t)if(t.hasOwnProperty(e)&&window.matchMedia("(max-width: "+e+"px)").matches)return t[e];return r}};return x(o,a.match(s)),n.on("resize",window,M((function(){t.settings=I(o,a.match(s))}),t.settings.throttle)),i.on("update",(function(){s=et(s),r=x({},o)})),i.on("destroy",(function(){n.off("resize",window)})),a}};const nt=function(t){function e(){return b(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),_(e,[{key:"mount",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return $(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"mount",this).call(this,x({},it,t))}}]),e}(N),ot={Mobile:375,Small:720,Medium:960,Desktop:1024,Large:1200,DesktopLarge:1366,MaxContent:1440,xLarge:1600,xxLarge:1800,xxxLarge:2560,iMac:5120},{commerceMetadataEndpoint:st,apiClientId:rt,apiClientSecret:at}=n,lt={method:"GET",endpoint:st,headers:{CLIENT_ID:rt,CLIENT_SECRET:at}},ct=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t=>t.settings.perView;const i=new AbortController;t.on("mount.after",(()=>{const n=t._c.Html._r,o=parseInt(n.dataset.slideCount);function s(){const i=o<=e(t);n.classList.toggle("non-interactive-mode",i)}s(),window.addEventListener("resize",s,{signal:i.signal})})),t.on("destroy",(()=>i.abort()))},ht=window.matchMedia(`(min-width: ${ot.Desktop}px`),dt="ni__carousel--showmore-active",ut="ni__carousel--showing-more",pt=(t,e)=>{let i=null;const n=t.classList;
2function o(){ht.matches?(n.remove(dt),i=e(t),i.mount()):(i&&(i.destroy(),i=null),n.add(dt))}for(const e of t.querySelectorAll(".ni__carousel-showmore-controls .ni__carousel-showmore-more"))e.addEventListener("click",(()=>n.add(ut)));for(const e of t.querySelectorAll(".ni__carousel-showmore-controls .ni__carousel-showmore-less")){const t=e.closest(".ni__carousel-showmore-controls").querySelector(".ni__carousel-showmore-more");t?e.addEventListener("click",(()=>{const i=e.getBoundingClientRect();n.remove(ut);const o=t.getBoundingClientRect(),s=window.scrollY+o.top;window.scroll({top:s-i.top,behavior:"instant"})})):e.addEventListener("click",(()=>n.remove(ut)))}o(),ht.addEventListener("change",o)},ft=t=>{const e=Math.max.apply(Math,t.map((t=>(t.style.minHeight="",t.offsetHeight))));t.forEach((t=>{t.style.minHeight=e+"px"}))},mt=t=>{const e=t.querySelectorAll(".ni__carousel-items > li");let i;i=t.classList.contains("ni__carousel--large-image")?".ni__slide-desktop :is(.ni__carousel-eyebrow--desktop, .ni__carousel-content-title, .ni__carousel-content-name, .ni__carousel-content-text-lead, .ni__carousel-content-text, .ni__carousel-content-facts-title, .ni__carousel-content-facts-list > li:nth-child(1), .ni__carousel-content-facts-list > li:nth-child(2), .ni__carousel-content-facts-list > li:nth-child(3), .ni__button--controller-left, .ni__button--controller-right)":".ni__carousel-eyebrow, .ni__carousel-eyebrow--desktop, .ni__carousel-content-title, .ni__carousel-content-name, .ni__carousel-content-text, .ni__carousel-content-text-lead, .ni__carousel-content-facts-title, .ni__carousel-content-facts-list > li:nth-child(1), .ni__carousel-content-facts-list > li:nth-child(2), .ni__carousel-content-facts-list > li:nth-child(3), .ni__button:not(.ni__button--controller)";for(const t of e){const e=t.classList.contains("glide__slide--active")?0:-1;for(const n of t.querySelectorAll(i))n.setAttribute("tabindex",e)}},gt=()=>{(()=>{const t=document.querySelectorAll(".glide.ni__carousel");for(const e of t){const t=new nt(e,{type:"carousel",startAt:0,perView:1,focusAt:"center",autoplay:!1,keyboard:!1});t.on(["mount.after","run"],(()=>{const e=t._c.Html._r.querySelectorAll(".ni__carousel-counter-current");for(const i of e)i.innerHTML=(t.index+1).toString().padStart(2,"0")})),t.on(["mount.after","run.after"],(()=>{mt(t._c.Html._r)})),ct(t),t.mount()}})(),(()=>{const t=document.querySelectorAll(".glide.ni__carousel-tiled-images:not(.ni__carousel-products)");for(const e of t)pt(e,(t=>{const e=new nt(t,{type:"slider",gap:30,bound:!0,rewind:!1,focusAt:0,startAt:0,perView:4,perSwipe:"|",perTouch:4,peek:{before:0,after:0},breakpoints:{1439:{perView:3,perSwipe:"",perTouch:3,peek:{before:0,after:155}},1136:{perView:3,perSwipe:"",perTouch:3,peek:0}},autoplay:!1,keyboard:!1});return ct(e),e}))})(),(()=>{for(const t of document.querySelectorAll(".glide.ni__carousel-products.ni__carousel-tiled-images"))pt(t,(t=>{const e=new nt(t,{type:"slider",gap:30,bound:!0,rewind:!1,focusAt:0,startAt:0,perView:3,perSwipe:"|",perTouch:3,peek:{before:0,after:0},breakpoints:{1439:{perView:2,perSwipe:"",perTouch:1,peek:{before:0,after:400}},1199:{perView:2,perSwipe:"",perTouch:1,peek:{before:0,after:250}}},autoplay:!1,keyboard:!1});return ct(e,(t=>document.documentElement.clientWidth>=ot.Large?3:t.settings.perView)),e}))})(),(()=>{for(const t of document.querySelectorAll(".glide.ni__carousel-browse-by-industry:not(.ni__carousel-areas-of-expertise)")){const e=parseInt(t.dataset.slideCount),i=function(t,i){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";const o=Math.min(e,t);return{perView:o,perSwipe:n,perTouch:o,peek:{before:0,after:!i||e<=t?0:155}}};pt(t,(t=>{const e=new nt(t,{type:"slider",gap:30,bound:!0,rewind:!1,focusAt:0,startAt:0,...i(4,!0,"|"),breakpoints:{1499:i(3,!0),1136:i(3,!1)},autoplay:!1,keyboard:!1});return ct(e),e}))}})(),(()=>{const t=document.querySelectorAll(".glide.ni__carousel-browse-by-industry.ni__carousel-areas-of-expertise");for(const e of t)pt(e,(t=>{const e=new nt(t,{type:"slider",gap:30,bound:!0,rewind:!1,focusAt:0,startAt:0,perView:3,perSwipe:"|",perTouch:3,peek:0,autoplay:!1,keyboard:!1});return ct(e),e}))})(),(()=>{for(const t of document.querySelectorAll(".ni__carousel-control
2s .ni__button"))t.addEventListener("click",(t=>t.target.blur()))})(),(()=>{const t=document.querySelectorAll(".glide.ni__carousel-focus-area");let e=!0,i=null;if(0==t.length)return;const n=t=>{t.forEach((t=>{(t=>{const i=".glide__slide .ni__molecule-card-body-container",n=t.querySelectorAll(`${i} :is(h1, h2, h3, h4, h5, h6)`),o=t.querySelectorAll(`${i} .ni__body-text--3`),s=[].slice.call(n),r=[].slice.call(o);e&&requestAnimationFrame((()=>{ft(s),ft(r)}))})(t)})),clearTimeout(i),i=setTimeout(e=!1,200)};n(t),window.addEventListener("resize",(function(){e=!0,n(t)}));for(const e of t)pt(e,(t=>{const e=new nt(t,{type:"slider",bound:!0,rewind:!1,focusAt:0,startAt:0,perView:3,perSwipe:"",gap:30,perTouch:1,peek:{before:0,after:320},breakpoints:{1199:{perView:3,gap:25,perSwipe:"",perTouch:1,peek:{before:0,after:196}}},autoplay:!1,keyboard:!1});return ct(e),e}))})(),(()=>{const t=t=>{window.document.documentElement.clientWidth>=1024&&setTimeout((()=>{const e=t.querySelectorAll(".ni__molecule-card > p");e.forEach((t=>t.setAttribute("style","height: auto;")));const i=Math.max(...Array.from(e).map((t=>t.offsetHeight)));e.forEach((t=>t.setAttribute("style",`height: ${i}px;`)))}),100)};for(const e of document.querySelectorAll(".glide.ni__carousel-nav-focus-areas"))t(e),window.addEventListener("resize",(()=>t(e))),pt(e,(t=>{const e=new nt(t,{type:"slider",bound:!0,rewind:!1,focusAt:0,startAt:0,perView:3,perSwipe:"",gap:30,perTouch:1,peek:{before:0,after:320},breakpoints:{1199:{perView:3,gap:18,perSwipe:"",perTouch:3,peek:{before:0,after:190}}},autoplay:!1,keyboard:!1});return ct(e),e}))})()};function vt(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function yt(t){return t instanceof vt(t).Element||t instanceof Element}function wt(t){return t instanceof vt(t).HTMLElement||t instanceof HTMLElement}function bt(t){return"undefined"!=typeof ShadowRoot&&(t instanceof vt(t).ShadowRoot||t instanceof ShadowRoot)}var _t=Math.max,xt=Math.min,$t=Math.round;function kt(){var t=navigator.userAgentData;return null!=t&&t.brands&&Array.isArray(t.brands)?t.brands.map((function(t){return t.brand+"/"+t.version})).join(" "):navigator.userAgent}function St(){return!/^((?!chrome|android).)*safari/i.test(kt())}function Et(t,e,i){void 0===e&&(e=!1),void 0===i&&(i=!1);var n=t.getBoundingClientRect(),o=1,s=1;e&&wt(t)&&(o=t.offsetWidth>0&&$t(n.width)/t.offsetWidth||1,s=t.offsetHeight>0&&$t(n.height)/t.offsetHeight||1);var r=(yt(t)?vt(t):window).visualViewport,a=!St()&&i,l=(n.left+(a&&r?r.offsetLeft:0))/o,c=(n.top+(a&&r?r.offsetTop:0))/s,h=n.width/o,d=n.height/s;return{width:h,height:d,top:c,right:l+h,bottom:c+d,left:l,x:l,y:c}}function At(t){var e=vt(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Lt(t){return t?(t.nodeName||"").toLowerCase():null}function Ct(t){return((yt(t)?t.ownerDocument:t.document)||window.document).documentElement}function Tt(t){return Et(Ct(t)).left+At(t).scrollLeft}function It(t){return vt(t).getComputedStyle(t)}function Ot(t){var e=It(t),i=e.overflow,n=e.overflowX,o=e.overflowY;return/auto|scroll|overlay|hidden/.test(i+o+n)}function Nt(t,e,i){void 0===i&&(i=!1);var n,o,s=wt(e),r=wt(e)&&function(t){var e=t.getBoundingClientRect(),i=$t(e.width)/t.offsetWidth||1,n=$t(e.height)/t.offsetHeight||1;return 1!==i||1!==n}(e),a=Ct(e),l=Et(t,r,i),c={scrollLeft:0,scrollTop:0},h={x:0,y:0};return(s||!s&&!i)&&(("body"!==Lt(e)||Ot(a))&&(c=(n=e)!==vt(n)&&wt(n)?{scrollLeft:(o=n).scrollLeft,scrollTop:o.scrollTop}
vendor: 9,173 bytes, line 2
2:At(n)),wt(e)?((h=Et(e,!0)).x+=e.clientLeft,h.y+=e.clientTop):a&&(h.x=Tt(a))),{x:l.left+c.scrollLeft-h.x,y:l.top+c.scrollTop-h.y,width:l.width,height:l.height}}function Pt(t){var e=Et(t),i=t.offsetWidth,n=t.offsetHeight;return Math.abs(e.width-i)<=1&&(i=e.width),Math.abs(e.height-n)<=1&&(n=e.height),{x:t.offsetLeft,y:t.offsetTop,width:i,height:n}}function Mt(t){return"html"===Lt(t)?t:t.assignedSlot||t.parentNode||(bt(t)?t.host:null)||Ct(t)}function Bt(t){return["html","body","#document"].indexOf(Lt(t))>=0?t.ownerDocument.body:wt(t)&&Ot(t)?t:Bt(Mt(t))}function Dt(t,e){var i;void 0===e&&(e=[]);var n=Bt(t),o=n===(null==(i=t.ownerDocument)?void 0:i.body),s=vt(n),r=o?[s].concat(s.visualViewport||[],Ot(n)?n:[]):n,a=e.concat(r);return o?a:a.concat(Dt(Mt(r)))}function Ht(t){return["table","td","th"].indexOf(Lt(t))>=0}function qt(t){return wt(t)&&"fixed"!==It(t).position?t.offsetParent:null}function zt(t){for(var e=vt(t),i=qt(t);i&&Ht(i)&&"static"===It(i).position;)i=qt(i);return i&&("html"===Lt(i)||"body"===Lt(i)&&"static"===It(i).position)?e:i||function(t){var e=/firefox/i.test(kt());if(/Trident/i.test(kt())&&wt(t)&&"fixed"===It(t).position)return null;var i=Mt(t);for(bt(i)&&(i=i.host);wt(i)&&["html","body"].indexOf(Lt(i))<0;){var n=It(i);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||e&&"filter"===n.willChange||e&&n.filter&&"none"!==n.filter)return i;i=i.parentNode}return null}(t)||e}var jt="top",Ft="bottom",Wt="right",Vt="left",Rt="auto",Ut=[jt,Ft,Wt,Vt],Gt="start",Yt="end",Qt="viewport",Xt="popper",Zt=Ut.reduce((function(t,e){return t.concat([e+"-"+Gt,e+"-"+Yt])}),[]),Jt=[].concat(Ut,[Rt]).reduce((function(t,e){return t.concat([e,e+"-"+Gt,e+"-"+Yt])}),[]),Kt=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function te(t){var e=new Map,i=new Set,n=[];function o(t){i.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!i.has(t)){var n=e.get(t);n&&o(n)}})),n.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){i.has(t.name)||o(t)})),n}var ee={placement:"bottom",modifiers:[],strategy:"absolute"};function ie(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return!e.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function ne(t){void 0===t&&(t={});var e=t,i=e.defaultModifiers,n=void 0===i?[]:i,o=e.defaultOptions,s=void 0===o?ee:o;return function(t,e,i){void 0===i&&(i=s);var o,r,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},ee,s),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},l=[],c=!1,h={state:a,setOptions:function(i){var o="function"==typeof i?i(a.options):i;d(),a.options=Object.assign({},s,a.options,o),a.scrollParents={reference:yt(t)?Dt(t):t.contextElement?Dt(t.contextElement):[],popper:Dt(e)};var r,c,u=function(t){var e=te(t);return Kt.reduce((function(t,i){return t.concat(e.filter((function(t){return t.phase===i})))}),[])}((r=[].concat(n,a.options.modifiers),c=r.reduce((function(t,e){var i=t[e.name];return t[e.name]=i?Object.assign({},i,e,{options:Object.assign({},i.options,e.options),data:Object.assign({},i.data,e.data)}):e,t}),{}),Object.keys(c).map((function(t){return c[t]}))));return a.orderedModifiers=u.filter((function(t){return t.enabled})),a.orderedModifiers.forEach((function(t){var e=t.name,i=t.options,n=void 0===i?{}:i,o=t.effect;if("function"==typeof o){var s=o({state:a,name:e,instance:h,options:n});l.push(s||function(){})}})),h.update()},forceUpdate:function(){if(!c){var t=a.elements,e=t.reference,i=t.popper;if(ie(e,i)){a.rects={reference:Nt(e,zt(i),"fixed"===a.options.strategy),popper:Pt(i)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach((function(t){return a.modifiersData[t.name]=Object.assign({},t.data)}));for(var n=0;n<a.orderedModifiers.length;n++)if(!0!==a.reset){var o=a.orderedModifiers[n],s=o.fn,r=o.options,l=void 0===r?{}:r,d=o.name;"function"==typeof s&&(a=s({state:a,options:l,name:d,instance:h})||a)}else a.reset=!1,n=-1}}},update:(o=function(){return new Promise((function(t){h.forceUpdate(),t(a)}))},function(){return r||(r=new Promise((function(t){Promise.resolve().then((function(){r=void 0,t(o())}))}))),r}),destroy:function(){d(),c=!0}};if(!ie(t,e))return h;function d(){l.forEach((function(t){return t()})),l=[]}return h.setOptions(i).then((function(t){!c&&i.onFirstUpdate&&i.onFirstUpdate(t)})),h}}var oe={passive:!0};function se(t){return t.split("-")[0]}function re(t){return t.split("-")[1]}function ae(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function le(t){var e,i=t.reference,n=t.element,o=t.placement,s=o?se(o):null,r=o?re(o):null,a=i.x+i.width/2-n.width/2,l=i.y+i.height/2-n.height/2;switch(s){case jt:e={x:a,y:i.y-n.height};break;case Ft:e={x:a,y:i.y+i.height};break;case Wt:e={x:i.x+i.width,y:l};break;case Vt:e={x:i.x-n.width,y:l};break;default:e={x:i.x,y:i.y}}var c=s?ae(s):null;if(null!=c){var h="y"===c?"height":"width";switch(r){case Gt:e[c]=e[c]-(i[h]/2-n[h]/2);break;case Yt:e[c]=e[c]+(i[h]/2-n[h]/2)}}return e}var ce={top:"auto",right:"auto",bottom:"auto",left:"auto"};function he(t){var e,i=t.popper,n=t.popperRect,o=t.placement,s=t.variation,r=t.offsets,a=t.position,l=t.gpuAcceleration,c=t.adaptive,h=t.roundOffsets,d=t.isFixed,u=r.x,p=void 0===u?0:u,f=r.y,m=void 0===f?0:f,g="function"==typeof h?h({x:p,y:m}):{x:p,y:m};p=g.x,m=g.y;var v=r.hasOwnProperty("x"),y=r.hasOwnProperty("y"),w=Vt,b=jt,_=window;if(c){var x=zt(i),$="clientHeight",k="clientWidth";x===vt(i)&&"static"!==It(x=Ct(i)).position&&"absolute"===a&&($="scrollHeight",k="scrollWidth"),(o===jt||(o===Vt||o===Wt)&&s===Yt)&&(b=Ft,m-=(d&&x===_&&_.visualViewport?_.visualViewport.height:x[$])-n.height,m*=l?1:-1),o!==Vt&&(o!==jt&&o!==Ft||s!==Yt)||(w=Wt,p-=(d&&x===_&&_.visualViewport?_.visualViewport.width:x[k])-n.width,p*=l?1:-1)}var S,E=Object.assign({position:a},c&&ce),A=!0===h?function(t,e){var i=t.x,n=t.y,o=e.devicePixelRatio||1;return{x:$t(i*o)/o||0,y:$t(n*o)/o||0}}({x:p,y:m},vt(i)):{x:p,y:m};return p=A.x,m=A.y,l?Object.assign({},E,((S={})[b]=y?"0":"",S[w]=v?"0":"",S.transform=(_.devicePixelRatio||1)<=1?"translate("+p+"px, "+m+"px)":"translate3d("+p+"px, "+m+"px, 0)",S)):Object.assign({},E,((e={})[b]=y?m+"px":"",e[w]=v?p+"px":"",e.transform="",e))}var de={left:"right",right:"left",bottom:"top",top:"bottom"};function ue(t){return t.replace(/left|right|bottom|top/g,(function(t){return de[t]}))}var pe={start:"end",end:"start"};function fe(t){return t.replace(/start|end/g,(function(t){return pe[t]}))}function me(t,e){var i=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(i&&bt(i)){var n=e;do{if(n&&t.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function ge(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function ve(t,e,i){return e===Qt?ge(function(t,e){var i=vt(t),n=Ct(t),o=i.visualViewport,s=n.clientWidth,r=n.clientHeight,a=0,l=0;if(o){s=o.width,r=o.height;var c=St();(c||!c&&"fixed"===e)&&(a=o.offsetLeft,l=o.offsetTop)}return{width:s,height:r,x:a+Tt(t),y:l}}(t,i)):yt(e)?function(t,e){var i=Et(t,!1,"fixed"===e);return i.top=i.top+t.clientTop,i.left=i.left+t.clientLeft,i.bottom=i.top+t.clientHeight,i.right=i.left+t.clientWidth,i.width=t.clientWidth,i.height=t.clientHeight,i.x=i.left,i.y=i.top,i}(e,i):ge(function(t){var e,i=Ct(t),n=At(t),o=null==(e=t.ownerDocument)?void 0:e.body,s=_t(i.scrollWidth,i.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),r=_t(i.scrollHeight,i.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),a=-n.scrollLeft+Tt(t),l=-n.scrollTop;return"rtl"===It(o||i).direction&&(a+=_t(i.clientWidth,o?o.clientWidth:0)-s),{width:s,height:r,x:a,y:l}}(Ct(t)))}function ye(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function we(t,e){return e.reduce((function(e,i){return e[i]=t,e}),{})}function be(t,e){void 0===e&&(e={});var i=e,n=i.placement,o=void 0===n?t.placement:n,s=i.strategy,r=void 0===s?t.strategy:s,a=i.boundary,l=void 0===a?"clippingParents":a,c=i.rootBoundary,h=void 0===c?Qt:c,d=i.elementContext,u=void 0===d?Xt:d,p=i.altBoundary,f=void 0!==p&&p,m=i.padding,g=void 0===m?0:m,v=ye("number"!=typeof g?g:we(g,Ut)),y=u===Xt?"reference":Xt,w=t.rects.popper,b=t.elements[f?y:u],_=function(t,e,i,n){var o="clippingParents"===e?function(t){var e=Dt(Mt(t)),i=["absolute","fixed"].indexOf(It(t).position)>=0&&wt(t)?zt(t):t;return yt(i)?e.filter((function(t){return yt(t)&&me(t,i)&&"body"!==Lt(t)})):[]}(t):[].concat(e),s=[].concat(o,[i]),r=s[0],a=s.reduce((function(e,i){var o=ve(t,i,n);return e.top=_t(o.top,e.top),e.right=xt(o.right,e.right),e.bottom=xt(o.bottom,e.bottom),e.left=_t(o.left,e.left),e}),ve(t,r,n));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}(yt(b)?b:b.contextElement||Ct(t.elements.popper),l,h,r),x=Et(t.elements.reference),$=le({reference:x,element:w,strategy:"absolute",placement:o}),k=ge(Object.assign({},w,$)),S=u===Xt?k:x,E={top:_.top-S.top+v.top,bottom:S.bottom-_.bottom+v.bottom,left:_.left-S.left+v.left,right:S.right-_.right+v.right},A=t.modifiersData.offset;if(u===Xt&&A){var L=A[o];
vendor: 6,908 bytes, line 2
2Object.keys(E).forEach((function(t){var e=[Wt,Ft].indexOf(t)>=0?1:-1,i=[jt,Ft].indexOf(t)>=0?"y":"x";E[t]+=L[i]*e}))}return E}function _e(t,e,i){return _t(t,xt(e,i))}function xe(t,e,i){return void 0===i&&(i={x:0,y:0}),{top:t.top-e.height-i.y,right:t.right-e.width+i.x,bottom:t.bottom-e.height+i.y,left:t.left-e.width-i.x}}function $e(t){return[jt,Wt,Ft,Vt].some((function(e){return t[e]>=0}))}var ke=ne({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,i=t.instance,n=t.options,o=n.scroll,s=void 0===o||o,r=n.resize,a=void 0===r||r,l=vt(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return s&&c.forEach((function(t){t.addEventListener("scroll",i.update,oe)})),a&&l.addEventListener("resize",i.update,oe),function(){s&&c.forEach((function(t){t.removeEventListener("scroll",i.update,oe)})),a&&l.removeEventListener("resize",i.update,oe)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,i=t.name;e.modifiersData[i]=le({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,i=t.options,n=i.gpuAcceleration,o=void 0===n||n,s=i.adaptive,r=void 0===s||s,a=i.roundOffsets,l=void 0===a||a,c={placement:se(e.placement),variation:re(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:o,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,he(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:r,roundOffsets:l})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,he(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var i=e.styles[t]||{},n=e.attributes[t]||{},o=e.elements[t];wt(o)&&Lt(o)&&(Object.assign(o.style,i),Object.keys(n).forEach((function(t){var e=n[t];!1===e?o.removeAttribute(t):o.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,i={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,i.popper),e.styles=i,e.elements.arrow&&Object.assign(e.elements.arrow.style,i.arrow),function(){Object.keys(e.elements).forEach((function(t){var n=e.elements[t],o=e.attributes[t]||{},s=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:i[t]).reduce((function(t,e){return t[e]="",t}),{});wt(n)&&Lt(n)&&(Object.assign(n.style,s),Object.keys(o).forEach((function(t){n.removeAttribute(t)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,i=t.options,n=t.name,o=i.offset,s=void 0===o?[0,0]:o,r=Jt.reduce((function(t,i){return t[i]=function(t,e,i){var n=se(t),o=[Vt,jt].indexOf(n)>=0?-1:1,s="function"==typeof i?i(Object.assign({},e,{placement:t})):i,r=s[0],a=s[1];return r=r||0,a=(a||0)*o,[Vt,Wt].indexOf(n)>=0?{x:a,y:r}:{x:r,y:a}}(i,e.rects,s),t}),{}),a=r[e.placement],l=a.x,c=a.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=c),e.modifiersData[n]=r}},{name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,i=t.options,n=t.name;if(!e.modifiersData[n]._skip){for(var o=i.mainAxis,s=void 0===o||o,r=i.altAxis,a=void 0===r||r,l=i.fallbackPlacements,c=i.padding,h=i.boundary,d=i.rootBoundary,u=i.altBoundary,p=i.flipVariations,f=void 0===p||p,m=i.allowedAutoPlacements,g=e.options.placement,v=se(g),y=l||(v!==g&&f?function(t){if(se(t)===Rt)return[];var e=ue(t);return[fe(t),e,fe(e)]}(g):[ue(g)]),w=[g].concat(y).reduce((function(t,i){return t.concat(se(i)===Rt?function(t,e){void 0===e&&(e={});var i=e,n=i.placement,o=i.boundary,s=i.rootBoundary,r=i.padding,a=i.flipVariations,l=i.allowedAutoPlacements,c=void 0===l?Jt:l,h=re(n),d=h?a?Zt:Zt.filter((function(t){return re(t)===h})):Ut,u=d.filter((function(t){return c.indexOf(t)>=0}));0===u.length&&(u=d);var p=u.reduce((function(e,i){return e[i]=be(t,{placement:i,boundary:o,rootBoundary:s,padding:r})[se(i)],e}),{});return Object.keys(p).sort((function(t,e){return p[t]-p[e]}))}(e,{placement:i,boundary:h,rootBoundary:d,padding:c,flipVariations:f,allowedAutoPlacements:m}):i)}),[]),b=e.rects.reference,_=e.rects.popper,x=new Map,$=!0,k=w[0],S=0;S<w.length;S++){var E=w[S],A=se(E),L=re(E)===Gt,C=[jt,Ft].indexOf(A)>=0,T=C?"width":"height",I=be(e,{placement:E,boundary:h,rootBoundary:d,altBoundary:u,padding:c}),O=C?L?Wt:Vt:L?Ft:jt;b[T]>_[T]&&(O=ue(O));var N=ue(O),P=[];if(s&&P.push(I[A]<=0),a&&P.push(I[O]<=0,I[N]<=0),P.every((function(t){return t}))){k=E,$=!1;break}x.set(E,P)}if($)for(var M=function(t){var e=w.find((function(e){var i=x.get(e);if(i)return i.slice(0,t).every((function(t){return t}))}));if(e)return k=e,"break"},B=f?3:1;B>0&&"break"!==M(B);B--);e.placement!==k&&(e.modifiersData[n]._skip=!0,e.placement=k,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,i=t.options,n=t.name,o=i.mainAxis,s=void 0===o||o,r=i.altAxis,a=void 0!==r&&r,l=i.boundary,c=i.rootBoundary,h=i.altBoundary,d=i.padding,u=i.tether,p=void 0===u||u,f=i.tetherOffset,m=void 0===f?0:f,g=be(e,{boundary:l,rootBoundary:c,padding:d,altBoundary:h}),v=se(e.placement),y=re(e.placement),w=!y,b=ae(v),_="x"===b?"y":"x",x=e.modifiersData.popperOffsets,$=e.rects.reference,k=e.rects.popper,S="function"==typeof m?m(Object.assign({},e.rects,{placement:e.placement})):m,E="number"==typeof S?{mainAxis:S,altAxis:S}:Object.assign({mainAxis:0,altAxis:0},S),A=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,L={x:0,y:0};if(x){if(s){var C,T="y"===b?jt:Vt,I="y"===b?Ft:Wt,O="y"===b?"height":"width",N=x[b],P=N+g[T],M=N-g[I],B=p?-k[O]/2:0,D=y===Gt?$[O]:k[O],H=y===Gt?-k[O]:-$[O],q=e.elements.arrow,z=p&&q?Pt(q):{width:0,height:0},j=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},F=j[T],W=j[I],V=_e(0,$[O],z[O]),R=w?$[O]/2-B-V-F-E.mainAxis:D-V-F-E.mainAxis,U=w?-$[O]/2+B+V+W+E.mainAxis:H+V+W+E.mainAxis,G=e.elements.arrow&&zt(e.elements.arrow),Y=G?"y"===b?G.clientTop||0:G.clientLeft||0:0,Q=null!=(C=null==A?void 0:A[b])?C:0,X=N+U-Q,Z=_e(p?xt(P,N+R-Q-Y):P,N,p?_t(M,X):M);x[b]=Z,L[b]=Z-N}if(a){var J,K="x"===b?jt:Vt,tt="x"===b?Ft:Wt,et=x[_],it="y"===_?"height":"width",nt=et+g[K],ot=et-g[tt],st=-1!==[jt,Vt].indexOf(v),rt=null!=(J=null==A?void 0:A[_])?J:0,at=st?nt:et-$[it]-k[it]-rt+E.altAxis,lt=st?et+$[it]+k[it]-rt-E.altAxis:ot,ct=p&&st?function(t,e,
2i){var n=_e(t,e,i);return n>i?i:n}(at,et,lt):_e(p?at:nt,et,p?lt:ot);x[_]=ct,L[_]=ct-et}e.modifiersData[n]=L}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,i=t.state,n=t.name,o=t.options,s=i.elements.arrow,r=i.modifiersData.popperOffsets,a=se(i.placement),l=ae(a),c=[Vt,Wt].indexOf(a)>=0?"height":"width";if(s&&r){var h=function(t,e){return ye("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:we(t,Ut))}(o.padding,i),d=Pt(s),u="y"===l?jt:Vt,p="y"===l?Ft:Wt,f=i.rects.reference[c]+i.rects.reference[l]-r[l]-i.rects.popper[c],m=r[l]-i.rects.reference[l],g=zt(s),v=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,y=f/2-m/2,w=h[u],b=v-d[c]-h[p],_=v/2-d[c]/2+y,x=_e(w,_,b),$=l;i.modifiersData[n]=((e={})[$]=x,e.centerOffset=x-_,e)}},effect:function(t){var e=t.state,i=t.options.element,n=void 0===i?"[data-popper-arrow]":i;null!=n&&("string"!=typeof n||(n=e.elements.popper.querySelector(n)))&&me(e.elements.popper,n)&&(e.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,i=t.name,n=e.rects.reference,o=e.rects.popper,s=e.modifiersData.preventOverflow,r=be(e,{elementContext:"reference"}),a=be(e,{altBoundary:!0}),l=xe(r,n),c=xe(a,o,s),h=$e(l),d=$e(c);e.modifiersData[i]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:h,hasPopperEscaped:d},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":h,"data-popper-escaped":d})}}]});const Se={placement:"top-end",modifiers:[{name:"offset",options:{offset:[-4,-12]}}]},Ee={placement:"left-end",modifiers:[{name:"offset",options:{offset:[0,10]}}]},Ae=window.matchMedia("(max-width: 992px)"),Le=t=>{let e={button:".ni__dropdown__button"};return t.matches?e.options=Se:e.options=Ee,e},Ce=function(){if((()=>{const t=`\n <div id="ni__perspective-dropdown" class="ni__dropdown">\n <button role="button" aria-describedby="dropdown" tabindex="0" aria-haspopup="listbox" class="ni__button ni__button--outline ni__dropdown__button">${a("#hdnGridFilterLabel","Filter")}</button>\n <div class="ni__dropdown__menu" tabindex="0" role="listbox">\n <div class="ni__dropdown__menu--content">\n <div tabindex="0" class="ni__dropdown__menu--close">\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">\n <path d="M6.586 8L.293 1.707A1 1 0 011.707.293L8 6.586 14.293.293a1 1 0 011.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 11-1.414-1.414L6.586 8z" fill="currentColor" fill-rule="nonzero"/>\n </svg>\n </div>\n \x3c!-- custom code --\x3e\n <div class="ni__perspective-drowpdown__content">\n </div>\n </div>\n </div>\n </div>`,e=document.querySelector(".ni__perspective-filter__categorys--clear");r(e,s(t))})(),!t(document.querySelector("#ni__perspective-dropdown")))return;let e=Le(Ae);const{update:i}=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:".ni__dropdown",e=arguments.length>1?arguments[1]:void 0;const i=document.querySelector(t);if(!i)return console.log("please provide a NI dropdown element");const n=i.querySelector(e.button),o=i.querySelector(".ni__dropdown__menu--close"),s=i.querySelector(".ni__dropdown__menu");let r=null;const a=t=>{var e=t.target;do{if(e==s||e==n)return;e=e.parentNode}while(e);c()},l=()=>{r=ke(n,s,e.options),document.addEventListener("click",a,!0)},c=()=>{r&&(r.destroy(),r=null,document.removeEventListener("click",a,!0))};return n.addEventListener("click",(()=>{r?c():l()}),!1),o.addEventListener("click",c,!1),o.addEventListener("keyup",(t=>{13===t.keyCode&&(t.preventDefault(),c())}),!1),e.open&&l(),document.body.setAttribute("style","position: static"),{update:t=>{e.options=t,r&&(c(),l())}}}("#ni__perspective-dropdown",e);Ae.addListener((t=>{let e=Le(t);i(e.options)}))},Te=(location.origin,t=>({ok:!1,message:t.message})),Ie=class{static get(t){return fetch(t).then((t=>({ok:!0,data:t.json()}))).catch(Te)}},Oe="M7.76421 10.0001L12.2994 15.2911C12.5989 15.6405 12.5584 16.1666 12.209 16.4661C11.8595 16.7656 11.3335 16.7252 11.0339 16.3757L6.03393 10.5424C5.76644 10.2303 5.76644 9.7698 6.03393 9.45773L11.0339 3.6244C11.3335 3.27496 11.8595 3.23449 12.209 3.53401C12.5584 3.83353 12.5989 4.35961 12.2994 4.70905L7.76421 10.0001Z",Ne="M12.2358 10.0001L7.70063 4.70905C7.40112 4.35961 7.44158 3.83353 7.79102 3.53401C8.14046 3.23449 8.66654 3.27496 8.96606 3.6244L13.9661 9.45773C14.2336 9.7698 14.2336 10.2303 13.9661 10.5424L8.96606 16.3757C8.66654 16.7252 8.14046 16.7656 7.79102 16.4661C7.44158 16.1666 7.40112 15.6405 7.70063 15.2911L12.2358 10.0001Z",Pe="M13.5833 14.4167L9.75 10.5833C9.66667 10.5 9.60778 10.4097 9.57333 10.3125C9.53833 10.2153 9.52083 10.1111 9.52083 10C9.52083 9.88889 9.53833 9.78472 9.57333 9.6875C9.60778 9.59028 9.66667 9.5 9.75 9.41667L13.5833 5.58333C13.7361 5.43056 13.9306 5.35417 14.1667 5.35417C14.4028 5.35417 14.5972 5.43056 14.75 5.58333C14.9028 5.73611 14.9792 5.93056 14.9792 6.16667C14.9792 6.40278 14.9028 6.59722 14.75 6.75L11.5 10L14.75 13.25C14.9028 13.4028 14.9792 13.5972 14.9792 13.8333C14.9792 14.0694 14.9028 14.2639 14.75 14.4167C14.5972 14.5694 14.4028 14.6458 14.1667 14.6458C13.9306 14.6458 13.7361 14.5694 13.5833 14.4167ZM5.83333 15C5.59722 15 5.39917 14.92 5.23917 14.76C5.07972 14.6006 5 14.4028 5 14.1667V5.83333C5 5.59722 5.
207972 5.39917 5.23917 5.23917C5.39917 5.07972 5.59722 5 5.83333 5C6.06944 5 6.2675 5.07972 6.4275 5.23917C6.58694 5.39917 6.66667 5.59722 6.66667 5.83333V14.1667C6.66667 14.4028 6.58694 14.6006 6.4275 14.76C6.2675 14.92 6.06944 15 5.83333 15Z",Me="M5.24998 14.4167C5.0972 14.2639 5.02081 14.0694 5.02081 13.8333C5.02081 13.5972 5.0972 13.4028 5.24998 13.25L8.49998 10L5.24998 6.75C5.0972 6.59722 5.02081 6.40278 5.02081 6.16667C5.02081 5.93056 5.0972 5.73611 5.24998 5.58333C5.40276 5.43056 5.5972 5.35417 5.83331 5.35417C6.06942 5.35417 6.26387 5.43056 6.41665 5.58333L10.25 9.41667C10.3333 9.5 10.3925 9.59028 10.4275 9.6875C10.4619 9.78472 10.4791 9.88889 10.4791 10C10.4791 10.1111 10.4619 10.2153 10.4275 10.3125C10.3925 10.4097 10.3333 10.5 10.25 10.5833L6.41665 14.4167C6.26387 14.5694 6.06942 14.6458 5.83331 14.6458C5.5972 14.6458 5.40276 14.5694 5.24998 14.4167ZM14.1666 15C13.9305 15 13.7328 14.92 13.5733 14.76C13.4133 14.6006 13.3333 14.4028 13.3333 14.1667V5.83333C13.3333 5.59722 13.4133 5.39917 13.5733 5.23917C13.7328 5.07972 13.9305 5 14.1666 5C14.4028 5 14.6005 5.07972 14.76 5.23917C14.92 5.39917 15 5.59722 15 5.83333V14.1667C15 14.4028 14.92 14.6006 14.76 14.76C14.6005 14.92 14.4028 15 14.1666 15Z",Be="ni__pagination-active",De="ni__pagination-inactive",He=()=>{document.querySelectorAll(".ni__perspective-photo-caption").forEach((t=>{const e=t.querySelector(".scroll-caption");if(e){const i=t.querySelector(".ni__perspective-article__next100");i&&(i.style.bottom=e.getBoundingClientRect().height+"px")}}))},qe=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ot;const{Desktop:i}=e;return t>=i-1},ze=(e,i,n)=>{const o=n?"display: block;":"display: none;";if(Array.prototype.slice.call(i,1).forEach((t=>t.setAttribute("style",o))),!n){const i=e.querySelector(".ni__load-more");t(i)&&i.parentNode.setAttribute("style","display: block;")}},je=()=>{(()=>{const e=window.document.documentElement.clientWidth,i=document.querySelectorAll(".ni__hardware-nav-menu--container-content-item");Array.prototype.slice.call(i).forEach((i=>{if(!t(i))return;i.querySelectorAll(".ni__hardware-nav-menu--container-content-column").length>=2&&(e=>{const i=document.createElement("div");i.setAttribute("class","ni__col-mobile-12 ni__hidden--@desktop ni__hardware-nav-menu--container-content-load-more-container"),i.innerHTML='<button class="ni__button ni__button--outline ni__load-more">See more</button>';const n=e.querySelector(".ni__hardware-nav-menu--container-content-list-container");t(n)&&n.appendChild(i)})(i);const n=i.querySelectorAll(".ni__hardware-nav-menu--container-content-column");ze(i,n,qe(e));let o=qe(e);window.addEventListener("resize",(t=>{const e=qe(t.target.document.documentElement.clientWidth);o!==e&&(o=e,ze(i,n,e))}));const s=i.querySelector(".ni__load-more");t(s)&&s.addEventListener("click",(t=>{t.target.blur(),t.preventDefault(),s.parentNode.setAttribute("style","display: none;"),Array.prototype.slice.call(n).forEach((t=>{t.getAttribute("style")&&t.removeAttribute("style")}))}))}))})()},Fe=(e,i)=>{if(!t(e))return;const n=e.querySelector(".ni__schematic--mobile"),o=e.querySelector(".ni__schematic--tablet");let s,r;if(!t(n)||!t(o))return;s="mobile"===i?n.querySelectorAll('.ni__schematic-row--software-services [class*="ni__schematic-col"] > p'):o.querySelectorAll('.ni__schematic-row:nth-child(2) [class*="ni__schematic-col"] > p');const a=Array.from(s).sort(((t,e)=>e.offsetHeight-t.offsetHeight))[0].offsetHeight;r="mobile"===i?a+49:a+21,document.documentElement.style.setProperty("--MultiImageSpotlightSchematic-SolidLine-BottomOffset",`${r}px`)};function*We(t){for(const e of t.children)yield*e.getClientRects(),yield*We(e)}function Ve(t){const e=t.getBoundingClientRect();for(const i of We(t))if(i.left<e.left||i.right>e.right)return!0;return!1}function Re(t,e,i){const n=Array.from(document.querySelectorAll(t)).filter((t=>function(t,e){return Array.from(t.querySelectorAll(e)).some(Ve)}(t,e)));for(const t of n)t.classList.add(i)}const Ue=(t,e)=>{!0===e?t.parentNode.parentNode.classList.add("tooltip-active"):t.parentNode.parentNode.classList.remove("tooltip-active")},Ge=async t=>{const{type:i}=t||null,{method:n}=t||null,{endpoint:o}=t||null,{headers:s}=t||null,{productId:r}=t||null,a="credentials"in t?t.credentials:"omit",l="body"in t?JSON.stringify(t.body):null,c=function(t){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2?arguments[2]:void 0;const o=e("locale");let s=t.replace(/<locale>/g,o);return s=s.replace(/<id>/g,n),null!==i&&(s=s.replace(/<type>/g,i)),new URL(s)}(o,i,r);try{const t=await fetch(c,{method:n.toUpperCase(),headers:s,credentials:a,body:l});return await t.json()}catch(t){console.error(t)}},Ye=t=>(()=>{const t={};return document.cookie.split(";").forEach((e=>{const[i,n]=e.split("=");t[i.trim()]=n})),t})()[t],Qe=()=>{const t=Ye("locale");let e="",i="";if(t){const n=t.split("-");e=n[0],i=n[1]}return{locale:t,language:e,country:i}},Xe=async t=>{const e=document.querySelector(".ni-loading");document.getElementsByTagName("html")[0].classList.toggle("isLoadingPage"),e.classList.toggle("open");const i=JSON.parse(t),{lines:o}=i,s=o.map((t=>{const e={};
2if(t.partNumber&&(e.partNumber=t.partNumber),t.qty&&(e.quantity=t.qty),t.parentLineId){const i=t.parentLineId,n=o.filter((t=>t.lineId===i));0!==n.length&&(e.parentPartNumber=n[0].partNumber)}return t.duration&&(e.duration=Number(t.duration)),t.durationUOM&&(e.durationUom=t.durationUOM),e})),r=NIUA?NIUA.getNIUA({}).createNIAuthToken():null,{addToCartEndpoint:a,cartEndpoint:l,apiClientId:c,apiClientSecret:h}=n,d={method:"POST",endpoint:a,headers:{"Content-Type":"application/json",CLIENT_ID:c,CLIENT_SECRET:h},body:{items:s}};r&&(d.headers.NI_AUTH_TOKEN=r);const u=Ye("NI_B2B_ORDER_ID");u&&(d.headers.NI_B2B_ORDER_ID=u);try{const t=await Ge(d);if(!t||!t.Success||"false"===t.Success)throw new Error(t.message||"");const e=t.Success,i=e.orderId?e.orderId:"",n="true"===e.newCart?"yes":"no";let s="",r="",a=0;o&&o.length>0&&(s=o.map((t=>t.partNumber||"")).join(","),r=o[0].currencyCode,a=o.reduce(((t,e)=>isNaN(t)||isNaN(e.unitPrice)?0:Number(t)+Number(e.unitPrice)),0)),((t,e,i,n,o,s)=>{try{if(!NIAnalytics)throw new Error("Analytics library not available.");s&&_satellite&&(console.log("NIAnalytics debug mode"),_satellite.setDebug(!0));const r=`${window.digitalData.page.pageInfo.template} pages`,a=(()=>{const t=new Date,e=(t.getMonth()+1).toString(),i=t.getDate().toString();return`${t.getFullYear()}-${e.length>1?e:"0"+e}-${i.length>1?i:"0"+i}`})(),l={eventName:"scAdd",eventDetail:t,items:e,currency:i,revenue:n,startFlag:o,source:r,timestamp:a};NIAnalytics.captureCartAdd(l)}catch(t){console.error(`Error: ${t.message}`)}})(i,s,r,a,n,`${window.digitalData.page.pageInfo.template} pages`),document.cookie=`NI_B2B_ORDER_ID=${i};path=/;domain=.ni.com;`,location.assign(l)}catch(t){NIAnalytics.captureSiteError({errorName:"Add to Cart error-model and product pages",errorMessage:t.message,eventDetail:u}),e.classList.toggle("open"),alert(`Error! ${t.message}`)}},Ze=t=>{if("IframeHeightChanged"===t.name&&(t=>{const e=document.getElementById("kbmaxProductSelector");if(e&&t&&"IframeHeightChanged"===t.name){const i=t.data;e.style.height=e.style.height=i+150+"px"}})(t),"SpecificationsAttributeChange"===t.name){const e=JSON.parse(t.data)||null,{SelectedAttributeValueId:i,AttributeValueId:n}=e;if(e){const t=document.querySelector(".media-warning");t&&("CD"===i||"DVD"===n||"USB"===n?t.classList.remove("hidden"):t.classList.add("hidden"))}}var e;"ConfigurationFinished"===t.name&&(e=t.data,"zh"!==Qe().language.toLowerCase()?Xe(e):(t=>{let e="/"+Qe().locale.toLowerCase()+"/forms/purchasing-quoting.html?baseUrl="+window.location.origin+window.location.pathname,i="";const{lines:n}=JSON.parse(t);n.map((t=>{t.partNumber&&(i+=t.partNumber,t.qty&&t.qty>1&&(i=i+"x"+t.qty),i+=", ")})),i.length>0&&(e=e+"&pn="+i.substring(0,i.length-2)),window.open(e)})(e))},Je=()=>{document.querySelectorAll(".ni__hero.ni__hero--alt-1").forEach((e=>{t(e)&&(e=>{const i=e.querySelector(".ni__molecule-textbox-buttons-container");t(i)&&!0===(e=>{let i=!1;return e.querySelectorAll(".button.parbase").forEach((e=>{i=!!t(e)&&null===e.firstElementChild})),i})(e)&&i.setAttribute("style","display: none;")})(e)}))},Ke=()=>{if(!document.querySelector("#ActivationForm"))return;function t(t){var e,i,n,o,s,r=[];for(e=document.getElementsByClassName("select-items"),i=document.getElementsByClassName("select-selected"),o=e.length,s=i.length,n=0;n<s;n++)t==i[n]?r.push(n):i[n].classList.remove("select-arrow-active");for(n=0;n<o;n++)r.indexOf(n)&&e[n].classList.add("select-hide")}function e(){let e,i,n,o,s,r,a,l,c;for(e=document.getElementsByClassName("custom-select"),o=e.length,i=0;i<o;i++){for(r=e[i].getElementsByTagName("select")[0],s=r.length,a=document.createElement("DIV"),a.setAttribute("class","select-selected"),a.innerHTML=r.options[r.selectedIndex].innerHTML,e[i].appendChild(a),l=document.createElement("DIV"),l.setAttribute("class","select-items select-hide"),n=1;n<s;n++)c=document.createElement("DIV"),c.innerHTML=r.options[n].innerHTML,c.addEventListener("click",(function(){var t,e,i,n,o,s,r;for(s=(n=this.parentNode.parentNode.getElementsByTagName("select")[0]).length,o=this.parentNode.previousSibling,e=0;e<s;e++)if(n.options[e].innerHTML==this.innerHTML){for(n.selectedIndex=e,o.innerHTML=this.innerHTML,r=(t=this.parentNode.getElementsByClassName("same-as-selected")).length,i=0;i<r;i++)t[i].removeAttribute("class");this.setAttribute("class","same-as-selected");break}o.click()})),l.appendChild(c);e[i].appendChild(l),a.addEventListener("click",(function(e){e.stopPropagation(),t(),this.nextSibling.classList.toggle("select-hide"),this.classList.toggle("select-arrow-active")}))}document.addEventListener("click",t)}function i(){document.querySelectorAll("#productField .select-selected")[0].remove(),document.querySelectorAll("#productField .select-items.select-hide").forEach((t=>t.remove()))}function n(){var t=document.querySelectorAll("#operatingSystemField .select-selected")[0];t&&t.remove()}function o(){var t=document.querySelectorAll("#softwareVersionField .select-selected")[0];t&&t.remove()}let s=document.querySelectorAll("#ActivationForm .field-input"),r=document.getElementById("generateCodeButton");function a(){let t=document.getElementsByClassName("required empty"),e=document.querySelectorAll(".field-error .required");t.length>0||e.length>0||document.getElementById("productField").classList.contains("inactive")||"Select"==p.querySelector(".select-selected").innerText||"Select"==g.querySelector(".select-selected").innerText?(r.style.pointerEvents="none",r.classList.add("inactive"),r.classList.remove("active")):(r.style.pointerEvents="auto",r.classList.add("active"),r.classList.remove("inactive"))}r.style.pointerEvents="none",r.classList.add("inactive"),e();for(let t,e=0;t=s[e++];){let e=[],i=t.id,n=document.getElementById(`${i}Error`);t.hasAttribute("required")&&t.classList.add("required"),t.addEventListener("blur",(function(o){if
2(t.value>""||null===t.value?(t.classList.remove("empty"),t.classList.add("filled")):(t.classList.add("empty"),t.classList.remove("filled")),"text"===t.type&&t.hasAttribute("required")&&(""===t.value||null===t.value?(e=[],e.push("Field is required."),document.getElementById(`${i}Field`).classList.add("field-error")):(e=[],e.push(""),document.getElementById(`${i}Field`).classList.remove("field-error"))),"email"===t.type){let o=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/;!t.hasAttribute("required")||""!==t.value&&null!==t.value?t.value.match(o)?(e=[],n.innerText="",document.getElementById(`${i}Field`).classList.remove("field-error")):(e=[],e.push("Not a valid email address."),document.getElementById(`${i}Field`).classList.add("field-error")):(e=[],e.push("Field is required."),document.getElementById(`${i}Field`).classList.add("field-error"))}if("select-one"===t.type&&("None"===!t.value?(t.classList.remove("empty"),t.classList.add("filled")):(t.classList.add("empty"),t.classList.remove("filled"))),"field5section2"===t.id){let n=/[a-zA-Z0-9]{16}/,o=/([a-zA-Z0-9]{4}\-){3}[a-zA-Z0-9]{4}/,s=t.value.length;16==s&&t.value.match(n)||19==s&&t.value.match(o)?(e=[],e.push(""),document.getElementById(`${i}Field`).classList.remove("field-error")):(e=[],e.push("Not a valid ComputerID."),document.getElementById(`${i}Field`).classList.add("field-error"))}e.length>0&&(o.preventDefault(),n.innerText=e.join(" ")),a()}))}let l=document.querySelectorAll("#ActivationForm .tooltip-icon");for(let t,e=0;t=l[e++];)window.innerWidth>1023?t.addEventListener("mouseover",(function(t){let e=t.target.id.replace("TooltipIcon",""),i=document.getElementById(`${e}TooltipIcon`),n=document.getElementById(`${e}TooltipBubble`);if(i){n.classList.remove("hidden");let t=document.createElement("div");t.classList.add("tooltip-backdrop"),i.appendChild(t);let e=n.offsetHeight;n.style.top=`-${e+25}px`,t.addEventListener("mouseover",(function(){n.classList.add("hidden"),t.remove()})),window.onscroll=function(){n.classList.add("hidden"),t.remove()}}})):t.addEventListener("click",(function(t){let e=t.target.id.replace("TooltipIcon",""),i=document.getElementById(`${e}TooltipIcon`),n=document.getElementById(`${e}TooltipBubble`);if(i){n.classList.remove("hidden");let t=document.createElement("div");t.classList.add("tooltip-backdrop"),i.appendChild(t);let e=n.offsetHeight;n.style.top=`-${e+25}px`,t.addEventListener("mouseover",(function(){n.classList.add("hidden"),t.remove()})),window.onscroll=function(){n.classList.add("hidden"),t.remove()}}}));let c=document.getElementById("serialNumber"),h=document.getElementById("productDropdown"),d=document.getElementById("productField");d.classList.add("inactive");let u=document.getElementById("operatingSystemDropdown"),p=document.getElementById("operatingSystemField");p.classList.add("inactive");let f,m=document.getElementById("softwareVersionDropdown"),g=document.getElementById("softwareVersionField");function v(){let t=document.createElement("option");t.value="None",t.innerHTML="Select",u.appendChild(t);let e=document.createElement("option");e.value="None",e.innerHTML="Select",m.appendChild(e)}function y(){d.classList.add("inactive"),p.classList.add("inactive"),g.classList.add("inactive"),h.options.length=0,u.o
2ptions.length=0,m.options.length=0;let t=document.createElement("option");t.innerHTML="Select",t.value="None",h.appendChild(t),v(),d.classList.add("empty"),d.classList.remove("filled"),p.classList.add("empty"),p.classList.remove("filled"),g.classList.add("empty"),g.classList.remove("filled"),i(),n(),o(),""===c.value&&console.log("Need to reset dropdown values, somehow.")}function w(t){return console.warn(t),new Response(JSON.stringify({code:400,message:"Network Error"}))}g.classList.add("inactive"),c.addEventListener("blur",(function(){let t=document.getElementById("serialNumberField"),i=[],n=document.getElementById("serialNumberError"),o=c.value,s=o.match(/[A-Za-z][0-9]{2}[A-Za-z][0-9]{5,}/gi);null!==s||""===s?(async function(t){let i=`https://flux-test2.ni.com/nilg-activate-api/1/activablePackages?serialNumbers=${t}`;if(f=void 0,f=await(await fetch(i,{method:"GET",cors:"no-cors",body:JSON.stringify(f)}).catch(w)).json(),!f.code||400!=f.code){if(console.log("data Modal Share: ",f),0===f.length){let t=[];document.getElementById("serialNumberField").classList.add("serial-number-error");let e=document.querySelector("#serialNumberError .error");t.push("Not a valid number."),e.innerText=t.join(" "),y(),a()}y();for(let t=0;t<f.length;t++){let e=document.createElement("option");e.innerHTML=f[t].displayName,e.value=f[t].featureName,h.appendChild(e),d.classList.remove("inactive"),h.classList.remove("empty"),h.classList.add("filled")}f.length>0&&d.classList.add("filled"),e(),a()}}(o),t.classList.remove("serial-number-error"),t.classList.remove("field-error"),n.innerText=i.join(" "),d.classList.remove("inactive"),d.classList.remove("empty"),d.classList.add("filled"),a()):(t.classList.add("serial-number-error"),i.push("Not a valid number."),n.innerText=i.join(" "),h.options.length=0,u.o
2ptions.length=0,m.options.length=0,d.classList.add("inactive"),d.classList.add("empty"),d.classList.remove("filled"),p.classList.add("inactive"),p.classList.add("empty"),p.classList.remove("filled"),g.classList.add("inactive"),g.classList.add("empty"),g.classList.remove("filled"),a())})),document.querySelector("#productField .custom-select").addEventListener("click",(function(){if(d.classList.contains("filled")){u.options.length=0,m.options.length=0,v(),p.classList.remove("inactive"),u.classList.remove("empty"),u.classList.add("filled"),p.classList.remove("empty"),p.classList.add("filled"),g.classList.remove("inactive"),m.classList.remove("empty"),m.classList.add("filled"),g.classList.remove("empty"),g.classList.add("filled");for(let t=0;t<f.length;t++)if(f[t].featureName===h.value){let s=f[t].operativeSystemList;for(let t=0;t<s.length;t++){let e=document.createElement("option");e.innerHTML=s[t],e.value=s[t],u.appendChild(e)}let r=f[t].versionList;for(let t=0;t<r.length;t++){let e=document.createElement("option");e.innerHTML=r[t].displayVersion,e.value=r[t].codeVersion,m.appendChild(e)}i(),n(),o(),e()}}})),document.querySelector("#operatingSystemField .custom-select").addEventListener("click",(function(){a()})),document.querySelector("#softwareVersionField .custom-select").addEventListener("click",(function(){a()}))};var ti;window.onload=function(){!function(){const e=h();if(!t(e))return;const{name:i,version:n,os:o}=e;if(!t(i)||!t(n)||!t(o))return;const s=i.toString(),r=n.toString(),a=o.toLowerCase();t(document.body)&&(document.body.setAttribute("data-browser-name",s),document.body.setAttribute("data-browser-version",parseInt(r)),document.body.setAttribute("data-browser-os",a))}()},ti=()=>{!function(e){const i=document.querySelectorAll(".ni-home");if(t(i))for(let t=0;t<i.length;t++)i[t].classList.remove("ni-home")}(),(()=>{const e=document.querySelector(".ni__video-js"),i=document.querySelector(".ni__aboutus-values__imagedecoration-topRight"),n=document.querySelector(".ni__aboutus-values__imagedecoration-bottomLeft");t(e)&&t(i)&&t(n)&&window.addEventListener("scroll",(()=>{(function(e){if(!t(e))return;const i=e.getBoundingClientRect(),n={};return n.top=i.top<0,n.left=i.left<0,n.bottom=i.bottom>(window.innerHeight||document.documentElement.clientHeight),n.right=i.right>(window.innerWidth||document.documentElement.clientWidth),n.any=n.top||n.left||n.bottom||n.right,n.all=n.top&&n.left&&n.bottom&&n.right,n})(e).any||(i.setAttribute("data-is-in-view",!0),n.setAttribute("data-is-in-view",!0),e.querySelector("video"))}))})(),gt(),(()=>{const e=document.querySelector('.ni-collapsable-container .trigger[data-toggle="collapsable"]'),i=t=>{const e=t.offsetHeight,i=window.getComputedStyle(t),n=parseInt(i.getPropertyValue("line-height"),10),o=parseInt(i.getPropertyValue("margin-bottom"),10);return{elemLines:Math.round(e/n),elemLineHeight:n,elemMarginBottom:o}},n=t=>{const e=t.querySelector(".collapsable h2:not(.bottom)");let n=0,o=0;if(null!==e){const t=e.nextElementSibling,s=i(e),r=i(t);1===s.elemLines&&r.elemLines>=3&&(n=s.elemLines*s.elemLineHeight+s.elemMarginBottom,o=3*r.elemLineHeight),s.elemLines>=2&&r.elemLines>=3&&(n=s.elemLines*s.elemLineHeight+s.elemMarginBottom,o=2*r.elemLineHeight)}else{const e=t.querySelector(".ni__body-text--3.description"),n=i(e);n.elemLines>=3&&(o=3*n.elemLineHeight)}t.style.maxHeight=n+o+"px"};if(t(e)){const t=e.getAttribute("href"),i=document.querySelector(t);n(i),e.addEventListener("click",(t=>{t.preventDefault();const e=t.target.getAttribute("href"),i=document.querySelector(e);i.classList.contains("show")?(i.classList.remove("show"),t.target.setAttribute("aria-expanded",!1),n(i),t.target.style.opacity=0,setTimeout((function(){t.target.innerHTML=Granite.I18n.get("B2Breadmorelabel"),t.target.style.opacity=1}),150)):(i.style.removeProperty("max-height"),i.classList.add("show"),t.target.setAttribute("aria-expanded",!0),t.target.style.opacity=0,setTimeout((function(){t.target.innerHTML=Granite.I18n.get("B2Breadlesslabel"),t.target.style.opacity=1}),150))}))}})(),(()=>{const t=Array.from(document.querySelectorAll('.ni-collapse-group [data-toggle="collapsable"]'));t.length>0&&t.forEach((e=>{e.addEventListener("click",(e=>{const i=e.target;let n="SPAN"===i.nodeName?i.closest("a"):i;if(t.includes(n)){e.preventDefault();const i=n.getAttribute("href"),o=document.querySelector(i);((t,e)=>{t.forEach((t=>{const i=t.getAttribute("href");e!==i&&(t.classList.remove("opened"),t.closest(".panel-default").classList.remove("opened")),document.querySelector(i).classList.remove("show")}))})(t,i),n.classList.contains("opened")?(o.closest(".panel-default").classList.remove("opened"),o.classList.remove("show")):(o.closest(".panel-default").classList.add("opened"),o.classList.add("show")),n.classList.toggle("opened")}return!0}),!1)}),!1)})(),(()=>{const e=document.querySelector(".ni__perspective-hero-video");if(!t(e))return;const i=e.querySelector("video");t(i)&&i.addEventListener("ended",(t=>{setTimeout((()=>{t.target.play()}),1500)}))})(),new class{constructor(){if(this._service=new class{constructor(){const i=document.querySelector(".ni__perspective-filter");t(i)&&(this.urlCategory=i.getAttribute("data-category"),this.urlArticles=i.getAttribute("data-article"),this.locale=e("locale")||document.documentElement.dataset.aemFallbackLocale||"en-US")}getCategories(){return Ie.get(`${this.urlCategory}?locale=${this.locale}`).then((t=>t.ok?t.data:t.data.categories))}
2getArticlesNumber(t){return Ie.get(`${this.urlArticles}${t?t+"&":"?"}locale=${this.locale}&count=true`).then((t=>t.data))}getArticles(t){return Ie.get(`${this.urlArticles}${t?t+"&":"?"}locale=${this.locale}`).then((t=>t.ok?t.data:t.data.articles.slice(0,9)))}},new class{constructor(){c(".ni__perspective-grid",300,this.init)}init=()=>{let t=document.querySelector(".ni__perspective-grid__load-more button");if(t&&t.addEventListener("click",this.handleLoadMore,!0),t=document.querySelector(".ni__perspective-filter__categorys--clear"),t&&t.addEventListener("click",this.handleClearAll,!0),t=document.querySelector(".ni__perspective-grid"),t){const e=document.querySelector(".ni__perspective-filter__categorys");t.addEventListener("click",this.handleGridItems.bind(this,e),!0)}c(".ni__perspective-drowpdown__content",300,(()=>{document.querySelector(".ni__perspective-drowpdown__content").addEventListener("click",this.handleCategories,!0)}))};handleCategories=t=>{if(!t.target.matches("span.ni__category"))return;if(!t.target.className.includes("is-ni__category--active"))return;const e=t.target.getAttribute("ni-category-group")+"_"+t.target.getAttribute("ni-category-id").substring(1);NIAnalytics.captureNavigation({eventName:"perspective filter",eventLabel:e})};handleClearAll=()=>{NIAnalytics.captureNavigation({eventName:"perspectives",eventLabel:"clear all"})};handleLoadMore=()=>{NIAnalytics.captureNavigation({eventName:"perspectives",eventLabel:"load more button"})};handleGridItems=(t,e)=>{if(!e.target.matches("a.ni__perspective-grid__link"))return;e.preventDefault();let i={template:"perspectives"},n="none:none";const o=e.target.href;t.children.length>0&&(n=[],Array.prototype.slice.call(t.children).forEach((t=>{const e=t.getAttribute("ni-category-group"),i=t.getAttribute("ni-category-id").substring(1);n.push(`${e}:${i}`)})),n=n.length<=1?n.toString():JSON.stringify(n).replace(/"/gi,"").replace("[","").replace("]","")),i.filterPair=n,NIAnalytics.capturePerspectiveResultClick(i),window.location.href=o}},[this._href,this._additionalQueryString]=location.href.split("?"),this._additionalQueryString=new URLSearchParams(this._additionalQueryString),this._currentPage=Number(this._additionalQueryString.get("page"))||0,this._categoryIDs=[],this._additionalQueryString.get("category")&&(this._categoryIDs=this._additionalQueryString.get("category").split(",")),this._additionalQueryString.delete("page"),this._additionalQueryString.delete("category"),this._additionalQueryString=this._additionalQueryString.toString(),this._previousArrows,this._nextArrows,this._currentActiveElement,this._data={},this._lastPage=0,this._firstLoad=!0,this._beforeEllipses=null,this._afterEllipses=null,this._dom={section:document.querySelector(".ni__perspective-filter")},!t(this._dom.section))return;const i=this._dom.section.getAttribute("data-pagesize");this._pagesize=NaN!==parseInt(i)?9:i,this.renderFilterSection(),this._dom.grid=document.querySelector(".ni__perspective-grid"),this._dom.gridContainer=this._dom.grid.querySelector(".ni__row"),window.addEventListener("resize",this.resetPagination),this.loadData()}createNewQueryString=(()=>{var t=this;return function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t._currentPage,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t._categoryIDs,n=new URLSearchParams;return 0!=i.length&&n.append("category",i),0!=e&&n.append("page",e),t._additionalQueryString&&t._firstLoad&&(n+=n?"&"+t._additionalQueryString:t._additionalQueryString),n.toString()?"?"+n:""}})();loadData(){this._service.getCategories().then((t=>{this._data.categories=t,new Ce,this.niPerspectiveCategory=new class{constructor(t,e){this._activeCategoryIds=[],this._settings={clearCategoryBtn:".ni__perspective-filter__categorys--clear",categoryFilterContainer:".ni__perspective-filter__categorys",categoryContainer:".ni__perspective-drowpdown__content",cssCategoryClass:"ni__category__container",activeClass:"is-ni__category--active",categoryGroupId:"ni-category-group",categoryId:"ni-category-id"},this.updateGrid=e,this._categoryList=t,this.attachEvents(),this.preloadActiveCategories(),this.render()}attachEvents(){const t=document.querySelector(this._settings.categoryContainer);t.addEventListener("click",this.handleClick,!0),t.addEventListener("keyup",(t=>{13===t.keyCode&&this.handleClick.bind(this,t)()}),!0),document.querySelector(this._settings.categoryFilterContainer).addEventListener("click",this.removeCategory,!0),document.querySelector(this._settings.clearCategoryBtn).addEventListener("click",this.handleClearBadges,!0)}handleClearBadges=t=>{0!==this._activeCategoryIds.length&&(this.clearActiveBadges(),this.render())};handleClick=t=>{if(t.preventDefault(),t.stopPropagation(),!t.target.matches("a.ni__category"))return;const e=t.target,i=e.parentElement.getAttribute(this._settings.categoryGroupId),n=e.getAttribute(this._settings.categoryId);if(!n)throw new Error("please provide a NI Category dom attr id ex: <span ni-category-id=industries-2></div>");e.classList.toggle(this._settings.activeClass);const o=this._categoryList[i].find((t=>t.id===n));o.active?o.active=!1:o.active=!0,this.render()};removeCategory=t=>{if(t.preventDefault(),t.stopPropagation(),!t.target.matches("a.ni__category"))return;const e=t.target,i=e.getAttribute(this._settings.categoryGroupId),n=e.getAttribute(this._settings.categoryId);if(!n)throw new Error("please provide a NI Badge dom attr id ex: <span ni-category-id=2></div>");this._categoryList[i].find((t=>t.id===n)).active=!1,this.render()};getCloseSvgHtml(){return'\n\t\t\t<div class="ni__category__close">\n\t\t\t\t<svg\n\t\t\t\t\txmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">\n\t\t\t\t\t<path d="M6.586 8L.293 1.707A1 1 0 011.707.293L8 6.586 14.293.293a1 1 0 011.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 11-1.414-1.414L6.586 8z" fill="currentColor" fill-rule="nonzero"/>\n\t\t\t\t</svg> \n\t\t\t</div>\n\t\t'}getCategoryHtml(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=arguments.length>2?arguments[2]:void 0;const n=e?this.getCloseSvgHtml():"",o=t.active&&!e?this._settings.activeClass:"";return`<a role="option" tabindex="0" target="_blank" aria-label="${t.name}" ni-category-id="${t.id}" ni-category-group="${i}"\n\t\t\t\t\tclass="ni__category ${o}" href="?category=${t.id}&page=0">\n\t\t\t\t${t.name}\n\t\t\t\t${n}\n\t\t\t</a>`}preloadActiveCategories(){const t=new URL(window.location.href).searchParams.get("category");if(!t)return;const e=t.split(",");if(e.length>0)for(var i in this._categoryList)this._categoryList[i].map((t=>{e.includes(t.id)&&(t.active=!0)}))}getActivesCategoriesHtml(){let t="";for(var e in this._activeCategoryIds=[],this._categoryList)this._categoryList[e].filter((t=>!0===t.active)).map((i=>{this._activeCategoryIds.push(i.id),t+=this.getCategoryHtml(i,!0,e)}));return t}getCategoriesHtml(){const t=a("#hdnGridTopicsLabel","industries"),e=a("#hdnGridIndustriesLabel","topics");let i="";for(var n in this._categoryList){let s="";this._categoryList[n].map((t=>s+=this.getCategoryHtml(t,!1,n))),i+=`\n\t\t\t <h3>${o=n,"industries"===o?e:t}</h3>\n\t\t\t\t<div ni-category-group="${n}" role="listitem" class="${this._settings.cssCategoryClass}">\n\t\t\t\t\t${s}\n\t\t\t\t</div>\t\n\t\t\t`}var o;return i}renderCategories(){const t=this.getCategoriesHtml();document.querySelector(this._settings.categoryContainer).innerHTML=t}rendertActivesCategories=()=>{const t=this.getActivesCategoriesHtml();document.querySelector(this._settings.categoryFilterContainer).innerHTML=t};clearActiveBadges=()=>{for(var t in this._categoryList)this._categoryList[t].map((t=>t.active=!1))};render(){this.renderCategories(),this.rendertActivesCategories(),this.updateGrid(this._activeCategoryIds)}}(t,this.render)}))}handlePaginationClick=t=>{t.preventDefault();let e=parseInt(t.target.getAttribute("data-page-number"),10);Number.isNaN(e)&&(e=parseInt(t.target.closest("a").getAttribute("data-page-number"),10)),this._currentPage=e,this.updateSearchParams(),this.renderArticles(),this.setActiveItem(),this.handlePaginationVisibility(),this.resetNavigationArrows()};renderPreviousNavigation=()=>0==this._currentPage?`<div class="ni__pagination-item">\n ${this.renderSvgs(Pe,De)}\n </div>\n <div class="ni__pagination-item">\n ${this.renderSvgs(Oe,De)}\n </div>`:`<div class="ni__pagination-item">\n <a data-page-number="0" href="${this._href+this.createNewQueryString(0)}">\n ${this.renderSvgs(Pe,Be)}\n </a>\n </div>\n <div class="ni__pagination-item">\n <a data-page-number="${this._currentPage-1}" href="${this._href+this.createNewQueryString(this._currentPage-1)}">\n ${this.renderSvgs(Oe,Be)}\n </a>\n </div>`;renderNextNavigation=()=>
2this._currentPage==this._lastPage-1?`<div class="ni__pagination-item"> \n ${this.renderSvgs(Ne,De)}\n </div>\n <div class="ni__pagination-item">\n ${this.renderSvgs(Me,De)}\n </div>`:`\n <div class="ni__pagination-item"> \n <a data-page-number="${this._currentPage+1}" href="${this._href+this.createNewQueryString(this._currentPage+1)}"> \n ${this.renderSvgs(Ne,Be)}\n </a>\n </div>\n <div class="ni__pagination-item"> \n <a data-page-number="${this._lastPage-1}" href="${this._href+this.createNewQueryString(this._lastPage-1)}">\n ${this.renderSvgs(Me,Be)}\n </a>\n </div>`;renderSvgs=(t,e)=>`<svg class="${e}" width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="${t}"/></svg>`;renderPaginationNumbers=()=>{let t="";for(let e=0;e<this._lastPage;e++)t+=`<div class="ni__pagination-item ni__pagination-inactive ni__pagination-visible">\n <a target="_blank" data-page-number="${e}" href="${this._href+this.createNewQueryString(e)}">${e+1}</a>\n </div>`;return t};renderGridSection=()=>{if(!this._dom.section)throw new".ni__perspective-filter class selector needs to be present";const t=s('\n <section class="ni__perspective-grid">\n <div class="ni__container">\n <div class="ni__row justify-content-center"></div>\n </div>\n </section>\n ');r(this._dom.section,t),this.renderPagination()};setActiveItem=()=>{null!=this._currentActiveElement&&(this._currentActiveElement.classList.remove("ni__pagination-active"),this._currentActiveElement.classList.add("ni__pagination-inactive")),this._currentActiveElement=document.querySelector(`.ni__perspective-pagination .ni__pagination-numbers [data-page-number="${this._currentPage}"]`).parentElement,this._currentActiveElement.classList.add("ni__pagination-active"),this._currentActiveElement.classList.remove("ni__pagination-inactive")};handlePaginationVisibility=()=>{let t,e=!1;document.body.clientWidth>1200?(t=14,e=!1):document.body.clientWidth>768?(t=7,e=!1):(t=3,e=!0),this._lastPage>t&&(document.querySelectorAll(".ni__perspective-pagination .ni__pagination-numbers .ni__pagination-visible").forEach((t=>{t.classList.remove("ni__pagination-visible")})),this._currentActiveElement.classList.add("ni__pagination-visible"),e?this.setVisibleElementsForMobile(this._currentActiveElement):this.setVisibleElementsWithEllipses(this._currentActiveElement,t))};setVisibleElementsForMobile=t=>{let e=t.previousSibling,i=t.nextSibling;null!=e?(e.classList.add("ni__pagination-visible"),null!=i?i.classList.add("ni__pagination-visible"):null!=e.previousSibling&&e.previousSibling.classList.add("ni__pagination-visible")):null!=i&&(i.classList.add("ni__pagination-visible"),null!=i.nextSibling&&i.nextSibling.classList.add("ni__pagination-visible"))};setVisibleElementsWithEllipses=(t,e)=>{e-=4;let i=Math.min(this._lastPage-3-this._currentPage,Math.ceil((e-1)/2)),n=Math.min(this._currentPage-2,Math.floor((e-1)/2)),o=this._lastPage-1-this._currentPage-i,s=this._currentPage-n,r=e-1-(i+n);r>0&&(i<=n?n+=r:i+=r);let a=t;for(let t=0;t<i;t++)a=a.nextSibling,a.classList.add("ni__pagination-visible");a=t;for(let t=0;t<n;t++)a=a.previousSibling,a.classList.add("ni__pagination-visible");let l=document.querySelector(".ni__perspective-pagination .ni__pagination-numbers .ni__pagination-item:first-child"),c=document.querySelector(".ni__perspective-pagination .ni__pagination-numbers .ni__pagination-item:last-child");l.classList.add("ni__pagination-visible"),c.classList.add("ni__pagination-visible"),this._beforeEllipses&&this._beforeEllipses.classList.add("ni__pagination-visible"),this._afterEllipses&&this._afterEllipses.classList.add("ni__pagination-visible"),s<=2?(null!=this._beforeEllipses&&(this._beforeEllipses.remove(),this._beforeEllipses=null),2==s&&l.nextSibling.classList.add("ni__pagination-visible")):null==this._beforeEllipses&&(l.insertAdjacentHTML("afterend",'<div class="ni__pagination-item ni__pagination-inactive ni__pagination-visible"><div class="ni__pagination-ellipsis">…</div></div>'),this._beforeEllipses=l.nextSibling),o<=2?(null!=this._afterEllipses&&(this._afterEllipses.remove(),this._afterEllipses=null),2==o&&c.previousSibling.classList.add("ni__pagination-visible")):null==this._afterEllipses&&(c.insertAdjacentHTML("beforebegin",'<div class="ni__pagination-item ni__pagination-inactive ni__pagination-visible"><div class="ni__pagination-ellipsis">…</div></div>'),this._afterEllipses=c.previousSibling)};renderFilterSection=()=>{const t=`\n <div class="ni__container">\n <div class="ni__perspective-filter__container">\n <div class="ni__perspective-filter__dropdown">
2\n <span class="ni__perspective-filter__categorys--clear">${a("#hdnGridClearAllLabel","Clear all")}</span>\n <div class="ni__perspective-filter"></div>\n </div>\n <div class="ni__perspective-filter__categorys"></div>\n </div>\n </div>`;if(!this._dom.section)throw new".ni__perspective-filter dom selector needs to be present";this._dom.section.innerHTML=t,this.renderGridSection()};renderPagination=()=>{let t=`\n <div class="ni__pagination ni__perspective-pagination">\n <div class="container">\n <div class="row">\n <div class="ni__pagination-container col-xs-12 text-center">\n <div class="ni__pagination-previous">\n ${this.renderPreviousNavigation()}\n </div>\n <div class="ni__pagination-numbers">\n ${this.renderPaginationNumbers()}\n </div> \n <div class="ni__pagination-next">\n ${this.renderNextNavigation()}\n </div>\n </div>\n </div>\n </div>\n </div>\n `;r(document.querySelector(".ni__perspective-grid"),s(t)),this._previousArrows=document.querySelectorAll(".ni__perspective-pagination .ni__pagination-previous svg"),this._nextArrows=document.querySelectorAll(".ni__perspective-pagination .ni__pagination-next svg")};getShortText(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:20;return t.length>e?t.substring(0,e)+"...":t}getArticlesHTML=t=>{let e="";return(t||this._data.articles).map(((t,i)=>{const n=.15*i;var o;e+=`\n <div class="ni__col-md-6 ni__col-lg-4"> \n <a class="ni__perspective-grid__link" href="${t.url}">\n <article class="ni__perspective-grid__item " style="animation-delay:${n}s">\n <div>\n <div class="img image-component parbase">\n <div>\n <div style="background-image: url('${t.image.src}')">\n ${t.tag?(o=t.tag,`\n <div class="ni__perspective-article__next100">\n <div\n aria-label="${o}"\n class="ni__next100__badge"\n role="status"\n tabindex="0"\n >\n <div class="ni__next100__badge--title">\n \x3c!-- Note that these span tags need to be on the same line --\x3e\n <span>Next</span><span class="ni__next100__badge--line"></span>\n </div>\n <div class="ni__next100__badge--numbers">\n \x3c!-- Note that these span tags need to be on the same line --\x3e\n <span class="ni__next100__badge--dynamic">${o}</span>\n </div>\n </div>\n </div>\n `):""}\n </div>\n </div>\n </div>\n </div>\n <div class="ni__perspective-grid--content">\n <h3 class="ni__perspective-grid__title">${this.getShortText(t.title,100)}</h3>\n <div class="ni__perspective-grid__text-wrapper"> \n <p class="ni__perspective-grid__text">${this.getShortText(t.description,220)}</p>\n </div>\n </div>\n </article>\n </a>\n </div>\t\n `})),e};updateSearchParams(){let t=`${this._href}${this.createNewQueryString()}`;window.history.pushState({path:t},"",t)}renderArticles=()=>{this._service.getArticles(window.location.search).then((t=>{this._data.articles=t,this._dom.gridContainer.innerHTML=this.getArticlesHTML(),this._dom.grid.classList.remove("is-loading")}))};calculateLastPage=()=>{this._service.getArticlesNumber(window.location.search).then((t=>{this._lastPage=Math.ceil(t.size/9),this._currentPage>this._lastPage-1?(this._currentPage=this._lastPage-1,this.updateSearchParams(),this.renderArticles()):this._currentPage<0&&(this._currentPage=0,this.updateSearchParams(),this.renderArticles()),this.resetPagination()}))};resetPagination=()=>{document.querySelector(".ni__perspective-pagination .ni__pagination-numbers").innerHTML=this.renderPaginationNumbers(),this.resetNavigationArrows(),this._beforeEllipses=null,this._afterEllipses=null,this._previousArrows=document.querySelectorAll(".ni__perspective-pagination .ni__pagination-previous svg"),this._nextArrows=document.querySelectorAll(".ni__perspective-pagination .ni__pagination-next svg"),this.setActiveItem(),this.handlePaginationVisibility(),document.querySelectorAll(".perspective-grid .ni__pagination.ni__perspective-pagination a").forEach((t=>{t.addEventListener("click",this.handlePaginationClick)}))};resetNavigationArrows=()=>{document.querySelector(".ni__pagination-previous").innerHTML=this.renderPreviousNavigation(),document.querySelector(".ni__pagination-next").innerHTML=this.renderNextNavigation(),document.querySelectorAll(".ni__perspective-pagination .ni__pagination-next a").forEach((t=>{t.addEventListener("click",this.handlePaginationClick)})),document.querySelectorAll(".ni__perspective-pagination .ni__pagination-previous a").forEach((t=>{t.addEventListener("click",this.handlePaginationClick)}))};render=t=>{this._firstLoad&&!Number.isNaN(this._currentPage)||(this._currentPage=0),this._categoryIDs=t,this.updateSearchParams(),this._dom.grid.classList.add("is-loading"),this.renderArticles(),this._firstLoad=!1,this.calculateLastPage()}},new class{constructor(){if("function"!=typeof videojs)return;const t=videojs.getPlayers();for(const e in t)this.init(t[e])}getVideoTitle=t=>t.mediainfo&&t.mediainfo.name&&0!==t.mediainfo.name.length?t.mediainfo.name:"Not Available";init=t=>{const e="video";let i=!0;t.on("play",(()=>{const n=this.getVideoTitle(t);i&&(NIAnalytics.captureMultimedia({eventName:e,eventLabel:n,eventAction:"start"}),i=!1)})),t.on("ended",(()=>{const n=this.getVideoTitle(t);NIAnalytics.captureMultimedia({eventName:e,eventLabel:n,eventAction:"complete"}),i=!0}))}},document.querySelectorAll(".ni__next100__badge").forEach((e=>{if(!t(e))return;const i=e.querySelector(".ni__next100__badge--dynamic");t(i)&&i.innerHTML.match(/(0)/g)&&(i.innerHTML=i.innerHTML.replace(/(0)/g,"O"))})),He(),window.addEventListener("resize",(()=>{He()})),je(),(()=>{let e=window.document.documentElement.clientWidth;const i=document.querySelector(".ni__multi-image-spotlight-schematic");setTimeout((()=>{t(i)&&(e>=ot.Small?Fe(i,"tablet"):e<=ot.Small&&Fe(i,"mobile"))}),300),window.addEventListener("resize",(t=>{e=t.target.document.documentElement.clientWidth,e>=ot.Small?Fe(i,"tablet"):e<=ot.Small&&Fe(i,"mobile")}))})(),(()=>{const e=document.querySelectorAll(".ni__pinned-nav--container");Array.from(e).forEach((e=>{if(!t(e))return;const i=e.querySelector(".ni__pinned-nav"),n=i.querySelectorAll(".ni__in-page-nav--1");
2n.forEach((t=>{t.setAttribute("data-label",t.textContent.trim())}));const o=n.length;i.style.gridTemplateColumns=`repeat(${o}, 1fr)`}));const i=new IntersectionObserver((t=>{for(const n of t)n.isIntersecting&&(i.unobserve(n.target),e=n.target,Array.from(e.querySelectorAll("img[loading=lazy]")).filter((t=>0===t.clientHeight&&(!t.checkVisibility||t.checkVisibility()))).forEach((t=>t.removeAttribute("loading"))));var e}),{rootMargin:"200px"});for(const t of document.querySelectorAll(".in-page-pinned-nav"))i.observe(t)})(),document.querySelectorAll(".content-sectional-with-icons").forEach((e=>{t(e)&&e.querySelectorAll(".ni__row > div").forEach((t=>{null!==t.nextElementSibling?t.nextElementSibling.setAttribute("style","margin-left: 0"):null!==t.previousElementSibling&&t.previousElementSibling.setAttribute("style","max-width: 100%; margin-left: 0"),null===t.firstElementChild&&t.parentElement.removeChild(t)}))})),(()=>{const e=document.querySelectorAll(".ni__content-with-text-stats");Array.prototype.slice.call(e).forEach((e=>{if(!t(e))return;const i=e.querySelectorAll(".ni__content-with-text-stats-item h3");Array.prototype.slice.call(i).forEach((e=>{t(e)&&(t=>{const e=t.innerText.replace(/(0)/g,"O").split(""),i=e.length;let n="";for(let t=0;t<i;++t)n+=`<span data-value="${e[t]}">${e[t]}</span>`;t.innerHTML=n})(e)}))}))})(),(()=>{const e=document.querySelector(".ni__contact");if(!t(e))return;const i=e.querySelector(".ni__contact--label");t(i)&&""===i.innerText&&e.setAttribute("style","display: none;")})(),Re(".ni__hero-cta .ni__hero-cta--buttons",".ni__col-mobile-6","ni__hero-cta--buttons--vertical"),Re(".ni__perspective-article__links",".ni__perspective-article__link","ni__perspective-article__links--vertical"),(()=>{const e=document.querySelectorAll(".ni__cta-cards-three-column-account-tooltip.has-tooltip");Array.prototype.slice.call(e).forEach((e=>{if(!t(e))return;const i=e.querySelector(".ni__product-service-card-tooltip-area");t(i)&&(i.addEventListener("mouseover",(()=>Ue(i,!0))),i.addEventListener("mouseout",(()=>Ue(i,!1))))}))})(),(()=>{const t="kbmaxProductSelector",e=document.getElementById(t),i=document.getElementById("configuratorId"),o=document.getElementById("pmdmId");if(!e)return;let s=new kbmax.ConfiguratorEmbed({elementId:t,configuratorId:i.value,showFields:!0,showHeader:!1,showConfigHeader:!0,showMove:!1,bindToFormSelector:"",showSubmitButton:!1,showDrawer:!1,kbmaxUrl:n.kbMaxEndpoint}),{locale:r,language:a,country:l}=Qe();s.setFields({"Field - Locale":r,"Field - Language":a,"Field - Country":l});const c=NIUA?NIUA.getNIUA({}).createNIAuthToken():null;c&&s.setFields({"Field - NI Auth Token":c});let h=new URLSearchParams(window.location.search).get("partNumber");h&&s.setFields({"Field - Part Number":h}),window.location.href.indexOf("model")>=0?s.setFields({"Field - Model Id":o.value}):s.setFields({"Field - Product Id":o.value}),s.onMessage.add(Ze)})(),new class{constructor(){this._data={},this._dom={section:document.querySelector(".ni__hero-dual-column-account"),headline:document.querySelector(".ni__hero-dual-column-account-headline"),subheadline:document.querySelector(".ni__hero-dual-column-account-subheadline"),bodyCopy:document.querySelector(".ni__hero-dual-column-account-bodycopy")},this._service=new class{constructor(){this.myNIUA=NIUA.getNIUA({minutesBeforeExpire:0,apikey:"3fb382e8-92fa-49fd-b0b8-b0ad68e9c6dc"})}getEnvFromUrl(){return location.hostname.indexOf("-test2")>-1?"-test2":location.hostname.indexOf("-test")>-1?"-test":location.hostname.indexOf("-dev2")>-1?"-dev2":location.hostname.indexOf("-dev")>-1?"-dev":""}constructDynamicLoginUrl(){return`https://lumen${this.getEnvFromUrl()}.ni.com/nicif/us/myaccount/content.xhtml?${"du="+encodeURIComponent(window.location.href)}`}getDetailsFromSessionStorage(){const t=sessionStorage.getItem("NIUA_details");return!(!t||void 0===t)&&t}redirectToLoginPage(){const t=this.constructDynamicLoginUrl();window.location.href=t}getAccount(){const t=this,e=t.getDetailsFromSessionStorage();return new Promise(((i,n)=>{t.myNIUA.getDetails().then((n=>{const{response:o}=n;console.log(">>>",n),window.location.href.includes("author-")?i(o):!1===e?t.redirectToLoginPage():i(o)})).catch((t=>{n(t)}))}))}},t(this._dom.section)&&this.loadData().then((t=>this.render(t)))}loadData(){return new Promise(((t,e)=>{this._service.getAccount().then((i=>{i?t(this._data=i):e("loadData() error")}))}))}getName(t){const e=t||this._data,{firstName:i,lastName:n}=e;return i&&n?`${e.firstName} ${e.lastName}`:i?e.firstName:void this._dom.headline.setAttribute("style","display: none")}getCommunityUsername(t){const e=t||this._data,{communityUsername:i}=e;return void 0!==i?i:void this._dom.subheadline.setAttribute("style","display: none")}getJobTitle(t){const e=t||this._data,{jobTitle:i}=e;return void 0!==i?i:null}getRole(t){const e=t||this._data,{role:i}=e;return void 0!==i?i:null}getCompany(t){const e=t||this._data,{company:i}=e;return void 0!==i?i:null}getEmployementString(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return null!==t&&null!==e?`${t} at ${e}`:null!==t&&null===e?t:null===t&&null!==e?e:void this._dom.bodyCopy.setAttribute("style","display: none")}render(t){const e=this.getName(t),i=this.getCommunityUsername(t),n=(this.getRole(t),this.getCompany(t));this._dom.headline.innerHTML=e,this._dom.subheadline.innerHTML=i,this._dom.bodyCopy.innerHTML=n}},Je(),(()=>{const t=Array.from(document.querySelectorAll(".ni__nav .ni__in-page-nav--1")),e=Array.from(document.querySelectorAll(".ni__nav-content .tabcontent"));t.length>0&&e[0].classList.add("active"),t.length>0&&t.forEach((i=>{i.addEventListener("click",(i=>{const n=i.target,o=document.querySelectorAll(".desc-container .ni__nav-container")[0].getBoundingClientRect().top+window.scrollY;let s=0;if(s=window.matchMedia("(max-width: 719px)").matches?64:window.matchMedia("(max-width: 1023px)").matches?81:window.matchMedia("(max-width: 1199px)").matches?56:53,t.includes(n)){i.preventDefault();const o=n.getAttribute("href");for(let i=0;i<e.length;i++)e[i].className=e[i].className.replace(" active",""),t[i].className=t[i].className.replace(" active","");document.querySelector(o).classList.add("active"),n.classList.add("active")}window.scroll({top:o-s,behavior:"instant"})}),!1)}),!1)})(),(()=>{const e=".ni__price-container",i=document.querySelector(`${e} #product-price`);if(t(i)){const{startingPriceEndpoint:t,apiClientId:o,apiClientSecret:s}=n,r=t=>{const n=(t=>{if(t&&("model"in t||"product"in t)){const e=Object.values(t)[0];if(Object.keys(e).length>
20){const t=Object.values(e)[0],{originalPrice:i,discountedPrice:n}=t;return{original:i,discount:n}}}return t&&"unavailableReason"in t&&console.error("Pricing is unavailable. Reason: "+t.unavailableReason),{original:null,discount:null}})(t);if(null!=n.original){const t=document.querySelector(`${e} .disclaimer`),o=Granite.I18n.get("B2Bfrom"),s=null!=n.discount?`${o} <span class="strikethrough">${n.original}</span> ${n.discount}`:`${o} ${n.original}`;i.innerHTML=s,t.classList.toggle("show")}else{const t=document.querySelector(`${e} .error`);i.innerHTML="",t.classList.toggle("show")}},a=()=>{const t=document.querySelector(`${e} .distributor`);i.innerHTML="";const n=t.querySelectorAll("span");n.length>=2&&(n[1].textContent=Granite.I18n.get("B2Bonlinepurchasingisunavailable"),n[2].innerHTML=Granite.I18n.get("B2Bdistributormessage1")+Granite.I18n.get("B2Bdistributormessage2")),t.classList.toggle("show")},l=document.getElementById("pmdmId").value,c={type:window.location.href.indexOf("product")>-1?"product":"model",method:"GET",endpoint:t,productId:l,headers:{CLIENT_ID:o,CLIENT_SECRET:s}};Promise.all([Ge(lt),Ge(c)]).then((t=>{"true"===t[0].disableOnlinePurchasing?a():r(t[1])}))}})(),(()=>{let t=document.querySelector(".pm-container");if(!t)return;let e,i=document.querySelector(".ni__model-detail-banner"),n=document.querySelector(".ni_multi-cta-banner"),o=document.querySelector(".gallery-container"),s=document.querySelector(".desc-container"),r=document.querySelector(".iframe-container");const a=document.createElement("div");a.classList.add("spacer"),t.appendChild(a),setInterval((()=>{window.innerWidth>1023?(e=r.offsetHeight,e>1e3&&(r.style.marginTop=e-670+"px",r.style.marginBottom=`-${e-770}px`,r.style.transform=`translateY(-${e-670}px)`),n&&(r.style.paddingBottom="200px"),i&&n&&(r.style.paddingBottom="300px"),document.querySelector(".left-container")||function(){const e=document.createElement("div");e.classList.add("left-container"),t.appendChild(e),e.appendChild(o),e.appendChild(s),i&&!n&&(e.style.marginBottom="200px"),n&&!i&&(e.style.marginBottom="600px"),i&&n&&(e.style.marginBottom="800px")}()):(r.style.marginTop="0px",r.style.marginBottom="30px",r.style.transform="none",document.querySelector(".left-container")&&(t.appendChild(o),t.appendChild(s),document.querySelector(".left-container").remove()))}),200)})(),Ke(),(()=>{const i=document.querySelector(".modal-trigger");console.log("openModalTrigger",i);const o=document.querySelector(".ni__modal-share-activation-code .close");t(i)&&i.addEventListener("click",(t=>{t.preventDefault();const i=document.getElementById("field4section1").value,o=t.target.getAttribute("data-target"),s=document.getElementById(o),r=document.querySelector(".ni__modal-share-activation-code #modal-text"),a=document.querySelector(".ni__modal-share-activation-code #modal-activation-code");let l=r.innerHTML;l=l.replace(/#email#/g,i),r.innerHTML=l,a.innerHTML="L1UH-4Q4Z-EAS9-PLQ4-3DWI";const c=document.getElementById("ActivationForm");let h=new FormData(c),d=Object.fromEntries(h);const{field1section1:u,field2section1:p,field3section1:f,field4section1:m,serialNumber:g,productDropdown:v,softwareVersionDropdown:y,field5section2:w}=d,{localeDefault:b}=n,_={firstName:u,lastName:p,countryCode:(e("locale")||b).slice(-2),computerId:w,email:m,organization:f,ipAddress:"17.5.7.8",activablePackage:[{featureName:v,version:y,serialNumber:g}]};console.log("formDataFinal",_);const x={method:"POST",cors:"no-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(_)};fetch("https://flux-test2.ni.com/nilg-activate-api/1/activate",x).then((t=>{t.json().then((t=>{const{activationCode:e}=t.activablePackage[0]||null;console.log("data: ",t,e),null===e||(a.innerHTML=e),s.style.display="block"}))})).catch((t=>console.error(t)))})),t(o)&&o.addEventListener("click",(t=>{t.preventDefault();const e=t.target.closest(".ni__modal-share-activation-code").getAttribute("id");document.getElementById(e).style.display="none"}))})(),function(){for(const t of document.querySelectorAll(d)){const e=t.querySelector(u);m(e),t.querySelector(".ni__horizontal-scroller--left").addEventListener("click",(()=>{e.scrollBy({top:0,left:-200,behavior:"smooth"})})),t.querySelector(".ni__horizontal-scroller--right").addEventListener("click",(()=>{e.scrollBy({top:0,left:200,behavior:"smooth"})})),g(e,(()=>m(e)))}window.addEventListener("resize",(()=>{for(const t of document.querySelectorAll(u))m(t)}))}()},(document.attachEvent?"complete"===document.readyState:"loading"!==document.readyState)?ti():document.addEventListener("DOMContentLoaded",ti)})()})();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.