nimbus-eth1/premix/assets/js/uikit.min.js

3 lines
129 KiB
JavaScript

/*! UIkit 3.0.0-rc.25 | http://www.getuikit.com | (c) 2014 - 2018 YOOtheme | MIT License */
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define("uikit",e):t.UIkit=e()}(this,function(){"use strict";function p(i,n){return function(t){var e=arguments.length;return e?1<e?i.apply(n,arguments):i.call(n,t):i.call(n)}}var e=Object.prototype,i=e.hasOwnProperty;function h(t,e){return i.call(t,e)}var n={},r=/([a-z\d])([A-Z])/g;function m(t){return t in n||(n[t]=t.replace(r,"$1-$2").toLowerCase()),n[t]}var o=/-(\w)/g;function g(t){return t.replace(o,s)}function s(t,e){return e?e.toUpperCase():""}function a(t){return t.length?s(0,t.charAt(0))+t.slice(1):""}var t=String.prototype,l=t.startsWith||function(t){return 0===this.lastIndexOf(t,0)};function v(t,e){return l.call(t,e)}var c=t.endsWith||function(t){return this.substr(-t.length)===t};function u(t,e){return c.call(t,e)}var d=function(t){return~this.indexOf(t)},f=t.includes||d,w=Array.prototype.includes||d;function b(t,e){return t&&(_(t)?f:w).call(t,e)}var y=Array.isArray;function x(t){return"function"==typeof t}function k(t){return null!==t&&"object"==typeof t}function $(t){return k(t)&&Object.getPrototypeOf(t)===e}function I(t){return k(t)&&t===t.window}function S(t){return k(t)&&9===t.nodeType}function T(t){return k(t)&&!!t.jquery}function E(t){return t instanceof Node||k(t)&&1<=t.nodeType}var C=e.toString;function A(t){return C.call(t).match(/^\[object (NodeList|HTMLCollection)\]$/)}function N(t){return"boolean"==typeof t}function _(t){return"string"==typeof t}function M(t){return"number"==typeof t}function D(t){return M(t)||_(t)&&!isNaN(t-parseFloat(t))}function B(t){return void 0===t}function O(t){return N(t)?t:"true"===t||"1"===t||""===t||"false"!==t&&"0"!==t&&t}function z(t){var e=Number(t);return!isNaN(e)&&e}function P(t){return parseFloat(t)||0}function H(t){return E(t)||I(t)||S(t)?t:A(t)||T(t)?t[0]:y(t)?H(t[0]):null}var j=Array.prototype;function F(t){return E(t)?[t]:A(t)?j.slice.call(t):y(t)?t.map(H).filter(Boolean):T(t)?t.toArray():[]}function L(t){return y(t)?t:_(t)?t.split(/,(?![^(]*\))/).map(function(t){return D(t)?z(t):O(t.trim())}):[t]}function W(t){return t?u(t,"ms")?P(t):1e3*P(t):0}function V(t,e,i){return t.replace(new RegExp(e+"|"+i,"mg"),function(t){return t===e?i:e})}var Y=Object.assign||function(t){for(var e=[],i=arguments.length-1;0<i--;)e[i]=arguments[i+1];t=Object(t);for(var n=0;n<e.length;n++){var r=e[n];if(null!==r)for(var o in r)h(r,o)&&(t[o]=r[o])}return t};function R(t,e){for(var i in t)e.call(t[i],t[i],i)}function q(t,r){return t.sort(function(t,e){var i=t[r];void 0===i&&(i=0);var n=e[r];return void 0===n&&(n=0),n<i?1:i<n?-1:0})}function U(t,e,i){return void 0===e&&(e=0),void 0===i&&(i=1),Math.min(Math.max(z(t)||0,e),i)}function X(){}function K(t,e){return t.left<e.right&&t.right>e.left&&t.top<e.bottom&&t.bottom>e.top}function G(t,e){return t.x<=e.right&&t.x>=e.left&&t.y<=e.bottom&&t.y>=e.top}var J={ratio:function(t,e,i){var n,r="width"===e?"height":"width";return(n={})[r]=t[e]?Math.round(i*t[r]/t[e]):t[r],n[e]=i,n},contain:function(i,n){var r=this;return R(i=Y({},i),function(t,e){return i=i[e]>n[e]?r.ratio(i,e,n[e]):i}),i},cover:function(i,n){var r=this;return R(i=this.contain(i,n),function(t,e){return i=i[e]<n[e]?r.ratio(i,e,n[e]):i}),i}};function Z(t,e,i){if(k(e))for(var n in e)Z(t,n,e[n]);else{if(B(i))return(t=H(t))&&t.getAttribute(e);F(t).forEach(function(t){x(i)&&(i=i.call(t,Z(t,e))),null===i?tt(t,e):t.setAttribute(e,i)})}}function Q(t,e){return F(t).some(function(t){return t.hasAttribute(e)})}function tt(t,e){t=F(t),e.split(" ").forEach(function(e){return t.forEach(function(t){return t.removeAttribute(e)})})}function et(t,e){for(var i=0,n=[e,"data-"+e];i<n.length;i++)if(Q(t,n[i]))return Z(t,n[i])}function it(t,e){return H(t)||ot(t,rt(t,e))}function nt(t,e){var i=F(t);return i.length&&i||st(t,rt(t,e))}function rt(t,e){return void 0===e&&(e=document),ct(t)||S(e)?e:e.ownerDocument}function ot(t,e){return H(at(t,e,"querySelector"))}function st(t,e){return F(at(t,e,"querySelectorAll"))}function at(t,s,e){if(void 0===s&&(s=document),!t||!_(t))return null;var a;ct(t=t.replace(ht,"$1 *"))&&(a=[],t=t.split(",").map(function(t,e){var i=s;if("!"===(t=t.trim())[0]){var n=t.substr(1).trim().split(" ");i=mt(s.parentNode,n[0]),t=n.slice(1).join(" ").trim()}if("-"===t[0]){var r=t.substr(1).trim().split(" "),o=(i||s).previousElementSibling;i=ft(o,t.substr(1))?o:null,t=r.slice(1).join(" ")}return i?(i.id||(i.id="uk-"+Date.now()+e,a.push(function(){return tt(i,"id")})),"#"+wt(i.id)+" "+t):null}).filter(Boolean).join(","),s=document);try{return s[e](t)}catch(t){return null}finally{a&&a.forEach(function(t){return t()})}}var lt=/(^|,)\s*[!>+~-]/,ht=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g;function ct(t){return _(t)&&t.match(lt)}var ut=Element.prototype,dt=ut.matches||ut.webkitMatchesSelector||ut.msMatchesSelector;function ft(t,e){return F(t).some(function(t){return dt.call(t,e)})}var pt=ut.closest||function(t){var e=this;do{if(ft(e,t))return e;e=e.parentNode}while(e&&1===e.nodeType)};function mt(t,e){return v(e,">")&&(e=e.slice(1)),E(t)?t.parentNode&&pt.call(t,e):F(t).map(function(t){return t.parentNode&&pt.call(t,e)}).filter(Boolean)}function gt(t,e){for(var i=[],n=H(t).parentNode;n&&1===n.nodeType;)ft(n,e)&&i.push(n),n=n.parentNode;return i}var vt=window.CSS&&CSS.escape||function(t){return t.replace(/([^\x7f-\uFFFF\w-])/g,function(t){return"\\"+t})};function wt(t){return _(t)?vt.call(null,t):""}var bt={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 yt(t){return F(t).some(function(t){return bt[t.tagName.toLowerCase()]})}function xt(t){return F(t).some(function(t){return t.offsetWidth||t.offsetHeight||t.getClientRects().length})}var kt="input,select,textarea,button";function $t(t){return F(t).some(function(t){return ft(t,kt)})}function It(t,e){return F(t).filter(function(t){return ft(t,e)})}function St(t,e){return _(e)?ft(t,e)||mt(t,e):t===e||(S(e)?e.documentElement:H(e)).contains(H(t))}function Tt(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var i,n=_t(t),r=n[0],o=n[1],s=n[2],a=n[3],l=n[4];return r=Bt(r),s&&(a=function(t,n,r){var o=this;return function(i){t.forEach(function(t){var e=">"===n[0]?st(n,t).reverse().filter(function(t){return St(i.target,t)})[0]:mt(i.target,n);e&&(i.delegate=t,i.current=e,r.call(o,i))})}}(r,s,a)),1<a.length&&(i=a,a=function(t){return y(t.detail)?i.apply(void 0,[t].concat(t.detail)):i(t)}),o.split(" ").forEach(function(e){return r.forEach(function(t){return t.addEventListener(e,a,l)})}),function(){return Et(r,o,a,l)}}function Et(t,e,i,n){void 0===n&&(n=!1),t=Bt(t),e.split(" ").forEach(function(e){return t.forEach(function(t){return t.removeEventListener(e,i,n)})})}function Ct(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var i=_t(t),n=i[0],r=i[1],o=i[2],s=i[3],a=i[4],l=i[5],h=Tt(n,r,o,function(t){var e=!l||l(t);e&&(h(),s(t,e))},a);return h}function At(t,i,n){return Bt(t).reduce(function(t,e){return t&&e.dispatchEvent(Nt(i,!0,!0,n))},!0)}function Nt(t,e,i,n){if(void 0===e&&(e=!0),void 0===i&&(i=!1),_(t)){var r=document.createEvent("CustomEvent");r.initCustomEvent(t,e,i,n),t=r}return t}function _t(t){return x(t[2])&&t.splice(2,0,!1),t}function Mt(t){return t&&"addEventListener"in t}function Dt(t){return Mt(t)?t:H(t)}function Bt(t){return y(t)?t.map(Dt).filter(Boolean):_(t)?st(t):Mt(t)?[t]:F(t)}function Ot(){var e=setTimeout(Ct(document,"click",function(t){t.preventDefault(),t.stopImmediatePropagation(),clearTimeout(e)},!0));At(document,"touchcancel")}var zt="Promise"in window?window.Promise:Ft,Pt=function(){var i=this;this.promise=new zt(function(t,e){i.reject=e,i.resolve=t})},Ht=2,jt="setImmediate"in window?setImmediate:setTimeout;function Ft(t){this.state=Ht,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)}}Ft.reject=function(i){return new Ft(function(t,e){e(i)})},Ft.resolve=function(i){return new Ft(function(t,e){t(i)})},Ft.all=function(s){return new Ft(function(i,t){var n=[],r=0;function e(e){return function(t){n[e]=t,(r+=1)===s.length&&i(n)}}0===s.length&&i(n);for(var o=0;o<s.length;o+=1)Ft.resolve(s[o]).then(e(o),t)})},Ft.race=function(n){return new Ft(function(t,e){for(var i=0;i<n.length;i+=1)Ft.resolve(n[i]).then(t,e)})};var Lt=Ft.prototype;function Wt(s,a){return new zt(function(t,e){var i=Y({data:null,method:"GET",headers:{},xhr:new XMLHttpRequest,beforeSend:X,responseType:""},a);i.beforeSend(i);var n=i.xhr;for(var r in i)if(r in n)try{n[r]=i[r]}catch(t){}for(var o in n.open(i.method.toUpperCase(),s),i.headers)n.setRequestHeader(o,i.headers[o]);Tt(n,"load",function(){0===n.status||200<=n.status&&n.status<300||304===n.status?t(n):e(Y(Error(n.statusText),{xhr:n,status:n.status}))}),Tt(n,"error",function(){return e(Y(Error("Network Error"),{xhr:n}))}),Tt(n,"timeout",function(){return e(Y(Error("Network Timeout"),{xhr:n}))}),n.send(i.data)})}function Vt(n,r,o){return new zt(function(t,e){var i=new Image;i.onerror=e,i.onload=function(){return t(i)},o&&(i.sizes=o),r&&(i.srcset=r),i.src=n})}Lt.resolve=function(t){var e=this;if(e.state===Ht){if(t===e)throw new TypeError("Promise settled with itself.");var i=!1;try{var n=t&&t.then;if(null!==t&&k(t)&&x(n))return void n.call(t,function(t){i||e.resolve(t),i=!0},function(t){i||e.reject(t),i=!0})}catch(t){return void(i||e.reject(t))}e.state=0,e.value=t,e.notify()}},Lt.reject=function(t){var e=this;if(e.state===Ht){if(t===e)throw new TypeError("Promise settled with itself.");e.state=1,e.value=t,e.notify()}},Lt.notify=function(){var o=this;jt(function(){if(o.state!==Ht)for(;o.deferred.length;){var t=o.deferred.shift(),e=t[0],i=t[1],n=t[2],r=t[3];try{0===o.state?x(e)?n(e.call(void 0,o.value)):n(o.value):1===o.state&&(x(i)?n(i.call(void 0,o.value)):r(o.value))}catch(t){r(t)}}})},Lt.then=function(i,n){var r=this;return new Ft(function(t,e){r.deferred.push([i,n,t,e]),r.notify()})},Lt.catch=function(t){return this.then(void 0,t)};var Yt=/msie|trident/i.test(window.navigator.userAgent),Rt="rtl"===Z(document.documentElement,"dir"),qt="ontouchstart"in window,Ut=window.PointerEvent,Xt=qt||window.DocumentTouch&&document instanceof DocumentTouch||navigator.maxTouchPoints,Kt=Xt?"mousedown "+(qt?"touchstart":"pointerdown"):"mousedown",Gt=Xt?"mousemove "+(qt?"touchmove":"pointermove"):"mousemove",Jt=Xt?"mouseup "+(qt?"touchend":"pointerup"):"mouseup",Zt=Xt&&Ut?"pointerenter":"mouseenter",Qt=Xt&&Ut?"pointerleave":"mouseleave";function te(){return"complete"===document.readyState||"loading"!==document.readyState&&!document.documentElement.doScroll}function ee(t){if(te())t();else var e=function(){i(),n(),t()},i=Tt(document,"DOMContentLoaded",e),n=Tt(window,"load",e)}function ie(t,e){return e?F(t).indexOf(H(e)):F((t=H(t))&&t.parentNode.children).indexOf(t)}function ne(t,e,i,n){void 0===i&&(i=0),void 0===n&&(n=!1);var r=(e=F(e)).length;return t=D(t)?z(t):"next"===t?i+1:"previous"===t?i-1:ie(e,t),n?U(t,0,r-1):(t%=r)<0?t+r:t}function re(t){return(t=we(t)).innerHTML="",t}function oe(t,e){return t=we(t),B(e)?t.innerHTML:se(t.hasChildNodes()?re(t):t,e)}function se(e,t){return e=we(e),he(t,function(t){return e.appendChild(t)})}function ae(e,t){return e=we(e),he(t,function(t){return e.parentNode.insertBefore(t,e)})}function le(e,t){return e=we(e),he(t,function(t){return e.nextSibling?ae(e.nextSibling,t):se(e.parentNode,t)})}function he(t,e){return(t=_(t)?ge(t):t)?"length"in t?F(t).map(e):e(t):null}function ce(t){F(t).map(function(t){return t.parentNode&&t.parentNode.removeChild(t)})}function ue(t,e){for(e=H(ae(t,e));e.firstChild;)e=e.firstChild;return se(e,t),e}function de(t,e){return F(F(t).map(function(t){return t.hasChildNodes?ue(F(t.childNodes),e):se(t,e)}))}function fe(t){F(t).map(function(t){return t.parentNode}).filter(function(t,e,i){return i.indexOf(t)===e}).forEach(function(t){ae(t,t.childNodes),ce(t)})}var pe=/^\s*<(\w+|!)[^>]*>/,me=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function ge(t){var e=me.exec(t);if(e)return document.createElement(e[1]);var i=document.createElement("div");return pe.test(t)?i.insertAdjacentHTML("beforeend",t.trim()):i.textContent=t,1<i.childNodes.length?F(i.childNodes):i.firstChild}function ve(t,e){if(t&&1===t.nodeType)for(e(t),t=t.firstElementChild;t;)ve(t,e),t=t.nextElementSibling}function we(t,e){return _(t)?ye(t)?H(ge(t)):ot(t,e):H(t)}function be(t,e){return _(t)?ye(t)?F(ge(t)):st(t,e):F(t)}function ye(t){return"<"===t[0]||t.match(/^\s*</)}function xe(t){for(var e=[],i=arguments.length-1;0<i--;)e[i]=arguments[i+1];Ee(t,e,"add")}function ke(t){for(var e=[],i=arguments.length-1;0<i--;)e[i]=arguments[i+1];Ee(t,e,"remove")}function $e(t,e){Z(t,"class",function(t){return(t||"").replace(new RegExp("\\b"+e+"\\b","g"),"")})}function Ie(t){for(var e=[],i=arguments.length-1;0<i--;)e[i]=arguments[i+1];e[0]&&ke(t,e[0]),e[1]&&xe(t,e[1])}function Se(t,e){return e&&F(t).some(function(t){return t.classList.contains(e.split(" ")[0])})}function Te(t){for(var n=[],e=arguments.length-1;0<e--;)n[e]=arguments[e+1];if(n.length){var r=_((n=Ce(n))[n.length-1])?[]:n.pop();n=n.filter(Boolean),F(t).forEach(function(t){for(var e=t.classList,i=0;i<n.length;i++)Ne.Force?e.toggle.apply(e,[n[i]].concat(r)):e[(B(r)?!e.contains(n[i]):r)?"add":"remove"](n[i])})}}function Ee(t,i,n){(i=Ce(i).filter(Boolean)).length&&F(t).forEach(function(t){var e=t.classList;Ne.Multiple?e[n].apply(e,i):i.forEach(function(t){return e[n](t)})})}function Ce(t){return t.reduce(function(t,e){return t.concat.call(t,_(e)&&b(e," ")?e.trim().split(" "):e)},[])}var Ae,Ne={};(Ae=document.createElement("_").classList)&&(Ae.add("a","b"),Ae.toggle("c",!1),Ne.Multiple=Ae.contains("b"),Ne.Force=!Ae.contains("c"));var _e={"animation-iteration-count":!(Ae=null),"column-count":!0,"fill-opacity":!0,"flex-grow":!0,"flex-shrink":!0,"font-weight":!0,"line-height":!0,opacity:!0,order:!0,orphans:!0,widows:!0,"z-index":!0,zoom:!0};function Me(t,e,r){return F(t).map(function(i){if(_(e)){if(e=He(e),B(r))return Be(i,e);r||0===r?i.style[e]=D(r)&&!_e[e]?r+"px":r:i.style.removeProperty(e)}else{if(y(e)){var n=De(i);return e.reduce(function(t,e){return t[e]=n[He(e)],t},{})}k(e)&&R(e,function(t,e){return Me(i,e,t)})}return i})[0]}function De(t,e){return(t=H(t)).ownerDocument.defaultView.getComputedStyle(t,e)}function Be(t,e,i){return De(t,i)[e]}var Oe={};function ze(t){var e=document.documentElement;if(!Yt)return De(e).getPropertyValue("--uk-"+t);if(!(t in Oe)){var i=se(e,document.createElement("div"));xe(i,"uk-"+t),Oe[t]=Be(i,"content",":before").replace(/^["'](.*)["']$/,"$1"),ce(i)}return Oe[t]}var Pe={};function He(t){var e=Pe[t];return e||(e=Pe[t]=function(t){if((t=m(t))in Fe)return t;var e,i=je.length;for(;i--;)if((e="-"+je[i]+"-"+t)in Fe)return e}(t)||t),e}var je=["webkit","moz","ms"],Fe=document.createElement("_").style;function Le(t,s,a,l){return void 0===a&&(a=400),void 0===l&&(l="linear"),zt.all(F(t).map(function(o){return new zt(function(i,n){for(var t in s){var e=Me(o,t);""===e&&Me(o,t,e)}var r=setTimeout(function(){return At(o,"transitionend")},a);Ct(o,"transitionend transitioncanceled",function(t){var e=t.type;clearTimeout(r),ke(o,"uk-transition"),Me(o,{"transition-property":"","transition-duration":"","transition-timing-function":""}),"transitioncanceled"===e?n():i()},!1,function(t){var e=t.target;return o===e}),xe(o,"uk-transition"),Me(o,Y({"transition-property":Object.keys(s).map(He).join(","),"transition-duration":a+"ms","transition-timing-function":l},s))})}))}var We={start:Le,stop:function(t){return At(t,"transitionend"),zt.resolve()},cancel:function(t){At(t,"transitioncanceled")},inProgress:function(t){return Se(t,"uk-transition")}},Ve="uk-animation-",Ye="uk-cancel-animation";function Re(t,e,i,a,l){var h=arguments;return void 0===i&&(i=200),zt.all(F(t).map(function(s){return new zt(function(n,r){if(Se(s,Ye))requestAnimationFrame(function(){return zt.resolve().then(function(){return Re.apply(void 0,h).then(n,r)})});else{var t=e+" "+Ve+(l?"leave":"enter");v(e,Ve)&&(a&&(t+=" uk-transform-origin-"+a),l&&(t+=" "+Ve+"reverse")),o(),Ct(s,"animationend animationcancel",function(t){var e=t.type,i=!1;"animationcancel"===e?(r(),o()):(n(),zt.resolve().then(function(){i=!0,o()})),requestAnimationFrame(function(){i||(xe(s,Ye),requestAnimationFrame(function(){return ke(s,Ye)}))})},!1,function(t){var e=t.target;return s===e}),Me(s,"animationDuration",i+"ms"),xe(s,t)}function o(){Me(s,"animationDuration",""),$e(s,Ve+"\\S*")}})}))}var qe=new RegExp(Ve+"(enter|leave)"),Ue={in:function(t,e,i,n){return Re(t,e,i,n,!1)},out:function(t,e,i,n){return Re(t,e,i,n,!0)},inProgress:function(t){return qe.test(Z(t,"class"))},cancel:function(t){At(t,"animationcancel")}},Xe={width:["x","left","right"],height:["y","top","bottom"]};function Ke(t,e,c,u,d,i,n,r){c=ri(c),u=ri(u);var f={element:c,target:u};if(!t||!e)return f;var p=Je(t),m=Je(e),g=m;if(ni(g,c,p,-1),ni(g,u,m,1),d=oi(d,p.width,p.height),i=oi(i,m.width,m.height),d.x+=i.x,d.y+=i.y,g.left+=d.x,g.top+=d.y,n){var o=[Je(ui(t))];r&&o.unshift(Je(r)),R(Xe,function(t,s){var a=t[0],l=t[1],h=t[2];(!0===n||b(n,a))&&o.some(function(n){var t=c[a]===l?-p[s]:c[a]===h?p[s]:0,e=u[a]===l?m[s]:u[a]===h?-m[s]:0;if(g[l]<n[l]||g[l]+p[s]>n[h]){var i=p[s]/2,r="center"===u[a]?-m[s]/2:0;return"center"===c[a]&&(o(i,r)||o(-i,-r))||o(t,e)}function o(e,t){var i=g[l]+e+t-2*d[a];if(i>=n[l]&&i+p[s]<=n[h])return g[l]=i,["element","target"].forEach(function(t){f[t][a]=e?f[t][a]===Xe[s][1]?Xe[s][2]:Xe[s][1]:f[t][a]}),!0}})})}return Ge(t,g),f}function Ge(i,n){if(i=H(i),!n)return Je(i);var r=Ge(i),o=Me(i,"position");["left","top"].forEach(function(t){if(t in n){var e=Me(i,t);Me(i,t,n[t]-r[t]+P("absolute"===o&&"auto"===e?Ze(i)[t]:e))}})}function Je(t){var e,i,n=ui(t=H(t)),r=n.pageYOffset,o=n.pageXOffset;if(I(t)){var s=t.innerHeight,a=t.innerWidth;return{top:r,left:o,height:s,width:a,bottom:r+s,right:o+a}}xt(t)||(e=Z(t,"style"),i=Z(t,"hidden"),Z(t,{style:(e||"")+";display:block !important;",hidden:null}));var l=t.getBoundingClientRect();return B(e)||Z(t,{style:e,hidden:i}),{height:l.height,width:l.width,top:l.top+r,left:l.left+o,bottom:l.bottom+r,right:l.right+o}}function Ze(n){var r=(n=H(n)).offsetParent||di(n).documentElement,o=Ge(r),t=["top","left"].reduce(function(t,e){var i=a(e);return t[e]-=o[e]+P(Me(n,"margin"+i))+P(Me(r,"border"+i+"Width")),t},Ge(n));return{top:t.top,left:t.left}}var Qe=ei("height"),ti=ei("width");function ei(n){var r=a(n);return function(t,e){if(t=H(t),B(e)){if(I(t))return t["inner"+r];if(S(t)){var i=t.documentElement;return Math.max(i["offset"+r],i["scroll"+r])}return(e="auto"===(e=Me(t,n))?t["offset"+r]:P(e)||0)-ii(n,t)}Me(t,n,e||0===e?+e+ii(n,t)+"px":"")}}function ii(t,i,e){return void 0===e&&(e="border-box"),Me(i,"boxSizing")===e?Xe[t].slice(1).map(a).reduce(function(t,e){return t+P(Me(i,"padding"+e))+P(Me(i,"border"+e+"Width"))},0):0}function ni(o,s,a,l){R(Xe,function(t,e){var i=t[0],n=t[1],r=t[2];s[i]===r?o[n]+=a[e]*l:"center"===s[i]&&(o[n]+=a[e]*l/2)})}function ri(t){var e=/left|center|right/,i=/top|center|bottom/;return 1===(t=(t||"").split(" ")).length&&(t=e.test(t[0])?t.concat(["center"]):i.test(t[0])?["center"].concat(t):["center","center"]),{x:e.test(t[0])?t[0]:"center",y:i.test(t[1])?t[1]:"center"}}function oi(t,e,i){var n=(t||"").split(" "),r=n[0],o=n[1];return{x:r?P(r)*(u(r,"%")?e/100:1):0,y:o?P(o)*(u(o,"%")?i/100:1):0}}function si(t){switch(t){case"left":return"right";case"right":return"left";case"top":return"bottom";case"bottom":return"top";default:return t}}function ai(t,e,i,n){if(void 0===e&&(e=0),void 0===i&&(i=0),!xt(t))return!1;var r,o,s=ui(t=H(t));if(n)r=t.getBoundingClientRect(),o={top:-e,left:-i,bottom:e+Qe(s),right:i+ti(s)};else{var a=ci(t),l=a[0],h=a[1],c=s.pageYOffset,u=s.pageXOffset;r={top:l,left:h,bottom:l+t.offsetHeight,right:l+t.offsetWidth},o={top:c-e,left:u-i,bottom:c+e+Qe(s),right:u+i+ti(s)}}return K(r,o)||G({x:r.left,y:r.top},o)}function li(t,e){if(void 0===e&&(e=0),!xt(t))return 0;var i=ui(t=H(t)),n=di(t),r=t.offsetHeight+e,o=ci(t)[0],s=Qe(i),a=s+Math.min(0,o-s),l=Math.max(0,s-(Qe(n)+e-(o+r)));return U((a+i.pageYOffset-o)/((a+(r-(l<s?l:0)))/100)/100)}function hi(t,e){if(I(t=H(t))||S(t)){var i=ui(t);(0,i.scrollTo)(i.pageXOffset,e)}else t.scrollTop=e}function ci(t){var e=[0,0];do{if(e[0]+=t.offsetTop,e[1]+=t.offsetLeft,"fixed"===Me(t,"position")){var i=ui(t);return e[0]+=i.pageYOffset,e[1]+=i.pageXOffset,e}}while(t=t.offsetParent);return e}function ui(t){return I(t)?t:di(t).defaultView}function di(t){return H(t).ownerDocument}var fi={reads:[],writes:[],read:function(t){return this.reads.push(t),pi(),t},write:function(t){return this.writes.push(t),pi(),t},clear:function(t){return gi(this.reads,t)||gi(this.writes,t)},flush:function(){mi(this.reads),mi(this.writes.splice(0,this.writes.length)),this.scheduled=!1,(this.reads.length||this.writes.length)&&pi()}};function pi(){fi.scheduled||(fi.scheduled=!0,requestAnimationFrame(fi.flush.bind(fi)))}function mi(t){for(var e;e=t.shift();)e()}function gi(t,e){var i=t.indexOf(e);return!!~i&&!!t.splice(i,1)}function vi(){}function wi(t,e){return(e.y-t.y)/(e.x-t.x)}vi.prototype={positions:[],position:null,init:function(){var n=this;this.positions=[],this.position=null;var r=!1;this.unbind=Tt(document,"mousemove",function(i){r||(setTimeout(function(){var t=Date.now(),e=n.positions.length;e&&100<t-n.positions[e-1].time&&n.positions.splice(0,e),n.positions.push({time:t,x:i.pageX,y:i.pageY}),5<n.positions.length&&n.positions.shift(),r=!1},5),r=!0)})},cancel:function(){this.unbind&&this.unbind()},movesTo:function(t){if(this.positions.length<2)return!1;var e=Ge(t),i=this.positions[this.positions.length-1],n=this.positions[0];if(e.left<=i.x&&i.x<=e.right&&e.top<=i.y&&i.y<=e.bottom)return!1;var r=[[{x:e.left,y:e.top},{x:e.right,y:e.bottom}],[{x:e.right,y:e.top},{x:e.left,y:e.bottom}]];return e.right<=i.x||(e.left>=i.x?(r[0].reverse(),r[1].reverse()):e.bottom<=i.y?r[0].reverse():e.top>=i.y&&r[1].reverse()),!!r.reduce(function(t,e){return t+(wi(n,e[0])<wi(i,e[0])&&wi(n,e[1])>wi(i,e[1]))},0)}};var bi={};function yi(t,e,i){return bi.computed(x(t)?t.call(i,i):t,x(e)?e.call(i,i):e)}function xi(t,e){return t=t&&!y(t)?[t]:t,e?t?t.concat(e):y(e)?e:[e]:t}function ki(e,i,n){var r={};if(x(i)&&(i=i.options),i.extends&&(e=ki(e,i.extends,n)),i.mixins)for(var t=0,o=i.mixins.length;t<o;t++)e=ki(e,i.mixins[t],n);for(var s in e)l(s);for(var a in i)h(e,a)||l(a);function l(t){r[t]=(bi[t]||function(t,e){return B(e)?t:e})(e[t],i[t],n)}return r}function $i(t,e){var i;void 0===e&&(e=[]);try{return t?v(t,"{")?JSON.parse(t):e.length&&!b(t,":")?((i={})[e[0]]=t,i):t.split(";").reduce(function(t,e){var i=e.split(/:(.*)/),n=i[0],r=i[1];return n&&!B(r)&&(t[n.trim()]=r.trim()),t},{}):{}}catch(t){return{}}}bi.events=bi.created=bi.beforeConnect=bi.connected=bi.beforeDisconnect=bi.disconnected=bi.destroy=xi,bi.args=function(t,e){return xi(e||t)},bi.update=function(t,e){return q(xi(t,x(e)?{read:e}:e),"order")},bi.props=function(t,e){return y(e)&&(e=e.reduce(function(t,e){return t[e]=String,t},{})),bi.methods(t,e)},bi.computed=bi.methods=function(t,e){return e?t?Y({},t,e):e:t},bi.data=function(e,i,t){return t?yi(e,i,t):i?e?function(t){return yi(e,i,t)}:i:e};var Ii=0,Si=function(t){this.id=++Ii,this.el=H(t)};function Ti(t,e){try{t.contentWindow.postMessage(JSON.stringify(Y({event:"command"},e)),"*")}catch(t){}}Si.prototype.isVideo=function(){return this.isYoutube()||this.isVimeo()||this.isHTML5()},Si.prototype.isHTML5=function(){return"VIDEO"===this.el.tagName},Si.prototype.isIFrame=function(){return"IFRAME"===this.el.tagName},Si.prototype.isYoutube=function(){return this.isIFrame()&&!!this.el.src.match(/\/\/.*?youtube(-nocookie)?\.[a-z]+\/(watch\?v=[^&\s]+|embed)|youtu\.be\/.*/)},Si.prototype.isVimeo=function(){return this.isIFrame()&&!!this.el.src.match(/vimeo\.com\/video\/.*/)},Si.prototype.enableApi=function(){var e=this;if(this.ready)return this.ready;var i,r=this.isYoutube(),o=this.isVimeo();return r||o?this.ready=new zt(function(t){var n;Ct(e.el,"load",function(){if(r){var t=function(){return Ti(e.el,{event:"listening",id:e.id})};i=setInterval(t,100),t()}}),(n=function(t){return r&&t.id===e.id&&"onReady"===t.event||o&&Number(t.player_id)===e.id},new zt(function(i){Ct(window,"message",function(t,e){return i(e)},!1,function(t){var e=t.data;if(e&&_(e)){try{e=JSON.parse(e)}catch(t){return}return e&&n(e)}})})).then(function(){t(),i&&clearInterval(i)}),Z(e.el,"src",e.el.src+(b(e.el.src,"?")?"&":"?")+(r?"enablejsapi=1":"api=1&player_id="+e.id))}):zt.resolve()},Si.prototype.play=function(){var t=this;if(this.isVideo())if(this.isIFrame())this.enableApi().then(function(){return Ti(t.el,{func:"playVideo",method:"play"})});else if(this.isHTML5())try{var e=this.el.play();e&&e.catch(X)}catch(t){}},Si.prototype.pause=function(){var t=this;this.isVideo()&&(this.isIFrame()?this.enableApi().then(function(){return Ti(t.el,{func:"pauseVideo",method:"pause"})}):this.isHTML5()&&this.el.pause())},Si.prototype.mute=function(){var t=this;this.isVideo()&&(this.isIFrame()?this.enableApi().then(function(){return Ti(t.el,{func:"mute",method:"setVolume",value:0})}):this.isHTML5()&&(this.el.muted=!0,Z(this.el,"muted","")))};var Ei,Ci,Ai,Ni,_i={};function Mi(){Ei&&clearTimeout(Ei),Ci&&clearTimeout(Ci),Ai&&clearTimeout(Ai),Ei=Ci=Ai=null,_i={}}ee(function(){Tt(document,"click",function(){return Ni=!0},!0),Tt(document,Kt,function(t){var e=t.target,i=Oi(t),n=i.x,r=i.y,o=Date.now(),s=zi(t.type);_i.type&&_i.type!==s||(_i.el="tagName"in e?e:e.parentNode,Ei&&clearTimeout(Ei),_i.x1=n,_i.y1=r,_i.last&&o-_i.last<=250&&(_i={}),_i.type=s,_i.last=o,Ni=0<t.button)}),Tt(document,Gt,function(t){if(!t.defaultPrevented){var e=Oi(t),i=e.x,n=e.y;_i.x2=i,_i.y2=n}}),Tt(document,Jt,function(t){var e=t.type,i=t.target;_i.type===zi(e)&&(_i.x2&&30<Math.abs(_i.x1-_i.x2)||_i.y2&&30<Math.abs(_i.y1-_i.y2)?Ci=setTimeout(function(){var t,e,i,n,r;_i.el&&(At(_i.el,"swipe"),At(_i.el,"swipe"+(e=(t=_i).x1,i=t.x2,n=t.y1,r=t.y2,Math.abs(e-i)>=Math.abs(n-r)?0<e-i?"Left":"Right":0<n-r?"Up":"Down"))),_i={}}):"last"in _i?(Ai=setTimeout(function(){return At(_i.el,"tap")}),_i.el&&"mouseup"!==e&&St(i,_i.el)&&(Ei=setTimeout(function(){Ei=null,_i.el&&!Ni&&At(_i.el,"click"),_i={}},350))):_i={})}),Tt(document,"touchcancel",Mi),Tt(window,"scroll",Mi)});var Di=!1;function Bi(t){return Di||"touch"===t.pointerType}function Oi(t){var e=t.touches,i=t.changedTouches,n=e&&e[0]||i&&i[0]||t;return{x:n.pageX,y:n.pageY}}function zi(t){return t.slice(0,5)}function Pi(t){return!(!v(t,"uk-")&&!v(t,"data-uk-"))&&g(t.replace("data-uk-","").replace("uk-",""))}Tt(document,"touchstart",function(){return Di=!0},!0),Tt(document,"click",function(){Di=!1}),Tt(document,"touchcancel",function(){return Di=!1},!0);var Hi,ji,Fi,Li,Wi=function(t){this._init(t)};Wi.util=Object.freeze({ajax:Wt,getImage:Vt,transition:Le,Transition:We,animate:Re,Animation:Ue,attr:Z,hasAttr:Q,removeAttr:tt,data:et,addClass:xe,removeClass:ke,removeClasses:$e,replaceClass:Ie,hasClass:Se,toggleClass:Te,positionAt:Ke,offset:Ge,position:Ze,height:Qe,width:ti,boxModelAdjust:ii,flipPosition:si,isInView:ai,scrolledOver:li,scrollTop:hi,offsetPosition:ci,isReady:te,ready:ee,index:ie,getIndex:ne,empty:re,html:oe,prepend:function(e,t){return(e=we(e)).hasChildNodes()?he(t,function(t){return e.insertBefore(t,e.firstChild)}):se(e,t)},append:se,before:ae,after:le,remove:ce,wrapAll:ue,wrapInner:de,unwrap:fe,fragment:ge,apply:ve,$:we,$$:be,isIE:Yt,isRtl:Rt,hasTouch:Xt,pointerDown:Kt,pointerMove:Gt,pointerUp:Jt,pointerEnter:Zt,pointerLeave:Qt,on:Tt,off:Et,once:Ct,trigger:At,createEvent:Nt,toEventTargets:Bt,preventClick:Ot,fastdom:fi,isVoidElement:yt,isVisible:xt,selInput:kt,isInput:$t,filter:It,within:St,bind:p,hasOwn:h,hyphenate:m,camelize:g,ucfirst:a,startsWith:v,endsWith:u,includes:b,isArray:y,isFunction:x,isObject:k,isPlainObject:$,isWindow:I,isDocument:S,isJQuery:T,isNode:E,isNodeCollection:A,isBoolean:N,isString:_,isNumber:M,isNumeric:D,isUndefined:B,toBoolean:O,toNumber:z,toFloat:P,toNode:H,toNodes:F,toList:L,toMs:W,swap:V,assign:Y,each:R,sortBy:q,clamp:U,noop:X,intersectRect:K,pointInRect:G,Dimensions:J,MouseTracker:vi,mergeOptions:ki,parseOptions:$i,Player:Si,Promise:zt,Deferred:Pt,query:it,queryAll:nt,find:ot,findAll:st,matches:ft,closest:mt,parents:gt,escape:wt,css:Me,getStyles:De,getStyle:Be,getCssVar:ze,propName:He,isTouch:Bi,getPos:Oi}),Wi.data="__uikit__",Wi.prefix="uk-",Wi.options={},function(i){var e,n=i.data;function r(t,e){if(t)for(var i in t)t[i]._connected&&t[i]._callUpdate(e)}i.use=function(t){if(!t.installed)return t.call(null,this),t.installed=!0,this},i.mixin=function(t,e){(e=(_(e)?i.component(e):e)||this).options=ki(e.options,t)},i.extend=function(t){t=t||{};var e=function(t){this._init(t)};return((e.prototype=Object.create(this.prototype)).constructor=e).options=ki(this.options,t),e.super=this,e.extend=this.extend,e},i.update=function(t,e){e=Nt(e||"update"),function(t){for(var e=[];t&&t!==document.body&&t.parentNode;)t=t.parentNode,e.unshift(t);return e}(t=t?H(t):document.body).map(function(t){return r(t[n],e)}),ve(t,function(t){return r(t[n],e)})},Object.defineProperty(i,"container",{get:function(){return e||document.body},set:function(t){e=we(t)}})}(Wi),(Hi=Wi).prototype._callHook=function(t){var e=this,i=this.$options[t];i&&i.forEach(function(t){return t.call(e)})},Hi.prototype._callConnected=function(){this._connected||(this._data={},this._initProps(),this._callHook("beforeConnect"),this._connected=!0,this._initEvents(),this._initObserver(),this._callHook("connected"),this._callUpdate())},Hi.prototype._callDisconnected=function(){this._connected&&(this._callHook("beforeDisconnect"),this._observer&&(this._observer.disconnect(),this._observer=null),this._unbindEvents(),this._callHook("disconnected"),this._connected=!1)},Hi.prototype._callUpdate=function(o){var s=this,a=(o=Nt(o||"update")).type;b(["update","load","resize"],a)&&this._resetComputeds();var t=this.$options.update,e=this._frames,l=e.reads,h=e.writes;t&&t.forEach(function(t,e){var i=t.read,n=t.write,r=t.events;("update"===a||b(r,a))&&(i&&!b(fi.reads,l[e])&&(l[e]=fi.read(function(){var t=s._connected&&i.call(s,s._data,o);!1===t&&n?(fi.clear(h[e]),delete h[e]):$(t)&&Y(s._data,t),delete l[e]})),n&&!b(fi.writes,h[e])&&(h[e]=fi.write(function(){s._connected&&n.call(s,s._data,o),delete h[e]})))})},function(t){var e=0;function s(t,e){var i={},n=t.args;void 0===n&&(n=[]);var r=t.props;void 0===r&&(r={});var o=t.el;if(!r)return i;for(var s in r){var a=m(s),l=et(o,a);if(!B(l)){if(l=r[s]===Boolean&&""===l||d(r[s],l),"target"===a&&(!l||v(l,"_")))continue;i[s]=l}}var h=$i(et(o,e),n);for(var c in h){var u=g(c);void 0!==r[u]&&(i[u]=d(r[u],h[c]))}return i}function i(n,r,o){Object.defineProperty(n,r,{enumerable:!0,get:function(){var t=n._computeds,e=n.$props,i=n.$el;return h(t,r)||(t[r]=(o.get||o).call(n,e,i)),t[r]},set:function(t){var e=n._computeds;e[r]=o.set?o.set.call(n,t):t,B(e[r])&&delete e[r]}})}function f(e,i,n){$(i)||(i={name:n,handler:i});var r,o,t=i.name,s=i.el,a=i.handler,l=i.capture,h=i.passive,c=i.delegate,u=i.filter,d=i.self;s=x(s)?s.call(e):s||e.$el,y(s)?s.forEach(function(t){return f(e,Y({},i,{el:t}),n)}):!s||u&&!u.call(e)||(r=_(a)?e[a]:p(a,e),a=function(t){return y(t.detail)?r.apply(void 0,[t].concat(t.detail)):r(t)},d&&(o=a,a=function(t){if(t.target===t.currentTarget||t.target===t.current)return o.call(null,t)}),e._events.push(Tt(s,t,c?_(c)?c:c.call(e):null,a,N(h)?{passive:h,capture:l}:l)))}function n(t,e){return t.every(function(t){return!t||!h(t,e)})}function d(t,e){return t===Boolean?O(e):t===Number?z(e):"list"===t?L(e):t?t(e):e}t.prototype._init=function(t){(t=t||{}).data=function(t,e){var i=t.data,n=(t.el,e.args),r=e.props;if(void 0===r&&(r={}),i=y(i)?n&&n.length?i.slice(0,n.length).reduce(function(t,e,i){return $(e)?Y(t,e):t[n[i]]=e,t},{}):void 0:i)for(var o in i)B(i[o])?delete i[o]:i[o]=r[o]?d(r[o],i[o]):i[o];return i}(t,this.constructor.options),this.$options=ki(this.constructor.options,t,this),this.$el=null,this.$props={},this._frames={reads:{},writes:{}},this._events=[],this._uid=e++,this._initData(),this._initMethods(),this._initComputeds(),this._callHook("created"),t.el&&this.$mount(t.el)},t.prototype._initData=function(){var t=this.$options.data;for(var e in void 0===t&&(t={}),t)this.$props[e]=this[e]=t[e]},t.prototype._initMethods=function(){var t=this.$options.methods;if(t)for(var e in t)this[e]=p(t[e],this)},t.prototype._initComputeds=function(){var t=this.$options.computed;if(this._resetComputeds(),t)for(var e in t)i(this,e,t[e])},t.prototype._resetComputeds=function(){this._computeds={}},t.prototype._initProps=function(t){var e;for(e in this._resetComputeds(),t=t||s(this.$options,this.$name))B(t[e])||(this.$props[e]=t[e]);var i=[this.$options.computed,this.$options.methods];for(e in this.$props)e in t&&n(i,e)&&(this[e]=this.$props[e])},t.prototype._initEvents=function(){var i=this,t=this.$options.events;t&&t.forEach(function(t){if(h(t,"handler"))f(i,t);else for(var e in t)f(i,t[e],e)})},t.prototype._unbindEvents=function(){this._events.forEach(function(t){return t()}),this._events=[]},t.prototype._initObserver=function(){var i=this,t=this.$options,n=t.attrs,e=t.props,r=t.el;if(!this._observer&&e&&!1!==n){n=y(n)?n:Object.keys(e),this._observer=new MutationObserver(function(){var e=s(i.$options,i.$name);n.some(function(t){return!B(e[t])&&e[t]!==i.$props[t]})&&i.$reset()});var o=n.map(function(t){return m(t)}).concat(this.$name);this._observer.observe(r,{attributes:!0,attributeFilter:o.concat(o.map(function(t){return"data-"+t}))})}}}(Wi),Fi=(ji=Wi).data,Li={},ji.component=function(s,t){if(!t)return $(Li[s])&&(Li[s]=ji.extend(Li[s])),Li[s];ji[s]=function(t,i){for(var e=arguments.length,n=Array(e);e--;)n[e]=arguments[e];var r=ji.component(s);return $(t)?new r({data:t}):r.options.functional?new r({data:[].concat(n)}):t&&t.nodeType?o(t):be(t).map(o)[0];function o(t){var e=ji.getComponent(t,s);if(e){if(!i)return e;e.$destroy()}return new r({el:t,data:i})}};var e=$(t)?Y({},t):t.options;if(e.name=s,e.install&&e.install(ji,e,s),ji._initialized&&!e.functional){var i=m(s);fi.read(function(){return ji[s]("[uk-"+i+"],[data-uk-"+i+"]")})}return Li[s]=$(t)?e:t},ji.getComponents=function(t){return t&&t[Fi]||{}},ji.getComponent=function(t,e){return ji.getComponents(t)[e]},ji.connect=function(t){if(t[Fi])for(var e in t[Fi])t[Fi][e]._callConnected();for(var i=0;i<t.attributes.length;i++){var n=Pi(t.attributes[i].name);n&&n in Li&&ji[n](t)}},ji.disconnect=function(t){for(var e in t[Fi])t[Fi][e]._callDisconnected()},function(n){var r=n.data;n.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,St(t,document)&&this._callConnected())},n.prototype.$emit=function(t){this._callUpdate(t)},n.prototype.$reset=function(){this._callDisconnected(),this._callConnected()},n.prototype.$destroy=function(t){void 0===t&&(t=!1);var e=this.$options,i=e.el,n=e.name;i&&this._callDisconnected(),this._callHook("destroy"),i&&i[r]&&(delete i[r][n],Object.keys(i[r]).length||delete i[r],t&&ce(this.$el))},n.prototype.$create=function(t,e,i){return n[t](e,i)},n.prototype.$update=n.update,n.prototype.$getComponent=n.getComponent;var e={};Object.defineProperties(n.prototype,{$container:Object.getOwnPropertyDescriptor(n,"container"),$name:{get:function(){var t=this.$options.name;return e[t]||(e[t]=n.prefix+m(t)),e[t]}}})}(Wi);var Vi={connected:function(){!Se(this.$el,this.$name)&&xe(this.$el,this.$name)}},Yi={props:{cls:Boolean,animation:"list",duration:Number,origin:String,transition:String,queued:Boolean},data:{cls:!1,animation:[!1],duration:200,origin:!1,transition:"linear",queued:!1,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){var e=t.animation;return this.hasAnimation&&!0===e[0]}},methods:{toggleElement:function(h,c,u){var d=this;return new zt(function(t){h=F(h);var e,i=function(t){return zt.all(t.map(function(t){return d._toggleElement(t,c,u)}))},n=h.filter(function(t){return d.isToggled(t)}),r=h.filter(function(t){return!b(n,t)});if(d.queued&&B(u)&&B(c)&&d.hasAnimation&&!(h.length<2)){var o=document.body,s=o.scrollTop,a=n[0],l=Ue.inProgress(a)&&Se(a,"uk-animation-leave")||We.inProgress(a)&&"0px"===a.style.height;e=i(n),l||(e=e.then(function(){var t=i(r);return o.scrollTop=s,t}))}else e=i(r.concat(n));e.then(t,X)})},toggleNow:function(e,i){var n=this;return new zt(function(t){return zt.all(F(e).map(function(t){return n._toggleElement(t,i,!1)})).then(t,X)})},isToggled:function(t){var e=F(t||this.$el);return this.cls?Se(e,this.cls.split(" ")[0]):!Q(e,"hidden")},updateAria:function(t){!1===this.cls&&Z(t,"aria-hidden",!this.isToggled(t))},_toggleElement:function(t,e,i){var n=this;if(e=N(e)?e:Ue.inProgress(t)?Se(t,"uk-animation-leave"):We.inProgress(t)?"0px"===t.style.height:!this.isToggled(t),!At(t,"before"+(e?"show":"hide"),[this]))return zt.reject();var r,o,s,a,l,h,c,u,d,f,p,m,g=(x(i)?i:!1!==i&&this.hasAnimation?this.hasTransition?(c=(h=this).isToggled,u=h.duration,d=h.initProps,f=h.hideProps,p=h.transition,m=h._toggle,function(t,e){var i=We.inProgress(t),n=t.hasChildNodes?P(Me(t.firstElementChild,"marginTop"))+P(Me(t.lastElementChild,"marginBottom")):0,r=xt(t)?Qe(t)+(i?0:n):0;We.cancel(t),c(t)||m(t,!0),Qe(t,""),fi.flush();var o=Qe(t)+(i?0:n);return Qe(t,r),(e?We.start(t,Y({},d,{overflow:"hidden",height:o}),Math.round(u*(1-r/o)),p):We.start(t,f,Math.round(u*(r/o)),p).then(function(){return m(t,!1)})).then(function(){return Me(t,d)})}):(o=(r=this).animation,s=r.duration,a=r.origin,l=r._toggle,function(t,e){return Ue.cancel(t),e?(l(t,!0),Ue.in(t,o[0],s,a)):Ue.out(t,o[1]||o[0],s,a).then(function(){return l(t,!1)})}):this._toggle)(t,e);At(t,e?"show":"hide",[this]);var v=function(){At(t,e?"shown":"hidden",[n]),n.$update(t)};return g?g.then(v):zt.resolve(v())},_toggle:function(t,e){var i;t&&(this.cls?(i=b(this.cls," ")||Boolean(e)!==Se(t,this.cls))&&Te(t,this.cls,b(this.cls," ")?void 0:e):(i=Boolean(e)===Q(t,"hidden"))&&Z(t,"hidden",e?null:""),be("[autofocus]",t).some(function(t){return xt(t)&&(t.focus()||!0)}),this.updateAria(t),i&&this.$update(t))}}};var Ri={mixins:[Vi,Yi],props:{targets:String,active:null,collapsible:Boolean,multiple:Boolean,toggle:String,content:String,transition:String},data:{targets:"> *",active:!1,animation:[!0],collapsible:!0,multiple:!1,clsOpen:"uk-open",toggle:"> .uk-accordion-title",content:"> .uk-accordion-content",transition:"ease"},computed:{items:function(t,e){return be(t.targets,e)}},events:[{name:"click",delegate:function(){return this.targets+" "+this.$props.toggle},handler:function(t){t.preventDefault(),this.toggle(ie(be(this.targets+" "+this.$props.toggle,this.$el),t.current))}}],connected:function(){if(!1!==this.active){var t=this.items[Number(this.active)];t&&!Se(t,this.clsOpen)&&this.toggle(t,!1)}},update:function(){var e=this;this.items.forEach(function(t){return e._toggle(we(e.content,t),Se(t,e.clsOpen))});var t=!this.collapsible&&!Se(this.items,this.clsOpen)&&this.items[0];t&&this.toggle(t,!1)},methods:{toggle:function(r,o){var s=this,t=ne(r,this.items),a=It(this.items,"."+this.clsOpen);(r=this.items[t])&&[r].concat(!this.multiple&&!b(a,r)&&a||[]).forEach(function(t){var e=t===r,i=e&&!Se(t,s.clsOpen);if(i||!e||s.collapsible||!(a.length<2)){Te(t,s.clsOpen,i);var n=t._wrapper?t._wrapper.firstElementChild:we(s.content,t);t._wrapper||(t._wrapper=ue(n,"<div>"),Z(t._wrapper,"hidden",i?"":null)),s._toggle(n,!0),s.toggleElement(t._wrapper,i,o).then(function(){Se(t,s.clsOpen)===i&&(i||s._toggle(n,!1),t._wrapper=null,fe(n))})}})}}},qi={mixins:[Vi,Yi],args:"animation",props:{close:String},data:{animation:[!0],selClose:".uk-alert-close",duration:150,hideProps:Y({opacity:0},Yi.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)})}}};function Ui(o){ee(function(){o.update();var i=0,n=0;if(Tt(window,"load resize",function(t){return o.update(null,t)}),Tt(window,"scroll",function(t){var e=t.target;t.dir=i<=window.pageYOffset?"down":"up",t.pageYOffset=i=window.pageYOffset,o.update(1!==e.nodeType?document.body:e,t)},{passive:!0,capture:!0}),Tt(document,"loadedmetadata load",function(t){var e=t.target;return o.update(e,"load")},!0),Tt(document,"animationstart",function(t){var e=t.target;(Me(e,"animationName")||"").match(/^uk-.*(left|right)/)&&(n++,Me(document.body,"overflowX","hidden"),setTimeout(function(){--n||Me(document.body,"overflowX","")},W(Me(e,"animationDuration"))+100))},!0),Xt){var r="uk-hover";Tt(document,"tap",function(t){var e=t.target;return be("."+r).forEach(function(t){return!St(e,t)&&ke(t,r)})}),Object.defineProperty(o,"hoverSelector",{set:function(t){Tt(document,"tap",t,function(t){return xe(t.current,r)})}}),o.hoverSelector=".uk-animation-toggle, .uk-transition-toggle, [uk-hover]"}})}var Xi,Ki,Gi={args:"autoplay",props:{automute:Boolean,autoplay:Boolean},data:{automute:!1,autoplay:!0},computed:{inView:function(t){return"inview"===t.autoplay}},connected:function(){this.inView&&!Q(this.$el,"preload")&&(this.$el.preload="none"),this.player=new Si(this.$el),this.automute&&this.player.mute()},update:{read:function(t,e){var i=e.type;return!(!this.player||!("scroll"!==i&&"resize"!==i||this.inView))&&{visible:xt(this.$el)&&"hidden"!==Me(this.$el,"visibility"),inView:this.inView&&ai(this.$el)}},write:function(t){var e=t.visible,i=t.inView;!e||this.inView&&!i?this.player.pause():(!0===this.autoplay||this.inView&&i)&&this.player.play()},events:["load","resize","scroll"]}},Ji={mixins:[Vi,Gi],props:{width:Number,height:Number},data:{automute:!0},update:{read:function(){var t=this.$el;if(!xt(t))return!1;var e=t.parentNode;return{height:e.offsetHeight,width:e.offsetWidth}},write:function(t){var e=t.height,i=t.width,n=this.$el,r=this.width||n.naturalWidth||n.videoWidth||n.clientWidth,o=this.height||n.naturalHeight||n.videoHeight||n.clientHeight;r&&o&&Me(n,J.cover({width:r,height:o},{width:i+(i%2?1:0),height:e+(e%2?1:0)}))},events:["load","resize"]}},Zi={props:{pos:String,offset:null,flip:Boolean,clsPos:String},data:{pos:"bottom-"+(Rt?"right":"left"),flip:!0,offset:!1,clsPos:""},computed:{pos:function(t){var e=t.pos;return(e+(b(e,"-")?"":"-center")).split("-")},dir:function(){return this.pos[0]},align:function(){return this.pos[1]}},methods:{positionAt:function(t,e,i){var n;$e(t,this.clsPos+"-(top|bottom|left|right)(-[a-z]+)?"),Me(t,{top:"",left:""});var r=this.offset,o=this.getAxis();r=D(r)?r:(n=we(r))?Ge(n)["x"===o?"left":"top"]-Ge(e)["x"===o?"right":"bottom"]:0;var s=Ke(t,e,"x"===o?si(this.dir)+" "+this.align:this.align+" "+si(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,i).target,a=s.x,l=s.y;this.dir="x"===o?a:l,this.align="x"===o?l:a,Te(t,this.clsPos+"-"+this.dir+"-"+this.align,!1===this.offset)},getAxis:function(){return"top"===this.dir||"bottom"===this.dir?"y":"x"}}},Qi={mixins:[Zi,Yi],args:"pos",props:{mode:"list",toggle:Boolean,boundary:Boolean,boundaryAlign:Boolean,delayShow:Number,delayHide:Number,clsDrop:String},data:{mode:["click","hover"],toggle:"- *",boundary:window,boundaryAlign:!1,delayShow:0,delayHide:800,clsDrop:!1,hoverIdle:200,animation:["uk-animation-fade"],cls:"uk-open"},computed:{boundary:function(t,e){return it(t.boundary,e)},clsDrop:function(t){return t.clsDrop||"uk-"+this.$options.name},clsPos:function(){return this.clsDrop}},created:function(){this.tracker=new vi},connected:function(){xe(this.$el,this.clsDrop);var t=this.$props.toggle;this.toggle=t&&this.$create("toggle",it(t,this.$el),{target:this.$el,mode:this.mode}),this.updateAria(this.$el)},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){if(!t.defaultPrevented){var e=t.target.hash;e||t.preventDefault(),e&&St(e,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:Zt,filter:function(){return b(this.mode,"hover")},handler:function(t){Bi(t)||(Xi&&Xi!==this&&Xi.toggle&&b(Xi.toggle.mode,"hover")&&!St(t.target,Xi.toggle.$el)&&!G({x:t.pageX,y:t.pageY},Ge(Xi.$el))&&Xi.hide(!1),t.preventDefault(),this.show(this.toggle))}},{name:"toggleshow",handler:function(t,e){e&&!b(e.target,this.$el)||(t.preventDefault(),this.show(e||this.toggle))}},{name:"togglehide "+Qt,handler:function(t,e){Bi(t)||e&&!b(e.target,this.$el)||(t.preventDefault(),this.toggle&&b(this.toggle.mode,"hover")&&this.hide())}},{name:"beforeshow",self:!0,handler:function(){this.clearTimers(),Ue.cancel(this.$el),this.position()}},{name:"show",self:!0,handler:function(){this.tracker.init(),this.toggle&&(xe(this.toggle.$el,this.cls),Z(this.toggle.$el,"aria-expanded","true")),function(){if(Ki)return;Ki=!0,Tt(document,"click",function(t){var e,i=t.target,n=t.defaultPrevented;if(!n)for(;Xi&&Xi!==e&&!St(i,Xi.$el)&&(!Xi.toggle||!St(i,Xi.toggle.$el));)(e=Xi).hide(!1)})}()}},{name:"beforehide",self:!0,handler:function(){this.clearTimers()}},{name:"hide",handler:function(t){var e=t.target;this.$el===e?(Xi=this.isActive()?null:Xi,this.toggle&&(ke(this.toggle.$el,this.cls),Z(this.toggle.$el,"aria-expanded","false"),this.toggle.$el.blur(),be("a, button",this.toggle.$el).forEach(function(t){return t.blur()})),this.tracker.cancel()):Xi=null===Xi&&St(e,this.$el)&&this.isToggled()?this:Xi}}],update:{write:function(){this.isToggled()&&!Ue.inProgress(this.$el)&&this.position()},events:["resize"]},methods:{show:function(e,i){var n=this;void 0===i&&(i=!0);var r=function(){return!n.isToggled()&&n.toggleElement(n.$el,!0)},t=function(){if(n.toggle=e||n.toggle,n.clearTimers(),!n.isActive())if(i&&Xi&&Xi!==n&&Xi.isDelaying)n.showTimer=setTimeout(n.show,10);else{if(n.isParentOf(Xi)){if(!Xi.hideTimer)return;Xi.hide(!1)}else if(Xi&&!n.isChildOf(Xi)&&!n.isParentOf(Xi))for(var t;Xi&&Xi!==t&&!n.isChildOf(Xi);)(t=Xi).hide(!1);i&&n.delayShow?n.showTimer=setTimeout(r,n.delayShow):r(),Xi=n}};e&&this.toggle&&e.$el!==this.toggle.$el?(Ct(this.$el,"hide",t),this.hide(!1)):t()},hide:function(t){var e=this;void 0===t&&(t=!0);var i=function(){return e.toggleNow(e.$el,!1)};this.clearTimers(),this.isDelaying=this.tracker.movesTo(this.$el),t&&this.isDelaying?this.hideTimer=setTimeout(this.hide,this.hoverIdle):t&&this.delayHide?this.hideTimer=setTimeout(i,this.delayHide):i()},clearTimers:function(){clearTimeout(this.showTimer),clearTimeout(this.hideTimer),this.showTimer=null,this.hideTimer=null,this.isDelaying=!1},isActive:function(){return Xi===this},isChildOf:function(t){return t&&t!==this&&St(this.$el,t.$el)},isParentOf:function(t){return t&&t!==this&&St(t.$el,this.$el)},position:function(){$e(this.$el,this.clsDrop+"-(stack|boundary)"),Me(this.$el,{top:"",left:"",display:"block"}),Te(this.$el,this.clsDrop+"-boundary",this.boundaryAlign);var t=Ge(this.boundary),e=this.boundaryAlign?t:Ge(this.toggle.$el);if("justify"===this.align){var i="y"===this.getAxis()?"width":"height";Me(this.$el,i,e[i])}else this.$el.offsetWidth>Math.max(t.right-e.left,e.right-t.left)&&xe(this.$el,this.clsDrop+"-stack");this.positionAt(this.$el,this.boundaryAlign?this.boundary:this.toggle.$el,this.boundary),Me(this.$el,"display","")}}};var tn={extends:Qi},en={mixins:[Vi],args:"target",props:{target:Boolean},data:{target:!1},computed:{input:function(t,e){return we(kt,e)},state:function(){return this.input.nextElementSibling},target:function(t,e){var i=t.target;return i&&(!0===i&&this.input.parentNode===e&&this.input.nextElementSibling||it(i,e))}},update:function(){var t=this.target,e=this.input;if(t){var i,n=$t(t)?"value":"textContent",r=t[n],o=e.files&&e.files[0]?e.files[0].name:ft(e,"select")&&(i=be("option",e).filter(function(t){return t.selected})[0])?i.textContent:e.value;r!==o&&(t[n]=o)}},events:[{name:"focusin focusout mouseenter mouseleave",delegate:kt,handler:function(t){var e=t.type;t.current===this.input&&Te(this.state,"uk-"+(b(e,"focus")?"focus":"hover"),b(["focusin","mouseenter"],e))}},{name:"change",handler:function(){this.$emit()}}]},nn={update:{read:function(t){var e=ai(this.$el);if(!e||t.isInView===e)return!1;t.isInView=e},write:function(){this.$el.src=this.$el.src},events:["scroll","load","resize"]}},rn={props:{margin:String,firstColumn:Boolean},data:{margin:"uk-margin-small-top",firstColumn:"uk-first-column"},update:{read:function(t){var e=this.$el.children;if(!e.length||!xt(this.$el))return t.rows=[[]];t.rows=on(e),t.stacks=!t.rows.some(function(t){return 1<t.length})},write:function(t){var n=this;t.rows.forEach(function(t,i){return t.forEach(function(t,e){Te(t,n.margin,0!==i),Te(t,n.firstColumn,0===e)})})},events:["load","resize"]}};function on(t){for(var e=[[]],i=0;i<t.length;i++){var n=t[i],r=sn(n);if(r.height)for(var o=e.length-1;0<=o;o--){var s=e[o];if(!s[0]){s.push(n);break}var a=void 0;if(a=s[0].offsetParent===n.offsetParent?sn(s[0]):(r=sn(n,!0),sn(s[0],!0)),r.top>=a.bottom-1){e.push([n]);break}if(r.bottom>a.top){if(r.left<a.left&&!Rt){s.unshift(n);break}s.push(n);break}if(0===o){e.unshift([n]);break}}}return e}function sn(t,e){var i;void 0===e&&(e=!1);var n=t.offsetTop,r=t.offsetLeft,o=t.offsetHeight;return e&&(n=(i=ci(t))[0],r=i[1]),{top:n,left:r,height:o,bottom:n+o}}var an={extends:rn,mixins:[Vi],name:"grid",props:{masonry:Boolean,parallax:Number},data:{margin:"uk-grid-margin",clsStack:"uk-grid-stack",masonry:!1,parallax:0},computed:{length:function(t,e){return e.children.length},parallax:function(t){var e=t.parallax;return e&&this.length?Math.abs(e):""}},connected:function(){this.masonry&&xe(this.$el,"uk-flex-top uk-flex-wrap-top")},update:[{read:function(t){var r=t.rows;(this.masonry||this.parallax)&&(r=r.map(function(t){return q(t,"offsetLeft")}),Rt&&r.map(function(t){return t.reverse()}));var e,i,n,o,s,a=r.some(function(t){return t.some(We.inProgress)}),l=!1,h="";if(this.masonry&&this.length){var c=0;l=r.reduce(function(i,t,n){return i[n]=t.map(function(t,e){return 0===n?0:P(i[n-1][e])+(c-P(r[n-1][e]&&r[n-1][e].offsetHeight))}),c=t.reduce(function(t,e){return Math.max(t,e.offsetHeight)},0),i},[]),s=r,h=Math.max.apply(Math,s.reduce(function(i,t){return t.forEach(function(t,e){return i[e]=(i[e]||0)+t.offsetHeight}),i},[]))+(e=this.$el,i=this.margin,n=F(e.children),P((o=n.filter(function(t){return Se(t,i)})[0])?Me(o,"marginTop"):Me(n[0],"paddingLeft"))*(r.length-1))}return{rows:r,translates:l,height:!a&&h}},write:function(t){var e=t.stacks,i=t.height;Te(this.$el,this.clsStack,e),Me(this.$el,"paddingBottom",this.parallax),!1!==i&&Me(this.$el,"height",i)},events:["load","resize"]},{read:function(t){var e=t.height;return{scrolled:!!this.parallax&&li(this.$el,e?e-Qe(this.$el):0)*this.parallax}},write:function(t){var e=t.rows,n=t.scrolled,r=t.translates;(!1!==n||r)&&e.forEach(function(t,i){return t.forEach(function(t,e){return Me(t,"transform",n||r?"translateY("+((r&&-r[i][e])+(n?e%2?n:n/8:0))+"px)":"")})})},events:["scroll","load","resize"]}]};var ln=Yt?{data:{selMinHeight:!1,forceHeight:!1},computed:{elements:function(t,e){var i=t.selMinHeight;return i?be(i,e):[e]}},update:[{read:function(){Me(this.elements,"height","")},order:-5,events:["load","resize"]},{write:function(){var i=this;this.elements.forEach(function(t){var e=P(Me(t,"minHeight"));e&&(i.forceHeight||Math.round(e)>=Qe(t))&&Me(t,"height",e)})},order:5,events:["load","resize"]}]}:{},hn={mixins:[ln],args:"target",props:{target:String,row:Boolean},data:{target:"> *",row:!0,forceHeight:!0},computed:{elements:function(t,e){return be(t.target,e)}},update:{read:function(){return{rows:(this.row?on(this.elements):[this.elements]).map(cn)}},write:function(t){t.rows.forEach(function(t){var i=t.heights;return t.elements.forEach(function(t,e){return Me(t,"minHeight",i[e])})})},events:["load","resize"]}};function cn(t){var e;if(t.length<2)return{heights:[""],elements:t};var i=un(t),n=i.heights,r=i.max,o=t.some(function(t){return t.style.minHeight}),s=t.some(function(t,e){return!t.style.minHeight&&n[e]<r});return o&&s&&(Me(t,"minHeight",""),e=un(t),n=e.heights,r=e.max),{heights:n=t.map(function(t,e){return n[e]===r&&P(t.style.minHeight).toFixed(2)!==r.toFixed(2)?"":r}),elements:t}}function un(t){var e=t.map(function(t){return Ge(t).height-ii("height",t,"content-box")});return{heights:e,max:Math.max.apply(null,e)}}var dn={mixins:[ln],props:{expand:Boolean,offsetTop:Boolean,offsetBottom:Boolean,minHeight:Number},data:{expand:!1,offsetTop:!1,offsetBottom:!1,minHeight:0},update:{read:function(){var t="",e=ii("height",this.$el,"content-box");if(this.expand)t=Qe(window)-(fn(document.documentElement)-fn(this.$el))-e||"";else{if(t="calc(100vh",this.offsetTop){var i=Ge(this.$el).top;t+=i<Qe(window)/2?" - "+i+"px":""}!0===this.offsetBottom?t+=" - "+fn(this.$el.nextElementSibling)+"px":D(this.offsetBottom)?t+=" - "+this.offsetBottom+"vh":this.offsetBottom&&u(this.offsetBottom,"px")?t+=" - "+P(this.offsetBottom)+"px":_(this.offsetBottom)&&(t+=" - "+fn(it(this.offsetBottom,this.$el))+"px"),t+=(e?" - "+e+"px":"")+")"}return{minHeight:t}},write:function(t){var e=t.minHeight;Me(this.$el,{minHeight:e}),this.minHeight&&P(Me(this.$el,"minHeight"))<this.minHeight&&Me(this.$el,"minHeight",this.minHeight)},events:["load","resize"]}};function fn(t){return t&&t.offsetHeight||0}var pn={},mn={args:"src",props:{id:String,icon:String,src:String,style:String,width:Number,height:Number,ratio:Number,class:String},data:{ratio:1,id:!1,exclude:["ratio","src","icon"],class:""},connected:function(){var t,l=this;if(this.class+=" uk-svg",!this.icon&&b(this.src,"#")){var e=this.src.split("#");1<e.length&&(t=e,this.src=t[0],this.icon=t[1])}this.svg=this.getSvg().then(function(t){var e;if(!(e=_(t)?(l.icon&&b(t,"<symbol")&&(t=function(t,e){if(!vn[t]){var i;for(vn[t]={};i=gn.exec(t);)vn[t][i[3]]='<svg xmlns="http://www.w3.org/2000/svg"'+i[1]+"svg>";gn.lastIndex=0}return vn[t][e]}(t,l.icon)||t),we(t.substr(t.indexOf("<svg")))):t.cloneNode(!0)))return zt.reject("SVG not found.");var i=Z(e,"viewBox");for(var n in i&&(i=i.split(" "),l.width=l.$props.width||i[2],l.height=l.$props.height||i[3]),l.width*=l.ratio,l.height*=l.ratio,l.$options.props)l[n]&&!b(l.exclude,n)&&Z(e,n,l[n]);l.id||tt(e,"id"),l.width&&!l.height&&tt(e,"height"),l.height&&!l.width&&tt(e,"width");var r=l.icon||l.src;Z(e,"data-svg",r);var o=l.$el;if(yt(o)||"CANVAS"===o.tagName){Z(o,{hidden:!0,id:null});var s=o.nextElementSibling;r===Z(s,"data-svg")?e=s:le(o,e)}else{var a=o.lastElementChild;r===Z(a,"data-svg")?e=a:se(o,e)}return l.svgEl=e},X)},disconnected:function(){var e=this;yt(this.$el)&&Z(this.$el,{hidden:null,id:this.id||null}),this.svg&&this.svg.then(function(t){return(!e._connected||t!==e.svgEl)&&ce(t)},X),this.svg=this.svgEl=null},methods:{getSvg:function(){var i=this;return this.src?(pn[this.src]||(pn[this.src]=new zt(function(e,t){v(i.src,"data:")?e(decodeURIComponent(i.src.split(",")[1])):Wt(i.src).then(function(t){return e(t.response)},function(){return t("SVG not found.")})})),pn[this.src]):zt.reject()}}},gn=/<symbol(.*?id=(['"])(.*?)\2[^]*?<\/)symbol>/g,vn={};var wn={},bn={spinner:'<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>',totop:'<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>',marker:'<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>',"close-icon":'<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>',"close-large":'<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>',"navbar-toggle-icon":'<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>',"overlay-icon":'<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>',"pagination-next":'<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>',"pagination-previous":'<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>',"search-icon":'<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>',"search-large":'<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>',"search-navbar":'<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>',"slidenav-next":'<svg width="14px" height="24px" 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>',"slidenav-next-large":'<svg width="25px" height="40px" 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>',"slidenav-previous":'<svg width="14px" height="24px" 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>',"slidenav-previous-large":'<svg width="25px" height="40px" 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>'},yn={install:function(r){r.icon.add=function(t,e){var i,n=_(t)?((i={})[t]=e,i):t;R(n,function(t,e){bn[e]=t,delete wn[e]}),r._initialized&&ve(document.body,function(t){return R(r.getComponents(t),function(t){return t.$options.isIcon&&t.icon in n&&t.$reset()})})}},attrs:["icon","ratio"],mixins:[Vi,mn],args:"icon",props:["icon"],data:{exclude:["id","style","class","src","icon","ratio"]},isIcon:!0,connected:function(){xe(this.$el,"uk-icon")},methods:{getSvg:function(){var t,e=function(t){if(!bn[t])return null;wn[t]||(wn[t]=we(bn[t].trim()));return wn[t]}((t=this.icon,Rt?V(V(t,"left","right"),"previous","next"):t));return e?zt.resolve(e):zt.reject("Icon not found.")}}},xn={extends:yn,data:function(t){return{icon:m(t.constructor.options.name)}}},kn={extends:xn,connected:function(){xe(this.$el,"uk-slidenav")},computed:{icon:function(t,e){var i=t.icon;return Se(e,"uk-slidenav-large")?i+"-large":i}}},$n={extends:xn,computed:{icon:function(t,e){var i=t.icon;return Se(e,"uk-search-icon")&&gt(e,".uk-search-large").length?"search-large":gt(e,".uk-search-navbar").length?"search-navbar":i}}},In={extends:xn,computed:{icon:function(){return"close-"+(Se(this.$el,"uk-close-large")?"large":"icon")}}},Sn={extends:xn,connected:function(){var e=this;this.svg.then(function(t){return 1!==e.ratio&&Me(we("circle",t),"strokeWidth",1/e.ratio)},X)}};var Tn={props:{dataSrc:String,dataSrcset:Boolean,sizes:String,width:Number,height:Number,offsetTop:String,offsetLeft:String,target:String},data:{dataSrc:"",dataSrcset:!1,sizes:!1,width:!1,height:!1,offsetTop:"50vh",offsetLeft:0,target:!1},computed:{cacheKey:function(t){var e=t.dataSrc;return this.$name+"."+e},width:function(t){var e=t.width,i=t.dataWidth;return e||i},height:function(t){var e=t.height,i=t.dataHeight;return e||i},sizes:function(t){var e=t.sizes,i=t.dataSizes;return e||i},isImg:function(t,e){return Bn(e)},target:function(t){var e=t.target;return[this.$el].concat(nt(e,this.$el))},offsetTop:function(t){return _n(t.offsetTop,"height")},offsetLeft:function(t){return _n(t.offsetLeft,"width")}},connected:function(){zn[this.cacheKey]?En(this.$el,zn[this.cacheKey]||this.dataSrc,this.dataSrcset,this.sizes):this.isImg&&this.width&&this.height&&En(this.$el,function(t,e,i){var n;if(i){for(var r;r=Cn.exec(i);)if(!r[1]||window.matchMedia(r[1]).matches){o=r[2],r=v(o,"calc")?o.substring(5,o.length-1).replace(An,function(t){return _n(t)}).replace(/ /g,"").match(Nn).reduce(function(t,e){return t+ +e},0):o;break}Cn.lastIndex=0,n=J.ratio({width:t,height:e},"width",_n(r||"100vw")),t=n.width,e=n.height}var o;return'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="'+t+'" height="'+e+'"></svg>'}(this.width,this.height,this.sizes))},update:{read:function(t){var e=this,i=t.update,n=t.image;if(i){if(!n&&this.target.some(function(t){return ai(t,e.offsetTop,e.offsetLeft,!0)}))return{image:Vt(this.dataSrc,this.dataSrcset,this.sizes).then(function(t){return En(e.$el,On(t),t.srcset,t.sizes),zn[e.cacheKey]=On(t),t},X)};!this.isImg&&n&&n.then(function(t){return t&&En(e.$el,On(t))})}},write:function(t){if(!t.update)return this.$emit(),t.update=!0},events:["scroll","load","resize"]}};function En(t,e,i,n){if(Bn(t))n&&(t.sizes=n),i&&(t.srcset=i),e&&(t.src=e);else if(e){!b(t.style.backgroundImage,e)&&(Me(t,"backgroundImage","url("+e+")"),At(t,Nt("load",!1)))}}var Cn=/\s*(.*?)\s*(\w+|calc\(.*?\))\s*(?:,|$)/g;var An=/\d+(?:\w+|%)/g,Nn=/[+-]?(\d+)/g;function _n(t,e,i){return void 0===e&&(e="width"),void 0===i&&(i=window),D(t)?+t:u(t,"vw")?Dn(i,"width",t):u(t,"vh")?Dn(i,"height",t):u(t,"%")?Dn(i,e,t):P(t)}var Mn={height:Qe,width:ti};function Dn(t,e,i){return Mn[e](t)*P(i)/100}function Bn(t){return"IMG"===t.tagName}function On(t){return t.currentSrc||t.src}var zn,Pn="__test__";try{(zn=window.sessionStorage||{})[Pn]=1,delete zn[Pn]}catch(t){zn={}}var Hn={props:{media:Boolean},data:{media:!1},computed:{matchMedia:function(){var t=function(t){if(_(t))if("@"===t[0]){var e="breakpoint-"+t.substr(1);t=P(ze(e))}else if(isNaN(t))return t;return!(!t||isNaN(t))&&"(min-width: "+t+"px)"}(this.media);return!t||window.matchMedia(t).matches}}};var jn,Fn,Ln={mixins:[Vi,Hn],props:{fill:String},data:{fill:"",clsWrapper:"uk-leader-fill",clsHide:"uk-leader-hide",attrFill:"data-fill"},computed:{fill:function(t){return t.fill||ze("leader-fill-content")}},connected:function(){var t;t=de(this.$el,'<span class="'+this.clsWrapper+'">'),this.wrapper=t[0]},disconnected:function(){fe(this.wrapper.childNodes)},update:{read:function(t){var e=t.changed,i=t.width,n=i;return{width:i=Math.floor(this.$el.offsetWidth/2),changed:e||n!==i,hide:!this.matchMedia}},write:function(t){Te(this.wrapper,this.clsHide,t.hide),t.changed&&(t.changed=!1,Z(this.wrapper,this.attrFill,new Array(t.width).join(this.fill)))},events:["load","resize"]}},Wn={props:{container:Boolean},data:{container:!0},computed:{container:function(t){var e=t.container;return!0===e&&this.$container||e&&we(e)}}},Vn={mixins:[Vi,Wn,Yi],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:function(t,e){return we(t.selPanel,e)},transitionElement:function(){return this.panel},bgClose:function(t){return t.bgClose&&this.panel}},beforeDisconnect:function(){this.isToggled()&&this.toggleNow(this.$el,!1)},events:[{name:"click",delegate:function(){return this.selClose},handler:function(t){t.preventDefault(),this.hide()}},{name:"toggle",self:!0,handler:function(t){t.defaultPrevented||(t.preventDefault(),this.toggle())}},{name:"beforeshow",self:!0,handler:function(t){var i=jn&&jn!==this&&jn;jn=this,i?this.stack?this.prev=i:((jn=i).isToggled()?i.hide().then(this.show):Ct(i.$el,"beforeshow hidden",this.show,!1,function(t){var e=t.target;return"hidden"===t.type&&e===i.$el}),t.preventDefault()):function(){if(Fn)return;Fn=[Tt(document,"click",function(t){var e=t.target,i=t.defaultPrevented;!jn||!jn.bgClose||i||jn.overlay&&!St(e,jn.$el)||St(e,jn.panel)||jn.hide()}),Tt(document,"keydown",function(t){27===t.keyCode&&jn&&jn.escClose&&(t.preventDefault(),jn.hide())})]}()}},{name:"show",self:!0,handler:function(){Se(document.documentElement,this.clsPage)||(this.scrollbarWidth=ti(window)-ti(document),Me(document.body,"overflowY",this.scrollbarWidth&&this.overlay?"scroll":"")),xe(document.documentElement,this.clsPage)}},{name:"hide",self:!0,handler:function(){jn&&(jn!==this||this.prev)||(Fn&&Fn.forEach(function(t){return t()}),Fn=null)}},{name:"hidden",self:!0,handler:function(){var t,e=this.prev;if(jn=jn&&jn!==this&&jn||e)for(;e;){if(e.clsPage===this.clsPage){t=!0;break}e=e.prev}else Me(document.body,"overflowY","");t||ke(document.documentElement,this.clsPage)}}],methods:{toggle:function(){return this.isToggled()?this.hide():this.show()},show:function(){var e=this;return this.isToggled()?zt.resolve():this.container&&this.$el.parentNode!==this.container?(se(this.container,this.$el),new zt(function(t){return requestAnimationFrame(function(){return e.show().then(t)})})):this.toggleElement(this.$el,!0,Yn(this))},hide:function(){return this.isToggled()?this.toggleElement(this.$el,!1,Yn(this)):zt.resolve()},getActive:function(){return jn}}};function Yn(t){var r=t.transitionElement,o=t._toggle;return function(i,n){return new zt(function(t,e){return Ct(i,"show hide",function(){i._reject&&i._reject(),i._reject=e,o(i,n),W(Me(r,"transitionDuration"))?Ct(r,"transitionend",t,!1,function(t){return t.target===r}):t()})})}}var Rn={install:function(a){a.modal.dialog=function(t,e){var n=a.modal(' <div class="uk-modal"> <div class="uk-modal-dialog">'+t+"</div> </div> ",e);return n.show(),Tt(n.$el,"hidden",function(t){var e=t.target,i=t.currentTarget;e===i&&zt.resolve(function(){return n.$destroy(!0)})}),n},a.modal.alert=function(e,i){return i=Y({bgClose:!1,escClose:!1,labels:a.modal.labels},i),new zt(function(t){return Tt(a.modal.dialog(' <div class="uk-modal-body">'+(_(e)?e:oe(e))+'</div> <div class="uk-modal-footer uk-text-right"> <button class="uk-button uk-button-primary uk-modal-close" autofocus>'+i.labels.ok+"</button> </div> ",i).$el,"hide",t)})},a.modal.confirm=function(r,o){return o=Y({bgClose:!1,escClose:!0,labels:a.modal.labels},o),new zt(function(e,t){var i=a.modal.dialog(' <form> <div class="uk-modal-body">'+(_(r)?r:oe(r))+'</div> <div class="uk-modal-footer uk-text-right"> <button class="uk-button uk-button-default uk-modal-close" type="button">'+o.labels.cancel+'</button> <button class="uk-button uk-button-primary" autofocus>'+o.labels.ok+"</button> </div> </form> ",o),n=!1;Tt(i.$el,"submit","form",function(t){t.preventDefault(),e(),n=!0,i.hide()}),Tt(i.$el,"hide",function(){n||t()})})},a.modal.prompt=function(t,o,s){return s=Y({bgClose:!1,escClose:!0,labels:a.modal.labels},s),new zt(function(e){var i=a.modal.dialog(' <form class="uk-form-stacked"> <div class="uk-modal-body"> <label>'+(_(t)?t:oe(t))+'</label> <input class="uk-input" autofocus> </div> <div class="uk-modal-footer uk-text-right"> <button class="uk-button uk-button-default uk-modal-close" type="button">'+s.labels.cancel+'</button> <button class="uk-button uk-button-primary">'+s.labels.ok+"</button> </div> </form> ",s),n=we("input",i.$el);n.value=o;var r=!1;Tt(i.$el,"submit","form",function(t){t.preventDefault(),e(n.value),r=!0,i.hide()}),Tt(i.$el,"hide",function(){r||e(null)})})},a.modal.labels={ok:"Ok",cancel:"Cancel"}},mixins:[Vn],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:function(){Se(this.panel,"uk-margin-auto-vertical")?xe(this.$el,"uk-flex"):Me(this.$el,"display","block"),Qe(this.$el)}},{name:"hidden",self:!0,handler:function(){Me(this.$el,"display",""),ke(this.$el,"uk-flex")}}]};var qn={extends:Ri,data:{targets:"> .uk-parent",toggle:"> a",content:"> ul"}},Un={mixins:[Vi,ln],props:{dropdown:String,mode:"list",align:String,offset:Number,boundary:Boolean,boundaryAlign:Boolean,clsDrop:String,delayShow:Number,delayHide:Number,dropbar:Boolean,dropbarMode:String,dropbarAnchor:Boolean,duration:Number},data:{dropdown:".uk-navbar-nav > li",align:Rt?"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,dropbarMode:"slide",dropbarAnchor:!1,duration:200,forceHeight:!0,selMinHeight:".uk-navbar-nav > li > a, .uk-navbar-item, .uk-navbar-toggle"},computed:{boundary:function(t,e){var i=t.boundary,n=t.boundaryAlign;return!0===i||n?e:i},dropbarAnchor:function(t,e){return it(t.dropbarAnchor,e)},pos:function(t){return"bottom-"+t.align},dropdowns:function(t,e){return be(t.dropdown+" ."+t.clsDrop,e)}},beforeConnect:function(){var t=this.$props.dropbar;this.dropbar=t&&(it(t,this.$el)||we("+ .uk-navbar-dropbar",this.$el)||we("<div></div>")),this.dropbar&&(xe(this.dropbar,"uk-navbar-dropbar"),"slide"===this.dropbarMode&&xe(this.dropbar,"uk-navbar-dropbar-slide"))},disconnected:function(){this.dropbar&&ce(this.dropbar)},update:function(){var e=this;this.$create("drop",this.dropdowns.filter(function(t){return!e.getDropdown(t)}),Y({},this.$props,{boundary:this.boundary,pos:this.pos,offset:this.dropbar||this.offset}))},events:[{name:"mouseover",delegate:function(){return this.dropdown},handler:function(t){var e=t.current,i=this.getActive();i&&i.toggle&&!St(i.toggle.$el,e)&&!i.tracker.movesTo(i.$el)&&i.hide(!1)}},{name:"mouseleave",el:function(){return this.dropbar},handler:function(){var t=this.getActive();t&&!ft(this.dropbar,":hover")&&t.hide()}},{name:"beforeshow",capture:!0,filter:function(){return this.dropbar},handler:function(){this.dropbar.parentNode||le(this.dropbarAnchor||this.$el,this.dropbar)}},{name:"show",capture:!0,filter:function(){return this.dropbar},handler:function(t,e){var i=e.$el,n=e.dir;this.clsDrop&&xe(i,this.clsDrop+"-dropbar"),"bottom"===n&&this.transitionTo(i.offsetHeight+P(Me(i,"marginTop"))+P(Me(i,"marginBottom")),i)}},{name:"beforehide",filter:function(){return this.dropbar},handler:function(t,e){var i=e.$el,n=this.getActive();ft(this.dropbar,":hover")&&n&&n.$el===i&&t.preventDefault()}},{name:"hide",filter:function(){return this.dropbar},handler:function(t,e){var i=e.$el,n=this.getActive();(!n||n&&n.$el===i)&&this.transitionTo(0)}}],methods:{getActive:function(){var t=this.dropdowns.map(this.getDropdown).filter(function(t){return t&&t.isActive()})[0];return t&&b(t.mode,"hover")&&St(t.toggle.$el,this.$el)&&t},transitionTo:function(t,e){var i=this,n=this.dropbar,r=xt(n)?Qe(n):0;return Me(e=r<t&&e,"clip","rect(0,"+e.offsetWidth+"px,"+r+"px,0)"),Qe(n,r),We.cancel([e,n]),zt.all([We.start(n,{height:t},this.duration),We.start(e,{clip:"rect(0,"+e.offsetWidth+"px,"+t+"px,0)"},this.duration)]).catch(X).then(function(){Me(e,{clip:""}),i.$update(n)})},getDropdown:function(t){return this.$getComponent(t,"drop")||this.$getComponent(t,"dropdown")}}},Xn={mixins:[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"},computed:{clsFlip:function(t){var e=t.flip,i=t.clsFlip;return e?i:""},clsOverlay:function(t){var e=t.overlay,i=t.clsOverlay;return e?i:""},clsMode:function(t){var e=t.mode;return t.clsMode+"-"+e},clsSidebarAnimation:function(t){var e=t.mode,i=t.clsSidebarAnimation;return"none"===e||"reveal"===e?"":i},clsContainerAnimation:function(t){var e=t.mode,i=t.clsContainerAnimation;return"push"!==e&&"reveal"!==e?"":i},transitionElement:function(t){return"reveal"===t.mode?this.panel.parentNode:this.panel}},events:[{name:"click",delegate:function(){return'a[href^="#"]'},handler:function(t){var e=t.current;e.hash&&we(e.hash,document.body)&&this.hide()}},{name:"touchstart",el:function(){return this.panel},handler:function(t){var e=t.targetTouches;1===e.length&&(this.clientY=e[0].clientY)}},{name:"touchmove",self:!0,passive:!1,filter:function(){return this.overlay},handler:function(t){t.preventDefault()}},{name:"touchmove",passive:!1,el:function(){return this.panel},handler:function(t){if(1===t.targetTouches.length){var e=event.targetTouches[0].clientY-this.clientY,i=this.panel,n=i.scrollTop,r=i.scrollHeight,o=i.clientHeight;(0===n&&0<e||r-n<=o&&e<0)&&t.preventDefault()}}},{name:"show",self:!0,handler:function(){"reveal"!==this.mode||Se(this.panel.parentNode,this.clsMode)||(ue(this.panel,"<div>"),xe(this.panel.parentNode,this.clsMode)),Me(document.documentElement,"overflowY",this.overlay?"hidden":""),xe(document.body,this.clsContainer,this.clsFlip),Qe(document.body),xe(document.body,this.clsContainerAnimation),xe(this.panel,this.clsSidebarAnimation,"reveal"!==this.mode?this.clsMode:""),xe(this.$el,this.clsOverlay),Me(this.$el,"display","block"),Qe(this.$el),this.clsContainerAnimation&&(Kn().content+=",user-scalable=0")}},{name:"hide",self:!0,handler:function(){ke(document.body,this.clsContainerAnimation);var t=this.getActive();("none"===this.mode||t&&t!==this&&t!==this.prev)&&At(this.panel,"transitionend")}},{name:"hidden",self:!0,handler:function(){var t;this.clsContainerAnimation&&((t=Kn()).content=t.content.replace(/,user-scalable=0$/,"")),"reveal"===this.mode&&fe(this.panel),ke(this.panel,this.clsSidebarAnimation,this.clsMode),ke(this.$el,this.clsOverlay),Me(this.$el,"display",""),ke(document.body,this.clsContainer,this.clsFlip),Me(document.documentElement,"overflowY","")}},{name:"swipeLeft swipeRight",handler:function(t){this.isToggled()&&Bi(t)&&"swipeLeft"===t.type^this.flip&&this.hide()}}]};function Kn(){return we('meta[name="viewport"]',document.head)||se(document.head,'<meta name="viewport">')}var Gn={mixins:[Vi],props:{selContainer:String,selContent:String},data:{selContainer:".uk-modal",selContent:".uk-modal-dialog"},computed:{container:function(t,e){return mt(e,t.selContainer)},content:function(t,e){return mt(e,t.selContent)}},connected:function(){Me(this.$el,"minHeight",150)},update:{read:function(){return!(!this.content||!this.container)&&{current:P(Me(this.$el,"maxHeight")),max:Math.max(150,Qe(this.container)-(Ge(this.content).height-Qe(this.$el)))}},write:function(t){var e=t.current,i=t.max;Me(this.$el,"maxHeight",i),Math.round(e)!==Math.round(i)&&At(this.$el,"resize")},events:["load","resize"]}},Jn={props:["width","height"],connected:function(){xe(this.$el,"uk-responsive-width")},update:{read:function(){return!!(xt(this.$el)&&this.width&&this.height)&&{width:ti(this.$el.parentNode),height:this.height}},write:function(t){Qe(this.$el,J.contain({height:this.height,width:this.width},t).height)},events:["load","resize"]}},Zn={props:{duration:Number,offset:Number},data:{duration:1e3,offset:0},methods:{scrollTo:function(i){var n=this;i=i&&we(i)||document.body;var t=Qe(document),e=Qe(window),r=Ge(i).top-this.offset;if(t<r+e&&(r=t-e),At(this.$el,"beforescroll",[this,i])){var o=Date.now(),s=window.pageYOffset,a=function(){var t,e=s+(r-s)*(t=U((Date.now()-o)/n.duration),.5*(1-Math.cos(Math.PI*t)));hi(window,e),e!==r?requestAnimationFrame(a):At(n.$el,"scrolled",[n,i])};a()}}},events:{click:function(t){t.defaultPrevented||(t.preventDefault(),this.scrollTo(wt(decodeURIComponent(this.$el.hash)).substr(1)))}}};var Qn={args:"cls",props:{cls:"list",target:String,hidden:Boolean,offsetTop:Number,offsetLeft:Number,repeat:Boolean,delay:Number},data:function(){return{cls:[],target:!1,hidden:!0,offsetTop:0,offsetLeft:0,repeat:!1,delay:0,inViewClass:"uk-scrollspy-inview"}},computed:{elements:function(t,e){var i=t.target;return i?be(i,e):[e]}},update:[{write:function(){this.hidden&&Me(It(this.elements,":not(."+this.inViewClass+")"),"visibility","hidden")}},{read:function(r){var o=this;r.update&&this.elements.forEach(function(t,e){var i=r[e];if(!i||i.el!==t){var n=et(t,"uk-scrollspy-class");i={el:t,toggles:n&&n.split(",")||o.cls}}i.show=ai(t,o.offsetTop,o.offsetLeft),r[e]=i})},write:function(o){var s=this;if(!o.update)return this.$emit(),o.update=!0;this.elements.forEach(function(t,e){var i=o[e],n=i.toggles[e]||i.toggles[0];if(!i.show||i.inview||i.queued){if(!i.show&&(i.inview||i.queued)&&s.repeat){if(i.abort&&i.abort(),!i.inview)return;Me(t,"visibility",s.hidden?"hidden":""),ke(t,s.inViewClass),Te(t,n),At(t,"outview"),s.$update(t),i.inview=!1}}else{var r=function(){Me(t,"visibility",""),xe(t,s.inViewClass),Te(t,n),At(t,"inview"),s.$update(t),i.inview=!0,i.abort&&i.abort()};s.delay?(i.queued=!0,o.promise=(o.promise||zt.resolve()).then(function(){return!i.inview&&new zt(function(t){var e=setTimeout(function(){r(),t()},o.promise||1===s.elements.length?s.delay:0);i.abort=function(){clearTimeout(e),t(),i.queued=!1}})})):r()}})},events:["scroll","load","resize"]}]},tr={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:function(t,e){return be('a[href^="#"]',e).filter(function(t){return t.hash})},elements:function(){return this.closest?mt(this.links,this.closest):this.links},targets:function(){return be(this.links.map(function(t){return t.hash}).join(","))}},update:[{read:function(){this.scroll&&this.$create("scroll",this.links,{offset:this.offset||0})}},{read:function(o){var s=this,a=window.pageYOffset+this.offset+1,l=Qe(document)-Qe(window)+this.offset;o.active=!1,this.targets.every(function(t,e){var i=Ge(t).top,n=e+1===s.targets.length;if(!s.overflow&&(0===e&&a<i||n&&i+t.offsetTop<a))return!1;if(!n&&Ge(s.targets[e+1]).top<=a)return!0;if(l<=a)for(var r=s.targets.length-1;e<r;r--)if(ai(s.targets[r])){t=s.targets[r];break}return!(o.active=we(It(s.links,'[href="#'+t.id+'"]')))})},write:function(t){var e=t.active;this.links.forEach(function(t){return t.blur()}),ke(this.elements,this.cls),e&&At(this.$el,"active",[e,xe(this.closest?mt(e,this.closest):e,this.cls)])},events:["scroll","load","resize"]}]},er={mixins:[Vi,Hn],props:{top:null,bottom:Boolean,offset:Number,animation:String,clsActive:String,clsInactive:String,clsFixed:String,clsBelow:String,selTarget:String,widthElement:Boolean,showOnUp:Boolean,targetOffset:Number},data:{top:0,bottom:!1,offset:0,animation:"",clsActive:"uk-active",clsInactive:"",clsFixed:"uk-sticky-fixed",clsBelow:"uk-sticky-below",selTarget:"",widthElement:!1,showOnUp:!1,targetOffset:!1},computed:{selTarget:function(t,e){var i=t.selTarget;return i&&we(i,e)||e},widthElement:function(t,e){return it(t.widthElement,e)||this.placeholder},isActive:{get:function(){return Se(this.selTarget,this.clsActive)},set:function(t){t&&!this.isActive?(Ie(this.selTarget,this.clsInactive,this.clsActive),At(this.$el,"active")):t||Se(this.selTarget,this.clsInactive)||(Ie(this.selTarget,this.clsActive,this.clsInactive),At(this.$el,"inactive"))}}},connected:function(){this.placeholder=we("+ .uk-sticky-placeholder",this.$el)||we('<div class="uk-sticky-placeholder"></div>'),this.isFixed=!1,this.isActive=!1},disconnected:function(){this.isFixed&&(this.hide(),ke(this.selTarget,this.clsInactive)),ce(this.placeholder),this.placeholder=null,this.widthElement=null},events:[{name:"load hashchange popstate",el:window,handler:function(){var n=this;if(!1!==this.targetOffset&&location.hash&&0<window.pageYOffset){var r=we(location.hash);r&&fi.read(function(){var t=Ge(r).top,e=Ge(n.$el).top,i=n.$el.offsetHeight;n.isFixed&&t<=e+i&&e<=t+r.offsetHeight&&hi(window,t-i-(D(n.targetOffset)?n.targetOffset:0)-n.offset)})}}}],update:[{read:function(t,e){var i=t.height,n=e.type;this.isActive&&"update"!==n&&(this.hide(),i=this.$el.offsetHeight,this.show()),i=this.isActive?i:this.$el.offsetHeight,this.topOffset=Ge(this.isFixed?this.placeholder:this.$el).top,this.bottomOffset=this.topOffset+i;var r=ir("bottom",this);return this.top=Math.max(P(ir("top",this)),this.topOffset)-this.offset,this.bottom=r&&r-i,this.inactive=!this.matchMedia,{lastScroll:!1,height:i,margins:Me(this.$el,["marginTop","marginBottom","marginLeft","marginRight"])}},write:function(t){var e=t.height,i=t.margins,n=this.placeholder;Me(n,Y({height:e},i)),St(n,document)||(le(this.$el,n),Z(n,"hidden","")),this.isActive=this.isActive},events:["load","resize"]},{read:function(t,e){var i=e.scrollY;return void 0===i&&(i=window.pageYOffset),this.width=(xt(this.widthElement)?this.widthElement:this.$el).offsetWidth,{scroll:this.scroll=i,visible:xt(this.$el),top:ci(this.placeholder)[0]}},write:function(t,e){var i=this;void 0===e&&(e={});var n=e.dir,r=t.initTimestamp;void 0===r&&(r=0);var o=t.lastDir,s=t.lastScroll,a=t.scroll,l=t.top,h=t.visible,c=performance.now();if(!((t.lastScroll=a)<0||a===s||!h||this.disabled||this.showOnUp&&!n||((300<c-r||n!==o)&&(t.initScroll=a,t.initTimestamp=c),t.lastDir=n,this.showOnUp&&Math.abs(t.initScroll-a)<=30&&Math.abs(s-a)<=10)))if(this.inactive||a<this.top||this.showOnUp&&(a<=this.top||"down"===n||"up"===n&&!this.isFixed&&a<=this.bottomOffset)){if(!this.isFixed)return void(Ue.inProgress(this.$el)&&a<l&&(Ue.cancel(this.$el),this.hide()));this.isFixed=!1,this.animation&&a>this.topOffset?(Ue.cancel(this.$el),Ue.out(this.$el,this.animation).then(function(){return i.hide()},X)):this.hide()}else this.isFixed?this.update():this.animation?(Ue.cancel(this.$el),this.show(),Ue.in(this.$el,this.animation).catch(X)):this.show()},events:["load","resize","scroll"]}],methods:{show:function(){this.isFixed=!0,this.update(),Z(this.placeholder,"hidden",null)},hide:function(){this.isActive=!1,ke(this.$el,this.clsFixed,this.clsBelow),Me(this.$el,{position:"",top:"",width:""}),Z(this.placeholder,"hidden","")},update:function(){var t=0!==this.top||this.scroll>this.top,e=Math.max(0,this.offset);this.bottom&&this.scroll>this.bottom-this.offset&&(e=this.bottom-this.scroll),Me(this.$el,{position:"fixed",top:e+"px",width:this.width}),this.isActive=t,Te(this.$el,this.clsBelow,this.scroll>this.bottomOffset),xe(this.$el,this.clsFixed)}}};function ir(t,e){var i=e.$props,n=e.$el,r=e[t+"Offset"],o=i[t];if(o){if(D(o))return r+P(o);if(_(o)&&o.match(/^-?\d+vh$/))return Qe(window)*P(o)/100;var s=!0===o?n.parentNode:it(o,n);return s?Ge(s).top+s.offsetHeight:void 0}}var nr,rr={mixins:[Yi],args:"connect",props:{connect:String,toggle:String,active:Number,swiping:Boolean},data:{connect:"~.uk-switcher",toggle:"> *",active:0,swiping:!0,cls:"uk-active",clsContainer:"uk-switcher",attrItem:"uk-switcher-item",queued:!0},computed:{connects:function(t,e){return nt(t.connect,e)},toggles:function(t,e){return be(t.toggle,e)}},events:[{name:"click",delegate:function(){return this.toggle+":not(.uk-disabled)"},handler:function(t){t.preventDefault(),this.show(t.current)}},{name:"click",el:function(){return this.connects},delegate:function(){return"["+this.attrItem+"],[data-"+this.attrItem+"]"},handler:function(t){t.preventDefault(),this.show(et(t.current,this.attrItem))}},{name:"swipeRight swipeLeft",filter:function(){return this.swiping},el:function(){return this.connects},handler:function(t){Bi(t)&&(t.preventDefault(),window.getSelection().toString()||this.show("swipeLeft"===t.type?"next":"previous"))}}],update:function(){var e=this;this.connects.forEach(function(t){return e.updateAria(t.children)}),this.show(It(this.toggles,"."+this.cls)[0]||this.toggles[this.active]||this.toggles[0])},methods:{index:function(){return!!this.connects.length&&ie(It(this.connects[0].children,"."+this.cls)[0])},show:function(t){for(var e,i=this,n=this.toggles.length,r=this.index(),o=0<=r,s="previous"===t?-1:1,a=ne(t,this.toggles,r),l=0;l<n;l++,a=(a+s+n)%n)if(!ft(i.toggles[a],".uk-disabled, [disabled]")){e=i.toggles[a];break}!e||0<=r&&Se(e,this.cls)||r===a||(ke(this.toggles,this.cls),Z(this.toggles,"aria-expanded",!1),xe(e,this.cls),Z(e,"aria-expanded",!0),this.connects.forEach(function(t){o?i.toggleElement([t.children[r],t.children[a]]):i.toggleNow(t.children[a])}))}}},or={mixins:[Vi],extends:rr,props:{media:Boolean},data:{media:960,attrItem:"uk-tab-item"},connected:function(){var t=Se(this.$el,"uk-tab-left")?"uk-tab-left":!!Se(this.$el,"uk-tab-right")&&"uk-tab-right";t&&this.$create("toggle",this.$el,{cls:t,mode:"media",media:this.media})}},sr={mixins:[Hn,Yi],args:"target",props:{href:String,target:null,mode:"list"},data:{href:!1,target:!1,mode:"click",queued:!0},computed:{target:function(t,e){var i=t.href,n=t.target;return(n=nt(n||i,e)).length&&n||[e]}},events:[{name:Zt+" "+Qt,filter:function(){return b(this.mode,"hover")},handler:function(t){Bi(t)||this.toggle("toggle"+(t.type===Zt?"show":"hide"))}},{name:"click",filter:function(){return b(this.mode,"click")||Xt&&b(this.mode,"hover")},handler:function(t){var e;(Bi(t)||b(this.mode,"click"))&&((mt(t.target,'a[href="#"], button')||(e=mt(t.target,"a[href]"))&&(this.cls||!xt(this.target)||e.hash&&ft(this.target,e.hash)))&&Ct(document,"click",function(t){return t.preventDefault()}),this.toggle())}}],update:{write:function(){if(b(this.mode,"media")&&this.media){var t=this.isToggled(this.target);(this.matchMedia?!t:t)&&this.toggle()}},events:["load","resize"]},methods:{toggle:function(t){At(this.target,t||"toggle",[this])&&this.toggleElement(this.target)}}};Wi.version="3.0.0-rc.25",(nr=Wi).component("accordion",Ri),nr.component("alert",qi),nr.component("cover",Ji),nr.component("drop",Qi),nr.component("dropdown",tn),nr.component("formCustom",en),nr.component("gif",nn),nr.component("grid",an),nr.component("heightMatch",hn),nr.component("heightViewport",dn),nr.component("icon",yn),nr.component("img",Tn),nr.component("leader",Ln),nr.component("margin",rn),nr.component("modal",Rn),nr.component("nav",qn),nr.component("navbar",Un),nr.component("offcanvas",Xn),nr.component("overflowAuto",Gn),nr.component("responsive",Jn),nr.component("scroll",Zn),nr.component("scrollspy",Qn),nr.component("scrollspyNav",tr),nr.component("sticky",er),nr.component("svg",mn),nr.component("switcher",rr),nr.component("tab",or),nr.component("toggle",sr),nr.component("video",Gi),nr.component("close",In),nr.component("marker",xn),nr.component("navbarToggleIcon",xn),nr.component("overlayIcon",xn),nr.component("paginationNext",xn),nr.component("paginationPrevious",xn),nr.component("searchIcon",$n),nr.component("slidenavNext",kn),nr.component("slidenavPrevious",kn),nr.component("spinner",Sn),nr.component("totop",xn),nr.use(Ui);var ar={mixins:[Vi],props:{date:String,clsWrapper:String},data:{date:"",clsWrapper:".uk-countdown-%unit%"},computed:{date:function(t){var e=t.date;return Date.parse(e)},days:function(t,e){return we(t.clsWrapper.replace("%unit%","days"),e)},hours:function(t,e){return we(t.clsWrapper.replace("%unit%","hours"),e)},minutes:function(t,e){return we(t.clsWrapper.replace("%unit%","minutes"),e)},seconds:function(t,e){return we(t.clsWrapper.replace("%unit%","seconds"),e)},units:function(){var e=this;return["days","hours","minutes","seconds"].filter(function(t){return e[t]})}},connected:function(){this.start()},disconnected:function(){var e=this;this.stop(),this.units.forEach(function(t){return re(e[t])})},events:[{name:"visibilitychange",el:document,handler:function(){document.hidden?this.stop():this.start()}}],update:{write:function(){var t,e,n=this,r=(t=this.date,{total:e=t-Date.now(),seconds:e/1e3%60,minutes:e/1e3/60%60,hours:e/1e3/60/60%24,days:e/1e3/60/60/24});r.total<=0&&(this.stop(),r.days=r.hours=r.minutes=r.seconds=0),this.units.forEach(function(t){var e=String(Math.floor(r[t]));e=e.length<2?"0"+e:e;var i=n[t];i.textContent!==e&&((e=e.split("")).length!==i.children.length&&oe(i,e.map(function(){return"<span></span>"}).join("")),e.forEach(function(t,e){return i.children[e].textContent=t}))})}},methods:{start:function(){var t=this;this.stop(),this.date&&this.units.length&&(this.$emit(),this.timer=setInterval(function(){return t.$emit()},1e3))},stop:function(){this.timer&&(clearInterval(this.timer),this.timer=null)}}};var lr,hr="uk-animation-target",cr={props:{animation:Number},data:{animation:150},computed:{target:function(){return this.$el}},methods:{animate:function(t){var n=this;lr||(lr=se(document.head,"<style>").sheet).insertRule("."+hr+" > * {\n margin-top: 0 !important;\n transform: none !important;\n }",0);var r=F(this.target.children),o=r.map(function(t){return ur(t,!0)}),e=Qe(this.target),i=window.pageYOffset;t(),We.cancel(this.target),r.forEach(We.cancel),dr(this.target),this.$update(this.target),fi.flush();var s=Qe(this.target),a=(r=r.concat(F(this.target.children).filter(function(t){return!b(r,t)}))).map(function(t,e){return!!(t.parentNode&&e in o)&&(o[e]?xt(t)?fr(t):{opacity:0}:{opacity:xt(t)?1:0})});return o=a.map(function(t,e){var i=r[e].parentNode===n.target&&(o[e]||ur(r[e]));if(i)if(t){if(!("opacity"in t)){i.opacity%1?t.opacity=1:delete i.opacity}}else delete i.opacity;return i}),xe(this.target,hr),r.forEach(function(t,e){return o[e]&&Me(t,o[e])}),Me(this.target,"height",e),hi(window,i),zt.all(r.map(function(t,e){return o[e]&&a[e]?We.start(t,a[e],n.animation,"ease"):zt.resolve()}).concat(We.start(this.target,{height:s},this.animation,"ease"))).then(function(){r.forEach(function(t,e){return Me(t,{display:0===a[e].opacity?"none":"",zIndex:""})}),dr(n.target),n.$update(n.target),fi.flush()},X)}}};function ur(t,e){var i=Me(t,"zIndex");return!!xt(t)&&Y({display:"",opacity:e?Me(t,"opacity"):"0",pointerEvents:"none",position:"absolute",zIndex:"auto"===i?ie(t):i},fr(t))}function dr(t){Me(t.children,{height:"",left:"",opacity:"",pointerEvents:"",position:"",top:"",width:""}),ke(t,hr),Me(t,"height","")}function fr(t){var e=t.getBoundingClientRect(),i=e.height,n=e.width,r=Ze(t),o=r.top,s=r.left;return{top:o+=P(Me(t,"marginTop")),left:s,height:i,width:n}}var pr={mixins:[cr],args:"target",props:{target:Boolean,selActive:Boolean},data:{target:null,selActive:!1,attrItem:"uk-filter-control",cls:"uk-active",animation:250},computed:{toggles:function(t,e){t.attrItem;return be("["+this.attrItem+"],[data-"+this.attrItem+"]",e)},target:function(t,e){return we(t.target,e)}},events:[{name:"click",delegate:function(){return"["+this.attrItem+"],[data-"+this.attrItem+"]"},handler:function(t){t.preventDefault(),this.apply(t.current)}}],connected:function(){var e=this;if(!1!==this.selActive){var i=be(this.selActive,this.$el);this.toggles.forEach(function(t){return Te(t,e.cls,b(i,t))})}},update:function(t){var e=t.toggles,i=t.children;vr(e,this.toggles,!1)&&vr(i,this.target.children,!1)||(t.toggles=this.toggles,t.children=this.target.children,this.setState(this.getState(),!1))},methods:{apply:function(t){this.setState(gr(t,this.attrItem,this.getState()))},getState:function(){var i=this;return this.toggles.filter(function(t){return Se(t,i.cls)}).reduce(function(t,e){return gr(e,i.attrItem,t)},{filter:{"":""},sort:[]})},setState:function(h,t){var c=this;void 0===t&&(t=!0),h=Y({filter:{"":""},sort:[]},h),At(this.$el,"beforeFilter",[this,h]);var u=F(this.target.children);this.toggles.forEach(function(t){return Te(t,c.cls,function(t,e,i){var n=i.filter;void 0===n&&(n={"":""});var r=i.sort,o=r[0],s=r[1],a=mr(t,e),l=a.filter,h=a.group;void 0===h&&(h="");var c=a.sort,u=a.order;void 0===u&&(u="asc");return l=B(c)?l||"":l,c=B(l)?c||"":c,(B(l)||h in n&&l===n[h])&&(B(c)||o===c&&s===u)}(t,c.attrItem,h))});var e=function(){var t,e,i=(t=h.filter,e="",R(t,function(t){return e+=t||""}),e);u.forEach(function(t){return Me(t,"display",i&&!ft(t,i)?"none":"")});var n,r,o=h.sort,s=o[0],a=o[1];if(s){var l=(n=s,r=a,F(u).sort(function(t,e){return et(t,n).localeCompare(et(e,n),void 0,{numeric:!0})*("asc"===r||-1)}));vr(l,u)||l.forEach(function(t){return se(c.target,t)})}};t?this.animate(e).then(function(){return At(c.$el,"afterFilter",[c])}):(e(),At(this.$el,"afterFilter",[this]))}}};function mr(t,e){return $i(et(t,e),["filter"])}function gr(t,s,a){return F(t).forEach(function(t){var e=mr(t,s),i=e.filter,n=e.group,r=e.sort,o=e.order;void 0===o&&(o="asc"),(i||B(r))&&(n?(delete a.filter[""],a.filter[n]=i):a.filter={"":i||""}),B(r)||(a.sort=[r,o])}),a}function vr(t,i,n){return void 0===n&&(n=!0),t=F(t),i=F(i),t.length===i.length&&t.every(function(t,e){return n?t===i[e]:~i.indexOf(t)})}var wr={slide:{show:function(t){return[{transform:yr(-100*t)},{transform:yr()}]},percent:function(t){return br(t)},translate:function(t,e){return[{transform:yr(-100*e*t)},{transform:yr(100*e*(1-t))}]}}};function br(t){return Math.abs(Me(t,"transform").split(",")[4]/t.offsetWidth)||0}function yr(t,e){return void 0===t&&(t=0),void 0===e&&(e="%"),"translateX("+t+(t?e:"")+")"}function xr(t){return"scale3d("+t+", "+t+", 1)"}var kr=Y({},wr,{fade:{show:function(){return[{opacity:0},{opacity:1}]},percent:function(t){return 1-Me(t,"opacity")},translate:function(t){return[{opacity:1-t},{opacity:t}]}},scale:{show:function(){return[{opacity:0,transform:xr(.8)},{opacity:1,transform:xr(1)}]},percent:function(t){return 1-Me(t,"opacity")},translate:function(t){return[{opacity:1-t,transform:xr(1-.2*t)},{opacity:t,transform:xr(.8+.2*t)}]}}});function $r(t,e,i){At(t,Nt(e,!1,!1,i))}var Ir={mixins:[{props:{autoplay:Boolean,autoplayInterval:Number,pauseOnHover:Boolean},data:{autoplay:!1,autoplayInterval:7e3,pauseOnHover:!0},connected:function(){this.startAutoplay(),this.userInteracted=!1},disconnected:function(){this.stopAutoplay()},events:[{name:"visibilitychange",el:document,handler:function(){document.hidden?this.stopAutoplay():this.startAutoplay()}},{name:Kt,handler:function(){this.userInteracted=!0,this.stopAutoplay()}},{name:"mouseenter",filter:function(){return this.autoplay},handler:function(){this.isHovering=!0}},{name:"mouseleave",filter:function(){return this.autoplay},handler:function(){this.isHovering=!1}}],methods:{startAutoplay:function(){var t=this;this.stopAutoplay(),this.autoplay&&!this.userInteracted&&(this.interval=setInterval(function(){return!(t.isHovering&&t.pauseOnHover)&&!t.stack.length&&t.show("next")},this.autoplayInterval))},stopAutoplay:function(){this.interval&&clearInterval(this.interval)}}},{props:{draggable:Boolean},data:{draggable:!0,threshold:10},created:function(){var n=this;["start","move","end"].forEach(function(t){var i=n[t];n[t]=function(t){var e=Oi(t).x*(Rt?-1:1);n.prevPos=e!==n.pos?n.pos:n.prevPos,n.pos=e,i(t)}})},events:[{name:Kt,delegate:function(){return this.slidesSelector},handler:function(t){var e;!this.draggable||!Bi(t)&&(!(e=t.target).children.length&&e.childNodes.length)||0<t.button||this.length<2||this.start(t)}},{name:"touchmove",passive:!1,handler:"move",delegate:function(){return this.slidesSelector}},{name:"dragstart",handler:function(t){t.preventDefault()}}],methods:{start:function(){var t=this;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;var e=Tt(document,Gt.replace(" touchmove",""),this.move,{passive:!1});this.unbindMove=function(){e(),t.unbindMove=null},Tt(window,"scroll",this.unbindMove),Tt(document,Jt,this.end,!0)},move:function(t){var e=this;if(this.unbindMove){var i=this.pos-this.drag;if(!(0===i||this.prevPos===this.pos||!this.dragging&&Math.abs(i)<this.threshold)){t.cancelable&&t.preventDefault(),this.dragging=!0,this.dir=i<0?1:-1;for(var n=this.slides,r=this.prevIndex,o=Math.abs(i),s=this.getIndex(r+this.dir,r),a=this._getDistance(r,s)||n[r].offsetWidth;s!==r&&a<o;)e.drag-=a*e.dir,r=s,o-=a,s=e.getIndex(r+e.dir,r),a=e._getDistance(r,s)||n[r].offsetWidth;this.percent=o/a;var l,h=n[r],c=n[s],u=this.index!==s,d=r===s;[this.index,this.prevIndex].filter(function(t){return!b([s,r],t)}).forEach(function(t){At(n[t],"itemhidden",[e]),d&&(l=!0,e.prevIndex=r)}),(this.index===r&&this.prevIndex!==r||l)&&At(n[this.index],"itemshown",[this]),u&&(this.prevIndex=r,this.index=s,!d&&At(h,"beforeitemhide",[this]),At(c,"beforeitemshow",[this])),this._transitioner=this._translate(Math.abs(this.percent),h,!d&&c),u&&(!d&&At(h,"itemhide",[this]),At(c,"itemshow",[this]))}}},end:function(){if(Et(window,"scroll",this.unbindMove),this.unbindMove&&this.unbindMove(),Et(document,Jt,this.end,!0),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{var t=(Rt?this.dir*(Rt?1:-1):this.dir)<0==this.prevPos>this.pos;this.index=t?this.index:this.prevIndex,t&&(this.percent=1-this.percent),this.show(0<this.dir&&!t||this.dir<0&&t?"next":"previous",!0)}Ot()}this.drag=this.percent=null}}},{data:{selNav:!1},computed:{nav:function(t,e){return we(t.selNav,e)},navItemSelector:function(t){var e=t.attrItem;return"["+e+"],[data-"+e+"]"},navItems:function(t,e){return be(this.navItemSelector,e)}},update:{write:function(){var i=this;this.nav&&this.length!==this.nav.children.length&&oe(this.nav,this.slides.map(function(t,e){return"<li "+i.attrItem+'="'+e+'"><a href="#"></a></li>'}).join("")),Te(be(this.navItemSelector,this.$el).concat(this.nav),"uk-hidden",!this.maxIndex),this.updateNav()},events:["load","resize"]},events:[{name:"click",delegate:function(){return this.navItemSelector},handler:function(t){t.preventDefault(),t.current.blur(),this.show(et(t.current,this.attrItem))}},{name:"itemshow",handler:"updateNav"}],methods:{updateNav:function(){var i=this,n=this.getValidIndex();this.navItems.forEach(function(t){var e=et(t,i.attrItem);Te(t,i.clsActive,z(e)===n),Te(t,"uk-invisible",i.finite&&("previous"===e&&0===n||"next"===e&&n>=i.maxIndex))})}}}],props:{clsActivated:Boolean,easing:String,index:Number,finite:Boolean,velocity:Number},data:function(){return{easing:"ease",finite:!1,velocity:1,index:0,stack:[],percent:0,clsActive:"uk-active",clsActivated:!1,Transitioner:!1,transitionOptions:{}}},computed:{duration:function(t,e){var i=t.velocity;return Sr(e.offsetWidth/i)},length:function(){return this.slides.length},list:function(t,e){return we(t.selList,e)},maxIndex:function(){return this.length-1},slidesSelector:function(t){return t.selList+" > *"},slides:function(){return F(this.list.children)}},events:{itemshown:function(){this.$update(this.list)}},methods:{show:function(t,e){var i=this;if(void 0===e&&(e=!1),!this.dragging&&this.length){var n=this.stack,r=e?0:n.length,o=function(){n.splice(r,1),n.length&&i.show(n.shift(),!0)};if(n[e?"unshift":"push"](t),!e&&1<n.length)2===n.length&&this._transitioner.forward(Math.min(this.duration,200));else{var s=this.index,a=Se(this.slides,this.clsActive)&&this.slides[s],l=this.getIndex(t,this.index),h=this.slides[l];if(a!==h){var c,u;if(this.dir=(u=s,"next"===(c=t)?1:"previous"===c?-1:c<u?-1:1),this.prevIndex=s,this.index=l,a&&At(a,"beforeitemhide",[this]),!At(h,"beforeitemshow",[this,a]))return this.index=this.prevIndex,void o();var d=this._show(a,h,e).then(function(){return a&&At(a,"itemhidden",[i]),At(h,"itemshown",[i]),new zt(function(t){fi.write(function(){n.shift(),n.length?i.show(n.shift(),!0):i._transitioner=null,t()})})});return a&&At(a,"itemhide",[this]),At(h,"itemshow",[this]),d}o()}}},getIndex:function(t,e){return void 0===t&&(t=this.index),void 0===e&&(e=this.index),U(ne(t,this.slides,e,this.finite),0,this.maxIndex)},getValidIndex:function(t,e){return void 0===t&&(t=this.index),void 0===e&&(e=this.prevIndex),this.getIndex(t,e)},_show:function(t,e,i){if(this._transitioner=this._getTransitioner(t,e,this.dir,Y({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._transitioner.translate(1),zt.resolve();var n=this.stack.length;return this._transitioner[1<n?"forward":"show"](1<n?Math.min(this.duration,75+75/(n-1)):this.duration,this.percent)},_getDistance:function(t,e){return new this._getTransitioner(t,t!==e&&e).getDistance()},_translate:function(t,e,i){void 0===e&&(e=this.prevIndex),void 0===i&&(i=this.index);var n=this._getTransitioner(e!==i&&e,i);return n.translate(t),n},_getTransitioner:function(t,e,i,n){return void 0===t&&(t=this.prevIndex),void 0===e&&(e=this.index),void 0===i&&(i=this.dir||1),void 0===n&&(n=this.transitionOptions),new this.Transitioner(M(t)?this.slides[t]:t,M(e)?this.slides[e]:e,i*(Rt?-1:1),n)}}};function Sr(t){return.5*t+300}var Tr={mixins:[Ir],props:{animation:String},data:{animation:"slide",clsActivated:"uk-transition-active",Animations:wr,Transitioner:function(o,s,a,t){var e=t.animation,l=t.easing,i=e.percent,n=e.translate,r=e.show;void 0===r&&(r=X);var h=r(a),c=new Pt;return{dir:a,show:function(t,e,i){var n=this;void 0===e&&(e=0);var r=i?"linear":l;return t-=Math.round(t*U(e,-1,1)),this.translate(e),$r(s,"itemin",{percent:e,duration:t,timing:r,dir:a}),$r(o,"itemout",{percent:1-e,duration:t,timing:r,dir:a}),zt.all([We.start(s,h[1],t,r),We.start(o,h[0],t,r)]).then(function(){n.reset(),c.resolve()},X),c.promise},stop:function(){return We.stop([s,o])},cancel:function(){We.cancel([s,o])},reset:function(){for(var t in h[0])Me([s,o],t,"")},forward:function(t,e){return void 0===e&&(e=this.percent()),We.cancel([s,o]),this.show(t,e,!0)},translate:function(t){this.reset();var e=n(t,a);Me(s,e[1]),Me(o,e[0]),$r(s,"itemtranslatein",{percent:t,dir:a}),$r(o,"itemtranslateout",{percent:1-t,dir:a})},percent:function(){return i(o||s,s,a)},getDistance:function(){return o&&o.offsetWidth}}}},computed:{animation:function(t){var e=t.animation,i=t.Animations;return Y(e in i?i[e]:i.slide,{name:e})},transitionOptions:function(){return{animation:this.animation}}},events:{"itemshow itemhide itemshown itemhidden":function(t){var e=t.target;this.$update(e)},itemshow:function(){M(this.prevIndex)&&fi.flush()},beforeitemshow:function(t){xe(t.target,this.clsActive)},itemshown:function(t){xe(t.target,this.clsActivated)},itemhidden:function(t){ke(t.target,this.clsActive,this.clsActivated)}}},Er={mixins:[Wn,Vn,Yi,Tr],functional:!0,props:{delayControls:Number,preload:Number,videoAutoplay:Boolean,template:String},data:function(){return{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",pauseOnHover:!1,velocity:2,Animations:kr,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:function(){var t=this;this.$mount(se(this.container,this.template)),this.caption=we(".uk-lightbox-caption",this.$el),this.items.forEach(function(){return se(t.list,"<li></li>")})},events:[{name:Gt+" "+Kt+" keydown",handler:"showControls"},{name:"click",self:!0,delegate:function(){return this.slidesSelector},handler:function(t){t.preventDefault(),this.hide()}},{name:"shown",self:!0,handler:function(){this.startAutoplay(),this.showControls()}},{name:"hide",self:!0,handler:function(){this.stopAutoplay(),this.hideControls(),ke(this.slides,this.clsActive),We.stop(this.slides)}},{name:"hidden",self:!0,handler:function(){this.$destroy(!0)}},{name:"keyup",el:document,handler:function(t){if(this.isToggled(this.$el))switch(t.keyCode){case 37:this.show("previous");break;case 39:this.show("next")}}},{name:"beforeitemshow",handler:function(t){this.isToggled()||(this.draggable=!1,t.preventDefault(),this.toggleNow(this.$el,!0),this.animation=kr.scale,ke(t.target,this.clsActive),this.stack.splice(1,0,this.index))}},{name:"itemshow",handler:function(t){var e=ie(t.target),i=this.getItem(e).caption;Me(this.caption,"display",i?"":"none"),oe(this.caption,i);for(var n=0;n<=this.preload;n++)this.loadItem(this.getIndex(e+n)),this.loadItem(this.getIndex(e-n))}},{name:"itemshown",handler:function(){this.draggable=this.$props.draggable}},{name:"itemload",handler:function(t,r){var o,s=this,e=r.source,i=r.type,n=r.alt;if(this.setItem(r,"<span uk-spinner></span>"),e)if("image"===i||e.match(/\.(jp(e)?g|png|gif|svg)($|\?)/i))Vt(e).then(function(t){return s.setItem(r,'<img width="'+t.width+'" height="'+t.height+'" src="'+e+'" alt="'+(n||"")+'">')},function(){return s.setError(r)});else if("video"===i||e.match(/\.(mp4|webm|ogv)($|\?)/i)){var a=we("<video controls playsinline"+(r.poster?' poster="'+r.poster+'"':"")+' uk-video="'+this.videoAutoplay+'"></video>');Z(a,"src",e),Ct(a,"error loadedmetadata",function(t){"error"===t?s.setError(r):(Z(a,{width:a.videoWidth,height:a.videoHeight}),s.setItem(r,a))})}else if("iframe"===i||e.match(/\.(html|php)($|\?)/i))this.setItem(r,'<iframe class="uk-lightbox-iframe" src="'+e+'" frameborder="0" allowfullscreen></iframe>');else if(o=e.match(/\/\/.*?youtube(-nocookie)?\.[a-z]+\/watch\?v=([^&\s]+)/)||e.match(/()youtu\.be\/(.*)/)){var l=o[2],h=function(t,e){return void 0===t&&(t=640),void 0===e&&(e=450),s.setItem(r,Cr("https://www.youtube"+(o[1]||"")+".com/embed/"+l,t,e,s.videoAutoplay))};Vt("https://img.youtube.com/vi/"+l+"/maxresdefault.jpg").then(function(t){var e=t.width,i=t.height;120===e&&90===i?Vt("https://img.youtube.com/vi/"+l+"/0.jpg").then(function(t){var e=t.width,i=t.height;return h(e,i)},h):h(e,i)},h)}else(o=e.match(/(\/\/.*?)vimeo\.[a-z]+\/([0-9]+).*?/))&&Wt("https://vimeo.com/api/oembed.json?maxwidth=1920&url="+encodeURI(e),{responseType:"json",withCredentials:!1}).then(function(t){var e=t.response,i=e.height,n=e.width;return s.setItem(r,Cr("https://player.vimeo.com/video/"+o[2],n,i,s.videoAutoplay))},function(){return s.setError(r)})}}],methods:{loadItem:function(t){void 0===t&&(t=this.index);var e=this.getItem(t);e.content||At(this.$el,"itemload",[e])},getItem:function(t){return void 0===t&&(t=this.index),this.items[t]||{}},setItem:function(t,e){Y(t,{content:e});var i=oe(this.slides[this.items.indexOf(t)],e);At(this.$el,"itemloaded",[this,i]),this.$update(i)},setError:function(t){this.setItem(t,'<span uk-icon="icon: bolt; ratio: 2"></span>')},showControls:function(){clearTimeout(this.controlsTimer),this.controlsTimer=setTimeout(this.hideControls,this.delayControls),xe(this.$el,"uk-active","uk-transition-active")},hideControls:function(){ke(this.$el,"uk-active","uk-transition-active")}}};function Cr(t,e,i,n){return'<iframe src="'+t+'" width="'+e+'" height="'+i+'" style="max-width: 100%; box-sizing: border-box;" frameborder="0" allowfullscreen uk-video="autoplay: '+n+'" uk-responsive></iframe>'}var Ar,Nr={install:function(t,e){t.lightboxPanel||t.component("lightboxPanel",Er);Y(e.props,t.component("lightboxPanel").options.props)},props:{toggle:String},data:{toggle:"a"},computed:{toggles:function(t,e){return be(t.toggle,e)}},disconnected:function(){this.hide()},events:[{name:"click",delegate:function(){return this.toggle+":not(.uk-disabled)"},handler:function(t){t.preventDefault(),t.current.blur(),this.show(ie(this.toggles,t.current))}}],update:function(t){var e,i;(t.toggles=this.panel&&t.toggles||this.toggles,this.panel&&(e=t.toggles,i=this.toggles,e.length!==i.length||!e.every(function(t,e){return t===i[e]})))&&(t.toggles=this.toggles,this.panel.hide())},methods:{show:function(t){var e=this;return this.panel=this.panel||this.$create("lightboxPanel",Y({},this.$props,{items:this.toggles.reduce(function(t,i){return t.push(["href","caption","type","poster","alt"].reduce(function(t,e){return t["href"===e?"source":e]=et(i,e),t},{})),t},[])})),Tt(this.panel.$el,"hidden",function(){return e.panel=!1}),this.panel.show(t)},hide:function(){return this.panel&&this.panel.hide()}}};var _r={},Mr={functional:!0,args:["message","status"],data:{message:"",status:"",timeout:5e3,group:null,pos:"top-center",clsClose:"uk-notification-close",clsMsg:"uk-notification-message"},install:function(r){r.notification.closeAll=function(i,n){ve(document.body,function(t){var e=r.getComponent(t,"notification");!e||i&&i!==e.group||e.close(n)})}},created:function(){_r[this.pos]||(_r[this.pos]=se(this.$container,'<div class="uk-notification uk-notification-'+this.pos+'"></div>'));var t=Me(_r[this.pos],"display","block");this.$mount(se(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>"))},connected:function(){var t=this,e=P(Me(this.$el,"marginBottom"));We.start(Me(this.$el,{opacity:0,marginTop:-this.$el.offsetHeight,marginBottom:0}),{opacity:1,marginTop:0,marginBottom:e}).then(function(){t.timeout&&(t.timer=setTimeout(t.close,t.timeout))})},events:(Ar={click:function(t){mt(t.target,'a[href="#"]')&&t.preventDefault(),this.close()}},Ar[Zt]=function(){this.timer&&clearTimeout(this.timer)},Ar[Qt]=function(){this.timeout&&(this.timer=setTimeout(this.close,this.timeout))},Ar),methods:{close:function(t){var e=this,i=function(){At(e.$el,"close",[e]),ce(e.$el),_r[e.pos].children.length||Me(_r[e.pos],"display","none")};this.timer&&clearTimeout(this.timer),t?i():We.start(this.$el,{opacity:0,marginTop:-this.$el.offsetHeight,marginBottom:0}).then(i)}}};var Dr=["x","y","bgx","bgy","rotate","scale","color","backgroundColor","borderColor","opacity","blur","hue","grayscale","invert","saturate","sepia","fopacity"],Br={mixins:[Hn],props:Dr.reduce(function(t,e){return t[e]="list",t},{}),data:Dr.reduce(function(t,e){return t[e]=void 0,t},{}),computed:{props:function(f,p){var m=this;return Dr.reduce(function(t,e){if(B(f[e]))return t;var i,n,r,o=e.match(/color/i),s=o||"opacity"===e,a=f[e].slice(0);s&&Me(p,e,""),a.length<2&&a.unshift(("scale"===e?1:s?Me(p,e):0)||0);var l=b(a.join(""),"%")?"%":"px";if(o){var h=p.style.color;a=a.map(function(t){return Me(Me(p,"color",t),"color").split(/[(),]/g).slice(1,-1).concat(1).slice(0,4).map(function(t){return P(t)})}),p.style.color=h}else a=a.map(P);if(e.match(/^bg/))if(Me(p,"background-position-"+e[2],""),n=Me(p,"backgroundPosition").split(" ")["x"===e[2]?0:1],m.covers){var c=Math.min.apply(Math,a),u=Math.max.apply(Math,a),d=a.indexOf(c)<a.indexOf(u);r=u-c,a=a.map(function(t){return t-(d?c:u)}),i=(d?-r:0)+"px"}else i=n;return t[e]={steps:a,unit:l,pos:i,bgPos:n,diff:r},t},{})},bgProps:function(){var e=this;return["bgx","bgy"].filter(function(t){return t in e.props})},covers:function(t,e){return n=(i=e).style.backgroundSize,r="cover"===Me(Me(i,"backgroundSize",""),"backgroundSize"),i.style.backgroundSize=n,r;var i,n,r}},disconnected:function(){delete this._image},update:{read:function(t){var l=this;if(t.active=this.matchMedia,t.active){if(!t.image&&this.covers&&this.bgProps.length){var e=Me(this.$el,"backgroundImage").replace(/^none|url\(["']?(.+?)["']?\)$/,"$1");if(e){var i=new Image;i.src=e,(t.image=i).naturalWidth||(i.onload=function(){return l.$emit()})}}var n=t.image;if(n&&n.naturalWidth){var h={width:this.$el.offsetWidth,height:this.$el.offsetHeight},c={width:n.naturalWidth,height:n.naturalHeight},u=J.cover(c,h);this.bgProps.forEach(function(t){var e=l.props[t],i=e.diff,n=e.bgPos,r=e.steps,o="bgy"===t?"height":"width",s=u[o]-h[o];if(n.match(/%$|0px/)){if(s<i)h[o]=u[o]+i-s;else if(i<s){var a=parseFloat(n);a&&(l.props[t].steps=r.map(function(t){return t-(s-i)/(100/a)}))}u=J.cover(c,h)}}),t.dim=u}}},write:function(t){var e=t.dim;t.active?e&&Me(this.$el,{backgroundSize:e.width+"px "+e.height+"px",backgroundRepeat:"no-repeat"}):Me(this.$el,{backgroundSize:"",backgroundRepeat:""})},events:["load","resize"]},methods:{reset:function(){var i=this;R(this.getCss(0),function(t,e){return Me(i.$el,e,"")})},getCss:function(p){var m=this.props,g=!1;return Object.keys(m).reduce(function(t,e){var i=m[e],n=i.steps,r=i.unit,o=i.pos,s=zr(n,p);switch(e){case"x":case"y":if(g)break;var a=["x","y"].map(function(t){return e===t?P(s).toFixed(0)+r:m[t]?zr(m[t].steps,p,0)+m[t].unit:0}),l=a[0],h=a[1];g=t.transform+=" translate3d("+l+", "+h+", 0)";break;case"rotate":t.transform+=" rotate("+s+"deg)";break;case"scale":t.transform+=" scale("+s+")";break;case"bgy":case"bgx":t["background-position-"+e[2]]="calc("+o+" + "+(s+r)+")";break;case"color":case"backgroundColor":case"borderColor":var c=Or(n,p),u=c[0],d=c[1],f=c[2];t[e]="rgba("+u.map(function(t,e){return t+=f*(d[e]-t),3===e?P(t):parseInt(t,10)}).join(",")+")";break;case"blur":t.filter+=" blur("+s+"px)";break;case"hue":t.filter+=" hue-rotate("+s+"deg)";break;case"fopacity":t.filter+=" opacity("+s+"%)";break;case"grayscale":case"invert":case"saturate":case"sepia":t.filter+=" "+e+"("+s+"%)";break;default:t[e]=s}return t},{transform:"",filter:""})}}};function Or(t,e){var i=t.length-1,n=Math.min(Math.floor(i*e),i-1),r=t.slice(n,n+2);return r.push(1===e?1:e%(1/i)*i),r}function zr(t,e,i){void 0===i&&(i=2);var n=Or(t,e),r=n[0],o=n[1],s=n[2];return(M(r)?r+Math.abs(r-o)*s*(r<o?1:-1):+o).toFixed(i)}var Pr={mixins:[Br],props:{target:String,viewport:Number,easing:Number},data:{target:!1,viewport:1,easing:1},computed:{target:function(t,e){var i=t.target;return i&&it(i,e)||e}},update:{read:function(t,e){var i=t.percent,n=t.active;if("scroll"!==e.type&&(i=!1),n){var r,o,s=i;return r=li(this.target)/(this.viewport||1),o=this.easing,{percent:i=U(r*(1-(o-o*r))),style:s!==i&&this.getCss(i)}}},write:function(t){var e=t.style;t.active?e&&Me(this.$el,e):this.reset()},events:["scroll","load","resize"]}};var Hr={update:{write:function(){if(!this.stack.length&&!this.dragging){var t=this.getValidIndex();delete this.index,ke(this.slides,this.clsActive,this.clsActivated),this.show(t)}},events:["load","resize"]}};function jr(t,e,i){var n,r=Wr(t,e);return i?r-(n=t,Vr(e).width/2-Vr(n).width/2):Math.min(r,Fr(e))}function Fr(t){return Math.max(0,Lr(t)-Vr(t).width)}function Lr(t){return Rr(t).reduce(function(t,e){return Vr(e).width+t},0)}function Wr(t,e){return(Ze(t).left+(Rt?Vr(t).width-Vr(e).width:0))*(Rt?-1:1)}function Vr(t){return t.getBoundingClientRect()}function Yr(t,e,i){At(t,Nt(e,!1,!1,i))}function Rr(t){return F(t.children)}var qr={mixins:[Vi,Ir,Hr],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:function(r,n,o,t){var e=t.center,s=t.easing,a=t.list,l=new Pt,i=r?jr(r,a,e):jr(n,a,e)+Vr(n).width*o,h=n?jr(n,a,e):i+Vr(r).width*o*(Rt?-1:1);return{dir:o,show:function(t,e,i){void 0===e&&(e=0);var n=i?"linear":s;return t-=Math.round(t*U(e,-1,1)),this.translate(e),r&&this.updateTranslates(),e=r?e:U(e,0,1),Yr(this.getItemIn(),"itemin",{percent:e,duration:t,timing:n,dir:o}),r&&Yr(this.getItemIn(!0),"itemout",{percent:1-e,duration:t,timing:n,dir:o}),We.start(a,{transform:yr(-h*(Rt?-1:1),"px")},t,n).then(l.resolve,X),l.promise},stop:function(){return We.stop(a)},cancel:function(){We.cancel(a)},reset:function(){Me(a,"transform","")},forward:function(t,e){return void 0===e&&(e=this.percent()),We.cancel(a),this.show(t,e,!0)},translate:function(t){var e=this.getDistance()*o*(Rt?-1:1);Me(a,"transform",yr(U(e-e*t-h,-Lr(a),Vr(a).width)*(Rt?-1:1),"px")),this.updateTranslates(),r&&(t=U(t,-1,1),Yr(this.getItemIn(),"itemtranslatein",{percent:t,dir:o}),Yr(this.getItemIn(!0),"itemtranslateout",{percent:1-t,dir:o}))},percent:function(){return Math.abs((Me(a,"transform").split(",")[4]*(Rt?-1:1)+i)/(h-i))},getDistance:function(){return Math.abs(h-i)},getItemIn:function(t){void 0===t&&(t=!1);var e=this.getActives(),i=q(Rr(a),"offsetLeft"),n=ie(i,e[0<o*(t?-1:1)?e.length-1:0]);return~n&&i[n+(r&&!t?o:0)]},getActives:function(){var i=jr(r||n,a,e);return q(Rr(a).filter(function(t){var e=Wr(t,a);return i<=e&&e+Vr(t).width<=Vr(a).width+i}),"offsetLeft")},updateTranslates:function(){var i=this.getActives();Rr(a).forEach(function(t){var e=b(i,t);Yr(t,"itemtranslate"+(e?"in":"out"),{percent:e?1:0,dir:t.offsetLeft<=n.offsetLeft?1:-1})})}}}},computed:{avgWidth:function(){return Lr(this.list)/this.length},finite:function(t){return t.finite||Lr(this.list)<Vr(this.list).width+Rr(this.list).reduce(function(t,e){return Math.max(t,Vr(e).width)},0)+this.center},maxIndex:function(){if(!this.finite||this.center&&!this.sets)return this.length-1;if(this.center)return this.sets[this.sets.length-1];Me(this.slides,"order","");for(var t=Fr(this.list),e=this.length;e--;)if(Wr(this.list.children[e],this.list)<t)return Math.min(e+1,this.length-1);return 0},sets:function(t){var o=this,e=t.sets,s=Vr(this.list).width/(this.center?2:1),a=0,l=s,h=0;return(e=e&&this.slides.reduce(function(t,e,i){var n=Vr(e).width;if(a<h+n&&(!o.center&&i>o.maxIndex&&(i=o.maxIndex),!b(t,i))){var r=o.slides[i+1];o.center&&r&&n<l-Vr(r).width/2?l-=n:(l=s,t.push(i),a=h+s+(o.center?n/2:0))}return h+=n,t},[]))&&e.length&&e},transitionOptions:function(){return{center:this.center,list:this.list}}},connected:function(){Te(this.$el,this.clsContainer,!we("."+this.clsContainer,this.$el))},update:{write:function(){var i=this;be("["+this.attrItem+"],[data-"+this.attrItem+"]",this.$el).forEach(function(t){var e=et(t,i.attrItem);i.maxIndex&&Te(t,"uk-hidden",D(e)&&(i.sets&&!b(i.sets,P(e))||e>i.maxIndex))})},events:["load","resize"]},events:{beforeitemshow:function(t){!this.dragging&&this.sets&&this.stack.length<2&&!b(this.sets,this.index)&&(this.index=this.getValidIndex());var e=Math.abs(this.index-this.prevIndex+(0<this.dir&&this.index<this.prevIndex||this.dir<0&&this.index>this.prevIndex?(this.maxIndex+1)*this.dir:0));if(!this.dragging&&1<e){for(var i=0;i<e;i++)this.stack.splice(1,0,0<this.dir?"next":"previous");t.preventDefault()}else this.duration=Sr(this.avgWidth/this.velocity)*(Vr(this.dir<0||!this.slides[this.prevIndex]?this.slides[this.index]:this.slides[this.prevIndex]).width/this.avgWidth),this.reorder()},itemshow:function(){!B(this.prevIndex)&&xe(this._getTransitioner().getItemIn(),this.clsActive)},itemshown:function(){var e=this,i=this._getTransitioner(this.index).getActives();this.slides.forEach(function(t){return Te(t,e.clsActive,b(i,t))}),(!this.sets||b(this.sets,P(this.index)))&&this.slides.forEach(function(t){return Te(t,e.clsActivated,b(i,t))})}},methods:{reorder:function(){var i=this;if(Me(this.slides,"order",""),!this.finite){var n=0<this.dir&&this.slides[this.prevIndex]?this.prevIndex:this.index;if(this.slides.forEach(function(t,e){return Me(t,"order",0<i.dir&&e<n?1:i.dir<0&&e>=i.index?-1:"")}),this.center)for(var t=this.slides[n],e=Vr(this.list).width/2-Vr(t).width/2,r=0;0<e;){var o=i.getIndex(--r+n,n),s=i.slides[o];Me(s,"order",n<o?-2:-1),e-=Vr(s).width}}},getValidIndex:function(t,e){var i;if(void 0===t&&(t=this.index),void 0===e&&(e=this.prevIndex),t=this.getIndex(t,e),!this.sets)return t;do{if(b(this.sets,t))return t;i=t,t=this.getIndex(t+this.dir,e)}while(t!==i);return t}}},Ur={mixins:[Br],data:{selItem:"!li"},computed:{item:function(t,e){return it(t.selItem,e)}},events:[{name:"itemshown",self:!0,el:function(){return this.item},handler:function(){Me(this.$el,this.getCss(.5))}},{name:"itemin itemout",self:!0,el:function(){return this.item},handler:function(t){var e=t.type,i=t.detail,n=i.percent,r=i.duration,o=i.timing,s=i.dir;We.cancel(this.$el),Me(this.$el,this.getCss(Kr(e,s,n))),We.start(this.$el,this.getCss(Xr(e)?.5:0<s?1:0),r,o).catch(X)}},{name:"transitioncanceled transitionend",self:!0,el:function(){return this.item},handler:function(){We.cancel(this.$el)}},{name:"itemtranslatein itemtranslateout",self:!0,el:function(){return this.item},handler:function(t){var e=t.type,i=t.detail,n=i.percent,r=i.dir;We.cancel(this.$el),Me(this.$el,this.getCss(Kr(e,r,n)))}}]};function Xr(t){return u(t,"in")}function Kr(t,e,i){return i/=2,Xr(t)?e<0?1-i:i:e<0?i:1-i}var Gr,Jr=Y({},wr,{fade:{show:function(){return[{opacity:0,zIndex:0},{zIndex:-1}]},percent:function(t){return 1-Me(t,"opacity")},translate:function(t){return[{opacity:1-t,zIndex:0},{zIndex:-1}]}},scale:{show:function(){return[{opacity:0,transform:xr(1.5),zIndex:0},{zIndex:-1}]},percent:function(t){return 1-Me(t,"opacity")},translate:function(t){return[{opacity:1-t,transform:xr(1+.5*t),zIndex:0},{zIndex:-1}]}},pull:{show:function(t){return t<0?[{transform:yr(30),zIndex:-1},{transform:yr(),zIndex:0}]:[{transform:yr(-100),zIndex:0},{transform:yr(),zIndex:-1}]},percent:function(t,e,i){return i<0?1-br(e):br(t)},translate:function(t,e){return e<0?[{transform:yr(30*t),zIndex:-1},{transform:yr(-100*(1-t)),zIndex:0}]:[{transform:yr(100*-t),zIndex:0},{transform:yr(30*(1-t)),zIndex:-1}]}},push:{show:function(t){return t<0?[{transform:yr(100),zIndex:0},{transform:yr(),zIndex:-1}]:[{transform:yr(-30),zIndex:-1},{transform:yr(),zIndex:0}]},percent:function(t,e,i){return 0<i?1-br(e):br(t)},translate:function(t,e){return e<0?[{transform:yr(100*t),zIndex:0},{transform:yr(-30*(1-t)),zIndex:-1}]:[{transform:yr(-30*t),zIndex:-1},{transform:yr(100*(1-t)),zIndex:0}]}}}),Zr={mixins:[Vi,Tr,Hr],props:{ratio:String,minHeight:Boolean,maxHeight:Boolean},data:{ratio:"16:9",minHeight:!1,maxHeight:!1,selList:".uk-slideshow-items",attrItem:"uk-slideshow-item",selNav:".uk-slideshow-nav",Animations:Jr},update:{read:function(){var t=this.ratio.split(":").map(Number),e=t[0],i=t[1];return i=i*this.list.offsetWidth/e,this.minHeight&&(i=Math.max(this.minHeight,i)),this.maxHeight&&(i=Math.min(this.maxHeight,i)),{height:i-ii(this.list,"content-box")}},write:function(t){var e=t.height;Me(this.list,"minHeight",e)},events:["load","resize"]}},Qr={mixins:[Vi,cr],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},created:function(){var o=this;["init","start","move","end"].forEach(function(t){var r=o[t];o[t]=function(t){o.scrollY=window.pageYOffset;var e=Oi(t),i=e.x,n=e.y;o.pos={x:i,y:n},r(t)}})},events:{name:Kt,passive:!1,handler:"init"},update:{write:function(){if(this.clsEmpty&&Te(this.$el,this.clsEmpty,!this.$el.children.length),Me(this.handle?be(this.handle,this.$el):this.$el.children,"touchAction","none"),this.drag){Ge(this.drag,{top:this.pos.y+this.origin.top,left:this.pos.x+this.origin.left});var t,e=Ge(this.drag),i=e.top,n=i+e.height;0<i&&i<this.scrollY?t=this.scrollY-5:n<Qe(document)&&n>Qe(window)+this.scrollY&&(t=this.scrollY+5),t&&setTimeout(function(){return hi(window,t)},5)}}},methods:{init:function(t){var e=t.target,i=t.button,n=t.defaultPrevented,r=F(this.$el.children).filter(function(t){return St(e,t)})[0];!r||$t(e)||this.handle&&!St(e,this.handle)||0<i||St(e,"."+this.clsNoDrag)||n||(t.preventDefault(),this.touched=[this],this.placeholder=r,this.origin=Y({target:e,index:ie(r)},this.pos),Tt(document,Gt,this.move),Tt(document,Jt,this.end),Tt(window,"scroll",this.scroll),this.threshold||this.start(t))},start:function(t){this.drag=se(this.$container,this.placeholder.outerHTML.replace(/^<li/i,"<div").replace(/li>$/i,"div>")),Me(this.drag,Y({boxSizing:"border-box",width:this.placeholder.offsetWidth,height:this.placeholder.offsetHeight},Me(this.placeholder,["paddingLeft","paddingRight","paddingTop","paddingBottom"]))),Z(this.drag,"uk-no-boot",""),xe(this.drag,this.clsDrag,this.clsCustom),Qe(this.drag.firstElementChild,Qe(this.placeholder.firstElementChild));var e=Ge(this.placeholder),i=e.left,n=e.top;Y(this.origin,{left:i-this.pos.x,top:n-this.pos.y}),xe(this.placeholder,this.clsPlaceholder),xe(this.$el.children,this.clsItem),xe(document.documentElement,this.clsDragState),At(this.$el,"start",[this,this.placeholder]),this.move(t)},move:function(t){if(this.drag){this.$emit();var e="mousemove"===t.type?t.target:document.elementFromPoint(this.pos.x-window.pageXOffset,this.pos.y-window.pageYOffset),i=this.getSortable(e),n=this.getSortable(this.placeholder),r=i!==n;if(i&&!St(e,this.placeholder)&&(!r||i.group&&i.group===n.group)){if(e=i.$el===e.parentNode&&e||F(i.$el.children).filter(function(t){return St(e,t)})[0],r)n.remove(this.placeholder);else if(!e)return;i.insert(this.placeholder,e),b(this.touched,i)||this.touched.push(i)}}else(Math.abs(this.pos.x-this.origin.x)>this.threshold||Math.abs(this.pos.y-this.origin.y)>this.threshold)&&this.start(t)},end:function(t){if(Et(document,Gt,this.move),Et(document,Jt,this.end),Et(window,"scroll",this.scroll),this.drag){Ot();var e=this.getSortable(this.placeholder);this===e?this.origin.index!==ie(this.placeholder)&&At(this.$el,"moved",[this,this.placeholder]):(At(e.$el,"added",[e,this.placeholder]),At(this.$el,"removed",[this,this.placeholder])),At(this.$el,"stop",[this,this.placeholder]),ce(this.drag),this.drag=null;var i=this.touched.map(function(t){return t.clsPlaceholder+" "+t.clsItem}).join(" ");this.touched.forEach(function(t){return ke(t.$el.children,i)}),ke(document.documentElement,this.clsDragState)}else"touchend"===t.type&&t.target.click()},scroll:function(){var t=window.pageYOffset;t!==this.scrollY&&(this.pos.y+=t-this.scrollY,this.scrollY=t,this.$emit())},insert:function(i,n){var r=this;xe(this.$el.children,this.clsItem);var t=function(){var t,e;n?!St(i,r.$el)||(e=n,(t=i).parentNode===e.parentNode&&ie(t)>ie(e))?ae(n,i):le(n,i):se(r.$el,i)};this.animation?this.animate(t):t()},remove:function(t){St(t,this.$el)&&(this.animation?this.animate(function(){return ce(t)}):ce(t))},getSortable:function(t){return t&&(this.$getComponent(t,"sortable")||this.getSortable(t.parentNode))}}};var to=[],eo={mixins:[Wn,Yi,Zi],args:"title",props:{delay:Number,title:String},data:{pos:"top",title:"",delay:0,animation:["uk-animation-scale-up"],duration:100,cls:"uk-active",clsPos:"uk-tooltip"},beforeConnect:function(){this._hasTitle=Q(this.$el,"title"),Z(this.$el,{title:"","aria-expanded":!1})},disconnected:function(){this.hide(),Z(this.$el,{title:this._hasTitle?this.title:null,"aria-expanded":null})},methods:{show:function(){var e=this;b(to,this)||(to.forEach(function(t){return t.hide()}),to.push(this),this._unbind=Tt(document,"click",function(t){return!St(t.target,e.$el)&&e.hide()}),clearTimeout(this.showTimer),this.showTimer=setTimeout(function(){e._show(),e.hideTimer=setInterval(function(){xt(e.$el)||e.hide()},150)},this.delay))},hide:function(){var t=to.indexOf(this);!~t||ft(this.$el,"input")&&this.$el===document.activeElement||(to.splice(t,1),clearTimeout(this.showTimer),clearInterval(this.hideTimer),Z(this.$el,"aria-expanded",!1),this.toggleElement(this.tooltip,!1),this.tooltip&&ce(this.tooltip),this.tooltip=!1,this._unbind())},_show:function(){this.tooltip=se(this.container,'<div class="'+this.clsPos+'" aria-expanded="true" aria-hidden> <div class="'+this.clsPos+'-inner">'+this.title+"</div> </div>"),this.positionAt(this.tooltip,this.$el),this.origin="y"===this.getAxis()?si(this.dir)+"-"+this.align:this.align+"-"+si(this.dir),this.toggleElement(this.tooltip,!0)}},events:(Gr={},Gr["focus "+Zt+" "+Kt]=function(t){t.type===Kt&&Bi(t)||this.show()},Gr.blur="hide",Gr[Qt]=function(t){Bi(t)||this.hide()},Gr)},io={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:X,beforeAll:X,beforeSend:X,complete:X,completeAll:X,error:X,fail:X,load:X,loadEnd:X,loadStart:X,progress:X},events:{change:function(t){ft(t.target,'input[type="file"]')&&(t.preventDefault(),t.target.files&&this.upload(t.target.files),t.target.value="")},drop:function(t){ro(t);var e=t.dataTransfer;e&&e.files&&(ke(this.$el,this.clsDragover),this.upload(e.files))},dragenter:function(t){ro(t)},dragover:function(t){ro(t),xe(this.$el,this.clsDragover)},dragleave:function(t){ro(t),ke(this.$el,this.clsDragover)}},methods:{upload:function(t){var n=this;if(t.length){At(this.$el,"upload",[t]);for(var e=0;e<t.length;e++){if(n.maxSize&&1e3*n.maxSize<t[e].size)return void n.fail(n.msgInvalidSize.replace("%s",n.maxSize));if(n.allow&&!no(n.allow,t[e].name))return void n.fail(n.msgInvalidName.replace("%s",n.allow));if(n.mime&&!no(n.mime,t[e].type))return void n.fail(n.msgInvalidMime.replace("%s",n.mime))}this.multiple||(t=[t[0]]),this.beforeAll(this,t);var r=function(t,e){for(var i=[],n=0;n<t.length;n+=e){for(var r=[],o=0;o<e;o++)r.push(t[n+o]);i.push(r)}return i}(t,this.concurrent),o=function(t){var e=new FormData;for(var i in t.forEach(function(t){return e.append(n.name,t)}),n.params)e.append(i,n.params[i]);Wt(n.url,{data:e,method:n.method,responseType:n.type,beforeSend:function(t){var e=t.xhr;e.upload&&Tt(e.upload,"progress",n.progress),["loadStart","load","loadEnd","abort"].forEach(function(t){return Tt(e,t.toLowerCase(),n[t])}),n.beforeSend(t)}}).then(function(t){n.complete(t),r.length?o(r.shift()):n.completeAll(t)},function(t){return n.error(t)})};o(r.shift())}}}};function no(t,e){return e.match(new RegExp("^"+t.replace(/\//g,"\\/").replace(/\*\*/g,"(\\/[^\\/]+)*").replace(/\*/g,"[^\\/]+").replace(/((?!\\))\?/g,"$1.")+"$","i"))}function ro(t){t.preventDefault(),t.stopPropagation()}return Wi.component("countdown",ar),Wi.component("filter",pr),Wi.component("lightbox",Nr),Wi.component("lightboxPanel",Er),Wi.component("notification",Mr),Wi.component("parallax",Pr),Wi.component("slider",qr),Wi.component("sliderParallax",Ur),Wi.component("slideshow",Zr),Wi.component("slideshowParallax",Ur),Wi.component("sortable",Qr),Wi.component("tooltip",eo),Wi.component("upload",io),function(o){var s=o.connect,a=o.disconnect;function t(){l(document.body,s),fi.flush(),new MutationObserver(function(t){return t.forEach(e)}).observe(document,{childList:!0,subtree:!0,characterData:!0,attributes:!0}),o._initialized=!0}function e(t){var e=t.target;("attributes"!==t.type?function(t){for(var e=t.addedNodes,i=t.removedNodes,n=0;n<e.length;n++)l(e[n],s);for(var r=0;r<i.length;r++)l(i[r],a);return!0}(t):function(t){var e=t.target,i=t.attributeName;if("href"===i)return!0;var n=Pi(i);if(n&&n in o){if(Q(e,i))return o[n](e),!0;var r=o.getComponent(e,n);return r?(r.$destroy(),!0):void 0}}(t))&&o.update(e)}function l(t,e){if(1===t.nodeType&&!Q(t,"uk-no-boot"))for(e(t),t=t.firstElementChild;t;){var i=t.nextElementSibling;l(t,e),t=i}}"MutationObserver"in window&&(document.body?t():new MutationObserver(function(){document.body&&(this.disconnect(),t())}).observe(document,{childList:!0,subtree:!0}))}(Wi),Wi});