kaiho/public/js/uikit.min.js

3 lines
No EOL
127 KiB
JavaScript

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