3 lines
132 KiB
JavaScript
3 lines
132 KiB
JavaScript
/*! UIkit 3.15.18 | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */
|
|
(function(de,fe){typeof exports=="object"&&typeof module<"u"?module.exports=fe():typeof define=="function"&&define.amd?define("uikit",fe):(de=typeof globalThis<"u"?globalThis:de||self,de.UIkit=fe())})(this,function(){"use strict";const{hasOwnProperty:de,toString:fe}=Object.prototype;function Bt(t,e){return de.call(t,e)}const mo=/\B([A-Z])/g,Gt=ft(t=>t.replace(mo,"-$1").toLowerCase()),vo=/-(\w)/g,pe=ft(t=>t.replace(vo,ps)),kt=ft(t=>t.length?ps(null,t.charAt(0))+t.slice(1):"");function ps(t,e){return e?e.toUpperCase():""}function lt(t,e){return t==null||t.startsWith==null?void 0:t.startsWith(e)}function Xt(t,e){return t==null||t.endsWith==null?void 0:t.endsWith(e)}function g(t,e){return t==null||t.includes==null?void 0:t.includes(e)}function wt(t,e){return t==null||t.findIndex==null?void 0:t.findIndex(e)}const{isArray:J,from:ki}=Array,{assign:$t}=Object;function dt(t){return typeof t=="function"}function St(t){return t!==null&&typeof t=="object"}function bt(t){return fe.call(t)==="[object Object]"}function Jt(t){return St(t)&&t===t.window}function Ne(t){return Ti(t)===9}function Si(t){return Ti(t)>=1}function Kt(t){return Ti(t)===1}function Ti(t){return!Jt(t)&&St(t)&&t.nodeType}function He(t){return typeof t=="boolean"}function D(t){return typeof t=="string"}function Zt(t){return typeof t=="number"}function Mt(t){return Zt(t)||D(t)&&!isNaN(t-parseFloat(t))}function ge(t){return!(J(t)?t.length:St(t)?Object.keys(t).length:!1)}function j(t){return t===void 0}function Ci(t){return He(t)?t:t==="true"||t==="1"||t===""?!0:t==="false"||t==="0"?!1:t}function Tt(t){const e=Number(t);return isNaN(e)?!1:e}function $(t){return parseFloat(t)||0}function q(t){return y(t)[0]}function y(t){return t&&(Si(t)?[t]:Array.from(t).filter(Si))||[]}function Qt(t){var e;if(Jt(t))return t;t=q(t);const i=Ne(t)?t:(e=t)==null?void 0:e.ownerDocument;return(i==null?void 0:i.defaultView)||window}function me(t,e){return t===e||St(t)&&St(e)&&Object.keys(t).length===Object.keys(e).length&&xt(t,(i,s)=>i===e[s])}function Ii(t,e,i){return t.replace(new RegExp(`${e}|${i}`,"g"),s=>s===e?i:e)}function Ut(t){return t[t.length-1]}function xt(t,e){for(const i in t)if(e(t[i],i)===!1)return!1;return!0}function Fe(t,e){return t.slice().sort(({[e]:i=0},{[e]:s=0})=>i>s?1:s>i?-1:0)}function Dt(t,e){return t.reduce((i,s)=>i+$(dt(e)?e(s):s[e]),0)}function gs(t,e){const i=new Set;return t.filter(({[e]:s})=>i.has(s)?!1:i.add(s))}function K(t,e=0,i=1){return Math.min(Math.max(Tt(t)||0,e),i)}function C(){}function _i(...t){return[["bottom","top"],["right","left"]].every(([e,i])=>Math.min(...t.map(({[e]:s})=>s))-Math.max(...t.map(({[i]:s})=>s))>0)}function Le(t,e){return t.x<=e.right&&t.x>=e.left&&t.y<=e.bottom&&t.y>=e.top}function Pi(t,e,i){const s=e==="width"?"height":"width";return{[s]:t[e]?Math.round(i*t[s]/t[e]):t[s],[e]:i}}function ms(t,e){t={...t};for(const i in t)t=t[i]>e[i]?Pi(t,i,e[i]):t;return t}function wo(t,e){t=ms(t,e);for(const i in t)t=t[i]<e[i]?Pi(t,i,e[i]):t;return t}const We={ratio:Pi,contain:ms,cover:wo};function Ct(t,e,i=0,s=!1){e=y(e);const{length:n}=e;return n?(t=Mt(t)?Tt(t):t==="next"?i+1:t==="previous"?i-1:e.indexOf(q(t)),s?K(t,0,n-1):(t%=n,t<0?t+n:t)):-1}function ft(t){const e=Object.create(null);return i=>e[i]||(e[i]=t(i))}class Re{constructor(){this.promise=new Promise((e,i)=>{this.reject=i,this.resolve=e})}}function b(t,e,i){if(St(e)){for(const n in e)b(t,n,e[n]);return}if(j(i)){var s;return(s=q(t))==null?void 0:s.getAttribute(e)}else for(const n of y(t))dt(i)&&(i=i.call(n,b(n,e))),i===null?ve(n,e):n.setAttribute(e,i)}function It(t,e){return y(t).some(i=>i.hasAttribute(e))}function ve(t,e){const i=y(t);for(const s of e.split(" "))for(const n of i)n.removeAttribute(s)}function st(t,e){for(const i of[e,`data-${e}`])if(It(t,i))return b(t,i)}const $o={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0};function Ei(t){return y(t).some(e=>$o[e.tagName.toLowerCase()])}function R(t){return y(t).some(e=>e.offsetWidth||e.offsetHeight||e.getClientRects().length)}const we="input,select,textarea,button";function Ai(t){return y(t).some(e=>H(e,we))}const je=`${we},a[href],[tabindex]`;function qe(t){return H(t,je)}function E(t){var e;return(e=q(t))==null?void 0:e.parentElement}function Ve(t,e){return y(t).filter(i=>H(i,e))}function H(t,e){return y(t).some(i=>i.matches(e))}function U(t,e){return Kt(t)?t.closest(lt(e,">")?e.slice(1):e):y(t).map(i=>U(i,e)).filter(Boolean)}function _(t,e){return D(e)?!!U(t,e):q(e).contains(q(t))}function te(t,e){const i=[];for(;t=E(t);)(!e||H(t,e))&&i.push(t);return i}function P(t,e){t=q(t);const i=t?y(t.children):[];return e?Ve(i,e):i}function ee(t,e){return e?y(t).indexOf(q(e)):P(E(t)).indexOf(t)}function ht(t,e){return Oi(t,ws(t,e))}function $e(t,e){return be(t,ws(t,e))}function Oi(t,e){return q($s(t,e,"querySelector"))}function be(t,e){return y($s(t,e,"querySelectorAll"))}const bo=/(^|[^\\],)\s*[!>+~-]/,vs=ft(t=>t.match(bo));function ws(t,e=document){return D(t)&&vs(t)||Ne(e)?e:e.ownerDocument}const xo=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,yo=ft(t=>t.replace(xo,"$1 *"));function $s(t,e=document,i){if(!t||!D(t))return t;if(t=yo(t),vs(t)){const s=So(t);t="";for(let n of s){let o=e;if(n[0]==="!"){const r=n.substr(1).trim().split(" ");if(o=U(E(e),r[0]),n=r.slice(1).join(" ").trim(),!n.length&&s.length===1)return o}if(n[0]==="-"){const r=n.substr(1).trim().split(" "),a=(o||e).previousElementSibling;o=H(a,n.substr(1))?a:null,n=r.slice(1).join(" ")}o&&(t+=`${t?",":""}${To(o)} ${n}`)}e=document}try{return e[i](t)}catch{return null}}const ko=/.*?[^\\](?:,|$)/g,So=ft(t=>t.match(ko).map(e=>e.replace(/,$/,"").trim()));function To(t){const e=[];for(;t.parentNode;){const i=b(t,"id");if(i){e.unshift(`#${Bi(i)}`);break}else{let{tagName:s}=t;s!=="HTML"&&(s+=`:nth-child(${ee(t)+1})`),e.unshift(s),t=t.parentNode}}return e.join(" > ")}function Bi(t){return D(t)?CSS.escape(t):""}function S(...t){let[e,i,s,n,o=!1]=Mi(t);n.length>1&&(n=Io(n)),o!=null&&o.self&&(n=_o(n)),s&&(n=Co(s,n));for(const r of i)for(const a of e)a.addEventListener(r,n,o);return()=>zt(e,i,n,o)}function zt(...t){let[e,i,,s,n=!1]=Mi(t);for(const o of i)for(const r of e)r.removeEventListener(o,s,n)}function z(...t){const[e,i,s,n,o=!1,r]=Mi(t),a=S(e,i,s,l=>{const c=!r||r(l);c&&(a(),n(l,c))},o);return a}function m(t,e,i){return Di(t).every(s=>s.dispatchEvent(Nt(e,!0,!0,i)))}function Nt(t,e=!0,i=!1,s){return D(t)&&(t=new CustomEvent(t,{bubbles:e,cancelable:i,detail:s})),t}function Mi(t){return t[0]=Di(t[0]),D(t[1])&&(t[1]=t[1].split(" ")),dt(t[2])&&t.splice(2,0,!1),t}function Co(t,e){return i=>{const s=t[0]===">"?be(t,i.currentTarget).reverse().filter(n=>_(i.target,n))[0]:U(i.target,t);s&&(i.current=s,e.call(this,i))}}function Io(t){return e=>J(e.detail)?t(e,...e.detail):t(e)}function _o(t){return function(e){if(e.target===e.currentTarget||e.target===e.current)return t.call(null,e)}}function bs(t){return t&&"addEventListener"in t}function Po(t){return bs(t)?t:q(t)}function Di(t){return J(t)?t.map(Po).filter(Boolean):D(t)?be(t):bs(t)?[t]:y(t)}function yt(t){return t.pointerType==="touch"||!!t.touches}function ie(t){var e,i;const{clientX:s,clientY:n}=((e=t.touches)==null?void 0:e[0])||((i=t.changedTouches)==null?void 0:i[0])||t;return{x:s,y:n}}function xs(t,e){const i={data:null,method:"GET",headers:{},xhr:new XMLHttpRequest,beforeSend:C,responseType:"",...e};return Promise.resolve().then(()=>i.beforeSend(i)).then(()=>Eo(t,i))}function Eo(t,e){return new Promise((i,s)=>{const{xhr:n}=e;for(const o in e)if(o in n)try{n[o]=e[o]}catch{}n.open(e.method.toUpperCase(),t);for(const o in e.headers)n.setRequestHeader(o,e.headers[o]);S(n,"load",()=>{n.status===0||n.status>=200&&n.status<300||n.status===304?i(n):s($t(Error(n.statusText),{xhr:n,status:n.status}))}),S(n,"error",()=>s($t(Error("Network Error"),{xhr:n}))),S(n,"timeout",()=>s($t(Error("Network Timeout"),{xhr:n}))),n.send(e.data)})}function ys(t,e,i){return new Promise((s,n)=>{const o=new Image;o.onerror=r=>{n(r)},o.onload=()=>{s(o)},i&&(o.sizes=i),e&&(o.srcset=e),o.src=t})}const Ao={"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 h(t,e,i,s=""){const n=y(t);for(const o of n)if(D(e)){if(e=zi(e),j(i))return getComputedStyle(o).getPropertyValue(e);o.style.setProperty(e,Mt(i)&&!Ao[e]?`${i}px`:i||Zt(i)?i:"",s)}else if(J(e)){const r={};for(const a of e)r[a]=h(o,a);return r}else St(e)&&(s=i,xt(e,(r,a)=>h(o,a,r,s)));return n[0]}const zi=ft(t=>Oo(t));function Oo(t){if(lt(t,"--"))return t;t=Gt(t);const{style:e}=document.documentElement;if(t in e)return t;for(const i of["webkit","moz"]){const s=`-${i}-${t}`;if(s in e)return s}}function x(t,...e){ks(t,e,"add")}function B(t,...e){ks(t,e,"remove")}function Ni(t,e){b(t,"class",i=>(i||"").replace(new RegExp(`\\b${e}\\b\\s?`,"g"),""))}function Hi(t,...e){e[0]&&B(t,e[0]),e[1]&&x(t,e[1])}function A(t,e){return[e]=Fi(e),!!e&&y(t).some(i=>i.classList.contains(e))}function W(t,e,i){const s=Fi(e);j(i)||(i=!!i);for(const n of y(t))for(const o of s)n.classList.toggle(o,i)}function ks(t,e,i){e=e.reduce((s,n)=>s.concat(Fi(n)),[]);for(const s of y(t))s.classList[i](...e)}function Fi(t){return String(t).split(/\s|,/).filter(Boolean)}function Bo(t,e,i=400,s="linear"){return i=Math.round(i),Promise.all(y(t).map(n=>new Promise((o,r)=>{for(const l in e){const c=h(n,l);c===""&&h(n,l,c)}const a=setTimeout(()=>m(n,"transitionend"),i);z(n,"transitionend transitioncanceled",({type:l})=>{clearTimeout(a),B(n,"uk-transition"),h(n,{transitionProperty:"",transitionDuration:"",transitionTimingFunction:""}),l==="transitioncanceled"?r():o(n)},{self:!0}),x(n,"uk-transition"),h(n,{transitionProperty:Object.keys(e).map(zi).join(","),transitionDuration:`${i}ms`,transitionTimingFunction:s,...e})})))}const T={start:Bo,async stop(t){m(t,"transitionend"),await Promise.resolve()},async cancel(t){m(t,"transitioncanceled"),await Promise.resolve()},inProgress(t){return A(t,"uk-transition")}},xe="uk-animation-";function Ss(t,e,i=200,s,n){return Promise.all(y(t).map(o=>new Promise((r,a)=>{m(o,"animationcanceled");const l=setTimeout(()=>m(o,"animationend"),i);z(o,"animationend animationcanceled",({type:c})=>{clearTimeout(l),c==="animationcanceled"?a():r(o),h(o,"animationDuration",""),Ni(o,`${xe}\\S*`)},{self:!0}),h(o,"animationDuration",`${i}ms`),x(o,e,xe+(n?"leave":"enter")),lt(e,xe)&&(s&&x(o,`uk-transform-origin-${s}`),n&&x(o,`${xe}reverse`))})))}const Mo=new RegExp(`${xe}(enter|leave)`),pt={in:Ss,out(t,e,i,s){return Ss(t,e,i,s,!0)},inProgress(t){return Mo.test(b(t,"class"))},cancel(t){m(t,"animationcanceled")}};function Do(t){if(document.readyState!=="loading"){t();return}z(document,"DOMContentLoaded",t)}function ct(t,e){var i;return(t==null||(i=t.tagName)==null?void 0:i.toLowerCase())===e.toLowerCase()}function Ts(t){return t=v(t),t.innerHTML="",t}function _t(t,e){return j(e)?v(t).innerHTML:L(Ts(t),e)}const zo=Xe("prepend"),L=Xe("append"),Ye=Xe("before"),Ge=Xe("after");function Xe(t){return function(e,i){var s;const n=y(D(i)?Ht(i):i);return(s=v(e))==null||s[t](...n),Cs(n)}}function nt(t){y(t).forEach(e=>e.remove())}function Je(t,e){for(e=q(Ye(t,e));e.firstChild;)e=e.firstChild;return L(e,t),e}function Li(t,e){return y(y(t).map(i=>i.hasChildNodes()?Je(y(i.childNodes),e):L(i,e)))}function ye(t){y(t).map(E).filter((e,i,s)=>s.indexOf(e)===i).forEach(e=>e.replaceWith(...e.childNodes))}const No=/^\s*<(\w+|!)[^>]*>/,Ho=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function Ht(t){const e=Ho.exec(t);if(e)return document.createElement(e[1]);const i=document.createElement("div");return No.test(t)?i.insertAdjacentHTML("beforeend",t.trim()):i.textContent=t,Cs(i.childNodes)}function Cs(t){return t.length>1?t:t[0]}function mt(t,e){if(!!Kt(t))for(e(t),t=t.firstElementChild;t;){const i=t.nextElementSibling;mt(t,e),t=i}}function v(t,e){return Is(t)?q(Ht(t)):Oi(t,e)}function N(t,e){return Is(t)?y(Ht(t)):be(t,e)}function Is(t){return D(t)&<(t.trim(),"<")}const Ft={width:["left","right"],height:["top","bottom"]};function w(t){const e=Kt(t)?q(t).getBoundingClientRect():{height:Z(t),width:ke(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 I(t,e){const i=w(t);if(t){const{scrollY:n,scrollX:o}=Qt(t),r={height:n,width:o};for(const a in Ft)for(const l of Ft[a])i[l]+=r[a]}if(!e)return i;const s=h(t,"position");xt(h(t,["left","top"]),(n,o)=>h(t,o,e[o]-i[o]+$(s==="absolute"&&n==="auto"?Ke(t)[o]:n)))}function Ke(t){let{top:e,left:i}=I(t);const{ownerDocument:{body:s,documentElement:n},offsetParent:o}=q(t);let r=o||n;for(;r&&(r===s||r===n)&&h(r,"position")==="static";)r=r.parentNode;if(Kt(r)){const a=I(r);e-=a.top+$(h(r,"borderTopWidth")),i-=a.left+$(h(r,"borderLeftWidth"))}return{top:e-$(h(t,"marginTop")),left:i-$(h(t,"marginLeft"))}}function Lt(t){t=q(t);const e=[t.offsetTop,t.offsetLeft];for(;t=t.offsetParent;)if(e[0]+=t.offsetTop+$(h(t,"borderTopWidth")),e[1]+=t.offsetLeft+$(h(t,"borderLeftWidth")),h(t,"position")==="fixed"){const i=Qt(t);return e[0]+=i.scrollY,e[1]+=i.scrollX,e}return e}const Z=_s("height"),ke=_s("width");function _s(t){const e=kt(t);return(i,s)=>{if(j(s)){if(Jt(i))return i[`inner${e}`];if(Ne(i)){const n=i.documentElement;return Math.max(n[`offset${e}`],n[`scroll${e}`])}return i=q(i),s=h(i,t),s=s==="auto"?i[`offset${e}`]:$(s)||0,s-se(i,t)}else return h(i,t,!s&&s!==0?"":+s+se(i,t)+"px")}}function se(t,e,i="border-box"){return h(t,"boxSizing")===i?Dt(Ft[e].map(kt),s=>$(h(t,`padding${s}`))+$(h(t,`border${s}Width`))):0}function Ze(t){for(const e in Ft)for(const i in Ft[e])if(Ft[e][i]===t)return Ft[e][1-i];return t}function ot(t,e="width",i=window,s=!1){return D(t)?Dt(Lo(t),n=>{const o=Ro(n);return o?jo(o==="vh"?qo():o==="vw"?ke(Qt(i)):s?i[`offset${kt(e)}`]:w(i)[e],n):n}):$(t)}const Fo=/-?\d+(?:\.\d+)?(?:v[wh]|%|px)?/g,Lo=ft(t=>t.toString().replace(/\s/g,"").match(Fo)||[]),Wo=/(?:v[hw]|%)$/,Ro=ft(t=>(t.match(Wo)||[])[0]);function jo(t,e){return t*$(e)/100}let Se,ne;function qo(){return Se||(ne||(ne=v("<div>"),h(ne,{height:"100vh",position:"fixed"}),S(window,"resize",()=>Se=null)),L(document.body,ne),Se=ne.clientHeight,nt(ne),Se)}const Wt=typeof window<"u",Y=Wt&&document.dir==="rtl",Rt=Wt&&"ontouchstart"in window,oe=Wt&&window.PointerEvent,gt=oe?"pointerdown":Rt?"touchstart":"mousedown",Qe=oe?"pointermove":Rt?"touchmove":"mousemove",Pt=oe?"pointerup":Rt?"touchend":"mouseup",jt=oe?"pointerenter":Rt?"":"mouseenter",re=oe?"pointerleave":Rt?"":"mouseleave",Ue=oe?"pointercancel":"touchcancel",G={reads:[],writes:[],read(t){return this.reads.push(t),Ri(),t},write(t){return this.writes.push(t),Ri(),t},clear(t){Es(this.reads,t),Es(this.writes,t)},flush:Wi};function Wi(t){Ps(G.reads),Ps(G.writes.splice(0)),G.scheduled=!1,(G.reads.length||G.writes.length)&&Ri(t+1)}const Vo=4;function Ri(t){G.scheduled||(G.scheduled=!0,t&&t<Vo?Promise.resolve().then(()=>Wi(t)):requestAnimationFrame(()=>Wi(1)))}function Ps(t){let e;for(;e=t.shift();)try{e()}catch(i){console.error(i)}}function Es(t,e){const i=t.indexOf(e);return~i&&t.splice(i,1)}function ji(){}ji.prototype={positions:[],init(){this.positions=[];let t;this.unbind=S(document,"mousemove",e=>t=ie(e)),this.interval=setInterval(()=>{!t||(this.positions.push(t),this.positions.length>5&&this.positions.shift())},50)},cancel(){var t;(t=this.unbind)==null||t.call(this),this.interval&&clearInterval(this.interval)},movesTo(t){if(this.positions.length<2)return!1;const e=t.getBoundingClientRect(),{left:i,right:s,top:n,bottom:o}=e,[r]=this.positions,a=Ut(this.positions),l=[r,a];return Le(a,e)?!1:[[{x:i,y:n},{x:s,y:o}],[{x:i,y:o},{x:s,y:n}]].some(u=>{const d=Yo(l,u);return d&&Le(d,e)})}};function Yo([{x:t,y:e},{x:i,y:s}],[{x:n,y:o},{x:r,y:a}]){const l=(a-o)*(i-t)-(r-n)*(s-e);if(l===0)return!1;const c=((r-n)*(e-o)-(a-o)*(t-n))/l;return c<0?!1:{x:t+c*(i-t),y:e+c*(s-e)}}function ae(t,e,i,s=!0){const n=new IntersectionObserver(s?(o,r)=>{o.some(a=>a.isIntersecting)&&e(o,r)}:e,i);for(const o of y(t))n.observe(o);return n}const Go=Wt&&window.ResizeObserver;function Te(t,e,i={box:"border-box"}){return Go?Os(ResizeObserver,t,e,i):(Xo(),Ce.add(e),{disconnect(){Ce.delete(e)}})}let Ce;function Xo(){if(Ce)return;Ce=new Set;let t;const e=()=>{if(!t){t=!0,requestAnimationFrame(()=>t=!1);for(const i of Ce)i()}};S(window,"load resize",e),S(document,"loadedmetadata load",e,!0)}function As(t,e,i){return Os(MutationObserver,t,e,i)}function Os(t,e,i,s){const n=new t(i);for(const o of y(e))n.observe(o,s);return n}const X={};X.events=X.created=X.beforeConnect=X.connected=X.beforeDisconnect=X.disconnected=X.destroy=qi,X.args=function(t,e){return e!==!1&&qi(e||t)},X.update=function(t,e){return Fe(qi(t,dt(e)?{read:e}:e),"order")},X.props=function(t,e){if(J(e)){const i={};for(const s of e)i[s]=String;e=i}return X.methods(t,e)},X.computed=X.methods=function(t,e){return e?t?{...t,...e}:e:t},X.data=function(t,e,i){return i?Bs(t,e,i):e?t?function(s){return Bs(t,e,s)}:e:t};function Bs(t,e,i){return X.computed(dt(t)?t.call(i,i):t,dt(e)?e.call(i,i):e)}function qi(t,e){return t=t&&!J(t)?[t]:t,e?t?t.concat(e):J(e)?e:[e]:t}function Jo(t,e){return j(e)?t:e}function le(t,e,i){const s={};if(dt(e)&&(e=e.options),e.extends&&(t=le(t,e.extends,i)),e.mixins)for(const o of e.mixins)t=le(t,o,i);for(const o in t)n(o);for(const o in e)Bt(t,o)||n(o);function n(o){s[o]=(X[o]||Jo)(t[o],e[o],i)}return s}function Ie(t,e=[]){try{return t?lt(t,"{")?JSON.parse(t):e.length&&!g(t,":")?{[e[0]]:t}:t.split(";").reduce((i,s)=>{const[n,o]=s.split(/:(.*)/);return n&&!j(o)&&(i[n.trim()]=o.trim()),i},{}):{}}catch{return{}}}function Ms(t){if(ei(t)&&Vi(t,{func:"playVideo",method:"play"}),ti(t))try{t.play().catch(C)}catch{}}function Ds(t){ei(t)&&Vi(t,{func:"pauseVideo",method:"pause"}),ti(t)&&t.pause()}function zs(t){ei(t)&&Vi(t,{func:"mute",method:"setVolume",value:0}),ti(t)&&(t.muted=!0)}function Ns(t){return ti(t)||ei(t)}function ti(t){return ct(t,"video")}function ei(t){return ct(t,"iframe")&&(Hs(t)||Fs(t))}function Hs(t){return!!t.src.match(/\/\/.*?youtube(-nocookie)?\.[a-z]+\/(watch\?v=[^&\s]+|embed)|youtu\.be\/.*/)}function Fs(t){return!!t.src.match(/vimeo\.com\/video\/.*/)}async function Vi(t,e){await Zo(t),Ls(t,e)}function Ls(t,e){try{t.contentWindow.postMessage(JSON.stringify({event:"command",...e}),"*")}catch{}}const Yi="_ukPlayer";let Ko=0;function Zo(t){if(t[Yi])return t[Yi];const e=Hs(t),i=Fs(t),s=++Ko;let n;return t[Yi]=new Promise(o=>{e&&z(t,"load",()=>{const r=()=>Ls(t,{event:"listening",id:s});n=setInterval(r,100),r()}),z(window,"message",o,!1,({data:r})=>{try{return r=JSON.parse(r),r&&(e&&r.id===s&&r.event==="onReady"||i&&Number(r.player_id)===s)}catch{}}),t.src=`${t.src}${g(t.src,"?")?"&":"?"}${e?"enablejsapi=1":`api=1&player_id=${s}`}`}).then(()=>clearInterval(n))}function Gi(t,e=0,i=0){return R(t)?_i(...Q(t).map(s=>{const{top:n,left:o,bottom:r,right:a}=rt(s);return{top:n-e,left:o-i,bottom:r+e,right:a+i}}).concat(I(t))):!1}function Ws(t,{offset:e=0}={}){const i=R(t)?Q(t):[];return i.reduce((r,a,l)=>{const{scrollTop:c,scrollHeight:u,offsetHeight:d}=a,f=rt(a),p=u-f.height,{height:k,top:M}=i[l-1]?rt(i[l-1]):I(t);let O=Math.ceil(M-f.top-e+c);return e>0&&d<k+e?O+=e:e=0,O>p?(e-=O-p,O=p):O<0&&(e-=O,O=0),()=>s(a,O-c).then(r)},()=>Promise.resolve())();function s(r,a){return new Promise(l=>{const c=r.scrollTop,u=n(Math.abs(a)),d=Date.now();(function f(){const p=o(K((Date.now()-d)/u));r.scrollTop=c+a*p,p===1?l():requestAnimationFrame(f)})()})}function n(r){return 40*Math.pow(r,.375)}function o(r){return .5*(1-Math.cos(Math.PI*r))}}function Xi(t,e=0,i=0){if(!R(t))return 0;const[s]=Q(t,/auto|scroll/,!0),{scrollHeight:n,scrollTop:o}=s,{height:r}=rt(s),a=n-r,l=Lt(t)[0]-Lt(s)[0],c=Math.max(0,l-r+e),u=Math.min(a,l+t.offsetHeight-i);return K((o-c)/(u-c))}function Q(t,e=/auto|scroll|hidden|clip/,i=!1){const s=Rs(t);let n=te(t).reverse();n=n.slice(n.indexOf(s)+1);const o=wt(n,r=>h(r,"position")==="fixed");return~o&&(n=n.slice(o)),[s].concat(n.filter(r=>e.test(h(r,"overflow"))&&(!i||r.scrollHeight>rt(r).height))).reverse()}function rt(t){const e=Qt(t),{document:{documentElement:i}}=e;let s=t===Rs(t)?e:t;const{visualViewport:n}=e;if(Jt(s)&&n){let{height:r,width:a,scale:l,pageTop:c,pageLeft:u}=n;return r=Math.round(r*l),a=Math.round(a*l),{height:r,width:a,top:c,left:u,bottom:c+r,right:u+a}}let o=I(s);if(h(s,"display")==="inline")return o;for(let[r,a,l,c]of[["width","x","left","right"],["height","y","top","bottom"]])Jt(s)?s=i:o[l]+=$(h(s,`border-${l}-width`)),o[r]=o[a]=s[`client${kt(r)}`],o[c]=o[r]+o[l];return o}function Rs(t){return Qt(t).document.scrollingElement}const at=[["width","x","left","right"],["height","y","top","bottom"]];function js(t,e,i){i={attach:{element:["left","top"],target:["left","top"],...i.attach},offset:[0,0],placement:[],...i},J(e)||(e=[e,e]),I(t,qs(t,e,i))}function qs(t,e,i){const s=Vs(t,e,i),{boundary:n,viewportOffset:o=0,placement:r}=i;let a=s;for(const[l,[c,,u,d]]of Object.entries(at)){const f=Qo(t,e[l],o,n,l);if(ii(s,f,l))continue;let p=0;if(r[l]==="flip"){const k=i.attach.target[l];if(k===d&&s[d]<=f[d]||k===u&&s[u]>=f[u])continue;p=tr(t,e,i,l)[u]-s[u];const M=Uo(t,e[l],o,l);if(!ii(Ji(s,p,l),M,l)){if(ii(s,M,l))continue;if(i.recursion)return!1;const O=er(t,e,i);if(O&&ii(O,M,1-l))return O;continue}}else if(r[l]==="shift"){const k=I(e[l]),{offset:M}=i;p=K(K(s[u],f[u],f[d]-s[c]),k[u]-s[c]+M[l],k[d]-M[l])-s[u]}a=Ji(a,p,l)}return a}function Vs(t,e,i){let{attach:s,offset:n}={attach:{element:["left","top"],target:["left","top"],...i.attach},offset:[0,0],...i},o=I(t);for(const[r,[a,,l,c]]of Object.entries(at)){const u=s.target[r]===s.element[r]?rt(e[r]):I(e[r]);o=Ji(o,u[l]-o[l]+Ys(s.target[r],c,u[a])-Ys(s.element[r],c,o[a])+ +n[r],r)}return o}function Ji(t,e,i){const[,s,n,o]=at[i],r={...t};return r[n]=t[s]=t[n]+e,r[o]+=e,r}function Ys(t,e,i){return t==="center"?i/2:t===e?i:0}function Qo(t,e,i,s,n){let o=Xs(...Gs(t,e).map(rt));return i&&(o[at[n][2]]+=i,o[at[n][3]]-=i),s&&(o=Xs(o,I(J(s)?s[n]:s))),o}function Uo(t,e,i,s){const[n,o,r,a]=at[s],[l]=Gs(t,e),c=rt(l);return["auto","scroll"].includes(h(l,`overflow-${o}`))&&(c[r]-=l[`scroll${kt(r)}`],c[a]=l[`scroll${kt(n)}`]),c[r]+=i,c[a]-=i,c}function Gs(t,e){return Q(e).filter(i=>_(t,i))}function Xs(...t){let e={};for(const i of t)for(const[,,s,n]of at)e[s]=Math.max(e[s]||0,i[s]),e[n]=Math.min(...[e[n],i[n]].filter(Boolean));return e}function ii(t,e,i){const[,,s,n]=at[i];return t[s]>=e[s]&&t[n]<=e[n]}function tr(t,e,{offset:i,attach:s},n){return Vs(t,e,{attach:{element:Js(s.element,n),target:Js(s.target,n)},offset:ir(i,n)})}function er(t,e,i){return qs(t,e,{...i,attach:{element:i.attach.element.map(Ks).reverse(),target:i.attach.target.map(Ks).reverse()},offset:i.offset.reverse(),placement:i.placement.reverse(),recursion:!0})}function Js(t,e){const i=[...t],s=at[e].indexOf(t[e]);return~s&&(i[e]=at[e][1-s%2+2]),i}function Ks(t){for(let e=0;e<at.length;e++){const i=at[e].indexOf(t);if(~i)return at[1-e][i%2+2]}}function ir(t,e){return t=[...t],t[e]*=-1,t}var sr=Object.freeze({__proto__:null,ajax:xs,getImage:ys,Transition:T,Animation:pt,attr:b,hasAttr:It,removeAttr:ve,data:st,addClass:x,removeClass:B,removeClasses:Ni,replaceClass:Hi,hasClass:A,toggleClass:W,dimensions:w,offset:I,position:Ke,offsetPosition:Lt,height:Z,width:ke,boxModelAdjust:se,flipPosition:Ze,toPx:ot,ready:Do,isTag:ct,empty:Ts,html:_t,prepend:zo,append:L,before:Ye,after:Ge,remove:nt,wrapAll:Je,wrapInner:Li,unwrap:ye,fragment:Ht,apply:mt,$:v,$$:N,inBrowser:Wt,isRtl:Y,hasTouch:Rt,pointerDown:gt,pointerMove:Qe,pointerUp:Pt,pointerEnter:jt,pointerLeave:re,pointerCancel:Ue,on:S,off:zt,once:z,trigger:m,createEvent:Nt,toEventTargets:Di,isTouch:yt,getEventPos:ie,fastdom:G,isVoidElement:Ei,isVisible:R,selInput:we,isInput:Ai,selFocusable:je,isFocusable:qe,parent:E,filter:Ve,matches:H,closest:U,within:_,parents:te,children:P,index:ee,hasOwn:Bt,hyphenate:Gt,camelize:pe,ucfirst:kt,startsWith:lt,endsWith:Xt,includes:g,findIndex:wt,isArray:J,toArray:ki,assign:$t,isFunction:dt,isObject:St,isPlainObject:bt,isWindow:Jt,isDocument:Ne,isNode:Si,isElement:Kt,isBoolean:He,isString:D,isNumber:Zt,isNumeric:Mt,isEmpty:ge,isUndefined:j,toBoolean:Ci,toNumber:Tt,toFloat:$,toNode:q,toNodes:y,toWindow:Qt,isEqual:me,swap:Ii,last:Ut,each:xt,sortBy:Fe,sumBy:Dt,uniqueBy:gs,clamp:K,noop:C,intersectRect:_i,pointInRect:Le,Dimensions:We,getIndex:Ct,memoize:ft,Deferred:Re,MouseTracker:ji,observeIntersection:ae,observeResize:Te,observeMutation:As,mergeOptions:le,parseOptions:Ie,play:Ms,pause:Ds,mute:zs,isVideo:Ns,positionAt:js,query:ht,queryAll:$e,find:Oi,findAll:be,escape:Bi,css:h,propName:zi,isInView:Gi,scrollIntoView:Ws,scrolledOver:Xi,scrollParents:Q,offsetViewport:rt});function nr(t){const e=t.data;t.use=function(n){if(!n.installed)return n.call(null,this),n.installed=!0,this},t.mixin=function(n,o){o=(D(o)?t.component(o):o)||this,o.options=le(o.options,n)},t.extend=function(n){n=n||{};const o=this,r=function(l){this._init(l)};return r.prototype=Object.create(o.prototype),r.prototype.constructor=r,r.options=le(o.options,n),r.super=o,r.extend=o.extend,r},t.update=function(n,o){n=n?q(n):document.body;for(const r of te(n).reverse())s(r[e],o);mt(n,r=>s(r[e],o))};let i;Object.defineProperty(t,"container",{get(){return i||document.body},set(n){i=v(n)}});function s(n,o){if(!!n)for(const r in n)n[r]._connected&&n[r]._callUpdate(o)}}function or(t){t.prototype._callHook=function(s){var n;(n=this.$options[s])==null||n.forEach(o=>o.call(this))},t.prototype._callConnected=function(){this._connected||(this._data={},this._computed={},this._initProps(),this._callHook("beforeConnect"),this._connected=!0,this._initEvents(),this._initObservers(),this._callHook("connected"),this._callUpdate())},t.prototype._callDisconnected=function(){!this._connected||(this._callHook("beforeDisconnect"),this._disconnectObservers(),this._unbindEvents(),this._callHook("disconnected"),this._connected=!1,delete this._watch)},t.prototype._callUpdate=function(s="update"){!this._connected||((s==="update"||s==="resize")&&this._callWatches(),this.$options.update&&(this._updates||(this._updates=new Set,G.read(()=>{this._connected&&e.call(this,this._updates),delete this._updates})),this._updates.add(s.type||s)))},t.prototype._callWatches=function(){if(this._watch)return;const s=!Bt(this,"_watch");this._watch=G.read(()=>{this._connected&&i.call(this,s),this._watch=null})};function e(s){for(const{read:n,write:o,events:r=[]}of this.$options.update){if(!s.has("update")&&!r.some(l=>s.has(l)))continue;let a;n&&(a=n.call(this,this._data,s),a&&bt(a)&&$t(this._data,a)),o&&a!==!1&&G.write(()=>{this._connected&&o.call(this,this._data,s)})}}function i(s){const{$options:{computed:n}}=this,o={...this._computed};this._computed={};for(const r in n){const{watch:a,immediate:l}=n[r];a&&(s&&l||Bt(o,r)&&!me(o[r],this[r]))&&a.call(this,this[r],o[r])}}}function rr(t){let e=0;t.prototype._init=function(i){i=i||{},i.data=cr(i,this.constructor.options),this.$options=le(this.constructor.options,i,this),this.$el=null,this.$props={},this._uid=e++,this._initData(),this._initMethods(),this._initComputeds(),this._callHook("created"),i.el&&this.$mount(i.el)},t.prototype._initData=function(){const{data:i={}}=this.$options;for(const s in i)this.$props[s]=this[s]=i[s]},t.prototype._initMethods=function(){const{methods:i}=this.$options;if(i)for(const s in i)this[s]=i[s].bind(this)},t.prototype._initComputeds=function(){const{computed:i}=this.$options;if(this._computed={},i)for(const s in i)ar(this,s,i[s])},t.prototype._initProps=function(i){let s;i=i||Zs(this.$options);for(s in i)j(i[s])||(this.$props[s]=i[s]);const n=[this.$options.computed,this.$options.methods];for(s in this.$props)s in i&&lr(n,s)&&(this[s]=this.$props[s])},t.prototype._initEvents=function(){this._events=[];for(const i of this.$options.events||[])if(Bt(i,"handler"))si(this,i);else for(const s in i)si(this,i[s],s)},t.prototype._unbindEvents=function(){this._events.forEach(i=>i()),delete this._events},t.prototype._initObservers=function(){this._observers=[dr(this),ur(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 Zs(t){const e={},{args:i=[],props:s={},el:n,id:o}=t;if(!s)return e;for(const a in s){const l=Gt(a);let c=st(n,l);j(c)||(c=s[a]===Boolean&&c===""?!0:Ki(s[a],c),!(l==="target"&<(c,"_"))&&(e[a]=c))}const r=Ie(st(n,o),i);for(const a in r){const l=pe(a);j(s[l])||(e[l]=Ki(s[l],r[a]))}return e}function ar(t,e,i){Object.defineProperty(t,e,{enumerable:!0,get(){const{_computed:s,$props:n,$el:o}=t;return Bt(s,e)||(s[e]=(i.get||i).call(t,n,o)),s[e]},set(s){const{_computed:n}=t;n[e]=i.set?i.set.call(t,s):s,j(n[e])&&delete n[e]}})}function si(t,e,i){bt(e)||(e={name:i,handler:e});let{name:s,el:n,handler:o,capture:r,passive:a,delegate:l,filter:c,self:u}=e;if(n=dt(n)?n.call(t):n||t.$el,J(n)){n.forEach(d=>si(t,{...e,el:d},i));return}!n||c&&!c.call(t)||t._events.push(S(n,s,l?D(l)?l:l.call(t):null,D(o)?t[o]:o.bind(t),{passive:a,capture:r,self:u}))}function lr(t,e){return t.every(i=>!i||!Bt(i,e))}function Ki(t,e){return t===Boolean?Ci(e):t===Number?Tt(e):t==="list"?hr(e):t?t(e):e}function hr(t){return J(t)?t:D(t)?t.split(/,(?![^(]*\))/).map(e=>Mt(e)?Tt(e):Ci(e.trim())):[t]}function cr({data:t={}},{args:e=[],props:i={}}){J(t)&&(t=t.slice(0,e.length).reduce((s,n,o)=>(bt(n)?$t(s,n):s[e[o]]=n,s),{}));for(const s in t)j(t[s])?delete t[s]:i[s]&&(t[s]=Ki(i[s],t[s]));return t}function ur(t){let{el:e,computed:i}=t.$options;if(!i)return;for(const n in i)if(i[n].document){e=e.ownerDocument;break}const s=new MutationObserver(()=>t._callWatches());return s.observe(e,{childList:!0,subtree:!0}),s}function dr(t){const{$options:e,$props:i}=t,{id:s,attrs:n,props:o,el:r}=e;if(!o||n===!1)return;const a=J(n)?n:Object.keys(o),l=a.map(u=>Gt(u)).concat(s),c=new MutationObserver(u=>{const d=Zs(e);u.some(({attributeName:f})=>{const p=f.replace("data-","");return(p===s?a:[pe(p),pe(f)]).some(k=>!j(d[k])&&d[k]!==i[k])})&&t.$reset()});return c.observe(r,{attributes:!0,attributeFilter:l.concat(l.map(u=>`data-${u}`))}),c}function fr(t){const e=t.data;t.prototype.$create=function(i,s,n){return t[i](s,n)},t.prototype.$mount=function(i){const{name:s}=this.$options;i[e]||(i[e]={}),!i[e][s]&&(i[e][s]=this,this.$el=this.$options.el=this.$options.el||i,_(i,document)&&this._callConnected())},t.prototype.$reset=function(){this._callDisconnected(),this._callConnected()},t.prototype.$destroy=function(i=!1){const{el:s,name:n}=this.$options;s&&this._callDisconnected(),this._callHook("destroy"),s!=null&&s[e]&&(delete s[e][n],ge(s[e])||delete s[e],i&&nt(this.$el))},t.prototype.$emit=function(i){this._callUpdate(i)},t.prototype.$update=function(i=this.$el,s){t.update(i,s)},t.prototype.$getComponent=t.getComponent,Object.defineProperty(t.prototype,"$container",Object.getOwnPropertyDescriptor(t,"container"))}const Et={};function pr(t){const{data:e,prefix:i}=t;t.component=function(s,n){s=Gt(s);const o=i+s;if(!n)return bt(Et[o])&&(Et[o]=Et[`data-${o}`]=t.extend(Et[o])),Et[o];s=pe(s),t[s]=function(a,l){const c=t.component(s);return c.options.functional?new c({data:bt(a)?a:[...arguments]}):a?N(a).map(u)[0]:u();function u(d){const f=t.getComponent(d,s);if(f)if(l)f.$destroy();else return f;return new c({el:d,data:l})}};const r=bt(n)?{...n}:n.options;return r.id=o,r.name=s,r.install==null||r.install(t,r,s),t._initialized&&!r.functional&&requestAnimationFrame(()=>t[s](`[${o}],[data-${o}]`)),Et[o]=Et[`data-${o}`]=bt(n)?r:n},t.getComponents=s=>(s==null?void 0:s[e])||{},t.getComponent=(s,n)=>t.getComponents(s)[n],t.connect=s=>{if(s[e])for(const n in s[e])s[e][n]._callConnected();for(const n of s.getAttributeNames()){const o=Qs(n);o&&t[o](s)}},t.disconnect=s=>{for(const n in s[e])s[e][n]._callDisconnected()}}function Qs(t){const e=Et[t];return e&&(bt(e)?e:e.options).name}const tt=function(t){this._init(t)};tt.util=sr,tt.data="__uikit__",tt.prefix="uk-",tt.options={},tt.version="3.15.18",nr(tt),or(tt),rr(tt),pr(tt),fr(tt);function gr(t){const{connect:e,disconnect:i}=t;if(!Wt||!window.MutationObserver)return;requestAnimationFrame(function(){m(document,"uikit:init",t),document.body&&mt(document.body,e),new MutationObserver(o=>o.forEach(s)).observe(document,{childList:!0,subtree:!0}),new MutationObserver(o=>o.forEach(n)).observe(document,{attributes:!0,subtree:!0}),t._initialized=!0});function s({addedNodes:o,removedNodes:r}){for(const a of o)mt(a,e);for(const a of r)mt(a,i)}function n({target:o,attributeName:r}){const a=Qs(r);if(a){var l;if(It(o,r)){t[a](o);return}(l=t.getComponent(o,a))==null||l.$destroy()}}}var et={connected(){x(this.$el,this.$options.id)}},_e={data:{preload:5},methods:{lazyload(t=this.$el,e=this.$el){this.registerObserver(ae(t,(i,s)=>{for(const n of y(dt(e)?e():e))N('[loading="lazy"]',n).slice(0,this.preload-1).forEach(o=>ve(o,"loading"));for(const n of i.filter(({isIntersecting:o})=>o).map(({target:o})=>o))s.unobserve(n)}))}}},At={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({animation:t}){return!!t[0]},hasTransition({animation:t}){return["slide","reveal"].some(e=>lt(t[0],e))}},methods:{toggleElement(t,e,i){return new Promise(s=>Promise.all(y(t).map(n=>{const o=He(e)?e:!this.isToggled(n);if(!m(n,`before${o?"show":"hide"}`,[this]))return Promise.reject();const r=(dt(i)?i:i===!1||!this.hasAnimation?mr:this.hasTransition?vr:wr)(n,o,this),a=o?this.clsEnter:this.clsLeave;x(n,a),m(n,o?"show":"hide",[this]);const l=()=>{B(n,a),m(n,o?"shown":"hidden",[this])};return r?r.then(l,()=>(B(n,a),Promise.reject())):l()})).then(s,C))},isToggled(t=this.$el){return[t]=y(t),A(t,this.clsEnter)?!0:A(t,this.clsLeave)?!1:this.cls?A(t,this.cls.split(" ")[0]):R(t)},_toggle(t,e){if(!t)return;e=Boolean(e);let i;this.cls?(i=g(this.cls," ")||e!==A(t,this.cls),i&&W(t,this.cls,g(this.cls," ")?void 0:e)):(i=e===t.hidden,i&&(t.hidden=!e)),N("[autofocus]",t).some(s=>R(s)?s.focus()||!0:s.blur()),i&&m(t,"toggled",[e,this])}}};function mr(t,e,{_toggle:i}){return pt.cancel(t),T.cancel(t),i(t,e)}async function vr(t,e,{animation:i,duration:s,velocity:n,transition:o,_toggle:r}){var a;const[l="reveal",c="top"]=((a=i[0])==null?void 0:a.split("-"))||[],u=[["left","right"],["top","bottom"]],d=u[g(u[0],c)?0:1],f=d[1]===c,k=["width","height"][u.indexOf(d)],M=`margin-${d[0]}`,O=`margin-${c}`;let Ot=w(t)[k];const ds=T.inProgress(t);await T.cancel(t),e&&r(t,!0);const jl=Object.fromEntries(["padding","border","width","height","minWidth","minHeight","overflowY","overflowX",M,O].map(go=>[go,t.style[go]])),ze=w(t),fs=$(h(t,M)),uo=$(h(t,O)),Yt=ze[k]+uo;!ds&&!e&&(Ot+=uo);const[yi]=Li(t,"<div>");h(yi,{boxSizing:"border-box",height:ze.height,width:ze.width,...h(t,["overflow","padding","borderTop","borderRight","borderBottom","borderLeft","borderImage",O])}),h(t,{padding:0,border:0,minWidth:0,minHeight:0,[O]:0,width:ze.width,height:ze.height,overflow:"hidden",[k]:Ot});const fo=Ot/Yt;s=(n*Yt+s)*(e?1-fo:fo);const po={[k]:e?Yt:0};f&&(h(t,M,Yt-Ot+fs),po[M]=e?fs:Yt+fs),!f^l==="reveal"&&(h(yi,M,-Yt+Ot),T.start(yi,{[M]:e?0:-Yt},s,o));try{await T.start(t,po,s,o)}finally{h(t,jl),ye(yi.firstChild),e||r(t,!1)}}function wr(t,e,i){pt.cancel(t);const{animation:s,duration:n,_toggle:o}=i;return e?(o(t,!0),pt.in(t,s[0],n,i.origin)):pt.out(t,s[1]||s[0],n,i.origin).then(()=>o(t,!1))}var Us={mixins:[et,_e,At],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({targets:t},e){return N(t,e)},watch(t,e){if(e||A(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({toggle:t}){return this.items.map(e=>v(t,e))},contents:{get({content:t}){return this.items.map(e=>v(t,e))},watch(t){for(const e of t)ni(e,!A(this.items.find(i=>_(e,i)),this.clsOpen))},immediate:!0}},connected(){this.lazyload()},events:[{name:"click",delegate(){return`${this.targets} ${this.$props.toggle}`},async handler(t){var e;t.preventDefault(),(e=this._off)==null||e.call(this),this._off=br(t.target),await this.toggle(ee(this.toggles,t.current)),this._off()}}],methods:{async toggle(t,e){t=this.items[Ct(t,this.items)];let i=[t];const s=Ve(this.items,`.${this.clsOpen}`);!this.multiple&&!g(s,i[0])&&(i=i.concat(s)),!(!this.collapsible&&s.length<2&&g(s,t))&&await Promise.all(i.map(n=>this.toggleElement(n,!g(s,n),(o,r)=>{if(W(o,this.clsOpen,r),b(v(this.$props.toggle,o),"aria-expanded",r),e===!1||!this.animation){ni(v(this.content,o),!r);return}return $r(o,r,this)})))}}};function ni(t,e){t&&(t.hidden=e)}async function $r(t,e,{content:i,duration:s,velocity:n,transition:o}){var r;i=((r=t._wrapper)==null?void 0:r.firstElementChild)||v(i,t),t._wrapper||(t._wrapper=Je(i,"<div>"));const a=t._wrapper;h(a,"overflow","hidden");const l=$(h(a,"height"));await T.cancel(a),ni(i,!1);const c=Dt(["height","paddingTop","paddingBottom","marginTop","marginBottom"],d=>h(i,d)),u=l/c;s=(n*c+s)*(e?1-u:u),h(a,"height",l),await T.start(a,{height:e?c:0},s,o),ye(i),delete t._wrapper,e||ni(i,!0)}function br(t){const e=Q(t)[0];let i;return function s(){i=requestAnimationFrame(()=>{const{top:n}=t.getBoundingClientRect();n<0&&(e.scrollTop+=n),s()})}(),()=>requestAnimationFrame(()=>cancelAnimationFrame(i))}var xr={mixins:[et,At],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,yr),this.$destroy(!0)}}};function yr(t,e,{duration:i,transition:s,velocity:n}){const o=$(h(t,"height"));return h(t,"height",o),T.start(t,{height:0,marginTop:0,marginBottom:0,paddingTop:0,paddingBottom:0,borderTop:0,borderBottom:0,opacity:0},n*o+i,s)}var tn={args:"autoplay",props:{automute:Boolean,autoplay:Boolean},data:{automute:!1,autoplay:!0},connected(){this.inView=this.autoplay==="inview",this.inView&&!It(this.$el,"preload")&&(this.$el.preload="none"),ct(this.$el,"iframe")&&!It(this.$el,"allow")&&(this.$el.allow="autoplay"),this.automute&&zs(this.$el),this.registerObserver(ae(this.$el,()=>this.$emit(),{},!1))},update:{read({visible:t}){return Ns(this.$el)?{prev:t,visible:R(this.$el)&&h(this.$el,"visibility")!=="hidden",inView:this.inView&&Gi(this.$el)}:!1},write({prev:t,visible:e,inView:i}){!e||this.inView&&!i?Ds(this.$el):(this.autoplay===!0&&!t||this.inView&&i)&&Ms(this.$el)}}},vt={connected(){var t;this.registerObserver(Te(((t=this.$options.resizeTargets)==null?void 0:t.call(this))||this.$el,()=>this.$emit("resize")))}},kr={mixins:[vt,tn],props:{width:Number,height:Number},data:{automute:!0},events:{"load loadedmetadata"(){this.$emit("resize")}},resizeTargets(){return[this.$el,en(this.$el)||E(this.$el)]},update:{read(){const{ratio:t,cover:e}=We,{$el:i,width:s,height:n}=this;let o={width:s,height:n};if(!o.width||!o.height){const c={width:i.naturalWidth||i.videoWidth||i.clientWidth,height:i.naturalHeight||i.videoHeight||i.clientHeight};o.width?o=t(c,"width",o.width):n?o=t(c,"height",o.height):o=c}const{offsetHeight:r,offsetWidth:a}=en(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({height:t,width:e}){h(this.$el,{height:t,width:e})},events:["resize"]}};function en(t){for(;t=E(t);)if(h(t,"position")!=="static")return t}var he={props:{container:Boolean},data:{container:!0},computed:{container({container:t}){return t===!0&&this.$container||t&&v(t)}}},sn={props:{pos:String,offset:null,flip:Boolean,shift:Boolean,inset:Boolean},data:{pos:`bottom-${Y?"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=g(["top","bottom"],this.dir)?"y":"x"},methods:{positionAt(t,e,i){let s=[this.getPositionOffset(t),this.getShiftOffset(t)];const n=[this.flip&&"flip",this.shift&&"shift"],o={element:[this.inset?this.dir:Ze(this.dir),this.align],target:[this.dir,this.align]};if(this.axis==="y"){for(const u in o)o[u].reverse();s.reverse(),n.reverse()}const[r]=Q(t,/auto|scroll/),{scrollTop:a,scrollLeft:l}=r,c=w(t);h(t,{top:-c.height,left:-c.width}),js(t,e,{attach:o,offset:s,boundary:i,placement:n,viewportOffset:this.getViewportOffset(t)}),r.scrollTop=a,r.scrollLeft=l},getPositionOffset(t){return ot(this.offset===!1?h(t,"--uk-position-offset"):this.offset,this.axis==="x"?"width":"height",t)*(g(["left","top"],this.dir)?-1:1)*(this.inset?-1:1)},getShiftOffset(t){return this.align==="center"?0:ot(h(t,"--uk-position-shift-offset"),this.axis==="y"?"width":"height",t)*(g(["left","top"],this.align)?1:-1)},getViewportOffset(t){return ot(h(t,"--uk-position-viewport-offset"))}}};const it=[];var Zi={mixins:[et,he,At],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({selPanel:t},e){return v(t,e)},transitionElement(){return this.panel},bgClose({bgClose:t}){return t&&this.panel}},beforeDisconnect(){g(it,this)&&this.toggleElement(this.$el,!1,!1)},events:[{name:"click",delegate(){return`${this.selClose},a[href*="#"]`},handler(t){const{current:e,defaultPrevented:i}=t,{hash:s}=e;!i&&s&&Ui(e)&&!_(s,this.$el)&&v(s,document.body)?this.hide():H(e,this.selClose)&&(t.preventDefault(),this.hide())}},{name:"toggle",self:!0,handler(t){t.defaultPrevented||(t.preventDefault(),this.isToggled()===g(it,this)&&this.toggle())}},{name:"beforeshow",self:!0,handler(t){if(g(it,this))return!1;!this.stack&&it.length?(Promise.all(it.map(e=>e.hide())).then(this.show),t.preventDefault()):it.push(this)}},{name:"show",self:!0,handler(){z(this.$el,"hide",S(document,"focusin",t=>{Ut(it)===this&&!_(t.target,this.$el)&&this.$el.focus()})),this.overlay&&(z(this.$el,"hidden",on(this.$el),{self:!0}),z(this.$el,"hidden",rn(),{self:!0})),this.stack&&h(this.$el,"zIndex",$(h(this.$el,"zIndex"))+it.length),x(document.documentElement,this.clsPage),this.bgClose&&z(this.$el,"hide",S(document,gt,({target:t})=>{Ut(it)!==this||this.overlay&&!_(t,this.$el)||_(t,this.panel)||z(document,`${Pt} ${Ue} scroll`,({defaultPrevented:e,type:i,target:s})=>{!e&&i===Pt&&t===s&&this.hide()},!0)}),{self:!0}),this.escClose&&z(this.$el,"hide",S(document,"keydown",t=>{t.keyCode===27&&Ut(it)===this&&this.hide()}),{self:!0})}},{name:"shown",self:!0,handler(){qe(this.$el)||b(this.$el,"tabindex","-1"),v(":focus",this.$el)||this.$el.focus()}},{name:"hidden",self:!0,handler(){g(it,this)&&it.splice(it.indexOf(this),1),h(this.$el,"zIndex",""),it.some(t=>t.clsPage===this.clsPage)||B(document.documentElement,this.clsPage)}}],methods:{toggle(){return this.isToggled()?this.hide():this.show()},show(){return this.container&&E(this.$el)!==this.container?(L(this.container,this.$el),new Promise(t=>requestAnimationFrame(()=>this.show().then(t)))):this.toggleElement(this.$el,!0,nn)},hide(){return this.toggleElement(this.$el,!1,nn)}}};function nn(t,e,{transitionElement:i,_toggle:s}){return new Promise((n,o)=>z(t,"show hide",()=>{t._reject==null||t._reject(),t._reject=o,s(t,e);const r=z(i,"transitionstart",()=>{z(i,"transitionend transitioncancel",n,{self:!0}),clearTimeout(a)},{self:!0}),a=setTimeout(()=>{r(),n()},Sr(h(i,"transitionDuration")))})).then(()=>delete t._reject)}function Sr(t){return t?Xt(t,"ms")?$(t):$(t)*1e3:0}function on(t){if(CSS.supports("overscroll-behavior","contain")){const s=[t,...Tr(t,n=>/auto|scroll/.test(h(n,"overflow")))];return h(s,"overscrollBehavior","contain"),()=>h(s,"overscrollBehavior","")}let e;const i=[S(t,"touchstart",({targetTouches:s})=>{s.length===1&&(e=s[0].clientY)},{passive:!0}),S(t,"touchmove",s=>{if(s.targetTouches.length!==1)return;let[n]=Q(s.target,/auto|scroll/);_(n,t)||(n=t);const o=s.targetTouches[0].clientY-e,{scrollTop:r,scrollHeight:a,clientHeight:l}=n;(l>=a||r===0&&o>0||a-r<=l&&o<0)&&s.cancelable&&s.preventDefault()},{passive:!1})];return()=>i.forEach(s=>s())}let Qi;function rn(){if(Qi)return C;Qi=!0;const{scrollingElement:t}=document;return h(t,{overflowY:"hidden",touchAction:"none",paddingRight:ke(window)-t.clientWidth}),()=>{Qi=!1,h(t,{overflowY:"",touchAction:"",paddingRight:""})}}function Tr(t,e){const i=[];return mt(t,s=>{e(s)&&i.push(s)}),i}function Ui(t){return["origin","pathname","search"].every(e=>t[e]===location[e])}let V;var an={mixins:[he,_e,sn,At],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({boundary:t,boundaryX:e,boundaryY:i},s){return[ht(e||t,s)||window,ht(i||t,s)||window]},target({target:t,targetX:e,targetY:i},s){return e=e||t||this.targetEl,i=i||t||this.targetEl,[e===!0?window:ht(e,s),i===!0?window:ht(i,s)]}},created(){this.tracker=new ji},beforeConnect(){this.clsDrop=this.$props.clsDrop||`uk-${this.$options.name}`},connected(){x(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,b(this.targetEl,"aria-haspopup",!0),this.lazyload(this.targetEl)),this._style=(({width:t,height:e})=>({width:t,height:e}))(this.$el.style)},disconnected(){this.isActive()&&(this.hide(!1),V=null),h(this.$el,this._style)},events:[{name:"click",delegate(){return`.${this.clsDrop}-close`},handler(t){t.preventDefault(),this.hide(!1)}},{name:"click",delegate(){return'a[href*="#"]'},handler({defaultPrevented:t,current:e}){const{hash:i}=e;!t&&i&&Ui(e)&&!_(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(),H(this.$el,":focus,:hover")||this.hide()}},{name:`${jt} focusin`,filter(){return g(this.mode,"hover")},handler(t){yt(t)||this.clearTimers()}},{name:`${re} focusout`,filter(){return g(this.mode,"hover")},handler(t){!yt(t)&&t.relatedTarget&&this.hide()}},{name:"toggled",self:!0,handler(t,e){!e||(this.clearTimers(),this.position())}},{name:"show",self:!0,handler(){V=this,this.tracker.init();const t=()=>this.$emit(),e=[S(document,gt,({target:i})=>!_(i,this.$el)&&z(document,`${Pt} ${Ue} scroll`,({defaultPrevented:s,type:n,target:o})=>{!s&&n===Pt&&i===o&&!(this.targetEl&&_(i,this.targetEl))&&this.hide(!1)},!0)),S(document,"keydown",i=>{i.keyCode===27&&this.hide(!1)}),S(window,"resize",t),(()=>{const i=Te(Q(this.$el).concat(this.target),t);return()=>i.disconnect()})(),...this.autoUpdate?[S([document,Q(this.$el)],"scroll",t,{passive:!0})]:[],...this.bgScroll?[]:[on(this.$el),rn()]];z(this.$el,"hide",()=>e.forEach(i=>i()),{self:!0})}},{name:"beforehide",self:!0,handler(){this.clearTimers()}},{name:"hide",handler({target:t}){if(this.$el!==t){V=V===null&&_(t,this.$el)&&this.isToggled()?this:V;return}V=this.isActive()?null:V,this.tracker.cancel()}}],update:{write(){this.isToggled()&&!A(this.$el,this.clsEnter)&&this.position()}},methods:{show(t=this.targetEl,e=!0){if(this.isToggled()&&t&&this.targetEl&&t!==this.targetEl&&this.hide(!1,!1),this.targetEl=t,this.clearTimers(),!this.isActive()){if(V){if(e&&V.isDelaying){this.showTimer=setTimeout(()=>H(t,":hover")&&this.show(),10);return}let i;for(;V&&i!==V&&!_(this.$el,V.$el);)i=V,V.hide(!1,!1)}this.container&&E(this.$el)!==this.container&&L(this.container,this.$el),this.showTimer=setTimeout(()=>this.toggleElement(this.$el,!0),e&&this.delayShow||0)}},hide(t=!0,e=!0){const i=()=>this.toggleElement(this.$el,!1,this.animateOut&&e);this.clearTimers(),this.isDelaying=Cr(this.$el).some(s=>this.tracker.movesTo(s)),t&&this.isDelaying?this.hideTimer=setTimeout(this.hide,50):t&&this.delayHide?this.hideTimer=setTimeout(i,this.delayHide):i()},clearTimers(){clearTimeout(this.showTimer),clearTimeout(this.hideTimer),this.showTimer=null,this.hideTimer=null,this.isDelaying=!1},isActive(){return V===this},position(){B(this.$el,`${this.clsDrop}-stack`),h(this.$el,this._style),this.$el.hidden=!0;const t=this.target.map(n=>Ir(this.$el,n)),e=this.getViewportOffset(this.$el),i=[[0,["x","width","left","right"]],[1,["y","height","top","bottom"]]];for(const[n,[o,r]]of i)this.axis!==o&&g([o,!0],this.stretch)&&h(this.$el,{[r]:Math.min(I(this.boundary[n])[r],t[n][r]-2*e),[`overflow-${o}`]:"auto"});const s=t[0].width-2*e;this.$el.offsetWidth>s&&x(this.$el,`${this.clsDrop}-stack`),h(this.$el,"maxWidth",s),this.$el.hidden=!1,this.positionAt(this.$el,this.target,this.boundary);for(const[n,[o,r,a,l]]of i)if(this.axis===o&&g([o,!0],this.stretch)){const c=Math.abs(this.getPositionOffset(this.$el)),u=I(this.target[n]),d=I(this.$el);h(this.$el,{[r]:(u[a]>d[a]?u[a]-Math.max(I(this.boundary[n])[a],t[n][a]+e):Math.min(I(this.boundary[n])[l],t[n][l]-e)-u[l])-c,[`overflow-${o}`]:"auto"}),this.positionAt(this.$el,this.target,this.boundary)}}}};function Cr(t){const e=[];return mt(t,i=>h(i,"position")!=="static"&&e.push(i)),e}function Ir(t,e){return rt(Q(e).find(i=>_(t,i)))}var _r={mixins:[et],args:"target",props:{target:Boolean},data:{target:!1},computed:{input(t,e){return v(we,e)},state(){return this.input.nextElementSibling},target({target:t},e){return t&&(t===!0&&E(this.input)===e&&this.input.nextElementSibling||v(t,e))}},update(){var t;const{target:e,input:i}=this;if(!e)return;let s;const n=Ai(e)?"value":"textContent",o=e[n],r=(t=i.files)!=null&&t[0]?i.files[0].name:H(i,"select")&&(s=N("option",i).filter(a=>a.selected)[0])?s.textContent:i.value;o!==r&&(e[n]=r)},events:[{name:"change",handler(){this.$emit()}},{name:"reset",el(){return U(this.$el,"form")},handler(){this.$emit()}}]},ln={mixins:[vt],props:{margin:String,firstColumn:Boolean},data:{margin:"uk-margin-small-top",firstColumn:"uk-first-column"},resizeTargets(){return[this.$el,...ki(this.$el.children)]},connected(){this.registerObserver(As(this.$el,()=>this.$reset(),{childList:!0,attributes:!0,attributeFilter:["style"]}))},update:{read(){const t=ts(this.$el.children);return{rows:t,columns:Pr(t)}},write({columns:t,rows:e}){for(const i of e)for(const s of i)W(s,this.margin,e[0]!==i),W(s,this.firstColumn,t[0].includes(s))},events:["resize"]}};function ts(t){return hn(t,"top","bottom")}function Pr(t){const e=[];for(const i of t){const s=hn(i,"left","right");for(let n=0;n<s.length;n++)e[n]=e[n]?e[n].concat(s[n]):s[n]}return Y?e.reverse():e}function hn(t,e,i){const s=[[]];for(const n of t){if(!R(n))continue;let o=oi(n);for(let r=s.length-1;r>=0;r--){const a=s[r];if(!a[0]){a.push(n);break}let l;if(a[0].offsetParent===n.offsetParent?l=oi(a[0]):(o=oi(n,!0),l=oi(a[0],!0)),o[e]>=l[i]-1&&o[e]!==l[e]){s.push([n]);break}if(o[i]-1>l[e]||o[e]===l[e]){a.push(n);break}if(r===0){s.unshift([n]);break}}}return s}function oi(t,e=!1){let{offsetTop:i,offsetLeft:s,offsetHeight:n,offsetWidth:o}=t;return e&&([i,s]=Lt(t)),{top:i,left:s,bottom:i+n,right:s+o}}var ri={connected(){cn(this._uid,()=>this.$emit("scroll"))},disconnected(){un(this._uid)}};const ai=new Map;let Pe;function cn(t,e){Pe=Pe||S(window,"scroll",()=>ai.forEach(i=>i()),{passive:!0,capture:!0}),ai.set(t,e)}function un(t){ai.delete(t),Pe&&!ai.size&&(Pe(),Pe=null)}var Er={extends:ln,mixins:[et],name:"grid",props:{masonry:Boolean,parallax:Number},data:{margin:"uk-grid-margin",clsStack:"uk-grid-stack",masonry:!1,parallax:0},connected(){this.masonry&&x(this.$el,"uk-flex-top uk-flex-wrap-top"),this.parallax&&cn(this._uid,()=>this.$emit("scroll"))},disconnected(){un(this._uid)},update:[{write({columns:t}){W(this.$el,this.clsStack,t.length<2)},events:["resize"]},{read(t){let{columns:e,rows:i}=t;if(!e.length||!this.masonry&&!this.parallax||dn(this.$el))return t.translates=!1,!1;let s=!1;const n=P(this.$el),o=e.map(c=>Dt(c,"offsetHeight")),r=Or(n,this.margin)*(i.length-1),a=Math.max(...o)+r;this.masonry&&(e=e.map(c=>Fe(c,"offsetTop")),s=Ar(i,e));let l=Math.abs(this.parallax);return l&&(l=o.reduce((c,u,d)=>Math.max(c,u+r+(d%2?l:l/8)-a),0)),{padding:l,columns:e,translates:s,height:s?a:""}},write({height:t,padding:e}){h(this.$el,"paddingBottom",e||""),t!==!1&&h(this.$el,"height",t)},events:["resize"]},{read(){return this.parallax&&dn(this.$el)?!1:{scrolled:this.parallax?Xi(this.$el)*Math.abs(this.parallax):!1}},write({columns:t,scrolled:e,translates:i}){e===!1&&!i||t.forEach((s,n)=>s.forEach((o,r)=>h(o,"transform",!e&&!i?"":`translateY(${(i&&-i[n][r])+(e?n%2?e:e/8:0)}px)`)))},events:["scroll","resize"]}]};function dn(t){return P(t).some(e=>h(e,"position")==="absolute")}function Ar(t,e){const i=t.map(s=>Math.max(...s.map(n=>n.offsetHeight)));return e.map(s=>{let n=0;return s.map((o,r)=>n+=r?i[r-1]-s[r-1].offsetHeight:0)})}function Or(t,e){const[i]=t.filter(s=>A(s,e));return $(i?h(i,"marginTop"):h(t[0],"paddingLeft"))}var Br={mixins:[vt],args:"target",props:{target:String,row:Boolean},data:{target:"> *",row:!0},computed:{elements:{get({target:t},e){return N(t,e)},watch(){this.$reset()}}},resizeTargets(){return[this.$el,...this.elements]},update:{read(){return{rows:(this.row?ts(this.elements):[this.elements]).map(Mr)}},write({rows:t}){for(const{heights:e,elements:i}of t)i.forEach((s,n)=>h(s,"minHeight",e[n]))},events:["resize"]}};function Mr(t){if(t.length<2)return{heights:[""],elements:t};h(t,"minHeight","");let e=t.map(Dr);const i=Math.max(...e);return{heights:t.map((s,n)=>e[n].toFixed(2)===i.toFixed(2)?"":i),elements:t}}function Dr(t){let e=!1;R(t)||(e=t.style.display,h(t,"display","block","important"));const i=w(t).height-se(t,"height","content-box");return e!==!1&&h(t,"display",e),i}var zr={mixins:[vt],props:{expand:Boolean,offsetTop:Boolean,offsetBottom:Boolean,minHeight:Number},data:{expand:!1,offsetTop:!1,offsetBottom:!1,minHeight:0},resizeTargets(){return[this.$el,...Q(this.$el,/auto|scroll/)]},update:{read({minHeight:t}){if(!R(this.$el))return!1;let e="";const i=se(this.$el,"height","content-box"),{body:s,scrollingElement:n}=document,[o]=Q(this.$el,/auto|scroll/),{height:r}=rt(o===s?n:o);if(this.expand)e=Math.max(r-(w(o).height-w(this.$el).height)-i,0);else{const a=n===o||s===o;if(e=`calc(${a?"100vh":`${r}px`}`,this.offsetTop)if(a){const l=Lt(this.$el)[0]-Lt(o)[0];e+=l>0&&l<r/2?` - ${l}px`:""}else e+=` - ${h(o,"paddingTop")}`;this.offsetBottom===!0?e+=` - ${w(this.$el.nextElementSibling).height}px`:Mt(this.offsetBottom)?e+=` - ${this.offsetBottom}vh`:this.offsetBottom&&Xt(this.offsetBottom,"px")?e+=` - ${$(this.offsetBottom)}px`:D(this.offsetBottom)&&(e+=` - ${w(ht(this.offsetBottom,this.$el)).height}px`),e+=`${i?` - ${i}px`:""})`}return{minHeight:e,prev:t}},write({minHeight:t}){h(this.$el,{minHeight:t}),this.minHeight&&$(h(this.$el,"minHeight"))<this.minHeight&&h(this.$el,"minHeight",this.minHeight)},events:["resize"]}},fn={args:"src",props:{id:Boolean,icon:String,src:String,style:String,width:Number,height:Number,ratio:Number,class:String,strokeAnimation:Boolean,attributes:"list"},data:{ratio:1,include:["style","class"],class:"",strokeAnimation:!1},beforeConnect(){this.class+=" uk-svg"},connected(){!this.icon&&g(this.src,"#")&&([this.src,this.icon]=this.src.split("#")),this.svg=this.getSvg().then(t=>{if(this._connected){const e=Lr(t,this.$el);return this.svgEl&&e!==this.svgEl&&nt(this.svgEl),this.applyAttributes(e,t),this.svgEl=e}},C),this.strokeAnimation&&this.svg.then(t=>{this._connected&&(gn(t),this.registerObserver(ae(t,(e,i)=>{gn(t),i.disconnect()})))})},disconnected(){this.svg.then(t=>{this._connected||(Ei(this.$el)&&(this.$el.hidden=!1),nt(t),this.svgEl=null)}),this.svg=null},methods:{async getSvg(){return ct(this.$el,"img")&&!this.$el.complete&&this.$el.loading==="lazy"?new Promise(t=>z(this.$el,"load",()=>t(this.getSvg()))):Hr(await Nr(this.src),this.icon)||Promise.reject("SVG not found.")},applyAttributes(t,e){for(const o in this.$options.props)g(this.include,o)&&o in this&&b(t,o,this[o]);for(const o in this.attributes){const[r,a]=this.attributes[o].split(":",2);b(t,r,a)}this.id||ve(t,"id");const i=["width","height"];let s=i.map(o=>this[o]);s.some(o=>o)||(s=i.map(o=>b(e,o)));const n=b(e,"viewBox");n&&!s.some(o=>o)&&(s=n.split(" ").slice(2)),s.forEach((o,r)=>b(t,i[r],$(o)*this.ratio||null))}}};const Nr=ft(async t=>t?lt(t,"data:")?decodeURIComponent(t.split(",")[1]):(await fetch(t)).text():Promise.reject());function Hr(t,e){var i;return e&&g(t,"<symbol")&&(t=Fr(t,e)||t),t=v(t.substr(t.indexOf("<svg"))),((i=t)==null?void 0:i.hasChildNodes())&&t}const pn=/<symbol([^]*?id=(['"])(.+?)\2[^]*?<\/)symbol>/g,li={};function Fr(t,e){if(!li[t]){li[t]={},pn.lastIndex=0;let i;for(;i=pn.exec(t);)li[t][i[3]]=`<svg xmlns="http://www.w3.org/2000/svg"${i[1]}svg>`}return li[t][e]}function gn(t){const e=mn(t);e&&t.style.setProperty("--uk-animation-stroke",e)}function mn(t){return Math.ceil(Math.max(0,...N("[stroke]",t).map(e=>{try{return e.getTotalLength()}catch{return 0}})))}function Lr(t,e){if(Ei(e)||ct(e,"canvas")){e.hidden=!0;const s=e.nextElementSibling;return vn(t,s)?s:Ge(e,t)}const i=e.lastElementChild;return vn(t,i)?i:L(e,t)}function vn(t,e){return ct(t,"svg")&&ct(e,"svg")&&t.innerHTML===e.innerHTML}var Wr='<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>',Rr='<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>',jr='<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>',qr='<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>',Vr='<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>',Yr='<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>',Gr='<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><style>.uk-navbar-toggle-animate svg>[class*=line-]{transition:.2s ease-in-out;transition-property:transform,opacity;transform-origin:center;opacity:1}.uk-navbar-toggle svg>.line-3{opacity:0}.uk-navbar-toggle-animate[aria-expanded=true] svg>.line-3{opacity:1}.uk-navbar-toggle-animate[aria-expanded=true] svg>.line-2{transform:rotate(45deg)}.uk-navbar-toggle-animate[aria-expanded=true] svg>.line-3{transform:rotate(-45deg)}.uk-navbar-toggle-animate[aria-expanded=true] svg>.line-1,.uk-navbar-toggle-animate[aria-expanded=true] svg>.line-4{opacity:0}.uk-navbar-toggle-animate[aria-expanded=true] svg>.line-1{transform:translateY(6px) scaleX(0)}.uk-navbar-toggle-animate[aria-expanded=true] svg>.line-4{transform:translateY(-6px) scaleX(0)}</style><rect class="line-1" y="3" width="20" height="2"/><rect class="line-2" y="9" width="20" height="2"/><rect class="line-3" y="9" width="20" height="2"/><rect class="line-4" y="15" width="20" height="2"/></svg>',Xr='<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>',Jr='<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>',Kr='<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>',Zr='<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>',Qr='<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>',Ur='<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>',ta='<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>',ea='<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>',ia='<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>',sa='<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>',na='<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>',oa='<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 hi={spinner:na,totop:oa,marker:jr,"close-icon":Wr,"close-large":Rr,"nav-parent-icon":qr,"nav-parent-icon-large":Vr,"navbar-parent-icon":Yr,"navbar-toggle-icon":Gr,"overlay-icon":Xr,"pagination-next":Jr,"pagination-previous":Kr,"search-icon":Zr,"search-large":Qr,"search-navbar":Ur,"slidenav-next":ta,"slidenav-next-large":ea,"slidenav-previous":ia,"slidenav-previous-large":sa},es={install:ca,extends:fn,args:"icon",props:["icon"],data:{include:[]},isIcon:!0,beforeConnect(){x(this.$el,"uk-icon")},methods:{async getSvg(){const t=ua(this.icon);if(!t)throw"Icon not found.";return t}}},ut={args:!1,extends:es,data:t=>({icon:Gt(t.constructor.options.name)}),beforeConnect(){x(this.$el,this.$options.id)}},ra={extends:ut,beforeConnect(){const t=this.$props.icon;this.icon=U(this.$el,".uk-nav-primary")?`${t}-large`:t}},wn={extends:ut,beforeConnect(){x(this.$el,"uk-slidenav");const t=this.$props.icon;this.icon=A(this.$el,"uk-slidenav-large")?`${t}-large`:t}},aa={extends:ut,beforeConnect(){this.icon=A(this.$el,"uk-search-icon")&&te(this.$el,".uk-search-large").length?"search-large":te(this.$el,".uk-search-navbar").length?"search-navbar":this.$props.icon}},la={extends:ut,beforeConnect(){this.icon=`close-${A(this.$el,"uk-close-large")?"large":"icon"}`}},ha={extends:ut,methods:{async getSvg(){const t=await es.methods.getSvg.call(this);return this.ratio!==1&&h(v("circle",t),"strokeWidth",1/this.ratio),t}}},ci={};function ca(t){t.icon.add=(e,i)=>{const s=D(e)?{[e]:i}:e;xt(s,(n,o)=>{hi[o]=n,delete ci[o]}),t._initialized&&mt(document.body,n=>xt(t.getComponents(n),o=>{o.$options.isIcon&&o.icon in s&&o.$reset()}))}}function ua(t){return hi[t]?(ci[t]||(ci[t]=v((hi[da(t)]||hi[t]).trim())),ci[t].cloneNode(!0)):null}function da(t){return Y?Ii(Ii(t,"left","right"),"previous","next"):t}const fa=Wt&&"loading"in HTMLImageElement.prototype;var pa={args:"dataSrc",props:{dataSrc:String,sources:String,margin:String,target:String,loading:String},data:{dataSrc:"",sources:!1,margin:"50%",target:!1,loading:"lazy"},connected(){if(this.loading!=="lazy"){this.load();return}const t=[this.$el,...$e(this.$props.target,this.$el)];fa&&ui(this.$el)&&(this.$el.loading="lazy",is(this.$el),t.length===1)||($a(this.$el),this.registerObserver(ae(t,(e,i)=>{this.load(),i.disconnect()},{rootMargin:this.margin})))},disconnected(){this._data.image&&(this._data.image.onload="")},methods:{load(){if(this._data.image)return this._data.image;const t=ui(this.$el)?this.$el:ma(this.$el,this.dataSrc,this.sources);return ve(t,"loading"),is(this.$el,t.currentSrc),this._data.image=t}}};function is(t,e){if(ui(t)){const i=E(t);(ba(i)?P(i):[t]).forEach(n=>$n(n,n))}else e&&!g(t.style.backgroundImage,e)&&(h(t,"backgroundImage",`url(${Bi(e)})`),m(t,Nt("load",!1)))}const ga=["data-src","data-srcset","sizes"];function $n(t,e){ga.forEach(i=>{const s=st(t,i);s&&b(e,i.replace(/^(data-)+/,""),s)})}function ma(t,e,i){const s=new Image;return va(s,i),$n(t,s),s.onload=()=>{is(t,s.currentSrc)},b(s,"src",e),s}function va(t,e){if(e=wa(e),e.length){const i=Ht("<picture>");for(const s of e){const n=Ht("<source>");b(n,s),L(i,n)}L(i,t)}}function wa(t){if(!t)return[];if(lt(t,"["))try{t=JSON.parse(t)}catch{t=[]}else t=Ie(t);return J(t)||(t=[t]),t.filter(e=>!ge(e))}function $a(t){ui(t)&&!It(t,"src")&&b(t,"src",'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg"></svg>')}function ba(t){return ct(t,"picture")}function ui(t){return ct(t,"img")}var di={props:{media:Boolean},data:{media:!1},connected(){const t=xa(this.media,this.$el);if(this.matchMedia=!0,t){this.mediaObj=window.matchMedia(t);const e=()=>{this.matchMedia=this.mediaObj.matches,m(this.$el,Nt("mediachange",!1,!0,[this.mediaObj]))};this.offMediaObj=S(this.mediaObj,"change",()=>{e(),this.$emit("resize")}),e()}},disconnected(){var t;(t=this.offMediaObj)==null||t.call(this)}};function xa(t,e){if(D(t)){if(lt(t,"@"))t=$(h(e,`--uk-breakpoint-${t.substr(1)}`));else if(isNaN(t))return t}return t&&Mt(t)?`(min-width: ${t}px)`:""}var ya={mixins:[et,di,vt],props:{fill:String},data:{fill:"",clsWrapper:"uk-leader-fill",clsHide:"uk-leader-hide",attrFill:"data-fill"},computed:{fill({fill:t}){return t||h(this.$el,"--uk-leader-fill-content")}},connected(){[this.wrapper]=Li(this.$el,`<span class="${this.clsWrapper}">`)},disconnected(){ye(this.wrapper.childNodes)},update:{read(){return{width:Math.trunc(this.$el.offsetWidth/2),fill:this.fill,hide:!this.matchMedia}},write({width:t,fill:e,hide:i}){W(this.wrapper,this.clsHide,i),b(this.wrapper,this.attrFill,new Array(t).join(e))},events:["resize"]}},ka={install:Sa,mixins:[Zi],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(){A(this.panel,"uk-margin-auto-vertical")?x(this.$el,"uk-flex"):h(this.$el,"display","block"),Z(this.$el)}},{name:"hidden",self:!0,handler(){h(this.$el,"display",""),B(this.$el,"uk-flex")}}]};function Sa({modal:t}){t.dialog=function(i,s){const n=t(`<div class="uk-modal"> <div class="uk-modal-dialog">${i}</div> </div>`,s);return n.show(),S(n.$el,"hidden",async()=>{await Promise.resolve(),n.$destroy(!0)},{self:!0}),n},t.alert=function(i,s){return e(({labels:n})=>`<div class="uk-modal-body">${D(i)?i:_t(i)}</div> <div class="uk-modal-footer uk-text-right"> <button class="uk-button uk-button-primary uk-modal-close" autofocus>${n.ok}</button> </div>`,s,n=>n.resolve())},t.confirm=function(i,s){return e(({labels:n})=>`<form> <div class="uk-modal-body">${D(i)?i:_t(i)}</div> <div class="uk-modal-footer uk-text-right"> <button class="uk-button uk-button-default uk-modal-close" type="button">${n.cancel}</button> <button class="uk-button uk-button-primary" autofocus>${n.ok}</button> </div> </form>`,s,n=>n.reject())},t.prompt=function(i,s,n){return e(({labels:o})=>`<form class="uk-form-stacked"> <div class="uk-modal-body"> <label>${D(i)?i:_t(i)}</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">${o.cancel}</button> <button class="uk-button uk-button-primary">${o.ok}</button> </div> </form>`,n,o=>o.resolve(null),o=>v("input",o.$el).value)},t.labels={ok:"Ok",cancel:"Cancel"};function e(i,s,n,o){s={bgClose:!1,escClose:!0,labels:t.labels,...s};const r=t.dialog(i(s),s),a=new Re;let l=!1;return S(r.$el,"submit","form",c=>{c.preventDefault(),a.resolve(o==null?void 0:o(r)),l=!0,r.hide()}),S(r.$el,"hide",()=>!l&&n(a)),a.promise.dialog=r,a.promise}}var Ta={extends:Us,data:{targets:"> .uk-parent",toggle:"> a",content:"> ul"}},Ca={mixins:[et,he],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:Y?"right":"left",clsDrop:"uk-navbar-dropdown",boundary:!0,dropbar:!1,dropbarAnchor:!1,duration:200,container:!1},computed:{dropbarAnchor({dropbarAnchor:t},e){return ht(t,e)||e},dropbar:{get({dropbar:t}){return t?(t=this._dropbar||ht(t,this.$el)||v("+ .uk-navbar-dropbar",this.$el),t||(this._dropbar=v("<div></div>"))):null},watch(t){x(t,"uk-dropbar","uk-dropbar-top","uk-navbar-dropbar")},immediate:!0},dropContainer(t,e){return this.container||e},dropdowns:{get({clsDrop:t},e){const i=N(`.${t}`,e);if(this.dropContainer!==e)for(const n of N(`.${t}`,this.dropContainer)){var s;const o=(s=this.getDropdown(n))==null?void 0:s.targetEl;!g(i,n)&&o&&_(o,this.$el)&&i.push(n)}return i},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({dropdown:t},e){return N(t,e)},watch(){const t=A(this.$el,"uk-navbar-justify");for(const e of N(".uk-navbar-nav, .uk-navbar-left, .uk-navbar-right",this.$el))h(e,"flexGrow",t?N(this.dropdown,e).length:"")},immediate:!0}},disconnected(){this.dropbar&&nt(this.dropbar),delete this._dropbar},events:[{name:"mouseover focusin",delegate(){return this.dropdown},handler({current:t}){const e=this.getActive();e&&g(e.mode,"hover")&&e.targetEl&&!_(e.targetEl,t)&&!e.isDelaying&&e.hide(!1)}},{name:"keydown",delegate(){return this.dropdown},handler(t){const{current:e,keyCode:i}=t,s=this.getActive();i===qt.DOWN&&It(e,"aria-expanded")&&(t.preventDefault(),!s||s.targetEl!==e?(e.click(),z(this.dropContainer,"show",({target:n})=>xn(n))):xn(s.$el)),bn(t,this.toggles,s)}},{name:"keydown",el(){return this.dropContainer},delegate(){return`.${this.clsDrop}`},handler(t){const{current:e,keyCode:i}=t;if(!g(this.dropdowns,e))return;const s=this.getActive(),n=N(je,e),o=wt(n,a=>H(a,":focus"));if(i===qt.UP&&(t.preventDefault(),o>0&&n[o-1].focus()),i===qt.DOWN&&(t.preventDefault(),o<n.length-1&&n[o+1].focus()),i===qt.ESC){var r;(r=s.targetEl)==null||r.focus()}bn(t,this.toggles,s)}},{name:"mouseleave",el(){return this.dropbar},filter(){return this.dropbar},handler(){const t=this.getActive();t&&g(t.mode,"hover")&&!this.dropdowns.some(e=>H(e,":hover"))&&t.hide()}},{name:"beforeshow",el(){return this.dropContainer},filter(){return this.dropbar},handler({target:t}){!this.isDropbarDrop(t)||(this.dropbar.previousElementSibling!==this.dropbarAnchor&&Ge(this.dropbarAnchor,this.dropbar),x(t,`${this.clsDrop}-dropbar`))}},{name:"show",el(){return this.dropContainer},filter(){return this.dropbar},handler({target:t}){if(!this.isDropbarDrop(t))return;const e=this.getDropdown(t);this._observer=Te([e.$el,...e.target],()=>{const i=te(t,`.${this.clsDrop}`).concat(t).map(r=>I(r)),s=Math.min(...i.map(({top:r})=>r)),n=Math.max(...i.map(({bottom:r})=>r)),o=I(this.dropbar);h(this.dropbar,"top",this.dropbar.offsetTop-(o.top-s)),this.transitionTo(n-s+$(h(t,"marginBottom")),t)})}},{name:"beforehide",el(){return this.dropContainer},filter(){return this.dropbar},handler(t){const e=this.getActive();H(this.dropbar,":hover")&&e.$el===t.target&&!this.toggles.some(i=>e.targetEl!==i&&H(i,":focus"))&&t.preventDefault()}},{name:"hide",el(){return this.dropContainer},filter(){return this.dropbar},handler({target:t}){var e;if(!this.isDropbarDrop(t))return;(e=this._observer)==null||e.disconnect();const i=this.getActive();(!i||i.$el===t)&&this.transitionTo(0)}}],methods:{getActive(){return g(this.dropdowns,V==null?void 0:V.$el)&&V},transitionTo(t,e){const{dropbar:i}=this,s=Z(i);e=s<t&&e,h(e,"clipPath",`polygon(0 0,100% 0,100% ${s}px,0 ${s}px)`),Z(i,s),T.cancel([e,i]),Promise.all([T.start(i,{height:t},this.duration),T.start(e,{clipPath:`polygon(0 0,100% 0,100% ${t}px,0 ${t}px)`},this.duration)]).catch(C).then(()=>h(e,{clipPath:""}))},getDropdown(t){return this.$getComponent(t,"drop")||this.$getComponent(t,"dropdown")},isDropbarDrop(t){return this.getDropdown(t)&&A(t,this.clsDrop)}}};function bn(t,e,i){const{current:s,keyCode:n}=t,o=i.targetEl||s,r=e.indexOf(o);n===qt.LEFT&&r>0&&(i.hide==null||i.hide(!1),e[r-1].focus()),n===qt.RIGHT&&r<e.length-1&&(i.hide==null||i.hide(!1),e[r+1].focus()),n===qt.TAB&&(o.focus(),i.hide==null||i.hide(!1))}function xn(t){if(!v(":focus",t)){var e;(e=v(je,t))==null||e.focus()}}const qt={TAB:9,ESC:27,LEFT:37,UP:38,RIGHT:39,DOWN:40};var yn={props:{swiping:Boolean},data:{swiping:!0},computed:{swipeTarget(t,e){return e}},connected(){!this.swiping||si(this,{el:this.swipeTarget,name:gt,passive:!0,handler(t){if(!yt(t))return;const e=ie(t),i="tagName"in t.target?t.target:E(t.target);z(document,`${Pt} ${Ue} scroll`,s=>{const{x:n,y:o}=ie(s);(s.type!=="scroll"&&i&&n&&Math.abs(e.x-n)>100||o&&Math.abs(e.y-o)>100)&&setTimeout(()=>{m(i,"swipe"),m(i,`swipe${Ia(e.x,e.y,n,o)}`)})})}})}};function Ia(t,e,i,s){return Math.abs(t-i)>=Math.abs(e-s)?t-i>0?"Left":"Right":e-s>0?"Up":"Down"}var _a={mixins:[Zi,yn],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({flip:t,clsFlip:e}){return t?e:""},clsOverlay({overlay:t,clsOverlay:e}){return t?e:""},clsMode({mode:t,clsMode:e}){return`${e}-${t}`},clsSidebarAnimation({mode:t,clsSidebarAnimation:e}){return t==="none"||t==="reveal"?"":e},clsContainerAnimation({mode:t,clsContainerAnimation:e}){return t!=="push"&&t!=="reveal"?"":e},transitionElement({mode:t}){return t==="reveal"?E(this.panel):this.panel}},update:{read(){this.isToggled()&&!R(this.$el)&&this.hide()},events:["resize"]},events:[{name:"touchmove",self:!0,passive:!1,filter(){return this.overlay},handler(t){t.cancelable&&t.preventDefault()}},{name:"show",self:!0,handler(){this.mode==="reveal"&&!A(E(this.panel),this.clsMode)&&(Je(this.panel,"<div>"),x(E(this.panel),this.clsMode));const{body:t,scrollingElement:e}=document;x(t,this.clsContainer,this.clsFlip),h(t,"touch-action","pan-y pinch-zoom"),h(this.$el,"display","block"),h(this.panel,"maxWidth",e.clientWidth),x(this.$el,this.clsOverlay),x(this.panel,this.clsSidebarAnimation,this.mode==="reveal"?"":this.clsMode),Z(t),x(t,this.clsContainerAnimation),this.clsContainerAnimation&&Pa()}},{name:"hide",self:!0,handler(){B(document.body,this.clsContainerAnimation),h(document.body,"touch-action","")}},{name:"hidden",self:!0,handler(){this.clsContainerAnimation&&Ea(),this.mode==="reveal"&&ye(this.panel),B(this.panel,this.clsSidebarAnimation,this.clsMode),B(this.$el,this.clsOverlay),h(this.$el,"display",""),h(this.panel,"maxWidth",""),B(document.body,this.clsContainer,this.clsFlip)}},{name:"swipeLeft swipeRight",handler(t){this.isToggled()&&Xt(t.type,"Left")^this.flip&&this.hide()}}]};function Pa(){kn().content+=",user-scalable=0"}function Ea(){const t=kn();t.content=t.content.replace(/,user-scalable=0$/,"")}function kn(){return v('meta[name="viewport"]',document.head)||L(document.head,'<meta name="viewport">')}var Aa={mixins:[et,vt],props:{selContainer:String,selContent:String,minHeight:Number},data:{selContainer:".uk-modal",selContent:".uk-modal-dialog",minHeight:150},computed:{container({selContainer:t},e){return U(e,t)},content({selContent:t},e){return U(e,t)}},resizeTargets(){return[this.container,this.content]},update:{read(){return!this.content||!this.container||!R(this.$el)?!1:{max:Math.max(this.minHeight,Z(this.container)-(w(this.content).height-Z(this.$el)))}},write({max:t}){h(this.$el,{minHeight:this.minHeight,maxHeight:t})},events:["resize"]}},Oa={mixins:[vt],props:["width","height"],resizeTargets(){return[this.$el,E(this.$el)]},connected(){x(this.$el,"uk-responsive-width")},update:{read(){return R(this.$el)&&this.width&&this.height?{width:ke(E(this.$el)),height:this.height}:!1},write(t){Z(this.$el,We.contain({height:this.height,width:this.width},t).height)},events:["resize"]}},Ba={props:{offset:Number},data:{offset:0},connected(){Ma(this)},disconnected(){Da(this)},methods:{async scrollTo(t){t=t&&v(t)||document.body,m(this.$el,"beforescroll",[this,t])&&(await Ws(t,{offset:this.offset}),m(this.$el,"scrolled",[this,t]))}}};const Ee=new Set;function Ma(t){Ee.size||S(document,"click",Sn),Ee.add(t)}function Da(t){Ee.delete(t),Ee.size||zt(document,"click",Sn)}function Sn(t){if(!t.defaultPrevented)for(const e of Ee)_(t.target,e.$el)&&Tn(e.$el)&&(t.preventDefault(),e.scrollTo(Cn(e.$el)))}function Tn(t){return["origin","pathname","search"].every(e=>location[e]===t[e])}function Cn(t){if(Tn(t))return document.getElementById(decodeURIComponent(t.hash).substring(1))}var za={mixins:[ri],args:"cls",props:{cls:String,target:String,hidden:Boolean,margin:String,repeat:Boolean,delay:Number},data:()=>({cls:"",target:!1,hidden:!0,margin:"-1px",repeat:!1,delay:0,inViewClass:"uk-scrollspy-inview"}),computed:{elements:{get({target:t},e){return t?N(t,e):[e]},watch(t,e){this.hidden&&h(Ve(t,`:not(.${this.inViewClass})`),"opacity",0),me(t,e)||this.$reset()},immediate:!0}},connected(){this._data.elements=new Map,this.registerObserver(ae(this.elements,t=>{const e=this._data.elements;for(const{target:i,isIntersecting:s}of t){e.has(i)||e.set(i,{cls:st(i,"uk-scrollspy-class")||this.cls});const n=e.get(i);!this.repeat&&n.show||(n.show=s)}this.$emit()},{rootMargin:this.margin},!1))},disconnected(){for(const[t,e]of this._data.elements.entries())B(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(s=>setTimeout(s,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(),h(t,"opacity",!e&&this.hidden?0:""),W(t,this.inViewClass,e),W(t,i.cls),/\buk-animation-/.test(i.cls)){const s=()=>Ni(t,"uk-animation-[\\w-]+");e?i.off=z(t,"animationcancel animationend",s):s()}m(t,e?"inview":"outview"),i.inview=e,this.$update(t)}}}},Na={mixins:[ri],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 N('a[href*="#"]',e).filter(i=>i.hash&&Ui(i))},watch(t){this.scroll&&this.$create("scroll",t,{offset:this.offset||0})},immediate:!0},elements({closest:t}){return U(this.links,t||"*")}},update:[{read(){const t=this.links.map(Cn).filter(Boolean),{length:e}=t;if(!e||!R(this.$el))return!1;const[i]=Q(t,/auto|scroll/,!0),{scrollTop:s,scrollHeight:n}=i,o=rt(i),r=n-o.height;let a=!1;if(s===r)a=e-1;else{for(let l=0;l<t.length&&!(I(t[l]).top-o.top-this.offset>0);l++)a=+l;a===!1&&this.overflow&&(a=0)}return{active:a}},write({active:t}){const e=t!==!1&&!A(this.elements[t],this.cls);this.links.forEach(i=>i.blur());for(let i=0;i<this.elements.length;i++)W(this.elements[i],this.cls,+i===t);e&&m(this.$el,"active",[t,this.elements[t]])},events:["scroll","resize"]}]},Ha={mixins:[et,di,vt,ri],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({selTarget:t},e){return t&&v(t,e)||e}},resizeTargets(){return document.documentElement},connected(){this.start=In(this.start||this.top),this.end=In(this.end||this.bottom),this.placeholder=v("+ .uk-sticky-placeholder",this.$el)||v('<div class="uk-sticky-placeholder"></div>'),this.isFixed=!1,this.setActive(!1),this.registerObserver(Te(this.$el,()=>!this.isFixed&&this.$emit("resize")))},disconnected(){this.isFixed&&(this.hide(),B(this.selTarget,this.clsInactive)),_n(this.$el),nt(this.placeholder),this.placeholder=null},events:[{name:"resize",el(){return[window,window.visualViewport]},handler(){this.$emit("resizeViewport")}},{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=I(v(location.hash)),i=I(this.$el);this.isFixed&&_i(e,i)&&(t.scrollTop=e.top-i.height-ot(this.targetOffset,"height",this.placeholder)-ot(this.offset,"height",this.placeholder))})}}],update:[{read({height:t,width:e,margin:i,sticky:s},n){if(this.inactive=!this.matchMedia||!R(this.$el),this.inactive)return;const o=this.isFixed&&n.has("resize")&&!s;o&&(h(this.selTarget,"transition","0s"),this.hide()),this.active||({height:t,width:e}=I(this.$el),i=h(this.$el,"margin")),o&&(this.show(),requestAnimationFrame(()=>h(this.selTarget,"transition","")));const r=ot("100vh","height"),a=Z(window),l=document.scrollingElement.scrollHeight-r;let c=this.position;this.overflowFlip&&t>r&&(c=c==="top"?"bottom":"top");const u=this.isFixed?this.placeholder:this.$el;let d=ot(this.offset,"height",s?this.$el:u);c==="bottom"&&(t<a||this.overflowFlip)&&(d+=a-t);const f=this.overflowFlip?0:Math.max(0,t+d-r),p=I(u).top,k=I(this.$el).height,M=(this.start===!1?p:ss(this.start,this.$el,p))-d,O=this.end===!1?l:Math.min(l,ss(this.end,this.$el,p+t,!0)-k-d+f);return s=l&&!this.showOnUp&&M+d===p&&O===Math.min(l,ss("!*",this.$el,0,!0)-k-d+f),{start:M,end:O,offset:d,overflow:f,topOffset:p,height:t,elHeight:k,width:e,margin:i,top:Lt(u)[0],sticky:s}},write({height:t,width:e,margin:i,offset:s,sticky:n}){if((this.inactive||n||!this.isFixed)&&_n(this.$el),this.inactive)return;n&&(t=e=i=0,h(this.$el,{position:"sticky",top:s}));const{placeholder:o}=this;h(o,{height:t,width:e,margin:i}),_(o,document)||(o.hidden=!0),(n?Ye:Ge)(this.$el,o)},events:["resize","resizeViewport"]},{read({scroll:t=0,dir:e="down",overflow:i,overflowScroll:s=0,start:n,end:o}){const r=document.scrollingElement.scrollTop;return{dir:t<=r?"down":"up",prevDir:e,scroll:r,prevScroll:t,offsetParentTop:I((this.isFixed?this.placeholder:this.$el).offsetParent).top,overflowScroll:K(s+K(r,n,o)-K(t,n,o),0,i)}},write(t,e){const i=e.has("scroll"),{initTimestamp:s=0,dir:n,prevDir:o,scroll:r,prevScroll:a=0,top:l,start:c,topOffset:u,height:d}=t;if(r<0||r===a&&i||this.showOnUp&&!i&&!this.isFixed)return;const f=Date.now();if((f-s>300||n!==o)&&(t.initScroll=r,t.initTimestamp=f),!(this.showOnUp&&!this.isFixed&&Math.abs(t.initScroll-r)<=30&&Math.abs(a-r)<=10))if(this.inactive||r<c||this.showOnUp&&(r<=c||n==="down"&&i||n==="up"&&!this.isFixed&&r<=u+d)){if(!this.isFixed){pt.inProgress(this.$el)&&l>r&&(pt.cancel(this.$el),this.hide());return}this.animation&&r>u?(pt.cancel(this.$el),pt.out(this.$el,this.animation).then(()=>this.hide(),C)):this.hide()}else this.isFixed?this.update():this.animation&&r>u?(pt.cancel(this.$el),this.show(),pt.in(this.$el,this.animation).catch(C)):this.show()},events:["resize","resizeViewport","scroll"]}],methods:{show(){this.isFixed=!0,this.update(),this.placeholder.hidden=!1},hide(){const{offset:t,sticky:e}=this._data;this.setActive(!1),B(this.$el,this.clsFixed,this.clsBelow),e?h(this.$el,"top",t):h(this.$el,{position:"",top:"",width:"",marginTop:""}),this.placeholder.hidden=!0,this.isFixed=!1},update(){let{width:t,scroll:e=0,overflow:i,overflowScroll:s=0,start:n,end:o,offset:r,topOffset:a,height:l,elHeight:c,offsetParentTop:u,sticky:d}=this._data;const f=n!==0||e>n;if(!d){let p="fixed";e>o&&(r+=o-u,p="absolute"),h(this.$el,{position:p,width:t}),h(this.$el,"marginTop",0,"important")}i&&(r-=s),h(this.$el,"top",r),this.setActive(f),W(this.$el,this.clsBelow,e>a+(d?Math.min(l,c):l)),x(this.$el,this.clsFixed)},setActive(t){const e=this.active;this.active=t,t?(Hi(this.selTarget,this.clsInactive,this.clsActive),e!==t&&m(this.$el,"active")):(Hi(this.selTarget,this.clsActive,this.clsInactive),e!==t&&m(this.$el,"inactive"))}}};function ss(t,e,i,s){if(!t)return 0;if(Mt(t)||D(t)&&t.match(/^-?\d/))return i+ot(t,"height",e,!0);{const n=t===!0?E(e):ht(t,e);return I(n).bottom-(s&&n&&_(e,n)?$(h(n,"paddingBottom")):0)}}function In(t){return t==="true"?!0:t==="false"?!1:t}function _n(t){h(t,{position:"",top:"",marginTop:"",width:""})}var Pn={mixins:[_e,yn,At],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({connect:t},e){return $e(t,e)},watch(t){this.swiping&&h(t,"touchAction","pan-y pinch-zoom")},document:!0,immediate:!0},connectChildren:{get(){return this.connects.map(t=>P(t)).flat()},watch(){const t=this.index();for(const e of this.connects)P(e).forEach((i,s)=>W(i,this.cls,s===t)),this.lazyload(this.$el,P(e))},immediate:!0},toggles:{get({toggle:t},e){return N(t,e).filter(i=>!H(i,".uk-disabled *, .uk-disabled, [disabled]"))},watch(t){const e=this.index();this.show(~e?e:t[this.active]||t[0])},immediate:!0},children(){return P(this.$el).filter(t=>this.toggles.some(e=>_(e,t)))},swipeTarget(){return this.connects}},events:[{name:"click",delegate(){return this.toggle},handler(t){t.preventDefault(),this.show(t.current)}},{name:"click",el(){return this.connects.concat(this.itemNav?$e(this.itemNav,this.$el):[])},delegate(){return`[${this.attrItem}],[data-${this.attrItem}]`},handler(t){t.preventDefault(),this.show(st(t.current,this.attrItem))}},{name:"swipeRight swipeLeft",filter(){return this.swiping},el(){return this.connects},handler({type:t}){this.show(Xt(t,"Left")?"next":"previous")}}],methods:{index(){return wt(this.children,t=>A(t,this.cls))},show(t){const e=this.index(),i=Ct(t,this.toggles,e),s=Ct(this.children[i],P(this.$el));P(this.$el).forEach((o,r)=>{W(o,this.cls,s===r),b(this.toggles[r],"aria-expanded",s===r)});const n=e>=0&&e!==i;this.connects.forEach(async({children:o})=>{await this.toggleElement(y(o).filter(r=>A(r,this.cls)),!1,n),await this.toggleElement(o[s],!0,n)})}}},Fa={mixins:[et],extends:Pn,props:{media:Boolean},data:{media:960,attrItem:"uk-tab-item"},connected(){const t=A(this.$el,"uk-tab-left")?"uk-tab-left":A(this.$el,"uk-tab-right")?"uk-tab-right":!1;t&&this.$create("toggle",this.$el,{cls:t,mode:"media",media:this.media})}};const La=32;var Wa={mixins:[_e,di,At],args:"target",props:{href:String,target:null,mode:"list",queued:Boolean},data:{href:!1,target:!1,mode:"click",queued:!0},computed:{target:{get({href:t,target:e},i){return e=$e(e||t,i),e.length&&e||[i]},watch(){this.updateAria(),this.lazyload(this.$el,this.target)},document:!0,immediate:!0}},connected(){!g(this.mode,"media")&&!qe(this.$el)&&b(this.$el,"tabindex","0")},events:[{name:gt,filter(){return g(this.mode,"hover")},handler(t){this._preventClick=null,!(!yt(t)||this._showState)&&(m(this.$el,"focus"),z(document,gt,()=>m(this.$el,"blur"),!0,e=>!_(e.target,this.$el)),g(this.mode,"click")&&(this._preventClick=!0))}},{name:`${jt} ${re} focus blur`,filter(){return g(this.mode,"hover")},handler(t){if(yt(t))return;const e=g([jt,"focus"],t.type),i=b(this.$el,"aria-expanded");if(!(!e&&(t.type===re&&H(this.$el,":focus")||t.type==="blur"&&H(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 g(this.mode,"click")&&!ct(this.$el,"input")},handler(t){t.keyCode===La&&(t.preventDefault(),this.$el.click())}},{name:"click",filter(){return["click","hover"].some(t=>g(this.mode,t))},handler(t){let e;(this._preventClick||U(t.target,'a[href="#"], a[href=""]')||(e=U(t.target,"a[href]"))&&(b(this.$el,"aria-expanded")!=="true"||e.hash&&H(this.target,e.hash)))&&t.preventDefault(),!this._preventClick&&g(this.mode,"click")&&this.toggle()}},{name:"hide show",self:!0,el(){return this.target},handler({target:t,type:e}){this.updateAria(t===this.target[0]&&e==="show")}},{name:"mediachange",filter(){return g(this.mode,"media")},el(){return this.target},handler(t,e){e.matches^this.isToggled(this.target)&&this.toggle()}}],methods:{async toggle(t){if(!m(this.target,t||"toggle",[this]))return;if(!this.queued)return this.toggleElement(this.target);const e=this.target.filter(s=>A(s,this.clsLeave));if(e.length){for(const s of this.target){const n=g(e,s);this.toggleElement(s,n,n)}return}const i=this.target.filter(this.isToggled);await this.toggleElement(i,!1),await this.toggleElement(this.target.filter(s=>!g(i,s)),!0)},updateAria(t){g(this.mode,"media")||b(this.$el,"aria-expanded",He(t)?t:this.isToggled(this.target))}}},Ra=Object.freeze({__proto__:null,Accordion:Us,Alert:xr,Cover:kr,Drop:an,Dropdown:an,FormCustom:_r,Grid:Er,HeightMatch:Br,HeightViewport:zr,Icon:es,Img:pa,Leader:ya,Margin:ln,Modal:ka,Nav:Ta,Navbar:Ca,Offcanvas:_a,OverflowAuto:Aa,Responsive:Oa,Scroll:Ba,Scrollspy:za,ScrollspyNav:Na,Sticky:Ha,Svg:fn,Switcher:Pn,Tab:Fa,Toggle:Wa,Video:tn,Close:la,Spinner:ha,NavParentIcon:ra,SlidenavNext:wn,SlidenavPrevious:wn,SearchIcon:aa,Marker:ut,NavbarParentIcon:ut,NavbarToggleIcon:ut,OverlayIcon:ut,PaginationNext:ut,PaginationPrevious:ut,Totop:ut});xt(Ra,(t,e)=>tt.component(e,t)),gr(tt);const ja=["days","hours","minutes","seconds"];var qa={mixins:[et],props:{date:String,clsWrapper:String},data:{date:"",clsWrapper:".uk-countdown-%unit%"},connected(){this.date=Date.parse(this.$props.date),this.start()},disconnected(){this.stop()},events:[{name:"visibilitychange",el(){return document},handler(){document.hidden?this.stop():this.start()}}],methods:{start(){this.stop(),this.update(),this.timer=setInterval(this.update,1e3)},stop(){clearInterval(this.timer)},update(){const t=Va(this.date);(!this.date||t.total<=0)&&(this.stop(),t.days=t.hours=t.minutes=t.seconds=0);for(const e of ja){const i=v(this.clsWrapper.replace("%unit%",e),this.$el);if(!i)continue;let s=String(Math.trunc(t[e]));s=s.length<2?`0${s}`:s,i.textContent!==s&&(s=s.split(""),s.length!==i.children.length&&_t(i,s.map(()=>"<span></span>").join("")),s.forEach((n,o)=>i.children[o].textContent=n))}}}};function Va(t){const e=t-Date.now();return{total:e,seconds:e/1e3%60,minutes:e/1e3/60%60,hours:e/1e3/60/60%24,days:e/1e3/60/60/24}}const ns="uk-transition-leave",os="uk-transition-enter";function En(t,e,i,s=0){const n=fi(e,!0),o={opacity:1},r={opacity:0},a=u=>()=>n===fi(e)?u():Promise.reject(),l=a(async()=>{x(e,ns),await Promise.all(On(e).map((u,d)=>new Promise(f=>setTimeout(()=>T.start(u,r,i/2,"ease").then(f),d*s)))),B(e,ns)}),c=a(async()=>{const u=Z(e);x(e,os),t(),h(P(e),{opacity:0}),await Ya();const d=P(e),f=Z(e);h(e,"alignContent","flex-start"),Z(e,u);const p=On(e);h(d,r);const k=p.map(async(M,O)=>{await Ga(O*s),await T.start(M,o,i/2,"ease")});u!==f&&k.push(T.start(e,{height:f},i/2+p.length*s,"ease")),await Promise.all(k).then(()=>{B(e,os),n===fi(e)&&(h(e,{height:"",alignContent:""}),h(d,{opacity:""}),delete e.dataset.transition)})});return A(e,ns)?An(e).then(c):A(e,os)?An(e).then(l).then(c):l().then(c)}function fi(t,e){return e&&(t.dataset.transition=1+fi(t)),Tt(t.dataset.transition)||0}function An(t){return Promise.all(P(t).filter(T.inProgress).map(e=>new Promise(i=>z(e,"transitionend transitioncanceled",i))))}function On(t){return ts(P(t)).reduce((e,i)=>e.concat(Fe(i.filter(s=>Gi(s)),"offsetLeft")),[])}function Ya(){return new Promise(t=>requestAnimationFrame(t))}function Ga(t){return new Promise(e=>setTimeout(e,t))}async function Xa(t,e,i){await Dn();let s=P(e);const n=s.map(f=>Bn(f,!0)),o={...h(e,["height","padding"]),display:"block"};await Promise.all(s.concat(e).map(T.cancel)),t(),s=s.concat(P(e).filter(f=>!g(s,f))),await Promise.resolve(),G.flush();const r=b(e,"style"),a=h(e,["height","padding"]),[l,c]=Ja(e,s,n),u=s.map(f=>({style:b(f,"style")}));s.forEach((f,p)=>c[p]&&h(f,c[p])),h(e,o),await Dn();const d=s.map((f,p)=>E(f)===e&&T.start(f,l[p],i,"ease")).concat(T.start(e,a,i,"ease"));try{await Promise.all(d),s.forEach((f,p)=>{b(f,u[p]),E(f)===e&&h(f,"display",l[p].opacity===0?"none":"")}),b(e,"style",r)}catch{b(s,"style",""),Ka(e,o)}}function Bn(t,e){const i=h(t,"zIndex");return R(t)?{display:"",opacity:e?h(t,"opacity"):"0",pointerEvents:"none",position:"absolute",zIndex:i==="auto"?ee(t):i,...Mn(t)}:!1}function Ja(t,e,i){const s=e.map((o,r)=>E(o)&&r in i?i[r]?R(o)?Mn(o):{opacity:0}:{opacity:R(o)?1:0}:!1),n=s.map((o,r)=>{const a=E(e[r])===t&&(i[r]||Bn(e[r]));if(!a)return!1;if(!o)delete a.opacity;else if(!("opacity"in o)){const{opacity:l}=a;l%1?o.opacity=1:delete a.opacity}return a});return[s,n]}function Ka(t,e){for(const i in e)h(t,i,"")}function Mn(t){const{height:e,width:i}=I(t);return{height:e,width:i,transform:"",...Ke(t),...h(t,["marginTop","marginLeft"])}}function Dn(){return new Promise(t=>requestAnimationFrame(t))}var zn={props:{duration:Number,animation:Boolean},data:{duration:150,animation:"slide"},methods:{animate(t,e=this.$el){const i=this.animation;return(i==="fade"?En:i==="delayed-fade"?(...n)=>En(...n,40):i?Xa:()=>(t(),Promise.resolve()))(t,e,this.duration).catch(C)}}},Za={mixins:[zn],args:"target",props:{target:Boolean,selActive:Boolean},data:{target:null,selActive:!1,attrItem:"uk-filter-control",cls:"uk-active",duration:250},computed:{toggles:{get({attrItem:t},e){return N(`[${t}],[data-${t}]`,e)},watch(){if(this.updateState(),this.selActive!==!1){const t=N(this.selActive,this.$el);this.toggles.forEach(e=>W(e,this.cls,g(t,e)))}},immediate:!0},children:{get({target:t},e){return N(`${t} > *`,e)},watch(t,e){e&&!el(t,e)&&this.updateState()},immediate:!0}},events:[{name:"click",delegate(){return`[${this.attrItem}],[data-${this.attrItem}]`},handler(t){t.preventDefault(),this.apply(t.current)}}],methods:{apply(t){const e=this.getState(),i=Hn(t,this.attrItem,this.getState());Qa(e,i)||this.setState(i)},getState(){return this.toggles.filter(t=>A(t,this.cls)).reduce((t,e)=>Hn(e,this.attrItem,t),{filter:{"":""},sort:[]})},async setState(t,e=!0){t={filter:{"":""},sort:[],...t},m(this.$el,"beforeFilter",[this,t]),this.toggles.forEach(i=>W(i,this.cls,!!tl(i,this.attrItem,t))),await Promise.all(N(this.target,this.$el).map(i=>{const s=()=>{Ua(t,i,P(i)),this.$update(this.$el)};return e?this.animate(s,i):s()})),m(this.$el,"afterFilter",[this])},updateState(){G.write(()=>this.setState(this.getState(),!1))}}};function Nn(t,e){return Ie(st(t,e),["filter"])}function Qa(t,e){return["filter","sort"].every(i=>me(t[i],e[i]))}function Ua(t,e,i){const s=il(t);i.forEach(r=>h(r,"display",s&&!H(r,s)?"none":""));const[n,o]=t.sort;if(n){const r=sl(i,n,o);me(r,i)||L(e,r)}}function Hn(t,e,i){const{filter:s,group:n,sort:o,order:r="asc"}=Nn(t,e);return(s||j(o))&&(n?s?(delete i.filter[""],i.filter[n]=s):(delete i.filter[n],(ge(i.filter)||""in i.filter)&&(i.filter={"":s||""})):i.filter={"":s||""}),j(o)||(i.sort=[o,r]),i}function tl(t,e,{filter:i={"":""},sort:[s,n]}){const{filter:o="",group:r="",sort:a,order:l="asc"}=Nn(t,e);return j(a)?r in i&&o===i[r]||!o&&r&&!(r in i)&&!i[""]:s===a&&n===l}function el(t,e){return t.length===e.length&&t.every(i=>e.includes(i))}function il({filter:t}){let e="";return xt(t,i=>e+=i||""),e}function sl(t,e,i){return[...t].sort((s,n)=>st(s,e).localeCompare(st(n,e),void 0,{numeric:!0})*(i==="asc"||-1))}var rs={slide:{show(t){return[{transform:F(t*-100)},{transform:F()}]},percent(t){return Ae(t)},translate(t,e){return[{transform:F(e*-100*t)},{transform:F(e*100*(1-t))}]}}};function Ae(t){return Math.abs(h(t,"transform").split(",")[4]/t.offsetWidth)||0}function F(t=0,e="%"){return t+=t?e:"",`translate3d(${t}, 0, 0)`}function ce(t){return`scale3d(${t}, ${t}, 1)`}var Fn={...rs,fade:{show(){return[{opacity:0},{opacity:1}]},percent(t){return 1-h(t,"opacity")},translate(t){return[{opacity:1-t},{opacity:t}]}},scale:{show(){return[{opacity:0,transform:ce(1-.2)},{opacity:1,transform:ce(1)}]},percent(t){return 1-h(t,"opacity")},translate(t){return[{opacity:1-t,transform:ce(1-.2*t)},{opacity:t,transform:ce(1-.2+.2*t)}]}}};function nl(t,e,i,{animation:s,easing:n}){const{percent:o,translate:r,show:a=C}=s,l=a(i),c=new Re;return{dir:i,show(u,d=0,f){const p=f?"linear":n;return u-=Math.round(u*K(d,-1,1)),this.translate(d),pi(e,"itemin",{percent:d,duration:u,timing:p,dir:i}),pi(t,"itemout",{percent:1-d,duration:u,timing:p,dir:i}),Promise.all([T.start(e,l[1],u,p),T.start(t,l[0],u,p)]).then(()=>{this.reset(),c.resolve()},C),c.promise},cancel(){T.cancel([e,t])},reset(){for(const u in l[0])h([e,t],u,"")},forward(u,d=this.percent()){return T.cancel([e,t]),this.show(u,d,!0)},translate(u){this.reset();const d=r(u,i);h(e,d[1]),h(t,d[0]),pi(e,"itemtranslatein",{percent:u,dir:i}),pi(t,"itemtranslateout",{percent:1-u,dir:i})},percent(){return o(t||e,e,i)},getDistance(){return t==null?void 0:t.offsetWidth}}}function pi(t,e,i){m(t,Nt(e,!1,!1,i))}var ol={props:{autoplay:Boolean,autoplayInterval:Number,pauseOnHover:Boolean},data:{autoplay:!1,autoplayInterval:7e3,pauseOnHover:!0},connected(){this.autoplay&&this.startAutoplay()},disconnected(){this.stopAutoplay()},update(){b(this.slides,"tabindex","-1")},events:[{name:"visibilitychange",el(){return document},filter(){return this.autoplay},handler(){document.hidden?this.stopAutoplay():this.startAutoplay()}}],methods:{startAutoplay(){this.stopAutoplay(),this.interval=setInterval(()=>(!this.draggable||!v(":focus",this.$el))&&(!this.pauseOnHover||!H(this.$el,":hover"))&&!this.stack.length&&this.show("next"),this.autoplayInterval)},stopAutoplay(){this.interval&&clearInterval(this.interval)}}};const as={passive:!1,capture:!0},Ln={passive:!0,capture:!0},rl="touchstart mousedown",ls="touchmove mousemove",Wn="touchend touchcancel mouseup click input scroll";var al={props:{draggable:Boolean},data:{draggable:!0,threshold:10},created(){for(const t of["start","move","end"]){const e=this[t];this[t]=i=>{const s=ie(i).x*(Y?-1:1);this.prevPos=s===this.pos?this.prevPos:this.pos,this.pos=s,e(i)}}},events:[{name:rl,passive:!0,delegate(){return`${this.selList} > *`},handler(t){!this.draggable||!yt(t)&&ll(t.target)||U(t.target,we)||t.button>0||this.length<2||this.start(t)}},{name:"dragstart",handler(t){t.preventDefault()}},{name:ls,el(){return this.list},handler:C,...as}],methods:{start(){this.drag=this.pos,this._transitioner?(this.percent=this._transitioner.percent(),this.drag+=this._transitioner.getDistance()*this.percent*this.dir,this._transitioner.cancel(),this._transitioner.translate(this.percent),this.dragging=!0,this.stack=[]):this.prevIndex=this.index,S(document,ls,this.move,as),S(document,Wn,this.end,Ln),h(this.list,"userSelect","none")},move(t){const e=this.pos-this.drag;if(e===0||this.prevPos===this.pos||!this.dragging&&Math.abs(e)<this.threshold)return;h(this.list,"pointerEvents","none"),t.cancelable&&t.preventDefault(),this.dragging=!0,this.dir=e<0?1:-1;const{slides:i}=this;let{prevIndex:s}=this,n=Math.abs(e),o=this.getIndex(s+this.dir,s),r=this._getDistance(s,o)||i[s].offsetWidth;for(;o!==s&&n>r;)this.drag-=r*this.dir,s=o,n-=r,o=this.getIndex(s+this.dir,s),r=this._getDistance(s,o)||i[s].offsetWidth;this.percent=n/r;const a=i[s],l=i[o],c=this.index!==o,u=s===o;let d;[this.index,this.prevIndex].filter(f=>!g([o,s],f)).forEach(f=>{m(i[f],"itemhidden",[this]),u&&(d=!0,this.prevIndex=s)}),(this.index===s&&this.prevIndex!==s||d)&&m(i[this.index],"itemshown",[this]),c&&(this.prevIndex=s,this.index=o,!u&&m(a,"beforeitemhide",[this]),m(l,"beforeitemshow",[this])),this._transitioner=this._translate(Math.abs(this.percent),a,!u&&l),c&&(!u&&m(a,"itemhide",[this]),m(l,"itemshow",[this]))},end(){if(zt(document,ls,this.move,as),zt(document,Wn,this.end,Ln),this.dragging)if(this.dragging=null,this.index===this.prevIndex)this.percent=1-this.percent,this.dir*=-1,this._show(!1,this.index,!0),this._transitioner=null;else{const t=(Y?this.dir*(Y?1:-1):this.dir)<0==this.prevPos>this.pos;this.index=t?this.index:this.prevIndex,t&&(this.percent=1-this.percent),this.show(this.dir>0&&!t||this.dir<0&&t?"next":"previous",!0)}h(this.list,{userSelect:"",pointerEvents:""}),this.drag=this.percent=null}}};function ll(t){return h(t,"userSelect")!=="none"&&y(t.childNodes).some(e=>e.nodeType===3&&e.textContent.trim())}var hl={data:{selNav:!1},computed:{nav({selNav:t},e){return v(t,e)},selNavItem({attrItem:t}){return`[${t}],[data-${t}]`},navItems(t,e){return N(this.selNavItem,e)}},update:{write(){this.nav&&this.length!==this.nav.children.length&&_t(this.nav,this.slides.map((t,e)=>`<li ${this.attrItem}="${e}"><a href></a></li>`).join("")),this.navItems.concat(this.nav).forEach(t=>t&&(t.hidden=!this.maxIndex)),this.updateNav()},events:["resize"]},events:[{name:"click",delegate(){return this.selNavItem},handler(t){t.preventDefault(),this.show(st(t.current,this.attrItem))}},{name:"itemshow",handler:"updateNav"}],methods:{updateNav(){const t=this.getValidIndex();for(const e of this.navItems){const i=st(e,this.attrItem);W(e,this.clsActive,Tt(i)===t),W(e,"uk-invisible",this.finite&&(i==="previous"&&t===0||i==="next"&&t>=this.maxIndex))}}}},Rn={mixins:[ol,al,hl,vt],props:{clsActivated:Boolean,easing:String,index:Number,finite:Boolean,velocity:Number},data:()=>({easing:"ease",finite:!1,velocity:1,index:0,prevIndex:-1,stack:[],percent:0,clsActive:"uk-active",clsActivated:!1,Transitioner:!1,transitionOptions:{}}),connected(){this.prevIndex=-1,this.index=this.getValidIndex(this.$props.index),this.stack=[]},disconnected(){B(this.slides,this.clsActive)},computed:{duration({velocity:t},e){return jn(e.offsetWidth/t)},list({selList:t},e){return v(t,e)},maxIndex(){return this.length-1},slides:{get(){return P(this.list)},watch(){this.$emit("resize")}},length(){return this.slides.length}},methods:{show(t,e=!1){if(this.dragging||!this.length)return;const{stack:i}=this,s=e?0:i.length,n=()=>{i.splice(s,1),i.length&&this.show(i.shift(),!0)};if(i[e?"unshift":"push"](t),!e&&i.length>1){i.length===2&&this._transitioner.forward(Math.min(this.duration,200));return}const o=this.getIndex(this.index),r=A(this.slides,this.clsActive)&&this.slides[o],a=this.getIndex(t,this.index),l=this.slides[a];if(r===l){n();return}if(this.dir=cl(t,o),this.prevIndex=o,this.index=a,r&&!m(r,"beforeitemhide",[this])||!m(l,"beforeitemshow",[this,r])){this.index=this.prevIndex,n();return}const c=this._show(r,l,e).then(()=>(r&&m(r,"itemhidden",[this]),m(l,"itemshown",[this]),new Promise(u=>{requestAnimationFrame(()=>{i.shift(),i.length?this.show(i.shift(),!0):this._transitioner=null,u()})})));return r&&m(r,"itemhide",[this]),m(l,"itemshow",[this]),c},getIndex(t=this.index,e=this.index){return K(Ct(t,this.slides,e,this.finite),0,this.maxIndex)},getValidIndex(t=this.index,e=this.prevIndex){return this.getIndex(t,e)},_show(t,e,i){if(this._transitioner=this._getTransitioner(t,e,this.dir,{easing:i?e.offsetWidth<600?"cubic-bezier(0.25, 0.46, 0.45, 0.94)":"cubic-bezier(0.165, 0.84, 0.44, 1)":this.easing,...this.transitionOptions}),!i&&!t)return this._translate(1),Promise.resolve();const{length:s}=this.stack;return this._transitioner[s>1?"forward":"show"](s>1?Math.min(this.duration,75+75/(s-1)):this.duration,this.percent)},_getDistance(t,e){return this._getTransitioner(t,t!==e&&e).getDistance()},_translate(t,e=this.prevIndex,i=this.index){const s=this._getTransitioner(e!==i?e:!1,i);return s.translate(t),s},_getTransitioner(t=this.prevIndex,e=this.index,i=this.dir||1,s=this.transitionOptions){return new this.Transitioner(Zt(t)?this.slides[t]:t,Zt(e)?this.slides[e]:e,i*(Y?-1:1),s)}}};function cl(t,e){return t==="next"?1:t==="previous"||t<e?-1:1}function jn(t){return .5*t+300}var qn={mixins:[Rn],props:{animation:String},data:{animation:"slide",clsActivated:"uk-transition-active",Animations:rs,Transitioner:nl},computed:{animation({animation:t,Animations:e}){return{...e[t]||e.slide,name:t}},transitionOptions(){return{animation:this.animation}}},events:{beforeitemshow({target:t}){x(t,this.clsActive)},itemshown({target:t}){x(t,this.clsActivated)},itemhidden({target:t}){B(t,this.clsActive,this.clsActivated)}}},Vn={mixins:[he,Zi,At,qn],functional:!0,props:{delayControls:Number,preload:Number,videoAutoplay:Boolean,template:String},data:()=>({preload:1,videoAutoplay:!1,delayControls:3e3,items:[],cls:"uk-open",clsPage:"uk-lightbox-page",selList:".uk-lightbox-items",attrItem:"uk-lightbox-item",selClose:".uk-close-large",selCaption:".uk-lightbox-caption",pauseOnHover:!1,velocity:2,Animations:Fn,template:'<div class="uk-lightbox uk-overflow-hidden"> <ul class="uk-lightbox-items"></ul> <div class="uk-lightbox-toolbar uk-position-top uk-text-right uk-transition-slide-top uk-transition-opaque"> <button class="uk-lightbox-toolbar-icon uk-close-large" type="button" uk-close></button> </div> <a class="uk-lightbox-button uk-position-center-left uk-position-medium uk-transition-fade" href uk-slidenav-previous uk-lightbox-item="previous"></a> <a class="uk-lightbox-button uk-position-center-right uk-position-medium uk-transition-fade" href uk-slidenav-next uk-lightbox-item="next"></a> <div class="uk-lightbox-toolbar uk-lightbox-caption uk-position-bottom uk-text-center uk-transition-slide-bottom uk-transition-opaque"></div> </div>'}),created(){const t=v(this.template),e=v(this.selList,t);this.items.forEach(()=>L(e,"<li>")),this.$mount(L(this.container,t))},computed:{caption({selCaption:t},e){return v(t,e)}},events:[{name:`${Qe} ${gt} keydown`,handler:"showControls"},{name:"click",self:!0,delegate(){return`${this.selList} > *`},handler(t){t.defaultPrevented||this.hide()}},{name:"shown",self:!0,handler(){this.showControls()}},{name:"hide",self:!0,handler(){this.hideControls(),B(this.slides,this.clsActive),T.stop(this.slides)}},{name:"hidden",self:!0,handler(){this.$destroy(!0)}},{name:"keyup",el(){return document},handler(t){if(!(!this.isToggled(this.$el)||!this.draggable))switch(t.keyCode){case 37:this.show("previous");break;case 39:this.show("next");break}}},{name:"beforeitemshow",handler(t){this.isToggled()||(this.draggable=!1,t.preventDefault(),this.toggleElement(this.$el,!0,!1),this.animation=Fn.scale,B(t.target,this.clsActive),this.stack.splice(1,0,this.index))}},{name:"itemshow",handler(){_t(this.caption,this.getItem().caption||"");for(let t=-this.preload;t<=this.preload;t++)this.loadItem(this.index+t)}},{name:"itemshown",handler(){this.draggable=this.$props.draggable}},{name:"itemload",async handler(t,e){const{source:i,type:s,alt:n="",poster:o,attrs:r={}}=e;if(this.setItem(e,"<span uk-spinner></span>"),!i)return;let a;const l={allowfullscreen:"",style:"max-width: 100%; box-sizing: border-box;","uk-responsive":"","uk-video":`${this.videoAutoplay}`};if(s==="image"||i.match(/\.(avif|jpe?g|jfif|a?png|gif|svg|webp)($|\?)/i))try{const{width:c,height:u}=await ys(i,r.srcset,r.size);this.setItem(e,Oe("img",{src:i,width:c,height:u,alt:n,...r}))}catch{this.setError(e)}else if(s==="video"||i.match(/\.(mp4|webm|ogv)($|\?)/i)){const c=Oe("video",{src:i,poster:o,controls:"",playsinline:"","uk-video":`${this.videoAutoplay}`});S(c,"loadedmetadata",()=>{b(c,{width:c.videoWidth,height:c.videoHeight,...r}),this.setItem(e,c)}),S(c,"error",()=>this.setError(e))}else if(s==="iframe"||i.match(/\.(html|php)($|\?)/i))this.setItem(e,Oe("iframe",{src:i,allowfullscreen:"",class:"uk-lightbox-iframe",...r}));else if(a=i.match(/\/\/(?:.*?youtube(-nocookie)?\..*?[?&]v=|youtu\.be\/)([\w-]{11})[&?]?(.*)?/))this.setItem(e,Oe("iframe",{src:`https://www.youtube${a[1]||""}.com/embed/${a[2]}${a[3]?`?${a[3]}`:""}`,width:1920,height:1080,...l,...r}));else if(a=i.match(/\/\/.*?vimeo\.[a-z]+\/(\d+)[&?]?(.*)?/))try{const{height:c,width:u}=await(await fetch(`https://vimeo.com/api/oembed.json?maxwidth=1920&url=${encodeURI(i)}`,{credentials:"omit"})).json();this.setItem(e,Oe("iframe",{src:`https://player.vimeo.com/video/${a[1]}${a[2]?`?${a[2]}`:""}`,width:u,height:c,...l,...r}))}catch{this.setError(e)}}}],methods:{loadItem(t=this.index){const e=this.getItem(t);this.getSlide(e).childElementCount||m(this.$el,"itemload",[e])},getItem(t=this.index){return this.items[Ct(t,this.slides)]},setItem(t,e){m(this.$el,"itemloaded",[this,_t(this.getSlide(t),e)])},getSlide(t){return this.slides[this.items.indexOf(t)]},setError(t){this.setItem(t,'<span uk-icon="icon: bolt; ratio: 2"></span>')},showControls(){clearTimeout(this.controlsTimer),this.controlsTimer=setTimeout(this.hideControls,this.delayControls),x(this.$el,"uk-active","uk-transition-active")},hideControls(){B(this.$el,"uk-active","uk-transition-active")}}};function Oe(t,e){const i=Ht(`<${t}>`);return b(i,e),i}var ul={install:dl,props:{toggle:String},data:{toggle:"a"},computed:{toggles:{get({toggle:t},e){return N(t,e)},watch(){this.hide()}}},disconnected(){this.hide()},events:[{name:"click",delegate(){return`${this.toggle}:not(.uk-disabled)`},handler(t){t.preventDefault(),this.show(t.current)}}],methods:{show(t){const e=gs(this.toggles.map(Yn),"source");if(Kt(t)){const{source:i}=Yn(t);t=wt(e,({source:s})=>i===s)}return this.panel=this.panel||this.$create("lightboxPanel",{...this.$props,items:e}),S(this.panel.$el,"hidden",()=>this.panel=null),this.panel.show(t)},hide(){var t;return(t=this.panel)==null?void 0:t.hide()}}};function dl(t,e){t.lightboxPanel||t.component("lightboxPanel",Vn),$t(e.props,t.component("lightboxPanel").options.props)}function Yn(t){const e={};for(const i of["href","caption","type","poster","alt","attrs"])e[i==="href"?"source":i]=st(t,i);return e.attrs=Ie(e.attrs),e}var fl={mixins:[he],functional:!0,args:["message","status"],data:{message:"",status:"",timeout:5e3,group:null,pos:"top-center",clsContainer:"uk-notification",clsClose:"uk-notification-close",clsMsg:"uk-notification-message"},install:pl,computed:{marginProp({pos:t}){return`margin${lt(t,"top")?"Top":"Bottom"}`},startProps(){return{opacity:0,[this.marginProp]:-this.$el.offsetHeight}}},created(){const t=v(`.${this.clsContainer}-${this.pos}`,this.container)||L(this.container,`<div class="${this.clsContainer} ${this.clsContainer}-${this.pos}" style="display: block"></div>`);this.$mount(L(t,`<div class="${this.clsMsg}${this.status?` ${this.clsMsg}-${this.status}`:""}" role="alert"> <a href class="${this.clsClose}" data-uk-close></a> <div>${this.message}</div> </div>`))},async connected(){const t=$(h(this.$el,this.marginProp));await T.start(h(this.$el,this.startProps),{opacity:1,[this.marginProp]:t}),this.timeout&&(this.timer=setTimeout(this.close,this.timeout))},events:{click(t){U(t.target,'a[href="#"],a[href=""]')&&t.preventDefault(),this.close()},[jt](){this.timer&&clearTimeout(this.timer)},[re](){this.timeout&&(this.timer=setTimeout(this.close,this.timeout))}},methods:{async close(t){const e=i=>{const s=E(i);m(i,"close",[this]),nt(i),s!=null&&s.hasChildNodes()||nt(s)};this.timer&&clearTimeout(this.timer),t||await T.start(this.$el,this.startProps),e(this.$el)}}};function pl(t){t.notification.closeAll=function(e,i){mt(document.body,s=>{const n=t.getComponent(s,"notification");n&&(!e||e===n.group)&&n.close(i)})}}const gi={x:mi,y:mi,rotate:mi,scale:mi,color:hs,backgroundColor:hs,borderColor:hs,blur:Vt,hue:Vt,fopacity:Vt,grayscale:Vt,invert:Vt,saturate:Vt,sepia:Vt,opacity:ml,stroke:vl,bgx:Jn,bgy:Jn},{keys:Gn}=Object;var Xn={mixins:[di],props:Un(Gn(gi),"list"),data:Un(Gn(gi),void 0),computed:{props(t,e){const i={};for(const n in t)n in gi&&!j(t[n])&&(i[n]=t[n].slice());const s={};for(const n in i)s[n]=gi[n](n,e,i[n],i);return s}},events:{load(){this.$emit()}},methods:{reset(){for(const t in this.getCss(0))h(this.$el,t,"")},getCss(t){const e={transform:"",filter:""};for(const i in this.props)this.props[i](e,t);return e.willChange=Object.keys(e).filter(i=>e[i]!=="").join(","),e}}};function mi(t,e,i){let s=wi(i)||{x:"px",y:"px",rotate:"deg"}[t]||"",n;return t==="x"||t==="y"?(t=`translate${kt(t)}`,n=o=>$($(o).toFixed(s==="px"?0:6))):t==="scale"&&(s="",n=o=>wi([o])?ot(o,"width",e,!0)/e.offsetWidth:o),i.length===1&&i.unshift(t==="scale"?1:0),i=ue(i,n),(o,r)=>{o.transform+=` ${t}(${Be(i,r)}${s})`}}function hs(t,e,i){return i.length===1&&i.unshift(Me(e,t,"")),i=ue(i,s=>gl(e,s)),(s,n)=>{const[o,r,a]=Qn(i,n),l=o.map((c,u)=>(c+=a*(r[u]-c),u===3?$(c):parseInt(c,10))).join(",");s[t]=`rgba(${l})`}}function gl(t,e){return Me(t,"color",e).split(/[(),]/g).slice(1,-1).concat(1).slice(0,4).map($)}function Vt(t,e,i){i.length===1&&i.unshift(0);const s=wi(i)||{blur:"px",hue:"deg"}[t]||"%";return t={fopacity:"opacity",hue:"hue-rotate"}[t]||t,i=ue(i),(n,o)=>{const r=Be(i,o);n.filter+=` ${t}(${r+s})`}}function ml(t,e,i){return i.length===1&&i.unshift(Me(e,t,"")),i=ue(i),(s,n)=>{s[t]=Be(i,n)}}function vl(t,e,i){i.length===1&&i.unshift(0);const s=wi(i),n=mn(e);return i=ue(i.reverse(),o=>(o=$(o),s==="%"?o*n/100:o)),i.some(([o])=>o)?(h(e,"strokeDasharray",n),(o,r)=>{o.strokeDashoffset=Be(i,r)}):C}function Jn(t,e,i,s){i.length===1&&i.unshift(0);const n=t==="bgy"?"height":"width";s[t]=ue(i,a=>ot(a,n,e));const o=["bgx","bgy"].filter(a=>a in s);if(o.length===2&&t==="bgx")return C;if(Me(e,"backgroundSize","")==="cover")return wl(t,e,i,s);const r={};for(const a of o)r[a]=Kn(e,a);return Zn(o,r,s)}function wl(t,e,i,s){const n=$l(e);if(!n.width)return C;const o={width:e.offsetWidth,height:e.offsetHeight},r=["bgx","bgy"].filter(u=>u in s),a={};for(const u of r){const d=s[u].map(([O])=>O),f=Math.min(...d),p=Math.max(...d),k=d.indexOf(f)<d.indexOf(p),M=p-f;a[u]=`${(k?-M:0)-(k?f:p)}px`,o[u==="bgy"?"height":"width"]+=M}const l=We.cover(n,o);for(const u of r){const d=u==="bgy"?"height":"width",f=l[d]-o[d];a[u]=`max(${Kn(e,u)},-${f}px) + ${a[u]}`}const c=Zn(r,a,s);return(u,d)=>{c(u,d),u.backgroundSize=`${l.width}px ${l.height}px`,u.backgroundRepeat="no-repeat"}}function Kn(t,e){return Me(t,`background-position-${e.substr(-1)}`,"")}function Zn(t,e,i){return function(s,n){for(const o of t){const r=Be(i[o],n);s[`background-position-${o.substr(-1)}`]=`calc(${e[o]} + ${r}px)`}}}const vi={};function $l(t){const e=h(t,"backgroundImage").replace(/^none|url\(["']?(.+?)["']?\)$/,"$1");if(vi[e])return vi[e];const i=new Image;return e&&(i.src=e,!i.naturalWidth)?(i.onload=()=>{vi[e]=cs(i),m(t,Nt("load",!1))},cs(i)):vi[e]=cs(i)}function cs(t){return{width:t.naturalWidth,height:t.naturalHeight}}function ue(t,e=$){const i=[],{length:s}=t;let n=0;for(let o=0;o<s;o++){let[r,a]=D(t[o])?t[o].trim().split(" "):[t[o]];if(r=e(r),a=a?$(a)/100:null,o===0?a===null?a=0:a&&i.push([r,0]):o===s-1&&(a===null?a=1:a!==1&&(i.push([r,a]),a=1)),i.push([r,a]),a===null)n++;else if(n){const l=i[o-n-1][1],c=(a-l)/(n+1);for(let u=n;u>0;u--)i[o-u][1]=l+c*(n-u+1);n=0}}return i}function Qn(t,e){const i=wt(t.slice(1),([,s])=>e<=s)+1;return[t[i-1][0],t[i][0],(e-t[i-1][1])/(t[i][1]-t[i-1][1])]}function Be(t,e){const[i,s,n]=Qn(t,e);return Zt(i)?i+Math.abs(i-s)*n*(i<s?1:-1):+s}const bl=/^-?\d+(\S+)?/;function wi(t,e){for(const i of t){const s=i.match==null?void 0:i.match(bl);if(s)return s[1]}return e}function Me(t,e,i){const s=t.style[e],n=h(h(t,e,i),e);return t.style[e]=s,n}function Un(t,e){return t.reduce((i,s)=>(i[s]=e,i),{})}var xl={mixins:[Xn,vt,ri],props:{target:String,viewport:Number,easing:Number,start:String,end:String},data:{target:!1,viewport:1,easing:1,start:0,end:0},computed:{target({target:t},e){return to(t&&ht(t,e)||e)},start({start:t}){return ot(t,"height",this.target,!0)},end({end:t,viewport:e}){return ot(t||(e=(1-e)*100)&&`${e}vh+${e}%`,"height",this.target,!0)}},resizeTargets(){return[this.$el,this.target]},update:{read({percent:t},e){if(e.has("scroll")||(t=!1),!R(this.$el))return!1;if(!this.matchMedia)return;const i=t;return t=yl(Xi(this.target,this.start,this.end),this.easing),{percent:t,style:i===t?!1:this.getCss(t)}},write({style:t}){if(!this.matchMedia){this.reset();return}t&&h(this.$el,t)},events:["scroll","resize"]}};function yl(t,e){return e>=0?Math.pow(t,e+1):1-Math.pow(1-t,1-e)}function to(t){return t?"offsetTop"in t?t:to(E(t)):document.documentElement}var eo={update:{write(){if(this.stack.length||this.dragging)return;const t=this.getValidIndex(this.index);!~this.prevIndex||this.index!==t?this.show(t):this._translate(1,this.prevIndex,this.index)},events:["resize"]}},io={mixins:[_e],connected(){this.lazyload(this.slides,this.getAdjacentSlides)}};function kl(t,e,i,{center:s,easing:n,list:o}){const r=new Re,a=t?De(t,o,s):De(e,o,s)+w(e).width*i,l=e?De(e,o,s):a+w(t).width*i*(Y?-1:1);return{dir:i,show(c,u=0,d){const f=d?"linear":n;return c-=Math.round(c*K(u,-1,1)),this.translate(u),u=t?u:K(u,0,1),us(this.getItemIn(),"itemin",{percent:u,duration:c,timing:f,dir:i}),t&&us(this.getItemIn(!0),"itemout",{percent:1-u,duration:c,timing:f,dir:i}),T.start(o,{transform:F(-l*(Y?-1:1),"px")},c,f).then(r.resolve,C),r.promise},cancel(){T.cancel(o)},reset(){h(o,"transform","")},forward(c,u=this.percent()){return T.cancel(o),this.show(c,u,!0)},translate(c){const u=this.getDistance()*i*(Y?-1:1);h(o,"transform",F(K(-l+(u-u*c),-$i(o),w(o).width)*(Y?-1:1),"px"));const d=this.getActives(),f=this.getItemIn(),p=this.getItemIn(!0);c=t?K(c,-1,1):0;for(const k of P(o)){const M=g(d,k),O=k===f,Ot=k===p,ds=O||!Ot&&(M||i*(Y?-1:1)===-1^bi(k,o)>bi(t||e));us(k,`itemtranslate${ds?"in":"out"}`,{dir:i,percent:Ot?1-c:O?c:M?1:0})}},percent(){return Math.abs((h(o,"transform").split(",")[4]*(Y?-1:1)+a)/(l-a))},getDistance(){return Math.abs(l-a)},getItemIn(c=!1){let u=this.getActives(),d=no(o,De(e||t,o,s));if(c){const f=u;u=d,d=f}return d[wt(d,f=>!g(u,f))]},getActives(){return no(o,De(t||e,o,s))}}}function De(t,e,i){const s=bi(t,e);return i?s-Sl(t,e):Math.min(s,so(e))}function so(t){return Math.max(0,$i(t)-w(t).width)}function $i(t){return Dt(P(t),e=>w(e).width)}function Sl(t,e){return w(e).width/2-w(t).width/2}function bi(t,e){return t&&(Ke(t).left+(Y?w(t).width-w(e).width:0))*(Y?-1:1)||0}function no(t,e){e-=1;const i=w(t).width,s=e+i+2;return P(t).filter(n=>{const o=bi(n,t),r=o+Math.min(w(n).width,i);return o>=e&&r<=s})}function us(t,e,i){m(t,Nt(e,!1,!1,i))}var Tl={mixins:[et,Rn,eo,io],props:{center:Boolean,sets:Boolean},data:{center:!1,sets:!1,attrItem:"uk-slider-item",selList:".uk-slider-items",selNav:".uk-slider-nav",clsContainer:"uk-slider-container",Transitioner:kl},computed:{avgWidth(){return $i(this.list)/this.length},finite({finite:t}){return t||Cl(this.list,this.center)},maxIndex(){if(!this.finite||this.center&&!this.sets)return this.length-1;if(this.center)return Ut(this.sets);let t=0;const e=so(this.list),i=wt(this.slides,s=>{if(t>=e)return!0;t+=w(s).width});return~i?i:this.length-1},sets({sets:t}){if(!t)return;let e=0;const i=[],s=w(this.list).width;for(let n=0;n<this.length;n++){const o=w(this.slides[n]).width;e+o>s&&(e=0),this.center?e<s/2&&e+o+w(this.slides[+n+1]).width/2>s/2&&(i.push(+n),e=s/2-o/2):e===0&&i.push(Math.min(+n,this.maxIndex)),e+=o}if(i.length)return i},transitionOptions(){return{center:this.center,list:this.list}}},connected(){W(this.$el,this.clsContainer,!v(`.${this.clsContainer}`,this.$el))},update:{write(){for(const t of this.navItems){const e=Tt(st(t,this.attrItem));e!==!1&&(t.hidden=!this.maxIndex||e>this.maxIndex||this.sets&&!g(this.sets,e))}this.length&&!this.dragging&&!this.stack.length&&(this.reorder(),this._translate(1)),this.updateActiveClasses()},events:["resize"]},events:{beforeitemshow(t){!this.dragging&&this.sets&&this.stack.length<2&&!g(this.sets,this.index)&&(this.index=this.getValidIndex());const e=Math.abs(this.index-this.prevIndex+(this.dir>0&&this.index<this.prevIndex||this.dir<0&&this.index>this.prevIndex?(this.maxIndex+1)*this.dir:0));if(!this.dragging&&e>1){for(let s=0;s<e;s++)this.stack.splice(1,0,this.dir>0?"next":"previous");t.preventDefault();return}const i=this.dir<0||!this.slides[this.prevIndex]?this.index:this.prevIndex;this.duration=jn(this.avgWidth/this.velocity)*(w(this.slides[i]).width/this.avgWidth),this.reorder()},itemshow(){~this.prevIndex&&x(this._getTransitioner().getItemIn(),this.clsActive)},itemshown(){this.updateActiveClasses()}},methods:{reorder(){if(this.finite){h(this.slides,"order","");return}const t=this.dir>0&&this.slides[this.prevIndex]?this.prevIndex:this.index;if(this.slides.forEach((n,o)=>h(n,"order",this.dir>0&&o<t?1:this.dir<0&&o>=this.index?-1:"")),!this.center)return;const e=this.slides[t];let i=w(this.list).width/2-w(e).width/2,s=0;for(;i>0;){const n=this.getIndex(--s+t,t),o=this.slides[n];h(o,"order",n>t?-2:-1),i-=w(o).width}},updateActiveClasses(){const t=this._getTransitioner(this.index).getActives(),e=[this.clsActive,(!this.sets||g(this.sets,$(this.index)))&&this.clsActivated||""];for(const i of this.slides)W(i,e,g(t,i))},getValidIndex(t=this.index,e=this.prevIndex){if(t=this.getIndex(t,e),!this.sets)return t;let i;do{if(g(this.sets,t))return t;i=t,t=this.getIndex(t+this.dir,e)}while(t!==i);return t},getAdjacentSlides(){const{width:t}=w(this.list),e=-t,i=t*2,s=w(this.slides[this.index]).width,n=this.center?t/2-s/2:0,o=new Set;for(const r of[-1,1]){let a=n+(r>0?s:0),l=0;do{const c=this.slides[this.getIndex(this.index+r+l++*r)];a+=w(c).width*r,o.add(c)}while(this.length>l&&a>e&&a<i)}return Array.from(o)}}};function Cl(t,e){const{length:i}=t;if(i<2)return!0;const{width:s}=w(t);if(!e)return Math.ceil($i(t))<Math.trunc(s+Il(t));const n=P(t),o=Math.trunc(s/2);for(const r in n){const a=n[r],l=w(a).width,c=new Set([a]);let u=0;for(const d of[-1,1]){let f=l/2,p=0;for(;f<o;){const k=n[Ct(+r+d+p++*d,n)];if(c.has(k))return!0;f+=w(k).width,c.add(k)}u=Math.max(u,l/2+w(n[Ct(+r+d,n)]).width/2-(f-o))}if(u>Dt(n.filter(d=>!c.has(d)),d=>w(d).width))return!0}return!1}function Il(t){return Math.max(0,...P(t).map(e=>w(e).width))}var oo={mixins:[Xn],data:{selItem:"!li"},beforeConnect(){this.item=ht(this.selItem,this.$el)},disconnected(){this.item=null},events:[{name:"itemin itemout",self:!0,el(){return this.item},handler({type:t,detail:{percent:e,duration:i,timing:s,dir:n}}){G.read(()=>{if(!this.matchMedia)return;const o=this.getCss(ao(t,n,e)),r=this.getCss(ro(t)?.5:n>0?1:0);G.write(()=>{h(this.$el,o),T.start(this.$el,r,i,s).catch(C)})})}},{name:"transitioncanceled transitionend",self:!0,el(){return this.item},handler(){T.cancel(this.$el)}},{name:"itemtranslatein itemtranslateout",self:!0,el(){return this.item},handler({type:t,detail:{percent:e,dir:i}}){G.read(()=>{if(!this.matchMedia){this.reset();return}const s=this.getCss(ao(t,i,e));G.write(()=>h(this.$el,s))})}}]};function ro(t){return Xt(t,"in")}function ao(t,e,i){return i/=2,ro(t)^e<0?i:1-i}var _l={...rs,fade:{show(){return[{opacity:0,zIndex:0},{zIndex:-1}]},percent(t){return 1-h(t,"opacity")},translate(t){return[{opacity:1-t,zIndex:0},{zIndex:-1}]}},scale:{show(){return[{opacity:0,transform:ce(1+.5),zIndex:0},{zIndex:-1}]},percent(t){return 1-h(t,"opacity")},translate(t){return[{opacity:1-t,transform:ce(1+.5*t),zIndex:0},{zIndex:-1}]}},pull:{show(t){return t<0?[{transform:F(30),zIndex:-1},{transform:F(),zIndex:0}]:[{transform:F(-100),zIndex:0},{transform:F(),zIndex:-1}]},percent(t,e,i){return i<0?1-Ae(e):Ae(t)},translate(t,e){return e<0?[{transform:F(30*t),zIndex:-1},{transform:F(-100*(1-t)),zIndex:0}]:[{transform:F(-t*100),zIndex:0},{transform:F(30*(1-t)),zIndex:-1}]}},push:{show(t){return t<0?[{transform:F(100),zIndex:0},{transform:F(),zIndex:-1}]:[{transform:F(-30),zIndex:-1},{transform:F(),zIndex:0}]},percent(t,e,i){return i>0?1-Ae(e):Ae(t)},translate(t,e){return e<0?[{transform:F(t*100),zIndex:0},{transform:F(-30*(1-t)),zIndex:-1}]:[{transform:F(-30*t),zIndex:-1},{transform:F(100*(1-t)),zIndex:0}]}}},Pl={mixins:[et,qn,eo,io],props:{ratio:String,minHeight:Number,maxHeight:Number},data:{ratio:"16:9",minHeight:!1,maxHeight:!1,selList:".uk-slideshow-items",attrItem:"uk-slideshow-item",selNav:".uk-slideshow-nav",Animations:_l},update:{read(){if(!this.list)return!1;let[t,e]=this.ratio.split(":").map(Number);return e=e*this.list.offsetWidth/t||0,this.minHeight&&(e=Math.max(this.minHeight,e)),this.maxHeight&&(e=Math.min(this.maxHeight,e)),{height:e-se(this.list,"height","content-box")}},write({height:t}){t>0&&h(this.list,"minHeight",t)},events:["resize"]},methods:{getAdjacentSlides(){return[1,-1].map(t=>this.slides[this.getIndex(this.index+t)])}}},El={mixins:[et,zn],props:{group:String,threshold:Number,clsItem:String,clsPlaceholder:String,clsDrag:String,clsDragState:String,clsBase:String,clsNoDrag:String,clsEmpty:String,clsCustom:String,handle:String},data:{group:!1,threshold:5,clsItem:"uk-sortable-item",clsPlaceholder:"uk-sortable-placeholder",clsDrag:"uk-sortable-drag",clsDragState:"uk-drag",clsBase:"uk-sortable",clsNoDrag:"uk-sortable-nodrag",clsEmpty:"uk-sortable-empty",clsCustom:"",handle:!1,pos:{}},created(){for(const t of["init","start","move","end"]){const e=this[t];this[t]=i=>{$t(this.pos,ie(i)),e(i)}}},events:{name:gt,passive:!1,handler:"init"},computed:{target(){return(this.$el.tBodies||[this.$el])[0]},items(){return P(this.target)},isEmpty:{get(){return ge(this.items)},watch(t){W(this.target,this.clsEmpty,t)},immediate:!0},handles:{get({handle:t},e){return t?N(t,e):this.items},watch(t,e){h(e,{touchAction:"",userSelect:""}),h(t,{touchAction:Rt?"none":"",userSelect:"none"})},immediate:!0}},update:{write(t){if(!this.drag||!E(this.placeholder))return;const{pos:{x:e,y:i},origin:{offsetTop:s,offsetLeft:n},placeholder:o}=this;h(this.drag,{top:i-s,left:e-n});const r=this.getSortable(document.elementFromPoint(e,i));if(!r)return;const{items:a}=r;if(a.some(T.inProgress))return;const l=Ml(a,{x:e,y:i});if(a.length&&(!l||l===o))return;const c=this.getSortable(o),u=Dl(r.target,l,o,e,i,r===c&&t.moved!==l);u!==!1&&(u&&o===u||(r!==c?(c.remove(o),t.moved=l):delete t.moved,r.insert(o,u),this.touched.add(r)))},events:["move"]},methods:{init(t){const{target:e,button:i,defaultPrevented:s}=t,[n]=this.items.filter(o=>_(e,o));!n||s||i>0||Ai(e)||_(e,`.${this.clsNoDrag}`)||this.handle&&!_(e,this.handle)||(t.preventDefault(),this.touched=new Set([this]),this.placeholder=n,this.origin={target:e,index:ee(n),...this.pos},S(document,Qe,this.move),S(document,Pt,this.end),this.threshold||this.start(t))},start(t){this.drag=Bl(this.$container,this.placeholder);const{left:e,top:i}=this.placeholder.getBoundingClientRect();$t(this.origin,{offsetLeft:this.pos.x-e,offsetTop:this.pos.y-i}),x(this.drag,this.clsDrag,this.clsCustom),x(this.placeholder,this.clsPlaceholder),x(this.items,this.clsItem),x(document.documentElement,this.clsDragState),m(this.$el,"start",[this,this.placeholder]),Al(this.pos),this.move(t)},move(t){this.drag?this.$emit("move"):(Math.abs(this.pos.x-this.origin.x)>this.threshold||Math.abs(this.pos.y-this.origin.y)>this.threshold)&&this.start(t)},end(){if(zt(document,Qe,this.move),zt(document,Pt,this.end),!this.drag)return;Ol();const t=this.getSortable(this.placeholder);this===t?this.origin.index!==ee(this.placeholder)&&m(this.$el,"moved",[this,this.placeholder]):(m(t.$el,"added",[t,this.placeholder]),m(this.$el,"removed",[this,this.placeholder])),m(this.$el,"stop",[this,this.placeholder]),nt(this.drag),this.drag=null;for(const{clsPlaceholder:e,clsItem:i}of this.touched)for(const s of this.touched)B(s.items,e,i);this.touched=null,B(document.documentElement,this.clsDragState)},insert(t,e){x(this.items,this.clsItem);const i=()=>e?Ye(e,t):L(this.target,t);this.animate(i)},remove(t){!_(t,this.target)||this.animate(()=>nt(t))},getSortable(t){do{const e=this.$getComponent(t,"sortable");if(e&&(e===this||this.group!==!1&&e.group===this.group))return e}while(t=E(t))}}};let lo;function Al(t){let e=Date.now();lo=setInterval(()=>{let{x:i,y:s}=t;s+=document.scrollingElement.scrollTop;const n=(Date.now()-e)*.3;e=Date.now(),Q(document.elementFromPoint(i,t.y),/auto|scroll/).reverse().some(o=>{let{scrollTop:r,scrollHeight:a}=o;const{top:l,bottom:c,height:u}=rt(o);if(l<s&&l+35>s)r-=n;else if(c>s&&c-35<s)r+=n;else return;if(r>0&&r<a-u)return o.scrollTop=r,!0})},15)}function Ol(){clearInterval(lo)}function Bl(t,e){let i;if(["li","tr"].some(s=>ct(e,s))){i=v("<div>"),L(i,e.cloneNode(!0).children);for(const s of e.getAttributeNames())b(i,s,e.getAttribute(s))}else i=e.cloneNode(!0);return L(t,i),h(i,"margin","0","important"),h(i,{boxSizing:"border-box",width:e.offsetWidth,height:e.offsetHeight,padding:h(e,"padding")}),Z(i.firstElementChild,Z(e.firstElementChild)),i}function Ml(t,e){return t[wt(t,i=>Le(e,i.getBoundingClientRect()))]}function Dl(t,e,i,s,n,o){if(!P(t).length)return;const r=e.getBoundingClientRect();if(!o)return zl(t,i)||n<r.top+r.height/2?e:e.nextElementSibling;const a=i.getBoundingClientRect(),l=ho([r.top,r.bottom],[a.top,a.bottom]),c=l?s:n,u=l?"width":"height",d=l?"left":"top",f=l?"right":"bottom",p=a[u]<r[u]?r[u]-a[u]:0;return a[d]<r[d]?p&&c<r[d]+p?!1:e.nextElementSibling:p&&c>r[f]-p?!1:e}function zl(t,e){const i=P(t).length===1;i&&L(t,e);const s=P(t),n=s.some((o,r)=>{const a=o.getBoundingClientRect();return s.slice(r+1).some(l=>{const c=l.getBoundingClientRect();return!ho([a.left,a.right],[c.left,c.right])})});return i&&nt(e),n}function ho(t,e){return t[1]>e[0]&&e[1]>t[0]}var Nl={mixins:[he,At,sn],args:"title",props:{delay:Number,title:String},data:{pos:"top",title:"",delay:0,animation:["uk-animation-scale-up"],duration:100,cls:"uk-active"},beforeConnect(){this.id=`uk-tooltip-${this._uid}`,this._hasTitle=It(this.$el,"title"),b(this.$el,{title:"","aria-describedby":this.id}),Hl(this.$el)},disconnected(){this.hide(),b(this.$el,"title")||b(this.$el,"title",this._hasTitle?this.title:null)},methods:{show(){this.isToggled(this.tooltip||null)||!this.title||(this._unbind=z(document,`keydown ${gt}`,this.hide,!1,t=>t.type===gt&&!_(t.target,this.$el)||t.type==="keydown"&&t.keyCode===27),clearTimeout(this.showTimer),this.showTimer=setTimeout(this._show,this.delay))},async hide(){H(this.$el,"input:focus")||(clearTimeout(this.showTimer),this.isToggled(this.tooltip||null)&&(await this.toggleElement(this.tooltip,!1,!1),nt(this.tooltip),this.tooltip=null,this._unbind()))},_show(){this.tooltip=L(this.container,`<div id="${this.id}" class="uk-${this.$options.name}" role="tooltip"> <div class="uk-${this.$options.name}-inner">${this.title}</div> </div>`),S(this.tooltip,"toggled",(t,e)=>{if(!e)return;this.positionAt(this.tooltip,this.$el);const[i,s]=Fl(this.tooltip,this.$el,this.pos);this.origin=this.axis==="y"?`${Ze(i)}-${s}`:`${s}-${Ze(i)}`}),this.toggleElement(this.tooltip,!0)}},events:{focus:"show",blur:"hide",[`${jt} ${re}`](t){yt(t)||this[t.type===jt?"show":"hide"]()},[gt](t){yt(t)&&this.show()}}};function Hl(t){qe(t)||b(t,"tabindex","0")}function Fl(t,e,[i,s]){const n=I(t),o=I(e),r=[["left","right"],["top","bottom"]];for(const l of r){if(n[l[0]]>=o[l[1]]){i=l[1];break}if(n[l[1]]<=o[l[0]]){i=l[0];break}}const a=g(r[0],i)?r[1]:r[0];return n[a[0]]===o[a[0]]?s=a[0]:n[a[1]]===o[a[1]]?s=a[1]:s="center",[i,s]}var Ll={props:{allow:String,clsDragover:String,concurrent:Number,maxSize:Number,method:String,mime:String,msgInvalidMime:String,msgInvalidName:String,msgInvalidSize:String,multiple:Boolean,name:String,params:Object,type:String,url:String},data:{allow:!1,clsDragover:"uk-dragover",concurrent:1,maxSize:0,method:"POST",mime:!1,msgInvalidMime:"Invalid File Type: %s",msgInvalidName:"Invalid File Name: %s",msgInvalidSize:"Invalid File Size: %s Kilobytes Max",multiple:!1,name:"files[]",params:{},type:"",url:"",abort:C,beforeAll:C,beforeSend:C,complete:C,completeAll:C,error:C,fail:C,load:C,loadEnd:C,loadStart:C,progress:C},events:{change(t){!H(t.target,'input[type="file"]')||(t.preventDefault(),t.target.files&&this.upload(t.target.files),t.target.value="")},drop(t){xi(t);const e=t.dataTransfer;!(e!=null&&e.files)||(B(this.$el,this.clsDragover),this.upload(e.files))},dragenter(t){xi(t)},dragover(t){xi(t),x(this.$el,this.clsDragover)},dragleave(t){xi(t),B(this.$el,this.clsDragover)}},methods:{async upload(t){if(t=ki(t),!t.length)return;m(this.$el,"upload",[t]);for(const s of t){if(this.maxSize&&this.maxSize*1e3<s.size){this.fail(this.msgInvalidSize.replace("%s",this.maxSize));return}if(this.allow&&!co(this.allow,s.name)){this.fail(this.msgInvalidName.replace("%s",this.allow));return}if(this.mime&&!co(this.mime,s.type)){this.fail(this.msgInvalidMime.replace("%s",this.mime));return}}this.multiple||(t=t.slice(0,1)),this.beforeAll(this,t);const e=Wl(t,this.concurrent),i=async s=>{const n=new FormData;s.forEach(o=>n.append(this.name,o));for(const o in this.params)n.append(o,this.params[o]);try{const o=await xs(this.url,{data:n,method:this.method,responseType:this.type,beforeSend:r=>{const{xhr:a}=r;a.upload&&S(a.upload,"progress",this.progress);for(const l of["loadStart","load","loadEnd","abort"])S(a,l.toLowerCase(),this[l]);return this.beforeSend(r)}});this.complete(o),e.length?await i(e.shift()):this.completeAll(o)}catch(o){this.error(o)}};await i(e.shift())}}};function co(t,e){return e.match(new RegExp(`^${t.replace(/\//g,"\\/").replace(/\*\*/g,"(\\/[^\\/]+)*").replace(/\*/g,"[^\\/]+").replace(/((?!\\))\?/g,"$1.")}$`,"i"))}function Wl(t,e){const i=[];for(let s=0;s<t.length;s+=e)i.push(t.slice(s,s+e));return i}function xi(t){t.preventDefault(),t.stopPropagation()}var Rl=Object.freeze({__proto__:null,Countdown:qa,Filter:Za,Lightbox:ul,LightboxPanel:Vn,Notification:fl,Parallax:xl,Slider:Tl,SliderParallax:oo,Slideshow:Pl,SlideshowParallax:oo,Sortable:El,Tooltip:Nl,Upload:Ll});return xt(Rl,(t,e)=>tt.component(e,t)),tt});
|