uikit
Version:
UIkit is a lightweight and modular front-end framework for developing fast and powerful web interfaces.
1 lines • 129 kB
JavaScript
/*! UIkit 3.14.1 | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */(function(de,fe){typeof exports=="object"&&typeof module<"u"?module.exports=fe():typeof define=="function"&&define.amd?define("uikit",fe):(de=typeof globalThis<"u"?globalThis:de||self,de.UIkit=fe())})(this,function(){"use strict";const{hasOwnProperty:de,toString:fe}=Object.prototype;function Nt(t,e){return de.call(t,e)}const Un=/\B([A-Z])/g,Mt=nt(t=>t.replace(Un,"-$1").toLowerCase()),tr=/-(\w)/g,Yt=nt(t=>t.replace(tr,hs)),wt=nt(t=>t.length?hs(null,t.charAt(0))+t.slice(1):"");function hs(t,e){return e?e.toUpperCase():""}function lt(t,e){return t==null||t.startsWith==null?void 0:t.startsWith(e)}function Gt(t,e){return t==null||t.endsWith==null?void 0:t.endsWith(e)}function g(t,e){return t==null||t.includes==null?void 0:t.includes(e)}function bt(t,e){return t==null||t.findIndex==null?void 0:t.findIndex(e)}const{isArray:st,from:bi}=Array,{assign:xt}=Object;function dt(t){return typeof t=="function"}function At(t){return t!==null&&typeof t=="object"}function Pt(t){return fe.call(t)==="[object Object]"}function Dt(t){return At(t)&&t===t.window}function pe(t){return yi(t)===9}function xi(t){return yi(t)>=1}function Xt(t){return yi(t)===1}function yi(t){return!Dt(t)&&At(t)&&t.nodeType}function Le(t){return typeof t=="boolean"}function O(t){return typeof t=="string"}function Jt(t){return typeof t=="number"}function Et(t){return Jt(t)||O(t)&&!isNaN(t-parseFloat(t))}function ge(t){return!(st(t)?t.length:At(t)?Object.keys(t).length:!1)}function Y(t){return t===void 0}function $i(t){return Le(t)?t:t==="true"||t==="1"||t===""?!0:t==="false"||t==="0"?!1:t}function _t(t){const e=Number(t);return isNaN(e)?!1:e}function y(t){return parseFloat(t)||0}function V(t){return b(t)[0]}function b(t){return t&&(xi(t)?[t]:Array.from(t).filter(xi))||[]}function Kt(t){var e;if(Dt(t))return t;t=V(t);const i=pe(t)?t:(e=t)==null?void 0:e.ownerDocument;return i?.defaultView||window}function me(t,e){return t===e||At(t)&&At(e)&&Object.keys(t).length===Object.keys(e).length&&yt(t,(i,s)=>i===e[s])}function ki(t,e,i){return t.replace(new RegExp(e+"|"+i,"g"),s=>s===e?i:e)}function ve(t){return t[t.length-1]}function yt(t,e){for(const i in t)if(e(t[i],i)===!1)return!1;return!0}function We(t,e){return t.slice().sort((i,s)=>{let{[e]:n=0}=i,{[e]:r=0}=s;return n>r?1:r>n?-1:0})}function cs(t,e){const i=new Set;return t.filter(s=>{let{[e]:n}=s;return i.has(n)?!1:i.add(n)})}function U(t,e,i){return e===void 0&&(e=0),i===void 0&&(i=1),Math.min(Math.max(_t(t)||0,e),i)}function E(){}function Si(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return[["bottom","top"],["right","left"]].every(s=>{let[n,r]=s;return Math.min(...e.map(o=>{let{[n]:a}=o;return a}))-Math.max(...e.map(o=>{let{[r]:a}=o;return a}))>0})}function je(t,e){return t.x<=e.right&&t.x>=e.left&&t.y<=e.bottom&&t.y>=e.top}function Ti(t,e,i){const s=e==="width"?"height":"width";return{[s]:t[e]?Math.round(i*t[s]/t[e]):t[s],[e]:i}}function us(t,e){t={...t};for(const i in t)t=t[i]>e[i]?Ti(t,i,e[i]):t;return t}function er(t,e){t=us(t,e);for(const i in t)t=t[i]<e[i]?Ti(t,i,e[i]):t;return t}const we={ratio:Ti,contain:us,cover:er};function Zt(t,e,i,s){i===void 0&&(i=0),s===void 0&&(s=!1),e=b(e);const{length:n}=e;return n?(t=Et(t)?_t(t):t==="next"?i+1:t==="previous"?i-1:e.indexOf(V(t)),s?U(t,0,n-1):(t%=n,t<0?t+n:t)):-1}function nt(t){const e=Object.create(null);return i=>e[i]||(e[i]=t(i))}class Re{constructor(){this.promise=new Promise((e,i)=>{this.reject=i,this.resolve=e})}}function k(t,e,i){if(At(e)){for(const n in e)k(t,n,e[n]);return}if(Y(i)){var s;return(s=V(t))==null?void 0:s.getAttribute(e)}else for(const n of b(t))dt(i)&&(i=i.call(n,k(n,e))),i===null?be(n,e):n.setAttribute(e,i)}function Bt(t,e){return b(t).some(i=>i.hasAttribute(e))}function be(t,e){const i=b(t);for(const s of e.split(" "))for(const n of i)n.removeAttribute(s)}function rt(t,e){for(const i of[e,"data-"+e])if(Bt(t,i))return k(t,i)}const ir={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,menuitem:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0};function Ci(t){return b(t).some(e=>ir[e.tagName.toLowerCase()])}function q(t){return b(t).some(e=>e.offsetWidth||e.offsetHeight||e.getClientRects().length)}const xe="input,select,textarea,button";function Ii(t){return b(t).some(e=>H(e,xe))}const qe=xe+",a[href],[tabindex]";function Ve(t){return H(t,qe)}function A(t){var e;return(e=V(t))==null?void 0:e.parentElement}function ye(t,e){return b(t).filter(i=>H(i,e))}function H(t,e){return b(t).some(i=>i.matches(e))}function ot(t,e){return lt(e,">")&&(e=e.slice(1)),Xt(t)?t.closest(e):b(t).map(i=>ot(i,e)).filter(Boolean)}function F(t,e){return O(e)?H(t,e)||!!ot(t,e):t===e||V(e).contains(V(t))}function $e(t,e){const i=[];for(;t=A(t);)(!e||H(t,e))&&i.push(t);return i}function D(t,e){t=V(t);const i=t?b(t.children):[];return e?ye(i,e):i}function Qt(t,e){return e?b(t).indexOf(V(e)):D(A(t)).indexOf(t)}function $t(t,e){return Ai(t,fs(t,e))}function ke(t,e){return Se(t,fs(t,e))}function Ai(t,e){return V(ps(t,e,"querySelector"))}function Se(t,e){return b(ps(t,e,"querySelectorAll"))}const sr=/(^|[^\\],)\s*[!>+~-]/,ds=nt(t=>t.match(sr));function fs(t,e){return e===void 0&&(e=document),O(t)&&ds(t)||pe(e)?e:e.ownerDocument}const nr=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,rr=nt(t=>t.replace(nr,"$1 *"));function ps(t,e,i){if(e===void 0&&(e=document),!t||!O(t))return t;if(t=rr(t),ds(t)){const s=ar(t);t="";for(let n of s){let r=e;if(n[0]==="!"){const o=n.substr(1).trim().split(" ");if(r=ot(A(e),o[0]),n=o.slice(1).join(" ").trim(),!n.length&&s.length===1)return r}if(n[0]==="-"){const o=n.substr(1).trim().split(" "),a=(r||e).previousElementSibling;r=H(a,n.substr(1))?a:null,n=o.slice(1).join(" ")}r&&(t+=(t?",":"")+lr(r)+" "+n)}e=document}try{return e[i](t)}catch{return null}}const or=/.*?[^\\](?:,|$)/g,ar=nt(t=>t.match(or).map(e=>e.replace(/,$/,"").trim()));function lr(t){const e=[];for(;t.parentNode;){const i=k(t,"id");if(i){e.unshift("#"+Pi(i));break}else{let{tagName:s}=t;s!=="HTML"&&(s+=":nth-child("+(Qt(t)+1)+")"),e.unshift(s),t=t.parentNode}}return e.join(" > ")}function Pi(t){return O(t)?CSS.escape(t):""}function T(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];let[s,n,r,o,a=!1]=Ei(e);o.length>1&&(o=cr(o)),a!=null&&a.self&&(o=ur(o)),r&&(o=hr(r,o));for(const l of n)for(const h of s)h.addEventListener(l,o,a);return()=>Ut(s,n,o,a)}function Ut(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];let[s,n,,r,o=!1]=Ei(e);for(const a of n)for(const l of s)l.removeEventListener(a,r,o)}function j(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];const[s,n,r,o,a=!1,l]=Ei(e),h=T(s,n,r,u=>{const d=!l||l(u);d&&(h(),o(u,d))},a);return h}function p(t,e,i){return _i(t).every(s=>s.dispatchEvent(zt(e,!0,!0,i)))}function zt(t,e,i,s){return e===void 0&&(e=!0),i===void 0&&(i=!1),O(t)&&(t=new CustomEvent(t,{bubbles:e,cancelable:i,detail:s})),t}function Ei(t){return t[0]=_i(t[0]),O(t[1])&&(t[1]=t[1].split(" ")),dt(t[2])&&t.splice(2,0,!1),t}function hr(t,e){return i=>{const s=t[0]===">"?Se(t,i.currentTarget).reverse().filter(n=>F(i.target,n))[0]:ot(i.target,t);s&&(i.current=s,e.call(this,i))}}function cr(t){return e=>st(e.detail)?t(e,...e.detail):t(e)}function ur(t){return function(e){if(e.target===e.currentTarget||e.target===e.current)return t.call(null,e)}}function gs(t){return t&&"addEventListener"in t}function dr(t){return gs(t)?t:V(t)}function _i(t){return st(t)?t.map(dr).filter(Boolean):O(t)?Se(t):gs(t)?[t]:b(t)}function kt(t){return t.pointerType==="touch"||!!t.touches}function te(t){var e,i;const{clientX:s,clientY:n}=((e=t.touches)==null?void 0:e[0])||((i=t.changedTouches)==null?void 0:i[0])||t;return{x:s,y:n}}function ms(t,e){const i={data:null,method:"GET",headers:{},xhr:new XMLHttpRequest,beforeSend:E,responseType:"",...e};return Promise.resolve().then(()=>i.beforeSend(i)).then(()=>fr(t,i))}function fr(t,e){return new Promise((i,s)=>{const{xhr:n}=e;for(const r in e)if(r in n)try{n[r]=e[r]}catch{}n.open(e.method.toUpperCase(),t);for(const r in e.headers)n.setRequestHeader(r,e.headers[r]);T(n,"load",()=>{n.status===0||n.status>=200&&n.status<300||n.status===304?i(n):s(xt(Error(n.statusText),{xhr:n,status:n.status}))}),T(n,"error",()=>s(xt(Error("Network Error"),{xhr:n}))),T(n,"timeout",()=>s(xt(Error("Network Timeout"),{xhr:n}))),n.send(e.data)})}function vs(t,e,i){return new Promise((s,n)=>{const r=new Image;r.onerror=o=>{n(o)},r.onload=()=>{s(r)},i&&(r.sizes=i),e&&(r.srcset=e),r.src=t})}const pr={"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 c(t,e,i,s){s===void 0&&(s="");const n=b(t);for(const r of n)if(O(e)){if(e=Oi(e),Y(i))return getComputedStyle(r).getPropertyValue(e);r.style.setProperty(e,Et(i)&&!pr[e]?i+"px":i||Jt(i)?i:"",s)}else if(st(e)){const o={};for(const a of e)o[a]=c(r,a);return o}else At(e)&&(s=i,yt(e,(o,a)=>c(r,a,o,s)));return n[0]}const gr=/^\s*(["'])?(.*?)\1\s*$/;function Ye(t,e){return e===void 0&&(e=document.documentElement),c(e,"--uk-"+t).replace(gr,"$2")}const Oi=nt(t=>mr(t)),ws=["webkit","moz"];function mr(t){if(t[0]==="-")return t;t=Mt(t);const{style:e}=document.documentElement;if(t in e)return t;let i=ws.length,s;for(;i--;)if(s="-"+ws[i]+"-"+t,s in e)return s}function w(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),s=1;s<e;s++)i[s-1]=arguments[s];bs(t,i,"add")}function _(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),s=1;s<e;s++)i[s-1]=arguments[s];bs(t,i,"remove")}function Ni(t,e){k(t,"class",i=>(i||"").replace(new RegExp("\\b"+e+"\\b","g"),""))}function Mi(t){!(arguments.length<=1)&&arguments[1]&&_(t,arguments.length<=1?void 0:arguments[1]),!(arguments.length<=2)&&arguments[2]&&w(t,arguments.length<=2?void 0:arguments[2])}function S(t,e){return[e]=Di(e),!!e&&b(t).some(i=>i.classList.contains(e))}function R(t,e,i){const s=Di(e);Y(i)||(i=!!i);for(const n of b(t))for(const r of s)n.classList.toggle(r,i)}function bs(t,e,i){e=e.reduce((s,n)=>s.concat(Di(n)),[]);for(const s of b(t))s.classList[i](...e)}function Di(t){return String(t).split(/\s|,/).filter(Boolean)}function xs(t,e,i,s){return i===void 0&&(i=400),s===void 0&&(s="linear"),Promise.all(b(t).map(n=>new Promise((r,o)=>{for(const l in e){const h=c(n,l);h===""&&c(n,l,h)}const a=setTimeout(()=>p(n,"transitionend"),i);j(n,"transitionend transitioncanceled",l=>{let{type:h}=l;clearTimeout(a),_(n,"uk-transition"),c(n,{transitionProperty:"",transitionDuration:"",transitionTimingFunction:""}),h==="transitioncanceled"?o():r(n)},{self:!0}),w(n,"uk-transition"),c(n,{transitionProperty:Object.keys(e).map(Oi).join(","),transitionDuration:i+"ms",transitionTimingFunction:s,...e})})))}const I={start:xs,stop(t){return p(t,"transitionend"),Promise.resolve()},cancel(t){p(t,"transitioncanceled")},inProgress(t){return S(t,"uk-transition")}},Te="uk-animation-";function Bi(t,e,i,s,n){return i===void 0&&(i=200),Promise.all(b(t).map(r=>new Promise((o,a)=>{p(r,"animationcanceled");const l=setTimeout(()=>p(r,"animationend"),i);j(r,"animationend animationcanceled",h=>{let{type:u}=h;clearTimeout(l),u==="animationcanceled"?a():o(r),c(r,"animationDuration",""),Ni(r,Te+"\\S*")},{self:!0}),c(r,"animationDuration",i+"ms"),w(r,e,Te+(n?"leave":"enter")),lt(e,Te)&&(s&&w(r,"uk-transform-origin-"+s),n&&w(r,Te+"reverse"))})))}const vr=new RegExp(Te+"(enter|leave)"),ft={in:Bi,out(t,e,i,s){return Bi(t,e,i,s,!0)},inProgress(t){return vr.test(k(t,"class"))},cancel(t){p(t,"animationcanceled")}},Ht={width:["left","right"],height:["top","bottom"]};function $(t){const e=Xt(t)?V(t).getBoundingClientRect():{height:L(t),width:Ie(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 C(t,e){const i=$(t);if(t){const{scrollY:n,scrollX:r}=Kt(t),o={height:n,width:r};for(const a in Ht)for(const l of Ht[a])i[l]+=o[a]}if(!e)return i;const s=c(t,"position");yt(c(t,["left","top"]),(n,r)=>c(t,r,e[r]-i[r]+y(s==="absolute"&&n==="auto"?Ge(t)[r]:n)))}function Ge(t){let{top:e,left:i}=C(t);const{ownerDocument:{body:s,documentElement:n},offsetParent:r}=V(t);let o=r||n;for(;o&&(o===s||o===n)&&c(o,"position")==="static";)o=o.parentNode;if(Xt(o)){const a=C(o);e-=a.top+y(c(o,"borderTopWidth")),i-=a.left+y(c(o,"borderLeftWidth"))}return{top:e-y(c(t,"marginTop")),left:i-y(c(t,"marginLeft"))}}function Ce(t){const e=[0,0];t=V(t);do if(e[0]+=t.offsetTop,e[1]+=t.offsetLeft,c(t,"position")==="fixed"){const i=Kt(t);return e[0]+=i.scrollY,e[1]+=i.scrollX,e}while(t=t.offsetParent);return e}const L=ys("height"),Ie=ys("width");function ys(t){const e=wt(t);return(i,s)=>{if(Y(s)){if(Dt(i))return i["inner"+e];if(pe(i)){const n=i.documentElement;return Math.max(n["offset"+e],n["scroll"+e])}return i=V(i),s=c(i,t),s=s==="auto"?i["offset"+e]:y(s)||0,s-ee(i,t)}else return c(i,t,!s&&s!==0?"":+s+ee(i,t)+"px")}}function ee(t,e,i){return i===void 0&&(i="border-box"),c(t,"boxSizing")===i?Ht[e].map(wt).reduce((s,n)=>s+y(c(t,"padding"+n))+y(c(t,"border"+n+"Width")),0):0}function Xe(t){for(const e in Ht)for(const i in Ht[e])if(Ht[e][i]===t)return Ht[e][1-i];return t}function Z(t,e,i,s){return e===void 0&&(e="width"),i===void 0&&(i=window),s===void 0&&(s=!1),O(t)?br(t).reduce((n,r)=>{const o=yr(r);return o&&(r=$r(o==="vh"?L(Kt(i)):o==="vw"?Ie(Kt(i)):s?i["offset"+wt(e)]:$(i)[e],r)),n+y(r)},0):y(t)}const wr=/-?\d+(?:\.\d+)?(?:v[wh]|%|px)?/g,br=nt(t=>t.toString().replace(/\s/g,"").match(wr)||[]),xr=/(?:v[hw]|%)$/,yr=nt(t=>(t.match(xr)||[])[0]);function $r(t,e){return t*y(e)/100}function zi(t){if(document.readyState!=="loading"){t();return}j(document,"DOMContentLoaded",t)}function pt(t,e){var i;return(t==null||(i=t.tagName)==null?void 0:i.toLowerCase())===e.toLowerCase()}function kr(t){return Hi(t,"")}function Ot(t,e){return Y(e)?m(t).innerHTML:Hi(t,e)}const Hi=Ae("replaceChildren"),Sr=Ae("prepend"),G=Ae("append"),Fi=Ae("before"),Je=Ae("after");function Ae(t){return function(e,i){var s;const n=b(O(i)?Ft(i):i);return(s=m(e))==null||s[t](...n),ks(n)}}function ht(t){b(t).forEach(e=>e.remove())}function Ke(t,e){for(e=V(Fi(t,e));e.firstChild;)e=e.firstChild;return G(e,t),e}function $s(t,e){return b(b(t).map(i=>i.hasChildNodes()?Ke(b(i.childNodes),e):G(i,e)))}function Ze(t){b(t).map(A).filter((e,i,s)=>s.indexOf(e)===i).forEach(e=>e.replaceWith(...e.childNodes))}const Tr=/^\s*<(\w+|!)[^>]*>/,Cr=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function Ft(t){const e=Cr.exec(t);if(e)return document.createElement(e[1]);const i=document.createElement("div");return Tr.test(t)?i.insertAdjacentHTML("beforeend",t.trim()):i.textContent=t,ks(i.childNodes)}function ks(t){return t.length>1?t:t[0]}function St(t,e){if(!!Xt(t))for(e(t),t=t.firstElementChild;t;){const i=t.nextElementSibling;St(t,e),t=i}}function m(t,e){return Ss(t)?V(Ft(t)):Ai(t,e)}function N(t,e){return Ss(t)?b(Ft(t)):Se(t,e)}function Ss(t){return O(t)&<(t.trim(),"<")}const Lt=typeof window<"u",J=Lt&&k(document.documentElement,"dir")==="rtl",Wt=Lt&&"ontouchstart"in window,ie=Lt&&window.PointerEvent,ct=ie?"pointerdown":Wt?"touchstart":"mousedown",se=ie?"pointermove":Wt?"touchmove":"mousemove",gt=ie?"pointerup":Wt?"touchend":"mouseup",jt=ie?"pointerenter":Wt?"":"mouseenter",ne=ie?"pointerleave":Wt?"":"mouseleave",re=ie?"pointercancel":"touchcancel",B={reads:[],writes:[],read(t){return this.reads.push(t),Wi(),t},write(t){return this.writes.push(t),Wi(),t},clear(t){Cs(this.reads,t),Cs(this.writes,t)},flush:Li};function Li(t){Ts(B.reads),Ts(B.writes.splice(0)),B.scheduled=!1,(B.reads.length||B.writes.length)&&Wi(t+1)}const Ir=4;function Wi(t){B.scheduled||(B.scheduled=!0,t&&t<Ir?Promise.resolve().then(()=>Li(t)):requestAnimationFrame(()=>Li(1)))}function Ts(t){let e;for(;e=t.shift();)try{e()}catch(i){console.error(i)}}function Cs(t,e){const i=t.indexOf(e);return~i&&t.splice(i,1)}function ji(){}ji.prototype={positions:[],init(){this.positions=[];let t;this.unbind=T(document,"mousemove",e=>t=te(e)),this.interval=setInterval(()=>{!t||(this.positions.push(t),this.positions.length>5&&this.positions.shift())},50)},cancel(){var t;(t=this.unbind)==null||t.call(this),this.interval&&clearInterval(this.interval)},movesTo(t){if(this.positions.length<2)return!1;const e=t.getBoundingClientRect(),{left:i,right:s,top:n,bottom:r}=e,[o]=this.positions,a=ve(this.positions),l=[o,a];return je(a,e)?!1:[[{x:i,y:n},{x:s,y:r}],[{x:i,y:r},{x:s,y:n}]].some(u=>{const d=Ar(l,u);return d&&je(d,e)})}};function Ar(t,e){let[{x:i,y:s},{x:n,y:r}]=t,[{x:o,y:a},{x:l,y:h}]=e;const u=(h-a)*(n-i)-(l-o)*(r-s);if(u===0)return!1;const d=((l-o)*(s-a)-(h-a)*(i-o))/u;return d<0?!1:{x:i+d*(n-i),y:s+d*(r-s)}}function oe(t,e,i,s){s===void 0&&(s=!0);const n=new IntersectionObserver(s?(r,o)=>{r.some(a=>a.isIntersecting)&&e(r,o)}:e,i);for(const r of b(t))n.observe(r);return n}const Pr=Lt&&window.ResizeObserver;function Ri(t,e,i){return i===void 0&&(i={box:"border-box"}),Pr?As(ResizeObserver,t,e,i):(Er(),Pe.add(e),{disconnect(){Pe.delete(e)}})}let Pe;function Er(){if(Pe)return;Pe=new Set;let t;const e=()=>{if(!t){t=!0,B.read(()=>t=!1);for(const i of Pe)i()}};T(window,"load resize",e),T(document,"loadedmetadata load",e,!0)}function Is(t,e,i){return As(MutationObserver,t,e,i)}function As(t,e,i,s){const n=new t(i);for(const r of b(e))n.observe(r,s);return n}const Q={};Q.events=Q.created=Q.beforeConnect=Q.connected=Q.beforeDisconnect=Q.disconnected=Q.destroy=qi,Q.args=function(t,e){return e!==!1&&qi(e||t)},Q.update=function(t,e){return We(qi(t,dt(e)?{read:e}:e),"order")},Q.props=function(t,e){if(st(e)){const i={};for(const s of e)i[s]=String;e=i}return Q.methods(t,e)},Q.computed=Q.methods=function(t,e){return e?t?{...t,...e}:e:t},Q.data=function(t,e,i){return i?Ps(t,e,i):e?t?function(s){return Ps(t,e,s)}:e:t};function Ps(t,e,i){return Q.computed(dt(t)?t.call(i,i):t,dt(e)?e.call(i,i):e)}function qi(t,e){return t=t&&!st(t)?[t]:t,e?t?t.concat(e):st(e)?e:[e]:t}function _r(t,e){return Y(e)?t:e}function ae(t,e,i){const s={};if(dt(e)&&(e=e.options),e.extends&&(t=ae(t,e.extends,i)),e.mixins)for(const r of e.mixins)t=ae(t,r,i);for(const r in t)n(r);for(const r in e)Nt(t,r)||n(r);function n(r){s[r]=(Q[r]||_r)(t[r],e[r],i)}return s}function Ee(t,e){e===void 0&&(e=[]);try{return t?lt(t,"{")?JSON.parse(t):e.length&&!g(t,":")?{[e[0]]:t}:t.split(";").reduce((i,s)=>{const[n,r]=s.split(/:(.*)/);return n&&!Y(r)&&(i[n.trim()]=r.trim()),i},{}):{}}catch{return{}}}function Es(t){if(Ue(t)&&Vi(t,{func:"playVideo",method:"play"}),Qe(t))try{t.play().catch(E)}catch{}}function _s(t){Ue(t)&&Vi(t,{func:"pauseVideo",method:"pause"}),Qe(t)&&t.pause()}function Os(t){Ue(t)&&Vi(t,{func:"mute",method:"setVolume",value:0}),Qe(t)&&(t.muted=!0)}function Ns(t){return Qe(t)||Ue(t)}function Qe(t){return pt(t,"video")}function Ue(t){return pt(t,"iframe")&&(Ms(t)||Ds(t))}function Ms(t){return!!t.src.match(/\/\/.*?youtube(-nocookie)?\.[a-z]+\/(watch\?v=[^&\s]+|embed)|youtu\.be\/.*/)}function Ds(t){return!!t.src.match(/vimeo\.com\/video\/.*/)}async function Vi(t,e){await Nr(t),Bs(t,e)}function Bs(t,e){try{t.contentWindow.postMessage(JSON.stringify({event:"command",...e}),"*")}catch{}}const Yi="_ukPlayer";let Or=0;function Nr(t){if(t[Yi])return t[Yi];const e=Ms(t),i=Ds(t),s=++Or;let n;return t[Yi]=new Promise(r=>{e&&j(t,"load",()=>{const o=()=>Bs(t,{event:"listening",id:s});n=setInterval(o,100),o()}),j(window,"message",r,!1,o=>{let{data:a}=o;try{return a=JSON.parse(a),a&&(e&&a.id===s&&a.event==="onReady"||i&&Number(a.player_id)===s)}catch{}}),t.src=""+t.src+(g(t.src,"?")?"&":"?")+(e?"enablejsapi=1":"api=1&player_id="+s)}).then(()=>clearInterval(n))}function ti(t,e,i){return e===void 0&&(e=0),i===void 0&&(i=0),q(t)?Si(...Tt(t).map(s=>{const{top:n,left:r,bottom:o,right:a}=ut(s);return{top:n-e,left:r-i,bottom:o+e,right:a+i}}).concat(C(t))):!1}function Rt(t,e){if(Dt(t)||pe(t)?t=_e(t):t=V(t),Y(e))return t.scrollTop;t.scrollTop=e}function Gi(t,e){let{offset:i=0}=e===void 0?{}:e;const s=q(t)?Tt(t):[];return s.reduce((a,l,h)=>{const{scrollTop:u,scrollHeight:d,offsetHeight:f}=l,v=ut(l),P=d-v.height,{height:x,top:K}=s[h-1]?ut(s[h-1]):C(t);let M=Math.ceil(K-v.top-i+u);return i>0&&f<x+i?M+=i:i=0,M>P?(i-=M-P,M=P):M<0&&(i-=M,M=0),()=>n(l,M-u).then(a)},()=>Promise.resolve())();function n(a,l){return new Promise(h=>{const u=a.scrollTop,d=r(Math.abs(l)),f=Date.now();(function v(){const P=o(U((Date.now()-f)/d));Rt(a,u+l*P),P===1?h():requestAnimationFrame(v)})()})}function r(a){return 40*Math.pow(a,.375)}function o(a){return .5*(1-Math.cos(Math.PI*a))}}function Xi(t,e,i){if(e===void 0&&(e=0),i===void 0&&(i=0),!q(t))return 0;const[s]=Tt(t,/auto|scroll/,!0),{scrollHeight:n,scrollTop:r}=s,{height:o}=ut(s),a=n-o,l=Ce(t)[0]-Ce(s)[0],h=Math.max(0,l-o+e),u=Math.min(a,l+t.offsetHeight-i);return U((r-h)/(u-h))}function Tt(t,e,i){e===void 0&&(e=/auto|scroll|hidden/),i===void 0&&(i=!1);const s=_e(t);let n=$e(t).reverse();n=n.slice(n.indexOf(s)+1);const r=bt(n,o=>c(o,"position")==="fixed");return~r&&(n=n.slice(r)),[s].concat(n.filter(o=>e.test(c(o,"overflow"))&&(!i||o.scrollHeight>ut(o).height))).reverse()}function ut(t){let e=zs(t);e===_e(e)&&(e=document.documentElement);let i=C(e);for(let[s,n,r,o]of[["width","x","left","right"],["height","y","top","bottom"]])Dt(zs(e))||(i[r]+=y(c(e,"border"+wt(r)+"Width"))),i[s]=i[n]=(Dt(e)?_e(e):e)["client"+wt(s)],i[o]=i[s]+i[r];return i}function _e(t){const{document:{scrollingElement:e}}=Kt(t);return e}function zs(t){return t===_e(t)?window:t}const Ct=[["width","x","left","right"],["height","y","top","bottom"]];function Hs(t,e,i){i={attach:{element:["left","top"],target:["left","top"],...i.attach},offset:[0,0],...i};const s=i.flip?Ls(t,e,i):Fs(t,e,i);C(t,s)}function Fs(t,e,i){let{attach:s,offset:n}={attach:{element:["left","top"],target:["left","top"],...i.attach},offset:[0,0],...i};const r=C(t),o=C(e);for(const[a,[l,h,u,d]]of Object.entries(Ct))r[u]=r[h]=o[u]+Ws(s.target[a],d,o[l])-Ws(s.element[a],d,r[l])+ +n[a],r[d]=r[u]+r[l];return r}function Ls(t,e,i){const s=Fs(t,e,i),n=C(e);let{flip:r,attach:{element:o,target:a},offset:l,boundary:h,viewport:u,viewportPadding:d}=i,f=Tt(t);h===e&&(f=f.filter(x=>x!==h));const[v]=f;f.push(u);const P={...s};for(const[x,[K,M,z,at]]of Object.entries(Ct)){if(r!==!0&&!g(r,M))continue;const Kn=!Rs(s,n,x)&&Rs(s,n,1-x);u=js(...f.filter(Boolean).map(ut)),d&&(u[z]+=d,u[at]-=d),h&&!Kn&&s[K]<=C(h)[K]&&(u=js(u,C(h)));const Zn=s[z]>=u[z],Qn=s[at]<=u[at];if(Zn&&Qn)continue;let ue;if(Kn){if(o[x]===at&&Zn||o[x]===z&&Qn)continue;if(ue=(o[x]===z?-s[K]:o[x]===at?s[K]:0)+(a[x]===z?n[K]:a[x]===at?-n[K]:0)-l[x]*2,!Ji({...s,[z]:s[z]+ue,[at]:s[at]+ue},v,x)){if(Ji(s,v,x))continue;if(i.recursion)return!1;const ls=Ls(t,e,{...i,attach:{element:o.map(qs).reverse(),target:a.map(qs).reverse()},offset:l.reverse(),flip:r===!0?r:[...r,Ct[1-x][1]],recursion:!0});if(ls&&Ji(ls,v,1-x))return ls}}else ue=U(U(s[z],u[z],u[at]-s[K]),n[z]-s[K]+l[x],n[at]-l[x])-s[z];P[z]=s[M]=s[z]+ue,P[at]+=ue}return P}function Ws(t,e,i){return t==="center"?i/2:t===e?i:0}function js(){let t={};for(var e=arguments.length,i=new Array(e),s=0;s<e;s++)i[s]=arguments[s];for(const n of i)for(const[,,r,o]of Ct)t[r]=Math.max(t[r]||0,n[r]),t[o]=Math.min(...[t[o],n[o]].filter(Boolean));return t}function Ji(t,e,i){const s=ut(e),[n,,r,o]=Ct[i];return s[r]-=e["scroll"+wt(r)],s[o]=s[r]+e["scroll"+wt(n)],t[r]>=s[r]&&t[o]<=s[o]}function Rs(t,e,i){const[,,s,n]=Ct[i];return t[n]>e[s]&&e[n]>t[s]}function qs(t){for(let e=0;e<Ct.length;e++){const i=Ct[e].indexOf(t);if(~i)return Ct[1-e][i%2+2]}}var Mr=Object.freeze({__proto__:null,ajax:ms,getImage:vs,transition:xs,Transition:I,animate:Bi,Animation:ft,attr:k,hasAttr:Bt,removeAttr:be,data:rt,addClass:w,removeClass:_,removeClasses:Ni,replaceClass:Mi,hasClass:S,toggleClass:R,dimensions:$,offset:C,position:Ge,offsetPosition:Ce,height:L,width:Ie,boxModelAdjust:ee,flipPosition:Xe,toPx:Z,ready:zi,isTag:pt,empty:kr,html:Ot,replaceChildren:Hi,prepend:Sr,append:G,before:Fi,after:Je,remove:ht,wrapAll:Ke,wrapInner:$s,unwrap:Ze,fragment:Ft,apply:St,$:m,$$:N,inBrowser:Lt,isRtl:J,hasTouch:Wt,pointerDown:ct,pointerMove:se,pointerUp:gt,pointerEnter:jt,pointerLeave:ne,pointerCancel:re,on:T,off:Ut,once:j,trigger:p,createEvent:zt,toEventTargets:_i,isTouch:kt,getEventPos:te,fastdom:B,isVoidElement:Ci,isVisible:q,selInput:xe,isInput:Ii,selFocusable:qe,isFocusable:Ve,parent:A,filter:ye,matches:H,closest:ot,within:F,parents:$e,children:D,index:Qt,hasOwn:Nt,hyphenate:Mt,camelize:Yt,ucfirst:wt,startsWith:lt,endsWith:Gt,includes:g,findIndex:bt,isArray:st,toArray:bi,assign:xt,isFunction:dt,isObject:At,isPlainObject:Pt,isWindow:Dt,isDocument:pe,isNode:xi,isElement:Xt,isBoolean:Le,isString:O,isNumber:Jt,isNumeric:Et,isEmpty:ge,isUndefined:Y,toBoolean:$i,toNumber:_t,toFloat:y,toNode:V,toNodes:b,toWindow:Kt,isEqual:me,swap:ki,last:ve,each:yt,sortBy:We,uniqueBy:cs,clamp:U,noop:E,intersectRect:Si,pointInRect:je,Dimensions:we,getIndex:Zt,memoize:nt,Deferred:Re,MouseTracker:ji,observeIntersection:oe,observeResize:Ri,observeMutation:Is,mergeOptions:ae,parseOptions:Ee,play:Es,pause:_s,mute:Os,isVideo:Ns,positionAt:Hs,query:$t,queryAll:ke,find:Ai,findAll:Se,escape:Pi,css:c,getCssVar:Ye,propName:Oi,isInView:ti,scrollTop:Rt,scrollIntoView:Gi,scrolledOver:Xi,scrollParents:Tt,offsetViewport:ut});function Dr(t){const e=t.data;t.use=function(n){if(!n.installed)return n.call(null,this),n.installed=!0,this},t.mixin=function(n,r){r=(O(r)?t.component(r):r)||this,r.options=ae(r.options,n)},t.extend=function(n){n=n||{};const r=this,o=function(l){this._init(l)};return o.prototype=Object.create(r.prototype),o.prototype.constructor=o,o.options=ae(r.options,n),o.super=r,o.extend=r.extend,o},t.update=function(n,r){n=n?V(n):document.body;for(const o of $e(n).reverse())s(o[e],r);St(n,o=>s(o[e],r))};let i;Object.defineProperty(t,"container",{get(){return i||document.body},set(n){i=m(n)}});function s(n,r){if(!!n)for(const o in n)n[o]._connected&&n[o]._callUpdate(r)}}function Br(t){t.prototype._callHook=function(s){var n;(n=this.$options[s])==null||n.forEach(r=>r.call(this))},t.prototype._callConnected=function(){this._connected||(this._data={},this._computed={},this._initProps(),this._callHook("beforeConnect"),this._connected=!0,this._initEvents(),this._initObservers(),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(s){s===void 0&&(s="update"),this._connected&&((s==="update"||s==="resize")&&this._callWatches(),this.$options.update&&(this._updates||(this._updates=new Set,B.read(()=>{this._connected&&e.call(this,this._updates),delete this._updates})),this._updates.add(s.type||s)))},t.prototype._callWatches=function(){if(this._watch)return;const s=!Nt(this,"_watch");this._watch=B.read(()=>{this._connected&&i.call(this,s),this._watch=null})};function e(s){for(const{read:n,write:r,events:o=[]}of this.$options.update){if(!s.has("update")&&!o.some(l=>s.has(l)))continue;let a;n&&(a=n.call(this,this._data,s),a&&Pt(a)&&xt(this._data,a)),r&&a!==!1&&B.write(()=>r.call(this,this._data,s))}}function i(s){const{$options:{computed:n}}=this,r={...this._computed};this._computed={};for(const o in n){const{watch:a,immediate:l}=n[o];a&&(s&&l||Nt(r,o)&&!me(r[o],this[o]))&&a.call(this,this[o],r[o])}}}function zr(t){let e=0;t.prototype._init=function(i){i=i||{},i.data=Wr(i,this.constructor.options),this.$options=ae(this.constructor.options,i,this),this.$el=null,this.$props={},this._uid=e++,this._initData(),this._initMethods(),this._initComputeds(),this._callHook("created"),i.el&&this.$mount(i.el)},t.prototype._initData=function(){const{data:i={}}=this.$options;for(const s in i)this.$props[s]=this[s]=i[s]},t.prototype._initMethods=function(){const{methods:i}=this.$options;if(i)for(const s in i)this[s]=i[s].bind(this)},t.prototype._initComputeds=function(){const{computed:i}=this.$options;if(this._computed={},i)for(const s in i)Hr(this,s,i[s])},t.prototype._initProps=function(i){let s;i=i||Vs(this.$options,this.$name);for(s in i)Y(i[s])||(this.$props[s]=i[s]);const n=[this.$options.computed,this.$options.methods];for(s in this.$props)s in i&&Fr(n,s)&&(this[s]=this.$props[s])},t.prototype._initEvents=function(){this._events=[];for(const i of this.$options.events||[])if(Nt(i,"handler"))ei(this,i);else for(const s in i)ei(this,i[s],s)},t.prototype._unbindEvents=function(){this._events.forEach(i=>i()),delete this._events},t.prototype._initObservers=function(){this._observers=[Rr(this)],this.$options.computed&&this.registerObserver(jr(this))},t.prototype.registerObserver=function(i){this._observers.push(i)},t.prototype._disconnectObservers=function(){this._observers.forEach(i=>i?.disconnect())}}function Vs(t,e){const i={},{args:s=[],props:n={},el:r}=t;if(!n)return i;for(const a in n){const l=Mt(a);let h=rt(r,l);Y(h)||(h=n[a]===Boolean&&h===""?!0:Ki(n[a],h),!(l==="target"&&(!h||lt(h,"_")))&&(i[a]=h))}const o=Ee(rt(r,e),s);for(const a in o){const l=Yt(a);n[l]!==void 0&&(i[l]=Ki(n[l],o[a]))}return i}function Hr(t,e,i){Object.defineProperty(t,e,{enumerable:!0,get(){const{_computed:s,$props:n,$el:r}=t;return Nt(s,e)||(s[e]=(i.get||i).call(t,n,r)),s[e]},set(s){const{_computed:n}=t;n[e]=i.set?i.set.call(t,s):s,Y(n[e])&&delete n[e]}})}function ei(t,e,i){Pt(e)||(e={name:i,handler:e});let{name:s,el:n,handler:r,capture:o,passive:a,delegate:l,filter:h,self:u}=e;if(n=dt(n)?n.call(t):n||t.$el,st(n)){n.forEach(d=>ei(t,{...e,el:d},i));return}!n||h&&!h.call(t)||t._events.push(T(n,s,l?O(l)?l:l.call(t):null,O(r)?t[r]:r.bind(t),{passive:a,capture:o,self:u}))}function Fr(t,e){return t.every(i=>!i||!Nt(i,e))}function Ki(t,e){return t===Boolean?$i(e):t===Number?_t(e):t==="list"?Lr(e):t?t(e):e}function Lr(t){return st(t)?t:O(t)?t.split(/,(?![^(]*\))/).map(e=>Et(e)?_t(e):$i(e.trim())):[t]}function Wr(t,e){let{data:i={}}=t,{args:s=[],props:n={}}=e;st(i)&&(i=i.slice(0,s.length).reduce((r,o,a)=>(Pt(o)?xt(r,o):r[s[a]]=o,r),{}));for(const r in i)Y(i[r])?delete i[r]:n[r]&&(i[r]=Ki(n[r],i[r]));return i}function jr(t){const{el:e}=t.$options,i=new MutationObserver(()=>t.$emit());return i.observe(e,{childList:!0,subtree:!0}),i}function Rr(t){const{$name:e,$options:i,$props:s}=t,{attrs:n,props:r,el:o}=i;if(!r||n===!1)return;const a=st(n)?n:Object.keys(r),l=a.map(u=>Mt(u)).concat(e),h=new MutationObserver(u=>{const d=Vs(i,e);u.some(f=>{let{attributeName:v}=f;const P=v.replace("data-","");return(P===e?a:[Yt(P),Yt(v)]).some(x=>!Y(d[x])&&d[x]!==s[x])})&&t.$reset()});return h.observe(o,{attributes:!0,attributeFilter:l.concat(l.map(u=>"data-"+u))}),h}function qr(t){const e=t.data;t.prototype.$create=function(s,n,r){return t[s](n,r)},t.prototype.$mount=function(s){const{name:n}=this.$options;s[e]||(s[e]={}),!s[e][n]&&(s[e][n]=this,this.$el=this.$options.el=this.$options.el||s,F(s,document)&&this._callConnected())},t.prototype.$reset=function(){this._callDisconnected(),this._callConnected()},t.prototype.$destroy=function(s){s===void 0&&(s=!1);const{el:n,name:r}=this.$options;n&&this._callDisconnected(),this._callHook("destroy"),n!=null&&n[e]&&(delete n[e][r],ge(n[e])||delete n[e],s&&ht(this.$el))},t.prototype.$emit=function(s){this._callUpdate(s)},t.prototype.$update=function(s,n){s===void 0&&(s=this.$el),t.update(s,n)},t.prototype.$getComponent=t.getComponent;const i=nt(s=>t.prefix+Mt(s));Object.defineProperties(t.prototype,{$container:Object.getOwnPropertyDescriptor(t,"container"),$name:{get(){return i(this.$options.name)}}})}function Vr(t){const e=t.data,i={};t.component=function(s,n){const r=Mt(s);if(s=Yt(r),!n)return Pt(i[s])&&(i[s]=t.extend(i[s])),i[s];t[s]=function(a,l){const h=t.component(s);return h.options.functional?new h({data:Pt(a)?a:[...arguments]}):a?N(a).map(u)[0]:u();function u(d){const f=t.getComponent(d,s);if(f)if(l)f.$destroy();else return f;return new h({el:d,data:l})}};const o=Pt(n)?{...n}:n.options;return o.name=s,o.install==null||o.install(t,o,s),t._initialized&&!o.functional&&B.read(()=>t[s]("[uk-"+r+"],[data-uk-"+r+"]")),i[s]=Pt(n)?o:n},t.getComponents=s=>s?.[e]||{},t.getComponent=(s,n)=>t.getComponents(s)[n],t.connect=s=>{if(s[e])for(const n in s[e])s[e][n]._callConnected();for(const n of s.attributes){const r=Ys(n.name);r&&r in i&&t[r](s)}},t.disconnect=s=>{for(const n in s[e])s[e][n]._callDisconnected()}}const Ys=nt(t=>lt(t,"uk-")||lt(t,"data-uk-")?Yt(t.replace("data-uk-","").replace("uk-","")):!1),et=function(t){this._init(t)};et.util=Mr,et.data="__uikit__",et.prefix="uk-",et.options={},et.version="3.14.1",Dr(et),Br(et),zr(et),Vr(et),qr(et);function Yr(t){const{connect:e,disconnect:i}=t;if(!Lt||!window.MutationObserver)return;B.read(function(){document.body&&St(document.body,e),new MutationObserver(r=>r.forEach(s)).observe(document,{childList:!0,subtree:!0}),new MutationObserver(r=>r.forEach(n)).observe(document,{attributes:!0,subtree:!0}),t._initialized=!0});function s(r){let{addedNodes:o,removedNodes:a}=r;for(const l of o)St(l,e);for(const l of a)St(l,i)}function n(r){var o;let{target:a,attributeName:l}=r;const h=Ys(l);if(!(!h||!(h in t))){if(Bt(a,l)){t[h](a);return}(o=t.getComponent(a,h))==null||o.$destroy()}}}var tt={connected(){!S(this.$el,this.$name)&&w(this.$el,this.$name)}},Oe={methods:{lazyload(t,e){t===void 0&&(t=this.$el),e===void 0&&(e=this.$el),this.registerObserver(oe(t,(i,s)=>{for(const n of b(dt(e)?e():e))N('[loading="lazy"]',n).forEach(r=>be(r,"loading"));for(const n of i.filter(r=>{let{isIntersecting:o}=r;return o}).map(r=>{let{target:o}=r;return o}))s.unobserve(n)}))}}},It={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",initProps:{overflow:"",height:"",paddingTop:"",paddingBottom:"",marginTop:"",marginBottom:"",boxShadow:""},hideProps:{overflow:"hidden",height:0,paddingTop:0,paddingBottom:0,marginTop:0,marginBottom:0,boxShadow:"none"}},computed:{hasAnimation(t){let{animation:e}=t;return!!e[0]},hasTransition(t){let{animation:e}=t;return this.hasAnimation&&e[0]===!0}},methods:{toggleElement(t,e,i){return new Promise(s=>Promise.all(b(t).map(n=>{const r=Le(e)?e:!this.isToggled(n);if(!p(n,"before"+(r?"show":"hide"),[this]))return Promise.reject();const o=(dt(i)?i:i===!1||!this.hasAnimation?this._toggle:this.hasTransition?Gs(this):Gr(this))(n,r),a=r?this.clsEnter:this.clsLeave;w(n,a),p(n,r?"show":"hide",[this]);const l=()=>{_(n,a),p(n,r?"shown":"hidden",[this]),this.$update(n)};return o?o.then(l,()=>(_(n,a),Promise.reject())):l()})).then(s,E))},isToggled(t){return t===void 0&&(t=this.$el),[t]=b(t),S(t,this.clsEnter)?!0:S(t,this.clsLeave)?!1:this.cls?S(t,this.cls.split(" ")[0]):q(t)},_toggle(t,e){if(!t)return;e=Boolean(e);let i;this.cls?(i=g(this.cls," ")||e!==S(t,this.cls),i&&R(t,this.cls,g(this.cls," ")?void 0:e)):(i=e===t.hidden,i&&(t.hidden=!e)),N("[autofocus]",t).some(s=>q(s)?s.focus()||!0:s.blur()),i&&(p(t,"toggled",[e,this]),this.$update(t))}}};function Gs(t){let{isToggled:e,duration:i,velocity:s,initProps:n,hideProps:r,transition:o,_toggle:a}=t;return(l,h)=>{const u=I.inProgress(l),d=l.hasChildNodes()?y(c(l.firstElementChild,"marginTop"))+y(c(l.lastElementChild,"marginBottom")):0,f=q(l)?L(l)+(u?0:d):0;I.cancel(l),e(l)||a(l,!0),L(l,""),B.flush();const v=L(l)+(u?0:d);return i=s*l.offsetHeight+i,L(l,f),(h?I.start(l,{...n,overflow:"hidden",height:v},Math.round(i*(1-f/v)),o):I.start(l,r,Math.round(i*(f/v)),o).then(()=>a(l,!1))).then(()=>c(l,n))}}function Gr(t){return(e,i)=>{ft.cancel(e);const{animation:s,duration:n,_toggle:r}=t;return i?(r(e,!0),ft.in(e,s[0],n,t.origin)):ft.out(e,s[1]||s[0],n,t.origin).then(()=>r(e,!1))}}var Xs={mixins:[tt,Oe,It],props:{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 N(i,e)},watch(t,e){if(e||S(t,this.clsOpen))return;const i=this.active!==!1&&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(i=>m(e,i))},contents:{get(t){let{content:e}=t;return this.items.map(i=>m(e,i))},watch(t){for(const e of t)ii(e,!S(this.items.find(i=>i.contains(e)),this.clsOpen))},immediate:!0}},connected(){this.lazyload()},events:[{name:"click",delegate(){return this.targets+" "+this.$props.toggle},handler(t){t.preventDefault(),this.toggle(Qt(this.toggles,t.current))}}],methods:{toggle(t,e){let i=[this.items[Zt(t,this.items)]];const s=ye(this.items,"."+this.clsOpen);if(!this.multiple&&!g(s,i[0])&&(i=i.concat(s)),!(!this.collapsible&&s.length<2&&!ye(i,":not(."+this.clsOpen+")").length))for(const n of i)this.toggleElement(n,!S(n,this.clsOpen),async(r,o)=>{R(r,this.clsOpen,o),k(m(this.$props.toggle,r),"aria-expanded",o);const a=m((r._wrapper?"> * ":"")+this.content,r);if(e===!1||!this.hasTransition){ii(a,!o);return}if(r._wrapper||(r._wrapper=Ke(a,"<div"+(o?" hidden":"")+">")),ii(a,!1),await Gs(this)(r._wrapper,o),ii(a,!o),delete r._wrapper,Ze(a),o){const l=m(this.$props.toggle,r);B.read(()=>{ti(l)||Gi(l,{offset:this.offset})})}})}}};function ii(t,e){t&&(t.hidden=e)}var Xr={mixins:[tt,It],args:"animation",props:{close:String},data:{animation:[!0],selClose:".uk-alert-close",duration:150,hideProps:{opacity:0,...It.data.hideProps}},events:[{name:"click",delegate(){return this.selClose},handler(t){t.preventDefault(),this.close()}}],methods:{async close(){await this.toggleElement(this.$el),this.$destroy(!0)}}},Js={args:"autoplay",props:{automute:Boolean,autoplay:Boolean},data:{automute:!1,autoplay:!0},connected(){this.inView=this.autoplay==="inview",this.inView&&!Bt(this.$el,"preload")&&(this.$el.preload="none"),this.automute&&Os(this.$el),this.registerObserver(oe(this.$el,()=>this.$emit(),{},!1))},update:{read(){return Ns(this.$el)?{visible:q(this.$el)&&c(this.$el,"visibility")!=="hidden",inView:this.inView&&ti(this.$el)}:!1},write(t){let{visible:e,inView:i}=t;!e||this.inView&&!i?_s(this.$el):(this.autoplay===!0||this.inView&&i)&&Es(this.$el)}}},mt={connected(){var t;this.registerObserver(Ri(((t=this.$options.resizeTargets)==null?void 0:t.call(this))||this.$el,()=>this.$emit("resize")))}},Jr={mixins:[mt,Js],props:{width:Number,height:Number},data:{automute:!0},events:{"load loadedmetadata"(){this.$emit("resize")}},resizeTargets(){return[this.$el,A(this.$el)]},update:{read(){const{ratio:t,cover:e}=we,{$el:i,width:s,height:n}=this;let r={width:s,height:n};if(!r.width||!r.height){const h={width:i.naturalWidth||i.videoWidth||i.clientWidth,height:i.naturalHeight||i.videoHeight||i.clientHeight};r.width?r=t(h,"width",r.width):n?r=t(h,"height",r.height):r=h}const{offsetHeight:o,offsetWidth:a}=Kr(i)||A(i),l=e(r,{width:a+(a%2?1:0),height:o+(o%2?1:0)});return!l.width||!l.height?!1:l},write(t){let{height:e,width:i}=t;c(this.$el,{height:e,width:i})},events:["resize"]}};function Kr(t){for(;t=A(t);)if(c(t,"position")!=="static")return t}var le={props:{container:Boolean},data:{container:!0},computed:{container(t){let{container:e}=t;return e===!0&&this.$container||e&&m(e)}}},Ks={props:{pos:String,offset:null,flip:Boolean},data:{pos:"bottom-"+(J?"right":"left"),flip:!0,offset:!1,viewportPadding:10},connected(){this.pos=this.$props.pos.split("-").concat("center").slice(0,2),this.axis=g(["top","bottom"],this.pos[0])?"y":"x"},methods:{positionAt(t,e,i){const[s,n]=this.pos;let{offset:r}=this;if(!Et(r)){const a=m(r);r=a?C(a)[this.axis==="x"?"left":"top"]-C(e)[this.axis==="x"?"right":"bottom"]:0}r=Z(r)+Z(Ye("position-offset",t)),r=[g(["left","top"],s)?-r:+r,0];const o={element:[Xe(s),n],target:[s,n]};if(this.axis==="y"){for(const a in o)o[a]=o[a].reverse();r=r.reverse()}Hs(t,e,{attach:o,offset:r,boundary:i,viewportPadding:this.boundaryAlign?0:this.viewportPadding,flip:this.flip})}}};let X;var Zs={mixins:[le,Oe,Ks,It],args:"pos",props:{mode:"list",toggle:Boolean,boundary:Boolean,boundaryAlign:Boolean,delayShow:Number,delayHide:Number,display:String,clsDrop:String},data:{mode:["click","hover"],toggle:"- *",boundary:!0,boundaryAlign:!1,delayShow:0,delayHide:800,display:null,clsDrop:!1,animation:["uk-animation-fade"],cls:"uk-open",container:!1},created(){this.tracker=new ji},beforeConnect(){this.clsDrop=this.$props.clsDrop||"uk-"+this.$options.name},connected(){w(this.$el,this.clsDrop),this.toggle&&!this.target&&(this.target=this.$create("toggle",$t(this.toggle,this.$el),{target:this.$el,mode:this.mode}).$el,k(this.target,"aria-haspopup",!0),this.lazyload(this.target))},disconnected(){this.isActive()&&(X=null)},events:[{name:"click",delegate(){return"."+this.clsDrop+"-close"},handler(t){t.preventDefault(),this.hide(!1)}},{name:"click",delegate(){return'a[href^="#"]'},handler(t){let{defaultPrevented:e,current:{hash:i}}=t;!e&&i&&!F(i,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(e?.$el,!1)}},{name:"toggleshow",self:!0,handler(t,e){t.preventDefault(),this.show(e?.$el)}},{name:"togglehide",self:!0,handler(t){t.preventDefault(),H(this.$el,":focus,:hover")||this.hide()}},{name:jt+" focusin",filter(){return g(this.mode,"hover")},handler(t){kt(t)||this.clearTimers()}},{name:ne+" focusout",filter(){return g(this.mode,"hover")},handler(t){!kt(t)&&t.relatedTarget&&this.hide()}},{name:"toggled",self:!0,handler(t,e){!e||(this.clearTimers(),this.position())}},{name:"show",self:!0,handler(){X=this,this.tracker.init();for(const t of[T(document,ct,e=>{let{target:i}=e;return!F(i,this.$el)&&j(document,gt+" "+re+" scroll",s=>{let{defaultPrevented:n,type:r,target:o}=s;!n&&r===gt&&i===o&&!(this.target&&F(i,this.target))&&this.hide(!1)},!0)}),T(document,"keydown",e=>{e.keyCode===27&&this.hide(!1)}),...this.display==="static"?[]:(()=>{const e=()=>this.$emit();return[T(window,"resize",e),T(document,"scroll",e,!0),(()=>{const i=Ri(Tt(this.$el),e);return()=>i.disconnect()})()]})()])j(this.$el,"hide",t,{self:!0})}},{name:"beforehide",self:!0,handler(){this.clearTimers()}},{name:"hide",handler(t){let{target:e}=t;if(this.$el!==e){X=X===null&&F(e,this.$el)&&this.isToggled()?this:X;return}X=this.isActive()?null:X,this.tracker.cancel()}}],update:{write(){this.isToggled()&&!S(this.$el,this.clsEnter)&&this.position()}},methods:{show(t,e){if(t===void 0&&(t=this.target),e===void 0&&(e=!0),this.isToggled()&&t&&this.target&&t!==this.target&&this.hide(!1),this.target=t,this.clearTimers(),!this.isActive()){if(X){if(e&&X.isDelaying){this.showTimer=setTimeout(()=>H(t,":hover")&&this.show(),10);return}let i;for(;X&&i!==X&&!F(this.$el,X.$el);)i=X,X.hide(!1)}this.container&&A(this.$el)!==this.container&&G(this.container,this.$el),this.showTimer=setTimeout(()=>this.toggleElement(this.$el,!0),e&&this.delayShow||0)}},hide(t){t===void 0&&(t=!0);const e=()=>this.toggleElement(this.$el,!1,!1);this.clearTimers(),this.isDelaying=Zr(this.$el).some(i=>this.tracker.movesTo(i)),t&&this.isDelaying?this.hideTimer=setTimeout(this.hide,50):t&&this.delayHide?this.hideTimer=setTimeout(e,this.delayHide):e()},clearTimers(){clearTimeout(this.showTimer),clearTimeout(this.hideTimer),this.showTimer=null,this.hideTimer=null,this.isDelaying=!1},isActive(){return X===this},position(){_(this.$el,this.clsDrop+"-stack"),R(this.$el,this.clsDrop+"-boundary",this.boundaryAlign);const t=$t(this.boundary,this.$el),[e]=Tt(this.$el),i=ut(e),s=t?C(t):i;c(this.$el,"maxWidth","");const n=i.width-(this.boundaryAlign?0:2*this.viewportPadding);if(this.pos[1]==="justify"){const r=this.axis==="y"?"width":"height",o=C(this.target),a=this.boundaryAlign?s:o;c(this.$el,r,a[r])}else this.$el.offsetWidth>n&&w(this.$el,this.clsDrop+"-stack");c(this.$el,"maxWidth",n),this.positionAt(this.$el,t&&this.boundaryAlign?t:this.target,t)}}};function Zr(t){const e=[];return St(t,i=>c(i,"position")!=="static"&&e.push(i)),e}var Qr={mixins:[tt],args:"target",props:{target:Boolean},data:{target:!1},computed:{input(t,e){return m(xe,e)},state(){return this.input.nextElementSibling},target(t,e){let{target:i}=t;return i&&(i===!0&&A(this.input)===e&&this.input.nextElementSibling||m(i,e))}},update(){var t;const{target:e,input:i}=this;if(!e)return;let s;const n=Ii(e)?"value":"textContent",r=e[n],o=(t=i.files)!=null&&t[0]?i.files[0].name:H(i,"select")&&(s=N("option",i).filter(a=>a.selected)[0])?s.textContent:i.value;r!==o&&(e[n]=o)},events:[{name:"change",handler(){this.$emit()}},{name:"reset",el(){return ot(this.$el,"form")},handler(){this.$emit()}}]},Qs={mixins:[mt],props:{margin:String,firstColumn:Boolean},data:{margin:"uk-margin-small-top",firstColumn:"uk-first-column"},resizeTargets(){return[this.$el,...bi(this.$el.children)]},connected(){this.registerObserver(Is(this.$el,()=>this.$reset(),{childList:!0}))},update:{read(){const t=Zi(this.$el.children);return{rows:t,columns:Ur(t)}},write(t){let{columns:e,rows:i}=t;for(const s of i)for(const n of s)R(n,this.margin,i[0]!==s),R(n,this.firstColumn,e[0].includes(n))},events:["resize"]}};function Zi(t){return Us(t,"top","bottom")}function Ur(t){const e=[];for(const i of t){const s=Us(i,"left","right");for(let n=0;n<s.length;n++)e[n]=e[n]?e[n].concat(s[n]):s[n]}return J?e.reverse():e}function Us(t,e,i){const s=[[]];for(const n of t){if(!q(n))continue;let r=si(n);for(let o=s.length-1;o>=0;o--){const a=s[o];if(!a[0]){a.push(n);break}let l;if(a[0].offsetParent===n.offsetParent?l=si(a[0]):(r=si(n,!0),l=si(a[0],!0)),r[e]>=l[i]-1&&r[e]!==l[e]){s.push([n]);break}if(r[i]-1>l[e]||r[e]===l[e]){a.push(n);break}if(o===0){s.unshift([n]);break}}}return s}function si(t,e){e===void 0&&(e=!1);let{offsetTop:i,offsetLeft:s,offsetHeight:n,offsetWidth:r}=t;return e&&([i,s]=Ce(t)),{top:i,left:s,bottom:i+n,right:s+r}}var Ne={connected(){to(this._uid,()=>this.$emit("scroll"))},disconnected(){eo(this._uid)}};const ni=new Map;let Me;function to(t,e){Me=Me||T(window,"scroll",()=>ni.forEach(i=>i()),{passive:!0,capture:!0}),ni.set(t,e)}function eo(t){ni.delete(t),Me&&!ni.size&&(Me(),Me=null)}var io={extends:Qs,mixins:[tt,Ne],name:"grid",props:{masonry:Boolean,parallax:Number},data:{margin:"uk-grid-margin",clsStack:"uk-grid-stack",masonry:!1,parallax:0},connected(){this.masonry&&w(this.$el,"uk-flex-top uk-flex-wrap-top")},update:[{write(t){let{columns:e}=t;R(this.$el,this.clsStack,e.length<2)},events:["resize"]},{read(t){let{columns:e,rows:i}=t;if(!e.length||!this.masonry&&!this.parallax||tn(this.$el))return t.translates=!1,!1;let s=!1;const n=D(this.$el),r=ro(e),o=no(n,this.margin)*(i.length-1),a=Math.max(...r)+o;this.masonry&&(e=e.map(h=>We(h,"offsetTop")),s=so(i,e));let l=Math.abs(this.parallax);return l&&(l=r.reduce((h,u,d)=>Math.max(h,u+o+(d%2?l:l/8)-a),0)),{padding:l,columns:e,translates:s,height:s?a:""}},write(t){let{height:e,padding:i}=t;c(this.$el,"paddingBottom",i||""),e!==!1&&c(this.$el,"height",e)},events:["resize"]},{read(){return this.parallax&&tn(this.$el)?!1:{scrolled:this.parallax?Xi(this.$el)*Math.abs(this.parallax):!1}},write(t){let{columns:e,scrolled:i,translates:s}=t;i===!1&&!s||e.forEach((n,r)=>n.forEach((o,a)=>c(o,"transform",!i&&!s?"":"translateY("+((s&&-s[r][a])+(i?r%2?i:i/8:0))+"px)")))},events:["scroll","resize"]}]};function tn(t){return D(t).some(e=>c(e,"position")==="absolute")}function so(t,e){const i=t.map(s=>Math.max(...s.map(n=>n.offsetHeight)));return e.map(s=>{let n=0;return s.map((r,o)=>n+=o?i[o-1]-s[o-1].offsetHeight:0)})}function no(t,e){const[i]=t.filter(s=>S(s,e));return y(i?c(i,"marginTop"):c(t[0],"paddingLeft"))}function ro(t){return t.map(e=>e.reduce((i,s)=>i+s.offsetHeight,0))}var oo={mixins:[mt],args:"target",props:{target:String,row:Boolean},data:{target:"> *",row:!0},computed:{elements:{get(t,e){let{target:i}=t;return N(i,e)},watch(){this.$reset()}}},resizeTargets(){return[this.$el,...this.elements]},update:{read(){return{rows:(this.row?Zi(this.elements):[this.elements]).map(ao)}},write(t){let{rows:e}=t;for(const{heights:i,elements:s}of e)s.forEach((n,r)=>c(n,"minHeight",i[r]))},events:["resize"]}};function ao(t){if(t.length<2)return{heights:[""],elements:t};c(t,"minHeight","");let e=t.map(lo);const i=Math.max(...e);return{heights:t.map((s,n)=>e[n].toFixed(2)===i.toFixed(2)?"":i),elements:t}}function lo(t){let e=!1;q(t)||(e=t.style.display,c(t,"display","block","important"));const i=$(t).height-ee(t,"height","content-box");return e!==!1&&c(t,"display",e),i}var ho={mixins:[tt,mt],props:{expand:Boolean,offsetTop:Boolean,offsetBottom:Boolean,minHeight:Number},data:{expand:!1,offsetTop:!1,offsetBottom:!1,minHeight:0},resizeTargets(){return[this.$el,document.documentElement]},update:{read(t){let{minHeight:e}=t;if(!q(this.$el))return!1;let i="";const s=ee(this.$el,"height","content-box");if(this.expand)i=Math.max(L(window)-($(document.documentElement).height-$(this.$el).height)-s,0);else{if(i="calc(100vh",this.offsetTop){const{top:n}=C(this.$el);i+=n>0&&n<L(window)/2?" - "+n+"px":""}this.offsetBottom===!0?i+=" - "+$(this.$el.nextElementSibling).height+"px":Et(this.offsetBottom)?i+=" - "+this.offsetBottom+"vh":this.offsetBottom&&Gt(this.offsetBottom,"px")?i+=" - "+y(this.offsetBottom)+"px":O(this.offsetBottom)&&(i+=" - "+$($t(this.offsetBottom,this.$el)).height+"px"),i+=(s?" - "+s+"px":"")+")"}return{minHeight:i,prev:e}},write(t){let{minHeight:e}=t;c(this.$el,{minHeight:e}),this.minHeight&&y(c(this.$el,"minHeight"))<this.minHeight&&c(this.$el,"minHeight",this.minHeight)},events:["resize"]}},en={args:"src",props:{id:Boolean,icon:String,src:String,style:String,width:Number,height:Number,ratio:Number,class:String,strokeAnimation:Boolean,focusable:Boolean,attributes:"list"},data:{ratio:1,include:["style","class","focusable"],class:"",strokeAnimation:!1},beforeConnect(){this.class+=" uk-s