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