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