uikit 3.15.1-dev.5caebcda9 → 3.15.1-dev.a66c977f5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/CHANGELOG.md +1 -0
  2. package/dist/css/uikit-core-rtl.css +1 -1
  3. package/dist/css/uikit-core-rtl.min.css +1 -1
  4. package/dist/css/uikit-core.css +1 -1
  5. package/dist/css/uikit-core.min.css +1 -1
  6. package/dist/css/uikit-rtl.css +1 -1
  7. package/dist/css/uikit-rtl.min.css +1 -1
  8. package/dist/css/uikit.css +1 -1
  9. package/dist/css/uikit.min.css +1 -1
  10. package/dist/js/components/countdown.js +1 -1
  11. package/dist/js/components/countdown.min.js +1 -1
  12. package/dist/js/components/filter.js +1 -1
  13. package/dist/js/components/filter.min.js +1 -1
  14. package/dist/js/components/lightbox-panel.js +1 -1
  15. package/dist/js/components/lightbox-panel.min.js +1 -1
  16. package/dist/js/components/lightbox.js +1 -1
  17. package/dist/js/components/lightbox.min.js +1 -1
  18. package/dist/js/components/notification.js +1 -1
  19. package/dist/js/components/notification.min.js +1 -1
  20. package/dist/js/components/parallax.js +1 -1
  21. package/dist/js/components/parallax.min.js +1 -1
  22. package/dist/js/components/slider-parallax.js +1 -1
  23. package/dist/js/components/slider-parallax.min.js +1 -1
  24. package/dist/js/components/slider.js +1 -1
  25. package/dist/js/components/slider.min.js +1 -1
  26. package/dist/js/components/slideshow-parallax.js +1 -1
  27. package/dist/js/components/slideshow-parallax.min.js +1 -1
  28. package/dist/js/components/slideshow.js +1 -1
  29. package/dist/js/components/slideshow.min.js +1 -1
  30. package/dist/js/components/sortable.js +1 -1
  31. package/dist/js/components/sortable.min.js +1 -1
  32. package/dist/js/components/tooltip.js +1 -1
  33. package/dist/js/components/tooltip.min.js +1 -1
  34. package/dist/js/components/upload.js +1 -1
  35. package/dist/js/components/upload.min.js +1 -1
  36. package/dist/js/uikit-core.js +7 -3
  37. package/dist/js/uikit-core.min.js +1 -1
  38. package/dist/js/uikit-icons.js +1 -1
  39. package/dist/js/uikit-icons.min.js +1 -1
  40. package/dist/js/uikit.js +7 -3
  41. package/dist/js/uikit.min.js +1 -1
  42. package/package.json +1 -1
  43. package/src/js/core/drop.js +5 -1
  44. package/tests/position.html +1 -1
