Component-Builder/admin/custom/uikit-3/js/uikit.min.js

3 lines
112 KiB
JavaScript

/*! UIkit 3.0.0-beta.34 | 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 t(t){this.state=je,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)}}function e(t,e){return function(i){var n=arguments.length;return n?n>1?t.apply(e,arguments):t.call(e,i):t.call(e)}}function i(t,e){return qe.call(t,e)}function n(t){return t.replace(Xe,function(t,e){return e?e.toUpperCase():""})}function o(t){return t.replace(Je,"$1-$2").toLowerCase()}function s(t){return t.replace(Ge,r)}function r(t,e){return e?e.toUpperCase():""}function a(t){return t.length?r(null,t.charAt(0))+t.slice(1):""}function l(t,e){return Ke.call(t,e)}function h(t,e){return Qe.call(t,e)}function c(t,e){return t&&(v(t)?ei:ii).call(t,e)}function u(t){return"function"==typeof t}function f(t){return null!==t&&"object"==typeof t}function d(t){return f(t)&&Object.getPrototypeOf(t)===Object.prototype}function p(t){return f(t)&&t===t.window}function m(t){return f(t)&&9===t.nodeType}function g(t){return"boolean"==typeof t}function v(t){return"string"==typeof t}function w(t){return"number"==typeof t}function y(t){return w(t)||v(t)&&!isNaN(t-parseFloat(t))}function b(t){return void 0===t}function x(t){return g(t)?t:"true"===t||"1"===t||""===t||"false"!==t&&"0"!==t&&t}function k(t){var e=Number(t);return!isNaN(e)&&e}function _(t){return parseFloat(t)||0}function T(t){return ni(t)?t:v(t)?t.split(",").map(function(t){return y(t)?k(t):x(t.trim())}):[t]}function E(t){if(v(t))if("@"===t[0]){var e="media-"+t.substr(1);t=oi[e]||(oi[e]=_(Nt(e)))}else if(isNaN(t))return t;return!(!t||isNaN(t))&&"(min-width: "+t+"px)"}function C(t,e,i){return t===Boolean?x(e):t===Number?k(e):"query"===t?L(e,i):"list"===t?T(e):"media"===t?E(e):t?t(e):e}function A(t){return t?h(t,"ms")?_(t):1e3*_(t):0}function S(t,e,i){return t.replace(new RegExp(e+"|"+i,"mg"),function(t){return t===e?i:e})}function I(t,e){for(var i in t)if(!1===e.call(t[i],t[i],i))break}function N(t,e,i){return void 0===e&&(e=0),void 0===i&&(i=1),Math.min(Math.max(t,e),i)}function D(){}function O(t,e){return t.left<=e.right&&e.left<=t.right&&t.top<=e.bottom&&e.top<=t.bottom}function B(t,e){return O({top:t.y,bottom:t.y,left:t.x,right:t.x},e)}function P(t,e){return new Ue(function(i,n){var o=si({data:null,method:"GET",headers:{},xhr:new XMLHttpRequest,beforeSend:D,responseType:""},e),s=o.xhr;o.beforeSend(o);for(var r in o)if(r in s)try{s[r]=o[r]}catch(t){}s.open(o.method.toUpperCase(),t);for(var a in o.headers)s.setRequestHeader(a,o.headers[a]);Rt(s,"load",function(){0===s.status||s.status>=200&&s.status<300||304===s.status?i(s):n(si(Error(s.statusText),{xhr:s,status:s.status}))}),Rt(s,"error",function(){return n(si(Error("Network Error"),{xhr:s}))}),Rt(s,"timeout",function(){return n(si(Error("Network Timeout"),{xhr:s}))}),s.send(o.data)})}function M(t,e){return v(t)?z(t)?Q(Et(t)):W(t,e):Q(t)}function H(t,e){return v(t)?z(t)?tt(Et(t)):F(t,e):tt(t)}function z(t){return"<"===t[0]||t.match(/^\s*</)}function L(t,e){return M(t,q(t)?e:di)}function j(t,e){return H(t,q(t)?e:di)}function W(t,e){return Q(R(t,e,"querySelector"))}function F(t,e){return tt(R(t,e,"querySelectorAll"))}function R(t,e,i){if(void 0===e&&(e=di),!t||!v(t))return null;var n;q(t=t.replace(li,"$1 *"))&&(n=[],t=t.split(",").map(function(t,i){var o=e;if("!"===(t=t.trim())[0]){var s=t.substr(1).trim().split(" ");o=X(e.parentNode,s[0]),t=s.slice(1).join(" ")}return o?(o.id||(o.id="uk-"+Date.now()+i,n.push(function(){return nt(o,"id")})),"#"+o.id+" "+t):null}).filter(Boolean).join(","),e=di);try{return e[i](t)}catch(t){return null}finally{n&&n.forEach(function(t){return t()})}}function Y(t,e){return H(t).filter(function(t){return U(t,e)})}function V(t,e){return v(e)?U(t,e)||X(t,e):t===e||Q(e).contains(Q(t))}function q(t){return v(t)&&t.match(ai)}function U(t,e){return tt(t).some(function(t){return ci.call(t,e)})}function X(t,e){return l(e,">")&&(e=e.slice(1)),Z(t)?t.parentNode&&ui.call(t,e):tt(t).map(function(t){return t.parentNode&&ui.call(t,e)}).filter(Boolean)}function J(t,e){for(var i=[],n=Q(t).parentNode;n&&1===n.nodeType;)U(n,e)&&i.push(n),n=n.parentNode;return i}function G(t){return f(t)&&!!t.jquery}function Z(t){return t instanceof Node||f(t)&&1===t.nodeType}function K(t){return t instanceof NodeList||t instanceof HTMLCollection}function Q(t){return Z(t)||p(t)||m(t)?t:K(t)||G(t)?t[0]:ni(t)?Q(t[0]):null}function tt(t){return Z(t)?[t]:K(t)?ri.slice.call(t):ni(t)?t.map(Q).filter(Boolean):G(t)?t.toArray():[]}function et(t,e,i){if(f(e))for(var n in e)et(t,n,e[n]);else{if(b(i))return(t=Q(t))&&t.getAttribute(e);tt(t).forEach(function(t){u(i)&&(i=i.call(t,et(t,e))),null===i?nt(t,e):t.setAttribute(e,i)})}}function it(t,e){return tt(t).some(function(t){return t.hasAttribute(e)})}function nt(t,e){t=tt(t),e.split(" ").forEach(function(e){return t.forEach(function(t){return t.removeAttribute(e)})})}function ot(t,e,i,n){et(t,e,function(t){return t?t.replace(i,n):t})}function st(t,e){for(var i=0,n=[e,"data-"+e];i<n.length;i++)if(it(t,n[i]))return et(t,n[i])}function rt(){return"complete"===di.readyState||"loading"!==di.readyState&&!pi.doScroll}function at(t){if(rt())t();else var e=function(){i(),n(),t()},i=Rt(di,"DOMContentLoaded",e),n=Rt(fi,"load",e)}function lt(t,e,i,n){return void 0===i&&(i=400),void 0===n&&(n="linear"),Ue.all(tt(t).map(function(t){return new Ue(function(o,s){for(var r in e){var a=At(t,r);""===a&&At(t,r,a)}var l=setTimeout(function(){return qt(t,Ri)},i);Vt(t,Ri+" "+gi,function(e){var i=e.type;clearTimeout(l),Pt(t,"uk-transition"),At(t,"transition",""),i===gi?s():o()},!1,function(e){var i=e.target;return t===i}),Bt(t,"uk-transition"),At(t,si({transition:"all "+i+"ms "+n},e))})}))}function ht(t,e,i,n,o){var s=arguments;return void 0===i&&(i=200),Ue.all(tt(t).map(function(t){return new Ue(function(r,a){function h(){At(t,"animationDuration",""),Mt(t,yi+"\\S*")}if(zt(t,bi))Bi(function(){return Ue.resolve().then(function(){return ht.apply(null,s).then(r,a)})});else{var c=e+" "+yi+(o?"leave":"enter");l(e,yi)&&(n&&(c+=" "+yi+n),o&&(c+=" "+yi+"reverse")),h(),Vt(t,(Vi||"animationend")+" "+wi,function(e){var i=!1;e.type===wi?(a(),h()):(r(),Ue.resolve().then(function(){i=!0,h()})),Bi(function(){i||(Bt(t,bi),Bi(function(){return Pt(t,bi)}))})},!1,function(e){var i=e.target;return t===i}),At(t,"animationDuration",i+"ms"),Bt(t,c),Vi||Bi(function(){return ki.cancel(t)})}})}))}function ct(t,e,i){return void 0===e&&(e=0),void 0===i&&(i=0),O(Q(t).getBoundingClientRect(),{top:e,left:i,bottom:e+nn(fi),right:i+on(fi)})}function ut(t){var e=0;do{e+=t.offsetTop}while(t=t.offsetParent);return e}function ft(t,e,i){void 0===i&&(i=0);var n=(e=tt(e)).length;return(t=(y(t)?k(t):"next"===t?i+1:"previous"===t?i-1:Ct(e,t))%n)<0?t+n:t}function dt(t){return $i[Q(t).tagName.toLowerCase()]}function pt(t){return tt(t).some(function(t){return t.offsetHeight})}function mt(t){return tt(t).some(function(t){return U(t,Ti)})}function gt(t){return t=Q(t),t.innerHTML="",t}function vt(t,e){return t=Q(t),b(e)?t.innerHTML:wt(t.hasChildNodes()?gt(t):t,e)}function wt(t,e){return t=Q(t),xt(e,function(e){return t.appendChild(e)})}function yt(t,e){return t=Q(t),xt(e,function(e){return t.parentNode.insertBefore(e,t)})}function bt(t,e){return t=Q(t),xt(e,function(e){return t.nextSibling?yt(t.nextSibling,e):wt(t.parentNode,e)})}function xt(t,e){return"length"in(t=v(t)?Et(t):t)?tt(t).map(e):e(t)}function kt(t){tt(t).map(function(t){return t.parentNode&&t.parentNode.removeChild(t)})}function $t(t,e){for(e=Q(yt(t,e));e.firstChild;)e=e.firstChild;return wt(e,t),e}function _t(t,e){return tt(tt(t).map(function(t){return t.hasChildNodes?$t(tt(t.childNodes),e):wt(t,e)}))}function Tt(t){tt(t).map(function(t){return t.parentNode}).filter(function(t,e,i){return i.indexOf(t)===e}).forEach(function(t){yt(t,t.childNodes),kt(t)})}function Et(t){var e;if(e=Ci.exec(t))return di.createElement(e[1]);var i=di.createElement("div");return Ei.test(t)?i.insertAdjacentHTML("beforeend",t.trim()):i.textContent=t,i.childNodes.length>1?tt(i.childNodes):i.firstChild}function Ct(t,e){return e?tt(t).indexOf(Q(e)):tt((t=Q(t))&&t.parentNode.children).indexOf(t)}function At(t,e,i){return tt(t).map(function(t){if(v(e)){if(e=Dt(e),b(i))return It(t,e);i||0===i?t.style[e]=y(i)&&!Ai[e]?i+"px":i:t.style.removeProperty(e)}else{if(ni(e)){var n=St(t);return e.reduce(function(t,e){return t[e]=Dt(n[e]),t},{})}f(e)&&I(e,function(e,i){return At(t,i,e)})}return t})[0]}function St(t,e){return(t=Q(t)).ownerDocument.defaultView.getComputedStyle(t,e)}function It(t,e,i){return St(t,i)[e]}function Nt(t){if(!(t in Si)){var e=wt(pi,di.createElement("div"));Bt(e,"var-"+t);try{Si[t]=It(e,"content",":before").replace(/^["'](.*)["']$/,"$1"),Si[t]=JSON.parse(Si[t])}catch(t){}pi.removeChild(e)}return Si[t]}function Dt(t){var e=Ii[t];return e||(e=Ii[t]=Ot(t)||t),e}function Ot(t){if((t=o(t))in Di)return t;for(var e,i=Ni.length;i--;)if((e="-"+Ni[i]+t)in Di)return e}function Bt(t){for(var e=[],i=arguments.length-1;i-- >0;)e[i]=arguments[i+1];jt(t,e,"add")}function Pt(t){for(var e=[],i=arguments.length-1;i-- >0;)e[i]=arguments[i+1];jt(t,e,"remove")}function Mt(t,e){ot(t,"class",new RegExp("(^|\\s)"+e+"(?!\\S)","g"),"")}function Ht(t){for(var e=[],i=arguments.length-1;i-- >0;)e[i]=arguments[i+1];e[0]&&Pt(t,e[0]),e[1]&&Bt(t,e[1])}function zt(t,e){return Re&&tt(t).some(function(t){return t.classList.contains(e)})}function Lt(t){for(var e=[],i=arguments.length-1;i-- >0;)e[i]=arguments[i+1];if(Re&&e.length){var n=v((e=Wt(e))[e.length-1])?void 0:e.pop();tt(t).forEach(function(t){for(var i=t.classList,o=0;o<e.length;o++)Ve?i.toggle(e[o],n):i[(b(n)?!i.contains(e[o]):n)?"add":"remove"](e[o])})}}function jt(t,e,i){e=Wt(e).filter(function(t){return t}),Re&&e.length&&tt(t).forEach(function(t){var n=t.classList;Ye?n[i].apply(n,e):e.forEach(function(t){return n[i](t)})})}function Wt(t){return t.reduce(function(t,e){return t.push.apply(t,v(e)&&c(e," ")?e.trim().split(" "):[e]),t},[])}function Ft(t,e){var i,o=n(t),s=n(e).toLowerCase(),r=n(e),a=di.body||pi,l=(i={},i[t]=s,i["Webkit"+o]="webkit"+r,i["Moz"+o]=s,i["o"+o]="o"+r+" o"+s,i);for(t in l)if(void 0!==a.style[t])return l[t]}function Rt(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var i=Xt(t),n=i[0],o=i[1],s=i[2],r=i[3],a=i[4];return n=Kt(n),s&&(r=Jt(n,s,r)),r.length>1&&(r=Gt(r)),o.split(" ").forEach(function(t){return n.addEventListener(t,r,a)}),function(){return Yt(n,o,r,a)}}function Yt(t,e,i,n){void 0===n&&(n=!1),e.split(" ").forEach(function(e){return Kt(t).removeEventListener(e,i,n)})}function Vt(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var i=Xt(t),n=i[0],o=i[1],s=i[2],r=i[3],a=i[4],l=i[5],h=Rt(n,o,s,function(t){var e=!l||l(t);e&&(h(),r(t,e))},a);return h}function qt(t,e,i){return Qt(t).reduce(function(t,n){return t&&n.dispatchEvent(Ut(e,!0,!0,i))},!0)}function Ut(t,e,i,n){if(void 0===e&&(e=!0),void 0===i&&(i=!1),v(t)){var o=di.createEvent("CustomEvent");o.initCustomEvent(t,e,i,n),t=o}return t}function Xt(t){return v(t[0])&&(t[0]=M(t[0])),u(t[2])&&t.splice(2,0,!1),t}function Jt(t,e,i){var n=this;return function(o){var s=o.target,r=">"===e[0]?H(e,t).filter(function(t){return V(s,t)})[0]:X(s,e);r&&(o.delegate=t,o.current=r,i.call(n,o))}}function Gt(t){return function(e){return ni(e.detail)?t.apply(t,[e].concat(e.detail)):t(e)}}function Zt(t){return"EventTarget"in fi?t instanceof EventTarget:"addEventListener"in t}function Kt(t){return Zt(t)?t:Q(t)}function Qt(t){return Zt(t)?[t]:ni(t)?t.map(Kt).filter(Boolean):tt(t)}function te(){qi.scheduled||(qi.scheduled=!0,Bi(qi.flush.bind(qi)))}function ee(t){for(var e;e=t.shift();)e()}function ie(t,e){var i=t.indexOf(e);return!!~i&&!!t.splice(i,1)}function ne(){}function oe(t,e){return(e.y-t.y)/(e.x-t.x)}function se(t,e){function n(i){s[i]=(Ui[i]||Xi)(t[i],e[i])}var o,s={};if(e.mixins)for(var r=0,a=e.mixins.length;r<a;r++)t=se(t,e.mixins[r]);for(o in t)n(o);for(o in e)i(t,o)||n(o);return s}function re(t,e){try{t.contentWindow.postMessage(JSON.stringify(si({event:"command"},e)),"*")}catch(t){}}function ae(t){return new Ue(function(e){Vt(fi,"message",function(t,i){return e(i)},!1,function(e){var i=e.data;if(i&&v(i)){try{i=JSON.parse(i)}catch(t){return}return i&&t(i)}})})}function le(t,e,i,n,o,s,r,a){i=ve(i),n=ve(n);var l={element:i,target:n};if(!t||!e)return l;var h=ce(t),u=ce(e),f=u;return ge(f,i,h,-1),ge(f,n,u,1),o=we(o,h.width,h.height),s=we(s,u.width,u.height),o.x+=s.x,o.y+=s.y,f.left+=o.x,f.top+=o.y,a=ce(a||me(t)),r&&I(en,function(t,e){function s(t,i){var n=f[p]+t+i-2*o[d];if(n>=a[p]&&n+h[e]<=a[m])return f[p]=n,["element","target"].forEach(function(i){l[i][d]=t?l[i][d]===en[e][1]?en[e][2]:en[e][1]:l[i][d]}),!0}var d=t[0],p=t[1],m=t[2];if(!0===r||c(r,d)){var g=i[d]===p?-h[e]:i[d]===m?h[e]:0,v=n[d]===p?u[e]:n[d]===m?-u[e]:0;if(f[p]<a[p]||f[p]+h[e]>a[m]){var w=h[e]/2,y="center"===n[d]?-u[e]/2:0;"center"===i[d]&&(s(w,y)||s(-w,-y))||s(g,v)}}}),he(t,f),l}function he(t,e){t=Q(t);{if(!e)return ce(t);var i=he(t),n=At(t,"position");["left","top"].forEach(function(o){if(o in e){var s=At(t,o);t.style[o]=e[o]-i[o]+_("absolute"===n&&"auto"===s?ue(t)[o]:s)+"px"}})}}function ce(t){var e=me(t=Q(t)),i=e.pageYOffset,n=e.pageXOffset;if(p(t)){var o=t.innerHeight,s=t.innerWidth;return{top:i,left:n,height:o,width:s,bottom:i+o,right:n+s}}var r=!1;pt(t)||(r=t.style.display,t.style.display="block");var a=t.getBoundingClientRect();return!1!==r&&(t.style.display=r),{height:a.height,width:a.width,top:a.top+i,left:a.left+n,bottom:a.bottom+i,right:a.right+n}}function ue(t){var e=fe(t=Q(t)),i=e===xe(t)?{top:0,left:0}:he(e);return["top","left"].reduce(function(n,o){var s=a(o);return n[o]-=i[o]+(_(At(t,"margin"+s))||0)+(_(At(e,"border"+s+"Width"))||0),n},he(t))}function fe(t){for(var e=Q(t).offsetParent;e&&"static"===At(e,"position");)e=e.offsetParent;return e||xe(t)}function de(t){var e=a(t);return function(i,n){if(i=Q(i),b(n)){if(p(i))return i["inner"+e];if(m(i)){var o=i.documentElement;return Math.max(o.offsetHeight,o.scrollHeight)}return n=At(i,t),n="auto"===n?i["offset"+e]:_(n)||0,pe(t,i,n)}At(i,t,n||0===n?pe(t,i,n)+"px":"")}}function pe(t,e,i){return"border-box"===At(e,"boxSizing")?en[t].slice(1).map(a).reduce(function(t,i){return t-_(At(e,"padding"+i))-_(At(e,"border"+i+"Width"))},i):i}function me(t){return p(t)?t:be(t).defaultView}function ge(t,e,i,n){I(en,function(o,s){var r=o[0],a=o[1],l=o[2];e[r]===l?t[a]+=i[s]*n:"center"===e[r]&&(t[a]+=i[s]*n/2)})}function ve(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 we(t,e,i){var n=(t||"").split(" "),o=n[0],s=n[1];return{x:o?_(o)*(h(o,"%")?e/100:1):0,y:s?_(s)*(h(s,"%")?i/100:1):0}}function ye(t){switch(t){case"left":return"right";case"right":return"left";case"top":return"bottom";case"bottom":return"top";default:return t}}function be(t){return Q(t).ownerDocument}function xe(t){return be(t).documentElement}function ke(t){var e=t.x1,i=t.x2,n=t.y1,o=t.y2;return Math.abs(e-i)>=Math.abs(n-o)?e-i>0?"Left":"Right":n-o>0?"Up":"Down"}function $e(){Zi&&clearTimeout(Zi),Ki&&clearTimeout(Ki),Qi&&clearTimeout(Qi),Zi=Ki=Qi=null,sn={}}function _e(t){return rn||"touch"===t.pointerType}function Te(t){var e=t.touches,i=t.changedTouches,n=e&&e[0]||i&&i[0]||t;return{x:n.pageX,y:n.pageY}}function Ee(){cn||(cn=[Rt(pi,"click",function(t){var e=t.target,i=t.defaultPrevented;hn&&hn.bgClose&&!i&&!V(e,hn.panel)&&hn.hide()}),Rt(di,"keydown",function(t){27===t.keyCode&&hn&&hn.escClose&&(t.preventDefault(),hn.hide())})])}function Ce(){cn&&cn.forEach(function(t){return t()}),cn=null}function Ae(t){function e(t){var e=t-Date.now();return{total:e,seconds:e/1e3%60,minutes:e/1e3/60%60,hours:e/1e3/60/60%24,days:e/1e3/60/60/24}}if(!Ae.installed){var i=t.util,n=i.$,o=i.doc,s=i.empty,r=i.html;t.component("countdown",{mixins:[t.mixin.class],attrs:!0,props:{date:String,clsWrapper:String},defaults:{date:"",clsWrapper:".uk-countdown-%unit%"},computed:{date:function(t){var e=t.date;return Date.parse(e)},days:function(t,e){var i=t.clsWrapper;return n(i.replace("%unit%","days"),e)},hours:function(t,e){var i=t.clsWrapper;return n(i.replace("%unit%","hours"),e)},minutes:function(t,e){var i=t.clsWrapper;return n(i.replace("%unit%","minutes"),e)},seconds:function(t,e){var i=t.clsWrapper;return n(i.replace("%unit%","seconds"),e)},units:function(){var t=this;return["days","hours","minutes","seconds"].filter(function(e){return t[e]})}},connected:function(){this.start()},disconnected:function(){var t=this;this.stop(),this.units.forEach(function(e){return s(t[e])})},events:[{name:"visibilitychange",el:o,handler:function(){o.hidden?this.stop():this.start()}}],update:{write:function(){var t=this,i=e(this.date);i.total<=0&&(this.stop(),i.days=i.hours=i.minutes=i.seconds=0),this.units.forEach(function(e){var n=String(Math.floor(i[e]));n=n.length<2?"0"+n:n;var o=t[e];o.textContent!==n&&((n=n.split("")).length!==o.children.length&&r(o,n.map(function(){return"<span></span>"}).join("")),n.forEach(function(t,e){return o.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)}}})}}function Se(t){function e(t,e){return t.sort(function(t,i){return t[e]>i[e]?1:i[e]>t[e]?-1:0})}if(!Se.installed){var i=t.util,n=i.$$,o=i.addClass,s=i.css,r=i.scrolledOver,a=i.toFloat,l=i.toNodes;t.component("grid-parallax",t.components.grid.extend({props:{target:String,translate:Number},defaults:{target:!1,translate:150},computed:{translate:function(t){var e=t.translate;return Math.abs(e)},items:function(t,e){var i=t.target;return i?n(i,e):l(e.children)}},init:function(){o(this.$el,"uk-grid")},disconnected:function(){this.reset(),s(this.$el,"marginBottom","")},update:[{read:function(){this.columns=this.rows&&this.rows[0]&&this.rows[0].length||0,this.rows=this.rows&&this.rows.map(function(t){return e(t,"offsetLeft")})},write:function(){s(this.$el,"marginBottom",this.columns>1?this.translate+a(s(s(this.$el,"marginBottom",""),"marginBottom")):"")},events:["load","resize"]},{read:function(){this.scrolled=r(this.$el)*this.translate},write:function(){var t=this;if(!this.rows||1===this.columns||!this.scrolled)return this.reset();this.rows.forEach(function(e){return e.forEach(function(e,i){return s(e,"transform","translateY("+(i%2?t.scrolled:t.scrolled/8)+"px)")})})},events:["scroll","load","resize"]}],methods:{reset:function(){s(this.items,"transform","")}}})),t.component("grid-parallax").options.update.unshift({read:function(){this.reset()},events:["load","resize"]})}}function Ie(t){return void 0===t&&(t=0),"translate("+t+(t?"%":"")+", 0)"}function Ne(t){return"scale3d("+t+", "+t+", 1)"}function De(t){function e(t,e,n,o,s,r){var a=t.percent,l=t.translate,h=(0,t.show)(s);return{animation:t,dir:s,current:n,next:o,show:function(t,a,l){var c=this;void 0===a&&(a=0);var u=l?"linear":e;return t-=Math.round(t*a),this.translate(a),i(o,"itemin",{percent:a,duration:t,ease:u,dir:s}),n&&i(n,"itemout",{percent:1-a,duration:t,ease:u,dir:s}),I.all([B.start(o,h[1],t,u),n&&B.start(n,h[0],t,u)]).then(function(){c.reset(),r()},$)},stop:function(){return B.stop([o,n])},cancel:function(){B.cancel([o,n])},reset:function(){for(var t in h[0])d([o,n],t,"")},forward:function(t){var e=this.percent();B.cancel([o,n]),this.show(t,e,!0)},translate:function(t){var e=l(t,s);d(o,e[1]),n&&d(n,e[0]),i(o,"itemtranslatein",{percent:t,dir:s}),n&&i(n,"itemtranslateout",{percent:1-t,dir:s})},percent:function(){return a(n,o,s)}}}function i(t,e,i){P(t,f(e,!1,!1,i))}function n(t){return~~t}function o(t,e){return"next"===t?1:"previous"===t?-1:t<e?-1:1}function s(t){return.5*t+300}function r(t){return!t.children.length&&t.childNodes.length}if(!De.installed){var a=t.util,l=a.$$,h=a.$,c=a.addClass,u=a.assign,f=a.createEvent,d=a.css,p=a.data,m=a.doc,g=a.endsWith,v=a.fastdom,w=a.getIndex,y=a.getPos,b=a.hasClass,x=a.index,k=a.isTouch,$=a.noop,_=a.off,T=a.on,E=a.pointerDown,C=a.pointerMove,A=a.pointerUp,S=a.preventClick,I=a.Promise,N=a.removeClass,D=a.toggleClass,O=a.toNodes,B=a.Transition,P=a.trigger,M=a.win,H=Math.abs;t.mixin.slideshow={attrs:!0,props:{autoplay:Boolean,autoplayInterval:Number,pauseOnHover:Boolean,animation:String,easing:String,velocity:Number},defaults:{autoplay:!1,autoplayInterval:7e3,pauseOnHover:!0,animation:"slide",easing:"ease",velocity:1,index:0,stack:[],threshold:10,percent:0,clsActive:"uk-active",clsActivated:"uk-transition-active",initialAnimation:!1,Animations:qn(t)},computed:{list:function(t,e){var i=t.selList;return h(i,e)},slides:function(){return O(this.list.children)},animation:function(t){var e=t.animation,i=t.Animations;return u(e in i?i[e]:i.slide,{name:e})},duration:function(t,e){var i=t.velocity;return s(e.offsetWidth/i)}},init:function(){var t=this;["start","move","end"].forEach(function(e){var i=t[e];t[e]=function(e){var n=y(e).x;t.prevPos=n!==t.pos?t.pos:t.prevPos,t.pos=n,i(e)}})},connected:function(){this.startAutoplay()},disconnected:function(){this.stopAutoplay()},update:[{read:function(){delete this._computeds.duration},events:["load","resize"]}],events:[{name:"click",delegate:function(){return"["+this.attrItem+"],[data-"+this.attrItem+"]"},handler:function(t){t.preventDefault(),t.current.blur(),this.show(p(t.current,this.attrItem))}},{name:E,delegate:function(){return this.selList+" > *"},handler:function(t){!k(t)&&r(t.target)||this.start(t)}},{name:"visibilitychange",el:m,handler:function(){m.hidden?this.stopAutoplay():this.startAutoplay()}},{name:E,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}},{name:"beforeitemshow",self:!0,delegate:function(){return this.selList+" > *"},handler:function(t){var e=t.target;c(e,this.clsActive)}},{name:"itemshown",self:!0,delegate:function(){return this.selList+" > *"},handler:function(t){var e=t.target;c(e,this.clsActivated)}},{name:"itemshow itemhide",self:!0,delegate:function(){return this.selList+" > *"},handler:function(t){var e=t.type,i=t.target;D(l("["+this.attrItem+'="'+x(i)+'"],[data-'+this.attrItem+'="'+x(i)+'"]',this.$el),this.clsActive,g(e,"show"))}},{name:"itemhidden",self:!0,delegate:function(){return this.selList+" > *"},handler:function(t){var e=t.target;N(e,this.clsActive),N(e,this.clsActivated)}},{name:"itemshow itemhide itemshown itemhidden",self:!0,delegate:function(){return this.selList+" > *"},handler:function(e){var i=e.target;t.update(null,i)}},{name:"dragstart",handler:function(t){t.preventDefault()}}],methods:{start:function(t){if(!(t.button&&0!==t.button||this.slides.length<2||this._animation&&this._animation.animation!==this.animation)){var e=0;if(this.stack.length){var i=this._animation,n=i.dir,o=i.percent,s=i.cancel,r=i.translate;e=o()*n,this.percent=H(e)*-n,this.stack.splice(0,this.stack.length),s(),r(H(e)),this.index=this.getIndex(this.index-n),this.dragging=!0}this.unbindMove=T(m,C,this.move,{capture:!0,passive:!1}),T(M,"scroll",this.unbindMove),T(m,A,this.end,!0),this.drag=this.pos+this.$el.offsetWidth*e}},move:function(i){var o=this,s=this.pos-this.drag;if(!(this.prevPos===this.pos||!this.dragging&&H(s)<this.threshold)){i.cancelable&&i.preventDefault(),this.dragging=!0;var r=s/this.$el.offsetWidth;if(this.percent!==r){var a=this.getIndex(this.index-n(this.percent)),l=this.getIndex(this.index-n(r)),h=this.slides[l],c=r<0?1:-1,u=w(r<0?"next":"previous",this.slides,l),f=this.slides[u];this.slides.forEach(function(t,e){return D(t,o.clsActive,e===l||e===u)}),this._animation&&this._animation.reset(),l!==a&&(P(this.slides[a],"itemhide",[this]),P(h,"itemshow",[this])),this._animation=new e(this.animation,this.easing,h,f,c,$),this._animation.translate(H(r%1)),this.percent=r,t.update(null,h),t.update(null,f)}}},end:function(){if(_(M,"scroll",this.unbindMove),this.unbindMove(),_(m,A,this.end,!0),this.dragging){var t=this.percent;this.percent=H(this.percent)%1,this.index=this.getIndex(this.index-n(t)),(this.percent<.1||t<0==this.pos>this.prevPos)&&(this.index=this.getIndex(t>0?"previous":"next"),this.percent=1-this.percent,t*=-1),this._animation&&this._animation.reset(),this.show(t>0?"previous":"next",!0),S()}this.drag=this.dragging=this.percent=null},show:function(t,e){var i=this;if(void 0===e&&(e=!1),e||!this.drag)if(this.stack[e?"unshift":"push"](t),!e&&this.stack.length>1)2===this.stack.length&&this._animation.forward(250);else{var n=this.index,s=this.getIndex(t),r=b(this.slides,"uk-active")&&this.slides[n],a=this.slides[s];if(r!==a){r&&P(r,"beforeitemhide",[this]),P(a,"beforeitemshow",[this]),this.index=s;var l=function(){r&&P(r,"itemhidden",[i]),P(a,"itemshown",[i]),v.mutate(function(){i.stack.shift(),i.stack.length?i.show(i.stack.shift(),!0):i._animation=null})};(r||this.initialAnimation)&&this._show(r?this.animation:this.Animations[this.initialAnimation],e?"cubic-bezier(0.165, 0.840, 0.440, 1.000)":this.easing,r,a,o(t,n),this.stack.length>1,l),r&&P(r,"itemhide",[this]),P(a,"itemshow",[this]),r||this.initialAnimation||l(),r&&v.flush()}else this.stack[e?"shift":"pop"]()}},_show:function(t,i,n,o,s,r,a){this._animation=new e(t,i,n,o,s,a),this._animation.show(n===o?300:r?150:this.duration,this.percent,r)},getIndex:function(t){return void 0===t&&(t=this.index),w(t,this.slides,this.index)},startAutoplay:function(){var t=this;this.stopAutoplay(),this.autoplay&&(this.interval=setInterval(function(){t.isHovering&&t.pauseOnHover||t.stack.length||t.show("next")},this.autoplayInterval))},stopAutoplay:function(){this.interval&&clearInterval(this.interval)}}}}}function Oe(t){function e(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>'}if(!Oe.installed){t.use(De);var i=t.mixin,n=t.util,o=n.$,s=n.$$,r=n.addClass,a=n.ajax,l=n.append,h=n.assign,c=n.attr,u=n.css,f=n.doc,d=n.docEl,p=n.data,m=n.getImage,g=n.html,v=n.index,w=n.on,y=n.pointerDown,b=n.pointerMove,x=n.removeClass,k=n.Transition,$=n.trigger;t.component("lightbox",{attrs:!0,props:{animation:String,toggle:String,autoplay:Boolean,autoplayInterval:Number,videoAutoplay:Boolean},defaults:{animation:void 0,toggle:"a",autoplay:0,videoAutoplay:!1},computed:{toggles:function(t,e){var i=this,n=t.toggle,o=s(n,e);return this._changed=!this._toggles||o.length!==this._toggles.length||o.some(function(t,e){return t!==i._toggles[e]}),this._toggles=o}},disconnected:function(){this.panel&&(this.panel.$destroy(!0),this.panel=null)},events:[{name:"click",delegate:function(){return this.toggle+":not(.uk-disabled)"},handler:function(t){t.preventDefault(),t.current.blur(),this.show(v(this.toggles,t.current))}}],update:function(){this.panel&&this.animation&&(this.panel.$props.animation=this.animation,this.panel.$emit()),this.toggles.length&&this._changed&&this.panel&&(this.panel.$destroy(!0),this._init())},methods:{_init:function(){return this.panel=this.panel||t.lightboxPanel(h({},this.$props,{items:this.toggles.reduce(function(t,e){return t.push(["href","caption","type","poster"].reduce(function(t,i){return t["href"===i?"source":i]=p(e,i),t},{})),t},[])}))},show:function(t){return this.panel||this._init(),this.panel.show(t)},hide:function(){return this.panel&&this.panel.hide()}}}),t.component("lightbox-panel",{mixins:[i.container,i.togglable,i.slideshow],functional:!0,defaults:{preload:1,videoAutoplay:!1,delayControls:3e3,items:[],cls:"uk-open",clsPage:"uk-lightbox-page",selList:".uk-lightbox-items",attrItem:"uk-lightbox-item",initialAnimation:"scale",pauseOnHover:!1,velocity:2,Animations:Un(t),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 uk-toggle="!.uk-lightbox"></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(l(this.container,this.template)),this.caption=o(".uk-lightbox-caption",this.$el),this.items.forEach(function(e,i){return l(t.list,"<li></li>")})},events:[{name:b+" "+y+" keydown",handler:"showControls"},{name:"click",self:!0,delegate:function(){return this.selList+" > *"},handler:function(t){t.preventDefault(),this.hide()}},{name:"show",self:!0,handler:function(){r(d,this.clsPage)}},{name:"shown",self:!0,handler:"showControls"},{name:"hide",self:!0,handler:"hideControls"},{name:"hidden",self:!0,handler:function(){x(d,this.clsPage)}},{name:"keyup",el:function(){return f},handler:function(t){if(this.isToggled(this.$el))switch(t.keyCode){case 27:this.hide();break;case 37:this.show("previous");break;case 39:this.show("next")}}},{name:"toggle",handler:function(t){t.preventDefault(),this.toggle()}},{name:"beforeitemshow",self:!0,delegate:function(){return this.selList+" > *"},handler:function(){this.isToggled()||this.toggleNow(this.$el,!0)}},{name:"itemshow",self:!0,delegate:function(){return this.selList+" > *"},handler:function(t){var e=this,i=t.target,n=v(i),o=this.getItem(n).caption;u(this.caption,"display",o?"":"none"),g(this.caption,o);for(var s=0;s<=this.preload;s++)e.loadItem(e.getIndex(n+s)),e.loadItem(e.getIndex(n-s))}},{name:"itemload",handler:function(t,i){var n,s=this,r=i.source,l=i.type;if(this.setItem(i,"<span uk-spinner></span>"),r)if("image"===l||r.match(/\.(jp(e)?g|png|gif|svg)$/i))m(r).then(function(t){return s.setItem(i,'<img width="'+t.width+'" height="'+t.height+'" src="'+r+'">')},function(){return s.setError(i)});else if("video"===l||r.match(/\.(mp4|webm|ogv)$/i)){var h=o("<video controls playsinline"+(i.poster?' poster="'+i.poster+'"':"")+' uk-video="autoplay: '+this.videoAutoplay+'"></video>');c(h,"src",r),w(h,"error",function(){return s.setError(i)}),w(h,"loadedmetadata",function(){c(h,{width:h.videoWidth,height:h.videoHeight}),s.setItem(i,h)})}else if("iframe"===l)this.setItem(i,'<iframe class="uk-lightbox-iframe" src="'+r+'" frameborder="0" allowfullscreen></iframe>');else if(n=r.match(/\/\/.*?youtube\.[a-z]+\/watch\?v=([^&\s]+)/)||r.match(/youtu\.be\/(.*)/)){var u=n[1],f=function(t,n){return void 0===t&&(t=640),void 0===n&&(n=450),s.setItem(i,e("//www.youtube.com/embed/"+u,t,n,s.videoAutoplay))};m("//img.youtube.com/vi/"+u+"/maxresdefault.jpg").then(function(t){var e=t.width,i=t.height;120===e&&90===i?m("//img.youtube.com/vi/"+u+"/0.jpg").then(function(t){var e=t.width,i=t.height;return f(e,i)},f):f(e,i)},f)}else(n=r.match(/(\/\/.*?)vimeo\.[a-z]+\/([0-9]+).*?/))&&a("//vimeo.com/api/oembed.json?maxwidth=1920&url="+encodeURI(r),{responseType:"json"}).then(function(t){var o=t.response,r=o.height,a=o.width;return s.setItem(i,e("//player.vimeo.com/video/"+n[2],a,r,s.videoAutoplay))})}}],methods:{toggle:function(){return this.isToggled()?this.hide():this.show()},hide:function(){this.isToggled()&&this.toggleNow(this.$el,!1),x(this.slides,this.clsActive),k.stop(this.slides),delete this.index,delete this.percent,delete this._animation},loadItem:function(t){void 0===t&&(t=this.index);var e=this.getItem(t);e.content||$(this.$el,"itemload",[e])},getItem:function(t){return void 0===t&&(t=this.index),this.items[t]||{}},setItem:function(e,i){h(e,{content:i});var n=g(this.slides[this.items.indexOf(e)],i);$(this.$el,"itemloaded",[this,n]),t.update(null,n)},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),c(s("["+this.attrItem+"],[data-"+this.attrItem+"]",this.$el),"hidden",this.items.length<2?"":null),r(this.$el,"uk-active uk-transition-active")},hideControls:function(){x(this.$el,"uk-active uk-transition-active")}}})}}function Be(t){if(!Be.installed){var e=t.util,i=e.append,n=e.closest,o=e.css,s=e.each,r=e.pointerEnter,a=e.pointerLeave,l=e.remove,h=e.toFloat,c=e.Transition,u=e.trigger,f={};t.component("notification",{functional:!0,args:["message","status"],defaults:{message:"",status:"",timeout:5e3,group:null,pos:"top-center",clsClose:"uk-notification-close",clsMsg:"uk-notification-message"},created:function(){f[this.pos]||(f[this.pos]=i(t.container,'<div class="uk-notification uk-notification-'+this.pos+'"></div>'));var e=o(f[this.pos],"display","block");this.$mount(i(e,'<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=h(o(this.$el,"marginBottom"));c.start(o(this.$el,{opacity:0,marginTop:-1*this.$el.offsetHeight,marginBottom:0}),{opacity:1,marginTop:0,marginBottom:e}).then(function(){t.timeout&&(t.timer=setTimeout(t.close,t.timeout))})},events:(d={click:function(t){n(t.target,'a[href="#"]')&&t.preventDefault(),this.close()}},d[r]=function(){this.timer&&clearTimeout(this.timer)},d[a]=function(){this.timeout&&(this.timer=setTimeout(this.close,this.timeout))},d),methods:{close:function(t){var e=this,i=function(){u(e.$el,"close",[e]),l(e.$el),f[e.pos].children.length||o(f[e.pos],"display","none")};this.timer&&clearTimeout(this.timer),t?i():c.start(this.$el,{opacity:0,marginTop:-1*this.$el.offsetHeight,marginBottom:0}).then(i)}}});var d;t.notification.closeAll=function(e,i){s(t.instances,function(t){"notification"!==t.$options.name||e&&e!==t.group||t.close(i)})}}}function Pe(t){function e(t,e){return a(t*(1-(e-e*t)))}function i(t,e){return l(l(t,"color",e),"color").split(/[(),]/g).slice(1,-1).concat(1).slice(0,4).map(function(t){return g(t)})}function n(t,e){var i=t.length-1,n=Math.min(Math.floor(i*e),i-1),o=t.slice(n,n+2);return o.push(1===e?1:e%(1/i)*i),o}function o(t,e){var i=n(t,e),o=i[0],s=i[1],r=i[2];return(d(o)?o+Math.abs(o-s)*r*(o<s?1:-1):+s).toFixed(2)}if(!Pe.installed){var s=t.mixin,r=t.util,a=r.clamp,l=r.css,h=r.Dimensions,c=r.each,u=r.getImage,f=r.includes,d=r.isNumber,p=r.isUndefined,m=r.scrolledOver,g=r.toFloat,v=r.query,w=r.win,y=["x","y","bgx","bgy","rotate","scale","color","backgroundColor","borderColor","opacity","blur","hue","grayscale","invert","saturate","sepia","fopacity"];s.parallax={props:y.reduce(function(t,e){return t[e]="list",t},{media:"media"}),defaults:y.reduce(function(t,e){return t[e]=void 0,t},{media:!1}),computed:{props:function(t,e){var n=this;return y.reduce(function(o,s){if(p(t[s]))return o;var r,a,h,c=s.match(/color/i),u=c||"opacity"===s,d=t[s].slice(0);u&&l(e,s,""),d.length<2&&d.unshift(("scale"===s?1:u?l(e,s):0)||0);var m=f(d.join(""),"%")?"%":"px";if(c){var v=e.style.color;d=d.map(function(t){return i(e,t)}),e.style.color=v}else d=d.map(g);if(s.match(/^bg/))if(l(e,"background-position-"+s[2],""),a=l(e,"backgroundPosition").split(" ")["x"===s[2]?0:1],n.covers){var w=Math.min.apply(Math,d),y=Math.max.apply(Math,d),b=d.indexOf(w)<d.indexOf(y);h=y-w,d=d.map(function(t){return t-(b?w:y)}),r=(b?-h:0)+"px"}else r=a;return o[s]={steps:d,unit:m,pos:r,bgPos:a,diff:h},o},{})},bgProps:function(){var t=this;return["bgx","bgy"].filter(function(e){return e in t.props})},covers:function(t,e){return"cover"===l(""!==e.style.backgroundSize?l(e,"backgroundSize",""):e,"backgroundSize")}},disconnected:function(){delete this._image},update:[{read:function(){var t=this;if(delete this._computeds.props,this._active=!this.media||w.matchMedia(this.media).matches,this._image&&(this._image.dimEl={width:this.$el.offsetWidth,height:this.$el.offsetHeight}),p(this._image)&&this.covers&&this.bgProps.length){var e=l(this.$el,"backgroundImage").replace(/^none|url\(["']?(.+?)["']?\)$/,"$1");e&&(this._image=!1,u(e).then(function(e){t._image={width:e.naturalWidth,height:e.naturalHeight},t.$emit()}))}},write:function(){var t=this;if(this._image)if(this._active){var e=this._image,i=e.dimEl,n=h.cover(e,i);this.bgProps.forEach(function(o){var s=t.props[o],r=s.diff,a=s.bgPos,l=s.steps,c="bgy"===o?"height":"width",u=n[c]-i[c];a.match(/%$|0px/)&&(u<r?i[c]=n[c]+r-u:u>r&&(a=parseFloat(a))&&(t.props[o].steps=l.map(function(t){return t-(u-r)/(100/a)})),n=h.cover(e,i))}),l(this.$el,{backgroundSize:n.width+"px "+n.height+"px",backgroundRepeat:"no-repeat"})}else l(this.$el,{backgroundSize:"",backgroundRepeat:""})},events:["load","resize"]}],methods:{reset:function(){var t=this;c(this.getCss(0),function(e,i){return l(t.$el,i,"")})},getCss:function(t){var e=!1,i=this.props;return Object.keys(i).reduce(function(s,r){var a=i[r],l=a.steps,h=a.unit,c=a.pos,u=o(l,t);switch(r){case"x":case"y":if(e)break;var f=["x","y"].map(function(e){return r===e?u+h:i[e]?o(i[e].steps,t)+i[e].unit:0}),d=f[0],p=f[1];e=s.transform+=" translate3d("+d+", "+p+", 0)";break;case"rotate":s.transform+=" rotate("+u+"deg)";break;case"scale":s.transform+=" scale("+u+")";break;case"bgy":case"bgx":s["background-position-"+r[2]]="calc("+c+" + "+(u+h)+")";break;case"color":case"backgroundColor":case"borderColor":var m=n(l,t),v=m[0],w=m[1],y=m[2];s[r]="rgba("+v.map(function(t,e){return t+=y*(w[e]-t),3===e?g(t):parseInt(t,10)}).join(",")+")";break;case"blur":s.filter+=" blur("+u+"px)";break;case"hue":s.filter+=" hue-rotate("+u+"deg)";break;case"fopacity":s.filter+=" opacity("+u+"%)";break;case"grayscale":case"invert":case"saturate":case"sepia":s.filter+=" "+r+"("+u+"%)";break;default:s[r]=u}return s},{transform:"",filter:""})}}},t.component("parallax",{mixins:[s.parallax],props:{target:String,viewport:Number,easing:Number},defaults:{target:!1,viewport:1,easing:1},computed:{target:function(t,e){var i=t.target;return i&&v(i,e)||e}},disconnected:function(){delete this._prev},update:[{read:function(){this._percent=e(m(this.target)/(this.viewport||1),this.easing)},write:function(t){"scroll"!==t.type&&delete this._prev,this._active?this._prev!==this._percent&&(l(this.$el,this.getCss(this._percent)),this._prev=this._percent):this.reset()},events:["scroll","load","resize"]}]})}}function Me(t){function e(t){return l(t,"in")}function i(t,i,n){return n/=2,e(t)?i<0?1-n:n:i<0?n:1-n}if(!Me.installed){t.use(Pe),t.use(De);var n=t.mixin,o=t.util,s=o.closest,r=o.css,a=o.fastdom,l=o.endsWith,h=o.height,c=o.noop,u=o.Transition;t.component("slideshow",{mixins:[n.class,n.slideshow],props:{ratio:String,minHeight:Boolean,maxHeight:Boolean},defaults:{ratio:"16:9",minHeight:!1,maxHeight:!1,selList:".uk-slideshow-items",attrItem:"uk-slideshow-item",Animations:Xn(t)},ready:function(){var t=this;a.mutate(function(){return t.show(t.index)})},update:{read:function(){var t=this.ratio.split(":").map(Number),e=t[0],i=t[1];this.height=i*this.$el.offsetWidth/e,this.minHeight&&(this.height=Math.max(this.minHeight,this.height)),this.maxHeight&&(this.height=Math.min(this.maxHeight,this.height))},write:function(){h(this.list,Math.floor(this.height))},events:["load","resize"]}}),t.component("slideshow-parallax",{mixins:[n.parallax],computed:{item:function(){var e=t.getComponent(s(this.$el,".uk-slideshow"),"slideshow");return e&&s(this.$el,e.selList+" > *")}},events:[{name:"itemshown",self:!0,el:function(){return this.item},handler:function(){r(this.$el,this.getCss(.5))}},{name:"itemin itemout",self:!0,el:function(){return this.item},handler:function(t){var n=t.type,o=t.detail,s=o.percent,a=o.duration,l=o.ease,h=o.dir;u.cancel(this.$el),r(this.$el,this.getCss(i(n,h,s))),u.start(this.$el,this.getCss(e(n)?.5:h>0?1:0),a,l).catch(c)}},{name:"transitioncanceled transitionend",self:!0,el:function(){return this.item},handler:function(){u.cancel(this.$el)}},{name:"itemtranslatein itemtranslateout",self:!0,el:function(){return this.item},handler:function(t){var e=t.type,n=t.detail,o=n.percent,s=n.dir;u.cancel(this.$el),r(this.$el,this.getCss(i(e,s,o)))}}]})}}function He(t){function e(i){return i&&(t.getComponent(i,"sortable")||e(i.parentNode))}function i(t,e){return t.parentNode===e.parentNode&&y(t)>y(e)}if(!He.installed){var n=t.mixin,o=t.util,s=o.addClass,r=o.after,a=o.assign,l=o.append,h=o.attr,c=o.before,u=o.closest,f=o.css,d=o.doc,p=o.docEl,m=o.height,g=o.fastdom,v=o.getPos,w=o.includes,y=o.index,b=o.isInput,x=o.noop,k=o.offset,$=o.off,_=o.on,T=o.pointerDown,E=o.pointerMove,C=o.pointerUp,A=o.position,S=o.preventClick,I=o.Promise,N=o.remove,D=o.removeClass,O=o.toggleClass,B=o.toNodes,P=o.Transition,M=o.trigger,H=o.win,z=o.within;t.component("sortable",{mixins:[n.class],props:{group:String,animation:Number,threshold:Number,clsItem:String,clsPlaceholder:String,clsDrag:String,clsDragState:String,clsBase:String,clsNoDrag:String,clsEmpty:String,clsCustom:String,handle:String},defaults:{group:!1,animation:150,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 t=this;["init","start","move","end"].forEach(function(e){var i=t[e];t[e]=function(e){t.scrollY=H.scrollY;var n=v(e),o=n.x,s=n.y;t.pos={x:o,y:s},i(e)}})},events:(L={},L[T]="init",L),update:{write:function(){if(this.clsEmpty&&O(this.$el,this.clsEmpty,!this.$el.children.length),this.drag){k(this.drag,{top:this.pos.y+this.origin.top,left:this.pos.x+this.origin.left});var t,e=k(this.drag).top,i=e+this.drag.offsetHeight;e>0&&e<this.scrollY?t=this.scrollY-5:i<m(d)&&i>m(H)+this.scrollY&&(t=this.scrollY+5),t&&setTimeout(function(){return H.scrollTo(H.scrollX,t)},5)}}},methods:{init:function(t){var e=t.target,i=t.button,n=t.defaultPrevented,o=B(this.$el.children).filter(function(t){return z(e,t)})[0];!o||b(t.target)||this.handle&&!z(e,this.handle)||0!==i||z(e,"."+this.clsNoDrag)||n||(t.preventDefault(),this.touched=[this],this.placeholder=o,this.origin=a({target:e,index:y(o)},this.pos),_(p,E,this.move),_(p,C,this.end),_(H,"scroll",this.scroll),this.threshold||this.start(t))},start:function(e){this.drag=l(t.container,this.placeholder.outerHTML.replace(/^<li/i,"<div").replace(/li>$/i,"div>")),f(this.drag,a({boxSizing:"border-box",width:this.placeholder.offsetWidth,height:this.placeholder.offsetHeight},f(this.placeholder,["paddingLeft","paddingRight","paddingTop","paddingBottom"]))),h(this.drag,"uk-no-boot",""),s(this.drag,this.clsDrag+" "+this.clsCustom),m(this.drag.firstElementChild,m(this.placeholder.firstElementChild));var i=k(this.placeholder),n=i.left,o=i.top;a(this.origin,{left:n-this.pos.x,top:o-this.pos.y}),s(this.placeholder,this.clsPlaceholder),s(this.$el.children,this.clsItem),s(p,this.clsDragState),M(this.$el,"start",[this,this.placeholder,this.drag]),this.move(e)},move:function(t){if(this.drag){this.$emit();var i="mousemove"===t.type?t.target:d.elementFromPoint(this.pos.x-d.body.scrollLeft,this.pos.y-d.body.scrollTop),n=e(i),o=e(this.placeholder),s=n!==o;if(n&&!z(i,this.placeholder)&&(!s||n.group&&n.group===o.group)){if(i=n.$el===i.parentNode&&i||B(n.$el.children).filter(function(t){return z(i,t)})[0],s)o.remove(this.placeholder);else if(!i)return;n.insert(this.placeholder,i),w(this.touched,n)||this.touched.push(n)}}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=H.scrollY;t!==this.scrollY&&(this.pos.y+=t-this.scrollY,this.scrollY=t,this.$emit())},end:function(t){if($(p,E,this.move),$(p,C,this.end),$(H,"scroll",this.scroll),this.drag){S();var i=e(this.placeholder);this===i?this.origin.index!==y(this.placeholder)&&M(this.$el,"moved",[this,this.placeholder]):(M(i.$el,"added",[i,this.placeholder]),M(this.$el,"removed",[this,this.placeholder])),M(this.$el,"stop",[this]),N(this.drag),this.drag=null;var n=this.touched.map(function(t){return t.clsPlaceholder+" "+t.clsItem}).join(" ");this.touched.forEach(function(t){return D(t.$el.children,n)}),D(p,this.clsDragState)}else"mouseup"!==t.type&&z(t.target,"a[href]")&&(location.href=u(t.target,"a[href]").href)},insert:function(t,e){var n=this;s(this.$el.children,this.clsItem);var o=function(){e?!z(t,n.$el)||i(t,e)?c(e,t):r(e,t):l(n.$el,t)};this.animation?this.animate(o):o()},remove:function(t){z(t,this.$el)&&(this.animation?this.animate(function(){return N(t)}):N(t))},animate:function(t){var e=this,i=[],n=B(this.$el.children),o={position:"",width:"",height:"",pointerEvents:"",top:"",left:"",bottom:"",right:""};n.forEach(function(t){i.push(a({position:"absolute",pointerEvents:"none",width:t.offsetWidth,height:t.offsetHeight},A(t)))}),t(),n.forEach(P.cancel),f(this.$el.children,o),this.$update("update",!0),g.flush(),f(this.$el,"minHeight",m(this.$el));var s=n.map(function(t){return A(t)});I.all(n.map(function(t,n){return P.start(f(t,i[n]),s[n],e.animation)})).then(function(){f(e.$el,"minHeight",""),f(n,o),e.$update("update",!0),g.flush()},x)}}});var L}}function ze(t){if(!ze.installed){var e=t.util,i=t.mixin,n=e.append,o=e.attr,s=e.doc,r=e.fastdom,a=e.flipPosition,l=e.includes,h=e.isTouch,c=e.isVisible,u=e.matches,f=e.on,d=e.pointerDown,p=e.pointerEnter,m=e.pointerLeave,g=e.remove,v=e.within,w=[];t.component("tooltip",{attrs:!0,mixins:[i.container,i.togglable,i.position],props:{delay:Number,title:String},defaults:{pos:"top",title:"",delay:0,animation:["uk-animation-scale-up"],duration:100,cls:"uk-active",clsPos:"uk-tooltip"},connected:function(){var t=this;r.mutate(function(){return o(t.$el,{title:null,"aria-expanded":!1})})},disconnected:function(){this.hide()},methods:{show:function(){var t=this;l(w,this)||(w.forEach(function(t){return t.hide()}),w.push(this),this._unbind=f(s,"click",function(e){return!v(e.target,t.$el)&&t.hide()}),clearTimeout(this.showTimer),this.tooltip=n(this.container,'<div class="'+this.clsPos+'" aria-hidden><div class="'+this.clsPos+'-inner">'+this.title+"</div></div>"),o(this.$el,"aria-expanded",!0),this.positionAt(this.tooltip,this.$el),this.origin="y"===this.getAxis()?a(this.dir)+"-"+this.align:this.align+"-"+a(this.dir),this.showTimer=setTimeout(function(){t.toggleElement(t.tooltip,!0),t.hideTimer=setInterval(function(){c(t.$el)||t.hide()},150)},this.delay))},hide:function(){var t=w.indexOf(this);!~t||u(this.$el,"input")&&this.$el===s.activeElement||(w.splice(t,1),clearTimeout(this.showTimer),clearInterval(this.hideTimer),o(this.$el,"aria-expanded",!1),this.toggleElement(this.tooltip,!1),this.tooltip&&g(this.tooltip),this.tooltip=!1,this._unbind())}},events:(y={blur:"hide"},y["focus "+p+" "+d]=function(t){t.type===d&&h(t)||this.show()},y[m]=function(t){h(t)||this.hide()},y)});var y}}function Le(t){function e(t,e){return e.match(new RegExp("^"+t.replace(/\//g,"\\/").replace(/\*\*/g,"(\\/[^\\/]+)*").replace(/\*/g,"[^\\/]+").replace(/((?!\\))\?/g,"$1.")+"$","i"))}function i(t,e){for(var i=[],n=0;n<t.length;n+=e){for(var o=[],s=0;s<e;s++)o.push(t[n+s]);i.push(o)}return i}function n(t){t.preventDefault(),t.stopPropagation()}if(!Le.installed){var o=t.util,s=o.addClass,r=o.ajax,a=o.matches,l=o.noop,h=o.on,c=o.removeClass,u=o.trigger;t.component("upload",{props:{allow:String,clsDragover:String,concurrent:Number,mime:String,msgInvalidMime:String,msgInvalidName:String,multiple:Boolean,name:String,params:Object,type:String,url:String},defaults:{allow:!1,clsDragover:"uk-dragover",concurrent:1,mime:!1,msgInvalidMime:"Invalid File Type: %s",msgInvalidName:"Invalid File Name: %s",multiple:!1,name:"files[]",params:{},type:"POST",url:"",abort:l,beforeAll:l,beforeSend:l,complete:l,completeAll:l,error:l,fail:l,load:l,loadEnd:l,loadStart:l,progress:l},events:{change:function(t){a(t.target,'input[type="file"]')&&(t.preventDefault(),t.target.files&&this.upload(t.target.files),t.target.value="")},drop:function(t){n(t);var e=t.dataTransfer;e&&e.files&&(c(this.$el,this.clsDragover),this.upload(e.files))},dragenter:function(t){n(t)},dragover:function(t){n(t),s(this.$el,this.clsDragover)},dragleave:function(t){n(t),c(this.$el,this.clsDragover)}},methods:{upload:function(t){var n=this;if(t.length){u(this.$el,"upload",[t]);for(var o=0;o<t.length;o++){if(n.allow&&!e(n.allow,t[o].name))return void n.fail(n.msgInvalidName.replace(/%s/,n.allow));if(n.mime&&!e(n.mime,t[o].type))return void n.fail(n.msgInvalidMime.replace(/%s/,n.mime))}this.multiple||(t=[t[0]]),this.beforeAll(this,t);var s=i(t,this.concurrent),a=function(t){var e=new FormData;t.forEach(function(t){return e.append(n.name,t)});for(var i in n.params)e.append(i,n.params[i]);r(n.url,{data:e,method:n.type,beforeSend:function(t){var e=t.xhr;e.upload&&h(e.upload,"progress",n.progress),["loadStart","load","loadEnd","abort"].forEach(function(t){return h(e,t.toLowerCase(),n[t])}),n.beforeSend(t)}}).then(function(t){n.complete(t),s.length?a(s.shift()):n.completeAll(t)},function(t){return n.error(t.message)})};a(s.shift())}}}})}}var je=2,We="setImmediate"in window?setImmediate:setTimeout;t.reject=function(e){return new t(function(t,i){i(e)})},t.resolve=function(e){return new t(function(t,i){t(e)})},t.all=function(e){return new t(function(i,n){var o=0,s=[];0===e.length&&i(s);for(var r=0;r<e.length;r+=1)t.resolve(e[r]).then(function(t){return function(n){s[t]=n,(o+=1)===e.length&&i(s)}}(r),n)})},t.race=function(e){return new t(function(i,n){for(var o=0;o<e.length;o+=1)t.resolve(e[o]).then(i,n)})};var Fe=t.prototype;Fe.resolve=function(t){var e=this;if(e.state===je){if(t===e)throw new TypeError("Promise settled with itself.");var i=!1;try{var n=t&&t.then;if(null!==t&&f(t)&&u(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()}},Fe.reject=function(t){var e=this;if(e.state===je){if(t===e)throw new TypeError("Promise settled with itself.");e.state=1,e.value=t,e.notify()}},Fe.notify=function(){var t=this;We(function(){if(t.state!==je)for(;t.deferred.length;){var e=t.deferred.shift(),i=e[0],n=e[1],o=e[2],s=e[3];try{0===t.state?o(u(i)?i.call(void 0,t.value):t.value):1===t.state&&(u(n)?o(n.call(void 0,t.value)):s(t.value))}catch(t){s(t)}}})},Fe.then=function(e,i){var n=this;return new t(function(t,o){n.deferred.push([e,i,t,o]),n.notify()})},Fe.catch=function(t){return this.then(void 0,t)};var Re,Ye,Ve,qe=Object.prototype.hasOwnProperty,Ue="Promise"in window?window.Promise:t,Xe=/(?:^|[-_\/])(\w)/g,Je=/([a-z\d])([A-Z])/g,Ge=/-(\w)/g,Ze=String.prototype,Ke=Ze.startsWith||function(t){return 0===this.lastIndexOf(t,0)},Qe=Ze.endsWith||function(t){return this.substr(-1*t.length)===t},ti=function(t){return~this.indexOf(t)},ei=Ze.includes||ti,ii=Array.prototype.includes||ti,ni=Array.isArray,oi={},si=Object.assign||function(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];t=Object(t);for(var o=0;o<e.length;o++){var s=e[o];if(null!==s)for(var r in s)i(s,r)&&(t[r]=s[r])}return t},ri=Array.prototype,ai=/(^|,)\s*[!>+~]/,li=/([!>+~])(?=\s+[!>+~]|\s*$)/g,hi=Element.prototype,ci=hi.matches||hi.msMatchesSelector,ui=hi.closest||function(t){var e=this;do{if(U(e,t))return e;e=e.parentNode}while(e&&1===e.nodeType)},fi=window,di=document,pi=di.documentElement,mi="rtl"===et(pi,"dir"),gi="transitioncanceled",vi={start:lt,stop:function(t){return qt(t,Ri),Ue.resolve()},cancel:function(t){qt(t,gi)},inProgress:function(t){return zt(t,"uk-transition")}},wi="animationcancel",yi="uk-animation-",bi="uk-cancel-animation",xi=new RegExp(yi+"(enter|leave)"),ki={in:function(t,e,i,n){return ht(t,e,i,n,!1)},out:function(t,e,i,n){return ht(t,e,i,n,!0)},inProgress:function(t){return xi.test(et(t,"class"))},cancel:function(t){qt(t,wi)}},$i={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},_i={ratio:function(t,e,i){var n="width"===e?"height":"width";return o={},o[n]=Math.round(i*t[n]/t[e]),o[e]=i,o;var o},contain:function(t,e){var i=this;return t=si({},t),I(t,function(n,o){return t=t[o]>e[o]?i.ratio(t,o,e[o]):t}),t},cover:function(t,e){var i=this;return t=this.contain(t,e),I(t,function(n,o){return t=t[o]<e[o]?i.ratio(t,o,e[o]):t}),t}},Ti="input,select,textarea,button",Ei=/^\s*<(\w+|!)[^>]*>/,Ci=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,Ai={"animation-iteration-count":!0,"column-count":!0,"fill-opacity":!0,"flex-grow":!0,"flex-shrink":!0,"font-weight":!0,"line-height":!0,opacity:!0,order:!0,orphans:!0,widows:!0,"z-index":!0,zoom:!0},Si={},Ii={},Ni=["webkit","moz","ms"],Di=di.createElement("div").style;!function(){var t=di.createElement("_").classList;t&&(t.add("a","b"),t.toggle("c",!1),Ye=t.contains("b"),Ve=!t.contains("c"),Re=!0),t=null}();var Oi=fi.MutationObserver||fi.WebKitMutationObserver,Bi=fi.requestAnimationFrame||function(t){return setTimeout(t,1e3/60)},Pi="ontouchstart"in fi,Mi=fi.PointerEvent,Hi="ontouchstart"in fi||fi.DocumentTouch&&di instanceof DocumentTouch||navigator.msPointerEnabled&&navigator.msMaxTouchPoints||navigator.pointerEnabled&&navigator.maxTouchPoints,zi=Hi?"mousedown "+(Pi?"touchstart":"pointerdown"):"mousedown",Li=Hi?"mousemove "+(Pi?"touchmove":"pointermove"):"mousemove",ji=Hi?"mouseup "+(Pi?"touchend":"pointerup"):"mouseup",Wi=Hi&&Mi?"pointerenter":"mouseenter",Fi=Hi&&Mi?"pointerleave":"mouseleave",Ri=Ft("transition","transition-end"),Yi=Ft("animation","animation-start"),Vi=Ft("animation","animation-end"),qi={reads:[],writes:[],measure:function(t){return this.reads.push(t),te(),t},mutate:function(t){return this.writes.push(t),te(),t},clear:function(t){return ie(this.reads,t)||ie(this.writes,t)},flush:function(){ee(this.reads),ee(this.writes.splice(0,this.writes.length)),this.scheduled=!1,(this.reads.length||this.writes.length)&&te()}};ne.prototype={positions:[],position:null,init:function(){var t=this;this.positions=[],this.position=null;var e=!1;this.unbind=Rt(di,"mousemove",function(i){e||(setTimeout(function(){var n=Date.now(),o=t.positions.length;o&&n-t.positions[o-1].time>100&&t.positions.splice(0,o),t.positions.push({time:n,x:i.pageX,y:i.pageY}),t.positions.length>5&&t.positions.shift(),e=!1},5),e=!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 o=[[{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?(o[0].reverse(),o[1].reverse()):e.bottom<=i.y?o[0].reverse():e.top>=i.y&&o[1].reverse()),!!o.reduce(function(t,e){return t+(oe(n,e[0])<oe(i,e[0])&&oe(n,e[1])>oe(i,e[1]))},0)}};var Ui={};Ui.args=Ui.created=Ui.events=Ui.init=Ui.ready=Ui.connected=Ui.disconnected=Ui.destroy=function(t,e){return t=t&&!ni(t)?[t]:t,e?t?t.concat(e):ni(e)?e:[e]:t},Ui.update=function(t,e){return Ui.args(t,u(e)?{read:e}:e)},Ui.props=function(t,e){return ni(e)&&(e=e.reduce(function(t,e){return t[e]=String,t},{})),Ui.methods(t,e)},Ui.computed=Ui.defaults=Ui.methods=function(t,e){return e?t?si({},t,e):e:t};var Xi=function(t,e){return b(e)?t:e},Ji=0,Gi=function(t){this.id=++Ji,this.el=Q(t)};Gi.prototype.isVideo=function(){return this.isYoutube()||this.isVimeo()||this.isHTML5()},Gi.prototype.isHTML5=function(){return"VIDEO"===this.el.tagName},Gi.prototype.isIFrame=function(){return"IFRAME"===this.el.tagName},Gi.prototype.isYoutube=function(){return this.isIFrame()&&!!this.el.src.match(/\/\/.*?youtube\.[a-z]+\/(watch\?v=[^&\s]+|embed)|youtu\.be\/.*/)},Gi.prototype.isVimeo=function(){return this.isIFrame()&&!!this.el.src.match(/vimeo\.com\/video\/.*/)},Gi.prototype.enableApi=function(){var t=this;if(this.ready)return this.ready;var e,i=this.isYoutube(),n=this.isVimeo();return i||n?this.ready=new Ue(function(o){Vt(t.el,"load",function(){if(i){var n=function(){return re(t.el,{event:"listening",id:t.id})};e=setInterval(n,100),n()}}),ae(function(e){return i&&e.id===t.id&&"onReady"===e.event||n&&Number(e.player_id)===t.id}).then(function(){o(),e&&clearInterval(e)}),et(t.el,"src",t.el.src+(c(t.el.src,"?")?"&":"?")+(i?"enablejsapi=1":"api=1&player_id="+Ji))}):Ue.resolve()},Gi.prototype.play=function(){var t=this;this.isVideo()&&(this.isIFrame()?this.enableApi().then(function(){return re(t.el,{func:"playVideo",method:"play"})}):this.isHTML5()&&this.el.play())},Gi.prototype.pause=function(){var t=this;this.isVideo()&&(this.isIFrame()?this.enableApi().then(function(){return re(t.el,{func:"pauseVideo",method:"pause"})}):this.isHTML5()&&this.el.pause())},Gi.prototype.mute=function(){var t=this;this.isVideo()&&(this.isIFrame()?this.enableApi().then(function(){return re(t.el,{func:"mute",method:"setVolume",value:0})}):this.isHTML5()&&(this.el.muted=!0,et(this.el,"muted","")))};var Zi,Ki,Qi,tn,en={width:["x","left","right"],height:["y","top","bottom"]},nn=de("height"),on=de("width"),sn={};at(function(){Rt(di,"click",function(){return tn=!0},!0),Rt(di,zi,function(t){var e=t.target,i=Te(t),n=i.x,o=i.y,s=Date.now();sn.el="tagName"in e?e:e.parentNode,Zi&&clearTimeout(Zi),sn.x1=n,sn.y1=o,sn.last&&s-sn.last<=250&&(sn={}),sn.last=s,tn=t.button>0}),Rt(di,Li,function(t){var e=Te(t),i=e.x,n=e.y;sn.x2=i,sn.y2=n}),Rt(di,ji,function(t){var e=t.target;sn.x2&&Math.abs(sn.x1-sn.x2)>30||sn.y2&&Math.abs(sn.y1-sn.y2)>30?Ki=setTimeout(function(){sn.el&&(qt(sn.el,"swipe"),qt(sn.el,"swipe"+ke(sn))),sn={}}):"last"in sn?(Qi=setTimeout(function(){return sn.el&&qt(sn.el,"tap")}),sn.el&&V(e,sn.el)&&(Zi=setTimeout(function(){Zi=null,sn.el&&!tn&&qt(sn.el,"click"),sn={}},350))):sn={}}),Rt(di,"touchcancel",$e),Rt(fi,"scroll",$e)});var rn=!1;Rt(di,"touchstart",function(){return rn=!0},!0),Rt(di,"click",function(){rn=!1}),Rt(di,"touchcancel",function(){return rn=!1},!0);var an=Object.freeze({bind:e,hasOwn:i,Promise:Ue,classify:n,hyphenate:o,camelize:s,ucfirst:a,startsWith:l,endsWith:h,includes:c,isArray:ni,isFunction:u,isObject:f,isPlainObject:d,isWindow:p,isDocument:m,isBoolean:g,isString:v,isNumber:w,isNumeric:y,isUndefined:b,toBoolean:x,toNumber:k,toFloat:_,toList:T,toMedia:E,coerce:C,toMs:A,swap:S,assign:si,each:I,clamp:N,noop:D,intersectRect:O,pointInRect:B,ajax:P,$:M,$$:H,query:L,queryAll:j,filter:Y,within:V,matches:U,closest:X,parents:J,isJQuery:G,toNode:Q,toNodes:tt,attr:et,hasAttr:it,removeAttr:nt,filterAttr:ot,data:st,win:fi,doc:di,docEl:pi,isRtl:mi,isReady:rt,ready:at,transition:lt,Transition:vi,animate:ht,Animation:ki,isInView:ct,scrolledOver:function(t){var e=(t=Q(t)).offsetHeight,i=ut(t),n=nn(fi),o=n+Math.min(0,i-n),s=Math.max(0,n-(nn(di)-(i+e)));return N((o+fi.pageYOffset-i)/((o+(e-(s<n?s:0)))/100)/100)},getIndex:ft,isVoidElement:dt,Dimensions:_i,preventClick:function(){var t=setTimeout(function(){return qt(di,"click")},0);Vt(di,"click",function(e){e.preventDefault(),e.stopImmediatePropagation(),clearTimeout(t)},!0)},isVisible:pt,selInput:Ti,isInput:mt,empty:gt,html:vt,prepend:function(t,e){return(t=Q(t)).hasChildNodes()?xt(e,function(e){return t.insertBefore(e,t.firstChild)}):wt(t,e)},append:wt,before:yt,after:bt,remove:kt,wrapAll:$t,wrapInner:_t,unwrap:Tt,fragment:Et,index:Ct,css:At,getStyles:St,getStyle:It,getCssVar:Nt,addClass:Bt,removeClass:Pt,removeClasses:Mt,replaceClass:Ht,hasClass:zt,toggleClass:Lt,Observer:Oi,requestAnimationFrame:Bi,hasTouch:Hi,pointerDown:zi,pointerMove:Li,pointerUp:ji,pointerEnter:Wi,pointerLeave:Fi,transitionend:Ri,animationstart:Yi,animationend:Vi,getImage:function(t){return new Ue(function(e,i){var n=new Image;n.onerror=i,n.onload=function(){return e(n)},n.src=t})},on:Rt,off:Yt,once:Vt,trigger:qt,createEvent:Ut,toEventTargets:Qt,fastdom:qi,MouseTracker:ne,mergeOptions:se,Player:Gi,positionAt:le,offset:he,position:ue,height:nn,width:on,flipPosition:ye,isTouch:_e,getPos:Te}),ln=function(t){this._init(t)};ln.util=an,ln.data="__uikit__",ln.prefix="uk-",ln.options={},ln.instances={},ln.elements=[],function(t){function e(t){return new Function("return function "+n(t)+" (options) { this._init(options); }")()}function i(t,e){if(1===t.nodeType)for(e(t),t=t.firstElementChild;t;)i(t,e),t=t.nextElementSibling}function o(t,e){if(t)for(var i in t)t[i]._isReady&&t[i]._callUpdate(e)}var s=t.data;t.use=function(t){if(!t.installed)return t.call(null,this),t.installed=!0,this},t.mixin=function(e,i){i=(v(i)?t.components[i]:i)||this,(e=se({},e)).mixins=i.options.mixins,delete i.options.mixins,i.options=se(e,i.options)},t.extend=function(t){var i=this,n=e((t=t||{}).name||i.options.name||"UIkitComponent");return n.prototype=Object.create(i.prototype),n.prototype.constructor=n,n.options=se(i.options,t),n.super=i,n.extend=i.extend,n},t.update=function(e,n,r){if(void 0===r&&(r=!1),e=Ut(e||"update"),n)if(n=Q(n),r)do{o(n[s],e),n=n.parentNode}while(n);else i(n,function(t){return o(t[s],e)});else o(t.instances,e)};var r;Object.defineProperty(t,"container",{get:function(){return r||di.body},set:function(t){r=t}})}(ln),function(t){t.prototype._callHook=function(t){var e=this,i=this.$options[t];i&&i.forEach(function(t){return t.call(e)})},t.prototype._callReady=function(){this._isReady||(this._isReady=!0,this._callHook("ready"),this._callUpdate())},t.prototype._callConnected=function(){var e=this;this._connected||(c(t.elements,this.$options.el)||t.elements.push(this.$options.el),t.instances[this._uid]=this,this._initEvents(),this._callHook("connected"),this._connected=!0,this._initObserver(),this._isReady||at(function(){return e._callReady()}),this._callUpdate())},t.prototype._callDisconnected=function(){if(this._connected){this._observer&&(this._observer.disconnect(),this._observer=null);var e=t.elements.indexOf(this.$options.el);~e&&t.elements.splice(e,1),delete t.instances[this._uid],this._unbindEvents(),this._callHook("disconnected"),this._connected=!1}},t.prototype._callUpdate=function(t){var e=this,i=(t=Ut(t||"update")).type,n=t.detail;"update"===i&&n&&n.mutation&&(this._computeds={});var o=this.$options.update;o&&o.forEach(function(n,o){("update"===i||c(n.events,i))&&(n.read&&!c(qi.reads,e._frames.reads[o])&&(e._frames.reads[o]=qi.measure(function(){n.read.call(e,t),delete e._frames.reads[o]})),n.write&&!c(qi.writes,e._frames.writes[o])&&(e._frames.writes[o]=qi.mutate(function(){n.write.call(e,t),delete e._frames.writes[o]})))})}}(ln),function(t){function n(t,e){var i={},n=t.args;void 0===n&&(n=[]);var a=t.props;void 0===a&&(a={});var h,c,u=t.el;if(!a)return i;for(h in a)if(c=o(h),it(u,c)){var f=C(a[h],et(u,c),u);if("target"===c&&(!f||l(f,"_")))continue;i[h]=f}var d=r(st(u,e),n);for(h in d)void 0!==a[c=s(h)]&&(i[c]=C(a[c],d[h],u));return i}function r(t,e){void 0===e&&(e=[]);try{return t?l(t,"{")?JSON.parse(t):e.length&&!c(t,":")?(i={},i[e[0]]=t,i):t.split(";").reduce(function(t,e){var i=e.split(/:(.+)/),n=i[0],o=i[1];return n&&o&&(t[n.trim()]=o.trim()),t},{}):{};var i}catch(t){return{}}}function a(t,e,n){Object.defineProperty(t,e,{enumerable:!0,get:function(){var o=t._computeds,s=t.$props,r=t.$el;return i(o,e)||(o[e]=n.call(t,s,r)),o[e]},set:function(i){t._computeds[e]=i}})}function h(t,i,n){d(i)||(i={name:n,handler:i});var o=i.name,s=i.el,r=i.delegate,a=i.self,l=i.filter,c=i.handler;s=u(s)?s.call(t):s||t.$el,ni(s)?s.forEach(function(e){return h(t,si({},i,{el:e}),n)}):!s||l&&!l.call(t)||(c=m(v(c)?t[c]:e(c,t)),a&&(c=f(c)),t._events.push(Rt(s,o,r?v(r)?r:r.call(t):null,c)))}function f(t){return function(e){if(e.target===e.currentTarget||e.target===e.current)return t.call(null,e)}}function p(t,e){return t.every(function(t){return!t||!i(t,e)})}function m(t){return function(e){return ni(e.detail)?t.apply(t,[e].concat(e.detail)):t(e)}}var g=0;t.prototype.props={},t.prototype._init=function(e){e=e||{},e=this.$options=se(this.constructor.options,e,this),this.$el=null,this.$name=t.prefix+o(this.$options.name),this.$props={},this._frames={reads:{},writes:{}},this._events=[],this._uid=g++,this._initData(),this._initMethods(),this._initComputeds(),this._callHook("created"),e.el&&this.$mount(e.el)},t.prototype._initData=function(){var t=this,e=this.$options,n=e.defaults,o=e.data;void 0===o&&(o={});var s=e.args;void 0===s&&(s=[]);var r=e.props;void 0===r&&(r={});var a=e.el;s.length&&ni(o)&&(o=o.slice(0,s.length).reduce(function(t,e,i){return d(e)?si(t,e):t[s[i]]=e,t},{}));for(var l in n)t.$props[l]=t[l]=i(o,l)&&!b(o[l])?C(r[l],o[l],a):ni(n[l])?n[l].concat():n[l]},t.prototype._initMethods=function(){var t=this,i=this.$options.methods;if(i)for(var n in i)t[n]=e(i[n],t)},t.prototype._initComputeds=function(){var t=this,e=this.$options.computed;if(this._computeds={},e)for(var i in e)a(t,i,e[i])},t.prototype._initProps=function(t){var e=this;this._computeds={},si(this.$props,t||n(this.$options,this.$name));var i=[this.$options.computed,this.$options.methods];for(var o in e.$props)p(i,o)&&(e[o]=e.$props[o])},t.prototype._initEvents=function(){var t=this,e=this.$options.events;e&&e.forEach(function(e){if(i(e,"handler"))h(t,e);else for(var n in e)h(t,e[n],n)})},t.prototype._unbindEvents=function(){this._events.forEach(function(t){return t()}),this._events=[]},t.prototype._initObserver=function(){var t=this,e=this.$options,i=e.attrs,s=e.props,r=e.el;!this._observer&&s&&i&&Oi&&(i=ni(i)?i:Object.keys(s).map(function(t){return o(t)}),this._observer=new Oi(function(){var e=n(t.$options,t.$name);i.some(function(i){return!b(e[i])&&e[i]!==t.$props[i]})&&t.$reset(e)}),this._observer.observe(r,{attributes:!0,attributeFilter:i.concat([this.$name,"data-"+this.$name])}))}}(ln),function(t){var e=t.data;t.prototype.$mount=function(t){var i=this.$options.name;t[e]||(t[e]={}),t[e][i]||(t[e][i]=this,this.$el=this.$options.el=this.$options.el||t,this._initProps(),this._callHook("init"),V(t,pi)&&this._callConnected())},t.prototype.$emit=function(t){this._callUpdate(t)},t.prototype.$update=function(e,i){t.update(e,this.$options.el,i)},t.prototype.$reset=function(t){this._callDisconnected(),this._initProps(t),this._callConnected()},t.prototype.$destroy=function(t){void 0===t&&(t=!1);var i=this.$options,n=i.el,o=i.name;n&&this._callDisconnected(),this._callHook("destroy"),n&&n[e]&&(delete n[e][o],Object.keys(n[e]).length||delete n[e],t&&kt(this.$el))}}(ln),function(t){var e=t.data;t.components={},t.component=function(e,i){var n=s(e);if(d(i))i.name=n,i=t.extend(i);else{if(b(i))return t.components[n];i.options.name=n}return t.components[n]=i,t[n]=function(e,i){function o(e){return t.getComponent(e,n)||new t.components[n]({el:e,data:i||{}})}for(var s=arguments.length,r=Array(s);s--;)r[s]=arguments[s];return d(e)?new t.components[n]({data:e}):t.components[n].options.functional?new t.components[n]({data:[].concat(r)}):e&&e.nodeType?o(e):H(e).map(o)[0]},t._initialized&&!i.options.functional&&qi.measure(function(){return t[n]("[uk-"+e+"],[data-uk-"+e+"]")}),t.components[n]},t.getComponents=function(t){return t&&(t=G(t)?t[0]:t)&&t[e]||{}},t.getComponent=function(e,i){return t.getComponents(e)[i]},t.connect=function(i){var n;if(i[e])for(n in i[e])i[e][n]._callConnected();for(var o=0;o<i.attributes.length;o++)(l(n=i.attributes[o].name,"uk-")||l(n,"data-uk-"))&&(n=s(n.replace("data-uk-","").replace("uk-","")),t[n]&&t[n](i))},t.disconnect=function(t){for(var i in t[e])t[e][i]._callDisconnected()}}(ln);var hn,cn,un,fn={init:function(){Bt(this.$el,this.$name)}},dn={props:{container:Boolean},defaults:{container:!0},computed:{container:function(t){var e=t.container;return!0===e&&ln.container||e&&$(e)||ln.container}}},pn={props:{cls:Boolean,animation:"list",duration:Number,origin:String,transition:String,queued:Boolean},defaults:{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(t,e,i){var n=this;return new Ue(function(o){var s,r=function(t){return Ue.all(t.map(function(t){return n._toggleElement(t,e,i)}))},a=(t=tt(t)).filter(function(t){return n.isToggled(t)}),l=t.filter(function(t){return!c(a,t)});if(n.queued&&b(i)&&b(e)&&n.hasAnimation&&!(t.length<2)){var h=di.body,u=h.scrollTop,f=a[0],d=ki.inProgress(f)&&zt(f,"uk-animation-leave")||vi.inProgress(f)&&"0px"===f.style.height;s=r(a),d||(s=s.then(function(){var t=r(l);return h.scrollTop=u,t}))}else s=r(l.concat(a));s.then(o,D)})},toggleNow:function(t,e){var i=this;return new Ue(function(n){return Ue.all(tt(t).map(function(t){return i._toggleElement(t,e,!1)})).then(n,D)})},isToggled:function(t){var e=tt(t||this.$el);return this.cls?zt(e,this.cls.split(" ")[0]):!it(e,"hidden")},updateAria:function(t){!1===this.cls&&et(t,"aria-hidden",!this.isToggled(t))},_toggleElement:function(t,e,i){var n=this;if(e=g(e)?e:ki.inProgress(t)?zt(t,"uk-animation-leave"):vi.inProgress(t)?"0px"===t.style.height:!this.isToggled(t),!qt(t,"before"+(e?"show":"hide"),[this]))return Ue.reject();var o=(!1!==i&&this.hasAnimation?this.hasTransition?this._toggleHeight:this._toggleAnimation:this._toggleImmediate)(t,e);return qt(t,e?"show":"hide",[this]),o.then(function(){qt(t,e?"shown":"hidden",[n]),ln.update(null,t)})},_toggle:function(t,e){this.cls?Lt(t,this.cls,c(this.cls," ")?void 0:e):et(t,"hidden",e?null:""),H("[autofocus]",t).some(function(t){return pt(t)&&(t.focus()||!0)}),this.updateAria(t),ln.update(null,t)},_toggleImmediate:function(t,e){return this._toggle(t,e),Ue.resolve()},_toggleHeight:function(t,e){var i,n=this,o=vi.inProgress(t),s=t.hasChildNodes?_(At(t.firstElementChild,"marginTop"))+_(At(t.lastElementChild,"marginBottom")):0,r=pt(t)?nn(t)+(o?0:s):0;return vi.cancel(t),this.isToggled(t)||this._toggle(t,!0),nn(t,""),qi.flush(),i=nn(t)+(o?0:s),nn(t,r),(e?vi.start(t,si({},this.initProps,{overflow:"hidden",height:i}),Math.round(this.duration*(1-r/i)),this.transition):vi.start(t,this.hideProps,Math.round(this.duration*(r/i)),this.transition).then(function(){return n._toggle(t,!1)})).then(function(){return At(t,n.initProps)})},_toggleAnimation:function(t,e){var i=this;return ki.cancel(t),e?(this._toggle(t,!0),ki.in(t,this.animation[0],this.duration,this.origin)):ki.out(t,this.animation[1]||this.animation[0],this.duration,this.origin).then(function(){return i._toggle(t,!1)})}}},mn={mixins:[fn,dn,pn],props:{clsPanel:String,selClose:String,escClose:Boolean,bgClose:Boolean,stack:Boolean},defaults:{cls:"uk-open",escClose:!0,bgClose:!0,overlay:!0,stack:!1},computed:{panel:function(t,e){return M("."+t.clsPanel,e)},transitionElement:function(){return this.panel},transitionDuration:function(){return A(At(this.transitionElement,"transitionDuration"))}},events:[{name:"click",delegate:function(){return this.selClose},handler:function(t){t.preventDefault(),this.hide()}},{name:"toggle",handler:function(t){t.defaultPrevented||(t.preventDefault(),this.toggle())}},{name:"show",self:!0,handler:function(){zt(pi,this.clsPage)||(this.scrollbarWidth=on(fi)-pi.offsetWidth,At(di.body,"overflowY",this.scrollbarWidth&&this.overlay?"scroll":"")),Bt(pi,this.clsPage)}},{name:"hidden",self:!0,handler:function(){for(var t,e=this,i=this.prev;i;){if(i.clsPage===e.clsPage){t=!0;break}i=i.prev}t||Pt(pi,this.clsPage),!this.prev&&At(di.body,"overflowY","")}}],methods:{toggle:function(){return this.isToggled()?this.hide():this.show()},show:function(){if(!this.isToggled()){this.container&&this.$el.parentNode!==this.container&&(wt(this.container,this.$el),this._callConnected());var t=hn&&hn!==this&&hn;if(hn=this,t){if(!this.stack)return void t.hide().then(this.show);this.prev=t}return Ee(),this.toggleNow(this.$el,!0)}},hide:function(){if(this.isToggled())return(hn=hn&&hn!==this&&hn||this.prev)||Ce(),this.toggleNow(this.$el,!1)},getActive:function(){return hn},_toggleImmediate:function(t,e){var i=this;return new Ue(function(n){return Bi(function(){i._toggle(t,e),i.transitionDuration?Vt(i.transitionElement,Ri,n,!1,function(t){return t.target===i.transitionElement}):n()})})}}},gn={props:{pos:String,offset:null,flip:Boolean,clsPos:String},defaults:{pos:"bottom-"+(mi?"right":"left"),flip:!0,offset:!1,clsPos:""},computed:{pos:function(t){var e=t.pos;return(e+(c(e,"-")?"":"-center")).split("-")},dir:function(){return this.pos[0]},align:function(){return this.pos[1]}},methods:{positionAt:function(t,e,i){Mt(t,this.clsPos+"-(top|bottom|left|right)(-[a-z]+)?"),At(t,{top:"",left:""});var n=k(this.offset)||0,o=this.getAxis(),s=le(t,e,"x"===o?ye(this.dir)+" "+this.align:this.align+" "+ye(this.dir),"x"===o?this.dir+" "+this.align:this.align+" "+this.dir,"x"===o?""+("left"===this.dir?-1*n:n):" "+("top"===this.dir?-1*n:n),null,this.flip,i).target,r=s.x,a=s.y;this.dir="x"===o?r:a,this.align="x"===o?a:r,Lt(t,this.clsPos+"-"+this.dir+"-"+this.align,!1===this.offset)},getAxis:function(){return"top"===this.dir||"bottom"===this.dir?"y":"x"}}},vn=function(t){t.component("accordion",{mixins:[fn,pn],props:{targets:String,active:null,collapsible:Boolean,multiple:Boolean,toggle:String,content:String,transition:String},defaults:{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 H(t.targets,e)}},events:[{name:"click",self:!0,delegate:function(){return this.targets+" "+this.$props.toggle},handler:function(t){t.preventDefault(),this.toggle(Ct(H(this.targets+" "+this.$props.toggle,this.$el),t.current))}}],ready:function(){var t=!1!==this.active&&this.items[Number(this.active)]&&!zt(t,this.clsOpen);t&&this.toggle(t,!1)},update:function(){var t=this;this.items.forEach(function(e){return t.toggleNow(M(t.content,e),zt(e,t.clsOpen))});var e=!this.collapsible&&!zt(this.items,this.clsOpen)&&this.items[0];e&&this.toggle(e,!1)},methods:{toggle:function(t,e){var i=this,n=ft(t,this.items),o=Y(this.items,"."+this.clsOpen);(t=this.items[n])&&[t].concat(!this.multiple&&!c(o,t)&&o||[]).forEach(function(n){var s=n===t,r=s&&!zt(n,i.clsOpen);if(r||!s||i.collapsible||!(o.length<2)){Lt(n,i.clsOpen,r);var a=n._wrapper?n._wrapper.firstElementChild:M(i.content,n);n._wrapper||(n._wrapper=$t(a,"<div>"),et(n._wrapper,"hidden",r?"":null)),i._toggleImmediate(a,!0),i.toggleElement(n._wrapper,r,e).then(function(){zt(n,i.clsOpen)===r&&(r||i._toggleImmediate(a,!1),n._wrapper=null,Tt(a))})}})}}})},wn=function(t){t.component("alert",{attrs:!0,mixins:[fn,pn],args:"animation",props:{close:String},defaults:{animation:[!0],selClose:".uk-alert-close",duration:150,hideProps:si({opacity:0},pn.defaults.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)})}}})},yn=function(t){t.component("cover",{mixins:[fn,t.components.video.options],props:{width:Number,height:Number},defaults:{automute:!0},update:{write:function(){var t=this.$el;if(pt(t)){var e=t.parentNode,i=e.offsetHeight,n=e.offsetWidth;At(At(t,{width:"",height:""}),_i.cover({width:this.width||t.clientWidth,height:this.height||t.clientHeight},{width:n+(n%2?1:0),height:i+(i%2?1:0)}))}},events:["load","resize"]},events:{loadedmetadata:function(){this.$emit()}}})},bn=function(t){function e(){n||(n=!0,Rt(pi,"click",function(t){var e,n=t.target;if(!t.defaultPrevented)for(;i&&i!==e&&!V(n,i.$el)&&(!i.toggle||!V(n,i.toggle.$el));)e=i,i.hide(!1)}))}var i;t.component("drop",{mixins:[gn,pn],args:"pos",props:{mode:"list",toggle:Boolean,boundary:"query",boundaryAlign:Boolean,delayShow:Number,delayHide:Number,clsDrop:String},defaults:{mode:["click","hover"],toggle:!0,boundary:fi,boundaryAlign:!1,delayShow:0,delayHide:800,clsDrop:!1,hoverIdle:200,animation:["uk-animation-fade"],cls:"uk-open"},init:function(){this.tracker=new ne,this.clsDrop=this.clsDrop||"uk-"+this.$options.name,this.clsPos=this.clsDrop,Bt(this.$el,this.clsDrop)},ready:function(){this.updateAria(this.$el),this.toggle&&(this.toggle=t.toggle(v(this.toggle)?L(this.toggle,this.$el):this.$el.previousElementSibling,{target:this.$el,mode:this.mode}))},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&&V(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:Wi,filter:function(){return c(this.mode,"hover")},handler:function(t){_e(t)||(i&&i!==this&&i.toggle&&c(i.toggle.mode,"hover")&&!V(t.target,i.toggle.$el)&&!B({x:t.pageX,y:t.pageY},he(i.$el))&&i.hide(!1),t.preventDefault(),this.show(this.toggle))}},{name:"toggleshow",handler:function(t,e){e&&!c(e.target,this.$el)||(t.preventDefault(),this.show(e||this.toggle))}},{name:"togglehide "+Fi,handler:function(t,e){_e(t)||e&&!c(e.target,this.$el)||(t.preventDefault(),this.toggle&&c(this.toggle.mode,"hover")&&this.hide())}},{name:"beforeshow",self:!0,handler:function(){this.clearTimers()}},{name:"show",self:!0,handler:function(){this.tracker.init(),Bt(this.toggle.$el,this.cls),et(this.toggle.$el,"aria-expanded","true"),e()}},{name:"beforehide",self:!0,handler:function(){this.clearTimers()}},{name:"hide",handler:function(t){var e=t.target;this.$el===e?(i=this.isActive()?null:i,Pt(this.toggle.$el,this.cls),et(this.toggle.$el,"aria-expanded","false"),this.toggle.$el.blur(),H("a, button",this.toggle.$el).forEach(function(t){return t.blur()}),this.tracker.cancel()):i=null===i&&V(e,this.$el)&&this.isToggled()?this:i}}],update:{write:function(){this.isToggled()&&!ki.inProgress(this.$el)&&this.position()},events:["resize"]},methods:{show:function(t,e){var n=this;void 0===e&&(e=!0);var o=function(){n.isToggled()||(n.position(),n.toggleElement(n.$el,!0))},s=function(){if(n.toggle=t||n.toggle,n.clearTimers(),!n.isActive())if(e&&i&&i!==n&&i.isDelaying)n.showTimer=setTimeout(n.show,10);else{if(n.isParentOf(i)){if(!i.hideTimer)return;i.hide(!1)}else if(i&&!n.isChildOf(i)&&!n.isParentOf(i))for(var s;i&&i!==s&&!n.isChildOf(i);)s=i,i.hide(!1);e&&n.delayShow?n.showTimer=setTimeout(o,n.delayShow):o(),i=n}};t&&this.toggle&&t.$el!==this.toggle.$el?(Vt(this.$el,"hide",s),this.hide(!1)):s()},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 i===this},isChildOf:function(t){return t&&t!==this&&V(this.$el,t.$el)},isParentOf:function(t){return t&&t!==this&&V(t.$el,this.$el)},position:function(){Mt(this.$el,this.clsDrop+"-(stack|boundary)"),At(this.$el,{top:"",left:"",display:"block"}),Lt(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";At(this.$el,i,e[i])}else this.$el.offsetWidth>Math.max(t.right-e.left,e.right-t.left)&&(Bt(this.$el,this.clsDrop+"-stack"),qt(this.$el,"stack",[this]));this.positionAt(this.$el,this.boundaryAlign?this.boundary:this.toggle.$el,this.boundary),At(this.$el,"display","")}}}),t.drop.getActive=function(){return i};var n},xn=function(t){t.component("dropdown",t.components.drop.extend({name:"dropdown"}))},kn=function(t){t.component("form-custom",{mixins:[fn],args:"target",props:{target:Boolean},defaults:{target:!1},computed:{input:function(t,e){return M(Ti,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||L(i,e))}},connected:function(){qt(this.input,"change")},events:[{name:"focusin focusout mouseenter mouseleave",delegate:Ti,handler:function(t){var e=t.type;t.current===this.input&&Lt(this.state,"uk-"+(c(e,"focus")?"focus":"hover"),c(["focusin","mouseenter"],e))}},{name:"change",handler:function(){var t,e=this.target,i=this.input;e&&(e[mt(e)?"value":"textContent"]=i.files&&i.files[0]?i.files[0].name:U(i,"select")&&(t=H("option",i).filter(function(t){return t.selected})[0])?t.textContent:i.value)}}]})},$n=function(t){t.component("gif",{update:{read:function(){var t=ct(this.$el);!this.isInView&&t&&(this.$el.src=this.$el.src),this.isInView=t},events:["scroll","load","resize"]}})},_n=function(t){t.component("grid",t.components.margin.extend({mixins:[fn],name:"grid",defaults:{margin:"uk-grid-margin",clsStack:"uk-grid-stack"},update:{write:function(){Lt(this.$el,this.clsStack,this.stacks)},events:["load","resize"]}}))},Tn=function(t){t.component("height-match",{args:"target",props:{target:String,row:Boolean},defaults:{target:"> *",row:!0},computed:{elements:function(t,e){return H(t.target,e)}},update:{read:function(){var t=this,e=!1;At(this.elements,"minHeight",""),this.rows=this.row?this.elements.reduce(function(t,i){return e!==i.offsetTop?t.push([i]):t[t.length-1].push(i),e=i.offsetTop,t},[]).map(function(e){return t.match(e)}):[this.match(this.elements)]},write:function(){this.rows.forEach(function(t){var e=t.height;return At(t.elements,"minHeight",e)})},events:["load","resize"]},methods:{match:function(t){if(t.length<2)return{};var e=0,i=[];return t.forEach(function(t){var n,o;pt(t)||(n=et(t,"style"),o=et(t,"hidden"),et(t,{style:(n||"")+";display:block !important;",hidden:null})),e=Math.max(e,t.offsetHeight),i.push(t.offsetHeight),b(n)||et(t,{style:n,hidden:o})}),t=t.filter(function(t,n){return i[n]<e}),{height:e,elements:t}}}})},En=function(t){function e(t){return t&&t.offsetHeight||0}t.component("height-viewport",{props:{expand:Boolean,offsetTop:Boolean,offsetBottom:Boolean,minHeight:Number},defaults:{expand:!1,offsetTop:!1,offsetBottom:!1,minHeight:0},update:{write:function(){At(this.$el,"boxSizing","border-box");var t,i=nn(fi),n=0;if(this.expand){At(this.$el,{height:"",minHeight:""});var o=i-e(pi);o>0&&(t=e(this.$el)+o)}else{var s=he(this.$el).top;s<i/2&&this.offsetTop&&(n+=s),!0===this.offsetBottom?n+=e(this.$el.nextElementSibling):y(this.offsetBottom)?n+=i/100*this.offsetBottom:this.offsetBottom&&h(this.offsetBottom,"px")?n+=_(this.offsetBottom):v(this.offsetBottom)&&(n+=e(L(this.offsetBottom,this.$el))),t=n?"calc(100vh - "+n+"px)":"100vh"}if(t){At(this.$el,{height:"",minHeight:t});var r=this.$el.offsetHeight;this.minHeight&&this.minHeight>r&&At(this.$el,"minHeight",this.minHeight),i-n>=r&&At(this.$el,"height",t)}},events:["load","resize"]}})},Cn=function(t){at(function(){if(Hi){var e="uk-hover";Rt(di,"tap",function(t){var i=t.target;return H("."+e).forEach(function(t,n){return!V(i,n)&&Pt(n,e)})}),Object.defineProperty(t,"hoverSelector",{set:function(t){Rt(di,"tap",t,function(t){return Bt(t.current,e)})}}),t.hoverSelector=".uk-animation-toggle, .uk-transition-toggle, [uk-hover]"}})},An=function(t){function e(e,i){t.component(e,t.components.icon.extend({name:e,mixins:i?[i]:[],defaults:{icon:e}}))}function i(t){return o[t]?(n[t]||(n[t]=M(o[t].trim())),n[t]):null}var n={},o={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"></circle></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 "></polyline></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><rect x="4" y="9" width="11" height="1"></rect></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><line fill="none" stroke="#000" stroke-width="1.1" x1="13" y1="1" x2="1" y2="13"></line></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><line fill="none" stroke="#000" stroke-width="1.4" x1="19" y1="1" x2="1" y2="19"></line></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><rect y="3" width="20" height="2"></rect><rect y="15" width="20" height="2"></rect></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><rect x="0" y="19" width="40" height="1"></rect></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"></polyline></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"></polyline></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"></circle><path fill="none" stroke="#000" stroke-width="1.1" d="M14,14 L18,18 L14,14 Z"></path></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"></circle><line fill="none" stroke="#000" stroke-width="1.8" x1="38" y1="39" x2="29" y2="30"></line></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 "></polyline></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 "></polyline></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 "></polyline></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 "></polyline></svg>'};t.component("icon",t.components.svg.extend({attrs:["icon","ratio"],mixins:[fn],name:"icon",args:"icon",props:["icon"],defaults:{exclude:["id","style","class","src","icon"]},init:function(){Bt(this.$el,"uk-icon"),mi&&(this.icon=S(S(this.icon,"left","right"),"previous","next"))},disconnected:function(){delete this.delay},methods:{getSvg:function(){var t=i(this.icon);return t?Ue.resolve(t):Ue.reject("Icon not found.")}}})),["marker","navbar-toggle-icon","overlay-icon","pagination-previous","pagination-next","totop"].forEach(function(t){return e(t)}),["slidenav-previous","slidenav-next"].forEach(function(t){return e(t,{init:function(){Bt(this.$el,"uk-slidenav"),zt(this.$el,"uk-slidenav-large")&&(this.icon+="-large")}})}),e("search-icon",{init:function(){zt(this.$el,"uk-search-icon")&&J(this.$el,".uk-search-large").length?this.icon="search-large":J(this.$el,".uk-search-navbar").length&&(this.icon="search-navbar")}}),e("close",{init:function(){this.icon="close-"+(zt(this.$el,"uk-close-large")?"large":"icon")}}),e("spinner",{connected:function(){var t=this;this.svg.then(function(e){return 1!==t.ratio&&At(M("circle",e),"stroke-width",1/t.ratio)},D)}}),t.icon.add=function(e){Object.keys(e).forEach(function(t){o[t]=e[t],delete n[t]}),t._initialized&&I(t.instances,function(t){"icon"===t.$options.name&&t.$reset()})}},Sn=function(t){t.component("leader",{mixins:[fn],props:{fill:String,media:"media"},defaults:{fill:"",media:!1,clsWrapper:"uk-leader-fill",clsHide:"uk-leader-hide",attrFill:"data-fill"},computed:{fill:function(t){var e=t.fill;return e||Nt("leader-fill")}},connected:function(){this.wrapper=_t(this.$el,'<span class="'+this.clsWrapper+'">')[0]},disconnected:function(){Tt(this.wrapper.childNodes),delete this._width},update:[{read:function(){var t=this._width;this._width=Math.floor(this.$el.offsetWidth/2),this._changed=t!==this._width,this._hide=this.media&&!fi.matchMedia(this.media).matches},write:function(){Lt(this.wrapper,this.clsHide,this._hide),this._changed&&et(this.wrapper,this.attrFill,new Array(this._width).join(this.fill))},events:["load","resize"]}]})},In=function(t){t.component("margin",{props:{margin:String,firstColumn:Boolean},defaults:{margin:"uk-margin-small-top",firstColumn:"uk-first-column"},update:{read:function(){var t=this,e=this.$el.children;if(e.length&&pt(this.$el)){this.stacks=!0;for(var i=[[]],n=0;n<e.length;n++){var o=e[n],s=o.getBoundingClientRect();if(s.height)for(var r=i.length-1;r>=0;r--){var a=i[r];if(!a[0]){a.push(o);break}var l=a[0].getBoundingClientRect();if(s.top>=Math.floor(l.bottom)){i.push([o]);break}if(Math.floor(s.bottom)>l.top){if(t.stacks=!1,s.left<l.left&&!mi){a.unshift(o);break}a.push(o);break}if(0===r){i.unshift([o]);break}}}this.rows=i}else this.rows=!1},write:function(){var t=this;this.rows&&this.rows.forEach(function(e,i){return e.forEach(function(e,n){Lt(e,t.margin,0!==i),Lt(e,t.firstColumn,0===n)})})},events:["load","resize"]}})},Nn=function(t){t.component("modal",{mixins:[mn],defaults:{clsPage:"uk-modal-page",clsPanel:"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(){zt(this.panel,"uk-margin-auto-vertical")?Bt(this.$el,"uk-flex"):At(this.$el,"display","block"),nn(this.$el)}},{name:"hidden",self:!0,handler:function(){At(this.$el,"display",""),Pt(this.$el,"uk-flex")}}]}),t.component("overflow-auto",{mixins:[fn],computed:{modal:function(t,e){return X(e,".uk-modal")},panel:function(t,e){return X(e,".uk-modal-dialog")}},connected:function(){At(this.$el,"minHeight",150)},update:{write:function(){if(this.panel&&this.modal){var t=At(this.$el,"maxHeight");At(At(this.$el,"maxHeight",150),"maxHeight",Math.max(150,150+nn(this.modal)-this.panel.offsetHeight)),t!==At(this.$el,"maxHeight")&&qt(this.$el,"resize")}},events:["load","resize"]}}),t.modal.dialog=function(e,i){var n=t.modal(' <div class="uk-modal"> <div class="uk-modal-dialog">'+e+"</div> </div> ",i);return Rt(n.$el,"hidden",function(t){t.target===t.current&&n.$destroy(!0)}),n.show(),n},t.modal.alert=function(e,i){return i=si({bgClose:!1,escClose:!1,labels:t.modal.labels},i),new Ue(function(n){return Rt(t.modal.dialog(' <div class="uk-modal-body">'+(v(e)?e:vt(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",n)})},t.modal.confirm=function(e,i){return i=si({bgClose:!1,escClose:!1,labels:t.modal.labels},i),new Ue(function(n,o){return Rt(t.modal.dialog(' <div class="uk-modal-body">'+(v(e)?e:vt(e))+'</div> <div class="uk-modal-footer uk-text-right"> <button class="uk-button uk-button-default uk-modal-close">'+i.labels.cancel+'</button> <button class="uk-button uk-button-primary uk-modal-close" autofocus>'+i.labels.ok+"</button> </div> ",i).$el,"click",".uk-modal-footer button",function(t){return 0===Ct(t.target)?o():n()})})},t.modal.prompt=function(e,i,n){return n=si({bgClose:!1,escClose:!1,labels:t.modal.labels},n),new Ue(function(o){var s=!1,r=t.modal.dialog(' <form class="uk-form-stacked"> <div class="uk-modal-body"> <label>'+(v(e)?e:vt(e))+'</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">'+n.labels.cancel+'</button> <button class="uk-button uk-button-primary">'+n.labels.ok+"</button> </div> </form> ",n),a=M("input",r.$el);a.value=i,Rt(r.$el,"submit","form",function(t){t.preventDefault(),o(a.value),s=!0,r.hide()}),Rt(r.$el,"hide",function(){s||o(null)})})},t.modal.labels={ok:"Ok",cancel:"Cancel"}},Dn=function(t){t.component("nav",t.components.accordion.extend({name:"nav",defaults:{targets:"> .uk-parent",toggle:"> a",content:"> ul"}}))},On=function(t){t.component("navbar",{mixins:[fn],props:{dropdown:String,mode:"list",align:String,offset:Number,boundary:Boolean,boundaryAlign:Boolean,clsDrop:String,delayShow:Number,delayHide:Number,dropbar:Boolean,dropbarMode:String,dropbarAnchor:"query",duration:Number},defaults:{dropdown:".uk-navbar-nav > li",align:mi?"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},pos:function(t){return"bottom-"+t.align}},ready:function(){this.dropbar&&t.navbarDropbar(L(this.dropbar,this.$el)||bt(this.dropbarAnchor||this.$el,"<div></div>"),{clsDrop:this.clsDrop,mode:this.dropbarMode,duration:this.duration,navbar:this})},update:function(){t.drop(H(this.dropdown+" ."+this.clsDrop,this.$el).filter(function(e){return!t.getComponent(e,"dropdown")}),si({},this.$props,{boundary:this.boundary,pos:this.pos}))},events:[{name:"mouseover",delegate:function(){return this.dropdown},handler:function(t){var e=t.current,i=this.getActive();i&&i.toggle&&!V(i.toggle.$el,e)&&!i.tracker.movesTo(i.$el)&&i.hide(!1)}}],methods:{getActive:function(){var e=t.drop.getActive();return e&&c(e.mode,"hover")&&V(e.toggle.$el,this.$el)&&e}}}),t.component("navbar-dropbar",{mixins:[fn],defaults:{clsDrop:"",mode:"slide",navbar:null,duration:200},init:function(){"slide"===this.mode&&Bt(this.$el,"uk-navbar-dropbar-slide")},events:[{name:"beforeshow",el:function(){return this.navbar.$el},handler:function(t,e){var i=e.$el;"bottom"!==e.dir||V(i,this.$el)||(wt(this.$el,i),e.show(),t.preventDefault())}},{name:"mouseleave",handler:function(){var t=this.navbar.getActive();t&&!U(this.$el,":hover")&&t.hide()}},{name:"show",handler:function(t,e){var i=e.$el;this.clsDrop&&Bt(i,this.clsDrop+"-dropbar"),this.transitionTo(i.offsetHeight+_(At(i,"margin-top"))+_(At(i,"margin-bottom")))}},{name:"beforehide",handler:function(t,e){var i=e.$el,n=this.navbar.getActive();U(this.$el,":hover")&&n&&n.$el===i&&t.preventDefault()}},{name:"hide",handler:function(t,e){var i=e.$el,n=this.navbar.getActive();(!n||n&&n.$el===i)&&this.transitionTo(0)}}],methods:{transitionTo:function(t){return nn(this.$el,pt(this.$el)?nn(this.$el):0),vi.cancel(this.$el),vi.start(this.$el,{height:t},this.duration).catch(D)}}})},Bn=function(t){t.component("offcanvas",{mixins:[mn],args:"mode",props:{content:String,mode:String,flip:Boolean,overlay:Boolean},defaults:{content:".uk-offcanvas-content",mode:"slide",flip:!1,overlay:!1,clsPage:"uk-offcanvas-page",clsContainer:"uk-offcanvas-container",clsPanel:"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){var e=t.content;return M(e)},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,i=t.clsMode;return i+"-"+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)&&on(this.content,on(fi)-this.scrollbarWidth),this.overlay&&(nn(this.content,nn(fi)),un&&(this.content.scrollTop=un.y)))},events:["resize"]},events:[{name:"click",delegate:function(){return'a[href^="#"]'},handler:function(t){var e=t.current;e.hash&&M(e.hash,this.content)&&(un=null,this.hide())}},{name:"beforescroll",filter:function(){return this.overlay},handler:function(t,e,i){e&&i&&this.isToggled()&&M(i,this.content)&&(Vt(this.$el,"hidden",function(){return e.scrollTo(i)}),t.preventDefault())}},{name:"show",self:!0,handler:function(){un=un||{x:fi.pageXOffset,y:fi.pageYOffset},"reveal"!==this.mode||zt(this.panel,this.clsMode)||($t(this.panel,"<div>"),Bt(this.panel.parentNode,this.clsMode)),At(pi,"overflowY",(!this.clsContentAnimation||this.flip)&&this.scrollbarWidth&&this.overlay?"scroll":""),Bt(di.body,this.clsContainer+" "+this.clsFlip+" "+this.clsOverlay),nn(di.body),Bt(this.content,this.clsContentAnimation),Bt(this.panel,this.clsSidebarAnimation+" "+("reveal"!==this.mode?this.clsMode:"")),Bt(this.$el,this.clsOverlay),At(this.$el,"display","block"),nn(this.$el)}},{name:"hide",self:!0,handler:function(){Pt(this.content,this.clsContentAnimation);var t=this.getActive();("none"===this.mode||t&&t!==this&&t!==this.prev)&&qt(this.panel,Ri)}},{name:"hidden",self:!0,handler:function(){if("reveal"===this.mode&&Tt(this.panel),this.overlay){if(!un){var t=this.content,e=t.scrollLeft,i=t.scrollTop;un={x:e,y:i}}}else un={x:fi.pageXOffset,y:fi.pageYOffset};Pt(this.panel,this.clsSidebarAnimation+" "+this.clsMode),Pt(this.$el,this.clsOverlay),At(this.$el,"display",""),Pt(di.body,this.clsContainer+" "+this.clsFlip+" "+this.clsOverlay),di.body.scrollTop=un.y,At(pi,"overflow-y",""),on(this.content,""),nn(this.content,""),fi.scrollTo(un.x,un.y),un=null}},{name:"swipeLeft swipeRight",handler:function(t){this.isToggled()&&_e(t)&&("swipeLeft"===t.type&&!this.flip||"swipeRight"===t.type&&this.flip)&&this.hide()}}]})},Pn=function(t){t.component("responsive",{props:["width","height"],init:function(){Bt(this.$el,"uk-responsive-width")},update:{read:function(){this.dim=!!(pt(this.$el)&&this.width&&this.height)&&{width:on(this.$el.parentNode),height:this.height}},write:function(){this.dim&&nn(this.$el,_i.contain({height:this.height,width:this.width},this.dim).height)},events:["load","resize"]}})},Mn=function(t){function e(t){return.5*(1-Math.cos(Math.PI*t))}t.component("scroll",{props:{duration:Number,offset:Number},defaults:{duration:1e3,offset:0},methods:{scrollTo:function(t){var i=this,n=he(t=t&&M(v(t)?t.replace(/\//g,"\\/"):t)||di.body).top-this.offset,o=nn(di),s=nn(fi);if(n+s>o&&(n=o-s),qt(this.$el,"beforescroll",[this,t])){var r=Date.now(),a=fi.pageYOffset,l=function(){var o=a+(n-a)*e(N((Date.now()-r)/i.duration));fi.scrollTo(fi.pageXOffset,o),o!==n?Bi(l):qt(i.$el,"scrolled",[i,t])};l()}}},events:{click:function(t){t.defaultPrevented||(t.preventDefault(),this.scrollTo(this.$el.hash))}}})},Hn=function(t){t.component("scrollspy",{args:"cls",props:{cls:"list",target:String,hidden:Boolean,offsetTop:Number,offsetLeft:Number,repeat:Boolean,delay:Number},defaults:{cls:["uk-scrollspy-inview"],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&&H(i,e)||[e]}},update:[{write:function(){this.hidden&&At(Y(this.elements,":not(."+this.inViewClass+")"),"visibility","hidden")}},{read:function(){var t=this;this.elements.forEach(function(e){if(!e._scrollspy){var i=et(e,"uk-scrollspy-class");e._scrollspy={toggles:i&&i.split(",")||t.cls}}e._scrollspy.show=ct(e,t.offsetTop,t.offsetLeft)})},write:function(){var t=this,e=1===this.elements.length?1:0;this.elements.forEach(function(i,n){var o=i._scrollspy,s=o.toggles[n]||o.toggles[0];if(o.show){if(!o.inview&&!o.timer){var r=function(){At(i,"visibility",""),Bt(i,t.inViewClass),Lt(i,s),qt(i,"inview"),t.$update(),o.inview=!0,delete o.timer};t.delay&&e?o.timer=setTimeout(r,t.delay*e):r(),e++}}else o.inview&&t.repeat&&(o.timer&&(clearTimeout(o.timer),delete o.timer),At(i,"visibility",t.hidden?"hidden":""),Pt(i,t.inViewClass),Lt(i,s),qt(i,"outview"),t.$update(),o.inview=!1)})},events:["scroll","load","resize"]}]})},zn=function(t){t.component("scrollspy-nav",{props:{cls:String,closest:String,scroll:Boolean,overflow:Boolean,offset:Number},defaults:{cls:"uk-active",closest:!1,scroll:!1,overflow:!0,offset:0},computed:{links:function(t,e){return H('a[href^="#"]',e).filter(function(t){return t.hash})},elements:function(){return this.closest?X(this.links,this.closest):this.links},targets:function(){return H(this.links.map(function(t){return t.hash}).join(","))}},update:[{read:function(){this.scroll&&t.scroll(this.links,{offset:this.offset||0})}},{read:function(){var t=this,e=fi.pageYOffset+this.offset+1,i=nn(di)-nn(fi)+this.offset;this.active=!1,this.targets.every(function(n,o){var s=he(n).top,r=o+1===t.targets.length;if(!t.overflow&&(0===o&&s>e||r&&s+n.offsetTop<e))return!1;if(!r&&he(t.targets[o+1]).top<=e)return!0;if(e>=i)for(var a=t.targets.length-1;a>o;a--)if(ct(t.targets[a])){n=t.targets[a];break}return!(t.active=M(Y(t.links,'[href="#'+n.id+'"]')))})},write:function(){this.links.forEach(function(t){return t.blur()}),Pt(this.elements,this.cls),this.active&&qt(this.$el,"active",[this.active,Bt(this.closest?X(this.active,this.closest):this.active,this.cls)])},events:["scroll","load","resize"]}]})},Ln=function(t){t.component("sticky",{mixins:[fn],attrs:!0,props:{top:null,bottom:Boolean,offset:Number,animation:String,clsActive:String,clsInactive:String,clsFixed:String,clsBelow:String,selTarget:String,widthElement:"query",showOnUp:Boolean,media:"media",target:Number},defaults:{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,target:!1},computed:{selTarget:function(t,e){var i=t.selTarget;return i&&M(i,e)||e}},connected:function(){this.placeholder=M('<div class="uk-sticky-placeholder"></div>'),this.widthElement=this.$props.widthElement||this.placeholder,this.isActive||this.hide()},disconnected:function(){this.isActive&&(this.isActive=!1,this.hide(),Pt(this.$el,this.clsInactive)),kt(this.placeholder),this.placeholder=null,this.widthElement=null},ready:function(){var t=this;if(this.target&&location.hash&&fi.pageYOffset>0){var e=M(location.hash);e&&Bi(function(){var i=he(e).top,n=he(t.$el).top,o=t.$el.offsetHeight;n+o>=i&&n<=i+e.offsetHeight&&fi.scrollTo(0,i-o-t.target-t.offset)})}},events:[{name:"active",self:!0,handler:function(){Ht(this.selTarget,this.clsInactive,this.clsActive)}},{name:"inactive",self:!0,handler:function(){Ht(this.selTarget,this.clsActive,this.clsInactive)}}],update:[{write:function(){var t,e=this,i=this.placeholder,n=(this.isActive?i:this.$el).offsetHeight;At(i,si({height:"absolute"!==At(this.$el,"position")?n:""},At(this.$el,["marginTop","marginBottom","marginLeft","marginRight"]))),V(i,pi)||(bt(this.$el,i),et(i,"hidden","")),et(this.widthElement,"hidden",null),this.width=this.widthElement.offsetWidth,et(this.widthElement,"hidden",this.isActive?null:""),this.topOffset=he(this.isActive?i:this.$el).top,this.bottomOffset=this.topOffset+n,["top","bottom"].forEach(function(i){e[i]=e.$props[i],e[i]&&(y(e[i])?e[i]=e[i+"Offset"]+_(e[i]):v(e[i])&&e[i].match(/^-?\d+vh$/)?e[i]=nn(fi)*_(e[i])/100:(t=!0===e[i]?e.$el.parentNode:L(e[i],e.$el))&&(e[i]=he(t).top+t.offsetHeight))}),this.top=Math.max(_(this.top),this.topOffset)-this.offset,this.bottom=this.bottom&&this.bottom-n,this.inactive=this.media&&!fi.matchMedia(this.media).matches,this.isActive&&this.update()},events:["load","resize"]},{read:function(){this.offsetTop=he(this.$el).top,this.scroll=fi.pageYOffset,this.visible=pt(this.$el)},write:function(t){var e=this;void 0===t&&(t={});var i=t.dir,n=this.scroll;if(!(n<0||!this.visible||this.disabled||this.showOnUp&&!i))if(this.inactive||n<this.top||this.showOnUp&&(n<=this.top||"down"===i||"up"===i&&!this.isActive&&n<=this.bottomOffset)){if(!this.isActive)return;this.isActive=!1,this.animation&&n>this.topOffset?(ki.cancel(this.$el),ki.out(this.$el,this.animation).then(function(){return e.hide()},D)):this.hide()}else this.isActive?this.update():this.animation?(ki.cancel(this.$el),this.show(),ki.in(this.$el,this.animation).catch(D)):this.show()},events:["scroll"]}],methods:{show:function(){this.isActive=!0,this.update(),et(this.placeholder,"hidden",null)},hide:function(){this.isActive&&!zt(this.selTarget,this.clsActive)||qt(this.$el,"inactive"),Pt(this.$el,this.clsFixed,this.clsBelow),At(this.$el,{position:"",top:"",width:""}),et(this.placeholder,"hidden","")},update:function(){var t=Math.max(0,this.offset),e=this.scroll>this.top;this.bottom&&this.scroll>this.bottom-this.offset&&(t=this.bottom-this.scroll),At(this.$el,{position:"fixed",top:t+"px",width:this.width}),zt(this.selTarget,this.clsActive)?e||qt(this.$el,"inactive"):e&&qt(this.$el,"active"),Lt(this.$el,this.clsBelow,this.scroll>this.bottomOffset),Bt(this.$el,this.clsFixed)}}})},jn={},Wn=function(t){function e(t,e){if(!n[t]){n[t]={};for(var o;o=i.exec(t);)n[t][o[3]]='<svg xmlns="http://www.w3.org/2000/svg"'+o[1]+"svg>"}return n[t][e]}t.component("svg",{attrs:!0,props:{id:String,icon:String,src:String,style:String,width:Number,height:Number,ratio:Number,class:String},defaults:{ratio:1,id:!1,exclude:["src"],class:""},init:function(){this.class+=" uk-svg"},connected:function(){var t=this;if(!this.icon&&c(this.src,"#")){var i=this.src.split("#");i.length>1&&(this.src=i[0],this.icon=i[1])}this.svg=this.getSvg().then(function(i){var n;if(v(i)?(t.icon&&c(i,"<symbol")&&(i=e(i,t.icon)||i),n=M(i.substr(i.indexOf("<svg")))):n=i.cloneNode(!0),!n)return Ue.reject("SVG not found.");var o=et(n,"viewBox");o&&(o=o.split(" "),t.width=t.$props.width||o[2],t.height=t.$props.height||o[3]),t.width*=t.ratio,t.height*=t.ratio;for(var s in t.$options.props)t[s]&&!c(t.exclude,s)&&et(n,s,t[s]);t.id||nt(n,"id"),t.width&&!t.height&&nt(n,"height"),t.height&&!t.width&&nt(n,"width");var r=t.$el;if(dt(r)||"CANVAS"===r.tagName){et(r,{hidden:!0,id:null});var a=r.nextElementSibling;a&&n.isEqualNode(a)?n=a:bt(r,n)}else{var l=r.lastElementChild;l&&n.isEqualNode(l)?n=l:wt(r,n)}return t.svgEl=n,n},D)},disconnected:function(){var t=this;dt(this.$el)&&et(this.$el,{hidden:null,id:this.id||null}),this.svg&&this.svg.then(function(e){return(!t._connected||e!==t.svgEl)&&kt(e)},D),this.svg=this.svgEl=null},methods:{getSvg:function(){var t=this;return this.src?jn[this.src]?jn[this.src]:(jn[this.src]=new Ue(function(e,i){l(t.src,"data:")?e(decodeURIComponent(t.src.split(",")[1])):P(t.src).then(function(t){return e(t.response)},function(){return i("SVG not found.")})}),jn[this.src]):Ue.reject()}}});var i=/<symbol(.*?id=(['"])(.*?)\2[^]*?<\/)symbol>/g,n={}},Fn=function(t){t.component("switcher",{mixins:[pn],args:"connect",props:{connect:String,toggle:String,active:Number,swiping:Boolean},defaults:{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 j(t.connect,e)},toggles:function(t,e){return H(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(st(t.current,this.attrItem))}},{name:"swipeRight swipeLeft",filter:function(){return this.swiping},el:function(){return this.connects},handler:function(t){_e(t)&&(t.preventDefault(),fi.getSelection().toString()||this.show("swipeLeft"===t.type?"next":"previous"))}}],update:function(){var t=this;this.connects.forEach(function(e){return t.updateAria(e.children)}),this.show(Y(this.toggles,"."+this.cls)[0]||this.toggles[this.active]||this.toggles[0])},methods:{show:function(t){for(var e,i=this,n=this.toggles.length,o=this.connects.length&&Ct(Y(this.connects[0].children,"."+this.cls)[0]),s=o>=0,r=ft(t,this.toggles,o),a="previous"===t?-1:1,l=0;l<n;l++,r=(r+a+n)%n)if(!U(i.toggles[r],".uk-disabled, [disabled]")){e=i.toggles[r];break}!e||o>=0&&zt(e,this.cls)||o===r||(Pt(this.toggles,this.cls),et(this.toggles,"aria-expanded",!1),Bt(e,this.cls),et(e,"aria-expanded",!0),this.connects.forEach(function(t){s?i.toggleElement([t.children[o],t.children[r]]):i.toggleNow(t.children[r])}))}}})},Rn=function(t){t.component("tab",t.components.switcher.extend({mixins:[fn],name:"tab",props:{media:"media"},defaults:{media:960,attrItem:"uk-tab-item"},init:function(){var e=zt(this.$el,"uk-tab-left")?"uk-tab-left":!!zt(this.$el,"uk-tab-right")&&"uk-tab-right";e&&t.toggle(this.$el,{cls:e,mode:"media",media:this.media})}}))},Yn=function(t){t.component("toggle",{mixins:[t.mixin.togglable],args:"target",props:{href:String,target:null,mode:"list",media:"media"},defaults:{href:!1,target:!1,mode:"click",queued:!0,media:!1},computed:{target:function(t,e){var i=t.href,n=t.target;return n=j(n||i,e),n.length&&n||[e]}},events:[{name:Wi+" "+Fi,filter:function(){return c(this.mode,"hover")},handler:function(t){_e(t)||this.toggle("toggle"+(t.type===Wi?"show":"hide"))}},{name:"click",filter:function(){return c(this.mode,"click")||Hi},handler:function(t){if(_e(t)||c(this.mode,"click")){var e;(X(t.target,'a[href="#"], button')||(e=X(t.target,"a[href]"))&&(this.cls||!pt(this.target)||e.hash&&U(this.target,e.hash)))&&t.preventDefault(),this.toggle()}}}],update:{write:function(){if(c(this.mode,"media")&&this.media){var t=this.isToggled(this.target);(fi.matchMedia(this.media).matches?!t:t)&&this.toggle()}},events:["load","resize"]},methods:{toggle:function(t){qt(this.target,t||"toggle",[this])&&this.toggleElement(this.target)}}})},Vn=function(t){t.component("video",{props:{automute:Boolean,autoplay:Boolean},defaults:{automute:!1,autoplay:!0},ready:function(){this.player=new Gi(this.$el),this.automute&&this.player.mute()},update:{write:function(){this.player&&(pt(this.$el)&&"hidden"!==At(this.$el,"visibility")?this.autoplay&&this.player.play():this.player.pause())},events:["load"]}})};ln.version="3.0.0-beta.34",function(t){t.mixin.class=fn,t.mixin.container=dn,t.mixin.modal=mn,t.mixin.position=gn,t.mixin.togglable=pn}(ln),function(t){var e=0,i=0;Rt(fi,"load resize",t.update),Rt(fi,"scroll",function(i){i.dir=e<fi.pageYOffset?"down":"up",e=fi.pageYOffset,t.update(i),qi.flush()}),Yi&&Rt(di,Yi,function(t){var e=t.target;(At(e,"animationName")||"").match(/^uk-.*(left|right)/)&&(i++,di.body.style.overflowX="hidden",setTimeout(function(){--i||(di.body.style.overflowX="")},A(At(e,"animationDuration"))+100))},!0),t.use(Yn),t.use(vn),t.use(wn),t.use(Vn),t.use(yn),t.use(bn),t.use(xn),t.use(kn),t.use(Tn),t.use(En),t.use(Cn),t.use(In),t.use($n),t.use(_n),t.use(Sn),t.use(Nn),t.use(Dn),t.use(On),t.use(Bn),t.use(Pn),t.use(Mn),t.use(Hn),t.use(zn),t.use(Ln),t.use(Wn),t.use(An),t.use(Fn),t.use(Rn)}(ln);var qn=function(t){var e=t.util.css,i={slide:{show:function(t){return[{transform:Ie(-100*t)},{transform:Ie()}]},percent:function(t){return i.translated(t)},translate:function(t,e){return[{transform:Ie(-100*e*t)},{transform:Ie(100*e*(1-t))}]}},translated:function(t){return Math.abs(e(t,"transform").split(",")[4]/t.offsetWidth)}};return i},Un=function(t){var e=t.mixin,i=t.util,n=i.assign,o=i.css;return n({},e.slideshow.defaults.Animations,{fade:{show:function(){return[{opacity:0},{opacity:1}]},percent:function(t){return 1-o(t,"opacity")},translate:function(t){return[{opacity:1-t},{opacity:t}]}},scale:{show:function(){return[{opacity:0,transform:Ne(.8)},{opacity:1,transform:Ne(1)}]},percent:function(t){return 1-o(t,"opacity")},translate:function(t){return[{opacity:1-t,transform:Ne(1-.2*t)},{opacity:t,transform:Ne(.8+.2*t)}]}}})},Xn=function(t){var e=t.mixin,i=t.util,n=i.assign,o=i.css,s=n({},e.slideshow.defaults.Animations,{fade:{show:function(){return[{opacity:0,zIndex:0},{zIndex:-1}]},percent:function(t){return 1-o(t,"opacity")},translate:function(t){return[{opacity:1-t,zIndex:0},{zIndex:-1}]}},scale:{show:function(){return[{opacity:0,transform:Ne(1.5),zIndex:0},{zIndex:-1}]},percent:function(t){return 1-o(t,"opacity")},translate:function(t){return[{opacity:1-t,transform:Ne(1+.5*t),zIndex:0},{zIndex:-1}]}},pull:{show:function(t){return t<0?[{transform:Ie(30),zIndex:-1},{transform:Ie(),zIndex:0}]:[{transform:Ie(-100),zIndex:0},{transform:Ie(),zIndex:-1}]},percent:function(t,e,i){return i<0?1-s.translated(e):s.translated(t)},translate:function(t,e){return e<0?[{transform:Ie(30*t),zIndex:-1},{transform:Ie(-100*(1-t)),zIndex:0}]:[{transform:Ie(100*-t),zIndex:0},{transform:Ie(30*(1-t)),zIndex:-1}]}},push:{show:function(t){return t<0?[{transform:Ie(100),zIndex:0},{transform:Ie(),zIndex:-1}]:[{transform:Ie(-30),zIndex:-1},{transform:Ie(),zIndex:0}]},percent:function(t,e,i){return i>0?1-s.translated(e):s.translated(t)},translate:function(t,e){return e<0?[{transform:Ie(100*t),zIndex:0},{transform:Ie(-30*(1-t)),zIndex:-1}]:[{transform:Ie(-30*t),zIndex:-1},{transform:Ie(100*(1-t)),zIndex:0}]}}});return s};return ln.use(Ae),ln.use(Se),ln.use(Oe),ln.use(Be),ln.use(Pe),ln.use(Me),ln.use(He),ln.use(ze),ln.use(Le),function(t){function e(){i(di.body,n),qi.flush(),new Oi(function(e){return e.forEach(function(e){for(var s=e.addedNodes,r=e.removedNodes,a=e.target,l=0;l<s.length;l++)i(s[l],n);for(l=0;l<r.length;l++)i(r[l],o);t.update(Ut("update",!0,!1,{mutation:!0}),a,!0)})}).observe(pi,{childList:!0,subtree:!0,characterData:!0,attributes:!0,attributeFilter:["href"]}),t._initialized=!0}function i(t,e){if(1===t.nodeType&&!it(t,"uk-no-boot"))for(e(t),t=t.firstElementChild;t;){var n=t.nextElementSibling;i(t,e),t=n}}var n=t.connect,o=t.disconnect;Oi?di.body?e():new Oi(function(){di.body&&(this.disconnect(),e())}).observe(pi,{childList:!0,subtree:!0}):at(function(){i(di.body,n),Rt(pi,"DOMNodeInserted",function(t){return i(t.target,n)}),Rt(pi,"DOMNodeRemoved",function(t){return i(t.target,o)})})}(ln),ln});