uikit 3.14.4-dev.fea9fd466 → 3.15.1-dev.f849bb0c8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +32 -18
- package/build/util.js +1 -0
- package/dist/css/uikit-core-rtl.css +284 -63
- package/dist/css/uikit-core-rtl.min.css +1 -1
- package/dist/css/uikit-core.css +284 -63
- package/dist/css/uikit-core.min.css +1 -1
- package/dist/css/uikit-rtl.css +306 -92
- package/dist/css/uikit-rtl.min.css +1 -1
- package/dist/css/uikit.css +306 -92
- 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 +98 -131
- package/dist/js/components/lightbox-panel.min.js +1 -1
- package/dist/js/components/lightbox.js +98 -131
- package/dist/js/components/lightbox.min.js +1 -1
- package/dist/js/components/notification.js +4 -2
- 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 +101 -136
- 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 +518 -478
- package/dist/js/uikit-core.min.js +17 -1
- package/dist/js/uikit-icons.js +1 -1
- package/dist/js/uikit-icons.min.js +1 -1
- package/dist/js/uikit.js +521 -479
- package/dist/js/uikit.min.js +17 -1
- package/package.json +11 -11
- package/src/images/components/navbar-toggle-icon.svg +25 -3
- package/src/js/api/hooks.js +5 -1
- package/src/js/api/state.js +2 -2
- package/src/js/components/notification.js +3 -1
- package/src/js/core/accordion.js +9 -17
- package/src/js/core/alert.js +35 -14
- package/src/js/core/drop.js +110 -82
- package/src/js/core/navbar.js +33 -49
- package/src/js/core/offcanvas.js +8 -4
- package/src/js/core/scroll.js +37 -10
- package/src/js/core/toggle.js +3 -5
- package/src/js/mixin/modal.js +15 -12
- package/src/js/mixin/position.js +21 -22
- package/src/js/mixin/style.js +11 -0
- package/src/js/mixin/togglable.js +90 -124
- package/src/js/util/animation.js +9 -7
- package/src/js/util/class.js +3 -1
- package/src/js/util/filter.js +3 -7
- package/src/js/util/position.js +136 -130
- package/src/js/util/viewport.js +1 -1
- package/src/less/components/_import.less +1 -0
- package/src/less/components/drop.less +1 -18
- package/src/less/components/dropbar.less +126 -0
- package/src/less/components/dropdown.less +6 -20
- package/src/less/components/nav.less +214 -23
- package/src/less/components/navbar.less +26 -54
- package/src/less/theme/_import.less +1 -0
- package/src/less/theme/dropbar.less +44 -0
- package/src/less/theme/dropdown.less +0 -11
- package/src/less/theme/nav.less +46 -0
- package/src/less/theme/navbar.less +5 -36
- package/src/scss/components/_import.scss +1 -0
- package/src/scss/components/drop.scss +1 -18
- package/src/scss/components/dropbar.scss +126 -0
- package/src/scss/components/dropdown.scss +6 -20
- package/src/scss/components/nav.scss +163 -22
- package/src/scss/components/navbar.scss +26 -54
- package/src/scss/mixins-theme.scss +81 -35
- package/src/scss/mixins.scss +77 -3
- package/src/scss/theme/_import.scss +1 -0
- package/src/scss/theme/dropbar.scss +44 -0
- package/src/scss/theme/dropdown.scss +0 -8
- package/src/scss/theme/nav.scss +44 -0
- package/src/scss/theme/navbar.scss +4 -8
- package/src/scss/variables-theme.scss +58 -13
- package/src/scss/variables.scss +46 -8
- package/tests/accordion.html +2 -2
- package/tests/alert.html +2 -2
- package/tests/countdown.html +1 -1
- package/tests/drop.html +446 -416
- package/tests/dropbar.html +458 -0
- package/tests/dropdown.html +8 -470
- package/tests/filter.html +9 -12
- package/tests/flex.html +36 -36
- package/tests/form.html +1 -1
- package/tests/grid.html +22 -22
- package/tests/height.html +6 -6
- package/tests/index.html +127 -108
- package/tests/js/index.js +1 -4
- package/tests/lightbox.html +5 -5
- package/tests/list.html +8 -8
- package/tests/modal.html +13 -13
- package/tests/nav.html +121 -12
- package/tests/navbar.html +111 -220
- package/tests/offcanvas.html +10 -14
- package/tests/pagination.html +6 -6
- package/tests/parallax.html +1 -1
- package/tests/position.html +18 -16
- package/tests/progress.html +9 -9
- package/tests/scroll.html +7 -10
- package/tests/search.html +6 -6
- package/tests/slider.html +6 -5
- package/tests/slideshow.html +8 -8
- package/tests/sortable.html +6 -8
- package/tests/sticky-navbar.html +15 -15
- package/tests/sticky.html +8 -8
- package/tests/switcher.html +1 -1
- package/tests/tab.html +1 -1
- package/tests/table.html +7 -7
- package/tests/toggle.html +2 -2
- package/tests/tooltip.html +1 -1
- package/tests/upload.html +11 -11
- package/tests/utility.html +16 -16
package/dist/js/uikit.min.js
CHANGED
|
@@ -1 +1,17 @@
|
|
|
1
|
-
/*! UIkit 3.14.4-dev.fea9fd466 | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */(function(ue,de){typeof exports=="object"&&typeof module<"u"?module.exports=de():typeof define=="function"&&define.amd?define("uikit",de):(ue=typeof globalThis<"u"?globalThis:ue||self,ue.UIkit=de())})(this,function(){"use strict";const{hasOwnProperty:ue,toString:de}=Object.prototype;function _t(t,e){return ue.call(t,e)}const io=/\B([A-Z])/g,Dt=at(t=>t.replace(io,"-$1").toLowerCase()),so=/-(\w)/g,Yt=at(t=>t.replace(so,as)),xt=at(t=>t.length?as(null,t.charAt(0))+t.slice(1):"");function as(t,e){return e?e.toUpperCase():""}function et(t,e){return t==null||t.startsWith==null?void 0:t.startsWith(e)}function Gt(t,e){return t==null||t.endsWith==null?void 0:t.endsWith(e)}function g(t,e){return t==null||t.includes==null?void 0:t.includes(e)}function yt(t,e){return t==null||t.findIndex==null?void 0:t.findIndex(e)}const{isArray:rt,from:wi}=Array,{assign:$t}=Object;function gt(t){return typeof t=="function"}function It(t){return t!==null&&typeof t=="object"}function Pt(t){return de.call(t)==="[object Object]"}function Xt(t){return It(t)&&t===t.window}function Be(t){return xi(t)===9}function bi(t){return xi(t)>=1}function Jt(t){return xi(t)===1}function xi(t){return!Xt(t)&&It(t)&&t.nodeType}function Me(t){return typeof t=="boolean"}function _(t){return typeof t=="string"}function Kt(t){return typeof t=="number"}function Bt(t){return Kt(t)||_(t)&&!isNaN(t-parseFloat(t))}function fe(t){return!(rt(t)?t.length:It(t)?Object.keys(t).length:!1)}function G(t){return t===void 0}function yi(t){return Me(t)?t:t==="true"||t==="1"||t===""?!0:t==="false"||t==="0"?!1:t}function At(t){const e=Number(t);return isNaN(e)?!1:e}function v(t){return parseFloat(t)||0}function q(t){return y(t)[0]}function y(t){return t&&(bi(t)?[t]:Array.from(t).filter(bi))||[]}function Mt(t){var e;if(Xt(t))return t;t=q(t);const i=Be(t)?t:(e=t)==null?void 0:e.ownerDocument;return(i==null?void 0:i.defaultView)||window}function pe(t,e){return t===e||It(t)&&It(e)&&Object.keys(t).length===Object.keys(e).length&&kt(t,(i,s)=>i===e[s])}function $i(t,e,i){return t.replace(new RegExp(e+"|"+i,"g"),s=>s===e?i:e)}function Zt(t){return t[t.length-1]}function kt(t,e){for(const i in t)if(e(t[i],i)===!1)return!1;return!0}function Ne(t,e){return t.slice().sort((i,s)=>{let{[e]:n=0}=i,{[e]:o=0}=s;return n>o?1:o>n?-1:0})}function ls(t,e){const i=new Set;return t.filter(s=>{let{[e]:n}=s;return i.has(n)?!1:i.add(n)})}function U(t,e,i){return e===void 0&&(e=0),i===void 0&&(i=1),Math.min(Math.max(At(t)||0,e),i)}function P(){}function ki(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return[["bottom","top"],["right","left"]].every(s=>{let[n,o]=s;return Math.min(...e.map(r=>{let{[n]:a}=r;return a}))-Math.max(...e.map(r=>{let{[o]:a}=r;return a}))>0})}function ze(t,e){return t.x<=e.right&&t.x>=e.left&&t.y<=e.bottom&&t.y>=e.top}function Si(t,e,i){const s=e==="width"?"height":"width";return{[s]:t[e]?Math.round(i*t[s]/t[e]):t[s],[e]:i}}function hs(t,e){t={...t};for(const i in t)t=t[i]>e[i]?Si(t,i,e[i]):t;return t}function no(t,e){t=hs(t,e);for(const i in t)t=t[i]<e[i]?Si(t,i,e[i]):t;return t}const He={ratio:Si,contain:hs,cover:no};function Qt(t,e,i,s){i===void 0&&(i=0),s===void 0&&(s=!1),e=y(e);const{length:n}=e;return n?(t=Bt(t)?At(t):t==="next"?i+1:t==="previous"?i-1:e.indexOf(q(t)),s?U(t,0,n-1):(t%=n,t<0?t+n:t)):-1}function at(t){const e=Object.create(null);return i=>e[i]||(e[i]=t(i))}class Le{constructor(){this.promise=new Promise((e,i)=>{this.reject=i,this.resolve=e})}}function k(t,e,i){if(It(e)){for(const n in e)k(t,n,e[n]);return}if(G(i)){var s;return(s=q(t))==null?void 0:s.getAttribute(e)}else for(const n of y(t))gt(i)&&(i=i.call(n,k(n,e))),i===null?ge(n,e):n.setAttribute(e,i)}function Nt(t,e){return y(t).some(i=>i.hasAttribute(e))}function ge(t,e){const i=y(t);for(const s of e.split(" "))for(const n of i)n.removeAttribute(s)}function lt(t,e){for(const i of[e,"data-"+e])if(Nt(t,i))return k(t,i)}const oo={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 Ti(t){return y(t).some(e=>oo[e.tagName.toLowerCase()])}function W(t){return y(t).some(e=>e.offsetWidth||e.offsetHeight||e.getClientRects().length)}const me="input,select,textarea,button";function Ci(t){return y(t).some(e=>H(e,me))}const Fe=me+",a[href],[tabindex]";function We(t){return H(t,Fe)}function E(t){var e;return(e=q(t))==null?void 0:e.parentElement}function ve(t,e){return y(t).filter(i=>H(i,e))}function H(t,e){return y(t).some(i=>i.matches(e))}function it(t,e){return et(e,">")&&(e=e.slice(1)),Jt(t)?t.closest(e):y(t).map(i=>it(i,e)).filter(Boolean)}function B(t,e){return _(e)?H(t,e)||!!it(t,e):t===e||q(e).contains(q(t))}function we(t,e){const i=[];for(;t=E(t);)(!e||H(t,e))&&i.push(t);return i}function M(t,e){t=q(t);const i=t?y(t.children):[];return e?ve(i,e):i}function Ut(t,e){return e?y(t).indexOf(q(e)):M(E(t)).indexOf(t)}function St(t,e){return Ii(t,us(t,e))}function be(t,e){return xe(t,us(t,e))}function Ii(t,e){return q(ds(t,e,"querySelector"))}function xe(t,e){return y(ds(t,e,"querySelectorAll"))}const ro=/(^|[^\\],)\s*[!>+~-]/,cs=at(t=>t.match(ro));function us(t,e){return e===void 0&&(e=document),_(t)&&cs(t)||Be(e)?e:e.ownerDocument}const ao=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,lo=at(t=>t.replace(ao,"$1 *"));function ds(t,e,i){if(e===void 0&&(e=document),!t||!_(t))return t;if(t=lo(t),cs(t)){const s=co(t);t="";for(let n of s){let o=e;if(n[0]==="!"){const r=n.substr(1).trim().split(" ");if(o=it(E(e),r[0]),n=r.slice(1).join(" ").trim(),!n.length&&s.length===1)return o}if(n[0]==="-"){const r=n.substr(1).trim().split(" "),a=(o||e).previousElementSibling;o=H(a,n.substr(1))?a:null,n=r.slice(1).join(" ")}o&&(t+=(t?",":"")+uo(o)+" "+n)}e=document}try{return e[i](t)}catch{return null}}const ho=/.*?[^\\](?:,|$)/g,co=at(t=>t.match(ho).map(e=>e.replace(/,$/,"").trim()));function uo(t){const e=[];for(;t.parentNode;){const i=k(t,"id");if(i){e.unshift("#"+Pi(i));break}else{let{tagName:s}=t;s!=="HTML"&&(s+=":nth-child("+(Ut(t)+1)+")"),e.unshift(s),t=t.parentNode}}return e.join(" > ")}function Pi(t){return _(t)?CSS.escape(t):""}function S(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];let[s,n,o,r,a=!1]=Ai(e);r.length>1&&(r=po(r)),a!=null&&a.self&&(r=go(r)),o&&(r=fo(o,r));for(const l of n)for(const h of s)h.addEventListener(l,r,a);return()=>te(s,n,r,a)}function te(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];let[s,n,,o,r=!1]=Ai(e);for(const a of n)for(const l of s)l.removeEventListener(a,o,r)}function N(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];const[s,n,o,r,a=!1,l]=Ai(e),h=S(s,n,o,u=>{const d=!l||l(u);d&&(h(),r(u,d))},a);return h}function p(t,e,i){return Ei(t).every(s=>s.dispatchEvent(zt(e,!0,!0,i)))}function zt(t,e,i,s){return e===void 0&&(e=!0),i===void 0&&(i=!1),_(t)&&(t=new CustomEvent(t,{bubbles:e,cancelable:i,detail:s})),t}function Ai(t){return t[0]=Ei(t[0]),_(t[1])&&(t[1]=t[1].split(" ")),gt(t[2])&&t.splice(2,0,!1),t}function fo(t,e){return i=>{const s=t[0]===">"?xe(t,i.currentTarget).reverse().filter(n=>B(i.target,n))[0]:it(i.target,t);s&&(i.current=s,e.call(this,i))}}function po(t){return e=>rt(e.detail)?t(e,...e.detail):t(e)}function go(t){return function(e){if(e.target===e.currentTarget||e.target===e.current)return t.call(null,e)}}function fs(t){return t&&"addEventListener"in t}function mo(t){return fs(t)?t:q(t)}function Ei(t){return rt(t)?t.map(mo).filter(Boolean):_(t)?xe(t):fs(t)?[t]:y(t)}function Tt(t){return t.pointerType==="touch"||!!t.touches}function ee(t){var e,i;const{clientX:s,clientY:n}=((e=t.touches)==null?void 0:e[0])||((i=t.changedTouches)==null?void 0:i[0])||t;return{x:s,y:n}}function ps(t,e){const i={data:null,method:"GET",headers:{},xhr:new XMLHttpRequest,beforeSend:P,responseType:"",...e};return Promise.resolve().then(()=>i.beforeSend(i)).then(()=>vo(t,i))}function vo(t,e){return new Promise((i,s)=>{const{xhr:n}=e;for(const o in e)if(o in n)try{n[o]=e[o]}catch{}n.open(e.method.toUpperCase(),t);for(const o in e.headers)n.setRequestHeader(o,e.headers[o]);S(n,"load",()=>{n.status===0||n.status>=200&&n.status<300||n.status===304?i(n):s($t(Error(n.statusText),{xhr:n,status:n.status}))}),S(n,"error",()=>s($t(Error("Network Error"),{xhr:n}))),S(n,"timeout",()=>s($t(Error("Network Timeout"),{xhr:n}))),n.send(e.data)})}function gs(t,e,i){return new Promise((s,n)=>{const o=new Image;o.onerror=r=>{n(r)},o.onload=()=>{s(o)},i&&(o.sizes=i),e&&(o.srcset=e),o.src=t})}const wo={"animation-iteration-count":!0,"column-count":!0,"fill-opacity":!0,"flex-grow":!0,"flex-shrink":!0,"font-weight":!0,"line-height":!0,opacity:!0,order:!0,orphans:!0,"stroke-dasharray":!0,"stroke-dashoffset":!0,widows:!0,"z-index":!0,zoom:!0};function c(t,e,i,s){s===void 0&&(s="");const n=y(t);for(const o of n)if(_(e)){if(e=Oi(e),G(i))return getComputedStyle(o).getPropertyValue(e);o.style.setProperty(e,Bt(i)&&!wo[e]?i+"px":i||Kt(i)?i:"",s)}else if(rt(e)){const r={};for(const a of e)r[a]=c(o,a);return r}else It(e)&&(s=i,kt(e,(r,a)=>c(o,a,r,s)));return n[0]}const Oi=at(t=>bo(t));function bo(t){if(et(t,"--"))return t;t=Dt(t);const{style:e}=document.documentElement;if(t in e)return t;for(const i of["webkit","moz"]){const s="-"+i+"-"+t;if(s in e)return s}}function b(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),s=1;s<e;s++)i[s-1]=arguments[s];ms(t,i,"add")}function O(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),s=1;s<e;s++)i[s-1]=arguments[s];ms(t,i,"remove")}function _i(t,e){k(t,"class",i=>(i||"").replace(new RegExp("\\b"+e+"\\b","g"),""))}function Di(t){!(arguments.length<=1)&&arguments[1]&&O(t,arguments.length<=1?void 0:arguments[1]),!(arguments.length<=2)&&arguments[2]&&b(t,arguments.length<=2?void 0:arguments[2])}function A(t,e){return[e]=Bi(e),!!e&&y(t).some(i=>i.classList.contains(e))}function L(t,e,i){const s=Bi(e);G(i)||(i=!!i);for(const n of y(t))for(const o of s)n.classList.toggle(o,i)}function ms(t,e,i){e=e.reduce((s,n)=>s.concat(Bi(n)),[]);for(const s of y(t))s.classList[i](...e)}function Bi(t){return String(t).split(/\s|,/).filter(Boolean)}function vs(t,e,i,s){return i===void 0&&(i=400),s===void 0&&(s="linear"),i=Math.round(i),Promise.all(y(t).map(n=>new Promise((o,r)=>{for(const l in e){const h=c(n,l);h===""&&c(n,l,h)}const a=setTimeout(()=>p(n,"transitionend"),i);N(n,"transitionend transitioncanceled",l=>{let{type:h}=l;clearTimeout(a),O(n,"uk-transition"),c(n,{transitionProperty:"",transitionDuration:"",transitionTimingFunction:""}),h==="transitioncanceled"?r():o(n)},{self:!0}),b(n,"uk-transition"),c(n,{transitionProperty:Object.keys(e).map(Oi).join(","),transitionDuration:i+"ms",transitionTimingFunction:s,...e})})))}const T={start:vs,stop(t){return p(t,"transitionend"),Promise.resolve()},cancel(t){p(t,"transitioncanceled")},inProgress(t){return A(t,"uk-transition")}},ye="uk-animation-";function Mi(t,e,i,s,n){return i===void 0&&(i=200),Promise.all(y(t).map(o=>new Promise((r,a)=>{p(o,"animationcanceled");const l=setTimeout(()=>p(o,"animationend"),i);N(o,"animationend animationcanceled",h=>{let{type:u}=h;clearTimeout(l),u==="animationcanceled"?a():r(o),c(o,"animationDuration",""),_i(o,ye+"\\S*")},{self:!0}),c(o,"animationDuration",i+"ms"),b(o,e,ye+(n?"leave":"enter")),et(e,ye)&&(s&&b(o,"uk-transform-origin-"+s),n&&b(o,ye+"reverse"))})))}const xo=new RegExp(ye+"(enter|leave)"),ft={in:Mi,out(t,e,i,s){return Mi(t,e,i,s,!0)},inProgress(t){return xo.test(k(t,"class"))},cancel(t){p(t,"animationcanceled")}},Ht={width:["left","right"],height:["top","bottom"]};function $(t){const e=Jt(t)?q(t).getBoundingClientRect():{height:K(t),width:$e(t),top:0,left:0};return{height:e.height,width:e.width,top:e.top,left:e.left,bottom:e.top+e.height,right:e.left+e.width}}function C(t,e){const i=$(t);if(t){const{scrollY:n,scrollX:o}=Mt(t),r={height:n,width:o};for(const a in Ht)for(const l of Ht[a])i[l]+=r[a]}if(!e)return i;const s=c(t,"position");kt(c(t,["left","top"]),(n,o)=>c(t,o,e[o]-i[o]+v(s==="absolute"&&n==="auto"?je(t)[o]:n)))}function je(t){let{top:e,left:i}=C(t);const{ownerDocument:{body:s,documentElement:n},offsetParent:o}=q(t);let r=o||n;for(;r&&(r===s||r===n)&&c(r,"position")==="static";)r=r.parentNode;if(Jt(r)){const a=C(r);e-=a.top+v(c(r,"borderTopWidth")),i-=a.left+v(c(r,"borderLeftWidth"))}return{top:e-v(c(t,"marginTop")),left:i-v(c(t,"marginLeft"))}}function Lt(t){t=q(t);const e=[t.offsetTop,t.offsetLeft];for(;t=t.offsetParent;)if(e[0]+=t.offsetTop+v(c(t,"borderTopWidth")),e[1]+=t.offsetLeft+v(c(t,"borderLeftWidth")),c(t,"position")==="fixed"){const i=Mt(t);return e[0]+=i.scrollY,e[1]+=i.scrollX,e}return e}const K=ws("height"),$e=ws("width");function ws(t){const e=xt(t);return(i,s)=>{if(G(s)){if(Xt(i))return i["inner"+e];if(Be(i)){const n=i.documentElement;return Math.max(n["offset"+e],n["scroll"+e])}return i=q(i),s=c(i,t),s=s==="auto"?i["offset"+e]:v(s)||0,s-ie(i,t)}else return c(i,t,!s&&s!==0?"":+s+ie(i,t)+"px")}}function ie(t,e,i){return i===void 0&&(i="border-box"),c(t,"boxSizing")===i?Ht[e].map(xt).reduce((s,n)=>s+v(c(t,"padding"+n))+v(c(t,"border"+n+"Width")),0):0}function Re(t){for(const e in Ht)for(const i in Ht[e])if(Ht[e][i]===t)return Ht[e][1-i];return t}function Z(t,e,i,s){return e===void 0&&(e="width"),i===void 0&&(i=window),s===void 0&&(s=!1),_(t)?$o(t).reduce((n,o)=>{const r=So(o);return r&&(o=To(r==="vh"?K(Mt(i)):r==="vw"?$e(Mt(i)):s?i["offset"+xt(e)]:$(i)[e],o)),n+v(o)},0):v(t)}const yo=/-?\d+(?:\.\d+)?(?:v[wh]|%|px)?/g,$o=at(t=>t.toString().replace(/\s/g,"").match(yo)||[]),ko=/(?:v[hw]|%)$/,So=at(t=>(t.match(ko)||[])[0]);function To(t,e){return t*v(e)/100}function Ni(t){if(document.readyState!=="loading"){t();return}N(document,"DOMContentLoaded",t)}function mt(t,e){var i;return(t==null||(i=t.tagName)==null?void 0:i.toLowerCase())===e.toLowerCase()}function bs(t){return t=w(t),t.innerHTML="",t}function Et(t,e){return G(e)?w(t).innerHTML:j(bs(t),e)}const Co=Ve("prepend"),j=Ve("append"),zi=Ve("before"),qe=Ve("after");function Ve(t){return function(e,i){var s;const n=y(_(i)?Ft(i):i);return(s=w(e))==null||s[t](...n),ys(n)}}function ct(t){y(t).forEach(e=>e.remove())}function Ye(t,e){for(e=q(zi(t,e));e.firstChild;)e=e.firstChild;return j(e,t),e}function xs(t,e){return y(y(t).map(i=>i.hasChildNodes()?Ye(y(i.childNodes),e):j(i,e)))}function Ge(t){y(t).map(E).filter((e,i,s)=>s.indexOf(e)===i).forEach(e=>e.replaceWith(...e.childNodes))}const Io=/^\s*<(\w+|!)[^>]*>/,Po=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function Ft(t){const e=Po.exec(t);if(e)return document.createElement(e[1]);const i=document.createElement("div");return Io.test(t)?i.insertAdjacentHTML("beforeend",t.trim()):i.textContent=t,ys(i.childNodes)}function ys(t){return t.length>1?t:t[0]}function vt(t,e){if(!!Jt(t))for(e(t),t=t.firstElementChild;t;){const i=t.nextElementSibling;vt(t,e),t=i}}function w(t,e){return $s(t)?q(Ft(t)):Ii(t,e)}function D(t,e){return $s(t)?y(Ft(t)):xe(t,e)}function $s(t){return _(t)&&et(t.trim(),"<")}const Wt=typeof window<"u",X=Wt&&k(document.documentElement,"dir")==="rtl",jt=Wt&&"ontouchstart"in window,se=Wt&&window.PointerEvent,pt=se?"pointerdown":jt?"touchstart":"mousedown",Xe=se?"pointermove":jt?"touchmove":"mousemove",Ot=se?"pointerup":jt?"touchend":"mouseup",Rt=se?"pointerenter":jt?"":"mouseenter",ne=se?"pointerleave":jt?"":"mouseleave",Je=se?"pointercancel":"touchcancel",z={reads:[],writes:[],read(t){return this.reads.push(t),Li(),t},write(t){return this.writes.push(t),Li(),t},clear(t){Ss(this.reads,t),Ss(this.writes,t)},flush:Hi};function Hi(t){ks(z.reads),ks(z.writes.splice(0)),z.scheduled=!1,(z.reads.length||z.writes.length)&&Li(t+1)}const Ao=4;function Li(t){z.scheduled||(z.scheduled=!0,t&&t<Ao?Promise.resolve().then(()=>Hi(t)):requestAnimationFrame(()=>Hi(1)))}function ks(t){let e;for(;e=t.shift();)try{e()}catch(i){console.error(i)}}function Ss(t,e){const i=t.indexOf(e);return~i&&t.splice(i,1)}function Fi(){}Fi.prototype={positions:[],init(){this.positions=[];let t;this.unbind=S(document,"mousemove",e=>t=ee(e)),this.interval=setInterval(()=>{!t||(this.positions.push(t),this.positions.length>5&&this.positions.shift())},50)},cancel(){var t;(t=this.unbind)==null||t.call(this),this.interval&&clearInterval(this.interval)},movesTo(t){if(this.positions.length<2)return!1;const e=t.getBoundingClientRect(),{left:i,right:s,top:n,bottom:o}=e,[r]=this.positions,a=Zt(this.positions),l=[r,a];return ze(a,e)?!1:[[{x:i,y:n},{x:s,y:o}],[{x:i,y:o},{x:s,y:n}]].some(u=>{const d=Eo(l,u);return d&&ze(d,e)})}};function Eo(t,e){let[{x:i,y:s},{x:n,y:o}]=t,[{x:r,y:a},{x:l,y:h}]=e;const u=(h-a)*(n-i)-(l-r)*(o-s);if(u===0)return!1;const d=((l-r)*(s-a)-(h-a)*(i-r))/u;return d<0?!1:{x:i+d*(n-i),y:s+d*(o-s)}}function oe(t,e,i,s){s===void 0&&(s=!0);const n=new IntersectionObserver(s?(o,r)=>{o.some(a=>a.isIntersecting)&&e(o,r)}:e,i);for(const o of y(t))n.observe(o);return n}const Oo=Wt&&window.ResizeObserver;function Ke(t,e,i){return i===void 0&&(i={box:"border-box"}),Oo?Cs(ResizeObserver,t,e,i):(_o(),ke.add(e),{disconnect(){ke.delete(e)}})}let ke;function _o(){if(ke)return;ke=new Set;let t;const e=()=>{if(!t){t=!0,z.read(()=>t=!1);for(const i of ke)i()}};S(window,"load resize",e),S(document,"loadedmetadata load",e,!0)}function Ts(t,e,i){return Cs(MutationObserver,t,e,i)}function Cs(t,e,i,s){const n=new t(i);for(const o of y(e))n.observe(o,s);return n}const Q={};Q.events=Q.created=Q.beforeConnect=Q.connected=Q.beforeDisconnect=Q.disconnected=Q.destroy=Wi,Q.args=function(t,e){return e!==!1&&Wi(e||t)},Q.update=function(t,e){return Ne(Wi(t,gt(e)?{read:e}:e),"order")},Q.props=function(t,e){if(rt(e)){const i={};for(const s of e)i[s]=String;e=i}return Q.methods(t,e)},Q.computed=Q.methods=function(t,e){return e?t?{...t,...e}:e:t},Q.data=function(t,e,i){return i?Is(t,e,i):e?t?function(s){return Is(t,e,s)}:e:t};function Is(t,e,i){return Q.computed(gt(t)?t.call(i,i):t,gt(e)?e.call(i,i):e)}function Wi(t,e){return t=t&&!rt(t)?[t]:t,e?t?t.concat(e):rt(e)?e:[e]:t}function Do(t,e){return G(e)?t:e}function re(t,e,i){const s={};if(gt(e)&&(e=e.options),e.extends&&(t=re(t,e.extends,i)),e.mixins)for(const o of e.mixins)t=re(t,o,i);for(const o in t)n(o);for(const o in e)_t(t,o)||n(o);function n(o){s[o]=(Q[o]||Do)(t[o],e[o],i)}return s}function Se(t,e){e===void 0&&(e=[]);try{return t?et(t,"{")?JSON.parse(t):e.length&&!g(t,":")?{[e[0]]:t}:t.split(";").reduce((i,s)=>{const[n,o]=s.split(/:(.*)/);return n&&!G(o)&&(i[n.trim()]=o.trim()),i},{}):{}}catch{return{}}}function Ps(t){if(Qe(t)&&ji(t,{func:"playVideo",method:"play"}),Ze(t))try{t.play().catch(P)}catch{}}function As(t){Qe(t)&&ji(t,{func:"pauseVideo",method:"pause"}),Ze(t)&&t.pause()}function Es(t){Qe(t)&&ji(t,{func:"mute",method:"setVolume",value:0}),Ze(t)&&(t.muted=!0)}function Os(t){return Ze(t)||Qe(t)}function Ze(t){return mt(t,"video")}function Qe(t){return mt(t,"iframe")&&(_s(t)||Ds(t))}function _s(t){return!!t.src.match(/\/\/.*?youtube(-nocookie)?\.[a-z]+\/(watch\?v=[^&\s]+|embed)|youtu\.be\/.*/)}function Ds(t){return!!t.src.match(/vimeo\.com\/video\/.*/)}async function ji(t,e){await Mo(t),Bs(t,e)}function Bs(t,e){try{t.contentWindow.postMessage(JSON.stringify({event:"command",...e}),"*")}catch{}}const Ri="_ukPlayer";let Bo=0;function Mo(t){if(t[Ri])return t[Ri];const e=_s(t),i=Ds(t),s=++Bo;let n;return t[Ri]=new Promise(o=>{e&&N(t,"load",()=>{const r=()=>Bs(t,{event:"listening",id:s});n=setInterval(r,100),r()}),N(window,"message",o,!1,r=>{let{data:a}=r;try{return a=JSON.parse(a),a&&(e&&a.id===s&&a.event==="onReady"||i&&Number(a.player_id)===s)}catch{}}),t.src=""+t.src+(g(t.src,"?")?"&":"?")+(e?"enablejsapi=1":"api=1&player_id="+s)}).then(()=>clearInterval(n))}function Ue(t,e,i){return e===void 0&&(e=0),i===void 0&&(i=0),W(t)?ki(...st(t).map(s=>{const{top:n,left:o,bottom:r,right:a}=ut(s);return{top:n-e,left:o-i,bottom:r+e,right:a+i}}).concat(C(t))):!1}function qi(t,e){let{offset:i=0}=e===void 0?{}:e;const s=W(t)?st(t):[];return s.reduce((a,l,h)=>{const{scrollTop:u,scrollHeight:d,offsetHeight:f}=l,m=ut(l),I=d-m.height,{height:x,top:J}=s[h-1]?ut(s[h-1]):C(t);let Y=Math.ceil(J-m.top-i+u);return i>0&&f<x+i?Y+=i:i=0,Y>I?(i-=Y-I,Y=I):Y<0&&(i-=Y,Y=0),()=>n(l,Y-u).then(a)},()=>Promise.resolve())();function n(a,l){return new Promise(h=>{const u=a.scrollTop,d=o(Math.abs(l)),f=Date.now();(function m(){const I=r(U((Date.now()-f)/d));a.scrollTop=u+l*I,I===1?h():requestAnimationFrame(m)})()})}function o(a){return 40*Math.pow(a,.375)}function r(a){return .5*(1-Math.cos(Math.PI*a))}}function Vi(t,e,i){if(e===void 0&&(e=0),i===void 0&&(i=0),!W(t))return 0;const[s]=st(t,/auto|scroll/,!0),{scrollHeight:n,scrollTop:o}=s,{height:r}=ut(s),a=n-r,l=Lt(t)[0]-Lt(s)[0],h=Math.max(0,l-r+e),u=Math.min(a,l+t.offsetHeight-i);return U((o-h)/(u-h))}function st(t,e,i){e===void 0&&(e=/auto|scroll|hidden|clip/),i===void 0&&(i=!1);const s=Ms(t);let n=we(t).reverse();n=n.slice(n.indexOf(s)+1);const o=yt(n,r=>c(r,"position")==="fixed");return~o&&(n=n.slice(o)),[s].concat(n.filter(r=>e.test(c(r,"overflow"))&&(!i||r.scrollHeight>ut(r).height))).reverse()}function ut(t){const e=Mt(t),{document:{documentElement:i}}=e;let s=t===Ms(t)?e:t;const{visualViewport:n}=e;if(Xt(s)&&n){let{height:r,width:a,scale:l,pageTop:h,pageLeft:u}=n;return r=Math.round(r*l),a=Math.round(a*l),{height:r,width:a,top:h,left:u,bottom:h+r,right:u+a}}let o=C(s);for(let[r,a,l,h]of[["width","x","left","right"],["height","y","top","bottom"]])Xt(s)?s=i:o[l]+=v(c(s,"border"+xt(l)+"Width")),o[r]=o[a]=s["client"+xt(r)],o[h]=o[r]+o[l];return o}function Ms(t){return Mt(t).document.scrollingElement}const wt=[["width","x","left","right"],["height","y","top","bottom"]];function Ns(t,e,i){i={attach:{element:["left","top"],target:["left","top"],...i.attach},offset:[0,0],...i};const s=i.flip?Ls(t,e,i):zs(t,e,i);C(t,s)}function zs(t,e,i){let{attach:s,offset:n}={attach:{element:["left","top"],target:["left","top"],...i.attach},offset:[0,0],...i};const o=C(t),r=C(e);for(const[a,[l,h,u,d]]of Object.entries(wt))o[u]=o[h]=r[u]+Hs(s.target[a],d,r[l])-Hs(s.element[a],d,o[l])+ +n[a],o[d]=o[u]+o[l];return o}function Hs(t,e,i){return t==="center"?i/2:t===e?i:0}function Ls(t,e,i){const s=zs(t,e,i),n=C(e);let{flip:o,attach:{element:r,target:a},offset:l,boundary:h,viewport:u,viewportOffset:d}=i,f=st(t);h===e&&(f=f.filter(x=>x!==h));const[m]=f;f.push(u);const I={...s};for(const[x,[J,Y,R,ht]]of Object.entries(wt)){if(o!==!0&&!g(o,Y))continue;const Un=!Ws(s,n,x)&&Ws(s,n,1-x);u=Fs(...f.filter(Boolean).map(ut)),d&&(u[R]+=d,u[ht]-=d),h&&!Un&&s[J]<=C(h)[J]&&(u=Fs(u,C(h)));const to=s[R]>=u[R],eo=s[ht]<=u[ht];if(to&&eo)continue;let ce;if(Un){if(r[x]===ht&&to||r[x]===R&&eo)continue;if(ce=(r[x]===R?-s[J]:r[x]===ht?s[J]:0)+(a[x]===R?n[J]:a[x]===ht?-n[J]:0)-l[x]*2,!Yi({...s,[R]:s[R]+ce,[ht]:s[ht]+ce},m,x)){if(Yi(s,m,x))continue;if(i.recursion)return!1;if(o===!0||g(o,wt[1-x][1])){const rs=Ls(t,e,{...i,attach:{element:r.map(js).reverse(),target:a.map(js).reverse()},offset:l.reverse(),flip:o===!0?o:[...o,wt[1-x][1]],recursion:!0});if(rs&&Yi(rs,m,1-x))return rs}continue}}else ce=U(U(s[R],u[R],u[ht]-s[J]),n[R]-s[J]+l[x],n[ht]-l[x])-s[R];I[R]=s[Y]=s[R]+ce,I[ht]+=ce}return I}function Fs(){let t={};for(var e=arguments.length,i=new Array(e),s=0;s<e;s++)i[s]=arguments[s];for(const n of i)for(const[,,o,r]of wt)t[o]=Math.max(t[o]||0,n[o]),t[r]=Math.min(...[t[r],n[r]].filter(Boolean));return t}function Yi(t,e,i){const s=ut(e),[n,,o,r]=wt[i];return s[o]-=e["scroll"+xt(o)],s[r]=s[o]+e["scroll"+xt(n)],t[o]>=s[o]&&t[r]<=s[r]}function Ws(t,e,i){const[,,s,n]=wt[i];return t[n]>e[s]&&e[n]>t[s]}function js(t){for(let e=0;e<wt.length;e++){const i=wt[e].indexOf(t);if(~i)return wt[1-e][i%2+2]}}var No=Object.freeze({__proto__:null,ajax:ps,getImage:gs,transition:vs,Transition:T,animate:Mi,Animation:ft,attr:k,hasAttr:Nt,removeAttr:ge,data:lt,addClass:b,removeClass:O,removeClasses:_i,replaceClass:Di,hasClass:A,toggleClass:L,dimensions:$,offset:C,position:je,offsetPosition:Lt,height:K,width:$e,boxModelAdjust:ie,flipPosition:Re,toPx:Z,ready:Ni,isTag:mt,empty:bs,html:Et,prepend:Co,append:j,before:zi,after:qe,remove:ct,wrapAll:Ye,wrapInner:xs,unwrap:Ge,fragment:Ft,apply:vt,$:w,$$:D,inBrowser:Wt,isRtl:X,hasTouch:jt,pointerDown:pt,pointerMove:Xe,pointerUp:Ot,pointerEnter:Rt,pointerLeave:ne,pointerCancel:Je,on:S,off:te,once:N,trigger:p,createEvent:zt,toEventTargets:Ei,isTouch:Tt,getEventPos:ee,fastdom:z,isVoidElement:Ti,isVisible:W,selInput:me,isInput:Ci,selFocusable:Fe,isFocusable:We,parent:E,filter:ve,matches:H,closest:it,within:B,parents:we,children:M,index:Ut,hasOwn:_t,hyphenate:Dt,camelize:Yt,ucfirst:xt,startsWith:et,endsWith:Gt,includes:g,findIndex:yt,isArray:rt,toArray:wi,assign:$t,isFunction:gt,isObject:It,isPlainObject:Pt,isWindow:Xt,isDocument:Be,isNode:bi,isElement:Jt,isBoolean:Me,isString:_,isNumber:Kt,isNumeric:Bt,isEmpty:fe,isUndefined:G,toBoolean:yi,toNumber:At,toFloat:v,toNode:q,toNodes:y,toWindow:Mt,isEqual:pe,swap:$i,last:Zt,each:kt,sortBy:Ne,uniqueBy:ls,clamp:U,noop:P,intersectRect:ki,pointInRect:ze,Dimensions:He,getIndex:Qt,memoize:at,Deferred:Le,MouseTracker:Fi,observeIntersection:oe,observeResize:Ke,observeMutation:Ts,mergeOptions:re,parseOptions:Se,play:Ps,pause:As,mute:Es,isVideo:Os,positionAt:Ns,query:St,queryAll:be,find:Ii,findAll:xe,escape:Pi,css:c,propName:Oi,isInView:Ue,scrollIntoView:qi,scrolledOver:Vi,scrollParents:st,offsetViewport:ut});function zo(t){const e=t.data;t.use=function(n){if(!n.installed)return n.call(null,this),n.installed=!0,this},t.mixin=function(n,o){o=(_(o)?t.component(o):o)||this,o.options=re(o.options,n)},t.extend=function(n){n=n||{};const o=this,r=function(l){this._init(l)};return r.prototype=Object.create(o.prototype),r.prototype.constructor=r,r.options=re(o.options,n),r.super=o,r.extend=o.extend,r},t.update=function(n,o){n=n?q(n):document.body;for(const r of we(n).reverse())s(r[e],o);vt(n,r=>s(r[e],o))};let i;Object.defineProperty(t,"container",{get(){return i||document.body},set(n){i=w(n)}});function s(n,o){if(!!n)for(const r in n)n[r]._connected&&n[r]._callUpdate(o)}}function Ho(t){t.prototype._callHook=function(s){var n;(n=this.$options[s])==null||n.forEach(o=>o.call(this))},t.prototype._callConnected=function(){this._connected||(this._data={},this._computed={},this._initProps(),this._callHook("beforeConnect"),this._connected=!0,this._initEvents(),this._initObservers(),this._callHook("connected"),this._callUpdate())},t.prototype._callDisconnected=function(){!this._connected||(this._callHook("beforeDisconnect"),this._disconnectObservers(),this._unbindEvents(),this._callHook("disconnected"),this._connected=!1,delete this._watch)},t.prototype._callUpdate=function(s){s===void 0&&(s="update"),this._connected&&((s==="update"||s==="resize")&&this._callWatches(),this.$options.update&&(this._updates||(this._updates=new Set,z.read(()=>{this._connected&&e.call(this,this._updates),delete this._updates})),this._updates.add(s.type||s)))},t.prototype._callWatches=function(){if(this._watch)return;const s=!_t(this,"_watch");this._watch=z.read(()=>{this._connected&&i.call(this,s),this._watch=null})};function e(s){for(const{read:n,write:o,events:r=[]}of this.$options.update){if(!s.has("update")&&!r.some(l=>s.has(l)))continue;let a;n&&(a=n.call(this,this._data,s),a&&Pt(a)&&$t(this._data,a)),o&&a!==!1&&z.write(()=>o.call(this,this._data,s))}}function i(s){const{$options:{computed:n}}=this,o={...this._computed};this._computed={};for(const r in n){const{watch:a,immediate:l}=n[r];a&&(s&&l||_t(o,r)&&!pe(o[r],this[r]))&&a.call(this,this[r],o[r])}}}function Lo(t){let e=0;t.prototype._init=function(i){i=i||{},i.data=Ro(i,this.constructor.options),this.$options=re(this.constructor.options,i,this),this.$el=null,this.$props={},this._uid=e++,this._initData(),this._initMethods(),this._initComputeds(),this._callHook("created"),i.el&&this.$mount(i.el)},t.prototype._initData=function(){const{data:i={}}=this.$options;for(const s in i)this.$props[s]=this[s]=i[s]},t.prototype._initMethods=function(){const{methods:i}=this.$options;if(i)for(const s in i)this[s]=i[s].bind(this)},t.prototype._initComputeds=function(){const{computed:i}=this.$options;if(this._computed={},i)for(const s in i)Fo(this,s,i[s])},t.prototype._initProps=function(i){let s;i=i||Rs(this.$options,this.$name);for(s in i)G(i[s])||(this.$props[s]=i[s]);const n=[this.$options.computed,this.$options.methods];for(s in this.$props)s in i&&Wo(n,s)&&(this[s]=this.$props[s])},t.prototype._initEvents=function(){this._events=[];for(const i of this.$options.events||[])if(_t(i,"handler"))ti(this,i);else for(const s in i)ti(this,i[s],s)},t.prototype._unbindEvents=function(){this._events.forEach(i=>i()),delete this._events},t.prototype._initObservers=function(){this._observers=[Vo(this)],this.$options.computed&&this.registerObserver(qo(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 Rs(t,e){const i={},{args:s=[],props:n={},el:o}=t;if(!n)return i;for(const a in n){const l=Dt(a);let h=lt(o,l);G(h)||(h=n[a]===Boolean&&h===""?!0:Gi(n[a],h),!(l==="target"&&(!h||et(h,"_")))&&(i[a]=h))}const r=Se(lt(o,e),s);for(const a in r){const l=Yt(a);n[l]!==void 0&&(i[l]=Gi(n[l],r[a]))}return i}function Fo(t,e,i){Object.defineProperty(t,e,{enumerable:!0,get(){const{_computed:s,$props:n,$el:o}=t;return _t(s,e)||(s[e]=(i.get||i).call(t,n,o)),s[e]},set(s){const{_computed:n}=t;n[e]=i.set?i.set.call(t,s):s,G(n[e])&&delete n[e]}})}function ti(t,e,i){Pt(e)||(e={name:i,handler:e});let{name:s,el:n,handler:o,capture:r,passive:a,delegate:l,filter:h,self:u}=e;if(n=gt(n)?n.call(t):n||t.$el,rt(n)){n.forEach(d=>ti(t,{...e,el:d},i));return}!n||h&&!h.call(t)||t._events.push(S(n,s,l?_(l)?l:l.call(t):null,_(o)?t[o]:o.bind(t),{passive:a,capture:r,self:u}))}function Wo(t,e){return t.every(i=>!i||!_t(i,e))}function Gi(t,e){return t===Boolean?yi(e):t===Number?At(e):t==="list"?jo(e):t?t(e):e}function jo(t){return rt(t)?t:_(t)?t.split(/,(?![^(]*\))/).map(e=>Bt(e)?At(e):yi(e.trim())):[t]}function Ro(t,e){let{data:i={}}=t,{args:s=[],props:n={}}=e;rt(i)&&(i=i.slice(0,s.length).reduce((o,r,a)=>(Pt(r)?$t(o,r):o[s[a]]=r,o),{}));for(const o in i)G(i[o])?delete i[o]:n[o]&&(i[o]=Gi(n[o],i[o]));return i}function qo(t){const{el:e}=t.$options,i=new MutationObserver(()=>t.$emit());return i.observe(e,{childList:!0,subtree:!0}),i}function Vo(t){const{$name:e,$options:i,$props:s}=t,{attrs:n,props:o,el:r}=i;if(!o||n===!1)return;const a=rt(n)?n:Object.keys(o),l=a.map(u=>Dt(u)).concat(e),h=new MutationObserver(u=>{const d=Rs(i,e);u.some(f=>{let{attributeName:m}=f;const I=m.replace("data-","");return(I===e?a:[Yt(I),Yt(m)]).some(x=>!G(d[x])&&d[x]!==s[x])})&&t.$reset()});return h.observe(r,{attributes:!0,attributeFilter:l.concat(l.map(u=>"data-"+u))}),h}function Yo(t){const e=t.data;t.prototype.$create=function(s,n,o){return t[s](n,o)},t.prototype.$mount=function(s){const{name:n}=this.$options;s[e]||(s[e]={}),!s[e][n]&&(s[e][n]=this,this.$el=this.$options.el=this.$options.el||s,B(s,document)&&this._callConnected())},t.prototype.$reset=function(){this._callDisconnected(),this._callConnected()},t.prototype.$destroy=function(s){s===void 0&&(s=!1);const{el:n,name:o}=this.$options;n&&this._callDisconnected(),this._callHook("destroy"),n!=null&&n[e]&&(delete n[e][o],fe(n[e])||delete n[e],s&&ct(this.$el))},t.prototype.$emit=function(s){this._callUpdate(s)},t.prototype.$update=function(s,n){s===void 0&&(s=this.$el),t.update(s,n)},t.prototype.$getComponent=t.getComponent;const i=at(s=>t.prefix+Dt(s));Object.defineProperties(t.prototype,{$container:Object.getOwnPropertyDescriptor(t,"container"),$name:{get(){return i(this.$options.name)}}})}function Go(t){const e=t.data,i={};t.component=function(s,n){const o=Dt(s);if(s=Yt(o),!n)return Pt(i[s])&&(i[s]=t.extend(i[s])),i[s];t[s]=function(a,l){const h=t.component(s);return h.options.functional?new h({data:Pt(a)?a:[...arguments]}):a?D(a).map(u)[0]:u();function u(d){const f=t.getComponent(d,s);if(f)if(l)f.$destroy();else return f;return new h({el:d,data:l})}};const r=Pt(n)?{...n}:n.options;return r.name=s,r.install==null||r.install(t,r,s),t._initialized&&!r.functional&&z.read(()=>t[s]("[uk-"+o+"],[data-uk-"+o+"]")),i[s]=Pt(n)?r:n},t.getComponents=s=>(s==null?void 0:s[e])||{},t.getComponent=(s,n)=>t.getComponents(s)[n],t.connect=s=>{if(s[e])for(const n in s[e])s[e][n]._callConnected();for(const n of s.attributes){const o=qs(n.name);o&&o in i&&t[o](s)}},t.disconnect=s=>{for(const n in s[e])s[e][n]._callDisconnected()}}const qs=at(t=>et(t,"uk-")||et(t,"data-uk-")?Yt(t.replace("data-uk-","").replace("uk-","")):!1),nt=function(t){this._init(t)};nt.util=No,nt.data="__uikit__",nt.prefix="uk-",nt.options={},nt.version="3.14.4-dev.fea9fd466",zo(nt),Ho(nt),Lo(nt),Go(nt),Yo(nt);function Xo(t){const{connect:e,disconnect:i}=t;if(!Wt||!window.MutationObserver)return;z.read(function(){document.body&&vt(document.body,e),new MutationObserver(o=>o.forEach(s)).observe(document,{childList:!0,subtree:!0}),new MutationObserver(o=>o.forEach(n)).observe(document,{attributes:!0,subtree:!0}),t._initialized=!0});function s(o){let{addedNodes:r,removedNodes:a}=o;for(const l of r)vt(l,e);for(const l of a)vt(l,i)}function n(o){var r;let{target:a,attributeName:l}=o;const h=qs(l);if(!(!h||!(h in t))){if(Nt(a,l)){t[h](a);return}(r=t.getComponent(a,h))==null||r.$destroy()}}}var ot={connected(){!A(this.$el,this.$name)&&b(this.$el,this.$name)}},Te={methods:{lazyload(t,e){t===void 0&&(t=this.$el),e===void 0&&(e=this.$el),this.registerObserver(oe(t,(i,s)=>{for(const n of y(gt(e)?e():e))D('[loading="lazy"]',n).forEach(o=>ge(o,"loading"));for(const n of i.filter(o=>{let{isIntersecting:r}=o;return r}).map(o=>{let{target:r}=o;return r}))s.unobserve(n)}))}}},Ct={props:{cls:Boolean,animation:"list",duration:Number,velocity:Number,origin:String,transition:String},data:{cls:!1,animation:[!1],duration:200,velocity:.2,origin:!1,transition:"ease",clsEnter:"uk-togglabe-enter",clsLeave:"uk-togglabe-leave",initProps:{overflow:"",maxHeight:"",paddingTop:"",paddingBottom:"",marginTop:"",marginBottom:"",boxShadow:""},hideProps:{overflow:"hidden",maxHeight:0,paddingTop:0,paddingBottom:0,marginTop:0,marginBottom:0,boxShadow:"none"}},computed:{hasAnimation(t){let{animation:e}=t;return!!e[0]},hasTransition(t){let{animation:e}=t;return et(e[0],"slide")}},methods:{toggleElement(t,e,i){return new Promise(s=>Promise.all(y(t).map(n=>{const o=Me(e)?e:!this.isToggled(n);if(!p(n,"before"+(o?"show":"hide"),[this]))return Promise.reject();const r=(gt(i)?i:i===!1||!this.hasAnimation?Jo(this):this.hasTransition?Ko(this):Zo(this))(n,o),a=o?this.clsEnter:this.clsLeave;b(n,a),p(n,o?"show":"hide",[this]);const l=()=>{O(n,a),p(n,o?"shown":"hidden",[this]),this.$update(n)};return r?r.then(l,()=>(O(n,a),Promise.reject())):l()})).then(s,P))},isToggled(t){return t===void 0&&(t=this.$el),[t]=y(t),A(t,this.clsEnter)?!0:A(t,this.clsLeave)?!1:this.cls?A(t,this.cls.split(" ")[0]):W(t)},_toggle(t,e){if(!t)return;e=Boolean(e);let i;this.cls?(i=g(this.cls," ")||e!==A(t,this.cls),i&&L(t,this.cls,g(this.cls," ")?void 0:e)):(i=e===t.hidden,i&&(t.hidden=!e)),D("[autofocus]",t).some(s=>W(s)?s.focus()||!0:s.blur()),i&&(p(t,"toggled",[e,this]),this.$update(t))}}};function Jo(t){let{_toggle:e}=t;return(i,s)=>(ft.cancel(i),T.cancel(i),e(i,s))}function Ko(t){switch(t.animation[0]){case"slide-left":return Ys(t);case"slide-right":return Ys(t,!0)}return Vs(t)}function Vs(t){let{isToggled:e,duration:i,velocity:s,initProps:n,hideProps:o,transition:r,_toggle:a}=t;return(l,h)=>{const u=T.inProgress(l),d=!u&&l.hasChildNodes()?v(c(l.firstElementChild,"marginTop"))+v(c(l.lastElementChild,"marginBottom")):0,f=W(l)?v(c(l,"height"))+d:0,m=u?c(l,Object.keys(n)):h?o:n;T.cancel(l),e(l)||a(l,!0),c(l,"maxHeight",""),z.flush();const I=v(c(l,"height"))+d;return i=s*I+i,c(l,{...m,maxHeight:f}),(h?T.start(l,{...n,overflow:"hidden",maxHeight:I},i*(1-f/I),r):T.start(l,o,i*(f/I),r).then(()=>a(l,!1))).then(()=>c(l,n))}}function Ys(t,e){let{isToggled:i,duration:s,velocity:n,transition:o,_toggle:r}=t;return(a,l)=>{const h=W(a),u=v(c(a,"marginLeft"));T.cancel(a);const[d]=st(a.offsetParent);c(d,"overflowX","hidden"),i(a)||r(a,!0);const f=v(c(a,"width"));s=n*f+s;const m=h?(f+u*(e?-1:1))/f*100:0;return c(a,{clipPath:e?"polygon(0 0,"+m+"% 0,"+m+"% 100%,0 100%)":"polygon("+(100-m)+"% 0,100% 0,100% 100%,"+(100-m)+"% 100%)",marginLeft:(100-m)*(e?1:-1)/100*f}),(l?T.start(a,{clipPath:"polygon(0 0,100% 0,100% 100%,0 100%)",marginLeft:0},s*(1-m/100),o):T.start(a,{clipPath:e?"polygon(0 0,0 0,0 100%,0 100%)":"polygon(100% 0,100% 0,100% 100%,100% 100%)",marginLeft:(e?1:-1)*f},s*(m/100),o).then(()=>r(a,!1))).then(()=>{c(d,"overflowX",""),c(a,{clipPath:"",marginLeft:""})})}}function Zo(t){return(e,i)=>{ft.cancel(e);const{animation:s,duration:n,_toggle:o}=t;return i?(o(e,!0),ft.in(e,s[0],n,t.origin)):ft.out(e,s[1]||s[0],n,t.origin).then(()=>o(e,!1))}}var Gs={mixins:[ot,Te,Ct],props:{targets:String,active:null,collapsible:Boolean,multiple:Boolean,toggle:String,content:String,offset:Number},data:{targets:"> *",active:!1,animation:["slide"],collapsible:!0,multiple:!1,clsOpen:"uk-open",toggle:"> .uk-accordion-title",content:"> .uk-accordion-content",offset:0},computed:{items:{get(t,e){let{targets:i}=t;return D(i,e)},watch(t,e){if(e||A(t,this.clsOpen))return;const i=this.active!==!1&&t[Number(this.active)]||!this.collapsible&&t[0];i&&this.toggle(i,!1)},immediate:!0},toggles(t){let{toggle:e}=t;return this.items.map(i=>w(e,i))},contents:{get(t){let{content:e}=t;return this.items.map(i=>w(e,i))},watch(t){for(const e of t)ei(e,!A(this.items.find(i=>i.contains(e)),this.clsOpen))},immediate:!0}},connected(){this.lazyload()},events:[{name:"click",delegate(){return this.targets+" "+this.$props.toggle},handler(t){t.preventDefault(),this.toggle(Ut(this.toggles,t.current))}}],methods:{toggle(t,e){let i=[this.items[Qt(t,this.items)]];const s=ve(this.items,"."+this.clsOpen);if(!this.multiple&&!g(s,i[0])&&(i=i.concat(s)),!(!this.collapsible&&s.length<2&&!ve(i,":not(."+this.clsOpen+")").length))for(const n of i)this.toggleElement(n,!A(n,this.clsOpen),async(o,r)=>{L(o,this.clsOpen,r),k(w(this.$props.toggle,o),"aria-expanded",r);const a=w((o._wrapper?"> * ":"")+this.content,o);if(e===!1||!this.hasTransition){ei(a,!r);return}if(o._wrapper||(o._wrapper=Ye(a,"<div"+(r?" hidden":"")+">")),ei(a,!1),await Vs(this)(o._wrapper,r),ei(a,!r),delete o._wrapper,Ge(a),r){const l=w(this.$props.toggle,o);z.read(()=>{Ue(l)||qi(l,{offset:this.offset})})}})}}};function ei(t,e){t&&(t.hidden=e)}var Qo={mixins:[ot,Ct],args:"animation",props:{close:String},data:{animation:["slide"],selClose:".uk-alert-close",duration:150,hideProps:{opacity:0,...Ct.data.hideProps}},events:[{name:"click",delegate(){return this.selClose},handler(t){t.preventDefault(),this.close()}}],methods:{async close(){await this.toggleElement(this.$el),this.$destroy(!0)}}},Xs={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&&Es(this.$el),this.registerObserver(oe(this.$el,()=>this.$emit(),{},!1))},update:{read(){return Os(this.$el)?{visible:W(this.$el)&&c(this.$el,"visibility")!=="hidden",inView:this.inView&&Ue(this.$el)}:!1},write(t){let{visible:e,inView:i}=t;!e||this.inView&&!i?As(this.$el):(this.autoplay===!0||this.inView&&i)&&Ps(this.$el)}}},bt={connected(){var t;this.registerObserver(Ke(((t=this.$options.resizeTargets)==null?void 0:t.call(this))||this.$el,()=>this.$emit("resize")))}},Uo={mixins:[bt,Xs],props:{width:Number,height:Number},data:{automute:!0},events:{"load loadedmetadata"(){this.$emit("resize")}},resizeTargets(){return[this.$el,E(this.$el)]},update:{read(){const{ratio:t,cover:e}=He,{$el:i,width:s,height:n}=this;let o={width:s,height:n};if(!o.width||!o.height){const h={width:i.naturalWidth||i.videoWidth||i.clientWidth,height:i.naturalHeight||i.videoHeight||i.clientHeight};o.width?o=t(h,"width",o.width):n?o=t(h,"height",o.height):o=h}const{offsetHeight:r,offsetWidth:a}=tr(i)||E(i),l=e(o,{width:a+(a%2?1:0),height:r+(r%2?1:0)});return!l.width||!l.height?!1:l},write(t){let{height:e,width:i}=t;c(this.$el,{height:e,width:i})},events:["resize"]}};function tr(t){for(;t=E(t);)if(c(t,"position")!=="static")return t}var ae={props:{container:Boolean},data:{container:!0},computed:{container(t){let{container:e}=t;return e===!0&&this.$container||e&&w(e)}}},Js={props:{pos:String,offset:null,flip:Boolean},data:{pos:"bottom-"+(X?"right":"left"),flip:!0,offset:!1},connected(){this.pos=this.$props.pos.split("-").concat("center").slice(0,2),[this.dir,this.align]=this.pos,this.axis=g(["top","bottom"],this.dir)?"y":"x"},methods:{positionAt(t,e,i){let s=[this.getPositionOffset(t),this.getShiftOffset(t)];const n={element:[Re(this.dir),this.align],target:[this.dir,this.align]};if(this.axis==="y"){for(const u in n)n[u]=n[u].reverse();s=s.reverse()}const[o]=st(t,/auto|scroll/),{scrollTop:r,scrollLeft:a}=o,l=$(t);c(t,{top:-l.height,left:-l.width});const h=[t,e,{attach:n,offset:s,boundary:i,flip:this.flip,viewportOffset:this.getViewportOffset(t)}];p(t,"beforeposition",h),Ns(...h),o.scrollTop=r,o.scrollLeft=a},getPositionOffset(t){return Z(this.offset===!1?c(t,"--uk-position-offset"):this.offset,this.axis==="x"?"width":"height",t)*(g(["left","top"],this.dir)?-1:1)},getShiftOffset(t){return g(["center","justify","stretch"],this.align)?0:Z(c(t,"--uk-position-shift-offset"),this.axis==="y"?"width":"height",t)*(g(["left","top"],this.align)?1:-1)},getViewportOffset(t){return Z(c(t,"--uk-position-viewport-offset"))}}};const tt=[];var Xi={mixins:[ot,ae,Ct],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 w(i,e)},transitionElement(){return this.panel},bgClose(t){let{bgClose:e}=t;return e&&this.panel}},beforeDisconnect(){g(tt,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()===g(tt,this)&&this.toggle())}},{name:"beforeshow",self:!0,handler(t){if(g(tt,this))return!1;!this.stack&&tt.length?(Promise.all(tt.map(e=>e.hide())).then(this.show),t.preventDefault()):tt.push(this)}},{name:"show",self:!0,handler(){N(this.$el,"hide",S(document,"focusin",t=>{Zt(tt)===this&&!B(t.target,this.$el)&&this.$el.focus()})),this.overlay&&(N(this.$el,"hide",Zs(this.$el)),N(this.$el,"hide",Qs())),this.stack&&c(this.$el,"zIndex",v(c(this.$el,"zIndex"))+tt.length),b(document.documentElement,this.clsPage),this.bgClose&&N(this.$el,"hide",S(document,pt,t=>{let{target:e}=t;Zt(tt)!==this||this.overlay&&!B(e,this.$el)||B(e,this.panel)||N(document,Ot+" "+Je+" scroll",i=>{let{defaultPrevented:s,type:n,target:o}=i;!s&&n===Ot&&e===o&&this.hide()},!0)}),{self:!0}),this.escClose&&N(this.$el,"hide",S(document,"keydown",t=>{t.keyCode===27&&Zt(tt)===this&&this.hide()}),{self:!0})}},{name:"shown",self:!0,handler(){We(this.$el)||k(this.$el,"tabindex","-1"),w(":focus",this.$el)||this.$el.focus()}},{name:"hidden",self:!0,handler(){g(tt,this)&&tt.splice(tt.indexOf(this),1),tt.length||c(document.body,"overflowY",""),c(this.$el,"zIndex",""),tt.some(t=>t.clsPage===this.clsPage)||O(document.documentElement,this.clsPage)}}],methods:{toggle(){return this.isToggled()?this.hide():this.show()},show(){return this.container&&E(this.$el)!==this.container?(j(this.container,this.$el),new Promise(t=>requestAnimationFrame(()=>this.show().then(t)))):this.toggleElement(this.$el,!0,Ks(this))},hide(){return this.toggleElement(this.$el,!1,Ks(this))}}};function Ks(t){let{transitionElement:e,_toggle:i}=t;return(s,n)=>new Promise((o,r)=>N(s,"show hide",()=>{s._reject==null||s._reject(),s._reject=r,i(s,n);const a=N(e,"transitionstart",()=>{N(e,"transitionend transitioncancel",o,{self:!0}),clearTimeout(l)},{self:!0}),l=setTimeout(()=>{a(),o()},er(c(e,"transitionDuration")))})).then(()=>delete s._reject)}function er(t){return t?Gt(t,"ms")?v(t):v(t)*1e3:0}function Zs(t){if(CSS.supports("overscroll-behavior","contain")){const s=ir(t,n=>/auto|scroll/.test(c(n,"overflow")));return c(s,"overscrollBehavior","contain"),()=>c(s,"overscrollBehavior","")}let e;const i=[S(t,"touchstart",s=>{let{targetTouches:n}=s;n.length===1&&(e=n[0].clientY)},{passive:!0}),S(t,"touchmove",s=>{if(s.targetTouches.length!==1)return;let[n]=st(s.target,/auto|scroll/);B(n,t)||(n=t);const o=s.targetTouches[0].clientY-e,{scrollTop:r,scrollHeight:a,clientHeight:l}=n;(l>=a||r===0&&o>0||a-r<=l&&o<0)&&s.cancelable&&s.preventDefault()},{passive:!1})];return()=>i.forEach(s=>s())}function Qs(){const{body:t,documentElement:e}=document;return c(t,{overflowY:$e(window)>e.clientWidth?"scroll":"",touchAction:"none"}),c(e,"overflowY","hidden"),()=>{c(e,"overflowY",""),c(t,{overflowY:"",touchAction:""})}}function ir(t,e){const i=[];return vt(t,s=>{e(s)&&i.push(s)}),i}let V;var Us={mixins:[ae,Te,Js,Ct],args:"pos",props:{mode:"list",toggle:Boolean,boundary:Boolean,boundaryAlign:Boolean,delayShow:Number,delayHide:Number,display:String,clsDrop:String,animateOut:Boolean,bgScroll:Boolean},data:{mode:["click","hover"],toggle:"- *",boundary:!0,boundaryAlign:!1,delayShow:0,delayHide:800,display:null,clsDrop:!1,animation:["uk-animation-fade"],cls:"uk-open",container:!1,animateOut:!1,bgScroll:!0},created(){this.tracker=new Fi},beforeConnect(){this.clsDrop=this.$props.clsDrop||"uk-"+this.$options.name},connected(){b(this.$el,this.clsDrop),this.toggle&&!this.target&&(this.target=this.$create("toggle",St(this.toggle,this.$el),{target:this.$el,mode:this.mode}).$el,k(this.target,"aria-haspopup",!0),this.lazyload(this.target))},disconnected(){this.isActive()&&(V=null)},events:[{name:"click",delegate(){return"."+this.clsDrop+"-close"},handler(t){t.preventDefault(),this.hide(!1)}},{name:"click",delegate(){return'a[href^="#"]'},handler(t){let{defaultPrevented:e,current:{hash:i}}=t;!e&&i&&!B(i,this.$el)&&this.hide(!1)}},{name:"beforescroll",handler(){this.hide(!1)}},{name:"toggle",self:!0,handler(t,e){t.preventDefault(),this.isToggled()?this.hide(!1):this.show(e==null?void 0:e.$el,!1)}},{name:"toggleshow",self:!0,handler(t,e){t.preventDefault(),this.show(e==null?void 0:e.$el)}},{name:"togglehide",self:!0,handler(t){t.preventDefault(),H(this.$el,":focus,:hover")||this.hide()}},{name:Rt+" focusin",filter(){return g(this.mode,"hover")},handler(t){Tt(t)||this.clearTimers()}},{name:ne+" focusout",filter(){return g(this.mode,"hover")},handler(t){!Tt(t)&&t.relatedTarget&&this.hide()}},{name:"toggled",self:!0,handler(t,e){!e||(this.clearTimers(),this.position())}},{name:"show",self:!0,handler(){V=this,this.tracker.init();for(const t of[S(document,pt,e=>{let{target:i}=e;return!B(i,this.$el)&&N(document,Ot+" "+Je+" scroll",s=>{let{defaultPrevented:n,type:o,target:r}=s;!n&&o===Ot&&i===r&&!(this.target&&B(i,this.target))&&this.hide(!1)},!0)}),S(document,"keydown",e=>{e.keyCode===27&&this.hide(!1)}),...this.bgScroll?[]:[Zs(this.$el),Qs()],...this.display==="static"&&this.align!=="stretch"?[]:(()=>{const e=()=>this.$emit();return[S(window,"resize",e),S(document,"scroll",e,!0),(()=>{const i=Ke(st(this.$el),e);return()=>i.disconnect()})()]})()])N(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){V=V===null&&B(e,this.$el)&&this.isToggled()?this:V;return}V=this.isActive()?null:V,this.tracker.cancel()}}],update:{write(){this.isToggled()&&!A(this.$el,this.clsEnter)&&this.position()}},methods:{show(t,e){if(t===void 0&&(t=this.target),e===void 0&&(e=!0),this.isToggled()&&t&&this.target&&t!==this.target&&this.hide(!1,!1),this.target=t,this.clearTimers(),!this.isActive()){if(V){if(e&&V.isDelaying){this.showTimer=setTimeout(()=>H(t,":hover")&&this.show(),10);return}let i;for(;V&&i!==V&&!B(this.$el,V.$el);)i=V,V.hide(!1,!1)}this.container&&E(this.$el)!==this.container&&j(this.container,this.$el),this.showTimer=setTimeout(()=>this.toggleElement(this.$el,!0),e&&this.delayShow||0)}},hide(t,e){t===void 0&&(t=!0),e===void 0&&(e=!0);const i=()=>this.toggleElement(this.$el,!1,this.animateOut&&e);this.clearTimers(),this.isDelaying=sr(this.$el).some(s=>this.tracker.movesTo(s)),t&&this.isDelaying?this.hideTimer=setTimeout(this.hide,50):t&&this.delayHide?this.hideTimer=setTimeout(i,this.delayHide):i()},clearTimers(){clearTimeout(this.showTimer),clearTimeout(this.hideTimer),this.showTimer=null,this.hideTimer=null,this.isDelaying=!1},isActive(){return V===this},position(){O(this.$el,this.clsDrop+"-stack"),L(this.$el,this.clsDrop+"-boundary",this.boundaryAlign),L(this.$el,this.clsDrop+"-stretch",this.align==="stretch");const t=St(this.boundary,this.$el),e=t&&this.boundaryAlign?t:this.target,[i]=st(t&&this.boundaryAlign?t:this.$el),s=C(i),n=t?C(t):s,o=this.getViewportOffset(this.$el);c(this.$el,"maxWidth","");const r=s.width-2*o;if(this.align==="justify"){const a=this.axis==="y"?"width":"height";c(this.$el,a,Math.min((t?n:C(this.target))[a],s[a]-2*o))}else if(this.align==="stretch"){this.flip=this.axis==="y"?"x":"y",this.display="static";const a=ut(i),l=C(e),h=Math.abs(this.getPositionOffset(this.$el))+o;c(this.$el,{width:this.axis==="y"?a.width:(this.dir==="left"?l.left-a.left:a.right-l.right)-h,height:this.axis==="x"?a.height:(this.dir==="top"?l.top-a.top:a.bottom-l.bottom)-h})}else this.$el.offsetWidth>r&&b(this.$el,this.clsDrop+"-stack");c(this.$el,"maxWidth",r),this.positionAt(this.$el,e,t)}}};function sr(t){const e=[];return vt(t,i=>c(i,"position")!=="static"&&e.push(i)),e}var nr={mixins:[ot],args:"target",props:{target:Boolean},data:{target:!1},computed:{input(t,e){return w(me,e)},state(){return this.input.nextElementSibling},target(t,e){let{target:i}=t;return i&&(i===!0&&E(this.input)===e&&this.input.nextElementSibling||w(i,e))}},update(){var t;const{target:e,input:i}=this;if(!e)return;let s;const n=Ci(e)?"value":"textContent",o=e[n],r=(t=i.files)!=null&&t[0]?i.files[0].name:H(i,"select")&&(s=D("option",i).filter(a=>a.selected)[0])?s.textContent:i.value;o!==r&&(e[n]=r)},events:[{name:"change",handler(){this.$emit()}},{name:"reset",el(){return it(this.$el,"form")},handler(){this.$emit()}}]},tn={mixins:[bt],props:{margin:String,firstColumn:Boolean},data:{margin:"uk-margin-small-top",firstColumn:"uk-first-column"},resizeTargets(){return[this.$el,...wi(this.$el.children)]},connected(){this.registerObserver(Ts(this.$el,()=>this.$reset(),{childList:!0}))},update:{read(){const t=Ji(this.$el.children);return{rows:t,columns:or(t)}},write(t){let{columns:e,rows:i}=t;for(const s of i)for(const n of s)L(n,this.margin,i[0]!==s),L(n,this.firstColumn,e[0].includes(n))},events:["resize"]}};function Ji(t){return en(t,"top","bottom")}function or(t){const e=[];for(const i of t){const s=en(i,"left","right");for(let n=0;n<s.length;n++)e[n]=e[n]?e[n].concat(s[n]):s[n]}return X?e.reverse():e}function en(t,e,i){const s=[[]];for(const n of t){if(!W(n))continue;let o=ii(n);for(let r=s.length-1;r>=0;r--){const a=s[r];if(!a[0]){a.push(n);break}let l;if(a[0].offsetParent===n.offsetParent?l=ii(a[0]):(o=ii(n,!0),l=ii(a[0],!0)),o[e]>=l[i]-1&&o[e]!==l[e]){s.push([n]);break}if(o[i]-1>l[e]||o[e]===l[e]){a.push(n);break}if(r===0){s.unshift([n]);break}}}return s}function ii(t,e){e===void 0&&(e=!1);let{offsetTop:i,offsetLeft:s,offsetHeight:n,offsetWidth:o}=t;return e&&([i,s]=Lt(t)),{top:i,left:s,bottom:i+n,right:s+o}}var Ce={connected(){rr(this._uid,()=>this.$emit("scroll"))},disconnected(){ar(this._uid)}};const si=new Map;let Ie;function rr(t,e){Ie=Ie||S(window,"scroll",()=>si.forEach(i=>i()),{passive:!0,capture:!0}),si.set(t,e)}function ar(t){si.delete(t),Ie&&!si.size&&(Ie(),Ie=null)}var lr={extends:tn,mixins:[ot,Ce],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;L(this.$el,this.clsStack,e.length<2)},events:["resize"]},{read(t){let{columns:e,rows:i}=t;if(!e.length||!this.masonry&&!this.parallax||sn(this.$el))return t.translates=!1,!1;let s=!1;const n=M(this.$el),o=ur(e),r=cr(n,this.margin)*(i.length-1),a=Math.max(...o)+r;this.masonry&&(e=e.map(h=>Ne(h,"offsetTop")),s=hr(i,e));let l=Math.abs(this.parallax);return l&&(l=o.reduce((h,u,d)=>Math.max(h,u+r+(d%2?l:l/8)-a),0)),{padding:l,columns:e,translates:s,height:s?a:""}},write(t){let{height:e,padding:i}=t;c(this.$el,"paddingBottom",i||""),e!==!1&&c(this.$el,"height",e)},events:["resize"]},{read(){return this.parallax&&sn(this.$el)?!1:{scrolled:this.parallax?Vi(this.$el)*Math.abs(this.parallax):!1}},write(t){let{columns:e,scrolled:i,translates:s}=t;i===!1&&!s||e.forEach((n,o)=>n.forEach((r,a)=>c(r,"transform",!i&&!s?"":"translateY("+((s&&-s[o][a])+(i?o%2?i:i/8:0))+"px)")))},events:["scroll","resize"]}]};function sn(t){return M(t).some(e=>c(e,"position")==="absolute")}function hr(t,e){const i=t.map(s=>Math.max(...s.map(n=>n.offsetHeight)));return e.map(s=>{let n=0;return s.map((o,r)=>n+=r?i[r-1]-s[r-1].offsetHeight:0)})}function cr(t,e){const[i]=t.filter(s=>A(s,e));return v(i?c(i,"marginTop"):c(t[0],"paddingLeft"))}function ur(t){return t.map(e=>e.reduce((i,s)=>i+s.offsetHeight,0))}var dr={mixins:[bt],args:"target",props:{target:String,row:Boolean},data:{target:"> *",row:!0},computed:{elements:{get(t,e){let{target:i}=t;return D(i,e)},watch(){this.$reset()}}},resizeTargets(){return[this.$el,...this.elements]},update:{read(){return{rows:(this.row?Ji(this.elements):[this.elements]).map(fr)}},write(t){let{rows:e}=t;for(const{heights:i,elements:s}of e)s.forEach((n,o)=>c(n,"minHeight",i[o]))},events:["resize"]}};function fr(t){if(t.length<2)return{heights:[""],elements:t};c(t,"minHeight","");let e=t.map(pr);const i=Math.max(...e);return{heights:t.map((s,n)=>e[n].toFixed(2)===i.toFixed(2)?"":i),elements:t}}function pr(t){let e=!1;W(t)||(e=t.style.display,c(t,"display","block","important"));const i=$(t).height-ie(t,"height","content-box");return e!==!1&&c(t,"display",e),i}var gr={mixins:[bt],props:{expand:Boolean,offsetTop:Boolean,offsetBottom:Boolean,minHeight:Number},data:{expand:!1,offsetTop:!1,offsetBottom:!1,minHeight:0},resizeTargets(){return[this.$el,...st(this.$el,/auto|scroll/)]},update:{read(t){let{minHeight:e}=t;if(!W(this.$el))return!1;let i="";const s=ie(this.$el,"height","content-box"),{body:n,scrollingElement:o}=document,[r]=st(this.$el,/auto|scroll/),{height:a}=ut(r===n?o:r);if(this.expand)i=Math.max(a-($(r).height-$(this.$el).height)-s,0);else{const l=o===r||n===r;if(i="calc("+(l?"100vh":a+"px"),this.offsetTop)if(l){const h=Lt(this.$el)[0]-Lt(r)[0];i+=h>0&&h<a/2?" - "+h+"px":""}else i+=" - "+c(r,"paddingTop");this.offsetBottom===!0?i+=" - "+$(this.$el.nextElementSibling).height+"px":Bt(this.offsetBottom)?i+=" - "+this.offsetBottom+"vh":this.offsetBottom&&Gt(this.offsetBottom,"px")?i+=" - "+v(this.offsetBottom)+"px":_(this.offsetBottom)&&(i+=" - "+$(St(this.offsetBottom,this.$el)).height+"px"),i+=(s?" - "+s+"px":"")+")"}return{minHeight:i,prev:e}},write(t){let{minHeight:e}=t;c(this.$el,{minHeight:e}),this.minHeight&&v(c(this.$el,"minHeight"))<this.minHeight&&c(this.$el,"minHeight",this.minHeight)},events:["resize"]}},nn={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&&g(this.src,"#")&&([this.src,this.icon]=this.src.split("#")),this.svg=this.getSvg().then(t=>{if(this._connected){const e=br(t,this.$el);return this.svgEl&&e!==this.svgEl&&ct(this.svgEl),this.applyAttributes(e,t),this.svgEl=e}},P),this.strokeAnimation&&this.svg.then(t=>{this._connected&&(rn(t),this.registerObserver(oe(t,(e,i)=>{rn(t),i.disconnect()})))})},disconnected(){this.svg.then(t=>{this._connected||(Ti(this.$el)&&(this.$el.hidden=!1),ct(t),this.svgEl=null)}),this.svg=null},methods:{async getSvg(){return mt(this.$el,"img")&&!this.$el.complete&&this.$el.loading==="lazy"?new Promise(t=>N(this.$el,"load",()=>t(this.getSvg()))):vr(await mr(this.src),this.icon)||Promise.reject("SVG not found.")},applyAttributes(t,e){for(const o in this.$options.props)g(this.include,o)&&o in this&&k(t,o,this[o]);for(const o in this.attributes){const[r,a]=this.attributes[o].split(":",2);k(t,r,a)}this.id||ge(t,"id");const i=["width","height"];let s=i.map(o=>this[o]);s.some(o=>o)||(s=i.map(o=>k(e,o)));const n=k(e,"viewBox");n&&!s.some(o=>o)&&(s=n.split(" ").slice(2)),s.forEach((o,r)=>k(t,i[r],v(o)*this.ratio||null))}}};const mr=at(async t=>t?et(t,"data:")?decodeURIComponent(t.split(",")[1]):(await fetch(t)).text():Promise.reject());function vr(t,e){var i;return e&&g(t,"<symbol")&&(t=wr(t,e)||t),t=w(t.substr(t.indexOf("<svg"))),((i=t)==null?void 0:i.hasChildNodes())&&t}const on=/<symbol([^]*?id=(['"])(.+?)\2[^]*?<\/)symbol>/g,ni={};function wr(t,e){if(!ni[t]){ni[t]={},on.lastIndex=0;let i;for(;i=on.exec(t);)ni[t][i[3]]='<svg xmlns="http://www.w3.org/2000/svg"'+i[1]+"svg>"}return ni[t][e]}function rn(t){const e=an(t);e&&t.style.setProperty("--uk-animation-stroke",e)}function an(t){return Math.ceil(Math.max(0,...D("[stroke]",t).map(e=>{try{return e.getTotalLength()}catch{return 0}})))}function br(t,e){if(Ti(e)||mt(e,"canvas")){e.hidden=!0;const s=e.nextElementSibling;return ln(t,s)?s:qe(e,t)}const i=e.lastElementChild;return ln(t,i)?i:j(e,t)}function ln(t,e){return mt(t,"svg")&&mt(e,"svg")&&hn(t)===hn(e)}function hn(t){return(t.innerHTML||new XMLSerializer().serializeToString(t).replace(/<svg.*?>(.*?)<\/svg>/g,"$1")).replace(/\s/g,"")}var xr='<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>',yr='<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>',$r='<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>',kr='<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>',Sr='<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>',Tr='<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>',Cr='<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect y="9" width="20" height="2"/><rect y="3" width="20" height="2"/><rect y="15" width="20" height="2"/></svg>',Ir='<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>',Pr='<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>',Ar='<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>',Er='<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>',Or='<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>',_r='<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>',Dr='<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>',Br='<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>',Mr='<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>',Nr='<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>',zr='<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>',Hr='<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 oi={spinner:zr,totop:Hr,marker:$r,"close-icon":xr,"close-large":yr,"nav-parent-icon":kr,"nav-parent-icon-large":Sr,"navbar-parent-icon":Tr,"navbar-toggle-icon":Cr,"overlay-icon":Ir,"pagination-next":Pr,"pagination-previous":Ar,"search-icon":Er,"search-large":Or,"search-navbar":_r,"slidenav-next":Dr,"slidenav-next-large":Br,"slidenav-previous":Mr,"slidenav-previous-large":Nr},Ki={install:Rr,extends:nn,args:"icon",props:["icon"],data:{include:["focusable"]},isIcon:!0,beforeConnect(){b(this.$el,"uk-icon")},methods:{async getSvg(){const t=qr(this.icon);if(!t)throw"Icon not found.";return t}}},dt={args:!1,extends:Ki,data:t=>({icon:Dt(t.constructor.options.name)}),beforeConnect(){b(this.$el,this.$name)}},Lr={extends:dt,beforeConnect(){const t=this.$props.icon;this.icon=it(this.$el,".uk-nav-primary")?t+"-large":t}},cn={extends:dt,beforeConnect(){b(this.$el,"uk-slidenav");const t=this.$props.icon;this.icon=A(this.$el,"uk-slidenav-large")?t+"-large":t}},Fr={extends:dt,beforeConnect(){this.icon=A(this.$el,"uk-search-icon")&&we(this.$el,".uk-search-large").length?"search-large":we(this.$el,".uk-search-navbar").length?"search-navbar":this.$props.icon}},Wr={extends:dt,beforeConnect(){this.icon="close-"+(A(this.$el,"uk-close-large")?"large":"icon")}},jr={extends:dt,methods:{async getSvg(){const t=await Ki.methods.getSvg.call(this);return this.ratio!==1&&c(w("circle",t),"strokeWidth",1/this.ratio),t}}},ri={};function Rr(t){t.icon.add=(e,i)=>{const s=_(e)?{[e]:i}:e;kt(s,(n,o)=>{oi[o]=n,delete ri[o]}),t._initialized&&vt(document.body,n=>kt(t.getComponents(n),o=>{o.$options.isIcon&&o.icon in s&&o.$reset()}))}}function qr(t){return oi[t]?(ri[t]||(ri[t]=w((oi[Vr(t)]||oi[t]).trim())),ri[t].cloneNode(!0)):null}function Vr(t){return X?$i($i(t,"left","right"),"previous","next"):t}const Yr=Wt&&"loading"in HTMLImageElement.prototype;var Gr={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,...be(this.$props.target,this.$el)];Yr&&ai(this.$el)&&(this.$el.loading="lazy",Zi(this.$el),t.length===1)||(Qr(this.$el),this.registerObserver(oe(t,(e,i)=>{this.load(),i.disconnect()},{rootMargin:Z(this.offsetTop,"height")+"px "+Z(this.offsetLeft,"width")+"px"})))},disconnected(){this._data.image&&(this._data.image.onload="")},methods:{load(){if(this._data.image)return this._data.image;const t=ai(this.$el)?this.$el:Jr(this.$el,this.dataSrc,this.sources);return ge(t,"loading"),Zi(this.$el,t.currentSrc),this._data.image=t}}};function Zi(t,e){if(ai(t)){const i=E(t);(Ur(i)?M(i):[t]).forEach(n=>un(n,n))}else e&&!g(t.style.backgroundImage,e)&&(c(t,"backgroundImage","url("+Pi(e)+")"),p(t,zt("load",!1)))}const Xr=["data-src","data-srcset","sizes"];function un(t,e){Xr.forEach(i=>{const s=lt(t,i);s&&k(e,i.replace(/^(data-)+/,""),s)})}function Jr(t,e,i){const s=new Image;return Kr(s,i),un(t,s),s.onload=()=>{Zi(t,s.currentSrc)},k(s,"src",e),s}function Kr(t,e){if(e=Zr(e),e.length){const i=Ft("<picture>");for(const s of e){const n=Ft("<source>");k(n,s),j(i,n)}j(i,t)}}function Zr(t){if(!t)return[];if(et(t,"["))try{t=JSON.parse(t)}catch{t=[]}else t=Se(t);return rt(t)||(t=[t]),t.filter(e=>!fe(e))}function Qr(t){ai(t)&&!Nt(t,"src")&&k(t,"src",'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg"></svg>')}function Ur(t){return mt(t,"picture")}function ai(t){return mt(t,"img")}var li={props:{media:Boolean},data:{media:!1},connected(){const t=ta(this.media,this.$el);if(this.matchMedia=!0,t){this.mediaObj=window.matchMedia(t);const e=()=>{this.matchMedia=this.mediaObj.matches,p(this.$el,zt("mediachange",!1,!0,[this.mediaObj]))};this.offMediaObj=S(this.mediaObj,"change",()=>{e(),this.$emit("resize")}),e()}},disconnected(){var t;(t=this.offMediaObj)==null||t.call(this)}};function ta(t,e){if(_(t)){if(et(t,"@"))t=v(c(e,"--uk-breakpoint-"+t.substr(1)));else if(isNaN(t))return t}return t&&Bt(t)?"(min-width: "+t+"px)":""}var ea={mixins:[ot,li,bt],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]=xs(this.$el,'<span class="'+this.clsWrapper+'">')},disconnected(){Ge(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:s}=t;L(this.wrapper,this.clsHide,s),k(this.wrapper,this.attrFill,new Array(e).join(i))},events:["resize"]}},ia={install:sa,mixins:[Xi],data:{clsPage:"uk-modal-page",selPanel:".uk-modal-dialog",selClose:".uk-modal-close, .uk-modal-close-default, .uk-modal-close-outside, .uk-modal-close-full"},events:[{name:"show",self:!0,handler(){A(this.panel,"uk-margin-auto-vertical")?b(this.$el,"uk-flex"):c(this.$el,"display","block"),K(this.$el)}},{name:"hidden",self:!0,handler(){c(this.$el,"display",""),O(this.$el,"uk-flex")}}]};function sa(t){let{modal:e}=t;e.dialog=function(s,n){const o=e('<div class="uk-modal"> <div class="uk-modal-dialog">'+s+"</div> </div>",n);return o.show(),S(o.$el,"hidden",async()=>{await Promise.resolve(),o.$destroy(!0)},{self:!0}),o},e.alert=function(s,n){return i(o=>{let{labels:r}=o;return'<div class="uk-modal-body">'+(_(s)?s:Et(s))+'</div> <div class="uk-modal-footer uk-text-right"> <button class="uk-button uk-button-primary uk-modal-close" autofocus>'+r.ok+"</button> </div>"},n,o=>o.resolve())},e.confirm=function(s,n){return i(o=>{let{labels:r}=o;return'<form> <div class="uk-modal-body">'+(_(s)?s:Et(s))+'</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>"},n,o=>o.reject())},e.prompt=function(s,n,o){return i(r=>{let{labels:a}=r;return'<form class="uk-form-stacked"> <div class="uk-modal-body"> <label>'+(_(s)?s:Et(s))+'</label> <input class="uk-input" value="'+(n||"")+'" 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=>w("input",r.$el).value)},e.labels={ok:"Ok",cancel:"Cancel"};function i(s,n,o,r){n={bgClose:!1,escClose:!0,labels:e.labels,...n};const a=e.dialog(s(n),n),l=new Le;let h=!1;return S(a.$el,"submit","form",u=>{u.preventDefault(),l.resolve(r==null?void 0:r(a)),h=!0,a.hide()}),S(a.$el,"hide",()=>!h&&o(l)),l.promise.dialog=a,l.promise}}var na={extends:Gs,data:{targets:"> .uk-parent",toggle:"> a",content:"> ul"}},oa={mixins:[ot,ae],props:{dropdown:String,mode:"list",align:String,offset:Number,boundary:Boolean,boundaryAlign: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:X?"right":"left",clsDrop:"uk-navbar-dropdown",mode:void 0,offset:void 0,delayShow:void 0,delayHide:void 0,boundaryAlign:void 0,flip:"x",boundary:!0,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 St(i,e)},pos(t){let{align:e}=t;return"bottom-"+e},dropbar:{get(t){let{dropbar:e}=t;return e?(e=this._dropbar||St(e,this.$el)||w("+ .uk-navbar-dropbar",this.$el),e||(this._dropbar=w("<div></div>"))):null},watch(t){b(t,"uk-navbar-dropbar")},immediate:!0},dropContainer(t,e){return this.container||e},dropdowns:{get(t,e){let{clsDrop:i}=t;const s=D("."+i,e);if(this.dropContainer!==e)for(const o of D("."+i,this.dropContainer)){var n;const r=(n=this.getDropdown(o))==null?void 0:n.target;!g(s,o)&&r&&B(r,this.$el)&&s.push(o)}return s},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 D(i,e)},watch(){const t=A(this.$el,"uk-navbar-justify");for(const e of D(".uk-navbar-nav, .uk-navbar-left, .uk-navbar-right",this.$el))c(e,"flexGrow",t?D(this.dropdown,e).length:"")},immediate:!0}},disconnected(){this.dropbar&&ct(this.dropbar),delete this._dropbar},events:[{name:"mouseover focusin",delegate(){return this.dropdown},handler(t){let{current:e}=t;const i=this.getActive();i&&g(i.mode,"hover")&&i.target&&!B(i.target,e)&&!i.isDelaying&&i.hide(!1)}},{name:"keydown",delegate(){return this.dropdown},handler(t){const{current:e,keyCode:i}=t,s=this.getActive();i===qt.DOWN&&Nt(e,"aria-expanded")&&(t.preventDefault(),!s||s.target!==e?(e.click(),N(this.dropContainer,"show",n=>{let{target:o}=n;return fn(o)})):fn(s.$el)),dn(t,this.toggles,s)}},{name:"keydown",el(){return this.dropContainer},delegate(){return"."+this.clsDrop},handler(t){const{current:e,keyCode:i}=t;if(!g(this.dropdowns,e))return;const s=this.getActive(),n=D(Fe,e),o=yt(n,a=>H(a,":focus"));if(i===qt.UP&&(t.preventDefault(),o>0&&n[o-1].focus()),i===qt.DOWN&&(t.preventDefault(),o<n.length-1&&n[o+1].focus()),i===qt.ESC){var r;s==null||(r=s.target)==null||r.focus()}dn(t,this.toggles,s)}},{name:"mouseleave",el(){return this.dropbar},filter(){return this.dropbar},handler(){const t=this.getActive();t&&g(t.mode,"hover")&&!this.dropdowns.some(e=>H(e,":hover"))&&t.hide()}},{name:"beforeshow",el(){return this.dropContainer},filter(){return this.dropbar},handler(t){let{target:e}=t;!this.isDropbarDrop(e)||(E(this.dropbar)||qe(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,()=>this.transitionTo(C(e).bottom-C(this.dropbar).top+v(c(e,"marginBottom")),e)))}},{name:"beforeposition",el(){return this.dropContainer},filter(){return this.dropbar},handler(t,e,i,s){if(!this.isDropbarDrop(e))return;const n=C(this.dropbar);c(e,"maxWidth",n.width-s.viewportOffset*2),s.offset[1]=n.top-C(i).bottom,s.viewportOffset+=n.left}},{name:"beforehide",el(){return this.dropContainer},filter(){return this.dropbar},handler(t){const e=this.getActive();H(this.dropbar,":hover")&&(e==null?void 0:e.$el)===t.target&&!this.toggles.some(i=>e.target!==i&&H(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 V&&B(V.target,this.$el)&&V},transitionTo(t,e){const{dropbar:i}=this,s=K(i);e=s<t&&e,c(e,"clipPath","polygon(0 0,100% 0,100% "+s+"px,0 "+s+"px)"),K(i,s),T.cancel([e,i]),Promise.all([T.start(i,{height:t},this.duration),T.start(e,{clipPath:"polygon(0 0,100% 0,100% "+t+"px,0 "+t+"px)"},this.duration)]).catch(P).then(()=>c(e,{clipPath:""}))},getDropdown(t){return this.$getComponent(t,"drop")||this.$getComponent(t,"dropdown")},isDropbarDrop(t){const e=this.getDropdown(t);return e&&A(t,this.clsDrop)&&e.align!=="stretch"}}};function dn(t,e,i){const{current:s,keyCode:n}=t,o=(i==null?void 0:i.target)||s,r=e.indexOf(o);n===qt.LEFT&&r>0&&(i==null||i.hide(!1),e[r-1].focus()),n===qt.RIGHT&&r<e.length-1&&(i==null||i.hide(!1),e[r+1].focus()),n===qt.TAB&&(o.focus(),i==null||i.hide(!1))}function fn(t){if(!w(":focus",t)){var e;(e=w(Fe,t))==null||e.focus()}}const qt={TAB:9,ESC:27,LEFT:37,UP:38,RIGHT:39,DOWN:40};var pn={props:{swiping:Boolean},data:{swiping:!0},computed:{swipeTarget(t,e){return e}},connected(){!this.swiping||ti(this,{el:this.swipeTarget,name:pt,passive:!0,handler(t){if(!Tt(t))return;const e=ee(t),i="tagName"in t.target?t.target:E(t.target);N(document,Ot+" "+Je+" scroll",s=>{const{x:n,y:o}=ee(s);(s.type!=="scroll"&&i&&n&&Math.abs(e.x-n)>100||o&&Math.abs(e.y-o)>100)&&setTimeout(()=>{p(i,"swipe"),p(i,"swipe"+ra(e.x,e.y,n,o))})})}})}};function ra(t,e,i,s){return Math.abs(t-i)>=Math.abs(e-s)?t-i>0?"Left":"Right":e-s>0?"Up":"Down"}var aa={mixins:[Xi,pn],args:"mode",props:{mode:String,flip:Boolean,overlay:Boolean},data:{mode:"slide",flip:!1,overlay:!1,clsPage:"uk-offcanvas-page",clsContainer:"uk-offcanvas-container",selPanel:".uk-offcanvas-bar",clsFlip:"uk-offcanvas-flip",clsContainerAnimation:"uk-offcanvas-container-animation",clsSidebarAnimation:"uk-offcanvas-bar-animation",clsMode:"uk-offcanvas",clsOverlay:"uk-offcanvas-overlay",selClose:".uk-offcanvas-close",container:!1},computed:{clsFlip(t){let{flip:e,clsFlip:i}=t;return e?i:""},clsOverlay(t){let{overlay:e,clsOverlay:i}=t;return e?i:""},clsMode(t){let{mode:e,clsMode:i}=t;return i+"-"+e},clsSidebarAnimation(t){let{mode:e,clsSidebarAnimation:i}=t;return e==="none"||e==="reveal"?"":i},clsContainerAnimation(t){let{mode:e,clsContainerAnimation:i}=t;return e!=="push"&&e!=="reveal"?"":i},transitionElement(t){let{mode:e}=t;return e==="reveal"?E(this.panel):this.panel}},update:{read(){this.isToggled()&&!W(this.$el)&&this.hide()},events:["resize"]},events:[{name:"click",delegate(){return'a[href^="#"]'},handler(t){let{current:{hash:e},defaultPrevented:i}=t;!i&&e&&w(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"&&!A(E(this.panel),this.clsMode)&&(Ye(this.panel,"<div>"),b(E(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),K(document.body),b(document.body,this.clsContainerAnimation),this.clsContainerAnimation&&la()}},{name:"hide",self:!0,handler(){O(document.body,this.clsContainerAnimation),c(document.body,"touch-action","")}},{name:"hidden",self:!0,handler(){this.clsContainerAnimation&&ha(),this.mode==="reveal"&&Ge(this.panel),O(this.panel,this.clsSidebarAnimation,this.clsMode),O(this.$el,this.clsOverlay),c(this.$el,"display",""),O(document.body,this.clsContainer,this.clsFlip)}},{name:"swipeLeft swipeRight",handler(t){this.isToggled()&&Gt(t.type,"Left")^this.flip&&this.hide()}}]};function la(){gn().content+=",user-scalable=0"}function ha(){const t=gn();t.content=t.content.replace(/,user-scalable=0$/,"")}function gn(){return w('meta[name="viewport"]',document.head)||j(document.head,'<meta name="viewport">')}var ca={mixins:[ot,bt],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 it(e,i)},content(t,e){let{selContent:i}=t;return it(e,i)}},resizeTargets(){return[this.container,this.content]},update:{read(){return!this.content||!this.container||!W(this.$el)?!1:{max:Math.max(this.minHeight,K(this.container)-($(this.content).height-K(this.$el)))}},write(t){let{max:e}=t;c(this.$el,{minHeight:this.minHeight,maxHeight:e})},events:["resize"]}},ua={mixins:[bt],props:["width","height"],resizeTargets(){return[this.$el,E(this.$el)]},connected(){b(this.$el,"uk-responsive-width")},update:{read(){return W(this.$el)&&this.width&&this.height?{width:$e(E(this.$el)),height:this.height}:!1},write(t){K(this.$el,He.contain({height:this.height,width:this.width},t).height)},events:["resize"]}},da={props:{offset:Number},data:{offset:0},methods:{async scrollTo(t){t=t&&w(t)||document.body,p(this.$el,"beforescroll",[this,t])&&(await qi(t,{offset:this.offset}),p(this.$el,"scrolled",[this,t]))}},events:{click(t){t.defaultPrevented||(t.preventDefault(),this.scrollTo(mn(this.$el)))}}};function mn(t){return document.getElementById(decodeURIComponent(t.hash).substring(1))}var fa={mixins:[Ce],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?D(i,e):[e]},watch(t,e){this.hidden&&c(ve(t,":not(."+this.inViewClass+")"),"visibility","hidden"),pe(t,e)||this.$reset()},immediate:!0}},connected(){this._data.elements=new Map,this.registerObserver(oe(this.elements,t=>{const e=this._data.elements;for(const{target:i,isIntersecting:s}of t){e.has(i)||e.set(i,{cls:lt(i,"uk-scrollspy-class")||this.cls});const n=e.get(i);!this.repeat&&n.show||(n.show=s)}this.$emit()},{rootMargin:Z(this.offsetTop,"height")-1+"px "+(Z(this.offsetLeft,"width")-1)+"px"},!1))},disconnected(){for(const[t,e]of this._data.elements.entries())O(t,this.inViewClass,(e==null?void 0:e.cls)||"")},update:[{write(t){for(const[e,i]of t.elements.entries())i.show&&!i.inview&&!i.queued?(i.queued=!0,t.promise=(t.promise||Promise.resolve()).then(()=>new Promise(s=>setTimeout(s,this.delay))).then(()=>{this.toggle(e,!0),setTimeout(()=>{i.queued=!1,this.$emit()},300)})):!i.show&&i.inview&&!i.queued&&this.repeat&&this.toggle(e,!1)}}],methods:{toggle(t,e){const i=this._data.elements.get(t);if(!!i){if(i.off==null||i.off(),c(t,"visibility",!e&&this.hidden?"hidden":""),L(t,this.inViewClass,e),L(t,i.cls),/\buk-animation-/.test(i.cls)){const s=()=>_i(t,"uk-animation-[\\w-]+");e?i.off=N(t,"animationcancel animationend",s):s()}p(t,e?"inview":"outview"),i.inview=e,this.$update(t)}}}},pa={mixins:[Ce],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 D('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 it(this.links,e||"*")}},update:[{read(){const t=this.links.map(mn).filter(Boolean),{length:e}=t;if(!e||!W(this.$el))return!1;const[i]=st(t,/auto|scroll/,!0),{scrollTop:s,scrollHeight:n}=i,o=ut(i),r=n-o.height;let a=!1;if(s===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&&!A(this.elements[e],this.cls);this.links.forEach(s=>s.blur());for(let s=0;s<this.elements.length;s++)L(this.elements[s],this.cls,+s===e);i&&p(this.$el,"active",[e,this.elements[e]])},events:["scroll","resize"]}]},ga={mixins:[ot,li,bt,Ce],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&&w(i,e)||e}},resizeTargets(){return document.documentElement},connected(){this.start=wn(this.start||this.top),this.end=wn(this.end||this.bottom),this.placeholder=w("+ .uk-sticky-placeholder",this.$el)||w('<div class="uk-sticky-placeholder"></div>'),this.isFixed=!1,this.setActive(!1)},disconnected(){this.isFixed&&(this.hide(),O(this.selTarget,this.clsInactive)),ct(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(w(location.hash)),i=C(this.$el);this.isFixed&&ki(e,i)&&(t.scrollTop=e.top-i.height-Z(this.targetOffset,"height",this.placeholder)-Z(this.offset,"height",this.placeholder))})}}],update:[{read(t,e){let{height:i,margin:s}=t;if(this.inactive=!this.matchMedia||!W(this.$el),this.inactive)return!1;const n=this.active&&e.has("resize");n&&(c(this.selTarget,"transition","0s"),this.hide()),this.active||(i=C(this.$el).height,s=c(this.$el,"margin")),n&&(this.show(),requestAnimationFrame(()=>c(this.selTarget,"transition","")));const o=this.isFixed?this.placeholder:this.$el,r=K(window);let a=this.position;this.overflowFlip&&i>r&&(a=a==="top"?"bottom":"top");let l=Z(this.offset,"height",o);a==="bottom"&&(i<r||this.overflowFlip)&&(l+=r-i);const h=this.overflowFlip?0:Math.max(0,i+l-r),u=C(o).top,d=(this.start===!1?u:vn(this.start,this.$el,u))-l,f=this.end===!1?document.scrollingElement.scrollHeight-r:vn(this.end,this.$el,u+i,!0)-C(this.$el).height+h-l;return{start:d,end:f,offset:l,overflow:h,topOffset:u,height:i,margin:s,width:$(o).width,top:Lt(o)[0]}},write(t){let{height:e,margin:i}=t;const{placeholder:s}=this;c(s,{height:e,margin:i}),B(s,document)||(qe(this.$el,s),s.hidden=!0)},events:["resize"]},{read(t){let{scroll:e=0,dir:i="down",overflow:s,overflowScroll:n=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:U(n+U(a,o,r)-U(e,o,r),0,s)}},write(t,e){const i=e.has("scroll"),{initTimestamp:s=0,dir:n,prevDir:o,scroll:r,prevScroll:a=0,top:l,start:h,topOffset:u,height:d}=t;if(r<0||r===a&&i||this.showOnUp&&!i&&!this.isFixed)return;const f=Date.now();if((f-s>300||n!==o)&&(t.initScroll=r,t.initTimestamp=f),!(this.showOnUp&&!this.isFixed&&Math.abs(t.initScroll-r)<=30&&Math.abs(a-r)<=10))if(this.inactive||r<h||this.showOnUp&&(r<=h||n==="down"&&i||n==="up"&&!this.isFixed&&r<=u+d)){if(!this.isFixed){ft.inProgress(this.$el)&&l>r&&(ft.cancel(this.$el),this.hide());return}this.isFixed=!1,this.animation&&r>u?(ft.cancel(this.$el),ft.out(this.$el,this.animation).then(()=>this.hide(),P)):this.hide()}else this.isFixed?this.update():this.animation&&r>u?(ft.cancel(this.$el),this.show(),ft.in(this.$el,this.animation).catch(P)):this.show()},events:["resize","scroll"]}],methods:{show(){this.isFixed=!0,this.update(),this.placeholder.hidden=!1},hide(){this.setActive(!1),O(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:s=0,start:n,end:o,offset:r,topOffset:a,height:l,offsetParentTop:h}=this._data;const u=n!==0||e>n;let d="fixed";e>o&&(r+=o-h,d="absolute"),i&&(r-=s),c(this.$el,{position:d,top:r+"px",width:t}),this.setActive(u),L(this.$el,this.clsBelow,e>a+l),b(this.$el,this.clsFixed)},setActive(t){const e=this.active;this.active=t,t?(Di(this.selTarget,this.clsInactive,this.clsActive),e!==t&&p(this.$el,"active")):(Di(this.selTarget,this.clsActive,this.clsInactive),e!==t&&p(this.$el,"inactive"))}}};function vn(t,e,i,s){if(!t)return 0;if(Bt(t)||_(t)&&t.match(/^-?\d/))return i+Z(t,"height",e,!0);{const n=t===!0?E(e):St(t,e);return C(n).bottom-(s&&n&&B(e,n)?v(c(n,"paddingBottom")):0)}}function wn(t){return t==="true"?!0:t==="false"?!1:t}var bn={mixins:[Te,pn,Ct],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 be(i,e)},watch(t){this.swiping&&c(t,"touchAction","pan-y pinch-zoom");const e=this.index();this.connects.forEach(i=>M(i).forEach((s,n)=>L(s,this.cls,n===e)))},immediate:!0},toggles:{get(t,e){let{toggle:i}=t;return D(i,e).filter(s=>!H(s,".uk-disabled *, .uk-disabled, [disabled]"))},watch(t){const e=this.index();this.show(~e?e:t[this.active]||t[0])},immediate:!0},children(){return M(this.$el).filter(t=>this.toggles.some(e=>B(e,t)))},swipeTarget(){return this.connects}},connected(){this.lazyload(this.$el,this.connects),Ni(()=>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?be(this.itemNav,this.$el):[])},delegate(){return"["+this.attrItem+"],[data-"+this.attrItem+"]"},handler(t){t.preventDefault(),this.show(lt(t.current,this.attrItem))}},{name:"swipeRight swipeLeft",filter(){return this.swiping},el(){return this.connects},handler(t){let{type:e}=t;this.show(Gt(e,"Left")?"next":"previous")}}],methods:{index(){return yt(this.children,t=>A(t,this.cls))},show(t){const e=this.index(),i=Qt(t,this.toggles,e),s=Qt(this.children[i],M(this.$el));M(this.$el).forEach((o,r)=>{L(o,this.cls,s===r),k(this.toggles[r],"aria-expanded",s===r)});const n=e>=0&&e!==i;this.connects.forEach(async o=>{let{children:r}=o;await this.toggleElement(y(r).filter(a=>A(a,this.cls)),!1,n),await this.toggleElement(r[s],!0,n)})}}},ma={mixins:[ot],extends:bn,props:{media:Boolean},data:{media:960,attrItem:"uk-tab-item"},connected(){const t=A(this.$el,"uk-tab-left")?"uk-tab-left":A(this.$el,"uk-tab-right")?"uk-tab-right":!1;t&&this.$create("toggle",this.$el,{cls:t,mode:"media",media:this.media})}};const va=32;var wa={mixins:[Te,li,Ct],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:s}=t;return s=be(s||i,e),s.length&&s||[e]},watch(){this.updateAria()},immediate:!0}},connected(){!g(this.mode,"media")&&!We(this.$el)&&k(this.$el,"tabindex","0"),this.lazyload(this.$el,this.target),Ni(()=>this.$emit())},events:[{name:pt,filter(){return g(this.mode,"hover")},handler(t){this._preventClick=null,!(!Tt(t)||this._showState)&&(p(this.$el,"focus"),N(document,pt,()=>p(this.$el,"blur"),!0,e=>!B(e.target,this.$el)),g(this.mode,"click")&&(this._preventClick=!0))}},{name:Rt+" "+ne+" focus blur",filter(){return g(this.mode,"hover")},handler(t){if(Tt(t))return;const e=g([Rt,"focus"],t.type),i=k(this.$el,"aria-expanded");if(!(!e&&(t.type===ne&&H(this.$el,":focus")||t.type==="blur"&&H(this.$el,":hover")))){if(this._showState&&e&&i!==this._showState){e||(this._showState=null);return}this._showState=e?i:null,this.toggle("toggle"+(e?"show":"hide"))}}},{name:"keydown",filter(){return g(this.mode,"click")&&!mt(this.$el,"input")},handler(t){t.keyCode===va&&(t.preventDefault(),this.$el.click())}},{name:"click",filter(){return["click","hover"].some(t=>g(this.mode,t))},handler(t){let e;(this._preventClick||it(t.target,'a[href="#"], a[href=""]')||(e=it(t.target,"a[href]"))&&(k(this.$el,"aria-expanded")!=="true"||e.hash&&H(this.target,e.hash)))&&t.preventDefault(),!this._preventClick&&g(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 g(this.mode,"media")},el(){return this.target},handler(t,e){e.matches^this.isToggled(this.target)&&this.toggle()}}],methods:{async toggle(t){if(!p(this.target,t||"toggle",[this]))return;if(!this.queued)return this.toggleElement(this.target);const e=this.target.filter(s=>A(s,this.clsLeave));if(e.length){for(const s of this.target){const n=g(e,s);this.toggleElement(s,n,n)}return}const i=this.target.filter(this.isToggled);await this.toggleElement(i,!1),await this.toggleElement(this.target.filter(s=>!g(i,s)),!0)},updateAria(t){g(this.mode,"media")||k(this.$el,"aria-expanded",Me(t)?t:this.isToggled(this.target))}}},ba=Object.freeze({__proto__:null,Accordion:Gs,Alert:Qo,Cover:Uo,Drop:Us,Dropdown:Us,FormCustom:nr,Grid:lr,HeightMatch:dr,HeightViewport:gr,Icon:Ki,Img:Gr,Leader:ea,Margin:tn,Modal:ia,Nav:na,Navbar:oa,Offcanvas:aa,OverflowAuto:ca,Responsive:ua,Scroll:da,Scrollspy:fa,ScrollspyNav:pa,Sticky:ga,Svg:nn,Switcher:bn,Tab:ma,Toggle:wa,Video:Xs,Close:Wr,Spinner:jr,NavParentIcon:Lr,SlidenavNext:cn,SlidenavPrevious:cn,SearchIcon:Fr,Marker:dt,NavbarParentIcon:dt,NavbarToggleIcon:dt,OverlayIcon:dt,PaginationNext:dt,PaginationPrevious:dt,Totop:dt});kt(ba,(t,e)=>nt.component(e,t)),Xo(nt);const xa=["days","hours","minutes","seconds"];var ya={mixins:[ot],props:{date:String,clsWrapper:String},data:{date:"",clsWrapper:".uk-countdown-%unit%"},connected(){this.date=Date.parse(this.$props.date),this.start()},disconnected(){this.stop()},events:[{name:"visibilitychange",el(){return document},handler(){document.hidden?this.stop():this.start()}}],methods:{start(){this.stop(),this.update(),this.timer=setInterval(this.update,1e3)},stop(){clearInterval(this.timer)},update(){const t=$a(this.date);(!this.date||t.total<=0)&&(this.stop(),t.days=t.hours=t.minutes=t.seconds=0);for(const e of xa){const i=w(this.clsWrapper.replace("%unit%",e),this.$el);if(!i)continue;let s=String(Math.trunc(t[e]));s=s.length<2?"0"+s:s,i.textContent!==s&&(s=s.split(""),s.length!==i.children.length&&Et(i,s.map(()=>"<span></span>").join("")),s.forEach((n,o)=>i.children[o].textContent=n))}}}};function $a(t){const e=t-Date.now();return{total:e,seconds:e/1e3%60,minutes:e/1e3/60%60,hours:e/1e3/60/60%24,days:e/1e3/60/60/24}}const Qi="uk-transition-leave",Ui="uk-transition-enter";function xn(t,e,i,s){s===void 0&&(s=0);const n=hi(e,!0),o={opacity:1},r={opacity:0},a=u=>()=>n===hi(e)?u():Promise.reject(),l=a(()=>(b(e,Qi),Promise.all($n(e).map((u,d)=>new Promise(f=>setTimeout(()=>T.start(u,r,i/2,"ease").then(f),d*s)))).then(()=>O(e,Qi)))),h=a(()=>{const u=K(e);return b(e,Ui),t(),c(M(e),{opacity:0}),new Promise(d=>requestAnimationFrame(()=>{const f=M(e),m=K(e);c(e,"alignContent","flex-start"),K(e,u);const I=$n(e);c(f,r);const x=I.map((J,Y)=>new Promise(R=>setTimeout(()=>T.start(J,o,i/2,"ease").then(R),Y*s)));u!==m&&x.push(T.start(e,{height:m},i/2+I.length*s,"ease")),Promise.all(x).then(()=>{O(e,Ui),n===hi(e)&&(c(e,{height:"",alignContent:""}),c(f,{opacity:""}),delete e.dataset.transition),d()})}))});return A(e,Qi)?yn(e).then(h):A(e,Ui)?yn(e).then(l).then(h):l().then(h)}function hi(t,e){return e&&(t.dataset.transition=1+hi(t)),At(t.dataset.transition)||0}function yn(t){return Promise.all(M(t).filter(T.inProgress).map(e=>new Promise(i=>N(e,"transitionend transitioncanceled",i))))}function $n(t){return Ji(M(t)).reduce((e,i)=>e.concat(Ne(i.filter(s=>Ue(s)),"offsetLeft")),[])}function ka(t,e,i){return new Promise(s=>requestAnimationFrame(()=>{let n=M(e);const o=n.map(a=>kn(a,!0)),r=c(e,["height","padding"]);T.cancel(e),n.forEach(T.cancel),Sn(e),t(),n=n.concat(M(e).filter(a=>!g(n,a))),Promise.resolve().then(()=>{z.flush();const a=c(e,["height","padding"]),[l,h]=Sa(e,n,o);n.forEach((u,d)=>h[d]&&c(u,h[d])),c(e,{display:"block",...r}),requestAnimationFrame(()=>{const u=n.map((d,f)=>E(d)===e&&T.start(d,l[f],i,"ease")).concat(T.start(e,a,i,"ease"));Promise.all(u).then(()=>{n.forEach((d,f)=>E(d)===e&&c(d,"display",l[f].opacity===0?"none":"")),Sn(e)},P).then(s)})})}))}function kn(t,e){const i=c(t,"zIndex");return W(t)?{display:"",opacity:e?c(t,"opacity"):"0",pointerEvents:"none",position:"absolute",zIndex:i==="auto"?Ut(t):i,...Tn(t)}:!1}function Sa(t,e,i){const s=e.map((o,r)=>E(o)&&r in i?i[r]?W(o)?Tn(o):{opacity:0}:{opacity:W(o)?1:0}:!1),n=s.map((o,r)=>{const a=E(e[r])===t&&(i[r]||kn(e[r]));if(!a)return!1;if(!o)delete a.opacity;else if(!("opacity"in o)){const{opacity:l}=a;l%1?o.opacity=1:delete a.opacity}return a});return[s,n]}function Sn(t){c(t.children,{height:"",left:"",opacity:"",pointerEvents:"",position:"",top:"",marginTop:"",marginLeft:"",transform:"",width:"",zIndex:""}),c(t,{height:"",display:"",padding:""})}function Tn(t){const{height:e,width:i}=C(t),{top:s,left:n}=je(t),{marginLeft:o,marginTop:r}=c(t,["marginTop","marginLeft"]);return{top:s,left:n,height:e,width:i,marginLeft:o,marginTop:r,transform:""}}var Cn={props:{duration:Number,animation:Boolean},data:{duration:150,animation:"slide"},methods:{animate(t,e){e===void 0&&(e=this.$el);const i=this.animation;return(i==="fade"?xn:i==="delayed-fade"?function(){for(var n=arguments.length,o=new Array(n),r=0;r<n;r++)o[r]=arguments[r];return xn(...o,40)}:i?ka:()=>(t(),Promise.resolve()))(t,e,this.duration).then(()=>this.$update(e,"resize"),P)}}},Ta={mixins:[Cn],args:"target",props:{target:Boolean,selActive:Boolean},data:{target:null,selActive:!1,attrItem:"uk-filter-control",cls:"uk-active",duration:250},computed:{toggles:{get(t,e){let{attrItem:i}=t;return D("["+i+"],[data-"+i+"]",e)},watch(){if(this.updateState(),this.selActive!==!1){const t=D(this.selActive,this.$el);this.toggles.forEach(e=>L(e,this.cls,g(t,e)))}},immediate:!0},children:{get(t,e){let{target:i}=t;return D(i+" > *",e)},watch(t,e){e&&!Aa(t,e)&&this.updateState()},immediate:!0}},events:[{name:"click",delegate(){return"["+this.attrItem+"],[data-"+this.attrItem+"]"},handler(t){t.preventDefault(),this.apply(t.current)}}],methods:{apply(t){const e=this.getState(),i=Pn(t,this.attrItem,this.getState());Ca(e,i)||this.setState(i)},getState(){return this.toggles.filter(t=>A(t,this.cls)).reduce((t,e)=>Pn(e,this.attrItem,t),{filter:{"":""},sort:[]})},async setState(t,e){e===void 0&&(e=!0),t={filter:{"":""},sort:[],...t},p(this.$el,"beforeFilter",[this,t]),this.toggles.forEach(i=>L(i,this.cls,!!Pa(i,this.attrItem,t))),await Promise.all(D(this.target,this.$el).map(i=>{const s=()=>{Ia(t,i,M(i)),this.$update(this.$el)};return e?this.animate(s,i):s()})),p(this.$el,"afterFilter",[this])},updateState(){z.write(()=>this.setState(this.getState(),!1))}}};function In(t,e){return Se(lt(t,e),["filter"])}function Ca(t,e){return["filter","sort"].every(i=>pe(t[i],e[i]))}function Ia(t,e,i){const s=Ea(t);i.forEach(r=>c(r,"display",s&&!H(r,s)?"none":""));const[n,o]=t.sort;if(n){const r=Oa(i,n,o);pe(r,i)||j(e,r)}}function Pn(t,e,i){const s=In(t,e),{filter:n,group:o,sort:r,order:a="asc"}=s;return(n||G(r))&&(o?n?(delete i.filter[""],i.filter[o]=n):(delete i.filter[o],(fe(i.filter)||""in i.filter)&&(i.filter={"":n||""})):i.filter={"":n||""}),G(r)||(i.sort=[r,a]),i}function Pa(t,e,i){let{filter:s={"":""},sort:[n,o]}=i;const{filter:r="",group:a="",sort:l,order:h="asc"}=In(t,e);return G(l)?a in s&&r===s[a]||!r&&a&&!(a in s)&&!s[""]:n===l&&o===h}function Aa(t,e){return t.length===e.length&&t.every(i=>e.includes(i))}function Ea(t){let{filter:e}=t,i="";return kt(e,s=>i+=s||""),i}function Oa(t,e,i){return[...t].sort((s,n)=>lt(s,e).localeCompare(lt(n,e),void 0,{numeric:!0})*(i==="asc"||-1))}var ts={slide:{show(t){return[{transform:F(t*-100)},{transform:F()}]},percent(t){return Pe(t)},translate(t,e){return[{transform:F(e*-100*t)},{transform:F(e*100*(1-t))}]}}};function Pe(t){return Math.abs(c(t,"transform").split(",")[4]/t.offsetWidth)||0}function F(t,e){return t===void 0&&(t=0),e===void 0&&(e="%"),t+=t?e:"","translate3d("+t+", 0, 0)"}function le(t){return"scale3d("+t+", "+t+", 1)"}var An={...ts,fade:{show(){return[{opacity:0},{opacity:1}]},percent(t){return 1-c(t,"opacity")},translate(t){return[{opacity:1-t},{opacity:t}]}},scale:{show(){return[{opacity:0,transform:le(1-.2)},{opacity:1,transform:le(1)}]},percent(t){return 1-c(t,"opacity")},translate(t){return[{opacity:1-t,transform:le(1-.2*t)},{opacity:t,transform:le(1-.2+.2*t)}]}}};function _a(t,e,i,s){let{animation:n,easing:o}=s;const{percent:r,translate:a,show:l=P}=n,h=l(i),u=new Le;return{dir:i,show(d,f,m){f===void 0&&(f=0);const I=m?"linear":o;return d-=Math.round(d*U(f,-1,1)),this.translate(f),ci(e,"itemin",{percent:f,duration:d,timing:I,dir:i}),ci(t,"itemout",{percent:1-f,duration:d,timing:I,dir:i}),Promise.all([T.start(e,h[1],d,I),T.start(t,h[0],d,I)]).then(()=>{this.reset(),u.resolve()},P),u.promise},cancel(){T.cancel([e,t])},reset(){for(const d in h[0])c([e,t],d,"")},forward(d,f){return f===void 0&&(f=this.percent()),T.cancel([e,t]),this.show(d,f,!0)},translate(d){this.reset();const f=a(d,i);c(e,f[1]),c(t,f[0]),ci(e,"itemtranslatein",{percent:d,dir:i}),ci(t,"itemtranslateout",{percent:1-d,dir:i})},percent(){return r(t||e,e,i)},getDistance(){return t==null?void 0:t.offsetWidth}}}function ci(t,e,i){p(t,zt(e,!1,!1,i))}var Da={props:{autoplay:Boolean,autoplayInterval:Number,pauseOnHover:Boolean},data:{autoplay:!1,autoplayInterval:7e3,pauseOnHover:!0},connected(){this.autoplay&&this.startAutoplay()},disconnected(){this.stopAutoplay()},update(){k(this.slides,"tabindex","-1")},events:[{name:"visibilitychange",el(){return document},filter(){return this.autoplay},handler(){document.hidden?this.stopAutoplay():this.startAutoplay()}}],methods:{startAutoplay(){this.stopAutoplay(),this.interval=setInterval(()=>(!this.draggable||!w(":focus",this.$el))&&(!this.pauseOnHover||!H(this.$el,":hover"))&&!this.stack.length&&this.show("next"),this.autoplayInterval)},stopAutoplay(){this.interval&&clearInterval(this.interval)}}};const Ae={passive:!1,capture:!0},Ba="touchstart mousedown",es="touchmove mousemove",is="touchend touchcancel mouseup click input";var Ma={props:{draggable:Boolean},data:{draggable:!0,threshold:10},created(){for(const t of["start","move","end"]){const e=this[t];this[t]=i=>{const s=ee(i).x*(X?-1:1);this.prevPos=s===this.pos?this.prevPos:this.pos,this.pos=s,e(i)}}},events:[{name:Ba,delegate(){return this.selSlides},handler(t){!this.draggable||!Tt(t)&&Na(t.target)||it(t.target,me)||t.button>0||this.length<2||this.start(t)}},{name:"dragstart",handler(t){t.preventDefault()}},{name:es+" "+is,el(){return this.list},handler:P,...Ae}],methods:{start(){this.drag=this.pos,this._transitioner?(this.percent=this._transitioner.percent(),this.drag+=this._transitioner.getDistance()*this.percent*this.dir,this._transitioner.cancel(),this._transitioner.translate(this.percent),this.dragging=!0,this.stack=[]):this.prevIndex=this.index,S(document,es,this.move,Ae),S(document,is,this.end,Ae),c(this.list,"userSelect","none")},move(t){const e=this.pos-this.drag;if(e===0||this.prevPos===this.pos||!this.dragging&&Math.abs(e)<this.threshold)return;c(this.list,"pointerEvents","none"),t.cancelable&&t.preventDefault(),this.dragging=!0,this.dir=e<0?1:-1;const{slides:i}=this;let{prevIndex:s}=this,n=Math.abs(e),o=this.getIndex(s+this.dir,s),r=this._getDistance(s,o)||i[s].offsetWidth;for(;o!==s&&n>r;)this.drag-=r*this.dir,s=o,n-=r,o=this.getIndex(s+this.dir,s),r=this._getDistance(s,o)||i[s].offsetWidth;this.percent=n/r;const a=i[s],l=i[o],h=this.index!==o,u=s===o;let d;[this.index,this.prevIndex].filter(f=>!g([o,s],f)).forEach(f=>{p(i[f],"itemhidden",[this]),u&&(d=!0,this.prevIndex=s)}),(this.index===s&&this.prevIndex!==s||d)&&p(i[this.index],"itemshown",[this]),h&&(this.prevIndex=s,this.index=o,!u&&p(a,"beforeitemhide",[this]),p(l,"beforeitemshow",[this])),this._transitioner=this._translate(Math.abs(this.percent),a,!u&&l),h&&(!u&&p(a,"itemhide",[this]),p(l,"itemshow",[this]))},end(){if(te(document,es,this.move,Ae),te(document,is,this.end,Ae),this.dragging)if(this.dragging=null,this.index===this.prevIndex)this.percent=1-this.percent,this.dir*=-1,this._show(!1,this.index,!0),this._transitioner=null;else{const t=(X?this.dir*(X?1:-1):this.dir)<0==this.prevPos>this.pos;this.index=t?this.index:this.prevIndex,t&&(this.percent=1-this.percent),this.show(this.dir>0&&!t||this.dir<0&&t?"next":"previous",!0)}c(this.list,{userSelect:"",pointerEvents:""}),this.drag=this.percent=null}}};function Na(t){return!t.children.length&&t.childNodes.length}var za={data:{selNav:!1},computed:{nav(t,e){let{selNav:i}=t;return w(i,e)},selNavItem(t){let{attrItem:e}=t;return"["+e+"],[data-"+e+"]"},navItems(t,e){return D(this.selNavItem,e)}},update:{write(){this.nav&&this.length!==this.nav.children.length&&Et(this.nav,this.slides.map((t,e)=>"<li "+this.attrItem+'="'+e+'"><a href></a></li>').join("")),this.navItems.concat(this.nav).forEach(t=>t&&(t.hidden=!this.maxIndex)),this.updateNav()},events:["resize"]},events:[{name:"click",delegate(){return this.selNavItem},handler(t){t.preventDefault(),this.show(lt(t.current,this.attrItem))}},{name:"itemshow",handler:"updateNav"}],methods:{updateNav(){const t=this.getValidIndex();for(const e of this.navItems){const i=lt(e,this.attrItem);L(e,this.clsActive,At(i)===t),L(e,"uk-invisible",this.finite&&(i==="previous"&&t===0||i==="next"&&t>=this.maxIndex))}}}},En={mixins:[Da,Ma,za,bt],props:{clsActivated:Boolean,easing:String,index:Number,finite:Boolean,velocity:Number,selSlides:String},data:()=>({easing:"ease",finite:!1,velocity:1,index:0,prevIndex:-1,stack:[],percent:0,clsActive:"uk-active",clsActivated:!1,Transitioner:!1,transitionOptions:{}}),connected(){this.prevIndex=-1,this.index=this.getValidIndex(this.$props.index),this.stack=[]},disconnected(){O(this.slides,this.clsActive)},computed:{duration(t,e){let{velocity:i}=t;return On(e.offsetWidth/i)},list(t,e){let{selList:i}=t;return w(i,e)},maxIndex(){return this.length-1},selSlides(t){let{selList:e,selSlides:i}=t;return e+" "+(i||"> *")},slides:{get(){return D(this.selSlides,this.$el)},watch(){this.$reset()}},length(){return this.slides.length}},methods:{show(t,e){if(e===void 0&&(e=!1),this.dragging||!this.length)return;const{stack:i}=this,s=e?0:i.length,n=()=>{i.splice(s,1),i.length&&this.show(i.shift(),!0)};if(i[e?"unshift":"push"](t),!e&&i.length>1){i.length===2&&this._transitioner.forward(Math.min(this.duration,200));return}const o=this.getIndex(this.index),r=A(this.slides,this.clsActive)&&this.slides[o],a=this.getIndex(t,this.index),l=this.slides[a];if(r===l){n();return}if(this.dir=Ha(t,o),this.prevIndex=o,this.index=a,r&&!p(r,"beforeitemhide",[this])||!p(l,"beforeitemshow",[this,r])){this.index=this.prevIndex,n();return}const h=this._show(r,l,e).then(()=>(r&&p(r,"itemhidden",[this]),p(l,"itemshown",[this]),new Promise(u=>{z.write(()=>{i.shift(),i.length?this.show(i.shift(),!0):this._transitioner=null,u()})})));return r&&p(r,"itemhide",[this]),p(l,"itemshow",[this]),h},getIndex(t,e){return t===void 0&&(t=this.index),e===void 0&&(e=this.index),U(Qt(t,this.slides,e,this.finite),0,this.maxIndex)},getValidIndex(t,e){return t===void 0&&(t=this.index),e===void 0&&(e=this.prevIndex),this.getIndex(t,e)},_show(t,e,i){if(this._transitioner=this._getTransitioner(t,e,this.dir,{easing:i?e.offsetWidth<600?"cubic-bezier(0.25, 0.46, 0.45, 0.94)":"cubic-bezier(0.165, 0.84, 0.44, 1)":this.easing,...this.transitionOptions}),!i&&!t)return this._translate(1),Promise.resolve();const{length:s}=this.stack;return this._transitioner[s>1?"forward":"show"](s>1?Math.min(this.duration,75+75/(s-1)):this.duration,this.percent)},_getDistance(t,e){return this._getTransitioner(t,t!==e&&e).getDistance()},_translate(t,e,i){e===void 0&&(e=this.prevIndex),i===void 0&&(i=this.index);const s=this._getTransitioner(e!==i?e:!1,i);return s.translate(t),s},_getTransitioner(t,e,i,s){return t===void 0&&(t=this.prevIndex),e===void 0&&(e=this.index),i===void 0&&(i=this.dir||1),s===void 0&&(s=this.transitionOptions),new this.Transitioner(Kt(t)?this.slides[t]:t,Kt(e)?this.slides[e]:e,i*(X?-1:1),s)}}};function Ha(t,e){return t==="next"?1:t==="previous"||t<e?-1:1}function On(t){return .5*t+300}var _n={mixins:[En],props:{animation:String},data:{animation:"slide",clsActivated:"uk-transition-active",Animations:ts,Transitioner:_a},computed:{animation(t){let{animation:e,Animations:i}=t;return{...i[e]||i.slide,name:e}},transitionOptions(){return{animation:this.animation}}},events:{beforeitemshow(t){let{target:e}=t;b(e,this.clsActive)},itemshown(t){let{target:e}=t;b(e,this.clsActivated)},itemhidden(t){let{target:e}=t;O(e,this.clsActive,this.clsActivated)}}},Dn={mixins:[ae,Xi,Ct,_n],functional:!0,props:{delayControls:Number,preload:Number,videoAutoplay:Boolean,template:String},data:()=>({preload:1,videoAutoplay:!1,delayControls:3e3,items:[],cls:"uk-open",clsPage:"uk-lightbox-page",selList:".uk-lightbox-items",attrItem:"uk-lightbox-item",selClose:".uk-close-large",selCaption:".uk-lightbox-caption",pauseOnHover:!1,velocity:2,Animations:An,template:'<div class="uk-lightbox uk-overflow-hidden"> <ul class="uk-lightbox-items"></ul> <div class="uk-lightbox-toolbar uk-position-top uk-text-right uk-transition-slide-top uk-transition-opaque"> <button class="uk-lightbox-toolbar-icon uk-close-large" type="button" uk-close></button> </div> <a class="uk-lightbox-button uk-position-center-left uk-position-medium uk-transition-fade" href uk-slidenav-previous uk-lightbox-item="previous"></a> <a class="uk-lightbox-button uk-position-center-right uk-position-medium uk-transition-fade" href uk-slidenav-next uk-lightbox-item="next"></a> <div class="uk-lightbox-toolbar uk-lightbox-caption uk-position-bottom uk-text-center uk-transition-slide-bottom uk-transition-opaque"></div> </div>'}),created(){const t=w(this.template),e=w(this.selList,t);this.items.forEach(()=>j(e,"<li>")),this.$mount(j(this.container,t))},computed:{caption(t,e){let{selCaption:i}=t;return w(i,e)}},events:[{name:Xe+" "+pt+" keydown",handler:"showControls"},{name:"click",self:!0,delegate(){return this.selSlides},handler(t){t.defaultPrevented||this.hide()}},{name:"shown",self:!0,handler(){this.showControls()}},{name:"hide",self:!0,handler(){this.hideControls(),O(this.slides,this.clsActive),T.stop(this.slides)}},{name:"hidden",self:!0,handler(){this.$destroy(!0)}},{name:"keyup",el(){return document},handler(t){if(!(!this.isToggled(this.$el)||!this.draggable))switch(t.keyCode){case 37:this.show("previous");break;case 39:this.show("next");break}}},{name:"beforeitemshow",handler(t){this.isToggled()||(this.draggable=!1,t.preventDefault(),this.toggleElement(this.$el,!0,!1),this.animation=An.scale,O(t.target,this.clsActive),this.stack.splice(1,0,this.index))}},{name:"itemshow",handler(){Et(this.caption,this.getItem().caption||"");for(let t=-this.preload;t<=this.preload;t++)this.loadItem(this.index+t)}},{name:"itemshown",handler(){this.draggable=this.$props.draggable}},{name:"itemload",async handler(t,e){const{source:i,type:s,alt:n="",poster:o,attrs:r={}}=e;if(this.setItem(e,"<span uk-spinner></span>"),!i)return;let a;const l={frameborder:"0",allow:"autoplay",allowfullscreen:"",style:"max-width: 100%; box-sizing: border-box;","uk-responsive":"","uk-video":""+this.videoAutoplay};if(s==="image"||i.match(/\.(avif|jpe?g|jfif|a?png|gif|svg|webp)($|\?)/i))try{const{width:h,height:u}=await gs(i,r.srcset,r.size);this.setItem(e,Ee("img",{src:i,width:h,height:u,alt:n,...r}))}catch{this.setError(e)}else if(s==="video"||i.match(/\.(mp4|webm|ogv)($|\?)/i)){const h=Ee("video",{src:i,poster:o,controls:"",playsinline:"","uk-video":""+this.videoAutoplay,...r});S(h,"loadedmetadata",()=>{k(h,{width:h.videoWidth,height:h.videoHeight}),this.setItem(e,h)}),S(h,"error",()=>this.setError(e))}else if(s==="iframe"||i.match(/\.(html|php)($|\?)/i))this.setItem(e,Ee("iframe",{src:i,frameborder:"0",allowfullscreen:"",class:"uk-lightbox-iframe",...r}));else if(a=i.match(/\/\/(?:.*?youtube(-nocookie)?\..*?[?&]v=|youtu\.be\/)([\w-]{11})[&?]?(.*)?/))this.setItem(e,Ee("iframe",{src:"https://www.youtube"+(a[1]||"")+".com/embed/"+a[2]+(a[3]?"?"+a[3]:""),width:1920,height:1080,...l,...r}));else if(a=i.match(/\/\/.*?vimeo\.[a-z]+\/(\d+)[&?]?(.*)?/))try{const{height:h,width:u}=await(await fetch("https://vimeo.com/api/oembed.json?maxwidth=1920&url="+encodeURI(i),{credentials:"omit"})).json();this.setItem(e,Ee("iframe",{src:"https://player.vimeo.com/video/"+a[1]+(a[2]?"?"+a[2]:""),width:u,height:h,...l,...r}))}catch{this.setError(e)}}}],methods:{loadItem(t){t===void 0&&(t=this.index);const e=this.getItem(t);this.getSlide(e).childElementCount||p(this.$el,"itemload",[e])},getItem(t){return t===void 0&&(t=this.index),this.items[Qt(t,this.slides)]},setItem(t,e){p(this.$el,"itemloaded",[this,Et(this.getSlide(t),e)])},getSlide(t){return this.slides[this.items.indexOf(t)]},setError(t){this.setItem(t,'<span uk-icon="icon: bolt; ratio: 2"></span>')},showControls(){clearTimeout(this.controlsTimer),this.controlsTimer=setTimeout(this.hideControls,this.delayControls),b(this.$el,"uk-active","uk-transition-active")},hideControls(){O(this.$el,"uk-active","uk-transition-active")}}};function Ee(t,e){const i=Ft("<"+t+">");return k(i,e),i}var La={install:Fa,props:{toggle:String},data:{toggle:"a"},computed:{toggles:{get(t,e){let{toggle:i}=t;return D(i,e)},watch(){this.hide()}}},disconnected(){this.hide()},events:[{name:"click",delegate(){return this.toggle+":not(.uk-disabled)"},handler(t){t.preventDefault(),this.show(t.current)}}],methods:{show(t){const e=ls(this.toggles.map(Bn),"source");if(Jt(t)){const{source:i}=Bn(t);t=yt(e,s=>{let{source:n}=s;return i===n})}return this.panel=this.panel||this.$create("lightboxPanel",{...this.$props,items:e}),S(this.panel.$el,"hidden",()=>this.panel=!1),this.panel.show(t)},hide(){var t;return(t=this.panel)==null?void 0:t.hide()}}};function Fa(t,e){t.lightboxPanel||t.component("lightboxPanel",Dn),$t(e.props,t.component("lightboxPanel").options.props)}function Bn(t){const e={};for(const i of["href","caption","type","poster","alt","attrs"])e[i==="href"?"source":i]=lt(t,i);return e.attrs=Se(e.attrs),e}var Wa={mixins:[ae],functional:!0,args:["message","status"],data:{message:"",status:"",timeout:5e3,group:null,pos:"top-center",clsContainer:"uk-notification",clsClose:"uk-notification-close",clsMsg:"uk-notification-message"},install:ja,computed:{marginProp(t){let{pos:e}=t;return"margin"+(et(e,"top")?"Top":"Bottom")},startProps(){return{opacity:0,[this.marginProp]:-this.$el.offsetHeight}}},created(){const t=w("."+this.clsContainer+"-"+this.pos,this.container)||j(this.container,'<div class="'+this.clsContainer+" "+this.clsContainer+"-"+this.pos+'" style="display: block"></div>');this.$mount(j(t,'<div class="'+this.clsMsg+(this.status?" "+this.clsMsg+"-"+this.status:"")+'"> <a href class="'+this.clsClose+'" data-uk-close></a> <div>'+this.message+"</div> </div>"))},async connected(){const t=v(c(this.$el,this.marginProp));await T.start(c(this.$el,this.startProps),{opacity:1,[this.marginProp]:t}),this.timeout&&(this.timer=setTimeout(this.close,this.timeout))},events:{click(t){it(t.target,'a[href="#"],a[href=""]')&&t.preventDefault(),this.close()},[Rt](){this.timer&&clearTimeout(this.timer)},[ne](){this.timeout&&(this.timer=setTimeout(this.close,this.timeout))}},methods:{async close(t){const e=i=>{const s=E(i);p(i,"close",[this]),ct(i),s!=null&&s.hasChildNodes()||ct(s)};this.timer&&clearTimeout(this.timer),t||await T.start(this.$el,this.startProps),e(this.$el)}}};function ja(t){t.notification.closeAll=function(e,i){vt(document.body,s=>{const n=t.getComponent(s,"notification");n&&(!e||e===n.group)&&n.close(i)})}}const ui={x:di,y:di,rotate:di,scale:di,color:ss,backgroundColor:ss,borderColor:ss,blur:Vt,hue:Vt,fopacity:Vt,grayscale:Vt,invert:Vt,saturate:Vt,sepia:Vt,opacity:qa,stroke:Va,bgx:zn,bgy:zn},{keys:Mn}=Object;var Nn={mixins:[li],props:Wn(Mn(ui),"list"),data:Wn(Mn(ui),void 0),computed:{props(t,e){const i={};for(const n in t)n in ui&&!G(t[n])&&(i[n]=t[n].slice());const s={};for(const n in i)s[n]=ui[n](n,e,i[n],i);return s}},events:{load(){this.$emit()}},methods:{reset(){for(const t in this.getCss(0))c(this.$el,t,"")},getCss(t){const e={transform:"",filter:""};for(const i in this.props)this.props[i](e,t);return e}}};function di(t,e,i){let s=pi(i)||{x:"px",y:"px",rotate:"deg"}[t]||"",n;return t==="x"||t==="y"?(t="translate"+xt(t),n=o=>v(v(o).toFixed(s==="px"?0:6))):t==="scale"&&(s="",n=o=>pi([o])?Z(o,"width",e,!0)/e.offsetWidth:o),i.length===1&&i.unshift(t==="scale"?1:0),i=he(i,n),(o,r)=>{o.transform+=" "+t+"("+Oe(i,r)+s+")"}}function ss(t,e,i){return i.length===1&&i.unshift(_e(e,t,"")),i=he(i,s=>Ra(e,s)),(s,n)=>{const[o,r,a]=Fn(i,n),l=o.map((h,u)=>(h+=a*(r[u]-h),u===3?v(h):parseInt(h,10))).join(",");s[t]="rgba("+l+")"}}function Ra(t,e){return _e(t,"color",e).split(/[(),]/g).slice(1,-1).concat(1).slice(0,4).map(v)}function Vt(t,e,i){i.length===1&&i.unshift(0);const s=pi(i)||{blur:"px",hue:"deg"}[t]||"%";return t={fopacity:"opacity",hue:"hue-rotate"}[t]||t,i=he(i),(n,o)=>{const r=Oe(i,o);n.filter+=" "+t+"("+(r+s)+")"}}function qa(t,e,i){return i.length===1&&i.unshift(_e(e,t,"")),i=he(i),(s,n)=>{s[t]=Oe(i,n)}}function Va(t,e,i){i.length===1&&i.unshift(0);const s=pi(i),n=an(e);return i=he(i.reverse(),o=>(o=v(o),s==="%"?o*n/100:o)),i.some(o=>{let[r]=o;return r})?(c(e,"strokeDasharray",n),(o,r)=>{o.strokeDashoffset=Oe(i,r)}):P}function zn(t,e,i,s){i.length===1&&i.unshift(0);const n=t==="bgy"?"height":"width";s[t]=he(i,a=>Z(a,n,e));const o=["bgx","bgy"].filter(a=>a in s);if(o.length===2&&t==="bgx")return P;if(_e(e,"backgroundSize","")==="cover")return Ya(t,e,i,s);const r={};for(const a of o)r[a]=Hn(e,a);return Ln(o,r,s)}function Ya(t,e,i,s){const n=Ga(e);if(!n.width)return P;const o={width:e.offsetWidth,height:e.offsetHeight},r=["bgx","bgy"].filter(u=>u in s),a={};for(const u of r){const d=s[u].map(J=>{let[Y]=J;return Y}),f=Math.min(...d),m=Math.max(...d),I=d.indexOf(f)<d.indexOf(m),x=m-f;a[u]=(I?-x:0)-(I?f:m)+"px",o[u==="bgy"?"height":"width"]+=x}const l=He.cover(n,o);for(const u of r){const d=u==="bgy"?"height":"width",f=l[d]-o[d];a[u]="max("+Hn(e,u)+",-"+f+"px) + "+a[u]}const h=Ln(r,a,s);return(u,d)=>{h(u,d),u.backgroundSize=l.width+"px "+l.height+"px",u.backgroundRepeat="no-repeat"}}function Hn(t,e){return _e(t,"background-position-"+e.substr(-1),"")}function Ln(t,e,i){return function(s,n){for(const o of t){const r=Oe(i[o],n);s["background-position-"+o.substr(-1)]="calc("+e[o]+" + "+r+"px)"}}}const fi={};function Ga(t){const e=c(t,"backgroundImage").replace(/^none|url\(["']?(.+?)["']?\)$/,"$1");if(fi[e])return fi[e];const i=new Image;return e&&(i.src=e,!i.naturalWidth)?(i.onload=()=>{fi[e]=ns(i),p(t,zt("load",!1))},ns(i)):fi[e]=ns(i)}function ns(t){return{width:t.naturalWidth,height:t.naturalHeight}}function he(t,e){e===void 0&&(e=v);const i=[],{length:s}=t;let n=0;for(let o=0;o<s;o++){let[r,a]=_(t[o])?t[o].trim().split(" "):[t[o]];if(r=e(r),a=a?v(a)/100:null,o===0?a===null?a=0:a&&i.push([r,0]):o===s-1&&(a===null?a=1:a!==1&&(i.push([r,a]),a=1)),i.push([r,a]),a===null)n++;else if(n){const l=i[o-n-1][1],h=(a-l)/(n+1);for(let u=n;u>0;u--)i[o-u][1]=l+h*(n-u+1);n=0}}return i}function Fn(t,e){const i=yt(t.slice(1),s=>{let[,n]=s;return e<=n})+1;return[t[i-1][0],t[i][0],(e-t[i-1][1])/(t[i][1]-t[i-1][1])]}function Oe(t,e){const[i,s,n]=Fn(t,e);return Kt(i)?i+Math.abs(i-s)*n*(i<s?1:-1):+s}const Xa=/^-?\d+(\S*)/;function pi(t,e){for(const i of t){const s=i.match==null?void 0:i.match(Xa);if(s)return s[1]}return e}function _e(t,e,i){const s=t.style[e],n=c(c(t,e,i),e);return t.style[e]=s,n}function Wn(t,e){return t.reduce((i,s)=>(i[s]=e,i),{})}var Ja={mixins:[Nn,bt,Ce],props:{target:String,viewport:Number,easing:Number,start:String,end:String},data:{target:!1,viewport:1,easing:1,start:0,end:0},computed:{target(t,e){let{target:i}=t;return jn(i&&St(i,e)||e)},start(t){let{start:e}=t;return Z(e,"height",this.target,!0)},end(t){let{end:e,viewport:i}=t;return Z(e||(i=(1-i)*100)&&i+"vh+"+i+"%","height",this.target,!0)}},update:{read(t,e){let{percent:i}=t;if(e.has("scroll")||(i=!1),!this.matchMedia)return;const s=i;return i=Ka(Vi(this.target,this.start,this.end),this.easing),{percent:i,style:s===i?!1:this.getCss(i)}},write(t){let{style:e}=t;if(!this.matchMedia){this.reset();return}e&&c(this.$el,e)},events:["scroll","resize"]}};function Ka(t,e){return e>=0?Math.pow(t,e+1):1-Math.pow(1-t,1-e)}function jn(t){return t?"offsetTop"in t?t:jn(E(t)):document.documentElement}var Rn={update:{write(){if(this.stack.length||this.dragging)return;const t=this.getValidIndex(this.index);(!~this.prevIndex||this.index!==t)&&this.show(t)},events:["resize"]}},qn={mixins:[Te],connected(){this.lazyload(this.slides,this.getAdjacentSlides)}};function Za(t,e,i,s){let{center:n,easing:o,list:r}=s;const a=new Le,l=t?De(t,r,n):De(e,r,n)+$(e).width*i,h=e?De(e,r,n):l+$(t).width*i*(X?-1:1);return{dir:i,show(u,d,f){d===void 0&&(d=0);const m=f?"linear":o;return u-=Math.round(u*U(d,-1,1)),this.translate(d),d=t?d:U(d,0,1),os(this.getItemIn(),"itemin",{percent:d,duration:u,timing:m,dir:i}),t&&os(this.getItemIn(!0),"itemout",{percent:1-d,duration:u,timing:m,dir:i}),T.start(r,{transform:F(-h*(X?-1:1),"px")},u,m).then(a.resolve,P),a.promise},cancel(){T.cancel(r)},reset(){c(r,"transform","")},forward(u,d){return d===void 0&&(d=this.percent()),T.cancel(r),this.show(u,d,!0)},translate(u){const d=this.getDistance()*i*(X?-1:1);c(r,"transform",F(U(-h+(d-d*u),-gi(r),$(r).width)*(X?-1:1),"px"));const f=this.getActives(),m=this.getItemIn(),I=this.getItemIn(!0);u=t?U(u,-1,1):0;for(const x of M(r)){const J=g(f,x),Y=x===m,R=x===I,ht=Y||!R&&(J||i*(X?-1:1)===-1^mi(x,r)>mi(t||e));os(x,"itemtranslate"+(ht?"in":"out"),{dir:i,percent:R?1-u:Y?u:J?1:0})}},percent(){return Math.abs((c(r,"transform").split(",")[4]*(X?-1:1)+l)/(h-l))},getDistance(){return Math.abs(h-l)},getItemIn(u){u===void 0&&(u=!1);let d=this.getActives(),f=Yn(r,De(e||t,r,n));if(u){const m=d;d=f,f=m}return f[yt(f,m=>!g(d,m))]},getActives(){return Yn(r,De(t||e,r,n))}}}function De(t,e,i){const s=mi(t,e);return i?s-Qa(t,e):Math.min(s,Vn(e))}function Vn(t){return Math.max(0,gi(t)-$(t).width)}function gi(t){return M(t).reduce((e,i)=>$(i).width+e,0)}function Qa(t,e){return $(e).width/2-$(t).width/2}function mi(t,e){return t&&(je(t).left+(X?$(t).width-$(e).width:0))*(X?-1:1)||0}function Yn(t,e){e-=1;const i=$(t).width,s=e+i+2;return M(t).filter(n=>{const o=mi(n,t),r=o+Math.min($(n).width,i);return o>=e&&r<=s})}function os(t,e,i){p(t,zt(e,!1,!1,i))}var Ua={mixins:[ot,En,Rn,qn],props:{center:Boolean,sets:Boolean},data:{center:!1,sets:!1,attrItem:"uk-slider-item",selList:".uk-slider-items",selNav:".uk-slider-nav",clsContainer:"uk-slider-container",Transitioner:Za},computed:{avgWidth(){return gi(this.list)/this.length},finite(t){let{finite:e}=t;return e||Math.ceil(gi(this.list))<Math.trunc($(this.list).width+tl(this.list)+this.center)},maxIndex(){if(!this.finite||this.center&&!this.sets)return this.length-1;if(this.center)return Zt(this.sets);let t=0;const e=Vn(this.list),i=yt(this.slides,s=>{if(t>=e)return!0;t+=$(s).width});return~i?i:this.length-1},sets(t){let{sets:e}=t;if(!e)return;let i=0;const s=[],n=$(this.list).width;for(let o=0;o<this.slides.length;o++){const r=$(this.slides[o]).width;i+r>n&&(i=0),this.center?i<n/2&&i+r+$(this.slides[+o+1]).width/2>n/2&&(s.push(+o),i=n/2-r/2):i===0&&s.push(Math.min(+o,this.maxIndex)),i+=r}if(s.length)return s},transitionOptions(){return{center:this.center,list:this.list}}},connected(){L(this.$el,this.clsContainer,!w("."+this.clsContainer,this.$el))},update:{write(){for(const t of this.navItems){const e=At(lt(t,this.attrItem));e!==!1&&(t.hidden=!this.maxIndex||e>this.maxIndex||this.sets&&!g(this.sets,e))}this.length&&!this.dragging&&!this.stack.length&&(this.reorder(),this._translate(1)),this.updateActiveClasses()},events:["resize"]},events:{beforeitemshow(t){!this.dragging&&this.sets&&this.stack.length<2&&!g(this.sets,this.index)&&(this.index=this.getValidIndex());const e=Math.abs(this.index-this.prevIndex+(this.dir>0&&this.index<this.prevIndex||this.dir<0&&this.index>this.prevIndex?(this.maxIndex+1)*this.dir:0));if(!this.dragging&&e>1){for(let s=0;s<e;s++)this.stack.splice(1,0,this.dir>0?"next":"previous");t.preventDefault();return}const i=this.dir<0||!this.slides[this.prevIndex]?this.index:this.prevIndex;this.duration=On(this.avgWidth/this.velocity)*($(this.slides[i]).width/this.avgWidth),this.reorder()},itemshow(){~this.prevIndex&&b(this._getTransitioner().getItemIn(),this.clsActive)},itemshown(){this.updateActiveClasses()}},methods:{reorder(){if(this.finite){c(this.slides,"order","");return}const t=this.dir>0&&this.slides[this.prevIndex]?this.prevIndex:this.index;if(this.slides.forEach((n,o)=>c(n,"order",this.dir>0&&o<t?1:this.dir<0&&o>=this.index?-1:"")),!this.center)return;const e=this.slides[t];let i=$(this.list).width/2-$(e).width/2,s=0;for(;i>0;){const n=this.getIndex(--s+t,t),o=this.slides[n];c(o,"order",n>t?-2:-1),i-=$(o).width}},updateActiveClasses(){const t=this._getTransitioner(this.index).getActives(),e=[this.clsActive,(!this.sets||g(this.sets,v(this.index)))&&this.clsActivated||""];for(const i of this.slides)L(i,e,g(t,i))},getValidIndex(t,e){if(t===void 0&&(t=this.index),e===void 0&&(e=this.prevIndex),t=this.getIndex(t,e),!this.sets)return t;let i;do{if(g(this.sets,t))return t;i=t,t=this.getIndex(t+this.dir,e)}while(t!==i);return t},getAdjacentSlides(){const{width:t}=$(this.list),e=-t,i=t*2,s=$(this.slides[this.index]).width,n=this.center?t/2-s/2:0,o=new Set;for(const r of[-1,1]){let a=n+(r>0?s:0),l=0;do{const h=this.slides[this.getIndex(this.index+r+l++*r)];a+=$(h).width*r,o.add(h)}while(this.slides.length>l&&a>e&&a<i)}return Array.from(o)}}};function tl(t){return Math.max(0,...M(t).map(e=>$(e).width))}var Gn={mixins:[Nn],data:{selItem:"!li"},beforeConnect(){this.item=St(this.selItem,this.$el)},disconnected(){this.item=null},events:[{name:"itemin itemout",self:!0,el(){return this.item},handler(t){let{type:e,detail:{percent:i,duration:s,timing:n,dir:o}}=t;z.read(()=>{const r=this.getCss(Jn(e,o,i)),a=this.getCss(Xn(e)?.5:o>0?1:0);z.write(()=>{c(this.$el,r),T.start(this.$el,a,s,n).catch(P)})})}},{name:"transitioncanceled transitionend",self:!0,el(){return this.item},handler(){T.cancel(this.$el)}},{name:"itemtranslatein itemtranslateout",self:!0,el(){return this.item},handler(t){let{type:e,detail:{percent:i,dir:s}}=t;z.read(()=>{const n=this.getCss(Jn(e,s,i));z.write(()=>c(this.$el,n))})}}]};function Xn(t){return Gt(t,"in")}function Jn(t,e,i){return i/=2,Xn(t)^e<0?i:1-i}var el={...ts,fade:{show(){return[{opacity:0,zIndex:0},{zIndex:-1}]},percent(t){return 1-c(t,"opacity")},translate(t){return[{opacity:1-t,zIndex:0},{zIndex:-1}]}},scale:{show(){return[{opacity:0,transform:le(1+.5),zIndex:0},{zIndex:-1}]},percent(t){return 1-c(t,"opacity")},translate(t){return[{opacity:1-t,transform:le(1+.5*t),zIndex:0},{zIndex:-1}]}},pull:{show(t){return t<0?[{transform:F(30),zIndex:-1},{transform:F(),zIndex:0}]:[{transform:F(-100),zIndex:0},{transform:F(),zIndex:-1}]},percent(t,e,i){return i<0?1-Pe(e):Pe(t)},translate(t,e){return e<0?[{transform:F(30*t),zIndex:-1},{transform:F(-100*(1-t)),zIndex:0}]:[{transform:F(-t*100),zIndex:0},{transform:F(30*(1-t)),zIndex:-1}]}},push:{show(t){return t<0?[{transform:F(100),zIndex:0},{transform:F(),zIndex:-1}]:[{transform:F(-30),zIndex:-1},{transform:F(),zIndex:0}]},percent(t,e,i){return i>0?1-Pe(e):Pe(t)},translate(t,e){return e<0?[{transform:F(t*100),zIndex:0},{transform:F(-30*(1-t)),zIndex:-1}]:[{transform:F(-30*t),zIndex:-1},{transform:F(100*(1-t)),zIndex:0}]}}},il={mixins:[ot,_n,Rn,qn],props:{ratio:String,minHeight:Number,maxHeight:Number},data:{ratio:"16:9",minHeight:!1,maxHeight:!1,selList:".uk-slideshow-items",attrItem:"uk-slideshow-item",selNav:".uk-slideshow-nav",Animations:el},update:{read(){if(!this.list)return!1;let[t,e]=this.ratio.split(":").map(Number);return e=e*this.list.offsetWidth/t||0,this.minHeight&&(e=Math.max(this.minHeight,e)),this.maxHeight&&(e=Math.min(this.maxHeight,e)),{height:e-ie(this.list,"height","content-box")}},write(t){let{height:e}=t;e>0&&c(this.list,"minHeight",e)},events:["resize"]},methods:{getAdjacentSlides(){return[1,-1].map(t=>this.slides[this.getIndex(this.index+t)])}}},sl={mixins:[ot,Cn],props:{group:String,threshold:Number,clsItem:String,clsPlaceholder:String,clsDrag:String,clsDragState:String,clsBase:String,clsNoDrag:String,clsEmpty:String,clsCustom:String,handle:String},data:{group:!1,threshold:5,clsItem:"uk-sortable-item",clsPlaceholder:"uk-sortable-placeholder",clsDrag:"uk-sortable-drag",clsDragState:"uk-drag",clsBase:"uk-sortable",clsNoDrag:"uk-sortable-nodrag",clsEmpty:"uk-sortable-empty",clsCustom:"",handle:!1,pos:{}},created(){for(const t of["init","start","move","end"]){const e=this[t];this[t]=i=>{$t(this.pos,ee(i)),e(i)}}},events:{name:pt,passive:!1,handler:"init"},computed:{target(){return(this.$el.tBodies||[this.$el])[0]},items(){return M(this.target)},isEmpty:{get(){return fe(this.items)},watch(t){L(this.target,this.clsEmpty,t)},immediate:!0},handles:{get(t,e){let{handle:i}=t;return i?D(i,e):this.items},watch(t,e){c(e,{touchAction:"",userSelect:""}),c(t,{touchAction:jt?"none":"",userSelect:"none"})},immediate:!0}},update:{write(t){if(!this.drag||!E(this.placeholder))return;const{pos:{x:e,y:i},origin:{offsetTop:s,offsetLeft:n},placeholder:o}=this;c(this.drag,{top:i-s,left:e-n});const r=this.getSortable(document.elementFromPoint(e,i));if(!r)return;const{items:a}=r;if(a.some(T.inProgress))return;const l=al(a,{x:e,y:i});if(a.length&&(!l||l===o))return;const h=this.getSortable(o),u=ll(r.target,l,o,e,i,r===h&&t.moved!==l);u!==!1&&(u&&o===u||(r!==h?(h.remove(o),t.moved=l):delete t.moved,r.insert(o,u),this.touched.add(r)))},events:["move"]},methods:{init(t){const{target:e,button:i,defaultPrevented:s}=t,[n]=this.items.filter(o=>B(e,o));!n||s||i>0||Ci(e)||B(e,"."+this.clsNoDrag)||this.handle&&!B(e,this.handle)||(t.preventDefault(),this.touched=new Set([this]),this.placeholder=n,this.origin={target:e,index:Ut(n),...this.pos},S(document,Xe,this.move),S(document,Ot,this.end),this.threshold||this.start(t))},start(t){this.drag=rl(this.$container,this.placeholder);const{left:e,top:i}=this.placeholder.getBoundingClientRect();$t(this.origin,{offsetLeft:this.pos.x-e,offsetTop:this.pos.y-i}),b(this.drag,this.clsDrag,this.clsCustom),b(this.placeholder,this.clsPlaceholder),b(this.items,this.clsItem),b(document.documentElement,this.clsDragState),p(this.$el,"start",[this,this.placeholder]),nl(this.pos),this.move(t)},move(t){this.drag?this.$emit("move"):(Math.abs(this.pos.x-this.origin.x)>this.threshold||Math.abs(this.pos.y-this.origin.y)>this.threshold)&&this.start(t)},end(){if(te(document,Xe,this.move),te(document,Ot,this.end),!this.drag)return;ol();const t=this.getSortable(this.placeholder);this===t?this.origin.index!==Ut(this.placeholder)&&p(this.$el,"moved",[this,this.placeholder]):(p(t.$el,"added",[t,this.placeholder]),p(this.$el,"removed",[this,this.placeholder])),p(this.$el,"stop",[this,this.placeholder]),ct(this.drag),this.drag=null;for(const{clsPlaceholder:e,clsItem:i}of this.touched)for(const s of this.touched)O(s.items,e,i);this.touched=null,O(document.documentElement,this.clsDragState)},insert(t,e){b(this.items,this.clsItem);const i=()=>e?zi(e,t):j(this.target,t);this.animate(i)},remove(t){!B(t,this.target)||this.animate(()=>ct(t))},getSortable(t){do{const e=this.$getComponent(t,"sortable");if(e&&(e===this||this.group!==!1&&e.group===this.group))return e}while(t=E(t))}}};let Kn;function nl(t){let e=Date.now();Kn=setInterval(()=>{let{x:i,y:s}=t;s+=document.scrollingElement.scrollTop;const n=(Date.now()-e)*.3;e=Date.now(),st(document.elementFromPoint(i,t.y),/auto|scroll/).reverse().some(o=>{let{scrollTop:r,scrollHeight:a}=o;const{top:l,bottom:h,height:u}=ut(o);if(l<s&&l+35>s)r-=n;else if(h>s&&h-35<s)r+=n;else return;if(r>0&&r<a-u)return o.scrollTop=r,!0})},15)}function ol(){clearInterval(Kn)}function rl(t,e){const i=j(t,e.outerHTML.replace(/(^<)(?:li|tr)|(?:li|tr)(\/>$)/g,"$1div$2"));return c(i,"margin","0","important"),c(i,{boxSizing:"border-box",width:e.offsetWidth,height:e.offsetHeight,padding:c(e,"padding")}),K(i.firstElementChild,K(e.firstElementChild)),i}function al(t,e){return t[yt(t,i=>ze(e,i.getBoundingClientRect()))]}function ll(t,e,i,s,n,o){if(!M(t).length)return;const r=e.getBoundingClientRect();if(!o)return hl(t,i)||n<r.top+r.height/2?e:e.nextElementSibling;const a=i.getBoundingClientRect(),l=Zn([r.top,r.bottom],[a.top,a.bottom]),h=l?s:n,u=l?"width":"height",d=l?"left":"top",f=l?"right":"bottom",m=a[u]<r[u]?r[u]-a[u]:0;return a[d]<r[d]?m&&h<r[d]+m?!1:e.nextElementSibling:m&&h>r[f]-m?!1:e}function hl(t,e){const i=M(t).length===1;i&&j(t,e);const s=M(t),n=s.some((o,r)=>{const a=o.getBoundingClientRect();return s.slice(r+1).some(l=>{const h=l.getBoundingClientRect();return!Zn([a.left,a.right],[h.left,h.right])})});return i&&ct(e),n}function Zn(t,e){return t[1]>e[0]&&e[1]>t[0]}var cl={mixins:[ae,Ct,Js],args:"title",props:{delay:Number,title:String},data:{pos:"top",title:"",delay:0,animation:["uk-animation-scale-up"],duration:100,cls:"uk-active"},beforeConnect(){this._hasTitle=Nt(this.$el,"title"),k(this.$el,"title",""),this.updateAria(!1),ul(this.$el)},disconnected(){this.hide(),k(this.$el,"title",this._hasTitle?this.title:null)},methods:{show(){this.isToggled(this.tooltip||null)||!this.title||(this._unbind=N(document,"show keydown "+pt,this.hide,!1,t=>t.type===pt&&!B(t.target,this.$el)||t.type==="keydown"&&t.keyCode===27||t.type==="show"&&t.detail[0]!==this&&t.detail[0].$name===this.$name),clearTimeout(this.showTimer),this.showTimer=setTimeout(this._show,this.delay))},async hide(){H(this.$el,"input:focus")||(clearTimeout(this.showTimer),this.isToggled(this.tooltip||null)&&(await this.toggleElement(this.tooltip,!1,!1),ct(this.tooltip),this.tooltip=null,this._unbind()))},_show(){this.tooltip=j(this.container,'<div class="uk-'+this.$options.name+'"> <div class="uk-'+this.$options.name+'-inner">'+this.title+"</div> </div>"),S(this.tooltip,"toggled",(t,e)=>{if(this.updateAria(e),!e)return;this.positionAt(this.tooltip,this.$el);const[i,s]=dl(this.tooltip,this.$el,this.pos);this.origin=this.axis==="y"?Re(i)+"-"+s:s+"-"+Re(i)}),this.toggleElement(this.tooltip,!0)},updateAria(t){k(this.$el,"aria-expanded",t)}},events:{focus:"show",blur:"hide",[Rt+" "+ne](t){Tt(t)||this[t.type===Rt?"show":"hide"]()},[pt](t){Tt(t)&&this.show()}}};function ul(t){We(t)||k(t,"tabindex","0")}function dl(t,e,i){let[s,n]=i;const o=C(t),r=C(e),a=[["left","right"],["top","bottom"]];for(const h of a){if(o[h[0]]>=r[h[1]]){s=h[1];break}if(o[h[1]]<=r[h[0]]){s=h[0];break}}const l=g(a[0],s)?a[1]:a[0];return o[l[0]]===r[l[0]]?n=l[0]:o[l[1]]===r[l[1]]?n=l[1]:n="center",[s,n]}var fl={props:{allow:String,clsDragover:String,concurrent:Number,maxSize:Number,method:String,mime:String,msgInvalidMime:String,msgInvalidName:String,msgInvalidSize:String,multiple:Boolean,name:String,params:Object,type:String,url:String},data:{allow:!1,clsDragover:"uk-dragover",concurrent:1,maxSize:0,method:"POST",mime:!1,msgInvalidMime:"Invalid File Type: %s",msgInvalidName:"Invalid File Name: %s",msgInvalidSize:"Invalid File Size: %s Kilobytes Max",multiple:!1,name:"files[]",params:{},type:"",url:"",abort:P,beforeAll:P,beforeSend:P,complete:P,completeAll:P,error:P,fail:P,load:P,loadEnd:P,loadStart:P,progress:P},events:{change(t){!H(t.target,'input[type="file"]')||(t.preventDefault(),t.target.files&&this.upload(t.target.files),t.target.value="")},drop(t){vi(t);const e=t.dataTransfer;!(e!=null&&e.files)||(O(this.$el,this.clsDragover),this.upload(e.files))},dragenter(t){vi(t)},dragover(t){vi(t),b(this.$el,this.clsDragover)},dragleave(t){vi(t),O(this.$el,this.clsDragover)}},methods:{async upload(t){if(t=wi(t),!t.length)return;p(this.$el,"upload",[t]);for(const s of t){if(this.maxSize&&this.maxSize*1e3<s.size){this.fail(this.msgInvalidSize.replace("%s",this.maxSize));return}if(this.allow&&!Qn(this.allow,s.name)){this.fail(this.msgInvalidName.replace("%s",this.allow));return}if(this.mime&&!Qn(this.mime,s.type)){this.fail(this.msgInvalidMime.replace("%s",this.mime));return}}this.multiple||(t=t.slice(0,1)),this.beforeAll(this,t);const e=pl(t,this.concurrent),i=async s=>{const n=new FormData;s.forEach(o=>n.append(this.name,o));for(const o in this.params)n.append(o,this.params[o]);try{const o=await ps(this.url,{data:n,method:this.method,responseType:this.type,beforeSend:r=>{const{xhr:a}=r;a.upload&&S(a.upload,"progress",this.progress);for(const l of["loadStart","load","loadEnd","abort"])S(a,l.toLowerCase(),this[l]);return this.beforeSend(r)}});this.complete(o),e.length?await i(e.shift()):this.completeAll(o)}catch(o){this.error(o)}};await i(e.shift())}}};function Qn(t,e){return e.match(new RegExp("^"+t.replace(/\//g,"\\/").replace(/\*\*/g,"(\\/[^\\/]+)*").replace(/\*/g,"[^\\/]+").replace(/((?!\\))\?/g,"$1.")+"$","i"))}function pl(t,e){const i=[];for(let s=0;s<t.length;s+=e)i.push(t.slice(s,s+e));return i}function vi(t){t.preventDefault(),t.stopPropagation()}var gl=Object.freeze({__proto__:null,Countdown:ya,Filter:Ta,Lightbox:La,LightboxPanel:Dn,Notification:Wa,Parallax:Ja,Slider:Ua,SliderParallax:Gn,Slideshow:il,SlideshowParallax:Gn,Sortable:sl,Tooltip:cl,Upload:fl});return kt(gl,(t,e)=>nt.component(e,t)),nt});
|
|
1
|
+
/*! UIkit 3.15.1-dev.f849bb0c8 | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */(function(ue,de){typeof exports=="object"&&typeof module<"u"?module.exports=de():typeof define=="function"&&define.amd?define("uikit",de):(ue=typeof globalThis<"u"?globalThis:ue||self,ue.UIkit=de())})(this,function(){"use strict";const{hasOwnProperty:ue,toString:de}=Object.prototype;function Et(t,e){return ue.call(t,e)}const ar=/\B([A-Z])/g,Ot=ot(t=>t.replace(ar,"-$1").toLowerCase()),lr=/-(\w)/g,Yt=ot(t=>t.replace(lr,us)),kt=ot(t=>t.length?us(null,t.charAt(0))+t.slice(1):"");function us(t,e){return e?e.toUpperCase():""}function tt(t,e){return t==null||t.startsWith==null?void 0:t.startsWith(e)}function Xt(t,e){return t==null||t.endsWith==null?void 0:t.endsWith(e)}function p(t,e){return t==null||t.includes==null?void 0:t.includes(e)}function bt(t,e){return t==null||t.findIndex==null?void 0:t.findIndex(e)}const{isArray:et,from:bi}=Array,{assign:xt}=Object;function gt(t){return typeof t=="function"}function St(t){return t!==null&&typeof t=="object"}function Tt(t){return de.call(t)==="[object Object]"}function Gt(t){return St(t)&&t===t.window}function De(t){return yi(t)===9}function xi(t){return yi(t)>=1}function Jt(t){return yi(t)===1}function yi(t){return!Gt(t)&&St(t)&&t.nodeType}function Ne(t){return typeof t=="boolean"}function _(t){return typeof t=="string"}function Kt(t){return typeof t=="number"}function _t(t){return Kt(t)||_(t)&&!isNaN(t-parseFloat(t))}function fe(t){return!(et(t)?t.length:St(t)?Object.keys(t).length:!1)}function R(t){return t===void 0}function $i(t){return Ne(t)?t:t==="true"||t==="1"||t===""?!0:t==="false"||t==="0"?!1:t}function Ct(t){const e=Number(t);return isNaN(e)?!1:e}function w(t){return parseFloat(t)||0}function q(t){return $(t)[0]}function $(t){return t&&(xi(t)?[t]:Array.from(t).filter(xi))||[]}function Bt(t){var e;if(Gt(t))return t;t=q(t);const i=De(t)?t:(e=t)==null?void 0:e.ownerDocument;return(i==null?void 0:i.defaultView)||window}function pe(t,e){return t===e||St(t)&&St(e)&&Object.keys(t).length===Object.keys(e).length&&yt(t,(i,s)=>i===e[s])}function ki(t,e,i){return t.replace(new RegExp(e+"|"+i,"g"),s=>s===e?i:e)}function Zt(t){return t[t.length-1]}function yt(t,e){for(const i in t)if(e(t[i],i)===!1)return!1;return!0}function ze(t,e){return t.slice().sort((i,s)=>{let{[e]:n=0}=i,{[e]:r=0}=s;return n>r?1:r>n?-1:0})}function ds(t,e){const i=new Set;return t.filter(s=>{let{[e]:n}=s;return i.has(n)?!1:i.add(n)})}function Z(t,e,i){return e===void 0&&(e=0),i===void 0&&(i=1),Math.min(Math.max(Ct(t)||0,e),i)}function T(){}function Si(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return[["bottom","top"],["right","left"]].every(s=>{let[n,r]=s;return Math.min(...e.map(o=>{let{[n]:a}=o;return a}))-Math.max(...e.map(o=>{let{[r]:a}=o;return a}))>0})}function He(t,e){return t.x<=e.right&&t.x>=e.left&&t.y<=e.bottom&&t.y>=e.top}function Ti(t,e,i){const s=e==="width"?"height":"width";return{[s]:t[e]?Math.round(i*t[s]/t[e]):t[s],[e]:i}}function fs(t,e){t={...t};for(const i in t)t=t[i]>e[i]?Ti(t,i,e[i]):t;return t}function hr(t,e){t=fs(t,e);for(const i in t)t=t[i]<e[i]?Ti(t,i,e[i]):t;return t}const Le={ratio:Ti,contain:fs,cover:hr};function Qt(t,e,i,s){i===void 0&&(i=0),s===void 0&&(s=!1),e=$(e);const{length:n}=e;return n?(t=_t(t)?Ct(t):t==="next"?i+1:t==="previous"?i-1:e.indexOf(q(t)),s?Z(t,0,n-1):(t%=n,t<0?t+n:t)):-1}function ot(t){const e=Object.create(null);return i=>e[i]||(e[i]=t(i))}class Fe{constructor(){this.promise=new Promise((e,i)=>{this.reject=i,this.resolve=e})}}function y(t,e,i){if(St(e)){for(const n in e)y(t,n,e[n]);return}if(R(i)){var s;return(s=q(t))==null?void 0:s.getAttribute(e)}else for(const n of $(t))gt(i)&&(i=i.call(n,y(n,e))),i===null?ge(n,e):n.setAttribute(e,i)}function Mt(t,e){return $(t).some(i=>i.hasAttribute(e))}function ge(t,e){const i=$(t);for(const s of e.split(" "))for(const n of i)n.removeAttribute(s)}function at(t,e){for(const i of[e,"data-"+e])if(Mt(t,i))return y(t,i)}const cr={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,menuitem:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0};function Ci(t){return $(t).some(e=>cr[e.tagName.toLowerCase()])}function V(t){return $(t).some(e=>e.offsetWidth||e.offsetHeight||e.getClientRects().length)}const me="input,select,textarea,button";function Ii(t){return $(t).some(e=>L(e,me))}const We=me+",a[href],[tabindex]";function je(t){return L(t,We)}function P(t){var e;return(e=q(t))==null?void 0:e.parentElement}function ve(t,e){return $(t).filter(i=>L(i,e))}function L(t,e){return $(t).some(i=>i.matches(e))}function it(t,e){return Jt(t)?t.closest(tt(e,">")?e.slice(1):e):$(t).map(i=>it(i,e)).filter(Boolean)}function B(t,e){return _(e)?!!it(t,e):q(e).contains(q(t))}function Ut(t,e){const i=[];for(;t=P(t);)(!e||L(t,e))&&i.push(t);return i}function D(t,e){t=q(t);const i=t?$(t.children):[];return e?ve(i,e):i}function te(t,e){return e?$(t).indexOf(q(e)):D(P(t)).indexOf(t)}function dt(t,e){return Pi(t,gs(t,e))}function we(t,e){return be(t,gs(t,e))}function Pi(t,e){return q(ms(t,e,"querySelector"))}function be(t,e){return $(ms(t,e,"querySelectorAll"))}const ur=/(^|[^\\],)\s*[!>+~-]/,ps=ot(t=>t.match(ur));function gs(t,e){return e===void 0&&(e=document),_(t)&&ps(t)||De(e)?e:e.ownerDocument}const dr=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,fr=ot(t=>t.replace(dr,"$1 *"));function ms(t,e,i){if(e===void 0&&(e=document),!t||!_(t))return t;if(t=fr(t),ps(t)){const s=gr(t);t="";for(let n of s){let r=e;if(n[0]==="!"){const o=n.substr(1).trim().split(" ");if(r=it(P(e),o[0]),n=o.slice(1).join(" ").trim(),!n.length&&s.length===1)return r}if(n[0]==="-"){const o=n.substr(1).trim().split(" "),a=(r||e).previousElementSibling;r=L(a,n.substr(1))?a:null,n=o.slice(1).join(" ")}r&&(t+=(t?",":"")+mr(r)+" "+n)}e=document}try{return e[i](t)}catch{return null}}const pr=/.*?[^\\](?:,|$)/g,gr=ot(t=>t.match(pr).map(e=>e.replace(/,$/,"").trim()));function mr(t){const e=[];for(;t.parentNode;){const i=y(t,"id");if(i){e.unshift("#"+Ai(i));break}else{let{tagName:s}=t;s!=="HTML"&&(s+=":nth-child("+(te(t)+1)+")"),e.unshift(s),t=t.parentNode}}return e.join(" > ")}function Ai(t){return _(t)?CSS.escape(t):""}function k(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];let[s,n,r,o,a=!1]=Ei(e);o.length>1&&(o=wr(o)),a!=null&&a.self&&(o=br(o)),r&&(o=vr(r,o));for(const l of n)for(const h of s)h.addEventListener(l,o,a);return()=>Dt(s,n,o,a)}function Dt(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];let[s,n,,r,o=!1]=Ei(e);for(const a of n)for(const l of s)l.removeEventListener(a,r,o)}function N(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];const[s,n,r,o,a=!1,l]=Ei(e),h=k(s,n,r,u=>{const d=!l||l(u);d&&(h(),o(u,d))},a);return h}function g(t,e,i){return Oi(t).every(s=>s.dispatchEvent(Nt(e,!0,!0,i)))}function Nt(t,e,i,s){return e===void 0&&(e=!0),i===void 0&&(i=!1),_(t)&&(t=new CustomEvent(t,{bubbles:e,cancelable:i,detail:s})),t}function Ei(t){return t[0]=Oi(t[0]),_(t[1])&&(t[1]=t[1].split(" ")),gt(t[2])&&t.splice(2,0,!1),t}function vr(t,e){return i=>{const s=t[0]===">"?be(t,i.currentTarget).reverse().filter(n=>B(i.target,n))[0]:it(i.target,t);s&&(i.current=s,e.call(this,i))}}function wr(t){return e=>et(e.detail)?t(e,...e.detail):t(e)}function br(t){return function(e){if(e.target===e.currentTarget||e.target===e.current)return t.call(null,e)}}function vs(t){return t&&"addEventListener"in t}function xr(t){return vs(t)?t:q(t)}function Oi(t){return et(t)?t.map(xr).filter(Boolean):_(t)?be(t):vs(t)?[t]:$(t)}function $t(t){return t.pointerType==="touch"||!!t.touches}function ee(t){var e,i;const{clientX:s,clientY:n}=((e=t.touches)==null?void 0:e[0])||((i=t.changedTouches)==null?void 0:i[0])||t;return{x:s,y:n}}function ws(t,e){const i={data:null,method:"GET",headers:{},xhr:new XMLHttpRequest,beforeSend:T,responseType:"",...e};return Promise.resolve().then(()=>i.beforeSend(i)).then(()=>yr(t,i))}function yr(t,e){return new Promise((i,s)=>{const{xhr:n}=e;for(const r in e)if(r in n)try{n[r]=e[r]}catch{}n.open(e.method.toUpperCase(),t);for(const r in e.headers)n.setRequestHeader(r,e.headers[r]);k(n,"load",()=>{n.status===0||n.status>=200&&n.status<300||n.status===304?i(n):s(xt(Error(n.statusText),{xhr:n,status:n.status}))}),k(n,"error",()=>s(xt(Error("Network Error"),{xhr:n}))),k(n,"timeout",()=>s(xt(Error("Network Timeout"),{xhr:n}))),n.send(e.data)})}function bs(t,e,i){return new Promise((s,n)=>{const r=new Image;r.onerror=o=>{n(o)},r.onload=()=>{s(r)},i&&(r.sizes=i),e&&(r.srcset=e),r.src=t})}const $r={"animation-iteration-count":!0,"column-count":!0,"fill-opacity":!0,"flex-grow":!0,"flex-shrink":!0,"font-weight":!0,"line-height":!0,opacity:!0,order:!0,orphans:!0,"stroke-dasharray":!0,"stroke-dashoffset":!0,widows:!0,"z-index":!0,zoom:!0};function c(t,e,i,s){s===void 0&&(s="");const n=$(t);for(const r of n)if(_(e)){if(e=_i(e),R(i))return getComputedStyle(r).getPropertyValue(e);r.style.setProperty(e,_t(i)&&!$r[e]?i+"px":i||Kt(i)?i:"",s)}else if(et(e)){const o={};for(const a of e)o[a]=c(r,a);return o}else St(e)&&(s=i,yt(e,(o,a)=>c(r,a,o,s)));return n[0]}const _i=ot(t=>kr(t));function kr(t){if(tt(t,"--"))return t;t=Ot(t);const{style:e}=document.documentElement;if(t in e)return t;for(const i of["webkit","moz"]){const s="-"+i+"-"+t;if(s in e)return s}}function b(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),s=1;s<e;s++)i[s-1]=arguments[s];xs(t,i,"add")}function O(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),s=1;s<e;s++)i[s-1]=arguments[s];xs(t,i,"remove")}function Bi(t,e){y(t,"class",i=>(i||"").replace(new RegExp("\\b"+e+"\\b\\s?","g"),""))}function Mi(t){!(arguments.length<=1)&&arguments[1]&&O(t,arguments.length<=1?void 0:arguments[1]),!(arguments.length<=2)&&arguments[2]&&b(t,arguments.length<=2?void 0:arguments[2])}function I(t,e){return[e]=Di(e),!!e&&$(t).some(i=>i.classList.contains(e))}function W(t,e,i){const s=Di(e);R(i)||(i=!!i);for(const n of $(t))for(const r of s)n.classList.toggle(r,i)}function xs(t,e,i){e=e.reduce((s,n)=>s.concat(Di(n)),[]);for(const s of $(t))s.classList[i](...e)}function Di(t){return String(t).split(/\s|,/).filter(Boolean)}function Sr(t,e,i,s){return i===void 0&&(i=400),s===void 0&&(s="linear"),i=Math.round(i),Promise.all($(t).map(n=>new Promise((r,o)=>{for(const l in e){const h=c(n,l);h===""&&c(n,l,h)}const a=setTimeout(()=>g(n,"transitionend"),i);N(n,"transitionend transitioncanceled",l=>{let{type:h}=l;clearTimeout(a),O(n,"uk-transition"),c(n,{transitionProperty:"",transitionDuration:"",transitionTimingFunction:""}),h==="transitioncanceled"?o():r(n)},{self:!0}),b(n,"uk-transition"),c(n,{transitionProperty:Object.keys(e).map(_i).join(","),transitionDuration:i+"ms",transitionTimingFunction:s,...e})})))}const S={start:Sr,async stop(t){g(t,"transitionend"),await Promise.resolve()},async cancel(t){g(t,"transitioncanceled"),await Promise.resolve()},inProgress(t){return I(t,"uk-transition")}},xe="uk-animation-";function ys(t,e,i,s,n){return i===void 0&&(i=200),Promise.all($(t).map(r=>new Promise((o,a)=>{g(r,"animationcanceled");const l=setTimeout(()=>g(r,"animationend"),i);N(r,"animationend animationcanceled",h=>{let{type:u}=h;clearTimeout(l),u==="animationcanceled"?a():o(r),c(r,"animationDuration",""),Bi(r,xe+"\\S*")},{self:!0}),c(r,"animationDuration",i+"ms"),b(r,e,xe+(n?"leave":"enter")),tt(e,xe)&&(s&&b(r,"uk-transform-origin-"+s),n&&b(r,xe+"reverse"))})))}const Tr=new RegExp(xe+"(enter|leave)"),ft={in:ys,out(t,e,i,s){return ys(t,e,i,s,!0)},inProgress(t){return Tr.test(y(t,"class"))},cancel(t){g(t,"animationcanceled")}},zt={width:["left","right"],height:["top","bottom"]};function x(t){const e=Jt(t)?q(t).getBoundingClientRect():{height:G(t),width:ye(t),top:0,left:0};return{height:e.height,width:e.width,top:e.top,left:e.left,bottom:e.top+e.height,right:e.left+e.width}}function A(t,e){const i=x(t);if(t){const{scrollY:n,scrollX:r}=Bt(t),o={height:n,width:r};for(const a in zt)for(const l of zt[a])i[l]+=o[a]}if(!e)return i;const s=c(t,"position");yt(c(t,["left","top"]),(n,r)=>c(t,r,e[r]-i[r]+w(s==="absolute"&&n==="auto"?Re(t)[r]:n)))}function Re(t){let{top:e,left:i}=A(t);const{ownerDocument:{body:s,documentElement:n},offsetParent:r}=q(t);let o=r||n;for(;o&&(o===s||o===n)&&c(o,"position")==="static";)o=o.parentNode;if(Jt(o)){const a=A(o);e-=a.top+w(c(o,"borderTopWidth")),i-=a.left+w(c(o,"borderLeftWidth"))}return{top:e-w(c(t,"marginTop")),left:i-w(c(t,"marginLeft"))}}function Ht(t){t=q(t);const e=[t.offsetTop,t.offsetLeft];for(;t=t.offsetParent;)if(e[0]+=t.offsetTop+w(c(t,"borderTopWidth")),e[1]+=t.offsetLeft+w(c(t,"borderLeftWidth")),c(t,"position")==="fixed"){const i=Bt(t);return e[0]+=i.scrollY,e[1]+=i.scrollX,e}return e}const G=$s("height"),ye=$s("width");function $s(t){const e=kt(t);return(i,s)=>{if(R(s)){if(Gt(i))return i["inner"+e];if(De(i)){const n=i.documentElement;return Math.max(n["offset"+e],n["scroll"+e])}return i=q(i),s=c(i,t),s=s==="auto"?i["offset"+e]:w(s)||0,s-ie(i,t)}else return c(i,t,!s&&s!==0?"":+s+ie(i,t)+"px")}}function ie(t,e,i){return i===void 0&&(i="border-box"),c(t,"boxSizing")===i?zt[e].map(kt).reduce((s,n)=>s+w(c(t,"padding"+n))+w(c(t,"border"+n+"Width")),0):0}function qe(t){for(const e in zt)for(const i in zt[e])if(zt[e][i]===t)return zt[e][1-i];return t}function J(t,e,i,s){return e===void 0&&(e="width"),i===void 0&&(i=window),s===void 0&&(s=!1),_(t)?Ir(t).reduce((n,r)=>{const o=Ar(r);return o&&(r=Er(o==="vh"?G(Bt(i)):o==="vw"?ye(Bt(i)):s?i["offset"+kt(e)]:x(i)[e],r)),n+w(r)},0):w(t)}const Cr=/-?\d+(?:\.\d+)?(?:v[wh]|%|px)?/g,Ir=ot(t=>t.toString().replace(/\s/g,"").match(Cr)||[]),Pr=/(?:v[hw]|%)$/,Ar=ot(t=>(t.match(Pr)||[])[0]);function Er(t,e){return t*w(e)/100}function Ni(t){if(document.readyState!=="loading"){t();return}N(document,"DOMContentLoaded",t)}function mt(t,e){var i;return(t==null||(i=t.tagName)==null?void 0:i.toLowerCase())===e.toLowerCase()}function ks(t){return t=v(t),t.innerHTML="",t}function It(t,e){return R(e)?v(t).innerHTML:j(ks(t),e)}const Or=Ye("prepend"),j=Ye("append"),zi=Ye("before"),Ve=Ye("after");function Ye(t){return function(e,i){var s;const n=$(_(i)?Lt(i):i);return(s=v(e))==null||s[t](...n),Ss(n)}}function ct(t){$(t).forEach(e=>e.remove())}function Hi(t,e){for(e=q(zi(t,e));e.firstChild;)e=e.firstChild;return j(e,t),e}function Li(t,e){return $($(t).map(i=>i.hasChildNodes()?Hi($(i.childNodes),e):j(i,e)))}function Xe(t){$(t).map(P).filter((e,i,s)=>s.indexOf(e)===i).forEach(e=>e.replaceWith(...e.childNodes))}const _r=/^\s*<(\w+|!)[^>]*>/,Br=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function Lt(t){const e=Br.exec(t);if(e)return document.createElement(e[1]);const i=document.createElement("div");return _r.test(t)?i.insertAdjacentHTML("beforeend",t.trim()):i.textContent=t,Ss(i.childNodes)}function Ss(t){return t.length>1?t:t[0]}function vt(t,e){if(!!Jt(t))for(e(t),t=t.firstElementChild;t;){const i=t.nextElementSibling;vt(t,e),t=i}}function v(t,e){return Ts(t)?q(Lt(t)):Pi(t,e)}function M(t,e){return Ts(t)?$(Lt(t)):be(t,e)}function Ts(t){return _(t)&&tt(t.trim(),"<")}const Ft=typeof window<"u",X=Ft&&y(document.documentElement,"dir")==="rtl",Wt=Ft&&"ontouchstart"in window,se=Ft&&window.PointerEvent,pt=se?"pointerdown":Wt?"touchstart":"mousedown",Ge=se?"pointermove":Wt?"touchmove":"mousemove",Pt=se?"pointerup":Wt?"touchend":"mouseup",jt=se?"pointerenter":Wt?"":"mouseenter",ne=se?"pointerleave":Wt?"":"mouseleave",Je=se?"pointercancel":"touchcancel",z={reads:[],writes:[],read(t){return this.reads.push(t),Wi(),t},write(t){return this.writes.push(t),Wi(),t},clear(t){Is(this.reads,t),Is(this.writes,t)},flush:Fi};function Fi(t){Cs(z.reads),Cs(z.writes.splice(0)),z.scheduled=!1,(z.reads.length||z.writes.length)&&Wi(t+1)}const Mr=4;function Wi(t){z.scheduled||(z.scheduled=!0,t&&t<Mr?Promise.resolve().then(()=>Fi(t)):requestAnimationFrame(()=>Fi(1)))}function Cs(t){let e;for(;e=t.shift();)try{e()}catch(i){console.error(i)}}function Is(t,e){const i=t.indexOf(e);return~i&&t.splice(i,1)}function ji(){}ji.prototype={positions:[],init(){this.positions=[];let t;this.unbind=k(document,"mousemove",e=>t=ee(e)),this.interval=setInterval(()=>{!t||(this.positions.push(t),this.positions.length>5&&this.positions.shift())},50)},cancel(){var t;(t=this.unbind)==null||t.call(this),this.interval&&clearInterval(this.interval)},movesTo(t){if(this.positions.length<2)return!1;const e=t.getBoundingClientRect(),{left:i,right:s,top:n,bottom:r}=e,[o]=this.positions,a=Zt(this.positions),l=[o,a];return He(a,e)?!1:[[{x:i,y:n},{x:s,y:r}],[{x:i,y:r},{x:s,y:n}]].some(u=>{const d=Dr(l,u);return d&&He(d,e)})}};function Dr(t,e){let[{x:i,y:s},{x:n,y:r}]=t,[{x:o,y:a},{x:l,y:h}]=e;const u=(h-a)*(n-i)-(l-o)*(r-s);if(u===0)return!1;const d=((l-o)*(s-a)-(h-a)*(i-o))/u;return d<0?!1:{x:i+d*(n-i),y:s+d*(r-s)}}function re(t,e,i,s){s===void 0&&(s=!0);const n=new IntersectionObserver(s?(r,o)=>{r.some(a=>a.isIntersecting)&&e(r,o)}:e,i);for(const r of $(t))n.observe(r);return n}const Nr=Ft&&window.ResizeObserver;function Ke(t,e,i){return i===void 0&&(i={box:"border-box"}),Nr?As(ResizeObserver,t,e,i):(zr(),$e.add(e),{disconnect(){$e.delete(e)}})}let $e;function zr(){if($e)return;$e=new Set;let t;const e=()=>{if(!t){t=!0,z.read(()=>t=!1);for(const i of $e)i()}};k(window,"load resize",e),k(document,"loadedmetadata load",e,!0)}function Ps(t,e,i){return As(MutationObserver,t,e,i)}function As(t,e,i,s){const n=new t(i);for(const r of $(e))n.observe(r,s);return n}const K={};K.events=K.created=K.beforeConnect=K.connected=K.beforeDisconnect=K.disconnected=K.destroy=Ri,K.args=function(t,e){return e!==!1&&Ri(e||t)},K.update=function(t,e){return ze(Ri(t,gt(e)?{read:e}:e),"order")},K.props=function(t,e){if(et(e)){const i={};for(const s of e)i[s]=String;e=i}return K.methods(t,e)},K.computed=K.methods=function(t,e){return e?t?{...t,...e}:e:t},K.data=function(t,e,i){return i?Es(t,e,i):e?t?function(s){return Es(t,e,s)}:e:t};function Es(t,e,i){return K.computed(gt(t)?t.call(i,i):t,gt(e)?e.call(i,i):e)}function Ri(t,e){return t=t&&!et(t)?[t]:t,e?t?t.concat(e):et(e)?e:[e]:t}function Hr(t,e){return R(e)?t:e}function oe(t,e,i){const s={};if(gt(e)&&(e=e.options),e.extends&&(t=oe(t,e.extends,i)),e.mixins)for(const r of e.mixins)t=oe(t,r,i);for(const r in t)n(r);for(const r in e)Et(t,r)||n(r);function n(r){s[r]=(K[r]||Hr)(t[r],e[r],i)}return s}function ke(t,e){e===void 0&&(e=[]);try{return t?tt(t,"{")?JSON.parse(t):e.length&&!p(t,":")?{[e[0]]:t}:t.split(";").reduce((i,s)=>{const[n,r]=s.split(/:(.*)/);return n&&!R(r)&&(i[n.trim()]=r.trim()),i},{}):{}}catch{return{}}}function Os(t){if(Qe(t)&&qi(t,{func:"playVideo",method:"play"}),Ze(t))try{t.play().catch(T)}catch{}}function _s(t){Qe(t)&&qi(t,{func:"pauseVideo",method:"pause"}),Ze(t)&&t.pause()}function Bs(t){Qe(t)&&qi(t,{func:"mute",method:"setVolume",value:0}),Ze(t)&&(t.muted=!0)}function Ms(t){return Ze(t)||Qe(t)}function Ze(t){return mt(t,"video")}function Qe(t){return mt(t,"iframe")&&(Ds(t)||Ns(t))}function Ds(t){return!!t.src.match(/\/\/.*?youtube(-nocookie)?\.[a-z]+\/(watch\?v=[^&\s]+|embed)|youtu\.be\/.*/)}function Ns(t){return!!t.src.match(/vimeo\.com\/video\/.*/)}async function qi(t,e){await Fr(t),zs(t,e)}function zs(t,e){try{t.contentWindow.postMessage(JSON.stringify({event:"command",...e}),"*")}catch{}}const Vi="_ukPlayer";let Lr=0;function Fr(t){if(t[Vi])return t[Vi];const e=Ds(t),i=Ns(t),s=++Lr;let n;return t[Vi]=new Promise(r=>{e&&N(t,"load",()=>{const o=()=>zs(t,{event:"listening",id:s});n=setInterval(o,100),o()}),N(window,"message",r,!1,o=>{let{data:a}=o;try{return a=JSON.parse(a),a&&(e&&a.id===s&&a.event==="onReady"||i&&Number(a.player_id)===s)}catch{}}),t.src=""+t.src+(p(t.src,"?")?"&":"?")+(e?"enablejsapi=1":"api=1&player_id="+s)}).then(()=>clearInterval(n))}function Ue(t,e,i){return e===void 0&&(e=0),i===void 0&&(i=0),V(t)?Si(...Q(t).map(s=>{const{top:n,left:r,bottom:o,right:a}=lt(s);return{top:n-e,left:r-i,bottom:o+e,right:a+i}}).concat(A(t))):!1}function Yi(t,e){let{offset:i=0}=e===void 0?{}:e;const s=V(t)?Q(t):[];return s.reduce((a,l,h)=>{const{scrollTop:u,scrollHeight:d,offsetHeight:f}=l,m=lt(l),C=d-m.height,{height:E,top:U}=s[h-1]?lt(s[h-1]):A(t);let F=Math.ceil(U-m.top-i+u);return i>0&&f<E+i?F+=i:i=0,F>C?(i-=F-C,F=C):F<0&&(i-=F,F=0),()=>n(l,F-u).then(a)},()=>Promise.resolve())();function n(a,l){return new Promise(h=>{const u=a.scrollTop,d=r(Math.abs(l)),f=Date.now();(function m(){const C=o(Z((Date.now()-f)/d));a.scrollTop=u+l*C,C===1?h():requestAnimationFrame(m)})()})}function r(a){return 40*Math.pow(a,.375)}function o(a){return .5*(1-Math.cos(Math.PI*a))}}function Xi(t,e,i){if(e===void 0&&(e=0),i===void 0&&(i=0),!V(t))return 0;const[s]=Q(t,/auto|scroll/,!0),{scrollHeight:n,scrollTop:r}=s,{height:o}=lt(s),a=n-o,l=Ht(t)[0]-Ht(s)[0],h=Math.max(0,l-o+e),u=Math.min(a,l+t.offsetHeight-i);return Z((r-h)/(u-h))}function Q(t,e,i){e===void 0&&(e=/auto|scroll|hidden|clip/),i===void 0&&(i=!1);const s=Hs(t);let n=Ut(t).reverse();n=n.slice(n.indexOf(s)+1);const r=bt(n,o=>c(o,"position")==="fixed");return~r&&(n=n.slice(r)),[s].concat(n.filter(o=>e.test(c(o,"overflow"))&&(!i||o.scrollHeight>lt(o).height))).reverse()}function lt(t){const e=Bt(t),{document:{documentElement:i}}=e;let s=t===Hs(t)?e:t;const{visualViewport:n}=e;if(Gt(s)&&n){let{height:o,width:a,scale:l,pageTop:h,pageLeft:u}=n;return o=Math.round(o*l),a=Math.round(a*l),{height:o,width:a,top:h,left:u,bottom:h+o,right:u+a}}let r=A(s);for(let[o,a,l,h]of[["width","x","left","right"],["height","y","top","bottom"]])Gt(s)?s=i:r[l]+=w(c(s,"border-"+l+"-width")),r[o]=r[a]=s["client"+kt(o)],r[h]=r[o]+r[l];return r}function Hs(t){return Bt(t).document.scrollingElement}const ht=[["width","x","left","right"],["height","y","top","bottom"]];function Ls(t,e,i){i={attach:{element:["left","top"],target:["left","top"],...i.attach},offset:[0,0],placement:[],...i},et(e)||(e=[e,e]),A(t,Fs(t,e,i))}function Fs(t,e,i){const s=Ws(t,e,i),{boundary:n,viewportOffset:r=0,placement:o}=i;let a=s;for(const[l,[h,,u,d]]of Object.entries(ht)){const f=Wr(e[l],r,n,l);if(ti(s,f,l))continue;let m=0;if(o[l]==="flip"){const C=i.attach.target[l];if(C===d&&s[d]<=f[d]||C===u&&s[u]>=f[u])continue;m=Rr(t,e,i,l)[u]-s[u];const E=jr(e[l],r,l);if(!ti(Gi(s,m,l),E,l)){if(ti(s,E,l))continue;if(i.recursion)return!1;const U=qr(t,e,i);if(U&&ti(U,E,1-l))return U;continue}}else if(o[l]==="shift"){const C=A(e[l]),{offset:E}=i;m=Z(Z(s[u],f[u],f[d]-s[h]),C[u]-s[h]+E[l],C[d]-E[l])-s[u]}a=Gi(a,m,l)}return a}function Ws(t,e,i){let{attach:s,offset:n}={attach:{element:["left","top"],target:["left","top"],...i.attach},offset:[0,0],...i},r=A(t);for(const[o,[a,,l,h]]of Object.entries(ht)){const u=s.target[o]===s.element[o]?lt(e[o]):A(e[o]);r=Gi(r,u[l]-r[l]+js(s.target[o],h,u[a])-js(s.element[o],h,r[a])+ +n[o],o)}return r}function Gi(t,e,i){const[,s,n,r]=ht[i],o={...t};return o[n]=t[s]=t[n]+e,o[r]+=e,o}function js(t,e,i){return t==="center"?i/2:t===e?i:0}function Wr(t,e,i,s){let n=Rs(...Q(t).map(lt));return e&&(n[ht[s][2]]+=e,n[ht[s][3]]-=e),i&&(n=Rs(n,A(i))),n}function jr(t,e,i){const[s,,n,r]=ht[i],[o]=Q(t),a=lt(o);return a[n]-=o["scroll"+kt(n)]-e,a[r]=a[n]+o["scroll"+kt(s)]-e,a}function Rs(){let t={};for(var e=arguments.length,i=new Array(e),s=0;s<e;s++)i[s]=arguments[s];for(const n of i)for(const[,,r,o]of ht)t[r]=Math.max(t[r]||0,n[r]),t[o]=Math.min(...[t[o],n[o]].filter(Boolean));return t}function ti(t,e,i){const[,,s,n]=ht[i];return t[s]>=e[s]&&t[n]<=e[n]}function Rr(t,e,i,s){let{offset:n,attach:r}=i;return Ws(t,e,{attach:{element:qs(r.element,s),target:qs(r.target,s)},offset:Vr(n,s)})}function qr(t,e,i){return Fs(t,e,{...i,attach:{element:i.attach.element.map(Vs).reverse(),target:i.attach.target.map(Vs).reverse()},offset:i.offset.reverse(),placement:i.placement.reverse(),recursion:!0})}function qs(t,e){const i=[...t],s=ht[e].indexOf(t[e]);return~s&&(i[e]=ht[e][1-s%2+2]),i}function Vs(t){for(let e=0;e<ht.length;e++){const i=ht[e].indexOf(t);if(~i)return ht[1-e][i%2+2]}}function Vr(t,e){return t=[...t],t[e]*=-1,t}var Yr=Object.freeze({__proto__:null,ajax:ws,getImage:bs,Transition:S,Animation:ft,attr:y,hasAttr:Mt,removeAttr:ge,data:at,addClass:b,removeClass:O,removeClasses:Bi,replaceClass:Mi,hasClass:I,toggleClass:W,dimensions:x,offset:A,position:Re,offsetPosition:Ht,height:G,width:ye,boxModelAdjust:ie,flipPosition:qe,toPx:J,ready:Ni,isTag:mt,empty:ks,html:It,prepend:Or,append:j,before:zi,after:Ve,remove:ct,wrapAll:Hi,wrapInner:Li,unwrap:Xe,fragment:Lt,apply:vt,$:v,$$:M,inBrowser:Ft,isRtl:X,hasTouch:Wt,pointerDown:pt,pointerMove:Ge,pointerUp:Pt,pointerEnter:jt,pointerLeave:ne,pointerCancel:Je,on:k,off:Dt,once:N,trigger:g,createEvent:Nt,toEventTargets:Oi,isTouch:$t,getEventPos:ee,fastdom:z,isVoidElement:Ci,isVisible:V,selInput:me,isInput:Ii,selFocusable:We,isFocusable:je,parent:P,filter:ve,matches:L,closest:it,within:B,parents:Ut,children:D,index:te,hasOwn:Et,hyphenate:Ot,camelize:Yt,ucfirst:kt,startsWith:tt,endsWith:Xt,includes:p,findIndex:bt,isArray:et,toArray:bi,assign:xt,isFunction:gt,isObject:St,isPlainObject:Tt,isWindow:Gt,isDocument:De,isNode:xi,isElement:Jt,isBoolean:Ne,isString:_,isNumber:Kt,isNumeric:_t,isEmpty:fe,isUndefined:R,toBoolean:$i,toNumber:Ct,toFloat:w,toNode:q,toNodes:$,toWindow:Bt,isEqual:pe,swap:ki,last:Zt,each:yt,sortBy:ze,uniqueBy:ds,clamp:Z,noop:T,intersectRect:Si,pointInRect:He,Dimensions:Le,getIndex:Qt,memoize:ot,Deferred:Fe,MouseTracker:ji,observeIntersection:re,observeResize:Ke,observeMutation:Ps,mergeOptions:oe,parseOptions:ke,play:Os,pause:_s,mute:Bs,isVideo:Ms,positionAt:Ls,query:dt,queryAll:we,find:Pi,findAll:be,escape:Ai,css:c,propName:_i,isInView:Ue,scrollIntoView:Yi,scrolledOver:Xi,scrollParents:Q,offsetViewport:lt});function Xr(t){const e=t.data;t.use=function(n){if(!n.installed)return n.call(null,this),n.installed=!0,this},t.mixin=function(n,r){r=(_(r)?t.component(r):r)||this,r.options=oe(r.options,n)},t.extend=function(n){n=n||{};const r=this,o=function(l){this._init(l)};return o.prototype=Object.create(r.prototype),o.prototype.constructor=o,o.options=oe(r.options,n),o.super=r,o.extend=r.extend,o},t.update=function(n,r){n=n?q(n):document.body;for(const o of Ut(n).reverse())s(o[e],r);vt(n,o=>s(o[e],r))};let i;Object.defineProperty(t,"container",{get(){return i||document.body},set(n){i=v(n)}});function s(n,r){if(!!n)for(const o in n)n[o]._connected&&n[o]._callUpdate(r)}}function Gr(t){t.prototype._callHook=function(s){var n;(n=this.$options[s])==null||n.forEach(r=>r.call(this))},t.prototype._callConnected=function(){this._connected||(this._data={},this._computed={},this._initProps(),this._callHook("beforeConnect"),this._connected=!0,this._initEvents(),this._initObservers(),this._callHook("connected"),this._callUpdate())},t.prototype._callDisconnected=function(){!this._connected||(this._callHook("beforeDisconnect"),this._disconnectObservers(),this._unbindEvents(),this._callHook("disconnected"),this._connected=!1,delete this._watch)},t.prototype._callUpdate=function(s){s===void 0&&(s="update"),this._connected&&((s==="update"||s==="resize")&&this._callWatches(),this.$options.update&&(this._updates||(this._updates=new Set,z.read(()=>{this._connected&&e.call(this,this._updates),delete this._updates})),this._updates.add(s.type||s)))},t.prototype._callWatches=function(){if(this._watch)return;const s=!Et(this,"_watch");this._watch=z.read(()=>{this._connected&&i.call(this,s),this._watch=null})};function e(s){for(const{read:n,write:r,events:o=[]}of this.$options.update){if(!s.has("update")&&!o.some(l=>s.has(l)))continue;let a;n&&(a=n.call(this,this._data,s),a&&Tt(a)&&xt(this._data,a)),r&&a!==!1&&z.write(()=>{this._connected&&r.call(this,this._data,s)})}}function i(s){const{$options:{computed:n}}=this,r={...this._computed};this._computed={};for(const o in n){const{watch:a,immediate:l}=n[o];a&&(s&&l||Et(r,o)&&!pe(r[o],this[o]))&&a.call(this,this[o],r[o])}}}function Jr(t){let e=0;t.prototype._init=function(i){i=i||{},i.data=Ur(i,this.constructor.options),this.$options=oe(this.constructor.options,i,this),this.$el=null,this.$props={},this._uid=e++,this._initData(),this._initMethods(),this._initComputeds(),this._callHook("created"),i.el&&this.$mount(i.el)},t.prototype._initData=function(){const{data:i={}}=this.$options;for(const s in i)this.$props[s]=this[s]=i[s]},t.prototype._initMethods=function(){const{methods:i}=this.$options;if(i)for(const s in i)this[s]=i[s].bind(this)},t.prototype._initComputeds=function(){const{computed:i}=this.$options;if(this._computed={},i)for(const s in i)Kr(this,s,i[s])},t.prototype._initProps=function(i){let s;i=i||Ys(this.$options,this.$name);for(s in i)R(i[s])||(this.$props[s]=i[s]);const n=[this.$options.computed,this.$options.methods];for(s in this.$props)s in i&&Zr(n,s)&&(this[s]=this.$props[s])},t.prototype._initEvents=function(){this._events=[];for(const i of this.$options.events||[])if(Et(i,"handler"))ei(this,i);else for(const s in i)ei(this,i[s],s)},t.prototype._unbindEvents=function(){this._events.forEach(i=>i()),delete this._events},t.prototype._initObservers=function(){this._observers=[eo(this)],this.$options.computed&&this.registerObserver(to(this))},t.prototype.registerObserver=function(i){this._observers.push(i)},t.prototype._disconnectObservers=function(){this._observers.forEach(i=>i==null?void 0:i.disconnect())}}function Ys(t,e){const i={},{args:s=[],props:n={},el:r}=t;if(!n)return i;for(const a in n){const l=Ot(a);let h=at(r,l);R(h)||(h=n[a]===Boolean&&h===""?!0:Ji(n[a],h),!(l==="target"&&tt(h,"_"))&&(i[a]=h))}const o=ke(at(r,e),s);for(const a in o){const l=Yt(a);R(n[l])||(i[l]=Ji(n[l],o[a]))}return i}function Kr(t,e,i){Object.defineProperty(t,e,{enumerable:!0,get(){const{_computed:s,$props:n,$el:r}=t;return Et(s,e)||(s[e]=(i.get||i).call(t,n,r)),s[e]},set(s){const{_computed:n}=t;n[e]=i.set?i.set.call(t,s):s,R(n[e])&&delete n[e]}})}function ei(t,e,i){Tt(e)||(e={name:i,handler:e});let{name:s,el:n,handler:r,capture:o,passive:a,delegate:l,filter:h,self:u}=e;if(n=gt(n)?n.call(t):n||t.$el,et(n)){n.forEach(d=>ei(t,{...e,el:d},i));return}!n||h&&!h.call(t)||t._events.push(k(n,s,l?_(l)?l:l.call(t):null,_(r)?t[r]:r.bind(t),{passive:a,capture:o,self:u}))}function Zr(t,e){return t.every(i=>!i||!Et(i,e))}function Ji(t,e){return t===Boolean?$i(e):t===Number?Ct(e):t==="list"?Qr(e):t?t(e):e}function Qr(t){return et(t)?t:_(t)?t.split(/,(?![^(]*\))/).map(e=>_t(e)?Ct(e):$i(e.trim())):[t]}function Ur(t,e){let{data:i={}}=t,{args:s=[],props:n={}}=e;et(i)&&(i=i.slice(0,s.length).reduce((r,o,a)=>(Tt(o)?xt(r,o):r[s[a]]=o,r),{}));for(const r in i)R(i[r])?delete i[r]:n[r]&&(i[r]=Ji(n[r],i[r]));return i}function to(t){const{el:e}=t.$options,i=new MutationObserver(()=>t.$emit());return i.observe(e,{childList:!0,subtree:!0}),i}function eo(t){const{$name:e,$options:i,$props:s}=t,{attrs:n,props:r,el:o}=i;if(!r||n===!1)return;const a=et(n)?n:Object.keys(r),l=a.map(u=>Ot(u)).concat(e),h=new MutationObserver(u=>{const d=Ys(i,e);u.some(f=>{let{attributeName:m}=f;const C=m.replace("data-","");return(C===e?a:[Yt(C),Yt(m)]).some(E=>!R(d[E])&&d[E]!==s[E])})&&t.$reset()});return h.observe(o,{attributes:!0,attributeFilter:l.concat(l.map(u=>"data-"+u))}),h}function io(t){const e=t.data;t.prototype.$create=function(s,n,r){return t[s](n,r)},t.prototype.$mount=function(s){const{name:n}=this.$options;s[e]||(s[e]={}),!s[e][n]&&(s[e][n]=this,this.$el=this.$options.el=this.$options.el||s,B(s,document)&&this._callConnected())},t.prototype.$reset=function(){this._callDisconnected(),this._callConnected()},t.prototype.$destroy=function(s){s===void 0&&(s=!1);const{el:n,name:r}=this.$options;n&&this._callDisconnected(),this._callHook("destroy"),n!=null&&n[e]&&(delete n[e][r],fe(n[e])||delete n[e],s&&ct(this.$el))},t.prototype.$emit=function(s){this._callUpdate(s)},t.prototype.$update=function(s,n){s===void 0&&(s=this.$el),t.update(s,n)},t.prototype.$getComponent=t.getComponent;const i=ot(s=>t.prefix+Ot(s));Object.defineProperties(t.prototype,{$container:Object.getOwnPropertyDescriptor(t,"container"),$name:{get(){return i(this.$options.name)}}})}function so(t){const e=t.data,i={};t.component=function(s,n){const r=Ot(s);if(s=Yt(r),!n)return Tt(i[s])&&(i[s]=t.extend(i[s])),i[s];t[s]=function(a,l){const h=t.component(s);return h.options.functional?new h({data:Tt(a)?a:[...arguments]}):a?M(a).map(u)[0]:u();function u(d){const f=t.getComponent(d,s);if(f)if(l)f.$destroy();else return f;return new h({el:d,data:l})}};const o=Tt(n)?{...n}:n.options;return o.name=s,o.install==null||o.install(t,o,s),t._initialized&&!o.functional&&z.read(()=>t[s]("[uk-"+r+"],[data-uk-"+r+"]")),i[s]=Tt(n)?o:n},t.getComponents=s=>(s==null?void 0:s[e])||{},t.getComponent=(s,n)=>t.getComponents(s)[n],t.connect=s=>{if(s[e])for(const n in s[e])s[e][n]._callConnected();for(const n of s.attributes){const r=Xs(n.name);r&&r in i&&t[r](s)}},t.disconnect=s=>{for(const n in s[e])s[e][n]._callDisconnected()}}const Xs=ot(t=>tt(t,"uk-")||tt(t,"data-uk-")?Yt(t.replace("data-uk-","").replace("uk-","")):!1),st=function(t){this._init(t)};st.util=Yr,st.data="__uikit__",st.prefix="uk-",st.options={},st.version="3.15.1-dev.f849bb0c8",Xr(st),Gr(st),Jr(st),so(st),io(st);function no(t){const{connect:e,disconnect:i}=t;if(!Ft||!window.MutationObserver)return;z.read(function(){document.body&&vt(document.body,e),new MutationObserver(r=>r.forEach(s)).observe(document,{childList:!0,subtree:!0}),new MutationObserver(r=>r.forEach(n)).observe(document,{attributes:!0,subtree:!0}),t._initialized=!0});function s(r){let{addedNodes:o,removedNodes:a}=r;for(const l of o)vt(l,e);for(const l of a)vt(l,i)}function n(r){var o;let{target:a,attributeName:l}=r;const h=Xs(l);if(!(!h||!(h in t))){if(Mt(a,l)){t[h](a);return}(o=t.getComponent(a,h))==null||o.$destroy()}}}var nt={connected(){!I(this.$el,this.$name)&&b(this.$el,this.$name)}},Se={methods:{lazyload(t,e){t===void 0&&(t=this.$el),e===void 0&&(e=this.$el),this.registerObserver(re(t,(i,s)=>{for(const n of $(gt(e)?e():e))M('[loading="lazy"]',n).forEach(r=>ge(r,"loading"));for(const n of i.filter(r=>{let{isIntersecting:o}=r;return o}).map(r=>{let{target:o}=r;return o}))s.unobserve(n)}))}}},At={props:{cls:Boolean,animation:"list",duration:Number,velocity:Number,origin:String,transition:String},data:{cls:!1,animation:[!1],duration:200,velocity:.2,origin:!1,transition:"ease",clsEnter:"uk-togglabe-enter",clsLeave:"uk-togglabe-leave"},computed:{hasAnimation(t){let{animation:e}=t;return!!e[0]},hasTransition(t){let{animation:e}=t;return["slide","reveal"].some(i=>tt(e[0],i))}},methods:{toggleElement(t,e,i){return new Promise(s=>Promise.all($(t).map(n=>{const r=Ne(e)?e:!this.isToggled(n);if(!g(n,"before"+(r?"show":"hide"),[this]))return Promise.reject();const o=(gt(i)?i:i===!1||!this.hasAnimation?ro(this):this.hasTransition?Gs(this):oo(this))(n,r),a=r?this.clsEnter:this.clsLeave;b(n,a),g(n,r?"show":"hide",[this]);const l=()=>{O(n,a),g(n,r?"shown":"hidden",[this]),this.$update(n)};return o?o.then(l,()=>(O(n,a),Promise.reject())):l()})).then(s,T))},isToggled(t){return t===void 0&&(t=this.$el),[t]=$(t),I(t,this.clsEnter)?!0:I(t,this.clsLeave)?!1:this.cls?I(t,this.cls.split(" ")[0]):V(t)},_toggle(t,e){if(!t)return;e=Boolean(e);let i;this.cls?(i=p(this.cls," ")||e!==I(t,this.cls),i&&W(t,this.cls,p(this.cls," ")?void 0:e)):(i=e===t.hidden,i&&(t.hidden=!e)),M("[autofocus]",t).some(s=>V(s)?s.focus()||!0:s.blur()),i&&(g(t,"toggled",[e,this]),this.$update(t))}}};function ro(t){let{_toggle:e}=t;return(i,s)=>(ft.cancel(i),S.cancel(i),e(i,s))}function Gs(t){var e;const[i="reveal",s="top"]=((e=t.animation[0])==null?void 0:e.split("-"))||[],n=[["left","right"],["top","bottom"]],r=n[p(n[0],s)?0:1],o=r[1]===s,l=["width","height"][n.indexOf(r)],h="margin-"+r[0],u="margin-"+s;return async(d,f)=>{let{duration:m,velocity:C,transition:E,_toggle:U}=t,F=x(d)[l];const ce=S.inProgress(d);await S.cancel(d),f&&U(d,!0);const hs=Object.fromEntries(["padding","border","width","height","overflowY","overflowX",h,u].map(or=>[or,d.style[or]])),Me=x(d),cs=w(c(d,h)),sr=w(c(d,u)),Vt=Me[l]+sr;!ce&&!f&&(F+=sr);const[wi]=Li(d,"<div>");c(wi,{boxSizing:"border-box",height:Me.height,width:Me.width,...c(d,["overflow","padding","borderTop","borderRight","borderBottom","borderLeft","borderImage",u])}),c(d,{padding:0,border:0,minWidth:0,minHeight:0,[u]:0,width:Me.width,height:Me.height,overflow:"hidden",[l]:F});const nr=F/Vt;m=(C*Vt+m)*(f?1-nr:nr);const rr={[l]:f?Vt:0};o&&(c(d,h,Vt-F+cs),rr[h]=f?cs:Vt+cs),!o^i==="reveal"&&(c(wi,h,-Vt+F),S.start(wi,{[h]:f?0:-Vt},m,E));try{await S.start(d,rr,m,E)}finally{c(d,hs),Xe(wi.firstChild),f||U(d,!1)}}}function oo(t){return(e,i)=>{ft.cancel(e);const{animation:s,duration:n,_toggle:r}=t;return i?(r(e,!0),ft.in(e,s[0],n,t.origin)):ft.out(e,s[1]||s[0],n,t.origin).then(()=>r(e,!1))}}var Js={mixins:[nt,Se,At],props:{animation:Boolean,targets:String,active:null,collapsible:Boolean,multiple:Boolean,toggle:String,content:String,offset:Number},data:{targets:"> *",active:!1,animation:!0,collapsible:!0,multiple:!1,clsOpen:"uk-open",toggle:"> .uk-accordion-title",content:"> .uk-accordion-content",offset:0},computed:{items:{get(t,e){let{targets:i}=t;return M(i,e)},watch(t,e){if(e||I(t,this.clsOpen))return;const i=this.active!==!1&&t[Number(this.active)]||!this.collapsible&&t[0];i&&this.toggle(i,!1)},immediate:!0},toggles(t){let{toggle:e}=t;return this.items.map(i=>v(e,i))},contents:{get(t){let{content:e}=t;return this.items.map(i=>v(e,i))},watch(t){for(const e of t)Ks(e,!I(this.items.find(i=>B(e,i)),this.clsOpen))},immediate:!0}},connected(){this.lazyload()},events:[{name:"click",delegate(){return this.targets+" "+this.$props.toggle},handler(t){t.preventDefault(),this.toggle(te(this.toggles,t.current))}}],methods:{toggle(t,e){let i=[this.items[Qt(t,this.items)]];const s=ve(this.items,"."+this.clsOpen);if(!this.multiple&&!p(s,i[0])&&(i=i.concat(s)),!(!this.collapsible&&s.length<2&&!ve(i,":not(."+this.clsOpen+")").length))for(const n of i)this.toggleElement(n,!I(n,this.clsOpen),async(r,o)=>{W(r,this.clsOpen,o),y(v(this.$props.toggle,r),"aria-expanded",o);const a=v(this.content,r);if(e===!1||!this.animation){a.hidden=!o,Ks(a,!o);return}if(await Gs(this)(a,o),o){const l=v(this.$props.toggle,r);z.read(()=>{Ue(l)||Yi(l,{offset:this.offset})})}})}}};function Ks(t,e){t&&(t.hidden=e)}var ao={mixins:[nt,At],args:"animation",props:{animation:Boolean,close:String},data:{animation:!0,selClose:".uk-alert-close",duration:150},events:{name:"click",delegate(){return this.selClose},handler(t){t.preventDefault(),this.close()}},methods:{async close(){await this.toggleElement(this.$el,!1,lo(this)),this.$destroy(!0)}}};function lo(t){let{duration:e,transition:i,velocity:s}=t;return n=>{const r=w(c(n,"height"));return c(n,"height",r),S.start(n,{height:0,marginTop:0,marginBottom:0,paddingTop:0,paddingBottom:0,borderTop:0,borderBottom:0,opacity:0},s*r+e,i)}}var Zs={args:"autoplay",props:{automute:Boolean,autoplay:Boolean},data:{automute:!1,autoplay:!0},connected(){this.inView=this.autoplay==="inview",this.inView&&!Mt(this.$el,"preload")&&(this.$el.preload="none"),this.automute&&Bs(this.$el),this.registerObserver(re(this.$el,()=>this.$emit(),{},!1))},update:{read(){return Ms(this.$el)?{visible:V(this.$el)&&c(this.$el,"visibility")!=="hidden",inView:this.inView&&Ue(this.$el)}:!1},write(t){let{visible:e,inView:i}=t;!e||this.inView&&!i?_s(this.$el):(this.autoplay===!0||this.inView&&i)&&Os(this.$el)}}},wt={connected(){var t;this.registerObserver(Ke(((t=this.$options.resizeTargets)==null?void 0:t.call(this))||this.$el,()=>this.$emit("resize")))}},ho={mixins:[wt,Zs],props:{width:Number,height:Number},data:{automute:!0},events:{"load loadedmetadata"(){this.$emit("resize")}},resizeTargets(){return[this.$el,P(this.$el)]},update:{read(){const{ratio:t,cover:e}=Le,{$el:i,width:s,height:n}=this;let r={width:s,height:n};if(!r.width||!r.height){const h={width:i.naturalWidth||i.videoWidth||i.clientWidth,height:i.naturalHeight||i.videoHeight||i.clientHeight};r.width?r=t(h,"width",r.width):n?r=t(h,"height",r.height):r=h}const{offsetHeight:o,offsetWidth:a}=co(i)||P(i),l=e(r,{width:a+(a%2?1:0),height:o+(o%2?1:0)});return!l.width||!l.height?!1:l},write(t){let{height:e,width:i}=t;c(this.$el,{height:e,width:i})},events:["resize"]}};function co(t){for(;t=P(t);)if(c(t,"position")!=="static")return t}var ae={props:{container:Boolean},data:{container:!0},computed:{container(t){let{container:e}=t;return e===!0&&this.$container||e&&v(e)}}},Qs={props:{pos:String,offset:null,flip:Boolean,shift:Boolean,inset:Boolean},data:{pos:"bottom-"+(X?"right":"left"),offset:!1,flip:!0,shift:!0,inset:!1},connected(){this.pos=this.$props.pos.split("-").concat("center").slice(0,2),[this.dir,this.align]=this.pos,this.axis=p(["top","bottom"],this.dir)?"y":"x"},methods:{positionAt(t,e,i){let s=[this.getPositionOffset(t),this.getShiftOffset(t)];const n=[this.flip&&"flip",this.shift&&"shift"],r={element:[this.inset?this.dir:qe(this.dir),this.align],target:[this.dir,this.align]};if(this.axis==="y"){for(const u in r)r[u].reverse();s.reverse(),n.reverse()}const[o]=Q(t,/auto|scroll/),{scrollTop:a,scrollLeft:l}=o,h=x(t);c(t,{top:-h.height,left:-h.width}),Ls(t,e,{attach:r,offset:s,boundary:i,placement:n,viewportOffset:this.getViewportOffset(t)}),o.scrollTop=a,o.scrollLeft=l},getPositionOffset(t){return J(this.offset===!1?c(t,"--uk-position-offset"):this.offset,this.axis==="x"?"width":"height",t)*(p(["left","top"],this.dir)?-1:1)*(this.inset?-1:1)},getShiftOffset(t){return this.align==="center"?0:J(c(t,"--uk-position-shift-offset"),this.axis==="y"?"width":"height",t)*(p(["left","top"],this.align)?1:-1)},getViewportOffset(t){return J(c(t,"--uk-position-viewport-offset"))}}},uo={beforeConnect(){this._style=y(this.$el,"style")},disconnected(){y(this.$el,"style",this._style)}};const rt=[];var Ki={mixins:[nt,ae,At],props:{selPanel:String,selClose:String,escClose:Boolean,bgClose:Boolean,stack:Boolean},data:{cls:"uk-open",escClose:!0,bgClose:!0,overlay:!0,stack:!1},computed:{panel(t,e){let{selPanel:i}=t;return v(i,e)},transitionElement(){return this.panel},bgClose(t){let{bgClose:e}=t;return e&&this.panel}},beforeDisconnect(){p(rt,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(rt,this)&&this.toggle())}},{name:"beforeshow",self:!0,handler(t){if(p(rt,this))return!1;!this.stack&&rt.length?(Promise.all(rt.map(e=>e.hide())).then(this.show),t.preventDefault()):rt.push(this)}},{name:"show",self:!0,handler(){N(this.$el,"hide",k(document,"focusin",t=>{Zt(rt)===this&&!B(t.target,this.$el)&&this.$el.focus()})),this.overlay&&(N(this.$el,"hidden",tn(this.$el),{self:!0}),N(this.$el,"hidden",en(),{self:!0})),this.stack&&c(this.$el,"zIndex",w(c(this.$el,"zIndex"))+rt.length),b(document.documentElement,this.clsPage),this.bgClose&&N(this.$el,"hide",k(document,pt,t=>{let{target:e}=t;Zt(rt)!==this||this.overlay&&!B(e,this.$el)||B(e,this.panel)||N(document,Pt+" "+Je+" scroll",i=>{let{defaultPrevented:s,type:n,target:r}=i;!s&&n===Pt&&e===r&&this.hide()},!0)}),{self:!0}),this.escClose&&N(this.$el,"hide",k(document,"keydown",t=>{t.keyCode===27&&Zt(rt)===this&&this.hide()}),{self:!0})}},{name:"shown",self:!0,handler(){je(this.$el)||y(this.$el,"tabindex","-1"),v(":focus",this.$el)||this.$el.focus()}},{name:"hidden",self:!0,handler(){p(rt,this)&&rt.splice(rt.indexOf(this),1),c(this.$el,"zIndex",""),rt.some(t=>t.clsPage===this.clsPage)||O(document.documentElement,this.clsPage)}}],methods:{toggle(){return this.isToggled()?this.hide():this.show()},show(){return this.container&&P(this.$el)!==this.container?(j(this.container,this.$el),new Promise(t=>requestAnimationFrame(()=>this.show().then(t)))):this.toggleElement(this.$el,!0,Us(this))},hide(){return this.toggleElement(this.$el,!1,Us(this))}}};function Us(t){let{transitionElement:e,_toggle:i}=t;return(s,n)=>new Promise((r,o)=>N(s,"show hide",()=>{s._reject==null||s._reject(),s._reject=o,i(s,n);const a=N(e,"transitionstart",()=>{N(e,"transitionend transitioncancel",r,{self:!0}),clearTimeout(l)},{self:!0}),l=setTimeout(()=>{a(),r()},fo(c(e,"transitionDuration")))})).then(()=>delete s._reject)}function fo(t){return t?Xt(t,"ms")?w(t):w(t)*1e3:0}function tn(t){if(CSS.supports("overscroll-behavior","contain")){const s=po(t,n=>/auto|scroll/.test(c(n,"overflow")));return c(s,"overscrollBehavior","contain"),()=>c(s,"overscrollBehavior","")}let e;const i=[k(t,"touchstart",s=>{let{targetTouches:n}=s;n.length===1&&(e=n[0].clientY)},{passive:!0}),k(t,"touchmove",s=>{if(s.targetTouches.length!==1)return;let[n]=Q(s.target,/auto|scroll/);B(n,t)||(n=t);const r=s.targetTouches[0].clientY-e,{scrollTop:o,scrollHeight:a,clientHeight:l}=n;(l>=a||o===0&&r>0||a-o<=l&&r<0)&&s.cancelable&&s.preventDefault()},{passive:!1})];return()=>i.forEach(s=>s())}let Zi;function en(){if(Zi)return T;Zi=!0;const{scrollingElement:t}=document;return c(t,{overflowY:"hidden",touchAction:"none",paddingRight:ye(window)-t.clientWidth}),()=>{Zi=!1,c(t,{overflowY:"",touchAction:"",paddingRight:""})}}function po(t,e){const i=[];return vt(t,s=>{e(s)&&i.push(s)}),i}let Y;var sn={mixins:[ae,Se,Qs,uo,At],args:"pos",props:{mode:"list",toggle:Boolean,boundary:Boolean,target:Boolean,targetX:Boolean,targetY:Boolean,stretch:Boolean,delayShow:Number,delayHide:Number,autoUpdate:Boolean,clsDrop:String,animateOut:Boolean,bgScroll:Boolean},data:{mode:["click","hover"],toggle:"- *",boundary:!1,target:!1,targetX:!1,targetY:!1,stretch:!1,delayShow:0,delayHide:800,autoUpdate:!0,clsDrop:!1,animateOut:!1,bgScroll:!0,animation:["uk-animation-fade"],cls:"uk-open",container:!1},computed:{target(t,e){let{target:i,targetX:s,targetY:n}=t;return s=s||i||this.targetEl,n=n||i||this.targetEl,[s===!0?window:dt(s,e),n===!0?window:dt(n,e)]}},created(){this.tracker=new ji},beforeConnect(){this.clsDrop=this.$props.clsDrop||"uk-"+this.$options.name},connected(){b(this.$el,this.clsDrop),this.toggle&&!this.targetEl&&(this.targetEl=this.$create("toggle",dt(this.toggle,this.$el),{target:this.$el,mode:this.mode}).$el,y(this.targetEl,"aria-haspopup",!0),this.lazyload(this.targetEl))},disconnected(){this.isActive()&&(this.hide(!1),Y=null)},events:[{name:"click",delegate(){return"."+this.clsDrop+"-close"},handler(t){t.preventDefault(),this.hide(!1)}},{name:"click",delegate(){return'a[href^="#"]'},handler(t){let{defaultPrevented:e,current:{hash:i}}=t;!e&&i&&!B(i,this.$el)&&this.hide(!1)}},{name:"beforescroll",handler(){this.hide(!1)}},{name:"toggle",self:!0,handler(t,e){t.preventDefault(),this.isToggled()?this.hide(!1):this.show(e==null?void 0:e.$el,!1)}},{name:"toggleshow",self:!0,handler(t,e){t.preventDefault(),this.show(e==null?void 0:e.$el)}},{name:"togglehide",self:!0,handler(t){t.preventDefault(),L(this.$el,":focus,:hover")||this.hide()}},{name:jt+" focusin",filter(){return p(this.mode,"hover")},handler(t){$t(t)||this.clearTimers()}},{name:ne+" focusout",filter(){return p(this.mode,"hover")},handler(t){!$t(t)&&t.relatedTarget&&this.hide()}},{name:"toggled",self:!0,handler(t,e){!e||(this.clearTimers(),this.position())}},{name:"show",self:!0,handler(){Y=this,this.tracker.init();const t=()=>this.$emit(),e=[k(document,pt,i=>{let{target:s}=i;return!B(s,this.$el)&&N(document,Pt+" "+Je+" scroll",n=>{let{defaultPrevented:r,type:o,target:a}=n;!r&&o===Pt&&s===a&&!(this.targetEl&&B(s,this.targetEl))&&this.hide(!1)},!0)}),k(document,"keydown",i=>{i.keyCode===27&&this.hide(!1)}),k(window,"resize",t),(()=>{const i=Ke(Q(this.$el).concat(this.targetEl),t);return()=>i.disconnect()})(),...this.autoUpdate?[k([document,Q(this.$el)],"scroll",t)]:[],...this.bgScroll?[]:[tn(this.$el),en()]];N(this.$el,"hide",()=>e.forEach(i=>i()),{self:!0})}},{name:"beforehide",self:!0,handler(){this.clearTimers()}},{name:"hide",handler(t){let{target:e}=t;if(this.$el!==e){Y=Y===null&&B(e,this.$el)&&this.isToggled()?this:Y;return}Y=this.isActive()?null:Y,this.tracker.cancel()}}],update:{write(){this.isToggled()&&!I(this.$el,this.clsEnter)&&this.position()}},methods:{show(t,e){if(t===void 0&&(t=this.targetEl),e===void 0&&(e=!0),this.isToggled()&&t&&this.targetEl&&t!==this.targetEl&&this.hide(!1,!1),this.targetEl=t,this.clearTimers(),!this.isActive()){if(Y){if(e&&Y.isDelaying){this.showTimer=setTimeout(()=>L(t,":hover")&&this.show(),10);return}let i;for(;Y&&i!==Y&&!B(this.$el,Y.$el);)i=Y,Y.hide(!1,!1)}this.container&&P(this.$el)!==this.container&&j(this.container,this.$el),this.showTimer=setTimeout(()=>this.toggleElement(this.$el,!0),e&&this.delayShow||0)}},hide(t,e){t===void 0&&(t=!0),e===void 0&&(e=!0);const i=()=>this.toggleElement(this.$el,!1,this.animateOut&&e);this.clearTimers(),this.isDelaying=go(this.$el).some(s=>this.tracker.movesTo(s)),t&&this.isDelaying?this.hideTimer=setTimeout(this.hide,50):t&&this.delayHide?this.hideTimer=setTimeout(i,this.delayHide):i()},clearTimers(){clearTimeout(this.showTimer),clearTimeout(this.hideTimer),this.showTimer=null,this.hideTimer=null,this.isDelaying=!1},isActive(){return Y===this},position(){O(this.$el,this.clsDrop+"-stack"),y(this.$el,"style",this._style),this.$el.hidden=!0;const t=dt(this.boundary,this.$el),e=A(t||window),i=this.target.map(o=>lt(Q(o)[0])),s=this.getViewportOffset(this.$el),n=[[0,["x","width","left","right"]],[1,["y","height","top","bottom"]]];for(const[o,[a,l]]of n)this.axis!==a&&p([a,!0],this.stretch)&&c(this.$el,{[l]:Math.min(e[l],i[o][l]-2*s),["overflow-"+a]:"auto"});const r=i[0].width-2*s;this.$el.offsetWidth>r&&b(this.$el,this.clsDrop+"-stack"),c(this.$el,"maxWidth",r),this.$el.hidden=!1,this.positionAt(this.$el,this.target,t);for(const[o,[a,l,h,u]]of n)if(this.axis===a&&p([a,!0],this.stretch)){const d=Math.abs(this.getPositionOffset(this.$el)),f=A(this.target[o]),m=A(this.$el);c(this.$el,{[l]:(f[h]>m[h]?f[h]-Math.max(e[h],i[o][h]+s):Math.min(e[u],i[o][u]-s)-f[u])-d,["overflow-"+a]:"auto"}),this.positionAt(this.$el,this.target,t)}}}};function go(t){const e=[];return vt(t,i=>c(i,"position")!=="static"&&e.push(i)),e}var mo={mixins:[nt],args:"target",props:{target:Boolean},data:{target:!1},computed:{input(t,e){return v(me,e)},state(){return this.input.nextElementSibling},target(t,e){let{target:i}=t;return i&&(i===!0&&P(this.input)===e&&this.input.nextElementSibling||v(i,e))}},update(){var t;const{target:e,input:i}=this;if(!e)return;let s;const n=Ii(e)?"value":"textContent",r=e[n],o=(t=i.files)!=null&&t[0]?i.files[0].name:L(i,"select")&&(s=M("option",i).filter(a=>a.selected)[0])?s.textContent:i.value;r!==o&&(e[n]=o)},events:[{name:"change",handler(){this.$emit()}},{name:"reset",el(){return it(this.$el,"form")},handler(){this.$emit()}}]},nn={mixins:[wt],props:{margin:String,firstColumn:Boolean},data:{margin:"uk-margin-small-top",firstColumn:"uk-first-column"},resizeTargets(){return[this.$el,...bi(this.$el.children)]},connected(){this.registerObserver(Ps(this.$el,()=>this.$reset(),{childList:!0}))},update:{read(){const t=Qi(this.$el.children);return{rows:t,columns:vo(t)}},write(t){let{columns:e,rows:i}=t;for(const s of i)for(const n of s)W(n,this.margin,i[0]!==s),W(n,this.firstColumn,e[0].includes(n))},events:["resize"]}};function Qi(t){return rn(t,"top","bottom")}function vo(t){const e=[];for(const i of t){const s=rn(i,"left","right");for(let n=0;n<s.length;n++)e[n]=e[n]?e[n].concat(s[n]):s[n]}return X?e.reverse():e}function rn(t,e,i){const s=[[]];for(const n of t){if(!V(n))continue;let r=ii(n);for(let o=s.length-1;o>=0;o--){const a=s[o];if(!a[0]){a.push(n);break}let l;if(a[0].offsetParent===n.offsetParent?l=ii(a[0]):(r=ii(n,!0),l=ii(a[0],!0)),r[e]>=l[i]-1&&r[e]!==l[e]){s.push([n]);break}if(r[i]-1>l[e]||r[e]===l[e]){a.push(n);break}if(o===0){s.unshift([n]);break}}}return s}function ii(t,e){e===void 0&&(e=!1);let{offsetTop:i,offsetLeft:s,offsetHeight:n,offsetWidth:r}=t;return e&&([i,s]=Ht(t)),{top:i,left:s,bottom:i+n,right:s+r}}var Te={connected(){wo(this._uid,()=>this.$emit("scroll"))},disconnected(){bo(this._uid)}};const si=new Map;let Ce;function wo(t,e){Ce=Ce||k(window,"scroll",()=>si.forEach(i=>i()),{passive:!0,capture:!0}),si.set(t,e)}function bo(t){si.delete(t),Ce&&!si.size&&(Ce(),Ce=null)}var xo={extends:nn,mixins:[nt,Te],name:"grid",props:{masonry:Boolean,parallax:Number},data:{margin:"uk-grid-margin",clsStack:"uk-grid-stack",masonry:!1,parallax:0},connected(){this.masonry&&b(this.$el,"uk-flex-top uk-flex-wrap-top")},update:[{write(t){let{columns:e}=t;W(this.$el,this.clsStack,e.length<2)},events:["resize"]},{read(t){let{columns:e,rows:i}=t;if(!e.length||!this.masonry&&!this.parallax||on(this.$el))return t.translates=!1,!1;let s=!1;const n=D(this.$el),r=ko(e),o=$o(n,this.margin)*(i.length-1),a=Math.max(...r)+o;this.masonry&&(e=e.map(h=>ze(h,"offsetTop")),s=yo(i,e));let l=Math.abs(this.parallax);return l&&(l=r.reduce((h,u,d)=>Math.max(h,u+o+(d%2?l:l/8)-a),0)),{padding:l,columns:e,translates:s,height:s?a:""}},write(t){let{height:e,padding:i}=t;c(this.$el,"paddingBottom",i||""),e!==!1&&c(this.$el,"height",e)},events:["resize"]},{read(){return this.parallax&&on(this.$el)?!1:{scrolled:this.parallax?Xi(this.$el)*Math.abs(this.parallax):!1}},write(t){let{columns:e,scrolled:i,translates:s}=t;i===!1&&!s||e.forEach((n,r)=>n.forEach((o,a)=>c(o,"transform",!i&&!s?"":"translateY("+((s&&-s[r][a])+(i?r%2?i:i/8:0))+"px)")))},events:["scroll","resize"]}]};function on(t){return D(t).some(e=>c(e,"position")==="absolute")}function yo(t,e){const i=t.map(s=>Math.max(...s.map(n=>n.offsetHeight)));return e.map(s=>{let n=0;return s.map((r,o)=>n+=o?i[o-1]-s[o-1].offsetHeight:0)})}function $o(t,e){const[i]=t.filter(s=>I(s,e));return w(i?c(i,"marginTop"):c(t[0],"paddingLeft"))}function ko(t){return t.map(e=>e.reduce((i,s)=>i+s.offsetHeight,0))}var So={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?Qi(this.elements):[this.elements]).map(To)}},write(t){let{rows:e}=t;for(const{heights:i,elements:s}of e)s.forEach((n,r)=>c(n,"minHeight",i[r]))},events:["resize"]}};function To(t){if(t.length<2)return{heights:[""],elements:t};c(t,"minHeight","");let e=t.map(Co);const i=Math.max(...e);return{heights:t.map((s,n)=>e[n].toFixed(2)===i.toFixed(2)?"":i),elements:t}}function Co(t){let e=!1;V(t)||(e=t.style.display,c(t,"display","block","important"));const i=x(t).height-ie(t,"height","content-box");return e!==!1&&c(t,"display",e),i}var Io={mixins:[wt],props:{expand:Boolean,offsetTop:Boolean,offsetBottom:Boolean,minHeight:Number},data:{expand:!1,offsetTop:!1,offsetBottom:!1,minHeight:0},resizeTargets(){return[this.$el,...Q(this.$el,/auto|scroll/)]},update:{read(t){let{minHeight:e}=t;if(!V(this.$el))return!1;let i="";const s=ie(this.$el,"height","content-box"),{body:n,scrollingElement:r}=document,[o]=Q(this.$el,/auto|scroll/),{height:a}=lt(o===n?r:o);if(this.expand)i=Math.max(a-(x(o).height-x(this.$el).height)-s,0);else{const l=r===o||n===o;if(i="calc("+(l?"100vh":a+"px"),this.offsetTop)if(l){const h=Ht(this.$el)[0]-Ht(o)[0];i+=h>0&&h<a/2?" - "+h+"px":""}else i+=" - "+c(o,"paddingTop");this.offsetBottom===!0?i+=" - "+x(this.$el.nextElementSibling).height+"px":_t(this.offsetBottom)?i+=" - "+this.offsetBottom+"vh":this.offsetBottom&&Xt(this.offsetBottom,"px")?i+=" - "+w(this.offsetBottom)+"px":_(this.offsetBottom)&&(i+=" - "+x(dt(this.offsetBottom,this.$el)).height+"px"),i+=(s?" - "+s+"px":"")+")"}return{minHeight:i,prev:e}},write(t){let{minHeight:e}=t;c(this.$el,{minHeight:e}),this.minHeight&&w(c(this.$el,"minHeight"))<this.minHeight&&c(this.$el,"minHeight",this.minHeight)},events:["resize"]}},an={args:"src",props:{id:Boolean,icon:String,src:String,style:String,width:Number,height:Number,ratio:Number,class:String,strokeAnimation:Boolean,focusable:Boolean,attributes:"list"},data:{ratio:1,include:["style","class","focusable"],class:"",strokeAnimation:!1},beforeConnect(){this.class+=" uk-svg"},connected(){!this.icon&&p(this.src,"#")&&([this.src,this.icon]=this.src.split("#")),this.svg=this.getSvg().then(t=>{if(this._connected){const e=Oo(t,this.$el);return this.svgEl&&e!==this.svgEl&&ct(this.svgEl),this.applyAttributes(e,t),this.svgEl=e}},T),this.strokeAnimation&&this.svg.then(t=>{this._connected&&(hn(t),this.registerObserver(re(t,(e,i)=>{hn(t),i.disconnect()})))})},disconnected(){this.svg.then(t=>{this._connected||(Ci(this.$el)&&(this.$el.hidden=!1),ct(t),this.svgEl=null)}),this.svg=null},methods:{async getSvg(){return mt(this.$el,"img")&&!this.$el.complete&&this.$el.loading==="lazy"?new Promise(t=>N(this.$el,"load",()=>t(this.getSvg()))):Ao(await Po(this.src),this.icon)||Promise.reject("SVG not found.")},applyAttributes(t,e){for(const r in this.$options.props)p(this.include,r)&&r in this&&y(t,r,this[r]);for(const r in this.attributes){const[o,a]=this.attributes[r].split(":",2);y(t,o,a)}this.id||ge(t,"id");const i=["width","height"];let s=i.map(r=>this[r]);s.some(r=>r)||(s=i.map(r=>y(e,r)));const n=y(e,"viewBox");n&&!s.some(r=>r)&&(s=n.split(" ").slice(2)),s.forEach((r,o)=>y(t,i[o],w(r)*this.ratio||null))}}};const Po=ot(async t=>t?tt(t,"data:")?decodeURIComponent(t.split(",")[1]):(await fetch(t)).text():Promise.reject());function Ao(t,e){var i;return e&&p(t,"<symbol")&&(t=Eo(t,e)||t),t=v(t.substr(t.indexOf("<svg"))),((i=t)==null?void 0:i.hasChildNodes())&&t}const ln=/<symbol([^]*?id=(['"])(.+?)\2[^]*?<\/)symbol>/g,ni={};function Eo(t,e){if(!ni[t]){ni[t]={},ln.lastIndex=0;let i;for(;i=ln.exec(t);)ni[t][i[3]]='<svg xmlns="http://www.w3.org/2000/svg"'+i[1]+"svg>"}return ni[t][e]}function hn(t){const e=cn(t);e&&t.style.setProperty("--uk-animation-stroke",e)}function cn(t){return Math.ceil(Math.max(0,...M("[stroke]",t).map(e=>{try{return e.getTotalLength()}catch{return 0}})))}function Oo(t,e){if(Ci(e)||mt(e,"canvas")){e.hidden=!0;const s=e.nextElementSibling;return un(t,s)?s:Ve(e,t)}const i=e.lastElementChild;return un(t,i)?i:j(e,t)}function un(t,e){return mt(t,"svg")&&mt(e,"svg")&&dn(t)===dn(e)}function dn(t){return(t.innerHTML||new XMLSerializer().serializeToString(t).replace(/<svg.*?>(.*?)<\/svg>/g,"$1")).replace(/\s/g,"")}var _o='<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>',Bo='<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>',Mo='<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>',Do='<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>',No='<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>',zo='<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>',Ho=`<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><style>.uk-navbar-toggle-animate svg > [class*='line-'] {
|
|
2
|
+
transition: 0.2s ease-in-out;
|
|
3
|
+
transition-property: transform, opacity,;
|
|
4
|
+
transform-origin: center;
|
|
5
|
+
opacity: 1;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.uk-navbar-toggle svg > .line-3 { opacity: 0; }
|
|
9
|
+
.uk-navbar-toggle-animate[aria-expanded="true"] svg > .line-3 { opacity: 1; }
|
|
10
|
+
|
|
11
|
+
.uk-navbar-toggle-animate[aria-expanded="true"] svg > .line-2 { transform: rotate(45deg); }
|
|
12
|
+
.uk-navbar-toggle-animate[aria-expanded="true"] svg > .line-3 { transform: rotate(-45deg); }
|
|
13
|
+
|
|
14
|
+
.uk-navbar-toggle-animate[aria-expanded="true"] svg > .line-1,
|
|
15
|
+
.uk-navbar-toggle-animate[aria-expanded="true"] svg > .line-4 { opacity: 0; }
|
|
16
|
+
.uk-navbar-toggle-animate[aria-expanded="true"] svg > .line-1 { transform: translateY(6px) scaleX(0); }
|
|
17
|
+
.uk-navbar-toggle-animate[aria-expanded="true"] svg > .line-4 { transform: translateY(-6px) scaleX(0); }</style><rect class="line-1" y="3" width="20" height="2"/><rect class="line-2" y="9" width="20" height="2"/><rect class="line-3" y="9" width="20" height="2"/><rect class="line-4" y="15" width="20" height="2"/></svg>`,Lo='<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>',Fo='<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>',Wo='<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>',jo='<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>',Ro='<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>',qo='<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>',Vo='<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>',Yo='<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>',Xo='<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>',Go='<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>',Ko='<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 ri={spinner:Jo,totop:Ko,marker:Mo,"close-icon":_o,"close-large":Bo,"nav-parent-icon":Do,"nav-parent-icon-large":No,"navbar-parent-icon":zo,"navbar-toggle-icon":Ho,"overlay-icon":Lo,"pagination-next":Fo,"pagination-previous":Wo,"search-icon":jo,"search-large":Ro,"search-navbar":qo,"slidenav-next":Vo,"slidenav-next-large":Yo,"slidenav-previous":Xo,"slidenav-previous-large":Go},Ui={install:ea,extends:an,args:"icon",props:["icon"],data:{include:["focusable"]},isIcon:!0,beforeConnect(){b(this.$el,"uk-icon")},methods:{async getSvg(){const t=ia(this.icon);if(!t)throw"Icon not found.";return t}}},ut={args:!1,extends:Ui,data:t=>({icon:Ot(t.constructor.options.name)}),beforeConnect(){b(this.$el,this.$name)}},Zo={extends:ut,beforeConnect(){const t=this.$props.icon;this.icon=it(this.$el,".uk-nav-primary")?t+"-large":t}},fn={extends:ut,beforeConnect(){b(this.$el,"uk-slidenav");const t=this.$props.icon;this.icon=I(this.$el,"uk-slidenav-large")?t+"-large":t}},Qo={extends:ut,beforeConnect(){this.icon=I(this.$el,"uk-search-icon")&&Ut(this.$el,".uk-search-large").length?"search-large":Ut(this.$el,".uk-search-navbar").length?"search-navbar":this.$props.icon}},Uo={extends:ut,beforeConnect(){this.icon="close-"+(I(this.$el,"uk-close-large")?"large":"icon")}},ta={extends:ut,methods:{async getSvg(){const t=await Ui.methods.getSvg.call(this);return this.ratio!==1&&c(v("circle",t),"strokeWidth",1/this.ratio),t}}},oi={};function ea(t){t.icon.add=(e,i)=>{const s=_(e)?{[e]:i}:e;yt(s,(n,r)=>{ri[r]=n,delete oi[r]}),t._initialized&&vt(document.body,n=>yt(t.getComponents(n),r=>{r.$options.isIcon&&r.icon in s&&r.$reset()}))}}function ia(t){return ri[t]?(oi[t]||(oi[t]=v((ri[sa(t)]||ri[t]).trim())),oi[t].cloneNode(!0)):null}function sa(t){return X?ki(ki(t,"left","right"),"previous","next"):t}const na=Ft&&"loading"in HTMLImageElement.prototype;var ra={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,...we(this.$props.target,this.$el)];na&&ai(this.$el)&&(this.$el.loading="lazy",ts(this.$el),t.length===1)||(ca(this.$el),this.registerObserver(re(t,(e,i)=>{this.load(),i.disconnect()},{rootMargin:J(this.offsetTop,"height")+"px "+J(this.offsetLeft,"width")+"px"})))},disconnected(){this._data.image&&(this._data.image.onload="")},methods:{load(){if(this._data.image)return this._data.image;const t=ai(this.$el)?this.$el:aa(this.$el,this.dataSrc,this.sources);return ge(t,"loading"),ts(this.$el,t.currentSrc),this._data.image=t}}};function ts(t,e){if(ai(t)){const i=P(t);(ua(i)?D(i):[t]).forEach(n=>pn(n,n))}else e&&!p(t.style.backgroundImage,e)&&(c(t,"backgroundImage","url("+Ai(e)+")"),g(t,Nt("load",!1)))}const oa=["data-src","data-srcset","sizes"];function pn(t,e){oa.forEach(i=>{const s=at(t,i);s&&y(e,i.replace(/^(data-)+/,""),s)})}function aa(t,e,i){const s=new Image;return la(s,i),pn(t,s),s.onload=()=>{ts(t,s.currentSrc)},y(s,"src",e),s}function la(t,e){if(e=ha(e),e.length){const i=Lt("<picture>");for(const s of e){const n=Lt("<source>");y(n,s),j(i,n)}j(i,t)}}function ha(t){if(!t)return[];if(tt(t,"["))try{t=JSON.parse(t)}catch{t=[]}else t=ke(t);return et(t)||(t=[t]),t.filter(e=>!fe(e))}function ca(t){ai(t)&&!Mt(t,"src")&&y(t,"src",'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg"></svg>')}function ua(t){return mt(t,"picture")}function ai(t){return mt(t,"img")}var li={props:{media:Boolean},data:{media:!1},connected(){const t=da(this.media,this.$el);if(this.matchMedia=!0,t){this.mediaObj=window.matchMedia(t);const e=()=>{this.matchMedia=this.mediaObj.matches,g(this.$el,Nt("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 da(t,e){if(_(t)){if(tt(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 fa={mixins:[nt,li,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]=Li(this.$el,'<span class="'+this.clsWrapper+'">')},disconnected(){Xe(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:s}=t;W(this.wrapper,this.clsHide,s),y(this.wrapper,this.attrFill,new Array(e).join(i))},events:["resize"]}},pa={install:ga,mixins:[Ki],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(){I(this.panel,"uk-margin-auto-vertical")?b(this.$el,"uk-flex"):c(this.$el,"display","block"),G(this.$el)}},{name:"hidden",self:!0,handler(){c(this.$el,"display",""),O(this.$el,"uk-flex")}}]};function ga(t){let{modal:e}=t;e.dialog=function(s,n){const r=e('<div class="uk-modal"> <div class="uk-modal-dialog">'+s+"</div> </div>",n);return r.show(),k(r.$el,"hidden",async()=>{await Promise.resolve(),r.$destroy(!0)},{self:!0}),r},e.alert=function(s,n){return i(r=>{let{labels:o}=r;return'<div class="uk-modal-body">'+(_(s)?s:It(s))+'</div> <div class="uk-modal-footer uk-text-right"> <button class="uk-button uk-button-primary uk-modal-close" autofocus>'+o.ok+"</button> </div>"},n,r=>r.resolve())},e.confirm=function(s,n){return i(r=>{let{labels:o}=r;return'<form> <div class="uk-modal-body">'+(_(s)?s:It(s))+'</div> <div class="uk-modal-footer uk-text-right"> <button class="uk-button uk-button-default uk-modal-close" type="button">'+o.cancel+'</button> <button class="uk-button uk-button-primary" autofocus>'+o.ok+"</button> </div> </form>"},n,r=>r.reject())},e.prompt=function(s,n,r){return i(o=>{let{labels:a}=o;return'<form class="uk-form-stacked"> <div class="uk-modal-body"> <label>'+(_(s)?s:It(s))+'</label> <input class="uk-input" value="'+(n||"")+'" 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>"},r,o=>o.resolve(null),o=>v("input",o.$el).value)},e.labels={ok:"Ok",cancel:"Cancel"};function i(s,n,r,o){n={bgClose:!1,escClose:!0,labels:e.labels,...n};const a=e.dialog(s(n),n),l=new Fe;let h=!1;return k(a.$el,"submit","form",u=>{u.preventDefault(),l.resolve(o==null?void 0:o(a)),h=!0,a.hide()}),k(a.$el,"hide",()=>!h&&r(l)),l.promise.dialog=a,l.promise}}var ma={extends:Js,data:{targets:"> .uk-parent",toggle:"> a",content:"> ul"}},va={mixins:[nt,ae],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:X?"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 dt(i,e)||e},pos(t){let{align:e}=t;return"bottom-"+e},dropbar:{get(t){let{dropbar:e}=t;return e?(e=this._dropbar||dt(e,this.$el)||v("+ .uk-navbar-dropbar",this.$el),e||(this._dropbar=v("<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 s=M("."+i,e);if(this.dropContainer!==e)for(const r of M("."+i,this.dropContainer)){var n;const o=(n=this.getDropdown(r))==null?void 0:n.targetEl;!p(s,r)&&o&&B(o,this.$el)&&s.push(r)}return s},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=I(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&&ct(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&&!B(i.targetEl,e)&&!i.isDelaying&&i.hide(!1)}},{name:"keydown",delegate(){return this.dropdown},handler(t){const{current:e,keyCode:i}=t,s=this.getActive();i===Rt.DOWN&&Mt(e,"aria-expanded")&&(t.preventDefault(),!s||s.targetEl!==e?(e.click(),N(this.dropContainer,"show",n=>{let{target:r}=n;return mn(r)})):mn(s.$el)),gn(t,this.toggles,s)}},{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 s=this.getActive(),n=M(We,e),r=bt(n,a=>L(a,":focus"));if(i===Rt.UP&&(t.preventDefault(),r>0&&n[r-1].focus()),i===Rt.DOWN&&(t.preventDefault(),r<n.length-1&&n[r+1].focus()),i===Rt.ESC){var o;s==null||(o=s.targetEl)==null||o.focus()}gn(t,this.toggles,s)}},{name:"mouseleave",el(){return this.dropbar},filter(){return this.dropbar},handler(){const t=this.getActive();t&&p(t.mode,"hover")&&!this.dropdowns.some(e=>L(e,":hover"))&&t.hide()}},{name:"beforeshow",el(){return this.dropContainer},filter(){return this.dropbar},handler(t){let{target:e}=t;!this.isDropbarDrop(e)||(this.dropbar.previousElementSibling!==this.dropbarAnchor&&Ve(this.dropbarAnchor,this.dropbar),b(e,this.clsDrop+"-dropbar"))}},{name:"show",el(){return this.dropContainer},filter(){return this.dropbar},handler(t){let{target:e}=t;!this.isDropbarDrop(e)||(this._observer=Ke(e,()=>{const i=Ut(e,"."+this.clsDrop).concat(e).map(o=>A(o)),s=Math.min(...i.map(o=>{let{top:a}=o;return a})),n=Math.max(...i.map(o=>{let{bottom:a}=o;return a})),r=A(this.dropbar);c(this.dropbar,"top",this.dropbar.offsetTop-(r.top-s)),this.transitionTo(n-s+w(c(e,"marginBottom")),e)}))}},{name:"beforehide",el(){return this.dropContainer},filter(){return this.dropbar},handler(t){const e=this.getActive();L(this.dropbar,":hover")&&(e==null?void 0:e.$el)===t.target&&!this.toggles.some(i=>e.targetEl!==i&&L(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 p(this.dropdowns,Y==null?void 0:Y.$el)&&Y},transitionTo(t,e){const{dropbar:i}=this,s=G(i);e=s<t&&e,c(e,"clipPath","polygon(0 0,100% 0,100% "+s+"px,0 "+s+"px)"),G(i,s),S.cancel([e,i]),Promise.all([S.start(i,{height:t},this.duration),S.start(e,{clipPath:"polygon(0 0,100% 0,100% "+t+"px,0 "+t+"px)"},this.duration)]).catch(T).then(()=>c(e,{clipPath:""}))},getDropdown(t){return this.$getComponent(t,"drop")||this.$getComponent(t,"dropdown")},isDropbarDrop(t){return this.getDropdown(t)&&I(t,this.clsDrop)}}};function gn(t,e,i){const{current:s,keyCode:n}=t,r=(i==null?void 0:i.targetEl)||s,o=e.indexOf(r);n===Rt.LEFT&&o>0&&(i==null||i.hide(!1),e[o-1].focus()),n===Rt.RIGHT&&o<e.length-1&&(i==null||i.hide(!1),e[o+1].focus()),n===Rt.TAB&&(r.focus(),i==null||i.hide(!1))}function mn(t){if(!v(":focus",t)){var e;(e=v(We,t))==null||e.focus()}}const Rt={TAB:9,ESC:27,LEFT:37,UP:38,RIGHT:39,DOWN:40};var vn={props:{swiping:Boolean},data:{swiping:!0},computed:{swipeTarget(t,e){return e}},connected(){!this.swiping||ei(this,{el:this.swipeTarget,name:pt,passive:!0,handler(t){if(!$t(t))return;const e=ee(t),i="tagName"in t.target?t.target:P(t.target);N(document,Pt+" "+Je+" scroll",s=>{const{x:n,y:r}=ee(s);(s.type!=="scroll"&&i&&n&&Math.abs(e.x-n)>100||r&&Math.abs(e.y-r)>100)&&setTimeout(()=>{g(i,"swipe"),g(i,"swipe"+wa(e.x,e.y,n,r))})})}})}};function wa(t,e,i,s){return Math.abs(t-i)>=Math.abs(e-s)?t-i>0?"Left":"Right":e-s>0?"Up":"Down"}var ba={mixins:[Ki,vn],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()&&!V(this.$el)&&this.hide()},events:["resize"]},events:[{name:"click",delegate(){return'a[href^="#"]'},handler(t){let{current:{hash:e},defaultPrevented:i}=t;!i&&e&&v(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"&&!I(P(this.panel),this.clsMode)&&(Hi(this.panel,"<div>"),b(P(this.panel),this.clsMode));const{body:t,scrollingElement:e}=document;b(t,this.clsContainer,this.clsFlip),c(t,"touch-action","pan-y pinch-zoom"),c(this.$el,"display","block"),c(this.panel,"maxWidth",e.clientWidth),b(this.$el,this.clsOverlay),b(this.panel,this.clsSidebarAnimation,this.mode==="reveal"?"":this.clsMode),G(t),b(t,this.clsContainerAnimation),this.clsContainerAnimation&&xa()}},{name:"hide",self:!0,handler(){O(document.body,this.clsContainerAnimation),c(document.body,"touch-action","")}},{name:"hidden",self:!0,handler(){this.clsContainerAnimation&&ya(),this.mode==="reveal"&&Xe(this.panel),O(this.panel,this.clsSidebarAnimation,this.clsMode),O(this.$el,this.clsOverlay),c(this.$el,"display",""),c(this.panel,"maxWidth",""),O(document.body,this.clsContainer,this.clsFlip)}},{name:"swipeLeft swipeRight",handler(t){this.isToggled()&&Xt(t.type,"Left")^this.flip&&this.hide()}}]};function xa(){wn().content+=",user-scalable=0"}function ya(){const t=wn();t.content=t.content.replace(/,user-scalable=0$/,"")}function wn(){return v('meta[name="viewport"]',document.head)||j(document.head,'<meta name="viewport">')}var $a={mixins:[nt,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 it(e,i)},content(t,e){let{selContent:i}=t;return it(e,i)}},resizeTargets(){return[this.container,this.content]},update:{read(){return!this.content||!this.container||!V(this.$el)?!1:{max:Math.max(this.minHeight,G(this.container)-(x(this.content).height-G(this.$el)))}},write(t){let{max:e}=t;c(this.$el,{minHeight:this.minHeight,maxHeight:e})},events:["resize"]}},ka={mixins:[wt],props:["width","height"],resizeTargets(){return[this.$el,P(this.$el)]},connected(){b(this.$el,"uk-responsive-width")},update:{read(){return V(this.$el)&&this.width&&this.height?{width:ye(P(this.$el)),height:this.height}:!1},write(t){G(this.$el,Le.contain({height:this.height,width:this.width},t).height)},events:["resize"]}},Sa={props:{offset:Number},data:{offset:0},connected(){Ta(this)},disconnected(){Ca(this)},methods:{async scrollTo(t){t=t&&v(t)||document.body,g(this.$el,"beforescroll",[this,t])&&(await Yi(t,{offset:this.offset}),g(this.$el,"scrolled",[this,t]))}}};const Ie=new Set;function Ta(t){Ie.size||k(document,"click",bn),Ie.add(t)}function Ca(t){Ie.delete(t),Ie.length||Dt(document,"click",bn)}function bn(t){if(!t.defaultPrevented)for(const e of Ie)B(t.target,e.$el)&&(t.preventDefault(),e.scrollTo(xn(e.$el)))}function xn(t){return document.getElementById(decodeURIComponent(t.hash).substring(1))}var Ia={mixins:[Te],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(ve(t,":not(."+this.inViewClass+")"),"visibility","hidden"),pe(t,e)||this.$reset()},immediate:!0}},connected(){this._data.elements=new Map,this.registerObserver(re(this.elements,t=>{const e=this._data.elements;for(const{target:i,isIntersecting:s}of t){e.has(i)||e.set(i,{cls:at(i,"uk-scrollspy-class")||this.cls});const n=e.get(i);!this.repeat&&n.show||(n.show=s)}this.$emit()},{rootMargin:J(this.offsetTop,"height")-1+"px "+(J(this.offsetLeft,"width")-1)+"px"},!1))},disconnected(){for(const[t,e]of this._data.elements.entries())O(t,this.inViewClass,(e==null?void 0:e.cls)||"")},update:[{write(t){for(const[e,i]of t.elements.entries())i.show&&!i.inview&&!i.queued?(i.queued=!0,t.promise=(t.promise||Promise.resolve()).then(()=>new Promise(s=>setTimeout(s,this.delay))).then(()=>{this.toggle(e,!0),setTimeout(()=>{i.queued=!1,this.$emit()},300)})):!i.show&&i.inview&&!i.queued&&this.repeat&&this.toggle(e,!1)}}],methods:{toggle(t,e){const i=this._data.elements.get(t);if(!!i){if(i.off==null||i.off(),c(t,"visibility",!e&&this.hidden?"hidden":""),W(t,this.inViewClass,e),W(t,i.cls),/\buk-animation-/.test(i.cls)){const s=()=>Bi(t,"uk-animation-[\\w-]+");e?i.off=N(t,"animationcancel animationend",s):s()}g(t,e?"inview":"outview"),i.inview=e,this.$update(t)}}}},Pa={mixins:[Te],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 it(this.links,e||"*")}},update:[{read(){const t=this.links.map(xn).filter(Boolean),{length:e}=t;if(!e||!V(this.$el))return!1;const[i]=Q(t,/auto|scroll/,!0),{scrollTop:s,scrollHeight:n}=i,r=lt(i),o=n-r.height;let a=!1;if(s===o)a=e-1;else{for(let l=0;l<t.length&&!(A(t[l]).top-r.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&&!I(this.elements[e],this.cls);this.links.forEach(s=>s.blur());for(let s=0;s<this.elements.length;s++)W(this.elements[s],this.cls,+s===e);i&&g(this.$el,"active",[e,this.elements[e]])},events:["scroll","resize"]}]},Aa={mixins:[nt,li,wt,Te],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&&v(i,e)||e}},resizeTargets(){return document.documentElement},connected(){this.start=$n(this.start||this.top),this.end=$n(this.end||this.bottom),this.placeholder=v("+ .uk-sticky-placeholder",this.$el)||v('<div class="uk-sticky-placeholder"></div>'),this.isFixed=!1,this.setActive(!1)},disconnected(){this.isFixed&&(this.hide(),O(this.selTarget,this.clsInactive)),ct(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=A(v(location.hash)),i=A(this.$el);this.isFixed&&Si(e,i)&&(t.scrollTop=e.top-i.height-J(this.targetOffset,"height",this.placeholder)-J(this.offset,"height",this.placeholder))})}}],update:[{read(t,e){let{height:i,margin:s}=t;if(this.inactive=!this.matchMedia||!V(this.$el),this.inactive)return!1;const n=this.active&&e.has("resize");n&&(c(this.selTarget,"transition","0s"),this.hide()),this.active||(i=A(this.$el).height,s=c(this.$el,"margin")),n&&(this.show(),requestAnimationFrame(()=>c(this.selTarget,"transition","")));const r=this.isFixed?this.placeholder:this.$el,o=G(window);let a=this.position;this.overflowFlip&&i>o&&(a=a==="top"?"bottom":"top");let l=J(this.offset,"height",r);a==="bottom"&&(i<o||this.overflowFlip)&&(l+=o-i);const h=this.overflowFlip?0:Math.max(0,i+l-o),u=A(r).top,d=(this.start===!1?u:yn(this.start,this.$el,u))-l,f=this.end===!1?document.scrollingElement.scrollHeight-o:yn(this.end,this.$el,u+i,!0)-A(this.$el).height+h-l;return{start:d,end:f,offset:l,overflow:h,topOffset:u,height:i,margin:s,width:x(r).width,top:Ht(r)[0]}},write(t){let{height:e,margin:i}=t;const{placeholder:s}=this;c(s,{height:e,margin:i}),B(s,document)||(Ve(this.$el,s),s.hidden=!0)},events:["resize"]},{read(t){let{scroll:e=0,dir:i="down",overflow:s,overflowScroll:n=0,start:r,end:o}=t;const a=document.scrollingElement.scrollTop;return{dir:e<=a?"down":"up",prevDir:i,scroll:a,prevScroll:e,offsetParentTop:A((this.isFixed?this.placeholder:this.$el).offsetParent).top,overflowScroll:Z(n+Z(a,r,o)-Z(e,r,o),0,s)}},write(t,e){const i=e.has("scroll"),{initTimestamp:s=0,dir:n,prevDir:r,scroll:o,prevScroll:a=0,top:l,start:h,topOffset:u,height:d}=t;if(o<0||o===a&&i||this.showOnUp&&!i&&!this.isFixed)return;const f=Date.now();if((f-s>300||n!==r)&&(t.initScroll=o,t.initTimestamp=f),!(this.showOnUp&&!this.isFixed&&Math.abs(t.initScroll-o)<=30&&Math.abs(a-o)<=10))if(this.inactive||o<h||this.showOnUp&&(o<=h||n==="down"&&i||n==="up"&&!this.isFixed&&o<=u+d)){if(!this.isFixed){ft.inProgress(this.$el)&&l>o&&(ft.cancel(this.$el),this.hide());return}this.isFixed=!1,this.animation&&o>u?(ft.cancel(this.$el),ft.out(this.$el,this.animation).then(()=>this.hide(),T)):this.hide()}else this.isFixed?this.update():this.animation&&o>u?(ft.cancel(this.$el),this.show(),ft.in(this.$el,this.animation).catch(T)):this.show()},events:["resize","scroll"]}],methods:{show(){this.isFixed=!0,this.update(),this.placeholder.hidden=!1},hide(){this.setActive(!1),O(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:s=0,start:n,end:r,offset:o,topOffset:a,height:l,offsetParentTop:h}=this._data;const u=n!==0||e>n;let d="fixed";e>r&&(o+=r-h,d="absolute"),i&&(o-=s),c(this.$el,{position:d,top:o+"px",width:t}),this.setActive(u),W(this.$el,this.clsBelow,e>a+l),b(this.$el,this.clsFixed)},setActive(t){const e=this.active;this.active=t,t?(Mi(this.selTarget,this.clsInactive,this.clsActive),e!==t&&g(this.$el,"active")):(Mi(this.selTarget,this.clsActive,this.clsInactive),e!==t&&g(this.$el,"inactive"))}}};function yn(t,e,i,s){if(!t)return 0;if(_t(t)||_(t)&&t.match(/^-?\d/))return i+J(t,"height",e,!0);{const n=t===!0?P(e):dt(t,e);return A(n).bottom-(s&&n&&B(e,n)?w(c(n,"paddingBottom")):0)}}function $n(t){return t==="true"?!0:t==="false"?!1:t}var kn={mixins:[Se,vn,At],args:"connect",props:{connect:String,toggle:String,itemNav:String,active:Number},data:{connect:"~.uk-switcher",toggle:"> * > :first-child",itemNav:!1,active:0,cls:"uk-active",attrItem:"uk-switcher-item"},computed:{connects:{get(t,e){let{connect:i}=t;return we(i,e)},watch(t){this.swiping&&c(t,"touchAction","pan-y pinch-zoom");const e=this.index();this.connects.forEach(i=>D(i).forEach((s,n)=>W(s,this.cls,n===e)))},immediate:!0},toggles:{get(t,e){let{toggle:i}=t;return M(i,e).filter(s=>!L(s,".uk-disabled *, .uk-disabled, [disabled]"))},watch(t){const e=this.index();this.show(~e?e:t[this.active]||t[0])},immediate:!0},children(){return D(this.$el).filter(t=>this.toggles.some(e=>B(e,t)))},swipeTarget(){return this.connects}},connected(){this.lazyload(this.$el,this.connects),Ni(()=>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?we(this.itemNav,this.$el):[])},delegate(){return"["+this.attrItem+"],[data-"+this.attrItem+"]"},handler(t){t.preventDefault(),this.show(at(t.current,this.attrItem))}},{name:"swipeRight swipeLeft",filter(){return this.swiping},el(){return this.connects},handler(t){let{type:e}=t;this.show(Xt(e,"Left")?"next":"previous")}}],methods:{index(){return bt(this.children,t=>I(t,this.cls))},show(t){const e=this.index(),i=Qt(t,this.toggles,e),s=Qt(this.children[i],D(this.$el));D(this.$el).forEach((r,o)=>{W(r,this.cls,s===o),y(this.toggles[o],"aria-expanded",s===o)});const n=e>=0&&e!==i;this.connects.forEach(async r=>{let{children:o}=r;await this.toggleElement($(o).filter(a=>I(a,this.cls)),!1,n),await this.toggleElement(o[s],!0,n)})}}},Ea={mixins:[nt],extends:kn,props:{media:Boolean},data:{media:960,attrItem:"uk-tab-item"},connected(){const t=I(this.$el,"uk-tab-left")?"uk-tab-left":I(this.$el,"uk-tab-right")?"uk-tab-right":!1;t&&this.$create("toggle",this.$el,{cls:t,mode:"media",media:this.media})}};const Oa=32;var _a={mixins:[Se,li,At],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:s}=t;return s=we(s||i,e),s.length&&s||[e]},watch(){this.updateAria()},immediate:!0}},connected(){!p(this.mode,"media")&&!je(this.$el)&&y(this.$el,"tabindex","0"),this.lazyload(this.$el,this.target),Ni(()=>this.$emit())},events:[{name:pt,filter(){return p(this.mode,"hover")},handler(t){this._preventClick=null,!(!$t(t)||this._showState)&&(g(this.$el,"focus"),N(document,pt,()=>g(this.$el,"blur"),!0,e=>!B(e.target,this.$el)),p(this.mode,"click")&&(this._preventClick=!0))}},{name:jt+" "+ne+" focus blur",filter(){return p(this.mode,"hover")},handler(t){if($t(t))return;const e=p([jt,"focus"],t.type),i=y(this.$el,"aria-expanded");if(!(!e&&(t.type===ne&&L(this.$el,":focus")||t.type==="blur"&&L(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")&&!mt(this.$el,"input")},handler(t){t.keyCode===Oa&&(t.preventDefault(),this.$el.click())}},{name:"click",filter(){return["click","hover"].some(t=>p(this.mode,t))},handler(t){let e;(this._preventClick||it(t.target,'a[href="#"], a[href=""]')||(e=it(t.target,"a[href]"))&&(y(this.$el,"aria-expanded")!=="true"||e.hash&&L(this.target,e.hash)))&&t.preventDefault(),!this._preventClick&&p(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 p(this.mode,"media")},el(){return this.target},handler(t,e){e.matches^this.isToggled(this.target)&&this.toggle()}}],methods:{async toggle(t){if(!g(this.target,t||"toggle",[this]))return;if(!this.queued)return this.toggleElement(this.target);const e=this.target.filter(s=>I(s,this.clsLeave));if(e.length){for(const s of this.target){const n=p(e,s);this.toggleElement(s,n,n)}return}const i=this.target.filter(this.isToggled);await this.toggleElement(i,!1),await this.toggleElement(this.target.filter(s=>!p(i,s)),!0)},updateAria(t){p(this.mode,"media")||y(this.$el,"aria-expanded",Ne(t)?t:this.isToggled(this.target))}}},Ba=Object.freeze({__proto__:null,Accordion:Js,Alert:ao,Cover:ho,Drop:sn,Dropdown:sn,FormCustom:mo,Grid:xo,HeightMatch:So,HeightViewport:Io,Icon:Ui,Img:ra,Leader:fa,Margin:nn,Modal:pa,Nav:ma,Navbar:va,Offcanvas:ba,OverflowAuto:$a,Responsive:ka,Scroll:Sa,Scrollspy:Ia,ScrollspyNav:Pa,Sticky:Aa,Svg:an,Switcher:kn,Tab:Ea,Toggle:_a,Video:Zs,Close:Uo,Spinner:ta,NavParentIcon:Zo,SlidenavNext:fn,SlidenavPrevious:fn,SearchIcon:Qo,Marker:ut,NavbarParentIcon:ut,NavbarToggleIcon:ut,OverlayIcon:ut,PaginationNext:ut,PaginationPrevious:ut,Totop:ut});yt(Ba,(t,e)=>st.component(e,t)),no(st);const Ma=["days","hours","minutes","seconds"];var Da={mixins:[nt],props:{date:String,clsWrapper:String},data:{date:"",clsWrapper:".uk-countdown-%unit%"},connected(){this.date=Date.parse(this.$props.date),this.start()},disconnected(){this.stop()},events:[{name:"visibilitychange",el(){return document},handler(){document.hidden?this.stop():this.start()}}],methods:{start(){this.stop(),this.update(),this.timer=setInterval(this.update,1e3)},stop(){clearInterval(this.timer)},update(){const t=Na(this.date);(!this.date||t.total<=0)&&(this.stop(),t.days=t.hours=t.minutes=t.seconds=0);for(const e of Ma){const i=v(this.clsWrapper.replace("%unit%",e),this.$el);if(!i)continue;let s=String(Math.trunc(t[e]));s=s.length<2?"0"+s:s,i.textContent!==s&&(s=s.split(""),s.length!==i.children.length&&It(i,s.map(()=>"<span></span>").join("")),s.forEach((n,r)=>i.children[r].textContent=n))}}}};function Na(t){const e=t-Date.now();return{total:e,seconds:e/1e3%60,minutes:e/1e3/60%60,hours:e/1e3/60/60%24,days:e/1e3/60/60/24}}const es="uk-transition-leave",is="uk-transition-enter";function Sn(t,e,i,s){s===void 0&&(s=0);const n=hi(e,!0),r={opacity:1},o={opacity:0},a=u=>()=>n===hi(e)?u():Promise.reject(),l=a(()=>(b(e,es),Promise.all(Cn(e).map((u,d)=>new Promise(f=>setTimeout(()=>S.start(u,o,i/2,"ease").then(f),d*s)))).then(()=>O(e,es)))),h=a(()=>{const u=G(e);return b(e,is),t(),c(D(e),{opacity:0}),new Promise(d=>requestAnimationFrame(()=>{const f=D(e),m=G(e);c(e,"alignContent","flex-start"),G(e,u);const C=Cn(e);c(f,o);const E=C.map((U,F)=>new Promise(ce=>setTimeout(()=>S.start(U,r,i/2,"ease").then(ce),F*s)));u!==m&&E.push(S.start(e,{height:m},i/2+C.length*s,"ease")),Promise.all(E).then(()=>{O(e,is),n===hi(e)&&(c(e,{height:"",alignContent:""}),c(f,{opacity:""}),delete e.dataset.transition),d()})}))});return I(e,es)?Tn(e).then(h):I(e,is)?Tn(e).then(l).then(h):l().then(h)}function hi(t,e){return e&&(t.dataset.transition=1+hi(t)),Ct(t.dataset.transition)||0}function Tn(t){return Promise.all(D(t).filter(S.inProgress).map(e=>new Promise(i=>N(e,"transitionend transitioncanceled",i))))}function Cn(t){return Qi(D(t)).reduce((e,i)=>e.concat(ze(i.filter(s=>Ue(s)),"offsetLeft")),[])}function za(t,e,i){return new Promise(s=>requestAnimationFrame(()=>{let n=D(e);const r=n.map(a=>In(a,!0)),o=c(e,["height","padding"]);S.cancel(e),n.forEach(S.cancel),Pn(e),t(),n=n.concat(D(e).filter(a=>!p(n,a))),Promise.resolve().then(()=>{z.flush();const a=c(e,["height","padding"]),[l,h]=Ha(e,n,r);n.forEach((u,d)=>h[d]&&c(u,h[d])),c(e,{display:"block",...o}),requestAnimationFrame(()=>{const u=n.map((d,f)=>P(d)===e&&S.start(d,l[f],i,"ease")).concat(S.start(e,a,i,"ease"));Promise.all(u).then(()=>{n.forEach((d,f)=>P(d)===e&&c(d,"display",l[f].opacity===0?"none":"")),Pn(e)},T).then(s)})})}))}function In(t,e){const i=c(t,"zIndex");return V(t)?{display:"",opacity:e?c(t,"opacity"):"0",pointerEvents:"none",position:"absolute",zIndex:i==="auto"?te(t):i,...An(t)}:!1}function Ha(t,e,i){const s=e.map((r,o)=>P(r)&&o in i?i[o]?V(r)?An(r):{opacity:0}:{opacity:V(r)?1:0}:!1),n=s.map((r,o)=>{const a=P(e[o])===t&&(i[o]||In(e[o]));if(!a)return!1;if(!r)delete a.opacity;else if(!("opacity"in r)){const{opacity:l}=a;l%1?r.opacity=1:delete a.opacity}return a});return[s,n]}function Pn(t){c(t.children,{height:"",left:"",opacity:"",pointerEvents:"",position:"",top:"",marginTop:"",marginLeft:"",transform:"",width:"",zIndex:""}),c(t,{height:"",display:"",padding:""})}function An(t){const{height:e,width:i}=A(t),{top:s,left:n}=Re(t),{marginLeft:r,marginTop:o}=c(t,["marginTop","marginLeft"]);return{top:s,left:n,height:e,width:i,marginLeft:r,marginTop:o,transform:""}}var En={props:{duration:Number,animation:Boolean},data:{duration:150,animation:"slide"},methods:{animate(t,e){e===void 0&&(e=this.$el);const i=this.animation;return(i==="fade"?Sn:i==="delayed-fade"?function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return Sn(...r,40)}:i?za:()=>(t(),Promise.resolve()))(t,e,this.duration).then(()=>this.$update(e,"resize"),T)}}},La={mixins:[En],args:"target",props:{target:Boolean,selActive:Boolean},data:{target:null,selActive:!1,attrItem:"uk-filter-control",cls:"uk-active",duration:250},computed:{toggles:{get(t,e){let{attrItem:i}=t;return M("["+i+"],[data-"+i+"]",e)},watch(){if(this.updateState(),this.selActive!==!1){const t=M(this.selActive,this.$el);this.toggles.forEach(e=>W(e,this.cls,p(t,e)))}},immediate:!0},children:{get(t,e){let{target:i}=t;return M(i+" > *",e)},watch(t,e){e&&!Ra(t,e)&&this.updateState()},immediate:!0}},events:[{name:"click",delegate(){return"["+this.attrItem+"],[data-"+this.attrItem+"]"},handler(t){t.preventDefault(),this.apply(t.current)}}],methods:{apply(t){const e=this.getState(),i=_n(t,this.attrItem,this.getState());Fa(e,i)||this.setState(i)},getState(){return this.toggles.filter(t=>I(t,this.cls)).reduce((t,e)=>_n(e,this.attrItem,t),{filter:{"":""},sort:[]})},async setState(t,e){e===void 0&&(e=!0),t={filter:{"":""},sort:[],...t},g(this.$el,"beforeFilter",[this,t]),this.toggles.forEach(i=>W(i,this.cls,!!ja(i,this.attrItem,t))),await Promise.all(M(this.target,this.$el).map(i=>{const s=()=>{Wa(t,i,D(i)),this.$update(this.$el)};return e?this.animate(s,i):s()})),g(this.$el,"afterFilter",[this])},updateState(){z.write(()=>this.setState(this.getState(),!1))}}};function On(t,e){return ke(at(t,e),["filter"])}function Fa(t,e){return["filter","sort"].every(i=>pe(t[i],e[i]))}function Wa(t,e,i){const s=qa(t);i.forEach(o=>c(o,"display",s&&!L(o,s)?"none":""));const[n,r]=t.sort;if(n){const o=Va(i,n,r);pe(o,i)||j(e,o)}}function _n(t,e,i){const s=On(t,e),{filter:n,group:r,sort:o,order:a="asc"}=s;return(n||R(o))&&(r?n?(delete i.filter[""],i.filter[r]=n):(delete i.filter[r],(fe(i.filter)||""in i.filter)&&(i.filter={"":n||""})):i.filter={"":n||""}),R(o)||(i.sort=[o,a]),i}function ja(t,e,i){let{filter:s={"":""},sort:[n,r]}=i;const{filter:o="",group:a="",sort:l,order:h="asc"}=On(t,e);return R(l)?a in s&&o===s[a]||!o&&a&&!(a in s)&&!s[""]:n===l&&r===h}function Ra(t,e){return t.length===e.length&&t.every(i=>e.includes(i))}function qa(t){let{filter:e}=t,i="";return yt(e,s=>i+=s||""),i}function Va(t,e,i){return[...t].sort((s,n)=>at(s,e).localeCompare(at(n,e),void 0,{numeric:!0})*(i==="asc"||-1))}var ss={slide:{show(t){return[{transform:H(t*-100)},{transform:H()}]},percent(t){return Pe(t)},translate(t,e){return[{transform:H(e*-100*t)},{transform:H(e*100*(1-t))}]}}};function Pe(t){return Math.abs(c(t,"transform").split(",")[4]/t.offsetWidth)||0}function H(t,e){return t===void 0&&(t=0),e===void 0&&(e="%"),t+=t?e:"","translate3d("+t+", 0, 0)"}function le(t){return"scale3d("+t+", "+t+", 1)"}var Bn={...ss,fade:{show(){return[{opacity:0},{opacity:1}]},percent(t){return 1-c(t,"opacity")},translate(t){return[{opacity:1-t},{opacity:t}]}},scale:{show(){return[{opacity:0,transform:le(1-.2)},{opacity:1,transform:le(1)}]},percent(t){return 1-c(t,"opacity")},translate(t){return[{opacity:1-t,transform:le(1-.2*t)},{opacity:t,transform:le(1-.2+.2*t)}]}}};function Ya(t,e,i,s){let{animation:n,easing:r}=s;const{percent:o,translate:a,show:l=T}=n,h=l(i),u=new Fe;return{dir:i,show(d,f,m){f===void 0&&(f=0);const C=m?"linear":r;return d-=Math.round(d*Z(f,-1,1)),this.translate(f),ci(e,"itemin",{percent:f,duration:d,timing:C,dir:i}),ci(t,"itemout",{percent:1-f,duration:d,timing:C,dir:i}),Promise.all([S.start(e,h[1],d,C),S.start(t,h[0],d,C)]).then(()=>{this.reset(),u.resolve()},T),u.promise},cancel(){S.cancel([e,t])},reset(){for(const d in h[0])c([e,t],d,"")},forward(d,f){return f===void 0&&(f=this.percent()),S.cancel([e,t]),this.show(d,f,!0)},translate(d){this.reset();const f=a(d,i);c(e,f[1]),c(t,f[0]),ci(e,"itemtranslatein",{percent:d,dir:i}),ci(t,"itemtranslateout",{percent:1-d,dir:i})},percent(){return o(t||e,e,i)},getDistance(){return t==null?void 0:t.offsetWidth}}}function ci(t,e,i){g(t,Nt(e,!1,!1,i))}var Xa={props:{autoplay:Boolean,autoplayInterval:Number,pauseOnHover:Boolean},data:{autoplay:!1,autoplayInterval:7e3,pauseOnHover:!0},connected(){this.autoplay&&this.startAutoplay()},disconnected(){this.stopAutoplay()},update(){y(this.slides,"tabindex","-1")},events:[{name:"visibilitychange",el(){return document},filter(){return this.autoplay},handler(){document.hidden?this.stopAutoplay():this.startAutoplay()}}],methods:{startAutoplay(){this.stopAutoplay(),this.interval=setInterval(()=>(!this.draggable||!v(":focus",this.$el))&&(!this.pauseOnHover||!L(this.$el,":hover"))&&!this.stack.length&&this.show("next"),this.autoplayInterval)},stopAutoplay(){this.interval&&clearInterval(this.interval)}}};const Ae={passive:!1,capture:!0},Ga="touchstart mousedown",ns="touchmove mousemove",rs="touchend touchcancel mouseup click input";var Ja={props:{draggable:Boolean},data:{draggable:!0,threshold:10},created(){for(const t of["start","move","end"]){const e=this[t];this[t]=i=>{const s=ee(i).x*(X?-1:1);this.prevPos=s===this.pos?this.prevPos:this.pos,this.pos=s,e(i)}}},events:[{name:Ga,delegate(){return this.selSlides},handler(t){!this.draggable||!$t(t)&&Ka(t.target)||it(t.target,me)||t.button>0||this.length<2||this.start(t)}},{name:"dragstart",handler(t){t.preventDefault()}},{name:ns+" "+rs,el(){return this.list},handler:T,...Ae}],methods:{start(){this.drag=this.pos,this._transitioner?(this.percent=this._transitioner.percent(),this.drag+=this._transitioner.getDistance()*this.percent*this.dir,this._transitioner.cancel(),this._transitioner.translate(this.percent),this.dragging=!0,this.stack=[]):this.prevIndex=this.index,k(document,ns,this.move,Ae),k(document,rs,this.end,Ae),c(this.list,"userSelect","none")},move(t){const e=this.pos-this.drag;if(e===0||this.prevPos===this.pos||!this.dragging&&Math.abs(e)<this.threshold)return;c(this.list,"pointerEvents","none"),t.cancelable&&t.preventDefault(),this.dragging=!0,this.dir=e<0?1:-1;const{slides:i}=this;let{prevIndex:s}=this,n=Math.abs(e),r=this.getIndex(s+this.dir,s),o=this._getDistance(s,r)||i[s].offsetWidth;for(;r!==s&&n>o;)this.drag-=o*this.dir,s=r,n-=o,r=this.getIndex(s+this.dir,s),o=this._getDistance(s,r)||i[s].offsetWidth;this.percent=n/o;const a=i[s],l=i[r],h=this.index!==r,u=s===r;let d;[this.index,this.prevIndex].filter(f=>!p([r,s],f)).forEach(f=>{g(i[f],"itemhidden",[this]),u&&(d=!0,this.prevIndex=s)}),(this.index===s&&this.prevIndex!==s||d)&&g(i[this.index],"itemshown",[this]),h&&(this.prevIndex=s,this.index=r,!u&&g(a,"beforeitemhide",[this]),g(l,"beforeitemshow",[this])),this._transitioner=this._translate(Math.abs(this.percent),a,!u&&l),h&&(!u&&g(a,"itemhide",[this]),g(l,"itemshow",[this]))},end(){if(Dt(document,ns,this.move,Ae),Dt(document,rs,this.end,Ae),this.dragging)if(this.dragging=null,this.index===this.prevIndex)this.percent=1-this.percent,this.dir*=-1,this._show(!1,this.index,!0),this._transitioner=null;else{const t=(X?this.dir*(X?1:-1):this.dir)<0==this.prevPos>this.pos;this.index=t?this.index:this.prevIndex,t&&(this.percent=1-this.percent),this.show(this.dir>0&&!t||this.dir<0&&t?"next":"previous",!0)}c(this.list,{userSelect:"",pointerEvents:""}),this.drag=this.percent=null}}};function Ka(t){return!t.children.length&&t.childNodes.length}var Za={data:{selNav:!1},computed:{nav(t,e){let{selNav:i}=t;return v(i,e)},selNavItem(t){let{attrItem:e}=t;return"["+e+"],[data-"+e+"]"},navItems(t,e){return M(this.selNavItem,e)}},update:{write(){this.nav&&this.length!==this.nav.children.length&&It(this.nav,this.slides.map((t,e)=>"<li "+this.attrItem+'="'+e+'"><a href></a></li>').join("")),this.navItems.concat(this.nav).forEach(t=>t&&(t.hidden=!this.maxIndex)),this.updateNav()},events:["resize"]},events:[{name:"click",delegate(){return this.selNavItem},handler(t){t.preventDefault(),this.show(at(t.current,this.attrItem))}},{name:"itemshow",handler:"updateNav"}],methods:{updateNav(){const t=this.getValidIndex();for(const e of this.navItems){const i=at(e,this.attrItem);W(e,this.clsActive,Ct(i)===t),W(e,"uk-invisible",this.finite&&(i==="previous"&&t===0||i==="next"&&t>=this.maxIndex))}}}},Mn={mixins:[Xa,Ja,Za,wt],props:{clsActivated:Boolean,easing:String,index:Number,finite:Boolean,velocity:Number,selSlides:String},data:()=>({easing:"ease",finite:!1,velocity:1,index:0,prevIndex:-1,stack:[],percent:0,clsActive:"uk-active",clsActivated:!1,Transitioner:!1,transitionOptions:{}}),connected(){this.prevIndex=-1,this.index=this.getValidIndex(this.$props.index),this.stack=[]},disconnected(){O(this.slides,this.clsActive)},computed:{duration(t,e){let{velocity:i}=t;return Dn(e.offsetWidth/i)},list(t,e){let{selList:i}=t;return v(i,e)},maxIndex(){return this.length-1},selSlides(t){let{selList:e,selSlides:i}=t;return e+" "+(i||"> *")},slides:{get(){return M(this.selSlides,this.$el)},watch(){this.$reset()}},length(){return this.slides.length}},methods:{show(t,e){if(e===void 0&&(e=!1),this.dragging||!this.length)return;const{stack:i}=this,s=e?0:i.length,n=()=>{i.splice(s,1),i.length&&this.show(i.shift(),!0)};if(i[e?"unshift":"push"](t),!e&&i.length>1){i.length===2&&this._transitioner.forward(Math.min(this.duration,200));return}const r=this.getIndex(this.index),o=I(this.slides,this.clsActive)&&this.slides[r],a=this.getIndex(t,this.index),l=this.slides[a];if(o===l){n();return}if(this.dir=Qa(t,r),this.prevIndex=r,this.index=a,o&&!g(o,"beforeitemhide",[this])||!g(l,"beforeitemshow",[this,o])){this.index=this.prevIndex,n();return}const h=this._show(o,l,e).then(()=>(o&&g(o,"itemhidden",[this]),g(l,"itemshown",[this]),new Promise(u=>{z.write(()=>{i.shift(),i.length?this.show(i.shift(),!0):this._transitioner=null,u()})})));return o&&g(o,"itemhide",[this]),g(l,"itemshow",[this]),h},getIndex(t,e){return t===void 0&&(t=this.index),e===void 0&&(e=this.index),Z(Qt(t,this.slides,e,this.finite),0,this.maxIndex)},getValidIndex(t,e){return t===void 0&&(t=this.index),e===void 0&&(e=this.prevIndex),this.getIndex(t,e)},_show(t,e,i){if(this._transitioner=this._getTransitioner(t,e,this.dir,{easing:i?e.offsetWidth<600?"cubic-bezier(0.25, 0.46, 0.45, 0.94)":"cubic-bezier(0.165, 0.84, 0.44, 1)":this.easing,...this.transitionOptions}),!i&&!t)return this._translate(1),Promise.resolve();const{length:s}=this.stack;return this._transitioner[s>1?"forward":"show"](s>1?Math.min(this.duration,75+75/(s-1)):this.duration,this.percent)},_getDistance(t,e){return this._getTransitioner(t,t!==e&&e).getDistance()},_translate(t,e,i){e===void 0&&(e=this.prevIndex),i===void 0&&(i=this.index);const s=this._getTransitioner(e!==i?e:!1,i);return s.translate(t),s},_getTransitioner(t,e,i,s){return t===void 0&&(t=this.prevIndex),e===void 0&&(e=this.index),i===void 0&&(i=this.dir||1),s===void 0&&(s=this.transitionOptions),new this.Transitioner(Kt(t)?this.slides[t]:t,Kt(e)?this.slides[e]:e,i*(X?-1:1),s)}}};function Qa(t,e){return t==="next"?1:t==="previous"||t<e?-1:1}function Dn(t){return .5*t+300}var Nn={mixins:[Mn],props:{animation:String},data:{animation:"slide",clsActivated:"uk-transition-active",Animations:ss,Transitioner:Ya},computed:{animation(t){let{animation:e,Animations:i}=t;return{...i[e]||i.slide,name:e}},transitionOptions(){return{animation:this.animation}}},events:{beforeitemshow(t){let{target:e}=t;b(e,this.clsActive)},itemshown(t){let{target:e}=t;b(e,this.clsActivated)},itemhidden(t){let{target:e}=t;O(e,this.clsActive,this.clsActivated)}}},zn={mixins:[ae,Ki,At,Nn],functional:!0,props:{delayControls:Number,preload:Number,videoAutoplay:Boolean,template:String},data:()=>({preload:1,videoAutoplay:!1,delayControls:3e3,items:[],cls:"uk-open",clsPage:"uk-lightbox-page",selList:".uk-lightbox-items",attrItem:"uk-lightbox-item",selClose:".uk-close-large",selCaption:".uk-lightbox-caption",pauseOnHover:!1,velocity:2,Animations:Bn,template:'<div class="uk-lightbox uk-overflow-hidden"> <ul class="uk-lightbox-items"></ul> <div class="uk-lightbox-toolbar uk-position-top uk-text-right uk-transition-slide-top uk-transition-opaque"> <button class="uk-lightbox-toolbar-icon uk-close-large" type="button" uk-close></button> </div> <a class="uk-lightbox-button uk-position-center-left uk-position-medium uk-transition-fade" href uk-slidenav-previous uk-lightbox-item="previous"></a> <a class="uk-lightbox-button uk-position-center-right uk-position-medium uk-transition-fade" href uk-slidenav-next uk-lightbox-item="next"></a> <div class="uk-lightbox-toolbar uk-lightbox-caption uk-position-bottom uk-text-center uk-transition-slide-bottom uk-transition-opaque"></div> </div>'}),created(){const t=v(this.template),e=v(this.selList,t);this.items.forEach(()=>j(e,"<li>")),this.$mount(j(this.container,t))},computed:{caption(t,e){let{selCaption:i}=t;return v(i,e)}},events:[{name:Ge+" "+pt+" keydown",handler:"showControls"},{name:"click",self:!0,delegate(){return this.selSlides},handler(t){t.defaultPrevented||this.hide()}},{name:"shown",self:!0,handler(){this.showControls()}},{name:"hide",self:!0,handler(){this.hideControls(),O(this.slides,this.clsActive),S.stop(this.slides)}},{name:"hidden",self:!0,handler(){this.$destroy(!0)}},{name:"keyup",el(){return document},handler(t){if(!(!this.isToggled(this.$el)||!this.draggable))switch(t.keyCode){case 37:this.show("previous");break;case 39:this.show("next");break}}},{name:"beforeitemshow",handler(t){this.isToggled()||(this.draggable=!1,t.preventDefault(),this.toggleElement(this.$el,!0,!1),this.animation=Bn.scale,O(t.target,this.clsActive),this.stack.splice(1,0,this.index))}},{name:"itemshow",handler(){It(this.caption,this.getItem().caption||"");for(let t=-this.preload;t<=this.preload;t++)this.loadItem(this.index+t)}},{name:"itemshown",handler(){this.draggable=this.$props.draggable}},{name:"itemload",async handler(t,e){const{source:i,type:s,alt:n="",poster:r,attrs:o={}}=e;if(this.setItem(e,"<span uk-spinner></span>"),!i)return;let a;const l={frameborder:"0",allow:"autoplay",allowfullscreen:"",style:"max-width: 100%; box-sizing: border-box;","uk-responsive":"","uk-video":""+this.videoAutoplay};if(s==="image"||i.match(/\.(avif|jpe?g|jfif|a?png|gif|svg|webp)($|\?)/i))try{const{width:h,height:u}=await bs(i,o.srcset,o.size);this.setItem(e,Ee("img",{src:i,width:h,height:u,alt:n,...o}))}catch{this.setError(e)}else if(s==="video"||i.match(/\.(mp4|webm|ogv)($|\?)/i)){const h=Ee("video",{src:i,poster:r,controls:"",playsinline:"","uk-video":""+this.videoAutoplay,...o});k(h,"loadedmetadata",()=>{y(h,{width:h.videoWidth,height:h.videoHeight}),this.setItem(e,h)}),k(h,"error",()=>this.setError(e))}else if(s==="iframe"||i.match(/\.(html|php)($|\?)/i))this.setItem(e,Ee("iframe",{src:i,frameborder:"0",allowfullscreen:"",class:"uk-lightbox-iframe",...o}));else if(a=i.match(/\/\/(?:.*?youtube(-nocookie)?\..*?[?&]v=|youtu\.be\/)([\w-]{11})[&?]?(.*)?/))this.setItem(e,Ee("iframe",{src:"https://www.youtube"+(a[1]||"")+".com/embed/"+a[2]+(a[3]?"?"+a[3]:""),width:1920,height:1080,...l,...o}));else if(a=i.match(/\/\/.*?vimeo\.[a-z]+\/(\d+)[&?]?(.*)?/))try{const{height:h,width:u}=await(await fetch("https://vimeo.com/api/oembed.json?maxwidth=1920&url="+encodeURI(i),{credentials:"omit"})).json();this.setItem(e,Ee("iframe",{src:"https://player.vimeo.com/video/"+a[1]+(a[2]?"?"+a[2]:""),width:u,height:h,...l,...o}))}catch{this.setError(e)}}}],methods:{loadItem(t){t===void 0&&(t=this.index);const e=this.getItem(t);this.getSlide(e).childElementCount||g(this.$el,"itemload",[e])},getItem(t){return t===void 0&&(t=this.index),this.items[Qt(t,this.slides)]},setItem(t,e){g(this.$el,"itemloaded",[this,It(this.getSlide(t),e)])},getSlide(t){return this.slides[this.items.indexOf(t)]},setError(t){this.setItem(t,'<span uk-icon="icon: bolt; ratio: 2"></span>')},showControls(){clearTimeout(this.controlsTimer),this.controlsTimer=setTimeout(this.hideControls,this.delayControls),b(this.$el,"uk-active","uk-transition-active")},hideControls(){O(this.$el,"uk-active","uk-transition-active")}}};function Ee(t,e){const i=Lt("<"+t+">");return y(i,e),i}var Ua={install:tl,props:{toggle:String},data:{toggle:"a"},computed:{toggles:{get(t,e){let{toggle:i}=t;return M(i,e)},watch(){this.hide()}}},disconnected(){this.hide()},events:[{name:"click",delegate(){return this.toggle+":not(.uk-disabled)"},handler(t){t.preventDefault(),this.show(t.current)}}],methods:{show(t){const e=ds(this.toggles.map(Hn),"source");if(Jt(t)){const{source:i}=Hn(t);t=bt(e,s=>{let{source:n}=s;return i===n})}return this.panel=this.panel||this.$create("lightboxPanel",{...this.$props,items:e}),k(this.panel.$el,"hidden",()=>this.panel=!1),this.panel.show(t)},hide(){var t;return(t=this.panel)==null?void 0:t.hide()}}};function tl(t,e){t.lightboxPanel||t.component("lightboxPanel",zn),xt(e.props,t.component("lightboxPanel").options.props)}function Hn(t){const e={};for(const i of["href","caption","type","poster","alt","attrs"])e[i==="href"?"source":i]=at(t,i);return e.attrs=ke(e.attrs),e}var el={mixins:[ae],functional:!0,args:["message","status"],data:{message:"",status:"",timeout:5e3,group:null,pos:"top-center",clsContainer:"uk-notification",clsClose:"uk-notification-close",clsMsg:"uk-notification-message"},install:il,computed:{marginProp(t){let{pos:e}=t;return"margin"+(tt(e,"top")?"Top":"Bottom")},startProps(){return{opacity:0,[this.marginProp]:-this.$el.offsetHeight}}},created(){const t=v("."+this.clsContainer+"-"+this.pos,this.container)||j(this.container,'<div class="'+this.clsContainer+" "+this.clsContainer+"-"+this.pos+'" style="display: block"></div>');this.$mount(j(t,'<div class="'+this.clsMsg+(this.status?" "+this.clsMsg+"-"+this.status:"")+'" role="alert"> <a href class="'+this.clsClose+'" data-uk-close></a> <div>'+this.message+"</div> </div>"))},async connected(){const t=w(c(this.$el,this.marginProp));await S.start(c(this.$el,this.startProps),{opacity:1,[this.marginProp]:t}),this.timeout&&(this.timer=setTimeout(this.close,this.timeout))},events:{click(t){it(t.target,'a[href="#"],a[href=""]')&&t.preventDefault(),this.close()},[jt](){this.timer&&clearTimeout(this.timer)},[ne](){this.timeout&&(this.timer=setTimeout(this.close,this.timeout))}},methods:{async close(t){const e=i=>{const s=P(i);g(i,"close",[this]),ct(i),s!=null&&s.hasChildNodes()||ct(s)};this.timer&&clearTimeout(this.timer),t||await S.start(this.$el,this.startProps),e(this.$el)}}};function il(t){t.notification.closeAll=function(e,i){vt(document.body,s=>{const n=t.getComponent(s,"notification");n&&(!e||e===n.group)&&n.close(i)})}}const ui={x:di,y:di,rotate:di,scale:di,color:os,backgroundColor:os,borderColor:os,blur:qt,hue:qt,fopacity:qt,grayscale:qt,invert:qt,saturate:qt,sepia:qt,opacity:nl,stroke:rl,bgx:Wn,bgy:Wn},{keys:Ln}=Object;var Fn={mixins:[li],props:Vn(Ln(ui),"list"),data:Vn(Ln(ui),void 0),computed:{props(t,e){const i={};for(const n in t)n in ui&&!R(t[n])&&(i[n]=t[n].slice());const s={};for(const n in i)s[n]=ui[n](n,e,i[n],i);return s}},events:{load(){this.$emit()}},methods:{reset(){for(const t in this.getCss(0))c(this.$el,t,"")},getCss(t){const e={transform:"",filter:""};for(const i in this.props)this.props[i](e,t);return e}}};function di(t,e,i){let s=pi(i)||{x:"px",y:"px",rotate:"deg"}[t]||"",n;return t==="x"||t==="y"?(t="translate"+kt(t),n=r=>w(w(r).toFixed(s==="px"?0:6))):t==="scale"&&(s="",n=r=>pi([r])?J(r,"width",e,!0)/e.offsetWidth:r),i.length===1&&i.unshift(t==="scale"?1:0),i=he(i,n),(r,o)=>{r.transform+=" "+t+"("+Oe(i,o)+s+")"}}function os(t,e,i){return i.length===1&&i.unshift(_e(e,t,"")),i=he(i,s=>sl(e,s)),(s,n)=>{const[r,o,a]=qn(i,n),l=r.map((h,u)=>(h+=a*(o[u]-h),u===3?w(h):parseInt(h,10))).join(",");s[t]="rgba("+l+")"}}function sl(t,e){return _e(t,"color",e).split(/[(),]/g).slice(1,-1).concat(1).slice(0,4).map(w)}function qt(t,e,i){i.length===1&&i.unshift(0);const s=pi(i)||{blur:"px",hue:"deg"}[t]||"%";return t={fopacity:"opacity",hue:"hue-rotate"}[t]||t,i=he(i),(n,r)=>{const o=Oe(i,r);n.filter+=" "+t+"("+(o+s)+")"}}function nl(t,e,i){return i.length===1&&i.unshift(_e(e,t,"")),i=he(i),(s,n)=>{s[t]=Oe(i,n)}}function rl(t,e,i){i.length===1&&i.unshift(0);const s=pi(i),n=cn(e);return i=he(i.reverse(),r=>(r=w(r),s==="%"?r*n/100:r)),i.some(r=>{let[o]=r;return o})?(c(e,"strokeDasharray",n),(r,o)=>{r.strokeDashoffset=Oe(i,o)}):T}function Wn(t,e,i,s){i.length===1&&i.unshift(0);const n=t==="bgy"?"height":"width";s[t]=he(i,a=>J(a,n,e));const r=["bgx","bgy"].filter(a=>a in s);if(r.length===2&&t==="bgx")return T;if(_e(e,"backgroundSize","")==="cover")return ol(t,e,i,s);const o={};for(const a of r)o[a]=jn(e,a);return Rn(r,o,s)}function ol(t,e,i,s){const n=al(e);if(!n.width)return T;const r={width:e.offsetWidth,height:e.offsetHeight},o=["bgx","bgy"].filter(u=>u in s),a={};for(const u of o){const d=s[u].map(U=>{let[F]=U;return F}),f=Math.min(...d),m=Math.max(...d),C=d.indexOf(f)<d.indexOf(m),E=m-f;a[u]=(C?-E:0)-(C?f:m)+"px",r[u==="bgy"?"height":"width"]+=E}const l=Le.cover(n,r);for(const u of o){const d=u==="bgy"?"height":"width",f=l[d]-r[d];a[u]="max("+jn(e,u)+",-"+f+"px) + "+a[u]}const h=Rn(o,a,s);return(u,d)=>{h(u,d),u.backgroundSize=l.width+"px "+l.height+"px",u.backgroundRepeat="no-repeat"}}function jn(t,e){return _e(t,"background-position-"+e.substr(-1),"")}function Rn(t,e,i){return function(s,n){for(const r of t){const o=Oe(i[r],n);s["background-position-"+r.substr(-1)]="calc("+e[r]+" + "+o+"px)"}}}const fi={};function al(t){const e=c(t,"backgroundImage").replace(/^none|url\(["']?(.+?)["']?\)$/,"$1");if(fi[e])return fi[e];const i=new Image;return e&&(i.src=e,!i.naturalWidth)?(i.onload=()=>{fi[e]=as(i),g(t,Nt("load",!1))},as(i)):fi[e]=as(i)}function as(t){return{width:t.naturalWidth,height:t.naturalHeight}}function he(t,e){e===void 0&&(e=w);const i=[],{length:s}=t;let n=0;for(let r=0;r<s;r++){let[o,a]=_(t[r])?t[r].trim().split(" "):[t[r]];if(o=e(o),a=a?w(a)/100:null,r===0?a===null?a=0:a&&i.push([o,0]):r===s-1&&(a===null?a=1:a!==1&&(i.push([o,a]),a=1)),i.push([o,a]),a===null)n++;else if(n){const l=i[r-n-1][1],h=(a-l)/(n+1);for(let u=n;u>0;u--)i[r-u][1]=l+h*(n-u+1);n=0}}return i}function qn(t,e){const i=bt(t.slice(1),s=>{let[,n]=s;return e<=n})+1;return[t[i-1][0],t[i][0],(e-t[i-1][1])/(t[i][1]-t[i-1][1])]}function Oe(t,e){const[i,s,n]=qn(t,e);return Kt(i)?i+Math.abs(i-s)*n*(i<s?1:-1):+s}const ll=/^-?\d+(\S*)/;function pi(t,e){for(const i of t){const s=i.match==null?void 0:i.match(ll);if(s)return s[1]}return e}function _e(t,e,i){const s=t.style[e],n=c(c(t,e,i),e);return t.style[e]=s,n}function Vn(t,e){return t.reduce((i,s)=>(i[s]=e,i),{})}var hl={mixins:[Fn,wt,Te],props:{target:String,viewport:Number,easing:Number,start:String,end:String},data:{target:!1,viewport:1,easing:1,start:0,end:0},computed:{target(t,e){let{target:i}=t;return Yn(i&&dt(i,e)||e)},start(t){let{start:e}=t;return J(e,"height",this.target,!0)},end(t){let{end:e,viewport:i}=t;return J(e||(i=(1-i)*100)&&i+"vh+"+i+"%","height",this.target,!0)}},update:{read(t,e){let{percent:i}=t;if(e.has("scroll")||(i=!1),!this.matchMedia)return;const s=i;return i=cl(Xi(this.target,this.start,this.end),this.easing),{percent:i,style:s===i?!1:this.getCss(i)}},write(t){let{style:e}=t;if(!this.matchMedia){this.reset();return}e&&c(this.$el,e)},events:["scroll","resize"]}};function cl(t,e){return e>=0?Math.pow(t,e+1):1-Math.pow(1-t,1-e)}function Yn(t){return t?"offsetTop"in t?t:Yn(P(t)):document.documentElement}var Xn={update:{write(){if(this.stack.length||this.dragging)return;const t=this.getValidIndex(this.index);(!~this.prevIndex||this.index!==t)&&this.show(t)},events:["resize"]}},Gn={mixins:[Se],connected(){this.lazyload(this.slides,this.getAdjacentSlides)}};function ul(t,e,i,s){let{center:n,easing:r,list:o}=s;const a=new Fe,l=t?Be(t,o,n):Be(e,o,n)+x(e).width*i,h=e?Be(e,o,n):l+x(t).width*i*(X?-1:1);return{dir:i,show(u,d,f){d===void 0&&(d=0);const m=f?"linear":r;return u-=Math.round(u*Z(d,-1,1)),this.translate(d),d=t?d:Z(d,0,1),ls(this.getItemIn(),"itemin",{percent:d,duration:u,timing:m,dir:i}),t&&ls(this.getItemIn(!0),"itemout",{percent:1-d,duration:u,timing:m,dir:i}),S.start(o,{transform:H(-h*(X?-1:1),"px")},u,m).then(a.resolve,T),a.promise},cancel(){S.cancel(o)},reset(){c(o,"transform","")},forward(u,d){return d===void 0&&(d=this.percent()),S.cancel(o),this.show(u,d,!0)},translate(u){const d=this.getDistance()*i*(X?-1:1);c(o,"transform",H(Z(-h+(d-d*u),-gi(o),x(o).width)*(X?-1:1),"px"));const f=this.getActives(),m=this.getItemIn(),C=this.getItemIn(!0);u=t?Z(u,-1,1):0;for(const E of D(o)){const U=p(f,E),F=E===m,ce=E===C,hs=F||!ce&&(U||i*(X?-1:1)===-1^mi(E,o)>mi(t||e));ls(E,"itemtranslate"+(hs?"in":"out"),{dir:i,percent:ce?1-u:F?u:U?1:0})}},percent(){return Math.abs((c(o,"transform").split(",")[4]*(X?-1:1)+l)/(h-l))},getDistance(){return Math.abs(h-l)},getItemIn(u){u===void 0&&(u=!1);let d=this.getActives(),f=Kn(o,Be(e||t,o,n));if(u){const m=d;d=f,f=m}return f[bt(f,m=>!p(d,m))]},getActives(){return Kn(o,Be(t||e,o,n))}}}function Be(t,e,i){const s=mi(t,e);return i?s-dl(t,e):Math.min(s,Jn(e))}function Jn(t){return Math.max(0,gi(t)-x(t).width)}function gi(t){return D(t).reduce((e,i)=>x(i).width+e,0)}function dl(t,e){return x(e).width/2-x(t).width/2}function mi(t,e){return t&&(Re(t).left+(X?x(t).width-x(e).width:0))*(X?-1:1)||0}function Kn(t,e){e-=1;const i=x(t).width,s=e+i+2;return D(t).filter(n=>{const r=mi(n,t),o=r+Math.min(x(n).width,i);return r>=e&&o<=s})}function ls(t,e,i){g(t,Nt(e,!1,!1,i))}var fl={mixins:[nt,Mn,Xn,Gn],props:{center:Boolean,sets:Boolean},data:{center:!1,sets:!1,attrItem:"uk-slider-item",selList:".uk-slider-items",selNav:".uk-slider-nav",clsContainer:"uk-slider-container",Transitioner:ul},computed:{avgWidth(){return gi(this.list)/this.length},finite(t){let{finite:e}=t;return e||Math.ceil(gi(this.list))<Math.trunc(x(this.list).width+pl(this.list)+this.center)},maxIndex(){if(!this.finite||this.center&&!this.sets)return this.length-1;if(this.center)return Zt(this.sets);let t=0;const e=Jn(this.list),i=bt(this.slides,s=>{if(t>=e)return!0;t+=x(s).width});return~i?i:this.length-1},sets(t){let{sets:e}=t;if(!e)return;let i=0;const s=[],n=x(this.list).width;for(let r=0;r<this.slides.length;r++){const o=x(this.slides[r]).width;i+o>n&&(i=0),this.center?i<n/2&&i+o+x(this.slides[+r+1]).width/2>n/2&&(s.push(+r),i=n/2-o/2):i===0&&s.push(Math.min(+r,this.maxIndex)),i+=o}if(s.length)return s},transitionOptions(){return{center:this.center,list:this.list}}},connected(){W(this.$el,this.clsContainer,!v("."+this.clsContainer,this.$el))},update:{write(){for(const t of this.navItems){const e=Ct(at(t,this.attrItem));e!==!1&&(t.hidden=!this.maxIndex||e>this.maxIndex||this.sets&&!p(this.sets,e))}this.length&&!this.dragging&&!this.stack.length&&(this.reorder(),this._translate(1)),this.updateActiveClasses()},events:["resize"]},events:{beforeitemshow(t){!this.dragging&&this.sets&&this.stack.length<2&&!p(this.sets,this.index)&&(this.index=this.getValidIndex());const e=Math.abs(this.index-this.prevIndex+(this.dir>0&&this.index<this.prevIndex||this.dir<0&&this.index>this.prevIndex?(this.maxIndex+1)*this.dir:0));if(!this.dragging&&e>1){for(let s=0;s<e;s++)this.stack.splice(1,0,this.dir>0?"next":"previous");t.preventDefault();return}const i=this.dir<0||!this.slides[this.prevIndex]?this.index:this.prevIndex;this.duration=Dn(this.avgWidth/this.velocity)*(x(this.slides[i]).width/this.avgWidth),this.reorder()},itemshow(){~this.prevIndex&&b(this._getTransitioner().getItemIn(),this.clsActive)},itemshown(){this.updateActiveClasses()}},methods:{reorder(){if(this.finite){c(this.slides,"order","");return}const t=this.dir>0&&this.slides[this.prevIndex]?this.prevIndex:this.index;if(this.slides.forEach((n,r)=>c(n,"order",this.dir>0&&r<t?1:this.dir<0&&r>=this.index?-1:"")),!this.center)return;const e=this.slides[t];let i=x(this.list).width/2-x(e).width/2,s=0;for(;i>0;){const n=this.getIndex(--s+t,t),r=this.slides[n];c(r,"order",n>t?-2:-1),i-=x(r).width}},updateActiveClasses(){const t=this._getTransitioner(this.index).getActives(),e=[this.clsActive,(!this.sets||p(this.sets,w(this.index)))&&this.clsActivated||""];for(const i of this.slides)W(i,e,p(t,i))},getValidIndex(t,e){if(t===void 0&&(t=this.index),e===void 0&&(e=this.prevIndex),t=this.getIndex(t,e),!this.sets)return t;let i;do{if(p(this.sets,t))return t;i=t,t=this.getIndex(t+this.dir,e)}while(t!==i);return t},getAdjacentSlides(){const{width:t}=x(this.list),e=-t,i=t*2,s=x(this.slides[this.index]).width,n=this.center?t/2-s/2:0,r=new Set;for(const o of[-1,1]){let a=n+(o>0?s:0),l=0;do{const h=this.slides[this.getIndex(this.index+o+l++*o)];a+=x(h).width*o,r.add(h)}while(this.slides.length>l&&a>e&&a<i)}return Array.from(r)}}};function pl(t){return Math.max(0,...D(t).map(e=>x(e).width))}var Zn={mixins:[Fn],data:{selItem:"!li"},beforeConnect(){this.item=dt(this.selItem,this.$el)},disconnected(){this.item=null},events:[{name:"itemin itemout",self:!0,el(){return this.item},handler(t){let{type:e,detail:{percent:i,duration:s,timing:n,dir:r}}=t;z.read(()=>{const o=this.getCss(Un(e,r,i)),a=this.getCss(Qn(e)?.5:r>0?1:0);z.write(()=>{c(this.$el,o),S.start(this.$el,a,s,n).catch(T)})})}},{name:"transitioncanceled transitionend",self:!0,el(){return this.item},handler(){S.cancel(this.$el)}},{name:"itemtranslatein itemtranslateout",self:!0,el(){return this.item},handler(t){let{type:e,detail:{percent:i,dir:s}}=t;z.read(()=>{const n=this.getCss(Un(e,s,i));z.write(()=>c(this.$el,n))})}}]};function Qn(t){return Xt(t,"in")}function Un(t,e,i){return i/=2,Qn(t)^e<0?i:1-i}var gl={...ss,fade:{show(){return[{opacity:0,zIndex:0},{zIndex:-1}]},percent(t){return 1-c(t,"opacity")},translate(t){return[{opacity:1-t,zIndex:0},{zIndex:-1}]}},scale:{show(){return[{opacity:0,transform:le(1+.5),zIndex:0},{zIndex:-1}]},percent(t){return 1-c(t,"opacity")},translate(t){return[{opacity:1-t,transform:le(1+.5*t),zIndex:0},{zIndex:-1}]}},pull:{show(t){return t<0?[{transform:H(30),zIndex:-1},{transform:H(),zIndex:0}]:[{transform:H(-100),zIndex:0},{transform:H(),zIndex:-1}]},percent(t,e,i){return i<0?1-Pe(e):Pe(t)},translate(t,e){return e<0?[{transform:H(30*t),zIndex:-1},{transform:H(-100*(1-t)),zIndex:0}]:[{transform:H(-t*100),zIndex:0},{transform:H(30*(1-t)),zIndex:-1}]}},push:{show(t){return t<0?[{transform:H(100),zIndex:0},{transform:H(),zIndex:-1}]:[{transform:H(-30),zIndex:-1},{transform:H(),zIndex:0}]},percent(t,e,i){return i>0?1-Pe(e):Pe(t)},translate(t,e){return e<0?[{transform:H(t*100),zIndex:0},{transform:H(-30*(1-t)),zIndex:-1}]:[{transform:H(-30*t),zIndex:-1},{transform:H(100*(1-t)),zIndex:0}]}}},ml={mixins:[nt,Nn,Xn,Gn],props:{ratio:String,minHeight:Number,maxHeight:Number},data:{ratio:"16:9",minHeight:!1,maxHeight:!1,selList:".uk-slideshow-items",attrItem:"uk-slideshow-item",selNav:".uk-slideshow-nav",Animations:gl},update:{read(){if(!this.list)return!1;let[t,e]=this.ratio.split(":").map(Number);return e=e*this.list.offsetWidth/t||0,this.minHeight&&(e=Math.max(this.minHeight,e)),this.maxHeight&&(e=Math.min(this.maxHeight,e)),{height:e-ie(this.list,"height","content-box")}},write(t){let{height:e}=t;e>0&&c(this.list,"minHeight",e)},events:["resize"]},methods:{getAdjacentSlides(){return[1,-1].map(t=>this.slides[this.getIndex(this.index+t)])}}},vl={mixins:[nt,En],props:{group:String,threshold:Number,clsItem:String,clsPlaceholder:String,clsDrag:String,clsDragState:String,clsBase:String,clsNoDrag:String,clsEmpty:String,clsCustom:String,handle:String},data:{group:!1,threshold:5,clsItem:"uk-sortable-item",clsPlaceholder:"uk-sortable-placeholder",clsDrag:"uk-sortable-drag",clsDragState:"uk-drag",clsBase:"uk-sortable",clsNoDrag:"uk-sortable-nodrag",clsEmpty:"uk-sortable-empty",clsCustom:"",handle:!1,pos:{}},created(){for(const t of["init","start","move","end"]){const e=this[t];this[t]=i=>{xt(this.pos,ee(i)),e(i)}}},events:{name:pt,passive:!1,handler:"init"},computed:{target(){return(this.$el.tBodies||[this.$el])[0]},items(){return D(this.target)},isEmpty:{get(){return fe(this.items)},watch(t){W(this.target,this.clsEmpty,t)},immediate:!0},handles:{get(t,e){let{handle:i}=t;return i?M(i,e):this.items},watch(t,e){c(e,{touchAction:"",userSelect:""}),c(t,{touchAction:Wt?"none":"",userSelect:"none"})},immediate:!0}},update:{write(t){if(!this.drag||!P(this.placeholder))return;const{pos:{x:e,y:i},origin:{offsetTop:s,offsetLeft:n},placeholder:r}=this;c(this.drag,{top:i-s,left:e-n});const o=this.getSortable(document.elementFromPoint(e,i));if(!o)return;const{items:a}=o;if(a.some(S.inProgress))return;const l=yl(a,{x:e,y:i});if(a.length&&(!l||l===r))return;const h=this.getSortable(r),u=$l(o.target,l,r,e,i,o===h&&t.moved!==l);u!==!1&&(u&&r===u||(o!==h?(h.remove(r),t.moved=l):delete t.moved,o.insert(r,u),this.touched.add(o)))},events:["move"]},methods:{init(t){const{target:e,button:i,defaultPrevented:s}=t,[n]=this.items.filter(r=>B(e,r));!n||s||i>0||Ii(e)||B(e,"."+this.clsNoDrag)||this.handle&&!B(e,this.handle)||(t.preventDefault(),this.touched=new Set([this]),this.placeholder=n,this.origin={target:e,index:te(n),...this.pos},k(document,Ge,this.move),k(document,Pt,this.end),this.threshold||this.start(t))},start(t){this.drag=xl(this.$container,this.placeholder);const{left:e,top:i}=this.placeholder.getBoundingClientRect();xt(this.origin,{offsetLeft:this.pos.x-e,offsetTop:this.pos.y-i}),b(this.drag,this.clsDrag,this.clsCustom),b(this.placeholder,this.clsPlaceholder),b(this.items,this.clsItem),b(document.documentElement,this.clsDragState),g(this.$el,"start",[this,this.placeholder]),wl(this.pos),this.move(t)},move(t){this.drag?this.$emit("move"):(Math.abs(this.pos.x-this.origin.x)>this.threshold||Math.abs(this.pos.y-this.origin.y)>this.threshold)&&this.start(t)},end(){if(Dt(document,Ge,this.move),Dt(document,Pt,this.end),!this.drag)return;bl();const t=this.getSortable(this.placeholder);this===t?this.origin.index!==te(this.placeholder)&&g(this.$el,"moved",[this,this.placeholder]):(g(t.$el,"added",[t,this.placeholder]),g(this.$el,"removed",[this,this.placeholder])),g(this.$el,"stop",[this,this.placeholder]),ct(this.drag),this.drag=null;for(const{clsPlaceholder:e,clsItem:i}of this.touched)for(const s of this.touched)O(s.items,e,i);this.touched=null,O(document.documentElement,this.clsDragState)},insert(t,e){b(this.items,this.clsItem);const i=()=>e?zi(e,t):j(this.target,t);this.animate(i)},remove(t){!B(t,this.target)||this.animate(()=>ct(t))},getSortable(t){do{const e=this.$getComponent(t,"sortable");if(e&&(e===this||this.group!==!1&&e.group===this.group))return e}while(t=P(t))}}};let tr;function wl(t){let e=Date.now();tr=setInterval(()=>{let{x:i,y:s}=t;s+=document.scrollingElement.scrollTop;const n=(Date.now()-e)*.3;e=Date.now(),Q(document.elementFromPoint(i,t.y),/auto|scroll/).reverse().some(r=>{let{scrollTop:o,scrollHeight:a}=r;const{top:l,bottom:h,height:u}=lt(r);if(l<s&&l+35>s)o-=n;else if(h>s&&h-35<s)o+=n;else return;if(o>0&&o<a-u)return r.scrollTop=o,!0})},15)}function bl(){clearInterval(tr)}function xl(t,e){const i=j(t,e.outerHTML.replace(/(^<)(?:li|tr)|(?:li|tr)(\/>$)/g,"$1div$2"));return c(i,"margin","0","important"),c(i,{boxSizing:"border-box",width:e.offsetWidth,height:e.offsetHeight,padding:c(e,"padding")}),G(i.firstElementChild,G(e.firstElementChild)),i}function yl(t,e){return t[bt(t,i=>He(e,i.getBoundingClientRect()))]}function $l(t,e,i,s,n,r){if(!D(t).length)return;const o=e.getBoundingClientRect();if(!r)return kl(t,i)||n<o.top+o.height/2?e:e.nextElementSibling;const a=i.getBoundingClientRect(),l=er([o.top,o.bottom],[a.top,a.bottom]),h=l?s:n,u=l?"width":"height",d=l?"left":"top",f=l?"right":"bottom",m=a[u]<o[u]?o[u]-a[u]:0;return a[d]<o[d]?m&&h<o[d]+m?!1:e.nextElementSibling:m&&h>o[f]-m?!1:e}function kl(t,e){const i=D(t).length===1;i&&j(t,e);const s=D(t),n=s.some((r,o)=>{const a=r.getBoundingClientRect();return s.slice(o+1).some(l=>{const h=l.getBoundingClientRect();return!er([a.left,a.right],[h.left,h.right])})});return i&&ct(e),n}function er(t,e){return t[1]>e[0]&&e[1]>t[0]}var Sl={mixins:[ae,At,Qs],args:"title",props:{delay:Number,title:String},data:{pos:"top",title:"",delay:0,animation:["uk-animation-scale-up"],duration:100,cls:"uk-active"},beforeConnect(){this._hasTitle=Mt(this.$el,"title"),y(this.$el,"title",""),this.updateAria(!1),Tl(this.$el)},disconnected(){this.hide(),y(this.$el,"title",this._hasTitle?this.title:null)},methods:{show(){this.isToggled(this.tooltip||null)||!this.title||(this._unbind=N(document,"show keydown "+pt,this.hide,!1,t=>t.type===pt&&!B(t.target,this.$el)||t.type==="keydown"&&t.keyCode===27||t.type==="show"&&t.detail[0]!==this&&t.detail[0].$name===this.$name),clearTimeout(this.showTimer),this.showTimer=setTimeout(this._show,this.delay))},async hide(){L(this.$el,"input:focus")||(clearTimeout(this.showTimer),this.isToggled(this.tooltip||null)&&(await this.toggleElement(this.tooltip,!1,!1),ct(this.tooltip),this.tooltip=null,this._unbind()))},_show(){this.tooltip=j(this.container,'<div class="uk-'+this.$options.name+'"> <div class="uk-'+this.$options.name+'-inner">'+this.title+"</div> </div>"),k(this.tooltip,"toggled",(t,e)=>{if(this.updateAria(e),!e)return;this.positionAt(this.tooltip,this.$el);const[i,s]=Cl(this.tooltip,this.$el,this.pos);this.origin=this.axis==="y"?qe(i)+"-"+s:s+"-"+qe(i)}),this.toggleElement(this.tooltip,!0)},updateAria(t){y(this.$el,"aria-expanded",t)}},events:{focus:"show",blur:"hide",[jt+" "+ne](t){$t(t)||this[t.type===jt?"show":"hide"]()},[pt](t){$t(t)&&this.show()}}};function Tl(t){je(t)||y(t,"tabindex","0")}function Cl(t,e,i){let[s,n]=i;const r=A(t),o=A(e),a=[["left","right"],["top","bottom"]];for(const h of a){if(r[h[0]]>=o[h[1]]){s=h[1];break}if(r[h[1]]<=o[h[0]]){s=h[0];break}}const l=p(a[0],s)?a[1]:a[0];return r[l[0]]===o[l[0]]?n=l[0]:r[l[1]]===o[l[1]]?n=l[1]:n="center",[s,n]}var Il={props:{allow:String,clsDragover:String,concurrent:Number,maxSize:Number,method:String,mime:String,msgInvalidMime:String,msgInvalidName:String,msgInvalidSize:String,multiple:Boolean,name:String,params:Object,type:String,url:String},data:{allow:!1,clsDragover:"uk-dragover",concurrent:1,maxSize:0,method:"POST",mime:!1,msgInvalidMime:"Invalid File Type: %s",msgInvalidName:"Invalid File Name: %s",msgInvalidSize:"Invalid File Size: %s Kilobytes Max",multiple:!1,name:"files[]",params:{},type:"",url:"",abort:T,beforeAll:T,beforeSend:T,complete:T,completeAll:T,error:T,fail:T,load:T,loadEnd:T,loadStart:T,progress:T},events:{change(t){!L(t.target,'input[type="file"]')||(t.preventDefault(),t.target.files&&this.upload(t.target.files),t.target.value="")},drop(t){vi(t);const e=t.dataTransfer;!(e!=null&&e.files)||(O(this.$el,this.clsDragover),this.upload(e.files))},dragenter(t){vi(t)},dragover(t){vi(t),b(this.$el,this.clsDragover)},dragleave(t){vi(t),O(this.$el,this.clsDragover)}},methods:{async upload(t){if(t=bi(t),!t.length)return;g(this.$el,"upload",[t]);for(const s of t){if(this.maxSize&&this.maxSize*1e3<s.size){this.fail(this.msgInvalidSize.replace("%s",this.maxSize));return}if(this.allow&&!ir(this.allow,s.name)){this.fail(this.msgInvalidName.replace("%s",this.allow));return}if(this.mime&&!ir(this.mime,s.type)){this.fail(this.msgInvalidMime.replace("%s",this.mime));return}}this.multiple||(t=t.slice(0,1)),this.beforeAll(this,t);const e=Pl(t,this.concurrent),i=async s=>{const n=new FormData;s.forEach(r=>n.append(this.name,r));for(const r in this.params)n.append(r,this.params[r]);try{const r=await ws(this.url,{data:n,method:this.method,responseType:this.type,beforeSend:o=>{const{xhr:a}=o;a.upload&&k(a.upload,"progress",this.progress);for(const l of["loadStart","load","loadEnd","abort"])k(a,l.toLowerCase(),this[l]);return this.beforeSend(o)}});this.complete(r),e.length?await i(e.shift()):this.completeAll(r)}catch(r){this.error(r)}};await i(e.shift())}}};function ir(t,e){return e.match(new RegExp("^"+t.replace(/\//g,"\\/").replace(/\*\*/g,"(\\/[^\\/]+)*").replace(/\*/g,"[^\\/]+").replace(/((?!\\))\?/g,"$1.")+"$","i"))}function Pl(t,e){const i=[];for(let s=0;s<t.length;s+=e)i.push(t.slice(s,s+e));return i}function vi(t){t.preventDefault(),t.stopPropagation()}var Al=Object.freeze({__proto__:null,Countdown:Da,Filter:La,Lightbox:Ua,LightboxPanel:zn,Notification:el,Parallax:hl,Slider:fl,SliderParallax:Zn,Slideshow:ml,SlideshowParallax:Zn,Sortable:vl,Tooltip:Sl,Upload:Il});return yt(Al,(t,e)=>st.component(e,t)),st});
|