@@ -1,4 +1,4 @@
1
- /*! UIkit 3.15.1-dev.5caebcda9 | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */(function(ue,de){typeof exports=="object"&&typeof module<"u"?module.exports=de():typeof define=="function"&&define.amd?define("uikit",de):(ue=typeof globalThis<"u"?globalThis:ue||self,ue.UIkit=de())})(this,function(){"use strict";const{hasOwnProperty:ue,toString:de}=Object.prototype;function Ot(t,e){return ue.call(t,e)}const ao=/\B([A-Z])/g,_t=rt(t=>t.replace(ao,"-$1").toLowerCase()),lo=/-(\w)/g,Yt=rt(t=>t.replace(lo,us)),kt=rt(t=>t.length?us(null,t.charAt(0))+t.slice(1):"");function us(t,e){return e?e.toUpperCase():""}function tt(t,e){return t==null||t.startsWith==null?void 0:t.startsWith(e)}function Xt(t,e){return t==null||t.endsWith==null?void 0:t.endsWith(e)}function p(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:et,from:bi}=Array,{assign:xt}=Object;function mt(t){return typeof t=="function"}function St(t){return t!==null&&typeof t=="object"}function Tt(t){return de.call(t)==="[object Object]"}function Gt(t){return St(t)&&t===t.window}function De(t){return yi(t)===9}function xi(t){return yi(t)>=1}function Jt(t){return yi(t)===1}function yi(t){return!Gt(t)&&St(t)&&t.nodeType}function Ne(t){return typeof t=="boolean"}function _(t){return typeof t=="string"}function Kt(t){return typeof t=="number"}function Bt(t){return Kt(t)||_(t)&&!isNaN(t-parseFloat(t))}function fe(t){return!(et(t)?t.length:St(t)?Object.keys(t).length:!1)}function R(t){return t===void 0}function $i(t){return Ne(t)?t:t==="true"||t==="1"||t===""?!0:t==="false"||t==="0"?!1:t}function Ct(t){const e=Number(t);return isNaN(e)?!1:e}function w(t){return parseFloat(t)||0}function q(t){return $(t)[0]}function $(t){return t&&(xi(t)?[t]:Array.from(t).filter(xi))||[]}function Mt(t){var e;if(Gt(t))return t;t=q(t);const i=De(t)?t:(e=t)==null?void 0:e.ownerDocument;return(i==null?void 0:i.defaultView)||window}function pe(t,e){return t===e||St(t)&&St(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 Zt(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 ze(t,e){return t.slice().sort((i,s)=>{let{[e]:n=0}=i,{[e]:o=0}=s;return n>o?1:o>n?-1:0})}function ds(t,e){const i=new Set;return t.filter(s=>{let{[e]:n}=s;return i.has(n)?!1:i.add(n)})}function Z(t,e,i){return e===void 0&&(e=0),i===void 0&&(i=1),Math.min(Math.max(Ct(t)||0,e),i)}function T(){}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,o]=s;return Math.min(...e.map(r=>{let{[n]:a}=r;return a}))-Math.max(...e.map(r=>{let{[o]:a}=r;return a}))>0})}function He(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 fs(t,e){t={...t};for(const i in t)t=t[i]>e[i]?Ti(t,i,e[i]):t;return t}function ho(t,e){t=fs(t,e);for(const i in t)t=t[i]<e[i]?Ti(t,i,e[i]):t;return t}const Le={ratio:Ti,contain:fs,cover:ho};function Qt(t,e,i,s){i===void 0&&(i=0),s===void 0&&(s=!1),e=$(e);const{length:n}=e;return n?(t=Bt(t)?Ct(t):t==="next"?i+1:t==="previous"?i-1:e.indexOf(q(t)),s?Z(t,0,n-1):(t%=n,t<0?t+n:t)):-1}function rt(t){const e=Object.create(null);return i=>e[i]||(e[i]=t(i))}class Fe{constructor(){this.promise=new Promise((e,i)=>{this.reject=i,this.resolve=e})}}function y(t,e,i){if(St(e)){for(const n in e)y(t,n,e[n]);return}if(R(i)){var s;return(s=q(t))==null?void 0:s.getAttribute(e)}else for(const n of $(t))mt(i)&&(i=i.call(n,y(n,e))),i===null?ge(n,e):n.setAttribute(e,i)}function It(t,e){return $(t).some(i=>i.hasAttribute(e))}function ge(t,e){const i=$(t);for(const s of e.split(" "))for(const n of i)n.removeAttribute(s)}function at(t,e){for(const i of[e,"data-"+e])if(It(t,i))return y(t,i)}const co={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 $(t).some(e=>co[e.tagName.toLowerCase()])}function V(t){return $(t).some(e=>e.offsetWidth||e.offsetHeight||e.getClientRects().length)}const me="input,select,textarea,button";function Ii(t){return $(t).some(e=>L(e,me))}const We=me+",a[href],[tabindex]";function je(t){return L(t,We)}function P(t){var e;return(e=q(t))==null?void 0:e.parentElement}function ve(t,e){return $(t).filter(i=>L(i,e))}function L(t,e){return $(t).some(i=>i.matches(e))}function it(t,e){return Jt(t)?t.closest(tt(e,">")?e.slice(1):e):$(t).map(i=>it(i,e)).filter(Boolean)}function B(t,e){return _(e)?!!it(t,e):q(e).contains(q(t))}function Ut(t,e){const i=[];for(;t=P(t);)(!e||L(t,e))&&i.push(t);return i}function M(t,e){t=q(t);const i=t?$(t.children):[];return e?ve(i,e):i}function te(t,e){return e?$(t).indexOf(q(e)):M(P(t)).indexOf(t)}function dt(t,e){return Pi(t,gs(t,e))}function we(t,e){return be(t,gs(t,e))}function Pi(t,e){return q(ms(t,e,"querySelector"))}function be(t,e){return $(ms(t,e,"querySelectorAll"))}const uo=/(^|[^\\],)\s*[!>+~-]/,ps=rt(t=>t.match(uo));function gs(t,e){return e===void 0&&(e=document),_(t)&&ps(t)||De(e)?e:e.ownerDocument}const fo=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,po=rt(t=>t.replace(fo,"$1 *"));function ms(t,e,i){if(e===void 0&&(e=document),!t||!_(t))return t;if(t=po(t),ps(t)){const s=mo(t);t="";for(let n of s){let o=e;if(n[0]==="!"){const r=n.substr(1).trim().split(" ");if(o=it(P(e),r[0]),n=r.slice(1).join(" ").trim(),!n.length&&s.length===1)return o}if(n[0]==="-"){const r=n.substr(1).trim().split(" "),a=(o||e).previousElementSibling;o=L(a,n.substr(1))?a:null,n=r.slice(1).join(" ")}o&&(t+=(t?",":"")+vo(o)+" "+n)}e=document}try{return e[i](t)}catch{return null}}const go=/.*?[^\\](?:,|$)/g,mo=rt(t=>t.match(go).map(e=>e.replace(/,$/,"").trim()));function vo(t){const e=[];for(;t.parentNode;){const i=y(t,"id");if(i){e.unshift("#"+Ai(i));break}else{let{tagName:s}=t;s!=="HTML"&&(s+=":nth-child("+(te(t)+1)+")"),e.unshift(s),t=t.parentNode}}return e.join(" > ")}function Ai(t){return _(t)?CSS.escape(t):""}function k(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];let[s,n,o,r,a=!1]=Ei(e);r.length>1&&(r=bo(r)),a!=null&&a.self&&(r=xo(r)),o&&(r=wo(o,r));for(const l of n)for(const h of s)h.addEventListener(l,r,a);return()=>Dt(s,n,r,a)}function Dt(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];let[s,n,,o,r=!1]=Ei(e);for(const a of n)for(const l of s)l.removeEventListener(a,o,r)}function N(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];const[s,n,o,r,a=!1,l]=Ei(e),h=k(s,n,o,u=>{const d=!l||l(u);d&&(h(),r(u,d))},a);return h}function g(t,e,i){return Oi(t).every(s=>s.dispatchEvent(Nt(e,!0,!0,i)))}function Nt(t,e,i,s){return e===void 0&&(e=!0),i===void 0&&(i=!1),_(t)&&(t=new CustomEvent(t,{bubbles:e,cancelable:i,detail:s})),t}function Ei(t){return t[0]=Oi(t[0]),_(t[1])&&(t[1]=t[1].split(" ")),mt(t[2])&&t.splice(2,0,!1),t}function wo(t,e){return i=>{const s=t[0]===">"?be(t,i.currentTarget).reverse().filter(n=>B(i.target,n))[0]:it(i.target,t);s&&(i.current=s,e.call(this,i))}}function bo(t){return e=>et(e.detail)?t(e,...e.detail):t(e)}function xo(t){return function(e){if(e.target===e.currentTarget||e.target===e.current)return t.call(null,e)}}function vs(t){return t&&"addEventListener"in t}function yo(t){return vs(t)?t:q(t)}function Oi(t){return et(t)?t.map(yo).filter(Boolean):_(t)?be(t):vs(t)?[t]:$(t)}function $t(t){return t.pointerType==="touch"||!!t.touches}function ee(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 ws(t,e){const i={data:null,method:"GET",headers:{},xhr:new XMLHttpRequest,beforeSend:T,responseType:"",...e};return Promise.resolve().then(()=>i.beforeSend(i)).then(()=>$o(t,i))}function $o(t,e){return new Promise((i,s)=>{const{xhr:n}=e;for(const o in e)if(o in n)try{n[o]=e[o]}catch{}n.open(e.method.toUpperCase(),t);for(const o in e.headers)n.setRequestHeader(o,e.headers[o]);k(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}))}),k(n,"error",()=>s(xt(Error("Network Error"),{xhr:n}))),k(n,"timeout",()=>s(xt(Error("Network Timeout"),{xhr:n}))),n.send(e.data)})}function bs(t,e,i){return new Promise((s,n)=>{const o=new Image;o.onerror=r=>{n(r)},o.onload=()=>{s(o)},i&&(o.sizes=i),e&&(o.srcset=e),o.src=t})}const ko={"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=$(t);for(const o of n)if(_(e)){if(e=_i(e),R(i))return getComputedStyle(o).getPropertyValue(e);o.style.setProperty(e,Bt(i)&&!ko[e]?i+"px":i||Kt(i)?i:"",s)}else if(et(e)){const r={};for(const a of e)r[a]=c(o,a);return r}else St(e)&&(s=i,yt(e,(r,a)=>c(o,a,r,s)));return n[0]}const _i=rt(t=>So(t));function So(t){if(tt(t,"--"))return t;t=_t(t);const{style:e}=document.documentElement;if(t in e)return t;for(const i of["webkit","moz"]){const s="-"+i+"-"+t;if(s in e)return s}}function b(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),s=1;s<e;s++)i[s-1]=arguments[s];xs(t,i,"add")}function O(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),s=1;s<e;s++)i[s-1]=arguments[s];xs(t,i,"remove")}function Bi(t,e){y(t,"class",i=>(i||"").replace(new RegExp("\\b"+e+"\\b\\s?","g"),""))}function Mi(t){!(arguments.length<=1)&&arguments[1]&&O(t,arguments.length<=1?void 0:arguments[1]),!(arguments.length<=2)&&arguments[2]&&b(t,arguments.length<=2?void 0:arguments[2])}function I(t,e){return[e]=Di(e),!!e&&$(t).some(i=>i.classList.contains(e))}function W(t,e,i){const s=Di(e);R(i)||(i=!!i);for(const n of $(t))for(const o of s)n.classList.toggle(o,i)}function xs(t,e,i){e=e.reduce((s,n)=>s.concat(Di(n)),[]);for(const s of $(t))s.classList[i](...e)}function Di(t){return String(t).split(/\s|,/).filter(Boolean)}function To(t,e,i,s){return i===void 0&&(i=400),s===void 0&&(s="linear"),i=Math.round(i),Promise.all($(t).map(n=>new Promise((o,r)=>{for(const l in e){const h=c(n,l);h===""&&c(n,l,h)}const a=setTimeout(()=>g(n,"transitionend"),i);N(n,"transitionend transitioncanceled",l=>{let{type:h}=l;clearTimeout(a),O(n,"uk-transition"),c(n,{transitionProperty:"",transitionDuration:"",transitionTimingFunction:""}),h==="transitioncanceled"?r():o(n)},{self:!0}),b(n,"uk-transition"),c(n,{transitionProperty:Object.keys(e).map(_i).join(","),transitionDuration:i+"ms",transitionTimingFunction:s,...e})})))}const S={start:To,async stop(t){g(t,"transitionend"),await Promise.resolve()},async cancel(t){g(t,"transitioncanceled"),await Promise.resolve()},inProgress(t){return I(t,"uk-transition")}},xe="uk-animation-";function ys(t,e,i,s,n){return i===void 0&&(i=200),Promise.all($(t).map(o=>new Promise((r,a)=>{g(o,"animationcanceled");const l=setTimeout(()=>g(o,"animationend"),i);N(o,"animationend animationcanceled",h=>{let{type:u}=h;clearTimeout(l),u==="animationcanceled"?a():r(o),c(o,"animationDuration",""),Bi(o,xe+"\\S*")},{self:!0}),c(o,"animationDuration",i+"ms"),b(o,e,xe+(n?"leave":"enter")),tt(e,xe)&&(s&&b(o,"uk-transform-origin-"+s),n&&b(o,xe+"reverse"))})))}const Co=new RegExp(xe+"(enter|leave)"),ft={in:ys,out(t,e,i,s){return ys(t,e,i,s,!0)},inProgress(t){return Co.test(y(t,"class"))},cancel(t){g(t,"animationcanceled")}},zt={width:["left","right"],height:["top","bottom"]};function x(t){const e=Jt(t)?q(t).getBoundingClientRect():{height:G(t),width:ye(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 A(t,e){const i=x(t);if(t){const{scrollY:n,scrollX:o}=Mt(t),r={height:n,width:o};for(const a in zt)for(const l of zt[a])i[l]+=r[a]}if(!e)return i;const s=c(t,"position");yt(c(t,["left","top"]),(n,o)=>c(t,o,e[o]-i[o]+w(s==="absolute"&&n==="auto"?Re(t)[o]:n)))}function Re(t){let{top:e,left:i}=A(t);const{ownerDocument:{body:s,documentElement:n},offsetParent:o}=q(t);let r=o||n;for(;r&&(r===s||r===n)&&c(r,"position")==="static";)r=r.parentNode;if(Jt(r)){const a=A(r);e-=a.top+w(c(r,"borderTopWidth")),i-=a.left+w(c(r,"borderLeftWidth"))}return{top:e-w(c(t,"marginTop")),left:i-w(c(t,"marginLeft"))}}function Ht(t){t=q(t);const e=[t.offsetTop,t.offsetLeft];for(;t=t.offsetParent;)if(e[0]+=t.offsetTop+w(c(t,"borderTopWidth")),e[1]+=t.offsetLeft+w(c(t,"borderLeftWidth")),c(t,"position")==="fixed"){const i=Mt(t);return e[0]+=i.scrollY,e[1]+=i.scrollX,e}return e}const G=$s("height"),ye=$s("width");function $s(t){const e=kt(t);return(i,s)=>{if(R(s)){if(Gt(i))return i["inner"+e];if(De(i)){const n=i.documentElement;return Math.max(n["offset"+e],n["scroll"+e])}return i=q(i),s=c(i,t),s=s==="auto"?i["offset"+e]:w(s)||0,s-ie(i,t)}else return c(i,t,!s&&s!==0?"":+s+ie(i,t)+"px")}}function ie(t,e,i){return i===void 0&&(i="border-box"),c(t,"boxSizing")===i?zt[e].map(kt).reduce((s,n)=>s+w(c(t,"padding"+n))+w(c(t,"border"+n+"Width")),0):0}function qe(t){for(const e in zt)for(const i in zt[e])if(zt[e][i]===t)return zt[e][1-i];return t}function J(t,e,i,s){return e===void 0&&(e="width"),i===void 0&&(i=window),s===void 0&&(s=!1),_(t)?Po(t).reduce((n,o)=>{const r=Eo(o);return r&&(o=Oo(r==="vh"?G(Mt(i)):r==="vw"?ye(Mt(i)):s?i["offset"+kt(e)]:x(i)[e],o)),n+w(o)},0):w(t)}const Io=/-?\d+(?:\.\d+)?(?:v[wh]|%|px)?/g,Po=rt(t=>t.toString().replace(/\s/g,"").match(Io)||[]),Ao=/(?:v[hw]|%)$/,Eo=rt(t=>(t.match(Ao)||[])[0]);function Oo(t,e){return t*w(e)/100}function Ni(t){if(document.readyState!=="loading"){t();return}N(document,"DOMContentLoaded",t)}function pt(t,e){var i;return(t==null||(i=t.tagName)==null?void 0:i.toLowerCase())===e.toLowerCase()}function ks(t){return t=v(t),t.innerHTML="",t}function Pt(t,e){return R(e)?v(t).innerHTML:j(ks(t),e)}const _o=Ye("prepend"),j=Ye("append"),zi=Ye("before"),Ve=Ye("after");function Ye(t){return function(e,i){var s;const n=$(_(i)?Lt(i):i);return(s=v(e))==null||s[t](...n),Ss(n)}}function ct(t){$(t).forEach(e=>e.remove())}function Hi(t,e){for(e=q(zi(t,e));e.firstChild;)e=e.firstChild;return j(e,t),e}function Li(t,e){return $($(t).map(i=>i.hasChildNodes()?Hi($(i.childNodes),e):j(i,e)))}function Xe(t){$(t).map(P).filter((e,i,s)=>s.indexOf(e)===i).forEach(e=>e.replaceWith(...e.childNodes))}const Bo=/^\s*<(\w+|!)[^>]*>/,Mo=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function Lt(t){const e=Mo.exec(t);if(e)return document.createElement(e[1]);const i=document.createElement("div");return Bo.test(t)?i.insertAdjacentHTML("beforeend",t.trim()):i.textContent=t,Ss(i.childNodes)}function Ss(t){return t.length>1?t:t[0]}function vt(t,e){if(!!Jt(t))for(e(t),t=t.firstElementChild;t;){const i=t.nextElementSibling;vt(t,e),t=i}}function v(t,e){return Ts(t)?q(Lt(t)):Pi(t,e)}function D(t,e){return Ts(t)?$(Lt(t)):be(t,e)}function Ts(t){return _(t)&&tt(t.trim(),"<")}const Ft=typeof window<"u",X=Ft&&y(document.documentElement,"dir")==="rtl",Wt=Ft&&"ontouchstart"in window,se=Ft&&window.PointerEvent,gt=se?"pointerdown":Wt?"touchstart":"mousedown",Ge=se?"pointermove":Wt?"touchmove":"mousemove",At=se?"pointerup":Wt?"touchend":"mouseup",jt=se?"pointerenter":Wt?"":"mouseenter",ne=se?"pointerleave":Wt?"":"mouseleave",Je=se?"pointercancel":"touchcancel",z={reads:[],writes:[],read(t){return this.reads.push(t),Wi(),t},write(t){return this.writes.push(t),Wi(),t},clear(t){Is(this.reads,t),Is(this.writes,t)},flush:Fi};function Fi(t){Cs(z.reads),Cs(z.writes.splice(0)),z.scheduled=!1,(z.reads.length||z.writes.length)&&Wi(t+1)}const Do=4;function Wi(t){z.scheduled||(z.scheduled=!0,t&&t<Do?Promise.resolve().then(()=>Fi(t)):requestAnimationFrame(()=>Fi(1)))}function Cs(t){let e;for(;e=t.shift();)try{e()}catch(i){console.error(i)}}function Is(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=k(document,"mousemove",e=>t=ee(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:o}=e,[r]=this.positions,a=Zt(this.positions),l=[r,a];return He(a,e)?!1:[[{x:i,y:n},{x:s,y:o}],[{x:i,y:o},{x:s,y:n}]].some(u=>{const d=No(l,u);return d&&He(d,e)})}};function No(t,e){let[{x:i,y:s},{x:n,y:o}]=t,[{x:r,y:a},{x:l,y:h}]=e;const u=(h-a)*(n-i)-(l-r)*(o-s);if(u===0)return!1;const d=((l-r)*(s-a)-(h-a)*(i-r))/u;return d<0?!1:{x:i+d*(n-i),y:s+d*(o-s)}}function oe(t,e,i,s){s===void 0&&(s=!0);const n=new IntersectionObserver(s?(o,r)=>{o.some(a=>a.isIntersecting)&&e(o,r)}:e,i);for(const o of $(t))n.observe(o);return n}const zo=Ft&&window.ResizeObserver;function Ke(t,e,i){return i===void 0&&(i={box:"border-box"}),zo?As(ResizeObserver,t,e,i):(Ho(),$e.add(e),{disconnect(){$e.delete(e)}})}let $e;function Ho(){if($e)return;$e=new Set;let t;const e=()=>{if(!t){t=!0,z.read(()=>t=!1);for(const i of $e)i()}};k(window,"load resize",e),k(document,"loadedmetadata load",e,!0)}function Ps(t,e,i){return As(MutationObserver,t,e,i)}function As(t,e,i,s){const n=new t(i);for(const o of $(e))n.observe(o,s);return n}const K={};K.events=K.created=K.beforeConnect=K.connected=K.beforeDisconnect=K.disconnected=K.destroy=Ri,K.args=function(t,e){return e!==!1&&Ri(e||t)},K.update=function(t,e){return ze(Ri(t,mt(e)?{read:e}:e),"order")},K.props=function(t,e){if(et(e)){const i={};for(const s of e)i[s]=String;e=i}return K.methods(t,e)},K.computed=K.methods=function(t,e){return e?t?{...t,...e}:e:t},K.data=function(t,e,i){return i?Es(t,e,i):e?t?function(s){return Es(t,e,s)}:e:t};function Es(t,e,i){return K.computed(mt(t)?t.call(i,i):t,mt(e)?e.call(i,i):e)}function Ri(t,e){return t=t&&!et(t)?[t]:t,e?t?t.concat(e):et(e)?e:[e]:t}function Lo(t,e){return R(e)?t:e}function re(t,e,i){const s={};if(mt(e)&&(e=e.options),e.extends&&(t=re(t,e.extends,i)),e.mixins)for(const o of e.mixins)t=re(t,o,i);for(const o in t)n(o);for(const o in e)Ot(t,o)||n(o);function n(o){s[o]=(K[o]||Lo)(t[o],e[o],i)}return s}function ke(t,e){e===void 0&&(e=[]);try{return t?tt(t,"{")?JSON.parse(t):e.length&&!p(t,":")?{[e[0]]:t}:t.split(";").reduce((i,s)=>{const[n,o]=s.split(/:(.*)/);return n&&!R(o)&&(i[n.trim()]=o.trim()),i},{}):{}}catch{return{}}}function Os(t){if(Qe(t)&&qi(t,{func:"playVideo",method:"play"}),Ze(t))try{t.play().catch(T)}catch{}}function _s(t){Qe(t)&&qi(t,{func:"pauseVideo",method:"pause"}),Ze(t)&&t.pause()}function Bs(t){Qe(t)&&qi(t,{func:"mute",method:"setVolume",value:0}),Ze(t)&&(t.muted=!0)}function Ms(t){return Ze(t)||Qe(t)}function Ze(t){return pt(t,"video")}function Qe(t){return pt(t,"iframe")&&(Ds(t)||Ns(t))}function Ds(t){return!!t.src.match(/\/\/.*?youtube(-nocookie)?\.[a-z]+\/(watch\?v=[^&\s]+|embed)|youtu\.be\/.*/)}function Ns(t){return!!t.src.match(/vimeo\.com\/video\/.*/)}async function qi(t,e){await Wo(t),zs(t,e)}function zs(t,e){try{t.contentWindow.postMessage(JSON.stringify({event:"command",...e}),"*")}catch{}}const Vi="_ukPlayer";let Fo=0;function Wo(t){if(t[Vi])return t[Vi];const e=Ds(t),i=Ns(t),s=++Fo;let n;return t[Vi]=new Promise(o=>{e&&N(t,"load",()=>{const r=()=>zs(t,{event:"listening",id:s});n=setInterval(r,100),r()}),N(window,"message",o,!1,r=>{let{data:a}=r;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+(p(t.src,"?")?"&":"?")+(e?"enablejsapi=1":"api=1&player_id="+s)}).then(()=>clearInterval(n))}function Ue(t,e,i){return e===void 0&&(e=0),i===void 0&&(i=0),V(t)?Si(...Q(t).map(s=>{const{top:n,left:o,bottom:r,right:a}=lt(s);return{top:n-e,left:o-i,bottom:r+e,right:a+i}}).concat(A(t))):!1}function Yi(t,e){let{offset:i=0}=e===void 0?{}:e;const s=V(t)?Q(t):[];return s.reduce((a,l,h)=>{const{scrollTop:u,scrollHeight:d,offsetHeight:f}=l,m=lt(l),C=d-m.height,{height:E,top:U}=s[h-1]?lt(s[h-1]):A(t);let F=Math.ceil(U-m.top-i+u);return i>0&&f<E+i?F+=i:i=0,F>C?(i-=F-C,F=C):F<0&&(i-=F,F=0),()=>n(l,F-u).then(a)},()=>Promise.resolve())();function n(a,l){return new Promise(h=>{const u=a.scrollTop,d=o(Math.abs(l)),f=Date.now();(function m(){const C=r(Z((Date.now()-f)/d));a.scrollTop=u+l*C,C===1?h():requestAnimationFrame(m)})()})}function o(a){return 40*Math.pow(a,.375)}function r(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),!V(t))return 0;const[s]=Q(t,/auto|scroll/,!0),{scrollHeight:n,scrollTop:o}=s,{height:r}=lt(s),a=n-r,l=Ht(t)[0]-Ht(s)[0],h=Math.max(0,l-r+e),u=Math.min(a,l+t.offsetHeight-i);return Z((o-h)/(u-h))}function Q(t,e,i){e===void 0&&(e=/auto|scroll|hidden|clip/),i===void 0&&(i=!1);const s=Hs(t);let n=Ut(t).reverse();n=n.slice(n.indexOf(s)+1);const o=bt(n,r=>c(r,"position")==="fixed");return~o&&(n=n.slice(o)),[s].concat(n.filter(r=>e.test(c(r,"overflow"))&&(!i||r.scrollHeight>lt(r).height))).reverse()}function lt(t){const e=Mt(t),{document:{documentElement:i}}=e;let s=t===Hs(t)?e:t;const{visualViewport:n}=e;if(Gt(s)&&n){let{height:r,width:a,scale:l,pageTop:h,pageLeft:u}=n;return r=Math.round(r*l),a=Math.round(a*l),{height:r,width:a,top:h,left:u,bottom:h+r,right:u+a}}let o=A(s);for(let[r,a,l,h]of[["width","x","left","right"],["height","y","top","bottom"]])Gt(s)?s=i:o[l]+=w(c(s,"border-"+l+"-width")),o[r]=o[a]=s["client"+kt(r)],o[h]=o[r]+o[l];return o}function Hs(t){return Mt(t).document.scrollingElement}const ht=[["width","x","left","right"],["height","y","top","bottom"]];function Ls(t,e,i){i={attach:{element:["left","top"],target:["left","top"],...i.attach},offset:[0,0],placement:[],...i},et(e)||(e=[e,e]),A(t,Fs(t,e,i))}function Fs(t,e,i){const s=Ws(t,e,i),{boundary:n,viewportOffset:o=0,placement:r}=i;let a=s;for(const[l,[h,,u,d]]of Object.entries(ht)){const f=jo(e[l],o,n,l);if(ti(s,f,l))continue;let m=0;if(r[l]==="flip"){const C=i.attach.target[l];if(C===d&&s[d]<=f[d]||C===u&&s[u]>=f[u])continue;m=qo(t,e,i,l)[u]-s[u];const E=Ro(e[l],o,l);if(!ti(Gi(s,m,l),E,l)){if(ti(s,E,l))continue;if(i.recursion)return!1;const U=Vo(t,e,i);if(U&&ti(U,E,1-l))return U;continue}}else if(r[l]==="shift"){const C=A(e[l]),{offset:E}=i;m=Z(Z(s[u],f[u],f[d]-s[h]),C[u]-s[h]+E[l],C[d]-E[l])-s[u]}a=Gi(a,m,l)}return a}function Ws(t,e,i){let{attach:s,offset:n}={attach:{element:["left","top"],target:["left","top"],...i.attach},offset:[0,0],...i},o=A(t);for(const[r,[a,,l,h]]of Object.entries(ht)){const u=s.target[r]===s.element[r]?lt(e[r]):A(e[r]);o=Gi(o,u[l]-o[l]+js(s.target[r],h,u[a])-js(s.element[r],h,o[a])+ +n[r],r)}return o}function Gi(t,e,i){const[,s,n,o]=ht[i],r={...t};return r[n]=t[s]=t[n]+e,r[o]+=e,r}function js(t,e,i){return t==="center"?i/2:t===e?i:0}function jo(t,e,i,s){let n=Rs(...Q(t).map(lt));return e&&(n[ht[s][2]]+=e,n[ht[s][3]]-=e),i&&(n=Rs(n,A(i))),n}function Ro(t,e,i){const[s,,n,o]=ht[i],[r]=Q(t),a=lt(r);return a[n]-=r["scroll"+kt(n)]-e,a[o]=a[n]+r["scroll"+kt(s)]-e,a}function Rs(){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[,,o,r]of ht)t[o]=Math.max(t[o]||0,n[o]),t[r]=Math.min(...[t[r],n[r]].filter(Boolean));return t}function ti(t,e,i){const[,,s,n]=ht[i];return t[s]>=e[s]&&t[n]<=e[n]}function qo(t,e,i,s){let{offset:n,attach:o}=i;return Ws(t,e,{attach:{element:qs(o.element,s),target:qs(o.target,s)},offset:Yo(n,s)})}function Vo(t,e,i){return Fs(t,e,{...i,attach:{element:i.attach.element.map(Vs).reverse(),target:i.attach.target.map(Vs).reverse()},offset:i.offset.reverse(),placement:i.placement.reverse(),recursion:!0})}function qs(t,e){const i=[...t],s=ht[e].indexOf(t[e]);return~s&&(i[e]=ht[e][1-s%2+2]),i}function Vs(t){for(let e=0;e<ht.length;e++){const i=ht[e].indexOf(t);if(~i)return ht[1-e][i%2+2]}}function Yo(t,e){return t=[...t],t[e]*=-1,t}var Xo=Object.freeze({__proto__:null,ajax:ws,getImage:bs,Transition:S,Animation:ft,attr:y,hasAttr:It,removeAttr:ge,data:at,addClass:b,removeClass:O,removeClasses:Bi,replaceClass:Mi,hasClass:I,toggleClass:W,dimensions:x,offset:A,position:Re,offsetPosition:Ht,height:G,width:ye,boxModelAdjust:ie,flipPosition:qe,toPx:J,ready:Ni,isTag:pt,empty:ks,html:Pt,prepend:_o,append:j,before:zi,after:Ve,remove:ct,wrapAll:Hi,wrapInner:Li,unwrap:Xe,fragment:Lt,apply:vt,$:v,$$:D,inBrowser:Ft,isRtl:X,hasTouch:Wt,pointerDown:gt,pointerMove:Ge,pointerUp:At,pointerEnter:jt,pointerLeave:ne,pointerCancel:Je,on:k,off:Dt,once:N,trigger:g,createEvent:Nt,toEventTargets:Oi,isTouch:$t,getEventPos:ee,fastdom:z,isVoidElement:Ci,isVisible:V,selInput:me,isInput:Ii,selFocusable:We,isFocusable:je,parent:P,filter:ve,matches:L,closest:it,within:B,parents:Ut,children:M,index:te,hasOwn:Ot,hyphenate:_t,camelize:Yt,ucfirst:kt,startsWith:tt,endsWith:Xt,includes:p,findIndex:bt,isArray:et,toArray:bi,assign:xt,isFunction:mt,isObject:St,isPlainObject:Tt,isWindow:Gt,isDocument:De,isNode:xi,isElement:Jt,isBoolean:Ne,isString:_,isNumber:Kt,isNumeric:Bt,isEmpty:fe,isUndefined:R,toBoolean:$i,toNumber:Ct,toFloat:w,toNode:q,toNodes:$,toWindow:Mt,isEqual:pe,swap:ki,last:Zt,each:yt,sortBy:ze,uniqueBy:ds,clamp:Z,noop:T,intersectRect:Si,pointInRect:He,Dimensions:Le,getIndex:Qt,memoize:rt,Deferred:Fe,MouseTracker:ji,observeIntersection:oe,observeResize:Ke,observeMutation:Ps,mergeOptions:re,parseOptions:ke,play:Os,pause:_s,mute:Bs,isVideo:Ms,positionAt:Ls,query:dt,queryAll:we,find:Pi,findAll:be,escape:Ai,css:c,propName:_i,isInView:Ue,scrollIntoView:Yi,scrolledOver:Xi,scrollParents:Q,offsetViewport:lt});function Go(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,o){o=(_(o)?t.component(o):o)||this,o.options=re(o.options,n)},t.extend=function(n){n=n||{};const o=this,r=function(l){this._init(l)};return r.prototype=Object.create(o.prototype),r.prototype.constructor=r,r.options=re(o.options,n),r.super=o,r.extend=o.extend,r},t.update=function(n,o){n=n?q(n):document.body;for(const r of Ut(n).reverse())s(r[e],o);vt(n,r=>s(r[e],o))};let i;Object.defineProperty(t,"container",{get(){return i||document.body},set(n){i=v(n)}});function s(n,o){if(!!n)for(const r in n)n[r]._connected&&n[r]._callUpdate(o)}}function Jo(t){t.prototype._callHook=function(s){var n;(n=this.$options[s])==null||n.forEach(o=>o.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,z.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=!Ot(this,"_watch");this._watch=z.read(()=>{this._connected&&i.call(this,s),this._watch=null})};function e(s){for(const{read:n,write:o,events:r=[]}of this.$options.update){if(!s.has("update")&&!r.some(l=>s.has(l)))continue;let a;n&&(a=n.call(this,this._data,s),a&&Tt(a)&&xt(this._data,a)),o&&a!==!1&&z.write(()=>{this._connected&&o.call(this,this._data,s)})}}function i(s){const{$options:{computed:n}}=this,o={...this._computed};this._computed={};for(const r in n){const{watch:a,immediate:l}=n[r];a&&(s&&l||Ot(o,r)&&!pe(o[r],this[r]))&&a.call(this,this[r],o[r])}}}function Ko(t){let e=0;t.prototype._init=function(i){i=i||{},i.data=tr(i,this.constructor.options),this.$options=re(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)Zo(this,s,i[s])},t.prototype._initProps=function(i){let s;i=i||Ys(this.$options,this.$name);for(s in i)R(i[s])||(this.$props[s]=i[s]);const n=[this.$options.computed,this.$options.methods];for(s in this.$props)s in i&&Qo(n,s)&&(this[s]=this.$props[s])},t.prototype._initEvents=function(){this._events=[];for(const i of this.$options.events||[])if(Ot(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=[ir(this)],this.$options.computed&&this.registerObserver(er(this))},t.prototype.registerObserver=function(i){this._observers.push(i)},t.prototype._disconnectObservers=function(){this._observers.forEach(i=>i==null?void 0:i.disconnect())}}function Ys(t,e){const i={},{args:s=[],props:n={},el:o}=t;if(!n)return i;for(const a in n){const l=_t(a);let h=at(o,l);R(h)||(h=n[a]===Boolean&&h===""?!0:Ji(n[a],h),!(l==="target"&&tt(h,"_"))&&(i[a]=h))}const r=ke(at(o,e),s);for(const a in r){const l=Yt(a);R(n[l])||(i[l]=Ji(n[l],r[a]))}return i}function Zo(t,e,i){Object.defineProperty(t,e,{enumerable:!0,get(){const{_computed:s,$props:n,$el:o}=t;return Ot(s,e)||(s[e]=(i.get||i).call(t,n,o)),s[e]},set(s){const{_computed:n}=t;n[e]=i.set?i.set.call(t,s):s,R(n[e])&&delete n[e]}})}function ei(t,e,i){Tt(e)||(e={name:i,handler:e});let{name:s,el:n,handler:o,capture:r,passive:a,delegate:l,filter:h,self:u}=e;if(n=mt(n)?n.call(t):n||t.$el,et(n)){n.forEach(d=>ei(t,{...e,el:d},i));return}!n||h&&!h.call(t)||t._events.push(k(n,s,l?_(l)?l:l.call(t):null,_(o)?t[o]:o.bind(t),{passive:a,capture:r,self:u}))}function Qo(t,e){return t.every(i=>!i||!Ot(i,e))}function Ji(t,e){return t===Boolean?$i(e):t===Number?Ct(e):t==="list"?Uo(e):t?t(e):e}function Uo(t){return et(t)?t:_(t)?t.split(/,(?![^(]*\))/).map(e=>Bt(e)?Ct(e):$i(e.trim())):[t]}function tr(t,e){let{data:i={}}=t,{args:s=[],props:n={}}=e;et(i)&&(i=i.slice(0,s.length).reduce((o,r,a)=>(Tt(r)?xt(o,r):o[s[a]]=r,o),{}));for(const o in i)R(i[o])?delete i[o]:n[o]&&(i[o]=Ji(n[o],i[o]));return i}function er(t){const{el:e}=t.$options,i=new MutationObserver(()=>t.$emit());return i.observe(e,{childList:!0,subtree:!0}),i}function ir(t){const{$name:e,$options:i,$props:s}=t,{attrs:n,props:o,el:r}=i;if(!o||n===!1)return;const a=et(n)?n:Object.keys(o),l=a.map(u=>_t(u)).concat(e),h=new MutationObserver(u=>{const d=Ys(i,e);u.some(f=>{let{attributeName:m}=f;const C=m.replace("data-","");return(C===e?a:[Yt(C),Yt(m)]).some(E=>!R(d[E])&&d[E]!==s[E])})&&t.$reset()});return h.observe(r,{attributes:!0,attributeFilter:l.concat(l.map(u=>"data-"+u))}),h}function sr(t){const e=t.data;t.prototype.$create=function(s,n,o){return t[s](n,o)},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,B(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:o}=this.$options;n&&this._callDisconnected(),this._callHook("destroy"),n!=null&&n[e]&&(delete n[e][o],fe(n[e])||delete n[e],s&&ct(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=rt(s=>t.prefix+_t(s));Object.defineProperties(t.prototype,{$container:Object.getOwnPropertyDescriptor(t,"container"),$name:{get(){return i(this.$options.name)}}})}function nr(t){const e=t.data,i={};t.component=function(s,n){const o=_t(s);if(s=Yt(o),!n)return Tt(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:Tt(a)?a:[...arguments]}):a?D(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 r=Tt(n)?{...n}:n.options;return r.name=s,r.install==null||r.install(t,r,s),t._initialized&&!r.functional&&z.read(()=>t[s]("[uk-"+o+"],[data-uk-"+o+"]")),i[s]=Tt(n)?r:n},t.getComponents=s=>(s==null?void 0: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 o=Xs(n.name);o&&o in i&&t[o](s)}},t.disconnect=s=>{for(const n in s[e])s[e][n]._callDisconnected()}}const Xs=rt(t=>tt(t,"uk-")||tt(t,"data-uk-")?Yt(t.replace("data-uk-","").replace("uk-","")):!1),st=function(t){this._init(t)};st.util=Xo,st.data="__uikit__",st.prefix="uk-",st.options={},st.version="3.15.1-dev.5caebcda9",Go(st),Jo(st),Ko(st),nr(st),sr(st);function or(t){const{connect:e,disconnect:i}=t;if(!Ft||!window.MutationObserver)return;z.read(function(){document.body&&vt(document.body,e),new MutationObserver(o=>o.forEach(s)).observe(document,{childList:!0,subtree:!0}),new MutationObserver(o=>o.forEach(n)).observe(document,{attributes:!0,subtree:!0}),t._initialized=!0});function s(o){let{addedNodes:r,removedNodes:a}=o;for(const l of r)vt(l,e);for(const l of a)vt(l,i)}function n(o){var r;let{target:a,attributeName:l}=o;const h=Xs(l);if(!(!h||!(h in t))){if(It(a,l)){t[h](a);return}(r=t.getComponent(a,h))==null||r.$destroy()}}}var nt={connected(){!I(this.$el,this.$name)&&b(this.$el,this.$name)}},Se={data:{preload:5},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 $(mt(e)?e():e))D('[loading="lazy"]',n).slice(0,this.preload-1).forEach(o=>ge(o,"loading"));for(const n of i.filter(o=>{let{isIntersecting:r}=o;return r}).map(o=>{let{target:r}=o;return r}))s.unobserve(n)}))}}},Et={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(i=>tt(e[0],i))}},methods:{toggleElement(t,e,i){return new Promise(s=>Promise.all($(t).map(n=>{const o=Ne(e)?e:!this.isToggled(n);if(!g(n,"before"+(o?"show":"hide"),[this]))return Promise.reject();const r=(mt(i)?i:i===!1||!this.hasAnimation?rr(this):this.hasTransition?Gs(this):ar(this))(n,o),a=o?this.clsEnter:this.clsLeave;b(n,a),g(n,o?"show":"hide",[this]);const l=()=>{O(n,a),g(n,o?"shown":"hidden",[this]),this.$update(n)};return r?r.then(l,()=>(O(n,a),Promise.reject())):l()})).then(s,T))},isToggled(t){return t===void 0&&(t=this.$el),[t]=$(t),I(t,this.clsEnter)?!0:I(t,this.clsLeave)?!1:this.cls?I(t,this.cls.split(" ")[0]):V(t)},_toggle(t,e){if(!t)return;e=Boolean(e);let i;this.cls?(i=p(this.cls," ")||e!==I(t,this.cls),i&&W(t,this.cls,p(this.cls," ")?void 0:e)):(i=e===t.hidden,i&&(t.hidden=!e)),D("[autofocus]",t).some(s=>V(s)?s.focus()||!0:s.blur()),i&&(g(t,"toggled",[e,this]),this.$update(t))}}};function rr(t){let{_toggle:e}=t;return(i,s)=>(ft.cancel(i),S.cancel(i),e(i,s))}function Gs(t){var e;const[i="reveal",s="top"]=((e=t.animation[0])==null?void 0:e.split("-"))||[],n=[["left","right"],["top","bottom"]],o=n[p(n[0],s)?0:1],r=o[1]===s,l=["width","height"][n.indexOf(o)],h="margin-"+o[0],u="margin-"+s;return async(d,f)=>{let{duration:m,velocity:C,transition:E,_toggle:U}=t,F=x(d)[l];const ce=S.inProgress(d);await S.cancel(d),f&&U(d,!0);const hs=Object.fromEntries(["padding","border","width","height","overflowY","overflowX",h,u].map(ro=>[ro,d.style[ro]])),Me=x(d),cs=w(c(d,h)),so=w(c(d,u)),Vt=Me[l]+so;!ce&&!f&&(F+=so);const[wi]=Li(d,"<div>");c(wi,{boxSizing:"border-box",height:Me.height,width:Me.width,...c(d,["overflow","padding","borderTop","borderRight","borderBottom","borderLeft","borderImage",u])}),c(d,{padding:0,border:0,minWidth:0,minHeight:0,[u]:0,width:Me.width,height:Me.height,overflow:"hidden",[l]:F});const no=F/Vt;m=(C*Vt+m)*(f?1-no:no);const oo={[l]:f?Vt:0};r&&(c(d,h,Vt-F+cs),oo[h]=f?cs:Vt+cs),!r^i==="reveal"&&(c(wi,h,-Vt+F),S.start(wi,{[h]:f?0:-Vt},m,E));try{await S.start(d,oo,m,E)}finally{c(d,hs),Xe(wi.firstChild),f||U(d,!1)}}}function ar(t){return(e,i)=>{ft.cancel(e);const{animation:s,duration:n,_toggle:o}=t;return i?(o(e,!0),ft.in(e,s[0],n,t.origin)):ft.out(e,s[1]||s[0],n,t.origin).then(()=>o(e,!1))}}var Js={mixins:[nt,Se,Et],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 D(i,e)},watch(t,e){if(e||I(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=>v(e,i))},contents:{get(t){let{content:e}=t;return this.items.map(i=>v(e,i))},watch(t){for(const e of t)Ks(e,!I(this.items.find(i=>B(e,i)),this.clsOpen))},immediate:!0}},connected(){this.lazyload()},events:[{name:"click",delegate(){return this.targets+" "+this.$props.toggle},handler(t){t.preventDefault(),this.toggle(te(this.toggles,t.current))}}],methods:{toggle(t,e){let i=[this.items[Qt(t,this.items)]];const s=ve(this.items,"."+this.clsOpen);if(!this.multiple&&!p(s,i[0])&&(i=i.concat(s)),!(!this.collapsible&&s.length<2&&!ve(i,":not(."+this.clsOpen+")").length))for(const n of i)this.toggleElement(n,!I(n,this.clsOpen),async(o,r)=>{W(o,this.clsOpen,r),y(v(this.$props.toggle,o),"aria-expanded",r);const a=v(this.content,o);if(e===!1||!this.animation){a.hidden=!r,Ks(a,!r);return}if(await Gs(this)(a,r),r){const l=v(this.$props.toggle,o);z.read(()=>{Ue(l)||Yi(l,{offset:this.offset})})}})}}};function Ks(t,e){t&&(t.hidden=e)}var lr={mixins:[nt,Et],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,hr(this)),this.$destroy(!0)}}};function hr(t){let{duration:e,transition:i,velocity:s}=t;return n=>{const o=w(c(n,"height"));return c(n,"height",o),S.start(n,{height:0,marginTop:0,marginBottom:0,paddingTop:0,paddingBottom:0,borderTop:0,borderBottom:0,opacity:0},s*o+e,i)}}var Zs={args:"autoplay",props:{automute:Boolean,autoplay:Boolean},data:{automute:!1,autoplay:!0},connected(){this.inView=this.autoplay==="inview",this.inView&&!It(this.$el,"preload")&&(this.$el.preload="none"),pt(this.$el,"iframe")&&!It(this.$el,"allow")&&(this.$el.allow="autoplay"),this.automute&&Bs(this.$el),this.registerObserver(oe(this.$el,()=>this.$emit(),{},!1))},update:{read(){return Ms(this.$el)?{visible:V(this.$el)&&c(this.$el,"visibility")!=="hidden",inView:this.inView&&Ue(this.$el)}:!1},write(t){let{visible:e,inView:i}=t;!e||this.inView&&!i?_s(this.$el):(this.autoplay===!0||this.inView&&i)&&Os(this.$el)}}},wt={connected(){var t;this.registerObserver(Ke(((t=this.$options.resizeTargets)==null?void 0:t.call(this))||this.$el,()=>this.$emit("resize")))}},cr={mixins:[wt,Zs],props:{width:Number,height:Number},data:{automute:!0},events:{"load loadedmetadata"(){this.$emit("resize")}},resizeTargets(){return[this.$el,P(this.$el)]},update:{read(){const{ratio:t,cover:e}=Le,{$el:i,width:s,height:n}=this;let o={width:s,height:n};if(!o.width||!o.height){const h={width:i.naturalWidth||i.videoWidth||i.clientWidth,height:i.naturalHeight||i.videoHeight||i.clientHeight};o.width?o=t(h,"width",o.width):n?o=t(h,"height",o.height):o=h}const{offsetHeight:r,offsetWidth:a}=ur(i)||P(i),l=e(o,{width:a+(a%2?1:0),height:r+(r%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 ur(t){for(;t=P(t);)if(c(t,"position")!=="static")return t}var ae={props:{container:Boolean},data:{container:!0},computed:{container(t){let{container:e}=t;return e===!0&&this.$container||e&&v(e)}}},Qs={props:{pos:String,offset:null,flip:Boolean,shift:Boolean,inset:Boolean},data:{pos:"bottom-"+(X?"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=p(["top","bottom"],this.dir)?"y":"x"},methods:{positionAt(t,e,i){let s=[this.getPositionOffset(t),this.getShiftOffset(t)];const n=[this.flip&&"flip",this.shift&&"shift"],o={element:[this.inset?this.dir:qe(this.dir),this.align],target:[this.dir,this.align]};if(this.axis==="y"){for(const u in o)o[u].reverse();s.reverse(),n.reverse()}const[r]=Q(t,/auto|scroll/),{scrollTop:a,scrollLeft:l}=r,h=x(t);c(t,{top:-h.height,left:-h.width}),Ls(t,e,{attach:o,offset:s,boundary:i,placement:n,viewportOffset:this.getViewportOffset(t)}),r.scrollTop=a,r.scrollLeft=l},getPositionOffset(t){return J(this.offset===!1?c(t,"--uk-position-offset"):this.offset,this.axis==="x"?"width":"height",t)*(p(["left","top"],this.dir)?-1:1)*(this.inset?-1:1)},getShiftOffset(t){return this.align==="center"?0:J(c(t,"--uk-position-shift-offset"),this.axis==="y"?"width":"height",t)*(p(["left","top"],this.align)?1:-1)},getViewportOffset(t){return J(c(t,"--uk-position-viewport-offset"))}}},dr={beforeConnect(){this._style=y(this.$el,"style")},disconnected(){y(this.$el,"style",this._style)}};const ot=[];var Ki={mixins:[nt,ae,Et],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 v(i,e)},transitionElement(){return this.panel},bgClose(t){let{bgClose:e}=t;return e&&this.panel}},beforeDisconnect(){p(ot,this)&&this.toggleElement(this.$el,!1,!1)},events:[{name:"click",delegate(){return this.selClose},handler(t){t.preventDefault(),this.hide()}},{name:"toggle",self:!0,handler(t){t.defaultPrevented||(t.preventDefault(),this.isToggled()===p(ot,this)&&this.toggle())}},{name:"beforeshow",self:!0,handler(t){if(p(ot,this))return!1;!this.stack&&ot.length?(Promise.all(ot.map(e=>e.hide())).then(this.show),t.preventDefault()):ot.push(this)}},{name:"show",self:!0,handler(){N(this.$el,"hide",k(document,"focusin",t=>{Zt(ot)===this&&!B(t.target,this.$el)&&this.$el.focus()})),this.overlay&&(N(this.$el,"hidden",tn(this.$el),{self:!0}),N(this.$el,"hidden",en(),{self:!0})),this.stack&&c(this.$el,"zIndex",w(c(this.$el,"zIndex"))+ot.length),b(document.documentElement,this.clsPage),this.bgClose&&N(this.$el,"hide",k(document,gt,t=>{let{target:e}=t;Zt(ot)!==this||this.overlay&&!B(e,this.$el)||B(e,this.panel)||N(document,At+" "+Je+" scroll",i=>{let{defaultPrevented:s,type:n,target:o}=i;!s&&n===At&&e===o&&this.hide()},!0)}),{self:!0}),this.escClose&&N(this.$el,"hide",k(document,"keydown",t=>{t.keyCode===27&&Zt(ot)===this&&this.hide()}),{self:!0})}},{name:"shown",self:!0,handler(){je(this.$el)||y(this.$el,"tabindex","-1"),v(":focus",this.$el)||this.$el.focus()}},{name:"hidden",self:!0,handler(){p(ot,this)&&ot.splice(ot.indexOf(this),1),c(this.$el,"zIndex",""),ot.some(t=>t.clsPage===this.clsPage)||O(document.documentElement,this.clsPage)}}],methods:{toggle(){return this.isToggled()?this.hide():this.show()},show(){return this.container&&P(this.$el)!==this.container?(j(this.container,this.$el),new Promise(t=>requestAnimationFrame(()=>this.show().then(t)))):this.toggleElement(this.$el,!0,Us(this))},hide(){return this.toggleElement(this.$el,!1,Us(this))}}};function Us(t){let{transitionElement:e,_toggle:i}=t;return(s,n)=>new Promise((o,r)=>N(s,"show hide",()=>{s._reject==null||s._reject(),s._reject=r,i(s,n);const a=N(e,"transitionstart",()=>{N(e,"transitionend transitioncancel",o,{self:!0}),clearTimeout(l)},{self:!0}),l=setTimeout(()=>{a(),o()},fr(c(e,"transitionDuration")))})).then(()=>delete s._reject)}function fr(t){return t?Xt(t,"ms")?w(t):w(t)*1e3:0}function tn(t){if(CSS.supports("overscroll-behavior","contain")){const s=pr(t,n=>/auto|scroll/.test(c(n,"overflow")));return c(s,"overscrollBehavior","contain"),()=>c(s,"overscrollBehavior","")}let e;const i=[k(t,"touchstart",s=>{let{targetTouches:n}=s;n.length===1&&(e=n[0].clientY)},{passive:!0}),k(t,"touchmove",s=>{if(s.targetTouches.length!==1)return;let[n]=Q(s.target,/auto|scroll/);B(n,t)||(n=t);const o=s.targetTouches[0].clientY-e,{scrollTop:r,scrollHeight:a,clientHeight:l}=n;(l>=a||r===0&&o>0||a-r<=l&&o<0)&&s.cancelable&&s.preventDefault()},{passive:!1})];return()=>i.forEach(s=>s())}let Zi;function en(){if(Zi)return T;Zi=!0;const{scrollingElement:t}=document;return c(t,{overflowY:"hidden",touchAction:"none",paddingRight:ye(window)-t.clientWidth}),()=>{Zi=!1,c(t,{overflowY:"",touchAction:"",paddingRight:""})}}function pr(t,e){const i=[];return vt(t,s=>{e(s)&&i.push(s)}),i}let Y;var sn={mixins:[ae,Se,Qs,dr,Et],args:"pos",props:{mode:"list",toggle:Boolean,boundary: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,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:{target(t,e){let{target:i,targetX:s,targetY:n}=t;return s=s||i||this.targetEl,n=n||i||this.targetEl,[s===!0?window:dt(s,e),n===!0?window:dt(n,e)]}},created(){this.tracker=new ji},beforeConnect(){this.clsDrop=this.$props.clsDrop||"uk-"+this.$options.name},connected(){b(this.$el,this.clsDrop),this.toggle&&!this.targetEl&&(this.targetEl=this.$create("toggle",dt(this.toggle,this.$el),{target:this.$el,mode:this.mode}).$el,y(this.targetEl,"aria-haspopup",!0),this.lazyload(this.targetEl))},disconnected(){this.isActive()&&(this.hide(!1),Y=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&&!B(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==null?void 0:e.$el,!1)}},{name:"toggleshow",self:!0,handler(t,e){t.preventDefault(),this.show(e==null?void 0:e.$el)}},{name:"togglehide",self:!0,handler(t){t.preventDefault(),L(this.$el,":focus,:hover")||this.hide()}},{name:jt+" focusin",filter(){return p(this.mode,"hover")},handler(t){$t(t)||this.clearTimers()}},{name:ne+" focusout",filter(){return p(this.mode,"hover")},handler(t){!$t(t)&&t.relatedTarget&&this.hide()}},{name:"toggled",self:!0,handler(t,e){!e||(this.clearTimers(),this.position())}},{name:"show",self:!0,handler(){Y=this,this.tracker.init();const t=()=>this.$emit(),e=[k(document,gt,i=>{let{target:s}=i;return!B(s,this.$el)&&N(document,At+" "+Je+" scroll",n=>{let{defaultPrevented:o,type:r,target:a}=n;!o&&r===At&&s===a&&!(this.targetEl&&B(s,this.targetEl))&&this.hide(!1)},!0)}),k(document,"keydown",i=>{i.keyCode===27&&this.hide(!1)}),k(window,"resize",t),(()=>{const i=Ke(Q(this.$el).concat(this.target),t);return()=>i.disconnect()})(),...this.autoUpdate?[k([document,Q(this.$el)],"scroll",t)]:[],...this.bgScroll?[]:[tn(this.$el),en()]];N(this.$el,"hide",()=>e.forEach(i=>i()),{self:!0})}},{name:"beforehide",self:!0,handler(){this.clearTimers()}},{name:"hide",handler(t){let{target:e}=t;if(this.$el!==e){Y=Y===null&&B(e,this.$el)&&this.isToggled()?this:Y;return}Y=this.isActive()?null:Y,this.tracker.cancel()}}],update:{write(){this.isToggled()&&!I(this.$el,this.clsEnter)&&this.position()}},methods:{show(t,e){if(t===void 0&&(t=this.targetEl),e===void 0&&(e=!0),this.isToggled()&&t&&this.targetEl&&t!==this.targetEl&&this.hide(!1,!1),this.targetEl=t,this.clearTimers(),!this.isActive()){if(Y){if(e&&Y.isDelaying){this.showTimer=setTimeout(()=>L(t,":hover")&&this.show(),10);return}let i;for(;Y&&i!==Y&&!B(this.$el,Y.$el);)i=Y,Y.hide(!1,!1)}this.container&&P(this.$el)!==this.container&&j(this.container,this.$el),this.showTimer=setTimeout(()=>this.toggleElement(this.$el,!0),e&&this.delayShow||0)}},hide(t,e){t===void 0&&(t=!0),e===void 0&&(e=!0);const i=()=>this.toggleElement(this.$el,!1,this.animateOut&&e);this.clearTimers(),this.isDelaying=gr(this.$el).some(s=>this.tracker.movesTo(s)),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 Y===this},position(){O(this.$el,this.clsDrop+"-stack"),y(this.$el,"style",this._style),this.$el.hidden=!0;const t=dt(this.boundary,this.$el),e=A(t||window),i=this.target.map(r=>lt(Q(r)[0])),s=this.getViewportOffset(this.$el),n=[[0,["x","width","left","right"]],[1,["y","height","top","bottom"]]];for(const[r,[a,l]]of n)this.axis!==a&&p([a,!0],this.stretch)&&c(this.$el,{[l]:Math.min(e[l],i[r][l]-2*s),["overflow-"+a]:"auto"});const o=i[0].width-2*s;this.$el.offsetWidth>o&&b(this.$el,this.clsDrop+"-stack"),c(this.$el,"maxWidth",o),this.$el.hidden=!1,this.positionAt(this.$el,this.target,t);for(const[r,[a,l,h,u]]of n)if(this.axis===a&&p([a,!0],this.stretch)){const d=Math.abs(this.getPositionOffset(this.$el)),f=A(this.target[r]),m=A(this.$el);c(this.$el,{[l]:(f[h]>m[h]?f[h]-Math.max(e[h],i[r][h]+s):Math.min(e[u],i[r][u]-s)-f[u])-d,["overflow-"+a]:"auto"}),this.positionAt(this.$el,this.target,t)}}}};function gr(t){const e=[];return vt(t,i=>c(i,"position")!=="static"&&e.push(i)),e}var mr={mixins:[nt],args:"target",props:{target:Boolean},data:{target:!1},computed:{input(t,e){return v(me,e)},state(){return this.input.nextElementSibling},target(t,e){let{target:i}=t;return i&&(i===!0&&P(this.input)===e&&this.input.nextElementSibling||v(i,e))}},update(){var t;const{target:e,input:i}=this;if(!e)return;let s;const n=Ii(e)?"value":"textContent",o=e[n],r=(t=i.files)!=null&&t[0]?i.files[0].name:L(i,"select")&&(s=D("option",i).filter(a=>a.selected)[0])?s.textContent:i.value;o!==r&&(e[n]=r)},events:[{name:"change",handler(){this.$emit()}},{name:"reset",el(){return it(this.$el,"form")},handler(){this.$emit()}}]},nn={mixins:[wt],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(Ps(this.$el,()=>this.$reset(),{childList:!0}))},update:{read(){const t=Qi(this.$el.children);return{rows:t,columns:vr(t)}},write(t){let{columns:e,rows:i}=t;for(const s of i)for(const n of s)W(n,this.margin,i[0]!==s),W(n,this.firstColumn,e[0].includes(n))},events:["resize"]}};function Qi(t){return on(t,"top","bottom")}function vr(t){const e=[];for(const i of t){const s=on(i,"left","right");for(let n=0;n<s.length;n++)e[n]=e[n]?e[n].concat(s[n]):s[n]}return X?e.reverse():e}function on(t,e,i){const s=[[]];for(const n of t){if(!V(n))continue;let o=ii(n);for(let r=s.length-1;r>=0;r--){const a=s[r];if(!a[0]){a.push(n);break}let l;if(a[0].offsetParent===n.offsetParent?l=ii(a[0]):(o=ii(n,!0),l=ii(a[0],!0)),o[e]>=l[i]-1&&o[e]!==l[e]){s.push([n]);break}if(o[i]-1>l[e]||o[e]===l[e]){a.push(n);break}if(r===0){s.unshift([n]);break}}}return s}function ii(t,e){e===void 0&&(e=!1);let{offsetTop:i,offsetLeft:s,offsetHeight:n,offsetWidth:o}=t;return e&&([i,s]=Ht(t)),{top:i,left:s,bottom:i+n,right:s+o}}var Te={connected(){wr(this._uid,()=>this.$emit("scroll"))},disconnected(){br(this._uid)}};const si=new Map;let Ce;function wr(t,e){Ce=Ce||k(window,"scroll",()=>si.forEach(i=>i()),{passive:!0,capture:!0}),si.set(t,e)}function br(t){si.delete(t),Ce&&!si.size&&(Ce(),Ce=null)}var xr={extends:nn,mixins:[nt,Te],name:"grid",props:{masonry:Boolean,parallax:Number},data:{margin:"uk-grid-margin",clsStack:"uk-grid-stack",masonry:!1,parallax:0},connected(){this.masonry&&b(this.$el,"uk-flex-top uk-flex-wrap-top")},update:[{write(t){let{columns:e}=t;W(this.$el,this.clsStack,e.length<2)},events:["resize"]},{read(t){let{columns:e,rows:i}=t;if(!e.length||!this.masonry&&!this.parallax||rn(this.$el))return t.translates=!1,!1;let s=!1;const n=M(this.$el),o=kr(e),r=$r(n,this.margin)*(i.length-1),a=Math.max(...o)+r;this.masonry&&(e=e.map(h=>ze(h,"offsetTop")),s=yr(i,e));let l=Math.abs(this.parallax);return l&&(l=o.reduce((h,u,d)=>Math.max(h,u+r+(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&&rn(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,o)=>n.forEach((r,a)=>c(r,"transform",!i&&!s?"":"translateY("+((s&&-s[o][a])+(i?o%2?i:i/8:0))+"px)")))},events:["scroll","resize"]}]};function rn(t){return M(t).some(e=>c(e,"position")==="absolute")}function yr(t,e){const i=t.map(s=>Math.max(...s.map(n=>n.offsetHeight)));return e.map(s=>{let n=0;return s.map((o,r)=>n+=r?i[r-1]-s[r-1].offsetHeight:0)})}function $r(t,e){const[i]=t.filter(s=>I(s,e));return w(i?c(i,"marginTop"):c(t[0],"paddingLeft"))}function kr(t){return t.map(e=>e.reduce((i,s)=>i+s.offsetHeight,0))}var Sr={mixins:[wt],args:"target",props:{target:String,row:Boolean},data:{target:"> *",row:!0},computed:{elements:{get(t,e){let{target:i}=t;return D(i,e)},watch(){this.$reset()}}},resizeTargets(){return[this.$el,...this.elements]},update:{read(){return{rows:(this.row?Qi(this.elements):[this.elements]).map(Tr)}},write(t){let{rows:e}=t;for(const{heights:i,elements:s}of e)s.forEach((n,o)=>c(n,"minHeight",i[o]))},events:["resize"]}};function Tr(t){if(t.length<2)return{heights:[""],elements:t};c(t,"minHeight","");let e=t.map(Cr);const i=Math.max(...e);return{heights:t.map((s,n)=>e[n].toFixed(2)===i.toFixed(2)?"":i),elements:t}}function Cr(t){let e=!1;V(t)||(e=t.style.display,c(t,"display","block","important"));const i=x(t).height-ie(t,"height","content-box");return e!==!1&&c(t,"display",e),i}var Ir={mixins:[wt],props:{expand:Boolean,offsetTop:Boolean,offsetBottom:Boolean,minHeight:Number},data:{expand:!1,offsetTop:!1,offsetBottom:!1,minHeight:0},resizeTargets(){return[this.$el,...Q(this.$el,/auto|scroll/)]},update:{read(t){let{minHeight:e}=t;if(!V(this.$el))return!1;let i="";const s=ie(this.$el,"height","content-box"),{body:n,scrollingElement:o}=document,[r]=Q(this.$el,/auto|scroll/),{height:a}=lt(r===n?o:r);if(this.expand)i=Math.max(a-(x(r).height-x(this.$el).height)-s,0);else{const l=o===r||n===r;if(i="calc("+(l?"100vh":a+"px"),this.offsetTop)if(l){const h=Ht(this.$el)[0]-Ht(r)[0];i+=h>0&&h<a/2?" - "+h+"px":""}else i+=" - "+c(r,"paddingTop");this.offsetBottom===!0?i+=" - "+x(this.$el.nextElementSibling).height+"px":Bt(this.offsetBottom)?i+=" - "+this.offsetBottom+"vh":this.offsetBottom&&Xt(this.offsetBottom,"px")?i+=" - "+w(this.offsetBottom)+"px":_(this.offsetBottom)&&(i+=" - "+x(dt(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&&w(c(this.$el,"minHeight"))<this.minHeight&&c(this.$el,"minHeight",this.minHeight)},events:["resize"]}},an={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-svg"},connected(){!this.icon&&p(this.src,"#")&&([this.src,this.icon]=this.src.split("#")),this.svg=this.getSvg().then(t=>{if(this._connected){const e=Or(t,this.$el);return this.svgEl&&e!==this.svgEl&&ct(this.svgEl),this.applyAttributes(e,t),this.svgEl=e}},T),this.strokeAnimation&&this.svg.then(t=>{this._connected&&(hn(t),this.registerObserver(oe(t,(e,i)=>{hn(t),i.disconnect()})))})},disconnected(){this.svg.then(t=>{this._connected||(Ci(this.$el)&&(this.$el.hidden=!1),ct(t),this.svgEl=null)}),this.svg=null},methods:{async getSvg(){return pt(this.$el,"img")&&!this.$el.complete&&this.$el.loading==="lazy"?new Promise(t=>N(this.$el,"load",()=>t(this.getSvg()))):Ar(await Pr(this.src),this.icon)||Promise.reject("SVG not found.")},applyAttributes(t,e){for(const o in this.$options.props)p(this.include,o)&&o in this&&y(t,o,this[o]);for(const o in this.attributes){const[r,a]=this.attributes[o].split(":",2);y(t,r,a)}this.id||ge(t,"id");const i=["width","height"];let s=i.map(o=>this[o]);s.some(o=>o)||(s=i.map(o=>y(e,o)));const n=y(e,"viewBox");n&&!s.some(o=>o)&&(s=n.split(" ").slice(2)),s.forEach((o,r)=>y(t,i[r],w(o)*this.ratio||null))}}};const Pr=rt(async t=>t?tt(t,"data:")?decodeURIComponent(t.split(",")[1]):(await fetch(t)).text():Promise.reject());function Ar(t,e){var i;return e&&p(t,"<symbol")&&(t=Er(t,e)||t),t=v(t.substr(t.indexOf("<svg"))),((i=t)==null?void 0:i.hasChildNodes())&&t}const ln=/<symbol([^]*?id=(['"])(.+?)\2[^]*?<\/)symbol>/g,ni={};function Er(t,e){if(!ni[t]){ni[t]={},ln.lastIndex=0;let i;for(;i=ln.exec(t);)ni[t][i[3]]='<svg xmlns="http://www.w3.org/2000/svg"'+i[1]+"svg>"}return ni[t][e]}function hn(t){const e=cn(t);e&&t.style.setProperty("--uk-animation-stroke",e)}function cn(t){return Math.ceil(Math.max(0,...D("[stroke]",t).map(e=>{try{return e.getTotalLength()}catch{return 0}})))}function Or(t,e){if(Ci(e)||pt(e,"canvas")){e.hidden=!0;const s=e.nextElementSibling;return un(t,s)?s:Ve(e,t)}const i=e.lastElementChild;return un(t,i)?i:j(e,t)}function un(t,e){return pt(t,"svg")&&pt(e,"svg")&&dn(t)===dn(e)}function dn(t){return(t.innerHTML||new XMLSerializer().serializeToString(t).replace(/<svg.*?>(.*?)<\/svg>/g,"$1")).replace(/\s/g,"")}var _r='<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>',Br='<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>',Mr='<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>',Dr='<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>',Nr='<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>',zr='<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>',Hr=`<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-'] {
1
+ /*! UIkit 3.15.1-dev.a66c977f5 | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */(function(ue,de){typeof exports=="object"&&typeof module<"u"?module.exports=de():typeof define=="function"&&define.amd?define("uikit",de):(ue=typeof globalThis<"u"?globalThis:ue||self,ue.UIkit=de())})(this,function(){"use strict";const{hasOwnProperty:ue,toString:de}=Object.prototype;function Ot(t,e){return ue.call(t,e)}const ao=/\B([A-Z])/g,_t=rt(t=>t.replace(ao,"-$1").toLowerCase()),lo=/-(\w)/g,Yt=rt(t=>t.replace(lo,us)),kt=rt(t=>t.length?us(null,t.charAt(0))+t.slice(1):"");function us(t,e){return e?e.toUpperCase():""}function tt(t,e){return t==null||t.startsWith==null?void 0:t.startsWith(e)}function Xt(t,e){return t==null||t.endsWith==null?void 0:t.endsWith(e)}function p(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:et,from:bi}=Array,{assign:xt}=Object;function mt(t){return typeof t=="function"}function St(t){return t!==null&&typeof t=="object"}function Tt(t){return de.call(t)==="[object Object]"}function Gt(t){return St(t)&&t===t.window}function De(t){return yi(t)===9}function xi(t){return yi(t)>=1}function Jt(t){return yi(t)===1}function yi(t){return!Gt(t)&&St(t)&&t.nodeType}function Ne(t){return typeof t=="boolean"}function _(t){return typeof t=="string"}function Kt(t){return typeof t=="number"}function Bt(t){return Kt(t)||_(t)&&!isNaN(t-parseFloat(t))}function fe(t){return!(et(t)?t.length:St(t)?Object.keys(t).length:!1)}function R(t){return t===void 0}function $i(t){return Ne(t)?t:t==="true"||t==="1"||t===""?!0:t==="false"||t==="0"?!1:t}function Ct(t){const e=Number(t);return isNaN(e)?!1:e}function w(t){return parseFloat(t)||0}function q(t){return $(t)[0]}function $(t){return t&&(xi(t)?[t]:Array.from(t).filter(xi))||[]}function Mt(t){var e;if(Gt(t))return t;t=q(t);const i=De(t)?t:(e=t)==null?void 0:e.ownerDocument;return(i==null?void 0:i.defaultView)||window}function pe(t,e){return t===e||St(t)&&St(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 Zt(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 ze(t,e){return t.slice().sort((i,s)=>{let{[e]:n=0}=i,{[e]:o=0}=s;return n>o?1:o>n?-1:0})}function ds(t,e){const i=new Set;return t.filter(s=>{let{[e]:n}=s;return i.has(n)?!1:i.add(n)})}function Z(t,e,i){return e===void 0&&(e=0),i===void 0&&(i=1),Math.min(Math.max(Ct(t)||0,e),i)}function T(){}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,o]=s;return Math.min(...e.map(r=>{let{[n]:a}=r;return a}))-Math.max(...e.map(r=>{let{[o]:a}=r;return a}))>0})}function He(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 fs(t,e){t={...t};for(const i in t)t=t[i]>e[i]?Ti(t,i,e[i]):t;return t}function ho(t,e){t=fs(t,e);for(const i in t)t=t[i]<e[i]?Ti(t,i,e[i]):t;return t}const Le={ratio:Ti,contain:fs,cover:ho};function Qt(t,e,i,s){i===void 0&&(i=0),s===void 0&&(s=!1),e=$(e);const{length:n}=e;return n?(t=Bt(t)?Ct(t):t==="next"?i+1:t==="previous"?i-1:e.indexOf(q(t)),s?Z(t,0,n-1):(t%=n,t<0?t+n:t)):-1}function rt(t){const e=Object.create(null);return i=>e[i]||(e[i]=t(i))}class Fe{constructor(){this.promise=new Promise((e,i)=>{this.reject=i,this.resolve=e})}}function y(t,e,i){if(St(e)){for(const n in e)y(t,n,e[n]);return}if(R(i)){var s;return(s=q(t))==null?void 0:s.getAttribute(e)}else for(const n of $(t))mt(i)&&(i=i.call(n,y(n,e))),i===null?ge(n,e):n.setAttribute(e,i)}function It(t,e){return $(t).some(i=>i.hasAttribute(e))}function ge(t,e){const i=$(t);for(const s of e.split(" "))for(const n of i)n.removeAttribute(s)}function at(t,e){for(const i of[e,"data-"+e])if(It(t,i))return y(t,i)}const co={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 $(t).some(e=>co[e.tagName.toLowerCase()])}function V(t){return $(t).some(e=>e.offsetWidth||e.offsetHeight||e.getClientRects().length)}const me="input,select,textarea,button";function Ii(t){return $(t).some(e=>L(e,me))}const We=me+",a[href],[tabindex]";function je(t){return L(t,We)}function P(t){var e;return(e=q(t))==null?void 0:e.parentElement}function ve(t,e){return $(t).filter(i=>L(i,e))}function L(t,e){return $(t).some(i=>i.matches(e))}function it(t,e){return Jt(t)?t.closest(tt(e,">")?e.slice(1):e):$(t).map(i=>it(i,e)).filter(Boolean)}function B(t,e){return _(e)?!!it(t,e):q(e).contains(q(t))}function Ut(t,e){const i=[];for(;t=P(t);)(!e||L(t,e))&&i.push(t);return i}function M(t,e){t=q(t);const i=t?$(t.children):[];return e?ve(i,e):i}function te(t,e){return e?$(t).indexOf(q(e)):M(P(t)).indexOf(t)}function dt(t,e){return Pi(t,gs(t,e))}function we(t,e){return be(t,gs(t,e))}function Pi(t,e){return q(ms(t,e,"querySelector"))}function be(t,e){return $(ms(t,e,"querySelectorAll"))}const uo=/(^|[^\\],)\s*[!>+~-]/,ps=rt(t=>t.match(uo));function gs(t,e){return e===void 0&&(e=document),_(t)&&ps(t)||De(e)?e:e.ownerDocument}const fo=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,po=rt(t=>t.replace(fo,"$1 *"));function ms(t,e,i){if(e===void 0&&(e=document),!t||!_(t))return t;if(t=po(t),ps(t)){const s=mo(t);t="";for(let n of s){let o=e;if(n[0]==="!"){const r=n.substr(1).trim().split(" ");if(o=it(P(e),r[0]),n=r.slice(1).join(" ").trim(),!n.length&&s.length===1)return o}if(n[0]==="-"){const r=n.substr(1).trim().split(" "),a=(o||e).previousElementSibling;o=L(a,n.substr(1))?a:null,n=r.slice(1).join(" ")}o&&(t+=(t?",":"")+vo(o)+" "+n)}e=document}try{return e[i](t)}catch{return null}}const go=/.*?[^\\](?:,|$)/g,mo=rt(t=>t.match(go).map(e=>e.replace(/,$/,"").trim()));function vo(t){const e=[];for(;t.parentNode;){const i=y(t,"id");if(i){e.unshift("#"+Ai(i));break}else{let{tagName:s}=t;s!=="HTML"&&(s+=":nth-child("+(te(t)+1)+")"),e.unshift(s),t=t.parentNode}}return e.join(" > ")}function Ai(t){return _(t)?CSS.escape(t):""}function k(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];let[s,n,o,r,a=!1]=Ei(e);r.length>1&&(r=bo(r)),a!=null&&a.self&&(r=xo(r)),o&&(r=wo(o,r));for(const l of n)for(const h of s)h.addEventListener(l,r,a);return()=>Dt(s,n,r,a)}function Dt(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];let[s,n,,o,r=!1]=Ei(e);for(const a of n)for(const l of s)l.removeEventListener(a,o,r)}function N(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];const[s,n,o,r,a=!1,l]=Ei(e),h=k(s,n,o,u=>{const d=!l||l(u);d&&(h(),r(u,d))},a);return h}function g(t,e,i){return Oi(t).every(s=>s.dispatchEvent(Nt(e,!0,!0,i)))}function Nt(t,e,i,s){return e===void 0&&(e=!0),i===void 0&&(i=!1),_(t)&&(t=new CustomEvent(t,{bubbles:e,cancelable:i,detail:s})),t}function Ei(t){return t[0]=Oi(t[0]),_(t[1])&&(t[1]=t[1].split(" ")),mt(t[2])&&t.splice(2,0,!1),t}function wo(t,e){return i=>{const s=t[0]===">"?be(t,i.currentTarget).reverse().filter(n=>B(i.target,n))[0]:it(i.target,t);s&&(i.current=s,e.call(this,i))}}function bo(t){return e=>et(e.detail)?t(e,...e.detail):t(e)}function xo(t){return function(e){if(e.target===e.currentTarget||e.target===e.current)return t.call(null,e)}}function vs(t){return t&&"addEventListener"in t}function yo(t){return vs(t)?t:q(t)}function Oi(t){return et(t)?t.map(yo).filter(Boolean):_(t)?be(t):vs(t)?[t]:$(t)}function $t(t){return t.pointerType==="touch"||!!t.touches}function ee(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 ws(t,e){const i={data:null,method:"GET",headers:{},xhr:new XMLHttpRequest,beforeSend:T,responseType:"",...e};return Promise.resolve().then(()=>i.beforeSend(i)).then(()=>$o(t,i))}function $o(t,e){return new Promise((i,s)=>{const{xhr:n}=e;for(const o in e)if(o in n)try{n[o]=e[o]}catch{}n.open(e.method.toUpperCase(),t);for(const o in e.headers)n.setRequestHeader(o,e.headers[o]);k(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}))}),k(n,"error",()=>s(xt(Error("Network Error"),{xhr:n}))),k(n,"timeout",()=>s(xt(Error("Network Timeout"),{xhr:n}))),n.send(e.data)})}function bs(t,e,i){return new Promise((s,n)=>{const o=new Image;o.onerror=r=>{n(r)},o.onload=()=>{s(o)},i&&(o.sizes=i),e&&(o.srcset=e),o.src=t})}const ko={"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=$(t);for(const o of n)if(_(e)){if(e=_i(e),R(i))return getComputedStyle(o).getPropertyValue(e);o.style.setProperty(e,Bt(i)&&!ko[e]?i+"px":i||Kt(i)?i:"",s)}else if(et(e)){const r={};for(const a of e)r[a]=c(o,a);return r}else St(e)&&(s=i,yt(e,(r,a)=>c(o,a,r,s)));return n[0]}const _i=rt(t=>So(t));function So(t){if(tt(t,"--"))return t;t=_t(t);const{style:e}=document.documentElement;if(t in e)return t;for(const i of["webkit","moz"]){const s="-"+i+"-"+t;if(s in e)return s}}function b(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),s=1;s<e;s++)i[s-1]=arguments[s];xs(t,i,"add")}function O(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),s=1;s<e;s++)i[s-1]=arguments[s];xs(t,i,"remove")}function Bi(t,e){y(t,"class",i=>(i||"").replace(new RegExp("\\b"+e+"\\b\\s?","g"),""))}function Mi(t){!(arguments.length<=1)&&arguments[1]&&O(t,arguments.length<=1?void 0:arguments[1]),!(arguments.length<=2)&&arguments[2]&&b(t,arguments.length<=2?void 0:arguments[2])}function I(t,e){return[e]=Di(e),!!e&&$(t).some(i=>i.classList.contains(e))}function W(t,e,i){const s=Di(e);R(i)||(i=!!i);for(const n of $(t))for(const o of s)n.classList.toggle(o,i)}function xs(t,e,i){e=e.reduce((s,n)=>s.concat(Di(n)),[]);for(const s of $(t))s.classList[i](...e)}function Di(t){return String(t).split(/\s|,/).filter(Boolean)}function To(t,e,i,s){return i===void 0&&(i=400),s===void 0&&(s="linear"),i=Math.round(i),Promise.all($(t).map(n=>new Promise((o,r)=>{for(const l in e){const h=c(n,l);h===""&&c(n,l,h)}const a=setTimeout(()=>g(n,"transitionend"),i);N(n,"transitionend transitioncanceled",l=>{let{type:h}=l;clearTimeout(a),O(n,"uk-transition"),c(n,{transitionProperty:"",transitionDuration:"",transitionTimingFunction:""}),h==="transitioncanceled"?r():o(n)},{self:!0}),b(n,"uk-transition"),c(n,{transitionProperty:Object.keys(e).map(_i).join(","),transitionDuration:i+"ms",transitionTimingFunction:s,...e})})))}const S={start:To,async stop(t){g(t,"transitionend"),await Promise.resolve()},async cancel(t){g(t,"transitioncanceled"),await Promise.resolve()},inProgress(t){return I(t,"uk-transition")}},xe="uk-animation-";function ys(t,e,i,s,n){return i===void 0&&(i=200),Promise.all($(t).map(o=>new Promise((r,a)=>{g(o,"animationcanceled");const l=setTimeout(()=>g(o,"animationend"),i);N(o,"animationend animationcanceled",h=>{let{type:u}=h;clearTimeout(l),u==="animationcanceled"?a():r(o),c(o,"animationDuration",""),Bi(o,xe+"\\S*")},{self:!0}),c(o,"animationDuration",i+"ms"),b(o,e,xe+(n?"leave":"enter")),tt(e,xe)&&(s&&b(o,"uk-transform-origin-"+s),n&&b(o,xe+"reverse"))})))}const Co=new RegExp(xe+"(enter|leave)"),ft={in:ys,out(t,e,i,s){return ys(t,e,i,s,!0)},inProgress(t){return Co.test(y(t,"class"))},cancel(t){g(t,"animationcanceled")}},zt={width:["left","right"],height:["top","bottom"]};function x(t){const e=Jt(t)?q(t).getBoundingClientRect():{height:G(t),width:ye(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 A(t,e){const i=x(t);if(t){const{scrollY:n,scrollX:o}=Mt(t),r={height:n,width:o};for(const a in zt)for(const l of zt[a])i[l]+=r[a]}if(!e)return i;const s=c(t,"position");yt(c(t,["left","top"]),(n,o)=>c(t,o,e[o]-i[o]+w(s==="absolute"&&n==="auto"?Re(t)[o]:n)))}function Re(t){let{top:e,left:i}=A(t);const{ownerDocument:{body:s,documentElement:n},offsetParent:o}=q(t);let r=o||n;for(;r&&(r===s||r===n)&&c(r,"position")==="static";)r=r.parentNode;if(Jt(r)){const a=A(r);e-=a.top+w(c(r,"borderTopWidth")),i-=a.left+w(c(r,"borderLeftWidth"))}return{top:e-w(c(t,"marginTop")),left:i-w(c(t,"marginLeft"))}}function Ht(t){t=q(t);const e=[t.offsetTop,t.offsetLeft];for(;t=t.offsetParent;)if(e[0]+=t.offsetTop+w(c(t,"borderTopWidth")),e[1]+=t.offsetLeft+w(c(t,"borderLeftWidth")),c(t,"position")==="fixed"){const i=Mt(t);return e[0]+=i.scrollY,e[1]+=i.scrollX,e}return e}const G=$s("height"),ye=$s("width");function $s(t){const e=kt(t);return(i,s)=>{if(R(s)){if(Gt(i))return i["inner"+e];if(De(i)){const n=i.documentElement;return Math.max(n["offset"+e],n["scroll"+e])}return i=q(i),s=c(i,t),s=s==="auto"?i["offset"+e]:w(s)||0,s-ie(i,t)}else return c(i,t,!s&&s!==0?"":+s+ie(i,t)+"px")}}function ie(t,e,i){return i===void 0&&(i="border-box"),c(t,"boxSizing")===i?zt[e].map(kt).reduce((s,n)=>s+w(c(t,"padding"+n))+w(c(t,"border"+n+"Width")),0):0}function qe(t){for(const e in zt)for(const i in zt[e])if(zt[e][i]===t)return zt[e][1-i];return t}function J(t,e,i,s){return e===void 0&&(e="width"),i===void 0&&(i=window),s===void 0&&(s=!1),_(t)?Po(t).reduce((n,o)=>{const r=Eo(o);return r&&(o=Oo(r==="vh"?G(Mt(i)):r==="vw"?ye(Mt(i)):s?i["offset"+kt(e)]:x(i)[e],o)),n+w(o)},0):w(t)}const Io=/-?\d+(?:\.\d+)?(?:v[wh]|%|px)?/g,Po=rt(t=>t.toString().replace(/\s/g,"").match(Io)||[]),Ao=/(?:v[hw]|%)$/,Eo=rt(t=>(t.match(Ao)||[])[0]);function Oo(t,e){return t*w(e)/100}function Ni(t){if(document.readyState!=="loading"){t();return}N(document,"DOMContentLoaded",t)}function pt(t,e){var i;return(t==null||(i=t.tagName)==null?void 0:i.toLowerCase())===e.toLowerCase()}function ks(t){return t=v(t),t.innerHTML="",t}function Pt(t,e){return R(e)?v(t).innerHTML:j(ks(t),e)}const _o=Ye("prepend"),j=Ye("append"),zi=Ye("before"),Ve=Ye("after");function Ye(t){return function(e,i){var s;const n=$(_(i)?Lt(i):i);return(s=v(e))==null||s[t](...n),Ss(n)}}function ct(t){$(t).forEach(e=>e.remove())}function Hi(t,e){for(e=q(zi(t,e));e.firstChild;)e=e.firstChild;return j(e,t),e}function Li(t,e){return $($(t).map(i=>i.hasChildNodes()?Hi($(i.childNodes),e):j(i,e)))}function Xe(t){$(t).map(P).filter((e,i,s)=>s.indexOf(e)===i).forEach(e=>e.replaceWith(...e.childNodes))}const Bo=/^\s*<(\w+|!)[^>]*>/,Mo=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function Lt(t){const e=Mo.exec(t);if(e)return document.createElement(e[1]);const i=document.createElement("div");return Bo.test(t)?i.insertAdjacentHTML("beforeend",t.trim()):i.textContent=t,Ss(i.childNodes)}function Ss(t){return t.length>1?t:t[0]}function vt(t,e){if(!!Jt(t))for(e(t),t=t.firstElementChild;t;){const i=t.nextElementSibling;vt(t,e),t=i}}function v(t,e){return Ts(t)?q(Lt(t)):Pi(t,e)}function D(t,e){return Ts(t)?$(Lt(t)):be(t,e)}function Ts(t){return _(t)&&tt(t.trim(),"<")}const Ft=typeof window<"u",X=Ft&&y(document.documentElement,"dir")==="rtl",Wt=Ft&&"ontouchstart"in window,se=Ft&&window.PointerEvent,gt=se?"pointerdown":Wt?"touchstart":"mousedown",Ge=se?"pointermove":Wt?"touchmove":"mousemove",At=se?"pointerup":Wt?"touchend":"mouseup",jt=se?"pointerenter":Wt?"":"mouseenter",ne=se?"pointerleave":Wt?"":"mouseleave",Je=se?"pointercancel":"touchcancel",z={reads:[],writes:[],read(t){return this.reads.push(t),Wi(),t},write(t){return this.writes.push(t),Wi(),t},clear(t){Is(this.reads,t),Is(this.writes,t)},flush:Fi};function Fi(t){Cs(z.reads),Cs(z.writes.splice(0)),z.scheduled=!1,(z.reads.length||z.writes.length)&&Wi(t+1)}const Do=4;function Wi(t){z.scheduled||(z.scheduled=!0,t&&t<Do?Promise.resolve().then(()=>Fi(t)):requestAnimationFrame(()=>Fi(1)))}function Cs(t){let e;for(;e=t.shift();)try{e()}catch(i){console.error(i)}}function Is(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=k(document,"mousemove",e=>t=ee(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:o}=e,[r]=this.positions,a=Zt(this.positions),l=[r,a];return He(a,e)?!1:[[{x:i,y:n},{x:s,y:o}],[{x:i,y:o},{x:s,y:n}]].some(u=>{const d=No(l,u);return d&&He(d,e)})}};function No(t,e){let[{x:i,y:s},{x:n,y:o}]=t,[{x:r,y:a},{x:l,y:h}]=e;const u=(h-a)*(n-i)-(l-r)*(o-s);if(u===0)return!1;const d=((l-r)*(s-a)-(h-a)*(i-r))/u;return d<0?!1:{x:i+d*(n-i),y:s+d*(o-s)}}function oe(t,e,i,s){s===void 0&&(s=!0);const n=new IntersectionObserver(s?(o,r)=>{o.some(a=>a.isIntersecting)&&e(o,r)}:e,i);for(const o of $(t))n.observe(o);return n}const zo=Ft&&window.ResizeObserver;function Ke(t,e,i){return i===void 0&&(i={box:"border-box"}),zo?As(ResizeObserver,t,e,i):(Ho(),$e.add(e),{disconnect(){$e.delete(e)}})}let $e;function Ho(){if($e)return;$e=new Set;let t;const e=()=>{if(!t){t=!0,z.read(()=>t=!1);for(const i of $e)i()}};k(window,"load resize",e),k(document,"loadedmetadata load",e,!0)}function Ps(t,e,i){return As(MutationObserver,t,e,i)}function As(t,e,i,s){const n=new t(i);for(const o of $(e))n.observe(o,s);return n}const K={};K.events=K.created=K.beforeConnect=K.connected=K.beforeDisconnect=K.disconnected=K.destroy=Ri,K.args=function(t,e){return e!==!1&&Ri(e||t)},K.update=function(t,e){return ze(Ri(t,mt(e)?{read:e}:e),"order")},K.props=function(t,e){if(et(e)){const i={};for(const s of e)i[s]=String;e=i}return K.methods(t,e)},K.computed=K.methods=function(t,e){return e?t?{...t,...e}:e:t},K.data=function(t,e,i){return i?Es(t,e,i):e?t?function(s){return Es(t,e,s)}:e:t};function Es(t,e,i){return K.computed(mt(t)?t.call(i,i):t,mt(e)?e.call(i,i):e)}function Ri(t,e){return t=t&&!et(t)?[t]:t,e?t?t.concat(e):et(e)?e:[e]:t}function Lo(t,e){return R(e)?t:e}function re(t,e,i){const s={};if(mt(e)&&(e=e.options),e.extends&&(t=re(t,e.extends,i)),e.mixins)for(const o of e.mixins)t=re(t,o,i);for(const o in t)n(o);for(const o in e)Ot(t,o)||n(o);function n(o){s[o]=(K[o]||Lo)(t[o],e[o],i)}return s}function ke(t,e){e===void 0&&(e=[]);try{return t?tt(t,"{")?JSON.parse(t):e.length&&!p(t,":")?{[e[0]]:t}:t.split(";").reduce((i,s)=>{const[n,o]=s.split(/:(.*)/);return n&&!R(o)&&(i[n.trim()]=o.trim()),i},{}):{}}catch{return{}}}function Os(t){if(Qe(t)&&qi(t,{func:"playVideo",method:"play"}),Ze(t))try{t.play().catch(T)}catch{}}function _s(t){Qe(t)&&qi(t,{func:"pauseVideo",method:"pause"}),Ze(t)&&t.pause()}function Bs(t){Qe(t)&&qi(t,{func:"mute",method:"setVolume",value:0}),Ze(t)&&(t.muted=!0)}function Ms(t){return Ze(t)||Qe(t)}function Ze(t){return pt(t,"video")}function Qe(t){return pt(t,"iframe")&&(Ds(t)||Ns(t))}function Ds(t){return!!t.src.match(/\/\/.*?youtube(-nocookie)?\.[a-z]+\/(watch\?v=[^&\s]+|embed)|youtu\.be\/.*/)}function Ns(t){return!!t.src.match(/vimeo\.com\/video\/.*/)}async function qi(t,e){await Wo(t),zs(t,e)}function zs(t,e){try{t.contentWindow.postMessage(JSON.stringify({event:"command",...e}),"*")}catch{}}const Vi="_ukPlayer";let Fo=0;function Wo(t){if(t[Vi])return t[Vi];const e=Ds(t),i=Ns(t),s=++Fo;let n;return t[Vi]=new Promise(o=>{e&&N(t,"load",()=>{const r=()=>zs(t,{event:"listening",id:s});n=setInterval(r,100),r()}),N(window,"message",o,!1,r=>{let{data:a}=r;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+(p(t.src,"?")?"&":"?")+(e?"enablejsapi=1":"api=1&player_id="+s)}).then(()=>clearInterval(n))}function Ue(t,e,i){return e===void 0&&(e=0),i===void 0&&(i=0),V(t)?Si(...Q(t).map(s=>{const{top:n,left:o,bottom:r,right:a}=lt(s);return{top:n-e,left:o-i,bottom:r+e,right:a+i}}).concat(A(t))):!1}function Yi(t,e){let{offset:i=0}=e===void 0?{}:e;const s=V(t)?Q(t):[];return s.reduce((a,l,h)=>{const{scrollTop:u,scrollHeight:d,offsetHeight:f}=l,m=lt(l),C=d-m.height,{height:E,top:U}=s[h-1]?lt(s[h-1]):A(t);let F=Math.ceil(U-m.top-i+u);return i>0&&f<E+i?F+=i:i=0,F>C?(i-=F-C,F=C):F<0&&(i-=F,F=0),()=>n(l,F-u).then(a)},()=>Promise.resolve())();function n(a,l){return new Promise(h=>{const u=a.scrollTop,d=o(Math.abs(l)),f=Date.now();(function m(){const C=r(Z((Date.now()-f)/d));a.scrollTop=u+l*C,C===1?h():requestAnimationFrame(m)})()})}function o(a){return 40*Math.pow(a,.375)}function r(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),!V(t))return 0;const[s]=Q(t,/auto|scroll/,!0),{scrollHeight:n,scrollTop:o}=s,{height:r}=lt(s),a=n-r,l=Ht(t)[0]-Ht(s)[0],h=Math.max(0,l-r+e),u=Math.min(a,l+t.offsetHeight-i);return Z((o-h)/(u-h))}function Q(t,e,i){e===void 0&&(e=/auto|scroll|hidden|clip/),i===void 0&&(i=!1);const s=Hs(t);let n=Ut(t).reverse();n=n.slice(n.indexOf(s)+1);const o=bt(n,r=>c(r,"position")==="fixed");return~o&&(n=n.slice(o)),[s].concat(n.filter(r=>e.test(c(r,"overflow"))&&(!i||r.scrollHeight>lt(r).height))).reverse()}function lt(t){const e=Mt(t),{document:{documentElement:i}}=e;let s=t===Hs(t)?e:t;const{visualViewport:n}=e;if(Gt(s)&&n){let{height:r,width:a,scale:l,pageTop:h,pageLeft:u}=n;return r=Math.round(r*l),a=Math.round(a*l),{height:r,width:a,top:h,left:u,bottom:h+r,right:u+a}}let o=A(s);for(let[r,a,l,h]of[["width","x","left","right"],["height","y","top","bottom"]])Gt(s)?s=i:o[l]+=w(c(s,"border-"+l+"-width")),o[r]=o[a]=s["client"+kt(r)],o[h]=o[r]+o[l];return o}function Hs(t){return Mt(t).document.scrollingElement}const ht=[["width","x","left","right"],["height","y","top","bottom"]];function Ls(t,e,i){i={attach:{element:["left","top"],target:["left","top"],...i.attach},offset:[0,0],placement:[],...i},et(e)||(e=[e,e]),A(t,Fs(t,e,i))}function Fs(t,e,i){const s=Ws(t,e,i),{boundary:n,viewportOffset:o=0,placement:r}=i;let a=s;for(const[l,[h,,u,d]]of Object.entries(ht)){const f=jo(e[l],o,n,l);if(ti(s,f,l))continue;let m=0;if(r[l]==="flip"){const C=i.attach.target[l];if(C===d&&s[d]<=f[d]||C===u&&s[u]>=f[u])continue;m=qo(t,e,i,l)[u]-s[u];const E=Ro(e[l],o,l);if(!ti(Gi(s,m,l),E,l)){if(ti(s,E,l))continue;if(i.recursion)return!1;const U=Vo(t,e,i);if(U&&ti(U,E,1-l))return U;continue}}else if(r[l]==="shift"){const C=A(e[l]),{offset:E}=i;m=Z(Z(s[u],f[u],f[d]-s[h]),C[u]-s[h]+E[l],C[d]-E[l])-s[u]}a=Gi(a,m,l)}return a}function Ws(t,e,i){let{attach:s,offset:n}={attach:{element:["left","top"],target:["left","top"],...i.attach},offset:[0,0],...i},o=A(t);for(const[r,[a,,l,h]]of Object.entries(ht)){const u=s.target[r]===s.element[r]?lt(e[r]):A(e[r]);o=Gi(o,u[l]-o[l]+js(s.target[r],h,u[a])-js(s.element[r],h,o[a])+ +n[r],r)}return o}function Gi(t,e,i){const[,s,n,o]=ht[i],r={...t};return r[n]=t[s]=t[n]+e,r[o]+=e,r}function js(t,e,i){return t==="center"?i/2:t===e?i:0}function jo(t,e,i,s){let n=Rs(...Q(t).map(lt));return e&&(n[ht[s][2]]+=e,n[ht[s][3]]-=e),i&&(n=Rs(n,A(i))),n}function Ro(t,e,i){const[s,,n,o]=ht[i],[r]=Q(t),a=lt(r);return a[n]-=r["scroll"+kt(n)]-e,a[o]=a[n]+r["scroll"+kt(s)]-e,a}function Rs(){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[,,o,r]of ht)t[o]=Math.max(t[o]||0,n[o]),t[r]=Math.min(...[t[r],n[r]].filter(Boolean));return t}function ti(t,e,i){const[,,s,n]=ht[i];return t[s]>=e[s]&&t[n]<=e[n]}function qo(t,e,i,s){let{offset:n,attach:o}=i;return Ws(t,e,{attach:{element:qs(o.element,s),target:qs(o.target,s)},offset:Yo(n,s)})}function Vo(t,e,i){return Fs(t,e,{...i,attach:{element:i.attach.element.map(Vs).reverse(),target:i.attach.target.map(Vs).reverse()},offset:i.offset.reverse(),placement:i.placement.reverse(),recursion:!0})}function qs(t,e){const i=[...t],s=ht[e].indexOf(t[e]);return~s&&(i[e]=ht[e][1-s%2+2]),i}function Vs(t){for(let e=0;e<ht.length;e++){const i=ht[e].indexOf(t);if(~i)return ht[1-e][i%2+2]}}function Yo(t,e){return t=[...t],t[e]*=-1,t}var Xo=Object.freeze({__proto__:null,ajax:ws,getImage:bs,Transition:S,Animation:ft,attr:y,hasAttr:It,removeAttr:ge,data:at,addClass:b,removeClass:O,removeClasses:Bi,replaceClass:Mi,hasClass:I,toggleClass:W,dimensions:x,offset:A,position:Re,offsetPosition:Ht,height:G,width:ye,boxModelAdjust:ie,flipPosition:qe,toPx:J,ready:Ni,isTag:pt,empty:ks,html:Pt,prepend:_o,append:j,before:zi,after:Ve,remove:ct,wrapAll:Hi,wrapInner:Li,unwrap:Xe,fragment:Lt,apply:vt,$:v,$$:D,inBrowser:Ft,isRtl:X,hasTouch:Wt,pointerDown:gt,pointerMove:Ge,pointerUp:At,pointerEnter:jt,pointerLeave:ne,pointerCancel:Je,on:k,off:Dt,once:N,trigger:g,createEvent:Nt,toEventTargets:Oi,isTouch:$t,getEventPos:ee,fastdom:z,isVoidElement:Ci,isVisible:V,selInput:me,isInput:Ii,selFocusable:We,isFocusable:je,parent:P,filter:ve,matches:L,closest:it,within:B,parents:Ut,children:M,index:te,hasOwn:Ot,hyphenate:_t,camelize:Yt,ucfirst:kt,startsWith:tt,endsWith:Xt,includes:p,findIndex:bt,isArray:et,toArray:bi,assign:xt,isFunction:mt,isObject:St,isPlainObject:Tt,isWindow:Gt,isDocument:De,isNode:xi,isElement:Jt,isBoolean:Ne,isString:_,isNumber:Kt,isNumeric:Bt,isEmpty:fe,isUndefined:R,toBoolean:$i,toNumber:Ct,toFloat:w,toNode:q,toNodes:$,toWindow:Mt,isEqual:pe,swap:ki,last:Zt,each:yt,sortBy:ze,uniqueBy:ds,clamp:Z,noop:T,intersectRect:Si,pointInRect:He,Dimensions:Le,getIndex:Qt,memoize:rt,Deferred:Fe,MouseTracker:ji,observeIntersection:oe,observeResize:Ke,observeMutation:Ps,mergeOptions:re,parseOptions:ke,play:Os,pause:_s,mute:Bs,isVideo:Ms,positionAt:Ls,query:dt,queryAll:we,find:Pi,findAll:be,escape:Ai,css:c,propName:_i,isInView:Ue,scrollIntoView:Yi,scrolledOver:Xi,scrollParents:Q,offsetViewport:lt});function Go(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,o){o=(_(o)?t.component(o):o)||this,o.options=re(o.options,n)},t.extend=function(n){n=n||{};const o=this,r=function(l){this._init(l)};return r.prototype=Object.create(o.prototype),r.prototype.constructor=r,r.options=re(o.options,n),r.super=o,r.extend=o.extend,r},t.update=function(n,o){n=n?q(n):document.body;for(const r of Ut(n).reverse())s(r[e],o);vt(n,r=>s(r[e],o))};let i;Object.defineProperty(t,"container",{get(){return i||document.body},set(n){i=v(n)}});function s(n,o){if(!!n)for(const r in n)n[r]._connected&&n[r]._callUpdate(o)}}function Jo(t){t.prototype._callHook=function(s){var n;(n=this.$options[s])==null||n.forEach(o=>o.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,z.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=!Ot(this,"_watch");this._watch=z.read(()=>{this._connected&&i.call(this,s),this._watch=null})};function e(s){for(const{read:n,write:o,events:r=[]}of this.$options.update){if(!s.has("update")&&!r.some(l=>s.has(l)))continue;let a;n&&(a=n.call(this,this._data,s),a&&Tt(a)&&xt(this._data,a)),o&&a!==!1&&z.write(()=>{this._connected&&o.call(this,this._data,s)})}}function i(s){const{$options:{computed:n}}=this,o={...this._computed};this._computed={};for(const r in n){const{watch:a,immediate:l}=n[r];a&&(s&&l||Ot(o,r)&&!pe(o[r],this[r]))&&a.call(this,this[r],o[r])}}}function Ko(t){let e=0;t.prototype._init=function(i){i=i||{},i.data=tr(i,this.constructor.options),this.$options=re(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)Zo(this,s,i[s])},t.prototype._initProps=function(i){let s;i=i||Ys(this.$options,this.$name);for(s in i)R(i[s])||(this.$props[s]=i[s]);const n=[this.$options.computed,this.$options.methods];for(s in this.$props)s in i&&Qo(n,s)&&(this[s]=this.$props[s])},t.prototype._initEvents=function(){this._events=[];for(const i of this.$options.events||[])if(Ot(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=[ir(this)],this.$options.computed&&this.registerObserver(er(this))},t.prototype.registerObserver=function(i){this._observers.push(i)},t.prototype._disconnectObservers=function(){this._observers.forEach(i=>i==null?void 0:i.disconnect())}}function Ys(t,e){const i={},{args:s=[],props:n={},el:o}=t;if(!n)return i;for(const a in n){const l=_t(a);let h=at(o,l);R(h)||(h=n[a]===Boolean&&h===""?!0:Ji(n[a],h),!(l==="target"&&tt(h,"_"))&&(i[a]=h))}const r=ke(at(o,e),s);for(const a in r){const l=Yt(a);R(n[l])||(i[l]=Ji(n[l],r[a]))}return i}function Zo(t,e,i){Object.defineProperty(t,e,{enumerable:!0,get(){const{_computed:s,$props:n,$el:o}=t;return Ot(s,e)||(s[e]=(i.get||i).call(t,n,o)),s[e]},set(s){const{_computed:n}=t;n[e]=i.set?i.set.call(t,s):s,R(n[e])&&delete n[e]}})}function ei(t,e,i){Tt(e)||(e={name:i,handler:e});let{name:s,el:n,handler:o,capture:r,passive:a,delegate:l,filter:h,self:u}=e;if(n=mt(n)?n.call(t):n||t.$el,et(n)){n.forEach(d=>ei(t,{...e,el:d},i));return}!n||h&&!h.call(t)||t._events.push(k(n,s,l?_(l)?l:l.call(t):null,_(o)?t[o]:o.bind(t),{passive:a,capture:r,self:u}))}function Qo(t,e){return t.every(i=>!i||!Ot(i,e))}function Ji(t,e){return t===Boolean?$i(e):t===Number?Ct(e):t==="list"?Uo(e):t?t(e):e}function Uo(t){return et(t)?t:_(t)?t.split(/,(?![^(]*\))/).map(e=>Bt(e)?Ct(e):$i(e.trim())):[t]}function tr(t,e){let{data:i={}}=t,{args:s=[],props:n={}}=e;et(i)&&(i=i.slice(0,s.length).reduce((o,r,a)=>(Tt(r)?xt(o,r):o[s[a]]=r,o),{}));for(const o in i)R(i[o])?delete i[o]:n[o]&&(i[o]=Ji(n[o],i[o]));return i}function er(t){const{el:e}=t.$options,i=new MutationObserver(()=>t.$emit());return i.observe(e,{childList:!0,subtree:!0}),i}function ir(t){const{$name:e,$options:i,$props:s}=t,{attrs:n,props:o,el:r}=i;if(!o||n===!1)return;const a=et(n)?n:Object.keys(o),l=a.map(u=>_t(u)).concat(e),h=new MutationObserver(u=>{const d=Ys(i,e);u.some(f=>{let{attributeName:m}=f;const C=m.replace("data-","");return(C===e?a:[Yt(C),Yt(m)]).some(E=>!R(d[E])&&d[E]!==s[E])})&&t.$reset()});return h.observe(r,{attributes:!0,attributeFilter:l.concat(l.map(u=>"data-"+u))}),h}function sr(t){const e=t.data;t.prototype.$create=function(s,n,o){return t[s](n,o)},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,B(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:o}=this.$options;n&&this._callDisconnected(),this._callHook("destroy"),n!=null&&n[e]&&(delete n[e][o],fe(n[e])||delete n[e],s&&ct(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=rt(s=>t.prefix+_t(s));Object.defineProperties(t.prototype,{$container:Object.getOwnPropertyDescriptor(t,"container"),$name:{get(){return i(this.$options.name)}}})}function nr(t){const e=t.data,i={};t.component=function(s,n){const o=_t(s);if(s=Yt(o),!n)return Tt(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:Tt(a)?a:[...arguments]}):a?D(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 r=Tt(n)?{...n}:n.options;return r.name=s,r.install==null||r.install(t,r,s),t._initialized&&!r.functional&&z.read(()=>t[s]("[uk-"+o+"],[data-uk-"+o+"]")),i[s]=Tt(n)?r:n},t.getComponents=s=>(s==null?void 0: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 o=Xs(n.name);o&&o in i&&t[o](s)}},t.disconnect=s=>{for(const n in s[e])s[e][n]._callDisconnected()}}const Xs=rt(t=>tt(t,"uk-")||tt(t,"data-uk-")?Yt(t.replace("data-uk-","").replace("uk-","")):!1),st=function(t){this._init(t)};st.util=Xo,st.data="__uikit__",st.prefix="uk-",st.options={},st.version="3.15.1-dev.a66c977f5",Go(st),Jo(st),Ko(st),nr(st),sr(st);function or(t){const{connect:e,disconnect:i}=t;if(!Ft||!window.MutationObserver)return;z.read(function(){document.body&&vt(document.body,e),new MutationObserver(o=>o.forEach(s)).observe(document,{childList:!0,subtree:!0}),new MutationObserver(o=>o.forEach(n)).observe(document,{attributes:!0,subtree:!0}),t._initialized=!0});function s(o){let{addedNodes:r,removedNodes:a}=o;for(const l of r)vt(l,e);for(const l of a)vt(l,i)}function n(o){var r;let{target:a,attributeName:l}=o;const h=Xs(l);if(!(!h||!(h in t))){if(It(a,l)){t[h](a);return}(r=t.getComponent(a,h))==null||r.$destroy()}}}var nt={connected(){!I(this.$el,this.$name)&&b(this.$el,this.$name)}},Se={data:{preload:5},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 $(mt(e)?e():e))D('[loading="lazy"]',n).slice(0,this.preload-1).forEach(o=>ge(o,"loading"));for(const n of i.filter(o=>{let{isIntersecting:r}=o;return r}).map(o=>{let{target:r}=o;return r}))s.unobserve(n)}))}}},Et={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(i=>tt(e[0],i))}},methods:{toggleElement(t,e,i){return new Promise(s=>Promise.all($(t).map(n=>{const o=Ne(e)?e:!this.isToggled(n);if(!g(n,"before"+(o?"show":"hide"),[this]))return Promise.reject();const r=(mt(i)?i:i===!1||!this.hasAnimation?rr(this):this.hasTransition?Gs(this):ar(this))(n,o),a=o?this.clsEnter:this.clsLeave;b(n,a),g(n,o?"show":"hide",[this]);const l=()=>{O(n,a),g(n,o?"shown":"hidden",[this]),this.$update(n)};return r?r.then(l,()=>(O(n,a),Promise.reject())):l()})).then(s,T))},isToggled(t){return t===void 0&&(t=this.$el),[t]=$(t),I(t,this.clsEnter)?!0:I(t,this.clsLeave)?!1:this.cls?I(t,this.cls.split(" ")[0]):V(t)},_toggle(t,e){if(!t)return;e=Boolean(e);let i;this.cls?(i=p(this.cls," ")||e!==I(t,this.cls),i&&W(t,this.cls,p(this.cls," ")?void 0:e)):(i=e===t.hidden,i&&(t.hidden=!e)),D("[autofocus]",t).some(s=>V(s)?s.focus()||!0:s.blur()),i&&(g(t,"toggled",[e,this]),this.$update(t))}}};function rr(t){let{_toggle:e}=t;return(i,s)=>(ft.cancel(i),S.cancel(i),e(i,s))}function Gs(t){var e;const[i="reveal",s="top"]=((e=t.animation[0])==null?void 0:e.split("-"))||[],n=[["left","right"],["top","bottom"]],o=n[p(n[0],s)?0:1],r=o[1]===s,l=["width","height"][n.indexOf(o)],h="margin-"+o[0],u="margin-"+s;return async(d,f)=>{let{duration:m,velocity:C,transition:E,_toggle:U}=t,F=x(d)[l];const ce=S.inProgress(d);await S.cancel(d),f&&U(d,!0);const hs=Object.fromEntries(["padding","border","width","height","overflowY","overflowX",h,u].map(ro=>[ro,d.style[ro]])),Me=x(d),cs=w(c(d,h)),so=w(c(d,u)),Vt=Me[l]+so;!ce&&!f&&(F+=so);const[wi]=Li(d,"<div>");c(wi,{boxSizing:"border-box",height:Me.height,width:Me.width,...c(d,["overflow","padding","borderTop","borderRight","borderBottom","borderLeft","borderImage",u])}),c(d,{padding:0,border:0,minWidth:0,minHeight:0,[u]:0,width:Me.width,height:Me.height,overflow:"hidden",[l]:F});const no=F/Vt;m=(C*Vt+m)*(f?1-no:no);const oo={[l]:f?Vt:0};r&&(c(d,h,Vt-F+cs),oo[h]=f?cs:Vt+cs),!r^i==="reveal"&&(c(wi,h,-Vt+F),S.start(wi,{[h]:f?0:-Vt},m,E));try{await S.start(d,oo,m,E)}finally{c(d,hs),Xe(wi.firstChild),f||U(d,!1)}}}function ar(t){return(e,i)=>{ft.cancel(e);const{animation:s,duration:n,_toggle:o}=t;return i?(o(e,!0),ft.in(e,s[0],n,t.origin)):ft.out(e,s[1]||s[0],n,t.origin).then(()=>o(e,!1))}}var Js={mixins:[nt,Se,Et],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 D(i,e)},watch(t,e){if(e||I(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=>v(e,i))},contents:{get(t){let{content:e}=t;return this.items.map(i=>v(e,i))},watch(t){for(const e of t)Ks(e,!I(this.items.find(i=>B(e,i)),this.clsOpen))},immediate:!0}},connected(){this.lazyload()},events:[{name:"click",delegate(){return this.targets+" "+this.$props.toggle},handler(t){t.preventDefault(),this.toggle(te(this.toggles,t.current))}}],methods:{toggle(t,e){let i=[this.items[Qt(t,this.items)]];const s=ve(this.items,"."+this.clsOpen);if(!this.multiple&&!p(s,i[0])&&(i=i.concat(s)),!(!this.collapsible&&s.length<2&&!ve(i,":not(."+this.clsOpen+")").length))for(const n of i)this.toggleElement(n,!I(n,this.clsOpen),async(o,r)=>{W(o,this.clsOpen,r),y(v(this.$props.toggle,o),"aria-expanded",r);const a=v(this.content,o);if(e===!1||!this.animation){a.hidden=!r,Ks(a,!r);return}if(await Gs(this)(a,r),r){const l=v(this.$props.toggle,o);z.read(()=>{Ue(l)||Yi(l,{offset:this.offset})})}})}}};function Ks(t,e){t&&(t.hidden=e)}var lr={mixins:[nt,Et],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,hr(this)),this.$destroy(!0)}}};function hr(t){let{duration:e,transition:i,velocity:s}=t;return n=>{const o=w(c(n,"height"));return c(n,"height",o),S.start(n,{height:0,marginTop:0,marginBottom:0,paddingTop:0,paddingBottom:0,borderTop:0,borderBottom:0,opacity:0},s*o+e,i)}}var Zs={args:"autoplay",props:{automute:Boolean,autoplay:Boolean},data:{automute:!1,autoplay:!0},connected(){this.inView=this.autoplay==="inview",this.inView&&!It(this.$el,"preload")&&(this.$el.preload="none"),pt(this.$el,"iframe")&&!It(this.$el,"allow")&&(this.$el.allow="autoplay"),this.automute&&Bs(this.$el),this.registerObserver(oe(this.$el,()=>this.$emit(),{},!1))},update:{read(){return Ms(this.$el)?{visible:V(this.$el)&&c(this.$el,"visibility")!=="hidden",inView:this.inView&&Ue(this.$el)}:!1},write(t){let{visible:e,inView:i}=t;!e||this.inView&&!i?_s(this.$el):(this.autoplay===!0||this.inView&&i)&&Os(this.$el)}}},wt={connected(){var t;this.registerObserver(Ke(((t=this.$options.resizeTargets)==null?void 0:t.call(this))||this.$el,()=>this.$emit("resize")))}},cr={mixins:[wt,Zs],props:{width:Number,height:Number},data:{automute:!0},events:{"load loadedmetadata"(){this.$emit("resize")}},resizeTargets(){return[this.$el,P(this.$el)]},update:{read(){const{ratio:t,cover:e}=Le,{$el:i,width:s,height:n}=this;let o={width:s,height:n};if(!o.width||!o.height){const h={width:i.naturalWidth||i.videoWidth||i.clientWidth,height:i.naturalHeight||i.videoHeight||i.clientHeight};o.width?o=t(h,"width",o.width):n?o=t(h,"height",o.height):o=h}const{offsetHeight:r,offsetWidth:a}=ur(i)||P(i),l=e(o,{width:a+(a%2?1:0),height:r+(r%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 ur(t){for(;t=P(t);)if(c(t,"position")!=="static")return t}var ae={props:{container:Boolean},data:{container:!0},computed:{container(t){let{container:e}=t;return e===!0&&this.$container||e&&v(e)}}},Qs={props:{pos:String,offset:null,flip:Boolean,shift:Boolean,inset:Boolean},data:{pos:"bottom-"+(X?"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=p(["top","bottom"],this.dir)?"y":"x"},methods:{positionAt(t,e,i){let s=[this.getPositionOffset(t),this.getShiftOffset(t)];const n=[this.flip&&"flip",this.shift&&"shift"],o={element:[this.inset?this.dir:qe(this.dir),this.align],target:[this.dir,this.align]};if(this.axis==="y"){for(const u in o)o[u].reverse();s.reverse(),n.reverse()}const[r]=Q(t,/auto|scroll/),{scrollTop:a,scrollLeft:l}=r,h=x(t);c(t,{top:-h.height,left:-h.width}),Ls(t,e,{attach:o,offset:s,boundary:i,placement:n,viewportOffset:this.getViewportOffset(t)}),r.scrollTop=a,r.scrollLeft=l},getPositionOffset(t){return J(this.offset===!1?c(t,"--uk-position-offset"):this.offset,this.axis==="x"?"width":"height",t)*(p(["left","top"],this.dir)?-1:1)*(this.inset?-1:1)},getShiftOffset(t){return this.align==="center"?0:J(c(t,"--uk-position-shift-offset"),this.axis==="y"?"width":"height",t)*(p(["left","top"],this.align)?1:-1)},getViewportOffset(t){return J(c(t,"--uk-position-viewport-offset"))}}},dr={beforeConnect(){this._style=y(this.$el,"style")},disconnected(){y(this.$el,"style",this._style)}};const ot=[];var Ki={mixins:[nt,ae,Et],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 v(i,e)},transitionElement(){return this.panel},bgClose(t){let{bgClose:e}=t;return e&&this.panel}},beforeDisconnect(){p(ot,this)&&this.toggleElement(this.$el,!1,!1)},events:[{name:"click",delegate(){return this.selClose},handler(t){t.preventDefault(),this.hide()}},{name:"toggle",self:!0,handler(t){t.defaultPrevented||(t.preventDefault(),this.isToggled()===p(ot,this)&&this.toggle())}},{name:"beforeshow",self:!0,handler(t){if(p(ot,this))return!1;!this.stack&&ot.length?(Promise.all(ot.map(e=>e.hide())).then(this.show),t.preventDefault()):ot.push(this)}},{name:"show",self:!0,handler(){N(this.$el,"hide",k(document,"focusin",t=>{Zt(ot)===this&&!B(t.target,this.$el)&&this.$el.focus()})),this.overlay&&(N(this.$el,"hidden",tn(this.$el),{self:!0}),N(this.$el,"hidden",en(),{self:!0})),this.stack&&c(this.$el,"zIndex",w(c(this.$el,"zIndex"))+ot.length),b(document.documentElement,this.clsPage),this.bgClose&&N(this.$el,"hide",k(document,gt,t=>{let{target:e}=t;Zt(ot)!==this||this.overlay&&!B(e,this.$el)||B(e,this.panel)||N(document,At+" "+Je+" scroll",i=>{let{defaultPrevented:s,type:n,target:o}=i;!s&&n===At&&e===o&&this.hide()},!0)}),{self:!0}),this.escClose&&N(this.$el,"hide",k(document,"keydown",t=>{t.keyCode===27&&Zt(ot)===this&&this.hide()}),{self:!0})}},{name:"shown",self:!0,handler(){je(this.$el)||y(this.$el,"tabindex","-1"),v(":focus",this.$el)||this.$el.focus()}},{name:"hidden",self:!0,handler(){p(ot,this)&&ot.splice(ot.indexOf(this),1),c(this.$el,"zIndex",""),ot.some(t=>t.clsPage===this.clsPage)||O(document.documentElement,this.clsPage)}}],methods:{toggle(){return this.isToggled()?this.hide():this.show()},show(){return this.container&&P(this.$el)!==this.container?(j(this.container,this.$el),new Promise(t=>requestAnimationFrame(()=>this.show().then(t)))):this.toggleElement(this.$el,!0,Us(this))},hide(){return this.toggleElement(this.$el,!1,Us(this))}}};function Us(t){let{transitionElement:e,_toggle:i}=t;return(s,n)=>new Promise((o,r)=>N(s,"show hide",()=>{s._reject==null||s._reject(),s._reject=r,i(s,n);const a=N(e,"transitionstart",()=>{N(e,"transitionend transitioncancel",o,{self:!0}),clearTimeout(l)},{self:!0}),l=setTimeout(()=>{a(),o()},fr(c(e,"transitionDuration")))})).then(()=>delete s._reject)}function fr(t){return t?Xt(t,"ms")?w(t):w(t)*1e3:0}function tn(t){if(CSS.supports("overscroll-behavior","contain")){const s=pr(t,n=>/auto|scroll/.test(c(n,"overflow")));return c(s,"overscrollBehavior","contain"),()=>c(s,"overscrollBehavior","")}let e;const i=[k(t,"touchstart",s=>{let{targetTouches:n}=s;n.length===1&&(e=n[0].clientY)},{passive:!0}),k(t,"touchmove",s=>{if(s.targetTouches.length!==1)return;let[n]=Q(s.target,/auto|scroll/);B(n,t)||(n=t);const o=s.targetTouches[0].clientY-e,{scrollTop:r,scrollHeight:a,clientHeight:l}=n;(l>=a||r===0&&o>0||a-r<=l&&o<0)&&s.cancelable&&s.preventDefault()},{passive:!1})];return()=>i.forEach(s=>s())}let Zi;function en(){if(Zi)return T;Zi=!0;const{scrollingElement:t}=document;return c(t,{overflowY:"hidden",touchAction:"none",paddingRight:ye(window)-t.clientWidth}),()=>{Zi=!1,c(t,{overflowY:"",touchAction:"",paddingRight:""})}}function pr(t,e){const i=[];return vt(t,s=>{e(s)&&i.push(s)}),i}let Y;var sn={mixins:[ae,Se,Qs,dr,Et],args:"pos",props:{mode:"list",toggle:Boolean,boundary: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,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:{target(t,e){let{target:i,targetX:s,targetY:n}=t;return s=s||i||this.targetEl,n=n||i||this.targetEl,[s===!0?window:dt(s,e),n===!0?window:dt(n,e)]}},created(){this.tracker=new ji},beforeConnect(){this.clsDrop=this.$props.clsDrop||"uk-"+this.$options.name},connected(){b(this.$el,this.clsDrop),this.toggle&&!this.targetEl&&(this.targetEl=this.$create("toggle",dt(this.toggle,this.$el),{target:this.$el,mode:this.mode}).$el,y(this.targetEl,"aria-haspopup",!0),this.lazyload(this.targetEl))},disconnected(){this.isActive()&&(this.hide(!1),Y=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&&!B(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==null?void 0:e.$el,!1)}},{name:"toggleshow",self:!0,handler(t,e){t.preventDefault(),this.show(e==null?void 0:e.$el)}},{name:"togglehide",self:!0,handler(t){t.preventDefault(),L(this.$el,":focus,:hover")||this.hide()}},{name:jt+" focusin",filter(){return p(this.mode,"hover")},handler(t){$t(t)||this.clearTimers()}},{name:ne+" focusout",filter(){return p(this.mode,"hover")},handler(t){!$t(t)&&t.relatedTarget&&this.hide()}},{name:"toggled",self:!0,handler(t,e){!e||(this.clearTimers(),this.position())}},{name:"show",self:!0,handler(){Y=this,this.tracker.init();const t=()=>this.$emit(),e=[k(document,gt,i=>{let{target:s}=i;return!B(s,this.$el)&&N(document,At+" "+Je+" scroll",n=>{let{defaultPrevented:o,type:r,target:a}=n;!o&&r===At&&s===a&&!(this.targetEl&&B(s,this.targetEl))&&this.hide(!1)},!0)}),k(document,"keydown",i=>{i.keyCode===27&&this.hide(!1)}),k(window,"resize",t),(()=>{const i=Ke(Q(this.$el).concat(this.target),t);return()=>i.disconnect()})(),...this.autoUpdate?[k([document,Q(this.$el)],"scroll",t,{passive:!0})]:[],...this.bgScroll?[]:[tn(this.$el),en()]];N(this.$el,"hide",()=>e.forEach(i=>i()),{self:!0})}},{name:"beforehide",self:!0,handler(){this.clearTimers()}},{name:"hide",handler(t){let{target:e}=t;if(this.$el!==e){Y=Y===null&&B(e,this.$el)&&this.isToggled()?this:Y;return}Y=this.isActive()?null:Y,this.tracker.cancel()}}],update:{write(){this.isToggled()&&!I(this.$el,this.clsEnter)&&this.position()}},methods:{show(t,e){if(t===void 0&&(t=this.targetEl),e===void 0&&(e=!0),this.isToggled()&&t&&this.targetEl&&t!==this.targetEl&&this.hide(!1,!1),this.targetEl=t,this.clearTimers(),!this.isActive()){if(Y){if(e&&Y.isDelaying){this.showTimer=setTimeout(()=>L(t,":hover")&&this.show(),10);return}let i;for(;Y&&i!==Y&&!B(this.$el,Y.$el);)i=Y,Y.hide(!1,!1)}this.container&&P(this.$el)!==this.container&&j(this.container,this.$el),this.showTimer=setTimeout(()=>this.toggleElement(this.$el,!0),e&&this.delayShow||0)}},hide(t,e){t===void 0&&(t=!0),e===void 0&&(e=!0);const i=()=>this.toggleElement(this.$el,!1,this.animateOut&&e);this.clearTimers(),this.isDelaying=gr(this.$el).some(s=>this.tracker.movesTo(s)),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 Y===this},position(){O(this.$el,this.clsDrop+"-stack"),y(this.$el,"style",this._style),this.$el.hidden=!0;const t=dt(this.boundary,this.$el),e=A(t||window),i=this.target.map(r=>lt(Q(r)[0])),s=this.getViewportOffset(this.$el),n=[[0,["x","width","left","right"]],[1,["y","height","top","bottom"]]];for(const[r,[a,l]]of n)this.axis!==a&&p([a,!0],this.stretch)&&c(this.$el,{[l]:Math.min(e[l],i[r][l]-2*s),["overflow-"+a]:"auto"});const o=i[0].width-2*s;this.$el.offsetWidth>o&&b(this.$el,this.clsDrop+"-stack"),c(this.$el,"maxWidth",o),this.$el.hidden=!1,this.positionAt(this.$el,this.target,t);for(const[r,[a,l,h,u]]of n)if(this.axis===a&&p([a,!0],this.stretch)){const d=Math.abs(this.getPositionOffset(this.$el)),f=A(this.target[r]),m=A(this.$el);c(this.$el,{[l]:(f[h]>m[h]?f[h]-Math.max(e[h],i[r][h]+s):Math.min(e[u],i[r][u]-s)-f[u])-d,["overflow-"+a]:"auto"}),this.positionAt(this.$el,this.target,t)}}}};function gr(t){const e=[];return vt(t,i=>c(i,"position")!=="static"&&e.push(i)),e}var mr={mixins:[nt],args:"target",props:{target:Boolean},data:{target:!1},computed:{input(t,e){return v(me,e)},state(){return this.input.nextElementSibling},target(t,e){let{target:i}=t;return i&&(i===!0&&P(this.input)===e&&this.input.nextElementSibling||v(i,e))}},update(){var t;const{target:e,input:i}=this;if(!e)return;let s;const n=Ii(e)?"value":"textContent",o=e[n],r=(t=i.files)!=null&&t[0]?i.files[0].name:L(i,"select")&&(s=D("option",i).filter(a=>a.selected)[0])?s.textContent:i.value;o!==r&&(e[n]=r)},events:[{name:"change",handler(){this.$emit()}},{name:"reset",el(){return it(this.$el,"form")},handler(){this.$emit()}}]},nn={mixins:[wt],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(Ps(this.$el,()=>this.$reset(),{childList:!0}))},update:{read(){const t=Qi(this.$el.children);return{rows:t,columns:vr(t)}},write(t){let{columns:e,rows:i}=t;for(const s of i)for(const n of s)W(n,this.margin,i[0]!==s),W(n,this.firstColumn,e[0].includes(n))},events:["resize"]}};function Qi(t){return on(t,"top","bottom")}function vr(t){const e=[];for(const i of t){const s=on(i,"left","right");for(let n=0;n<s.length;n++)e[n]=e[n]?e[n].concat(s[n]):s[n]}return X?e.reverse():e}function on(t,e,i){const s=[[]];for(const n of t){if(!V(n))continue;let o=ii(n);for(let r=s.length-1;r>=0;r--){const a=s[r];if(!a[0]){a.push(n);break}let l;if(a[0].offsetParent===n.offsetParent?l=ii(a[0]):(o=ii(n,!0),l=ii(a[0],!0)),o[e]>=l[i]-1&&o[e]!==l[e]){s.push([n]);break}if(o[i]-1>l[e]||o[e]===l[e]){a.push(n);break}if(r===0){s.unshift([n]);break}}}return s}function ii(t,e){e===void 0&&(e=!1);let{offsetTop:i,offsetLeft:s,offsetHeight:n,offsetWidth:o}=t;return e&&([i,s]=Ht(t)),{top:i,left:s,bottom:i+n,right:s+o}}var Te={connected(){wr(this._uid,()=>this.$emit("scroll"))},disconnected(){br(this._uid)}};const si=new Map;let Ce;function wr(t,e){Ce=Ce||k(window,"scroll",()=>si.forEach(i=>i()),{passive:!0,capture:!0}),si.set(t,e)}function br(t){si.delete(t),Ce&&!si.size&&(Ce(),Ce=null)}var xr={extends:nn,mixins:[nt,Te],name:"grid",props:{masonry:Boolean,parallax:Number},data:{margin:"uk-grid-margin",clsStack:"uk-grid-stack",masonry:!1,parallax:0},connected(){this.masonry&&b(this.$el,"uk-flex-top uk-flex-wrap-top")},update:[{write(t){let{columns:e}=t;W(this.$el,this.clsStack,e.length<2)},events:["resize"]},{read(t){let{columns:e,rows:i}=t;if(!e.length||!this.masonry&&!this.parallax||rn(this.$el))return t.translates=!1,!1;let s=!1;const n=M(this.$el),o=kr(e),r=$r(n,this.margin)*(i.length-1),a=Math.max(...o)+r;this.masonry&&(e=e.map(h=>ze(h,"offsetTop")),s=yr(i,e));let l=Math.abs(this.parallax);return l&&(l=o.reduce((h,u,d)=>Math.max(h,u+r+(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&&rn(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,o)=>n.forEach((r,a)=>c(r,"transform",!i&&!s?"":"translateY("+((s&&-s[o][a])+(i?o%2?i:i/8:0))+"px)")))},events:["scroll","resize"]}]};function rn(t){return M(t).some(e=>c(e,"position")==="absolute")}function yr(t,e){const i=t.map(s=>Math.max(...s.map(n=>n.offsetHeight)));return e.map(s=>{let n=0;return s.map((o,r)=>n+=r?i[r-1]-s[r-1].offsetHeight:0)})}function $r(t,e){const[i]=t.filter(s=>I(s,e));return w(i?c(i,"marginTop"):c(t[0],"paddingLeft"))}function kr(t){return t.map(e=>e.reduce((i,s)=>i+s.offsetHeight,0))}var Sr={mixins:[wt],args:"target",props:{target:String,row:Boolean},data:{target:"> *",row:!0},computed:{elements:{get(t,e){let{target:i}=t;return D(i,e)},watch(){this.$reset()}}},resizeTargets(){return[this.$el,...this.elements]},update:{read(){return{rows:(this.row?Qi(this.elements):[this.elements]).map(Tr)}},write(t){let{rows:e}=t;for(const{heights:i,elements:s}of e)s.forEach((n,o)=>c(n,"minHeight",i[o]))},events:["resize"]}};function Tr(t){if(t.length<2)return{heights:[""],elements:t};c(t,"minHeight","");let e=t.map(Cr);const i=Math.max(...e);return{heights:t.map((s,n)=>e[n].toFixed(2)===i.toFixed(2)?"":i),elements:t}}function Cr(t){let e=!1;V(t)||(e=t.style.display,c(t,"display","block","important"));const i=x(t).height-ie(t,"height","content-box");return e!==!1&&c(t,"display",e),i}var Ir={mixins:[wt],props:{expand:Boolean,offsetTop:Boolean,offsetBottom:Boolean,minHeight:Number},data:{expand:!1,offsetTop:!1,offsetBottom:!1,minHeight:0},resizeTargets(){return[this.$el,...Q(this.$el,/auto|scroll/)]},update:{read(t){let{minHeight:e}=t;if(!V(this.$el))return!1;let i="";const s=ie(this.$el,"height","content-box"),{body:n,scrollingElement:o}=document,[r]=Q(this.$el,/auto|scroll/),{height:a}=lt(r===n?o:r);if(this.expand)i=Math.max(a-(x(r).height-x(this.$el).height)-s,0);else{const l=o===r||n===r;if(i="calc("+(l?"100vh":a+"px"),this.offsetTop)if(l){const h=Ht(this.$el)[0]-Ht(r)[0];i+=h>0&&h<a/2?" - "+h+"px":""}else i+=" - "+c(r,"paddingTop");this.offsetBottom===!0?i+=" - "+x(this.$el.nextElementSibling).height+"px":Bt(this.offsetBottom)?i+=" - "+this.offsetBottom+"vh":this.offsetBottom&&Xt(this.offsetBottom,"px")?i+=" - "+w(this.offsetBottom)+"px":_(this.offsetBottom)&&(i+=" - "+x(dt(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&&w(c(this.$el,"minHeight"))<this.minHeight&&c(this.$el,"minHeight",this.minHeight)},events:["resize"]}},an={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-svg"},connected(){!this.icon&&p(this.src,"#")&&([this.src,this.icon]=this.src.split("#")),this.svg=this.getSvg().then(t=>{if(this._connected){const e=Or(t,this.$el);return this.svgEl&&e!==this.svgEl&&ct(this.svgEl),this.applyAttributes(e,t),this.svgEl=e}},T),this.strokeAnimation&&this.svg.then(t=>{this._connected&&(hn(t),this.registerObserver(oe(t,(e,i)=>{hn(t),i.disconnect()})))})},disconnected(){this.svg.then(t=>{this._connected||(Ci(this.$el)&&(this.$el.hidden=!1),ct(t),this.svgEl=null)}),this.svg=null},methods:{async getSvg(){return pt(this.$el,"img")&&!this.$el.complete&&this.$el.loading==="lazy"?new Promise(t=>N(this.$el,"load",()=>t(this.getSvg()))):Ar(await Pr(this.src),this.icon)||Promise.reject("SVG not found.")},applyAttributes(t,e){for(const o in this.$options.props)p(this.include,o)&&o in this&&y(t,o,this[o]);for(const o in this.attributes){const[r,a]=this.attributes[o].split(":",2);y(t,r,a)}this.id||ge(t,"id");const i=["width","height"];let s=i.map(o=>this[o]);s.some(o=>o)||(s=i.map(o=>y(e,o)));const n=y(e,"viewBox");n&&!s.some(o=>o)&&(s=n.split(" ").slice(2)),s.forEach((o,r)=>y(t,i[r],w(o)*this.ratio||null))}}};const Pr=rt(async t=>t?tt(t,"data:")?decodeURIComponent(t.split(",")[1]):(await fetch(t)).text():Promise.reject());function Ar(t,e){var i;return e&&p(t,"<symbol")&&(t=Er(t,e)||t),t=v(t.substr(t.indexOf("<svg"))),((i=t)==null?void 0:i.hasChildNodes())&&t}const ln=/<symbol([^]*?id=(['"])(.+?)\2[^]*?<\/)symbol>/g,ni={};function Er(t,e){if(!ni[t]){ni[t]={},ln.lastIndex=0;let i;for(;i=ln.exec(t);)ni[t][i[3]]='<svg xmlns="http://www.w3.org/2000/svg"'+i[1]+"svg>"}return ni[t][e]}function hn(t){const e=cn(t);e&&t.style.setProperty("--uk-animation-stroke",e)}function cn(t){return Math.ceil(Math.max(0,...D("[stroke]",t).map(e=>{try{return e.getTotalLength()}catch{return 0}})))}function Or(t,e){if(Ci(e)||pt(e,"canvas")){e.hidden=!0;const s=e.nextElementSibling;return un(t,s)?s:Ve(e,t)}const i=e.lastElementChild;return un(t,i)?i:j(e,t)}function un(t,e){return pt(t,"svg")&&pt(e,"svg")&&dn(t)===dn(e)}function dn(t){return(t.innerHTML||new XMLSerializer().serializeToString(t).replace(/<svg.*?>(.*?)<\/svg>/g,"$1")).replace(/\s/g,"")}var _r='<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>',Br='<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>',Mr='<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>',Dr='<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>',Nr='<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>',zr='<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>',Hr=`<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-'] {
2
2
  transition: 0.2s ease-in-out;
3
3
  transition-property: transform, opacity,;
4
4
  transform-origin: center;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "uikit",
3
3
  "title": "UIkit",
4
4
  "description": "UIkit is a lightweight and modular front-end framework for developing fast and powerful web interfaces.",
5
- "version": "3.15.1-dev.5caebcda9",
5
+ "version": "3.15.1-dev.a66c977f5",
6
6
  "main": "dist/js/uikit.js",
7
7
  "style": "dist/css/uikit.css",
8
8
  "sideEffects": [
@@ -284,7 +284,11 @@ export default {
284
284
  })(),
285
285
 
286
286
  ...(this.autoUpdate
287
- ? [on([document, scrollParents(this.$el)], 'scroll', update)]
287
+ ? [
288
+ on([document, scrollParents(this.$el)], 'scroll', update, {
289
+ passive: true,
290
+ }),
291
+ ]
288
292
  : []),
289
293
 
290
294
  ...(this.bgScroll
@@ -385,7 +385,7 @@
385
385
  });
386
386
 
387
387
  on($$('select,input'), 'change', position);
388
- on(window, 'scroll', position);
388
+ on(window, 'scroll', position, { passive: true });
389
389
 
390
390
  position();
391
391