UNPKG

uikit

Version:

UIkit is a lightweight and modular front-end framework for developing fast and powerful web interfaces.

3 lines (2 loc) • 134 kB
/*! UIkit 3.6.19 | https://www.getuikit.com | (c) 2014 - 2021 YOOtheme | MIT License */ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define("uikit",e):(t="undefined"!=typeof globalThis?globalThis:t||self).UIkit=e()}(this,function(){"use strict";var t=Object.prototype,n=t.hasOwnProperty;function c(t,e){return n.call(t,e)}var e=/\B([A-Z])/g,d=rt(function(t){return t.replace(e,"-$1").toLowerCase()}),i=/-(\w)/g,f=rt(function(t){return t.replace(i,r)}),p=rt(function(t){return t.length?r(0,t.charAt(0))+t.slice(1):""});function r(t,e){return e?e.toUpperCase():""}var o=String.prototype,s=o.startsWith||function(t){return 0===this.lastIndexOf(t,0)};function g(t,e){return s.call(t,e)}var a=o.endsWith||function(t){return this.substr(-t.length)===t};function u(t,e){return a.call(t,e)}var h=Array.prototype,l=function(t,e){return!!~this.indexOf(t,e)},m=o.includes||l,v=h.includes||l;function w(t,e){return t&&(z(t)?m:v).call(t,e)}var b=h.findIndex||function(t){for(var e=arguments,n=0;n<this.length;n++)if(t.call(e[1],this[n],n,this))return n;return-1};function x(t,e){return b.call(t,e)}var y=Array.isArray;function k(t){return"function"==typeof t}function $(t){return null!==t&&"object"==typeof t}var S=t.toString;function I(t){return"[object Object]"===S.call(t)}function E(t){return $(t)&&t===t.window}function T(t){return 9===A(t)}function C(t){return 1<=A(t)}function _(t){return 1===A(t)}function A(t){return!E(t)&&$(t)&&t.nodeType}function M(t){return"boolean"==typeof t}function z(t){return"string"==typeof t}function N(t){return"number"==typeof t}function B(t){return N(t)||z(t)&&!isNaN(t-parseFloat(t))}function D(t){return!(y(t)?t.length:$(t)&&Object.keys(t).length)}function O(t){return void 0===t}function P(t){return M(t)?t:"true"===t||"1"===t||""===t||"false"!==t&&"0"!==t&&t}function H(t){t=Number(t);return!isNaN(t)&&t}function L(t){return parseFloat(t)||0}var j=Array.from||function(t){return h.slice.call(t)};function F(t){return W(t)[0]}function W(t){return t&&(C(t)?[t]:j(t).filter(C))||[]}function V(t){return E(t)?t:(t=F(t))?(T(t)?t:t.ownerDocument).defaultView:window}function R(t){return t?u(t,"ms")?L(t):1e3*L(t):0}function q(t,n){return t===n||$(t)&&$(n)&&Object.keys(t).length===Object.keys(n).length&&G(t,function(t,e){return t===n[e]})}function U(t,e,n){return t.replace(new RegExp(e+"|"+n,"g"),function(t){return t===e?n:e})}var Y=Object.assign||function(t){for(var e=[],n=arguments.length-1;0<n--;)e[n]=arguments[n+1];t=Object(t);for(var i=0;i<e.length;i++){var r=e[i];if(null!==r)for(var o in r)c(r,o)&&(t[o]=r[o])}return t};function X(t){return t[t.length-1]}function G(t,e){for(var n in t)if(!1===e(t[n],n))return!1;return!0}function K(t,n){return t.slice().sort(function(t,e){t=t[n];void 0===t&&(t=0);e=e[n];return(e=void 0===e?0:e)<t?1:t<e?-1:0})}function J(t,e){var n=new Set;return t.filter(function(t){t=t[e];return!n.has(t)&&(n.add(t)||!0)})}function Z(t,e,n){return void 0===e&&(e=0),void 0===n&&(n=1),Math.min(Math.max(H(t)||0,e),n)}function Q(){}function tt(){for(var i=[],t=arguments.length;t--;)i[t]=arguments[t];return[["bottom","top"],["right","left"]].every(function(t){var e=t[0],n=t[1];return 0<Math.min.apply(Math,i.map(function(t){return t[e]}))-Math.max.apply(Math,i.map(function(t){return t[n]}))})}function et(t,e){return t.x<=e.right&&t.x>=e.left&&t.y<=e.bottom&&t.y>=e.top}var nt={ratio:function(t,e,n){var i="width"===e?"height":"width",r={};return r[i]=t[e]?Math.round(n*t[i]/t[e]):t[i],r[e]=n,r},contain:function(n,i){var r=this;return G(n=Y({},n),function(t,e){return n=n[e]>i[e]?r.ratio(n,e,i[e]):n}),n},cover:function(n,i){var r=this;return G(n=this.contain(n,i),function(t,e){return n=n[e]<i[e]?r.ratio(n,e,i[e]):n}),n}};function it(t,e,n,i){void 0===n&&(n=0),void 0===i&&(i=!1);var r=(e=W(e)).length;return t=B(t)?H(t):"next"===t?n+1:"previous"===t?n-1:e.indexOf(F(t)),i?Z(t,0,r-1):(t%=r)<0?t+r:t}function rt(e){var n=Object.create(null);return function(t){return n[t]||(n[t]=e(t))}}function ot(t,e,n){if($(e))for(var i in e)ot(t,i,e[i]);else{if(O(n))return(t=F(t))&&t.getAttribute(e);W(t).forEach(function(t){null===(n=k(n)?n.call(t,ot(t,e)):n)?at(t,e):t.setAttribute(e,n)})}}function st(t,e){return W(t).some(function(t){return t.hasAttribute(e)})}function at(t,e){t=W(t),e.split(" ").forEach(function(e){return t.forEach(function(t){return t.hasAttribute(e)&&t.removeAttribute(e)})})}function ut(t,e){for(var n=0,i=[e,"data-"+e];n<i.length;n++)if(st(t,i[n]))return ot(t,i[n])}var ct="undefined"!=typeof window,ht=ct&&/msie|trident/i.test(window.navigator.userAgent),lt=ct&&"rtl"===ot(document.documentElement,"dir"),dt=ct&&"ontouchstart"in window,ft=ct&&window.PointerEvent,pt=ct&&(dt||window.DocumentTouch&&document instanceof DocumentTouch||navigator.maxTouchPoints),mt=ft?"pointerdown":dt?"touchstart":"mousedown",gt=ft?"pointermove":dt?"touchmove":"mousemove",vt=ft?"pointerup":dt?"touchend":"mouseup",wt=ft?"pointerenter":dt?"":"mouseenter",bt=ft?"pointerleave":dt?"":"mouseleave",xt=ft?"pointercancel":"touchcancel",yt={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 kt(t){return W(t).some(function(t){return yt[t.tagName.toLowerCase()]})}function $t(t){return W(t).some(function(t){return t.offsetWidth||t.offsetHeight||t.getClientRects().length})}var St="input,select,textarea,button";function It(t){return W(t).some(function(t){return At(t,St)})}function Et(t){return(t=F(t))&&_(t.parentNode)&&t.parentNode}function Tt(t,e){return W(t).filter(function(t){return At(t,e)})}var Ct=ct?Element.prototype:{},_t=Ct.matches||Ct.webkitMatchesSelector||Ct.msMatchesSelector||Q;function At(t,e){return W(t).some(function(t){return _t.call(t,e)})}var Mt=Ct.closest||function(t){var e=this;do{if(At(e,t))return e}while(e=Et(e))};function zt(t,e){return g(e,">")&&(e=e.slice(1)),_(t)?Mt.call(t,e):W(t).map(function(t){return zt(t,e)}).filter(Boolean)}function Nt(t,e){return z(e)?At(t,e)||!!zt(t,e):t===e||(T(e)?e.documentElement:F(e)).contains(F(t))}function Bt(t,e){for(var n=[];t=Et(t);)e&&!At(t,e)||n.push(t);return n}function Dt(t,e){t=(t=F(t))?W(t.children):[];return e?Tt(t,e):t}function Ot(t,e){return e?W(t).indexOf(F(e)):Dt(Et(t)).indexOf(t)}function Pt(t,e){return F(t)||jt(t,Lt(t,e))}function Ht(t,e){var n=W(t);return n.length&&n||Ft(t,Lt(t,e))}function Lt(t,e){return void 0===e&&(e=document),z(t)&&qt(t)||T(e)?e:e.ownerDocument}function jt(t,e){return F(Wt(t,e,"querySelector"))}function Ft(t,e){return W(Wt(t,e,"querySelectorAll"))}function Wt(t,o,e){if(void 0===o&&(o=document),!t||!z(t))return null;t=t.replace(Rt,"$1 *"),qt(t)&&(t=Yt(t).map(function(t,e){var n,i,r=o;return"!"===t[0]&&(i=t.substr(1).trim().split(" "),r=zt(Et(o),i[0]),t=i.slice(1).join(" ").trim()),"-"===t[0]&&(n=t.substr(1).trim().split(" "),r=At(i=(r||o).previousElementSibling,t.substr(1))?i:null,t=n.slice(1).join(" ")),r?function(t){var e=[];for(;t.parentNode;){if(t.id){e.unshift("#"+Gt(t.id));break}var n=t.tagName;"HTML"!==n&&(n+=":nth-child("+(Ot(t)+1)+")"),e.unshift(n),t=t.parentNode}return e.join(" > ")}(r)+" "+t:null}).filter(Boolean).join(","),o=document);try{return o[e](t)}catch(t){return null}}var Vt=/(^|[^\\],)\s*[!>+~-]/,Rt=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,qt=rt(function(t){return t.match(Vt)}),Ut=/.*?[^\\](?:,|$)/g,Yt=rt(function(t){return t.match(Ut).map(function(t){return t.replace(/,$/,"").trim()})});var Xt=ct&&window.CSS&&CSS.escape||function(t){return t.replace(/([^\x7f-\uFFFF\w-])/g,function(t){return"\\"+t})};function Gt(t){return z(t)?Xt.call(null,t):""}function Kt(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n,i,r=ee(t),o=r[0],s=r[1],a=r[2],u=r[3],c=r[4],o=oe(o);return 1<u.length&&(n=u,u=function(t){return y(t.detail)?n.apply(void 0,[t].concat(t.detail)):n(t)}),c&&c.self&&(i=u,u=function(t){if(t.target===t.currentTarget||t.target===t.current)return i.call(null,t)}),a&&(u=function(n,i){var r=this;return function(e){var t=">"===n[0]?Ft(n,e.currentTarget).reverse().filter(function(t){return Nt(e.target,t)})[0]:zt(e.target,n);t&&(e.current=t,i.call(r,e))}}(a,u)),c=ne(c),s.split(" ").forEach(function(e){return o.forEach(function(t){return t.addEventListener(e,u,c)})}),function(){return Jt(o,s,u,c)}}function Jt(t,e,n,i){i=ne(i=void 0===i?!1:i),t=oe(t),e.split(" ").forEach(function(e){return t.forEach(function(t){return t.removeEventListener(e,n,i)})})}function Zt(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=ee(t),i=n[0],r=n[1],o=n[2],s=n[3],a=n[4],u=n[5],c=Kt(i,r,o,function(t){var e=!u||u(t);e&&(c(),s(t,e))},a);return c}function Qt(t,n,i){return oe(t).reduce(function(t,e){return t&&e.dispatchEvent(te(n,!0,!0,i))},!0)}function te(t,e,n,i){var r;return void 0===e&&(e=!0),void 0===n&&(n=!1),z(t)&&((r=document.createEvent("CustomEvent")).initCustomEvent(t,e,n,i),t=r),t}function ee(t){return k(t[2])&&t.splice(2,0,!1),t}function ne(t){return t&&ht&&!M(t)?!!t.capture:t}function ie(t){return t&&"addEventListener"in t}function re(t){return ie(t)?t:F(t)}function oe(t){return y(t)?t.map(re).filter(Boolean):z(t)?Ft(t):ie(t)?[t]:W(t)}function se(t){return"touch"===t.pointerType||!!t.touches}function ae(t){var e=t.touches,n=t.changedTouches,t=e&&e[0]||n&&n[0]||t;return{x:t.clientX,y:t.clientY}}function ue(){var n=this;this.promise=new ce(function(t,e){n.reject=e,n.resolve=t})}var ce=ct&&window.Promise||de,he=2,le=ct&&window.setImmediate||setTimeout;function de(t){this.state=he,this.value=void 0,this.deferred=[];var e=this;try{t(function(t){e.resolve(t)},function(t){e.reject(t)})}catch(t){e.reject(t)}}de.reject=function(n){return new de(function(t,e){e(n)})},de.resolve=function(n){return new de(function(t,e){t(n)})},de.all=function(o){return new de(function(n,t){var i=[],r=0;0===o.length&&n(i);for(var e=0;e<o.length;e+=1)de.resolve(o[e]).then(function(e){return function(t){i[e]=t,(r+=1)===o.length&&n(i)}}(e),t)})},de.race=function(i){return new de(function(t,e){for(var n=0;n<i.length;n+=1)de.resolve(i[n]).then(t,e)})};var fe=de.prototype;function pe(t,e){var n=Y({data:null,method:"GET",headers:{},xhr:new XMLHttpRequest,beforeSend:Q,responseType:""},e);return ce.resolve().then(function(){return n.beforeSend(n)}).then(function(){return o=t,s=n,new ce(function(t,e){var n,i,r=s.xhr;for(n in s)if(n in r)try{r[n]=s[n]}catch(t){}for(i in r.open(s.method.toUpperCase(),o),s.headers)r.setRequestHeader(i,s.headers[i]);Kt(r,"load",function(){0===r.status||200<=r.status&&r.status<300||304===r.status?("json"===s.responseType&&z(r.response)&&(r=Y(function(t){var e,n={};for(e in t)n[e]=t[e];return n}(r),{response:JSON.parse(r.response)})),t(r)):e(Y(Error(r.statusText),{xhr:r,status:r.status}))}),Kt(r,"error",function(){return e(Y(Error("Network Error"),{xhr:r}))}),Kt(r,"timeout",function(){return e(Y(Error("Network Timeout"),{xhr:r}))}),r.send(s.data)});var o,s})}function me(i,r,o){return new ce(function(t,e){var n=new Image;n.onerror=function(t){return e(t)},n.onload=function(){return t(n)},o&&(n.sizes=o),r&&(n.srcset=r),n.src=i})}function ge(t){return(t=Ae(t)).innerHTML="",t}function ve(t,e){return t=Ae(t),O(e)?t.innerHTML:we(t.hasChildNodes()?ge(t):t,e)}function we(e,t){return e=Ae(e),ye(t,function(t){return e.appendChild(t)})}function be(e,t){return e=Ae(e),ye(t,function(t){return e.parentNode.insertBefore(t,e)})}function xe(e,t){return e=Ae(e),ye(t,function(t){return e.nextSibling?be(e.nextSibling,t):we(e.parentNode,t)})}function ye(t,e){return(t=z(t)?Ce(t):t)?"length"in t?W(t).map(e):e(t):null}function ke(t){W(t).forEach(function(t){return t.parentNode&&t.parentNode.removeChild(t)})}function $e(t,e){for(e=F(be(t,e));e.firstChild;)e=e.firstChild;return we(e,t),e}function Se(t,e){return W(W(t).map(function(t){return t.hasChildNodes?$e(W(t.childNodes),e):we(t,e)}))}function Ie(t){W(t).map(Et).filter(function(t,e,n){return n.indexOf(t)===e}).forEach(function(t){be(t,t.childNodes),ke(t)})}fe.resolve=function(t){var e=this;if(e.state===he){if(t===e)throw new TypeError("Promise settled with itself.");var n=!1;try{var i=t&&t.then;if(null!==t&&$(t)&&k(i))return void i.call(t,function(t){n||e.resolve(t),n=!0},function(t){n||e.reject(t),n=!0})}catch(t){return void(n||e.reject(t))}e.state=0,e.value=t,e.notify()}},fe.reject=function(t){var e=this;if(e.state===he){if(t===e)throw new TypeError("Promise settled with itself.");e.state=1,e.value=t,e.notify()}},fe.notify=function(){var o=this;le(function(){if(o.state!==he)for(;o.deferred.length;){var t=o.deferred.shift(),e=t[0],n=t[1],i=t[2],r=t[3];try{0===o.state?k(e)?i(e.call(void 0,o.value)):i(o.value):1===o.state&&(k(n)?i(n.call(void 0,o.value)):r(o.value))}catch(t){r(t)}}})},fe.then=function(n,i){var r=this;return new de(function(t,e){r.deferred.push([n,i,t,e]),r.notify()})},fe.catch=function(t){return this.then(void 0,t)};var Ee=/^\s*<(\w+|!)[^>]*>/,Te=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function Ce(t){var e=Te.exec(t);if(e)return document.createElement(e[1]);e=document.createElement("div");return Ee.test(t)?e.insertAdjacentHTML("beforeend",t.trim()):e.textContent=t,1<e.childNodes.length?W(e.childNodes):e.firstChild}function _e(t,e){if(_(t))for(e(t),t=t.firstElementChild;t;){var n=t.nextElementSibling;_e(t,e),t=n}}function Ae(t,e){return z(t)?ze(t)?F(Ce(t)):jt(t,e):F(t)}function Me(t,e){return z(t)?ze(t)?W(Ce(t)):Ft(t,e):W(t)}function ze(t){return"<"===t[0]||t.match(/^\s*</)}function Ne(t){for(var e=[],n=arguments.length-1;0<n--;)e[n]=arguments[n+1];Le(t,e,"add")}function Be(t){for(var e=[],n=arguments.length-1;0<n--;)e[n]=arguments[n+1];Le(t,e,"remove")}function De(t,e){ot(t,"class",function(t){return(t||"").replace(new RegExp("\\b"+e+"\\b","g"),"")})}function Oe(t){for(var e=[],n=arguments.length-1;0<n--;)e[n]=arguments[n+1];e[0]&&Be(t,e[0]),e[1]&&Ne(t,e[1])}function Pe(t,e){e=je(e)[0];for(var n=W(t),i=0;i<n.length;i++)if(e&&n[i].classList.contains(e))return!0;return!1}function He(t,e,n){e=je(e);for(var i=W(t),r=0;r<i.length;r++)for(var o=i[r].classList,s=0;s<e.length;s++)O(n)?o.toggle(e[s]):Fe.Force?o.toggle(e[s],!!n):o[n?"add":"remove"](e[s])}function Le(t,n,i){var r;n=n.reduce(function(t,e){return t.concat(je(e))},[]);for(var o=W(t),e=0;e<o.length;e++)!function(e){Fe.Multiple?(r=o[e].classList)[i].apply(r,n):n.forEach(function(t){return o[e].classList[i](t)})}(e)}function je(t){return(~(t=String(t)).indexOf(" ")?t.split(" "):[t]).filter(Boolean)}var Fe={get Multiple(){return this.get("Multiple")},get Force(){return this.get("Force")},get:function(t){var e=document.createElement("_").classList;return e.add("a","b"),e.toggle("c",!1),(Fe={Multiple:e.contains("b"),Force:!e.contains("c")})[t]}},We={"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 Ve(t,e,r,o){return void 0===o&&(o=""),W(t).map(function(n){if(z(e)){if(e=Xe(e),O(r))return qe(n,e);r||N(r)?n.style.setProperty(e,B(r)&&!We[e]?r+"px":r,o):n.style.removeProperty(e)}else{if(y(e)){var i=Re(n);return e.reduce(function(t,e){return t[e]=i[Xe(e)],t},{})}$(e)&&(o=r,G(e,function(t,e){return Ve(n,e,t,o)}))}return n})[0]}function Re(t,e){return V(t).getComputedStyle(t,e)}function qe(t,e,n){return Re(t,n)[e]}var Ue=rt(function(t){var e=we(document.documentElement,document.createElement("div"));return Ne(e,"uk-"+t),t=qe(e,"content",":before").replace(/^["'](.*)["']$/,"$1"),ke(e),t});function Ye(t){return ht?Ue(t):Re(document.documentElement).getPropertyValue("--uk-"+t)}var Xe=rt(function(t){t=d(t);var e=document.documentElement.style;if(t in e)return t;var n,i=Ge.length;for(;i--;)if((n="-"+Ge[i]+"-"+t)in e)return n}),Ge=["webkit","moz","ms"];function Ke(t,s,a,u){return void 0===a&&(a=400),void 0===u&&(u="linear"),ce.all(W(t).map(function(o){return new ce(function(e,n){for(var t in s){var i=Ve(o,t);""===i&&Ve(o,t,i)}var r=setTimeout(function(){return Qt(o,"transitionend")},a);Zt(o,"transitionend transitioncanceled",function(t){t=t.type;clearTimeout(r),Be(o,"uk-transition"),Ve(o,{transitionProperty:"",transitionDuration:"",transitionTimingFunction:""}),"transitioncanceled"===t?n():e(o)},{self:!0}),Ne(o,"uk-transition"),Ve(o,Y({transitionProperty:Object.keys(s).map(Xe).join(","),transitionDuration:a+"ms",transitionTimingFunction:u},s))})}))}var Je={start:Ke,stop:function(t){return Qt(t,"transitionend"),ce.resolve()},cancel:function(t){Qt(t,"transitioncanceled")},inProgress:function(t){return Pe(t,"uk-transition")}},Ze="uk-animation-";function Qe(t,o,s,a,u){return void 0===s&&(s=200),ce.all(W(t).map(function(r){return new ce(function(e,n){Qt(r,"animationcanceled");var i=setTimeout(function(){return Qt(r,"animationend")},s);Zt(r,"animationend animationcanceled",function(t){t=t.type;clearTimeout(i),"animationcanceled"===t?n():e(r),Ve(r,"animationDuration",""),De(r,Ze+"\\S*")},{self:!0}),Ve(r,"animationDuration",s+"ms"),Ne(r,o,Ze+(u?"leave":"enter")),g(o,Ze)&&(a&&Ne(r,"uk-transform-origin-"+a),u&&Ne(r,Ze+"reverse"))})}))}var tn=new RegExp(Ze+"(enter|leave)"),en={in:Qe,out:function(t,e,n,i){return Qe(t,e,n,i,!0)},inProgress:function(t){return tn.test(ot(t,"class"))},cancel:function(t){Qt(t,"animationcanceled")}},nn={width:["left","right"],height:["top","bottom"]};function rn(t){t=_(t)?F(t).getBoundingClientRect():{height:un(t),width:cn(t),top:0,left:0};return{height:t.height,width:t.width,top:t.top,left:t.left,bottom:t.top+t.height,right:t.left+t.width}}function on(n,i){var t,r=rn(n),e=V(n),o={height:e.pageYOffset,width:e.pageXOffset};for(t in nn)for(var s in nn[t])r[nn[t][s]]+=o[t];if(!i)return r;var a=Ve(n,"position");G(Ve(n,["left","top"]),function(t,e){return Ve(n,e,i[e]-r[e]+L("absolute"===a&&"auto"===t?sn(n)[e]:t))})}function sn(t){for(var e=on(t),n=e.top,i=e.left,r=F(t),e=r.ownerDocument,o=e.body,s=e.documentElement,a=r.offsetParent||s;a&&(a===o||a===s)&&"static"===Ve(a,"position");)a=a.parentNode;return _(a)&&(n-=(r=on(a)).top+L(Ve(a,"borderTopWidth")),i-=r.left+L(Ve(a,"borderLeftWidth"))),{top:n-L(Ve(t,"marginTop")),left:i-L(Ve(t,"marginLeft"))}}function an(t){var e=[0,0];t=F(t);do{if(e[0]+=t.offsetTop,e[1]+=t.offsetLeft,"fixed"===Ve(t,"position")){var n=V(t);return e[0]+=n.pageYOffset,e[1]+=n.pageXOffset,e}}while(t=t.offsetParent);return e}var un=hn("height"),cn=hn("width");function hn(i){var r=p(i);return function(t,e){if(O(e)){if(E(t))return t["inner"+r];if(T(t)){var n=t.documentElement;return Math.max(n["offset"+r],n["scroll"+r])}return(e="auto"===(e=Ve(t=F(t),i))?t["offset"+r]:L(e)||0)-ln(t,i)}return Ve(t,i,e||0===e?+e+ln(t,i)+"px":"")}}function ln(n,t,e){return void 0===e&&(e="border-box"),Ve(n,"boxSizing")===e?nn[t].map(p).reduce(function(t,e){return t+L(Ve(n,"padding"+e))+L(Ve(n,"border"+e+"Width"))},0):0}function dn(t){for(var e in nn)for(var n in nn[e])if(nn[e][n]===t)return nn[e][1-n];return t}function fn(t,e,n){return void 0===e&&(e="width"),void 0===n&&(n=window),B(t)?+t:u(t,"vh")?pn(un(V(n)),t):u(t,"vw")?pn(cn(V(n)),t):u(t,"%")?pn(rn(n)[e],t):L(t)}function pn(t,e){return t*L(e)/100}var mn={reads:[],writes:[],read:function(t){return this.reads.push(t),wn(),t},write:function(t){return this.writes.push(t),wn(),t},clear:function(t){xn(this.reads,t),xn(this.writes,t)},flush:gn};function gn(t){void 0===t&&(t=1),bn(mn.reads),bn(mn.writes.splice(0)),mn.scheduled=!1,(mn.reads.length||mn.writes.length)&&wn(t+1)}var vn=4;function wn(t){mn.scheduled||(mn.scheduled=!0,t&&t<vn?ce.resolve().then(function(){return gn(t)}):requestAnimationFrame(function(){return gn()}))}function bn(t){for(var e;e=t.shift();)try{e()}catch(t){console.error(t)}}function xn(t,e){e=t.indexOf(e);return~e&&t.splice(e,1)}function yn(){}yn.prototype={positions:[],init:function(){var e,t=this;this.positions=[],this.unbind=Kt(document,"mousemove",function(t){return e=ae(t)}),this.interval=setInterval(function(){e&&(t.positions.push(e),5<t.positions.length&&t.positions.shift())},50)},cancel:function(){this.unbind&&this.unbind(),this.interval&&clearInterval(this.interval)},movesTo:function(t){if(this.positions.length<2)return!1;var e=t.getBoundingClientRect(),n=e.left,i=e.right,r=e.top,o=e.bottom,s=this.positions[0],t=X(this.positions),a=[s,t];return!et(t,e)&&[[{x:n,y:r},{x:i,y:o}],[{x:n,y:o},{x:i,y:r}]].some(function(t){t=function(t,e){var n=t[0],i=n.x,r=n.y,o=t[1],s=o.x,a=o.y,u=e[0],n=u.x,t=u.y,o=e[1],u=o.x,e=o.y,o=(e-t)*(s-i)-(u-n)*(a-r);if(0==o)return!1;o=((u-n)*(r-t)-(e-t)*(i-n))/o;if(o<0)return!1;return{x:i+o*(s-i),y:r+o*(a-r)}}(a,t);return t&&et(t,e)})}};var kn={};function $n(t,e,n){return kn.computed(k(t)?t.call(n,n):t,k(e)?e.call(n,n):e)}function Sn(t,e){return t=t&&!y(t)?[t]:t,e?t?t.concat(e):y(e)?e:[e]:t}function In(e,n,i){var t,r,o={};if((n=k(n)?n.options:n).extends&&(e=In(e,n.extends,i)),n.mixins)for(var s=0,a=n.mixins.length;s<a;s++)e=In(e,n.mixins[s],i);for(t in e)u(t);for(r in n)c(e,r)||u(r);function u(t){o[t]=(kn[t]||function(t,e){return O(e)?t:e})(e[t],n[t],i)}return o}function En(t,e){var n;void 0===e&&(e=[]);try{return t?g(t,"{")?JSON.parse(t):e.length&&!w(t,":")?((n={})[e[0]]=t,n):t.split(";").reduce(function(t,e){var n=e.split(/:(.*)/),e=n[0],n=n[1];return e&&!O(n)&&(t[e.trim()]=n.trim()),t},{}):{}}catch(t){return{}}}function Tn(t){if(Mn(t)&&Bn(t,{func:"playVideo",method:"play"}),An(t))try{t.play().catch(Q)}catch(t){}}function Cn(t){Mn(t)&&Bn(t,{func:"pauseVideo",method:"pause"}),An(t)&&t.pause()}function _n(t){Mn(t)&&Bn(t,{func:"mute",method:"setVolume",value:0}),An(t)&&(t.muted=!0)}function An(t){return t&&"VIDEO"===t.tagName}function Mn(t){return t&&"IFRAME"===t.tagName&&(zn(t)||Nn(t))}function zn(t){return!!t.src.match(/\/\/.*?youtube(-nocookie)?\.[a-z]+\/(watch\?v=[^&\s]+|embed)|youtu\.be\/.*/)}function Nn(t){return!!t.src.match(/vimeo\.com\/video\/.*/)}function Bn(t,e){(function(e){if(e[On])return e[On];var n,i=zn(e),r=Nn(e),o=++Pn;return e[On]=new ce(function(t){i&&Zt(e,"load",function(){function t(){return Dn(e,{event:"listening",id:o})}n=setInterval(t,100),t()}),Zt(window,"message",t,!1,function(t){var e=t.data;try{return(e=JSON.parse(e))&&(i&&e.id===o&&"onReady"===e.event||r&&Number(e.player_id)===o)}catch(t){}}),e.src=e.src+(w(e.src,"?")?"&":"?")+(i?"enablejsapi=1":"api=1&player_id="+o)}).then(function(){return clearInterval(n)})})(t).then(function(){return Dn(t,e)})}function Dn(t,e){try{t.contentWindow.postMessage(JSON.stringify(Y({event:"command"},e)),"*")}catch(t){}}kn.events=kn.created=kn.beforeConnect=kn.connected=kn.beforeDisconnect=kn.disconnected=kn.destroy=Sn,kn.args=function(t,e){return!1!==e&&Sn(e||t)},kn.update=function(t,e){return K(Sn(t,k(e)?{read:e}:e),"order")},kn.props=function(t,e){return y(e)&&(e=e.reduce(function(t,e){return t[e]=String,t},{})),kn.methods(t,e)},kn.computed=kn.methods=function(t,e){return e?t?Y({},t,e):e:t},kn.data=function(e,n,t){return t?$n(e,n,t):n?e?function(t){return $n(e,n,t)}:n:e};var On="_ukPlayer",Pn=0;function Hn(t,r,o){return void 0===r&&(r=0),void 0===o&&(o=0),!!$t(t)&&tt.apply(void 0,Wn(t).map(function(t){var e=on(Vn(t)),n=e.top,i=e.left,t=e.bottom,e=e.right;return{top:n-r,left:i-o,bottom:t+r,right:e+o}}).concat(on(t)))}function Ln(t,e){(t=(E(t)||T(t)?qn:F)(t)).scrollTop=e}function jn(s,t){var a=(t=void 0===t?{}:t).offset;if(void 0===a&&(a=0),$t(s)){var u=Wn(s),c=0;return u.reduce(function(t,e,n){var i=e.scrollTop,r=e.scrollHeight-Rn(e),o=Math.ceil(on(u[n-1]||s).top-on(Vn(e)).top-a+c+i);return r<o?(c=o-r,o=r):c=0,function(){return s=e,a=o-i,new ce(function(n){var t,i=s.scrollTop,r=(t=Math.abs(a),40*Math.pow(t,.375)),o=Date.now();!function t(){var e,e=(e=Z((Date.now()-o)/r),.5*(1-Math.cos(Math.PI*e)));Ln(s,i+a*e),1!=e?requestAnimationFrame(t):n()}()}).then(t);var s,a}},function(){return ce.resolve()})()}}function Fn(t,e){if(void 0===e&&(e=0),!$t(t))return 0;var n=Wn(t,/auto|scroll/,!0)[0],i=n.scrollHeight,r=n.scrollTop,o=Rn(n),s=an(t)[0]-r-an(n)[0],n=Math.min(o,s+r);return Z(-1*(s-n)/Math.min(t.offsetHeight+e+n,i-(s+r),i-o))}function Wn(t,e,n){void 0===e&&(e=/auto|scroll|hidden/),void 0===n&&(n=!1);var i=qn(t),r=Bt(t).reverse(),t=x(r=r.slice(r.indexOf(i)+1),function(t){return"fixed"===Ve(t,"position")});return~t&&(r=r.slice(t)),[i].concat(r.filter(function(t){return e.test(Ve(t,"overflow"))&&(!n||t.scrollHeight>Rn(t))})).reverse()}function Vn(t){return t===qn(t)?window:t}function Rn(t){return(t===qn(t)?document.documentElement:t).clientHeight}function qn(t){t=V(t).document;return t.scrollingElement||t.documentElement}var Un={width:["x","left","right"],height:["y","top","bottom"]};function Yn(t,e,h,l,d,n,i,r){h=Gn(h),l=Gn(l);var f={element:h,target:l};if(!t||!e)return f;var o,p=on(t),m=on(e),g=m;return Xn(g,h,p,-1),Xn(g,l,m,1),d=Kn(d,p.width,p.height),n=Kn(n,m.width,m.height),d.x+=n.x,d.y+=n.y,g.left+=d.x,g.top+=d.y,i&&(o=Wn(t).map(Vn),r&&w(o,r)&&o.unshift(r),o=o.map(function(t){return on(t)}),G(Un,function(t,s){var a=t[0],u=t[1],c=t[2];!0!==i&&!w(i,a)||o.some(function(n){var t=h[a]===u?-p[s]:h[a]===c?p[s]:0,e=l[a]===u?m[s]:l[a]===c?-m[s]:0;if(g[u]<n[u]||g[u]+p[s]>n[c]){var i=p[s]/2,r="center"===l[a]?-m[s]/2:0;return"center"===h[a]&&(o(i,r)||o(-i,-r))||o(t,e)}function o(e,t){t=L((g[u]+e+t-2*d[a]).toFixed(4));if(t>=n[u]&&t+p[s]<=n[c])return g[u]=t,["element","target"].forEach(function(t){f[t][a]=e?f[t][a]===Un[s][1]?Un[s][2]:Un[s][1]:f[t][a]}),!0}})})),on(t,g),f}function Xn(r,o,s,a){G(Un,function(t,e){var n=t[0],i=t[1],t=t[2];o[n]===t?r[i]+=s[e]*a:"center"===o[n]&&(r[i]+=s[e]*a/2)})}function Gn(t){var e=/left|center|right/,n=/top|center|bottom/;return 1===(t=(t||"").split(" ")).length&&(t=e.test(t[0])?t.concat("center"):n.test(t[0])?["center"].concat(t):["center","center"]),{x:e.test(t[0])?t[0]:"center",y:n.test(t[1])?t[1]:"center"}}function Kn(t,e,n){var i=(t||"").split(" "),t=i[0],i=i[1];return{x:t?L(t)*(u(t,"%")?e/100:1):0,y:i?L(i)*(u(i,"%")?n/100:1):0}}var Jn=Object.freeze({__proto__:null,ajax:pe,getImage:me,transition:Ke,Transition:Je,animate:Qe,Animation:en,attr:ot,hasAttr:st,removeAttr:at,data:ut,addClass:Ne,removeClass:Be,removeClasses:De,replaceClass:Oe,hasClass:Pe,toggleClass:He,dimensions:rn,offset:on,position:sn,offsetPosition:an,height:un,width:cn,boxModelAdjust:ln,flipPosition:dn,toPx:fn,ready:function(t){var e;"loading"===document.readyState?e=Kt(document,"DOMContentLoaded",function(){e(),t()}):t()},empty:ge,html:ve,prepend:function(e,t){return(e=Ae(e)).hasChildNodes()?ye(t,function(t){return e.insertBefore(t,e.firstChild)}):we(e,t)},append:we,before:be,after:xe,remove:ke,wrapAll:$e,wrapInner:Se,unwrap:Ie,fragment:Ce,apply:_e,$:Ae,$$:Me,inBrowser:ct,isIE:ht,isRtl:lt,hasTouch:pt,pointerDown:mt,pointerMove:gt,pointerUp:vt,pointerEnter:wt,pointerLeave:bt,pointerCancel:xt,on:Kt,off:Jt,once:Zt,trigger:Qt,createEvent:te,toEventTargets:oe,isTouch:se,getEventPos:ae,fastdom:mn,isVoidElement:kt,isVisible:$t,selInput:St,isInput:It,parent:Et,filter:Tt,matches:At,closest:zt,within:Nt,parents:Bt,children:Dt,index:Ot,hasOwn:c,hyphenate:d,camelize:f,ucfirst:p,startsWith:g,endsWith:u,includes:w,findIndex:x,isArray:y,isFunction:k,isObject:$,isPlainObject:I,isWindow:E,isDocument:T,isNode:C,isElement:_,isBoolean:M,isString:z,isNumber:N,isNumeric:B,isEmpty:D,isUndefined:O,toBoolean:P,toNumber:H,toFloat:L,toArray:j,toNode:F,toNodes:W,toWindow:V,toMs:R,isEqual:q,swap:U,assign:Y,last:X,each:G,sortBy:K,uniqueBy:J,clamp:Z,noop:Q,intersectRect:tt,pointInRect:et,Dimensions:nt,getIndex:it,memoize:rt,MouseTracker:yn,mergeOptions:In,parseOptions:En,play:Tn,pause:Cn,mute:_n,positionAt:Yn,Promise:ce,Deferred:ue,query:Pt,queryAll:Ht,find:jt,findAll:Ft,escape:Gt,css:Ve,getCssVar:Ye,propName:Xe,isInView:Hn,scrollTop:Ln,scrollIntoView:jn,scrolledOver:Fn,scrollParents:Wn,getViewport:Vn,getViewportClientHeight:Rn});function Zn(t){this._init(t)}var Qn,ti,ei,ni,ii,ri,oi,si,ai,ui=rt(function(t){return!(!g(t,"uk-")&&!g(t,"data-uk-"))&&f(t.replace("data-uk-","").replace("uk-",""))});function ci(t,e){if(t)for(var n in t)t[n]._connected&&t[n]._callUpdate(e)}function hi(t,e){var n={},i=t.args;void 0===i&&(i=[]);var r=t.props;void 0===r&&(r={});var o,s=t.el;if(!r)return n;for(o in r){var a=d(o),u=ut(s,a);O(u)||(u=r[o]===Boolean&&""===u||di(r[o],u),("target"!==a||u&&!g(u,"_"))&&(n[o]=u))}var c,h=En(ut(s,e),i);for(c in h){var l=f(c);void 0!==r[l]&&(n[l]=di(r[l],h[c]))}return n}function li(e,n,i){var t=(n=!I(n)?{name:i,handler:n}:n).name,r=n.el,o=n.handler,s=n.capture,a=n.passive,u=n.delegate,c=n.filter,h=n.self,r=k(r)?r.call(e):r||e.$el;y(r)?r.forEach(function(t){return li(e,Y({},n,{el:t}),i)}):!r||c&&!c.call(e)||e._events.push(Kt(r,t,u?z(u)?u:u.call(e):null,z(o)?e[o]:o.bind(e),{passive:a,capture:s,self:h}))}function di(t,e){return t===Boolean?P(e):t===Number?H(e):"list"===t?y(n=e)?n:z(n)?n.split(/,(?![^(]*\))/).map(function(t){return B(t)?H(t):P(t.trim())}):[n]:t?t(e):e;var n}Zn.util=Jn,Zn.data="__uikit__",Zn.prefix="uk-",Zn.options={},Zn.version="3.6.19",ei=(Qn=Zn).data,Qn.use=function(t){if(!t.installed)return t.call(null,this),t.installed=!0,this},Qn.mixin=function(t,e){(e=(z(e)?Qn.component(e):e)||this).options=In(e.options,t)},Qn.extend=function(t){t=t||{};function e(t){this._init(t)}return((e.prototype=Object.create(this.prototype)).constructor=e).options=In(this.options,t),e.super=this,e.extend=this.extend,e},Qn.update=function(t,e){Bt(t=t?F(t):document.body).reverse().forEach(function(t){return ci(t[ei],e)}),_e(t,function(t){return ci(t[ei],e)})},Object.defineProperty(Qn,"container",{get:function(){return ti||document.body},set:function(t){ti=Ae(t)}}),(ni=Zn).prototype._callHook=function(t){var e=this,t=this.$options[t];t&&t.forEach(function(t){return t.call(e)})},ni.prototype._callConnected=function(){this._connected||(this._data={},this._computeds={},this._initProps(),this._callHook("beforeConnect"),this._connected=!0,this._initEvents(),this._initObservers(),this._callHook("connected"),this._callUpdate())},ni.prototype._callDisconnected=function(){this._connected&&(this._callHook("beforeDisconnect"),this._disconnectObservers(),this._unbindEvents(),this._callHook("disconnected"),this._connected=!1,delete this._watch)},ni.prototype._callUpdate=function(t){var e=this;void 0===t&&(t="update"),this._connected&&("update"!==t&&"resize"!==t||this._callWatches(),this.$options.update&&(this._updates||(this._updates=new Set,mn.read(function(){(function(i){for(var r=this,o=this.$options.update,t=0;t<o.length;t++)!function(t){var t=(n=o[t]).read,e=n.write,n=n.events;(i.has("update")||n&&n.some(function(t){return i.has(t)}))&&(n=void 0,t&&(n=t.call(r,r._data,i))&&I(n)&&Y(r._data,n),e&&!1!==n&&mn.write(function(){return e.call(r,r._data,i)}))}(t)}).call(e,e._updates),delete e._updates})),this._updates.add(t.type||t)))},ni.prototype._callWatches=function(){var a,u=this;this._watch||(a=!c(this,"_watch"),this._watch=mn.read(function(){var t,e=u.$options.computed,n=u._computeds;for(t in e){var i=c(n,t),r=n[t];delete n[t];var o=e[t],s=o.watch,o=o.immediate;s&&(a&&o||i&&!q(r,u[t]))&&s.call(u,u[t],r)}u._watch=null}))},ri=0,(ii=Zn).prototype._init=function(t){(t=t||{}).data=function(t,e){var n=t.data,i=e.args,r=e.props;void 0===r&&(r={});if(n=y(n)?D(i)?void 0:n.slice(0,i.length).reduce(function(t,e,n){return I(e)?Y(t,e):t[i[n]]=e,t},{}):n)for(var o in n)O(n[o])?delete n[o]:n[o]=r[o]?di(r[o],n[o]):n[o];return n}(t,this.constructor.options),this.$options=In(this.constructor.options,t,this),this.$el=null,this.$props={},this._uid=ri++,this._initData(),this._initMethods(),this._initComputeds(),this._callHook("created"),t.el&&this.$mount(t.el)},ii.prototype._initData=function(){var t,e=this.$options.data;for(t in e=void 0===e?{}:e)this.$props[t]=this[t]=e[t]},ii.prototype._initMethods=function(){var t=this.$options.methods;if(t)for(var e in t)this[e]=t[e].bind(this)},ii.prototype._initComputeds=function(){var t=this.$options.computed;if(this._computeds={},t)for(var e in t)!function(i,r,o){Object.defineProperty(i,r,{enumerable:!0,get:function(){var t=i._computeds,e=i.$props,n=i.$el;return c(t,r)||(t[r]=(o.get||o).call(i,e,n)),t[r]},set:function(t){var e=i._computeds;e[r]=o.set?o.set.call(i,t):t,O(e[r])&&delete e[r]}})}(this,e,t[e])},ii.prototype._initProps=function(t){for(var e in t=t||hi(this.$options,this.$name))O(t[e])||(this.$props[e]=t[e]);var n=[this.$options.computed,this.$options.methods];for(e in this.$props)e in t&&function(t,e){return t.every(function(t){return!t||!c(t,e)})}(n,e)&&(this[e]=this.$props[e])},ii.prototype._initEvents=function(){var n=this;this._events=[];var t=this.$options.events;t&&t.forEach(function(t){if(c(t,"handler"))li(n,t);else for(var e in t)li(n,t[e],e)})},ii.prototype._unbindEvents=function(){this._events.forEach(function(t){return t()}),delete this._events},ii.prototype._initObservers=function(){var t,e,n;this._observers=[(e=(t=this).$options.el,(n=new MutationObserver(function(){return t.$emit()})).observe(e,{childList:!0,subtree:!0}),n),function(e){var i=e.$name,r=e.$options,o=e.$props,t=r.attrs,n=r.props,s=r.el;if(!n||!1===t)return;var a=y(t)?t:Object.keys(n),t=a.map(function(t){return d(t)}).concat(i),n=new MutationObserver(function(t){var n=hi(r,i);t.some(function(t){var e=t.attributeName,t=e.replace("data-","");return(t===i?a:[f(t),f(e)]).some(function(t){return!O(n[t])&&n[t]!==o[t]})})&&e.$reset()});return n.observe(s,{attributes:!0,attributeFilter:t.concat(t.map(function(t){return"data-"+t}))}),n}(this)]},ii.prototype._disconnectObservers=function(){this._observers.forEach(function(t){return t&&t.disconnect()})},si=(oi=Zn).data,ai={},oi.component=function(s,t){var e=d(s);if(s=f(e),!t)return I(ai[s])&&(ai[s]=oi.extend(ai[s])),ai[s];oi[s]=function(t,n){for(var e=arguments.length,i=Array(e);e--;)i[e]=arguments[e];var r=oi.component(s);return r.options.functional?new r({data:I(t)?t:[].concat(i)}):t?Me(t).map(o)[0]:o(t);function o(t){var e=oi.getComponent(t,s);if(e){if(!n)return e;e.$destroy()}return new r({el:t,data:n})}};var n=I(t)?Y({},t):t.options;return n.name=s,n.install&&n.install(oi,n,s),oi._initialized&&!n.functional&&mn.read(function(){return oi[s]("[uk-"+e+"],[data-uk-"+e+"]")}),ai[s]=I(t)?n:t},oi.getComponents=function(t){return t&&t[si]||{}},oi.getComponent=function(t,e){return oi.getComponents(t)[e]},oi.connect=function(t){if(t[si])for(var e in t[si])t[si][e]._callConnected();for(var n=0;n<t.attributes.length;n++){var i=ui(t.attributes[n].name);i&&i in ai&&oi[i](t)}},oi.disconnect=function(t){for(var e in t[si])t[si][e]._callDisconnected()},function(i){var r=i.data;i.prototype.$create=function(t,e,n){return i[t](e,n)},i.prototype.$mount=function(t){var e=this.$options.name;t[r]||(t[r]={}),t[r][e]||((t[r][e]=this).$el=this.$options.el=this.$options.el||t,Nt(t,document)&&this._callConnected())},i.prototype.$reset=function(){this._callDisconnected(),this._callConnected()},i.prototype.$destroy=function(t){void 0===t&&(t=!1);var e=this.$options,n=e.el,e=e.name;n&&this._callDisconnected(),this._callHook("destroy"),n&&n[r]&&(delete n[r][e],D(n[r])||delete n[r],t&&ke(this.$el))},i.prototype.$emit=function(t){this._callUpdate(t)},i.prototype.$update=function(t,e){void 0===t&&(t=this.$el),i.update(t,e)},i.prototype.$getComponent=i.getComponent;var t=rt(function(t){return i.prefix+d(t)});Object.defineProperties(i.prototype,{$container:Object.getOwnPropertyDescriptor(i,"container"),$name:{get:function(){return t(this.$options.name)}}})}(Zn);var fi={connected:function(){Pe(this.$el,this.$name)||Ne(this.$el,this.$name)}},pi={props:{cls:Boolean,animation:"list",duration:Number,origin:String,transition:String},data:{cls:!1,animation:[!1],duration:200,origin:!1,transition:"linear",clsEnter:"uk-togglabe-enter",clsLeave:"uk-togglabe-leave",initProps:{overflow:"",height:"",paddingTop:"",paddingBottom:"",marginTop:"",marginBottom:""},hideProps:{overflow:"hidden",height:0,paddingTop:0,paddingBottom:0,marginTop:0,marginBottom:0}},computed:{hasAnimation:function(t){return!!t.animation[0]},hasTransition:function(t){t=t.animation;return this.hasAnimation&&!0===t[0]}},methods:{toggleElement:function(e,s,a){var u=this;return new ce(function(t){return ce.all(W(e).map(function(t){var e=M(s)?s:!u.isToggled(t);if(!Qt(t,"before"+(e?"show":"hide"),[u]))return ce.reject();var o,n=(k(a)?a:!1!==a&&u.hasAnimation?u.hasTransition?mi(u):(o=u,function(t,e){en.cancel(t);var n=o.animation,i=o.duration,r=o._toggle;return e?(r(t,!0),en.in(t,n[0],i,o.origin)):en.out(t,n[1]||n[0],i,o.origin).then(function(){return r(t,!1)})}):u._toggle)(t,e),i=e?u.clsEnter:u.clsLeave;Ne(t,i),Qt(t,e?"show":"hide",[u]);function r(){Be(t,i),Qt(t,e?"shown":"hidden",[u]),u.$update(t)}return n?n.then(r,function(){return Be(t,i),ce.reject()}):r()})).then(t,Q)})},isToggled:function(t){return!!Pe(t=void 0===t?this.$el:t,this.clsEnter)||!Pe(t,this.clsLeave)&&(this.cls?Pe(t,this.cls.split(" ")[0]):!st(t,"hidden"))},_toggle:function(t,e){var n;t&&(e=Boolean(e),this.cls?(n=w(this.cls," ")||e!==Pe(t,this.cls))&&He(t,this.cls,w(this.cls," ")?void 0:e):(n=e===t.hidden)&&(t.hidden=!e),Me("[autofocus]",t).some(function(t){return $t(t)?t.focus()||!0:t.blur()}),n&&(Qt(t,"toggled",[e,this]),this.$update(t)))}}};function mi(t){var o=t.isToggled,s=t.duration,a=t.initProps,u=t.hideProps,c=t.transition,h=t._toggle;return function(t,e){var n=Je.inProgress(t),i=t.hasChildNodes?L(Ve(t.firstElementChild,"marginTop"))+L(Ve(t.lastElementChild,"marginBottom")):0,r=$t(t)?un(t)+(n?0:i):0;Je.cancel(t),o(t)||h(t,!0),un(t,""),mn.flush();i=un(t)+(n?0:i);return un(t,r),(e?Je.start(t,Y({},a,{overflow:"hidden",height:i}),Math.round(s*(1-r/i)),c):Je.start(t,u,Math.round(s*(r/i)),c).then(function(){return h(t,!1)})).then(function(){return Ve(t,a)})}}var gi={mixins:[fi,pi],props:{targets:String,active:null,collapsible:Boolean,multiple:Boolean,toggle:String,content:String,transition:String,offset:Number},data:{targets:"> *",active:!1,animation:[!0],collapsible:!0,multiple:!1,clsOpen:"uk-open",toggle:"> .uk-accordion-title",content:"> .uk-accordion-content",transition:"ease",offset:0},computed:{items:{get:function(t,e){return Me(t.targets,e)},watch:function(t,e){var n=this;t.forEach(function(t){return vi(Ae(n.content,t),!Pe(t,n.clsOpen))}),e||Pe(t,this.clsOpen)||(t=!1!==this.active&&t[Number(this.active)]||!this.collapsible&&t[0])&&this.toggle(t,!1)},immediate:!0},toggles:function(t){var e=t.toggle;return this.items.map(function(t){return Ae(e,t)})}},events:[{name:"click",delegate:function(){return this.targets+" "+this.$props.toggle},handler:function(t){t.preventDefault(),this.toggle(Ot(this.toggles,t.current))}}],methods:{toggle:function(t,r){var o=this,e=[this.items[it(t,this.items)]],t=Tt(this.items,"."+this.clsOpen);this.multiple||w(t,e[0])||(e=e.concat(t)),!this.collapsible&&t.length<2&&!Tt(e,":not(."+this.clsOpen+")").length||e.forEach(function(t){return o.toggleElement(t,!Pe(t,o.clsOpen),function(e,n){He(e,o.clsOpen,n),ot(Ae(o.$props.toggle,e),"aria-expanded",n);var i=Ae((e._wrapper?"> * ":"")+o.content,e);if(!1!==r&&o.hasTransition)return e._wrapper||(e._wrapper=$e(i,"<div"+(n?" hidden":"")+">")),vi(i,!1),mi(o)(e._wrapper,n).then(function(){var t;vi(i,!n),delete e._wrapper,Ie(i),n&&(Hn(t=Ae(o.$props.toggle,e))||jn(t,{offset:o.offset}))});vi(i,!n)})})}}};function vi(t,e){t&&(t.hidden=e)}var wi={mixins:[fi,pi],args:"animation",props:{close:String},data:{animation:[!0],selClose:".uk-alert-close",duration:150,hideProps:Y({opacity:0},pi.data.hideProps)},events:[{name:"click",delegate:function(){return this.selClose},handler:function(t){t.preventDefault(),this.close()}}],methods:{close:function(){var t=this;this.toggleElement(this.$el).then(function(){return t.$destroy(!0)})}}},bi={args:"autoplay",props:{automute:Boolean,autoplay:Boolean},data:{automute:!1,autoplay:!0},computed:{inView:function(t){return"inview"===t.autoplay}},connected:function(){this.inView&&!st(this.$el,"preload")&&(this.$el.preload="none"),this.automute&&_n(this.$el)},update:{read:function(){return{visible:$t(this.$el)&&"hidden"!==Ve(this.$el,"visibility"),inView:this.inView&&Hn(this.$el)}},write:function(t){var e=t.visible,t=t.inView;!e||this.inView&&!t?Cn(this.$el):(!0===this.autoplay||this.inView&&t)&&Tn(this.$el)},events:["resize","scroll"]}},xi={mixins:[fi,bi],props:{width:Number,height:Number},data:{automute:!0},update:{read:function(){var t=this.$el,e=function(t){for(;t=Et(t);)if("static"!==Ve(t,"position"))return t}(t)||Et(t),n=e.offsetHeight,e=e.offsetWidth,n=nt.cover({width:this.width||t.naturalWidth||t.videoWidth||t.clientWidth,height:this.height||t.naturalHeight||t.videoHeight||t.clientHeight},{width:e+(e%2?1:0),height:n+(n%2?1:0)});return!(!n.width||!n.height)&&n},write:function(t){var e=t.height,t=t.width;Ve(this.$el,{height:e,width:t})},events:["resize"]}};var yi,ki={props:{pos:String,offset:null,flip:Boolean,clsPos:String},data:{pos:"bottom-"+(lt?"right":"left"),flip:!0,offset:!1,clsPos:""},computed:{pos:function(t){t=t.pos;return(t+(w(t,"-")?"":"-center")).split("-")},dir:function(){return this.pos[0]},align:function(){return this.pos[1]}},methods:{positionAt:function(t,e,n){De(t,this.clsPos+"-(top|bottom|left|right)(-[a-z]+)?");var i,r=this.offset,o=this.getAxis();B(r)||(r=(i=Ae(r))?on(i)["x"===o?"left":"top"]-on(e)["x"===o?"right":"bottom"]:0);r=Yn(t,e,"x"===o?dn(this.dir)+" "+this.align:this.align+" "+dn(this.dir),"x"===o?this.dir+" "+this.align:this.align+" "+this.dir,"x"===o?""+("left"===this.dir?-r:r):" "+("top"===this.dir?-r:r),null,this.flip,n).target,n=r.x,r=r.y;this.dir="x"===o?n:r,this.align="x"===o?r:n,He(t,this.clsPos+"-"+this.dir+"-"+this.align,!1===this.offset)},getAxis:function(){return"top"===this.dir||"bottom"===this.dir?"y":"x"}}},$i={mixins:[ki,pi],args:"pos",props:{mode:"list",toggle:Boolean,boundary:Boolean,boundaryAlign:Boolean,delayShow:Number,delayHide:Number,clsDrop:String},data:{mode:["click","hover"],toggle:"- *",boundary:!0,boundaryAlign:!1,delayShow:0,delayHide:800,clsDrop:!1,animation:["uk-animation-fade"],cls:"uk-open"},computed:{boundary:function(t,e){t=t.boundary;return!0===t?window:Pt(t,e)},clsDrop:function(t){return t.clsDrop||"uk-"+this.$options.name},clsPos:function(){return this.clsDrop}},created:function(){this.tracker=new yn},connected:function(){Ne(this.$el,this.clsDrop);var t=this.$props.toggle;this.toggle=t&&this.$create("toggle",Pt(t,this.$el),{target:this.$el,mode:this.mode})},disconnected:function(){this.isActive()&&(yi=null)},events:[{name:"click",delegate:function(){return"."+this.clsDrop+"-close"},handler:function(t){t.preventDefault(),this.hide(!1)}},{name:"click",delegate:function(){return'a[href^="#"]'},handler:function(t){var e=t.defaultPrevented,t=t.current.hash;e||!t||Nt(t,this.$el)||this.hide(!1)}},{name:"beforescroll",handler:function(){this.hide(!1)}},{name:"toggle",self:!0,handler:function(t,e){t.preventDefault(),this.isToggled()?this.hide(!1):this.show(e,!1)}},{name:"toggleshow",self:!0,handler:function(t,e){t.preventDefault(),this.show(e)}},{name:"togglehide",self:!0,handler:function(t){t.preventDefault(),this.hide()}},{name:wt,filter:function(){return w(this.mode,"hover")},handler:function(t){se(t)||this.clearTimers()}},{name:bt,filter:function(){return w(this.mode,"hover")},handler:function(t){!se(t)&&t.relatedTarget&&this.hide()}},{name:"toggled",self:!0,handler:function(t,e){e&&(this.clearTimers(),this.position())}},{name:"show",self:!0,handler:function(){var r=this;(yi=this).tracker.init(),Zt(this.$el,"hide",Kt(document,mt,function(t){var i=t.target;return!Nt(i,r.$el)&&Zt(document,vt+" "+xt+" scroll",function(t){var e=t.defaultPrevented,n=t.type,t=t.target;e||n!==vt||i!==t||r.toggle&&Nt(i,r.toggle.$el)||r.hide(!1)},!0)}),{self:!0}),Zt(this.$el,"hide",Kt(document,"keydown",function(t){27===t.keyCode&&r.hide(!1)}),{self:!0})}},{name:"beforehide",self:!0,handler:function(){this.clearTimers()}},{name:"hide",handler:function(t){t=t.target;this.$el===t?(yi=this.isActive()?null:yi,this.tracker.cancel()):yi=null===yi&&Nt(t,this.$el)&&this.isToggled()?this:yi}}],update:{write:function(){this.isToggled()&&!Pe(this.$el,this.clsEnter)&&this.position()},events:["resize"]},methods:{show:function(t,e){var n,i=this;if(void 0===t&&(t=this.toggle),void 0===e&&(e=!0),this.isToggled()&&t&&this.toggle&&t.$el!==this.toggle.$el&&this.hide(!1),this.toggle=t,this.clearTimers(),!this.isActive()){if(yi){if(e&&yi.isDelaying)return void(this.showTimer=setTimeout(this.show,10));for(;yi&&n!==yi&&!Nt(this.$el,yi.$el);)(n=yi).hide(!1)}this.showTimer=setTimeout(function(){return!i.isToggled()&&i.toggleElement(i.$el,!0)},e&&this.delayShow||0)}},hide:function(t){var e=this;void 0===t&&(t=!0);function n(){return e.toggleElement(e.$el,!1,!1)}var i,r;this.clearTimers(),this.isDelaying=(i=this.$el,r=[],_e(i,function(t){return"static"!==Ve(t,"position")&&r.push(t)}),r.some(function(t){return e.tracker.movesTo(t)})),t&&this.isDelaying?this.hideTimer=setTimeout(this.hide,50):t&&this.delayHide?this.hideTimer=setTimeout(n,this.delayHide):n()},clearTimers:function(){clearTimeout(this.showTimer),clearTimeout(this.hideTimer),this.showTimer=null,this.hideTimer=null,this.isDelaying=!1},isActive:function(){return yi===this},position:function(){Be(this.$el,this.clsDrop+"-stack"),He(this.$el,this.clsDrop+"-boundary",this.boundaryAlign);var t,e=on(this.boundary),n=this.boundaryAlign?e:on(this.toggle.$el);"justify"===this.align?(t="y"===this.getAxis()?"width":"height",Ve(this.$el,t,n[t])):this.boundary&&this.$el.offsetWidth>Math.max(e.right-n.left,n.right-e.left)&&Ne(this.$el,this.clsDrop+"-stack"),this.positionAt(this.$el,this.boundaryAlign?this.boundary:this.toggle.$el,this.boundary)}}};var Si={mixins:[fi],args:"target",props:{target:Boolean},data:{target:!1},computed:{input:function(t,e){return Ae(St,e)},state:function(){return this.input.nextElementSibling},target:function(t,e){t=t.target;return t&&(!0===t&&Et(this.input)===e&&this.input.nextElementSibling||Pt(t,e))}},update:function(){var t,e,n=this.target,i=this.input;!n||n[e=It(n)?"value":"textContent"]!==(i=i.files&&i.files[0]?i.files[0].name:At(i,"select")&&(t=Me("option",i).filter(function(t){return t.selected})[0])?t.textContent:i.value)&&(n[e]=i)},events:[{name:"change",handler:function(){this.$update()}},{name:"reset",el:function(){return zt(this.$el,"form")},handler:function(){this.$update()}}]},Ii={update:{read:function(t){var e=Hn(this.$el);if(!e||t.isInView===e)return!1;t.isInView=e},write:function(){this.$el.src=""+this.$el.src},events:["scroll","resize"]}},Ei={props:{margin:String,firstColumn:Boolean},data:{margin:"uk-margin-small-top",firstColumn:"uk-first-column"},update:{read:function(){var t=Ti(this.$el.children);return{rows:t,columns:function(t){for(var e=[],n=0;n<t.length;n++)for(var i=Ci(t[n],"left","right"),r=0;r<i.length;r++)e[r]=e[r]?e[r].concat(i[r]):i[r];return lt?e.reverse():e}(t)}},write:function(t){for(var e=t.columns,n=t.rows,i=0;i<n.length;i++)for(var r=0;r<n[i].length;r++)He(n[i][r],this.margin,0!==i),He(n[i][r],this.firstColumn,!!~e[0].indexOf(n[i][r]))},events:["resize"]}};function Ti(t){return Ci(t,"top","bottom")}function Ci(t,e,n){for(var i=[[]],r=0;r<t.length;r++){var o=t[r];if($t(o))for(var s=_i(o),a=i.length-1;0<=a;a--){var u=i[a];if(!u[0]){u.push(o);break}var c=void 0,c=u[0].offsetParent===o.offsetParent?_i(u[0]):(s=_i(o,!0),_i(u[0],!0));if(s[e]>=c[n]-1&&s[e]!==c[e]){i.push([o]);break}if(s[n]-1>c[e]||s[e]===c[e]){u.push(o);break}if(0===a){i.unshift([o]);break}}}return i}function _i(t,e){void 0===e&&(e=!1);var n=t.offsetTop,i=t.offsetLeft,r=t.offsetHeight,o=t.offsetWidth;return e&&(n=(t=an(t))[0],i=t[1]),{top:n,left:i,bottom:n+r,right:i+o}}var Ai={extends:Ei,mixins:[fi],name:"grid",props:{masonry:Boolean,parallax:Number},data:{margin:"uk-grid-margin",clsStack:"uk-grid-stack",masonry:!1,parallax:0},connected:function(){this.masonry&&Ne(this.$el,"uk-flex-top uk-flex-wrap-top")},update:[{write:function(t){t=t.columns;He(this.$el,this.clsStack,t.length<2)},events:["resize"]},{read:function(t){var e=t.columns,n=t.rows;if(!e.length||!this.masonry&&!this.parallax||Mi(this.$el))return t.translates=!1;var i,r,o=!1,s=Dt(this.$el),a=e.map(function(t){return t.reduce(function(t,e){return t+e.offsetHeight},0)}),u=(t=s,i=this.margin,L((s=t.filter(function(t){return Pe(t,i)})[0])?Ve(s,"marginTop"):Ve(t[0],"paddingLeft"))*(n.length-1)),c=Math.max.apply(Math,a)+u;this.masonry&&(e=e.map(function(t){return K(t,"offsetTop")}),t=e,r=n.map(function(t){return Math.max.apply(Math,t.map(function(t){return t.offsetHeight}))}),o=t.map(function(n){var i=0;return n.map(function(t,e){return i+=e?r[e-1]-n[e-1].offsetHeight:0})}));var h=Math.abs(this.parallax);return{padding:h=h&&a.reduce(function(t,e,n){return Math.max(t,e+u+(n%2?h:h/8)-c)},0),columns:e,translates:o,height:o?c:""}},write:function(t){var e=t.height,t=t.padding;Ve(this.$el,"paddingBottom",t||""),!1!==e&&Ve(this.$el,"height",e)},events:["resize"]},{read:function(t){t=t.height;return!Mi(this.$el)&&{scrolled:!!this.parallax&&Fn(this.$el,t?t-un(this.$el):0)*Math.abs(this.parallax)}},write:function(t){var e=t.columns,i=t.scrolled,r=t.translates;!1===i&&!r||e.forEach(function(t,n){return t.forEach(function(t,e){return Ve(t,"transform",i||r?"translateY("+((r&&-r[n][e])+(i?n%2?i:i/8:0))+"px)":"")})})},events:["scroll","resize"]}]};function Mi(t){return Dt(t).some(function(t){return"absolute"===Ve(t,"position")})}var zi=ht?{props:{selMinHeight:String},data:{selMinHeight:!1,forceHeight:!1},computed:{elements:function(t,e){t=t.selMinHeight;return t?Me(t,e):[e]}},update:[{read:function(){Ve(this.elements,"height","")},order:-5,events:["resize"]},{write:function(){var n=this;this.elements.forEach(function(t){var e=L(Ve(t,"minHeight"));e&&(n.forceHeight||Math.round(e+ln(t,"height","content-box"))>=t.offsetHeight)&&Ve(t,"height",e)})},order:5,events:["resize"]}]}:{},Ni={mixins:[zi],args:"target",props:{target:String,row:Boolean},data:{target:"> *",row:!0,forceHeight:!0},computed:{elements:function(t,e){return Me(t.target,e)}},update:{read:function(){return{rows:(this.row?Ti(this.elements):[this.elements]).map(Bi)}},write:function(t){t.rows.forEach(function(t){var n=t.heights;return t.elements.forEach(function(t,e){return Ve(t,"minHeight",n[e])})})},events:["resize"]}};functio