uikit 3.15.1 → 3.15.2
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.
- package/CHANGELOG.md +10 -0
- package/README.md +1 -1
- package/dist/css/uikit-core-rtl.css +1 -1
- package/dist/css/uikit-core-rtl.min.css +1 -1
- package/dist/css/uikit-core.css +1 -1
- package/dist/css/uikit-core.min.css +1 -1
- package/dist/css/uikit-rtl.css +1 -1
- package/dist/css/uikit-rtl.min.css +1 -1
- package/dist/css/uikit.css +1 -1
- package/dist/css/uikit.min.css +1 -1
- package/dist/js/components/countdown.js +1 -1
- package/dist/js/components/countdown.min.js +1 -1
- package/dist/js/components/filter.js +1 -1
- package/dist/js/components/filter.min.js +1 -1
- package/dist/js/components/lightbox-panel.js +1 -1
- package/dist/js/components/lightbox-panel.min.js +1 -1
- package/dist/js/components/lightbox.js +1 -1
- package/dist/js/components/lightbox.min.js +1 -1
- package/dist/js/components/notification.js +1 -1
- package/dist/js/components/notification.min.js +1 -1
- package/dist/js/components/parallax.js +1 -1
- package/dist/js/components/parallax.min.js +1 -1
- package/dist/js/components/slider-parallax.js +1 -1
- package/dist/js/components/slider-parallax.min.js +1 -1
- package/dist/js/components/slider.js +1 -1
- package/dist/js/components/slider.min.js +1 -1
- package/dist/js/components/slideshow-parallax.js +1 -1
- package/dist/js/components/slideshow-parallax.min.js +1 -1
- package/dist/js/components/slideshow.js +1 -1
- package/dist/js/components/slideshow.min.js +1 -1
- package/dist/js/components/sortable.js +1 -1
- package/dist/js/components/sortable.min.js +1 -1
- package/dist/js/components/tooltip.js +1 -1
- package/dist/js/components/tooltip.min.js +1 -1
- package/dist/js/components/upload.js +1 -1
- package/dist/js/components/upload.min.js +1 -1
- package/dist/js/uikit-core.js +28 -16
- package/dist/js/uikit-core.min.js +2 -2
- package/dist/js/uikit-icons.js +1 -1
- package/dist/js/uikit-icons.min.js +1 -1
- package/dist/js/uikit.js +28 -16
- package/dist/js/uikit.min.js +2 -2
- package/package.json +7 -7
- package/src/js/core/drop.js +16 -7
- package/src/js/core/scroll.js +1 -1
- package/src/js/util/position.js +4 -1
- package/tests/drop.html +36 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! UIkit 3.15.1 | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */(function(jt,qt){typeof exports=="object"&&typeof module<"u"?module.exports=qt():typeof define=="function"&&define.amd?define("uikit",qt):(jt=typeof globalThis<"u"?globalThis:jt||self,jt.UIkit=qt())})(this,function(){"use strict";const{hasOwnProperty:jt,toString:qt}=Object.prototype;function mt(t,e){return jt.call(t,e)}const Xn=/\B([A-Z])/g,vt=Y(t=>t.replace(Xn,"-$1").toLowerCase()),Gn=/-(\w)/g,Ot=Y(t=>t.replace(Gn,Ci)),wt=Y(t=>t.length?Ci(null,t.charAt(0))+t.slice(1):"");function Ci(t,e){return e?e.toUpperCase():""}function q(t,e){return t==null||t.startsWith==null?void 0:t.startsWith(e)}function Yt(t,e){return t==null||t.endsWith==null?void 0:t.endsWith(e)}function d(t,e){return t==null||t.includes==null?void 0:t.includes(e)}function ae(t,e){return t==null||t.findIndex==null?void 0:t.findIndex(e)}const{isArray:F,from:Ei}=Array,{assign:Pt}=Object;function nt(t){return typeof t=="function"}function ft(t){return t!==null&&typeof t=="object"}function dt(t){return qt.call(t)==="[object Object]"}function Bt(t){return ft(t)&&t===t.window}function le(t){return He(t)===9}function ze(t){return He(t)>=1}function Vt(t){return He(t)===1}function He(t){return!Bt(t)&&ft(t)&&t.nodeType}function ce(t){return typeof t=="boolean"}function y(t){return typeof t=="string"}function Le(t){return typeof t=="number"}function bt(t){return Le(t)||y(t)&&!isNaN(t-parseFloat(t))}function Fe(t){return!(F(t)?t.length:ft(t)?Object.keys(t).length:!1)}function R(t){return t===void 0}function Re(t){return ce(t)?t:t==="true"||t==="1"||t===""?!0:t==="false"||t==="0"?!1:t}function Xt(t){const e=Number(t);return isNaN(e)?!1:e}function w(t){return parseFloat(t)||0}function P(t){return p(t)[0]}function p(t){return t&&(ze(t)?[t]:Array.from(t).filter(ze))||[]}function $t(t){var e;if(Bt(t))return t;t=P(t);const i=le(t)?t:(e=t)==null?void 0:e.ownerDocument;return(i==null?void 0:i.defaultView)||window}function Ie(t,e){return t===e||ft(t)&&ft(e)&&Object.keys(t).length===Object.keys(e).length&&yt(t,(i,n)=>i===e[n])}function We(t,e,i){return t.replace(new RegExp(e+"|"+i,"g"),n=>n===e?i:e)}function Gt(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 je(t,e){return t.slice().sort((i,n)=>{let{[e]:s=0}=i,{[e]:o=0}=n;return s>o?1:o>s?-1:0})}function Jn(t,e){const i=new Set;return t.filter(n=>{let{[e]:s}=n;return i.has(s)?!1:i.add(s)})}function lt(t,e,i){return e===void 0&&(e=0),i===void 0&&(i=1),Math.min(Math.max(Xt(t)||0,e),i)}function ct(){}function qe(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return[["bottom","top"],["right","left"]].every(n=>{let[s,o]=n;return Math.min(...e.map(r=>{let{[s]:a}=r;return a}))-Math.max(...e.map(r=>{let{[o]:a}=r;return a}))>0})}function Ye(t,e){return t.x<=e.right&&t.x>=e.left&&t.y<=e.bottom&&t.y>=e.top}function Ve(t,e,i){const n=e==="width"?"height":"width";return{[n]:t[e]?Math.round(i*t[n]/t[e]):t[n],[e]:i}}function Oi(t,e){t={...t};for(const i in t)t=t[i]>e[i]?Ve(t,i,e[i]):t;return t}function Kn(t,e){t=Oi(t,e);for(const i in t)t=t[i]<e[i]?Ve(t,i,e[i]):t;return t}const Xe={ratio:Ve,contain:Oi,cover:Kn};function he(t,e,i,n){i===void 0&&(i=0),n===void 0&&(n=!1),e=p(e);const{length:s}=e;return s?(t=bt(t)?Xt(t):t==="next"?i+1:t==="previous"?i-1:e.indexOf(P(t)),n?lt(t,0,s-1):(t%=s,t<0?t+s:t)):-1}function Y(t){const e=Object.create(null);return i=>e[i]||(e[i]=t(i))}class Pi{constructor(){this.promise=new Promise((e,i)=>{this.reject=i,this.resolve=e})}}function v(t,e,i){if(ft(e)){for(const s in e)v(t,s,e[s]);return}if(R(i)){var n;return(n=P(t))==null?void 0:n.getAttribute(e)}else for(const s of p(t))nt(i)&&(i=i.call(s,v(s,e))),i===null?Jt(s,e):s.setAttribute(e,i)}function xt(t,e){return p(t).some(i=>i.hasAttribute(e))}function Jt(t,e){const i=p(t);for(const n of e.split(" "))for(const s of i)s.removeAttribute(n)}function At(t,e){for(const i of[e,"data-"+e])if(xt(t,i))return v(t,i)}const Zn={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 Ge(t){return p(t).some(e=>Zn[e.tagName.toLowerCase()])}function D(t){return p(t).some(e=>e.offsetWidth||e.offsetHeight||e.getClientRects().length)}const ue="input,select,textarea,button";function Bi(t){return p(t).some(e=>A(e,ue))}const fe=ue+",a[href],[tabindex]";function Je(t){return A(t,fe)}function E(t){var e;return(e=P(t))==null?void 0:e.parentElement}function Kt(t,e){return p(t).filter(i=>A(i,e))}function A(t,e){return p(t).some(i=>i.matches(e))}function K(t,e){return Vt(t)?t.closest(q(e,">")?e.slice(1):e):p(t).map(i=>K(i,e)).filter(Boolean)}function C(t,e){return y(e)?!!K(t,e):P(e).contains(P(t))}function _t(t,e){const i=[];for(;t=E(t);)(!e||A(t,e))&&i.push(t);return i}function st(t,e){t=P(t);const i=t?p(t.children):[];return e?Kt(i,e):i}function Ke(t,e){return e?p(t).indexOf(P(e)):st(E(t)).indexOf(t)}function ht(t,e){return Ze(t,_i(t,e))}function Zt(t,e){return Qt(t,_i(t,e))}function Ze(t,e){return P(Mi(t,e,"querySelector"))}function Qt(t,e){return p(Mi(t,e,"querySelectorAll"))}const Qn=/(^|[^\\],)\s*[!>+~-]/,Ai=Y(t=>t.match(Qn));function _i(t,e){return e===void 0&&(e=document),y(t)&&Ai(t)||le(e)?e:e.ownerDocument}const Un=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,ts=Y(t=>t.replace(Un,"$1 *"));function Mi(t,e,i){if(e===void 0&&(e=document),!t||!y(t))return t;if(t=ts(t),Ai(t)){const n=is(t);t="";for(let s of n){let o=e;if(s[0]==="!"){const r=s.substr(1).trim().split(" ");if(o=K(E(e),r[0]),s=r.slice(1).join(" ").trim(),!s.length&&n.length===1)return o}if(s[0]==="-"){const r=s.substr(1).trim().split(" "),a=(o||e).previousElementSibling;o=A(a,s.substr(1))?a:null,s=r.slice(1).join(" ")}o&&(t+=(t?",":"")+ns(o)+" "+s)}e=document}try{return e[i](t)}catch{return null}}const es=/.*?[^\\](?:,|$)/g,is=Y(t=>t.match(es).map(e=>e.replace(/,$/,"").trim()));function ns(t){const e=[];for(;t.parentNode;){const i=v(t,"id");if(i){e.unshift("#"+Qe(i));break}else{let{tagName:n}=t;n!=="HTML"&&(n+=":nth-child("+(Ke(t)+1)+")"),e.unshift(n),t=t.parentNode}}return e.join(" > ")}function Qe(t){return y(t)?CSS.escape(t):""}function x(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];let[n,s,o,r,a=!1]=ti(e);r.length>1&&(r=os(r)),a!=null&&a.self&&(r=rs(r)),o&&(r=ss(o,r));for(const l of s)for(const h of n)h.addEventListener(l,r,a);return()=>Ue(n,s,r,a)}function Ue(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];let[n,s,,o,r=!1]=ti(e);for(const a of s)for(const l of n)l.removeEventListener(a,o,r)}function S(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];const[n,s,o,r,a=!1,l]=ti(e),h=x(n,s,o,u=>{const f=!l||l(u);f&&(h(),r(u,f))},a);return h}function k(t,e,i){return ei(t).every(n=>n.dispatchEvent(de(e,!0,!0,i)))}function de(t,e,i,n){return e===void 0&&(e=!0),i===void 0&&(i=!1),y(t)&&(t=new CustomEvent(t,{bubbles:e,cancelable:i,detail:n})),t}function ti(t){return t[0]=ei(t[0]),y(t[1])&&(t[1]=t[1].split(" ")),nt(t[2])&&t.splice(2,0,!1),t}function ss(t,e){return i=>{const n=t[0]===">"?Qt(t,i.currentTarget).reverse().filter(s=>C(i.target,s))[0]:K(i.target,t);n&&(i.current=n,e.call(this,i))}}function os(t){return e=>F(e.detail)?t(e,...e.detail):t(e)}function rs(t){return function(e){if(e.target===e.currentTarget||e.target===e.current)return t.call(null,e)}}function Ni(t){return t&&"addEventListener"in t}function as(t){return Ni(t)?t:P(t)}function ei(t){return F(t)?t.map(as).filter(Boolean):y(t)?Qt(t):Ni(t)?[t]:p(t)}function Mt(t){return t.pointerType==="touch"||!!t.touches}function pe(t){var e,i;const{clientX:n,clientY:s}=((e=t.touches)==null?void 0:e[0])||((i=t.changedTouches)==null?void 0:i[0])||t;return{x:n,y:s}}function ls(t,e){const i={data:null,method:"GET",headers:{},xhr:new XMLHttpRequest,beforeSend:ct,responseType:"",...e};return Promise.resolve().then(()=>i.beforeSend(i)).then(()=>cs(t,i))}function cs(t,e){return new Promise((i,n)=>{const{xhr:s}=e;for(const o in e)if(o in s)try{s[o]=e[o]}catch{}s.open(e.method.toUpperCase(),t);for(const o in e.headers)s.setRequestHeader(o,e.headers[o]);x(s,"load",()=>{s.status===0||s.status>=200&&s.status<300||s.status===304?i(s):n(Pt(Error(s.statusText),{xhr:s,status:s.status}))}),x(s,"error",()=>n(Pt(Error("Network Error"),{xhr:s}))),x(s,"timeout",()=>n(Pt(Error("Network Timeout"),{xhr:s}))),s.send(e.data)})}function hs(t,e,i){return new Promise((n,s)=>{const o=new Image;o.onerror=r=>{s(r)},o.onload=()=>{n(o)},i&&(o.sizes=i),e&&(o.srcset=e),o.src=t})}const us={"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,n){n===void 0&&(n="");const s=p(t);for(const o of s)if(y(e)){if(e=ii(e),R(i))return getComputedStyle(o).getPropertyValue(e);o.style.setProperty(e,bt(i)&&!us[e]?i+"px":i||Le(i)?i:"",n)}else if(F(e)){const r={};for(const a of e)r[a]=c(o,a);return r}else ft(e)&&(n=i,yt(e,(r,a)=>c(o,a,r,n)));return s[0]}const ii=Y(t=>fs(t));function fs(t){if(q(t,"--"))return t;t=vt(t);const{style:e}=document.documentElement;if(t in e)return t;for(const i of["webkit","moz"]){const n="-"+i+"-"+t;if(n in e)return n}}function b(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];Di(t,i,"add")}function z(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];Di(t,i,"remove")}function ni(t,e){v(t,"class",i=>(i||"").replace(new RegExp("\\b"+e+"\\b\\s?","g"),""))}function si(t){!(arguments.length<=1)&&arguments[1]&&z(t,arguments.length<=1?void 0:arguments[1]),!(arguments.length<=2)&&arguments[2]&&b(t,arguments.length<=2?void 0:arguments[2])}function $(t,e){return[e]=oi(e),!!e&&p(t).some(i=>i.classList.contains(e))}function V(t,e,i){const n=oi(e);R(i)||(i=!!i);for(const s of p(t))for(const o of n)s.classList.toggle(o,i)}function Di(t,e,i){e=e.reduce((n,s)=>n.concat(oi(s)),[]);for(const n of p(t))n.classList[i](...e)}function oi(t){return String(t).split(/\s|,/).filter(Boolean)}function ds(t,e,i,n){return i===void 0&&(i=400),n===void 0&&(n="linear"),i=Math.round(i),Promise.all(p(t).map(s=>new Promise((o,r)=>{for(const l in e){const h=c(s,l);h===""&&c(s,l,h)}const a=setTimeout(()=>k(s,"transitionend"),i);S(s,"transitionend transitioncanceled",l=>{let{type:h}=l;clearTimeout(a),z(s,"uk-transition"),c(s,{transitionProperty:"",transitionDuration:"",transitionTimingFunction:""}),h==="transitioncanceled"?r():o(s)},{self:!0}),b(s,"uk-transition"),c(s,{transitionProperty:Object.keys(e).map(ii).join(","),transitionDuration:i+"ms",transitionTimingFunction:n,...e})})))}const ot={start:ds,async stop(t){k(t,"transitionend"),await Promise.resolve()},async cancel(t){k(t,"transitioncanceled"),await Promise.resolve()},inProgress(t){return $(t,"uk-transition")}},Ut="uk-animation-";function zi(t,e,i,n,s){return i===void 0&&(i=200),Promise.all(p(t).map(o=>new Promise((r,a)=>{k(o,"animationcanceled");const l=setTimeout(()=>k(o,"animationend"),i);S(o,"animationend animationcanceled",h=>{let{type:u}=h;clearTimeout(l),u==="animationcanceled"?a():r(o),c(o,"animationDuration",""),ni(o,Ut+"\\S*")},{self:!0}),c(o,"animationDuration",i+"ms"),b(o,e,Ut+(s?"leave":"enter")),q(e,Ut)&&(n&&b(o,"uk-transform-origin-"+n),s&&b(o,Ut+"reverse"))})))}const ps=new RegExp(Ut+"(enter|leave)"),tt={in:zi,out(t,e,i,n){return zi(t,e,i,n,!0)},inProgress(t){return ps.test(v(t,"class"))},cancel(t){k(t,"animationcanceled")}},kt={width:["left","right"],height:["top","bottom"]};function X(t){const e=Vt(t)?P(t).getBoundingClientRect():{height:et(t),width:te(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 T(t,e){const i=X(t);if(t){const{scrollY:s,scrollX:o}=$t(t),r={height:s,width:o};for(const a in kt)for(const l of kt[a])i[l]+=r[a]}if(!e)return i;const n=c(t,"position");yt(c(t,["left","top"]),(s,o)=>c(t,o,e[o]-i[o]+w(n==="absolute"&&s==="auto"?Hi(t)[o]:s)))}function Hi(t){let{top:e,left:i}=T(t);const{ownerDocument:{body:n,documentElement:s},offsetParent:o}=P(t);let r=o||s;for(;r&&(r===n||r===s)&&c(r,"position")==="static";)r=r.parentNode;if(Vt(r)){const a=T(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 Tt(t){t=P(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=$t(t);return e[0]+=i.scrollY,e[1]+=i.scrollX,e}return e}const et=Li("height"),te=Li("width");function Li(t){const e=wt(t);return(i,n)=>{if(R(n)){if(Bt(i))return i["inner"+e];if(le(i)){const s=i.documentElement;return Math.max(s["offset"+e],s["scroll"+e])}return i=P(i),n=c(i,t),n=n==="auto"?i["offset"+e]:w(n)||0,n-ee(i,t)}else return c(i,t,!n&&n!==0?"":+n+ee(i,t)+"px")}}function ee(t,e,i){return i===void 0&&(i="border-box"),c(t,"boxSizing")===i?kt[e].map(wt).reduce((n,s)=>n+w(c(t,"padding"+s))+w(c(t,"border"+s+"Width")),0):0}function Fi(t){for(const e in kt)for(const i in kt[e])if(kt[e][i]===t)return kt[e][1-i];return t}function Z(t,e,i,n){return e===void 0&&(e="width"),i===void 0&&(i=window),n===void 0&&(n=!1),y(t)?ms(t).reduce((s,o)=>{const r=ws(o);return r&&(o=bs(r==="vh"?et($t(i)):r==="vw"?te($t(i)):n?i["offset"+wt(e)]:X(i)[e],o)),s+w(o)},0):w(t)}const gs=/-?\d+(?:\.\d+)?(?:v[wh]|%|px)?/g,ms=Y(t=>t.toString().replace(/\s/g,"").match(gs)||[]),vs=/(?:v[hw]|%)$/,ws=Y(t=>(t.match(vs)||[])[0]);function bs(t,e){return t*w(e)/100}function ri(t){if(document.readyState!=="loading"){t();return}S(document,"DOMContentLoaded",t)}function it(t,e){var i;return(t==null||(i=t.tagName)==null?void 0:i.toLowerCase())===e.toLowerCase()}function Ri(t){return t=m(t),t.innerHTML="",t}function ge(t,e){return R(e)?m(t).innerHTML:rt(Ri(t),e)}const $s=ve("prepend"),rt=ve("append"),Ii=ve("before"),me=ve("after");function ve(t){return function(e,i){var n;const s=p(y(i)?Dt(i):i);return(n=m(e))==null||n[t](...s),Wi(s)}}function Nt(t){p(t).forEach(e=>e.remove())}function ai(t,e){for(e=P(Ii(t,e));e.firstChild;)e=e.firstChild;return rt(e,t),e}function li(t,e){return p(p(t).map(i=>i.hasChildNodes()?ai(p(i.childNodes),e):rt(i,e)))}function we(t){p(t).map(E).filter((e,i,n)=>n.indexOf(e)===i).forEach(e=>e.replaceWith(...e.childNodes))}const ys=/^\s*<(\w+|!)[^>]*>/,xs=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function Dt(t){const e=xs.exec(t);if(e)return document.createElement(e[1]);const i=document.createElement("div");return ys.test(t)?i.insertAdjacentHTML("beforeend",t.trim()):i.textContent=t,Wi(i.childNodes)}function Wi(t){return t.length>1?t:t[0]}function ut(t,e){if(!!Vt(t))for(e(t),t=t.firstElementChild;t;){const i=t.nextElementSibling;ut(t,e),t=i}}function m(t,e){return ji(t)?P(Dt(t)):Ze(t,e)}function _(t,e){return ji(t)?p(Dt(t)):Qt(t,e)}function ji(t){return y(t)&&q(t.trim(),"<")}const St=typeof window<"u",ie=St&&v(document.documentElement,"dir")==="rtl",zt=St&&"ontouchstart"in window,Ht=St&&window.PointerEvent,Lt=Ht?"pointerdown":zt?"touchstart":"mousedown",ks=Ht?"pointermove":zt?"touchmove":"mousemove",Ft=Ht?"pointerup":zt?"touchend":"mouseup",be=Ht?"pointerenter":zt?"":"mouseenter",$e=Ht?"pointerleave":zt?"":"mouseleave",ye=Ht?"pointercancel":"touchcancel",H={reads:[],writes:[],read(t){return this.reads.push(t),hi(),t},write(t){return this.writes.push(t),hi(),t},clear(t){Yi(this.reads,t),Yi(this.writes,t)},flush:ci};function ci(t){qi(H.reads),qi(H.writes.splice(0)),H.scheduled=!1,(H.reads.length||H.writes.length)&&hi(t+1)}const Ts=4;function hi(t){H.scheduled||(H.scheduled=!0,t&&t<Ts?Promise.resolve().then(()=>ci(t)):requestAnimationFrame(()=>ci(1)))}function qi(t){let e;for(;e=t.shift();)try{e()}catch(i){console.error(i)}}function Yi(t,e){const i=t.indexOf(e);return~i&&t.splice(i,1)}function ui(){}ui.prototype={positions:[],init(){this.positions=[];let t;this.unbind=x(document,"mousemove",e=>t=pe(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:n,top:s,bottom:o}=e,[r]=this.positions,a=Gt(this.positions),l=[r,a];return Ye(a,e)?!1:[[{x:i,y:s},{x:n,y:o}],[{x:i,y:o},{x:n,y:s}]].some(u=>{const f=Ss(l,u);return f&&Ye(f,e)})}};function Ss(t,e){let[{x:i,y:n},{x:s,y:o}]=t,[{x:r,y:a},{x:l,y:h}]=e;const u=(h-a)*(s-i)-(l-r)*(o-n);if(u===0)return!1;const f=((l-r)*(n-a)-(h-a)*(i-r))/u;return f<0?!1:{x:i+f*(s-i),y:n+f*(o-n)}}function Rt(t,e,i,n){n===void 0&&(n=!0);const s=new IntersectionObserver(n?(o,r)=>{o.some(a=>a.isIntersecting)&&e(o,r)}:e,i);for(const o of p(t))s.observe(o);return s}const Cs=St&&window.ResizeObserver;function xe(t,e,i){return i===void 0&&(i={box:"border-box"}),Cs?Xi(ResizeObserver,t,e,i):(Es(),ne.add(e),{disconnect(){ne.delete(e)}})}let ne;function Es(){if(ne)return;ne=new Set;let t;const e=()=>{if(!t){t=!0,H.read(()=>t=!1);for(const i of ne)i()}};x(window,"load resize",e),x(document,"loadedmetadata load",e,!0)}function Vi(t,e,i){return Xi(MutationObserver,t,e,i)}function Xi(t,e,i,n){const s=new t(i);for(const o of p(e))s.observe(o,n);return s}const N={};N.events=N.created=N.beforeConnect=N.connected=N.beforeDisconnect=N.disconnected=N.destroy=fi,N.args=function(t,e){return e!==!1&&fi(e||t)},N.update=function(t,e){return je(fi(t,nt(e)?{read:e}:e),"order")},N.props=function(t,e){if(F(e)){const i={};for(const n of e)i[n]=String;e=i}return N.methods(t,e)},N.computed=N.methods=function(t,e){return e?t?{...t,...e}:e:t},N.data=function(t,e,i){return i?Gi(t,e,i):e?t?function(n){return Gi(t,e,n)}:e:t};function Gi(t,e,i){return N.computed(nt(t)?t.call(i,i):t,nt(e)?e.call(i,i):e)}function fi(t,e){return t=t&&!F(t)?[t]:t,e?t?t.concat(e):F(e)?e:[e]:t}function Os(t,e){return R(e)?t:e}function It(t,e,i){const n={};if(nt(e)&&(e=e.options),e.extends&&(t=It(t,e.extends,i)),e.mixins)for(const o of e.mixins)t=It(t,o,i);for(const o in t)s(o);for(const o in e)mt(t,o)||s(o);function s(o){n[o]=(N[o]||Os)(t[o],e[o],i)}return n}function di(t,e){e===void 0&&(e=[]);try{return t?q(t,"{")?JSON.parse(t):e.length&&!d(t,":")?{[e[0]]:t}:t.split(";").reduce((i,n)=>{const[s,o]=n.split(/:(.*)/);return s&&!R(o)&&(i[s.trim()]=o.trim()),i},{}):{}}catch{return{}}}function Ji(t){if(Te(t)&&pi(t,{func:"playVideo",method:"play"}),ke(t))try{t.play().catch(ct)}catch{}}function Ki(t){Te(t)&&pi(t,{func:"pauseVideo",method:"pause"}),ke(t)&&t.pause()}function Zi(t){Te(t)&&pi(t,{func:"mute",method:"setVolume",value:0}),ke(t)&&(t.muted=!0)}function Qi(t){return ke(t)||Te(t)}function ke(t){return it(t,"video")}function Te(t){return it(t,"iframe")&&(Ui(t)||tn(t))}function Ui(t){return!!t.src.match(/\/\/.*?youtube(-nocookie)?\.[a-z]+\/(watch\?v=[^&\s]+|embed)|youtu\.be\/.*/)}function tn(t){return!!t.src.match(/vimeo\.com\/video\/.*/)}async function pi(t,e){await Bs(t),en(t,e)}function en(t,e){try{t.contentWindow.postMessage(JSON.stringify({event:"command",...e}),"*")}catch{}}const gi="_ukPlayer";let Ps=0;function Bs(t){if(t[gi])return t[gi];const e=Ui(t),i=tn(t),n=++Ps;let s;return t[gi]=new Promise(o=>{e&&S(t,"load",()=>{const r=()=>en(t,{event:"listening",id:n});s=setInterval(r,100),r()}),S(window,"message",o,!1,r=>{let{data:a}=r;try{return a=JSON.parse(a),a&&(e&&a.id===n&&a.event==="onReady"||i&&Number(a.player_id)===n)}catch{}}),t.src=""+t.src+(d(t.src,"?")?"&":"?")+(e?"enablejsapi=1":"api=1&player_id="+n)}).then(()=>clearInterval(s))}function mi(t,e,i){return e===void 0&&(e=0),i===void 0&&(i=0),D(t)?qe(...I(t).map(n=>{const{top:s,left:o,bottom:r,right:a}=Q(n);return{top:s-e,left:o-i,bottom:r+e,right:a+i}}).concat(T(t))):!1}function vi(t,e){let{offset:i=0}=e===void 0?{}:e;const n=D(t)?I(t):[];return n.reduce((a,l,h)=>{const{scrollTop:u,scrollHeight:f,offsetHeight:g}=l,O=Q(l),M=f-O.height,{height:L,top:gt}=n[h-1]?Q(n[h-1]):T(t);let j=Math.ceil(gt-O.top-i+u);return i>0&&g<L+i?j+=i:i=0,j>M?(i-=j-M,j=M):j<0&&(i-=j,j=0),()=>s(l,j-u).then(a)},()=>Promise.resolve())();function s(a,l){return new Promise(h=>{const u=a.scrollTop,f=o(Math.abs(l)),g=Date.now();(function O(){const M=r(lt((Date.now()-g)/f));a.scrollTop=u+l*M,M===1?h():requestAnimationFrame(O)})()})}function o(a){return 40*Math.pow(a,.375)}function r(a){return .5*(1-Math.cos(Math.PI*a))}}function nn(t,e,i){if(e===void 0&&(e=0),i===void 0&&(i=0),!D(t))return 0;const[n]=I(t,/auto|scroll/,!0),{scrollHeight:s,scrollTop:o}=n,{height:r}=Q(n),a=s-r,l=Tt(t)[0]-Tt(n)[0],h=Math.max(0,l-r+e),u=Math.min(a,l+t.offsetHeight-i);return lt((o-h)/(u-h))}function I(t,e,i){e===void 0&&(e=/auto|scroll|hidden|clip/),i===void 0&&(i=!1);const n=sn(t);let s=_t(t).reverse();s=s.slice(s.indexOf(n)+1);const o=ae(s,r=>c(r,"position")==="fixed");return~o&&(s=s.slice(o)),[n].concat(s.filter(r=>e.test(c(r,"overflow"))&&(!i||r.scrollHeight>Q(r).height))).reverse()}function Q(t){const e=$t(t),{document:{documentElement:i}}=e;let n=t===sn(t)?e:t;const{visualViewport:s}=e;if(Bt(n)&&s){let{height:r,width:a,scale:l,pageTop:h,pageLeft:u}=s;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=T(n);for(let[r,a,l,h]of[["width","x","left","right"],["height","y","top","bottom"]])Bt(n)?n=i:o[l]+=w(c(n,"border-"+l+"-width")),o[r]=o[a]=n["client"+wt(r)],o[h]=o[r]+o[l];return o}function sn(t){return $t(t).document.scrollingElement}const G=[["width","x","left","right"],["height","y","top","bottom"]];function on(t,e,i){i={attach:{element:["left","top"],target:["left","top"],...i.attach},offset:[0,0],placement:[],...i},F(e)||(e=[e,e]),T(t,rn(t,e,i))}function rn(t,e,i){const n=an(t,e,i),{boundary:s,viewportOffset:o=0,placement:r}=i;let a=n;for(const[l,[h,,u,f]]of Object.entries(G)){const g=As(e[l],o,s,l);if(Se(n,g,l))continue;let O=0;if(r[l]==="flip"){const M=i.attach.target[l];if(M===f&&n[f]<=g[f]||M===u&&n[u]>=g[u])continue;O=Ms(t,e,i,l)[u]-n[u];const L=_s(e[l],o,l);if(!Se(wi(n,O,l),L,l)){if(Se(n,L,l))continue;if(i.recursion)return!1;const gt=Ns(t,e,i);if(gt&&Se(gt,L,1-l))return gt;continue}}else if(r[l]==="shift"){const M=T(e[l]),{offset:L}=i;O=lt(lt(n[u],g[u],g[f]-n[h]),M[u]-n[h]+L[l],M[f]-L[l])-n[u]}a=wi(a,O,l)}return a}function an(t,e,i){let{attach:n,offset:s}={attach:{element:["left","top"],target:["left","top"],...i.attach},offset:[0,0],...i},o=T(t);for(const[r,[a,,l,h]]of Object.entries(G)){const u=n.target[r]===n.element[r]?Q(e[r]):T(e[r]);o=wi(o,u[l]-o[l]+ln(n.target[r],h,u[a])-ln(n.element[r],h,o[a])+ +s[r],r)}return o}function wi(t,e,i){const[,n,s,o]=G[i],r={...t};return r[s]=t[n]=t[s]+e,r[o]+=e,r}function ln(t,e,i){return t==="center"?i/2:t===e?i:0}function As(t,e,i,n){let s=cn(...I(t).map(Q));return e&&(s[G[n][2]]+=e,s[G[n][3]]-=e),i&&(s=cn(s,T(i))),s}function _s(t,e,i){const[n,,s,o]=G[i],[r]=I(t),a=Q(r);return a[s]-=r["scroll"+wt(s)]-e,a[o]=a[s]+r["scroll"+wt(n)]-e,a}function cn(){let t={};for(var e=arguments.length,i=new Array(e),n=0;n<e;n++)i[n]=arguments[n];for(const s of i)for(const[,,o,r]of G)t[o]=Math.max(t[o]||0,s[o]),t[r]=Math.min(...[t[r],s[r]].filter(Boolean));return t}function Se(t,e,i){const[,,n,s]=G[i];return t[n]>=e[n]&&t[s]<=e[s]}function Ms(t,e,i,n){let{offset:s,attach:o}=i;return an(t,e,{attach:{element:hn(o.element,n),target:hn(o.target,n)},offset:Ds(s,n)})}function Ns(t,e,i){return rn(t,e,{...i,attach:{element:i.attach.element.map(un).reverse(),target:i.attach.target.map(un).reverse()},offset:i.offset.reverse(),placement:i.placement.reverse(),recursion:!0})}function hn(t,e){const i=[...t],n=G[e].indexOf(t[e]);return~n&&(i[e]=G[e][1-n%2+2]),i}function un(t){for(let e=0;e<G.length;e++){const i=G[e].indexOf(t);if(~i)return G[1-e][i%2+2]}}function Ds(t,e){return t=[...t],t[e]*=-1,t}var zs=Object.freeze({__proto__:null,ajax:ls,getImage:hs,Transition:ot,Animation:tt,attr:v,hasAttr:xt,removeAttr:Jt,data:At,addClass:b,removeClass:z,removeClasses:ni,replaceClass:si,hasClass:$,toggleClass:V,dimensions:X,offset:T,position:Hi,offsetPosition:Tt,height:et,width:te,boxModelAdjust:ee,flipPosition:Fi,toPx:Z,ready:ri,isTag:it,empty:Ri,html:ge,prepend:$s,append:rt,before:Ii,after:me,remove:Nt,wrapAll:ai,wrapInner:li,unwrap:we,fragment:Dt,apply:ut,$:m,$$:_,inBrowser:St,isRtl:ie,hasTouch:zt,pointerDown:Lt,pointerMove:ks,pointerUp:Ft,pointerEnter:be,pointerLeave:$e,pointerCancel:ye,on:x,off:Ue,once:S,trigger:k,createEvent:de,toEventTargets:ei,isTouch:Mt,getEventPos:pe,fastdom:H,isVoidElement:Ge,isVisible:D,selInput:ue,isInput:Bi,selFocusable:fe,isFocusable:Je,parent:E,filter:Kt,matches:A,closest:K,within:C,parents:_t,children:st,index:Ke,hasOwn:mt,hyphenate:vt,camelize:Ot,ucfirst:wt,startsWith:q,endsWith:Yt,includes:d,findIndex:ae,isArray:F,toArray:Ei,assign:Pt,isFunction:nt,isObject:ft,isPlainObject:dt,isWindow:Bt,isDocument:le,isNode:ze,isElement:Vt,isBoolean:ce,isString:y,isNumber:Le,isNumeric:bt,isEmpty:Fe,isUndefined:R,toBoolean:Re,toNumber:Xt,toFloat:w,toNode:P,toNodes:p,toWindow:$t,isEqual:Ie,swap:We,last:Gt,each:yt,sortBy:je,uniqueBy:Jn,clamp:lt,noop:ct,intersectRect:qe,pointInRect:Ye,Dimensions:Xe,getIndex:he,memoize:Y,Deferred:Pi,MouseTracker:ui,observeIntersection:Rt,observeResize:xe,observeMutation:Vi,mergeOptions:It,parseOptions:di,play:Ji,pause:Ki,mute:Zi,isVideo:Qi,positionAt:on,query:ht,queryAll:Zt,find:Ze,findAll:Qt,escape:Qe,css:c,propName:ii,isInView:mi,scrollIntoView:vi,scrolledOver:nn,scrollParents:I,offsetViewport:Q});function Hs(t){const e=t.data;t.use=function(s){if(!s.installed)return s.call(null,this),s.installed=!0,this},t.mixin=function(s,o){o=(y(o)?t.component(o):o)||this,o.options=It(o.options,s)},t.extend=function(s){s=s||{};const o=this,r=function(l){this._init(l)};return r.prototype=Object.create(o.prototype),r.prototype.constructor=r,r.options=It(o.options,s),r.super=o,r.extend=o.extend,r},t.update=function(s,o){s=s?P(s):document.body;for(const r of _t(s).reverse())n(r[e],o);ut(s,r=>n(r[e],o))};let i;Object.defineProperty(t,"container",{get(){return i||document.body},set(s){i=m(s)}});function n(s,o){if(!!s)for(const r in s)s[r]._connected&&s[r]._callUpdate(o)}}function Ls(t){t.prototype._callHook=function(n){var s;(s=this.$options[n])==null||s.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(n){n===void 0&&(n="update"),this._connected&&((n==="update"||n==="resize")&&this._callWatches(),this.$options.update&&(this._updates||(this._updates=new Set,H.read(()=>{this._connected&&e.call(this,this._updates),delete this._updates})),this._updates.add(n.type||n)))},t.prototype._callWatches=function(){if(this._watch)return;const n=!mt(this,"_watch");this._watch=H.read(()=>{this._connected&&i.call(this,n),this._watch=null})};function e(n){for(const{read:s,write:o,events:r=[]}of this.$options.update){if(!n.has("update")&&!r.some(l=>n.has(l)))continue;let a;s&&(a=s.call(this,this._data,n),a&&dt(a)&&Pt(this._data,a)),o&&a!==!1&&H.write(()=>{this._connected&&o.call(this,this._data,n)})}}function i(n){const{$options:{computed:s}}=this,o={...this._computed};this._computed={};for(const r in s){const{watch:a,immediate:l}=s[r];a&&(n&&l||mt(o,r)&&!Ie(o[r],this[r]))&&a.call(this,this[r],o[r])}}}function Fs(t){let e=0;t.prototype._init=function(i){i=i||{},i.data=js(i,this.constructor.options),this.$options=It(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 n in i)this.$props[n]=this[n]=i[n]},t.prototype._initMethods=function(){const{methods:i}=this.$options;if(i)for(const n in i)this[n]=i[n].bind(this)},t.prototype._initComputeds=function(){const{computed:i}=this.$options;if(this._computed={},i)for(const n in i)Rs(this,n,i[n])},t.prototype._initProps=function(i){let n;i=i||fn(this.$options,this.$name);for(n in i)R(i[n])||(this.$props[n]=i[n]);const s=[this.$options.computed,this.$options.methods];for(n in this.$props)n in i&&Is(s,n)&&(this[n]=this.$props[n])},t.prototype._initEvents=function(){this._events=[];for(const i of this.$options.events||[])if(mt(i,"handler"))Ce(this,i);else for(const n in i)Ce(this,i[n],n)},t.prototype._unbindEvents=function(){this._events.forEach(i=>i()),delete this._events},t.prototype._initObservers=function(){this._observers=[Ys(this)],this.$options.computed&&this.registerObserver(qs(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 fn(t,e){const i={},{args:n=[],props:s={},el:o}=t;if(!s)return i;for(const a in s){const l=vt(a);let h=At(o,l);R(h)||(h=s[a]===Boolean&&h===""?!0:bi(s[a],h),!(l==="target"&&q(h,"_"))&&(i[a]=h))}const r=di(At(o,e),n);for(const a in r){const l=Ot(a);R(s[l])||(i[l]=bi(s[l],r[a]))}return i}function Rs(t,e,i){Object.defineProperty(t,e,{enumerable:!0,get(){const{_computed:n,$props:s,$el:o}=t;return mt(n,e)||(n[e]=(i.get||i).call(t,s,o)),n[e]},set(n){const{_computed:s}=t;s[e]=i.set?i.set.call(t,n):n,R(s[e])&&delete s[e]}})}function Ce(t,e,i){dt(e)||(e={name:i,handler:e});let{name:n,el:s,handler:o,capture:r,passive:a,delegate:l,filter:h,self:u}=e;if(s=nt(s)?s.call(t):s||t.$el,F(s)){s.forEach(f=>Ce(t,{...e,el:f},i));return}!s||h&&!h.call(t)||t._events.push(x(s,n,l?y(l)?l:l.call(t):null,y(o)?t[o]:o.bind(t),{passive:a,capture:r,self:u}))}function Is(t,e){return t.every(i=>!i||!mt(i,e))}function bi(t,e){return t===Boolean?Re(e):t===Number?Xt(e):t==="list"?Ws(e):t?t(e):e}function Ws(t){return F(t)?t:y(t)?t.split(/,(?![^(]*\))/).map(e=>bt(e)?Xt(e):Re(e.trim())):[t]}function js(t,e){let{data:i={}}=t,{args:n=[],props:s={}}=e;F(i)&&(i=i.slice(0,n.length).reduce((o,r,a)=>(dt(r)?Pt(o,r):o[n[a]]=r,o),{}));for(const o in i)R(i[o])?delete i[o]:s[o]&&(i[o]=bi(s[o],i[o]));return i}function qs(t){const{el:e}=t.$options,i=new MutationObserver(()=>t.$emit());return i.observe(e,{childList:!0,subtree:!0}),i}function Ys(t){const{$name:e,$options:i,$props:n}=t,{attrs:s,props:o,el:r}=i;if(!o||s===!1)return;const a=F(s)?s:Object.keys(o),l=a.map(u=>vt(u)).concat(e),h=new MutationObserver(u=>{const f=fn(i,e);u.some(g=>{let{attributeName:O}=g;const M=O.replace("data-","");return(M===e?a:[Ot(M),Ot(O)]).some(L=>!R(f[L])&&f[L]!==n[L])})&&t.$reset()});return h.observe(r,{attributes:!0,attributeFilter:l.concat(l.map(u=>"data-"+u))}),h}function Vs(t){const e=t.data;t.prototype.$create=function(n,s,o){return t[n](s,o)},t.prototype.$mount=function(n){const{name:s}=this.$options;n[e]||(n[e]={}),!n[e][s]&&(n[e][s]=this,this.$el=this.$options.el=this.$options.el||n,C(n,document)&&this._callConnected())},t.prototype.$reset=function(){this._callDisconnected(),this._callConnected()},t.prototype.$destroy=function(n){n===void 0&&(n=!1);const{el:s,name:o}=this.$options;s&&this._callDisconnected(),this._callHook("destroy"),s!=null&&s[e]&&(delete s[e][o],Fe(s[e])||delete s[e],n&&Nt(this.$el))},t.prototype.$emit=function(n){this._callUpdate(n)},t.prototype.$update=function(n,s){n===void 0&&(n=this.$el),t.update(n,s)},t.prototype.$getComponent=t.getComponent;const i=Y(n=>t.prefix+vt(n));Object.defineProperties(t.prototype,{$container:Object.getOwnPropertyDescriptor(t,"container"),$name:{get(){return i(this.$options.name)}}})}function Xs(t){const e=t.data,i={};t.component=function(n,s){const o=vt(n);if(n=Ot(o),!s)return dt(i[n])&&(i[n]=t.extend(i[n])),i[n];t[n]=function(a,l){const h=t.component(n);return h.options.functional?new h({data:dt(a)?a:[...arguments]}):a?_(a).map(u)[0]:u();function u(f){const g=t.getComponent(f,n);if(g)if(l)g.$destroy();else return g;return new h({el:f,data:l})}};const r=dt(s)?{...s}:s.options;return r.name=n,r.install==null||r.install(t,r,n),t._initialized&&!r.functional&&H.read(()=>t[n]("[uk-"+o+"],[data-uk-"+o+"]")),i[n]=dt(s)?r:s},t.getComponents=n=>(n==null?void 0:n[e])||{},t.getComponent=(n,s)=>t.getComponents(n)[s],t.connect=n=>{if(n[e])for(const s in n[e])n[e][s]._callConnected();for(const s of n.attributes){const o=dn(s.name);o&&o in i&&t[o](n)}},t.disconnect=n=>{for(const s in n[e])n[e][s]._callDisconnected()}}const dn=Y(t=>q(t,"uk-")||q(t,"data-uk-")?Ot(t.replace("data-uk-","").replace("uk-","")):!1),J=function(t){this._init(t)};J.util=zs,J.data="__uikit__",J.prefix="uk-",J.options={},J.version="3.15.1",Hs(J),Ls(J),Fs(J),Xs(J),Vs(J);function Gs(t){const{connect:e,disconnect:i}=t;if(!St||!window.MutationObserver)return;H.read(function(){document.body&&ut(document.body,e),new MutationObserver(o=>o.forEach(n)).observe(document,{childList:!0,subtree:!0}),new MutationObserver(o=>o.forEach(s)).observe(document,{attributes:!0,subtree:!0}),t._initialized=!0});function n(o){let{addedNodes:r,removedNodes:a}=o;for(const l of r)ut(l,e);for(const l of a)ut(l,i)}function s(o){var r;let{target:a,attributeName:l}=o;const h=dn(l);if(!(!h||!(h in t))){if(xt(a,l)){t[h](a);return}(r=t.getComponent(a,h))==null||r.$destroy()}}}var at={connected(){!$(this.$el,this.$name)&&b(this.$el,this.$name)}},Ee={data:{preload:5},methods:{lazyload(t,e){t===void 0&&(t=this.$el),e===void 0&&(e=this.$el),this.registerObserver(Rt(t,(i,n)=>{for(const s of p(nt(e)?e():e))_('[loading="lazy"]',s).slice(0,this.preload-1).forEach(o=>Jt(o,"loading"));for(const s of i.filter(o=>{let{isIntersecting:r}=o;return r}).map(o=>{let{target:r}=o;return r}))n.unobserve(s)}))}}},Wt={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=>q(e[0],i))}},methods:{toggleElement(t,e,i){return new Promise(n=>Promise.all(p(t).map(s=>{const o=ce(e)?e:!this.isToggled(s);if(!k(s,"before"+(o?"show":"hide"),[this]))return Promise.reject();const r=(nt(i)?i:i===!1||!this.hasAnimation?Js(this):this.hasTransition?pn(this):Ks(this))(s,o),a=o?this.clsEnter:this.clsLeave;b(s,a),k(s,o?"show":"hide",[this]);const l=()=>{z(s,a),k(s,o?"shown":"hidden",[this]),this.$update(s)};return r?r.then(l,()=>(z(s,a),Promise.reject())):l()})).then(n,ct))},isToggled(t){return t===void 0&&(t=this.$el),[t]=p(t),$(t,this.clsEnter)?!0:$(t,this.clsLeave)?!1:this.cls?$(t,this.cls.split(" ")[0]):D(t)},_toggle(t,e){if(!t)return;e=Boolean(e);let i;this.cls?(i=d(this.cls," ")||e!==$(t,this.cls),i&&V(t,this.cls,d(this.cls," ")?void 0:e)):(i=e===t.hidden,i&&(t.hidden=!e)),_("[autofocus]",t).some(n=>D(n)?n.focus()||!0:n.blur()),i&&(k(t,"toggled",[e,this]),this.$update(t))}}};function Js(t){let{_toggle:e}=t;return(i,n)=>(tt.cancel(i),ot.cancel(i),e(i,n))}function pn(t){var e;const[i="reveal",n="top"]=((e=t.animation[0])==null?void 0:e.split("-"))||[],s=[["left","right"],["top","bottom"]],o=s[d(s[0],n)?0:1],r=o[1]===n,l=["width","height"][s.indexOf(o)],h="margin-"+o[0],u="margin-"+n;return async(f,g)=>{let{duration:O,velocity:M,transition:L,_toggle:gt}=t,j=X(f)[l];const Cr=ot.inProgress(f);await ot.cancel(f),g&>(f,!0);const Er=Object.fromEntries(["padding","border","width","height","overflowY","overflowX",h,u].map(Vn=>[Vn,f.style[Vn]])),re=X(f),Si=w(c(f,h)),jn=w(c(f,u)),Et=re[l]+jn;!Cr&&!g&&(j+=jn);const[De]=li(f,"<div>");c(De,{boxSizing:"border-box",height:re.height,width:re.width,...c(f,["overflow","padding","borderTop","borderRight","borderBottom","borderLeft","borderImage",u])}),c(f,{padding:0,border:0,minWidth:0,minHeight:0,[u]:0,width:re.width,height:re.height,overflow:"hidden",[l]:j});const qn=j/Et;O=(M*Et+O)*(g?1-qn:qn);const Yn={[l]:g?Et:0};r&&(c(f,h,Et-j+Si),Yn[h]=g?Si:Et+Si),!r^i==="reveal"&&(c(De,h,-Et+j),ot.start(De,{[h]:g?0:-Et},O,L));try{await ot.start(f,Yn,O,L)}finally{c(f,Er),we(De.firstChild),g||gt(f,!1)}}}function Ks(t){return(e,i)=>{tt.cancel(e);const{animation:n,duration:s,_toggle:o}=t;return i?(o(e,!0),tt.in(e,n[0],s,t.origin)):tt.out(e,n[1]||n[0],s,t.origin).then(()=>o(e,!1))}}var gn={mixins:[at,Ee,Wt],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 _(i,e)},watch(t,e){if(e||$(t,this.clsOpen))return;const i=this.active!==!1&&t[Number(this.active)]||!this.collapsible&&t[0];i&&this.toggle(i,!1)},immediate:!0},toggles(t){let{toggle:e}=t;return this.items.map(i=>m(e,i))},contents:{get(t){let{content:e}=t;return this.items.map(i=>m(e,i))},watch(t){for(const e of t)mn(e,!$(this.items.find(i=>C(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(Ke(this.toggles,t.current))}}],methods:{toggle(t,e){let i=[this.items[he(t,this.items)]];const n=Kt(this.items,"."+this.clsOpen);if(!this.multiple&&!d(n,i[0])&&(i=i.concat(n)),!(!this.collapsible&&n.length<2&&!Kt(i,":not(."+this.clsOpen+")").length))for(const s of i)this.toggleElement(s,!$(s,this.clsOpen),async(o,r)=>{V(o,this.clsOpen,r),v(m(this.$props.toggle,o),"aria-expanded",r);const a=m(this.content,o);if(e===!1||!this.animation){a.hidden=!r,mn(a,!r);return}if(await pn(this)(a,r),r){const l=m(this.$props.toggle,o);H.read(()=>{mi(l)||vi(l,{offset:this.offset})})}})}}};function mn(t,e){t&&(t.hidden=e)}var Zs={mixins:[at,Wt],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,Qs(this)),this.$destroy(!0)}}};function Qs(t){let{duration:e,transition:i,velocity:n}=t;return s=>{const o=w(c(s,"height"));return c(s,"height",o),ot.start(s,{height:0,marginTop:0,marginBottom:0,paddingTop:0,paddingBottom:0,borderTop:0,borderBottom:0,opacity:0},n*o+e,i)}}var vn={args:"autoplay",props:{automute:Boolean,autoplay:Boolean},data:{automute:!1,autoplay:!0},connected(){this.inView=this.autoplay==="inview",this.inView&&!xt(this.$el,"preload")&&(this.$el.preload="none"),it(this.$el,"iframe")&&!xt(this.$el,"allow")&&(this.$el.allow="autoplay"),this.automute&&Zi(this.$el),this.registerObserver(Rt(this.$el,()=>this.$emit(),{},!1))},update:{read(){return Qi(this.$el)?{visible:D(this.$el)&&c(this.$el,"visibility")!=="hidden",inView:this.inView&&mi(this.$el)}:!1},write(t){let{visible:e,inView:i}=t;!e||this.inView&&!i?Ki(this.$el):(this.autoplay===!0||this.inView&&i)&&Ji(this.$el)}}},pt={connected(){var t;this.registerObserver(xe(((t=this.$options.resizeTargets)==null?void 0:t.call(this))||this.$el,()=>this.$emit("resize")))}},Us={mixins:[pt,vn],props:{width:Number,height:Number},data:{automute:!0},events:{"load loadedmetadata"(){this.$emit("resize")}},resizeTargets(){return[this.$el,E(this.$el)]},update:{read(){const{ratio:t,cover:e}=Xe,{$el:i,width:n,height:s}=this;let o={width:n,height:s};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):s?o=t(h,"height",o.height):o=h}const{offsetHeight:r,offsetWidth:a}=to(i)||E(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 to(t){for(;t=E(t);)if(c(t,"position")!=="static")return t}var $i={props:{container:Boolean},data:{container:!0},computed:{container(t){let{container:e}=t;return e===!0&&this.$container||e&&m(e)}}},eo={props:{pos:String,offset:null,flip:Boolean,shift:Boolean,inset:Boolean},data:{pos:"bottom-"+(ie?"right":"left"),offset:!1,flip:!0,shift:!0,inset:!1},connected(){this.pos=this.$props.pos.split("-").concat("center").slice(0,2),[this.dir,this.align]=this.pos,this.axis=d(["top","bottom"],this.dir)?"y":"x"},methods:{positionAt(t,e,i){let n=[this.getPositionOffset(t),this.getShiftOffset(t)];const s=[this.flip&&"flip",this.shift&&"shift"],o={element:[this.inset?this.dir:Fi(this.dir),this.align],target:[this.dir,this.align]};if(this.axis==="y"){for(const u in o)o[u].reverse();n.reverse(),s.reverse()}const[r]=I(t,/auto|scroll/),{scrollTop:a,scrollLeft:l}=r,h=X(t);c(t,{top:-h.height,left:-h.width}),on(t,e,{attach:o,offset:n,boundary:i,placement:s,viewportOffset:this.getViewportOffset(t)}),r.scrollTop=a,r.scrollLeft=l},getPositionOffset(t){return Z(this.offset===!1?c(t,"--uk-position-offset"):this.offset,this.axis==="x"?"width":"height",t)*(d(["left","top"],this.dir)?-1:1)*(this.inset?-1:1)},getShiftOffset(t){return this.align==="center"?0:Z(c(t,"--uk-position-shift-offset"),this.axis==="y"?"width":"height",t)*(d(["left","top"],this.align)?1:-1)},getViewportOffset(t){return Z(c(t,"--uk-position-viewport-offset"))}}},io={beforeConnect(){this._style=v(this.$el,"style")},disconnected(){v(this.$el,"style",this._style)}};const W=[];var wn={mixins:[at,$i,Wt],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 m(i,e)},transitionElement(){return this.panel},bgClose(t){let{bgClose:e}=t;return e&&this.panel}},beforeDisconnect(){d(W,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()===d(W,this)&&this.toggle())}},{name:"beforeshow",self:!0,handler(t){if(d(W,this))return!1;!this.stack&&W.length?(Promise.all(W.map(e=>e.hide())).then(this.show),t.preventDefault()):W.push(this)}},{name:"show",self:!0,handler(){S(this.$el,"hide",x(document,"focusin",t=>{Gt(W)===this&&!C(t.target,this.$el)&&this.$el.focus()})),this.overlay&&(S(this.$el,"hidden",$n(this.$el),{self:!0}),S(this.$el,"hidden",yn(),{self:!0})),this.stack&&c(this.$el,"zIndex",w(c(this.$el,"zIndex"))+W.length),b(document.documentElement,this.clsPage),this.bgClose&&S(this.$el,"hide",x(document,Lt,t=>{let{target:e}=t;Gt(W)!==this||this.overlay&&!C(e,this.$el)||C(e,this.panel)||S(document,Ft+" "+ye+" scroll",i=>{let{defaultPrevented:n,type:s,target:o}=i;!n&&s===Ft&&e===o&&this.hide()},!0)}),{self:!0}),this.escClose&&S(this.$el,"hide",x(document,"keydown",t=>{t.keyCode===27&&Gt(W)===this&&this.hide()}),{self:!0})}},{name:"shown",self:!0,handler(){Je(this.$el)||v(this.$el,"tabindex","-1"),m(":focus",this.$el)||this.$el.focus()}},{name:"hidden",self:!0,handler(){d(W,this)&&W.splice(W.indexOf(this),1),c(this.$el,"zIndex",""),W.some(t=>t.clsPage===this.clsPage)||z(document.documentElement,this.clsPage)}}],methods:{toggle(){return this.isToggled()?this.hide():this.show()},show(){return this.container&&E(this.$el)!==this.container?(rt(this.container,this.$el),new Promise(t=>requestAnimationFrame(()=>this.show().then(t)))):this.toggleElement(this.$el,!0,bn(this))},hide(){return this.toggleElement(this.$el,!1,bn(this))}}};function bn(t){let{transitionElement:e,_toggle:i}=t;return(n,s)=>new Promise((o,r)=>S(n,"show hide",()=>{n._reject==null||n._reject(),n._reject=r,i(n,s);const a=S(e,"transitionstart",()=>{S(e,"transitionend transitioncancel",o,{self:!0}),clearTimeout(l)},{self:!0}),l=setTimeout(()=>{a(),o()},no(c(e,"transitionDuration")))})).then(()=>delete n._reject)}function no(t){return t?Yt(t,"ms")?w(t):w(t)*1e3:0}function $n(t){if(CSS.supports("overscroll-behavior","contain")){const n=so(t,s=>/auto|scroll/.test(c(s,"overflow")));return c(n,"overscrollBehavior","contain"),()=>c(n,"overscrollBehavior","")}let e;const i=[x(t,"touchstart",n=>{let{targetTouches:s}=n;s.length===1&&(e=s[0].clientY)},{passive:!0}),x(t,"touchmove",n=>{if(n.targetTouches.length!==1)return;let[s]=I(n.target,/auto|scroll/);C(s,t)||(s=t);const o=n.targetTouches[0].clientY-e,{scrollTop:r,scrollHeight:a,clientHeight:l}=s;(l>=a||r===0&&o>0||a-r<=l&&o<0)&&n.cancelable&&n.preventDefault()},{passive:!1})];return()=>i.forEach(n=>n())}let yi;function yn(){if(yi)return ct;yi=!0;const{scrollingElement:t}=document;return c(t,{overflowY:"hidden",touchAction:"none",paddingRight:te(window)-t.clientWidth}),()=>{yi=!1,c(t,{overflowY:"",touchAction:"",paddingRight:""})}}function so(t,e){const i=[];return ut(t,n=>{e(n)&&i.push(n)}),i}let B;var xn={mixins:[$i,Ee,eo,io,Wt],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:n,targetY:s}=t;return n=n||i||this.targetEl,s=s||i||this.targetEl,[n===!0?window:ht(n,e),s===!0?window:ht(s,e)]}},created(){this.tracker=new ui},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",ht(this.toggle,this.$el),{target:this.$el,mode:this.mode}).$el,v(this.targetEl,"aria-haspopup",!0),this.lazyload(this.targetEl))},disconnected(){this.isActive()&&(this.hide(!1),B=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&&!C(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(),A(this.$el,":focus,:hover")||this.hide()}},{name:be+" focusin",filter(){return d(this.mode,"hover")},handler(t){Mt(t)||this.clearTimers()}},{name:$e+" focusout",filter(){return d(this.mode,"hover")},handler(t){!Mt(t)&&t.relatedTarget&&this.hide()}},{name:"toggled",self:!0,handler(t,e){!e||(this.clearTimers(),this.position())}},{name:"show",self:!0,handler(){B=this,this.tracker.init();const t=()=>this.$emit(),e=[x(document,Lt,i=>{let{target:n}=i;return!C(n,this.$el)&&S(document,Ft+" "+ye+" scroll",s=>{let{defaultPrevented:o,type:r,target:a}=s;!o&&r===Ft&&n===a&&!(this.targetEl&&C(n,this.targetEl))&&this.hide(!1)},!0)}),x(document,"keydown",i=>{i.keyCode===27&&this.hide(!1)}),x(window,"resize",t),(()=>{const i=xe(I(this.$el).concat(this.target),t);return()=>i.disconnect()})(),...this.autoUpdate?[x([document,I(this.$el)],"scroll",t,{passive:!0})]:[],...this.bgScroll?[]:[$n(this.$el),yn()]];S(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){B=B===null&&C(e,this.$el)&&this.isToggled()?this:B;return}B=this.isActive()?null:B,this.tracker.cancel()}}],update:{write(){this.isToggled()&&!$(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(B){if(e&&B.isDelaying){this.showTimer=setTimeout(()=>A(t,":hover")&&this.show(),10);return}let i;for(;B&&i!==B&&!C(this.$el,B.$el);)i=B,B.hide(!1,!1)}this.container&&E(this.$el)!==this.container&&rt(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=oo(this.$el).some(n=>this.tracker.movesTo(n)),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 B===this},position(){z(this.$el,this.clsDrop+"-stack"),v(this.$el,"style",this._style),this.$el.hidden=!0;const t=ht(this.boundary,this.$el),e=T(t||window),i=this.target.map(r=>Q(I(r)[0])),n=this.getViewportOffset(this.$el),s=[[0,["x","width","left","right"]],[1,["y","height","top","bottom"]]];for(const[r,[a,l]]of s)this.axis!==a&&d([a,!0],this.stretch)&&c(this.$el,{[l]:Math.min(e[l],i[r][l]-2*n),["overflow-"+a]:"auto"});const o=i[0].width-2*n;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 s)if(this.axis===a&&d([a,!0],this.stretch)){const f=Math.abs(this.getPositionOffset(this.$el)),g=T(this.target[r]),O=T(this.$el);c(this.$el,{[l]:(g[h]>O[h]?g[h]-Math.max(e[h],i[r][h]+n):Math.min(e[u],i[r][u]-n)-g[u])-f,["overflow-"+a]:"auto"}),this.positionAt(this.$el,this.target,t)}}}};function oo(t){const e=[];return ut(t,i=>c(i,"position")!=="static"&&e.push(i)),e}var ro={mixins:[at],args:"target",props:{target:Boolean},data:{target:!1},computed:{input(t,e){return m(ue,e)},state(){return this.input.nextElementSibling},target(t,e){let{target:i}=t;return i&&(i===!0&&E(this.input)===e&&this.input.nextElementSibling||m(i,e))}},update(){var t;const{target:e,input:i}=this;if(!e)return;let n;const s=Bi(e)?"value":"textContent",o=e[s],r=(t=i.files)!=null&&t[0]?i.files[0].name:A(i,"select")&&(n=_("option",i).filter(a=>a.selected)[0])?n.textContent:i.value;o!==r&&(e[s]=r)},events:[{name:"change",handler(){this.$emit()}},{name:"reset",el(){return K(this.$el,"form")},handler(){this.$emit()}}]},kn={mixins:[pt],props:{margin:String,firstColumn:Boolean},data:{margin:"uk-margin-small-top",firstColumn:"uk-first-column"},resizeTargets(){return[this.$el,...Ei(this.$el.children)]},connected(){this.registerObserver(Vi(this.$el,()=>this.$reset(),{childList:!0}))},update:{read(){const t=Tn(this.$el.children);return{rows:t,columns:ao(t)}},write(t){let{columns:e,rows:i}=t;for(const n of i)for(const s of n)V(s,this.margin,i[0]!==n),V(s,this.firstColumn,e[0].includes(s))},events:["resize"]}};function Tn(t){return Sn(t,"top","bottom")}function ao(t){const e=[];for(const i of t){const n=Sn(i,"left","right");for(let s=0;s<n.length;s++)e[s]=e[s]?e[s].concat(n[s]):n[s]}return ie?e.reverse():e}function Sn(t,e,i){const n=[[]];for(const s of t){if(!D(s))continue;let o=Oe(s);for(let r=n.length-1;r>=0;r--){const a=n[r];if(!a[0]){a.push(s);break}let l;if(a[0].offsetParent===s.offsetParent?l=Oe(a[0]):(o=Oe(s,!0),l=Oe(a[0],!0)),o[e]>=l[i]-1&&o[e]!==l[e]){n.push([s]);break}if(o[i]-1>l[e]||o[e]===l[e]){a.push(s);break}if(r===0){n.unshift([s]);break}}}return n}function Oe(t,e){e===void 0&&(e=!1);let{offsetTop:i,offsetLeft:n,offsetHeight:s,offsetWidth:o}=t;return e&&([i,n]=Tt(t)),{top:i,left:n,bottom:i+s,right:n+o}}var Pe={connected(){lo(this._uid,()=>this.$emit("scroll"))},disconnected(){co(this._uid)}};const Be=new Map;let se;function lo(t,e){se=se||x(window,"scroll",()=>Be.forEach(i=>i()),{passive:!0,capture:!0}),Be.set(t,e)}function co(t){Be.delete(t),se&&!Be.size&&(se(),se=null)}var ho={extends:kn,mixins:[at,Pe],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;V(this.$el,this.clsStack,e.length<2)},events:["resize"]},{read(t){let{columns:e,rows:i}=t;if(!e.length||!this.masonry&&!this.parallax||Cn(this.$el))return t.translates=!1,!1;let n=!1;const s=st(this.$el),o=po(e),r=fo(s,this.margin)*(i.length-1),a=Math.max(...o)+r;this.masonry&&(e=e.map(h=>je(h,"offsetTop")),n=uo(i,e));let l=Math.abs(this.parallax);return l&&(l=o.reduce((h,u,f)=>Math.max(h,u+r+(f%2?l:l/8)-a),0)),{padding:l,columns:e,translates:n,height:n?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&&Cn(this.$el)?!1:{scrolled:this.parallax?nn(this.$el)*Math.abs(this.parallax):!1}},write(t){let{columns:e,scrolled:i,translates:n}=t;i===!1&&!n||e.forEach((s,o)=>s.forEach((r,a)=>c(r,"transform",!i&&!n?"":"translateY("+((n&&-n[o][a])+(i?o%2?i:i/8:0))+"px)")))},events:["scroll","resize"]}]};function Cn(t){return st(t).some(e=>c(e,"position")==="absolute")}function uo(t,e){const i=t.map(n=>Math.max(...n.map(s=>s.offsetHeight)));return e.map(n=>{let s=0;return n.map((o,r)=>s+=r?i[r-1]-n[r-1].offsetHeight:0)})}function fo(t,e){const[i]=t.filter(n=>$(n,e));return w(i?c(i,"marginTop"):c(t[0],"paddingLeft"))}function po(t){return t.map(e=>e.reduce((i,n)=>i+n.offsetHeight,0))}var go={mixins:[pt],args:"target",props:{target:String,row:Boolean},data:{target:"> *",row:!0},computed:{elements:{get(t,e){let{target:i}=t;return _(i,e)},watch(){this.$reset()}}},resizeTargets(){return[this.$el,...this.elements]},update:{read(){return{rows:(this.row?Tn(this.elements):[this.elements]).map(mo)}},write(t){let{rows:e}=t;for(const{heights:i,elements:n}of e)n.forEach((s,o)=>c(s,"minHeight",i[o]))},events:["resize"]}};function mo(t){if(t.length<2)return{heights:[""],elements:t};c(t,"minHeight","");let e=t.map(vo);const i=Math.max(...e);return{heights:t.map((n,s)=>e[s].toFixed(2)===i.toFixed(2)?"":i),elements:t}}function vo(t){let e=!1;D(t)||(e=t.style.display,c(t,"display","block","important"));const i=X(t).height-ee(t,"height","content-box");return e!==!1&&c(t,"display",e),i}var wo={mixins:[pt],props:{expand:Boolean,offsetTop:Boolean,offsetBottom:Boolean,minHeight:Number},data:{expand:!1,offsetTop:!1,offsetBottom:!1,minHeight:0},resizeTargets(){return[this.$el,...I(this.$el,/auto|scroll/)]},update:{read(t){let{minHeight:e}=t;if(!D(this.$el))return!1;let i="";const n=ee(this.$el,"height","content-box"),{body:s,scrollingElement:o}=document,[r]=I(this.$el,/auto|scroll/),{height:a}=Q(r===s?o:r);if(this.expand)i=Math.max(a-(X(r).height-X(this.$el).height)-n,0);else{const l=o===r||s===r;if(i="calc("+(l?"100vh":a+"px"),this.offsetTop)if(l){const h=Tt(this.$el)[0]-Tt(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&&Yt(this.offsetBottom,"px")?i+=" - "+w(this.offsetBottom)+"px":y(this.offsetBottom)&&(i+=" - "+X(ht(this.offsetBottom,this.$el)).height+"px"),i+=(n?" - "+n+"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"]}},En={args:"src",props:{id:Boolean,icon:String,src:String,style:String,width:Number,height:Number,ratio:Number,class:String,strokeAnimation:Boolean,focusable:Boolean,attributes:"list"},data:{ratio:1,include:["style","class","focusable"],class:"",strokeAnimation:!1},beforeConnect(){this.class+=" uk-svg"},connected(){!this.icon&&d(this.src,"#")&&([this.src,this.icon]=this.src.split("#")),this.svg=this.getSvg().then(t=>{if(this._connected){const e=ko(t,this.$el);return this.svgEl&&e!==this.svgEl&&Nt(this.svgEl),this.applyAttributes(e,t),this.svgEl=e}},ct),this.strokeAnimation&&this.svg.then(t=>{this._connected&&(Pn(t),this.registerObserver(Rt(t,(e,i)=>{Pn(t),i.disconnect()})))})},disconnected(){this.svg.then(t=>{this._connected||(Ge(this.$el)&&(this.$el.hidden=!1),Nt(t),this.svgEl=null)}),this.svg=null},methods:{async getSvg(){return it(this.$el,"img")&&!this.$el.complete&&this.$el.loading==="lazy"?new Promise(t=>S(this.$el,"load",()=>t(this.getSvg()))):$o(await bo(this.src),this.icon)||Promise.reject("SVG not found.")},applyAttributes(t,e){for(const o in this.$options.props)d(this.include,o)&&o in this&&v(t,o,this[o]);for(const o in this.attributes){const[r,a]=this.attributes[o].split(":",2);v(t,r,a)}this.id||Jt(t,"id");const i=["width","height"];let n=i.map(o=>this[o]);n.some(o=>o)||(n=i.map(o=>v(e,o)));const s=v(e,"viewBox");s&&!n.some(o=>o)&&(n=s.split(" ").slice(2)),n.forEach((o,r)=>v(t,i[r],w(o)*this.ratio||null))}}};const bo=Y(async t=>t?q(t,"data:")?decodeURIComponent(t.split(",")[1]):(await fetch(t)).text():Promise.reject());function $o(t,e){var i;return e&&d(t,"<symbol")&&(t=yo(t,e)||t),t=m(t.substr(t.indexOf("<svg"))),((i=t)==null?void 0:i.hasChildNodes())&&t}const On=/<symbol([^]*?id=(['"])(.+?)\2[^]*?<\/)symbol>/g,Ae={};function yo(t,e){if(!Ae[t]){Ae[t]={},On.lastIndex=0;let i;for(;i=On.exec(t);)Ae[t][i[3]]='<svg xmlns="http://www.w3.org/2000/svg"'+i[1]+"svg>"}return Ae[t][e]}function Pn(t){const e=xo(t);e&&t.style.setProperty("--uk-animation-stroke",e)}function xo(t){return Math.ceil(Math.max(0,..._("[stroke]",t).map(e=>{try{return e.getTotalLength()}catch{return 0}})))}function ko(t,e){if(Ge(e)||it(e,"canvas")){e.hidden=!0;const n=e.nextElementSibling;return Bn(t,n)?n:me(e,t)}const i=e.lastElementChild;return Bn(t,i)?i:rt(e,t)}function Bn(t,e){return it(t,"svg")&&it(e,"svg")&&An(t)===An(e)}function An(t){return(t.innerHTML||new XMLSerializer().serializeToString(t).replace(/<svg.*?>(.*?)<\/svg>/g,"$1")).replace(/\s/g,"")}var To='<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>',So='<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>',Co='<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>',Eo='<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>',Oo='<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>',Po='<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>',Bo=`<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.2 | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */(function(jt,qt){typeof exports=="object"&&typeof module<"u"?module.exports=qt():typeof define=="function"&&define.amd?define("uikit",qt):(jt=typeof globalThis<"u"?globalThis:jt||self,jt.UIkit=qt())})(this,function(){"use strict";const{hasOwnProperty:jt,toString:qt}=Object.prototype;function mt(t,e){return jt.call(t,e)}const Vn=/\B([A-Z])/g,vt=Y(t=>t.replace(Vn,"-$1").toLowerCase()),Gn=/-(\w)/g,Ot=Y(t=>t.replace(Gn,Ci)),wt=Y(t=>t.length?Ci(null,t.charAt(0))+t.slice(1):"");function Ci(t,e){return e?e.toUpperCase():""}function q(t,e){return t==null||t.startsWith==null?void 0:t.startsWith(e)}function Yt(t,e){return t==null||t.endsWith==null?void 0:t.endsWith(e)}function d(t,e){return t==null||t.includes==null?void 0:t.includes(e)}function ae(t,e){return t==null||t.findIndex==null?void 0:t.findIndex(e)}const{isArray:D,from:Ei}=Array,{assign:Bt}=Object;function nt(t){return typeof t=="function"}function ft(t){return t!==null&&typeof t=="object"}function dt(t){return qt.call(t)==="[object Object]"}function Pt(t){return ft(t)&&t===t.window}function le(t){return He(t)===9}function ze(t){return He(t)>=1}function Xt(t){return He(t)===1}function He(t){return!Pt(t)&&ft(t)&&t.nodeType}function ce(t){return typeof t=="boolean"}function x(t){return typeof t=="string"}function Le(t){return typeof t=="number"}function bt(t){return Le(t)||x(t)&&!isNaN(t-parseFloat(t))}function Fe(t){return!(D(t)?t.length:ft(t)?Object.keys(t).length:!1)}function R(t){return t===void 0}function Re(t){return ce(t)?t:t==="true"||t==="1"||t===""?!0:t==="false"||t==="0"?!1:t}function Vt(t){const e=Number(t);return isNaN(e)?!1:e}function v(t){return parseFloat(t)||0}function O(t){return p(t)[0]}function p(t){return t&&(ze(t)?[t]:Array.from(t).filter(ze))||[]}function $t(t){var e;if(Pt(t))return t;t=O(t);const i=le(t)?t:(e=t)==null?void 0:e.ownerDocument;return(i==null?void 0:i.defaultView)||window}function Ie(t,e){return t===e||ft(t)&&ft(e)&&Object.keys(t).length===Object.keys(e).length&&yt(t,(i,n)=>i===e[n])}function We(t,e,i){return t.replace(new RegExp(e+"|"+i,"g"),n=>n===e?i:e)}function Gt(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 je(t,e){return t.slice().sort((i,n)=>{let{[e]:s=0}=i,{[e]:o=0}=n;return s>o?1:o>s?-1:0})}function Jn(t,e){const i=new Set;return t.filter(n=>{let{[e]:s}=n;return i.has(s)?!1:i.add(s)})}function ct(t,e,i){return e===void 0&&(e=0),i===void 0&&(i=1),Math.min(Math.max(Vt(t)||0,e),i)}function ht(){}function qe(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return[["bottom","top"],["right","left"]].every(n=>{let[s,o]=n;return Math.min(...e.map(r=>{let{[s]:a}=r;return a}))-Math.max(...e.map(r=>{let{[o]:a}=r;return a}))>0})}function Ye(t,e){return t.x<=e.right&&t.x>=e.left&&t.y<=e.bottom&&t.y>=e.top}function Xe(t,e,i){const n=e==="width"?"height":"width";return{[n]:t[e]?Math.round(i*t[n]/t[e]):t[n],[e]:i}}function Oi(t,e){t={...t};for(const i in t)t=t[i]>e[i]?Xe(t,i,e[i]):t;return t}function Kn(t,e){t=Oi(t,e);for(const i in t)t=t[i]<e[i]?Xe(t,i,e[i]):t;return t}const Ve={ratio:Xe,contain:Oi,cover:Kn};function he(t,e,i,n){i===void 0&&(i=0),n===void 0&&(n=!1),e=p(e);const{length:s}=e;return s?(t=bt(t)?Vt(t):t==="next"?i+1:t==="previous"?i-1:e.indexOf(O(t)),n?ct(t,0,s-1):(t%=s,t<0?t+s:t)):-1}function Y(t){const e=Object.create(null);return i=>e[i]||(e[i]=t(i))}class Bi{constructor(){this.promise=new Promise((e,i)=>{this.reject=i,this.resolve=e})}}function m(t,e,i){if(ft(e)){for(const s in e)m(t,s,e[s]);return}if(R(i)){var n;return(n=O(t))==null?void 0:n.getAttribute(e)}else for(const s of p(t))nt(i)&&(i=i.call(s,m(s,e))),i===null?Jt(s,e):s.setAttribute(e,i)}function xt(t,e){return p(t).some(i=>i.hasAttribute(e))}function Jt(t,e){const i=p(t);for(const n of e.split(" "))for(const s of i)s.removeAttribute(n)}function At(t,e){for(const i of[e,"data-"+e])if(xt(t,i))return m(t,i)}const Zn={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 Ge(t){return p(t).some(e=>Zn[e.tagName.toLowerCase()])}function z(t){return p(t).some(e=>e.offsetWidth||e.offsetHeight||e.getClientRects().length)}const ue="input,select,textarea,button";function Pi(t){return p(t).some(e=>P(e,ue))}const fe=ue+",a[href],[tabindex]";function Je(t){return P(t,fe)}function E(t){var e;return(e=O(t))==null?void 0:e.parentElement}function Kt(t,e){return p(t).filter(i=>P(i,e))}function P(t,e){return p(t).some(i=>i.matches(e))}function K(t,e){return Xt(t)?t.closest(q(e,">")?e.slice(1):e):p(t).map(i=>K(i,e)).filter(Boolean)}function C(t,e){return x(e)?!!K(t,e):O(e).contains(O(t))}function _t(t,e){const i=[];for(;t=E(t);)(!e||P(t,e))&&i.push(t);return i}function st(t,e){t=O(t);const i=t?p(t.children):[];return e?Kt(i,e):i}function Ke(t,e){return e?p(t).indexOf(O(e)):st(E(t)).indexOf(t)}function ot(t,e){return Ze(t,_i(t,e))}function Zt(t,e){return Qt(t,_i(t,e))}function Ze(t,e){return O(Mi(t,e,"querySelector"))}function Qt(t,e){return p(Mi(t,e,"querySelectorAll"))}const Qn=/(^|[^\\],)\s*[!>+~-]/,Ai=Y(t=>t.match(Qn));function _i(t,e){return e===void 0&&(e=document),x(t)&&Ai(t)||le(e)?e:e.ownerDocument}const Un=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,ts=Y(t=>t.replace(Un,"$1 *"));function Mi(t,e,i){if(e===void 0&&(e=document),!t||!x(t))return t;if(t=ts(t),Ai(t)){const n=is(t);t="";for(let s of n){let o=e;if(s[0]==="!"){const r=s.substr(1).trim().split(" ");if(o=K(E(e),r[0]),s=r.slice(1).join(" ").trim(),!s.length&&n.length===1)return o}if(s[0]==="-"){const r=s.substr(1).trim().split(" "),a=(o||e).previousElementSibling;o=P(a,s.substr(1))?a:null,s=r.slice(1).join(" ")}o&&(t+=(t?",":"")+ns(o)+" "+s)}e=document}try{return e[i](t)}catch{return null}}const es=/.*?[^\\](?:,|$)/g,is=Y(t=>t.match(es).map(e=>e.replace(/,$/,"").trim()));function ns(t){const e=[];for(;t.parentNode;){const i=m(t,"id");if(i){e.unshift("#"+Qe(i));break}else{let{tagName:n}=t;n!=="HTML"&&(n+=":nth-child("+(Ke(t)+1)+")"),e.unshift(n),t=t.parentNode}}return e.join(" > ")}function Qe(t){return x(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[n,s,o,r,a=!1]=ti(e);r.length>1&&(r=os(r)),a!=null&&a.self&&(r=rs(r)),o&&(r=ss(o,r));for(const l of s)for(const h of n)h.addEventListener(l,r,a);return()=>Ue(n,s,r,a)}function Ue(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];let[n,s,,o,r=!1]=ti(e);for(const a of s)for(const l of n)l.removeEventListener(a,o,r)}function S(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];const[n,s,o,r,a=!1,l]=ti(e),h=k(n,s,o,u=>{const f=!l||l(u);f&&(h(),r(u,f))},a);return h}function T(t,e,i){return ei(t).every(n=>n.dispatchEvent(de(e,!0,!0,i)))}function de(t,e,i,n){return e===void 0&&(e=!0),i===void 0&&(i=!1),x(t)&&(t=new CustomEvent(t,{bubbles:e,cancelable:i,detail:n})),t}function ti(t){return t[0]=ei(t[0]),x(t[1])&&(t[1]=t[1].split(" ")),nt(t[2])&&t.splice(2,0,!1),t}function ss(t,e){return i=>{const n=t[0]===">"?Qt(t,i.currentTarget).reverse().filter(s=>C(i.target,s))[0]:K(i.target,t);n&&(i.current=n,e.call(this,i))}}function os(t){return e=>D(e.detail)?t(e,...e.detail):t(e)}function rs(t){return function(e){if(e.target===e.currentTarget||e.target===e.current)return t.call(null,e)}}function Ni(t){return t&&"addEventListener"in t}function as(t){return Ni(t)?t:O(t)}function ei(t){return D(t)?t.map(as).filter(Boolean):x(t)?Qt(t):Ni(t)?[t]:p(t)}function Mt(t){return t.pointerType==="touch"||!!t.touches}function pe(t){var e,i;const{clientX:n,clientY:s}=((e=t.touches)==null?void 0:e[0])||((i=t.changedTouches)==null?void 0:i[0])||t;return{x:n,y:s}}function ls(t,e){const i={data:null,method:"GET",headers:{},xhr:new XMLHttpRequest,beforeSend:ht,responseType:"",...e};return Promise.resolve().then(()=>i.beforeSend(i)).then(()=>cs(t,i))}function cs(t,e){return new Promise((i,n)=>{const{xhr:s}=e;for(const o in e)if(o in s)try{s[o]=e[o]}catch{}s.open(e.method.toUpperCase(),t);for(const o in e.headers)s.setRequestHeader(o,e.headers[o]);k(s,"load",()=>{s.status===0||s.status>=200&&s.status<300||s.status===304?i(s):n(Bt(Error(s.statusText),{xhr:s,status:s.status}))}),k(s,"error",()=>n(Bt(Error("Network Error"),{xhr:s}))),k(s,"timeout",()=>n(Bt(Error("Network Timeout"),{xhr:s}))),s.send(e.data)})}function hs(t,e,i){return new Promise((n,s)=>{const o=new Image;o.onerror=r=>{s(r)},o.onload=()=>{n(o)},i&&(o.sizes=i),e&&(o.srcset=e),o.src=t})}const us={"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,n){n===void 0&&(n="");const s=p(t);for(const o of s)if(x(e)){if(e=ii(e),R(i))return getComputedStyle(o).getPropertyValue(e);o.style.setProperty(e,bt(i)&&!us[e]?i+"px":i||Le(i)?i:"",n)}else if(D(e)){const r={};for(const a of e)r[a]=c(o,a);return r}else ft(e)&&(n=i,yt(e,(r,a)=>c(o,a,r,n)));return s[0]}const ii=Y(t=>fs(t));function fs(t){if(q(t,"--"))return t;t=vt(t);const{style:e}=document.documentElement;if(t in e)return t;for(const i of["webkit","moz"]){const n="-"+i+"-"+t;if(n in e)return n}}function $(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];Di(t,i,"add")}function H(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];Di(t,i,"remove")}function ni(t,e){m(t,"class",i=>(i||"").replace(new RegExp("\\b"+e+"\\b\\s?","g"),""))}function si(t){!(arguments.length<=1)&&arguments[1]&&H(t,arguments.length<=1?void 0:arguments[1]),!(arguments.length<=2)&&arguments[2]&&$(t,arguments.length<=2?void 0:arguments[2])}function y(t,e){return[e]=oi(e),!!e&&p(t).some(i=>i.classList.contains(e))}function X(t,e,i){const n=oi(e);R(i)||(i=!!i);for(const s of p(t))for(const o of n)s.classList.toggle(o,i)}function Di(t,e,i){e=e.reduce((n,s)=>n.concat(oi(s)),[]);for(const n of p(t))n.classList[i](...e)}function oi(t){return String(t).split(/\s|,/).filter(Boolean)}function ds(t,e,i,n){return i===void 0&&(i=400),n===void 0&&(n="linear"),i=Math.round(i),Promise.all(p(t).map(s=>new Promise((o,r)=>{for(const l in e){const h=c(s,l);h===""&&c(s,l,h)}const a=setTimeout(()=>T(s,"transitionend"),i);S(s,"transitionend transitioncanceled",l=>{let{type:h}=l;clearTimeout(a),H(s,"uk-transition"),c(s,{transitionProperty:"",transitionDuration:"",transitionTimingFunction:""}),h==="transitioncanceled"?r():o(s)},{self:!0}),$(s,"uk-transition"),c(s,{transitionProperty:Object.keys(e).map(ii).join(","),transitionDuration:i+"ms",transitionTimingFunction:n,...e})})))}const rt={start:ds,async stop(t){T(t,"transitionend"),await Promise.resolve()},async cancel(t){T(t,"transitioncanceled"),await Promise.resolve()},inProgress(t){return y(t,"uk-transition")}},Ut="uk-animation-";function zi(t,e,i,n,s){return i===void 0&&(i=200),Promise.all(p(t).map(o=>new Promise((r,a)=>{T(o,"animationcanceled");const l=setTimeout(()=>T(o,"animationend"),i);S(o,"animationend animationcanceled",h=>{let{type:u}=h;clearTimeout(l),u==="animationcanceled"?a():r(o),c(o,"animationDuration",""),ni(o,Ut+"\\S*")},{self:!0}),c(o,"animationDuration",i+"ms"),$(o,e,Ut+(s?"leave":"enter")),q(e,Ut)&&(n&&$(o,"uk-transform-origin-"+n),s&&$(o,Ut+"reverse"))})))}const ps=new RegExp(Ut+"(enter|leave)"),tt={in:zi,out(t,e,i,n){return zi(t,e,i,n,!0)},inProgress(t){return ps.test(m(t,"class"))},cancel(t){T(t,"animationcanceled")}},kt={width:["left","right"],height:["top","bottom"]};function V(t){const e=Xt(t)?O(t).getBoundingClientRect():{height:et(t),width:te(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 b(t,e){const i=V(t);if(t){const{scrollY:s,scrollX:o}=$t(t),r={height:s,width:o};for(const a in kt)for(const l of kt[a])i[l]+=r[a]}if(!e)return i;const n=c(t,"position");yt(c(t,["left","top"]),(s,o)=>c(t,o,e[o]-i[o]+v(n==="absolute"&&s==="auto"?Hi(t)[o]:s)))}function Hi(t){let{top:e,left:i}=b(t);const{ownerDocument:{body:n,documentElement:s},offsetParent:o}=O(t);let r=o||s;for(;r&&(r===n||r===s)&&c(r,"position")==="static";)r=r.parentNode;if(Xt(r)){const a=b(r);e-=a.top+v(c(r,"borderTopWidth")),i-=a.left+v(c(r,"borderLeftWidth"))}return{top:e-v(c(t,"marginTop")),left:i-v(c(t,"marginLeft"))}}function Tt(t){t=O(t);const e=[t.offsetTop,t.offsetLeft];for(;t=t.offsetParent;)if(e[0]+=t.offsetTop+v(c(t,"borderTopWidth")),e[1]+=t.offsetLeft+v(c(t,"borderLeftWidth")),c(t,"position")==="fixed"){const i=$t(t);return e[0]+=i.scrollY,e[1]+=i.scrollX,e}return e}const et=Li("height"),te=Li("width");function Li(t){const e=wt(t);return(i,n)=>{if(R(n)){if(Pt(i))return i["inner"+e];if(le(i)){const s=i.documentElement;return Math.max(s["offset"+e],s["scroll"+e])}return i=O(i),n=c(i,t),n=n==="auto"?i["offset"+e]:v(n)||0,n-ee(i,t)}else return c(i,t,!n&&n!==0?"":+n+ee(i,t)+"px")}}function ee(t,e,i){return i===void 0&&(i="border-box"),c(t,"boxSizing")===i?kt[e].map(wt).reduce((n,s)=>n+v(c(t,"padding"+s))+v(c(t,"border"+s+"Width")),0):0}function Fi(t){for(const e in kt)for(const i in kt[e])if(kt[e][i]===t)return kt[e][1-i];return t}function Z(t,e,i,n){return e===void 0&&(e="width"),i===void 0&&(i=window),n===void 0&&(n=!1),x(t)?ms(t).reduce((s,o)=>{const r=ws(o);return r&&(o=bs(r==="vh"?et($t(i)):r==="vw"?te($t(i)):n?i["offset"+wt(e)]:V(i)[e],o)),s+v(o)},0):v(t)}const gs=/-?\d+(?:\.\d+)?(?:v[wh]|%|px)?/g,ms=Y(t=>t.toString().replace(/\s/g,"").match(gs)||[]),vs=/(?:v[hw]|%)$/,ws=Y(t=>(t.match(vs)||[])[0]);function bs(t,e){return t*v(e)/100}function ri(t){if(document.readyState!=="loading"){t();return}S(document,"DOMContentLoaded",t)}function it(t,e){var i;return(t==null||(i=t.tagName)==null?void 0:i.toLowerCase())===e.toLowerCase()}function Ri(t){return t=g(t),t.innerHTML="",t}function ge(t,e){return R(e)?g(t).innerHTML:at(Ri(t),e)}const $s=ve("prepend"),at=ve("append"),Ii=ve("before"),me=ve("after");function ve(t){return function(e,i){var n;const s=p(x(i)?Dt(i):i);return(n=g(e))==null||n[t](...s),Wi(s)}}function Nt(t){p(t).forEach(e=>e.remove())}function ai(t,e){for(e=O(Ii(t,e));e.firstChild;)e=e.firstChild;return at(e,t),e}function li(t,e){return p(p(t).map(i=>i.hasChildNodes()?ai(p(i.childNodes),e):at(i,e)))}function we(t){p(t).map(E).filter((e,i,n)=>n.indexOf(e)===i).forEach(e=>e.replaceWith(...e.childNodes))}const ys=/^\s*<(\w+|!)[^>]*>/,xs=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function Dt(t){const e=xs.exec(t);if(e)return document.createElement(e[1]);const i=document.createElement("div");return ys.test(t)?i.insertAdjacentHTML("beforeend",t.trim()):i.textContent=t,Wi(i.childNodes)}function Wi(t){return t.length>1?t:t[0]}function ut(t,e){if(!!Xt(t))for(e(t),t=t.firstElementChild;t;){const i=t.nextElementSibling;ut(t,e),t=i}}function g(t,e){return ji(t)?O(Dt(t)):Ze(t,e)}function A(t,e){return ji(t)?p(Dt(t)):Qt(t,e)}function ji(t){return x(t)&&q(t.trim(),"<")}const St=typeof window<"u",ie=St&&m(document.documentElement,"dir")==="rtl",zt=St&&"ontouchstart"in window,Ht=St&&window.PointerEvent,Lt=Ht?"pointerdown":zt?"touchstart":"mousedown",ks=Ht?"pointermove":zt?"touchmove":"mousemove",Ft=Ht?"pointerup":zt?"touchend":"mouseup",be=Ht?"pointerenter":zt?"":"mouseenter",$e=Ht?"pointerleave":zt?"":"mouseleave",ye=Ht?"pointercancel":"touchcancel",L={reads:[],writes:[],read(t){return this.reads.push(t),hi(),t},write(t){return this.writes.push(t),hi(),t},clear(t){Yi(this.reads,t),Yi(this.writes,t)},flush:ci};function ci(t){qi(L.reads),qi(L.writes.splice(0)),L.scheduled=!1,(L.reads.length||L.writes.length)&&hi(t+1)}const Ts=4;function hi(t){L.scheduled||(L.scheduled=!0,t&&t<Ts?Promise.resolve().then(()=>ci(t)):requestAnimationFrame(()=>ci(1)))}function qi(t){let e;for(;e=t.shift();)try{e()}catch(i){console.error(i)}}function Yi(t,e){const i=t.indexOf(e);return~i&&t.splice(i,1)}function ui(){}ui.prototype={positions:[],init(){this.positions=[];let t;this.unbind=k(document,"mousemove",e=>t=pe(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:n,top:s,bottom:o}=e,[r]=this.positions,a=Gt(this.positions),l=[r,a];return Ye(a,e)?!1:[[{x:i,y:s},{x:n,y:o}],[{x:i,y:o},{x:n,y:s}]].some(u=>{const f=Ss(l,u);return f&&Ye(f,e)})}};function Ss(t,e){let[{x:i,y:n},{x:s,y:o}]=t,[{x:r,y:a},{x:l,y:h}]=e;const u=(h-a)*(s-i)-(l-r)*(o-n);if(u===0)return!1;const f=((l-r)*(n-a)-(h-a)*(i-r))/u;return f<0?!1:{x:i+f*(s-i),y:n+f*(o-n)}}function Rt(t,e,i,n){n===void 0&&(n=!0);const s=new IntersectionObserver(n?(o,r)=>{o.some(a=>a.isIntersecting)&&e(o,r)}:e,i);for(const o of p(t))s.observe(o);return s}const Cs=St&&window.ResizeObserver;function xe(t,e,i){return i===void 0&&(i={box:"border-box"}),Cs?Vi(ResizeObserver,t,e,i):(Es(),ne.add(e),{disconnect(){ne.delete(e)}})}let ne;function Es(){if(ne)return;ne=new Set;let t;const e=()=>{if(!t){t=!0,L.read(()=>t=!1);for(const i of ne)i()}};k(window,"load resize",e),k(document,"loadedmetadata load",e,!0)}function Xi(t,e,i){return Vi(MutationObserver,t,e,i)}function Vi(t,e,i,n){const s=new t(i);for(const o of p(e))s.observe(o,n);return s}const N={};N.events=N.created=N.beforeConnect=N.connected=N.beforeDisconnect=N.disconnected=N.destroy=fi,N.args=function(t,e){return e!==!1&&fi(e||t)},N.update=function(t,e){return je(fi(t,nt(e)?{read:e}:e),"order")},N.props=function(t,e){if(D(e)){const i={};for(const n of e)i[n]=String;e=i}return N.methods(t,e)},N.computed=N.methods=function(t,e){return e?t?{...t,...e}:e:t},N.data=function(t,e,i){return i?Gi(t,e,i):e?t?function(n){return Gi(t,e,n)}:e:t};function Gi(t,e,i){return N.computed(nt(t)?t.call(i,i):t,nt(e)?e.call(i,i):e)}function fi(t,e){return t=t&&!D(t)?[t]:t,e?t?t.concat(e):D(e)?e:[e]:t}function Os(t,e){return R(e)?t:e}function It(t,e,i){const n={};if(nt(e)&&(e=e.options),e.extends&&(t=It(t,e.extends,i)),e.mixins)for(const o of e.mixins)t=It(t,o,i);for(const o in t)s(o);for(const o in e)mt(t,o)||s(o);function s(o){n[o]=(N[o]||Os)(t[o],e[o],i)}return n}function di(t,e){e===void 0&&(e=[]);try{return t?q(t,"{")?JSON.parse(t):e.length&&!d(t,":")?{[e[0]]:t}:t.split(";").reduce((i,n)=>{const[s,o]=n.split(/:(.*)/);return s&&!R(o)&&(i[s.trim()]=o.trim()),i},{}):{}}catch{return{}}}function Ji(t){if(Te(t)&&pi(t,{func:"playVideo",method:"play"}),ke(t))try{t.play().catch(ht)}catch{}}function Ki(t){Te(t)&&pi(t,{func:"pauseVideo",method:"pause"}),ke(t)&&t.pause()}function Zi(t){Te(t)&&pi(t,{func:"mute",method:"setVolume",value:0}),ke(t)&&(t.muted=!0)}function Qi(t){return ke(t)||Te(t)}function ke(t){return it(t,"video")}function Te(t){return it(t,"iframe")&&(Ui(t)||tn(t))}function Ui(t){return!!t.src.match(/\/\/.*?youtube(-nocookie)?\.[a-z]+\/(watch\?v=[^&\s]+|embed)|youtu\.be\/.*/)}function tn(t){return!!t.src.match(/vimeo\.com\/video\/.*/)}async function pi(t,e){await Ps(t),en(t,e)}function en(t,e){try{t.contentWindow.postMessage(JSON.stringify({event:"command",...e}),"*")}catch{}}const gi="_ukPlayer";let Bs=0;function Ps(t){if(t[gi])return t[gi];const e=Ui(t),i=tn(t),n=++Bs;let s;return t[gi]=new Promise(o=>{e&&S(t,"load",()=>{const r=()=>en(t,{event:"listening",id:n});s=setInterval(r,100),r()}),S(window,"message",o,!1,r=>{let{data:a}=r;try{return a=JSON.parse(a),a&&(e&&a.id===n&&a.event==="onReady"||i&&Number(a.player_id)===n)}catch{}}),t.src=""+t.src+(d(t.src,"?")?"&":"?")+(e?"enablejsapi=1":"api=1&player_id="+n)}).then(()=>clearInterval(s))}function mi(t,e,i){return e===void 0&&(e=0),i===void 0&&(i=0),z(t)?qe(...I(t).map(n=>{const{top:s,left:o,bottom:r,right:a}=Q(n);return{top:s-e,left:o-i,bottom:r+e,right:a+i}}).concat(b(t))):!1}function vi(t,e){let{offset:i=0}=e===void 0?{}:e;const n=z(t)?I(t):[];return n.reduce((a,l,h)=>{const{scrollTop:u,scrollHeight:f,offsetHeight:w}=l,_=Q(l),M=f-_.height,{height:F,top:gt}=n[h-1]?Q(n[h-1]):b(t);let j=Math.ceil(gt-_.top-i+u);return i>0&&w<F+i?j+=i:i=0,j>M?(i-=j-M,j=M):j<0&&(i-=j,j=0),()=>s(l,j-u).then(a)},()=>Promise.resolve())();function s(a,l){return new Promise(h=>{const u=a.scrollTop,f=o(Math.abs(l)),w=Date.now();(function _(){const M=r(ct((Date.now()-w)/f));a.scrollTop=u+l*M,M===1?h():requestAnimationFrame(_)})()})}function o(a){return 40*Math.pow(a,.375)}function r(a){return .5*(1-Math.cos(Math.PI*a))}}function nn(t,e,i){if(e===void 0&&(e=0),i===void 0&&(i=0),!z(t))return 0;const[n]=I(t,/auto|scroll/,!0),{scrollHeight:s,scrollTop:o}=n,{height:r}=Q(n),a=s-r,l=Tt(t)[0]-Tt(n)[0],h=Math.max(0,l-r+e),u=Math.min(a,l+t.offsetHeight-i);return ct((o-h)/(u-h))}function I(t,e,i){e===void 0&&(e=/auto|scroll|hidden|clip/),i===void 0&&(i=!1);const n=sn(t);let s=_t(t).reverse();s=s.slice(s.indexOf(n)+1);const o=ae(s,r=>c(r,"position")==="fixed");return~o&&(s=s.slice(o)),[n].concat(s.filter(r=>e.test(c(r,"overflow"))&&(!i||r.scrollHeight>Q(r).height))).reverse()}function Q(t){const e=$t(t),{document:{documentElement:i}}=e;let n=t===sn(t)?e:t;const{visualViewport:s}=e;if(Pt(n)&&s){let{height:r,width:a,scale:l,pageTop:h,pageLeft:u}=s;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=b(n);for(let[r,a,l,h]of[["width","x","left","right"],["height","y","top","bottom"]])Pt(n)?n=i:o[l]+=v(c(n,"border-"+l+"-width")),o[r]=o[a]=n["client"+wt(r)],o[h]=o[r]+o[l];return o}function sn(t){return $t(t).document.scrollingElement}const G=[["width","x","left","right"],["height","y","top","bottom"]];function on(t,e,i){i={attach:{element:["left","top"],target:["left","top"],...i.attach},offset:[0,0],placement:[],...i},D(e)||(e=[e,e]),b(t,rn(t,e,i))}function rn(t,e,i){const n=an(t,e,i),{boundary:s,viewportOffset:o=0,placement:r}=i;let a=n;for(const[l,[h,,u,f]]of Object.entries(G)){const w=As(e[l],o,s,l);if(Se(n,w,l))continue;let _=0;if(r[l]==="flip"){const M=i.attach.target[l];if(M===f&&n[f]<=w[f]||M===u&&n[u]>=w[u])continue;_=Ms(t,e,i,l)[u]-n[u];const F=_s(e[l],o,l);if(!Se(wi(n,_,l),F,l)){if(Se(n,F,l))continue;if(i.recursion)return!1;const gt=Ns(t,e,i);if(gt&&Se(gt,F,1-l))return gt;continue}}else if(r[l]==="shift"){const M=b(e[l]),{offset:F}=i;_=ct(ct(n[u],w[u],w[f]-n[h]),M[u]-n[h]+F[l],M[f]-F[l])-n[u]}a=wi(a,_,l)}return a}function an(t,e,i){let{attach:n,offset:s}={attach:{element:["left","top"],target:["left","top"],...i.attach},offset:[0,0],...i},o=b(t);for(const[r,[a,,l,h]]of Object.entries(G)){const u=n.target[r]===n.element[r]?Q(e[r]):b(e[r]);o=wi(o,u[l]-o[l]+ln(n.target[r],h,u[a])-ln(n.element[r],h,o[a])+ +s[r],r)}return o}function wi(t,e,i){const[,n,s,o]=G[i],r={...t};return r[s]=t[n]=t[s]+e,r[o]+=e,r}function ln(t,e,i){return t==="center"?i/2:t===e?i:0}function As(t,e,i,n){let s=cn(...I(t).map(Q));return e&&(s[G[n][2]]+=e,s[G[n][3]]-=e),i&&(s=cn(s,b(D(i)?i[n]:i))),s}function _s(t,e,i){const[n,,s,o]=G[i],[r]=I(t),a=Q(r);return a[s]-=r["scroll"+wt(s)]-e,a[o]=a[s]+r["scroll"+wt(n)]-e,a}function cn(){let t={};for(var e=arguments.length,i=new Array(e),n=0;n<e;n++)i[n]=arguments[n];for(const s of i)for(const[,,o,r]of G)t[o]=Math.max(t[o]||0,s[o]),t[r]=Math.min(...[t[r],s[r]].filter(Boolean));return t}function Se(t,e,i){const[,,n,s]=G[i];return t[n]>=e[n]&&t[s]<=e[s]}function Ms(t,e,i,n){let{offset:s,attach:o}=i;return an(t,e,{attach:{element:hn(o.element,n),target:hn(o.target,n)},offset:Ds(s,n)})}function Ns(t,e,i){return rn(t,e,{...i,attach:{element:i.attach.element.map(un).reverse(),target:i.attach.target.map(un).reverse()},offset:i.offset.reverse(),placement:i.placement.reverse(),recursion:!0})}function hn(t,e){const i=[...t],n=G[e].indexOf(t[e]);return~n&&(i[e]=G[e][1-n%2+2]),i}function un(t){for(let e=0;e<G.length;e++){const i=G[e].indexOf(t);if(~i)return G[1-e][i%2+2]}}function Ds(t,e){return t=[...t],t[e]*=-1,t}var zs=Object.freeze({__proto__:null,ajax:ls,getImage:hs,Transition:rt,Animation:tt,attr:m,hasAttr:xt,removeAttr:Jt,data:At,addClass:$,removeClass:H,removeClasses:ni,replaceClass:si,hasClass:y,toggleClass:X,dimensions:V,offset:b,position:Hi,offsetPosition:Tt,height:et,width:te,boxModelAdjust:ee,flipPosition:Fi,toPx:Z,ready:ri,isTag:it,empty:Ri,html:ge,prepend:$s,append:at,before:Ii,after:me,remove:Nt,wrapAll:ai,wrapInner:li,unwrap:we,fragment:Dt,apply:ut,$:g,$$:A,inBrowser:St,isRtl:ie,hasTouch:zt,pointerDown:Lt,pointerMove:ks,pointerUp:Ft,pointerEnter:be,pointerLeave:$e,pointerCancel:ye,on:k,off:Ue,once:S,trigger:T,createEvent:de,toEventTargets:ei,isTouch:Mt,getEventPos:pe,fastdom:L,isVoidElement:Ge,isVisible:z,selInput:ue,isInput:Pi,selFocusable:fe,isFocusable:Je,parent:E,filter:Kt,matches:P,closest:K,within:C,parents:_t,children:st,index:Ke,hasOwn:mt,hyphenate:vt,camelize:Ot,ucfirst:wt,startsWith:q,endsWith:Yt,includes:d,findIndex:ae,isArray:D,toArray:Ei,assign:Bt,isFunction:nt,isObject:ft,isPlainObject:dt,isWindow:Pt,isDocument:le,isNode:ze,isElement:Xt,isBoolean:ce,isString:x,isNumber:Le,isNumeric:bt,isEmpty:Fe,isUndefined:R,toBoolean:Re,toNumber:Vt,toFloat:v,toNode:O,toNodes:p,toWindow:$t,isEqual:Ie,swap:We,last:Gt,each:yt,sortBy:je,uniqueBy:Jn,clamp:ct,noop:ht,intersectRect:qe,pointInRect:Ye,Dimensions:Ve,getIndex:he,memoize:Y,Deferred:Bi,MouseTracker:ui,observeIntersection:Rt,observeResize:xe,observeMutation:Xi,mergeOptions:It,parseOptions:di,play:Ji,pause:Ki,mute:Zi,isVideo:Qi,positionAt:on,query:ot,queryAll:Zt,find:Ze,findAll:Qt,escape:Qe,css:c,propName:ii,isInView:mi,scrollIntoView:vi,scrolledOver:nn,scrollParents:I,offsetViewport:Q});function Hs(t){const e=t.data;t.use=function(s){if(!s.installed)return s.call(null,this),s.installed=!0,this},t.mixin=function(s,o){o=(x(o)?t.component(o):o)||this,o.options=It(o.options,s)},t.extend=function(s){s=s||{};const o=this,r=function(l){this._init(l)};return r.prototype=Object.create(o.prototype),r.prototype.constructor=r,r.options=It(o.options,s),r.super=o,r.extend=o.extend,r},t.update=function(s,o){s=s?O(s):document.body;for(const r of _t(s).reverse())n(r[e],o);ut(s,r=>n(r[e],o))};let i;Object.defineProperty(t,"container",{get(){return i||document.body},set(s){i=g(s)}});function n(s,o){if(!!s)for(const r in s)s[r]._connected&&s[r]._callUpdate(o)}}function Ls(t){t.prototype._callHook=function(n){var s;(s=this.$options[n])==null||s.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(n){n===void 0&&(n="update"),this._connected&&((n==="update"||n==="resize")&&this._callWatches(),this.$options.update&&(this._updates||(this._updates=new Set,L.read(()=>{this._connected&&e.call(this,this._updates),delete this._updates})),this._updates.add(n.type||n)))},t.prototype._callWatches=function(){if(this._watch)return;const n=!mt(this,"_watch");this._watch=L.read(()=>{this._connected&&i.call(this,n),this._watch=null})};function e(n){for(const{read:s,write:o,events:r=[]}of this.$options.update){if(!n.has("update")&&!r.some(l=>n.has(l)))continue;let a;s&&(a=s.call(this,this._data,n),a&&dt(a)&&Bt(this._data,a)),o&&a!==!1&&L.write(()=>{this._connected&&o.call(this,this._data,n)})}}function i(n){const{$options:{computed:s}}=this,o={...this._computed};this._computed={};for(const r in s){const{watch:a,immediate:l}=s[r];a&&(n&&l||mt(o,r)&&!Ie(o[r],this[r]))&&a.call(this,this[r],o[r])}}}function Fs(t){let e=0;t.prototype._init=function(i){i=i||{},i.data=js(i,this.constructor.options),this.$options=It(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 n in i)this.$props[n]=this[n]=i[n]},t.prototype._initMethods=function(){const{methods:i}=this.$options;if(i)for(const n in i)this[n]=i[n].bind(this)},t.prototype._initComputeds=function(){const{computed:i}=this.$options;if(this._computed={},i)for(const n in i)Rs(this,n,i[n])},t.prototype._initProps=function(i){let n;i=i||fn(this.$options,this.$name);for(n in i)R(i[n])||(this.$props[n]=i[n]);const s=[this.$options.computed,this.$options.methods];for(n in this.$props)n in i&&Is(s,n)&&(this[n]=this.$props[n])},t.prototype._initEvents=function(){this._events=[];for(const i of this.$options.events||[])if(mt(i,"handler"))Ce(this,i);else for(const n in i)Ce(this,i[n],n)},t.prototype._unbindEvents=function(){this._events.forEach(i=>i()),delete this._events},t.prototype._initObservers=function(){this._observers=[Ys(this)],this.$options.computed&&this.registerObserver(qs(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 fn(t,e){const i={},{args:n=[],props:s={},el:o}=t;if(!s)return i;for(const a in s){const l=vt(a);let h=At(o,l);R(h)||(h=s[a]===Boolean&&h===""?!0:bi(s[a],h),!(l==="target"&&q(h,"_"))&&(i[a]=h))}const r=di(At(o,e),n);for(const a in r){const l=Ot(a);R(s[l])||(i[l]=bi(s[l],r[a]))}return i}function Rs(t,e,i){Object.defineProperty(t,e,{enumerable:!0,get(){const{_computed:n,$props:s,$el:o}=t;return mt(n,e)||(n[e]=(i.get||i).call(t,s,o)),n[e]},set(n){const{_computed:s}=t;s[e]=i.set?i.set.call(t,n):n,R(s[e])&&delete s[e]}})}function Ce(t,e,i){dt(e)||(e={name:i,handler:e});let{name:n,el:s,handler:o,capture:r,passive:a,delegate:l,filter:h,self:u}=e;if(s=nt(s)?s.call(t):s||t.$el,D(s)){s.forEach(f=>Ce(t,{...e,el:f},i));return}!s||h&&!h.call(t)||t._events.push(k(s,n,l?x(l)?l:l.call(t):null,x(o)?t[o]:o.bind(t),{passive:a,capture:r,self:u}))}function Is(t,e){return t.every(i=>!i||!mt(i,e))}function bi(t,e){return t===Boolean?Re(e):t===Number?Vt(e):t==="list"?Ws(e):t?t(e):e}function Ws(t){return D(t)?t:x(t)?t.split(/,(?![^(]*\))/).map(e=>bt(e)?Vt(e):Re(e.trim())):[t]}function js(t,e){let{data:i={}}=t,{args:n=[],props:s={}}=e;D(i)&&(i=i.slice(0,n.length).reduce((o,r,a)=>(dt(r)?Bt(o,r):o[n[a]]=r,o),{}));for(const o in i)R(i[o])?delete i[o]:s[o]&&(i[o]=bi(s[o],i[o]));return i}function qs(t){const{el:e}=t.$options,i=new MutationObserver(()=>t.$emit());return i.observe(e,{childList:!0,subtree:!0}),i}function Ys(t){const{$name:e,$options:i,$props:n}=t,{attrs:s,props:o,el:r}=i;if(!o||s===!1)return;const a=D(s)?s:Object.keys(o),l=a.map(u=>vt(u)).concat(e),h=new MutationObserver(u=>{const f=fn(i,e);u.some(w=>{let{attributeName:_}=w;const M=_.replace("data-","");return(M===e?a:[Ot(M),Ot(_)]).some(F=>!R(f[F])&&f[F]!==n[F])})&&t.$reset()});return h.observe(r,{attributes:!0,attributeFilter:l.concat(l.map(u=>"data-"+u))}),h}function Xs(t){const e=t.data;t.prototype.$create=function(n,s,o){return t[n](s,o)},t.prototype.$mount=function(n){const{name:s}=this.$options;n[e]||(n[e]={}),!n[e][s]&&(n[e][s]=this,this.$el=this.$options.el=this.$options.el||n,C(n,document)&&this._callConnected())},t.prototype.$reset=function(){this._callDisconnected(),this._callConnected()},t.prototype.$destroy=function(n){n===void 0&&(n=!1);const{el:s,name:o}=this.$options;s&&this._callDisconnected(),this._callHook("destroy"),s!=null&&s[e]&&(delete s[e][o],Fe(s[e])||delete s[e],n&&Nt(this.$el))},t.prototype.$emit=function(n){this._callUpdate(n)},t.prototype.$update=function(n,s){n===void 0&&(n=this.$el),t.update(n,s)},t.prototype.$getComponent=t.getComponent;const i=Y(n=>t.prefix+vt(n));Object.defineProperties(t.prototype,{$container:Object.getOwnPropertyDescriptor(t,"container"),$name:{get(){return i(this.$options.name)}}})}function Vs(t){const e=t.data,i={};t.component=function(n,s){const o=vt(n);if(n=Ot(o),!s)return dt(i[n])&&(i[n]=t.extend(i[n])),i[n];t[n]=function(a,l){const h=t.component(n);return h.options.functional?new h({data:dt(a)?a:[...arguments]}):a?A(a).map(u)[0]:u();function u(f){const w=t.getComponent(f,n);if(w)if(l)w.$destroy();else return w;return new h({el:f,data:l})}};const r=dt(s)?{...s}:s.options;return r.name=n,r.install==null||r.install(t,r,n),t._initialized&&!r.functional&&L.read(()=>t[n]("[uk-"+o+"],[data-uk-"+o+"]")),i[n]=dt(s)?r:s},t.getComponents=n=>(n==null?void 0:n[e])||{},t.getComponent=(n,s)=>t.getComponents(n)[s],t.connect=n=>{if(n[e])for(const s in n[e])n[e][s]._callConnected();for(const s of n.attributes){const o=dn(s.name);o&&o in i&&t[o](n)}},t.disconnect=n=>{for(const s in n[e])n[e][s]._callDisconnected()}}const dn=Y(t=>q(t,"uk-")||q(t,"data-uk-")?Ot(t.replace("data-uk-","").replace("uk-","")):!1),J=function(t){this._init(t)};J.util=zs,J.data="__uikit__",J.prefix="uk-",J.options={},J.version="3.15.2",Hs(J),Ls(J),Fs(J),Vs(J),Xs(J);function Gs(t){const{connect:e,disconnect:i}=t;if(!St||!window.MutationObserver)return;L.read(function(){document.body&&ut(document.body,e),new MutationObserver(o=>o.forEach(n)).observe(document,{childList:!0,subtree:!0}),new MutationObserver(o=>o.forEach(s)).observe(document,{attributes:!0,subtree:!0}),t._initialized=!0});function n(o){let{addedNodes:r,removedNodes:a}=o;for(const l of r)ut(l,e);for(const l of a)ut(l,i)}function s(o){var r;let{target:a,attributeName:l}=o;const h=dn(l);if(!(!h||!(h in t))){if(xt(a,l)){t[h](a);return}(r=t.getComponent(a,h))==null||r.$destroy()}}}var lt={connected(){!y(this.$el,this.$name)&&$(this.$el,this.$name)}},Ee={data:{preload:5},methods:{lazyload(t,e){t===void 0&&(t=this.$el),e===void 0&&(e=this.$el),this.registerObserver(Rt(t,(i,n)=>{for(const s of p(nt(e)?e():e))A('[loading="lazy"]',s).slice(0,this.preload-1).forEach(o=>Jt(o,"loading"));for(const s of i.filter(o=>{let{isIntersecting:r}=o;return r}).map(o=>{let{target:r}=o;return r}))n.unobserve(s)}))}}},Wt={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=>q(e[0],i))}},methods:{toggleElement(t,e,i){return new Promise(n=>Promise.all(p(t).map(s=>{const o=ce(e)?e:!this.isToggled(s);if(!T(s,"before"+(o?"show":"hide"),[this]))return Promise.reject();const r=(nt(i)?i:i===!1||!this.hasAnimation?Js(this):this.hasTransition?pn(this):Ks(this))(s,o),a=o?this.clsEnter:this.clsLeave;$(s,a),T(s,o?"show":"hide",[this]);const l=()=>{H(s,a),T(s,o?"shown":"hidden",[this]),this.$update(s)};return r?r.then(l,()=>(H(s,a),Promise.reject())):l()})).then(n,ht))},isToggled(t){return t===void 0&&(t=this.$el),[t]=p(t),y(t,this.clsEnter)?!0:y(t,this.clsLeave)?!1:this.cls?y(t,this.cls.split(" ")[0]):z(t)},_toggle(t,e){if(!t)return;e=Boolean(e);let i;this.cls?(i=d(this.cls," ")||e!==y(t,this.cls),i&&X(t,this.cls,d(this.cls," ")?void 0:e)):(i=e===t.hidden,i&&(t.hidden=!e)),A("[autofocus]",t).some(n=>z(n)?n.focus()||!0:n.blur()),i&&(T(t,"toggled",[e,this]),this.$update(t))}}};function Js(t){let{_toggle:e}=t;return(i,n)=>(tt.cancel(i),rt.cancel(i),e(i,n))}function pn(t){var e;const[i="reveal",n="top"]=((e=t.animation[0])==null?void 0:e.split("-"))||[],s=[["left","right"],["top","bottom"]],o=s[d(s[0],n)?0:1],r=o[1]===n,l=["width","height"][s.indexOf(o)],h="margin-"+o[0],u="margin-"+n;return async(f,w)=>{let{duration:_,velocity:M,transition:F,_toggle:gt}=t,j=V(f)[l];const Cr=rt.inProgress(f);await rt.cancel(f),w&>(f,!0);const Er=Object.fromEntries(["padding","border","width","height","overflowY","overflowX",h,u].map(Xn=>[Xn,f.style[Xn]])),re=V(f),Si=v(c(f,h)),jn=v(c(f,u)),Et=re[l]+jn;!Cr&&!w&&(j+=jn);const[De]=li(f,"<div>");c(De,{boxSizing:"border-box",height:re.height,width:re.width,...c(f,["overflow","padding","borderTop","borderRight","borderBottom","borderLeft","borderImage",u])}),c(f,{padding:0,border:0,minWidth:0,minHeight:0,[u]:0,width:re.width,height:re.height,overflow:"hidden",[l]:j});const qn=j/Et;_=(M*Et+_)*(w?1-qn:qn);const Yn={[l]:w?Et:0};r&&(c(f,h,Et-j+Si),Yn[h]=w?Si:Et+Si),!r^i==="reveal"&&(c(De,h,-Et+j),rt.start(De,{[h]:w?0:-Et},_,F));try{await rt.start(f,Yn,_,F)}finally{c(f,Er),we(De.firstChild),w||gt(f,!1)}}}function Ks(t){return(e,i)=>{tt.cancel(e);const{animation:n,duration:s,_toggle:o}=t;return i?(o(e,!0),tt.in(e,n[0],s,t.origin)):tt.out(e,n[1]||n[0],s,t.origin).then(()=>o(e,!1))}}var gn={mixins:[lt,Ee,Wt],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 A(i,e)},watch(t,e){if(e||y(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=>g(e,i))},contents:{get(t){let{content:e}=t;return this.items.map(i=>g(e,i))},watch(t){for(const e of t)mn(e,!y(this.items.find(i=>C(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(Ke(this.toggles,t.current))}}],methods:{toggle(t,e){let i=[this.items[he(t,this.items)]];const n=Kt(this.items,"."+this.clsOpen);if(!this.multiple&&!d(n,i[0])&&(i=i.concat(n)),!(!this.collapsible&&n.length<2&&!Kt(i,":not(."+this.clsOpen+")").length))for(const s of i)this.toggleElement(s,!y(s,this.clsOpen),async(o,r)=>{X(o,this.clsOpen,r),m(g(this.$props.toggle,o),"aria-expanded",r);const a=g(this.content,o);if(e===!1||!this.animation){a.hidden=!r,mn(a,!r);return}if(await pn(this)(a,r),r){const l=g(this.$props.toggle,o);L.read(()=>{mi(l)||vi(l,{offset:this.offset})})}})}}};function mn(t,e){t&&(t.hidden=e)}var Zs={mixins:[lt,Wt],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,Qs(this)),this.$destroy(!0)}}};function Qs(t){let{duration:e,transition:i,velocity:n}=t;return s=>{const o=v(c(s,"height"));return c(s,"height",o),rt.start(s,{height:0,marginTop:0,marginBottom:0,paddingTop:0,paddingBottom:0,borderTop:0,borderBottom:0,opacity:0},n*o+e,i)}}var vn={args:"autoplay",props:{automute:Boolean,autoplay:Boolean},data:{automute:!1,autoplay:!0},connected(){this.inView=this.autoplay==="inview",this.inView&&!xt(this.$el,"preload")&&(this.$el.preload="none"),it(this.$el,"iframe")&&!xt(this.$el,"allow")&&(this.$el.allow="autoplay"),this.automute&&Zi(this.$el),this.registerObserver(Rt(this.$el,()=>this.$emit(),{},!1))},update:{read(){return Qi(this.$el)?{visible:z(this.$el)&&c(this.$el,"visibility")!=="hidden",inView:this.inView&&mi(this.$el)}:!1},write(t){let{visible:e,inView:i}=t;!e||this.inView&&!i?Ki(this.$el):(this.autoplay===!0||this.inView&&i)&&Ji(this.$el)}}},pt={connected(){var t;this.registerObserver(xe(((t=this.$options.resizeTargets)==null?void 0:t.call(this))||this.$el,()=>this.$emit("resize")))}},Us={mixins:[pt,vn],props:{width:Number,height:Number},data:{automute:!0},events:{"load loadedmetadata"(){this.$emit("resize")}},resizeTargets(){return[this.$el,E(this.$el)]},update:{read(){const{ratio:t,cover:e}=Ve,{$el:i,width:n,height:s}=this;let o={width:n,height:s};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):s?o=t(h,"height",o.height):o=h}const{offsetHeight:r,offsetWidth:a}=to(i)||E(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 to(t){for(;t=E(t);)if(c(t,"position")!=="static")return t}var $i={props:{container:Boolean},data:{container:!0},computed:{container(t){let{container:e}=t;return e===!0&&this.$container||e&&g(e)}}},eo={props:{pos:String,offset:null,flip:Boolean,shift:Boolean,inset:Boolean},data:{pos:"bottom-"+(ie?"right":"left"),offset:!1,flip:!0,shift:!0,inset:!1},connected(){this.pos=this.$props.pos.split("-").concat("center").slice(0,2),[this.dir,this.align]=this.pos,this.axis=d(["top","bottom"],this.dir)?"y":"x"},methods:{positionAt(t,e,i){let n=[this.getPositionOffset(t),this.getShiftOffset(t)];const s=[this.flip&&"flip",this.shift&&"shift"],o={element:[this.inset?this.dir:Fi(this.dir),this.align],target:[this.dir,this.align]};if(this.axis==="y"){for(const u in o)o[u].reverse();n.reverse(),s.reverse()}const[r]=I(t,/auto|scroll/),{scrollTop:a,scrollLeft:l}=r,h=V(t);c(t,{top:-h.height,left:-h.width}),on(t,e,{attach:o,offset:n,boundary:i,placement:s,viewportOffset:this.getViewportOffset(t)}),r.scrollTop=a,r.scrollLeft=l},getPositionOffset(t){return Z(this.offset===!1?c(t,"--uk-position-offset"):this.offset,this.axis==="x"?"width":"height",t)*(d(["left","top"],this.dir)?-1:1)*(this.inset?-1:1)},getShiftOffset(t){return this.align==="center"?0:Z(c(t,"--uk-position-shift-offset"),this.axis==="y"?"width":"height",t)*(d(["left","top"],this.align)?1:-1)},getViewportOffset(t){return Z(c(t,"--uk-position-viewport-offset"))}}},io={beforeConnect(){this._style=m(this.$el,"style")},disconnected(){m(this.$el,"style",this._style)}};const W=[];var wn={mixins:[lt,$i,Wt],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 g(i,e)},transitionElement(){return this.panel},bgClose(t){let{bgClose:e}=t;return e&&this.panel}},beforeDisconnect(){d(W,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()===d(W,this)&&this.toggle())}},{name:"beforeshow",self:!0,handler(t){if(d(W,this))return!1;!this.stack&&W.length?(Promise.all(W.map(e=>e.hide())).then(this.show),t.preventDefault()):W.push(this)}},{name:"show",self:!0,handler(){S(this.$el,"hide",k(document,"focusin",t=>{Gt(W)===this&&!C(t.target,this.$el)&&this.$el.focus()})),this.overlay&&(S(this.$el,"hidden",$n(this.$el),{self:!0}),S(this.$el,"hidden",yn(),{self:!0})),this.stack&&c(this.$el,"zIndex",v(c(this.$el,"zIndex"))+W.length),$(document.documentElement,this.clsPage),this.bgClose&&S(this.$el,"hide",k(document,Lt,t=>{let{target:e}=t;Gt(W)!==this||this.overlay&&!C(e,this.$el)||C(e,this.panel)||S(document,Ft+" "+ye+" scroll",i=>{let{defaultPrevented:n,type:s,target:o}=i;!n&&s===Ft&&e===o&&this.hide()},!0)}),{self:!0}),this.escClose&&S(this.$el,"hide",k(document,"keydown",t=>{t.keyCode===27&&Gt(W)===this&&this.hide()}),{self:!0})}},{name:"shown",self:!0,handler(){Je(this.$el)||m(this.$el,"tabindex","-1"),g(":focus",this.$el)||this.$el.focus()}},{name:"hidden",self:!0,handler(){d(W,this)&&W.splice(W.indexOf(this),1),c(this.$el,"zIndex",""),W.some(t=>t.clsPage===this.clsPage)||H(document.documentElement,this.clsPage)}}],methods:{toggle(){return this.isToggled()?this.hide():this.show()},show(){return this.container&&E(this.$el)!==this.container?(at(this.container,this.$el),new Promise(t=>requestAnimationFrame(()=>this.show().then(t)))):this.toggleElement(this.$el,!0,bn(this))},hide(){return this.toggleElement(this.$el,!1,bn(this))}}};function bn(t){let{transitionElement:e,_toggle:i}=t;return(n,s)=>new Promise((o,r)=>S(n,"show hide",()=>{n._reject==null||n._reject(),n._reject=r,i(n,s);const a=S(e,"transitionstart",()=>{S(e,"transitionend transitioncancel",o,{self:!0}),clearTimeout(l)},{self:!0}),l=setTimeout(()=>{a(),o()},no(c(e,"transitionDuration")))})).then(()=>delete n._reject)}function no(t){return t?Yt(t,"ms")?v(t):v(t)*1e3:0}function $n(t){if(CSS.supports("overscroll-behavior","contain")){const n=so(t,s=>/auto|scroll/.test(c(s,"overflow")));return c(n,"overscrollBehavior","contain"),()=>c(n,"overscrollBehavior","")}let e;const i=[k(t,"touchstart",n=>{let{targetTouches:s}=n;s.length===1&&(e=s[0].clientY)},{passive:!0}),k(t,"touchmove",n=>{if(n.targetTouches.length!==1)return;let[s]=I(n.target,/auto|scroll/);C(s,t)||(s=t);const o=n.targetTouches[0].clientY-e,{scrollTop:r,scrollHeight:a,clientHeight:l}=s;(l>=a||r===0&&o>0||a-r<=l&&o<0)&&n.cancelable&&n.preventDefault()},{passive:!1})];return()=>i.forEach(n=>n())}let yi;function yn(){if(yi)return ht;yi=!0;const{scrollingElement:t}=document;return c(t,{overflowY:"hidden",touchAction:"none",paddingRight:te(window)-t.clientWidth}),()=>{yi=!1,c(t,{overflowY:"",touchAction:"",paddingRight:""})}}function so(t,e){const i=[];return ut(t,n=>{e(n)&&i.push(n)}),i}let B;var xn={mixins:[$i,Ee,eo,io,Wt],args:"pos",props:{mode:"list",toggle:Boolean,boundary:Boolean,boundaryX:Boolean,boundaryY:Boolean,target:Boolean,targetX:Boolean,targetY:Boolean,stretch:Boolean,delayShow:Number,delayHide:Number,autoUpdate:Boolean,clsDrop:String,animateOut:Boolean,bgScroll:Boolean},data:{mode:["click","hover"],toggle:"- *",boundary:!1,boundaryX:!1,boundaryY:!1,target:!1,targetX:!1,targetY:!1,stretch:!1,delayShow:0,delayHide:800,autoUpdate:!0,clsDrop:!1,animateOut:!1,bgScroll:!0,animation:["uk-animation-fade"],cls:"uk-open",container:!1},computed:{boundary(t,e){let{boundary:i,boundaryX:n,boundaryY:s}=t;return[ot(n||i,e)||window,ot(s||i,e)||window]},target(t,e){let{target:i,targetX:n,targetY:s}=t;return n=n||i||this.targetEl,s=s||i||this.targetEl,[n===!0?window:ot(n,e),s===!0?window:ot(s,e)]}},created(){this.tracker=new ui},beforeConnect(){this.clsDrop=this.$props.clsDrop||"uk-"+this.$options.name},connected(){$(this.$el,this.clsDrop),this.toggle&&!this.targetEl&&(this.targetEl=this.$create("toggle",ot(this.toggle,this.$el),{target:this.$el,mode:this.mode}).$el,m(this.targetEl,"aria-haspopup",!0),this.lazyload(this.targetEl))},disconnected(){this.isActive()&&(this.hide(!1),B=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&&!C(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(),P(this.$el,":focus,:hover")||this.hide()}},{name:be+" focusin",filter(){return d(this.mode,"hover")},handler(t){Mt(t)||this.clearTimers()}},{name:$e+" focusout",filter(){return d(this.mode,"hover")},handler(t){!Mt(t)&&t.relatedTarget&&this.hide()}},{name:"toggled",self:!0,handler(t,e){!e||(this.clearTimers(),this.position())}},{name:"show",self:!0,handler(){B=this,this.tracker.init();const t=()=>this.$emit(),e=[k(document,Lt,i=>{let{target:n}=i;return!C(n,this.$el)&&S(document,Ft+" "+ye+" scroll",s=>{let{defaultPrevented:o,type:r,target:a}=s;!o&&r===Ft&&n===a&&!(this.targetEl&&C(n,this.targetEl))&&this.hide(!1)},!0)}),k(document,"keydown",i=>{i.keyCode===27&&this.hide(!1)}),k(window,"resize",t),(()=>{const i=xe(I(this.$el).concat(this.target),t);return()=>i.disconnect()})(),...this.autoUpdate?[k([document,I(this.$el)],"scroll",t,{passive:!0})]:[],...this.bgScroll?[]:[$n(this.$el),yn()]];S(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){B=B===null&&C(e,this.$el)&&this.isToggled()?this:B;return}B=this.isActive()?null:B,this.tracker.cancel()}}],update:{write(){this.isToggled()&&!y(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(B){if(e&&B.isDelaying){this.showTimer=setTimeout(()=>P(t,":hover")&&this.show(),10);return}let i;for(;B&&i!==B&&!C(this.$el,B.$el);)i=B,B.hide(!1,!1)}this.container&&E(this.$el)!==this.container&&at(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=oo(this.$el).some(n=>this.tracker.movesTo(n)),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 B===this},position(){H(this.$el,this.clsDrop+"-stack"),m(this.$el,"style",this._style),this.$el.hidden=!0;const t=this.target.map(s=>Q(I(s)[0])),e=this.getViewportOffset(this.$el),i=[[0,["x","width","left","right"]],[1,["y","height","top","bottom"]]];for(const[s,[o,r]]of i)this.axis!==o&&d([o,!0],this.stretch)&&c(this.$el,{[r]:Math.min(b(this.boundary[s])[r],t[s][r]-2*e),["overflow-"+o]:"auto"});const n=t[0].width-2*e;this.$el.offsetWidth>n&&$(this.$el,this.clsDrop+"-stack"),c(this.$el,"maxWidth",n),this.$el.hidden=!1,this.positionAt(this.$el,this.target,this.boundary);for(const[s,[o,r,a,l]]of i)if(this.axis===o&&d([o,!0],this.stretch)){const h=Math.abs(this.getPositionOffset(this.$el)),u=b(this.target[s]),f=b(this.$el);c(this.$el,{[r]:(u[a]>f[a]?u[a]-Math.max(b(this.boundary[s])[a],t[s][a]+e):Math.min(b(this.boundary[s])[l],t[s][l]-e)-u[l])-h,["overflow-"+o]:"auto"}),this.positionAt(this.$el,this.target,this.boundary)}}}};function oo(t){const e=[];return ut(t,i=>c(i,"position")!=="static"&&e.push(i)),e}var ro={mixins:[lt],args:"target",props:{target:Boolean},data:{target:!1},computed:{input(t,e){return g(ue,e)},state(){return this.input.nextElementSibling},target(t,e){let{target:i}=t;return i&&(i===!0&&E(this.input)===e&&this.input.nextElementSibling||g(i,e))}},update(){var t;const{target:e,input:i}=this;if(!e)return;let n;const s=Pi(e)?"value":"textContent",o=e[s],r=(t=i.files)!=null&&t[0]?i.files[0].name:P(i,"select")&&(n=A("option",i).filter(a=>a.selected)[0])?n.textContent:i.value;o!==r&&(e[s]=r)},events:[{name:"change",handler(){this.$emit()}},{name:"reset",el(){return K(this.$el,"form")},handler(){this.$emit()}}]},kn={mixins:[pt],props:{margin:String,firstColumn:Boolean},data:{margin:"uk-margin-small-top",firstColumn:"uk-first-column"},resizeTargets(){return[this.$el,...Ei(this.$el.children)]},connected(){this.registerObserver(Xi(this.$el,()=>this.$reset(),{childList:!0}))},update:{read(){const t=Tn(this.$el.children);return{rows:t,columns:ao(t)}},write(t){let{columns:e,rows:i}=t;for(const n of i)for(const s of n)X(s,this.margin,i[0]!==n),X(s,this.firstColumn,e[0].includes(s))},events:["resize"]}};function Tn(t){return Sn(t,"top","bottom")}function ao(t){const e=[];for(const i of t){const n=Sn(i,"left","right");for(let s=0;s<n.length;s++)e[s]=e[s]?e[s].concat(n[s]):n[s]}return ie?e.reverse():e}function Sn(t,e,i){const n=[[]];for(const s of t){if(!z(s))continue;let o=Oe(s);for(let r=n.length-1;r>=0;r--){const a=n[r];if(!a[0]){a.push(s);break}let l;if(a[0].offsetParent===s.offsetParent?l=Oe(a[0]):(o=Oe(s,!0),l=Oe(a[0],!0)),o[e]>=l[i]-1&&o[e]!==l[e]){n.push([s]);break}if(o[i]-1>l[e]||o[e]===l[e]){a.push(s);break}if(r===0){n.unshift([s]);break}}}return n}function Oe(t,e){e===void 0&&(e=!1);let{offsetTop:i,offsetLeft:n,offsetHeight:s,offsetWidth:o}=t;return e&&([i,n]=Tt(t)),{top:i,left:n,bottom:i+s,right:n+o}}var Be={connected(){lo(this._uid,()=>this.$emit("scroll"))},disconnected(){co(this._uid)}};const Pe=new Map;let se;function lo(t,e){se=se||k(window,"scroll",()=>Pe.forEach(i=>i()),{passive:!0,capture:!0}),Pe.set(t,e)}function co(t){Pe.delete(t),se&&!Pe.size&&(se(),se=null)}var ho={extends:kn,mixins:[lt,Be],name:"grid",props:{masonry:Boolean,parallax:Number},data:{margin:"uk-grid-margin",clsStack:"uk-grid-stack",masonry:!1,parallax:0},connected(){this.masonry&&$(this.$el,"uk-flex-top uk-flex-wrap-top")},update:[{write(t){let{columns:e}=t;X(this.$el,this.clsStack,e.length<2)},events:["resize"]},{read(t){let{columns:e,rows:i}=t;if(!e.length||!this.masonry&&!this.parallax||Cn(this.$el))return t.translates=!1,!1;let n=!1;const s=st(this.$el),o=po(e),r=fo(s,this.margin)*(i.length-1),a=Math.max(...o)+r;this.masonry&&(e=e.map(h=>je(h,"offsetTop")),n=uo(i,e));let l=Math.abs(this.parallax);return l&&(l=o.reduce((h,u,f)=>Math.max(h,u+r+(f%2?l:l/8)-a),0)),{padding:l,columns:e,translates:n,height:n?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&&Cn(this.$el)?!1:{scrolled:this.parallax?nn(this.$el)*Math.abs(this.parallax):!1}},write(t){let{columns:e,scrolled:i,translates:n}=t;i===!1&&!n||e.forEach((s,o)=>s.forEach((r,a)=>c(r,"transform",!i&&!n?"":"translateY("+((n&&-n[o][a])+(i?o%2?i:i/8:0))+"px)")))},events:["scroll","resize"]}]};function Cn(t){return st(t).some(e=>c(e,"position")==="absolute")}function uo(t,e){const i=t.map(n=>Math.max(...n.map(s=>s.offsetHeight)));return e.map(n=>{let s=0;return n.map((o,r)=>s+=r?i[r-1]-n[r-1].offsetHeight:0)})}function fo(t,e){const[i]=t.filter(n=>y(n,e));return v(i?c(i,"marginTop"):c(t[0],"paddingLeft"))}function po(t){return t.map(e=>e.reduce((i,n)=>i+n.offsetHeight,0))}var go={mixins:[pt],args:"target",props:{target:String,row:Boolean},data:{target:"> *",row:!0},computed:{elements:{get(t,e){let{target:i}=t;return A(i,e)},watch(){this.$reset()}}},resizeTargets(){return[this.$el,...this.elements]},update:{read(){return{rows:(this.row?Tn(this.elements):[this.elements]).map(mo)}},write(t){let{rows:e}=t;for(const{heights:i,elements:n}of e)n.forEach((s,o)=>c(s,"minHeight",i[o]))},events:["resize"]}};function mo(t){if(t.length<2)return{heights:[""],elements:t};c(t,"minHeight","");let e=t.map(vo);const i=Math.max(...e);return{heights:t.map((n,s)=>e[s].toFixed(2)===i.toFixed(2)?"":i),elements:t}}function vo(t){let e=!1;z(t)||(e=t.style.display,c(t,"display","block","important"));const i=V(t).height-ee(t,"height","content-box");return e!==!1&&c(t,"display",e),i}var wo={mixins:[pt],props:{expand:Boolean,offsetTop:Boolean,offsetBottom:Boolean,minHeight:Number},data:{expand:!1,offsetTop:!1,offsetBottom:!1,minHeight:0},resizeTargets(){return[this.$el,...I(this.$el,/auto|scroll/)]},update:{read(t){let{minHeight:e}=t;if(!z(this.$el))return!1;let i="";const n=ee(this.$el,"height","content-box"),{body:s,scrollingElement:o}=document,[r]=I(this.$el,/auto|scroll/),{height:a}=Q(r===s?o:r);if(this.expand)i=Math.max(a-(V(r).height-V(this.$el).height)-n,0);else{const l=o===r||s===r;if(i="calc("+(l?"100vh":a+"px"),this.offsetTop)if(l){const h=Tt(this.$el)[0]-Tt(r)[0];i+=h>0&&h<a/2?" - "+h+"px":""}else i+=" - "+c(r,"paddingTop");this.offsetBottom===!0?i+=" - "+V(this.$el.nextElementSibling).height+"px":bt(this.offsetBottom)?i+=" - "+this.offsetBottom+"vh":this.offsetBottom&&Yt(this.offsetBottom,"px")?i+=" - "+v(this.offsetBottom)+"px":x(this.offsetBottom)&&(i+=" - "+V(ot(this.offsetBottom,this.$el)).height+"px"),i+=(n?" - "+n+"px":"")+")"}return{minHeight:i,prev:e}},write(t){let{minHeight:e}=t;c(this.$el,{minHeight:e}),this.minHeight&&v(c(this.$el,"minHeight"))<this.minHeight&&c(this.$el,"minHeight",this.minHeight)},events:["resize"]}},En={args:"src",props:{id:Boolean,icon:String,src:String,style:String,width:Number,height:Number,ratio:Number,class:String,strokeAnimation:Boolean,focusable:Boolean,attributes:"list"},data:{ratio:1,include:["style","class","focusable"],class:"",strokeAnimation:!1},beforeConnect(){this.class+=" uk-svg"},connected(){!this.icon&&d(this.src,"#")&&([this.src,this.icon]=this.src.split("#")),this.svg=this.getSvg().then(t=>{if(this._connected){const e=ko(t,this.$el);return this.svgEl&&e!==this.svgEl&&Nt(this.svgEl),this.applyAttributes(e,t),this.svgEl=e}},ht),this.strokeAnimation&&this.svg.then(t=>{this._connected&&(Bn(t),this.registerObserver(Rt(t,(e,i)=>{Bn(t),i.disconnect()})))})},disconnected(){this.svg.then(t=>{this._connected||(Ge(this.$el)&&(this.$el.hidden=!1),Nt(t),this.svgEl=null)}),this.svg=null},methods:{async getSvg(){return it(this.$el,"img")&&!this.$el.complete&&this.$el.loading==="lazy"?new Promise(t=>S(this.$el,"load",()=>t(this.getSvg()))):$o(await bo(this.src),this.icon)||Promise.reject("SVG not found.")},applyAttributes(t,e){for(const o in this.$options.props)d(this.include,o)&&o in this&&m(t,o,this[o]);for(const o in this.attributes){const[r,a]=this.attributes[o].split(":",2);m(t,r,a)}this.id||Jt(t,"id");const i=["width","height"];let n=i.map(o=>this[o]);n.some(o=>o)||(n=i.map(o=>m(e,o)));const s=m(e,"viewBox");s&&!n.some(o=>o)&&(n=s.split(" ").slice(2)),n.forEach((o,r)=>m(t,i[r],v(o)*this.ratio||null))}}};const bo=Y(async t=>t?q(t,"data:")?decodeURIComponent(t.split(",")[1]):(await fetch(t)).text():Promise.reject());function $o(t,e){var i;return e&&d(t,"<symbol")&&(t=yo(t,e)||t),t=g(t.substr(t.indexOf("<svg"))),((i=t)==null?void 0:i.hasChildNodes())&&t}const On=/<symbol([^]*?id=(['"])(.+?)\2[^]*?<\/)symbol>/g,Ae={};function yo(t,e){if(!Ae[t]){Ae[t]={},On.lastIndex=0;let i;for(;i=On.exec(t);)Ae[t][i[3]]='<svg xmlns="http://www.w3.org/2000/svg"'+i[1]+"svg>"}return Ae[t][e]}function Bn(t){const e=xo(t);e&&t.style.setProperty("--uk-animation-stroke",e)}function xo(t){return Math.ceil(Math.max(0,...A("[stroke]",t).map(e=>{try{return e.getTotalLength()}catch{return 0}})))}function ko(t,e){if(Ge(e)||it(e,"canvas")){e.hidden=!0;const n=e.nextElementSibling;return Pn(t,n)?n:me(e,t)}const i=e.lastElementChild;return Pn(t,i)?i:at(e,t)}function Pn(t,e){return it(t,"svg")&&it(e,"svg")&&An(t)===An(e)}function An(t){return(t.innerHTML||new XMLSerializer().serializeToString(t).replace(/<svg.*?>(.*?)<\/svg>/g,"$1")).replace(/\s/g,"")}var To='<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>',So='<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>',Co='<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>',Eo='<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>',Oo='<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>',Bo='<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>',Po=`<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;
|
|
@@ -14,4 +14,4 @@
|
|
|
14
14
|
.uk-navbar-toggle-animate[aria-expanded="true"] svg > .line-1,
|
|
15
15
|
.uk-navbar-toggle-animate[aria-expanded="true"] svg > .line-4 { opacity: 0; }
|
|
16
16
|
.uk-navbar-toggle-animate[aria-expanded="true"] svg > .line-1 { transform: translateY(6px) scaleX(0); }
|
|
17
|
-
.uk-navbar-toggle-animate[aria-expanded="true"] svg > .line-4 { transform: translateY(-6px) scaleX(0); }</style><rect class="line-1" y="3" width="20" height="2"/><rect class="line-2" y="9" width="20" height="2"/><rect class="line-3" y="9" width="20" height="2"/><rect class="line-4" y="15" width="20" height="2"/></svg>`,Ao='<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><rect x="19" y="0" width="1" height="40"/><rect x="0" y="19" width="40" height="1"/></svg>',_o='<svg width="7" height="12" viewBox="0 0 7 12" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="1.2" points="1 1 6 6 1 11"/></svg>',Mo='<svg width="7" height="12" viewBox="0 0 7 12" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="1.2" points="6 1 1 6 6 11"/></svg>',No='<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle fill="none" stroke="#000" stroke-width="1.1" cx="9" cy="9" r="7"/><path fill="none" stroke="#000" stroke-width="1.1" d="M14,14 L18,18 L14,14 Z"/></svg>',Do='<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><circle fill="none" stroke="#000" stroke-width="1.8" cx="17.5" cy="17.5" r="16.5"/><line fill="none" stroke="#000" stroke-width="1.8" x1="38" y1="39" x2="29" y2="30"/></svg>',zo='<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><circle fill="none" stroke="#000" stroke-width="1.1" cx="10.5" cy="10.5" r="9.5"/><line fill="none" stroke="#000" stroke-width="1.1" x1="23" y1="23" x2="17" y2="17"/></svg>',Ho='<svg width="14" height="24" viewBox="0 0 14 24" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="1.4" points="1.225,23 12.775,12 1.225,1 "/></svg>',Lo='<svg width="25" height="40" viewBox="0 0 25 40" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="2" points="4.002,38.547 22.527,20.024 4,1.5 "/></svg>',Fo='<svg width="14" height="24" viewBox="0 0 14 24" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="1.4" points="12.775,1 1.225,12 12.775,23 "/></svg>',Ro='<svg width="25" height="40" viewBox="0 0 25 40" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="2" points="20.527,1.5 2,20.024 20.525,38.547 "/></svg>',Io='<svg width="30" height="30" viewBox="0 0 30 30" xmlns="http://www.w3.org/2000/svg"><circle fill="none" stroke="#000" cx="15" cy="15" r="14"/></svg>',Wo='<svg width="18" height="10" viewBox="0 0 18 10" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="1.2" points="1 9 9 1 17 9 "/></svg>';const _e={spinner:Io,totop:Wo,marker:Co,"close-icon":To,"close-large":So,"nav-parent-icon":Eo,"nav-parent-icon-large":Oo,"navbar-parent-icon":Po,"navbar-toggle-icon":Bo,"overlay-icon":Ao,"pagination-next":_o,"pagination-previous":Mo,"search-icon":No,"search-large":Do,"search-navbar":zo,"slidenav-next":Ho,"slidenav-next-large":Lo,"slidenav-previous":Fo,"slidenav-previous-large":Ro},xi={install:Xo,extends:En,args:"icon",props:["icon"],data:{include:["focusable"]},isIcon:!0,beforeConnect(){b(this.$el,"uk-icon")},methods:{async getSvg(){const t=Go(this.icon);if(!t)throw"Icon not found.";return t}}},U={args:!1,extends:xi,data:t=>({icon:vt(t.constructor.options.name)}),beforeConnect(){b(this.$el,this.$name)}},jo={extends:U,beforeConnect(){const t=this.$props.icon;this.icon=K(this.$el,".uk-nav-primary")?t+"-large":t}},_n={extends:U,beforeConnect(){b(this.$el,"uk-slidenav");const t=this.$props.icon;this.icon=$(this.$el,"uk-slidenav-large")?t+"-large":t}},qo={extends:U,beforeConnect(){this.icon=$(this.$el,"uk-search-icon")&&_t(this.$el,".uk-search-large").length?"search-large":_t(this.$el,".uk-search-navbar").length?"search-navbar":this.$props.icon}},Yo={extends:U,beforeConnect(){this.icon="close-"+($(this.$el,"uk-close-large")?"large":"icon")}},Vo={extends:U,methods:{async getSvg(){const t=await xi.methods.getSvg.call(this);return this.ratio!==1&&c(m("circle",t),"strokeWidth",1/this.ratio),t}}},Me={};function Xo(t){t.icon.add=(e,i)=>{const n=y(e)?{[e]:i}:e;yt(n,(s,o)=>{_e[o]=s,delete Me[o]}),t._initialized&&ut(document.body,s=>yt(t.getComponents(s),o=>{o.$options.isIcon&&o.icon in n&&o.$reset()}))}}function Go(t){return _e[t]?(Me[t]||(Me[t]=m((_e[Jo(t)]||_e[t]).trim())),Me[t].cloneNode(!0)):null}function Jo(t){return ie?We(We(t,"left","right"),"previous","next"):t}const Ko=St&&"loading"in HTMLImageElement.prototype;var Zo={args:"dataSrc",props:{dataSrc:String,sources:String,offsetTop:String,offsetLeft:String,target:String,loading:String},data:{dataSrc:"",sources:!1,offsetTop:"50vh",offsetLeft:"50vw",target:!1,loading:"lazy"},connected(){if(this.loading!=="lazy"){this.load();return}const t=[this.$el,...Zt(this.$props.target,this.$el)];Ko&&Ne(this.$el)&&(this.$el.loading="lazy",ki(this.$el),t.length===1)||(ir(this.$el),this.registerObserver(Rt(t,(e,i)=>{this.load(),i.disconnect()},{rootMargin:Z(this.offsetTop,"height")+"px "+Z(this.offsetLeft,"width")+"px"})))},disconnected(){this._data.image&&(this._data.image.onload="")},methods:{load(){if(this._data.image)return this._data.image;const t=Ne(this.$el)?this.$el:Uo(this.$el,this.dataSrc,this.sources);return Jt(t,"loading"),ki(this.$el,t.currentSrc),this._data.image=t}}};function ki(t,e){if(Ne(t)){const i=E(t);(nr(i)?st(i):[t]).forEach(s=>Mn(s,s))}else e&&!d(t.style.backgroundImage,e)&&(c(t,"backgroundImage","url("+Qe(e)+")"),k(t,de("load",!1)))}const Qo=["data-src","data-srcset","sizes"];function Mn(t,e){Qo.forEach(i=>{const n=At(t,i);n&&v(e,i.replace(/^(data-)+/,""),n)})}function Uo(t,e,i){const n=new Image;return tr(n,i),Mn(t,n),n.onload=()=>{ki(t,n.currentSrc)},v(n,"src",e),n}function tr(t,e){if(e=er(e),e.length){const i=Dt("<picture>");for(const n of e){const s=Dt("<source>");v(s,n),rt(i,s)}rt(i,t)}}function er(t){if(!t)return[];if(q(t,"["))try{t=JSON.parse(t)}catch{t=[]}else t=di(t);return F(t)||(t=[t]),t.filter(e=>!Fe(e))}function ir(t){Ne(t)&&!xt(t,"src")&&v(t,"src",'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg"></svg>')}function nr(t){return it(t,"picture")}function Ne(t){return it(t,"img")}var Ti={props:{media:Boolean},data:{media:!1},connected(){const t=sr(this.media,this.$el);if(this.matchMedia=!0,t){this.mediaObj=window.matchMedia(t);const e=()=>{this.matchMedia=this.mediaObj.matches,k(this.$el,de("mediachange",!1,!0,[this.mediaObj]))};this.offMediaObj=x(this.mediaObj,"change",()=>{e(),this.$emit("resize")}),e()}},disconnected(){var t;(t=this.offMediaObj)==null||t.call(this)}};function sr(t,e){if(y(t)){if(q(t,"@"))t=w(c(e,"--uk-breakpoint-"+t.substr(1)));else if(isNaN(t))return t}return t&&bt(t)?"(min-width: "+t+"px)":""}var or={mixins:[at,Ti,pt],props:{fill:String},data:{fill:"",clsWrapper:"uk-leader-fill",clsHide:"uk-leader-hide",attrFill:"data-fill"},computed:{fill(t){let{fill:e}=t;return e||c(this.$el,"--uk-leader-fill-content")}},connected(){[this.wrapper]=li(this.$el,'<span class="'+this.clsWrapper+'">')},disconnected(){we(this.wrapper.childNodes)},update:{read(){return{width:Math.trunc(this.$el.offsetWidth/2),fill:this.fill,hide:!this.matchMedia}},write(t){let{width:e,fill:i,hide:n}=t;V(this.wrapper,this.clsHide,n),v(this.wrapper,this.attrFill,new Array(e).join(i))},events:["resize"]}},rr={install:ar,mixins:[wn],data:{clsPage:"uk-modal-page",selPanel:".uk-modal-dialog",selClose:".uk-modal-close, .uk-modal-close-default, .uk-modal-close-outside, .uk-modal-close-full"},events:[{name:"show",self:!0,handler(){$(this.panel,"uk-margin-auto-vertical")?b(this.$el,"uk-flex"):c(this.$el,"display","block"),et(this.$el)}},{name:"hidden",self:!0,handler(){c(this.$el,"display",""),z(this.$el,"uk-flex")}}]};function ar(t){let{modal:e}=t;e.dialog=function(n,s){const o=e('<div class="uk-modal"> <div class="uk-modal-dialog">'+n+"</div> </div>",s);return o.show(),x(o.$el,"hidden",async()=>{await Promise.resolve(),o.$destroy(!0)},{self:!0}),o},e.alert=function(n,s){return i(o=>{let{labels:r}=o;return'<div class="uk-modal-body">'+(y(n)?n:ge(n))+'</div> <div class="uk-modal-footer uk-text-right"> <button class="uk-button uk-button-primary uk-modal-close" autofocus>'+r.ok+"</button> </div>"},s,o=>o.resolve())},e.confirm=function(n,s){return i(o=>{let{labels:r}=o;return'<form> <div class="uk-modal-body">'+(y(n)?n:ge(n))+'</div> <div class="uk-modal-footer uk-text-right"> <button class="uk-button uk-button-default uk-modal-close" type="button">'+r.cancel+'</button> <button class="uk-button uk-button-primary" autofocus>'+r.ok+"</button> </div> </form>"},s,o=>o.reject())},e.prompt=function(n,s,o){return i(r=>{let{labels:a}=r;return'<form class="uk-form-stacked"> <div class="uk-modal-body"> <label>'+(y(n)?n:ge(n))+'</label> <input class="uk-input" value="'+(s||"")+'" autofocus> </div> <div class="uk-modal-footer uk-text-right"> <button class="uk-button uk-button-default uk-modal-close" type="button">'+a.cancel+'</button> <button class="uk-button uk-button-primary">'+a.ok+"</button> </div> </form>"},o,r=>r.resolve(null),r=>m("input",r.$el).value)},e.labels={ok:"Ok",cancel:"Cancel"};function i(n,s,o,r){s={bgClose:!1,escClose:!0,labels:e.labels,...s};const a=e.dialog(n(s),s),l=new Pi;let h=!1;return x(a.$el,"submit","form",u=>{u.preventDefault(),l.resolve(r==null?void 0:r(a)),h=!0,a.hide()}),x(a.$el,"hide",()=>!h&&o(l)),l.promise.dialog=a,l.promise}}var lr={extends:gn,data:{targets:"> .uk-parent",toggle:"> a",content:"> ul"}},cr={mixins:[at,$i],props:{dropdown:String,align:String,clsDrop:String,boundary:Boolean,dropbar:Boolean,dropbarAnchor:Boolean,duration:Number,mode:Boolean,offset:Boolean,stretch:Boolean,delayShow:Boolean,delayHide:Boolean,target:Boolean,targetX:Boolean,targetY:Boolean,animation:Boolean,animateOut:Boolean},data:{dropdown:".uk-navbar-nav > li > a, .uk-navbar-item, .uk-navbar-toggle",align:ie?"right":"left",clsDrop:"uk-navbar-dropdown",boundary:!0,dropbar:!1,dropbarAnchor:!1,duration:200,container:!1},computed:{dropbarAnchor(t,e){let{dropbarAnchor:i}=t;return ht(i,e)||e},dropbar:{get(t){let{dropbar:e}=t;return e?(e=this._dropbar||ht(e,this.$el)||m("+ .uk-navbar-dropbar",this.$el),e||(this._dropbar=m("<div></div>"))):null},watch(t){b(t,"uk-dropbar","uk-dropbar-top","uk-navbar-dropbar")},immediate:!0},dropContainer(t,e){return this.container||e},dropdowns:{get(t,e){let{clsDrop:i}=t;const n=_("."+i,e);if(this.dropContainer!==e)for(const o of _("."+i,this.dropContainer)){var s;const r=(s=this.getDropdown(o))==null?void 0:s.targetEl;!d(n,o)&&r&&C(r,this.$el)&&n.push(o)}return n},watch(t){this.$create("drop",t.filter(e=>!this.getDropdown(e)),{...this.$props,flip:!1,shift:!0,pos:"bottom-"+this.align,boundary:this.boundary===!0?this.$el:this.boundary})},immediate:!0},toggles:{get(t,e){let{dropdown:i}=t;return _(i,e)},watch(){const t=$(this.$el,"uk-navbar-justify");for(const e of _(".uk-navbar-nav, .uk-navbar-left, .uk-navbar-right",this.$el))c(e,"flexGrow",t?_(this.dropdown,e).length:"")},immediate:!0}},disconnected(){this.dropbar&&Nt(this.dropbar),delete this._dropbar},events:[{name:"mouseover focusin",delegate(){return this.dropdown},handler(t){let{current:e}=t;const i=this.getActive();i&&d(i.mode,"hover")&&i.targetEl&&!C(i.targetEl,e)&&!i.isDelaying&&i.hide(!1)}},{name:"keydown",delegate(){return this.dropdown},handler(t){const{current:e,keyCode:i}=t,n=this.getActive();i===Ct.DOWN&&xt(e,"aria-expanded")&&(t.preventDefault(),!n||n.targetEl!==e?(e.click(),S(this.dropContainer,"show",s=>{let{target:o}=s;return Dn(o)})):Dn(n.$el)),Nn(t,this.toggles,n)}},{name:"keydown",el(){return this.dropContainer},delegate(){return"."+this.clsDrop},handler(t){const{current:e,keyCode:i}=t;if(!d(this.dropdowns,e))return;const n=this.getActive(),s=_(fe,e),o=ae(s,a=>A(a,":focus"));if(i===Ct.UP&&(t.preventDefault(),o>0&&s[o-1].focus()),i===Ct.DOWN&&(t.preventDefault(),o<s.length-1&&s[o+1].focus()),i===Ct.ESC){var r;n==null||(r=n.targetEl)==null||r.focus()}Nn(t,this.toggles,n)}},{name:"mouseleave",el(){return this.dropbar},filter(){return this.dropbar},handler(){const t=this.getActive();t&&d(t.mode,"hover")&&!this.dropdowns.some(e=>A(e,":hover"))&&t.hide()}},{name:"beforeshow",el(){return this.dropContainer},filter(){return this.dropbar},handler(t){let{target:e}=t;!this.isDropbarDrop(e)||(this.dropbar.previousElementSibling!==this.dropbarAnchor&&me(this.dropbarAnchor,this.dropbar),b(e,this.clsDrop+"-dropbar"))}},{name:"show",el(){return this.dropContainer},filter(){return this.dropbar},handler(t){let{target:e}=t;if(!this.isDropbarDrop(e))return;const i=this.getDropdown(e);this._observer=xe([i.$el,...i.target],()=>{const n=_t(e,"."+this.clsDrop).concat(e).map(a=>T(a)),s=Math.min(...n.map(a=>{let{top:l}=a;return l})),o=Math.max(...n.map(a=>{let{bottom:l}=a;return l})),r=T(this.dropbar);c(this.dropbar,"top",this.dropbar.offsetTop-(r.top-s)),this.transitionTo(o-s+w(c(e,"marginBottom")),e)})}},{name:"beforehide",el(){return this.dropContainer},filter(){return this.dropbar},handler(t){const e=this.getActive();A(this.dropbar,":hover")&&(e==null?void 0:e.$el)===t.target&&!this.toggles.some(i=>e.targetEl!==i&&A(i,":focus"))&&t.preventDefault()}},{name:"hide",el(){return this.dropContainer},filter(){return this.dropbar},handler(t){var e;let{target:i}=t;if(!this.isDropbarDrop(i))return;(e=this._observer)==null||e.disconnect();const n=this.getActive();(!n||(n==null?void 0:n.$el)===i)&&this.transitionTo(0)}}],methods:{getActive(){return d(this.dropdowns,B==null?void 0:B.$el)&&B},transitionTo(t,e){const{dropbar:i}=this,n=et(i);e=n<t&&e,c(e,"clipPath","polygon(0 0,100% 0,100% "+n+"px,0 "+n+"px)"),et(i,n),ot.cancel([e,i]),Promise.all([ot.start(i,{height:t},this.duration),ot.start(e,{clipPath:"polygon(0 0,100% 0,100% "+t+"px,0 "+t+"px)"},this.duration)]).catch(ct).then(()=>c(e,{clipPath:""}))},getDropdown(t){return this.$getComponent(t,"drop")||this.$getComponent(t,"dropdown")},isDropbarDrop(t){return this.getDropdown(t)&&$(t,this.clsDrop)}}};function Nn(t,e,i){const{current:n,keyCode:s}=t,o=(i==null?void 0:i.targetEl)||n,r=e.indexOf(o);s===Ct.LEFT&&r>0&&(i==null||i.hide(!1),e[r-1].focus()),s===Ct.RIGHT&&r<e.length-1&&(i==null||i.hide(!1),e[r+1].focus()),s===Ct.TAB&&(o.focus(),i==null||i.hide(!1))}function Dn(t){if(!m(":focus",t)){var e;(e=m(fe,t))==null||e.focus()}}const Ct={TAB:9,ESC:27,LEFT:37,UP:38,RIGHT:39,DOWN:40};var zn={props:{swiping:Boolean},data:{swiping:!0},computed:{swipeTarget(t,e){return e}},connected(){!this.swiping||Ce(this,{el:this.swipeTarget,name:Lt,passive:!0,handler(t){if(!Mt(t))return;const e=pe(t),i="tagName"in t.target?t.target:E(t.target);S(document,Ft+" "+ye+" scroll",n=>{const{x:s,y:o}=pe(n);(n.type!=="scroll"&&i&&s&&Math.abs(e.x-s)>100||o&&Math.abs(e.y-o)>100)&&setTimeout(()=>{k(i,"swipe"),k(i,"swipe"+hr(e.x,e.y,s,o))})})}})}};function hr(t,e,i,n){return Math.abs(t-i)>=Math.abs(e-n)?t-i>0?"Left":"Right":e-n>0?"Up":"Down"}var ur={mixins:[wn,zn],args:"mode",props:{mode:String,flip:Boolean,overlay:Boolean},data:{mode:"slide",flip:!1,overlay:!1,clsPage:"uk-offcanvas-page",clsContainer:"uk-offcanvas-container",selPanel:".uk-offcanvas-bar",clsFlip:"uk-offcanvas-flip",clsContainerAnimation:"uk-offcanvas-container-animation",clsSidebarAnimation:"uk-offcanvas-bar-animation",clsMode:"uk-offcanvas",clsOverlay:"uk-offcanvas-overlay",selClose:".uk-offcanvas-close",container:!1},computed:{clsFlip(t){let{flip:e,clsFlip:i}=t;return e?i:""},clsOverlay(t){let{overlay:e,clsOverlay:i}=t;return e?i:""},clsMode(t){let{mode:e,clsMode:i}=t;return i+"-"+e},clsSidebarAnimation(t){let{mode:e,clsSidebarAnimation:i}=t;return e==="none"||e==="reveal"?"":i},clsContainerAnimation(t){let{mode:e,clsContainerAnimation:i}=t;return e!=="push"&&e!=="reveal"?"":i},transitionElement(t){let{mode:e}=t;return e==="reveal"?E(this.panel):this.panel}},update:{read(){this.isToggled()&&!D(this.$el)&&this.hide()},events:["resize"]},events:[{name:"click",delegate(){return'a[href^="#"]'},handler(t){let{current:{hash:e},defaultPrevented:i}=t;!i&&e&&m(e,document.body)&&this.hide()}},{name:"touchmove",self:!0,passive:!1,filter(){return this.overlay},handler(t){t.cancelable&&t.preventDefault()}},{name:"show",self:!0,handler(){this.mode==="reveal"&&!$(E(this.panel),this.clsMode)&&(ai(this.panel,"<div>"),b(E(this.panel),this.clsMode));const{body:t,scrollingElement:e}=document;b(t,this.clsContainer,this.clsFlip),c(t,"touch-action","pan-y pinch-zoom"),c(this.$el,"display","block"),c(this.panel,"maxWidth",e.clientWidth),b(this.$el,this.clsOverlay),b(this.panel,this.clsSidebarAnimation,this.mode==="reveal"?"":this.clsMode),et(t),b(t,this.clsContainerAnimation),this.clsContainerAnimation&&fr()}},{name:"hide",self:!0,handler(){z(document.body,this.clsContainerAnimation),c(document.body,"touch-action","")}},{name:"hidden",self:!0,handler(){this.clsContainerAnimation&&dr(),this.mode==="reveal"&&we(this.panel),z(this.panel,this.clsSidebarAnimation,this.clsMode),z(this.$el,this.clsOverlay),c(this.$el,"display",""),c(this.panel,"maxWidth",""),z(document.body,this.clsContainer,this.clsFlip)}},{name:"swipeLeft swipeRight",handler(t){this.isToggled()&&Yt(t.type,"Left")^this.flip&&this.hide()}}]};function fr(){Hn().content+=",user-scalable=0"}function dr(){const t=Hn();t.content=t.content.replace(/,user-scalable=0$/,"")}function Hn(){return m('meta[name="viewport"]',document.head)||rt(document.head,'<meta name="viewport">')}var pr={mixins:[at,pt],props:{selContainer:String,selContent:String,minHeight:Number},data:{selContainer:".uk-modal",selContent:".uk-modal-dialog",minHeight:150},computed:{container(t,e){let{selContainer:i}=t;return K(e,i)},content(t,e){let{selContent:i}=t;return K(e,i)}},resizeTargets(){return[this.container,this.content]},update:{read(){return!this.content||!this.container||!D(this.$el)?!1:{max:Math.max(this.minHeight,et(this.container)-(X(this.content).height-et(this.$el)))}},write(t){let{max:e}=t;c(this.$el,{minHeight:this.minHeight,maxHeight:e})},events:["resize"]}},gr={mixins:[pt],props:["width","height"],resizeTargets(){return[this.$el,E(this.$el)]},connected(){b(this.$el,"uk-responsive-width")},update:{read(){return D(this.$el)&&this.width&&this.height?{width:te(E(this.$el)),height:this.height}:!1},write(t){et(this.$el,Xe.contain({height:this.height,width:this.width},t).height)},events:["resize"]}},mr={props:{offset:Number},data:{offset:0},connected(){vr(this)},disconnected(){wr(this)},methods:{async scrollTo(t){t=t&&m(t)||document.body,k(this.$el,"beforescroll",[this,t])&&(await vi(t,{offset:this.offset}),k(this.$el,"scrolled",[this,t]))}}};const oe=new Set;function vr(t){oe.size||x(document,"click",Ln),oe.add(t)}function wr(t){oe.delete(t),oe.length||Ue(document,"click",Ln)}function Ln(t){if(!t.defaultPrevented)for(const e of oe)C(t.target,e.$el)&&(t.preventDefault(),e.scrollTo(Fn(e.$el)))}function Fn(t){return document.getElementById(decodeURIComponent(t.hash).substring(1))}var br={mixins:[Pe],args:"cls",props:{cls:String,target:String,hidden:Boolean,offsetTop:Number,offsetLeft:Number,repeat:Boolean,delay:Number},data:()=>({cls:"",target:!1,hidden:!0,offsetTop:0,offsetLeft:0,repeat:!1,delay:0,inViewClass:"uk-scrollspy-inview"}),computed:{elements:{get(t,e){let{target:i}=t;return i?_(i,e):[e]},watch(t,e){this.hidden&&c(Kt(t,":not(."+this.inViewClass+")"),"visibility","hidden"),Ie(t,e)||this.$reset()},immediate:!0}},connected(){this._data.elements=new Map,this.registerObserver(Rt(this.elements,t=>{const e=this._data.elements;for(const{target:i,isIntersecting:n}of t){e.has(i)||e.set(i,{cls:At(i,"uk-scrollspy-class")||this.cls});const s=e.get(i);!this.repeat&&s.show||(s.show=n)}this.$emit()},{rootMargin:Z(this.offsetTop,"height")-1+"px "+(Z(this.offsetLeft,"width")-1)+"px"},!1))},disconnected(){for(const[t,e]of this._data.elements.entries())z(t,this.inViewClass,(e==null?void 0:e.cls)||"")},update:[{write(t){for(const[e,i]of t.elements.entries())i.show&&!i.inview&&!i.queued?(i.queued=!0,t.promise=(t.promise||Promise.resolve()).then(()=>new Promise(n=>setTimeout(n,this.delay))).then(()=>{this.toggle(e,!0),setTimeout(()=>{i.queued=!1,this.$emit()},300)})):!i.show&&i.inview&&!i.queued&&this.repeat&&this.toggle(e,!1)}}],methods:{toggle(t,e){const i=this._data.elements.get(t);if(!!i){if(i.off==null||i.off(),c(t,"visibility",!e&&this.hidden?"hidden":""),V(t,this.inViewClass,e),V(t,i.cls),/\buk-animation-/.test(i.cls)){const n=()=>ni(t,"uk-animation-[\\w-]+");e?i.off=S(t,"animationcancel animationend",n):n()}k(t,e?"inview":"outview"),i.inview=e,this.$update(t)}}}},$r={mixins:[Pe],props:{cls:String,closest:String,scroll:Boolean,overflow:Boolean,offset:Number},data:{cls:"uk-active",closest:!1,scroll:!1,overflow:!0,offset:0},computed:{links:{get(t,e){return _('a[href^="#"]',e).filter(i=>i.hash)},watch(t){this.scroll&&this.$create("scroll",t,{offset:this.offset||0})},immediate:!0},elements(t){let{closest:e}=t;return K(this.links,e||"*")}},update:[{read(){const t=this.links.map(Fn).filter(Boolean),{length:e}=t;if(!e||!D(this.$el))return!1;const[i]=I(t,/auto|scroll/,!0),{scrollTop:n,scrollHeight:s}=i,o=Q(i),r=s-o.height;let a=!1;if(n===r)a=e-1;else{for(let l=0;l<t.length&&!(T(t[l]).top-o.top-this.offset>0);l++)a=+l;a===!1&&this.overflow&&(a=0)}return{active:a}},write(t){let{active:e}=t;const i=e!==!1&&!$(this.elements[e],this.cls);this.links.forEach(n=>n.blur());for(let n=0;n<this.elements.length;n++)V(this.elements[n],this.cls,+n===e);i&&k(this.$el,"active",[e,this.elements[e]])},events:["scroll","resize"]}]},yr={mixins:[at,Ti,pt,Pe],props:{position:String,top:null,bottom:null,start:null,end:null,offset:String,overflowFlip:Boolean,animation:String,clsActive:String,clsInactive:String,clsFixed:String,clsBelow:String,selTarget:String,showOnUp:Boolean,targetOffset:Number},data:{position:"top",top:!1,bottom:!1,start:!1,end:!1,offset:0,overflowFlip:!1,animation:"",clsActive:"uk-active",clsInactive:"",clsFixed:"uk-sticky-fixed",clsBelow:"uk-sticky-below",selTarget:"",showOnUp:!1,targetOffset:!1},computed:{selTarget(t,e){let{selTarget:i}=t;return i&&m(i,e)||e}},resizeTargets(){return document.documentElement},connected(){this.start=In(this.start||this.top),this.end=In(this.end||this.bottom),this.placeholder=m("+ .uk-sticky-placeholder",this.$el)||m('<div class="uk-sticky-placeholder"></div>'),this.isFixed=!1,this.setActive(!1)},disconnected(){this.isFixed&&(this.hide(),z(this.selTarget,this.clsInactive)),Nt(this.placeholder),this.placeholder=null},events:[{name:"resize",el(){return window},handler(){this.$emit("resize")}},{name:"load hashchange popstate",el(){return window},filter(){return this.targetOffset!==!1},handler(){const{scrollingElement:t}=document;!location.hash||t.scrollTop===0||setTimeout(()=>{const e=T(m(location.hash)),i=T(this.$el);this.isFixed&&qe(e,i)&&(t.scrollTop=e.top-i.height-Z(this.targetOffset,"height",this.placeholder)-Z(this.offset,"height",this.placeholder))})}}],update:[{read(t,e){let{height:i,margin:n}=t;if(this.inactive=!this.matchMedia||!D(this.$el),this.inactive)return!1;const s=this.active&&e.has("resize");s&&(c(this.selTarget,"transition","0s"),this.hide()),this.active||(i=T(this.$el).height,n=c(this.$el,"margin")),s&&(this.show(),requestAnimationFrame(()=>c(this.selTarget,"transition","")));const o=this.isFixed?this.placeholder:this.$el,r=et(window);let a=this.position;this.overflowFlip&&i>r&&(a=a==="top"?"bottom":"top");let l=Z(this.offset,"height",o);a==="bottom"&&(i<r||this.overflowFlip)&&(l+=r-i);const h=this.overflowFlip?0:Math.max(0,i+l-r),u=T(o).top,f=(this.start===!1?u:Rn(this.start,this.$el,u))-l,g=this.end===!1?document.scrollingElement.scrollHeight-r:Rn(this.end,this.$el,u+i,!0)-T(this.$el).height+h-l;return{start:f,end:g,offset:l,overflow:h,topOffset:u,height:i,margin:n,width:X(o).width,top:Tt(o)[0]}},write(t){let{height:e,margin:i}=t;const{placeholder:n}=this;c(n,{height:e,margin:i}),C(n,document)||(me(this.$el,n),n.hidden=!0)},events:["resize"]},{read(t){let{scroll:e=0,dir:i="down",overflow:n,overflowScroll:s=0,start:o,end:r}=t;const a=document.scrollingElement.scrollTop;return{dir:e<=a?"down":"up",prevDir:i,scroll:a,prevScroll:e,offsetParentTop:T((this.isFixed?this.placeholder:this.$el).offsetParent).top,overflowScroll:lt(s+lt(a,o,r)-lt(e,o,r),0,n)}},write(t,e){const i=e.has("scroll"),{initTimestamp:n=0,dir:s,prevDir:o,scroll:r,prevScroll:a=0,top:l,start:h,topOffset:u,height:f}=t;if(r<0||r===a&&i||this.showOnUp&&!i&&!this.isFixed)return;const g=Date.now();if((g-n>300||s!==o)&&(t.initScroll=r,t.initTimestamp=g),!(this.showOnUp&&!this.isFixed&&Math.abs(t.initScroll-r)<=30&&Math.abs(a-r)<=10))if(this.inactive||r<h||this.showOnUp&&(r<=h||s==="down"&&i||s==="up"&&!this.isFixed&&r<=u+f)){if(!this.isFixed){tt.inProgress(this.$el)&&l>r&&(tt.cancel(this.$el),this.hide());return}this.isFixed=!1,this.animation&&r>u?(tt.cancel(this.$el),tt.out(this.$el,this.animation).then(()=>this.hide(),ct)):this.hide()}else this.isFixed?this.update():this.animation&&r>u?(tt.cancel(this.$el),this.show(),tt.in(this.$el,this.animation).catch(ct)):this.show()},events:["resize","scroll"]}],methods:{show(){this.isFixed=!0,this.update(),this.placeholder.hidden=!1},hide(){this.setActive(!1),z(this.$el,this.clsFixed,this.clsBelow),c(this.$el,{position:"",top:"",width:""}),this.placeholder.hidden=!0},update(){let{width:t,scroll:e=0,overflow:i,overflowScroll:n=0,start:s,end:o,offset:r,topOffset:a,height:l,offsetParentTop:h}=this._data;const u=s!==0||e>s;let f="fixed";e>o&&(r+=o-h,f="absolute"),i&&(r-=n),c(this.$el,{position:f,top:r+"px",width:t}),this.setActive(u),V(this.$el,this.clsBelow,e>a+l),b(this.$el,this.clsFixed)},setActive(t){const e=this.active;this.active=t,t?(si(this.selTarget,this.clsInactive,this.clsActive),e!==t&&k(this.$el,"active")):(si(this.selTarget,this.clsActive,this.clsInactive),e!==t&&k(this.$el,"inactive"))}}};function Rn(t,e,i,n){if(!t)return 0;if(bt(t)||y(t)&&t.match(/^-?\d/))return i+Z(t,"height",e,!0);{const s=t===!0?E(e):ht(t,e);return T(s).bottom-(n&&s&&C(e,s)?w(c(s,"paddingBottom")):0)}}function In(t){return t==="true"?!0:t==="false"?!1:t}var Wn={mixins:[Ee,zn,Wt],args:"connect",props:{connect:String,toggle:String,itemNav:String,active:Number},data:{connect:"~.uk-switcher",toggle:"> * > :first-child",itemNav:!1,active:0,cls:"uk-active",attrItem:"uk-switcher-item"},computed:{connects:{get(t,e){let{connect:i}=t;return Zt(i,e)},watch(t){this.swiping&&c(t,"touchAction","pan-y pinch-zoom");const e=this.index();this.connects.forEach(i=>{st(i).forEach((n,s)=>V(n,this.cls,s===e)),this.lazyload(this.$el,st(i))})},immediate:!0},toggles:{get(t,e){let{toggle:i}=t;return _(i,e).filter(n=>!A(n,".uk-disabled *, .uk-disabled, [disabled]"))},watch(t){const e=this.index();this.show(~e?e:t[this.active]||t[0])},immediate:!0},children(){return st(this.$el).filter(t=>this.toggles.some(e=>C(e,t)))},swipeTarget(){return this.connects}},connected(){ri(()=>this.$emit())},events:[{name:"click",delegate(){return this.toggle},handler(t){t.preventDefault(),this.show(t.current)}},{name:"click",el(){return this.connects.concat(this.itemNav?Zt(this.itemNav,this.$el):[])},delegate(){return"["+this.attrItem+"],[data-"+this.attrItem+"]"},handler(t){t.preventDefault(),this.show(At(t.current,this.attrItem))}},{name:"swipeRight swipeLeft",filter(){return this.swiping},el(){return this.connects},handler(t){let{type:e}=t;this.show(Yt(e,"Left")?"next":"previous")}}],methods:{index(){return ae(this.children,t=>$(t,this.cls))},show(t){const e=this.index(),i=he(t,this.toggles,e),n=he(this.children[i],st(this.$el));st(this.$el).forEach((o,r)=>{V(o,this.cls,n===r),v(this.toggles[r],"aria-expanded",n===r)});const s=e>=0&&e!==i;this.connects.forEach(async o=>{let{children:r}=o;await this.toggleElement(p(r).filter(a=>$(a,this.cls)),!1,s),await this.toggleElement(r[n],!0,s)})}}},xr={mixins:[at],extends:Wn,props:{media:Boolean},data:{media:960,attrItem:"uk-tab-item"},connected(){const t=$(this.$el,"uk-tab-left")?"uk-tab-left":$(this.$el,"uk-tab-right")?"uk-tab-right":!1;t&&this.$create("toggle",this.$el,{cls:t,mode:"media",media:this.media})}};const kr=32;var Tr={mixins:[Ee,Ti,Wt],args:"target",props:{href:String,target:null,mode:"list",queued:Boolean},data:{href:!1,target:!1,mode:"click",queued:!0},computed:{target:{get(t,e){let{href:i,target:n}=t;return n=Zt(n||i,e),n.length&&n||[e]},watch(){this.updateAria(),this.lazyload(this.$el,this.target)},immediate:!0}},connected(){!d(this.mode,"media")&&!Je(this.$el)&&v(this.$el,"tabindex","0"),ri(()=>this.$emit())},events:[{name:Lt,filter(){return d(this.mode,"hover")},handler(t){this._preventClick=null,!(!Mt(t)||this._showState)&&(k(this.$el,"focus"),S(document,Lt,()=>k(this.$el,"blur"),!0,e=>!C(e.target,this.$el)),d(this.mode,"click")&&(this._preventClick=!0))}},{name:be+" "+$e+" focus blur",filter(){return d(this.mode,"hover")},handler(t){if(Mt(t))return;const e=d([be,"focus"],t.type),i=v(this.$el,"aria-expanded");if(!(!e&&(t.type===$e&&A(this.$el,":focus")||t.type==="blur"&&A(this.$el,":hover")))){if(this._showState&&e&&i!==this._showState){e||(this._showState=null);return}this._showState=e?i:null,this.toggle("toggle"+(e?"show":"hide"))}}},{name:"keydown",filter(){return d(this.mode,"click")&&!it(this.$el,"input")},handler(t){t.keyCode===kr&&(t.preventDefault(),this.$el.click())}},{name:"click",filter(){return["click","hover"].some(t=>d(this.mode,t))},handler(t){let e;(this._preventClick||K(t.target,'a[href="#"], a[href=""]')||(e=K(t.target,"a[href]"))&&(v(this.$el,"aria-expanded")!=="true"||e.hash&&A(this.target,e.hash)))&&t.preventDefault(),!this._preventClick&&d(this.mode,"click")&&this.toggle()}},{name:"hide show",self:!0,el(){return this.target},handler(t){let{type:e}=t;this.updateAria(e==="show")}},{name:"mediachange",filter(){return d(this.mode,"media")},el(){return this.target},handler(t,e){e.matches^this.isToggled(this.target)&&this.toggle()}}],methods:{async toggle(t){if(!k(this.target,t||"toggle",[this]))return;if(!this.queued)return this.toggleElement(this.target);const e=this.target.filter(n=>$(n,this.clsLeave));if(e.length){for(const n of this.target){const s=d(e,n);this.toggleElement(n,s,s)}return}const i=this.target.filter(this.isToggled);await this.toggleElement(i,!1),await this.toggleElement(this.target.filter(n=>!d(i,n)),!0)},updateAria(t){d(this.mode,"media")||v(this.$el,"aria-expanded",ce(t)?t:this.isToggled(this.target))}}},Sr=Object.freeze({__proto__:null,Accordion:gn,Alert:Zs,Cover:Us,Drop:xn,Dropdown:xn,FormCustom:ro,Grid:ho,HeightMatch:go,HeightViewport:wo,Icon:xi,Img:Zo,Leader:or,Margin:kn,Modal:rr,Nav:lr,Navbar:cr,Offcanvas:ur,OverflowAuto:pr,Responsive:gr,Scroll:mr,Scrollspy:br,ScrollspyNav:$r,Sticky:yr,Svg:En,Switcher:Wn,Tab:xr,Toggle:Tr,Video:vn,Close:Yo,Spinner:Vo,NavParentIcon:jo,SlidenavNext:_n,SlidenavPrevious:_n,SearchIcon:qo,Marker:U,NavbarParentIcon:U,NavbarToggleIcon:U,OverlayIcon:U,PaginationNext:U,PaginationPrevious:U,Totop:U});return yt(Sr,(t,e)=>J.component(e,t)),Gs(J),J});
|
|
17
|
+
.uk-navbar-toggle-animate[aria-expanded="true"] svg > .line-4 { transform: translateY(-6px) scaleX(0); }</style><rect class="line-1" y="3" width="20" height="2"/><rect class="line-2" y="9" width="20" height="2"/><rect class="line-3" y="9" width="20" height="2"/><rect class="line-4" y="15" width="20" height="2"/></svg>`,Ao='<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><rect x="19" y="0" width="1" height="40"/><rect x="0" y="19" width="40" height="1"/></svg>',_o='<svg width="7" height="12" viewBox="0 0 7 12" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="1.2" points="1 1 6 6 1 11"/></svg>',Mo='<svg width="7" height="12" viewBox="0 0 7 12" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="1.2" points="6 1 1 6 6 11"/></svg>',No='<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle fill="none" stroke="#000" stroke-width="1.1" cx="9" cy="9" r="7"/><path fill="none" stroke="#000" stroke-width="1.1" d="M14,14 L18,18 L14,14 Z"/></svg>',Do='<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><circle fill="none" stroke="#000" stroke-width="1.8" cx="17.5" cy="17.5" r="16.5"/><line fill="none" stroke="#000" stroke-width="1.8" x1="38" y1="39" x2="29" y2="30"/></svg>',zo='<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><circle fill="none" stroke="#000" stroke-width="1.1" cx="10.5" cy="10.5" r="9.5"/><line fill="none" stroke="#000" stroke-width="1.1" x1="23" y1="23" x2="17" y2="17"/></svg>',Ho='<svg width="14" height="24" viewBox="0 0 14 24" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="1.4" points="1.225,23 12.775,12 1.225,1 "/></svg>',Lo='<svg width="25" height="40" viewBox="0 0 25 40" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="2" points="4.002,38.547 22.527,20.024 4,1.5 "/></svg>',Fo='<svg width="14" height="24" viewBox="0 0 14 24" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="1.4" points="12.775,1 1.225,12 12.775,23 "/></svg>',Ro='<svg width="25" height="40" viewBox="0 0 25 40" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="2" points="20.527,1.5 2,20.024 20.525,38.547 "/></svg>',Io='<svg width="30" height="30" viewBox="0 0 30 30" xmlns="http://www.w3.org/2000/svg"><circle fill="none" stroke="#000" cx="15" cy="15" r="14"/></svg>',Wo='<svg width="18" height="10" viewBox="0 0 18 10" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="1.2" points="1 9 9 1 17 9 "/></svg>';const _e={spinner:Io,totop:Wo,marker:Co,"close-icon":To,"close-large":So,"nav-parent-icon":Eo,"nav-parent-icon-large":Oo,"navbar-parent-icon":Bo,"navbar-toggle-icon":Po,"overlay-icon":Ao,"pagination-next":_o,"pagination-previous":Mo,"search-icon":No,"search-large":Do,"search-navbar":zo,"slidenav-next":Ho,"slidenav-next-large":Lo,"slidenav-previous":Fo,"slidenav-previous-large":Ro},xi={install:Vo,extends:En,args:"icon",props:["icon"],data:{include:["focusable"]},isIcon:!0,beforeConnect(){$(this.$el,"uk-icon")},methods:{async getSvg(){const t=Go(this.icon);if(!t)throw"Icon not found.";return t}}},U={args:!1,extends:xi,data:t=>({icon:vt(t.constructor.options.name)}),beforeConnect(){$(this.$el,this.$name)}},jo={extends:U,beforeConnect(){const t=this.$props.icon;this.icon=K(this.$el,".uk-nav-primary")?t+"-large":t}},_n={extends:U,beforeConnect(){$(this.$el,"uk-slidenav");const t=this.$props.icon;this.icon=y(this.$el,"uk-slidenav-large")?t+"-large":t}},qo={extends:U,beforeConnect(){this.icon=y(this.$el,"uk-search-icon")&&_t(this.$el,".uk-search-large").length?"search-large":_t(this.$el,".uk-search-navbar").length?"search-navbar":this.$props.icon}},Yo={extends:U,beforeConnect(){this.icon="close-"+(y(this.$el,"uk-close-large")?"large":"icon")}},Xo={extends:U,methods:{async getSvg(){const t=await xi.methods.getSvg.call(this);return this.ratio!==1&&c(g("circle",t),"strokeWidth",1/this.ratio),t}}},Me={};function Vo(t){t.icon.add=(e,i)=>{const n=x(e)?{[e]:i}:e;yt(n,(s,o)=>{_e[o]=s,delete Me[o]}),t._initialized&&ut(document.body,s=>yt(t.getComponents(s),o=>{o.$options.isIcon&&o.icon in n&&o.$reset()}))}}function Go(t){return _e[t]?(Me[t]||(Me[t]=g((_e[Jo(t)]||_e[t]).trim())),Me[t].cloneNode(!0)):null}function Jo(t){return ie?We(We(t,"left","right"),"previous","next"):t}const Ko=St&&"loading"in HTMLImageElement.prototype;var Zo={args:"dataSrc",props:{dataSrc:String,sources:String,offsetTop:String,offsetLeft:String,target:String,loading:String},data:{dataSrc:"",sources:!1,offsetTop:"50vh",offsetLeft:"50vw",target:!1,loading:"lazy"},connected(){if(this.loading!=="lazy"){this.load();return}const t=[this.$el,...Zt(this.$props.target,this.$el)];Ko&&Ne(this.$el)&&(this.$el.loading="lazy",ki(this.$el),t.length===1)||(ir(this.$el),this.registerObserver(Rt(t,(e,i)=>{this.load(),i.disconnect()},{rootMargin:Z(this.offsetTop,"height")+"px "+Z(this.offsetLeft,"width")+"px"})))},disconnected(){this._data.image&&(this._data.image.onload="")},methods:{load(){if(this._data.image)return this._data.image;const t=Ne(this.$el)?this.$el:Uo(this.$el,this.dataSrc,this.sources);return Jt(t,"loading"),ki(this.$el,t.currentSrc),this._data.image=t}}};function ki(t,e){if(Ne(t)){const i=E(t);(nr(i)?st(i):[t]).forEach(s=>Mn(s,s))}else e&&!d(t.style.backgroundImage,e)&&(c(t,"backgroundImage","url("+Qe(e)+")"),T(t,de("load",!1)))}const Qo=["data-src","data-srcset","sizes"];function Mn(t,e){Qo.forEach(i=>{const n=At(t,i);n&&m(e,i.replace(/^(data-)+/,""),n)})}function Uo(t,e,i){const n=new Image;return tr(n,i),Mn(t,n),n.onload=()=>{ki(t,n.currentSrc)},m(n,"src",e),n}function tr(t,e){if(e=er(e),e.length){const i=Dt("<picture>");for(const n of e){const s=Dt("<source>");m(s,n),at(i,s)}at(i,t)}}function er(t){if(!t)return[];if(q(t,"["))try{t=JSON.parse(t)}catch{t=[]}else t=di(t);return D(t)||(t=[t]),t.filter(e=>!Fe(e))}function ir(t){Ne(t)&&!xt(t,"src")&&m(t,"src",'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg"></svg>')}function nr(t){return it(t,"picture")}function Ne(t){return it(t,"img")}var Ti={props:{media:Boolean},data:{media:!1},connected(){const t=sr(this.media,this.$el);if(this.matchMedia=!0,t){this.mediaObj=window.matchMedia(t);const e=()=>{this.matchMedia=this.mediaObj.matches,T(this.$el,de("mediachange",!1,!0,[this.mediaObj]))};this.offMediaObj=k(this.mediaObj,"change",()=>{e(),this.$emit("resize")}),e()}},disconnected(){var t;(t=this.offMediaObj)==null||t.call(this)}};function sr(t,e){if(x(t)){if(q(t,"@"))t=v(c(e,"--uk-breakpoint-"+t.substr(1)));else if(isNaN(t))return t}return t&&bt(t)?"(min-width: "+t+"px)":""}var or={mixins:[lt,Ti,pt],props:{fill:String},data:{fill:"",clsWrapper:"uk-leader-fill",clsHide:"uk-leader-hide",attrFill:"data-fill"},computed:{fill(t){let{fill:e}=t;return e||c(this.$el,"--uk-leader-fill-content")}},connected(){[this.wrapper]=li(this.$el,'<span class="'+this.clsWrapper+'">')},disconnected(){we(this.wrapper.childNodes)},update:{read(){return{width:Math.trunc(this.$el.offsetWidth/2),fill:this.fill,hide:!this.matchMedia}},write(t){let{width:e,fill:i,hide:n}=t;X(this.wrapper,this.clsHide,n),m(this.wrapper,this.attrFill,new Array(e).join(i))},events:["resize"]}},rr={install:ar,mixins:[wn],data:{clsPage:"uk-modal-page",selPanel:".uk-modal-dialog",selClose:".uk-modal-close, .uk-modal-close-default, .uk-modal-close-outside, .uk-modal-close-full"},events:[{name:"show",self:!0,handler(){y(this.panel,"uk-margin-auto-vertical")?$(this.$el,"uk-flex"):c(this.$el,"display","block"),et(this.$el)}},{name:"hidden",self:!0,handler(){c(this.$el,"display",""),H(this.$el,"uk-flex")}}]};function ar(t){let{modal:e}=t;e.dialog=function(n,s){const o=e('<div class="uk-modal"> <div class="uk-modal-dialog">'+n+"</div> </div>",s);return o.show(),k(o.$el,"hidden",async()=>{await Promise.resolve(),o.$destroy(!0)},{self:!0}),o},e.alert=function(n,s){return i(o=>{let{labels:r}=o;return'<div class="uk-modal-body">'+(x(n)?n:ge(n))+'</div> <div class="uk-modal-footer uk-text-right"> <button class="uk-button uk-button-primary uk-modal-close" autofocus>'+r.ok+"</button> </div>"},s,o=>o.resolve())},e.confirm=function(n,s){return i(o=>{let{labels:r}=o;return'<form> <div class="uk-modal-body">'+(x(n)?n:ge(n))+'</div> <div class="uk-modal-footer uk-text-right"> <button class="uk-button uk-button-default uk-modal-close" type="button">'+r.cancel+'</button> <button class="uk-button uk-button-primary" autofocus>'+r.ok+"</button> </div> </form>"},s,o=>o.reject())},e.prompt=function(n,s,o){return i(r=>{let{labels:a}=r;return'<form class="uk-form-stacked"> <div class="uk-modal-body"> <label>'+(x(n)?n:ge(n))+'</label> <input class="uk-input" value="'+(s||"")+'" autofocus> </div> <div class="uk-modal-footer uk-text-right"> <button class="uk-button uk-button-default uk-modal-close" type="button">'+a.cancel+'</button> <button class="uk-button uk-button-primary">'+a.ok+"</button> </div> </form>"},o,r=>r.resolve(null),r=>g("input",r.$el).value)},e.labels={ok:"Ok",cancel:"Cancel"};function i(n,s,o,r){s={bgClose:!1,escClose:!0,labels:e.labels,...s};const a=e.dialog(n(s),s),l=new Bi;let h=!1;return k(a.$el,"submit","form",u=>{u.preventDefault(),l.resolve(r==null?void 0:r(a)),h=!0,a.hide()}),k(a.$el,"hide",()=>!h&&o(l)),l.promise.dialog=a,l.promise}}var lr={extends:gn,data:{targets:"> .uk-parent",toggle:"> a",content:"> ul"}},cr={mixins:[lt,$i],props:{dropdown:String,align:String,clsDrop:String,boundary:Boolean,dropbar:Boolean,dropbarAnchor:Boolean,duration:Number,mode:Boolean,offset:Boolean,stretch:Boolean,delayShow:Boolean,delayHide:Boolean,target:Boolean,targetX:Boolean,targetY:Boolean,animation:Boolean,animateOut:Boolean},data:{dropdown:".uk-navbar-nav > li > a, .uk-navbar-item, .uk-navbar-toggle",align:ie?"right":"left",clsDrop:"uk-navbar-dropdown",boundary:!0,dropbar:!1,dropbarAnchor:!1,duration:200,container:!1},computed:{dropbarAnchor(t,e){let{dropbarAnchor:i}=t;return ot(i,e)||e},dropbar:{get(t){let{dropbar:e}=t;return e?(e=this._dropbar||ot(e,this.$el)||g("+ .uk-navbar-dropbar",this.$el),e||(this._dropbar=g("<div></div>"))):null},watch(t){$(t,"uk-dropbar","uk-dropbar-top","uk-navbar-dropbar")},immediate:!0},dropContainer(t,e){return this.container||e},dropdowns:{get(t,e){let{clsDrop:i}=t;const n=A("."+i,e);if(this.dropContainer!==e)for(const o of A("."+i,this.dropContainer)){var s;const r=(s=this.getDropdown(o))==null?void 0:s.targetEl;!d(n,o)&&r&&C(r,this.$el)&&n.push(o)}return n},watch(t){this.$create("drop",t.filter(e=>!this.getDropdown(e)),{...this.$props,flip:!1,shift:!0,pos:"bottom-"+this.align,boundary:this.boundary===!0?this.$el:this.boundary})},immediate:!0},toggles:{get(t,e){let{dropdown:i}=t;return A(i,e)},watch(){const t=y(this.$el,"uk-navbar-justify");for(const e of A(".uk-navbar-nav, .uk-navbar-left, .uk-navbar-right",this.$el))c(e,"flexGrow",t?A(this.dropdown,e).length:"")},immediate:!0}},disconnected(){this.dropbar&&Nt(this.dropbar),delete this._dropbar},events:[{name:"mouseover focusin",delegate(){return this.dropdown},handler(t){let{current:e}=t;const i=this.getActive();i&&d(i.mode,"hover")&&i.targetEl&&!C(i.targetEl,e)&&!i.isDelaying&&i.hide(!1)}},{name:"keydown",delegate(){return this.dropdown},handler(t){const{current:e,keyCode:i}=t,n=this.getActive();i===Ct.DOWN&&xt(e,"aria-expanded")&&(t.preventDefault(),!n||n.targetEl!==e?(e.click(),S(this.dropContainer,"show",s=>{let{target:o}=s;return Dn(o)})):Dn(n.$el)),Nn(t,this.toggles,n)}},{name:"keydown",el(){return this.dropContainer},delegate(){return"."+this.clsDrop},handler(t){const{current:e,keyCode:i}=t;if(!d(this.dropdowns,e))return;const n=this.getActive(),s=A(fe,e),o=ae(s,a=>P(a,":focus"));if(i===Ct.UP&&(t.preventDefault(),o>0&&s[o-1].focus()),i===Ct.DOWN&&(t.preventDefault(),o<s.length-1&&s[o+1].focus()),i===Ct.ESC){var r;n==null||(r=n.targetEl)==null||r.focus()}Nn(t,this.toggles,n)}},{name:"mouseleave",el(){return this.dropbar},filter(){return this.dropbar},handler(){const t=this.getActive();t&&d(t.mode,"hover")&&!this.dropdowns.some(e=>P(e,":hover"))&&t.hide()}},{name:"beforeshow",el(){return this.dropContainer},filter(){return this.dropbar},handler(t){let{target:e}=t;!this.isDropbarDrop(e)||(this.dropbar.previousElementSibling!==this.dropbarAnchor&&me(this.dropbarAnchor,this.dropbar),$(e,this.clsDrop+"-dropbar"))}},{name:"show",el(){return this.dropContainer},filter(){return this.dropbar},handler(t){let{target:e}=t;if(!this.isDropbarDrop(e))return;const i=this.getDropdown(e);this._observer=xe([i.$el,...i.target],()=>{const n=_t(e,"."+this.clsDrop).concat(e).map(a=>b(a)),s=Math.min(...n.map(a=>{let{top:l}=a;return l})),o=Math.max(...n.map(a=>{let{bottom:l}=a;return l})),r=b(this.dropbar);c(this.dropbar,"top",this.dropbar.offsetTop-(r.top-s)),this.transitionTo(o-s+v(c(e,"marginBottom")),e)})}},{name:"beforehide",el(){return this.dropContainer},filter(){return this.dropbar},handler(t){const e=this.getActive();P(this.dropbar,":hover")&&(e==null?void 0:e.$el)===t.target&&!this.toggles.some(i=>e.targetEl!==i&&P(i,":focus"))&&t.preventDefault()}},{name:"hide",el(){return this.dropContainer},filter(){return this.dropbar},handler(t){var e;let{target:i}=t;if(!this.isDropbarDrop(i))return;(e=this._observer)==null||e.disconnect();const n=this.getActive();(!n||(n==null?void 0:n.$el)===i)&&this.transitionTo(0)}}],methods:{getActive(){return d(this.dropdowns,B==null?void 0:B.$el)&&B},transitionTo(t,e){const{dropbar:i}=this,n=et(i);e=n<t&&e,c(e,"clipPath","polygon(0 0,100% 0,100% "+n+"px,0 "+n+"px)"),et(i,n),rt.cancel([e,i]),Promise.all([rt.start(i,{height:t},this.duration),rt.start(e,{clipPath:"polygon(0 0,100% 0,100% "+t+"px,0 "+t+"px)"},this.duration)]).catch(ht).then(()=>c(e,{clipPath:""}))},getDropdown(t){return this.$getComponent(t,"drop")||this.$getComponent(t,"dropdown")},isDropbarDrop(t){return this.getDropdown(t)&&y(t,this.clsDrop)}}};function Nn(t,e,i){const{current:n,keyCode:s}=t,o=(i==null?void 0:i.targetEl)||n,r=e.indexOf(o);s===Ct.LEFT&&r>0&&(i==null||i.hide(!1),e[r-1].focus()),s===Ct.RIGHT&&r<e.length-1&&(i==null||i.hide(!1),e[r+1].focus()),s===Ct.TAB&&(o.focus(),i==null||i.hide(!1))}function Dn(t){if(!g(":focus",t)){var e;(e=g(fe,t))==null||e.focus()}}const Ct={TAB:9,ESC:27,LEFT:37,UP:38,RIGHT:39,DOWN:40};var zn={props:{swiping:Boolean},data:{swiping:!0},computed:{swipeTarget(t,e){return e}},connected(){!this.swiping||Ce(this,{el:this.swipeTarget,name:Lt,passive:!0,handler(t){if(!Mt(t))return;const e=pe(t),i="tagName"in t.target?t.target:E(t.target);S(document,Ft+" "+ye+" scroll",n=>{const{x:s,y:o}=pe(n);(n.type!=="scroll"&&i&&s&&Math.abs(e.x-s)>100||o&&Math.abs(e.y-o)>100)&&setTimeout(()=>{T(i,"swipe"),T(i,"swipe"+hr(e.x,e.y,s,o))})})}})}};function hr(t,e,i,n){return Math.abs(t-i)>=Math.abs(e-n)?t-i>0?"Left":"Right":e-n>0?"Up":"Down"}var ur={mixins:[wn,zn],args:"mode",props:{mode:String,flip:Boolean,overlay:Boolean},data:{mode:"slide",flip:!1,overlay:!1,clsPage:"uk-offcanvas-page",clsContainer:"uk-offcanvas-container",selPanel:".uk-offcanvas-bar",clsFlip:"uk-offcanvas-flip",clsContainerAnimation:"uk-offcanvas-container-animation",clsSidebarAnimation:"uk-offcanvas-bar-animation",clsMode:"uk-offcanvas",clsOverlay:"uk-offcanvas-overlay",selClose:".uk-offcanvas-close",container:!1},computed:{clsFlip(t){let{flip:e,clsFlip:i}=t;return e?i:""},clsOverlay(t){let{overlay:e,clsOverlay:i}=t;return e?i:""},clsMode(t){let{mode:e,clsMode:i}=t;return i+"-"+e},clsSidebarAnimation(t){let{mode:e,clsSidebarAnimation:i}=t;return e==="none"||e==="reveal"?"":i},clsContainerAnimation(t){let{mode:e,clsContainerAnimation:i}=t;return e!=="push"&&e!=="reveal"?"":i},transitionElement(t){let{mode:e}=t;return e==="reveal"?E(this.panel):this.panel}},update:{read(){this.isToggled()&&!z(this.$el)&&this.hide()},events:["resize"]},events:[{name:"click",delegate(){return'a[href^="#"]'},handler(t){let{current:{hash:e},defaultPrevented:i}=t;!i&&e&&g(e,document.body)&&this.hide()}},{name:"touchmove",self:!0,passive:!1,filter(){return this.overlay},handler(t){t.cancelable&&t.preventDefault()}},{name:"show",self:!0,handler(){this.mode==="reveal"&&!y(E(this.panel),this.clsMode)&&(ai(this.panel,"<div>"),$(E(this.panel),this.clsMode));const{body:t,scrollingElement:e}=document;$(t,this.clsContainer,this.clsFlip),c(t,"touch-action","pan-y pinch-zoom"),c(this.$el,"display","block"),c(this.panel,"maxWidth",e.clientWidth),$(this.$el,this.clsOverlay),$(this.panel,this.clsSidebarAnimation,this.mode==="reveal"?"":this.clsMode),et(t),$(t,this.clsContainerAnimation),this.clsContainerAnimation&&fr()}},{name:"hide",self:!0,handler(){H(document.body,this.clsContainerAnimation),c(document.body,"touch-action","")}},{name:"hidden",self:!0,handler(){this.clsContainerAnimation&&dr(),this.mode==="reveal"&&we(this.panel),H(this.panel,this.clsSidebarAnimation,this.clsMode),H(this.$el,this.clsOverlay),c(this.$el,"display",""),c(this.panel,"maxWidth",""),H(document.body,this.clsContainer,this.clsFlip)}},{name:"swipeLeft swipeRight",handler(t){this.isToggled()&&Yt(t.type,"Left")^this.flip&&this.hide()}}]};function fr(){Hn().content+=",user-scalable=0"}function dr(){const t=Hn();t.content=t.content.replace(/,user-scalable=0$/,"")}function Hn(){return g('meta[name="viewport"]',document.head)||at(document.head,'<meta name="viewport">')}var pr={mixins:[lt,pt],props:{selContainer:String,selContent:String,minHeight:Number},data:{selContainer:".uk-modal",selContent:".uk-modal-dialog",minHeight:150},computed:{container(t,e){let{selContainer:i}=t;return K(e,i)},content(t,e){let{selContent:i}=t;return K(e,i)}},resizeTargets(){return[this.container,this.content]},update:{read(){return!this.content||!this.container||!z(this.$el)?!1:{max:Math.max(this.minHeight,et(this.container)-(V(this.content).height-et(this.$el)))}},write(t){let{max:e}=t;c(this.$el,{minHeight:this.minHeight,maxHeight:e})},events:["resize"]}},gr={mixins:[pt],props:["width","height"],resizeTargets(){return[this.$el,E(this.$el)]},connected(){$(this.$el,"uk-responsive-width")},update:{read(){return z(this.$el)&&this.width&&this.height?{width:te(E(this.$el)),height:this.height}:!1},write(t){et(this.$el,Ve.contain({height:this.height,width:this.width},t).height)},events:["resize"]}},mr={props:{offset:Number},data:{offset:0},connected(){vr(this)},disconnected(){wr(this)},methods:{async scrollTo(t){t=t&&g(t)||document.body,T(this.$el,"beforescroll",[this,t])&&(await vi(t,{offset:this.offset}),T(this.$el,"scrolled",[this,t]))}}};const oe=new Set;function vr(t){oe.size||k(document,"click",Ln),oe.add(t)}function wr(t){oe.delete(t),oe.size||Ue(document,"click",Ln)}function Ln(t){if(!t.defaultPrevented)for(const e of oe)C(t.target,e.$el)&&(t.preventDefault(),e.scrollTo(Fn(e.$el)))}function Fn(t){return document.getElementById(decodeURIComponent(t.hash).substring(1))}var br={mixins:[Be],args:"cls",props:{cls:String,target:String,hidden:Boolean,offsetTop:Number,offsetLeft:Number,repeat:Boolean,delay:Number},data:()=>({cls:"",target:!1,hidden:!0,offsetTop:0,offsetLeft:0,repeat:!1,delay:0,inViewClass:"uk-scrollspy-inview"}),computed:{elements:{get(t,e){let{target:i}=t;return i?A(i,e):[e]},watch(t,e){this.hidden&&c(Kt(t,":not(."+this.inViewClass+")"),"visibility","hidden"),Ie(t,e)||this.$reset()},immediate:!0}},connected(){this._data.elements=new Map,this.registerObserver(Rt(this.elements,t=>{const e=this._data.elements;for(const{target:i,isIntersecting:n}of t){e.has(i)||e.set(i,{cls:At(i,"uk-scrollspy-class")||this.cls});const s=e.get(i);!this.repeat&&s.show||(s.show=n)}this.$emit()},{rootMargin:Z(this.offsetTop,"height")-1+"px "+(Z(this.offsetLeft,"width")-1)+"px"},!1))},disconnected(){for(const[t,e]of this._data.elements.entries())H(t,this.inViewClass,(e==null?void 0:e.cls)||"")},update:[{write(t){for(const[e,i]of t.elements.entries())i.show&&!i.inview&&!i.queued?(i.queued=!0,t.promise=(t.promise||Promise.resolve()).then(()=>new Promise(n=>setTimeout(n,this.delay))).then(()=>{this.toggle(e,!0),setTimeout(()=>{i.queued=!1,this.$emit()},300)})):!i.show&&i.inview&&!i.queued&&this.repeat&&this.toggle(e,!1)}}],methods:{toggle(t,e){const i=this._data.elements.get(t);if(!!i){if(i.off==null||i.off(),c(t,"visibility",!e&&this.hidden?"hidden":""),X(t,this.inViewClass,e),X(t,i.cls),/\buk-animation-/.test(i.cls)){const n=()=>ni(t,"uk-animation-[\\w-]+");e?i.off=S(t,"animationcancel animationend",n):n()}T(t,e?"inview":"outview"),i.inview=e,this.$update(t)}}}},$r={mixins:[Be],props:{cls:String,closest:String,scroll:Boolean,overflow:Boolean,offset:Number},data:{cls:"uk-active",closest:!1,scroll:!1,overflow:!0,offset:0},computed:{links:{get(t,e){return A('a[href^="#"]',e).filter(i=>i.hash)},watch(t){this.scroll&&this.$create("scroll",t,{offset:this.offset||0})},immediate:!0},elements(t){let{closest:e}=t;return K(this.links,e||"*")}},update:[{read(){const t=this.links.map(Fn).filter(Boolean),{length:e}=t;if(!e||!z(this.$el))return!1;const[i]=I(t,/auto|scroll/,!0),{scrollTop:n,scrollHeight:s}=i,o=Q(i),r=s-o.height;let a=!1;if(n===r)a=e-1;else{for(let l=0;l<t.length&&!(b(t[l]).top-o.top-this.offset>0);l++)a=+l;a===!1&&this.overflow&&(a=0)}return{active:a}},write(t){let{active:e}=t;const i=e!==!1&&!y(this.elements[e],this.cls);this.links.forEach(n=>n.blur());for(let n=0;n<this.elements.length;n++)X(this.elements[n],this.cls,+n===e);i&&T(this.$el,"active",[e,this.elements[e]])},events:["scroll","resize"]}]},yr={mixins:[lt,Ti,pt,Be],props:{position:String,top:null,bottom:null,start:null,end:null,offset:String,overflowFlip:Boolean,animation:String,clsActive:String,clsInactive:String,clsFixed:String,clsBelow:String,selTarget:String,showOnUp:Boolean,targetOffset:Number},data:{position:"top",top:!1,bottom:!1,start:!1,end:!1,offset:0,overflowFlip:!1,animation:"",clsActive:"uk-active",clsInactive:"",clsFixed:"uk-sticky-fixed",clsBelow:"uk-sticky-below",selTarget:"",showOnUp:!1,targetOffset:!1},computed:{selTarget(t,e){let{selTarget:i}=t;return i&&g(i,e)||e}},resizeTargets(){return document.documentElement},connected(){this.start=In(this.start||this.top),this.end=In(this.end||this.bottom),this.placeholder=g("+ .uk-sticky-placeholder",this.$el)||g('<div class="uk-sticky-placeholder"></div>'),this.isFixed=!1,this.setActive(!1)},disconnected(){this.isFixed&&(this.hide(),H(this.selTarget,this.clsInactive)),Nt(this.placeholder),this.placeholder=null},events:[{name:"resize",el(){return window},handler(){this.$emit("resize")}},{name:"load hashchange popstate",el(){return window},filter(){return this.targetOffset!==!1},handler(){const{scrollingElement:t}=document;!location.hash||t.scrollTop===0||setTimeout(()=>{const e=b(g(location.hash)),i=b(this.$el);this.isFixed&&qe(e,i)&&(t.scrollTop=e.top-i.height-Z(this.targetOffset,"height",this.placeholder)-Z(this.offset,"height",this.placeholder))})}}],update:[{read(t,e){let{height:i,margin:n}=t;if(this.inactive=!this.matchMedia||!z(this.$el),this.inactive)return!1;const s=this.active&&e.has("resize");s&&(c(this.selTarget,"transition","0s"),this.hide()),this.active||(i=b(this.$el).height,n=c(this.$el,"margin")),s&&(this.show(),requestAnimationFrame(()=>c(this.selTarget,"transition","")));const o=this.isFixed?this.placeholder:this.$el,r=et(window);let a=this.position;this.overflowFlip&&i>r&&(a=a==="top"?"bottom":"top");let l=Z(this.offset,"height",o);a==="bottom"&&(i<r||this.overflowFlip)&&(l+=r-i);const h=this.overflowFlip?0:Math.max(0,i+l-r),u=b(o).top,f=(this.start===!1?u:Rn(this.start,this.$el,u))-l,w=this.end===!1?document.scrollingElement.scrollHeight-r:Rn(this.end,this.$el,u+i,!0)-b(this.$el).height+h-l;return{start:f,end:w,offset:l,overflow:h,topOffset:u,height:i,margin:n,width:V(o).width,top:Tt(o)[0]}},write(t){let{height:e,margin:i}=t;const{placeholder:n}=this;c(n,{height:e,margin:i}),C(n,document)||(me(this.$el,n),n.hidden=!0)},events:["resize"]},{read(t){let{scroll:e=0,dir:i="down",overflow:n,overflowScroll:s=0,start:o,end:r}=t;const a=document.scrollingElement.scrollTop;return{dir:e<=a?"down":"up",prevDir:i,scroll:a,prevScroll:e,offsetParentTop:b((this.isFixed?this.placeholder:this.$el).offsetParent).top,overflowScroll:ct(s+ct(a,o,r)-ct(e,o,r),0,n)}},write(t,e){const i=e.has("scroll"),{initTimestamp:n=0,dir:s,prevDir:o,scroll:r,prevScroll:a=0,top:l,start:h,topOffset:u,height:f}=t;if(r<0||r===a&&i||this.showOnUp&&!i&&!this.isFixed)return;const w=Date.now();if((w-n>300||s!==o)&&(t.initScroll=r,t.initTimestamp=w),!(this.showOnUp&&!this.isFixed&&Math.abs(t.initScroll-r)<=30&&Math.abs(a-r)<=10))if(this.inactive||r<h||this.showOnUp&&(r<=h||s==="down"&&i||s==="up"&&!this.isFixed&&r<=u+f)){if(!this.isFixed){tt.inProgress(this.$el)&&l>r&&(tt.cancel(this.$el),this.hide());return}this.isFixed=!1,this.animation&&r>u?(tt.cancel(this.$el),tt.out(this.$el,this.animation).then(()=>this.hide(),ht)):this.hide()}else this.isFixed?this.update():this.animation&&r>u?(tt.cancel(this.$el),this.show(),tt.in(this.$el,this.animation).catch(ht)):this.show()},events:["resize","scroll"]}],methods:{show(){this.isFixed=!0,this.update(),this.placeholder.hidden=!1},hide(){this.setActive(!1),H(this.$el,this.clsFixed,this.clsBelow),c(this.$el,{position:"",top:"",width:""}),this.placeholder.hidden=!0},update(){let{width:t,scroll:e=0,overflow:i,overflowScroll:n=0,start:s,end:o,offset:r,topOffset:a,height:l,offsetParentTop:h}=this._data;const u=s!==0||e>s;let f="fixed";e>o&&(r+=o-h,f="absolute"),i&&(r-=n),c(this.$el,{position:f,top:r+"px",width:t}),this.setActive(u),X(this.$el,this.clsBelow,e>a+l),$(this.$el,this.clsFixed)},setActive(t){const e=this.active;this.active=t,t?(si(this.selTarget,this.clsInactive,this.clsActive),e!==t&&T(this.$el,"active")):(si(this.selTarget,this.clsActive,this.clsInactive),e!==t&&T(this.$el,"inactive"))}}};function Rn(t,e,i,n){if(!t)return 0;if(bt(t)||x(t)&&t.match(/^-?\d/))return i+Z(t,"height",e,!0);{const s=t===!0?E(e):ot(t,e);return b(s).bottom-(n&&s&&C(e,s)?v(c(s,"paddingBottom")):0)}}function In(t){return t==="true"?!0:t==="false"?!1:t}var Wn={mixins:[Ee,zn,Wt],args:"connect",props:{connect:String,toggle:String,itemNav:String,active:Number},data:{connect:"~.uk-switcher",toggle:"> * > :first-child",itemNav:!1,active:0,cls:"uk-active",attrItem:"uk-switcher-item"},computed:{connects:{get(t,e){let{connect:i}=t;return Zt(i,e)},watch(t){this.swiping&&c(t,"touchAction","pan-y pinch-zoom");const e=this.index();this.connects.forEach(i=>{st(i).forEach((n,s)=>X(n,this.cls,s===e)),this.lazyload(this.$el,st(i))})},immediate:!0},toggles:{get(t,e){let{toggle:i}=t;return A(i,e).filter(n=>!P(n,".uk-disabled *, .uk-disabled, [disabled]"))},watch(t){const e=this.index();this.show(~e?e:t[this.active]||t[0])},immediate:!0},children(){return st(this.$el).filter(t=>this.toggles.some(e=>C(e,t)))},swipeTarget(){return this.connects}},connected(){ri(()=>this.$emit())},events:[{name:"click",delegate(){return this.toggle},handler(t){t.preventDefault(),this.show(t.current)}},{name:"click",el(){return this.connects.concat(this.itemNav?Zt(this.itemNav,this.$el):[])},delegate(){return"["+this.attrItem+"],[data-"+this.attrItem+"]"},handler(t){t.preventDefault(),this.show(At(t.current,this.attrItem))}},{name:"swipeRight swipeLeft",filter(){return this.swiping},el(){return this.connects},handler(t){let{type:e}=t;this.show(Yt(e,"Left")?"next":"previous")}}],methods:{index(){return ae(this.children,t=>y(t,this.cls))},show(t){const e=this.index(),i=he(t,this.toggles,e),n=he(this.children[i],st(this.$el));st(this.$el).forEach((o,r)=>{X(o,this.cls,n===r),m(this.toggles[r],"aria-expanded",n===r)});const s=e>=0&&e!==i;this.connects.forEach(async o=>{let{children:r}=o;await this.toggleElement(p(r).filter(a=>y(a,this.cls)),!1,s),await this.toggleElement(r[n],!0,s)})}}},xr={mixins:[lt],extends:Wn,props:{media:Boolean},data:{media:960,attrItem:"uk-tab-item"},connected(){const t=y(this.$el,"uk-tab-left")?"uk-tab-left":y(this.$el,"uk-tab-right")?"uk-tab-right":!1;t&&this.$create("toggle",this.$el,{cls:t,mode:"media",media:this.media})}};const kr=32;var Tr={mixins:[Ee,Ti,Wt],args:"target",props:{href:String,target:null,mode:"list",queued:Boolean},data:{href:!1,target:!1,mode:"click",queued:!0},computed:{target:{get(t,e){let{href:i,target:n}=t;return n=Zt(n||i,e),n.length&&n||[e]},watch(){this.updateAria(),this.lazyload(this.$el,this.target)},immediate:!0}},connected(){!d(this.mode,"media")&&!Je(this.$el)&&m(this.$el,"tabindex","0"),ri(()=>this.$emit())},events:[{name:Lt,filter(){return d(this.mode,"hover")},handler(t){this._preventClick=null,!(!Mt(t)||this._showState)&&(T(this.$el,"focus"),S(document,Lt,()=>T(this.$el,"blur"),!0,e=>!C(e.target,this.$el)),d(this.mode,"click")&&(this._preventClick=!0))}},{name:be+" "+$e+" focus blur",filter(){return d(this.mode,"hover")},handler(t){if(Mt(t))return;const e=d([be,"focus"],t.type),i=m(this.$el,"aria-expanded");if(!(!e&&(t.type===$e&&P(this.$el,":focus")||t.type==="blur"&&P(this.$el,":hover")))){if(this._showState&&e&&i!==this._showState){e||(this._showState=null);return}this._showState=e?i:null,this.toggle("toggle"+(e?"show":"hide"))}}},{name:"keydown",filter(){return d(this.mode,"click")&&!it(this.$el,"input")},handler(t){t.keyCode===kr&&(t.preventDefault(),this.$el.click())}},{name:"click",filter(){return["click","hover"].some(t=>d(this.mode,t))},handler(t){let e;(this._preventClick||K(t.target,'a[href="#"], a[href=""]')||(e=K(t.target,"a[href]"))&&(m(this.$el,"aria-expanded")!=="true"||e.hash&&P(this.target,e.hash)))&&t.preventDefault(),!this._preventClick&&d(this.mode,"click")&&this.toggle()}},{name:"hide show",self:!0,el(){return this.target},handler(t){let{type:e}=t;this.updateAria(e==="show")}},{name:"mediachange",filter(){return d(this.mode,"media")},el(){return this.target},handler(t,e){e.matches^this.isToggled(this.target)&&this.toggle()}}],methods:{async toggle(t){if(!T(this.target,t||"toggle",[this]))return;if(!this.queued)return this.toggleElement(this.target);const e=this.target.filter(n=>y(n,this.clsLeave));if(e.length){for(const n of this.target){const s=d(e,n);this.toggleElement(n,s,s)}return}const i=this.target.filter(this.isToggled);await this.toggleElement(i,!1),await this.toggleElement(this.target.filter(n=>!d(i,n)),!0)},updateAria(t){d(this.mode,"media")||m(this.$el,"aria-expanded",ce(t)?t:this.isToggled(this.target))}}},Sr=Object.freeze({__proto__:null,Accordion:gn,Alert:Zs,Cover:Us,Drop:xn,Dropdown:xn,FormCustom:ro,Grid:ho,HeightMatch:go,HeightViewport:wo,Icon:xi,Img:Zo,Leader:or,Margin:kn,Modal:rr,Nav:lr,Navbar:cr,Offcanvas:ur,OverflowAuto:pr,Responsive:gr,Scroll:mr,Scrollspy:br,ScrollspyNav:$r,Sticky:yr,Svg:En,Switcher:Wn,Tab:xr,Toggle:Tr,Video:vn,Close:Yo,Spinner:Xo,NavParentIcon:jo,SlidenavNext:_n,SlidenavPrevious:_n,SearchIcon:qo,Marker:U,NavbarParentIcon:U,NavbarToggleIcon:U,OverlayIcon:U,PaginationNext:U,PaginationPrevious:U,Totop:U});return yt(Sr,(t,e)=>J.component(e,t)),Gs(J),J});
|
package/dist/js/uikit-icons.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! UIkit 3.15.
|
|
1
|
+
/*! UIkit 3.15.2 | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */
|
|
2
2
|
|
|
3
3
|
(function (global, factory) {
|
|
4
4
|
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
|